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
8a121abfd7485c3df3dee2484625c203c68b40b5
1,858
py
Python
ams/sender.py
NMGRL/AMS
1cbf584c417036bc309a8ea677143ecd36b5e290
[ "Apache-2.0" ]
null
null
null
ams/sender.py
NMGRL/AMS
1cbf584c417036bc309a8ea677143ecd36b5e290
[ "Apache-2.0" ]
null
null
null
ams/sender.py
NMGRL/AMS
1cbf584c417036bc309a8ea677143ecd36b5e290
[ "Apache-2.0" ]
null
null
null
# =============================================================================== # Copyright 2020 ross # # 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/LICE...
29.03125
81
0.548977
219
1,858
4.575342
0.497717
0.05988
0.025948
0.031936
0
0
0
0
0
0
0
0.012186
0.249193
1,858
63
82
29.492063
0.706093
0.428418
0
0.176471
0
0
0.04023
0
0
0
0
0
0
1
0.205882
false
0
0.088235
0.029412
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8a17e74711b3dd47bc1b045bab955b5d6b035150
1,578
py
Python
test_autofit/mapper/prior/test_limits.py
caoxiaoyue/PyAutoFit
819cd2acc8d4069497a161c3bb6048128e44d828
[ "MIT" ]
39
2019-01-24T10:45:23.000Z
2022-03-18T09:37:59.000Z
test_autofit/mapper/prior/test_limits.py
caoxiaoyue/PyAutoFit
819cd2acc8d4069497a161c3bb6048128e44d828
[ "MIT" ]
260
2018-11-27T12:56:33.000Z
2022-03-31T16:08:59.000Z
test_autofit/mapper/prior/test_limits.py
caoxiaoyue/PyAutoFit
819cd2acc8d4069497a161c3bb6048128e44d828
[ "MIT" ]
13
2018-11-30T16:49:05.000Z
2022-01-21T17:39:29.000Z
import pytest import autofit as af from autofit.exc import PriorLimitException @pytest.fixture( name="prior" ) def make_prior(): return af.GaussianPrior( mean=3.0, sigma=5.0, lower_limit=0.0 ) def test_intrinsic_lower_limit(prior): with pytest.raises( PriorLimitE...
16.268041
43
0.574778
180
1,578
4.838889
0.261111
0.01837
0.045924
0.160735
0.301952
0.238806
0.238806
0.064294
0
0
0
0.02809
0.323194
1,578
96
44
16.4375
0.787453
0
0
0.285714
0
0
0.012674
0
0
0
0
0
0
1
0.103896
false
0
0.038961
0.025974
0.168831
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
8a1ae6add9576de8497c554c5cca6e7429ca7e6d
5,553
py
Python
metricbeat/tests/system/test_redis.py
yongfa365/beats
63572e0ca4ff5a0842159f68ca2220d2587a1d1d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
metricbeat/tests/system/test_redis.py
yongfa365/beats
63572e0ca4ff5a0842159f68ca2220d2587a1d1d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
metricbeat/tests/system/test_redis.py
yongfa365/beats
63572e0ca4ff5a0842159f68ca2220d2587a1d1d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import os import metricbeat import redis import unittest from nose.plugins.attrib import attr REDIS_FIELDS = metricbeat.COMMON_FIELDS + ["redis"] REDIS_INFO_FIELDS = ["clients", "cluster", "cpu", "memory", "persistence", "replication", "server", "stats", "slowlog"] REDIS_KEYSPACE_FIELDS = ["keys...
32.473684
88
0.595354
614
5,553
5.156352
0.213355
0.051169
0.075805
0.082123
0.70657
0.695199
0.665824
0.665824
0.634239
0.634239
0
0.009058
0.264362
5,553
170
89
32.664706
0.765973
0.041959
0
0.637795
0
0
0.1416
0
0
0
0
0
0.173228
1
0.03937
false
0
0.03937
0.007874
0.133858
0.007874
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a1c40f4710868b7e8e8e31587fc13de7c4b1e5f
5,766
py
Python
verilog/wishbone/slave/wb_fpga_nes/nes_programming.py
CospanDesign/nysa-verilog
cfd576c7b188dce0de6c55d43ec5b60e231dc389
[ "MIT" ]
24
2016-09-15T16:14:39.000Z
2020-11-26T15:19:24.000Z
verilog/wishbone/slave/wb_fpga_nes/nes_programming.py
CospanDesign/nysa-verilog
cfd576c7b188dce0de6c55d43ec5b60e231dc389
[ "MIT" ]
1
2020-05-15T13:32:59.000Z
2020-05-15T13:32:59.000Z
verilog/wishbone/slave/wb_fpga_nes/nes_programming.py
CospanDesign/nysa-verilog
cfd576c7b188dce0de6c55d43ec5b60e231dc389
[ "MIT" ]
19
2016-03-29T23:56:55.000Z
2021-09-16T08:23:41.000Z
#Written by: Holguer A Becerra. #Based on Brian Bennett Visual C++ Code import serial SupportedProgRomBanks=2; SupportedChrRomBanks=1;# DbgPacketOpCodeEcho = 0x00 # echo packet body back to debugger DbgPacketOpCodeCpuMemRd = 0x01 # read CPU memory DbgPacketOpCodeCpuMemWr ...
28.126829
89
0.679327
718
5,766
5.349582
0.320334
0.068732
0.041916
0.071856
0.2541
0.23171
0.214007
0.168706
0.148399
0.148399
0
0.044281
0.220604
5,766
204
90
28.264706
0.810414
0.180541
0
0.20438
0
0
0.132425
0.00469
0
0
0.039973
0
0
0
null
null
0
0.007299
null
null
0.138686
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
8a1c82912b5712bcf584adef864e5eacede7ce22
43,251
py
Python
pygr/seqdb.py
theoryno3/pygr
c62a4a35a30dad134699d11b24ad6d62caba625b
[ "BSD-3-Clause" ]
1
2016-05-09T13:52:25.000Z
2016-05-09T13:52:25.000Z
pygr/seqdb.py
theoryno3/pygr
c62a4a35a30dad134699d11b24ad6d62caba625b
[ "BSD-3-Clause" ]
null
null
null
pygr/seqdb.py
theoryno3/pygr
c62a4a35a30dad134699d11b24ad6d62caba625b
[ "BSD-3-Clause" ]
null
null
null
""" seqdb contains a set of classes for interacting with sequence databases. Primary sequence database classes: - SequenceDB - base class for sequence databases - SequenceFileDB - file-based sequence database - PrefixUnionDict - container to combine multiple sequence databases - XMLRPCSequenceD...
35.715111
121
0.630922
5,224
43,251
5.11428
0.160988
0.006737
0.006999
0.002919
0.123405
0.081334
0.066512
0.054011
0.045364
0.038927
0
0.002745
0.284155
43,251
1,210
122
35.744628
0.860179
0.117176
0
0.312989
0
0
0.087469
0.003016
0
0
0
0
0
0
null
null
0.014085
0.023474
null
null
0.00313
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
8a20437201ce94154bc9d1135840667c3f431028
18,297
py
Python
toontown/questscripts/TTQUESTS.py
LittleNed/toontown-stride
1252a8f9a8816c1810106006d09c8bdfe6ad1e57
[ "Apache-2.0" ]
1
2018-06-16T23:06:38.000Z
2018-06-16T23:06:38.000Z
toontown/questscripts/TTQUESTS.py
NoraTT/Historical-Commits-Project-Altis-Source
fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179
[ "Apache-2.0" ]
null
null
null
toontown/questscripts/TTQUESTS.py
NoraTT/Historical-Commits-Project-Altis-Source
fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179
[ "Apache-2.0" ]
4
2019-06-20T23:45:23.000Z
2020-10-14T20:30:15.000Z
# NOTE: \a is the delimiter for chat pages # Quest ids can be found in Quests.py SCRIPT = ''' ID reward_100 SHOW laffMeter LERP_POS laffMeter 0 0 0 1 LERP_SCALE laffMeter 0.2 0.2 0.2 1 WAIT 1.5 ADD_LAFFMETER 1 WAIT 1 LERP_POS laffMeter -1.18 0 -0.87 1 LERP_SCALE laffMeter 0.075 0.075 0.075 1 WAIT 1 FINISH_QUEST_MOVIE ...
32.908273
105
0.833907
3,276
18,297
4.427656
0.115385
0.017787
0.014891
0.03061
0.524509
0.375388
0.300793
0.245295
0.12313
0.118856
0
0.119541
0.108925
18,297
555
106
32.967568
0.770118
0.004154
0
0.322702
0
0.016886
0.999012
0.184268
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a2119e7a387d367f7408372b3052261e34b49b7
1,184
py
Python
Biopython/seqs.(multi).alignments.py
oca-john/Python3-New2Learn
f0fbe317d6c269474535b935363af4c9918d7585
[ "MIT" ]
null
null
null
Biopython/seqs.(multi).alignments.py
oca-john/Python3-New2Learn
f0fbe317d6c269474535b935363af4c9918d7585
[ "MIT" ]
null
null
null
Biopython/seqs.(multi).alignments.py
oca-john/Python3-New2Learn
f0fbe317d6c269474535b935363af4c9918d7585
[ "MIT" ]
null
null
null
#!/usr/bin/python ### 1. how it works # get some data in stockholm format # read file with `Bio.AlignIO` from Bio import AlignIO alignment = AlignIO.read(open("PF1234_seed.txt"), "stockholm") print(alignment) # to show the file content for align in alignment: print(align.seq) ### 2. multi alignment from ...
21.925926
72
0.685811
178
1,184
4.533708
0.365169
0.043371
0.01487
0.019827
0.418835
0.375465
0.071871
0
0
0
0
0.048241
0.159628
1,184
53
73
22.339623
0.762814
0.148649
0
0.526316
0
0
0.109658
0
0
0
0
0
0
0
null
null
0
0.131579
null
null
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8a2396800a13d6da97a4fd5fa7e0ec6a6610f28c
390
py
Python
setup.py
DmitriyValetov/bubble_analysis
f718bbf3797336f61b718f6b64302f3fe0eccf28
[ "MIT" ]
4
2017-08-03T03:48:59.000Z
2022-03-24T10:51:48.000Z
setup.py
DmitriyValetov/bubble_analysis
f718bbf3797336f61b718f6b64302f3fe0eccf28
[ "MIT" ]
6
2016-10-26T14:25:39.000Z
2021-04-12T15:26:03.000Z
setup.py
DmitriyValetov/bubble_analysis
f718bbf3797336f61b718f6b64302f3fe0eccf28
[ "MIT" ]
6
2016-12-20T10:13:23.000Z
2021-04-16T21:57:51.000Z
from setuptools import setup setup( name='bubblekicker', version='0.1', packages=['bubblekicker'], url='https://github.com/gbellandi/bubble_size_analysis', license='MIT', author='Giacomo Bellandi, Stijn Van Hoey', author_email='', description='', install_requires=['matplo...
26
61
0.602564
38
390
6.078947
0.921053
0
0
0
0
0
0
0
0
0
0
0.006803
0.246154
390
14
62
27.857143
0.778912
0
0
0
0
0
0.382979
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8a2aa550626c7a686944d94eb423894d39fbbc04
12,562
py
Python
test/test_LensModel/test_profile_integrals.py
lucateo/lenstronomy
3ab6cfd4adea2222f02d3f0f1a9cb5390c533aab
[ "MIT" ]
1
2020-07-31T07:55:17.000Z
2020-07-31T07:55:17.000Z
test/test_LensModel/test_profile_integrals.py
lucateo/lenstronomy
3ab6cfd4adea2222f02d3f0f1a9cb5390c533aab
[ "MIT" ]
null
null
null
test/test_LensModel/test_profile_integrals.py
lucateo/lenstronomy
3ab6cfd4adea2222f02d3f0f1a9cb5390c533aab
[ "MIT" ]
2
2020-10-26T10:45:11.000Z
2021-03-04T12:25:19.000Z
__author__ = 'sibirrer' import pytest import numpy.testing as npt import numpy as np from lenstronomy.LensModel.profile_integrals import ProfileIntegrals class TestNumerics(object): """ tests the second derivatives of various lens models """ def setup(self): pass def assert_integrals(se...
39.133956
124
0.626811
1,666
12,562
4.515606
0.085834
0.06726
0.082414
0.097833
0.792902
0.73375
0.682042
0.618503
0.591121
0.504453
0
0.032358
0.254577
12,562
320
125
39.25625
0.771038
0.094651
0
0.497738
0
0
0.055649
0
0
0
0
0
0.18552
1
0.117647
false
0.004525
0.122172
0
0.244344
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a2dd9dd3296435e3004c5b86434ffe1518fe4ab
421
py
Python
examples/clear_demo_data.py
sbitzer/csv-homeaccounting
e1402927d04a7a88310cd4d78e1944c045ffc367
[ "MIT" ]
null
null
null
examples/clear_demo_data.py
sbitzer/csv-homeaccounting
e1402927d04a7a88310cd4d78e1944c045ffc367
[ "MIT" ]
null
null
null
examples/clear_demo_data.py
sbitzer/csv-homeaccounting
e1402927d04a7a88310cd4d78e1944c045ffc367
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Mar 5 15:27:08 2017 @author: bitzer """ import os from glob import iglob os.remove(os.path.join('data', 'ing-diba', 'ing-diba.csv')) os.remove(os.path.join('data', 'ing-diba', 'ing-diba_transaction_files.csv')) os.remove(os.path.join('data', 'demo_de...
23.388889
77
0.665083
71
421
3.887324
0.549296
0.115942
0.144928
0.202899
0.362319
0.362319
0.362319
0.26087
0.26087
0.26087
0
0.034853
0.114014
421
17
78
24.764706
0.705094
0.228029
0
0
0
0
0.342857
0.095238
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
8a2e36c985c4fcd613135d3c34444d816d2d0ce6
580
py
Python
utilities/create_files_list.py
pythings/PythingsOS
276b41a32af7fa0d5395b2bb308e611f784f9711
[ "Apache-2.0" ]
11
2020-01-15T14:25:48.000Z
2021-11-25T04:21:18.000Z
utilities/create_files_list.py
Pythings/PythingsOS
276b41a32af7fa0d5395b2bb308e611f784f9711
[ "Apache-2.0" ]
8
2021-02-04T16:41:57.000Z
2022-03-29T21:57:15.000Z
utilities/create_files_list.py
pythings/PythingsOS
276b41a32af7fa0d5395b2bb308e611f784f9711
[ "Apache-2.0" ]
null
null
null
from os import listdir, stat from os.path import isfile, join ignored=['websetup.html', 'jquery.js', 'selfarchive.py', 'boot.py', 'hal.py', 'run.sh'] for file in listdir('./'): if file!='version.py' and file[0] != '.' and file not in ignored: if not isfile(file): continue else: ...
29
87
0.57069
80
580
4.1125
0.45
0.036474
0.054711
0.097264
0.553191
0.553191
0.553191
0.553191
0.364742
0.364742
0
0.002315
0.255172
580
19
88
30.526316
0.759259
0.031034
0
0.666667
0
0
0.178571
0
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.133333
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
8a362044ca65d0965ff4eea245a471b319056a18
35,379
py
Python
cheshire3/datamining/preParser.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
3
2015-08-02T09:03:28.000Z
2017-12-06T09:26:14.000Z
cheshire3/datamining/preParser.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
5
2015-08-17T01:16:35.000Z
2015-09-16T21:51:27.000Z
cheshire3/datamining/preParser.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
6
2015-05-17T15:32:20.000Z
2020-04-22T08:43:16.000Z
from __future__ import absolute_import import os import random import tempfile import commands import math import re import operator try: import cPickle as pickle except ImportError: import pickle from cheshire3.baseObjects import PreParser from cheshire3.document import StringDocument from cheshire3.excepti...
33.502841
79
0.482207
3,585
35,379
4.689261
0.155649
0.03468
0.024091
0.032479
0.391886
0.344001
0.298852
0.271965
0.269704
0.25293
0
0.015391
0.408661
35,379
1,055
80
33.534597
0.788155
0.075977
0
0.36747
0
0
0.07164
0.00151
0
0
0
0
0
0
null
null
0.003614
0.025301
null
null
0.004819
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
8a362995a7074ace6a3a493ae746b41bf9f35aca
280
py
Python
backend/app/schemas/article_option.py
alexd2580/portnoy
21947b98a9c5776b325544e3411b1062963b8365
[ "MIT" ]
null
null
null
backend/app/schemas/article_option.py
alexd2580/portnoy
21947b98a9c5776b325544e3411b1062963b8365
[ "MIT" ]
null
null
null
backend/app/schemas/article_option.py
alexd2580/portnoy
21947b98a9c5776b325544e3411b1062963b8365
[ "MIT" ]
null
null
null
from pydantic import BaseModel, Json from app.types.article import Color, Piece, Sex, Size class ArticleOptions(BaseModel): piece: Json[list[Piece]] sex: Json[list[Sex]] size: Json[list[Size]] color: Json[list[Color]] class Config: orm_mode = True
20
53
0.678571
38
280
4.973684
0.5
0.169312
0
0
0
0
0
0
0
0
0
0
0.210714
280
13
54
21.538462
0.855204
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.888889
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
8a3b0b64a608ff0d107ec961e8bb03e353c21659
555
py
Python
tests/test_errors.py
ryansloan/wa-leg-api
4dab0d66a495d9e7a39e467ecdc7356ac64ad451
[ "MIT" ]
3
2021-02-10T04:59:58.000Z
2021-11-16T03:41:22.000Z
tests/test_errors.py
ryansloan/wa-leg-api
4dab0d66a495d9e7a39e467ecdc7356ac64ad451
[ "MIT" ]
1
2021-11-17T05:00:24.000Z
2021-11-17T05:00:24.000Z
tests/test_errors.py
ryansloan/wa-leg-api
4dab0d66a495d9e7a39e467ecdc7356ac64ad451
[ "MIT" ]
1
2021-11-16T05:06:40.000Z
2021-11-16T05:06:40.000Z
from wa_leg_api.committee import get_active_committee_members from wa_leg_api.exceptions import WaLegApiException def test_errors(): try: get_active_committee_members("Senate", "Not a real committee") except WaLegApiException as e: print("http_error_num =", e.http_error_num) print("htt...
29.210526
70
0.700901
75
555
4.76
0.533333
0.10084
0.05042
0.067227
0
0
0
0
0
0
0
0
0.203604
555
18
71
30.833333
0.807692
0
0
0
0
0
0.21982
0
0
0
0
0
0.071429
1
0.071429
true
0
0.142857
0
0.214286
0.285714
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
8a3c3be5682fde28fd0e5da199502583bce4b2a3
123,498
py
Python
lib/galaxy/webapps/galaxy/controllers/requests_common.py
blankenberg/galaxy-data-resource
ca32a1aafd64948f489a4e5cf88096f32391b1d9
[ "CC-BY-3.0" ]
null
null
null
lib/galaxy/webapps/galaxy/controllers/requests_common.py
blankenberg/galaxy-data-resource
ca32a1aafd64948f489a4e5cf88096f32391b1d9
[ "CC-BY-3.0" ]
1
2015-02-21T18:48:19.000Z
2015-02-27T15:50:32.000Z
lib/galaxy/webapps/galaxy/controllers/requests_common.py
blankenberg/galaxy-data-resource
ca32a1aafd64948f489a4e5cf88096f32391b1d9
[ "CC-BY-3.0" ]
3
2015-02-22T13:34:16.000Z
2020-10-01T01:28:04.000Z
import csv import logging import re from galaxy import model, util, web from galaxy.model.orm import and_, func, select from galaxy.security.validate_user_input import validate_email from galaxy.web.base.controller import BaseUIController, UsesFormDefinitionsMixin from galaxy.web.form_builder import build_select_field,...
64.021773
157
0.516219
12,140
123,498
5.026771
0.054036
0.02848
0.021565
0.014633
0.60372
0.524244
0.466481
0.420631
0.387186
0.353658
0
0.001277
0.410501
123,498
1,928
158
64.054979
0.836955
0.091831
0
0.522528
0
0.001755
0.073122
0.009785
0
0
0
0.002075
0
0
null
null
0
0.007022
null
null
0.002341
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
8a3cfdf50c8fe0db2fc3b4e662396863e70abea3
599
py
Python
qlazy/UnitaryOperator.py
samn33/qlazy
b215febfec0a3b8192e57a20ec85f14576745a89
[ "Apache-2.0" ]
15
2019-04-09T13:02:58.000Z
2022-01-13T12:57:08.000Z
qlazy/UnitaryOperator.py
samn33/qlazy
b215febfec0a3b8192e57a20ec85f14576745a89
[ "Apache-2.0" ]
3
2020-02-26T16:21:18.000Z
2022-03-31T00:46:53.000Z
qlazy/UnitaryOperator.py
samn33/qlazy
b215febfec0a3b8192e57a20ec85f14576745a89
[ "Apache-2.0" ]
3
2021-01-28T05:38:55.000Z
2021-10-30T12:19:19.000Z
# -*- coding: utf-8 -*- from abc import ABCMeta, abstractmethod, ABC class UnitaryOperator(metaclass=ABCMeta): """ Unitary Operator Attributes ---------- qid : list of int list of qubit id. """ @abstractmethod def __init__(self, qid=None): if qid is None: ra...
19.322581
54
0.587646
63
599
5.428571
0.571429
0.149123
0
0
0
0
0
0
0
0
0
0.004785
0.30217
599
30
55
19.966667
0.813397
0.170284
0
0.357143
0
0
0.047009
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8a4155cb2e74187628de72bce577a6bc4133213b
2,198
py
Python
HunterAdminApi/test/api/authentication/test_ldap.py
tt9133github/hunter
7a1be4ae1fbbadff291742f513d47f0921159648
[ "Apache-2.0" ]
322
2020-01-10T09:08:31.000Z
2022-01-21T06:43:24.000Z
HunterAdminApi/test/api/authentication/test_ldap.py
tt9133github/hunter
7a1be4ae1fbbadff291742f513d47f0921159648
[ "Apache-2.0" ]
27
2020-01-10T10:12:21.000Z
2022-03-08T23:38:23.000Z
HunterAdminApi/test/api/authentication/test_ldap.py
tt9133github/hunter
7a1be4ae1fbbadff291742f513d47f0921159648
[ "Apache-2.0" ]
128
2020-01-10T09:08:14.000Z
2022-03-18T06:56:01.000Z
#!/ usr/bin/env # coding=utf-8 # # Copyright 2019 ztosec & https://sec.zto.com/ # # 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 r...
29.702703
80
0.664695
296
2,198
4.824324
0.513514
0.056022
0.029412
0.033613
0.112045
0.098039
0.098039
0.098039
0.098039
0.05042
0
0.00913
0.252502
2,198
73
81
30.109589
0.860012
0.547771
0
0
0
0
0.220065
0.024811
0
0
0
0
0
1
0.052632
false
0.105263
0.105263
0
0.210526
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8a442f55823662750320cf8b09002c49cc1b86e4
4,415
py
Python
migra_idempotent/migra_idempotent.py
kahuang/migra
5e73d0f3778a449a5172cf53c4630a709bc80078
[ "Unlicense" ]
null
null
null
migra_idempotent/migra_idempotent.py
kahuang/migra
5e73d0f3778a449a5172cf53c4630a709bc80078
[ "Unlicense" ]
null
null
null
migra_idempotent/migra_idempotent.py
kahuang/migra
5e73d0f3778a449a5172cf53c4630a709bc80078
[ "Unlicense" ]
null
null
null
from __future__ import unicode_literals from schemainspect_idempotent import DBInspector, get_inspector from sqlbag import raw_execute from .changes import Changes from .statements import Statements class Migration(object): """ The main class of migra """ def __init__(self, x_from, x_target, schema...
37.10084
86
0.674066
556
4,415
5.142086
0.151079
0.146205
0.115425
0.188877
0.629941
0.56978
0.508569
0.405736
0.304302
0.093739
0
0
0.226274
4,415
118
87
37.415254
0.836944
0.00521
0
0.139785
0
0
0.011197
0
0
0
0
0
0
1
0.11828
false
0
0.053763
0.010753
0.193548
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
8a481d58af8fc0787969080daee473fb83edc4f0
434
py
Python
venv/Scripts/autopep8-script.py
HussainARK/the-bloggy-app
2c934f7a948fbe521cba30be8fa8f91537293dc6
[ "MIT" ]
1
2021-02-11T10:38:43.000Z
2021-02-11T10:38:43.000Z
venv/Scripts/autopep8-script.py
HussainARK/the-bloggy-app
2c934f7a948fbe521cba30be8fa8f91537293dc6
[ "MIT" ]
null
null
null
venv/Scripts/autopep8-script.py
HussainARK/the-bloggy-app
2c934f7a948fbe521cba30be8fa8f91537293dc6
[ "MIT" ]
null
null
null
#!"c:\Users\asus\Desktop\Flask App\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'autopep8==1.5','console_scripts','autopep8' __requires__ = 'autopep8==1.5' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', ''...
33.384615
75
0.658986
61
434
4.377049
0.590164
0.101124
0.11236
0.127341
0.2397
0.2397
0
0
0
0
0
0.03504
0.145161
434
12
76
36.166667
0.684636
0.299539
0
0
0
0
0.275862
0.07931
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8a484585eac757f41627cdb027083669d334ba66
683
py
Python
spug_api/apps/account/management/commands/initdb.py
laashub/spug
85f1389747c9bb368e5e9bffec214e80a9632c0f
[ "MIT" ]
4
2020-03-26T07:49:13.000Z
2020-04-29T06:31:02.000Z
spug_api/apps/account/management/commands/initdb.py
cool-ops/spug
0b870654d1aed80f40db5b4d9a0452f454afca05
[ "MIT" ]
10
2021-03-19T10:59:00.000Z
2022-02-27T05:10:31.000Z
spug_api/apps/account/management/commands/initdb.py
lgq9220/spug
83098fbd1d5780f827a4aca41eb87321f3d2ab21
[ "MIT" ]
1
2021-03-24T07:49:31.000Z
2021-03-24T07:49:31.000Z
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug # Copyright: (c) <spug.dev@gmail.com> # Released under the MIT License. from django.core.management.base import BaseCommand from django.core.management import execute_from_command_line from django.conf import settings class Command(BaseCommand):...
37.944444
91
0.707174
89
683
5.314607
0.595506
0.063425
0.114165
0.139535
0.109937
0
0
0
0
0
0
0.001736
0.156662
683
17
92
40.176471
0.819444
0.20205
0
0
0
0
0.103512
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8a49db68c5f2e615b7a65e5dbbb337d665a4cb77
4,214
py
Python
questionAnswerScreen.py
brhngksel26/CaptchaWithStegonography
ab08a37ad979c206434d69f17cedc27648bf7c33
[ "MIT" ]
null
null
null
questionAnswerScreen.py
brhngksel26/CaptchaWithStegonography
ab08a37ad979c206434d69f17cedc27648bf7c33
[ "MIT" ]
null
null
null
questionAnswerScreen.py
brhngksel26/CaptchaWithStegonography
ab08a37ad979c206434d69f17cedc27648bf7c33
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'QuestionAuthenticationScreenModule.ui' # # Created by: PyQt5 UI code generator 5.13.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets import databaseOperation import stepic fr...
38.309091
93
0.617228
415
4,214
6.255422
0.390361
0.062404
0.025424
0.01849
0.061633
0.061633
0.061633
0.061633
0.061633
0.061633
0
0.020847
0.260085
4,214
109
94
38.66055
0.810776
0.052919
0
0.179775
1
0
0.101775
0.008873
0
0
0
0
0
1
0.078652
false
0
0.05618
0
0.258427
0.101124
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
8a4a8062d6fc4a5982d6e0493be2ba5c659d1e81
22,585
py
Python
preprocessing.py
kochkinaelena/branchLSTM
5a5ba5923b024dd2c3a8a2047de0c866f06a0f6a
[ "MIT" ]
22
2018-09-11T09:42:08.000Z
2021-08-20T02:50:37.000Z
preprocessing.py
kochkinaelena/Lasagne_branchLSTM
5a5ba5923b024dd2c3a8a2047de0c866f06a0f6a
[ "MIT" ]
14
2018-06-01T13:20:34.000Z
2021-06-01T22:24:38.000Z
preprocessing.py
kochkinaelena/Lasagne_branchLSTM
5a5ba5923b024dd2c3a8a2047de0c866f06a0f6a
[ "MIT" ]
4
2018-10-18T10:42:53.000Z
2019-04-17T13:34:06.000Z
# -*- coding: utf-8 -*- """ This file contains preprocessing routines to convert RumourEval data into the format of branchLSTM input: it splits conversation trees into branches and extracts features from tweets including average of word2vec and extra features (specified in https://www.aclweb.org/anthology/S/S17/S17...
38.021886
119
0.545849
2,574
22,585
4.65035
0.174825
0.013033
0.014202
0.012866
0.240852
0.19056
0.167168
0.145614
0.109691
0.099666
0
0.01099
0.339296
22,585
593
120
38.086003
0.791181
0.13571
0
0.213483
0
0
0.083444
0.013237
0
0
0
0
0
0
null
null
0
0.020225
null
null
0.020225
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
8a4b3d23d373b11226fd0721dcb228e3998473fd
3,007
py
Python
ginga/util/mosaic.py
astrofrog/ginga
8a8180b98f0ba69f863d13c4ad690213076def6f
[ "BSD-3-Clause" ]
null
null
null
ginga/util/mosaic.py
astrofrog/ginga
8a8180b98f0ba69f863d13c4ad690213076def6f
[ "BSD-3-Clause" ]
null
null
null
ginga/util/mosaic.py
astrofrog/ginga
8a8180b98f0ba69f863d13c4ad690213076def6f
[ "BSD-3-Clause" ]
null
null
null
#! /usr/bin/env python # # mosaic.py -- Example of quick and dirty mosaicing of FITS images # # Eric Jeschke (eric@naoj.org) # # Copyright (c) Eric R. Jeschke. All rights reserved. # This is open-source software licensed under a BSD license. # Please see the file LICENSE.txt for details. # import sys, os import loggin...
31
100
0.614233
345
3,007
5.292754
0.42029
0.029573
0.049288
0.033954
0.063527
0.063527
0
0
0
0
0
0.00225
0.261058
3,007
96
101
31.322917
0.819532
0.125042
0
0
0
0.016667
0.206343
0.008789
0
0
0
0
0
0
null
null
0.016667
0.1
null
null
0.016667
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
8a4bb5b4e08f60a53b174bd503a5edd85dde953f
1,665
py
Python
tests/environment/test_episode.py
tradesimul/portfolio-management
c6d9c155b3b069b9a706fb4a5691d381530f0e7d
[ "Apache-2.0" ]
19
2021-08-11T19:37:58.000Z
2022-03-30T01:45:16.000Z
tests/environment/test_episode.py
tradesimul/portfolio-management
c6d9c155b3b069b9a706fb4a5691d381530f0e7d
[ "Apache-2.0" ]
null
null
null
tests/environment/test_episode.py
tradesimul/portfolio-management
c6d9c155b3b069b9a706fb4a5691d381530f0e7d
[ "Apache-2.0" ]
3
2021-08-11T21:01:28.000Z
2021-10-05T10:32:17.000Z
import gym import portfolio_management import portfolio_management.paths as p from portfolio_management.io_utilities import pickle_dump def test_episode(download_and_pickle: bool = True): database_name = 'test_episode' if download_and_pickle: from portfolio_management.data.manager import Manager ...
30.272727
92
0.657057
189
1,665
5.481481
0.402116
0.081081
0.088803
0.078185
0
0
0
0
0
0
0
0.01546
0.261862
1,665
55
93
30.272727
0.827502
0.024625
0
0.090909
0
0
0.07825
0
0
0
0
0.018182
0
1
0.022727
false
0
0.159091
0
0.181818
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8a4cb2fb95ff357feef02bb8bd0e237af33deeca
2,266
py
Python
hack/pylint_bin.py
AradhanaSingh/test-infra
62a6014039806230c3fd481edf6291cf8bea1be2
[ "Apache-2.0" ]
5
2019-11-23T21:06:39.000Z
2021-01-19T21:37:07.000Z
hack/pylint_bin.py
AradhanaSingh/test-infra
62a6014039806230c3fd481edf6291cf8bea1be2
[ "Apache-2.0" ]
433
2019-09-26T06:52:31.000Z
2022-03-24T21:18:01.000Z
hack/pylint_bin.py
AradhanaSingh/test-infra
62a6014039806230c3fd481edf6291cf8bea1be2
[ "Apache-2.0" ]
49
2019-10-03T12:31:35.000Z
2021-09-22T20:36:38.000Z
#!/usr/bin/env python2 # Copyright 2017 The Kubernetes Authors. # # 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 appl...
40.464286
116
0.647838
328
2,266
4.411585
0.521341
0.037319
0.026952
0.022115
0.015204
0
0
0
0
0
0
0.015115
0.270079
2,266
55
117
41.2
0.859734
0.585172
0
0.217391
0
0
0.014254
0
0
0
0
0.018182
0
1
0
false
0
0.130435
0
0.130435
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8a50416be6e5fff5cb2376a0bdb4d23f28b45b12
980
py
Python
Test_DivinationModel.py
Zasilus/PoeExpertTrader
93b84733f0304aa773aa25346a31f462cfdfa38a
[ "MIT" ]
null
null
null
Test_DivinationModel.py
Zasilus/PoeExpertTrader
93b84733f0304aa773aa25346a31f462cfdfa38a
[ "MIT" ]
null
null
null
Test_DivinationModel.py
Zasilus/PoeExpertTrader
93b84733f0304aa773aa25346a31f462cfdfa38a
[ "MIT" ]
null
null
null
import unittest import io import sys from DivinationModel import DivinationModel class Test_DivinationModel(unittest.TestCase): #DM-P DM-PPC def test_DivinationModelPull(self): divModel = DivinationModel() divModel.pullDivination() assert divModel.divinationStats["House of Mirrors"] is...
28.823529
85
0.678571
97
980
6.721649
0.350515
0.042945
0.165644
0.214724
0.496933
0.372699
0
0
0
0
0
0
0.234694
980
34
86
28.823529
0.869333
0.017347
0
0.28
0
0
0.071726
0
0
0
0
0
0.16
1
0.16
false
0
0.16
0
0.36
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
8a515e3a3bee7d6c443b438b1f52d1da1680645f
948
py
Python
HLTrigger/Configuration/python/HLT_75e33/modules/hltIter2Phase2L3FromL1TkMuonCtfWithMaterialTracks_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
HLTrigger/Configuration/python/HLT_75e33/modules/hltIter2Phase2L3FromL1TkMuonCtfWithMaterialTracks_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
HLTrigger/Configuration/python/HLT_75e33/modules/hltIter2Phase2L3FromL1TkMuonCtfWithMaterialTracks_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:16:05.000Z
2021-11-30T16:16:05.000Z
import FWCore.ParameterSet.Config as cms hltIter2Phase2L3FromL1TkMuonCtfWithMaterialTracks = cms.EDProducer("TrackProducer", AlgorithmName = cms.string('hltIter2'), Fitter = cms.string('FlexibleKFFittingSmoother'), GeometricInnerState = cms.bool(True), MeasurementTracker = cms.string(''), Measureme...
45.142857
104
0.753165
71
948
10.056338
0.549296
0.088235
0.05042
0
0
0
0
0
0
0
0
0.015719
0.127637
948
20
105
47.4
0.847642
0
0
0
0
0
0.244726
0.191983
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a5b5e836bea5881c02adc2f54ddf54d829e50d1
637
py
Python
1-DiveIntoPython/week4/assignment1/test.py
mamoudmatook/PythonSpecializaionInRussian
3340780b2f8a876a0f59e22036147fd98909d545
[ "MIT" ]
null
null
null
1-DiveIntoPython/week4/assignment1/test.py
mamoudmatook/PythonSpecializaionInRussian
3340780b2f8a876a0f59e22036147fd98909d545
[ "MIT" ]
null
null
null
1-DiveIntoPython/week4/assignment1/test.py
mamoudmatook/PythonSpecializaionInRussian
3340780b2f8a876a0f59e22036147fd98909d545
[ "MIT" ]
null
null
null
import os.path from solution import File path_to_file = 'some_filename' print(os.path.exists(path_to_file)) file_obj = File(path_to_file) print(os.path.exists(path_to_file)) print(file_obj.read()) file_obj.write('some text') print(file_obj.read()) file_obj.write('other text') print(file_obj.read()) file_obj_1 = File(pa...
28.954545
39
0.77551
124
637
3.58871
0.209677
0.283146
0.134831
0.125843
0.388764
0.388764
0.316854
0
0
0
0
0.024221
0.092622
637
22
40
28.954545
0.745675
0
0
0.227273
0
0
0.081505
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.363636
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a5cda44e1bf5816c53eddb1ababdf3bef5c2df6
1,366
py
Python
Hacker.py
Ro706/hackingprank
5ccbdbfb150722bd30753dc2e71247fcc20b46ab
[ "Apache-2.0" ]
2
2021-02-22T00:09:45.000Z
2021-06-18T03:22:30.000Z
Hacker.py
Ro706/hackingprank
5ccbdbfb150722bd30753dc2e71247fcc20b46ab
[ "Apache-2.0" ]
null
null
null
Hacker.py
Ro706/hackingprank
5ccbdbfb150722bd30753dc2e71247fcc20b46ab
[ "Apache-2.0" ]
null
null
null
#python 3.7.1 from time import sleep as sp app=str(input("app: ")) username=str(input("username: ")) import socket host = socket.gethostname() ip = socket.gethostbyname(host) import random lower = "abcdefghijklmnopqrstuvwxyz" upper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" number = "0123456789" all = lower + upper + number len...
20.38806
76
0.561493
171
1,366
4.45614
0.491228
0.059055
0.041995
0.036745
0.03937
0
0
0
0
0
0
0.028382
0.226208
1,366
66
77
20.69697
0.675497
0.008785
0
0.183333
0
0.016667
0.642276
0.085735
0
0
0
0
0
1
0.016667
false
0.05
0.05
0
0.066667
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a5dc9f0ee9a0de84f2ecc9552a6e60c7b9fee48
1,466
py
Python
deploy2.py
JiajunZhou96/ML-for-LSD1
595630076928f0c0d0b78ce182478b7fb0d20ead
[ "MIT" ]
1
2021-12-20T11:50:06.000Z
2021-12-20T11:50:06.000Z
deploy2.py
JiajunZhou96/ML-for-LSD1
595630076928f0c0d0b78ce182478b7fb0d20ead
[ "MIT" ]
null
null
null
deploy2.py
JiajunZhou96/ML-for-LSD1
595630076928f0c0d0b78ce182478b7fb0d20ead
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import matplotlib.pyplot as plt import re import time import os from sklearn.svm import SVR import joblib import rdkit from rdkit import Chem from rdkit.Chem import AllChem from rdkit_utils import smiles_dataset from utils import save_dataset model_load = joblib.load('./models...
35.756098
122
0.749659
214
1,466
4.883178
0.35514
0.114833
0.057416
0.066029
0.157895
0.133971
0.103349
0.103349
0.103349
0.103349
0
0.014286
0.140518
1,466
40
123
36.65
0.815079
0
0
0
0
0
0.231241
0.142565
0
0
0
0
0
1
0
false
0.03125
0.40625
0
0.40625
0.03125
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
8a63ebaed800cd582b0fefbde4a6c46c8fcf1267
1,052
py
Python
app.py
Rogergonzalez21/biblegateway-scraper
74436a05c7c752125fb13aeabc1e505f18966577
[ "MIT" ]
3
2017-05-03T23:50:13.000Z
2020-04-25T13:30:06.000Z
app.py
Rogergonzalez21/biblegateway-scraper
74436a05c7c752125fb13aeabc1e505f18966577
[ "MIT" ]
null
null
null
app.py
Rogergonzalez21/biblegateway-scraper
74436a05c7c752125fb13aeabc1e505f18966577
[ "MIT" ]
2
2020-03-24T02:46:51.000Z
2021-04-21T00:11:43.000Z
from bs4 import BeautifulSoup from sys import argv import requests, urllib query = argv[1] headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36'} if len(argv) == 3: version = argv[2] url = 'http://www.biblegateway.co...
33.935484
148
0.669202
149
1,052
4.671141
0.61745
0.014368
0.028736
0.063218
0.204023
0.132184
0.132184
0.132184
0.132184
0
0
0.043326
0.188213
1,052
30
149
35.066667
0.771663
0
0
0.115385
0
0.038462
0.379278
0.022814
0
0
0
0
0
1
0.038462
false
0.115385
0.115385
0
0.153846
0.192308
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
8a6af7de96077048a0b91bb2ccc1de1137befe4a
3,710
py
Python
nipype/interfaces/nipy/utils.py
nicholsn/nipype
6601b00aac39d17bb9fb3a6801f5a740a6ebb1e3
[ "BSD-3-Clause" ]
null
null
null
nipype/interfaces/nipy/utils.py
nicholsn/nipype
6601b00aac39d17bb9fb3a6801f5a740a6ebb1e3
[ "BSD-3-Clause" ]
null
null
null
nipype/interfaces/nipy/utils.py
nicholsn/nipype
6601b00aac39d17bb9fb3a6801f5a740a6ebb1e3
[ "BSD-3-Clause" ]
null
null
null
""" Change directory to provide relative paths for doctests >>> import os >>> filepath = os.path.dirname( os.path.realpath( __file__ ) ) >>> datadir = os.path.realpath(os.path.join(filepath, '../../testing/data')) >>> os.chdir(datadir) """ import warnings import nibabel as nb from ...utils.misc i...
35
89
0.637197
413
3,710
5.636804
0.411622
0.034364
0.024055
0.030928
0.072165
0.055842
0.033505
0.033505
0
0
0
0.017254
0.250135
3,710
105
90
35.333333
0.819554
0
0
0.05
0
0
0.21563
0.013025
0
0
0
0
0
0
null
null
0
0.1
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8a6cf4c56f7cc9cadbe100998d72f5e1aeb2872d
3,595
py
Python
library/oneview_label_facts.py
LaudateCorpus1/oneview-ansible
a1befcab3ff8d23ab7f85844eeba0d2f2c6a21e2
[ "Apache-2.0" ]
108
2016-06-28T18:14:08.000Z
2022-02-21T09:16:06.000Z
library/oneview_label_facts.py
HPE-Japan-Presales/oneview-ansible
26eb13354333d862d9e80f07e3fe9bbe2eb59af3
[ "Apache-2.0" ]
248
2016-07-14T12:50:17.000Z
2022-02-06T18:57:16.000Z
library/oneview_label_facts.py
HPE-Japan-Presales/oneview-ansible
26eb13354333d862d9e80f07e3fe9bbe2eb59af3
[ "Apache-2.0" ]
88
2016-06-29T15:52:44.000Z
2022-03-10T12:34:41.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- ### # Copyright (2016-2021) Hewlett Packard Enterprise Development LP # # 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/licen...
27.234848
103
0.685118
450
3,595
5.337778
0.397778
0.029142
0.035387
0.041632
0.306828
0.264363
0.250624
0.250624
0.224813
0.224813
0
0.033298
0.214743
3,595
131
104
27.442748
0.81757
0.172462
0
0.368421
0
0
0.619499
0.022343
0
0
0
0
0
1
0.031579
false
0.042105
0.010526
0
0.063158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a6d0a80c707f988167a98e180b8c3c46c8314ce
904
py
Python
constant.py
georgecuriel/NoobScript
adff3f1170a3bd477a74e45b4592dda039f86e22
[ "Unlicense" ]
null
null
null
constant.py
georgecuriel/NoobScript
adff3f1170a3bd477a74e45b4592dda039f86e22
[ "Unlicense" ]
null
null
null
constant.py
georgecuriel/NoobScript
adff3f1170a3bd477a74e45b4592dda039f86e22
[ "Unlicense" ]
null
null
null
class Constant: memInt = [None] * 500 memFloat = [None] * 500 memString = [None] * 500 constantes = [] for eachLine in open('constantes.txt', "r"): constantes.append([int(k) for k in eachLine.split()]) print constantes def setValD(self, dire, val, tipo): if tipo == 1: dirReal = dire - 7000 if dirRea...
22.6
55
0.642699
122
904
4.762295
0.303279
0.113597
0.123924
0.082616
0.399312
0.347676
0.254733
0.254733
0.254733
0.130809
0
0.079365
0.233407
904
40
56
22.6
0.759019
0
0
0.470588
0
0
0.016575
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
8a6ed8737461f1f6a80e37de4ab323914bda0ca6
11,185
py
Python
library/engine_appliance_facts.py
Forcepoint/fp-NGFW-SMC-ansible
47cafea1bef162e75f3632b969e996d53d636374
[ "Apache-2.0" ]
5
2019-11-19T07:23:01.000Z
2021-08-25T08:04:49.000Z
library/engine_appliance_facts.py
Forcepoint/fp-NGFW-SMC-ansible
47cafea1bef162e75f3632b969e996d53d636374
[ "Apache-2.0" ]
2
2020-03-24T20:30:32.000Z
2020-09-15T09:02:44.000Z
library/engine_appliance_facts.py
Forcepoint/fp-NGFW-SMC-ansible
47cafea1bef162e75f3632b969e996d53d636374
[ "Apache-2.0" ]
3
2020-03-24T20:32:29.000Z
2022-02-15T15:29:07.000Z
#!/usr/bin/python # # Copyright (c) 2017-2019 Forcepoint ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community' } DOCUMENTATION = ''' --- module: engine_appliance_facts short_description: Facts about engine appliances such as hardware and interface status descr...
29.434211
155
0.507734
1,140
11,185
4.840351
0.274561
0.017398
0.018123
0.028996
0.262051
0.247916
0.242479
0.224719
0.183219
0.108554
0
0.024173
0.378632
11,185
379
156
29.511873
0.769784
0.049709
0
0.337662
0
0.003247
0.679829
0.04824
0
0
0
0
0
1
0.025974
false
0.003247
0.012987
0
0.064935
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a6fef3d7382856c1d751dcc05126680ad6bc035
2,999
py
Python
Configuration/PyReleaseValidation/python/relval_2017.py
asculac/cmssw
944a874795b075d35432e5a9a861e536440141da
[ "Apache-2.0" ]
null
null
null
Configuration/PyReleaseValidation/python/relval_2017.py
asculac/cmssw
944a874795b075d35432e5a9a861e536440141da
[ "Apache-2.0" ]
null
null
null
Configuration/PyReleaseValidation/python/relval_2017.py
asculac/cmssw
944a874795b075d35432e5a9a861e536440141da
[ "Apache-2.0" ]
null
null
null
# import the definition of the steps and input files: from Configuration.PyReleaseValidation.relval_steps import * # here only define the workflows as a combination of the steps defined above: workflows = Matrix() # each workflow defines a name and a list of steps to be done. # if no explicit name/label given for ...
41.652778
99
0.623208
446
2,999
4.172646
0.378924
0.048898
0.045137
0.045137
0.344438
0.314884
0.274584
0.238581
0.238581
0.238581
0
0.269213
0.258086
2,999
71
100
42.239437
0.567191
0.544181
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a7022f1fe8ba75f23820084777d88a8d9e47efa
4,724
py
Python
armyguys/cli/commands/tasks.py
jtpaasch/armyguys
4f138420ba42d6d9864176a87c709af014034429
[ "MIT" ]
null
null
null
armyguys/cli/commands/tasks.py
jtpaasch/armyguys
4f138420ba42d6d9864176a87c709af014034429
[ "MIT" ]
null
null
null
armyguys/cli/commands/tasks.py
jtpaasch/armyguys
4f138420ba42d6d9864176a87c709af014034429
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Commands for managing ECS tasks.""" import click from ...jobs import tasks as task_jobs from ...jobs.exceptions import AwsError from ...jobs.exceptions import FileDoesNotExist from ...jobs.exceptions import MissingKey from ...jobs.exceptions import Non200Response from ...jobs.exceptions i...
28.630303
86
0.660034
557
4,724
5.500898
0.156194
0.070496
0.117493
0.070496
0.679504
0.668734
0.668734
0.656005
0.656005
0.609008
0
0.003554
0.225656
4,724
164
87
28.804878
0.834062
0.026461
0
0.688406
0
0
0.162475
0
0
0
0
0
0
1
0.028986
false
0.007246
0.086957
0
0.115942
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a702c1c304dd900b62856fc4c76806d4c7305b6
3,261
py
Python
Snippets/Python/TODO WebPy App/mainapp.py
fredmorcos/attic
0da3b94aa525df59ddc977c32cb71c243ffd0dbd
[ "Unlicense" ]
2
2021-01-24T09:00:51.000Z
2022-01-23T20:52:17.000Z
Snippets/Python/TODO WebPy App/mainapp.py
fredmorcos/attic
0da3b94aa525df59ddc977c32cb71c243ffd0dbd
[ "Unlicense" ]
6
2020-02-29T01:59:03.000Z
2022-02-15T10:25:40.000Z
Snippets/Python/TODO WebPy App/mainapp.py
fredmorcos/attic
0da3b94aa525df59ddc977c32cb71c243ffd0dbd
[ "Unlicense" ]
1
2019-03-22T14:41:21.000Z
2019-03-22T14:41:21.000Z
import web, hashlib, sqlite3 render = web.template.render('templates/') urls = ( '/', 'index', '/login', 'login', '/registerpage', 'registerpage', '/register', 'register', '/todospage', 'todospage', '/logout', 'logout', '/addtodo', 'addtodo', '/search', 'search' ) web.config.debug = False app = web.applicati...
26.298387
99
0.636308
426
3,261
4.840376
0.194836
0.058681
0.077595
0.043647
0.462173
0.419496
0.389913
0.375364
0.329777
0.268671
0
0.007946
0.189512
3,261
123
100
26.512195
0.772229
0
0
0.531532
0
0
0.196565
0
0
0
0
0
0
1
0.072072
false
0.054054
0.009009
0.009009
0.207207
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8a738b5218c6923aa794ceee80dd05f1f0189439
2,128
py
Python
tests/mutate/test_delete_edges_2.py
Amber1990Zhang/nebula-graph
0c0068b8efc2aca7aa3ac23e5951fb7ae9c3f54e
[ "Apache-2.0" ]
null
null
null
tests/mutate/test_delete_edges_2.py
Amber1990Zhang/nebula-graph
0c0068b8efc2aca7aa3ac23e5951fb7ae9c3f54e
[ "Apache-2.0" ]
null
null
null
tests/mutate/test_delete_edges_2.py
Amber1990Zhang/nebula-graph
0c0068b8efc2aca7aa3ac23e5951fb7ae9c3f54e
[ "Apache-2.0" ]
null
null
null
# --coding:utf-8-- # Copyright (c) 2020 vesoft inc. All rights reserved. # # This source code is licensed under Apache 2.0 License, # attached with Common Clause Condition 1.0, found in the LICENSES directory. from tests.common.nebula_test_suite import NebulaTestSuite class TestDeleteEdges2(NebulaTestSuite): @c...
40.150943
116
0.632989
278
2,128
4.629496
0.305755
0.076923
0.099456
0.079254
0.669775
0.637141
0.616939
0.616939
0.616939
0.616939
0
0.006386
0.264098
2,128
52
117
40.923077
0.815453
0.105733
0
0.470588
0
0.029412
0.292348
0
0
0
0
0
0
1
0.117647
false
0
0.029412
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a7aadcd04dc42d5bd466dffb55ef06cc44d5345
1,322
py
Python
tests/models.py
Rhathe/Fixture_Generator
f8d6f95b5f5f38963f2389f4183d1c9884184853
[ "MIT" ]
null
null
null
tests/models.py
Rhathe/Fixture_Generator
f8d6f95b5f5f38963f2389f4183d1c9884184853
[ "MIT" ]
null
null
null
tests/models.py
Rhathe/Fixture_Generator
f8d6f95b5f5f38963f2389f4183d1c9884184853
[ "MIT" ]
1
2017-06-02T19:01:48.000Z
2017-06-02T19:01:48.000Z
from sqlalchemy import Boolean, Column, ForeignKey, Integer, String from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relation, sessionmaker _Base = declarative_base() class Article(_Base): __tablename__ = 'article' id = Column(Integer, primary_key=True) title = Column(St...
26.979592
67
0.707262
156
1,322
5.75
0.25641
0.071349
0.133779
0.098105
0.588629
0.557414
0.492754
0.492754
0.492754
0.492754
0
0.016349
0.167171
1,322
48
68
27.541667
0.798365
0
0
0.322581
0
0
0.092284
0
0
0
0
0
0
1
0
false
0
0.096774
0
0.967742
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
8a7fbdce7ee0c1cc55aca7d4e76ff10d772da2a2
4,011
py
Python
sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
8
2021-01-13T23:44:08.000Z
2021-03-17T10:13:36.000Z
sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
226
2019-07-24T07:57:21.000Z
2019-10-15T01:07:24.000Z
sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
2
2020-05-21T22:51:22.000Z
2020-05-26T20:53:01.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
34.878261
76
0.740713
345
4,011
8.342029
0.266667
0.166782
0.108409
0.158443
0.082001
0.082001
0.082001
0
0
0
0
0.007528
0.172027
4,011
114
77
35.184211
0.859079
0.11269
0
0
0
0
0.168828
0.054115
0
0
0
0
0
1
0
false
0
0.539216
0
0.539216
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
8a80a388cc0a4915ab073f4ad695e899368dcb60
40,630
py
Python
find_events.py
erwocky/geant4-scripts
7ae29113151cd874a4a6468a9dc3c3d9b9b2393c
[ "MIT" ]
1
2020-11-12T15:02:04.000Z
2020-11-12T15:02:04.000Z
find_events.py
erwocky/geant4-scripts
7ae29113151cd874a4a6468a9dc3c3d9b9b2393c
[ "MIT" ]
null
null
null
find_events.py
erwocky/geant4-scripts
7ae29113151cd874a4a6468a9dc3c3d9b9b2393c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Post-processing script that finds events and particle tracks in Geant4 # data. Reads generic Geant4 FITS pixel lists generated by pre-processing # script 'convet_to_fits_*.py'. Input is a list of raw pixel FITS files, # including the relative path if needed. The invocation should be of the # fo...
46.434286
250
0.628649
5,812
40,630
4.283551
0.154336
0.037114
0.053503
0.068445
0.262612
0.205615
0.164042
0.118734
0.082182
0.058443
0
0.039834
0.254221
40,630
874
251
46.487414
0.781789
0.341619
0
0.061947
1
0.002212
0.081624
0.012729
0
0
0
0
0
1
0.011062
false
0.002212
0.011062
0.006637
0.033186
0.04646
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
8a80f1a95f6044f7e5b5284f23760cb845db41ad
875
py
Python
clone/urls.py
faisoabdirisak/instagram
400bd01218a0324001c05ad584415830dd40b3c8
[ "Unlicense", "MIT" ]
null
null
null
clone/urls.py
faisoabdirisak/instagram
400bd01218a0324001c05ad584415830dd40b3c8
[ "Unlicense", "MIT" ]
null
null
null
clone/urls.py
faisoabdirisak/instagram
400bd01218a0324001c05ad584415830dd40b3c8
[ "Unlicense", "MIT" ]
null
null
null
from . import views from django.urls import path from django.contrib.auth import views as auth_views from clone.views import CustomLoginView from clone.forms import LoginForm from .views import profile urlpatterns = [ path('', views.home, name='users-home'), path('photo/<str:pk>/', views.viewPhoto, name='p...
43.75
109
0.694857
109
875
5.46789
0.366972
0.045302
0.053691
0
0
0
0
0
0
0
0
0
0.152
875
20
110
43.75
0.803235
0
0
0
0
0
0.179224
0
0
0
0
0
0
1
0
false
0
0.352941
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8a8633d68fc2a1930ca2a9b4ef7accff8912558a
4,030
py
Python
contrib/pycoin/tests/ecdsa_test.py
gwangjin2/gwangcoin-core
588e357e13c385906729d9078b796dd740745445
[ "MIT" ]
null
null
null
contrib/pycoin/tests/ecdsa_test.py
gwangjin2/gwangcoin-core
588e357e13c385906729d9078b796dd740745445
[ "MIT" ]
null
null
null
contrib/pycoin/tests/ecdsa_test.py
gwangjin2/gwangcoin-core
588e357e13c385906729d9078b796dd740745445
[ "MIT" ]
null
null
null
#!/usr/bin/env python import hashlib import unittest from pycoin.ecdsa import generator_secp256k1, sign, verify, public_pair_for_secret_exponent, intbytes from pycoin.ecdsa.ecdsa import deterministic_generate_k class ECDSATestCase(unittest.TestCase): def test_sign_verify(self): def do_test(secret_expone...
46.860465
101
0.715136
347
4,030
8.069164
0.29683
0.06
0.062857
0.025714
0.321786
0.296071
0.276429
0.242857
0.242857
0.242857
0
0.276556
0.210422
4,030
85
102
47.411765
0.603394
0.05335
0
0.258065
0
0
0.008013
0
0
0
0.329327
0
0.129032
1
0.080645
false
0
0.064516
0
0.16129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a88bb6b3890d9ad711358ea474238649e2dd3b4
2,178
py
Python
tests/test_mincap.py
MaxDauber/FiMDP
95c61d6adb1a856fefdf1c50b9932815bdad9dde
[ "MIT" ]
1
2019-11-22T22:18:10.000Z
2019-11-22T22:18:10.000Z
tests/test_mincap.py
MaxDauber/FiMDP
95c61d6adb1a856fefdf1c50b9932815bdad9dde
[ "MIT" ]
18
2020-06-24T22:34:43.000Z
2020-10-12T17:18:54.000Z
tests/test_mincap.py
MaxDauber/FiMDP
95c61d6adb1a856fefdf1c50b9932815bdad9dde
[ "MIT" ]
3
2021-01-15T15:28:24.000Z
2022-01-05T10:24:29.000Z
# # Test computation of minimal capacity from reachability_examples import ultimate from fimdp.energy_solvers import BasicES from fimdp.objectives import AS_REACH, BUCHI from fimdp.mincap_solvers import bin_search # In the following example, the minimal capacity is 15 for Buchi objective defined by the blue states. ...
27.56962
102
0.727273
343
2,178
4.501458
0.262391
0.075777
0.04987
0.062176
0.555052
0.468912
0.445596
0.430052
0.313472
0.270725
0
0.031097
0.158402
2,178
78
103
27.923077
0.811238
0.181818
0
0.232558
0
0
0.345123
0
0
0
0
0
0.139535
1
0
false
0.139535
0.093023
0
0.093023
0.139535
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
8a89db03f11124a9a04c7a85b78056c1a8025597
26,447
py
Python
neoncl/backends/kernels/cl/convolution_cl.py
hughperkins/winogradCl-underconstruction
99d7de1bf917c3eaffa0c14b6fdc10645ec67130
[ "Apache-2.0" ]
null
null
null
neoncl/backends/kernels/cl/convolution_cl.py
hughperkins/winogradCl-underconstruction
99d7de1bf917c3eaffa0c14b6fdc10645ec67130
[ "Apache-2.0" ]
null
null
null
neoncl/backends/kernels/cl/convolution_cl.py
hughperkins/winogradCl-underconstruction
99d7de1bf917c3eaffa0c14b6fdc10645ec67130
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 Nervana Systems Inc., 2016 Hugh Perkins, All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless req...
37.835479
112
0.534957
3,672
26,447
3.588508
0.113562
0.057069
0.06906
0.046748
0.569098
0.511346
0.459665
0.427108
0.41064
0.360325
0
0.030942
0.340114
26,447
698
113
37.889685
0.7241
0.082845
0
0.320652
0
0.063406
0.92523
0.099487
0
0
0
0
0.001812
1
0.001812
false
0
0.005435
0
0.014493
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a8af91a20d031995226d60a061779e50ee474d8
553
py
Python
data/scripts/get_target_generations.py
chihacknight/state-by-state-decarbonization
59f25cb074a7b08b9f682929201af93f01490250
[ "MIT" ]
2
2022-02-09T03:10:24.000Z
2022-02-09T14:19:51.000Z
data/scripts/get_target_generations.py
chihacknight/state-by-state-decarbonization
59f25cb074a7b08b9f682929201af93f01490250
[ "MIT" ]
44
2022-02-09T15:28:40.000Z
2022-03-30T19:48:14.000Z
data/scripts/get_target_generations.py
chihacknight/state-by-state-decarbonization
59f25cb074a7b08b9f682929201af93f01490250
[ "MIT" ]
1
2022-03-14T06:10:07.000Z
2022-03-14T06:10:07.000Z
import sys import json from utils import get_and_clean_csv, json_data_builder if __name__ == '__main__': path_to_data = sys.argv[1] # ,nrelRes,nrelCom,resNonElHeating,comNonElHeating,resNonElWaterHeating,resNonElWaterHeating,resNonElRange,pctResNonElHeating,pctComNonElHeating,pctResNonElWaterHeating,pctComNon...
46.083333
213
0.831826
64
553
6.734375
0.625
0.118329
0.051044
0.064965
0
0
0
0
0
0
0
0.001988
0.090416
553
12
214
46.083333
0.854871
0.374322
0
0
0
0
0.089855
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.125
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
8a96c8ed43198bae190164fb9ca341e2beb7e77c
16,891
py
Python
ssg/templates.py
bpsegal851/content
276a7724402df1884530031ff16bbc726bf45d8b
[ "BSD-3-Clause" ]
null
null
null
ssg/templates.py
bpsegal851/content
276a7724402df1884530031ff16bbc726bf45d8b
[ "BSD-3-Clause" ]
null
null
null
ssg/templates.py
bpsegal851/content
276a7724402df1884530031ff16bbc726bf45d8b
[ "BSD-3-Clause" ]
null
null
null
from __future__ import print_function import os import sys import re import ssg.build_yaml languages = ["anaconda", "ansible", "bash", "oval", "puppet", "ignition"] lang_to_ext_map = { "anaconda": ".anaconda", "ansible": ".yml", "bash": ".sh", "oval": ".xml", "puppet": ".pp", "ignition": ".y...
34.192308
86
0.61145
2,038
16,891
4.865554
0.179097
0.02743
0.040843
0.051029
0.414582
0.382311
0.329669
0.279548
0.246571
0.215914
0
0.002811
0.26298
16,891
493
87
34.261663
0.793718
0.107809
0
0.376731
0
0
0.179518
0.012044
0
0
0.000269
0.002028
0
1
0.119114
false
0.058172
0.01385
0.030471
0.240997
0.00277
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
8a98feebd4364a25037f57708f796236203b1801
11,750
py
Python
IPython/core/page.py
adgaudio/ipython
a924f50c0f7b84127391f1c396326258c2b303e2
[ "BSD-3-Clause-Clear" ]
1
2016-05-26T10:57:18.000Z
2016-05-26T10:57:18.000Z
IPython/core/page.py
adgaudio/ipython
a924f50c0f7b84127391f1c396326258c2b303e2
[ "BSD-3-Clause-Clear" ]
null
null
null
IPython/core/page.py
adgaudio/ipython
a924f50c0f7b84127391f1c396326258c2b303e2
[ "BSD-3-Clause-Clear" ]
null
null
null
# encoding: utf-8 """ Paging capabilities for IPython.core Authors: * Brian Granger * Fernando Perez Notes ----- For now this uses ipapi, so it can't be in IPython.utils. If we can get rid of that dependency, we could move it there. ----- """ #----------------------------------------------------------------------...
34.457478
81
0.587404
1,531
11,750
4.409536
0.299804
0.031995
0.017775
0.01185
0.079544
0.036439
0.029625
0.029625
0.018071
0.018071
0
0.009291
0.285532
11,750
340
82
34.558824
0.794878
0.250894
0
0.25
0
0
0.054436
0
0
0
0
0
0
0
null
null
0.005556
0.083333
null
null
0.083333
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
8a9dc20ef37093a312b80908272a156607f29140
5,998
py
Python
CIM16/IEC61970/Core/BaseVoltage.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
null
null
null
CIM16/IEC61970/Core/BaseVoltage.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
null
null
null
CIM16/IEC61970/Core/BaseVoltage.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
1
2021-04-02T18:04:49.000Z
2021-04-02T18:04:49.000Z
# Copyright (C) 2010-2011 Richard Lincoln # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish...
40.527027
203
0.702734
645
5,998
6.475969
0.286822
0.026335
0.015322
0.012449
0.397893
0.321283
0.303088
0.28633
0.179076
0.179076
0
0.004116
0.23041
5,998
147
204
40.802721
0.90078
0.362788
0
0.35
0
0
0.046686
0
0
0
0
0
0
1
0.2125
false
0
0.0125
0.0125
0.4125
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
8aa077b9f9b6b95810616fefff45ba5a19149614
1,417
py
Python
E03 - Learning programs and models/Architectures/utils/default_setup.py
mialona/Stomatal-segmentation
149d469ec572c41a13d62149d7d62d6805d19697
[ "MIT" ]
654
2019-11-16T16:12:06.000Z
2022-03-31T16:55:34.000Z
E03 - Learning programs and models/Architectures/utils/default_setup.py
mialona/Stomatal-segmentation
149d469ec572c41a13d62149d7d62d6805d19697
[ "MIT" ]
66
2019-11-25T02:15:33.000Z
2021-11-15T02:54:49.000Z
E03 - Learning programs and models/Architectures/utils/default_setup.py
mialona/Stomatal-segmentation
149d469ec572c41a13d62149d7d62d6805d19697
[ "MIT" ]
145
2019-11-16T16:12:10.000Z
2022-03-31T07:21:09.000Z
import os import logging import json import torch from .distributed import get_rank, synchronize from .logger import setup_logger from .env import seed_all_rng from ..config import cfg def default_setup(args): num_gpus = int(os.environ["WORLD_SIZE"]) if "WORLD_SIZE" in os.environ else 1 args.num_gpus = num_gp...
33.738095
94
0.673253
199
1,417
4.603015
0.417085
0.03821
0.021834
0
0
0
0
0
0
0
0
0.003527
0.199718
1,417
42
95
33.738095
0.804233
0.142555
0
0
0
0
0.069479
0
0
0
0
0.02381
0
1
0.034483
false
0
0.275862
0
0.310345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8aa74ca5267d49764d6fd88e973a3f706aeae75a
509
py
Python
setup.py
lbasora/sectflow
92f60ffe477b38a3e0b6e88001b32c6889e546a0
[ "MIT" ]
4
2019-07-17T20:23:55.000Z
2020-11-28T18:13:48.000Z
setup.py
lbasora/sectflow
92f60ffe477b38a3e0b6e88001b32c6889e546a0
[ "MIT" ]
null
null
null
setup.py
lbasora/sectflow
92f60ffe477b38a3e0b6e88001b32c6889e546a0
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name="sectflow", version="0.1", author="Luis Basora", url="https://github.com/lbasora/sectflow/", description="A trajectory clustering library to identify air traffic flow", license="MIT", packages=find_packages(), install_requires=["nu...
29.941176
81
0.658153
62
509
5.322581
0.741935
0.072727
0.084848
0.072727
0
0
0
0
0
0
0
0.028504
0.172888
509
16
82
31.8125
0.755344
0.229862
0
0
0
0
0.357513
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
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
8aa92d49dbf04d4f79eaf73d90e82d7a9fdcc584
776
py
Python
language/python/attribute.py
morenice/til
9b73f54045dbd65e08df4538300dd12a4a087540
[ "Apache-2.0" ]
null
null
null
language/python/attribute.py
morenice/til
9b73f54045dbd65e08df4538300dd12a4a087540
[ "Apache-2.0" ]
13
2020-02-11T23:33:22.000Z
2021-06-10T21:17:23.000Z
language/python/attribute.py
morenice/til
9b73f54045dbd65e08df4538300dd12a4a087540
[ "Apache-2.0" ]
null
null
null
class Cup(object): def __init__(self, name): self.name = name self.price = 0 class MyClass: pass def myfunc(): pass if __name__ == '__main__': cup1 = Cup('aaa') cup2 = Cup('bbb') # get attribute of object print(getattr(cup1, 'name')) print(getattr(cup2, 'name')) ...
18.926829
49
0.597938
95
776
4.589474
0.431579
0.06422
0.100917
0.091743
0.105505
0
0
0
0
0
0
0.017361
0.257732
776
40
50
19.4
0.739583
0.097938
0
0.083333
0
0
0.146974
0
0
0
0
0
0
1
0.083333
false
0.083333
0
0
0.166667
0.333333
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
8aa9868439a33a867c34ce35838404513822c5a6
21,287
py
Python
assessment/assess/models.py
powderflask/django_assess
cff25c0544a57ed9d7ddb3db3543268e51394875
[ "MIT" ]
null
null
null
assessment/assess/models.py
powderflask/django_assess
cff25c0544a57ed9d7ddb3db3543268e51394875
[ "MIT" ]
null
null
null
assessment/assess/models.py
powderflask/django_assess
cff25c0544a57ed9d7ddb3db3543268e51394875
[ "MIT" ]
null
null
null
import datetime, statistics, bisect, os from django.utils.functional import cached_property from django.urls import reverse from django.db import models from django.contrib.auth import get_user_model from django.core.exceptions import ValidationError from assessment import settings from assessment.builder.models import...
43.710472
136
0.66853
2,469
21,287
5.592548
0.172539
0.025348
0.011153
0.011081
0.304171
0.238195
0.186559
0.168308
0.134994
0.1229
0
0.00136
0.240241
21,287
486
137
43.800412
0.852408
0.21196
0
0.247649
0
0
0.09853
0.028047
0
0
0
0
0.00627
1
0.188088
false
0
0.043887
0.065831
0.551724
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
8aaffe4e8b2447fa58a27af13422e2214cbb8043
3,603
py
Python
experiment_9/morwilog_v10/morwilog_main.py
julio-navarro-lara/thesis_scripts
dab1faabd6004389aadb082d63b10bae848bf1c8
[ "Apache-2.0" ]
2
2020-09-25T16:34:43.000Z
2021-07-05T06:38:18.000Z
experiment_9/morwilog_v10/morwilog_main.py
julio-navarro-lara/thesis_scripts
dab1faabd6004389aadb082d63b10bae848bf1c8
[ "Apache-2.0" ]
null
null
null
experiment_9/morwilog_v10/morwilog_main.py
julio-navarro-lara/thesis_scripts
dab1faabd6004389aadb082d63b10bae848bf1c8
[ "Apache-2.0" ]
null
null
null
#Copyright 2018 Julio Navarro #Built at the University of Strasbourg (France). CSTB team @ ICube laboratory #23/10/2018 from phase1_read_data import * from phase2_execution import * import time #log_positions # pos_id = 0 # pos_timestamp = 1 # pos_origin = 2 # pos_service = 3 # pos_source = 4 # pos_destination = 5 # ...
32.169643
128
0.708576
505
3,603
4.687129
0.29901
0.074356
0.121673
0.088297
0.465991
0.465991
0.420786
0.326996
0.286861
0.268272
0
0.063341
0.154316
3,603
111
129
32.459459
0.713489
0.621427
0
0
0
0
0.204598
0.05977
0
0
0
0
0
0
null
null
0
0.088235
null
null
0.264706
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
8ab79b8b2fdcb7105801cf9ac36806ec067053bf
663
py
Python
apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/mass_mailing/models/res_config.py
gtfarng/Odoo_migrade
9cc28fae4c379e407645248a29d22139925eafe7
[ "Apache-2.0" ]
1
2019-12-19T01:53:13.000Z
2019-12-19T01:53:13.000Z
apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/mass_mailing/models/res_config.py
gtfarng/Odoo_migrade
9cc28fae4c379e407645248a29d22139925eafe7
[ "Apache-2.0" ]
null
null
null
apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/mass_mailing/models/res_config.py
gtfarng/Odoo_migrade
9cc28fae4c379e407645248a29d22139925eafe7
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import fields, models class MassMailingConfiguration(models.TransientModel): _name = 'mass.mailing.config.settings' _inherit = 'res.config.settings' group_mass_mailing_campaign = fields.Selection...
39
79
0.720965
79
663
5.886076
0.670886
0.141935
0.103226
0.103226
0
0
0
0
0
0
0
0.005455
0.170437
663
16
80
41.4375
0.84
0.14178
0
0
0
0
0.427562
0.120141
0
0
0
0
0
1
0
false
0
0.1
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
0
0
0
0
1
0
0
1
8aba0aae5cf350a5f630e030fd6cab9615aa24ce
636
py
Python
backend/dynamicanalysis/utils/__init__.py
IsmatAl/thesisProject
1134ae3727d489f606e99625b14897a766409b73
[ "Apache-2.0" ]
1
2021-07-03T16:44:18.000Z
2021-07-03T16:44:18.000Z
backend/dynamicanalysis/utils/__init__.py
IsmatAl/thesisProject
1134ae3727d489f606e99625b14897a766409b73
[ "Apache-2.0" ]
null
null
null
backend/dynamicanalysis/utils/__init__.py
IsmatAl/thesisProject
1134ae3727d489f606e99625b14897a766409b73
[ "Apache-2.0" ]
null
null
null
import importlib from dynamicanalysis.settings import STATIC_FILES import os from pathlib import Path def stripExt(fileName): return fileName[:fileName.rindex('.')] def getFunc(id, pyFileName, entry): spec = importlib.util.spec_from_file_location( "converted", STATIC_FILES / id / (pyFileName + '.py'...
25.44
62
0.680818
80
636
5.275
0.475
0.104265
0.092417
0
0
0
0
0
0
0
0
0
0.20912
636
24
63
26.5
0.838966
0
0
0
0
0
0.02044
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.055556
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8abbe863972e2772a76c9a0085df86cc19ad51bd
403
py
Python
soluciones/problema10.py
hernan-erasmo/project-euler
d68aa90c5fe2bf733bec54af5a786a2c144783bc
[ "Unlicense" ]
null
null
null
soluciones/problema10.py
hernan-erasmo/project-euler
d68aa90c5fe2bf733bec54af5a786a2c144783bc
[ "Unlicense" ]
null
null
null
soluciones/problema10.py
hernan-erasmo/project-euler
d68aa90c5fe2bf733bec54af5a786a2c144783bc
[ "Unlicense" ]
null
null
null
"""Se va notando la baja performance de es_primo con numeros altos. Si sigue habiendo ejercicios de numeros primos cada vez mas grandes, va a haber que ir pensando en una implementacion mas rapida""" def main(): n = 3 suma = 0 while n < 2000000: if mf.es_primo(n): print n suma += n n += 2 print "Suma:...
20.15
74
0.679901
68
403
3.867647
0.705882
0.053232
0
0
0
0
0
0
0
0
0
0.03537
0.228288
403
19
75
21.210526
0.810289
0
0
0
0
0
0.068966
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.166667
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
8ac0fff1dc75f972bced18bb9af5d5c783f219f8
242
py
Python
src/orders/forms.py
vladimir-grigoriev/python_curse
2ec55f453f29892bfbd8ba2d4f0712f7c0263ec2
[ "Apache-2.0" ]
null
null
null
src/orders/forms.py
vladimir-grigoriev/python_curse
2ec55f453f29892bfbd8ba2d4f0712f7c0263ec2
[ "Apache-2.0" ]
null
null
null
src/orders/forms.py
vladimir-grigoriev/python_curse
2ec55f453f29892bfbd8ba2d4f0712f7c0263ec2
[ "Apache-2.0" ]
null
null
null
from django.forms import ModelForm from .models import Order class OrderForm(ModelForm): class Meta: model = Order fields = [ 'fio', 'phone', 'email', 'delivery' ]
17.285714
34
0.495868
21
242
5.714286
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.417355
242
14
35
17.285714
0.851064
0
0
0
0
0
0.08642
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.363636
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8ac1c412373a3b66b1c3510132be6d9162f5232a
3,412
py
Python
discrete_probability/new/probability_distribution.py
DiscreteProbability/DiscreteProbability
58711a7c2f448fd8a20ef386ef66f1f8bde3dd1b
[ "Apache-1.1" ]
null
null
null
discrete_probability/new/probability_distribution.py
DiscreteProbability/DiscreteProbability
58711a7c2f448fd8a20ef386ef66f1f8bde3dd1b
[ "Apache-1.1" ]
2
2017-07-12T16:26:35.000Z
2017-07-13T11:08:15.000Z
discrete_probability/new/probability_distribution.py
DiscreteProbability/DiscreteProbability
58711a7c2f448fd8a20ef386ef66f1f8bde3dd1b
[ "Apache-1.1" ]
null
null
null
from fractions import Fraction import operator import pandas as pd import numpy as np from abc import ABCMeta, abstractmethod from probability.concept.random_variable import RandomVariable, SetOfRandomVariable from typing import Callable def joint_distribution(data): from probability.new.joint_distribution impo...
32.188679
122
0.662368
377
3,412
5.877984
0.297082
0.036101
0.043321
0.018051
0.129061
0.129061
0.129061
0.094765
0.094765
0.094765
0
0.0023
0.235346
3,412
105
123
32.495238
0.847068
0.106975
0
0.098361
0
0
0.049329
0.046309
0
0
0
0
0
1
0.163934
false
0
0.131148
0.04918
0.508197
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
8ac49f92608e6fe799509f5836859fb4bf6cc42c
429
py
Python
backend/device_registry/migrations/0019_device_fallback_token.py
ealmonte32/api
702254c48677cf5a6f2fe298bced854299868eef
[ "MIT" ]
null
null
null
backend/device_registry/migrations/0019_device_fallback_token.py
ealmonte32/api
702254c48677cf5a6f2fe298bced854299868eef
[ "MIT" ]
7
2020-12-04T22:01:16.000Z
2022-02-10T09:47:59.000Z
backend/device_registry/migrations/0019_device_fallback_token.py
ealmonte32/api
702254c48677cf5a6f2fe298bced854299868eef
[ "MIT" ]
2
2020-12-21T20:01:54.000Z
2021-01-13T07:08:01.000Z
# Generated by Django 2.1.7 on 2019-04-30 17:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('device_registry', '0018_auto_20190426_0619'), ] operations = [ migrations.AddField( model_name='device', name='fallb...
22.578947
79
0.620047
47
429
5.510638
0.851064
0
0
0
0
0
0
0
0
0
0
0.107595
0.263403
429
18
80
23.833333
0.712025
0.104895
0
0
1
0
0.151832
0.060209
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8acc4a0746de4c5f7896df2ed7e0ea778e82075c
2,770
py
Python
test-suite/generated-src/python/dh__set_interface_Conflict.py
ubook-editora/finn
9a2b0e442c94e7311f85d2892dd33b1e3579bb1f
[ "Apache-2.0" ]
3
2019-11-07T03:38:03.000Z
2020-03-28T10:24:40.000Z
test-suite/generated-src/python/dh__set_interface_Conflict.py
ubook-editora/finn
9a2b0e442c94e7311f85d2892dd33b1e3579bb1f
[ "Apache-2.0" ]
null
null
null
test-suite/generated-src/python/dh__set_interface_Conflict.py
ubook-editora/finn
9a2b0e442c94e7311f85d2892dd33b1e3579bb1f
[ "Apache-2.0" ]
2
2020-12-01T18:39:26.000Z
2021-02-04T03:55:31.000Z
# AUTOGENERATED FILE - DO NOT MODIFY! # This file generated by Djinni from test.djinni from djinni.support import MultiSet # default imported in all files from djinni.exception import CPyException # default imported in all files from djinni.pycffi_marshal import CPyObject, CPyObjectProxy from Conflict import Conflict...
39.014085
125
0.738267
322
2,770
5.97205
0.31677
0.018201
0.029121
0.088404
0.231929
0.134165
0.098804
0
0
0
0
0.000446
0.190253
2,770
70
126
39.571429
0.856888
0.08556
0
0.037037
1
0
0.098536
0.016621
0
0
0
0
0.055556
1
0.166667
false
0
0.111111
0.018519
0.407407
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
8ad2e83e8d3bbb1760080bad35024b65b7e99bdf
36,820
py
Python
venv/Lib/site-packages/tencentcloud/partners/v20180321/models.py
Lparksi/bot
8a38953d09436b60e8edff4ebe86bf19fe3b7046
[ "MIT" ]
3
2020-03-31T10:36:31.000Z
2020-04-23T12:01:10.000Z
venv/Lib/site-packages/tencentcloud/partners/v20180321/models.py
Lparksi/bot
8a38953d09436b60e8edff4ebe86bf19fe3b7046
[ "MIT" ]
1
2020-07-16T14:51:26.000Z
2020-07-30T12:46:55.000Z
venv/Lib/site-packages/tencentcloud/partners/v20180321/models.py
Lparksi/bot
8a38953d09436b60e8edff4ebe86bf19fe3b7046
[ "MIT" ]
null
null
null
# -*- coding: utf8 -*- # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses...
28.810642
111
0.610999
3,625
36,820
6.151724
0.124414
0.075471
0.018251
0.026547
0.627489
0.565785
0.494305
0.485561
0.458879
0.442377
0
0.004379
0.286828
36,820
1,278
112
28.810642
0.844853
0.371429
0
0.723866
0
0
0.084099
0
0
0
0
0
0
1
0.145957
false
0
0.001972
0
0.220907
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8ad4127ce8c075e4472af990b46db5850feaddde
837
py
Python
users/migrations/0001_initial.py
Ab1gor/cardsite
3da8b998d093fd2b788a28bf8bc0cf09a43023c3
[ "BSD-3-Clause" ]
1
2019-03-12T06:33:21.000Z
2019-03-12T06:33:21.000Z
users/migrations/0001_initial.py
Ab1gor/cardsite
3da8b998d093fd2b788a28bf8bc0cf09a43023c3
[ "BSD-3-Clause" ]
4
2021-03-18T20:48:41.000Z
2022-01-13T00:49:58.000Z
users/migrations/0001_initial.py
Ab1gor/cardsite
3da8b998d093fd2b788a28bf8bc0cf09a43023c3
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.0.7 on 2018-07-17 08:12 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_max_length'), ] operations =...
31
156
0.630824
97
837
5.309278
0.608247
0.069903
0.054369
0.085437
0.135922
0.135922
0.135922
0
0
0
0
0.04127
0.247312
837
26
157
32.192308
0.77619
0.053763
0
0
1
0
0.117722
0.04557
0
0
0
0
0
1
0
false
0
0.157895
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
76d1af702f66be9827c950093b6a62c1969b888e
401
py
Python
baekjoon/python/four_numbers_10824.py
yskang/AlgorithmPractice
31b76e38b4c2f1e3e29fb029587662a745437912
[ "MIT" ]
null
null
null
baekjoon/python/four_numbers_10824.py
yskang/AlgorithmPractice
31b76e38b4c2f1e3e29fb029587662a745437912
[ "MIT" ]
1
2019-11-04T06:44:04.000Z
2019-11-04T06:46:55.000Z
baekjoon/python/four_numbers_10824.py
yskang/AlgorithmPractice
31b76e38b4c2f1e3e29fb029587662a745437912
[ "MIT" ]
null
null
null
# Title: 네 수 # Link: https://www.acmicpc.net/problem/10824 import sys sys.setrecursionlimit(10 ** 6) read_list_int = lambda: list(map(int, sys.stdin.readline().strip().split(' '))) def solution(nums: list): return int(nums[0] + nums[1]) + int(nums[2] + nums[3]) def main(): nums = sys.stdin.readline().str...
19.095238
79
0.63591
58
401
4.224138
0.62069
0.065306
0.130612
0.171429
0.212245
0
0
0
0
0
0
0.035714
0.162095
401
21
80
19.095238
0.693452
0.134663
0
0
0
0
0.028986
0
0
0
0
0
0
1
0.2
false
0
0.1
0.1
0.4
0.1
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
76d3af661ff211a29aaaf14b193ae33c9b8b124e
1,351
py
Python
examples/channel.py
sacOO7/socketcluster-client-python
aac7f395847f32c031a94815526167d337c54ce7
[ "MIT" ]
51
2016-12-09T14:35:16.000Z
2021-09-24T21:39:43.000Z
examples/channel.py
sacOO7/socketcluster-client-python
aac7f395847f32c031a94815526167d337c54ce7
[ "MIT" ]
19
2017-01-03T10:41:42.000Z
2021-04-29T06:33:57.000Z
examples/channel.py
sacOO7/socketcluster-client-python
aac7f395847f32c031a94815526167d337c54ce7
[ "MIT" ]
19
2017-02-06T18:43:29.000Z
2021-09-26T02:15:17.000Z
from socketclusterclient import Socketcluster def onconnect(socket): print "on connect got called" def ondisconnect(socket): print "on disconnect got called" def onConnectError(socket, error): print "On connect error got called" def onSetAuthentication(socket, token): print "Token received " + t...
22.898305
75
0.711325
142
1,351
6.711268
0.380282
0.022036
0.037775
0.062959
0.165792
0.100735
0.100735
0
0
0
0
0.00365
0.188749
1,351
58
76
23.293103
0.865876
0
0
0.09375
0
0
0.211852
0.025185
0
0
0
0
0
0
null
null
0
0.03125
null
null
0.28125
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
76d89352cbbb3a6e60ad6050c5dd7c182d0eb7f3
903
py
Python
extra_tests/snippets/extra_bool_eval.py
mainsail-org/RustPython
5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127
[ "CC-BY-4.0", "MIT" ]
11,058
2018-05-29T07:40:06.000Z
2022-03-31T11:38:42.000Z
extra_tests/snippets/extra_bool_eval.py
mainsail-org/RustPython
5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127
[ "CC-BY-4.0", "MIT" ]
2,105
2018-06-01T10:07:16.000Z
2022-03-31T14:56:42.000Z
extra_tests/snippets/extra_bool_eval.py
mainsail-org/RustPython
5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127
[ "CC-BY-4.0", "MIT" ]
914
2018-07-27T09:36:14.000Z
2022-03-31T19:56:34.000Z
# Python carefully avoids evaluating bools more than once in a variety of situations. # Eg: # In the statement # if a or b: # it doesn't simply compute (a or b) and then evaluate the result to decide whether to # jump. If a is true it jumps directly to the body of the if statement. # We can confirm that this behaviour...
26.558824
86
0.704319
140
903
4.485714
0.471429
0.063694
0.100318
0.124204
0.130573
0.130573
0.130573
0.130573
0
0
0
0
0.231451
903
33
87
27.363636
0.904899
0.496124
0
0.133333
0
0
0
0
0
0
0
0
0.133333
1
0.133333
false
0.133333
0
0
0.266667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
76da80f233363957ae1cead9b6103bd9f5478c79
1,405
py
Python
rps/examples/Finite_Time_Barriers/main.py
mohitsrinivasan/Barrier_MotionPlanning
4ed5cb1b161626cabdb2876e1081899b65d1c733
[ "MIT" ]
10
2020-08-09T17:36:18.000Z
2021-10-05T23:24:20.000Z
rps/examples/Finite_Time_Barriers/main.py
mohitsrinivasan/Barrier_MotionPlanning
4ed5cb1b161626cabdb2876e1081899b65d1c733
[ "MIT" ]
null
null
null
rps/examples/Finite_Time_Barriers/main.py
mohitsrinivasan/Barrier_MotionPlanning
4ed5cb1b161626cabdb2876e1081899b65d1c733
[ "MIT" ]
3
2020-10-27T04:43:57.000Z
2022-01-07T13:53:47.000Z
import rps.robotarium as robotarium from rps.utilities import * from rps.utilities.barrier_certificates import * from rps.utilities.controllers import * from rps.utilities.transformations import * from reachGoal import reachGoal from matplotlib import patches import numpy as np import time N = 1 initial_conditions = n...
31.222222
126
0.730961
216
1,405
4.513889
0.453704
0.028718
0.065641
0.067692
0.041026
0
0
0
0
0
0
0.018884
0.170819
1,405
45
127
31.222222
0.818026
0.18363
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
76dc1b9a2af1a91ab53b283d667911077f581694
794
py
Python
accounts/migrations/0006_phonenumberverification.py
xNovax/RoomScout
287240a9d13f2b8f6ce9abdc95cf611671970fc3
[ "MIT" ]
24
2020-02-01T17:22:47.000Z
2020-10-24T19:49:36.000Z
accounts/migrations/0006_phonenumberverification.py
xNovax/RoomScout
287240a9d13f2b8f6ce9abdc95cf611671970fc3
[ "MIT" ]
16
2020-02-01T14:30:15.000Z
2020-08-13T20:49:56.000Z
accounts/migrations/0006_phonenumberverification.py
aaronspindler/RoomScout
287240a9d13f2b8f6ce9abdc95cf611671970fc3
[ "MIT" ]
6
2020-02-01T22:07:46.000Z
2021-03-05T14:05:27.000Z
# Generated by Django 2.2.4 on 2019-09-03 21:31 import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0005_delete_phonenumberverification'), ] operations = [ migrati...
33.083333
118
0.633501
83
794
5.951807
0.626506
0.048583
0.05668
0.089069
0
0
0
0
0
0
0
0.034884
0.241814
794
23
119
34.521739
0.785714
0.056675
0
0
1
0
0.120482
0.077644
0
0
0
0
0
1
0
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
76de466de1c8fd5915e9d2d079087377f6b53936
9,350
py
Python
Parser/types.py
SwirtaB/TKOM_Language-Interpreter
e12dcf309db2736c04d8c561f4ac34efd192e0bc
[ "MIT" ]
null
null
null
Parser/types.py
SwirtaB/TKOM_Language-Interpreter
e12dcf309db2736c04d8c561f4ac34efd192e0bc
[ "MIT" ]
null
null
null
Parser/types.py
SwirtaB/TKOM_Language-Interpreter
e12dcf309db2736c04d8c561f4ac34efd192e0bc
[ "MIT" ]
null
null
null
from Parser.ast import INode from collections import namedtuple Parameter = namedtuple("Parameter", ["type", "identifier"]) class Program(INode): def __init__(self, functionDefList: list, defineStatementList: list) -> None: self.functionDefList = functionDefList self.defineStatem...
33.156028
101
0.621925
958
9,350
5.875783
0.099165
0.05223
0.034109
0.045479
0.480902
0.428495
0.363653
0.283887
0.230947
0.171256
0
0.000146
0.26631
9,350
282
102
33.156028
0.820408
0
0
0.4375
0
0
0.164154
0.102128
0
0
0
0
0
1
0.269231
false
0
0.009615
0.048077
0.471154
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
76f25f6541f2ec661438a229c4edfbae4daabb19
1,532
py
Python
services/document-manager/backend/app/docman/models/document.py
parc-jason/mds
8f181a429442208a061ed72065b71e6c2bd0f76f
[ "Apache-2.0" ]
null
null
null
services/document-manager/backend/app/docman/models/document.py
parc-jason/mds
8f181a429442208a061ed72065b71e6c2bd0f76f
[ "Apache-2.0" ]
null
null
null
services/document-manager/backend/app/docman/models/document.py
parc-jason/mds
8f181a429442208a061ed72065b71e6c2bd0f76f
[ "Apache-2.0" ]
null
null
null
import uuid from datetime import datetime from sqlalchemy.dialects.postgresql import UUID from sqlalchemy.schema import FetchedValue from app.extensions import db from app.utils.models_mixins import AuditMixin, Base class Document(AuditMixin, Base): __tablename__ = 'document' document_id = db.Column(db.Inte...
36.47619
84
0.703003
196
1,532
5.209184
0.331633
0.094025
0.058766
0.047013
0.160627
0.160627
0.064643
0
0
0
0
0.009844
0.204308
1,532
41
85
37.365854
0.827728
0
0
0
0
0
0.081593
0.013708
0
0
0
0
0
1
0.088235
false
0
0.176471
0.058824
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
76f7d032b1d10e587ff65d98f38813953b48ff97
1,595
py
Python
experimental_rnn/complex_util.py
entn-at/bmilde_unspeech
e2b48e471d2fea2bbec2f29a77f746ddd6f70338
[ "Apache-2.0" ]
1
2019-09-19T06:17:02.000Z
2019-09-19T06:17:02.000Z
experimental_rnn/complex_util.py
entn-at/bmilde_unspeech
e2b48e471d2fea2bbec2f29a77f746ddd6f70338
[ "Apache-2.0" ]
null
null
null
experimental_rnn/complex_util.py
entn-at/bmilde_unspeech
e2b48e471d2fea2bbec2f29a77f746ddd6f70338
[ "Apache-2.0" ]
null
null
null
'''code originally from khaotik at https://github.com/khaotik/char-rnn-tensorflow to be modified by leavesbreathe''' import tensorflow as tf from math import pi def abs2_c(z): return tf.real(z)*tf.real(z)+tf.imag(z)*tf.imag(z) def complex_mul_real( z, r ): return tf.complex(tf.real(z)*r, tf.imag(z)*r) def ...
32.55102
100
0.687147
264
1,595
3.969697
0.32197
0.025763
0.020038
0.048664
0.085878
0.085878
0.085878
0.085878
0
0
0
0.010622
0.173668
1,595
48
101
33.229167
0.784522
0.106583
0
0
0
0
0.065632
0
0
0
0
0
0
1
0.225806
false
0
0.064516
0.064516
0.516129
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
76f8bbbfddc56ba3002b1e813ec6671c0c9c5df0
15,629
py
Python
Lib/svpelab/dcsim_chroma_62000P.py
jayatsandia/svp_energy_lab
5fb7ac244f44e5a4c419ed7bae8b573bf2b7e31c
[ "Apache-2.0" ]
null
null
null
Lib/svpelab/dcsim_chroma_62000P.py
jayatsandia/svp_energy_lab
5fb7ac244f44e5a4c419ed7bae8b573bf2b7e31c
[ "Apache-2.0" ]
null
null
null
Lib/svpelab/dcsim_chroma_62000P.py
jayatsandia/svp_energy_lab
5fb7ac244f44e5a4c419ed7bae8b573bf2b7e31c
[ "Apache-2.0" ]
3
2020-04-05T08:28:21.000Z
2020-12-07T22:58:56.000Z
""" Copyright (c) 2017, Sandia National Labs and SunSpec Alliance All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of cond...
35.27991
108
0.586602
2,044
15,629
4.369374
0.174168
0.027433
0.019147
0.021162
0.418654
0.351136
0.271638
0.226402
0.188221
0.161796
0
0.013729
0.305586
15,629
442
109
35.359729
0.809177
0.070254
0
0.311024
0
0
0.13925
0.015896
0
0
0.00109
0
0
0
null
null
0
0.023622
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
76f974b3c63be3b11dafee67bc13d5f8faf55148
3,733
py
Python
infra/config/lint-luci-milo.py
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
infra/config/lint-luci-milo.py
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
infra/config/lint-luci-milo.py
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Checks that the main console and subconsole configs are consistent.""" import collections import difflib import json import os impo...
36.242718
80
0.711492
537
3,733
4.828678
0.324022
0.018897
0.021597
0.020825
0.075974
0.02931
0.02931
0.02931
0
0
0
0.004326
0.195017
3,733
102
81
36.598039
0.858569
0.317439
0
0.031746
0
0
0.086017
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.063492
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
0a003e5afab725d22540e03209ce153e26aaed95
594
py
Python
day04/test09.py
jaywoong/python
99daedd5a9418b72b2d5c3b800080e730eb9b3ea
[ "Apache-2.0" ]
null
null
null
day04/test09.py
jaywoong/python
99daedd5a9418b72b2d5c3b800080e730eb9b3ea
[ "Apache-2.0" ]
null
null
null
day04/test09.py
jaywoong/python
99daedd5a9418b72b2d5c3b800080e730eb9b3ea
[ "Apache-2.0" ]
null
null
null
# 변수(variable) 영역 import random data = 0 num = 0 # 함수(function) 영역 def func(): global num num = 200 data = 100 return data # 코드 영역 result = func() print(result) print(data) print(num) max_data = max(8,9,10,100,9000000) print(max_data) min_data = min(8,9,10,100,9000000) print(min_data) rnum = rando...
14.142857
47
0.631313
110
594
3.372727
0.527273
0.016173
0.032345
0.037736
0.102426
0.102426
0
0
0
0
0
0.174274
0.188552
594
41
48
14.487805
0.595436
0.132997
0
0
0
0
0.035644
0
0
0
0
0
0
1
0.035714
false
0
0.035714
0
0.107143
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
0
0
0
0
0
0
0
1
0
1
0a00ffec062b2e07b75e4665c57a207362cf3c58
1,033
py
Python
src/payment/tasks.py
cbsBiram/xarala__ssr
863e1362c786daa752b942b796f7a015211d2f1b
[ "FSFAP" ]
null
null
null
src/payment/tasks.py
cbsBiram/xarala__ssr
863e1362c786daa752b942b796f7a015211d2f1b
[ "FSFAP" ]
null
null
null
src/payment/tasks.py
cbsBiram/xarala__ssr
863e1362c786daa752b942b796f7a015211d2f1b
[ "FSFAP" ]
null
null
null
from io import BytesIO from celery import task import weasyprint from django.template.loader import render_to_string from django.core.mail import EmailMessage from django.conf import settings from order.models import Order @task def payment_completed(order_id): """ Task to send an e-mail notification when an ...
33.322581
83
0.717328
141
1,033
5.184397
0.475177
0.038304
0.038304
0
0
0
0
0
0
0
0
0
0.172314
1,033
30
84
34.433333
0.854971
0.133591
0
0
0
0
0.209862
0.025229
0
0
0
0
0
1
0.052632
false
0
0.368421
0
0.421053
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0a05c765e48d1984ac0da560ef8e2bc3dd8ca3a4
754
py
Python
lib/vtk_opener.py
L0SG/Liver_segmentation
178b2367cf606ba7d704e96f855389be4c1abd14
[ "MIT" ]
34
2019-02-04T07:35:11.000Z
2022-02-08T07:10:57.000Z
lib/vtk_opener.py
L0SG/Liver_segmentation
178b2367cf606ba7d704e96f855389be4c1abd14
[ "MIT" ]
null
null
null
lib/vtk_opener.py
L0SG/Liver_segmentation
178b2367cf606ba7d704e96f855389be4c1abd14
[ "MIT" ]
8
2019-03-28T04:07:25.000Z
2021-04-19T18:18:22.000Z
import os import numpy as np import scipy.misc import vtk from vtk import vtkStructuredPointsReader from vtk.util import numpy_support as VN from vtk.util.numpy_support import vtk_to_numpy #%% # load a vtk file as input reader = vtk.vtkPolyDataReader() reader.SetFileName("/home/tkdrlf9202/Datasets/snuh_HCC_sample_1807...
23.5625
87
0.777188
109
754
5.229358
0.550459
0.070175
0.038596
0
0
0
0
0
0
0
0
0.031157
0.106101
754
31
88
24.322581
0.81454
0.041114
0
0
0
0
0.093185
0.090403
0
0
0
0
0
1
0
false
0
0.409091
0
0.409091
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
0a0ba7e8be56fb9b91c8eafee49bb63d07a23164
2,975
py
Python
parsers/windows_persistence.py
scudette/grr
d4257c5259af881e28a7d62e9837fa13352e2bf6
[ "Apache-2.0" ]
6
2015-04-03T02:25:28.000Z
2021-11-17T21:42:59.000Z
parsers/windows_persistence.py
defaultnamehere/grr
ba1648b97a76f844ffb8e1891cc9e2680f9b1c6e
[ "Apache-2.0" ]
null
null
null
parsers/windows_persistence.py
defaultnamehere/grr
ba1648b97a76f844ffb8e1891cc9e2680f9b1c6e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """Parse various Windows persistence mechanisms into PersistenceFiles.""" import re from grr.lib import artifact_lib from grr.lib import parsers from grr.lib import rdfvalue from grr.lib import utils class WindowsPersistenceMechanismsParser(parsers.ArtifactFilesParser): """Turn various persi...
39.666667
77
0.697479
309
2,975
6.556634
0.427184
0.027147
0.019743
0.031589
0
0
0
0
0
0
0
0.004681
0.210084
2,975
74
78
40.202703
0.857447
0.17479
0
0.12
0
0
0.082784
0.020593
0
0
0
0.013514
0
1
0.08
false
0
0.1
0.02
0.32
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0a0e33168ae2d397b07f0caad9ecb10600586258
2,388
py
Python
flopy/mf6/modflow/mfgwfic.py
ritchie46/flopy
8e7284dcb3aaf5c12293d442248c2c2d9959f835
[ "CC0-1.0", "BSD-3-Clause" ]
3
2019-12-23T06:45:58.000Z
2021-01-06T20:14:58.000Z
flopy/mf6/modflow/mfgwfic.py
ritchie46/flopy
8e7284dcb3aaf5c12293d442248c2c2d9959f835
[ "CC0-1.0", "BSD-3-Clause" ]
2
2021-01-12T08:57:17.000Z
2021-01-21T18:06:12.000Z
flopy/mf6/modflow/mfgwfic.py
ritchie46/flopy
8e7284dcb3aaf5c12293d442248c2c2d9959f835
[ "CC0-1.0", "BSD-3-Clause" ]
2
2020-01-03T17:14:39.000Z
2020-03-04T14:21:27.000Z
# DO NOT MODIFY THIS FILE DIRECTLY. THIS FILE MUST BE CREATED BY # mf6/utils/createpackages.py from .. import mfpackage from ..data.mfdatautil import ArrayTemplateGenerator class ModflowGwfic(mfpackage.MFPackage): """ ModflowGwfic defines a ic package within a gwf6 model. Parameters ---------- m...
41.894737
79
0.656198
305
2,388
5.059016
0.498361
0.028516
0.033053
0.023331
0
0
0
0
0
0
0
0.004025
0.271776
2,388
56
80
42.642857
0.883266
0.603015
0
0
0
0
0.174178
0
0
0
0
0
0
1
0.0625
false
0
0.125
0
0.5625
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
0a1793372993fd4b9b14695f9ace5c8d56ab1ec6
1,806
py
Python
app/main.py
bloxberg-org/cert-issuer
5dbdefaa8423ebf8dffb95c6492fc30ddebfd335
[ "MIT" ]
null
null
null
app/main.py
bloxberg-org/cert-issuer
5dbdefaa8423ebf8dffb95c6492fc30ddebfd335
[ "MIT" ]
null
null
null
app/main.py
bloxberg-org/cert-issuer
5dbdefaa8423ebf8dffb95c6492fc30ddebfd335
[ "MIT" ]
1
2021-01-14T10:40:31.000Z
2021-01-14T10:40:31.000Z
from typing import List, Optional from functools import lru_cache from fastapi import Depends, FastAPI from cert_tools import instantiate_v3_alpha_certificate_batch, create_v3_alpha_certificate_template from pydantic import BaseModel import configargparse import os app = FastAPI() @app.get("/") def read_root(): ...
36.857143
169
0.761351
183
1,806
7.213115
0.311475
0.047727
0.122727
0.109848
0.384091
0.292424
0.236364
0.236364
0.236364
0.236364
0
0.080497
0.153931
1,806
48
170
37.625
0.783377
0.032669
0
0
0
0
0.203322
0.13173
0
0
0.100802
0
0
1
0.081081
false
0
0.189189
0.027027
0.513514
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
0a198455fe33293db496bcd746f0dd40dff6250e
2,179
py
Python
ooobuild/lo/ui/dialogs/common_file_picker_element_ids.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/ui/dialogs/common_file_picker_element_ids.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/ui/dialogs/common_file_picker_element_ids.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
27.2375
164
0.673704
307
2,179
4.648208
0.485342
0.042046
0.03644
0.053259
0.19972
0.162579
0.137351
0.07288
0.07288
0.051857
0
0.022411
0.242313
2,179
79
165
27.582278
0.841914
0.453419
0
0
0
0
0.214433
0.204124
0
0
0
0
0
1
0
false
0
0
0
0.916667
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
0a1a2a3c593821c9502db8e60109059ee7f0bbcb
8,162
py
Python
mywork/DictCode.py
linbian/tqsdk-python
9333d69dd86228772febd6e4860006c665c092a9
[ "Apache-2.0" ]
null
null
null
mywork/DictCode.py
linbian/tqsdk-python
9333d69dd86228772febd6e4860006c665c092a9
[ "Apache-2.0" ]
null
null
null
mywork/DictCode.py
linbian/tqsdk-python
9333d69dd86228772febd6e4860006c665c092a9
[ "Apache-2.0" ]
null
null
null
SYMBOL_JSON = { "rb":{"sylbom":"RB0","name":"螺纹钢","contractSize":"10","exchangeName":"上期所","exchangeCode":"SHFE"}, "ag":{"sylbom":"AG0","name":"白银","contractSize":"15","exchangeName":"上期所","exchangeCode":"SHFE"}, "au":{"sylbom":"AU0","name":"黄金","contractSize":"1000","exchangeName":"上期所","exchangeCode":"SHF...
96.023529
155
0.590909
940
8,162
5.128723
0.289362
0.072599
0.134827
0.174238
0.624144
0.60921
0.226302
0.177764
0.109313
0
0
0.023431
0.058809
8,162
85
156
96.023529
0.60414
0.172507
0
0
0
0
0.579318
0
0
0
0
0
0
1
0.014706
false
0
0
0
0.014706
0.014706
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
0a1e58e09f4d6963292356a1d65ecfcffb0febd3
265
py
Python
digram/diagram.py
glstr/python_learning
243908d6f358764386f2e58dfbfde10a406d803c
[ "Apache-2.0" ]
2
2018-09-20T06:08:00.000Z
2018-09-26T13:57:20.000Z
digram/diagram.py
glstr/python_learning
243908d6f358764386f2e58dfbfde10a406d803c
[ "Apache-2.0" ]
null
null
null
digram/diagram.py
glstr/python_learning
243908d6f358764386f2e58dfbfde10a406d803c
[ "Apache-2.0" ]
1
2019-03-25T05:53:32.000Z
2019-03-25T05:53:32.000Z
#!/usr/bin/python #coding=utf-8 import numpy as np import matplotlib.pyplot as plt # evenly sampled time at 200ms intervals t = np.arange(0., 5., 0.2) # red dashes, blue squares and green triangles plt.plot(t, t, 'r--', t, t**2, 'bs', t, t**3, 'g^') plt.show()
18.928571
51
0.65283
50
265
3.46
0.74
0.034682
0
0
0
0
0
0
0
0
0
0.045249
0.166038
265
13
52
20.384615
0.737557
0.422642
0
0
0
0
0.047297
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
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
0a201385edcdbbe319143ab30aae19dccb897e6a
16,635
py
Python
Tools/RegistersGenerator/parser.py
ntsiopliakis/CortexLib
da33b8312de4d3547b28458b8e9c896c72211ed0
[ "MIT" ]
22
2019-09-07T22:38:01.000Z
2022-01-31T21:35:55.000Z
Tools/RegistersGenerator/parser.py
ntsiopliakis/CortexLib
da33b8312de4d3547b28458b8e9c896c72211ed0
[ "MIT" ]
null
null
null
Tools/RegistersGenerator/parser.py
ntsiopliakis/CortexLib
da33b8312de4d3547b28458b8e9c896c72211ed0
[ "MIT" ]
9
2019-09-22T11:26:24.000Z
2022-03-21T10:53:15.000Z
# # Copyright 2015 Paul Osborne <osbpau@gmail.com> # # 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...
42.328244
114
0.617493
1,819
16,635
5.33425
0.175921
0.032464
0.019788
0.016078
0.392559
0.285273
0.241884
0.222199
0.212924
0.204061
0
0.004317
0.289811
16,635
392
115
42.436224
0.816912
0.14746
0
0.304196
0
0
0.077757
0.005672
0
0
0
0.002551
0.003497
0
null
null
0
0.041958
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0a20b686a0a51b019ae816bb64fa4c462486aa4f
2,172
py
Python
experiments/simple.py
jcrickmer/pyvision
5aea7cd9a85d7d26196c375275e7bf00c27a8ac8
[ "MIT" ]
53
2015-03-10T06:20:50.000Z
2021-06-07T07:34:02.000Z
experiments/simple.py
jcrickmer/pyvision
5aea7cd9a85d7d26196c375275e7bf00c27a8ac8
[ "MIT" ]
1
2016-11-20T14:28:38.000Z
2016-11-20T14:28:38.000Z
experiments/simple.py
jcrickmer/pyvision
5aea7cd9a85d7d26196c375275e7bf00c27a8ac8
[ "MIT" ]
56
2015-02-10T20:49:42.000Z
2021-04-03T05:41:09.000Z
from vision import * from vision.track import interpolation from vision.alearn import linear as alearn from vision import visualize import os import multiprocessing name = "VIRAT_S_040104_05_000939_001116" root = os.path.dirname(os.path.abspath(__file__)) data = readpaths(open("{0}/{1}.txt".format(root, name))) pool =...
31.941176
73
0.612799
296
2,172
4.456081
0.341216
0.007582
0.018196
0.034117
0.355572
0.293404
0.218347
0.09856
0.09856
0.09856
0
0.045427
0.239871
2,172
67
74
32.41791
0.753483
0.152394
0
0.177778
0
0
0.155483
0.067103
0
0
0
0
0
0
null
null
0.044444
0.133333
null
null
0.133333
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
0a211707650ffca3cd796cdbaf98e6c20bcc6796
1,208
py
Python
taggit/views.py
fabioz/django-taggit
1d3f88e723f338f273cb3b9118b179d1166a49ac
[ "BSD-3-Clause" ]
1
2017-09-01T21:02:38.000Z
2017-09-01T21:02:38.000Z
taggit/views.py
fabioz/django-taggit
1d3f88e723f338f273cb3b9118b179d1166a49ac
[ "BSD-3-Clause" ]
null
null
null
taggit/views.py
fabioz/django-taggit
1d3f88e723f338f273cb3b9118b179d1166a49ac
[ "BSD-3-Clause" ]
null
null
null
from django.contrib.contenttypes.models import ContentType from django.shortcuts import get_object_or_404 from django.views.generic.list_detail import object_list from django.http import HttpResponse from django.utils import simplejson from django.utils.datastructures import MultiValueDictKeyError from taggit.models i...
41.655172
83
0.74255
159
1,208
5.45283
0.408805
0.069204
0.025375
0.032295
0
0
0
0
0
0
0
0.005854
0.15149
1,208
29
84
41.655172
0.84
0
0
0
0
0
0.063689
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
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
0a285ca949ca8ba3401fd617709ba3dc79166187
3,760
py
Python
mailmynet/Maildir/proxy_postfix/Twisted-11.0.0/doc/core/howto/listings/deferred/deferred_ex5.py
SPIN-UMass/SWEET
1b0f39222e7064f70812e3293ca023619295741d
[ "MIT" ]
3
2020-04-02T06:23:44.000Z
2020-08-13T20:32:31.000Z
mailmynet/Maildir/proxy_postfix/Twisted-11.0.0/doc/core/howto/listings/deferred/deferred_ex5.py
SPIN-UMass/SWEET
1b0f39222e7064f70812e3293ca023619295741d
[ "MIT" ]
null
null
null
mailmynet/Maildir/proxy_postfix/Twisted-11.0.0/doc/core/howto/listings/deferred/deferred_ex5.py
SPIN-UMass/SWEET
1b0f39222e7064f70812e3293ca023619295741d
[ "MIT" ]
1
2020-04-02T06:26:10.000Z
2020-04-02T06:26:10.000Z
#!/usr/bin/env python # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. from twisted.internet import defer from twisted.python import failure, util """ Now comes the more nuanced addCallbacks, which allows us to make a yes/no (branching) decision based on whether the result at a given point is ...
27.445255
75
0.567021
368
3,760
5.771739
0.307065
0.085687
0.131827
0.094162
0.508475
0.460452
0.426554
0.406309
0.406309
0.381827
0
0.002332
0.315691
3,760
136
76
27.647059
0.823164
0.114628
0
0.617021
0
0
0.13121
0.016879
0
0
0
0
0
0
null
null
0.042553
0.021277
null
null
0.12766
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
0a300336b8d49ecbda1903f1e3c41c59a07d561d
3,515
py
Python
json_pkt.py
dhylands/json-ipc
446e4d50a97137917ae4225f89f63b1db29eedd2
[ "MIT" ]
13
2017-03-01T05:58:30.000Z
2021-12-07T22:22:02.000Z
json_pkt.py
dhylands/json-ipc
446e4d50a97137917ae4225f89f63b1db29eedd2
[ "MIT" ]
1
2018-08-04T16:12:11.000Z
2018-08-04T16:12:11.000Z
json_pkt.py
dhylands/json-ipc
446e4d50a97137917ae4225f89f63b1db29eedd2
[ "MIT" ]
2
2018-12-04T06:40:48.000Z
2019-11-30T23:40:50.000Z
# This code should run fine on MicroPython or CPython. # # It allows objects which can be represented as JSON objects to be sent # between two python programs (running on the same or different computers). import json from dump_mem import dump_mem SOH = 0x01 STX = 0x02 ETX = 0x03 EOT = 0x04 # <SOH><LenLow><LenHigh><S...
33.160377
79
0.565292
476
3,515
3.97479
0.252101
0.110994
0.16649
0.200846
0.346195
0.346195
0.219345
0.15592
0.093552
0.093552
0
0.021459
0.337127
3,515
105
80
33.47619
0.790558
0.13542
0
0.178571
0
0
0.013409
0
0
0
0.01475
0
0
1
0.047619
false
0
0.02381
0
0.202381
0.02381
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
0a3031f90f65cd45942ff18616547eee08c3b038
1,045
py
Python
prepare_dataset/model.py
rmwu/SubGNN
a7bed73ba39206555622e992e2fee64ce903e7a8
[ "MIT" ]
107
2020-10-30T03:08:34.000Z
2022-03-31T03:32:00.000Z
prepare_dataset/model.py
rmwu/SubGNN
a7bed73ba39206555622e992e2fee64ce903e7a8
[ "MIT" ]
22
2020-10-29T12:58:18.000Z
2022-02-28T15:26:02.000Z
prepare_dataset/model.py
rmwu/SubGNN
a7bed73ba39206555622e992e2fee64ce903e7a8
[ "MIT" ]
22
2020-11-24T11:44:49.000Z
2022-03-15T07:16:33.000Z
# Pytorch import torch import torch.nn as nn from torch.nn import Linear, LayerNorm, ReLU from torch_geometric.nn import GINConv, GCNConv import torch.nn.functional as F # General import numpy as np import torch import utils device = torch.device('cuda' if torch.cuda.is_available() else 'cpu') class TrainNet(nn....
28.243243
69
0.629665
140
1,045
4.585714
0.371429
0.068536
0.046729
0.062305
0.037383
0
0
0
0
0
0
0.012937
0.260287
1,045
36
70
29.027778
0.817594
0.031579
0
0.08
0
0
0.01291
0
0
0
0
0
0
1
0.08
false
0
0.32
0
0.48
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
0a35af33639a4b06bb9a26256a98d6fe5d8124ff
329
py
Python
app/migrations/0026_remove_user_legacy_points.py
uwhvz/uwhvz
72805d0e55740c3d90251dd4b4e40bf5c9e296d1
[ "MIT" ]
2
2019-12-15T06:30:37.000Z
2020-01-26T23:12:27.000Z
app/migrations/0026_remove_user_legacy_points.py
uwhvz/uwhvz
72805d0e55740c3d90251dd4b4e40bf5c9e296d1
[ "MIT" ]
37
2020-01-22T02:36:32.000Z
2020-10-06T15:05:37.000Z
app/migrations/0026_remove_user_legacy_points.py
uwhvz/uwhvz
72805d0e55740c3d90251dd4b4e40bf5c9e296d1
[ "MIT" ]
2
2020-06-24T03:07:36.000Z
2020-06-24T03:10:46.000Z
# Generated by Django 2.2.8 on 2019-12-29 21:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app', '0025_auto_20191229_2034'), ] operations = [ migrations.RemoveField( model_name='user', name='legacy_points', ...
18.277778
47
0.592705
36
329
5.277778
0.833333
0
0
0
0
0
0
0
0
0
0
0.133621
0.294833
329
17
48
19.352941
0.685345
0.136778
0
0
1
0
0.152482
0.08156
0
0
0
0
0
1
0
false
0
0.090909
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a3782223fb68da666a5976961f1bf92579ad788
4,588
py
Python
config/pyconfig/GentooAMD64Config.py
perkinslr/Build.Dist
09f69864a5d3e8b252e1193055477f479a7d4f6c
[ "Zlib" ]
null
null
null
config/pyconfig/GentooAMD64Config.py
perkinslr/Build.Dist
09f69864a5d3e8b252e1193055477f479a7d4f6c
[ "Zlib" ]
1
2022-03-14T03:06:09.000Z
2022-03-14T03:06:09.000Z
config/pyconfig/GentooAMD64Config.py
jlpoolen/Build.Dist
80f7cd9910f9f9a6e975ed12f5bcf98772dffb1f
[ "Zlib" ]
null
null
null
import os import uuid from .BaseConfig import Base, UUID UUIDs = [UUID] for idx in range(1, 4): if os.path.exists(p := os.path.join(os.environ['PROJECT_DIR'], f'uuid-p{idx}')): with open(p) as f: UUIDs.append(f.read()) else: UUIDs.append(str(uuid.uuid4())) with open(p, 'w')...
31.861111
120
0.449215
439
4,588
4.683371
0.464692
0.01751
0.019455
0.026265
0.271401
0.215467
0.171693
0.171693
0.171693
0.114786
0
0.059322
0.357018
4,588
143
121
32.083916
0.637627
0
0
0.194245
0
0.007194
0.430907
0.078684
0
0
0
0
0
0
null
null
0.021583
0.021583
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0a3d30f4d0e879e517860631a2cfaa6b9b9b268d
3,330
py
Python
mayan/apps/document_indexing/tasks.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
2
2021-09-12T19:41:19.000Z
2021-09-12T19:41:20.000Z
mayan/apps/document_indexing/tasks.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
37
2021-09-13T01:00:12.000Z
2021-10-02T03:54:30.000Z
mayan/apps/document_indexing/tasks.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
1
2021-09-22T13:17:30.000Z
2021-09-22T13:17:30.000Z
import logging from django.apps import apps from django.db import OperationalError from mayan.apps.lock_manager.exceptions import LockError from mayan.celery import app from .settings import setting_task_retry logger = logging.getLogger(name=__name__) @app.task( bind=True, default_retry_delay=se...
30.833333
79
0.656757
373
3,330
5.675603
0.252011
0.025508
0.03401
0.042513
0.649504
0.63864
0.63864
0.63864
0.63864
0.614077
0
0.00041
0.267568
3,330
107
80
31.121495
0.867569
0.080781
0
0.6
0
0
0.088565
0
0
0
0
0
0
1
0.047059
false
0.011765
0.070588
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a3de1889e888816bc10f4f1b6234a8b62be38e6
2,129
py
Python
tests/schema/test_update_end_transaction_id.py
vhermecz/sqlalchemy-continuum
ce18c2ed4a5b7dbb2cb7b821f52ffe05f5202a38
[ "BSD-3-Clause" ]
401
2015-01-08T12:18:26.000Z
2022-03-19T03:56:02.000Z
tests/schema/test_update_end_transaction_id.py
vhermecz/sqlalchemy-continuum
ce18c2ed4a5b7dbb2cb7b821f52ffe05f5202a38
[ "BSD-3-Clause" ]
171
2015-01-16T14:26:37.000Z
2022-03-19T03:49:36.000Z
tests/schema/test_update_end_transaction_id.py
vhermecz/sqlalchemy-continuum
ce18c2ed4a5b7dbb2cb7b821f52ffe05f5202a38
[ "BSD-3-Clause" ]
107
2015-02-05T06:56:35.000Z
2022-03-18T10:46:16.000Z
from sqlalchemy_continuum import version_class from sqlalchemy_continuum.schema import update_end_tx_column from tests import TestCase class TestSchemaTools(TestCase): versioning_strategy = 'validity' def _insert(self, values): table = version_class(self.Article).__table__ stmt = table.insert...
29.985915
67
0.505402
219
2,129
4.652968
0.228311
0.216879
0.09421
0.038273
0.473013
0.296369
0.157017
0.157017
0.157017
0
0
0.029457
0.394082
2,129
70
68
30.414286
0.760465
0
0
0.261538
0
0
0.144669
0
0
0
0
0
0.153846
1
0.030769
false
0
0.046154
0
0.107692
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a4264615c63b82486aa09229cea795cfa31c182
2,701
py
Python
import_export_batches/urls.py
jonsanchez/WeVoteServer
a321182e2e39aa9cc33e949a4ca25a7dc633977f
[ "MIT" ]
null
null
null
import_export_batches/urls.py
jonsanchez/WeVoteServer
a321182e2e39aa9cc33e949a4ca25a7dc633977f
[ "MIT" ]
null
null
null
import_export_batches/urls.py
jonsanchez/WeVoteServer
a321182e2e39aa9cc33e949a4ca25a7dc633977f
[ "MIT" ]
null
null
null
# import_export_batches/urls.py # Brought to you by We Vote. Be good. # -*- coding: UTF-8 -*- from django.conf.urls import url from . import views_admin urlpatterns = [ url(r'^$', views_admin.batches_home_view, name='batches_home',), url(r'^batch_action_list/$', views_admin.batch_action_list_view, name='bat...
60.022222
116
0.781933
399
2,701
4.701754
0.122807
0.11194
0.16791
0.05597
0.811301
0.378998
0.1871
0.129531
0
0
0
0.000413
0.104036
2,701
44
117
61.386364
0.774793
0.099593
0
0
0
0
0.4
0.325361
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a45e98333ff4f24b600cf3c1d4c95b40eaebe24
19,508
py
Python
qiskit_metal/renderers/renderer_mpl/mpl_renderer.py
bicycle315/Qiskit-Metal
41790052d79de0cad94e8c716e6ca1316164fa02
[ "Apache-2.0" ]
null
null
null
qiskit_metal/renderers/renderer_mpl/mpl_renderer.py
bicycle315/Qiskit-Metal
41790052d79de0cad94e8c716e6ca1316164fa02
[ "Apache-2.0" ]
null
null
null
qiskit_metal/renderers/renderer_mpl/mpl_renderer.py
bicycle315/Qiskit-Metal
41790052d79de0cad94e8c716e6ca1316164fa02
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2017, 2021. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any...
36.531835
104
0.568485
2,299
19,508
4.710744
0.219226
0.011634
0.01385
0.00591
0.249123
0.217267
0.201754
0.169344
0.161865
0.161865
0
0.011394
0.334171
19,508
534
105
36.531835
0.822388
0.341091
0
0.232558
0
0
0.044014
0.003521
0
0
0
0.011236
0
1
0.077519
false
0
0.120155
0
0.25969
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0a48c0e7877cc911029ca656af046b3b0cb1ee40
10,558
py
Python
AppServer/google/appengine/ext/deferred/deferred.py
loftwah/appscale
586fc1347ebc743d7a632de698f4dbfb09ae38d6
[ "Apache-2.0" ]
790
2015-01-03T02:13:39.000Z
2020-05-10T19:53:57.000Z
AppServer/google/appengine/ext/deferred/deferred.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
1,361
2015-01-08T23:09:40.000Z
2020-04-14T00:03:04.000Z
AppServer/google/appengine/ext/deferred/deferred.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
155
2015-01-08T22:59:31.000Z
2020-04-08T08:01:53.000Z
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
31.993939
80
0.724569
1,496
10,558
5.032086
0.280749
0.019926
0.013815
0.011955
0.18119
0.134166
0.095643
0.074389
0.054995
0.048353
0
0.005036
0.191324
10,558
329
81
32.091185
0.876669
0.088558
0
0.161616
0
0
0.099923
0.011786
0
0
0
0
0
0
null
null
0
0.080808
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0a4fe2a297efdd3bd3bffac7d7c40b5d88858827
1,191
py
Python
RevitPyCVC/Outils/copier_gabarits_vues.py
Nahouhak/pythoncvc.net
c860c8b656e94b5e9cbe45eda055e4b8a0414a84
[ "MIT" ]
6
2018-12-06T07:30:35.000Z
2020-11-19T13:16:29.000Z
RevitPyCVC/Outils/copier_gabarits_vues.py
CyrilWaechter/pythoncvc.net
c860c8b656e94b5e9cbe45eda055e4b8a0414a84
[ "MIT" ]
2
2016-10-01T22:34:10.000Z
2017-03-11T10:08:46.000Z
RevitPyCVC/Outils/copier_gabarits_vues.py
Nahouhak/pythoncvc.net
c860c8b656e94b5e9cbe45eda055e4b8a0414a84
[ "MIT" ]
9
2019-07-28T08:14:11.000Z
2022-01-24T22:20:37.000Z
from Autodesk.Revit.DB import * from Autodesk.Revit.DB.Architecture import * from Autodesk.Revit.DB.Analysis import * from System.Collections.Generic import * uidoc = __revit__.ActiveUIDocument doc = __revit__.ActiveUIDocument.Document getselection = uidoc.Selection.GetElementIds app = __revit__.Application from Aut...
25.891304
98
0.740554
164
1,191
5.243902
0.591463
0.069767
0.098837
0.066279
0.116279
0
0
0
0
0
0
0.002976
0.153652
1,191
45
99
26.466667
0.849206
0.106633
0
0.054054
0
0
0.043396
0
0
0
0
0
0
0
null
null
0
0.189189
null
null
0.054054
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
0a54373ff65c23e6585ce1af2cd99f953bf94ea1
6,216
py
Python
Fig_4/aligner_257Dimer.py
nimitjainFireLab/JainEtAl_T7rnaReplication
1a6111ee70cd99ec531a92f49e7fe8a0f1de0145
[ "MIT" ]
null
null
null
Fig_4/aligner_257Dimer.py
nimitjainFireLab/JainEtAl_T7rnaReplication
1a6111ee70cd99ec531a92f49e7fe8a0f1de0145
[ "MIT" ]
null
null
null
Fig_4/aligner_257Dimer.py
nimitjainFireLab/JainEtAl_T7rnaReplication
1a6111ee70cd99ec531a92f49e7fe8a0f1de0145
[ "MIT" ]
null
null
null
import sys import itertools from moduleUsefulFunctions_20180215 import * def returnNumberMutations(alignInfoList): numberMutations=0 for eachEl in alignInfoList: if eachEl.typeOfEvent=='Start': startPosition=eachEl.position elif eachEl.typeOfEvent=='End': endPosition=ea...
46.38806
202
0.747587
585
6,216
7.926496
0.307692
0.032995
0.018978
0.031055
0.176623
0.156135
0.122924
0.097692
0.075049
0.035368
0
0.0098
0.162806
6,216
133
203
46.736842
0.881245
0.11406
0
0.205357
0
0
0.065466
0.032733
0
0
0
0
0
0
null
null
0.008929
0.026786
null
null
0.008929
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
0a589ec7d4551c000f081f7e14d55baac7d3788f
11,980
py
Python
win_toolchain/get_toolchain_if_necessary.py
SuYiling/chrome_depot_tools
faa4b4eb51757e38879a34c4005c4e56c2d360ad
[ "BSD-3-Clause" ]
null
null
null
win_toolchain/get_toolchain_if_necessary.py
SuYiling/chrome_depot_tools
faa4b4eb51757e38879a34c4005c4e56c2d360ad
[ "BSD-3-Clause" ]
null
null
null
win_toolchain/get_toolchain_if_necessary.py
SuYiling/chrome_depot_tools
faa4b4eb51757e38879a34c4005c4e56c2d360ad
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Downloads and unpacks a toolchain for building on Windows. The contents are matched by sha1 which will be updated when the toolchain...
36.084337
80
0.688898
1,706
11,980
4.72626
0.288394
0.020836
0.019844
0.018604
0.11497
0.101575
0.081731
0.070693
0.063748
0.063748
0
0.009577
0.189399
11,980
331
81
36.193353
0.820719
0.106594
0
0.178082
0
0
0.172929
0.038796
0
0
0
0
0.018265
0
null
null
0.013699
0.054795
null
null
0.105023
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
0a59dc60e5770f127d5ffa36c24d2933f78784d0
9,372
py
Python
fcis/core/tester.py
ChenFengYe/AutoSweep_FCIS
3bbf9a6a7812db8e355548301dcae5bdf038645d
[ "Apache-2.0" ]
1
2020-08-20T15:25:36.000Z
2020-08-20T15:25:36.000Z
fcis/core/tester.py
ChenFengYe/AutoSweep_FCIS
3bbf9a6a7812db8e355548301dcae5bdf038645d
[ "Apache-2.0" ]
null
null
null
fcis/core/tester.py
ChenFengYe/AutoSweep_FCIS
3bbf9a6a7812db8e355548301dcae5bdf038645d
[ "Apache-2.0" ]
1
2020-08-20T15:25:41.000Z
2020-08-20T15:25:41.000Z
# -------------------------------------------------------- # Fully Convolutional Instance-aware Semantic Segmentation # Copyright (c) 2016 by Contributors # Copyright (c) 2017 Microsoft # Licensed under The Apache-2.0 License [see LICENSE for details] # Modified by Haozhi Qi, Haochen Zhang, Guodong Zhang, Yi Li # -----...
44
131
0.559432
1,240
9,372
4.025806
0.221774
0.023438
0.023438
0.009014
0.25641
0.1873
0.163662
0.154447
0.132212
0.080329
0
0.020714
0.309752
9,372
212
132
44.207547
0.750966
0.053991
0
0.111801
0
0
0.028688
0.002682
0
0
0
0
0.006211
0
null
null
0
0.093168
null
null
0.006211
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