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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
db28e6ce30f246cb646cceb39e63cc7f2f678c06 | 129 | py | Python | clarisse/var/lib/linux/menus/main_menu/edit/enable.py | GuillaumeVFX/pipel | a1bd726239e6887745396723c3aad5d61e88ce44 | [
"MIT"
] | 2 | 2020-05-12T11:38:44.000Z | 2022-03-07T04:13:50.000Z | clarisse/var/lib/linux/menus/main_menu/edit/enable.py | GuillaumeVFX/pipel | a1bd726239e6887745396723c3aad5d61e88ce44 | [
"MIT"
] | null | null | null | clarisse/var/lib/linux/menus/main_menu/edit/enable.py | GuillaumeVFX/pipel | a1bd726239e6887745396723c3aad5d61e88ce44 | [
"MIT"
] | null | null | null | ix.enable_command_history()
ix.api.SdkHelpers.enable_disable_items_selected(ix.application, False)
ix.disable_command_history() | 25.8 | 70 | 0.860465 | 18 | 129 | 5.777778 | 0.611111 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03876 | 129 | 5 | 71 | 25.8 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
db290ff13cf6cf264eb25a0a7493e8dbf673a523 | 1,667 | py | Python | deploy/models.py | chenbin743/OpsSystem | 7427627aef8c3886b7d5bd8f2d8fc9215c0a1a19 | [
"MIT"
] | 1 | 2018-11-14T08:33:57.000Z | 2018-11-14T08:33:57.000Z | deploy/models.py | chenbin743/OpsSystem | 7427627aef8c3886b7d5bd8f2d8fc9215c0a1a19 | [
"MIT"
] | null | null | null | deploy/models.py | chenbin743/OpsSystem | 7427627aef8c3886b7d5bd8f2d8fc9215c0a1a19 | [
"MIT"
] | 1 | 2018-11-14T08:33:58.000Z | 2018-11-14T08:33:58.000Z | from __future__ import unicode_literals
from django.db import models
class RepoModel(models.Model):
repo_type_choice=(('svn','svn repo type'),('git','git repo type'))
repoName=models.CharField(max_length=100)
repoAddress=models.CharField(max_length=200)
repoUser=models.CharField(max_length=50,blank=F... | 36.23913 | 112 | 0.770846 | 215 | 1,667 | 5.790698 | 0.311628 | 0.26506 | 0.318072 | 0.424096 | 0.51245 | 0.203213 | 0.073896 | 0.073896 | 0 | 0 | 0 | 0.034436 | 0.111578 | 1,667 | 45 | 113 | 37.044444 | 0.806212 | 0 | 0 | 0.210526 | 0 | 0 | 0.072585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.026316 | 0.052632 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
db2f1dfc6e971373eb634b0d29e35486e3fdf98d | 270 | py | Python | wagtail/wagtailimages/api/admin/serializers.py | patphongs/wagtail | 32555f7a1c599c139e0f26c22907c9612af2e015 | [
"BSD-3-Clause"
] | 3 | 2019-08-08T09:09:35.000Z | 2020-12-15T18:04:17.000Z | wagtail/wagtailimages/api/admin/serializers.py | patphongs/wagtail | 32555f7a1c599c139e0f26c22907c9612af2e015 | [
"BSD-3-Clause"
] | null | null | null | wagtail/wagtailimages/api/admin/serializers.py | patphongs/wagtail | 32555f7a1c599c139e0f26c22907c9612af2e015 | [
"BSD-3-Clause"
] | 2 | 2017-08-08T01:39:02.000Z | 2018-05-06T06:16:10.000Z | from __future__ import absolute_import, unicode_literals
from ..fields import ImageRenditionField
from ..v2.serializers import ImageSerializer
class AdminImageSerializer(ImageSerializer):
thumbnail = ImageRenditionField('max-165x165', source='*', read_only=True)
| 30 | 78 | 0.818519 | 27 | 270 | 7.925926 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028807 | 0.1 | 270 | 8 | 79 | 33.75 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 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 |
db37a8c0fefab364445cf604befcc5dd647b7a20 | 165 | py | Python | Hackerrank/Python/triangle-quest-2.py | PROxZIMA/Competitive-Coding | ba6b365ea130b6fcaa15c5537b530ed363bab793 | [
"MIT"
] | 1 | 2021-01-10T13:29:21.000Z | 2021-01-10T13:29:21.000Z | Hackerrank/Python/triangle-quest-2.py | PROxZIMA/Competitive-Coding | ba6b365ea130b6fcaa15c5537b530ed363bab793 | [
"MIT"
] | null | null | null | Hackerrank/Python/triangle-quest-2.py | PROxZIMA/Competitive-Coding | ba6b365ea130b6fcaa15c5537b530ed363bab793 | [
"MIT"
] | null | null | null | num = int(input())
for i in range(1, num+1):
s = ''
for j in range(1, i):
s += str(j)
for j in range(i, 0, -1):
s += str(j)
print(s) | 18.333333 | 29 | 0.430303 | 32 | 165 | 2.21875 | 0.40625 | 0.295775 | 0.225352 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048077 | 0.369697 | 165 | 9 | 30 | 18.333333 | 0.634615 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
db382fcb4b5a0080bccabe48e3053fa1b3322e9d | 359 | py | Python | challenges/challenge21.py | stevenliu216/challenges | a8991fc3cc2309f8ef0ba6d189be001377153583 | [
"MIT"
] | null | null | null | challenges/challenge21.py | stevenliu216/challenges | a8991fc3cc2309f8ef0ba6d189be001377153583 | [
"MIT"
] | 14 | 2018-09-18T02:00:28.000Z | 2019-07-08T15:59:56.000Z | challenges/challenge21.py | stevenliu216/challenges | a8991fc3cc2309f8ef0ba6d189be001377153583 | [
"MIT"
] | 7 | 2018-09-17T14:52:24.000Z | 2020-10-02T21:55:20.000Z | def replace_spaces_dashes(line):
return "-".join(line.split())
def last_five_lowercase(line):
return line[-5:].lower()
def backwards_skipped(line):
return line[::-2]
if __name__ == '__main__':
line = input("Enter a string: ")
print(replace_spaces_dashes(line))
print(last_five_lowercase(lin... | 19.944444 | 38 | 0.688022 | 47 | 359 | 4.87234 | 0.510638 | 0.131004 | 0.165939 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.164345 | 359 | 17 | 39 | 21.117647 | 0.756667 | 0 | 0 | 0 | 0 | 0 | 0.069638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.272727 | 0.545455 | 0.272727 | 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 |
e1f666faedcb28e657f56f1d4ad941ef9c8712e6 | 103 | py | Python | boundlexx/boundless/apps.py | AngellusMortis/boundlexx | 407f5e38e8e0f067cbcb358787fc9af6a9be9b2a | [
"MIT"
] | 1 | 2021-04-23T11:49:50.000Z | 2021-04-23T11:49:50.000Z | boundlexx/boundless/apps.py | AngellusMortis/boundlexx | 407f5e38e8e0f067cbcb358787fc9af6a9be9b2a | [
"MIT"
] | 1 | 2021-04-17T18:17:12.000Z | 2021-04-17T18:17:12.000Z | boundlexx/boundless/apps.py | AngellusMortis/boundlexx | 407f5e38e8e0f067cbcb358787fc9af6a9be9b2a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BoundlessConfig(AppConfig):
name = "boundlexx.boundless"
| 17.166667 | 33 | 0.776699 | 11 | 103 | 7.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 34 | 20.6 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0.184466 | 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 |
e1ffda61b54a71ad174a871f4b57b8360c98feb1 | 131 | py | Python | processing-shelter-data/fix_export_file.py | Save-All-The-Pets/data-processing | d008b6e1341db7bdbb2be5854cb15eea810731ac | [
"MIT"
] | null | null | null | processing-shelter-data/fix_export_file.py | Save-All-The-Pets/data-processing | d008b6e1341db7bdbb2be5854cb15eea810731ac | [
"MIT"
] | null | null | null | processing-shelter-data/fix_export_file.py | Save-All-The-Pets/data-processing | d008b6e1341db7bdbb2be5854cb15eea810731ac | [
"MIT"
] | null | null | null | import pandas as pd
df = pd.read_csv("DataExport.csv", sep="|")
df.to_csv("DataExport_for_postgres.csv", header=False, index=False) | 43.666667 | 67 | 0.755725 | 22 | 131 | 4.318182 | 0.681818 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076336 | 131 | 3 | 67 | 43.666667 | 0.785124 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
c001aee31dc6c56ab16eab80bc38e552f397a313 | 56 | py | Python | ex40.py | sandeepsharmaproject/python_hardway | 8a88831667b57140a3153a475cea3d378aea37fe | [
"MIT"
] | null | null | null | ex40.py | sandeepsharmaproject/python_hardway | 8a88831667b57140a3153a475cea3d378aea37fe | [
"MIT"
] | null | null | null | ex40.py | sandeepsharmaproject/python_hardway | 8a88831667b57140a3153a475cea3d378aea37fe | [
"MIT"
] | null | null | null | #this is class file which i will do when i'll get time . | 56 | 56 | 0.732143 | 13 | 56 | 3.153846 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 56 | 1 | 56 | 56 | 0.931818 | 0.982143 | 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 |
c00e633acf64dfb3492d2d586bd58ec7285863d3 | 43 | py | Python | packages/clutter-gtk.py | mhutch/bockbuild | 0d989e2d0259d17d41a195f8d28b3844a4652e7b | [
"MIT"
] | null | null | null | packages/clutter-gtk.py | mhutch/bockbuild | 0d989e2d0259d17d41a195f8d28b3844a4652e7b | [
"MIT"
] | null | null | null | packages/clutter-gtk.py | mhutch/bockbuild | 0d989e2d0259d17d41a195f8d28b3844a4652e7b | [
"MIT"
] | null | null | null | GnomeXzPackage ('clutter-gtk', '1.2', '0')
| 21.5 | 42 | 0.627907 | 6 | 43 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.093023 | 43 | 1 | 43 | 43 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c011782c01e38581227dec7d845905876e2fca8c | 61 | py | Python | code/arc026_1_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/arc026_1_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/arc026_1_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | N,A,B=map(int,input().split())
print(A*max(0,N-5)+B*min(N,5)) | 30.5 | 30 | 0.606557 | 17 | 61 | 2.176471 | 0.705882 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.016393 | 61 | 2 | 31 | 30.5 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c055afffcbc16ebcfd5412ef530a871ca21e7f34 | 110 | py | Python | PythonLearn/basic/packageSample/sample2.py | OKKyu/PythonLearn | 48dc4cc2a1a34d99b09f8d37a5566d448dcf987c | [
"MIT"
] | null | null | null | PythonLearn/basic/packageSample/sample2.py | OKKyu/PythonLearn | 48dc4cc2a1a34d99b09f8d37a5566d448dcf987c | [
"MIT"
] | null | null | null | PythonLearn/basic/packageSample/sample2.py | OKKyu/PythonLearn | 48dc4cc2a1a34d99b09f8d37a5566d448dcf987c | [
"MIT"
] | null | null | null | #! python3
# -*- coding: utf-8 -*-
def method(args1='sample2'):
print(args1 + " is runned")
print("")
| 18.333333 | 31 | 0.554545 | 13 | 110 | 4.692308 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0.209091 | 110 | 5 | 32 | 22 | 0.643678 | 0.281818 | 0 | 0 | 0 | 0 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c05f89b0d49fc7a7e2ecdd0fdea1e2b10dcbe717 | 1,263 | py | Python | snakejazz/__init__.py | mchalela/SnakeJazz | 4c2de7195c1b802a278e4549372d5e7909b8a576 | [
"MIT"
] | 2 | 2021-06-30T19:42:46.000Z | 2021-10-13T23:26:12.000Z | snakejazz/__init__.py | mchalela/SnakeJazz | 4c2de7195c1b802a278e4549372d5e7909b8a576 | [
"MIT"
] | 2 | 2020-11-30T16:41:19.000Z | 2020-12-05T21:22:32.000Z | snakejazz/__init__.py | mchalela/SnakeJazz | 4c2de7195c1b802a278e4549372d5e7909b8a576 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of the
# SnakeJazz Project (https://github.com/mchalela/SnakeJazz/).
# Copyright (c) 2020, Martin Chalela
# License: MIT
# Full Text: https://github.com/mchalela/SnakeJazz/blob/master/LICENSE
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | 33.236842 | 78 | 0.461599 | 107 | 1,263 | 5.308411 | 0.560748 | 0.084507 | 0.179577 | 0.242958 | 0.283451 | 0.174296 | 0 | 0 | 0 | 0 | 0 | 0.007086 | 0.106097 | 1,263 | 37 | 79 | 34.135135 | 0.496014 | 0.66825 | 0 | 0 | 0 | 0 | 0.012853 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fbebd1f526c12cbd05d66e63b3bbebb4cc903df8 | 149 | py | Python | python/testData/override/instanceCheck_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/override/instanceCheck_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/override/instanceCheck_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class MyType(type):
def __instancecheck__(self, instance):
<selection>return super(MyType, self).__instancecheck__(instance)</selection>
| 37.25 | 85 | 0.744966 | 15 | 149 | 6.866667 | 0.666667 | 0.330097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134228 | 149 | 3 | 86 | 49.666667 | 0.79845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fbf330e19e5b1d808ae9187b0ebec66377debcd6 | 340 | py | Python | Exercicios/ex016.py | vaniaferreira/Python | 5b3158836d47c0bb7bc446e6636e7b3dcea8a0ab | [
"MIT"
] | null | null | null | Exercicios/ex016.py | vaniaferreira/Python | 5b3158836d47c0bb7bc446e6636e7b3dcea8a0ab | [
"MIT"
] | null | null | null | Exercicios/ex016.py | vaniaferreira/Python | 5b3158836d47c0bb7bc446e6636e7b3dcea8a0ab | [
"MIT"
] | null | null | null | #Tuplas são imutavéis
lanche = ('hamburguer','suco','pizza','pudim', 'batata frita')
print(sorted(lanche))
print(len(lanche))
print(lanche)
print(lanche[2])
for comida in lanche:
print('Eu vou comer {}'.format(comida))
print('Comi pra caramba')
for cont in range(0, len(lanche)):
print (lanche[cont])
print('... | 18.888889 | 62 | 0.688235 | 49 | 340 | 4.77551 | 0.55102 | 0.235043 | 0.217949 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.135294 | 340 | 17 | 63 | 20 | 0.789116 | 0.058824 | 0 | 0.181818 | 0 | 0 | 0.261006 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.727273 | 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 |
fbf44abe7c24382157344fb74c0beaae35b2c971 | 327 | py | Python | input2.py | sshan0509/day3 | 21cb110f28346e5171252a1ecd37b48526e7afd6 | [
"Apache-2.0"
] | null | null | null | input2.py | sshan0509/day3 | 21cb110f28346e5171252a1ecd37b48526e7afd6 | [
"Apache-2.0"
] | null | null | null | input2.py | sshan0509/day3 | 21cb110f28346e5171252a1ecd37b48526e7afd6 | [
"Apache-2.0"
] | null | null | null | print("Sum > ")
num1 = input("First number : ")
num2 = input("second number : ")
print(int(num1) + int(num2))
# 빼기, 곱하기, 나누기, 나머지
print(int(num1) - int(num2))
print(int(num1) * int(num2))
print(int(num1) / int(num2))
print(int(num1) % int(num2))
if(int(num1)%2 == 0):
print("num1 is even")
else:
print("num1 i... | 20.4375 | 32 | 0.608563 | 53 | 327 | 3.754717 | 0.377358 | 0.211055 | 0.301508 | 0.376884 | 0.477387 | 0.38191 | 0.38191 | 0.38191 | 0.38191 | 0.38191 | 0 | 0.0625 | 0.168196 | 327 | 16 | 33 | 20.4375 | 0.669118 | 0.051988 | 0 | 0 | 0 | 0 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 |
221724be567fc53fdd237d8f12dd185c1d142a59 | 227 | py | Python | test/test_distro.py | sestrella/asdf-ghc | 2d824f096434893d0fdd8b503cee3a6cd0597803 | [
"MIT"
] | null | null | null | test/test_distro.py | sestrella/asdf-ghc | 2d824f096434893d0fdd8b503cee3a6cd0597803 | [
"MIT"
] | null | null | null | test/test_distro.py | sestrella/asdf-ghc | 2d824f096434893d0fdd8b503cee3a6cd0597803 | [
"MIT"
] | null | null | null | from lib.distro import get_distro
import unittest
class TestDistro(unittest.TestCase):
def test_get_distro(self):
distro = get_distro('darwin')
self.assertEqual(distro, {'name': 'apple', 'version': 0.0})
| 22.7 | 67 | 0.69163 | 29 | 227 | 5.275862 | 0.62069 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.180617 | 227 | 9 | 68 | 25.222222 | 0.811828 | 0 | 0 | 0 | 0 | 0 | 0.096916 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | 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 |
222596945575299b2bd4a1f6aa4f2cafe85a2e66 | 204 | py | Python | src/markovNodeSetAbstract.py | maniatic0/Python-Markov-Experiment | 427821be5a6b7a974d89a1c250d2d83474dcbc50 | [
"MIT"
] | null | null | null | src/markovNodeSetAbstract.py | maniatic0/Python-Markov-Experiment | 427821be5a6b7a974d89a1c250d2d83474dcbc50 | [
"MIT"
] | null | null | null | src/markovNodeSetAbstract.py | maniatic0/Python-Markov-Experiment | 427821be5a6b7a974d89a1c250d2d83474dcbc50 | [
"MIT"
] | null | null | null |
from abc import ABC, abstractmethod
class MarkovNodeSetAbstract(ABC):
@abstractmethod
def markAsDirty(self, node):
pass
@abstractmethod
def markAsClean(self, node):
pass | 18.545455 | 35 | 0.681373 | 20 | 204 | 6.95 | 0.6 | 0.244604 | 0.172662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 204 | 11 | 36 | 18.545455 | 0.908497 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.125 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
22416260ad3a26f1986bb1829ef7a8fbb8e1e66b | 3,216 | py | Python | metropolis_example.py | bobbywlindsey/stokepy | e7f4ad0c27d8fc22129558db6ae0dbbab0627ace | [
"MIT"
] | 9 | 2017-05-09T20:00:10.000Z | 2020-07-02T18:00:22.000Z | metropolis_example.py | bobbywlindsey/stokepy | e7f4ad0c27d8fc22129558db6ae0dbbab0627ace | [
"MIT"
] | null | null | null | metropolis_example.py | bobbywlindsey/stokepy | e7f4ad0c27d8fc22129558db6ae0dbbab0627ace | [
"MIT"
] | 2 | 2017-08-10T14:47:07.000Z | 2019-01-25T02:37:34.000Z | import stokepy as sp
import numpy as np
import urllib.request
import unidecode
# --- In this example, we use the Metropolis algo to decode a cipher --- #
# instantiate class
steps = 5000
samples = 50
ciphered_text = '/ uc.azf-2ff"xu!tffzu.s"ffxf/d1x""tfd7 sk2f?7.f.7f/ uc!f/d1x""2"tzff/d1x""2"fx82f!2kup2... | 86.918919 | 2,018 | 0.702425 | 559 | 3,216 | 4.003578 | 0.559928 | 0.008043 | 0.002681 | 0.004468 | 0.014298 | 0.014298 | 0.014298 | 0.014298 | 0 | 0 | 0 | 0.207729 | 0.098881 | 3,216 | 36 | 2,019 | 89.333333 | 0.564527 | 0.086754 | 0 | 0 | 0 | 0.045455 | 0.71165 | 0.634096 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.181818 | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
224335e33e776365de3709e2277fb26a5d63e0f8 | 73 | py | Python | lib/models/origin_path.py | farioso-fernando/Spy-Cockroach | 22e3c572df308484c08e4ceaeccd0a3b53e960ad | [
"MIT"
] | null | null | null | lib/models/origin_path.py | farioso-fernando/Spy-Cockroach | 22e3c572df308484c08e4ceaeccd0a3b53e960ad | [
"MIT"
] | null | null | null | lib/models/origin_path.py | farioso-fernando/Spy-Cockroach | 22e3c572df308484c08e4ceaeccd0a3b53e960ad | [
"MIT"
] | 2 | 2021-12-10T08:02:31.000Z | 2021-12-19T02:40:24.000Z | import os
def originFolderApp():
path = os.getcwd()
return path
| 12.166667 | 22 | 0.657534 | 9 | 73 | 5.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246575 | 73 | 5 | 23 | 14.6 | 0.872727 | 0 | 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 |
224aa3c60801f6b22aa3a13a08e24040aeec53ea | 144 | py | Python | tracardi/process_engine/action/v1/metrics/key_counter/model/configuration.py | bytepl/tracardi | e8fa4684fa6bd3d05165fe48aa925fc6c1e74923 | [
"MIT"
] | 153 | 2021-11-02T00:35:41.000Z | 2022-03-25T16:37:44.000Z | tracardi/process_engine/action/v1/metrics/key_counter/model/configuration.py | bytepl/tracardi | e8fa4684fa6bd3d05165fe48aa925fc6c1e74923 | [
"MIT"
] | 243 | 2021-10-17T17:00:22.000Z | 2022-03-28T10:13:34.000Z | tracardi/process_engine/action/v1/metrics/key_counter/model/configuration.py | bytepl/tracardi | e8fa4684fa6bd3d05165fe48aa925fc6c1e74923 | [
"MIT"
] | 14 | 2021-10-17T11:39:04.000Z | 2022-03-14T14:44:02.000Z | from typing import Union, List
from pydantic import BaseModel
class Configuration(BaseModel):
key: Union[str, List[str]]
save_in: str
| 18 | 31 | 0.743056 | 20 | 144 | 5.3 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 144 | 7 | 32 | 20.571429 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 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 |
2252030df7beacde5e936813c08f81578996545a | 135 | py | Python | D01/cond_if.py | shdx8/dtwrhs | 108decb8056931fc7601ed455a72ef0d65983ab0 | [
"MIT"
] | null | null | null | D01/cond_if.py | shdx8/dtwrhs | 108decb8056931fc7601ed455a72ef0d65983ab0 | [
"MIT"
] | null | null | null | D01/cond_if.py | shdx8/dtwrhs | 108decb8056931fc7601ed455a72ef0d65983ab0 | [
"MIT"
] | null | null | null | nilai = 9
if (nilai > 7):
print ("Selamat Anda Jadi programmer")
if (nilai > 10):
print ("Selamat Anda Jadi programmer handal") | 27 | 49 | 0.659259 | 19 | 135 | 4.684211 | 0.578947 | 0.157303 | 0.359551 | 0.449438 | 0.674157 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.214815 | 135 | 5 | 49 | 27 | 0.801887 | 0 | 0 | 0 | 0 | 0 | 0.463235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2268001f12c599f35d0e6af5981d8a22eb36286f | 77 | py | Python | python/extratrees/__init__.py | paolo-losi/libextratrees | f903d9afe5fae65d671270da20956a0bab19f59a | [
"MIT"
] | 3 | 2016-02-02T20:29:08.000Z | 2018-03-15T13:50:10.000Z | python/extratrees/__init__.py | paolo-losi/libextratrees | f903d9afe5fae65d671270da20956a0bab19f59a | [
"MIT"
] | null | null | null | python/extratrees/__init__.py | paolo-losi/libextratrees | f903d9afe5fae65d671270da20956a0bab19f59a | [
"MIT"
] | 1 | 2021-11-30T14:22:46.000Z | 2021-11-30T14:22:46.000Z | from .cbindings import convert_to_problem, convert_from_problem, train, load
| 38.5 | 76 | 0.857143 | 11 | 77 | 5.636364 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 77 | 1 | 77 | 77 | 0.885714 | 0 | 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 |
22685b6010caf8d889d19534156ee532b9e53a25 | 3,137 | gyp | Python | binding.gyp | medooze/fake-h264-encoder | fb7c5774cec7d13159f9dbd0a6dd1498ed34afdd | [
"MIT"
] | null | null | null | binding.gyp | medooze/fake-h264-encoder | fb7c5774cec7d13159f9dbd0a6dd1498ed34afdd | [
"MIT"
] | null | null | null | binding.gyp | medooze/fake-h264-encoder | fb7c5774cec7d13159f9dbd0a6dd1498ed34afdd | [
"MIT"
] | null | null | null | {
'variables':
{
'external_libmediaserver%' : '<!(echo $LIBMEDIASERVER)',
'external_libmediaserver_include_dirs%' : '<!(echo $LIBMEDIASERVER_INCLUDE)',
},
"targets":
[
{
"target_name": "medooze-fake-h264-encoder",
"cflags":
[
"-march=native",
"-fexceptions",
"-O3",
... | 27.278261 | 83 | 0.536181 | 271 | 3,137 | 6.092251 | 0.354244 | 0.15324 | 0.161114 | 0.175045 | 0.363416 | 0.141732 | 0.141732 | 0.141732 | 0.141732 | 0.141732 | 0 | 0.019991 | 0.282435 | 3,137 | 114 | 84 | 27.517544 | 0.713461 | 0.01817 | 0 | 0.256881 | 0 | 0 | 0.626815 | 0.413712 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
226c7c7d4c2eb5577f36f611b8ee30ff2eba9205 | 1,153 | py | Python | apps/util/animation/__init__.py | donno2048/Rosehip-L | 0c60603a00a7cec14bb44107caae44f43bc94026 | [
"MIT"
] | 2 | 2020-10-27T14:11:27.000Z | 2021-05-03T10:45:18.000Z | apps/util/animation/__init__.py | donno2048/Rosehip-L | 0c60603a00a7cec14bb44107caae44f43bc94026 | [
"MIT"
] | 1 | 2020-11-08T13:37:03.000Z | 2021-11-22T18:19:05.000Z | apps/util/animation/__init__.py | donno2048/Rosehip-L | 0c60603a00a7cec14bb44107caae44f43bc94026 | [
"MIT"
] | null | null | null | import os;import pygame;import pygame_gui;from pygame_gui.elements.ui_image import UIImage;from math import floor
class Dance(pygame_gui.elements.UIWindow):
def __init__(self, pos, manager):super().__init__(pygame.Rect(pos, (352,300)),manager=manager,window_display_title="animation",object_id="#animation",);self.FR... | 128.111111 | 690 | 0.730269 | 184 | 1,153 | 4.407609 | 0.391304 | 0.086313 | 0.069051 | 0.036991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040038 | 0.090199 | 1,153 | 8 | 691 | 144.125 | 0.733079 | 0 | 0 | 0 | 0 | 0 | 0.032958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
22752cd715213e1a90b7a209f6fca183b725b6af | 1,013 | py | Python | torchmm/models/__init__.py | njustkmg/PaddleMM | 92ae66d6e27c7a666820bc7baf8fd8fa2bd74aa5 | [
"Apache-2.0"
] | 42 | 2022-01-05T13:49:48.000Z | 2022-03-30T20:20:18.000Z | torchmm/models/__init__.py | njustkmg/PaddleMM | 92ae66d6e27c7a666820bc7baf8fd8fa2bd74aa5 | [
"Apache-2.0"
] | null | null | null | torchmm/models/__init__.py | njustkmg/PaddleMM | 92ae66d6e27c7a666820bc7baf8fd8fa2bd74aa5 | [
"Apache-2.0"
] | 5 | 2022-01-19T00:27:24.000Z | 2022-03-23T08:29:50.000Z | from torchmm.models.retrieval.scan import SCAN
from torchmm.models.retrieval.sgraf import SGRAF
from torchmm.models.retrieval.vsepp import VSEPP
from torchmm.models.retrieval.imram import IMRAM
from torchmm.models.retrieval.bfan import BFAN
from torchmm.models.captioning.aoanet import AoANet
from torchmm.mode... | 28.138889 | 78 | 0.737414 | 117 | 1,013 | 6.34188 | 0.273504 | 0.207547 | 0.320755 | 0.175202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172754 | 1,013 | 35 | 79 | 28.942857 | 0.885442 | 0 | 0 | 0 | 0 | 0 | 0.117587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.451613 | 0 | 0.451613 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
227c93006c1a13f40b794c6a80478cb3d5821d67 | 65 | py | Python | Python/py-ttylog/ttylog.py | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 2 | 2019-09-27T21:25:26.000Z | 2019-12-29T11:26:54.000Z | Python/py-ttylog/ttylog.py | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 7 | 2020-08-11T17:32:14.000Z | 2020-08-11T17:32:39.000Z | Python/py-ttylog/ttylog.py | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 2 | 2016-07-18T10:55:50.000Z | 2020-08-19T01:46:08.000Z | #!/usr/pkg/bin/python
name = "Eric"
print "Hello, ", name, "\n" | 13 | 27 | 0.584615 | 10 | 65 | 3.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 5 | 27 | 13 | 0.690909 | 0.307692 | 0 | 0 | 0 | 0 | 0.288889 | 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 |
97d8b1f035290ce4167272dbc4eb1f2b6150eb9b | 52 | py | Python | icnsutil/__main__.py | relikd/icnsutil | 34f3aa6654e4a8edbd366044d3cb7a0a40bbdc6c | [
"MIT"
] | 2 | 2021-12-07T16:27:20.000Z | 2022-02-03T13:15:47.000Z | icnsutil/__main__.py | relikd/icnsutil | 34f3aa6654e4a8edbd366044d3cb7a0a40bbdc6c | [
"MIT"
] | null | null | null | icnsutil/__main__.py | relikd/icnsutil | 34f3aa6654e4a8edbd366044d3cb7a0a40bbdc6c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from .cli import main
main()
| 13 | 22 | 0.711538 | 9 | 52 | 4.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.134615 | 52 | 3 | 23 | 17.333333 | 0.8 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 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 |
97fa49b2b85fc0dafc92fbb0f3c58d678beeeff2 | 1,550 | py | Python | text2speech/modules/festival_tts.py | ChanceNCounter/text2speech | c87eb67d3ee2d18e8b58f101220764f7d92b3680 | [
"Apache-2.0"
] | null | null | null | text2speech/modules/festival_tts.py | ChanceNCounter/text2speech | c87eb67d3ee2d18e8b58f101220764f7d92b3680 | [
"Apache-2.0"
] | null | null | null | text2speech/modules/festival_tts.py | ChanceNCounter/text2speech | c87eb67d3ee2d18e8b58f101220764f7d92b3680 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 29.807692 | 76 | 0.671613 | 200 | 1,550 | 5.105 | 0.585 | 0.058766 | 0.025465 | 0.031342 | 0.045054 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009291 | 0.236129 | 1,550 | 51 | 77 | 30.392157 | 0.853041 | 0.365161 | 0 | 0.074074 | 0 | 0 | 0.118012 | 0 | 0 | 0 | 0 | 0.019608 | 0 | 1 | 0.259259 | false | 0.074074 | 0.074074 | 0.037037 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
3f1920958cfc8e2e9f0a74e6732768d707aacb24 | 227 | py | Python | game_screens/logic/__init__.py | chceswieta/age-of-divisiveness | 1edad57d47ad975950639fc391b645e47509cf58 | [
"MIT"
] | 5 | 2021-04-02T13:26:13.000Z | 2021-06-28T17:14:00.000Z | game_screens/logic/__init__.py | chceswieta/age-of-divisiveness | 1edad57d47ad975950639fc391b645e47509cf58 | [
"MIT"
] | null | null | null | game_screens/logic/__init__.py | chceswieta/age-of-divisiveness | 1edad57d47ad975950639fc391b645e47509cf58 | [
"MIT"
] | 1 | 2021-06-17T18:47:57.000Z | 2021-06-17T18:47:57.000Z | from .city import City
from .granary import Granary
from .units import Unit, Settler
from .garrison import Garrison
from .tiles import Tile, BorderTile, BlinkingTile
from .player import Player
from .game_logic import GameLogic
| 28.375 | 49 | 0.819383 | 32 | 227 | 5.78125 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136564 | 227 | 7 | 50 | 32.428571 | 0.943878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3f21dc1bb315189a2b3129aa64545458eedd9bd7 | 675 | py | Python | expressivar/exceptions.py | NCBI-Hackathons/ExpressiVar | 73a18a8760e3fcf5c163edeaf5aa35f7b201053e | [
"MIT"
] | 4 | 2018-08-08T22:02:20.000Z | 2018-08-14T05:50:45.000Z | expressivar/exceptions.py | NCBI-Hackathons/Expressive | 73a18a8760e3fcf5c163edeaf5aa35f7b201053e | [
"MIT"
] | 2 | 2018-08-08T19:44:59.000Z | 2019-11-05T17:39:28.000Z | expressivar/exceptions.py | NCBI-Hackathons/Expressive | 73a18a8760e3fcf5c163edeaf5aa35f7b201053e | [
"MIT"
] | 1 | 2018-08-08T16:43:07.000Z | 2018-08-08T16:43:07.000Z | class UnmodifiableModeError(Exception):
"""Raised when file-like object has indeterminate open mode."""
def __init__(self, target, *args, **kwargs):
super().__init__(target, *args, **kwargs)
self.target = target
def __repr__(self):
return '{}: {}'.format(self.__class__.__name__, se... | 32.142857 | 68 | 0.659259 | 72 | 675 | 5.625 | 0.402778 | 0.148148 | 0.158025 | 0.088889 | 0.681481 | 0.562963 | 0.562963 | 0.562963 | 0.562963 | 0.562963 | 0 | 0 | 0.195556 | 675 | 20 | 69 | 33.75 | 0.745856 | 0.171852 | 0 | 0.833333 | 0 | 0 | 0.021898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3f327dcf43d51ce2a6f27c5c8cce65de3efbc18a | 4,194 | py | Python | Contents/Libraries/Shared/subzero/lib/dict.py | jippo015/Sub-Zero.bundle | 734e0f7128c05c0f639e11e7dfc77daa1014064b | [
"MIT"
] | 1 | 2019-05-20T03:07:17.000Z | 2019-05-20T03:07:17.000Z | Contents/Libraries/Shared/subzero/lib/dict.py | saiterlz/Sub-Zero.bundle | 1a0bb9c3e4be84be35d46672907783363fe5a87b | [
"MIT"
] | null | null | null | Contents/Libraries/Shared/subzero/lib/dict.py | saiterlz/Sub-Zero.bundle | 1a0bb9c3e4be84be35d46672907783363fe5a87b | [
"MIT"
] | null | null | null | # coding=utf-8
class DictProxy(object):
store = None
def __init__(self, d):
self.Dict = d
super(DictProxy, self).__init__()
if self.store not in self.Dict or not self.Dict[self.store]:
self.Dict[self.store] = self.setup_defaults()
self.save()
self.__initia... | 25.573171 | 107 | 0.605389 | 537 | 4,194 | 4.351955 | 0.189944 | 0.112965 | 0.12837 | 0.181857 | 0.436457 | 0.335045 | 0.126658 | 0.065041 | 0.035944 | 0.035944 | 0 | 0.000331 | 0.280401 | 4,194 | 163 | 108 | 25.730061 | 0.774023 | 0.055556 | 0 | 0.163636 | 0 | 0 | 0.007864 | 0.005835 | 0 | 0 | 0 | 0.006135 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.254545 | 0.736364 | 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 |
3f4e557cc8a61093dc34176f40ed8e813e32199e | 1,153 | py | Python | test/box/bootstrap.test.py | Mons/tarantool | 35daf23419c88e12758d49c7c60d2cc5f8a00ad1 | [
"BSD-2-Clause"
] | 2 | 2015-12-08T21:37:42.000Z | 2015-12-08T22:11:02.000Z | test/box/bootstrap.test.py | Mons/tarantool | 35daf23419c88e12758d49c7c60d2cc5f8a00ad1 | [
"BSD-2-Clause"
] | null | null | null | test/box/bootstrap.test.py | Mons/tarantool | 35daf23419c88e12758d49c7c60d2cc5f8a00ad1 | [
"BSD-2-Clause"
] | 1 | 2020-01-29T15:33:33.000Z | 2020-01-29T15:33:33.000Z |
import sys
import yaml
server_uuid = server.get_param('server')['uuid']
sys.stdout.push_filter(server_uuid, '<server uuid>')
cluster_uuid = yaml.load(server.admin('box.space._schema:get("cluster")',
silent = True))[0][1]
sys.stdout.push_filter(cluster_uuid, '<cluster uuid>')
sys.stdout.push_filter(server.sourcedi... | 32.942857 | 73 | 0.738075 | 164 | 1,153 | 5.030488 | 0.219512 | 0.24 | 0.271515 | 0.345455 | 0.740606 | 0.710303 | 0.509091 | 0.509091 | 0.509091 | 0.509091 | 0 | 0.001823 | 0.048569 | 1,153 | 34 | 74 | 33.911765 | 0.750228 | 0.006071 | 0 | 0.518519 | 0 | 0 | 0.448819 | 0.394576 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.074074 | 0 | 0.074074 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3f63082b001b9517d2150a95d67223290d5b311f | 31,411 | py | Python | example/convertCaffe/layers3.py | ddddwee1/SULT | 0ff31b602d20dd8bc5cf4a6f4f5bc193d636e784 | [
"WTFPL"
] | 18 | 2017-12-19T07:55:17.000Z | 2020-03-12T11:07:45.000Z | example/convertCaffe/layers3.py | ddddwee1/SULT | 0ff31b602d20dd8bc5cf4a6f4f5bc193d636e784 | [
"WTFPL"
] | 1 | 2019-04-18T10:31:41.000Z | 2019-05-23T06:47:24.000Z | example/convertCaffe/layers3.py | ddddwee1/SULT | 0ff31b602d20dd8bc5cf4a6f4f5bc193d636e784 | [
"WTFPL"
] | 5 | 2018-06-06T00:51:48.000Z | 2020-03-12T11:07:46.000Z | import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
import tensorflow as tf
from tensorflow.keras.layers import Layer as KLayer
import numpy as np
import time
import helper
import pickle
params_dict = {}
def init_caffe_input(x):
global caffe_string, layer_counter
if not 'caffe_string' in globals():
caffe_stri... | 33.274364 | 207 | 0.677533 | 4,863 | 31,411 | 4.202139 | 0.06971 | 0.114118 | 0.034059 | 0.017764 | 0.771764 | 0.743822 | 0.716222 | 0.703988 | 0.689063 | 0.667825 | 0 | 0.012593 | 0.168285 | 31,411 | 943 | 208 | 33.30965 | 0.769608 | 0.223743 | 0 | 0.644513 | 0 | 0.001546 | 0.125541 | 0.001873 | 0 | 0 | 0 | 0 | 0.003091 | 1 | 0.083462 | false | 0.004637 | 0.010819 | 0.001546 | 0.153014 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 |
3f63d4b7caf156ff7216d671bd32c442d7e3223f | 1,926 | py | Python | SSMParameterInput/SSMParameterInput.py | benkehoe/cfn-lbr-library | aa9c80245e650d2b57eb4cb7f7cb3d32986ee4a1 | [
"Apache-2.0"
] | null | null | null | SSMParameterInput/SSMParameterInput.py | benkehoe/cfn-lbr-library | aa9c80245e650d2b57eb4cb7f7cb3d32986ee4a1 | [
"Apache-2.0"
] | null | null | null | SSMParameterInput/SSMParameterInput.py | benkehoe/cfn-lbr-library | aa9c80245e650d2b57eb4cb7f7cb3d32986ee4a1 | [
"Apache-2.0"
] | 1 | 2018-07-24T15:46:58.000Z | 2018-07-24T15:46:58.000Z | """
MySSMParameter:
Type: Custom::SSMParameterInput
Properties:
Name: My/Parameter/Name
A drop-in replacement for CloudFormation SSM parameter types
(see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html#aws-ssm-parameter-types )
CloudFormation SSM parameter types... | 32.1 | 127 | 0.720145 | 246 | 1,926 | 5.577236 | 0.560976 | 0.043732 | 0.037172 | 0.04519 | 0.029155 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005925 | 0.211319 | 1,926 | 60 | 128 | 32.1 | 0.897301 | 0.617342 | 0 | 0.105263 | 0 | 0 | 0.065753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.052632 | 0.052632 | 0.105263 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
58b7bf286dee0241942bd9548872d0a1fb640ed3 | 212 | py | Python | audesc/constants.py | RainOfAshes/audesc | 037d461c9cd256abcc9981fa62fdb8c25ebf36a0 | [
"MIT"
] | 1 | 2022-01-23T12:09:44.000Z | 2022-01-23T12:09:44.000Z | audesc/constants.py | RainOfAshes/audesc | 037d461c9cd256abcc9981fa62fdb8c25ebf36a0 | [
"MIT"
] | null | null | null | audesc/constants.py | RainOfAshes/audesc | 037d461c9cd256abcc9981fa62fdb8c25ebf36a0 | [
"MIT"
] | 1 | 2022-01-23T12:09:48.000Z | 2022-01-23T12:09:48.000Z | INT_LITTLE_ENDIAN = '<i' # little-endian with 4 bytes
INT_BIG_ENDIAN = '>i' # big-endian with 4 bytes
SHORT_LITTLE_ENDIAN = '<h' # little-endian with 2 bytes
SHORT_BIG_ENDIAN = '<h' # big-endian with 2 bytes
| 42.4 | 56 | 0.716981 | 36 | 212 | 4 | 0.305556 | 0.333333 | 0.222222 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.169811 | 212 | 4 | 57 | 53 | 0.795455 | 0.476415 | 0 | 0 | 0 | 0 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
58b9550ff2cc8f1c6c0e66c51b3f2d2a181e4869 | 89 | py | Python | learn_suc/predict/apps.py | adamwang0705/learn_suc-gui | 1ae5dfbe49fcaaef5917c324c984bd0148a2a944 | [
"MIT"
] | 3 | 2019-05-18T14:26:18.000Z | 2020-04-25T16:15:24.000Z | app/predict/apps.py | lohedges/proof-webui | 17ae4dd5f93087e26ac15df276bea0e317efd4cd | [
"MIT"
] | 112 | 2018-04-24T19:10:55.000Z | 2022-02-26T16:55:02.000Z | app/predict/apps.py | lohedges/proof-webui | 17ae4dd5f93087e26ac15df276bea0e317efd4cd | [
"MIT"
] | 11 | 2020-07-28T00:45:51.000Z | 2020-11-22T18:34:52.000Z | from django.apps import AppConfig
class PredictConfig(AppConfig):
name = 'predict'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 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 |
450f68b5521d1f9ed2fd3fbb2739ef099105895d | 48 | py | Python | tools/Sikuli/TypeHome.sikuli/DoCtrlF4.py | marmyshev/vanessa-automation | 9f87bd6df58b4c205104d3ae8e3643752d67eef7 | [
"BSD-3-Clause"
] | 296 | 2018-05-27T08:03:14.000Z | 2022-03-19T08:36:11.000Z | tools/Sikuli/TypeHome.sikuli/DoCtrlF4.py | marmyshev/vanessa-automation | 9f87bd6df58b4c205104d3ae8e3643752d67eef7 | [
"BSD-3-Clause"
] | 1,562 | 2018-05-27T18:36:25.000Z | 2022-03-31T07:35:11.000Z | tools/Sikuli/TypeHome.sikuli/DoCtrlF4.py | marmyshev/vanessa-automation | 9f87bd6df58b4c205104d3ae8e3643752d67eef7 | [
"BSD-3-Clause"
] | 299 | 2018-06-18T20:00:56.000Z | 2022-03-29T12:29:55.000Z | type(Key.F4, KeyModifier.CTRL)
sleep(1)
exit(0)
| 12 | 30 | 0.729167 | 9 | 48 | 3.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0.083333 | 48 | 3 | 31 | 16 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
451423ebbab77d7d1a15c832a65b41f25de061a6 | 87 | py | Python | app/toyApp/apps.py | dgundogan/toys_svc | 9ef18045a32ee818ab71c8a7d4c9821eea956273 | [
"Apache-2.0"
] | null | null | null | app/toyApp/apps.py | dgundogan/toys_svc | 9ef18045a32ee818ab71c8a7d4c9821eea956273 | [
"Apache-2.0"
] | null | null | null | app/toyApp/apps.py | dgundogan/toys_svc | 9ef18045a32ee818ab71c8a7d4c9821eea956273 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class ToyappConfig(AppConfig):
name = 'toyApp'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 |
452b88ea8f6b1869b3d8fdf2f7ee95b7d2f548c8 | 70 | py | Python | yc212/821.py | c-yan/yukicoder | cdbbd65402177225dd989df7fe01f67908484a69 | [
"MIT"
] | null | null | null | yc212/821.py | c-yan/yukicoder | cdbbd65402177225dd989df7fe01f67908484a69 | [
"MIT"
] | null | null | null | yc212/821.py | c-yan/yukicoder | cdbbd65402177225dd989df7fe01f67908484a69 | [
"MIT"
] | null | null | null | N, K = map(int, input().split())
print((2 * N - K + 1) * K // 2 + 1)
| 17.5 | 35 | 0.428571 | 14 | 70 | 2.142857 | 0.642857 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 0.271429 | 70 | 3 | 36 | 23.333333 | 0.509804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
45374821e78d014914c0459ddc0b052c00967806 | 72 | py | Python | beehave.py | maximx1/beehave | 6ffa3aa1bea56ce71927fb97b8c281d53cbc0b58 | [
"MIT"
] | null | null | null | beehave.py | maximx1/beehave | 6ffa3aa1bea56ce71927fb97b8c281d53cbc0b58 | [
"MIT"
] | null | null | null | beehave.py | maximx1/beehave | 6ffa3aa1bea56ce71927fb97b8c281d53cbc0b58 | [
"MIT"
] | null | null | null | from beehave.common.game import BeehaveGame
BeehaveGame("Bzzz").play()
| 18 | 43 | 0.791667 | 9 | 72 | 6.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 72 | 3 | 44 | 24 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 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 |
18877628cd7e57e830c4a815fb8408327214e2ab | 128 | py | Python | language/syntax/grammar/syntax/grammar/lex/_.py | jedhsu/language | 3772a4a0ff287e1fc5ebefc716b8d91928d04c72 | [
"MIT"
] | null | null | null | language/syntax/grammar/syntax/grammar/lex/_.py | jedhsu/language | 3772a4a0ff287e1fc5ebefc716b8d91928d04c72 | [
"MIT"
] | null | null | null | language/syntax/grammar/syntax/grammar/lex/_.py | jedhsu/language | 3772a4a0ff287e1fc5ebefc716b8d91928d04c72 | [
"MIT"
] | null | null | null | from types import CodeType as Code
def construct():
...
def create() -> Object:
...
def define() -> Code:
...
| 9.142857 | 34 | 0.539063 | 14 | 128 | 4.928571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289063 | 128 | 13 | 35 | 9.846154 | 0.758242 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
18bc1f047d1ccbf7ccaed78266f188f19ab30255 | 170 | py | Python | sqlight/__init__.py | laomafeima/sqlight | 57835552c86e7a286955447af04ea0d1d14e7367 | [
"Apache-2.0"
] | 1 | 2020-03-30T19:43:36.000Z | 2020-03-30T19:43:36.000Z | sqlight/__init__.py | laomafeima/sqlight | 57835552c86e7a286955447af04ea0d1d14e7367 | [
"Apache-2.0"
] | 1 | 2020-04-27T11:53:31.000Z | 2020-04-27T11:53:31.000Z | sqlight/__init__.py | laomafeima/sqlight | 57835552c86e7a286955447af04ea0d1d14e7367 | [
"Apache-2.0"
] | null | null | null | from sqlight.connection import Connection
from sqlight.dburl import DBUrl
from sqlight.row import Row
VERSION = "2.0.1"
Connection = Connection
DBUrl = DBUrl
Row = Row
| 17 | 41 | 0.782353 | 25 | 170 | 5.32 | 0.4 | 0.24812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.152941 | 170 | 9 | 42 | 18.888889 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
18d2614c8742f68c51f02cd4ab3848326e66de63 | 636 | py | Python | nova/util.py | hepteract/nova | cf0e866aa5c0f59a3528de9d71671c567219c2ee | [
"MIT"
] | null | null | null | nova/util.py | hepteract/nova | cf0e866aa5c0f59a3528de9d71671c567219c2ee | [
"MIT"
] | null | null | null | nova/util.py | hepteract/nova | cf0e866aa5c0f59a3528de9d71671c567219c2ee | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""Basic utilities for nova"""
class _superpass(object):
"""Simple object to be a placeholder"""
def __getattr__(self, name):
return self
def __setattr__(self, name, value):
return
def __delattr__(self, name):
return
def __getitem__(self, name)... | 18.705882 | 43 | 0.603774 | 71 | 636 | 4.873239 | 0.478873 | 0.138728 | 0.16185 | 0.104046 | 0.248555 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002222 | 0.292453 | 636 | 33 | 44 | 19.272727 | 0.766667 | 0.125786 | 0 | 0.35 | 0 | 0 | 0.016514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.45 | false | 0.15 | 0 | 0.45 | 0.95 | 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 |
18e780c4a99cf55831c5b5fcd74aaa22e92e75b5 | 178 | py | Python | JupiterMag/Internal/_ReadTestPos.py | mattkjames7/JupiterMag | 0c2bc82e9efadc4b026b82f4aeea30b068ba7fbd | [
"MIT"
] | null | null | null | JupiterMag/Internal/_ReadTestPos.py | mattkjames7/JupiterMag | 0c2bc82e9efadc4b026b82f4aeea30b068ba7fbd | [
"MIT"
] | null | null | null | JupiterMag/Internal/_ReadTestPos.py | mattkjames7/JupiterMag | 0c2bc82e9efadc4b026b82f4aeea30b068ba7fbd | [
"MIT"
] | null | null | null | import numpy as np
import os
from .. import Globals
import PyFileIO as pf
def _ReadTestPos():
fname = Globals.ModulePath+"__data/testpos.dat"
return pf.ReadASCIIData(fname)
| 17.8 | 48 | 0.769663 | 25 | 178 | 5.36 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 178 | 9 | 49 | 19.777778 | 0.881579 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.571429 | 0 | 0.857143 | 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 |
18ec030dbf51d02b04b8e4f933b5f9daadf329ad | 84 | py | Python | Interview Preparation Kit - Python/04. Sorting/002. Mark and Toys.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | Interview Preparation Kit - Python/04. Sorting/002. Mark and Toys.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | Interview Preparation Kit - Python/04. Sorting/002. Mark and Toys.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | # Problem: https://www.hackerrank.com/challenges/mark-and-toys/problem
# Score: 35
| 28 | 70 | 0.75 | 12 | 84 | 5.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.083333 | 84 | 2 | 71 | 42 | 0.792208 | 0.940476 | 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 |
18f564db58bf6f8e85588c0205a0cbab03309589 | 225 | py | Python | endorsement/apps.py | uw-it-aca/service-endorsement | a1ba3e4221bb3fe6c81c9f6947ad5e93f10a4a45 | [
"Apache-2.0"
] | 3 | 2017-10-16T17:19:32.000Z | 2019-07-31T22:31:48.000Z | endorsement/apps.py | uw-it-aca/service-endorsement | a1ba3e4221bb3fe6c81c9f6947ad5e93f10a4a45 | [
"Apache-2.0"
] | 284 | 2016-06-17T18:21:31.000Z | 2022-03-21T16:55:03.000Z | endorsement/apps.py | uw-it-aca/service-endorsement | a1ba3e4221bb3fe6c81c9f6947ad5e93f10a4a45 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0
from __future__ import unicode_literals
from django.apps import AppConfig
class EndorsementConfig(AppConfig):
name = 'endorsement'
| 22.5 | 48 | 0.795556 | 28 | 225 | 6.214286 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.133333 | 225 | 9 | 49 | 25 | 0.861538 | 0.364444 | 0 | 0 | 0 | 0 | 0.078571 | 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 |
7a1a8ac714953d3c36b596672dadc4cb86ae6398 | 192 | py | Python | swyft/inference/__init__.py | adam-coogan/swyft | c54bdd9f77ddf02fda857e26640df012cbe545fc | [
"MIT"
] | null | null | null | swyft/inference/__init__.py | adam-coogan/swyft | c54bdd9f77ddf02fda857e26640df012cbe545fc | [
"MIT"
] | null | null | null | swyft/inference/__init__.py | adam-coogan/swyft | c54bdd9f77ddf02fda857e26640df012cbe545fc | [
"MIT"
] | null | null | null | from .microscope import Microscope
from .posteriors import Posteriors
from .ratios import IsolatedRatio
from .task import Task
__all__ = ["Posteriors", "Microscope", "IsolatedRatio", "Task"]
| 27.428571 | 63 | 0.786458 | 21 | 192 | 7 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119792 | 192 | 6 | 64 | 32 | 0.869822 | 0 | 0 | 0 | 0 | 0 | 0.192708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 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 |
e1347398a72ec8ecadea83a584bff57a66e808c5 | 6,406 | py | Python | example/Si_fitting_external.py | jochym/ALM | 6552b6d818c2cb83f90193ebba839fd85d6957f1 | [
"MIT"
] | 10 | 2017-01-12T21:18:36.000Z | 2020-07-27T11:07:16.000Z | example/Si_fitting_external.py | jochym/ALM | 6552b6d818c2cb83f90193ebba839fd85d6957f1 | [
"MIT"
] | 25 | 2018-04-24T07:32:17.000Z | 2021-04-20T03:08:54.000Z | example/Si_fitting_external.py | jochym/ALM | 6552b6d818c2cb83f90193ebba839fd85d6957f1 | [
"MIT"
] | 12 | 2016-11-08T22:56:38.000Z | 2021-04-20T02:27:38.000Z | #
# Si_fitting_external.py
#
# This is an example to run ALM in the fitting mode.
# Compare internal optimizer and the numpy routine for fitting
#
from alm import ALM
import numpy as np
lavec = [[20.406, 0, 0],
[0, 20.406, 0],
[0, 0, 20.406]]
xcoord = [[0.0000000000000000, 0.0000000000000000, 0.0... | 48.530303 | 73 | 0.674368 | 661 | 6,406 | 6.505295 | 0.183056 | 0.094884 | 0.100465 | 0.047442 | 0.767674 | 0.763953 | 0.756512 | 0.667907 | 0.667907 | 0 | 0 | 0.660043 | 0.206525 | 6,406 | 131 | 74 | 48.900763 | 0.185914 | 0.076022 | 0 | 0 | 0 | 0.010101 | 0.018823 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020202 | 0 | 0.020202 | 0.030303 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e16a97c93b21e858f2bcd000543702f2eeb4596d | 379 | py | Python | core/slack/matchers/callbackMatcher.py | ryanolee/pager-duty-sync | 1fd88634e461b5db647d856bc6b59f990944685e | [
"MIT"
] | null | null | null | core/slack/matchers/callbackMatcher.py | ryanolee/pager-duty-sync | 1fd88634e461b5db647d856bc6b59f990944685e | [
"MIT"
] | 2 | 2020-09-27T18:19:17.000Z | 2021-06-29T09:21:04.000Z | core/slack/matchers/callbackMatcher.py | ryanolee/pager-duty-sync | 1fd88634e461b5db647d856bc6b59f990944685e | [
"MIT"
] | null | null | null | from .matcher import Matcher
class CallbackMatcher(Matcher):
def __init__(self, event_type, callback):
super().__init__(event_type)
self.callback = callback
def match(self, *args, **kwags):
return self.callback(*args, **kwags)
def __repr__(self):
return f"<CallbackMatch... | 34.454545 | 90 | 0.675462 | 44 | 379 | 5.454545 | 0.409091 | 0.15 | 0.108333 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197889 | 379 | 11 | 90 | 34.454545 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.189474 | 0.186842 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.222222 | 0.777778 | 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 |
e1b701a76088bcfd645f26ee2f1f0e3de160a74d | 707 | py | Python | isegm/utils/exp_imports/default.py | qinliuliuqin/iSegFormer | 67b634588cc0a1e09fb3e092966eae997eb209fa | [
"MIT"
] | 14 | 2021-12-09T08:33:23.000Z | 2022-03-26T13:11:01.000Z | isegm/utils/exp_imports/default.py | qinliuliuqin/iSegFormer | 67b634588cc0a1e09fb3e092966eae997eb209fa | [
"MIT"
] | null | null | null | isegm/utils/exp_imports/default.py | qinliuliuqin/iSegFormer | 67b634588cc0a1e09fb3e092966eae997eb209fa | [
"MIT"
] | null | null | null | import torch
from functools import partial
from easydict import EasyDict as edict
from albumentations import *
from isegm.data.datasets import *
from isegm.model.losses import *
from isegm.data.transforms import *
from isegm.engine.trainer import ISTrainer
from isegm.model.metrics import AdaptiveIoU
from isegm.data.po... | 37.210526 | 59 | 0.861386 | 100 | 707 | 5.98 | 0.38 | 0.195652 | 0.187291 | 0.133779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097595 | 707 | 19 | 59 | 37.210526 | 0.937304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 |
beda6a21efff5eb2853f3b06d7045cb30b5c484f | 87 | py | Python | utils/box/__init__.py | XrosLiang/MutualGuide | 350170944cde473abb62f63a279f7e83c2a528ce | [
"MIT"
] | 3 | 2021-06-15T09:20:45.000Z | 2022-03-06T08:05:41.000Z | utils/box/__init__.py | XrosLiang/MutualGuide | 350170944cde473abb62f63a279f7e83c2a528ce | [
"MIT"
] | null | null | null | utils/box/__init__.py | XrosLiang/MutualGuide | 350170944cde473abb62f63a279f7e83c2a528ce | [
"MIT"
] | 2 | 2021-07-22T12:48:24.000Z | 2021-09-16T05:48:35.000Z | from .box_utils import *
from .detection import Detect
from .prior_box import PriorBox
| 21.75 | 31 | 0.816092 | 13 | 87 | 5.307692 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 3 | 32 | 29 | 0.92 | 0 | 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 |
bef73a1e98748d7970d7c0b14cffae3ceb615097 | 10,578 | py | Python | bot/stockDict.py | phi63897/stonks_bot | acd7626e6a98b11c01a8fba9500eb95533395bd2 | [
"MIT"
] | null | null | null | bot/stockDict.py | phi63897/stonks_bot | acd7626e6a98b11c01a8fba9500eb95533395bd2 | [
"MIT"
] | null | null | null | bot/stockDict.py | phi63897/stonks_bot | acd7626e6a98b11c01a8fba9500eb95533395bd2 | [
"MIT"
] | null | null | null |
#function to generate dicitonary of terms
def stockDictGen():
stockDict = []
stockDict.append({"word": "stock", "definition": "the capital raised by a business or corporation through the issuing of shares"})
stockDict.append({"word":"share", "definition": "the piece of paper that signifies ownership of th... | 135.615385 | 289 | 0.722537 | 1,436 | 10,578 | 5.322423 | 0.270891 | 0.139343 | 0.176501 | 0.017009 | 0.456889 | 0.392778 | 0.3776 | 0.3776 | 0.364255 | 0.364255 | 0 | 0.003716 | 0.160427 | 10,578 | 77 | 290 | 137.376623 | 0.856885 | 0.003781 | 0 | 0 | 1 | 0.216216 | 0.720008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013514 | false | 0.027027 | 0 | 0 | 0.027027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8302c43de1fe95d797ada99eeabdaa84a7832593 | 345 | py | Python | sleekxmpp/stanza/__init__.py | aristanetworks/SleekXMPP | 91f53bf1964a564f6f12477a31884e9ec38cef75 | [
"MIT"
] | null | null | null | sleekxmpp/stanza/__init__.py | aristanetworks/SleekXMPP | 91f53bf1964a564f6f12477a31884e9ec38cef75 | [
"MIT"
] | 1 | 2020-04-10T22:09:06.000Z | 2020-04-10T22:09:06.000Z | sleekxmpp/stanza/__init__.py | aristanetworks/SleekXMPP | 91f53bf1964a564f6f12477a31884e9ec38cef75 | [
"MIT"
] | 1 | 2019-12-05T12:10:16.000Z | 2019-12-05T12:10:16.000Z | """
SleekXMPP: The Sleek XMPP Library
Copyright (C) 2010 Nathanael C. Fritz
This file is part of SleekXMPP.
See the file LICENSE for copying permission.
"""
from sleekxmpp.stanza.error import Error
from sleekxmpp.stanza.iq import Iq
from sleekxmpp.stanza.message import Message
from sleekxmpp.stanza.... | 24.642857 | 48 | 0.762319 | 48 | 345 | 5.479167 | 0.5625 | 0.197719 | 0.288973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014134 | 0.17971 | 345 | 13 | 49 | 26.538462 | 0.915194 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
8309018cf8ed0db7d86a4790aa8e2f778a8a10b3 | 24 | py | Python | data/studio21_generated/introductory/3723/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3723/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3723/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def array_change(arr):
| 12 | 22 | 0.75 | 4 | 24 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 2 | 23 | 12 | 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 |
8311126b705a667ba549cae74b851620b8649776 | 21,713 | py | Python | neutron/tests/unit/agent/linux/test_l3_tc_lib.py | dangervon/neutron | 06ce0c2c94d2256a8f6804a1eacb0733747dcf46 | [
"Apache-2.0"
] | null | null | null | neutron/tests/unit/agent/linux/test_l3_tc_lib.py | dangervon/neutron | 06ce0c2c94d2256a8f6804a1eacb0733747dcf46 | [
"Apache-2.0"
] | null | null | null | neutron/tests/unit/agent/linux/test_l3_tc_lib.py | dangervon/neutron | 06ce0c2c94d2256a8f6804a1eacb0733747dcf46 | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | 45.235417 | 79 | 0.616543 | 2,740 | 21,713 | 4.487956 | 0.09708 | 0.015451 | 0.039034 | 0.047898 | 0.824266 | 0.772465 | 0.732211 | 0.69025 | 0.640969 | 0.618687 | 0 | 0.033187 | 0.297794 | 21,713 | 479 | 80 | 45.329854 | 0.773332 | 0.028324 | 0 | 0.545232 | 0 | 0 | 0.187696 | 0.017266 | 0 | 0 | 0.001186 | 0 | 0.05868 | 1 | 0.085575 | false | 0 | 0.01467 | 0 | 0.105134 | 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 |
55d164fe2cc25671c0c2e8390eef9ecf362de8f7 | 101 | py | Python | config.py | Donskov7/mypocketbot | 8696404b0752aad4305b367640e618d8ff07dd9d | [
"MIT"
] | null | null | null | config.py | Donskov7/mypocketbot | 8696404b0752aad4305b367640e618d8ff07dd9d | [
"MIT"
] | null | null | null | config.py | Donskov7/mypocketbot | 8696404b0752aad4305b367640e618d8ff07dd9d | [
"MIT"
] | null | null | null | -*- coding: utf-8 -*-
token = **bot_token**
host = 'localhost'
port = 27017
group_id = **group_id**
| 16.833333 | 23 | 0.613861 | 14 | 101 | 4.214286 | 0.785714 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.168317 | 101 | 5 | 24 | 20.2 | 0.630952 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
55d2aa0596560c987b0d0a2d40582c1ef981c61b | 379 | py | Python | src/backend/TeamProj/myapp/admin.py | DbettKK/1821-D4 | 9144ea230a15573845792222f33a83f4ee93539e | [
"MIT"
] | null | null | null | src/backend/TeamProj/myapp/admin.py | DbettKK/1821-D4 | 9144ea230a15573845792222f33a83f4ee93539e | [
"MIT"
] | 1 | 2020-08-10T12:12:04.000Z | 2020-08-10T12:12:04.000Z | src/backend/TeamProj/myapp/admin.py | DbettKK/1821-D4 | 9144ea230a15573845792222f33a83f4ee93539e | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
# Register your models here.
admin.site.register(models.User)
admin.site.register(models.File)
admin.site.register(models.Comment)
admin.site.register(models.Team)
admin.site.register(models.TeamMember)
admin.site.register(models.UserBrowseFile)
admin.site.registe... | 25.266667 | 42 | 0.82058 | 52 | 379 | 5.980769 | 0.346154 | 0.231511 | 0.437299 | 0.59164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063325 | 379 | 14 | 43 | 27.071429 | 0.876056 | 0.068602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 |
55e667c17297c995344cacc4603deb82ebbc2fed | 1,220 | py | Python | 1684 Count the Number of Consistent Strings.py | AtharvRedij/leetcode-solutions | 7194d202302989d53c241b12c9befb06923b1510 | [
"MIT"
] | null | null | null | 1684 Count the Number of Consistent Strings.py | AtharvRedij/leetcode-solutions | 7194d202302989d53c241b12c9befb06923b1510 | [
"MIT"
] | null | null | null | 1684 Count the Number of Consistent Strings.py | AtharvRedij/leetcode-solutions | 7194d202302989d53c241b12c9befb06923b1510 | [
"MIT"
] | 1 | 2021-03-06T06:15:48.000Z | 2021-03-06T06:15:48.000Z | '''
URL: https://leetcode.com/problems/count-the-number-of-consistent-strings/
Difficulty: Easy
Description: Count the Number of Consistent Strings
You are given a string allowed consisting of distinct characters and an array of strings words. A string is consistent if all characters in the string appear in the stri... | 27.111111 | 180 | 0.70082 | 183 | 1,220 | 4.672131 | 0.453552 | 0.031579 | 0.038596 | 0.073684 | 0.109942 | 0.077193 | 0 | 0 | 0 | 0 | 0 | 0.016505 | 0.155738 | 1,220 | 44 | 181 | 27.727273 | 0.813592 | 0.87377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3609581d92bf59d396f74970b4ae84bed98d22ea | 226 | py | Python | scalyr_agent/third_party/docker/types/__init__.py | code-sauce/scalyr-agent-2 | 41023d5c1272186193dd02900782b150dda5f38e | [
"Apache-2.0"
] | 1 | 2019-04-16T21:23:15.000Z | 2019-04-16T21:23:15.000Z | scalyr_agent/third_party/docker/types/__init__.py | code-sauce/scalyr-agent-2 | 41023d5c1272186193dd02900782b150dda5f38e | [
"Apache-2.0"
] | 5 | 2020-02-26T20:10:50.000Z | 2021-09-23T23:23:18.000Z | scalyr_agent/third_party/docker/types/__init__.py | code-sauce/scalyr-agent-2 | 41023d5c1272186193dd02900782b150dda5f38e | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from .containers import LogConfig, Ulimit
from .services import (
ContainerSpec, DriverConfig, Mount, Resources, RestartPolicy, TaskTemplate,
UpdateConfig
)
from .swarm import SwarmSpec, SwarmExternalCA
| 28.25 | 79 | 0.787611 | 22 | 226 | 8.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005181 | 0.146018 | 226 | 7 | 80 | 32.285714 | 0.917098 | 0.053097 | 0 | 0 | 0 | 0 | 0 | 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 |
3613c36c96d12f68140a7bee18003779d53ffe4c | 343 | py | Python | calculator/calculator.py | ayushnvs/calculator | 34b93286868e505982493b3db04661798fa4f1da | [
"MIT"
] | null | null | null | calculator/calculator.py | ayushnvs/calculator | 34b93286868e505982493b3db04661798fa4f1da | [
"MIT"
] | null | null | null | calculator/calculator.py | ayushnvs/calculator | 34b93286868e505982493b3db04661798fa4f1da | [
"MIT"
] | null | null | null | class Calculator:
def __init__(self):
self.calculation = 0
self.operation = None
def plus(self, num):
self.calculation += num
def minus(self, num):
self.calculation -= num
def multiply(self, num):
self.calculation *= num
def divide(self, num):
... | 21.4375 | 31 | 0.577259 | 39 | 343 | 4.974359 | 0.358974 | 0.386598 | 0.226804 | 0.453608 | 0.561856 | 0.43299 | 0 | 0 | 0 | 0 | 0 | 0.004274 | 0.317784 | 343 | 16 | 32 | 21.4375 | 0.824786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0 | 0 | 0.5 | 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 |
362cfa2a2d53f0190bf26be70c4ac681d4359d9d | 156 | py | Python | run.py | HannesHolst1/pydoku | 628abfa35e230007c9b14e550096b47ec489e0fe | [
"MIT"
] | null | null | null | run.py | HannesHolst1/pydoku | 628abfa35e230007c9b14e550096b47ec489e0fe | [
"MIT"
] | null | null | null | run.py | HannesHolst1/pydoku | 628abfa35e230007c9b14e550096b47ec489e0fe | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
from app import app
if __name__ == '__main__':
#app.run(debug=True) # for local webserver
app.run(host='0.0.0.0', port=80) | 22.285714 | 45 | 0.628205 | 26 | 156 | 3.461538 | 0.730769 | 0.066667 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054264 | 0.173077 | 156 | 7 | 46 | 22.285714 | 0.643411 | 0.403846 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
368ab806ae613e456ed415a3b2c87f069dc74757 | 33 | py | Python | BotDr/__init__.py | botfg/BotDr | 02776f309a770d7a34aa0330690a8cf7597bef3d | [
"Apache-2.0"
] | 5 | 2019-12-04T22:51:27.000Z | 2020-03-30T10:27:47.000Z | BotDr/__init__.py | botfg/BotDr | 02776f309a770d7a34aa0330690a8cf7597bef3d | [
"Apache-2.0"
] | null | null | null | BotDr/__init__.py | botfg/BotDr | 02776f309a770d7a34aa0330690a8cf7597bef3d | [
"Apache-2.0"
] | null | null | null | __version__ = '1.5'
__all__ = []
| 11 | 19 | 0.606061 | 4 | 33 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.181818 | 33 | 2 | 20 | 16.5 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
369aa478be430ff450e7370bd4400054a4251d9e | 396 | py | Python | blogs/settings.py | arjunsinghy96/djangoblogs | 071240f6f82017f35cde10e49c58b5ab04da0459 | [
"MIT"
] | null | null | null | blogs/settings.py | arjunsinghy96/djangoblogs | 071240f6f82017f35cde10e49c58b5ab04da0459 | [
"MIT"
] | 15 | 2018-10-26T13:03:46.000Z | 2018-11-06T17:30:47.000Z | blogs/settings.py | arjunsinghy96/django-blogs | 071240f6f82017f35cde10e49c58b5ab04da0459 | [
"MIT"
] | 5 | 2018-10-28T06:48:48.000Z | 2018-10-28T07:10:36.000Z | from django.conf import settings as project_settings
class BlogSettings(object):
def __init__(self):
pass
settings = BlogSettings()
settings.SHOW_FOOTER_LINK = getattr(project_settings, 'BLOGS_SHOW_FOOTER_LINK', True)
settings.PARENT_SITE_NAME = getattr(project_settings, 'BLOGS_PARENT_SITE_NAME', '')
set... | 36 | 85 | 0.795455 | 51 | 396 | 5.72549 | 0.509804 | 0.205479 | 0.226027 | 0.277397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108586 | 396 | 11 | 86 | 36 | 0.827195 | 0 | 0 | 0 | 0 | 0 | 0.161209 | 0.110831 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.125 | 0 | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
369b4d5b667cb4bc486ab9c1d5fbbb70496b15cc | 12,211 | py | Python | tests/parsers/syslog.py | jonathan-greig/plaso | b88a6e54c06a162295d09b016bddbfbfe7ca9070 | [
"Apache-2.0"
] | 6 | 2015-07-30T11:07:24.000Z | 2021-07-23T07:12:30.000Z | tests/parsers/syslog.py | jonathan-greig/plaso | b88a6e54c06a162295d09b016bddbfbfe7ca9070 | [
"Apache-2.0"
] | null | null | null | tests/parsers/syslog.py | jonathan-greig/plaso | b88a6e54c06a162295d09b016bddbfbfe7ca9070 | [
"Apache-2.0"
] | 1 | 2021-07-23T07:12:37.000Z | 2021-07-23T07:12:37.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Tests for the syslog parser."""
import unittest
from plaso.parsers import syslog
from tests.parsers import test_lib
class SyslogParserTest(test_lib.ParserTestCase):
"""Tests for the syslog parser."""
# pylint: disable=protected-access
def testEnablePlugins(... | 34.013928 | 80 | 0.693064 | 1,324 | 12,211 | 6.111027 | 0.164653 | 0.091583 | 0.07119 | 0.076752 | 0.825238 | 0.775429 | 0.764553 | 0.6967 | 0.682487 | 0.642937 | 0 | 0.0432 | 0.192449 | 12,211 | 358 | 81 | 34.108939 | 0.777305 | 0.054869 | 0 | 0.678431 | 0 | 0 | 0.196794 | 0.017946 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.035294 | false | 0 | 0.011765 | 0 | 0.05098 | 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 |
36ef8b9ba79eaca7e7304f1e5fd28fc3328bfe82 | 156 | py | Python | usf_dime_novels/common/tests/__init__.py | thePortus/usf-dime-novels | 04b21e758a29c405af54782c8b8c2c5ef397270f | [
"MIT"
] | 1 | 2018-08-11T03:30:10.000Z | 2018-08-11T03:30:10.000Z | usf_dime_novels/common/tests/__init__.py | thePortus/usf-dime-novels | 04b21e758a29c405af54782c8b8c2c5ef397270f | [
"MIT"
] | 4 | 2017-06-26T16:19:22.000Z | 2021-06-01T22:17:21.000Z | usf_dime_novels/common/tests/__init__.py | thePortus/usf-dime-novels | 04b21e758a29c405af54782c8b8c2c5ef397270f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""common/tests/__init__.py
By David J. Thomas, thePortus.com, dave.a.base@gmail.com
The init file for the common module tests
"""
| 22.285714 | 56 | 0.692308 | 26 | 156 | 4 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.141026 | 156 | 6 | 57 | 26 | 0.768657 | 0.942308 | 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 |
36fb7b1f0949f17a082e85a42e470a3b2f8c78ff | 2,166 | py | Python | dlabsite/views.py | vanandrew/dglabsite | 001a01f850af386b7a32bece072ab4f6802739a0 | [
"MIT"
] | null | null | null | dlabsite/views.py | vanandrew/dglabsite | 001a01f850af386b7a32bece072ab4f6802739a0 | [
"MIT"
] | null | null | null | dlabsite/views.py | vanandrew/dglabsite | 001a01f850af386b7a32bece072ab4f6802739a0 | [
"MIT"
] | 1 | 2018-10-09T14:48:27.000Z | 2018-10-09T14:48:27.000Z | from django.shortcuts import render
from django.http import HttpResponseRedirect
from .models import (lab_member, publication, job_listing,
media_listing, current_study, data_listing, software_listing)
from datetime import datetime
# homepage
def home_page(request):
return render(request, 'dlabsite/index.html'... | 34.935484 | 104 | 0.739612 | 264 | 2,166 | 5.939394 | 0.212121 | 0.077168 | 0.133291 | 0.189413 | 0.366071 | 0.346301 | 0.212372 | 0.212372 | 0.212372 | 0.181122 | 0 | 0 | 0.125577 | 2,166 | 61 | 105 | 35.508197 | 0.827878 | 0.05771 | 0 | 0.052632 | 0 | 0 | 0.189842 | 0.093195 | 0 | 0 | 0 | 0 | 0 | 1 | 0.289474 | false | 0 | 0.105263 | 0.105263 | 0.684211 | 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 |
7fdf7ce1e557d379b88ef74c797b1e8d10ad02cd | 164 | py | Python | pyapple/src/__init__.py | fxrcha/Pyapple | 0d28ea0e85e096eb21639814ccff352b73281b99 | [
"MIT"
] | null | null | null | pyapple/src/__init__.py | fxrcha/Pyapple | 0d28ea0e85e096eb21639814ccff352b73281b99 | [
"MIT"
] | null | null | null | pyapple/src/__init__.py | fxrcha/Pyapple | 0d28ea0e85e096eb21639814ccff352b73281b99 | [
"MIT"
] | null | null | null | from .jailbreak import Jailbreak
from .ipsw import IPSWME
from .shsh2 import SHSH2
from .swscan import SWSCAN
__all__ = ["Jailbreak", "IPSWME", "SHSH2", "SWSCAN"]
| 23.428571 | 52 | 0.75 | 21 | 164 | 5.666667 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.140244 | 164 | 6 | 53 | 27.333333 | 0.822695 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 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 |
7fe2a73483ddc6220a208311123a1ef2a7bd5096 | 480 | py | Python | src/sage/rings/padics/all.py | defeo/sage | d8822036a9843bd4d75845024072515ede56bcb9 | [
"BSL-1.0"
] | 2 | 2018-06-30T01:37:35.000Z | 2018-06-30T01:37:39.000Z | src/sage/rings/padics/all.py | boothby/sage | 1b1e6f608d1ef8ee664bb19e991efbbc68cbd51f | [
"BSL-1.0"
] | null | null | null | src/sage/rings/padics/all.py | boothby/sage | 1b1e6f608d1ef8ee664bb19e991efbbc68cbd51f | [
"BSL-1.0"
] | null | null | null | from __future__ import absolute_import
from .generic_nodes import is_pAdicField, is_pAdicRing
from .factory import Zp, Zq, Zp as pAdicRing, ZpCR, ZpCA, ZpFM, ZqCR, ZqCA, ZqFM #, ZpL, ZqL
from .factory import Qp, Qq, Qp as pAdicField, QpCR, QqCR #, QpL, QqL
from .factory import pAdicExtension
from .padic_generic import ... | 48 | 92 | 0.820833 | 71 | 480 | 5.295775 | 0.577465 | 0.087766 | 0.135638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122917 | 480 | 9 | 93 | 53.333333 | 0.893112 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.111111 | 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 |
7ff3ea739ea25c7169ebcdcf38aa31f34e46a73c | 484 | py | Python | Classes/Packets/Server/Socket/KeepAliveServerMessage.py | ServerBSvvv/BSDS-V41 | 5ffbc308c520f6d4e8a8fb9d7eca497c59735653 | [
"Apache-2.0"
] | 19 | 2021-12-23T19:15:09.000Z | 2022-03-03T12:40:33.000Z | Classes/Packets/Server/Socket/KeepAliveServerMessage.py | ServerBSvvv/BSDS-V41 | 5ffbc308c520f6d4e8a8fb9d7eca497c59735653 | [
"Apache-2.0"
] | 12 | 2021-12-23T19:16:31.000Z | 2022-03-04T08:58:18.000Z | Classes/Packets/Server/Socket/KeepAliveServerMessage.py | ServerBSvvv/BSDS-V41 | 5ffbc308c520f6d4e8a8fb9d7eca497c59735653 | [
"Apache-2.0"
] | 13 | 2021-12-24T10:00:11.000Z | 2022-03-14T02:03:54.000Z | from Classes.Packets.PiranhaMessage import PiranhaMessage
class KeepAliveServerMessage(PiranhaMessage):
def __init__(self, messageData):
super().__init__(messageData)
self.messageVersion = 0
def encode(self, fields):
pass
def decode(self):
return {}
def execute(messa... | 22 | 57 | 0.67562 | 46 | 484 | 6.913043 | 0.565217 | 0.09434 | 0.081761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 0.247934 | 484 | 22 | 58 | 22 | 0.857143 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.133333 | 0.066667 | 0.2 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
7ff77a3d17cf69e093327077319a2cf8a8ae422b | 301 | py | Python | discord/ext/converters/bot.py | Gobot1234/discord-ext-converters | b083160aa2df09cde4f6de11bb5e057eadbd65fc | [
"Apache-2.0"
] | 5 | 2020-07-31T12:39:24.000Z | 2021-02-06T12:20:32.000Z | discord/ext/converters/bot.py | Gobot1234/discord-ext-converters | b083160aa2df09cde4f6de11bb5e057eadbd65fc | [
"Apache-2.0"
] | 3 | 2020-10-14T17:45:59.000Z | 2021-03-29T01:06:32.000Z | discord/ext/converters/bot.py | Gobot1234/discord-ext-converters | b083160aa2df09cde4f6de11bb5e057eadbd65fc | [
"Apache-2.0"
] | 6 | 2020-07-31T13:25:22.000Z | 2021-02-25T13:57:50.000Z | from discord.ext.commands.bot import BotBase, Bot, AutoShardedBot
from .core import ConvertersGroupMixin
class ConvertersBotBase(BotBase, ConvertersGroupMixin):
...
class ConvertersBot(Bot, ConvertersBotBase):
...
class AutoShardedConvertersBot(AutoShardedBot, ConvertersBotBase):
...
| 23.153846 | 66 | 0.784053 | 25 | 301 | 9.44 | 0.56 | 0.211864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126246 | 301 | 12 | 67 | 25.083333 | 0.897338 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3d5bba8827a603a018b980ff3fb4827fe76d476b | 301 | py | Python | api/webdriver/Info.py | Cleyton-Oliveira/WhatsAppAPI | c0c12aa7aca9749ca59a176331d42be4d749c7e6 | [
"MIT"
] | null | null | null | api/webdriver/Info.py | Cleyton-Oliveira/WhatsAppAPI | c0c12aa7aca9749ca59a176331d42be4d749c7e6 | [
"MIT"
] | null | null | null | api/webdriver/Info.py | Cleyton-Oliveira/WhatsAppAPI | c0c12aa7aca9749ca59a176331d42be4d749c7e6 | [
"MIT"
] | null | null | null | info = {
'driver_path' : "\\\\webdriver\\\\content\\\\geckodriver.exe",
'profile_path' : "\\\\webdriver\\\\content\\\\firefox_profile",
'primary_url' : "https://web.whatsapp.com",
'send_url' : "https://web.whatsapp.com/send?phone={}&text={}",
'send_button_class_name' : "_2Ujuu"
}
| 37.625 | 67 | 0.61794 | 33 | 301 | 5.363636 | 0.666667 | 0.146893 | 0.225989 | 0.214689 | 0.293785 | 0.293785 | 0 | 0 | 0 | 0 | 0 | 0.003817 | 0.129568 | 301 | 7 | 68 | 43 | 0.671756 | 0 | 0 | 0 | 0 | 0 | 0.750831 | 0.358804 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e9ec180df89b34b6157c07df64caefaa0791ba17 | 1,912 | py | Python | sqlite4dummy-0.0.6/build/lib/sqlite4dummy/tests/functionality/test_Delete.py | link-money-dev/link-api-web-service | 3da226c7115ee4267f8346620029b710b9987e74 | [
"BSD-3-Clause"
] | null | null | null | sqlite4dummy-0.0.6/build/lib/sqlite4dummy/tests/functionality/test_Delete.py | link-money-dev/link-api-web-service | 3da226c7115ee4267f8346620029b710b9987e74 | [
"BSD-3-Clause"
] | 1 | 2021-06-01T22:32:25.000Z | 2021-06-01T22:32:25.000Z | sqlite4dummy-0.0.6/sqlite4dummy/tests/functionality/test_Delete.py | link-money-dev/link-api-web-service | 3da226c7115ee4267f8346620029b710b9987e74 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
本测试模块用于测试与 :class:`sqlite4dummy.schema.Delete` 有关的功能
class, method, func, exception
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"""
from __future__ import print_function, unicode_literals
from sqlite4dummy import *
fr... | 33.54386 | 80 | 0.502092 | 197 | 1,912 | 4.680203 | 0.390863 | 0.06833 | 0.107375 | 0.052061 | 0.437093 | 0.361171 | 0.302603 | 0.247289 | 0.247289 | 0.247289 | 0 | 0.033846 | 0.320084 | 1,912 | 57 | 81 | 33.54386 | 0.675385 | 0.819038 | 0 | 0 | 0 | 0 | 0.033195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.166667 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e9f4a2e9a5a8ffef40ade2a20083575459d711a1 | 87 | py | Python | pysynth/__main__.py | simberaj/pysynth | c4231e8e1beb88d34c5af6a7fa8c5e34b2bc39fe | [
"MIT"
] | 9 | 2020-07-08T12:59:31.000Z | 2021-12-28T12:50:45.000Z | pysynth/__main__.py | FatemeZamanian/pysynth | c4231e8e1beb88d34c5af6a7fa8c5e34b2bc39fe | [
"MIT"
] | 7 | 2020-01-06T21:12:15.000Z | 2021-11-12T22:13:50.000Z | pysynth/__main__.py | FatemeZamanian/pysynth | c4231e8e1beb88d34c5af6a7fa8c5e34b2bc39fe | [
"MIT"
] | 32 | 2020-02-08T14:12:42.000Z | 2022-03-30T09:27:17.000Z | import sys
import pysynth
if __name__ == '__main__':
pysynth.main(*sys.argv[1:])
| 12.428571 | 31 | 0.678161 | 12 | 87 | 4.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.172414 | 87 | 6 | 32 | 14.5 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 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 |
18063b7a995b7367338a793f01ae8c14a535a786 | 2,942 | py | Python | Main Build/Scripts/Tile_Classes.py | Phill544/B.Ash | 76ef7d71482c9a6138645c6b48484f39f6b38439 | [
"MIT"
] | null | null | null | Main Build/Scripts/Tile_Classes.py | Phill544/B.Ash | 76ef7d71482c9a6138645c6b48484f39f6b38439 | [
"MIT"
] | null | null | null | Main Build/Scripts/Tile_Classes.py | Phill544/B.Ash | 76ef7d71482c9a6138645c6b48484f39f6b38439 | [
"MIT"
] | null | null | null | import cv2
###########################################################
# These classes are used as part of the pyGrids for #
# a more accurate player movement. #
###########################################################
class Tile:
# Basic Tile Class
pos = (-1,-1)
walkable ... | 29.717172 | 129 | 0.57308 | 390 | 2,942 | 4.084615 | 0.264103 | 0.070308 | 0.112994 | 0.143126 | 0.419335 | 0.374137 | 0.374137 | 0.333961 | 0.321406 | 0.295041 | 0 | 0.007892 | 0.267845 | 2,942 | 98 | 130 | 30.020408 | 0.731662 | 0.166213 | 0 | 0.409091 | 0 | 0 | 0.034468 | 0.009479 | 0 | 0 | 0 | 0.010204 | 0 | 1 | 0.30303 | false | 0 | 0.015152 | 0.227273 | 0.545455 | 0.075758 | 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 |
1822b1124f06d358c835e3b8d578222a231ef3e3 | 663 | py | Python | randombtc/__init__.py | callebtc/randombtc | 3588d6386f7cf6f2ef4aa492b0596c32b53bbb94 | [
"MIT"
] | 5 | 2022-01-05T11:15:21.000Z | 2022-02-03T03:39:59.000Z | randombtc/__init__.py | callebtc/randombtc | 3588d6386f7cf6f2ef4aa492b0596c32b53bbb94 | [
"MIT"
] | null | null | null | randombtc/__init__.py | callebtc/randombtc | 3588d6386f7cf6f2ef4aa492b0596c32b53bbb94 | [
"MIT"
] | null | null | null | from .base import HashSource
from .source_mempoolspace import MempoolSpace
# from .functions import *
BLOCKCHAIN_SOURCE = MempoolSpace
ENTROPY_SOUCE = "merkle_root"
generator = BLOCKCHAIN_SOURCE(ENTROPY_SOUCE)
def random():
return generator.random()
def uniform(a, b) -> float:
return generator.uniform(a, ... | 16.170732 | 45 | 0.733032 | 82 | 663 | 5.804878 | 0.365854 | 0.252101 | 0.037815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001808 | 0.165913 | 663 | 40 | 46 | 16.575 | 0.858951 | 0.036199 | 0 | 0 | 0 | 0 | 0.017268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.380952 | false | 0 | 0.095238 | 0.380952 | 0.857143 | 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 |
1824e13b08cd082318d03097f0c50cc6420931c5 | 124 | py | Python | run.py | jonathan-sudo/flask_oc | fa55a58fea6e3a591f988f0d381ccae06bfef355 | [
"MIT"
] | null | null | null | run.py | jonathan-sudo/flask_oc | fa55a58fea6e3a591f988f0d381ccae06bfef355 | [
"MIT"
] | null | null | null | run.py | jonathan-sudo/flask_oc | fa55a58fea6e3a591f988f0d381ccae06bfef355 | [
"MIT"
] | null | null | null | #! /usr/bin/env/ python
"""
Runs the project
"""
from fbapp import app
if __name__ == "__main__":
app.run(debug=True)
| 12.4 | 26 | 0.645161 | 18 | 124 | 4 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185484 | 124 | 9 | 27 | 13.777778 | 0.712871 | 0.314516 | 0 | 0 | 0 | 0 | 0.103896 | 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 |
184c5d0d9432d28439ba0fe35eed5fc8761a73d5 | 197 | py | Python | examples/cupoftee/__init__.py | est/werkzeug | 1a852423e6fc6d9bd3a0e0c756dde5680c38cee0 | [
"BSD-3-Clause"
] | 1 | 2020-08-08T21:54:22.000Z | 2020-08-08T21:54:22.000Z | examples/cupoftee/__init__.py | est/werkzeug | 1a852423e6fc6d9bd3a0e0c756dde5680c38cee0 | [
"BSD-3-Clause"
] | 1 | 2019-05-11T16:26:21.000Z | 2019-05-11T16:26:21.000Z | examples/cupoftee/__init__.py | est/werkzeug | 1a852423e6fc6d9bd3a0e0c756dde5680c38cee0 | [
"BSD-3-Clause"
] | 1 | 2021-01-14T08:58:12.000Z | 2021-01-14T08:58:12.000Z | # -*- coding: utf-8 -*-
"""
cupoftee
~~~~~~~~
Werkzeug powered Teeworlds Server Browser.
:copyright: 2007 Pallets
:license: BSD-3-Clause
"""
from .application import make_app
| 16.416667 | 46 | 0.614213 | 21 | 197 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.228426 | 197 | 11 | 47 | 17.909091 | 0.75 | 0.675127 | 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 | 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 |
43e88305ebdf17f4c79469b2e3f60c23470e3c00 | 1,716 | py | Python | pdpp/styles/graph_style.py | UWNETLAB/pdpp | 011b8f27c191a0c7427c5a90eb75ce1fa0452bac | [
"MIT"
] | 1 | 2022-02-06T14:36:22.000Z | 2022-02-06T14:36:22.000Z | pdpp/styles/graph_style.py | UWNETLAB/pdpp | 011b8f27c191a0c7427c5a90eb75ce1fa0452bac | [
"MIT"
] | 4 | 2020-08-12T18:13:34.000Z | 2021-01-19T19:07:52.000Z | pdpp/styles/graph_style.py | UWNETLAB/pdpp | 011b8f27c191a0c7427c5a90eb75ce1fa0452bac | [
"MIT"
] | null | null | null | class base_graph_style():
NAME:str = ''
class default_graph_style(base_graph_style):
NAME:str = 'default'
# Task Nodes:
TASK_NODE_STYLE = 'filled'
TASK_NODE_SHAPE = 'box3d'
TASK_NODE_PENWIDTH = 1,
TASK_NODE_FONTCOLOR = 'black'
DISABLED_TASK_COLOR = 'dimgrey'
DISABLED_TASK_FONTCOL... | 23.189189 | 49 | 0.65676 | 212 | 1,716 | 4.882075 | 0.231132 | 0.069565 | 0.057971 | 0.052174 | 0.777778 | 0.757488 | 0.757488 | 0.626087 | 0.626087 | 0.626087 | 0 | 0.040217 | 0.246504 | 1,716 | 73 | 50 | 23.506849 | 0.760247 | 0.051865 | 0 | 0.6 | 0 | 0 | 0.139492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
43f0b6dd839da03e398ff00fc1b28f1f1055666d | 65 | py | Python | sample/alumni/admin.py | hdknr/flier | eca75b972ed91c3107b5c6007366caf93313d8e8 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | sample/alumni/admin.py | hdknr/flier | eca75b972ed91c3107b5c6007366caf93313d8e8 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | sample/alumni/admin.py | hdknr/flier | eca75b972ed91c3107b5c6007366caf93313d8e8 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from flier.admin import register
register(__name__, globals())
| 13 | 32 | 0.784615 | 8 | 65 | 5.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 65 | 4 | 33 | 16.25 | 0.824561 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
43fd24a0219ac561a3880e26d1dcc5e45881362d | 638 | py | Python | output/examples/example6/view.py | cy15196/FastCAE | 0870752ec2e590f3ea6479e909ebf6c345ac2523 | [
"BSD-3-Clause"
] | 117 | 2020-03-07T12:07:05.000Z | 2022-03-27T07:35:22.000Z | output/examples/example6/view.py | cy15196/FastCAE | 0870752ec2e590f3ea6479e909ebf6c345ac2523 | [
"BSD-3-Clause"
] | 4 | 2020-03-12T15:36:57.000Z | 2022-02-08T02:19:17.000Z | output/examples/example6/view.py | cy15196/FastCAE | 0870752ec2e590f3ea6479e909ebf6c345ac2523 | [
"BSD-3-Clause"
] | 76 | 2020-03-16T01:47:46.000Z | 2022-03-21T16:37:07.000Z | MainWindow.clearData()
MainWindow.openPost3D()
PostProcess.script_openFile(-1,"Post3D","%examplesPath%/water.vtk")
PostProcess.script_openFile(-1,"Post3D","%examplesPath%/platform.vtk")
PostProcess.script_applyClicked(-1,"Post3D")
PostProcess.script_Properties_streamline_integration_direction(-1,"Post3D",3,2)
PostProce... | 53.166667 | 79 | 0.838558 | 77 | 638 | 6.662338 | 0.337662 | 0.298246 | 0.210526 | 0.288499 | 0.699805 | 0.350877 | 0.179337 | 0.179337 | 0 | 0 | 0 | 0.047847 | 0.017241 | 638 | 11 | 80 | 58 | 0.770335 | 0 | 0 | 0.181818 | 0 | 0 | 0.164577 | 0.079937 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 |
a103c6c34acdf905f255ca05bdb42262cea3995d | 163 | py | Python | pwd_manager/app/__init__.py | CodeJxer/password-manage | 9c86a4e9b3581d9a2fe630ebf0c1d5b2d384bf2f | [
"MIT"
] | null | null | null | pwd_manager/app/__init__.py | CodeJxer/password-manage | 9c86a4e9b3581d9a2fe630ebf0c1d5b2d384bf2f | [
"MIT"
] | null | null | null | pwd_manager/app/__init__.py | CodeJxer/password-manage | 9c86a4e9b3581d9a2fe630ebf0c1d5b2d384bf2f | [
"MIT"
] | null | null | null | # -*- coding=UTF-8 -*-
#
# Copyright © pwd-manager Project Contributors
# Licensed under the terms of the MIT License
# (see pwd-manager/__init__.py for details)
| 23.285714 | 46 | 0.717791 | 24 | 163 | 4.75 | 0.875 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.159509 | 163 | 6 | 47 | 27.166667 | 0.817518 | 0.92638 | 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 |
a1118d2a48490ce498ce89c55e73023eee6224e5 | 32 | py | Python | tests/test_core/test_util/__init__.py | kucera-lukas/ImageSecrets | d7720886b215c5a40b94d4f06cb10d3c106dfcde | [
"MIT"
] | null | null | null | tests/test_core/test_util/__init__.py | kucera-lukas/ImageSecrets | d7720886b215c5a40b94d4f06cb10d3c106dfcde | [
"MIT"
] | 74 | 2021-08-09T11:50:51.000Z | 2022-03-30T21:23:24.000Z | tests/test_core/test_util/__init__.py | kucera-lukas/imagesecrets | d7720886b215c5a40b94d4f06cb10d3c106dfcde | [
"MIT"
] | null | null | null | """Test the utility package."""
| 16 | 31 | 0.65625 | 4 | 32 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.75 | 0.78125 | 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 |
a11899aa3dd3aaecd0a448f93ad6ac5870728c06 | 148,199 | py | Python | maya/OpenMayaRender.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | maya/OpenMayaRender.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | maya/OpenMayaRender.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | from __builtin__ import object as _object
from __builtin__ import property as _swig_property
class RV_PIXEL(_object):
def __init__(self, *args):
pass
def __repr__(self):
pass
__dict__ = None
__weakref__ = None
a = None
b = None
g = Non... | 15.47447 | 70 | 0.631603 | 15,994 | 148,199 | 5.468863 | 0.230837 | 0.096194 | 0.185506 | 0.218455 | 0.16894 | 0.092616 | 0.069213 | 0.064331 | 0.061347 | 0.048657 | 0 | 0.09127 | 0.294921 | 148,199 | 9,576 | 71 | 15.476086 | 0.745818 | 0.00359 | 0 | 0.329968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26638 | false | 0.271321 | 0.000644 | 0 | 0.365628 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a130203295c94aad6472e8fd99ae94fd8ce35199 | 207 | py | Python | features/depth_of_field/test_depth_of_field.py | fanzhikang/relaxrender | 39e040c9b2af716d80b4cd1941d7b6aa9e6ddc8b | [
"MIT"
] | null | null | null | features/depth_of_field/test_depth_of_field.py | fanzhikang/relaxrender | 39e040c9b2af716d80b4cd1941d7b6aa9e6ddc8b | [
"MIT"
] | null | null | null | features/depth_of_field/test_depth_of_field.py | fanzhikang/relaxrender | 39e040c9b2af716d80b4cd1941d7b6aa9e6ddc8b | [
"MIT"
] | null | null | null | import unittest
from depth_of_field import DepthOfField
class TestDepthOfField(unittest.TestCase):
def testDepthOfField(self):
DepthOfField.DepthOfField(["./", "./depth_of_field/city.png"])
| 29.571429 | 70 | 0.748792 | 22 | 207 | 6.863636 | 0.636364 | 0.092715 | 0.15894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140097 | 207 | 6 | 71 | 34.5 | 0.848315 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.120773 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | 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 |
a13470edf5aeb14855d11dc1bef736fb4ad734d5 | 188 | py | Python | datatrans/utils/classes/jsonenum.py | KooCook/datatrans | 65c80da4d8a1ed67963b9d704b361c864cb1151b | [
"BSD-3-Clause"
] | 1 | 2020-10-24T04:07:42.000Z | 2020-10-24T04:07:42.000Z | datatrans/utils/classes/jsonenum.py | KooCook/datatrans | 65c80da4d8a1ed67963b9d704b361c864cb1151b | [
"BSD-3-Clause"
] | null | null | null | datatrans/utils/classes/jsonenum.py | KooCook/datatrans | 65c80da4d8a1ed67963b9d704b361c864cb1151b | [
"BSD-3-Clause"
] | null | null | null | import enum
__all__ = ['JSONEnum']
class JSONEnum(enum.Enum):
""" JSON serializable enum (with default=utils.json_encoder). """
def json_serial(self):
return self.value
| 18.8 | 69 | 0.675532 | 23 | 188 | 5.26087 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196809 | 188 | 9 | 70 | 20.888889 | 0.801325 | 0.303191 | 0 | 0 | 0 | 0 | 0.065041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a14e14175f8e7d82c18776ebee4dd5cc7273cf81 | 41 | py | Python | nasbench301/surrogate_models/bananas/bananas_src/bo/acq/__init__.py | Basvanstein/nasbench301 | 2984dec45c760d47762f50efe39b71e9d1ac22e0 | [
"Apache-2.0"
] | 167 | 2019-10-26T19:54:49.000Z | 2021-12-14T15:25:32.000Z | nasbench301/surrogate_models/bananas/bananas_src/bo/acq/__init__.py | Basvanstein/nasbench301 | 2984dec45c760d47762f50efe39b71e9d1ac22e0 | [
"Apache-2.0"
] | 12 | 2020-11-07T12:50:19.000Z | 2022-01-21T08:52:53.000Z | nasbench301/surrogate_models/bananas/bananas_src/bo/acq/__init__.py | Basvanstein/nasbench301 | 2984dec45c760d47762f50efe39b71e9d1ac22e0 | [
"Apache-2.0"
] | 23 | 2019-10-28T12:26:32.000Z | 2020-10-12T12:31:39.000Z | """
Code for acquisition strategies.
"""
| 10.25 | 32 | 0.682927 | 4 | 41 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 3 | 33 | 13.666667 | 0.8 | 0.780488 | 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 |
a1655df0699e68a8fb02fc9eb25966c43af3b645 | 214 | py | Python | python/7kyu/list_filtering.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 3 | 2021-06-08T01:57:13.000Z | 2021-06-26T10:52:47.000Z | python/7kyu/list_filtering.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | null | null | null | python/7kyu/list_filtering.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 2 | 2021-06-10T21:20:13.000Z | 2021-06-30T10:13:26.000Z | """Kate url: https://www.codewars.com/kata/53dbd5315a3c69eed20002dd."""
from typing import List, Any
def filter_list(collection: List[Any]) -> List[int]:
return [x for x in collection if isinstance(x, int)]
| 26.75 | 71 | 0.719626 | 31 | 214 | 4.935484 | 0.741935 | 0.091503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075676 | 0.135514 | 214 | 7 | 72 | 30.571429 | 0.751351 | 0.303738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
a177635fdfc43e940fea3ca609007a4ca2038d91 | 153 | py | Python | pymaxpro_lite/__init__.py | yonghoonlee/pyMaxPro-lite | 011a149e2424251645b31e7c290c7bb94646941b | [
"BSD-3-Clause"
] | 2 | 2021-11-17T14:57:24.000Z | 2021-11-17T14:57:27.000Z | pymaxpro_lite/__init__.py | yonghoonlee/pyMaxPro_lite | 011a149e2424251645b31e7c290c7bb94646941b | [
"BSD-3-Clause"
] | null | null | null | pymaxpro_lite/__init__.py | yonghoonlee/pyMaxPro_lite | 011a149e2424251645b31e7c290c7bb94646941b | [
"BSD-3-Clause"
] | null | null | null | from .__about__ import (
__title__, __description__, __version__, __author__, __uri__, __license__
)
from pymaxpro_lite.maxpro import maxpro_design
| 25.5 | 77 | 0.810458 | 16 | 153 | 5.875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130719 | 153 | 5 | 78 | 30.6 | 0.706767 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a19402c8b0aaef6ccbf969c24566c335a0639f23 | 5,825 | py | Python | leetcode-solutions/python/lru_cache.py | saruberoz/leetcode-oj | 3b34bcb7f3d8c3eaaf3bae3ed2a2578d33f37cbb | [
"MIT"
] | 1 | 2019-05-09T08:09:39.000Z | 2019-05-09T08:09:39.000Z | leetcode-solutions/python/lru_cache.py | saruberoz/leetcode-oj | 3b34bcb7f3d8c3eaaf3bae3ed2a2578d33f37cbb | [
"MIT"
] | null | null | null | leetcode-solutions/python/lru_cache.py | saruberoz/leetcode-oj | 3b34bcb7f3d8c3eaaf3bae3ed2a2578d33f37cbb | [
"MIT"
] | null | null | null | # https://oj.leetcode.com/problems/lru-cache/
# 17 / 17 test cases passed.
# Design and implement a data structure for Least Recently Used (LRU) cache.
# It should support the following operations: get and set.
#
# get(key) - Get the value (will always be positive) of the key
# if the key exists in the cache, otherwise... | 26.967593 | 78 | 0.604635 | 977 | 5,825 | 3.440123 | 0.126919 | 0.349896 | 0.268373 | 0.217495 | 0.517108 | 0.434395 | 0.409104 | 0.409104 | 0.212734 | 0.135079 | 0 | 0.07678 | 0.262146 | 5,825 | 215 | 79 | 27.093023 | 0.705212 | 0.106781 | 0 | 0.468208 | 0 | 0 | 0.001635 | 0 | 0 | 0 | 0 | 0 | 0.086705 | 0 | null | null | 0 | 0 | null | null | 0.017341 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a1955738f74f8429f7541cf18cb0a7dbfe938af7 | 2,446 | py | Python | nbs/dl2/selfmade/exp/nb_05.py | Hustens0hn/fastai-course-v3 | 5f803c0a9b6b7169b8675f16ee81758c3b5f2f14 | [
"Apache-2.0"
] | null | null | null | nbs/dl2/selfmade/exp/nb_05.py | Hustens0hn/fastai-course-v3 | 5f803c0a9b6b7169b8675f16ee81758c3b5f2f14 | [
"Apache-2.0"
] | null | null | null | nbs/dl2/selfmade/exp/nb_05.py | Hustens0hn/fastai-course-v3 | 5f803c0a9b6b7169b8675f16ee81758c3b5f2f14 | [
"Apache-2.0"
] | null | null | null |
#################################################
### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ###
#################################################
# file to edit: dev_nb/05_anneal.ipynb
from exp.nb_04 import *
def create_learner(model_func, loss_func, data):
return Learner(*model_func(data), loss_func, data)
... | 32.184211 | 114 | 0.61897 | 376 | 2,446 | 3.890957 | 0.303191 | 0.054682 | 0.037594 | 0.0581 | 0.140807 | 0.045113 | 0.045113 | 0.045113 | 0 | 0 | 0 | 0.023955 | 0.197874 | 2,446 | 76 | 115 | 32.184211 | 0.721713 | 0.163941 | 0 | 0.12766 | 1 | 0 | 0.001037 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 1 | 0.404255 | false | 0 | 0.021277 | 0.170213 | 0.617021 | 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 |
a19851ed10481e9f76ee3a13133e180675177cac | 16 | py | Python | back/apps/worker/management/commands/__init__.py | 8area8/work-calendar | f51fc1b81e434953bb41d13b466fc764d70cdb1f | [
"MIT"
] | 1 | 2020-09-16T22:54:33.000Z | 2020-09-16T22:54:33.000Z | back/apps/worker/management/commands/__init__.py | 8area8/work-calendar | f51fc1b81e434953bb41d13b466fc764d70cdb1f | [
"MIT"
] | 2 | 2020-09-30T16:44:53.000Z | 2020-09-30T16:45:41.000Z | back/apps/worker/management/commands/__init__.py | 8area8/work-calendar | f51fc1b81e434953bb41d13b466fc764d70cdb1f | [
"MIT"
] | null | null | null | """Commands."""
| 8 | 15 | 0.5 | 1 | 16 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 16 | 1 | 16 | 16 | 0.533333 | 0.5625 | 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 |
a1d6c7bd07a2c6a61cb72782bbfd2412bd542f47 | 134 | py | Python | py/config.py | SamSafonov2020/OAuth-Client | 80ad0a47ccf1dbbe3dd85b2ab2cfb8fa018a75b6 | [
"0BSD"
] | 1 | 2021-08-05T14:29:22.000Z | 2021-08-05T14:29:22.000Z | py/config.py | SamSafonov2020/OAuth-Client | 80ad0a47ccf1dbbe3dd85b2ab2cfb8fa018a75b6 | [
"0BSD"
] | 1 | 2020-10-13T03:52:06.000Z | 2020-10-13T03:52:06.000Z | py/config.py | SamSafonov2020/OAuth-Client | 80ad0a47ccf1dbbe3dd85b2ab2cfb8fa018a75b6 | [
"0BSD"
] | 1 | 2021-02-20T09:09:14.000Z | 2021-02-20T09:09:14.000Z | <?php return [
'app_id' => 0,
'secret' => '',
'api' => [
'route' => '/v4/me.json',
'params' => []
]
]; | 16.75 | 33 | 0.328358 | 12 | 134 | 3.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.380597 | 134 | 8 | 34 | 16.75 | 0.493976 | 0 | 0 | 0 | 0 | 0 | 0.274074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a1f1c5a891d45795060a79786af13eba2f6f9d8e | 191 | py | Python | Sorting/Bubble_Sort.py | Anshir08/D.S.A. | 39d518a6edf0b9a9468c6b44e7795275de9b39e6 | [
"MIT"
] | 1 | 2021-08-29T16:01:52.000Z | 2021-08-29T16:01:52.000Z | Sorting/Bubble_Sort.py | Anshir08/D.S.A. | 39d518a6edf0b9a9468c6b44e7795275de9b39e6 | [
"MIT"
] | null | null | null | Sorting/Bubble_Sort.py | Anshir08/D.S.A. | 39d518a6edf0b9a9468c6b44e7795275de9b39e6 | [
"MIT"
] | null | null | null | a = [5, 4, 8, 3, 4, 14, 90, 45, 9, 3, 2, 4]
for i in range(len(a), 0, -1):
for j in range(0, i - 1):
if a[j] > a[j + 1]:
a[j], a[j + 1] = a[j + 1], a[j]
print(a) | 31.833333 | 44 | 0.366492 | 46 | 191 | 1.521739 | 0.434783 | 0.171429 | 0.128571 | 0.171429 | 0.214286 | 0.171429 | 0.171429 | 0 | 0 | 0 | 0 | 0.184874 | 0.376963 | 191 | 6 | 45 | 31.833333 | 0.403361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a1f78dbc5add1f828910b59b0db29039311e356c | 121 | py | Python | legal_radar/entrypoints/streamlit_app/__init__.py | meaningfy-ws/legal-radar | c7c04b402f6766877e9eac0f17544c5f7fe36fe8 | [
"Apache-2.0"
] | null | null | null | legal_radar/entrypoints/streamlit_app/__init__.py | meaningfy-ws/legal-radar | c7c04b402f6766877e9eac0f17544c5f7fe36fe8 | [
"Apache-2.0"
] | 7 | 2021-11-22T12:31:02.000Z | 2022-01-11T13:29:39.000Z | legal_radar/entrypoints/streamlit_app/__init__.py | meaningfy-ws/legal-radar | c7c04b402f6766877e9eac0f17544c5f7fe36fe8 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
# __init__.py
# Date: 27.08.2021
# Author: Stratulat Ștefan
# Email: stefan.stratulat1997@gmail.com
| 17.285714 | 39 | 0.727273 | 17 | 121 | 4.941176 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 0.123967 | 121 | 6 | 40 | 20.166667 | 0.669811 | 0.909091 | 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 |
b816773da856b85f0579421253ab5708abad1c08 | 114 | py | Python | Exercise-2/09_uniqueVals.py | abhay-lal/18CSC207J-APP | 79a955a99837e6d41c89cb1a9e84eb0230c0fa7b | [
"MIT"
] | null | null | null | Exercise-2/09_uniqueVals.py | abhay-lal/18CSC207J-APP | 79a955a99837e6d41c89cb1a9e84eb0230c0fa7b | [
"MIT"
] | null | null | null | Exercise-2/09_uniqueVals.py | abhay-lal/18CSC207J-APP | 79a955a99837e6d41c89cb1a9e84eb0230c0fa7b | [
"MIT"
] | null | null | null | c = 0
arr = [8,7,3,2,1,8,18,9,7,3,4]
for i in range(len(arr)):
if arr.count(i) == 1:
c += 1
print(c)
| 16.285714 | 30 | 0.473684 | 29 | 114 | 1.862069 | 0.655172 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 0.27193 | 114 | 6 | 31 | 19 | 0.46988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
62b174bb2a539362e9e705e954e045cd07c353ca | 62 | py | Python | src/timeCalculator/__init__.py | SandunWebDev/py-multi-toolbox | 5e521fb932ad25ebca0d4e2e4216b4b54e26bf21 | [
"0BSD"
] | null | null | null | src/timeCalculator/__init__.py | SandunWebDev/py-multi-toolbox | 5e521fb932ad25ebca0d4e2e4216b4b54e26bf21 | [
"0BSD"
] | null | null | null | src/timeCalculator/__init__.py | SandunWebDev/py-multi-toolbox | 5e521fb932ad25ebca0d4e2e4216b4b54e26bf21 | [
"0BSD"
] | null | null | null | # flake8: noqa
from timeCalculator.calculator import add_time
| 20.666667 | 46 | 0.83871 | 8 | 62 | 6.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.112903 | 62 | 2 | 47 | 31 | 0.909091 | 0.193548 | 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 |
1a039f8b44447af3d9927bcc9981357bac477fa6 | 1,243 | py | Python | meraki/exceptions.py | fgbs/meraki-dashboard-api | a2dfcfed2d9627659565b58a6adf0efaba2e7523 | [
"MIT"
] | 2 | 2019-05-14T13:19:16.000Z | 2019-07-11T12:50:39.000Z | meraki/exceptions.py | fgbs/meraki-dashboard-api | a2dfcfed2d9627659565b58a6adf0efaba2e7523 | [
"MIT"
] | null | null | null | meraki/exceptions.py | fgbs/meraki-dashboard-api | a2dfcfed2d9627659565b58a6adf0efaba2e7523 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
class APIError(Exception):
pass
class ConnectionError(Exception):
pass
class ApiKeyMissing(Exception):
def __init__(self):
Exception.__init__(self, 'Meraki API Key missing.')
class ParameterMissing(Exception):
... | 28.25 | 103 | 0.711987 | 142 | 1,243 | 5.746479 | 0.471831 | 0.147059 | 0.156863 | 0.196078 | 0.317402 | 0.317402 | 0.317402 | 0 | 0 | 0 | 0 | 0.000982 | 0.181014 | 1,243 | 43 | 104 | 28.906977 | 0.800589 | 0.033789 | 0 | 0.310345 | 0 | 0 | 0.250209 | 0.025855 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275862 | false | 0.068966 | 0.034483 | 0 | 0.655172 | 0.034483 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
1a1827decdf8d6ce4eea44bdab90c8b9d0985f27 | 506 | py | Python | 8 kyu - Convert a String to a Number!.py | tiago040/CODEWARS-SOLUTIONS | c24e675a6f4263552b447f97639189300723be38 | [
"MIT"
] | null | null | null | 8 kyu - Convert a String to a Number!.py | tiago040/CODEWARS-SOLUTIONS | c24e675a6f4263552b447f97639189300723be38 | [
"MIT"
] | null | null | null | 8 kyu - Convert a String to a Number!.py | tiago040/CODEWARS-SOLUTIONS | c24e675a6f4263552b447f97639189300723be38 | [
"MIT"
] | null | null | null | '''
Note: This kata is inspired by Convert a Number to a String!. Try that one too.
Description
We need a function that can transform a string into a number. What ways of achieving this do you know?
Note: Don't worry, all inputs will be strings, and every string is a perfectly valid representation of an integral numb... | 29.764706 | 122 | 0.735178 | 79 | 506 | 4.683544 | 0.683544 | 0.037838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.16996 | 506 | 17 | 123 | 29.764706 | 0.82381 | 0.889328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1a21e72e2a54fa6f9afd5dab5c6fdc488db95068 | 87 | py | Python | PythonGUI_apps/Table/__init__.py | SarthakJariwala/Python_GUI_apps | be78d92568e430c551ccf2a081521a0a81def20d | [
"MIT"
] | 9 | 2019-05-01T02:27:52.000Z | 2021-12-20T17:49:32.000Z | PythonGUI_apps/Table/__init__.py | python-gui-application/Python_GUI_apps | e5007c3504c966df28aaa1d25a4b93996906d0e6 | [
"MIT"
] | 8 | 2019-08-28T22:40:38.000Z | 2022-01-13T02:49:53.000Z | PythonGUI_apps/Table/__init__.py | python-gui-application/Python_GUI_apps | e5007c3504c966df28aaa1d25a4b93996906d0e6 | [
"MIT"
] | 3 | 2020-02-13T05:32:57.000Z | 2021-01-08T07:48:55.000Z | # -*- coding: utf-8 -*-
"""
Created on Mon Sep 2 17:52:35 2019
@author: Sarthak
"""
| 10.875 | 35 | 0.563218 | 14 | 87 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0.218391 | 87 | 7 | 36 | 12.428571 | 0.544118 | 0.873563 | 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 |
1a269732569b133839b83d87c29f4cf5ff6b2215 | 170 | py | Python | backtester/__init__.py | unbalancedparentheses/backtester_options | 46efd30e405f360c560f8eae8b2ee7d26f4532db | [
"MIT"
] | 91 | 2020-01-31T10:15:35.000Z | 2022-03-27T19:15:12.000Z | backtester/__init__.py | unbalancedparentheses/backtester_options | 46efd30e405f360c560f8eae8b2ee7d26f4532db | [
"MIT"
] | 38 | 2019-05-12T02:00:46.000Z | 2019-12-06T14:54:25.000Z | backtester/__init__.py | unbalancedparentheses/backtester_options | 46efd30e405f360c560f8eae8b2ee7d26f4532db | [
"MIT"
] | 20 | 2020-06-12T08:21:30.000Z | 2022-03-28T05:52:59.000Z | from . import datahandler
from .backtester import Backtest
from .enums import Stock, Type, Direction
__all__ = ['datahandler', 'Backtest', 'Stock', 'Type', 'Direction']
| 28.333333 | 67 | 0.741176 | 19 | 170 | 6.421053 | 0.526316 | 0.147541 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 170 | 5 | 68 | 34 | 0.824324 | 0 | 0 | 0 | 0 | 0 | 0.217647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.