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
ab1f315c61876f08b57eb99c962ef39cc5d4f3b1
288
py
Python
examples/client_credentials_flow.py
savoy1211/spotipy
b7b4f3128e8ea4608adc1b3d5d4a1ffa9ac810a0
[ "MIT" ]
27
2019-08-12T20:54:38.000Z
2019-12-11T11:45:50.000Z
examples/client_credentials_flow.py
savoy1211/spotipy
b7b4f3128e8ea4608adc1b3d5d4a1ffa9ac810a0
[ "MIT" ]
9
2019-08-13T04:30:42.000Z
2019-12-19T18:30:26.000Z
examples/client_credentials_flow.py
savoy1211/spotipy
b7b4f3128e8ea4608adc1b3d5d4a1ffa9ac810a0
[ "MIT" ]
6
2018-11-03T14:37:04.000Z
2021-12-11T05:51:58.000Z
from spotipy.oauth2 import SpotifyClientCredentials import spotipy import pprint client_credentials_manager = SpotifyClientCredentials() sp = spotipy.Spotify(client_credentials_manager=client_credentials_manager) search_str = 'Muse' result = sp.search(search_str) pprint.pprint(result)
26.181818
75
0.854167
33
288
7.212121
0.454545
0.214286
0.302521
0
0
0
0
0
0
0
0
0.003774
0.079861
288
10
76
28.8
0.89434
0
0
0
0
0
0.013889
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.25
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
db41bd815f0544599c2bc4395752ca54a7f53c53
1,464
py
Python
autoload/splice.py
mathstuf/vim-splice
815a28e687fdf78b67e9b9cd4c21277bbe658873
[ "MIT" ]
134
2015-01-02T00:18:05.000Z
2021-09-15T10:02:36.000Z
autoload/splice.py
albfan/splice.vim
9e84720cf5ebd3338b5a339d9002851ee8bdff62
[ "MIT" ]
12
2015-01-30T12:46:25.000Z
2021-03-17T08:43:36.000Z
autoload/splice.py
albfan/splice.vim
9e84720cf5ebd3338b5a339d9002851ee8bdff62
[ "MIT" ]
13
2015-01-23T10:49:08.000Z
2022-02-23T02:53:07.000Z
import vim, os, sys # Add the library to the Python path. for p in vim.eval("&runtimepath").split(','): plugin_dir = os.path.join(p, "autoload") if os.path.exists(os.path.join(plugin_dir, "splicelib")): if plugin_dir not in sys.path: sys.path.append(plugin_dir) break import splicelib...
19.52
84
0.678279
187
1,464
5.128342
0.374332
0.194995
0.244004
0.298227
0.338895
0
0
0
0
0
0
0.003226
0.153005
1,464
74
85
19.783784
0.770161
0.080601
0
0
0
0
0.022355
0
0
0
0
0
0
1
0.409091
false
0
0.045455
0
0.454545
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
dba5a6433a1445d3655faf05d60575a7ccba8a86
380
py
Python
home_work/lesson8/Task3Test.py
JayIvhen/StudyRepoPython2014
96affa9b3d5cb342d9c9ef8582610c9d7a0e7f5d
[ "Unlicense" ]
1
2018-10-11T09:48:30.000Z
2018-10-11T09:48:30.000Z
home_work/lesson8/Task3Test.py
JayIvhen/StudyRepoPython2014
96affa9b3d5cb342d9c9ef8582610c9d7a0e7f5d
[ "Unlicense" ]
null
null
null
home_work/lesson8/Task3Test.py
JayIvhen/StudyRepoPython2014
96affa9b3d5cb342d9c9ef8582610c9d7a0e7f5d
[ "Unlicense" ]
null
null
null
#!usr/bin/python """test script l8 tasks are about importing modules so we will import here """ import PrimitiveDot for A,B in ((PrimitiveDot.Dot(1,2,3),PrimitiveDot.Dot(3,4,5)), (PrimitiveDot.Dot(1,2),PrimitiveDot.Dot(3))): print A try: print "{:.3f}".format(A.distance(B)) pri...
19
62
0.621053
56
380
4.214286
0.642857
0.254237
0.135593
0.144068
0
0
0
0
0
0
0
0.037543
0.228947
380
19
63
20
0.767918
0.039474
0
0
0
0
0.038732
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.444444
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
1
0
0
0
0
0
0
1
0
3
dbbee88a4ec86378f4358e140a0715865bccdae5
2,128
py
Python
contrib/examples/sensors/sample_sensor.py
totalkyos/stack-storm
b89bc648d53dae03c7484d22abd771edfe45bbb8
[ "Apache-2.0" ]
null
null
null
contrib/examples/sensors/sample_sensor.py
totalkyos/stack-storm
b89bc648d53dae03c7484d22abd771edfe45bbb8
[ "Apache-2.0" ]
null
null
null
contrib/examples/sensors/sample_sensor.py
totalkyos/stack-storm
b89bc648d53dae03c7484d22abd771edfe45bbb8
[ "Apache-2.0" ]
null
null
null
from st2reactor.sensor.base import Sensor class SampleSensor(Sensor): """ * self.sensor_service - provides utilities like - get_logger() - returns logger instance specific to this sensor. - dispatch() for dispatching triggers into the system. * self._config - contai...
40.150943
96
0.641917
281
2,128
4.80427
0.44484
0.035556
0.035556
0.048889
0.108889
0.108889
0.108889
0.108889
0.108889
0.108889
0
0.002635
0.286654
2,128
52
97
40.923077
0.886693
0.720865
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.428571
false
0.428571
0.071429
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
dbc5fb689a06fb07a8ffc422e7f23913ceeb2a5f
1,179
py
Python
build/lib.linux-x86_64-2.7/eugene/src/auxiliary/probability.py
jantzen/eugene
a5fdc8cfb31e1fa4e48b2f882be84347cc8a7d69
[ "MIT" ]
3
2017-04-11T22:12:41.000Z
2021-06-29T20:08:59.000Z
build/lib.linux-x86_64-2.7/eugene/src/auxiliary/probability.py
jantzen/eugene
a5fdc8cfb31e1fa4e48b2f882be84347cc8a7d69
[ "MIT" ]
null
null
null
build/lib.linux-x86_64-2.7/eugene/src/auxiliary/probability.py
jantzen/eugene
a5fdc8cfb31e1fa4e48b2f882be84347cc8a7d69
[ "MIT" ]
1
2021-04-09T08:51:14.000Z
2021-04-09T08:51:14.000Z
# probability.py import scipy import numpy as np ################################################################################ # Functions: # Phi # T # SkewNorm # SampleSkewNorm ################################################################################ def Phi(x, m, s, a): return 0.5 * (1. + scipy.speci...
27.418605
80
0.517388
178
1,179
3.426966
0.426966
0.022951
0.029508
0.032787
0.103279
0
0
0
0
0
0
0.023887
0.21883
1,179
42
81
28.071429
0.638436
0.36302
0
0
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0.133333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
dbc63c0d5f8a7937d2f3c29cdbff0236b66d5637
240
py
Python
tests/test_utils/models.py
ChameleonCloud/djangocms-blog
4662c97db8796db31944ce65ca13ef32e1f02202
[ "BSD-3-Clause" ]
null
null
null
tests/test_utils/models.py
ChameleonCloud/djangocms-blog
4662c97db8796db31944ce65ca13ef32e1f02202
[ "BSD-3-Clause" ]
null
null
null
tests/test_utils/models.py
ChameleonCloud/djangocms-blog
4662c97db8796db31944ce65ca13ef32e1f02202
[ "BSD-3-Clause" ]
1
2017-07-24T11:46:37.000Z
2017-07-24T11:46:37.000Z
# -*- coding: utf-8 -*- from django.contrib.auth.models import AbstractUser from django.db import models class CustomUser(AbstractUser): sites = models.ManyToManyField('sites.Site') def get_sites(self): return self.sites
21.818182
51
0.716667
30
240
5.7
0.666667
0.116959
0
0
0
0
0
0
0
0
0
0.005025
0.170833
240
10
52
24
0.854271
0.0875
0
0
0
0
0.046083
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
dbce9d1a0d0994d298738bc80794fd0a28131bc7
154
py
Python
sente/__init__.py
aniljava/sente
91df831539ff57f2fceec849b9c648941bb8ea46
[ "Apache-2.0" ]
1
2016-05-26T17:33:16.000Z
2016-05-26T17:33:16.000Z
sente/__init__.py
aniljava/sente
91df831539ff57f2fceec849b9c648941bb8ea46
[ "Apache-2.0" ]
null
null
null
sente/__init__.py
aniljava/sente
91df831539ff57f2fceec849b9c648941bb8ea46
[ "Apache-2.0" ]
null
null
null
from board import Board, BLACK, WHITE, EMPTY import sgf def color(text): if text.upper() == 'B': return BLACK else: return WHITE
17.111111
44
0.61039
21
154
4.47619
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.292208
154
9
45
17.111111
0.862385
0
0
0
0
0
0.006494
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
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
916b9f1b4f7780004d3aaa1ebd07046e542bc62b
203
py
Python
data_collection/gazette/spiders/sc_correia_pinto.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
454
2018-04-07T03:32:57.000Z
2020-08-17T19:56:22.000Z
data_collection/gazette/spiders/sc_correia_pinto.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
254
2020-08-18T14:09:43.000Z
2022-03-28T11:30:51.000Z
data_collection/gazette/spiders/sc_correia_pinto.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
183
2018-04-11T15:09:37.000Z
2020-08-15T18:55:11.000Z
from gazette.spiders.base.fecam import FecamGazetteSpider class ScCorreiaPintoSpider(FecamGazetteSpider): name = "sc_correia_pinto" FECAM_QUERY = "cod_entidade:77" TERRITORY_ID = "4204558"
25.375
57
0.778325
22
203
6.954545
0.909091
0
0
0
0
0
0
0
0
0
0
0.051724
0.142857
203
7
58
29
0.827586
0
0
0
0
0
0.187192
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
917315c9d9caa08ee0fcc8afcd797ade27163a6b
8,696
py
Python
scripts/hoi3/unitstats.py
SaucyPigeon/pyradox
a500a5628f57e056fa019ba1e114118abe6dc205
[ "MIT" ]
null
null
null
scripts/hoi3/unitstats.py
SaucyPigeon/pyradox
a500a5628f57e056fa019ba1e114118abe6dc205
[ "MIT" ]
null
null
null
scripts/hoi3/unitstats.py
SaucyPigeon/pyradox
a500a5628f57e056fa019ba1e114118abe6dc205
[ "MIT" ]
null
null
null
import _initpath import load.tech import load.unit techs = load.tech.get_techs() def units_at_year(year): units = load.unit.get_units() for unit_key, unit_data in units.items(): if "active" not in unit_data.keys(): unit_data["active"] = True unit_data["num_upgrades"] = 0 ...
48.044199
131
0.5023
1,107
8,696
3.725384
0.098464
0.056741
0.069835
0.078565
0.742483
0.714355
0.705141
0.67774
0.642095
0.608875
0
0.028845
0.254485
8,696
180
132
48.311111
0.607281
0.001495
0
0.62
0
0
0.435008
0.0467
0
0
0
0
0
1
0.006667
false
0
0.02
0
0.033333
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
91b6957f77c1379af8d6a4e06d6535c6a07b062d
691
py
Python
mysite/game/migrations/0003_alter_room_status.py
chiachun2491/NTNU_OOAD-Project
d215dc4bfe13cadd1f95aff91753d43581f358dc
[ "MIT" ]
null
null
null
mysite/game/migrations/0003_alter_room_status.py
chiachun2491/NTNU_OOAD-Project
d215dc4bfe13cadd1f95aff91753d43581f358dc
[ "MIT" ]
1
2021-06-05T13:40:28.000Z
2021-06-05T17:41:32.000Z
mysite/game/migrations/0003_alter_room_status.py
chiachun2491/NTNU_OOAD-Project
d215dc4bfe13cadd1f95aff91753d43581f358dc
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-04-14 03:23 from django.db import migrations, models import game.models class Migration(migrations.Migration): dependencies = [ ('game', '0002_alter_room_players'), ] operations = [ migrations.AlterField( model_name='room', name=...
34.55
343
0.674385
77
691
5.987013
0.532468
0.151844
0.234273
0.364425
0.442516
0.368764
0.368764
0.368764
0.368764
0
0
0.033275
0.173661
691
19
344
36.368421
0.774081
0.062229
0
0
1
0
0.125387
0.035604
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
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
91c8e05a3d6744f5af98e1908161edab73c8a8ac
150
py
Python
core/models.py
johncmacy/django-react-tailwind
139e7268da1a5ccd49a3bb4c93e47763b6501f96
[ "MIT" ]
null
null
null
core/models.py
johncmacy/django-react-tailwind
139e7268da1a5ccd49a3bb4c93e47763b6501f96
[ "MIT" ]
null
null
null
core/models.py
johncmacy/django-react-tailwind
139e7268da1a5ccd49a3bb4c93e47763b6501f96
[ "MIT" ]
null
null
null
from django.db import models class Thing(models.Model): color = models.CharField(max_length=10) __str__ = __repr__ = lambda self: self.color
25
48
0.74
21
150
4.857143
0.809524
0
0
0
0
0
0
0
0
0
0
0.016
0.166667
150
6
48
25
0.8
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1.25
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
91ccec404b5790041db6d564ab16dc355c51aa53
136
py
Python
airbyte-integrations/connectors/source-dcl-logistics/source_dcl_logistics/__init__.py
cnry/airbyte
91b1f70c5407d37b805498a4f88621a39ea4d7d3
[ "MIT" ]
null
null
null
airbyte-integrations/connectors/source-dcl-logistics/source_dcl_logistics/__init__.py
cnry/airbyte
91b1f70c5407d37b805498a4f88621a39ea4d7d3
[ "MIT" ]
1
2021-12-08T21:39:05.000Z
2021-12-09T17:10:45.000Z
airbyte-integrations/connectors/source-dcl-logistics/source_dcl_logistics/__init__.py
cnry/airbyte
91b1f70c5407d37b805498a4f88621a39ea4d7d3
[ "MIT" ]
null
null
null
# # Copyright (c) 2021 Airbyte, Inc., all rights reserved. # from .source import SourceDclLogistics __all__ = ["SourceDclLogistics"]
15.111111
56
0.735294
14
136
6.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0.034783
0.154412
136
8
57
17
0.8
0.397059
0
0
0
0
0.230769
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
91d66a69ee932fcd98f26aee8446fa5cfbcf69ba
3,675
py
Python
src/protocols/full_node_protocol.py
reghacker/chia-blockchain
51ab6260dcfbd95b4be9686f717f8d63133ef50f
[ "Apache-2.0" ]
null
null
null
src/protocols/full_node_protocol.py
reghacker/chia-blockchain
51ab6260dcfbd95b4be9686f717f8d63133ef50f
[ "Apache-2.0" ]
null
null
null
src/protocols/full_node_protocol.py
reghacker/chia-blockchain
51ab6260dcfbd95b4be9686f717f8d63133ef50f
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass from typing import List from src.types.full_block import FullBlock from src.types.spend_bundle import SpendBundle from src.types.header_block import HeaderBlock from src.types.peer_info import PeerInfo from src.types.proof_of_time import ProofOfTime from src.types.sized_bytes import b...
17.253521
49
0.785306
417
3,675
6.733813
0.203837
0.121439
0.196225
0.237536
0.60292
0.60292
0.528134
0.498576
0.42735
0.277066
0
0.028635
0.144762
3,675
212
50
17.334906
0.864779
0.006803
0
0.655172
0
0
0
0
0
0
0
0
0
1
0
true
0
0.068966
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
91d86a0b6abacb3d73a0c3d7e0b798f80c909eed
791
py
Python
ctpbee/__init__.py
buy2top/ctpbee
8006bed87da2644da6556ff90ee3c85e89db1130
[ "MIT" ]
1
2022-02-20T09:46:38.000Z
2022-02-20T09:46:38.000Z
ctpbee/__init__.py
buy2top/ctpbee
8006bed87da2644da6556ff90ee3c85e89db1130
[ "MIT" ]
null
null
null
ctpbee/__init__.py
buy2top/ctpbee
8006bed87da2644da6556ff90ee3c85e89db1130
[ "MIT" ]
null
null
null
""" for the future of life """ __version__ = '1.5.1' __status__ = 'release level' # Here are pre import from ctpbee.app import CtpBee from ctpbee.context import current_app, switch_app, get_app, del_app from ctpbee.data_handle.generator import HighKlineSupporter from ctpbee.date import get_day_from from ctpbee.fu...
35.954545
90
0.826802
121
791
5.165289
0.487603
0.224
0.0448
0.064
0
0
0
0
0
0
0
0.004304
0.118837
791
21
91
37.666667
0.892396
0.055626
0
0
0
0
0.02449
0
0
0
0
0
0
1
0
false
0
0.875
0
0.875
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
91de2552f670e3439fa26be6fc3cf4c61e0644c2
316
py
Python
retwist/util/static_file.py
sportsracer/retwist
4dc8bc02051aaf62b9cc91dd576c65c19e17a2c4
[ "MIT" ]
4
2017-05-25T11:25:04.000Z
2022-02-17T05:20:44.000Z
retwist/util/static_file.py
sportsracer/retwist
4dc8bc02051aaf62b9cc91dd576c65c19e17a2c4
[ "MIT" ]
12
2017-06-02T18:18:04.000Z
2022-01-12T03:37:20.000Z
retwist/util/static_file.py
sportsracer/retwist
4dc8bc02051aaf62b9cc91dd576c65c19e17a2c4
[ "MIT" ]
6
2017-10-20T12:03:16.000Z
2022-02-17T05:22:27.000Z
from twisted.web.error import Error from twisted.web.http import NOT_ALLOWED from twisted.web.static import File class NoListingFile(File): """ Serve files, but disallow directory listing. """ def directoryListing(self): # type: () -> None raise Error(NOT_ALLOWED, b"Not allowed")
22.571429
48
0.686709
40
316
5.375
0.625
0.153488
0.195349
0
0
0
0
0
0
0
0
0
0.21519
316
13
49
24.307692
0.866935
0.196203
0
0
0
0
0.046218
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
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
91e5f0cf0c82e63ef1c93879c3e45d6d070adf00
3,526
py
Python
flink-ai-flow/flink_ai_flow/pyflink/user_define_executor.py
MarvinMiao/flink-ai-extended
e45eecf2deea6976ba3d7ba821ffb8d9ce0a17f4
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
1
2020-12-12T15:21:05.000Z
2020-12-12T15:21:05.000Z
flink-ai-flow/flink_ai_flow/pyflink/user_define_executor.py
MarvinMiao/flink-ai-extended
e45eecf2deea6976ba3d7ba821ffb8d9ce0a17f4
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
1
2021-01-30T11:28:37.000Z
2021-01-30T11:28:37.000Z
flink-ai-flow/flink_ai_flow/pyflink/user_define_executor.py
MarvinMiao/flink-ai-extended
e45eecf2deea6976ba3d7ba821ffb8d9ce0a17f4
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
null
null
null
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
30.929825
102
0.724901
435
3,526
5.643678
0.310345
0.0611
0.069654
0.142974
0.267617
0.253768
0.253768
0.253768
0.253768
0.253768
0
0.001779
0.203063
3,526
113
103
31.20354
0.871886
0.213273
0
0.358209
0
0
0
0
0
0
0
0
0
1
0.268657
false
0.134328
0.149254
0.059701
0.567164
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
37e40f5b87d113bb54f1044eb1199266ad1c9aaa
146
py
Python
Teacher/apps.py
nishanthjoelmj/Project-Class-Room
624cabaf27e296f0f57f90918a5218d896053cd8
[ "MIT" ]
1
2021-06-05T08:45:48.000Z
2021-06-05T08:45:48.000Z
Teacher/apps.py
nishanthjoelmj/Project-Class-Room
624cabaf27e296f0f57f90918a5218d896053cd8
[ "MIT" ]
null
null
null
Teacher/apps.py
nishanthjoelmj/Project-Class-Room
624cabaf27e296f0f57f90918a5218d896053cd8
[ "MIT" ]
null
null
null
from django.apps import AppConfig class TeacherConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'Teacher'
20.857143
56
0.760274
17
146
6.411765
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.150685
146
6
57
24.333333
0.879032
0
0
0
0
0
0.246575
0.19863
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
37e511aaf6657939c164d57b26c890870854f991
27,908
py
Python
impala/superCal/post_process.py
lanl/impala
dec3c2e0584d7e58da325549dccf2667fee71002
[ "BSD-3-Clause" ]
2
2022-01-22T02:16:34.000Z
2022-02-08T21:10:50.000Z
impala/superCal/post_process.py
lanl/impala
dec3c2e0584d7e58da325549dccf2667fee71002
[ "BSD-3-Clause" ]
null
null
null
impala/superCal/post_process.py
lanl/impala
dec3c2e0584d7e58da325549dccf2667fee71002
[ "BSD-3-Clause" ]
null
null
null
import numpy as np from impala import superCal as sc import matplotlib.pyplot as plt import matplotlib.pyplot as plt from matplotlib.backends.backend_pdf import PdfPages from scipy.stats import gaussian_kde from scipy.interpolate import interp1d import seaborn as sns from matplotlib.lines import Line2D import pandas a...
45.305195
154
0.591802
4,094
27,908
3.855642
0.100879
0.023503
0.030409
0.029395
0.753564
0.732214
0.714666
0.696927
0.685081
0.675325
0
0.023104
0.255554
27,908
615
155
45.378862
0.736667
0.043894
0
0.665385
0
0
0.02592
0.002367
0
0
0
0
0
1
0.028846
false
0.007692
0.021154
0
0.078846
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
530000e1e0578a541448217cdfbc1b62abca9b06
195
py
Python
chess/conftest.py
tomviner/chess
2709f7c7a4d7c2e8e458e204b4ecfdbe97b1c493
[ "MIT" ]
null
null
null
chess/conftest.py
tomviner/chess
2709f7c7a4d7c2e8e458e204b4ecfdbe97b1c493
[ "MIT" ]
null
null
null
chess/conftest.py
tomviner/chess
2709f7c7a4d7c2e8e458e204b4ecfdbe97b1c493
[ "MIT" ]
null
null
null
import pytest from .game import Game from .user import FakeUser @pytest.fixture def fake_user(monkeypatch): monkeypatch.setattr(Game, 'default_user_class', FakeUser) return FakeUser()
17.727273
61
0.769231
25
195
5.88
0.56
0
0
0
0
0
0
0
0
0
0
0
0.148718
195
10
62
19.5
0.885542
0
0
0
0
0
0.092308
0
0
0
0
0
0
1
0.142857
false
0
0.428571
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
53031e3cb31e3a531fe999536086706c5b3ad006
208
py
Python
test/import_definitions.py
liamstevens/terraformer-remap
70af6b68127af375e80ef4d52e74ca043a30f96d
[ "BSD-3-Clause" ]
null
null
null
test/import_definitions.py
liamstevens/terraformer-remap
70af6b68127af375e80ef4d52e74ca043a30f96d
[ "BSD-3-Clause" ]
5
2022-03-12T12:15:08.000Z
2022-03-26T10:46:30.000Z
test/import_definitions.py
liamstevens/terraformer-remap
70af6b68127af375e80ef4d52e74ca043a30f96d
[ "BSD-3-Clause" ]
null
null
null
import pytest import sys sys.path.append('../src') from remap import parse_schema def test_import_aws(file): parse_schema(file) return if __name__ == '__main__': test_import_aws("./schema.txt")
17.333333
35
0.721154
30
208
4.533333
0.633333
0.161765
0.191176
0
0
0
0
0
0
0
0
0
0.153846
208
12
35
17.333333
0.772727
0
0
0
0
0
0.124402
0
0
0
0
0
0
1
0.111111
false
0
0.555556
0
0.777778
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
530ed623b0a741d244971302b692e7989552ac2b
5,883
py
Python
src/decree/validators.py
sgargan/decree
9b159f7a92efca012e77a3d02faedeed43c2dcf3
[ "MIT" ]
null
null
null
src/decree/validators.py
sgargan/decree
9b159f7a92efca012e77a3d02faedeed43c2dcf3
[ "MIT" ]
null
null
null
src/decree/validators.py
sgargan/decree
9b159f7a92efca012e77a3d02faedeed43c2dcf3
[ "MIT" ]
null
null
null
''' MIT License Copyright (c) 2017 Stephen Gargan 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, modify, merge, publish...
30.169231
92
0.686894
740
5,883
5.331081
0.285135
0.026362
0.035488
0.034221
0.180482
0.137643
0.084411
0
0
0
0
0.000898
0.242563
5,883
194
93
30.324742
0.884425
0.337243
0
0.281553
0
0
0.054328
0
0
0
0
0
0
1
0.242718
false
0
0.058252
0.165049
0.592233
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
5325b4a3deb1c087942ef5fd62e0aa3179c5ded2
160
py
Python
remark_app/apps.py
syz247179876/e_mall
f94e39e091e098242342f532ae371b8ff127542f
[ "Apache-2.0" ]
7
2021-04-10T13:20:56.000Z
2022-03-29T15:00:29.000Z
remark_app/apps.py
syz247179876/E_mall
f94e39e091e098242342f532ae371b8ff127542f
[ "Apache-2.0" ]
9
2021-05-11T03:53:31.000Z
2022-03-12T00:58:03.000Z
remark_app/apps.py
syz247179876/E_mall
f94e39e091e098242342f532ae371b8ff127542f
[ "Apache-2.0" ]
2
2020-11-24T08:59:22.000Z
2020-11-24T14:10:59.000Z
from django.apps import AppConfig class RemarkAppConfig(AppConfig): name = 'remark_app' def ready(self): import remark_app.redis.remark_redis
20
44
0.73125
20
160
5.7
0.7
0.157895
0
0
0
0
0
0
0
0
0
0
0.19375
160
8
44
20
0.883721
0
0
0
0
0
0.062112
0
0
0
0
0
0
1
0.2
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
72542f0a38fc862eafbd39c5ba6cb508ff2fcf04
89
py
Python
libs/cache.py
Dear-fqb/swiper
7889d581bb8ba29b16546a9e2e7c74bfab1dc910
[ "Apache-2.0" ]
1
2018-09-11T14:29:14.000Z
2018-09-11T14:29:14.000Z
libs/cache.py
Dear-fqb/swiper
7889d581bb8ba29b16546a9e2e7c74bfab1dc910
[ "Apache-2.0" ]
6
2020-06-05T19:25:14.000Z
2022-03-11T23:32:06.000Z
libs/cache.py
Dear-fqb/swiper
7889d581bb8ba29b16546a9e2e7c74bfab1dc910
[ "Apache-2.0" ]
null
null
null
from redis import Redis from django.conf import settings rds = Redis(**settings.REDIS)
14.833333
32
0.775281
13
89
5.307692
0.538462
0
0
0
0
0
0
0
0
0
0
0
0.146067
89
5
33
17.8
0.907895
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7260fd8492c70c2e53102685e850eefb263f03b3
322
py
Python
eelbrain/_utils/__init__.py
jpkulasingham/Eelbrain
1061ce0b781a8e55ec187723b58491a5cde32e08
[ "BSD-3-Clause" ]
1
2021-07-26T21:22:35.000Z
2021-07-26T21:22:35.000Z
eelbrain/_utils/__init__.py
jpkulasingham/Eelbrain
1061ce0b781a8e55ec187723b58491a5cde32e08
[ "BSD-3-Clause" ]
1
2019-03-22T15:35:17.000Z
2019-03-22T15:35:17.000Z
eelbrain/_utils/__init__.py
jpkulasingham/Eelbrain
1061ce0b781a8e55ec187723b58491a5cde32e08
[ "BSD-3-Clause" ]
null
null
null
# Author: Christian Brodbeck <christianbrodbeck@nyu.edu> from .basic import ( as_sequence, ask, deprecated, deprecated_attribute, intervals, LazyProperty, keydefaultdict, n_decimals, natsorted, log_level, set_log_level, ScreenHandler, ) from .system import IS_OSX, IS_WINDOWS, user_activity, restore_main_spe...
40.25
72
0.795031
39
322
6.282051
0.846154
0.065306
0
0
0
0
0
0
0
0
0
0
0.127329
322
7
73
46
0.871886
0.167702
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
726650f19ff2c1c59878bed68536bd90035fc6d1
154
py
Python
utils/logger.py
HeroCTF/ctfd-whale
4885675b539fbe5630c6cfb0aa3b12177f897a60
[ "MIT" ]
null
null
null
utils/logger.py
HeroCTF/ctfd-whale
4885675b539fbe5630c6cfb0aa3b12177f897a60
[ "MIT" ]
null
null
null
utils/logger.py
HeroCTF/ctfd-whale
4885675b539fbe5630c6cfb0aa3b12177f897a60
[ "MIT" ]
null
null
null
import logging logging.basicConfig( format='%(asctime)s [CTFd-Whale | %(levelname)s] %(message)s', level=logging.DEBUG, datefmt='%H:%M:%S' )
19.25
66
0.642857
20
154
4.95
0.75
0
0
0
0
0
0
0
0
0
0
0
0.155844
154
7
67
22
0.761538
0
0
0
0
0
0.38961
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
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
72828696390cd20605f1f286edef4727256518e4
1,852
py
Python
tests/test03_regret/01logit_param.py
mwong009/RRM-PoE
6820a4fc12ebb333afea5e11944cd0f80d8d9218
[ "MIT" ]
1
2021-07-12T09:42:09.000Z
2021-07-12T09:42:09.000Z
tests/test03_regret/01logit_param.py
mwong009/RRM-PoE
6820a4fc12ebb333afea5e11944cd0f80d8d9218
[ "MIT" ]
null
null
null
tests/test03_regret/01logit_param.py
mwong009/RRM-PoE
6820a4fc12ebb333afea5e11944cd0f80d8d9218
[ "MIT" ]
1
2020-01-07T00:49:52.000Z
2020-01-07T00:49:52.000Z
# This file has automatically been generated # biogeme 2.6a [Mon May 14 17:32:05 EDT 2018] # <a href='http://people.epfl.ch/michel.bierlaire'>Michel Bierlaire</a>, <a href='http://transp-or.epfl.ch'>Transport and Mobility Laboratory</a>, <a href='http://www.epfl.ch'>Ecole Polytechnique F&eacute;d&eacute;rale de Lausann...
61.733333
739
0.716523
344
1,852
3.77907
0.363372
0.027692
0.030769
0.025385
0
0
0
0
0
0
0
0.384925
0.061555
1,852
29
740
63.862069
0.363061
0.210043
0
0
1
0
0.160825
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
728965ae984a5ae7cb976b3745c32752df5b3ce6
447
py
Python
src/jobs/extract.py
arthurcht/skeleton-pyspark
852dba524e06c925561f674916792754b8309bbe
[ "MIT" ]
6
2021-09-02T12:04:06.000Z
2022-03-22T20:01:39.000Z
src/jobs/extract.py
arthurcht/skeleton-pyspark
852dba524e06c925561f674916792754b8309bbe
[ "MIT" ]
32
2021-09-06T19:11:57.000Z
2022-03-28T19:10:02.000Z
src/jobs/extract.py
arthurcht/skeleton-pyspark
852dba524e06c925561f674916792754b8309bbe
[ "MIT" ]
4
2021-09-08T14:36:30.000Z
2021-09-22T14:12:52.000Z
"""This module is responsible for transform (E) in ETL.""" from pyspark.sql import SparkSession, DataFrame def extract_file(spark: SparkSession, file_path: str) -> DataFrame: """ Extract the local file into a DF. Args: spark (SparkSession): spark session to read the file file_path (str): ...
24.833333
67
0.677852
60
447
4.966667
0.6
0.107383
0.073826
0
0
0
0
0
0
0
0
0
0.234899
447
17
68
26.294118
0.871345
0.543624
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
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
1
0
0
1
0
1
0
0
3
728cfc879231b370c8d912b570b6acdbad39a74f
276
py
Python
src/kExpression.py
mr-eyes/kExpression
f0b5b29cfcd9e9fc394921dee03bc7786b5f1bc5
[ "MIT" ]
null
null
null
src/kExpression.py
mr-eyes/kExpression
f0b5b29cfcd9e9fc394921dee03bc7786b5f1bc5
[ "MIT" ]
null
null
null
src/kExpression.py
mr-eyes/kExpression
f0b5b29cfcd9e9fc394921dee03bc7786b5f1bc5
[ "MIT" ]
null
null
null
import sys import click from src.click_context import cli from src.batch_query import batchQuery # pylint: disable=relative-beyond-top-level # cli.add_command(index_main, name="index") cli.add_command(batchQuery, name="batchQuery") if __name__ == '__main__': cli()
25.090909
87
0.76087
39
276
5.051282
0.564103
0.071066
0.13198
0
0
0
0
0
0
0
0
0
0.130435
276
11
88
25.090909
0.820833
0.300725
0
0
0
0
0.094241
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
72aa8f46970ede8dfe74569f61d2540d5d304251
3,505
py
Python
src_rendering/generate_xml.py
jamesrchen/Combinatorial-3D-Shape-Generation
0f2dc9a4c6f5844cbce53fe4f2b7244cadf6231e
[ "MIT" ]
39
2020-11-22T09:08:38.000Z
2022-01-07T12:34:09.000Z
src_rendering/generate_xml.py
jamesrchen/Combinatorial-3D-Shape-Generation
0f2dc9a4c6f5844cbce53fe4f2b7244cadf6231e
[ "MIT" ]
2
2021-12-29T14:55:50.000Z
2022-01-08T02:07:30.000Z
src_rendering/generate_xml.py
jamesrchen/Combinatorial-3D-Shape-Generation
0f2dc9a4c6f5844cbce53fe4f2b7244cadf6231e
[ "MIT" ]
5
2021-07-08T12:58:10.000Z
2022-01-07T12:34:12.000Z
import os import constants STR_PRE = '<?xml version="1.0" encoding="utf-8"?>\n\n<scene version="0.5.0">\n<integrator type="direct"> <integer name="bsdfSamples" value="4"/> <integer name="emitterSamples" value="8"/> <boolean name="hideEmitters" value="true"/> </integrator>\n<emitter type="envmap" id="Area_002-light">...
67.403846
1,351
0.640228
540
3,505
4.025926
0.255556
0.031279
0.037259
0.038638
0.281969
0.24931
0.24379
0.24379
0.24379
0.24379
0
0.045973
0.149786
3,505
51
1,352
68.72549
0.683557
0
1
0.058824
0
0.088235
0.655822
0.102169
0
0
0
0
0
1
0.029412
false
0
0.058824
0
0.088235
0.147059
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
72ad90dc048dc15f7c2b757d70214a8621ae6608
1,724
py
Python
common/database.py
awesome-archive/ReadableWebProxy
360104694a21bc14c7756f29205c95823387e30b
[ "BSD-3-Clause" ]
null
null
null
common/database.py
awesome-archive/ReadableWebProxy
360104694a21bc14c7756f29205c95823387e30b
[ "BSD-3-Clause" ]
null
null
null
common/database.py
awesome-archive/ReadableWebProxy
360104694a21bc14c7756f29205c95823387e30b
[ "BSD-3-Clause" ]
null
null
null
from sqlalchemy_continuum_vendored import make_versioned # make_versioned(user_cls=None, options={'strategy' : 'subquery'}) # Import the DB things. from common.main_archive_db import WebPages from common.main_archive_db import WebFiles from common.main_archive_db import PluginStatus from common.main_archive_db impo...
32.528302
66
0.87355
271
1,724
5.225092
0.258303
0.218927
0.101695
0.103814
0.610169
0.544492
0.277542
0.05226
0.05226
0
0
0
0.095128
1,724
52
67
33.153846
0.907692
0.089327
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.970588
0
0.970588
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
72b14fbbeca38de194d4da1fa3ff4211f25c5e1c
73
py
Python
PDI/aula1.py
RutyRibeiro/AulasPDI-UNIP
d6bcd9f75e951cc0db6854d7c9a7882cc31481db
[ "MIT" ]
1
2020-09-14T19:08:51.000Z
2020-09-14T19:08:51.000Z
PDI/aula1.py
RutyRibeiro/AulasPDI-UNIP
d6bcd9f75e951cc0db6854d7c9a7882cc31481db
[ "MIT" ]
null
null
null
PDI/aula1.py
RutyRibeiro/AulasPDI-UNIP
d6bcd9f75e951cc0db6854d7c9a7882cc31481db
[ "MIT" ]
null
null
null
from PIL import Image img=(Image.open('kk.png')).convert('L') img.show()
18.25
39
0.684932
13
73
3.846154
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.082192
73
3
40
24.333333
0.746269
0
0
0
0
0
0.09589
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
72f89818536238dae1ce2e4e9dfa8ce8a7967d23
1,396
py
Python
panda/exceptions.py
higs4281/panda
133baa47882a289773a30c9656e2ea4efe569387
[ "MIT" ]
72
2015-02-12T22:28:11.000Z
2022-01-20T08:35:31.000Z
panda/exceptions.py
higs4281/panda
133baa47882a289773a30c9656e2ea4efe569387
[ "MIT" ]
24
2015-01-12T21:52:35.000Z
2021-12-13T19:39:46.000Z
panda/exceptions.py
higs4281/panda
133baa47882a289773a30c9656e2ea4efe569387
[ "MIT" ]
31
2015-01-09T19:20:19.000Z
2021-10-20T01:21:23.000Z
#!/usr/bin/env python from django.utils.translation import ugettext as _ class DatasetLockedError(Exception): """ Exception raised when a lock can not be acquired on a dataset. """ pass class DataUploadNotDeletable(Exception): """ Exception raised when a DataUpload can not be deleted. """ ...
25.851852
74
0.672636
167
1,396
5.520958
0.419162
0.136659
0.182213
0.212581
0.18872
0
0
0
0
0
0
0
0.239255
1,396
53
75
26.339623
0.868173
0.401146
0
0.3
0
0
0.096234
0
0
0
0
0
0
1
0.05
false
0.3
0.1
0
0.5
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
72ff66f32e0fdf691b70a6e03166229d84cd3603
2,395
py
Python
django_graphene_permissions/operation_mixin.py
rikardow/django-graphene-permissions
1dbba637777a613c95d8d74c184efcb36cb32049
[ "BSD-3-Clause" ]
null
null
null
django_graphene_permissions/operation_mixin.py
rikardow/django-graphene-permissions
1dbba637777a613c95d8d74c184efcb36cb32049
[ "BSD-3-Clause" ]
null
null
null
django_graphene_permissions/operation_mixin.py
rikardow/django-graphene-permissions
1dbba637777a613c95d8d74c184efcb36cb32049
[ "BSD-3-Clause" ]
null
null
null
class OperationHolderMixin: def __and__(self, other): return OperandHolder(AND, self, other) def __or__(self, other): return OperandHolder(OR, self, other) def __rand__(self, other): return OperandHolder(AND, other, self) def __ror__(self, other): return OperandHolder(...
26.910112
64
0.635908
279
2,395
5.129032
0.103943
0.078267
0.106219
0.090846
0.793152
0.695318
0.668763
0.643606
0.4703
0.4703
0
0.024614
0.270564
2,395
88
65
27.215909
0.794505
0
0
0.453125
0
0
0
0
0
0
0
0
0
1
0.28125
false
0.015625
0
0.171875
0.59375
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
f40430d38507259080131ba48badcc4fce32ef23
82
py
Python
colossalai/utils/memory_tracer/__init__.py
jiangz17THU/ColossalAI
354b7954d1fa6b21a5ba566f0d5ec099280ad315
[ "Apache-2.0" ]
null
null
null
colossalai/utils/memory_tracer/__init__.py
jiangz17THU/ColossalAI
354b7954d1fa6b21a5ba566f0d5ec099280ad315
[ "Apache-2.0" ]
null
null
null
colossalai/utils/memory_tracer/__init__.py
jiangz17THU/ColossalAI
354b7954d1fa6b21a5ba566f0d5ec099280ad315
[ "Apache-2.0" ]
null
null
null
from .async_memtracer import AsyncMemoryMonitor __all__ = ['AsyncMemoryMonitor']
20.5
47
0.829268
7
82
9
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.097561
82
3
48
27.333333
0.851351
0
0
0
0
0
0.219512
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f40929d899b64bfe17f646c535125c04ecdd7278
99
py
Python
week8/informatics/if_a.py
PlayLife2k/WebDev
4003081c038eb49e51622c039a9d656b0a894271
[ "MIT" ]
null
null
null
week8/informatics/if_a.py
PlayLife2k/WebDev
4003081c038eb49e51622c039a9d656b0a894271
[ "MIT" ]
18
2020-07-20T05:26:25.000Z
2022-03-02T07:38:12.000Z
week8/informatics/if_a.py
PlayLife2k/WebDev
4003081c038eb49e51622c039a9d656b0a894271
[ "MIT" ]
null
null
null
num1 = int(input()) num2 = int(input()) if num1>=num2: print(num1) else: print(num2)
14.142857
20
0.565657
14
99
4
0.5
0.285714
0
0
0
0
0
0
0
0
0
0.081081
0.252525
99
6
21
16.5
0.675676
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
f41c0c52eea7809383ebb9ea63e6a02bf5f81c53
210
py
Python
euler/4.py
sara-02/dsa_sg
7c34b17772db728419070d35664ad75c67645b1e
[ "MIT" ]
null
null
null
euler/4.py
sara-02/dsa_sg
7c34b17772db728419070d35664ad75c67645b1e
[ "MIT" ]
null
null
null
euler/4.py
sara-02/dsa_sg
7c34b17772db728419070d35664ad75c67645b1e
[ "MIT" ]
null
null
null
def palin(s): while s!='': if s[0] != s[-1]: return 0 s = s[1:-1] return 1 l = 10000 for i in range(100, 1000): for j in range(100, 1000): c = i * j if palin(str(c)) and c > l: l = c print l
13.125
29
0.514286
46
210
2.347826
0.456522
0.037037
0.185185
0.259259
0
0
0
0
0
0
0
0.170068
0.3
210
15
30
14
0.564626
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
f4245f722c7102d1c968afba1f3107e00bb81a8f
858
py
Python
app/auth/models.py
dgazcon27/api_erp_gestional_inc
e759120ce6177615a32616681539e2dbc722beba
[ "MIT" ]
null
null
null
app/auth/models.py
dgazcon27/api_erp_gestional_inc
e759120ce6177615a32616681539e2dbc722beba
[ "MIT" ]
null
null
null
app/auth/models.py
dgazcon27/api_erp_gestional_inc
e759120ce6177615a32616681539e2dbc722beba
[ "MIT" ]
null
null
null
from app.db import db, BaseModelMixin from flask_jwt_extended import create_access_token import datetime class Auth(db.Model, BaseModelMixin): id = db.Column(db.Integer, primary_key=True) token = db.Column(db.Text, unique=True) user_id = db.Column(db.Integer, db.ForeignKey('user.id')) created_at = db.Column(db.Dat...
30.642857
99
0.764569
134
858
4.679104
0.380597
0.047847
0.063796
0.038278
0.060606
0
0
0
0
0
0
0
0.110723
858
28
100
30.642857
0.821756
0
0
0.095238
0
0
0.018626
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.809524
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
f426a0cce4df19a6f37d3523932c4989e3e36ba7
176
py
Python
Diakonov_Denys/back/core/settings_prod.py
antonymorato/isd_da72
182622f247b51eb291b7f17ad91c21c5725aadc0
[ "MIT" ]
3
2020-09-23T05:34:49.000Z
2021-03-06T19:00:24.000Z
Diakonov_Denys/back/core/settings_prod.py
antonymorato/isd_da72
182622f247b51eb291b7f17ad91c21c5725aadc0
[ "MIT" ]
22
2020-11-02T13:16:55.000Z
2020-12-08T19:39:27.000Z
Diakonov_Denys/back/core/settings_prod.py
antonymorato/isd_da72
182622f247b51eb291b7f17ad91c21c5725aadc0
[ "MIT" ]
16
2020-09-23T05:15:49.000Z
2020-11-10T21:44:36.000Z
from .settings import * import os SECRET_KEY = os.environ["SECRET_KEY"] ALLOWED_HOSTS = ["lab-templates.herokuapp.com"] import django_heroku django_heroku.settings(locals())
19.555556
47
0.784091
24
176
5.541667
0.666667
0.135338
0
0
0
0
0
0
0
0
0
0
0.096591
176
9
48
19.555556
0.836478
0
0
0
0
0
0.20904
0.152542
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
f4278b44ab09c2604de9b0d4a1ee62dfb11b36cd
5,343
py
Python
release/stubs.min/Autodesk/Revit/DB/Analysis_parts/EnergyAnalysisSurface.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/Analysis_parts/EnergyAnalysisSurface.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/Analysis_parts/EnergyAnalysisSurface.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class EnergyAnalysisSurface(Element, IDisposable): """ Analytical surface. The collection of analytic openings belonging to this analytical parent surface """ def Dispose(self): """ Dispose(self: Element,A_0: bool) """ pass def GetAdjacentAnalyticalSpace(self): "...
22.639831
221
0.648325
537
5,343
6.33892
0.212291
0.114571
0.068743
0.091657
0.407462
0.34812
0.326381
0.300529
0.300529
0.269977
0
0.00025
0.250795
5,343
235
222
22.73617
0.850112
0.266517
0
0.347826
0
0
0
0
0
0
0
0
0
1
0.23913
false
0.23913
0
0
0.543478
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
f43768091e63f2a964556ead1567c93fcca45b4d
379
py
Python
inn/inn_hotels/doctype/inn_room_type/inn_room_type.py
vinhnguyent090/front-desk
7384642e9206e30855986465a7ef63c8fd76ef2a
[ "MIT" ]
4
2021-08-19T03:33:36.000Z
2021-08-28T16:37:52.000Z
inn/inn_hotels/doctype/inn_room_type/inn_room_type.py
vinhnguyent090/front-desk
7384642e9206e30855986465a7ef63c8fd76ef2a
[ "MIT" ]
98
2020-02-24T08:12:47.000Z
2021-08-21T07:54:03.000Z
inn/inn_hotels/doctype/inn_room_type/inn_room_type.py
vinhnguyent090/front-desk
7384642e9206e30855986465a7ef63c8fd76ef2a
[ "MIT" ]
13
2021-01-24T18:08:43.000Z
2022-03-29T09:23:25.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2020, Core Initiative and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class InnRoomType(Document): pass @frappe.whitelist() def get_all_room_type(): list = fra...
23.6875
56
0.762533
52
379
5.384615
0.730769
0.042857
0
0
0
0
0
0
0
0
0
0.015198
0.131926
379
15
57
25.266667
0.835866
0.3219
0
0
0
0
0.067194
0
0
0
0
0
0
1
0.111111
false
0.111111
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
0
0
0
0
0
1
1
0
1
0
0
3
f4387b349ceedf45355fea618a188bc405f2a396
136
py
Python
third_party/universal-ctags/ctags/Units/parser-python.r/python-comments.d/input.py
f110/wing
31b259f723b57a6481252a4b8b717fcee6b01ff4
[ "MIT" ]
4
2017-02-07T20:04:31.000Z
2022-01-30T14:04:45.000Z
third_party/universal-ctags/ctags/Units/parser-python.r/python-comments.d/input.py
f110/wing
31b259f723b57a6481252a4b8b717fcee6b01ff4
[ "MIT" ]
1
2018-01-07T19:14:53.000Z
2018-01-07T19:14:53.000Z
third_party/universal-ctags/ctags/Units/parser-python.r/python-comments.d/input.py
f110/wing
31b259f723b57a6481252a4b8b717fcee6b01ff4
[ "MIT" ]
1
2021-04-26T09:00:06.000Z
2021-04-26T09:00:06.000Z
import foo ## as bug1 "hello" ## import bug2 "hi" # something # class bug3 for i in range(1, 2): ##class bug4 pass ## class bug5
15.111111
34
0.625
22
136
3.863636
0.863636
0
0
0
0
0
0
0
0
0
0
0.067961
0.242647
136
8
35
17
0.757282
0.455882
0
0
0
0
0.112903
0
0
0
0
0
0
1
0
false
0.2
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
f438d96b665990c48af09584ad56555204daa77e
159
py
Python
error_handling/apps.py
JoelRice/Plan-Shop-Eat
2646c918199e1c8857aeaaadacc4c656fb9f2170
[ "MIT" ]
2
2021-10-05T15:57:00.000Z
2022-03-02T14:36:01.000Z
error_handling/apps.py
JoelRice/Plan-Shop-Eat
2646c918199e1c8857aeaaadacc4c656fb9f2170
[ "MIT" ]
17
2021-10-06T14:44:25.000Z
2021-10-19T15:03:30.000Z
error_handling/apps.py
JoelRice/Plan-Shop-Eat
2646c918199e1c8857aeaaadacc4c656fb9f2170
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ErrorHandlingConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'error_handling'
22.714286
56
0.779874
18
159
6.722222
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.138365
159
6
57
26.5
0.883212
0
0
0
0
0
0.27044
0.18239
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
f481ee5f4f7f286df6a0fd33236d0f68e7d3c288
19,102
py
Python
tests/validation/tests/v3_api/test_configmaps.py
httpsOmkar/rancher
810740fcdb3b1b73a890cb120f58165195ee02c9
[ "Apache-2.0" ]
1
2020-02-19T08:36:18.000Z
2020-02-19T08:36:18.000Z
tests/validation/tests/v3_api/test_configmaps.py
httpsOmkar/rancher
810740fcdb3b1b73a890cb120f58165195ee02c9
[ "Apache-2.0" ]
1
2021-04-30T21:42:30.000Z
2021-04-30T21:42:30.000Z
tests/validation/tests/v3_api/test_configmaps.py
httpsOmkar/rancher
810740fcdb3b1b73a890cb120f58165195ee02c9
[ "Apache-2.0" ]
null
null
null
from .common import * # NOQA from rancher import ApiError CLUSTER_NAME = os.environ.get("CLUSTER_NAME", "") namespace = {"p_client": None, "ns": None, "cluster": None, "project": None} def test_cmap_create_single_ns_volume(): """ Create a configmap.Create and validate workload using the configmap as a...
35.505576
79
0.651974
2,185
19,102
5.366133
0.091076
0.047761
0.021493
0.033774
0.753859
0.73629
0.700043
0.674371
0.658763
0.630874
0
0.0035
0.267145
19,102
537
80
35.571695
0.83406
0.112658
0
0.611594
0
0
0.07332
0.001258
0
0
0
0
0.043478
1
0.084058
false
0
0.005797
0
0.092754
0.037681
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
be33ba35a22e3f3baa8e9b1805341b5db81c39df
50
py
Python
modules/database.py
FalseG0d/UIPersonalization
23bd35b51688bd8dfae0e389c5642250e2a835b6
[ "MIT" ]
null
null
null
modules/database.py
FalseG0d/UIPersonalization
23bd35b51688bd8dfae0e389c5642250e2a835b6
[ "MIT" ]
1
2020-12-17T14:15:03.000Z
2020-12-17T14:15:03.000Z
modules/database.py
parul44/FaceRecognition
15b1e44aedda95b95096fd44e8646cbd513c9609
[ "MIT" ]
7
2020-12-13T15:11:15.000Z
2020-12-17T13:08:23.000Z
from flask_pymongo import PyMongo mongo=PyMongo()
16.666667
33
0.84
7
50
5.857143
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.1
50
3
34
16.666667
0.911111
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
be3a70fee0b9a1624af65e0d9ef63007502d2d07
675
py
Python
catkin_ws/build/my_package/cmake/my_package-genmsg-context.py
SACHINKUMARHACKER/ROS
312daa76fbea288e5094684ad19ca52407fddbfa
[ "BSD-2-Clause" ]
null
null
null
catkin_ws/build/my_package/cmake/my_package-genmsg-context.py
SACHINKUMARHACKER/ROS
312daa76fbea288e5094684ad19ca52407fddbfa
[ "BSD-2-Clause" ]
null
null
null
catkin_ws/build/my_package/cmake/my_package-genmsg-context.py
SACHINKUMARHACKER/ROS
312daa76fbea288e5094684ad19ca52407fddbfa
[ "BSD-2-Clause" ]
null
null
null
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/hunter/github_projects/ROS/catkin_ws/src/my_package/msg/Num.msg" services_str = "/home/hunter/github_projects/ROS/catkin_ws/src/my_package/srv/AddTwoInts.srv" pkg_name = "my_package" dependencies_str = "std_msgs" langs = "gencpp;geneus;genlisp;g...
56.25
152
0.795556
105
675
4.828571
0.504762
0.088757
0.094675
0.142012
0.301775
0.301775
0.301775
0.301775
0.301775
0.301775
0
0
0.05037
675
11
153
61.363636
0.790952
0.072593
0
0
1
0.111111
0.674679
0.615385
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
be5401749eebbae4139e2bfc4c24b1b11b261caf
180
py
Python
cogs/boosts.py
GryPr/Aura
2fc03ba530948fe5dce1902ed5b361f56df87710
[ "MIT" ]
null
null
null
cogs/boosts.py
GryPr/Aura
2fc03ba530948fe5dce1902ed5b361f56df87710
[ "MIT" ]
null
null
null
cogs/boosts.py
GryPr/Aura
2fc03ba530948fe5dce1902ed5b361f56df87710
[ "MIT" ]
null
null
null
from discord.ext import commands class Boosts(commands.Cog): def __init__(self, client): self.client = client def setup(client): client.add_cog(Boosts(client))
16.363636
34
0.7
24
180
5.041667
0.583333
0.165289
0
0
0
0
0
0
0
0
0
0
0.194444
180
10
35
18
0.834483
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
be54a405b46ddee8a39497ef72500113e09a3cb0
11,206
py
Python
skrf/media/tests/test_media.py
dxxx9/scikit-rf
8bbb23ff5ef25ae054cfd45b4558cbdfce3378a7
[ "BSD-3-Clause" ]
379
2015-01-25T12:19:19.000Z
2022-03-29T14:01:07.000Z
skrf/media/tests/test_media.py
jhillairet/scikit-rf
060257568f3c0bdcc817e89742ec29445df81a09
[ "BSD-3-Clause" ]
456
2015-01-06T19:15:55.000Z
2022-03-31T06:42:57.000Z
skrf/media/tests/test_media.py
jhillairet/scikit-rf
060257568f3c0bdcc817e89742ec29445df81a09
[ "BSD-3-Clause" ]
211
2015-01-06T17:14:06.000Z
2022-03-31T01:36:00.000Z
# -*- coding: utf-8 -*- import unittest import os import numpy as npy from skrf.media import DefinedGammaZ0, Media from skrf.network import Network from skrf.frequency import Frequency import skrf class DefinedGammaZ0TestCase(unittest.TestCase): def setUp(self): self.files_dir = os.path.join( ...
31.301676
106
0.547742
1,554
11,206
3.807593
0.103604
0.056279
0.087544
0.127767
0.764577
0.744803
0.736184
0.717086
0.642724
0.571911
0
0.050122
0.307425
11,206
357
107
31.389356
0.707641
0.193468
0
0.450549
0
0
0.014604
0.003408
0
0
0
0
0.258242
1
0.115385
false
0
0.038462
0
0.17033
0
0
0
0
null
0
0
0
0
1
1
1
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
be65b3c581e86c42152c0689cdeeda2507e32af4
1,647
py
Python
qcloudsdkvpc/ModifyLocalIPTranslationNatRuleRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkvpc/ModifyLocalIPTranslationNatRuleRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkvpc/ModifyLocalIPTranslationNatRuleRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class ModifyLocalIPTranslationNatRuleRequest(Request): def __init__(self): super(ModifyLocalIPTranslationNatRuleRequest, self).__init__( 'vpc', 'qcloudcliV1', 'ModifyLocalIPTranslationNatRule', 'vpc.api.qcloud.com') def ge...
31.673077
90
0.712204
165
1,647
6.890909
0.193939
0.036939
0.086192
0.104661
0.16007
0.16007
0
0
0
0
0
0.001475
0.176685
1,647
51
91
32.294118
0.837021
0.01275
0
0
0
0
0.149631
0.046182
0
0
0
0
0
1
0.454545
false
0
0.030303
0.212121
0.727273
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
be7ed7c9172dbb8f3c11a6fa292951bd37313845
847
py
Python
Lab3/Fraction.py
GnomGad/PythonLabs
e04e03aee2e3f1c6960e7af707f1c56887c45d32
[ "MIT" ]
null
null
null
Lab3/Fraction.py
GnomGad/PythonLabs
e04e03aee2e3f1c6960e7af707f1c56887c45d32
[ "MIT" ]
null
null
null
Lab3/Fraction.py
GnomGad/PythonLabs
e04e03aee2e3f1c6960e7af707f1c56887c45d32
[ "MIT" ]
null
null
null
class Fraction(object): def __init__(self, num, den): self.__num = num self.__den = den self.reduce() def __str__(self): return "%d/%d" % (self.__num, self.__den) def __invert__(self): return Fraction(self.__den,self.__num) def __neg__(self): return Fr...
22.891892
57
0.552538
107
847
3.775701
0.233645
0.173267
0.148515
0.173267
0.168317
0
0
0
0
0
0
0.001739
0.321133
847
36
58
23.527778
0.70087
0
0
0
0
0
0.005903
0
0
0
0
0
0
1
0.333333
false
0
0
0.222222
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
be9bcbba9ec27a3227a7815ce174e073e7e026ef
121
py
Python
tests/test_main.py
mbhein/include-beer-edge-th
d059eabf889c976dd6b143a8c6f61ec54db99033
[ "MIT" ]
null
null
null
tests/test_main.py
mbhein/include-beer-edge-th
d059eabf889c976dd6b143a8c6f61ec54db99033
[ "MIT" ]
4
2020-10-18T01:18:34.000Z
2020-10-18T15:35:20.000Z
tests/test_main.py
mbhein/include-beer-edge-th
d059eabf889c976dd6b143a8c6f61ec54db99033
[ "MIT" ]
null
null
null
import pytest import includebeeredgeth def test_main(capsys): includebeeredgeth print(dir(includebeeredgeth))
13.444444
33
0.785124
12
121
7.833333
0.75
0
0
0
0
0
0
0
0
0
0
0
0.157025
121
8
34
15.125
0.921569
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
0.2
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
beb534bf038bb2b244bb45fdf6a354367731a4c4
1,109
py
Python
backend/grafit/serializers.py
fossabot/grafit
c7328cc7ed4d37d36fc735944aa8763fad090d97
[ "MIT" ]
null
null
null
backend/grafit/serializers.py
fossabot/grafit
c7328cc7ed4d37d36fc735944aa8763fad090d97
[ "MIT" ]
null
null
null
backend/grafit/serializers.py
fossabot/grafit
c7328cc7ed4d37d36fc735944aa8763fad090d97
[ "MIT" ]
null
null
null
from django.contrib.auth.models import Group from .models import User, Article from rest_framework import serializers class UserSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = User fields = ('url', 'username', 'email', 'groups', 'first_name', 'last_name') class CreateUser...
31.685714
99
0.671776
117
1,109
6.239316
0.487179
0.049315
0.076712
0.189041
0.286301
0.09589
0.09589
0
0
0
0
0
0.216411
1,109
34
100
32.617647
0.840046
0.079351
0
0.25
0
0
0.138507
0
0
0
0
0
0
1
0.041667
false
0.083333
0.125
0
0.541667
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
bebd8665777ef1c3e90e3eb1cbfd76ce4ba946b0
88
py
Python
geekbang/test_for.py
MiracleWong/PythonBasic
cb8ec59dc646842b41966ea4ea4b1ee66a342eee
[ "MIT" ]
null
null
null
geekbang/test_for.py
MiracleWong/PythonBasic
cb8ec59dc646842b41966ea4ea4b1ee66a342eee
[ "MIT" ]
null
null
null
geekbang/test_for.py
MiracleWong/PythonBasic
cb8ec59dc646842b41966ea4ea4b1ee66a342eee
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- alist = [i*i for i in range(1, 11) if (i % 2) == 0] print(alist)
22
51
0.522727
18
88
2.555556
0.777778
0
0
0
0
0
0
0
0
0
0
0.086957
0.215909
88
4
52
22
0.57971
0.227273
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
bec93c78c5fe4dee1fbeb83fb63857e54a055135
295
py
Python
output/models/nist_data/atomic/unsigned_long/schema_instance/nistschema_sv_iv_atomic_unsigned_long_total_digits_1_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/atomic/unsigned_long/schema_instance/nistschema_sv_iv_atomic_unsigned_long_total_digits_1_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/atomic/unsigned_long/schema_instance/nistschema_sv_iv_atomic_unsigned_long_total_digits_1_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.nist_data.atomic.unsigned_long.schema_instance.nistschema_sv_iv_atomic_unsigned_long_total_digits_1_xsd.nistschema_sv_iv_atomic_unsigned_long_total_digits_1 import NistschemaSvIvAtomicUnsignedLongTotalDigits1 __all__ = [ "NistschemaSvIvAtomicUnsignedLongTotalDigits1", ]
49.166667
227
0.908475
33
295
7.393939
0.606061
0.172131
0.221311
0.163934
0.360656
0.360656
0.360656
0.360656
0.360656
0
0
0.014235
0.047458
295
5
228
59
0.854093
0
0
0
0
0
0.149153
0.149153
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fe2be9b651fa3a433a449ba95f61dc7437a3fce7
379
py
Python
gytrash/filters/slack.py
New-Math-Data/gytrash
5ed28cc9bddf009caef347a883cb30b5e01cc8f9
[ "Apache-2.0" ]
null
null
null
gytrash/filters/slack.py
New-Math-Data/gytrash
5ed28cc9bddf009caef347a883cb30b5e01cc8f9
[ "Apache-2.0" ]
8
2021-07-03T22:23:05.000Z
2021-07-06T01:06:20.000Z
gytrash/filters/slack.py
trejas/gytrash
5ed28cc9bddf009caef347a883cb30b5e01cc8f9
[ "Apache-2.0" ]
null
null
null
import logging class SlackLogFilter(logging.Filter): """ Logging filter to decide when logging to Slack is requested, using the `extra` kwargs: `logger.info("...", extra={'notify_slack': True})` Inherits: logging.Filter: Base log filtering class """ def filter(self, recor...
22.294118
70
0.638522
43
379
5.581395
0.674419
0.1625
0
0
0
0
0
0
0
0
0
0
0.245383
379
16
71
23.6875
0.839161
0.519789
0
0
0
0
0.082759
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fe2fa4267fa0234cde7eb94eb9cb79659236358a
69
py
Python
h2ospawner/__init__.py
c2j/h2ospawner
01cae610307d4a4145fe0f7aa0967d9e8de13d8d
[ "BSD-3-Clause" ]
null
null
null
h2ospawner/__init__.py
c2j/h2ospawner
01cae610307d4a4145fe0f7aa0967d9e8de13d8d
[ "BSD-3-Clause" ]
null
null
null
h2ospawner/__init__.py
c2j/h2ospawner
01cae610307d4a4145fe0f7aa0967d9e8de13d8d
[ "BSD-3-Clause" ]
null
null
null
from h2ospawner.h2ospawner import H2OSpawner __all__ = [H2OSpawner]
17.25
44
0.826087
7
69
7.571429
0.571429
0
0
0
0
0
0
0
0
0
0
0.065574
0.115942
69
3
45
23
0.803279
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
fe3d89dfcb69c207fff10f2787c9265f12b6b830
469
py
Python
f12019/app/models/__init__.py
AndersonBatalha/django-2.2.3
7e9d82d98cdcc30ebf55867154941f45357925a5
[ "Apache-2.0" ]
null
null
null
f12019/app/models/__init__.py
AndersonBatalha/django-2.2.3
7e9d82d98cdcc30ebf55867154941f45357925a5
[ "Apache-2.0" ]
14
2019-12-04T23:47:53.000Z
2022-02-10T12:40:11.000Z
f12019/app/models/__init__.py
AndersonBatalha/django-2.2.3
7e9d82d98cdcc30ebf55867154941f45357925a5
[ "Apache-2.0" ]
null
null
null
from .Categoria import Categoria from .Cidade import Cidade from .Circuito import Circuito from .Comentario import Comentario from .Equipe import Equipe from .Evento import Evento from .Funcao import Funcao from .Grupo import Grupo from .Pais import Pais from .Piloto import Piloto from .Pontuacao import Pontuacao from ...
29.3125
42
0.831557
64
469
6.09375
0.28125
0
0
0
0
0
0
0
0
0
0
0
0.134328
469
16
43
29.3125
0.960591
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
fe5157a2d5e71eeaaaed8fe5ea2a386707679e1f
2,488
py
Python
games/spiders/weaver.py
jrcowart/megaminer_spring2016
115f71dadde49e170af50b2f55127ba184cfb2cb
[ "MIT" ]
4
2016-07-25T01:06:05.000Z
2018-11-17T09:02:43.000Z
games/spiders/weaver.py
jrcowart/megaminer_spring2016
115f71dadde49e170af50b2f55127ba184cfb2cb
[ "MIT" ]
null
null
null
games/spiders/weaver.py
jrcowart/megaminer_spring2016
115f71dadde49e170af50b2f55127ba184cfb2cb
[ "MIT" ]
2
2018-11-17T09:02:43.000Z
2019-11-13T11:09:41.000Z
# Generated by Creer at 10:56PM on April 20, 2016 UTC, git hash: '087b1901032ab5bed5806b24830233eac5c2de55' # This is a simple class to represent the Weaver object in the game. You can extend it by adding utility functions here in this file. from games.spiders.spiderling import Spiderling # <<-- Creer-Merge: imports ...
34.555556
135
0.66881
340
2,488
4.823529
0.373529
0.02439
0.029268
0.020732
0.37439
0.37439
0.37439
0.37439
0.339024
0.339024
0
0.02
0.256431
2,488
71
136
35.042254
0.866486
0.677653
0
0.125
1
0
0.025157
0
0
0
0
0
0
1
0.3125
false
0
0.0625
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
fe62fbf68ab8fbd7b755324b67063f312c366386
346
py
Python
tcae/tcae/items.py
seniorglez/TCAE-Spider
1180d6cfd36888e089f4c18fa29008df79af8153
[ "MIT" ]
null
null
null
tcae/tcae/items.py
seniorglez/TCAE-Spider
1180d6cfd36888e089f4c18fa29008df79af8153
[ "MIT" ]
null
null
null
tcae/tcae/items.py
seniorglez/TCAE-Spider
1180d6cfd36888e089f4c18fa29008df79af8153
[ "MIT" ]
null
null
null
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html from scrapy import Item, Field class TcaeQuestion(Item): title = Field(type=str) answer_1 = Field(type=str) answer_2 = Field(type=str) answer_3 = Field(type=str) correct...
23.066667
53
0.710983
52
346
4.653846
0.653846
0.18595
0.198347
0.223141
0
0
0
0
0
0
0
0.010526
0.176301
346
14
54
24.714286
0.838596
0.343931
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
fe6773659341e823272b892a0c2076770872c4ee
95
py
Python
abc/abc049/abc049b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
1
2019-08-21T00:49:34.000Z
2019-08-21T00:49:34.000Z
abc/abc049/abc049b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
abc/abc049/abc049b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
H, W = map(int, input().split()) for _ in range(H): C = input() print(C) print(C)
13.571429
32
0.505263
16
95
2.9375
0.6875
0.255319
0
0
0
0
0
0
0
0
0
0
0.284211
95
6
33
15.833333
0.691176
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
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
fe789a5123875842a0ddec7bbf87f54222682c6f
315
py
Python
tests/__main__.py
manicmaniac/provisioning
ca29b9ee6f4274489bbf8fbc79b44ebcfc22e66a
[ "MIT" ]
4
2018-11-05T10:33:57.000Z
2019-10-11T16:12:15.000Z
tests/__main__.py
manicmaniac/provisioning
ca29b9ee6f4274489bbf8fbc79b44ebcfc22e66a
[ "MIT" ]
null
null
null
tests/__main__.py
manicmaniac/provisioning
ca29b9ee6f4274489bbf8fbc79b44ebcfc22e66a
[ "MIT" ]
2
2021-01-21T03:45:54.000Z
2021-12-30T00:55:50.000Z
#!/usr/bin/env python # -*- coding:utf-8 -*- import unittest import sys import os.path sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from profile_test import ProvisioningProfileTests from entitlements_test import EntitlementsTests if __name__ == '__main__': unittest.main()
22.5
79
0.765079
43
315
5.27907
0.604651
0.105727
0.114537
0.132159
0.140969
0
0
0
0
0
0
0.007117
0.107937
315
13
80
24.230769
0.800712
0.130159
0
0
0
0
0.02952
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
fe903124ffebc9ac7ffc2a7c2ecd113434706ee8
1,039
py
Python
python/orientacao-objetos-2/funcionario.py
LMThomaz-Study/cursos-alura
eeb9d29b5627365309ee0b0d69cae18e6166ccac
[ "MIT" ]
null
null
null
python/orientacao-objetos-2/funcionario.py
LMThomaz-Study/cursos-alura
eeb9d29b5627365309ee0b0d69cae18e6166ccac
[ "MIT" ]
null
null
null
python/orientacao-objetos-2/funcionario.py
LMThomaz-Study/cursos-alura
eeb9d29b5627365309ee0b0d69cae18e6166ccac
[ "MIT" ]
null
null
null
class Funcionario: def __init__(self, nome): self.nome = nome def registrar_horas(self, horas): print(f"Horas registradas: {horas}") def mostrar_tarefas(self): print("Mostrando tarefas") class Caelum(Funcionario): def mostrar_tarefas(self): print("Mostrando tarefas do...
19.980769
85
0.672762
130
1,039
5.238462
0.376923
0.052863
0.105727
0.092511
0.217327
0.217327
0.217327
0.155653
0
0
0
0
0.225217
1,039
51
86
20.372549
0.845963
0.177093
0
0.192308
0
0
0.224321
0
0
0
0
0
0
1
0.269231
false
0.115385
0
0.038462
0.576923
0.230769
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
22829fb0894aba6f99674c488e6366cfefada629
190
py
Python
container_test.py
fedorchukdmytro/MyIp
9a5de25b2aec95b1cbc382234e76f52c470442c1
[ "MIT" ]
null
null
null
container_test.py
fedorchukdmytro/MyIp
9a5de25b2aec95b1cbc382234e76f52c470442c1
[ "MIT" ]
null
null
null
container_test.py
fedorchukdmytro/MyIp
9a5de25b2aec95b1cbc382234e76f52c470442c1
[ "MIT" ]
null
null
null
import subprocess with open('output.json', 'w') as f: client_process = subprocess.Popen(['iperf3', '-c', '192.168.1.136', '-J'], stdout=f,) client_process.wait() # ssh_client.close()
21.111111
89
0.657895
28
190
4.357143
0.821429
0.114754
0.229508
0
0
0
0
0
0
0
0
0.066265
0.126316
190
8
90
23.75
0.668675
0.094737
0
0
0
0
0.207101
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
22b628ccdb5a2cba1a29ccc734c3eb963d73d879
603
py
Python
RecoEcal/EgammaClusterProducers/python/cosmicClusteringSequence_cff.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
RecoEcal/EgammaClusterProducers/python/cosmicClusteringSequence_cff.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
7
2016-07-17T02:34:54.000Z
2019-08-13T07:58:37.000Z
RecoEcal/EgammaClusterProducers/python/cosmicClusteringSequence_cff.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
# The following comments couldn't be translated into the new config version: #, import FWCore.ParameterSet.Config as cms #------------------ # clustering: #------------------ # BasicCluster producer from RecoEcal.EgammaClusterProducers.cosmicBasicClusters_cfi import * # SuperCluster producer from RecoEcal.EgammaClu...
35.470588
82
0.789386
54
603
8.777778
0.648148
0.189873
0.084388
0.177215
0
0
0
0
0
0
0
0
0.096186
603
16
83
37.6875
0.869725
0.524046
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
22b97435def67d13ab5c9d7e149f68a60d7f1e7b
1,468
py
Python
pyamg/relaxation/info.py
rsmedleystevenson/pyamg
72c3b43e0d14223e3849cb7e5f0bc8817b342373
[ "MIT" ]
null
null
null
pyamg/relaxation/info.py
rsmedleystevenson/pyamg
72c3b43e0d14223e3849cb7e5f0bc8817b342373
[ "MIT" ]
null
null
null
pyamg/relaxation/info.py
rsmedleystevenson/pyamg
72c3b43e0d14223e3849cb7e5f0bc8817b342373
[ "MIT" ]
null
null
null
""" Relaxation methods ------------------ The multigrid cycle is formed by two complementary procedures: relaxation and coarse-grid correction. The role of relaxation is to rapidly damp oscillatory (high-frequency) errors out of the approximate solution. When the error is smooth, it can then be accurately represente...
38.631579
78
0.773842
213
1,468
5.309859
0.615023
0.060124
0.035367
0
0
0
0
0
0
0
0
0.006563
0.169619
1,468
37
79
39.675676
0.921247
0.94891
0
0
0
0
0.296875
0
0
0
0
0.027027
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
3
22c8154927e4f6ca322a4b540d000097aa91f265
850
py
Python
misc/resnet_utils.py
ankit1khare/Show_Infer_and_Tell-CIC
5437cceaaaf1bbcd16cb921650afd769378f4fc4
[ "MIT" ]
5
2020-01-18T15:32:31.000Z
2021-03-27T02:39:55.000Z
misc/resnet_utils.py
ankit1khare/Show_Infer_and_Tell-CIC
5437cceaaaf1bbcd16cb921650afd769378f4fc4
[ "MIT" ]
1
2020-02-12T12:59:06.000Z
2020-06-09T08:49:09.000Z
misc/resnet_utils.py
ankit1khare/Show_Infer_and_Tell-CIC
5437cceaaaf1bbcd16cb921650afd769378f4fc4
[ "MIT" ]
1
2020-08-14T13:43:27.000Z
2020-08-14T13:43:27.000Z
#resnet applied to images directly to get fc_feats and att_feats import pdb import torch import torch.nn as nn import torch.nn.functional as F class myResnet(nn.Module): def __init__(self, resnet): # pdb.set_trace() super(myResnet, self).__init__() self.resnet = resnet def forward(sel...
25.757576
85
0.592941
127
850
3.826772
0.401575
0.205761
0.18107
0.17284
0
0
0
0
0
0
0
0.02451
0.28
850
32
86
26.5625
0.769608
0.130588
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.363636
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
22c9600d079ef153ef7fcc05c90425fa8f011f74
3,235
py
Python
exrec/core/dataframe.py
InkToYou/Ex-Rec
25cfc74604502b3d59abc44b586d1cb7f4a343bd
[ "MIT" ]
null
null
null
exrec/core/dataframe.py
InkToYou/Ex-Rec
25cfc74604502b3d59abc44b586d1cb7f4a343bd
[ "MIT" ]
null
null
null
exrec/core/dataframe.py
InkToYou/Ex-Rec
25cfc74604502b3d59abc44b586d1cb7f4a343bd
[ "MIT" ]
null
null
null
from pathlib import Path from typing import Any, Callable, List, Sequence, Type, Union import numpy as np import pandas as pd from exrec.core.interface import DataFrame, DataFrameGroupBy class DataFrameImpl: data: pd.DataFrame def __init__(self, data): self.data = pd.DataFrame(data) def __str__...
29.144144
80
0.642658
431
3,235
4.658933
0.218097
0.10757
0.047809
0.095618
0.170319
0.131474
0.042829
0
0
0
0
0.0004
0.226584
3,235
110
81
29.409091
0.802158
0
0
0.026667
0
0
0.000309
0
0
0
0
0
0
1
0.386667
false
0
0.066667
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
22daa6b7191b14040d81ecc8242a9e6feb9d5217
114
py
Python
sync_data/urls.py
BenMusch/act-blue-knack
891488acf30a0541eaaa2ccee0bf26b7e07f2621
[ "MIT" ]
1
2018-04-13T18:58:29.000Z
2018-04-13T18:58:29.000Z
sync_data/urls.py
BenMusch/act-blue-knack
891488acf30a0541eaaa2ccee0bf26b7e07f2621
[ "MIT" ]
29
2018-04-11T22:53:28.000Z
2021-06-10T17:42:15.000Z
sync_data/urls.py
BenMusch/act-blue-knack
891488acf30a0541eaaa2ccee0bf26b7e07f2621
[ "MIT" ]
2
2018-04-12T02:55:14.000Z
2021-04-22T15:44:58.000Z
from django.conf.urls import url from sync import views urlpatterns = [url(r"^sync/", views.sync, name="sync")]
19
55
0.719298
18
114
4.555556
0.611111
0
0
0
0
0
0
0
0
0
0
0
0.131579
114
5
56
22.8
0.828283
0
0
0
0
0
0.087719
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
fe01860e6e5dcb5c7f773ff5643e5c2febb2d3bc
1,994
py
Python
release/stubs.min/Autodesk/Revit/DB/__init___parts/CurveLoopIterator.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/Autodesk/Revit/DB/__init___parts/CurveLoopIterator.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/Autodesk/Revit/DB/__init___parts/CurveLoopIterator.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class CurveLoopIterator(object,IEnumerator[Curve],IDisposable,IEnumerator): """ An iterator to a curve loop. """ def Dispose(self): """ Dispose(self: CurveLoopIterator) """ pass def MoveNext(self): """ MoveNext(self: CurveLoopIterator) -> bool Increments the iterator to the next item. ...
26.586667
215
0.672016
233
1,994
5.39485
0.334764
0.055688
0.041368
0.045346
0.174224
0.174224
0.174224
0.174224
0.174224
0.174224
0
0
0.194082
1,994
74
216
26.945946
0.782203
0.464895
0
0.44
0
0
0
0
0
0
0
0
0
1
0.44
false
0.44
0
0
0.56
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
fe0bbeb1e4da087758d3e17f1ecae8003b4a1382
19,034
py
Python
pysnmp-with-texts/DELL-NETWORKING-COPY-CONFIG-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/DELL-NETWORKING-COPY-CONFIG-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/DELL-NETWORKING-COPY-CONFIG-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module DELL-NETWORKING-COPY-CONFIG-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DELL-NETWORKING-COPY-CONFIG-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:37:52 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Pytho...
148.703125
1,561
0.784228
2,336
19,034
6.388271
0.15839
0.047444
0.083026
0.008845
0.534544
0.423708
0.368827
0.359713
0.345574
0.335388
0
0.047354
0.102448
19,034
127
1,562
149.874016
0.826153
0.018703
0
0.034783
0
0.130435
0.432321
0.039156
0
0
0
0
0
1
0
false
0.095652
0.069565
0
0.173913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
fe18fdd88378342d26d7763423fe338dc028e1bc
8,363
py
Python
countTime.py
JNero/2017_Mathematical_Contest
508a22fdb11731781767843452af223da1601c81
[ "Apache-2.0" ]
null
null
null
countTime.py
JNero/2017_Mathematical_Contest
508a22fdb11731781767843452af223da1601c81
[ "Apache-2.0" ]
null
null
null
countTime.py
JNero/2017_Mathematical_Contest
508a22fdb11731781767843452af223da1601c81
[ "Apache-2.0" ]
null
null
null
import xlrd from dataFormat import getPointlist, getSingleType, datainput pernum=[3,3,6] vehicle={'A':{'F':70,'S':45},'B':{'F':60,'S':35},'C':{'F':50,'S':30}} ''' :var ''' def getRoadType(start,end,all_points): s=getSingleType(all_points,start) e=getSingleType(all_points,end) # print("s",s) # print("e...
45.699454
2,642
0.452708
1,180
8,363
3.177119
0.211864
0.011736
0.016004
0.01067
0.580155
0.508136
0.459322
0.435316
0.435316
0.422513
0
0.23105
0.245964
8,363
182
2,643
45.950549
0.363463
0.201363
0
0.427536
0
0
0.143524
0.006325
0
0
0
0
0
1
0.036232
false
0
0.014493
0
0.086957
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fe1959e1ce424fd99d08d19d3d831277b8669ef9
7,178
py
Python
test/apps/minermedic/resources/miners/baikal_giant_b.py
holitics/minermedic
39dd03e58d665bea23f1e9c9ab134a794d092cb1
[ "Apache-2.0" ]
2
2020-02-13T15:32:43.000Z
2020-04-08T04:10:10.000Z
test/apps/minermedic/resources/miners/baikal_giant_b.py
alimogh/minermedic
39dd03e58d665bea23f1e9c9ab134a794d092cb1
[ "Apache-2.0" ]
11
2019-11-23T00:20:23.000Z
2020-01-02T02:17:55.000Z
test/apps/minermedic/resources/miners/baikal_giant_b.py
alimogh/minermedic
39dd03e58d665bea23f1e9c9ab134a794d092cb1
[ "Apache-2.0" ]
2
2020-06-15T22:32:43.000Z
2020-07-17T18:40:58.000Z
routes = { '{"command": "devs"}' : {"STATUS":[{"STATUS":"S","When":1553528607,"Code":9,"Msg":"3 GPU(s)","Description":"sgminer 5.6.2-b"}],"DEVS":[{"ASC":0,"Name":"BKLU","ID":0,"Enabled":"Y","Status":"Alive","Temperature":43.00,"MHS av":14131.4720,"MHS 5s":14130.6009,"Accepted":11788,"Rejected":9,"Hardware Errors":0,"...
1,196.333333
4,618
0.719281
1,011
7,178
5.106825
0.181009
0.036607
0.035251
0.047066
0.673446
0.638776
0.559365
0.496804
0.484408
0.484408
0
0.186538
0.031346
7,178
5
4,619
1,435.6
0.556019
0
0
0
0
0
0.586654
0.085678
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a3a753a1a3d2d03bcaa59c64503c93bc2d0d3a93
72
py
Python
clare/clare/common/messaging/__init__.py
dnguyen0304/room-list-watcher
7ac4d5172de22dd8906662da521995c8e06c2617
[ "MIT" ]
null
null
null
clare/clare/common/messaging/__init__.py
dnguyen0304/room-list-watcher
7ac4d5172de22dd8906662da521995c8e06c2617
[ "MIT" ]
null
null
null
clare/clare/common/messaging/__init__.py
dnguyen0304/room-list-watcher
7ac4d5172de22dd8906662da521995c8e06c2617
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from . import consumer __all__ = ['consumer']
12
23
0.597222
8
72
4.875
0.875
0
0
0
0
0
0
0
0
0
0
0.017241
0.194444
72
5
24
14.4
0.655172
0.291667
0
0
0
0
0.163265
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a3ac61d904f5e15d934088028cd1443b1526e6f7
289
py
Python
spts/threshold.py
mhantke/spts
eb446f9019946110368cd9eefd78aaa4f8d42b56
[ "BSD-2-Clause" ]
null
null
null
spts/threshold.py
mhantke/spts
eb446f9019946110368cd9eefd78aaa4f8d42b56
[ "BSD-2-Clause" ]
1
2021-03-04T14:07:04.000Z
2021-03-04T14:07:04.000Z
spts/threshold.py
mhantke/spts
eb446f9019946110368cd9eefd78aaa4f8d42b56
[ "BSD-2-Clause" ]
2
2020-01-06T17:20:15.000Z
2020-11-04T09:27:35.000Z
import numpy as np from scipy.ndimage import binary_fill_holes def threshold(image_denoised, threshold, fill_holes=False): image_thresholded = image_denoised >= threshold if fill_holes: image_thresholded = binary_fill_holes(image_thresholded) return image_thresholded
32.111111
64
0.795848
37
289
5.891892
0.486486
0.165138
0.137615
0.229358
0
0
0
0
0
0
0
0
0.155709
289
8
65
36.125
0.893443
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
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
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
a3c16cedbcd825068093164c7f63ee3711618bbe
144
py
Python
python/testData/refactoring/introduceVariable/functionCallWithCommentNotInlined.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/refactoring/introduceVariable/functionCallWithCommentNotInlined.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/refactoring/introduceVariable/functionCallWithCommentNotInlined.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
import subprocess as sp print(sp.c<caret>heck_output( args=['python', '-c', 'print("Spam")'], # read errors too stderr=sp.STDOUT ))
20.571429
43
0.631944
21
144
4.285714
0.809524
0
0
0
0
0
0
0
0
0
0
0
0.180556
144
7
44
20.571429
0.762712
0.104167
0
0
0
0
0.164063
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.4
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
a3c7de5dd4f629a2e17e8c2c37708ba1cd70fe68
117,708
py
Python
DVH_functions.py
anevh/FIDORA
83f84c0862ae157a1c2993b38f98301417f89de7
[ "MIT" ]
null
null
null
DVH_functions.py
anevh/FIDORA
83f84c0862ae157a1c2993b38f98301417f89de7
[ "MIT" ]
null
null
null
DVH_functions.py
anevh/FIDORA
83f84c0862ae157a1c2993b38f98301417f89de7
[ "MIT" ]
null
null
null
import Globals import tkinter as tk from tkinter import filedialog, INSERT, DISABLED, messagebox, NORMAL,simpledialog,\ PhotoImage, BOTH, Canvas, N, S, W, E, ALL, Frame, SUNKEN, Radiobutton, GROOVE, ACTIVE, \ FLAT, END, Scrollbar, HORIZONTAL, VERTICAL, ttk, TOP, RIGHT, LEFT, ttk import os from os.path import no...
57.587084
178
0.70211
16,178
117,708
4.77012
0.037335
0.066217
0.020863
0.023001
0.856902
0.800495
0.74607
0.698267
0.650763
0.591336
0
0.024662
0.190463
117,708
2,044
179
57.587084
0.785201
0.023108
0
0.50748
0
0.001726
0.049542
0.000392
0
0
0
0
0
1
0.011507
false
0
0.009206
0.000575
0.058113
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a3cd00428de0bd58367e70bec6791121c9ddcfc5
350
py
Python
tudo/ex013.py
Ramon-Erik/Exercicios-Python
158a7f1846dd3d486aa0517fa337d46d73aab649
[ "MIT" ]
1
2021-07-08T00:35:57.000Z
2021-07-08T00:35:57.000Z
tudo/ex013.py
Ramon-Erik/Exercicios-Python
158a7f1846dd3d486aa0517fa337d46d73aab649
[ "MIT" ]
null
null
null
tudo/ex013.py
Ramon-Erik/Exercicios-Python
158a7f1846dd3d486aa0517fa337d46d73aab649
[ "MIT" ]
null
null
null
salário = float(input('>>>>Salário atual (sem desconto)do trabalhador R$')) porcentagem = float(input('>>>>>Quantos porcentos serão aumentados? (apenas o número por favor.) ')) aumento = salário + (salário * (porcentagem /100)) print(f'>>>>O salário que antes, era de R${salário:.2f} agora, com o aumento de \n{porcentag...
87.5
122
0.697143
49
350
4.979592
0.653061
0.081967
0
0
0
0
0
0
0
0
0
0.016287
0.122857
350
4
122
87.5
0.778502
0
0
0
0
0.25
0.65812
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a3d2f8f6e78bc3e3dcfae2e6f44390719d9f6d5a
939
py
Python
ci/templatetags/seed.py
praekelt/seed-control-interface
6e6370d8ab4adbe33e858a1b39a5d7b3c1b7daca
[ "BSD-3-Clause" ]
null
null
null
ci/templatetags/seed.py
praekelt/seed-control-interface
6e6370d8ab4adbe33e858a1b39a5d7b3c1b7daca
[ "BSD-3-Clause" ]
34
2016-05-02T11:22:21.000Z
2018-07-31T09:25:06.000Z
ci/templatetags/seed.py
praekeltfoundation/seed-control-interface
6e6370d8ab4adbe33e858a1b39a5d7b3c1b7daca
[ "BSD-3-Clause" ]
null
null
null
from django import template from django.conf import settings import seed_control_interface import re register = template.Library() @register.simple_tag def current_version(): return seed_control_interface.__version__ @register.filter def unslug(value): return re.sub('[^0-9a-zA-Z]+', ' ', value).strip() ...
18.411765
66
0.731629
133
939
4.924812
0.368421
0.128244
0.155725
0.122137
0.085496
0.085496
0
0
0
0
0
0.002532
0.158679
939
50
67
18.78
0.826582
0
0
0.193548
0
0
0.030884
0
0
0
0
0
0
1
0.258065
false
0
0.129032
0.193548
0.645161
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
a3df171428cf2645613009474135ce6c1633457c
2,543
py
Python
tests/resources/serializers/ui/test_serializers.py
tu-graz-library/invenio-records-marc21
af94dbb1101826b4fcc848a8df107247dc15ccbd
[ "MIT" ]
1
2022-03-30T11:59:46.000Z
2022-03-30T11:59:46.000Z
tests/resources/serializers/ui/test_serializers.py
tu-graz-library/invenio-records-marc21
af94dbb1101826b4fcc848a8df107247dc15ccbd
[ "MIT" ]
14
2021-01-11T09:31:46.000Z
2022-03-15T21:55:55.000Z
tests/resources/serializers/ui/test_serializers.py
tu-graz-library/invenio-records-marc21
af94dbb1101826b4fcc848a8df107247dc15ccbd
[ "MIT" ]
4
2021-01-07T11:13:58.000Z
2021-11-08T09:35:28.000Z
# -*- coding: utf-8 -*- # # This file is part of Invenio. # # Copyright (C) 2021 Graz University of Technology. # # Invenio-Records-Marc21 is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """Tests for Resources UI marc21 serializer."""...
30.27381
83
0.713331
333
2,543
5.183183
0.21021
0.034762
0.075319
0.066049
0.746813
0.738702
0.623407
0.570104
0.570104
0.570104
0
0.016811
0.181282
2,543
83
84
30.638554
0.8122
0.116791
0
0.784314
0
0
0.087774
0
0
0
0
0
0.470588
1
0.117647
false
0
0.039216
0
0.156863
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
433cbd52586640589a84db7dcec61b07294342b0
2,990
py
Python
data/MovieLens.py
BoPeng112/HAM
ab623ef9c7a7030738e4f0329f0a8f890a1d1ebc
[ "MIT" ]
11
2020-08-17T19:51:19.000Z
2022-03-27T04:17:59.000Z
data/MovieLens.py
BoPeng112/HAM
ab623ef9c7a7030738e4f0329f0a8f890a1d1ebc
[ "MIT" ]
null
null
null
data/MovieLens.py
BoPeng112/HAM
ab623ef9c7a7030738e4f0329f0a8f890a1d1ebc
[ "MIT" ]
4
2020-07-24T19:04:14.000Z
2021-11-10T06:46:34.000Z
from data.Dataset import DataSet import pdb # Amazon review dataset class ML20M(DataSet): def __init__(self): self.dir_path = './data/dataset/MovieLens/ml-20m/' self.user_record_file = 'ML20M_item_sequences.pkl' self.user_mapping_file = 'ML20M_user_mapping.pkl' self.item_mapping_fil...
37.848101
112
0.706689
443
2,990
4.372461
0.155756
0.049561
0.05111
0.054208
0.784719
0.784719
0.757873
0.687661
0.687661
0.671141
0
0.022945
0.198328
2,990
78
113
38.333333
0.785148
0.016388
0
0.5
0
0
0.069459
0.066735
0
0
0
0
0.035714
1
0.071429
false
0
0.035714
0
0.178571
0.160714
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
4a48f9b204b50d259f56800c11bc61f469b8ede5
600
py
Python
tests/lambda_function.py
jonasrk/cd_dot_cz_price_search
2cd02227b21ce4c8e8c640f3259c6060bf2c38b8
[ "MIT" ]
null
null
null
tests/lambda_function.py
jonasrk/cd_dot_cz_price_search
2cd02227b21ce4c8e8c640f3259c6060bf2c38b8
[ "MIT" ]
null
null
null
tests/lambda_function.py
jonasrk/cd_dot_cz_price_search
2cd02227b21ce4c8e8c640f3259c6060bf2c38b8
[ "MIT" ]
null
null
null
# #!/usr/bin/env python """Tests for `lambda_function` package.""" import datetime import unittest from cd_dot_cz_price_search import lambda_function class TestLambdaFunction(unittest.TestCase): """Tests for `lambda_function` package.""" def setUp(self): """Set up test fixtures, if any.""" d...
24
75
0.656667
80
600
4.775
0.5625
0.146597
0.073298
0.115183
0.256545
0
0
0
0
0
0
0.072314
0.193333
600
24
76
25
0.716942
0.29
0
0
0
0
0.075188
0
0
0
0
0
0.111111
1
0.333333
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
4a5b22af47b329c98d2a641afba7a8f4428b5a4a
4,327
py
Python
tests/test_linked_list.py
nydebnath/algos
4ef743f2b76c54a6fc81ee3f54205f224aa6cb97
[ "MIT" ]
null
null
null
tests/test_linked_list.py
nydebnath/algos
4ef743f2b76c54a6fc81ee3f54205f224aa6cb97
[ "MIT" ]
null
null
null
tests/test_linked_list.py
nydebnath/algos
4ef743f2b76c54a6fc81ee3f54205f224aa6cb97
[ "MIT" ]
null
null
null
# Test linked list from app.linked_list import LinkedList class TestLinkedList: def test_initialize_ll(self): ll = LinkedList(4) assert ll.head.value == 4 assert ll.head.next is None assert ll.tail.value == 4 assert ll.tail.next is None assert ll.head is ll.tail ...
27.737179
60
0.514675
628
4,327
3.41242
0.08758
0.20532
0.175922
0.230051
0.65749
0.581895
0.465236
0.362576
0.257583
0.231451
0
0.052999
0.337185
4,327
155
61
27.916129
0.694212
0.028888
0
0.567164
0
0
0.036472
0
0
0
0
0
0.425373
1
0.097015
false
0
0.007463
0
0.11194
0.231343
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
4a5de4896f603cf2e3ed50fbde42b3cf848942a8
689
py
Python
Escolas/Curso em Video/Back-End/Curso de Python/Mundos/Mundo 02/Exercicio_60.py
c4st1lh0/Projetos-de-Aula
e8abc9f4bce6cc8dbc6d7fb5da0f549ac8ef5302
[ "MIT" ]
null
null
null
Escolas/Curso em Video/Back-End/Curso de Python/Mundos/Mundo 02/Exercicio_60.py
c4st1lh0/Projetos-de-Aula
e8abc9f4bce6cc8dbc6d7fb5da0f549ac8ef5302
[ "MIT" ]
null
null
null
Escolas/Curso em Video/Back-End/Curso de Python/Mundos/Mundo 02/Exercicio_60.py
c4st1lh0/Projetos-de-Aula
e8abc9f4bce6cc8dbc6d7fb5da0f549ac8ef5302
[ "MIT" ]
null
null
null
#============== Método 1 ==============# from math import factorial print('\033[32m='*10, 'Primeiro método fatorial', '='*10,'\033[m') n1 = int(input('Digite um número: ')) fat = factorial(n1) print('O fatorial de {} é {}'.format(n1, fat)) #=======================================# #============== Método 2 ============...
32.809524
66
0.465893
81
689
3.962963
0.469136
0.049844
0.087227
0.099688
0.137072
0
0
0
0
0
0
0.060811
0.140784
689
21
67
32.809524
0.481419
0.223512
0
0
0
0
0.304924
0
0
0
0
0.047619
0
1
0
false
0
0.0625
0
0.0625
0.4375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
3
4a7d594323ba8e6813218ca8ffb9156a9f113116
150
py
Python
pygorithm/dynamic_programming/__init__.py
bharadwaj-9/pygorithm
da9105384ffc87bdd9d20f6e8fecda9f0fe011b0
[ "MIT" ]
1
2021-03-09T18:27:56.000Z
2021-03-09T18:27:56.000Z
pygorithm/dynamic_programming/__init__.py
bharadwaj-9/pygorithm
da9105384ffc87bdd9d20f6e8fecda9f0fe011b0
[ "MIT" ]
null
null
null
pygorithm/dynamic_programming/__init__.py
bharadwaj-9/pygorithm
da9105384ffc87bdd9d20f6e8fecda9f0fe011b0
[ "MIT" ]
null
null
null
""" Collection for dynamic programming algorithms """ from . import binary_knapsack from . import lis __all__ = [ 'binary_knapsack', 'lis' ]
13.636364
45
0.693333
16
150
6.125
0.6875
0.204082
0
0
0
0
0
0
0
0
0
0
0.2
150
10
46
15
0.816667
0.3
0
0
0
0
0.185567
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
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
4a9262b833db4625410ce604859eecf68102311e
52
py
Python
testpytorch.py
TianyiLu/nnUNetLearnOnWindows
9f2e3439732e0860fc4b51b51db0e23a4d06e8cf
[ "Apache-2.0" ]
10
2020-05-16T03:44:02.000Z
2022-02-24T04:27:54.000Z
testpytorch.py
TianyiLu/nnUNetLearnOnWindows
9f2e3439732e0860fc4b51b51db0e23a4d06e8cf
[ "Apache-2.0" ]
2
2020-06-05T03:21:48.000Z
2020-12-22T03:38:26.000Z
test_torch.py
hasukmin12/nnUNet_MDD_UNet_with_Semi_Supervised
58c5665a5d89d1ad77038e5d6420be76fadab136
[ "Apache-2.0" ]
2
2020-04-28T02:26:31.000Z
2020-07-21T13:37:04.000Z
import torch a = torch.cuda.is_available() print (a)
17.333333
29
0.75
9
52
4.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.115385
52
3
30
17.333333
0.826087
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
0
0
1
0
0
0
0
3
4aab02d0d5297d55462f0253fc19334fabca5394
1,946
py
Python
scripts/models/CustomDeco.py
jmquintana79/utilsDS
1693810b6f10024542b30fdfedbfcd0518f32945
[ "MIT" ]
null
null
null
scripts/models/CustomDeco.py
jmquintana79/utilsDS
1693810b6f10024542b30fdfedbfcd0518f32945
[ "MIT" ]
null
null
null
scripts/models/CustomDeco.py
jmquintana79/utilsDS
1693810b6f10024542b30fdfedbfcd0518f32945
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Author: Juan Quintana # @Date: 2018-09-18 13:25:04 # @Last Modified by: Juan Quintana # @Last Modified time: 2018-09-18 13:35:04 """ CUSTOM ESTIMATOR AS DECORATORS for Scikit-Learn Pipelines """ from sklearn.base import BaseEstimator, TransformerMixin, ClassifierMixin import pandas as p...
23.445783
73
0.636177
254
1,946
4.602362
0.311024
0.094098
0.087254
0.0787
0.489307
0.35586
0.295979
0.23781
0.191617
0.128315
0
0.029412
0.248715
1,946
82
74
23.731707
0.770178
0.144399
0
0.375
0
0
0.012782
0
0
0
0
0
0
1
0.3125
false
0
0.083333
0.229167
0.75
0.020833
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
4aae137ca8fd212a7022c84ab23ecab3814b09e6
96
py
Python
hio/server/query_handler/__init__.py
serafim-costa/LDP_Protocols
da4ceb81577d190f88fd57fd2a3224ff0462b30b
[ "MIT" ]
78
2018-12-31T09:06:05.000Z
2022-03-28T09:02:11.000Z
hio/server/query_handler/__init__.py
serafim-costa/LDP_Protocols
da4ceb81577d190f88fd57fd2a3224ff0462b30b
[ "MIT" ]
1
2018-02-19T17:34:00.000Z
2018-02-19T19:19:21.000Z
hio/server/query_handler/__init__.py
serafim-costa/LDP_Protocols
da4ceb81577d190f88fd57fd2a3224ff0462b30b
[ "MIT" ]
27
2018-12-03T15:09:22.000Z
2022-03-22T09:55:44.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Created by tianhao.wang at 9/6/18 """
16
37
0.53125
15
96
3.4
1
0
0
0
0
0
0
0
0
0
0
0.067568
0.229167
96
6
38
16
0.621622
0.791667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4abefe8dc12cf99564b550bd8470e558f19b2289
174
py
Python
configs/vit/upernet_deit-b16_mln_512x512_160k_ade20k.py
weiyx16/mmsegmentation
6d35d76195f173fbc6b119a7d7815e67d78024c6
[ "Apache-2.0" ]
21
2022-01-11T14:06:25.000Z
2022-03-29T06:42:13.000Z
configs/vit/upernet_deit-b16_mln_512x512_160k_ade20k.py
weiyx16/mmsegmentation
6d35d76195f173fbc6b119a7d7815e67d78024c6
[ "Apache-2.0" ]
13
2022-02-15T20:05:18.000Z
2022-02-15T20:05:21.000Z
configs/vit/upernet_deit-b16_mln_512x512_160k_ade20k.py
weiyx16/mmsegmentation
6d35d76195f173fbc6b119a7d7815e67d78024c6
[ "Apache-2.0" ]
11
2022-01-11T16:05:24.000Z
2022-03-17T01:58:52.000Z
_base_ = './upernet_vit-b16_mln_512x512_160k_ade20k.py' model = dict( pretrained='pretrain/deit_base_patch16_224-b5f2ef4d.pth', backbone=dict(drop_path_rate=0.1), )
24.857143
61
0.764368
26
174
4.653846
0.923077
0
0
0
0
0
0
0
0
0
0
0.147436
0.103448
174
6
62
29
0.628205
0
0
0
0
0
0.5
0.5
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
434c98e0945d7d67ce8554b33561ebf779cfa897
831
py
Python
subway/blueprints.py
15696/async-web-framework
a8e11039e03d85673a132d97f11b10ce7724dcaa
[ "MIT" ]
4
2022-02-06T13:56:14.000Z
2022-02-08T03:44:48.000Z
subway/blueprints.py
blanketsucks/async-web-framework
567ef22f37fd405e54818349649d6e3da24168d4
[ "MIT" ]
1
2022-02-19T16:57:19.000Z
2022-02-19T16:57:19.000Z
subway/blueprints.py
15696/async-web-framework
a8e11039e03d85673a132d97f11b10ce7724dcaa
[ "MIT" ]
2
2022-02-06T14:12:21.000Z
2022-02-19T16:50:31.000Z
from typing import Optional, Any from .types import CoroFunc from .objects import Listener from .base import BaseApplication from .router import Router from .listeners import EventListener __all__ = 'Blueprint', class Blueprint(BaseApplication): def __init__(self, name: str, *, url_prefix: Optional[str] = None)...
29.678571
81
0.706378
102
831
5.539216
0.333333
0.063717
0.046018
0
0
0
0
0
0
0
0
0
0.193742
831
27
82
30.777778
0.843284
0
0
0
0
0
0.046931
0
0
0
0
0
0
1
0.210526
false
0
0.315789
0.157895
0.736842
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
3
434db9812d3b57e49a4cc58aed67a39ac747a43d
1,613
py
Python
core/argo/core/CostFunctions.py
szokejokepu/natural-rws
bb1ad4ca3ec714e6bf071d2136593dc853492b68
[ "MIT" ]
4
2020-12-07T19:13:13.000Z
2022-01-30T18:52:18.000Z
core/argo/core/CostFunctions.py
szokejokepu/natural-rws
bb1ad4ca3ec714e6bf071d2136593dc853492b68
[ "MIT" ]
12
2020-09-25T22:41:28.000Z
2022-02-09T23:46:34.000Z
core/argo/core/CostFunctions.py
szokejokepu/natural-rws
bb1ad4ca3ec714e6bf071d2136593dc853492b68
[ "MIT" ]
2
2021-03-02T18:31:04.000Z
2021-03-02T21:56:43.000Z
import tensorflow as tf from .utils.argo_utils import eval_method_from_tuple import importlib import pdb class CostFunctions(): @staticmethod def instantiate_cost_function(cost_function_tuple, module_path = ""): cost_function_name = cost_function_tuple[0] cost_function_kwargs = cost_functi...
38.404762
135
0.610663
174
1,613
5.252874
0.270115
0.315098
0.130197
0.088621
0.454048
0.338074
0.207877
0.175055
0.109409
0
0
0.005314
0.300062
1,613
41
136
39.341463
0.804252
0.16367
0
0.304348
0
0
0.056632
0
0
0
0
0
0
1
0.043478
false
0
0.391304
0
0.521739
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
434e4d340950652ac0b2f13642824facc0d616a9
99
py
Python
enigma/helper.py
katzio/enigma-machine
71974ce2702fb55a3c908d164be247d5640851ae
[ "MIT" ]
null
null
null
enigma/helper.py
katzio/enigma-machine
71974ce2702fb55a3c908d164be247d5640851ae
[ "MIT" ]
null
null
null
enigma/helper.py
katzio/enigma-machine
71974ce2702fb55a3c908d164be247d5640851ae
[ "MIT" ]
null
null
null
def log(str): ENABLED = False # Set False to disable loggin if ENABLED: print(str)
19.8
49
0.616162
14
99
4.357143
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.30303
99
5
50
19.8
0.884058
0.272727
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
434fbe4a43c2a26b954c0d701fdc991703e687f0
87
py
Python
100-programming-exercises/006.py
marinaoliveira96/python-exercises
13fc0ec30dec9bb6531cdeb41c80726971975835
[ "MIT" ]
null
null
null
100-programming-exercises/006.py
marinaoliveira96/python-exercises
13fc0ec30dec9bb6531cdeb41c80726971975835
[ "MIT" ]
null
null
null
100-programming-exercises/006.py
marinaoliveira96/python-exercises
13fc0ec30dec9bb6531cdeb41c80726971975835
[ "MIT" ]
null
null
null
# add 6 _ name = 'Mark' align_right = f'{name:_>10}' print(align_right) # '______Mark'
14.5
28
0.666667
13
87
3.692308
0.692308
0.416667
0
0
0
0
0
0
0
0
0
0.040541
0.149425
87
6
29
14.5
0.608108
0.229885
0
0
0
0
0.230769
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
437707b77ddda8c4aa70258bdca67a752958388a
15
py
Python
envgen/envgen/__init__.py
jonebeabout/envgen
6793f8779092d7ab9c514096adb33cd4f8746bb7
[ "MIT" ]
null
null
null
envgen/envgen/__init__.py
jonebeabout/envgen
6793f8779092d7ab9c514096adb33cd4f8746bb7
[ "MIT" ]
null
null
null
envgen/envgen/__init__.py
jonebeabout/envgen
6793f8779092d7ab9c514096adb33cd4f8746bb7
[ "MIT" ]
null
null
null
name = 'envgen'
15
15
0.666667
2
15
5
1
0
0
0
0
0
0
0
0
0
0
0
0.133333
15
1
15
15
0.769231
0
0
0
0
0
0.375
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
437ac5387ba3fe827db78c583422d613cc821053
20,738
py
Python
pysnmp/CISCO-EPM-NOTIFICATION-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-EPM-NOTIFICATION-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-EPM-NOTIFICATION-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-EPM-NOTIFICATION-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-EPM-NOTIFICATION-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:40:04 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version ...
174.268908
2,370
0.77235
2,129
20,738
7.522311
0.096759
0.056447
0.141118
0.162285
0.576085
0.54424
0.518139
0.518139
0.502279
0.501592
0
0.055806
0.068522
20,738
118
2,371
175.745763
0.773257
0.016684
0
0.06422
0
0
0.312025
0.204288
0
0
0
0
0
1
0
false
0
0.082569
0
0.082569
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
437b1ca5f7aa67cbdd31d6aea9b24c5fad7b0eb8
515
py
Python
Configuration/Eras/python/Era_Run2_2016_cff.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
Configuration/Eras/python/Era_Run2_2016_cff.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
Configuration/Eras/python/Era_Run2_2016_cff.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms from Configuration.Eras.Modifier_run2_common_cff import run2_common from Configuration.Eras.Modifier_run2_25ns_specific_cff import run2_25ns_specific from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger from Configuration.Eras.Modifier_ctpps_2016_cff impo...
46.818182
106
0.895146
73
515
5.917808
0.273973
0.196759
0.243056
0.335648
0.229167
0
0
0
0
0
0
0.10395
0.066019
515
10
107
51.5
0.794179
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
43a401e4b497a78d0b2b952ce1a4c820cfe0bbdd
1,561
py
Python
pada/libs/external/category_encoders.py
eleveyuan/kada
45811783170193b8949b58eb63f5a9f243f2d880
[ "MIT" ]
4
2022-03-01T12:27:41.000Z
2022-03-02T11:23:43.000Z
pada/libs/external/category_encoders.py
eleveyuan/kada
45811783170193b8949b58eb63f5a9f243f2d880
[ "MIT" ]
2
2022-02-27T09:08:30.000Z
2022-03-01T12:33:30.000Z
pada/libs/external/category_encoders.py
eleveyuan/kada
45811783170193b8949b58eb63f5a9f243f2d880
[ "MIT" ]
1
2022-03-01T12:32:47.000Z
2022-03-01T12:32:47.000Z
# -*- coding: utf-8 -*- __all__ = [] try: from category_encoders import BackwardDifferenceEncoder __all__.append('BackwardDifferenceEncoder') from category_encoders import BaseNEncoder __all__.append('BaseNEncoder') from category_encoders import BinaryEncoder __all__.append('BinaryEncoder') ...
27.875
59
0.774504
144
1,561
7.777778
0.208333
0.182143
0.303571
0.394643
0
0
0
0
0
0
0
0.000765
0.162076
1,561
55
60
28.381818
0.855505
0.013453
0
0
0
0
0.158648
0.016255
0
0
0
0
0
1
0
false
0.026316
0.473684
0
0.473684
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
43a97da54cf2f217189214cb6bab81eda232e03c
207
py
Python
phasma_food_v2/utils/hide_object_location.py
VizLoreLabs/phasmaFoodPlatform
02c811c9178f338e081efbeacadb37c766dcb2db
[ "Apache-1.1" ]
null
null
null
phasma_food_v2/utils/hide_object_location.py
VizLoreLabs/phasmaFoodPlatform
02c811c9178f338e081efbeacadb37c766dcb2db
[ "Apache-1.1" ]
null
null
null
phasma_food_v2/utils/hide_object_location.py
VizLoreLabs/phasmaFoodPlatform
02c811c9178f338e081efbeacadb37c766dcb2db
[ "Apache-1.1" ]
null
null
null
import sys def update_module_attributes(object_names, module_name): module = sys.modules[module_name] for object_name in object_names: getattr(module, object_name).__module__ = module_name
25.875
61
0.768116
28
207
5.214286
0.464286
0.205479
0
0
0
0
0
0
0
0
0
0
0.164251
207
7
62
29.571429
0.843931
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
43b5eeddc017eb6e700938bff8bddbf702aaef6c
361
py
Python
02_advance/03_closures_and_decorators/nonlocal_time.py
bluehenry/python.best.practices
99fde3557b0c423d3050e988e82a641ccd75b644
[ "MIT" ]
null
null
null
02_advance/03_closures_and_decorators/nonlocal_time.py
bluehenry/python.best.practices
99fde3557b0c423d3050e988e82a641ccd75b644
[ "MIT" ]
null
null
null
02_advance/03_closures_and_decorators/nonlocal_time.py
bluehenry/python.best.practices
99fde3557b0c423d3050e988e82a641ccd75b644
[ "MIT" ]
null
null
null
import time def make_timer(): last_called = None def elapsed(): nonlocal last_called now = time.time() if last_called is None: last_called = now return None result = now - last_called last_called = now return result return elapsed ...
15.041667
34
0.562327
44
361
4.431818
0.386364
0.307692
0.2
0.194872
0
0
0
0
0
0
0
0
0.362881
361
23
35
15.695652
0.847826
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.0625
0
0.375
0.125
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
43c0525f74db059160cb5b67ae7413eab37ce109
6,893
py
Python
pkgs/conf-pkg/src/genie/libs/conf/l2vpn/iosxe/vfi.py
miott/genielibs
6464642cdd67aa2367bdbb12561af4bb060e5e62
[ "Apache-2.0" ]
94
2018-04-30T20:29:15.000Z
2022-03-29T13:40:31.000Z
pkgs/conf-pkg/src/genie/libs/conf/l2vpn/iosxe/vfi.py
miott/genielibs
6464642cdd67aa2367bdbb12561af4bb060e5e62
[ "Apache-2.0" ]
67
2018-12-06T21:08:09.000Z
2022-03-29T18:00:46.000Z
pkgs/conf-pkg/src/genie/libs/conf/l2vpn/iosxe/vfi.py
miott/genielibs
6464642cdd67aa2367bdbb12561af4bb060e5e62
[ "Apache-2.0" ]
49
2018-06-29T18:59:03.000Z
2022-03-10T02:07:59.000Z
from abc import ABC import warnings import contextlib from genie.conf.base.attributes import UnsupportedAttributeWarning,\ AttributesHelper from genie.conf.base.cli import CliConfigBuilder from genie.conf.base.config import CliConfig from genie.libs.conf.l2vpn.pseudowire import PseudowireNeighbor,\ Pseudowir...
42.549383
123
0.626868
651
6,893
6.551459
0.135177
0.046424
0.042673
0.075498
0.762954
0.728957
0.70551
0.683001
0.683001
0.683001
0
0.003071
0.29131
6,893
161
124
42.813665
0.87001
0.011751
0
0.652174
0
0
0.042016
0.006464
0
0
0
0
0.13913
1
0.121739
false
0
0.06087
0.06087
0.365217
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
43cc5909f6d32bdef4cae751077a7c47528f7d72
87
py
Python
records/07-27/__init__.py
AaronYang2333/CSCI_570
03e34ce5ff192fc94612bc3afb51dcab3e854462
[ "Apache-2.0" ]
36
2020-07-25T00:13:25.000Z
2022-02-28T17:48:15.000Z
records/07-27/__init__.py
AaronYang2333/LeetCode
03e34ce5ff192fc94612bc3afb51dcab3e854462
[ "Apache-2.0" ]
6
2020-06-06T04:39:37.000Z
2021-04-03T01:45:39.000Z
records/07-27/__init__.py
AaronYang2333/LeetCode
03e34ce5ff192fc94612bc3afb51dcab3e854462
[ "Apache-2.0" ]
16
2020-12-16T02:38:16.000Z
2022-02-28T17:48:16.000Z
__author__ = 'Aaron Yang' __email__ = 'byang971@usc.edu' __date__ = '7/27/2020 2:56 PM'
29
30
0.712644
14
87
3.571429
1
0
0
0
0
0
0
0
0
0
0
0.171053
0.126437
87
3
31
29
0.486842
0
0
0
0
0
0.488636
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
43cfa4456b001bd6e1d9088bed1795fdc49024f4
844
py
Python
tgtypes/models/response_parameters.py
autogram/tgtypes
90f8d0d35d3c372767508e56c20777635e128e38
[ "MIT" ]
null
null
null
tgtypes/models/response_parameters.py
autogram/tgtypes
90f8d0d35d3c372767508e56c20777635e128e38
[ "MIT" ]
null
null
null
tgtypes/models/response_parameters.py
autogram/tgtypes
90f8d0d35d3c372767508e56c20777635e128e38
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import Optional from ._base import TelegramObject class ResponseParameters(TelegramObject): """ Contains information about why a request was unsuccessful. Source: https://core.telegram.org/bots/api#responseparameters """ migrate_to_chat_id: Option...
36.695652
97
0.753555
118
844
5.313559
0.762712
0.035088
0.047847
0
0
0
0
0
0
0
0
0.008785
0.190758
844
22
98
38.363636
0.909224
0.143365
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
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