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
040d38bd65a0d378da00e27a97b96ada7ab7c21b
289
py
Python
scalyr_agent/third_party/pysnmp/proto/secmod/eso/priv/aes256.py
code-sauce/scalyr-agent-2
41023d5c1272186193dd02900782b150dda5f38e
[ "Apache-2.0" ]
67
2015-02-03T00:35:33.000Z
2022-03-23T10:14:26.000Z
scalyr_agent/third_party/pysnmp/proto/secmod/eso/priv/aes256.py
code-sauce/scalyr-agent-2
41023d5c1272186193dd02900782b150dda5f38e
[ "Apache-2.0" ]
578
2015-04-09T08:58:56.000Z
2022-03-30T12:13:21.000Z
scalyr_agent/third_party/pysnmp/proto/secmod/eso/priv/aes256.py
code-sauce/scalyr-agent-2
41023d5c1272186193dd02900782b150dda5f38e
[ "Apache-2.0" ]
58
2015-01-15T22:00:43.000Z
2022-02-18T15:48:31.000Z
# AES 192/256 bit encryption (Internet draft) # http://tools.ietf.org/html/draft-blumenthal-aes-usm-04 from pysnmp.proto.secmod.eso.priv import aesbase class Aes256(aesbase.AbstractAes): serviceID = (1, 3, 6, 1, 4, 1, 9, 12, 6, 1, 2) # cusmAESCfb256PrivProtocol keySize = 32
36.125
79
0.702422
44
289
4.613636
0.840909
0.019704
0
0
0
0
0
0
0
0
0
0.115702
0.16263
289
7
80
41.285714
0.723141
0.429066
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
040e90c4032ea5b4e893c750686bb833cb05f036
2,467
py
Python
src/Quality_Controls.py
chiffa/Pharmacosensitivity_growth_assays
b31eaa162b335cdb0b9000059195425753299a3f
[ "BSD-3-Clause" ]
null
null
null
src/Quality_Controls.py
chiffa/Pharmacosensitivity_growth_assays
b31eaa162b335cdb0b9000059195425753299a3f
[ "BSD-3-Clause" ]
null
null
null
src/Quality_Controls.py
chiffa/Pharmacosensitivity_growth_assays
b31eaa162b335cdb0b9000059195425753299a3f
[ "BSD-3-Clause" ]
null
null
null
import numpy as np from supporting_functions import p_stabilize from plot_drawings import show_2d_array, quick_hist, correlation_plot from chiffatools.dataviz import smooth_histogram from scipy.stats import norm # TODO: cell_drug_replicates analysis # TODO: plate_specific noise level : correlation between T0 and TF di...
39.15873
118
0.727604
360
2,467
4.766667
0.313889
0.138695
0.149184
0.083916
0.240676
0.101399
0.06993
0.038462
0.038462
0
0
0.018877
0.162546
2,467
63
119
39.15873
0.811713
0.141062
0
0.047619
0
0
0.015485
0
0
0
0
0.015873
0
0
null
null
0
0.119048
null
null
0.380952
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
042bfabaa157575afd36cd15078980a42b89e75b
2,666
py
Python
tests/parsers/xchatscrollback.py
CNR-ITTIG/plasodfaxp
923797fc00664fa9e3277781b0334d6eed5664fd
[ "Apache-2.0" ]
1
2019-09-26T08:16:30.000Z
2019-09-26T08:16:30.000Z
tests/parsers/xchatscrollback.py
CNR-ITTIG/plasodfaxp
923797fc00664fa9e3277781b0334d6eed5664fd
[ "Apache-2.0" ]
null
null
null
tests/parsers/xchatscrollback.py
CNR-ITTIG/plasodfaxp
923797fc00664fa9e3277781b0334d6eed5664fd
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- """Tests for the xchatscrollback log parser.""" import unittest # pylint: disable=unused-import from plaso.formatters import xchatscrollback as xchatscrollback_formatter from plaso.parsers import xchatscrollback from tests.parsers import test_lib __author__ = 'Francesco Pi...
36.027027
73
0.749437
294
2,666
6.547619
0.370748
0.152727
0.148571
0.189091
0.288831
0.288831
0.142338
0.052987
0
0
0
0.065992
0.147412
2,666
73
74
36.520548
0.780906
0.100525
0
0.155556
0
0
0.127633
0.012216
0
0
0
0.013699
0.222222
1
0.044444
false
0
0.088889
0
0.155556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
0431679c05ce4ae40dff59cb784b5ad5a0f0773a
1,063
py
Python
quex/input/TEST/test-query-character-set-by-expression.py
smmckay/quex-mirror
7d75ed560e9f3a591935e59243188676eecb112a
[ "MIT" ]
null
null
null
quex/input/TEST/test-query-character-set-by-expression.py
smmckay/quex-mirror
7d75ed560e9f3a591935e59243188676eecb112a
[ "MIT" ]
null
null
null
quex/input/TEST/test-query-character-set-by-expression.py
smmckay/quex-mirror
7d75ed560e9f3a591935e59243188676eecb112a
[ "MIT" ]
null
null
null
#! /usr/bin/env python import sys import os sys.path.append(os.environ["QUEX_PATH"]) import quex.input.command_line.core as command_line from quex.input.setup import SETUP_INFO import quex.blackboard as blackboard if "--hwut-info" in sys.argv: print "Quex Queries: Character Sets fo...
29.527778
88
0.606773
133
1,063
4.75188
0.451128
0.102848
0.037975
0.047468
0.314873
0.226266
0.226266
0.174051
0.174051
0.174051
0
0.001143
0.176858
1,063
35
89
30.371429
0.721143
0.019755
0
0.222222
0
0
0.349664
0.120077
0
0
0
0
0.037037
0
null
null
0.111111
0.185185
null
null
0.222222
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
1
0
0
1
0
0
0
0
0
2
0432401eec9d8239f7ea5ef8f6ddff646e95d238
243
py
Python
shadowray/common/B64.py
shunf4/Shadowray
3ec2e69a9b079e051983f7d84252ba787ce933a2
[ "MIT" ]
30
2019-02-25T23:20:20.000Z
2021-06-29T02:31:39.000Z
shadowray/common/B64.py
shunf4/Shadowray
3ec2e69a9b079e051983f7d84252ba787ce933a2
[ "MIT" ]
4
2019-06-15T02:15:37.000Z
2020-02-19T08:05:43.000Z
shadowray/common/B64.py
shunf4/Shadowray
3ec2e69a9b079e051983f7d84252ba787ce933a2
[ "MIT" ]
7
2019-06-14T13:04:27.000Z
2021-06-11T02:28:52.000Z
import base64 def decode(text): n = len(text) missing_padding = 4 - n % 4 if missing_padding: text += '=' * missing_padding text = bytes(text, encoding='utf8') return str(base64.b64decode(text), encoding='utf8')
20.25
55
0.625514
31
243
4.806452
0.548387
0.281879
0.241611
0
0
0
0
0
0
0
0
0.054348
0.242798
243
11
56
22.090909
0.755435
0
0
0
0
0
0.037037
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
044f6e635acd31fe41aabc319580c768b682890e
25,125
py
Python
scripts/parse_order_file_and_generate_schedule.py
acl-org/emnlp2018.github.io
300bf3d06b3db2e2ca6c5b6000b11d24d63ee7b0
[ "BSD-3-Clause", "MIT" ]
null
null
null
scripts/parse_order_file_and_generate_schedule.py
acl-org/emnlp2018.github.io
300bf3d06b3db2e2ca6c5b6000b11d24d63ee7b0
[ "BSD-3-Clause", "MIT" ]
null
null
null
scripts/parse_order_file_and_generate_schedule.py
acl-org/emnlp2018.github.io
300bf3d06b3db2e2ca6c5b6000b11d24d63ee7b0
[ "BSD-3-Clause", "MIT" ]
null
null
null
#!/usr/bin/env python3 ''' This script parses the following four files and generates the HTML that can then be added to the program page on the website: - order.txt - authors.csv - session-chairs.csv [optional] - anthology-mapping.csv [optional] - video-mapping.csv [optional] Note that: 1. `dos2unix` must be run on...
70.575843
1,017
0.636617
3,175
25,125
4.861417
0.185512
0.031098
0.003887
0.018659
0.433949
0.37875
0.334176
0.299903
0.267509
0.247878
0
0.008067
0.235224
25,125
355
1,018
70.774648
0.795108
0.077532
0
0.232727
1
0.083636
0.381791
0.1059
0
0
0
0
0.007273
1
0.025455
false
0.003636
0.018182
0
0.065455
0.003636
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
045710ec7ecbcfaae00618d42659a9f27c5bb2fc
1,404
py
Python
examples/twisted/wamp/session/series/backend.py
luhn/AutobahnPython
7d519052ab42dc029598ab9e2dbdd7af8e08341f
[ "Apache-2.0" ]
null
null
null
examples/twisted/wamp/session/series/backend.py
luhn/AutobahnPython
7d519052ab42dc029598ab9e2dbdd7af8e08341f
[ "Apache-2.0" ]
null
null
null
examples/twisted/wamp/session/series/backend.py
luhn/AutobahnPython
7d519052ab42dc029598ab9e2dbdd7af8e08341f
[ "Apache-2.0" ]
null
null
null
############################################################################### ## ## Copyright (C) 2014 Tavendo GmbH ## ## 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:/...
29.87234
79
0.632479
166
1,404
5.301205
0.650602
0.068182
0.029545
0.036364
0.065909
0
0
0
0
0
0
0.016129
0.160969
1,404
46
80
30.521739
0.7309
0.433761
0
0
0
0
0.122896
0.037037
0
0
0
0
0
1
0.142857
false
0
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
0
1
0
1
0
0
2
f0a0816b2bbb790d2aa5fef38ecc436f13e7cd2c
1,626
py
Python
analysis/atuned/utils/npipe.py
openeuler-mirror/A-Tune
7479b30e4ab688cf2ca53235d9fd72fc22f332bd
[ "MulanPSL-1.0" ]
5
2020-03-09T12:03:57.000Z
2022-03-05T06:38:40.000Z
analysis/atuned/utils/npipe.py
openeuler-mirror/A-Tune
7479b30e4ab688cf2ca53235d9fd72fc22f332bd
[ "MulanPSL-1.0" ]
null
null
null
analysis/atuned/utils/npipe.py
openeuler-mirror/A-Tune
7479b30e4ab688cf2ca53235d9fd72fc22f332bd
[ "MulanPSL-1.0" ]
1
2020-10-14T02:35:56.000Z
2020-10-14T02:35:56.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- # Copyright (c) 2019 Huawei Technologies Co., Ltd. # A-Tune is licensed under the Mulan PSL v2. # You can use this software according to the terms and conditions of the Mulan PSL v2. # You may obtain a copy of Mulan PSL v2 at: # http://license.coscl.org.cn/MulanPSL2 # THIS...
26.655738
98
0.628536
236
1,626
4.254237
0.457627
0.047809
0.039841
0.038845
0.101594
0.069721
0.069721
0.069721
0
0
0
0.015953
0.267528
1,626
60
99
27.1
0.827036
0.430504
0
0.103448
0
0
0
0
0
0
0
0
0
1
0.206897
false
0
0.034483
0
0.517241
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
0
1
0
0
2
f0ad8d2eb745555227145da8939f6bef4c5db42c
309
py
Python
app/django/experiment/urls.py
Murabei-OpenSource-Codes/ai-photo-sampler--backend
c098a5cb544da89623a000d87daa18f22cfecfce
[ "BSD-3-Clause" ]
null
null
null
app/django/experiment/urls.py
Murabei-OpenSource-Codes/ai-photo-sampler--backend
c098a5cb544da89623a000d87daa18f22cfecfce
[ "BSD-3-Clause" ]
null
null
null
app/django/experiment/urls.py
Murabei-OpenSource-Codes/ai-photo-sampler--backend
c098a5cb544da89623a000d87daa18f22cfecfce
[ "BSD-3-Clause" ]
null
null
null
"""Set urls for registration.""" from pumpwood_djangoviews.routers import PumpWoodRouter from django.conf.urls import url from experiment import rest pumpwoodrouter = PumpWoodRouter() pumpwoodrouter.register(viewset=rest.RestDescriptionExperimentTeam) urlpatterns = [ ] urlpatterns += pumpwoodrouter.urls
22.071429
67
0.822006
31
309
8.16129
0.612903
0.221344
0
0
0
0
0
0
0
0
0
0
0.100324
309
13
68
23.769231
0.910072
0.084142
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
f0b784703c78e7025961a600b86f78d627103c74
360
py
Python
download_upload.py
TheGeeKing/epic_games_free_games_claim
e7a09733f77ab55e48cf6702b2542d02cf2d170d
[ "MIT" ]
9
2020-10-11T01:32:10.000Z
2022-02-13T21:02:55.000Z
download_upload.py
TheGeeKing/epic_games_free_games_claim
e7a09733f77ab55e48cf6702b2542d02cf2d170d
[ "MIT" ]
3
2020-10-11T01:36:21.000Z
2021-05-30T16:22:19.000Z
download_upload.py
TheGeeKing/epic_games_free_games_claim
e7a09733f77ab55e48cf6702b2542d02cf2d170d
[ "MIT" ]
4
2020-12-13T09:05:26.000Z
2021-06-30T21:41:10.000Z
from dropbox import Dropbox from dropbox.files import WriteMode def download(token, file_name, path='/'): dbx = Dropbox(token) meta, data = dbx.files_download(path+file_name) return data.content def upload(token, file_name, file_data, path='/'): dbx = Dropbox(token) dbx.files_upload(file_data, pa...
27.692308
73
0.733333
51
360
5.019608
0.372549
0.125
0.101563
0.148438
0
0
0
0
0
0
0
0
0.152778
360
12
74
30
0.839344
0
0
0.222222
0
0
0.005556
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f0b812c5e7da9a9ff6b8cb6af6d3c5764007153e
681
py
Python
UnitTests/ExampleExpenseEffect.py
StevenDavisTechNotes/Python-Dataclass-to-CSV
36f4074b72bfcf2d5c98b5e3c2d12bdbdf923d49
[ "MIT" ]
null
null
null
UnitTests/ExampleExpenseEffect.py
StevenDavisTechNotes/Python-Dataclass-to-CSV
36f4074b72bfcf2d5c98b5e3c2d12bdbdf923d49
[ "MIT" ]
null
null
null
UnitTests/ExampleExpenseEffect.py
StevenDavisTechNotes/Python-Dataclass-to-CSV
36f4074b72bfcf2d5c98b5e3c2d12bdbdf923d49
[ "MIT" ]
null
null
null
from dataclasses import dataclass from decimal import Decimal from enum import Enum from typing import Optional class ExpenseType(Enum): UnsetExpenseType = 0 OfflineExpense = 1 ExpenseOnEbaySale = 2 ExpenseOnAmazonSale = 3 @dataclass class ExampleExpenseEffect: Month: int OrderNumber: Option...
24.321429
41
0.756241
64
681
8.046875
0.515625
0.23301
0
0
0
0
0
0
0
0
0
0.007194
0.183554
681
27
42
25.222222
0.919065
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.173913
0
0.956522
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
f0d2b3864970096875d6255dc938ae3b3c7b9dd2
407
py
Python
setup.py
bradleycamacho/newrelic-opencensus-exporter-python
8368921e7bb38ad3bb011ef8750d36bcf658b502
[ "Apache-2.0" ]
4
2019-11-13T12:57:45.000Z
2020-01-30T20:38:49.000Z
setup.py
bradleycamacho/newrelic-opencensus-exporter-python
8368921e7bb38ad3bb011ef8750d36bcf658b502
[ "Apache-2.0" ]
7
2019-10-22T16:03:32.000Z
2022-01-18T21:07:34.000Z
setup.py
bradleycamacho/newrelic-opencensus-exporter-python
8368921e7bb38ad3bb011ef8750d36bcf658b502
[ "Apache-2.0" ]
3
2020-03-19T16:59:44.000Z
2020-10-12T14:46:21.000Z
import setuptools setuptools.setup( name="opencensus-ext-newrelic", use_scm_version={ "write_to": "src/opencensus_ext_newrelic/version.py", "write_to_template": """\ # coding: utf-8 # file generated by setuptools_scm # don't change, don't track in version control version = "{version!s}" """, ...
25.4375
79
0.670762
55
407
4.8
0.654545
0.098485
0.159091
0
0
0
0
0
0
0
0
0.02346
0.162162
407
15
80
27.133333
0.750733
0
0
0
0
0
0.636364
0.233415
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
f0fd36d59891fb494fdce5e724adc8026ca01bfc
311
py
Python
clickup_to_jira/ticket.py
anmarkoulis/clickup-to-jira
2ba6dde69d8a4d32957d3546772e839ccb530ee7
[ "MIT" ]
2
2021-01-13T14:58:17.000Z
2022-01-10T09:31:36.000Z
clickup_to_jira/ticket.py
anmarkoulis/clickup-to-jira
2ba6dde69d8a4d32957d3546772e839ccb530ee7
[ "MIT" ]
36
2020-11-13T14:10:43.000Z
2022-03-01T01:14:11.000Z
clickup_to_jira/ticket.py
anmarkoulis/clickup-to-jira
2ba6dde69d8a4d32957d3546772e839ccb530ee7
[ "MIT" ]
null
null
null
from dataclasses import dataclass @dataclass class Ticket: """ Class responsible for hosting tickets of all JIRA and ClickUp """ id: str type: str project: str title: str description: str subtasks: list status: str assignee: str parent: str comments: list
15.55
65
0.639871
37
311
5.378378
0.72973
0
0
0
0
0
0
0
0
0
0
0
0.302251
311
19
66
16.368421
0.917051
0.196141
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
0b0a56c86e16266d78a4ac721f5e1541e7e7184b
15,671
py
Python
nRF24L01_.py
chisl/nRF24L01_-py2
5d5a8ffdec662cf26c5b7be8a20ec1958dd03fd4
[ "MIT" ]
1
2018-07-22T16:02:57.000Z
2018-07-22T16:02:57.000Z
nRF24L01_.py
chisl/nRF24L01_-py2
5d5a8ffdec662cf26c5b7be8a20ec1958dd03fd4
[ "MIT" ]
null
null
null
nRF24L01_.py
chisl/nRF24L01_-py2
5d5a8ffdec662cf26c5b7be8a20ec1958dd03fd4
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """nRF24L01+: Single Chip 2.4GHz Transceiver""" __author__ = "ChISL" __copyright__ = "TBD" __credits__ = ["Nordic Semiconductor"] __license__ = "TBD" __version__ = "0.1" __maintainer__ = "https://chisl.io" __email__ = "info@chisl.io" __status__ = "T...
24.717666
118
0.631868
2,424
15,671
3.914604
0.15429
0.025925
0.0274
0.04932
0.432501
0.270945
0.170829
0.170829
0.154495
0.12172
0
0.047807
0.273882
15,671
633
119
24.756714
0.785834
0.668751
0
0
0
0
0.014597
0
0
0
0
0
0
1
0.45614
false
0
0.008772
0
0.701754
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
0
1
0
0
2
0b114539bb549834b874c04af03959d2c2c7e62e
314
py
Python
templates/python/environmentals.py
ohoph/Ebowla
9f1a45a70abbd0a02bfe9614f298b98e98697b1b
[ "BSD-3-Clause" ]
738
2016-04-08T15:26:43.000Z
2022-03-28T20:49:08.000Z
templates/python/environmentals.py
iNoSec/Ebowla_modified
0079ec86c9c9c167166beda1922bd26114f6addb
[ "BSD-3-Clause" ]
28
2016-04-09T22:37:41.000Z
2019-01-28T10:44:46.000Z
templates/python/environmentals.py
iNoSec/Ebowla_modified
0079ec86c9c9c167166beda1922bd26114f6addb
[ "BSD-3-Clause" ]
179
2016-04-08T16:00:11.000Z
2022-02-17T11:39:02.000Z
buildcode=""" def pull_environmentals(environmentals): env_string = '' for env_var in environmentals: try: env_string += os.getenv(env_var) except: pass return env_string.lower() """ callcode=""" key_combos.append(pull_environmentals(env_vars)) """
19.625
52
0.60828
33
314
5.515152
0.636364
0.148352
0
0
0
0
0
0
0
0
0
0
0.27707
314
16
53
19.625
0.801762
0
0
0.153846
0
0
0.892063
0.266667
0
0
0
0
0
1
0
false
0.076923
0
0
0.076923
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
0b16bd3c813f4742678b605a1d2306196c436b2d
299
py
Python
lycheepy/configuration/configuration/resources/parametric.py
gabrielbazan/lycheepy
f314d3f591f4a449b37ead9baf26b9f5d58d9f0d
[ "MIT" ]
17
2018-08-14T02:42:43.000Z
2022-02-25T00:38:47.000Z
lycheepy/configuration/configuration/resources/parametric.py
gabrielbazan/lycheepy
f314d3f591f4a449b37ead9baf26b9f5d58d9f0d
[ "MIT" ]
1
2018-11-01T02:55:01.000Z
2018-11-01T02:55:01.000Z
lycheepy/configuration/configuration/resources/parametric.py
gabrielbazan/lycheepy
f314d3f591f4a449b37ead9baf26b9f5d58d9f0d
[ "MIT" ]
4
2018-10-30T16:01:49.000Z
2021-06-08T20:21:07.000Z
from simplyrestful.resources import Resource from serializers import FormatSerializer, DataTypeSerializer class FormatResource(Resource): endpoint = 'formats' serializer = FormatSerializer class DataTypeResource(Resource): endpoint = 'data-types' serializer = DataTypeSerializer
23
60
0.792642
25
299
9.48
0.64
0.135021
0
0
0
0
0
0
0
0
0
0
0.150502
299
12
61
24.916667
0.933071
0
0
0
0
0
0.056856
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
0b17e35441b7ef82a576b9552b727f043b140d18
1,492
py
Python
instructions/jump_instructions.py
kindlehl/Py3NES
38926e1397b4a894422ce3460f760873e40d6c04
[ "Apache-2.0" ]
128
2016-06-01T06:59:13.000Z
2022-02-20T16:07:07.000Z
instructions/jump_instructions.py
kindlehl/Py3NES
38926e1397b4a894422ce3460f760873e40d6c04
[ "Apache-2.0" ]
2
2016-06-05T07:32:07.000Z
2020-07-28T08:01:53.000Z
instructions/jump_instructions.py
kindlehl/Py3NES
38926e1397b4a894422ce3460f760873e40d6c04
[ "Apache-2.0" ]
37
2017-06-05T16:07:56.000Z
2022-02-10T04:57:59.000Z
from addressing import AbsoluteAddressing, IndirectAddressing, ImpliedAddressing from instructions.base_instructions import Jmp, Jsr, BranchSet, BranchClear, Rts, Rti, Brk # Jmp from status import Status class JmpAbs(AbsoluteAddressing, Jmp): identifier_byte = bytes([0x4C]) class JmpInd(IndirectAddressing, Jmp...
20.162162
90
0.727212
167
1,492
6.407186
0.347305
0.183178
0.248598
0.104673
0.11028
0
0
0
0
0
0
0.029815
0.168231
1,492
73
91
20.438356
0.832393
0.030161
0
0.205128
0
0
0
0
0
0
0.038862
0
0
1
0
false
0
0.076923
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
0b1c3448eb2da0d8f30d983f5fe1419ca06078ae
147
py
Python
hunt/urls.py
mysteryhunt/example-hunt
088908ad99402f89b896e53a3ab33763688f074b
[ "MIT" ]
null
null
null
hunt/urls.py
mysteryhunt/example-hunt
088908ad99402f89b896e53a3ab33763688f074b
[ "MIT" ]
null
null
null
hunt/urls.py
mysteryhunt/example-hunt
088908ad99402f89b896e53a3ab33763688f074b
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, include, url urlpatterns = patterns('', # url(r'^(?P<puzzle>\w+)/$', 'hunt.views.puzzle_view'), )
18.375
57
0.632653
19
147
4.842105
0.842105
0
0
0
0
0
0
0
0
0
0
0
0.156463
147
7
58
21
0.741935
0
0
0
0
0
0.273973
0.150685
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9bc27492cf16e7e6f858246ac0ea5e701207291c
508
py
Python
0_dummy/test_missile.py
anxodio/test-doubles-workshop
14c5b381b6a6123f3ae5955af6787cd8225cb2db
[ "MIT" ]
null
null
null
0_dummy/test_missile.py
anxodio/test-doubles-workshop
14c5b381b6a6123f3ae5955af6787cd8225cb2db
[ "MIT" ]
null
null
null
0_dummy/test_missile.py
anxodio/test-doubles-workshop
14c5b381b6a6123f3ae5955af6787cd8225cb2db
[ "MIT" ]
null
null
null
from tenx_missile import MissileLauncher _VALID_CODES = ['DPRK', 'BOOM', 'ACME'] class Missile: def __init__(self): self._launcher = MissileLauncher() def fire(self): self._launcher.fire() def launch_missile(missile, code): if check_code(code): missile.fire() def check_code(c...
15.875
44
0.633858
61
508
4.983607
0.47541
0.128289
0.105263
0
0
0
0
0
0
0
0
0
0.204724
508
31
45
16.387097
0.747525
0.106299
0
0
0
0
0.028369
0
0
0
0
0
0
1
0.357143
false
0.071429
0.071429
0.071429
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
9bc4582b535b3a70ec5114b77e950a47dcd1de7a
413
py
Python
TaskScheduler/__init__.py
tbarlow12/cloud-scanner-azure-functions-sample
2d69fd67e9398cbeefd09c356c7231f3174d50cb
[ "MIT" ]
4
2020-05-05T09:39:04.000Z
2021-04-20T16:18:29.000Z
TaskScheduler/__init__.py
tbarlow12/cloud-scanner-azure-functions-sample
2d69fd67e9398cbeefd09c356c7231f3174d50cb
[ "MIT" ]
null
null
null
TaskScheduler/__init__.py
tbarlow12/cloud-scanner-azure-functions-sample
2d69fd67e9398cbeefd09c356c7231f3174d50cb
[ "MIT" ]
5
2019-11-03T23:39:47.000Z
2021-07-20T16:03:19.000Z
import azure.functions from cloud_scanner.services import TaskScheduler from cloud_scanner_azure import services from cloud_scanner_generic import services from dotenv import load_dotenv load_dotenv('../.env') def main(timer: azure.functions.TimerRequest): """ Schedule tasks for resource scanning on timed req...
25.8125
57
0.77724
52
413
6.038462
0.576923
0.085987
0.152866
0
0
0
0
0
0
0
0
0
0.150121
413
15
58
27.533333
0.894587
0.242131
0
0
0
0
0.023891
0
0
0
0
0
0
1
0.125
false
0
0.625
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
9bce611647b5f892ad882e3b1cabf36b0ace61ba
192
py
Python
Algorithms/Implementation/drawing-book.py
Owngithub10101/Hackerrank-Problem-Solving
4e35b609c9f5b94c5bda292b9991baa054a944b6
[ "MIT" ]
23
2020-02-28T16:18:48.000Z
2021-12-21T11:51:07.000Z
Algorithms/Implementation/drawing-book.py
ramanagali/Hackerrank-Problem-Solving
98f654f984013140d52b9a344146e9e38e46fb81
[ "MIT" ]
null
null
null
Algorithms/Implementation/drawing-book.py
ramanagali/Hackerrank-Problem-Solving
98f654f984013140d52b9a344146e9e38e46fb81
[ "MIT" ]
16
2020-04-08T10:46:39.000Z
2021-11-15T03:46:56.000Z
# Drawing Book # Developer: Murillo Grubler # Link: https://www.hackerrank.com/challenges/drawing-book/problem n = int(input().strip()) p = int(input().strip()) print(min(p//2, n//2 - p//2))
27.428571
66
0.671875
30
192
4.3
0.666667
0.170543
0.20155
0
0
0
0
0
0
0
0
0.017544
0.109375
192
7
67
27.428571
0.736842
0.546875
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
0
0
2
9bd1a82a1d474532d03845879bf2f3b3b07ef9f5
652
py
Python
leglib-old/structural/tests/test_snowcalc.py
joelegner/leglib
5f7f4cc48112302bb48857d85435c42fb8c72169
[ "MIT" ]
null
null
null
leglib-old/structural/tests/test_snowcalc.py
joelegner/leglib
5f7f4cc48112302bb48857d85435c42fb8c72169
[ "MIT" ]
null
null
null
leglib-old/structural/tests/test_snowcalc.py
joelegner/leglib
5f7f4cc48112302bb48857d85435c42fb8c72169
[ "MIT" ]
null
null
null
from structural.snowcalc import SnowCalc import unittest class TestSnowCalc(unittest.TestCase): def setUp(self): self.calc = SnowCalc(pg=70.0, W=50.0, Ce=1.1, Ct=1.0, I=1.1, is_leeward=False) def test_calc(self): self.assertAlmostEqual(self.calc.pf, 59.0, places=0) sel...
28.347826
68
0.631902
96
652
4.177083
0.479167
0.099751
0.187032
0.216958
0.194514
0.194514
0.194514
0.194514
0
0
0
0.05501
0.219325
652
22
69
29.636364
0.732809
0.02454
0
0
0
0
0.022082
0
0
0
0
0
0.3125
1
0.1875
false
0
0.125
0
0.375
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
0
0
0
2
9bdf0721424a71d96407b012bccb751fa6fe440c
237
py
Python
otree_tools/radiogrid/__init__.py
christianzihlmann/otree_tools
d07aa506322aeb17bebe3b55e283ea66ff6524e9
[ "MIT" ]
null
null
null
otree_tools/radiogrid/__init__.py
christianzihlmann/otree_tools
d07aa506322aeb17bebe3b55e283ea66ff6524e9
[ "MIT" ]
null
null
null
otree_tools/radiogrid/__init__.py
christianzihlmann/otree_tools
d07aa506322aeb17bebe3b55e283ea66ff6524e9
[ "MIT" ]
null
null
null
# original code is by Anton Shurashov (github user Sinkler) # https://github.com/Sinkler/django-radiogrid from .widgets import RadioGridWidget from .fields import RadioGridFormField from .db import RadioGridField __version__ = '1.0.4'
26.333333
59
0.797468
31
237
5.967742
0.806452
0
0
0
0
0
0
0
0
0
0
0.014423
0.122363
237
8
60
29.625
0.875
0.42616
0
0
0
0
0.037594
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
9bfa68358c28ed4d552d6434618d045a028cadc1
893
py
Python
test/tests/global_and_local.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:28:45.000Z
2020-02-06T14:28:45.000Z
test/tests/global_and_local.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
test/tests/global_and_local.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:29:00.000Z
2020-02-06T14:29:00.000Z
# I would have expected this to be valid, but cPython and pypy err out saying "name 'x' is local and global" try: import __pyston__ __pyston__.setOption("LAZY_SCOPING_ANALYSIS", 0) except ImportError: pass try: exec """ x = 1 def f(x): global x print "calling" f(2) print x """ except SyntaxError ...
12.577465
108
0.628219
143
893
3.825175
0.34965
0.063985
0.11883
0.11883
0.617916
0.617916
0.617916
0.579525
0.579525
0.579525
0
0.011976
0.25196
893
70
109
12.757143
0.806886
0.118701
0
0.775862
0
0
0.458599
0.026752
0
0
0
0
0
0
null
null
0.017241
0.034483
null
null
0.258621
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
5004f15f5620e7254b085ebca2b21c78701e8902
3,781
py
Python
observations/__init__.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
observations/__init__.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
observations/__init__.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
"""[Observations](https://github.com/edwardlib/observations) provides a one line Python API for loading standard data sets in machine learning. It automates the process from downloading, extracting, loading, and preprocessing data. Observations helps keep the workflow reproducible and follow sensible standards. Observ...
31.773109
80
0.785506
461
3,781
6.208243
0.327549
0.201258
0.016771
0.016073
0
0
0
0
0
0
0
0.019602
0.14996
3,781
118
81
32.042373
0.870877
0.215022
0
0
0
0
0.117347
0.02551
0
0
0
0
0
1
0.011111
false
0
0.444444
0
0.455556
0.011111
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
0
0
0
2
5021e7c03634285f92aac2bad93e020bb5a53957
1,315
py
Python
test/testlib/asserts.py
directeur/git-python
b00f3689aa19938c10576580fbfc9243d9f3866c
[ "BSD-3-Clause" ]
1
2016-05-08T18:21:28.000Z
2016-05-08T18:21:28.000Z
test/testlib/asserts.py
directeur/git-python
b00f3689aa19938c10576580fbfc9243d9f3866c
[ "BSD-3-Clause" ]
null
null
null
test/testlib/asserts.py
directeur/git-python
b00f3689aa19938c10576580fbfc9243d9f3866c
[ "BSD-3-Clause" ]
null
null
null
# asserts.py # Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors # # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php import re import unittest from nose import tools from nose.tools import * __all__ = ['assert_instance_of'...
34.605263
70
0.721673
190
1,315
4.805263
0.3
0.088719
0.085433
0.11172
0.556407
0.499452
0.30011
0.30011
0.30011
0.201533
0
0.003653
0.1673
1,315
38
71
34.605263
0.830137
0.337643
0
0
0
0
0.112306
0.026284
0
0
0
0
0.789474
1
0.315789
false
0
0.210526
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
2
5022f6877fef943d399cb1e6c8ca837c52e94ab1
124
py
Python
testsuite/wavelength_color/run.py
halirutan/OpenShadingLanguage
8ef7bebba4ba76c8438d2bca1d29469fe3e5cb27
[ "BSD-3-Clause" ]
4
2016-07-13T16:01:18.000Z
2021-01-22T21:13:46.000Z
testsuite/wavelength_color/run.py
halirutan/OpenShadingLanguage
8ef7bebba4ba76c8438d2bca1d29469fe3e5cb27
[ "BSD-3-Clause" ]
null
null
null
testsuite/wavelength_color/run.py
halirutan/OpenShadingLanguage
8ef7bebba4ba76c8438d2bca1d29469fe3e5cb27
[ "BSD-3-Clause" ]
2
2017-04-12T06:34:19.000Z
2017-10-20T10:24:39.000Z
#!/usr/bin/env python command += testshade("-g 1000 64 -od float -o Cout out.exr test") outputs = [ "out.txt", "out.exr" ]
24.8
65
0.637097
21
124
3.761905
0.857143
0.151899
0
0
0
0
0
0
0
0
0
0.057692
0.16129
124
4
66
31
0.701923
0.16129
0
0
0
0
0.533981
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
502551cf562e9a825e40b9f7f281211f05013fab
2,073
py
Python
Django/translate/sample/views.py
sug5806/TIL
2309d8a270e4a7b8961268a40b6492c5db317e37
[ "MIT" ]
null
null
null
Django/translate/sample/views.py
sug5806/TIL
2309d8a270e4a7b8961268a40b6492c5db317e37
[ "MIT" ]
102
2020-02-12T00:10:33.000Z
2022-03-11T23:58:41.000Z
Django/translate/sample/views.py
sug5806/TIL
2309d8a270e4a7b8961268a40b6492c5db317e37
[ "MIT" ]
null
null
null
# Create your views here. from django.shortcuts import render from django.http import HttpResponse from django.utils import translation from django.utils.translation import ugettext_lazy as _ from django.utils.translation import pgettext_lazy as __ def index(request): msg = _('안녕하세요요요') # "구어"는 구분자 이다(아무거나 해...
28.39726
76
0.730342
271
2,073
5.435424
0.321033
0.167685
0.229464
0.25594
0.532926
0.489477
0.460285
0.460285
0.460285
0.460285
0
0.006497
0.183309
2,073
72
77
28.791667
0.863556
0.093584
0
0.418605
0
0
0.036898
0
0
0
0
0
0
1
0.139535
false
0
0.139535
0.023256
0.348837
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
0
0
0
2
5032ee23a7ae9450a7f1460044bdb660773f41f8
555
py
Python
statement_parser/labelset.py
jamiehannaford/statement-parser
93925b5903a4570f66f3e7b7d5d839412bde1da0
[ "MIT" ]
5
2021-09-01T03:27:02.000Z
2022-03-31T16:31:23.000Z
statement_parser/labelset.py
jamiehannaford/statement-parser
93925b5903a4570f66f3e7b7d5d839412bde1da0
[ "MIT" ]
null
null
null
statement_parser/labelset.py
jamiehannaford/statement-parser
93925b5903a4570f66f3e7b7d5d839412bde1da0
[ "MIT" ]
null
null
null
class LabelSet: def __init__(self): self.labels = {} def add(self, label): ltype = label.label_type.split("/")[-1] self.labels[ltype] = label def get(self, label_type): if label_type in self.labels: return self.labels[label_type].text return "" ...
26.428571
52
0.544144
66
555
4.439394
0.409091
0.170648
0.081911
0
0
0
0
0
0
0
0
0.002778
0.351351
555
21
53
26.428571
0.811111
0
0
0
0
0
0.001802
0
0
0
0
0
0
1
0.235294
false
0
0
0
0.529412
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
0
1
0
0
2
5039b8eeae6ba40cc056c13b1a688fc572be25b4
14,711
py
Python
chaperone/views.py
VuppalaJagadeesh/chaperone-ui
79aca195e056a0938b6e81b6b638a280e0017513
[ "Apache-2.0" ]
7
2016-01-05T16:57:17.000Z
2017-10-30T21:18:53.000Z
chaperone/views.py
vmware-archive/chaperone-ui
6823fd68c58af8f86fd7a1bf61e5f79443002905
[ "Apache-2.0" ]
1
2017-05-05T06:52:15.000Z
2017-05-17T05:59:50.000Z
chaperone/views.py
vmware-archive/chaperone-ui
6823fd68c58af8f86fd7a1bf61e5f79443002905
[ "Apache-2.0" ]
9
2016-01-12T15:28:25.000Z
2019-01-25T07:02:35.000Z
# # Copyright 2015 VMware, 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 ...
40.750693
93
0.592346
1,621
14,711
5.111043
0.150524
0.055763
0.028244
0.024623
0.49475
0.433796
0.4035
0.272541
0.244297
0.230537
0
0.001007
0.325267
14,711
360
94
40.863889
0.833669
0.088777
0
0.246269
0
0
0.086758
0.008157
0
0
0
0
0
0
null
null
0.08209
0.041045
null
null
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
1
0
0
1
0
0
0
0
0
2
504590812e99fc16713c85bf99316ef64d07e8e3
858
py
Python
Annotator/annotations/models.py
sburtch/rg_sound_generation
2ef59fe65c9f477d6c8dc67705347f2092ee67e5
[ "MIT" ]
null
null
null
Annotator/annotations/models.py
sburtch/rg_sound_generation
2ef59fe65c9f477d6c8dc67705347f2092ee67e5
[ "MIT" ]
null
null
null
Annotator/annotations/models.py
sburtch/rg_sound_generation
2ef59fe65c9f477d6c8dc67705347f2092ee67e5
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth import get_user_model class Annotation(models.Model): # Which audio file does this object annotate audio_file = models.CharField(max_length=100, null=False, blank=False) user = models.ForeignKey( get_user_model(), on_delete=models.CASCA...
34.32
74
0.728438
109
858
5.431193
0.541284
0.273649
0.040541
0.081081
0
0
0
0
0
0
0
0.008475
0.174825
858
24
75
35.75
0.827684
0.048951
0
0
0
0
0.058968
0.058968
0
0
0
0
0
1
0.05
false
0
0.1
0.05
0.85
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
504ff556b892ac8b569acca5ddb6acb29792b5a2
240
py
Python
misc/benchmark_scatter_bls.py
albine/taichi
8c46f51647a1d759aa7a88720006edecd13bb63b
[ "MIT" ]
null
null
null
misc/benchmark_scatter_bls.py
albine/taichi
8c46f51647a1d759aa7a88720006edecd13bb63b
[ "MIT" ]
null
null
null
misc/benchmark_scatter_bls.py
albine/taichi
8c46f51647a1d759aa7a88720006edecd13bb63b
[ "MIT" ]
null
null
null
import taichi as ti import sys sys.path.append('../tests/python/') from bls_test_template import bls_scatter ti.init(arch=ti.cuda, kernel_profiler=True) bls_scatter(N=1024, ppc=10, block_size=16, benchmark=10) ti.kernel_profiler_print()
21.818182
56
0.7875
41
240
4.414634
0.707317
0.110497
0
0
0
0
0
0
0
0
0
0.045662
0.0875
240
10
57
24
0.780822
0
0
0
0
0
0.066667
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
0.142857
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
0
0
0
2
5051e9ed80204eb124124a96df9e47d72c873795
504
py
Python
weather/utils/prepare_db.py
bomzheg/Weather
cd0e300c581f61f23ef5d927f36e6a117c6fc208
[ "MIT" ]
1
2020-10-25T12:54:03.000Z
2020-10-25T12:54:03.000Z
weather/utils/prepare_db.py
bomzheg/WeatherDiary
cd0e300c581f61f23ef5d927f36e6a117c6fc208
[ "MIT" ]
null
null
null
weather/utils/prepare_db.py
bomzheg/WeatherDiary
cd0e300c581f61f23ef5d927f36e6a117c6fc208
[ "MIT" ]
null
null
null
from sqlite3 import Connection, Cursor from loguru import logger def drop_weather_table(cursor: Cursor): cursor.execute("""DROP TABLE weather""") logger.debug("Drop Table") def create_weather_table(cursor: Cursor): cursor.execute( """ CREATE TABLE weather ( date INT ...
21.913043
44
0.565476
53
504
5.301887
0.415094
0.170819
0.128114
0.170819
0.263345
0.263345
0
0
0
0
0
0.00303
0.345238
504
22
45
22.909091
0.848485
0
0
0
0
0
0.135135
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.444444
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
0
0
0
2
506217f6faa53ceb3bf3aeea6f9684e02bc0f4e9
217
py
Python
justrok.py
punytroll/justrok
611abfa2504c568f897ee7018210e20b7dba118c
[ "MIT" ]
1
2017-01-11T05:03:45.000Z
2017-01-11T05:03:45.000Z
justrok.py
punytroll/justrok
611abfa2504c568f897ee7018210e20b7dba118c
[ "MIT" ]
null
null
null
justrok.py
punytroll/justrok
611abfa2504c568f897ee7018210e20b7dba118c
[ "MIT" ]
1
2017-01-11T05:05:10.000Z
2017-01-11T05:05:10.000Z
#! /usr/bin/env python ## Hey, Python: encoding=utf-8 # # Copyright (c) 2007 Adeodato Simó (dato@net.com.org.es) # Licensed under the terms of the MIT license. import justrok import justrok.main justrok.main.main()
19.727273
56
0.728111
35
217
4.514286
0.8
0.164557
0
0
0
0
0
0
0
0
0
0.026882
0.142857
217
10
57
21.7
0.822581
0.686636
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
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
1
0
1
0
0
0
0
2
ac9a9f1686fa0e6ce118f693af04318ebff6d8c4
1,099
py
Python
www/courses/cs1120/spring2017/code/day29.py
ic4f/sergey.cs.uni.edu
52bbf121f73603fdb465dae36dbe691fe39e6e47
[ "Unlicense" ]
null
null
null
www/courses/cs1120/spring2017/code/day29.py
ic4f/sergey.cs.uni.edu
52bbf121f73603fdb465dae36dbe691fe39e6e47
[ "Unlicense" ]
null
null
null
www/courses/cs1120/spring2017/code/day29.py
ic4f/sergey.cs.uni.edu
52bbf121f73603fdb465dae36dbe691fe39e6e47
[ "Unlicense" ]
null
null
null
def fadeIn(sound): length = getLength(sound) fade_factor = 0 fade_step = 1.0/length for s in getSamples(sound): value = getSampleValue(s) setSampleValue(s, value * fade_factor) fade_factor = fade_factor + fade_step def fadeInOut(sound): length = getLength(sound)...
26.804878
49
0.622384
134
1,099
4.985075
0.231343
0.164671
0.188623
0.179641
0.621257
0.595808
0.541916
0.541916
0.541916
0.541916
0
0.024142
0.283894
1,099
40
50
27.475
0.824651
0
0
0.411765
0
0
0
0
0
0
0
0
0
1
0.088235
false
0
0
0
0.117647
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
0
0
0
2
acb4a1ed95ade8d574cb4d81c6e586866029c1ef
464
py
Python
Notes/Sprint2/Stack_Array_Implementation.py
mark-morelos/CS_Notes
339c47ae5d7e678b7ac98d6d78857d016c611e38
[ "MIT" ]
1
2021-02-28T07:43:59.000Z
2021-02-28T07:43:59.000Z
Notes/Sprint2/Stack_Array_Implementation.py
mark-morelos/CS_Notes
339c47ae5d7e678b7ac98d6d78857d016c611e38
[ "MIT" ]
null
null
null
Notes/Sprint2/Stack_Array_Implementation.py
mark-morelos/CS_Notes
339c47ae5d7e678b7ac98d6d78857d016c611e38
[ "MIT" ]
1
2021-03-03T03:52:21.000Z
2021-03-03T03:52:21.000Z
# implement a stack using an array instead of Linked List # use this for pushing and popping items, as it's worst case is only O(1), and can be used in stressful situations for simple tasks class Stack: def __init__(self): self.items = [] def push(self, item): self.items.append(item) def ...
30.933333
131
0.640086
71
464
4.098592
0.704225
0.123711
0.089347
0
0
0
0
0
0
0
0
0.00597
0.278017
464
15
132
30.933333
0.862687
0.426724
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
accd6053455fef10d1a8ede9a640abe0036a8104
329
py
Python
django_comment_migrate/apps.py
helloygou/django-comment-migrate
1e700d97e0c5d9c1a07d84cebaa808d895679b27
[ "MIT" ]
null
null
null
django_comment_migrate/apps.py
helloygou/django-comment-migrate
1e700d97e0c5d9c1a07d84cebaa808d895679b27
[ "MIT" ]
null
null
null
django_comment_migrate/apps.py
helloygou/django-comment-migrate
1e700d97e0c5d9c1a07d84cebaa808d895679b27
[ "MIT" ]
null
null
null
from django.apps import AppConfig from django.db.models.signals import post_migrate from django_comment_migrate.db_comments import migrate_help_text_to_database class DjangoCommentMigrationConfig(AppConfig): name = "django_comment_migrate" def ready(self): post_migrate.connect(migrate_help_text_to_d...
27.416667
76
0.826748
43
329
5.976744
0.534884
0.116732
0.155642
0.132296
0.194553
0
0
0
0
0
0
0
0.121581
329
11
77
29.909091
0.889273
0
0
0
0
0
0.066869
0.066869
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.857143
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
0
1
0
0
2
acce07090372e328ab80b18afe36eeb4c2d435c1
93
py
Python
Baekjoon/Python/5522.py
KHJcode/Algorithm-study
fa08d3c752fcb3557fd45fb394157926afc0de4a
[ "MIT" ]
2
2020-05-23T01:55:38.000Z
2020-07-07T15:59:00.000Z
Baekjoon/Python/5522.py
KHJcode/Algorithm-study
fa08d3c752fcb3557fd45fb394157926afc0de4a
[ "MIT" ]
null
null
null
Baekjoon/Python/5522.py
KHJcode/Algorithm-study
fa08d3c752fcb3557fd45fb394157926afc0de4a
[ "MIT" ]
null
null
null
import sys score = 0 for _ in range(5): score += int(sys.stdin.readline()) print(score)
10.333333
36
0.655914
15
93
4
0.8
0
0
0
0
0
0
0
0
0
0
0.026667
0.193548
93
8
37
11.625
0.773333
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
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
2
acd4848a466a8e8c5136118d5a0f3ad9e8421a0f
786
py
Python
config.py
shal0618/WarewolfBERT
5ec0f32b9f3f68acc18b339dc32fc39621f2b223
[ "MIT" ]
null
null
null
config.py
shal0618/WarewolfBERT
5ec0f32b9f3f68acc18b339dc32fc39621f2b223
[ "MIT" ]
null
null
null
config.py
shal0618/WarewolfBERT
5ec0f32b9f3f68acc18b339dc32fc39621f2b223
[ "MIT" ]
null
null
null
class Config: seed = 116 device = 'cuda:0' n_epoch = 13 batch_size = 126 # max_len = 150 max_len = 22 lr = 1e-3 betas = (0.9, 0.98) vocab_size = 32000 num_head = 8 d_model = 768 num_layer = 6 d_ff = 2048 drop_rate = 0.1 max_grad_norm = 1.0 smoothing = 0...
21.833333
61
0.613232
124
786
3.645161
0.637097
0.061947
0.059735
0.079646
0.139381
0.139381
0
0
0
0
0
0.087189
0.284987
786
35
62
22.457143
0.717082
0.131043
0
0
0
0
0.217968
0.179676
0
0
0
0.028571
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
ace37bb026390d9f523665888bb4ffb3255c510a
933
py
Python
migrations/0012_operatingsystems.py
ercasta/CoderDojo-Mobile-Toolbox
94d9fb845923a5c698f4bdbe5c8ecedd68f3c0a1
[ "Apache-2.0" ]
4
2018-09-21T19:50:49.000Z
2018-09-22T10:57:23.000Z
migrations/0012_operatingsystems.py
ercasta/CoderDojo-Mobile-Toolbox
94d9fb845923a5c698f4bdbe5c8ecedd68f3c0a1
[ "Apache-2.0" ]
5
2018-07-17T17:04:58.000Z
2018-12-07T14:31:09.000Z
migrations/0012_operatingsystems.py
ercasta/CoderDojo-Mobile-Toolbox
94d9fb845923a5c698f4bdbe5c8ecedd68f3c0a1
[ "Apache-2.0" ]
1
2018-07-06T23:49:01.000Z
2018-07-06T23:49:01.000Z
# Generated by Django 2.0.6 on 2018-08-18 19:02 from django.db import migrations def create_os_names(apps, schema_editor): op_sys = apps.get_model('coderdojomobile', 'OperatingSystem') op_sys.objects.create( title='Windows 10', description='Windows 1...
32.172414
77
0.595927
105
933
5.161905
0.447619
0.055351
0.110701
0.166052
0.302583
0.302583
0.236162
0
0
0
0
0.047328
0.297964
933
28
78
33.321429
0.780153
0.048232
0
0.1
1
0
0.227273
0.038462
0
0
0
0
0
1
0.05
false
0
0.05
0
0.25
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ace397e9c47ef99814856640bede208111f2ad29
4,177
py
Python
app/grandchallenge/pages/migrations/0003_historicalpage.py
kaczmarj/grand-challenge.org
8dc8a2170e51072354f7e94f2a22578805a67b94
[ "Apache-2.0" ]
7
2016-11-05T07:16:30.000Z
2017-11-23T03:38:03.000Z
app/grandchallenge/pages/migrations/0003_historicalpage.py
kaczmarj/grand-challenge.org
8dc8a2170e51072354f7e94f2a22578805a67b94
[ "Apache-2.0" ]
113
2015-05-26T09:27:59.000Z
2018-03-21T10:45:56.000Z
app/grandchallenge/pages/migrations/0003_historicalpage.py
kaczmarj/grand-challenge.org
8dc8a2170e51072354f7e94f2a22578805a67b94
[ "Apache-2.0" ]
7
2015-07-16T20:11:22.000Z
2017-06-06T02:41:24.000Z
# Generated by Django 3.1.11 on 2021-06-01 10:00 import django.db.models.deletion import simple_history.models from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("challenges", "0006_auto_20210601_0802"), migrations.s...
35.398305
158
0.377544
280
4,177
5.464286
0.464286
0.029412
0.027451
0.043137
0.049673
0.049673
0.049673
0.049673
0
0
0
0.030117
0.531003
4,177
117
159
35.700855
0.750893
0.011013
0
0.333333
1
0.009009
0.153548
0.016227
0
0
0
0
0
1
0
false
0
0.036036
0
0.063063
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
acfd52a34ccdf1c8fb9baffbf0bb28067f6b99bf
16,050
py
Python
atom/proton/python/proton_api/models/retirement_calculator_expenses_request.py
sumit4-ttn/SDK
b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff
[ "Apache-2.0" ]
null
null
null
atom/proton/python/proton_api/models/retirement_calculator_expenses_request.py
sumit4-ttn/SDK
b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff
[ "Apache-2.0" ]
null
null
null
atom/proton/python/proton_api/models/retirement_calculator_expenses_request.py
sumit4-ttn/SDK
b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Hydrogen Proton API Financial engineering module of Hydrogen Atom # noqa: E501 OpenAPI spec version: 1.7.18 Contact: info@hydrogenplatform.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class Reti...
37.587822
304
0.669844
1,797
16,050
5.7468
0.080134
0.049579
0.190568
0.15687
0.686647
0.580227
0.486395
0.463349
0.31132
0.188148
0
0.019824
0.25514
16,050
426
305
37.676056
0.843998
0.340561
0
0.07
1
0
0.180335
0.024318
0
0
0
0
0
1
0.15
false
0
0.015
0
0.27
0.01
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
acfd8761a83b021585f391bc0cdb123880b135f3
1,700
py
Python
mylocation/migrations/0005_auto_20160216_1419.py
chadgates/locmaster
2a607341d3444996e24b048bfb5245174aedd45d
[ "BSD-3-Clause" ]
null
null
null
mylocation/migrations/0005_auto_20160216_1419.py
chadgates/locmaster
2a607341d3444996e24b048bfb5245174aedd45d
[ "BSD-3-Clause" ]
null
null
null
mylocation/migrations/0005_auto_20160216_1419.py
chadgates/locmaster
2a607341d3444996e24b048bfb5245174aedd45d
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-02-16 14:19 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mylocation', '0004_delete_portterminal'), ] operations = [ migrations.Rename...
30.357143
77
0.570588
158
1,700
5.968354
0.392405
0.076352
0.169671
0.21527
0.630965
0.455992
0.362672
0.311771
0
0
0
0.029966
0.312941
1,700
55
78
30.909091
0.777397
0.039412
0
0.479167
1
0
0.158282
0.014724
0
0
0
0
0
1
0
false
0
0.041667
0
0.104167
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4a013d15be658043b8473ea44f1aad0183bf5d4c
246
py
Python
Leetcode/0754. Reach a Number/0754.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0754. Reach a Number/0754.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0754. Reach a Number/0754.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution: def reachNumber(self, target: int) -> int: ans = 0 pos = 0 target = abs(target) while pos < target: ans += 1 pos += ans while (pos - target) & 1: ans += 1 pos += ans return ans
15.375
44
0.504065
32
246
3.875
0.4375
0.129032
0.225806
0.16129
0
0
0
0
0
0
0
0.032895
0.382114
246
15
45
16.4
0.782895
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.25
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
0
0
0
2
4a0d2ee07b836a14eb9a96a7de93413081162962
1,156
py
Python
2016_ice-ctf/intercept-convo-2-crypto/brute-reverse-indexes.py
Skinner927/ctf_history
97cc65ccd1e1f6e7f94b12be467dc5f236799c1b
[ "Unlicense" ]
null
null
null
2016_ice-ctf/intercept-convo-2-crypto/brute-reverse-indexes.py
Skinner927/ctf_history
97cc65ccd1e1f6e7f94b12be467dc5f236799c1b
[ "Unlicense" ]
null
null
null
2016_ice-ctf/intercept-convo-2-crypto/brute-reverse-indexes.py
Skinner927/ctf_history
97cc65ccd1e1f6e7f94b12be467dc5f236799c1b
[ "Unlicense" ]
null
null
null
import random import base64 import os P = [27, 35, 50, 11, 8, 20, 44, 30, 6, 1, 5, 2, 33, 16, 36, 64, 3, 61, 54, 25, 12, 21, 26, 10, 57, 53, 38, 56, 58, 37, 43, 17, 42, 47, 4, 14, 7, 46, 34, 19, 23, 40, 63, 18, 45, 60, 13, 15, 22, 9, 62, 51, 32, 55, 29, 24, 41, 39, 49, 52, 48, 28, 31, 59] S = [68, 172, 225, 210, 148, 1...
44.461538
300
0.524221
244
1,156
2.422131
0.540984
0.071066
0.076142
0.067682
0.13198
0.081218
0.05753
0
0
0
0
0.359003
0.236159
1,156
26
301
44.461538
0.310306
0
0
0.130435
0
0
0.036301
0
0
0
0
0
0
1
0
false
0
0.130435
0
0.130435
0.26087
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
0
0
0
0
0
2
4a0fdb3de9430e7e755b8253ddb7801bb34288bf
2,696
py
Python
app/tests/exo_currency/test_commands.py
jcazallasc/exo-investing
c32900dd2fd426a15f3b02389d75b51427e5df66
[ "MIT" ]
null
null
null
app/tests/exo_currency/test_commands.py
jcazallasc/exo-investing
c32900dd2fd426a15f3b02389d75b51427e5df66
[ "MIT" ]
null
null
null
app/tests/exo_currency/test_commands.py
jcazallasc/exo-investing
c32900dd2fd426a15f3b02389d75b51427e5df66
[ "MIT" ]
null
null
null
import csv from unittest.mock import patch from django.core.management import call_command from django.test import TestCase from exo_currency.models import Currency, CurrencyExchangeRate, Provider from exo_currency.utils import CURRENCY_EXCHANGER_PROVIDERS class CommandsTestCase(TestCase): def _get_num_lines_f...
31.717647
88
0.714021
334
2,696
5.461078
0.176647
0.04989
0.074013
0.0625
0.759868
0.75
0.719846
0.689693
0.619518
0.587719
0
0.001844
0.195475
2,696
84
89
32.095238
0.839096
0.139837
0
0.595238
0
0
0.098993
0.016645
0
0
0
0
0.142857
1
0.166667
false
0
0.142857
0
0.357143
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
0
0
0
0
0
0
0
0
0
0
2
4a11f73e01157fb86d2cd1fbcc1c489543df10e1
3,049
py
Python
api/app/schemas/weather_models.py
bcgov/wps
71df0de72de9cd656dc9ebf8461ffe47cfb155f6
[ "Apache-2.0" ]
19
2020-01-31T21:51:31.000Z
2022-01-07T14:40:03.000Z
api/app/schemas/weather_models.py
bcgov/wps
71df0de72de9cd656dc9ebf8461ffe47cfb155f6
[ "Apache-2.0" ]
1,680
2020-01-24T23:25:08.000Z
2022-03-31T23:50:27.000Z
api/app/schemas/weather_models.py
bcgov/wps
71df0de72de9cd656dc9ebf8461ffe47cfb155f6
[ "Apache-2.0" ]
6
2020-04-28T22:41:08.000Z
2021-05-05T18:16:06.000Z
""" This module contains pydandict schemas relating to weather models for the API. """ from datetime import datetime from typing import List from pydantic import BaseModel from app.schemas.stations import WeatherStation class WeatherPredictionModel(BaseModel): """ The full name & acronym for a weather prediction ...
30.188119
108
0.750738
321
3,049
7.015576
0.311526
0.031972
0.026643
0.014654
0.114565
0.062167
0.062167
0.062167
0
0
0
0.0056
0.180059
3,049
100
109
30.49
0.8952
0.274188
0
0.285714
0
0
0
0
0
0
0
0
0
1
0
true
0
0.071429
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
4a1a7058a8ffe5b60680836ac2a1f0dc268ff553
525
py
Python
Build_Web_With_Flask/Building web applications with Flask_Code/chapter10/chapter10/fabfile.py
abacuspix/NFV_project
f5585a6750119b1f954fea65c37a14badad1fd62
[ "MIT" ]
null
null
null
Build_Web_With_Flask/Building web applications with Flask_Code/chapter10/chapter10/fabfile.py
abacuspix/NFV_project
f5585a6750119b1f954fea65c37a14badad1fd62
[ "MIT" ]
null
null
null
Build_Web_With_Flask/Building web applications with Flask_Code/chapter10/chapter10/fabfile.py
abacuspix/NFV_project
f5585a6750119b1f954fea65c37a14badad1fd62
[ "MIT" ]
null
null
null
# coding:utf-8 from fabric.api import * from fabric.contrib.files import exists env.linewise = True # forward_agent allows you to git pull from your repository # if you have your ssh key setup env.forward_agent = True env.hosts = ['your.host.ip.address'] def create_project(): if not exists('~/project'): ...
20.192308
59
0.678095
78
525
4.512821
0.641026
0.056818
0.073864
0
0
0
0
0
0
0
0
0.002347
0.188571
525
25
60
21
0.823944
0.241905
0
0
0
0
0.32381
0.052381
0
0
0
0
0
1
0.214286
true
0
0.142857
0
0.357143
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
1
0
0
0
0
0
0
2
4a27ea920e7dc49afdce00257497b306e2048fa2
196
py
Python
als_to_midi/__init__.py
kovaacs/als_to_midi
116b7a5a55f140b2a5e18402a188bc74e7bd5748
[ "MIT" ]
null
null
null
als_to_midi/__init__.py
kovaacs/als_to_midi
116b7a5a55f140b2a5e18402a188bc74e7bd5748
[ "MIT" ]
null
null
null
als_to_midi/__init__.py
kovaacs/als_to_midi
116b7a5a55f140b2a5e18402a188bc74e7bd5748
[ "MIT" ]
null
null
null
import datetime __author__ = "Marcell Kovacs" __author_email__ = "me@marcellkovacs.com" __version__ = datetime.datetime.now().strftime('%y.%m.%d') __description__ = "Extract MIDI from ALS files"
28
58
0.765306
24
196
5.541667
0.875
0
0
0
0
0
0
0
0
0
0
0
0.102041
196
6
59
32.666667
0.755682
0
0
0
0
0
0.352041
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c59229f111352b16cdf7951d677effe94625d27e
19,053
py
Python
tests/pipes/test_pd.py
inside-track/pemi
b2b4ca731ebb3c812fc4ad64c3046e0f8e5a5b0f
[ "MIT" ]
5
2018-07-17T11:41:17.000Z
2020-09-29T08:17:08.000Z
tests/pipes/test_pd.py
inside-track/pemi
b2b4ca731ebb3c812fc4ad64c3046e0f8e5a5b0f
[ "MIT" ]
6
2018-03-25T21:38:28.000Z
2019-02-15T23:24:56.000Z
tests/pipes/test_pd.py
inside-track/pemi
b2b4ca731ebb3c812fc4ad64c3046e0f8e5a5b0f
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import pytest import factory import pemi import pemi.data import pemi.testing as pt import pemi.pipes.pd from pemi.fields import * class KeyFactory(factory.Factory): class Meta: model = dict id = factory.Sequence('k{}'.format) def generate_scenario(name, pipe):...
30.194929
93
0.451005
1,823
19,053
4.586945
0.106418
0.016503
0.015068
0.046759
0.780196
0.748744
0.70641
0.67723
0.645779
0.590409
0
0.015737
0.399675
19,053
630
94
30.242857
0.715335
0.012491
0
0.563981
0
0
0.11016
0
0
0
0
0
0.021327
1
0.030806
false
0
0.021327
0.00237
0.075829
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
0
0
0
0
0
0
0
0
0
0
2
c5a388a5f793c26c0957fc49da7321f8cfc58806
800
py
Python
kicker/train/converter.py
KI-cker/Ki-cker
b48ae75bfeea970940ad657c73d71438531259c6
[ "Apache-2.0" ]
null
null
null
kicker/train/converter.py
KI-cker/Ki-cker
b48ae75bfeea970940ad657c73d71438531259c6
[ "Apache-2.0" ]
14
2018-02-21T17:58:33.000Z
2022-03-11T23:16:09.000Z
kicker/train/converter.py
KI-cker/Ki-cker
b48ae75bfeea970940ad657c73d71438531259c6
[ "Apache-2.0" ]
1
2018-02-22T09:28:26.000Z
2018-02-22T09:28:26.000Z
import numpy as np import cv2 from kicker.image import Analyzer class Converter: def __init__(self, parser, game, shape=(320, 480)): self.parser = parser self.game = game self.shape = shape self.analyzer = Analyzer(self.parser.get_config(self.game)) def get_table_frame(self,...
28.571429
67
0.66125
112
800
4.535714
0.366071
0.098425
0.076772
0.066929
0
0
0
0
0
0
0
0.017886
0.23125
800
27
68
29.62963
0.80813
0
0
0
0
0
0.005
0
0
0
0
0
0
1
0.210526
false
0
0.157895
0.052632
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
0
1
0
0
2
c5a6f4603c4d19c3b7b432b00338932f1b05d52e
674
py
Python
preprocessing/audio/spectrogram.py
tagny/iLID
38f5dcae0dc84fd9b78e170748aa38cd8f524c70
[ "MIT" ]
90
2016-02-19T12:37:20.000Z
2022-02-25T19:52:46.000Z
preprocessing/audio/spectrogram.py
vyas97/iLID
4d124b76fdbc37fbafd12e860281a4bc3ddf87d9
[ "MIT" ]
7
2017-03-24T04:12:09.000Z
2020-06-16T11:27:54.000Z
preprocessing/audio/spectrogram.py
vyas97/iLID
4d124b76fdbc37fbafd12e860281a4bc3ddf87d9
[ "MIT" ]
31
2016-02-01T12:52:51.000Z
2021-08-16T04:27:59.000Z
import scipy.signal import numpy as np def _spectrogram(samplerate, signal, window="hamming", winlen=0.02, winstep=0.01, nfft=512): nperseg = int(winlen * samplerate) noverlap = int(winstep * samplerate) f, t, Sxx = scipy.signal.spectrogram(signal, samplerate, window, nperseg=nperseg, noverlap=noverlap, nfft=nff...
42.125
126
0.715134
99
674
4.818182
0.353535
0.100629
0.138365
0.18239
0.392034
0.392034
0.392034
0.392034
0.392034
0.392034
0
0.066781
0.133531
674
15
127
44.933333
0.75
0
0
0
0
0
0.03125
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
c5b6a33b34f36baf897921571aa9153f0a36cf16
850
py
Python
src/h3_pyspark/traversal.py
kevinschaich/h3-pyspark
dffe8e1dea5d99b0b121cc9282f650a2a262ae72
[ "Apache-2.0" ]
8
2021-11-25T05:06:16.000Z
2022-03-25T18:39:53.000Z
src/h3_pyspark/traversal.py
kevinschaich/h3-pyspark
dffe8e1dea5d99b0b121cc9282f650a2a262ae72
[ "Apache-2.0" ]
4
2022-02-15T19:28:19.000Z
2022-03-04T16:32:51.000Z
src/h3_pyspark/traversal.py
kevinschaich/h3-pyspark
dffe8e1dea5d99b0b121cc9282f650a2a262ae72
[ "Apache-2.0" ]
2
2022-02-14T22:08:05.000Z
2022-02-17T19:50:40.000Z
import h3 from pyspark.sql import functions as F, types as T from pyspark.sql.column import Column from typing import List from .utils import handle_nulls def _k_ring_distinct(cells: List[str], distance: int = 1): """ Perform a k-ring operation on every input cell and return the distinct set of output cells. ...
31.481481
119
0.724706
138
850
4.347826
0.398551
0.05
0.065
0.09
0.353333
0.353333
0.353333
0.246667
0.246667
0.246667
0
0.00578
0.185882
850
26
120
32.692308
0.861272
0.352941
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.384615
0
0.692308
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
0
1
0
0
2
c5b730f5053a20f2a1445e83f9778ff95f884504
698
py
Python
Dataset/Leetcode/valid/3/172.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/3/172.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/3/172.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, s: str) -> int: long_str = '' #记录字符串 longest_str_len = 0 #记录最长字符串的长度 for i in s: #循环数组 if i not in long_str: #如果元素i不在long_str,那么long_str就加上元素i long_str += i else: #如果元素i在long_str中 if len(long_str) > longe...
38.777778
88
0.574499
90
698
4.177778
0.477778
0.167553
0.207447
0.06383
0.255319
0.255319
0.255319
0.255319
0.255319
0.255319
0
0.006452
0.333811
698
17
89
41.058824
0.802151
0.253582
0
0.285714
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
2
c5cbe0b89638494a70a41668e84111577b688a54
1,484
py
Python
models.py
Zevrov/flask-todo
0076cabe6c966013352399db5c939c5f4862b361
[ "MIT" ]
1
2021-10-13T06:35:38.000Z
2021-10-13T06:35:38.000Z
models.py
Zevrov/flask-todo
0076cabe6c966013352399db5c939c5f4862b361
[ "MIT" ]
null
null
null
models.py
Zevrov/flask-todo
0076cabe6c966013352399db5c939c5f4862b361
[ "MIT" ]
null
null
null
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField from wtforms.validators import InputRequired, Email, Length from flask_login import UserMixin app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlit...
42.4
110
0.735175
189
1,484
5.698413
0.322751
0.07428
0.092851
0.07428
0.367688
0.367688
0.319406
0.319406
0.319406
0.319406
0
0.01926
0.125337
1,484
35
111
42.4
0.810478
0
0
0.2
0
0
0.089562
0.03569
0
0
0
0
0
1
0
false
0.133333
0.2
0
0.866667
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
0
0
1
0
0
2
c5ded405e4d7e6c4243f5d649c7a9867240694de
654
py
Python
05 - Basics of lists, keyboard control/exercises/lists_add.py
PableraShow/python-exercises
e1648fd42f3009ec6fb1e2096852b6d399e91d5b
[ "MIT" ]
8
2018-10-01T17:35:57.000Z
2022-02-01T08:12:12.000Z
05 - Basics of lists, keyboard control/exercises/lists_add.py
PableraShow/python-exercises
e1648fd42f3009ec6fb1e2096852b6d399e91d5b
[ "MIT" ]
null
null
null
05 - Basics of lists, keyboard control/exercises/lists_add.py
PableraShow/python-exercises
e1648fd42f3009ec6fb1e2096852b6d399e91d5b
[ "MIT" ]
6
2018-07-22T19:15:21.000Z
2022-02-05T07:54:58.000Z
""" Write a function add_vector(v, w) that takes two 2D vectors v and w (represented as lists) and returns a new 2D vector (represented as a list) that is the sum of the two vectors. Remember that vector addition is performed independently on each corresponding element of the lists. Hint: returning v + w does not work....
21.096774
63
0.649847
118
654
3.559322
0.449153
0.107143
0.1
0.052381
0
0
0
0
0
0
0
0.054054
0.207951
654
31
64
21.096774
0.756757
0.165138
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.571429
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
1
0
0
0
0
0
0
1
0
2
c5e4bdf18763562689c51d29f9ccb3ae7c5fe029
484
py
Python
mmelemental/models/forcefield/nonbonded/base.py
MolSSI/MMElemental
b134ca250402fbcec7289f37d8c073096f3ea82e
[ "BSD-3-Clause" ]
6
2020-10-07T22:46:48.000Z
2021-03-29T22:48:24.000Z
mmelemental/models/forcefield/nonbonded/base.py
MolSSI/MMElemental
b134ca250402fbcec7289f37d8c073096f3ea82e
[ "BSD-3-Clause" ]
5
2020-11-03T16:37:40.000Z
2021-04-07T01:35:14.000Z
mmelemental/models/forcefield/nonbonded/base.py
MolSSI/mmelemental
8f40e38d399a9299d864930e2bf34ed3a0a7c5a6
[ "BSD-3-Clause" ]
2
2021-06-07T07:23:11.000Z
2021-09-04T01:32:58.000Z
from mmelemental.models.forcefield.params import Params from pydantic import Field from typing import Optional import os import pathlib __all__ = ["NonBonded"] class NonBonded(Params): """Model that describes non-bonded interactions between particles.""" _path = os.path.join(pathlib.Path(__file__).parent.ab...
28.470588
88
0.739669
57
484
6.105263
0.684211
0.086207
0
0
0
0
0
0
0
0
0
0
0.150826
484
16
89
30.25
0.846715
0.130165
0
0
0
0
0.185542
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c5e71ff3d4e672246be417083ba0849b3131163f
731
py
Python
rplugin/python3/deorise/util.py
gitter-badger/deorise.nvim
d42807471262a96c4011c889e3279e4914c4bf69
[ "MIT" ]
35
2017-01-04T01:32:07.000Z
2022-03-26T23:22:21.000Z
rplugin/python3/deorise/util.py
gitter-badger/deorise.nvim
d42807471262a96c4011c889e3279e4914c4bf69
[ "MIT" ]
null
null
null
rplugin/python3/deorise/util.py
gitter-badger/deorise.nvim
d42807471262a96c4011c889e3279e4914c4bf69
[ "MIT" ]
1
2020-12-04T11:25:05.000Z
2020-12-04T11:25:05.000Z
# ============================================================================ # FILE: util.py # AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com> # License: MIT license # ============================================================================ import typing from pynvim import Nvim UserContext = typing.Dict[s...
27.074074
78
0.492476
77
731
4.662338
0.623377
0.058496
0.077994
0.100279
0
0
0
0
0
0
0
0.003373
0.188782
731
26
79
28.115385
0.602024
0.432285
0
0
0
0
0.163158
0.063158
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.555556
0.111111
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
0
1
0
0
2
c5e7477755a0053d6e8dca4c6e55f15235d30df8
1,288
py
Python
tricircleclient/v1/client.py
electrocucaracha/python-tricircleclient
27bfddea9d3d13670b4aae40698b88751633132f
[ "Apache-2.0" ]
null
null
null
tricircleclient/v1/client.py
electrocucaracha/python-tricircleclient
27bfddea9d3d13670b4aae40698b88751633132f
[ "Apache-2.0" ]
null
null
null
tricircleclient/v1/client.py
electrocucaracha/python-tricircleclient
27bfddea9d3d13670b4aae40698b88751633132f
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
39.030303
78
0.697981
168
1,288
5.309524
0.553571
0.067265
0.070628
0.090807
0.058296
0.058296
0
0
0
0
0
0.008982
0.22205
1,288
32
79
40.25
0.881238
0.559783
0
0
0
0
0.016886
0
0
0
0
0
0
1
0.090909
false
0
0.363636
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
0
1
0
1
0
0
2
c5ea8791acdd604cda641a25ba264d8b8e36efc9
78
py
Python
list1.py
abkumarggn/python-learning-1
df45396cd14f5762053728760953b3806d0069b6
[ "Apache-2.0" ]
null
null
null
list1.py
abkumarggn/python-learning-1
df45396cd14f5762053728760953b3806d0069b6
[ "Apache-2.0" ]
null
null
null
list1.py
abkumarggn/python-learning-1
df45396cd14f5762053728760953b3806d0069b6
[ "Apache-2.0" ]
null
null
null
from array import array scores = array('d') scores.append(100) print(scores)
13
23
0.74359
12
78
4.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0.044118
0.128205
78
6
24
13
0.808824
0
0
0
0
0
0.012658
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c5ef49deb0ce05d34de668e0fedff35aa5b4c8ed
3,585
py
Python
nmt/model/common.py
bingrao/learning-bugs
3c405f3473f431159fa2cc08fd535e2b7c5e1dfd
[ "MIT" ]
null
null
null
nmt/model/common.py
bingrao/learning-bugs
3c405f3473f431159fa2cc08fd535e2b7c5e1dfd
[ "MIT" ]
null
null
null
nmt/model/common.py
bingrao/learning-bugs
3c405f3473f431159fa2cc08fd535e2b7c5e1dfd
[ "MIT" ]
null
null
null
import copy import torch import torch.nn as nn import torch.nn.functional as F """ Reference Resource about Simple layers https://nn.readthedocs.io/en/rtd/simple/index.html """ def clones(module, N): """ Produce N identical layers. """ return nn.ModuleList([copy.deepcopy(module) for _ in ran...
36.212121
102
0.635425
487
3,585
4.552361
0.365503
0.039693
0.019847
0.027064
0.092918
0.053225
0.033378
0.033378
0
0
0
0.018643
0.251883
3,585
98
103
36.581633
0.807979
0.372385
0
0.119048
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.095238
0.02381
0.52381
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
0
1
0
0
2
c5f132ede31170c0dc2112d041773ea5162ab86b
944
py
Python
src/mmgroup/structures/order_vector_data.py
Martin-Seysen/mmgroup
6acd566f1079e7e27eec76352477fbba39eeb65f
[ "MIT" ]
14
2020-07-10T20:12:05.000Z
2022-03-10T13:46:59.000Z
src/mmgroup/structures/order_vector_data.py
Martin-Seysen/mmgroup
6acd566f1079e7e27eec76352477fbba39eeb65f
[ "MIT" ]
1
2022-03-09T07:05:04.000Z
2022-03-18T20:17:11.000Z
src/mmgroup/structures/order_vector_data.py
Martin-Seysen/mmgroup
6acd566f1079e7e27eec76352477fbba39eeb65f
[ "MIT" ]
1
2022-02-07T21:08:00.000Z
2022-02-07T21:08:00.000Z
# This file has been created automatically, do not change! # For documentation see module mmgroup.structures.find_order_vector.py. S_G71 = "M0<t_1*l_1*y_0d8h*x_1973h*d_15bh*p_80797417>" S_V71 = "MV<3;-T_195_30h-T_505_0h-X_8fh_5-X_25ch_5+X_632h_1>" S_GA = "M0<d_558h*p_214180475*l_1*d_376h*p_240307562*l_1*d_3h*p_2094...
27.764706
77
0.753178
158
944
4.170886
0.71519
0.015175
0.009105
0
0
0
0
0
0
0
0
0.480583
0.127119
944
33
78
28.606061
0.319175
0.133475
0
0
0
0.052632
0.334152
0.334152
0
0
0.398034
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c5f2e3aaa774b947c6726b5a3c12459b207c8d1a
524
py
Python
noted_users/users/jwt/serializers.py
jsgilberto/noted-users-service
36ebc8e461b979887812f8e3a5192bbc9cda592c
[ "MIT" ]
null
null
null
noted_users/users/jwt/serializers.py
jsgilberto/noted-users-service
36ebc8e461b979887812f8e3a5192bbc9cda592c
[ "MIT" ]
null
null
null
noted_users/users/jwt/serializers.py
jsgilberto/noted-users-service
36ebc8e461b979887812f8e3a5192bbc9cda592c
[ "MIT" ]
null
null
null
from rest_framework import serializers from rest_framework_simplejwt.tokens import UntypedToken from noted_users.users.models import User import jwt class TokenVerifySerializer(serializers.Serializer): token = serializers.CharField() def validate(self, attrs): UntypedToken(attrs['token']) tok...
29.111111
56
0.709924
63
524
5.746032
0.47619
0.066298
0.093923
0
0
0
0
0
0
0
0
0
0.204198
524
18
57
29.111111
0.868106
0.041985
0
0
0
0
0.047904
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c5f9c33287618448fc586a0b20b2e6193ce8617e
412
py
Python
celery_bungiesearch/tasks/celerybungie.py
afrancis13/celery-bungiesearch
412f02845a4bd249b6cd48de1313b04b8c186710
[ "MIT" ]
6
2015-07-08T17:01:43.000Z
2017-05-19T16:06:49.000Z
celery_bungiesearch/tasks/celerybungie.py
afrancis13/celery-bungiesearch
412f02845a4bd249b6cd48de1313b04b8c186710
[ "MIT" ]
11
2015-08-04T08:26:01.000Z
2021-06-10T17:49:34.000Z
celery_bungiesearch/tasks/celerybungie.py
afrancis13/celery-bungiesearch
412f02845a4bd249b6cd48de1313b04b8c186710
[ "MIT" ]
6
2015-08-07T12:55:05.000Z
2016-03-11T15:21:52.000Z
from django.conf import settings from ..utils import get_celery_task CeleryTask = get_celery_task() class CeleryBungieTask(CeleryTask): refresh = False def delay(self, *args, **kwargs): if hasattr(settings, 'CELERY_BUNGIESEARCH_QUEUE') and 'queue' not in kwargs: kwargs['queue'] = setti...
24.235294
84
0.711165
48
412
5.9375
0.5625
0.063158
0.091228
0.217544
0
0
0
0
0
0
0
0
0.186893
412
16
85
25.75
0.850746
0
0
0
0
0
0.084951
0.06068
0
0
0
0
0
1
0.111111
false
0
0.222222
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
0
0
0
0
0
1
0
0
2
68034039ecd851faabaad0980d24a7084a219e38
1,084
py
Python
conditions/migrations/0004_auto_20190903_0607.py
surajsjain/smart-aquaponics-backend
f4361bc9511f71be8e969c29773f464b4cf6440f
[ "MIT" ]
4
2019-11-14T15:28:20.000Z
2021-03-26T04:43:43.000Z
conditions/migrations/0004_auto_20190903_0607.py
surajsjain/smart-aquaponics-backend
f4361bc9511f71be8e969c29773f464b4cf6440f
[ "MIT" ]
7
2020-06-05T22:46:25.000Z
2022-02-10T09:37:55.000Z
conditions/migrations/0004_auto_20190903_0607.py
surajsjain/smart-aquaponics-backend
f4361bc9511f71be8e969c29773f464b4cf6440f
[ "MIT" ]
2
2020-02-21T06:05:30.000Z
2021-03-26T04:43:48.000Z
# Generated by Django 2.2.4 on 2019-09-03 06:07 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('conditions', '0003_auto_20190902_0608'), ] operations = [ migrations.AlterField( model_name='fishfeeding', ...
30.971429
96
0.592251
111
1,084
5.720721
0.414414
0.125984
0.15748
0.182677
0.440945
0.440945
0.440945
0.440945
0.440945
0.440945
0
0.122423
0.284133
1,084
34
97
31.882353
0.695876
0.041513
0
0.428571
1
0
0.112825
0.022179
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
680cdeba415da5fb43b8a8061dc4c021407590b5
1,098
py
Python
limix/io/__init__.py
fpcasale/limix
a6bc2850f243fe779991bb53a24ddbebe0ab74d2
[ "Apache-2.0" ]
null
null
null
limix/io/__init__.py
fpcasale/limix
a6bc2850f243fe779991bb53a24ddbebe0ab74d2
[ "Apache-2.0" ]
null
null
null
limix/io/__init__.py
fpcasale/limix
a6bc2850f243fe779991bb53a24ddbebe0ab74d2
[ "Apache-2.0" ]
null
null
null
r""" ********** I/O module ********** PLINK reader ^^^^^^^^^^^^ .. autofunction:: limix.io.read_plink HDF5 reader ^^^^^^^^^^^ .. :autoclass:: limix.io.h5data_fetcher CSV reader ^^^^^^^^^^ .. autofunction:: limix.io.read_csv GEN reader ^^^^^^^^^^ .. autofunction:: limix.io.read_gen """ from . import examples f...
18.3
71
0.67122
143
1,098
4.937063
0.230769
0.084986
0.090652
0.106232
0.280453
0.157224
0.157224
0.110482
0
0
0
0.007568
0.157559
1,098
59
72
18.610169
0.755676
0.258652
0
0
0
0
0.132919
0
0
0
0
0
0
1
0.12
false
0
0.52
0
0.76
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
0
1
0
0
2
6813426811c50c970564a0c887010654a33acd3d
743
py
Python
RLBench/algo/__init__.py
ZXspectrumZ80/The-RL-works
73b27b528bb382536ba1d233b4b3c04f7ac993d0
[ "MIT" ]
19
2017-04-05T09:42:20.000Z
2021-03-26T00:56:43.000Z
SafeRLBench/algo/__init__.py
befelix/Safe-RL-Benchmark
6a126f215c3d72e2d56d5b516087f820554ad9c8
[ "MIT" ]
null
null
null
SafeRLBench/algo/__init__.py
befelix/Safe-RL-Benchmark
6a126f215c3d72e2d56d5b516087f820554ad9c8
[ "MIT" ]
5
2017-10-16T10:58:33.000Z
2018-11-14T14:13:42.000Z
"""Algorithm Module. =================== ========================================= Algorithm ============================================================= A3C Asynchronous Actor-Critic Agents PolicyGradient Different Policy Gradient Implementations DiscreteQLearning Q-Learning using a table Safe...
35.380952
67
0.562584
53
743
7.792453
0.509434
0.043584
0
0
0
0
0
0
0
0
0
0.006349
0.152086
743
20
68
37.15
0.649206
0.658143
0
0
0
0
0.214575
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
a856e5474db5d50ea5362ab481d0098827d3d377
2,907
py
Python
tests/egat/test_test_loader.py
egineering-llc/egat
63a172276b554ae1c7d0f13ba305881201c49d55
[ "MIT" ]
4
2016-01-15T13:23:59.000Z
2020-07-01T19:00:51.000Z
tests/egat/test_test_loader.py
egineering-llc/egat
63a172276b554ae1c7d0f13ba305881201c49d55
[ "MIT" ]
null
null
null
tests/egat/test_test_loader.py
egineering-llc/egat
63a172276b554ae1c7d0f13ba305881201c49d55
[ "MIT" ]
5
2015-09-17T17:56:12.000Z
2019-02-11T16:19:18.000Z
import unittest from egat.test_loader import TestLoader from tests.dummy_modules.mod1 import ModuleOneHalf from tests.dummy_modules.mod1 import ModuleTwoHalves from tests.dummy_modules.bars.testset_subclass import TestSetSubclass from tests.dummy_modules.bars.testset_subclass_subclass import TestSetSubclassSubclass fro...
38.76
89
0.738906
309
2,907
6.776699
0.297735
0.052531
0.089303
0.071633
0.247851
0.182904
0.106017
0
0
0
0
0.002101
0.181287
2,907
74
90
39.283784
0.877731
0.292742
0
0.159091
0
0
0.130906
0.121555
0
0
0
0
0.136364
1
0.113636
false
0.159091
0.181818
0
0.522727
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
0
0
1
0
0
2
a85e7ba9cdccdb449b888b096350946caaa171a6
4,062
py
Python
migrations/versions/73444ac2fe72_product_property_note.py
anjinkristou/assistor
02d9b826b9d8844d475c11c33db48cf278282183
[ "MIT" ]
1
2022-01-29T14:00:32.000Z
2022-01-29T14:00:32.000Z
migrations/versions/73444ac2fe72_product_property_note.py
anjinkristou/assistor
02d9b826b9d8844d475c11c33db48cf278282183
[ "MIT" ]
null
null
null
migrations/versions/73444ac2fe72_product_property_note.py
anjinkristou/assistor
02d9b826b9d8844d475c11c33db48cf278282183
[ "MIT" ]
null
null
null
"""Product Property Note Revision ID: 73444ac2fe72 Revises: 5a66c1c14edf Create Date: 2021-11-12 15:09:09.280769 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '73444ac2fe72' down_revision = '5a66c1c14edf' branch_labels = None depends_on = None def upgrade()...
39.436893
75
0.667159
496
4,062
5.360887
0.163306
0.120346
0.17375
0.195562
0.705904
0.70252
0.62956
0.592328
0.456187
0.411057
0
0.013773
0.142048
4,062
102
76
39.823529
0.749211
0.074594
0
0.392857
0
0
0.187265
0.005911
0
0
0
0
0
1
0.02381
false
0
0.02381
0
0.047619
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a8602c01085b8fd8562bc502769e5a5468be85d4
199
py
Python
optstoicpy/script/__init__.py
ChiamYu/optstoic-python
46af07c7e29bebdec5bc3dad372e72f66219fe5a
[ "MIT" ]
2
2019-05-15T11:30:44.000Z
2020-09-17T19:01:32.000Z
optstoicpy/script/__init__.py
ChiamYu/optstoic-python
46af07c7e29bebdec5bc3dad372e72f66219fe5a
[ "MIT" ]
null
null
null
optstoicpy/script/__init__.py
ChiamYu/optstoic-python
46af07c7e29bebdec5bc3dad372e72f66219fe5a
[ "MIT" ]
4
2019-05-18T09:03:03.000Z
2020-11-26T23:35:29.000Z
import sys import os sys.path.append('../') current_dir = os.path.dirname(os.path.abspath(__file__)) DATA_DIR = os.path.normpath(os.path.join( current_dir, '../data/', 'optstoic_db_v3'))
24.875
57
0.683417
30
199
4.233333
0.533333
0.188976
0.141732
0
0
0
0
0
0
0
0
0.00578
0.130653
199
7
58
28.428571
0.728324
0
0
0
0
0
0.130208
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
a863ea412ca26f88150c3fd63d8226ca09da6cfa
361
py
Python
test/saveredis.py
fairyly/python3_spider_code
a34f17f92c802b9cf9f2b50631b79864caf22740
[ "MIT" ]
null
null
null
test/saveredis.py
fairyly/python3_spider_code
a34f17f92c802b9cf9f2b50631b79864caf22740
[ "MIT" ]
null
null
null
test/saveredis.py
fairyly/python3_spider_code
a34f17f92c802b9cf9f2b50631b79864caf22740
[ "MIT" ]
null
null
null
# redis 储存 from redis import StrictRedis # 连接 redis redis = StrictRedis(host='localhost', port=6379, db=0, password='') redis.set('name','test') print(redis.get('name')) # 使用 ConnectionPool 连接 # from redis import StrictRedis, ConnectionPool # pool = ConnectionPool(host='localhost', port=6379, db=0, password='') # ...
24.066667
71
0.731302
47
361
5.595745
0.468085
0.068441
0.114068
0.197719
0.281369
0.281369
0.281369
0.281369
0
0
0
0.031447
0.119114
361
15
72
24.066667
0.795597
0.542936
0
0
0
0
0.132075
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.25
0.25
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
a87644b2803415012cc68f0d080c6b385eb08fb7
2,889
py
Python
lmnet/lmnet/metrics/metrics.py
takecore/blueoil
ae3001f4c5cdf1023371fa065898adbc6fcd1d33
[ "Apache-2.0" ]
1
2019-10-09T04:41:02.000Z
2019-10-09T04:41:02.000Z
lmnet/lmnet/metrics/metrics.py
OscarWang114/blueoil
f1835b6f82b4c54725a0be0744708612399edb45
[ "Apache-2.0" ]
null
null
null
lmnet/lmnet/metrics/metrics.py
OscarWang114/blueoil
f1835b6f82b4c54725a0be0744708612399edb45
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2018 The Blueoil Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/license...
41.869565
99
0.715126
414
2,889
4.804348
0.294686
0.072398
0.044243
0.052288
0.715938
0.704877
0.698341
0.678733
0.628457
0.628457
0
0.014888
0.163032
2,889
68
100
42.485294
0.807692
0.442368
0
0.434783
0
0
0
0
0
0
0
0
0
1
0.086957
false
0
0.043478
0
0.217391
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a87f8ebfe52286caf1c356def5053171f2b182e9
483
py
Python
testing/scripts/s2i_utils.py
dtaniwaki/seldon-core
fa9b7451b866b355571a46df6f697e3577c8259a
[ "Apache-2.0" ]
null
null
null
testing/scripts/s2i_utils.py
dtaniwaki/seldon-core
fa9b7451b866b355571a46df6f697e3577c8259a
[ "Apache-2.0" ]
null
null
null
testing/scripts/s2i_utils.py
dtaniwaki/seldon-core
fa9b7451b866b355571a46df6f697e3577c8259a
[ "Apache-2.0" ]
null
null
null
import subprocess from subprocess import run,Popen def build_python_s2i_images(): ret = run("cd ../../wrappers/s2i/python/build_scripts && ./build_all_local.sh", shell=True, check=True) def get_s2i_python_version(): completedProcess = Popen("cd ../../wrappers/s2i/python && grep 'IMAGE_VERSION=' Makefile | cut...
37.153846
146
0.716356
63
483
5.333333
0.603175
0.080357
0.077381
0.113095
0
0
0
0
0
0
0
0.014286
0.130435
483
12
147
40.25
0.785714
0
0
0
0
0
0.309129
0.13278
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a883feec7055b711786b5a4d4f8ab73faf16e07e
17,716
py
Python
corems/molecular_id/calc/math_distance.py
Kzra/CoreMS
88bef42e3cf5d11c04ad13b4c58d8a366f7844a7
[ "BSD-2-Clause" ]
1
2021-09-29T18:13:14.000Z
2021-09-29T18:13:14.000Z
corems/molecular_id/calc/math_distance.py
Kzra/CoreMS
88bef42e3cf5d11c04ad13b4c58d8a366f7844a7
[ "BSD-2-Clause" ]
null
null
null
corems/molecular_id/calc/math_distance.py
Kzra/CoreMS
88bef42e3cf5d11c04ad13b4c58d8a366f7844a7
[ "BSD-2-Clause" ]
null
null
null
import numpy as np import scipy.stats '''exploratory module based on Yuanyue Li code at TODO add GitHub and Paper here''' def entropy_distance(v, y): merged = v + y entropy_increase = 2 * scipy.stats.entropy(merged) - scipy.stats.entropy(v) - scipy.stats.entropy(y) return entropy_increase def _weight_in...
21.191388
177
0.513208
3,094
17,716
2.787977
0.065288
0.03617
0.068978
0.031069
0.63923
0.547531
0.477162
0.423719
0.359031
0.289126
0
0.020711
0.253217
17,716
835
178
21.216766
0.631217
0.400203
0
0.080882
0
0
0.00662
0
0
0
0
0.002395
0
1
0.275735
false
0
0.007353
0
0.5625
0.003676
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
0
1
0
0
2
a8859d3cea2fd7ac36be7b448450cf1d787fa8dc
308
py
Python
setup.py
cloew/TogglDriver
7b0528710e7686690a88a22cf5cca1f3ac55ebbf
[ "MIT" ]
null
null
null
setup.py
cloew/TogglDriver
7b0528710e7686690a88a22cf5cca1f3ac55ebbf
[ "MIT" ]
null
null
null
setup.py
cloew/TogglDriver
7b0528710e7686690a88a22cf5cca1f3ac55ebbf
[ "MIT" ]
null
null
null
from distutils.core import setup setup(name='toggl_driver', version='0.0.1', description="", author='', author_email='', packages=['toggl_driver', 'toggl_driver.args', 'toggl_driver.commands', 'toggl_driver.config'], scripts=['toggl_driver/scripts/toggl'] )
30.8
102
0.626623
34
308
5.470588
0.558824
0.354839
0
0
0
0
0
0
0
0
0
0.012346
0.211039
308
10
103
30.8
0.753086
0
0
0
0
0
0.373333
0.156667
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
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
0
0
0
2
a8947dd8fbc0fc8923d6ab27a5e9c4f2152867aa
580
py
Python
pype/plugins/publish/collect_current_pype_user.py
simonebarbieri/pype
a6dc83aa1300738749cbe8e5e2e6d2d1794e0289
[ "MIT" ]
null
null
null
pype/plugins/publish/collect_current_pype_user.py
simonebarbieri/pype
a6dc83aa1300738749cbe8e5e2e6d2d1794e0289
[ "MIT" ]
null
null
null
pype/plugins/publish/collect_current_pype_user.py
simonebarbieri/pype
a6dc83aa1300738749cbe8e5e2e6d2d1794e0289
[ "MIT" ]
null
null
null
import os import getpass import pyblish.api class CollectCurrentUserPype(pyblish.api.ContextPlugin): """Inject the currently logged on user into the Context""" # Order must be after default pyblish-base CollectCurrentUser order = pyblish.api.CollectorOrder + 0.001 label = "Collect Pype User" def...
29
65
0.663793
70
580
5.485714
0.628571
0.078125
0
0
0
0
0
0
0
0
0
0.008772
0.213793
580
19
66
30.526316
0.833333
0.194828
0
0
0
0
0.114967
0
0
0
0
0
0
1
0.083333
false
0.166667
0.25
0
0.583333
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
0
0
1
0
0
2
a8b50d768c81422cf59dc497f8f0e752dc9afd9e
564
py
Python
src/701_800/0739_daily-temperatures/daily-temperatures.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
1
2019-12-18T06:08:47.000Z
2019-12-18T06:08:47.000Z
src/701_800/0739_daily-temperatures/daily-temperatures.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
1
2019-05-18T09:35:22.000Z
2019-05-18T09:35:22.000Z
src/701_800/0739_daily-temperatures/daily-temperatures.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
null
null
null
class Solution(object): def dailyTemperatures(self, T): """ :type T: List[int] :rtype: List[int] """ if not T: return [] n = len(T) res = [0 for _ in xrange(n)] stack = [] for i in xrange(n): while stack and T[i]>T[stack[-1]]: res[stack[-1]] = i-stack[-1] stack.pop() stack.append(i)...
17.625
37
0.544326
101
564
3.029703
0.346535
0.130719
0.117647
0.163399
0.300654
0.215686
0.215686
0.215686
0.215686
0.215686
0
0.017115
0.274823
564
32
38
17.625
0.728606
0.019504
0
0.5
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
2
a8c6ea97b738a5955828ec906932512a359f203a
156
py
Python
tests/pyboard/execScript_hello.py
david-therincourt/physique
add85faef564359252da93dca9b7dbb35bd6b4ab
[ "MIT" ]
null
null
null
tests/pyboard/execScript_hello.py
david-therincourt/physique
add85faef564359252da93dca9b7dbb35bd6b4ab
[ "MIT" ]
null
null
null
tests/pyboard/execScript_hello.py
david-therincourt/physique
add85faef564359252da93dca9b7dbb35bd6b4ab
[ "MIT" ]
null
null
null
from physique import Pyboard feather = Pyboard("/dev/ttyACM0") reponse = feather.exec_script(""" print("Hello") print("MicroPython") """) print(reponse)
14.181818
33
0.717949
18
156
6.166667
0.722222
0
0
0
0
0
0
0
0
0
0
0.007194
0.108974
156
10
34
15.6
0.791367
0
0
0
0
0
0.314103
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
a8cb6f40358c9448de19d930a2860c227b65cc43
609
py
Python
Practice/PythonWorldRu/test_valid_date.py
K9173A/PracticeTasks
a5bf40385d079eb8457ae9b0ccdf779f8eb74371
[ "MIT" ]
null
null
null
Practice/PythonWorldRu/test_valid_date.py
K9173A/PracticeTasks
a5bf40385d079eb8457ae9b0ccdf779f8eb74371
[ "MIT" ]
null
null
null
Practice/PythonWorldRu/test_valid_date.py
K9173A/PracticeTasks
a5bf40385d079eb8457ae9b0ccdf779f8eb74371
[ "MIT" ]
null
null
null
""" Модульные тесты для проверки задания №7 с сайта: https://pythonworld.ru/osnovy/tasks.html """ import unittest from valid_date import date class TestDate(unittest.TestCase): """ Набор тестов для проверки поведения функции date(). """ def test_valid_date(self): """ Тестовый случай с...
21
55
0.630542
71
609
5.253521
0.633803
0.058981
0.085791
0.117962
0.123324
0
0
0
0
0
0
0.032895
0.251232
609
28
56
21.75
0.780702
0.359606
0
0
0
0
0.024922
0
0
0
0
0
0.222222
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
7641f8496b256034fd90f91d19de598660c45626
1,180
py
Python
plaso/cli/helpers/interface.py
Defense-Cyber-Crime-Center/plaso
4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47
[ "Apache-2.0" ]
2
2016-02-18T12:46:29.000Z
2022-03-13T03:04:59.000Z
plaso/cli/helpers/interface.py
Defense-Cyber-Crime-Center/plaso
4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47
[ "Apache-2.0" ]
null
null
null
plaso/cli/helpers/interface.py
Defense-Cyber-Crime-Center/plaso
4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47
[ "Apache-2.0" ]
6
2016-12-18T08:05:36.000Z
2021-04-06T14:19:11.000Z
# -*- coding: utf-8 -*- """The arguments helper interface.""" class ArgumentsHelper(object): """The CLI arguments helper class.""" NAME = u'baseline' # Category further divides the registered helpers down after function, # this can be something like: analysis, output, storage, etc. CATEGORY = u'' DESCRIP...
31.052632
80
0.705085
144
1,180
5.743056
0.555556
0.062878
0.048368
0
0
0
0
0
0
0
0
0.001086
0.219492
1,180
37
81
31.891892
0.896851
0.735593
0
0.25
0
0
0.034043
0
0
0
0
0
0
1
0.25
false
0
0
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
7643eddf58b0041ae45bae66f6c407d320565a50
586
py
Python
dpkt/aoecfg.py
lkash/test
5631eeaaa7e1bd5f6ce7b3c08f1c9b6b7fc2ec1c
[ "BSD-3-Clause" ]
null
null
null
dpkt/aoecfg.py
lkash/test
5631eeaaa7e1bd5f6ce7b3c08f1c9b6b7fc2ec1c
[ "BSD-3-Clause" ]
null
null
null
dpkt/aoecfg.py
lkash/test
5631eeaaa7e1bd5f6ce7b3c08f1c9b6b7fc2ec1c
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ATA over Ethernet ATA command""" import dpkt class AOECFG(dpkt.Packet): __hdr__ = ( ('bufcnt', 'H', 0), ('fwver', 'H', 0), ('scnt', 'B', 0), ('aoeccmd', 'B', 0), ('cslen', 'H', 0), ) def test_aoecfg(): s = '\x01\x02\x03\x04\x05\x06\x11\...
23.44
155
0.544369
85
586
3.588235
0.635294
0.118033
0.088525
0
0
0
0
0
0
0
0
0.183223
0.226962
586
25
156
23.44
0.490066
0.035836
0
0
0
0.0625
0.362949
0.241966
0.0625
0
0.018904
0
0.0625
0
null
null
0
0.0625
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
7658e21b9b006a555d48a0f28a4965623d18823a
432
py
Python
tests/conftest.py
sijanonly/sbt-python-client
b467d78414e7e01181025cd25456756f46ace237
[ "MIT" ]
1
2018-10-12T20:20:22.000Z
2018-10-12T20:20:22.000Z
tests/conftest.py
sijanonly/sbt-python-client
b467d78414e7e01181025cd25456756f46ace237
[ "MIT" ]
null
null
null
tests/conftest.py
sijanonly/sbt-python-client
b467d78414e7e01181025cd25456756f46ace237
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Author: sijanonly # @Date: 2018-03-19 13:56:26 # @Last Modified by: sijanonly # @Last Modified time: 2018-03-19 13:57:28 import pytest @pytest.fixture(scope="session") def valid_token_response(): return { "AuthenticateAPIKeyResult": {"SecurityToken": "test_TOKEN", ...
25.411765
60
0.631944
48
432
5.625
0.791667
0.044444
0.059259
0.074074
0
0
0
0
0
0
0
0.097633
0.217593
432
16
61
27
0.701183
0.326389
0
0
0
0
0.392982
0.084211
0
0
0
0
0
1
0.111111
true
0
0.111111
0.111111
0.333333
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
0
1
0
0
0
2
765a707386e4811bf7ab9bb8e4975f63afcf1b5f
133
py
Python
humilis_firehose/__init__.py
pattem86/humilis-firehose
8611e4b18d534bbafb638597da1304fc87be62b5
[ "MIT" ]
1
2019-11-12T10:51:29.000Z
2019-11-12T10:51:29.000Z
humilis_firehose/__init__.py
pattem86/humilis-firehose
8611e4b18d534bbafb638597da1304fc87be62b5
[ "MIT" ]
null
null
null
humilis_firehose/__init__.py
pattem86/humilis-firehose
8611e4b18d534bbafb638597da1304fc87be62b5
[ "MIT" ]
null
null
null
"""Humilis plug-in to deploy Firehose delivery streams.""" __version__ = "0.2.9" __author__ = "German Gomez-Herrero, FindHotel BV"
22.166667
58
0.729323
18
133
4.944444
1
0
0
0
0
0
0
0
0
0
0
0.026087
0.135338
133
5
59
26.6
0.747826
0.390977
0
0
0
0
0.52
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7671448005ae8f4fb5b7ffa0c33a3e141caecb53
278
py
Python
shortener/models.py
Moquo/ushort
b1979f315ae54ba7f9c428b38b8c48168eef74f9
[ "MIT" ]
null
null
null
shortener/models.py
Moquo/ushort
b1979f315ae54ba7f9c428b38b8c48168eef74f9
[ "MIT" ]
null
null
null
shortener/models.py
Moquo/ushort
b1979f315ae54ba7f9c428b38b8c48168eef74f9
[ "MIT" ]
null
null
null
from django.db import models # A shorten url class Url(models.Model): url_id = models.CharField("The short url id", max_length=8) orig_url = models.TextField("Original url") created_at = models.DateTimeField("Created at") clicks = models.IntegerField(default=0)
34.75
63
0.730216
40
278
4.975
0.675
0.090452
0
0
0
0
0
0
0
0
0
0.008547
0.158273
278
8
64
34.75
0.84188
0.046763
0
0
0
0
0.143939
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
76755d04f8c3003294358af38b2ff9df28dc851b
159
py
Python
start.py
JonnyLe/douban_spider_mongo
1e30e286b0e76ec8f03207f656d1802cb73a5537
[ "Apache-2.0" ]
null
null
null
start.py
JonnyLe/douban_spider_mongo
1e30e286b0e76ec8f03207f656d1802cb73a5537
[ "Apache-2.0" ]
null
null
null
start.py
JonnyLe/douban_spider_mongo
1e30e286b0e76ec8f03207f656d1802cb73a5537
[ "Apache-2.0" ]
null
null
null
# encoding=utf-8 __author__ = 'Jonny' __location__ = '西安' __date__ = '2018-03-25' from scrapy import cmdline cmdline.execute('scrapy crawl douban'.split(''))
19.875
48
0.72956
21
159
4.952381
0.904762
0
0
0
0
0
0
0
0
0
0
0.064286
0.119497
159
7
49
22.714286
0.678571
0.08805
0
0
0
0
0.251748
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
767e062e285b6f94e8ccccfe1bb769f69c93ec0d
25,275
py
Python
tests/test_directional_indicators.py
kylejusticemagnuson/py-financial-indicators
2f78430dfd60a0d20f4e7fc0cb4588c03107c4b2
[ "MIT" ]
635
2017-04-04T20:24:47.000Z
2022-03-28T16:00:23.000Z
tests/test_directional_indicators.py
kylejusticemagnuson/py-financial-indicators
2f78430dfd60a0d20f4e7fc0cb4588c03107c4b2
[ "MIT" ]
24
2017-10-22T15:01:54.000Z
2021-01-30T19:51:00.000Z
tests/test_directional_indicators.py
kylejusticemagnuson/py-financial-indicators
2f78430dfd60a0d20f4e7fc0cb4588c03107c4b2
[ "MIT" ]
183
2017-07-01T16:06:39.000Z
2022-03-07T23:29:11.000Z
from __future__ import absolute_import import unittest import numpy as np from tests.sample_data import SampleData from pyti import directional_indicators class TestDirectionalIndicators(unittest.TestCase): def setUp(self): """Create data to use for testing.""" self.close_data = SampleData().get_...
62.873134
119
0.679842
3,434
25,275
4.930111
0.384974
0.007915
0.022327
0.031896
0.233609
0.195275
0.19303
0.19303
0.19303
0.192321
0
0.623819
0.196044
25,275
401
120
63.029925
0.20935
0.001227
0
0.138211
0
0
0.014264
0
0
0
0
0
0.062331
1
0.04878
false
0
0.01355
0
0.065041
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
0
0
0
0
0
2
768e5781c02aae9ce3e5b61160de312db389f613
207
py
Python
snekomatic/__main__.py
wgwz/snekomatic
316f5c096aad7011953433324829e4614c283cd9
[ "Apache-2.0", "MIT" ]
22
2019-08-18T23:40:55.000Z
2022-01-18T22:52:04.000Z
snekomatic/__main__.py
wgwz/snekomatic
316f5c096aad7011953433324829e4614c283cd9
[ "Apache-2.0", "MIT" ]
179
2019-08-17T04:02:44.000Z
2021-08-02T07:53:35.000Z
snekomatic/__main__.py
webknjaz/snekomatic
3dbd84155aee5b485c7626ff2e471b949e971616
[ "Apache-2.0", "MIT" ]
8
2019-08-19T11:41:52.000Z
2021-05-22T20:23:25.000Z
import sys import trio from .app import main # Make sure that print's are flushed immediately so heroku's logging # infrastructure can see them. sys.stdout.reconfigure(line_buffering=True) trio.run(main)
18.818182
68
0.792271
33
207
4.939394
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.140097
207
10
69
20.7
0.91573
0.458937
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
76a245a29908e02acb8e19b9d234de44da0326af
264
py
Python
qf_03_标示符合关键字.py
tianming-jianai/QFPython
bf14fc5da077e745670c5898f1d3322cb87e6f6b
[ "MIT" ]
null
null
null
qf_03_标示符合关键字.py
tianming-jianai/QFPython
bf14fc5da077e745670c5898f1d3322cb87e6f6b
[ "MIT" ]
null
null
null
qf_03_标示符合关键字.py
tianming-jianai/QFPython
bf14fc5da077e745670c5898f1d3322cb87e6f6b
[ "MIT" ]
null
null
null
# 标识符:变量 ,模块名,函数名,类名 # 标识符命名规则与规范 # 规则: # 1. 由数字/字母和_组成,不能以数字开头 # 2. 严格区分大小写 # 3. 不能使用关键字 # 关键字:在Python语言里,有特殊含义的单词,例如if/for/else/while/try...... # 规范: # 1. 顾名思义 # 2. 遵循一定的命名规范 # 1. 大驼峰 # 2. 小驼峰 # 3. 下划线连接 # 在Python里的变量、函数和模块名使用下划线连接;Python里的类名使用大驼峰命名
15.529412
57
0.643939
38
264
4.447368
0.868421
0
0
0
0
0
0
0
0
0
0
0.037209
0.185606
264
16
58
16.5
0.748837
0.882576
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
76aab2222e8172513b39efa403e218f545e30195
3,259
py
Python
src/genie/libs/parser/iosxe/tests/ShowMplsLdpNsrStatistics/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
204
2018-06-27T00:55:27.000Z
2022-03-06T21:12:18.000Z
src/genie/libs/parser/iosxe/tests/ShowMplsLdpNsrStatistics/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
468
2018-06-19T00:33:18.000Z
2022-03-31T23:23:35.000Z
src/genie/libs/parser/iosxe/tests/ShowMplsLdpNsrStatistics/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
expected_output = { "statistics": { "peer": { "10.169.197.252": { "local_space_id": { 0: { "in_label_request_records": {"created": 0, "freed": 0}, "in_label_withdraw_records": {"created": 0, "freed": 0}, ...
40.234568
80
0.50046
347
3,259
4.135447
0.138329
0.139373
0.131707
0.097561
0.899652
0.840418
0.694077
0.591638
0.374913
0.374913
0
0.041314
0.383553
3,259
80
81
40.7375
0.672972
0
0
0.375
0
0
0.478981
0.343357
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
76ae272a51da8c7d16ac42c1af1e26c3df607afd
26,341
py
Python
tests/sc/test_repositories.py
Rogdham/pyTenable
79f3f7360f8ef31b964f1db99d0c7b8a0bc25d7a
[ "MIT" ]
1
2022-03-01T17:17:19.000Z
2022-03-01T17:17:19.000Z
tests/sc/test_repositories.py
Rogdham/pyTenable
79f3f7360f8ef31b964f1db99d0c7b8a0bc25d7a
[ "MIT" ]
25
2021-11-16T18:41:36.000Z
2022-03-25T05:43:31.000Z
tests/sc/test_repositories.py
Rogdham/pyTenable
79f3f7360f8ef31b964f1db99d0c7b8a0bc25d7a
[ "MIT" ]
2
2022-03-02T12:24:40.000Z
2022-03-29T05:12:04.000Z
''' test file for testing various scenarios in security center's repositories functionality ''' import os import pytest from tenable.errors import APIError, UnexpectedValueError from tests.pytenable_log_handler import log_exception from ..checker import check @pytest.fixture def repository(request, vcr, admin): ...
32.241126
111
0.708971
2,883
26,341
6.27957
0.075963
0.129032
0.123232
0.09114
0.842411
0.777342
0.683219
0.602464
0.493316
0.469896
0
0.006073
0.174898
26,341
816
112
32.280637
0.826907
0.155347
0
0.442661
0
0
0.120676
0.003123
0
0
0
0
0.025229
1
0.172018
false
0.020642
0.020642
0
0.194954
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
76b0b7caf13e99d3aaa206eefe95f234032dd2fc
1,560
py
Python
profiles_api/models.py
Aashutosh3804/profile_rest_apis
0b54cddf996bb61acb5930b6ff4631801ce5547d
[ "MIT" ]
null
null
null
profiles_api/models.py
Aashutosh3804/profile_rest_apis
0b54cddf996bb61acb5930b6ff4631801ce5547d
[ "MIT" ]
3
2020-06-06T01:35:22.000Z
2021-04-08T21:30:49.000Z
profiles_api/models.py
Aashutosh3804/profile_rest_apis
0b54cddf996bb61acb5930b6ff4631801ce5547d
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin,BaseUserManager # Create your models here. class UserProfileManager(BaseUserManager): """Manager For user Profiles""" def create_user(self,email,name,password=None): """Create a NEw SUer Profile""" ...
31.836735
89
0.680128
191
1,560
5.434555
0.413613
0.034682
0.049133
0.046243
0.1079
0.1079
0.1079
0
0
0
0
0.004938
0.221154
1,560
49
90
31.836735
0.849383
0.162179
0
0.193548
0
0
0.031447
0
0
0
0
0
0
1
0.16129
false
0.129032
0.064516
0
0.677419
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
0
0
1
0
0
2
76b7d333c7b90441cc83237ce51de08bed9ce0d4
26,324
py
Python
fingerprinting/tls_constants.py
zzqcn/joy
21770513e27ad10cde7c1ab7c1e6f024c8668119
[ "BSD-2-Clause" ]
975
2017-02-22T10:27:08.000Z
2022-03-27T16:38:45.000Z
fingerprinting/tls_constants.py
zzqcn/joy
21770513e27ad10cde7c1ab7c1e6f024c8668119
[ "BSD-2-Clause" ]
117
2017-03-17T20:17:47.000Z
2021-10-07T10:54:31.000Z
fingerprinting/tls_constants.py
zzqcn/joy
21770513e27ad10cde7c1ab7c1e6f024c8668119
[ "BSD-2-Clause" ]
288
2017-03-19T15:45:05.000Z
2022-03-22T13:39:02.000Z
""" * * Copyright (c) 2019 Cisco Systems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this lis...
38.040462
77
0.71281
4,019
26,324
4.052252
0.212739
0.04728
0.033771
0.025543
0.543105
0.45708
0.146383
0.028491
0.028491
0.028491
0
0.159396
0.155372
26,324
691
78
38.095514
0.573086
0.064998
0
0.050235
0
0
0.683424
0.512823
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
76bde4b43dfef30d2499879b9b9e1b431c6e2363
1,037
py
Python
ard/props.py
cgrambow/AutomaticReactionDiscovery
d44893d4bfdd85411ee326381f48783bb6b3e0ef
[ "MIT" ]
8
2018-04-14T03:44:51.000Z
2021-10-06T12:50:29.000Z
ard/props.py
ms860309/auto_ts
6ffe0ead4a9c141ef9ce10190de9d3f933f3e58d
[ "MIT" ]
1
2019-08-17T11:07:05.000Z
2019-08-17T11:07:05.000Z
ard/props.py
cgrambow/AutomaticReactionDiscovery
d44893d4bfdd85411ee326381f48783bb6b3e0ef
[ "MIT" ]
10
2016-06-10T20:04:09.000Z
2021-12-04T12:23:10.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Contains dictionaries of atomic properties, such as atomic numbers and masses. """ ############################################################################### # Atomic numbers atomnum = {1: 'H', 6: 'C', 7: 'N', 8: 'O', 9: 'F', 14: 'Si', 15: 'P', 16: 'S', 17: 'Cl'...
39.884615
114
0.543877
188
1,037
2.994681
0.537234
0.010657
0.010657
0.01421
0.071048
0.053286
0.053286
0.053286
0.053286
0.053286
0
0.234597
0.186114
1,037
25
115
41.48
0.432464
0.324976
0
0
0
0
0.021452
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
76cb106a276a8b6684419a08e323269385ac8c04
661
py
Python
server/extractor/views.py
lucmichalski/seo-audits-toolkit
d7a81d2ac1019f60268bad40dff6b0a475f46b1a
[ "MIT" ]
null
null
null
server/extractor/views.py
lucmichalski/seo-audits-toolkit
d7a81d2ac1019f60268bad40dff6b0a475f46b1a
[ "MIT" ]
null
null
null
server/extractor/views.py
lucmichalski/seo-audits-toolkit
d7a81d2ac1019f60268bad40dff6b0a475f46b1a
[ "MIT" ]
null
null
null
from extractor.models import Extractor from rest_framework import viewsets from rest_framework import filters from rest_framework import permissions from django_filters.rest_framework import DjangoFilterBackend from extractor.serializers import ExtractorSerializer class ExtractorViewSet(viewsets.ModelViewSet): "...
34.789474
66
0.7882
73
661
6.945205
0.616438
0.102564
0.149901
0.136095
0
0
0
0
0
0
0
0
0.140696
661
19
67
34.789474
0.892606
0.081694
0
0
0
0
0.072635
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4f1237558ee9df5c34110405dd2017fa18097c6f
1,085
py
Python
osm2rail/__init__.py
PariseC/osm2rail
dfc373aedba4a82fd144192cb6a855e8a11b0601
[ "Apache-2.0" ]
6
2021-04-30T21:18:44.000Z
2022-03-07T01:47:53.000Z
osm2rail/__init__.py
PariseC/osm2rail
dfc373aedba4a82fd144192cb6a855e8a11b0601
[ "Apache-2.0" ]
null
null
null
osm2rail/__init__.py
PariseC/osm2rail
dfc373aedba4a82fd144192cb6a855e8a11b0601
[ "Apache-2.0" ]
4
2021-05-02T01:29:15.000Z
2022-02-11T02:02:17.000Z
from .download_by_Overpass import download_osm_data_from_overpass from .download_by_BBBike import download_osm_data_from_bbbike from .download_by_BBBike import download_subregion_data_from_bbbike from .download_by_BBBike import update_bbbike_database from .download_by_Geofabrik import download_osm_data_from_geofabrik ...
38.75
92
0.83318
148
1,085
5.540541
0.290541
0.097561
0.119512
0.139024
0.562195
0.315854
0.209756
0.209756
0
0
0
0.004111
0.103226
1,085
28
92
38.75
0.838643
0
0
0
0
0.04
0.351152
0.235945
0
0
0
0
0
1
0
false
0.08
0.4
0
0.4
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
0
0
0
2
4f15d91fe31951e5ba59b3c47058fa9d5fbe5bf5
2,165
py
Python
Script.py
useless077/rename
d91b0553bf7d0397c9fb957e18fcf7c39a7e597b
[ "Apache-2.0" ]
null
null
null
Script.py
useless077/rename
d91b0553bf7d0397c9fb957e18fcf7c39a7e597b
[ "Apache-2.0" ]
null
null
null
Script.py
useless077/rename
d91b0553bf7d0397c9fb957e18fcf7c39a7e597b
[ "Apache-2.0" ]
null
null
null
from pyrogram.emoji import * class script(object): START_TEXT = """ <b> 𝙷𝙴𝙻𝙾 {user_mention} ,\n 𝙼𝚈 𝙽𝙰𝙼𝙴 𝙸𝚂 Rename Bot, I am file renamer bot, Please sent any telegram Document 📄 Or Video 📹 and enter new filenameto rename it. </b> \n <b>Bot Maintained By: @TamilBots </b> \n """ HELP_TXT = """𝙷...
40.092593
186
0.678984
380
2,165
3.936842
0.510526
0.012032
0.018048
0.02139
0.114305
0.036096
0
0
0
0
0
0.004857
0.144111
2,165
53
187
40.849057
0.764706
0
0
0.045455
0
0.272727
0.813857
0.060046
0
0
0
0
0
1
0
false
0.022727
0.022727
0
0.340909
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4f19eef2bebcf97bbc67fb1054d87a6bd6cff080
390
py
Python
orchestrator/exceptions.py
spectrum-dev/django-orchestration
3b3257a00cbb086bc6a3b367e76de1081f751cc9
[ "MIT" ]
null
null
null
orchestrator/exceptions.py
spectrum-dev/django-orchestration
3b3257a00cbb086bc6a3b367e76de1081f751cc9
[ "MIT" ]
null
null
null
orchestrator/exceptions.py
spectrum-dev/django-orchestration
3b3257a00cbb086bc6a3b367e76de1081f751cc9
[ "MIT" ]
null
null
null
class BlockDoesNotExist(Exception): """ Block does not exist in registry """ class StrategyNotValidException(Exception): """ Strategy is invalid """ class StrategyDoesNotExistException(Exception): """ Strategy does not exist """ class ScreenerBulkDataBlockDneException(Exception...
16.956522
51
0.671795
34
390
7.705882
0.558824
0.080153
0.137405
0.129771
0.145038
0
0
0
0
0
0
0
0.235897
390
22
52
17.727273
0.879195
0.315385
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
4f1aee9ce796137f51b2d5f34616930c43f19be5
2,618
py
Python
src/plugincode/post_scan.py
chetanya-shrimali/scancode-toolkit
a1a22fb225cbeb211bd6f92272a46f1351f57d6b
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
src/plugincode/post_scan.py
chetanya-shrimali/scancode-toolkit
a1a22fb225cbeb211bd6f92272a46f1351f57d6b
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
src/plugincode/post_scan.py
chetanya-shrimali/scancode-toolkit
a1a22fb225cbeb211bd6f92272a46f1351f57d6b
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
# # Copyright (c) 2017 nexB Inc. and others. All rights reserved. # http://nexb.com and https://github.com/nexB/scancode-toolkit/ # The ScanCode software is licensed under the Apache License version 2.0. # Data generated with ScanCode require an acknowledgment. # ScanCode is a trademark of nexB Inc. # # You may not use...
37.4
82
0.766234
381
2,618
5.141732
0.448819
0.061256
0.053599
0.024502
0.108218
0.108218
0.074528
0.074528
0.074528
0.074528
0
0.003682
0.169977
2,618
69
83
37.942029
0.897837
0.686402
0
0
0
0
0.061728
0
0
0
0
0
0
1
0.166667
false
0.055556
0.388889
0
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
0
0
1
1
0
0
0
0
2
4f1de718f6c517fbc1d0203166738d911bed8439
337
py
Python
HDUCal/info.example.py
WingLim/HDUCalenderGenerator
b319821b7780bd0229d41e1a48983aa33688b97a
[ "MIT" ]
1
2021-06-20T11:33:29.000Z
2021-06-20T11:33:29.000Z
HDUCal/info.example.py
WingLim/HDUCalenderGenerator
b319821b7780bd0229d41e1a48983aa33688b97a
[ "MIT" ]
null
null
null
HDUCal/info.example.py
WingLim/HDUCalenderGenerator
b319821b7780bd0229d41e1a48983aa33688b97a
[ "MIT" ]
null
null
null
from datetime import date import os if 'SEMESTER_START' in os.environ: start = os.environ['SEMESTER_START'].split('-') start = list(map(int, start)) if len(start) == 3: semester_start = date(start[0], start[1], start[2]) else: # 学期开始时间 semester_start = date(2021, 3, 1) # 学号 account = "" # ...
19.823529
59
0.623145
48
337
4.291667
0.541667
0.252427
0.165049
0
0
0
0
0
0
0
0
0.038023
0.219585
337
16
60
21.0625
0.745247
0.035608
0
0
0
0
0.090343
0
0
0
0
0
0
1
0
false
0.090909
0.181818
0
0.181818
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
4f2097652b3739dc108f92a9f055e8c1f97295e1
243
py
Python
statuscheck/services/close.py
amureki/statuscheck
caff92ef211f1fd2bf6c8a18ba8243eb434bc0df
[ "Apache-2.0" ]
35
2018-10-22T06:04:55.000Z
2022-02-01T10:20:00.000Z
statuscheck/services/close.py
amureki/statuscheck
caff92ef211f1fd2bf6c8a18ba8243eb434bc0df
[ "Apache-2.0" ]
209
2018-10-22T11:44:57.000Z
2022-03-31T04:02:37.000Z
statuscheck/services/close.py
amureki/statuscheck
caff92ef211f1fd2bf6c8a18ba8243eb434bc0df
[ "Apache-2.0" ]
2
2020-06-05T02:41:19.000Z
2020-09-03T07:03:46.000Z
from statuscheck.services.bases._statuspageio import BaseStatusPageAPI class ServiceAPI(BaseStatusPageAPI): name = "Close" domain_id = "8vgwlwbg3zbc" status_url = "https://status.close.com/" service_url = "http://close.com/"
27
70
0.73251
26
243
6.692308
0.769231
0.091954
0
0
0
0
0
0
0
0
0
0.009662
0.148148
243
8
71
30.375
0.830918
0
0
0
0
0
0.242798
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2