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
57dad1de4b92180d9435b4722460fea705d7fd18
2,233
py
Python
k2/python/k2/__init__.py
yaguanghu/k2
05d76e681baf8ea2bf623a16b56161e2c6868d46
[ "Apache-2.0" ]
null
null
null
k2/python/k2/__init__.py
yaguanghu/k2
05d76e681baf8ea2bf623a16b56161e2c6868d46
[ "Apache-2.0" ]
null
null
null
k2/python/k2/__init__.py
yaguanghu/k2
05d76e681baf8ea2bf623a16b56161e2c6868d46
[ "Apache-2.0" ]
null
null
null
import torch # noqa from _k2 import RaggedInt # TODO(fangjun): move it to k2.ragged from _k2 import simple_ragged_index_select from . import autograd from . import autograd_utils from . import dense_fsa_vec from . import fsa from . import ops from . import utils from .autograd import get_tot_scores from .autograd i...
25.375
64
0.754142
316
2,233
5
0.21519
0.066456
0.090506
0.139873
0.136076
0
0
0
0
0
0
0.001623
0.172414
2,233
87
65
25.666667
0.853355
0.030452
0
0
0
0
0.211013
0.059232
0
0
0
0.011494
0
1
0
false
0
0.518072
0
0.518072
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
57ecfa6a2a9c8d64078f05b1054ec942f5f52104
217
py
Python
apps.py
jzapal/django-agreements
328103c0b241ca0e307dbbbe079de54444393aa2
[ "MIT" ]
null
null
null
apps.py
jzapal/django-agreements
328103c0b241ca0e307dbbbe079de54444393aa2
[ "MIT" ]
null
null
null
apps.py
jzapal/django-agreements
328103c0b241ca0e307dbbbe079de54444393aa2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.utils.translation import ugettext_lazy as _ from django.apps import AppConfig class AgreementsConfig(AppConfig): name = 'agreements' verbose_name = _("User agreements")
19.727273
55
0.728111
25
217
6.16
0.76
0.12987
0
0
0
0
0
0
0
0
0
0.005525
0.165899
217
10
56
21.7
0.845304
0.096774
0
0
0
0
0.128866
0
0
0
0
0
0
1
0
false
0
0.4
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
0
0
1
0
1
0
0
3
17b61ed7d5d1808de79bbde73bef0dd8a74e2d7c
799
py
Python
PyFlow/Packages/PyflowBase/Factories/UIPinFactory.py
dlario/PyFlow
b53b9d14b37aa586426d85842c6cd9a9c35443f2
[ "MIT" ]
null
null
null
PyFlow/Packages/PyflowBase/Factories/UIPinFactory.py
dlario/PyFlow
b53b9d14b37aa586426d85842c6cd9a9c35443f2
[ "MIT" ]
null
null
null
PyFlow/Packages/PyflowBase/Factories/UIPinFactory.py
dlario/PyFlow
b53b9d14b37aa586426d85842c6cd9a9c35443f2
[ "MIT" ]
null
null
null
from PyFlow.UI.Canvas.UIPinBase import UIPinBase from PyFlow.Packages.PyflowBase.Pins.AnyPin import AnyPin from PyFlow.Packages.PyflowBase.Pins.ExecPin import ExecPin from PyFlow.Packages.PyflowBase.Pins.ListPin import ListPin from PyFlow.Packages.PyflowBase.UI.UIAnyPin import UIAnyPin from PyFlow.Packages.PyflowBase....
39.95
61
0.79975
96
799
6.572917
0.260417
0.139461
0.171157
0.266244
0.440571
0.1458
0.1458
0
0
0
0
0
0.130163
799
19
62
42.052632
0.907914
0
0
0
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0.4375
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
17b9a2cff0f5643f0bed6d236ad4840948f7b3e6
231
py
Python
basics/ch4__WORKING_WITH_LISTS/6_list_comprehension.py
bedoyama/python-crash-course
39101237c478cd9c97f1a47f866408d2754c849f
[ "Apache-2.0" ]
null
null
null
basics/ch4__WORKING_WITH_LISTS/6_list_comprehension.py
bedoyama/python-crash-course
39101237c478cd9c97f1a47f866408d2754c849f
[ "Apache-2.0" ]
null
null
null
basics/ch4__WORKING_WITH_LISTS/6_list_comprehension.py
bedoyama/python-crash-course
39101237c478cd9c97f1a47f866408d2754c849f
[ "Apache-2.0" ]
null
null
null
squares = [value ** 2 for value in range(1, 11)] print(squares) cubes = [value ** 3 for value in range(1, 11)] print(cubes) a_million = list(range(1, 1_000_0001)) print(min(a_million)) print(max(a_million)) print(sum(a_million))
21
48
0.701299
42
231
3.714286
0.452381
0.205128
0.128205
0.192308
0.294872
0.294872
0.294872
0
0
0
0
0.085
0.134199
231
10
49
23.1
0.695
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.625
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
17c631aedc247f680349068eada5359bad5a3604
592
py
Python
src/cron_parser/formatter.py
expobrain/cron_parser
f265cdf0e596edc25b61e19b083fc1e99210951c
[ "MIT" ]
null
null
null
src/cron_parser/formatter.py
expobrain/cron_parser
f265cdf0e596edc25b61e19b083fc1e99210951c
[ "MIT" ]
null
null
null
src/cron_parser/formatter.py
expobrain/cron_parser
f265cdf0e596edc25b61e19b083fc1e99210951c
[ "MIT" ]
null
null
null
from typing import List from cron_parser.cron import CronExpression def format_values(values: List[int]) -> str: return " ".join(str(v) for v in sorted(values)) def format_cron(cron_expr: CronExpression) -> str: return ( f"minute {format_values(cron_expr.minutes)}\n" f"hour ...
31.157895
62
0.638514
84
592
4.321429
0.392857
0.15427
0.220386
0.275482
0.137741
0
0
0
0
0
0
0
0.239865
592
18
63
32.888889
0.806667
0
0
0
0
0
0.474662
0.331081
0
0
0
0
0
1
0.153846
false
0
0.153846
0.153846
0.461538
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
17e032e2d8047db2a713ca5ad09fa0fa052bd981
4,260
py
Python
src/compute.client/python_client/compute_rhino3d/NurbsCurve.py
tt-acm/compute.rhino3d
0c36a0200653e7c12cdaa50e0e010b763ab91188
[ "MIT" ]
1
2020-05-03T13:32:00.000Z
2020-05-03T13:32:00.000Z
src/compute.client/python_client/compute_rhino3d/NurbsCurve.py
tt-acm/compute.rhino3d
0c36a0200653e7c12cdaa50e0e010b763ab91188
[ "MIT" ]
null
null
null
src/compute.client/python_client/compute_rhino3d/NurbsCurve.py
tt-acm/compute.rhino3d
0c36a0200653e7c12cdaa50e0e010b763ab91188
[ "MIT" ]
null
null
null
from . import Util def MakeCompatible(curves, startPt, endPt, simplifyMethod, numPoints, refitTolerance, angleTolerance, multiple=False): url = "rhino/geometry/nurbscurve/makecompatible-curvearray_point3d_point3d_int_int_double_double" if multiple: url += "?multiple=true" args = [curves, startPt, endPt, s...
45.806452
122
0.752582
455
4,260
6.962637
0.151648
0.063131
0.050505
0.066288
0.834912
0.79577
0.708018
0.520518
0.327967
0.19697
0
0.010465
0.147653
4,260
92
123
46.304348
0.862021
0
0
0.422535
0
0
0.223292
0.19042
0
0
0
0
0
1
0.140845
false
0
0.014085
0
0.295775
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
17ffb0762383b346f1b2de8c9c9fbcb075d7c2fc
184
py
Python
applications/pytorch/cnns/utils/import_helper.py
payoto/graphcore_examples
46d2b7687b829778369fc6328170a7b14761e5c6
[ "MIT" ]
260
2019-11-18T01:50:00.000Z
2022-03-28T23:08:53.000Z
applications/pytorch/cnns/utils/import_helper.py
payoto/graphcore_examples
46d2b7687b829778369fc6328170a7b14761e5c6
[ "MIT" ]
27
2020-01-28T23:07:50.000Z
2022-02-14T15:37:06.000Z
applications/pytorch/cnns/utils/import_helper.py
payoto/graphcore_examples
46d2b7687b829778369fc6328170a7b14761e5c6
[ "MIT" ]
56
2019-11-18T02:13:12.000Z
2022-02-28T14:36:09.000Z
# Copyright (c) 2021 Graphcore Ltd. All rights reserved. import sys from pathlib import Path root_folder = str(Path(__file__).parent.parent.absolute()) sys.path.insert(0, root_folder)
30.666667
58
0.782609
28
184
4.928571
0.75
0.144928
0
0
0
0
0
0
0
0
0
0.030488
0.108696
184
5
59
36.8
0.810976
0.293478
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
aa07c83f44e56217b64b2c013e99e3dd48bf62b3
1,472
py
Python
tm_manager_backend/conftest.py
nachos5/tm_manager_backend
27b0479b239a6ce3073b4de2f76b402ec986975c
[ "MIT" ]
null
null
null
tm_manager_backend/conftest.py
nachos5/tm_manager_backend
27b0479b239a6ce3073b4de2f76b402ec986975c
[ "MIT" ]
null
null
null
tm_manager_backend/conftest.py
nachos5/tm_manager_backend
27b0479b239a6ce3073b4de2f76b402ec986975c
[ "MIT" ]
null
null
null
# pylint: disable=redefined-outer-name, unused-argument import pytest from django.conf import settings from django.test import RequestFactory from tm_manager_backend.users.tests.factories import UserFactory from tm_manager_backend.tournament import models as TournamentModels @pytest.fixture(autouse=True) def media_...
21.647059
71
0.756793
175
1,472
6.257143
0.325714
0.118721
0.131507
0.082192
0.294977
0.204566
0.204566
0.127854
0.127854
0.127854
0
0.005564
0.14538
1,472
67
72
21.970149
0.864865
0.100543
0
0.317073
0
0
0.037908
0
0
0
0
0
0
1
0.219512
false
0
0.121951
0.170732
0.536585
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
aa0edc7c604b652fa91c26527434c831007949ff
441
py
Python
ann/fme/fme_env.py
yt7589/iching
6673da38f4c80e7fd297c86fedc5616aee8ac09b
[ "Apache-2.0" ]
32
2020-04-14T08:32:18.000Z
2022-02-09T07:05:08.000Z
ann/fme/fme_env.py
trinh-hoang-hiep/iching
e1feae5741c3cbde535d7a275b01d4f0cf9e21ed
[ "Apache-2.0" ]
1
2020-04-08T10:42:15.000Z
2020-04-15T01:38:03.000Z
ann/fme/fme_env.py
trinh-hoang-hiep/iching
e1feae5741c3cbde535d7a275b01d4f0cf9e21ed
[ "Apache-2.0" ]
4
2020-08-25T03:56:46.000Z
2021-05-11T05:55:51.000Z
# import numpy as np import gym from gym import spaces class FmeEnv(gym.Env): def __init__(self): self.name = 'apps.fme.FmeEnv' self.current_step = 0 self.step_left = 0 def reset(self): pass def _reset_session(self): pass def _next_observati...
16.961538
38
0.557823
55
441
4.254545
0.490909
0.119658
0.141026
0
0
0
0
0
0
0
0
0.007117
0.362812
441
26
39
16.961538
0.825623
0
0
0.277778
0
0
0.036058
0
0
0
0
0
0
1
0.333333
false
0.277778
0.166667
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
aa3225a63f189723b50a3c1fb9d3d45329467c02
258
py
Python
registers/templatetags/itsystem_risks.py
rockychen-dpaw/it-assets
92ec23c6a413c5c45bb3d96981d6af68535d225c
[ "Apache-2.0" ]
4
2018-11-16T13:49:49.000Z
2021-08-19T05:16:50.000Z
registers/templatetags/itsystem_risks.py
rockychen-dpaw/it-assets
92ec23c6a413c5c45bb3d96981d6af68535d225c
[ "Apache-2.0" ]
10
2018-07-06T09:34:56.000Z
2022-01-28T06:09:05.000Z
registers/templatetags/itsystem_risks.py
rockychen-dpaw/it-assets
92ec23c6a413c5c45bb3d96981d6af68535d225c
[ "Apache-2.0" ]
9
2018-05-05T23:29:10.000Z
2020-06-26T02:29:17.000Z
from django import template register = template.Library() @register.filter(is_safe=True) def get_category_risk(obj, category): # Template filter tag to allow the ITSystem get_risk() method to be called in a template. return obj.get_risk(category)
25.8
93
0.767442
39
258
4.948718
0.666667
0.072539
0
0
0
0
0
0
0
0
0
0
0.155039
258
9
94
28.666667
0.885321
0.337209
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
aa4044b41b6ec0447f6d071419473d7887af0251
128
py
Python
main.py
sspickle/genlatex
d5fd86d4415c85c2f2933981e0e65f9df9f3cda5
[ "MIT" ]
null
null
null
main.py
sspickle/genlatex
d5fd86d4415c85c2f2933981e0e65f9df9f3cda5
[ "MIT" ]
null
null
null
main.py
sspickle/genlatex
d5fd86d4415c85c2f2933981e0e65f9df9f3cda5
[ "MIT" ]
1
2021-08-01T17:12:18.000Z
2021-08-01T17:12:18.000Z
import flaskApp app = flaskApp.create_app() @app.shell_context_processor def make_shell_context(): return {'app': app}
11.636364
28
0.734375
17
128
5.235294
0.588235
0.134831
0
0
0
0
0
0
0
0
0
0
0.15625
128
10
29
12.8
0.824074
0
0
0
0
0
0.02381
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
aa45e818886402deb52bf70a566169516308bd35
235
py
Python
python/phonenumbers/data/alt_format_62.py
ageron/python-phonenumbers
ebfa84db04e4eefc67f33eed9ff2bb62203c9f11
[ "Apache-2.0" ]
2
2019-03-30T02:12:54.000Z
2021-03-08T18:59:40.000Z
python/phonenumbers/data/alt_format_62.py
ageron/python-phonenumbers
ebfa84db04e4eefc67f33eed9ff2bb62203c9f11
[ "Apache-2.0" ]
null
null
null
python/phonenumbers/data/alt_format_62.py
ageron/python-phonenumbers
ebfa84db04e4eefc67f33eed9ff2bb62203c9f11
[ "Apache-2.0" ]
1
2018-11-10T03:47:34.000Z
2018-11-10T03:47:34.000Z
"""Auto-generated file, do not edit by hand. 62 metadata""" from ..phonemetadata import NumberFormat PHONE_ALT_FORMAT_62 = [NumberFormat(pattern='(\\d{2})(\\d{4})(\\d{4})', format=u'\\1 \\2', leading_digits_pattern=['2[124]|[36]1'])]
47
132
0.676596
37
235
4.162162
0.72973
0.025974
0
0
0
0
0
0
0
0
0
0.074419
0.085106
235
4
133
58.75
0.64186
0.225532
0
0
1
0
0.244318
0.136364
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a4d87c5ee21fc983148f45fcf3c642ad663b76ed
131
py
Python
PipelineBase/Verdict.py
devepodete/labchecker
6829a0b5a78efd79dd7f12ad6fa0a9412af62fbc
[ "MIT" ]
null
null
null
PipelineBase/Verdict.py
devepodete/labchecker
6829a0b5a78efd79dd7f12ad6fa0a9412af62fbc
[ "MIT" ]
null
null
null
PipelineBase/Verdict.py
devepodete/labchecker
6829a0b5a78efd79dd7f12ad6fa0a9412af62fbc
[ "MIT" ]
null
null
null
class Verdict: OK = 'OK' WA = 'WA' RE = 'RE' CE = 'CE' TL = 'TL' ML = 'ML' FAIL = 'FAIL' NR = 'NR'
13.1
17
0.366412
18
131
2.666667
0.555556
0
0
0
0
0
0
0
0
0
0
0
0.442748
131
9
18
14.555556
0.657534
0
0
0
0
0
0.137405
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
351ba766a15b0a9dd1f6c671710b30167c15fc7b
454
py
Python
jsonrpc2_zeromq/__init__.py
arnimarj/jsonrpc2-zeromq-python
24bf22e8090c7ba10013d0605f0882d191e19861
[ "BSD-3-Clause" ]
null
null
null
jsonrpc2_zeromq/__init__.py
arnimarj/jsonrpc2-zeromq-python
24bf22e8090c7ba10013d0605f0882d191e19861
[ "BSD-3-Clause" ]
null
null
null
jsonrpc2_zeromq/__init__.py
arnimarj/jsonrpc2-zeromq-python
24bf22e8090c7ba10013d0605f0882d191e19861
[ "BSD-3-Clause" ]
null
null
null
# Part of the jsonrpc2-zeromq-python project. # (c) 2012 Wireless Innovation Ltd, All Rights Reserved. # Please see the LICENSE file in the root of this project for license # information. from .client import * from .server import * from common import (RPCError, ParseError, InvalidRequest, MethodNotFound, ...
34.923077
80
0.726872
53
454
6.169811
0.811321
0.061162
0
0
0
0
0
0
0
0
0
0.014006
0.213656
454
12
81
37.833333
0.901961
0.394273
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
35237f19fb2ddc11f8697b8ef26a9203de9c0b43
234
py
Python
assets/python_scripts/rename.py
weiSupreme/weiSupreme.github.io
59d419f2d8207c7da0a427330b21546f4f0d85d0
[ "CC-BY-4.0" ]
3
2018-09-15T05:47:35.000Z
2019-04-08T07:00:02.000Z
assets/python_scripts/rename.py
weiSupreme/weiSupreme.github.io
59d419f2d8207c7da0a427330b21546f4f0d85d0
[ "CC-BY-4.0" ]
null
null
null
assets/python_scripts/rename.py
weiSupreme/weiSupreme.github.io
59d419f2d8207c7da0a427330b21546f4f0d85d0
[ "CC-BY-4.0" ]
null
null
null
import os for i in range(1870 * 1 + 1, 1870 * 2 + 1): index = str(i).zfill(6) os.rename('camera4/period14_camera4/%d.png' % i, 'camera4/period14_camera4/%s.png' % index) #重命名 print('ok') # print file.split('.')[-1]
26
102
0.594017
38
234
3.605263
0.631579
0.218978
0.321168
0
0
0
0
0
0
0
0
0.11828
0.205128
234
9
103
26
0.61828
0.153846
0
0
0
0
0.324873
0.314721
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
352f22d75019414f86950389e5336043f3e20726
114
py
Python
backend/scripts/dictionary_crawler/test.py
ppeetteerrs/LivingWater
8ce1cac05dd623b3f86ef87a227c36881311dbb7
[ "MIT" ]
null
null
null
backend/scripts/dictionary_crawler/test.py
ppeetteerrs/LivingWater
8ce1cac05dd623b3f86ef87a227c36881311dbb7
[ "MIT" ]
5
2021-01-28T19:42:47.000Z
2022-03-25T18:37:12.000Z
backend/scripts/dictionary_crawler/test.py
ppeetteerrs/LivingWater
8ce1cac05dd623b3f86ef87a227c36881311dbb7
[ "MIT" ]
null
null
null
from scripts.tools.tools import clean word_list = ["", "a"] for word in word_list: print(word, clean(word))
16.285714
37
0.684211
18
114
4.222222
0.611111
0.236842
0
0
0
0
0
0
0
0
0
0
0.175439
114
6
38
19
0.808511
0
0
0
0
0
0.008772
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
101f09684ca96019220dab3508ae60e51117cb91
232
py
Python
app_name/apps.py
Mohammad-Kabajah/django_project
6598668dbc4f8d777ccf716464d259c49d881cd8
[ "Apache-2.0" ]
null
null
null
app_name/apps.py
Mohammad-Kabajah/django_project
6598668dbc4f8d777ccf716464d259c49d881cd8
[ "Apache-2.0" ]
null
null
null
app_name/apps.py
Mohammad-Kabajah/django_project
6598668dbc4f8d777ccf716464d259c49d881cd8
[ "Apache-2.0" ]
null
null
null
from __future__ import unicode_literals from django.apps import AppConfig class AppNameConfig(AppConfig): name = 'app_name' # register app signals def ready(self): import app_name.signals.handler1
19.333333
41
0.702586
27
232
5.777778
0.666667
0.089744
0
0
0
0
0
0
0
0
0
0.005682
0.241379
232
11
42
21.090909
0.880682
0.086207
0
0
0
0
0.040201
0
0
0
0
0
0
1
0.166667
false
0
0.5
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
0
0
1
0
1
0
0
3
101f3d4249a493f37f2261cf433864f0dafbd1be
467
py
Python
Web Development/Python/decorator2.py
NirmalSilwal/Python-
6d23112db8366360f0b79bdbf21252575e8eab3e
[ "MIT" ]
32
2020-04-05T08:29:40.000Z
2022-01-08T03:10:00.000Z
Web Development/Python/decorator2.py
NirmalSilwal/Python-
6d23112db8366360f0b79bdbf21252575e8eab3e
[ "MIT" ]
3
2021-06-02T04:09:11.000Z
2022-03-02T14:55:03.000Z
Web Development/Python/decorator2.py
NirmalSilwal/Python-
6d23112db8366360f0b79bdbf21252575e8eab3e
[ "MIT" ]
3
2020-07-13T05:44:04.000Z
2021-03-03T07:07:58.000Z
def new_decorator(func): def wrapper_func(): print('code before executing func') func() print('func() has been called') return wrapper_func @new_decorator def func_needs_decorator(): print('this function is in need of decorator!') # func_needs_decorator() # before adding @new_d...
18.68
51
0.713062
58
467
5.482759
0.37931
0.188679
0.226415
0.254717
0.188679
0
0
0
0
0
0
0
0.188437
467
25
52
18.68
0.83905
0.334047
0
0
0
0
0.281967
0
0
0
0
0
0
1
0.3
false
0
0
0
0.4
0.3
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
10425df2c7b563f3fe15f44e1d8ba4c239735875
143
py
Python
data/groups.py
romanovaes/python_training
5df3a9b716e7659fb8f61e0b55e5217cc6a1a89e
[ "Apache-2.0" ]
null
null
null
data/groups.py
romanovaes/python_training
5df3a9b716e7659fb8f61e0b55e5217cc6a1a89e
[ "Apache-2.0" ]
null
null
null
data/groups.py
romanovaes/python_training
5df3a9b716e7659fb8f61e0b55e5217cc6a1a89e
[ "Apache-2.0" ]
null
null
null
from model.group import Group testdata=[Group("name1", "header1", "footer1"), Group(name="name2", header="header2", footer="footer2")]
35.75
64
0.678322
17
143
5.705882
0.823529
0
0
0
0
0
0
0
0
0
0
0.048
0.125874
143
4
64
35.75
0.728
0
0
0
0
0
0.263889
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
105397cc6f074c05adb645e9b382b58563947da3
445
py
Python
hoomd/data/__init__.py
XT-Lee/hoomd-blue
0188f56f32c4a3efe0e74a3dc27397d6ec3469b0
[ "BSD-3-Clause" ]
204
2018-11-26T21:15:14.000Z
2022-03-31T17:17:21.000Z
hoomd/data/__init__.py
XT-Lee/hoomd-blue
0188f56f32c4a3efe0e74a3dc27397d6ec3469b0
[ "BSD-3-Clause" ]
769
2019-02-15T08:58:04.000Z
2022-03-31T17:36:48.000Z
hoomd/data/__init__.py
YMWani/hoomd-blue
e574b49f0c2c6df3a1eac9cbb86fe612f1ee4c18
[ "BSD-3-Clause" ]
91
2018-10-04T21:07:46.000Z
2022-03-26T02:44:11.000Z
"""Particle data local access.""" from .array import HOOMDArray, HOOMDGPUArray from .local_access import (AngleLocalAccessBase, BondLocalAccessBase, ConstraintLocalAccessBase, DihedralLocalAccessBase, ImproperLocalAccessBase, PairLocalAccessBase, ...
44.5
78
0.710112
32
445
9.71875
0.625
0.141479
0.144695
0
0
0
0
0
0
0
0
0
0.244944
445
9
79
49.444444
0.925595
0.060674
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
106dc2d7b79953047fc9c9ba39bde56ae4f57a33
462
py
Python
hypothesis/benchmark/biomoleculardocking/__init__.py
boyali/hypothesis-sre
f44d25eb281d49663d49d134ee73ad542849714b
[ "BSD-3-Clause" ]
45
2019-02-13T14:16:35.000Z
2022-02-23T21:30:02.000Z
hypothesis/benchmark/biomoleculardocking/__init__.py
boyali/hypothesis-sre
f44d25eb281d49663d49d134ee73ad542849714b
[ "BSD-3-Clause" ]
1
2020-01-13T08:29:50.000Z
2020-01-22T10:28:02.000Z
hypothesis/benchmark/biomoleculardocking/__init__.py
boyali/hypothesis-sre
f44d25eb281d49663d49d134ee73ad542849714b
[ "BSD-3-Clause" ]
8
2019-04-23T14:25:08.000Z
2021-07-28T15:05:31.000Z
r"""Based on the model described in Lyu, J., Wang, S., Balius, T. E., Singh, I., Levit, A., Moroz, Y. S., ... & Tolmachev, A. A. (2019). Ultra-large library docking for discovering new chemotypes. Nature, 566(7743), 224-229. https://www.nature.com/articles/s41586-019-0917-9 """ from .simulator import BiomolecularDoc...
35.538462
188
0.735931
70
462
4.842857
0.771429
0.094395
0.165192
0
0
0
0
0
0
0
0
0.075188
0.136364
462
12
189
38.5
0.774436
0.588745
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
107867508b39a63f6748b4be7809a482e8ed70ae
27,978
py
Python
CLIMSdataviewerV01.py
schloess/CLIMS
b89c6d3f052982db9710b5a215a0591060f0f5e0
[ "MIT" ]
null
null
null
CLIMSdataviewerV01.py
schloess/CLIMS
b89c6d3f052982db9710b5a215a0591060f0f5e0
[ "MIT" ]
null
null
null
CLIMSdataviewerV01.py
schloess/CLIMS
b89c6d3f052982db9710b5a215a0591060f0f5e0
[ "MIT" ]
null
null
null
#####~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~##### ##### CLIMS data viewer V01 - FS - 01/30/2019 ##### Please define the default search path and experiment name below ##### for an enhanced user experience! #####~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~##### ##### DEFAULT SEAR...
33.66787
116
0.486847
2,833
27,978
4.767737
0.132016
0.087658
0.06219
0.044273
0.775302
0.74665
0.689939
0.671282
0.652328
0.638188
0
0.029773
0.292909
27,978
830
117
33.708434
0.652985
0.057581
0
0.732337
0
0
0.159382
0.00448
0
0
0
0
0
1
0.017663
false
0
0.01087
0.001359
0.046196
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
107ab3848b6db70acd2fc9e955465134ddd58d99
147
py
Python
tests/linux.py
nbdy/onboot
22ec6ed6ab331855cd4c8135de9297be7569c618
[ "MIT" ]
null
null
null
tests/linux.py
nbdy/onboot
22ec6ed6ab331855cd4c8135de9297be7569c618
[ "MIT" ]
null
null
null
tests/linux.py
nbdy/onboot
22ec6ed6ab331855cd4c8135de9297be7569c618
[ "MIT" ]
null
null
null
from onboot.Linux import LinuxInstaller, InstallerConfiguration cfg = InstallerConfiguration() def test_linux_installer(): LinuxInstaller()
18.375
63
0.809524
13
147
9
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.122449
147
8
64
18.375
0.906977
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
1095cba2cf3098a2a69be33a3a8a92ade4f636c9
1,454
py
Python
stubs.min/Autodesk/Revit/DB/__init___parts/Mesh.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/Autodesk/Revit/DB/__init___parts/Mesh.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/Autodesk/Revit/DB/__init___parts/Mesh.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class Mesh(GeometryObject,IDisposable): """ A triangular mesh. """ def Dispose(self): """ Dispose(self: Mesh,A_0: bool) """ pass def ReleaseManagedResources(self,*args): """ ReleaseManagedResources(self: APIObject) """ pass def ReleaseUnmanagedResources(self,*args): """ ReleaseUnmanagedResources(...
33.813953
215
0.693948
175
1,454
5.422857
0.371429
0.094837
0.05058
0.060063
0.286617
0.286617
0.286617
0.286617
0.286617
0.286617
0
0.000826
0.167125
1,454
42
216
34.619048
0.782824
0.321183
0
0.375
0
0
0
0
0
0
0
0
0
1
0.375
false
0.375
0
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
10a3eac57a25b7512c494ebc7dbb49ee10ba7271
116
py
Python
code/utils.py
IGLICT/CMIC-Retrieval
d2f452517360f127d0a8175d55ba9f9491c152c2
[ "MIT" ]
29
2021-10-01T12:05:54.000Z
2022-03-16T02:40:19.000Z
code/utils.py
IGLICT/CMIC-Retrieval
d2f452517360f127d0a8175d55ba9f9491c152c2
[ "MIT" ]
5
2021-12-20T12:25:58.000Z
2022-03-10T19:08:32.000Z
code/utils.py
IGLICT/CMIC-Retrieval
d2f452517360f127d0a8175d55ba9f9491c152c2
[ "MIT" ]
1
2022-01-04T05:52:49.000Z
2022-01-04T05:52:49.000Z
import json def read_json(mdir): with open(mdir, 'r') as f: tmp = json.loads(f.read()) return tmp
16.571429
34
0.586207
19
116
3.526316
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.275862
116
7
35
16.571429
0.797619
0
0
0
0
0
0.008547
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
10b14404243b1099911bffdea9b6eff8067bef61
1,371
py
Python
tests/transform/llvm/test_rm.py
hutoTUM/MakeAdditions
85fbe80c16d24abdddeee2d737f046a5bd1a9604
[ "Apache-2.0" ]
null
null
null
tests/transform/llvm/test_rm.py
hutoTUM/MakeAdditions
85fbe80c16d24abdddeee2d737f046a5bd1a9604
[ "Apache-2.0" ]
null
null
null
tests/transform/llvm/test_rm.py
hutoTUM/MakeAdditions
85fbe80c16d24abdddeee2d737f046a5bd1a9604
[ "Apache-2.0" ]
null
null
null
from ..TransformationTestCase import TransformationTestCase from makeadditions.constants import EXECFILEEXTENSION class TestTransformLlvmRm(TransformationTestCase): def test_rm_single_object_file(self): self.assertTransformation("rm -f main.bc", "rm -f main.o") def test_rm_single_static_library(self...
35.153846
77
0.668855
165
1,371
5.357576
0.278788
0.050905
0.285068
0.30543
0.406109
0.234163
0.104072
0.104072
0.104072
0.104072
0
0.00831
0.210066
1,371
38
78
36.078947
0.807941
0
0
0.074074
0
0
0.21736
0
0
0
0
0
0.333333
1
0.333333
false
0
0.074074
0
0.444444
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
52ace6b7065e08c4e8099c96adee2194fd7130cd
124
py
Python
pyGAE/handlers/HomeHandler.py
analyticstraining/pycocms
29d7c3eea9377495bcafd8b8c62016c21c1a74a7
[ "MIT" ]
null
null
null
pyGAE/handlers/HomeHandler.py
analyticstraining/pycocms
29d7c3eea9377495bcafd8b8c62016c21c1a74a7
[ "MIT" ]
null
null
null
pyGAE/handlers/HomeHandler.py
analyticstraining/pycocms
29d7c3eea9377495bcafd8b8c62016c21c1a74a7
[ "MIT" ]
null
null
null
from BaseHandler import BaseHandler class HomeHandler(BaseHandler): def get(self): self.render_template('home.html')
20.666667
37
0.774194
15
124
6.333333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.129032
124
5
38
24.8
0.87963
0
0
0
0
0
0.072581
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
0
0
0
3
52bfefb94522dbcd66d0a19dbc103717647e0dbf
329
py
Python
codes_/0836_Rectangle_Overlap.py
SaitoTsutomu/leetcode
4656d66ab721a5c7bc59890db9a2331c6823b2bf
[ "MIT" ]
null
null
null
codes_/0836_Rectangle_Overlap.py
SaitoTsutomu/leetcode
4656d66ab721a5c7bc59890db9a2331c6823b2bf
[ "MIT" ]
null
null
null
codes_/0836_Rectangle_Overlap.py
SaitoTsutomu/leetcode
4656d66ab721a5c7bc59890db9a2331c6823b2bf
[ "MIT" ]
null
null
null
# %% [836. *Rectangle Overlap](https://leetcode.com/problems/rectangle-overlap/) # 問題:2つの長方形が重なるかどうかを返せ # 解法:X軸、Y軸で重なるかを調べる class Solution: def isRectangleOverlap(self, rec1: List[int], rec2: List[int]) -> bool: x1, y1, x2, y2, x3, y3, x4, y4 = *rec1, *rec2 return x1 < x4 and x3 < x2 and y1 < y4 and...
41.125
80
0.644377
48
329
4.416667
0.666667
0.150943
0
0
0
0
0
0
0
0
0
0.091255
0.200608
329
7
81
47
0.714829
0.355623
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.75
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
0
0
1
0
0
3
52e9ba88ddf8ba5c65a262425436b47c73c5e680
2,353
py
Python
HWS/_nbdev.py
Kelvinthedrugger/HWs
78341e63878bdd8410ca645c9700e8250fcdb8e9
[ "Apache-2.0" ]
null
null
null
HWS/_nbdev.py
Kelvinthedrugger/HWs
78341e63878bdd8410ca645c9700e8250fcdb8e9
[ "Apache-2.0" ]
null
null
null
HWS/_nbdev.py
Kelvinthedrugger/HWs
78341e63878bdd8410ca645c9700e8250fcdb8e9
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"triee": "00_core.ipynb", "cov": "01_oval_clean.ipynb", "numpts": "01_oval_clean.ipynb", "Points": "01_oval_clean.ipynb", "vlen": "01_oval_clean.ipynb", "major": "...
35.651515
64
0.566086
300
2,353
4.056667
0.293333
0.128184
0.235004
0.341824
0.311422
0
0
0
0
0
0
0.057438
0.260094
2,353
65
65
36.2
0.641585
0.0153
0
0
1
0
0.564579
0
0
0
0
0
0
1
0.017241
false
0
0
0.017241
0.017241
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
52fd9ee17771e1c5d323b0cf4396c8167c1d06b1
534
py
Python
blog/feeds.py
freetechcode/blog-django3
bd9aba68a5bf24dee5067256ed5f21b27b0b4de4
[ "MIT" ]
null
null
null
blog/feeds.py
freetechcode/blog-django3
bd9aba68a5bf24dee5067256ed5f21b27b0b4de4
[ "MIT" ]
null
null
null
blog/feeds.py
freetechcode/blog-django3
bd9aba68a5bf24dee5067256ed5f21b27b0b4de4
[ "MIT" ]
null
null
null
from django.contrib.syndication.views import Feed from django.template.defaultfilters import truncatewords from django.urls import reverse_lazy from blog.models import Article class LatestArticlesFeed(Feed): title = 'Blog Lite' link = reverse_lazy('blog:article_list') description = 'New articles of my bl...
26.7
56
0.728464
68
534
5.647059
0.544118
0.078125
0.072917
0
0
0
0
0
0
0
0
0.009217
0.187266
534
20
57
26.7
0.875576
0
0
0
0
0
0.091589
0
0
0
0
0
0
1
0.214286
false
0
0.285714
0.214286
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5e01ba2e47b4030ee817d936a86c842fa1aa14c0
253
py
Python
examples/example_main.py
Little-Frog-233/imagecluster
fdd68a7d13b039b4c17a8b48eab95cb87556802f
[ "BSD-3-Clause" ]
1
2021-12-31T05:01:22.000Z
2021-12-31T05:01:22.000Z
examples/example_main.py
Little-Frog-233/imagecluster
fdd68a7d13b039b4c17a8b48eab95cb87556802f
[ "BSD-3-Clause" ]
null
null
null
examples/example_main.py
Little-Frog-233/imagecluster
fdd68a7d13b039b4c17a8b48eab95cb87556802f
[ "BSD-3-Clause" ]
null
null
null
#coding:utf-8 ''' 使用层次聚类或者kmeans聚类 ''' from imagecluster import main # main.main_hierarchy('/imagecluster/test/dog/', sim=0.65, max_csize=10, pca=True) main.main_kmeans('/Users/ruicheng/PycharmProjects/imagecluster/test/dog', n_clusters=3, pca=True)
23
97
0.762846
36
253
5.25
0.722222
0.126984
0.201058
0
0
0
0
0
0
0
0
0.029915
0.075099
253
10
98
25.3
0.777778
0.434783
0
0
0
0
0.395522
0.395522
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
5e0e1c602c6421f31f47da6925b8d6bd29c5f6e0
57
py
Python
jsonpath_kv/__init__.py
WangHaoz/GetJsonValue
d11a832545282ef51d6b896bcda9c85316e677f2
[ "Apache-2.0" ]
1
2020-09-28T12:42:21.000Z
2020-09-28T12:42:21.000Z
jsonpath_kv/__init__.py
WangHaoz/jsonpath-kv
d11a832545282ef51d6b896bcda9c85316e677f2
[ "Apache-2.0" ]
null
null
null
jsonpath_kv/__init__.py
WangHaoz/jsonpath-kv
d11a832545282ef51d6b896bcda9c85316e677f2
[ "Apache-2.0" ]
null
null
null
name = "jsonpath-kv" from .GetJsonValue import jsonvalue
28.5
35
0.789474
7
57
6.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.122807
57
2
35
28.5
0.9
0
0
0
0
0
0.192982
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5e1318cecf4705dd622749d81357e519aab39066
214
py
Python
scraper/_abstract.py
recipeify/Recipes
92bc4f449ed797e8819dcbe34311cc417ca245e3
[ "BSD-3-Clause" ]
18
2020-05-05T17:19:03.000Z
2021-11-20T04:52:39.000Z
scraper/_abstract.py
recipeify/Recipes
92bc4f449ed797e8819dcbe34311cc417ca245e3
[ "BSD-3-Clause" ]
83
2020-04-29T17:01:03.000Z
2022-03-02T14:53:45.000Z
scraper/_abstract.py
recipeify/Recipes
92bc4f449ed797e8819dcbe34311cc417ca245e3
[ "BSD-3-Clause" ]
3
2020-08-18T21:51:59.000Z
2021-02-28T23:23:03.000Z
class AbstractCrawler: def __init__(self, num, init): self.num = num self.init = init def crawl(self, es, client, process): raise NotImplementedError("This should be implemented.")
26.75
64
0.64486
25
214
5.36
0.64
0.119403
0.164179
0
0
0
0
0
0
0
0
0
0.257009
214
8
64
26.75
0.842767
0
0
0
0
0
0.125581
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
5e23b2ed650eb610014be36325970f59dd4340a7
473
py
Python
messenger/admin.py
pythonbrad/social_network
80a2633765c677bf150bd4a9c3fd2929610e7803
[ "MIT" ]
2
2020-05-04T13:25:52.000Z
2022-02-05T14:40:22.000Z
messenger/admin.py
pythonbrad/social_network
80a2633765c677bf150bd4a9c3fd2929610e7803
[ "MIT" ]
2
2019-09-02T00:35:47.000Z
2019-09-03T11:18:17.000Z
messenger/admin.py
pythonbrad/social_network
80a2633765c677bf150bd4a9c3fd2929610e7803
[ "MIT" ]
1
2019-09-02T10:45:18.000Z
2019-09-02T10:45:18.000Z
from django.contrib import admin from .models import User from .models import Contact from .models import Friendship from .models import Message from .models import Notification from .models import Article from .models import Comment # Register your models here. admin.site.register(User) admin.site.register(Contact) ...
24.894737
33
0.82241
65
473
5.984615
0.261538
0.179949
0.287918
0
0
0
0
0
0
0
0
0
0.097252
473
18
34
26.277778
0.911007
0.054968
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.533333
0
0.533333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
5e323822767bd273a20d2b44c128df874523c779
579
py
Python
Exercises of Python courses World1-2 and 3/ex073 - Tuplas com times de futebol.py
RafaFurla/Python-Exercises
8c37ac5b13a28a5f22babfeac0d4b60f90c5aff7
[ "MIT" ]
1
2022-02-21T18:00:18.000Z
2022-02-21T18:00:18.000Z
Exercises of Python courses World1-2 and 3/ex073 - Tuplas com times de futebol.py
RafaFurla/Python-Exercises
8c37ac5b13a28a5f22babfeac0d4b60f90c5aff7
[ "MIT" ]
null
null
null
Exercises of Python courses World1-2 and 3/ex073 - Tuplas com times de futebol.py
RafaFurla/Python-Exercises
8c37ac5b13a28a5f22babfeac0d4b60f90c5aff7
[ "MIT" ]
null
null
null
cla = ('Atlético-MG', 'Flamengo', 'Palmeiras', 'Fortaleza', 'Corinthians', 'Bragantino', 'Fluminense', 'América-MG', 'Atlético-GO', 'Santos', 'Ceará SC', 'Internacional', 'São Paulo', 'Athletico-PR', 'Cuiabá', 'Juventude', 'Grêmio', 'Bahia', 'Sport Recife', 'Chapecoense') print(f'Os 5 primeiros colocados ...
72.375
116
0.675302
80
579
4.8875
0.6625
0.061381
0.061381
0
0
0
0
0
0
0
0
0.011976
0.134715
579
7
117
82.714286
0.768463
0
0
0
0
0.142857
0.749568
0.043178
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
eab1299e8c1b5e0c8e47239ff0df2348d1c82100
1,946
py
Python
app/models.py
Kgermando/catsr
52da79130a4bb7c15b59e3690c8df8d23573d728
[ "Apache-2.0" ]
null
null
null
app/models.py
Kgermando/catsr
52da79130a4bb7c15b59e3690c8df8d23573d728
[ "Apache-2.0" ]
null
null
null
app/models.py
Kgermando/catsr
52da79130a4bb7c15b59e3690c8df8d23573d728
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class Home(models.Model): # home_number = models.IntegerField(default=0, unique=True) home_title = models.CharField(max_length=100) home_description = models.CharField(max_length=150) home_image = models.ImageField(upload_to='home_img/') creat...
28.202899
69
0.686023
248
1,946
5.116935
0.314516
0.130024
0.156028
0.208038
0.503546
0.420804
0.280536
0.280536
0.280536
0.280536
0
0.021181
0.199383
1,946
68
70
28.617647
0.793325
0.128469
0
0.315789
0
0
0.046498
0
0
0
0
0
0
1
0.157895
false
0
0.078947
0.105263
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
eabae059700148556785fd7b358091d3d969ba20
151
py
Python
runner.py
JackonYang/wechat-broker-bot
429ede26b744986f01c99b1dee5f0a632f47a0f4
[ "MIT" ]
7
2019-02-25T01:47:42.000Z
2021-11-03T23:55:04.000Z
runner.py
JackonYang/wechat-broker-bot
429ede26b744986f01c99b1dee5f0a632f47a0f4
[ "MIT" ]
null
null
null
runner.py
JackonYang/wechat-broker-bot
429ede26b744986f01c99b1dee5f0a632f47a0f4
[ "MIT" ]
4
2019-12-12T05:53:25.000Z
2021-02-07T01:23:50.000Z
import sub from plugins.sharing_filters import ( filter_sharing, ) sub.jobs.append(filter_sharing) if __name__ == '__main__': sub.start()
11.615385
37
0.715232
19
151
5.105263
0.684211
0.268041
0
0
0
0
0
0
0
0
0
0
0.178808
151
12
38
12.583333
0.782258
0
0
0
0
0
0.05298
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
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
0
0
0
3
eac5eecc90b505bb4e15186fb9299bddd6b226b9
625
py
Python
p033.py
scottwillmoore/project-euler
e8b24a72d88fc30e8ab701e2f56622c363600ea4
[ "MIT" ]
1
2018-07-09T09:19:58.000Z
2018-07-09T09:19:58.000Z
p033.py
scottwillmoore/project-euler
e8b24a72d88fc30e8ab701e2f56622c363600ea4
[ "MIT" ]
null
null
null
p033.py
scottwillmoore/project-euler
e8b24a72d88fc30e8ab701e2f56622c363600ea4
[ "MIT" ]
null
null
null
e = 10e-6 for b in range(10, 100): for a in range(10, b): r = a / b a1 = a % 10 a10 = (a // 10) % 10 b1 = b % 10 b10 = (b // 10) % 10 if a1 == b1 and a1 != 0 and b1 != 0: c = a10 d = b10 elif a1 == b10: c = a10 ...
19.53125
49
0.2864
87
625
2.057471
0.298851
0.078212
0.100559
0
0
0
0
0
0
0
0
0.221374
0.5808
625
31
50
20.16129
0.461832
0
0
0.307692
0
0
0.0064
0
0
0
0
0
0
1
0
false
0
0
0
0
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d8072e9a3f2db6ecaeacf4768e427a57492ad774
1,070
py
Python
payments/models.py
charle-k/django-paynow-example
36c9b12567e08e30897a88845ac167bbb1233fa4
[ "MIT" ]
7
2018-09-05T13:47:50.000Z
2021-08-06T10:49:37.000Z
payments/models.py
charle-k/django-paynow-example
36c9b12567e08e30897a88845ac167bbb1233fa4
[ "MIT" ]
8
2019-09-23T07:57:48.000Z
2021-06-10T17:24:57.000Z
payments/models.py
charle-k/django-paynow-example
36c9b12567e08e30897a88845ac167bbb1233fa4
[ "MIT" ]
6
2018-02-12T14:15:55.000Z
2022-03-27T18:56:50.000Z
from django.db import models from django.contrib.auth.models import User class PaynowPayment(models.Model): user = models.ForeignKey(User, on_delete=models.PROTECT) cellphone = models.CharField(max_length=100, blank=True, null=True) email = models.EmailField(max_length=100, blank=True, null=True) refe...
42.8
83
0.741121
141
1,070
5.453901
0.411348
0.105332
0.187256
0.249675
0.384915
0.330299
0.075423
0
0
0
0
0.030635
0.145794
1,070
24
84
44.583333
0.810722
0
0
0
0
0
0.006542
0
0
0
0
0
0
1
0.05
false
0
0.1
0.05
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d8123032fc4d4229e419ce64f3c17fc799fbafe8
1,875
py
Python
savu/plugins/savers/base_saver.py
malte-storm/Savu
16291e8a22464c50c511af01fbc648860c1236e6
[ "Apache-2.0" ]
1
2021-04-18T09:30:54.000Z
2021-04-18T09:30:54.000Z
savu/plugins/savers/base_saver.py
malte-storm/Savu
16291e8a22464c50c511af01fbc648860c1236e6
[ "Apache-2.0" ]
null
null
null
savu/plugins/savers/base_saver.py
malte-storm/Savu
16291e8a22464c50c511af01fbc648860c1236e6
[ "Apache-2.0" ]
1
2021-05-20T16:31:29.000Z
2021-05-20T16:31:29.000Z
# Copyright 2014 Diamond Light Source Ltd. # # 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 t...
29.296875
74
0.6864
256
1,875
4.878906
0.492188
0.048038
0.020817
0.025621
0
0
0
0
0
0
0
0.007468
0.2144
1,875
63
75
29.761905
0.840462
0.491733
0
0
0
0
0.057206
0
0
0
0
0
0
1
0.333333
false
0
0.041667
0.208333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d81636e6d470c3d7470ab4d0ff442518b79f84b0
367
py
Python
tools/leetcode.204.Count Primes/leetcode.204.Count Primes.submission1.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
4
2015-10-10T00:30:55.000Z
2020-07-27T19:45:54.000Z
tools/leetcode.204.Count Primes/leetcode.204.Count Primes.submission1.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
tools/leetcode.204.Count Primes/leetcode.204.Count Primes.submission1.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
class Solution: # @param {integer} n # @return {integer} def countPrimes(self, n): if n <= 1: return 0 p = [1] * n for i in range(2,n): if p[i]: j = i * i while j < n: p[j] = 0 j += i ...
367
367
0.318801
45
367
2.6
0.466667
0.051282
0.051282
0
0
0
0
0
0
0
0
0.044304
0.569482
367
1
367
367
0.696203
0.098093
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d8240cac4b1f64990ceb571e5c636f0edc006ecc
344
py
Python
models/timm_created_models.py
ackness/eth-xgaze-estimator
b617cda6505885942c81b7f2d41399b62985b9a7
[ "MIT" ]
null
null
null
models/timm_created_models.py
ackness/eth-xgaze-estimator
b617cda6505885942c81b7f2d41399b62985b9a7
[ "MIT" ]
null
null
null
models/timm_created_models.py
ackness/eth-xgaze-estimator
b617cda6505885942c81b7f2d41399b62985b9a7
[ "MIT" ]
null
null
null
import timm import torch.nn as nn class Model(nn.Module): def __init__(self, model_name='resnet50', pretrained=True): super(Model, self).__init__() self.model_name = model_name self.model = timm.create_model(model_name, pretrained=pretrained, num_classes=2) def forward(self, x): ...
26.461538
88
0.686047
48
344
4.625
0.479167
0.162162
0.117117
0.153153
0
0
0
0
0
0
0
0.010949
0.203488
344
12
89
28.666667
0.79927
0
0
0
0
0
0.023256
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d82a285abe1c821c9357b77417dfab716e0b5401
987
py
Python
kivy_garden/ebs/cefkivy/handlers/display.py
ebs-universe/cefkivy
d4414d2320567a34ce9ae3a071c421e8c5385639
[ "MIT" ]
null
null
null
kivy_garden/ebs/cefkivy/handlers/display.py
ebs-universe/cefkivy
d4414d2320567a34ce9ae3a071c421e8c5385639
[ "MIT" ]
null
null
null
kivy_garden/ebs/cefkivy/handlers/display.py
ebs-universe/cefkivy
d4414d2320567a34ce9ae3a071c421e8c5385639
[ "MIT" ]
null
null
null
from kivy_garden.ebs.cefkivy.handlers.base import ClientHandlerBase class NavigationHandler(ClientHandlerBase): def OnAddressChange(self, browser, frame, url): self._widget.dispatch("on_address_change", frame, url) def OnTitleChange(self, browser, title): self._widget.dispatch("on_title_chan...
30.84375
78
0.715299
102
987
6.676471
0.539216
0.129222
0.066079
0.092511
0
0
0
0
0
0
0
0.001261
0.196555
987
31
79
31.83871
0.857503
0.109422
0
0.105263
0
0
0.036571
0
0
0
0
0
0
1
0.315789
false
0.105263
0.052632
0
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
d83137f8ba9cb687cbd2bf21f9e9c7427262fa6f
5,152
py
Python
torque/qstat/test_qstat_full_output.py
adaptivecomputing/torque-tests
494f0dcc0b6ac0e3ce8e838a9784b44f40785fd7
[ "Apache-2.0" ]
1
2016-11-03T09:13:06.000Z
2016-11-03T09:13:06.000Z
torque/qstat/test_qstat_full_output.py
adaptivecomputing/torque-tests
494f0dcc0b6ac0e3ce8e838a9784b44f40785fd7
[ "Apache-2.0" ]
null
null
null
torque/qstat/test_qstat_full_output.py
adaptivecomputing/torque-tests
494f0dcc0b6ac0e3ce8e838a9784b44f40785fd7
[ "Apache-2.0" ]
3
2016-03-27T06:39:01.000Z
2021-06-01T19:31:29.000Z
import time from nose.plugins.attrib import attr import sys from ace.system.utils import issueCmd, isProcessRunning, isRunningAsRoot, issueCmdAsNonRootUser from ace.torque.utils import clean_all_jobs def analyze_qstat_full_output(result): lines = result.split('\n'); alps = False variable_list = "" ...
33.025641
95
0.58288
658
5,152
4.366261
0.268997
0.132266
0.198399
0.231465
0.415245
0.372781
0.372781
0.200835
0.054299
0
0
0.017391
0.330357
5,152
155
96
33.23871
0.815362
0.018245
0
0.326087
0
0
0.227695
0.008902
0
0
0
0
0.057971
0
null
null
0
0.036232
null
null
0.094203
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
dc282682822f898c237f2f86017106987fa340e7
81
py
Python
dat/apps.py
Kgermando/es-script
f1b10ecf2c805e8875a025e7033c724e236f6cd1
[ "Apache-2.0" ]
null
null
null
dat/apps.py
Kgermando/es-script
f1b10ecf2c805e8875a025e7033c724e236f6cd1
[ "Apache-2.0" ]
null
null
null
dat/apps.py
Kgermando/es-script
f1b10ecf2c805e8875a025e7033c724e236f6cd1
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class DatConfig(AppConfig): name = 'dat'
13.5
33
0.728395
10
81
5.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.185185
81
5
34
16.2
0.893939
0
0
0
0
0
0.037037
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
0
0
0
3
dc48aaab7a80abf0da65b9c539477a7e0203ea56
3,065
py
Python
programs/CandidateElimination.py
ShreyasBabshet/AIMl
e20cb9e0ac53b8351da1d49300f554f02e711046
[ "MIT" ]
1
2022-01-05T14:56:21.000Z
2022-01-05T14:56:21.000Z
programs/CandidateElimination.py
ShreyasBabshet/AIMl
e20cb9e0ac53b8351da1d49300f554f02e711046
[ "MIT" ]
null
null
null
programs/CandidateElimination.py
ShreyasBabshet/AIMl
e20cb9e0ac53b8351da1d49300f554f02e711046
[ "MIT" ]
5
2021-12-11T08:09:51.000Z
2022-03-24T01:42:24.000Z
""" For a given set of training data examples stored in a .CSV file, implement and demonstrate the candidate-Elimination algorithm output a description of the set of all hypotheses consistent with the training examples """ import csv with open("CandidateElimination.csv") as f: csv_file = csv.reader(f) data = ...
42.569444
120
0.317781
236
3,065
4.118644
0.305085
0.083333
0.208848
0.191358
0.381687
0.297325
0.273663
0.228395
0.176955
0.176955
0
0.004277
0.237194
3,065
71
121
43.169014
0.411463
0.086786
0
0.137931
0
0
0.149007
0.02649
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0.172414
0
0
0
null
0
1
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
0
0
0
0
0
3
dc5703b6c02517b7aeea46ec01d0b0baf51ec60b
3,801
py
Python
test/test_volumes_api.py
displague/metal-python
96e64e9ac41025d85ff6f61693165e29e1c366db
[ "MIT" ]
null
null
null
test/test_volumes_api.py
displague/metal-python
96e64e9ac41025d85ff6f61693165e29e1c366db
[ "MIT" ]
3
2021-09-27T05:10:36.000Z
2021-09-27T06:10:57.000Z
test/test_volumes_api.py
displague/metal-python
96e64e9ac41025d85ff6f61693165e29e1c366db
[ "MIT" ]
null
null
null
# coding: utf-8 """ Metal API This is the API for Equinix Metal. The API allows you to programmatically interact with all of your Equinix Metal resources, including devices, networks, addresses, organizations, projects, and your user account. The official API docs are hosted at <https://metal.equinix.com/dev...
23.608696
312
0.628256
456
3,801
5.006579
0.219298
0.073587
0.086728
0.118265
0.553219
0.507665
0.383706
0.242225
0
0
0
0.025141
0.298869
3,801
160
313
23.75625
0.83152
0.486714
0
0.395833
0
0
0.005263
0
0
0
0
0
0
1
0.416667
false
0.395833
0.104167
0
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
dc5ab2c5063ac43238ee24f645a151d1d4ab70e8
407
py
Python
src/FFEAT/ffeat/flow/__init__.py
PatrikValkovic/MasterThesis
6e9f3b186541db6c8395ebc96ace7289d01c805b
[ "MIT" ]
null
null
null
src/FFEAT/ffeat/flow/__init__.py
PatrikValkovic/MasterThesis
6e9f3b186541db6c8395ebc96ace7289d01c805b
[ "MIT" ]
null
null
null
src/FFEAT/ffeat/flow/__init__.py
PatrikValkovic/MasterThesis
6e9f3b186541db6c8395ebc96ace7289d01c805b
[ "MIT" ]
null
null
null
############################### # # Created by Patrik Valkovic # 3/9/2021 # ############################### """ Module implementing classes controlling flow of the algorithm. """ from .Lambda import Lambda from .Select import Select from .Sequence import Sequence from .Parallel import Parallel from .EachArg import Each...
22.611111
62
0.665848
47
407
5.765957
0.531915
0
0
0
0
0
0
0
0
0
0
0.016949
0.130221
407
17
63
23.941176
0.748588
0.243243
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
dc6776acbae4c7ce813b1b24e73afce9b2a7449f
1,451
py
Python
lispy/parser.py
leossb36/lispy
c5d4fb86d2cffef23c43285aecdb99e960204184
[ "MIT" ]
null
null
null
lispy/parser.py
leossb36/lispy
c5d4fb86d2cffef23c43285aecdb99e960204184
[ "MIT" ]
null
null
null
lispy/parser.py
leossb36/lispy
c5d4fb86d2cffef23c43285aecdb99e960204184
[ "MIT" ]
null
null
null
from lark import Lark, InlineTransformer from pathlib import Path from .runtime import Symbol class LispTransformer(InlineTransformer): def start(self, *args): return [Symbol.BEGIN, *args] def case(self, *args): return [Symbol.IF, *args] def define(self, value): return [Symbol....
21.656716
72
0.600276
171
1,451
5.046784
0.403509
0.11124
0.097335
0.115875
0.067207
0.067207
0
0
0
0
0
0
0.278429
1,451
67
73
21.656716
0.82426
0.154376
0
0.054054
0
0
0.01675
0
0
0
0
0
0
1
0.351351
false
0
0.081081
0.27027
0.837838
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
dc7ccbb0682671bb7fdff44f839f042075b5f541
307
py
Python
codeit/01_ Recursion/sum_of_digits.py
sogoagain/problem-solving-and-algorithms
555d8d0a9f40f5bf9cfba8d177a775ddc185fa54
[ "MIT" ]
null
null
null
codeit/01_ Recursion/sum_of_digits.py
sogoagain/problem-solving-and-algorithms
555d8d0a9f40f5bf9cfba8d177a775ddc185fa54
[ "MIT" ]
null
null
null
codeit/01_ Recursion/sum_of_digits.py
sogoagain/problem-solving-and-algorithms
555d8d0a9f40f5bf9cfba8d177a775ddc185fa54
[ "MIT" ]
null
null
null
# n의 각 자릿수의 합을 리턴 def sum_digits(n): # base case if n < 10: return n # recursive case n, remainder = divmod(n, 10) return remainder + sum_digits(n) # 테스트 print(sum_digits(22541)) print(sum_digits(92130)) print(sum_digits(12634)) print(sum_digits(704)) print(sum_digits(3755))
17.055556
36
0.661238
49
307
4
0.489796
0.321429
0.357143
0
0
0
0
0
0
0
0
0.108333
0.218241
307
17
37
18.058824
0.708333
0.143322
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.3
0.5
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
dc88c23c29b46b2ae9333afd9961892a731790db
195
py
Python
python/getting-started/tuple.py
mprzybylak/python2-minefield
6dd1a3b70db6f7d1fbe7a7838337839ec1573ac6
[ "MIT" ]
null
null
null
python/getting-started/tuple.py
mprzybylak/python2-minefield
6dd1a3b70db6f7d1fbe7a7838337839ec1573ac6
[ "MIT" ]
null
null
null
python/getting-started/tuple.py
mprzybylak/python2-minefield
6dd1a3b70db6f7d1fbe7a7838337839ec1573ac6
[ "MIT" ]
null
null
null
# tuple a = 1,2,3 print a empty_tuple = () print empty_tuple tuple_with_one_element = 1, print tuple_with_one_element # tuple packing and unpacking tu = 1,2,3 a,b,c = tu print tu print a,b,c
11.470588
29
0.723077
40
195
3.325
0.4
0.030075
0.045113
0.285714
0
0
0
0
0
0
0
0.044025
0.184615
195
17
30
11.470588
0.792453
0.169231
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.5
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
1
0
0
0
0
0
0
1
0
3
dca2608971d4af212bf5a3702be2aebe78a13514
2,120
py
Python
tests/server_test.py
mqzry/pycouchdb
1592b1b501e6e2dea3009a83e9c937da70b49af8
[ "MIT" ]
null
null
null
tests/server_test.py
mqzry/pycouchdb
1592b1b501e6e2dea3009a83e9c937da70b49af8
[ "MIT" ]
10
2016-08-02T17:24:05.000Z
2016-09-06T17:06:06.000Z
tests/server_test.py
mqzry/pycouchdb
1592b1b501e6e2dea3009a83e9c937da70b49af8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .context import couchdb import unittest server = couchdb.Cloudant(couchdb.auth.user, couchdb.auth.password) class ServerTestSuite(unittest.TestCase): """Basic test cases.""" def test_info(self): assert server.info['uuid'] def test_active_tasks(self): tasks ...
25.542169
90
0.666509
263
2,120
5.144487
0.304183
0.0983
0.165558
0.183296
0.271988
0.095344
0.065041
0
0
0
0
0.002516
0.25
2,120
82
91
25.853659
0.848428
0.042453
0
0.142857
0
0
0.023727
0
0
0
0
0.012195
0.196429
1
0.339286
false
0.017857
0.035714
0
0.392857
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
1
0
0
1
0
0
0
0
0
0
0
3
dcab496cd59f61767547c1512b7a62f2dd1e2836
1,229
py
Python
zeppelin_provider/pyzeppelin/config.py
zjffdu/zeppelin_airflow
ef54e3977879f3e3c102eb7d1842f52ce7fe976b
[ "Apache-2.0" ]
2
2021-10-18T02:41:05.000Z
2021-10-19T02:43:34.000Z
zeppelin_provider/pyzeppelin/config.py
zjffdu/zeppelin_airflow
ef54e3977879f3e3c102eb7d1842f52ce7fe976b
[ "Apache-2.0" ]
null
null
null
zeppelin_provider/pyzeppelin/config.py
zjffdu/zeppelin_airflow
ef54e3977879f3e3c102eb7d1842f52ce7fe976b
[ "Apache-2.0" ]
1
2021-12-09T20:48:37.000Z
2021-12-09T20:48:37.000Z
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
38.40625
79
0.752644
180
1,229
4.988889
0.511111
0.066815
0.083519
0.063474
0
0
0
0
0
0
0
0.005015
0.188771
1,229
31
80
39.645161
0.895687
0.646054
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.222222
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
dcb0e1e2dd3165131c89f6dffa257800d1649331
93
py
Python
examples/benchmark.py
Abdillah/openstreet-py
92049498d294044b3268ef3c3feca154be333cd7
[ "MIT" ]
1
2021-06-03T10:35:54.000Z
2021-06-03T10:35:54.000Z
examples/benchmark.py
Abdillah/openstreet-py
92049498d294044b3268ef3c3feca154be333cd7
[ "MIT" ]
null
null
null
examples/benchmark.py
Abdillah/openstreet-py
92049498d294044b3268ef3c3feca154be333cd7
[ "MIT" ]
null
null
null
import time t1 = time.time() t2 = time.time() print("Iteration=%s, Time=%s" % (i, t2 - t1))
15.5
45
0.591398
16
93
3.4375
0.5
0.290909
0
0
0
0
0
0
0
0
0
0.051948
0.172043
93
5
46
18.6
0.662338
0
0
0
0
0
0.225806
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dcbb6e2d88161aefb4f54fe3967a2d4e1fdb88e5
5,747
py
Python
tests/test_vis.py
dmxj/icv
0b074ec9475f2c70038d2e8b7166414fd5b93e61
[ "MIT" ]
5
2019-09-10T04:02:19.000Z
2020-07-24T07:46:08.000Z
tests/test_vis.py
dmxj/icv
0b074ec9475f2c70038d2e8b7166414fd5b93e61
[ "MIT" ]
null
null
null
tests/test_vis.py
dmxj/icv
0b074ec9475f2c70038d2e8b7166414fd5b93e61
[ "MIT" ]
1
2020-03-20T03:44:04.000Z
2020-03-20T03:44:04.000Z
# -*- coding: UTF-8 -*- from icv.image.vis import imdraw_polygons, imshow, imdraw_bbox, imshow_bboxes from icv.vis import draw_line, draw_bar import matplotlib.pyplot as plt if __name__ == '__main__': # p = [354.01, 185.07, 366.31, 185.07, 368.99, 175.98, 371.13, 160.47, 377.55, 155.65, 381.83, 147.63, 371.13, 133...
41.345324
281
0.570733
974
5,747
3.268994
0.256674
0.016332
0.016018
0.021357
0.377198
0.330402
0.317525
0.301193
0.289887
0.260364
0
0.175312
0.204977
5,747
138
282
41.644928
0.521558
0.498521
0
0
0
0
0.111498
0.097561
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
f4ac8ea99edc3bb5da07a3edfbfddcab87171f80
63
py
Python
atcoder/abc/abc003_a.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
1
2018-11-12T15:18:55.000Z
2018-11-12T15:18:55.000Z
atcoder/abc/abc003_a.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
atcoder/abc/abc003_a.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
n = int(input()) print(sum(i+1 for i in range(n)) * 10000 / n)
21
45
0.587302
14
63
2.642857
0.785714
0
0
0
0
0
0
0
0
0
0
0.117647
0.190476
63
2
46
31.5
0.607843
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
f4c12a7390361b6b778205eeda579bdd0b18f9c3
1,443
py
Python
regtests/c++/returns_subclasses.py
ahakingdom/Rusthon
5b6b78111b62281cd1381e53362c5d4b520ade30
[ "BSD-3-Clause" ]
622
2015-01-01T14:53:51.000Z
2022-03-27T14:52:25.000Z
regtests/c++/returns_subclasses.py
ahakingdom/Rusthon
5b6b78111b62281cd1381e53362c5d4b520ade30
[ "BSD-3-Clause" ]
74
2015-01-05T01:24:09.000Z
2021-04-26T00:06:38.000Z
regtests/c++/returns_subclasses.py
ahakingdom/Rusthon
5b6b78111b62281cd1381e53362c5d4b520ade30
[ "BSD-3-Clause" ]
67
2015-01-18T22:54:54.000Z
2022-03-01T12:54:23.000Z
''' returns subclasses ''' class A: def __init__(self, x:int): self.x = x def method(self) -> int: return self.x class B(A): def foo(self) ->int: return self.x * 2 class C(A): def bar(self) ->int: return self.x + 200 class D(C): def hey(self) ->int: return self.x + 1 def some_subclass( x:int ) ->A: ...
16.033333
55
0.582814
253
1,443
3.284585
0.193676
0.036101
0.062575
0.081829
0.173285
0
0
0
0
0
0
0.016043
0.222453
1,443
90
56
16.033333
0.724599
0.047817
0
0.097222
0
0
0.105655
0
0
0
0
0.011111
0
0
null
null
0
0
null
null
0.402778
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
1
0
0
0
0
0
0
1
0
3
f4cb125099cb9160b794dec858e600b02f4e10f4
2,216
py
Python
backend/models/users.py
jimbunny/AdminSystem
d9a42e2d8608cb0d9bc88f4c1945da48fb8cc925
[ "MIT" ]
null
null
null
backend/models/users.py
jimbunny/AdminSystem
d9a42e2d8608cb0d9bc88f4c1945da48fb8cc925
[ "MIT" ]
null
null
null
backend/models/users.py
jimbunny/AdminSystem
d9a42e2d8608cb0d9bc88f4c1945da48fb8cc925
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # author:jingtongyu # datetime:2020/6/7 10:14 下午 # software: PyCharm from flask import current_app from . import db from .base import BaseModel from sqlalchemy.exc import SQLAlchemyError from werkzeug.security import generate_password_hash, check_password_hash import time ...
31.657143
139
0.679603
293
2,216
4.996587
0.368601
0.038251
0.047814
0.054645
0.099044
0.086066
0.057377
0.057377
0.057377
0
0
0.018498
0.194946
2,216
69
140
32.115942
0.80213
0.063628
0
0.0625
0
0.020833
0.047849
0
0
0
0
0
0
1
0.229167
false
0.166667
0.125
0.145833
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
f4cc85422a7a5367fc25f6b0298eb61345afa34a
2,104
py
Python
webAPi/routes/__init__.py
BennyJane/web-common-service
761ecbe1f2dca66babff5f0b9d9636ab9c5e6ebc
[ "Apache-2.0" ]
2
2021-01-04T07:23:52.000Z
2021-01-11T01:37:06.000Z
webAPi/routes/__init__.py
BennyJane/web-common-service
761ecbe1f2dca66babff5f0b9d9636ab9c5e6ebc
[ "Apache-2.0" ]
null
null
null
webAPi/routes/__init__.py
BennyJane/web-common-service
761ecbe1f2dca66babff5f0b9d9636ab9c5e6ebc
[ "Apache-2.0" ]
null
null
null
# !/usr/bin/env python # -*-coding:utf-8 -*- # PROJECT : web-common-service # Time :2020/12/4 11:09 # Warning:The Hard Way Is Easier from flask import Blueprint from webAPi.extensions import Api api_bp = Blueprint('api', __name__) # 注册接口的方法完全可以写在该文件中 ==》 可以利用该方法继续拆分resources包 def register_routes_api(app)...
41.254902
95
0.754753
260
2,104
5.907692
0.369231
0.148438
0.175781
0.269531
0
0
0
0
0
0
0
0.016349
0.127852
2,104
50
96
42.08
0.820708
0.140209
0
0
0
0
0.150167
0.028365
0
0
0
0.02
0
1
0.032258
false
0.064516
0.258065
0
0.290323
0.096774
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
1
0
0
0
0
1
0
0
0
0
0
3
f4dc9824b10179861c87096f997fe49e1626bd8e
6,694
py
Python
database_test.py
igushev/notes_fase
0d161948bec1780caeec08603e2564e96e8ca45d
[ "MIT" ]
4
2019-05-20T09:57:11.000Z
2019-09-29T03:55:21.000Z
database_test.py
igushev/notes_fase
0d161948bec1780caeec08603e2564e96e8ca45d
[ "MIT" ]
null
null
null
database_test.py
igushev/notes_fase
0d161948bec1780caeec08603e2564e96e8ca45d
[ "MIT" ]
null
null
null
import datetime import os import signal import subprocess import unittest import database as notes_database import model as notes_model DYNAMODB_CMD = ( 'java' ' -Djava.library.path=~/DynamoDBLocal/DynamoDBLocal_lib' ' -jar ~/DynamoDBLocal/DynamoDBLocal.jar -inMemory') class DynamoDBNotesDatabaseTest(u...
47.814286
96
0.597401
731
6,694
5.142271
0.136799
0.078478
0.270019
0.283054
0.747539
0.729715
0.696728
0.582602
0.552275
0.546688
0
0.042424
0.30983
6,694
139
97
48.158273
0.771212
0.032417
0
0.446429
0
0
0.060779
0.0133
0
0
0
0
0.151786
1
0.026786
false
0
0.0625
0
0.098214
0
0
0
0
null
0
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
3
f4e1fa397d375c3dc4bbcad7fecda3ca866641a5
75
py
Python
codes/t.py
NilLau/NilLau.github.io
e55768be0be4d6549b24c702554c11e64958d4c7
[ "MIT" ]
null
null
null
codes/t.py
NilLau/NilLau.github.io
e55768be0be4d6549b24c702554c11e64958d4c7
[ "MIT" ]
6
2019-06-20T10:05:10.000Z
2019-07-08T04:53:01.000Z
codes/t.py
117ami/117ami.github.io
e55768be0be4d6549b24c702554c11e64958d4c7
[ "MIT" ]
null
null
null
def sisi(): a = 10.0; b = {}; c = "string" return a, b, c sisi()
10.714286
34
0.426667
13
75
2.461538
0.692308
0.125
0
0
0
0
0
0
0
0
0
0.061224
0.346667
75
7
35
10.714286
0.591837
0
0
0
0
0
0.081081
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f4f1730b80320cf81745f480b45b10288badf24f
736
py
Python
crescent/functions/cidr.py
mpolatcan/zepyhrus
2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67
[ "Apache-2.0" ]
1
2020-03-26T19:20:03.000Z
2020-03-26T19:20:03.000Z
crescent/functions/cidr.py
mpolatcan/zepyhrus
2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67
[ "Apache-2.0" ]
null
null
null
crescent/functions/cidr.py
mpolatcan/zepyhrus
2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67
[ "Apache-2.0" ]
null
null
null
from .fn import Fn as AnyFn, FnArrayValue from typing import Union class Cidr(FnArrayValue): def __init__(self): super(Cidr, self).__init__( fn_name=Cidr.__name__, field_order=[self.IpBlock.__name__, self.Count.__name__, self.CidrBits.__name__], min_value={self.Count.__...
33.454545
93
0.669837
97
736
4.484536
0.329897
0.103448
0.11954
0.124138
0.222989
0.222989
0.16092
0.16092
0
0
0
0.006932
0.216033
736
21
94
35.047619
0.746967
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0.1875
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f4f8415a913fbed0108f2bce76defdaa36e7aaf1
239
py
Python
sym.py
levis501/toolbox
ac0b579d32e2a9c1da71a7a91b8c299f0c488e83
[ "Apache-2.0" ]
null
null
null
sym.py
levis501/toolbox
ac0b579d32e2a9c1da71a7a91b8c299f0c488e83
[ "Apache-2.0" ]
null
null
null
sym.py
levis501/toolbox
ac0b579d32e2a9c1da71a7a91b8c299f0c488e83
[ "Apache-2.0" ]
null
null
null
# for use as %run in ipython from sympy import * def es(q,n=2): if n <= 0: return q return es(simplify(expand(q)),n-1) def cmp(a,b,n=2): return sign(es(es(a,n)-es(b,n),n)) def eq(a,b,n=2): return cmp(a,b)==0 sym=symbols
13.277778
36
0.589958
55
239
2.563636
0.490909
0.042553
0.070922
0.056738
0.141844
0
0
0
0
0
0
0.031579
0.205021
239
17
37
14.058824
0.710526
0.108787
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
520e610b5d78d71b965d04eee9bb417539a13175
975
py
Python
tunulan-jbben.py
OnlyCaptain/FGO-Automata
4fef20b0e2849cc41ab421a285f4178e44d2c133
[ "MIT" ]
null
null
null
tunulan-jbben.py
OnlyCaptain/FGO-Automata
4fef20b0e2849cc41ab421a285f4178e44d2c133
[ "MIT" ]
null
null
null
tunulan-jbben.py
OnlyCaptain/FGO-Automata
4fef20b0e2849cc41ab421a285f4178e44d2c133
[ "MIT" ]
null
null
null
from core.Automata import Automata import time import sys bb = Automata("assets/cn/tunvlang2-ep.png", "assets/tunvlang-sp.png", (0, 0)) apple = 0 if len(sys.argv) >= 2: apple = int(sys.argv[1]) # bb.set_apples(2, "silver") bb.set_apples(apple, "gold") print("apple = ", (apple)) while True: bb.quick_start() ...
26.351351
77
0.674872
160
975
3.8875
0.30625
0.21865
0.289389
0.385852
0.448553
0.289389
0.250804
0.250804
0.167203
0.167203
0
0.046424
0.182564
975
37
78
26.351351
0.734003
0.075897
0
0.3
0
0
0.067039
0.053631
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.033333
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5222bd43690fa210a5b6afad5c77d12934c47b98
1,807
py
Python
BOJ/exaustive_search_boj/divide_square_1.py
mrbartrns/swacademy_structure
778f0546030385237c383d81ec37d5bd9ed1272d
[ "MIT" ]
null
null
null
BOJ/exaustive_search_boj/divide_square_1.py
mrbartrns/swacademy_structure
778f0546030385237c383d81ec37d5bd9ed1272d
[ "MIT" ]
null
null
null
BOJ/exaustive_search_boj/divide_square_1.py
mrbartrns/swacademy_structure
778f0546030385237c383d81ec37d5bd9ed1272d
[ "MIT" ]
null
null
null
from sys import stdin read = lambda: stdin.readline().rstrip() def psum(x1, y1, x2, y2): global s return s[x2][y2] - s[x2][y1 - 1] - s[x1 - 1][y2] + s[x1 - 1][y1 - 1] n, m = map(int, read().split()) arr = [[0] * (m + 1) for i in range(n + 1)] s = [[0] * (m + 1) for i in range(n + 1)] for i in range(1, n ...
24.753425
73
0.399557
362
1,807
1.994475
0.10221
0.052632
0.144044
0.149584
0.729917
0.710526
0.67313
0.65374
0.65374
0.603878
0
0.125926
0.402324
1,807
73
74
24.753425
0.542593
0
0
0.596491
0
0
0
0
0
0
0
0
0
1
0.017544
false
0
0.017544
0
0.052632
0.017544
0
0
1
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
522beace2666024d3dbdd481d35a439d6fe88a2c
101
py
Python
scrapper/db.py
javieroc/news_api
d6cac5797d018fe3bc9c967cefdf8091ee098574
[ "MIT" ]
null
null
null
scrapper/db.py
javieroc/news_api
d6cac5797d018fe3bc9c967cefdf8091ee098574
[ "MIT" ]
null
null
null
scrapper/db.py
javieroc/news_api
d6cac5797d018fe3bc9c967cefdf8091ee098574
[ "MIT" ]
null
null
null
from pymongo import MongoClient client = MongoClient('mongodb://mongodb:27017') db = client.newsdb
16.833333
47
0.772277
12
101
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0.05618
0.118812
101
5
48
20.2
0.820225
0
0
0
0
0
0.227723
0.227723
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
522dd57d1ff6612b4b1c19962da0456e6df99c2f
50
py
Python
textworld/version.py
microsoft/TextWorld
785590cc69e25c260b2d2e76bf293b7d53441bd2
[ "MIT" ]
307
2019-05-07T01:51:55.000Z
2022-03-31T19:35:47.000Z
textworld/version.py
microsoft/TextWorld
785590cc69e25c260b2d2e76bf293b7d53441bd2
[ "MIT" ]
84
2019-05-08T14:24:36.000Z
2022-03-31T14:35:16.000Z
textworld/version.py
microsoft/TextWorld
785590cc69e25c260b2d2e76bf293b7d53441bd2
[ "MIT" ]
70
2019-05-21T21:36:56.000Z
2022-02-28T12:04:27.000Z
__version__ = '1.4.5' __prerelease__ = '1.4.5rc1'
16.666667
27
0.68
8
50
3.25
0.75
0.153846
0
0
0
0
0
0
0
0
0
0.159091
0.12
50
2
28
25
0.431818
0
0
0
0
0
0.26
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
523bb8bceaf1d2007ec10b2eb397d1393cfc78bc
151
py
Python
7KYU/sort_gift_code.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
4
2021-07-17T22:48:03.000Z
2022-03-25T14:10:58.000Z
7KYU/sort_gift_code.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
null
null
null
7KYU/sort_gift_code.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
3
2021-06-14T14:18:16.000Z
2022-03-16T06:02:02.000Z
def sort_gift_code(code: str) -> str: my_letter = [] for letter in code: my_letter.append(letter) return ''.join(sorted(my_letter))
30.2
37
0.642384
22
151
4.181818
0.590909
0.26087
0
0
0
0
0
0
0
0
0
0
0.225166
151
5
38
30.2
0.786325
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
524512e78e4665d9e17535a2f727d094c69af1e7
14,173
py
Python
test/test_groups.py
osum4est/socksync-django
00be35ad46966d52941be0637b89a72e03547efe
[ "MIT" ]
null
null
null
test/test_groups.py
osum4est/socksync-django
00be35ad46966d52941be0637b89a72e03547efe
[ "MIT" ]
8
2019-12-04T23:35:23.000Z
2022-02-10T12:40:14.000Z
test/test_groups.py
osum4est/django-socksync
00be35ad46966d52941be0637b89a72e03547efe
[ "MIT" ]
null
null
null
import json import time from threading import Thread from socksync.errors import SockSyncErrors from test import helpers def test_constructor_subscribe_remote(socket, remote_groups): for group in remote_groups: assert group.subscribed def test_subscribe_remote(socket, remote_groups): for group in r...
40.378917
118
0.744726
1,968
14,173
4.988313
0.050305
0.103901
0.091678
0.082001
0.869206
0.787308
0.724661
0.682591
0.591932
0.53387
0
0.015059
0.137868
14,173
350
119
40.494286
0.788362
0
0
0.379032
0
0
0.080152
0
0
0
0
0
0.395161
1
0.197581
false
0
0.020161
0
0.217742
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5252275ec6f4f5c6a0864d3a2f972ebdf4822841
432
py
Python
TBS/b2c/api/serializers.py
v1ct0r5u3n/TBS
459cd7c971f6aab7bd5f4f8d1e0788b90f34e772
[ "Apache-2.0" ]
null
null
null
TBS/b2c/api/serializers.py
v1ct0r5u3n/TBS
459cd7c971f6aab7bd5f4f8d1e0788b90f34e772
[ "Apache-2.0" ]
null
null
null
TBS/b2c/api/serializers.py
v1ct0r5u3n/TBS
459cd7c971f6aab7bd5f4f8d1e0788b90f34e772
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from b2c.models import Order,SalesShare from b2c.models import Refund class OrderSerializer(serializers.ModelSerializer): class Meta: model = Order fields = '__all__' class SalesShareSerializer(serializers.ModelSerializer): class Meta: model = SalesShare fields = '__...
20.571429
56
0.787037
46
432
7.108696
0.413043
0.238532
0.284404
0.321101
0.366972
0
0
0
0
0
0
0.005405
0.143519
432
20
57
21.6
0.878378
0
0
0.4
0
0
0.048611
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5252b71dd57d5a5f6ce7e8ffc2eedb3497542f75
9,989
py
Python
src/poliastro/twobody/angles.py
AlexS12/poliastro
70f20d20ea8746e581876b27b51504dd05d3d8fc
[ "MIT" ]
1
2019-02-05T06:19:59.000Z
2019-02-05T06:19:59.000Z
src/poliastro/twobody/angles.py
AlexS12/poliastro
70f20d20ea8746e581876b27b51504dd05d3d8fc
[ "MIT" ]
null
null
null
src/poliastro/twobody/angles.py
AlexS12/poliastro
70f20d20ea8746e581876b27b51504dd05d3d8fc
[ "MIT" ]
null
null
null
"""Angles and anomalies. """ import numpy as np from astropy import units as u from scipy import optimize def _kepler_equation(E, M, ecc): return E - ecc * np.sin(E) - M def _kepler_equation_prime(E, M, ecc): return 1 - ecc * np.cos(E) def _kepler_equation_hyper(F, M, ecc): return -F + ecc * np.sin...
21.574514
102
0.548403
1,312
9,989
4.06936
0.109756
0.077917
0.041394
0.057314
0.797715
0.713242
0.686271
0.656677
0.646001
0.636074
0
0.034107
0.310241
9,989
462
103
21.621212
0.740784
0.479928
0
0.345455
0
0
0
0
0
0
0
0
0
1
0.209091
false
0
0.027273
0.054545
0.445455
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
525c1780a3e7abf6d5b7cf6dd5f03e113365af8c
14,432
py
Python
tests/test_merkle_tools.py
randomchain/pymerkletools
e572d347b928f8d6a36730b357201b650e9986d4
[ "MIT" ]
null
null
null
tests/test_merkle_tools.py
randomchain/pymerkletools
e572d347b928f8d6a36730b357201b650e9986d4
[ "MIT" ]
null
null
null
tests/test_merkle_tools.py
randomchain/pymerkletools
e572d347b928f8d6a36730b357201b650e9986d4
[ "MIT" ]
1
2018-12-13T13:52:22.000Z
2018-12-13T13:52:22.000Z
import hashlib from math import sqrt from merkletools import MerkleTools def test_add_leaf(): mt = MerkleTools() mt.add_leaf("tierion", do_hash=True) mt.add_leaves(["bitcoin", "blockchain"], do_hash=True) assert len(mt.leaves) == 3 assert mt.is_ready == False def test_build_tree(): mt = Merkle...
48.756757
343
0.775568
1,088
14,432
10.102022
0.118566
0.096079
0.023656
0.020016
0.622236
0.454099
0.438723
0.405241
0.373123
0.321718
0
0.335311
0.135809
14,432
295
344
48.922034
0.545943
0.011849
0
0.567797
0
0
0.477581
0.461441
0
0
0
0
0.199153
1
0.09322
false
0.004237
0.012712
0
0.105932
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
526b125cc33deeb32dd2628f132a518f61165795
26,279
py
Python
pysnmp-with-texts/PACKETEER-RTM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/PACKETEER-RTM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/PACKETEER-RTM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module PACKETEER-RTM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/PACKETEER-RTM-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:36:08 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
163.223602
2,486
0.803569
3,164
26,279
6.674147
0.119785
0.054553
0.095468
0.009282
0.584032
0.471326
0.41469
0.401714
0.360184
0.348771
0
0.041166
0.101488
26,279
160
2,487
164.24375
0.853168
0.012481
0
0
0
0.215686
0.422519
0.038586
0
0
0
0
0
1
0
false
0
0.045752
0
0.045752
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5272090ed44598ec4a14c865ee3720b996d0370e
240
py
Python
ai/ucenje.py
urhprimozic/gomoku
3c5fa9b13cf0c3252a0e3fa5929d9639dd325b3a
[ "MIT" ]
1
2021-05-06T20:00:52.000Z
2021-05-06T20:00:52.000Z
ai/ucenje.py
urhprimozic/gomoku
3c5fa9b13cf0c3252a0e3fa5929d9639dd325b3a
[ "MIT" ]
null
null
null
ai/ucenje.py
urhprimozic/gomoku
3c5fa9b13cf0c3252a0e3fa5929d9639dd325b3a
[ "MIT" ]
null
null
null
from gomoku import gomoku import threading # Ideja: (multi threading trik, da dela hitrejš) # 1. vsako interacijo pošlemo tipa igrat samega s sabo ene 100x (multi threading) # 2. if __name__ == '__main__': raise NotImplementedError
26.666667
82
0.75
32
240
5.375
0.84375
0.139535
0
0
0
0
0
0
0
0
0
0.02551
0.183333
240
9
83
26.666667
0.852041
0.545833
0
0
0
0
0.07619
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
52832d7abb4123a224ef943a3db12b5ce10678c9
1,040
py
Python
upper computer code/zkcup_upper/Pi_upper/with_Mega_Base.py
iamNCJ/ZKCup2019
6f4282831cdc8ad74d420526ed52da8dc74c1f79
[ "MIT" ]
3
2019-05-12T11:30:38.000Z
2019-11-22T14:54:15.000Z
upper computer code/zkcup_upper/Pi_upper/with_Mega_Base.py
iamNCJ/ZKCup2019
6f4282831cdc8ad74d420526ed52da8dc74c1f79
[ "MIT" ]
null
null
null
upper computer code/zkcup_upper/Pi_upper/with_Mega_Base.py
iamNCJ/ZKCup2019
6f4282831cdc8ad74d420526ed52da8dc74c1f79
[ "MIT" ]
null
null
null
import serial Base_ser = None def init_Base(): global Base_ser try: Base_ser = serial.Serial('/dev/ttyUSB1', 9600, timeout=1) except: pass def stop(): Base_ser.write(b'stop') def start(): Base_ser.write(b'start') def end(): Base_ser.write(b'end') def reset(): Base_...
16
65
0.535577
156
1,040
3.403846
0.314103
0.184557
0.20339
0.195857
0.338983
0.222222
0.222222
0.222222
0.222222
0.222222
0
0.014184
0.322115
1,040
64
66
16.25
0.739007
0
0
0.318182
0
0
0.056731
0
0
0
0
0
0
1
0.227273
false
0.022727
0.022727
0
0.340909
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
bfdd022b3820ad6e6abaf6fb5381079c82a967d9
614
py
Python
moneypot/utils.py
faucon/moneypot
c9fb8963691ad6afc45d039ae43627e92c2da38e
[ "BSD-3-Clause" ]
null
null
null
moneypot/utils.py
faucon/moneypot
c9fb8963691ad6afc45d039ae43627e92c2da38e
[ "BSD-3-Clause" ]
null
null
null
moneypot/utils.py
faucon/moneypot
c9fb8963691ad6afc45d039ae43627e92c2da38e
[ "BSD-3-Clause" ]
null
null
null
#coding: utf-8 import hashlib import time def create_identifier(username=''): '''create a unique identifier by time this is not really secure and should be overthougt''' #hashlib only "eats" strings, therefore encode unicodes in utf-8 if type(username) == unicode: username = username.encode('u...
26.695652
70
0.700326
83
614
5.084337
0.542169
0.130332
0.047393
0.075829
0.109005
0
0
0
0
0
0
0.01992
0.18241
614
22
71
27.909091
0.820717
0.263844
0
0
0
0
0.022676
0
0
0
0
0
0
1
0.25
false
0.333333
0.166667
0.083333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
bfe9fae84f1d17fee9f1028110171ffc09a72d50
497
py
Python
cea/interfaces/arcgis/__init__.py
AlexJew/CityEnergyAnalyst
6eb372c79e5100a2d0abce78561ae368fb409cd1
[ "MIT" ]
null
null
null
cea/interfaces/arcgis/__init__.py
AlexJew/CityEnergyAnalyst
6eb372c79e5100a2d0abce78561ae368fb409cd1
[ "MIT" ]
null
null
null
cea/interfaces/arcgis/__init__.py
AlexJew/CityEnergyAnalyst
6eb372c79e5100a2d0abce78561ae368fb409cd1
[ "MIT" ]
null
null
null
DEPRECATION_WARNING = ( "WARNING: We will end support of the ArcGIS interface by the 1st of May of 2019. This means that there will " "not be anymore tutorials nor advice on how to use this interface. You could still use this interface on " "your own. We invite all CEA users to get acquainted with the CEA D...
82.833333
113
0.736419
86
497
4.244186
0.639535
0.057534
0.131507
0.054795
0.126027
0.126027
0
0
0
0
0
0.030928
0.219316
497
6
114
82.833333
0.909794
0
0
0
0
0.5
0.879518
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bfef4c5a6ab43512ac748fdf963ca240b0731615
881
py
Python
aksdp/dataset/dataset.py
YoshikazuArimitsu/DataProcessingPipiline_template
5f08e3a072b338e9898a8f889c3f7700ba965bb6
[ "MIT" ]
null
null
null
aksdp/dataset/dataset.py
YoshikazuArimitsu/DataProcessingPipiline_template
5f08e3a072b338e9898a8f889c3f7700ba965bb6
[ "MIT" ]
null
null
null
aksdp/dataset/dataset.py
YoshikazuArimitsu/DataProcessingPipiline_template
5f08e3a072b338e9898a8f889c3f7700ba965bb6
[ "MIT" ]
null
null
null
from logging import getLogger from aksdp.data import Data from typing import List logger = getLogger(__name__) class DataSet: def __init__(self): self.data = {} def put(self, name: str, d: Data) -> "DataSet": self.data[name] = d return self def get(self, name: str) -> Data: ...
22.589744
51
0.544835
117
881
3.991453
0.316239
0.102784
0.047109
0.029979
0
0
0
0
0
0
0
0
0.312145
881
38
52
23.184211
0.770627
0
0
0.071429
0
0
0.072645
0
0
0
0
0
0
1
0.285714
false
0
0.107143
0.107143
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
873328940a88df1ef15c6e4079b9d1c2610ed690
776
py
Python
ModelServices/eventTriggerOutputGroupingMappingServices.py
tuanldchainos/HcPullData
65f89cfdcae135781aad4b3edf210c0ecd2d6a1c
[ "Apache-2.0" ]
null
null
null
ModelServices/eventTriggerOutputGroupingMappingServices.py
tuanldchainos/HcPullData
65f89cfdcae135781aad4b3edf210c0ecd2d6a1c
[ "Apache-2.0" ]
null
null
null
ModelServices/eventTriggerOutputGroupingMappingServices.py
tuanldchainos/HcPullData
65f89cfdcae135781aad4b3edf210c0ecd2d6a1c
[ "Apache-2.0" ]
null
null
null
from Repository.eventTriggerOutputGroupingMappingRepo import eventTriggerOutputGroupingMappingRepo from sqlalchemy import Table from sqlalchemy.engine.base import Connection from sqlalchemy.sql.expression import BinaryExpression class eventTriggerOutputGroupingMappingServices(): __eventTriggerOutputGroupingMapping...
59.692308
149
0.860825
47
776
14
0.489362
0.06383
0
0
0
0
0
0
0
0
0
0
0.099227
776
13
150
59.692308
0.941345
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5e45fa0e3463adf0460ab3ead7bb0ce0fbca5ce3
253
py
Python
vbb_backend/program/tests/test_program.py
patrickb42/backend-vbb-portal
88362bc5b4d5cab95aa67e12694f98371604b65a
[ "MIT" ]
3
2021-04-14T02:59:09.000Z
2021-06-08T00:17:27.000Z
vbb_backend/program/tests/test_program.py
patrickb42/backend-vbb-portal
88362bc5b4d5cab95aa67e12694f98371604b65a
[ "MIT" ]
81
2020-12-08T00:11:52.000Z
2021-08-09T18:13:32.000Z
vbb_backend/program/tests/test_program.py
patrickb42/backend-vbb-portal
88362bc5b4d5cab95aa67e12694f98371604b65a
[ "MIT" ]
5
2021-01-12T04:50:26.000Z
2021-06-04T02:00:03.000Z
import pytest from vbb_backend.program.models import Program @pytest.mark.django_db def test_program_create(program_factory): newProgram1 = program_factory.create() newProgram2 = program_factory.create() assert Program.objects.count() == 2
28.111111
46
0.786561
32
253
6
0.625
0.21875
0.208333
0
0
0
0
0
0
0
0
0.013575
0.126482
253
8
47
31.625
0.855204
0
0
0
0
0
0
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.428571
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5e49b4cd02cdaf395ed6450f9dd378c2a9ac9540
418
py
Python
tests/integration/test_controller.py
relarizky/create-your-own-resolution
752d32aeb445f5cacf0df61d1e55d43c654d940d
[ "MIT" ]
null
null
null
tests/integration/test_controller.py
relarizky/create-your-own-resolution
752d32aeb445f5cacf0df61d1e55d43c654d940d
[ "MIT" ]
null
null
null
tests/integration/test_controller.py
relarizky/create-your-own-resolution
752d32aeb445f5cacf0df61d1e55d43c654d940d
[ "MIT" ]
null
null
null
def test_home_page(client): """test home page""" response = client.get("/") assert b"Create Your Own Resolution" in response.data assert b"Resolution List" in response.data def test_statistic_page(client): """test statistic page""" response = client.get("/statistic") assert b"Create Yo...
24.588235
61
0.705742
56
418
5.196429
0.321429
0.09622
0.19244
0.14433
0.419244
0.419244
0.419244
0.419244
0.419244
0.419244
0
0
0.188995
418
16
62
26.125
0.858407
0.08134
0
0.25
0
0
0.289544
0
0
0
0
0
0.5
1
0.25
false
0
0
0
0.25
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
1
0
1
0
0
0
0
0
0
0
3
5e522e09e13194548f8da04b87e0c1b7973114ce
3,523
py
Python
ooobuild/lo/chart2/legend.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/chart2/legend.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/chart2/legend.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
33.875
198
0.700255
446
3,523
5.408072
0.441704
0.024876
0.02073
0.019901
0.073798
0.073798
0.056385
0
0
0
0
0.036491
0.229918
3,523
103
199
34.203884
0.852562
0.503548
0
0.214286
0
0
0.103136
0.071777
0
0
0
0
0
1
0.214286
false
0
0.357143
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
5e54446540064eada351c91d987ed17eefc61d0d
144
py
Python
alano/bullet/kinematics.py
zren96/alano
afd412ea37d8d4844cf1c8c9d53ff419b206a878
[ "MIT" ]
null
null
null
alano/bullet/kinematics.py
zren96/alano
afd412ea37d8d4844cf1c8c9d53ff419b206a878
[ "MIT" ]
null
null
null
alano/bullet/kinematics.py
zren96/alano
afd412ea37d8d4844cf1c8c9d53ff419b206a878
[ "MIT" ]
null
null
null
import numpy as np def full_jacob_pb(jac_t, jac_r): return np.vstack( (jac_t[0], jac_t[1], jac_t[2], jac_r[0], jac_r[1], jac_r[2]))
28.8
69
0.631944
33
144
2.454545
0.484848
0.197531
0
0
0
0
0
0
0
0
0
0.051282
0.1875
144
5
69
28.8
0.641026
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
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
0
1
0
0
0
3
5e55834ea9881f17bc9001d0fb21907f0b4c1d0d
163
py
Python
benchmarks/hvd_test.py
StillerPatrick/NeuralSolvers
5702b0507c3dc16d59cf3e77bc25f577f555fe4e
[ "MIT" ]
null
null
null
benchmarks/hvd_test.py
StillerPatrick/NeuralSolvers
5702b0507c3dc16d59cf3e77bc25f577f555fe4e
[ "MIT" ]
null
null
null
benchmarks/hvd_test.py
StillerPatrick/NeuralSolvers
5702b0507c3dc16d59cf3e77bc25f577f555fe4e
[ "MIT" ]
null
null
null
import horovod.torch as hvd if __name__ == "__main__": # test if horovod is correct installed hvd.init() print("Hello from rank{}".format(hvd.rank()))
27.166667
49
0.674847
23
163
4.434783
0.782609
0
0
0
0
0
0
0
0
0
0
0
0.190184
163
6
49
27.166667
0.772727
0.220859
0
0
0
0
0.198413
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5e7a690307d62eb0ac664e6b1bfe494db86ae1d0
765
py
Python
coredns/datadog_checks/coredns/check.py
tcpatterson/integrations-core
3692601de09f8db60f42612b0d623509415bbb53
[ "BSD-3-Clause" ]
null
null
null
coredns/datadog_checks/coredns/check.py
tcpatterson/integrations-core
3692601de09f8db60f42612b0d623509415bbb53
[ "BSD-3-Clause" ]
null
null
null
coredns/datadog_checks/coredns/check.py
tcpatterson/integrations-core
3692601de09f8db60f42612b0d623509415bbb53
[ "BSD-3-Clause" ]
null
null
null
# (C) Datadog, Inc. 2022-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) from datadog_checks.base import OpenMetricsBaseCheckV2 from datadog_checks.base.checks.openmetrics.v2.scraper import OpenMetricsCompatibilityScraper from .metrics import METRIC_MAP, construct_metrics_conf...
33.26087
93
0.779085
90
765
6.288889
0.533333
0.038869
0.060071
0.074205
0
0
0
0
0
0
0
0.01374
0.143791
765
22
94
34.772727
0.850382
0.141176
0
0
0
0
0.02144
0
0
0
0
0
0
1
0.25
false
0
0.25
0.166667
0.916667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5e904fa9f59fbfd3985765d6bd17e45bf32f29e0
881
py
Python
scheduler/api/healthcheck_api.py
BBVA/BeagleML-scheduler
194f5074c0872d32bf7b7db42856f2d133bbfa0e
[ "Apache-2.0" ]
1
2019-08-23T17:03:05.000Z
2019-08-23T17:03:05.000Z
scheduler/api/healthcheck_api.py
BBVA/BeagleML-scheduler
194f5074c0872d32bf7b7db42856f2d133bbfa0e
[ "Apache-2.0" ]
1
2020-01-28T22:26:09.000Z
2020-01-28T22:26:09.000Z
scheduler/api/healthcheck_api.py
BBVA/BeagleML-scheduler
194f5074c0872d32bf7b7db42856f2d133bbfa0e
[ "Apache-2.0" ]
1
2019-08-23T17:03:07.000Z
2019-08-23T17:03:07.000Z
""" Copyright 2018 Banco Bilbao Vizcaya Argentaria, S.A. 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 ...
30.37931
72
0.778661
131
881
5.160305
0.671756
0.088757
0.038462
0.047337
0
0
0
0
0
0
0
0.015915
0.144154
881
28
73
31.464286
0.880637
0.654938
0
0
0
0
0.155405
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
0.625
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
5ec2dab0b26aa267f51f9441f8742df7bb586e0f
276
py
Python
hubcare/metrics/community_metrics/code_of_conduct/models.py
aleronupe/2019.1-hubcare-api
3f031eac9559a10fdcf70a88ee4c548cf93e4ac2
[ "MIT" ]
7
2019-03-31T17:58:45.000Z
2020-02-29T22:44:27.000Z
hubcare/metrics/community_metrics/code_of_conduct/models.py
aleronupe/2019.1-hubcare-api
3f031eac9559a10fdcf70a88ee4c548cf93e4ac2
[ "MIT" ]
90
2019-03-26T01:14:54.000Z
2021-06-10T21:30:25.000Z
hubcare/metrics/community_metrics/code_of_conduct/models.py
aleronupe/2019.1-hubcare-api
3f031eac9559a10fdcf70a88ee4c548cf93e4ac2
[ "MIT" ]
null
null
null
from django.db import models class CodeOfConduct(models.Model): owner = models.CharField(max_length=200) repo = models.CharField(max_length=200) code_of_conduct = models.BooleanField(default=False) class Meta: unique_together = (('owner', 'repo'),)
25.090909
56
0.710145
34
276
5.617647
0.676471
0.157068
0.188482
0.251309
0.282723
0
0
0
0
0
0
0.026316
0.173913
276
10
57
27.6
0.811404
0
0
0
0
0
0.032609
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.857143
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5ec3969b8970433be4303bc84b32e504c017f89e
645
py
Python
simplemonitor/Alerters/__init__.py
accelleon/simplemonitor
641ec3f01c2798dcf0f05af3185d356dd01b2c60
[ "BSD-3-Clause" ]
null
null
null
simplemonitor/Alerters/__init__.py
accelleon/simplemonitor
641ec3f01c2798dcf0f05af3185d356dd01b2c60
[ "BSD-3-Clause" ]
null
null
null
simplemonitor/Alerters/__init__.py
accelleon/simplemonitor
641ec3f01c2798dcf0f05af3185d356dd01b2c60
[ "BSD-3-Clause" ]
null
null
null
""" Alerters for SimpleMonitor """ from .bulksms import BulkSMSAlerter from .execute import ExecuteAlerter from .fortysixelks import FortySixElksAlerter from .mail import EMailAlerter from .nc import NotificationCenterAlerter from .nextcloud_notification import NextcloudNotificationAlerter from .pushbullet import Push...
32.25
64
0.858915
68
645
8.132353
0.558824
0
0
0
0
0
0
0
0
0
0
0.006944
0.106977
645
20
65
32.25
0.953125
0.04031
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
5ec5412c79c61c59cfa7911d3a0e1bc0af333386
951
py
Python
app/controller/tecnico_controller.py
Alfser/webservice-paem
ca018e98a04c62fc2da391ba9c835fb697dc17ff
[ "Apache-2.0" ]
null
null
null
app/controller/tecnico_controller.py
Alfser/webservice-paem
ca018e98a04c62fc2da391ba9c835fb697dc17ff
[ "Apache-2.0" ]
null
null
null
app/controller/tecnico_controller.py
Alfser/webservice-paem
ca018e98a04c62fc2da391ba9c835fb697dc17ff
[ "Apache-2.0" ]
3
2021-07-06T17:46:06.000Z
2021-07-27T19:49:16.000Z
from ..model import TecnicoModel from .base_controller import BaseHasSiapeController, BaseHasUsuarioController class TecnicoController(BaseHasUsuarioController, BaseHasSiapeController): @classmethod def get(cls, id_tecnico): return super().get(id_tecnico, TecnicoModel) @classmethod def ge...
29.71875
77
0.716088
103
951
6.427184
0.271845
0.148036
0.102719
0.054381
0.18429
0.114804
0
0
0
0
0
0
0.193481
951
32
78
29.71875
0.863103
0
0
0.291667
0
0
0
0
0
0
0
0
0
1
0.291667
false
0
0.083333
0.291667
0.708333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0d6da4a230dfebd1e952dca8641edf4328f0a27c
376
py
Python
awardapp/serializer.py
Elisephan/Awards-project
269bfbe45a35338fab9c71fc7d8de48b61b1580b
[ "MIT" ]
null
null
null
awardapp/serializer.py
Elisephan/Awards-project
269bfbe45a35338fab9c71fc7d8de48b61b1580b
[ "MIT" ]
null
null
null
awardapp/serializer.py
Elisephan/Awards-project
269bfbe45a35338fab9c71fc7d8de48b61b1580b
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Project,Profile class MerchSerializer(serializers.ModelSerializer): class Meta: model = Project fields = ('title', 'description', 'link','image') class MerchSerializerProfile(serializers.ModelSerializer): class Meta: model = Pr...
31.333333
58
0.702128
36
376
7.277778
0.611111
0.198473
0.236641
0.267176
0.305344
0
0
0
0
0
0
0
0.194149
376
12
59
31.333333
0.864686
0
0
0.2
0
0
0.122016
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0dc5ac1a53b3f2f55401d8e424f5f7d566902874
11,694
py
Python
tests/test_faostat.py
mcarans/hdxscraper-faostat
289d3d7d730da36fe5c5e2ffb59d8779146bec7e
[ "MIT" ]
null
null
null
tests/test_faostat.py
mcarans/hdxscraper-faostat
289d3d7d730da36fe5c5e2ffb59d8779146bec7e
[ "MIT" ]
null
null
null
tests/test_faostat.py
mcarans/hdxscraper-faostat
289d3d7d730da36fe5c5e2ffb59d8779146bec7e
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- ''' Unit tests for FAOSTAT. ''' from os.path import join import pytest from hdx.hdx_configuration import Configuration from hdx.hdx_locations import Locations from faostat import generate_datasets_and_showcases, get_countriesdata, get_indicatortypesdata class TestFaostat: ...
108.277778
2,676
0.65974
1,325
11,694
5.791698
0.304151
0.021892
0.010164
0.014073
0.633307
0.606203
0.606203
0.589784
0.589784
0.589784
0
0.030057
0.243202
11,694
107
2,677
109.28972
0.837062
0.007696
0
0.08046
0
0.045977
0.656862
0.025619
0
0
0
0
0.057471
1
0.103448
false
0.011494
0.08046
0.011494
0.310345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0dd22b80fb4bde883055540f51ca30b9dae5dced
136
py
Python
mlflow/store/entities/paged_list.py
jene4ekjene4ek/my_mlflow
1ac1b5d6657789168253101ae3a8477cff54dd9e
[ "Apache-2.0" ]
2
2020-03-23T09:24:12.000Z
2020-03-23T09:24:14.000Z
mlflow/store/entities/paged_list.py
jiparadigma/mlflow
323f278ac270558403681a65bccfa69188014379
[ "Apache-2.0" ]
10
2020-03-04T23:52:35.000Z
2022-03-02T15:09:09.000Z
mlflow/store/entities/paged_list.py
jiparadigma/mlflow
323f278ac270558403681a65bccfa69188014379
[ "Apache-2.0" ]
1
2020-06-19T11:54:25.000Z
2020-06-19T11:54:25.000Z
class PagedList(list): def __init__(self, items, token): super(PagedList, self).__init__(items) self.token = token
22.666667
46
0.647059
16
136
5
0.5625
0
0
0
0
0
0
0
0
0
0
0
0.235294
136
5
47
27.2
0.769231
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0dde667801e804eb92cbd516a3727823207c6c8a
267
py
Python
switch.py
vjmakers/weather-station
0188d1954aba3b37bdec460be1ede2312294ee79
[ "MIT" ]
1
2016-12-12T06:14:44.000Z
2016-12-12T06:14:44.000Z
switch.py
vjmakers/weather-station
0188d1954aba3b37bdec460be1ede2312294ee79
[ "MIT" ]
null
null
null
switch.py
vjmakers/weather-station
0188d1954aba3b37bdec460be1ede2312294ee79
[ "MIT" ]
null
null
null
import RPi.GPIO as GPIO import time class Button: def __init__(self, pin): GPIO.setmode(GPIO.BCM) self.pin = pin GPIO.setup(self.pin, GPIO.IN, pull_up_down=GPIO.PUD_UP) def is_pressed(self): return GPIO.input(self.pin) == 0
20.538462
63
0.636704
42
267
3.857143
0.571429
0.17284
0.135802
0
0
0
0
0
0
0
0
0.005
0.250936
267
12
64
22.25
0.805
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0de08fc5455f1a35c47b650341540cab280d2394
971
py
Python
algorithms/circular_queue_ii.py
necusjz/awesome-cs
4f5031654630c6970db06d0a2311ec803f19e41b
[ "MIT" ]
2
2021-05-22T10:51:13.000Z
2021-05-22T11:54:36.000Z
algorithms/circular_queue_ii.py
necusjz/awesome-cs
4f5031654630c6970db06d0a2311ec803f19e41b
[ "MIT" ]
null
null
null
algorithms/circular_queue_ii.py
necusjz/awesome-cs
4f5031654630c6970db06d0a2311ec803f19e41b
[ "MIT" ]
1
2021-04-20T15:37:51.000Z
2021-04-20T15:37:51.000Z
class CircularQueuek: def __init__(self, k: int): self.queue = [0 for _ in range(k)] self.k = k self.front = 0 self.rear = -1 self.length = 0 def enQueue(self, value): if self.length < self.k: self.length = self.length +1 self.rear = (self...
25.552632
50
0.508754
124
971
3.943548
0.209677
0.224949
0.112474
0.09816
0.484663
0.253579
0.253579
0.147239
0.147239
0
0
0.023451
0.38517
971
38
51
25.552632
0.795645
0
0
0.28125
0
0
0
0
0
0
0
0
0
1
0.21875
false
0
0
0.0625
0.5625
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
0
1
0
0
3
0deb590f5b97e05bd9596ebcdce0c028a4a8f86e
2,755
py
Python
gluon/packages/dal/pydal/dialects/mysql.py
twozni/When-If-Capstone
bff3d4beeeb5b9f75034e6a683d591fb026eedb5
[ "BSD-3-Clause" ]
1
2018-12-21T12:08:13.000Z
2018-12-21T12:08:13.000Z
gluon/packages/dal/pydal/dialects/mysql.py
twozni/When-If-Capstone
bff3d4beeeb5b9f75034e6a683d591fb026eedb5
[ "BSD-3-Clause" ]
4
2017-05-04T18:48:36.000Z
2017-05-10T18:48:25.000Z
gluon/packages/dal/pydal/dialects/mysql.py
twozni/When-If-Capstone
bff3d4beeeb5b9f75034e6a683d591fb026eedb5
[ "BSD-3-Clause" ]
3
2017-04-25T15:58:54.000Z
2020-03-16T20:15:00.000Z
from ..adapters.mysql import MySQL from ..helpers.methods import varquote_aux from .base import SQLDialect from . import dialects, sqltype_for @dialects.register_for(MySQL) class MySQLDialect(SQLDialect): quote_template = '`%s`' @sqltype_for('datetime') def type_datetime(self): return 'DATETIME' ...
30.611111
79
0.606534
350
2,755
4.62
0.262857
0.061843
0.030921
0.027829
0.217069
0.217069
0.179963
0.179963
0.179963
0.179963
0
0.00194
0.251543
2,755
89
80
30.955056
0.78225
0.022505
0
0.059701
0
0
0.30026
0.024526
0
0
0
0
0
1
0.283582
false
0
0.059701
0.268657
0.656716
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
218de3b73f90ddca4187ffaf314ba02556286704
5,860
py
Python
tests/test_general.py
nicolasramy/optimove-client
d492ddaa7b20493c1077308a2404994730f8c6cc
[ "MIT" ]
3
2016-08-10T14:14:54.000Z
2016-09-01T05:48:03.000Z
tests/test_general.py
nicolasramy/optimove-client
d492ddaa7b20493c1077308a2404994730f8c6cc
[ "MIT" ]
6
2016-08-23T13:03:29.000Z
2018-02-08T17:01:59.000Z
tests/test_general.py
nicolasramy/optimove-client
d492ddaa7b20493c1077308a2404994730f8c6cc
[ "MIT" ]
3
2016-09-01T09:58:26.000Z
2019-10-16T13:27:58.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals, absolute_import import json import unittest from optimove.client import Client from optimove.general import General from optimove.constants import DEFAULT_URL import responses from tests.constants import HEADERS, TOKEN from tests.helpers import login_c...
31.675676
116
0.64215
577
5,860
6.277296
0.169844
0.061016
0.071784
0.104086
0.797626
0.744064
0.744064
0.677802
0.667587
0.667587
0
0.010643
0.262457
5,860
184
117
31.847826
0.827395
0.003584
0
0.648276
0
0
0.154707
0.071244
0
0
0
0
0.055172
1
0.075862
false
0.048276
0.062069
0
0.17931
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2192707fd6571a4ecd57df872e360ca70b27a6d0
257
py
Python
audio/concat.py
i026e/yandex-tts
829d32de15713d80083a3d36bedb9b1b5b2fb189
[ "MIT" ]
null
null
null
audio/concat.py
i026e/yandex-tts
829d32de15713d80083a3d36bedb9b1b5b2fb189
[ "MIT" ]
null
null
null
audio/concat.py
i026e/yandex-tts
829d32de15713d80083a3d36bedb9b1b5b2fb189
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Jan 16 15:41:33 2017 @author: pavel """ import sys from subprocess import call def concat(files_list, output): call(["ffmpeg", "-f", "concat", "-i", files_list, "-c", "copy", output])
18.357143
76
0.626459
39
257
4.076923
0.846154
0.113208
0
0
0
0
0
0
0
0
0
0.065116
0.163424
257
13
77
19.769231
0.674419
0.36965
0
0
0
0
0.144737
0
0
0
0
0
0
1
0.25
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
21bee7c4766bb25068916d14dd41ea437a34c03e
92
py
Python
AZkar_BackEnd/azkar_apps/tasbeeh/urls.py
AbdelrahmanElMahdy/Azkar-HisnMuslim
cc73ffbee38b9bb6f8d17b04a86fbf62e8a83db3
[ "MIT" ]
null
null
null
AZkar_BackEnd/azkar_apps/tasbeeh/urls.py
AbdelrahmanElMahdy/Azkar-HisnMuslim
cc73ffbee38b9bb6f8d17b04a86fbf62e8a83db3
[ "MIT" ]
null
null
null
AZkar_BackEnd/azkar_apps/tasbeeh/urls.py
AbdelrahmanElMahdy/Azkar-HisnMuslim
cc73ffbee38b9bb6f8d17b04a86fbf62e8a83db3
[ "MIT" ]
null
null
null
from django.urls import path from .views import Home urlpatterns = [ path(" ",Home) ]
11.5
28
0.673913
12
92
5.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.217391
92
7
29
13.142857
0.861111
0
0
0
0
0
0.01087
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
21cce6bb3f11bd6d1a7f0ceeff7dcb76a30b5b25
3,986
py
Python
compiler/asm6502.py
paulscottrobson/amoral
09186f2476bd1e8acfc59ba9efbf04e1126567e9
[ "MIT" ]
3
2020-11-19T18:31:11.000Z
2020-11-23T17:59:53.000Z
compiler/asm6502.py
paulscottrobson/amoral
09186f2476bd1e8acfc59ba9efbf04e1126567e9
[ "MIT" ]
null
null
null
compiler/asm6502.py
paulscottrobson/amoral
09186f2476bd1e8acfc59ba9efbf04e1126567e9
[ "MIT" ]
1
2021-05-14T07:49:05.000Z
2021-05-14T07:49:05.000Z
# # Automatically generated # class Asm6502(object): pass Asm6502.BRK = 0x00 Asm6502.ORA_IX = 0x01 Asm6502.ORA_Z = 0x05 Asm6502.ASL_Z = 0x06 Asm6502.PHP = 0x08 Asm6502.ORA_IM = 0x09 Asm6502.ASL = 0x0A Asm6502.ORA_A = 0x0D Asm6502.ASL_A = 0x0E Asm6502.BPL = 0x10 ...
25.227848
25
0.616407
573
3,986
4.089005
0.387435
0.034144
0
0
0
0
0
0
0
0
0
0.343942
0.306322
3,986
157
26
25.388535
0.503436
0.00577
0
0
1
0
0
0
0
0
0.152564
0
0
1
0
true
0.006536
0
0
0.006536
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
21dc8165825e74d7f9a47fabec69954f469cccd4
415
py
Python
Coding-Interview/3-find-duplicate.py
yangjiahao106/LeetCode
c30ba0ef06f444951f7ab8eee495ac43613d7f4f
[ "RSA-MD" ]
1
2018-04-28T09:07:11.000Z
2018-04-28T09:07:11.000Z
Coding-Interview/3-find-duplicate.py
yangjiahao106/LeetCode
c30ba0ef06f444951f7ab8eee495ac43613d7f4f
[ "RSA-MD" ]
1
2018-02-24T16:26:30.000Z
2018-02-24T16:26:44.000Z
Coding-Interview/3-find-duplicate.py
yangjiahao106/LeetCode
c30ba0ef06f444951f7ab8eee495ac43613d7f4f
[ "RSA-MD" ]
null
null
null
#! python3 # __author__ = "YangJiaHao" # date: 2018/12/25 def duplicate(nums): length = len(nums) for n in nums: if n < 0 or n >= length: return False for i in range(len(nums)): while nums[i] != i: if nums[i] == nums[nums[i]]: return nums[i] ...
18.863636
63
0.484337
57
415
3.45614
0.421053
0.203046
0.182741
0.19797
0.208122
0.137056
0
0
0
0
0
0.03861
0.375904
415
21
64
19.761905
0.722008
0.125301
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.333333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3