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
876a947ea1b19fe069f293dc368c754e8d9e9711
1,057
py
Python
demo_app_3pages_deep.py
MarijaAP/freezeyt
730a79a0e4bcee38e2d285ead4b9ccd695440516
[ "MIT" ]
null
null
null
demo_app_3pages_deep.py
MarijaAP/freezeyt
730a79a0e4bcee38e2d285ead4b9ccd695440516
[ "MIT" ]
null
null
null
demo_app_3pages_deep.py
MarijaAP/freezeyt
730a79a0e4bcee38e2d285ead4b9ccd695440516
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) @app.route('/') def index(): """Create the home page of the web app. Link to the second page. """ return """ <html> <head> <title>Hello world</title> </head> <body> Hello world! <br> ...
18.224138
64
0.470199
121
1,057
4.024793
0.247934
0.164271
0.086242
0.117043
0.318275
0.195072
0.135524
0
0
0
0
0.003012
0.371807
1,057
57
65
18.54386
0.730422
0.137181
0
0.585366
0
0
0.752847
0.074032
0
0
0
0
0
1
0.073171
false
0
0.02439
0
0.170732
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
0
0
0
0
0
0
1
876a99e9cc17fc4370d8852ddd46f7f32c7207d3
6,932
py
Python
Main.py
Farhad-Shabani/TSETMC_Dashboard
8279bd9579f02447b9ab70dfe491d56713810f51
[ "MIT" ]
5
2021-04-10T17:04:48.000Z
2021-09-17T11:49:53.000Z
Main.py
Farhad-Shabani/TSETMC_Dashboard
8279bd9579f02447b9ab70dfe491d56713810f51
[ "MIT" ]
null
null
null
Main.py
Farhad-Shabani/TSETMC_Dashboard
8279bd9579f02447b9ab70dfe491d56713810f51
[ "MIT" ]
3
2021-07-04T16:52:10.000Z
2021-08-18T15:17:10.000Z
import re, time, requests from bs4 import BeautifulSoup from openpyxl import workbook from openpyxl import load_workbook from src.Scrape_Index import Scrape_Index from src.Database_Maker import Database_Maker, Sorted_Database def Export_Database(portfolio,Selected_Stocks): StartTime = time.time() In...
41.508982
140
0.493508
747
6,932
4.526104
0.311914
0.057971
0.011831
0.020112
0.224786
0.091097
0.060041
0.060041
0.041704
0
0
0.196371
0.236728
6,932
167
141
41.508982
0.442638
0.13142
0
0.046875
0
0
0.258765
0.00838
0
0
0
0
0
1
0.007813
false
0
0.046875
0
0.0625
0.007813
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
0
0
0
0
0
0
0
0
0
1
8770580ce533e32ec2aa655344a49621da5aa45b
1,620
py
Python
habittest.py
Stephenjcl/GalaxyMapGeneration
8285405eff691f43ac548af4ba114d9801804bed
[ "MIT" ]
null
null
null
habittest.py
Stephenjcl/GalaxyMapGeneration
8285405eff691f43ac548af4ba114d9801804bed
[ "MIT" ]
null
null
null
habittest.py
Stephenjcl/GalaxyMapGeneration
8285405eff691f43ac548af4ba114d9801804bed
[ "MIT" ]
null
null
null
#Viability test from garnets import generate_stellar_system, random_star from enviroment import BreathabilityPhrase breathableair = False moon = False attempts = 0 # while breathableair is False or attempts <= 35000: # try: # stellar_system = generate_stellar_system(random_star()) # for i in range...
36
164
0.654938
192
1,620
5.458333
0.458333
0.086832
0.076336
0.060115
0.271947
0.05916
0.05916
0
0
0
0
0.016588
0.218519
1,620
44
165
36.818182
0.811216
0.595679
0
0
1
0
0.409236
0.095541
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
87718ba5182046e1eaa2f1525372eec9456c7f7d
625
py
Python
app/account/urls.py
mohit4/BucketCrab
7ff5f120e5a0e103f47c689c723702737c2df3da
[ "Apache-2.0" ]
null
null
null
app/account/urls.py
mohit4/BucketCrab
7ff5f120e5a0e103f47c689c723702737c2df3da
[ "Apache-2.0" ]
null
null
null
app/account/urls.py
mohit4/BucketCrab
7ff5f120e5a0e103f47c689c723702737c2df3da
[ "Apache-2.0" ]
null
null
null
from django.contrib.auth.views import LogoutView from django.urls import path from django.contrib.auth.views import LogoutView from .views import UserRegisterView, UserLoginView, ProfileDetailView, ProfileUpdateView app_name = 'account' urlpatterns = [ path('', UserLoginView.as_view(), name='login'), path('a...
41.666667
89
0.7408
73
625
6.260274
0.369863
0.065646
0.109409
0.091904
0.201313
0.201313
0.201313
0.201313
0
0
0
0
0.1008
625
15
90
41.666667
0.813167
0
0
0.166667
0
0
0.202875
0.038339
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
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
1
5e3f985537a9efba4ea48038ce1efeffe50b06d9
218
py
Python
ksj.py
itspuneet/itspuneet
d44f78afcff275aa56f03bba738ac3e4f2c30843
[ "bzip2-1.0.6" ]
null
null
null
ksj.py
itspuneet/itspuneet
d44f78afcff275aa56f03bba738ac3e4f2c30843
[ "bzip2-1.0.6" ]
null
null
null
ksj.py
itspuneet/itspuneet
d44f78afcff275aa56f03bba738ac3e4f2c30843
[ "bzip2-1.0.6" ]
null
null
null
a=list(input().split(',')) st,num=[],[] for i in a: s1,n=i.split(':') st.append(s1) num.append(n) print(st) print(num) for i in range(len(num)): for j in range(i): print(st[j])
16.769231
27
0.495413
38
218
2.842105
0.421053
0.166667
0.12963
0.166667
0
0
0
0
0
0
0
0.012739
0.279817
218
12
28
18.166667
0.675159
0
0
0
0
0
0.009709
0
0
0
0
0
0
1
0
false
0
0
0
0
0.272727
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
0
0
0
1
5e41eafa7384a90d2c56bfa80b6e7cf49f5eed89
3,063
py
Python
Gathered CTF writeups/2018-09-01-tokyowesterns/crypto_mixed/MTRecover.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
1
2022-03-27T06:00:41.000Z
2022-03-27T06:00:41.000Z
Gathered CTF writeups/2018-09-01-tokyowesterns/crypto_mixed/MTRecover.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
null
null
null
Gathered CTF writeups/2018-09-01-tokyowesterns/crypto_mixed/MTRecover.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
1
2022-03-27T06:01:42.000Z
2022-03-27T06:01:42.000Z
import random class MT19937Recover: """Reverses the Mersenne Twister based on 624 observed outputs. The internal state of a Mersenne Twister can be recovered by observing 624 generated outputs of it. However, if those are not directly observed following a twist, another output is required to restore ...
29.451923
79
0.584721
375
3,063
4.752
0.378667
0.027497
0.016835
0.030864
0.161616
0.109989
0.08193
0.08193
0.032548
0.032548
0
0.066277
0.330069
3,063
103
80
29.737864
0.802144
0.379367
0
0.122449
1
0
0
0
0
0
0.01522
0
0.061224
1
0.102041
false
0
0.020408
0
0.22449
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5e43ed9b4a92075c599548b4b2abcf77cf992e1a
780
py
Python
visualize.py
mac389/semantic-distance
0ae8223e64610de79fdc370c7e44e2cda051c190
[ "MIT" ]
2
2017-03-09T21:42:32.000Z
2018-07-13T02:04:15.000Z
visualize.py
mac389/semantic-distance
0ae8223e64610de79fdc370c7e44e2cda051c190
[ "MIT" ]
null
null
null
visualize.py
mac389/semantic-distance
0ae8223e64610de79fdc370c7e44e2cda051c190
[ "MIT" ]
2
2017-03-09T21:42:35.000Z
2018-07-13T02:04:17.000Z
import os, json, matplotlib matplotlib.use('Agg') import seaborn as sns import matplotlib.pyplot as plt import numpy as np import pandas as pd READ = 'rb' directory = json.load(open('directory.json',READ)) filename = os.path.join(directory['data-prefix'],'test-similarity-matrix.npy') data = np.load(filename).a...
28.888889
80
0.732051
125
780
4.52
0.576
0.046018
0.042478
0
0
0
0
0
0
0
0
0.010072
0.108974
780
27
81
28.888889
0.802878
0.080769
0
0
0
0
0.125874
0.078322
0
0
0
0
0
0
null
null
0
0.294118
null
null
0.058824
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
0
0
1
5e47a8df66bb852c1c0f2a85665d80d87b1c508c
497
py
Python
volume/src/backend/db_create.py
sunokpa/st-kilda-pier
45d838a9f1dc1132bab858c58e2716028ce9abe5
[ "Apache-2.0" ]
1
2018-08-03T08:17:25.000Z
2018-08-03T08:17:25.000Z
volume/src/backend/db_create.py
sunokpa/st-kilda-pier
45d838a9f1dc1132bab858c58e2716028ce9abe5
[ "Apache-2.0" ]
null
null
null
volume/src/backend/db_create.py
sunokpa/st-kilda-pier
45d838a9f1dc1132bab858c58e2716028ce9abe5
[ "Apache-2.0" ]
null
null
null
from run import db import sqlalchemy import os, uuid, base62 DB_HOST = "mysql-skp" DB_USER = "root" DB_PW = os.environ['MYSQL_ROOT_PASSWORD'] DB_NAME = "flask_skp" DB_ENGINE_URI = "mysql://{}:{}@{}".format(DB_USER, DB_PW, DB_HOST) engine = sqlalchemy.create_engine(DB_ENGINE_URI) try: engine.execute("DROP DATABA...
24.85
84
0.716298
73
497
4.630137
0.452055
0.071006
0.106509
0
0
0
0
0
0
0
0
0.009195
0.124748
497
19
85
26.157895
0.767816
0
0
0
0
0
0.259557
0
0
0
0
0
0
1
0
false
0.066667
0.2
0
0.2
0.066667
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
0
0
0
1
5e4b8b3b427389c0e078fc9fdbbb5a626515d43d
585
py
Python
blog/migrations/0008_auto_20190107_1755.py
dkowsikpai/librolet
7148670655157ca5f1ad6853039c9ec00e37adef
[ "MIT" ]
null
null
null
blog/migrations/0008_auto_20190107_1755.py
dkowsikpai/librolet
7148670655157ca5f1ad6853039c9ec00e37adef
[ "MIT" ]
null
null
null
blog/migrations/0008_auto_20190107_1755.py
dkowsikpai/librolet
7148670655157ca5f1ad6853039c9ec00e37adef
[ "MIT" ]
null
null
null
# Generated by Django 2.1.3 on 2019-01-07 12:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0007_auto_20190107_1750'), ] operations = [ migrations.RemoveField( model_name='postpick', name='user', ...
22.5
82
0.558974
57
585
5.614035
0.736842
0.05625
0
0
0
0
0
0
0
0
0
0.077889
0.319658
585
25
83
23.4
0.726131
0.076923
0
0.157895
1
0
0.141264
0.042751
0
0
0
0
0
1
0
false
0
0.052632
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5e4d4c75d1c04f3087dc7de35d8f22acd91277a6
16,962
py
Python
GCE/data_generation.py
FloList/GCE_NN
3f6dd059fd366164a6fcda07643a9dae970a6aba
[ "MIT" ]
6
2020-11-24T01:18:01.000Z
2021-12-20T18:34:28.000Z
GCE/data_generation.py
FloList/GCE_NN
3f6dd059fd366164a6fcda07643a9dae970a6aba
[ "MIT" ]
null
null
null
GCE/data_generation.py
FloList/GCE_NN
3f6dd059fd366164a6fcda07643a9dae970a6aba
[ "MIT" ]
null
null
null
""" Generate and save maps for each template. """ import random import numpy as np from scipy import stats import healpy as hp import matplotlib.pyplot as plt import os import pickle from .data_utils import get_fermi_pdf_sampler, masked_to_full from .utils import multipage, auto_garbage_collect import ray import time i...
49.741935
120
0.578116
2,227
16,962
4.135608
0.170184
0.033442
0.019761
0.016938
0.379045
0.32975
0.303909
0.276004
0.258632
0.258632
0
0.007641
0.321012
16,962
340
121
49.888235
0.792047
0.216366
0
0.282407
1
0
0.109763
0.002276
0
0
0
0
0.009259
1
0.009259
false
0
0.060185
0
0.074074
0.060185
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5e51a18b38b505d030b71b633915de41ef88b7b3
2,295
py
Python
BleVibrationDevice.py
Suitceyes-Project-Code/Vibration-Pattern-Player
44d8bac61eed0ee7712eb0299d0d7029f688fe24
[ "MIT" ]
null
null
null
BleVibrationDevice.py
Suitceyes-Project-Code/Vibration-Pattern-Player
44d8bac61eed0ee7712eb0299d0d7029f688fe24
[ "MIT" ]
null
null
null
BleVibrationDevice.py
Suitceyes-Project-Code/Vibration-Pattern-Player
44d8bac61eed0ee7712eb0299d0d7029f688fe24
[ "MIT" ]
1
2021-10-04T14:26:49.000Z
2021-10-04T14:26:49.000Z
from bluepy.btle import UUID, Peripheral from VestDeviceBase import VestDevice class BleVestDevice(VestDevice): def __init__(self, deviceAddr): try: self._peripheral = Peripheral(deviceAddr) serviceUUID = UUID("713d0000-503e-4c75-ba94-3148f18d941e") characteristicUUID = ...
35.859375
137
0.576035
247
2,295
5.190283
0.417004
0.023401
0.056162
0.071763
0.085803
0.085803
0.046802
0
0
0
0
0.055238
0.313725
2,295
64
138
35.859375
0.75873
0.132026
0
0.195122
0
0
0.059291
0.038115
0
0
0
0
0
1
0.219512
false
0
0.04878
0.02439
0.317073
0.02439
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
0
0
0
1
5e581b3bc442bf985032c1a6311fd1a8c9e46d12
1,125
py
Python
tests/unit/scalar/test_datetime.py
alexchamberlain/tartiflette
6904b0f47770c348553e907be5f5bdb0929fe149
[ "MIT" ]
null
null
null
tests/unit/scalar/test_datetime.py
alexchamberlain/tartiflette
6904b0f47770c348553e907be5f5bdb0929fe149
[ "MIT" ]
null
null
null
tests/unit/scalar/test_datetime.py
alexchamberlain/tartiflette
6904b0f47770c348553e907be5f5bdb0929fe149
[ "MIT" ]
null
null
null
import datetime import pytest @pytest.mark.parametrize( "val,expected", [ (datetime.datetime(1986, 12, 24, 15, 0, 4), "1986-12-24T15:00:04"), (None, AttributeError), ("A", AttributeError), ], ) def test_scalar_datetime_coerce_output(val, expected): from tartiflette.scalar.buil...
28.125
75
0.663111
126
1,125
5.825397
0.333333
0.089918
0.061308
0.065395
0.809264
0.517711
0.517711
0.517711
0.441417
0.441417
0
0.058691
0.212444
1,125
39
76
28.846154
0.769752
0
0
0.4375
0
0
0.058667
0
0
0
0
0
0.0625
1
0.0625
false
0
0.125
0
0.1875
0
0
0
0
null
0
0
0
1
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
1
5e5cfeb015c77e2308db32ee9bf5063eeee0afb3
4,484
py
Python
keras_frcnn/pascal_voc_parser.py
touchylk/fgcnn
db0a2156d21480e37aa5b3b74ca2e71bf2a2d50a
[ "Apache-2.0" ]
null
null
null
keras_frcnn/pascal_voc_parser.py
touchylk/fgcnn
db0a2156d21480e37aa5b3b74ca2e71bf2a2d50a
[ "Apache-2.0" ]
null
null
null
keras_frcnn/pascal_voc_parser.py
touchylk/fgcnn
db0a2156d21480e37aa5b3b74ca2e71bf2a2d50a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os import cv2 import xml.etree.ElementTree as ET import config import numpy as np cfg = config.Config() def get_data(input_path): all_imgs = [] classes_count = {} class_mapping = {} bird_classes_count ={} bird_class_mapping = {} visualise = False data_path = '/media/e813/E/dat...
30.712329
128
0.665031
631
4,484
4.502377
0.239303
0.044351
0.021119
0.028159
0.299542
0.190778
0.099965
0.028863
0.028863
0
0
0.01856
0.194915
4,484
145
129
30.924138
0.768421
0.177743
0
0.163265
0
0
0.093195
0.015031
0
0
0
0
0
0
null
null
0.010204
0.05102
null
null
0.05102
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
0
0
1
5e5dc0bccba9bfb6b687c696f0803ac8924850d5
3,342
py
Python
constants.py
granthitson/8ballbot
cc0778b6ce5857b8b39203d53c5e792297ab126f
[ "MIT" ]
1
2019-05-13T00:15:41.000Z
2019-05-13T00:15:41.000Z
constants.py
granthitson/AteBallPool
cc0778b6ce5857b8b39203d53c5e792297ab126f
[ "MIT" ]
null
null
null
constants.py
granthitson/AteBallPool
cc0778b6ce5857b8b39203d53c5e792297ab126f
[ "MIT" ]
null
null
null
# IMAGES # # UI NAVIGATION # img_addFriend = "add_friend.png" img_allow = "allow.png" img_allowFlash = "enableflash_0.png" img_allowFlash1 = "enableflash_1.png" img_allowFlash2 = "enableflash_2.png" img_alreadyStarted = "alreadystarted.png" img_alreadyStarted1 = "alreadystarted1.png" img_backButton = "back_button.png...
29.575221
56
0.781269
440
3,342
5.629545
0.325
0.232539
0.024223
0
0
0
0
0
0
0
0
0.041777
0.097546
3,342
113
57
29.575221
0.779509
0.023339
0
0
0
0
0.412308
0.042769
0
0
0
0
0
1
0
false
0.010101
0
0
0
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
0
0
0
1
5e6ffb54b935a3bedbdb9d36bddd3349d6e52b30
2,816
py
Python
benchmarks/Python/towers.py
OvermindDL1/are-we-fast-yet
78b0560c7c3b7a90b22b90c4cb27660e56478d30
[ "BSD-3-Clause" ]
null
null
null
benchmarks/Python/towers.py
OvermindDL1/are-we-fast-yet
78b0560c7c3b7a90b22b90c4cb27660e56478d30
[ "BSD-3-Clause" ]
null
null
null
benchmarks/Python/towers.py
OvermindDL1/are-we-fast-yet
78b0560c7c3b7a90b22b90c4cb27660e56478d30
[ "BSD-3-Clause" ]
null
null
null
# This code is based on the SOM class library. # # Copyright (c) 2001-2021 see AUTHORS.md file # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the 'Software'), to deal # in the Software without restriction, including without limitat...
35.2
79
0.675426
416
2,816
4.387019
0.355769
0.048219
0.038356
0.046027
0.109589
0.089863
0.089863
0.089863
0.036164
0
0
0.013214
0.247514
2,816
79
80
35.64557
0.848042
0.393821
0
0.136364
0
0
0.049852
0
0
0
0
0
0
1
0.204545
false
0
0.022727
0.022727
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
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
5e7d33ee6f25bf7e294ba72a60592d7ecbf6df93
1,479
py
Python
src/figcli/test/cli/config.py
figtools/figgy-cli
88f4ccb8221ef9734f95b2637acfacc6e00983e7
[ "Apache-2.0" ]
36
2020-07-21T21:22:02.000Z
2021-10-20T06:55:47.000Z
src/figcli/test/cli/config.py
figtools/figgy-cli
88f4ccb8221ef9734f95b2637acfacc6e00983e7
[ "Apache-2.0" ]
2
2020-10-29T12:49:15.000Z
2021-04-29T01:12:05.000Z
src/figcli/test/cli/config.py
figtools/figgy-cli
88f4ccb8221ef9734f95b2637acfacc6e00983e7
[ "Apache-2.0" ]
null
null
null
import os ### For PS items stored with this value, we will auto-clean them up from our audit table. Used for automated E2E testing. DELETE_ME_VALUE = 'DELETE_ME' ### <-- use this for ALL VALUES MFA_USER_ENV_KEY = 'MFA_USER' MFA_SECRET_ENV_KEY = 'MFA_SECRET' # Env vars GOOGLE_SSO_USER = 'GOOGLE_SSO_USER' GOOGLE_SSO_P...
29
121
0.772819
240
1,479
4.366667
0.358333
0.062977
0.049618
0.048664
0.194656
0.062977
0
0
0
0
0
0.014786
0.13117
1,479
50
122
29.58
0.800778
0.233266
0
0.064516
0
0
0.36795
0.165622
0
0
0
0
0
1
0
false
0.064516
0.032258
0
0.032258
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
0
0
0
1
5e7defce2e2ab62233e622a56872ccd1b331951a
632
py
Python
helper_functions.py
dadam1026/Homework1v2
47360f83eff0cff34498827138951afdcb0362b4
[ "MIT" ]
null
null
null
helper_functions.py
dadam1026/Homework1v2
47360f83eff0cff34498827138951afdcb0362b4
[ "MIT" ]
null
null
null
helper_functions.py
dadam1026/Homework1v2
47360f83eff0cff34498827138951afdcb0362b4
[ "MIT" ]
null
null
null
# Contains helper functions for your apps! from os import listdir, remove # If the io following files are in the current directory, remove them! # 1. 'currency_pair.txt' # 2. 'currency_pair_history.csv' # 3. 'trade_order.p' def check_for_and_del_io_files(): # Your code goes here. file_list = ['currency_pair.t...
30.095238
83
0.655063
93
632
4.290323
0.666667
0.120301
0.075188
0.110276
0
0
0
0
0
0
0
0.006276
0.243671
632
20
84
31.6
0.828452
0.420886
0
0
0
0
0.310924
0.070028
0
0
0
0
0
1
0.1
false
0.1
0.1
0
0.2
0.2
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
0
0
0
1
5e81d9b31c50e8e47fe0403850ae0d0290d47815
618
py
Python
python_basics/4.arithmetic_operators/discount_challenge.py
edilsonmatola/Python_Master
cef88a19e641f6454944bab358841b380c64699e
[ "MIT" ]
2
2022-03-12T07:53:23.000Z
2022-03-14T16:09:06.000Z
python_basics/4.arithmetic_operators/discount_challenge.py
edilsonmatola/Python_Master
cef88a19e641f6454944bab358841b380c64699e
[ "MIT" ]
18
2022-03-13T19:45:48.000Z
2022-03-31T06:04:12.000Z
python_basics/4.arithmetic_operators/discount_challenge.py
edilsonmatola/Python_Master
cef88a19e641f6454944bab358841b380c64699e
[ "MIT" ]
null
null
null
""" * Problem Description *Suppose you are a university student and you need to pay 1536 dollars as a tuition fee. *The college is offering a 10% discount on the early payment. How much money do you have to pay if you make an early payment? *Task *Create a variable named fee and assign 1536 to it. *Create another ...
22.888889
125
0.744337
105
618
4.361905
0.495238
0.032751
0.039301
0.052402
0
0
0
0
0
0
0
0.050403
0.197411
618
26
126
23.769231
0.872984
0.833333
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
0
0
0
0
0
0
0
1
5e864ccf01f6e54ee7967475c32a472181419c97
1,910
py
Python
package/tests/base/test_grid.py
mondas-mania/cipher-py
e1dd287311ab487fd54a8becee444b3d7561b63c
[ "MIT" ]
null
null
null
package/tests/base/test_grid.py
mondas-mania/cipher-py
e1dd287311ab487fd54a8becee444b3d7561b63c
[ "MIT" ]
null
null
null
package/tests/base/test_grid.py
mondas-mania/cipher-py
e1dd287311ab487fd54a8becee444b3d7561b63c
[ "MIT" ]
null
null
null
from cipherpy.base import create_grid, playfair_digram_encode import numpy as np import pytest alphabet = "abcdefghiklmnopqrstuvwxyz" # j has been removed inv_alph = "zyxwvutsrqponmlkihgfedcba" # j has been removed grid = np.array([ ["a","b","c","d","e"], ["f","g","h","i","k"], ["l","m","n","o","p"], [...
36.730769
66
0.630366
283
1,910
4.070671
0.332155
0.133681
0.190972
0.135417
0.190972
0.118924
0.0625
0
0
0
0
0.001919
0.181675
1,910
52
67
36.730769
0.735125
0.058115
0
0.044444
0
0
0.132107
0.027871
0
0
0
0
0.311111
1
0.044444
false
0
0.066667
0
0.111111
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
0
0
0
1
5e8ac64fbe70fe326a2767fef3d9300d1b292115
2,049
py
Python
class_4/dungeon.py
goosemanjack/python_intro_class
ca4b2390f2b0bb037d94ed4516d98848b7cf97d6
[ "MIT" ]
null
null
null
class_4/dungeon.py
goosemanjack/python_intro_class
ca4b2390f2b0bb037d94ed4516d98848b7cf97d6
[ "MIT" ]
null
null
null
class_4/dungeon.py
goosemanjack/python_intro_class
ca4b2390f2b0bb037d94ed4516d98848b7cf97d6
[ "MIT" ]
null
null
null
# Dungeon Crawler import asciiart import level1 import level2 import time # timer import hero #def test(): # print(asciiart.baby_dragon()) # print(asciiart.big_skull()) # print(asciiart.dragon()) # print(asciiart.samurai()) # print(asciiart.skull_cross()) # print(asciiart.warrior()) # print(as...
19.893204
79
0.570522
249
2,049
4.610442
0.325301
0.181185
0.039199
0.04878
0.256969
0.108014
0.062718
0.062718
0
0
0
0.024931
0.295266
2,049
102
80
20.088235
0.770083
0.120547
0
0.484375
0
0
0.160604
0
0
0
0
0
0
0
null
null
0
0.078125
null
null
0.359375
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
0
0
1
5e8c140172a68c8d661d38b28158caaeea26abc7
804
py
Python
getTotalCount.py
bdo311/chirpseq-analysis
64a5cdbb1fbac1ef8c5cca844ea743b80641287c
[ "Apache-2.0" ]
3
2016-09-19T21:30:36.000Z
2019-03-14T08:25:32.000Z
getTotalCount.py
bdo311/chirpseq-analysis
64a5cdbb1fbac1ef8c5cca844ea743b80641287c
[ "Apache-2.0" ]
2
2018-03-11T02:21:29.000Z
2021-03-03T11:18:30.000Z
getTotalCount.py
bdo311/chirpseq-analysis
64a5cdbb1fbac1ef8c5cca844ea743b80641287c
[ "Apache-2.0" ]
3
2016-10-28T09:15:16.000Z
2019-06-16T04:38:31.000Z
# getTotalCount.py # 3/1/14 # Gets total count for all ChIP-seq reads import csv, sys, fileinput csv.register_dialect("textdialect", delimiter='\t') if len(sys.argv) > 1: fn = sys.argv[1] ifile = open(fn, 'r') reader = csv.reader(ifile, 'textdialect') total = 0 counter = 0 for row in reader: ...
23.647059
62
0.603234
128
804
3.78125
0.367188
0.099174
0.057851
0.082645
0.376033
0.305785
0.305785
0.305785
0.305785
0.305785
0
0.050955
0.218905
804
34
63
23.647059
0.719745
0.273632
0
0.4
0
0
0.075368
0
0
0
0
0
0
0
null
null
0
0.05
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5e8ecd87d9b6bf3e0c792cf33dd8743654d8794d
970
py
Python
binanceapi/constant.py
ramoslin02/binanceapi
0ae32229da4fb3dcbd4f2276f442d26c83ad3a39
[ "MIT" ]
4
2021-02-12T23:19:50.000Z
2021-12-21T14:45:55.000Z
binanceapi/constant.py
ramoslin02/binanceapi
0ae32229da4fb3dcbd4f2276f442d26c83ad3a39
[ "MIT" ]
null
null
null
binanceapi/constant.py
ramoslin02/binanceapi
0ae32229da4fb3dcbd4f2276f442d26c83ad3a39
[ "MIT" ]
7
2021-02-23T01:02:23.000Z
2022-03-08T12:56:59.000Z
from enum import Enum class OrderStatus(object): """ Order Status """ NEW = "NEW" PARTIALLY_FILLED = "PARTIALLY_FILLED" FILLED = "FILLED" CANCELED = "CANCELED" PENDING_CANCEL = "PENDING_CANCEL" REJECTED = "REJECTED" EXPIRED = "EXPIRED" class OrderType(Enum): """ Order ...
15.396825
41
0.525773
111
970
4.423423
0.576577
0.0611
0
0
0
0
0
0
0
0
0
0.055556
0.331959
970
62
42
15.645161
0.70216
0.072165
0
0
0
0
0.161604
0
0
0
0
0
0
1
0
false
0
0.027027
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
0
0
1
0
0
1
5ea112ef558fca9073cce1f7c0ebf8ece1f28a9a
2,289
py
Python
Module_06/tests/sauce_lab/test_checkout_details.py
JoseGtz/2021_python_selenium
c7b39479c78839ba2e2e2633a0f673a8b02fb4cb
[ "Unlicense" ]
null
null
null
Module_06/tests/sauce_lab/test_checkout_details.py
JoseGtz/2021_python_selenium
c7b39479c78839ba2e2e2633a0f673a8b02fb4cb
[ "Unlicense" ]
null
null
null
Module_06/tests/sauce_lab/test_checkout_details.py
JoseGtz/2021_python_selenium
c7b39479c78839ba2e2e2633a0f673a8b02fb4cb
[ "Unlicense" ]
null
null
null
"""Test cases for inventory item""" import pytest from Module_06.src.elements.inventory_item import InventoryItem from Module_06.src.pages.login import LoginPage from Module_06.tests.common.test_base import TestBase from Module_06.src.pages.checkout_details import CheckoutDetailsPage from Module_06.src.pages.checkout_...
36.333333
83
0.706859
262
2,289
5.908397
0.240458
0.052326
0.03876
0.03876
0.624677
0.611757
0.575581
0.575581
0.575581
0.575581
0
0.009325
0.203582
2,289
62
84
36.919355
0.839824
0.041503
0
0.615385
0
0
0.057064
0.018868
0
0
0
0
0
1
0.057692
false
0.076923
0.115385
0
0.192308
0.057692
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
0
0
0
1
5ea28c59393a6e808bc7631cfe435d3d54ff90cc
3,600
py
Python
face.py/DetectFace.py
DNSKT/python
081e439e9e9f2e9b58ace5ff0cba93b8c46d5e36
[ "MIT" ]
4
2021-10-02T02:14:06.000Z
2022-01-13T01:54:16.000Z
face.py/DetectFace.py
DNSKT/python
081e439e9e9f2e9b58ace5ff0cba93b8c46d5e36
[ "MIT" ]
null
null
null
face.py/DetectFace.py
DNSKT/python
081e439e9e9f2e9b58ace5ff0cba93b8c46d5e36
[ "MIT" ]
null
null
null
import asyncio import io import glob import os import sys import time import uuid import requests from urllib.parse import urlparse from io import BytesIO # To install this module, run: # python -m pip install Pillow from PIL import Image, ImageDraw from azure.cognitiveservices.vision.face import FaceClien...
48.648649
133
0.755833
523
3,600
5.017208
0.300191
0.032012
0.027439
0.030488
0.265625
0.148628
0.123476
0.047256
0.047256
0.047256
0
0.043347
0.173333
3,600
74
134
48.648649
0.838374
0.318611
0
0
0
0
0.204237
0.013559
0
0
0
0
0
1
0
false
0
0.311111
0
0.311111
0.244444
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
0
0
0
1
5ea2f5c49120331dea159521e5e8c35ca8b6be45
2,741
py
Python
examples/tesselation.py
2dx/moderngl
5f932560a535469626d79d22e4205f400e18f328
[ "MIT" ]
916
2019-03-11T19:15:20.000Z
2022-03-31T19:22:16.000Z
examples/tesselation.py
2dx/moderngl
5f932560a535469626d79d22e4205f400e18f328
[ "MIT" ]
218
2019-03-11T06:05:52.000Z
2022-03-30T16:59:22.000Z
examples/tesselation.py
2dx/moderngl
5f932560a535469626d79d22e4205f400e18f328
[ "MIT" ]
110
2019-04-06T18:32:24.000Z
2022-03-21T20:30:47.000Z
#!/usr/bin/env python3 '''Simple example of using tesselation to render a cubic Bézier curve''' import numpy as np import moderngl from ported._example import Example class Tessellation(Example): title = "Tessellation" gl_version = (4, 0) def __init__(self, **kwargs): super().__init__(**kwargs)...
28.552083
85
0.511127
360
2,741
3.738889
0.344444
0.019316
0.013373
0.059435
0.061664
0.011144
0
0
0
0
0
0.070609
0.364466
2,741
95
86
28.852632
0.702067
0.056914
0
0.134328
0
0.029851
0.640419
0.078355
0
0
0
0
0
1
0.029851
false
0.014925
0.044776
0
0.134328
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
0
0
0
0
0
0
1
5ea4c56b19379cf79c7f01fa78cbab208ced0a25
326
py
Python
setup.py
rahul0705/smv
01a4545be55f9355c8cc1d28918a8ab24d4a02e1
[ "MIT" ]
null
null
null
setup.py
rahul0705/smv
01a4545be55f9355c8cc1d28918a8ab24d4a02e1
[ "MIT" ]
null
null
null
setup.py
rahul0705/smv
01a4545be55f9355c8cc1d28918a8ab24d4a02e1
[ "MIT" ]
null
null
null
""" author: Rahul Mohandas """ import setuptools setuptools.setup( name="smv", version="0.1", packages=setuptools.find_packages(exclude=["tests"]), author="Rahul Mohandas", author_email="rahul@rahulmohandas.com", description="It's like scp but for moving", license="MIT", test_suite="tes...
20.375
57
0.671779
39
326
5.538462
0.769231
0.101852
0.175926
0
0
0
0
0
0
0
0
0.007407
0.171779
326
15
58
21.733333
0.792593
0.067485
0
0
0
0
0.283784
0.077703
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
0
0
0
1
5eab19f2aca9d090175ce4ce170870b18995458b
623
py
Python
functions/solution/functions_numstr_human.py
giserh/book-python
ebd4e70cea1dd56986aa8efbae3629ba3f1ba087
[ "MIT" ]
1
2019-01-02T15:04:08.000Z
2019-01-02T15:04:08.000Z
functions/solution/functions_numstr_human.py
giserh/book-python
ebd4e70cea1dd56986aa8efbae3629ba3f1ba087
[ "MIT" ]
null
null
null
functions/solution/functions_numstr_human.py
giserh/book-python
ebd4e70cea1dd56986aa8efbae3629ba3f1ba087
[ "MIT" ]
null
null
null
from typing import Union NUMBER_DICT = { '0': 'zero', '1': 'one', '2': 'two', '3': 'three', '4': 'four', '5': 'five', '6': 'six', '7': 'seven', '8': 'eight', '9': 'nine', '.': 'and', } def number_to_str(number: Union[int, float]) -> str: """ >>> number_to_str(1969)...
18.878788
54
0.548957
80
623
4.1375
0.5875
0.120846
0.166163
0
0
0
0
0
0
0
0
0.061269
0.266453
623
32
55
19.46875
0.66302
0.449438
0
0
0
0
0.180602
0
0
0
0
0
0
1
0.0625
false
0.0625
0.0625
0
0.125
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
0
0
0
1
5eacda4c41904fde53e82605bee0dcf17f4ef068
5,343
py
Python
cJobObject.py
SkyLined/mWindowsAPI
d64d57bbf87d2a7b33cf7de89263553793484a84
[ "CC-BY-4.0" ]
7
2017-10-09T14:32:22.000Z
2021-01-30T07:25:50.000Z
cJobObject.py
SkyLined/mWindowsAPI
d64d57bbf87d2a7b33cf7de89263553793484a84
[ "CC-BY-4.0" ]
2
2017-12-12T02:53:18.000Z
2019-02-19T09:23:18.000Z
cJobObject.py
SkyLined/mWindowsAPI
d64d57bbf87d2a7b33cf7de89263553793484a84
[ "CC-BY-4.0" ]
1
2017-12-12T02:42:18.000Z
2017-12-12T02:42:18.000Z
from mWindowsSDK import *; from .fbIsValidHandle import fbIsValidHandle; from .fbLastErrorIs import fbLastErrorIs; from .fohOpenForProcessIdAndDesiredAccess import fohOpenForProcessIdAndDesiredAccess; from .fsGetPythonISA import fsGetPythonISA; from .fThrowLastError import fThrowLastError; from .oSystemInfo import oSys...
49.934579
164
0.763242
396
5,343
10.126263
0.305556
0.011222
0.017456
0.026933
0.494015
0.440648
0.386783
0.308479
0.230175
0.214464
0
0.011866
0.148231
5,343
106
165
50.40566
0.86926
0.039117
0
0.357895
0
0.031579
0.113042
0.071652
0
0
0
0
0.021053
1
0.084211
false
0
0.073684
0
0.221053
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5eafe280d36c9d0913ae120c305742245a644cb5
5,036
py
Python
tests/timelog.py
cmanley/viewvc
18ce398586ff99ee13ac64f85c205efdf9c23bad
[ "BSD-2-Clause" ]
2
2015-04-03T14:15:48.000Z
2019-08-06T07:09:58.000Z
tests/timelog.py
cmanley/viewvc
18ce398586ff99ee13ac64f85c205efdf9c23bad
[ "BSD-2-Clause" ]
null
null
null
tests/timelog.py
cmanley/viewvc
18ce398586ff99ee13ac64f85c205efdf9c23bad
[ "BSD-2-Clause" ]
1
2022-01-11T13:02:46.000Z
2022-01-11T13:02:46.000Z
import time import profile from vclib.ccvs import rcsparse import viewvc try: import tparse except ImportError: tparse = None def lines_changed(delta): idx = 0 added = deleted = 0 while idx < len(delta): op = delta[idx] i = delta.find(' ', idx + 1) j = delta.find('\n', i + 1) line = int(de...
27.977778
77
0.616958
768
5,036
3.941406
0.197917
0.044929
0.055831
0.068715
0.319789
0.278824
0.200198
0.146019
0.121573
0.064751
0
0.032208
0.235504
5,036
179
78
28.134078
0.754026
0.046465
0
0.201342
0
0
0.051742
0
0
0
0
0
0.006711
0
null
null
0.013423
0.04698
null
null
0.080537
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
0
0
1
5eb3c974fa92731f0fdca10f3d676b0f6e0ffd2f
5,664
py
Python
users/models.py
pnwclw/cyfmazyr
dfeca513c7334335426d226ec3834af598b08b8c
[ "MIT" ]
1
2020-07-18T11:20:29.000Z
2020-07-18T11:20:29.000Z
users/models.py
panwaclaw/cyfmazyr
dfeca513c7334335426d226ec3834af598b08b8c
[ "MIT" ]
8
2020-05-24T14:08:12.000Z
2021-09-08T02:03:52.000Z
users/models.py
pnwclw/cyfmazyr
dfeca513c7334335426d226ec3834af598b08b8c
[ "MIT" ]
1
2020-05-24T12:24:40.000Z
2020-05-24T12:24:40.000Z
from django.contrib.auth.models import AbstractUser from django.db import models from django.utils import timezone from django.utils.translation import ugettext as _ from simple_history.models import HistoricalRecords from phonenumber_field.modelfields import PhoneNumberField from internals.models import School, Univ...
38.27027
159
0.69827
716
5,664
5.297486
0.27514
0.072502
0.037965
0.05062
0.271289
0.24097
0.218824
0.208806
0.18666
0.123912
0
0.009852
0.175671
5,664
147
160
38.530612
0.802527
0.106992
0
0.16129
0
0.021505
0.155943
0.038685
0
0
0
0
0
1
0.107527
false
0
0.096774
0.075269
0.752688
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
0
0
1
0
0
1
5eb834e28210f09f415768f60fec78d4bb5c4bb0
984
py
Python
core/data.py
mohamadnosratian/Pricer
a19fddc526add55385abd9569c0d3bdbd0cb79c4
[ "MIT" ]
null
null
null
core/data.py
mohamadnosratian/Pricer
a19fddc526add55385abd9569c0d3bdbd0cb79c4
[ "MIT" ]
1
2020-11-29T15:26:47.000Z
2020-11-29T15:26:47.000Z
core/data.py
mohamadnosratian/Pricer
a19fddc526add55385abd9569c0d3bdbd0cb79c4
[ "MIT" ]
null
null
null
import TmConv import time class Data(): def __init__(self, content): self.content = content self.corrent = '-' self.object = {} def update(self): Cp, name = self.content.Update() if Cp != self.corrent: self.corrent = Cp self.object = { ...
24.6
88
0.505081
125
984
3.848
0.384
0.162162
0.18711
0
0
0
0
0
0
0
0
0.00624
0.348577
984
39
89
25.230769
0.74415
0
0
0
0
0
0.018293
0
0
0
0
0
0
1
0.16129
false
0
0.064516
0.032258
0.354839
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
0
0
0
1
5eb8db949bc6779860bde61b3f9a676998243338
8,002
py
Python
src/sage/categories/super_modules.py
LaisRast/sage
5fb2a6ea44400e469caee82748cf863ca0c5f724
[ "BSL-1.0" ]
null
null
null
src/sage/categories/super_modules.py
LaisRast/sage
5fb2a6ea44400e469caee82748cf863ca0c5f724
[ "BSL-1.0" ]
null
null
null
src/sage/categories/super_modules.py
LaisRast/sage
5fb2a6ea44400e469caee82748cf863ca0c5f724
[ "BSL-1.0" ]
null
null
null
r""" Super modules """ #***************************************************************************** # Copyright (C) 2015 Travis Scrimshaw <tscrim at ucdavis.edu> # # Distributed under the terms of the GNU General Public License (GPL) # http://www.gnu.org/licenses/ #*********************************...
35.40708
93
0.567733
852
8,002
5.226526
0.255869
0.035931
0.026948
0.029643
0.269481
0.208848
0.176286
0.151583
0.121716
0.121716
0
0.006373
0.313672
8,002
225
94
35.564444
0.804443
0.596726
0
0
0
0
0.122921
0.018022
0
0
0
0.004444
0
1
0.181818
false
0.022727
0.090909
0
0.568182
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
0
0
1
0
0
1
5eba75a29b860145b0023e5e394f13be95f75dca
539
py
Python
src/game_objects/projectiles/projectile.py
ozcer/Project-Ooze
28eb84995f4fa283366e3f04edb7e393d5281ac5
[ "MIT" ]
1
2018-10-10T02:11:50.000Z
2018-10-10T02:11:50.000Z
src/game_objects/projectiles/projectile.py
ozcer/Project-Ooze
28eb84995f4fa283366e3f04edb7e393d5281ac5
[ "MIT" ]
29
2018-03-16T05:07:18.000Z
2018-04-03T03:58:32.000Z
src/game_objects/projectiles/projectile.py
ozcer/FlaPy-Bird
28eb84995f4fa283366e3f04edb7e393d5281ac5
[ "MIT" ]
1
2018-03-18T00:27:12.000Z
2018-03-18T00:27:12.000Z
import pygame from src.game_objects.dynamic import Dynamic from src.game_objects.foes.foe import Foe class Projectile(Dynamic): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) def decayable(self): """ Overriding decayable in GameObject :ret...
21.56
53
0.612245
62
539
5.112903
0.516129
0.044164
0.069401
0.113565
0
0
0
0
0
0
0
0
0.272727
539
24
54
22.458333
0.808673
0.089054
0
0
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.230769
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
1
0
0
0
0
0
0
0
1
5ec47955f1ecf4b81bd290a76d77ba6d233be01c
1,181
py
Python
backend/keplerapi/api/migrations/0010_auto_20200627_2003.py
ADSPI/kepler
db45471e3428eea93579e48f130f255a1f5974c4
[ "MIT" ]
2
2020-02-16T15:23:21.000Z
2020-03-07T12:39:56.000Z
backend/keplerapi/api/migrations/0010_auto_20200627_2003.py
creativepisystem/kepler
307708666a1913fbb369a57b5fca04b20209929d
[ "MIT" ]
null
null
null
backend/keplerapi/api/migrations/0010_auto_20200627_2003.py
creativepisystem/kepler
307708666a1913fbb369a57b5fca04b20209929d
[ "MIT" ]
1
2020-05-13T00:07:18.000Z
2020-05-13T00:07:18.000Z
# Generated by Django 3.0.3 on 2020-06-27 20:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0009_auto_20200625_2347'), ] operations = [ migrations.AlterModelOptions( name='hiredservice', options={'orde...
28.804878
132
0.54022
101
1,181
6.19802
0.544554
0.129393
0.148562
0.115016
0.476038
0.4377
0.316294
0
0
0
0
0.04797
0.3116
1,181
40
133
29.525
0.722017
0.038103
0
0.529412
1
0
0.179894
0.020282
0
0
0
0
0
1
0
false
0
0.029412
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5ec50ef5996e125d5eaf7ab56c50549bb75fe8e9
1,184
py
Python
Scripts/ReverseSearch/social_media.py
balswyan/senior-capstone-fall-2018
8740614f0db917bfdc5131095fe566a92b806e73
[ "MIT" ]
1
2020-03-03T01:01:41.000Z
2020-03-03T01:01:41.000Z
Scripts/ReverseSearch/social_media.py
balswyan/senior-capstone-fall-2018
8740614f0db917bfdc5131095fe566a92b806e73
[ "MIT" ]
null
null
null
Scripts/ReverseSearch/social_media.py
balswyan/senior-capstone-fall-2018
8740614f0db917bfdc5131095fe566a92b806e73
[ "MIT" ]
null
null
null
import urllib2 from cookielib import CookieJar import os import re import time import json cookies = CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookies)) opener.addheaders = [('User-agent', 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.17 ' '(KHTML, like...
47.36
145
0.686655
152
1,184
5.296053
0.5
0.111801
0.084472
0.114286
0.270807
0.13913
0.099379
0
0
0
0
0.035922
0.130068
1,184
24
146
49.333333
0.745631
0
0
0
0
0
0.435334
0.027895
0
0
0
0
0
0
null
null
0
0.3
null
null
0.05
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
0
0
1
5ec5c3c5ad95f9da38c7ad657235db69b5b006c7
354
py
Python
hackerrank/algorithms/general/kangaroo/kangaroo.py
nicklambourne/hackerrank-solutions
9536aa16a67325566e6d3ebea5d5f2c5bf12a05d
[ "MIT" ]
null
null
null
hackerrank/algorithms/general/kangaroo/kangaroo.py
nicklambourne/hackerrank-solutions
9536aa16a67325566e6d3ebea5d5f2c5bf12a05d
[ "MIT" ]
null
null
null
hackerrank/algorithms/general/kangaroo/kangaroo.py
nicklambourne/hackerrank-solutions
9536aa16a67325566e6d3ebea5d5f2c5bf12a05d
[ "MIT" ]
null
null
null
#!/bin/python3 import sys def kangaroo(x1, v1, x2, v2): if (x1 < x2 and v1 <= v2) or (x2 < x1 and v2 <= v1): return "NO" if ((x2 - x1) % (v2-v1)) == 0: return "YES" return "NO" x1, v1, x2, v2 = input().strip().split(' ') x1, v1, x2, v2 = [int(x1), int(v1), int(x2), int(v2)] result = kanga...
22.125
56
0.519774
61
354
3.016393
0.377049
0.086957
0.130435
0.173913
0.173913
0
0
0
0
0
0
0.129771
0.259887
354
15
57
23.6
0.572519
0.036723
0
0.181818
0
0
0.023529
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.454545
0.090909
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
0
0
0
1
5ec664692a8004415ba033ef9d8d62ed175a5bc8
2,115
py
Python
tests/techniques/test_train_policy_gradient.py
alphagamatoe/AlphaToe
a7cd0969aa46dfd151a22ed8b9aec1a894747b17
[ "MIT" ]
172
2016-09-27T12:23:10.000Z
2022-01-19T09:52:11.000Z
tests/techniques/test_train_policy_gradient.py
afcarl/AlphaToe
1220f4f883dbbd7ac1d84092bdaf04ca18a4dbc2
[ "MIT" ]
13
2018-07-19T09:42:28.000Z
2018-09-25T15:08:05.000Z
tests/techniques/test_train_policy_gradient.py
afcarl/AlphaToe
1220f4f883dbbd7ac1d84092bdaf04ca18a4dbc2
[ "MIT" ]
63
2016-09-27T13:00:51.000Z
2021-04-04T04:34:37.000Z
import functools from unittest import TestCase from common.base_game_spec import BaseGameSpec from common.network_helpers import create_network from games.tic_tac_toe import TicTacToeGameSpec from games.tic_tac_toe_x import TicTacToeXGameSpec from techniques.train_policy_gradient import train_policy_gradients class ...
39.90566
106
0.580142
225
2,115
5.111111
0.364444
0.06087
0.052174
0.026087
0.32
0.288696
0.288696
0.212174
0.212174
0.125217
0
0.033186
0.358865
2,115
52
107
40.673077
0.814897
0
0
0.097561
0
0
0
0
0
0
0
0
0.04878
1
0.195122
false
0.02439
0.170732
0.097561
0.536585
0.04878
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
0
0
1
0
0
1
5eca0176387a7151273d1f8238c5afd0d8ffbd54
36,675
py
Python
src/telem.py
swharden/Telem-A-Gator
e2fcca77e9ae68ec5d002409e3d46c67ddc8ebb8
[ "MIT" ]
null
null
null
src/telem.py
swharden/Telem-A-Gator
e2fcca77e9ae68ec5d002409e3d46c67ddc8ebb8
[ "MIT" ]
null
null
null
src/telem.py
swharden/Telem-A-Gator
e2fcca77e9ae68ec5d002409e3d46c67ddc8ebb8
[ "MIT" ]
1
2019-06-18T13:58:19.000Z
2019-06-18T13:58:19.000Z
import time import os import glob import datetime import numpy import threading import subprocess #import scipy.stats from PyQt4 import QtCore, QtGui import matplotlib matplotlib.use('TkAgg') matplotlib.rcParams['backend'] = 'TkAgg' import pylab def shortenTo(s,maxsize=100): if len(s)<=maxsize: return s fir...
37.309257
187
0.531425
4,204
36,675
4.624167
0.163416
0.066872
0.009877
0.007922
0.28035
0.21821
0.16214
0.14249
0.111883
0.095679
0
0.01862
0.316155
36,675
982
188
37.347251
0.756499
0.056033
0
0.192012
0
0
0.104211
0.001457
0
0
0
0.001018
0
0
null
null
0.003072
0.016897
null
null
0.00768
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
0
0
1
5eca3822d3d88e640f8cd392a9134c9bdd311c55
1,458
py
Python
pincer/middleware/ready.py
shivamdurgbuns/Pincer
aa27d6d65023ea62a2d0c09c1e9bc0fe4763e0c3
[ "MIT" ]
null
null
null
pincer/middleware/ready.py
shivamdurgbuns/Pincer
aa27d6d65023ea62a2d0c09c1e9bc0fe4763e0c3
[ "MIT" ]
null
null
null
pincer/middleware/ready.py
shivamdurgbuns/Pincer
aa27d6d65023ea62a2d0c09c1e9bc0fe4763e0c3
[ "MIT" ]
null
null
null
# Copyright Pincer 2021-Present # Full MIT License can be found in `LICENSE` at the project root. """ non-subscription event sent immediately after connecting, contains server information """ from __future__ import annotations from typing import TYPE_CHECKING from ..commands import ChatCommandHandler from ..exceptio...
24.711864
70
0.682442
178
1,458
5.488764
0.5
0.035824
0.032753
0
0
0
0
0
0
0
0
0.003478
0.211248
1,458
58
71
25.137931
0.846087
0.123457
0
0
0
0
0.099291
0
0
0
0
0
0
1
0.037037
false
0
0.333333
0.037037
0.444444
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
0
0
0
1
5ece95cf5808af191aa4776b596abeebfb595d6b
1,620
py
Python
conftest.py
RussellJQA/stg-python-webdriver-cert
73fa7b02f38fe534e074d727f96994a92636ba7b
[ "MIT" ]
4
2021-04-29T22:03:36.000Z
2021-10-20T11:25:55.000Z
conftest.py
RussellJQA/stg-python-webdriver-cert
73fa7b02f38fe534e074d727f96994a92636ba7b
[ "MIT" ]
null
null
null
conftest.py
RussellJQA/stg-python-webdriver-cert
73fa7b02f38fe534e074d727f96994a92636ba7b
[ "MIT" ]
1
2021-05-30T12:56:13.000Z
2021-05-30T12:56:13.000Z
""" This module implements some pytest fixtures for use with Selenium WebDriver. """ import os import time import pytest # pip installed from dotenv import find_dotenv, load_dotenv from selenium.webdriver import Chrome from selenium.webdriver.remote.webdriver import WebDriver from selenium.webdriver.support.wait impor...
31.153846
101
0.758025
214
1,620
5.616822
0.476636
0.037438
0.046589
0.066556
0.146423
0.109817
0
0
0
0
0
0.002254
0.178395
1,620
51
102
31.764706
0.900826
0.435185
0
0.086957
0
0
0.044118
0.042986
0
0
0
0
0
1
0.086957
false
0
0.347826
0
0.478261
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
0
0
0
1
5ed2d6e06ea77385ae38bbc942bc6b4df97670f0
1,309
py
Python
design.py
Raj-kar/Shuffle-Game-with-python
1b0a765559850137bc49e503b6a79a03c3e8fb12
[ "MIT" ]
null
null
null
design.py
Raj-kar/Shuffle-Game-with-python
1b0a765559850137bc49e503b6a79a03c3e8fb12
[ "MIT" ]
null
null
null
design.py
Raj-kar/Shuffle-Game-with-python
1b0a765559850137bc49e503b6a79a03c3e8fb12
[ "MIT" ]
null
null
null
from functions import decorate, ascii_text def rules(): # Some Game rules, first shown at screen ! decorate(" ************************************************************ ") decorate(" * * ") decorate(" * Welcome to Word jumbling, Suffl...
52.36
129
0.524828
158
1,309
4.329114
0.525316
0.093567
0.070175
0
0
0
0
0
0
0
0
0.010905
0.299465
1,309
24
130
54.541667
0.735005
0.1589
0
0.352941
0
0.176471
0.695896
0.11194
0
0
0
0
0
1
0.117647
false
0
0.058824
0
0.176471
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
0
0
0
0
0
0
1
5ed4ceefc3e109900c35d9955460f833cabd84e2
485
py
Python
manage.py
diogenesjusto/flask_leaderboard
86dac90785e01747ffbde99e6ba65cf42e4c016e
[ "MIT" ]
5
2020-06-15T02:56:39.000Z
2021-12-28T19:18:18.000Z
manage.py
diogenesjusto/flask_leaderboard
86dac90785e01747ffbde99e6ba65cf42e4c016e
[ "MIT" ]
2
2019-12-01T15:50:05.000Z
2021-12-17T07:54:23.000Z
manage.py
diogenesjusto/flask_leaderboard
86dac90785e01747ffbde99e6ba65cf42e4c016e
[ "MIT" ]
9
2020-01-19T11:21:33.000Z
2022-02-22T06:28:52.000Z
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_script import Manager from flask_migrate import Migrate, MigrateCommand from config import Config from main import User, Submission app = Flask(__name__) # app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///app.db' app.config.from_object(Conf...
22.045455
60
0.77732
65
485
5.507692
0.353846
0.100559
0
0
0
0
0
0
0
0
0
0
0.125773
485
21
61
23.095238
0.84434
0.119588
0
0
0
0
0.023529
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
0
0
0
1
5ed76a1d4a9d801f30aced725248325dce473b59
2,349
py
Python
rebench/environment.py
tobega/ReBench
123a9187f74d32f93b823dd0c354244aecd7437e
[ "MIT" ]
null
null
null
rebench/environment.py
tobega/ReBench
123a9187f74d32f93b823dd0c354244aecd7437e
[ "MIT" ]
null
null
null
rebench/environment.py
tobega/ReBench
123a9187f74d32f93b823dd0c354244aecd7437e
[ "MIT" ]
null
null
null
import getpass import os import subprocess from cpuinfo import get_cpu_info from psutil import virtual_memory try: from urllib.parse import urlparse except ImportError: # Python 2.7 from urlparse import urlparse def _encode_str(out): as_string = out.decode('utf-8') if as_string and as_string[-1...
32.178082
83
0.611324
282
2,349
4.91844
0.375887
0.035328
0.047585
0.051911
0.152848
0
0
0
0
0
0
0.007407
0.195402
2,349
72
84
32.625
0.726455
0.011069
0
0.160714
0
0
0.20431
0
0
0
0
0
0
1
0.071429
false
0.053571
0.142857
0
0.303571
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
0
0
0
1
0d5987b219b64d6b388ff98a861c6bc4ea2a00e4
321
py
Python
csv_to_table/urls.py
KariSpace/CRM_Sedicomm
cb19e90ca99c7a50a1841afbfb878191f62dec5c
[ "MIT" ]
null
null
null
csv_to_table/urls.py
KariSpace/CRM_Sedicomm
cb19e90ca99c7a50a1841afbfb878191f62dec5c
[ "MIT" ]
null
null
null
csv_to_table/urls.py
KariSpace/CRM_Sedicomm
cb19e90ca99c7a50a1841afbfb878191f62dec5c
[ "MIT" ]
null
null
null
from . import views from django.contrib.auth import views as auth_views from django.urls import path urlpatterns = [ #Kari CSV_TO_TABLE Commit path('csv_upload/', views.csv_table, name='csv_table'), path('today/', views.today_table, name='today_table'), path('search/', views.search, name='search'), ...
26.75
59
0.71028
46
321
4.782609
0.413043
0.1
0.136364
0
0
0
0
0
0
0
0
0
0.152648
321
12
60
26.75
0.808824
0.074766
0
0
0
0
0.169492
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
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
0
0
0
1
0d5d3731a59994ba117b8a32c3775bfdf7b49b71
1,259
py
Python
7. Trees/binary_euler_tour.py
vivek28111992/data_structure_and_algorithm_in_python_practice
16cb3ba5d02049352b40482de647acaad4b3b44a
[ "MIT" ]
null
null
null
7. Trees/binary_euler_tour.py
vivek28111992/data_structure_and_algorithm_in_python_practice
16cb3ba5d02049352b40482de647acaad4b3b44a
[ "MIT" ]
null
null
null
7. Trees/binary_euler_tour.py
vivek28111992/data_structure_and_algorithm_in_python_practice
16cb3ba5d02049352b40482de647acaad4b3b44a
[ "MIT" ]
null
null
null
# Binary Euler Tour # A Binary Euler Tour base class providing a specialized tour for binary tree. from eulerTour import EulerTour class BinaryEulerTour(EulerTour): """Abstract base class for performing Euler tour of a binary tree. This version includes an additional _hook_invisit that is called after the to...
41.966667
164
0.625894
185
1,259
4.167568
0.378378
0.018158
0.038911
0.031128
0.132296
0.085603
0
0
0
0
0
0.007769
0.284353
1,259
29
165
43.413793
0.847947
0.409849
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.117647
false
0.058824
0.058824
0
0.294118
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
0
0
0
1
0d5dc684691063784e6ac984f160e9b545454def
4,565
py
Python
ppr-api/tests/unit/models/test_utils.py
pwei1018/ppr
1fdd2f1ad33217045404d7b872d9fad41a4c7da6
[ "Apache-2.0" ]
null
null
null
ppr-api/tests/unit/models/test_utils.py
pwei1018/ppr
1fdd2f1ad33217045404d7b872d9fad41a4c7da6
[ "Apache-2.0" ]
null
null
null
ppr-api/tests/unit/models/test_utils.py
pwei1018/ppr
1fdd2f1ad33217045404d7b872d9fad41a4c7da6
[ "Apache-2.0" ]
null
null
null
# Copyright © 2019 Province of British Columbia # # 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 agr...
40.758929
118
0.718072
749
4,565
4.12283
0.189586
0.079663
0.093264
0.075777
0.622085
0.544041
0.503562
0.450453
0.44171
0.406412
0
0.040844
0.179409
4,565
111
119
41.126126
0.783235
0.256298
0
0.260274
0
0
0.103077
0.029878
0
0
0
0
0.479452
1
0.082192
false
0
0.027397
0
0.109589
0.178082
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
0
0
0
0
0
0
0
0
1
0d6c93e9529dba1be9084932e1bd1a732f244d8b
1,097
py
Python
wolfbot/sensors/avg_color.py
sunil3590/TIM
5c8de80d631a4dea0f604091467dba7a7201de48
[ "MIT" ]
1
2019-01-12T14:35:54.000Z
2019-01-12T14:35:54.000Z
wolfbot/sensors/avg_color.py
sunil3590/TIM
5c8de80d631a4dea0f604091467dba7a7201de48
[ "MIT" ]
null
null
null
wolfbot/sensors/avg_color.py
sunil3590/TIM
5c8de80d631a4dea0f604091467dba7a7201de48
[ "MIT" ]
null
null
null
import color_sensor_ISL29125 from time import time cs = color_sensor_ISL29125.color_senser(1) if cs.valid_init: print "Valid color sensor" else : print "Color Sensor invalid" t0 = time() red_list = [] green_list = [] blue_list = [] for x in range(100): stat = cs.readStatus() if "" in stat: #"FLA...
27.425
66
0.649043
176
1,097
3.829545
0.295455
0.071217
0.04451
0.032641
0.059347
0.059347
0.059347
0
0
0
0
0.027972
0.217867
1,097
39
67
28.128205
0.757576
0.022789
0
0.0625
0
0
0.128157
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.3125
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
0
0
1
0d71379845c71ad7524a31d7ceaa01d4a691d64e
822
py
Python
examples/static_content.py
kjosib/kale
ced67fa7a335fbe9524c86a0a805cfdd56f6d560
[ "MIT" ]
null
null
null
examples/static_content.py
kjosib/kale
ced67fa7a335fbe9524c86a0a805cfdd56f6d560
[ "MIT" ]
3
2020-03-04T03:16:52.000Z
2020-04-25T06:22:48.000Z
examples/static_content.py
kjosib/kale
ced67fa7a335fbe9524c86a0a805cfdd56f6d560
[ "MIT" ]
2
2020-05-22T16:29:33.000Z
2022-01-10T19:36:51.000Z
""" <html><body> <p> You'll probably want to supply a stylesheet. Perhaps some javascript library. Maybe even some images. One way or another, it's handy to be able to point at a directory full of static content and let the framework do its job. </p> <p> This example exercises that facility by presenting the examples ...
22.833333
77
0.723844
141
822
4.120567
0.666667
0.010327
0.037866
0.055077
0
0
0
0
0
0
0
0
0.148418
822
35
78
23.485714
0.83
0.749392
0
0
0
0
0.045685
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
0.428571
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
0
1
0
0
0
1
0d74ec72c3d16df3ed04de198a0c999287ff6316
1,303
py
Python
home/models.py
davidkiama/Foto-Moto-
97f5cafb3580152c3672834dcbbbf5cfa961ff15
[ "Unlicense" ]
null
null
null
home/models.py
davidkiama/Foto-Moto-
97f5cafb3580152c3672834dcbbbf5cfa961ff15
[ "Unlicense" ]
null
null
null
home/models.py
davidkiama/Foto-Moto-
97f5cafb3580152c3672834dcbbbf5cfa961ff15
[ "Unlicense" ]
null
null
null
from statistics import mode from django.db import models from cloudinary.models import CloudinaryField # Create your models here. class Image(models.Model): # image = models.ImageField( # upload_to='uploads/', default='default.jpg') image = CloudinaryField('image') title = models.CharField(max_l...
25.057692
74
0.697621
153
1,303
5.751634
0.326797
0.051136
0.072727
0.081818
0.245455
0.147727
0.147727
0.147727
0.147727
0.147727
0
0.005814
0.207982
1,303
51
75
25.54902
0.846899
0.076746
0
0.424242
0
0
0.017515
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0.060606
0.757576
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
0
0
1
0
0
1
0d779f79a6ff4f979c6a546d7fdf9c7fcb571967
1,248
py
Python
tests/_utils.py
tsuyukimakoto/physaliidae
e55416e8b84c4a4ed2a31290f16ccd42350853d2
[ "MIT" ]
2
2017-04-26T01:10:24.000Z
2019-05-04T03:29:24.000Z
tests/_utils.py
tsuyukimakoto/physaliidae
e55416e8b84c4a4ed2a31290f16ccd42350853d2
[ "MIT" ]
220
2019-01-01T03:18:11.000Z
2022-03-28T20:29:49.000Z
tests/_utils.py
tsuyukimakoto/biisan
8e55d73c582fcbba918595c2e741ffce7c88aaa9
[ "MIT" ]
null
null
null
import os import shutil from contextlib import ( contextmanager, ) from pathlib import Path import pytest @pytest.fixture(scope='function', autouse=True) def cleanup(): test_generate_dir = (Path('.') / 'tests' / 'biisan_data') if test_generate_dir.exists(): shutil.rmtree(test_generate_dir) yi...
22.285714
89
0.677885
164
1,248
4.865854
0.310976
0.075188
0.093985
0.086466
0.452381
0.308271
0.225564
0.125313
0.125313
0.125313
0
0
0.184295
1,248
55
90
22.690909
0.78389
0
0
0.275
1
0
0.208333
0.108974
0
0
0
0
0
1
0.175
false
0
0.125
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0d7c9dd39ea4011bea154b13be9de5e46cbc2b5f
1,254
py
Python
src/search/views/author.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
18
2021-05-20T13:20:16.000Z
2022-02-11T02:40:18.000Z
src/search/views/author.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
109
2021-05-21T20:14:23.000Z
2022-03-31T20:56:10.000Z
src/search/views/author.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
4
2021-05-17T13:47:53.000Z
2022-02-12T10:48:21.000Z
from rest_framework import viewsets from elasticsearch_dsl import Search from elasticsearch_dsl.connections import connections from search.filters import ElasticsearchFuzzyFilter from search.documents import AuthorDocument from search.serializers import AuthorDocumentSerializer from utils.permissions import ReadOnly ...
32.153846
70
0.720893
130
1,254
6.738462
0.423077
0.082192
0.045662
0.043379
0
0
0
0
0
0
0
0
0.205742
1,254
38
71
33
0.879518
0
0
0
0
0
0.015152
0
0
0
0
0
0.033333
1
0.066667
false
0
0.233333
0
0.533333
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
0
0
1
0
0
1
0d802fca09e29a84af3006203d6210a4292b4238
2,534
py
Python
run.py
UNIFUZZ/getcvss
360de42ef09d7e21ef7c539d48ac083d10e8e215
[ "MIT" ]
2
2020-08-16T12:06:17.000Z
2021-01-05T05:35:54.000Z
run.py
UNIFUZZ/getcvss
360de42ef09d7e21ef7c539d48ac083d10e8e215
[ "MIT" ]
null
null
null
run.py
UNIFUZZ/getcvss
360de42ef09d7e21ef7c539d48ac083d10e8e215
[ "MIT" ]
2
2020-08-16T11:07:29.000Z
2022-01-04T02:18:50.000Z
import requests sess = requests.session() import gzip import json import time import os def downloadyear(year): print("fetching year", year) url = "https://nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-{year}.json.gz".format(year=year) req = sess.get(url, stream=True) return gzip.open(req.raw)....
40.870968
150
0.598658
351
2,534
4.225071
0.378917
0.059339
0.06878
0.051247
0.169252
0.144976
0.12677
0.083614
0.057991
0.057991
0
0.035376
0.207972
2,534
61
151
41.540984
0.703538
0.15588
0
0.16
0
0.02
0.168436
0.010618
0
0
0
0.016393
0
1
0.1
false
0
0.1
0
0.28
0.02
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
0
0
0
1
0d8131562321f737bfe94d6f5f98ee26c890434c
2,974
py
Python
src/enumerator.py
darkarnium/perimeterator
8c694267d92ca1d28fc1494cd9394af34271ed39
[ "MIT" ]
56
2019-03-20T01:44:04.000Z
2022-02-16T13:36:39.000Z
src/enumerator.py
darkarnium/perimeterator
8c694267d92ca1d28fc1494cd9394af34271ed39
[ "MIT" ]
1
2020-07-08T20:30:23.000Z
2020-11-07T15:41:25.000Z
src/enumerator.py
darkarnium/perimeterator
8c694267d92ca1d28fc1494cd9394af34271ed39
[ "MIT" ]
9
2019-10-09T18:54:52.000Z
2021-12-28T15:27:58.000Z
#!/usr/bin/env python3 ''' Perimeterator Enumerator. This wrapper is intended to allow for simplified AWS based deployment of the Perimeterator enumerator. This allows for a cost effective method of execution, as the Perimeterator poller component only needs to execute on a defined schedule in order to detect changes....
33.41573
77
0.631137
350
2,974
5.311429
0.465714
0.032275
0.029048
0.023669
0.033351
0
0
0
0
0
0
0.001881
0.284802
2,974
88
78
33.795455
0.87212
0.353732
0
0.074074
0
0
0.220348
0
0
0
0
0.011364
0
1
0.018519
false
0
0.055556
0
0.074074
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
0
0
0
1
0d81f1dd86c97fac6a68af0051fa814935517691
3,493
py
Python
invenio_rdm_pure/utils.py
utnapischtim/invenio-rdm-pure
895addfb374dca640adc42ce68ab54ddfc8d412a
[ "MIT" ]
null
null
null
invenio_rdm_pure/utils.py
utnapischtim/invenio-rdm-pure
895addfb374dca640adc42ce68ab54ddfc8d412a
[ "MIT" ]
19
2020-10-20T09:38:09.000Z
2021-04-01T09:13:59.000Z
invenio_rdm_pure/utils.py
utnapischtim/invenio-rdm-pure
895addfb374dca640adc42ce68ab54ddfc8d412a
[ "MIT" ]
2
2020-09-18T06:45:15.000Z
2021-03-21T20:15:37.000Z
# -*- coding: utf-8 -*- # # Copyright (C) 2021 Technische Universität Graz # # invenio-rdm-pure is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """Utility methods.""" import smtplib from datetime import datetime from os.path import di...
28.398374
99
0.634412
445
3,493
4.829213
0.357303
0.025593
0.012564
0.026989
0.122848
0.122848
0.122848
0.122848
0.122848
0.122848
0
0.00512
0.273118
3,493
122
100
28.631148
0.841276
0.221586
0
0.160494
0
0
0.038534
0
0
0
0
0.008197
0
1
0.061728
false
0.061728
0.098765
0
0.271605
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
0
0
0
1
0d836b79c1c35926c2be545a9cfa96aaad92778b
1,992
py
Python
cookiecutterassert/rules/run_script.py
yangzii0920/cookiecutterassert
d690bb06844821334e7b2b0e6361fb30556d718b
[ "Apache-2.0" ]
3
2020-09-24T12:43:42.000Z
2022-02-10T13:04:28.000Z
cookiecutterassert/rules/run_script.py
yangzii0920/cookiecutterassert
d690bb06844821334e7b2b0e6361fb30556d718b
[ "Apache-2.0" ]
5
2020-11-05T22:04:07.000Z
2021-07-07T15:45:38.000Z
cookiecutterassert/rules/run_script.py
cookiecutterassert/cooiecutterassert
87a2b05c45c0cb30abfc11f944a6cb12a2863a09
[ "Apache-2.0" ]
4
2020-10-06T13:55:39.000Z
2021-11-23T15:38:00.000Z
# Copyright 2020 Ford Motor Company # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or ag...
31.125
166
0.674197
239
1,992
5.502092
0.476987
0.045627
0.019772
0.024335
0
0
0
0
0
0
0
0.009162
0.232932
1,992
64
167
31.125
0.85144
0.283133
0
0
0
0
0.08892
0
0
0
0
0
0.066667
1
0.2
false
0
0.1
0.133333
0.5
0.033333
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
0
1
0
0
0
1
0d8b44c6cdb28214bde2bc0db794be64cdb76647
319
py
Python
Desafios/Desafio048.py
vaniaferreira/Python
5b3158836d47c0bb7bc446e6636e7b3dcea8a0ab
[ "MIT" ]
null
null
null
Desafios/Desafio048.py
vaniaferreira/Python
5b3158836d47c0bb7bc446e6636e7b3dcea8a0ab
[ "MIT" ]
null
null
null
Desafios/Desafio048.py
vaniaferreira/Python
5b3158836d47c0bb7bc446e6636e7b3dcea8a0ab
[ "MIT" ]
null
null
null
#Faça um programa que calcule a soma entre todos os números ímpares que são múltiplos de 3 e que se encontram # no intervalo de 1 até 500. soma = 0 cont = 0 for c in range(1,501,2): if c % 3 == 0: cont = cont + 1 soma = soma + c print('A soma dos números solicitados {} são {}'.format(cont, soma))
29
109
0.642633
58
319
3.534483
0.637931
0.04878
0
0
0
0
0
0
0
0
0
0.06383
0.263323
319
10
110
31.9
0.808511
0.423197
0
0
0
0
0.21978
0
0
0
0
0.1
0
1
0
false
0
0
0
0
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
1
0
0
0
0
0
0
0
0
0
0
1
0d8d5718379dda93fd6474b84b7d6a14a112142a
529
py
Python
sums-of-numbers-game/prepare_sum_objects.py
babyrobot-eu/core-modules
7e8c006c40153fb649208c9a78fc71aa70243f69
[ "MIT" ]
1
2019-02-07T15:32:06.000Z
2019-02-07T15:32:06.000Z
sums-of-numbers-game/prepare_sum_objects.py
babyrobot-eu/core-modules
7e8c006c40153fb649208c9a78fc71aa70243f69
[ "MIT" ]
9
2020-01-28T22:09:41.000Z
2022-03-11T23:39:17.000Z
sums-of-numbers-game/prepare_sum_objects.py
babyrobot-eu/core-modules
7e8c006c40153fb649208c9a78fc71aa70243f69
[ "MIT" ]
null
null
null
import pickle from random import shuffle sums = [(5, 105) , (205, 305), (405, 1005), (1105, 1205), (1305, 1405)] shuffle(sums) a = {'sums': sums, 'current_sum': 0} with open('child_data/child1.pkl', 'wb') as f: pickle.dump(obj=a, file=f) print(a) shuffle(sums) b = {'sums': sums, 'current_sum': 0} with open('child...
25.190476
71
0.640832
92
529
3.619565
0.402174
0.132132
0.135135
0.162162
0.513514
0.513514
0.513514
0.324324
0.324324
0
0
0.086475
0.147448
529
20
72
26.45
0.651885
0
0
0.166667
0
0
0.215501
0.119093
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.166667
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
0
0
0
1
0d8dedee8a01cdd537a2a3df042a8dfbd8ef5e42
5,781
py
Python
menuparser.py
tomjaspers/vubresto-server
96b441c76d8219505742eb5d08793bfb454ff9c8
[ "MIT" ]
2
2015-03-09T14:26:57.000Z
2015-03-30T17:30:56.000Z
menuparser.py
tomjaspers/vubresto-server
96b441c76d8219505742eb5d08793bfb454ff9c8
[ "MIT" ]
null
null
null
menuparser.py
tomjaspers/vubresto-server
96b441c76d8219505742eb5d08793bfb454ff9c8
[ "MIT" ]
null
null
null
#!/usr/bin/env python27 import io import os import json import logging import datetime import requests import lxml.html from lxml.cssselect import CSSSelector from multiprocessing.dummy import Pool as ThreadPool # Path where the JSONs will get written. Permissions are your job. SAVE_PATH = '.' # Urls of the pages t...
35.036364
80
0.572219
706
5,781
4.533994
0.331445
0.039363
0.012496
0.014995
0.056232
0.056232
0.056232
0
0
0
0
0.022172
0.305656
5,781
164
81
35.25
0.775287
0.144612
0
0.092437
0
0
0.14577
0
0
0
0
0
0
0
null
null
0.008403
0.07563
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
0
0
0
0
0
0
1
0d902f3628cad0645f5a28226144694853af64ef
1,673
py
Python
utils_data.py
vkola/peds2019
232ee1400e5220a8f928c1bab0bfbd9d20552308
[ "MIT" ]
13
2019-09-03T09:42:12.000Z
2022-03-23T02:14:46.000Z
utils_data.py
vkola/peds2019
232ee1400e5220a8f928c1bab0bfbd9d20552308
[ "MIT" ]
5
2020-12-17T09:38:22.000Z
2021-04-30T00:29:54.000Z
utils_data.py
vkola/peds2019
232ee1400e5220a8f928c1bab0bfbd9d20552308
[ "MIT" ]
7
2019-07-08T19:04:00.000Z
2022-02-19T09:04:45.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Jul 8 16:05:54 2019 @author: Chonghua Xue (Kolachalama's Lab, BU) """ from torch.utils.data import Dataset # true if gapped else false vocab_o = { True: ['-'] + ['A', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'V'...
38.906977
127
0.548117
270
1,673
3.255556
0.318519
0.075085
0.109215
0.154721
0.384528
0.352673
0.188851
0.120592
0.045506
0.045506
0
0.013667
0.212791
1,673
43
128
38.906977
0.653759
0.103407
0
0
0
0
0.042982
0
0
0
0
0
0
1
0.166667
false
0
0.041667
0.125
0.375
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
0
1
0
0
0
1
0d97e6e62284344f9f71b3d49de7c9c09fe6e5dd
4,122
py
Python
experimentum/Storage/Migrations/Schema.py
PascalKleindienst/experimentum
5d547e0e8135d4d7ffe42b0c8a57e70a7ac2af4b
[ "Apache-2.0" ]
null
null
null
experimentum/Storage/Migrations/Schema.py
PascalKleindienst/experimentum
5d547e0e8135d4d7ffe42b0c8a57e70a7ac2af4b
[ "Apache-2.0" ]
3
2019-04-17T08:07:12.000Z
2019-04-28T15:24:18.000Z
experimentum/Storage/Migrations/Schema.py
PascalKleindienst/experimentum
5d547e0e8135d4d7ffe42b0c8a57e70a7ac2af4b
[ "Apache-2.0" ]
null
null
null
"""The :py:class:`.Schema` class provides a database agnostic way of manipulating tables. Tables ====== Creating Tables --------------- To create a new database table, the :py:meth:`~.Schema.create` method is used. The :py:meth:`~.Schema.create` method accepts a table name as its argument and returns a :py:class:`.Bl...
26.423077
89
0.586608
512
4,122
4.671875
0.228516
0.016722
0.035117
0.031355
0.353261
0.300167
0.224916
0.20485
0.200669
0.200669
0
0.001367
0.29015
4,122
155
90
26.593548
0.816131
0.558709
0
0.368421
0
0
0.06694
0
0
0
0
0
0
1
0.236842
false
0
0.052632
0
0.368421
0.394737
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
0
0
0
1
0d98cd3509f57f05513feadf15808accb6f7add9
601
py
Python
kaskopy/items.py
aspirin1988/KASKO
924278f67a303a861e2367412bbc1dc3df59c742
[ "MIT" ]
null
null
null
kaskopy/items.py
aspirin1988/KASKO
924278f67a303a861e2367412bbc1dc3df59c742
[ "MIT" ]
null
null
null
kaskopy/items.py
aspirin1988/KASKO
924278f67a303a861e2367412bbc1dc3df59c742
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy from kaskopy.models import Car, RawData class CarItem(scrapy.Item): brand = scrapy.Field() model = scrapy.Field() year = scrapy.Field() ...
23.115385
52
0.592346
74
601
4.783784
0.594595
0.124294
0
0
0
0
0
0
0
0
0
0.002232
0.254576
601
25
53
24.04
0.787946
0.231281
0
0
0
0
0.070175
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.533333
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
0
0
1
0
0
1
0d9aee5955af9ee204ebd39cc82058caf26d7cbf
2,466
py
Python
GameLogServer/GameLogServer/log_reader.py
Frankity/IW4M-Admin
515443c84a574944e946d3691a4682d916fd582e
[ "MIT" ]
null
null
null
GameLogServer/GameLogServer/log_reader.py
Frankity/IW4M-Admin
515443c84a574944e946d3691a4682d916fd582e
[ "MIT" ]
null
null
null
GameLogServer/GameLogServer/log_reader.py
Frankity/IW4M-Admin
515443c84a574944e946d3691a4682d916fd582e
[ "MIT" ]
null
null
null
import re import os import time class LogReader(object): def __init__(self): self.log_file_sizes = {} # (if the file changes more than this, ignore ) - 1 MB self.max_file_size_change = 1000000 # (if the time between checks is greater, ignore ) - 5 minutes self.max_file_time_...
32.447368
108
0.576642
321
2,466
4.218069
0.34891
0.064993
0.048744
0.070901
0.134417
0.057607
0
0
0
0
0
0.010969
0.33455
2,466
75
109
32.88
0.814138
0.219789
0
0.235294
0
0
0.046025
0.019874
0
0
0
0.013333
0
1
0.078431
false
0
0.058824
0
0.352941
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
0
0
0
1
0da30113756629b303663abfe1005ea53d21c7f3
551
py
Python
lopy_gateway/config.py
haroal/choco-lora
d72cce0bb3e090463fafb993fb1f51db2c634416
[ "MIT" ]
null
null
null
lopy_gateway/config.py
haroal/choco-lora
d72cce0bb3e090463fafb993fb1f51db2c634416
[ "MIT" ]
null
null
null
lopy_gateway/config.py
haroal/choco-lora
d72cce0bb3e090463fafb993fb1f51db2c634416
[ "MIT" ]
null
null
null
""" LoPy LoRaWAN Nano Gateway configuration options """ import machine import ubinascii WIFI_MAC = ubinascii.hexlify(machine.unique_id()).upper() # Set the Gateway ID to be the first 3 bytes of MAC address + 'FFFE' + last 3 bytes of MAC address GATEWAY_ID = '30aea4fffe4e5638' #WIFI_MAC[:6] + "FFFE" + WIFI_MAC[6:12]...
23.956522
99
0.731397
86
551
4.511628
0.662791
0.054124
0.041237
0.056701
0.092784
0
0
0
0
0
0
0.092473
0.15608
551
22
100
25.045455
0.741935
0.362976
0
0
0
0
0.234604
0.079179
0
0
0
0
0
1
0
false
0.076923
0.153846
0
0.153846
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
0
0
0
1
0db1ad1545f9291e0a6a356a3b76f6cf63cf27eb
2,132
py
Python
examples/jet_substructure/syn.py
juliovicenzi/logicnets
ce4ca89e3b11702bade591c320177f17b7d8d187
[ "Apache-2.0" ]
null
null
null
examples/jet_substructure/syn.py
juliovicenzi/logicnets
ce4ca89e3b11702bade591c320177f17b7d8d187
[ "Apache-2.0" ]
null
null
null
examples/jet_substructure/syn.py
juliovicenzi/logicnets
ce4ca89e3b11702bade591c320177f17b7d8d187
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2021 Xilinx, 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...
39.481481
130
0.720919
290
2,132
5.162069
0.537931
0.04008
0.034068
0.021376
0.082832
0.042752
0
0
0
0
0
0.011641
0.194184
2,132
53
131
40.226415
0.859721
0.263133
0
0
0
0.032258
0.270566
0
0
0
0
0
0
1
0
false
0
0.322581
0
0.322581
0.064516
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
0
0
0
1
0db528e74438080829d841b6eb4aaef15ebfc109
325
py
Python
tests/views/test_ping.py
Eldies/image_storage
6bdf55b426813da2e45407418a09cc585b245a22
[ "MIT" ]
null
null
null
tests/views/test_ping.py
Eldies/image_storage
6bdf55b426813da2e45407418a09cc585b245a22
[ "MIT" ]
null
null
null
tests/views/test_ping.py
Eldies/image_storage
6bdf55b426813da2e45407418a09cc585b245a22
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import unittest from app import app class TestPingView(unittest.TestCase): def setUp(self): app.config['TESTING'] = True self.client = app.test_client() def test_ping(self): response = self.client.get('/ping') assert response.data.decode('utf-8') == 'p...
21.666667
54
0.621538
41
325
4.878049
0.609756
0.04
0
0
0
0
0
0
0
0
0
0.007968
0.227692
325
14
55
23.214286
0.788845
0.064615
0
0
0
0
0.069536
0
0
0
0
0
0.111111
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
0
0
0
1
0dbe7e52a6fcd5026bcaa13575dd6d512f98dd47
1,368
py
Python
commonware/response/middleware.py
Osmose/commonware
e2e02ad47b553362929bfb741105f10c56a1bdc8
[ "BSD-3-Clause" ]
null
null
null
commonware/response/middleware.py
Osmose/commonware
e2e02ad47b553362929bfb741105f10c56a1bdc8
[ "BSD-3-Clause" ]
null
null
null
commonware/response/middleware.py
Osmose/commonware
e2e02ad47b553362929bfb741105f10c56a1bdc8
[ "BSD-3-Clause" ]
null
null
null
import inspect import time from django.conf import settings class _statsd(object): def incr(s, *a, **kw): pass def timing(s, *a, **kw): pass try: from statsd import statsd except ImportError: statsd = _statsd() class FrameOptionsHeader(object): """ Set an X-Frame-Options ...
24.872727
73
0.625731
158
1,368
5.335443
0.449367
0.071174
0.061684
0.01898
0.092527
0.092527
0.092527
0
0
0
0
0.01003
0.271199
1,368
54
74
25.333333
0.835507
0.237573
0
0.241379
0
0
0.13004
0.025202
0
0
0
0
0
1
0.137931
false
0.068966
0.172414
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
0
0
1
0
0
0
0
0
1
0dbee3b7f12c94c66b785df1beab2df77b47d739
22,992
py
Python
tests/test_btc_rawtx_zcash.py
VDamas/app-cryptoescudo
9e53ccdd836f7b5c787927c74eba3b0ac5d079b6
[ "Apache-2.0" ]
null
null
null
tests/test_btc_rawtx_zcash.py
VDamas/app-cryptoescudo
9e53ccdd836f7b5c787927c74eba3b0ac5d079b6
[ "Apache-2.0" ]
null
null
null
tests/test_btc_rawtx_zcash.py
VDamas/app-cryptoescudo
9e53ccdd836f7b5c787927c74eba3b0ac5d079b6
[ "Apache-2.0" ]
1
2022-02-08T22:42:41.000Z
2022-02-08T22:42:41.000Z
import pytest from dataclasses import dataclass, field from functools import reduce from typing import List, Optional from helpers.basetest import BaseTestBtc, LedgerjsApdu, TxData, CONSENSUS_BRANCH_ID from helpers.deviceappbtc import DeviceAppBtc, CommException # Test data below is from a Zcash test log from Live te...
42.10989
155
0.62674
2,280
22,992
6.158772
0.216228
0.025637
0.012534
0.007976
0.358923
0.331363
0.275103
0.240991
0.216636
0.210796
0
0.224469
0.287926
22,992
545
156
42.187156
0.633215
0.308803
0
0.468354
0
0.005063
0.285028
0.187672
0.002532
0
0
0
0.002532
1
0.010127
false
0
0.01519
0
0.027848
0.04557
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0dcbb2c8e1a6f536fd7f94e8770c33962e2f268b
1,699
py
Python
nhoods/setup.py
MSLADevServGIS/NhoodProfiles
aa35d2a4d4be177dc8df79a34915eefb31a20634
[ "MIT" ]
null
null
null
nhoods/setup.py
MSLADevServGIS/NhoodProfiles
aa35d2a4d4be177dc8df79a34915eefb31a20634
[ "MIT" ]
null
null
null
nhoods/setup.py
MSLADevServGIS/NhoodProfiles
aa35d2a4d4be177dc8df79a34915eefb31a20634
[ "MIT" ]
null
null
null
# Setup procedures -- WIP import os import re import arcpy arcpy.env.workspace = "in_memory" # TODO: out_gdb = "//cityfiles/DEVServices/WallyG/projects/NhoodProfiles/nhoods/data/NhoodAmenities.gdb/MtStatePlane" # DATA PROCESSING # Nhood_buffers: arcpy.Buffer_analysis("Nhoods", "nhood_buffers", ...
32.673077
246
0.723955
216
1,699
5.453704
0.587963
0.042445
0.028014
0.03056
0
0
0
0
0
0
0
0.005461
0.137728
1,699
51
247
33.313725
0.798635
0.14126
0
0
0
0.043478
0.410221
0.230663
0
0
0
0.019608
0
1
0
false
0
0.130435
0
0.130435
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
0
0
0
1
0dd358ad72eca9a8df86326685bf5bf8a52c322f
717
py
Python
algorithm_web/admin/contest.py
KMU-algolab/algorithm
2b734978da78b936244580ed1febe4f9f6cf1aea
[ "MIT" ]
null
null
null
algorithm_web/admin/contest.py
KMU-algolab/algorithm
2b734978da78b936244580ed1febe4f9f6cf1aea
[ "MIT" ]
10
2019-03-15T05:12:23.000Z
2020-05-06T13:05:49.000Z
algorithm_web/admin/contest.py
KMU-algolab/algorithm
2b734978da78b936244580ed1febe4f9f6cf1aea
[ "MIT" ]
null
null
null
from django.contrib import admin from .. import models @admin.register(models.Contest) class ContestAdmin(admin.ModelAdmin): """ 대회관리 """ list_display = ['contest_name', 'start_time', 'end_time', 'message', 'host_email', 'after_open'] class Meta: model = models.Contest @admin.register(...
19.378378
100
0.658298
72
717
6.444444
0.458333
0.084052
0.122845
0.12931
0
0
0
0
0
0
0
0
0.211994
717
36
101
19.916667
0.821239
0.025105
0
0.176471
0
0
0.136294
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.647059
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
0
0
1
0
0
1
0dd4787568192c17a9f65ae09cd6486c8711bd89
4,920
py
Python
predix/admin/cf/spaces.py
Saifinbox/predix
d4a69da0adbc503fcf5d569e91c8ebb1aeac0605
[ "BSD-3-Clause" ]
null
null
null
predix/admin/cf/spaces.py
Saifinbox/predix
d4a69da0adbc503fcf5d569e91c8ebb1aeac0605
[ "BSD-3-Clause" ]
null
null
null
predix/admin/cf/spaces.py
Saifinbox/predix
d4a69da0adbc503fcf5d569e91c8ebb1aeac0605
[ "BSD-3-Clause" ]
null
null
null
import logging import predix.admin.cf.api import predix.admin.cf.orgs import predix.admin.cf.apps import predix.admin.cf.services class Space(object): """ Operations and data for Cloud Foundry Spaces. """ def __init__(self, *args, **kwargs): super(Space, self).__init__(*args, **kwargs) ...
28.114286
76
0.57378
610
4,920
4.508197
0.191803
0.033091
0.037818
0.043273
0.337818
0.221455
0.166182
0.121818
0.084364
0.071273
0
0.002371
0.314228
4,920
174
77
28.275862
0.812685
0.240447
0
0.153846
0
0
0.100737
0.037776
0
0
0
0
0
1
0.217949
false
0
0.064103
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0dd5ea13d1486dc2358d111b35e9609c1546878c
953
py
Python
services/traction/api/endpoints/routes/v1/tenant/admin/issuer.py
bcgov/traction
90cec4f1aebccd68eb986cb89dfae5819a07a2ee
[ "Apache-2.0" ]
12
2022-01-29T20:30:03.000Z
2022-03-29T11:46:14.000Z
services/traction/api/endpoints/routes/v1/tenant/admin/issuer.py
bcgov/traction
90cec4f1aebccd68eb986cb89dfae5819a07a2ee
[ "Apache-2.0" ]
38
2021-11-22T17:52:50.000Z
2022-03-31T17:52:00.000Z
services/traction/api/endpoints/routes/v1/tenant/admin/issuer.py
bcgov/traction
90cec4f1aebccd68eb986cb89dfae5819a07a2ee
[ "Apache-2.0" ]
9
2021-11-22T18:05:48.000Z
2022-03-29T11:25:08.000Z
import logging from fastapi import APIRouter from starlette import status from api.endpoints.dependencies.tenant_security import get_from_context from api.endpoints.models.v1.tenant import TenantGetResponse from api.services.v1 import tenant_service router = APIRouter() logger = logging.getLogger(__name__) @rou...
26.472222
84
0.757608
122
953
5.704918
0.516393
0.030172
0.060345
0.045977
0.063218
0
0
0
0
0
0
0.006313
0.16894
953
35
85
27.228571
0.872475
0.047219
0
0
0
0
0.05034
0
0
0
0
0.028571
0
1
0
false
0
0.3
0
0.35
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
0
0
0
1
0dd777da72c858ecb1ea267bb078c8de582008a6
1,618
py
Python
learning_files/loops.py
MineJockey/python-basics
bd0370413362c69e55fc81366d8c995875f9308a
[ "MIT" ]
null
null
null
learning_files/loops.py
MineJockey/python-basics
bd0370413362c69e55fc81366d8c995875f9308a
[ "MIT" ]
null
null
null
learning_files/loops.py
MineJockey/python-basics
bd0370413362c69e55fc81366d8c995875f9308a
[ "MIT" ]
null
null
null
def loops(): # String Array names = ["Apple", "Orange", "Pear"] # \n is a newline in a string print('\n---------------') print(' For Each Loop') print('---------------\n') # For Each Loop for i in names: print(i) print('\n---------------') print(' For Loop') prin...
25.68254
66
0.524722
206
1,618
4.067961
0.436893
0.042959
0.039379
0.033413
0.040573
0
0
0
0
0
0
0.021218
0.330037
1,618
62
67
26.096774
0.751845
0.403585
0
0.3125
0
0
0.196825
0
0
0
0
0
0
1
0.03125
false
0
0
0
0.03125
0.46875
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
0
0
0
1
0
1
0ddcb23ab572dfee37d81ec252ad2030e3319efd
1,675
py
Python
python/code_challenges/stacks_and_queues/stacks_and_queues.py
brendanwelzien/data-structures-and-algorithms
0bffe825e34de2e5c072b1e6b6c2cb1d7d1d61f5
[ "MIT" ]
null
null
null
python/code_challenges/stacks_and_queues/stacks_and_queues.py
brendanwelzien/data-structures-and-algorithms
0bffe825e34de2e5c072b1e6b6c2cb1d7d1d61f5
[ "MIT" ]
1
2020-11-10T01:31:39.000Z
2020-11-10T01:31:39.000Z
python/code_challenges/stacks_and_queues/stacks_and_queues.py
brendanwelzien/data-structures-and-algorithms
0bffe825e34de2e5c072b1e6b6c2cb1d7d1d61f5
[ "MIT" ]
null
null
null
class Node: def __init__(self, value, next_p=None): self.next = next_p self.value = value def __str__(self): return f'{self.value}' class InvalidOperationError(Exception): pass class Stack: def __init__(self): self.top = None def push(self, value): curren...
23.263889
81
0.560597
215
1,675
4.251163
0.176744
0.107221
0.039387
0.056893
0.442013
0.442013
0.442013
0.415755
0.345733
0.345733
0
0
0.352836
1,675
71
82
23.591549
0.843173
0
0
0.272727
0
0
0.09791
0
0
0
0
0
0
1
0.218182
false
0.018182
0
0.054545
0.418182
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
0
0
0
1
0ddf3f1c726adc70203174632e31094c4c2d0306
232
py
Python
square/main.py
vishwamshuklaRazorpay/vishwam_test
b0925429385005dac37d92938b7daf6245d636c8
[ "MIT" ]
null
null
null
square/main.py
vishwamshuklaRazorpay/vishwam_test
b0925429385005dac37d92938b7daf6245d636c8
[ "MIT" ]
null
null
null
square/main.py
vishwamshuklaRazorpay/vishwam_test
b0925429385005dac37d92938b7daf6245d636c8
[ "MIT" ]
null
null
null
def main(): number = int(input("Enter number (Only positive integer is allowed)")) print(f'{number} square is {number ** 2}') # Press the green button in the gutter to run the script. if __name__ == '__main__': main()
25.777778
74
0.659483
34
232
4.264706
0.764706
0
0
0
0
0
0
0
0
0
0
0.005435
0.206897
232
8
75
29
0.782609
0.237069
0
0
0
0
0.497143
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.2
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
0
0
0
1
0deb37fe04b5be7b019c80d0f79badcb0721fecc
2,583
py
Python
datable/web/columns.py
ofirr/dojango-datable
c4d27c23d66c023062270a31f05e21d0982e0b43
[ "MIT" ]
null
null
null
datable/web/columns.py
ofirr/dojango-datable
c4d27c23d66c023062270a31f05e21d0982e0b43
[ "MIT" ]
null
null
null
datable/web/columns.py
ofirr/dojango-datable
c4d27c23d66c023062270a31f05e21d0982e0b43
[ "MIT" ]
null
null
null
# /usr/bin/env python # -*- encoding: utf-8 -*- from django.utils.text import capfirst from django.utils.translation import ugettext as _ from datable.core.serializers import BooleanSerializer from datable.core.serializers import DateSerializer from datable.core.serializers import DateTimeSerializer from datable.core...
23.697248
70
0.663957
276
2,583
6.181159
0.293478
0.037515
0.043962
0.076202
0.093787
0
0
0
0
0
0
0.000527
0.265196
2,583
108
71
23.916667
0.898314
0.053039
0
0.1
0
0
0.019286
0
0
0
0
0
0
1
0.085714
false
0
0.1
0.057143
0.671429
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
0
0
1
0
0
1
0def13794ee3ca070ffd095ffc65ba6c515362be
350
py
Python
archives/build_wget.py
onai/code-ecosystem-analyzer
964d1ef5ec4d8f774c52aa2718663bb455d62ecb
[ "Apache-2.0" ]
null
null
null
archives/build_wget.py
onai/code-ecosystem-analyzer
964d1ef5ec4d8f774c52aa2718663bb455d62ecb
[ "Apache-2.0" ]
null
null
null
archives/build_wget.py
onai/code-ecosystem-analyzer
964d1ef5ec4d8f774c52aa2718663bb455d62ecb
[ "Apache-2.0" ]
null
null
null
import sys with open(sys.argv[1]) as handle: for new_line in handle: dest = new_line.split('/')[4] + '_' + new_line.split('/')[5] + '.zip' #print('curl -Ls -I -o /dev/null -w \'%{url_effective}\\n\' ' + new_line.strip()) print('curl -L --user ' + sys.argv[2] + ':' + sys.argv[3] + ' ' + new_...
43.75
107
0.525714
53
350
3.339623
0.622642
0.19774
0.135593
0
0
0
0
0
0
0
0
0.01845
0.225714
350
7
108
50
0.634686
0.228571
0
0
0
0
0.104089
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
0
0
0
1
0df3e3502236c625d081f0f74dbbd4aea76a92c9
630
py
Python
authors/apps/followers/models.py
andela/ah-code-titans
4f1fc77c2ecdf8ca15c24327d39fe661eac85785
[ "BSD-3-Clause" ]
null
null
null
authors/apps/followers/models.py
andela/ah-code-titans
4f1fc77c2ecdf8ca15c24327d39fe661eac85785
[ "BSD-3-Clause" ]
20
2018-11-26T16:22:46.000Z
2018-12-21T10:08:25.000Z
authors/apps/followers/models.py
andela/ah-code-titans
4f1fc77c2ecdf8ca15c24327d39fe661eac85785
[ "BSD-3-Clause" ]
3
2019-01-24T15:39:42.000Z
2019-09-25T17:57:08.000Z
from django.db import models from ..authentication.models import User class Follower(models.Model): """ Store data on following statistics for users. """ user = models.ForeignKey(User, on_delete=models.CASCADE, related_name='follower') followed = models.ForeignKey(User, on_delete=models.CASCADE, ...
30
89
0.696825
74
630
5.756757
0.527027
0.075117
0.093897
0.103286
0.244131
0.244131
0.244131
0.244131
0.244131
0
0
0
0.192063
630
20
90
31.5
0.836935
0.071429
0
0
0
0
0.100176
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0.083333
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
0
0
1
0
0
1
0df7ced38cda902e631d021c1255e468e0aeb410
750
py
Python
revelation/core/urls.py
Federico-Comesana/revelatte
ccd50831dcdec8bc4a7e83b062d0309f6e4feee2
[ "MIT" ]
null
null
null
revelation/core/urls.py
Federico-Comesana/revelatte
ccd50831dcdec8bc4a7e83b062d0309f6e4feee2
[ "MIT" ]
null
null
null
revelation/core/urls.py
Federico-Comesana/revelatte
ccd50831dcdec8bc4a7e83b062d0309f6e4feee2
[ "MIT" ]
null
null
null
from django.contrib.auth.decorators import login_required from django.conf.urls import url import views urlpatterns = [ url(r'public/$', views.RevelationModelListView.as_view(), name='revelation-list'), url(r'u/(?P<pk>\d+)/$', views.UserProfileView.as_view(), name='user-view')...
24.193548
66
0.617333
86
750
5.290698
0.395349
0.052747
0.131868
0.175824
0
0
0
0
0
0
0
0
0.202667
750
30
67
25
0.76087
0
0
0
0
0
0.193333
0
0
0
0
0
0
1
0
false
0
0.136364
0
0.136364
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
0
0
0
1
216ebd24f2457cf9469911c06b29cd3b21471003
530
py
Python
demo-001.py
zhouyuanmin/MyCode
dbc7df8dc5eba419340ef9aafed75af24f883381
[ "MIT" ]
1
2021-01-22T03:15:29.000Z
2021-01-22T03:15:29.000Z
demo-001.py
zhouyuanmin/MyCode
dbc7df8dc5eba419340ef9aafed75af24f883381
[ "MIT" ]
null
null
null
demo-001.py
zhouyuanmin/MyCode
dbc7df8dc5eba419340ef9aafed75af24f883381
[ "MIT" ]
null
null
null
""" 使用装饰器限制函数的调用次数 """ import functools def call_limit(count): def decorator(func): @functools.wraps(func) def wrapper(*args, **kw): if decorator.calls >= count: raise AssertionError(f"单个程序最多允许调用此方法{count}次") decorator.calls += 1 return func(*ar...
17.096774
62
0.558491
63
530
4.539683
0.571429
0.146853
0
0
0
0
0
0
0
0
0
0.016529
0.315094
530
30
63
17.666667
0.77135
0.026415
0
0
0
0
0.057087
0.041339
0
0
0
0
0.055556
1
0.222222
false
0
0.055556
0
0.444444
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
217147b682f00559525d500ab3019c807cac7a67
521
py
Python
deploy/test.py
zhxiaohe/starwars_api
f1b729e819eb19e5eb59630bed56b13127eb1ef2
[ "MIT" ]
null
null
null
deploy/test.py
zhxiaohe/starwars_api
f1b729e819eb19e5eb59630bed56b13127eb1ef2
[ "MIT" ]
null
null
null
deploy/test.py
zhxiaohe/starwars_api
f1b729e819eb19e5eb59630bed56b13127eb1ef2
[ "MIT" ]
null
null
null
#coding=utf-8 import requests,json headers = {'X-Rundeck-Auth-Token': '2EcW3xe0urFLrilqUOGCVYLXSbdByk2e','Accept': 'application/json'} headers['Content-type']='application/json' rundeck_host= 'http://10.1.16.26:4440' url = rundeck_host+'/api/16/project/fengyang/run/command' data={ 'project':'fengyang', 'exec...
23.681818
99
0.712092
70
521
5.257143
0.671429
0.059783
0
0
0
0
0
0
0
0
0
0.042918
0.105566
521
21
100
24.809524
0.746781
0.042226
0
0
0
0
0.47379
0.1875
0
0
0
0
0
0
null
null
0
0.071429
null
null
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
1
0
0
0
0
0
0
0
0
1
21731e6d861a39649ea198c473c43e6a73b5f540
2,916
py
Python
jmeter_api/configs/http_cache_manager/test_http_cache_manager.py
dashawn888/jmeter_api
1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd
[ "Apache-2.0" ]
11
2020-03-22T13:30:21.000Z
2021-12-25T06:23:44.000Z
jmeter_api/configs/http_cache_manager/test_http_cache_manager.py
dashawn888/jmeter_api
1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd
[ "Apache-2.0" ]
37
2019-12-18T13:12:50.000Z
2022-02-10T10:52:37.000Z
jmeter_api/configs/http_cache_manager/test_http_cache_manager.py
dashawn888/jmeter_api
1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd
[ "Apache-2.0" ]
5
2019-12-06T10:55:56.000Z
2020-06-01T19:32:32.000Z
import xmltodict import pytest from jmeter_api.configs.http_cache_manager.elements import HTTPCacheManager from jmeter_api.basics.utils import tag_wrapper class TestHTTPCacheManagerArgs: class TestClearCacheEachIteration: def test_check(self): with pytest.raises(TypeError): HT...
39.405405
86
0.645405
302
2,916
5.910596
0.198676
0.047059
0.080672
0.080672
0.708123
0.673389
0.673389
0.594398
0.594398
0.479552
0
0.017412
0.271262
2,916
73
87
39.945205
0.822588
0
0
0.526316
0
0
0.047668
0
0
0
0
0
0.105263
1
0.210526
false
0
0.070175
0
0.368421
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
0
0
0
1
217ddb7ab709173147528cb6c585bd4df64516a7
4,025
py
Python
examples/highcharts/pie-donut.py
Jbrunn/python-highcharts
a4c488ae5c2e125616efad5a722f3dfd8a9bc450
[ "MIT" ]
370
2015-10-07T20:13:10.000Z
2022-03-31T03:43:17.000Z
examples/highcharts/pie-donut.py
Jbrunn/python-highcharts
a4c488ae5c2e125616efad5a722f3dfd8a9bc450
[ "MIT" ]
67
2016-03-14T12:18:44.000Z
2022-02-24T09:24:31.000Z
examples/highcharts/pie-donut.py
Jbrunn/python-highcharts
a4c488ae5c2e125616efad5a722f3dfd8a9bc450
[ "MIT" ]
159
2016-02-25T15:07:52.000Z
2022-03-12T13:04:14.000Z
# -*- coding: utf-8 -*- """ Highcharts Demos Donut chart: http://www.highcharts.com/demo/pie-donut """ from highcharts import Highchart H = Highchart(width = 850, height = 400) data = [{ 'y': 55.11, 'color': 'Highcharts.getOptions().colors[0]', 'drilldown': { 'name'...
32.459677
115
0.429814
407
4,025
4.235872
0.312039
0.095708
0.145012
0.179814
0.234339
0.046404
0.046404
0
0
0
0
0.076832
0.372671
4,025
124
116
32.459677
0.605941
0.023106
0
0.160377
0
0.009434
0.313631
0.084076
0
0
0
0
0
1
0
false
0
0.009434
0
0.028302
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
0
0
0
1
217fa2fb2460ab023c2ba02ea8a4fbc0c4e79eb1
961
py
Python
computer_firm.py
GYosifov88/Python-Basics
f4290061264aebc417bde4948948e4a64739fec9
[ "MIT" ]
null
null
null
computer_firm.py
GYosifov88/Python-Basics
f4290061264aebc417bde4948948e4a64739fec9
[ "MIT" ]
null
null
null
computer_firm.py
GYosifov88/Python-Basics
f4290061264aebc417bde4948948e4a64739fec9
[ "MIT" ]
null
null
null
number_of_computers = int(input()) number_of_sales = 0 real_sales = 0 made_sales = 0 counter_sales = 0 total_ratings = 0 for i in range (number_of_computers): rating = int(input()) rating_scale = rating % 10 possible_sales = rating // 10 total_ratings += rating_scale if rating_scale == 2: r...
25.289474
52
0.661811
130
961
4.546154
0.269231
0.167513
0.143824
0.186125
0.304569
0.263959
0.263959
0.263959
0
0
0
0.057024
0.251821
961
37
53
25.972973
0.764951
0
0
0.172414
0
0
0.040795
0
0
0
0
0
0
1
0
false
0
0
0
0
0.068966
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
0
0
0
1
2189e908a5d40835988cf4b8179b93819c50451d
2,386
py
Python
wren/pomo.py
kthy/wren
62e9439ea82a1d984f07fa8cd00421e0e640196f
[ "MIT" ]
1
2021-06-04T07:15:02.000Z
2021-06-04T07:15:02.000Z
wren/pomo.py
kthy/wren
62e9439ea82a1d984f07fa8cd00421e0e640196f
[ "MIT" ]
9
2021-02-20T22:33:05.000Z
2021-04-12T17:35:48.000Z
wren/pomo.py
pyxy-dk/wren
62e9439ea82a1d984f07fa8cd00421e0e640196f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Gettext manipulation methods.""" from os import remove from os.path import exists from pathlib import Path from shutil import copyfile, copystat from typing import Sequence from filehash import FileHash from polib import MOFile, POFile, mofile from wren.change import Change def apply_cha...
34.57971
80
0.725482
354
2,386
4.644068
0.242938
0.069343
0.072993
0.0809
0.277372
0.209854
0.192214
0.152068
0.152068
0.109489
0
0.001005
0.165968
2,386
68
81
35.088235
0.825126
0.19321
0
0.102564
0
0
0.111406
0.062069
0
0
0
0
0
1
0.205128
false
0
0.205128
0.051282
0.487179
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
0
0
0
1
218b02aeb89c1d716160e75933fbb97fec67090f
199
py
Python
mysite/polls/urls.py
cs-fullstack-fall-2018/django-intro1-psanon19
0ae36780fd664313a011e7a219bc401b158fe93f
[ "Apache-2.0" ]
null
null
null
mysite/polls/urls.py
cs-fullstack-fall-2018/django-intro1-psanon19
0ae36780fd664313a011e7a219bc401b158fe93f
[ "Apache-2.0" ]
null
null
null
mysite/polls/urls.py
cs-fullstack-fall-2018/django-intro1-psanon19
0ae36780fd664313a011e7a219bc401b158fe93f
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('language/', views.language), path('system/', views.system), path('ide/', views.ide), path('', views.nothing) ]
19.9
38
0.638191
24
199
5.291667
0.458333
0
0
0
0
0
0
0
0
0
0
0
0.18593
199
10
39
19.9
0.783951
0
0
0
0
0
0.1
0
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
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
1
218be87fd5642367ab0f3fbe799b44f1dfb60d9c
640
py
Python
pyconcz/announcements/migrations/0002_announcement_font_size.py
martinpucala/cz.pycon.org-2019
044337ed0e7f721e96d88da69511ba5493d127e6
[ "MIT" ]
6
2018-08-25T13:40:22.000Z
2019-05-25T21:58:41.000Z
pyconcz/announcements/migrations/0002_announcement_font_size.py
Giraafje/cz.pycon.org-2019
f7bfad2f0c0f98368e2f6163f7dce70335549a68
[ "MIT" ]
188
2018-08-26T06:53:50.000Z
2022-02-12T04:04:36.000Z
pyconcz/announcements/migrations/0002_announcement_font_size.py
Giraafje/cz.pycon.org-2019
f7bfad2f0c0f98368e2f6163f7dce70335549a68
[ "MIT" ]
15
2018-11-03T06:32:34.000Z
2020-02-11T21:17:14.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-06-11 05:18 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('announcements', '0001_initial'), ] operations = [ ...
29.090909
206
0.676563
70
640
6.057143
0.685714
0.070755
0.141509
0
0
0
0
0
0
0
0
0.052838
0.201563
640
21
207
30.47619
0.776908
0.107813
0
0
1
0
0.128521
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
218f388452a32732371a26acb9b1b26668fa0afb
238
py
Python
cloudmesh-exercises/cloudmesh-common-2.py
cybertraining-dsc/fa19-516-170
8746be5a89d897a155468303308efb71ce7ba849
[ "Apache-2.0" ]
null
null
null
cloudmesh-exercises/cloudmesh-common-2.py
cybertraining-dsc/fa19-516-170
8746be5a89d897a155468303308efb71ce7ba849
[ "Apache-2.0" ]
null
null
null
cloudmesh-exercises/cloudmesh-common-2.py
cybertraining-dsc/fa19-516-170
8746be5a89d897a155468303308efb71ce7ba849
[ "Apache-2.0" ]
1
2019-09-06T17:27:32.000Z
2019-09-06T17:27:32.000Z
# fa19-516-170 E.Cloudmesh.Common.2 from cloudmesh.common.dotdict import dotdict color = {"red": 255, "blue": 255, "green": 255, "alpha": 0} color = dotdict(color) print("A RGB color: ", color.red, color.blue, color.green, color.alpha)
29.75
71
0.697479
37
238
4.486486
0.540541
0.180723
0
0
0
0
0
0
0
0
0
0.091346
0.12605
238
8
71
29.75
0.706731
0.138655
0
0
0
0
0.147059
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
219394299c86acbdbecacd314e8a2cf464bd2c78
1,720
py
Python
day02/main.py
aschmied/advent-of-code-2020
4112cebaf4dc4c6a931824da89ab894d21595673
[ "BSD-2-Clause" ]
null
null
null
day02/main.py
aschmied/advent-of-code-2020
4112cebaf4dc4c6a931824da89ab894d21595673
[ "BSD-2-Clause" ]
null
null
null
day02/main.py
aschmied/advent-of-code-2020
4112cebaf4dc4c6a931824da89ab894d21595673
[ "BSD-2-Clause" ]
null
null
null
def main(): valid_passwords_by_range_policy = 0 valid_passwords_by_position_policy = 0 with open('input') as f: for line in f: policy_string, password = parse_line(line.strip()) policy = Policy.parse(policy_string) if policy.is_valid_by_range_policy(password): ...
38.222222
98
0.676744
219
1,720
4.922374
0.205479
0.103896
0.118738
0.077922
0.346939
0.055659
0.055659
0
0
0
0
0.011278
0.226744
1,720
44
99
39.090909
0.799248
0
0
0
0
0
0.103488
0.040116
0
0
0
0
0
1
0.157895
false
0.394737
0
0
0.289474
0.052632
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
0
0
0
1
2194785ae66285d905bdd54bde253e59e60bc9d5
1,476
py
Python
progs/PyEpoch-master/PyEpoch-master/example.py
am-3/TimeZoned
e8ae2e90c2d6addf13b145aa2a4c7a9a66c1346e
[ "MIT" ]
null
null
null
progs/PyEpoch-master/PyEpoch-master/example.py
am-3/TimeZoned
e8ae2e90c2d6addf13b145aa2a4c7a9a66c1346e
[ "MIT" ]
null
null
null
progs/PyEpoch-master/PyEpoch-master/example.py
am-3/TimeZoned
e8ae2e90c2d6addf13b145aa2a4c7a9a66c1346e
[ "MIT" ]
null
null
null
# PyEpoch Module Example File. import pyepoch # -- TODAY() -- # The today() function returns today's date. today = pyepoch.today() print("Today's date & time:") print(today) # -- TIMEZONE() -- # The timezone() function returns a date with a different timezone. # timezone() takes two(2) arguments: # - date = a da...
31.404255
117
0.680217
228
1,476
4.355263
0.276316
0.054381
0.040282
0.045317
0.401813
0.32427
0.27996
0.27996
0.195368
0.195368
0
0.010779
0.182927
1,476
46
118
32.086957
0.812604
0.651762
0
0
0
0
0.180894
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.615385
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
0
0
0
1
0
1
2197966d631c9c92b13301a3f1143b67b6729392
1,735
py
Python
sum/4-sum-II.py
windowssocket/py_leetcode
241dbf8d7dab7db5215c2526321fcdb378b45492
[ "Apache-2.0" ]
3
2018-05-29T02:29:40.000Z
2020-02-05T03:28:16.000Z
sum/4-sum-II.py
xidongc/py_leetcode
241dbf8d7dab7db5215c2526321fcdb378b45492
[ "Apache-2.0" ]
1
2019-03-08T13:22:32.000Z
2019-03-08T13:22:32.000Z
sum/4-sum-II.py
xidongc/py_leetcode
241dbf8d7dab7db5215c2526321fcdb378b45492
[ "Apache-2.0" ]
3
2018-05-29T11:50:24.000Z
2018-11-27T12:31:01.000Z
# LTE using two pointers O(n**3) class Solution(object): def fourSumCount(self, A, B, C, D): # corner case: if len(A) == 0: return 0 A.sort() B.sort() C.sort() D.sort() count = 0 for i in range(len(A)): for j in range(len(B)...
26.287879
71
0.311816
210
1,735
2.57619
0.22381
0.018484
0.027726
0.081331
0.232902
0.232902
0.18854
0.18854
0.18854
0.155268
0
0.04698
0.570605
1,735
66
72
26.287879
0.679195
0.092219
0
0.347826
0
0
0
0
0
0
0
0
0
1
0.043478
false
0
0
0
0.152174
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
219a50648cf64b278567555f4d618a30757f4bc1
1,200
py
Python
betfairlightweight/endpoints/navigation.py
rozzac90/betfair
de885adf308e48bfc2614df46a5375a7df6386ef
[ "MIT" ]
1
2020-04-15T22:17:26.000Z
2020-04-15T22:17:26.000Z
betfairlightweight/endpoints/navigation.py
rozzac90/betfair
de885adf308e48bfc2614df46a5375a7df6386ef
[ "MIT" ]
null
null
null
betfairlightweight/endpoints/navigation.py
rozzac90/betfair
de885adf308e48bfc2614df46a5375a7df6386ef
[ "MIT" ]
1
2021-04-26T14:47:28.000Z
2021-04-26T14:47:28.000Z
from requests import ConnectionError from ..exceptions import APIError from ..utils import check_status_code from .baseendpoint import BaseEndpoint class Navigation(BaseEndpoint): """ Navigation operations. """ def list_navigation(self, session=None): """ This Navigation Data for App...
30
85
0.66
130
1,200
6.023077
0.461538
0.05364
0.038314
0.058748
0.074074
0
0
0
0
0
0
0
0.265
1,200
39
86
30.769231
0.887755
0.19
0
0
0
0
0.016502
0
0
0
0
0
0
1
0.142857
false
0
0.190476
0.047619
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
0
0
0
0
0
1
0
0
1
219ba636e42aee8cec43580d423fc62e4f5c5cf3
686
py
Python
flaskr/models.py
ukeskin/cevrimici-kitap-galerisi
bea06dc417bb779e185b50d6f7f848a33e6f7bcb
[ "MIT" ]
null
null
null
flaskr/models.py
ukeskin/cevrimici-kitap-galerisi
bea06dc417bb779e185b50d6f7f848a33e6f7bcb
[ "MIT" ]
null
null
null
flaskr/models.py
ukeskin/cevrimici-kitap-galerisi
bea06dc417bb779e185b50d6f7f848a33e6f7bcb
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField from wtforms.validators import DataRequired from database import db class User(object): def __init__(self, name, avatar, email, password): self.name = name self.email = email self.password = password sel...
31.181818
58
0.586006
76
686
5.210526
0.407895
0.060606
0.070707
0
0
0
0
0
0
0
0
0
0.310496
686
21
59
32.666667
0.837209
0
0
0
0
0
0.052478
0
0
0
0
0
0
1
0.15
false
0.2
0.2
0.05
0.45
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
0
0
0
1
21a04335d89c7d0c5916d0d77c189c61e2cfb328
24,611
py
Python
GenerateSyntheticData.py
dragonfly-asl/SyntheticDataGenerator
368b8e6ba0489053e98abd7bc0b720b71d6cae99
[ "Apache-2.0" ]
null
null
null
GenerateSyntheticData.py
dragonfly-asl/SyntheticDataGenerator
368b8e6ba0489053e98abd7bc0b720b71d6cae99
[ "Apache-2.0" ]
null
null
null
GenerateSyntheticData.py
dragonfly-asl/SyntheticDataGenerator
368b8e6ba0489053e98abd7bc0b720b71d6cae99
[ "Apache-2.0" ]
1
2019-06-25T15:05:02.000Z
2019-06-25T15:05:02.000Z
# /bin/env python # coding: utf-8 from __future__ import print_function import sys import argparse import logging import os import math import cv2 import numpy as np class GenerateSyntheticData: import PythonMagick as Magick def __init__(self, logger=None): if logger == None: logging.b...
48.35167
135
0.557027
2,614
24,611
5.134277
0.261668
0.04113
0.068549
0.053647
0.271589
0.238581
0.17793
0.128604
0.061247
0.042694
0
0.021481
0.277437
24,611
508
136
48.44685
0.733228
0.024908
0
0.097257
1
0.002494
0.142243
0.00121
0
0
0
0
0
1
0.079801
false
0.002494
0.022444
0
0.127182
0.002494
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
21a39959b787e7f048c3956b733c098a43568590
5,583
py
Python
test/test_websocket.py
lmacken/binance-chain-python
483e51394ebc9f9998f5248910ac7b7dff7198f9
[ "MIT" ]
22
2019-04-27T02:14:52.000Z
2021-01-04T00:37:41.000Z
test/test_websocket.py
redquantum/binance-chain-python
483e51394ebc9f9998f5248910ac7b7dff7198f9
[ "MIT" ]
7
2019-04-28T20:57:49.000Z
2021-09-03T03:39:22.000Z
test/test_websocket.py
redquantum/binance-chain-python
483e51394ebc9f9998f5248910ac7b7dff7198f9
[ "MIT" ]
9
2019-04-27T23:43:51.000Z
2021-04-15T18:09:51.000Z
# Copyright 2019, Luke Macken, Kim Bui, and the binance-chain-python contributors # SPDX-License-Identifier: MIT """ Binance DEX WebSocket Test Suite """ import asyncio import pytest from binancechain import HTTPClient, WebSocket def on_error(msg): print(f'Error: {msg}') @pytest.fixture async def client(): ...
21.980315
81
0.675981
708
5,583
5.155367
0.138418
0.062466
0.052603
0.090411
0.725753
0.725753
0.656438
0.609315
0.598082
0.584658
0
0.003621
0.20849
5,583
253
82
22.067194
0.822358
0.034927
0
0.644578
0
0
0.046407
0.011228
0
0
0
0
0.066265
1
0.144578
false
0
0.018072
0
0.162651
0.024096
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
21a698ad6f8035ce96d6e79e8a6eb4d69be7b56f
1,193
py
Python
DS_Alog_Python/array_employeelist.py
abhigyan709/dsalgo
868448834b22e06e572b4a0b4ba85cb1b0c6d7ee
[ "MIT" ]
1
2021-06-03T10:20:50.000Z
2021-06-03T10:20:50.000Z
DS_Alog_Python/array_employeelist.py
abhigyan709/dsalgo
868448834b22e06e572b4a0b4ba85cb1b0c6d7ee
[ "MIT" ]
null
null
null
DS_Alog_Python/array_employeelist.py
abhigyan709/dsalgo
868448834b22e06e572b4a0b4ba85cb1b0c6d7ee
[ "MIT" ]
null
null
null
class Employee: def __init__(self, name, emp_id, email_id): self.__name=name self.__emp_id=emp_id self.__email_id=email_id def get_name(self): return self.__name def get_emp_id(self): return self.__emp_id def get_email_id(self): return self.__email_id ...
27.744186
78
0.674769
168
1,193
4.416667
0.255952
0.040431
0.097035
0.043127
0
0
0
0
0
0
0
0.029598
0.207041
1,193
43
79
27.744186
0.754757
0.018441
0
0
0
0
0.130658
0.089667
0
0
0
0
0
1
0.21875
false
0
0
0.09375
0.40625
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
21ac52aabd54ed388edac1605b21259e6ba60313
2,620
py
Python
pyjobserver/__main__.py
athewsey/pyjobserver
1251a0f22182c8bc8b55a85ef45adc7c1e2b982e
[ "Apache-2.0" ]
null
null
null
pyjobserver/__main__.py
athewsey/pyjobserver
1251a0f22182c8bc8b55a85ef45adc7c1e2b982e
[ "Apache-2.0" ]
null
null
null
pyjobserver/__main__.py
athewsey/pyjobserver
1251a0f22182c8bc8b55a85ef45adc7c1e2b982e
[ "Apache-2.0" ]
null
null
null
"""Main/example start-up script for the pyjobserver Use this as a guide if importing pyjobserver into another app instead """ # Built-Ins: import asyncio from logging import getLogger, Logger import os from pathlib import Path # External Dependencies: from aiohttp import web import click from dotenv import load_dote...
32.75
119
0.743511
354
2,620
5.367232
0.49435
0.063158
0.028421
0
0
0
0
0
0
0
0
0
0.167939
2,620
79
120
33.164557
0.87156
0.26145
0
0
0
0
0.076561
0
0
0
0
0.012658
0
1
0.025
false
0
0.275
0
0.35
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
0
0
0
1
21acb4fa80b3916f001211cac88508c8d9ee7743
492
py
Python
dowhy/graph_learner.py
leo-ware/dowhy
3a2a79e2159a7f29456dd419a3c90395a384364e
[ "MIT" ]
2,904
2019-05-07T08:09:33.000Z
2022-03-31T18:28:41.000Z
dowhy/graph_learner.py
leo-ware/dowhy
3a2a79e2159a7f29456dd419a3c90395a384364e
[ "MIT" ]
238
2019-05-11T02:57:22.000Z
2022-03-31T23:47:18.000Z
dowhy/graph_learner.py
leo-ware/dowhy
3a2a79e2159a7f29456dd419a3c90395a384364e
[ "MIT" ]
527
2019-05-08T16:23:45.000Z
2022-03-30T21:02:41.000Z
class GraphLearner: """Base class for causal discovery methods. Subclasses implement different discovery methods. All discovery methods are in the package "dowhy.causal_discoverers" """ def __init__(self, data, library_class, *args, **kwargs): self._data = data self._labels = list(self._data.columns) self...
23.428571
118
0.739837
63
492
5.555556
0.603175
0.137143
0
0
0
0
0
0
0
0
0
0
0.170732
492
20
119
24.6
0.857843
0.426829
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.375
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
0
0
0
1
21b63b9f54674792f408a6f07e0262da28ca36a1
553
py
Python
todo/api/views.py
devord/todo
312c313589cec179d69bf64ca3e06382dc2df728
[ "MIT" ]
null
null
null
todo/api/views.py
devord/todo
312c313589cec179d69bf64ca3e06382dc2df728
[ "MIT" ]
36
2019-03-22T01:50:24.000Z
2022-02-26T10:28:41.000Z
todo/api/views.py
devord/todo
312c313589cec179d69bf64ca3e06382dc2df728
[ "MIT" ]
null
null
null
from rest_framework import viewsets from api.serializers import LabelSerializer, ItemSerializer from api.models import Label, Item class LabelViewSet(viewsets.ModelViewSet): """ API endpoint that allows labels to be viewed or edited. """ queryset = Label.objects.all().order_by('name') serializer_...
26.333333
59
0.734177
65
553
6.169231
0.523077
0.034913
0.114713
0.154613
0.334165
0.334165
0
0
0
0
0
0
0.179024
553
20
60
27.65
0.88326
0.198915
0
0
0
0
0.021845
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
21bc3e83174440b0d25cd071871ba1fe4765dc1b
408
py
Python
src/accounts/migrations/0009_alter_protection_description.py
NikolayTls/CarRental-Fullstack
e535976c25dd77896a355a2d30b5348be90ac040
[ "MIT" ]
null
null
null
src/accounts/migrations/0009_alter_protection_description.py
NikolayTls/CarRental-Fullstack
e535976c25dd77896a355a2d30b5348be90ac040
[ "MIT" ]
null
null
null
src/accounts/migrations/0009_alter_protection_description.py
NikolayTls/CarRental-Fullstack
e535976c25dd77896a355a2d30b5348be90ac040
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-11-09 18:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0008_auto_20211108_1633'), ] operations = [ migrations.AlterField( model_name='protection', name='descri...
21.473684
62
0.612745
44
408
5.568182
0.863636
0
0
0
0
0
0
0
0
0
0
0.114865
0.27451
408
18
63
22.666667
0.712838
0.110294
0
0
1
0
0.144044
0.063712
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
21bdc2ccc7ab9e40f05cc42e706cde91619db6a2
95,650
py
Python
gym_electric_motor/physical_systems/electric_motors.py
54hanxiucao/gym-electric-motor
911432388b00675e8a93f4a7937fdc575f106f22
[ "MIT" ]
1
2021-03-29T07:47:32.000Z
2021-03-29T07:47:32.000Z
gym_electric_motor/physical_systems/electric_motors.py
54hanxiucao/gym-electric-motor
911432388b00675e8a93f4a7937fdc575f106f22
[ "MIT" ]
null
null
null
gym_electric_motor/physical_systems/electric_motors.py
54hanxiucao/gym-electric-motor
911432388b00675e8a93f4a7937fdc575f106f22
[ "MIT" ]
null
null
null
import numpy as np import math from scipy.stats import truncnorm class ElectricMotor: """ Base class for all technical electrical motor models. A motor consists of the ode-state. These are the dynamic quantities of its ODE. For example: ODE-State of a DC-shunt motor...
45.809387
285
0.464098
10,316
95,650
4.090054
0.056417
0.008746
0.020477
0.009006
0.735572
0.700164
0.668831
0.629654
0.607399
0.592065
0
0.018678
0.355191
95,650
2,088
286
45.809387
0.665429
0.464778
0
0.530973
0
0
0.054972
0
0
0
0
0.000479
0.001106
1
0.09292
false
0.001106
0.003319
0.018805
0.280973
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1