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
b3e10b13128ce93e6e6559d8e9d45993251f9fca
10,440
py
Python
chainer/functions/normalization/decorrelated_batch_normalization.py
zaltoprofen/chainer
3b03f9afc80fd67f65d5e0395ef199e9506b6ee1
[ "MIT" ]
2
2019-08-12T21:48:04.000Z
2020-08-27T18:04:20.000Z
chainer/functions/normalization/decorrelated_batch_normalization.py
zaltoprofen/chainer
3b03f9afc80fd67f65d5e0395ef199e9506b6ee1
[ "MIT" ]
null
null
null
chainer/functions/normalization/decorrelated_batch_normalization.py
zaltoprofen/chainer
3b03f9afc80fd67f65d5e0395ef199e9506b6ee1
[ "MIT" ]
2
2019-07-16T00:24:47.000Z
2021-02-26T10:27:27.000Z
from chainer import backend from chainer import function_node from chainer.utils import argument from chainer.utils import type_check def _calc_axis_and_m(x_shape, batch_size, groups): m = batch_size * groups spatial_ndim = len(x_shape) - 2 spatial_axis = tuple(range(2, 2 + spatial_ndim)) for i in spa...
34.569536
79
0.597126
1,394
10,440
4.314204
0.147059
0.017958
0.054872
0.026937
0.483538
0.450449
0.42717
0.365314
0.312271
0.306119
0
0.015259
0.284387
10,440
301
80
34.684385
0.78972
0.225287
0
0.405263
0
0
0.024816
0
0
0
0
0.003322
0
1
0.089474
false
0
0.021053
0
0.178947
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
0
0
1
0
b3e19b135f9937b8127b504d9686651695c64d32
439
py
Python
Misc/Become_a_Python_Developer/1_Up and Running with Python/Ex_Files_UaR_Python/Exercise Files/Ch5/jsondata_start.py
specter01wj/LAB-Lynda
1915ada66f4498cdf15a0e2a068c938e325e9ba3
[ "MIT" ]
null
null
null
Misc/Become_a_Python_Developer/1_Up and Running with Python/Ex_Files_UaR_Python/Exercise Files/Ch5/jsondata_start.py
specter01wj/LAB-Lynda
1915ada66f4498cdf15a0e2a068c938e325e9ba3
[ "MIT" ]
8
2020-07-08T06:20:03.000Z
2022-03-02T10:05:06.000Z
Misc/Become_a_Python_Developer/1_Up and Running with Python/Ex_Files_UaR_Python/Exercise Files/Ch5/jsondata_start.py
specter01wj/LAB-Lynda
1915ada66f4498cdf15a0e2a068c938e325e9ba3
[ "MIT" ]
null
null
null
# # Example file for parsing and processing JSON # (For Python 3.x, be sure to use the ExampleSnippets3.txt file) def main(): # define a variable to hold the source URL # In this case we'll use the free data feed from the USGS # This feed lists all earthquakes for the last day larger than Mag 2.5 urlDat...
27.4375
86
0.710706
74
439
4.094595
0.743243
0.039604
0
0
0
0
0
0
0
0
0
0.022792
0.200456
439
15
87
29.266667
0.840456
0.621868
0
0
0
0.25
0.506329
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
b3e26905c8655f7860350646270ee6b0067c28cc
2,306
py
Python
test_env_flag.py
paulmelnikow/env-flag
be074534896af557f54caef4f8d1cf64228f3aee
[ "BSD-2-Clause" ]
null
null
null
test_env_flag.py
paulmelnikow/env-flag
be074534896af557f54caef4f8d1cf64228f3aee
[ "BSD-2-Clause" ]
7
2018-11-26T10:21:18.000Z
2019-04-03T10:37:15.000Z
test_env_flag.py
paulmelnikow/env-flag-fork
be074534896af557f54caef4f8d1cf64228f3aee
[ "BSD-2-Clause" ]
null
null
null
import os import unittest import uuid from env_flag import env_flag class EnvironGetBoolTest(unittest.TestCase): def test_that_env_flag_for_unset_returns_false(self): env_var = str(uuid.uuid4()) self.assertIsNone(os.environ.get(env_var)) self.assertFalse(env_flag(env_var)) def test_tha...
37.803279
72
0.67693
335
2,306
4.298507
0.119403
0.154167
0.076389
0.099306
0.8875
0.8875
0.872917
0.847917
0.824306
0.824306
0
0.009777
0.201648
2,306
60
73
38.433333
0.772406
0
0
0.568627
0
0
0.013877
0
0
0
0
0
0.392157
1
0.176471
false
0
0.078431
0
0.27451
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b3e51e1c2ad25822aeffab799695aee3ded4fa23
5,857
py
Python
ml/app.py
necla-ml/ml
7ebd29382326e3958297607da7182c211865e7ff
[ "BSD-3-Clause" ]
1
2022-02-21T21:06:29.000Z
2022-02-21T21:06:29.000Z
ml/app.py
necla-ml/ml
7ebd29382326e3958297607da7182c211865e7ff
[ "BSD-3-Clause" ]
null
null
null
ml/app.py
necla-ml/ml
7ebd29382326e3958297607da7182c211865e7ff
[ "BSD-3-Clause" ]
null
null
null
import os, sys import subprocess from pathlib import Path import ml from ml import ( cuda, distributed as dist, multiprocessing as mp, random, utils, logging,) def init_cuda(cfg): if cfg.no_gpu: # No use of GPU cfg.gpu = [] os.environ['CUDA_VISIBLE_DEVICES'] = 'NoDe...
44.371212
188
0.583575
742
5,857
4.459569
0.233154
0.054397
0.054397
0.046238
0.3424
0.265639
0.183741
0.183741
0.085827
0.085827
0
0.002414
0.292641
5,857
132
189
44.371212
0.796283
0.085026
0
0.218182
0
0.036364
0.227086
0.102694
0
0
0
0
0.063636
1
0.045455
false
0
0.063636
0
0.136364
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
0
0
1
0
b3e59a34da2419eebef779ae17ec337eb9356b63
2,497
py
Python
sopel-homedirectory/modules/lib/gettitle.py
kunwon1/subtitle-selenium
9af8c08d5f30cf0734a65cad79a6ac98a2647124
[ "MIT" ]
null
null
null
sopel-homedirectory/modules/lib/gettitle.py
kunwon1/subtitle-selenium
9af8c08d5f30cf0734a65cad79a6ac98a2647124
[ "MIT" ]
null
null
null
sopel-homedirectory/modules/lib/gettitle.py
kunwon1/subtitle-selenium
9af8c08d5f30cf0734a65cad79a6ac98a2647124
[ "MIT" ]
null
null
null
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from pyvirtualdisplay import Display import urllib3.exceptions import traceback import string import time import re prin...
30.82716
208
0.62515
289
2,497
5.287197
0.480969
0.052356
0.049084
0.052356
0.11322
0.060209
0.060209
0
0
0
0
0.043549
0.264317
2,497
80
209
31.2125
0.788242
0.060072
0
0.111111
0
0.031746
0.174603
0
0
0
0
0
0
1
0.079365
false
0.015873
0.15873
0.015873
0.333333
0.15873
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
0
1
0
b3e644d9272bdc05c07609d43e1cf04ff2a64a5c
769
py
Python
carpyncho/migrations/versions/19e8e023f5fb_remove_enum_from_tile.py
toros-astro/carpyncho3
27b00e7539e081c563f1a09c70fb255ac5e71583
[ "BSD-3-Clause" ]
1
2016-02-16T11:10:52.000Z
2016-02-16T11:10:52.000Z
carpyncho/migrations/versions/19e8e023f5fb_remove_enum_from_tile.py
toros-astro/carpyncho3
27b00e7539e081c563f1a09c70fb255ac5e71583
[ "BSD-3-Clause" ]
null
null
null
carpyncho/migrations/versions/19e8e023f5fb_remove_enum_from_tile.py
toros-astro/carpyncho3
27b00e7539e081c563f1a09c70fb255ac5e71583
[ "BSD-3-Clause" ]
null
null
null
"""remove enum from tile Revision ID: 19e8e023f5fb Revises: cf2e08638e84 Create Date: 2018-08-23 12:43:31.403270 """ # revision identifiers, used by Alembic. revision = '19e8e023f5fb' down_revision = 'cf2e08638e84' branch_labels = None depends_on = None from alembic import op import sqlalchemy as sa def upgrade()...
24.806452
93
0.687906
99
769
5.282828
0.525253
0.051625
0.080306
0.087954
0.474187
0.474187
0.474187
0.474187
0.309751
0.309751
0
0.087227
0.16515
769
30
94
25.633333
0.727414
0.394018
0
0.181818
0
0
0.13986
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.363636
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
0
0
1
0
b3e82e6427704394d5ce2adab66ff8b1f4025766
318
py
Python
chapter5/codes/execNeval.py
IPVL/Tanvin-PythonWorks
75a3140ac4fd426dae1b1aeb5a75893050547782
[ "MIT" ]
null
null
null
chapter5/codes/execNeval.py
IPVL/Tanvin-PythonWorks
75a3140ac4fd426dae1b1aeb5a75893050547782
[ "MIT" ]
null
null
null
chapter5/codes/execNeval.py
IPVL/Tanvin-PythonWorks
75a3140ac4fd426dae1b1aeb5a75893050547782
[ "MIT" ]
null
null
null
#! /usr/bin/env python # example of exec exec "print 'Hello, world!'" # another example from math import sqrt scope = {} exec 'sqrt = 1' in scope print "sqrt of 4:", sqrt(4) print "scope:", scope['sqrt'], '\n', "length of scope:", len(scope) # example of eval eval(raw_input("Enter an arithmetic expression: "))
21.2
67
0.663522
49
318
4.285714
0.591837
0.085714
0
0
0
0
0
0
0
0
0
0.011407
0.172956
318
15
68
21.2
0.787072
0.22327
0
0
0
0
0.407407
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
2
b3e8735b9aef83a1f9db395d7a755f61c90bb0cf
15,510
py
Python
gan_cifar_dist.py
jorgdv/fully_distributed_gans
c97597041e96409f8dd687b83b86c0379d9c83e7
[ "MIT" ]
null
null
null
gan_cifar_dist.py
jorgdv/fully_distributed_gans
c97597041e96409f8dd687b83b86c0379d9c83e7
[ "MIT" ]
null
null
null
gan_cifar_dist.py
jorgdv/fully_distributed_gans
c97597041e96409f8dd687b83b86c0379d9c83e7
[ "MIT" ]
null
null
null
import os, sys sys.path.append(os.getcwd()) import time import numpy as np import tensorflow as tf import tflib as lib import tflib.ops.linear import tflib.ops.conv2d import tflib.ops.batchnorm import tflib.ops.deconv2d import tflib.save_images import tflib.cifar10 import tflib.inception_score import tflib.plot # D...
38.678304
173
0.677627
2,383
15,510
4.212757
0.129668
0.03586
0.01793
0.011655
0.559219
0.511904
0.457316
0.438091
0.400737
0.369658
0
0.037125
0.162927
15,510
400
174
38.775
0.736116
0.193166
0
0.18677
0
0
0.062575
0.005944
0
0
0
0
0
0
null
null
0
0.050584
null
null
0.035019
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
b3e8a25b886e2dd3e93fc2e6fa0f2a2bcc470b21
2,224
py
Python
tests/test_wquantile.py
nailbiter/alex_python_toolbox
e9624db00f5dc3c1a83b87bc267eff1e3f96aea5
[ "MIT" ]
null
null
null
tests/test_wquantile.py
nailbiter/alex_python_toolbox
e9624db00f5dc3c1a83b87bc267eff1e3f96aea5
[ "MIT" ]
1
2021-11-15T23:18:39.000Z
2021-11-15T23:18:39.000Z
tests/test_wquantile.py
nailbiter/alex_python_toolbox
e9624db00f5dc3c1a83b87bc267eff1e3f96aea5
[ "MIT" ]
null
null
null
"""=============================================================================== FILE: tests/test_wquantile.py USAGE: (not intended to be directly executed) DESCRIPTION: OPTIONS: --- REQUIREMENTS: --- BUGS: --- NOTES: --- AUTHOR: Alex Leontiev (nailbiter@dtws-work.in) ORG...
37.694915
144
0.553507
260
2,224
4.507692
0.411538
0.047782
0.025597
0.037543
0.071672
0.052901
0
0
0
0
0
0.020528
0.233363
2,224
58
145
38.344828
0.666862
0.294964
0
0
0
0
0.063421
0.016015
0
0
0
0
0.032258
1
0.096774
false
0
0.225806
0
0.387097
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
0
0
1
0
b3e8e83d598e0044b9c4b657fe64a24013a98a83
83
py
Python
course_02_python_data_structures/week_1/strip.py
RicardoRodriguesCosta/python_for_everybody
59bf99061cae37a11ce0b4095610de26330e3193
[ "MIT" ]
null
null
null
course_02_python_data_structures/week_1/strip.py
RicardoRodriguesCosta/python_for_everybody
59bf99061cae37a11ce0b4095610de26330e3193
[ "MIT" ]
null
null
null
course_02_python_data_structures/week_1/strip.py
RicardoRodriguesCosta/python_for_everybody
59bf99061cae37a11ce0b4095610de26330e3193
[ "MIT" ]
null
null
null
text = "X-DSPAM-Confidence: 0.8475" print(float(text[text.find(" "):].strip()))
27.666667
43
0.626506
12
83
4.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.067568
0.108434
83
2
44
41.5
0.635135
0
0
0
0
0
0.361446
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
b3ec316bc0e478a432242fe7ae6a341c23dd44e3
636
py
Python
test/lesson-2/test_google.py
ihysk/test_framework_sandbox
e7445f89e4cd9dd1352642305e8ecfcf5e7b6856
[ "Apache-2.0" ]
null
null
null
test/lesson-2/test_google.py
ihysk/test_framework_sandbox
e7445f89e4cd9dd1352642305e8ecfcf5e7b6856
[ "Apache-2.0" ]
1
2018-12-17T13:04:09.000Z
2018-12-17T13:04:09.000Z
test/lesson-2/test_google.py
ihysk/test_framework_sandbox
e7445f89e4cd9dd1352642305e8ecfcf5e7b6856
[ "Apache-2.0" ]
null
null
null
import os from selenium import webdriver class TestGoogle: def setup_method(self, method): self.driver = webdriver.Chrome(executable_path=os.environ.get('CHROME_DRIVER_PATH')) self.driver.get('http://www.google.com') def teardown_method(self, method): self.driver.close() def tes...
27.652174
92
0.66195
83
636
4.86747
0.518072
0.123762
0.079208
0.09901
0.277228
0.148515
0.148515
0
0
0
0
0
0.20912
636
22
93
28.909091
0.803181
0
0
0
0
0
0.119497
0
0
0
0
0
0.125
1
0.25
false
0
0.125
0
0.4375
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
b3ec35353b8eff70006af8db75c0b88f41a4a3f6
761
py
Python
video/api.py
perseu912/getporn
9f4c9f11e9f52cf5a9e973df17ee0c0797c232a7
[ "MIT" ]
null
null
null
video/api.py
perseu912/getporn
9f4c9f11e9f52cf5a9e973df17ee0c0797c232a7
[ "MIT" ]
null
null
null
video/api.py
perseu912/getporn
9f4c9f11e9f52cf5a9e973df17ee0c0797c232a7
[ "MIT" ]
null
null
null
import uvicorn from fastapi import FastAPI,Request from fastapi.encoders import jsonable_encoder from fastapi.responses import JSONResponse from fastapi.middleware.cors import CORSMiddleware from pydantic import BaseModel import asyncio from search_video_eporner import get_porn_div origins = ["*"] app = FastAPI() ...
21.742857
55
0.772668
102
761
5.529412
0.441176
0.078014
0.035461
0.078014
0
0
0
0
0
0
0
0.012012
0.124836
761
34
56
22.382353
0.834835
0.014455
0
0
0
0
0.050734
0
0
0
0
0
0
1
0.041667
false
0
0.333333
0
0.416667
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
b3ed1e109e8b2ec28f7a697722de818e6a4cde1f
912
py
Python
prepare.py
mukherjeeakash/GestureRecognizer
51c16c9b7c2d32fc6cdcc90bd251f7b131b9e821
[ "Apache-2.0" ]
null
null
null
prepare.py
mukherjeeakash/GestureRecognizer
51c16c9b7c2d32fc6cdcc90bd251f7b131b9e821
[ "Apache-2.0" ]
null
null
null
prepare.py
mukherjeeakash/GestureRecognizer
51c16c9b7c2d32fc6cdcc90bd251f7b131b9e821
[ "Apache-2.0" ]
null
null
null
path = 'C:\\Users\\akash\\Pictures\\Sign-Language-Digits-Dataset-master\\Dataset\\' import os from PIL import Image for i in range(3): for filename in os.listdir(path + str(i)): if filename != "": image_obj = Image.open(path + str(i) + "\\" + filename).convert('L') rotated_image = i...
50.666667
84
0.593202
110
912
4.772727
0.336364
0.091429
0.121905
0.057143
0.712381
0.697143
0.598095
0.350476
0.350476
0.350476
0
0.001425
0.230263
912
18
85
50.666667
0.746439
0
0
0.25
0
0
0.179628
0.081051
0
0
0
0
0
1
0
false
0
0.125
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
0
0
0
0
0
1
0
b3edaf56efd71001fda07b90b8f93a95f2eb34f0
325
py
Python
services/web/server/tests/unit/isolated/scicrunch/conftest.py
elisabettai/osparc-simcore
ad7b6e05111b50fe95e49306a992170490a7247f
[ "MIT" ]
null
null
null
services/web/server/tests/unit/isolated/scicrunch/conftest.py
elisabettai/osparc-simcore
ad7b6e05111b50fe95e49306a992170490a7247f
[ "MIT" ]
1
2021-11-29T13:38:09.000Z
2021-11-29T13:38:09.000Z
services/web/server/tests/unit/isolated/scicrunch/conftest.py
mrnicegyu11/osparc-simcore
b6fa6c245dbfbc18cc74a387111a52de9b05d1f4
[ "MIT" ]
null
null
null
# pylint: disable=redefined-outer-name # pylint: disable=unused-argument # pylint: disable=unused-variable import pytest from simcore_service_webserver.scicrunch.settings import SciCrunchSettings @pytest.fixture async def settings() -> SciCrunchSettings: return SciCrunchSettings(SCICRUNCH_API_KEY="fake-secret-k...
25
74
0.815385
37
325
7.054054
0.675676
0.149425
0.145594
0
0
0
0
0
0
0
0
0
0.095385
325
12
75
27.083333
0.887755
0.307692
0
0
0
0
0.067873
0
0
0
0
0
0
1
0
true
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
b3efd49668e001d5d1b52c28738f089ab51d1a6d
677
py
Python
mooquant_history/history/api.py
bopo/mooquant_history
42238e5c17488f629215c3360cf77976c1fbf46f
[ "MIT" ]
1
2018-02-03T06:12:02.000Z
2018-02-03T06:12:02.000Z
mooquant_history/history/api.py
bopo/mooquant_history
42238e5c17488f629215c3360cf77976c1fbf46f
[ "MIT" ]
1
2021-03-25T21:56:53.000Z
2021-03-25T21:56:53.000Z
mooquant_history/history/api.py
bopo/mooquant_history
42238e5c17488f629215c3360cf77976c1fbf46f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .bundle import Day def init(dtype='day', export='csv', path=None): return Day(path=path, export=export).init() def single(dtype='day', stock=None, path='history', export='csv'): if stock is None: raise Exception('stock code is None') return Day(path=path, export=exp...
26.038462
69
0.666174
99
677
4.555556
0.262626
0.10643
0.121951
0.18847
0.538803
0.487805
0.432373
0.359202
0.359202
0.359202
0
0.001727
0.144756
677
25
70
27.08
0.777202
0.031019
0
0
0
0
0.088685
0
0
0
0
0
0
1
0.384615
false
0
0.076923
0.307692
0.846154
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
b3f25d0874f1f41b96cf0db0cf82de3fe58fb7d7
4,409
py
Python
care/facility/summarisation/tests_summary.py
gigincg/care
07be6a7982b5c46a854e3435a52662f32800c8ae
[ "MIT" ]
189
2020-03-17T17:18:58.000Z
2022-02-22T09:49:45.000Z
care/facility/summarisation/tests_summary.py
gigincg/care
07be6a7982b5c46a854e3435a52662f32800c8ae
[ "MIT" ]
598
2020-03-19T21:22:09.000Z
2022-03-30T05:08:37.000Z
care/facility/summarisation/tests_summary.py
gigincg/care
07be6a7982b5c46a854e3435a52662f32800c8ae
[ "MIT" ]
159
2020-03-19T18:45:56.000Z
2022-03-17T13:23:12.000Z
from celery.decorators import periodic_task from celery.schedules import crontab from django.core.exceptions import ObjectDoesNotExist from django.utils import timezone from django.utils.decorators import method_decorator from django.views.decorators.cache import cache_page from django_filters import rest_framework as ...
46.904255
110
0.714901
459
4,409
6.544662
0.294118
0.034621
0.044274
0.055925
0.216378
0.194407
0.194407
0.15779
0.124501
0.124501
0
0.002835
0.200045
4,409
93
111
47.408602
0.84888
0.110456
0
0.055556
0
0
0.06878
0
0
0
0
0
0
1
0.041667
false
0
0.166667
0.013889
0.319444
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
0
0
1
0
b3f3d3c7dae8148e36c4eac3b9fb3e6715a47347
2,173
py
Python
Monte Carlo Method Agent/gambler_env.py
yfe3/Intelligent-Systems
14c22e144e1a7f8625b2ff3f63e9c0545f946f69
[ "MIT" ]
null
null
null
Monte Carlo Method Agent/gambler_env.py
yfe3/Intelligent-Systems
14c22e144e1a7f8625b2ff3f63e9c0545f946f69
[ "MIT" ]
null
null
null
Monte Carlo Method Agent/gambler_env.py
yfe3/Intelligent-Systems
14c22e144e1a7f8625b2ff3f63e9c0545f946f69
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Author: Adam White, Mohammad M. Ajallooeian, Sina Ghiassian Purpose: Code for the Gambler's problem environment from the Sutton and Barto Reinforcement Learning: An Introduction Chapter 4. For use in the Reinforcement Learning course, Fall 2017, University of Alberta """ from utils ...
25.564706
100
0.653474
279
2,173
4.90681
0.397849
0.184076
0.075968
0.032871
0.131483
0.131483
0.087655
0
0
0
0
0.017868
0.253106
2,173
84
101
25.869048
0.825632
0.069949
0
0.205128
0
0
0.05325
0
0
0
0
0
0
0
null
null
0
0.051282
null
null
0.076923
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
b3f4f51bfed517a2b9e0fc7d18b1bbd464343e24
39
py
Python
14_libraries_and_modules/chapter_14.py
fmfrancisco/chapters
34acc93e7a41490fe3c856e16927e50fdc370dee
[ "MIT" ]
null
null
null
14_libraries_and_modules/chapter_14.py
fmfrancisco/chapters
34acc93e7a41490fe3c856e16927e50fdc370dee
[ "MIT" ]
null
null
null
14_libraries_and_modules/chapter_14.py
fmfrancisco/chapters
34acc93e7a41490fe3c856e16927e50fdc370dee
[ "MIT" ]
null
null
null
import my_functions my_functions.foo()
13
19
0.846154
6
39
5.166667
0.666667
0.709677
0
0
0
0
0
0
0
0
0
0
0.076923
39
3
20
13
0.861111
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
b3f8d6b9c7c673105416ad9c741ad2b778d84b31
23,272
py
Python
bdragon/cdragontoolbox/rads.py
headbangsmurf/CommunityDataDragon
cc3307280dbaf61b4a2cab4bc953edb192a077bb
[ "MIT" ]
3
2020-11-10T19:37:41.000Z
2022-03-18T11:37:15.000Z
bdragon/cdragontoolbox/rads.py
headbangsmurf/CommunityDataDragon
cc3307280dbaf61b4a2cab4bc953edb192a077bb
[ "MIT" ]
1
2020-11-30T00:46:44.000Z
2020-11-30T06:57:19.000Z
bdragon/cdragontoolbox/rads.py
headbangsmurf/CommunityDataDragon
cc3307280dbaf61b4a2cab4bc953edb192a077bb
[ "MIT" ]
null
null
null
import os import re import zlib from typing import List, Dict, Union, Optional, Generator, Iterable from collections import defaultdict import logging import requests from .data import Language from .tools import write_file_or_remove from .storage import ( BaseVersion, Storage, Patch, PatchElement, ...
36.419405
124
0.606179
2,739
23,272
5.016429
0.147499
0.020087
0.007205
0.012227
0.309534
0.232096
0.204731
0.17329
0.157569
0.140539
0
0.005354
0.293744
23,272
638
125
36.476489
0.830616
0.181849
0
0.297483
0
0
0.124143
0.039042
0
0
0
0
0.022883
1
0.132723
false
0.002288
0.022883
0.032037
0.343249
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
0
0
1
0
b3fb508751b27387b839402708cd6c7d5ae12cf0
935
py
Python
venv/lib/python3.8/site-packages/arch/tests/bootstrap/test_block_length.py
johncollinsai/post-high-frequency-data
88533b0e0afc7e7f82fee1d3ca4b68abc30aaeb4
[ "MIT" ]
1
2022-03-29T22:12:54.000Z
2022-03-29T22:12:54.000Z
venv/lib/python3.8/site-packages/arch/tests/bootstrap/test_block_length.py
johncollinsai/post-high-frequency-data
88533b0e0afc7e7f82fee1d3ca4b68abc30aaeb4
[ "MIT" ]
null
null
null
venv/lib/python3.8/site-packages/arch/tests/bootstrap/test_block_length.py
johncollinsai/post-high-frequency-data
88533b0e0afc7e7f82fee1d3ca4b68abc30aaeb4
[ "MIT" ]
null
null
null
import numpy as np from numpy.testing import assert_allclose import pandas as pd from arch.bootstrap.base import optimal_block_length def test_block_length(): rs = np.random.RandomState(0) e = rs.standard_normal(10000 + 100) y = e for i in range(1, len(e)): y[i] = 0.3 * y[i - 1] + e[i] s ...
28.333333
58
0.610695
154
935
3.603896
0.38961
0.126126
0.12973
0.108108
0.299099
0.299099
0.21982
0.21982
0.21982
0.21982
0
0.077241
0.224599
935
32
59
29.21875
0.688276
0
0
0.153846
0
0
0.027807
0
0
0
0
0
0.307692
1
0.038462
false
0
0.153846
0
0.192308
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
0
0
1
0
b3fc69ae17afb4191989d8ffd0210a58f43c6b8b
2,836
py
Python
articles/imp/genfigs/bulldozer_age_pdp_shap.py
parrt/stratx
c190ecc32ac7b8dd3f5532a5d5b0de34a3693a22
[ "MIT" ]
54
2019-07-17T04:59:39.000Z
2022-03-18T15:25:00.000Z
articles/imp/genfigs/bulldozer_age_pdp_shap.py
parrt/stratx
c190ecc32ac7b8dd3f5532a5d5b0de34a3693a22
[ "MIT" ]
5
2019-07-27T16:18:37.000Z
2020-12-02T20:16:49.000Z
articles/imp/genfigs/bulldozer_age_pdp_shap.py
parrt/stratx
c190ecc32ac7b8dd3f5532a5d5b0de34a3693a22
[ "MIT" ]
13
2019-08-08T22:17:50.000Z
2022-02-11T10:19:23.000Z
from support import * import numpy as np import pandas as pd import matplotlib.pyplot as plt import shap GREY = '#444443' n = 20_000 shap_test_size = 1000 X, y = load_bulldozer(n=50_000) # Most recent timeseries data is more relevant so get big recent chunk # then we can sample from that to get n X = X.iloc[-50_00...
31.511111
86
0.681946
453
2,836
4.092715
0.293598
0.07767
0.033981
0.048544
0.581446
0.559871
0.55178
0.55178
0.377562
0.320928
0
0.039328
0.139281
2,836
90
87
31.511111
0.720197
0.043371
0
0.42029
0
0
0.141697
0.038007
0
0
0
0
0
1
0
false
0
0.072464
0
0.072464
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
0
0
1
0
b3fcf5aad0fcfa54b8364e5370aca5c9c0e1b4b8
640
py
Python
Scripts/Standalone/F-MarkComposites.py
twardoch/TypeRig
121838d98ed41160dbebf575d0a5623def0ce256
[ "BSD-3-Clause" ]
1
2020-07-11T06:18:49.000Z
2020-07-11T06:18:49.000Z
Scripts/Standalone/F-MarkComposites.py
twardoch/TypeRig
121838d98ed41160dbebf575d0a5623def0ce256
[ "BSD-3-Clause" ]
null
null
null
Scripts/Standalone/F-MarkComposites.py
twardoch/TypeRig
121838d98ed41160dbebf575d0a5623def0ce256
[ "BSD-3-Clause" ]
null
null
null
#FLM: Font: Mark Composites (Typerig) # VER : 1.0 # ---------------------------------------- # (C) Vassil Kateliev, 2019 (http://www.kateliev.com) # (C) Karandash Type Foundry (http://www.karandash.eu) #----------------------------------------- # www.typerig.com # No warranties. By using this you agree # that you use ...
24.615385
54
0.6
84
640
4.547619
0.714286
0.036649
0
0
0
0
0
0
0
0
0
0.016423
0.14375
640
25
55
25.6
0.680657
0.5625
0
0
0
0
0.127341
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.25
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
b3fd52b152656f94f2cb493a192011c38a0ebbef
1,246
py
Python
test.py
lvreynoso/Call-Routing-Project
8aeafe6c26d92ed93f32a0fc830bb53e339cb83a
[ "MIT" ]
null
null
null
test.py
lvreynoso/Call-Routing-Project
8aeafe6c26d92ed93f32a0fc830bb53e339cb83a
[ "MIT" ]
null
null
null
test.py
lvreynoso/Call-Routing-Project
8aeafe6c26d92ed93f32a0fc830bb53e339cb83a
[ "MIT" ]
null
null
null
import scenario1 import unittest cost = scenario1.findCost class Scenario1Test(unittest.TestCase): def test_init(self): pass def test_ten(self): routes = 'data/route-costs-10.txt' # find longest route assert cost(routes, '+449275049230') == '0.49' assert cost(rout...
23.074074
54
0.611557
150
1,246
4.946667
0.28
0.113208
0.188679
0.256065
0.708895
0.708895
0.708895
0.708895
0.708895
0.708895
0
0.102508
0.264045
1,246
54
55
23.074074
0.706652
0.014446
0
0.705882
0
0
0.245314
0.202119
0
0
0
0
0.088235
1
0.352941
false
0.058824
0.058824
0
0.470588
0
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
10
b3ff355a5eacb980fad90f46134634cc30a5653b
337
py
Python
FWCore/MessageService/python/test/Services_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
FWCore/MessageService/python/test/Services_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
FWCore/MessageService/python/test/Services_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from FWCore.Services.InitRootHandlers_cfi import * # Tell AdaptorConfig to suppress the statistics summary. We aren't actually using # that service and it's summary interferes with the MessageLogger summary. AdaptorConfig = cms.Service("AdaptorConfig", stats = cms.untrack...
33.7
82
0.79822
44
337
6.090909
0.772727
0
0
0
0
0
0
0
0
0
0
0
0.133531
337
9
83
37.444444
0.917808
0.454006
0
0
0
0
0.071823
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
b6022010588b3820c23e8392cdf76aa7442c0b36
851
py
Python
testimgui.py
geehalel/pyvk
56737ee4547b3f12bf941dcda74305b739d09cbb
[ "MIT" ]
1
2022-01-09T19:02:00.000Z
2022-01-09T19:02:00.000Z
testimgui.py
geehalel/pyvk
56737ee4547b3f12bf941dcda74305b739d09cbb
[ "MIT" ]
null
null
null
testimgui.py
geehalel/pyvk
56737ee4547b3f12bf941dcda74305b739d09cbb
[ "MIT" ]
null
null
null
import imgui imgui.create_context() io=imgui.get_io() texWidth, texHeight, fontData = io.fonts.get_tex_data_as_rgba32() io.display_size = imgui.Vec2(100,200) imgui.new_frame() imgui.render() imgui.new_frame() imgui.begin('Vulkan Example', None, imgui.WINDOW_ALWAYS_AUTO_RESIZE | imgui.WINDOW_NO_RESIZE| imgui.WINDOW_N...
25.787879
115
0.768508
128
851
4.84375
0.351563
0.106452
0.083871
0.116129
0.716129
0.716129
0.716129
0.716129
0.716129
0.716129
0
0.013854
0.06698
851
32
116
26.59375
0.767003
0.009401
0
0.740741
0
0
0.083234
0
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b6025c07a550e6b64ea088e2d2ae6f07c65add55
2,154
py
Python
congregation/dag/dag.py
CCD-HRI/congregation
a552856b03a64a4295792184107c4e529ca3f4ae
[ "MIT" ]
3
2020-10-05T16:30:15.000Z
2021-01-22T13:38:02.000Z
congregation/dag/dag.py
CCD-HRI/congregation
a552856b03a64a4295792184107c4e529ca3f4ae
[ "MIT" ]
null
null
null
congregation/dag/dag.py
CCD-HRI/congregation
a552856b03a64a4295792184107c4e529ca3f4ae
[ "MIT" ]
1
2021-02-19T12:40:57.000Z
2021-02-19T12:40:57.000Z
from congregation.dag.nodes import OpNode class Dag: def __init__(self, roots: set): self.roots = roots def __str__(self): return "\n".join(str(node) for node in self.top_sort()) def involves_compute_party(self, pid: int): """ For a given PID, check if it owns any ...
28.342105
113
0.587744
281
2,154
4.323843
0.284698
0.065844
0.039506
0.024691
0.128395
0.092181
0.034568
0
0
0
0
0.000684
0.321727
2,154
75
114
28.72
0.830938
0.031105
0
0
0
0
0.03455
0
0
0
0
0
0
1
0.18
false
0
0.02
0.04
0.34
0.04
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
0
1
0
b602707d9d2d61f75e1f77871a6e22ddd13d0a1e
8,940
py
Python
package_control/package_disabler_iterator.py
evandrocoan/package_control
bb17c851fa2dee0e564128ea4a499087f2d2ec45
[ "MIT" ]
2
2018-12-08T21:44:59.000Z
2021-11-27T05:14:02.000Z
package_control/package_disabler_iterator.py
evandrocoan/package_control
bb17c851fa2dee0e564128ea4a499087f2d2ec45
[ "MIT" ]
3
2018-02-09T04:14:30.000Z
2018-10-08T14:40:36.000Z
package_control/package_disabler_iterator.py
evandrocoan/package_control
bb17c851fa2dee0e564128ea4a499087f2d2ec45
[ "MIT" ]
null
null
null
import sublime import time import functools from .settings import run_on_main_thread from .package_disabler import PackageDisabler # How many packages to ignore and unignore in batch to fix the ignored packages bug error PACKAGES_COUNT_TO_IGNORE_AHEAD = 8 # The minimum time between multiple calls setting the `igno...
40.821918
150
0.702908
1,103
8,940
5.349048
0.197643
0.071186
0.056949
0.067797
0.469153
0.384576
0.315593
0.249661
0.209153
0.202203
0
0.002193
0.234899
8,940
218
151
41.009174
0.86038
0.21443
0
0.230769
0
0
0.105087
0.030814
0
0
0
0
0.008547
1
0.136752
false
0
0.042735
0
0.222222
0.059829
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
0
1
0
b60287dba0f3cf28c2ac28036e0f2be790cbf1ba
107
py
Python
src/pagnn/training/dcn_old/__init__.py
ostrokach/protein-adjacency-net
fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc
[ "MIT" ]
1
2022-01-16T12:06:13.000Z
2022-01-16T12:06:13.000Z
src/pagnn/training/dcn_old/__init__.py
ostrokach/protein-adjacency-net
fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc
[ "MIT" ]
null
null
null
src/pagnn/training/dcn_old/__init__.py
ostrokach/protein-adjacency-net
fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc
[ "MIT" ]
null
null
null
from .args import * from .stats import * from .utils import * from .generators import * from . import main
17.833333
25
0.728972
15
107
5.2
0.466667
0.512821
0
0
0
0
0
0
0
0
0
0
0.186916
107
5
26
21.4
0.896552
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b60380395c1922c0bd45b30cccf4f2cff22d2c09
162
py
Python
PythonExercicios/ex027.py
VitorFRodrigues/Python-curso
af75ff4a7ca14bc7e67b4f3362af837d355b1746
[ "MIT" ]
null
null
null
PythonExercicios/ex027.py
VitorFRodrigues/Python-curso
af75ff4a7ca14bc7e67b4f3362af837d355b1746
[ "MIT" ]
null
null
null
PythonExercicios/ex027.py
VitorFRodrigues/Python-curso
af75ff4a7ca14bc7e67b4f3362af837d355b1746
[ "MIT" ]
null
null
null
nome = str(input('Digite seu nome completo: ')).strip() div_nome = nome.split() print('Primeiro = {}\nÚltimo = {}'.format(div_nome[0], div_nome[len(div_nome)-1]))
54
82
0.679012
25
162
4.24
0.64
0.264151
0
0
0
0
0
0
0
0
0
0.013605
0.092593
162
3
82
54
0.707483
0
0
0
0
0
0.319018
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b604094d04e2ada61d704b7d22545d0d6af8cd05
2,025
py
Python
keymaster/server/cli/manage_user.py
shiroyuki/spymaster
1efee54427378394ab04d0e53247eb38c28bc97c
[ "Apache-2.0" ]
null
null
null
keymaster/server/cli/manage_user.py
shiroyuki/spymaster
1efee54427378394ab04d0e53247eb38c28bc97c
[ "Apache-2.0" ]
null
null
null
keymaster/server/cli/manage_user.py
shiroyuki/spymaster
1efee54427378394ab04d0e53247eb38c28bc97c
[ "Apache-2.0" ]
null
null
null
from dataclasses import asdict from gallium import ICommand from imagination import container import yaml from keymaster.server.model.user import DefaultRole from keymaster.server.service.user_service import UserService class CreateNewUser(ICommand): """Create a new user (run as a system user)""" def ident...
41.326531
120
0.57284
229
2,025
5.0131
0.414847
0.030488
0.074042
0.057491
0.135889
0.057491
0.057491
0.057491
0
0
0
0
0.334321
2,025
48
121
42.1875
0.851632
0.019753
0
0.15
0
0
0.243557
0
0
0
0
0
0
1
0.075
false
0.075
0.15
0.025
0.275
0.075
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
b604ba270987a772344b759fe236787c977a0500
798
py
Python
examples/lambda/kms.py
nathants/aws-util
7a8751eac4ad1ff8f99a8800ecb659c3b381d46e
[ "MIT" ]
null
null
null
examples/lambda/kms.py
nathants/aws-util
7a8751eac4ad1ff8f99a8800ecb659c3b381d46e
[ "MIT" ]
null
null
null
examples/lambda/kms.py
nathants/aws-util
7a8751eac4ad1ff8f99a8800ecb659c3b381d46e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # # attr: concurrency 0 # attr: memory 128 # attr: timeout 60 # policy: AWSLambdaBasicExecutionRole import base64 import boto3 import os def decrypt(text): return boto3.client('kms').decrypt(CiphertextBlob=base64.b64decode(bytes(text, 'utf-8')))['Plaintext'].decode('utf-8') def main(event,...
24.9375
122
0.605263
109
798
4.366972
0.568807
0.05042
0.10084
0.042017
0.12605
0.084034
0
0
0
0
0
0.032407
0.18797
798
31
123
25.741935
0.70216
0.614035
0
0
0
0
0.100775
0
0
0
0
0
0
1
0.285714
false
0
0.428571
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
4
b604ed726ad0c27b4c9c8cb853054f3c1f6e34f0
1,125
py
Python
djenga/encryption/kms.py
2ps/djenga
85ac2c7b0b0e80b55aff43f027814d05b9b0532c
[ "BSD-3-Clause" ]
6
2015-01-18T10:31:13.000Z
2019-06-14T17:39:58.000Z
djenga/encryption/kms.py
2ps/djenga
85ac2c7b0b0e80b55aff43f027814d05b9b0532c
[ "BSD-3-Clause" ]
12
2015-05-03T06:58:00.000Z
2019-06-26T21:58:16.000Z
djenga/encryption/kms.py
2ps/djenga
85ac2c7b0b0e80b55aff43f027814d05b9b0532c
[ "BSD-3-Clause" ]
1
2018-04-27T20:36:29.000Z
2018-04-27T20:36:29.000Z
from .helpers import _as_bytes from .helpers import b64_str from .helpers import from_b64_str from .helpers import _get_client from .helpers import _prefix_alias def encrypt_bytes( plain_text: bytes , alias: str , region: str = None , profile: str = None) -> bytes: client = _get_cl...
29.605263
79
0.691556
148
1,125
5.013514
0.189189
0.075472
0.114555
0.107817
0.304582
0.242588
0.206199
0.161725
0.161725
0.161725
0
0.010147
0.211556
1,125
37
80
30.405405
0.826381
0
0
0.206897
0
0
0.024889
0
0
0
0
0
0
1
0.137931
false
0
0.172414
0
0.448276
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
0
0
1
0
b6067da1a3d8144b0aacdb78ebe92f0d1ae4957c
3,275
py
Python
Testing/intersection_densityTEST.py
djconly85/PPA2_0_code
1d67934eb3bc3c7df16cdd5867639b92c9ea45eb
[ "MIT" ]
null
null
null
Testing/intersection_densityTEST.py
djconly85/PPA2_0_code
1d67934eb3bc3c7df16cdd5867639b92c9ea45eb
[ "MIT" ]
null
null
null
Testing/intersection_densityTEST.py
djconly85/PPA2_0_code
1d67934eb3bc3c7df16cdd5867639b92c9ea45eb
[ "MIT" ]
null
null
null
# -------------------------------- # Name: transit_svc_measure.py # Purpose: Get count of intersection density per acre # # # Author: Darren Conly # Last Updated: <date> # Updated by: <name> # Copyright: (c) SACOG # Python Version: 3.x # -------------------------------- import gc import sys import arcpy # import pp...
31.190476
140
0.643359
417
3,275
4.810552
0.386091
0.023928
0.041874
0.045862
0.047856
0.015952
0
0
0
0
0
0.0204
0.251603
3,275
104
141
31.490385
0.798042
0.205802
0
0.034483
0
0
0.100736
0.024022
0
0
0
0
0
1
0.051724
false
0
0.068966
0
0.172414
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
0
0
1
0
b6087e064a90f785236d3333479c904a48f6e73b
530
py
Python
expenses/urls.py
danngalann/myfinance-backend
c7a6d939c7f917c11e7374c1a48128a40acb983a
[ "MIT" ]
null
null
null
expenses/urls.py
danngalann/myfinance-backend
c7a6d939c7f917c11e7374c1a48128a40acb983a
[ "MIT" ]
null
null
null
expenses/urls.py
danngalann/myfinance-backend
c7a6d939c7f917c11e7374c1a48128a40acb983a
[ "MIT" ]
null
null
null
from django.urls import path from expenses.api.create import ExpenseCreateApi from expenses.api.list import ExpenseListApi, periodicities_list_api from expenses.api.update import ExpenseUpdateApi from expenses.api.delete import ExpenseDeleteApi urlpatterns = [ path('api', ExpenseListApi.as_view()), path('api/p...
37.857143
68
0.767925
64
530
6.234375
0.3125
0.087719
0.150376
0.097744
0.075188
0
0
0
0
0
0
0
0.107547
530
13
69
40.769231
0.843552
0.098113
0
0
0
0
0.094538
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
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
b60cc9c298430cfb0532fa24f8e831ee7ebc2637
308
py
Python
utilities/extract-files.py
ukgamesfund/registry-blockchain
73b12a36b7af5df3235f1b91939b8fd59b213b9f
[ "MIT" ]
null
null
null
utilities/extract-files.py
ukgamesfund/registry-blockchain
73b12a36b7af5df3235f1b91939b8fd59b213b9f
[ "MIT" ]
null
null
null
utilities/extract-files.py
ukgamesfund/registry-blockchain
73b12a36b7af5df3235f1b91939b8fd59b213b9f
[ "MIT" ]
null
null
null
import json,os,sys filename = sys.argv[1] file_path = "../build/contracts/"+filename content = open(file_path, "r").read() object = json.loads(content) abi = json.dumps(object['abi'], indent=2) bin = object['unlinked_binary'][2:] open(filename+".abi","w").write(abi) open(filename+".bin","w").write(bin)
22
42
0.681818
47
308
4.404255
0.553191
0.077295
0
0
0
0
0
0
0
0
0
0.010714
0.090909
308
13
43
23.692308
0.728571
0
0
0
0
0
0.156352
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
0
0
1
0
b60cefb60f76a4f016c09e520a3873524a38f0fc
499
py
Python
trinity/tests/test_bonds.py
elliothevel/trinity
af4425e6432f6edd7c56478b039eab654c5fec26
[ "MIT" ]
null
null
null
trinity/tests/test_bonds.py
elliothevel/trinity
af4425e6432f6edd7c56478b039eab654c5fec26
[ "MIT" ]
null
null
null
trinity/tests/test_bonds.py
elliothevel/trinity
af4425e6432f6edd7c56478b039eab654c5fec26
[ "MIT" ]
null
null
null
import trinity.bonds as bonds import trinity.returns as returns def test_simulate_returns(expected_bond_returns): """Ensure simulated returns match published results.""" interest_rates = [(year['rate'], year['rate_long']) for year in returns.read_shiller()] simulated_returns = bonds...
35.642857
77
0.727455
61
499
5.721311
0.508197
0.137536
0.108883
0.148997
0
0
0
0
0
0
0
0.012195
0.178357
499
13
78
38.384615
0.839024
0.098196
0
0
0
0
0.056306
0
0
0
0
0
0.125
1
0.125
false
0
0.25
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
0
0
0
0
1
0
b60cff1aa58f85db479507a365921e43a1e5cf4d
705
py
Python
karutakeqingautoreact/karutakeqingautoreact.py
RealCyGuy/modmail-plugins
e515f827eb3fedf8456fbb5ff65a4e5fa81ab72e
[ "MIT" ]
8
2020-01-03T19:01:59.000Z
2021-04-14T13:30:49.000Z
karutakeqingautoreact/karutakeqingautoreact.py
RealCyGuy/modmail-plugins
e515f827eb3fedf8456fbb5ff65a4e5fa81ab72e
[ "MIT" ]
4
2020-12-22T12:51:03.000Z
2022-01-05T20:17:00.000Z
karutakeqingautoreact/karutakeqingautoreact.py
RealCyGuy/modmail-plugins
e515f827eb3fedf8456fbb5ff65a4e5fa81ab72e
[ "MIT" ]
27
2020-01-17T18:05:29.000Z
2022-02-04T07:38:52.000Z
import discord from discord.ext import commands class KarutaKeqingAutoReact(commands.Cog): """ Reacts to karuta character lookup and collection for keqing bot. """ def __init__(self, bot): self.bot = bot @commands.Cog.listener() async def on_message(self, message: discord.Message): ...
29.375
70
0.652482
81
705
5.617284
0.518519
0.048352
0.087912
0.101099
0
0
0
0
0
0
0
0.035581
0.242553
705
23
71
30.652174
0.810861
0.09078
0
0
0
0
0.0544
0
0
0
0
0
0
1
0.133333
false
0
0.133333
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
0
0
0
0
1
0
b60ef291cf0091e55fe384f99b9ffc4eb76852f2
4,035
py
Python
tests/cli/test_capture.py
lkolacek/osbs-client
90c6db9a414214c681c777468079bcbe7dd7c809
[ "BSD-3-Clause" ]
4
2020-05-16T22:30:32.000Z
2021-11-09T22:26:38.000Z
tests/cli/test_capture.py
lkolacek/osbs-client
90c6db9a414214c681c777468079bcbe7dd7c809
[ "BSD-3-Clause" ]
183
2019-06-06T09:10:24.000Z
2022-03-30T12:05:15.000Z
tests/cli/test_capture.py
lkolacek/osbs-client
90c6db9a414214c681c777468079bcbe7dd7c809
[ "BSD-3-Clause" ]
10
2019-10-29T21:55:03.000Z
2021-01-18T14:20:34.000Z
""" Copyright (c) 2015, 2019 Red Hat, Inc All rights reserved. This software may be modified and distributed under the terms of the BSD license. See the LICENSE file for details. """ from __future__ import absolute_import import json import os import responses import yaml from tempfile import NamedTemporaryFile from...
35.086957
157
0.680297
527
4,035
4.916509
0.259962
0.114628
0.052103
0.040139
0.450405
0.396372
0.33076
0.33076
0.33076
0.264377
0
0.014223
0.215861
4,035
114
158
35.394737
0.804678
0.051053
0
0.219512
0
0.02439
0.251113
0.086934
0
0
0
0
0.04878
1
0.04878
false
0
0.146341
0.012195
0.219512
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
0
0
1
0
b60f51942494a012c87412de5d38d61489e17976
2,162
py
Python
ludwig/datasets/iris/__init__.py
dantreiman/ludwig
daeffd21f9eef524afb2037763abd07a93228c2a
[ "Apache-2.0" ]
7,739
2019-02-11T14:06:31.000Z
2020-12-16T18:30:29.000Z
ludwig/datasets/iris/__init__.py
dantreiman/ludwig
daeffd21f9eef524afb2037763abd07a93228c2a
[ "Apache-2.0" ]
769
2019-02-11T16:13:20.000Z
2020-12-16T17:26:11.000Z
ludwig/datasets/iris/__init__.py
dantreiman/ludwig
daeffd21f9eef524afb2037763abd07a93228c2a
[ "Apache-2.0" ]
975
2019-02-11T15:55:54.000Z
2020-12-14T21:45:39.000Z
#! /usr/bin/env python # Copyright (c) 2022 Predibase, 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 applicabl...
34.31746
96
0.702128
282
2,162
5.202128
0.492908
0.0409
0.04908
0.021813
0.088616
0
0
0
0
0
0
0.004499
0.177613
2,162
62
97
34.870968
0.820585
0.343201
0
0
0
0
0.092286
0
0
0
0
0
0
1
0.129032
false
0
0.225806
0.032258
0.451613
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
0
0
1
0
b612d51dcd798eb329c14c555305828c3465a192
3,735
py
Python
tests/test_interfaces.py
bbtfr/megfile
7a0d4bd8fa6f52512e99dfd490bf404fb4f5ede0
[ "Apache-2.0", "MIT" ]
null
null
null
tests/test_interfaces.py
bbtfr/megfile
7a0d4bd8fa6f52512e99dfd490bf404fb4f5ede0
[ "Apache-2.0", "MIT" ]
null
null
null
tests/test_interfaces.py
bbtfr/megfile
7a0d4bd8fa6f52512e99dfd490bf404fb4f5ede0
[ "Apache-2.0", "MIT" ]
null
null
null
from io import BytesIO import pytest from megfile.interfaces import BasePath, Closable, Readable, URIPath, Writable class Klass1(Closable): pass class Klass2(Closable): def __init__(self): self.outer_close_call_count = 0 def _close(self): self.outer_close_call_count += 1 class Kla...
19.657895
78
0.632664
503
3,735
4.493042
0.200795
0.030973
0.049558
0.039823
0.342035
0.327876
0.259735
0.223894
0.193805
0.173451
0
0.022703
0.233467
3,735
189
79
19.761905
0.766678
0
0
0.262712
0
0
0.073896
0
0
0
0
0
0.20339
1
0.220339
false
0.025424
0.025424
0.059322
0.449153
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
b61389f50e9d173999e38179b52a9ada5226258f
2,563
py
Python
translation.py
maciejklimek/AnkiCreator
5e498bcce0f482925e762ab288e90a568b837714
[ "BSD-3-Clause" ]
5
2015-02-03T20:51:46.000Z
2017-12-08T03:46:50.000Z
translation.py
maciejklimek/AnkiCreator
5e498bcce0f482925e762ab288e90a568b837714
[ "BSD-3-Clause" ]
null
null
null
translation.py
maciejklimek/AnkiCreator
5e498bcce0f482925e762ab288e90a568b837714
[ "BSD-3-Clause" ]
null
null
null
from tools import LudiException __author__ = 'maciek' class Translation(object): class Type(object): NOUN = 'n' VERB = 'v' ADJECTIVE = 'adj' ADVERB = 'adv' PRONOUN = 'pn' PREPOSITION = 'prep' CONJUNCTION = 'conj' def __init__(self, word): self....
40.68254
115
0.438939
247
2,563
4.497976
0.291498
0.216022
0.113411
0.151215
0.347435
0.29523
0.064806
0.064806
0
0
0
0.016972
0.425283
2,563
62
116
41.33871
0.737271
0
0
0
0
0
0.117441
0
0
0
0
0
0
0
null
null
0
0.019231
null
null
0.038462
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
b614462b2a627cbf32e9f575717e51f418411fde
608
py
Python
mail/mail.test.py
dgjungleP/kjyw
467915a05c4f054062c341b9f2825a2c43b35c03
[ "MIT" ]
1,419
2016-05-26T00:53:32.000Z
2022-03-31T21:37:06.000Z
mail/mail.test.py
dgjungleP/kjyw
467915a05c4f054062c341b9f2825a2c43b35c03
[ "MIT" ]
3
2017-02-14T09:21:42.000Z
2021-06-16T08:47:56.000Z
mail/mail.test.py
dgjungleP/kjyw
467915a05c4f054062c341b9f2825a2c43b35c03
[ "MIT" ]
713
2016-06-03T10:02:18.000Z
2022-03-31T08:47:28.000Z
#!/usr/bin/env python #coding:utf-8 from email.mime.text import MIMEText from email.header import Header import smtplib sender='xxxxx@qq.com' sender_pass='xxxxxxxxxxxxxx' host='smtp.qq.com' recivers=['xxxxxxxx@xxx.com'] def mail(): message=MIMEText('python 邮件发送111','plain','utf-8') message['From']='{}'.format(sender...
20.965517
55
0.723684
84
608
5.190476
0.607143
0.018349
0
0
0
0
0
0
0
0
0
0.025455
0.095395
608
28
56
21.714286
0.767273
0.072368
0
0
0
0
0.197861
0
0
0
0
0
0
1
0.047619
false
0.095238
0.142857
0
0.190476
0.095238
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
b614594c792bcc71148ae6b00e42b3819d01bc79
6,582
py
Python
src/dtpattern/alignment/alignment_cls.py
jumbrich/dtpattern
38433c89d169a280b0439b9cd4f463d5d7604dd7
[ "MIT" ]
null
null
null
src/dtpattern/alignment/alignment_cls.py
jumbrich/dtpattern
38433c89d169a280b0439b9cd4f463d5d7604dd7
[ "MIT" ]
2
2018-04-25T22:13:34.000Z
2018-04-26T17:52:43.000Z
src/dtpattern/alignment/alignment_cls.py
jumbrich/dtpattern
38433c89d169a280b0439b9cd4f463d5d7604dd7
[ "MIT" ]
null
null
null
import functools from dtpattern.alignment.alignment_list import align_global, finalize, format_alignment2 from dtpattern.unicode_translate.uc_models import FIX_SYMB from pyjuhelpers.timer import timer class Alignment(object): def __init__(self, alpha, beta, translate=None, m=6, mm=-4, om=3, csetm=4,go=-10, ge...
37.186441
133
0.499696
734
6,582
4.393733
0.185286
0.032248
0.032248
0.018605
0.459535
0.43938
0.396589
0.386047
0.386047
0.368062
0
0.029199
0.370404
6,582
176
134
37.397727
0.749035
0.118201
0
0.475806
0
0
0.098107
0.004341
0
0
0
0
0
1
0.056452
false
0
0.032258
0.008065
0.16129
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
0
0
1
0
3733a08138ec283d797445a7d27a5b19edaeec7d
6,056
py
Python
tests/test_validators.py
jpsca/pforms
77c9da93e5224e79bb147aa873f28951e972bb21
[ "MIT" ]
2
2020-09-30T22:41:00.000Z
2020-12-04T16:47:17.000Z
tests/test_validators.py
jpsca/hyperform
d5c450ad8684a853fed26f8c2606877151125a9e
[ "MIT" ]
2
2021-11-18T18:01:28.000Z
2021-11-18T18:03:29.000Z
tests/test_validators.py
jpsca/hyperform
d5c450ad8684a853fed26f8c2606877151125a9e
[ "MIT" ]
null
null
null
from datetime import date, datetime import pytest from proper_forms import Date, DateTime, Field, Integer from proper_forms import validators as v def test_confirmed_message(): validator = v.Confirmed() assert validator.message == "Values doesn't match." assert v.Confirmed(message="custom").message == "...
39.842105
79
0.62467
824
6,056
4.541262
0.137136
0.069482
0.032068
0.044896
0.665152
0.524319
0.370657
0.219669
0.181187
0.145377
0
0.115544
0.16397
6,056
151
80
40.10596
0.623543
0
0
0.016529
0
0
0.168758
0
0
0
0
0
0.181818
1
0.099174
false
0.033058
0.033058
0
0.132231
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
0
0
1
0
3734bdeaee2424fb8a41b0e01dff10a01e85aac8
2,084
py
Python
detection_viz/scripts/fps_calculator.py
Benson516/detection_viz_ROS
7eb0c3edee9f402ab6fe2d8d4050cd4a67eabf6b
[ "MIT" ]
null
null
null
detection_viz/scripts/fps_calculator.py
Benson516/detection_viz_ROS
7eb0c3edee9f402ab6fe2d8d4050cd4a67eabf6b
[ "MIT" ]
null
null
null
detection_viz/scripts/fps_calculator.py
Benson516/detection_viz_ROS
7eb0c3edee9f402ab6fe2d8d4050cd4a67eabf6b
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 import rospy import numpy as np import threading from timeit import default_timer as timer import time class FPS: def __init__(self): self.period_update = 0.2 # sec. self.window_size = 25 # samples self.max_cumulated_step = 100000 # self.buffer_cumul...
26.717949
74
0.596929
268
2,084
4.313433
0.283582
0.051903
0.051903
0.083045
0.32699
0.288927
0.188581
0.100346
0.100346
0.100346
0
0.013541
0.291267
2,084
77
75
27.064935
0.769127
0.096929
0
0.136364
0
0
0.004391
0
0
0
0
0
0
1
0.113636
false
0
0.113636
0
0.295455
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
0
0
1
0
37350476fd1d1ae45c6a04af571a3af65e2ef661
631
py
Python
video/migrations/0002_auto_20190705_0808.py
AdventistChurchFinland/hopechannel-wagtail
b5b06e0696a929d5d2e29a368002d27f54a8ff75
[ "MIT" ]
null
null
null
video/migrations/0002_auto_20190705_0808.py
AdventistChurchFinland/hopechannel-wagtail
b5b06e0696a929d5d2e29a368002d27f54a8ff75
[ "MIT" ]
9
2020-06-05T23:26:12.000Z
2021-06-17T20:23:14.000Z
video/migrations/0002_auto_20190705_0808.py
AdventistChurchFinland/hopechannel-wagtail
b5b06e0696a929d5d2e29a368002d27f54a8ff75
[ "MIT" ]
null
null
null
# Generated by Django 2.2.3 on 2019-07-05 08:08 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('video', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='videotype', ...
26.291667
133
0.616482
68
631
5.602941
0.602941
0.062992
0.073491
0.115486
0
0
0
0
0
0
0
0.040512
0.256735
631
23
134
27.434783
0.771855
0.071315
0
0.117647
1
0
0.148973
0
0
0
0
0
0
1
0
false
0
0.117647
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3735790497e156cdee39aed5c0df2ddf1799e05b
2,966
py
Python
examples/main.py
levsh/arrlio
c6819bbe697ebcfbeafdd04af07f26f24b33d670
[ "MIT" ]
null
null
null
examples/main.py
levsh/arrlio
c6819bbe697ebcfbeafdd04af07f26f24b33d670
[ "MIT" ]
null
null
null
examples/main.py
levsh/arrlio
c6819bbe697ebcfbeafdd04af07f26f24b33d670
[ "MIT" ]
null
null
null
import asyncio import logging import arrlio import tasks from arrlio import crypto from arrlio.serializer.json import CryptoJson logger = logging.getLogger("arrlio") logger.setLevel("INFO") BACKEND = "arrlio.backend.local" async def main(): async def example_1(): producer = arrlio.Producer(arrlio.Pro...
30.265306
95
0.599798
342
2,966
5.04386
0.248538
0.064928
0.05913
0.055072
0.491014
0.397681
0.365217
0.316522
0.187826
0.187826
0
0.003322
0.289616
2,966
97
96
30.57732
0.815377
0.019555
0
0.246377
0
0
0.047193
0.007234
0
0
0
0
0
1
0.014493
false
0
0.086957
0.014493
0.115942
0.028986
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
0
1
0
3735921e137c8c45657a118872073a5c9c2372b6
685
py
Python
classes/face_type.py
t-maes/Energy
257c6b4a58af1067880870c828e966ba4c6e7f5d
[ "MIT" ]
null
null
null
classes/face_type.py
t-maes/Energy
257c6b4a58af1067880870c828e966ba4c6e7f5d
[ "MIT" ]
13
2020-09-17T13:11:22.000Z
2021-10-16T15:15:47.000Z
classes/face_type.py
t-maes/Energy
257c6b4a58af1067880870c828e966ba4c6e7f5d
[ "MIT" ]
2
2020-10-03T15:29:50.000Z
2021-10-04T07:50:35.000Z
from enum import Enum class FaceType(Enum): WALL = (0, 'Walls', 'MOD_BUILD', ['M', 'W'], 'wall') FLOOR = (1, 'Floors', 'TEXTURE', ['S', 'F'], 'floor') ROOF = (2, 'Roofs', 'LINCURVE', ['T', 'R'], 'roof') def get_id(self): return self.value[0] def get_name(self): return self.value[...
23.62069
57
0.566423
93
685
4.032258
0.473118
0.096
0.186667
0.253333
0
0
0
0
0
0
0
0.016162
0.277372
685
28
58
24.464286
0.741414
0
0
0
0
0
0.09781
0
0
0
0
0
0
1
0.3
false
0
0.05
0.25
0.85
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
37369717bf4744bf752a9e5e1db557ed280d3c7a
496
py
Python
Blatt-02/Sonstiges/tribonacci.py
MartinThoma/prog-ws1213
c82a2fb81bac774f8d3214a25c33124a9f512ef0
[ "MIT" ]
1
2017-08-10T13:12:03.000Z
2017-08-10T13:12:03.000Z
Blatt-02/Sonstiges/tribonacci.py
siviaseason/prog-ws1213
c82a2fb81bac774f8d3214a25c33124a9f512ef0
[ "MIT" ]
null
null
null
Blatt-02/Sonstiges/tribonacci.py
siviaseason/prog-ws1213
c82a2fb81bac774f8d3214a25c33124a9f512ef0
[ "MIT" ]
2
2016-06-08T20:56:04.000Z
2022-03-11T20:12:37.000Z
def tribonacci(n): if n < 3: return n else: return tribonacci(n-1) + tribonacci(n-2) + tribonacci(n-3) def tribonacciBottomUp(n): last = 1 secondLast = 1 thirdLast = 1 for i in range(2,n): new = last + secondLast + thirdLast thirdLast = secondLast secondL...
21.565217
73
0.568548
69
496
4.086957
0.376812
0.156028
0.042553
0
0
0
0
0
0
0
0
0.034286
0.294355
496
22
74
22.545455
0.771429
0
0
0
0
0
0.0625
0.0625
0
0
0
0
0
1
0.157895
false
0
0
0
0.315789
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
0
0
0
0
0
1
0
37379882a0e02a3d332d5d8f259eede951ecb249
1,805
py
Python
flake8_pie/tests/test_pie803_prefer_logging_interpolation.py
sbdchd/flake8-pie
96ae441d92abe64b23e1c37b0eb15778434000cc
[ "BSD-2-Clause" ]
23
2019-01-25T14:58:20.000Z
2022-03-27T02:20:01.000Z
flake8_pie/tests/test_pie803_prefer_logging_interpolation.py
sbdchd/flake8-assign-and-return
96ae441d92abe64b23e1c37b0eb15778434000cc
[ "BSD-2-Clause" ]
50
2019-04-17T02:37:01.000Z
2022-03-27T02:19:53.000Z
flake8_pie/tests/test_pie803_prefer_logging_interpolation.py
sbdchd/flake8-assign-and-return
96ae441d92abe64b23e1c37b0eb15778434000cc
[ "BSD-2-Clause" ]
5
2019-02-21T07:29:12.000Z
2021-11-06T21:01:26.000Z
from __future__ import annotations import ast import pytest from flake8_pie import Flake8PieCheck from flake8_pie.pie803_prefer_logging_interpolation import PIE803 from flake8_pie.tests.utils import Error, ex, to_errors EXAMPLES = [ ex( code=r""" logger.info("Login error for %s" % user) """, ...
24.066667
78
0.587812
239
1,805
4.330544
0.271967
0.10628
0.138164
0.14686
0.542029
0.501449
0.446377
0.307246
0.307246
0.216425
0
0.042569
0.232133
1,805
74
79
24.391892
0.704185
0
0
0.588235
0
0
0.330748
0.057064
0
0
0
0
0.014706
1
0.014706
false
0
0.088235
0
0.102941
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
0
0
1
0
373b0831f54ef02bac3d59c0fc65db6ad11950d7
1,517
py
Python
test/test_graph/test_slice.py
jjon/rdflib
4c2ab7b392b353bf3c6088017ec9351ce8ac3db6
[ "BSD-3-Clause" ]
null
null
null
test/test_graph/test_slice.py
jjon/rdflib
4c2ab7b392b353bf3c6088017ec9351ce8ac3db6
[ "BSD-3-Clause" ]
6
2021-11-22T19:10:32.000Z
2022-01-31T19:16:37.000Z
test/test_graph/test_slice.py
jjon/rdflib
4c2ab7b392b353bf3c6088017ec9351ce8ac3db6
[ "BSD-3-Clause" ]
null
null
null
from test.data import bob, cheese, hates, likes, michel, pizza, tarek from rdflib import Graph class TestGraphSlice: def test_slice(self): """ We pervert the slice object, and use start, stop, step as subject, predicate, object all operations return generators over full triples ...
27.089286
76
0.556361
209
1,517
4.033493
0.45933
0.033215
0.032028
0.053381
0.104389
0
0
0
0
0
0
0.006843
0.325643
1,517
55
77
27.581818
0.817204
0.376401
0
0
0
0
0
0
0
0
0
0
0.043478
1
0.130435
false
0
0.086957
0.086957
0.347826
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
0
0
1
0
373c7e678a1e9bf5e90624ef4fd6ec047caa5524
821
py
Python
hasty/exception.py
hasty-ai/hasty-python
e286c6cba8216d7b840a7fde5dc37b472b23296c
[ "MIT" ]
1
2022-02-27T08:09:08.000Z
2022-02-27T08:09:08.000Z
hasty/exception.py
hasty-ai/hasty-python
e286c6cba8216d7b840a7fde5dc37b472b23296c
[ "MIT" ]
3
2021-07-26T15:20:20.000Z
2022-03-29T22:58:27.000Z
hasty/exception.py
hasty-ai/hasty-python
e286c6cba8216d7b840a7fde5dc37b472b23296c
[ "MIT" ]
2
2021-09-12T01:59:56.000Z
2022-03-12T02:40:06.000Z
class ValidationException(Exception): def __init__(self, message): self.message = message @classmethod def export_in_progress(cls): raise ValidationException("Export is still running") class LimitExceededException(Exception): def __init__(self, message): self.message = message...
27.366667
90
0.702801
95
821
5.842105
0.336842
0.118919
0.086486
0.108108
0.581982
0.581982
0.513514
0.513514
0.513514
0.513514
0
0.009317
0.215591
821
29
91
28.310345
0.852484
0
0
0.47619
0
0
0.161998
0
0
0
0
0
0
1
0.333333
false
0
0
0.142857
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
373cd2d11dd4c527255309c855c5dbf16d3610fd
2,163
py
Python
pyContabo/Tags.py
xLeon-python/pyContabo
9863bd1ab0f95b50186902c90c40ce53d3026afd
[ "MIT" ]
5
2022-01-03T10:34:35.000Z
2022-01-27T10:34:41.000Z
pyContabo/Tags.py
xLeon-python/pyContabo
9863bd1ab0f95b50186902c90c40ce53d3026afd
[ "MIT" ]
4
2022-01-14T10:37:57.000Z
2022-01-20T20:44:54.000Z
pyContabo/Tags.py
xLeon-python/pyContabo
9863bd1ab0f95b50186902c90c40ce53d3026afd
[ "MIT" ]
1
2022-01-20T14:59:32.000Z
2022-01-20T14:59:32.000Z
import json from typing import List, Union from .Tag import Tag from .audits.TagsAudits import TagsAudits class Tags: def __init__(self, _http): self._http = _http self.Audits = TagsAudits(_http) def get( self, id: str = None, page: int = None, pageSize: int ...
29.630137
250
0.520573
285
2,163
3.785965
0.277193
0.027804
0.074143
0.061168
0.379981
0.317887
0.317887
0.266914
0.189064
0.189064
0
0.008584
0.353675
2,163
72
251
30.041667
0.763233
0.064263
0
0.163636
0
0.018182
0.162444
0.023845
0
0
0
0
0
1
0.054545
false
0
0.072727
0
0.254545
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
0
0
1
0
373ce6abe69658df775573e30396ce08743e65d4
1,458
py
Python
2021/07/b.py
cj-wong/advent
f6a489773f488f5daf49caa9d652b1886608b928
[ "MIT" ]
null
null
null
2021/07/b.py
cj-wong/advent
f6a489773f488f5daf49caa9d652b1886608b928
[ "MIT" ]
null
null
null
2021/07/b.py
cj-wong/advent
f6a489773f488f5daf49caa9d652b1886608b928
[ "MIT" ]
null
null
null
from collections import Counter, defaultdict from typing import Dict, List import config def calculate_crab_pos_change_fuel(start: int, end: int) -> int: """Calculate the amount of fuel changed per position. Args: start (int): starting position end (int): ending position Returns: ...
23.516129
67
0.633059
201
1,458
4.368159
0.333333
0.039863
0.05467
0.06492
0.137813
0
0
0
0
0
0
0.006464
0.257202
1,458
61
68
23.901639
0.804247
0.215364
0
0
0
0
0.008333
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.266667
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
0
0
1
0
373f20855c48097a781ae0349231baa0bc6b5ae5
5,730
py
Python
aplus_client/django/models.py
apluslms/a-plus-client
21cf1575ef70baf6ece70d6ae99f7bcee554e9b1
[ "MIT" ]
1
2019-10-13T10:21:51.000Z
2019-10-13T10:21:51.000Z
aplus_client/django/models.py
apluslms/a-plus-client
21cf1575ef70baf6ece70d6ae99f7bcee554e9b1
[ "MIT" ]
null
null
null
aplus_client/django/models.py
apluslms/a-plus-client
21cf1575ef70baf6ece70d6ae99f7bcee554e9b1
[ "MIT" ]
1
2018-08-28T18:32:20.000Z
2018-08-28T18:32:20.000Z
import datetime from functools import reduce from urllib.parse import urlsplit from django.apps import apps from django.core.exceptions import ObjectDoesNotExist from django.db import models from django.utils import timezone from django.utils.functional import cached_property from django.utils.translation import ugette...
31.311475
79
0.63822
671
5,730
5.247392
0.207154
0.044306
0.05453
0.031809
0.214996
0.158762
0.158762
0.127237
0.116444
0.106788
0
0.000956
0.269459
5,730
182
80
31.483516
0.840182
0
0
0.265734
0
0
0.03438
0
0
0
0
0
0
1
0.125874
false
0
0.062937
0.020979
0.433566
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
0
0
1
0
373f799d97bc4aea9455aac2ae9a2ed13f94701c
1,010
py
Python
tests/changes/api/test_kick_sync_repo.py
vault-the/changes
37e23c3141b75e4785cf398d015e3dbca41bdd56
[ "Apache-2.0" ]
443
2015-01-03T16:28:39.000Z
2021-04-26T16:39:46.000Z
tests/changes/api/test_kick_sync_repo.py
vault-the/changes
37e23c3141b75e4785cf398d015e3dbca41bdd56
[ "Apache-2.0" ]
12
2015-07-30T19:07:16.000Z
2016-11-07T23:11:21.000Z
tests/changes/api/test_kick_sync_repo.py
vault-the/changes
37e23c3141b75e4785cf398d015e3dbca41bdd56
[ "Apache-2.0" ]
47
2015-01-09T10:04:00.000Z
2020-11-18T17:58:19.000Z
import json import mock from changes.config import db from changes.testutils import APITestCase class KickSyncRepoTest(APITestCase): path = '/api/0/kick_sync_repo/' def setUp(self): self.repo = self.create_repo() db.session.commit() super(KickSyncRepoTest, self).setUp() def test...
29.705882
80
0.623762
124
1,010
4.959677
0.491935
0.039024
0.039024
0.058537
0.130081
0.130081
0.130081
0.130081
0
0
0
0.010724
0.261386
1,010
33
81
30.606061
0.813673
0
0
0.148148
0
0
0.137624
0.063366
0
0
0
0
0.222222
1
0.111111
false
0
0.148148
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
0
0
0
0
1
0
373fc6a46681c0185948d7219fd4ce20e547707c
497
py
Python
app/deployments/migrations/0009_platform_geom.py
gulfofmaine/buoy_barn
f04047fe17a45dbb58a3aac7703edd16616a6dfd
[ "MIT" ]
1
2021-08-06T19:26:06.000Z
2021-08-06T19:26:06.000Z
app/deployments/migrations/0009_platform_geom.py
gulfofmaine/buoy_barn
f04047fe17a45dbb58a3aac7703edd16616a6dfd
[ "MIT" ]
152
2019-09-20T11:56:58.000Z
2022-03-25T10:01:12.000Z
app/deployments/migrations/0009_platform_geom.py
gulfofmaine/buoy_barn
f04047fe17a45dbb58a3aac7703edd16616a6dfd
[ "MIT" ]
null
null
null
# Generated by Django 2.1.2 on 2018-12-11 21:08 import django.contrib.gis.db.models.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('deployments', '0008_auto_20181211_1656'), ] operations = [ migrations.AddField( model_name='p...
24.85
124
0.645875
59
497
5.355932
0.711864
0.082278
0.101266
0.113924
0.189873
0.189873
0
0
0
0
0
0.091623
0.231388
497
19
125
26.157895
0.735602
0.090543
0
0
1
0
0.12
0.051111
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
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
37401799ef8790b8796a6d77073cb66a40a6c746
1,350
py
Python
send.py
b1tst0rm/pygsuite
8884d85b3bf038c4e41b6447f0c20af6b1925044
[ "MIT" ]
1
2021-06-10T16:59:57.000Z
2021-06-10T16:59:57.000Z
send.py
b1tst0rm/pygsuite
8884d85b3bf038c4e41b6447f0c20af6b1925044
[ "MIT" ]
null
null
null
send.py
b1tst0rm/pygsuite
8884d85b3bf038c4e41b6447f0c20af6b1925044
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import smtplib import ssl import traceback from email.message import EmailMessage import csv csv_name = input("Enter path to CSV: ") with open(csv_name) as csv_file: csv_reader = csv.reader(csv_file, delimiter=",") for row in csv_reader: title = row[0] last_name = row[1] ...
27
70
0.554074
159
1,350
4.603774
0.566038
0.036885
0.032787
0
0
0
0
0
0
0
0
0.012401
0.342963
1,350
49
71
27.55102
0.812852
0.094074
0
0
0
0
0.101678
0
0
0
0
0
0
1
0
false
0
0.16129
0
0.16129
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
0
0
0
0
1
0
37403c0b4b4f8c0a873678dc2513d03b98245665
609
py
Python
falco/client_credentials.py
jasondellaluce/client-py
694780796289fdd20f1588d06e66c5a1b52ecb26
[ "Apache-2.0" ]
20
2019-10-14T15:01:14.000Z
2021-08-09T19:13:08.000Z
falco/client_credentials.py
jasondellaluce/client-py
694780796289fdd20f1588d06e66c5a1b52ecb26
[ "Apache-2.0" ]
45
2019-10-14T14:55:30.000Z
2022-02-11T03:27:37.000Z
falco/client_credentials.py
jasondellaluce/client-py
694780796289fdd20f1588d06e66c5a1b52ecb26
[ "Apache-2.0" ]
11
2019-10-14T17:41:06.000Z
2022-02-21T05:40:44.000Z
import grpc def load_file(filepath): with open(filepath, "rb") as f: return f.read() def get_grpc_channel_credentials(client_crt, client_key, ca_root): """Returns a ChannelCredentials object to use with the grpc channel https://grpc.github.io/grpc/python/grpc.html#create-client-credentials ...
27.681818
106
0.747126
82
609
5.256098
0.47561
0.074246
0.12529
0
0
0
0
0
0
0
0
0
0.165846
609
21
107
29
0.848425
0.223317
0
0
0
0
0.004367
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.454545
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
0
0
1
0
3741437c9d6eeb011b2b876a314bb32cbeb6caaf
2,020
py
Python
scripts/release.py
ydcjeff/api-extractor
0c8b22d75f21d08c3e7601e1bf15a37963742516
[ "MIT" ]
1
2021-07-03T18:42:38.000Z
2021-07-03T18:42:38.000Z
scripts/release.py
ydcjeff/api-extractor
0c8b22d75f21d08c3e7601e1bf15a37963742516
[ "MIT" ]
1
2022-02-04T14:42:25.000Z
2022-02-06T02:21:44.000Z
scripts/release.py
ydcjeff/api-extractor
0c8b22d75f21d08c3e7601e1bf15a37963742516
[ "MIT" ]
null
null
null
# pylint: skip-file import json import subprocess import sys import api_extractor try: from semver import VersionInfo except ImportError: raise ImportError( 'semver must be installed for release. `pip install semver`' ) try: import koloro except ImportError: raise ImportError( 'koloro must be inst...
21.263158
79
0.634653
265
2,020
4.743396
0.407547
0.062053
0.059666
0.052506
0.097056
0.055688
0.055688
0
0
0
0
0.001229
0.194554
2,020
94
80
21.489362
0.771358
0.008416
0
0.208955
0
0
0.287356
0
0
0
0
0
0
1
0.014925
false
0
0.149254
0
0.19403
0.089552
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
0
1
0
3743220aa5b97be4c5b07c94e92e07656a597733
674
py
Python
Exercicios Curso Em Video Mundo 3/Exe_081.py
JorgeTranin/Python_Curso_Em_Video
be74c9301aafc055bdf883be649cb8b7716617e3
[ "MIT" ]
null
null
null
Exercicios Curso Em Video Mundo 3/Exe_081.py
JorgeTranin/Python_Curso_Em_Video
be74c9301aafc055bdf883be649cb8b7716617e3
[ "MIT" ]
null
null
null
Exercicios Curso Em Video Mundo 3/Exe_081.py
JorgeTranin/Python_Curso_Em_Video
be74c9301aafc055bdf883be649cb8b7716617e3
[ "MIT" ]
null
null
null
''' Exercício Python 081: Crie um programa que vai ler vários números e colocar em uma lista. Depois disso, mostre: A) Quantos números foram digitados. B) A lista de valores, ordenada de forma decrescente. C) Se o valor 5 foi digitado e está ou não na lista. ''' lista = list() while True: lista.append(int(input(...
21.741935
57
0.675074
113
674
4.026549
0.628319
0.03956
0.046154
0.043956
0.083516
0.083516
0
0
0
0
0
0.014981
0.207715
674
30
58
22.466667
0.837079
0.376855
0
0
0
0
0.441463
0
0
0
0
0
0
1
0
false
0
0
0
0
0.307692
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
0
1
0
374483f15bf635d6c70ab7f2db45d14d34cefa97
1,327
py
Python
vulnhub/venus/exploit_not_1337_version.py
nhtri2003gmail/ctf-write-ups
7e969c47027c39b614e10739ae3a953eed17dfa3
[ "MIT" ]
101
2020-03-09T17:40:47.000Z
2022-03-31T23:26:55.000Z
vulnhub/venus/exploit_not_1337_version.py
nhtri2003gmail/ctf-write-ups
7e969c47027c39b614e10739ae3a953eed17dfa3
[ "MIT" ]
1
2021-11-09T13:39:40.000Z
2021-11-10T19:15:04.000Z
vulnhub/venus/exploit_not_1337_version.py
datajerk/ctf-write-ups
1bc4ecc63a59de7d924c7214b1ce467801792da0
[ "MIT" ]
31
2020-05-27T12:29:50.000Z
2022-03-31T23:23:32.000Z
#!/usr/bin/env python3 from pwn import * binary = context.binary = ELF('./venus_messaging') if args.REMOTE: #p = remote('172.19.2.239',9080) #port blocked? workaround: ssh -L 9080:localhost:9080 magellan@172.19.2.239 p = remote('localhost',9080) libc = ELF('./libc.so.6') # lame no ASLR ''' # ldd /usr/bin/venu...
25.519231
76
0.6948
212
1,327
4.283019
0.410377
0.132159
0.030837
0.019824
0.248899
0.169604
0
0
0
0
0
0.122432
0.119819
1,327
51
77
26.019608
0.654966
0.104748
0
0.235294
0
0
0.184263
0.030876
0
0
0.043825
0
0
1
0
false
0.029412
0.029412
0
0.029412
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
0
0
1
0
3744a67ac0806df733d0a009949e03e1e837df25
4,565
py
Python
waterspout_api/migrations/0014_auto_20210406_1439.py
Water-Systems-Management-UCM/Waterspout
78965f1e53b09f442e278dff72c290ceac22ed60
[ "MIT" ]
1
2020-09-10T20:43:24.000Z
2020-09-10T20:43:24.000Z
waterspout_api/migrations/0014_auto_20210406_1439.py
Water-Systems-Management-UCM/Waterspout
78965f1e53b09f442e278dff72c290ceac22ed60
[ "MIT" ]
72
2020-05-28T17:20:12.000Z
2022-03-28T14:11:40.000Z
waterspout_api/migrations/0014_auto_20210406_1439.py
Water-Systems-Management-UCM/Waterspout
78965f1e53b09f442e278dff72c290ceac22ed60
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-04-06 21:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('waterspout_api', '0013_modelarea_main_help_page_content'), ] operations = [ migrations.AlterField( model_name='calibratedparameter...
40.04386
111
0.605915
451
4,565
5.94235
0.135255
0.089552
0.186567
0.216418
0.839925
0.839925
0.839925
0.839925
0.839925
0.839925
0
0.005436
0.274699
4,565
113
112
40.39823
0.803987
0.00942
0
0.747664
1
0
0.080531
0.008186
0
0
0
0
0
1
0
false
0
0.009346
0
0.037383
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
37452035deb83fe334a0ce5c91b574bc1022bec4
66
py
Python
base_structure/common/config.py
djy-git/base-structure
7b867086fee66d1cd9b6e4fd9c7dd082fef29575
[ "MIT" ]
null
null
null
base_structure/common/config.py
djy-git/base-structure
7b867086fee66d1cd9b6e4fd9c7dd082fef29575
[ "MIT" ]
null
null
null
base_structure/common/config.py
djy-git/base-structure
7b867086fee66d1cd9b6e4fd9c7dd082fef29575
[ "MIT" ]
2
2021-08-12T16:44:45.000Z
2021-10-19T14:25:25.000Z
"""**Configuration 변수들이 정의되는 module** 1. Constant는 대문자 ---- """
9.428571
37
0.606061
7
66
5.714286
1
0
0
0
0
0
0
0
0
0
0
0.018182
0.166667
66
6
38
11
0.709091
0.878788
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
3746076b8924c745799ec314c621f1db42d6ba93
237
py
Python
docs/labs/lab03/notebook/solutions/exercise1.py
lingcog/2019-CS109A
f1eaa62976fe989c3ad3f3ab4b8dd5d71574a2c3
[ "MIT" ]
442
2019-06-11T06:47:00.000Z
2022-03-12T11:19:31.000Z
docs/labs/lab03/notebook/solutions/exercise1.py
lelandroberts97/2019-CS109A
976da6b65c26fd3c5db285cbf9ec9cde92751a70
[ "MIT" ]
3
2019-09-23T17:32:51.000Z
2022-02-09T06:06:00.000Z
docs/labs/lab03/notebook/solutions/exercise1.py
lelandroberts97/2019-CS109A
976da6b65c26fd3c5db285cbf9ec9cde92751a70
[ "MIT" ]
486
2019-06-17T05:01:07.000Z
2022-03-13T20:30:44.000Z
A = np.array([ [5, 4, 3, 2, 1], [1, 2, 3, 4, 5], [1.1, 2.2, 3.3, 4.4, 5.5] ]) print(A, "\n") # set length(shape) dims = A.shape print(dims, "\n") # slicing print(A[-1, 2:], "\n") print(A[1:3, 3:5], "\n") # square A2 = A * A print(A2)
15.8
77
0.476793
54
237
2.092593
0.314815
0.053097
0.053097
0
0
0
0
0
0
0
0
0.148148
0.202532
237
14
78
16.928571
0.449735
0.135021
0
0
0
0
0.039801
0
0
0
0
0
0
1
0
false
0
0
0
0
0.625
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
1
0
2
374643baf4905a23f6574e861031e8d99a6d3e66
752
py
Python
src/rentinfo/model.py
SwaggieBroker/HousePriceDataVisualization
43325cf6ba03548bf4a867dff2cafb4abec7758f
[ "MIT" ]
null
null
null
src/rentinfo/model.py
SwaggieBroker/HousePriceDataVisualization
43325cf6ba03548bf4a867dff2cafb4abec7758f
[ "MIT" ]
null
null
null
src/rentinfo/model.py
SwaggieBroker/HousePriceDataVisualization
43325cf6ba03548bf4a867dff2cafb4abec7758f
[ "MIT" ]
null
null
null
from django.conf import settings from django.db import models class RentInfo(models.Model): class Meta: db_table = "rentinfo" houseID = models.CharField(primary_key=True, max_length=50) updatedate = models.DateTimeField('updatedate') decoration = models.CharField(max_length=50) heating = ...
34.181818
63
0.734043
98
752
5.489796
0.336735
0.334572
0.245353
0.490706
0.531599
0
0
0
0
0
0
0.038095
0.162234
752
21
64
35.809524
0.815873
0
0
0
0
0
0.023936
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.944444
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
37495eaeb03f7a3a0e3a85e6649c760538db37b4
9,932
py
Python
Blinkenlights/clients/cal.py
mbalasz/Blinkenlights
f95cb40fb6c9c078ed174a2b70e74f20084db124
[ "Apache-2.0" ]
3
2021-05-23T20:16:03.000Z
2022-02-16T15:52:19.000Z
Blinkenlights/clients/cal.py
mbalasz/Blinkenlights
f95cb40fb6c9c078ed174a2b70e74f20084db124
[ "Apache-2.0" ]
2
2021-06-15T14:01:01.000Z
2021-07-08T13:31:10.000Z
Blinkenlights/clients/cal.py
mbalasz/Blinkenlights
f95cb40fb6c9c078ed174a2b70e74f20084db124
[ "Apache-2.0" ]
7
2021-06-07T11:36:04.000Z
2021-10-31T23:18:10.000Z
#!/usr/bin/python3 # Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
34.971831
97
0.592429
1,312
9,932
4.398628
0.297256
0.027725
0.02062
0.014556
0.106221
0.065846
0.015942
0.015942
0.015942
0.015942
0
0.026715
0.283931
9,932
283
98
35.095406
0.78473
0.197644
0
0.085
0
0
0.130566
0.003785
0
0
0
0.003534
0
1
0.09
false
0
0.05
0.025
0.205
0.025
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
0
1
0
3749d562b21ac17eff7db98c573f8f834fbad3b1
6,455
py
Python
edivorce/apps/core/views/efiling.py
seeker25/eDivorce
e0c56424f97a30b74930b35d774c30d7be25b5a1
[ "Apache-2.0" ]
null
null
null
edivorce/apps/core/views/efiling.py
seeker25/eDivorce
e0c56424f97a30b74930b35d774c30d7be25b5a1
[ "Apache-2.0" ]
null
null
null
edivorce/apps/core/views/efiling.py
seeker25/eDivorce
e0c56424f97a30b74930b35d774c30d7be25b5a1
[ "Apache-2.0" ]
null
null
null
import base64 import random import re from django.conf import settings from django.contrib import messages from django.shortcuts import redirect from django.urls import reverse from django.contrib.auth.decorators import login_required from ..decorators import prequal_completed from ..models import Document, UserRespo...
32.933673
117
0.698993
808
6,455
5.311881
0.238861
0.033551
0.029357
0.040774
0.337139
0.288677
0.199674
0.162861
0.102516
0.078751
0
0.009977
0.208056
6,455
195
118
33.102564
0.829617
0.027576
0
0.246479
0
0
0.145437
0.052102
0
0
0
0
0
1
0.070423
false
0
0.098592
0.028169
0.274648
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
0
0
1
0
374a5f8b4571959df8d4deab391fa8af6f778e90
633
py
Python
MyApp/admin.py
liqi629/yyapi
36873d87cb433d6077bafd31fca89ea15aaaed66
[ "MIT" ]
1
2021-08-06T09:17:37.000Z
2021-08-06T09:17:37.000Z
MyApp/admin.py
liqi629/yyapi
36873d87cb433d6077bafd31fca89ea15aaaed66
[ "MIT" ]
null
null
null
MyApp/admin.py
liqi629/yyapi
36873d87cb433d6077bafd31fca89ea15aaaed66
[ "MIT" ]
null
null
null
from django.contrib import admin # Register your models here. # 管理django后台的一个文件,我们要在后台中看到的数据库表都需要在这里注册,后续会详细说明 # 我们这里必须手动加上一句,从我的app里models 中导入所有类* from MyApp.models import * # 注册 刚刚的吐槽表:admin.site.register() 是注册用的函数,里面写类名,注意是类名,并不是类本身,所以不要加() admin.site.register(DB_tucao) admin.site.register(DB_home_href) admin.site...
31.65
68
0.832543
94
633
5.425532
0.404255
0.229412
0.433333
0.447059
0.296078
0
0
0
0
0
0
0
0.055292
633
20
69
31.65
0.852843
0.276461
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
374dd8193ca54427fd3b47ebd2fa213180ba8a3d
796
py
Python
pyasn1_modules/rfc3537.py
alvistack/etingof-pyasn1-modules
bdbcc5d9650a8e8382979f089df3307dd4121b49
[ "BSD-2-Clause" ]
34
2016-04-03T09:10:31.000Z
2022-02-12T20:38:31.000Z
pyasn1_modules/rfc3537.py
alvistack/etingof-pyasn1-modules
bdbcc5d9650a8e8382979f089df3307dd4121b49
[ "BSD-2-Clause" ]
138
2017-05-31T09:25:10.000Z
2022-02-07T09:00:19.000Z
pyasn1_modules/rfc3537.py
alvistack/etingof-pyasn1-modules
bdbcc5d9650a8e8382979f089df3307dd4121b49
[ "BSD-2-Clause" ]
36
2016-03-16T00:37:04.000Z
2021-11-12T12:09:43.000Z
# # This file is part of pyasn1-modules software. # # Created by Russ Housley. # # Copyright (c) 2019, Vigil Security, LLC # License: http://snmplabs.com/pyasn1/license.html # # SEED Encryption Algorithm in CMS # # ASN.1 source from: # https://www.rfc-editor.org/rfc/rfc4010.txt # from pyasn1.type import constraint fro...
22.742857
77
0.757538
108
796
5.481481
0.601852
0.033784
0.047297
0.067568
0.121622
0.121622
0.121622
0.121622
0.121622
0.121622
0
0.091954
0.125628
796
34
78
23.411765
0.758621
0.383166
0
0
0
0
0.109244
0.109244
0
0
0
0
0
1
0
false
0
0.3
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
374e05bef352cf6a0bbc2edb924828a0a8f7d3fe
119
py
Python
pelican/plugins/gpx_reader/exceptions.py
MinchinWeb/gpx-reader
772adff6c5803826f130286f8ec078aad7c49508
[ "MIT" ]
1
2021-06-03T03:35:55.000Z
2021-06-03T03:35:55.000Z
pelican/plugins/gpx_reader/exceptions.py
MinchinWeb/gpx-reader
772adff6c5803826f130286f8ec078aad7c49508
[ "MIT" ]
null
null
null
pelican/plugins/gpx_reader/exceptions.py
MinchinWeb/gpx-reader
772adff6c5803826f130286f8ec078aad7c49508
[ "MIT" ]
null
null
null
class TooShortGPXException(ValueError): """GPX has less than 2 points, and so won't generate a heatmap cleanly."""
39.666667
78
0.739496
17
119
5.176471
1
0
0
0
0
0
0
0
0
0
0
0.01
0.159664
119
2
79
59.5
0.87
0.571429
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
5
374e12794e55f64210c0702578375d3bfa8fc2d6
311
py
Python
app/handlers/admin/find_assigned_group.py
jamestiotio/wthslack
4ada5e2354bfd9ffd46731abe35b65ef8a09d4f1
[ "MIT" ]
2
2020-07-10T21:06:53.000Z
2020-10-27T17:05:05.000Z
app/handlers/admin/find_assigned_group.py
wthdevelopers/wthslack
f6566e35b5455fcdfb12d9b33d65843b67aff17c
[ "MIT" ]
7
2020-02-09T12:08:00.000Z
2021-06-27T16:51:29.000Z
app/handlers/admin/find_assigned_group.py
jamestiotio/wthslack
4ada5e2354bfd9ffd46731abe35b65ef8a09d4f1
[ "MIT" ]
2
2020-02-07T15:35:24.000Z
2020-02-07T17:28:50.000Z
# coding: utf-8 # View a specific participant's assigned group details # Created by James Raphael Tiovalen (2021) import slack import ast import settings import config from slackers.hooks import commands conv_db = config.conv_handler @commands.on("viewgroupdeets") def viewgroupdeets(payload): return
16.368421
54
0.784566
42
311
5.761905
0.809524
0
0
0
0
0
0
0
0
0
0
0.018939
0.151125
311
18
55
17.277778
0.897727
0.344051
0
0
0
0
0.07
0
0
0
0
0
0
1
0.111111
false
0
0.555556
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
374e6497dc978569c6363b78e55b35f4198cbcfd
2,683
py
Python
isiscb/isisdata/migrations/0049_auto_20160901_1408.py
bgopalachary/IsisCB
c28e3f504eea60ebeff38318d8bb2071abb28ebb
[ "MIT" ]
4
2016-01-25T20:35:33.000Z
2020-04-07T15:39:52.000Z
isiscb/isisdata/migrations/0049_auto_20160901_1408.py
bgopalachary/IsisCB
c28e3f504eea60ebeff38318d8bb2071abb28ebb
[ "MIT" ]
41
2015-08-19T17:34:41.000Z
2022-03-11T23:19:01.000Z
isiscb/isisdata/migrations/0049_auto_20160901_1408.py
bgopalachary/IsisCB
c28e3f504eea60ebeff38318d8bb2071abb28ebb
[ "MIT" ]
2
2020-11-25T20:18:18.000Z
2021-06-24T15:15:41.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('isisdata', '0048_citationcollection_name'), ] operations = [ migrations.AlterField( model_name='authority', ...
76.657143
627
0.677972
363
2,683
4.955923
0.225895
0.166759
0.040022
0.06448
0.83602
0.817676
0.817676
0.817676
0.817676
0.817676
0
0.025501
0.181513
2,683
34
628
78.911765
0.793716
0.007827
0
0.5
0
0.107143
0.539474
0.034211
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
374f3b7ef3585b1770c1ec627dee8e6fd5b66ec8
6,195
py
Python
pylibs/benchmarking/tests/test_run_bench/test_benchmark_driver.py
famousyub/smartyphp
2691233a8993b8902c6a3d533a6e3f1fe44fe0f8
[ "MIT" ]
359
2018-06-16T02:42:54.000Z
2022-03-21T06:39:26.000Z
pylibs/benchmarking/tests/test_run_bench/test_benchmark_driver.py
famousyub/smartyphp
2691233a8993b8902c6a3d533a6e3f1fe44fe0f8
[ "MIT" ]
257
2018-07-03T22:08:27.000Z
2022-03-31T18:45:04.000Z
pylibs/benchmarking/tests/test_run_bench/test_benchmark_driver.py
famousyub/smartyphp
2691233a8993b8902c6a3d533a6e3f1fe44fe0f8
[ "MIT" ]
77
2018-06-16T04:00:29.000Z
2022-02-19T03:07:58.000Z
#!/usr/bin/env python ############################################################################## # Copyright 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. ################################...
28.548387
85
0.528168
671
6,195
4.734724
0.193741
0.089707
0.101668
0.062323
0.603399
0.506453
0.380548
0.376456
0.367013
0.308467
0
0.097209
0.305892
6,195
216
86
28.680556
0.641628
0.035028
0
0.46988
0
0
0.078775
0
0
0
0
0
0.168675
1
0.114458
false
0
0.012048
0.006024
0.180723
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
0
0
1
0
374f55c7814c43d98b1a4269df803668e0d8ed39
404
py
Python
lib/fastlane/plugin/xcconfig_actions/helper/scripts/parse.py
Sifiso36NiCHOLAS/fastlane-plugin-xcconfig_actions
c4c5d3b34bb070a870da91eb5c33083923435151
[ "MIT" ]
15
2019-02-22T01:29:14.000Z
2021-09-10T01:15:22.000Z
lib/fastlane/plugin/xcconfig_actions/helper/scripts/parse.py
Sifiso36NiCHOLAS/fastlane-plugin-xcconfig_actions
c4c5d3b34bb070a870da91eb5c33083923435151
[ "MIT" ]
2
2019-07-23T01:36:00.000Z
2019-07-23T01:37:38.000Z
lib/fastlane/plugin/xcconfig_actions/helper/scripts/parse.py
Sifiso36NiCHOLAS/fastlane-plugin-xcconfig_actions
c4c5d3b34bb070a870da91eb5c33083923435151
[ "MIT" ]
2
2021-01-25T05:07:20.000Z
2021-03-08T02:24:36.000Z
from bs4 import BeautifulSoup import re soup = BeautifulSoup(open("page.html"), "html.parser") entries = soup.find_all("div", id=re.compile("dev.*")) title_re = re.compile(".*\((.*)\)") settings = [] for e in entries: text = e.find("h2", class_="Name").text m = title_re.match(text) if m == None: ...
21.263158
54
0.626238
57
404
4.368421
0.614035
0.072289
0
0
0
0
0
0
0
0
0
0.009146
0.188119
404
18
55
22.444444
0.75
0
0
0
0
0
0.108911
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.071429
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
3752450480eea1c7e55ce4fc9b56d64c75873411
4,604
py
Python
ADT/Homework 9/HashTables/HashTable.py
Devang-25/CS-Jacobs
d56a70c13ce3863bcf3140990fab5b634b30a2af
[ "MIT" ]
null
null
null
ADT/Homework 9/HashTables/HashTable.py
Devang-25/CS-Jacobs
d56a70c13ce3863bcf3140990fab5b634b30a2af
[ "MIT" ]
null
null
null
ADT/Homework 9/HashTables/HashTable.py
Devang-25/CS-Jacobs
d56a70c13ce3863bcf3140990fab5b634b30a2af
[ "MIT" ]
null
null
null
class Node: # Defining a Node def __init__(self, key=None, value=None): """A Node Class Keyword Arguments: key {int} -- The unique key for a Node (default: {None}) value {int} -- The data for the the Node (default: {None}) """ self.key = key self....
32.885714
86
0.572546
573
4,604
4.572426
0.249564
0.024046
0.034351
0.026336
0.2
0.093511
0.035115
0
0
0
0
0.016279
0.346221
4,604
139
87
33.122302
0.854153
0.399001
0
0.163636
0
0
0.076699
0
0
0
0
0
0
1
0.109091
false
0
0
0
0.254545
0.072727
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
0
1
0
37552744d8e9652e02f1f77ca633dcd27815fbb0
1,148
py
Python
library_management/config/library_management.py
pkstimepass/Library-Management
e751c43ccb499bf81ec74e5593b6c7e208127273
[ "MIT" ]
null
null
null
library_management/config/library_management.py
pkstimepass/Library-Management
e751c43ccb499bf81ec74e5593b6c7e208127273
[ "MIT" ]
9
2021-03-19T15:44:38.000Z
2022-03-12T00:52:14.000Z
library_management/config/library_management.py
pkstimepass/Library-Management
e751c43ccb499bf81ec74e5593b6c7e208127273
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from frappe import _ def get_data(): return [ { "label":_("Library"), "icon": "octicon octicon-briefcase", "items": [ { "type": "doctype", "name": "Article", "label": _("Article"), ...
31.027027
112
0.457317
85
1,148
5.988235
0.541176
0.086444
0.117878
0.129666
0.125737
0.125737
0
0
0
0
0
0
0.409408
1,148
36
113
31.888889
0.750737
0
0
0.114286
0
0
0.423345
0
0
0
0
0
0
1
0.028571
true
0
0.057143
0.028571
0.114286
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
375570af4f92c8f4e216e1ebc0166477badfeb09
1,213
py
Python
chapter11/step02/train_model.py
UserAdminD3us/Microsoft-Certified-Azure-Data-Scientist-Associate-Certification-Guide
62873b5a99120d240a8df8c0b7f81e6c95d5be02
[ "MIT" ]
null
null
null
chapter11/step02/train_model.py
UserAdminD3us/Microsoft-Certified-Azure-Data-Scientist-Associate-Certification-Guide
62873b5a99120d240a8df8c0b7f81e6c95d5be02
[ "MIT" ]
null
null
null
chapter11/step02/train_model.py
UserAdminD3us/Microsoft-Certified-Azure-Data-Scientist-Associate-Certification-Guide
62873b5a99120d240a8df8c0b7f81e6c95d5be02
[ "MIT" ]
null
null
null
import argparse import os import lightgbm as lgb import joblib parser = argparse.ArgumentParser() parser.add_argument( "--learning-rate", type=float, dest="learning_rate", help="Learning date for LightGBM", default=0.01, ) parser.add_argument( "--input-path", type=str, dest="input_path...
22.054545
86
0.690025
162
1,213
4.993827
0.41358
0.086527
0.063041
0.037083
0.091471
0.091471
0.091471
0.091471
0.091471
0
0
0.004921
0.162407
1,213
54
87
22.462963
0.791339
0
0
0.106383
0
0
0.258038
0.018137
0
0
0
0
0
1
0
false
0
0.085106
0
0.085106
0.021277
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
0
1
0
3755f0af6e1ac846d5a6b76e9670f96ab376bb9b
12,365
py
Python
lizard_auth_server/views_api.py
lisannewapstra/lizard-auth-server
3824edfaedd01caff5eb84bbcb9557ccfec2371a
[ "MIT", "BSD-3-Clause" ]
1
2019-02-21T02:12:04.000Z
2019-02-21T02:12:04.000Z
lizard_auth_server/views_api.py
lisannewapstra/lizard-auth-server
3824edfaedd01caff5eb84bbcb9557ccfec2371a
[ "MIT", "BSD-3-Clause" ]
88
2015-04-23T15:37:17.000Z
2021-02-18T15:28:32.000Z
lizard_auth_server/views_api.py
lisannewapstra/lizard-auth-server
3824edfaedd01caff5eb84bbcb9557ccfec2371a
[ "MIT", "BSD-3-Clause" ]
2
2018-04-24T08:48:35.000Z
2021-02-17T10:18:26.000Z
# -*- coding: utf-8 -*- from django.contrib.auth import authenticate as django_authenticate from django.contrib.auth.models import User from django.http import HttpResponse from django.http import HttpResponseBadRequest from django.shortcuts import get_object_or_404 from django.utils.decorators import method_decorator ...
34.157459
88
0.619895
1,335
12,365
5.61573
0.12809
0.039616
0.061224
0.042017
0.778578
0.771642
0.75897
0.736161
0.727624
0.712685
0
0.001463
0.28144
12,365
361
89
34.252078
0.842319
0.055641
0
0.665306
0
0
0.102444
0.002563
0
0
0
0
0
1
0.146939
false
0.073469
0.069388
0.081633
0.485714
0
0
0
0
null
0
0
0
0
1
1
1
1
1
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
6
37567441cec8df2625f386786c43826f9d7358ea
6,446
py
Python
log_parser/__init__.py
kozlovzxc/python-log-parser
a7b5c2b489e7cece437dfc36746ff58399646fd0
[ "MIT" ]
null
null
null
log_parser/__init__.py
kozlovzxc/python-log-parser
a7b5c2b489e7cece437dfc36746ff58399646fd0
[ "MIT" ]
null
null
null
log_parser/__init__.py
kozlovzxc/python-log-parser
a7b5c2b489e7cece437dfc36746ff58399646fd0
[ "MIT" ]
null
null
null
from pyparsing import * from string import printable, uppercase from dateutil import parser as dateutil_parser import yaml class LogParser(object): ACCESS_LOG_VARS = { 'request.first_line' : Word(uppercase)('request.method')+\ Literal(" ")+\ SkipTo(" ")('request....
42.973333
134
0.477195
564
6,446
5.265957
0.271277
0.03771
0.036364
0.038384
0.134007
0.116498
0.116498
0.116498
0.093603
0
0
0.005415
0.398387
6,446
149
135
43.261745
0.760444
0.032578
0
0.161765
0
0
0.113465
0.021987
0
0
0
0
0
1
0.036765
false
0
0.029412
0.014706
0.25
0.029412
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
0
1
0
37578518bee7829df262610a24f622d6d408232d
12,196
py
Python
python/biograph/vdb/parquet_test.py
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
16
2021-07-14T23:32:31.000Z
2022-03-24T16:25:15.000Z
python/biograph/vdb/parquet_test.py
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
9
2021-07-20T20:39:47.000Z
2021-09-16T20:57:59.000Z
python/biograph/vdb/parquet_test.py
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
9
2021-07-15T19:38:35.000Z
2022-01-31T19:24:56.000Z
# pylint: disable=missing-docstring import unittest import gzip import tempfile from biograph.vdb import vcf_to_parquet, anno_to_parquet import biograph.vdb.parquet import pyarrow as pa import pandas as pd class ParquetTestCases(unittest.TestCase): def setUp(self): # Make sure we test having multiple inp...
45.00369
269
0.38816
1,066
12,196
4.333959
0.287993
0.040476
0.042857
0.024675
0.470563
0.398485
0.366667
0.331169
0.311039
0.301299
0
0.084639
0.455559
12,196
270
270
45.17037
0.611145
0.044605
0
0.583333
0
0.004167
0.180087
0.030655
0
0
0.00222
0
0.104167
1
0.033333
false
0
0.029167
0
0.075
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
0
0
1
0
375827b6a9a91f6310a50237f1737c67e7e7e925
2,430
py
Python
bot/libraries/helper.py
Feyko/FICSIT-Fred
94f049214d82d61862fe03405a2fd60a51e48177
[ "MIT" ]
5
2020-05-24T21:29:34.000Z
2022-02-04T03:09:18.000Z
bot/libraries/helper.py
Feyko/FICSIT-Fred
94f049214d82d61862fe03405a2fd60a51e48177
[ "MIT" ]
33
2021-08-02T16:41:48.000Z
2022-03-31T21:22:10.000Z
bot/libraries/helper.py
Feyko/FICSIT-Fred
94f049214d82d61862fe03405a2fd60a51e48177
[ "MIT" ]
3
2021-03-03T18:48:27.000Z
2021-07-28T12:23:27.000Z
import re import asyncio from html.parser import HTMLParser import aiohttp from discord.ext import commands import config def is_bot_author(id: int): return id == 227473074616795137 async def t3_only(ctx): return is_bot_author(ctx.author.id) or permission_check(ctx, 4) async def mod_only(ctx): return ...
26.413043
112
0.597531
328
2,430
4.301829
0.393293
0.031892
0.023388
0.021262
0.145996
0.145996
0.077959
0.077959
0.077959
0.077959
0
0.014013
0.265844
2,430
91
113
26.703297
0.776906
0.025514
0
0.057971
0
0
0.095983
0
0
0
0
0
0
1
0.101449
false
0.014493
0.086957
0.014493
0.347826
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
0
0
1
0
37589b5d5e93593f28c9b4b9003c4e6bfe3a425e
8,419
py
Python
src/build_df_to_plot.py
crahal/centgovspend
82ae1f63ec735da59cbe75dd47eda51d202d7555
[ "MIT" ]
4
2018-06-23T09:08:29.000Z
2021-11-11T18:27:50.000Z
src/build_df_to_plot.py
crahal/centgovspend
82ae1f63ec735da59cbe75dd47eda51d202d7555
[ "MIT" ]
null
null
null
src/build_df_to_plot.py
crahal/centgovspend
82ae1f63ec735da59cbe75dd47eda51d202d7555
[ "MIT" ]
null
null
null
import glob import ntpath import pandas as pd def build_timely_df(payments): ''' build the longitudinal dataset for figure 2b ''' timely_df = pd.DataFrame(columns=['Number of Payments', 'Value of Payments']) for year in list(range(2009, 2018)): timel...
47.835227
112
0.473215
868
8,419
4.420507
0.228111
0.043784
0.080271
0.069325
0.545478
0.434715
0.365911
0.35705
0.338546
0.314829
0
0.058424
0.369759
8,419
175
113
48.108571
0.664342
0.010334
0
0.251613
0
0
0.168734
0.005403
0
0
0
0
0
1
0.058065
false
0.006452
0.019355
0.019355
0.135484
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
0
0
1
0
3758ec23f661c439f9ae34576fefe1e235e69372
1,557
py
Python
src/Anchors/LoopAnchor.py
CelineDknp/SemiParsingCFG
0263a5b442c7c994279357738afeea59f642428d
[ "MIT" ]
null
null
null
src/Anchors/LoopAnchor.py
CelineDknp/SemiParsingCFG
0263a5b442c7c994279357738afeea59f642428d
[ "MIT" ]
null
null
null
src/Anchors/LoopAnchor.py
CelineDknp/SemiParsingCFG
0263a5b442c7c994279357738afeea59f642428d
[ "MIT" ]
null
null
null
from .Anchor import Anchor from Utils.config import * class LoopAnchor(Anchor): def __init__(self, elem): if elem["type"] == "multiple_label": super().__init__(elem["start"]+elem["inline-label"]+elem["separator"]+elem["inline-label"], LOOP) self.start_regex = re.compile(elem["start"], flags=re.MULTILINE|re.IG...
29.942308
100
0.71869
226
1,557
4.743363
0.163717
0.067164
0.104478
0.083955
0.543843
0.482276
0.463619
0.32556
0.268657
0.268657
0
0
0.136159
1,557
51
101
30.529412
0.797026
0
0
0.238095
0
0
0.105331
0
0
0
0
0
0
1
0.214286
false
0
0.047619
0.190476
0.47619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
375baab0f35211b2da08b1e7f0a7cfd2b213edad
361
py
Python
imagekitio/constants/files.py
samims/imagekit-python
4bc8041e22c6333710645ddc95446c9c348eea5b
[ "MIT" ]
1
2020-01-20T16:56:32.000Z
2020-01-20T16:56:32.000Z
imagekitio/constants/files.py
samims/imagekit-python
4bc8041e22c6333710645ddc95446c9c348eea5b
[ "MIT" ]
null
null
null
imagekitio/constants/files.py
samims/imagekit-python
4bc8041e22c6333710645ddc95446c9c348eea5b
[ "MIT" ]
null
null
null
VALID_FILE_OPTIONS = [ "path", "fileType", "tags", "includeFolder", "name", "limit", "skip", ] VALID_FILE_DETAIL_OPTIONS = ["fileID"] VALID_UPLOAD_OPTIONS = [ "file", "file_name", "use_unique_file_name", "tags", "folder", "is_private_file", "custom_coordinates",...
15.041667
38
0.581717
35
361
5.571429
0.657143
0.092308
0
0
0
0
0
0
0
0
0
0
0.257618
361
23
39
15.695652
0.727612
0
0
0.095238
0
0
0.407202
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
1
0
375c80d3b986b5561b93d213ff84e9281e6dd2b6
9,972
py
Python
src/getContents.py
ajayz09/amazon-textract
bea3028596d6b60482017e12b80cbb0d2b91d3a5
[ "Apache-2.0" ]
1
2021-01-03T01:23:52.000Z
2021-01-03T01:23:52.000Z
src/getContents.py
ajayz09/amazon-textract
bea3028596d6b60482017e12b80cbb0d2b91d3a5
[ "Apache-2.0" ]
null
null
null
src/getContents.py
ajayz09/amazon-textract
bea3028596d6b60482017e12b80cbb0d2b91d3a5
[ "Apache-2.0" ]
null
null
null
import os import time import csv import pandas as pd def formatdate(paymentDate): months = dict(january='01', february='02', march='03', april='04', may='05', june='06', july='07', august='08', september='09', october='10', november='11', december='12') paymentDateList = paymentDate.split() if (len(payment...
38.206897
175
0.586843
920
9,972
6.3
0.166304
0.008282
0.037267
0.022774
0.504658
0.478088
0.441511
0.43668
0.414941
0.412698
0
0.007577
0.298536
9,972
261
176
38.206897
0.821015
0.018853
0
0.556034
0
0
0.088575
0.038662
0
0
0
0
0
1
0.056034
false
0
0.017241
0
0.189655
0.064655
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
0
1
0
375d53a0ec7d2340e3ac21436ab3d6fc031b6d7e
1,929
py
Python
minecraft/networking/packets/serverbound/play/client_settings_packet.py
Skelmis/PyMcBot
b74b4f344bbcc711974f2551f75da3ddb8874e6f
[ "Apache-2.0" ]
2
2020-02-09T08:55:33.000Z
2021-03-31T20:53:11.000Z
minecraft/networking/packets/serverbound/play/client_settings_packet.py
Skelmis/PyMcBot
b74b4f344bbcc711974f2551f75da3ddb8874e6f
[ "Apache-2.0" ]
2
2020-08-20T14:32:49.000Z
2021-02-07T03:28:45.000Z
minecraft/networking/packets/serverbound/play/client_settings_packet.py
Skelmis/PyMcBot
b74b4f344bbcc711974f2551f75da3ddb8874e6f
[ "Apache-2.0" ]
3
2020-10-27T14:27:38.000Z
2020-12-08T15:11:54.000Z
from minecraft.networking.packets import Packet from minecraft.networking.types import ( String, Byte, VarInt, Boolean, UnsignedByte, Enum, BitFieldEnum, AbsoluteHand, ) class ClientSettingsPacket(Packet): @staticmethod def get_id(context): return ( 0x05 ...
26.424658
74
0.579057
201
1,929
5.38806
0.497512
0.066482
0.125577
0.162512
0.21422
0.140351
0.088643
0
0
0
0
0.056215
0.345257
1,929
72
75
26.791667
0.801267
0.090202
0
0.048387
0
0
0.069143
0
0
0
0.036571
0
0
1
0.016129
false
0
0.032258
0.016129
0.177419
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
375e6389f147aa8b980167ffea1afe5678abb33e
4,203
py
Python
sspace/backends/cspace.py
Epistimio/sample-space
5435b7f97a5c9dea279271033fd4582dbd77211f
[ "BSD-3-Clause" ]
null
null
null
sspace/backends/cspace.py
Epistimio/sample-space
5435b7f97a5c9dea279271033fd4582dbd77211f
[ "BSD-3-Clause" ]
6
2020-05-23T02:16:40.000Z
2022-03-16T01:37:45.000Z
sspace/backends/cspace.py
Epistimio/sample-space
5435b7f97a5c9dea279271033fd4582dbd77211f
[ "BSD-3-Clause" ]
null
null
null
import_error = None try: import ConfigSpace as cs import ConfigSpace.hyperparameters as csh from sspace.utils import sort_dict cond_dispatch_leaves = { 'eq': cs.EqualsCondition, 'ne': cs.NotEqualsCondition, 'lt': cs.LessThanCondition, 'gt': cs.GreaterThanCondition, ...
28.787671
97
0.600999
457
4,203
5.374179
0.266958
0.017101
0.030945
0.013436
0.245521
0.210098
0.185668
0.098534
0.049674
0.049674
0
0
0.29931
4,203
145
98
28.986207
0.833956
0
0
0.113208
0
0
0.044016
0
0
0
0
0
0
1
0.084906
false
0
0.075472
0.009434
0.283019
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
0
0
1
0
375fe96928fb4b5e369927685271aecb2f3ad149
8,287
py
Python
openstack/kms/v1/key.py
IamFive/sdk-python
223b04f90477f7de0f00b3e652d8672ba73271c8
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
openstack/kms/v1/key.py
IamFive/sdk-python
223b04f90477f7de0f00b3e652d8672ba73271c8
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
openstack/kms/v1/key.py
IamFive/sdk-python
223b04f90477f7de0f00b3e652d8672ba73271c8
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
31.996139
75
0.601907
950
8,287
5.114737
0.198947
0.079029
0.031694
0.047541
0.414077
0.373739
0.331138
0.275777
0.22803
0.181313
0
0.0017
0.290093
8,287
258
76
32.120155
0.824239
0.177628
0
0.376623
0
0
0.1272
0.011241
0
0
0
0
0
1
0.097403
false
0
0.019481
0.071429
0.506494
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
3761ad381b725114e1ca90dc5552b488a21daeb4
16,128
py
Python
models/roberta.py
tjdevWorks/multimodal-sentiment-prediction
cc656817f12e9676f59dd66c134a365bad8cbcec
[ "Apache-2.0" ]
8
2022-02-04T20:37:26.000Z
2022-03-30T03:18:04.000Z
models/roberta.py
tjdevWorks/multimodal-sentiment-prediction
cc656817f12e9676f59dd66c134a365bad8cbcec
[ "Apache-2.0" ]
1
2022-02-13T22:44:30.000Z
2022-02-13T23:15:34.000Z
models/roberta.py
tjdevWorks/TEASEL
cc656817f12e9676f59dd66c134a365bad8cbcec
[ "Apache-2.0" ]
null
null
null
from transformers import RobertaPreTrainedModel from transformers.models.roberta.modeling_roberta import RobertaEmbeddings, RobertaEncoder, RobertaPooler, RobertaLMHead, RobertaClassificationHead from transformers.modeling_outputs import BaseModelOutputWithPoolingAndCrossAttentions, MaskedLMOutput, SequenceClassifierOu...
44.8
213
0.667783
2,018
16,128
5.061447
0.153617
0.036421
0.021147
0.014
0.418837
0.334737
0.31868
0.255042
0.217838
0.198159
0
0.004591
0.257254
16,128
359
214
44.924791
0.848067
0.264447
0
0.471545
0
0
0.045072
0.017108
0
0
0
0
0
1
0.044715
false
0
0.020325
0.00813
0.130081
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
0
0
1
0
3762cff1ab3661bebf0065d7a9d2efca756c6d5d
14,847
py
Python
packages/pdf/src/RPA/PDF/keywords/finder.py
AntonStange/rpaframework
2a6a4abe56c7fece4f9cfed1ba488774393abdd8
[ "Apache-2.0" ]
25
2020-03-30T09:01:11.000Z
2020-05-21T04:04:58.000Z
packages/pdf/src/RPA/PDF/keywords/finder.py
AntonStange/rpaframework
2a6a4abe56c7fece4f9cfed1ba488774393abdd8
[ "Apache-2.0" ]
2
2020-04-02T18:08:58.000Z
2020-05-27T12:07:19.000Z
packages/pdf/src/RPA/PDF/keywords/finder.py
AntonStange/rpaframework
2a6a4abe56c7fece4f9cfed1ba488774393abdd8
[ "Apache-2.0" ]
7
2020-04-02T17:17:26.000Z
2020-05-27T04:18:54.000Z
import functools import math import re from dataclasses import dataclass try: # Python >=3.7 from re import Pattern except ImportError: # Python =3.6 from re import _pattern_type as Pattern from typing import ( Callable, Dict, List, Optional, Union, ) from RPA.PDF.keywords import (...
34.052752
88
0.579309
1,648
14,847
5.099515
0.169296
0.020228
0.007853
0.008567
0.297953
0.240124
0.212042
0.191218
0.178605
0.160162
0
0.004541
0.332525
14,847
435
89
34.131034
0.843491
0.253587
0
0.23913
0
0.003623
0.055556
0
0
0
0
0
0
1
0.047101
false
0
0.036232
0
0.184783
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
0
0
1
0
376339fbbed47cfb0b3b622c80e86ed6fa7ed55b
1,051
py
Python
sdk/keyvault/azure-keyvault-keys/tests/_keys_test_case.py
kashifkhan/azure-sdk-for-python
9c28b76e89b0855e41bd12d5b4a59b51acd47eec
[ "MIT" ]
null
null
null
sdk/keyvault/azure-keyvault-keys/tests/_keys_test_case.py
kashifkhan/azure-sdk-for-python
9c28b76e89b0855e41bd12d5b4a59b51acd47eec
[ "MIT" ]
null
null
null
sdk/keyvault/azure-keyvault-keys/tests/_keys_test_case.py
kashifkhan/azure-sdk-for-python
9c28b76e89b0855e41bd12d5b4a59b51acd47eec
[ "MIT" ]
null
null
null
import os import pytest from devtools_testutils import AzureRecordedTestCase class KeysTestCase(AzureRecordedTestCase): def _get_attestation_uri(self): playback_uri = "https://fakeattestation.azurewebsites.net" if self.is_live: real_uri = os.environ.get("AZURE_KEYVAULT_ATTESTATION_URL...
38.925926
111
0.702188
115
1,051
6.182609
0.417391
0.049226
0.067511
0.075949
0.270042
0.194093
0.194093
0
0
0
0
0
0.223597
1,051
26
112
40.423077
0.871324
0
0
0
0
0
0.127498
0.057088
0
0
0
0
0
1
0.095238
false
0
0.238095
0
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
3763446b99da1e9825f4b04bb3b506f8b2412e46
1,918
py
Python
node_editor/dataframe_model_bak/datatable_content.py
lcopey/node_editor
04d56ae4c7f2149e46903d5dd2e46f3906ef69e6
[ "MIT" ]
1
2021-04-30T11:28:42.000Z
2021-04-30T11:28:42.000Z
node_editor/dataframe_model_bak/datatable_content.py
lcopey/node_editor
04d56ae4c7f2149e46903d5dd2e46f3906ef69e6
[ "MIT" ]
null
null
null
node_editor/dataframe_model_bak/datatable_content.py
lcopey/node_editor
04d56ae4c7f2149e46903d5dd2e46f3906ef69e6
[ "MIT" ]
null
null
null
import sys from PyQt5.QtWidgets import QVBoxLayout, QApplication, QMainWindow import pandas as pd from node_editor.node_content_widget import NodeContentWidget from .dataframe_view import DataframeView DEBUG = False class DataTableContent(NodeContentWidget): def __init__(self, node: 'Node', parent: 'QWidget' = N...
33.068966
112
0.656934
205
1,918
6.034146
0.385366
0.038804
0.017785
0.024252
0.058205
0.058205
0.058205
0.058205
0
0
0
0.004112
0.239312
1,918
57
113
33.649123
0.843729
0.248175
0
0
0
0
0.035063
0
0
0
0
0.017544
0
1
0.225806
false
0
0.16129
0.032258
0.516129
0.096774
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
1
0
0
0
0
1
0
0
3
37637a324f01571ae1690b30b0221a8ae45d7ede
2,662
py
Python
ctimer/cli.py
zztin/ctimer
a0721bb9791b23305ee4ff4a2eb30a1f4d8c80cc
[ "Apache-2.0" ]
null
null
null
ctimer/cli.py
zztin/ctimer
a0721bb9791b23305ee4ff4a2eb30a1f4d8c80cc
[ "Apache-2.0" ]
35
2020-06-07T12:40:43.000Z
2021-06-03T19:56:01.000Z
ctimer/cli.py
zztin/ctimer
a0721bb9791b23305ee4ff4a2eb30a1f4d8c80cc
[ "Apache-2.0" ]
1
2020-06-04T05:31:03.000Z
2020-06-04T05:31:03.000Z
"""Console script for ctimer.""" from ctimer import ctimer import ctimer.ctimer_db as db import sys import argparse from ctimer.visual import show_stats as ss import logging from ctimer import utils def main(): parser = argparse.ArgumentParser() parser.add_argument( "--debug", help="Shorten cl...
31.690476
160
0.616454
344
2,662
4.610465
0.392442
0.034048
0.08575
0.066204
0.286255
0.261034
0.136192
0.136192
0.136192
0.136192
0
0.005708
0.276108
2,662
83
161
32.072289
0.817333
0.027423
0
0.253333
0
0.026667
0.300271
0.020922
0
0
0
0
0
1
0.013333
false
0
0.093333
0
0.106667
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
0
0
1
0
37645efc570cfe79532495ffcd35874cf9a12e74
292
py
Python
2015/2.py
frodetb/aoc
2dad7c0d7342d97f4a3a2ad202afe302c3473368
[ "MIT" ]
null
null
null
2015/2.py
frodetb/aoc
2dad7c0d7342d97f4a3a2ad202afe302c3473368
[ "MIT" ]
null
null
null
2015/2.py
frodetb/aoc
2dad7c0d7342d97f4a3a2ad202afe302c3473368
[ "MIT" ]
null
null
null
instructions = [sorted([int(num) for num in line.split("x")]) for line in open("input_2", "r").readlines()] # Part 1 print("Part 1:", sum(3 * x * y + 2 * x * z + 2 * y * z for x, y, z in instructions)) # Part 1 print("Part 1:", sum(2 * x + 2 * y + x * y * z for x, y, z in instructions))
29.2
107
0.561644
58
292
2.810345
0.362069
0.122699
0.055215
0.171779
0.490798
0.490798
0.269939
0.269939
0
0
0
0.044643
0.232877
292
9
108
32.444444
0.683036
0.044521
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
3765c900eb2d09e0228c547fd8a74527b34b5d0c
213
py
Python
__init__.py
muhammad-rafi/conf_diff
90d85c045afcab0d2ab7d16ef43f4a378b231c47
[ "CNRI-Python" ]
5
2022-03-28T03:32:33.000Z
2022-03-29T18:22:24.000Z
__init__.py
muhammad-rafi/conf_diff
90d85c045afcab0d2ab7d16ef43f4a378b231c47
[ "CNRI-Python" ]
null
null
null
__init__.py
muhammad-rafi/conf_diff
90d85c045afcab0d2ab7d16ef43f4a378b231c47
[ "CNRI-Python" ]
null
null
null
import importlib.metadata try: __author__ = """Muhammad Rafi""" __version__ = importlib.metadata.version(__package__ or __name__) except importlib.metadata.PackageNotFoundError: __version__ = "0.6.5"
26.625
69
0.755869
22
213
6.409091
0.727273
0.361702
0
0
0
0
0
0
0
0
0
0.016393
0.140845
213
7
70
30.428571
0.754098
0
0
0
0
0
0.084507
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
3766166b65d1e540121498a9b42b52fdaf2ed5db
197
py
Python
aioeventbus/typing.py
momocow/python-aioeventbus
35d17789bb028e81f4613c0a40c3f51304f96df4
[ "MIT" ]
2
2020-03-06T06:58:27.000Z
2020-03-07T11:57:39.000Z
aioeventbus/typing.py
momocow/python-aioeventbus
35d17789bb028e81f4613c0a40c3f51304f96df4
[ "MIT" ]
null
null
null
aioeventbus/typing.py
momocow/python-aioeventbus
35d17789bb028e81f4613c0a40c3f51304f96df4
[ "MIT" ]
null
null
null
from abc import ABC from typing import Awaitable, Callable, Type, Union class EventBase(ABC): pass EventClass = Type[EventBase] Handler = Callable[[EventBase], Union[None, Awaitable[None]]]
19.7
61
0.751269
25
197
5.92
0.56
0
0
0
0
0
0
0
0
0
0
0
0.147208
197
9
62
21.888889
0.880952
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.166667
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
4
37667d129be38ecf142b51cf7166051726ad367a
5,256
py
Python
ZoomImage.py
renshj/High-Cadence-Processing
5d5a2df741858f6e1466d7c4b008e9245d4b780a
[ "MIT" ]
null
null
null
ZoomImage.py
renshj/High-Cadence-Processing
5d5a2df741858f6e1466d7c4b008e9245d4b780a
[ "MIT" ]
null
null
null
ZoomImage.py
renshj/High-Cadence-Processing
5d5a2df741858f6e1466d7c4b008e9245d4b780a
[ "MIT" ]
null
null
null
#This file was created by Wayne Dreyer #It serves to create a zoomed/cropped image around the detected candidate import matplotlib.pyplot as plt from matplotlib.figure import Figure from PIL import Image import math from ZoomObject import ZoomObject #import DataObject as dataObject #Takes in path to the ima...
46.105263
265
0.682839
664
5,256
5.40512
0.274096
0.030092
0.033436
0.025634
0.355531
0.31095
0.246308
0.246308
0.246308
0.246308
0
0.014081
0.216324
5,256
113
266
46.513274
0.857247
0.277017
0
0.15
0
0
0.010932
0
0
0
0
0
0
1
0.075
false
0
0.0625
0
0.1625
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
0
0
1
0
37668c7ab8f618318b3325cde0c87efe87b84f7c
2,032
py
Python
service/dataset_builder.py
sumanthgenz/magma
44a6c8b834fbf683c959ce336c6cdfe1df828980
[ "MIT" ]
null
null
null
service/dataset_builder.py
sumanthgenz/magma
44a6c8b834fbf683c959ce336c6cdfe1df828980
[ "MIT" ]
null
null
null
service/dataset_builder.py
sumanthgenz/magma
44a6c8b834fbf683c959ce336c6cdfe1df828980
[ "MIT" ]
null
null
null
import pickle import glob import random from tqdm import tqdm import os import collections import urllib import urllib.request from urllib.request import Request, urlopen import json import shutil class DatasetBuilder: def __init__(self, name, data_type, classes, class_size): self.name = name self...
30.787879
130
0.633858
275
2,032
4.530909
0.432727
0.052167
0.020867
0
0
0
0
0
0
0
0
0.020739
0.24065
2,032
65
131
31.261538
0.786779
0
0
0.039216
0
0.019608
0.140748
0.011811
0
0
0
0
0
1
0.137255
false
0.039216
0.215686
0
0.45098
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
0
0
1
0
37682a93288511c01d92701ef4ba444acd620a71
391
py
Python
app.py
flyme2bluemoon/Flask-Project-Template
0a2953e4ec77ec577b13655856ab162efb536d4a
[ "MIT" ]
null
null
null
app.py
flyme2bluemoon/Flask-Project-Template
0a2953e4ec77ec577b13655856ab162efb536d4a
[ "MIT" ]
null
null
null
app.py
flyme2bluemoon/Flask-Project-Template
0a2953e4ec77ec577b13655856ab162efb536d4a
[ "MIT" ]
null
null
null
from helpers import * from flask import Flask, redirect, request, render_template, session from flask_session import Session app = Flask(__name__) app.config["TEMPLATES_AUTO_RELOAD"] = True app.config["SESSION_PERMANENT"] = False app.config["SESSION_TYPE"] = "filesystem" Session(app) @app.route("/") def index(): ...
23
68
0.7289
54
391
4.944444
0.555556
0.101124
0.11985
0
0
0
0
0
0
0
0
0.01173
0.127877
391
17
69
23
0.771261
0
0
0
0
0
0.206633
0.053571
0
0
0
0
0
1
0.076923
false
0
0.230769
0.076923
0.384615
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
0
0
1
0