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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a8752ed9d6237cde12a79f2708c866fd7656df0e | 70 | py | Python | ObjectModeling/SnakeAndLadder/SankeAndLadder/Snake.py | riyasyash/CompetitiveProgramming | 9cb5c71a2b4297fa8681f0e380ee7a7bb3ee5b5e | [
"Apache-2.0"
] | null | null | null | ObjectModeling/SnakeAndLadder/SankeAndLadder/Snake.py | riyasyash/CompetitiveProgramming | 9cb5c71a2b4297fa8681f0e380ee7a7bb3ee5b5e | [
"Apache-2.0"
] | 79 | 2019-01-26T10:45:16.000Z | 2022-02-21T22:16:24.000Z | ObjectModeling/SnakeAndLadder/SankeAndLadder/Snake.py | riyasyash/CompetitiveProgramming | 9cb5c71a2b4297fa8681f0e380ee7a7bb3ee5b5e | [
"Apache-2.0"
] | null | null | null | class Snake:
"""
class representing the snake
"""
pass | 14 | 32 | 0.557143 | 7 | 70 | 5.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.342857 | 70 | 5 | 33 | 14 | 0.847826 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a8819e2710dd9ec5a9e5ad89ec4c08de79fa33d8 | 116 | py | Python | tmp006_simpletest.py | caternuson/TMP006 | e209dbf4242068b6ccc30d9bbc046b525ddbc755 | [
"MIT"
] | null | null | null | tmp006_simpletest.py | caternuson/TMP006 | e209dbf4242068b6ccc30d9bbc046b525ddbc755 | [
"MIT"
] | null | null | null | tmp006_simpletest.py | caternuson/TMP006 | e209dbf4242068b6ccc30d9bbc046b525ddbc755 | [
"MIT"
] | null | null | null | import board, busio
import adafruit_tmp006
i2c = busio.I2C(board.SCL, board.SDA)
tmp = adafruit_tmp006.TMP006(i2c) | 19.333333 | 37 | 0.784483 | 18 | 116 | 4.944444 | 0.5 | 0.314607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 0.112069 | 116 | 6 | 38 | 19.333333 | 0.747573 | 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 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
76940790b47b4d8abc79653b9cde06174ce8aa47 | 345 | py | Python | src/elapid/example/face_detector.py | tomjaguarpaw/elapid | e9e9a4b36fa8e7c07f6f559454b911a802597ea0 | [
"MIT"
] | null | null | null | src/elapid/example/face_detector.py | tomjaguarpaw/elapid | e9e9a4b36fa8e7c07f6f559454b911a802597ea0 | [
"MIT"
] | null | null | null | src/elapid/example/face_detector.py | tomjaguarpaw/elapid | e9e9a4b36fa8e7c07f6f559454b911a802597ea0 | [
"MIT"
] | null | null | null | class ExampleFaceDetector:
"""It doesn't really work!"""
def __init__(self, example_parameter):
self.example_parameter = example_parameter
@staticmethod
def detect_faces(_binary_data):
return [((110, 120), (130, 140)),
((220, 240), (230, 250)),
((300, 300... | 28.75 | 50 | 0.55942 | 36 | 345 | 5.083333 | 0.777778 | 0.262295 | 0.218579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.295652 | 345 | 11 | 51 | 31.363636 | 0.604938 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
7696ba395cd91f25232b06e7a6cfd30f13308255 | 131 | py | Python | desafios/des097.py | Ericssm96/python | 764d0d704be685db9e993c4b74d3df78da12cc6f | [
"MIT"
] | null | null | null | desafios/des097.py | Ericssm96/python | 764d0d704be685db9e993c4b74d3df78da12cc6f | [
"MIT"
] | null | null | null | desafios/des097.py | Ericssm96/python | 764d0d704be685db9e993c4b74d3df78da12cc6f | [
"MIT"
] | null | null | null | def campo(txt):
esp = len(txt) + 2
print('~'*esp)
print(f' {txt} ')
print('~'*esp)
campo('eeita porra consegui')
| 14.555556 | 29 | 0.526718 | 18 | 131 | 3.833333 | 0.611111 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.251908 | 131 | 8 | 30 | 16.375 | 0.693878 | 0 | 0 | 0.333333 | 0 | 0 | 0.221374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0.5 | 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 | 1 | 0 | 4 |
76b4a2b26c6f664a3d33558a6150334c5a075689 | 515 | py | Python | djtriggers/managers.py | vikingco/django-triggers | 3928843c7c298f0541f615e3acb280ebf5f59a8f | [
"BSD-3-Clause"
] | 18 | 2017-04-25T10:43:42.000Z | 2021-03-15T08:19:51.000Z | djtriggers/managers.py | vikingco/django-triggers | 3928843c7c298f0541f615e3acb280ebf5f59a8f | [
"BSD-3-Clause"
] | 14 | 2015-12-09T15:46:45.000Z | 2020-11-10T10:34:38.000Z | djtriggers/managers.py | vikingco/django-triggers | 3928843c7c298f0541f615e3acb280ebf5f59a8f | [
"BSD-3-Clause"
] | 6 | 2016-01-25T17:44:57.000Z | 2021-07-25T03:59:15.000Z | from django.db import models
class TriggerManager(models.Manager):
def __init__(self, trigger_type):
super(TriggerManager, self).__init__()
self.trigger_type = trigger_type
def get_queryset(self):
qs = super(TriggerManager, self).get_queryset()
if self.trigger_type:
... | 28.611111 | 58 | 0.681553 | 63 | 515 | 5.222222 | 0.412698 | 0.200608 | 0.182371 | 0.115502 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229126 | 515 | 17 | 59 | 30.294118 | 0.828715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
76b5fc286d9e12258c1cd568b92d12999ba46320 | 83 | py | Python | apps/users/apps.py | TransparentHealth/smh-organization | ca32d1cbb7600e8b22e43e06edab83c323a2404d | [
"Apache-2.0"
] | 3 | 2019-03-03T22:41:00.000Z | 2020-04-16T04:07:07.000Z | apps/users/apps.py | TransparentHealth/smh_app | ca32d1cbb7600e8b22e43e06edab83c323a2404d | [
"Apache-2.0"
] | 112 | 2019-03-04T14:20:50.000Z | 2020-04-29T21:32:07.000Z | apps/users/apps.py | TransparentHealth/smh-organization | ca32d1cbb7600e8b22e43e06edab83c323a2404d | [
"Apache-2.0"
] | 2 | 2019-08-01T13:08:28.000Z | 2019-12-06T15:53:25.000Z | from django.apps import AppConfig
class OrgConfig(AppConfig):
name = 'users'
| 13.833333 | 33 | 0.73494 | 10 | 83 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 34 | 16.6 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.060241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
76c33299861f12c9f3a5ea123c029568dce98516 | 66 | py | Python | week06/lecture/examples/src6/1/mario2.py | uldash/CS50x | c3ee0f42ad514b57a13c3ffbb96238b3ca3730e1 | [
"MIT"
] | null | null | null | week06/lecture/examples/src6/1/mario2.py | uldash/CS50x | c3ee0f42ad514b57a13c3ffbb96238b3ca3730e1 | [
"MIT"
] | null | null | null | week06/lecture/examples/src6/1/mario2.py | uldash/CS50x | c3ee0f42ad514b57a13c3ffbb96238b3ca3730e1 | [
"MIT"
] | 1 | 2020-11-24T23:25:26.000Z | 2020-11-24T23:25:26.000Z | # Prints a row of 4 question marks without a loop
print("?" * 4)
| 16.5 | 49 | 0.666667 | 12 | 66 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.227273 | 66 | 3 | 50 | 22 | 0.823529 | 0.712121 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 4 |
4f2f18b65811901718fbb9d718f153807ba439ed | 599 | py | Python | main.py | doruksahin/gladiatus-bot | a5de9e11d6f43ca8fe85a8302c54a902dc6614ed | [
"MIT"
] | 1 | 2020-08-14T14:54:38.000Z | 2020-08-14T14:54:38.000Z | main.py | doruksahin/gladiatus-bot | a5de9e11d6f43ca8fe85a8302c54a902dc6614ed | [
"MIT"
] | 30 | 2019-06-07T07:24:19.000Z | 2019-06-09T08:20:39.000Z | main.py | doruksahin/gladiatus-bot | a5de9e11d6f43ca8fe85a8302c54a902dc6614ed | [
"MIT"
] | 2 | 2020-05-24T12:20:57.000Z | 2022-01-06T14:03:21.000Z | from utilities.enums.enums import Stats, Areas, ExpeditionAttack
#from utilities.funcs import login
from utilities.funcs_training import train
from utilities.funcs_character import get_stats
from utilities.funcs_dungeon import dungeon_loop
from utilities.funcs_auction import beep_when_decent_item_found
from utilities i... | 37.4375 | 72 | 0.831386 | 82 | 599 | 5.731707 | 0.5 | 0.193617 | 0.191489 | 0.076596 | 0.097872 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.088481 | 599 | 16 | 73 | 37.4375 | 0.838828 | 0.305509 | 0 | 0 | 0 | 0 | 0.019465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 4 |
4f413fe0eb51576edff3723343dcb3b053c5aee4 | 170 | py | Python | instiz/helper.py | Chromadream/instiz | 2a353625ac8ee4ae7aa8465bd1c3d9ae846ea768 | [
"MIT"
] | null | null | null | instiz/helper.py | Chromadream/instiz | 2a353625ac8ee4ae7aa8465bd1c3d9ae846ea768 | [
"MIT"
] | 174 | 2018-11-23T08:12:36.000Z | 2021-07-29T19:16:27.000Z | instiz/helper.py | Chromadream/instiz | 2a353625ac8ee4ae7aa8465bd1c3d9ae846ea768 | [
"MIT"
] | null | null | null | from urllib.parse import urlsplit
def return_int_from_image_url(url):
current_url = urlsplit(url)
return int(current_url.path.split("/")[-1].split(".")[0][0])
| 21.25 | 64 | 0.7 | 26 | 170 | 4.346154 | 0.576923 | 0.159292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02027 | 0.129412 | 170 | 7 | 65 | 24.285714 | 0.743243 | 0 | 0 | 0 | 0 | 0 | 0.011834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 4 |
4f5b9733503640a8dd3da1758abf30295b19b50d | 511 | py | Python | hackerrank/Algorithms/Xor-sequence/test.py | ATrain951/01.python-com_Qproject | c164dd093954d006538020bdf2e59e716b24d67c | [
"MIT"
] | 4 | 2020-07-24T01:59:50.000Z | 2021-07-24T15:14:08.000Z | hackerrank/Algorithms/Xor-sequence/test.py | ATrain951/01.python-com_Qproject | c164dd093954d006538020bdf2e59e716b24d67c | [
"MIT"
] | null | null | null | hackerrank/Algorithms/Xor-sequence/test.py | ATrain951/01.python-com_Qproject | c164dd093954d006538020bdf2e59e716b24d67c | [
"MIT"
] | null | null | null | import unittest
import solution
class TestQ(unittest.TestCase):
def test_case_0(self):
self.assertEqual(solution.xorSequence(2, 4), 7)
self.assertEqual(solution.xorSequence(2, 8), 9)
self.assertEqual(solution.xorSequence(5, 9), 15)
def test_case_1(self):
self.assertEqual(solu... | 25.55 | 58 | 0.677104 | 65 | 511 | 5.138462 | 0.430769 | 0.269461 | 0.413174 | 0.610778 | 0.335329 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0.193738 | 511 | 19 | 59 | 26.894737 | 0.752427 | 0 | 0 | 0 | 0 | 0 | 0.015656 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.153846 | false | 0 | 0.153846 | 0 | 0.384615 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4f7e2f93b402bd4e12659177a019f7d28b57216a | 34 | py | Python | test/login.py | friedlich/python33 | b5071c67d6edb3a7e993577bc8fb07383c201e5a | [
"MIT"
] | null | null | null | test/login.py | friedlich/python33 | b5071c67d6edb3a7e993577bc8fb07383c201e5a | [
"MIT"
] | null | null | null | test/login.py | friedlich/python33 | b5071c67d6edb3a7e993577bc8fb07383c201e5a | [
"MIT"
] | null | null | null | 初始化
num1 = 10
num2 = 20
num3 = 30
| 6.8 | 9 | 0.617647 | 7 | 34 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0.294118 | 34 | 4 | 10 | 8.5 | 0.5 | 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 | 1 | 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 | 4 |
4f88e7dc22a867bc8d33043d792e4a7ea82d6904 | 684 | py | Python | concordia/validators.py | juliecentofanti172/juliecentofanti.github.io | 446ea8522b9f4a6709124ebb6e0f675acf7fe205 | [
"CC0-1.0"
] | 134 | 2018-05-23T14:00:29.000Z | 2022-03-10T15:47:53.000Z | concordia/validators.py | ptrourke/concordia | 56ff364dbf38cb8a763df489479821fe43b76d69 | [
"CC0-1.0"
] | 1,104 | 2018-05-22T20:18:22.000Z | 2022-03-31T17:28:40.000Z | concordia/validators.py | ptrourke/concordia | 56ff364dbf38cb8a763df489479821fe43b76d69 | [
"CC0-1.0"
] | 32 | 2018-05-22T20:22:38.000Z | 2021-12-21T14:11:44.000Z | from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from passwords.validators import ComplexityValidator
class DjangoPasswordsValidator(object):
"""
Wrapper for the django-passwords complexity validator which is compatible
with the Django 1.9+ password validation API
... | 29.73913 | 77 | 0.730994 | 80 | 684 | 6.1125 | 0.675 | 0.0409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003623 | 0.192982 | 684 | 22 | 78 | 31.090909 | 0.882246 | 0.172515 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.333333 | 0.25 | 0.166667 | 0.916667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
96d7be29495922635d9d83210698f91f0f48ea35 | 210 | py | Python | processmap/admin.py | AlexGolovaschenko/OPSI-Wiki | b530da99c746d93484e42399cf6ecaf945fcc2fe | [
"Apache-2.0"
] | null | null | null | processmap/admin.py | AlexGolovaschenko/OPSI-Wiki | b530da99c746d93484e42399cf6ecaf945fcc2fe | [
"Apache-2.0"
] | 8 | 2021-03-30T12:31:41.000Z | 2022-01-13T01:59:19.000Z | processmap/admin.py | AlexGolovaschenko/OPSI-Wiki | b530da99c746d93484e42399cf6ecaf945fcc2fe | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from processmap.models import MapAreaLink
class MapAreaLinkAdmin (admin.ModelAdmin):
list_display = ['map_area', 'page']
admin.site.register(MapAreaLink, MapAreaLinkAdmin)
| 21 | 50 | 0.804762 | 24 | 210 | 6.958333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104762 | 210 | 9 | 51 | 23.333333 | 0.888298 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
96f4b800df70ee1f83a5c8120d1a850db44466fe | 19 | py | Python | python/testData/psi/EqYieldEq.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/psi/EqYieldEq.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/psi/EqYieldEq.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | bb = yield dd = cc
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 19 | 1 | 19 | 19 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
96fd4b34f13552125a4b4b2b72c71155157142b5 | 7,619 | py | Python | garnett/lookups.py | Aristotle-Metadata-Enterprises/django-garne | c8166d1146c078091edfd487a57706a279de7b63 | [
"BSD-3-Clause"
] | null | null | null | garnett/lookups.py | Aristotle-Metadata-Enterprises/django-garne | c8166d1146c078091edfd487a57706a279de7b63 | [
"BSD-3-Clause"
] | null | null | null | garnett/lookups.py | Aristotle-Metadata-Enterprises/django-garne | c8166d1146c078091edfd487a57706a279de7b63 | [
"BSD-3-Clause"
] | null | null | null | from django.db.models import lookups
from django.db.models.fields import json, CharField
from django.db.models.functions import Cast
from django.contrib.postgres.fields.jsonb import KeyTextTransform
from django.contrib.postgres.lookups import SearchLookup, TrigramSimilar
from django.contrib.postgres.search import Trigr... | 33.862222 | 85 | 0.754561 | 828 | 7,619 | 6.789855 | 0.19686 | 0.217716 | 0.133049 | 0.159374 | 0.541089 | 0.541089 | 0.528815 | 0.528815 | 0.528815 | 0.528815 | 0 | 0.00078 | 0.158157 | 7,619 | 224 | 86 | 34.013393 | 0.875741 | 0.104344 | 0 | 0.65 | 0 | 0 | 0.008376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.257143 | false | 0 | 0.057143 | 0.228571 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8c0d9ab69f5d504613002cbfc83867efcb6b0502 | 238 | py | Python | example/my_class.py | avara1986/gozokia | 03da46359c4a97a35b8f94686cccec7fc9b438cd | [
"MIT-0",
"MIT"
] | null | null | null | example/my_class.py | avara1986/gozokia | 03da46359c4a97a35b8f94686cccec7fc9b438cd | [
"MIT-0",
"MIT"
] | null | null | null | example/my_class.py | avara1986/gozokia | 03da46359c4a97a35b8f94686cccec7fc9b438cd | [
"MIT-0",
"MIT"
] | null | null | null | from gozokia.core.rules import RuleBase
class MyClassObjetive(RuleBase):
def condition_raise(self, *args, **kwargs):
return False
def response(self, *args, **kwargs):
self.response_output = 'My Class Objetive'
| 21.636364 | 50 | 0.689076 | 28 | 238 | 5.785714 | 0.714286 | 0.098765 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 238 | 10 | 51 | 23.8 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8c302586b3ff1a616fe99ea203ebc95d11c59f66 | 510 | py | Python | examples/55. Jump Game.py | yehzhang/RapidTest | 2302fc10ddafba1d16ef1d7448d46c66f5a05da2 | [
"MIT"
] | null | null | null | examples/55. Jump Game.py | yehzhang/RapidTest | 2302fc10ddafba1d16ef1d7448d46c66f5a05da2 | [
"MIT"
] | null | null | null | examples/55. Jump Game.py | yehzhang/RapidTest | 2302fc10ddafba1d16ef1d7448d46c66f5a05da2 | [
"MIT"
] | null | null | null | from __future__ import print_function
from rapidtest import Test, Case
from solutions.jump_game import Solution
with Test(Solution) as test:
Case([], result=True)
Case([0], result=True)
Case([0, 1], result=False)
Case([1, 0], result=True)
Case([1, 0, 0], result=False)
Case([2, 0, 0], result=Tr... | 28.333333 | 40 | 0.607843 | 86 | 510 | 3.534884 | 0.267442 | 0.230263 | 0.322368 | 0.246711 | 0.217105 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081886 | 0.209804 | 510 | 17 | 41 | 30 | 0.672457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.066667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8c52632c085d3a54ef9524fb3766be795102e1e9 | 1,975 | py | Python | src/injecta/service/argument/PrimitiveArgumentTest.py | DataSentics/injecta | 090eeac6c76c43d40be71df678222a07b0a3c783 | [
"MIT"
] | 3 | 2021-09-27T12:55:00.000Z | 2022-01-31T19:13:23.000Z | src/injecta/service/argument/PrimitiveArgumentTest.py | DataSentics/injecta | 090eeac6c76c43d40be71df678222a07b0a3c783 | [
"MIT"
] | null | null | null | src/injecta/service/argument/PrimitiveArgumentTest.py | DataSentics/injecta | 090eeac6c76c43d40be71df678222a07b0a3c783 | [
"MIT"
] | 1 | 2021-03-04T09:12:05.000Z | 2021-03-04T09:12:05.000Z | import unittest
from injecta.service.argument.PrimitiveArgument import PrimitiveArgument
class PrimitiveArgumentTest(unittest.TestCase):
def test_string(self):
argument = PrimitiveArgument("hello world")
self.assertEqual("'hello world'", argument.get_string_value())
def test_number(self):
... | 32.916667 | 138 | 0.693165 | 220 | 1,975 | 5.940909 | 0.186364 | 0.210406 | 0.221882 | 0.168324 | 0.671002 | 0.531752 | 0.356542 | 0.288447 | 0.228003 | 0.166794 | 0 | 0.007975 | 0.174684 | 1,975 | 59 | 139 | 33.474576 | 0.793865 | 0 | 0 | 0 | 0 | 0.028571 | 0.215696 | 0.093165 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.057143 | 0 | 0.371429 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4fc00aad53bb327eec16e9d4a0ba2e38c7c07682 | 178 | py | Python | xyz12/pf-fr/pf_fr/interface/auth_acl_processor_abc.py | problemfighter/pf-flask-react | ac38e3fa0fac0765eea7ec3c03937f93c55a9815 | [
"Apache-2.0"
] | 3 | 2021-11-22T07:57:23.000Z | 2022-01-15T09:08:50.000Z | xyz12/pf-fr/pf_fr/interface/auth_acl_processor_abc.py | problemfighter/pf-flask-react | ac38e3fa0fac0765eea7ec3c03937f93c55a9815 | [
"Apache-2.0"
] | null | null | null | xyz12/pf-fr/pf_fr/interface/auth_acl_processor_abc.py | problemfighter/pf-flask-react | ac38e3fa0fac0765eea7ec3c03937f93c55a9815 | [
"Apache-2.0"
] | null | null | null | from abc import abstractmethod, ABC
class AuthACLProcessorABC(ABC):
@abstractmethod
def process(self, url_info: dict, jwtPayload: dict, authInterceptor):
pass
| 19.777778 | 73 | 0.730337 | 19 | 178 | 6.789474 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196629 | 178 | 8 | 74 | 22.25 | 0.902098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
8b085c324bcb5f0d6bdfb123d1d72c9803280491 | 612 | py | Python | MapAreaEval.py | hal-lab-u-tokyo/GenMap | 4ee3eab31826115fe77abeec43df2149efef6279 | [
"MIT"
] | null | null | null | MapAreaEval.py | hal-lab-u-tokyo/GenMap | 4ee3eab31826115fe77abeec43df2149efef6279 | [
"MIT"
] | 2 | 2022-01-12T03:26:12.000Z | 2022-01-17T01:21:25.000Z | MapAreaEval.py | hal-lab-u-tokyo/GenMap | 4ee3eab31826115fe77abeec43df2149efef6279 | [
"MIT"
] | 1 | 2022-01-07T08:03:36.000Z | 2022-01-07T08:03:36.000Z | # This file is part of GenMap and released under the MIT License, see LICENSE.
# Author: Takuya Kojima
from EvalBase import EvalBase
from MapHeightEval import MapHeightEval
from MapWidthEval import MapWidthEval
class MapAreaEval(EvalBase):
def __init__(self):
pass
@staticmethod
def eval(CGRA, a... | 26.608696 | 79 | 0.694444 | 70 | 612 | 5.957143 | 0.571429 | 0.107914 | 0.079137 | 0.100719 | 0.215827 | 0.215827 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236928 | 612 | 23 | 80 | 26.608696 | 0.892934 | 0.161765 | 0 | 0.1875 | 0 | 0 | 0.015686 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.0625 | 0.1875 | 0.1875 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
8c76e4f2864cafe27b24a8ba90d050cb182cf4a8 | 384 | py | Python | mysite/account/models.py | PUNITKUMARGAUTAM/mydjango | 5dd86a99bc0fae0cad712412d2de9c0c6cee6dcc | [
"MIT"
] | null | null | null | mysite/account/models.py | PUNITKUMARGAUTAM/mydjango | 5dd86a99bc0fae0cad712412d2de9c0c6cee6dcc | [
"MIT"
] | null | null | null | mysite/account/models.py | PUNITKUMARGAUTAM/mydjango | 5dd86a99bc0fae0cad712412d2de9c0c6cee6dcc | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Account(models.Model):
accountno = models.CharField(max_length = 300)
accountname = models.CharField(max_length = 50)
accountid = models.CharField(max_length = 50)
accounttype = models.CharField(max_length = 50)
accountbalance = models.C... | 32 | 54 | 0.734375 | 48 | 384 | 5.75 | 0.5 | 0.271739 | 0.326087 | 0.434783 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034591 | 0.171875 | 384 | 12 | 55 | 32 | 0.833333 | 0.0625 | 0 | 0 | 0 | 0 | 0.022284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 1 | 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 | 1 | 0 | 0 | 4 |
8cc2ac1de1cf7197ee56d2508e3a1e26ba1d3a80 | 880 | py | Python | platypush/message/event/path/__init__.py | shineit/platypush | a67b301cd66235b41bff6bfb3de56b903bf9551d | [
"MIT"
] | 1 | 2020-12-08T06:26:31.000Z | 2020-12-08T06:26:31.000Z | platypush/message/event/path/__init__.py | shineit/platypush | a67b301cd66235b41bff6bfb3de56b903bf9551d | [
"MIT"
] | null | null | null | platypush/message/event/path/__init__.py | shineit/platypush | a67b301cd66235b41bff6bfb3de56b903bf9551d | [
"MIT"
] | null | null | null | from platypush.message.event import Event
class PathOpenEvent(Event):
def __init__(self, path, *args, **kwargs):
super().__init__(path=path, *args, **kwargs)
class PathCloseEvent(Event):
def __init__(self, path, *args, **kwargs):
super().__init__(path=path, *args, **kwargs)
class PathCreateE... | 28.387097 | 65 | 0.659091 | 105 | 880 | 5.066667 | 0.238095 | 0.225564 | 0.263158 | 0.180451 | 0.671053 | 0.633459 | 0.582707 | 0.582707 | 0.582707 | 0.582707 | 0 | 0.00274 | 0.170455 | 880 | 30 | 66 | 29.333333 | 0.726027 | 0.019318 | 0 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.052632 | 0 | 0.684211 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8cec4c381bd3a882fcea0bdb3ca91641d31a4274 | 245 | py | Python | List/11_sort_list.py | manish1822510059/Python-1000-program | d03c1920fe63a7e32ac5bd9a13e2766d7a25756c | [
"Apache-2.0"
] | 1 | 2021-03-06T03:33:42.000Z | 2021-03-06T03:33:42.000Z | List/11_sort_list.py | manish1822510059/Python-1000-programs | d03c1920fe63a7e32ac5bd9a13e2766d7a25756c | [
"Apache-2.0"
] | null | null | null | List/11_sort_list.py | manish1822510059/Python-1000-programs | d03c1920fe63a7e32ac5bd9a13e2766d7a25756c | [
"Apache-2.0"
] | null | null | null | mylist = ["Firefox","Chrome","Safari","Microsoft Edges","Brave"]
print("Unsorted List: ",mylist)
mylist.sort()
print("Sorted List in Increasing Order: ",mylist)
mylist.sort(reverse=True)
print("Sorted List in Decreasing Order: ",mylist) | 40.833333 | 65 | 0.710204 | 31 | 245 | 5.612903 | 0.580645 | 0.137931 | 0.183908 | 0.195402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118367 | 245 | 6 | 66 | 40.833333 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.514523 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 4 |
8cf78673e703fa4dcc49124318ccd095e5630267 | 671 | py | Python | books/urls.py | OdinGitDat/WhatManager2 | ddbce0fa1ff4e1fc44bfa726c4f7eace4adbe8a9 | [
"MIT"
] | 1 | 2018-03-23T13:11:30.000Z | 2018-03-23T13:11:30.000Z | books/urls.py | SavageCore/WhatManager2 | 5a0fc5af8c9168fa199124aaa2aa56495dc0a40b | [
"MIT"
] | null | null | null | books/urls.py | SavageCore/WhatManager2 | 5a0fc5af8c9168fa199124aaa2aa56495dc0a40b | [
"MIT"
] | null | null | null | from django.conf.urls import patterns, url
urlpatterns = patterns(
'',
url(r'^uploads$', 'books.views.uploads'),
url(r'^uploads/new$', 'books.views.new_upload'),
url(r'^uploads/(\d+)/edit$', 'books.views.edit_upload'),
url(r'^uploads/(\d+)/cover$', 'books.views.upload_cover'),
url(r'^uploads/(\... | 44.733333 | 86 | 0.657228 | 94 | 671 | 4.56383 | 0.244681 | 0.083916 | 0.230769 | 0.195804 | 0.298368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102832 | 671 | 14 | 87 | 47.928571 | 0.712625 | 0 | 0 | 0 | 0 | 0 | 0.642325 | 0.551416 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5078f8dd184f357fbe4a888f2bb05a23a7183c7b | 24,611 | py | Python | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum2000/Output/Histos/MadAnalysis5job_0/selection_2.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum2000/Output/Histos/MadAnalysis5job_0/selection_2.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum2000/Output/Histos/MadAnalysis5job_0/selection_2.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_2():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.lin... | 126.860825 | 1,056 | 0.778473 | 4,091 | 24,611 | 4.504767 | 0.240039 | 0.055782 | 0.073091 | 0.085951 | 0.35672 | 0.347333 | 0.326605 | 0.319279 | 0.312768 | 0.309404 | 0 | 0.51287 | 0.067043 | 24,611 | 193 | 1,057 | 127.518135 | 0.289752 | 0.053513 | 0 | 0.185841 | 0 | 0.00885 | 0.044286 | 0.008599 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
508892e53e3d44dad0c92251e574ecfa9c71280d | 72 | py | Python | moltin/url.py | YuraHavrylko/python-sdk | 899886e54bfcb6c0fb918a9a65a3f1ccefe7d96b | [
"MIT"
] | 8 | 2015-06-12T21:40:40.000Z | 2019-01-25T02:57:30.000Z | moltin/url.py | YuraHavrylko/python-sdk | 899886e54bfcb6c0fb918a9a65a3f1ccefe7d96b | [
"MIT"
] | 9 | 2016-02-12T17:19:38.000Z | 2018-10-09T01:51:31.000Z | moltin/url.py | YuraHavrylko/python-sdk | 899886e54bfcb6c0fb918a9a65a3f1ccefe7d96b | [
"MIT"
] | 14 | 2016-02-11T22:14:13.000Z | 2020-09-07T18:19:31.000Z | def sanitize_url_fragment(fragment):
return fragment.strip("/ ") | 36 | 36 | 0.708333 | 8 | 72 | 6.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 2 | 37 | 36 | 0.816667 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
50928593a7ed717c583d4643bcad78d4b4867b87 | 211 | py | Python | ats/admin.py | bitrecruiter/ats_project | cf363d6163a2b9369839b476b60908f2982f80b3 | [
"WTFPL"
] | null | null | null | ats/admin.py | bitrecruiter/ats_project | cf363d6163a2b9369839b476b60908f2982f80b3 | [
"WTFPL"
] | null | null | null | ats/admin.py | bitrecruiter/ats_project | cf363d6163a2b9369839b476b60908f2982f80b3 | [
"WTFPL"
] | 3 | 2016-07-20T11:17:37.000Z | 2018-12-31T06:00:27.000Z | from django.contrib import admin
from ats.models import Job
class JobAdmin(admin.ModelAdmin):
# ...
list_display = ('company', 'job_title', 'location', 'created_at')
admin.site.register(Job, JobAdmin)
| 23.444444 | 69 | 0.720379 | 27 | 211 | 5.518519 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14218 | 211 | 8 | 70 | 26.375 | 0.823204 | 0.014218 | 0 | 0 | 0 | 0 | 0.165049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
50ab328a4f2f6bf029a234d71f48a4b79216ca09 | 33 | py | Python | ibsng/handler/bw/__init__.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 6 | 2018-03-06T10:16:36.000Z | 2021-12-05T12:43:10.000Z | ibsng/handler/bw/__init__.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 3 | 2018-03-06T10:27:08.000Z | 2022-01-02T15:21:27.000Z | ibsng/handler/bw/__init__.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 3 | 2018-01-06T16:28:31.000Z | 2018-09-17T19:47:19.000Z | """Bandwidth handler library."""
| 16.5 | 32 | 0.69697 | 3 | 33 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.766667 | 0.787879 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
50c64fb772dfdcc42485cb601f2f4f1172dbc30b | 452 | py | Python | readvol.py | kvchen/snowsim | 09a75f24e86cc340ed327074904255fb08a3e7eb | [
"MIT"
] | null | null | null | readvol.py | kvchen/snowsim | 09a75f24e86cc340ed327074904255fb08a3e7eb | [
"MIT"
] | 1 | 2017-08-14T16:38:11.000Z | 2017-08-14T16:38:11.000Z | readvol.py | kvchen/snowsim | 09a75f24e86cc340ed327074904255fb08a3e7eb | [
"MIT"
] | null | null | null | import struct
def main():
with open("smoke.vol", "rb") as infile:
data = infile.read()
print(data[2])
print(struct.unpack("<f", data[24:28]))
print(struct.unpack("<f", data[28:32]))
print(struct.unpack("<f", data[32:36]))
print(struct.unpack("<f", data[36:40]))
... | 25.111111 | 47 | 0.54646 | 63 | 452 | 3.793651 | 0.412698 | 0.276151 | 0.426778 | 0.451883 | 0.552301 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072254 | 0.234513 | 452 | 17 | 48 | 26.588235 | 0.618497 | 0 | 0 | 0 | 0 | 0 | 0.068584 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.153846 | 0.538462 | 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 | 1 | 0 | 4 |
50c98b0d484e83f3da293b6616b40dde21bff508 | 48 | py | Python | pawan/lib/python3.6/io.py | pawannn29/projectdjango | a2c269b99676109a9a28f1ff3bc26b3d7779056c | [
"bzip2-1.0.6"
] | null | null | null | pawan/lib/python3.6/io.py | pawannn29/projectdjango | a2c269b99676109a9a28f1ff3bc26b3d7779056c | [
"bzip2-1.0.6"
] | null | null | null | pawan/lib/python3.6/io.py | pawannn29/projectdjango | a2c269b99676109a9a28f1ff3bc26b3d7779056c | [
"bzip2-1.0.6"
] | null | null | null | /Users/NikhilArora/anaconda3/lib/python3.6/io.py | 48 | 48 | 0.833333 | 8 | 48 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 48 | 1 | 48 | 48 | 0.770833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
50db8b82689cb49216081b11abe0aca6efe4a8ae | 1,881 | py | Python | DailyProgrammer/DP20130107A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20130107A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20130107A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[01/07/13] Challenge #116 [Easy] Permutation of a string
https://www.reddit.com/r/dailyprogrammer/comments/164zvs/010713_challenge_116_easy_permutation_of_a_string/
# [](#EasyIcon) *(Easy)*: Permutation of a string
Write a function that prints all of the permutatons of the unique characters of a given string. For... | 37.62 | 119 | 0.76874 | 280 | 1,881 | 5.110714 | 0.632143 | 0.008386 | 0.035639 | 0.037736 | 0.104822 | 0.08805 | 0.050314 | 0 | 0 | 0 | 0 | 0.016677 | 0.171186 | 1,881 | 49 | 120 | 38.387755 | 0.901219 | 0.959064 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
50f15229df9005e82454e12d67372b98c711ab98 | 91 | py | Python | tests/__init__.py | vyahello/pytest-confluence-report | 61069ee4e5f46a4535a71b5877a8e4b2ddf3b921 | [
"MIT"
] | 5 | 2021-01-29T18:13:06.000Z | 2021-11-17T06:49:27.000Z | tests/__init__.py | utestpy/pytest-confluence-report | c50e3c57776c8292fd0e097e8d2f858d730b9130 | [
"MIT"
] | 18 | 2020-10-02T19:52:03.000Z | 2022-02-03T12:06:04.000Z | tests/__init__.py | utestpy/pytest-confluence-report | c50e3c57776c8292fd0e097e8d2f858d730b9130 | [
"MIT"
] | 3 | 2020-10-19T10:43:38.000Z | 2022-02-02T21:17:01.000Z | """Package contains a set of interfaces to test `pytest confluence report` application."""
| 45.5 | 90 | 0.769231 | 12 | 91 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 1 | 91 | 91 | 0.886076 | 0.923077 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0fdf5adb776d6cf33eea8ed1a37c60a95a77b066 | 197 | py | Python | raytrace3/mat.py | fijal/graphic-experiments | 4ea57bfbf07631a3584099f07a355adbbf36e750 | [
"MIT"
] | null | null | null | raytrace3/mat.py | fijal/graphic-experiments | 4ea57bfbf07631a3584099f07a355adbbf36e750 | [
"MIT"
] | null | null | null | raytrace3/mat.py | fijal/graphic-experiments | 4ea57bfbf07631a3584099f07a355adbbf36e750 | [
"MIT"
] | null | null | null |
class Material(object):
def __init__(self, diffuse_color, mirror=0.05, softness=0.03):
self.diffuse_color = diffuse_color
self.mirror = mirror
self.softness = softness
| 28.142857 | 66 | 0.675127 | 25 | 197 | 5.04 | 0.52 | 0.285714 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.228426 | 197 | 6 | 67 | 32.833333 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ba115f22b471d4232c227650d03989734c501ccb | 1,432 | py | Python | thirdparty/org/apache/arrow/flatbuf/Buffer.py | mrocklin/pygdf | 2de9407427da9497ebdf8951a12857be0fab31bb | [
"Apache-2.0"
] | 5 | 2019-01-15T12:31:49.000Z | 2021-03-05T21:17:13.000Z | thirdparty/org/apache/arrow/flatbuf/Buffer.py | mrocklin/pygdf | 2de9407427da9497ebdf8951a12857be0fab31bb | [
"Apache-2.0"
] | 19 | 2018-07-18T07:15:44.000Z | 2021-02-22T17:00:18.000Z | thirdparty/org/apache/arrow/flatbuf/Buffer.py | mrocklin/pygdf | 2de9407427da9497ebdf8951a12857be0fab31bb | [
"Apache-2.0"
] | 2 | 2020-05-01T09:54:34.000Z | 2021-04-17T10:57:07.000Z | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: flatbuf
import flatbuffers
# /// ----------------------------------------------------------------------
# /// A Buffer represents a single contiguous memory segment
class Buffer(object):
__slots__ = ['_tab']
# Buffer
def I... | 39.777778 | 147 | 0.692737 | 181 | 1,432 | 5.364641 | 0.403315 | 0.050463 | 0.135942 | 0.052523 | 0.30793 | 0.30793 | 0.30793 | 0.30793 | 0.264676 | 0.212152 | 0 | 0.016502 | 0.153631 | 1,432 | 35 | 148 | 40.914286 | 0.784653 | 0.400838 | 0 | 0 | 1 | 0 | 0.004745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.066667 | 0.2 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ba2b3fd0141de5eea5aa55de2d5b5a870fc74919 | 226 | py | Python | asgi_websub/exceptions.py | Kludex/fastapi-websub | 1e109545e9ae26f9e36f10252ed321c41053224e | [
"MIT"
] | 1 | 2021-02-10T13:01:17.000Z | 2021-02-10T13:01:17.000Z | asgi_websub/exceptions.py | Kludex/fastapi-websub | 1e109545e9ae26f9e36f10252ed321c41053224e | [
"MIT"
] | null | null | null | asgi_websub/exceptions.py | Kludex/fastapi-websub | 1e109545e9ae26f9e36f10252ed321c41053224e | [
"MIT"
] | null | null | null | class ASGIWebSubException(Exception):
...
class HubNotFoundException(ASGIWebSubException):
...
class TopicNotFoundException(ASGIWebSubException):
...
class SubscriptionException(ASGIWebSubException):
...
| 15.066667 | 50 | 0.743363 | 12 | 226 | 14 | 0.5 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150442 | 226 | 14 | 51 | 16.142857 | 0.875 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ba2ce86e286451be55a57b1a59a5d7516ef19433 | 5,765 | py | Python | scanpy/tests/test_metrics.py | PauBadiaM/scanpy | 560bd5d348a502d5152eaf20f5f8bef794562a97 | [
"BSD-3-Clause"
] | null | null | null | scanpy/tests/test_metrics.py | PauBadiaM/scanpy | 560bd5d348a502d5152eaf20f5f8bef794562a97 | [
"BSD-3-Clause"
] | null | null | null | scanpy/tests/test_metrics.py | PauBadiaM/scanpy | 560bd5d348a502d5152eaf20f5f8bef794562a97 | [
"BSD-3-Clause"
] | null | null | null | from operator import eq
from string import ascii_letters
import numpy as np
import pandas as pd
import scanpy as sc
from scipy import sparse
def test_gearys_c_consistency():
pbmc = sc.datasets.pbmc68k_reduced()
pbmc.layers["raw"] = pbmc.raw.X.copy()
g = pbmc.obsp["connectivities"]
assert eq(
... | 32.942857 | 88 | 0.636427 | 839 | 5,765 | 4.235995 | 0.152563 | 0.098762 | 0.059088 | 0.063028 | 0.862409 | 0.841306 | 0.734102 | 0.669387 | 0.660383 | 0.640124 | 0 | 0.020639 | 0.201561 | 5,765 | 174 | 89 | 33.132184 | 0.751466 | 0.071639 | 0 | 0.320611 | 0 | 0 | 0.04868 | 0 | 0 | 0 | 0 | 0 | 0.229008 | 1 | 0.053435 | false | 0 | 0.045802 | 0 | 0.099237 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 4 |
e8719aaa09b989ec835dc6c2c3335ffb6ccfae8b | 229 | py | Python | visitor_manage/src/admin.py | parth-27/Visitor-Management-System | 575b7ad1a4eecf65e764399ea53e836b8cf1768d | [
"MIT"
] | 3 | 2020-06-30T15:46:56.000Z | 2021-11-17T13:13:15.000Z | visitor_manage/src/admin.py | DipikaPawar12/Visitor-Management-System | 9585d8613daa4f5a0b0a81cce6850f79db768a64 | [
"MIT"
] | 1 | 2021-06-10T19:39:03.000Z | 2021-06-10T19:39:03.000Z | visitor_manage/src/admin.py | DipikaPawar12/Visitor-Management-System | 9585d8613daa4f5a0b0a81cce6850f79db768a64 | [
"MIT"
] | 1 | 2020-06-30T15:49:07.000Z | 2020-06-30T15:49:07.000Z | from django.contrib import admin
from .models import *
admin.site.register(SuperAdmin)
admin.site.register(User)
admin.site.register(Admin)
admin.site.register(Visitor)
admin.site.register(TemporaryUser)
admin.site.register(Faq) | 25.444444 | 34 | 0.820961 | 32 | 229 | 5.875 | 0.40625 | 0.287234 | 0.542553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061135 | 229 | 9 | 35 | 25.444444 | 0.874419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e87c0a482603d64f363ce49792d6c6897b087044 | 6,624 | py | Python | asaplib/util/util_fft.py | FelixFaber/ASAP | 951d9667143095e42f1566816b4ab90d901b56a8 | [
"MIT"
] | 1 | 2020-02-25T19:05:25.000Z | 2020-02-25T19:05:25.000Z | asaplib/util/util_fft.py | FelixFaber/ASAP | 951d9667143095e42f1566816b4ab90d901b56a8 | [
"MIT"
] | null | null | null | asaplib/util/util_fft.py | FelixFaber/ASAP | 951d9667143095e42f1566816b4ab90d901b56a8 | [
"MIT"
] | null | null | null | """
TODO: Module-level description
"""
import numpy as np
"""
# Fourier analysis of x(t) to obtain $x(\omega)$.
## $FT(x(t)) = x(\omega)$
## $S_x(\omega)=FT(<x(0)x(t)>) = x(\omega) \cdot x(\omega) $
# In reality we have a list $\{ x_{1...n}\}$
## $A_k = \sum_{m=0}^{n-1} x_m \exp(-2\pi i \dfrac{m k }{n})$
## $x(\ome... | 36.196721 | 117 | 0.569595 | 1,086 | 6,624 | 3.456722 | 0.151934 | 0.031966 | 0.022376 | 0.020778 | 0.782365 | 0.753063 | 0.714172 | 0.688599 | 0.67528 | 0.658764 | 0 | 0.044655 | 0.252868 | 6,624 | 182 | 118 | 36.395604 | 0.713882 | 0.192935 | 0 | 0.712644 | 0 | 0 | 0.001096 | 0 | 0 | 0 | 0 | 0.005495 | 0 | 1 | 0.08046 | false | 0 | 0.011494 | 0 | 0.172414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 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 | 4 |
e8caf06c9824e7e8e34d9b2503b6f186f3beab42 | 64 | py | Python | mayan/apps/duplicates/__init__.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 343 | 2015-01-05T14:19:35.000Z | 2018-12-10T19:07:48.000Z | mayan/apps/duplicates/__init__.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 191 | 2015-01-03T00:48:19.000Z | 2018-11-30T09:10:25.000Z | mayan/apps/duplicates/__init__.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 257 | 2019-05-14T10:26:37.000Z | 2022-03-30T03:37:36.000Z | default_app_config = 'mayan.apps.duplicates.apps.DuplicatesApp'
| 32 | 63 | 0.84375 | 8 | 64 | 6.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 64 | 1 | 64 | 64 | 0.852459 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0.625 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fa094e5f5316294ab596d436010c00578ed582e3 | 362 | py | Python | src_1gp/demo.py | yvquanli/GLAM | 82d91265a517e3b4813197fe2764b36c751657c0 | [
"MIT"
] | 10 | 2021-12-22T02:26:34.000Z | 2022-02-09T02:42:05.000Z | src_1gp/demo.py | yvquanli/GLAM | 82d91265a517e3b4813197fe2764b36c751657c0 | [
"MIT"
] | null | null | null | src_1gp/demo.py | yvquanli/GLAM | 82d91265a517e3b4813197fe2764b36c751657c0 | [
"MIT"
] | null | null | null | import os
os.chdir(os.path.dirname(__file__))
print('Test for dataset.py and run.py!')
os.system('python3 ./run.py --dataset demo --dataset_root ./demo --epoch 5 --loss bcel')
os.system('rm -rf ./log_demo')
print('Demo running...')
os.system('python3 ./glam.py --dataset demo --dataset_root ./demo --n_init_configs 5 -... | 36.2 | 127 | 0.712707 | 62 | 362 | 3.935484 | 0.564516 | 0.098361 | 0.122951 | 0.163934 | 0.229508 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0.018462 | 0.10221 | 362 | 9 | 128 | 40.222222 | 0.732308 | 0 | 0 | 0 | 0 | 0.142857 | 0.696133 | 0.060773 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0.285714 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fa31a1d3d315f6e15d470c93696aba2f7bc77f4e | 4,957 | py | Python | pyspedas/themis/tests/tests.py | MAVENSDC/pyspedas | 05ede2603acb514bc7803be054016142c0851685 | [
"MIT"
] | 1 | 2020-07-07T19:52:40.000Z | 2020-07-07T19:52:40.000Z | pyspedas/themis/tests/tests.py | MAVENSDC/pyspedas | 05ede2603acb514bc7803be054016142c0851685 | [
"MIT"
] | null | null | null | pyspedas/themis/tests/tests.py | MAVENSDC/pyspedas | 05ede2603acb514bc7803be054016142c0851685 | [
"MIT"
] | null | null | null |
import os
import unittest
from pyspedas.utilities.data_exists import data_exists
import pyspedas
class GmagTestCases(unittest.TestCase):
def test_get_group(self):
from pyspedas.themis.ground.gmag import get_group
self.assertTrue(get_group('ccnv') == ['epo'])
def test_gmag_list(self):
... | 37.839695 | 95 | 0.67561 | 658 | 4,957 | 4.75076 | 0.18541 | 0.246321 | 0.28215 | 0.3762 | 0.685861 | 0.567818 | 0.18714 | 0.076136 | 0.049264 | 0.049264 | 0 | 0.012284 | 0.195279 | 4,957 | 130 | 96 | 38.130769 | 0.771371 | 0.029252 | 0 | 0.039216 | 0 | 0 | 0.138785 | 0.00437 | 0 | 0 | 0 | 0 | 0.529412 | 1 | 0.186275 | false | 0 | 0.078431 | 0 | 0.284314 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fa32012cd1b7d114fb1354eba16dd29a3952f35c | 85 | py | Python | jsk/__init__.py | Kuro-Rui/flare-cogs | f739e3a4a8c65bf0e10945d242ba0b82f96c6d3d | [
"MIT"
] | 38 | 2021-03-07T17:13:10.000Z | 2022-02-28T19:50:00.000Z | jsk/__init__.py | Kuro-Rui/flare-cogs | f739e3a4a8c65bf0e10945d242ba0b82f96c6d3d | [
"MIT"
] | 44 | 2021-03-12T19:13:32.000Z | 2022-03-18T10:20:52.000Z | jsk/__init__.py | Kuro-Rui/flare-cogs | f739e3a4a8c65bf0e10945d242ba0b82f96c6d3d | [
"MIT"
] | 33 | 2021-03-08T18:59:59.000Z | 2022-03-23T10:57:46.000Z | from .jishaku_cog import Jishaku
def setup(bot):
bot.add_cog(Jishaku(bot=bot))
| 14.166667 | 33 | 0.729412 | 14 | 85 | 4.285714 | 0.571429 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 85 | 5 | 34 | 17 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fa41e1663a6e018de8fccc983c895b9b2fc8b561 | 2,373 | py | Python | pytpp/attributes/log_adaptable.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | 4 | 2022-02-04T23:58:55.000Z | 2022-02-15T18:53:08.000Z | pytpp/attributes/log_adaptable.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | null | null | null | pytpp/attributes/log_adaptable.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | null | null | null | from pytpp.attributes._helper import IterableMeta, Attribute
from pytpp.attributes.log_channel import LogChannelAttributes
class LogAdaptableAttributes(LogChannelAttributes, metaclass=IterableMeta):
__config_class__ = "Log Adaptable"
adaptable_logging_channel_text_field_1 = Attribute('Adaptable Logging Channel Text... | 81.827586 | 115 | 0.815002 | 331 | 2,373 | 5.522659 | 0.160121 | 0.210066 | 0.301969 | 0.354486 | 0.628556 | 0.599015 | 0.270788 | 0.270788 | 0.270788 | 0 | 0 | 0.044301 | 0.08681 | 2,373 | 28 | 116 | 84.75 | 0.799262 | 0 | 0 | 0 | 0 | 0 | 0.316477 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 1 | 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 | 1 | 0 | 0 | 4 |
fa6395c71b29e3d00b5d0ecd821b5694facf0f66 | 229 | py | Python | djangoRESTRoot/REST/serializers.py | EliasEriksson/DemoDjangoREST | 4281d66cdd8723a89511bf199b41a6dc975a49f0 | [
"MIT"
] | null | null | null | djangoRESTRoot/REST/serializers.py | EliasEriksson/DemoDjangoREST | 4281d66cdd8723a89511bf199b41a6dc975a49f0 | [
"MIT"
] | null | null | null | djangoRESTRoot/REST/serializers.py | EliasEriksson/DemoDjangoREST | 4281d66cdd8723a89511bf199b41a6dc975a49f0 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Course
class CoursesSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Course
fields = ["code", "name", "progression", "plan"]
| 25.444444 | 64 | 0.720524 | 22 | 229 | 7.454545 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187773 | 229 | 8 | 65 | 28.625 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0.100437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 4 |
3afc2ed60a86389d4e4b5f1e80291a3ae2873ecd | 140 | py | Python | src/MacVim/icons/setup.py | xurui1983/macvim | 0d6af3db925d5636cc8e3092a0b2ca5e1ca6cd1f | [
"Vim"
] | 1,457 | 2015-01-02T08:48:47.000Z | 2022-01-22T13:50:17.000Z | src/MacVim/icons/setup.py | xurui1983/macvim | 0d6af3db925d5636cc8e3092a0b2ca5e1ca6cd1f | [
"Vim"
] | 9 | 2015-01-10T12:44:08.000Z | 2015-12-28T06:41:01.000Z | src/MacVim/icons/setup.py | xurui1983/macvim | 0d6af3db925d5636cc8e3092a0b2ca5e1ca6cd1f | [
"Vim"
] | 182 | 2015-01-01T00:03:56.000Z | 2022-03-28T12:16:32.000Z | from distutils.core import setup, Extension
setup(name="loadfont", version="1.0",
ext_modules = [Extension("loadfont", ["loadfont.c"])])
| 23.333333 | 55 | 0.714286 | 18 | 140 | 5.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.1 | 140 | 5 | 56 | 28 | 0.769841 | 0 | 0 | 0 | 0 | 0 | 0.208633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d71237dc8ca1dbfaa5d7a898b2c99ba2b8efa0aa | 3,658 | py | Python | src/qt/qtwebkit/Tools/QueueStatusServer/model/queues.py | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2015-05-27T13:52:20.000Z | 2015-05-27T13:52:20.000Z | src/qt/qtwebkit/Tools/QueueStatusServer/model/queues.py | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Tools/QueueStatusServer/model/queues.py | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2017-03-19T13:03:23.000Z | 2017-03-19T13:03:23.000Z | # Copyright (C) 2010 Google Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the... | 38.914894 | 83 | 0.711318 | 519 | 3,658 | 4.88632 | 0.39499 | 0.031546 | 0.020505 | 0.017744 | 0.126972 | 0.053628 | 0.053628 | 0.053628 | 0.053628 | 0.053628 | 0 | 0.002775 | 0.211864 | 3,658 | 93 | 84 | 39.333333 | 0.876864 | 0.511482 | 0 | 0.071429 | 0 | 0 | 0.024543 | 0 | 0 | 0 | 0 | 0.010753 | 0.02381 | 1 | 0.285714 | false | 0 | 0.095238 | 0.190476 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d7541141a11f8a88d76e2a0c32856ff035efcd57 | 95 | py | Python | beta/api/zaif/__init__.py | black0144/vnpy | 0d0ea30dad14a0150f7500ff9a62528030321426 | [
"MIT"
] | 3 | 2018-09-29T03:04:37.000Z | 2020-02-10T15:58:11.000Z | beta/api/zaif/__init__.py | black0144/vnpy | 0d0ea30dad14a0150f7500ff9a62528030321426 | [
"MIT"
] | 1 | 2018-06-12T10:08:24.000Z | 2018-06-12T10:08:24.000Z | beta/api/zaif/__init__.py | black0144/vnpy | 0d0ea30dad14a0150f7500ff9a62528030321426 | [
"MIT"
] | 2 | 2020-04-26T08:33:05.000Z | 2020-12-02T07:54:43.000Z | # encoding: UTF-8
from __future__ import absolute_import
from .vnzaif import TradeApi, DataApi | 23.75 | 38 | 0.821053 | 13 | 95 | 5.615385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.126316 | 95 | 4 | 39 | 23.75 | 0.86747 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d755aa9c22eb4f27200c2e2110a17f97c4adfe0e | 129 | py | Python | src/student2/admin.py | Ehsan-Home/drag_and_drop_in_tables | 865079999e42a6f3dceb6814b69091580c1440b8 | [
"MIT"
] | 3 | 2020-03-08T09:14:38.000Z | 2020-08-29T00:19:38.000Z | src/student2/admin.py | Ehsan-Home/drag_and_drop_in_tables | 865079999e42a6f3dceb6814b69091580c1440b8 | [
"MIT"
] | null | null | null | src/student2/admin.py | Ehsan-Home/drag_and_drop_in_tables | 865079999e42a6f3dceb6814b69091580c1440b8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from student2.models import Student2
# Register your models here.
admin.site.register(Student2) | 25.8 | 36 | 0.829457 | 18 | 129 | 5.944444 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026087 | 0.108527 | 129 | 5 | 37 | 25.8 | 0.904348 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d76967dc77252f7d5e69156306d72b2016f57359 | 50 | py | Python | python_prueba.py | jomih/Python_Automation_Training | 048b50b66bfa117df7e21bce47617a01a68344b5 | [
"MIT"
] | null | null | null | python_prueba.py | jomih/Python_Automation_Training | 048b50b66bfa117df7e21bce47617a01a68344b5 | [
"MIT"
] | null | null | null | python_prueba.py | jomih/Python_Automation_Training | 048b50b66bfa117df7e21bce47617a01a68344b5 | [
"MIT"
] | null | null | null | for i in range (10):
print 'master branch ',i
| 16.666667 | 28 | 0.62 | 9 | 50 | 3.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.26 | 50 | 2 | 29 | 25 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d771a407894f635aabaebb3d9638ed0e4f3162c6 | 392 | py | Python | stdnet/tests/__init__.py | TheProjecter/python-stdnet | 059be991bea40c0281dac12459539d0aa4397823 | [
"BSD-3-Clause"
] | null | null | null | stdnet/tests/__init__.py | TheProjecter/python-stdnet | 059be991bea40c0281dac12459539d0aa4397823 | [
"BSD-3-Clause"
] | null | null | null | stdnet/tests/__init__.py | TheProjecter/python-stdnet | 059be991bea40c0281dac12459539d0aa4397823 | [
"BSD-3-Clause"
] | null | null | null | #from odict import *
#from backend_tests import *
#from strings import *
#from manager import *
#from finance import *
from fktest import *
#from atomfields import *
# Data-structure Fields
#from listfield import *
#from ordered_set import *
#from hashfield import *
# Many to many Field
#from twitter import *
#from ... | 19.6 | 45 | 0.752551 | 52 | 392 | 5.634615 | 0.480769 | 0.307167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165816 | 392 | 20 | 45 | 19.6 | 0.896024 | 0.862245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d786be8c468a21f61b53c19c81357d7ac399899c | 424 | py | Python | TouchType/practica/admin.py | Francisco-Galindo/Mecanopractica | cdb6b99bab9ef4e02e7a9705891a25c2426fc290 | [
"MIT"
] | null | null | null | TouchType/practica/admin.py | Francisco-Galindo/Mecanopractica | cdb6b99bab9ef4e02e7a9705891a25c2426fc290 | [
"MIT"
] | null | null | null | TouchType/practica/admin.py | Francisco-Galindo/Mecanopractica | cdb6b99bab9ef4e02e7a9705891a25c2426fc290 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Group, User, Substring_es, Words_es, Text_Author, Text_Mode, Text, Session, Tip
# Register your models here.
admin.site.register(User)
admin.site.register(Substring_es)
admin.site.register(Words_es)
admin.site.register(Text_Author)
admin.site.register(Text_Mode)
admi... | 30.285714 | 99 | 0.813679 | 65 | 424 | 5.184615 | 0.307692 | 0.240356 | 0.454006 | 0.186944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073113 | 424 | 13 | 100 | 32.615385 | 0.857506 | 0.061321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.181818 | 0 | 0.181818 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ad0614a1ba0d74d4dd0dd05026c9f796f50675ce | 1,445 | py | Python | simple_time_card/resources.py | Pathfinder216/simple-time-card | d4a41c4e388893bf2cca25b98108ce66e4fdb6cd | [
"MIT"
] | null | null | null | simple_time_card/resources.py | Pathfinder216/simple-time-card | d4a41c4e388893bf2cca25b98108ce66e4fdb6cd | [
"MIT"
] | null | null | null | simple_time_card/resources.py | Pathfinder216/simple-time-card | d4a41c4e388893bf2cca25b98108ce66e4fdb6cd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.14.0)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x00\x1c\
\x5b\
\x43\x6f\x6e\x74\x72\x6f\x6c\x73\x5d\x0d\x0a\x53\x74\x79\x6c\x65\
\x3d\x4d\x61\x... | 27.264151 | 129 | 0.730796 | 269 | 1,445 | 3.784387 | 0.327138 | 0.294695 | 0.344794 | 0.330059 | 0.409627 | 0.409627 | 0.346758 | 0.302554 | 0.302554 | 0.302554 | 0 | 0.221456 | 0.096886 | 1,445 | 52 | 130 | 27.788462 | 0.558621 | 0.10519 | 0 | 0.111111 | 0 | 0.194444 | 0.000778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.027778 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 4 |
ad403b6f92536edf3dfe94009bbffcaf87bb90d3 | 162 | py | Python | src/drone_ai/scripts/snippets/training.py | ElHouas/drone_sim | e42f49d8536855516b3881c016f828e8525e4af3 | [
"MIT"
] | null | null | null | src/drone_ai/scripts/snippets/training.py | ElHouas/drone_sim | e42f49d8536855516b3881c016f828e8525e4af3 | [
"MIT"
] | null | null | null | src/drone_ai/scripts/snippets/training.py | ElHouas/drone_sim | e42f49d8536855516b3881c016f828e8525e4af3 | [
"MIT"
] | 1 | 2020-12-18T21:14:33.000Z | 2020-12-18T21:14:33.000Z | #! /usr/bin/env python
import gym
import time
import numpy
import random
import time
from gym import wrappers
# ROS packages required
import rospy
import rospkg | 13.5 | 24 | 0.802469 | 25 | 162 | 5.2 | 0.64 | 0.138462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 162 | 12 | 25 | 13.5 | 0.955882 | 0.265432 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ad7f74167febc8b1c77917eb22b1a58eeafa335a | 1,670 | py | Python | analysis/forms.py | NilaiVemula/pycellfit-web | 9b18a4af7ad2ad22883b3449c3cbf1123f7c4716 | [
"MIT"
] | null | null | null | analysis/forms.py | NilaiVemula/pycellfit-web | 9b18a4af7ad2ad22883b3449c3cbf1123f7c4716 | [
"MIT"
] | 3 | 2020-08-03T22:27:31.000Z | 2021-06-25T15:41:57.000Z | analysis/forms.py | NilaiVemula/pycellfit-web | 9b18a4af7ad2ad22883b3449c3cbf1123f7c4716 | [
"MIT"
] | null | null | null | from django import forms
class ImageUploadForm(forms.Form):
image = forms.ImageField()
class ParametersForm(forms.Form):
name = forms.CharField(max_length=100)
# Image
base64_image = forms.CharField(max_length=100000000, widget=forms.HiddenInput())
# Mesh Generation
avg_num_nodes_per_edge = fo... | 40.731707 | 116 | 0.737725 | 181 | 1,670 | 6.651934 | 0.381215 | 0.254153 | 0.373754 | 0.448505 | 0.366279 | 0.127907 | 0.127907 | 0.127907 | 0.127907 | 0.127907 | 0 | 0.012178 | 0.164072 | 1,670 | 40 | 117 | 41.75 | 0.850287 | 0.038323 | 0 | 0.129032 | 0 | 0 | 0.058198 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.870968 | 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 | 1 | 0 | 0 | 4 |
d10bb6e8d5a031760c9e0f75ec5b057cbe7cbbab | 1,213 | py | Python | tests/events/listFirstPageOfEventsTest.py | nathanielwarner/seatsio-python | e731ed0c37f2496c620b40e38527a58bf3b9a9b2 | [
"MIT"
] | 2 | 2018-03-29T18:21:01.000Z | 2022-02-08T10:49:47.000Z | tests/events/listFirstPageOfEventsTest.py | nathanielwarner/seatsio-python | e731ed0c37f2496c620b40e38527a58bf3b9a9b2 | [
"MIT"
] | 7 | 2018-09-03T12:31:52.000Z | 2022-02-01T08:25:09.000Z | tests/events/listFirstPageOfEventsTest.py | nathanielwarner/seatsio-python | e731ed0c37f2496c620b40e38527a58bf3b9a9b2 | [
"MIT"
] | 2 | 2020-12-22T09:51:07.000Z | 2021-12-13T15:37:14.000Z | from tests.seatsioClientTest import SeatsioClientTest
from tests.util.asserts import assert_that
class ListFirstPageOfEventsTest(SeatsioClientTest):
def test_allOnFirstPage(self):
chart = self.client.charts.create()
event1 = self.client.events.create(chart.key)
event2 = self.client.events... | 40.433333 | 100 | 0.727123 | 157 | 1,213 | 5.407643 | 0.280255 | 0.117786 | 0.150766 | 0.155477 | 0.763251 | 0.753828 | 0.753828 | 0.753828 | 0.753828 | 0.56066 | 0 | 0.012795 | 0.162407 | 1,213 | 29 | 101 | 41.827586 | 0.822835 | 0 | 0 | 0.47619 | 0 | 0 | 0.003298 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.095238 | false | 0 | 0.095238 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 4 |
d1221d2e67b1765bb9686d40bacfef139f904340 | 4,030 | py | Python | businesslogic/placeholders.py | Fake4d/mosk | d15c6088a382a51706bd38e3299d00be5c208acc | [
"CC0-1.0"
] | null | null | null | businesslogic/placeholders.py | Fake4d/mosk | d15c6088a382a51706bd38e3299d00be5c208acc | [
"CC0-1.0"
] | null | null | null | businesslogic/placeholders.py | Fake4d/mosk | d15c6088a382a51706bd38e3299d00be5c208acc | [
"CC0-1.0"
] | null | null | null | """
placeholders module
"""
__author__ = '3Peso'
__all__ = ['Placeholder']
import functools
import json
import logging
import re
from os import path
from collections import UserDict
class Placeholder:
"""
The Placeholder class is been used to store 'variables' in a lookup table which later can be used to re... | 4,030 | 4,030 | 0.711166 | 428 | 4,030 | 6.471963 | 0.341122 | 0.066426 | 0.065704 | 0.01444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000316 | 0.215385 | 4,030 | 1 | 4,030 | 4,030 | 0.875712 | 0.23871 | 0 | 0.126984 | 0 | 0 | 0.110963 | 0.046123 | 0 | 0 | 0 | 1 | 0 | 1 | 0.142857 | false | 0 | 0.095238 | 0.047619 | 0.460317 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d14247acc40b4ee5cd60f29e092e6a97365e9742 | 330 | py | Python | borsdata_sdk/models/InstrumentUpdate.py | tsjk/borsdata-sdk | 97bc8fe917418de50f7484ed75e7d9ddd611c050 | [
"MIT"
] | 8 | 2019-05-27T19:59:57.000Z | 2021-02-09T15:03:46.000Z | borsdata_sdk/models/InstrumentUpdate.py | tsjk/borsdata-sdk | 97bc8fe917418de50f7484ed75e7d9ddd611c050 | [
"MIT"
] | 16 | 2019-05-14T12:20:28.000Z | 2021-09-09T08:19:06.000Z | borsdata_sdk/models/InstrumentUpdate.py | tsjk/borsdata-sdk | 97bc8fe917418de50f7484ed75e7d9ddd611c050 | [
"MIT"
] | 3 | 2020-07-13T21:08:52.000Z | 2021-11-30T00:20:40.000Z | class InstrumentUpdate:
insId: int
updatedAt: str
def __init__(self, insId, updatedAt):
self.insId = insId
self.updatedAt = updatedAt
def __str__(self):
return '{}: {}'.format(self.insId, self.updatedAt)
def __repr__(self):
return '{}: {}'.format(self.insId, self.u... | 23.571429 | 58 | 0.615152 | 35 | 330 | 5.457143 | 0.342857 | 0.188482 | 0.282723 | 0.209424 | 0.397906 | 0.397906 | 0.397906 | 0 | 0 | 0 | 0 | 0 | 0.251515 | 330 | 13 | 59 | 25.384615 | 0.773279 | 0 | 0 | 0.2 | 0 | 0 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
d152c6acd4e3d0e3c1e0144b31232583136ea457 | 97 | py | Python | userliteralmain.py | abarnert/userliteralhack | 6e4d6b31372506141c73e8e23b935791b3a67278 | [
"MIT"
] | 3 | 2015-06-02T19:26:23.000Z | 2019-03-18T22:25:15.000Z | userliteralmain.py | abarnert/userliteralhack | 6e4d6b31372506141c73e8e23b935791b3a67278 | [
"MIT"
] | null | null | null | userliteralmain.py | abarnert/userliteralhack | 6e4d6b31372506141c73e8e23b935791b3a67278 | [
"MIT"
] | null | null | null | import userliteral
import userliteraltest
if __name__ == '__main__':
userliteraltest.test()
| 16.166667 | 26 | 0.773196 | 9 | 97 | 7.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 97 | 5 | 27 | 19.4 | 0.807229 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d164e5e975ba58cd8f547482165d1bba36980c9a | 80 | py | Python | src/python/main.py | ludo237/ayy-lmao | ff8c6d3743faf0d3c5f2a0159a74e1c1ae2824d4 | [
"Unlicense"
] | null | null | null | src/python/main.py | ludo237/ayy-lmao | ff8c6d3743faf0d3c5f2a0159a74e1c1ae2824d4 | [
"Unlicense"
] | 1 | 2019-10-02T14:31:10.000Z | 2019-10-02T14:31:10.000Z | src/python/main.py | ludo237/ayy-lmao | ff8c6d3743faf0d3c5f2a0159a74e1c1ae2824d4 | [
"Unlicense"
] | 2 | 2018-10-16T15:49:37.000Z | 2019-10-02T14:25:32.000Z | """Renders a the most important string you will ever need."""
print('Ayy LMAO')
| 26.666667 | 61 | 0.7125 | 13 | 80 | 4.384615 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 80 | 2 | 62 | 40 | 0.838235 | 0.6875 | 0 | 0 | 0 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 4 |
d17366ae2f87e56dba79b44d7a7c481fafe3d55d | 609 | bzl | Python | source/bazel/deps/cpp_httplib/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 33 | 2019-05-30T07:43:32.000Z | 2021-12-30T13:12:32.000Z | source/bazel/deps/cpp_httplib/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 371 | 2019-05-16T15:23:50.000Z | 2021-09-04T15:45:27.000Z | source/bazel/deps/cpp_httplib/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 6 | 2019-08-22T17:37:36.000Z | 2020-11-07T07:15:32.000Z | # Do not edit this file directly.
# It was auto-generated by: code/programs/reflexivity/reflexive_refresh
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def cppHttplib():
http_archive(
name="cpp_httplib" ,
build_file="//bazel/deps/cpp_httplib:build.BUILD" ,
sha256="1... | 35.823529 | 109 | 0.71757 | 60 | 609 | 7.133333 | 0.716667 | 0.093458 | 0.070093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215415 | 0.16913 | 609 | 16 | 110 | 38.0625 | 0.630435 | 0.165846 | 0 | 0 | 1 | 0 | 0.619802 | 0.388119 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0f11380004f14666ff53ccade6ee5fa92fdaeae0 | 396 | py | Python | landlab/components/flow_routing/__init__.py | csherwood-usgs/landlab | 4f43055060b544b34e71eba7062c09866ad93640 | [
"MIT"
] | 1 | 2016-12-04T01:16:54.000Z | 2016-12-04T01:16:54.000Z | landlab/components/flow_routing/__init__.py | csherwood-usgs/landlab | 4f43055060b544b34e71eba7062c09866ad93640 | [
"MIT"
] | null | null | null | landlab/components/flow_routing/__init__.py | csherwood-usgs/landlab | 4f43055060b544b34e71eba7062c09866ad93640 | [
"MIT"
] | null | null | null | from .route_flow_dn import FlowRouter
from .lake_mapper import DepressionFinderAndRouter
from ..flow_director import flow_direction_DN
from ..flow_director.flow_direction_DN import(grid_flow_directions,
flow_directions)
__all__ = ['FlowRouter', 'DepressionFinderAndRouter',... | 44 | 77 | 0.727273 | 41 | 396 | 6.512195 | 0.341463 | 0.209738 | 0.168539 | 0.164794 | 0.2397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 396 | 8 | 78 | 49.5 | 0.847619 | 0 | 0 | 0 | 0 | 0 | 0.219697 | 0.063131 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
0f2e88e868e32c1d0c8cb36e492bb836e186e1c9 | 1,570 | py | Python | gateway/req.py | wasp/gateway | c91209ad886fc869261c02b0b2f890109091430b | [
"Apache-2.0"
] | 6 | 2017-08-06T02:54:59.000Z | 2019-09-17T02:18:51.000Z | gateway/req.py | wasp/gateway | c91209ad886fc869261c02b0b2f890109091430b | [
"Apache-2.0"
] | null | null | null | gateway/req.py | wasp/gateway | c91209ad886fc869261c02b0b2f890109091430b | [
"Apache-2.0"
] | 1 | 2016-10-07T02:04:12.000Z | 2016-10-07T02:04:12.000Z | import asyncio
from typing import List, Tuple
class Request:
__slots__ = ('_method', '_version', '_headers', '_content', '_url',
'_transport', '_loop')
def __init__(self, method, version, headers, content, url, transport,
loop):
"""
Model of an HTTP Request, ... | 26.610169 | 73 | 0.604459 | 173 | 1,570 | 5.317919 | 0.312139 | 0.083696 | 0.043478 | 0.058696 | 0.093478 | 0.093478 | 0.093478 | 0 | 0 | 0 | 0 | 0 | 0.306369 | 1,570 | 58 | 74 | 27.068966 | 0.844812 | 0.250318 | 0 | 0.2 | 0 | 0 | 0.045788 | 0 | 0 | 0 | 0 | 0.017241 | 0 | 1 | 0.228571 | false | 0 | 0.057143 | 0.171429 | 0.542857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0f3db1eaaeae5a4a25b7bf8e6ec908ff63811869 | 223 | py | Python | iexfinance/stocks/marketvolume.py | ArcticFaded/iexfinance | a8400737878c5727db5e588eb0f5f0e7f6c0dffc | [
"Apache-2.0"
] | 4 | 2019-12-09T21:24:28.000Z | 2019-12-10T21:42:53.000Z | iexfinance/stocks/marketvolume.py | ArcticFaded/iexfinance | a8400737878c5727db5e588eb0f5f0e7f6c0dffc | [
"Apache-2.0"
] | 2 | 2019-12-07T17:20:26.000Z | 2019-12-07T17:21:00.000Z | Lib/site-packages/iexfinance/stocks/marketvolume.py | MetroSpinnin/NaijaHacks-EdtechML-solution | ad9e50214187606d39b444201cdf1751d0269308 | [
"bzip2-1.0.6"
] | 1 | 2020-01-27T19:30:37.000Z | 2020-01-27T19:30:37.000Z | from iexfinance.base import _IEXBase
class MarketVolumeReader(_IEXBase):
@property
def url(self):
return "stock/market/volume"
def fetch(self):
return super(MarketVolumeReader, self).fetch()
| 18.583333 | 54 | 0.690583 | 24 | 223 | 6.333333 | 0.708333 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215247 | 223 | 11 | 55 | 20.272727 | 0.868571 | 0 | 0 | 0 | 0 | 0 | 0.085202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0f75c5b5436b69f2eb1d38763ce259dcf922ab7e | 93 | py | Python | epymetheus/datasets/__init__.py | shishaboy/epymetheus | d8916b20c6b79e86e5aadb39c7c01a582659f03b | [
"BSD-3-Clause"
] | null | null | null | epymetheus/datasets/__init__.py | shishaboy/epymetheus | d8916b20c6b79e86e5aadb39c7c01a582659f03b | [
"BSD-3-Clause"
] | null | null | null | epymetheus/datasets/__init__.py | shishaboy/epymetheus | d8916b20c6b79e86e5aadb39c7c01a582659f03b | [
"BSD-3-Clause"
] | null | null | null | # flake8: noqa
from .randomwalk import make_randomwalk
from .usstocks import fetch_usstocks
| 18.6 | 39 | 0.827957 | 12 | 93 | 6.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.129032 | 93 | 4 | 40 | 23.25 | 0.91358 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0f7819e7c0937dd6aa23bd3895a95b6b2f262a0f | 1,190 | py | Python | ClassSelect.py | Hua777/NSYSUSelcrs | b36dc9dd7329c6d20f23d666facaa8e6e5251c63 | [
"MIT"
] | null | null | null | ClassSelect.py | Hua777/NSYSUSelcrs | b36dc9dd7329c6d20f23d666facaa8e6e5251c63 | [
"MIT"
] | null | null | null | ClassSelect.py | Hua777/NSYSUSelcrs | b36dc9dd7329c6d20f23d666facaa8e6e5251c63 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
__author__ = "Hua777"
__copyright__ = "Copyright 2018, Hua777"
__version__ = "2.0"
__email__ = "liao.700529@gmail.com"
class ClassSelect(object):
def __init__(self, data):
self.Data = data
'''
self.Get = array[0]
self.Department = array[1]
self.Numb... | 20.517241 | 43 | 0.551261 | 143 | 1,190 | 4.447552 | 0.363636 | 0.113208 | 0.154088 | 0.198113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059553 | 0.322689 | 1,190 | 58 | 44 | 20.517241 | 0.729529 | 0.017647 | 0 | 0.25 | 0 | 0 | 0.077151 | 0.031157 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.25 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0f8b978e8d287d1b10e143079dcd2270c845e5d0 | 904 | py | Python | traffic/serializers.py | pangpifuta/react-ui-project | dea2ad1b114718f6d034e3afb94c75780d328198 | [
"MIT"
] | null | null | null | traffic/serializers.py | pangpifuta/react-ui-project | dea2ad1b114718f6d034e3afb94c75780d328198 | [
"MIT"
] | 6 | 2020-06-05T20:28:09.000Z | 2022-01-13T01:10:19.000Z | traffic/serializers.py | pangpifuta/react-ui-project | dea2ad1b114718f6d034e3afb94c75780d328198 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import reg
from django.contrib.auth.models import User
class RegSerializer(serializers.ModelSerializer):
class Meta:
model = reg
fields = ('id', 'saving_name', 'date', 'redu_percent')
# class CreateUserSerializer(serializers.ModelSer... | 31.172414 | 73 | 0.576327 | 84 | 904 | 6.047619 | 0.464286 | 0.07874 | 0.183071 | 0.206693 | 0.417323 | 0.338583 | 0.338583 | 0.244094 | 0.244094 | 0.244094 | 0 | 0 | 0.310841 | 904 | 28 | 74 | 32.285714 | 0.815409 | 0.646018 | 0 | 0 | 0 | 0 | 0.104693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7e15ff9b05d0a057267702f1b78370cb6ab70d0b | 245 | py | Python | UR_Control/ur_online_control/utilities/files.py | ytakzk/Gradual-Assemblies | 48579e7a2d73d51b95a685fc1b757024c96011d4 | [
"MIT"
] | 1 | 2019-09-21T09:21:13.000Z | 2019-09-21T09:21:13.000Z | UR_Control/ur_online_control/utilities/files.py | ytakzk/Gradual-Assemblies | 48579e7a2d73d51b95a685fc1b757024c96011d4 | [
"MIT"
] | null | null | null | UR_Control/ur_online_control/utilities/files.py | ytakzk/Gradual-Assemblies | 48579e7a2d73d51b95a685fc1b757024c96011d4 | [
"MIT"
] | 1 | 2021-04-01T16:03:25.000Z | 2021-04-01T16:03:25.000Z | '''
Created on 09.10.2017
@author: rustr
'''
def read_file_to_string(afile):
with file(afile) as f:
afile_str = f.read()
return afile_str
def read_file_to_list(afile):
return [line for line in open(afile, "r").readlines()] | 18.846154 | 58 | 0.665306 | 40 | 245 | 3.875 | 0.625 | 0.090323 | 0.141935 | 0.167742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.2 | 245 | 13 | 58 | 18.846154 | 0.75 | 0.15102 | 0 | 0 | 0 | 0 | 0.004975 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7e1f0e55323136bcba1aa7171c925bb3880e2858 | 693 | py | Python | problems/problem_3.py | ajaypokharel/n-solutions-for-one-python-problem | 8a670069091bd1467b5606e810c93b8c11376ea6 | [
"MIT"
] | null | null | null | problems/problem_3.py | ajaypokharel/n-solutions-for-one-python-problem | 8a670069091bd1467b5606e810c93b8c11376ea6 | [
"MIT"
] | null | null | null | problems/problem_3.py | ajaypokharel/n-solutions-for-one-python-problem | 8a670069091bd1467b5606e810c93b8c11376ea6 | [
"MIT"
] | null | null | null | """
todo: Write a Python program to add the sum of every digit in a given integer.
"""
from functools import reduce
# solution one using reduce
def add_sum_1(num):
return reduce(lambda x, y: int(x) + int(y), str(num))
# solution two using simple iteration
def add_sum_2(num):
total = 0
for item in str(nu... | 21.65625 | 78 | 0.665224 | 114 | 693 | 3.947368 | 0.447368 | 0.053333 | 0.08 | 0.053333 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.229437 | 693 | 31 | 79 | 22.354839 | 0.831461 | 0.347763 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0.125 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7e4aa7c32d97290a20064c4a56d138bd475a7ba9 | 229 | py | Python | Fangz/spiders/Zufang.py | Deteriorator/RentingHouses | 56b14640cd1d41045f60225819de554480ee516b | [
"Apache-2.0"
] | null | null | null | Fangz/spiders/Zufang.py | Deteriorator/RentingHouses | 56b14640cd1d41045f60225819de554480ee516b | [
"Apache-2.0"
] | null | null | null | Fangz/spiders/Zufang.py | Deteriorator/RentingHouses | 56b14640cd1d41045f60225819de554480ee516b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import scrapy
class ZufangSpider(scrapy.Spider):
name = 'Zufang'
allowed_domains = ['su.zu.anjuke.com']
start_urls = ['http://su.zu.anjuke.com/']
def parse(self, response):
pass
| 19.083333 | 45 | 0.611354 | 29 | 229 | 4.758621 | 0.827586 | 0.057971 | 0.144928 | 0.188406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005556 | 0.213974 | 229 | 11 | 46 | 20.818182 | 0.761111 | 0.091703 | 0 | 0 | 0 | 0 | 0.223301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.142857 | 0 | 0.857143 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
7e597fb1b9dfa38bf944526cdb855a43d9427639 | 307 | py | Python | plaguegame/__init__.py | NoUMelon/phen-cogs | f8d4de3a91f428114d66fd36ba38ecbd5ace83a3 | [
"MIT"
] | 1 | 2021-06-01T10:12:09.000Z | 2021-06-01T10:12:09.000Z | plaguegame/__init__.py | NoUMelon/phen-cogs | f8d4de3a91f428114d66fd36ba38ecbd5ace83a3 | [
"MIT"
] | null | null | null | plaguegame/__init__.py | NoUMelon/phen-cogs | f8d4de3a91f428114d66fd36ba38ecbd5ace83a3 | [
"MIT"
] | null | null | null | from .plague import Plague
__red_end_user_data_statement__ = "This cog stores data on users based off their interactions within the game. Examples of such data are their 'health state' (healthy or infected) or their 'game role' (user, doctor, plaguebearer)."
def setup(bot):
bot.add_cog(Plague(bot))
| 38.375 | 231 | 0.76873 | 48 | 307 | 4.729167 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153094 | 307 | 7 | 232 | 43.857143 | 0.873077 | 0 | 0 | 0 | 0 | 0.25 | 0.635179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7e7580a097173e32f9f12f1acd2ee852c3f4384c | 211 | py | Python | beetsplug/__init__.py | lionel-/BeetsPluginStructuredComments | cdd0ae28d0b5ff3db6ac227a65b522be673cadcf | [
"MIT"
] | 3 | 2020-12-23T10:16:51.000Z | 2021-12-23T23:44:00.000Z | beetsplug/__init__.py | lionel-/BeetsPluginStructuredComments | cdd0ae28d0b5ff3db6ac227a65b522be673cadcf | [
"MIT"
] | null | null | null | beetsplug/__init__.py | lionel-/BeetsPluginStructuredComments | cdd0ae28d0b5ff3db6ac227a65b522be673cadcf | [
"MIT"
] | 1 | 2020-12-30T14:07:18.000Z | 2020-12-30T14:07:18.000Z | # Copyright: Copyright (c) 2020., Michael Toohig
# Author: Michael Toohig <michael dot toohig at gmail>
# License: See LICENSE.txt
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
| 26.375 | 55 | 0.763033 | 28 | 211 | 5.25 | 0.642857 | 0.176871 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.156398 | 211 | 7 | 56 | 30.142857 | 0.803371 | 0.597156 | 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 | 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 | 4 |
7e93cc1237cceb4957839e201f7b6dced00e834a | 73 | py | Python | sample/test6.py | MusaTamzid05/CodeDiffer | 1f8d786bbf001e9efb6ce6b28763c5fcf098c355 | [
"MIT"
] | null | null | null | sample/test6.py | MusaTamzid05/CodeDiffer | 1f8d786bbf001e9efb6ce6b28763c5fcf098c355 | [
"MIT"
] | null | null | null | sample/test6.py | MusaTamzid05/CodeDiffer | 1f8d786bbf001e9efb6ce6b28763c5fcf098c355 | [
"MIT"
] | null | null | null |
class Data:
def __init__(self, a, b):
self.testData = a + b
| 14.6 | 29 | 0.547945 | 11 | 73 | 3.272727 | 0.727273 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.328767 | 73 | 4 | 30 | 18.25 | 0.734694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0e3529412d035d67cf93a9c2a3c618cb57846369 | 246 | py | Python | torpc/__init__.py | fordoo/fizznet | 55d83d11c3b37c3bde7fae8c3579e5cb712d1940 | [
"MIT"
] | 60 | 2015-10-16T03:18:38.000Z | 2021-06-04T07:39:53.000Z | torpc/__init__.py | fordoo/fizznet | 55d83d11c3b37c3bde7fae8c3579e5cb712d1940 | [
"MIT"
] | 4 | 2015-11-20T09:38:29.000Z | 2016-09-06T15:27:35.000Z | torpc/__init__.py | fordoo/fizznet | 55d83d11c3b37c3bde7fae8c3579e5cb712d1940 | [
"MIT"
] | 15 | 2015-11-07T19:14:28.000Z | 2019-10-12T07:35:50.000Z | # -*- coding: utf-8 -*-
from torpc.rpc import RPCConnection, RPCClient, RPCServer, DuplexRPCServer, RPCServerError
from torpc.tcp import Connection, TcpClient, TcpServer, ConnectionClosedError
from torpc.services import Services, NoServiceError
| 41 | 90 | 0.813008 | 26 | 246 | 7.692308 | 0.730769 | 0.135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004545 | 0.105691 | 246 | 5 | 91 | 49.2 | 0.904545 | 0.085366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0e5347ffa619fe24fab8d7f16ec0db51de680e5a | 442 | py | Python | my/strategy_center.py | Michael-JC/inverstment_analysis | 724bcda7606d3049e6299f7f3390872954f6628f | [
"Apache-2.0"
] | 1 | 2021-05-25T06:34:13.000Z | 2021-05-25T06:34:13.000Z | my/strategy_center.py | Michael-JC/inverstment_analysis | 724bcda7606d3049e6299f7f3390872954f6628f | [
"Apache-2.0"
] | null | null | null | my/strategy_center.py | Michael-JC/inverstment_analysis | 724bcda7606d3049e6299f7f3390872954f6628f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# coding:utf-8
"""
function:
@author: zkang kai
@contact: 474918208@qq.com
"""
class strategy_center(object):
"""
用来管理所有加载的策略
"""
def __init__():
pass
def add_strategy():
"""
加载新的策略
"""
pass
def delete_strategy():
"""
... | 12.277778 | 30 | 0.459276 | 39 | 442 | 5 | 0.794872 | 0.107692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037879 | 0.402715 | 442 | 35 | 31 | 12.628571 | 0.700758 | 0.303167 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | true | 0.444444 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
0e7b2dc966fd257a7f34e8700c2734de285825f3 | 90 | py | Python | haskpy/typeclasses/ord.py | jluttine/haskpy | 79fca70b5f46d8551ed61b4bbd040de5f5ba0440 | [
"MIT"
] | 2 | 2021-04-08T18:34:39.000Z | 2022-02-24T18:02:45.000Z | haskpy/typeclasses/ord.py | jluttine/haskpy | 79fca70b5f46d8551ed61b4bbd040de5f5ba0440 | [
"MIT"
] | null | null | null | haskpy/typeclasses/ord.py | jluttine/haskpy | 79fca70b5f46d8551ed61b4bbd040de5f5ba0440 | [
"MIT"
] | null | null | null | """**TODO**
.. autosummary::
:toctree:
Ord
"""
class Ord():
"""**TODO**"""
| 6.923077 | 18 | 0.411111 | 7 | 90 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 90 | 12 | 19 | 7.5 | 0.560606 | 0.622222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0e7c4f8d4530233621ff03393c6e6d3ba8e3328b | 204 | py | Python | Ope/Ope.py | nicolasdelp/SPJRUD-to-SQL | 41e855d26112420aea4064b50d2ada1cfb527af8 | [
"MIT"
] | null | null | null | Ope/Ope.py | nicolasdelp/SPJRUD-to-SQL | 41e855d26112420aea4064b50d2ada1cfb527af8 | [
"MIT"
] | null | null | null | Ope/Ope.py | nicolasdelp/SPJRUD-to-SQL | 41e855d26112420aea4064b50d2ada1cfb527af8 | [
"MIT"
] | null | null | null | __author__ = "Nicolas Delplanque"
__credits__ = ["Nicolas Delplanque"]
__version__ = "1.0.1"
__maintainer__ = "Nicolas Delplanque"
__email__ = "nicolas.delplanque@student.umons.ac.be"
class Ope:
pass | 25.5 | 52 | 0.754902 | 23 | 204 | 5.826087 | 0.695652 | 0.507463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01676 | 0.122549 | 204 | 8 | 53 | 25.5 | 0.731844 | 0 | 0 | 0 | 0 | 0 | 0.473171 | 0.185366 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0e869eb1fb2938fd218b0b1fa1857b23a06c45a1 | 325 | py | Python | deeptrain/util/__init__.py | Mario-Kart-Felix/deeptrain | 45e066e9aa97c16780682d62250516c7d64d9897 | [
"MIT"
] | 16 | 2020-09-15T14:27:05.000Z | 2021-05-30T09:43:09.000Z | deeptrain/util/__init__.py | adbmd/deeptrain | fd412e68e23bce0d9997b0a619a6887ad557067e | [
"MIT"
] | 1 | 2020-09-18T00:44:17.000Z | 2020-09-18T14:06:00.000Z | deeptrain/util/__init__.py | adbmd/deeptrain | fd412e68e23bce0d9997b0a619a6887ad557067e | [
"MIT"
] | 3 | 2020-09-17T16:56:28.000Z | 2021-01-30T03:23:31.000Z | from . import configs
from . import logging
from . import saving
from . import searching
from . import training
from . import misc
from . import data_loaders
from . import experimental
from . import preprocessors
from .preprocessors import Preprocessor
from .preprocessors import GenericPreprocessor, TimeseriesPreproce... | 25 | 70 | 0.821538 | 37 | 325 | 7.189189 | 0.405405 | 0.338346 | 0.172932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141538 | 325 | 12 | 71 | 27.083333 | 0.953405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0ea470113200e050c2d4415bc61ff0477ebfec72 | 325 | py | Python | gregsprograms/plotvoltages.py | gjhartwell/cth-python | 558148a5755fd0bd3b12e1380d365f8bf51efa19 | [
"MIT"
] | null | null | null | gregsprograms/plotvoltages.py | gjhartwell/cth-python | 558148a5755fd0bd3b12e1380d365f8bf51efa19 | [
"MIT"
] | null | null | null | gregsprograms/plotvoltages.py | gjhartwell/cth-python | 558148a5755fd0bd3b12e1380d365f8bf51efa19 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Jun 9 12:50:34 2020
@author: hartwgj
"""
from gregsprograms import ohshots
from gregsprograms import OHVoltageUsed
#from gregsprograms import plotOHvolts
def plotvoltages(day,server):
shots=ohshots(day,day,server)
OHVoltageUsed(shots,server)
#plotOHvolts(shots,v... | 23.214286 | 39 | 0.744615 | 41 | 325 | 5.902439 | 0.634146 | 0.210744 | 0.285124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043165 | 0.144615 | 325 | 14 | 40 | 23.214286 | 0.827338 | 0.421538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7ebe78248a2f1a32e96d52a6e20a275b8b7cc750 | 227 | py | Python | pathcensus/nullmodels/__init__.py | sztal/pathcensus | 0246b1450e5d7fa0421e283f980c367100fcdd6a | [
"MIT"
] | null | null | null | pathcensus/nullmodels/__init__.py | sztal/pathcensus | 0246b1450e5d7fa0421e283f980c367100fcdd6a | [
"MIT"
] | null | null | null | pathcensus/nullmodels/__init__.py | sztal/pathcensus | 0246b1450e5d7fa0421e283f980c367100fcdd6a | [
"MIT"
] | null | null | null | """Null model classes implementing different variants
of the configuration model.
The classes implemented in this module are simple wrappers
around :py:mod:`NEMtropy` package.
"""
from .ubcm import UBCM
from .uecm import UECM
| 25.222222 | 58 | 0.792952 | 32 | 227 | 5.625 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140969 | 227 | 8 | 59 | 28.375 | 0.923077 | 0.762115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7ec8f9412c83c20afdb244814f75d1f3cb8b7e5f | 227 | py | Python | software/Proyecto A/Pruebas/prueba_pybluez.py | USB-EC3883-III-2019/EC3883-G07 | b639faa2a7b5a0a658e20d5d0993f9a76276d154 | [
"MIT"
] | null | null | null | software/Proyecto A/Pruebas/prueba_pybluez.py | USB-EC3883-III-2019/EC3883-G07 | b639faa2a7b5a0a658e20d5d0993f9a76276d154 | [
"MIT"
] | null | null | null | software/Proyecto A/Pruebas/prueba_pybluez.py | USB-EC3883-III-2019/EC3883-G07 | b639faa2a7b5a0a658e20d5d0993f9a76276d154 | [
"MIT"
] | null | null | null | import bluetooth
print "Buscando..."
nearby_devices = bluetooth.discover_devices(lookup_names = True)
print "Se encontraron %d dispositivos" %len(nearby_devices)
for name, addr in nearby_devices:
print "%s - %s" %(addr,name) | 28.375 | 64 | 0.762115 | 31 | 227 | 5.419355 | 0.645161 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118943 | 227 | 8 | 65 | 28.375 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7ee7fb6c15653fb0276b94772c69118d7f4ef90f | 155 | py | Python | tests/test_migrator_func.py | Drizzt1991/plasticine | be61baa88f53bdfa666d068a14f17ccc0cfe4d02 | [
"MIT"
] | null | null | null | tests/test_migrator_func.py | Drizzt1991/plasticine | be61baa88f53bdfa666d068a14f17ccc0cfe4d02 | [
"MIT"
] | null | null | null | tests/test_migrator_func.py | Drizzt1991/plasticine | be61baa88f53bdfa666d068a14f17ccc0cfe4d02 | [
"MIT"
] | null | null | null |
from unittest import TestCase
class TestMigratorFunc(TestCase):
def setUp(self):
pass
def test_simple_migration(self):
pass
| 11.071429 | 36 | 0.664516 | 17 | 155 | 5.941176 | 0.764706 | 0.158416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277419 | 155 | 13 | 37 | 11.923077 | 0.901786 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
7eebdfb7a78221aab42ce8e9b101512661a2aa1f | 175 | py | Python | dentexchange/apps/libs/views/list.py | hellhound/dentexchange | 58ae303e842404fc9e1860f294ec8044a332bef3 | [
"BSD-3-Clause"
] | 1 | 2017-11-09T23:09:51.000Z | 2017-11-09T23:09:51.000Z | dentexchange/apps/libs/views/list.py | hellhound/dentexchange | 58ae303e842404fc9e1860f294ec8044a332bef3 | [
"BSD-3-Clause"
] | null | null | null | dentexchange/apps/libs/views/list.py | hellhound/dentexchange | 58ae303e842404fc9e1860f294ec8044a332bef3 | [
"BSD-3-Clause"
] | 3 | 2015-08-11T16:58:47.000Z | 2021-01-04T08:23:51.000Z | # -*- coding:utf-8 -*-
from django.views.generic.list import ListView
from .. import constants
class DentexchangeListView(ListView):
paginate_by = constants.PAGINATE_BY
| 21.875 | 46 | 0.76 | 21 | 175 | 6.238095 | 0.714286 | 0.152672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.131429 | 175 | 7 | 47 | 25 | 0.855263 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
7d2bc43428c6b9385c7632db22723c7a118c3487 | 95 | py | Python | twitterapp/apps.py | MirzaBaig715/simple-python-twitter | 6eaa87e7d44ea37ff3e54758ad3106f7fc1ae819 | [
"Apache-2.0"
] | 1 | 2021-08-19T02:36:04.000Z | 2021-08-19T02:36:04.000Z | twitterapp/apps.py | MirzaBaig715/simple-python-twitter | 6eaa87e7d44ea37ff3e54758ad3106f7fc1ae819 | [
"Apache-2.0"
] | 4 | 2020-02-11T22:54:06.000Z | 2021-06-10T20:28:39.000Z | twitterapp/apps.py | MirzaBaig715/simple-python-twitter | 6eaa87e7d44ea37ff3e54758ad3106f7fc1ae819 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class TwitterappConfig(AppConfig):
name = 'twitterapp'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
7d356da07aabcc14e54e8ffe487447a362980ad2 | 547 | py | Python | pyphone/controllers/top_controller.py | ChrisDeadman/pyPhone | 3ed2a94f6d3434135172d8706dedf1963e2ff6da | [
"MIT"
] | 1 | 2018-12-08T21:11:28.000Z | 2018-12-08T21:11:28.000Z | pyphone/controllers/top_controller.py | ChrisDeadman/pyPhone | 3ed2a94f6d3434135172d8706dedf1963e2ff6da | [
"MIT"
] | 1 | 2018-09-26T15:40:42.000Z | 2018-09-26T15:40:42.000Z | pyphone/controllers/top_controller.py | ChrisDeadman/pyPhone | 3ed2a94f6d3434135172d8706dedf1963e2ff6da | [
"MIT"
] | null | null | null | from pyphone import controllers
from pyphone.controllers.controller import Controller
from pyphone.panels import *
class TopController(Controller):
def show_call_panel(self):
from pyphone.controllers import CallController
if self.panel.show_panel is not CallPanel:
self.panel.show_pane... | 28.789474 | 61 | 0.736746 | 66 | 547 | 5.924242 | 0.363636 | 0.112532 | 0.132992 | 0.184143 | 0.138107 | 0.138107 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193784 | 547 | 18 | 62 | 30.388889 | 0.886621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7d3c1a84d7a3b16260466795032115322e427f22 | 265 | py | Python | Python/1-8/Animals list.py | Hisham-TK/Scratches | e3822b07e8961094660cc72b0ce39b56f7a1d901 | [
"MIT"
] | null | null | null | Python/1-8/Animals list.py | Hisham-TK/Scratches | e3822b07e8961094660cc72b0ce39b56f7a1d901 | [
"MIT"
] | 3 | 2020-05-20T09:08:31.000Z | 2021-05-11T14:49:05.000Z | Python/1-8/Animals list.py | Hisham-TK/Scratches | e3822b07e8961094660cc72b0ce39b56f7a1d901 | [
"MIT"
] | null | null | null | <<<<<<< HEAD
animals_list=lambda a:''.join(f'{i}. {v}\n' for i,v in enumerate(a))
animals=['cat','dog','horse']
print(animals_list(animals), '1. car\n2. dog\n3. horse\n')
=======
animals_list=lambda a:''.join(f'')
>>>>>>> d6817e098f877192bbd012f82e53b6f70c4dced9
| 26.5 | 68 | 0.645283 | 38 | 265 | 4.421053 | 0.578947 | 0.196429 | 0.202381 | 0.214286 | 0.27381 | 0.27381 | 0 | 0 | 0 | 0 | 0 | 0.115226 | 0.083019 | 265 | 9 | 69 | 29.444444 | 0.576132 | 0 | 0 | 0 | 0 | 0 | 0.177358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ada4eb5df93650730e4f0df8e2cfc7865ed6456f | 5,896 | py | Python | tests/tracer/test_agent.py | brettlangdon/dd-trace-py | 95e2641d734669719ca07841de58e233cb0f49e9 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | tests/tracer/test_agent.py | brettlangdon/dd-trace-py | 95e2641d734669719ca07841de58e233cb0f49e9 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2021-10-07T02:22:59.000Z | 2021-12-15T02:15:48.000Z | tests/tracer/test_agent.py | depop/dd-trace-py | 95e2641d734669719ca07841de58e233cb0f49e9 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-09-28T06:20:53.000Z | 2020-09-28T06:20:53.000Z | import pytest
from ddtrace.internal import agent
def test_hostname(monkeypatch):
assert agent.get_hostname() == "localhost"
monkeypatch.setenv("DD_AGENT_HOST", "host")
assert agent.get_hostname() == "host"
def test_trace_port(monkeypatch):
assert agent.get_trace_port() == 8126
monkeypatch.seten... | 37.794872 | 114 | 0.67673 | 822 | 5,896 | 4.654501 | 0.111922 | 0.050183 | 0.076843 | 0.064558 | 0.847883 | 0.749085 | 0.718244 | 0.661526 | 0.661526 | 0.602196 | 0 | 0.033905 | 0.18962 | 5,896 | 155 | 115 | 38.03871 | 0.766848 | 0.13365 | 0 | 0.559633 | 0 | 0.009174 | 0.264862 | 0.030802 | 0 | 0 | 0 | 0 | 0.33945 | 1 | 0.06422 | false | 0 | 0.018349 | 0 | 0.082569 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 4 |
adcb07395785f1b34a897994aced063dc261951f | 98 | py | Python | qg_interface/apps.py | kuPacemaker/restful-unilm-django | 679bcbc7f76e3a8e2e63f11cb3d9bc188ff8fc23 | [
"MIT"
] | 1 | 2020-10-25T12:31:33.000Z | 2020-10-25T12:31:33.000Z | qg_interface/apps.py | kuPacemaker/restful-unilm-django | 679bcbc7f76e3a8e2e63f11cb3d9bc188ff8fc23 | [
"MIT"
] | 1 | 2021-07-18T11:14:51.000Z | 2021-07-18T14:38:00.000Z | qg_interface/apps.py | kuPacemaker/restful-unilm-django | 679bcbc7f76e3a8e2e63f11cb3d9bc188ff8fc23 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class QgInterfaceConfig(AppConfig):
name = 'qg_interface'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
adefa6fb523eb8fe8f9dbb3c105ba83a69e29a5b | 174 | py | Python | molecule/resources/tests/conftest.py | hurricanehrndz/ansible-pyenv | fd1db76d1baf98ba70d801725097a752071fcda3 | [
"MIT"
] | null | null | null | molecule/resources/tests/conftest.py | hurricanehrndz/ansible-pyenv | fd1db76d1baf98ba70d801725097a752071fcda3 | [
"MIT"
] | null | null | null | molecule/resources/tests/conftest.py | hurricanehrndz/ansible-pyenv | fd1db76d1baf98ba70d801725097a752071fcda3 | [
"MIT"
] | null | null | null | import os
import pytest
@pytest.fixture
def scenario():
implementation = "{}_pyenv_root".format(os.environ['TEST_CASE'])
return pytest.importorskip(implementation)
| 19.333333 | 68 | 0.752874 | 20 | 174 | 6.4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 174 | 8 | 69 | 21.75 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
adff754cb9620cfdf53f1819529b537eb33a04bb | 191 | py | Python | agilecrm/exceptions.py | GearPlug/agilecrm-python | cffba6d0a4e0ef5d67ca6f622f441bbc0028204c | [
"MIT"
] | null | null | null | agilecrm/exceptions.py | GearPlug/agilecrm-python | cffba6d0a4e0ef5d67ca6f622f441bbc0028204c | [
"MIT"
] | null | null | null | agilecrm/exceptions.py | GearPlug/agilecrm-python | cffba6d0a4e0ef5d67ca6f622f441bbc0028204c | [
"MIT"
] | null | null | null | class BaseError(Exception):
pass
class UnauthorizedError(BaseError):
pass
class WrongFormatInputError(BaseError):
pass
class ContactsLimitExceededError(BaseError):
pass
| 12.733333 | 44 | 0.759162 | 16 | 191 | 9.0625 | 0.4375 | 0.186207 | 0.248276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17801 | 191 | 14 | 45 | 13.642857 | 0.923567 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
bc01bcf11991ed1dd12a8203923c2efd3b067732 | 170 | py | Python | slownik_kwadrat.py | grzegorzwojdyga/SDA_excercises_4 | bf5bfb42b410deb9deb043b6553629e8e0e2e5ae | [
"MIT"
] | null | null | null | slownik_kwadrat.py | grzegorzwojdyga/SDA_excercises_4 | bf5bfb42b410deb9deb043b6553629e8e0e2e5ae | [
"MIT"
] | null | null | null | slownik_kwadrat.py | grzegorzwojdyga/SDA_excercises_4 | bf5bfb42b410deb9deb043b6553629e8e0e2e5ae | [
"MIT"
] | null | null | null | """
Napisz program, który pobiera od użytkownika liczbę N,
następnie tworzy słownik z kluczami od 1 do N z wartościami,
które są kwadratami kluczy.
""" | 34 | 66 | 0.688235 | 23 | 170 | 5.086957 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.252941 | 170 | 5 | 67 | 34 | 0.913386 | 0.841176 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bc2a0a475642d9a11514c1d4d670b2d403c1df08 | 35 | py | Python | GooglePythonClass/lect2/Base.py | penanrajput/PythonCourseContent | 074a4af9c83a8a6b9b4608ce341ed96d1bd2e999 | [
"MIT"
] | null | null | null | GooglePythonClass/lect2/Base.py | penanrajput/PythonCourseContent | 074a4af9c83a8a6b9b4608ce341ed96d1bd2e999 | [
"MIT"
] | null | null | null | GooglePythonClass/lect2/Base.py | penanrajput/PythonCourseContent | 074a4af9c83a8a6b9b4608ce341ed96d1bd2e999 | [
"MIT"
] | 1 | 2020-12-19T19:29:17.000Z | 2020-12-19T19:29:17.000Z | # Base.py
class Base:
foo = 10
| 8.75 | 12 | 0.571429 | 6 | 35 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.314286 | 35 | 3 | 13 | 11.666667 | 0.75 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 4 |
bc2a0c4604910fb924e072daa907e0690bc48c60 | 119 | py | Python | lang_spider/__init__.py | langgithub/LangSpider | fecd1298e606a09195c4f0fb72bc5c6b3a058900 | [
"MIT"
] | 1 | 2020-08-31T15:53:59.000Z | 2020-08-31T15:53:59.000Z | lang_spider/__init__.py | langgithub/LangSpider | fecd1298e606a09195c4f0fb72bc5c6b3a058900 | [
"MIT"
] | null | null | null | lang_spider/__init__.py | langgithub/LangSpider | fecd1298e606a09195c4f0fb72bc5c6b3a058900 | [
"MIT"
] | 1 | 2020-08-31T15:54:02.000Z | 2020-08-31T15:54:02.000Z | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
# author:yuanlang
# creat_time: 2020/7/16 下午6:05
# file: __init__.py
| 14.875 | 30 | 0.638655 | 19 | 119 | 3.736842 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.159664 | 119 | 7 | 31 | 17 | 0.59 | 0.89916 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bc3c12e1af918744c3082854c9bed8cc92f55b27 | 175 | py | Python | todo/forms.py | preyash2047/Django_Todo_Project | 6494032f07a5eca02faccc5dd4ad5be0c14b8e9e | [
"MIT"
] | null | null | null | todo/forms.py | preyash2047/Django_Todo_Project | 6494032f07a5eca02faccc5dd4ad5be0c14b8e9e | [
"MIT"
] | null | null | null | todo/forms.py | preyash2047/Django_Todo_Project | 6494032f07a5eca02faccc5dd4ad5be0c14b8e9e | [
"MIT"
] | null | null | null | from django.forms import ModelForm
from .models import todo
class TodoForm(ModelForm):
class Meta():
model = todo
fields = ['title', "memo", 'importent']
| 21.875 | 47 | 0.651429 | 20 | 175 | 5.7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234286 | 175 | 7 | 48 | 25 | 0.850746 | 0 | 0 | 0 | 0 | 0 | 0.102857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
cb634b885057da815547524744ceed4c875929d1 | 157 | py | Python | Strategy/after_strategy/AbsStrategy.py | deorerohan/DesignPatterns | 2bd698246e12ed289917bb4e3b84eaa2210534fd | [
"MIT"
] | null | null | null | Strategy/after_strategy/AbsStrategy.py | deorerohan/DesignPatterns | 2bd698246e12ed289917bb4e3b84eaa2210534fd | [
"MIT"
] | null | null | null | Strategy/after_strategy/AbsStrategy.py | deorerohan/DesignPatterns | 2bd698246e12ed289917bb4e3b84eaa2210534fd | [
"MIT"
] | null | null | null | import abc
class AbsStrategy(metaclass = abc.ABCMeta):
@abc.abstractclassmethod
def calculate(self, order):
"""calculate abstract method""" | 22.428571 | 43 | 0.700637 | 16 | 157 | 6.875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191083 | 157 | 7 | 44 | 22.428571 | 0.866142 | 0.159236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 4 |
cb7b4489ae6299bb0089c633ed8ad60501d42043 | 12,534 | py | Python | test/unit/test_crypto_wrapping_keys.py | seebees/aws-encryption-sdk-python | 7498bafab9c231abe0694f856f299af59d0e7826 | [
"Apache-2.0"
] | null | null | null | test/unit/test_crypto_wrapping_keys.py | seebees/aws-encryption-sdk-python | 7498bafab9c231abe0694f856f299af59d0e7826 | [
"Apache-2.0"
] | 1 | 2019-05-30T22:14:47.000Z | 2019-05-30T22:14:47.000Z | test/unit/test_crypto_wrapping_keys.py | seebees/aws-encryption-sdk-python | 7498bafab9c231abe0694f856f299af59d0e7826 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompa... | 42.924658 | 119 | 0.80884 | 1,537 | 12,534 | 6.163305 | 0.09499 | 0.092896 | 0.05067 | 0.044125 | 0.818642 | 0.746015 | 0.70569 | 0.686055 | 0.622506 | 0.605616 | 0 | 0.000732 | 0.128052 | 12,534 | 291 | 120 | 43.072165 | 0.866044 | 0.05154 | 0 | 0.471861 | 0 | 0 | 0.020303 | 0.004549 | 0 | 0 | 0 | 0 | 0.155844 | 1 | 0.08658 | false | 0.017316 | 0.038961 | 0.004329 | 0.134199 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 4 |
cba540a1391f43fcabd223531cddcc2049e6caa6 | 908 | py | Python | hfcommon_tests/util_test.py | huntflow/hfcommon | f26c300b89cfa2fc1c20be77f8ad09f13661b348 | [
"MIT"
] | null | null | null | hfcommon_tests/util_test.py | huntflow/hfcommon | f26c300b89cfa2fc1c20be77f8ad09f13661b348 | [
"MIT"
] | null | null | null | hfcommon_tests/util_test.py | huntflow/hfcommon | f26c300b89cfa2fc1c20be77f8ad09f13661b348 | [
"MIT"
] | null | null | null | # coding=utf-8
import unittest
from hfcommon.util import try_int, host_included
class TestUtil(unittest.TestCase):
def test_try_int(self):
self.assertEqual(try_int('1'), 1)
self.assertEqual(try_int('123'), 123)
self.assertEqual(try_int(' '), None)
self.assertEqual(try_int(''), N... | 36.32 | 90 | 0.639868 | 127 | 908 | 4.433071 | 0.291339 | 0.319716 | 0.223801 | 0.261101 | 0.605684 | 0.554174 | 0.394316 | 0.12611 | 0.12611 | 0 | 0 | 0.051862 | 0.171806 | 908 | 24 | 91 | 37.833333 | 0.696809 | 0.013216 | 0 | 0.117647 | 0 | 0 | 0.149888 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 1 | 0.117647 | false | 0 | 0.117647 | 0 | 0.294118 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cbb63785d8ee1223809d99721877325dbe14a245 | 116 | py | Python | mumpy.py | chrisrink10/mumpy | 3cda42eeafcb1bfc419a665bbdb86afbacf8fde9 | [
"BSD-3-Clause"
] | 1 | 2021-07-07T20:32:58.000Z | 2021-07-07T20:32:58.000Z | mumpy.py | whitten/mumpy | 3cda42eeafcb1bfc419a665bbdb86afbacf8fde9 | [
"BSD-3-Clause"
] | null | null | null | mumpy.py | whitten/mumpy | 3cda42eeafcb1bfc419a665bbdb86afbacf8fde9 | [
"BSD-3-Clause"
] | 8 | 2021-07-13T23:49:58.000Z | 2022-01-18T22:56:52.000Z | #!/usr/bin/env python3
"""MUMPy :: MUMPS interpreter"""
import mumpy
if __name__ == "__main__":
mumpy.main()
| 12.888889 | 32 | 0.646552 | 14 | 116 | 4.785714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.172414 | 116 | 8 | 33 | 14.5 | 0.6875 | 0.413793 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cbd44ad2a2bcdc7b1c359cd3cdf0d86c12d6b24d | 334 | py | Python | zvt/domain/meta/__init__.py | h521822/zvt | c6bcc2b340406da55d920a411f59ab8d4cc7e76d | [
"MIT"
] | 2 | 2021-02-09T05:55:38.000Z | 2021-07-26T00:06:46.000Z | zvt/domain/meta/__init__.py | h521822/zvt | c6bcc2b340406da55d920a411f59ab8d4cc7e76d | [
"MIT"
] | null | null | null | zvt/domain/meta/__init__.py | h521822/zvt | c6bcc2b340406da55d920a411f59ab8d4cc7e76d | [
"MIT"
] | 1 | 2021-07-22T02:48:31.000Z | 2021-07-22T02:48:31.000Z | # -*- coding: utf-8 -*-
# the __all__ is generated
__all__ = []
# __init__.py structure:
# common code of the package
# export interface in __all__ which contains __all__ of its sub modules
# import all from submodule stock_meta
from .stock_meta import *
from .stock_meta import __all__ as _stock_meta_all
__all__ += _... | 27.833333 | 71 | 0.766467 | 50 | 334 | 4.38 | 0.56 | 0.205479 | 0.118721 | 0.173516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003571 | 0.161677 | 334 | 12 | 72 | 27.833333 | 0.778571 | 0.607784 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
cbdbf4a37b79b0d23e657492cb696db5fe1e793c | 238 | py | Python | src/credentials.py | cyril-blanco/iRacingRPMToolbox | abb0e489946aba69ed06d4375431c168b131e1fd | [
"MIT"
] | null | null | null | src/credentials.py | cyril-blanco/iRacingRPMToolbox | abb0e489946aba69ed06d4375431c168b131e1fd | [
"MIT"
] | null | null | null | src/credentials.py | cyril-blanco/iRacingRPMToolbox | abb0e489946aba69ed06d4375431c168b131e1fd | [
"MIT"
] | 3 | 2022-03-25T12:53:21.000Z | 2022-03-25T16:31:52.000Z | """
File encapsulating the management of credentials.
"""
import os
def get_credentials():
'''
Obtains the credentials from environment variables.
'''
return {"user":os.getenv('IRAPI_USR'), "pwd":os.getenv('IRAPI_PWD')}
| 19.833333 | 72 | 0.676471 | 28 | 238 | 5.642857 | 0.714286 | 0.101266 | 0.164557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172269 | 238 | 11 | 73 | 21.636364 | 0.80203 | 0.42437 | 0 | 0 | 0 | 0 | 0.219298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1df4b076cdef2e986f73ac273cd6ad2ebd17d751 | 25 | py | Python | AI/cost_function/GreedyEvaluate.py | vineet131/Blokus | 5462496778e368407f9d12d9118b775768bea7c0 | [
"MIT"
] | null | null | null | AI/cost_function/GreedyEvaluate.py | vineet131/Blokus | 5462496778e368407f9d12d9118b775768bea7c0 | [
"MIT"
] | null | null | null | AI/cost_function/GreedyEvaluate.py | vineet131/Blokus | 5462496778e368407f9d12d9118b775768bea7c0 | [
"MIT"
] | null | null | null | def greedy_evaluate():
| 6.25 | 22 | 0.72 | 3 | 25 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 3 | 23 | 8.333333 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.