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
21ed2e765b5232fdd51d59ffeb8fde4bf3b76ed8
148
py
Python
piks/defaults.py
peitur/pikstore
4adec308dcf5cc358398f9750e2c24d7d89a2e28
[ "MIT" ]
1
2019-09-02T19:12:30.000Z
2019-09-02T19:12:30.000Z
piks/defaults.py
peitur/pikstore
4adec308dcf5cc358398f9750e2c24d7d89a2e28
[ "MIT" ]
null
null
null
piks/defaults.py
peitur/pikstore
4adec308dcf5cc358398f9750e2c24d7d89a2e28
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 PIKS_DEFAULT_DIR=".piks" PIKS_DEFAULT_FILE="piks.db" PIKS_DEFAULT_CHECKSUM="sha512" if __name__ == "__main__": pass
12.333333
30
0.72973
21
148
4.47619
0.714286
0.351064
0
0
0
0
0
0
0
0
0
0.031008
0.128378
148
11
31
13.454545
0.697674
0.141892
0
0
0
0
0.206349
0
0
0
0
0
0
1
0
false
0.2
0
0
0
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
1
0
0
0
0
0
3
21f1f81dd89cd1a0005268027837a24cbdd565a6
1,320
py
Python
flask_blog/api/routes.py
paciFIST-Studios/web
993503b86dd81de0fb5b854cd4d95f9cd7a80160
[ "MIT" ]
null
null
null
flask_blog/api/routes.py
paciFIST-Studios/web
993503b86dd81de0fb5b854cd4d95f9cd7a80160
[ "MIT" ]
1
2022-03-12T01:02:31.000Z
2022-03-12T01:02:31.000Z
flask_blog/api/routes.py
paciFIST-Studios/web
993503b86dd81de0fb5b854cd4d95f9cd7a80160
[ "MIT" ]
null
null
null
from flask import Blueprint, render_template, request api = Blueprint('api', __name__) version = '0.1' api_version = f'/api/{version}' api_users = f'/api/{version}/users' api_tokens = f'/api/{version}/tokens' # api ------------------------------------------------------------------------- @api.route('/api') def rest...
24.90566
79
0.552273
150
1,320
4.673333
0.173333
0.114123
0.156919
0.091298
0.268188
0
0
0
0
0
0
0.004281
0.115152
1,320
52
80
25.384615
0.59589
0.176515
0
0
0
0
0.173592
0.019391
0
0
0
0
0
1
0.277778
false
0
0.027778
0.277778
0.583333
0.055556
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
0dfc8f8b99db1935e4d1d3f40cd127c1417b1993
1,608
py
Python
pokerlib/domain.py
jgroehl/PokerGame
dedaf8f1fd664aefc11d4a23495df756cf287120
[ "BSD-3-Clause" ]
null
null
null
pokerlib/domain.py
jgroehl/PokerGame
dedaf8f1fd664aefc11d4a23495df756cf287120
[ "BSD-3-Clause" ]
null
null
null
pokerlib/domain.py
jgroehl/PokerGame
dedaf8f1fd664aefc11d4a23495df756cf287120
[ "BSD-3-Clause" ]
null
null
null
import numpy as np SUITS = {0:'hearts', 1:'diamonds', 2:'clubs', 3:'spades'} VALUES = {0: '2', 1: '3', 2: '4', 3: '5', 4: '6', 5: '7', 6: '8', 7: '9', 8: '10', 12: 'ace', 9: 'jack', 10: 'queen', 11: 'king'} class Card: def __init__(self, value, suit): self.suit = suit ...
28.714286
87
0.567786
228
1,608
3.77193
0.298246
0.083721
0.038372
0.044186
0.086047
0.086047
0.086047
0.086047
0
0
0
0.038693
0.276741
1,608
55
88
29.236364
0.700774
0
0
0
0
0
0.041667
0
0
0
0
0
0
1
0.243902
false
0
0.02439
0.170732
0.512195
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
df0302f95b3ca6f6881364aeddadc82c64239c1a
417
py
Python
apypie/__init__.py
Apipie/apypie
f408202091299755aed01ff67416dfa3c6068915
[ "MIT" ]
1
2021-04-16T00:51:52.000Z
2021-04-16T00:51:52.000Z
apypie/__init__.py
Apipie/apypie
f408202091299755aed01ff67416dfa3c6068915
[ "MIT" ]
76
2018-11-28T12:44:51.000Z
2022-03-08T09:53:41.000Z
apypie/__init__.py
Apipie/apypie
f408202091299755aed01ff67416dfa3c6068915
[ "MIT" ]
8
2019-05-25T08:48:07.000Z
2020-09-04T09:56:43.000Z
""" Apypie - Apipie bindings for Python """ from __future__ import print_function, absolute_import from apypie.resource import Resource from apypie.action import Action from apypie.route import Route from apypie.api import Api from apypie.example import Example from apypie.param import Param from apypie.inflector imp...
26.0625
81
0.781775
55
417
5.745455
0.345455
0.221519
0
0
0
0
0
0
0
0
0
0
0.127098
417
15
82
27.8
0.868132
0.083933
0
0
0
0
0.114973
0
0
0
0
0
0
1
0
false
0
0.888889
0
0.888889
0.111111
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
df2388dd7a67f54e40c024b667d341a6a992b920
117
py
Python
__init__.py
efebarlas/ihale
4cd647e1048287e0e106a961f1e360a9c44de0c8
[ "MIT" ]
null
null
null
__init__.py
efebarlas/ihale
4cd647e1048287e0e106a961f1e360a9c44de0c8
[ "MIT" ]
null
null
null
__init__.py
efebarlas/ihale
4cd647e1048287e0e106a961f1e360a9c44de0c8
[ "MIT" ]
null
null
null
import logging import sys logging.basicConfig(filename="temp_log.txt",level=logging.INFO) log = logging.getLogger()
19.5
63
0.803419
16
117
5.8125
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.076923
117
5
64
23.4
0.861111
0
0
0
0
0
0.102564
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
df2abd507b2b4d067506cec716bdb8e435f6c8d2
4,969
py
Python
multiArea_test/plot_attribute_histogram_groundtruth.py
Summer0328/Landuse_DL
4a3c46979678a089065a02b595022668e60adc50
[ "Apache-2.0" ]
25
2019-11-24T04:50:58.000Z
2022-03-14T07:14:53.000Z
multiArea_test/plot_attribute_histogram_groundtruth.py
Summer0328/Landuse_DL
4a3c46979678a089065a02b595022668e60adc50
[ "Apache-2.0" ]
3
2019-12-03T16:53:32.000Z
2021-12-30T15:44:10.000Z
multiArea_test/plot_attribute_histogram_groundtruth.py
Summer0328/Landuse_DL
4a3c46979678a089065a02b595022668e60adc50
[ "Apache-2.0" ]
14
2019-11-17T12:05:11.000Z
2021-12-29T09:12:23.000Z
#!/usr/bin/env python # Filename: plot_attribute_histogram_groundtruth.py """ introduction: plot histogram of many attributes in the ground truth shapefile authors: Huang Lingcao email:huanglingcao@gmail.com add time: 16 February, 2021 """ import os,sys code_dir = os.path.join(os.path.dirname(os.path.abspath(__file_...
41.408333
127
0.755283
867
4,969
3.856978
0.156863
0.062799
0.105263
0.081639
0.727871
0.72488
0.715909
0.634569
0.621411
0.600478
0
0.01019
0.131012
4,969
120
128
41.408333
0.764243
0.107668
0
0.164384
0
0
0.140721
0.044867
0
0
0
0
0
1
0.082192
false
0.027397
0.041096
0
0.123288
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
df38f5a82cdf71b59664956ff6eae1b894017854
578
py
Python
wolframclient/serializers/encoders/decimal.py
krbarker/WolframClientForPython
f2198b15cad0f406b78ad40a4d1e3ca76125b408
[ "MIT" ]
null
null
null
wolframclient/serializers/encoders/decimal.py
krbarker/WolframClientForPython
f2198b15cad0f406b78ad40a4d1e3ca76125b408
[ "MIT" ]
null
null
null
wolframclient/serializers/encoders/decimal.py
krbarker/WolframClientForPython
f2198b15cad0f406b78ad40a4d1e3ca76125b408
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, unicode_literals import decimal from wolframclient.utils.dispatch import Dispatch encoder = Dispatch() @encoder.dispatch(decimal.Decimal) def encode_decimal(serializer, o): if o.is_infinite(): return serializer.serialize_...
24.083333
72
0.719723
68
578
5.897059
0.514706
0.236908
0.187032
0.129676
0
0
0
0
0
0
0
0.008439
0.179931
578
23
73
25.130435
0.837553
0.036332
0
0
0
0
0.052252
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0
0.538462
0.076923
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
df404a3fc4964246b2b92dfe3a3635686d69a96e
8,019
py
Python
tests/test_ebook_files.py
plusuncold/epub-bouncer
369e5c4947808d925e9a2347e0a5ba049b1970a9
[ "MIT" ]
1
2020-02-10T10:29:15.000Z
2020-02-10T10:29:15.000Z
tests/test_ebook_files.py
plusuncold/epub-bouncer
369e5c4947808d925e9a2347e0a5ba049b1970a9
[ "MIT" ]
3
2020-02-05T17:52:14.000Z
2020-02-07T17:03:06.000Z
tests/test_ebook_files.py
plusuncold/epub-bouncer
369e5c4947808d925e9a2347e0a5ba049b1970a9
[ "MIT" ]
1
2020-02-05T17:01:18.000Z
2020-02-05T17:01:18.000Z
import os import sys DIR = os.path.abspath(os.path.dirname(__file__)) path = os.path.join(DIR, '../bouncer') sys.path.append(path) from bouncer.bouncer import correct_ebook # noqa E402 from bouncer.file_utils import delete_folder # noqa E402 from bouncer.epub_handling import extract_from_epub_file, write_epub_file # no...
40.5
85
0.571144
915
8,019
4.687432
0.179235
0.223129
0.320821
0.416181
0.377011
0.377011
0.364421
0.357193
0.342737
0.342737
0
0.007268
0.330839
8,019
197
86
40.705584
0.792024
0.01247
0
0.294479
0
0
0.322968
0.316268
0
0
0
0
0.04908
1
0.03681
false
0
0.03681
0
0.092025
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
df763036e2baf6b9b83fec4124a39e1d94e647b6
342
py
Python
Basic Tricks/Lemmatization/Code.py
HMSheharyar/NaturalLanguageProcessing
4c9a0eb7dfd57952c65b0e024c38d6a47f73083c
[ "MIT" ]
null
null
null
Basic Tricks/Lemmatization/Code.py
HMSheharyar/NaturalLanguageProcessing
4c9a0eb7dfd57952c65b0e024c38d6a47f73083c
[ "MIT" ]
null
null
null
Basic Tricks/Lemmatization/Code.py
HMSheharyar/NaturalLanguageProcessing
4c9a0eb7dfd57952c65b0e024c38d6a47f73083c
[ "MIT" ]
null
null
null
<=============================================== Lemmatization ===============================================> from nltk.stem import WordNetLemmatizer lemmatizer = WordNetLemmatizer() print(lemmatizer.lemmatize('processes')) //The default POS is nouns. Switch it to verb for better results. print(lemmatizer.lemmatize...
38
111
0.564327
30
342
6.433333
0.8
0.15544
0.248705
0
0
0
0
0
0
0
0
0
0.078947
342
8
112
42.75
0.612698
0
0
0
0
0
0.049708
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.333333
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
df7cf2f945e286a11cbc9f5be9bd7000f52d2e5a
392
py
Python
hydra_redis/redis_proxy.py
invinciblycool/python-hydra-agent
43d17aedf313663ab1266c082f15df8b958dca48
[ "MIT" ]
1
2018-12-12T17:45:46.000Z
2018-12-12T17:45:46.000Z
hydra_redis/redis_proxy.py
invinciblycool/python-hydra-agent
43d17aedf313663ab1266c082f15df8b958dca48
[ "MIT" ]
null
null
null
hydra_redis/redis_proxy.py
invinciblycool/python-hydra-agent
43d17aedf313663ab1266c082f15df8b958dca48
[ "MIT" ]
null
null
null
""" This is use to provide the connection to Redis memory. """ import redis import os class RedisProxy: """ RedisProxy is used for make a connection to the Redis. """ def __init__(self): host = os.getenv("REDIS_HOST", "localhost") self.connection = redis.StrictRedis(host=host, port=63...
20.631579
71
0.658163
52
392
4.846154
0.576923
0.095238
0
0
0
0
0
0
0
0
0
0.016722
0.237245
392
18
72
21.777778
0.826087
0.278061
0
0
0
0
0.073077
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
df8692621d53d7ae25d03f99ef6f5c600a8b6180
1,129
py
Python
cactus/tests/integration/__init__.py
jacobmarshall-etc/Cactus
398ed4a1f57d0aa84fe3b297d7d27d0703683637
[ "BSD-3-Clause" ]
2
2016-07-07T17:43:33.000Z
2017-09-11T00:33:19.000Z
cactus/tests/integration/__init__.py
jacobmarshall-etc/Cactus
398ed4a1f57d0aa84fe3b297d7d27d0703683637
[ "BSD-3-Clause" ]
null
null
null
cactus/tests/integration/__init__.py
jacobmarshall-etc/Cactus
398ed4a1f57d0aa84fe3b297d7d27d0703683637
[ "BSD-3-Clause" ]
null
null
null
#coding:utf-8 import os import shutil from cactus.plugin.manager import PluginManager from cactus.site import Site from cactus.tests import BaseTestCase from cactus.tests.integration.http import DebugHTTPSConnectionFactory from cactus.utils.parallel import PARALLEL_DISABLED class DummyPluginManager(PluginManager): ...
25.659091
108
0.671391
127
1,129
5.88189
0.480315
0.066934
0.040161
0.064257
0.074967
0
0
0
0
0
0
0.001159
0.235607
1,129
43
109
26.255814
0.864426
0.100974
0
0.090909
0
0
0.028361
0
0
0
0
0
0
1
0.136364
false
0.090909
0.318182
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
df89aa01c557e4d2f398a92a7747a1f3c813dea3
105
py
Python
alarme/__init__.py
insolite/alarme
2312e88299a07d47435f475e5617213404e6d365
[ "MIT" ]
null
null
null
alarme/__init__.py
insolite/alarme
2312e88299a07d47435f475e5617213404e6d365
[ "MIT" ]
1
2017-02-04T13:03:05.000Z
2017-02-04T13:03:05.000Z
alarme/__init__.py
insolite/alarme
2312e88299a07d47435f475e5617213404e6d365
[ "MIT" ]
null
null
null
from .core import Application, Sensor, State, Action, ActionDescriptor, Schedule __version__ = '0.6.1'
21
80
0.761905
13
105
5.846154
1
0
0
0
0
0
0
0
0
0
0
0.032967
0.133333
105
4
81
26.25
0.802198
0
0
0
0
0
0.047619
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
10c8d638bda6227be2809692d9080c24f2f0db30
128
py
Python
PYTHON/pythonExercicios/exercicio014.py
Santos1000/Curso-Python
549223a1633f6f619c87554dd8078cf7841bb1df
[ "MIT" ]
null
null
null
PYTHON/pythonExercicios/exercicio014.py
Santos1000/Curso-Python
549223a1633f6f619c87554dd8078cf7841bb1df
[ "MIT" ]
null
null
null
PYTHON/pythonExercicios/exercicio014.py
Santos1000/Curso-Python
549223a1633f6f619c87554dd8078cf7841bb1df
[ "MIT" ]
null
null
null
c = float(input('Informe a temperatura em C:')) f = ((9*c)/5)+32 print('A temperatura de {} c correponde a {} F.'.format(c, f))
32
62
0.617188
24
128
3.291667
0.625
0.303797
0
0
0
0
0
0
0
0
0
0.037037
0.15625
128
3
63
42.666667
0.694444
0
0
0
0
0
0.523438
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
8022da272930f3a6a274439c63bad2c85d482054
107
py
Python
raw_data/strip_closing_ceremony_date.py
rphilander/proteus
840ed265131c7399b983802afaae61306f02ba3b
[ "MIT" ]
null
null
null
raw_data/strip_closing_ceremony_date.py
rphilander/proteus
840ed265131c7399b983802afaae61306f02ba3b
[ "MIT" ]
null
null
null
raw_data/strip_closing_ceremony_date.py
rphilander/proteus
840ed265131c7399b983802afaae61306f02ba3b
[ "MIT" ]
null
null
null
import sys for line in sys.stdin: flds = line.rstrip().split('\t') print '\t'.join(flds[:4] + flds[5:])
17.833333
37
0.616822
19
107
3.473684
0.736842
0
0
0
0
0
0
0
0
0
0
0.021978
0.149533
107
5
38
21.4
0.703297
0
0
0
0
0
0.037383
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
802fd67192bcc1d2e249cc23ae907b260352eb9a
47
py
Python
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Looping_Through_an_Iterator_2.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
5
2021-06-02T23:44:25.000Z
2021-12-27T16:21:57.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Looping_Through_an_Iterator_2.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
22
2021-05-31T01:33:25.000Z
2021-10-18T18:32:39.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Looping_Through_an_Iterator_2.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
3
2021-06-19T03:37:47.000Z
2021-08-31T00:49:51.000Z
mystr = "banana" for x in mystr: print(x)
9.4
16
0.595745
8
47
3.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.276596
47
4
17
11.75
0.823529
0
0
0
0
0
0.12766
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
8041c72d48fc4f0bba740014c7adc6885ef19f92
5,841
py
Python
q3/q3/Signal.py
virtimus/makaronLab
10b9be7d7d65d3da6219f929ea7070dd5fed3a81
[ "0BSD" ]
2
2021-03-16T05:48:36.000Z
2021-10-11T01:55:48.000Z
q3/q3/Signal.py
virtimus/makaronLab
10b9be7d7d65d3da6219f929ea7070dd5fed3a81
[ "0BSD" ]
null
null
null
q3/q3/Signal.py
virtimus/makaronLab
10b9be7d7d65d3da6219f929ea7070dd5fed3a81
[ "0BSD" ]
1
2021-03-16T05:48:39.000Z
2021-03-16T05:48:39.000Z
from . import consts from .Object import Object #from .Pin import Pin from .Module import Module from .Module import Node from .q3vector import Q3Vector from .valuetype import ValueType from . import bitutils as bu from .EventSignal import EventSignal, EventBase, EventProps class Signal(Object): class Events(...
31.069149
95
0.602637
672
5,841
5.122024
0.217262
0.04939
0.052876
0.018594
0.133353
0.092388
0.092388
0.092388
0.072051
0.031377
0
0.00262
0.281116
5,841
188
96
31.069149
0.817099
0.183017
0
0.045977
0
0
0.054929
0
0
0
0
0.005319
0.011494
1
0.241379
false
0.011494
0.091954
0.126437
0.528736
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
80447aebb22f45f1aea214b566fc51e62435d840
2,304
py
Python
tests/unitary/veBoost/token/test_approve.py
caterpillar1219/hundred-dao
de95e4ade1b50ec64b59e44a53a324a12c4e29df
[ "MIT" ]
10
2022-01-12T03:29:37.000Z
2022-03-24T17:16:49.000Z
tests/unitary/veBoost/token/test_approve.py
caterpillar1219/hundred-dao
de95e4ade1b50ec64b59e44a53a324a12c4e29df
[ "MIT" ]
null
null
null
tests/unitary/veBoost/token/test_approve.py
caterpillar1219/hundred-dao
de95e4ade1b50ec64b59e44a53a324a12c4e29df
[ "MIT" ]
9
2022-01-14T12:42:21.000Z
2022-03-23T13:50:37.000Z
import brownie import pytest from brownie import ZERO_ADDRESS @pytest.fixture(scope="module", autouse=True) def setup(alice, veboost_delegation): veboost_delegation._mint_for_testing(alice, 0, {"from": alice}) def test_set_approved(alice, bob, veboost_delegation): veboost_delegation.approve(bob, 0, {"from":...
35.446154
84
0.749132
288
2,304
5.75
0.184028
0.328502
0.173913
0.164251
0.735507
0.69686
0.677536
0.677536
0.525362
0.525362
0
0.00995
0.127604
2,304
64
85
36
0.81393
0
0
0.384615
0
0
0.052083
0
0
0
0
0
0.205128
1
0.230769
false
0
0.076923
0
0.307692
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
80590907884fe7ce0bde658ede4e556e5e0ca16c
168
py
Python
problem0070.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0070.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0070.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #70 Totient permutation - Project Euler # https://projecteuler.net/problem=70 # # Code by Kevin Marciniak # ###########################
18.666667
41
0.482143
14
168
5.785714
0.928571
0
0
0
0
0
0
0
0
0
0
0.026846
0.113095
168
8
42
21
0.516779
0.583333
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
33b6658f192d95e648e04f80f145a8a838c935de
598
py
Python
cap-3/exercicios/Exercicio-3.1.py
JeffeSilva/EP-python
a4d8ccb727ab9e10785b2dfd219cff72e0d808f5
[ "MIT" ]
1
2021-01-07T12:43:48.000Z
2021-01-07T12:43:48.000Z
cap-3/exercicios/Exercicio-3.1.py
JeffeSilva/EP-python
a4d8ccb727ab9e10785b2dfd219cff72e0d808f5
[ "MIT" ]
null
null
null
cap-3/exercicios/Exercicio-3.1.py
JeffeSilva/EP-python
a4d8ccb727ab9e10785b2dfd219cff72e0d808f5
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Exercicio 3.1 - Complete a tabela a seguir, marcando inteiro ou ponto flutuante dependendo do número apresentado. print (' ') print ('Os Numeros são 5, 5.0, 4.3, -2, 100, 1.333') print ('Quais destes números são ponto flutuante "No livro existe uma tabale para preencher, farei diretamente aqu...
42.714286
118
0.643813
95
598
4.115789
0.484211
0.092072
0.14578
0
0
0
0
0
0
0
0
0.070686
0.195652
598
13
119
46
0.72973
0.22408
0
0.2
0
0.1
0.75705
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
33bf59a7073589848fc2631bda8d2412df20ee77
2,052
py
Python
app.py
headforwards/whose-booking
55bad5c71943b9da11db2581f1b9e6181745481a
[ "MIT" ]
null
null
null
app.py
headforwards/whose-booking
55bad5c71943b9da11db2581f1b9e6181745481a
[ "MIT" ]
null
null
null
app.py
headforwards/whose-booking
55bad5c71943b9da11db2581f1b9e6181745481a
[ "MIT" ]
null
null
null
from config import setup setup() from flask import Flask, render_template, session, redirect, request, url_for from auth_helper import get_token from graph_helper import get_rooms, get_meetings app = Flask(__name__) app.secret_key='ajdhjkaghsdfhsdaf' roomUrls = { "opie.thompson@headforwards.com": "https://outlook...
62.181818
211
0.818713
202
2,052
8.19802
0.351485
0.126812
0.080314
0.092995
0.195652
0.177536
0.177536
0.177536
0
0
0
0.226042
0.064327
2,052
33
212
62.181818
0.636458
0.020955
0
0
0
0.269231
0.679481
0.099351
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
33c74d3267ebddfab7b4da7b1bb54b831da3d0cb
1,722
py
Python
sampyl/tests/test_state.py
wilsonify/sampyl
fb05a0d04393e4f1691bcc9bc664dbc1b688fc97
[ "MIT" ]
308
2015-06-30T18:16:04.000Z
2022-03-14T17:21:59.000Z
sampyl/tests/test_state.py
wilsonify/sampyl
fb05a0d04393e4f1691bcc9bc664dbc1b688fc97
[ "MIT" ]
20
2015-07-02T06:12:20.000Z
2020-11-26T16:06:57.000Z
sampyl/tests/test_state.py
wilsonify/sampyl
fb05a0d04393e4f1691bcc9bc664dbc1b688fc97
[ "MIT" ]
66
2015-07-27T11:19:03.000Z
2022-03-24T03:35:53.000Z
from ..core import np from ..state import State state1 = State([('x', 1)]) state2 = State([('x', np.array([1, 2, 3]))]) state3 = State([('x', np.array([1,2,3])), ('y', 1)]) state4 = State([('x', np.array([2.]))]) state5 = State([('x', np.array([2,1,4])), ('y', 2)]) def test_add_states(): new = state3 + state5 ...
23.916667
52
0.547619
273
1,722
3.358974
0.135531
0.091603
0.17012
0.235551
0.731734
0.666303
0.63795
0.603053
0.556161
0.556161
0
0.050185
0.213124
1,722
72
53
23.916667
0.626568
0
0
0.40678
0
0
0.012188
0
0
0
0
0
0.457627
1
0.20339
false
0
0.033898
0
0.237288
0.016949
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
1
0
1
0
0
0
0
0
0
0
3
d51603de4193a3f62bdc892aab09f923dea904c6
159
py
Python
scripts/secret-key-generator.py
soma115/wikikracja
7715ca1daa4ca09888e1c7389ed5f8a2df29898b
[ "MIT" ]
7
2016-02-21T17:25:54.000Z
2021-10-09T19:36:10.000Z
scripts/secret-key-generator.py
soma115/wikikracja
7715ca1daa4ca09888e1c7389ed5f8a2df29898b
[ "MIT" ]
19
2020-02-11T23:55:01.000Z
2022-03-31T18:11:56.000Z
scripts/secret-key-generator.py
soma115/wikikracja
7715ca1daa4ca09888e1c7389ed5f8a2df29898b
[ "MIT" ]
3
2016-01-20T22:34:58.000Z
2020-09-16T07:45:42.000Z
import random SECRET_KEY = ''.join([random.SystemRandom().choice('abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)') for i in range(50)]) print(SECRET_KEY)
31.8
125
0.72327
17
159
6.588235
0.823529
0.160714
0
0
0
0
0
0
0
0
0
0.081081
0.069182
159
4
126
39.75
0.675676
0
0
0
0
0
0.314465
0.314465
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
1d522618def7808db74f89b0b7697eb6bee65ffd
1,282
py
Python
S4/S4 Library/simulation/postures/posture_validators.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:37.000Z
2021-05-20T19:33:37.000Z
S4/S4 Library/simulation/postures/posture_validators.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
S4/S4 Library/simulation/postures/posture_validators.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
from sims4.tuning.tunable import AutoFactoryInit, HasTunableSingletonFactory, TunableVariant, TunableReference import services import sims4.resources class _PostureValidator(HasTunableSingletonFactory, AutoFactoryInit): def __eq__(self, other): if type(self) is not type(other): return False ...
51.28
535
0.719969
137
1,282
6.445255
0.532847
0.023783
0.03171
0.038505
0
0
0
0
0
0
0
0.00291
0.195788
1,282
24
536
53.416667
0.85354
0
0
0
0
0.058824
0.297972
0
0
0
0
0
0
1
0.235294
false
0
0.176471
0.117647
0.882353
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
1d5b1e722a45b8f2e3e9423b765da8ad26d94f0e
475
py
Python
apps/web/view.py
ansible-ui/ansible-ui
db5bce7a502bce19b45f2cc72486538c52138148
[ "Apache-2.0" ]
3
2019-08-28T12:44:10.000Z
2020-04-07T03:19:37.000Z
apps/web/view.py
ansible-ui/ansible-ui
db5bce7a502bce19b45f2cc72486538c52138148
[ "Apache-2.0" ]
1
2020-02-12T00:55:05.000Z
2020-02-12T00:55:05.000Z
apps/web/view.py
ansible-ui/ansible-ui
db5bce7a502bce19b45f2cc72486538c52138148
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ # @Time : 2020-01-16 15:53 # @Author : 行颠 # @Email : 0xe590b4@gmail.com # @File : view # @Software: view # @DATA : 2020-01-16 """ import os import asyncio import motor.motor_asyncio import aiohttp from aiohttp import web import aiohttp_jinja2 import jinja...
14.84375
47
0.661053
65
475
4.769231
0.661538
0.125806
0.051613
0
0
0
0
0
0
0
0
0.07772
0.187368
475
31
48
15.322581
0.725389
0.374737
0
0
0
0
0.112676
0
0
0
0
0
0
1
0
true
0
0.727273
0
0.818182
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
1d5e405378f61f6d33bf15fc68b28df94f3eef49
1,813
py
Python
bloscpack/abstract_objects.py
sachk/bloscpack
c37b02eee0c66f7cfa11a2d0f3e1beb6d43064df
[ "MIT" ]
null
null
null
bloscpack/abstract_objects.py
sachk/bloscpack
c37b02eee0c66f7cfa11a2d0f3e1beb6d43064df
[ "MIT" ]
null
null
null
bloscpack/abstract_objects.py
sachk/bloscpack
c37b02eee0c66f7cfa11a2d0f3e1beb6d43064df
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim :set ft=py: import abc import collections import copy import pprint from .pretty import (double_pretty_size, ) class MutableMappingObject(collections.MutableMapping): _metaclass__ = abc.ABCMeta @abc.abstractproperty def attribu...
25.9
91
0.589079
223
1,813
4.533632
0.336323
0.053412
0.064293
0.029674
0.172107
0.142433
0.118694
0.118694
0.118694
0.118694
0
0.002315
0.285163
1,813
69
92
26.275362
0.777778
0.050745
0
0.173913
0
0
0.059988
0
0
0
0
0
0
1
0.26087
false
0.043478
0.108696
0.108696
0.586957
0.043478
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
1da0236fcf74df2a504191f8911e09a886a9fe8f
339
py
Python
tests/test_coreir/update_golds.py
splhack/mantle
42fe81df22f4556f891f77b9c9acfd7e8bbe648b
[ "MIT" ]
33
2018-06-11T22:58:23.000Z
2021-11-22T04:16:36.000Z
tests/test_coreir/update_golds.py
splhack/mantle
42fe81df22f4556f891f77b9c9acfd7e8bbe648b
[ "MIT" ]
90
2017-08-31T01:12:13.000Z
2021-09-17T04:07:07.000Z
tests/test_coreir/update_golds.py
splhack/mantle
42fe81df22f4556f891f77b9c9acfd7e8bbe648b
[ "MIT" ]
12
2017-09-01T03:25:36.000Z
2020-10-14T21:43:12.000Z
import os import shutil for filename in os.listdir('tests/test_coreir/gold'): try: shutil.copy(os.path.join("tests/test_coreir/build", filename), os.path.join("tests/test_coreir/gold", filename)) except FileNotFoundError: os.system(f"git rm {os.path.join('tests/test_coreir/g...
33.9
79
0.669617
47
339
4.744681
0.468085
0.161435
0.269058
0.255605
0.443946
0.443946
0.331839
0.331839
0
0
0
0
0.188791
339
9
80
37.666667
0.810909
0
0
0
0
0
0.365782
0.312684
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
d51b85fd0cbe4e8d84d6271ea41011b0c1e9fe05
171
py
Python
gloop/repositories/player.py
pitzer42/nano_tcg
c984b253b8a53a707460aac21c10f140d16d902e
[ "MIT" ]
1
2020-09-30T21:03:37.000Z
2020-09-30T21:03:37.000Z
gloop/repositories/player.py
pitzer42/nano_tcg
c984b253b8a53a707460aac21c10f140d16d902e
[ "MIT" ]
null
null
null
gloop/repositories/player.py
pitzer42/nano_tcg
c984b253b8a53a707460aac21c10f140d16d902e
[ "MIT" ]
null
null
null
from abc import ABC class PlayerRepository(ABC): async def make_player_id_unavailable_if_is_available(self, player_id) -> bool: raise NotImplementedError()
21.375
82
0.766082
22
171
5.636364
0.818182
0.129032
0
0
0
0
0
0
0
0
0
0
0.169591
171
7
83
24.428571
0.873239
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d521399f4dd844ed655fdc0739f0ea76ef81de77
2,392
py
Python
src/azure-cli/azure/cli/command_modules/appconfig/_azconfig/keyvalue_iterable.py
psignoret/azure-cli
1a4a043750315f9a7f2894b4287126089978b615
[ "MIT" ]
1
2019-10-01T10:29:15.000Z
2019-10-01T10:29:15.000Z
src/azure-cli/azure/cli/command_modules/appconfig/_azconfig/keyvalue_iterable.py
psignoret/azure-cli
1a4a043750315f9a7f2894b4287126089978b615
[ "MIT" ]
2
2021-01-15T09:24:07.000Z
2021-01-15T09:30:10.000Z
src/azure-cli/azure/cli/command_modules/appconfig/_azconfig/keyvalue_iterable.py
psignoret/azure-cli
1a4a043750315f9a7f2894b4287126089978b615
[ "MIT" ]
1
2019-12-11T06:00:10.000Z
2019-12-11T06:00:10.000Z
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
33.690141
94
0.597408
239
2,392
5.702929
0.401674
0.061629
0.057227
0.030814
0.161409
0.118855
0.079237
0
0
0
0
0.001133
0.262124
2,392
70
95
34.171429
0.771105
0.425585
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.269231
false
0
0.038462
0.115385
0.576923
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
d53834687e863ca3835486e4eeda52c7ffd9fbe7
1,065
py
Python
bd_export_sbom.py
matthewb66/bd_export_sbom
11eecabd2a036bd67b2566f8e17ce6a4f6f272db
[ "Apache-2.0" ]
null
null
null
bd_export_sbom.py
matthewb66/bd_export_sbom
11eecabd2a036bd67b2566f8e17ce6a4f6f272db
[ "Apache-2.0" ]
null
null
null
bd_export_sbom.py
matthewb66/bd_export_sbom
11eecabd2a036bd67b2566f8e17ce6a4f6f272db
[ "Apache-2.0" ]
1
2021-11-03T18:39:05.000Z
2021-11-03T18:39:05.000Z
#!/usr/bin/env python from export_sbom import main # logging.basicConfig(format='%(asctime)s:%(levelname)s:%(message)s', stream=sys.stderr, level=logging.INFO) # logging.getLogger("requests").setLevel(logging.INFO) # logging.getLogger("urllib3").setLevel(logging.INFO) # # url = os.environ.get('BLACKDUCK_URL') # if con...
28.783784
108
0.697653
146
1,065
4.89726
0.410959
0.083916
0.159441
0.088112
0.226573
0.201399
0.201399
0
0
0
0
0.00333
0.153991
1,065
36
109
29.583333
0.790233
0.8723
0
0
0
0
0.076923
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
d53d0f00b2187582c60f1f3849ec535c2c1ac8f8
748
py
Python
unsupervised2/util.py
opplieam/Udemy-Lazy
89e757152a87603d630593e13b0db4d5422222fc
[ "Apache-2.0" ]
null
null
null
unsupervised2/util.py
opplieam/Udemy-Lazy
89e757152a87603d630593e13b0db4d5422222fc
[ "Apache-2.0" ]
null
null
null
unsupervised2/util.py
opplieam/Udemy-Lazy
89e757152a87603d630593e13b0db4d5422222fc
[ "Apache-2.0" ]
null
null
null
import numpy as np import pandas as pd from sklearn.utils import shuffle def relu(x): return x * (x > 0) def error_rate(p, t): return np.mean(p != t) def getKaggleMNIST(): # MNIST data: # column 0 is labels # column 1-785 is data, with values 0 .. 255 # total size of CSV: (42000, 1, 28, 2...
22
76
0.627005
117
748
3.974359
0.470085
0.068817
0.064516
0.055914
0.098925
0.098925
0
0
0
0
0
0.092943
0.223262
748
33
77
22.666667
0.707401
0.148396
0
0
0
0
0.036392
0.036392
0
0
0
0
0
1
0.222222
false
0
0.166667
0.111111
0.611111
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
d53edf32554e7a0d65c30fc51b5d6ba9c244b576
328
py
Python
test.py
resource-watch/eeUtil
d1dcd721570fa618689f5d238fb00d223cb67e33
[ "MIT" ]
null
null
null
test.py
resource-watch/eeUtil
d1dcd721570fa618689f5d238fb00d223cb67e33
[ "MIT" ]
null
null
null
test.py
resource-watch/eeUtil
d1dcd721570fa618689f5d238fb00d223cb67e33
[ "MIT" ]
1
2020-02-06T15:39:31.000Z
2020-02-06T15:39:31.000Z
import eeUtil eeUtil.initJson() collection = 'cli_012_co2_concentrations' print(eeUtil.exists(f'test_{collection}')) eeUtil.createFolder(f'test_{collection}', True, public=True) print('hola holita!') print(eeUtil.exists(f'test_{collection}')) eeUtil.removeAsset(f'test_{collection}') print(eeUtil.exists(f'test_{collec...
29.818182
60
0.783537
43
328
5.790698
0.418605
0.100402
0.301205
0.216867
0.433735
0.433735
0.305221
0
0
0
0
0.012821
0.04878
328
11
61
29.818182
0.785256
0
0
0.333333
0
0
0.37386
0.079027
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.444444
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d5693234aa362999b6843190b6a12907ea2c4115
1,721
py
Python
tfx/orchestration/experimental/kubernetes/node_wrapper.py
avelez93/tfx
75fbb6a7d50e99138609be3ca4c3a204a13a2195
[ "Apache-2.0" ]
1,813
2019-02-04T17:17:30.000Z
2022-03-29T13:39:30.000Z
tfx/orchestration/experimental/kubernetes/node_wrapper.py
avelez93/tfx
75fbb6a7d50e99138609be3ca4c3a204a13a2195
[ "Apache-2.0" ]
2,710
2019-02-14T00:41:00.000Z
2022-03-31T07:23:00.000Z
tfx/orchestration/experimental/kubernetes/node_wrapper.py
avelez93/tfx
75fbb6a7d50e99138609be3ca4c3a204a13a2195
[ "Apache-2.0" ]
731
2019-02-04T17:59:18.000Z
2022-03-31T06:45:51.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
29.672414
79
0.735619
253
1,721
4.905138
0.454545
0.048348
0.026591
0.033844
0.058018
0.058018
0
0
0
0
0
0.005714
0.186519
1,721
57
80
30.192982
0.880714
0.518884
0
0.192308
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.192308
0.538462
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
d569b58f490e19c3f75b93aa682d3a0795fa6946
149
py
Python
apps/cli/providers/__init__.py
NiWaRe/PyGrid
fd7a751f39641c679661fa81868275548d8d94b5
[ "Apache-2.0" ]
1
2021-10-05T18:57:02.000Z
2021-10-05T18:57:02.000Z
apps/cli/providers/__init__.py
lukereichold/PyGrid
2cfdf3496af1060e0a6d51ddd7206bfbc9b01c57
[ "Apache-2.0" ]
null
null
null
apps/cli/providers/__init__.py
lukereichold/PyGrid
2cfdf3496af1060e0a6d51ddd7206bfbc9b01c57
[ "Apache-2.0" ]
null
null
null
__all__ = [ "aws", "azure", "gcp", "provider", ] from .aws import * from .azure import * from .gcp import * from .provider import *
12.416667
23
0.57047
17
149
4.764706
0.411765
0.37037
0
0
0
0
0
0
0
0
0
0
0.275168
149
11
24
13.545455
0.75
0
0
0
0
0
0.127517
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
d56dccf4bc7129f48bfcfdb6da4551b4fe955fbe
117
py
Python
Code coach problems/Hard/Python/Word_Rank.py
Djivs/sololearn-code-solutions
7727dd97f79863a88841548770481f6f2abdc7bf
[ "MIT" ]
1
2020-07-27T07:32:57.000Z
2020-07-27T07:32:57.000Z
Code coach problems/Hard/Python/Word_Rank.py
Djivs/sololearn-code-solutions
7727dd97f79863a88841548770481f6f2abdc7bf
[ "MIT" ]
null
null
null
Code coach problems/Hard/Python/Word_Rank.py
Djivs/sololearn-code-solutions
7727dd97f79863a88841548770481f6f2abdc7bf
[ "MIT" ]
1
2020-11-07T12:45:21.000Z
2020-11-07T12:45:21.000Z
from itertools import permutations a = input() b = set(permutations(a)) b = sorted(b) print(b.index(tuple(a)) + 1)
14.625
34
0.683761
19
117
4.210526
0.684211
0.325
0
0
0
0
0
0
0
0
0
0.010101
0.153846
117
7
35
16.714286
0.79798
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
d5858d1d835f80e97afe5947546b6e8fd637e8aa
511
py
Python
contacts/models.py
paccy-ops/contactApp
e22912ff585bdbf1e8857f36e66e436b305504a8
[ "MIT" ]
null
null
null
contacts/models.py
paccy-ops/contactApp
e22912ff585bdbf1e8857f36e66e436b305504a8
[ "MIT" ]
null
null
null
contacts/models.py
paccy-ops/contactApp
e22912ff585bdbf1e8857f36e66e436b305504a8
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth import get_user_model # Create your models here. class Contact(models.Model): owner = models.ForeignKey(to=get_user_model(), on_delete=models.CASCADE) country_code = models.CharField(max_length=30) first_name = models.CharField(max_length=30) last_...
36.5
76
0.772994
72
511
5.277778
0.555556
0.157895
0.189474
0.252632
0.294737
0.157895
0
0
0
0
0
0.018018
0.131115
511
13
77
39.307692
0.837838
0.046967
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
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
634355ce39081c33bf8821b59a4a6396b58d4654
1,179
py
Python
2313.py
luizgallas/uri_iniciante
fd23f2fe1638b373b94b7b4ddb2d906cec8db87b
[ "Apache-2.0" ]
null
null
null
2313.py
luizgallas/uri_iniciante
fd23f2fe1638b373b94b7b4ddb2d906cec8db87b
[ "Apache-2.0" ]
null
null
null
2313.py
luizgallas/uri_iniciante
fd23f2fe1638b373b94b7b4ddb2d906cec8db87b
[ "Apache-2.0" ]
null
null
null
a, b, c = input().split(" ") a = int(a) b = int(b) c = int(c) if (c < a + b) and (b < c + a) and (a < b + c) and (0 < a,b,c < 10**5): if((a != b and b == c) or ( a == c and a != b) or ( a == b and c != b)): print("Valido-Isoceles") if ((a**2 == b**2 + c**2) or (b**2 == a**2 + c**2) or (c**2 == b**2...
32.75
87
0.349449
215
1,179
1.916279
0.111628
0.087379
0.087379
0.145631
0.703884
0.669903
0.669903
0.669903
0.669903
0.669903
0
0.077025
0.361323
1,179
36
88
32.75
0.47012
0
0
0.48
0
0
0.108475
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
635b283e666ecd279bec2e04217ce6c09f0f56d4
658
py
Python
email-subscribe-modal/server.py
directactioneverywhere/static
d82f7681ca5448b5f948c119de8506457ee3b58a
[ "MIT" ]
null
null
null
email-subscribe-modal/server.py
directactioneverywhere/static
d82f7681ca5448b5f948c119de8506457ee3b58a
[ "MIT" ]
1
2020-03-24T15:54:43.000Z
2020-03-24T15:54:43.000Z
email-subscribe-modal/server.py
directactioneverywhere/static
d82f7681ca5448b5f948c119de8506457ee3b58a
[ "MIT" ]
null
null
null
from flask import Flask, send_from_directory app = Flask(__name__, static_url_path='') @app.route("/") def index(): return open("index-test.html").read() @app.route("/subscriber-confirmed") def subscriber_confirmed(): return 'subscriber confirmed, hooray!' @app.route("/api/form/FormSubmissionKey", methods=["...
24.37037
80
0.703647
82
658
5.378049
0.463415
0.090703
0.077098
0.068027
0
0
0
0
0
0
0
0.02916
0.113982
658
26
81
25.307692
0.727273
0
0
0
0
0
0.341945
0.217325
0
0
0
0
0
1
0.263158
false
0
0.052632
0.263158
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
63855521141241629ecc5e67cfc35b639a804169
150
py
Python
exercise7/exercise7.1.py
srfunksensei/think-python
a17fc81b316cd2e873b169e0090eae620442df99
[ "MIT" ]
null
null
null
exercise7/exercise7.1.py
srfunksensei/think-python
a17fc81b316cd2e873b169e0090eae620442df99
[ "MIT" ]
null
null
null
exercise7/exercise7.1.py
srfunksensei/think-python
a17fc81b316cd2e873b169e0090eae620442df99
[ "MIT" ]
null
null
null
def print_n(s, n): """write a function that prints a string n times""" while n > 0: print(s) n = n - 1 print_n('string', 3)
16.666667
55
0.526667
26
150
2.961538
0.576923
0.155844
0
0
0
0
0
0
0
0
0
0.03
0.333333
150
8
56
18.75
0.74
0.3
0
0
0
0
0.060606
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.6
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
6385c6b8a6d3d86cd950a751378db08faf20bdbe
915
py
Python
techslate/app.py
parthibann/TechSlate
f5092299022011e9a0b1f24549cfe337aaf060cd
[ "MIT" ]
9
2021-05-30T05:37:10.000Z
2022-01-11T12:26:57.000Z
techslate/app.py
parthibann/TechSlate
f5092299022011e9a0b1f24549cfe337aaf060cd
[ "MIT" ]
null
null
null
techslate/app.py
parthibann/TechSlate
f5092299022011e9a0b1f24549cfe337aaf060cd
[ "MIT" ]
null
null
null
import os from flask import Flask from flask import render_template from flask_restful import Api from techslate.utils.route_utils import error_handler from techslate.docker.route import Docker current_path = os.path.dirname(os.path.abspath(__file__)) ui_path = os.path.join(current_path, os.pardir, "techslate_ui") ap...
31.551724
99
0.760656
136
915
4.941176
0.455882
0.035714
0.044643
0
0
0
0
0
0
0
0
0.011194
0.121311
915
28
100
32.678571
0.824627
0.13224
0
0
0
0
0.217722
0.037975
0
0
0
0
0
1
0.111111
false
0
0.333333
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
63896abc21e499815bde77d0aa351fb520dbeaff
3,446
py
Python
vendor/node-semver/semver/tests/test_range.py
johnwen84/my-php-buildpack
9e36bbb54a3adfd2206c30e8c437445fc335620d
[ "Apache-2.0" ]
133
2015-01-12T07:11:36.000Z
2022-02-16T13:25:18.000Z
vendor/node-semver/semver/tests/test_range.py
johnwen84/my-php-buildpack
9e36bbb54a3adfd2206c30e8c437445fc335620d
[ "Apache-2.0" ]
534
2015-01-05T21:49:45.000Z
2022-03-31T16:27:03.000Z
vendor/node-semver/semver/tests/test_range.py
johnwen84/my-php-buildpack
9e36bbb54a3adfd2206c30e8c437445fc335620d
[ "Apache-2.0" ]
448
2015-01-09T15:40:09.000Z
2022-03-11T15:13:25.000Z
# -*- coding:utf-8 -*- import pytest # node-semver/test/index.js # import logging # logging.basicConfig(level=logging.DEBUG, format="%(message)s") cands = [ ['1.0.0 - 2.0.0', '1.2.3', False], ['1.0.0', '1.0.0', False], ['>=*', '0.2.4', False], ['', '1.0.0', False], ['*', '1.2.3', False], ['*',...
33.134615
64
0.382763
701
3,446
1.875892
0.075606
0.109506
0.091255
0.127757
0.694297
0.638023
0.591635
0.462357
0.384791
0.342205
0
0.212648
0.215322
3,446
103
65
33.456311
0.273669
0.066454
0
0.319149
0
0
0.367863
0
0
0
0
0
0.010638
1
0.010638
false
0
0.021277
0
0.031915
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
63900272ba49277768357b8b1aa67ee0c13b35f8
226
py
Python
ghost_log.py
claranet/cloud-deploy
a1277f5a1173efffbaeb298c9d22ec0aa39c62e7
[ "Apache-2.0" ]
25
2018-03-27T13:26:17.000Z
2022-02-02T09:24:25.000Z
ghost_log.py
claranet/cloud-deploy
a1277f5a1173efffbaeb298c9d22ec0aa39c62e7
[ "Apache-2.0" ]
null
null
null
ghost_log.py
claranet/cloud-deploy
a1277f5a1173efffbaeb298c9d22ec0aa39c62e7
[ "Apache-2.0" ]
5
2018-05-08T16:09:57.000Z
2021-08-04T13:12:36.000Z
from datetime import datetime def log(message, fd): fd.write("{timestamp}: {message}\n".format(timestamp=datetime.now().strftime("%Y/%m/%d %H:%M:%S GMT"), message=message))
32.285714
106
0.539823
27
226
4.518519
0.703704
0
0
0
0
0
0
0
0
0
0
0
0.287611
226
6
107
37.666667
0.757764
0
0
0
0
0
0.199115
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
6396c5d93b1145123e22cf0a5e81400d21addf80
304
py
Python
Python/empire/archive/archive_types.py
Tombmyst/Empire
f28782787c5fa9127e353549b73ec90d3c82c003
[ "Apache-2.0" ]
null
null
null
Python/empire/archive/archive_types.py
Tombmyst/Empire
f28782787c5fa9127e353549b73ec90d3c82c003
[ "Apache-2.0" ]
null
null
null
Python/empire/archive/archive_types.py
Tombmyst/Empire
f28782787c5fa9127e353549b73ec90d3c82c003
[ "Apache-2.0" ]
null
null
null
from empire.python.typings import * from empire.enums.base_enum import BaseEnum class ArchiveTypes(BaseEnum): ZIP: Final[int] = 0 LZMA: Final[int] = 1 GZIP: Final[int] = 2 BZIP: Final[int] = 3 TAR_BZ: Final[int] = 4 TAR_GZ: Final[int] = 5 TAR_XZ: Final[int] = 6
23.384615
44
0.618421
46
304
4
0.608696
0.304348
0
0
0
0
0
0
0
0
0
0.03125
0.263158
304
12
45
25.333333
0.790179
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
63d334c9f1a636e299018442a034a31e6c42f920
4,405
py
Python
tests/test_stft.py
spiegel-lib/spiegel
2a0b606a2f9eba22e25ade96ece249b790ca3b23
[ "MIT" ]
10
2020-11-12T16:11:03.000Z
2022-02-02T12:18:07.000Z
tests/test_stft.py
spiegel-lib/spiegel
2a0b606a2f9eba22e25ade96ece249b790ca3b23
[ "MIT" ]
3
2020-12-04T01:43:40.000Z
2021-02-19T17:08:57.000Z
tests/test_stft.py
spiegel-lib/spiegel
2a0b606a2f9eba22e25ade96ece249b790ca3b23
[ "MIT" ]
3
2020-07-04T02:24:15.000Z
2021-09-08T14:01:36.000Z
""" Tests for STFT class """ import pytest import numpy as np from spiegelib import AudioBuffer from spiegelib.features import STFT import utils class TestSTFT(): def test_empty_construction(self): stft = STFT() def test_sine_wave_stft_complex(self, shared_datadir): file_name = (shared_da...
32.153285
102
0.618615
571
4,405
4.598949
0.168126
0.026657
0.029322
0.039985
0.803884
0.763138
0.696877
0.681645
0.681645
0.681645
0
0.106157
0.251532
4,405
136
103
32.389706
0.690325
0.047446
0
0.521739
0
0
0.020789
0
0
0
0
0
0.228261
1
0.086957
false
0
0.054348
0
0.152174
0
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
893af0495e2be6f2d29ce0899d992a9c8fd4b1ce
7,634
py
Python
deepspeed/profiling/testing/config/mathop.py
B06901052/DeepSpeed
c71bee0c7e15a67c849e2093bfa6b8ca12fbdd82
[ "MIT" ]
null
null
null
deepspeed/profiling/testing/config/mathop.py
B06901052/DeepSpeed
c71bee0c7e15a67c849e2093bfa6b8ca12fbdd82
[ "MIT" ]
null
null
null
deepspeed/profiling/testing/config/mathop.py
B06901052/DeepSpeed
c71bee0c7e15a67c849e2093bfa6b8ca12fbdd82
[ "MIT" ]
null
null
null
""" This file is models for unit test on unary oprations. """ from turtle import forward import torch import torch.nn as nn # TODO: not finish """ test_name: torch_unaryop_test operation: pointwise: abs reduction: mean, std, Testing block for syntax sugar ops which interact with scaler """ class Abs(nn.Modul...
25.790541
140
0.582526
875
7,634
4.762286
0.115429
0.065275
0.084473
0.143988
0.714423
0.704344
0.685625
0.614351
0.576194
0.576194
0
0.004773
0.286482
7,634
295
141
25.877966
0.760235
0.009301
0
0.597222
0
0
0.031491
0.008109
0
0
0
0.00339
0
1
0.291667
false
0
0.013889
0.083333
0.597222
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
895e21f8ba30013efe2601924aec961d03a478f2
1,758
py
Python
molsysmt/physchem/hydrophobicity.py
uibcdf/MolModMTs
4f6b6f671a9fa3e73008d1e9c48686d5f20a6573
[ "MIT" ]
null
null
null
molsysmt/physchem/hydrophobicity.py
uibcdf/MolModMTs
4f6b6f671a9fa3e73008d1e9c48686d5f20a6573
[ "MIT" ]
null
null
null
molsysmt/physchem/hydrophobicity.py
uibcdf/MolModMTs
4f6b6f671a9fa3e73008d1e9c48686d5f20a6573
[ "MIT" ]
null
null
null
import numpy as np from molsysmt._private.exceptions import * def hydrophobicity(molecular_system, selection='all', type='eisenberg'): from molsysmt.basic import get if type == 'eisenberg': from .groups.hydrophobicity import eisenberg as values elif type == 'argos': from .groups.hydrophob...
33.807692
88
0.675199
203
1,758
5.82266
0.256158
0.126904
0.304569
0.380711
0
0
0
0
0
0
0
0
0.239477
1,758
51
89
34.470588
0.884069
0
0
0
0
0
0.063176
0
0
0
0
0
0
1
0.02381
false
0
0.428571
0
0.47619
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
896d086e8d84227a227fd86e766fb6af3d0aa89d
198
py
Python
startup.py
KaMiKaZa/grid-backend
7a1b5778724cd67ab6d66734d6ff95ec4a141b9a
[ "MIT" ]
null
null
null
startup.py
KaMiKaZa/grid-backend
7a1b5778724cd67ab6d66734d6ff95ec4a141b9a
[ "MIT" ]
null
null
null
startup.py
KaMiKaZa/grid-backend
7a1b5778724cd67ab6d66734d6ff95ec4a141b9a
[ "MIT" ]
null
null
null
from flask import Flask from blueprints import database, hooks app = Flask(__name__) app.register_blueprint(database.bp) app.register_blueprint(hooks.bp) if __name__ == '__main__': app.run()
18
38
0.767677
27
198
5.111111
0.518519
0.15942
0.289855
0
0
0
0
0
0
0
0
0
0.131313
198
11
39
18
0.802326
0
0
0
0
0
0.040201
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.428571
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
8976c6b15d9435d599def91751451e53788b4fe3
223
py
Python
flaskisan/exceptions.py
ShawnZhang31/flaskisan
2c5868ef697c55f444b81aa2ca022682b4a08ce0
[ "MIT" ]
1
2019-09-26T06:12:10.000Z
2019-09-26T06:12:10.000Z
flaskisan/exceptions.py
ShawnZhang31/flaskisan
2c5868ef697c55f444b81aa2ca022682b4a08ce0
[ "MIT" ]
4
2020-03-24T17:38:50.000Z
2021-06-18T21:24:36.000Z
flaskisan/exceptions.py
ShawnZhang31/flaskisan
2c5868ef697c55f444b81aa2ca022682b4a08ce0
[ "MIT" ]
null
null
null
''' /* * @Author: Shawn Zhang * @Date: 2019-09-09 00:39:11 * @Last Modified by: Shawn Zhang * @Last Modified time: 2019-09-09 01:17:22 */ ''' class flaskisanException(Exception): """flaskisan抛出的异常的基本类""" pass
20.272727
43
0.636771
29
223
4.896552
0.724138
0.140845
0.112676
0
0
0
0
0
0
0
0
0.154696
0.188341
223
11
44
20.272727
0.629834
0.713004
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
8992f789143d7af3e13fecd382d241ce1f010123
133
py
Python
hvac/api/constants.py
jasonarewhy/hvac
bdf23d13515a06a8f2d5aa05f1515a32de79f874
[ "Apache-2.0" ]
null
null
null
hvac/api/constants.py
jasonarewhy/hvac
bdf23d13515a06a8f2d5aa05f1515a32de79f874
[ "Apache-2.0" ]
null
null
null
hvac/api/constants.py
jasonarewhy/hvac
bdf23d13515a06a8f2d5aa05f1515a32de79f874
[ "Apache-2.0" ]
null
null
null
VALID_AZURE_ENVIRONMENTS = [ 'AzurePublicCloud', 'AzureUSGovernmentCloud', 'AzureChinaCloud', 'AzureGermanCloud', ]
16.625
29
0.699248
7
133
13
1
0
0
0
0
0
0
0
0
0
0
0
0.18797
133
7
30
19
0.842593
0
0
0
0
0
0.522727
0.166667
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
89931bf89d16f5bc0d4bcb8f34d0b2ac65cc86d0
182
py
Python
src/starter-pack/starter-bots/python3/Lane.py
nart4hire/Tubes1_FastAndCurious
7915cd62b4edc8f71e891213304cba0863ef31a4
[ "CC0-1.0" ]
null
null
null
src/starter-pack/starter-bots/python3/Lane.py
nart4hire/Tubes1_FastAndCurious
7915cd62b4edc8f71e891213304cba0863ef31a4
[ "CC0-1.0" ]
null
null
null
src/starter-pack/starter-bots/python3/Lane.py
nart4hire/Tubes1_FastAndCurious
7915cd62b4edc8f71e891213304cba0863ef31a4
[ "CC0-1.0" ]
null
null
null
class Lane: def __init__(self, position, objectType, player_id): self.position = position self.object = objectType self.occupied_by_player_id = player_id
30.333333
56
0.686813
22
182
5.272727
0.545455
0.206897
0
0
0
0
0
0
0
0
0
0
0.241758
182
5
57
36.4
0.84058
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
899334c6555c4ce8a575aa11531d635145d5971e
78
py
Python
realbasicvsr/models/backbones/__init__.py
arctanbell/RealBasicVSR
c8583333bcef41d0749cc7f6e66677a4249bbfe5
[ "Apache-2.0" ]
1
2021-12-05T05:24:39.000Z
2021-12-05T05:24:39.000Z
realbasicvsr/models/backbones/__init__.py
arctanbell/RealBasicVSR
c8583333bcef41d0749cc7f6e66677a4249bbfe5
[ "Apache-2.0" ]
null
null
null
realbasicvsr/models/backbones/__init__.py
arctanbell/RealBasicVSR
c8583333bcef41d0749cc7f6e66677a4249bbfe5
[ "Apache-2.0" ]
null
null
null
from .real_basicvsr_net import RealBasicVSRNet __all__ = ['RealBasicVSRNet']
19.5
46
0.820513
8
78
7.25
0.875
0
0
0
0
0
0
0
0
0
0
0
0.102564
78
3
47
26
0.828571
0
0
0
0
0
0.192308
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
899748ca963862f8dd97fd531bda170c1e3911b7
77,815
py
Python
template_container_human/labels/slice_111.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
template_container_human/labels/slice_111.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
template_container_human/labels/slice_111.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
coordinates_E0E1E1 = ((123, 110), (123, 112), (123, 113), (123, 114), (123, 115), (123, 116), (123, 117), (123, 118), (123, 119), (123, 120), (123, 122), (124, 110), (124, 122), (125, 110), (125, 112), (125, 113), (125, 114), (125, 115), (125, 116), (125, 117), (125, 118), (125, 119), (125, 120), (125, 122), (126, 10...
518.766667
865
0.477736
13,460
77,815
2.759064
0.012853
0.000485
0.000485
0.000646
0.003124
0.002423
0.002423
0.001454
0.001454
0
0
0.571663
0.176804
77,815
149
866
522.248322
0.008087
0
0
0
0
0
0
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
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
89a3269a9958cab062b7e810d221fa0a1cd18fce
552
py
Python
Exercises/009.py
GuilhermeRds1921/Python3-Guanabara
24cd85b076e1074a5602e54c420bcc8e70cc1854
[ "MIT" ]
null
null
null
Exercises/009.py
GuilhermeRds1921/Python3-Guanabara
24cd85b076e1074a5602e54c420bcc8e70cc1854
[ "MIT" ]
null
null
null
Exercises/009.py
GuilhermeRds1921/Python3-Guanabara
24cd85b076e1074a5602e54c420bcc8e70cc1854
[ "MIT" ]
null
null
null
# Faça um programa que leia um número Inteiro qualquer e mostre # na tabela a sua tabuada. num = int(input("Digite um Número: ")) print("{} * 1 = {}".format(num, num * 1)) print("{} * 2 = {}".format(num, num * 2)) print("{} * 3 = {}".format(num, num * 3)) print("{} * 4 = {}".format(num, num * 4)) print("{} * 5 = {}".f...
39.428571
63
0.519928
82
552
3.5
0.378049
0.313589
0.418118
0
0
0
0
0
0
0
0
0.049107
0.188406
552
14
64
39.428571
0.591518
0.155797
0
0
0
0
0.278017
0
0
0
0
0
0
1
0
false
0
0
0
0
0.909091
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
9824c06fc6dae772652e08fd133ed33c75d82101
58
py
Python
chapter8-list/op.py
MyLanPangzi/py4e
af5cd5fa63956ff237f880a1f9dd0bfdd6b28930
[ "Apache-2.0" ]
null
null
null
chapter8-list/op.py
MyLanPangzi/py4e
af5cd5fa63956ff237f880a1f9dd0bfdd6b28930
[ "Apache-2.0" ]
null
null
null
chapter8-list/op.py
MyLanPangzi/py4e
af5cd5fa63956ff237f880a1f9dd0bfdd6b28930
[ "Apache-2.0" ]
null
null
null
arr = [1, 2] brr = [3, 4] print(arr + brr) print([1] * 3)
11.6
16
0.482759
12
58
2.333333
0.583333
0
0
0
0
0
0
0
0
0
0
0.136364
0.241379
58
4
17
14.5
0.5
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
983bc97dbd9f7e14e4c4b5673fbe2a4f20b11279
587
py
Python
exercises/general/float_layout.py
angelptli/my_kivy_journey
2718e3ef22f67a71e89cf297a34cb12825a2c3da
[ "MIT" ]
null
null
null
exercises/general/float_layout.py
angelptli/my_kivy_journey
2718e3ef22f67a71e89cf297a34cb12825a2c3da
[ "MIT" ]
null
null
null
exercises/general/float_layout.py
angelptli/my_kivy_journey
2718e3ef22f67a71e89cf297a34cb12825a2c3da
[ "MIT" ]
null
null
null
# File: float_layout.py # Desc: Accommodate code for button float layout exercise for Kv file. import kivy from kivy.app import App from kivy.uix.widget import Widget from kivy.lang import Builder from kivy.core.window import Window # from kivy.uix.floatlayout import FloatLayout Builder.load_file('float_layout.kv') ...
20.964286
70
0.706985
87
587
4.643678
0.528736
0.09901
0.05198
0.049505
0.05198
0.05198
0
0
0
0
0
0.046512
0.194208
587
27
71
21.740741
0.807611
0.289608
0
0
0
0
0.055825
0
0
0
0
0
0
1
0.071429
false
0.071429
0.357143
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
983f8588d0e611a1f4f2ab9590a2b1990e8125af
196
py
Python
tests/access_priavte.py
kagemeka/python
486ce39d97360b61029527bacf00a87fdbcf552c
[ "MIT" ]
null
null
null
tests/access_priavte.py
kagemeka/python
486ce39d97360b61029527bacf00a87fdbcf552c
[ "MIT" ]
null
null
null
tests/access_priavte.py
kagemeka/python
486ce39d97360b61029527bacf00a87fdbcf552c
[ "MIT" ]
null
null
null
import typing class Foo(): def __init__(self) -> typing.NoReturn: self.__bar = 1 def test() -> typing.NoReturn: foo = Foo() print(foo._Foo__bar) if __name__ == '__main__': test()
14
40
0.637755
26
196
4.153846
0.576923
0.259259
0
0
0
0
0
0
0
0
0
0.006452
0.209184
196
14
41
14
0.690323
0
0
0
0
0
0.040609
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.444444
0.111111
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
984df7e346bc46d25286129bed2c97cb45a61c84
144
py
Python
merch/urls.py
ChristianJStarr/sbs-website
db891f0a67f46cc9cdadc95714304b2ea91a162a
[ "MIT" ]
1
2022-01-09T18:54:32.000Z
2022-01-09T18:54:32.000Z
merch/urls.py
ChristianJStarr/sbs-website
db891f0a67f46cc9cdadc95714304b2ea91a162a
[ "MIT" ]
null
null
null
merch/urls.py
ChristianJStarr/sbs-website
db891f0a67f46cc9cdadc95714304b2ea91a162a
[ "MIT" ]
null
null
null
from django.urls import include, path from . import views app_name = 'merch' urlpatterns = [ path('', views.merch_views, name='merch'), ]
16
46
0.6875
19
144
5.105263
0.578947
0.185567
0
0
0
0
0
0
0
0
0
0
0.173611
144
8
47
18
0.815126
0
0
0
0
0
0.069444
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
9859069dfe77ee895d79ce510999e571426fe566
869
py
Python
tpDcc/libs/options/options/float.py
tpDcc/tpDcc-libs-options
9df605f4adcc0a6622beee80ba88683bb6fa055b
[ "MIT" ]
null
null
null
tpDcc/libs/options/options/float.py
tpDcc/tpDcc-libs-options
9df605f4adcc0a6622beee80ba88683bb6fa055b
[ "MIT" ]
null
null
null
tpDcc/libs/options/options/float.py
tpDcc/tpDcc-libs-options
9df605f4adcc0a6622beee80ba88683bb6fa055b
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- """ Module that contains float option implementation """ from __future__ import print_function, division, absolute_import from tpDcc.libs.qt.widgets import spinbox from tpDcc.libs.options.core import option class FloatOption(option.Option, object): def __init__(...
25.558824
92
0.734177
113
869
5.292035
0.442478
0.100334
0.080268
0
0
0
0
0
0
0
0
0.001381
0.166858
869
33
93
26.333333
0.824586
0.105869
0
0
0
0
0.00651
0
0
0
0
0
0
1
0.375
false
0
0.1875
0.1875
0.8125
0.0625
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
986051acb8c9497d4c99196ac5ffff9f571f6a43
536
py
Python
plugins/openstack/pyparts/config_checks.py
gerald-yang/hotsos
c4f3dd73a6f6357a79aed61077e1fc62ce8e06c0
[ "Apache-2.0" ]
null
null
null
plugins/openstack/pyparts/config_checks.py
gerald-yang/hotsos
c4f3dd73a6f6357a79aed61077e1fc62ce8e06c0
[ "Apache-2.0" ]
null
null
null
plugins/openstack/pyparts/config_checks.py
gerald-yang/hotsos
c4f3dd73a6f6357a79aed61077e1fc62ce8e06c0
[ "Apache-2.0" ]
null
null
null
from common.checks import ConfigChecksBase from common.plugins.openstack import ( OpenstackConfig, OpenstackPackageChecksBase ) class OpenstackConfigChecks(ConfigChecksBase, OpenstackPackageChecksBase): def dpdk_enabled(self): return self.is_installed("openvswitch-switch-dpdk") def _get_conf...
24.363636
74
0.716418
55
536
6.781818
0.545455
0.053619
0
0
0
0
0
0
0
0
0
0
0.216418
536
21
75
25.52381
0.888095
0.074627
0
0
0
0
0.046559
0.046559
0
0
0
0
0
1
0.214286
false
0
0.142857
0.142857
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
989e8c3c9691980bd9db6d06216eb2026be35e06
4,066
py
Python
model_compiler/tests/model_compiler/compilers/test_tf_model_to_saved_model.py
yuanliya/Adlik
602074b44064002fc0bb054e17a989a5bcf22e92
[ "Apache-2.0" ]
548
2019-09-27T07:37:47.000Z
2022-03-31T05:12:38.000Z
model_compiler/tests/model_compiler/compilers/test_tf_model_to_saved_model.py
yuanliya/Adlik
602074b44064002fc0bb054e17a989a5bcf22e92
[ "Apache-2.0" ]
533
2019-09-27T06:30:41.000Z
2022-03-29T07:34:08.000Z
model_compiler/tests/model_compiler/compilers/test_tf_model_to_saved_model.py
yuanliya/Adlik
602074b44064002fc0bb054e17a989a5bcf22e92
[ "Apache-2.0" ]
54
2019-10-10T02:19:31.000Z
2021-12-28T03:37:45.000Z
# Copyright 2019 ZTE corporation. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 from unittest import TestCase import tensorflow as tf import model_compiler.compilers.tf_model_to_saved_model as compiler from model_compiler.compilers.tf_model_to_saved_model import Config from model_compiler.models.irs.tf_...
47.27907
120
0.630595
485
4,066
5.113402
0.173196
0.108871
0.092742
0.093548
0.795161
0.762903
0.707258
0.675
0.641935
0.550806
0
0.016436
0.236842
4,066
85
121
47.835294
0.782791
0.021643
0
0.4
0
0
0.038491
0
0
0
0
0
0.433333
1
0.1
false
0
0.083333
0
0.216667
0
0
0
0
null
0
0
0
0
1
1
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
7f2e28a582900e9f69a4165689028623fe6123b9
2,413
py
Python
newm/overlay/overlay.py
sadrach-cl/newm
bd0b87fea10af83dfdc68e01dce30d7f70964cbd
[ "MIT" ]
265
2021-05-29T21:38:31.000Z
2022-03-30T01:22:04.000Z
newm/overlay/overlay.py
sadrach-cl/newm
bd0b87fea10af83dfdc68e01dce30d7f70964cbd
[ "MIT" ]
93
2021-09-30T18:57:02.000Z
2022-03-28T16:44:42.000Z
newm/overlay/overlay.py
sadrach-cl/newm
bd0b87fea10af83dfdc68e01dce30d7f70964cbd
[ "MIT" ]
13
2021-12-03T04:40:49.000Z
2022-03-10T19:50:46.000Z
from __future__ import annotations from typing import Optional, TYPE_CHECKING import logging from pywm.touchpad.gestures import Gesture if TYPE_CHECKING: from ..state import LayoutState from ..layout import Layout logger = logging.getLogger(__name__) class Overlay: def __init__(self, layout: Layout) ->...
28.388235
112
0.640696
306
2,413
4.830065
0.248366
0.047361
0.050744
0.035183
0.478349
0.415426
0.23816
0.23816
0.23816
0.23816
0
0.00112
0.259843
2,413
84
113
28.72619
0.826428
0
0
0.333333
0
0
0.047859
0
0
0
0
0
0
1
0.280702
false
0.035088
0.105263
0.157895
0.561404
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
7f36ba15cdc5cc7b53ca34cf86f081e856f2bf3f
168
py
Python
fpb/sum/numpy.py
cloudmercato/python-fpb
5da2773e3bb7068bfb9cde920c5b754eecdf342e
[ "BSD-3-Clause" ]
3
2021-12-29T20:39:53.000Z
2021-12-29T23:53:02.000Z
fpb/sum/numpy.py
cloudspectatordevelopment/python-fpb
5da2773e3bb7068bfb9cde920c5b754eecdf342e
[ "BSD-3-Clause" ]
null
null
null
fpb/sum/numpy.py
cloudspectatordevelopment/python-fpb
5da2773e3bb7068bfb9cde920c5b754eecdf342e
[ "BSD-3-Clause" ]
null
null
null
from fpb.base import numpy class Runner(numpy.BaseNumpy1dRunner): def run(self, data): output = self.np.sum(data, dtype="float128") return output
21
52
0.672619
22
168
5.136364
0.818182
0
0
0
0
0
0
0
0
0
0
0.030534
0.220238
168
7
53
24
0.832061
0
0
0
0
0
0.047619
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
7f47b0e89f587c48fac3be3d0cd99def22694376
325
py
Python
smartsnippets_inherit/urls.py
pbs/django-cms-smartsnippets
61727dbdf44678ebd7df3fbeca8e7e190e364cc8
[ "BSD-3-Clause" ]
5
2015-08-06T14:47:00.000Z
2021-02-17T19:18:27.000Z
smartsnippets_inherit/urls.py
pbs/django-cms-smartsnippets
61727dbdf44678ebd7df3fbeca8e7e190e364cc8
[ "BSD-3-Clause" ]
11
2015-03-10T23:16:40.000Z
2018-07-01T22:44:55.000Z
smartsnippets_inherit/urls.py
pbs/django-cms-smartsnippets
61727dbdf44678ebd7df3fbeca8e7e190e364cc8
[ "BSD-3-Clause" ]
5
2015-06-04T17:35:34.000Z
2018-02-08T15:43:59.000Z
from django.conf.urls import patterns, url, include _snippet_inherit_urls = patterns('smartsnippets_inherit.views', url(r'^(?P<plugin_id>\d+)/variables_edit/$', 'variables_edit_view', name='variables_edit_tool'), ) urlpatterns = patterns('', url(r'^admin/smartsnippets_inherit/', include(_snippet_inherit_urls)...
32.5
100
0.753846
41
325
5.634146
0.585366
0.168831
0.181818
0.21645
0
0
0
0
0
0
0
0
0.089231
325
9
101
36.111111
0.780405
0
0
0
0
0
0.4
0.283077
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
7f6c69d4c5e09c0914f56b448bde33b73f8a7186
605
py
Python
source/faker_extensions/identification/uk_passport_generator.py
UKHomeOffice/PythonFakerExtensions
7b515956e36608a9344ab2a8a57b48387a1be54c
[ "MIT" ]
null
null
null
source/faker_extensions/identification/uk_passport_generator.py
UKHomeOffice/PythonFakerExtensions
7b515956e36608a9344ab2a8a57b48387a1be54c
[ "MIT" ]
null
null
null
source/faker_extensions/identification/uk_passport_generator.py
UKHomeOffice/PythonFakerExtensions
7b515956e36608a9344ab2a8a57b48387a1be54c
[ "MIT" ]
1
2021-04-11T09:14:48.000Z
2021-04-11T09:14:48.000Z
from datetime import date import random from dateutil.relativedelta import relativedelta from faker_extensions.abstract_providers import IdentityFormGenerator class UkPassportGenerator(IdentityFormGenerator): """ Defines how issue and expiration dates are generated for a passport """ regex = "^[0-9]{10}GBR...
30.25
79
0.728926
77
605
5.623377
0.584416
0.013857
0
0
0
0
0
0
0
0
0
0.025692
0.163636
605
19
80
31.842105
0.83004
0.110744
0
0
0
0.090909
0.075472
0.075472
0
0
0
0
0
1
0.181818
false
0.090909
0.363636
0.181818
0.909091
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
1
0
0
0
3
7f73477b6a2199d344ea45e17c91396c8696ce7c
281
py
Python
movies/urls.py
capriciash/civicu_app
102a40fb771a9d9b37878da02ea66a0920006d8c
[ "MIT" ]
null
null
null
movies/urls.py
capriciash/civicu_app
102a40fb771a9d9b37878da02ea66a0920006d8c
[ "MIT" ]
null
null
null
movies/urls.py
capriciash/civicu_app
102a40fb771a9d9b37878da02ea66a0920006d8c
[ "MIT" ]
null
null
null
from django.conf.urls import url, include from django.conf.urls.static import static from . import views urlpatterns = [ # url(r'^api_auth/', include('rest_framework.urls', namespace='rest_framework')), url(r'^$', views.ListCreateMovies.as_view(), name='movies_list'), ]
28.1
85
0.72242
38
281
5.210526
0.578947
0.10101
0.141414
0.181818
0
0
0
0
0
0
0
0
0.120996
281
9
86
31.222222
0.801619
0.281139
0
0
0
0
0.065
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
3
7f79c505118feefe6a2f15e8cb0ea5874f852898
605
py
Python
frontend/code/errors/handlers.py
rconnorjohnstone/WheresMySat
3ff1a628e688cb3fc611ccefc97bd1a4b833b796
[ "MIT" ]
null
null
null
frontend/code/errors/handlers.py
rconnorjohnstone/WheresMySat
3ff1a628e688cb3fc611ccefc97bd1a4b833b796
[ "MIT" ]
2
2019-02-23T23:46:31.000Z
2019-06-06T03:43:02.000Z
frontend/code/errors/handlers.py
rconnorjohnstone/WheresMySat
3ff1a628e688cb3fc611ccefc97bd1a4b833b796
[ "MIT" ]
1
2019-05-16T15:51:58.000Z
2019-05-16T15:51:58.000Z
""" Authors: Hunter Mellema Description: Defines error handlers for HTTP error codes Currently Defined Error Handlers: - 404: page not found - 500: Internal Server Error """ from flask import render_template, request from errors import bp #---------- 404 Error Page --------------------------------------------------...
25.208333
80
0.6
70
605
5.071429
0.471429
0.11831
0.067606
0.078873
0.298592
0
0
0
0
0
0
0.056497
0.122314
605
23
81
26.304348
0.612053
0.532231
0
0
0
0
0.111111
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
7f7c1df4cc8869507ccf86218bba988e425ffc66
756
py
Python
models/wav2vec_id.py
aparande/accent-embeddings
798293d2d33f7f53d076f921530f73e4cdaf5c00
[ "MIT" ]
null
null
null
models/wav2vec_id.py
aparande/accent-embeddings
798293d2d33f7f53d076f921530f73e4cdaf5c00
[ "MIT" ]
null
null
null
models/wav2vec_id.py
aparande/accent-embeddings
798293d2d33f7f53d076f921530f73e4cdaf5c00
[ "MIT" ]
null
null
null
from torch import nn from utils import build_mlp class Wav2VecIDLoss(nn.Module): def __init__(self): super().__init__() def forward(self, model_output, targets): return nn.functional.cross_entropy(model_output, targets) class Wav2VecID(nn.Module): def __init__(self, params): super().__init__() ...
22.909091
96
0.71164
99
756
5.111111
0.40404
0.108696
0.100791
0.059289
0.075099
0
0
0
0
0
0
0.003241
0.183862
756
33
97
22.909091
0.816856
0
0
0.083333
0
0
0.009247
0
0
0
0
0
0
1
0.291667
false
0
0.083333
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7fa0f246bb5e1fc1be582f686df971e77baa1459
27
py
Python
djangae/db/migrations/constants.py
ikedaosushi/djangae
5fd2f8d70699fbbf155740effe42a36b205a6540
[ "BSD-3-Clause" ]
null
null
null
djangae/db/migrations/constants.py
ikedaosushi/djangae
5fd2f8d70699fbbf155740effe42a36b205a6540
[ "BSD-3-Clause" ]
null
null
null
djangae/db/migrations/constants.py
ikedaosushi/djangae
5fd2f8d70699fbbf155740effe42a36b205a6540
[ "BSD-3-Clause" ]
null
null
null
TASK_RECHECK_INTERVAL = 5
9
25
0.814815
4
27
5
1
0
0
0
0
0
0
0
0
0
0
0.043478
0.148148
27
2
26
13.5
0.826087
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
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
7fb27677bdf89e48557b68146c56636b9774fb52
975
py
Python
etfcalc/util/holding.py
jjacobson/ETFCalc
677ef752228cab1a89815bc4b1b5a7c8ec4b46e6
[ "MIT" ]
11
2019-01-20T13:19:05.000Z
2021-11-22T11:52:27.000Z
etfcalc/util/holding.py
u0-blip/ETFCalc
677ef752228cab1a89815bc4b1b5a7c8ec4b46e6
[ "MIT" ]
6
2019-01-19T21:47:08.000Z
2019-01-23T12:22:26.000Z
etfcalc/util/holding.py
u0-blip/ETFCalc
677ef752228cab1a89815bc4b1b5a7c8ec4b46e6
[ "MIT" ]
5
2019-01-19T15:31:26.000Z
2021-11-26T00:40:06.000Z
class Holding(object): def __init__(self, name, ticker, weight=100, sector=None, news=None, link=None): self.name = name self.ticker = ticker self.weight = weight self.sector = sector self.news = news self.link = link def set_name(self, name): self.name ...
21.195652
84
0.584615
127
975
4.338583
0.141732
0.127042
0.177858
0.054446
0
0
0
0
0
0
0
0.004478
0.312821
975
45
85
21.666667
0.81791
0
0
0.3125
0
0
0.004103
0
0
0
0
0
0
1
0.40625
false
0
0
0.21875
0.65625
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
f69c2cda7d9b26fbe17dda082ca890b7057f212e
683
py
Python
tests/unit/test_plot_elements.py
olavolav/textplot
f665a0d8cf1822b46db7c3ffe1766888ff1de3bf
[ "MIT" ]
156
2020-08-17T19:05:52.000Z
2022-03-29T13:40:42.000Z
tests/unit/test_plot_elements.py
olavolav/textplot
f665a0d8cf1822b46db7c3ffe1766888ff1de3bf
[ "MIT" ]
11
2020-08-17T12:42:52.000Z
2021-12-12T09:53:02.000Z
tests/unit/test_plot_elements.py
olavolav/textplot
f665a0d8cf1822b46db7c3ffe1766888ff1de3bf
[ "MIT" ]
5
2020-09-12T03:12:50.000Z
2022-02-17T00:12:48.000Z
import numpy as np # type: ignore from uniplot.plot_elements import character_for_2by2_pixels ###################################### # Testing: character_for_2by2_pixels # ###################################### def test_empty_square(): square = np.zeros([2, 2]) assert character_for_2by2_pixels(square) == ...
23.551724
59
0.610542
90
683
4.333333
0.377778
0.184615
0.246154
0.338462
0.471795
0.471795
0.364103
0.184615
0
0
0
0.041522
0.153734
683
28
60
24.392857
0.628028
0.068814
0
0
0
0
0.005405
0
0
0
0
0
0.285714
1
0.285714
false
0
0.142857
0
0.428571
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
f6b24c90b367c8d53c1ede8281e0946382093c37
559
py
Python
backend/PlotYourVibe/serializers.py
Hacked21-Team0/PlotYourVibe
7ba8f44a280a26fbd44efc9f9c16f08366212a07
[ "MIT" ]
null
null
null
backend/PlotYourVibe/serializers.py
Hacked21-Team0/PlotYourVibe
7ba8f44a280a26fbd44efc9f9c16f08366212a07
[ "MIT" ]
3
2021-09-11T15:22:43.000Z
2021-09-11T21:22:06.000Z
backend/PlotYourVibe/serializers.py
Hacked21-Team0/PlotYourVibe
7ba8f44a280a26fbd44efc9f9c16f08366212a07
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import * class MoodSerializer(serializers.ModelSerializer): class Meta: model = Mood fields = ( 'id', 'mood', 'scale', 'description', 'timestamp', 'user' ) class U...
18.633333
50
0.461538
40
559
6.375
0.65
0.203922
0.243137
0.27451
0.313725
0
0
0
0
0
0
0
0.44186
559
29
51
19.275862
0.817308
0
0
0.25
0
0
0.123435
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.25
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
f6c83de93fb413e1c754c3fbdf95c37742958fbf
368
py
Python
PythonPerceptronSimple/Util.py
DavidLopezSaez/PythonSimplePerceptron-AND
a79d366c55e690428bfb1a903f52037de08422c0
[ "MIT" ]
null
null
null
PythonPerceptronSimple/Util.py
DavidLopezSaez/PythonSimplePerceptron-AND
a79d366c55e690428bfb1a903f52037de08422c0
[ "MIT" ]
1
2021-02-08T11:05:13.000Z
2021-02-08T11:05:13.000Z
PythonPerceptronSimple/Util.py
DavidLopezSaez/PythonSimplePerceptron-AND
a79d366c55e690428bfb1a903f52037de08422c0
[ "MIT" ]
null
null
null
import random class Util: __value = 1 # default value def __init__(self): self.new_weight() def get_weight(self): return self.__weight def new_weight(self): self.__weight = random.random() - random.random() def get_value(self): return self.__value def set_v...
17.52381
57
0.619565
46
368
4.543478
0.326087
0.172249
0.133971
0
0
0
0
0
0
0
0
0.003802
0.285326
368
20
58
18.4
0.790875
0.035326
0
0
0
0
0
0
0
0
0
0
0
1
0.384615
false
0
0.076923
0.153846
0.769231
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
f6cf662d2c1ca3ada1dc14525a1f02c15d28b16c
815
py
Python
contml/resource/file.py
gabrielelanaro/continuous-ml
4dee19e1f144dd34bc0c86141bf7e3f3ff2ce127
[ "MIT" ]
null
null
null
contml/resource/file.py
gabrielelanaro/continuous-ml
4dee19e1f144dd34bc0c86141bf7e3f3ff2ce127
[ "MIT" ]
null
null
null
contml/resource/file.py
gabrielelanaro/continuous-ml
4dee19e1f144dd34bc0c86141bf7e3f3ff2ce127
[ "MIT" ]
null
null
null
import os.path import datetime from .base import Resource from ..version import Version class LocalFileResource(Resource): path: str def __init__(self, path: str): """A simple local file resource. Changes in this resource are detected by monitoring its timestamp. New versions correspond ...
24.69697
98
0.615951
96
815
5.145833
0.479167
0.11336
0.044534
0
0
0
0
0
0
0
0
0
0.276074
815
32
99
25.46875
0.837288
0.171779
0
0
0
0
0.076087
0.046584
0
0
0
0
0
1
0.210526
false
0
0.210526
0.105263
0.684211
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
f6d12ace46686ad4a465f4a554ff2417db76da3c
2,550
py
Python
iothealth/device_health.py
iot-spectator/iot-health
ff5cf5b3613d47fb990751259fab68ad8940b1c4
[ "MIT" ]
null
null
null
iothealth/device_health.py
iot-spectator/iot-health
ff5cf5b3613d47fb990751259fab68ad8940b1c4
[ "MIT" ]
22
2020-10-05T00:31:31.000Z
2021-05-15T06:37:37.000Z
iothealth/device_health.py
iot-spectator/iot-health
ff5cf5b3613d47fb990751259fab68ad8940b1c4
[ "MIT" ]
null
null
null
# Copyright © 2020 by IoT Spectator. All rights reserved. """IoT Health.""" from typing import Dict, Optional from iothealth import _base_health from iothealth import linux from iothealth import raspberry_pi class DeviceHealth(_base_health.BaseHealth): """Generic class for a device health info.""" _curren...
29.310345
78
0.64549
262
2,550
6.083969
0.270992
0.130489
0.124216
0.175031
0.238394
0
0
0
0
0
0
0.002107
0.255686
2,550
86
79
29.651163
0.837197
0.242353
0
0.232558
0
0
0.006575
0
0
0
0
0
0
1
0.232558
false
0
0.093023
0
0.604651
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
0
1
0
0
3
f6d50a6eb0e92c18567b5c9b8aca8859980cedf3
179
py
Python
2021/examples-in-class-2021-10-29/phone_codes_example1.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
1
2021-02-04T16:59:11.000Z
2021-02-04T16:59:11.000Z
2021/examples-in-class-2021-10-29/phone_codes_example1.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
null
null
null
2021/examples-in-class-2021-10-29/phone_codes_example1.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
1
2019-10-30T14:37:48.000Z
2019-10-30T14:37:48.000Z
# phone numbers for countries phone_codes = {} phone_codes["DE"] = 49 phone_codes["TR"] = 90 phone_codes["PK"] = 92 phone_codes["IN"] = 91 code = phone_codes["IN"] print(code)
14.916667
29
0.675978
28
179
4.107143
0.535714
0.521739
0.208696
0
0
0
0
0
0
0
0
0.052632
0.150838
179
11
30
16.272727
0.703947
0.150838
0
0
0
0
0.066667
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f6ed13c1a81703a8262155f6bf5296e4def5a74a
51
py
Python
apps/operation/__init__.py
puxiaoshuai/django_edu
c15ca9ae2aa9288cfc8611f6c13c6a1285374d23
[ "Apache-2.0" ]
null
null
null
apps/operation/__init__.py
puxiaoshuai/django_edu
c15ca9ae2aa9288cfc8611f6c13c6a1285374d23
[ "Apache-2.0" ]
1
2020-12-11T16:45:35.000Z
2020-12-11T16:45:35.000Z
apps/operation/__init__.py
puxiaoshuai/django_edu
c15ca9ae2aa9288cfc8611f6c13c6a1285374d23
[ "Apache-2.0" ]
null
null
null
default_app_config='operation.apps.OperationConfig'
51
51
0.901961
6
51
7.333333
1
0
0
0
0
0
0
0
0
0
0
0
0
51
1
51
51
0.862745
0
0
0
0
0
0.576923
0.576923
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
f6f2e906c9836eab528c11d49c245ce76705c9c6
5,382
py
Python
chad_finance/chad_finance/settings.py
StfnC/chad-finance
76b75a84fefab9af37acd422430d7ac6f986be53
[ "MIT" ]
null
null
null
chad_finance/chad_finance/settings.py
StfnC/chad-finance
76b75a84fefab9af37acd422430d7ac6f986be53
[ "MIT" ]
null
null
null
chad_finance/chad_finance/settings.py
StfnC/chad-finance
76b75a84fefab9af37acd422430d7ac6f986be53
[ "MIT" ]
1
2021-09-25T02:46:47.000Z
2021-09-25T02:46:47.000Z
""" Django settings for chad_finance project. Generated by 'django-admin startproject' using Django 3.1.6. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ import ...
26
91
0.706615
589
5,382
6.268251
0.400679
0.056338
0.036836
0.0474
0.114572
0.114572
0.072319
0.072319
0.032503
0
0
0.010224
0.164065
5,382
207
92
26
0.810402
0.227053
0
0.015748
1
0
0.558489
0.451925
0
0
0
0.004831
0
1
0
false
0.070866
0.03937
0
0.03937
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
1001a7f496ae98610b0aac50123e7ce36b6516f8
669
py
Python
plico/utils/timestamp.py
lbusoni/plico
e4bab48fcc7767a50dcac13644b5e1d6175ca5f0
[ "MIT" ]
null
null
null
plico/utils/timestamp.py
lbusoni/plico
e4bab48fcc7767a50dcac13644b5e1d6175ca5f0
[ "MIT" ]
7
2021-08-30T17:18:34.000Z
2022-03-25T22:42:20.000Z
plico/utils/timestamp.py
lbusoni/plico
e4bab48fcc7767a50dcac13644b5e1d6175ca5f0
[ "MIT" ]
null
null
null
import datetime __version__= "$Id: timestamp.py 25 2018-01-26 19:00:40Z lbusoni $" class Timestamp(object): def __init__(self): self._now= datetime.datetime.now() def asNowString(self): return self._now.strftime("%Y%m%d_%H%M%S") def asTodayString(self): return self._now.strf...
17.153846
66
0.61136
82
669
4.780488
0.414634
0.053571
0.107143
0.084184
0.201531
0.201531
0.201531
0.201531
0
0
0
0.031809
0.248132
669
38
67
17.605263
0.747515
0
0
0.142857
0
0
0.124252
0
0
0
0
0
0
1
0.333333
false
0
0.047619
0.238095
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
63e0d0229c01697ccde7ca4a1a341c611cf142e3
332
py
Python
openwisp_ipam/admin.py
jerbob/openwisp-ipam
febe3f4571bb48419e183b6e439c8c0ba7a7bbad
[ "BSD-3-Clause" ]
1
2021-07-20T22:27:21.000Z
2021-07-20T22:27:21.000Z
openwisp_ipam/admin.py
jerbob/openwisp-ipam
febe3f4571bb48419e183b6e439c8c0ba7a7bbad
[ "BSD-3-Clause" ]
null
null
null
openwisp_ipam/admin.py
jerbob/openwisp-ipam
febe3f4571bb48419e183b6e439c8c0ba7a7bbad
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from django_ipam.base.admin import AbstractIpAddressAdmin, AbstractSubnetAdmin from .models import IpAddress, Subnet @admin.register(IpAddress) class IPAddressAdmin(AbstractIpAddressAdmin): pass @admin.register(Subnet) class BaseSubnet(AbstractSubnetAdmin): app_name = 'ope...
20.75
78
0.816265
35
332
7.657143
0.571429
0.074627
0
0
0
0
0
0
0
0
0
0
0.114458
332
15
79
22.133333
0.911565
0
0
0
0
0
0.039157
0
0
0
0
0
0
1
0
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
63eeabef6810a3aa68ad1ce5c8684c3778c59d9a
955
py
Python
backend/data/jimm/models/layers/norm.py
MikeOwino/JittorVis
d9568b72d684d167045121ea8ed22d694b2f9192
[ "Apache-2.0" ]
139
2021-06-24T10:32:02.000Z
2021-06-26T10:22:07.000Z
backend/data/jimm/models/layers/norm.py
MikeOwino/JittorVis
d9568b72d684d167045121ea8ed22d694b2f9192
[ "Apache-2.0" ]
8
2021-06-29T07:29:06.000Z
2022-02-28T02:16:48.000Z
backend/data/jimm/models/layers/norm.py
MikeOwino/JittorVis
d9568b72d684d167045121ea8ed22d694b2f9192
[ "Apache-2.0" ]
5
2021-06-27T21:04:03.000Z
2021-08-14T03:26:17.000Z
""" Copyright VIP Group Licensed under the Apache License, Version 2.0. Modify from https://github.com/rwightman/pytorch-image-models Original copyright of Ross Wightman below, modifications by VIP Group Hacked together by / copyright Ross Wightman """ import jittor as jt import jittor.nn as nn import jittor...
30.806452
100
0.691099
135
955
4.718519
0.548148
0.086342
0.043956
0.050235
0.069074
0
0
0
0
0
0
0.01061
0.210471
955
30
101
31.833333
0.834218
0.40733
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.230769
0.153846
0.846154
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
63ff2c48902324c92f6f0114814ab8456d0653fa
33,172
py
Python
pysnmp-with-texts/BAS-PBRF-OSPF-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/BAS-PBRF-OSPF-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/BAS-PBRF-OSPF-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 BAS-PBRF-OSPF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BAS-PBRF-OSPF-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:34:08 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
132.159363
4,873
0.803208
3,454
33,172
7.713376
0.081934
0.070265
0.122964
0.011861
0.469935
0.33222
0.311651
0.241273
0.211996
0.14282
0
0.055202
0.080912
33,172
250
4,874
132.688
0.81865
0.009888
0
0
0
0.00823
0.187148
0.028171
0
0
0
0
0
1
0
false
0
0.506173
0
0.506173
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
0
1
0
0
0
0
3
1268e8588b03d340d3edbf2b4f4b0a5a66baa937
3,965
py
Python
project/settings.py
StefanKjartansson/django-k8s-gcp-skeleton
426384d742eea391206a2f767f32daab5eaea9e2
[ "MIT" ]
5
2018-10-11T14:08:24.000Z
2022-03-09T18:58:59.000Z
project/settings.py
StefanKjartansson/django-k8s-gcp-skeleton
426384d742eea391206a2f767f32daab5eaea9e2
[ "MIT" ]
null
null
null
project/settings.py
StefanKjartansson/django-k8s-gcp-skeleton
426384d742eea391206a2f767f32daab5eaea9e2
[ "MIT" ]
null
null
null
""" Django settings for backoffice project. Generated by 'django-admin startproject' using Django 2.0.7. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os...
25.915033
86
0.692055
427
3,965
6.306792
0.416862
0.077237
0.044189
0.0557
0.153361
0.141478
0.08355
0.072781
0.04456
0
0
0.007333
0.174527
3,965
152
87
26.085526
0.81546
0.208575
0
0.042105
1
0
0.539765
0.441004
0
0
0
0
0
1
0
false
0.063158
0.021053
0
0.021053
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
1270a8e739294444d953e3b608cabdfb139dd8a3
3,135
py
Python
lquery/expr/visitor.py
Cologler/lquery-python
15b12ec48ca8ab077d9378e2da849aab2e948019
[ "MIT" ]
2
2018-09-28T13:18:42.000Z
2018-09-28T13:18:46.000Z
lquery/expr/visitor.py
Cologler/lquery-python
15b12ec48ca8ab077d9378e2da849aab2e948019
[ "MIT" ]
null
null
null
lquery/expr/visitor.py
Cologler/lquery-python
15b12ec48ca8ab077d9378e2da849aab2e948019
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (c) 2018~2999 - Cologler <skyoflw@gmail.com> # ---------- # # ---------- from .core import Make, ConstExpr class ExprVisitor: def visit(self, expr): return expr def visit_attr_expr(self, expr): return self.visit(expr) def visit_index_expr(self, expr)...
26.794872
89
0.627113
426
3,135
4.476526
0.157277
0.100682
0.132145
0.094389
0.602517
0.564761
0.487677
0.399056
0.356057
0.133194
0
0.005259
0.272089
3,135
116
90
27.025862
0.830412
0.03126
0
0.604938
0
0
0
0
0
0
0
0
0
1
0.296296
false
0
0.012346
0.148148
0.62963
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
89c3f91bd5d156aee54482b8538b06b5cd037659
3,849
py
Python
azure-cli/client/config/config.py
alannix-lw/csp-integrations
e5d7e7bfdacca96839a0df9b6fe547d2e7464fe0
[ "Apache-2.0" ]
1
2020-05-14T20:39:58.000Z
2020-05-14T20:39:58.000Z
azure-cli/client/config/config.py
alannix-lw/csp-integrations
e5d7e7bfdacca96839a0df9b6fe547d2e7464fe0
[ "Apache-2.0" ]
1
2019-04-03T21:53:09.000Z
2019-04-03T21:53:09.000Z
azure-cli/client/config/config.py
alannix-lw/csp-integrations
e5d7e7bfdacca96839a0df9b6fe547d2e7464fe0
[ "Apache-2.0" ]
3
2020-08-13T16:52:00.000Z
2021-04-09T15:21:09.000Z
from msrestazure.azure_cloud import AZURE_PUBLIC_CLOUD, AZURE_CHINA_CLOUD, AZURE_US_GOV_CLOUD, AZURE_GERMAN_CLOUD class Config(object): def __init__(self, credentials, userClientSecret, subscriptionId, tenantId, identifierUrl, cloudType, updateApp, configJson): if not isinstance(subscriptionId, str): ...
33.763158
129
0.70252
364
3,849
7.123626
0.236264
0.050135
0.070189
0.050135
0.098342
0.068646
0
0
0
0
0
0
0.231749
3,849
113
130
34.061947
0.876902
0
0
0.120482
0
0
0.060795
0.005976
0
0
0
0
0
1
0.313253
false
0
0.012048
0.156627
0.542169
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
89d85679b2a1556a28aba6f8eb71f7e0edc70536
345
py
Python
api/t2wml/main.py
Otamio/datamart-api
728d5da0ce470a669be314c12c8226123a689aa0
[ "MIT" ]
null
null
null
api/t2wml/main.py
Otamio/datamart-api
728d5da0ce470a669be314c12c8226123a689aa0
[ "MIT" ]
null
null
null
api/t2wml/main.py
Otamio/datamart-api
728d5da0ce470a669be314c12c8226123a689aa0
[ "MIT" ]
null
null
null
from flask_restful import Resource from .put import IngestT2WMLOutput class T2WMLResource(Resource): def post(self, dataset): post_data = IngestT2WMLOutput() return post_data.process(dataset, is_request_put=False) def put(self, dataset): put_data = IngestT2WMLOutput() return p...
26.538462
63
0.721739
40
345
6.05
0.475
0.090909
0.223141
0
0
0
0
0
0
0
0
0.014545
0.202899
345
12
64
28.75
0.865455
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
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
1
0
0
0
0
1
0
0
3
89f019488590b1b8524a45844f6c58217300159e
290
py
Python
git_project_updater_cli/commands/exit_command.py
Slidem/git-project-updater
2d0e91fab26f6c5e7cf5c92c9f0ee78925fb33b5
[ "MIT" ]
null
null
null
git_project_updater_cli/commands/exit_command.py
Slidem/git-project-updater
2d0e91fab26f6c5e7cf5c92c9f0ee78925fb33b5
[ "MIT" ]
null
null
null
git_project_updater_cli/commands/exit_command.py
Slidem/git-project-updater
2d0e91fab26f6c5e7cf5c92c9f0ee78925fb33b5
[ "MIT" ]
null
null
null
from git_project_updater_cli.commands.command import Command import sys class ExitCommand(Command): EXIT_CODE = "0" def execute(self): sys.exit() @property def code(self): return ExitCommand.EXIT_CODE def __str__(self): return "Exiting..."
16.111111
60
0.655172
35
290
5.171429
0.6
0.143646
0
0
0
0
0
0
0
0
0
0.004608
0.251724
290
17
61
17.058824
0.829493
0
0
0
0
0
0.037931
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.181818
0.818182
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
89f7c4275c01d66d41fd5449cb6f10aa9d9c7d98
2,668
py
Python
src/code_submission/2_pasanju/utils/timer.py
NehzUx/AutoGraph-KDDCup2020
d2fc228f4ccc5785db3129cca0445a80b6fef11d
[ "MIT" ]
1
2021-12-06T14:59:55.000Z
2021-12-06T14:59:55.000Z
src/code_submission/2_pasanju/utils/timer.py
NehzUx/AutoGraph-Benchmark
d2fc228f4ccc5785db3129cca0445a80b6fef11d
[ "MIT" ]
null
null
null
src/code_submission/2_pasanju/utils/timer.py
NehzUx/AutoGraph-Benchmark
d2fc228f4ccc5785db3129cca0445a80b6fef11d
[ "MIT" ]
null
null
null
import time # import functools # import multiprocessing TIME_BUDGET = None # multiprocessing.get_context("forkserver") # manager = multiprocessing.Manager() def set_time_budget(time_budget): global TIME_BUDGET TIME_BUDGET = TimeBudget(time_budget) def get_time_budget(): global TIME_BUDGET return ...
25.409524
94
0.588831
308
2,668
4.847403
0.282468
0.147354
0.056263
0.066979
0.141996
0.054923
0.054923
0.054923
0.054923
0
0
0.007613
0.31072
2,668
104
95
25.653846
0.804241
0.42916
0
0.130435
0
0
0.020833
0
0
0
0
0
0
1
0.304348
false
0.021739
0.021739
0.108696
0.565217
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
d6474ce2bf0ea116441e20436bc8d4df0172363f
3,554
py
Python
tckdb/backend/app/tests/schemas/test_trans.py
TCKDB/TCKDB
2ac60e47e178aa05bebdf41394344a7e5428eb86
[ "MIT" ]
2
2019-04-24T15:34:12.000Z
2020-04-06T15:29:50.000Z
tckdb/backend/app/tests/schemas/test_trans.py
TCKDB/TCKDB
2ac60e47e178aa05bebdf41394344a7e5428eb86
[ "MIT" ]
8
2020-05-19T19:01:22.000Z
2021-01-12T08:15:54.000Z
tckdb/backend/app/tests/schemas/test_trans.py
tckdb/TCKDB
2ac60e47e178aa05bebdf41394344a7e5428eb86
[ "MIT" ]
1
2019-11-03T20:03:08.000Z
2019-11-03T20:03:08.000Z
""" TCKDB backend app tests schemas test_trans module """ import pytest from pydantic import ValidationError from tckdb.backend.app.schemas.trans import TransBase, TransModelEnum def test_trans_model_enum(): """Test TransModelEnum""" TransModelEnum('Single Exponential Down') with pytest.raises(ValueErro...
43.876543
116
0.573157
398
3,554
5.095477
0.160804
0.134122
0.16568
0.192308
0.72929
0.727811
0.705621
0.684418
0.599112
0.567554
0
0.067695
0.251829
3,554
80
117
44.425
0.694998
0.094823
0
0.537037
0
0
0.201507
0
0
0
0
0
0.037037
1
0.037037
false
0
0.055556
0
0.092593
0
0
0
0
null
0
0
1
0
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
c394100d68e1929d5dda200b1640fe2797eb215b
3,263
py
Python
lib/third_party/containerregistry/client/docker_creds.py
eyalev/gcloud
421ee63a0a6d90a097e8530d53a6df5b905a0205
[ "Apache-2.0" ]
null
null
null
lib/third_party/containerregistry/client/docker_creds.py
eyalev/gcloud
421ee63a0a6d90a097e8530d53a6df5b905a0205
[ "Apache-2.0" ]
null
null
null
lib/third_party/containerregistry/client/docker_creds.py
eyalev/gcloud
421ee63a0a6d90a097e8530d53a6df5b905a0205
[ "Apache-2.0" ]
2
2020-11-04T03:08:21.000Z
2020-11-05T08:14:41.000Z
"""This package exposes credentials for talking to a Docker registry.""" import abc import base64 class _CredentialProvider(object): """Interface for providing User Credentials for use with GCR.""" __metaclass__ = abc.ABCMeta # For enforcing that methods are overriden. @abc.abstractmethod def Get(self): ...
27.420168
79
0.713147
406
3,263
5.539409
0.337438
0.029346
0.024455
0.048021
0.165407
0.135171
0.114718
0.035571
0
0
0
0.006024
0.186025
3,263
118
80
27.652542
0.840738
0.448054
0
0.327273
0
0
0.02525
0
0
0
0
0.008475
0
1
0.272727
false
0.109091
0.036364
0.090909
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
c3bdfa2c6af16fd0deaf2c128a0e1d016e5fab7d
343
py
Python
fancontroller/fan_gpio.py
isdal/raspberrypi-fan-controller
dea44d015b15738e1019a0282c058b5f13e92b32
[ "Apache-2.0" ]
null
null
null
fancontroller/fan_gpio.py
isdal/raspberrypi-fan-controller
dea44d015b15738e1019a0282c058b5f13e92b32
[ "Apache-2.0" ]
null
null
null
fancontroller/fan_gpio.py
isdal/raspberrypi-fan-controller
dea44d015b15738e1019a0282c058b5f13e92b32
[ "Apache-2.0" ]
null
null
null
''' Created on Jun 28, 2015 @author: isdal ''' import pigpio class FanGpio(object): ''' classdocs ''' def __init__(self, gpio_port): self.pi = pigpio.pi() self.port = gpio_port def On(self): self.pi.write(self.port, 1) def Off(self): self....
15.590909
35
0.530612
44
343
4
0.522727
0.102273
0.113636
0.170455
0.261364
0.261364
0
0
0
0
0
0.034935
0.332362
343
21
36
16.333333
0.733624
0.142857
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0
0.555556
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
0
1
0
0
3
c3c9d25d267220aa10fe8d24ee7972c8039ee2cc
24,586
py
Python
psx/_dump_/29/_dump_ida_/overlay_b/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
15
2018-06-28T01:11:25.000Z
2021-09-27T15:57:18.000Z
psx/_dump_/29/_dump_ida_/overlay_b/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-29T04:08:23.000Z
2019-10-17T13:57:22.000Z
psx/_dump_/29/_dump_ida_/overlay_b/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-28T01:11:34.000Z
2020-05-23T09:21:48.000Z
set_name(0x801379C4, "PreGameOnlyTestRoutine__Fv", SN_NOWARN) set_name(0x80139A88, "DRLG_PlaceDoor__Fii", SN_NOWARN) set_name(0x80139F5C, "DRLG_L1Shadows__Fv", SN_NOWARN) set_name(0x8013A374, "DRLG_PlaceMiniSet__FPCUciiiiiii", SN_NOWARN) set_name(0x8013A7E0, "DRLG_L1Floor__Fv", SN_NOWARN) set_name(0x8013A8CC, "StoreBlo...
50.4846
68
0.822094
3,372
24,586
5.470937
0.301898
0.18441
0.289191
0.394352
0.310711
0.011492
0
0
0
0
0
0.173599
0.059302
24,586
486
69
50.588477
0.624049
0
0
0
0
0
0.288376
0.071952
0
0
0.197673
0
0
1
0
true
0.00823
0
0
0
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
c3d2155b1cedf7bbc6bbc92b194b34ee66e5ba99
2,791
py
Python
pyaz/hdinsight/script_action/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/hdinsight/script_action/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/hdinsight/script_action/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
1
2022-02-03T09:12:01.000Z
2022-02-03T09:12:01.000Z
from ... pyaz_utils import _call_az def show_execution_details(cluster_name, execution_id, resource_group): ''' Required Parameters: - cluster_name -- The name of the cluster. - execution_id -- The script execution id - resource_group -- Name of resource group. You can configure the default g...
35.782051
152
0.704765
362
2,791
5.281768
0.176796
0.122385
0.058577
0.075314
0.709205
0.688808
0.688808
0.670502
0.670502
0.670502
0
0
0.202078
2,791
77
153
36.246753
0.858554
0.601218
0
0
0
0
0.254707
0.048726
0
0
0
0
0
1
0.461538
false
0
0.076923
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
c3ddf2e6a1c9126e25ca779cd787a6585faa731d
8,337
py
Python
dataset.py
deboeser/javascript_code_transformer
55c94c9b8c62855bde0a3e5cdb3e0f57872c8b49
[ "MIT" ]
null
null
null
dataset.py
deboeser/javascript_code_transformer
55c94c9b8c62855bde0a3e5cdb3e0f57872c8b49
[ "MIT" ]
null
null
null
dataset.py
deboeser/javascript_code_transformer
55c94c9b8c62855bde0a3e5cdb3e0f57872c8b49
[ "MIT" ]
null
null
null
import numpy as np import torch import torch.utils.data from transformer import Constants as c from tqdm import tqdm def paired_collate_fn(insts): src_insts, tgt_insts = list(zip(*insts)) src_insts = collate_fn(src_insts) tgt_insts = collate_fn(tgt_insts) return (*src_insts, *tgt_insts) def collate...
29.459364
110
0.623726
1,152
8,337
4.190104
0.072049
0.068158
0.065258
0.031697
0.792625
0.746634
0.698156
0.687383
0.667703
0.667703
0
0.018134
0.2724
8,337
282
111
29.56383
0.777613
0.077246
0
0.709677
0
0
0.003572
0
0
0
0
0
0.032258
1
0.193548
false
0
0.026882
0.016129
0.44086
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c3e2c30bd930d2b94c90d14e82915d7dff5edad7
185
py
Python
test.py
chapman-cpsc-230/hw-0-benav115
d377b72e2fb35720634e5f5f925ef41b86b2e820
[ "MIT" ]
null
null
null
test.py
chapman-cpsc-230/hw-0-benav115
d377b72e2fb35720634e5f5f925ef41b86b2e820
[ "MIT" ]
1
2016-02-09T05:29:58.000Z
2016-02-09T05:29:58.000Z
test.py
chapman-cpsc-230/hw-0-benav115
d377b72e2fb35720634e5f5f925ef41b86b2e820
[ "MIT" ]
null
null
null
year = 1900 if year%400 == 0 or (year%4 == 0 and year%100 != 0): # != means does not equal and % means divide print year,"is a leap year" else: print year,"is not a leap year"
26.428571
97
0.621622
35
185
3.285714
0.542857
0.156522
0.191304
0
0
0
0
0
0
0
0
0.100719
0.248649
185
6
98
30.833333
0.726619
0.227027
0
0
0
0
0.22695
0
0
0
0
0
0
0
null
null
0
0
null
null
0.4
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
c3e92c1a9ad504d29a5f720795736bde70dabb0e
356
py
Python
calc.py
Centimitr/real-edges
a9ce8f1aee16bc5aaed97d5537f031050448e7b7
[ "MIT" ]
null
null
null
calc.py
Centimitr/real-edges
a9ce8f1aee16bc5aaed97d5537f031050448e7b7
[ "MIT" ]
null
null
null
calc.py
Centimitr/real-edges
a9ce8f1aee16bc5aaed97d5537f031050448e7b7
[ "MIT" ]
null
null
null
import csv import numpy as np import logistic as lr # rng = (4, 6, 14) # 0.75505, 0.6753 # rng = (3, 6) # 0.77909, 0.6743 # rng = (3, 6, 10) # 0.78365, 0.6729 # rng = (3, 4, 5, ) rng = (3, 10, 15) # rng = (14, 15) # rng = (3, 4, 5, 6, 7, 8, 9) pred = lr.train_and_pred(rng) # pred = lr.train_and_test(rng) lr.out...
18.736842
41
0.570225
72
356
2.736111
0.430556
0.101523
0.050761
0.060914
0
0
0
0
0
0
0
0.224638
0.224719
356
18
42
19.777778
0.48913
0.536517
0
0
0
0
0.11039
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c3e95deef2e9702dbd0452252239042960e70d2e
1,146
py
Python
test/execution/test_placeholder.py
knexator/PySyft
33db998dc1fb9d150db315482f74f9a83265aa10
[ "Apache-2.0" ]
null
null
null
test/execution/test_placeholder.py
knexator/PySyft
33db998dc1fb9d150db315482f74f9a83265aa10
[ "Apache-2.0" ]
null
null
null
test/execution/test_placeholder.py
knexator/PySyft
33db998dc1fb9d150db315482f74f9a83265aa10
[ "Apache-2.0" ]
1
2022-03-06T06:22:21.000Z
2022-03-06T06:22:21.000Z
import syft as sy import torch import pytest from syft.execution.placeholder import PlaceHolder def test_placeholder_expected_shape(): @sy.func2plan(args_shape=[(3, 3), (3, 3)]) def test_plan(x, y): return x + y for placeholder in test_plan.role.input_placeholders(): assert placeholder.e...
25.466667
63
0.668412
148
1,146
5.060811
0.418919
0.037383
0.048064
0.024032
0.037383
0
0
0
0
0
0
0.019123
0.224258
1,146
44
64
26.045455
0.823397
0.123037
0
0
0
0
0.032
0
0
0
0
0
0.185185
1
0.222222
false
0
0.148148
0.111111
0.518519
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
615cdad155ac80422f6cefd4d0f2f9b9e2c813c0
3,012
py
Python
superres/_nbdev.py
benymd/super_resolution
46a2e16680c81b639cca74b813260b747a743117
[ "Apache-2.0" ]
2
2020-05-19T15:42:27.000Z
2020-07-07T20:20:46.000Z
superres/_nbdev.py
benymd/super_resolution
46a2e16680c81b639cca74b813260b747a743117
[ "Apache-2.0" ]
2
2021-09-28T02:09:12.000Z
2022-02-26T07:32:28.000Z
superres/_nbdev.py
benymd/super_resolution
46a2e16680c81b639cca74b813260b747a743117
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"div2k_path": "00_datasets.ipynb", "div2k_train_lr_path": "00_datasets.ipynb", "div2k_train_lr_x2": "00_datasets.ipynb", "div2k_train_lr_x3": "00_datasets.ipynb", "div2k_tr...
40.702703
61
0.615206
368
3,012
4.595109
0.23913
0.159669
0.239503
0.141928
0.413365
0.2945
0.091662
0
0
0
0
0.076223
0.2334
3,012
73
62
41.260274
0.656128
0.011952
0
0
1
0
0.61735
0.044385
0
0
0
0
0
1
0.015152
false
0
0
0.015152
0.015152
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
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
615f7cfa1b6b283d18e099ce4aef180b611f75fe
1,369
py
Python
sdks/python/.tox/py27gcp/lib/python2.7/site-packages/google/cloud/bigquery/__init__.py
YYTVicky/kafka
b0f3eb276fa034b215570cd4f837851d9fb9166a
[ "Apache-2.0" ]
35
2016-09-22T22:53:14.000Z
2020-02-13T15:12:21.000Z
sdks/python/.tox/py27gcp/lib/python2.7/site-packages/google/cloud/bigquery/__init__.py
axbaretto/presto
f137d2709db42b5c3e4d43a631832a8f74853065
[ "Apache-2.0" ]
28
2020-03-04T22:01:48.000Z
2022-03-12T00:59:47.000Z
sdks/python/.tox/py27gcp/lib/python2.7/site-packages/google/cloud/bigquery/__init__.py
axbaretto/presto
f137d2709db42b5c3e4d43a631832a8f74853065
[ "Apache-2.0" ]
88
2016-11-27T02:16:11.000Z
2020-02-28T05:10:26.000Z
# Copyright 2015 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
37
77
0.799854
191
1,369
5.680628
0.481675
0.111521
0.192627
0.169585
0.165899
0.165899
0
0
0
0
0
0.006683
0.125639
1,369
36
78
38.027778
0.899749
0.57195
0
0
0
0
0.037037
0.037037
0
0
0
0
0
1
0
false
0
0.9
0
0.9
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
61609633ecedfe7ce95d9f67e6542879e4edfcc6
141
py
Python
output/models/sun_data/elem_decl/target_ns/target_ns00301m/target_ns00301m3_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/sun_data/elem_decl/target_ns/target_ns00301m/target_ns00301m3_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/sun_data/elem_decl/target_ns/target_ns00301m/target_ns00301m3_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.sun_data.elem_decl.target_ns.target_ns00301m.target_ns00301m3_xsd.target_ns00301m3 import Root __all__ = [ "Root", ]
23.5
113
0.808511
20
141
5.15
0.75
0.291262
0
0
0
0
0
0
0
0
0
0.133858
0.099291
141
5
114
28.2
0.677165
0
0
0
0
0
0.028369
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
61646dd2e9b98e8641cfadc2612dce047821e1be
76
py
Python
exercises/chapter01/exc_01_01.py
deep-diver/fastai-course
1a0a39311fba0e1b3f4720a612a17dc7c708d9bb
[ "MIT" ]
null
null
null
exercises/chapter01/exc_01_01.py
deep-diver/fastai-course
1a0a39311fba0e1b3f4720a612a17dc7c708d9bb
[ "MIT" ]
null
null
null
exercises/chapter01/exc_01_01.py
deep-diver/fastai-course
1a0a39311fba0e1b3f4720a612a17dc7c708d9bb
[ "MIT" ]
null
null
null
from fastai.data.external import URLs result = ___.__________ print(______)
19
37
0.815789
8
76
5.375
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
76
4
38
19
0.632353
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
61718d81d4db13419bce88605e81c8e1a77c4f35
290
py
Python
server/crud/crud_role_user.py
Georgi2704/pricelist-fastapi-boilerplate
24b88e1f5c28b7eaff50745cd4464caac6de01e6
[ "Apache-2.0" ]
null
null
null
server/crud/crud_role_user.py
Georgi2704/pricelist-fastapi-boilerplate
24b88e1f5c28b7eaff50745cd4464caac6de01e6
[ "Apache-2.0" ]
2
2021-11-11T15:19:30.000Z
2022-02-07T22:52:07.000Z
server/crud/crud_role_user.py
Georgi2704/pricelist-fastapi
24b88e1f5c28b7eaff50745cd4464caac6de01e6
[ "Apache-2.0" ]
null
null
null
from server.crud.base import CRUDBase from server.db.models import RolesUsersTable from server.schemas.role_user import RoleUserCreate, RoleUserUpdate class CRUDRoleUser(CRUDBase[RolesUsersTable, RoleUserCreate, RoleUserUpdate]): pass role_user_crud = CRUDRoleUser(RolesUsersTable)
26.363636
78
0.841379
32
290
7.53125
0.53125
0.124481
0
0
0
0
0
0
0
0
0
0
0.1
290
10
79
29
0.923372
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.166667
0.5
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