hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 | qsc_code_num_words_quality_signal int64 | qsc_code_num_chars_quality_signal float64 | qsc_code_mean_word_length_quality_signal float64 | qsc_code_frac_words_unique_quality_signal float64 | qsc_code_frac_chars_top_2grams_quality_signal float64 | qsc_code_frac_chars_top_3grams_quality_signal float64 | qsc_code_frac_chars_top_4grams_quality_signal float64 | qsc_code_frac_chars_dupe_5grams_quality_signal float64 | qsc_code_frac_chars_dupe_6grams_quality_signal float64 | qsc_code_frac_chars_dupe_7grams_quality_signal float64 | qsc_code_frac_chars_dupe_8grams_quality_signal float64 | qsc_code_frac_chars_dupe_9grams_quality_signal float64 | qsc_code_frac_chars_dupe_10grams_quality_signal float64 | qsc_code_frac_chars_replacement_symbols_quality_signal float64 | qsc_code_frac_chars_digital_quality_signal float64 | qsc_code_frac_chars_whitespace_quality_signal float64 | qsc_code_size_file_byte_quality_signal float64 | qsc_code_num_lines_quality_signal float64 | qsc_code_num_chars_line_max_quality_signal float64 | qsc_code_num_chars_line_mean_quality_signal float64 | qsc_code_frac_chars_alphabet_quality_signal float64 | qsc_code_frac_chars_comments_quality_signal float64 | qsc_code_cate_xml_start_quality_signal float64 | qsc_code_frac_lines_dupe_lines_quality_signal float64 | qsc_code_cate_autogen_quality_signal float64 | qsc_code_frac_lines_long_string_quality_signal float64 | qsc_code_frac_chars_string_length_quality_signal float64 | qsc_code_frac_chars_long_word_length_quality_signal float64 | qsc_code_frac_lines_string_concat_quality_signal float64 | qsc_code_cate_encoded_data_quality_signal float64 | qsc_code_frac_chars_hex_words_quality_signal float64 | qsc_code_frac_lines_prompt_comments_quality_signal float64 | qsc_code_frac_lines_assert_quality_signal float64 | qsc_codepython_cate_ast_quality_signal float64 | qsc_codepython_frac_lines_func_ratio_quality_signal float64 | qsc_codepython_cate_var_zero_quality_signal bool | qsc_codepython_frac_lines_pass_quality_signal float64 | qsc_codepython_frac_lines_import_quality_signal float64 | qsc_codepython_frac_lines_simplefunc_quality_signal float64 | qsc_codepython_score_lines_no_logic_quality_signal float64 | qsc_codepython_frac_lines_print_quality_signal float64 | qsc_code_num_words int64 | qsc_code_num_chars int64 | qsc_code_mean_word_length int64 | qsc_code_frac_words_unique null | qsc_code_frac_chars_top_2grams int64 | qsc_code_frac_chars_top_3grams int64 | qsc_code_frac_chars_top_4grams int64 | qsc_code_frac_chars_dupe_5grams int64 | qsc_code_frac_chars_dupe_6grams int64 | qsc_code_frac_chars_dupe_7grams int64 | qsc_code_frac_chars_dupe_8grams int64 | qsc_code_frac_chars_dupe_9grams int64 | qsc_code_frac_chars_dupe_10grams int64 | qsc_code_frac_chars_replacement_symbols int64 | qsc_code_frac_chars_digital int64 | qsc_code_frac_chars_whitespace int64 | qsc_code_size_file_byte int64 | qsc_code_num_lines int64 | qsc_code_num_chars_line_max int64 | qsc_code_num_chars_line_mean int64 | qsc_code_frac_chars_alphabet int64 | qsc_code_frac_chars_comments int64 | qsc_code_cate_xml_start int64 | qsc_code_frac_lines_dupe_lines int64 | qsc_code_cate_autogen int64 | qsc_code_frac_lines_long_string int64 | qsc_code_frac_chars_string_length int64 | qsc_code_frac_chars_long_word_length int64 | qsc_code_frac_lines_string_concat null | qsc_code_cate_encoded_data int64 | qsc_code_frac_chars_hex_words int64 | qsc_code_frac_lines_prompt_comments int64 | qsc_code_frac_lines_assert int64 | qsc_codepython_cate_ast int64 | qsc_codepython_frac_lines_func_ratio int64 | qsc_codepython_cate_var_zero int64 | qsc_codepython_frac_lines_pass int64 | qsc_codepython_frac_lines_import int64 | qsc_codepython_frac_lines_simplefunc int64 | qsc_codepython_score_lines_no_logic int64 | qsc_codepython_frac_lines_print int64 | effective string | hits int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ee618eecfe3255dadc5911c5fc833158db525774 | 269 | py | Python | bugtests/test033.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test033.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test033.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | """
Check autocreation when java superclass misses a default constructor.
"""
import support
import java
class A(java.lang.ThreadGroup):
def __init__(self):
#java.lang.ThreadGroup.__init__(self, "spam")
print self.name
try:
A()
except TypeError:
pass
| 14.944444 | 69 | 0.72119 | 35 | 269 | 5.314286 | 0.685714 | 0.086022 | 0.204301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171004 | 269 | 17 | 70 | 15.823529 | 0.834081 | 0.163569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.111111 | 0.222222 | null | null | 0.111111 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ee67b92c8ebdb356dafdff4e3e9d6c7261d2660e | 3,423 | py | Python | level9-connect_dots.py | feliposz/python-challenge-solutions | 2d0d8fb6f29e69ce9e42539b88eb1fb37985419c | [
"MIT"
] | null | null | null | level9-connect_dots.py | feliposz/python-challenge-solutions | 2d0d8fb6f29e69ce9e42539b88eb1fb37985419c | [
"MIT"
] | null | null | null | level9-connect_dots.py | feliposz/python-challenge-solutions | 2d0d8fb6f29e69ce9e42539b88eb1fb37985419c | [
"MIT"
] | null | null | null | import pygame
first = [146, 399, 163, 403, 170, 393, 169, 391, 166, 386, 170, 381, 170, 371, 170, 355, 169, 346, 167, 335, 170, 329, 170, 320, 170, 310, 171, 301, 173, 290, 178, 289, 182, 287, 188, 286, 190, 286, 192, 291, 194, 296, 195, 305, 194, 307, 191, 312, 190, 316, 190, 321, 192, 331, 193, 338, 196, 341, 197, 3... | 90.078947 | 2,203 | 0.589541 | 665 | 3,423 | 3.033083 | 0.413534 | 0.025781 | 0.006941 | 0.007933 | 0.063461 | 0.063461 | 0.051562 | 0.051562 | 0.051562 | 0.051562 | 0 | 0.631521 | 0.210342 | 3,423 | 37 | 2,204 | 92.513514 | 0.114687 | 0.019573 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035714 | 0 | 0.035714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ee7a6dcf8512336e5a7031b5012dddfb2ce3a3aa | 69 | py | Python | cfml/models/linear_model/linear_regression/__init__.py | carefree0910/carefree-ml | eede4c4672045c4cc39a3b82bd6ddc315f059e88 | [
"MIT"
] | 25 | 2020-05-31T04:44:16.000Z | 2022-03-10T09:07:17.000Z | cfml/models/linear_model/linear_regression/__init__.py | carefree0910/carefree-ml | eede4c4672045c4cc39a3b82bd6ddc315f059e88 | [
"MIT"
] | null | null | null | cfml/models/linear_model/linear_regression/__init__.py | carefree0910/carefree-ml | eede4c4672045c4cc39a3b82bd6ddc315f059e88 | [
"MIT"
] | 2 | 2021-01-09T13:00:53.000Z | 2021-08-10T02:54:41.000Z | from .model import LinearRegression
__all__ = ["LinearRegression"]
| 13.8 | 35 | 0.782609 | 6 | 69 | 8.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 69 | 4 | 36 | 17.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ee824a4bfe37839b76d4aecb79e482efc2bb0d97 | 163 | py | Python | Web dev/Django/Projects/Sports_Resource_Booking/SportsResourceBooking/reserve/urls.py | prathimacode-hub/WIE-WoC | f412f297a57249af98213bf4a747c897f2d4c035 | [
"MIT"
] | 8 | 2022-03-01T09:09:20.000Z | 2022-03-03T05:36:01.000Z | Web dev/Django/Projects/Sports_Resource_Booking/SportsResourceBooking/reserve/urls.py | prathimacode-hub/WIE-WoC | f412f297a57249af98213bf4a747c897f2d4c035 | [
"MIT"
] | 52 | 2022-03-02T13:52:46.000Z | 2022-03-04T03:03:17.000Z | Web dev/Django/Projects/Sports_Resource_Booking/SportsResourceBooking/reserve/urls.py | prathimacode-hub/WIE-WoC | f412f297a57249af98213bf4a747c897f2d4c035 | [
"MIT"
] | 23 | 2022-03-01T06:39:34.000Z | 2022-03-03T09:24:40.000Z | from django.contrib import admin
from . import views
from django.urls import path
urlpatterns = [
path('addInfo/',views.addInfo,name='addInfo'),
] | 20.375 | 51 | 0.687117 | 20 | 163 | 5.6 | 0.55 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202454 | 163 | 8 | 52 | 20.375 | 0.861538 | 0 | 0 | 0 | 0 | 0 | 0.095541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c992f92c94125fcb13b77ac382a105a287c240c1 | 450 | py | Python | tests/test_multi_processing_approach.py | stvnchnsn/stationary_bike | 28509524b12c02c51c1578554f1061b3bb0aaebc | [
"MIT"
] | null | null | null | tests/test_multi_processing_approach.py | stvnchnsn/stationary_bike | 28509524b12c02c51c1578554f1061b3bb0aaebc | [
"MIT"
] | null | null | null | tests/test_multi_processing_approach.py | stvnchnsn/stationary_bike | 28509524b12c02c51c1578554f1061b3bb0aaebc | [
"MIT"
] | null | null | null | # class approach for dynamic plotting
import multiprocessing
import test_dynamic_plotting as plotter
import test_optmizing_BPM as BPM
import tests_rpm as RPM
BPM_proc = multiprocessing.Process(target = BPM.run_it)
plotter_proc = multiprocessing.Process(target = plotter.run_it)
RPM_proc = multiprocessing.Process(target... | 23.684211 | 63 | 0.802222 | 65 | 450 | 5.338462 | 0.384615 | 0.164265 | 0.224784 | 0.276657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128889 | 450 | 19 | 64 | 23.684211 | 0.885204 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c9e6e74e986535ce5462f6154afacfad8ff40870 | 805 | py | Python | templates/tencent-python-rest-api/code/index.py | timqian/components | d8b0677c6d49494274af6d5b41238a9348881fc3 | [
"Apache-2.0"
] | 1 | 2020-12-16T05:46:45.000Z | 2020-12-16T05:46:45.000Z | templates/tencent-python-rest-api/code/index.py | timqian/components | d8b0677c6d49494274af6d5b41238a9348881fc3 | [
"Apache-2.0"
] | null | null | null | templates/tencent-python-rest-api/code/index.py | timqian/components | d8b0677c6d49494274af6d5b41238a9348881fc3 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf8 -*-
def teacher_go():
# todo: teacher_go action
return {
"result": "it is student_get action"
}
def student_go():
# todo: student_go action
return {
"result": "it is teacher_put action"
}
def student_come():
# todo: student_come action
return {
... | 23 | 57 | 0.57764 | 88 | 805 | 5.113636 | 0.284091 | 0.077778 | 0.233333 | 0.133333 | 0.524444 | 0.395556 | 0.182222 | 0.182222 | 0.182222 | 0 | 0 | 0.001701 | 0.269565 | 805 | 34 | 58 | 23.676471 | 0.763605 | 0.11677 | 0 | 0.318182 | 0 | 0 | 0.308782 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 1 | 0.181818 | false | 0 | 0 | 0.136364 | 0.454545 | 0.045455 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
a005a91c4ac9416e214fbf91bf2023adf9c5cd97 | 6,949 | py | Python | Animation.py | hslee1539/household-ledger | 5a6cb42d91755982833a253a23e4e65d5aaee513 | [
"MIT"
] | null | null | null | Animation.py | hslee1539/household-ledger | 5a6cb42d91755982833a253a23e4e65d5aaee513 | [
"MIT"
] | null | null | null | Animation.py | hslee1539/household-ledger | 5a6cb42d91755982833a253a23e4e65d5aaee513 | [
"MIT"
] | null | null | null | import Object
from Point import *
from Color import *
#아 유니코드 지원 불실하네....
#
#
#
def SizeUp ( object , engine, Frame ):
engine.ThreadStart ()
engine.root.after ( 0 , _SizeUp , object , engine , Frame, 0 , 0)
def _SizeUp ( object, engine , Frame , nowFrame , start ):
object.pSize.y = object.pSizeORIGEN.y / F... | 43.43125 | 135 | 0.612462 | 884 | 6,949 | 4.770362 | 0.111991 | 0.114774 | 0.173346 | 0.118568 | 0.859853 | 0.816457 | 0.762627 | 0.674413 | 0.62082 | 0.479725 | 0 | 0.016314 | 0.25903 | 6,949 | 159 | 136 | 43.704403 | 0.80268 | 0.067204 | 0 | 0.484848 | 0 | 0 | 0.001243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.022727 | 0 | 0.189394 | 0.007576 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a00f8015c386f5701fc9d79452e725178b57aa36 | 1,484 | py | Python | zone_migration/actions/my_message.py | nec-openstack/watcher-zone-migration-plugin | 9437d08a4e36e03d673308ce8bc410438997d8d8 | [
"Apache-2.0"
] | null | null | null | zone_migration/actions/my_message.py | nec-openstack/watcher-zone-migration-plugin | 9437d08a4e36e03d673308ce8bc410438997d8d8 | [
"Apache-2.0"
] | null | null | null | zone_migration/actions/my_message.py | nec-openstack/watcher-zone-migration-plugin | 9437d08a4e36e03d673308ce8bc410438997d8d8 | [
"Apache-2.0"
] | null | null | null | #
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# ... | 25.152542 | 78 | 0.652291 | 188 | 1,484 | 5.101064 | 0.56383 | 0.062565 | 0.027112 | 0.033368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003666 | 0.264825 | 1,484 | 58 | 79 | 25.586207 | 0.875344 | 0.47035 | 0 | 0.166667 | 0 | 0 | 0.091398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0.083333 | 0.166667 | 0.041667 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
4e4a272d649f9028da683cbd849a469aad2a69eb | 2,561 | py | Python | stock_indicators/indicators/stdev.py | LeeDongGeon1996/Stock.Indicators.Python | b706d00279a8ab5f2794417ddef1bf45e1c48587 | [
"Apache-2.0"
] | 13 | 2021-11-09T13:16:31.000Z | 2022-03-28T00:30:30.000Z | stock_indicators/indicators/stdev.py | LeeDongGeon1996/Stock.Indicators.Python | b706d00279a8ab5f2794417ddef1bf45e1c48587 | [
"Apache-2.0"
] | 162 | 2021-11-03T15:57:17.000Z | 2022-03-30T15:32:20.000Z | stock_indicators/indicators/stdev.py | LeeDongGeon1996/Stock.Indicators.Python | b706d00279a8ab5f2794417ddef1bf45e1c48587 | [
"Apache-2.0"
] | 5 | 2021-11-04T13:35:05.000Z | 2022-01-06T10:27:38.000Z | from typing import Iterable, Optional, TypeVar
from stock_indicators._cslib import CsIndicator
from stock_indicators._cstypes import List as CsList
from stock_indicators.indicators.common.helpers import RemoveWarmupMixin
from stock_indicators.indicators.common.results import IndicatorResults, ResultBase
from stock_ind... | 30.855422 | 110 | 0.700508 | 301 | 2,561 | 5.857143 | 0.325581 | 0.045377 | 0.053885 | 0.052184 | 0.245604 | 0.125922 | 0.051049 | 0 | 0 | 0 | 0 | 0 | 0.21515 | 2,561 | 82 | 111 | 31.231707 | 0.877114 | 0.381101 | 0 | 0.108108 | 0 | 0 | 0.001351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243243 | false | 0 | 0.162162 | 0.108108 | 0.594595 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4e576f4e74ee48b8b54fe6601fcebeb0120d5854 | 545 | py | Python | examples/example1.py | godliam/loggus | beb1de7eb20663e34ac9d8731e0e41b7c3b9b4fc | [
"MIT"
] | null | null | null | examples/example1.py | godliam/loggus | beb1de7eb20663e34ac9d8731e0e41b7c3b9b4fc | [
"MIT"
] | null | null | null | examples/example1.py | godliam/loggus | beb1de7eb20663e34ac9d8731e0e41b7c3b9b4fc | [
"MIT"
] | null | null | null | import loggus
if __name__ == '__main__':
loggus.info("hello world")
loggus.WithFields({"name": "cza"}).WithFields({"age": 18}).info("hello world")
loggus.info("hello world")
loggus.SetFormatter(loggus.JsonFormatter)
loggus.info("hello world")
loggus.WithFields({"name": "cza"}).WithFields({"age... | 32.058824 | 82 | 0.645872 | 66 | 545 | 5.212121 | 0.242424 | 0.235465 | 0.366279 | 0.290698 | 0.686047 | 0.668605 | 0.668605 | 0.668605 | 0.668605 | 0.534884 | 0 | 0.012931 | 0.148624 | 545 | 16 | 83 | 34.0625 | 0.728448 | 0 | 0 | 0.615385 | 0 | 0 | 0.251376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4e5d0ecd8260b31ec10dd9f17cdcc9466adfb438 | 276 | py | Python | viewer/config.py | MichaelVerdegaal/InfluencePython | b916efa175cc36115fbd724af5abcadf802b4bb8 | [
"MIT"
] | 1 | 2021-09-20T17:55:29.000Z | 2021-09-20T17:55:29.000Z | viewer/config.py | MichaelVerdegaal/InfluencePython | b916efa175cc36115fbd724af5abcadf802b4bb8 | [
"MIT"
] | 30 | 2021-09-18T14:40:36.000Z | 2021-11-30T06:23:26.000Z | viewer/config.py | MichaelVerdegaal/InfluencePython | b916efa175cc36115fbd724af5abcadf802b4bb8 | [
"MIT"
] | 2 | 2021-09-23T17:59:33.000Z | 2021-11-30T06:20:23.000Z | import os
# Project
PROJECT_FOLDER = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
APP_FOLDER = os.path.join(PROJECT_FOLDER, 'viewer')
STATIC_FOLDER = os.path.join(APP_FOLDER, 'frontend/static')
TEMPLATE_FOLDER = os.path.join(APP_FOLDER, 'frontend/templates')
| 30.666667 | 76 | 0.778986 | 41 | 276 | 4.97561 | 0.365854 | 0.176471 | 0.235294 | 0.235294 | 0.480392 | 0.323529 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 276 | 8 | 77 | 34.5 | 0.8 | 0.025362 | 0 | 0 | 0 | 0 | 0.146617 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4e7e4162a475b96893425b9f607ccf5271a4d4a1 | 8,634 | py | Python | tests/sender/send_lookup.py | gjpower/python-sdk | e2f1bd7078afe0ed13364037992477a13ca8e4dc | [
"MIT"
] | 18 | 2018-09-25T11:47:28.000Z | 2021-12-14T20:28:39.000Z | tests/sender/send_lookup.py | gjpower/python-sdk | e2f1bd7078afe0ed13364037992477a13ca8e4dc | [
"MIT"
] | 57 | 2018-11-08T12:40:30.000Z | 2022-03-31T13:01:19.000Z | tests/sender/send_lookup.py | gjpower/python-sdk | e2f1bd7078afe0ed13364037992477a13ca8e4dc | [
"MIT"
] | 34 | 2018-11-05T16:09:15.000Z | 2022-03-08T10:51:34.000Z | import unittest
from ssl import CERT_NONE
from unittest import mock
from devo.sender import Sender, SenderConfigSSL, Lookup
from .load_certs import *
class TestLookup(unittest.TestCase):
def setUp(self):
self.server = os.getenv("DEVO_SENDER_SERVER", "127.0.0.1")
self.port = int(os.getenv("DEVO_SE... | 34.674699 | 114 | 0.565323 | 1,014 | 8,634 | 4.616371 | 0.137081 | 0.044862 | 0.020508 | 0.03589 | 0.75753 | 0.734458 | 0.714164 | 0.683828 | 0.683828 | 0.674215 | 0 | 0.026826 | 0.300556 | 8,634 | 248 | 115 | 34.814516 | 0.748303 | 0.009729 | 0 | 0.587678 | 0 | 0.009479 | 0.100164 | 0.025977 | 0 | 0 | 0 | 0 | 0.047393 | 1 | 0.052133 | false | 0 | 0.023697 | 0 | 0.080569 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4ea56c2814843759d9f3071ca38cc8593b8449ec | 210 | py | Python | PyJS/__init__.py | Nemika-Haj/PyJS | 5a67164f8b8d445467edb304c0728ca7a0463be6 | [
"MIT"
] | 5 | 2021-02-22T14:22:17.000Z | 2021-10-31T23:54:45.000Z | PyJS/__init__.py | Nemika-Haj/PyJS | 5a67164f8b8d445467edb304c0728ca7a0463be6 | [
"MIT"
] | null | null | null | PyJS/__init__.py | Nemika-Haj/PyJS | 5a67164f8b8d445467edb304c0728ca7a0463be6 | [
"MIT"
] | null | null | null | __version__ = "1.2.0"
from .console import *
from .arrayMethods import *
from .numberMethods import *
from .stringMethods import *
from .convertions import *
from .jsonManager import JSON
require = __import__ | 21 | 29 | 0.771429 | 25 | 210 | 6.16 | 0.56 | 0.324675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01676 | 0.147619 | 210 | 10 | 30 | 21 | 0.843575 | 0 | 0 | 0 | 0 | 0 | 0.023697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4eaac06396231b6f99d457abce634c4cc42b094f | 705 | py | Python | flask_server.py | Kaedone/Flask | 9418b4cdf926c52b1e0a0668db25d9ee687c97d7 | [
"Apache-2.0"
] | 12 | 2020-10-26T13:17:56.000Z | 2021-08-13T20:20:35.000Z | flask_server.py | Kaedone/Flask | 9418b4cdf926c52b1e0a0668db25d9ee687c97d7 | [
"Apache-2.0"
] | 1 | 2020-10-30T09:29:49.000Z | 2020-10-30T09:29:49.000Z | flask_server.py | Kaedone/Flask | 9418b4cdf926c52b1e0a0668db25d9ee687c97d7 | [
"Apache-2.0"
] | 1 | 2021-09-20T13:32:17.000Z | 2021-09-20T13:32:17.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Импортируем всё, что нам нужно для запуска сервера
from flask import Flask
# Подключпем сам файл с запросами и другим кодом
from start import get_teachers, get_schedule, timing
app = Flask(__name__)
# Получение рассписания конкретного учителя
@app.route('/schedule/<sche... | 20.735294 | 52 | 0.723404 | 101 | 705 | 4.831683 | 0.623762 | 0.04918 | 0.012295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015075 | 0.153191 | 705 | 33 | 53 | 21.363636 | 0.802345 | 0.371631 | 0 | 0 | 0 | 0 | 0.147126 | 0.052874 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.214286 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4eb0518e2b6b5c54818c931abc399b774dde0600 | 1,042 | py | Python | app/tour_optimizer/segment.py | wolfhardfehre/guide-io | cf076bad0634bcaf4ad0be4822539b7c8d254e76 | [
"MIT"
] | null | null | null | app/tour_optimizer/segment.py | wolfhardfehre/guide-io | cf076bad0634bcaf4ad0be4822539b7c8d254e76 | [
"MIT"
] | null | null | null | app/tour_optimizer/segment.py | wolfhardfehre/guide-io | cf076bad0634bcaf4ad0be4822539b7c8d254e76 | [
"MIT"
] | null | null | null | import pandas as pd
from ipyleaflet import LayerGroup
from app.commons.layer import Layer
from app.routing.path import Path
class Segment(Layer):
def __init__(self, pois: tuple, distance: tuple, nodes: pd.DataFrame):
self.pois = pois
self.element = distance
self.path = Path(nodes, distan... | 26.717949 | 123 | 0.65547 | 147 | 1,042 | 4.55102 | 0.340136 | 0.083707 | 0.040359 | 0.035874 | 0.13154 | 0.083707 | 0.083707 | 0 | 0 | 0 | 0 | 0.008706 | 0.228407 | 1,042 | 38 | 124 | 27.421053 | 0.823383 | 0 | 0 | 0.142857 | 0 | 0.035714 | 0.100768 | 0.100768 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.142857 | 0.178571 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4eb1756b32bf9766af8ca3b0e35140a23584002d | 1,038 | py | Python | Ago-Dic-2021/cavazos-nelson-saul-alejandro/practica_3/calculator.py | AnhellO/DAS_Sistemas | 07b4eca78357d02d225d570033d05748d91383e3 | [
"MIT"
] | 41 | 2017-09-26T09:36:32.000Z | 2022-03-19T18:05:25.000Z | Ago-Dic-2021/cavazos-nelson-saul-alejandro/practica_3/calculator.py | AnhellO/DAS_Sistemas | 07b4eca78357d02d225d570033d05748d91383e3 | [
"MIT"
] | 67 | 2017-09-11T05:06:12.000Z | 2022-02-14T04:44:04.000Z | Ago-Dic-2021/cavazos-nelson-saul-alejandro/practica_3/calculator.py | AnhellO/DAS_Sistemas | 07b4eca78357d02d225d570033d05748d91383e3 | [
"MIT"
] | 210 | 2017-09-01T00:10:08.000Z | 2022-03-19T18:05:12.000Z |
class Calculator:
def __init__(self, a: int, b: int) -> None:
self.a = a
self.b = b
def suma(self) -> int:
return self.a + self.b
def resta(self) -> int:
return self.a - self.b
def Multiplicion(self)-> int:
return self.a * self.b
def Div... | 24.714286 | 55 | 0.44605 | 128 | 1,038 | 3.570313 | 0.234375 | 0.131291 | 0.078775 | 0.109409 | 0.533917 | 0.50547 | 0.389497 | 0.389497 | 0.218818 | 0.166302 | 0 | 0.018519 | 0.427746 | 1,038 | 42 | 56 | 24.714286 | 0.750842 | 0 | 0 | 0.333333 | 0 | 0 | 0.035611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212121 | false | 0 | 0 | 0.121212 | 0.575758 | 0.030303 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4eb3ed65970dec892f177e8bcc8f3f95655dc099 | 341 | py | Python | tests/plugin.py | pieterb/aiopluggy | 40a28c38bed35cc8df8703d99c25c75b3fe82151 | [
"MIT"
] | 1 | 2018-01-12T20:36:37.000Z | 2018-01-12T20:36:37.000Z | tests/plugin.py | pieterb/aiopluggy | 40a28c38bed35cc8df8703d99c25c75b3fe82151 | [
"MIT"
] | null | null | null | tests/plugin.py | pieterb/aiopluggy | 40a28c38bed35cc8df8703d99c25c75b3fe82151 | [
"MIT"
] | 2 | 2020-01-28T19:33:20.000Z | 2022-01-17T00:13:28.000Z | from aiopluggy import HookimplMarker
hookimpl = HookimplMarker("example")
@hookimpl
def function_impl(arg1, arg2, foo='bar'):
pass
@hookimpl
class class1_impl(object):
def __init__(self, arg1, arg2, foo='bar'):
pass
class class2_impl(object):
@hookimpl
def __init__(self, arg1, arg2, foo=... | 15.5 | 46 | 0.674487 | 42 | 341 | 5.214286 | 0.47619 | 0.109589 | 0.150685 | 0.191781 | 0.347032 | 0.26484 | 0.26484 | 0.26484 | 0 | 0 | 0 | 0.02963 | 0.208211 | 341 | 21 | 47 | 16.238095 | 0.781481 | 0 | 0 | 0.615385 | 0 | 0 | 0.046921 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.230769 | 0.076923 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4ed953ab31c11e1fce2e2e78a7a7a5d8bd6f6eb8 | 204 | py | Python | python/scrap.py | hitoyozake/sandbox | 4bdb376a9cd834b7c06a5a4914771a56fc83b18a | [
"MIT"
] | null | null | null | python/scrap.py | hitoyozake/sandbox | 4bdb376a9cd834b7c06a5a4914771a56fc83b18a | [
"MIT"
] | null | null | null | python/scrap.py | hitoyozake/sandbox | 4bdb376a9cd834b7c06a5a4914771a56fc83b18a | [
"MIT"
] | null | null | null | # -* encoding: utf-8 *-
import requests
import lxml.html
response = requests.get('http://gihyo.jp')
root = lxml.html.fromstring(response.content)
print(root)
for a in root.cssselect('#mdHeading01Txt')
| 18.545455 | 45 | 0.730392 | 28 | 204 | 5.321429 | 0.75 | 0.107383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016575 | 0.112745 | 204 | 10 | 46 | 20.4 | 0.80663 | 0.102941 | 0 | 0 | 0 | 0 | 0.165746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
14ff354778efb8ac3ee65e218f3ba42822f46697 | 93 | py | Python | test/test_dir_tree/project_root_t/package_dir/package_subdir/subdir_dummy_module.py | abarker/pytest-helper | 8580aee9bb95c3eceaac8273b46284d1862f8e6a | [
"MIT"
] | 2 | 2019-12-09T07:09:39.000Z | 2020-04-16T15:16:56.000Z | test/test_dir_tree/project_root_t/package_dir/package_subdir/subdir_dummy_module.py | abarker/pytest-helper | 8580aee9bb95c3eceaac8273b46284d1862f8e6a | [
"MIT"
] | null | null | null | test/test_dir_tree/project_root_t/package_dir/package_subdir/subdir_dummy_module.py | abarker/pytest-helper | 8580aee9bb95c3eceaac8273b46284d1862f8e6a | [
"MIT"
] | null | null | null | """
A dummy module to test relative imports from scripts.
"""
test_string = "dummy_module"
| 13.285714 | 53 | 0.72043 | 13 | 93 | 5 | 0.769231 | 0.338462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 6 | 54 | 15.5 | 0.844156 | 0.569892 | 0 | 0 | 0 | 0 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
091072c6b40e32839a38ecc47815b88974362ab1 | 2,287 | py | Python | solution/tests.py | WizardLemon/challenge-381-caesar-cipher | ad033cb8b6227887f1e02fbe3e3c21f9cb40f6e8 | [
"MIT"
] | null | null | null | solution/tests.py | WizardLemon/challenge-381-caesar-cipher | ad033cb8b6227887f1e02fbe3e3c21f9cb40f6e8 | [
"MIT"
] | null | null | null | solution/tests.py | WizardLemon/challenge-381-caesar-cipher | ad033cb8b6227887f1e02fbe3e3c21f9cb40f6e8 | [
"MIT"
] | null | null | null | import unittest
from main import *
class WarmupTestCase(unittest.TestCase):
"""
This class contains tests for the warmup section of the challenge.
"""
def test_1(self):
expected = 'a'
actual = warmup('a', 0)
self.assertEqual(expected, actual)
def test_2(self):
ex... | 20.981651 | 70 | 0.588981 | 247 | 2,287 | 5.364372 | 0.259109 | 0.073962 | 0.243019 | 0.306415 | 0.601509 | 0.467925 | 0.403019 | 0.373585 | 0.371321 | 0.075472 | 0 | 0.019839 | 0.294709 | 2,287 | 108 | 71 | 21.175926 | 0.801612 | 0.074333 | 0 | 0.460317 | 0 | 0 | 0.069532 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.031746 | 0 | 0.301587 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
093c9842f5d99c3d0f0b3067a12e11abe8e41a86 | 675 | py | Python | leaderboards/migrations/0005_auto_20180826_2014.py | mwiens91/mario-64-rivals | da1918eec77eda36a189a596b2f00145850cc7dd | [
"BSD-3-Clause"
] | null | null | null | leaderboards/migrations/0005_auto_20180826_2014.py | mwiens91/mario-64-rivals | da1918eec77eda36a189a596b2f00145850cc7dd | [
"BSD-3-Clause"
] | 4 | 2020-06-05T18:52:14.000Z | 2021-06-10T20:47:10.000Z | leaderboards/migrations/0005_auto_20180826_2014.py | mwiens91/mario-64-rivals | da1918eec77eda36a189a596b2f00145850cc7dd | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 2.1 on 2018-08-26 20:14
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('leaderboards', '0004_auto_20180826_2004'),
]
operations = [
migrations.AlterModelOptions(
name='course',
options={'ordering': ... | 25.961538 | 68 | 0.58963 | 55 | 675 | 7.054545 | 0.6 | 0.208763 | 0.239691 | 0.139175 | 0.190722 | 0.190722 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 0.281481 | 675 | 25 | 69 | 27 | 0.738144 | 0.063704 | 0 | 0.421053 | 1 | 0 | 0.266667 | 0.136508 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
094616dc0932218a8d64e49a354f62e38b5da89c | 2,254 | py | Python | client/bitfont.py | magnostherobot/longpong | 674c5c131a558e0b9854bd287a404ed048b104ae | [
"MIT"
] | null | null | null | client/bitfont.py | magnostherobot/longpong | 674c5c131a558e0b9854bd287a404ed048b104ae | [
"MIT"
] | null | null | null | client/bitfont.py | magnostherobot/longpong | 674c5c131a558e0b9854bd287a404ed048b104ae | [
"MIT"
] | null | null | null | _bitfont_0 = [ True, True, True,
True, False, True,
True, False, True,
True, False, True,
True, True, True ]
_bitfont_1 = [ False, False, True,
False, True, True,
False, False, True,
False, False, True,
False, False, True ]
_bitfont_2 = [ True, True, Tru... | 27.156627 | 134 | 0.577196 | 289 | 2,254 | 4.346021 | 0.186851 | 0.414013 | 0.372611 | 0.229299 | 0.644108 | 0.602707 | 0.559713 | 0.542197 | 0.476115 | 0.263535 | 0 | 0.023346 | 0.315883 | 2,254 | 82 | 135 | 27.487805 | 0.79118 | 0.145519 | 0 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0 | 0 | 0 | 0.065574 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
094b1db399961810073384cf184b0bdf191b9bce | 196 | py | Python | dependencies/exception.py | smohanty0714/spark-etl-python | fde727ac8ca93a7cd0a7769a5a2a4c0f2cea3eea | [
"CNRI-Python"
] | 1 | 2021-03-05T15:44:53.000Z | 2021-03-05T15:44:53.000Z | dependencies/exception.py | smohanty0714/spark-etl-python | fde727ac8ca93a7cd0a7769a5a2a4c0f2cea3eea | [
"CNRI-Python"
] | null | null | null | dependencies/exception.py | smohanty0714/spark-etl-python | fde727ac8ca93a7cd0a7769a5a2a4c0f2cea3eea | [
"CNRI-Python"
] | null | null | null | """
exception.py
~~~~~~~~
Module containing Custom Exceptions
"""
class UdfUnavailable(Exception):
"""Raised when udf specified not available"""
def __init__(self, e):
raise e
| 14 | 49 | 0.647959 | 21 | 196 | 5.857143 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209184 | 196 | 13 | 50 | 15.076923 | 0.793548 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
094c8c054f9b56174d678002e6a3c4e51c6d2e32 | 186 | py | Python | aula007 - OPERADORES ARITMETICOS/ex013.py | miradouro/CursoEmVideo-Python | cc7b05a9a4aad8e6ef3b29453d83370094d75e41 | [
"MIT"
] | null | null | null | aula007 - OPERADORES ARITMETICOS/ex013.py | miradouro/CursoEmVideo-Python | cc7b05a9a4aad8e6ef3b29453d83370094d75e41 | [
"MIT"
] | null | null | null | aula007 - OPERADORES ARITMETICOS/ex013.py | miradouro/CursoEmVideo-Python | cc7b05a9a4aad8e6ef3b29453d83370094d75e41 | [
"MIT"
] | null | null | null | n1 = float(input('Qual é o preço do produto?\n'))
novo = n1 + (n1 * 15 / 100)
print('Um funcionario que ganhava R${:.2f}, com 15% de aumento, passa a ganhar R${:.2f}!'.format(n1, novo))
| 46.5 | 107 | 0.634409 | 34 | 186 | 3.470588 | 0.794118 | 0.050847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083871 | 0.166667 | 186 | 3 | 108 | 62 | 0.677419 | 0 | 0 | 0 | 0 | 0.333333 | 0.586022 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
094cc1a86ecb4e3ce659f87ebabae7932cfe0670 | 640 | py | Python | hwtLib/amba/axis_comp/fifo.py | optical-o/hwtLib | edad621f5ad4cdbea20a5751ff4468979afe2f77 | [
"MIT"
] | 24 | 2017-02-23T10:00:50.000Z | 2022-01-28T12:20:21.000Z | hwtLib/amba/axis_comp/fifo.py | optical-o/hwtLib | edad621f5ad4cdbea20a5751ff4468979afe2f77 | [
"MIT"
] | 32 | 2017-04-28T10:29:34.000Z | 2021-04-27T09:16:43.000Z | hwtLib/amba/axis_comp/fifo.py | optical-o/hwtLib | edad621f5ad4cdbea20a5751ff4468979afe2f77 | [
"MIT"
] | 8 | 2019-09-19T03:34:36.000Z | 2022-01-21T06:56:58.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from hwt.serializer.mode import serializeParamsUniq
from hwtLib.amba.axis_comp.base import AxiSCompBase
from hwtLib.handshaked.fifo import HandshakedFifo
@serializeParamsUniq
class AxiSFifo(AxiSCompBase, HandshakedFifo):
"""
Synchronous fifo for axi-stream inter... | 20 | 56 | 0.715625 | 77 | 640 | 5.701299 | 0.597403 | 0.102506 | 0.091116 | 0.041002 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0.175 | 640 | 31 | 57 | 20.645161 | 0.825758 | 0.275 | 0 | 0 | 0 | 0 | 0.018223 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 1 | 0.076923 | false | 0 | 0.307692 | 0 | 0.538462 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
11ac47ff56097ab6101712c96e0f56f583517690 | 2,033 | py | Python | riksdagstryck/models.py | CDH-DevTeam/context-backend | 63ebea74f8f9c98a8914f405812e1ddddf0a626e | [
"MIT"
] | null | null | null | riksdagstryck/models.py | CDH-DevTeam/context-backend | 63ebea74f8f9c98a8914f405812e1ddddf0a626e | [
"MIT"
] | null | null | null | riksdagstryck/models.py | CDH-DevTeam/context-backend | 63ebea74f8f9c98a8914f405812e1ddddf0a626e | [
"MIT"
] | null | null | null | from django.db import models
# Token models
class Lemma(models.Model):
# A lemma is the lower-case base form of a token
# e.g. "car" from "Cars"
text = models.CharField(max_length=128, primary_key=True)
def __str__(self) -> str:
return self.text
def __repr__(self) -> str:
return... | 27.849315 | 85 | 0.651746 | 271 | 2,033 | 4.686347 | 0.269373 | 0.055118 | 0.092126 | 0.094488 | 0.388189 | 0.388189 | 0.329134 | 0.329134 | 0.272441 | 0.272441 | 0 | 0.009609 | 0.232169 | 2,033 | 72 | 86 | 28.236111 | 0.803972 | 0.176094 | 0 | 0.487179 | 0 | 0 | 0.051683 | 0.016827 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25641 | false | 0 | 0.025641 | 0.230769 | 0.974359 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
11beec883ad2356c0736d22515deac0d224abb60 | 294 | py | Python | Python/IO/TkInterBold.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 148 | 2017-08-03T01:49:27.000Z | 2022-03-26T10:39:30.000Z | Python/IO/TkInterBold.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 3 | 2017-11-23T19:52:05.000Z | 2020-04-01T00:44:40.000Z | Python/IO/TkInterBold.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 59 | 2017-08-03T01:49:19.000Z | 2022-03-31T23:24:38.000Z | def customLabel(parent, row, column, bold, standard):
cLabelFrame = Frame(parent)
cLabelFrame.grid(row=row, column=column)
Label(cLabelFrame, text=bold, font=('bold').grid(column=0)
Label(cLabelFrame, text=standard).grid(column=1)
#https://pt.stackoverflow.com/q/77178/101
| 36.75 | 62 | 0.714286 | 39 | 294 | 5.384615 | 0.564103 | 0.085714 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039063 | 0.129252 | 294 | 7 | 63 | 42 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0.01581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
11ec6668ee72e694025657a27e270cf751ca553a | 132 | gyp | Python | addons/stepfunction/binding.gyp | Uninspiriert/clothespin-monte-carlo | 50e358e112ebf32ae64198270f83a47f70de130f | [
"MIT"
] | null | null | null | addons/stepfunction/binding.gyp | Uninspiriert/clothespin-monte-carlo | 50e358e112ebf32ae64198270f83a47f70de130f | [
"MIT"
] | null | null | null | addons/stepfunction/binding.gyp | Uninspiriert/clothespin-monte-carlo | 50e358e112ebf32ae64198270f83a47f70de130f | [
"MIT"
] | null | null | null | {
"targets": [
{
"target_name": "stepfunction",
"sources": ["stepfunction.cc"]
}
]
} | 16.5 | 42 | 0.386364 | 7 | 132 | 7.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.439394 | 132 | 8 | 43 | 16.5 | 0.675676 | 0 | 0 | 0 | 0 | 0 | 0.390977 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
11f6b2aed8e85fead0710127e62ce553c58a341f | 326 | py | Python | loawatcher/__main__.py | whutch/loawatcher | bb8a69c7b46047eb215cc61659681633a15b845f | [
"MIT"
] | null | null | null | loawatcher/__main__.py | whutch/loawatcher | bb8a69c7b46047eb215cc61659681633a15b845f | [
"MIT"
] | null | null | null | loawatcher/__main__.py | whutch/loawatcher | bb8a69c7b46047eb215cc61659681633a15b845f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""The main entry point for the server."""
# Part of Watcher (https://github.com/whutch/loawatcher)
# :copyright: (c) 2017 Will Hutcheson
# :license: MIT (https://github.com/whutch/loawatcher/blob/master/LICENSE.txt)
from .watcher import run
if __name__ == "__main__": # pragma: no cover
... | 27.166667 | 78 | 0.684049 | 45 | 326 | 4.777778 | 0.777778 | 0.102326 | 0.130233 | 0.186047 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017986 | 0.147239 | 326 | 11 | 79 | 29.636364 | 0.755396 | 0.748466 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
eea5869ff30f0cd540b5ca4c277d2083f3af9660 | 264 | py | Python | L1Trigger/L1CaloTrigger/python/L1EGammaCrystalsEmulatorProducer_cfi.py | thesps/cmssw | ad5315934948ce96699b29cc1d5b03a59f99634f | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1CaloTrigger/python/L1EGammaCrystalsEmulatorProducer_cfi.py | thesps/cmssw | ad5315934948ce96699b29cc1d5b03a59f99634f | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1CaloTrigger/python/L1EGammaCrystalsEmulatorProducer_cfi.py | thesps/cmssw | ad5315934948ce96699b29cc1d5b03a59f99634f | [
"Apache-2.0"
] | null | null | null | import FWCore.ParameterSet.Config as cms
L1EGammaClusterEmuProducer = cms.EDProducer("L1EGCrystalClusterEmulatorProducer",
ecalTPEB = cms.InputTag("simEcalEBTriggerPrimitiveDigis","","HLT"),
hcalTP = cms.InputTag("simHcalTriggerPrimitiveDigis","","HLT"),
)
| 37.714286 | 81 | 0.787879 | 20 | 264 | 10.4 | 0.75 | 0.105769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00823 | 0.079545 | 264 | 6 | 82 | 44 | 0.847737 | 0 | 0 | 0 | 0 | 0 | 0.371212 | 0.348485 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eeac08c26a0a57c5916cdefc3422a7a5b870ef7c | 12,625 | py | Python | selfplaylab/game/go.py | sanderland/SelfplayLab | 4ce5b8ffd8cfb5465196dddaa0142b2843570b98 | [
"MIT"
] | 2 | 2020-12-10T17:11:23.000Z | 2021-05-09T04:14:00.000Z | selfplaylab/game/go.py | sanderland/SelfplayLab | 4ce5b8ffd8cfb5465196dddaa0142b2843570b98 | [
"MIT"
] | null | null | null | selfplaylab/game/go.py | sanderland/SelfplayLab | 4ce5b8ffd8cfb5465196dddaa0142b2843570b98 | [
"MIT"
] | 2 | 2021-05-09T04:14:05.000Z | 2021-05-09T04:14:34.000Z | from typing import Iterable, Optional
import numpy as np
from selfplaylab.game import ConvPolicyMixin, DensePolicyMixin, GameState
from selfplaylab.net import ValueHead, ConvolutionalPolicyHead, ConvolutionalPolicyHeadWithPass
class GoState(GameState):
X, Y = 5, 5
GAME_NAME = f"Go({X}x{Y})"
STATE_CHANNE... | 39.330218 | 119 | 0.498693 | 1,748 | 12,625 | 3.498284 | 0.081236 | 0.032706 | 0.034178 | 0.021259 | 0.788389 | 0.73704 | 0.715781 | 0.695666 | 0.669174 | 0.669174 | 0 | 0.025984 | 0.353743 | 12,625 | 320 | 120 | 39.453125 | 0.723496 | 0.005941 | 0 | 0.671587 | 0 | 0.00369 | 0.037152 | 0.006378 | 0 | 0 | 0 | 0.003125 | 0 | 1 | 0.107011 | false | 0.0369 | 0.01476 | 0.00738 | 0.269373 | 0.077491 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eed758f1eaa384816095eb7a0120341bdf83ba1e | 866 | py | Python | src/compas_rhino/artists/_shapeartist.py | mpopescu/compas | 55f259607deea501f862cbaea79bd97d7e56ead6 | [
"MIT"
] | null | null | null | src/compas_rhino/artists/_shapeartist.py | mpopescu/compas | 55f259607deea501f862cbaea79bd97d7e56ead6 | [
"MIT"
] | null | null | null | src/compas_rhino/artists/_shapeartist.py | mpopescu/compas | 55f259607deea501f862cbaea79bd97d7e56ead6 | [
"MIT"
] | null | null | null | from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
from compas_rhino.artists import _Artist
__all__ = ['_ShapeArtist']
class _ShapeArtist(_Artist):
"""Base class for all ``Shape`` artists.
Parameters
----------
shape : :class:`compas.geometr... | 22.789474 | 80 | 0.536952 | 78 | 866 | 5.384615 | 0.461538 | 0.071429 | 0.114286 | 0.114286 | 0.138095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187067 | 866 | 37 | 81 | 23.405405 | 0.596591 | 0.464203 | 0 | 0 | 0 | 0 | 0.095694 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.083333 | 0.333333 | 0 | 0.583333 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
e116cc941769e15d470723831988ea7780b7c202 | 238 | py | Python | {{cookiecutter.project_slug}}/tests/lib/test_resources.py | thecoderstudio/cookiecutter-pyramid-api | b3122c0d98be7179bcf726c6527096c0327d7bb7 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/tests/lib/test_resources.py | thecoderstudio/cookiecutter-pyramid-api | b3122c0d98be7179bcf726c6527096c0327d7bb7 | [
"MIT"
] | 1 | 2021-12-17T15:10:21.000Z | 2021-12-17T15:10:21.000Z | {{cookiecutter.project_slug}}/tests/lib/test_resources.py | thecoderstudio/cookiecutter-pyramid-api | b3122c0d98be7179bcf726c6527096c0327d7bb7 | [
"MIT"
] | 1 | 2021-03-01T14:27:10.000Z | 2021-03-01T14:27:10.000Z | from {{cookiecutter.project_slug}}.lib.resources import LocationAwareResource
def test_location_aware_resource_name():
class Sample(LocationAwareResource):
pass
sample = Sample()
assert sample.__name__ == 'Sample'
| 21.636364 | 77 | 0.743697 | 24 | 238 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 238 | 10 | 78 | 23.8 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | null | null | 0.166667 | 0.166667 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e11a8744ba5d26b2df14264f96ada880e8c3b103 | 95 | py | Python | lertsv.py | christian8bits/imdb-analise-dados | f8c65db0c224575a09dd49889b191ae519fe9867 | [
"CC0-1.0"
] | null | null | null | lertsv.py | christian8bits/imdb-analise-dados | f8c65db0c224575a09dd49889b191ae519fe9867 | [
"CC0-1.0"
] | null | null | null | lertsv.py | christian8bits/imdb-analise-dados | f8c65db0c224575a09dd49889b191ae519fe9867 | [
"CC0-1.0"
] | null | null | null | import pandas as pd
df = pd.read_csv("datasets/title-ratings.tsv",sep='\t')
print(df.head(20))
| 23.75 | 55 | 0.715789 | 18 | 95 | 3.722222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.084211 | 95 | 3 | 56 | 31.666667 | 0.747126 | 0 | 0 | 0 | 0 | 0 | 0.294737 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0122b75d0886192c2049e2a426b519599b52a6c2 | 39 | py | Python | mayan/apps/platform/literals.py | wan1869/dushuhu | 934dd178e67140cffc6b9203e793fdf8bbc73a54 | [
"Apache-2.0"
] | 1 | 2021-02-24T15:03:23.000Z | 2021-02-24T15:03:23.000Z | mayan/apps/platform/literals.py | wan1869/dushuhu | 934dd178e67140cffc6b9203e793fdf8bbc73a54 | [
"Apache-2.0"
] | null | null | null | mayan/apps/platform/literals.py | wan1869/dushuhu | 934dd178e67140cffc6b9203e793fdf8bbc73a54 | [
"Apache-2.0"
] | 1 | 2020-08-09T09:06:59.000Z | 2020-08-09T09:06:59.000Z | DEFAULT_GUNICORN_WORKER_CLASS = 'sync'
| 19.5 | 38 | 0.846154 | 5 | 39 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0146fc51d52e825f209c8ba53b949652067ae913 | 224 | py | Python | data_collection/gazette/spiders/ba_santa_cruz_cabralia.py | kaiocp/querido-diario | 86004049c6eee305e13066cf3607d30849bb099a | [
"MIT"
] | 454 | 2018-04-07T03:32:57.000Z | 2020-08-17T19:56:22.000Z | data_collection/gazette/spiders/ba_santa_cruz_cabralia.py | kaiocp/querido-diario | 86004049c6eee305e13066cf3607d30849bb099a | [
"MIT"
] | 254 | 2020-08-18T14:09:43.000Z | 2022-03-28T11:30:51.000Z | data_collection/gazette/spiders/ba_santa_cruz_cabralia.py | kaiocp/querido-diario | 86004049c6eee305e13066cf3607d30849bb099a | [
"MIT"
] | 183 | 2018-04-11T15:09:37.000Z | 2020-08-15T18:55:11.000Z | from gazette.spiders.base.doem import DoemGazetteSpider
class BaSantaCruzCabraliaSpider(DoemGazetteSpider):
TERRITORY_ID = "2927705"
name = "ba_santa_cruz_cabralia"
state_city_url_part = "ba/santacruzcabralia"
| 28 | 55 | 0.799107 | 24 | 224 | 7.166667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035897 | 0.129464 | 224 | 7 | 56 | 32 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 0.098214 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
015702580a0f30d4946dd4b78cd55a1aeb8a8af7 | 809 | py | Python | nglview/__init__.py | i386uk/nglview | 39e207e474ef85feb0e4928d02d2d68428435b15 | [
"MIT"
] | null | null | null | nglview/__init__.py | i386uk/nglview | 39e207e474ef85feb0e4928d02d2d68428435b15 | [
"MIT"
] | null | null | null | nglview/__init__.py | i386uk/nglview | 39e207e474ef85feb0e4928d02d2d68428435b15 | [
"MIT"
] | null | null | null | from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
import warnings
with warnings.catch_warnings():
warnings.simplefilter("ignore")
# Register nbextension
def _jupyter_nbextension_paths():
return [{
'section': 'notebook',
'src': 'static',
'dest... | 21.864865 | 87 | 0.71199 | 97 | 809 | 5.587629 | 0.484536 | 0.060886 | 0.066421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177998 | 809 | 36 | 88 | 22.472222 | 0.815038 | 0.086527 | 0 | 0 | 0 | 0 | 0.154161 | 0.038199 | 0 | 0 | 0 | 0.027778 | 0 | 1 | 0.045455 | false | 0 | 0.454545 | 0.045455 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0157958fb8c058be25bef09bf3ca412549821a51 | 2,932 | py | Python | mamba/mamba.py | ninhpham0902/akc-mamba | 3454b8365d69a4c5f543f71760a495296fa0a5e8 | [
"MIT"
] | 7 | 2020-04-22T02:35:24.000Z | 2022-01-16T17:14:01.000Z | mamba/mamba.py | ninhpham0902/akc-mamba | 3454b8365d69a4c5f543f71760a495296fa0a5e8 | [
"MIT"
] | 9 | 2020-04-07T09:11:08.000Z | 2020-12-29T02:35:12.000Z | mamba/mamba.py | ninhpham0902/akc-mamba | 3454b8365d69a4c5f543f71760a495296fa0a5e8 | [
"MIT"
] | 7 | 2020-07-30T02:27:14.000Z | 2022-02-13T09:58:55.000Z | import os
from os.path import expanduser
import click
from settings import settings
from utils import hiss
from k8s.vpn.commands import vpn
from k8s.secret.commands import secret
from k8s.environment.commands import environment
from k8s.config.commands import extract_config
from blockchain.copyscripts.commands impor... | 33.318182 | 68 | 0.861869 | 407 | 2,932 | 6.004914 | 0.17199 | 0.189034 | 0.202537 | 0.022095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002582 | 0.075375 | 2,932 | 87 | 69 | 33.701149 | 0.89893 | 0.017735 | 0 | 0 | 0 | 0 | 0.00278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013158 | true | 0 | 0.5 | 0 | 0.513158 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
01694f439a05f49b2d1027cc3dbe62a67f3c6593 | 647 | py | Python | Botnets/App/App Web/backend/Modules/DataScience/ML_Algorithms.py | i2tResearch/Ciberseguridad_web | ac3dd934a60628532e3538369cb145d9a8f33e4f | [
"MIT"
] | 9 | 2021-10-01T22:02:58.000Z | 2021-11-09T17:48:45.000Z | Botnets/App/App Web/backend/Modules/DataScience/ML_Algorithms.py | i2tResearch/Ciberseguridad_web | ac3dd934a60628532e3538369cb145d9a8f33e4f | [
"MIT"
] | null | null | null | Botnets/App/App Web/backend/Modules/DataScience/ML_Algorithms.py | i2tResearch/Ciberseguridad_web | ac3dd934a60628532e3538369cb145d9a8f33e4f | [
"MIT"
] | null | null | null | """This module provides a serie of ML ALgorithms"""
import joblib
import sklearn
def loadDecisionTreeClassifier(dtcModelRoute = "../Modules/DataScience/Models/dtc.save"):
dtc = joblib.load(dtcModelRoute)
return dtc
def loadKNN(knnModelROute = "../Modules/DataScience/Models/knn.save"):
knn = joblib.load(... | 28.130435 | 94 | 0.752705 | 68 | 647 | 7.161765 | 0.441176 | 0.147844 | 0.197125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132921 | 647 | 22 | 95 | 29.409091 | 0.868093 | 0.069552 | 0 | 0 | 0 | 0 | 0.260067 | 0.260067 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0176c7617c6ea2fef35c48c87e8225ab9272907f | 590 | py | Python | topobank/plots.py | ContactEngineering/TopoBank | 12710c24cc158801db20f030c3e0638060e24a0e | [
"MIT",
"BSD-3-Clause"
] | 3 | 2021-12-03T19:11:07.000Z | 2021-12-27T17:14:39.000Z | topobank/plots.py | ContactEngineering/TopoBank | 12710c24cc158801db20f030c3e0638060e24a0e | [
"MIT",
"BSD-3-Clause"
] | 268 | 2021-03-19T13:57:00.000Z | 2022-03-31T20:58:26.000Z | topobank/plots.py | ContactEngineering/TopoBank | 12710c24cc158801db20f030c3e0638060e24a0e | [
"MIT",
"BSD-3-Clause"
] | null | null | null | from bokeh.models.formatters import FuncTickFormatter
def configure_plot(plot):
plot.toolbar.logo = None
plot.xaxis.axis_label_text_font_style = "normal"
plot.yaxis.axis_label_text_font_style = "normal"
plot.xaxis.major_label_text_font_size = "1rem"
plot.yaxis.major_label_text_font_size = "1rem"
... | 45.384615 | 85 | 0.776271 | 80 | 590 | 5.3875 | 0.3625 | 0.12529 | 0.180974 | 0.157773 | 0.765661 | 0.765661 | 0.733179 | 0 | 0 | 0 | 0 | 0.007722 | 0.122034 | 590 | 12 | 86 | 49.166667 | 0.824324 | 0 | 0 | 0 | 0 | 0 | 0.155932 | 0.084746 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
01995026e158bbb14a58ae01978f09daeeed7a90 | 124 | py | Python | src/14/api_urls.py | rvalle71mx/PY201 | ac5cc75371c2f3a658dd6483da3f8effe4a492d7 | [
"MIT"
] | 9 | 2018-05-07T06:25:07.000Z | 2021-11-10T15:22:00.000Z | src/14/api_urls.py | rvalle71mx/PY201 | ac5cc75371c2f3a658dd6483da3f8effe4a492d7 | [
"MIT"
] | null | null | null | src/14/api_urls.py | rvalle71mx/PY201 | ac5cc75371c2f3a658dd6483da3f8effe4a492d7 | [
"MIT"
] | 4 | 2018-05-18T01:02:46.000Z | 2021-01-29T17:55:03.000Z | from django.urls import path
from . import views
urlpatterns = [path('', views.vista),
path('carga', views.carga),] | 24.8 | 38 | 0.669355 | 16 | 124 | 5.1875 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 124 | 5 | 39 | 24.8 | 0.813725 | 0 | 0 | 0 | 0 | 0 | 0.041322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6d704aaef1bff8340fba4e44ba748c22b279d045 | 244 | py | Python | src/pushmessage/dynamodbfunctions/scan_atcoder_info.py | zaurus-yusya/AtCoderStalker | e3ab389f00995d752d87710c03da905ed89554c4 | [
"MIT"
] | 7 | 2021-07-11T15:50:52.000Z | 2021-09-18T15:49:27.000Z | src/pushmessage/dynamodbfunctions/scan_atcoder_info.py | zaurus-yusya/AtCoderStalker | e3ab389f00995d752d87710c03da905ed89554c4 | [
"MIT"
] | 2 | 2020-05-30T16:18:33.000Z | 2020-05-30T16:23:40.000Z | src/pushmessage/dynamodbfunctions/scan_atcoder_info.py | zaurus-yusya/AtCoderStalker | e3ab389f00995d752d87710c03da905ed89554c4 | [
"MIT"
] | null | null | null | import os
import boto3
from boto3.dynamodb.conditions import Key
dynamodb = boto3.resource('dynamodb')
def scan_atcoder_info():
TABLE = dynamodb.Table(os.environ["ATCODER_INFO_TABLE"])
data = TABLE.scan()
return data['Items'] | 22.181818 | 60 | 0.72541 | 32 | 244 | 5.40625 | 0.53125 | 0.127168 | 0.184971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014634 | 0.159836 | 244 | 11 | 61 | 22.181818 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.126531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6d84cc6f89ac5085fc77414a29602724f8db4087 | 211 | py | Python | exapscheduler/common/statuscode.py | chenli0906/exapscheduler | 2edb908ac6dce4f67e6a14539bdf466483468332 | [
"MIT"
] | null | null | null | exapscheduler/common/statuscode.py | chenli0906/exapscheduler | 2edb908ac6dce4f67e6a14539bdf466483468332 | [
"MIT"
] | null | null | null | exapscheduler/common/statuscode.py | chenli0906/exapscheduler | 2edb908ac6dce4f67e6a14539bdf466483468332 | [
"MIT"
] | null | null | null | class JobStatus:
def __init__(self):
pass
SCHEDULING = 'scheduling'
RUNNING = 'running'
PAUSED = 'paused'
PENDING = 'pending'
SUCCESS = 'success'
FAILED = 'failed'
| 19.181818 | 30 | 0.563981 | 18 | 211 | 6.388889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.331754 | 211 | 10 | 31 | 21.1 | 0.815603 | 0 | 0 | 0 | 0 | 0 | 0.21393 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0 | 0 | 0.888889 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6d869110ae22de0ade9b3ad56315a2622feb3608 | 2,417 | py | Python | artifactory-scripts/rehost.py | qcscine/conan-recipes | 7d1e1561e899afb65d2ed209cdcfd80beb4a8ef7 | [
"BSD-3-Clause"
] | null | null | null | artifactory-scripts/rehost.py | qcscine/conan-recipes | 7d1e1561e899afb65d2ed209cdcfd80beb4a8ef7 | [
"BSD-3-Clause"
] | null | null | null | artifactory-scripts/rehost.py | qcscine/conan-recipes | 7d1e1561e899afb65d2ed209cdcfd80beb4a8ef7 | [
"BSD-3-Clause"
] | null | null | null | __copyright__ = """This code is licensed under the 3-clause BSD license.
Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.
See LICENSE.txt for details.
"""
from conans.client.command import Command, Conan
import sys
rehost_packages = [
"boost_assert/1.69.0@bincrafters/stable",
"boost_base/... | 35.544118 | 74 | 0.634257 | 330 | 2,417 | 4.472727 | 0.363636 | 0.218835 | 0.207317 | 0.162602 | 0.470867 | 0.395664 | 0.166667 | 0.123306 | 0.078591 | 0.078591 | 0 | 0.058024 | 0.208523 | 2,417 | 67 | 75 | 36.074627 | 0.713539 | 0.029789 | 0 | 0.101695 | 0 | 0 | 0.526046 | 0.367208 | 0 | 0 | 0 | 0 | 0.033898 | 1 | 0 | false | 0 | 0.033898 | 0 | 0.033898 | 0.033898 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6d9dc1df51112e9c1ecf26c2ea59515208a53aa3 | 45 | py | Python | pyinsar/output/__init__.py | MITeaps/pyinsar | 4d22e3ef90ef842d6b390074a8b5deedc7658a2b | [
"MIT"
] | 8 | 2019-03-15T19:51:27.000Z | 2022-02-16T07:27:36.000Z | pyinsar/output/__init__.py | MITeaps/pyinsar | 4d22e3ef90ef842d6b390074a8b5deedc7658a2b | [
"MIT"
] | 1 | 2022-02-08T03:48:56.000Z | 2022-02-09T01:33:27.000Z | pyinsar/output/__init__.py | MITeaps/pyinsar | 4d22e3ef90ef842d6b390074a8b5deedc7658a2b | [
"MIT"
] | 2 | 2021-01-12T05:32:21.000Z | 2021-01-13T08:35:26.000Z | __all__ = ["export_georaster", "plot_raster"] | 45 | 45 | 0.755556 | 5 | 45 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.586957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6da20f616e7569954aa4697dcf3dbad9670ee98a | 855 | py | Python | landmark-recognition-2019/test_data.py | StudyExchange/Kaggle | e8306cc34da6b0ec91955d8f62124459981e605e | [
"MIT"
] | 2 | 2019-04-19T12:51:31.000Z | 2019-04-19T12:51:34.000Z | landmark-recognition-2019/test_data.py | StudyExchange/Kaggle | e8306cc34da6b0ec91955d8f62124459981e605e | [
"MIT"
] | null | null | null | landmark-recognition-2019/test_data.py | StudyExchange/Kaggle | e8306cc34da6b0ec91955d8f62124459981e605e | [
"MIT"
] | 1 | 2018-10-05T00:35:18.000Z | 2018-10-05T00:35:18.000Z | import os
import json
import redis
from config import Config
def init_test_idx_arr(test_idx_start, test_idx_end, test_idx_arr_name, redis_cli):
test_idx_arr = list(range(test_idx_start, test_idx_end))
# for test_idx in test_idx_arr:
# print(type(test_idx), test_idx)
redis_cli.delete(test_idx_arr_... | 30.535714 | 96 | 0.755556 | 143 | 855 | 4.048951 | 0.321678 | 0.253886 | 0.189983 | 0.145078 | 0.214162 | 0.214162 | 0.100173 | 0.100173 | 0 | 0 | 0 | 0.01958 | 0.163743 | 855 | 27 | 97 | 31.666667 | 0.79021 | 0.162573 | 0 | 0 | 0 | 0 | 0.011268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.0625 | 0.25 | 0 | 0.4375 | 0.0625 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6da99c35568a4483204687eb89a9b12e4eb82301 | 1,002 | py | Python | src/aijack/collaborative/core/client.py | Koukyosyumei/AIJack | 9545d3828907b54965ede85e0e12cb32eef54294 | [
"MIT"
] | 24 | 2021-11-17T02:16:47.000Z | 2022-03-27T01:04:08.000Z | src/aijack/collaborative/core/client.py | Koukyosyumei/AIJack | 9545d3828907b54965ede85e0e12cb32eef54294 | [
"MIT"
] | 9 | 2021-12-03T06:09:27.000Z | 2022-03-29T06:33:53.000Z | src/aijack/collaborative/core/client.py | Koukyosyumei/AIJack | 9545d3828907b54965ede85e0e12cb32eef54294 | [
"MIT"
] | 5 | 2022-01-12T09:58:04.000Z | 2022-03-17T09:29:04.000Z | import torch
class BaseClient(torch.nn.Module):
"""Abstract class foe the client of collaborative learning.
Args:
model (torch.nn.Module): a local model
user_id (int, optional): id of this client. Defaults to 0.
"""
def __init__(self, model, user_id=0):
"""Initialize BaseClie... | 23.857143 | 78 | 0.597804 | 122 | 1,002 | 4.811475 | 0.45082 | 0.076661 | 0.044293 | 0.054514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002833 | 0.295409 | 1,002 | 41 | 79 | 24.439024 | 0.828612 | 0.417166 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0.111111 | 0.055556 | 0.055556 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6db260eb061f59f5f70ef17cf892479fc7fcef4f | 297 | py | Python | quaternion.py | Kehrlann/python-classes | 1b6c5461f6c9fc565cd99a65195b93ae2ad68c7b | [
"Apache-2.0"
] | null | null | null | quaternion.py | Kehrlann/python-classes | 1b6c5461f6c9fc565cd99a65195b93ae2ad68c7b | [
"Apache-2.0"
] | null | null | null | quaternion.py | Kehrlann/python-classes | 1b6c5461f6c9fc565cd99a65195b93ae2ad68c7b | [
"Apache-2.0"
] | null | null | null | def number_str(x):
"""
la fonction utilisée dans Quaternion.__repr__
pour la mise en forme des nombres
"""
if isinstance(x, int):
return f"{x}"
elif isinstance(x, float):
return f"{x:.1f}"
class Quaternion:
def __init__(self, a, b, c, d):
pass
| 21.214286 | 49 | 0.582492 | 42 | 297 | 3.904762 | 0.761905 | 0.134146 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004785 | 0.296296 | 297 | 13 | 50 | 22.846154 | 0.779904 | 0.265993 | 0 | 0 | 0 | 0 | 0.050505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6dc2cf8fa10182db864b76221267fbc4d3c22bb6 | 143 | py | Python | Init_Guide/Iteration/for-loop.py | coedfetr/STTP-python | 607d5c03e233dd7c6938ea2495a04701dcf5aed6 | [
"Apache-2.0"
] | null | null | null | Init_Guide/Iteration/for-loop.py | coedfetr/STTP-python | 607d5c03e233dd7c6938ea2495a04701dcf5aed6 | [
"Apache-2.0"
] | null | null | null | Init_Guide/Iteration/for-loop.py | coedfetr/STTP-python | 607d5c03e233dd7c6938ea2495a04701dcf5aed6 | [
"Apache-2.0"
] | 4 | 2015-12-24T05:34:46.000Z | 2020-03-10T03:39:16.000Z | def invite(ls):
for name in ls:
print 'Hello', name , 'You are invited to my party'
person = ["Manoranjan","Rushi","Kaushal"]
invite(person) | 28.6 | 53 | 0.685315 | 22 | 143 | 4.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 143 | 5 | 54 | 28.6 | 0.809917 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6de2df4d6915361893770a789f72f7360e4bcb27 | 60 | py | Python | pythonProject/002.py | MontanhaRio/python | 43ad6173d692ebeb153c23c893e4b8f0bf07afcc | [
"MIT"
] | null | null | null | pythonProject/002.py | MontanhaRio/python | 43ad6173d692ebeb153c23c893e4b8f0bf07afcc | [
"MIT"
] | null | null | null | pythonProject/002.py | MontanhaRio/python | 43ad6173d692ebeb153c23c893e4b8f0bf07afcc | [
"MIT"
] | null | null | null | nome=input('Digite seu nome;')
print('Ola {}'.format(nome))
| 20 | 30 | 0.666667 | 9 | 60 | 4.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 60 | 2 | 31 | 30 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6de36fa04fccd12c34dd93c1fe47776c2d59eaea | 710 | py | Python | sdks/python/bjr4py/apis/__init__.py | barryw/bjr | de56f22198b34a9d303ee43ac01134b5cf1ce863 | [
"BSD-3-Clause"
] | 2 | 2020-06-04T03:04:15.000Z | 2020-06-13T12:53:58.000Z | sdks/python/bjr4py/apis/__init__.py | barryw/bjr | de56f22198b34a9d303ee43ac01134b5cf1ce863 | [
"BSD-3-Clause"
] | 6 | 2020-05-24T12:56:25.000Z | 2022-02-26T07:13:17.000Z | sdks/python/bjr4py/apis/__init__.py | barryw/bjr | de56f22198b34a9d303ee43ac01134b5cf1ce863 | [
"BSD-3-Clause"
] | null | null | null |
# flake8: noqa
# Import all APIs into this package.
# If you have many APIs here with many many models used in each API this may
# raise a `RecursionError`.
# In order to avoid this, import only the API that you directly need like:
#
# from .api.authentication_api import AuthenticationApi
#
# or import this package... | 30.869565 | 76 | 0.790141 | 109 | 710 | 5.073395 | 0.513761 | 0.113924 | 0.141049 | 0.094033 | 0.155515 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.152113 | 710 | 22 | 77 | 32.272727 | 0.906977 | 0.559155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a301b67e89a326ed7b18cbf49cfd9027adc2705d | 1,495 | py | Python | src/PBGWraps/EasyProfiler/EasyProfilerModule.py | as1m0n/spheral | 4d72822f56aca76d70724c543d389d15ff6ca48e | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 19 | 2020-10-21T01:49:17.000Z | 2022-03-15T12:29:17.000Z | src/PBGWraps/EasyProfiler/EasyProfilerModule.py | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 41 | 2020-09-28T23:14:27.000Z | 2022-03-28T17:01:33.000Z | src/PBGWraps/EasyProfiler/EasyProfilerModule.py | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 5 | 2020-11-03T16:14:26.000Z | 2022-01-03T19:07:24.000Z | from pybindgen import *
from PBGutils import *
#-------------------------------------------------------------------------------
# The class to handle wrapping this module.
#-------------------------------------------------------------------------------
class EasyProfiler:
#---------------------------------------... | 39.342105 | 131 | 0.358528 | 92 | 1,495 | 5.73913 | 0.630435 | 0.034091 | 0.05303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176589 | 1,495 | 37 | 132 | 40.405405 | 0.42892 | 0.507692 | 0 | 0.142857 | 0 | 0 | 0.296399 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.071429 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a3042c84994615112268195b4f137403f98a2349 | 532 | py | Python | gnsq/stream/snappy.py | dfa/gnsq | fd37ae7d8337c2dcd4358be4f092f8467549750f | [
"BSD-3-Clause"
] | 71 | 2015-01-21T08:59:20.000Z | 2021-04-02T05:41:04.000Z | gnsq/stream/snappy.py | dfa/gnsq | fd37ae7d8337c2dcd4358be4f092f8467549750f | [
"BSD-3-Clause"
] | 26 | 2015-02-11T00:42:54.000Z | 2020-10-25T17:15:46.000Z | gnsq/stream/snappy.py | dfa/gnsq | fd37ae7d8337c2dcd4358be4f092f8467549750f | [
"BSD-3-Clause"
] | 17 | 2015-02-10T18:31:48.000Z | 2020-11-12T12:27:37.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
import snappy
from .compression import CompressionSocket
class SnappySocket(CompressionSocket):
def __init__(self, socket):
self._decompressor = snappy.StreamDecompressor()
self._compressor = snappy.StreamCompressor()
super(Sna... | 29.555556 | 62 | 0.725564 | 55 | 532 | 6.690909 | 0.509091 | 0.086957 | 0.076087 | 0.097826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002288 | 0.178571 | 532 | 17 | 63 | 31.294118 | 0.839817 | 0.039474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.166667 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a308cf9cc81bc5241ac69d010770d107a6cc55b1 | 1,681 | py | Python | lab4/utils.py | PiotrGrzybowski/SocialMediaAnalysis | b341f7a9134220398cdb65b01ec50c837600d604 | [
"Apache-2.0"
] | null | null | null | lab4/utils.py | PiotrGrzybowski/SocialMediaAnalysis | b341f7a9134220398cdb65b01ec50c837600d604 | [
"Apache-2.0"
] | null | null | null | lab4/utils.py | PiotrGrzybowski/SocialMediaAnalysis | b341f7a9134220398cdb65b01ec50c837600d604 | [
"Apache-2.0"
] | null | null | null | import nltk
import re
import string
from nltk.corpus import stopwords
def clean_text(text):
## Remove puncuation
text = text.translate(string.punctuation)
text = text.lower().split()
stops = set(stopwords.words("english"))
text = [w for w in text if not w in stops and len(w) >= 3]
text = " "... | 32.326923 | 62 | 0.502677 | 266 | 1,681 | 3.165414 | 0.285714 | 0.32304 | 0.332542 | 0.432304 | 0.472684 | 0.273159 | 0.199525 | 0.199525 | 0.199525 | 0.199525 | 0 | 0.012759 | 0.254015 | 1,681 | 52 | 63 | 32.326923 | 0.658692 | 0.019036 | 0 | 0 | 0 | 0 | 0.144073 | 0.013374 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.093023 | 0 | 0.139535 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
09d3cda1e79963a309993a8275d3712d28c937a8 | 77 | py | Python | preacher/core/value/__init__.py | ymoch/preacher | ae68170d14c72791884e91b20054bd13a79b52d0 | [
"MIT"
] | 3 | 2019-08-01T03:14:49.000Z | 2020-01-31T08:55:22.000Z | preacher/core/value/__init__.py | ymoch/preacher | ae68170d14c72791884e91b20054bd13a79b52d0 | [
"MIT"
] | 353 | 2019-04-14T14:53:28.000Z | 2022-03-11T03:26:08.000Z | preacher/core/value/__init__.py | ymoch/preacher | ae68170d14c72791884e91b20054bd13a79b52d0 | [
"MIT"
] | 1 | 2020-08-01T06:23:08.000Z | 2020-08-01T06:23:08.000Z | """
Value interpretation.
"""
from .value import Value
__all__ = ("Value",)
| 11 | 24 | 0.662338 | 8 | 77 | 5.875 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 6 | 25 | 12.833333 | 0.723077 | 0.272727 | 0 | 0 | 0 | 0 | 0.104167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
09ef4d963350d481f649d36b43f8f00138da54a4 | 1,040 | py | Python | algorithms/422_length_of_last_word.py | corenel/lintcode | e985cc8541ad26352a4ae2c8c8e4a572a5368e43 | [
"MIT"
] | 1 | 2019-02-24T13:40:26.000Z | 2019-02-24T13:40:26.000Z | algorithms/58_length_of_last_word.py | corenel/leetcode | 83c6072b65d682854f378fe2eaf0974b2918c2de | [
"MIT"
] | null | null | null | algorithms/58_length_of_last_word.py | corenel/leetcode | 83c6072b65d682854f378fe2eaf0974b2918c2de | [
"MIT"
] | null | null | null | """
Length of Last Word
-------------------
Given a string s consists of upper/lower-case alphabets and empty space
characters ' ', return the length of last word in the string.
If the last word does not exist, return 0.
Note:
A word is defined as a character sequence consists of non-space
characters only.
... | 22.608696 | 74 | 0.678846 | 151 | 1,040 | 4.536424 | 0.490066 | 0.128467 | 0.175182 | 0.233577 | 0.115328 | 0.115328 | 0.070073 | 0 | 0 | 0 | 0 | 0.004779 | 0.195192 | 1,040 | 45 | 75 | 23.111111 | 0.81362 | 0.677885 | 0 | 0 | 0 | 0 | 0.067568 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
09f3550bfc80ccf7a82a0c6c41a6543f3cd5395e | 31 | py | Python | pykostalpiko/constants.py | Florian7843/pykostalpiko | d382486683b3285f2d0338e022628287d6f91021 | [
"MIT"
] | null | null | null | pykostalpiko/constants.py | Florian7843/pykostalpiko | d382486683b3285f2d0338e022628287d6f91021 | [
"MIT"
] | null | null | null | pykostalpiko/constants.py | Florian7843/pykostalpiko | d382486683b3285f2d0338e022628287d6f91021 | [
"MIT"
] | null | null | null | API_ENDPOINT = '/api/dxs.json'
| 15.5 | 30 | 0.709677 | 5 | 31 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
09f549a7efe5282a3fa57c3d3a2c80424ea7363c | 234 | py | Python | output/models/nist_data/list_pkg/ncname/schema_instance/nistschema_sv_iv_list_ncname_length_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/list_pkg/ncname/schema_instance/nistschema_sv_iv_list_ncname_length_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/list_pkg/ncname/schema_instance/nistschema_sv_iv_list_ncname_length_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.list_pkg.ncname.schema_instance.nistschema_sv_iv_list_ncname_length_1_xsd.nistschema_sv_iv_list_ncname_length_1 import NistschemaSvIvListNcnameLength1
__all__ = [
"NistschemaSvIvListNcnameLength1",
]
| 39 | 179 | 0.884615 | 29 | 234 | 6.448276 | 0.655172 | 0.128342 | 0.149733 | 0.192513 | 0.331551 | 0.331551 | 0.331551 | 0 | 0 | 0 | 0 | 0.018182 | 0.059829 | 234 | 5 | 180 | 46.8 | 0.831818 | 0 | 0 | 0 | 0 | 0 | 0.132479 | 0.132479 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
61d8a3952390676e7316915a0061e9153e31c331 | 50 | py | Python | disease/__init__.py | PetHospital/PetHospitalBackend | b5f15293a7aea46b78a554146878ef00c4a55a17 | [
"MIT"
] | null | null | null | disease/__init__.py | PetHospital/PetHospitalBackend | b5f15293a7aea46b78a554146878ef00c4a55a17 | [
"MIT"
] | null | null | null | disease/__init__.py | PetHospital/PetHospitalBackend | b5f15293a7aea46b78a554146878ef00c4a55a17 | [
"MIT"
] | null | null | null | default_app_config = 'disease.apps.DiseaseConfig'
| 25 | 49 | 0.84 | 6 | 50 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.52 | 0.52 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
110cd7335054f23b5ccc92c71c104934f48649e0 | 89 | py | Python | legacysms/__init__.py | jbrownrs/issue-376-GDS-link | e8cce1b79f46b98a7d24b2da5eca48430fd904a3 | [
"MIT"
] | 5 | 2019-01-07T17:22:34.000Z | 2020-10-08T15:03:12.000Z | legacysms/__init__.py | jbrownrs/issue-376-GDS-link | e8cce1b79f46b98a7d24b2da5eca48430fd904a3 | [
"MIT"
] | 203 | 2017-12-14T09:51:56.000Z | 2018-08-28T14:04:08.000Z | legacysms/__init__.py | jbrownrs/issue-376-GDS-link | e8cce1b79f46b98a7d24b2da5eca48430fd904a3 | [
"MIT"
] | 5 | 2018-10-22T11:36:01.000Z | 2020-07-20T05:47:49.000Z | """
Support for Legacy SMS Application
"""
default_app_config = 'legacysms.apps.Config'
| 14.833333 | 44 | 0.752809 | 11 | 89 | 5.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 89 | 5 | 45 | 17.8 | 0.833333 | 0.382022 | 0 | 0 | 0 | 0 | 0.456522 | 0.456522 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1110f2d34c1b6e7953acaa060a10bb4821e7ee2e | 1,431 | py | Python | bioimageio/spec/rdf/v0_2/raw_nodes.py | esgomezm/spec-bioimage-io | 2bc3f8177d5346ac94bf8a771ed619e076c6e935 | [
"MIT"
] | null | null | null | bioimageio/spec/rdf/v0_2/raw_nodes.py | esgomezm/spec-bioimage-io | 2bc3f8177d5346ac94bf8a771ed619e076c6e935 | [
"MIT"
] | null | null | null | bioimageio/spec/rdf/v0_2/raw_nodes.py | esgomezm/spec-bioimage-io | 2bc3f8177d5346ac94bf8a771ed619e076c6e935 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from typing import List, Union
from marshmallow import missing
from marshmallow.utils import _Missing
from bioimageio.spec.shared.common import DataClassFilterUnknownKwargsMixin
from bioimageio.spec.shared.raw_nodes import Dependencies, RawNode, ResourceDescription, URI
from . import... | 25.105263 | 92 | 0.78826 | 168 | 1,431 | 6.547619 | 0.410714 | 0.073636 | 0.058182 | 0.043636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.136967 | 1,431 | 56 | 93 | 25.553571 | 0.880162 | 0.180294 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 1 | 0.030303 | false | 0.121212 | 0.212121 | 0 | 0.575758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
1111dfb0c23017068f3f2b80a0db36d065a255ec | 2,093 | py | Python | src/sima/environment/__init__.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | src/sima/environment/__init__.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | src/sima/environment/__init__.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null |
from .apiwind import APIWind # noqa
from .bretschneiderone import BretschneiderOne # noqa
from .bretschneidertwo import BretschneiderTwo # noqa
from .current import Current # noqa
from .currentitem import CurrentItem # noqa
from .davenport import DavenPort # noqa
from .derbyshirescott import DerbyshireScott # n... | 49.833333 | 86 | 0.823698 | 205 | 2,093 | 8.409756 | 0.214634 | 0.185615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002215 | 0.137124 | 2,093 | 42 | 87 | 49.833333 | 0.952381 | 0.097468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
111971283e348e2e254d9a0e93bd0dc223e05c18 | 423 | py | Python | pybox/maths/time_series/volatility_process.py | konradarchicinski/pybox | 37c2dae80e1629e3cf2d3e3e86afaaff06b4de17 | [
"MIT"
] | 1 | 2021-04-16T06:29:41.000Z | 2021-04-16T06:29:41.000Z | pybox/maths/time_series/volatility_process.py | konradarchicinski/pybox | 37c2dae80e1629e3cf2d3e3e86afaaff06b4de17 | [
"MIT"
] | null | null | null | pybox/maths/time_series/volatility_process.py | konradarchicinski/pybox | 37c2dae80e1629e3cf2d3e3e86afaaff06b4de17 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import numpy as np
from abc import ABC, abstractmethod
class VolatilityProcess(ABC):
def __init__(self, settings):
self.settings = settings
self.parameters = dict(volatility_constant=1.0)
def initilize_starting_values(self, data):
self.parameters['volatility_con... | 23.5 | 61 | 0.699764 | 50 | 423 | 5.76 | 0.64 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.205674 | 423 | 17 | 62 | 24.882353 | 0.85119 | 0.047281 | 0 | 0 | 0 | 0 | 0.047264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0.181818 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
1131b5d10b0b8bab92b4fbf226c100bc10b2f90d | 1,548 | py | Python | eda_plugin/utility/protocols.py | wl-stepp/eda_plugin | 038a43796fce36863d1b27429ca7286b468d72c4 | [
"BSD-3-Clause"
] | null | null | null | eda_plugin/utility/protocols.py | wl-stepp/eda_plugin | 038a43796fce36863d1b27429ca7286b468d72c4 | [
"BSD-3-Clause"
] | null | null | null | eda_plugin/utility/protocols.py | wl-stepp/eda_plugin | 038a43796fce36863d1b27429ca7286b468d72c4 | [
"BSD-3-Clause"
] | null | null | null | """Protocols to avoid direct inheritance."""
# from typing import Protocol
# from PyQt5.QtCore import pyqtSignal, pyqtSlot
# import numpy as np
# from utility.data_structures import ParameterSet
# TODO Check if we use this somewhere and think about if we want to redo this.
# class ImageAnalyser(Protocol):
# """A... | 26.689655 | 94 | 0.671835 | 180 | 1,548 | 5.677778 | 0.544444 | 0.044031 | 0.04501 | 0.048924 | 0.056751 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000833 | 0.22416 | 1,548 | 57 | 95 | 27.157895 | 0.850125 | 0.936047 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.017544 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1167887273af979551ca7ae0f420ad7e38245ea7 | 5,040 | py | Python | os_dhcp_server/tests/test_dhcp_packet.py | dsneddon/os-dhcp-server | b35bca9b15f1fb8ec164273f2052a5b37669dec2 | [
"Apache-2.0"
] | null | null | null | os_dhcp_server/tests/test_dhcp_packet.py | dsneddon/os-dhcp-server | b35bca9b15f1fb8ec164273f2052a5b37669dec2 | [
"Apache-2.0"
] | null | null | null | os_dhcp_server/tests/test_dhcp_packet.py | dsneddon/os-dhcp-server | b35bca9b15f1fb8ec164273f2052a5b37669dec2 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2014 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 44.210526 | 79 | 0.548413 | 800 | 5,040 | 3.3425 | 0.2075 | 0.181002 | 0.25804 | 0.342558 | 0.26926 | 0.191473 | 0.163052 | 0.163052 | 0.155572 | 0.155572 | 0 | 0.141714 | 0.305556 | 5,040 | 113 | 80 | 44.60177 | 0.622286 | 0.199405 | 0 | 0.257143 | 0 | 0 | 0.081358 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 0 | null | null | 0.014286 | 0.071429 | null | null | 0.042857 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fec59f384062db7b91683cf39c6e373ddf54151c | 196 | py | Python | mano/scrap.py | fabien-vavrand/manomano-datamining | 813b765e277b2c295a45f4fe689b45615cb3c0a5 | [
"MIT"
] | null | null | null | mano/scrap.py | fabien-vavrand/manomano-datamining | 813b765e277b2c295a45f4fe689b45615cb3c0a5 | [
"MIT"
] | null | null | null | mano/scrap.py | fabien-vavrand/manomano-datamining | 813b765e277b2c295a45f4fe689b45615cb3c0a5 | [
"MIT"
] | 1 | 2021-12-08T05:34:23.000Z | 2021-12-08T05:34:23.000Z | from mano.config import config
from mano.data.scraper import Scraper
if __name__ == '__main__':
scraper = Scraper(config.SITE_URL, save_path=config.DATA_PATH, n_threads=8)
scraper.run()
| 24.5 | 79 | 0.755102 | 29 | 196 | 4.689655 | 0.586207 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.142857 | 196 | 7 | 80 | 28 | 0.803571 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fef4659199f32b194b46d564fc46bcbeccebe0fb | 224 | py | Python | deepfigures/utils/stringmatch/__init__.py | Julen-Lujambio/deepfigures_open | 7a60f8649fcdb92840451c50e6131b3c513bd49a | [
"Apache-2.0"
] | null | null | null | deepfigures/utils/stringmatch/__init__.py | Julen-Lujambio/deepfigures_open | 7a60f8649fcdb92840451c50e6131b3c513bd49a | [
"Apache-2.0"
] | null | null | null | deepfigures/utils/stringmatch/__init__.py | Julen-Lujambio/deepfigures_open | 7a60f8649fcdb92840451c50e6131b3c513bd49a | [
"Apache-2.0"
] | 1 | 2020-06-26T19:19:53.000Z | 2020-06-26T19:19:53.000Z | from _stringmatch import lib
def match(key: str, text: str):
'''
Find the location of the substring in text with the
minimum edit distance (Levenshtein) to key.
'''
return lib.match(key, text)
| 22.4 | 56 | 0.642857 | 31 | 224 | 4.612903 | 0.709677 | 0.111888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272321 | 224 | 9 | 57 | 24.888889 | 0.877301 | 0.424107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3a33d62e3f46e3935e9ba7dac4bedc4fc502ba05 | 1,395 | py | Python | Aula 27/1exercicio27.py | ohanamirella/TrabalhosPython | 453a97848654b0391d0d717bf102f6c466f79b3d | [
"MIT"
] | 1 | 2020-03-09T13:38:55.000Z | 2020-03-09T13:38:55.000Z | Aula 27/1exercicio27.py | ohanamirella/TrabalhosPython | 453a97848654b0391d0d717bf102f6c466f79b3d | [
"MIT"
] | null | null | null | Aula 27/1exercicio27.py | ohanamirella/TrabalhosPython | 453a97848654b0391d0d717bf102f6c466f79b3d | [
"MIT"
] | null | null | null | # Aula 21 - 16-12-2019
#Funções para listas
lista1 = lista_simples_int(5,100)
lista2 = lista_simples_int(5,75)
lista3 = lista_simples_int(5,70)
# 1) Com as listas aleatórias (lista1,lista2,lista3) e usando as funções para listas,
# f-string, responda as seguintes questões:
print(len(lista1))
print(len(lista2))
pri... | 28.469388 | 110 | 0.724731 | 266 | 1,395 | 3.778195 | 0.394737 | 0.047761 | 0.043781 | 0.059701 | 0.072637 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05605 | 0.194265 | 1,395 | 49 | 111 | 28.469388 | 0.838078 | 0.814337 | 0 | 0 | 0 | 0 | 0.087137 | 0 | 0 | 0 | 0 | 0.020408 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
3a45bd6f7e2014883dfd09fd6658c592ae05c433 | 1,296 | py | Python | fixture/session.py | chernenko-art/test_python | 9eed2b91f1af8a2e753029c604137e02ec0f91e4 | [
"Apache-2.0"
] | null | null | null | fixture/session.py | chernenko-art/test_python | 9eed2b91f1af8a2e753029c604137e02ec0f91e4 | [
"Apache-2.0"
] | null | null | null | fixture/session.py | chernenko-art/test_python | 9eed2b91f1af8a2e753029c604137e02ec0f91e4 | [
"Apache-2.0"
] | null | null | null | from selenium.webdriver.common.by import By
class SessionHelper:
def __init__(self, app):
self.app = app
def login(self, username, password):
self.app.navigation.open_home_page()
self.app.driver.find_element(By.NAME, "user").click()
self.app.driver.find_element(By.... | 37.028571 | 90 | 0.625772 | 171 | 1,296 | 4.578947 | 0.315789 | 0.11622 | 0.166028 | 0.217114 | 0.393359 | 0.393359 | 0.326948 | 0.326948 | 0.233716 | 0.173691 | 0 | 0.004 | 0.228395 | 1,296 | 34 | 91 | 38.117647 | 0.779 | 0 | 0 | 0.076923 | 0 | 0 | 0.067353 | 0.01664 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.192308 | 0.038462 | 0.076923 | 0.423077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3a5340a8a6e9677e402a6d224e6f8e59227bb95d | 2,926 | py | Python | src/sogangdjango/settings/base.py | keonsunkim/SogangDjango | ccc23a238202829b12b24ab31540b9669cc6f89a | [
"MIT"
] | null | null | null | src/sogangdjango/settings/base.py | keonsunkim/SogangDjango | ccc23a238202829b12b24ab31540b9669cc6f89a | [
"MIT"
] | null | null | null | src/sogangdjango/settings/base.py | keonsunkim/SogangDjango | ccc23a238202829b12b24ab31540b9669cc6f89a | [
"MIT"
] | null | null | null | """
Django settings for blogworld project.
Generated by 'django-admin startproject' using Django 1.11.16.
For more information on this file, see
https://docs.djangoproject.com/en/1.11/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.11/ref/settings/
"""
import... | 25.008547 | 91 | 0.698223 | 313 | 2,926 | 6.389776 | 0.428115 | 0.0975 | 0.0595 | 0.0625 | 0.214 | 0.197 | 0.119 | 0.119 | 0.041 | 0 | 0 | 0.012356 | 0.170198 | 2,926 | 116 | 92 | 25.224138 | 0.811367 | 0.242994 | 0 | 0 | 1 | 0 | 0.529813 | 0.433318 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.102941 | 0.014706 | 0 | 0.014706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
28b533f6b1107cc51a394656919dba06c17aa732 | 253 | py | Python | oboeware/__init__.py | tracelytics/python-traceview | 0e5ff36f16aa03c458a6f581388606915219b23a | [
"Apache-2.0"
] | null | null | null | oboeware/__init__.py | tracelytics/python-traceview | 0e5ff36f16aa03c458a6f581388606915219b23a | [
"Apache-2.0"
] | 1 | 2019-06-05T19:04:26.000Z | 2019-06-06T17:23:02.000Z | oboeware/__init__.py | tracelytics/python-traceview | 0e5ff36f16aa03c458a6f581388606915219b23a | [
"Apache-2.0"
] | 2 | 2017-03-15T01:45:19.000Z | 2017-10-30T13:26:35.000Z | """ Tracelytics Python instrumentation package.
Copyright (C) 2016 by SolarWinds, LLC.
All rights reserved.
"""
from middleware import OboeMiddleware
__version__ = '1.5.11'
__all__ = ('OboeMiddleware', 'djangoware', 'async', 'tornado', '__version__')
| 25.3 | 77 | 0.743083 | 27 | 253 | 6.518519 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.12253 | 253 | 9 | 78 | 28.111111 | 0.756757 | 0.411067 | 0 | 0 | 0 | 0 | 0.375887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
28c437bd8883423ac19f834f8c34f6ed6cdd2937 | 341 | py | Python | python/11_circuit_break_pattern.py | Avinashgurugubelli/design_patterns | f5b8e3c7b6538d694eac7890c46520e0045b89d8 | [
"MIT"
] | 2 | 2021-09-01T16:27:03.000Z | 2021-09-10T16:14:21.000Z | python/11_circuit_break_pattern.py | Avinashgurugubelli/design_patterns | f5b8e3c7b6538d694eac7890c46520e0045b89d8 | [
"MIT"
] | null | null | null | python/11_circuit_break_pattern.py | Avinashgurugubelli/design_patterns | f5b8e3c7b6538d694eac7890c46520e0045b89d8 | [
"MIT"
] | 1 | 2022-02-26T03:04:26.000Z | 2022-02-26T03:04:26.000Z | """
Circuit breaker design pattern:
------------------------------
Circuit breaker is a design pattern used in software development.
It is used to detect failures and encapsulates the logic of preventing a failure from constantly recurring, during maintenance, temporary external system failure or unexpected system... | 48.714286 | 197 | 0.730205 | 41 | 341 | 6.073171 | 0.780488 | 0.11245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14956 | 341 | 7 | 198 | 48.714286 | 0.858621 | 0.956012 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
28cd2d348f50a02703668c3c7128bffbecd80886 | 541 | py | Python | molecule/generic_files/tests/test_client_extra_opts.py | jelmer/borgbackup | d81fd761159c49eeb3c543cf513a209650071c48 | [
"MIT"
] | 10 | 2017-12-30T13:07:53.000Z | 2019-09-03T07:41:01.000Z | molecule/generic_files/tests/test_client_extra_opts.py | jelmer/borgbackup | d81fd761159c49eeb3c543cf513a209650071c48 | [
"MIT"
] | 25 | 2019-10-04T09:44:40.000Z | 2022-02-16T21:49:40.000Z | molecule/generic_files/tests/test_client_extra_opts.py | jelmer/borgbackup | d81fd761159c49eeb3c543cf513a209650071c48 | [
"MIT"
] | 10 | 2019-11-06T10:10:15.000Z | 2022-01-11T08:30:32.000Z | testinfra_hosts = ["ansible://extra_opts"]
def test_include_exclude(host):
script = host.file("/usr/local/bin/borg-backup")
assert script.contains("/var/cache")
assert script.contains("--exclude '/var/cache/apt'")
assert script.user == "root"
assert script.group == "root"
def test_pre_post_comma... | 30.055556 | 56 | 0.68207 | 71 | 541 | 5.098592 | 0.450704 | 0.265193 | 0.220994 | 0.099448 | 0.552486 | 0.552486 | 0.552486 | 0.552486 | 0.325967 | 0.325967 | 0 | 0 | 0.155268 | 541 | 17 | 57 | 31.823529 | 0.792123 | 0 | 0 | 0.461538 | 0 | 0 | 0.280961 | 0.096118 | 0 | 0 | 0 | 0 | 0.615385 | 1 | 0.153846 | false | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e900ee439e5118e2e07eebdd0d8155bc3da30fe4 | 595 | py | Python | pytest_cases/tests/pytest_extension/doc/test_doc_fixture_graph_union.py | jsmadis/python-pytest-cases | cb5e15ab0cf05460aa980f60103561bfafb05c9e | [
"BSD-3-Clause"
] | null | null | null | pytest_cases/tests/pytest_extension/doc/test_doc_fixture_graph_union.py | jsmadis/python-pytest-cases | cb5e15ab0cf05460aa980f60103561bfafb05c9e | [
"BSD-3-Clause"
] | null | null | null | pytest_cases/tests/pytest_extension/doc/test_doc_fixture_graph_union.py | jsmadis/python-pytest-cases | cb5e15ab0cf05460aa980f60103561bfafb05c9e | [
"BSD-3-Clause"
] | null | null | null | from pytest_cases import fixture, parametrize, fixture_union, fixture_ref
@fixture(autouse=True)
@parametrize(ie=[-1, 1])
def e(ie):
return "e%s" % ie
@fixture
def d():
return "d"
@fixture
def c():
return "c"
@fixture
@parametrize(ia=[0, 1])
def a(c, d, ia):
return "a%s" % ia + c + d
@parametr... | 14.166667 | 73 | 0.584874 | 99 | 595 | 3.434343 | 0.373737 | 0.158824 | 0.029412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027426 | 0.203361 | 595 | 41 | 74 | 14.512195 | 0.689873 | 0 | 0 | 0.16 | 0 | 0 | 0.060504 | 0 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.28 | false | 0.04 | 0.04 | 0.2 | 0.52 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e90a0109f7312932d9b8cbf29a0ca840bd9bc915 | 205 | py | Python | bank_ddd_es_cqrs/shared/model/event_stream.py | Hyaxia/Bank-DDD-CQRS-ES | 116e3eb3e93d549c1da53e6d506ab47667d77445 | [
"MIT"
] | 8 | 2020-10-27T09:46:20.000Z | 2022-01-27T12:16:48.000Z | bank_ddd_es_cqrs/shared/model/event_stream.py | Hyaxia/Bank-DDD-CQRS-ES | 116e3eb3e93d549c1da53e6d506ab47667d77445 | [
"MIT"
] | null | null | null | bank_ddd_es_cqrs/shared/model/event_stream.py | Hyaxia/Bank-DDD-CQRS-ES | 116e3eb3e93d549c1da53e6d506ab47667d77445 | [
"MIT"
] | 2 | 2021-05-29T08:11:48.000Z | 2021-07-26T04:44:53.000Z | from typing import List
from .event import BaseEvent
from dataclasses import dataclass, field
@dataclass(frozen=True)
class EventStream:
events: List[BaseEvent]
version: int = field(default=-1)
| 18.636364 | 40 | 0.760976 | 26 | 205 | 6 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005814 | 0.160976 | 205 | 10 | 41 | 20.5 | 0.901163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3a642d01512516dd660133175c92858ee4fcf5be | 355 | py | Python | evobench/continuous/cec2013lsgo/test/test_f15.py | piotr-rarus/evobench | e3221e03b6cfac597b4cf2c3f725a266eaf7b083 | [
"MIT"
] | 6 | 2020-05-07T16:54:35.000Z | 2021-06-26T16:56:46.000Z | evobench/continuous/cec2013lsgo/test/test_f15.py | piotr-rarus/evobench | e3221e03b6cfac597b4cf2c3f725a266eaf7b083 | [
"MIT"
] | 3 | 2021-08-23T20:59:19.000Z | 2022-01-21T20:25:11.000Z | evobench/continuous/cec2013lsgo/test/test_f15.py | piotr-rarus/evobench | e3221e03b6cfac597b4cf2c3f725a266eaf7b083 | [
"MIT"
] | null | null | null | from pytest import fixture
from ..f15 import F15
@fixture(scope="module")
def f15() -> F15:
return F15()
def test_evaluate_solution(f15: F15, helpers):
helpers.test_evaluate_solution(f15)
def test_evaluate_population(f15: F15, helpers):
helpers.test_evaluate_population(f15)
def test_dsm(f15: F15, h... | 16.904762 | 48 | 0.735211 | 50 | 355 | 5.02 | 0.3 | 0.095618 | 0.119522 | 0.239044 | 0.350598 | 0.25498 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 0.15493 | 355 | 20 | 49 | 17.75 | 0.743333 | 0 | 0 | 0 | 0 | 0 | 0.016901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.181818 | 0.090909 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3a717f3f60ca345f3b337b952bd30bea16032de9 | 408 | py | Python | setup.py | sohyongsheng/my_printer | 929c66f2097ea0e6759992ec0abf92f242cc6fed | [
"MIT"
] | null | null | null | setup.py | sohyongsheng/my_printer | 929c66f2097ea0e6759992ec0abf92f242cc6fed | [
"MIT"
] | null | null | null | setup.py | sohyongsheng/my_printer | 929c66f2097ea0e6759992ec0abf92f242cc6fed | [
"MIT"
] | null | null | null | from pathlib import Path
import setuptools
with Path('README.md').open() as f:
long_description = f.read()
setuptools.setup(
name = 'sohyongsheng-example-pkg',
version = '0.01',
author = 'Soh Yong Sheng',
author_email = 'sohyongsheng@gmail.com',
description = 'My printer.'
long_descriptio... | 21.473684 | 52 | 0.681373 | 49 | 408 | 5.530612 | 0.734694 | 0.221402 | 0.140221 | 0.221402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009202 | 0.20098 | 408 | 18 | 53 | 22.666667 | 0.822086 | 0 | 0 | 0 | 0 | 0 | 0.238916 | 0.1133 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.153846 | null | null | 0.076923 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3a8b94625ee00bc432312e7276565470ec278e03 | 753 | py | Python | text/_cascade/_typing/distance/length/absolute.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/_cascade/_typing/distance/length/absolute.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/_cascade/_typing/distance/length/absolute.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | from abc import ABCMeta
from dataclasses import dataclass
class AbsoluteLength(
Type,
):
pass
@dataclass
class UnitLength(
Unit,
):
ident: Ident # [TODO] flesh out id selector
class Inches(
UnitLength,
Type,
):
ident = Ident("in")
class Centimeters(
UnitLength,
Type,
):
... | 10.757143 | 48 | 0.584329 | 78 | 753 | 5.641026 | 0.487179 | 0.181818 | 0.259091 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003774 | 0.296149 | 753 | 69 | 49 | 10.913043 | 0.826415 | 0.079681 | 0 | 0.521739 | 0 | 0 | 0.019231 | 0 | 0 | 0 | 0 | 0.014493 | 0 | 1 | 0 | false | 0.021739 | 0.043478 | 0 | 0.413043 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3a8ba932f770fabb19f1530e946f99154eb2897e | 3,827 | py | Python | alembic/versions/00027_c92e0c8632d7_more_rss_stuff.py | awesome-archive/ReadableWebProxy | 360104694a21bc14c7756f29205c95823387e30b | [
"BSD-3-Clause"
] | 193 | 2016-08-02T22:04:35.000Z | 2022-03-09T20:45:41.000Z | alembic/versions/00027_c92e0c8632d7_more_rss_stuff.py | awesome-archive/ReadableWebProxy | 360104694a21bc14c7756f29205c95823387e30b | [
"BSD-3-Clause"
] | 533 | 2016-08-23T20:48:23.000Z | 2022-03-28T15:55:13.000Z | alembic/versions/00027_c92e0c8632d7_more_rss_stuff.py | awesome-archive/ReadableWebProxy | 360104694a21bc14c7756f29205c95823387e30b | [
"BSD-3-Clause"
] | 19 | 2015-08-13T18:01:08.000Z | 2021-07-12T17:13:09.000Z | """More rss stuff
Revision ID: c92e0c8632d7
Revises: 34f427187628
Create Date: 2017-02-27 02:49:55.768394
"""
# revision identifiers, used by Alembic.
revision = 'c92e0c8632d7'
down_revision = '34f427187628'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
from sqlalchemy_utils... | 53.152778 | 146 | 0.780507 | 578 | 3,827 | 4.697232 | 0.16609 | 0.156169 | 0.172376 | 0.225414 | 0.755801 | 0.713812 | 0.702026 | 0.671087 | 0.605525 | 0.474033 | 0 | 0.016939 | 0.105304 | 3,827 | 71 | 147 | 53.901408 | 0.775993 | 0.093023 | 0 | 0.08 | 0 | 0 | 0.416933 | 0.331103 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.26 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3aad087c2474095176a669f89b323ae43c5715d0 | 59 | py | Python | triangle_quest in_two line.py | AmreshTripathy/Python | e86420fef7f52da393be5b50ac2f13bddfeb3306 | [
"Apache-2.0"
] | 4 | 2021-05-27T05:06:09.000Z | 2021-06-12T17:12:47.000Z | triangle_quest in_two line.py | AmreshTripathy/Python | e86420fef7f52da393be5b50ac2f13bddfeb3306 | [
"Apache-2.0"
] | null | null | null | triangle_quest in_two line.py | AmreshTripathy/Python | e86420fef7f52da393be5b50ac2f13bddfeb3306 | [
"Apache-2.0"
] | null | null | null | for i in range(1,int(input())):
print (i*(10**i-1)//9) | 29.5 | 32 | 0.525424 | 13 | 59 | 2.384615 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0.169492 | 59 | 2 | 33 | 29.5 | 0.530612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
3ad131217f3d32bb79b4ec4bac38fb7fa0535721 | 1,455 | py | Python | tests/test_comparable.py | erperreault/StrEnum | 6efe32db49e352a97c51f9c28eec574439a181a0 | [
"MIT"
] | 28 | 2019-10-22T09:01:45.000Z | 2022-03-28T18:22:57.000Z | tests/test_comparable.py | erperreault/StrEnum | 6efe32db49e352a97c51f9c28eec574439a181a0 | [
"MIT"
] | 7 | 2020-05-20T06:11:14.000Z | 2021-10-13T06:37:54.000Z | tests/test_comparable.py | erperreault/StrEnum | 6efe32db49e352a97c51f9c28eec574439a181a0 | [
"MIT"
] | 5 | 2019-06-25T17:56:33.000Z | 2022-03-18T01:14:31.000Z | # pylint:disable=missing-docstring,invalid-name,abstract-method
import sys
from enum import auto
import pytest
from strenum import KebabCaseStrEnum
from strenum.mixins import Comparable
@pytest.mark.skipif(
sys.version_info < (3, 7, 2), reason="incompatible with Python before 3.7.2"
)
def test_comparable():
... | 29.1 | 80 | 0.690722 | 158 | 1,455 | 6.310127 | 0.35443 | 0.17653 | 0.297894 | 0.238716 | 0.732197 | 0.683049 | 0.683049 | 0.570712 | 0.505517 | 0.505517 | 0 | 0.010309 | 0.2 | 1,455 | 49 | 81 | 29.693878 | 0.84622 | 0.041924 | 0 | 0.432432 | 0 | 0 | 0.117098 | 0 | 0 | 0 | 0 | 0 | 0.297297 | 1 | 0.081081 | false | 0 | 0.135135 | 0.027027 | 0.513514 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3ae953f5b1a6e020c6d28ecf7deacdeceafbbd26 | 476 | py | Python | Lib/site-packages/QtModularUiPack/Widgets/__init__.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | 3 | 2019-11-11T12:09:23.000Z | 2022-02-17T10:02:55.000Z | QtModularUiPack/Widgets/__init__.py | dowerner/QtModularUiPack | de2ce6ba3a1cd52ca00eaea3ea3bb2247fe76ba3 | [
"Apache-2.0"
] | 20 | 2021-05-03T18:02:23.000Z | 2022-03-12T12:01:04.000Z | Lib/site-packages/QtModularUiPack/Widgets/__init__.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | 2 | 2019-11-11T12:09:31.000Z | 2019-11-11T12:09:42.000Z | from .code_editor import CodeEditor
from .video_editor import VideoEditor
from .py_graph_widget import PyGraphWidget, PY_GRAPH_PLOT_MODE_IMAGE, PY_GRAPH_PLOT_MODE_LINE, PyGraphCustomPlotDataItem, PyGraphSubPlotWindow
from .plot_widget import PlotWidget, PlotConfig, PlotMasterWidget, PlotWidgetItem
from .empty_frame imp... | 52.888889 | 142 | 0.886555 | 57 | 476 | 7.087719 | 0.526316 | 0.05198 | 0.054455 | 0.074257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081933 | 476 | 8 | 143 | 59.5 | 0.924485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3aeb95a6a12b75999f3e6d5ff5e9f7794cc242b4 | 63 | py | Python | neurocombat/__init__.py | rmarkello/neuroCombat | 951077a9c6bbfda0711b6f293f1b6302ba3e9d22 | [
"MIT"
] | 1 | 2020-06-28T21:47:20.000Z | 2020-06-28T21:47:20.000Z | neurocombat/__init__.py | rmarkello/neuroCombat | 951077a9c6bbfda0711b6f293f1b6302ba3e9d22 | [
"MIT"
] | null | null | null | neurocombat/__init__.py | rmarkello/neuroCombat | 951077a9c6bbfda0711b6f293f1b6302ba3e9d22 | [
"MIT"
] | 1 | 2019-03-11T17:20:21.000Z | 2019-03-11T17:20:21.000Z | __all__ = ['combat']
from neurocombat.algorithm import combat
| 15.75 | 40 | 0.777778 | 7 | 63 | 6.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 3 | 41 | 21 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c9129494d8aed10c7521499a06225dbb8654df76 | 545 | py | Python | hypothesis/benchmark/seismic/simulator.py | JoeriHermans/hypothesis | 29a2b7b4649db345d43a8d3bf98aa5d817b43f1b | [
"BSD-3-Clause"
] | 45 | 2019-02-13T14:16:35.000Z | 2022-02-23T21:30:02.000Z | hypothesis/benchmark/seismic/simulator.py | JoeriHermans/hypothesis | 29a2b7b4649db345d43a8d3bf98aa5d817b43f1b | [
"BSD-3-Clause"
] | 1 | 2020-01-13T08:29:50.000Z | 2020-01-22T10:28:02.000Z | hypothesis/benchmark/seismic/simulator.py | JoeriHermans/hypothesis | 29a2b7b4649db345d43a8d3bf98aa5d817b43f1b | [
"BSD-3-Clause"
] | 8 | 2019-04-23T14:25:08.000Z | 2021-07-28T15:05:31.000Z | r"""Generate the physics of a hypothetical 2-D spherical world, and then generate
seismic events and detections.
Based on the codebase of: Nimar Arora https://github.com/nimar/seismic-2d/blob/master/generate.py
"""
import hypothesis
import numpy as np
import torch
from hypothesis.simulation import Simulator as BaseS... | 24.772727 | 97 | 0.774312 | 69 | 545 | 5.985507 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004329 | 0.152294 | 545 | 21 | 98 | 25.952381 | 0.88961 | 0.379817 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c924b2171a9073e71fd8fc754e835ed69488ad7a | 7,632 | py | Python | pysat/instruments/templates/netcdf_pandas.py | jklenzing/pysat | e84002e57f8a808d35562f51ce957361d99c4070 | [
"BSD-3-Clause"
] | null | null | null | pysat/instruments/templates/netcdf_pandas.py | jklenzing/pysat | e84002e57f8a808d35562f51ce957361d99c4070 | [
"BSD-3-Clause"
] | 1 | 2020-01-30T02:35:32.000Z | 2020-01-30T02:35:32.000Z | pysat/instruments/templates/netcdf_pandas.py | jklenzing/pysat | e84002e57f8a808d35562f51ce957361d99c4070 | [
"BSD-3-Clause"
] | 1 | 2020-01-30T01:46:31.000Z | 2020-01-30T01:46:31.000Z | # -*- coding: utf-8 -*-
"""
Generic module for loading netCDF4 files into the pandas format within pysat.
This file may be used as a template for adding pysat support for a new dataset
based upon netCDF4 files, or other file types (with modification).
This routine may also be used to add quick local support for a net... | 35.830986 | 79 | 0.694182 | 1,078 | 7,632 | 4.856215 | 0.281076 | 0.025215 | 0.022923 | 0.016046 | 0.180516 | 0.153391 | 0.135435 | 0.135435 | 0.135435 | 0.135435 | 0 | 0.01145 | 0.244759 | 7,632 | 212 | 80 | 36 | 0.896773 | 0.83674 | 0 | 0.105263 | 0 | 0 | 0.132581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.157895 | 0.157895 | 0 | 0.473684 | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c94c737b516073332859b369ec5a45c53400e745 | 1,693 | py | Python | raspi_components/__init__.py | builderdev212/raspi_components | edbcb5b8eed6b1e4a2f1cc41ce08ea9b25051495 | [
"MIT"
] | 1 | 2021-11-09T16:29:45.000Z | 2021-11-09T16:29:45.000Z | raspi_components/__init__.py | builderdev212/raspi_components | edbcb5b8eed6b1e4a2f1cc41ce08ea9b25051495 | [
"MIT"
] | null | null | null | raspi_components/__init__.py | builderdev212/raspi_components | edbcb5b8eed6b1e4a2f1cc41ce08ea9b25051495 | [
"MIT"
] | null | null | null | # Imports the LedError and RGBLedError class.
from .light.light_errors import LedError, RGBLedError
# Imports the Led class.
from .light.light import Led
# Imports the LedTest class, the test class for the LED
from .light.test_light import LedTest
# Imports the RGBLed class.
from .light.rgb_light import RGBLed
# Import... | 36.804348 | 66 | 0.815712 | 237 | 1,693 | 5.755274 | 0.164557 | 0.124633 | 0.061584 | 0.076979 | 0.15176 | 0.050587 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1329 | 1,693 | 45 | 67 | 37.622222 | 0.929155 | 0.467809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c96b4c02ed50074abaa6f20dbcea6eb887c1477e | 772 | py | Python | src/plugins/fedtools/delegateexceptions.py | radomirklacza/C-BAS | 5005cf43f57302dc0f58b9d1b9cf7e4e3ab70e32 | [
"BSD-3-Clause"
] | null | null | null | src/plugins/fedtools/delegateexceptions.py | radomirklacza/C-BAS | 5005cf43f57302dc0f58b9d1b9cf7e4e3ab70e32 | [
"BSD-3-Clause"
] | null | null | null | src/plugins/fedtools/delegateexceptions.py | radomirklacza/C-BAS | 5005cf43f57302dc0f58b9d1b9cf7e4e3ab70e32 | [
"BSD-3-Clause"
] | 2 | 2017-08-07T15:24:05.000Z | 2018-10-11T10:53:23.000Z | from eisoil.core.exception import CoreException
class DelegateToolsException(CoreException):
def __init__(self, desc):
self._desc = desc
def __str__(self):
return "DelegateTools: %s" % (self._desc,)
class ConfigFileMissing(DelegateToolsException):
def __init__(self, path):
super(Co... | 40.631579 | 113 | 0.726684 | 82 | 772 | 6.426829 | 0.439024 | 0.053131 | 0.083491 | 0.091082 | 0.140417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164508 | 772 | 19 | 114 | 40.631579 | 0.817054 | 0 | 0 | 0 | 0 | 0 | 0.170763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.066667 | 0.066667 | 0.066667 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c9871082d9f7ad0d3d238898450446b472699ee6 | 47 | py | Python | pyhydroquebec/__version__.py | JeremieCharest/pyhydroquebec | 158521ee49e0876a5eaad31853cb282b01a39456 | [
"Apache-2.0"
] | 1 | 2019-11-11T21:27:04.000Z | 2019-11-11T21:27:04.000Z | pyhydroquebec/__version__.py | JeremieCharest/pyhydroquebec | 158521ee49e0876a5eaad31853cb282b01a39456 | [
"Apache-2.0"
] | 1 | 2018-06-08T19:29:03.000Z | 2018-06-08T19:29:03.000Z | pyhydroquebec/__version__.py | JeremieCharest/pyhydroquebec | 158521ee49e0876a5eaad31853cb282b01a39456 | [
"Apache-2.0"
] | 1 | 2020-07-20T17:59:21.000Z | 2020-07-20T17:59:21.000Z | """PyHydroQuebec version."""
VERSION = "3.0.0"
| 15.666667 | 28 | 0.638298 | 6 | 47 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.106383 | 47 | 2 | 29 | 23.5 | 0.642857 | 0.468085 | 0 | 0 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a31bef0326e131a0429525a3201310fd4a3bb1ff | 436 | py | Python | webdev/consultas/tests/test_consultas_get.py | Valarr/django-crud | a98dbdc4ff8b173bfb7e1b6be16bbe9dca0296c3 | [
"MIT"
] | null | null | null | webdev/consultas/tests/test_consultas_get.py | Valarr/django-crud | a98dbdc4ff8b173bfb7e1b6be16bbe9dca0296c3 | [
"MIT"
] | null | null | null | webdev/consultas/tests/test_consultas_get.py | Valarr/django-crud | a98dbdc4ff8b173bfb7e1b6be16bbe9dca0296c3 | [
"MIT"
] | null | null | null | import pytest
from django.urls import reverse
from pytest_django.asserts import assertContains
@pytest.fixture
def response(client):
resp = client.get(reverse('consultas:home'))
return resp
def test_status_code(response):
assert response.status_code == 200
def test_form_present(response):
assertCont... | 24.222222 | 52 | 0.775229 | 55 | 436 | 5.981818 | 0.509091 | 0.06383 | 0.176292 | 0.224924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.126147 | 436 | 18 | 52 | 24.222222 | 0.855643 | 0 | 0 | 0 | 0 | 0 | 0.091533 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.307692 | false | 0 | 0.230769 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a32ca8165681d051be62a5daead20c479edf7fbf | 155 | py | Python | examples/OLR_UNIT_TEST.py | cemac/TropicalCyclones | aa763f056ad0a7b5eb5a972f8fde48bb45ddffa6 | [
"MIT"
] | 1 | 2020-02-22T16:27:50.000Z | 2020-02-22T16:27:50.000Z | examples/OLR_UNIT_TEST.py | cemac/TropicalCyclones | aa763f056ad0a7b5eb5a972f8fde48bb45ddffa6 | [
"MIT"
] | 1 | 2019-05-30T17:04:36.000Z | 2019-05-30T17:04:36.000Z | examples/OLR_UNIT_TEST.py | cemac/TropicalCyclones | aa763f056ad0a7b5eb5a972f8fde48bb45ddffa6 | [
"MIT"
] | 2 | 2019-08-22T04:37:58.000Z | 2020-11-04T00:41:10.000Z | """UNIT TEST for OLR plot
"""
import numpy as np
import sys
sys.path.append('../TropicalCyclones_py2')
import olr_stamps as olr
o = olr.OLR()
o.olrloop()
| 15.5 | 42 | 0.716129 | 26 | 155 | 4.192308 | 0.653846 | 0.073395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.141935 | 155 | 9 | 43 | 17.222222 | 0.81203 | 0.141935 | 0 | 0 | 0 | 0 | 0.18254 | 0.18254 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a33463de130ba7a417e558338e8a9c2af0da28ad | 144 | py | Python | com/alipay/ams/api/model/http_method.py | simkemc/global-open-sdk-python | 408d19f6b9673cade967e167a686e25406a6c7d4 | [
"MIT"
] | 3 | 2021-07-09T07:40:13.000Z | 2022-03-16T09:13:27.000Z | com/alipay/ams/api/model/http_method.py | simkemc/global-open-sdk-python | 408d19f6b9673cade967e167a686e25406a6c7d4 | [
"MIT"
] | null | null | null | com/alipay/ams/api/model/http_method.py | simkemc/global-open-sdk-python | 408d19f6b9673cade967e167a686e25406a6c7d4 | [
"MIT"
] | 3 | 2020-06-18T03:12:35.000Z | 2022-01-25T08:55:23.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from enum import Enum, unique
@unique
class HttpMethod(Enum):
POST = "POST"
GET = "GET"
| 14.4 | 29 | 0.611111 | 20 | 144 | 4.4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0.215278 | 144 | 9 | 30 | 16 | 0.769912 | 0.291667 | 0 | 0 | 0 | 0 | 0.07 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a37b17b5050f015ba7a0a3b4d416dd46e74a8c40 | 1,159 | py | Python | pedantic/tests/tests_doctests.py | LostInDarkMath/Pedantic-python-decorators | 32ed54c9593e80f63c0499093cb07847d8a5e1df | [
"Apache-2.0"
] | 15 | 2020-09-10T13:06:53.000Z | 2021-12-21T12:39:18.000Z | pedantic/tests/tests_doctests.py | LostInDarkMath/Pedantic-python-decorators | 32ed54c9593e80f63c0499093cb07847d8a5e1df | [
"Apache-2.0"
] | 39 | 2020-08-12T12:38:03.000Z | 2022-03-22T18:09:48.000Z | pedantic/tests/tests_doctests.py | LostInDarkMath/pedantic-python-decorators | 66865a958a36440b48e790f22ea42d2beb725b16 | [
"Apache-2.0"
] | null | null | null | import unittest
import doctest
def run_doctests() -> None:
unittest.TextTestRunner().run(get_doctest_test_suite())
def get_doctest_test_suite() -> unittest.TestSuite:
parent_module = __import__('pedantic')
modules = [
parent_module.decorators.fn_deco_count_calls,
parent_module.decorators... | 36.21875 | 107 | 0.765315 | 139 | 1,159 | 5.856115 | 0.366906 | 0.206388 | 0.27027 | 0.29484 | 0.481572 | 0.206388 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160483 | 1,159 | 31 | 108 | 37.387097 | 0.836588 | 0 | 0 | 0 | 0 | 0 | 0.013805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.12 | 0 | 0.24 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a37bbddf2c513fa83437cc5db0febbd8d621daa7 | 192 | py | Python | ntpdatetime/__init__.py | igroen/ntpdatetime | 9f09d994fcfa13669e42777caadb4ac130f7ff10 | [
"ISC"
] | 2 | 2017-08-22T05:38:34.000Z | 2019-12-23T23:12:20.000Z | ntpdatetime/__init__.py | igroen/ntpdatetime | 9f09d994fcfa13669e42777caadb4ac130f7ff10 | [
"ISC"
] | null | null | null | ntpdatetime/__init__.py | igroen/ntpdatetime | 9f09d994fcfa13669e42777caadb4ac130f7ff10 | [
"ISC"
] | 2 | 2019-05-04T10:29:33.000Z | 2020-07-25T22:02:43.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from .ntpdatetime import * # noqa
__author__ = 'Iwan in \'t Groen'
__email__ = 'iwanintgroen@gmail.com'
__version__ = '0.1.7'
| 21.333333 | 38 | 0.703125 | 25 | 192 | 4.72 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.15625 | 192 | 8 | 39 | 24 | 0.703704 | 0.135417 | 0 | 0 | 0 | 0 | 0.220859 | 0.134969 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a3a05e9766c37b80ae7f26dbe10f93bb6b6e4cae | 5,468 | py | Python | Services/Twitch/Gql/TwitchGqlOperations.py | jbzdarkid/TwitchLink | c7bae13b46c7e6af7dc74539fdbca9cbb01f4778 | [
"MIT"
] | 26 | 2021-02-04T00:29:21.000Z | 2022-03-25T17:14:43.000Z | Services/Twitch/Gql/TwitchGqlOperations.py | jbzdarkid/TwitchLink | c7bae13b46c7e6af7dc74539fdbca9cbb01f4778 | [
"MIT"
] | 19 | 2021-02-04T01:27:07.000Z | 2022-03-19T16:22:46.000Z | Services/Twitch/Gql/TwitchGqlOperations.py | jbzdarkid/TwitchLink | c7bae13b46c7e6af7dc74539fdbca9cbb01f4778 | [
"MIT"
] | 10 | 2021-06-08T17:41:40.000Z | 2022-03-28T22:38:40.000Z | class getChannel:
query = """
query($id: ID $login: String) {
user(id: $id login: $login) {
id
login
displayName
description
createdAt
profileImageURL(width: 300)
offlineImageURL
roles {
i... | 22.502058 | 105 | 0.322787 | 265 | 5,468 | 6.660377 | 0.245283 | 0.051558 | 0.101983 | 0.168272 | 0.669122 | 0.628329 | 0.628329 | 0.547875 | 0.513314 | 0.513314 | 0 | 0.01457 | 0.623446 | 5,468 | 243 | 106 | 22.502058 | 0.842642 | 0 | 0 | 0.67094 | 0 | 0.017094 | 0.911135 | 0.040227 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.064103 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a3a4c1135a35d14dbaef29b03d4c3362cb410b71 | 240 | py | Python | past_archive/swexpert/1976(addingtime).py | DongHyunByun/algorithm_practice | c726c69d35306d23467f4af6e10f2db6fdc68234 | [
"MIT"
] | null | null | null | past_archive/swexpert/1976(addingtime).py | DongHyunByun/algorithm_practice | c726c69d35306d23467f4af6e10f2db6fdc68234 | [
"MIT"
] | null | null | null | past_archive/swexpert/1976(addingtime).py | DongHyunByun/algorithm_practice | c726c69d35306d23467f4af6e10f2db6fdc68234 | [
"MIT"
] | null | null | null | for t in range(int(input())):
L=list(map(int,input().split()))
totalMinute=(L[0]+L[2])*60+(L[1]+L[3])
if (totalMinute//60)%12==0:
a=12
else :
a=(totalMinute//60)%12
print(f"#{t+1} {a} {totalMinute%60}") | 26.666667 | 42 | 0.516667 | 41 | 240 | 3.02439 | 0.536585 | 0.314516 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0.216667 | 240 | 9 | 43 | 26.666667 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 0.112033 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6e5e9e06a944c2c4a75bed8f4b6254980157cd14 | 237 | py | Python | tests/test_util.py | admiralobvious/falcon-boilerplate | eb076ff9e1d6fb1e537b18f86d2228afbf123e19 | [
"MIT"
] | 34 | 2016-10-26T17:19:23.000Z | 2020-04-30T09:12:34.000Z | tests/test_util.py | admiralobvious/falcon-boilerplate | eb076ff9e1d6fb1e537b18f86d2228afbf123e19 | [
"MIT"
] | 2 | 2019-04-09T11:50:38.000Z | 2019-07-05T03:31:57.000Z | tests/test_util.py | admiralobvious/falcon-boilerplate | eb076ff9e1d6fb1e537b18f86d2228afbf123e19 | [
"MIT"
] | 12 | 2017-01-14T09:40:24.000Z | 2020-04-16T07:40:56.000Z | from app import configure
from app.config import settings
def test_config_override():
configure()
assert settings.get("APP_NAME") == "app"
configure(app_name="new_name")
assert settings.get("APP_NAME") == "new_name"
| 18.230769 | 49 | 0.704641 | 32 | 237 | 5 | 0.40625 | 0.13125 | 0.2125 | 0.25 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172996 | 237 | 12 | 50 | 19.75 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0.147679 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | true | 0 | 0.285714 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6e67a3f74b57a2f98bb5619940857afa5c0e669e | 4,324 | py | Python | test/test_design_member_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | test/test_design_member_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | test/test_design_member_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
tweak-api
Tweak API to integrate with all the Tweak services. You can find out more about Tweak at <a href='https://www.tweak.com'>https://www.tweak.com</a>, #tweak.
OpenAPI spec version: 1.0.8-beta.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
... | 25.738095 | 165 | 0.652868 | 574 | 4,324 | 4.688153 | 0.256098 | 0.144928 | 0.100334 | 0.09476 | 0.593088 | 0.540691 | 0.507618 | 0.383501 | 0.292456 | 0.245262 | 0 | 0.002916 | 0.286309 | 4,324 | 167 | 166 | 25.892216 | 0.869086 | 0.537234 | 0 | 0.363636 | 0 | 0 | 0.005457 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.386364 | false | 0.363636 | 0.159091 | 0 | 0.568182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6e751a415182791a17a6a0fb7f8581205e9841a3 | 36 | py | Python | src/waldur_mastermind/booking/__init__.py | opennode/nodeconductor-assembly-waldur | cad9966389dc9b52b13d2301940c99cf4b243900 | [
"MIT"
] | 2 | 2017-01-20T15:26:25.000Z | 2017-08-03T04:38:08.000Z | src/waldur_mastermind/booking/__init__.py | opennode/nodeconductor-assembly-waldur | cad9966389dc9b52b13d2301940c99cf4b243900 | [
"MIT"
] | null | null | null | src/waldur_mastermind/booking/__init__.py | opennode/nodeconductor-assembly-waldur | cad9966389dc9b52b13d2301940c99cf4b243900 | [
"MIT"
] | null | null | null | PLUGIN_NAME = 'Marketplace.Booking'
| 18 | 35 | 0.805556 | 4 | 36 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.527778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6e8bee40020450739760fea4f0b518c87b127be7 | 135 | py | Python | lizzy/wsgi.py | scherniavsky/lizzy | b2bca022967042032aa5e4c3226d760cadc8db49 | [
"Apache-2.0"
] | 21 | 2015-06-01T13:54:04.000Z | 2017-06-04T01:04:25.000Z | lizzy/wsgi.py | scherniavsky/lizzy | b2bca022967042032aa5e4c3226d760cadc8db49 | [
"Apache-2.0"
] | 187 | 2015-06-02T06:29:35.000Z | 2017-05-27T12:37:54.000Z | lizzy/wsgi.py | scherniavsky/lizzy | b2bca022967042032aa5e4c3226d760cadc8db49 | [
"Apache-2.0"
] | 12 | 2017-06-09T01:10:24.000Z | 2019-05-16T10:44:34.000Z | """
Expose application to use with uswgi
"""
from .service import main
application = main(run=False) # pylint: disable=invalid-name
| 16.875 | 61 | 0.733333 | 18 | 135 | 5.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 135 | 7 | 62 | 19.285714 | 0.868421 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6ea3067025117560d1566f45db98002b504768ce | 646 | py | Python | src/openbiolink/node.py | jerryhluo/OpenBioLink | 6fc073af978daec0b0db5938b73beed37f57f495 | [
"MIT"
] | 97 | 2019-11-26T09:53:18.000Z | 2022-03-19T10:33:10.000Z | src/openbiolink/node.py | jerryhluo/OpenBioLink | 6fc073af978daec0b0db5938b73beed37f57f495 | [
"MIT"
] | 67 | 2019-12-09T21:01:52.000Z | 2021-12-21T15:19:41.000Z | src/openbiolink/node.py | jerryhluo/OpenBioLink | 6fc073af978daec0b0db5938b73beed37f57f495 | [
"MIT"
] | 20 | 2020-01-13T23:02:25.000Z | 2022-03-16T21:43:31.000Z | from openbiolink.namespace import Namespace
from openbiolink.nodeType import NodeType
class Node:
def __init__(self, id: str, type: NodeType, namespace: Namespace, name=None):
self.id = id
self.type = type
self.namespace = namespace
self.name = name
def __eq__(self, other):
... | 24.846154 | 81 | 0.636223 | 80 | 646 | 4.9125 | 0.325 | 0.076336 | 0.076336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266254 | 646 | 25 | 82 | 25.84 | 0.829114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.105263 | 0.157895 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.