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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
42ddb879dbc3156be65f75c6bb2d4bef8b461070 | 153 | py | Python | formidable/__init__.py | peopledoc/django-formidable | b432abff3c1e2f7c9aae0adcac5ea5dd1c4e714b | [
"MIT"
] | 11 | 2018-02-14T08:15:23.000Z | 2021-09-10T02:16:38.000Z | formidable/__init__.py | peopledoc/django-formidable | b432abff3c1e2f7c9aae0adcac5ea5dd1c4e714b | [
"MIT"
] | 61 | 2017-11-27T10:15:43.000Z | 2021-06-28T14:17:25.000Z | formidable/__init__.py | peopledoc/django-formidable | b432abff3c1e2f7c9aae0adcac5ea5dd1c4e714b | [
"MIT"
] | 2 | 2019-04-06T11:17:05.000Z | 2020-10-10T08:36:27.000Z | from .json_migrations import latest_version
default_app_config = 'formidable.app.FormidableConfig'
version = '7.2.0.dev0'
json_version = latest_version
| 25.5 | 54 | 0.823529 | 21 | 153 | 5.714286 | 0.714286 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028777 | 0.091503 | 153 | 5 | 55 | 30.6 | 0.834532 | 0 | 0 | 0 | 0 | 0 | 0.267974 | 0.202614 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
42f002e1d41df90edecdc21281c5f65282f6a8cb | 110 | py | Python | python/testData/resolve/ObjectMethods.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/ObjectMethods.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/ObjectMethods.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A:
x = 1
y = 1
class B(A):
def foo(self):
self.__repr__()
# <ref>
| 12.222222 | 23 | 0.381818 | 15 | 110 | 2.533333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.481818 | 110 | 9 | 24 | 12.222222 | 0.631579 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.833333 | 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 |
6e0de0466428fc256b5c270e623b32a01c6bef25 | 410 | py | Python | Old/Market_demand.py | ntuecon/2018groupCE | 51c4442bcae8fbd3841b12b8f87d5eefe11e23f8 | [
"MIT"
] | 3 | 2018-03-13T07:30:47.000Z | 2018-06-12T15:02:44.000Z | Old/Market_demand.py | ntuecon/2018groupCE | 51c4442bcae8fbd3841b12b8f87d5eefe11e23f8 | [
"MIT"
] | null | null | null | Old/Market_demand.py | ntuecon/2018groupCE | 51c4442bcae8fbd3841b12b8f87d5eefe11e23f8 | [
"MIT"
] | 1 | 2018-03-20T08:10:22.000Z | 2018-03-20T08:10:22.000Z | price=input('Please detemine the market prices of [x,y]: ')
income=input('Please detemine the income of individual: ')
par=input('Please detemine the parameters of Cobb-Doglous[alpha1,alpha2]: ')
nper=input('Please determine the number of individuals: ')
import Consumer_class
Market_D=[0,0]
for i in range(nper):
... | 29.285714 | 76 | 0.756098 | 64 | 410 | 4.75 | 0.546875 | 0.144737 | 0.1875 | 0.217105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011142 | 0.12439 | 410 | 13 | 77 | 31.538462 | 0.835655 | 0 | 0 | 0 | 0 | 0 | 0.470732 | 0.068293 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.1 | null | null | 0.1 | 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 |
6e1143cddaace5cf494bb48ae56503d826cfbd61 | 195 | py | Python | 0x04-python-more_data_structures/10-best_score.py | flourishcodes/holbertonschool-higher_level_programming | 6fda5cca4ed960d7f3d40c26292ad55e1e7d3065 | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/10-best_score.py | flourishcodes/holbertonschool-higher_level_programming | 6fda5cca4ed960d7f3d40c26292ad55e1e7d3065 | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/10-best_score.py | flourishcodes/holbertonschool-higher_level_programming | 6fda5cca4ed960d7f3d40c26292ad55e1e7d3065 | [
"MIT"
] | 4 | 2018-05-01T05:04:15.000Z | 2020-04-28T22:22:54.000Z | #!/usr/bin/python3
def best_score(a_dictionary):
if a_dictionary is None or a_dictionary == {}:
return
n = []
for new in a_dictionary:
n.append(new)
return max(n)
| 21.666667 | 50 | 0.610256 | 29 | 195 | 3.931034 | 0.655172 | 0.385965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.276923 | 195 | 8 | 51 | 24.375 | 0.801418 | 0.087179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 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 |
6e22ce0833f79b5b026680b0a6e6132667e9e7a1 | 220 | py | Python | tests/test_vasprun.py | akiraakaishi/vasputils | 6d8b137af3fc47e0b4ee7703de9fb7157027a8e9 | [
"MIT"
] | null | null | null | tests/test_vasprun.py | akiraakaishi/vasputils | 6d8b137af3fc47e0b4ee7703de9fb7157027a8e9 | [
"MIT"
] | null | null | null | tests/test_vasprun.py | akiraakaishi/vasputils | 6d8b137af3fc47e0b4ee7703de9fb7157027a8e9 | [
"MIT"
] | null | null | null | import unittest
from vasputils.vasprun import from_string
class VectorTest(unittest.TestCase):
def test_parse(self):
v = from_string('<v>0.0 1.0 1.2</v>')
self.assertTrue(v.value, [0.0, 1.0, 1.2])
| 22 | 49 | 0.659091 | 37 | 220 | 3.837838 | 0.513514 | 0.056338 | 0.042254 | 0.056338 | 0.084507 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 0.190909 | 220 | 9 | 50 | 24.444444 | 0.730337 | 0 | 0 | 0 | 0 | 0 | 0.081818 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6e2df58253fbe681a061bfc9be74a503514862ce | 53 | py | Python | src/__init__.py | owenvoke/covid-19-tracker | 7291e99d77a47d9c38eb096c59cd75aa464d89de | [
"MIT"
] | null | null | null | src/__init__.py | owenvoke/covid-19-tracker | 7291e99d77a47d9c38eb096c59cd75aa464d89de | [
"MIT"
] | null | null | null | src/__init__.py | owenvoke/covid-19-tracker | 7291e99d77a47d9c38eb096c59cd75aa464d89de | [
"MIT"
] | null | null | null | from .utils import UpdateHandler
up = UpdateHandler() | 26.5 | 32 | 0.811321 | 6 | 53 | 7.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 53 | 2 | 33 | 26.5 | 0.914894 | 0 | 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 |
6e3509424696be00b18bfbf5f0dfabafffe6edbc | 329 | py | Python | __init__.py | acegiak/midicontrol-skill | 03194faeb7c49eb9b241b972da068d5aca1ab974 | [
"MIT"
] | null | null | null | __init__.py | acegiak/midicontrol-skill | 03194faeb7c49eb9b241b972da068d5aca1ab974 | [
"MIT"
] | null | null | null | __init__.py | acegiak/midicontrol-skill | 03194faeb7c49eb9b241b972da068d5aca1ab974 | [
"MIT"
] | null | null | null | from mycroft import MycroftSkill, intent_file_handler
class Midicontrol(MycroftSkill):
def __init__(self):
MycroftSkill.__init__(self)
@intent_file_handler('midicontrol.intent')
def handle_midicontrol(self, message):
self.speak_dialog('midicontrol')
def create_skill():
return Midico... | 20.5625 | 53 | 0.735562 | 35 | 329 | 6.485714 | 0.542857 | 0.088106 | 0.14978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173252 | 329 | 15 | 54 | 21.933333 | 0.834559 | 0 | 0 | 0 | 0 | 0 | 0.088415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 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 |
6e492d5c03b3a8b57747c4c91d1eceba08cc2d02 | 1,160 | py | Python | test/main/test_about_us.py | crockmitnic/question-paper-generator | 3f5339226aedd4332c562913945a08cdb45983b0 | [
"MIT"
] | 6 | 2020-08-02T20:58:34.000Z | 2022-03-23T20:33:20.000Z | test/main/test_about_us.py | crockmitnic/question-paper-generator | 3f5339226aedd4332c562913945a08cdb45983b0 | [
"MIT"
] | 209 | 2020-02-12T17:09:15.000Z | 2021-06-03T20:34:35.000Z | test/main/test_about_us.py | crockmitnic/question-paper-generator | 3f5339226aedd4332c562913945a08cdb45983b0 | [
"MIT"
] | 54 | 2020-02-18T14:54:35.000Z | 2021-09-05T06:31:12.000Z | from flaskapp import models
from test.main.base_classes import BaseUser
from test.main.utils import test_post_request
class AboutUsTestCase(BaseUser):
def test_about_us(self):
response = self.client.get("/about-us")
self.assertIn(
b"Welcome to SetNow, We're dedicated to giving you the ... | 40 | 94 | 0.649138 | 148 | 1,160 | 5.054054 | 0.5 | 0.176471 | 0.191176 | 0.320856 | 0.377005 | 0.243316 | 0.165775 | 0.165775 | 0.165775 | 0.165775 | 0 | 0.030999 | 0.249138 | 1,160 | 28 | 95 | 41.428571 | 0.827784 | 0 | 0 | 0.307692 | 0 | 0 | 0.32069 | 0 | 0 | 0 | 0 | 0 | 0.423077 | 1 | 0.038462 | false | 0 | 0.115385 | 0 | 0.192308 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
284b1675286093efbf5aa95c23d8611384667ac0 | 130 | py | Python | TEKDB/TEKDB/apps.py | Ecotrust/TEKDB | c92500aa9c8271398721bf069b93d63d11510529 | [
"MIT"
] | 4 | 2017-12-26T05:43:52.000Z | 2022-01-07T02:54:41.000Z | TEKDB/TEKDB/apps.py | Ecotrust/TEKDB | c92500aa9c8271398721bf069b93d63d11510529 | [
"MIT"
] | 134 | 2017-02-13T23:26:26.000Z | 2020-09-24T23:13:02.000Z | TEKDB/TEKDB/apps.py | Ecotrust/TEKDB | c92500aa9c8271398721bf069b93d63d11510529 | [
"MIT"
] | 2 | 2018-03-02T04:01:16.000Z | 2019-11-06T01:51:49.000Z | # TEKDB/apps.py
from django.apps import AppConfig
class TEKDBConfig(AppConfig):
name = 'TEKDB'
verbose_name = 'Records'
| 16.25 | 33 | 0.715385 | 16 | 130 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 130 | 7 | 34 | 18.571429 | 0.867925 | 0.1 | 0 | 0 | 0 | 0 | 0.104348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 |
2855ac9b793130fb77216b404b0431c6c6208a5b | 986 | py | Python | pwm_motor_control_ros/test/integration/pwm_test_support/xbox_controller_joy_stub.py | GTAeberhard/pwm_motor_control_ros | c41c75d78f0a12c4057833558f406d0a8259f837 | [
"MIT"
] | null | null | null | pwm_motor_control_ros/test/integration/pwm_test_support/xbox_controller_joy_stub.py | GTAeberhard/pwm_motor_control_ros | c41c75d78f0a12c4057833558f406d0a8259f837 | [
"MIT"
] | null | null | null | pwm_motor_control_ros/test/integration/pwm_test_support/xbox_controller_joy_stub.py | GTAeberhard/pwm_motor_control_ros | c41c75d78f0a12c4057833558f406d0a8259f837 | [
"MIT"
] | 2 | 2021-01-27T03:08:18.000Z | 2022-02-11T13:19:02.000Z | from sensor_msgs.msg import Joy
class XboxControllerJoyStub:
@staticmethod
def right_trigger_depressed():
joy_msg = XboxControllerJoyStub.idle_controller()
joy_msg.axes[5] = -1.0
return joy_msg
@staticmethod
def right_trigger_half_depressed():
joy_msg = XboxControllerJo... | 27.388889 | 57 | 0.635903 | 127 | 986 | 4.669291 | 0.23622 | 0.182125 | 0.118044 | 0.168634 | 0.785835 | 0.745363 | 0.72344 | 0.645868 | 0.537943 | 0.472175 | 0 | 0.033661 | 0.276876 | 986 | 36 | 58 | 27.388889 | 0.798036 | 0 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.033333 | 0 | 0.4 | 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 |
2859f87436e76031093dc1bc7970c4c8a04ad3fc | 23 | py | Python | language/__init__.py | UoA-ECE-RP/sha | 0282f356a79729ab0e8706dcaa09c4af89ad7bbe | [
"MIT"
] | 1 | 2017-04-25T21:52:20.000Z | 2017-04-25T21:52:20.000Z | language/__init__.py | UoA-ECE-RP/sha | 0282f356a79729ab0e8706dcaa09c4af89ad7bbe | [
"MIT"
] | null | null | null | language/__init__.py | UoA-ECE-RP/sha | 0282f356a79729ab0e8706dcaa09c4af89ad7bbe | [
"MIT"
] | null | null | null | __author__ = 'Avinash'
| 11.5 | 22 | 0.73913 | 2 | 23 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 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 |
2860873fa8cd7827d31a0a12a92bbf3a059f2cc0 | 255 | py | Python | i_xero2/__init__.py | aracnid/i-xero2 | 449bb8bccb9e76935cedc49eff776bb8804d756b | [
"MIT"
] | null | null | null | i_xero2/__init__.py | aracnid/i-xero2 | 449bb8bccb9e76935cedc49eff776bb8804d756b | [
"MIT"
] | null | null | null | i_xero2/__init__.py | aracnid/i-xero2 | 449bb8bccb9e76935cedc49eff776bb8804d756b | [
"MIT"
] | null | null | null | """A set of functions to retrieve and save data into Xero.
"""
# import package modules
from i_xero2.i_xero import ExpiredCredentialsException
from i_xero2.i_xero import XeroInterface
from i_xero2.i_xero_ui import XeroInterfaceUI
__version__ = '2.4.2'
| 23.181818 | 58 | 0.803922 | 40 | 255 | 4.85 | 0.6 | 0.154639 | 0.154639 | 0.170103 | 0.293814 | 0.216495 | 0 | 0 | 0 | 0 | 0 | 0.027149 | 0.133333 | 255 | 10 | 59 | 25.5 | 0.850679 | 0.309804 | 0 | 0 | 0 | 0 | 0.029586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
2874040c47f3b38286e74da9d66e402b14e356ba | 293 | py | Python | marsDemonstrator/__init__.py | tum-fml/marsDemonstrator | 49f45d883eea27b678f10ec6e385e4c0d2e3b409 | [
"CC0-1.0"
] | 1 | 2021-05-12T20:06:03.000Z | 2021-05-12T20:06:03.000Z | marsDemonstrator/__init__.py | tum-fml/marsDemonstrator | 49f45d883eea27b678f10ec6e385e4c0d2e3b409 | [
"CC0-1.0"
] | null | null | null | marsDemonstrator/__init__.py | tum-fml/marsDemonstrator | 49f45d883eea27b678f10ec6e385e4c0d2e3b409 | [
"CC0-1.0"
] | null | null | null | from .designMethods import MARSInput, ENComputation, LoadCollectivePrediction, load_all_gps, InputFileError # noqa: F401
from .main_app import MainApplication, ResultWriter # noqa: F401
__all__ = ["MARSInput", "Computation", "LoadCollectivePrediction", "MainApplication", "ResultWriter"]
| 58.6 | 121 | 0.798635 | 26 | 293 | 8.730769 | 0.653846 | 0.070485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.105802 | 293 | 4 | 122 | 73.25 | 0.843511 | 0.071672 | 0 | 0 | 0 | 0 | 0.267925 | 0.090566 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
2881a93b0038a1a57ccc6f7d38b5b30bc5ed13e9 | 23 | py | Python | pyc_compat.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | 3 | 2019-08-21T22:01:35.000Z | 2021-07-25T00:21:28.000Z | pyc_compat.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | null | null | null | pyc_compat.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | null | null | null | __pyc_declare__ = None
| 11.5 | 22 | 0.826087 | 3 | 23 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
2883b765f7ee57fd8c7dbbd43dadd51b20745d9d | 112 | py | Python | flask-proj/manage.py | uninstallHahaha/flask-project | 4cff833dd04f0fdfa60627aa334c51a53a4e3159 | [
"Apache-2.0"
] | null | null | null | flask-proj/manage.py | uninstallHahaha/flask-project | 4cff833dd04f0fdfa60627aa334c51a53a4e3159 | [
"Apache-2.0"
] | null | null | null | flask-proj/manage.py | uninstallHahaha/flask-project | 4cff833dd04f0fdfa60627aa334c51a53a4e3159 | [
"Apache-2.0"
] | null | null | null | from App import create_app
# 初始化模块
manager = create_app()
if __name__ == '__main__':
manager.run()
| 14 | 27 | 0.651786 | 14 | 112 | 4.5 | 0.714286 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241071 | 112 | 7 | 28 | 16 | 0.741176 | 0.044643 | 0 | 0 | 0 | 0 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
288d0d0450733624752a3daea5acdbf275be565a | 630 | py | Python | apps/terreno/admin.py | Ajerhy/proyectosigetebr | 5b63f194bbe06adb92d1cdbba93d1e0028b4164f | [
"MIT"
] | 1 | 2020-05-11T13:29:41.000Z | 2020-05-11T13:29:41.000Z | apps/terreno/admin.py | Ajerhy/proyectosigetebr | 5b63f194bbe06adb92d1cdbba93d1e0028b4164f | [
"MIT"
] | 11 | 2020-02-12T03:19:44.000Z | 2022-03-12T00:10:31.000Z | apps/terreno/admin.py | Ajerhy/proyectosigetebr | 5b63f194bbe06adb92d1cdbba93d1e0028b4164f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Ubicacion
from .models import Lote
from .models import Manzano
from .models import Medida
from .models import Distrito
"""
class lotesInlines(admin.TabularInline):
model = Manzano.lotes.through
class LoteAdmin(admin.ModelAdmin):
inlines = [
lotesInli... | 22.5 | 42 | 0.74127 | 72 | 630 | 6.486111 | 0.333333 | 0.115632 | 0.218415 | 0.14561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152381 | 630 | 27 | 43 | 23.333333 | 0.874532 | 0.065079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.545455 | 0 | 0.545455 | 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 |
288dbe0819f6ab670d4d780c584ed1ac0e60354f | 165 | py | Python | models/spec_analyse.py | zaqwes8811/voicegen | 938e26d9e83c8be9df830698aa5b65cb904dd2eb | [
"Apache-2.0"
] | null | null | null | models/spec_analyse.py | zaqwes8811/voicegen | 938e26d9e83c8be9df830698aa5b65cb904dd2eb | [
"Apache-2.0"
] | null | null | null | models/spec_analyse.py | zaqwes8811/voicegen | 938e26d9e83c8be9df830698aa5b65cb904dd2eb | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
#-*- coding: utf-8 -*-
import wave as wv
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(0, 5, 0.1);
y = np.sin(x)
plt.plot(x, y) | 20.625 | 31 | 0.648485 | 35 | 165 | 3.085714 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035971 | 0.157576 | 165 | 8 | 32 | 20.625 | 0.733813 | 0.224242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
95494247c27d0c84afeafe2c77a50ea11b06c03b | 160 | py | Python | ebay_accounts/__init__.py | luke-dixon/django-ebay-accounts | 54cf0e90b75dfbdd63bcd588f3c4771ebe1297c0 | [
"BSD-3-Clause"
] | 4 | 2018-01-28T20:10:11.000Z | 2020-09-06T14:30:36.000Z | ebay_accounts/__init__.py | luke-dixon/django-ebay-accounts | 54cf0e90b75dfbdd63bcd588f3c4771ebe1297c0 | [
"BSD-3-Clause"
] | 7 | 2017-06-04T08:50:06.000Z | 2020-09-06T16:03:53.000Z | ebay_accounts/__init__.py | luke-dixon/django-ebay-accounts | 54cf0e90b75dfbdd63bcd588f3c4771ebe1297c0 | [
"BSD-3-Clause"
] | 7 | 2017-06-01T09:51:35.000Z | 2021-05-25T16:01:53.000Z | # -*- coding: utf-8 -*-
default_app_config = 'ebay_accounts.apps.EbayAccountsConfig'
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 fileencoding=utf-8
| 26.666667 | 72 | 0.7625 | 21 | 160 | 5.666667 | 0.809524 | 0.067227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034965 | 0.10625 | 160 | 5 | 73 | 32 | 0.797203 | 0.575 | 0 | 0 | 0 | 0 | 0.569231 | 0.569231 | 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 |
954d5ced067fba20a09b68643b296dd154a046f0 | 739 | py | Python | skchainer/linear.py | lucidfrontier45/scikit-chainer | f3c3c7429b905c93ca1cecf0b657eabf105ef2a4 | [
"MIT"
] | 27 | 2015-07-20T04:40:03.000Z | 2017-09-14T08:22:03.000Z | skchainer/linear.py | lucidfrontier45/scikit-chainer | f3c3c7429b905c93ca1cecf0b657eabf105ef2a4 | [
"MIT"
] | 1 | 2016-03-07T14:28:35.000Z | 2016-03-08T14:40:07.000Z | skchainer/linear.py | lucidfrontier45/scikit-chainer | f3c3c7429b905c93ca1cecf0b657eabf105ef2a4 | [
"MIT"
] | null | null | null | __author__ = 'du'
from chainer import Chain, functions as F
from . import ChainerRegresser, ChainerClassifier
class LinearRegression(ChainerRegresser):
def _setup_network(self, **params):
return Chain(l1=F.Linear(params["n_dim"], 1))
def _forward(self, x, train=False):
y = self.network.l1(x)... | 25.482759 | 71 | 0.661705 | 101 | 739 | 4.633663 | 0.39604 | 0.017094 | 0.064103 | 0.081197 | 0.538462 | 0.538462 | 0.538462 | 0.538462 | 0.538462 | 0.538462 | 0 | 0.008636 | 0.216509 | 739 | 28 | 72 | 26.392857 | 0.799655 | 0 | 0 | 0.526316 | 0 | 0 | 0.028417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.105263 | 0.210526 | 0.842105 | 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 |
956ecfca5df8ef7360686e3555d1b4bf1f548637 | 461 | py | Python | ch8/ex8.4.py | YChanHuang/Python-for-every-body-notes | 771db11ceb00341b533b4b1bf5235fb988978f65 | [
"MIT"
] | null | null | null | ch8/ex8.4.py | YChanHuang/Python-for-every-body-notes | 771db11ceb00341b533b4b1bf5235fb988978f65 | [
"MIT"
] | null | null | null | ch8/ex8.4.py | YChanHuang/Python-for-every-body-notes | 771db11ceb00341b533b4b1bf5235fb988978f65 | [
"MIT"
] | null | null | null | #solution 1
fname = input("Enter file name: ")
fh = open(fname)
lst = list()
for line in fh:
words = line.split()
for word in words:
if word in lst:
continue
else:
lst.append(word)
lst.sort()
print(lst)
#solution 2
fname = input("Enter file name: ")
fh = open(fname)
lst = list()
for line in fh:
line = ... | 17.074074 | 34 | 0.618221 | 74 | 461 | 3.851351 | 0.351351 | 0.063158 | 0.105263 | 0.133333 | 0.8 | 0.8 | 0.8 | 0.603509 | 0.603509 | 0.364912 | 0 | 0.00578 | 0.249458 | 461 | 26 | 35 | 17.730769 | 0.817919 | 0.043384 | 0 | 0.782609 | 0 | 0 | 0.077449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9587b1451e6233dd595808dff26dee010b44d11b | 69 | py | Python | src/Data/__init__.py | ArmanZarrin/Telegram--Stat | be5ea1a90233935623b25b008f5b37aba605a1bf | [
"MIT"
] | null | null | null | src/Data/__init__.py | ArmanZarrin/Telegram--Stat | be5ea1a90233935623b25b008f5b37aba605a1bf | [
"MIT"
] | null | null | null | src/Data/__init__.py | ArmanZarrin/Telegram--Stat | be5ea1a90233935623b25b008f5b37aba605a1bf | [
"MIT"
] | null | null | null | from pathlib import Path
DATA_DIR= Path(__file__).resolve().parent | 23 | 41 | 0.782609 | 10 | 69 | 4.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 3 | 41 | 23 | 0.803279 | 0 | 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 |
95a5e1bdedf7aa852eb5513c984510b0fa288b49 | 1,313 | py | Python | src/peachyprinter/api/test_print_api.py | Createcafe3d/YXE3Dtools | 910b02eb6fc9a56b7f8d7a1436680154df3372be | [
"Apache-2.0"
] | 23 | 2015-02-06T20:47:42.000Z | 2018-03-15T01:47:02.000Z | src/peachyprinter/api/test_print_api.py | Createcafe3d/YXE3Dtools | 910b02eb6fc9a56b7f8d7a1436680154df3372be | [
"Apache-2.0"
] | 4 | 2016-01-19T01:47:42.000Z | 2016-06-03T17:59:45.000Z | src/peachyprinter/api/test_print_api.py | Createcafe3d/YXE3Dtools | 910b02eb6fc9a56b7f8d7a1436680154df3372be | [
"Apache-2.0"
] | 15 | 2015-08-28T04:38:46.000Z | 2020-02-15T09:55:48.000Z | import inspect
from peachyprinter.domain.layer_generator import LayerGenerator
from peachyprinter.infrastructure import print_test_layer_generators
class TestPrintAPI(object):
'''Api used for getting test prints
Typical usage:
API = TestPrintAPI()
selected_print = API.test_print_names()[0]
h... | 31.261905 | 101 | 0.667936 | 164 | 1,313 | 5.097561 | 0.341463 | 0.083732 | 0.050239 | 0.086124 | 0.074163 | 0.074163 | 0 | 0 | 0 | 0 | 0 | 0.011145 | 0.248286 | 1,313 | 41 | 102 | 32.02439 | 0.835866 | 0.271135 | 0 | 0 | 0 | 0 | 0.004425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.157895 | 0 | 0.578947 | 0.684211 | 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 | 0 | 1 | 1 | 0 | 3 |
95c76a63c1d4ca4ebf5fdf0e3cd632bf9fe74fca | 154 | py | Python | Modulo 1/ex014.py | Werberty/Curso-em-Video-Python3 | 24c0299edd635fb9c2db2ecbaf8532d292f92d49 | [
"MIT"
] | 1 | 2022-03-06T11:37:47.000Z | 2022-03-06T11:37:47.000Z | Modulo 1/ex014.py | Werberty/Curso-em-Video-Python3 | 24c0299edd635fb9c2db2ecbaf8532d292f92d49 | [
"MIT"
] | null | null | null | Modulo 1/ex014.py | Werberty/Curso-em-Video-Python3 | 24c0299edd635fb9c2db2ecbaf8532d292f92d49 | [
"MIT"
] | null | null | null | graus = float(input('Informe a temperatura em °C: '))
coversao = graus * 1.8 + 32
print(f'A temperatura de {graus:.1f}°C corresponde a {coversao:.1f}°F!') | 51.333333 | 72 | 0.681818 | 29 | 154 | 3.724138 | 0.62069 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045113 | 0.136364 | 154 | 3 | 72 | 51.333333 | 0.744361 | 0 | 0 | 0 | 0 | 0 | 0.587097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
95e017fc258f896bc3a8f7b9d3617863dc00af77 | 89 | py | Python | src/Tasks/UnionOfIntervals.py | PaulLafytskyi/Hackerrank-Tests | 44866e75e124e9d8434cb21ebd5b727faf41d663 | [
"Apache-2.0"
] | null | null | null | src/Tasks/UnionOfIntervals.py | PaulLafytskyi/Hackerrank-Tests | 44866e75e124e9d8434cb21ebd5b727faf41d663 | [
"Apache-2.0"
] | null | null | null | src/Tasks/UnionOfIntervals.py | PaulLafytskyi/Hackerrank-Tests | 44866e75e124e9d8434cb21ebd5b727faf41d663 | [
"Apache-2.0"
] | null | null | null |
if __name__ == '__main__':
start = [5, 10]
end = [3, 12]
#if start[- 1] >
| 11.125 | 26 | 0.449438 | 12 | 89 | 2.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 0.348315 | 89 | 7 | 27 | 12.714286 | 0.431034 | 0.168539 | 0 | 0 | 0 | 0 | 0.112676 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
95faa2d9598205fd044ab6bacdb4d8a785825855 | 262 | py | Python | client.py | jorgebg/pysoa-example | a12320ecbdf9213085ab0671a8afc3672e59769f | [
"MIT"
] | 1 | 2020-09-07T17:04:10.000Z | 2020-09-07T17:04:10.000Z | client.py | jorgebg/pysoa-example | a12320ecbdf9213085ab0671a8afc3672e59769f | [
"MIT"
] | null | null | null | client.py | jorgebg/pysoa-example | a12320ecbdf9213085ab0671a8afc3672e59769f | [
"MIT"
] | 1 | 2020-09-20T18:40:48.000Z | 2020-09-20T18:40:48.000Z | from pysoa.client import Client
from settings import SOA_CLIENT_SETTINGS
if __name__ == '__main__':
client = Client({'example': SOA_CLIENT_SETTINGS})
action_response = client.call_action('example', 'square', {'number': 42})
print(action_response)
| 26.2 | 77 | 0.736641 | 32 | 262 | 5.5625 | 0.53125 | 0.101124 | 0.191011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.145038 | 262 | 9 | 78 | 29.111111 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.129771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
95fc218a435c9f10b2547bdc121af95396831fde | 72 | py | Python | lightreid/models/architectures/build.py | nataliamiccini/light-reid | 1bd823849e4a40c9a17497bb7d7ec6097635f4d6 | [
"MIT"
] | 296 | 2020-07-20T02:11:34.000Z | 2022-03-27T12:42:11.000Z | lightreid/models/architectures/build.py | nataliamiccini/light-reid | 1bd823849e4a40c9a17497bb7d7ec6097635f4d6 | [
"MIT"
] | 33 | 2020-08-27T03:20:43.000Z | 2022-03-14T11:25:07.000Z | lightreid/models/architectures/build.py | nataliamiccini/light-reid | 1bd823849e4a40c9a17497bb7d7ec6097635f4d6 | [
"MIT"
] | 61 | 2020-07-20T06:19:22.000Z | 2022-03-28T07:10:39.000Z | from lightreid.utils import Registry
ARCHs_REGISTRY = Registry('arch')
| 18 | 36 | 0.805556 | 9 | 72 | 6.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 3 | 37 | 24 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 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 |
250f46fe9b51bb605c25e6a99a1c017cb5540ae1 | 2,742 | py | Python | officials/migrations/0003_auto_20210523_0810.py | Fabrice-64/advocacy_project | 33eb8b71e057ea197be578020436defb015fa000 | [
"MIT"
] | null | null | null | officials/migrations/0003_auto_20210523_0810.py | Fabrice-64/advocacy_project | 33eb8b71e057ea197be578020436defb015fa000 | [
"MIT"
] | null | null | null | officials/migrations/0003_auto_20210523_0810.py | Fabrice-64/advocacy_project | 33eb8b71e057ea197be578020436defb015fa000 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.5 on 2021-05-23 08:10
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('communities', '0002_auto_20210523_0725'),
('officials', '0002_auto_20210522_1139'),
]
operations = [
... | 44.95082 | 193 | 0.649161 | 280 | 2,742 | 6.239286 | 0.210714 | 0.050372 | 0.080137 | 0.12593 | 0.714367 | 0.714367 | 0.65083 | 0.65083 | 0.65083 | 0.65083 | 0 | 0.022086 | 0.223924 | 2,742 | 60 | 194 | 45.7 | 0.798872 | 0.016411 | 0 | 0.648148 | 1 | 0 | 0.200371 | 0.057885 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.092593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 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 |
2528d8a77c9c7727ededb1fe3570194f3d33dba0 | 5,245 | py | Python | tests/test_zero_forcing.py | somacdivad/grinpy | 597f9109b84f1c1aa8c8dd2ac5b572a05ba474de | [
"BSD-3-Clause"
] | 12 | 2019-08-27T11:04:09.000Z | 2022-03-03T07:38:42.000Z | tests/test_zero_forcing.py | somacdivad/grinpy | 597f9109b84f1c1aa8c8dd2ac5b572a05ba474de | [
"BSD-3-Clause"
] | 18 | 2017-12-03T20:20:11.000Z | 2019-07-07T18:04:54.000Z | tests/test_zero_forcing.py | somacdivad/grinpy | 597f9109b84f1c1aa8c8dd2ac5b572a05ba474de | [
"BSD-3-Clause"
] | 5 | 2017-11-28T22:43:05.000Z | 2021-07-02T08:48:43.000Z | import grinpy as gp
import pytest
class TestZeroForcing:
def test_non_integral_value_for_k_raises_TypeError_in_is_k_forcing(self):
with pytest.raises(TypeError):
G = gp.star_graph(2)
gp.is_k_forcing_vertex(G, 1, [1], 1.5)
def test_0_value_for_k_raises_ValueError_in_is_k_forcin... | 37.464286 | 79 | 0.679886 | 871 | 5,245 | 3.63031 | 0.089552 | 0.114801 | 0.04649 | 0.079696 | 0.839342 | 0.736875 | 0.632511 | 0.595193 | 0.553447 | 0.480392 | 0 | 0.024828 | 0.224404 | 5,245 | 139 | 80 | 37.733813 | 0.752458 | 0 | 0 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.277778 | false | 0 | 0.018519 | 0 | 0.305556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 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 |
253b0679d18c26c0a63b1bea92536fea8962f6c3 | 377 | py | Python | demo_app/lib/layers/fetch.py | HiImJayHireMe/garnish | 8257d96087843bc33a42e4b08356efc4a67d1a38 | [
"MIT"
] | null | null | null | demo_app/lib/layers/fetch.py | HiImJayHireMe/garnish | 8257d96087843bc33a42e4b08356efc4a67d1a38 | [
"MIT"
] | null | null | null | demo_app/lib/layers/fetch.py | HiImJayHireMe/garnish | 8257d96087843bc33a42e4b08356efc4a67d1a38 | [
"MIT"
] | null | null | null | from concurrent.futures import ThreadPoolExecutor
from garnish.garnish import Layer
class ConcurrentFetchLayer(Layer):
def __call__(self, *args, **kwargs):
def call(t):
return t.__call__()
with ThreadPoolExecutor(max_workers=4) as pool:
results = list(pool.map(call, self.... | 25.133333 | 55 | 0.665782 | 44 | 377 | 5.5 | 0.613636 | 0.057851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003448 | 0.230769 | 377 | 14 | 56 | 26.928571 | 0.831034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.777778 | 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 |
254d34e770d7c9874f940a95ce2fb5585a557c13 | 268 | py | Python | fitbox/consultas/admin.py | ravellys/fitbox | 3ca61bf4d27f47dd7fabb1301afdf5c79284f68b | [
"MIT"
] | null | null | null | fitbox/consultas/admin.py | ravellys/fitbox | 3ca61bf4d27f47dd7fabb1301afdf5c79284f68b | [
"MIT"
] | 1 | 2020-10-29T20:03:11.000Z | 2020-10-29T20:03:11.000Z | fitbox/consultas/admin.py | ravellys/fitbox | 3ca61bf4d27f47dd7fabb1301afdf5c79284f68b | [
"MIT"
] | 2 | 2020-10-27T16:46:18.000Z | 2020-11-04T02:29:59.000Z | # Register your models here.
from django.contrib.admin import register, ModelAdmin
from fitbox.consultas.models import Consulta
@register(Consulta)
class ConsultaAdmin(ModelAdmin):
list_filter = ('paciente',)
prepopulated_fields = {'slug': ('descricao', )}
| 24.363636 | 53 | 0.753731 | 29 | 268 | 6.896552 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 268 | 10 | 54 | 26.8 | 0.862069 | 0.097015 | 0 | 0 | 0 | 0 | 0.0875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
256bcdb737a094238c913795e274e250fcfbd413 | 155 | py | Python | notebooks/_solutions/visualization_02_seaborn3.py | jonasvdd/DS-python-data-analysis | 835226f562ee0b0631d70e48a17c4526ff58a538 | [
"BSD-3-Clause"
] | 65 | 2017-03-21T09:15:40.000Z | 2022-02-01T23:43:08.000Z | notebooks/_solutions/visualization_02_seaborn3.py | jonasvdd/DS-python-data-analysis | 835226f562ee0b0631d70e48a17c4526ff58a538 | [
"BSD-3-Clause"
] | 100 | 2016-12-15T03:44:06.000Z | 2022-03-07T08:14:07.000Z | notebooks/_solutions/visualization_02_seaborn3.py | jorisvandenbossche/ICES-python-data | 63864947657f37cb26cb4e2dcd67ff106dffe9cd | [
"BSD-3-Clause"
] | 52 | 2016-12-19T07:48:52.000Z | 2022-02-19T17:53:48.000Z | # Axes based
sns.violinplot(data=titanic, x="Pclass", y="Age",
hue="Sex", split=True,
palette="Set2")
sns.despine(left=True) | 31 | 50 | 0.567742 | 20 | 155 | 4.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.258065 | 155 | 5 | 51 | 31 | 0.756522 | 0.064516 | 0 | 0 | 0 | 0 | 0.111111 | 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 |
25719afe1e75ea9aaee5fba7cffcd27270608d22 | 128 | py | Python | src/simcore_service_deployment_agent/app_state.py | mrnicegyu11/osparc-deployment-agent | e38508836ed7637595b152f8a1cb1c0e0b62f42f | [
"MIT"
] | 1 | 2021-11-15T12:26:26.000Z | 2021-11-15T12:26:26.000Z | src/simcore_service_deployment_agent/app_state.py | ITISFoundation/osparc-deployment-agent | 54a8d5b3d1cdbcc71bbfa93c96fce6b770b2050b | [
"MIT"
] | 44 | 2020-12-23T14:50:00.000Z | 2022-03-30T09:31:31.000Z | src/simcore_service_deployment_agent/app_state.py | mrnicegyu11/osparc-deployment-agent | e38508836ed7637595b152f8a1cb1c0e0b62f42f | [
"MIT"
] | 2 | 2020-12-16T14:24:08.000Z | 2021-11-15T12:26:40.000Z | from enum import IntEnum
class State(IntEnum):
STARTING = 0
RUNNING = 1
FAILED = 2
STOPPED = 3
PAUSED = 4
| 12.8 | 24 | 0.601563 | 17 | 128 | 4.529412 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.335938 | 128 | 9 | 25 | 14.222222 | 0.847059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 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 |
c2c4096847ff63799006b9ee54a6037787b11211 | 29,378 | py | Python | Cuadro_Magico/code/bin/processSingleFile.py | sigmadg/sigmadg.github.io | 21fd3b9986fa8a23de1d4f83cf7bb6df5a1a3ea1 | [
"MIT"
] | null | null | null | Cuadro_Magico/code/bin/processSingleFile.py | sigmadg/sigmadg.github.io | 21fd3b9986fa8a23de1d4f83cf7bb6df5a1a3ea1 | [
"MIT"
] | 1 | 2020-06-16T23:57:20.000Z | 2020-06-27T06:12:42.000Z | Cuadro_Magico/code/bin/processSingleFile.py | sigmadg/sigmadg.github.io | 21fd3b9986fa8a23de1d4f83cf7bb6df5a1a3ea1 | [
"MIT"
] | null | null | null | #!/Usr/bin/env python
"""
Create a daemon process that listens to send messages and reads a DICOM file,
extracts the header information and creates a Study/Series symbolic link structure.
"""
import sys, os, time, atexit, stat, tempfile, copy
import dicom, json, re
from signal import SIGTERM
from dicom.filereader impo... | 50.391081 | 146 | 0.361733 | 2,315 | 29,378 | 4.57149 | 0.200432 | 0.025513 | 0.025796 | 0.033733 | 0.203628 | 0.138619 | 0.104696 | 0.104696 | 0.077861 | 0.077861 | 0 | 0.017229 | 0.567329 | 29,378 | 582 | 147 | 50.477663 | 0.815357 | 0.083838 | 0 | 0.469214 | 0 | 0.004246 | 0.083317 | 0.009611 | 0 | 0 | 0.003565 | 0.001718 | 0 | 0 | null | null | 0.067941 | 0.008493 | null | null | 0.057325 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
c2ce07eb0c38260b391cd0265ccc1bd79f0ff826 | 263 | py | Python | shipment/admin.py | Medinaaz/Vodafone-Payment | a98397cd0f490dd2e63b009ead02f052f59ed992 | [
"MIT"
] | null | null | null | shipment/admin.py | Medinaaz/Vodafone-Payment | a98397cd0f490dd2e63b009ead02f052f59ed992 | [
"MIT"
] | 9 | 2020-06-05T23:54:44.000Z | 2022-01-13T02:44:28.000Z | shipment/admin.py | Medinaaz/Vodafone-Payment | a98397cd0f490dd2e63b009ead02f052f59ed992 | [
"MIT"
] | null | null | null | from django.contrib import admin
from shipment.models import Shipment
# Register your models here.
@admin.register(Shipment)
class ShipmentAdmin(admin.ModelAdmin):
list_display = ("name", "surname", "email", "phone","city","district","neighborhood","others") | 37.571429 | 98 | 0.756654 | 31 | 263 | 6.387097 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098859 | 263 | 7 | 98 | 37.571429 | 0.835443 | 0.098859 | 0 | 0 | 0 | 0 | 0.216102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c2cf4302576f0bd3cc3a2c8fe53f5a22deabb59c | 14,234 | py | Python | test/linkloading.py | fbernhart/xhtml2pdf | 0e7462c75e640799eddd944631b23c41822e8086 | [
"Apache-2.0"
] | null | null | null | test/linkloading.py | fbernhart/xhtml2pdf | 0e7462c75e640799eddd944631b23c41822e8086 | [
"Apache-2.0"
] | 1 | 2020-10-07T15:40:17.000Z | 2020-10-07T15:40:17.000Z | test/linkloading.py | fbernhart/xhtml2pdf | 0e7462c75e640799eddd944631b23c41822e8086 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2010 Dirk Holtwick, holtwick.it
#
# 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 ... | 70.118227 | 120 | 0.623086 | 2,597 | 14,234 | 3.393531 | 0.341163 | 0.00817 | 0.004085 | 0.003631 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195281 | 0.151328 | 14,234 | 202 | 121 | 70.465347 | 0.534272 | 0.059365 | 0 | 0.038961 | 0 | 0.532468 | 0.739246 | 0.725159 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032468 | false | 0 | 0.032468 | 0.006494 | 0.090909 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c2d550380231ee4a8b6d502a5e134a8a4d032d36 | 662 | py | Python | google/easy/roman_to_integer.py | salman-kgp/leetcode | 3051ca8b5a0137623b1f28dd1bb96447b1536a42 | [
"MIT"
] | null | null | null | google/easy/roman_to_integer.py | salman-kgp/leetcode | 3051ca8b5a0137623b1f28dd1bb96447b1536a42 | [
"MIT"
] | null | null | null | google/easy/roman_to_integer.py | salman-kgp/leetcode | 3051ca8b5a0137623b1f28dd1bb96447b1536a42 | [
"MIT"
] | null | null | null | class Solution(object):
def romanToInt(self, s):
"""
:type s: str
:rtype: int
"""
roman_to_int_map = {"I":1,"V":5,"X":10,"L":50,"C":100,"D":500,"M":1000}
current_ptr = 0
result = 0
while current_ptr<len(s):
if current_ptr+1<len(s) and roman... | 33.1 | 108 | 0.528701 | 95 | 662 | 3.389474 | 0.410526 | 0.310559 | 0.186335 | 0.242236 | 0.478261 | 0.478261 | 0.478261 | 0.403727 | 0.21118 | 0 | 0 | 0.052036 | 0.332326 | 662 | 19 | 109 | 34.842105 | 0.676471 | 0.036254 | 0 | 0 | 0 | 0 | 0.01157 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.230769 | 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 |
c2e30c27cd7b8cbf6640732183c2229d851b0bbf | 553 | py | Python | Aula14/app.py | refatorando/curso_python_iniciantes | 6b5de0217c630edb594e7b898a9d817446b4210a | [
"MIT"
] | 3 | 2021-02-08T22:29:57.000Z | 2022-03-28T21:36:23.000Z | Aula14/app.py | refatorando/curso_python_iniciantes | 6b5de0217c630edb594e7b898a9d817446b4210a | [
"MIT"
] | 1 | 2021-12-22T17:21:12.000Z | 2021-12-22T17:21:12.000Z | Aula14/app.py | refatorando/curso_python_iniciantes | 6b5de0217c630edb594e7b898a9d817446b4210a | [
"MIT"
] | null | null | null | from carro import Carro
fusca = Carro("Volks","Fusca","Azul","Gasolina")
fusca.ligar()
# fusca.ligar()
# fusca.acelerar()
# fusca.acelerar()
# fusca.acelerar()
# fusca.acelerar()
# fusca.acelerar()
# fusca.acelerar()
# fusca.acelerar()
# fusca.acelerar()
# fusca.frear()
# fusca.frear()
# fusca.frear()
# fusca.frear()
... | 19.068966 | 62 | 0.676311 | 65 | 553 | 5.753846 | 0.276923 | 0.278075 | 0.385027 | 0.486631 | 0.505348 | 0.505348 | 0.505348 | 0.505348 | 0.505348 | 0.505348 | 0 | 0.006036 | 0.101266 | 553 | 29 | 63 | 19.068966 | 0.746479 | 0.502712 | 0 | 0 | 0 | 0 | 0.326848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 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 |
6c12fc5948d5abc3de284a90af786a8f748380a4 | 5,656 | gyp | Python | src/deps/cares/cares.gyp | odant/conan-jscript | 0e7433ebe9e5ebf331a47c8b2d01a510c7f53952 | [
"MIT"
] | null | null | null | src/deps/cares/cares.gyp | odant/conan-jscript | 0e7433ebe9e5ebf331a47c8b2d01a510c7f53952 | [
"MIT"
] | 5 | 2021-02-13T18:06:42.000Z | 2021-02-13T18:06:44.000Z | src/deps/cares/cares.gyp | odant/conan-jscript | 0e7433ebe9e5ebf331a47c8b2d01a510c7f53952 | [
"MIT"
] | 3 | 2019-03-25T23:01:31.000Z | 2020-05-19T01:17:27.000Z | {
'target_defaults': {
'conditions': [
['OS!="win"', {
'defines': [
'_DARWIN_USE_64_BIT_INODE=1',
'_LARGEFILE_SOURCE',
'_FILE_OFFSET_BITS=64',
'_GNU_SOURCE'
]
}],
[ 'OS=="aix"', {
'include_dirs': [ 'config/aix' ],
'sources':... | 30.245989 | 56 | 0.494696 | 639 | 5,656 | 4.100156 | 0.247261 | 0.174046 | 0.255725 | 0.222519 | 0.239313 | 0.072137 | 0 | 0 | 0 | 0 | 0 | 0.006048 | 0.327617 | 5,656 | 186 | 57 | 30.408602 | 0.682882 | 0.007779 | 0 | 0.196721 | 0 | 0 | 0.555001 | 0.353361 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 |
6c1f26ea6042cbdbf4294f79b480005eb291e5f9 | 81 | py | Python | rubato/utils/COL_TYPE.py | tinmarr/Alien-Fisher-Man | 79aef592c7628860a1175892ac00ebd142305878 | [
"MIT"
] | null | null | null | rubato/utils/COL_TYPE.py | tinmarr/Alien-Fisher-Man | 79aef592c7628860a1175892ac00ebd142305878 | [
"MIT"
] | null | null | null | rubato/utils/COL_TYPE.py | tinmarr/Alien-Fisher-Man | 79aef592c7628860a1175892ac00ebd142305878 | [
"MIT"
] | null | null | null | from enum import Enum
class COL_TYPE(Enum):
ELASTIC = 1
STATIC = 2
| 13.5 | 22 | 0.617284 | 12 | 81 | 4.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.320988 | 81 | 5 | 23 | 16.2 | 0.854545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 |
6c2602fc29ab37d22a1d761bded9f6be02e575b9 | 13,895 | py | Python | nn_dataflow/tests/unit_test/test_resource.py | joeshow79/nn_dataflow | 279440452148ebf327992bd178a37cd5fd5330c5 | [
"BSD-3-Clause"
] | null | null | null | nn_dataflow/tests/unit_test/test_resource.py | joeshow79/nn_dataflow | 279440452148ebf327992bd178a37cd5fd5330c5 | [
"BSD-3-Clause"
] | null | null | null | nn_dataflow/tests/unit_test/test_resource.py | joeshow79/nn_dataflow | 279440452148ebf327992bd178a37cd5fd5330c5 | [
"BSD-3-Clause"
] | null | null | null | """ $lic$
Copyright (C) 2016-2019 by The Board of Trustees of Stanford University
This program is free software: you can redistribute it and/or modify it under
the terms of the Modified BSD-3 License as published by the Open Source
Initiative.
This program is distributed in the hope that it will be useful, but WITHOU... | 47.101695 | 79 | 0.483411 | 1,321 | 13,895 | 4.742619 | 0.095382 | 0.110136 | 0.070551 | 0.051716 | 0.792498 | 0.738867 | 0.701516 | 0.680128 | 0.664006 | 0.644214 | 0 | 0.048997 | 0.440374 | 13,895 | 294 | 80 | 47.261905 | 0.756687 | 0.066859 | 0 | 0.688 | 0 | 0 | 0.038823 | 0 | 0 | 0 | 0 | 0 | 0.096 | 1 | 0.052 | false | 0 | 0.016 | 0 | 0.072 | 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 |
6c264d8cf7bf13bee1d1e870b50b18310e094fb6 | 235 | py | Python | eworkshop/services/models/service_type.py | frankfern/eWorkshop-api | 4c8a377e67e42c10ae1a762efca9af2c27a2a561 | [
"MIT"
] | null | null | null | eworkshop/services/models/service_type.py | frankfern/eWorkshop-api | 4c8a377e67e42c10ae1a762efca9af2c27a2a561 | [
"MIT"
] | null | null | null | eworkshop/services/models/service_type.py | frankfern/eWorkshop-api | 4c8a377e67e42c10ae1a762efca9af2c27a2a561 | [
"MIT"
] | null | null | null | from django.db import models
from eworkshop.utils.models import TimeModel
class ServiceType(TimeModel):
service_name = models.CharField(max_length=10, blank=False)
def __str__(self) -> str:
return self.service_name
| 21.363636 | 63 | 0.748936 | 31 | 235 | 5.451613 | 0.709677 | 0.130178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010256 | 0.170213 | 235 | 10 | 64 | 23.5 | 0.85641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
6c3ba01f888ef594ed996efd3fad3691b9b122d4 | 1,322 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/NV/texture_expand_normal.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/NV/texture_expand_normal.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/NV/texture_expand_normal.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''OpenGL extension NV.texture_expand_normal
This module customises the behaviour of the
OpenGL.raw.GL.NV.texture_expand_normal to provide a more
Python-friendly API
Overview (from the spec)
This extension provides a remapping mode where unsigned texture
components (in the range [0,1]) can be treated a... | 37.771429 | 72 | 0.78593 | 185 | 1,322 | 5.508108 | 0.502703 | 0.070658 | 0.073602 | 0.103042 | 0.113837 | 0.113837 | 0.113837 | 0.082434 | 0.082434 | 0 | 0 | 0.003604 | 0.160363 | 1,322 | 35 | 73 | 37.771429 | 0.914414 | 0.717852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 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 |
6c456a474c494ccd67d1cef1e3009b44a45b2ce9 | 644 | py | Python | tests/test_chinormfilter.py | po3rin/chinormfilter | 06e9d478551ad2602958fc87ac9df26957edafc8 | [
"Apache-2.0"
] | 2 | 2021-06-25T08:15:35.000Z | 2021-06-25T08:16:07.000Z | tests/test_chinormfilter.py | po3rin/chinormfilter | 06e9d478551ad2602958fc87ac9df26957edafc8 | [
"Apache-2.0"
] | null | null | null | tests/test_chinormfilter.py | po3rin/chinormfilter | 06e9d478551ad2602958fc87ac9df26957edafc8 | [
"Apache-2.0"
] | null | null | null | from chinormfilter import __version__
from chinormfilter.cli import Filter
def test_version():
assert __version__ == '0.5.0'
def test_kuro2sudachi_cli(capsys):
f = Filter(dict_type="full")
assert f.duplicated("林檎,りんご") is True
assert f.duplicated("レナリドミド, レナリドマイド") is False
assert f.duplicated("... | 32.2 | 66 | 0.704969 | 94 | 644 | 4.702128 | 0.404255 | 0.142534 | 0.346154 | 0.176471 | 0.452489 | 0.264706 | 0.208145 | 0.208145 | 0.208145 | 0.208145 | 0 | 0.007491 | 0.170807 | 644 | 19 | 67 | 33.894737 | 0.820225 | 0 | 0 | 0 | 0 | 0 | 0.194099 | 0.032609 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.133333 | false | 0 | 0.133333 | 0 | 0.266667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c71be24622b40339c015d5a907f466f857dafff | 385 | py | Python | 2868.py | ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python | 9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da | [
"MIT"
] | 1 | 2022-01-14T08:45:32.000Z | 2022-01-14T08:45:32.000Z | 2868.py | ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python | 9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da | [
"MIT"
] | null | null | null | 2868.py | ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python | 9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da | [
"MIT"
] | null | null | null | c = int(input())
while c != 0:
c -= 1
num1, sign1, num2, sign2, ans = input().split()
correct_ans = 0
if sign1 == "+":
correct_ans = int(num1) + int(num2)
elif sign1 == "-":
correct_ans = int(num1) - int(num2)
else:
correct_ans = int(num1) * int(num2)
answe... | 29.615385 | 52 | 0.514286 | 53 | 385 | 3.641509 | 0.433962 | 0.259067 | 0.26943 | 0.264249 | 0.42487 | 0.42487 | 0.300518 | 0 | 0 | 0 | 0 | 0.056391 | 0.309091 | 385 | 13 | 53 | 29.615385 | 0.669173 | 0 | 0 | 0 | 0 | 0 | 0.040107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.076923 | 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 |
666645c29a9b436e45f1b7cc96bb1132906bd9dc | 29 | py | Python | gigaspace/tests/fakes/__init__.py | denismakogon/gigaspace-test-task | aaa30b9ff25928ae167189e05fbc3f85d6e36f31 | [
"Apache-2.0"
] | null | null | null | gigaspace/tests/fakes/__init__.py | denismakogon/gigaspace-test-task | aaa30b9ff25928ae167189e05fbc3f85d6e36f31 | [
"Apache-2.0"
] | null | null | null | gigaspace/tests/fakes/__init__.py | denismakogon/gigaspace-test-task | aaa30b9ff25928ae167189e05fbc3f85d6e36f31 | [
"Apache-2.0"
] | null | null | null | __author__ = 'denis_makogon'
| 14.5 | 28 | 0.793103 | 3 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.448276 | 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 |
6669ff534efacfa71d1d841f5ba351a048fac5d7 | 104 | py | Python | enums.py | t-bullock/kassia | d05940fcfe6e4cb21c9595cf1891b43b0e026730 | [
"MIT"
] | 6 | 2018-10-20T13:55:16.000Z | 2021-03-09T19:42:24.000Z | enums.py | barudaret/kassia | 990728a3fe413053ce521d0c611cc6196c544c1e | [
"MIT"
] | 13 | 2020-04-29T23:33:45.000Z | 2021-03-02T16:59:42.000Z | enums.py | barudaret/kassia | 990728a3fe413053ce521d0c611cc6196c544c1e | [
"MIT"
] | 5 | 2018-08-24T01:43:18.000Z | 2022-01-03T13:33:06.000Z | from enum import Enum, auto
class Line(Enum):
RIGHT = auto()
NEXT = auto()
BELOW = auto()
| 13 | 27 | 0.586538 | 14 | 104 | 4.357143 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288462 | 104 | 7 | 28 | 14.857143 | 0.824324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
668b2e6e67ff72e82de94dc991bf77923cce45f6 | 215 | py | Python | telegram_bot_api/schemas/OrderInfoSchema.py | IsVir/telegram-bot-api | 927e96452ad0c62ebae71304f13e5d34121b2ca9 | [
"MIT"
] | null | null | null | telegram_bot_api/schemas/OrderInfoSchema.py | IsVir/telegram-bot-api | 927e96452ad0c62ebae71304f13e5d34121b2ca9 | [
"MIT"
] | null | null | null | telegram_bot_api/schemas/OrderInfoSchema.py | IsVir/telegram-bot-api | 927e96452ad0c62ebae71304f13e5d34121b2ca9 | [
"MIT"
] | null | null | null | from marshmallow import Schema, fields
class OrderInfoSchema(Schema):
name = fields.Str()
phone_number = fields.Str()
email = fields.Str()
shipping_address = fields.Nested('ShippingAddressSchema')
| 23.888889 | 61 | 0.725581 | 23 | 215 | 6.695652 | 0.695652 | 0.175325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172093 | 215 | 8 | 62 | 26.875 | 0.865169 | 0 | 0 | 0 | 0 | 0 | 0.097674 | 0.097674 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 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 |
669386c836ffc66e46d5b7cb4289248ba9a0dad0 | 353 | py | Python | backend/pages/tests/test_site_configuration.py | draihal/main-pr | 81814c5370b592963e91ad0683caa560b0ea9579 | [
"MIT"
] | 2 | 2021-01-28T08:23:15.000Z | 2021-03-09T06:06:58.000Z | backend/pages/tests/test_site_configuration.py | draihal/main-pr | 81814c5370b592963e91ad0683caa560b0ea9579 | [
"MIT"
] | 9 | 2020-01-02T15:31:04.000Z | 2021-12-09T01:59:26.000Z | backend/pages/tests/test_site_configuration.py | draihal/main-pr | 81814c5370b592963e91ad0683caa560b0ea9579 | [
"MIT"
] | 1 | 2021-03-09T06:11:16.000Z | 2021-03-09T06:11:16.000Z | import pytest
from django.test import TestCase
from .. import factories
@pytest.mark.django_db
class SiteConfigurationTest(TestCase):
def setUp(self):
self.site_configuration = factories.SiteConfigurationFactory()
def test__str__(self):
assert self.site_configuration.__str__() == self.site... | 22.0625 | 93 | 0.767705 | 39 | 353 | 6.615385 | 0.538462 | 0.093023 | 0.244186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152975 | 353 | 15 | 94 | 23.533333 | 0.862876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
66e07c96e89bf5ecd0cf47bb995e80c819c26219 | 168 | py | Python | py_pdf_term/pdftoxml/_pdftoxml/__init__.py | kumachan-mis/pdf-slides-term | cf3319e4de723bd9424d23141803342d3c649103 | [
"MIT"
] | 1 | 2021-01-08T16:05:30.000Z | 2021-01-08T16:05:30.000Z | py_pdf_term/pdftoxml/_pdftoxml/__init__.py | kumachan-mis/py-slides-term | 1e9337b97ae8968950489e728fc7aeeeb7eb1f4b | [
"MIT"
] | 21 | 2021-01-03T13:50:59.000Z | 2021-06-17T00:27:49.000Z | py_pdf_term/pdftoxml/_pdftoxml/__init__.py | kumachan-mis/pdf-slides-term | cf3319e4de723bd9424d23141803342d3c649103 | [
"MIT"
] | null | null | null | from .converter import PDFtoXMLConverter
from .data import PDFnXMLPath, PDFnXMLElement
__all__ = [
"PDFtoXMLConverter",
"PDFnXMLPath",
"PDFnXMLElement",
]
| 18.666667 | 45 | 0.738095 | 13 | 168 | 9.230769 | 0.615385 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172619 | 168 | 8 | 46 | 21 | 0.863309 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 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 |
dd138450c473fca912a90f489085948f8a3d9102 | 916 | py | Python | meal_app/migrations/0001_initial.py | praveen868686/meals_myproject | 0d91e100029f2f0649138aee30f7c743eebda7a7 | [
"MIT"
] | null | null | null | meal_app/migrations/0001_initial.py | praveen868686/meals_myproject | 0d91e100029f2f0649138aee30f7c743eebda7a7 | [
"MIT"
] | null | null | null | meal_app/migrations/0001_initial.py | praveen868686/meals_myproject | 0d91e100029f2f0649138aee30f7c743eebda7a7 | [
"MIT"
] | null | null | null | # Generated by Django 3.2 on 2021-04-18 06:36
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Meal',
fields=[
('id', models.BigAutoField(au... | 33.925926 | 117 | 0.587336 | 100 | 916 | 5.29 | 0.53 | 0.141777 | 0.189036 | 0.226843 | 0.349716 | 0.349716 | 0.162571 | 0.162571 | 0.162571 | 0 | 0 | 0.038922 | 0.270742 | 916 | 26 | 118 | 35.230769 | 0.752994 | 0.046943 | 0 | 0 | 1 | 0 | 0.063146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.263158 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dd2506d72d9709b1f242785924329c0c07dfe072 | 14,841 | py | Python | autogalaxy/analysis/analysis.py | jonathanfrawley/PyAutoGalaxy | 55fb44f22ce5490318378dc31596c887d0d2e29b | [
"MIT"
] | null | null | null | autogalaxy/analysis/analysis.py | jonathanfrawley/PyAutoGalaxy | 55fb44f22ce5490318378dc31596c887d0d2e29b | [
"MIT"
] | null | null | null | autogalaxy/analysis/analysis.py | jonathanfrawley/PyAutoGalaxy | 55fb44f22ce5490318378dc31596c887d0d2e29b | [
"MIT"
] | null | null | null | from astropy import cosmology as cosmo
import autofit as af
from autoarray import preloads as pload
from autoarray.exc import PixelizationException, InversionException, GridException
from autoarray.inversion import pixelizations as pix, inversions as inv
from autofit.exc import FitException
from autogalaxy.anal... | 34.117241 | 115 | 0.639714 | 1,556 | 14,841 | 5.798843 | 0.104113 | 0.035908 | 0.059847 | 0.028815 | 0.791976 | 0.763715 | 0.735454 | 0.68004 | 0.668957 | 0.642358 | 0 | 0.00096 | 0.298295 | 14,841 | 434 | 116 | 34.195853 | 0.86547 | 0.106664 | 0 | 0.578182 | 0 | 0 | 0.017737 | 0.00575 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087273 | false | 0 | 0.04 | 0.025455 | 0.189091 | 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 |
dd32046996c9ab76946aa8e32fe1942935647eba | 1,126 | py | Python | soe/python/checkClientWaitState.py | nicksstuff/sample.voice.gateway | 5ce57ff1bce8fa95b8599c11e1f4a8e366424af1 | [
"Apache-2.0"
] | null | null | null | soe/python/checkClientWaitState.py | nicksstuff/sample.voice.gateway | 5ce57ff1bce8fa95b8599c11e1f4a8e366424af1 | [
"Apache-2.0"
] | null | null | null | soe/python/checkClientWaitState.py | nicksstuff/sample.voice.gateway | 5ce57ff1bce8fa95b8599c11e1f4a8e366424af1 | [
"Apache-2.0"
] | null | null | null | # ------------------------------------------------
# IMPORTS ----------------------------------------
# ------------------------------------------------
#####
# Python dist and 3rd party libraries
#####
import os, requests, json, string, datetime, logging, time
from os.path import join, dirname
from weblogger import ad... | 28.871795 | 84 | 0.667851 | 120 | 1,126 | 6.25 | 0.608333 | 0.069333 | 0.106667 | 0.092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001021 | 0.130551 | 1,126 | 39 | 85 | 28.871795 | 0.765066 | 0.443162 | 0 | 0.235294 | 0 | 0 | 0.032895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.294118 | 0.176471 | 0.764706 | 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 |
dd42bab85ba7d42edcff8beb9796c8e99e656a92 | 105 | py | Python | attributes/continuous_integration/__init__.py | Lufedi/reaper | bdf56b499e5b704c27b9f6c053d798c2a10fa4cf | [
"Apache-2.0"
] | 106 | 2015-07-21T16:18:26.000Z | 2022-03-31T06:45:34.000Z | attributes/continuous_integration/__init__.py | Kowndinya2000/enhanced_repo_reaper | 744f794ba53bde5667b3b0f99b07273d0e32a495 | [
"Apache-2.0"
] | 21 | 2015-07-11T03:48:28.000Z | 2022-01-18T12:57:30.000Z | attributes/continuous_integration/__init__.py | Kowndinya2000/enhanced_repo_reaper | 744f794ba53bde5667b3b0f99b07273d0e32a495 | [
"Apache-2.0"
] | 26 | 2015-07-22T22:38:21.000Z | 2022-03-14T10:11:56.000Z | class CiService(object):
@staticmethod
def is_enabled(path):
raise NotImplementedError()
| 21 | 35 | 0.695238 | 10 | 105 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219048 | 105 | 4 | 36 | 26.25 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dd537f1206502ae01d99bde377581cb93f2df2b6 | 233 | py | Python | other/q2.py | pengfei-chen/algorithm_qa | c2ccdcb77004e88279d61e4e433ee49527fc34d6 | [
"MIT"
] | 79 | 2018-03-27T12:37:49.000Z | 2022-01-21T10:18:17.000Z | other/q2.py | pengfei-chen/algorithm_qa | c2ccdcb77004e88279d61e4e433ee49527fc34d6 | [
"MIT"
] | null | null | null | other/q2.py | pengfei-chen/algorithm_qa | c2ccdcb77004e88279d61e4e433ee49527fc34d6 | [
"MIT"
] | 27 | 2018-04-08T03:07:06.000Z | 2021-10-30T00:01:50.000Z | """
问题描述:给定两个不等于0的整数M和N,求M和N的最大公约数.
"""
def get_bigest_public_num(m, n):
if n == 0:
return m
else:
return get_bigest_public_num(n, m % n)
if __name__ == '__main__':
print(get_bigest_public_num(10, 23)) | 16.642857 | 46 | 0.630901 | 34 | 233 | 3.823529 | 0.558824 | 0.207692 | 0.346154 | 0.415385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.236052 | 233 | 14 | 47 | 16.642857 | 0.696629 | 0.133047 | 0 | 0 | 0 | 0 | 0.041026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 0.142857 | 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 |
dd76cbcf2689b296820139efb973b63d675776b4 | 233 | py | Python | src/Scapy2Library/keywords/__init__.py | wywincl/Scapy2Library | 902ed8dbb3967f4ab204330e03d91db91162b239 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2015-07-26T01:25:59.000Z | 2015-08-01T02:27:33.000Z | src/Scapy2Library/keywords/__init__.py | wywincl/ScapyLibrary | 902ed8dbb3967f4ab204330e03d91db91162b239 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/Scapy2Library/keywords/__init__.py | wywincl/ScapyLibrary | 902ed8dbb3967f4ab204330e03d91db91162b239 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from _corekeywords import _ScapyKeywords
from _runonfailure import _RunOnFailureKeywords
from _logging import _LoggingKeywords
__all__ = ["_ScapyKeywords",
"_RunOnFailureKeywords",
"_LoggingKeywords"]
| 25.888889 | 48 | 0.742489 | 16 | 233 | 10 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2103 | 233 | 8 | 49 | 29.125 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.226667 | 0.093333 | 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 |
dd8444aeabbd07ced1511031f0ab140fdb5fb9a8 | 1,543 | py | Python | test/unit/parser_test.py | jartigag/pydometer | 012ae719b7f3b15505de2e389863daeb82676d05 | [
"CC-BY-3.0"
] | 2 | 2020-11-22T11:33:47.000Z | 2021-01-16T15:06:35.000Z | test/unit/parser_test.py | jartigag/pydometer | 012ae719b7f3b15505de2e389863daeb82676d05 | [
"CC-BY-3.0"
] | null | null | null | test/unit/parser_test.py | jartigag/pydometer | 012ae719b7f3b15505de2e389863daeb82676d05 | [
"CC-BY-3.0"
] | null | null | null | import pytest
from models.parser import Parser
def test_new():
pass #TODO
#data = '0.123,-0.123,5;0.456,-0.789,0.111;-0.212,0.001,1;'
#parser = Parser(data)
#assert parser.parsed_data==None
# --- Creation Tests ---
def test_create_combined_data():
data = '0.123,-0.123,5;0.456,-0.789,0.111;-0.21... | 26.603448 | 92 | 0.604666 | 274 | 1,543 | 3.266423 | 0.229927 | 0.051397 | 0.043575 | 0.031285 | 0.576536 | 0.530726 | 0.530726 | 0.459218 | 0.297207 | 0.297207 | 0 | 0.252153 | 0.172391 | 1,543 | 57 | 93 | 27.070175 | 0.448708 | 0.263124 | 0 | 0.166667 | 0 | 0.083333 | 0.136691 | 0.115108 | 0 | 0 | 0 | 0.017544 | 0.166667 | 1 | 0.166667 | false | 0.041667 | 0.083333 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dd8576a6cc1eb9fdc0c685e6663c3d4342e1d729 | 972 | py | Python | models/stock_model.py | satyam93sinha/SuperSimpleStockMarket | 6c894f641bca1a0e47307e35b71839556c40b748 | [
"MIT"
] | null | null | null | models/stock_model.py | satyam93sinha/SuperSimpleStockMarket | 6c894f641bca1a0e47307e35b71839556c40b748 | [
"MIT"
] | null | null | null | models/stock_model.py | satyam93sinha/SuperSimpleStockMarket | 6c894f641bca1a0e47307e35b71839556c40b748 | [
"MIT"
] | null | null | null | class StockModel:
def __init__(self):
self.stock_symbol = None
self.stock_type = None
self.last_dividend = 0
self.fixed_dividend = 0
self.par_value = 0
def set_stock_symbol(self, symbol_of_stock: str) -> None:
self.stock_symbol = symbol_of_stock
def get_stoc... | 26.27027 | 61 | 0.679012 | 136 | 972 | 4.463235 | 0.161765 | 0.092257 | 0.115321 | 0.042834 | 0.059308 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004127 | 0.252058 | 972 | 37 | 62 | 26.27027 | 0.830812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.407407 | false | 0 | 0 | 0.185185 | 0.62963 | 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 |
06d2719be278f2ab1bb5dad1d06e905ec79c495a | 1,207 | py | Python | rex/data/dataset.py | Spico197/REx | bb3cdb845765a63e9bd18070068af52a1b2db3f3 | [
"MIT"
] | 4 | 2021-12-29T08:16:07.000Z | 2022-03-21T03:03:24.000Z | rex/data/dataset.py | Spico197/REx | bb3cdb845765a63e9bd18070068af52a1b2db3f3 | [
"MIT"
] | null | null | null | rex/data/dataset.py | Spico197/REx | bb3cdb845765a63e9bd18070068af52a1b2db3f3 | [
"MIT"
] | null | null | null | from typing import Iterable, Optional
from torch.utils.data import Dataset
class CachedDataset(Dataset):
def __init__(self, data: Iterable) -> None:
super().__init__()
self.data = data
def __getitem__(self, index: int):
return self.data[index]
def __len__(self) -> int:
r... | 24.14 | 70 | 0.610605 | 138 | 1,207 | 4.963768 | 0.26087 | 0.128467 | 0.070073 | 0.078832 | 0.40292 | 0.338686 | 0.251095 | 0.125547 | 0.125547 | 0.125547 | 0 | 0.003456 | 0.280862 | 1,207 | 49 | 71 | 24.632653 | 0.785714 | 0 | 0 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.055556 | 0.138889 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
06e866da5dbf3f98d2efeb123753050e9cdb193a | 633 | py | Python | badger_utils/sacred/natural_sort.py | GoodAI/distributed_es | 5f447eb3fd1159c0754dfe14e92640df75a9cde7 | [
"MIT"
] | 6 | 2020-05-12T20:54:42.000Z | 2021-09-08T14:40:24.000Z | badger_utils/sacred/natural_sort.py | GoodAI/distributed_es | 5f447eb3fd1159c0754dfe14e92640df75a9cde7 | [
"MIT"
] | null | null | null | badger_utils/sacred/natural_sort.py | GoodAI/distributed_es | 5f447eb3fd1159c0754dfe14e92640df75a9cde7 | [
"MIT"
] | 3 | 2020-05-01T00:52:28.000Z | 2021-01-07T00:35:18.000Z | import re
from typing import List, Union, Iterable
class NaturalSort:
@staticmethod
def atoi(text: str) -> int:
return int(text) if text.isdigit() else text
@staticmethod
def natural_keys(text: str) -> List[Union[str, int]]:
"""
alist.sort(key=natural_keys) sorts in human ord... | 27.521739 | 70 | 0.647709 | 82 | 633 | 4.95122 | 0.585366 | 0.110837 | 0.093596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.236967 | 633 | 22 | 71 | 28.772727 | 0.828157 | 0.238547 | 0 | 0.25 | 0 | 0 | 0.011312 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 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 |
66062e3885514ea2eef88379660cf74ea8b07a3f | 83 | py | Python | manganelo/errors.py | nixonjoshua98/manganelo | 4450d05a3cf0ef500565c4e263e06edf42f580b6 | [
"MIT"
] | 22 | 2020-03-17T16:01:27.000Z | 2022-03-06T18:04:41.000Z | manganelo/errors.py | nixonjoshua98/manganelo | 4450d05a3cf0ef500565c4e263e06edf42f580b6 | [
"MIT"
] | 9 | 2020-05-13T03:19:45.000Z | 2022-03-13T23:05:32.000Z | manganelo/errors.py | nixonjoshua98/manganelo | 4450d05a3cf0ef500565c4e263e06edf42f580b6 | [
"MIT"
] | 8 | 2021-02-10T17:21:34.000Z | 2022-02-15T10:22:38.000Z |
class ManganeloError(BaseException):
...
class NotFound(ManganeloError):
...
| 9.222222 | 36 | 0.710843 | 6 | 83 | 9.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 8 | 37 | 10.375 | 0.830986 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
660cebbaf164d7589ec0bf1d51697da259c7b4e6 | 311 | py | Python | mmdet/models/cls_heads/__init__.py | atoaiari/mmdetection | 385d61eb3e40b3515df187ff5a7f76a5e7a34e29 | [
"Apache-2.0"
] | null | null | null | mmdet/models/cls_heads/__init__.py | atoaiari/mmdetection | 385d61eb3e40b3515df187ff5a7f76a5e7a34e29 | [
"Apache-2.0"
] | null | null | null | mmdet/models/cls_heads/__init__.py | atoaiari/mmdetection | 385d61eb3e40b3515df187ff5a7f76a5e7a34e29 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) OpenMMLab. All rights reserved.
from .cls_head import ClsHead
from .linear_head import LinearClsHead
from .orientation_head import OrientationHead
from .resnet_orientation_head import ResNetOrientationHead
__all__ = [
'ClsHead', 'LinearClsHead', 'OrientationHead', 'ResNetOrientationHead'
] | 34.555556 | 74 | 0.813505 | 32 | 311 | 7.625 | 0.53125 | 0.163934 | 0.172131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11254 | 311 | 9 | 75 | 34.555556 | 0.884058 | 0.144695 | 0 | 0 | 0 | 0 | 0.211321 | 0.079245 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
663ef368140b1e9d1d34aa479a0397e73bac5ff6 | 1,274 | py | Python | ProposalDistribution.py | GrzegorzMika/Markov-Chains-Monte-Carlo | 29754eab860036d518d36a9654f904b3a2f59647 | [
"MIT"
] | null | null | null | ProposalDistribution.py | GrzegorzMika/Markov-Chains-Monte-Carlo | 29754eab860036d518d36a9654f904b3a2f59647 | [
"MIT"
] | null | null | null | ProposalDistribution.py | GrzegorzMika/Markov-Chains-Monte-Carlo | 29754eab860036d518d36a9654f904b3a2f59647 | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
import numpy as np
class ProposalDistribution(metaclass=ABCMeta):
@abstractmethod
def __init__(self):
...
@abstractmethod
def sample(self, x: np.ndarray) -> np.ndarray:
...
@abstractmethod
def pdf(self, x: np.ndarray, cond: np.ndarray)... | 26 | 111 | 0.609105 | 161 | 1,274 | 4.645963 | 0.279503 | 0.040107 | 0.044118 | 0.05615 | 0.302139 | 0.237968 | 0.237968 | 0.237968 | 0.165775 | 0.165775 | 0 | 0.010482 | 0.251177 | 1,274 | 48 | 112 | 26.541667 | 0.773585 | 0 | 0 | 0.363636 | 0 | 0 | 0.066719 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 1 | 0.272727 | false | 0 | 0.060606 | 0.121212 | 0.606061 | 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 |
664ee31d57fd7b9cfd08af6bef1059c9d2b00799 | 240 | py | Python | getting_started/hash.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | getting_started/hash.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | getting_started/hash.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
反直觉,is 和 hash 没什么关系,
"""
assert hash(1.00 + 0.01) == hash(1.01)
assert id(1.00 + 0.01) != id(1.01)
assert 1.00 + 0.01 == 1.01
assert not 1.00 + 0.01 is 1.01
assert type(hash('s')) == int
| 18.461538 | 38 | 0.566667 | 51 | 240 | 2.666667 | 0.431373 | 0.088235 | 0.117647 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193878 | 0.183333 | 240 | 12 | 39 | 20 | 0.5 | 0.266667 | 0 | 0 | 0 | 0 | 0.005988 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b09842f0ab66dc56cfcd88f2038e52ccbe712efa | 4,132 | py | Python | gym-maze/gym_maze/__init__.py | martinzimmermann/RBL-test-programs | 09bf93f9cb67b410abfa50e667f3e3d943a450b5 | [
"MIT"
] | null | null | null | gym-maze/gym_maze/__init__.py | martinzimmermann/RBL-test-programs | 09bf93f9cb67b410abfa50e667f3e3d943a450b5 | [
"MIT"
] | null | null | null | gym-maze/gym_maze/__init__.py | martinzimmermann/RBL-test-programs | 09bf93f9cb67b410abfa50e667f3e3d943a450b5 | [
"MIT"
] | null | null | null | from gym.envs.registration import register
register(
id='maze-v0',
entry_point='gym_maze.envs:MazeEnvSample5x5',
max_episode_steps=2000,
)
register(
id='maze-sample-5x5-v0',
entry_point='gym_maze.envs:MazeEnvSample5x5',
max_episode_steps=10000000000000,
)
register(
id='maze-empty-5x5-v0'... | 22.703297 | 55 | 0.740803 | 479 | 4,132 | 6.156576 | 0.135699 | 0.094947 | 0.132926 | 0.142421 | 0.791794 | 0.790098 | 0.726687 | 0.516107 | 0.293998 | 0.293998 | 0 | 0.169753 | 0.137464 | 4,132 | 181 | 56 | 22.828729 | 0.657688 | 0 | 0 | 0.45098 | 0 | 0 | 0.357938 | 0.286786 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.006536 | 0 | 0.006536 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b0b7792327c6faa2dc2fbc805dc9f74704623a7e | 915 | py | Python | examples/38-benzene.py | hebrewsnabla/pyAutoMR | 8e81ed7fd780abd94f8b51e48ee4b980a868c204 | [
"Apache-2.0"
] | 5 | 2021-06-03T07:49:02.000Z | 2022-02-21T11:35:20.000Z | examples/38-benzene.py | hebrewsnabla/pyAutoMR | 8e81ed7fd780abd94f8b51e48ee4b980a868c204 | [
"Apache-2.0"
] | 2 | 2022-01-20T08:33:59.000Z | 2022-03-26T12:21:15.000Z | examples/38-benzene.py | hebrewsnabla/pyAutoMR | 8e81ed7fd780abd94f8b51e48ee4b980a868c204 | [
"Apache-2.0"
] | 1 | 2022-02-21T11:35:34.000Z | 2022-02-21T11:35:34.000Z | from pyscf import lib, scf
#from pyphf import guess, suscf
from automr import autocas, guess
lib.num_threads(8)
xyz = '''C -2.94294278 0.39039038 0.00000000
C -1.54778278 0.39039038 0.00000000
C -0.85024478 1.59814138 0.00000000
C -1... | 35.192308 | 66 | 0.522404 | 118 | 915 | 4.042373 | 0.533898 | 0.056604 | 0.062893 | 0.075472 | 0.079665 | 0 | 0 | 0 | 0 | 0 | 0 | 0.579787 | 0.383607 | 915 | 25 | 67 | 36.6 | 0.265957 | 0.032787 | 0 | 0 | 0 | 0 | 0.815402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.105263 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b0d626e914a58bcbfc14025a6c58d5b7b6659314 | 1,405 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/NV/texgen_reflection.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/NV/texgen_reflection.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/NV/texgen_reflection.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''OpenGL extension NV.texgen_reflection
This module customises the behaviour of the
OpenGL.raw.GL.NV.texgen_reflection to provide a more
Python-friendly API
Overview (from the spec)
This extension provides two new texture coordinate generation modes
that are useful texture-based lighting and environme... | 40.142857 | 72 | 0.789324 | 193 | 1,405 | 5.689119 | 0.487047 | 0.054645 | 0.081967 | 0.035519 | 0.230419 | 0.197632 | 0.17122 | 0.17122 | 0.100182 | 0.100182 | 0 | 0 | 0.158007 | 1,405 | 35 | 73 | 40.142857 | 0.928149 | 0.742349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 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 |
b0e03cebbed5343754d8db8399337e948a6285bd | 100 | py | Python | Utilities/Scripts/SlicerWizard/__version__.py | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Utilities/Scripts/SlicerWizard/__version__.py | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Utilities/Scripts/SlicerWizard/__version__.py | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | __version_info__ = (
4,
11,
0,
"dev0"
)
__version__ = ".".join(map(str, __version_info__))
| 11.111111 | 50 | 0.61 | 12 | 100 | 3.916667 | 0.75 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063291 | 0.21 | 100 | 8 | 51 | 12.5 | 0.531646 | 0 | 0 | 0 | 0 | 0 | 0.05 | 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 |
b0e2a9a28540d494b54bb60f82b5623b2fe2d253 | 726 | py | Python | koku/reporting_common/migrations/0022_auto_20200505_1707.py | cgoodfred/koku | f1de8bc90d6a818c4f77af710cafe50dc1274700 | [
"Apache-2.0"
] | 2 | 2022-01-12T03:42:39.000Z | 2022-01-12T03:42:40.000Z | koku/reporting_common/migrations/0022_auto_20200505_1707.py | cgoodfred/koku | f1de8bc90d6a818c4f77af710cafe50dc1274700 | [
"Apache-2.0"
] | null | null | null | koku/reporting_common/migrations/0022_auto_20200505_1707.py | cgoodfred/koku | f1de8bc90d6a818c4f77af710cafe50dc1274700 | [
"Apache-2.0"
] | 1 | 2021-07-21T09:33:59.000Z | 2021-07-21T09:33:59.000Z | # Generated by Django 2.2.12 on 2020-05-05 17:07
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("reporting_common", "0021_delete_reportcolumnmap")]
operations = [
migrations.RunSQL(
"""
DROP TABLE IF EXISTS "worker_cache_table";
... | 31.565217 | 90 | 0.599174 | 80 | 726 | 5.2375 | 0.5625 | 0.131265 | 0.190931 | 0.164678 | 0.114558 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046185 | 0.31405 | 726 | 22 | 91 | 33 | 0.795181 | 0.063361 | 0 | 0 | 1 | 0 | 0.191111 | 0.12 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b0f918f34a159a1947382c2f8d2c0719de094cd7 | 435 | py | Python | test/inserted_test.py | screamingskulls/sofi | 1d75bc97683151864f8a4cafb59ef8e50de63ee4 | [
"MIT"
] | 402 | 2016-04-05T23:11:07.000Z | 2022-02-22T21:10:49.000Z | test/inserted_test.py | screamingskulls/sofi | 1d75bc97683151864f8a4cafb59ef8e50de63ee4 | [
"MIT"
] | 87 | 2016-03-31T00:09:39.000Z | 2021-02-22T04:49:25.000Z | test/inserted_test.py | screamingskulls/sofi | 1d75bc97683151864f8a4cafb59ef8e50de63ee4 | [
"MIT"
] | 54 | 2016-03-31T00:10:33.000Z | 2021-06-23T21:38:36.000Z | from sofi.ui import Inserted
def test_basic():
assert(str(Inserted()) == "<ins></ins>")
def test_text():
assert(str(Inserted("text")) == "<ins>text</ins>")
def test_custom_class_ident_style_and_attrs():
assert(str(Inserted("text", cl='abclass', ident='123', style="font-size:0.9em;", attrs={"data-test": '... | 36.25 | 113 | 0.622989 | 63 | 435 | 4.174603 | 0.444444 | 0.079848 | 0.193916 | 0.159696 | 0.129278 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026247 | 0.124138 | 435 | 11 | 114 | 39.545455 | 0.664042 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | true | 0 | 0.125 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b0fe0bf70d2a637c11bdfe3a77b54000d43402a4 | 329 | py | Python | website.py | 85599/power-napp | ffd3792fb77419c5385e6221937ff4d0933c2fa8 | [
"MIT"
] | 2 | 2019-02-26T13:09:44.000Z | 2020-01-03T20:43:19.000Z | website.py | 85599/power-napp | ffd3792fb77419c5385e6221937ff4d0933c2fa8 | [
"MIT"
] | 7 | 2019-02-19T15:48:54.000Z | 2019-03-11T12:59:16.000Z | website.py | 85599/power-napp | ffd3792fb77419c5385e6221937ff4d0933c2fa8 | [
"MIT"
] | null | null | null | from flask import Flask, render_template, request, redirect, session
app = Flask(__name__)
@app.route('/',methods=['GET','POST'])
def website():
if request.method=="GET":
return render_template('index.html')
else:
return render_template('index.html')
if __name__ == '__main__':
app.run(de... | 23.5 | 68 | 0.668693 | 41 | 329 | 5 | 0.634146 | 0.204878 | 0.195122 | 0.243902 | 0.282927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173252 | 329 | 14 | 69 | 23.5 | 0.753676 | 0 | 0 | 0.2 | 0 | 0 | 0.118182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.4 | 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 |
7c03fc4cfc13be3a6c115915786c874d64f01677 | 147 | py | Python | income_expense_tracker/dashboard/urls.py | gokul-sarath07/Nymblelabs-Expence-Tracker | 3af1a9c464173720fd16d158a102559b2b7d0668 | [
"MIT"
] | null | null | null | income_expense_tracker/dashboard/urls.py | gokul-sarath07/Nymblelabs-Expence-Tracker | 3af1a9c464173720fd16d158a102559b2b7d0668 | [
"MIT"
] | null | null | null | income_expense_tracker/dashboard/urls.py | gokul-sarath07/Nymblelabs-Expence-Tracker | 3af1a9c464173720fd16d158a102559b2b7d0668 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
"""Url pattern for dashboard view."""
urlpatterns = [
path('', views.index, name="home"),
]
| 16.333333 | 39 | 0.666667 | 19 | 147 | 5.157895 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176871 | 147 | 8 | 40 | 18.375 | 0.809917 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 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 |
9fd4b46a2d1e0154be6eff737905f37609ca203a | 243 | py | Python | bounca/templatetags/templatetags/version_tags.py | warthog9/bounca | f83a372fcfa6e9874c81c785fd0ebdb49842eba3 | [
"Apache-2.0"
] | null | null | null | bounca/templatetags/templatetags/version_tags.py | warthog9/bounca | f83a372fcfa6e9874c81c785fd0ebdb49842eba3 | [
"Apache-2.0"
] | null | null | null | bounca/templatetags/templatetags/version_tags.py | warthog9/bounca | f83a372fcfa6e9874c81c785fd0ebdb49842eba3 | [
"Apache-2.0"
] | null | null | null | """Version template tag"""
from django import template
from django.utils.version import get_version
from bounca import VERSION
register = template.Library()
@register.simple_tag
def bounca_version():
return str(get_version(VERSION))
| 16.2 | 44 | 0.777778 | 32 | 243 | 5.78125 | 0.46875 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 243 | 14 | 45 | 17.357143 | 0.880952 | 0.082305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.714286 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
9fd8bee947059ff7dbd6259fdd55b7464d98a37a | 150 | py | Python | Lesson12/f1.py | shinkai-tester/python_beginner | a934328c9a50241cc3f02a423060e16aab53b425 | [
"Apache-2.0"
] | 2 | 2021-06-01T13:24:04.000Z | 2021-06-01T13:27:47.000Z | Lesson12/f1.py | shinkai-tester/python_beginner | a934328c9a50241cc3f02a423060e16aab53b425 | [
"Apache-2.0"
] | null | null | null | Lesson12/f1.py | shinkai-tester/python_beginner | a934328c9a50241cc3f02a423060e16aab53b425 | [
"Apache-2.0"
] | null | null | null | try:
f = open('f.txt', 'r')
except FileNotFoundError:
f = open('f.txt', 'w')
else:
text = f.read()
print(text)
finally:
f.close()
| 15 | 26 | 0.54 | 22 | 150 | 3.681818 | 0.636364 | 0.123457 | 0.148148 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253333 | 150 | 9 | 27 | 16.666667 | 0.723214 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 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 |
9fef9c5349fe69241ca0a0775277e5934c954140 | 4,770 | py | Python | cd4ml/feature_set.py | camila-contreras/CD4ML-Scenarios | 806f812990c7cf33b5f78456f0065012b5b4cd35 | [
"MIT"
] | 113 | 2020-03-31T20:36:39.000Z | 2022-01-11T15:06:58.000Z | cd4ml/feature_set.py | camila-contreras/CD4ML-Scenarios | 806f812990c7cf33b5f78456f0065012b5b4cd35 | [
"MIT"
] | 7 | 2020-06-10T05:11:35.000Z | 2022-01-06T02:55:21.000Z | cd4ml/feature_set.py | camila-contreras/CD4ML-Scenarios | 806f812990c7cf33b5f78456f0065012b5b4cd35 | [
"MIT"
] | 260 | 2020-03-21T19:42:26.000Z | 2022-01-25T22:08:36.000Z | import logging
def _exclude(fields, excluded):
return [field for field in fields if field not in excluded]
def _combine_dicts(*args):
results = {}
for arg in args:
results.update(arg)
return results
class FeatureSetBase:
"""
Generic interface for feature sets
"""
def __ini... | 37.265625 | 108 | 0.71761 | 569 | 4,770 | 5.648506 | 0.140598 | 0.125389 | 0.082141 | 0.072806 | 0.560983 | 0.357498 | 0.299627 | 0.205663 | 0.178283 | 0.14468 | 0 | 0 | 0.200629 | 4,770 | 127 | 109 | 37.559055 | 0.842906 | 0.027254 | 0 | 0.070588 | 0 | 0 | 0.072495 | 0.052153 | 0 | 0 | 0 | 0.007874 | 0.023529 | 1 | 0.294118 | false | 0 | 0.011765 | 0.164706 | 0.6 | 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 |
9fefe0e36d0411bef13016fd6f0a786ce18faf06 | 1,595 | py | Python | tests/fqe_operator_test.py | MichaelBroughton/OpenFermion-FQE | b0c041d3284d9ce6523295b2a4cf17a8e6b37190 | [
"Apache-2.0"
] | 33 | 2021-03-08T19:35:45.000Z | 2022-03-09T10:18:56.000Z | tests/fqe_operator_test.py | MichaelBroughton/OpenFermion-FQE | b0c041d3284d9ce6523295b2a4cf17a8e6b37190 | [
"Apache-2.0"
] | 32 | 2021-03-07T04:41:52.000Z | 2022-03-10T00:05:22.000Z | tests/fqe_operator_test.py | MichaelBroughton/OpenFermion-FQE | b0c041d3284d9ce6523295b2a4cf17a8e6b37190 | [
"Apache-2.0"
] | 14 | 2021-03-19T23:51:00.000Z | 2022-01-03T20:57:42.000Z | # Copyright 2020 Google LLC
# 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... | 33.93617 | 81 | 0.659561 | 197 | 1,595 | 5.319797 | 0.532995 | 0.057252 | 0.024809 | 0.030534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01495 | 0.245141 | 1,595 | 46 | 82 | 34.673913 | 0.855482 | 0.477116 | 0 | 0 | 0 | 0 | 0.07868 | 0.063452 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.210526 | false | 0 | 0.105263 | 0.157895 | 0.526316 | 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 |
9ff577dfedc3857dac2968dd4dd3cb530cdc10c9 | 15,750 | py | Python | src/main.py | SimonK1/Zen-Garden-Evolutionary-Algorithm | 7be91fa896966ac9e769dd53df3972126fc4ea88 | [
"MIT"
] | null | null | null | src/main.py | SimonK1/Zen-Garden-Evolutionary-Algorithm | 7be91fa896966ac9e769dd53df3972126fc4ea88 | [
"MIT"
] | null | null | null | src/main.py | SimonK1/Zen-Garden-Evolutionary-Algorithm | 7be91fa896966ac9e769dd53df3972126fc4ea88 | [
"MIT"
] | null | null | null | import random
import copy
import sys
test1 = [
[00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00],
[00, 00, 00, 00, 00, -1, 00, 00, 00, 00, 00, 00],
[00, -1, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00],
[00, 00, 00, 00, -1, 00, 00, 00, 00, 00, 00, 00],
[00, 00, -1, 00, 00, 00, 00, 00... | 32.407407 | 112 | 0.494794 | 1,962 | 15,750 | 3.756371 | 0.124873 | 0.256716 | 0.367978 | 0.467843 | 0.475441 | 0.447761 | 0.425237 | 0.4019 | 0.391588 | 0.372049 | 0 | 0.123755 | 0.375111 | 15,750 | 485 | 113 | 32.474227 | 0.625076 | 0.117778 | 0 | 0.493113 | 0 | 0 | 0.075555 | 0.032391 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063361 | false | 0 | 0.008264 | 0 | 0.088154 | 0.101928 | 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 |
b00ce13884be7484ae7ac960f7fe21480353b43f | 12,681 | py | Python | custom/icds_reports/tests/agg_tests/reports/test_poshan_progress_dashboard_data.py | tobiasmcnulty/commcare-hq | 234aa1fba98a96de1b625bbd70b2066fc877eed1 | [
"BSD-3-Clause"
] | 1 | 2020-07-14T13:00:23.000Z | 2020-07-14T13:00:23.000Z | custom/icds_reports/tests/agg_tests/reports/test_poshan_progress_dashboard_data.py | tobiasmcnulty/commcare-hq | 234aa1fba98a96de1b625bbd70b2066fc877eed1 | [
"BSD-3-Clause"
] | null | null | null | custom/icds_reports/tests/agg_tests/reports/test_poshan_progress_dashboard_data.py | tobiasmcnulty/commcare-hq | 234aa1fba98a96de1b625bbd70b2066fc877eed1 | [
"BSD-3-Clause"
] | null | null | null | from django.test import TestCase
from custom.icds_reports.reports.poshan_progress_dashboard_data import get_poshan_progress_dashboard_data
class TestPPDData(TestCase):
def test_get_ppr_data_comparative_month(self):
self.maxDiff = None
data = get_poshan_progress_dashboard_data(
'icds-... | 62.777228 | 116 | 0.296112 | 810 | 12,681 | 4.575309 | 0.185185 | 0.12952 | 0.038856 | 0.094981 | 0.902321 | 0.82326 | 0.631139 | 0.54911 | 0.490556 | 0.464652 | 0 | 0.073233 | 0.569277 | 12,681 | 201 | 117 | 63.089552 | 0.605273 | 0 | 0 | 0.632124 | 0 | 0 | 0.267802 | 0 | 0 | 0 | 0 | 0 | 0.020725 | 1 | 0.020725 | false | 0 | 0.010363 | 0 | 0.036269 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
b0222ac353d0b474b6ce9c97c154119496501fce | 117 | py | Python | simplecommit/__init__.py | lightningchen34/simplecommit | 6bef4b83e21ae4837448405522caf8be49168e4e | [
"MIT"
] | null | null | null | simplecommit/__init__.py | lightningchen34/simplecommit | 6bef4b83e21ae4837448405522caf8be49168e4e | [
"MIT"
] | null | null | null | simplecommit/__init__.py | lightningchen34/simplecommit | 6bef4b83e21ae4837448405522caf8be49168e4e | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .commit import *
name = "simplecommit"
if __name__=="__main__":
run()
| 14.625 | 38 | 0.752137 | 14 | 117 | 5.357143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 117 | 7 | 39 | 16.714286 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.17094 | 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 |
b0300eba1a56c01d669c6d435ca16fb2c94a83c7 | 359 | py | Python | {{cookiecutter.project_name}}/template_minimal/app/schemas/requests.py | rafsaf/respo-fastapi-template | 1225637fe9301b76670fa84ebe96263e7e7676a7 | [
"MIT"
] | 75 | 2021-11-11T14:38:22.000Z | 2022-03-31T14:25:40.000Z | {{cookiecutter.project_name}}/template_minimal/app/schemas/requests.py | rafsaf/respo-fastapi-template | 1225637fe9301b76670fa84ebe96263e7e7676a7 | [
"MIT"
] | 2 | 2021-11-24T16:45:42.000Z | 2022-01-30T14:20:38.000Z | {{cookiecutter.project_name}}/template_minimal/app/schemas/requests.py | rafsaf/respo-fastapi-template | 1225637fe9301b76670fa84ebe96263e7e7676a7 | [
"MIT"
] | 9 | 2021-11-11T14:38:27.000Z | 2022-03-04T01:47:38.000Z | from pydantic import BaseModel, EmailStr
class BaseRequest(BaseModel):
# may define additional fields or config shared across requests
pass
class RefreshTokenRequest(BaseRequest):
refresh_token: str
class UserUpdatePasswordRequest(BaseRequest):
password: str
class UserCreateRequest(BaseRequest):... | 17.95 | 67 | 0.771588 | 36 | 359 | 7.666667 | 0.694444 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178273 | 359 | 19 | 68 | 18.894737 | 0.935593 | 0.169916 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.1 | 0 | 0.9 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b031e4a7f73376a96a3bc55ca1c8050af4c33306 | 477 | py | Python | transposition_cyphers/onetimepad.py | MahatKC/Daniao | 491bbbb3b37a3e5194e5efe2b5da353fb9d53a05 | [
"Apache-2.0"
] | 2 | 2021-06-25T21:18:50.000Z | 2021-06-28T14:55:46.000Z | transposition_cyphers/onetimepad.py | MahatKC/Daniao | 491bbbb3b37a3e5194e5efe2b5da353fb9d53a05 | [
"Apache-2.0"
] | null | null | null | transposition_cyphers/onetimepad.py | MahatKC/Daniao | 491bbbb3b37a3e5194e5efe2b5da353fb9d53a05 | [
"Apache-2.0"
] | null | null | null | def modulo_sum(x,y):
return (x+y)%26
def alphabet_position(char):
return ord(char.lower())-97
def character_sum(a,b):
new_char_index = modulo_sum(alphabet_position(a),alphabet_position(b))
return chr(new_char_index+97)
def one_time_pad(plaintext, cypher):
cyphertext = "".join([character_sum(plain... | 28.058824 | 108 | 0.708595 | 75 | 477 | 4.2 | 0.493333 | 0.152381 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017115 | 0.142558 | 477 | 17 | 109 | 28.058824 | 0.753056 | 0 | 0 | 0 | 0 | 0 | 0.029289 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.153846 | 0.615385 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b047be32b79e0ed9cfbd93ef74953d7096a23e19 | 657 | py | Python | model/contact.py | OlegM8/python_training | 4479fa15cf5fec6f808a0fb0baaa2cf0a482d187 | [
"Apache-2.0"
] | null | null | null | model/contact.py | OlegM8/python_training | 4479fa15cf5fec6f808a0fb0baaa2cf0a482d187 | [
"Apache-2.0"
] | null | null | null | model/contact.py | OlegM8/python_training | 4479fa15cf5fec6f808a0fb0baaa2cf0a482d187 | [
"Apache-2.0"
] | null | null | null | from sys import maxsize
class Contact:
def __init__(self, f_name=None, l_name=None, company=None, id=None, info=None, phone=None):
self.f_name = f_name
self.l_name = l_name
self.company = company
self.id = id
self.info = info
self.phone = phone
def __repr__(s... | 26.28 | 103 | 0.589041 | 101 | 657 | 3.623762 | 0.287129 | 0.098361 | 0.07377 | 0.054645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296804 | 657 | 25 | 104 | 26.28 | 0.792208 | 0 | 0 | 0 | 0 | 0 | 0.016717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.055556 | 0.111111 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b063dcbfaa5912af8ed546d014b89de62c1438fb | 92 | py | Python | HAFTA-2/DERS-5/1.py | aydan08/Python-Kursu-15.02.21 | a1463501df47cacbd7ddd8c6f3aeb93abf1436f6 | [
"MIT"
] | 1 | 2021-03-08T16:16:35.000Z | 2021-03-08T16:16:35.000Z | HAFTA-2/DERS-5/1.py | aydan08/Python-Kursu-15.02.21 | a1463501df47cacbd7ddd8c6f3aeb93abf1436f6 | [
"MIT"
] | null | null | null | HAFTA-2/DERS-5/1.py | aydan08/Python-Kursu-15.02.21 | a1463501df47cacbd7ddd8c6f3aeb93abf1436f6 | [
"MIT"
] | null | null | null | a=input("Sayı Girin:")
a=int(a)
b=input("İkinci Sayı Girin:")
b=int(b)
c=a+b
print(c)
| 13.142857 | 30 | 0.597826 | 22 | 92 | 2.545455 | 0.5 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 6 | 31 | 15.333333 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.337209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 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 |
b06f281d4536093a090200a5122acd66f11064a7 | 130 | py | Python | test/import_it.py | cltl/FrameNetNLTK | 96883447ff006a90becd24bcfdd96ac82d8ec677 | [
"Apache-2.0"
] | 1 | 2020-07-21T08:15:13.000Z | 2020-07-21T08:15:13.000Z | test/import_it.py | cltl/FrameNetNLTK | 96883447ff006a90becd24bcfdd96ac82d8ec677 | [
"Apache-2.0"
] | 2 | 2020-07-14T09:15:34.000Z | 2021-03-31T20:00:29.000Z | test/load_lexicon.py | cltl/FrameNetNLTK | 96883447ff006a90becd24bcfdd96ac82d8ec677 | [
"Apache-2.0"
] | null | null | null | import sys
sys.path.insert(0, '../..')
from FrameNetNLTK import load
my_fn = load(folder='test_lexicon',
verbose=2) | 18.571429 | 35 | 0.646154 | 18 | 130 | 4.555556 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.2 | 130 | 7 | 36 | 18.571429 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.129771 | 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 |
c66d07aa02ced26a7cc02ff5508af001fbffafac | 120 | py | Python | 01_Python_Basico_Intermediario/Aula027/aula27.py | Joao-Inacio/Curso-de-Python3 | 179d85f43f77dced640ffb143a87214538254cf3 | [
"MIT"
] | 1 | 2021-07-19T12:31:49.000Z | 2021-07-19T12:31:49.000Z | 01_Python_Basico_Intermediario/Aula027/aula27.py | Joao-Inacio/Curso-de-Python3 | 179d85f43f77dced640ffb143a87214538254cf3 | [
"MIT"
] | null | null | null | 01_Python_Basico_Intermediario/Aula027/aula27.py | Joao-Inacio/Curso-de-Python3 | 179d85f43f77dced640ffb143a87214538254cf3 | [
"MIT"
] | null | null | null | """
Expressão condicional com operador OR
"""
nome = input('Qual é seu nome: ')
print(nome or 'Você não digitou nada!')
| 20 | 39 | 0.691667 | 18 | 120 | 4.611111 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 120 | 5 | 40 | 24 | 0.83 | 0.308333 | 0 | 0 | 0 | 0 | 0.52 | 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 |
c68581b723d27456044a877831eee0515e724bbb | 9,572 | py | Python | barcodes/dxfwrite/dxfwrite/htmlcolors.py | sbarton272/AcousticBarcodes-Explorations | 73f019228988727575af7d67d1b7c7119f6c49a6 | [
"MIT"
] | 2 | 2018-04-27T22:37:52.000Z | 2019-03-31T01:03:16.000Z | barcodes/dxfwrite/dxfwrite/htmlcolors.py | sbarton272/AcousticBarcodes-Explorations | 73f019228988727575af7d67d1b7c7119f6c49a6 | [
"MIT"
] | null | null | null | barcodes/dxfwrite/dxfwrite/htmlcolors.py | sbarton272/AcousticBarcodes-Explorations | 73f019228988727575af7d67d1b7c7119f6c49a6 | [
"MIT"
] | 1 | 2019-03-31T01:03:17.000Z | 2019-03-31T01:03:17.000Z | capitalized_html_colors = {
"Blue": (
0,
0,
255
),
"Pink": (
255,
192,
203
),
"Darkorange": (
255,
140,
0
),
"Fuchsia": (
255,
0,
255
),
"LawnGreen": (
124,
252,
0
... | 12.882907 | 104 | 0.286043 | 633 | 9,572 | 4.300158 | 0.469194 | 0.006613 | 0.023145 | 0.011756 | 0.038207 | 0.038207 | 0.038207 | 0.038207 | 0.038207 | 0.038207 | 0 | 0.297646 | 0.587234 | 9,572 | 742 | 105 | 12.90027 | 0.391293 | 0.010029 | 0 | 0.636486 | 0 | 0 | 0.138153 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001351 | false | 0 | 0 | 0.001351 | 0.002703 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c6c68d2fcbc63c72c7a3c93205cf020a3201b4a2 | 6,228 | py | Python | src/basic/go_cache.py | invokerrrr/alphago_weak | 8e5e1aa2a287229b23ede0a6b105ff37253abe10 | [
"MIT"
] | null | null | null | src/basic/go_cache.py | invokerrrr/alphago_weak | 8e5e1aa2a287229b23ede0a6b105ff37253abe10 | [
"MIT"
] | null | null | null | src/basic/go_cache.py | invokerrrr/alphago_weak | 8e5e1aa2a287229b23ede0a6b105ff37253abe10 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from os import path, getcwd, makedirs, listdir, remove
from typing import *
import pickle
from abc import ABCMeta, abstractmethod
from sgfmill.sgf import Sgf_game
import numpy as np
from .go_types import *
__all__ = ["set_cache_dir", "get_cache_dir", "get_game_dir", "get_archive_dir",
... | 29.516588 | 108 | 0.630861 | 828 | 6,228 | 4.52657 | 0.182367 | 0.042689 | 0.024013 | 0.02428 | 0.41222 | 0.383938 | 0.320971 | 0.284685 | 0.270011 | 0.239328 | 0 | 0.002329 | 0.241651 | 6,228 | 210 | 109 | 29.657143 | 0.791234 | 0.061496 | 0 | 0.319444 | 0 | 0 | 0.028169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.256944 | false | 0.020833 | 0.048611 | 0.111111 | 0.527778 | 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 |
c6e2306f384af1d24ebe23d48be58e488247ef47 | 109 | py | Python | pasta para baixar/netcha/exr47 contagem de pares.py | vany-oss/python | f687d9cd798af7038d9ce963e5e7ba167010331a | [
"MIT"
] | null | null | null | pasta para baixar/netcha/exr47 contagem de pares.py | vany-oss/python | f687d9cd798af7038d9ce963e5e7ba167010331a | [
"MIT"
] | null | null | null | pasta para baixar/netcha/exr47 contagem de pares.py | vany-oss/python | f687d9cd798af7038d9ce963e5e7ba167010331a | [
"MIT"
] | null | null | null | for c in range(2, 51, 2):
print(c, end=' ')
print('Acabou')
#pg que faz uma contagem de 2 em 2 ebtre 1 a 50 | 21.8 | 47 | 0.633028 | 25 | 109 | 2.76 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 0.220183 | 109 | 5 | 47 | 21.8 | 0.705882 | 0.422018 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 |
c6f60a17ef36a1844a75f985d473f9e9b9aa8b10 | 2,497 | py | Python | src/bxgateway/messages/ont/ont_message_factory.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 21 | 2019-11-06T17:37:41.000Z | 2022-03-28T07:18:33.000Z | src/bxgateway/messages/ont/ont_message_factory.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 4 | 2019-11-06T22:08:00.000Z | 2021-12-08T06:20:51.000Z | src/bxgateway/messages/ont/ont_message_factory.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 10 | 2020-08-05T15:58:16.000Z | 2022-02-07T23:51:10.000Z | from typing import Type
from bxcommon.messages.abstract_message import AbstractMessage
from bxcommon.messages.abstract_message_factory import AbstractMessageFactory
from bxgateway.messages.ont.addr_ont_message import AddrOntMessage
from bxgateway.messages.ont.block_ont_message import BlockOntMessage
from bxgateway.mes... | 48.019231 | 79 | 0.829395 | 261 | 2,497 | 7.666667 | 0.226054 | 0.089955 | 0.178411 | 0.203898 | 0.122939 | 0.033983 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119744 | 2,497 | 51 | 80 | 48.960784 | 0.910373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.454545 | 0.022727 | 0.568182 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
059d046e802d46794aba758490a851253db489a5 | 159 | py | Python | src/moodlesheet/contactsheet/__init__.py | fstwn/moodlesheet | 62b1ba407ba149fbc25247569f44247c41b5d5b9 | [
"MIT"
] | 10 | 2019-02-16T22:33:36.000Z | 2022-02-11T09:08:27.000Z | src/moodlesheet/contactsheet/__init__.py | fstwn/moodlesheet | 62b1ba407ba149fbc25247569f44247c41b5d5b9 | [
"MIT"
] | 1 | 2021-11-15T17:47:28.000Z | 2021-11-15T17:47:28.000Z | src/moodlesheet/contactsheet/__init__.py | fstwn/moodlesheet | 62b1ba407ba149fbc25247569f44247c41b5d5b9 | [
"MIT"
] | 4 | 2019-07-15T01:22:46.000Z | 2021-09-09T18:43:00.000Z | # -*- coding: utf-8 -*-
"""Top-level package for contactsheet."""
__author__ = """Paul Butcher"""
__email__ = 'paul.butcher@gmail.com'
__version__ = '0.1.0'
| 19.875 | 41 | 0.647799 | 20 | 159 | 4.55 | 0.85 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.132075 | 159 | 7 | 42 | 22.714286 | 0.630435 | 0.36478 | 0 | 0 | 0 | 0 | 0.410526 | 0.231579 | 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 |
05b7f0ddcb048e6e651e07ba843e1085d1af40d9 | 690 | py | Python | cli/core/path.py | morajlab/mjw-cli | 4fa50ddd92a8c696af3e35bdff04a0b93e3cccf8 | [
"MIT"
] | null | null | null | cli/core/path.py | morajlab/mjw-cli | 4fa50ddd92a8c696af3e35bdff04a0b93e3cccf8 | [
"MIT"
] | null | null | null | cli/core/path.py | morajlab/mjw-cli | 4fa50ddd92a8c696af3e35bdff04a0b93e3cccf8 | [
"MIT"
] | null | null | null | import os
def getRootPath():
return os.path.abspath(os.path.join(os.path.dirname(__file__), "..", ".."))
def getProjectAbsPath(*path):
return os.path.join(getRootPath(), *path)
def getCachePath(*path):
return getProjectAbsPath(".cache", *path)
def getTemplatePath(*path):
return getProjectAbsPath... | 20.909091 | 79 | 0.682609 | 78 | 690 | 5.974359 | 0.358974 | 0.090129 | 0.077253 | 0.081545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156522 | 690 | 32 | 80 | 21.5625 | 0.800687 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0 | 0.055556 | 0.333333 | 0.888889 | 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 |
05bfd9dc206173d30c5d189e972865782cf685b7 | 268 | py | Python | strategies/tools.py | logpy/strategies | f23e3bcc9e48c5de2a0c7d8357845e641787c438 | [
"BSD-3-Clause"
] | 13 | 2015-01-31T20:22:44.000Z | 2018-12-29T10:13:31.000Z | strategies/tools.py | logpy/strategies | f23e3bcc9e48c5de2a0c7d8357845e641787c438 | [
"BSD-3-Clause"
] | 10 | 2015-05-20T22:41:21.000Z | 2021-12-28T20:54:09.000Z | strategies/tools.py | logpy/strategies | f23e3bcc9e48c5de2a0c7d8357845e641787c438 | [
"BSD-3-Clause"
] | 2 | 2015-05-22T07:20:45.000Z | 2017-07-09T12:40:04.000Z | from __future__ import print_function, division
from .core import do_one, exhaust, switch
def typed(ruletypes):
"""Apply rules based on the expression type
inputs:
ruletypes -- a dict mapping {Type: rule}
"""
return switch(type, ruletypes)
| 20.615385 | 48 | 0.69403 | 34 | 268 | 5.294118 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223881 | 268 | 12 | 49 | 22.333333 | 0.865385 | 0.350746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 1 | 0.25 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
05c7e2728bf1e4cd67f0b9f2203feb3127d9a6e6 | 145,199 | py | Python | release/stubs.min/Wms/RemotingImplementation/__init__.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/Wms/RemotingImplementation/__init__.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/Wms/RemotingImplementation/__init__.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | # encoding: utf-8
# module Wms.RemotingImplementation calls itself RemotingImplementation
# from Wms.RemotingImplementation,Version=1.23.1.0,Culture=neutral,PublicKeyToken=null
# by generator 1.145
# no doc
# no important
from System.Collections.Generic import *
from ..__init__ import *
# no functions
# clas... | 47.621843 | 294 | 0.751589 | 12,968 | 145,199 | 8.341456 | 0.127545 | 0.045945 | 0.007525 | 0.009485 | 0.327266 | 0.293745 | 0.246912 | 0.233563 | 0.208668 | 0.165976 | 0 | 0.000427 | 0.129216 | 145,199 | 3,048 | 295 | 47.637467 | 0.855114 | 0.559494 | 0 | 0.515014 | 0 | 0 | 0.018642 | 0.011009 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444759 | false | 0.431161 | 0.001133 | 0 | 0.534278 | 0.007932 | 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 |
05e71dc89e1b14f798823d0194c8c371d5fa3ee3 | 166 | py | Python | utils/admin.py | drx/archfinch | 836534302cd6d3d63fa65eb8d66ed642f0e72228 | [
"MIT"
] | 1 | 2015-11-12T19:13:20.000Z | 2015-11-12T19:13:20.000Z | utils/admin.py | drx/archfinch | 836534302cd6d3d63fa65eb8d66ed642f0e72228 | [
"MIT"
] | null | null | null | utils/admin.py | drx/archfinch | 836534302cd6d3d63fa65eb8d66ed642f0e72228 | [
"MIT"
] | null | null | null | from django.contrib import admin
def raw_id_fields_admin(*args):
fields = args
class cls(admin.ModelAdmin):
raw_id_fields = fields
return cls
| 15.090909 | 32 | 0.692771 | 23 | 166 | 4.782609 | 0.608696 | 0.090909 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240964 | 166 | 10 | 33 | 16.6 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
05e8ed2bb2a09b5b1d5b555f25769918e448eeb6 | 233 | py | Python | yyxutils/__init__.py | yanyuxiangToday/yyxutils | e103782bdb00b18e5fcaeeda12d013016ff286a1 | [
"MIT"
] | null | null | null | yyxutils/__init__.py | yanyuxiangToday/yyxutils | e103782bdb00b18e5fcaeeda12d013016ff286a1 | [
"MIT"
] | null | null | null | yyxutils/__init__.py | yanyuxiangToday/yyxutils | e103782bdb00b18e5fcaeeda12d013016ff286a1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''
@Time : 2021/08/08
@Author : Yanyuxiang
@Email : yanyuxiangtoday@163.com
@FileName: __init__.py
@Software: PyCharm
'''
from . import list
from . import video
from . import file
from .utils import *
| 16.642857 | 34 | 0.665236 | 30 | 233 | 5.033333 | 0.766667 | 0.198676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063158 | 0.184549 | 233 | 13 | 35 | 17.923077 | 0.731579 | 0.613734 | 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 |
05f1c163bc91a49959a6eef775b969c052156a44 | 199 | py | Python | Algorithm/BasicAlgorithm/ArrayAndSort/select_sort.py | hqzhang83/Everything101 | 88b42902cb96e87fd44a3be60624ec919326e369 | [
"Apache-2.0"
] | null | null | null | Algorithm/BasicAlgorithm/ArrayAndSort/select_sort.py | hqzhang83/Everything101 | 88b42902cb96e87fd44a3be60624ec919326e369 | [
"Apache-2.0"
] | null | null | null | Algorithm/BasicAlgorithm/ArrayAndSort/select_sort.py | hqzhang83/Everything101 | 88b42902cb96e87fd44a3be60624ec919326e369 | [
"Apache-2.0"
] | null | null | null | def selectSort(nums):
l = len(nums)
for i in range(l):
for j in range(i + 1, l):
if nums[j] < nums[i]:
nums[i], nums[j] = nums[j], nums[i]
return nums
| 24.875 | 51 | 0.467337 | 33 | 199 | 2.818182 | 0.393939 | 0.16129 | 0.290323 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.376884 | 199 | 7 | 52 | 28.428571 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 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 |
af324d2c4ee85854dfbb7fa446d29fd37e0ca747 | 224 | py | Python | output/models/nist_data/list_pkg/name/schema_instance/nistschema_sv_iv_list_name_length_3_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/name/schema_instance/nistschema_sv_iv_list_name_length_3_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/name/schema_instance/nistschema_sv_iv_list_name_length_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.list_pkg.name.schema_instance.nistschema_sv_iv_list_name_length_3_xsd.nistschema_sv_iv_list_name_length_3 import NistschemaSvIvListNameLength3
__all__ = [
"NistschemaSvIvListNameLength3",
]
| 37.333333 | 171 | 0.879464 | 29 | 224 | 6.103448 | 0.655172 | 0.135593 | 0.158192 | 0.20339 | 0.327684 | 0.327684 | 0.327684 | 0 | 0 | 0 | 0 | 0.019048 | 0.0625 | 224 | 5 | 172 | 44.8 | 0.82381 | 0 | 0 | 0 | 0 | 0 | 0.129464 | 0.129464 | 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 |
af345eeae826376d564f52f4a0dd0b1b67ef2a57 | 1,391 | py | Python | app/models/user.py | nickobrad/blogs | 4e3c74af42aa54ee70f030bd7fc8ea7993e47f48 | [
"MIT"
] | null | null | null | app/models/user.py | nickobrad/blogs | 4e3c74af42aa54ee70f030bd7fc8ea7993e47f48 | [
"MIT"
] | null | null | null | app/models/user.py | nickobrad/blogs | 4e3c74af42aa54ee70f030bd7fc8ea7993e47f48 | [
"MIT"
] | null | null | null | from .. import db
from flask_login import UserMixin, login_manager, LoginManager
from werkzeug.security import generate_password_hash, check_password_hash
from .. import login_manager
from datetime import date, datetime
@login_manager.user_loader
def load_user(id):
return User.query.get(int(id))
class User(UserMi... | 34.775 | 102 | 0.714594 | 181 | 1,391 | 5.314917 | 0.403315 | 0.066528 | 0.08316 | 0.116424 | 0.139293 | 0.060291 | 0.060291 | 0 | 0 | 0 | 0 | 0.015652 | 0.173257 | 1,391 | 40 | 103 | 34.775 | 0.82087 | 0 | 0 | 0 | 1 | 0 | 0.065374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0.28125 | 0.15625 | 0.0625 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
af38ae13104f1750d95723d9abfdd2392e350f07 | 1,542 | py | Python | packages/pyright-internal/src/tests/samples/paramSpec19.py | kihoonim/pyright | d60978f632af080f3f1100f2c0ddf94e286f2baf | [
"MIT"
] | 1 | 2021-12-16T14:59:24.000Z | 2021-12-16T14:59:24.000Z | packages/pyright-internal/src/tests/samples/paramSpec19.py | kihoonim/pyright | d60978f632af080f3f1100f2c0ddf94e286f2baf | [
"MIT"
] | null | null | null | packages/pyright-internal/src/tests/samples/paramSpec19.py | kihoonim/pyright | d60978f632af080f3f1100f2c0ddf94e286f2baf | [
"MIT"
] | null | null | null | # This sample tests the case where a ParamSpec is used within a generic
# type alias with a Callable.
from typing import Any, Callable, Generic, Protocol
from typing_extensions import Concatenate, ParamSpec
P = ParamSpec("P")
# Example 1: Callable generic type alias
CommandHandler1 = Callable[Concatenate[int, P], d... | 23.723077 | 76 | 0.651751 | 176 | 1,542 | 5.636364 | 0.301136 | 0.066532 | 0.092742 | 0.081653 | 0.320565 | 0.268145 | 0.076613 | 0 | 0 | 0 | 0 | 0.03005 | 0.223087 | 1,542 | 64 | 77 | 24.09375 | 0.797997 | 0.107004 | 0 | 0.333333 | 0 | 0 | 0.000729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.055556 | 0.111111 | 0.638889 | 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 |
af39a6d70cfbb46cd71f7de785cff7946d8eca1d | 3,140 | py | Python | app/core/serializers.py | jblanquicett92/activo-django-docker-postgres | 27a57b9afcf1579fe6d12006890c7754f0bb32de | [
"MIT"
] | null | null | null | app/core/serializers.py | jblanquicett92/activo-django-docker-postgres | 27a57b9afcf1579fe6d12006890c7754f0bb32de | [
"MIT"
] | null | null | null | app/core/serializers.py | jblanquicett92/activo-django-docker-postgres | 27a57b9afcf1579fe6d12006890c7754f0bb32de | [
"MIT"
] | null | null | null | from django.contrib.auth import get_user_model
from django.contrib.auth import authenticate
from django.utils.translation import ugettext_lazy as _
from rest_framework import serializers
from .models import Departamento, EstatusUsuario, Historial_Turno, Idioma, Puesto, Scope, Tipo_Rol, Rol
from .models import Departam... | 25.528455 | 103 | 0.670382 | 307 | 3,140 | 6.602606 | 0.315961 | 0.057721 | 0.183522 | 0.207203 | 0.395165 | 0.210656 | 0.045387 | 0.045387 | 0 | 0 | 0 | 0.004209 | 0.243312 | 3,140 | 122 | 104 | 25.737705 | 0.848906 | 0.010828 | 0 | 0.325581 | 0 | 0 | 0.075806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0.069767 | 0.069767 | 0.011628 | 0.476744 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
af44d416246697efee324bb0a7c9176a12dc432c | 387 | py | Python | lib/file_system.py | dhung09/KiteSublime | a25d24e5558b5d81986f4c3a48b6e6abd139790e | [
"BSD-3-Clause"
] | 81 | 2018-11-03T18:13:17.000Z | 2022-03-30T16:24:37.000Z | lib/file_system.py | dhung09/KiteSublime | a25d24e5558b5d81986f4c3a48b6e6abd139790e | [
"BSD-3-Clause"
] | 33 | 2018-10-12T13:19:46.000Z | 2021-02-02T19:07:29.000Z | lib/file_system.py | dhung09/KiteSublime | a25d24e5558b5d81986f4c3a48b6e6abd139790e | [
"BSD-3-Clause"
] | 20 | 2019-04-22T03:11:13.000Z | 2021-12-23T16:35:54.000Z | import sys
if sys.platform == 'darwin':
from ..lib.platform.darwin.file_system import *
elif sys.platform == 'win32':
from ..lib.platform.win32.file_system import *
elif sys.platform in ('linux', 'linux2'):
from ..lib.platform.linux.file_system import *
else:
from ..lib.platform.unsupported.file_system... | 25.8 | 56 | 0.715762 | 55 | 387 | 4.872727 | 0.381818 | 0.104478 | 0.223881 | 0.149254 | 0.231343 | 0.231343 | 0 | 0 | 0 | 0 | 0 | 0.015244 | 0.152455 | 387 | 14 | 57 | 27.642857 | 0.801829 | 0 | 0 | 0 | 0 | 0 | 0.056848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.454545 | 0.090909 | 0.636364 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.