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
127a66912b5aeb93aba1d6ca27321c4a2f55e4d8
243
py
Python
curso-em-video/existencia_triangulo.py
mvrramos/Pogramacao-Python
4b289372aed3080c55a94beed3ea059619d51e48
[ "MIT" ]
null
null
null
curso-em-video/existencia_triangulo.py
mvrramos/Pogramacao-Python
4b289372aed3080c55a94beed3ea059619d51e48
[ "MIT" ]
null
null
null
curso-em-video/existencia_triangulo.py
mvrramos/Pogramacao-Python
4b289372aed3080c55a94beed3ea059619d51e48
[ "MIT" ]
null
null
null
l1 = int(input('Digite o lado 1 ')) l2 = int(input('Digite o lado 2 ')) l3 = int(input('Digite o lado 3 ')) if l1+l2>l3 and l1+l3>l2 and l2+l3>l1: print(f'O triangulo PODE ser formado') else: print(f'O triangulo NAO PODE ser formado')
30.375
46
0.654321
49
243
3.244898
0.428571
0.150943
0.264151
0.283019
0.358491
0
0
0
0
0
0
0.076531
0.193416
243
8
46
30.375
0.734694
0
0
0
0
0
0.442623
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
129e14e3332f459d251d2e0da0694dcd715abda7
206
py
Python
vel/api/base/scheduler.py
tigerwlin/vel
00e4fbb7b612e888e2cbb5d8455146664638cd0b
[ "MIT" ]
273
2018-09-01T08:54:34.000Z
2022-02-02T13:22:51.000Z
vel/api/base/scheduler.py
tigerwlin/vel
00e4fbb7b612e888e2cbb5d8455146664638cd0b
[ "MIT" ]
47
2018-08-17T11:27:08.000Z
2022-03-11T23:26:55.000Z
vel/api/base/scheduler.py
tigerwlin/vel
00e4fbb7b612e888e2cbb5d8455146664638cd0b
[ "MIT" ]
37
2018-10-11T22:56:57.000Z
2020-10-06T19:53:05.000Z
from .callback import Callback class SchedulerFactory: """ Factory class for various schedulers """ def instantiate(self, optimizer, last_epoch=-1) -> Callback: raise NotImplementedError
22.888889
64
0.723301
21
206
7.047619
0.857143
0
0
0
0
0
0
0
0
0
0
0.006024
0.194175
206
8
65
25.75
0.885542
0.174757
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
12a00f0d7e0ef098882626c76b08f7c4d99ba71f
108
py
Python
notebooks/_solutions/visualization_02_plotnine1.py
jonasvdd/DS-python-data-analysis
835226f562ee0b0631d70e48a17c4526ff58a538
[ "BSD-3-Clause" ]
65
2017-03-21T09:15:40.000Z
2022-02-01T23:43:08.000Z
notebooks/_solutions/visualization_02_plotnine1.py
jonasvdd/DS-python-data-analysis
835226f562ee0b0631d70e48a17c4526ff58a538
[ "BSD-3-Clause" ]
100
2016-12-15T03:44:06.000Z
2022-03-07T08:14:07.000Z
notebooks/_solutions/visualization_02_plotnine1.py
jonasvdd/DS-python-data-analysis
835226f562ee0b0631d70e48a17c4526ff58a538
[ "BSD-3-Clause" ]
52
2016-12-19T07:48:52.000Z
2022-02-19T17:53:48.000Z
(p9.ggplot(titanic, p9.aes(x='factor(Pclass)', y='Fare', color='Sex')) + p9.geom_jitter() )
27
61
0.546296
15
108
3.866667
0.866667
0
0
0
0
0
0
0
0
0
0
0.035294
0.212963
108
4
62
27
0.647059
0
0
0
0
0
0.192661
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
12a3fab2fe1b8e7933226b4e10ffb63a54e57be4
459
py
Python
tests/test_cli.py
zalando-incubator/openapi-cli-client
8c09a7eec0687f7a9b175d4adeff3682d5489a00
[ "Apache-2.0" ]
6
2016-07-23T10:53:31.000Z
2017-06-13T17:24:40.000Z
tests/test_cli.py
hjacobs/openapi-cli-client
8c09a7eec0687f7a9b175d4adeff3682d5489a00
[ "Apache-2.0" ]
1
2016-06-15T11:40:59.000Z
2017-03-23T17:54:36.000Z
tests/test_cli.py
zalando/openapi-cli-client
8c09a7eec0687f7a9b175d4adeff3682d5489a00
[ "Apache-2.0" ]
2
2016-07-12T17:28:17.000Z
2017-02-15T19:52:22.000Z
import click import os from openapi_cli_client.cli import generate_cli def test_generate_cli(): cli = generate_cli(os.path.join(os.path.dirname(__file__), 'fixtures/petstore.yaml')) assert isinstance(cli, click.Group) assert 'pets' in cli.commands commands = cli.commands['pets'].commands assert 4 =...
30.6
89
0.723312
64
459
5.03125
0.453125
0.217391
0.149068
0
0
0
0
0
0
0
0
0.002646
0.176471
459
14
90
32.785714
0.849206
0
0
0
1
0
0.106754
0.04793
0
0
0
0
0.538462
1
0.076923
false
0
0.230769
0
0.307692
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
1
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
12d25d1675a932796b31a80671e2faaeea918318
69
py
Python
programming/Workshop Work/Workshop_3/slicepy2.py
probablyacat/degree_level1
c08262514032ed86eb68c680e369bd9095954745
[ "MIT" ]
null
null
null
programming/Workshop Work/Workshop_3/slicepy2.py
probablyacat/degree_level1
c08262514032ed86eb68c680e369bd9095954745
[ "MIT" ]
null
null
null
programming/Workshop Work/Workshop_3/slicepy2.py
probablyacat/degree_level1
c08262514032ed86eb68c680e369bd9095954745
[ "MIT" ]
null
null
null
import numpy twod = numpy.arange(1,10) twod.shape = (3,3) print twod
13.8
25
0.710145
13
69
3.769231
0.692308
0
0
0
0
0
0
0
0
0
0
0.084746
0.144928
69
4
26
17.25
0.745763
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.25
null
null
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
1
0
0
0
0
0
0
0
0
3
12db9dd43920566ba2383c774fb895e0f308c584
330
py
Python
_pyvmmonitor_core_tests/test_memoize.py
fabioz/pyvmmonitor-core
a39bb2c2839bf8155c1702d6c3ee4f3ae8ba3ee6
[ "PSF-2.0" ]
14
2015-02-28T01:31:39.000Z
2022-03-09T10:02:39.000Z
_pyvmmonitor_core_tests/test_memoize.py
fabioz/pyvmmonitor-core
a39bb2c2839bf8155c1702d6c3ee4f3ae8ba3ee6
[ "PSF-2.0" ]
null
null
null
_pyvmmonitor_core_tests/test_memoize.py
fabioz/pyvmmonitor-core
a39bb2c2839bf8155c1702d6c3ee4f3ae8ba3ee6
[ "PSF-2.0" ]
3
2015-04-05T08:31:43.000Z
2021-08-05T07:48:32.000Z
def test_memoize(): import itertools count = itertools.count(0) from pyvmmonitor_core.memoization import memoize @memoize def func(param1, param2): return [next(count)] assert func(1, 2) == [0] assert func(1, 2) == [0] assert func(1, 2) == [0] assert func(1, 4...
22
53
0.566667
43
330
4.302326
0.465116
0.216216
0.237838
0.194595
0.27027
0.27027
0.27027
0.27027
0.27027
0.27027
0
0.064655
0.29697
330
14
54
23.571429
0.732759
0
0
0.272727
0
0
0
0
0
0
0
0
0.363636
1
0.181818
false
0
0.181818
0.090909
0.454545
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
12dc201b434c27b0f14c5cdf0347758cf63c4218
311
py
Python
test/test_parse_image_json.py
BoudhayanBanerjee/political-ad-classifier
e7b7bd76eadd4bde536862449e71370903d22114
[ "MIT" ]
2
2017-06-20T19:18:20.000Z
2017-06-30T19:01:44.000Z
test/test_parse_image_json.py
BoudhayanBanerjee/political-ad-classifier
e7b7bd76eadd4bde536862449e71370903d22114
[ "MIT" ]
null
null
null
test/test_parse_image_json.py
BoudhayanBanerjee/political-ad-classifier
e7b7bd76eadd4bde536862449e71370903d22114
[ "MIT" ]
null
null
null
from adclassifier import google_interface inputpath = r'D:\adclassifier\labelled_dataset\non_political\api_responses\vision' outputpath = r'D:\adclassifier\labelled_dataset\non_political\text_datasets\vision\original' google_interface.json_parser(inputpath=inputpath, outputpath=outputpath, filetype='image')
44.428571
92
0.858521
38
311
6.789474
0.605263
0.116279
0.108527
0.170543
0.317829
0.317829
0.317829
0
0
0
0
0
0.048232
311
6
93
51.833333
0.871622
0
0
0
0
0
0.475884
0.459807
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
12dd3c07089143a28c4039bdfe9af77589d791c2
380
py
Python
uppyyl_simulator/backend/models/ta/__init__.py
S-Lehmann/uppyyl-simulator
1166432cd766165df2cab9f13c1285624d7c01c1
[ "MIT" ]
2
2020-09-09T15:42:23.000Z
2020-11-04T17:50:57.000Z
uppyyl_simulator/backend/models/ta/__init__.py
S-Lehmann/uppyyl-simulator
1166432cd766165df2cab9f13c1285624d7c01c1
[ "MIT" ]
null
null
null
uppyyl_simulator/backend/models/ta/__init__.py
S-Lehmann/uppyyl-simulator
1166432cd766165df2cab9f13c1285624d7c01c1
[ "MIT" ]
null
null
null
"""This module provides all Uppaal (N)TA related classes.""" from .nta import System from .ta import Template, Location, Edge from .labels.assignment import Reset, Update from .labels.invariant import Invariant from .labels.parameter import Parameter from .labels.guard import ClockGuard, VariableGuard from .labels.sy...
31.666667
60
0.807895
51
380
6.019608
0.54902
0.19544
0
0
0
0
0
0
0
0
0
0
0.121053
380
11
61
34.545455
0.919162
0.142105
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
12f4f3e6eb70421fbb76dc3a18ae984b73aa0f4b
155
py
Python
leaderboards/apps.py
mwiens91/mario-64-rivals
da1918eec77eda36a189a596b2f00145850cc7dd
[ "BSD-3-Clause" ]
null
null
null
leaderboards/apps.py
mwiens91/mario-64-rivals
da1918eec77eda36a189a596b2f00145850cc7dd
[ "BSD-3-Clause" ]
4
2020-06-05T18:52:14.000Z
2021-06-10T20:47:10.000Z
leaderboards/apps.py
mwiens91/mario-64-rivals
da1918eec77eda36a189a596b2f00145850cc7dd
[ "BSD-3-Clause" ]
null
null
null
"""Contains information about the leaderboards app.""" from django.apps import AppConfig class LeaderboardsConfig(AppConfig): name = 'leaderboards'
19.375
54
0.767742
16
155
7.4375
0.875
0
0
0
0
0
0
0
0
0
0
0
0.141935
155
7
55
22.142857
0.894737
0.309677
0
0
0
0
0.118812
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
42195cf8aafb7d4eef7b56ab00e1a9467f78a091
182
py
Python
runit.py
RobinGall2910/hello-world
a7406a71042f8949f802c2dd057f494d68940d18
[ "Unlicense" ]
null
null
null
runit.py
RobinGall2910/hello-world
a7406a71042f8949f802c2dd057f494d68940d18
[ "Unlicense" ]
null
null
null
runit.py
RobinGall2910/hello-world
a7406a71042f8949f802c2dd057f494d68940d18
[ "Unlicense" ]
null
null
null
#Hello worlddddddddddddddddddddd if int(input("What do you say?: ") input == "Hello World!": print("Hello, World!") elif input == "Bye, World!": print("well bye lol") quit()
22.75
34
0.648352
24
182
4.916667
0.666667
0.169492
0
0
0
0
0
0
0
0
0
0
0.17033
182
7
35
26
0.781457
0
0
0
0
0
0.44
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
422280cc006976e6b93c3fe139fa653d4f51bc57
210
py
Python
setup.py
morsik/uwsgitop
5850e6ab8bff003f82955b165a83fb0e53de44e1
[ "MIT" ]
null
null
null
setup.py
morsik/uwsgitop
5850e6ab8bff003f82955b165a83fb0e53de44e1
[ "MIT" ]
null
null
null
setup.py
morsik/uwsgitop
5850e6ab8bff003f82955b165a83fb0e53de44e1
[ "MIT" ]
null
null
null
from distutils.core import setup setup(name='uwsgitop', version='0.8', description='uWSGI top-like interface', scripts=['uwsgitop'], install_requires = ['simplejson'] )
23.333333
47
0.604762
21
210
6
0.904762
0
0
0
0
0
0
0
0
0
0
0.012903
0.261905
210
8
48
26.25
0.8
0
0
0
0
0
0.252381
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
422811b9f26a0716f2ff046e7a9a433891a707c3
303
py
Python
openmixup/datasets/loader/__init__.py
Westlake-AI/openmixup
ea81250819e740dd823e30cb7ce382d14a3c1b91
[ "Apache-2.0" ]
10
2021-12-30T10:22:27.000Z
2022-03-30T02:31:38.000Z
openmixup/datasets/loader/__init__.py
Westlake-AI/openmixup
ea81250819e740dd823e30cb7ce382d14a3c1b91
[ "Apache-2.0" ]
3
2022-01-20T21:02:48.000Z
2022-03-19T13:49:45.000Z
openmixup/datasets/loader/__init__.py
Westlake-AI/openmixup
ea81250819e740dd823e30cb7ce382d14a3c1b91
[ "Apache-2.0" ]
null
null
null
from .build_loader import build_dataloader from .sampler import (DistributedGroupSampler, GroupSampler, \ DistributedGivenIterationSampler, RepeatAugSampler) __all__ = [ 'GroupSampler', 'DistributedGroupSampler', 'build_dataloader', 'DistributedGivenIterationSampler', 'RepeatAugSampler' ]
33.666667
66
0.805281
20
303
11.85
0.55
0.126582
0
0
0
0
0
0
0
0
0
0
0.112211
303
8
67
37.875
0.881041
0
0
0
0
0
0.326733
0.181518
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
424001fe4fb1ac12108df81e717fcec413f6b018
5,409
py
Python
tests/aat/common/helper/interface.py
DerangedMonkeyNinja/openperf
cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16
[ "Apache-2.0" ]
20
2019-12-04T01:28:52.000Z
2022-03-17T14:09:34.000Z
tests/aat/common/helper/interface.py
DerangedMonkeyNinja/openperf
cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16
[ "Apache-2.0" ]
115
2020-02-04T21:29:54.000Z
2022-02-17T13:33:51.000Z
tests/aat/common/helper/interface.py
DerangedMonkeyNinja/openperf
cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16
[ "Apache-2.0" ]
16
2019-12-03T16:41:18.000Z
2021-11-06T04:44:11.000Z
from expects import * import client.api import client.models import random def empty_interface(api_client): ports = client.api.PortsApi(api_client) ps = ports.list_ports(kind='dpdk') expect(ps).not_to(be_empty) i = client.models.Interface() i.port_id = ps[0].id i.config = client.models.Interf...
40.365672
160
0.678129
603
5,409
5.875622
0.165837
0.104996
0.055885
0.050804
0.754445
0.724527
0.708157
0.685577
0.685577
0.685577
0
0.030416
0.203735
5,409
133
161
40.669173
0.792199
0
0
0.552632
0
0.008772
0.079312
0.025698
0
0
0.002219
0
0
1
0.078947
false
0
0.035088
0.008772
0.192982
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
425aef5892076f2c31f737d8f2db64316c58e94f
223
py
Python
foxglove/__init__.py
bbc/foxglove
eb09b23aed51ed615eccf71bf20f2f6b28f4b32f
[ "Apache-2.0" ]
null
null
null
foxglove/__init__.py
bbc/foxglove
eb09b23aed51ed615eccf71bf20f2f6b28f4b32f
[ "Apache-2.0" ]
null
null
null
foxglove/__init__.py
bbc/foxglove
eb09b23aed51ed615eccf71bf20f2f6b28f4b32f
[ "Apache-2.0" ]
null
null
null
""" Copyright 2019 BBC. Licensed under the terms of the Apache License 2.0. """ name = "foxglove-bbc" from foxglove.model import Model from foxglove.connect import Connect from foxglove.connectors.base import AccessMode
20.272727
71
0.780269
32
223
5.4375
0.65625
0.206897
0
0
0
0
0
0
0
0
0
0.031414
0.143498
223
10
72
22.3
0.879581
0.318386
0
0
0
0
0.084507
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4277b7598652a73a9eaeeb0e18c31505377b34e7
1,764
py
Python
todos/tests/test_login_user_views.py
asidlare/todos
e6ae268efdfe68ae567b516f6cb5fa9cb8a46435
[ "MIT" ]
null
null
null
todos/tests/test_login_user_views.py
asidlare/todos
e6ae268efdfe68ae567b516f6cb5fa9cb8a46435
[ "MIT" ]
null
null
null
todos/tests/test_login_user_views.py
asidlare/todos
e6ae268efdfe68ae567b516f6cb5fa9cb8a46435
[ "MIT" ]
null
null
null
from tests.base import IntegrationTestCase class LoginTests(IntegrationTestCase): def test_loging_and_logout(self): # register user result = self.client.post('/api/v1/user', json={ 'login': 'user1', 'name': 'Test User', 'password': 'abc123', 'email'...
37.531915
98
0.613946
217
1,764
4.935484
0.239631
0.140056
0.196078
0.226891
0.690009
0.63212
0.605976
0.55929
0.55929
0.520075
0
0.041447
0.247732
1,764
46
99
38.347826
0.765637
0.137755
0
0.357143
0
0
0.169424
0
0
0
0
0
0.392857
1
0.035714
false
0.142857
0.035714
0
0.107143
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
429104d198ed0f4cf463546abf3ce145484c38cf
1,316
py
Python
test/python/classical_function_compiler/examples.py
Roshan-Thomas/qiskit-terra
77219b5c7b7146b1545c5e5190739b36f4064b2f
[ "Apache-2.0" ]
1,599
2018-07-10T10:59:12.000Z
2022-03-31T23:56:25.000Z
test/python/classical_function_compiler/examples.py
Roshan-Thomas/qiskit-terra
77219b5c7b7146b1545c5e5190739b36f4064b2f
[ "Apache-2.0" ]
5,244
2018-07-10T06:20:13.000Z
2022-03-31T22:18:48.000Z
test/python/classical_function_compiler/examples.py
Roshan-Thomas/qiskit-terra
77219b5c7b7146b1545c5e5190739b36f4064b2f
[ "Apache-2.0" ]
1,409
2018-07-10T02:16:12.000Z
2022-03-31T09:01:32.000Z
# This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
21.57377
77
0.656535
233
1,316
3.67382
0.377682
0.058411
0.130841
0.081776
0.219626
0.154206
0.119159
0.119159
0.114486
0
0
0.039801
0.236322
1,316
60
78
21.933333
0.81194
0.428571
0
0
0
0
0
0
0
0
0
0
0
1
0.416667
false
0
0.041667
0.333333
0.875
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
429b9b01d37c5b0df8da378e347c58fb42bb8542
162
py
Python
iredis/__init__.py
lyqscmy/iredis
6565ad33b74bc1408b7554f319f6ae2f13a33b50
[ "BSD-3-Clause" ]
null
null
null
iredis/__init__.py
lyqscmy/iredis
6565ad33b74bc1408b7554f319f6ae2f13a33b50
[ "BSD-3-Clause" ]
null
null
null
iredis/__init__.py
lyqscmy/iredis
6565ad33b74bc1408b7554f319f6ae2f13a33b50
[ "BSD-3-Clause" ]
null
null
null
import os from pathlib import Path __version__ = "1.0.1" project_root = Path(os.path.dirname(os.path.abspath(__file__))) project_data = project_root / "data"
16.2
63
0.746914
25
162
4.4
0.56
0.2
0
0
0
0
0
0
0
0
0
0.021277
0.12963
162
9
64
18
0.758865
0
0
0
0
0
0.055556
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
35f14abf21f3ef42f902c8e8d052e48a00624c5e
148
py
Python
6 kyu/Simple Fun 305 Typist.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
6
2020-09-03T09:32:25.000Z
2020-12-07T04:10:01.000Z
6 kyu/Simple Fun 305 Typist.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
1
2021-12-13T15:30:21.000Z
2021-12-13T15:30:21.000Z
6 kyu/Simple Fun 305 Typist.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
null
null
null
def typist(s): cur=res=0 for i in s: next_val=int(i.isupper()) res+=1+int(next_val!=cur) cur=next_val return res
21.142857
33
0.547297
26
148
3
0.576923
0.269231
0
0
0
0
0
0
0
0
0
0.019802
0.317568
148
7
34
21.142857
0.752475
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c40bce97a4241d85831da0ab0c18390fa7f524a1
160
py
Python
app/models/set.py
skielred/osmosis
579047a36557a5a9d9b3fea2868b541638af6604
[ "MIT" ]
2
2021-08-18T04:40:21.000Z
2021-10-07T06:52:13.000Z
app/models/set.py
Tina-otoge/osmosis-server
579047a36557a5a9d9b3fea2868b541638af6604
[ "MIT" ]
3
2019-12-17T23:42:20.000Z
2019-12-17T23:50:13.000Z
app/models/set.py
skielred/osmosis
579047a36557a5a9d9b3fea2868b541638af6604
[ "MIT" ]
null
null
null
from app import db class Set(db.Model): id = db.Column(db.Integer, primary_key=True) charts = db.relationship('Chart', backref='set', lazy='dynamic')
22.857143
68
0.6875
24
160
4.541667
0.791667
0
0
0
0
0
0
0
0
0
0
0
0.15625
160
6
69
26.666667
0.807407
0
0
0
0
0
0.09375
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
c42ff5801a891c7f31802aa0ee911fa97a89bb37
424
py
Python
app/share/templatetags/twitter_btn.py
valeriansaliou/waaave-web
8a0cde773563865a905af38f5a0b723a43b17341
[ "RSA-MD" ]
1
2020-04-06T10:04:43.000Z
2020-04-06T10:04:43.000Z
app/share/templatetags/twitter_btn.py
valeriansaliou/waaave-web
8a0cde773563865a905af38f5a0b723a43b17341
[ "RSA-MD" ]
null
null
null
app/share/templatetags/twitter_btn.py
valeriansaliou/waaave-web
8a0cde773563865a905af38f5a0b723a43b17341
[ "RSA-MD" ]
null
null
null
from django import template register = template.Library() @register.inclusion_tag('share/twitter_btn_small.jade', takes_context=True) def twitter_btn_small(context): return {'twitter_btn_href': context['request'].build_absolute_uri()} @register.inclusion_tag('share/twitter_btn_large.jade', takes_context=True) ...
32.615385
75
0.794811
57
424
5.561404
0.421053
0.189274
0.126183
0.157729
0.788644
0.788644
0.567823
0.359621
0.359621
0.359621
0
0
0.07783
424
13
76
32.615385
0.810742
0
0
0.25
0
0
0.24
0.131765
0
0
0
0
0
1
0.25
false
0
0.125
0.25
0.625
0
0
0
0
null
0
0
0
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
1
0
0
0
1
0
0
0
3
c43bbd8ff3fcb0a49b04f7a5ddbd294a38c7d4a4
133
py
Python
bin/lc_LX_LUV_relation.py
JohanComparat/pyEmerge
9b5bfa01959d48ea41221609b8f375f27e3e39ff
[ "Unlicense" ]
null
null
null
bin/lc_LX_LUV_relation.py
JohanComparat/pyEmerge
9b5bfa01959d48ea41221609b8f375f27e3e39ff
[ "Unlicense" ]
null
null
null
bin/lc_LX_LUV_relation.py
JohanComparat/pyEmerge
9b5bfa01959d48ea41221609b8f375f27e3e39ff
[ "Unlicense" ]
null
null
null
beta = 9. gamma = 0.6 logLX = beta + gamma * logLUV scatter = 0.4 # 0.35 # LX: monochromatic at 2 keV # LUV: monochromatic at 2500 AA
22.166667
31
0.669173
24
133
3.708333
0.75
0.337079
0
0
0
0
0
0
0
0
0
0.125
0.218045
133
6
31
22.166667
0.730769
0.458647
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c4807a35a8f95d3d3eeb87c3f93052f8b2d677f3
1,904
py
Python
mitochondria/fitness.py
alvations/midichlorian
939aad33e32b4d8b6c24bca875a8cd81a88f783d
[ "MIT" ]
1
2018-08-08T03:15:20.000Z
2018-08-08T03:15:20.000Z
mitochondria/fitness.py
alvations/midichlorian
939aad33e32b4d8b6c24bca875a8cd81a88f783d
[ "MIT" ]
1
2018-08-07T06:16:26.000Z
2018-08-08T01:36:22.000Z
mitochondria/fitness.py
alvations/midichlorian
939aad33e32b4d8b6c24bca875a8cd81a88f783d
[ "MIT" ]
null
null
null
#!/usr/bin/env python #-*- coding: utf-8 -*- class Fitness: def __init__(self, criterion, *args, **kwargs): """ Simplest single criterion fitness object. :param criterion: Generic container to store the fitness criterion;. :type criterion: object """ self.criterion ...
28.848485
76
0.633929
214
1,904
5.341122
0.299065
0.113736
0.065617
0.094488
0.486439
0.415573
0.354331
0.303587
0.303587
0.303587
0
0.001438
0.269433
1,904
65
77
29.292308
0.820273
0.335084
0
0.25
0
0
0.007175
0
0
0
0
0
0
1
0.392857
false
0
0
0.25
0.821429
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
c487c8d03985e507906042627375abb4b94a25fa
349
py
Python
parseanno/anno/build.py
zjZSTU/ParseAnno
01079fbf010c5354dd79e6901b7fe81aac4761f2
[ "Apache-2.0" ]
null
null
null
parseanno/anno/build.py
zjZSTU/ParseAnno
01079fbf010c5354dd79e6901b7fe81aac4761f2
[ "Apache-2.0" ]
null
null
null
parseanno/anno/build.py
zjZSTU/ParseAnno
01079fbf010c5354dd79e6901b7fe81aac4761f2
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ @date: 2020/7/16 下午8:17 @file: build.py @author: zj @description: """ from parseanno.anno import registry from .yolov5_anno import YoLoV5Anno from .labelimg_anno import LabelImgAnno from .visdrone_anno import VisDroneAnno from .tlt_anno import TltAnno def build_anno(name, cfg): retu...
18.368421
39
0.74212
50
349
5.08
0.66
0.19685
0
0
0
0
0
0
0
0
0
0.043333
0.140401
349
18
40
19.388889
0.803333
0.255014
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.714286
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
c48a0016765e02a91b4d92f76897486b302f91c0
3,785
py
Python
LatinSquare.py
vincentfilou/latin-square-sat
1c2f006843016945da6aa6799e4a111b85b19dc4
[ "Unlicense" ]
null
null
null
LatinSquare.py
vincentfilou/latin-square-sat
1c2f006843016945da6aa6799e4a111b85b19dc4
[ "Unlicense" ]
null
null
null
LatinSquare.py
vincentfilou/latin-square-sat
1c2f006843016945da6aa6799e4a111b85b19dc4
[ "Unlicense" ]
null
null
null
import Propositions import Clauses problemSize = 2 def Product(a,b): product = [] for x in a: for y in b: product.append((x,y)) return product ## La colonne x def column(x): return Product([x],range(0,problemSize)) ## La ligne y def line(y): return Product(range(0,problemSize...
30.772358
217
0.682959
576
3,785
4.289931
0.133681
0.103197
0.109268
0.106839
0.58883
0.479563
0.424524
0.393363
0.347228
0.309187
0
0.012833
0.176486
3,785
123
218
30.772358
0.779917
0.031704
0
0.170455
0
0
0.003558
0
0
0
0
0
0
1
0.25
false
0
0.022727
0.125
0.511364
0.045455
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
670224c71ffae621d2defc8f45b17cb7c79a2f73
210
py
Python
tests/urls.py
mediapop/django-spreedly
95a509c3ceebbb62ea2f72276318dd422138e984
[ "MIT" ]
1
2015-05-26T20:11:40.000Z
2015-05-26T20:11:40.000Z
tests/urls.py
mediapop/django-spreedly
95a509c3ceebbb62ea2f72276318dd422138e984
[ "MIT" ]
null
null
null
tests/urls.py
mediapop/django-spreedly
95a509c3ceebbb62ea2f72276318dd422138e984
[ "MIT" ]
null
null
null
from django.conf.urls.defaults import * from django.contrib.auth.views import login urlpatterns = patterns('', url(r'^accounts/login/$',login, name='login'), url(r'^', include('spreedly.urls')), )
26.25
50
0.67619
27
210
5.259259
0.666667
0.140845
0
0
0
0
0
0
0
0
0
0
0.138095
210
7
51
30
0.78453
0
0
0
0
0
0.171429
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
6703aa57295c2f0ec6be4b9fa505ee30ea53a1dc
5,548
py
Python
ddtrace/contrib/pylibmc/client.py
mykytarudenko/new-project
e06a912382239739dd3f93b54d545b9506102372
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
ddtrace/contrib/pylibmc/client.py
mykytarudenko/new-project
e06a912382239739dd3f93b54d545b9506102372
[ "Apache-2.0", "BSD-3-Clause" ]
1
2021-01-27T04:53:24.000Z
2021-01-27T04:53:24.000Z
ddtrace/contrib/pylibmc/client.py
mykytarudenko/new-project
e06a912382239739dd3f93b54d545b9506102372
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
from contextlib import contextmanager import random import pylibmc # project import ddtrace from ddtrace import config # 3p from ddtrace.vendor.wrapt import ObjectProxy from ...constants import ANALYTICS_SAMPLE_RATE_KEY from ...constants import SPAN_MEASURED_KEY from ...ext import SpanTypes from ...ext import memcac...
33.624242
97
0.628154
701
5,548
4.7903
0.272468
0.101251
0.058368
0.077427
0.264443
0.235855
0.235855
0.125074
0.125074
0.066111
0
0.002435
0.259913
5,548
164
98
33.829268
0.815392
0.179704
0
0.116505
0
0
0.060842
0
0
0
0
0.012195
0
1
0.194175
false
0
0.126214
0.126214
0.504854
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
0
1
1
0
0
3
6708b0b9d5bc14f27823f086c5219c3f68966bb7
13,931
py
Python
scripts/aws_setup.py
vhirtham/weldx
50d212e9755271d7299acac103f3f0a8f1390fd6
[ "BSD-3-Clause" ]
null
null
null
scripts/aws_setup.py
vhirtham/weldx
50d212e9755271d7299acac103f3f0a8f1390fd6
[ "BSD-3-Clause" ]
null
null
null
scripts/aws_setup.py
vhirtham/weldx
50d212e9755271d7299acac103f3f0a8f1390fd6
[ "BSD-3-Clause" ]
null
null
null
"""Generate example implementation of AWS "A Welding Data Dictionary.""" from weldx.asdf.utils import create_asdf_dataclass # design ----------------------------------------------------------------- """ create_asdf_dataclass( asdf_name="aws/NAME", asdf_version="1.0.0", class_name="PythonClass", schem...
36.564304
371
0.610581
1,440
13,931
5.714583
0.199306
0.030623
0.030016
0.03354
0.436991
0.396038
0.377567
0.296755
0.243286
0.18374
0
0.010369
0.224679
13,931
380
372
36.660526
0.751504
0.086139
0
0.570934
1
0.013841
0.6093
0.070738
0
0
0
0
0
1
0
true
0.010381
0.00346
0
0.00346
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6718599462e46fded67303b27406c4fc35cca133
1,309
py
Python
corehq/apps/builds/fixtures.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
471
2015-01-10T02:55:01.000Z
2022-03-29T18:07:18.000Z
corehq/apps/builds/fixtures.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
14,354
2015-01-01T07:38:23.000Z
2022-03-31T20:55:14.000Z
corehq/apps/builds/fixtures.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
175
2015-01-06T07:16:47.000Z
2022-03-29T13:27:01.000Z
import json commcare_build_config = json.loads("""{ "_id": "config--commcare-builds", "doc_type": "CommCareBuildConfig", "preview": { "version": "1.2.1", "build_number": null, "latest": true }, "defaults": [{ "version": "1.2.1", "build_number": null, "latest": ...
22.964912
45
0.381971
114
1,309
4.280702
0.245614
0.157787
0.215164
0.30123
0.577869
0.577869
0.577869
0.577869
0.469262
0
0
0.048583
0.433919
1,309
56
46
23.375
0.609987
0
0
0.418182
0
0
0.956455
0.073338
0
0
0
0
0
1
0
false
0
0.018182
0
0.018182
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
671a5dddd8e5bf7059e15aa9c72351b1c771e179
223
py
Python
nexinfosys/magic_specific_integrations/__init__.py
MAGIC-nexus/nis-backend
dd425925321134f66884f60b202a59b38b7786a0
[ "BSD-3-Clause" ]
6
2019-05-31T23:02:30.000Z
2022-01-07T22:56:50.000Z
nexinfosys/magic_specific_integrations/__init__.py
ENVIRO-Module/nis-backend
fd86cf30f79f53cdccddd2a5479507d32f914d4e
[ "BSD-3-Clause" ]
2
2021-12-03T18:22:42.000Z
2021-12-13T19:57:15.000Z
nexinfosys/magic_specific_integrations/__init__.py
ENVIRO-Module/nis-backend
fd86cf30f79f53cdccddd2a5479507d32f914d4e
[ "BSD-3-Clause" ]
3
2019-04-05T16:45:09.000Z
2021-03-17T12:05:44.000Z
""" A package in which functionality specific to MAGIC H2020 project can be found The rest of the source code should not depend on MAGIC, being base on "plain" MuSIASEM and of course its evolution inside MAGIC project. """
37.166667
77
0.780269
37
223
4.702703
0.837838
0
0
0
0
0
0
0
0
0
0
0.021739
0.174888
223
6
78
37.166667
0.923913
0.959641
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
67309bca94c648a1d9d62fa011619647d043b873
1,497
py
Python
src/stk/molecular/key_makers/inchi.py
stevenbennett96/stk
6e5af87625b83e0bfc7243bc42d8c7a860cbeb76
[ "MIT" ]
null
null
null
src/stk/molecular/key_makers/inchi.py
stevenbennett96/stk
6e5af87625b83e0bfc7243bc42d8c7a860cbeb76
[ "MIT" ]
null
null
null
src/stk/molecular/key_makers/inchi.py
stevenbennett96/stk
6e5af87625b83e0bfc7243bc42d8c7a860cbeb76
[ "MIT" ]
null
null
null
""" InChI ===== """ from __future__ import annotations from .molecule import MoleculeKeyMaker from .utilities import get_inchi class Inchi(MoleculeKeyMaker): """ Used to get the InChI of molecules. Examples: *Adding InChI to a Molecule's JSON* You want to use the InChI as part of a J...
22.343284
71
0.547094
156
1,497
4.948718
0.391026
0.042746
0.050518
0.054404
0.173575
0.173575
0.173575
0
0
0
0
0.011282
0.348697
1,497
66
72
22.681818
0.780513
0.663995
0
0
0
0
0.034286
0
0
0
0
0
0
1
0.3
false
0
0.3
0.2
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6739d106043d84c10f8da823e56a413364cc7098
1,209
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/NV/conservative_raster_pre_snap.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/NV/conservative_raster_pre_snap.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/NV/conservative_raster_pre_snap.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''OpenGL extension NV.conservative_raster_pre_snap This module customises the behaviour of the OpenGL.raw.GLES2.NV.conservative_raster_pre_snap to provide a more Python-friendly API Overview (from the spec) NV_conservative_raster_pre_snap_triangles provides a new mode to achieve rasterization of trian...
39
77
0.799007
169
1,209
5.56213
0.491124
0.089362
0.12766
0.146809
0.238298
0.152128
0.152128
0.152128
0.108511
0.108511
0
0.003891
0.149711
1,209
31
78
39
0.910506
0.647643
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.777778
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
673fe7a1a2afc3b12442680fc8609c43acddc0b8
1,504
py
Python
flask/static/Database.py
tlee753/cellside-assistance
b6dbf762a07048b36c7719a0688b0291a38bc4ec
[ "Apache-2.0" ]
null
null
null
flask/static/Database.py
tlee753/cellside-assistance
b6dbf762a07048b36c7719a0688b0291a38bc4ec
[ "Apache-2.0" ]
null
null
null
flask/static/Database.py
tlee753/cellside-assistance
b6dbf762a07048b36c7719a0688b0291a38bc4ec
[ "Apache-2.0" ]
null
null
null
from pymongo import MongoClient from bson import ObjectId import json # Database connection information host = 'localhost' port = 27017 dbName = 'cellsideAssistance' class JSONEncoder(json.JSONEncoder): def default(self, o): if isinstance(o, ObjectId): return str(o) return json.JSONEnc...
30.693878
89
0.683511
165
1,504
6.09697
0.333333
0.111332
0.139165
0.095427
0.238569
0.168986
0.159046
0
0
0
0
0.007494
0.201463
1,504
48
90
31.333333
0.830142
0.020612
0
0.057143
0
0
0.048266
0
0
0
0
0
0
1
0.314286
false
0
0.085714
0.2
0.742857
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
6740523053f554987b2e74be49927394bede7f04
45,794
py
Python
uhd_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudointerface_89754a450e3c5a1e7f9a873f3cd3b99a.py
rfrye-github/ixnetwork_restpy
23eeb24b21568a23d3f31bbd72814ff55eb1af44
[ "MIT" ]
null
null
null
uhd_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudointerface_89754a450e3c5a1e7f9a873f3cd3b99a.py
rfrye-github/ixnetwork_restpy
23eeb24b21568a23d3f31bbd72814ff55eb1af44
[ "MIT" ]
null
null
null
uhd_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudointerface_89754a450e3c5a1e7f9a873f3cd3b99a.py
rfrye-github/ixnetwork_restpy
23eeb24b21568a23d3f31bbd72814ff55eb1af44
[ "MIT" ]
null
null
null
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, ...
43.530418
1,105
0.665437
4,542
45,794
6.57904
0.113827
0.039154
0.064855
0.028713
0.542065
0.518138
0.508132
0.487819
0.419149
0.370089
0
0.024061
0.249443
45,794
1,051
1,106
43.571836
0.845335
0.443093
0
0.331579
0
0
0.12045
0.044392
0
0
0
0
0
1
0.223684
false
0
0.173684
0
0.615789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
6754badd37e1f43bfd7e3285995d9a51c3f5889b
580
py
Python
Common Python Code/Common_Function.py
vibwipro/Machine-Learning-Python
a5e2ef30db0c7825ab910d802795e82b4b5fc49c
[ "MIT" ]
3
2019-10-02T12:10:28.000Z
2019-10-09T12:55:32.000Z
Common Python Code/Common_Function.py
vibwipro/Machine-Learning-Python
a5e2ef30db0c7825ab910d802795e82b4b5fc49c
[ "MIT" ]
null
null
null
Common Python Code/Common_Function.py
vibwipro/Machine-Learning-Python
a5e2ef30db0c7825ab910d802795e82b4b5fc49c
[ "MIT" ]
1
2019-10-04T14:12:47.000Z
2019-10-04T14:12:47.000Z
def squared(n): return n * n def cubed(n): return n * n * n def raise_power(n, power): total = 1 for t in range (power) : total = total * n return total def is_divisible(n, t): return n % t == 0 def is_even(n): return n % 2 == 0 def is_odd(n): return n % 2 != 0 p...
20.714286
90
0.57931
106
580
3.122642
0.462264
0.10574
0.096677
0.054381
0.114804
0.054381
0
0
0
0
0
0.067442
0.258621
580
28
90
20.714286
0.702326
0.208621
0
0
0
0
0
0
0
0
0
0
0
1
0.352941
false
0
0
0.294118
0.705882
0.117647
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
6762919b176bedfdf951f4f8ea7c286d4787e989
245
py
Python
{{ cookiecutter.hosting_github_reponame }}/python/cdp_{{ cookiecutter.python_municipality_slug }}_backend/__init__.py
isometimescode/cookiecutter-cdp-deployment
1a66e24d009d1737ba57b26c576c0567f3d6b921
[ "MIT" ]
null
null
null
{{ cookiecutter.hosting_github_reponame }}/python/cdp_{{ cookiecutter.python_municipality_slug }}_backend/__init__.py
isometimescode/cookiecutter-cdp-deployment
1a66e24d009d1737ba57b26c576c0567f3d6b921
[ "MIT" ]
null
null
null
{{ cookiecutter.hosting_github_reponame }}/python/cdp_{{ cookiecutter.python_municipality_slug }}_backend/__init__.py
isometimescode/cookiecutter-cdp-deployment
1a66e24d009d1737ba57b26c576c0567f3d6b921
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Top-level package for {{ cookiecutter.municipality }} CDP instance backend. """ __author__ = "{{ cookiecutter.maintainer_full_name }}" __version__ = "1.0.0" def get_module_version() -> str: return __version__
17.5
54
0.681633
28
245
5.392857
0.857143
0
0
0
0
0
0
0
0
0
0
0.019324
0.155102
245
13
55
18.846154
0.710145
0.4
0
0
0
0
0.316547
0.23741
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
67972876a5368fb82fe774c4e019fa78b3e953a7
303
py
Python
Ene-Jun-2022/saul-alejandro-cavazos-nelson/practica_1_comandos_de_python.py
KevinBR117/DAS_Sistemas
4f8b3ba3ddba1dd5591dd4b29ba5e7b3c2f1db90
[ "MIT" ]
1
2022-01-19T02:36:25.000Z
2022-01-19T02:36:25.000Z
Ene-Jun-2022/saul-alejandro-cavazos-nelson/practica_1_comandos_de_python.py
KevinBR117/DAS_Sistemas
4f8b3ba3ddba1dd5591dd4b29ba5e7b3c2f1db90
[ "MIT" ]
null
null
null
Ene-Jun-2022/saul-alejandro-cavazos-nelson/practica_1_comandos_de_python.py
KevinBR117/DAS_Sistemas
4f8b3ba3ddba1dd5591dd4b29ba5e7b3c2f1db90
[ "MIT" ]
null
null
null
# estos es un cometario en python #decalro una variable x = 5 # imprime variable print ("x =",x) #operaciones aritmeticas print ("x - 5 = ",x - 5) print ("x + 5 = ",x + 5) print ("x * 5 = ",x * 5) print ("x % 5 = ",x % 5) print ("x / 5 = ",x /5) print ("x // 5 = ",x //5) print ("x ** 5 = ",x **5)
18.9375
33
0.50495
53
303
2.886792
0.283019
0.196078
0.320261
0.366013
0.411765
0.411765
0.411765
0.411765
0.411765
0.411765
0
0.066964
0.260726
303
16
34
18.9375
0.616071
0.306931
0
0
0
0
0.296117
0
0
0
0
0
0
1
0
false
0
0
0
0
0.888889
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
0
1
0
3
679bdecf703ee377cffe2dec4cb533650a3528f8
1,363
py
Python
class7/exercises/ex3_xmltodict_forcelist.py
ksannedhi/pyplus_course
fc3499f2dfef472dc49fe6caddf2e6e2be160f4b
[ "Apache-2.0" ]
39
2019-03-03T18:16:55.000Z
2022-02-17T17:05:18.000Z
class7/exercises/ex3_xmltodict_forcelist.py
ksannedhi/pyplus_course
fc3499f2dfef472dc49fe6caddf2e6e2be160f4b
[ "Apache-2.0" ]
1
2020-06-17T22:39:28.000Z
2020-06-17T22:39:28.000Z
class7/exercises/ex3_xmltodict_forcelist.py
ksannedhi/pyplus_course
fc3499f2dfef472dc49fe6caddf2e6e2be160f4b
[ "Apache-2.0" ]
77
2019-01-25T10:41:23.000Z
2022-03-14T21:35:59.000Z
from __future__ import unicode_literals, print_function import xmltodict def read_xml_forcelist(filename, force_list=None): if force_list is None: force_list = {} with open(filename, "r") as infile: return xmltodict.parse(infile.read(), force_list=force_list) def read_xml(filename): with...
30.977273
83
0.691856
182
1,363
4.895604
0.241758
0.121212
0.171717
0.103255
0.720539
0.720539
0.654321
0.654321
0.654321
0.601571
0
0.005329
0.173881
1,363
43
84
31.697674
0.785968
0
0
0.40625
0
0
0.283933
0.059428
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.1875
0.4375
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
0
0
0
0
0
0
1
0
3
679e06989083011bdd9cf6fb4b03d7cfcf01979f
1,535
py
Python
flopy/utils/__init__.py
ritchie46/flopy
8e7284dcb3aaf5c12293d442248c2c2d9959f835
[ "CC0-1.0", "BSD-3-Clause" ]
null
null
null
flopy/utils/__init__.py
ritchie46/flopy
8e7284dcb3aaf5c12293d442248c2c2d9959f835
[ "CC0-1.0", "BSD-3-Clause" ]
null
null
null
flopy/utils/__init__.py
ritchie46/flopy
8e7284dcb3aaf5c12293d442248c2c2d9959f835
[ "CC0-1.0", "BSD-3-Clause" ]
null
null
null
""" the main entry point of utils Parameters ---------- Attributes ---------- Methods ------- See Also -------- Notes ----- Examples -------- """ from .mfreadnam import parsenamefile from .util_array import Util3d, Util2d, Transient2d...
31.326531
75
0.747231
151
1,535
7.476821
0.629139
0.014172
0
0
0
0
0
0
0
0
0
0.005556
0.179153
1,535
49
76
31.326531
0.890476
0.09316
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.814815
0
0.814815
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
67b1b123c036a45b317794b8d0d4a1a5c0929bcd
905
py
Python
{{cookiecutter.project_slug}}/backend/app/app/data/user/schemas.py
tonyf/full-stack-fastapi-postgresql
2bd73227b14c55ea2c69af46ce169e25e3f4cd26
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/backend/app/app/data/user/schemas.py
tonyf/full-stack-fastapi-postgresql
2bd73227b14c55ea2c69af46ce169e25e3f4cd26
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/backend/app/app/data/user/schemas.py
tonyf/full-stack-fastapi-postgresql
2bd73227b14c55ea2c69af46ce169e25e3f4cd26
[ "MIT" ]
null
null
null
from typing import Optional from pydantic import BaseModel from pydantic.networks import EmailStr from app.data.base.schemas import ModelInDBMixin # Shared properties class UserBase(BaseModel): first_name: Optional[str] = None last_name: Optional[str] = None is_active: Optional[bool] = True is_superu...
19.255319
48
0.742541
116
905
5.706897
0.448276
0.042296
0.067976
0.057402
0.151057
0.151057
0
0
0
0
0
0
0.194475
905
46
49
19.673913
0.908093
0.192265
0
0.307692
0
0
0
0
0
0
0
0
0
1
0
true
0.115385
0.153846
0
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
67c018bbe61d58ffcf07c2afd64c7c2c2b49fb20
197
py
Python
examples/autopipegen/testp/mkdir1.py
microns-ariadne/ariadne-pipeline-test-harness
73e749c48d1ff103fee2044833778e33c70be73b
[ "MIT" ]
2
2016-03-15T15:07:06.000Z
2016-05-10T23:01:05.000Z
examples/autopipegen/testp/mkdir1.py
microns-ariadne/ariadne-pipeline-test-harness
73e749c48d1ff103fee2044833778e33c70be73b
[ "MIT" ]
null
null
null
examples/autopipegen/testp/mkdir1.py
microns-ariadne/ariadne-pipeline-test-harness
73e749c48d1ff103fee2044833778e33c70be73b
[ "MIT" ]
null
null
null
# generated by shell2pipe on 2016-03-15 import os import plugin plugin_class='mkdir1' class mkdir1(plugin.AriadneOp): name='mkdir1' def run(self, args): os.system('mkdir tmp')
14.071429
39
0.685279
28
197
4.785714
0.75
0.164179
0
0
0
0
0
0
0
0
0
0.076433
0.203046
197
13
40
15.153846
0.77707
0.187817
0
0
1
0
0.132911
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
67c535e3e3a5dee771d1878c8f86bae118f91018
180
py
Python
pipeline/utils/list_files.py
smtr42/data_pipeline
a4c961e7556b32567add65b20ec361a432f91840
[ "MIT" ]
null
null
null
pipeline/utils/list_files.py
smtr42/data_pipeline
a4c961e7556b32567add65b20ec361a432f91840
[ "MIT" ]
null
null
null
pipeline/utils/list_files.py
smtr42/data_pipeline
a4c961e7556b32567add65b20ec361a432f91840
[ "MIT" ]
null
null
null
from pathlib import Path def list_files(directory): """Generator listing all images in specified irectory.""" for k in Path(directory).rglob("*.*"): yield k.name
22.5
61
0.672222
24
180
5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.205556
180
7
62
25.714286
0.839161
0.283333
0
0
0
0
0.02439
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
67d8b7f88ce9284e43af82b3b50ddf4862aa499b
64
py
Python
tweet/users.py
skiwheelr/URS
45746c945af2ea62a5ddb675c6a8e4e2fe4b5a93
[ "MIT" ]
4
2021-02-15T02:02:38.000Z
2022-03-04T16:38:44.000Z
tweet/users.py
skiwheelr/URS
45746c945af2ea62a5ddb675c6a8e4e2fe4b5a93
[ "MIT" ]
null
null
null
tweet/users.py
skiwheelr/URS
45746c945af2ea62a5ddb675c6a8e4e2fe4b5a93
[ "MIT" ]
2
2021-02-11T01:10:27.000Z
2021-02-25T19:20:04.000Z
list = ["mrzackmorris","pharmdca","ripster47","VIPSheffTrades"]
32
63
0.734375
5
64
9.4
1
0
0
0
0
0
0
0
0
0
0
0.032787
0.046875
64
1
64
64
0.737705
0
0
0
0
0
0.671875
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
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
67ef4d770f3c7157cfc40e294c92c292ed9072e0
221
py
Python
pov_mileage_stats/results_export.py
samueldy/pov_mileage_stats
4f142cacdda0ea39aceab174a29b71068aaefa17
[ "MIT" ]
null
null
null
pov_mileage_stats/results_export.py
samueldy/pov_mileage_stats
4f142cacdda0ea39aceab174a29b71068aaefa17
[ "MIT" ]
null
null
null
pov_mileage_stats/results_export.py
samueldy/pov_mileage_stats
4f142cacdda0ea39aceab174a29b71068aaefa17
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ resultsExport.py A small command-line tool to calculate mileage statistics for a personally-owned vehicle. Handles results export to Python objects, ready for use in a Jinja HTML template. """
31.571429
89
0.751131
33
221
5.030303
0.878788
0
0
0
0
0
0
0
0
0
0
0.005348
0.153846
221
7
90
31.571429
0.882353
0.959276
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
67f7a1772358f9d9c9924094875ea0623202a7ef
115
py
Python
practice/practice_perfect/ex5.py
recursivelycurious/wordnik-repl
9d9e96a8ebc79b95f135d5bc871602b65d2d2b79
[ "MIT" ]
null
null
null
practice/practice_perfect/ex5.py
recursivelycurious/wordnik-repl
9d9e96a8ebc79b95f135d5bc871602b65d2d2b79
[ "MIT" ]
8
2017-12-29T21:19:00.000Z
2018-04-01T05:05:05.000Z
practice/practice_perfect/ex5.py
recursivelycurious/wordnik-repl
9d9e96a8ebc79b95f135d5bc871602b65d2d2b79
[ "MIT" ]
1
2017-12-27T23:45:58.000Z
2017-12-27T23:45:58.000Z
def count(sequence, item): amount = 0 for x in sequence: if x == item: amount += 1 return amount
16.428571
26
0.582609
17
115
3.941176
0.705882
0.298507
0
0
0
0
0
0
0
0
0
0.025641
0.321739
115
6
27
19.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
67fa2cf2b51b355d422b50d34f60083708fe5b92
978
py
Python
tests/test_spin_add.py
haakoek/quantum-systems
1d3421f15e8ba3ec203cbdda538e033bf9987682
[ "MIT" ]
null
null
null
tests/test_spin_add.py
haakoek/quantum-systems
1d3421f15e8ba3ec203cbdda538e033bf9987682
[ "MIT" ]
null
null
null
tests/test_spin_add.py
haakoek/quantum-systems
1d3421f15e8ba3ec203cbdda538e033bf9987682
[ "MIT" ]
null
null
null
import pytest import numpy as np from quantum_systems import BasisSet def test_add_spin_spf(): spf = (np.arange(15) + 1).reshape(3, 5).T n = 3 n_a = 2 n_b = n - n_a l = 2 * spf.shape[0] assert l == 10 m_a = l // 2 - n_a assert m_a == 3 m_b = l // 2 - n_b assert m_b == 4 ...
20.375
50
0.637014
173
978
3.393064
0.248555
0.112436
0.255537
0.391823
0.660988
0.609881
0.609881
0.562181
0
0
0
0.045812
0.218814
978
47
51
20.808511
0.722513
0.070552
0
0
0
0
0
0
0
0
0
0
0.52
1
0.04
false
0
0.12
0
0.16
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
db01eef735277b3f5b32d8cc9e49ceabf686ddd4
491
py
Python
Django-habits-reminder/Django-habits-reminder/django-habits/Scripts/sassc-script.py
KrystianKlik/Django-habits-reminder
915e802aea87cbc48ae07c98701285379423cdf6
[ "MIT" ]
null
null
null
Django-habits-reminder/Django-habits-reminder/django-habits/Scripts/sassc-script.py
KrystianKlik/Django-habits-reminder
915e802aea87cbc48ae07c98701285379423cdf6
[ "MIT" ]
8
2021-03-19T08:39:55.000Z
2022-02-10T10:14:40.000Z
Django-habits-reminder/Django-habits-reminder/django-habits/Scripts/sassc-script.py
KrystianKlik/Django-habits-reminder
915e802aea87cbc48ae07c98701285379423cdf6
[ "MIT" ]
null
null
null
#!C:\Users\kryst\Documents\Django-habits-reminder\Django-habits-reminder\Django-habits-reminder\django-habits\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'libsass==0.19.4','console_scripts','sassc' __requires__ = 'libsass==0.19.4' import re import sys from pkg_resources import load_entry_point if __name__ == '__ma...
37.769231
128
0.704684
72
491
4.541667
0.513889
0.146789
0.183486
0.238532
0.40367
0.40367
0.40367
0.220183
0
0
0
0.031746
0.101833
491
12
129
40.916667
0.709751
0.403259
0
0
0
0
0.278351
0.079038
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
db075da56790d1dc43f844287c5ff6d43836332c
5,880
py
Python
tests/test_parsing.py
One-sixth/imageio-ffmpeg
888dace44a2160395cd88c577d542fe820086aa0
[ "BSD-2-Clause" ]
null
null
null
tests/test_parsing.py
One-sixth/imageio-ffmpeg
888dace44a2160395cd88c577d542fe820086aa0
[ "BSD-2-Clause" ]
null
null
null
tests/test_parsing.py
One-sixth/imageio-ffmpeg
888dace44a2160395cd88c577d542fe820086aa0
[ "BSD-2-Clause" ]
null
null
null
# styletest: ignore E501 """ Tests specific to parsing ffmpeg header. """ import os from pytest import skip from imageio_ffmpeg._parsing import cvsecs, limit_lines, parse_ffmpeg_header if os.getenv("TRAVIS_OS_NAME") == "windows": skip( "Skip this on the Travis Windows run for now, see #408", allow_module...
45.9375
723
0.611395
808
5,880
4.379951
0.304455
0.009042
0.031082
0.036734
0.735519
0.721955
0.701328
0.67844
0.655835
0.655835
0
0.137318
0.254422
5,880
127
724
46.299213
0.669936
0.021088
0
0.095238
0
0
0.092296
0
0
0
0
0
0.238095
1
0.119048
false
0
0.071429
0
0.214286
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
e1dd9b17cc614295b6cae4eec7bd0e80863746e8
794
py
Python
q2_types/ordination/__init__.py
jakereps/q2-types
9942237a3d44e159e3617b836e48435a12842e3c
[ "BSD-3-Clause" ]
8
2016-06-26T20:35:52.000Z
2021-08-08T07:45:56.000Z
q2_types/ordination/__init__.py
jakereps/q2-types
9942237a3d44e159e3617b836e48435a12842e3c
[ "BSD-3-Clause" ]
170
2016-05-10T19:27:56.000Z
2022-03-16T21:50:49.000Z
q2_types/ordination/__init__.py
jakereps/q2-types
9942237a3d44e159e3617b836e48435a12842e3c
[ "BSD-3-Clause" ]
44
2016-05-09T20:56:06.000Z
2021-08-17T17:09:39.000Z
# ---------------------------------------------------------------------------- # Copyright (c) 2016-2021, QIIME 2 development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # ------------------------------------------------...
33.083333
78
0.620907
57
794
8.491228
0.701754
0.169421
0.264463
0.371901
0
0
0
0
0
0
0
0.014368
0.123426
794
23
79
34.521739
0.681034
0.420655
0
0
0
0
0.338496
0.234513
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c02021e79e5cafe048396991cdfbc3fec87a07f6
71
py
Python
python/testData/editing/firstParamSpacesInsideParentheses.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/editing/firstParamSpacesInsideParentheses.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/editing/firstParamSpacesInsideParentheses.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
class C: def method<caret> @staticmethod def static<caret>
14.2
21
0.647887
9
71
5.111111
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.267606
71
5
22
14.2
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
c03aa7399dc7106dd5801b6e483073542e9a22bc
6,841
py
Python
tests/core/test_slowquery.py
datastax-labs/sperf
934248642c4ef6b5d944153fe45628a4bc3825fb
[ "Apache-2.0" ]
12
2020-05-27T20:21:10.000Z
2021-10-14T14:39:50.000Z
tests/core/test_slowquery.py
datastax-labs/sperf
934248642c4ef6b5d944153fe45628a4bc3825fb
[ "Apache-2.0" ]
43
2020-05-02T07:11:45.000Z
2021-10-01T15:16:17.000Z
tests/core/test_slowquery.py
datastax-labs/sperf
934248642c4ef6b5d944153fe45628a4bc3825fb
[ "Apache-2.0" ]
11
2020-05-28T16:15:07.000Z
2021-12-03T07:58:39.000Z
# Copyright 2021 DataStax, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
46.537415
159
0.638942
906
6,841
4.775938
0.199779
0.124798
0.120638
0.051768
0.77236
0.74948
0.721285
0.685926
0.668361
0.668361
0
0.164145
0.236807
6,841
146
160
46.856164
0.664624
0.095015
0
0.578947
0
0.105263
0.451241
0.100438
0
0
0
0
0.342105
1
0.052632
false
0
0.026316
0
0.096491
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
c046db120179a567f2d0244f0dfc73aa708df0d2
1,068
py
Python
scrob.py
lambdan/swiftscrobble
823ef1c99c025caccb923dd8babde3e31742c2d2
[ "MIT" ]
null
null
null
scrob.py
lambdan/swiftscrobble
823ef1c99c025caccb923dd8babde3e31742c2d2
[ "MIT" ]
null
null
null
scrob.py
lambdan/swiftscrobble
823ef1c99c025caccb923dd8babde3e31742c2d2
[ "MIT" ]
null
null
null
import pylast # pip3 install pylast import time, sys, base64 # base64 all the things to prevent $ escaping bash quotes artist = base64.b64decode(sys.argv[1]).decode("utf8") title = base64.b64decode(sys.argv[2]).decode("utf8") API_KEY = base64.b64decode(sys.argv[3]).decode("utf8") API_SECRET = base64.b64decode(sys.argv...
31.411765
86
0.679775
141
1,068
5.099291
0.390071
0.166898
0.200278
0.244784
0.15299
0.15299
0.15299
0.15299
0
0
0
0.061659
0.164794
1,068
33
87
32.363636
0.744395
0.070225
0
0
0
0
0.037374
0
0
0
0
0
0
1
0
false
0.076923
0.076923
0
0.076923
0.076923
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
22186d891f13ec9532731e84bdde6f9cacc54235
98
py
Python
scorebug/config.py
chrissabato/Daktronics-Scorebug-Generator
a40678f157541ac9a5c941f5cef7ee80288f5e48
[ "MIT" ]
1
2019-12-03T00:58:35.000Z
2019-12-03T00:58:35.000Z
scorebug/config.py
chrissabato/Daktronics-Scorebug-Generator
a40678f157541ac9a5c941f5cef7ee80288f5e48
[ "MIT" ]
1
2018-07-25T20:31:17.000Z
2018-07-25T20:31:17.000Z
scorebug/config.py
chrissabato/Daktronics-Scorebug-Generator
a40678f157541ac9a5c941f5cef7ee80288f5e48
[ "MIT" ]
1
2020-10-18T17:07:00.000Z
2020-10-18T17:07:00.000Z
AwayPlayerFoulClockStart=0 AwayLastPlayerFoul='' HomePlayerFoulClockStart=0 HomeLastPlayerFoul=''
19.6
26
0.877551
6
98
14.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.021277
0.040816
98
4
27
24.5
0.893617
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2229c724a51f9d86a11b260d8c2d2dfe4a61b250
1,054
py
Python
complexnn/__init__.py
alexf1991/CNBF
1dda6a6beecd3c37e89e37ade39ec8dbdd76eea4
[ "MIT" ]
null
null
null
complexnn/__init__.py
alexf1991/CNBF
1dda6a6beecd3c37e89e37ade39ec8dbdd76eea4
[ "MIT" ]
null
null
null
complexnn/__init__.py
alexf1991/CNBF
1dda6a6beecd3c37e89e37ade39ec8dbdd76eea4
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Authors: Olexa Bilaniuk # # What this module includes by default: import complexnn.bn, complexnn.conv, complexnn.dense, complexnn.fft, complexnn.init, complexnn.norm, complexnn.pool, complexnn.utils from .bn import ComplexBatchNormalization as ComplexBN from .b...
42.16
132
0.686907
104
1,054
6.913462
0.605769
0.01669
0.03338
0.044506
0
0
0
0
0
0
0
0.01375
0.240987
1,054
24
133
43.916667
0.885
0.098672
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.625
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
0
1
0
1
0
1
0
0
3
22310ebca747e91547ca81713509bd7707496996
265
py
Python
run_remind_job.py
nexocodecom/nisse.io
58a64072bc8dad87fbb1f54dabc93fd2d4cff6eb
[ "MIT" ]
null
null
null
run_remind_job.py
nexocodecom/nisse.io
58a64072bc8dad87fbb1f54dabc93fd2d4cff6eb
[ "MIT" ]
42
2018-07-20T14:15:48.000Z
2019-09-26T05:44:21.000Z
run_remind_job.py
nexocodecom/nisse.io
58a64072bc8dad87fbb1f54dabc93fd2d4cff6eb
[ "MIT" ]
null
null
null
import logging from flask import Flask from nisse.services.reminder_job import remind from nisse.utils.configs import load_config application = Flask(__name__, instance_relative_config=True) load_config(application) remind(application.logger, application.config)
26.5
60
0.85283
35
265
6.2
0.542857
0.082949
0.193548
0
0
0
0
0
0
0
0
0
0.086792
265
10
61
26.5
0.896694
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
223a0ab31e21212a9575d00abbf62e30b4f0e596
23,137
py
Python
pythonocc/lib/OCC/GccEnt.py
mbattistello/lambda_converters
0dfef8927d3ddbc74e5c8ce1c38701ea182a27b3
[ "MIT" ]
2
2017-10-30T15:51:48.000Z
2020-11-04T02:23:36.000Z
pythonocc/lib/OCC/GccEnt.py
mbattistello/lambda_converters
0dfef8927d3ddbc74e5c8ce1c38701ea182a27b3
[ "MIT" ]
null
null
null
pythonocc/lib/OCC/GccEnt.py
mbattistello/lambda_converters
0dfef8927d3ddbc74e5c8ce1c38701ea182a27b3
[ "MIT" ]
4
2017-11-29T05:24:34.000Z
2020-03-05T23:23:23.000Z
# This file was automatically generated by SWIG (http://www.swig.org). # Version 2.0.10 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (3,0,0): new_instancemethod = lambda func, inst, cls: _GccEnt....
38.690635
436
0.728184
2,623
23,137
6.122379
0.092261
0.058285
0.063018
0.050564
0.728003
0.54362
0.508251
0.434834
0.388505
0.373809
0
0.005217
0.196395
23,137
597
437
38.755444
0.858495
0.296624
0
0.207469
1
0
0.020016
0
0
0
0
0
0
1
0.207469
false
0.012448
0.049793
0.008299
0.53527
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
22624e04ff35da4bf038a749f5b85f7a35d23b69
769
py
Python
test/test_db_matches_ui.py
Alimury/Python_lesson
8e97632fd9f1eaf4ec3cd878280333e1409beb52
[ "Apache-2.0" ]
null
null
null
test/test_db_matches_ui.py
Alimury/Python_lesson
8e97632fd9f1eaf4ec3cd878280333e1409beb52
[ "Apache-2.0" ]
null
null
null
test/test_db_matches_ui.py
Alimury/Python_lesson
8e97632fd9f1eaf4ec3cd878280333e1409beb52
[ "Apache-2.0" ]
1
2020-12-29T17:55:13.000Z
2020-12-29T17:55:13.000Z
from model.group import Group from timeit import timeit from model.add_new import Add_New def test_group_list(app, db): print(timeit(lambda: app.group.get_group_list(), number=1)) def clean(group): return Group(id=group.id, name=group.name.strip()) print(timeit(lambda: map(clean, db.get_group_list...
32.041667
109
0.706112
118
769
4.389831
0.305085
0.057915
0.046332
0.069498
0.07722
0.07722
0.07722
0
0
0
0
0.00939
0.169051
769
23
110
33.434783
0.801252
0
0
0
0
0
0
0
0
0
0
0
0.125
1
0.25
false
0
0.1875
0.125
0.5625
0.125
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
97f011eae9fe50eff167ea50f068ffbe9c7700e8
283
py
Python
docs/examples/container/joyent/instantiate_driver.py
dupontz/libcloud
419c69441ea10e7bbf37319e5e8d02e82e7e6b40
[ "Apache-2.0" ]
1,435
2015-01-07T05:32:51.000Z
2022-03-25T19:39:34.000Z
docs/examples/container/joyent/instantiate_driver.py
dupontz/libcloud
419c69441ea10e7bbf37319e5e8d02e82e7e6b40
[ "Apache-2.0" ]
1,158
2015-01-04T18:08:42.000Z
2022-03-24T14:34:57.000Z
docs/examples/container/joyent/instantiate_driver.py
dupontz/libcloud
419c69441ea10e7bbf37319e5e8d02e82e7e6b40
[ "Apache-2.0" ]
832
2015-01-05T09:20:21.000Z
2022-03-24T19:22:19.000Z
from libcloud.container.types import Provider from libcloud.container.providers import get_driver cls = get_driver(Provider.JOYENT) conn = cls(host='us-east-1.docker.joyent.com', port=2376, key_file='key.pem', cert_file='~/.sdc/docker/admin/ca.pem') conn.list_images()
28.3
70
0.745583
43
283
4.790698
0.674419
0.116505
0.203884
0
0
0
0
0
0
0
0
0.01992
0.113074
283
9
71
31.444444
0.800797
0
0
0
0
0
0.212014
0.187279
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
97fb955b4abe14fe171a487e83f556f4db1bc88f
953
py
Python
commondata/eg/places.py
lsaffre/commondata-eg
39381790a38d2ea15d713467fb288f9f22bbdb2d
[ "BSD-2-Clause" ]
null
null
null
commondata/eg/places.py
lsaffre/commondata-eg
39381790a38d2ea15d713467fb288f9f22bbdb2d
[ "BSD-2-Clause" ]
null
null
null
commondata/eg/places.py
lsaffre/commondata-eg
39381790a38d2ea15d713467fb288f9f22bbdb2d
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: UTF-8 -*- # Copyright 2014 Luc Saffre # Copyright 2015 Modified by Mahmoud Mamdouh # License: BSD (see file COPYING for details) from __future__ import unicode_literals from __future__ import print_function from commondata.utils import Place, PlaceGenerator class PlaceInEgypt(Place): def __unicod...
21.177778
50
0.701994
122
953
5.327869
0.516393
0.107692
0.169231
0.176923
0.166154
0
0
0
0
0
0
0.017219
0.207765
953
44
51
21.659091
0.843709
0.140609
0
0
0
0
0.039312
0
0
0
0
0
0
1
0.08
false
0
0.32
0.04
0.84
0.04
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
3f0a85459b9719f8814644a5b7d8f5de50aa8f6d
30,745
py
Python
dbp_pb2.py
dabankio/rpc-sync
dd4cda16a70b9ea6d6270f1e326cedb35e414ebb
[ "MIT" ]
null
null
null
dbp_pb2.py
dabankio/rpc-sync
dd4cda16a70b9ea6d6270f1e326cedb35e414ebb
[ "MIT" ]
null
null
null
dbp_pb2.py
dabankio/rpc-sync
dd4cda16a70b9ea6d6270f1e326cedb35e414ebb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: dbp/dbp.proto from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection f...
32.812166
2,366
0.715498
4,014
30,745
5.206776
0.059791
0.05512
0.070335
0.04
0.723062
0.68622
0.677177
0.670048
0.623062
0.613684
0
0.042735
0.142235
30,745
936
2,367
32.847222
0.749772
0.032851
0
0.673709
1
0.001174
0.151454
0.081011
0
0
0
0
0
1
0
false
0
0.007042
0
0.007042
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3f156cb4e9651f27187e6e73c1009ef66479d255
209
py
Python
telegram_bot/urls.py
my4ever/cinema
abf614477d5c0bcabafaff117b2ae13ec65514fb
[ "MIT" ]
null
null
null
telegram_bot/urls.py
my4ever/cinema
abf614477d5c0bcabafaff117b2ae13ec65514fb
[ "MIT" ]
null
null
null
telegram_bot/urls.py
my4ever/cinema
abf614477d5c0bcabafaff117b2ae13ec65514fb
[ "MIT" ]
null
null
null
from django.urls import path from django.views.decorators.csrf import csrf_exempt from . import views urlpatterns = [ path('yougotmsg/', csrf_exempt(views.telegram_data), name='message_from_telegram') ]
23.222222
86
0.779904
28
209
5.642857
0.535714
0.126582
0
0
0
0
0
0
0
0
0
0
0.119617
209
8
87
26.125
0.858696
0
0
0
0
0
0.148325
0.100478
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
3f1c8c66428d8fa185f664fcc31f34472c21c4e3
1,846
py
Python
carrier/clustering/src/data/preparedata_cord.py
talk2sunil83/UpgradLearning
70c4f993c68ce5030e9df0edd15004bbb9fc71e7
[ "Apache-2.0" ]
null
null
null
carrier/clustering/src/data/preparedata_cord.py
talk2sunil83/UpgradLearning
70c4f993c68ce5030e9df0edd15004bbb9fc71e7
[ "Apache-2.0" ]
null
null
null
carrier/clustering/src/data/preparedata_cord.py
talk2sunil83/UpgradLearning
70c4f993c68ce5030e9df0edd15004bbb9fc71e7
[ "Apache-2.0" ]
null
null
null
# %% import set_base_path import numpy as np import pandas as pd from IPython.display import display import plotly.figure_factory as ff import plotly.graph_objects as go from enum import Enum, auto from typing import List, Sequence, Tuple from sklearn.model_selection import train_test_split import matplotlib.pyplot as ...
22.512195
92
0.748104
262
1,846
5.103053
0.480916
0.033657
0.059835
0.042633
0.094989
0
0
0
0
0
0
0.00615
0.119177
1,846
81
93
22.790123
0.816113
0.164139
0
0.055556
0
0
0.035764
0
0
0
0
0.012346
0
1
0
false
0
0.527778
0
0.527778
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
3f30f8f22d7157e8554177b7f7f9e772c55c58fd
162
py
Python
Mundo 1/ArquivosSemCores/File 005.py
PedroHenriqueSimoes/Exercicios-Python
702a819d508dd7878b88fb676559d899237ac761
[ "MIT" ]
1
2020-04-30T21:32:01.000Z
2020-04-30T21:32:01.000Z
Mundo 1/ArquivosSemCores/File 005.py
PedroHenriqueSimoes/Exercicios-Python
702a819d508dd7878b88fb676559d899237ac761
[ "MIT" ]
1
2021-10-05T02:00:04.000Z
2021-10-05T02:00:04.000Z
Mundo 1/ArquivosSemCores/File 005.py
PedroHenriqueSimoes/Exercicios-Python
702a819d508dd7878b88fb676559d899237ac761
[ "MIT" ]
null
null
null
num = (int(input('Digite um numero: '))) print('O numero digitado foi {},'.format(num)) print('seu sucessor é {}, e seu antecessor é {}'.format(num + 1, num- 1))
40.5
73
0.635802
26
162
3.961538
0.653846
0.174757
0
0
0
0
0
0
0
0
0
0.014493
0.148148
162
3
74
54
0.731884
0
0
0
0
0
0.512346
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
3f46dcc02f903b3d1c4573d7e364be24b418ae33
295
py
Python
test/templates/a.py
skytreesea/forsites
f80267525f5e7f8e8e24067ea3a793cef8874edb
[ "CC-BY-3.0" ]
1
2021-01-03T23:36:21.000Z
2021-01-03T23:36:21.000Z
test/templates/a.py
skytreesea/forsites
f80267525f5e7f8e8e24067ea3a793cef8874edb
[ "CC-BY-3.0" ]
null
null
null
test/templates/a.py
skytreesea/forsites
f80267525f5e7f8e8e24067ea3a793cef8874edb
[ "CC-BY-3.0" ]
null
null
null
# 크로바 아파트 들어가 아파트 이름, 주소, 정보까지 출력하는데 성공, csv화는 미성공 import requests, re, time from bs4 import BeautifulSoup as bs from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Chrome(r'"D:\user\Documents\chromedriver.exe"') driver.get('https://www.naver.com')
42.142857
66
0.776271
47
295
4.87234
0.765957
0.104803
0
0
0
0
0
0
0
0
0
0.003831
0.115254
295
7
67
42.142857
0.873563
0.162712
0
0
0
0
0.231707
0.146341
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3f4d4f74c7de82355d750374bf76f375de2b8106
333
py
Python
runners/caf.py
rudi/chat-app
ce80afdfea43cad366bb8b0ccd6341be9da22fa8
[ "BSD-2-Clause" ]
3
2019-10-25T11:39:51.000Z
2020-04-28T18:14:55.000Z
runners/caf.py
rudi/chat-app
ce80afdfea43cad366bb8b0ccd6341be9da22fa8
[ "BSD-2-Clause" ]
11
2020-04-10T10:09:45.000Z
2020-05-12T14:49:27.000Z
runners/caf.py
rudi/chat-app
ce80afdfea43cad366bb8b0ccd6341be9da22fa8
[ "BSD-2-Clause" ]
5
2020-04-08T15:32:46.000Z
2020-05-08T19:14:25.000Z
from runners.output_parser import OutputParser def setup(oBenchmarkRunner, cores, phys_cores, scenario, memory): oBenchmarkRunner.configure("caf", "caf/build/bin", memory, args = ["--parseable", "--scheduler.max-threads=" + str(cores)] + scenario) def gnuplot(cores, files, results): OutputParser(files).parse(core...
41.625
136
0.747748
39
333
6.333333
0.692308
0.105263
0
0
0
0
0
0
0
0
0
0
0.102102
333
7
137
47.571429
0.826087
0
0
0
0
0
0.153153
0.072072
0
0
0
0
0
1
0.4
false
0
0.2
0
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
1
0
0
0
0
1
0
0
3
3f4e554f2bb6dd36dab42701d6753a0ecb35a3dc
2,492
py
Python
python/kfserving/kfserving/__init__.py
shotarok/kfserving
4240cdcd984a9b8f7c97ce715ac0a0535c50ad46
[ "Apache-2.0" ]
null
null
null
python/kfserving/kfserving/__init__.py
shotarok/kfserving
4240cdcd984a9b8f7c97ce715ac0a0535c50ad46
[ "Apache-2.0" ]
null
null
null
python/kfserving/kfserving/__init__.py
shotarok/kfserving
4240cdcd984a9b8f7c97ce715ac0a0535c50ad46
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 kubeflow.org. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
48.862745
86
0.861557
308
2,492
6.788961
0.444805
0.095648
0.15495
0.05165
0.065041
0
0
0
0
0
0
0.035682
0.100321
2,492
50
87
49.84
0.896967
0.302167
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
3f52c59fd2abfe74440bbc922bed69f880b487aa
85
py
Python
code/abc115_b_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc115_b_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc115_b_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
n=int(input()) p=sorted([int(input()) for i in range(n)]) print(p[-1]//2+sum(p[:-1]))
28.333333
42
0.576471
19
85
2.578947
0.684211
0.326531
0
0
0
0
0
0
0
0
0
0.037975
0.070588
85
3
43
28.333333
0.582278
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
58ab35e25f13b6ce48d790b915239caf81fd20ca
8,313
py
Python
Project_3/source/final_model/test_final_model.py
larsjbro/FYS4150
95ac4e09b5aad133b29c9aabb5be1302abdd8e65
[ "BSD-2-Clause" ]
null
null
null
Project_3/source/final_model/test_final_model.py
larsjbro/FYS4150
95ac4e09b5aad133b29c9aabb5be1302abdd8e65
[ "BSD-2-Clause" ]
null
null
null
Project_3/source/final_model/test_final_model.py
larsjbro/FYS4150
95ac4e09b5aad133b29c9aabb5be1302abdd8e65
[ "BSD-2-Clause" ]
null
null
null
''' Created on 29. okt. 2017 @author: ljb ''' from __future__ import division from fys4150.project3.solar_systems import SolarSystem from fys4150.project3.ode_solvers import VelocityVerlet from fys4150.project3.utilities import (solve_and_plot_earth_and_jupiter_orbit, solve_tim...
43.52356
112
0.685432
1,196
8,313
4.66806
0.259197
0.011463
0.02436
0.025793
0.184847
0.159413
0.112843
0.086513
0.073975
0.073975
0
0.379701
0.194033
8,313
190
113
43.752632
0.453582
0.065199
0
0
0
0
0.023049
0.006243
0
0
0
0
0
0
null
null
0
0.114286
null
null
0.042857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
58adfc497b54251db4d9d3004b471a7044f5020f
1,220
py
Python
main/migrations/0005_auto_20171108_0714.py
julian-londono/Capital_One_Optimization
8853e45919c1ec972b4a02c6678e0233fb8984e9
[ "MIT" ]
1
2018-10-21T02:59:13.000Z
2018-10-21T02:59:13.000Z
main/migrations/0005_auto_20171108_0714.py
julian-londono/Capital_One_Optimization
8853e45919c1ec972b4a02c6678e0233fb8984e9
[ "MIT" ]
null
null
null
main/migrations/0005_auto_20171108_0714.py
julian-londono/Capital_One_Optimization
8853e45919c1ec972b4a02c6678e0233fb8984e9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-08 07:14 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0004_auto_20171108_0659'), ] operations = [ migrations.AlterField( ...
29.756098
85
0.586066
130
1,220
5.315385
0.438462
0.144718
0.180897
0.209841
0.633864
0.633864
0.51809
0.445731
0.445731
0.445731
0
0.070602
0.291803
1,220
40
86
30.5
0.729167
0.055738
0
0.575758
1
0
0.099217
0.020017
0
0
0
0
0
1
0
false
0
0.060606
0
0.151515
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
58b5a59a0d0f8a0c992f2ede3283f1273b8d6cd3
671
py
Python
pyhfo/core/__init__.py
andersonbrisil/pyhfo
0fdbe834442550117dc9d9c8f611989bb600db62
[ "MIT" ]
null
null
null
pyhfo/core/__init__.py
andersonbrisil/pyhfo
0fdbe834442550117dc9d9c8f611989bb600db62
[ "MIT" ]
null
null
null
pyhfo/core/__init__.py
andersonbrisil/pyhfo
0fdbe834442550117dc9d9c8f611989bb600db62
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Apr 17 13:43:48 2015 @author: anderson core __init__ """ from DataObj import * from EventList import * from SpikeObj import * from hfoObj import * from HFOSpectrum import * from pre_processing import decimate, resample, merge, add_bad, remove_bad, create_avg, create_median, e...
35.315789
134
0.819672
97
671
5.412371
0.670103
0.095238
0
0
0
0
0
0
0
0
0
0.021849
0.113264
671
18
135
37.277778
0.860504
0.135618
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
58c17b4855191a82feb6c54ed7200afa07b072f2
465
py
Python
genedom/__init__.py
Edinburgh-Genome-Foundry/genedom
71797d580ceba58c3a775e18a863dc5506644174
[ "MIT" ]
14
2018-04-17T06:33:20.000Z
2021-04-11T22:36:12.000Z
genedom/__init__.py
Edinburgh-Genome-Foundry/genedom
71797d580ceba58c3a775e18a863dc5506644174
[ "MIT" ]
2
2020-04-03T14:59:34.000Z
2020-09-06T18:31:20.000Z
genedom/__init__.py
Edinburgh-Genome-Foundry/genedom
71797d580ceba58c3a775e18a863dc5506644174
[ "MIT" ]
2
2019-04-12T14:17:19.000Z
2021-11-11T01:18:57.000Z
""" geneblocks/__init__.py """ # __all__ = [] from .PartDomesticator import PartDomesticator, GoldenGateDomesticator from .reports import write_pdf_domestication_report from .builtin_standards import BUILTIN_STANDARDS from .batch_domestication import batch_domestication from .biotools import (load_record, load_record...
35.769231
70
0.808602
48
465
7.333333
0.520833
0.090909
0
0
0
0
0
0
0
0
0
0
0.137634
465
12
71
38.75
0.877805
0.07957
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.875
0
0.875
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
58c534ed373d6c0ce9288eee1a48783bfb62c770
1,751
py
Python
assopy/stripe/tests/factories.py
C8E/assopy
94357bfb6dfd8f5e44f3b632e42f8789f0a8fcee
[ "BSD-2-Clause" ]
2
2019-05-04T08:55:52.000Z
2019-05-10T07:27:27.000Z
assopy/stripe/tests/factories.py
C8E/assopy
94357bfb6dfd8f5e44f3b632e42f8789f0a8fcee
[ "BSD-2-Clause" ]
2
2021-03-18T20:40:21.000Z
2021-09-07T23:55:54.000Z
assopy/stripe/tests/factories.py
C8E/assopy
94357bfb6dfd8f5e44f3b632e42f8789f0a8fcee
[ "BSD-2-Clause" ]
4
2015-02-16T19:34:06.000Z
2017-12-10T17:22:09.000Z
from __future__ import absolute_import from __future__ import unicode_literals from django.utils import timezone import factory from factory import fuzzy class UserFactory(factory.django.DjangoModelFactory): class Meta: model = 'auth.User' username = fuzzy.FuzzyText() password = factory.PostGen...
22.74026
73
0.706453
179
1,751
6.821229
0.396648
0.085176
0.203112
0.235872
0.460278
0.420966
0.384111
0.085176
0.085176
0
0
0.009986
0.199315
1,751
76
74
23.039474
0.860913
0
0
0.2
0
0
0.083952
0
0
0
0
0
0
1
0.04
false
0.02
0.1
0.04
0.8
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
58cb11f9ee688b88fd3409b943ab557d93fc4b8c
2,053
py
Python
stubs.min/System/Windows/Input/__init___parts/KeyGesture.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/System/Windows/Input/__init___parts/KeyGesture.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/Windows/Input/__init___parts/KeyGesture.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class KeyGesture(InputGesture): """ Defines a keyboard combination that can be used to invoke a command. KeyGesture(key: Key) KeyGesture(key: Key,modifiers: ModifierKeys) KeyGesture(key: Key,modifiers: ModifierKeys,displayString: str) """ def GetDisplayStringForCulture(self,culture): """ GetD...
31.584615
93
0.710667
238
2,053
6.063025
0.285714
0.06237
0.087318
0.116424
0.4158
0.306999
0.241857
0.190575
0.122661
0.122661
0
0
0.189966
2,053
64
94
32.078125
0.867709
0.509011
0
0.272727
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.272727
0
0
0.636364
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
58d3382c819f1417d47c6794bf4e6cd370d3742e
215
py
Python
PythonUtils/date_input.py
tiy1807/PythonUtils
caf48753fd5f8f984dc5e40b1f55f53706621dd0
[ "Apache-2.0" ]
null
null
null
PythonUtils/date_input.py
tiy1807/PythonUtils
caf48753fd5f8f984dc5e40b1f55f53706621dd0
[ "Apache-2.0" ]
null
null
null
PythonUtils/date_input.py
tiy1807/PythonUtils
caf48753fd5f8f984dc5e40b1f55f53706621dd0
[ "Apache-2.0" ]
null
null
null
from PythonUtils.text_input import TextInput class DateInput(TextInput): def __init__(self, **kwargs): kwargs["regex"] = "[0-3][0-9]\/[0-1][0-9]\/20[1-3][0-9]" TextInput.__init__(self, **kwargs)
35.833333
64
0.632558
32
215
3.96875
0.5625
0.047244
0.220472
0
0
0
0
0
0
0
0
0.077348
0.15814
215
6
65
35.833333
0.624309
0
0
0
0
0.2
0.189815
0.166667
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
58f00e30fc971325ea141d641abbdc328e797a71
9,677
py
Python
nfdapi/nfdapi/settings.py
ricardogsilva/clevmetro-nfd
a7fc4de3f7930899cb3725ca8359f420d924aa12
[ "BSD-2-Clause" ]
1
2020-08-20T19:55:39.000Z
2020-08-20T19:55:39.000Z
nfdapi/nfdapi/settings.py
ricardogsilva/clevmetro-nfd
a7fc4de3f7930899cb3725ca8359f420d924aa12
[ "BSD-2-Clause" ]
null
null
null
nfdapi/nfdapi/settings.py
ricardogsilva/clevmetro-nfd
a7fc4de3f7930899cb3725ca8359f420d924aa12
[ "BSD-2-Clause" ]
null
null
null
""" Django settings for nfdapi project. Generated by 'django-admin startproject' using Django 1.11.1. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os ...
30.818471
143
0.712824
1,134
9,677
5.857143
0.286596
0.056007
0.065342
0.088678
0.408913
0.387835
0.350798
0.327612
0.292231
0.273713
0
0.011068
0.150357
9,677
313
144
30.916933
0.796765
0.15635
0
0.014085
1
0
0.569237
0.451669
0
0
0
0
0
0
null
null
0.021127
0.035211
null
null
0.007042
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
58f4fc74ff189d9ee0dfa728c0bc5a1902650528
1,696
py
Python
pav_propms/config/pav_property_management_solution.py
alkuhlani/pav_propms
2b1a9f9b2430fd45083ea750ab0d0df0243f6d17
[ "MIT" ]
null
null
null
pav_propms/config/pav_property_management_solution.py
alkuhlani/pav_propms
2b1a9f9b2430fd45083ea750ab0d0df0243f6d17
[ "MIT" ]
null
null
null
pav_propms/config/pav_property_management_solution.py
alkuhlani/pav_propms
2b1a9f9b2430fd45083ea750ab0d0df0243f6d17
[ "MIT" ]
3
2021-03-24T13:43:14.000Z
2021-06-20T09:02:24.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from frappe import _ def get_data(): config = [ { "label": _("PAV Property Management Solution"), "items": [ { "type": "doctype", "name": "Property", "description": _("Property that needs to be managed."), }, ...
18.844444
61
0.415094
122
1,696
5.680328
0.467213
0.253968
0.34632
0.165945
0.080808
0
0
0
0
0
0
0.000978
0.397406
1,696
89
62
19.05618
0.677104
0.012382
0
0.241379
0
0
0.402146
0
0
0
0
0
0
1
0.011494
false
0
0.022989
0
0.045977
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
4516b364166e7cbda8d2422a1d4d1767b8fc8adb
200
py
Python
Arrays/1394. Find Lucky Integer in an Array.py
thewires2/Leetcode
a37ff81d60dd9195ba637b970b40aabbea5f4680
[ "Unlicense" ]
1
2021-06-30T17:51:56.000Z
2021-06-30T17:51:56.000Z
Arrays/1394. Find Lucky Integer in an Array.py
thewires2/Leetcode
a37ff81d60dd9195ba637b970b40aabbea5f4680
[ "Unlicense" ]
null
null
null
Arrays/1394. Find Lucky Integer in an Array.py
thewires2/Leetcode
a37ff81d60dd9195ba637b970b40aabbea5f4680
[ "Unlicense" ]
null
null
null
class Solution: def findLucky(self, arr: List[int]) -> int: x=[i for i in arr if arr.count(i)==i] if not x: return -1 else: return max(x)
20
47
0.46
29
200
3.172414
0.655172
0
0
0
0
0
0
0
0
0
0
0.008696
0.425
200
9
48
22.222222
0.791304
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.571429
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
45258f146870e4b7a95b9160011959ba5bacb703
179
py
Python
main.py
thiagoa/ulauncher-brotab
e32470f313814af04eef4c7c372b988e11be823c
[ "MIT" ]
null
null
null
main.py
thiagoa/ulauncher-brotab
e32470f313814af04eef4c7c372b988e11be823c
[ "MIT" ]
null
null
null
main.py
thiagoa/ulauncher-brotab
e32470f313814af04eef4c7c372b988e11be823c
[ "MIT" ]
null
null
null
""" Main Extension Entrypoint """ import gi gi.require_version('Gdk', '3.0') from brotab.extension import BrotabExtension if __name__ == '__main__': BrotabExtension().run()
16.272727
44
0.72067
21
179
5.714286
0.761905
0
0
0
0
0
0
0
0
0
0
0.012903
0.134078
179
10
45
17.9
0.76129
0.139665
0
0
0
0
0.09589
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
452b1e64a7ef7672fd712a098a13cd324f77917d
296
py
Python
MealSystem/admin.py
bisrat-walle/AAU-Cross-Campus-Meal-System-Backend
2320271d431a26710ef79f09fa39e6154c081171
[ "MIT" ]
null
null
null
MealSystem/admin.py
bisrat-walle/AAU-Cross-Campus-Meal-System-Backend
2320271d431a26710ef79f09fa39e6154c081171
[ "MIT" ]
null
null
null
MealSystem/admin.py
bisrat-walle/AAU-Cross-Campus-Meal-System-Backend
2320271d431a26710ef79f09fa39e6154c081171
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Student, Schedule, MealStatus # Register your models here. admin.site.register(Student) admin.site.register(Schedule) admin.site.register(MealStatus) from rest_framework.authtoken.admin import TokenAdmin TokenAdmin.raw_id_fields = ['user']
24.666667
53
0.817568
39
296
6.128205
0.538462
0.112971
0.213389
0
0
0
0
0
0
0
0
0
0.094595
296
11
54
26.909091
0.891791
0.087838
0
0
0
0
0.014925
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
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
453053b897eaffcbbc321ce2be9da3068d18240f
296
py
Python
test/test_input.py
wgroeneveld/opbtest
836072cdfdae97a9f574cf4f58e76cceabecc74c
[ "MIT" ]
1
2020-11-16T15:40:31.000Z
2020-11-16T15:40:31.000Z
test/test_input.py
wgroeneveld/opbtest
836072cdfdae97a9f574cf4f58e76cceabecc74c
[ "MIT" ]
null
null
null
test/test_input.py
wgroeneveld/opbtest
836072cdfdae97a9f574cf4f58e76cceabecc74c
[ "MIT" ]
null
null
null
from opbtest import OpbTestCase class TestInput(OpbTestCase): def setUp(self): pass #self.do_not_cleanup_files() def test_setup_input(self): assert_that = self.load_file("input.psm4").mockinput(0, 4).execute() assert_that.regs(["s0", "s1"]).contains(4)
24.666667
76
0.658784
39
296
4.794872
0.74359
0.106952
0
0
0
0
0
0
0
0
0
0.025532
0.206081
296
12
77
24.666667
0.770213
0.091216
0
0
0
0
0.052045
0
0
0
0
0
0.285714
1
0.285714
false
0.142857
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
18970783b4d9efb191a794222bd0faddbcddc6c2
2,000
py
Python
modules/optimization/factories/bess.py
kfoerderer/ANN-based-surrogates
aef0eca9e969858e47babfc73a15c04262285e6b
[ "MIT" ]
null
null
null
modules/optimization/factories/bess.py
kfoerderer/ANN-based-surrogates
aef0eca9e969858e47babfc73a15c04262285e6b
[ "MIT" ]
null
null
null
modules/optimization/factories/bess.py
kfoerderer/ANN-based-surrogates
aef0eca9e969858e47babfc73a15c04262285e6b
[ "MIT" ]
null
null
null
from pyomo.core.base import ConcreteModel, Set, Param, NonNegativeReals, Reals, Var, Binary, Constraint from pyomo.environ import inequality from ...simulation.individual.bess import BESS def factory(model: ConcreteModel, name: str, bess: BESS, **kwargs): def s(key, value): setattr(model, name+'_'+key, va...
40.816327
112
0.618
286
2,000
4.167832
0.251748
0.050336
0.037752
0.062919
0.339765
0.197987
0.115772
0.060403
0.060403
0
0
0.008317
0.2185
2,000
49
113
40.816327
0.754319
0.056
0
0
0
0
0.074349
0
0
0
0
0
0
1
0.242424
false
0
0.090909
0.151515
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
189da9f72864cf7fc78ead5f52f12bb18017f05b
131
py
Python
extra_script.py
zakkie/esp-msgpack
5340ed7ac9e37c52dfe46face12fbce8e8dac4d7
[ "BSL-1.0" ]
null
null
null
extra_script.py
zakkie/esp-msgpack
5340ed7ac9e37c52dfe46face12fbce8e8dac4d7
[ "BSL-1.0" ]
null
null
null
extra_script.py
zakkie/esp-msgpack
5340ed7ac9e37c52dfe46face12fbce8e8dac4d7
[ "BSL-1.0" ]
null
null
null
Import('env') global_env = DefaultEnvironment() global_env.Append( CPPDEFINES=[ "MSGPACK_ENDIAN_LITTLE_BYTE", ] )
14.555556
37
0.679389
13
131
6.461538
0.769231
0.214286
0
0
0
0
0
0
0
0
0
0
0.198473
131
8
38
16.375
0.8
0
0
0
0
0
0.221374
0.198473
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
18a770b320cf096e9916044c83f32c7367f2cc6f
667
py
Python
inference/loader/YOLO_model.py
drat/Drat-Computer-Vision-AI
aa9b2f99a9e0d945e6a8ce87e4950dfcd7b4c10b
[ "Apache-2.0" ]
3
2018-04-17T17:29:06.000Z
2019-06-04T16:04:51.000Z
inference/loader/YOLO_model.py
drat/Drat-Computer-Vision-AI
aa9b2f99a9e0d945e6a8ce87e4950dfcd7b4c10b
[ "Apache-2.0" ]
null
null
null
inference/loader/YOLO_model.py
drat/Drat-Computer-Vision-AI
aa9b2f99a9e0d945e6a8ce87e4950dfcd7b4c10b
[ "Apache-2.0" ]
2
2018-05-27T19:53:35.000Z
2019-01-17T20:40:22.000Z
import copy import cv2 from darknet.darknet import detect, call_load_net, call_load_meta from inference.loader.model_loader import ModelLoader class YOLOModelLoader(ModelLoader): def __init__(self, model_config, height, width): self.net = call_load_net(model_config["model_path"], model_config["weights_...
31.761905
90
0.706147
92
667
4.902174
0.532609
0.070953
0.04878
0
0
0
0
0
0
0
0
0.003766
0.203898
667
21
91
31.761905
0.845574
0.154423
0
0
0
0
0.090747
0
0
0
0
0.047619
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
18b0620f7c576b1f289ab781089e1e9da243eccb
3,940
py
Python
tests/test_any_doc_reader.py
kirillskor/dedoc
7793a1be2220a26e7520521306351dfc0a9c8d98
[ "Apache-2.0" ]
null
null
null
tests/test_any_doc_reader.py
kirillskor/dedoc
7793a1be2220a26e7520521306351dfc0a9c8d98
[ "Apache-2.0" ]
null
null
null
tests/test_any_doc_reader.py
kirillskor/dedoc
7793a1be2220a26e7520521306351dfc0a9c8d98
[ "Apache-2.0" ]
null
null
null
import os import unittest from dedoc.readers.docx_reader.docx_reader import DocxReader class TestAnyDocReader(unittest.TestCase): def test_docx(self): any_doc_reader = DocxReader() path = os.path.join(os.path.dirname(__file__), "data/example.docx") result, _ = any_doc_reader.read(path) ...
45.287356
129
0.652792
536
3,940
4.682836
0.231343
0.233068
0.249801
0.10996
0.616335
0.401594
0.373307
0.266534
0.266534
0.229084
0
0.028599
0.210152
3,940
86
130
45.813953
0.777956
0
0
0.197183
0
0
0.235025
0.020051
0
0
0
0
0.56338
1
0.070423
false
0
0.042254
0
0.126761
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
18b9404f0c9f4eae2a6f1f3f4da1153c3469fbea
251
py
Python
koku/api/migrations/0019_delete_costmodelmetricsmap.py
cgoodfred/koku
f1de8bc90d6a818c4f77af710cafe50dc1274700
[ "Apache-2.0" ]
2
2022-01-12T03:42:39.000Z
2022-01-12T03:42:40.000Z
koku/api/migrations/0019_delete_costmodelmetricsmap.py
cgoodfred/koku
f1de8bc90d6a818c4f77af710cafe50dc1274700
[ "Apache-2.0" ]
null
null
null
koku/api/migrations/0019_delete_costmodelmetricsmap.py
cgoodfred/koku
f1de8bc90d6a818c4f77af710cafe50dc1274700
[ "Apache-2.0" ]
1
2021-07-21T09:33:59.000Z
2021-07-21T09:33:59.000Z
# Generated by Django 2.2.11 on 2020-04-01 17:19 from django.db import migrations class Migration(migrations.Migration): dependencies = [("api", "0018_auto_20200326_0102")] operations = [migrations.DeleteModel(name="CostModelMetricsMap")]
25.1
69
0.749004
32
251
5.78125
0.84375
0
0
0
0
0
0
0
0
0
0
0.146789
0.131474
251
9
70
27.888889
0.701835
0.183267
0
0
1
0
0.221675
0.1133
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
18ca7db7e70961aa8c88623b73afa8208e1625d3
919
py
Python
padinfo/common/external_links.py
RheingoldRiver/pad-cogs
da9c19096e54989a0c5713c12a2d35c0af3f044f
[ "MIT" ]
null
null
null
padinfo/common/external_links.py
RheingoldRiver/pad-cogs
da9c19096e54989a0c5713c12a2d35c0af3f044f
[ "MIT" ]
1
2021-02-05T22:08:09.000Z
2021-02-05T22:08:09.000Z
padinfo/common/external_links.py
RheingoldRiver/pad-cogs
da9c19096e54989a0c5713c12a2d35c0af3f044f
[ "MIT" ]
null
null
null
import urllib.parse from typing import TYPE_CHECKING import tsutils if TYPE_CHECKING: from dbcog.models.monster_model import MonsterModel INFO_PDX_TEMPLATE = 'http://www.puzzledragonx.com/en/monster.asp?n={}' YT_SEARCH_TEMPLATE = 'https://www.youtube.com/results?search_query={}' SKYOZORA_TEMPLATE = 'http://pad.s...
27.848485
109
0.761697
131
919
5.122137
0.381679
0.09687
0.14158
0.065574
0.104322
0.104322
0.104322
0.104322
0
0
0
0
0.100109
919
32
110
28.71875
0.811366
0
0
0
0
0
0.264418
0
0
0
0
0
0
1
0.263158
false
0
0.210526
0.263158
0.736842
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
18eb346d5388c89d4eb5dbb2782ff9503f26fe84
903
py
Python
factory-ai-vision/EdgeSolution/modules/WebModule/backend/configs/views.py
piyushka17/azure-intelligent-edge-patterns
0d088899afb0022daa2ac434226824dba2c997c1
[ "MIT" ]
null
null
null
factory-ai-vision/EdgeSolution/modules/WebModule/backend/configs/views.py
piyushka17/azure-intelligent-edge-patterns
0d088899afb0022daa2ac434226824dba2c997c1
[ "MIT" ]
null
null
null
factory-ai-vision/EdgeSolution/modules/WebModule/backend/configs/views.py
piyushka17/azure-intelligent-edge-patterns
0d088899afb0022daa2ac434226824dba2c997c1
[ "MIT" ]
null
null
null
"""Project Static Views. This view host static file generate from WebModule/ui """ import logging import os from django.conf import settings from django.http import HttpResponse from django.views.generic import View class UIAppView(View): """Project Static UI View""" def get(self, request): """get"...
29.129032
78
0.600221
107
903
5.037383
0.626168
0.055659
0.074212
0
0
0
0
0
0
0
0
0.011327
0.315615
903
30
79
30.1
0.860841
0.114064
0
0
1
0
0.079482
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
18f8473d75640ad95d4df505efc03e04d12dfb22
212
py
Python
SlackBotProject/SlackBotApp/services/__init__.py
CKVB/Slack-Bot
1f59736b726fa792d76e19b2846b63d52582b3b8
[ "MIT" ]
null
null
null
SlackBotProject/SlackBotApp/services/__init__.py
CKVB/Slack-Bot
1f59736b726fa792d76e19b2846b63d52582b3b8
[ "MIT" ]
null
null
null
SlackBotProject/SlackBotApp/services/__init__.py
CKVB/Slack-Bot
1f59736b726fa792d76e19b2846b63d52582b3b8
[ "MIT" ]
null
null
null
from .index import index from .slack_service import slack_service services = { "INDEX": index, "SLACK_SERVICE": slack_service } def get_service(service, *args): return services.get(service)(*args)
17.666667
40
0.721698
27
212
5.481481
0.37037
0.324324
0
0
0
0
0
0
0
0
0
0
0.169811
212
11
41
19.272727
0.840909
0
0
0
0
0
0.084906
0
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
7a103426abca0e6bc6e6f8c0536f560e25fdfe7b
1,957
py
Python
DMDWavemeter/Camera_Generic.py
ispielma/DMDWavemeter
4b0d44dd46fd498aa25e60b9629bca17fce2d06a
[ "MIT" ]
null
null
null
DMDWavemeter/Camera_Generic.py
ispielma/DMDWavemeter
4b0d44dd46fd498aa25e60b9629bca17fce2d06a
[ "MIT" ]
null
null
null
DMDWavemeter/Camera_Generic.py
ispielma/DMDWavemeter
4b0d44dd46fd498aa25e60b9629bca17fce2d06a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Mar 24 08:01:11 2020 @author: ispielma """ import numpy as np class Camera(object): def __enter__(self): return self def __exit__(self, exc_type, exc_value, exc_traceback): self.close() def __init__(self, **k...
27.180556
85
0.6372
246
1,957
4.906504
0.357724
0.03314
0.03314
0.031483
0.256835
0.218724
0.188898
0.188898
0.188898
0.188898
0
0.01324
0.266735
1,957
71
86
27.56338
0.827875
0.270312
0
0.228571
0
0
0
0
0
0
0
0
0
1
0.428571
false
0.171429
0.028571
0.057143
0.628571
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
7a1aa94db7156a395c8d5687a05d5164383dd698
210
py
Python
code/image-retrieval/fusion/fusion_configs/zh2en2img_w2vv_attention.py
li-xirong/coco-cn
22b218e394627df60ee3a05a72be080624728a99
[ "MIT" ]
93
2018-06-28T12:05:42.000Z
2022-03-15T13:46:09.000Z
code/image-retrieval/fusion/fusion_configs/zh2en2img_w2vv_attention.py
li-xirong/coco-cn
22b218e394627df60ee3a05a72be080624728a99
[ "MIT" ]
20
2019-04-16T01:24:19.000Z
2022-03-17T04:02:23.000Z
code/image-retrieval/fusion/fusion_configs/zh2en2img_w2vv_attention.py
li-xirong/coco-cn
22b218e394627df60ee3a05a72be080624728a99
[ "MIT" ]
16
2019-03-22T07:26:07.000Z
2022-02-16T08:17:01.000Z
class config(object): rank_norm = 0 run_list = str.split("zh2en_w2vv_attention w2vv_attention") nr_of_runs = len(run_list) #weights = [1.0/nr_of_runs] * nr_of_runs weights = [0.73, 0.27]
21
63
0.666667
35
210
3.657143
0.6
0.09375
0.1875
0
0
0
0
0
0
0
0
0.072289
0.209524
210
9
64
23.333333
0.698795
0.185714
0
0
0
0
0.209581
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
e175c24e0989d3b19feae96d5f5c0ab591d21a7f
264
py
Python
src/config.py
imsoumen/hackerrank-leaderboard
9e6551775eb58a98d6210a2b9db249e6bc93548f
[ "MIT" ]
null
null
null
src/config.py
imsoumen/hackerrank-leaderboard
9e6551775eb58a98d6210a2b9db249e6bc93548f
[ "MIT" ]
null
null
null
src/config.py
imsoumen/hackerrank-leaderboard
9e6551775eb58a98d6210a2b9db249e6bc93548f
[ "MIT" ]
null
null
null
slackInfo = { "url": "https://hooks.slack.com/services/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", "username": "leaderboard-bot", } hackerrankInfo = { "url": "https://www.hackerrank.com/rest/contests/wissen-coding-challenge-2021/leaderboard", }
33
95
0.727273
26
264
7.384615
0.846154
0.083333
0
0
0
0
0
0
0
0
0
0.071429
0.098485
264
8
96
33
0.735294
0
0
0
0
0.142857
0.720755
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
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e189543b2b241bbc6b632d8cf5c76cf1890ee03c
522
py
Python
database_management/database_functions.py
nareshram256/EnergyManagementSystem
2a48ba3b9bf7ff3003c197ee43ea9efbfbe42baa
[ "MIT" ]
9
2020-04-24T14:34:16.000Z
2022-01-25T07:16:03.000Z
database_management/database_functions.py
casemsee/EnergyManagementSystem
2a48ba3b9bf7ff3003c197ee43ea9efbfbe42baa
[ "MIT" ]
null
null
null
database_management/database_functions.py
casemsee/EnergyManagementSystem
2a48ba3b9bf7ff3003c197ee43ea9efbfbe42baa
[ "MIT" ]
7
2019-09-19T13:26:02.000Z
2021-11-27T09:53:54.000Z
from configuration.configuration_database import scheduling_plan_local from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker def db_session(config = scheduling_plan_local): """ Create database engine for the energy management system :return: Database Session """ db_str = 'mysql+pymysql://' ...
34.8
132
0.756705
64
522
5.96875
0.515625
0.073298
0.099476
0
0
0
0
0
0
0
0
0
0.124521
522
14
133
37.285714
0.835886
0.155172
0
0
0
0
0.123256
0
0
0
0
0
0
1
0.125
false
0.125
0.375
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
0
0
1
1
0
1
0
0
3
e18f4a5edd0ed0af1eb3cdb1741e9f92861fcb4f
364
py
Python
Section23_Visitor/IntrusiveVisitor/AdditionExpression.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
1
2020-10-20T07:41:51.000Z
2020-10-20T07:41:51.000Z
Section23_Visitor/IntrusiveVisitor/AdditionExpression.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
null
null
null
Section23_Visitor/IntrusiveVisitor/AdditionExpression.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
null
null
null
class AdditionExpression: def __init__(self, left, right): self.right = right self.left = left def print(self, buffer): buffer.append('(') self.left.print(buffer) buffer.append('+') self.right.print(buffer) buffer.append(')') def eval(self): ...
24.266667
51
0.571429
41
364
4.97561
0.292683
0.156863
0.264706
0.215686
0
0
0
0
0
0
0
0
0.285714
364
14
52
26
0.784615
0
0
0
0
0
0.008242
0
0
0
0
0
0
1
0.25
false
0
0
0.083333
0.416667
0.25
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
e1a2c7cc24f4805dd1e36ace7f2f38b2d5410b8c
245
py
Python
examples/run_incremental_swap.py
P-1884/kSWAP
418d0a757832c2a2197342d8a4835953b6ea94a8
[ "MIT" ]
null
null
null
examples/run_incremental_swap.py
P-1884/kSWAP
418d0a757832c2a2197342d8a4835953b6ea94a8
[ "MIT" ]
null
null
null
examples/run_incremental_swap.py
P-1884/kSWAP
418d0a757832c2a2197342d8a4835953b6ea94a8
[ "MIT" ]
null
null
null
import time,os while 1: os.system("python /Users/hollowayp/Documents/GitHub/kSWAP/examples/run.py") #change to /your/path/run.py time.sleep(3600) #change 5 to the number of secondss for the frequency of the script e.g. 1800 for 30 mins
40.833333
110
0.742857
44
245
4.136364
0.772727
0.054945
0
0
0
0
0
0
0
0
0
0.057692
0.15102
245
5
111
49
0.817308
0.469388
0
0
0
0
0.488189
0.433071
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e1b7fbe78aa76fa253a84de454c14309f1ed999e
1,741
py
Python
my_account/custom_fixtures.py
bobzz-zone/saas_my_account
0349bf14714bd070ec003dd96b3f60878af1b9b1
[ "MIT" ]
null
null
null
my_account/custom_fixtures.py
bobzz-zone/saas_my_account
0349bf14714bd070ec003dd96b3f60878af1b9b1
[ "MIT" ]
null
null
null
my_account/custom_fixtures.py
bobzz-zone/saas_my_account
0349bf14714bd070ec003dd96b3f60878af1b9b1
[ "MIT" ]
null
null
null
from __future__ import unicode_literals import frappe from frappe.model.document import Document import os import requests import json import subprocess from frappe.utils.background_jobs import enqueue import re from frappe import utils from frappe.core.doctype.data_import.data_import import import_doc, export_json imp...
60.034483
152
0.771396
244
1,741
5.241803
0.237705
0.063331
0.084441
0.112588
0.59656
0.588741
0.56294
0.56294
0.503518
0.434715
0
0
0.074095
1,741
29
153
60.034483
0.793424
0.149339
0
0.083333
0
0
0.252197
0.021636
0
0
0
0
0
1
0.083333
true
0.041667
0.75
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
e1b949b7eb4e9a3dbc5857a9a9a0ae55a750e31c
634
py
Python
engine/optimizers/sgd_square.py
GuillaumeDesforges/enpc-malap-project
6c3092073ab3d6dc56b32c480910335c50eba7b3
[ "MIT" ]
null
null
null
engine/optimizers/sgd_square.py
GuillaumeDesforges/enpc-malap-project
6c3092073ab3d6dc56b32c480910335c50eba7b3
[ "MIT" ]
null
null
null
engine/optimizers/sgd_square.py
GuillaumeDesforges/enpc-malap-project
6c3092073ab3d6dc56b32c480910335c50eba7b3
[ "MIT" ]
null
null
null
import numpy as np from engine.optimizers.base_sgd import BaseSGD def square_loss(x, y, w, c): return c * np.sum([(np.dot(w.T, x[i]) - y[i]) ** 2 for i in range(x.shape[0])]) + np.dot(w, w) / 2 def square_increment(x_i, y_i, w, c, eps): return - eps * (c * 2 * x_i * (np.dot(w.T, x_i) - y_i) + w) class Squ...
26.416667
102
0.566246
118
634
2.855932
0.29661
0.035608
0.04451
0.059347
0.305638
0.225519
0.183976
0.065282
0
0
0
0.008621
0.268139
634
24
103
26.416667
0.717672
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.133333
0.266667
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
e1c6d80bd54c6a19e2fe97406a2ad910b0bc1c55
1,006
py
Python
meiduo_1/meiduo_1/apps/goods/admin.py
zjc0520/meiduo
1939223b050e7b69237e8551f5582146989d78a3
[ "MIT" ]
null
null
null
meiduo_1/meiduo_1/apps/goods/admin.py
zjc0520/meiduo
1939223b050e7b69237e8551f5582146989d78a3
[ "MIT" ]
null
null
null
meiduo_1/meiduo_1/apps/goods/admin.py
zjc0520/meiduo
1939223b050e7b69237e8551f5582146989d78a3
[ "MIT" ]
null
null
null
from django.contrib import admin from . import models from celery_tasks.html.tasks import generate_static_sku_detail_html class SKUAdmin(admin.ModelAdmin): # 定义列表页的属性 list_display = ['id','name','price'] #定义编辑页属性 #重写保存、删除方法 #当有修改和删除操作时就会调用此方法, # 然后执行生成静态文件的程序 def save_model(self, request...
28.742857
67
0.734592
124
1,006
5.846774
0.451613
0.111724
0.211034
0.285517
0.074483
0
0
0
0
0
0
0.00235
0.154076
1,006
34
68
29.588235
0.849589
0.094433
0
0
1
0
0.012195
0
0
0
0
0
0
1
0.095238
false
0
0.142857
0
0.333333
0.095238
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
bedc9ab7488e21df096c06e16c72af8d00764146
328
py
Python
actistream/tests/models.py
pennersr/django-actistream
212c17c8dc2efe747f6b467a39db14cff7e36d06
[ "MIT" ]
42
2016-09-16T00:49:57.000Z
2022-01-16T05:01:50.000Z
actistream/tests/models.py
pennersr/django-actistream
212c17c8dc2efe747f6b467a39db14cff7e36d06
[ "MIT" ]
4
2016-10-05T11:26:38.000Z
2017-06-05T09:38:37.000Z
actistream/tests/models.py
pennersr/django-actistream
212c17c8dc2efe747f6b467a39db14cff7e36d06
[ "MIT" ]
9
2017-02-27T15:35:02.000Z
2022-01-27T10:47:29.000Z
from django.db import models from django.utils import timezone class Article(models.Model): pass class Comment(models.Model): article = models.ForeignKey(Article, on_delete=models.CASCADE) user = models.ForeignKey("auth.User", on_delete=models.CASCADE) timestamp = models.DateTimeField(default=timezo...
25.230769
67
0.765244
42
328
5.928571
0.52381
0.080321
0.11245
0.168675
0
0
0
0
0
0
0
0
0.134146
328
12
68
27.333333
0.876761
0
0
0
0
0
0.027439
0
0
0
0
0
0
1
0
false
0.125
0.25
0
0.875
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
1
0
0
1
0
0
3
beea2e5c93221090c46043da59ca98e2b18e7e73
345
py
Python
python_tests/menu/menu_option.py
Yorchly/testing_efficiency
b010b84594070da387fbb7ff35279889515a5ee7
[ "MIT" ]
null
null
null
python_tests/menu/menu_option.py
Yorchly/testing_efficiency
b010b84594070da387fbb7ff35279889515a5ee7
[ "MIT" ]
null
null
null
python_tests/menu/menu_option.py
Yorchly/testing_efficiency
b010b84594070da387fbb7ff35279889515a5ee7
[ "MIT" ]
null
null
null
from typing import Callable class MenuOption: option_name = "" option_func = None option_func_kwargs = None def __init__(self, option_name: str, option_func: Callable, option_func_kwargs: dict): self.option_name = option_name self.option_func = option_func self.option_func_kwa...
26.538462
90
0.721739
45
345
5.088889
0.355556
0.349345
0.279476
0
0
0
0
0
0
0
0
0
0.217391
345
12
91
28.75
0.848148
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.666667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
befdcdc142929d7c697f5a10294028be51765193
35,970
py
Python
pykifmm2d/fmm_old.py
dbstein/pykifmm2d
828ab2cd125a2512c65f4bbedc0007d5d1558566
[ "Apache-2.0" ]
null
null
null
pykifmm2d/fmm_old.py
dbstein/pykifmm2d
828ab2cd125a2512c65f4bbedc0007d5d1558566
[ "Apache-2.0" ]
null
null
null
pykifmm2d/fmm_old.py
dbstein/pykifmm2d
828ab2cd125a2512c65f4bbedc0007d5d1558566
[ "Apache-2.0" ]
null
null
null
import numpy as np import scipy as sp import scipy.linalg import scipy.sparse import numba import time from .tree import Tree from .misc.mkl_sparse import SpMV_viaMKL def get_level_information(node_width, theta): # get information for this level dd = 0.01 r1 = 0.5*node_width*(np.sqrt(2)+dd) r2 = 0.5*no...
47.896138
210
0.557103
4,945
35,970
3.900303
0.08271
0.020688
0.007466
0.010784
0.752009
0.714523
0.685021
0.661326
0.648416
0.634832
0
0.031169
0.316764
35,970
750
211
47.96
0.753621
0.19216
0
0.706714
0
0.007067
0.03878
0.015567
0
0
0
0
0
1
0.033569
false
0.035336
0.014134
0.003534
0.068905
0.045936
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
8312df5ba9e000ea9883b6625ddc033e38f7f663
56,380
py
Python
tests/unit/v1/test_base_query.py
anna-hope/python-firestore
aa7594c93b2d7480ac4283a1d1abafe76aa7a353
[ "Apache-2.0" ]
140
2020-02-16T19:35:47.000Z
2022-03-27T23:58:03.000Z
tests/unit/v1/test_base_query.py
anna-hope/python-firestore
aa7594c93b2d7480ac4283a1d1abafe76aa7a353
[ "Apache-2.0" ]
311
2020-01-31T23:45:43.000Z
2022-03-22T14:41:34.000Z
tests/unit/v1/test_base_query.py
anna-hope/python-firestore
aa7594c93b2d7480ac4283a1d1abafe76aa7a353
[ "Apache-2.0" ]
52
2020-01-31T21:40:11.000Z
2022-02-25T18:32:51.000Z
# Copyright 2017 Google LLC All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
33.599523
87
0.721657
7,149
56,380
5.310533
0.057211
0.031055
0.040695
0.06448
0.788621
0.759015
0.724114
0.687133
0.66211
0.613776
0
0.016079
0.174867
56,380
1,677
88
33.619559
0.800004
0.020326
0
0.517413
0
0
0.042065
0.001957
0
0
0
0
0.205638
1
0.111111
false
0
0.090381
0.000829
0.216418
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