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
0a6c82c166dff6576dac6d8260c85984868dc551
7,500
py
Python
setup.py
yogeshkheri/geonode-avatar
293474f814117ae680278223c8cdf8d59c67862d
[ "BSD-3-Clause" ]
null
null
null
setup.py
yogeshkheri/geonode-avatar
293474f814117ae680278223c8cdf8d59c67862d
[ "BSD-3-Clause" ]
null
null
null
setup.py
yogeshkheri/geonode-avatar
293474f814117ae680278223c8cdf8d59c67862d
[ "BSD-3-Clause" ]
null
null
null
import codecs import re from os import path try: # pip >=20 from pip._internal.network.session import PipSession from pip._internal.req import parse_requirements except ImportError: try: # 10.0.0 <= pip <= 19.3.1 from pip._internal.download import PipSession from pip._internal.re...
32.751092
79
0.662267
993
7,500
4.927492
0.338369
0.034948
0.045984
0.031882
0.158798
0.119354
0.119354
0.107909
0.095238
0.095238
0
0.008578
0.2228
7,500
228
80
32.894737
0.830846
0.013333
0
0.093023
0
0
0.765382
0.063556
0
0
0
0
0
1
0.011628
false
0
0.069767
0
0.093023
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
0a6cb9eb15d8dffd0c2fcc230542c7e1d540cf5a
5,553
py
Python
skltemplate/template.py
adamwight/sklearn-depends
e860daa91cc7271089324f5fe4efdfe699c1679a
[ "BSD-3-Clause" ]
2
2017-09-06T07:04:05.000Z
2018-02-28T15:52:33.000Z
CCF/template.py
fmaguire/Canonical-Correlation-Forest
ff35bff814667b80ebdbb6d3e159203d655c2f39
[ "BSD-3-Clause" ]
1
2020-08-20T15:52:47.000Z
2020-08-20T15:52:47.000Z
CCF/template.py
fmaguire/Canonical-Correlation-Forest
ff35bff814667b80ebdbb6d3e159203d655c2f39
[ "BSD-3-Clause" ]
1
2020-04-01T21:10:51.000Z
2020-04-01T21:10:51.000Z
""" This is a module to be used as a reference for building other modules """ import numpy as np from sklearn.base import BaseEstimator, ClassifierMixin, TransformerMixin from sklearn.utils.validation import check_X_y, check_array, check_is_fitted from sklearn.utils.multiclass import unique_labels from sklearn.metrics ...
29.073298
79
0.581127
674
5,553
4.660237
0.219585
0.035657
0.053805
0.038204
0.52149
0.510984
0.455269
0.397007
0.397007
0.381089
0
0.00133
0.323249
5,553
190
80
29.226316
0.834486
0.556456
0
0.428571
0
0
0.049633
0
0
0
0
0
0
1
0.214286
false
0
0.119048
0
0.547619
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
0a701a88202e46279b3cd3fe5adb9891fb653b40
2,112
py
Python
tests/convert_test.py
AndreScaffidi/NatPy
5898a5d09aaa8d7ba3a2ae6b97f1ffb7f37ab2c9
[ "MIT" ]
3
2020-09-04T06:02:03.000Z
2021-08-17T23:24:57.000Z
tests/convert_test.py
AndreScaffidi/NatPy
5898a5d09aaa8d7ba3a2ae6b97f1ffb7f37ab2c9
[ "MIT" ]
1
2020-09-04T01:52:38.000Z
2020-09-04T05:38:08.000Z
tests/convert_test.py
AndreScaffidi/NatPy
5898a5d09aaa8d7ba3a2ae6b97f1ffb7f37ab2c9
[ "MIT" ]
1
2020-09-07T02:19:03.000Z
2020-09-07T02:19:03.000Z
from astropy.units.core import dimensionless_unscaled import pytest import numpy import sys sys.path.append("../") import natpy # noqa def test_conversions(): # Standard Astropy Convert # expect: 1 km = 1000 m assert((1*natpy.km) == natpy.convert(1*natpy.km, natpy.m)) # Convert seconds to metres. ...
32.492308
150
0.625947
294
2,112
4.42517
0.333333
0.143736
0.147579
0.078401
0.249039
0.144504
0.061491
0
0
0
0
0.106344
0.216383
2,112
64
151
33
0.679758
0.201705
0
0
0
0
0.065947
0
0
0
0
0
0.529412
1
0.058824
false
0
0.147059
0
0.205882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
6a514b6fb8211f1dde096888635793a95b6c0228
312
py
Python
clubadmin/shared/dialogs/TextCtrl.py
rpmoseley/clubadmin
35d0094ea5e97e8478ca021ab8e422cebbc26263
[ "MIT" ]
null
null
null
clubadmin/shared/dialogs/TextCtrl.py
rpmoseley/clubadmin
35d0094ea5e97e8478ca021ab8e422cebbc26263
[ "MIT" ]
null
null
null
clubadmin/shared/dialogs/TextCtrl.py
rpmoseley/clubadmin
35d0094ea5e97e8478ca021ab8e422cebbc26263
[ "MIT" ]
null
null
null
''' This module provides the customised TextCtrl class ''' import wx from . import BaseMixin class TextCtrl(wx.TextCtrl, BaseMixin): '''Provide an overloaded variant of the TextCtrl to add the support of labels''' def __init__(self, *args, **kwds): BaseMixin.__init__(self, wx.TextCtrl, *args, **kwds)
26
82
0.727564
42
312
5.214286
0.595238
0.091324
0
0
0
0
0
0
0
0
0
0
0.157051
312
11
83
28.363636
0.8327
0.400641
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
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
6a55a0ba4dd0a3ec9c61ccbe6e3561ed03c65f47
1,155
py
Python
Project_Trial.py
NIKH0610/Class7-Homework
10b5eb376c2a8e648fa25288b01d36108c012f92
[ "MIT" ]
null
null
null
Project_Trial.py
NIKH0610/Class7-Homework
10b5eb376c2a8e648fa25288b01d36108c012f92
[ "MIT" ]
null
null
null
Project_Trial.py
NIKH0610/Class7-Homework
10b5eb376c2a8e648fa25288b01d36108c012f92
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np from matplotlib import pyplot as plt import sklearn import seaborn as sns from sklearn import datasets boston = datasets.load_boston() bs = pd.DataFrame(boston.data) bs.columns = boston.feature_names bs['Target'] = pd.Series(boston.target,index = bs.index) mean_CRIM = bs['CRIM']...
23.1
101
0.754978
184
1,155
4.592391
0.402174
0.03787
0.023669
0
0
0
0
0
0
0
0
0.005941
0.125541
1,155
49
102
23.571429
0.830693
0.127273
0
0
0
0.038462
0.128128
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6a5604a4998cdb3ef4d377b6bdde319daf783441
14,610
py
Python
preprocessing/create_tsv_from_brat.py
CyrusDobbs/mining-argument-relations-using-transformers
a0732a782a64c1347a0a8ec375df43261b19c931
[ "Apache-2.0" ]
null
null
null
preprocessing/create_tsv_from_brat.py
CyrusDobbs/mining-argument-relations-using-transformers
a0732a782a64c1347a0a8ec375df43261b19c931
[ "Apache-2.0" ]
null
null
null
preprocessing/create_tsv_from_brat.py
CyrusDobbs/mining-argument-relations-using-transformers
a0732a782a64c1347a0a8ec375df43261b19c931
[ "Apache-2.0" ]
null
null
null
import os import numpy as np from nltk.tokenize.punkt import PunktSentenceTokenizer, PunktParameters import nltk import csv import random from pathlib import Path def train_test_split(data_dir): """Function thats splits a folder with brat files into train/test based on csv file""" csv_split = 'train-test-spli...
41.15493
137
0.522177
1,733
14,610
4.232545
0.106174
0.006271
0.022904
0.03272
0.72938
0.695978
0.682754
0.677028
0.65576
0.651943
0
0.013828
0.341684
14,610
355
138
41.15493
0.748804
0.161944
0
0.634043
0
0
0.07147
0.022055
0
0
0
0
0.034043
1
0.034043
false
0
0.029787
0
0.07234
0.029787
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
6a5be8406367abc939418cadf6daa7b75cedac5b
2,454
py
Python
pykrige/__init__.py
ehxan139/PyKrige
d6a1db2c01fbea1919052a83df369faaf9766cb6
[ "BSD-3-Clause" ]
280
2015-01-07T19:43:20.000Z
2020-01-07T17:38:36.000Z
pykrige/__init__.py
mralbu/PyKrige
48bc43362218b283bcba51b2c0990b72f7e29fbb
[ "BSD-3-Clause" ]
128
2015-02-11T04:13:09.000Z
2020-01-24T17:12:29.000Z
pykrige/__init__.py
mralbu/PyKrige
48bc43362218b283bcba51b2c0990b72f7e29fbb
[ "BSD-3-Clause" ]
102
2015-01-27T22:33:46.000Z
2019-12-27T06:49:52.000Z
""" PyKrige ======= Code by Benjamin S. Murphy and the PyKrige Developers bscott.murphy@gmail.com Summary ------- Kriging toolkit for Python. ok: Contains class OrdinaryKriging, which is a convenience class for easy access to 2D ordinary kriging. uk: Contains class UniversalKriging, which provides m...
37.181818
77
0.735941
318
2,454
5.537736
0.471698
0.029529
0.017036
0.019307
0.037479
0.037479
0.037479
0.037479
0.037479
0
0
0.018228
0.195192
2,454
65
78
37.753846
0.873418
0.743684
0
0
0
0
0.24
0
0
0
0
0
0
1
0
false
0
0.4375
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6a5c25e6dcf02c895b01218dc46684c72c3050e2
2,415
py
Python
contrail/loader/loaders/aws_ec2_spot.py
joshuaprince/ecs193
e9bcd9367dfcf4984f64c61a526746abcf980715
[ "MIT" ]
5
2019-04-24T21:02:09.000Z
2021-02-27T04:42:00.000Z
contrail/loader/loaders/aws_ec2_spot.py
joshuaprince/ecs193
e9bcd9367dfcf4984f64c61a526746abcf980715
[ "MIT" ]
1
2019-04-24T20:36:30.000Z
2019-04-26T04:20:55.000Z
contrail/loader/loaders/aws_ec2_spot.py
joshuaprince/ecs193
e9bcd9367dfcf4984f64c61a526746abcf980715
[ "MIT" ]
1
2019-03-13T20:02:09.000Z
2019-03-13T20:02:09.000Z
import collections import logging from infi.clickhouse_orm.database import Database from contrail.crawler.providers.aws_ec2_spot import AmazonEC2Spot from contrail.loader.warehouse import InstanceData from contrail.loader.loaders import BaseLoader, register_loader from contrail.loader.normalizers import normalizeData...
35.514706
112
0.586749
262
2,415
5.343511
0.366412
0.051429
0.038571
0.018571
0
0
0
0
0
0
0
0.019538
0.300621
2,415
67
113
36.044776
0.809355
0
0
0.140351
0
0
0.042236
0.009524
0
0
0
0
0
1
0.052632
false
0.052632
0.122807
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6a6659596076e7c3012dcf25dd8793516823f308
376
py
Python
tests/HIDE/history/make.py
Mirmik/gxx
986e4de50a5652ce7d82c01fcf4ff87daa18904a
[ "MIT" ]
null
null
null
tests/HIDE/history/make.py
Mirmik/gxx
986e4de50a5652ce7d82c01fcf4ff87daa18904a
[ "MIT" ]
null
null
null
tests/HIDE/history/make.py
Mirmik/gxx
986e4de50a5652ce7d82c01fcf4ff87daa18904a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 #coding: utf-8 from licant.modules import submodule from licant.cxx_modules import application, doit from licant.scripter import scriptq scriptq.execute("../../gxx.g.py") application("target", sources = ["main.cpp"], include_paths = ["../.."], modules = [ submodule("gxx", "posix"), subm...
19.789474
48
0.683511
47
376
5.425532
0.659574
0.117647
0
0
0
0
0
0
0
0
0
0.006061
0.12234
376
19
49
19.789474
0.766667
0.090426
0
0
0
0
0.184751
0
0
0
0
0
0
1
0
true
0
0.230769
0
0.230769
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
6a6825b005dd643331f26371346601c6d18b5ed4
815
py
Python
select_incommon_csv_vcf.py
leonardelli/VerySNP
55bd95733f6c6fe5330f5bf13ad4a6d72e45fadf
[ "CC0-1.0" ]
null
null
null
select_incommon_csv_vcf.py
leonardelli/VerySNP
55bd95733f6c6fe5330f5bf13ad4a6d72e45fadf
[ "CC0-1.0" ]
1
2017-01-06T04:43:35.000Z
2017-01-06T04:43:35.000Z
select_incommon_csv_vcf.py
leonardelli/VerySNP
55bd95733f6c6fe5330f5bf13ad4a6d72e45fadf
[ "CC0-1.0" ]
null
null
null
import sys import re csv_file = open( sys.argv[1] ) csv_snp = {} dist_cutoff = 0 for l in csv_file.readlines() : l = l.rstrip() if l[0] == '#' : continue l = l.split( "\t" ) tmp = l[1], l[2] try : csv_snp[ l[1] ].append( tmp ) except : csv_snp[ l[1] ] = [ tmp ] csv_file.c...
23.285714
52
0.438037
118
815
2.90678
0.338983
0.087464
0.06414
0.087464
0.239067
0.239067
0.239067
0.239067
0.239067
0.239067
0
0.024948
0.409816
815
34
53
23.970588
0.68815
0
0
0.30303
0
0
0.009828
0
0
0
0
0
0
0
null
null
0
0.060606
null
null
0.030303
0
0
0
null
0
0
0
0
0
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
6a69c0d34189673aa6f672be385ef39ca363683b
2,012
py
Python
python/psim/plugins/snapshot.py
kylekrol/psim
a4817117189f0f5597452076e6e138f70f51d4e8
[ "MIT" ]
5
2020-04-11T06:53:46.000Z
2022-01-05T05:39:11.000Z
python/psim/plugins/snapshot.py
kylekrol/psim
a4817117189f0f5597452076e6e138f70f51d4e8
[ "MIT" ]
201
2019-09-05T03:46:21.000Z
2022-01-08T04:44:16.000Z
python/psim/plugins/snapshot.py
kylekrol/psim
a4817117189f0f5597452076e6e138f70f51d4e8
[ "MIT" ]
10
2019-10-12T17:24:34.000Z
2022-02-25T01:20:14.000Z
"""Set of plugins used to generate a 'snapshot' of the simulation state. """ from psim.plugins import Plugin import logging log = logging.getLogger(__name__) class Snapshot(Plugin): """Captures a snapshot of the simulation state upon termination and saves it to the specified file. """ def __init__(...
30.484848
99
0.591948
227
2,012
5.123348
0.361233
0.092863
0.058469
0.024076
0.201204
0.16509
0.058469
0
0
0
0
0
0.298211
2,012
65
100
30.953846
0.823654
0.082505
0
0.090909
1
0
0.295342
0.110685
0
0
0
0
0
1
0.090909
false
0
0.045455
0
0.204545
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6a6d7602b133761525970951c49ba96d171ef268
3,235
py
Python
rssynergia/standard/standard_beam6d.py
radiasoft/rs_synergia
b43509de7f4a938354dc127762d8e723463e0e95
[ "Apache-2.0" ]
null
null
null
rssynergia/standard/standard_beam6d.py
radiasoft/rs_synergia
b43509de7f4a938354dc127762d8e723463e0e95
[ "Apache-2.0" ]
null
null
null
rssynergia/standard/standard_beam6d.py
radiasoft/rs_synergia
b43509de7f4a938354dc127762d8e723463e0e95
[ "Apache-2.0" ]
null
null
null
import sys, os, time, random import synergia import synergia_workflow import numpy as np import matplotlib.pyplot as plt from mpi4py import MPI from scipy import constants import rssynergia from rssynergia.standard import standard_beam from rssynergia.base_diagnostics import read_bunch from rssynergia.base_diagnostics...
32.35
161
0.671406
407
3,235
5.272727
0.457002
0.045666
0.04753
0.040541
0.048928
0
0
0
0
0
0
0.013693
0.232458
3,235
99
162
32.676768
0.850584
0.130448
0
0
0
0
0.031236
0
0
0
0
0
0
0
null
null
0
0.218182
null
null
0.036364
0
0
0
null
0
0
0
0
0
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
6a6dfd55611cbdfaa3692bf41950af2de564e101
356
py
Python
app/migrations/0003_auto_20200220_0955.py
kumarnishu/ECOMMERCE-WEBSITE
9c4d9ed3fd1f7873cd8dc04e35ce05561913df40
[ "BSD-2-Clause" ]
2
2020-04-10T16:44:40.000Z
2022-01-26T12:59:35.000Z
app/migrations/0003_auto_20200220_0955.py
kumarnishu/ECOMMERCE-WEBSITE
9c4d9ed3fd1f7873cd8dc04e35ce05561913df40
[ "BSD-2-Clause" ]
8
2021-03-19T11:50:44.000Z
2022-01-26T13:03:44.000Z
app/migrations/0003_auto_20200220_0955.py
kumarnishu/ECOMMERCE-WEBSITE
9c4d9ed3fd1f7873cd8dc04e35ce05561913df40
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 3.0.3 on 2020-02-20 04:25 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app', '0002_contacts'), ] operations = [ migrations.RenameField( model_name='contacts', old_name='fistname', new...
18.736842
47
0.575843
37
356
5.432432
0.783784
0
0
0
0
0
0
0
0
0
0
0.077236
0.308989
356
18
48
19.777778
0.739837
0.126404
0
0
1
0
0.132686
0
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
6a73271d5e59d833bf6b83644f9b2784bcafd10d
609
py
Python
backend/settings_pord.py
HillalRoy/Studenthut
6aba8208e8f6d2650196c5a0220b62fee2eae108
[ "Apache-2.0" ]
1
2021-05-01T16:52:30.000Z
2021-05-01T16:52:30.000Z
backend/settings_pord.py
HillalRoy/Studenthut
6aba8208e8f6d2650196c5a0220b62fee2eae108
[ "Apache-2.0" ]
null
null
null
backend/settings_pord.py
HillalRoy/Studenthut
6aba8208e8f6d2650196c5a0220b62fee2eae108
[ "Apache-2.0" ]
1
2021-04-29T15:11:47.000Z
2021-04-29T15:11:47.000Z
from backend.settings_comon import * import os SECRET_KEY = os.environ['DJANGO_SECRET'] DEBUG = False ALLOWED_HOSTS = [ '.studypen.in', 'studypen-env.eba-juigq53v.ap-south-1.elasticbeanstalk.com', ] CORS_ALLOWED_ORIGINS = [ 'https://www.studypen.in', ] DATABASES = { 'default': { 'ENGINE': '...
22.555556
64
0.646962
68
609
5.617647
0.632353
0.141361
0.222513
0
0
0
0
0
0
0
0
0.008097
0.188834
609
26
65
23.423077
0.765182
0
0
0
0
0
0.422003
0.155993
0
0
0
0
0
1
0
false
0.047619
0.095238
0
0.095238
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6a7b01c49bbc2183f09c225ea002f3bda7ec5688
18,409
py
Python
swig/python/osgeo/gdal_array.py
speakeasy/gdal
294b6b399f93e1d9403859cf64fba80c95156cd1
[ "Apache-2.0" ]
null
null
null
swig/python/osgeo/gdal_array.py
speakeasy/gdal
294b6b399f93e1d9403859cf64fba80c95156cd1
[ "Apache-2.0" ]
null
null
null
swig/python/osgeo/gdal_array.py
speakeasy/gdal
294b6b399f93e1d9403859cf64fba80c95156cd1
[ "Apache-2.0" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 2.0.12 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2,6,0): def swig_import_helper(): from os.path impo...
37.800821
130
0.645771
2,252
18,409
5.096803
0.1754
0.019516
0.014375
0.007318
0.400854
0.377243
0.334205
0.314689
0.287158
0.273131
0
0.013094
0.265685
18,409
486
131
37.878601
0.835996
0.166277
0
0.326284
1
0
0.069
0
0
0
0
0.002058
0
1
0.084592
false
0.006042
0.042296
0.006042
0.26284
0.003021
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
6a7b2eb5b57bb476fee9767fdf26f5059b259d7d
2,051
py
Python
pylox/grammar/statement.py
classabbyamp/pylox
c2dc991603f5e59d8655fbae2cbad283ea388de6
[ "BSD-3-Clause" ]
null
null
null
pylox/grammar/statement.py
classabbyamp/pylox
c2dc991603f5e59d8655fbae2cbad283ea388de6
[ "BSD-3-Clause" ]
null
null
null
pylox/grammar/statement.py
classabbyamp/pylox
c2dc991603f5e59d8655fbae2cbad283ea388de6
[ "BSD-3-Clause" ]
null
null
null
from abc import ABC, abstractmethod from dataclasses import dataclass from typing import Optional from ..util.helpers import to_str, to_repr, is_truthy from ..util.exceptions import LoxBreakException from . import token, expression, literals from ..env import Env class Stmt(ABC): @abstractmethod def eval(sel...
21.14433
75
0.65334
263
2,051
5.038023
0.224335
0.05434
0.074717
0.095094
0.317736
0.304906
0.188679
0.140377
0.112453
0.078491
0
0
0.245734
2,051
96
76
21.364583
0.856496
0
0
0.352941
0
0
0
0
0
0
0
0
0
1
0.132353
false
0.029412
0.102941
0
0.529412
0.044118
0
0
0
null
0
0
0
0
0
0
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
6a805fd7b2a19baf988d42b3e0c1542b8bfb55b9
3,237
py
Python
whoahqa/tests/views/test_submission_views.py
onaio/who-adolescent-hqa
108a7e60b025d0723247f5f02eab2c4d41f5a02a
[ "Apache-2.0" ]
null
null
null
whoahqa/tests/views/test_submission_views.py
onaio/who-adolescent-hqa
108a7e60b025d0723247f5f02eab2c4d41f5a02a
[ "Apache-2.0" ]
2
2018-01-09T08:58:11.000Z
2019-01-18T09:20:14.000Z
whoahqa/tests/views/test_submission_views.py
onaio/who-adolescent-hqa
108a7e60b025d0723247f5f02eab2c4d41f5a02a
[ "Apache-2.0" ]
null
null
null
from pyramid import testing from whoahqa.models import ( DBSession, Clinic, Submission, ClinicSubmission, ) from whoahqa.views import ( SubmissionViews, ) from whoahqa.tests import (IntegrationTestBase, FunctionalTestBase,) class TestSubmissionViews(IntegrationTestBase): def post_json(self, pa...
38.082353
76
0.682422
367
3,237
5.839237
0.27248
0.090994
0.118059
0.094727
0.541764
0.476435
0.440037
0.419039
0.419039
0.419039
0
0.01907
0.222428
3,237
84
77
38.535714
0.83234
0.078777
0
0.4
0
0
0.070924
0
0
0
0
0.011905
0.2
1
0.123077
false
0
0.061538
0
0.230769
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
6a9c03bf20ab179409c08e175c2a2f0c4e20ef41
882
py
Python
distconfig/utils.py
deliveryhero/distconfig
b0b5a1bdeb0f6a68f7429ede0161720e54a5c2ba
[ "Apache-2.0" ]
17
2015-04-13T20:19:11.000Z
2019-02-03T17:03:08.000Z
distconfig/utils.py
deliveryhero/distconfig
b0b5a1bdeb0f6a68f7429ede0161720e54a5c2ba
[ "Apache-2.0" ]
5
2015-04-14T05:52:01.000Z
2016-04-24T09:42:54.000Z
distconfig/utils.py
deliveryhero/distconfig
b0b5a1bdeb0f6a68f7429ede0161720e54a5c2ba
[ "Apache-2.0" ]
7
2015-04-13T14:40:18.000Z
2016-07-23T22:47:32.000Z
def resolve_dotted_name(name): """Return object referenced by dotted name. :param name: dotted name as a String. :return: Resolved Python object. :raises ImportError: If can't resolve ``nane`` Examples: >>> resolve_dotted_name('sys.exit') <built-in function exit> >>> res...
29.4
81
0.626984
93
882
5.774194
0.548387
0.111732
0.126629
0.160149
0
0
0
0
0
0
0
0.00303
0.251701
882
29
82
30.413793
0.810606
0.561224
0
0
0
0
0.006006
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.363636
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
6a9dd0a57c14db385e2b12a0d1497e47e0e6bc25
6,676
py
Python
backend/parsers/telegraph.py
ldrozdz/Webforming
ded27ee72da1753b4f3d83e8a4abda1884528a8b
[ "Apache-2.0" ]
null
null
null
backend/parsers/telegraph.py
ldrozdz/Webforming
ded27ee72da1753b4f3d83e8a4abda1884528a8b
[ "Apache-2.0" ]
null
null
null
backend/parsers/telegraph.py
ldrozdz/Webforming
ded27ee72da1753b4f3d83e8a4abda1884528a8b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from urllib2 import urlopen, urlparse import datetime import hashlib import traceback import string import json from bs4 import BeautifulSoup, SoupStrainer, Comment from dateutil.parser import parse as dparse from backend.parsers import WebParser from backend.web_item import WebItem class Te...
37.931818
169
0.651138
894
6,676
4.678971
0.203579
0.020081
0.021516
0.021755
0.234282
0.193641
0.108295
0.103275
0.0765
0.0765
0
0.007612
0.212852
6,676
175
170
38.148571
0.788392
0.013781
0
0.220779
0
0.019481
0.146486
0.013995
0
0
0
0.005714
0
0
null
null
0
0.064935
null
null
0.032468
0
0
0
null
0
0
0
0
0
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
6a9f951eba15e0461a95947498e579944ac044d5
5,637
py
Python
webapp2_extras/xsrf.py
mikespub-org/remko-webapp2
106e40c4b061d5ab9317200bb074031f930b21e0
[ "Apache-2.0" ]
null
null
null
webapp2_extras/xsrf.py
mikespub-org/remko-webapp2
106e40c4b061d5ab9317200bb074031f930b21e0
[ "Apache-2.0" ]
null
null
null
webapp2_extras/xsrf.py
mikespub-org/remko-webapp2
106e40c4b061d5ab9317200bb074031f930b21e0
[ "Apache-2.0" ]
null
null
null
# Copyright 2011 webapp2 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 applicable law or agreed to in wri...
34.371951
79
0.646266
697
5,637
5.088953
0.276901
0.058923
0.02199
0.023682
0.174514
0.106569
0.094164
0.094164
0.094164
0.074993
0
0.010212
0.287742
5,637
163
80
34.582822
0.873225
0.453433
0
0.236111
0
0
0.000364
0
0
0
0
0
0
1
0.055556
false
0.055556
0.083333
0.013889
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6aa17919b5049c83626a60d0df2a58702713b25b
277
py
Python
single_use_scripts/rename_frames.py
ivandrej/checkmatte
48992e9eb777b609eab32e58d918f1fb41ca51f1
[ "MIT" ]
null
null
null
single_use_scripts/rename_frames.py
ivandrej/checkmatte
48992e9eb777b609eab32e58d918f1fb41ca51f1
[ "MIT" ]
null
null
null
single_use_scripts/rename_frames.py
ivandrej/checkmatte
48992e9eb777b609eab32e58d918f1fb41ca51f1
[ "MIT" ]
null
null
null
import os dir = "/media/andivanov/DATA/dynamic_backgrounds_captured/asfandyar/take03/take03/left" for name in os.listdir(dir): frameid = int(name[:-4].split("_")[-1]) new_name = f"{frameid:04d}.jpg" os.rename(os.path.join(dir, name), os.path.join(dir, new_name))
30.777778
87
0.696751
44
277
4.272727
0.636364
0.074468
0.106383
0.138298
0
0
0
0
0
0
0
0.032787
0.119134
277
8
88
34.625
0.737705
0
0
0
0
0
0.350181
0.285199
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6aa6ef2e57cc9e0da33b2c597454680264491fa7
20,394
py
Python
sympy/core/tests/test_power.py
shivangdubey/sympy
bd3ddd4c71d439c8b623f69a02274dd8a8a82198
[ "BSD-3-Clause" ]
2
2020-07-27T16:36:27.000Z
2020-12-29T22:28:37.000Z
sympy/core/tests/test_power.py
shivangdubey/sympy
bd3ddd4c71d439c8b623f69a02274dd8a8a82198
[ "BSD-3-Clause" ]
2
2020-08-18T15:21:59.000Z
2020-08-18T19:35:29.000Z
sympy/core/tests/test_power.py
shivangdubey/sympy
bd3ddd4c71d439c8b623f69a02274dd8a8a82198
[ "BSD-3-Clause" ]
null
null
null
from sympy.core import ( Basic, Rational, Symbol, S, Float, Integer, Mul, Number, Pow, Expr, I, nan, pi, symbols, oo, zoo, N) from sympy.core.tests.test_evalf import NS from sympy.core.function import expand_multinomial from sympy.functions.elementary.miscellaneous import sqrt, cbrt from sympy.functions.element...
36.548387
97
0.546631
3,735
20,394
2.923695
0.087818
0.054945
0.03956
0.030769
0.413736
0.331685
0.297253
0.250549
0.230769
0.215659
0
0.106629
0.223301
20,394
557
98
36.614004
0.582765
0.072472
0
0.143192
0
0
0.035629
0.021367
0
0
0
0
0.537559
1
0.08216
false
0
0.030516
0.004695
0.117371
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
6aa95b356f80b4e2fcc8534e09acc9f4443aa0c0
3,098
py
Python
main.py
Dabs4Dads/polly
2fc4dc0f1e7807d28e7f71194c247a9b4c7c9245
[ "MIT" ]
4
2016-05-23T22:11:23.000Z
2016-05-31T01:24:03.000Z
main.py
Dabs4Dads/polly
2fc4dc0f1e7807d28e7f71194c247a9b4c7c9245
[ "MIT" ]
null
null
null
main.py
Dabs4Dads/polly
2fc4dc0f1e7807d28e7f71194c247a9b4c7c9245
[ "MIT" ]
null
null
null
import tweepy, requests, time # from cowpy import cow # cheese = cow.Milk() class MyStreamListener(tweepy.StreamListener): def __init__(self): self.auth = tweepy.OAuthHandler('v8xVBZlXBp2AJoWI3VjDjzDkC', 'Wpoom4N6tpTgfywzCt6y83gvZubbYoT0vL0V8FXzhyXA74218D') self.auth.set_access_token('734122414158...
41.864865
137
0.540026
344
3,098
4.822674
0.366279
0.029536
0.024111
0.030741
0.115732
0.092827
0.042194
0
0
0
0
0.03125
0.31827
3,098
74
138
41.864865
0.754261
0.048741
0
0.127273
0
0.036364
0.247791
0.07308
0
0
0
0
0
0
null
null
0.018182
0.018182
null
null
0.036364
0
0
0
null
0
0
0
0
0
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
6aa9ec5e611fe641f7261f58cb8baf655307ec2e
340
py
Python
tests/inputs/future-features/73-implementation-details-on-operators.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
4
2019-10-06T18:01:24.000Z
2020-07-03T05:27:35.000Z
tests/inputs/future-features/73-implementation-details-on-operators.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
5
2021-06-07T15:50:04.000Z
2021-06-07T15:50:06.000Z
tests/inputs/future-features/73-implementation-details-on-operators.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
null
null
null
class A(): def __add__(s, o): return None A() + 3 # Works!!! class B(): pass b = B() # These extreme examples should be ignored, or not be analysed by Pytropos, they require # imitating the exact behaviour of CPython b.__add__ = lambda s, o: None b + 3 # DO NOT Work! B.__add__ = lambda s, o: None b +...
17.894737
88
0.635294
58
340
3.517241
0.62069
0.029412
0.098039
0.107843
0.176471
0.176471
0.176471
0.176471
0
0
0
0.011811
0.252941
340
18
89
18.888889
0.791339
0.479412
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.090909
false
0.090909
0
0.090909
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6aad7ba8bee6d05f8d31e10e51697ff5efb76f31
3,109
py
Python
setup.py
ayushsubedi/seaborn
a0f7bf881e22950501fe01feadfad2e30a2b748d
[ "BSD-3-Clause" ]
8,852
2015-01-02T15:44:51.000Z
2022-03-31T10:52:24.000Z
setup.py
ayushsubedi/seaborn
a0f7bf881e22950501fe01feadfad2e30a2b748d
[ "BSD-3-Clause" ]
2,330
2015-01-02T00:23:18.000Z
2022-03-31T12:36:51.000Z
setup.py
ayushsubedi/seaborn
a0f7bf881e22950501fe01feadfad2e30a2b748d
[ "BSD-3-Clause" ]
2,044
2015-01-02T18:31:12.000Z
2022-03-31T10:38:55.000Z
#! /usr/bin/env python # # Copyright (C) 2012-2020 Michael Waskom DESCRIPTION = "seaborn: statistical data visualization" LONG_DESCRIPTION = """\ Seaborn is a library for making statistical graphics in Python. It is built on top of `matplotlib <https://matplotlib.org/>`_ and closely integrated with `pandas <https://pa...
33.793478
297
0.717272
365
3,109
6.024658
0.553425
0.027285
0.034106
0.035471
0
0
0
0
0
0
0
0.015507
0.191058
3,109
91
298
34.164835
0.858847
0.019299
0
0
0
0.027397
0.637229
0.007223
0
0
0
0
0
1
0
false
0
0.027397
0
0.027397
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
6aae71f7caf88b341c830e79707be00edb0e4cda
1,625
py
Python
chatterbot/input/input_adapter.py
shaikmoeed/ChatterBot
41c8987a624d751e8935e5ac34da6d7b2b623e1f
[ "BSD-3-Clause" ]
2
2020-04-15T07:43:28.000Z
2021-09-15T18:00:51.000Z
chatterbot/input/input_adapter.py
Cloudxtreme/ChatterBot
da138ac707769793cb6dc935975aa0287ac4e3b8
[ "BSD-3-Clause" ]
null
null
null
chatterbot/input/input_adapter.py
Cloudxtreme/ChatterBot
da138ac707769793cb6dc935975aa0287ac4e3b8
[ "BSD-3-Clause" ]
3
2020-06-05T14:44:20.000Z
2021-02-18T17:54:42.000Z
from chatterbot.adapters import Adapter from chatterbot.conversation import Statement class InputAdapter(Adapter): """ This class provides base methods and represents the interface that all input adapters should implement. """ DICT = 'json' TEXT = 'text' OBJECT = 'object' VALID_FORMAT...
29.545455
75
0.633846
174
1,625
5.810345
0.362069
0.062315
0.051434
0.04451
0.069238
0.069238
0.069238
0.069238
0
0
0
0
0.294769
1,625
54
76
30.092593
0.882199
0.220308
0
0
0
0
0.087315
0
0
0
0
0
0
1
0.096774
false
0
0.064516
0
0.548387
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
6ab43160866d41526734b990399705e00abd594e
3,155
py
Python
plugins/modules/bistrobot_meal.py
nbr23/bistrobot-ansible
6ef679ac81a493cf63acb93c3178a95ed40bfa9b
[ "MIT" ]
null
null
null
plugins/modules/bistrobot_meal.py
nbr23/bistrobot-ansible
6ef679ac81a493cf63acb93c3178a95ed40bfa9b
[ "MIT" ]
null
null
null
plugins/modules/bistrobot_meal.py
nbr23/bistrobot-ansible
6ef679ac81a493cf63acb93c3178a95ed40bfa9b
[ "MIT" ]
null
null
null
#!/usr/bin/python ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community' } DOCUMENTATION = ''' --- module: bistrobot_meal short_description: Prompt Bistrobot to serve a meal version_added: "1.0" description: - "Serve a meal using the the gpio pins specifi...
25.039683
76
0.656735
409
3,155
4.880196
0.278729
0.07014
0.039078
0.047595
0.348196
0.321643
0.257515
0.212926
0.212926
0.177856
0
0.022601
0.256735
3,155
125
77
25.24
0.828571
0.005071
0
0.287129
0
0
0.602613
0.009879
0
0
0
0
0
1
0.019802
false
0
0.019802
0
0.039604
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
6ab7c40f8996047b207b9ec3dfdd837aa519f7f2
825
py
Python
modules/signatures/windows/trojan_obfus_mutex.py
Yuanmessi/Bold-Falcon
00fcaba0b3d9c462b9d20ecb256ff85db5d119e2
[ "BSD-3-Clause" ]
24
2021-06-21T07:35:37.000Z
2022-03-22T03:33:59.000Z
modules/signatures/windows/trojan_obfus_mutex.py
Yuanmessi/Bold-Falcon
00fcaba0b3d9c462b9d20ecb256ff85db5d119e2
[ "BSD-3-Clause" ]
3
2021-07-01T08:09:05.000Z
2022-01-28T03:38:36.000Z
modules/signatures/windows/trojan_obfus_mutex.py
Yuanmessi/Bold-Falcon
00fcaba0b3d9c462b9d20ecb256ff85db5d119e2
[ "BSD-3-Clause" ]
6
2021-06-22T05:32:57.000Z
2022-02-11T02:05:45.000Z
# Copyright (C) 2010-2015 Cuckoo Foundation. # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org # This signature was contributed by RedSocks - http://redsocks.nl # See the file 'docs/LICENSE' for copying permission. from lib.cuckoo.common.abstracts import Signature class ObfusMutexes(Signature): ...
28.448276
68
0.644848
97
825
5.412371
0.731959
0.034286
0
0
0
0
0
0
0
0
0
0.017685
0.246061
825
28
69
29.464286
0.826367
0.272727
0
0
0
0
0.157983
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.631579
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
6ab82ba0bb9e07532c69867515577ba7ec2c33f9
1,056
py
Python
api/serializers.py
smartlegionlab/myblog
e22b9d826dd5b963c33ad9e32a497a145ce158bd
[ "BSD-3-Clause" ]
1
2022-02-09T16:47:11.000Z
2022-02-09T16:47:11.000Z
api/serializers.py
smartlegionlab/myblog
e22b9d826dd5b963c33ad9e32a497a145ce158bd
[ "BSD-3-Clause" ]
null
null
null
api/serializers.py
smartlegionlab/myblog
e22b9d826dd5b963c33ad9e32a497a145ce158bd
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # -------------------------------------------------------- # Licensed under the terms of the BSD 3-Clause License # (see LICENSE for details). # Copyright © 2018-2021, A.A Suvorov # All rights reserved. # -------------------------------------------------------- # https://github.com/smartlegionla...
32
99
0.581439
99
1,056
6.181818
0.707071
0.039216
0.045752
0
0
0
0
0
0
0
0
0.011211
0.155303
1,056
32
100
33
0.673767
0.366477
0
0.142857
0
0
0.135258
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6ab8ec2bfcebe264666952c99b4279f334966855
625
py
Python
sequence/migrations/0027_auto_20200910_1925.py
superdev0505/mtp-web
8288765a89daaa7b02dfd7e78cc51c4f12d7fcce
[ "MIT" ]
null
null
null
sequence/migrations/0027_auto_20200910_1925.py
superdev0505/mtp-web
8288765a89daaa7b02dfd7e78cc51c4f12d7fcce
[ "MIT" ]
null
null
null
sequence/migrations/0027_auto_20200910_1925.py
superdev0505/mtp-web
8288765a89daaa7b02dfd7e78cc51c4f12d7fcce
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-09-10 12:25 import django.contrib.gis.db.models.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sequence', '0026_sequence_coordinates_ele'), ] operations = [ migrations.AddField( mo...
25
99
0.6032
69
625
5.391304
0.594203
0.069892
0.086022
0.096774
0.354839
0.354839
0
0
0
0
0
0.05298
0.2752
625
24
100
26.041667
0.768212
0.072
0
0.333333
1
0
0.095156
0.050173
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
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
6abc1d2969d862124a8846078dd8a4943b427a7c
2,160
py
Python
Data_Aquisition.py
anishakadri/complexoslo
cdff1194bfdaf7250ba0061bf52b9345e5cdd25c
[ "MIT" ]
null
null
null
Data_Aquisition.py
anishakadri/complexoslo
cdff1194bfdaf7250ba0061bf52b9345e5cdd25c
[ "MIT" ]
null
null
null
Data_Aquisition.py
anishakadri/complexoslo
cdff1194bfdaf7250ba0061bf52b9345e5cdd25c
[ "MIT" ]
null
null
null
""" Anisha Kadri 2017 ak4114@ic.ac.uk This script contains the main algorithm for the Oslo Model. It measurements a height time series and an avalanche size time series for specified system size (L) and time (t). The values are saved as an array at the end. """ import os import numpy as np import numpy.random as ran...
25.714286
85
0.493519
323
2,160
3.216718
0.328173
0.015399
0.014437
0.046198
0.129933
0.111646
0.069297
0
0
0
0
0.066867
0.383796
2,160
84
86
25.714286
0.713749
0.131481
0
0.12
0
0
0.01624
0
0
0
0
0
0
0
null
null
0
0.08
null
null
0.02
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6abe811e648a23b52be0126fb22d416081f4b5e3
244
py
Python
tests/unit/test_function_3.py
smirnoal/sam-lambda-layers-pproblem
6dc318d162c470daa06e07e5def0c388f9175d97
[ "Apache-2.0" ]
null
null
null
tests/unit/test_function_3.py
smirnoal/sam-lambda-layers-pproblem
6dc318d162c470daa06e07e5def0c388f9175d97
[ "Apache-2.0" ]
null
null
null
tests/unit/test_function_3.py
smirnoal/sam-lambda-layers-pproblem
6dc318d162c470daa06e07e5def0c388f9175d97
[ "Apache-2.0" ]
null
null
null
from functions.lambda_function_1 import app def test_function_1(): data = app.lambda_handler("", "") assert "code" in data assert "message" in data assert data["code"] == "500" assert data["message"] == "Internal Error"
20.333333
46
0.655738
32
244
4.84375
0.5625
0.116129
0.154839
0
0
0
0
0
0
0
0
0.025907
0.209016
244
11
47
22.181818
0.777202
0
0
0
0
0
0.159836
0
0
0
0
0
0.571429
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
6abe8df5000b3062166fedc60f01f4e7bc9dd60b
459
py
Python
notedown/__init__.py
oldthree123/notedown
53ff98a7384e7778d779134f1ee944fc6de83f80
[ "BSD-2-Clause" ]
823
2015-01-12T05:40:44.000Z
2022-03-31T21:43:10.000Z
notedown/__init__.py
oldthree123/notedown
53ff98a7384e7778d779134f1ee944fc6de83f80
[ "BSD-2-Clause" ]
77
2015-02-19T15:11:52.000Z
2021-08-01T16:02:21.000Z
notedown/__init__.py
oldthree123/notedown
53ff98a7384e7778d779134f1ee944fc6de83f80
[ "BSD-2-Clause" ]
107
2015-04-14T16:22:45.000Z
2021-12-17T08:36:11.000Z
from __future__ import absolute_import from .notedown import * from .main import convert, markdown_template, __version__ # avoid having to require the notebook to install notedown try: from .contentsmanager import NotedownContentsManager from .contentsmanager import NotedownContentsManagerStripped except Impo...
32.785714
64
0.808279
47
459
7.680851
0.574468
0.055402
0.138504
0
0
0
0
0
0
0
0
0
0.156863
459
13
65
35.307692
0.932817
0.122004
0
0
0
0
0.102244
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6abede40d15801b11a2859dc2d4187cde80fbdfe
21,846
py
Python
gs_quant/target/risk.py
dannyb2018/gs-quant
e963c4af1c7c65b2ee8f7995815542f6fb7b4957
[ "Apache-2.0" ]
null
null
null
gs_quant/target/risk.py
dannyb2018/gs-quant
e963c4af1c7c65b2ee8f7995815542f6fb7b4957
[ "Apache-2.0" ]
null
null
null
gs_quant/target/risk.py
dannyb2018/gs-quant
e963c4af1c7c65b2ee8f7995815542f6fb7b4957
[ "Apache-2.0" ]
null
null
null
""" Copyright 2019 Goldman Sachs. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
36.168874
102
0.745812
2,552
21,846
6.159091
0.133621
0.093332
0.087607
0.044535
0.580926
0.470607
0.428744
0.405268
0.361878
0.319888
0
0.001409
0.155177
21,846
603
103
36.228856
0.850238
0.042342
0
0.497976
0
0
0.003641
0
0
0
0
0
0
1
0
false
0
0.01417
0
0.787449
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
6ac91be5a35f91c12720baadb4a30911d4c2fbd2
1,384
py
Python
Sources/Workflows/boto/botoworkflow.py
yagosys/AlfredWorkflow.com
9e5087e61fb89640a7a6ca89ba554303aec0b037
[ "MIT" ]
2,177
2015-01-02T09:56:51.000Z
2022-03-27T01:48:37.000Z
Sources/Workflows/boto/botoworkflow.py
yagosys/AlfredWorkflow.com
9e5087e61fb89640a7a6ca89ba554303aec0b037
[ "MIT" ]
24
2015-01-02T19:11:51.000Z
2021-01-27T07:20:33.000Z
Sources/Workflows/boto/botoworkflow.py
yagosys/AlfredWorkflow.com
9e5087e61fb89640a7a6ca89ba554303aec0b037
[ "MIT" ]
516
2015-01-02T18:48:29.000Z
2022-01-26T07:12:35.000Z
import sys sys.path.append('lib') import alp import boto import logging logging.basicConfig(filename='debug.log') def list_instances(name): """Returns a list of instances with a given name""" items = [] try: if len(name) <2: items.append(alp.Item( title='Searching', subtitle='Please type more then on...
25.163636
87
0.629335
198
1,384
4.328283
0.449495
0.032672
0.056009
0.063011
0.129522
0
0
0
0
0
0
0.00555
0.218931
1,384
54
88
25.62963
0.787234
0
0
0.212766
0
0
0.156789
0
0
0
0
0
0
0
null
null
0
0.085106
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
6acb2ad715286b91ab955c6a7adefe4e0d02076a
3,081
py
Python
Data.py
GMPranav/SRCDVD
b54f58298ff1e230b9a2f1734e8bd343e84db601
[ "CC0-1.0" ]
5
2021-07-21T19:48:36.000Z
2022-03-22T04:49:04.000Z
Data.py
GMPranav/SRCDVD
b54f58298ff1e230b9a2f1734e8bd343e84db601
[ "CC0-1.0" ]
4
2021-07-23T04:54:38.000Z
2021-09-28T07:06:30.000Z
Data.py
GMPranav/SRCDVD
b54f58298ff1e230b9a2f1734e8bd343e84db601
[ "CC0-1.0" ]
2
2021-07-22T02:17:20.000Z
2021-08-11T11:56:18.000Z
import requests import re import json class Data: def __init__(self) -> None: self.gameAbbriveature = "" self.gameInfo = "https://www.speedrun.com/api/v1/games/" self.runsCount = 0 self.gameName = "" self.gameID = "" self.videoLinks = [] self.youtubeLinks = [] self.twitchLinks = [] self.youtubeTempl...
39.5
121
0.663746
415
3,081
4.903614
0.351807
0.088452
0.035381
0.02801
0.334152
0.293857
0.2457
0.220147
0.220147
0.220147
0
0.009138
0.183057
3,081
77
122
40.012987
0.799364
0.15125
0
0.183333
0
0.05
0.249616
0.017281
0
0
0
0.012987
0
1
0.066667
false
0
0.05
0
0.133333
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
1
0
0
0
0
0
0
0
0
0
0
1
6acc14bdb5cefadede9ce20471b404d19d8c7bb1
2,997
py
Python
tianchi/nl2sql_baseline/sqlnet/model/modules/select_number.py
yscoder-github/nlp_competition
b49d1fe2b6aed2c73e5f1bc7e1524032b6cc5635
[ "Apache-2.0" ]
4
2019-07-05T06:11:46.000Z
2021-08-01T22:46:58.000Z
tianchi/nl2sql_baseline/sqlnet/model/modules/select_number.py
yscoder-github/kaggle-nlp
b49d1fe2b6aed2c73e5f1bc7e1524032b6cc5635
[ "Apache-2.0" ]
null
null
null
tianchi/nl2sql_baseline/sqlnet/model/modules/select_number.py
yscoder-github/kaggle-nlp
b49d1fe2b6aed2c73e5f1bc7e1524032b6cc5635
[ "Apache-2.0" ]
2
2019-07-05T06:11:48.000Z
2021-08-01T22:46:59.000Z
import json import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable import numpy as np from net_utils import run_lstm, col_name_encode class SelNumPredictor(nn.Module): def __init__(self, N_word, N_h, N_depth, use_ca): super(SelNumPredictor, self).__init__() ...
38.922078
110
0.598599
463
2,997
3.50324
0.24838
0.077682
0.080148
0.036991
0.237361
0.187423
0.127004
0.110974
0.080148
0.050555
0
0.026074
0.308976
2,997
76
111
39.434211
0.757122
0.059059
0
0
0
0
0.019841
0
0
0
0
0
0
0
null
null
0
0.145833
null
null
0.020833
0
0
0
null
0
0
0
0
0
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
6acc82df1776937de4fb8435a308e6968ce5c6a5
944
py
Python
tools.py
ANadali/SIFT-detection-description-and-matching
f8eff48c9d8fe0f0e805c550775446f346d05e6d
[ "MIT" ]
null
null
null
tools.py
ANadali/SIFT-detection-description-and-matching
f8eff48c9d8fe0f0e805c550775446f346d05e6d
[ "MIT" ]
null
null
null
tools.py
ANadali/SIFT-detection-description-and-matching
f8eff48c9d8fe0f0e805c550775446f346d05e6d
[ "MIT" ]
null
null
null
import cv2 import numpy as np def drawMatches(I1,keypoints1,I2,keypoints2, matches, I3=None): m1,n1,d1 = I1.shape m2,n2,d2 = I2.shape print m1,n1,d1 print m2,n2,d2 m = max(m1,m2) n = n1+n2 I = np.zeros((m,n,d1), dtype = I1.dtype) print I.shape I[:m1,:n1,:] = I1 I[:m2,n1...
19.666667
63
0.512712
153
944
3.111111
0.366013
0.02521
0.094538
0.113445
0.037815
0
0
0
0
0
0
0.107198
0.308263
944
47
64
20.085106
0.621746
0
0
0
0
0
0.002119
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6ace5e8d4ed1d6abaf83cf175e2f19c0fc975a41
2,899
py
Python
plotly/validators/histogram/_error_x.py
fcollonval/plotly.py
5c7f100db1af8c82bb740a38ef684955a8ed6d0e
[ "MIT" ]
2
2020-03-24T11:41:14.000Z
2021-01-14T07:59:43.000Z
plotly/validators/histogram/_error_x.py
fcollonval/plotly.py
5c7f100db1af8c82bb740a38ef684955a8ed6d0e
[ "MIT" ]
null
null
null
plotly/validators/histogram/_error_x.py
fcollonval/plotly.py
5c7f100db1af8c82bb740a38ef684955a8ed6d0e
[ "MIT" ]
4
2019-06-03T14:49:12.000Z
2022-01-06T01:05:12.000Z
import _plotly_utils.basevalidators class ErrorXValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__( self, plotly_name='error_x', parent_name='histogram', **kwargs ): super(ErrorXValidator, self).__init__( plotly_name=plotly_name, parent_name=parent...
39.175676
70
0.543636
321
2,899
4.838006
0.292835
0.040567
0.054089
0.045074
0.415969
0.383773
0.383773
0.383773
0.285898
0.222795
0
0
0.413936
2,899
73
71
39.712329
0.914067
0
0
0.119403
0
0
0.860987
0
0
0
0
0
0
1
0.014925
false
0
0.014925
0
0.044776
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
6ad5266006aef8f3517b1c63d3ecde4e7f0fd77e
11,610
py
Python
core/src/main/python/wlsdeploy/yaml/yaml_translator.py
11bluetree/weblogic-deploy-tooling
9f1f5c9a2bf005b8fc01caf951c2717a6cccb5cf
[ "Apache-2.0", "MIT" ]
1
2020-05-12T05:34:25.000Z
2020-05-12T05:34:25.000Z
core/src/main/python/wlsdeploy/yaml/yaml_translator.py
11bluetree/weblogic-deploy-tooling
9f1f5c9a2bf005b8fc01caf951c2717a6cccb5cf
[ "Apache-2.0", "MIT" ]
null
null
null
core/src/main/python/wlsdeploy/yaml/yaml_translator.py
11bluetree/weblogic-deploy-tooling
9f1f5c9a2bf005b8fc01caf951c2717a6cccb5cf
[ "Apache-2.0", "MIT" ]
null
null
null
""" Copyright (c) 2019, 2020, Oracle Corporation and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. Module to handle translating between Yaml files and Python dictionaries. """ import re import java.io.FileNotFoundException as JFileNotFoundExc...
40.880282
120
0.63919
1,357
11,610
5.232867
0.190862
0.042248
0.047317
0.030418
0.530348
0.478665
0.44543
0.414308
0.369244
0.363329
0
0.006369
0.28329
11,610
283
121
41.024735
0.847014
0.023256
0
0.391566
0
0
0.03777
0.006234
0
0
0
0
0
0
null
null
0
0.072289
null
null
0.03012
0
0
0
null
0
0
0
0
0
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
6ad6f525f3300f368becc77f7110dae2418d9ea6
2,461
py
Python
packages/amuse/setup.py
silviatoonen/amuse
8ba3409a2755ddf7e981ab8e86c7537e555f2dba
[ "Apache-2.0" ]
6
2016-03-29T07:26:20.000Z
2019-02-12T11:52:05.000Z
packages/amuse/setup.py
silviatoonen/amuse
8ba3409a2755ddf7e981ab8e86c7537e555f2dba
[ "Apache-2.0" ]
9
2017-03-16T12:12:40.000Z
2021-12-20T10:49:56.000Z
packages/amuse/setup.py
rieder/amuse
3ac3b6b8f922643657279ddee5c8ab3fc0440d5e
[ "Apache-2.0" ]
null
null
null
from setuptools import setup from support.classifiers import classifiers from setuptools_scm import get_version version = get_version( root='../..', relative_to=__file__, ) name = 'amuse' author = 'The AMUSE team' author_email = 'info@amusecode.org' license_ = "Apache License 2.0" url = 'http://www.amusecode....
28.616279
67
0.646079
290
2,461
5.317241
0.344828
0.166018
0.252918
0.050584
0.103761
0
0
0
0
0
0
0.004008
0.188948
2,461
85
68
28.952941
0.768537
0.028444
0
0.025641
0
0
0.321189
0.030988
0
0
0
0
0
1
0
false
0
0.064103
0
0.064103
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6ad822ee2f7b10d5dbe344dc7ba9864ea7470de6
1,889
py
Python
adv/kimono_elisanne.py
Caledor/dl
fc5e9b6855afb40c4c499a70dfa0e0503e8c8f05
[ "Apache-2.0" ]
null
null
null
adv/kimono_elisanne.py
Caledor/dl
fc5e9b6855afb40c4c499a70dfa0e0503e8c8f05
[ "Apache-2.0" ]
null
null
null
adv/kimono_elisanne.py
Caledor/dl
fc5e9b6855afb40c4c499a70dfa0e0503e8c8f05
[ "Apache-2.0" ]
null
null
null
from core.advbase import * class Kimono_Elisanne(Adv): def override_effect_off(self, buff): o_effect_off = buff.effect_off def effect_off(): self.update_ny_level(0) o_effect_off() buff.effect_off = effect_off def prerun(self): self.ny_buff = [ ...
29.515625
77
0.523028
254
1,889
3.661417
0.311024
0.077419
0.068817
0.054839
0.269892
0.201075
0
0
0
0
0
0.04685
0.344627
1,889
63
78
29.984127
0.704362
0
0
0.037736
0
0
0.066173
0
0
0
0
0
0
1
0.113208
false
0.056604
0.018868
0
0.169811
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
6ad8d15d3d6b49877ce27039c7a57b145cd61915
859
py
Python
bin/conftoshell.py
mcernak/tracter
56b30159099cda6000b9d2977925883cada7f0b1
[ "BSD-3-Clause" ]
null
null
null
bin/conftoshell.py
mcernak/tracter
56b30159099cda6000b9d2977925883cada7f0b1
[ "BSD-3-Clause" ]
null
null
null
bin/conftoshell.py
mcernak/tracter
56b30159099cda6000b9d2977925883cada7f0b1
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # # Convert config (ini) file to shell variables # Phil Garner, July 2010 # import ConfigParser import sys # Read command line ini = '' format = '' for arg in sys.argv[1:]: if arg == '-set': format = 'set' elif arg == '-export': format = 'export' elif arg == '-setenv': ...
23.216216
53
0.522701
123
859
3.617886
0.382114
0.053933
0.053933
0.035955
0.116854
0.116854
0.116854
0.116854
0.080899
0.080899
0
0.021886
0.308498
859
36
54
23.861111
0.727273
0.173458
0
0.08
0
0
0.14245
0
0
0
0
0
0
0
null
null
0
0.08
null
null
0.16
0
0
0
null
0
0
0
0
0
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
6adb435909f0337931676055ae5982b241dd9146
2,577
py
Python
tutorials/DuelingDQN/arguments.py
namjiwon1023/Code_With_RL
37beec975b1685e9f6cf991abed491b854b78173
[ "MIT" ]
3
2021-08-12T15:11:28.000Z
2021-09-27T16:04:16.000Z
tutorials/D3QN/arguments.py
namjiwon1023/Code_With_RL
37beec975b1685e9f6cf991abed491b854b78173
[ "MIT" ]
null
null
null
tutorials/D3QN/arguments.py
namjiwon1023/Code_With_RL
37beec975b1685e9f6cf991abed491b854b78173
[ "MIT" ]
1
2021-08-05T07:20:57.000Z
2021-08-05T07:20:57.000Z
# Copyright (c) 2021: Zhiyuan Nan (namjw@hanyang.ac.kr). # # This work is licensed under the terms of the MIT license. # For a copy, see <https://opensource.org/licenses/MIT>. import argparse import torch as T device = T.device('cuda:0' if T.cuda.is_available() else 'cpu') def get_args(): parser = argparse.Argum...
54.829787
134
0.716337
379
2,577
4.796834
0.37467
0.108911
0.205721
0.037404
0.09571
0.045105
0.045105
0.045105
0
0
0
0.025311
0.126116
2,577
46
135
56.021739
0.781972
0.064804
0
0
0
0
0.360083
0
0
0
0
0
0
1
0.035714
false
0
0.071429
0
0.142857
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6ae042ceb0861e71e60b3dccda6aef7058f595ba
2,380
py
Python
ckan/tests/legacy/pylons_controller.py
mkuder/ckan
592b65f2538ae88fbc3b0c3155cf9fcd77a0458c
[ "Apache-2.0" ]
2
2015-07-17T19:09:52.000Z
2017-08-30T20:23:44.000Z
ckan/tests/legacy/pylons_controller.py
mkuder/ckan
592b65f2538ae88fbc3b0c3155cf9fcd77a0458c
[ "Apache-2.0" ]
12
2015-01-19T18:03:56.000Z
2016-04-11T16:40:33.000Z
ckan/tests/legacy/pylons_controller.py
mkuder/ckan
592b65f2538ae88fbc3b0c3155cf9fcd77a0458c
[ "Apache-2.0" ]
3
2015-03-31T06:19:42.000Z
2016-06-27T15:32:28.000Z
'''For unit testing that does not use paste fixture web requests, but needs pylons set up for access to c, g or the template engine. Based on answer at: http://groups.google.com/group/pylons-discuss/browse_thread/thread/5f8d8f59fd459a77 ''' from unittest import TestCase from paste.registry import Registry import pylo...
34
83
0.702521
306
2,380
5.382353
0.460784
0.060109
0.080753
0.106254
0
0
0
0
0
0
0
0.005319
0.210084
2,380
69
84
34.492754
0.870745
0.296218
0
0.102564
0
0
0.042131
0
0
0
0
0
0
1
0.076923
false
0.051282
0.25641
0
0.410256
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
6ae690f6b94a616265cb4a1b3f017760bb216de5
1,570
py
Python
addons/point_of_sale/models/pos_category.py
SHIVJITH/Odoo_Machine_Test
310497a9872db7844b521e6dab5f7a9f61d365a4
[ "Apache-2.0" ]
null
null
null
addons/point_of_sale/models/pos_category.py
SHIVJITH/Odoo_Machine_Test
310497a9872db7844b521e6dab5f7a9f61d365a4
[ "Apache-2.0" ]
null
null
null
addons/point_of_sale/models/pos_category.py
SHIVJITH/Odoo_Machine_Test
310497a9872db7844b521e6dab5f7a9f61d365a4
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import api, fields, models, _ from odoo.exceptions import ValidationError, UserError class PosCategory(models.Model): _name = "pos.category" _description = "Point of Sale Category" _order = "sequen...
42.432432
113
0.650955
197
1,570
5.06599
0.497462
0.032064
0.022044
0.038076
0
0
0
0
0
0
0
0.009828
0.222293
1,570
36
114
43.611111
0.807535
0.059873
0
0
0
0
0.247794
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6ae7b3a7079cd03a6e2ba598d1cf7788900c092a
1,092
py
Python
projects/day010/calculator.py
gabrielmdr/100-days-of-code
095357e3edb2479efcba81851614901c0000389d
[ "MIT" ]
null
null
null
projects/day010/calculator.py
gabrielmdr/100-days-of-code
095357e3edb2479efcba81851614901c0000389d
[ "MIT" ]
null
null
null
projects/day010/calculator.py
gabrielmdr/100-days-of-code
095357e3edb2479efcba81851614901c0000389d
[ "MIT" ]
null
null
null
from art import logo # Calculator # Add def add(n1, n2): return n1 + n2 # Subtract def subtract(n1, n2): return n1 - n2 # Multiply def multiply(n1, n2): return n1 * n2 # Divide def divide(n1, n2): return n1 / n2 operations = { "+": add, "-": subtract, "*": multiply, "/": divid...
18.2
120
0.556777
129
1,092
4.689922
0.44186
0.052893
0.066116
0.079339
0.152066
0
0
0
0
0
0
0.030914
0.318681
1,092
59
121
18.508475
0.782258
0.035714
0
0.108108
0
0.027027
0.204394
0
0
0
0
0
0
1
0.135135
false
0
0.027027
0.108108
0.27027
0.081081
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
6ae8b6b4dca780d9b1818222f3d7b5691872a6a8
1,593
py
Python
app/views.py
anubhavp28/Shortify
44dd6fde9b67d93efe80d990c06181edde2e841d
[ "MIT" ]
null
null
null
app/views.py
anubhavp28/Shortify
44dd6fde9b67d93efe80d990c06181edde2e841d
[ "MIT" ]
null
null
null
app/views.py
anubhavp28/Shortify
44dd6fde9b67d93efe80d990c06181edde2e841d
[ "MIT" ]
null
null
null
from app import app, redisdb, sqldb from app.models import Urls from app import errors from flask import request, jsonify, redirect from hashlib import md5 from base64 import urlsafe_b64encode import time @app.route('/shorten', methods=['GET']) def shorten(): if not request.args.get('url'): return erro...
36.204545
123
0.680477
231
1,593
4.571429
0.320346
0.113636
0.036932
0.0625
0.356061
0.316288
0.270833
0.270833
0.270833
0.229167
0
0.014482
0.176397
1,593
44
124
36.204545
0.790396
0
0
0.194444
0
0
0.183187
0
0
0
0
0
0
1
0.111111
false
0
0.194444
0.027778
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6ae99c04d1a039e1b0896c9a217e767e1c607536
212
py
Python
zad_2.py
Belyaev126/l8
8cf36d1396eae0ca5bcf4fd6a59aa4c4f9094140
[ "MIT" ]
null
null
null
zad_2.py
Belyaev126/l8
8cf36d1396eae0ca5bcf4fd6a59aa4c4f9094140
[ "MIT" ]
null
null
null
zad_2.py
Belyaev126/l8
8cf36d1396eae0ca5bcf4fd6a59aa4c4f9094140
[ "MIT" ]
null
null
null
#!/usr/bin/env python 3 # -*- config: utf-8 -*- if __name__ == '__main__': dic = {1: "один", 2: "два", 3: "три", 4: "четыре", 5: "пять", } new_dic = {j: i for i, j in dic.items()} print(dic, new_dic)
30.285714
67
0.523585
36
212
2.805556
0.777778
0.118812
0
0
0
0
0
0
0
0
0
0.042683
0.226415
212
7
68
30.285714
0.573171
0.207547
0
0
0
0
0.167665
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6aea7c8ef9f974be16e8dbcb8964d083dea0abf7
805
py
Python
backend/__init__.py
wirvsvirus-dortmund/backend
74d8b7004068ca1c588ae5582f5739fb91d17177
[ "MIT" ]
null
null
null
backend/__init__.py
wirvsvirus-dortmund/backend
74d8b7004068ca1c588ae5582f5739fb91d17177
[ "MIT" ]
9
2020-03-21T13:03:27.000Z
2020-03-29T15:12:38.000Z
backend/__init__.py
wirvsvirus-dortmund/backend
74d8b7004068ca1c588ae5582f5739fb91d17177
[ "MIT" ]
null
null
null
from flask import Flask from flask_migrate import Migrate from .config import Config from .api import api from .authentication import login, auth from .json_encoder import JSONEncoder from .mail import mail from .models import db def create_app(config=Config): '''initialize the flask app''' app = Flask(__nam...
21.756757
60
0.722981
109
805
5.155963
0.33945
0.042705
0.053381
0
0
0
0
0
0
0
0
0.004608
0.191304
805
36
61
22.361111
0.858679
0.099379
0
0
0
0
0.011158
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.5
0.090909
0
0
0
null
0
0
0
0
0
0
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
6af0373f8dd5d05f5b1bd24535c1777d6ecc3da8
1,403
py
Python
capybara/tests/session/test_accept_prompt.py
dwt/capybara.py
eafd9ac50d02e8b57ef90d767493c8fa2be0739a
[ "MIT" ]
null
null
null
capybara/tests/session/test_accept_prompt.py
dwt/capybara.py
eafd9ac50d02e8b57ef90d767493c8fa2be0739a
[ "MIT" ]
null
null
null
capybara/tests/session/test_accept_prompt.py
dwt/capybara.py
eafd9ac50d02e8b57ef90d767493c8fa2be0739a
[ "MIT" ]
null
null
null
import pytest from capybara.exceptions import ModalNotFound @pytest.mark.requires("modals") class TestAcceptPrompt: @pytest.fixture(autouse=True) def setup_session(self, session): session.visit("/with_js") def test_accepts_the_prompt_with_no_message(self, session): with session.accept_pr...
38.972222
87
0.692088
174
1,403
5.304598
0.298851
0.07584
0.081257
0.124594
0.60455
0.579632
0.367281
0.367281
0.367281
0.367281
0
0
0.193158
1,403
35
88
40.085714
0.815371
0
0
0.296296
0
0
0.178902
0.044904
0
0
0
0
0.111111
1
0.222222
false
0.037037
0.074074
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
1
0
0
0
0
0
0
0
1
0a73fe232810d868b3986375b195c5e9375486a7
997
py
Python
pycoax/tests/test_parity.py
lowobservable/coax
9714fdfb418dff56357b9a35d2da3a91b8a60ffe
[ "0BSD" ]
21
2020-05-11T19:46:29.000Z
2022-02-09T01:32:41.000Z
pycoax/tests/test_parity.py
lowobservable/coax-interface
614f8a5f448b1f7e8298ced2585c178f4d7f435d
[ "0BSD" ]
null
null
null
pycoax/tests/test_parity.py
lowobservable/coax-interface
614f8a5f448b1f7e8298ced2585c178f4d7f435d
[ "0BSD" ]
5
2020-07-20T08:05:10.000Z
2022-01-30T13:57:05.000Z
import unittest import context from coax.parity import even_parity, odd_parity class EvenParityTestCase(unittest.TestCase): def test_with_even_input(self): self.assertEqual(even_parity(0b00000000), 0) def test_with_odd_input(self): self.assertEqual(even_parity(0b00000001), 1) def test_w...
28.485714
52
0.668004
123
997
5.105691
0.276423
0.066879
0.105096
0.152866
0.671975
0.671975
0.611465
0.611465
0.490446
0.490446
0
0.063325
0.239719
997
34
53
29.323529
0.765172
0
0
0.48
0
0
0.008024
0
0
0
0
0
0.24
1
0.24
false
0
0.12
0
0.44
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
0a761144dfab282ea2ccccd337b9cd039d788204
249
py
Python
setup.py
vmware-archive/dbeekeeper
ea34a9ae8ee8700a257caec13028988ca4b4bad3
[ "Apache-2.0" ]
null
null
null
setup.py
vmware-archive/dbeekeeper
ea34a9ae8ee8700a257caec13028988ca4b4bad3
[ "Apache-2.0" ]
null
null
null
setup.py
vmware-archive/dbeekeeper
ea34a9ae8ee8700a257caec13028988ca4b4bad3
[ "Apache-2.0" ]
1
2019-01-02T19:17:46.000Z
2019-01-02T19:17:46.000Z
from setuptools import setup setup( name="dbeekeeper", version="1.0.0", test_suite='tests', install_requires=[ "kazoo>=1.2.1", "pytest>=2.3.5", "pytest-pep8>=1.0.4", "zope.interface>=3.8.0", ], )
17.785714
32
0.526104
34
249
3.794118
0.705882
0.031008
0
0
0
0
0
0
0
0
0
0.088398
0.273092
249
13
33
19.153846
0.624309
0
0
0
0
0
0.337349
0.084337
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
0a775ce6d5ae34a06139153a7e2c5eeba0001d55
5,268
py
Python
markovdp/state.py
5g-media/ss-cno-teleimmersive-game
70fd71e17c005feb02e661f36bf4257817f91dde
[ "Apache-2.0" ]
null
null
null
markovdp/state.py
5g-media/ss-cno-teleimmersive-game
70fd71e17c005feb02e661f36bf4257817f91dde
[ "Apache-2.0" ]
null
null
null
markovdp/state.py
5g-media/ss-cno-teleimmersive-game
70fd71e17c005feb02e661f36bf4257817f91dde
[ "Apache-2.0" ]
null
null
null
class State(object): """State Class. The role of this class is to represent a state in the MDP Model. Attributes: _q_states (list): The q-states of this state _value (double): The value of the state _best_q_state (Q-state): Q-state with highest Q-value _times_visited (int):...
30.450867
104
0.603645
692
5,268
4.371387
0.148844
0.073388
0.033058
0.037025
0.222479
0.13157
0.085289
0.040992
0.029752
0.029752
0
0.001922
0.308656
5,268
172
105
30.627907
0.828666
0.355733
0
0.164557
0
0
0.008183
0
0
0
0
0
0
1
0.265823
false
0
0
0.025316
0.468354
0.050633
0
0
0
null
0
0
0
0
0
0
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
0a798071e55ebcf9ec9817e9db397d5c6bb9c3c9
865
py
Python
utilities/deployment/hq_wsgi.py
commtrack/commtrack-old-to-del
cc9c22754ac192a45483cef609bdcf09aa990340
[ "BSD-3-Clause" ]
1
2017-05-19T07:23:00.000Z
2017-05-19T07:23:00.000Z
utilities/deployment/hq_wsgi.py
commtrack/commtrack-old-to-del
cc9c22754ac192a45483cef609bdcf09aa990340
[ "BSD-3-Clause" ]
null
null
null
utilities/deployment/hq_wsgi.py
commtrack/commtrack-old-to-del
cc9c22754ac192a45483cef609bdcf09aa990340
[ "BSD-3-Clause" ]
null
null
null
import os import sys filedir = os.path.dirname(__file__) rootpath = os.path.join(filedir, "..", "..") sys.path.append(os.path.join(rootpath)) sys.path.append(os.path.join(rootpath,'apps')) sys.path.append(os.path.join(rootpath,'lib')) #rapidsms lib stuff sys.path.append(os.path.join(rootpath,'rapidsms')) sys.path....
30.892857
75
0.747977
126
865
5.071429
0.222222
0.103286
0.156495
0.253521
0.502347
0.502347
0.502347
0.405321
0.295775
0.156495
0
0
0.057803
865
27
76
32.037037
0.784049
0.020809
0
0
0
0
0.193853
0.053191
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
0a7a39257146e6ca4173a76a0422d9535e5a8479
535
py
Python
challenges/rj1/server.py
nickbjohnson4224/greyhat-crypto-ctf-2014
62d03ecf1126edc04944dc9183fa2ba01ed974e7
[ "MIT" ]
4
2015-04-18T02:25:20.000Z
2018-12-17T20:46:07.000Z
challenges/rj1/server.py
nickbjohnson4224/greyhat-crypto-ctf-2014
62d03ecf1126edc04944dc9183fa2ba01ed974e7
[ "MIT" ]
null
null
null
challenges/rj1/server.py
nickbjohnson4224/greyhat-crypto-ctf-2014
62d03ecf1126edc04944dc9183fa2ba01ed974e7
[ "MIT" ]
null
null
null
import socket import sys from rj1 import enc key = "965a27ba7328b453".decode('hex') if __name__ == '__main__': host = sys.argv[1] port = int(sys.argv[2]) sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.bind((host, port)) while True: data, addr = sock.recvfrom(1024) ...
21.4
59
0.583178
75
535
4.026667
0.56
0.069536
0.072848
0
0
0
0
0
0
0
0
0.058524
0.265421
535
24
60
22.291667
0.709924
0
0
0
0
0
0.050467
0
0
0
0
0
0
0
null
null
0
0.176471
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0a7a3c8ed6172d335ca066ddc5f2d0b37aadb1ef
11,602
py
Python
src/ScraperClass.py
AndreaPaciolla/scrape
4d1943b374d8ce78d60aa2cc1ae060aa9b4ee4c4
[ "MIT" ]
null
null
null
src/ScraperClass.py
AndreaPaciolla/scrape
4d1943b374d8ce78d60aa2cc1ae060aa9b4ee4c4
[ "MIT" ]
null
null
null
src/ScraperClass.py
AndreaPaciolla/scrape
4d1943b374d8ce78d60aa2cc1ae060aa9b4ee4c4
[ "MIT" ]
null
null
null
import requests import json import math import time import UtilityClass from bs4 import BeautifulSoup class Scraper(object): pages = { 'login': 'https://api.500px.com/v1/session', 'loggedHome': 'https://500px.com/discover', 'profile': 'https://500px.com/andreapaciolla', 'users': '...
66.297143
947
0.724961
878
11,602
9.503417
0.268793
0.057526
0.060642
0.077181
0.330657
0.289549
0.279722
0.279722
0.279722
0.279722
0
0.102043
0.177297
11,602
175
948
66.297143
0.772132
0.032753
0
0.284615
0
0.046154
0.538215
0.402479
0
0
0
0
0
1
0.053846
false
0
0.046154
0.007692
0.238462
0.130769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a7c1bffb0716aea12c44916b7c18bcae56b82cb
1,932
py
Python
office365/runtime/queries/batch_query.py
wreiner/Office365-REST-Python-Client
476bbce4f5928a140b4f5d33475d0ac9b0783530
[ "MIT" ]
null
null
null
office365/runtime/queries/batch_query.py
wreiner/Office365-REST-Python-Client
476bbce4f5928a140b4f5d33475d0ac9b0783530
[ "MIT" ]
null
null
null
office365/runtime/queries/batch_query.py
wreiner/Office365-REST-Python-Client
476bbce4f5928a140b4f5d33475d0ac9b0783530
[ "MIT" ]
null
null
null
import uuid from office365.runtime.queries.client_query import ClientQuery from office365.runtime.queries.read_entity_query import ReadEntityQuery def create_boundary(prefix, compact=False): """Creates a string that can be used as a multipart request boundary. :param bool compact: :param str prefix: Str...
28.411765
85
0.641304
231
1,932
5.177489
0.324675
0.045987
0.033445
0.050167
0.270903
0.221572
0.184783
0.162207
0.162207
0
0
0.009226
0.270704
1,932
67
86
28.835821
0.839603
0.157867
0
0.179487
0
0
0.003878
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.076923
0.487179
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0a8d6924a5662f8033b74ee05640a0c6cbfbd4bf
1,518
py
Python
watcher/decision_engine/model/element/node.py
mail2nsrajesh/watcher
5f179609d0ee145fc7957972c83593cce242884d
[ "Apache-2.0" ]
null
null
null
watcher/decision_engine/model/element/node.py
mail2nsrajesh/watcher
5f179609d0ee145fc7957972c83593cce242884d
[ "Apache-2.0" ]
null
null
null
watcher/decision_engine/model/element/node.py
mail2nsrajesh/watcher
5f179609d0ee145fc7957972c83593cce242884d
[ "Apache-2.0" ]
null
null
null
# -*- encoding: utf-8 -*- # Copyright (c) 2015 b<>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 a...
31.625
74
0.72332
179
1,518
6.106145
0.636872
0.054895
0.023788
0.029277
0
0
0
0
0
0
0
0.0072
0.176548
1,518
47
75
32.297872
0.8672
0.373518
0
0
0
0
0.074866
0
0
0
0
0
0
1
0.043478
false
0
0.173913
0
0.521739
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
0a8e70dfd986fefe550165e6c05c30a4ca68e46d
5,204
py
Python
sketch/sketch/libraries/PubSubClient/tests/testsuite.py
KouassiJP1998/Routage_RREQ-RREP
92ed5e30425a01618041d2e9b01a040371594f6c
[ "Apache-2.0" ]
470
2015-05-05T19:31:10.000Z
2022-03-13T07:30:57.000Z
sketch/sketch/libraries/PubSubClient/tests/testsuite.py
KouassiJP1998/Routage_RREQ-RREP
92ed5e30425a01618041d2e9b01a040371594f6c
[ "Apache-2.0" ]
78
2015-05-14T09:36:25.000Z
2021-12-08T11:32:21.000Z
sketch/sketch/libraries/PubSubClient/tests/testsuite.py
KouassiJP1998/Routage_RREQ-RREP
92ed5e30425a01618041d2e9b01a040371594f6c
[ "Apache-2.0" ]
141
2015-04-27T15:27:26.000Z
2021-12-09T14:46:27.000Z
#!/usr/bin/env python import os import os.path import sys import shutil from subprocess import call import importlib import unittest import re from testcases import settings class Workspace(object): def __init__(self): self.root_dir = os.getcwd() self.build_dir = os.path.join(self.root_dir,"tmpbin"); ...
28.911111
107
0.585703
721
5,204
4.144244
0.20111
0.038153
0.06091
0.037483
0.401272
0.338353
0.314592
0.27075
0.233266
0.1834
0
0.002274
0.239623
5,204
179
108
29.072626
0.752843
0.024596
0
0.352941
0
0
0.103509
0.019716
0
0
0
0
0
0
null
null
0.013072
0.071895
null
null
0.078431
0
0
0
null
0
0
0
0
0
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
0a8ebdeeb8e3e94c42f18531bdd1e10d06ab9d36
3,987
py
Python
TWLight/urls.py
saloniig/TWLight
cd92e690b79676299d95394abf9e66885eac9d73
[ "MIT" ]
null
null
null
TWLight/urls.py
saloniig/TWLight
cd92e690b79676299d95394abf9e66885eac9d73
[ "MIT" ]
1
2022-03-12T01:03:31.000Z
2022-03-12T01:03:31.000Z
TWLight/urls.py
saloniig/TWLight
cd92e690b79676299d95394abf9e66885eac9d73
[ "MIT" ]
null
null
null
""" TWLight URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/ref/urls/ """ from django.conf.urls import include, url from django.contrib import admin from django.contrib.admindocs import urls as admindocs from django.contrib.auth ...
39.87
87
0.650364
463
3,987
5.485961
0.257019
0.040945
0.047244
0.045276
0.035433
0.012598
0.012598
0
0
0
0
0.006256
0.158014
3,987
99
88
40.272727
0.750372
0.130173
0
0.17284
0
0
0.196061
0.018535
0
0
0
0
0
1
0
false
0.074074
0.234568
0
0.234568
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
0a8f8c252993380cc1082682e36bae6b64d34ba4
508
py
Python
leave/migrations/0016_alter_application_up_next.py
PriyanshBordia/LNMIIT-Leave-Management
279464f4c3e3103d4edadc161f5efa027bca9bbd
[ "MIT" ]
1
2022-03-06T19:39:10.000Z
2022-03-06T19:39:10.000Z
leave/migrations/0016_alter_application_up_next.py
PriyanshBordia/LNMIIT-Leave-Management-System
279464f4c3e3103d4edadc161f5efa027bca9bbd
[ "MIT" ]
null
null
null
leave/migrations/0016_alter_application_up_next.py
PriyanshBordia/LNMIIT-Leave-Management-System
279464f4c3e3103d4edadc161f5efa027bca9bbd
[ "MIT" ]
null
null
null
# Generated by Django 3.2.9 on 2021-11-22 19:39 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('leave', '0015_auto_20211123_0058'), ] operations = [ migrations.AlterField( model_name='applica...
25.4
135
0.649606
61
508
5.278689
0.688525
0.074534
0.086957
0.136646
0
0
0
0
0
0
0
0.081633
0.228346
508
19
136
26.736842
0.739796
0.088583
0
0
1
0
0.140998
0.049892
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a92e15d5a7f569b9e945f8c88c553d1aa6f3ffc
334
py
Python
src/model/category.py
heliortf/Google-Forum-Engine
00a806734eb2a6ee43992d418bedf3a919825d1b
[ "Apache-2.0" ]
null
null
null
src/model/category.py
heliortf/Google-Forum-Engine
00a806734eb2a6ee43992d418bedf3a919825d1b
[ "Apache-2.0" ]
null
null
null
src/model/category.py
heliortf/Google-Forum-Engine
00a806734eb2a6ee43992d418bedf3a919825d1b
[ "Apache-2.0" ]
null
null
null
from google.appengine.ext import ndb """ Users Model """ class Category(ndb.Model): name = ndb.StringProperty() description = ndb.StringProperty() parent_category = ndb.StructuredProperty(Category) created_at = ndb.DateTimeProperty(auto_now_add=True) updated_at = ndb.DateTimeProperty(auto_n...
25.692308
58
0.733533
39
334
6.102564
0.589744
0.092437
0.176471
0.210084
0.294118
0.294118
0.294118
0
0
0
0
0
0.164671
334
12
59
27.833333
0.853047
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
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
0a98597f83b730394c70c756fae72fcc9dbb3b7c
822
py
Python
bookwyrm/migrations/0022_auto_20201212_1744.py
daveross/bookwyrm
d3251f511c184ae6b94b191b33919849c81ef2c2
[ "CC0-1.0" ]
null
null
null
bookwyrm/migrations/0022_auto_20201212_1744.py
daveross/bookwyrm
d3251f511c184ae6b94b191b33919849c81ef2c2
[ "CC0-1.0" ]
null
null
null
bookwyrm/migrations/0022_auto_20201212_1744.py
daveross/bookwyrm
d3251f511c184ae6b94b191b33919849c81ef2c2
[ "CC0-1.0" ]
null
null
null
# Generated by Django 3.0.7 on 2020-12-12 17:44 from django.db import migrations def set_author_name(app_registry, schema_editor): db_alias = schema_editor.connection.alias authors = app_registry.get_model('bookwyrm', 'Author') for author in authors.objects.using(db_alias): if not author.name: ...
26.516129
73
0.621655
94
822
5.223404
0.521277
0.1222
0.08554
0.1222
0.179226
0.179226
0.179226
0
0
0
0
0.051495
0.26764
822
30
74
27.4
0.76412
0.054745
0
0.26087
1
0
0.105806
0.030968
0
0
0
0
0
1
0.043478
false
0
0.043478
0
0.217391
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
0a9b674013562fb75d16fe8f7cd4ba57e882f4a0
481
py
Python
wash_lang_prototype/cli/version.py
Tim6FTN/JSD
c3e234d5086f5e214cffe9abb205f59451b57bba
[ "MIT" ]
1
2021-11-22T10:23:56.000Z
2021-11-22T10:23:56.000Z
wash_lang_prototype/cli/version.py
Tim6FTN/wash-lang-prototype
c3e234d5086f5e214cffe9abb205f59451b57bba
[ "MIT" ]
48
2021-05-31T23:09:25.000Z
2021-06-30T21:52:54.000Z
wash_lang_prototype/cli/version.py
Tim6FTN/wash-lang-prototype
c3e234d5086f5e214cffe9abb205f59451b57bba
[ "MIT" ]
null
null
null
try: import click except ImportError: raise Exception('Missing CLI dependencies. To use WASH from CLI, please run following command:/n' 'pip install wash-lang-prototype[cli]') def version(wash_lang_prototype): @wash_lang_prototype.command() def version(): """ Displa...
30.0625
101
0.669439
56
481
5.5
0.535714
0.155844
0.331169
0
0
0
0
0
0
0
0
0
0.239085
481
15
102
32.066667
0.84153
0.070686
0
0
0
0
0.323877
0.056738
0
0
0
0
0
1
0.2
false
0
0.3
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a9dfc7dd3feb098e22ebd7045621c2c7ff64c57
409
py
Python
tests/common.py
p1xel0/assfc
641e35cf6acdb49392d437e976479469ae0b2b60
[ "MIT" ]
null
null
null
tests/common.py
p1xel0/assfc
641e35cf6acdb49392d437e976479469ae0b2b60
[ "MIT" ]
null
null
null
tests/common.py
p1xel0/assfc
641e35cf6acdb49392d437e976479469ae0b2b60
[ "MIT" ]
5
2020-10-03T14:33:08.000Z
2022-03-29T22:06:35.000Z
from contextlib import contextmanager import logging import os def get_file_in_test_directory(name): return os.path.join(os.path.dirname(__file__), 'files', name) class disabled_logging(): def __init__(self, level): self.level = level def __enter__(self): logging.disable(self.level) ...
21.526316
65
0.711491
55
409
4.854545
0.563636
0.101124
0
0
0
0
0
0
0
0
0
0
0.188264
409
18
66
22.722222
0.804217
0
0
0
0
0
0.012225
0
0
0
0
0
0
1
0.333333
false
0
0.25
0.083333
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0aa0c0076351ad57e677f3e45ad1db7262ceebc9
238,395
py
Python
seahub/api2/views.py
ahuraplus/seahub
d6fe19dd27fc1633eef66c83ee94b8b9f564a5f8
[ "Apache-2.0" ]
null
null
null
seahub/api2/views.py
ahuraplus/seahub
d6fe19dd27fc1633eef66c83ee94b8b9f564a5f8
[ "Apache-2.0" ]
null
null
null
seahub/api2/views.py
ahuraplus/seahub
d6fe19dd27fc1633eef66c83ee94b8b9f564a5f8
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2012-2016 Seafile Ltd. # encoding: utf-8 import logging import os import stat from importlib import import_module import json import datetime import posixpath import re from dateutil.relativedelta import relativedelta from urllib.parse import quote from rest_framework import parsers from rest_framework...
39.798831
135
0.597768
28,457
238,395
4.710124
0.033524
0.02932
0.046793
0.057074
0.739868
0.702364
0.668485
0.643484
0.617312
0.591073
0
0.011998
0.316504
238,395
5,989
136
39.805477
0.810601
0.041498
0
0.631521
0
0.000438
0.084402
0.002766
0
0
0
0.000167
0.000658
1
0.02477
false
0.017536
0.020386
0.000877
0.233012
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
0aa17169d257cdb67f58c3e27d7783db6c3449df
8,216
py
Python
qa/commercium/create_benchmark_archive.py
coinblockers/CommerciumContinuum
a04bc9aec426384d3b260aa5eaf4667af73db77a
[ "MIT" ]
3
2019-01-22T19:31:21.000Z
2019-06-01T00:36:48.000Z
qa/commercium/create_benchmark_archive.py
coinblockers/CommerciumContinuum
a04bc9aec426384d3b260aa5eaf4667af73db77a
[ "MIT" ]
2
2019-01-13T07:04:07.000Z
2019-05-25T08:37:59.000Z
qa/commercium/create_benchmark_archive.py
coinblockers/CommerciumContinuum
a04bc9aec426384d3b260aa5eaf4667af73db77a
[ "MIT" ]
1
2021-05-30T15:22:23.000Z
2021-05-30T15:22:23.000Z
import binascii import calendar import json import plyvel import progressbar import os import stat import struct import subprocess import sys import tarfile import time COMMERCIUM_CLI = './src/commercium-cli' USAGE = """ Requirements: - find - xz - %s (edit COMMERCIUM_CLI in this script to alter the path) - A running ...
31.121212
132
0.569864
1,091
8,216
4.175069
0.248396
0.027662
0.027662
0.034029
0.143798
0.100549
0.100549
0.089133
0.067618
0.067618
0
0.046135
0.292965
8,216
263
133
31.239544
0.737993
0.030063
0
0.106195
0
0.004425
0.137563
0.036432
0
0
0.011055
0
0.004425
0
null
null
0
0.053097
null
null
0.035398
0
0
0
null
0
0
0
0
0
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
0aa34323bf54ecaec7af958402313cbbb34186af
1,687
py
Python
scripts/crispor/bin/fusiDoench/analysis/rs2_score_calculator.py
LLataniotis/AlleleAnalyzer
ab50ab5d4b6c20138fb29500da419f52b6fdb670
[ "MIT" ]
11
2018-09-21T16:49:19.000Z
2022-03-03T19:29:16.000Z
scripts/crispor/bin/fusiDoench/analysis/rs2_score_calculator.py
LLataniotis/AlleleAnalyzer
ab50ab5d4b6c20138fb29500da419f52b6fdb670
[ "MIT" ]
26
2018-03-01T04:58:17.000Z
2018-08-30T20:49:30.000Z
scripts/crispor/bin/fusiDoench/analysis/rs2_score_calculator.py
LLataniotis/AlleleAnalyzer
ab50ab5d4b6c20138fb29500da419f52b6fdb670
[ "MIT" ]
1
2020-01-28T20:06:02.000Z
2020-01-28T20:06:02.000Z
#Calculates the Rule set 2 score for the given 30-mer #Input: 1. 30mer sgRNA+context sequence, NNNN[sgRNA sequence]NGGNNN # 2. Amino acid cut position, for full model prediction only # 3. Percent peptide, for full model prediction only #Output: Rule set 2 score import pandas as pd import csv, argparse, sys...
33.74
88
0.644932
240
1,687
4.358333
0.441667
0.068834
0.022945
0.037285
0.049713
0
0
0
0
0
0
0.022047
0.247184
1,687
50
88
33.74
0.801575
0.156491
0
0.095238
0
0
0.232558
0.051445
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0aa5397eea8d905b934d87f24cf955365e5251f0
17,138
py
Python
main.py
sandeepmanchala7/alsafe
97b5fc002a951ea5c4bc7a84d8729bb26979ad66
[ "Apache-2.0" ]
null
null
null
main.py
sandeepmanchala7/alsafe
97b5fc002a951ea5c4bc7a84d8729bb26979ad66
[ "Apache-2.0" ]
null
null
null
main.py
sandeepmanchala7/alsafe
97b5fc002a951ea5c4bc7a84d8729bb26979ad66
[ "Apache-2.0" ]
1
2020-11-25T05:10:00.000Z
2020-11-25T05:10:00.000Z
################################################################################ ################################################################################ ######## Python - Firebase - ALSafe ######## ######## Author: Swaroop Manchala #####...
40.042056
400
0.577547
1,762
17,138
5.523269
0.168558
0.055898
0.040177
0.047267
0.480682
0.405672
0.364262
0.304357
0.26418
0.229552
0
0.005404
0.276578
17,138
427
401
40.135831
0.779561
0.106664
0
0.431085
0
0.008798
0.184355
0
0
0
0
0
0
1
0.055718
false
0.052786
0.049853
0.008798
0.237537
0.038123
0
0
0
null
0
0
0
0
0
0
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
0aa969537715afe56155f3c18eb154863d30e937
618
py
Python
04-Models/01-Migrate/mysite/polls/views.py
wu-wenxiang/Training-Django-Public
56072d750107ba3be7789ac7845badb830c96c83
[ "Apache-2.0" ]
1
2019-06-19T08:56:54.000Z
2019-06-19T08:56:54.000Z
04-Models/01-Migrate/mysite/polls/views.py
wu-wenxiang/Training-Django-Public
56072d750107ba3be7789ac7845badb830c96c83
[ "Apache-2.0" ]
null
null
null
04-Models/01-Migrate/mysite/polls/views.py
wu-wenxiang/Training-Django-Public
56072d750107ba3be7789ac7845badb830c96c83
[ "Apache-2.0" ]
3
2018-06-28T03:36:11.000Z
2020-09-25T08:04:20.000Z
import datetime from django.shortcuts import render # Create your views here. from django.http import HttpResponse, Http404 def index(request): return HttpResponse("Hello, world. You're at the polls index.") def current_datetime(request): now = datetime.datetime.now() return render(request, 'current_dat...
28.090909
67
0.695793
75
618
5.666667
0.52
0.047059
0.089412
0
0
0
0
0
0
0
0
0.012097
0.197411
618
22
68
28.090909
0.844758
0.037217
0
0
0
0
0.149832
0.035354
0
0
0
0
0
1
0.1875
false
0
0.1875
0.0625
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
0aac247d23c1aebba777bf9fa0717d9b5e9cc696
587
py
Python
model.py
Pinak18/Regression-ML-Deploy
9e4fda544bd1011713623ae030e5522abe915dcc
[ "Apache-2.0" ]
null
null
null
model.py
Pinak18/Regression-ML-Deploy
9e4fda544bd1011713623ae030e5522abe915dcc
[ "Apache-2.0" ]
null
null
null
model.py
Pinak18/Regression-ML-Deploy
9e4fda544bd1011713623ae030e5522abe915dcc
[ "Apache-2.0" ]
null
null
null
import pandas as pd import numpy as np from scipy import stats from sklearn.linear_model import LinearRegression import pickle dat = pd.read_csv('Linear_Reg_Dat.csv') dat.dropna(subset = ['Salary'], axis=0, inplace=True) z = np.abs(stats.zscore(dat)) dat = dat[(z < 3).all(axis=1)] x = dat[['YearsExperi...
25.521739
86
0.686542
88
587
4.534091
0.602273
0.030075
0.06015
0
0
0
0
0
0
0
0
0.01004
0.151618
587
23
87
25.521739
0.791165
0.061329
0
0
0
0
0.153409
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0aaef77439fbd82bf7ad13babf472567adb2c964
1,154
py
Python
DeepLCD/src/plot_descriptor_heatmap.py
parthc-rob/calc
21c8ccec485f21318dec2244cc2c377350256fb0
[ "BSD-3-Clause" ]
null
null
null
DeepLCD/src/plot_descriptor_heatmap.py
parthc-rob/calc
21c8ccec485f21318dec2244cc2c377350256fb0
[ "BSD-3-Clause" ]
null
null
null
DeepLCD/src/plot_descriptor_heatmap.py
parthc-rob/calc
21c8ccec485f21318dec2244cc2c377350256fb0
[ "BSD-3-Clause" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np # fls = ["000000.png_descriptor.txt", "001000.png_descriptor.txt", "002000.png_descriptor.txt"] fls = ["live_college.jpg_descriptor.txt", "memory_college.jpg_descriptor.txt"] fl_dir = '../build/images/descriptors/' total_px = 1064 ratio = 160/120 n_rows = 28 #int(n...
28.85
95
0.696707
175
1,154
4.4
0.411429
0.1
0.062338
0.05974
0
0
0
0
0
0
0
0.043433
0.162045
1,154
39
96
29.589744
0.752844
0.220104
0
0
0
0
0.188341
0.103139
0
0
0
0
0
0
null
null
0
0.086957
null
null
0.217391
0
0
0
null
0
0
0
0
0
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
0ab09d9d26580a711e31e322a82ee278ca2af439
8,316
py
Python
lpot/pruning.py
peiwenhuang27/lpot
d64428a8b6053640ccf6e1c6a182c2871810d8fa
[ "Apache-2.0" ]
null
null
null
lpot/pruning.py
peiwenhuang27/lpot
d64428a8b6053640ccf6e1c6a182c2871810d8fa
[ "Apache-2.0" ]
null
null
null
lpot/pruning.py
peiwenhuang27/lpot
d64428a8b6053640ccf6e1c6a182c2871810d8fa
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2021 Intel Corporation # # 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 # # Unl...
54.352941
99
0.545936
877
8,316
5.080958
0.321551
0.01728
0.032092
0.013465
0.23272
0.21342
0.201975
0.166966
0.152603
0.105476
0
0.003069
0.412217
8,316
152
100
54.710526
0.908552
0.772727
0
0
0
0
0.124593
0.021173
0
0
0
0
0
1
0.230769
false
0
0.153846
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
1
0
0
0
0
0
0
0
1
0ab3b1ada11fe9879c4f419bd278b68bccbe6e6f
6,030
py
Python
rorapi/settings.py
rabdill/ror-api
a3b153cbcf29c236d355ad1de4b9761923106423
[ "MIT" ]
null
null
null
rorapi/settings.py
rabdill/ror-api
a3b153cbcf29c236d355ad1de4b9761923106423
[ "MIT" ]
null
null
null
rorapi/settings.py
rabdill/ror-api
a3b153cbcf29c236d355ad1de4b9761923106423
[ "MIT" ]
null
null
null
""" Django settings for rorapi project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os impor...
30.454545
78
0.682421
730
6,030
5.49863
0.357534
0.020927
0.029895
0.043597
0.219731
0.195566
0.144993
0.120329
0.029895
0
0
0.025979
0.170149
6,030
197
79
30.609137
0.776179
0.270813
0
0.017391
1
0
0.409644
0.237658
0
0
0
0
0
1
0
false
0.026087
0.06087
0
0.06087
0.008696
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
0ab7bf4154984ef8414bcfeb288171eef04841d0
2,968
py
Python
src/operations/enable.py
shivam5489/test
7461db55bcf44ecf70a30812620ed012ffecf80a
[ "Apache-2.0" ]
null
null
null
src/operations/enable.py
shivam5489/test
7461db55bcf44ecf70a30812620ed012ffecf80a
[ "Apache-2.0" ]
4
2021-05-18T09:17:42.000Z
2021-05-18T11:43:43.000Z
src/operations/enable.py
shivam5489/test
7461db55bcf44ecf70a30812620ed012ffecf80a
[ "Apache-2.0" ]
5
2021-04-07T21:13:16.000Z
2022-03-01T02:42:14.000Z
# # Copyright (c) 2021 by Delphix. All rights reserved. # from utils import setupLogger, executeScript from generated.definitions import RepositoryDefinition, SourceConfigDefinition import json def vdb_enable (virtual_connection,parameters,repository,source_config, snapshot): logger = setupLogger._setup_...
44.298507
112
0.675539
315
2,968
6.003175
0.234921
0.057113
0.037017
0.02221
0.575357
0.44844
0.35854
0.35854
0.35854
0.35854
0
0.002604
0.22372
2,968
66
113
44.969697
0.818142
0.017183
0
0.384615
1
0
0.230769
0.022831
0
0
0
0
0
1
0.038462
false
0.038462
0.057692
0
0.115385
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
0acef0983b15bc84c3e113d74d2e6d914cc02b63
15,499
py
Python
sympy/tensor/array/tests/test_immutable_ndim_array.py
iamabhishek0/sympy
c461bd1ff9d178d1012b04fd0bf37ee3abb02cdd
[ "BSD-3-Clause" ]
2
2019-02-05T19:20:24.000Z
2019-04-23T13:24:38.000Z
sympy/tensor/array/tests/test_immutable_ndim_array.py
iamabhishek0/sympy
c461bd1ff9d178d1012b04fd0bf37ee3abb02cdd
[ "BSD-3-Clause" ]
9
2021-03-19T03:06:53.000Z
2022-03-12T00:37:04.000Z
sympy/tensor/array/tests/test_immutable_ndim_array.py
iamabhishek0/sympy
c461bd1ff9d178d1012b04fd0bf37ee3abb02cdd
[ "BSD-3-Clause" ]
1
2019-10-15T10:55:42.000Z
2019-10-15T10:55:42.000Z
from copy import copy from sympy.tensor.array.dense_ndim_array import ImmutableDenseNDimArray from sympy import Symbol, Rational, SparseMatrix, Dict, diff, symbols, Indexed, IndexedBase, S from sympy.core.compatibility import long from sympy.matrices import Matrix from sympy.tensor.array.sparse_ndim_array import Immut...
35.065611
163
0.62346
2,205
15,499
4.247166
0.095238
0.00662
0.044634
0.004271
0.504218
0.374586
0.269407
0.179285
0.14992
0.141805
0
0.084508
0.212852
15,499
441
164
35.145125
0.683115
0.016001
0
0.071207
0
0.003096
0.008333
0
0
0
0
0
0.486068
1
0.06192
false
0
0.03096
0
0.092879
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0ad131b2bc4f5d2bc0a7e3987f43a9a1a0708c79
2,781
py
Python
app_doc/migrations/0001_initial.py
boyuanjeff/jeff_mr_doc
3185aa74d1eefc865085fa4e25eb5151350ba8e9
[ "MIT" ]
2
2020-04-23T01:09:58.000Z
2020-04-23T08:15:14.000Z
app_doc/migrations/0001_initial.py
kisskillkiss/MrDoc
402993c9aa766db5490da40a90505e562e85fa71
[ "MIT" ]
11
2020-02-12T03:12:10.000Z
2022-02-10T10:01:56.000Z
app_doc/migrations/0001_initial.py
jeffky/MrDoc
e9093b977b00e375a67d517d96078f5e24dbe524
[ "MIT" ]
null
null
null
# Generated by Django 2.1.3 on 2019-07-12 05:31 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
42.784615
125
0.574254
280
2,781
5.485714
0.285714
0.121745
0.089844
0.105469
0.694661
0.651693
0.651693
0.599609
0.599609
0.599609
0
0.011616
0.288026
2,781
64
126
43.453125
0.764141
0.016181
0
0.473684
1
0
0.115216
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.122807
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
0ad4a1a5d2ce33bf1510b98c772e323627a2f61c
533
py
Python
temp/mystreamoption.py
f0lg0/pyChat
abade1f8a99d7eb38634b59622726a401dbab575
[ "MIT" ]
13
2020-06-30T18:59:24.000Z
2022-03-09T17:57:49.000Z
temp/mystreamoption.py
f0lg0/pyChat
abade1f8a99d7eb38634b59622726a401dbab575
[ "MIT" ]
1
2021-01-18T19:58:50.000Z
2021-01-18T20:00:22.000Z
temp/mystreamoption.py
f0lg0/pyChat
abade1f8a99d7eb38634b59622726a401dbab575
[ "MIT" ]
5
2020-06-30T19:06:48.000Z
2022-03-12T21:47:29.000Z
# try to update the buffer with recv sized def updateBuffer(self, size): buff = "" for counter in range(0, len(size)): if size[counter].isdigit(): buff += size[counter] return int(buff) # for files bigger than buffer def saveBigFile(self, size, buff...
23.173913
52
0.523452
60
533
4.633333
0.616667
0.057554
0.086331
0
0
0
0
0
0
0
0
0.003049
0.384615
533
22
53
24.227273
0.844512
0.129456
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
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
0adb5e260f090e2e7372ef1f0a6a01780b8c011d
540
py
Python
declaraciones/declaracion/migrations/0010_auto_20190404_1900.py
gob-cdmx/declaraciones
90347c1572fa5b8137c5e0d23e6a7c6b2a0b2311
[ "MIT" ]
2
2019-10-17T02:40:12.000Z
2019-10-17T22:51:36.000Z
declaraciones/declaracion/migrations/0010_auto_20190404_1900.py
gob-cdmx/declaraciones
90347c1572fa5b8137c5e0d23e6a7c6b2a0b2311
[ "MIT" ]
1
2019-10-02T20:23:12.000Z
2019-10-02T20:23:12.000Z
declaraciones/declaracion/migrations/0010_auto_20190404_1900.py
gob-cdmx/declaraciones
90347c1572fa5b8137c5e0d23e6a7c6b2a0b2311
[ "MIT" ]
4
2019-08-20T21:16:04.000Z
2021-07-01T03:08:10.000Z
# Generated by Django 2.2 on 2019-04-04 19:00 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('declaracion', '0009_auto_20190404_0744'), ] operations = [ migrations.AlterField( model_name='inv...
27
147
0.675926
60
540
5.95
0.683333
0.067227
0.078431
0.123249
0
0
0
0
0
0
0
0.070755
0.214815
540
19
148
28.421053
0.771226
0.07963
0
0
1
0
0.20404
0.159596
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0addeab49167293dd4f6a31e904cbec5efd42387
458
py
Python
src/io.py
CodeLongAndProsper90/Daytime-commander
49996a035d2a8798523e3259f28b63f5a33ffbb3
[ "BSD-3-Clause" ]
null
null
null
src/io.py
CodeLongAndProsper90/Daytime-commander
49996a035d2a8798523e3259f28b63f5a33ffbb3
[ "BSD-3-Clause" ]
null
null
null
src/io.py
CodeLongAndProsper90/Daytime-commander
49996a035d2a8798523e3259f28b63f5a33ffbb3
[ "BSD-3-Clause" ]
null
null
null
""" python io.py [flags] directory """ import sys from os import walk from os import remove import shutil def List(): files = [] for (dirpath, dirnames, filenames) in walk(direc): files.extend(filenames) break def copy(src, dest): shutil.copy(src, dest) def move(src, dest): shutil.move(src, dest) def...
16.962963
52
0.668122
68
458
4.382353
0.514706
0.09396
0.080537
0
0
0
0
0
0
0
0
0
0.170306
458
26
53
17.615385
0.784211
0.065502
0
0
0
0
0.119048
0
0
0
0
0
0
1
0.210526
false
0
0.210526
0
0.421053
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
0ae25729e6ca17831d3962b615e478c9ef46e054
3,780
py
Python
src/connection.py
yola/python_rest_api_client
b19860545274c7f5e5e3849309fda0ac1989fa78
[ "Apache-2.0" ]
null
null
null
src/connection.py
yola/python_rest_api_client
b19860545274c7f5e5e3849309fda0ac1989fa78
[ "Apache-2.0" ]
null
null
null
src/connection.py
yola/python_rest_api_client
b19860545274c7f5e5e3849309fda0ac1989fa78
[ "Apache-2.0" ]
null
null
null
# Copyright 2000 - 2013 NeuStar, Inc.All rights reserved. # NeuStar, the Neustar logo and related names and logos are registered # trademarks, service marks or tradenames of NeuStar, Inc. All other # product names, company names, marks, logos and symbols may be trademarks # of their respective owners. __author__ = 'Jon...
36.699029
103
0.636243
483
3,780
4.797101
0.298137
0.044886
0.019422
0.028054
0.32801
0.30082
0.289167
0.258956
0.23306
0.23306
0
0.01457
0.255556
3,780
102
104
37.058824
0.808813
0.203968
0
0.385714
0
0
0.103874
0.015364
0
0
0
0
0
1
0.214286
false
0.042857
0.014286
0.1
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0ae727c493b8b270038a4f6f216814b28a585726
41,900
py
Python
defender/tests.py
thinkt4nk/django-defender
59c2a1b34aea80732de97903a51b01093029c1ac
[ "Apache-2.0" ]
null
null
null
defender/tests.py
thinkt4nk/django-defender
59c2a1b34aea80732de97903a51b01093029c1ac
[ "Apache-2.0" ]
null
null
null
defender/tests.py
thinkt4nk/django-defender
59c2a1b34aea80732de97903a51b01093029c1ac
[ "Apache-2.0" ]
null
null
null
import random import string import time from unittest.mock import patch from django.contrib.auth.models import User from django.contrib.auth.models import AnonymousUser from django.contrib.sessions.backends.db import SessionStore from django.http import HttpRequest, HttpResponse from django.test.client import RequestF...
38.868275
88
0.653389
5,503
41,900
4.784845
0.08032
0.056397
0.047397
0.030079
0.75694
0.725343
0.68087
0.634917
0.590179
0.555277
0
0.023193
0.24778
41,900
1,077
89
38.904364
0.812234
0.20315
0
0.581059
0
0.001605
0.102992
0.041215
0
0
0.000492
0
0.276083
1
0.113965
false
0.040128
0.030498
0
0.166934
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
0aeff398fc879370d9f6ca77063501e5777371e1
2,602
py
Python
numpy/typing/tests/data/fail/scalars.py
deepyaman/numpy
b7e75442b03153c7d94fc99e8026d1f09ec17f7f
[ "BSD-3-Clause" ]
603
2020-12-23T13:49:32.000Z
2022-03-31T23:38:03.000Z
numpy/typing/tests/data/fail/scalars.py
Kshitish555/numpy
12c6000601c7665e52502ab4a67a54d290498266
[ "BSD-3-Clause" ]
387
2020-12-15T14:54:04.000Z
2022-03-31T07:00:21.000Z
numpy/typing/tests/data/fail/scalars.py
Kshitish555/numpy
12c6000601c7665e52502ab4a67a54d290498266
[ "BSD-3-Clause" ]
35
2021-03-26T03:12:04.000Z
2022-03-23T10:15:10.000Z
import numpy as np f2: np.float16 f8: np.float64 # Construction np.float32(3j) # E: incompatible type # Technically the following examples are valid NumPy code. But they # are not considered a best practice, and people who wish to use the # stubs should instead do # # np.array([1.0, 0.0, 0.0], dtype=np.float32) # ...
31.349398
75
0.705611
410
2,602
4.443902
0.32439
0.135565
0.177278
0.114709
0.487925
0.278266
0.243688
0.038419
0
0
0
0.050386
0.153344
2,602
82
76
31.731707
0.776668
0.591084
0
0
0
0
0.047761
0
0
0
0
0.012195
0
1
0.042553
false
0
0.021277
0.021277
0.106383
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
0af0a5422b3367c8f8e23a7bcfb88819e92b40d7
530
py
Python
decuen/agents/__init__.py
ziyadedher/decuen
bc3bd42857308d7b189f576a3404abb3f9152531
[ "MIT" ]
2
2019-03-21T20:15:22.000Z
2019-11-06T21:18:52.000Z
decuen/agents/__init__.py
ziyadedher/decuen
bc3bd42857308d7b189f576a3404abb3f9152531
[ "MIT" ]
10
2019-11-17T14:41:31.000Z
2019-11-26T18:52:27.000Z
decuen/agents/__init__.py
ziyadedher/decuen
bc3bd42857308d7b189f576a3404abb3f9152531
[ "MIT" ]
null
null
null
"""High-level agent interfaces and implementations for reinforcement learning environments.""" from decuen.agents._agent import Agent, AgentSettings from decuen.agents.ac import ActorCriticAgent, ActorCriticAgentSettings from decuen.agents.actor import ActorAgent, ActorAgentSettings from decuen.agents.critic import Cr...
37.857143
94
0.8
47
530
8.914894
0.531915
0.095465
0.152745
0
0
0
0
0
0
0
0
0
0.111321
530
13
95
40.769231
0.889597
0.166038
0
0
0
0
0.266055
0.055046
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
0af10a0f1ce24f1488ad4fada83562727e9fb244
1,329
py
Python
07-caching/wheezy.web/views.py
sanogotech/benchmarchpythonweb
be072b1242cb7830e024d63d0d09eb5ec9d311da
[ "MIT" ]
null
null
null
07-caching/wheezy.web/views.py
sanogotech/benchmarchpythonweb
be072b1242cb7830e024d63d0d09eb5ec9d311da
[ "MIT" ]
null
null
null
07-caching/wheezy.web/views.py
sanogotech/benchmarchpythonweb
be072b1242cb7830e024d63d0d09eb5ec9d311da
[ "MIT" ]
null
null
null
import config from wheezy.core.comp import ntob from wheezy.http import HTTPResponse from wheezy.http.transforms import gzip_transform from wheezy.web import handler_cache from wheezy.web.handlers import BaseHandler from wheezy.web.transforms import handler_transforms hello = ntob(''.join(['%s. Hello World! ' % i f...
25.075472
69
0.721595
151
1,329
6.18543
0.304636
0.06424
0.089936
0.12848
0.513919
0.513919
0.513919
0.513919
0.513919
0.513919
0
0.007449
0.191874
1,329
52
70
25.557692
0.862197
0
0
0.555556
0
0
0.015813
0
0
0
0
0
0
1
0.111111
false
0
0.194444
0
0.527778
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
0af1a494453f0a1dce6c019610499046898a3a09
460
py
Python
resources/groups.py
IlyaMar/scim_autoprovision
e9427c3003d44dd8bc8406bdc61cb956ace3d89c
[ "MIT" ]
null
null
null
resources/groups.py
IlyaMar/scim_autoprovision
e9427c3003d44dd8bc8406bdc61cb956ace3d89c
[ "MIT" ]
null
null
null
resources/groups.py
IlyaMar/scim_autoprovision
e9427c3003d44dd8bc8406bdc61cb956ace3d89c
[ "MIT" ]
null
null
null
from flask_restful import Resource import logging import os from flask import request log = logging.getLogger(__name__) class Groups(Resource): @staticmethod def get(): filter = request.args.get('filter') log.info("get groups by filter %s" % filter) return {}, 404 @staticmethod ...
20
52
0.617391
56
460
4.982143
0.553571
0.064516
0
0
0
0
0
0
0
0
0
0.02719
0.280435
460
22
53
20.909091
0.81571
0
0
0.117647
0
0
0.091304
0
0
0
0
0
0
1
0.117647
false
0
0.235294
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0af42802aa81d21c4803bc809d9e03b7772308a7
11,605
py
Python
pyleecan/Generator/ClassGenerator/class_generator.py
ajpina/pyleecan
f8d1fce7d108cf443f5767e35d59ff15905fb49f
[ "Apache-2.0" ]
null
null
null
pyleecan/Generator/ClassGenerator/class_generator.py
ajpina/pyleecan
f8d1fce7d108cf443f5767e35d59ff15905fb49f
[ "Apache-2.0" ]
null
null
null
pyleecan/Generator/ClassGenerator/class_generator.py
ajpina/pyleecan
f8d1fce7d108cf443f5767e35d59ff15905fb49f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from os.path import join from ...Generator import PYTHON_TYPE, TAB, TAB2, TAB3, TAB4, TAB5, TAB6, TAB7 from ...Generator.read_fct import ( find_import_type, get_value_str, is_list_pyleecan_type, is_dict_pyleecan_type, ) from ...Generator.ClassGenerator.import_method_generator im...
38.683333
101
0.615683
1,487
11,605
4.563551
0.140551
0.104775
0.156793
0.068523
0.448865
0.356911
0.283525
0.20896
0.173003
0.094754
0
0.004572
0.264886
11,605
299
102
38.812709
0.79088
0.142008
0
0.235577
0
0.004808
0.226065
0.009939
0
0
0
0
0
1
0.004808
false
0
0.360577
0
0.365385
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
0afba48d3951c2c2339dd505c012c3a8f9de0df6
1,667
py
Python
ncov/apps/epidemic/models.py
ExchangeAnn/2019ncov
dbb2c87a6ae4eb50bece9f5b6e2431e89d66f02e
[ "MIT" ]
null
null
null
ncov/apps/epidemic/models.py
ExchangeAnn/2019ncov
dbb2c87a6ae4eb50bece9f5b6e2431e89d66f02e
[ "MIT" ]
274
2020-02-22T07:54:37.000Z
2021-06-23T12:48:05.000Z
ncov/apps/epidemic/models.py
ExchangeAnn/2019ncov
dbb2c87a6ae4eb50bece9f5b6e2431e89d66f02e
[ "MIT" ]
4
2020-02-20T11:19:33.000Z
2020-09-30T12:40:34.000Z
from datetime import datetime, timedelta from django.db import models from django.db.models import Sum class EpidemicManager(models.Manager): def total_group_by_date(self): dt = datetime.now() - timedelta(30) return self.filter(published_at__gte=dt).values("published_at").annotate( Sum...
33.34
88
0.65207
181
1,667
5.767956
0.320442
0.073755
0.143678
0.149425
0.515326
0.193487
0.193487
0.193487
0.193487
0.193487
0
0.01092
0.230954
1,667
49
89
34.020408
0.803432
0
0
0.292683
0
0
0.166167
0.012597
0
0
0
0
0
1
0.073171
false
0
0.073171
0.04878
0.536585
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
0afe9b5270dc944456f2a2f8ca79cfd7faab8594
20,728
py
Python
telemetry/telemetry/internal/backends/chrome_inspector/devtools_client_backend.py
Pirouf/catapult
c8248182dbaaf337c1f61c77bb54b8e00be4d2e0
[ "BSD-3-Clause" ]
1
2021-04-21T07:55:55.000Z
2021-04-21T07:55:55.000Z
telemetry/telemetry/internal/backends/chrome_inspector/devtools_client_backend.py
Keshawnjones/catapult
b226a4b7af31ec65e2c3ae3fcf3f46eb89df28ac
[ "BSD-3-Clause" ]
null
null
null
telemetry/telemetry/internal/backends/chrome_inspector/devtools_client_backend.py
Keshawnjones/catapult
b226a4b7af31ec65e2c3ae3fcf3f46eb89df28ac
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2014 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. import logging import re import socket import sys from py_utils import exc_util from py_utils import retry_util from telemetry.core import exceptions from t...
35.737931
80
0.724382
2,496
20,728
5.813702
0.194311
0.019847
0.017917
0.017228
0.248088
0.190959
0.16043
0.140032
0.102061
0.102061
0
0.002542
0.202769
20,728
579
81
35.799655
0.875582
0.10001
0
0.229412
0
0
0.06441
0.009109
0
0
0
0
0.011765
0
null
null
0.008824
0.05
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
e403517d6976f46ac70dbff6b8b3d9d351f61e9b
592
py
Python
gui/GUI_Hotkeys.py
x211321/VGC_Analyze
e876d83f5682d0eae111478887e0c0a607055130
[ "MIT" ]
null
null
null
gui/GUI_Hotkeys.py
x211321/VGC_Analyze
e876d83f5682d0eae111478887e0c0a607055130
[ "MIT" ]
null
null
null
gui/GUI_Hotkeys.py
x211321/VGC_Analyze
e876d83f5682d0eae111478887e0c0a607055130
[ "MIT" ]
null
null
null
from lib.Locale import _ ###################### # initHotkeys # -------------------- def initHotkeys(gui): gui.bind("<Control-f>", lambda x:gui.pop_itemSearch.show()) gui.bind("<Control-d>", lambda x:gui.pop_collectionDownload.show()) gui.bind("<Control-b>", lambda x:gui.pop_templateManager.show()) gui...
37
71
0.621622
78
592
4.666667
0.371795
0.153846
0.21978
0.107143
0
0
0
0
0
0
0
0
0.116554
592
15
72
39.466667
0.695985
0.054054
0
0
0
0
0.142056
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.2
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e409b34f12294904b7219256d034f6cf47a4c012
370
py
Python
setup.py
maruschin/another-test-task
cea8f7523e97e2b3be07da06dd95910b1885677d
[ "Unlicense" ]
null
null
null
setup.py
maruschin/another-test-task
cea8f7523e97e2b3be07da06dd95910b1885677d
[ "Unlicense" ]
null
null
null
setup.py
maruschin/another-test-task
cea8f7523e97e2b3be07da06dd95910b1885677d
[ "Unlicense" ]
null
null
null
from setuptools import setup setup( name='anothertt', python_requires='>3.6', version='0.0.5', description='None', url='http://github.com/maruschin', author='Evgenii Marushchenko', author_email='maruschin@gmail.com', license='Unlicense', packages=['anothertt'], install_requires=...
19.473684
39
0.627027
40
370
5.7
0.825
0
0
0
0
0
0
0
0
0
0
0.017123
0.210811
370
18
40
20.555556
0.763699
0
0
0
0
0
0.303523
0
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
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
e409cbab4cffa63b061b8e0c71a735a51224509a
1,348
py
Python
gdplot.py
sumankumar0091/gdplot
ed66b2ff2e2dece84761fae80589c90ab80753e5
[ "MIT" ]
null
null
null
gdplot.py
sumankumar0091/gdplot
ed66b2ff2e2dece84761fae80589c90ab80753e5
[ "MIT" ]
null
null
null
gdplot.py
sumankumar0091/gdplot
ed66b2ff2e2dece84761fae80589c90ab80753e5
[ "MIT" ]
null
null
null
"""Main interface for the Library user""" """All the necessary imports""" import pandas as pd import matplotlib.pyplot as plt from gsheets import Sheets as s import time, os, fnmatch, shutil """Obtaining Google cloud credentials to access the desired file path (google-sheet path). Follow seperate instuction to o...
22.847458
90
0.743323
224
1,348
4.28125
0.473214
0.067779
0.070907
0.065693
0.152242
0.081335
0.081335
0.081335
0.081335
0
0
0.016047
0.121662
1,348
58
91
23.241379
0.793919
0.060089
0
0
0
0
0.117534
0.021195
0
0
0
0
0
1
0.1
false
0
0.366667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7c109bfb8b7c2614f04f8f5dafcbc0fb28992193
5,618
py
Python
imager/views.py
gleicon/imager
d5e7f6df3921594f46a0e68ff6024f13409f83c7
[ "IJG" ]
null
null
null
imager/views.py
gleicon/imager
d5e7f6df3921594f46a0e68ff6024f13409f83c7
[ "IJG" ]
null
null
null
imager/views.py
gleicon/imager
d5e7f6df3921594f46a0e68ff6024f13409f83c7
[ "IJG" ]
null
null
null
# coding: utf-8 # # Copyright YEAR Foo Bar # Powered by cyclone # # 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 appli...
29.568421
117
0.628337
657
5,618
5.226788
0.283105
0.081246
0.052999
0.060571
0.529412
0.479907
0.467967
0.364007
0.31392
0.282469
0
0.013184
0.270915
5,618
189
118
29.724868
0.825195
0.102706
0
0.52459
0
0.008197
0.124414
0.02631
0
0
0
0
0
0
null
null
0
0.032787
null
null
0.008197
0
0
0
null
0
0
0
0
0
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
7c11c7fb812b370ef9050a4b499bb81ca0295227
7,825
py
Python
pysnmp-with-texts/OG-SENSOR-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/OG-SENSOR-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/OG-SENSOR-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module OG-SENSOR-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/OG-SENSOR-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:32:26 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
113.405797
832
0.77278
909
7,825
6.650165
0.238724
0.008602
0.083375
0.012572
0.358974
0.248304
0.200331
0.200331
0.200331
0.197849
0
0.073855
0.093291
7,825
68
833
115.073529
0.778154
0.040895
0
0.067797
0
0.033898
0.275747
0.009072
0
0
0
0
0
1
0
false
0
0.118644
0
0.118644
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7c1634f9b97139412e556e7ba162c1cd50eb4daa
1,493
py
Python
illustrative_examples/fin_rom_testing.py
sheroze1123/HROM_BIDL
7a7efba71d93fecf9be560e920e71cfa737a384c
[ "MIT" ]
2
2020-03-11T01:15:21.000Z
2020-10-30T23:55:45.000Z
illustrative_examples/fin_rom_testing.py
sheroze1123/BayesianInferenceDL
7a7efba71d93fecf9be560e920e71cfa737a384c
[ "MIT" ]
null
null
null
illustrative_examples/fin_rom_testing.py
sheroze1123/BayesianInferenceDL
7a7efba71d93fecf9be560e920e71cfa737a384c
[ "MIT" ]
5
2019-11-22T11:53:53.000Z
2022-03-05T05:55:23.000Z
import sys sys.path.append('../') import matplotlib.pyplot as plt from dolfin import * from mshr import Rectangle, generate_mesh import numpy as np from forward_solve import Fin from error_optimization import optimize from model_constr_adaptive_sampling import sample # Create a fin geometry geometry = Rectangle(Point...
31.765957
78
0.643001
274
1,493
3.416058
0.29562
0.134615
0.128205
0.068376
0.21047
0
0
0
0
0
0
0.070288
0.16142
1,493
46
79
32.456522
0.677316
0.014066
0
0.153846
1
0
0.066667
0
0
0
0
0
0
1
0
false
0
0.205128
0
0.205128
0.025641
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
7c1b8fe9baaad58a484dd0b8b89537d35a3d34ea
613
py
Python
authors/settings/staging.py
andela/ah-backend-spaces-
58e031a96a6b9555f1a4133cf8cb688c236d3f3b
[ "BSD-3-Clause" ]
2
2018-08-17T15:47:36.000Z
2018-09-13T13:58:34.000Z
authors/settings/staging.py
andela/ah-backend-spaces-
58e031a96a6b9555f1a4133cf8cb688c236d3f3b
[ "BSD-3-Clause" ]
35
2018-07-24T11:42:53.000Z
2021-06-10T20:34:41.000Z
authors/settings/staging.py
andela/ah-backend-spaces-
58e031a96a6b9555f1a4133cf8cb688c236d3f3b
[ "BSD-3-Clause" ]
3
2018-07-17T13:05:35.000Z
2018-09-06T16:03:52.000Z
import os from authors.settings.base import * # SECURITY WARNING: don't run with debug turned on in production! DEBUG = os.getenv('DEBUG_MODE') # Database # https://docs.djangoproject.com/en/1.11/ref/settings/#databases # using the dj_database_url python package # https://stackoverflow.com/questions/16868451/how-to-...
38.3125
94
0.787928
89
613
5.337079
0.719101
0.042105
0.054737
0.126316
0
0
0
0
0
0
0
0.039007
0.079935
613
15
95
40.866667
0.803191
0.696574
0
0
0
0
0.096045
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
7c1cd53df651ae12a4466451bf227dfe50483f32
4,535
py
Python
convlab2/dst/trade/multiwoz/utils/config.py
Malavikka/ConvLab-2
f2a0d251e4fab9e36e9d9f04df6308623d2d780c
[ "Apache-2.0" ]
339
2020-03-04T09:43:22.000Z
2022-03-26T17:27:38.000Z
convlab2/dst/trade/multiwoz/utils/config.py
Malavikka/ConvLab-2
f2a0d251e4fab9e36e9d9f04df6308623d2d780c
[ "Apache-2.0" ]
122
2020-04-12T04:19:06.000Z
2022-03-23T14:20:57.000Z
convlab2/dst/trade/multiwoz/utils/config.py
Malavikka/ConvLab-2
f2a0d251e4fab9e36e9d9f04df6308623d2d780c
[ "Apache-2.0" ]
138
2020-02-18T16:48:04.000Z
2022-03-26T17:27:43.000Z
import os import logging import argparse from tqdm import tqdm import torch PAD_token = 1 SOS_token = 3 EOS_token = 2 UNK_token = 0 MODE = 'en' data_version = 'init' # processed if torch.cuda.is_available(): USE_CUDA = True else: USE_CUDA = False MAX_LENGTH = 10 parser = argparse.ArgumentParser(descripti...
50.955056
148
0.724366
628
4,535
5.089172
0.292994
0.104193
0.196809
0.090113
0.342929
0.299437
0.194305
0.112954
0.112954
0.112954
0
0.013006
0.084454
4,535
88
149
51.534091
0.756744
0.048953
0
0
0
0
0.292064
0.01024
0
0
0
0
0
1
0.014925
false
0
0.074627
0.014925
0.119403
0.014925
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7c291933c4016668dd597f25678691fc3057fcac
1,984
py
Python
saxo_openapi/endpoints/referencedata/responses/languages.py
shyrwinsia/saxo_openapi
8e5c1bf336654d059ea87ba2ff7e7aaef33d1262
[ "MIT" ]
52
2019-03-13T13:27:36.000Z
2022-03-18T08:27:22.000Z
saxo_openapi/endpoints/referencedata/responses/languages.py
shyrwinsia/saxo_openapi
8e5c1bf336654d059ea87ba2ff7e7aaef33d1262
[ "MIT" ]
15
2019-03-14T19:42:51.000Z
2021-12-19T16:14:02.000Z
saxo_openapi/endpoints/referencedata/responses/languages.py
shyrwinsia/saxo_openapi
8e5c1bf336654d059ea87ba2ff7e7aaef33d1262
[ "MIT" ]
23
2019-03-13T13:45:22.000Z
2022-02-26T21:20:49.000Z
# -*- coding: utf-8 -*- """Responses. responses serve both testing purpose aswell as dynamic docstring replacement. """ responses = { "_v3_Languages": { "url": "/openapi/ref/v1/languages", "response": { "Data": [ { "LanguageCode": "ar", "L...
27.555556
77
0.34627
90
1,984
7.611111
0.588889
0
0
0
0
0
0
0
0
0
0
0.003115
0.514617
1,984
71
78
27.943662
0.708204
0.056452
0
0
0
0
0.329223
0.013405
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
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7c2f604b76444d8b667edf46cf0d44ebd01243a1
1,028
py
Python
combinators/__init__.py
probtorch/combinators
c4e38c04358e822ca481b3a76d32c135890518e2
[ "BSD-3-Clause" ]
3
2021-07-01T19:39:58.000Z
2021-10-20T23:31:02.000Z
combinators/__init__.py
probtorch/combinators
c4e38c04358e822ca481b3a76d32c135890518e2
[ "BSD-3-Clause" ]
null
null
null
combinators/__init__.py
probtorch/combinators
c4e38c04358e822ca481b3a76d32c135890518e2
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 from probtorch.stochastic import ( ImproperRandomVariable, RandomVariable, Trace, Provenance, ) from combinators.program import Program, dispatch from combinators.inference import Extend, Compose, Propose, Resample from combinators.out import global_store # Optional import combi...
24.47619
75
0.742218
115
1,028
6.4
0.46087
0.142663
0.054348
0.076087
0.070652
0.070652
0
0
0
0
0
0.001171
0.169261
1,028
41
76
25.073171
0.860656
0.038911
0
0
0
0
0.108629
0.02132
0
0
0
0
0
1
0
false
0
0.30303
0
0.30303
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