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
b6ffb2eeed3aa4f7877750bdf94ce8f01846e113
3,076
py
Python
SATD_Detector/compare.py
isabelaedilene/technicalDebtTisVI
9a510b9ea1d2a731090b4e9fdadf645d69dcde00
[ "Unlicense" ]
null
null
null
SATD_Detector/compare.py
isabelaedilene/technicalDebtTisVI
9a510b9ea1d2a731090b4e9fdadf645d69dcde00
[ "Unlicense" ]
null
null
null
SATD_Detector/compare.py
isabelaedilene/technicalDebtTisVI
9a510b9ea1d2a731090b4e9fdadf645d69dcde00
[ "Unlicense" ]
null
null
null
from csv import writer import pandas as pd with open("../Sonar/analiseSonar.csv", "r", encoding="utf-8") as f: csv_string = f.read() with open("sonar_analysis.csv", "w", encoding="utf-8") as f: csv = writer(f) for line in csv_string.splitlines(): csv.writerow(line.strip('"').split(",")) satd_dir...
53.964912
93
0.746099
463
3,076
4.676026
0.12743
0.161663
0.078522
0.088684
0.674365
0.642032
0.552425
0.51455
0.51455
0.463741
0
0.004007
0.107607
3,076
56
94
54.928571
0.784699
0.021782
0
0
0
0
0.591151
0.334664
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
0.478261
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
8e065397a5d9af635eaa3b44b853886d80c71425
414
py
Python
contrib/tests/runtests.py
ryr/django-social-auth
e1aa22ba8be027ea8e8b0a62caee90485aa44836
[ "BSD-2-Clause", "BSD-3-Clause" ]
1
2015-03-17T10:52:59.000Z
2015-03-17T10:52:59.000Z
contrib/tests/runtests.py
sorcio/django-social-auth
59e13a5541293348cf6195f5c64242e4e08070cd
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
contrib/tests/runtests.py
sorcio/django-social-auth
59e13a5541293348cf6195f5c64242e4e08070cd
[ "BSD-2-Clause", "BSD-3-Clause" ]
1
2021-10-20T02:25:54.000Z
2021-10-20T02:25:54.000Z
#!/usr/bin/env python import os, sys from os.path import dirname, abspath os.environ['DJANGO_SETTINGS_MODULE'] = 'test_settings' parent = dirname(dirname(dirname(abspath(__file__)))) sys.path.insert(0, parent) from django.test.simple import DjangoTestSuiteRunner if __name__ == '__main__': DjangoTestSuiteRunne...
24.352941
64
0.758454
51
414
5.843137
0.686275
0.09396
0
0
0
0
0
0
0
0
0
0.005464
0.115942
414
16
65
25.875
0.808743
0.048309
0
0
0
0
0.160305
0.05598
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8e0c006b17813cec8643790c6c62ab66e38b125f
10,304
py
Python
travel/docs/Amadeus-master/pactravel-master/swagger_client/models/car_reservation.py
shopglobal/api
176e1858d3f93e8e7854ba194698b6b9825841da
[ "CC-BY-4.0" ]
null
null
null
travel/docs/Amadeus-master/pactravel-master/swagger_client/models/car_reservation.py
shopglobal/api
176e1858d3f93e8e7854ba194698b6b9825841da
[ "CC-BY-4.0" ]
1
2021-06-01T22:04:28.000Z
2021-06-01T22:04:28.000Z
travel/docs/Amadeus-master/pactravel-master/swagger_client/models/car_reservation.py
shopglobal/api
176e1858d3f93e8e7854ba194698b6b9825841da
[ "CC-BY-4.0" ]
null
null
null
# coding: utf-8 """ Amadeus Travel Innovation Sandbox No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import ...
31.414634
291
0.604231
1,282
10,304
4.731669
0.144306
0.03363
0.105506
0.032971
0.608309
0.523574
0.476756
0.403561
0.391691
0.391691
0
0.005348
0.310462
10,304
327
292
31.510703
0.848417
0.44245
0
0.075188
1
0
0.116751
0.005518
0
0
0
0
0
1
0.165414
false
0
0.022556
0
0.315789
0.007519
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
8e1be1195705cd5522f4a7ca3c4003f4d147d028
1,526
py
Python
Classification/Perceptron/perceptron.py
pvlawhatre/MachinePy
a3be09906c4a9b449237e49cc575dd455bce3cba
[ "BSD-3-Clause" ]
2
2020-01-28T07:57:42.000Z
2020-01-28T09:00:38.000Z
Classification/Perceptron/perceptron.py
pvlawhatre/MachinePy
a3be09906c4a9b449237e49cc575dd455bce3cba
[ "BSD-3-Clause" ]
null
null
null
Classification/Perceptron/perceptron.py
pvlawhatre/MachinePy
a3be09906c4a9b449237e49cc575dd455bce3cba
[ "BSD-3-Clause" ]
1
2020-09-01T09:44:36.000Z
2020-09-01T09:44:36.000Z
import numpy as np def perceptron(X_train,y_train,X_test,**kwargs): n_train,dim=np.shape(X_train) W=np.random.rand(dim,1) b=np.random.rand() old_W=np.random.rand(dim,1) old_b=np.random.rand() flag=0 try: trshld=kwargs['eps'] except: trshld=0.0001 try: ...
23.84375
66
0.454128
220
1,526
2.995455
0.286364
0.072838
0.109256
0.059181
0.104704
0.07739
0
0
0
0
0
0.026048
0.421363
1,526
64
67
23.84375
0.720272
0.011796
0
0.266667
0
0
0.010388
0
0
0
0
0
0
0
null
null
0.033333
0.016667
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
8e21b7568294797f9dd5e79fbf52bf2b94cddfd4
537
py
Python
Day_005/day-5-1-exercise.py
masedos/100DaysOfCodePython
5e52ca07635aaf29b4a83d865d2e063364a11a66
[ "MIT" ]
null
null
null
Day_005/day-5-1-exercise.py
masedos/100DaysOfCodePython
5e52ca07635aaf29b4a83d865d2e063364a11a66
[ "MIT" ]
null
null
null
Day_005/day-5-1-exercise.py
masedos/100DaysOfCodePython
5e52ca07635aaf29b4a83d865d2e063364a11a66
[ "MIT" ]
null
null
null
#!/usr/bin/env python __version__ = '0.0.1' __author__ = 'Fernandes Macedo' __email__ = 'masedos@gmail.com' # 🚨 Don't change the code below 👇 #student_heights = [180, 124, 165, 173, 189, 169, 146] student_heights = input("Input a list of student heights ").split() sum = 0 count = 0 for n in range(0, len(student_he...
23.347826
67
0.689013
90
537
3.966667
0.588889
0.27451
0.12605
0.061625
0.10084
0.10084
0
0
0
0
0
0.065022
0.16946
537
22
68
24.409091
0.724215
0.314711
0
0
0
0
0.192837
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8e278e7e2bbae9ff57b379927e6e7108693cfa49
1,253
py
Python
leetcode/sort/heap.py
deevarvar/myLab
7a5019f5f7fc11e173d350e6e2a7d2c80504782d
[ "MIT" ]
null
null
null
leetcode/sort/heap.py
deevarvar/myLab
7a5019f5f7fc11e173d350e6e2a7d2c80504782d
[ "MIT" ]
null
null
null
leetcode/sort/heap.py
deevarvar/myLab
7a5019f5f7fc11e173d350e6e2a7d2c80504782d
[ "MIT" ]
3
2016-10-08T15:01:49.000Z
2018-05-24T03:14:24.000Z
#! /usr/bin/python def heapify(array): # first non-leaf node nlnode = (len(array) - 1)/2 for i in reversed(range(nlnode)): siftdown(array, i, len(array) - 1) print "index {} {}".format(i, array) def siftdown(array, start, end): root = start while (2*root + 1) <= end: # at lease on...
26.104167
59
0.534717
156
1,253
4.24359
0.358974
0.066465
0.040786
0
0
0
0
0
0
0
0
0.026411
0.335196
1,253
47
60
26.659574
0.768307
0.048683
0
0
0
0
0.068124
0
0
0
0
0
0
0
null
null
0
0
null
null
0.102564
0
0
0
null
0
0
0
0
0
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
8e2ae394db4ae5978eed8dec86cb57de8d60e9c7
1,766
py
Python
tda-api_test.py
kspringfield13/MoneyTree
85d1c60e0dc46d5428c890c3801d9645266bcfd2
[ "MIT" ]
null
null
null
tda-api_test.py
kspringfield13/MoneyTree
85d1c60e0dc46d5428c890c3801d9645266bcfd2
[ "MIT" ]
null
null
null
tda-api_test.py
kspringfield13/MoneyTree
85d1c60e0dc46d5428c890c3801d9645266bcfd2
[ "MIT" ]
1
2021-10-01T21:31:42.000Z
2021-10-01T21:31:42.000Z
from tda import auth, client from tda.orders.common import OrderType, Duration, Session from tda.orders.generic import OrderBuilder from tda.orders.equities import equity_buy_limit import json, config try: c = auth.client_from_token_file(config.tda_token_path, config.tda_api_key) except FileNotFoundError: from...
30.982456
105
0.724236
248
1,766
5.004032
0.383065
0.058018
0.09025
0.09589
0.20145
0.20145
0.20145
0.133763
0.08058
0.08058
0
0.009174
0.1359
1,766
56
106
31.535714
0.804063
0.551529
0
0
0
0
0.071053
0.064474
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
0
0
0
0
1
0
0
0
0
1
8e2d1999f48355dec8f755e7d64931aeb5fab126
2,146
py
Python
funowl/terminals/Terminals.py
clin113jhu/funowl
805963c9d2718598c85a1213106161b59f5a8dd3
[ "CC0-1.0" ]
23
2019-05-24T05:27:25.000Z
2022-02-18T16:37:17.000Z
funowl/terminals/Terminals.py
clin113jhu/funowl
805963c9d2718598c85a1213106161b59f5a8dd3
[ "CC0-1.0" ]
22
2019-11-04T21:03:33.000Z
2022-03-11T19:38:15.000Z
funowl/terminals/Terminals.py
clin113jhu/funowl
805963c9d2718598c85a1213106161b59f5a8dd3
[ "CC0-1.0" ]
5
2019-10-07T13:28:14.000Z
2021-12-20T08:28:58.000Z
# String pattern matches used in Functional Owl # The following productions are taken from ShExJ.py from the ShExJSG project from typing import Union, Any from funowl.terminals.Patterns import String, Pattern class HEX(String): pattern = Pattern(r'[0-9]|[A-F]|[a-f]') python_type = Union[int, str] class UC...
37.649123
237
0.667288
314
2,146
4.321656
0.273885
0.190862
0.176861
0.185704
0.439941
0.414149
0.414149
0.372881
0.331614
0.268976
0
0.055787
0.106244
2,146
56
238
38.321429
0.651721
0.055918
0
0.066667
0
0.066667
0.350643
0.328388
0
0
0
0
0
1
0
false
0
0.066667
0
0.933333
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
8e30a87187c023ac3da403669d58c30faa3fa102
575
py
Python
venv/lib/python3.9/site-packages/setupcfg/options/__init__.py
xanderstevenson/devnet-support-helper
f08ebf7ff00b965654aa0fdd742f20d003778c9d
[ "MIT" ]
2
2020-06-15T02:46:56.000Z
2020-10-09T22:53:59.000Z
setupcfg/options/__init__.py
looking-for-a-job/setupcfg.py
03bd3ae97d9acf7fb4774163204b511d0c693c1e
[ "Unlicense" ]
1
2019-08-20T19:08:40.000Z
2019-08-20T19:25:09.000Z
setupcfg/options/__init__.py
andrewp-as-is/setupcfg.py
03bd3ae97d9acf7fb4774163204b511d0c693c1e
[ "Unlicense" ]
null
null
null
#!/usr/bin/env pythons """ http://setuptools.readthedocs.io/en/latest/setuptools.html#options """ KEYS = [ "zip_safe", "setup_requires", "install_requires", "extras_require", "python_requires", "entry_points", "use_2to3", "use_2to3_fixers", "use_2to3_exclude_fixers", "convert_2...
19.166667
66
0.646957
60
575
5.783333
0.716667
0.060519
0
0
0
0
0
0
0
0
0
0.017429
0.201739
575
29
67
19.827586
0.738562
0.153043
0
0
0
0
0.617954
0.091858
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8e339a95727c0d672da1a679293dee90ca1373ac
1,487
py
Python
data/preprocessed/extract-data.py
janfreyberg/healthy-brain-eeg
3354700053bc9133901799b7a628ffa16ab77995
[ "MIT" ]
1
2019-10-24T16:43:18.000Z
2019-10-24T16:43:18.000Z
data/preprocessed/extract-data.py
janfreyberg/healthy-brain-eeg
3354700053bc9133901799b7a628ffa16ab77995
[ "MIT" ]
null
null
null
data/preprocessed/extract-data.py
janfreyberg/healthy-brain-eeg
3354700053bc9133901799b7a628ffa16ab77995
[ "MIT" ]
null
null
null
from pathlib import Path import os import shutil import sys import platform # where the compressed data is stored datadir = Path('D:\\') / 'cmi-hbn' # where 7zip is stored if platform.system() == 'Windows': zipcommand = '7z' # find the compressed Files tarfiles = datadir.glob('*.tar.gz') # extraction for tarfile...
27.036364
74
0.531944
155
1,487
5.090323
0.496774
0.101394
0.076046
0.111534
0.225602
0.225602
0.178707
0
0
0
0
0.003178
0.365165
1,487
54
75
27.537037
0.832627
0.201748
0
0.305556
0
0
0.109029
0
0
0
0
0
0
1
0
false
0.083333
0.138889
0
0.138889
0.027778
0
0
0
null
0
0
0
0
0
0
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
8e3761dfab3ff64f7ac4fbf71d87d0934358aa4b
1,527
py
Python
src/blrequests/authentication.py
circius/bl-requests
7ca83bedc64b53e0612b8490b6ff56e385f7f3ce
[ "MIT" ]
null
null
null
src/blrequests/authentication.py
circius/bl-requests
7ca83bedc64b53e0612b8490b6ff56e385f7f3ce
[ "MIT" ]
null
null
null
src/blrequests/authentication.py
circius/bl-requests
7ca83bedc64b53e0612b8490b6ff56e385f7f3ce
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Encapsulates functions which handle credentials. """ from blrequests.data_definitions import Credentials import subprocess import configparser import os.path CONFIG_FILE = ".blrequestsrc" CONFIG_FILE_EXISTS = os.path.exists(CONFIG_FILE) def fetch_credentials() -> Credentials: """Produ...
27.267857
84
0.717092
175
1,527
6.125714
0.4
0.083955
0.029851
0.057836
0.212687
0.212687
0.212687
0.212687
0.106343
0.106343
0
0.000801
0.182056
1,527
55
85
27.763636
0.857486
0.27243
0
0
0
0
0.097132
0
0
0
0
0
0
1
0.142857
false
0.25
0.142857
0
0.464286
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
0
0
0
1
0
0
0
0
0
1
8e38cb5bef1792489f0b7d2365c930639986d714
3,006
py
Python
engram/result.py
rgrannell1/engram.py
69ca1af7b0ddb963a611e15414aa2eda48d6c325
[ "MIT", "Unlicense" ]
null
null
null
engram/result.py
rgrannell1/engram.py
69ca1af7b0ddb963a611e15414aa2eda48d6c325
[ "MIT", "Unlicense" ]
36
2015-01-24T23:12:10.000Z
2015-07-12T19:01:44.000Z
engram/result.py
rgrannell1/engram.py
69ca1af7b0ddb963a611e15414aa2eda48d6c325
[ "MIT", "Unlicense" ]
null
null
null
#!/usr/bin/env python3 import traceback import logging logger = logging.getLogger(__name__) class Result(object): def __init__(self, value): self.value = value.value if isinstance(value, Result) else value @staticmethod def of(fn): """Create a Result from the return result of a normal function. """ ...
13.981395
89
0.656021
432
3,006
4.462963
0.19213
0.060685
0.041494
0.049793
0.553942
0.505187
0.412863
0.412863
0.341286
0.301867
0
0.000426
0.219561
3,006
214
90
14.046729
0.821398
0.279441
0
0.551282
0
0
0.074884
0
0
0
0
0
0
1
0.230769
false
0
0.025641
0.076923
0.564103
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
8e3b7bc7c008a7104c731a3a0e62e78eeea458a6
194
py
Python
config/config.py
KingsleyXie/Yatpd
26f7aa779124fb96a0f8c146108ca1e77c4fa791
[ "MIT" ]
1
2020-04-26T06:07:53.000Z
2020-04-26T06:07:53.000Z
config/config.py
KingsleyXie/Yatpd
26f7aa779124fb96a0f8c146108ca1e77c4fa791
[ "MIT" ]
null
null
null
config/config.py
KingsleyXie/Yatpd
26f7aa779124fb96a0f8c146108ca1e77c4fa791
[ "MIT" ]
null
null
null
import yaml def get(filename='config/config.yaml'): with open(filename, 'r') as stream: data = yaml.safe_load(stream) return data if __name__ == '__main__': print(get())
16.166667
39
0.639175
26
194
4.423077
0.730769
0
0
0
0
0
0
0
0
0
0
0
0.221649
194
11
40
17.636364
0.761589
0
0
0
0
0
0.139175
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8e3d1d7df95c9a7fc3097528f5d65403989fc420
475
py
Python
map_test.py
CrazyJ36/python
4cff6e7240672a273d978521bb511065f45d4312
[ "MIT" ]
null
null
null
map_test.py
CrazyJ36/python
4cff6e7240672a273d978521bb511065f45d4312
[ "MIT" ]
null
null
null
map_test.py
CrazyJ36/python
4cff6e7240672a273d978521bb511065f45d4312
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # The library module function 'map' takes A function and # an iterable as arguments, returns A new iterable with # the function applied to each argument. nums = [2, 5, 1] # the function adds one to any arg. def add_one(x): return x + 1 # map function taking add_one as it's function to act ...
22.619048
61
0.724211
84
475
4.047619
0.607143
0.070588
0
0
0
0
0
0
0
0
0
0.013021
0.191579
475
20
62
23.75
0.872396
0.749474
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
8e44650de327fed6b662b4311fbe9abbb5b0b4b7
2,131
py
Python
deepstochlog/network.py
ML-KULeuven/deepstochlog
4b71d1e306d9cdbbb6237947533f0facfcc62c3a
[ "Apache-2.0" ]
10
2021-12-06T02:07:19.000Z
2022-03-24T11:40:10.000Z
deepstochlog/network.py
ML-KULeuven/deepstochlog
4b71d1e306d9cdbbb6237947533f0facfcc62c3a
[ "Apache-2.0" ]
null
null
null
deepstochlog/network.py
ML-KULeuven/deepstochlog
4b71d1e306d9cdbbb6237947533f0facfcc62c3a
[ "Apache-2.0" ]
null
null
null
from typing import List import torch.nn as nn from deepstochlog.term import Term class Network(object): def __init__( self, name: str, neural_model: nn.Module, index_list: List[Term], concat_tensor_input=True, ): self.name = name self.neural_model = ne...
29.597222
96
0.583294
255
2,131
4.705882
0.313725
0.06
0.066667
0.03
0.091667
0.05
0
0
0
0
0
0.001363
0.311591
2,131
71
97
30.014085
0.816633
0.026748
0
0.036364
0
0
0.054563
0
0
0
0
0.014085
0
1
0.163636
false
0
0.054545
0.054545
0.345455
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
8e45e52271590301281129ecb2820ef954f68391
1,794
py
Python
bot/sticker/error.py
TinderBrazil/sticker-thief
c22f564d74f47ea5ab1e076b706a484a51f7272d
[ "MIT" ]
null
null
null
bot/sticker/error.py
TinderBrazil/sticker-thief
c22f564d74f47ea5ab1e076b706a484a51f7272d
[ "MIT" ]
null
null
null
bot/sticker/error.py
TinderBrazil/sticker-thief
c22f564d74f47ea5ab1e076b706a484a51f7272d
[ "MIT" ]
1
2021-07-07T21:36:54.000Z
2021-07-07T21:36:54.000Z
class StickerError(Exception): def __init__(self, message): super(StickerError, self).__init__() self.message = message def __str__(self): return '{}'.format(self.message) class NameAlreadyOccupied(StickerError): pass class PackInvalid(StickerError): pass class PackNotMod...
23
115
0.724638
203
1,794
6.270936
0.477833
0.113119
0.131972
0.036135
0
0
0
0
0
0
0
0.002096
0.202341
1,794
77
116
23.298701
0.887491
0.316611
0
0.243243
0
0
0.20132
0.081683
0
0
0
0
0
1
0.054054
false
0.243243
0
0.027027
0.351351
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
8e46d94baaeade0a545f954ea8d61f32ec3093fb
326
py
Python
src/jackdaw/RuntimeChecks/__init__.py
miicck/jackdaw
d849408ed2cb9e43f17cb0e44aa52ed5fac77ba6
[ "MIT" ]
null
null
null
src/jackdaw/RuntimeChecks/__init__.py
miicck/jackdaw
d849408ed2cb9e43f17cb0e44aa52ed5fac77ba6
[ "MIT" ]
null
null
null
src/jackdaw/RuntimeChecks/__init__.py
miicck/jackdaw
d849408ed2cb9e43f17cb0e44aa52ed5fac77ba6
[ "MIT" ]
null
null
null
import traceback class CallStructureException(Exception): pass def must_be_called_from(method): for frame in traceback.extract_stack(): if frame.name == method.__name__ and frame.filename == method.__globals__['__file__']: return raise CallStructureException("Method called incorrect...
23.285714
94
0.726994
35
326
6.314286
0.742857
0
0
0
0
0
0
0
0
0
0
0
0.187117
326
13
95
25.076923
0.833962
0
0
0
0
0
0.104294
0
0
0
0
0
0
1
0.125
false
0.125
0.125
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
1
0
0
0
0
0
1
8e475af2c88d4dd5583af96a5e1525a86514167b
546
py
Python
Python_Crash_Courses_V2/O_Name.py
obareau/python_travaux_pratiques
2205f4c253e96e409b56f5c23d6e23387ab46524
[ "MIT" ]
1
2021-11-01T12:45:50.000Z
2021-11-01T12:45:50.000Z
Python_Crash_Courses_V2/O_Name.py
obareau/python_travaux_pratiques
2205f4c253e96e409b56f5c23d6e23387ab46524
[ "MIT" ]
null
null
null
Python_Crash_Courses_V2/O_Name.py
obareau/python_travaux_pratiques
2205f4c253e96e409b56f5c23d6e23387ab46524
[ "MIT" ]
null
null
null
# Return name with each words capitalized name = "ada lovelace" print(name.title()) # Ada Lovelace # Some useful methods name2 = "Ada Lovelace" print(name2.upper()) print(name2.lower()) # ADA LOVELACE # ada lovelace # Using Variables in Strings gender = "miss" first_name = "ada" last_name = "lovelace" # f is for f-s...
21
48
0.727106
76
546
5.105263
0.5
0.141753
0.082474
0
0
0
0
0
0
0
0
0.006356
0.135531
546
25
49
21.84
0.815678
0.304029
0
0
0
0
0.305405
0.064865
0
0
0
0
0
1
0
false
0
0
0
0
0.461538
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
f3cb629cde71cf594c3f27428772a9a36e4a76b0
1,644
py
Python
pecan/lang/optimizer/arithmetic.py
ondrik-misc-code/Pecan
4d7394ff9fc56445be3d8b30179b317d5ee80ff6
[ "MIT" ]
null
null
null
pecan/lang/optimizer/arithmetic.py
ondrik-misc-code/Pecan
4d7394ff9fc56445be3d8b30179b317d5ee80ff6
[ "MIT" ]
null
null
null
pecan/lang/optimizer/arithmetic.py
ondrik-misc-code/Pecan
4d7394ff9fc56445be3d8b30179b317d5ee80ff6
[ "MIT" ]
null
null
null
#!/usr/bin/env python3.6 # -*- coding=utf-8 -*- from pecan.lang.ir_transformer import IRTransformer from pecan.lang.optimizer.basic_optimizer import BasicOptimizer from pecan.lang.ir import * class ArithmeticOptimizer(BasicOptimizer): def constant_eq(self, node, val): return type(node) is IntConst and no...
39.142857
140
0.628345
238
1,644
4.273109
0.285714
0.054081
0.117011
0.103245
0.514258
0.445428
0.445428
0.408063
0.369715
0.369715
0
0.004906
0.256083
1,644
41
141
40.097561
0.826656
0.106448
0
0.3
0
0
0.006826
0
0
0
0
0
0
1
0.133333
false
0
0.1
0.033333
0.566667
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
f3cd4427677ba9d38c20de646d3cba85d6e42ab9
5,943
py
Python
notes/2017-10-10-voxel-reconstruction/figures/my_draw_scene.py
talonchandler/dipsim
04904871924276fd1662ca15b7224166d271c0d8
[ "MIT" ]
null
null
null
notes/2017-10-10-voxel-reconstruction/figures/my_draw_scene.py
talonchandler/dipsim
04904871924276fd1662ca15b7224166d271c0d8
[ "MIT" ]
null
null
null
notes/2017-10-10-voxel-reconstruction/figures/my_draw_scene.py
talonchandler/dipsim
04904871924276fd1662ca15b7224166d271c0d8
[ "MIT" ]
null
null
null
import numpy as np import subprocess import matplotlib import matplotlib.pyplot as plt import matplotlib.image as mpimg def draw_scene(scene_string, filename='out.png', my_ax=None, dpi=500, save_file=False, chop=True): asy_string = """ import three; import graph3; setti...
40.155405
233
0.598856
905
5,943
3.867403
0.209945
0.062857
0.066857
0.092571
0.475429
0.409714
0.404
0.394286
0.370286
0.338857
0
0.022674
0.205957
5,943
147
234
40.428571
0.719008
0.015649
0
0.10084
0
0.168067
0.78525
0.16718
0
0
0
0
0
1
0.008403
false
0
0.058824
0
0.084034
0.008403
0
0
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
f3d1033873a1b566f85ad5992f1274b05ce1b93e
665
py
Python
utils/tools.py
yshen47/iq
9322e0776ef117f99d8dc6d61ef71c2c64cc68e4
[ "MIT" ]
59
2019-03-07T17:18:27.000Z
2021-12-18T15:48:37.000Z
utils/tools.py
yshen47/iq
9322e0776ef117f99d8dc6d61ef71c2c64cc68e4
[ "MIT" ]
14
2019-04-02T21:45:55.000Z
2022-03-11T23:42:03.000Z
utils/tools.py
yshen47/iq
9322e0776ef117f99d8dc6d61ef71c2c64cc68e4
[ "MIT" ]
12
2019-07-05T14:08:20.000Z
2021-03-28T02:37:57.000Z
"""Contains a set of helper functions. """ class Dict2Obj(dict): """Converts dicts to objects. """ def __getattr__(self, name): if name in self: return self[name] else: raise AttributeError("No such attribute: " + name) def __setattr__(self, name, value): ...
23.75
62
0.559398
78
665
4.615385
0.474359
0.155556
0.055556
0.077778
0.405556
0.405556
0.294444
0.294444
0.294444
0.294444
0
0.002283
0.341353
665
27
63
24.62963
0.819635
0.100752
0
0.352941
0
0
0.064846
0
0
0
0
0
0
1
0.235294
false
0
0
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f3d386869bd5410463ba47d27d68d4b1c9d36253
1,286
py
Python
tests/test_fil2h5.py
lacker/blimpy
d5e8a800a5ee0cb69b43538ca9d884af78864386
[ "BSD-3-Clause" ]
1
2021-03-12T02:00:57.000Z
2021-03-12T02:00:57.000Z
tests/test_fil2h5.py
razman786/blimpy
fa0a55c8c8f13f09e3d917e6114871f21a60b747
[ "BSD-3-Clause" ]
null
null
null
tests/test_fil2h5.py
razman786/blimpy
fa0a55c8c8f13f09e3d917e6114871f21a60b747
[ "BSD-3-Clause" ]
1
2020-12-15T16:39:07.000Z
2020-12-15T16:39:07.000Z
""" # test_fil2h5 """ import pytest import os import blimpy as bl from tests.data import voyager_fil def test_fil2h5_conversion(): """ Tests the conversion of fil files into h5 in both light and heavy modes. """ # Creating test file. bl.fil2h5.make_h5_file(voyager_fil, new_filename='test.h5') ...
23.381818
85
0.667185
189
1,286
4.338624
0.407407
0.058537
0.043902
0.05122
0.326829
0.326829
0.326829
0.326829
0.176829
0.176829
0
0.034551
0.212286
1,286
54
86
23.814815
0.774926
0.358476
0
0.1
0
0
0.091512
0
0
0
0
0
0
1
0.2
true
0
0.2
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
1
0
0
0
0
0
0
1
f3dd1ba6684d9eef5eff9a6e6fc50cd7fd62551f
5,504
py
Python
sabi/sync.py
sabi-ai/sabi
c271d8d5a197352b8db17f9ed6e6df744db6b8a0
[ "MIT" ]
null
null
null
sabi/sync.py
sabi-ai/sabi
c271d8d5a197352b8db17f9ed6e6df744db6b8a0
[ "MIT" ]
null
null
null
sabi/sync.py
sabi-ai/sabi
c271d8d5a197352b8db17f9ed6e6df744db6b8a0
[ "MIT" ]
null
null
null
from sabi.api_client import ApiClient class Sync(ApiClient): headers = None def __init__(self, api_key, host = None): version = 'v1' base = f'{version}/sync' super().__init__(api_key, base, host) def save_individuals(self, individuals): """ Example for valid payloa...
25.247706
84
0.461846
485
5,504
5.101031
0.265979
0.077607
0.103072
0.097817
0.470897
0.358529
0.254648
0.254648
0.227162
0.191593
0
0.043614
0.416788
5,504
217
85
25.364055
0.727103
0.385901
0
0.290909
0
0
0.077353
0
0
0
0
0
0
1
0.309091
false
0
0.018182
0
0.654545
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
f3dd9fb24a9396a98c687b66f8f7876728c75b4b
974
py
Python
tests/test_accumulators.py
YiqingZhouKelly/pyqmc
ec14c7b3cceb01d287cb09ebc5d2af37014c1c8e
[ "MIT" ]
null
null
null
tests/test_accumulators.py
YiqingZhouKelly/pyqmc
ec14c7b3cceb01d287cb09ebc5d2af37014c1c8e
[ "MIT" ]
null
null
null
tests/test_accumulators.py
YiqingZhouKelly/pyqmc
ec14c7b3cceb01d287cb09ebc5d2af37014c1c8e
[ "MIT" ]
null
null
null
import numpy as np from pyqmc.energy import energy from pyqmc.accumulators import LinearTransform def test_transform(): """ Just prints things out; TODO: figure out a thing to test. """ from pyscf import gto, scf import pyqmc r = 1.54 / 0.529177 mol = gto.M( atom="H 0. 0. 0.; H 0...
24.974359
53
0.63655
127
974
4.76378
0.559055
0.009917
0.009917
0
0
0
0
0
0
0
0
0.0271
0.2423
974
38
54
25.631579
0.792683
0.059548
0
0
0
0
0.048889
0
0
0
0
0.026316
0.068966
1
0.034483
false
0
0.172414
0
0.206897
0.034483
0
0
0
null
0
0
0
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
f3e1bc98bd7d01c5711f8f809eee088a228fd829
812
py
Python
cbe/cbe/physical_object/views.py
cdaf/cbe
7945a3fad11ae4612e22163094571ac9157dca7f
[ "Apache-2.0" ]
3
2019-02-26T19:54:51.000Z
2021-03-23T02:57:02.000Z
cbe/cbe/physical_object/views.py
cdaf/cbe
7945a3fad11ae4612e22163094571ac9157dca7f
[ "Apache-2.0" ]
6
2016-12-23T02:11:21.000Z
2018-09-30T18:50:59.000Z
cbe/cbe/physical_object/views.py
cdaf/cbe
7945a3fad11ae4612e22163094571ac9157dca7f
[ "Apache-2.0" ]
4
2017-02-11T04:40:52.000Z
2020-10-12T22:22:54.000Z
from rest_framework import permissions, renderers, viewsets from cbe.physical_object.models import Structure, Vehicle, Device, Owner from cbe.physical_object.serializers import StructureSerializer, VehicleSerializer, DeviceSerializer class StructureViewSet(viewsets.ModelViewSet): queryset = Structure.objects.all...
36.909091
100
0.801724
71
812
9.042254
0.43662
0.093458
0.130841
0.116822
0.17134
0
0
0
0
0
0
0
0.12931
812
22
101
36.909091
0.908062
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f3e6d43ae3babe2ba804c1245f860a4766789acc
630
py
Python
bus/solution.py
thegilm/bcn-feb-2019-prework
466d4521718b3db54a9f8d780ba0142a5bd9a84b
[ "Unlicense" ]
null
null
null
bus/solution.py
thegilm/bcn-feb-2019-prework
466d4521718b3db54a9f8d780ba0142a5bd9a84b
[ "Unlicense" ]
null
null
null
bus/solution.py
thegilm/bcn-feb-2019-prework
466d4521718b3db54a9f8d780ba0142a5bd9a84b
[ "Unlicense" ]
null
null
null
numberOfStops = 0 stops = [(10,0), (2,4), (5,2)] for stop in stops: numberOfStops += 1 print("There are "+str(numberOfStops)+" stops") pagsPerStop = [] currentPassengers = 0 for stop in stops: currentPassengers = currentPassengers + stop[0] - stop[1] pagsPerStop.append(currentPassengers) #print("Passenge...
22.5
61
0.704762
78
630
5.692308
0.384615
0.063063
0.081081
0.067568
0.094595
0
0
0
0
0
0
0.026871
0.173016
630
28
62
22.5
0.825336
0.073016
0
0.2
0
0
0.097603
0
0
0
0
0
0
1
0
false
0.15
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f3ee3a07d2f72effe8a22cdb3a2c4bc54052a0e6
4,811
py
Python
store/models.py
mahinm20/techcastle
30897a38ad6c1db29ab55a692f1bea53ec46f42a
[ "MIT" ]
1
2020-09-18T04:13:30.000Z
2020-09-18T04:13:30.000Z
store/models.py
mahinm20/techcastle
30897a38ad6c1db29ab55a692f1bea53ec46f42a
[ "MIT" ]
null
null
null
store/models.py
mahinm20/techcastle
30897a38ad6c1db29ab55a692f1bea53ec46f42a
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User class Customer(models.Model): user = models.OneToOneField(User,null=True,blank=True,on_delete=models.CASCADE) name= models.CharField(max_length=200,null=True) email = models.CharField(max_length=200) def __str__(self): ...
30.257862
121
0.625026
584
4,811
4.955479
0.152397
0.046994
0.044921
0.08293
0.710435
0.632688
0.562198
0.469247
0.410159
0.345888
0
0.009706
0.271877
4,811
158
122
30.449367
0.816443
0.360216
0
0.246377
0
0
0
0
0
0
0
0
0
1
0.130435
false
0
0.028986
0.057971
0.695652
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
f3fe043025e44f180cfee4b089e42c06a2c79ff9
1,417
py
Python
tests/tagopsdb/database/test_connection.py
ifwe/tagopsdb
5455810cb9ccdd0803975a2513741c43313b1b7d
[ "Apache-2.0" ]
null
null
null
tests/tagopsdb/database/test_connection.py
ifwe/tagopsdb
5455810cb9ccdd0803975a2513741c43313b1b7d
[ "Apache-2.0" ]
1
2021-03-25T21:57:08.000Z
2021-03-25T21:57:08.000Z
tests/tagopsdb/database/test_connection.py
ifwe/tagopsdb
5455810cb9ccdd0803975a2513741c43313b1b7d
[ "Apache-2.0" ]
1
2016-08-02T06:05:58.000Z
2016-08-02T06:05:58.000Z
# Copyright 2016 Ifwe Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
35.425
76
0.663373
181
1,417
5.077348
0.546961
0.05876
0.032644
0.03482
0.052231
0.052231
0
0
0
0
0
0.01029
0.245589
1,417
39
77
36.333333
0.849392
0.385321
0
0
0
0
0.088681
0
0
0
0
0
0.05
1
0.1
false
0.15
0.1
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f3fe624800865f1bcb81cdec9b8557526b18533e
6,852
py
Python
src/GenomeBaser/genomebaser.py
mscook/GenomeBaser
c7db653c608363215972cee8cfaf6749762ff9d8
[ "ECL-2.0" ]
3
2017-12-09T08:45:18.000Z
2021-07-21T18:57:50.000Z
src/GenomeBaser/genomebaser.py
mscook/GenomeBaser
c7db653c608363215972cee8cfaf6749762ff9d8
[ "ECL-2.0" ]
null
null
null
src/GenomeBaser/genomebaser.py
mscook/GenomeBaser
c7db653c608363215972cee8cfaf6749762ff9d8
[ "ECL-2.0" ]
null
null
null
#!/usr/bin/env python """ Genomebaser is a tool to manage complete genomes from the NCBI """ __title__ = 'GenomeBaser' __version__ = '0.1.2' __description__ = "GenomeBaser manages complete (bacterial) genomes from NCBI" __author__ = 'Mitchell Stanton-Cook' __author_email__ = 'm.stantoncook@gmail.com' __url__ = 'http:...
29.921397
78
0.605809
885
6,852
4.511864
0.270057
0.054095
0.049587
0.019284
0.213123
0.156774
0.146506
0.146506
0.104934
0.104934
0
0.004567
0.265032
6,852
228
79
30.052632
0.788324
0.002919
0
0.183206
0
0
0.191346
0.034237
0
0
0
0
0
0
null
null
0
0.053435
null
null
0.030534
0
0
0
null
0
0
0
0
0
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
f3fe937f55ace08062751b7c85b71bff814d4398
739
py
Python
python_tc_api/setup.py
imec-ilabt/terms-cond-demo-site
b3df7a76abc11b3598e78d1fc78026c0dbcc18db
[ "MIT" ]
null
null
null
python_tc_api/setup.py
imec-ilabt/terms-cond-demo-site
b3df7a76abc11b3598e78d1fc78026c0dbcc18db
[ "MIT" ]
null
null
null
python_tc_api/setup.py
imec-ilabt/terms-cond-demo-site
b3df7a76abc11b3598e78d1fc78026c0dbcc18db
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages import tcapi setup( name="T&C API", version=tcapi.__version__, description="Terms & Conditions Web API", long_description="Terms & Conditions Web API", url="https://github.com/imec-ilabt/terms-cond-demo-site", packages=find_packages(exclude=["doc"])...
23.09375
102
0.64276
90
739
5.088889
0.711111
0.052402
0.113537
0.126638
0.139738
0
0
0
0
0
0
0.013468
0.196211
739
31
103
23.83871
0.757576
0
0
0
0
0
0.364005
0.102842
0
0
0
0
0
1
0
true
0
0.086957
0
0.086957
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
6d007ee3835cd5e8d16d9fcae72eff0ebf23bb2a
23,970
py
Python
edm_web1/script/stat_log.py
zhouli121018/nodejsgm
0ccbc8acf61badc812f684dd39253d55c99f08eb
[ "MIT" ]
null
null
null
edm_web1/script/stat_log.py
zhouli121018/nodejsgm
0ccbc8acf61badc812f684dd39253d55c99f08eb
[ "MIT" ]
18
2020-06-05T18:17:40.000Z
2022-03-11T23:25:21.000Z
edm_web1/script/stat_log.py
zhouli121018/nodejsgm
0ccbc8acf61badc812f684dd39253d55c99f08eb
[ "MIT" ]
null
null
null
#!/usr/local/pyenv/versions/edm_web/bin/python # -*- coding: utf-8 -*- # """ 每隔一小时执行 1. 腾讯企业邮箱:获取发送失败和不存在的地址。 2. 真实成功率统计 3. 统计客户10个任务的平均发送成功率 """ from gevent import monkey monkey.patch_all() import gevent import gevent.pool import os import re import sys import time import datetime import redis import traceback import...
36.045113
167
0.617438
3,396
23,970
4.035925
0.128386
0.028017
0.016051
0.018021
0.457829
0.399898
0.34401
0.310156
0.262586
0.224865
0
0.017191
0.242845
23,970
664
168
36.099398
0.738002
0.027409
0
0.275665
0
0.009506
0.280727
0.018093
0
0
0
0
0
0
null
null
0.009506
0.030418
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
6d114036460b0a65ea69f353c833555d1c29c909
7,151
py
Python
nbprocess/maker.py
fastai/nbprocess
cf4290b31357101bc96103ee2525e14c0c8ef162
[ "Apache-2.0" ]
15
2021-08-09T22:50:46.000Z
2022-03-31T10:11:20.000Z
nbprocess/maker.py
fastai/nbprocess
cf4290b31357101bc96103ee2525e14c0c8ef162
[ "Apache-2.0" ]
15
2021-08-20T03:07:43.000Z
2022-03-28T16:45:42.000Z
nbprocess/maker.py
fastai/nbprocess
cf4290b31357101bc96103ee2525e14c0c8ef162
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/01_maker.ipynb. # %% auto 0 __all__ = ['find_var', 'read_var', 'update_var', 'ModuleMaker', 'retr_exports', 'make_code_cell', 'make_code_cells', 'relative_import', 'update_import', 'basic_export_nb2'] # %% ../nbs/01_maker.ipynb 3 from .read import * from ....
41.097701
116
0.673332
1,111
7,151
4.169217
0.239424
0.016192
0.032383
0.048575
0.094344
0.08614
0.052677
0.025907
0
0
0
0.015715
0.172423
7,151
173
117
41.33526
0.766982
0.173962
0
0.068702
1
0.007634
0.151261
0.004513
0
0
0
0
0.015267
1
0.145038
false
0
0.122137
0.053435
0.320611
0.007634
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
6d1336811ea22932a4553f86f6dc252faff19d6f
5,329
py
Python
gears/geometry/arc.py
gfsmith/gears
0091f64182f56523fd5f92a66fbe8a0e8866c0c2
[ "MIT" ]
1
2020-10-22T10:00:39.000Z
2020-10-22T10:00:39.000Z
gears/geometry/arc.py
gfsmith/gears
0091f64182f56523fd5f92a66fbe8a0e8866c0c2
[ "MIT" ]
null
null
null
gears/geometry/arc.py
gfsmith/gears
0091f64182f56523fd5f92a66fbe8a0e8866c0c2
[ "MIT" ]
null
null
null
from point import Point from affinematrix import AffineMatrix from math import pi, sin, cos, atan2, acos from polyline import Polyline # To do: # create arcs in other ways (3 points?) # blow arc into line segments? # fix "area" function to work with direction EPS = 1.0e-6 class Arc(object): ''' an arc in a ...
41.96063
255
0.58754
739
5,329
4.179973
0.196211
0.061509
0.041437
0.027517
0.273875
0.249272
0.187763
0.106831
0.045322
0.045322
0
0.019191
0.266654
5,329
126
256
42.293651
0.771238
0.239632
0
0.042254
0
0
0.051648
0
0
0
0
0
0
0
null
null
0
0.056338
null
null
0.014085
0
0
0
null
0
0
0
0
0
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
6d155ba0d2a065a00a94c8613bd794981e839695
709
py
Python
Testing/publications/calendars/__init__.py
freder/PageBotExamples
eb4ced53a673b9376e8357afa9ea0795b022b13c
[ "Ruby", "MIT" ]
5
2020-06-20T22:01:23.000Z
2021-08-06T04:39:50.000Z
Testing/publications/calendars/__init__.py
freder/PageBotExamples
eb4ced53a673b9376e8357afa9ea0795b022b13c
[ "Ruby", "MIT" ]
5
2020-05-17T09:32:27.000Z
2021-03-15T19:45:52.000Z
Testing/publications/calendars/__init__.py
freder/PageBotExamples
eb4ced53a673b9376e8357afa9ea0795b022b13c
[ "Ruby", "MIT" ]
2
2021-02-25T19:07:45.000Z
2022-01-09T21:14:06.000Z
# -*- coding: UTF-8 -*- # ----------------------------------------------------------------------------- # # P A G E B O T # # Copyright (c) 2016+ Buro Petr van Blokland + Claudia Mens # www.pagebot.io # Licensed under MIT conditions # # Supporting DrawBot, www.drawbot.com # Supporting Flat, xxyx...
27.269231
79
0.523272
72
709
4.972222
0.777778
0
0
0
0
0
0
0
0
0
0
0.010239
0.173484
709
25
80
28.36
0.600683
0.647391
0
0
0
0
0.055794
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6d16784b2838b996f8b8d3f240e8f6d67016e159
1,561
py
Python
migrations/0001_initial.py
bm424/churchmanager
474e96af0c5257de3bf4c4faf4438b0292f879ab
[ "MIT" ]
null
null
null
migrations/0001_initial.py
bm424/churchmanager
474e96af0c5257de3bf4c4faf4438b0292f879ab
[ "MIT" ]
9
2016-12-10T22:33:14.000Z
2017-01-29T16:26:57.000Z
migrations/0001_initial.py
bm424/churchmanager
474e96af0c5257de3bf4c4faf4438b0292f879ab
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2016-12-05 22:59 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateM...
41.078947
267
0.577835
178
1,561
4.926966
0.505618
0.071836
0.102623
0.13683
0.120867
0.031927
0.031927
0.025086
0.025086
0.025086
0
0.041026
0.25048
1,561
37
268
42.189189
0.708547
0.043562
0
0
1
0.034483
0.183893
0.075839
0
0
0
0
0
1
0
false
0
0.103448
0
0.241379
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
6d1683acb30a5b44b541e8b96529b3139722bff6
4,710
py
Python
kokki/cookbooks/apache2/recipes/default.py
samuel/kokki
da98da55e0bba8db5bda993666a43c6fdc4cacdb
[ "BSD-3-Clause" ]
11
2015-01-14T00:43:26.000Z
2020-12-29T06:12:51.000Z
kokki/cookbooks/apache2/recipes/default.py
samuel/kokki
da98da55e0bba8db5bda993666a43c6fdc4cacdb
[ "BSD-3-Clause" ]
null
null
null
kokki/cookbooks/apache2/recipes/default.py
samuel/kokki
da98da55e0bba8db5bda993666a43c6fdc4cacdb
[ "BSD-3-Clause" ]
3
2015-01-14T01:05:56.000Z
2019-01-26T05:09:37.000Z
from kokki import Package, Directory, Service, File, StaticFile, Execute, Template PLATFORM_CONFIGS = dict( centos = "httpd", redhat = "httpd", fedora = "httpd", suse = "httpd", debian = "apache2", ubuntu = "apache2", ) Package("apache2", package_name = "httpd" if env.system.platform in (...
33.642857
138
0.638854
570
4,710
5.173684
0.233333
0.066124
0.101729
0.116989
0.463208
0.405222
0.338081
0.266192
0.177687
0.111224
0
0.028474
0.194692
4,710
139
139
33.884892
0.749011
0.319958
0
0.445946
0
0.013514
0.290528
0.081055
0
0
0
0
0
0
null
null
0
0.013514
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
6d185f3d72ef6ab91e3c9955b524dca39686e1a0
331
py
Python
Part_1_beginner/17_For_in_range_loop/solutions_for_in_range/exercise_1.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_1_beginner/17_For_in_range_loop/solutions_for_in_range/exercise_1.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_1_beginner/17_For_in_range_loop/solutions_for_in_range/exercise_1.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
1
2021-02-20T08:30:56.000Z
2021-02-20T08:30:56.000Z
# Poproś użytkownika o podanie numeru telefonu. # Następnie wypisz informacje ile razy występuje w nim każda cyfra. phone_number = input("Podaj numer telefonu: ") for digit in range(10): digit_times_in_number = phone_number.count(str(digit)) print(f"Cyfra {digit} występuje w Twoim numerze: {digit_times_in_numb...
41.375
83
0.770393
49
331
5.040816
0.673469
0.080972
0.097166
0.145749
0
0
0
0
0
0
0
0.007067
0.145015
331
7
84
47.285714
0.865724
0.335347
0
0
0
0
0.421296
0.106481
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
6d196fecb70359f348127a6690077064d9bdfc21
8,635
py
Python
codegen_mat24.py
Martin-Seysen/mmgroup
6acd566f1079e7e27eec76352477fbba39eeb65f
[ "MIT" ]
14
2020-07-10T20:12:05.000Z
2022-03-10T13:46:59.000Z
codegen_mat24.py
Martin-Seysen/mmgroup
6acd566f1079e7e27eec76352477fbba39eeb65f
[ "MIT" ]
1
2022-03-09T07:05:04.000Z
2022-03-18T20:17:11.000Z
codegen_mat24.py
Martin-Seysen/mmgroup
6acd566f1079e7e27eec76352477fbba39eeb65f
[ "MIT" ]
1
2022-02-07T21:08:00.000Z
2022-02-07T21:08:00.000Z
r"""Generation of C code dealing with the Mathieu group Mat24 Generating the ``mmgroup.mat24`` extension .......................................... Function ``mat24_make_c_code()`` generates C code for basic computations in the Golay code, its cocode, and the Mathieu group Mat24. It also generates code for computati...
32.220149
72
0.672496
1,212
8,635
4.60396
0.203795
0.015054
0.021505
0.010036
0.175806
0.115054
0.07957
0.030108
0.01828
0.01828
0
0.014468
0.183555
8,635
268
73
32.220149
0.777021
0.473191
0
0.082645
1
0
0.206982
0.005199
0
0
0
0
0
1
0.024793
false
0
0.140496
0
0.165289
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6d1a345bf810f3d985a80e77d962ac09c941eed4
1,138
py
Python
app/models.py
dzendjo/aimagicbot
0490279bcd99d31f45c1d1fae49523eb22da698e
[ "WTFPL" ]
6
2021-04-08T15:41:27.000Z
2021-07-26T17:04:35.000Z
app/models.py
dzendjo/aimagicbot
0490279bcd99d31f45c1d1fae49523eb22da698e
[ "WTFPL" ]
null
null
null
app/models.py
dzendjo/aimagicbot
0490279bcd99d31f45c1d1fae49523eb22da698e
[ "WTFPL" ]
null
null
null
from motor.motor_asyncio import AsyncIOMotorClient from umongo import Instance, Document, fields, Schema, ValidationError import asyncio from bson.objectid import ObjectId import pymongo import datetime import pytz from collections import OrderedDict import os import data from pprint import pprint db = AsyncIOMotorCl...
27.756098
77
0.761863
141
1,138
5.985816
0.439716
0.113744
0.130332
0.154028
0.17891
0.138626
0.138626
0
0
0
0
0
0.149385
1,138
40
78
28.45
0.871901
0
0
0
0
0
0.01406
0
0
0
0
0
0
1
0
false
0.032258
0.354839
0
0.709677
0.032258
0
0
0
null
0
0
0
0
0
0
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
6d1aae8257a31d02f874d5f78b84f9dc85c66daa
2,554
py
Python
algorithms/distribution_based/column_model.py
Soton-Song/valentine
9a47859f912540cdbe961ed3585201d3accd07be
[ "Apache-2.0" ]
null
null
null
algorithms/distribution_based/column_model.py
Soton-Song/valentine
9a47859f912540cdbe961ed3585201d3accd07be
[ "Apache-2.0" ]
null
null
null
algorithms/distribution_based/column_model.py
Soton-Song/valentine
9a47859f912540cdbe961ed3585201d3accd07be
[ "Apache-2.0" ]
null
null
null
import numpy as np import pickle from data_loader.data_objects.column import Column from utils.utils import convert_data_type class CorrelationClusteringColumn(Column): """ A class used to represent a column of a table in the Correlation Clustering algorithm Attributes ---------- data : list ...
30.771084
115
0.624119
312
2,554
4.971154
0.253205
0.041908
0.049645
0.036106
0.243714
0.20374
0.137976
0.088975
0
0
0
0
0.305795
2,554
82
116
31.146341
0.874788
0.481989
0
0
0
0
0.024728
0
0
0
0
0
0
1
0.190476
false
0
0.190476
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6d1f0a9ee722a36468743040728d0c20f3e33a1c
1,888
py
Python
pcg_gazebo/parsers/urdf/inertial.py
TForce1/pcg_gazebo
9ff88016b7b6903236484958ca7c6ed9f8ffb346
[ "ECL-2.0", "Apache-2.0" ]
40
2020-02-04T18:16:49.000Z
2022-02-22T11:36:34.000Z
pcg_gazebo/parsers/urdf/inertial.py
awesomebytes/pcg_gazebo
4f335dd460ef7c771f1df78b46a92fad4a62cedc
[ "ECL-2.0", "Apache-2.0" ]
75
2020-01-23T13:40:50.000Z
2022-02-09T07:26:01.000Z
pcg_gazebo/parsers/urdf/inertial.py
GimpelZhang/gazebo_world_generator
eb7215499d0ddc972d804c988fadab1969579b1b
[ "ECL-2.0", "Apache-2.0" ]
18
2020-09-10T06:35:41.000Z
2022-02-20T19:08:17.000Z
# Copyright (c) 2019 - The Procedural Generation for Gazebo authors # For information on the respective copyright owner see the NOTICE file # # 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 # #...
27.764706
74
0.683263
253
1,888
4.948617
0.403162
0.047923
0.033546
0.040735
0.136581
0.136581
0
0
0
0
0
0.005472
0.225636
1,888
67
75
28.179104
0.850889
0.347987
0
0.075
0
0
0.044408
0
0
0
0
0
0
1
0.2
false
0
0.125
0.075
0.525
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
6d258428e53bc70709ebeb3d78ebc92cb4f37cbd
209
py
Python
app/tasks.py
tristan-c/FancyTest
4ee7f13aff9455d3292e9f0c3ca3c67193cc7163
[ "BSD-2-Clause" ]
null
null
null
app/tasks.py
tristan-c/FancyTest
4ee7f13aff9455d3292e9f0c3ca3c67193cc7163
[ "BSD-2-Clause" ]
null
null
null
app/tasks.py
tristan-c/FancyTest
4ee7f13aff9455d3292e9f0c3ca3c67193cc7163
[ "BSD-2-Clause" ]
null
null
null
from carotte import Carotte from app.connector import * my_app = Carotte() @my_app.task def refreshYoutube(author=None): youtube = youtubeConnector(username="") log = youtube.check() return log
17.416667
43
0.722488
26
209
5.730769
0.653846
0.067114
0
0
0
0
0
0
0
0
0
0
0.177033
209
11
44
19
0.866279
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6d2c30ce4ab730bb3db9caff41749d415df33c90
1,321
py
Python
test_sql.py
konstdimasik/python_code
8e4aef1c4638488c0990068010c0d7e53a076f74
[ "MIT" ]
null
null
null
test_sql.py
konstdimasik/python_code
8e4aef1c4638488c0990068010c0d7e53a076f74
[ "MIT" ]
null
null
null
test_sql.py
konstdimasik/python_code
8e4aef1c4638488c0990068010c0d7e53a076f74
[ "MIT" ]
null
null
null
import sqlite3 from random import randint global db global sql db = sqlite3.connect('test_server.db') sql = db.cursor() sql.execute("""CREATE TABLE IF NOT EXISTS users ( id SERIAL PRIMARY KEY, login TEXT, password TEXT, cash BIGINT )""") db.commit() def reg(): user_login = input('Login: ') ...
22.016667
90
0.597275
170
1,321
4.588235
0.417647
0.089744
0.05641
0.073077
0.258974
0.258974
0.258974
0.176923
0.176923
0.176923
0
0.010352
0.268736
1,321
59
91
22.389831
0.797101
0
0
0.266667
0
0
0.366389
0
0
0
0
0
0
1
0.088889
false
0.066667
0.044444
0
0.133333
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6d2fb930181e8be628ee3351247bae8e1af5c1d3
314
py
Python
tworaven_apps/api_docs/urls.py
TwoRavens/TwoRavens
e5f820557d6646df525ceed15e17d79f4159cf0a
[ "Apache-2.0" ]
20
2017-12-11T07:26:06.000Z
2021-11-22T16:16:20.000Z
tworaven_apps/api_docs/urls.py
TwoRavens/TwoRavens
e5f820557d6646df525ceed15e17d79f4159cf0a
[ "Apache-2.0" ]
849
2017-10-20T18:21:18.000Z
2022-02-18T02:45:44.000Z
tworaven_apps/api_docs/urls.py
TwoRavens/TwoRavens
e5f820557d6646df525ceed15e17d79f4159cf0a
[ "Apache-2.0" ]
1
2020-05-18T06:02:13.000Z
2020-05-18T06:02:13.000Z
from django.conf.urls import url from tworaven_apps.api_docs import views, views_swagger urlpatterns = ( url(r'^grpc-test-form$', views.view_test_form, name='view_test_form'), #url(r'^v1/swagger.yml$', # views_swagger.view_swagger_doc_v1, # name='view_swagger_doc_v1'), )
20.933333
55
0.671975
45
314
4.377778
0.488889
0.121827
0.121827
0.162437
0
0
0
0
0
0
0
0.011952
0.200637
314
14
56
22.428571
0.772908
0.299363
0
0
0
0
0.138249
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6d3621424c2643e8447590739daab9f1c592babc
521
py
Python
app/migrations/0006_auto_20200530_1922.py
fluix-dev/cloak
85b09b3f0bb7777234c2dd1218240bcbe1baeb85
[ "MIT" ]
3
2020-05-31T13:53:38.000Z
2020-06-03T14:58:23.000Z
app/migrations/0006_auto_20200530_1922.py
fluix-dev/cloak
85b09b3f0bb7777234c2dd1218240bcbe1baeb85
[ "MIT" ]
1
2020-06-07T18:08:49.000Z
2020-06-07T18:08:49.000Z
app/migrations/0006_auto_20200530_1922.py
fluix-dev/cloak
85b09b3f0bb7777234c2dd1218240bcbe1baeb85
[ "MIT" ]
2
2020-06-01T21:23:50.000Z
2020-06-07T01:01:38.000Z
# Generated by Django 3.0.6 on 2020-05-30 23:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0005_formfield_multiple_choices'), ] operations = [ migrations.AlterModelOptions( name='formfield', options={...
22.652174
57
0.579655
48
521
6.208333
0.75
0.087248
0
0
0
0
0
0
0
0
0
0.054795
0.299424
521
22
58
23.681818
0.761644
0.086372
0
0.125
1
0
0.147679
0.065401
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6d3a47183171f4b843eb7c866091d598d6a38850
3,798
py
Python
readtagger/cli/findcluster.py
bardin-lab/read_tagger
9a6e3f209e64f1f65c69fa06b7285ab9575ae002
[ "MIT" ]
3
2018-05-14T12:15:20.000Z
2021-03-01T02:38:36.000Z
readtagger/cli/findcluster.py
bardin-lab/read_tagger
9a6e3f209e64f1f65c69fa06b7285ab9575ae002
[ "MIT" ]
413
2017-02-16T16:16:21.000Z
2022-03-31T23:46:40.000Z
readtagger/cli/findcluster.py
bardin-lab/tag_reads
9a6e3f209e64f1f65c69fa06b7285ab9575ae002
[ "MIT" ]
2
2019-03-09T03:00:12.000Z
2019-07-16T00:29:56.000Z
import logging import click from readtagger.findcluster import ClusterManager from readtagger import VERSION import multiprocessing_logging @click.command() @click.option('-i', '--input_path', help='Find cluster in this BAM file.', type=click.Path(exists=True), ...
44.162791
99
0.595577
447
3,798
4.995526
0.324385
0.08867
0.052396
0.076579
0.343484
0.319301
0.306314
0.284819
0.229736
0.229736
0
0.007003
0.285677
3,798
85
100
44.682353
0.816071
0.013428
0
0.243902
0
0
0.382251
0.037423
0
0
0
0
0
1
0.012195
true
0
0.060976
0
0.085366
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
6d3c012e72f316a312f3588cec4ec54db4271a1d
2,848
py
Python
src/comparator_code_processor.py
williamnash/CSCCoffea
aa35ca9f1de2b13c56d0274f44d471ef4989bbcc
[ "BSD-3-Clause" ]
null
null
null
src/comparator_code_processor.py
williamnash/CSCCoffea
aa35ca9f1de2b13c56d0274f44d471ef4989bbcc
[ "BSD-3-Clause" ]
null
null
null
src/comparator_code_processor.py
williamnash/CSCCoffea
aa35ca9f1de2b13c56d0274f44d471ef4989bbcc
[ "BSD-3-Clause" ]
null
null
null
"""Processor to create histograms and generate plots from fed comparator code.""" import awkward as ak from coffea import hist, processor from coffea.nanoevents.methods import candidate ak.behavior.update(candidate.behavior) class ComparatorCodeProcessor(processor.ProcessorABC): """Runs the analysis.""" de...
32.735632
89
0.515449
277
2,848
5.245487
0.458484
0.028906
0.03097
0.024776
0
0
0
0
0
0
0
0.011628
0.365871
2,848
86
90
33.116279
0.792913
0.070576
0
0.08
1
0
0.103854
0
0
0
0
0
0
1
0.08
false
0
0.06
0
0.22
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
6d48cea3f17ee4a95c0eca47889d8719937c59b4
3,841
py
Python
src/infi/storagemodel/aix/rescan.py
Infinidat/infi.storagemodel
81740970b5b1c0a691472f2e360d3a6e5c4d0875
[ "Python-2.0", "BSD-3-Clause" ]
6
2015-07-29T11:22:36.000Z
2019-01-22T19:07:42.000Z
src/infi/storagemodel/aix/rescan.py
Infinidat/infi.storagemodel
81740970b5b1c0a691472f2e360d3a6e5c4d0875
[ "Python-2.0", "BSD-3-Clause" ]
null
null
null
src/infi/storagemodel/aix/rescan.py
Infinidat/infi.storagemodel
81740970b5b1c0a691472f2e360d3a6e5c4d0875
[ "Python-2.0", "BSD-3-Clause" ]
3
2015-01-05T13:55:38.000Z
2018-07-07T05:05:36.000Z
from infi.execute import execute_assert_success from .scsi import AixModelMixin, AixSCSIBlockDevice from .native_multipath import AixMultipathBlockDevice from infi.storagemodel.errors import DeviceError class AixRescan(AixModelMixin): def _add_new_devices(self): execute_assert_success(["cfgmgr"]) def ...
50.539474
115
0.661546
511
3,841
4.727984
0.307241
0.040977
0.041391
0.029801
0.136176
0.077815
0.056291
0.027318
0.027318
0.027318
0
0.002105
0.258006
3,841
75
116
51.213333
0.845614
0.196303
0
0.035088
0
0
0.01788
0
0
0
0
0.013333
0.087719
1
0.105263
false
0.017544
0.122807
0
0.280702
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
6d48ddb09d237dd884869eaacf10790addb5615b
6,892
py
Python
app/main/forms.py
zs3189/web_flask
9efdcab8a8c77b9c744cef7ff3fd1eba6c157272
[ "MIT" ]
null
null
null
app/main/forms.py
zs3189/web_flask
9efdcab8a8c77b9c744cef7ff3fd1eba6c157272
[ "MIT" ]
null
null
null
app/main/forms.py
zs3189/web_flask
9efdcab8a8c77b9c744cef7ff3fd1eba6c157272
[ "MIT" ]
null
null
null
from flask_wtf import Form from wtforms import StringField, TextAreaField, BooleanField, SelectField,\ SubmitField,StringField from wtforms.validators import DataRequired, Length, Email, Regexp from wtforms import ValidationError from flask_pagedown.fields import PageDownField from ..models import Role, User,BID_ac...
38.719101
123
0.654672
870
6,892
5.048276
0.202299
0.026639
0.013661
0.025046
0.705146
0.640938
0.640938
0.621357
0.607696
0.592213
0
0.02633
0.184417
6,892
177
124
38.937853
0.755026
0.041642
0
0.449153
0
0
0.080773
0.003651
0
0
0
0
0
1
0.059322
false
0.025424
0.059322
0
0.737288
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
6d5952a83375f3a587538d649af0b1ec4fc8ffae
814
py
Python
code/runner.py
rapidclock/simple-neural-network
385be3f010ccbe8d08584523b7d1b60e82b3d88a
[ "Apache-2.0" ]
null
null
null
code/runner.py
rapidclock/simple-neural-network
385be3f010ccbe8d08584523b7d1b60e82b3d88a
[ "Apache-2.0" ]
null
null
null
code/runner.py
rapidclock/simple-neural-network
385be3f010ccbe8d08584523b7d1b60e82b3d88a
[ "Apache-2.0" ]
null
null
null
from data_prep import process_csv from nn.model import NeuralNetwork from nn.layers import InputLayer, Dense from nn.loss import CrossEntropy from nn.optimizer import SGD from nn.activations import sigmoid, tanh test_file = '../data/mnist_test.csv' train_file = '../data/mnist_train.csv' x_train, y_train = process_csv...
35.391304
100
0.740786
119
814
4.857143
0.403361
0.051903
0.044983
0.034602
0.100346
0
0
0
0
0
0
0.0317
0.14742
814
23
100
35.391304
0.801153
0
0
0
0
0
0.055215
0.055215
0
0
0
0
0
1
0
false
0
0.352941
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6d5bda6a5958069fb13682681c5954fd64401479
1,658
py
Python
example/ex_orbit.py
NSLS-II/aphla
ceb5410dc836a8fb16321b6dc5e10d442be765c5
[ "BSD-3-Clause" ]
null
null
null
example/ex_orbit.py
NSLS-II/aphla
ceb5410dc836a8fb16321b6dc5e10d442be765c5
[ "BSD-3-Clause" ]
1
2020-02-17T18:56:18.000Z
2020-02-20T17:06:20.000Z
example/ex_orbit.py
NSLS-II/aphla
ceb5410dc836a8fb16321b6dc5e10d442be765c5
[ "BSD-3-Clause" ]
1
2021-03-08T16:07:11.000Z
2021-03-08T16:07:11.000Z
import aphla as ap import numpy as np import matplotlib.pylab as plt import time print ap.__path__ ap.initNSLS2V1() bpms = ap.getElements('BPM') #trims = ap.getGroupMembers(['*', '[HV]COR'], op='intersection') trims = ap.getElements('HCOR')[:30] + ap.getElements('VCOR')[-30:] print "Bpms x Trims: (%d, %d)" % (len(bpm...
29.087719
71
0.60193
309
1,658
3.197411
0.317152
0.048583
0.040486
0.048583
0.364372
0.317814
0.317814
0.317814
0.285425
0.246964
0
0.069751
0.152593
1,658
56
72
29.607143
0.633452
0.092883
0
0.136364
0
0
0.1169
0.0167
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.045455
0
0
0
null
0
0
0
0
0
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
6d5e6a208881b84f49805972d3c6ef48834a23ac
7,173
py
Python
PCI_o_B/DAMfile.py
MatteoMilani95/PCI_o_Bpy
32eb5bdb7c2050ab9ae66969b9dc54ae8a26cde4
[ "MIT" ]
1
2022-02-03T08:29:25.000Z
2022-02-03T08:29:25.000Z
PCI_o_B/DAMfile.py
MatteoMilani95/PCI_o_Bpy
32eb5bdb7c2050ab9ae66969b9dc54ae8a26cde4
[ "MIT" ]
null
null
null
PCI_o_B/DAMfile.py
MatteoMilani95/PCI_o_Bpy
32eb5bdb7c2050ab9ae66969b9dc54ae8a26cde4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Feb 1 13:49:13 2021 @author: Matteo """ import numpy as np import matplotlib.pyplot as plt import PCI_o_B from PCI_o_B import CIfile as CI from PCI_o_B import G2file as g2 from PCI_o_B import SharedFunctions as sf class DAM(g2.G2): def __init__(self,Fold...
30.918103
87
0.479158
651
7,173
5.199693
0.179724
0.059084
0.038405
0.025997
0.687445
0.674151
0.612408
0.580502
0.580502
0.580502
0
0.030995
0.401784
7,173
232
88
30.918103
0.757632
0.033319
0
0.705479
0
0
0.049962
0.013793
0
0
0
0
0
1
0.054795
false
0
0.041096
0
0.150685
0.027397
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6d63c7017135d27fa2319fa730134a22c5448887
320
py
Python
Desafios/Mundo 2/ex051.py
ZaikoXander/Python
7e7243edb02dd33991c5f63f02c983ad060fc3ca
[ "Unlicense" ]
null
null
null
Desafios/Mundo 2/ex051.py
ZaikoXander/Python
7e7243edb02dd33991c5f63f02c983ad060fc3ca
[ "Unlicense" ]
null
null
null
Desafios/Mundo 2/ex051.py
ZaikoXander/Python
7e7243edb02dd33991c5f63f02c983ad060fc3ca
[ "Unlicense" ]
null
null
null
print('\033[1;97m-' * 23) print('| \033[91m10 TERMOS DE UMA PA \033[97m|') print('-' * 23) ptermo = int(input('Primeiro termo: ')) razao = int(input('Razão: ')) decimo = ptermo + (10 - 1) * razao print() for c in range(ptermo, decimo + razao, razao): print('\033[97m{}'.format(c), end=' \033[91m➝ ') print('ACABOU')
29.090909
52
0.60625
50
320
3.9
0.56
0.123077
0
0
0
0
0
0
0
0
0
0.129151
0.153125
320
10
53
32
0.586716
0
0
0
0
0
0.315625
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
ed8f84edfa8ef5d36985f2b2b79f727fe222497b
755
py
Python
projectwo/servicetwo/test_servicetwo.py
ayonadee/prizegenerator
d772850c1e13714bdc3272a4f4dcf96f53451f08
[ "MIT" ]
null
null
null
projectwo/servicetwo/test_servicetwo.py
ayonadee/prizegenerator
d772850c1e13714bdc3272a4f4dcf96f53451f08
[ "MIT" ]
null
null
null
projectwo/servicetwo/test_servicetwo.py
ayonadee/prizegenerator
d772850c1e13714bdc3272a4f4dcf96f53451f08
[ "MIT" ]
null
null
null
from unittest.mock import patch from flask import url_for from flask_testing import TestCase from app import app import requests class TestBase(TestCase): def create_app(self): return app class TestViews(TestBase): def test_get_randomnumber(self): response = self.client.get(url_for('...
27.962963
60
0.675497
98
755
5.081633
0.44898
0.048193
0.108434
0.126506
0.301205
0.301205
0.301205
0.301205
0.220884
0.220884
0
0.015358
0.223841
755
26
61
29.038462
0.834471
0
0
0.142857
0
0
0.059603
0
0
0
0
0
0.142857
1
0.190476
false
0
0.238095
0.047619
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ed9000487637d62356ee8d3e2d1cf5c47941326c
266
py
Python
bot/components/token.py
fossabot/jdan734-bot
25f6fd35c5b07711490c54c44dacf799a06d2f60
[ "MIT" ]
null
null
null
bot/components/token.py
fossabot/jdan734-bot
25f6fd35c5b07711490c54c44dacf799a06d2f60
[ "MIT" ]
null
null
null
bot/components/token.py
fossabot/jdan734-bot
25f6fd35c5b07711490c54c44dacf799a06d2f60
[ "MIT" ]
null
null
null
import telebot import os import json if "TOKEN" in os.environ: bot = telebot.TeleBot(os.environ["TOKEN"]) heroku = True else: with open("../token2.json") as token: heroku = False bot = telebot.TeleBot(json.loads(token.read())["token"])
20.461538
64
0.639098
36
266
4.722222
0.527778
0.105882
0.2
0
0
0
0
0
0
0
0
0.004785
0.214286
266
12
65
22.166667
0.808612
0
0
0
0
0
0.109023
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
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
ed90f40a3656e092a61f3c96cd6d642e9fc1a3a1
2,636
py
Python
external/iotivity/iotivity_1.2-rel/build_common/iotivityconfig/compiler/default_configuration.py
SenthilKumarGS/TizenRT
691639aa9667de5d966f040f0291a402727ab6ae
[ "Apache-2.0" ]
1,433
2015-04-30T09:26:53.000Z
2022-03-26T12:44:12.000Z
AllJoyn/Samples/OICAdapter/iotivity-1.0.0/build_common/iotivityconfig/compiler/default_configuration.py
buocnhay/samples-1
ddd614bb5ae595f03811e3dfa15a5d107005d0fc
[ "MIT" ]
4,673
2017-03-29T10:43:43.000Z
2022-03-31T08:33:44.000Z
AllJoyn/Samples/OICAdapter/iotivity-1.0.0/build_common/iotivityconfig/compiler/default_configuration.py
buocnhay/samples-1
ddd614bb5ae595f03811e3dfa15a5d107005d0fc
[ "MIT" ]
1,878
2015-04-30T04:18:57.000Z
2022-03-15T16:51:17.000Z
# ------------------------------------------------------------------------ # Copyright 2015 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/li...
31.011765
74
0.487102
262
2,636
4.824427
0.496183
0.047468
0.031646
0.030854
0.272943
0.254747
0.254747
0.254747
0.191456
0.191456
0
0.020525
0.205235
2,636
84
75
31.380952
0.582816
0.632777
0
0.263158
0
0
0.477981
0
0
0
0
0
0
1
0.131579
false
0
0.026316
0.105263
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
ed9394e4f82cfdcd8e61b42bef6eb1b67ea156f5
3,738
py
Python
apps/approval/migrations/0001_initial.py
Kpaubert/onlineweb4
9ac79f163bc3a816db57ffa8477ea88770d97807
[ "MIT" ]
32
2017-02-22T13:38:38.000Z
2022-03-31T23:29:54.000Z
apps/approval/migrations/0001_initial.py
Kpaubert/onlineweb4
9ac79f163bc3a816db57ffa8477ea88770d97807
[ "MIT" ]
694
2017-02-15T23:09:52.000Z
2022-03-31T23:16:07.000Z
apps/approval/migrations/0001_initial.py
Kpaubert/onlineweb4
9ac79f163bc3a816db57ffa8477ea88770d97807
[ "MIT" ]
35
2017-09-02T21:13:09.000Z
2022-02-21T11:30:30.000Z
# -*- coding: utf-8 -*- from django.db import migrations, models class Migration(migrations.Migration): dependencies = [] operations = [ migrations.CreateModel( name="Approval", fields=[ ( "id", models.AutoField( ...
34.293578
86
0.357143
206
3,738
6.34466
0.558252
0.092578
0.045907
0.043611
0.165264
0.165264
0.058148
0
0
0
0
0.016519
0.546549
3,738
108
87
34.611111
0.754572
0.005618
0
0.366337
0
0
0.163661
0.018304
0
0
0
0
0
1
0
false
0
0.009901
0
0.039604
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
ed949e307cfdf85a1c556b9985899c38397e2540
280
py
Python
Recursion/sum_of_digits.py
eferroni/Data-Structure-and-Algorithms
bad33d4619884e03c85e13f604db753af5b543a0
[ "MIT" ]
null
null
null
Recursion/sum_of_digits.py
eferroni/Data-Structure-and-Algorithms
bad33d4619884e03c85e13f604db753af5b543a0
[ "MIT" ]
null
null
null
Recursion/sum_of_digits.py
eferroni/Data-Structure-and-Algorithms
bad33d4619884e03c85e13f604db753af5b543a0
[ "MIT" ]
null
null
null
""" How to find the sum of digits of a positive integer number using recursion? """ def sum_of_digits(n): assert n >= 0 and int(n) == n, "n is lower than 0 or not a int" if n < 10: return n return sum_of_digits(n // 10) + n % 10 print(sum_of_digits(0.6))
18.666667
75
0.617857
54
280
3.092593
0.537037
0.11976
0.263473
0.143713
0
0
0
0
0
0
0
0.04878
0.267857
280
14
76
20
0.765854
0.267857
0
0
0
0
0.152284
0
0
0
0
0
0.166667
1
0.166667
false
0
0
0
0.5
0.166667
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
ed99bcd8a556ee73b43d2fb81f855d4647e28abf
5,587
py
Python
src/bots/cogs/admin.py
cyork95/KronaBotFam
39a4e920a80d6b666fa1a5a1ca075a00e21bf124
[ "MIT" ]
1
2020-06-21T05:16:47.000Z
2020-06-21T05:16:47.000Z
src/bots/cogs/admin.py
cyork95/KronaBotFam
39a4e920a80d6b666fa1a5a1ca075a00e21bf124
[ "MIT" ]
null
null
null
src/bots/cogs/admin.py
cyork95/KronaBotFam
39a4e920a80d6b666fa1a5a1ca075a00e21bf124
[ "MIT" ]
null
null
null
import discord from discord.ext import commands class Admin(commands.Cog): def __init__(self, client): self.client = client @commands.command(help("Deletes the specified number of chats. Default is 2 messages.")) @commands.has_permissions(manage_messages=True) async def clear(self, ctx, amou...
40.485507
117
0.611598
670
5,587
5.028358
0.159701
0.061739
0.053428
0.049866
0.695459
0.679727
0.647076
0.647076
0.647076
0.647076
0
0.010435
0.279578
5,587
137
118
40.781022
0.826584
0
0
0.504425
0
0
0.13183
0.006312
0
0
0.011542
0
0
1
0.017699
false
0
0.017699
0
0.053097
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
edb1dbc91500d63f2a4146fd292c6c0565197fd9
623
py
Python
cloudrunner_server/db/versions/330568e8928c_added_phone_field_for_user.py
ttrifonov/cloudrunner-server
3b2426c8d9987e78425899010b534afc7734d8d4
[ "Apache-2.0" ]
2
2016-03-31T08:45:29.000Z
2021-04-28T15:18:45.000Z
cloudrunner_server/db/versions/330568e8928c_added_phone_field_for_user.py
ttrifonov/cloudrunner-server
3b2426c8d9987e78425899010b534afc7734d8d4
[ "Apache-2.0" ]
null
null
null
cloudrunner_server/db/versions/330568e8928c_added_phone_field_for_user.py
ttrifonov/cloudrunner-server
3b2426c8d9987e78425899010b534afc7734d8d4
[ "Apache-2.0" ]
null
null
null
"""Added phone field for User Revision ID: 330568e8928c Revises: 1231d6a65b06 Create Date: 2015-02-05 16:53:40.517660 """ # revision identifiers, used by Alembic. revision = '330568e8928c' down_revision = '1231d6a65b06' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated ...
23.074074
84
0.695024
79
623
5.443038
0.607595
0.062791
0.097674
0.106977
0.204651
0.204651
0.204651
0.204651
0
0
0
0.118217
0.17175
623
26
85
23.961538
0.715116
0.487961
0
0
0
0
0.153846
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
edb3d554b8f64c336028e8732821431c9c046039
4,588
py
Python
bubbleimg/imgdownload/sdss/test/test_sdssimgloader_init.py
aileisun/bubblepy
054e7a3993659e7002f243c75253c2cb71d4fa73
[ "MIT" ]
3
2017-11-20T23:16:09.000Z
2021-05-19T09:38:01.000Z
bubbleimg/imgdownload/sdss/test/test_sdssimgloader_init.py
aileisun/bubblepy
054e7a3993659e7002f243c75253c2cb71d4fa73
[ "MIT" ]
null
null
null
bubbleimg/imgdownload/sdss/test/test_sdssimgloader_init.py
aileisun/bubblepy
054e7a3993659e7002f243c75253c2cb71d4fa73
[ "MIT" ]
3
2017-07-17T09:31:11.000Z
2021-05-19T09:38:07.000Z
# test_sdssimgloader_init.py # ALS 2017/05/02 """ to be used with pytest test sets for sdssimgloader test suite init """ import numpy as np import astropy.table as at import astropy.units as u import shutil import os import pytest from ..sdssimgloader import sdssimgLoader from ....obsobj import obsObj ra = 150...
23.408163
147
0.737576
783
4,588
4.127714
0.183908
0.069307
0.037129
0.029703
0.602104
0.528775
0.514233
0.469678
0.431931
0.401609
0
0.019113
0.144725
4,588
195
148
23.528205
0.804536
0.191587
0
0.398058
0
0
0.02899
0.006902
0
0
0
0
0.417476
1
0.116505
false
0
0.07767
0
0.203884
0.009709
0
0
0
null
0
0
0
0
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
edb84e24e7fb8232e0036c3c3e9b0ae36a14651d
626
py
Python
events/matsucon2018/migrations/0003_signupextra_shirt_size.py
darkismus/kompassi
35dea2c7af2857a69cae5c5982b48f01ba56da1f
[ "CC-BY-3.0" ]
13
2015-11-29T12:19:12.000Z
2021-02-21T15:42:11.000Z
events/matsucon2018/migrations/0003_signupextra_shirt_size.py
darkismus/kompassi
35dea2c7af2857a69cae5c5982b48f01ba56da1f
[ "CC-BY-3.0" ]
23
2015-04-29T19:43:34.000Z
2021-02-10T05:50:17.000Z
events/matsucon2018/migrations/0003_signupextra_shirt_size.py
darkismus/kompassi
35dea2c7af2857a69cae5c5982b48f01ba56da1f
[ "CC-BY-3.0" ]
11
2015-09-20T18:59:00.000Z
2020-02-07T08:47:34.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2018-02-03 21:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('matsucon2018', '0002_auto_20180203_2326'), ] operations = [ migrations.AddField( model_name='signupextra...
32.947368
254
0.594249
76
626
4.776316
0.776316
0.038567
0
0
0
0
0
0
0
0
0
0.077869
0.220447
626
18
255
34.777778
0.665984
0.108626
0
0
1
0
0.291892
0.041441
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
edbb368ef1494fdcb4766b7ed1cc3a083a21c15d
2,609
py
Python
e2e/pages/security_page.py
svic/jenkins-configuration
87eb90ba4adcf25f0b779f1277bbeff0e6b3525b
[ "Apache-2.0" ]
null
null
null
e2e/pages/security_page.py
svic/jenkins-configuration
87eb90ba4adcf25f0b779f1277bbeff0e6b3525b
[ "Apache-2.0" ]
null
null
null
e2e/pages/security_page.py
svic/jenkins-configuration
87eb90ba4adcf25f0b779f1277bbeff0e6b3525b
[ "Apache-2.0" ]
null
null
null
import os import re from . import JENKINS_HOST from bok_choy.page_object import PageObject class SecurityConfigurationPage(PageObject): url = "http://{}:8080/configureSecurity".format(JENKINS_HOST) def is_browser_on_page(self): return "configure global security" in self.browser.title.lower() def...
40.138462
113
0.626677
323
2,609
4.913313
0.334365
0.062382
0.045369
0.037807
0.31695
0.287965
0.255198
0.236295
0.091367
0.091367
0
0.004543
0.240705
2,609
64
114
40.765625
0.796567
0.164431
0
0.075
0
0
0.233879
0.102502
0
0
0
0
0
1
0.2
false
0
0.1
0.025
0.575
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
edbf6294fe80bb734e531e01e48c05274d1c60e0
447
py
Python
bunny/ext/const.py
senpai-development/SenpaiSlasher
89842e584b4cd60731ce9c43315c08b02a8dc8e3
[ "MIT" ]
null
null
null
bunny/ext/const.py
senpai-development/SenpaiSlasher
89842e584b4cd60731ce9c43315c08b02a8dc8e3
[ "MIT" ]
null
null
null
bunny/ext/const.py
senpai-development/SenpaiSlasher
89842e584b4cd60731ce9c43315c08b02a8dc8e3
[ "MIT" ]
1
2021-10-31T02:40:03.000Z
2021-10-31T02:40:03.000Z
from numbers import Number from string import ascii_letters __version__ = None class Version: """A simplified class to return a formatted version.""" def __new__(cls, *args) -> None: if isinstance([arg for arg in args], Number): if args[-1] not in ascii_letters: return ["...
27.9375
74
0.588367
61
447
4.147541
0.47541
0.071146
0.094862
0.142292
0.102767
0
0
0
0
0
0
0.015723
0.288591
447
15
75
29.8
0.779874
0.10962
0
0
0
0
0.005102
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
edc889de9ac7c2c07b6837a7ecc7ffd6a712fd08
637
py
Python
app/user/migrations/0046_auto_20170826_0132.py
Sovol2018/sovolo
54250e42b4af3391d2f99690f45b93ab240563c2
[ "MIT" ]
2
2017-06-06T11:34:49.000Z
2017-10-24T13:09:50.000Z
app/user/migrations/0046_auto_20170826_0132.py
Sovol2018/sovolo
54250e42b4af3391d2f99690f45b93ab240563c2
[ "MIT" ]
346
2016-08-09T20:50:57.000Z
2018-08-28T06:52:17.000Z
app/user/migrations/0046_auto_20170826_0132.py
hejob/sovolo
8b73253d7bf0427c7ae0ebb6d8e3d70e118e8427
[ "MIT" ]
3
2017-11-27T14:07:57.000Z
2018-08-13T15:51:01.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-25 16:32 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0045_auto_20170826_0132'), ] operations = [ ...
28.954545
201
0.632653
73
637
5.39726
0.657534
0.076142
0.152284
0
0
0
0
0
0
0
0
0.089286
0.208791
637
21
202
30.333333
0.69246
0.10675
0
0
1
0
0.091873
0.040636
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
edc8d8f4e4453706ef6a9e88e1bd0b07f2b716bc
1,222
py
Python
scraper/storage_spiders/viettelstorevn.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
null
null
null
scraper/storage_spiders/viettelstorevn.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
10
2020-02-11T23:34:28.000Z
2022-03-11T23:16:12.000Z
scraper/storage_spiders/viettelstorevn.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
3
2018-08-05T14:54:25.000Z
2021-06-07T01:49:59.000Z
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "//div[@class='col-lg-7 col-md-7 col-sm-7 col-xs-7 produce-info']/div[@class='row'][1]/div/h1", 'price' : "//div/span[@id='_price_new43...
40.733333
108
0.618658
160
1,222
4.63125
0.5375
0.053981
0.059379
0.040486
0.045884
0
0
0
0
0
0
0.014995
0.126841
1,222
29
109
42.137931
0.679475
0.0982
0
0
1
0.076923
0.569609
0.282985
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
edca1e5dec82812c47900f830373208a72b788a2
265
py
Python
functions/nag_function_is_output.py
daviddoret/pyxag
6884c7e100d28c3ce6273248caa40eaeab920bc5
[ "MIT" ]
1
2019-10-27T15:56:27.000Z
2019-10-27T15:56:27.000Z
functions/nag_function_is_output.py
daviddoret/pynag
6884c7e100d28c3ce6273248caa40eaeab920bc5
[ "MIT" ]
11
2019-11-04T18:21:16.000Z
2019-11-07T03:22:41.000Z
functions/nag_function_is_output.py
daviddoret/pynag
6884c7e100d28c3ce6273248caa40eaeab920bc5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sun Oct 27 12:15:58 2019 @author: david """ def nag_function_is_output(name): """ Check wether a NAG function name is of type output """ if name[0:1] == 'o': return True else: return False
17.666667
54
0.573585
40
265
3.725
0.825
0.147651
0
0
0
0
0
0
0
0
0
0.079365
0.286792
265
15
55
17.666667
0.708995
0.471698
0
0
0
0
0.008475
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
edcce938d8f1702158eac1eb2b46312f6ebce25a
13,489
py
Python
tangoObjects.py
15-411/Tango
b4659b456282575011979408cb860efd28de15ea
[ "Apache-2.0" ]
2
2020-03-31T04:09:47.000Z
2022-02-13T21:36:57.000Z
tangoObjects.py
15-411/Tango
b4659b456282575011979408cb860efd28de15ea
[ "Apache-2.0" ]
null
null
null
tangoObjects.py
15-411/Tango
b4659b456282575011979408cb860efd28de15ea
[ "Apache-2.0" ]
null
null
null
# tangoREST.py # # Implements objects used to pass state within Tango. # import redis import pickle import Queue import logging from datetime import datetime, timedelta from config import Config redisConnection = None # Pass in an existing connection to redis, sometimes necessary for testing. def getRedisConnection(c...
29.909091
95
0.614278
1,651
13,489
4.904906
0.186554
0.023463
0.012225
0.009879
0.242282
0.201037
0.176093
0.137812
0.122499
0.112003
0
0.003538
0.287642
13,489
450
96
29.975556
0.839213
0.174883
0
0.30897
0
0
0.016399
0.001913
0
0
0
0
0
1
0.209302
false
0
0.019934
0.053156
0.415282
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
edd473120b9826cc0ea1b34e829fb793e21636fa
4,235
py
Python
sandbox/test_Linux.py
gwiederhecker/MPh
d5eb7b6e9e00fe3fcd00acf53278a89243ae512a
[ "MIT" ]
1
2021-12-23T09:15:56.000Z
2021-12-23T09:15:56.000Z
sandbox/test_Linux.py
gwiederhecker/MPh
d5eb7b6e9e00fe3fcd00acf53278a89243ae512a
[ "MIT" ]
null
null
null
sandbox/test_Linux.py
gwiederhecker/MPh
d5eb7b6e9e00fe3fcd00acf53278a89243ae512a
[ "MIT" ]
null
null
null
""" Tests running a stand-alone Comsol client on Linux. The script does not depend on MPh, but starts the Comsol client directly via the Java bridge JPype. Paths to the Comsol installation are hard-coded for an installation of Comsol 5.6 at the default location. Other versions can be tested by editing the assig...
37.149123
71
0.714522
630
4,235
4.752381
0.380952
0.021042
0.02171
0.028056
0.138945
0.117902
0.077154
0.077154
0.077154
0.077154
0
0.011255
0.160803
4,235
113
72
37.477876
0.830895
0
0
0.114286
0
0
0.281849
0.054491
0
0
0
0
0
0
null
null
0
0.157143
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
edd8ed87eb6a08b5e850310b2ee3e3e68b37e167
674
py
Python
backend/phonebook/employees/views.py
unmade/phonebook
121b2e5bb2eb217f5e183aa0c39a6d12f227d5e3
[ "MIT" ]
null
null
null
backend/phonebook/employees/views.py
unmade/phonebook
121b2e5bb2eb217f5e183aa0c39a6d12f227d5e3
[ "MIT" ]
null
null
null
backend/phonebook/employees/views.py
unmade/phonebook
121b2e5bb2eb217f5e183aa0c39a6d12f227d5e3
[ "MIT" ]
null
null
null
from rest_framework import generics from .models import Employee from .serializers import EmployeeSerializer class EmployeeListAPIView(generics.ListAPIView): queryset = Employee.objects.select_name().select_job().prefetch_contacts().prefetch_secretaries() serializer_class = EmployeeSerializer search_fiel...
39.647059
101
0.796736
66
674
7.787879
0.545455
0.062257
0.089494
0.11284
0.428016
0.428016
0.428016
0.428016
0.428016
0.428016
0
0
0.102374
674
16
102
42.125
0.849587
0
0
0.363636
0
0
0.136499
0
0
0
0
0
0
1
0
false
0
0.272727
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
eddd7ea5f5bb33c656e5669523c01e45e167e8e5
2,944
py
Python
upscale/api/keys.py
nl5887/upscale
efebc08af3355f5ad09a28aa41f99fb734386e6e
[ "Apache-2.0" ]
1
2018-06-30T14:04:41.000Z
2018-06-30T14:04:41.000Z
upscale/api/keys.py
nl5887/upscale
efebc08af3355f5ad09a28aa41f99fb734386e6e
[ "Apache-2.0" ]
null
null
null
upscale/api/keys.py
nl5887/upscale
efebc08af3355f5ad09a28aa41f99fb734386e6e
[ "Apache-2.0" ]
null
null
null
import sys, getopt, os import argparse import shlex import yaml import git import shutil import subprocess from jinja2 import Template import tempfile import git import base64 import logging from sqlalchemy.sql import exists from sqlalchemy.sql import and_, or_, not_ from upscale import config config = config.config ...
27.773585
111
0.710598
393
2,944
5.244275
0.26972
0.046579
0.037846
0.044639
0.501698
0.481805
0.399321
0.377001
0.377001
0.377001
0
0.008006
0.151495
2,944
105
112
28.038095
0.817054
0.038723
0
0.442857
0
0
0.043728
0
0
0
0
0
0
0
null
null
0
0.285714
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
ede0ec3177887ff3c5ddb334209dbbd3d4a4db61
393
py
Python
esteganography/fileManipulation.py
giovaninppc/MC920
7d46238f4079dabc4769c72cbed44d024fcf5c97
[ "MIT" ]
1
2019-08-23T19:23:18.000Z
2019-08-23T19:23:18.000Z
esteganography/fileManipulation.py
giovaninppc/MC920
7d46238f4079dabc4769c72cbed44d024fcf5c97
[ "MIT" ]
null
null
null
esteganography/fileManipulation.py
giovaninppc/MC920
7d46238f4079dabc4769c72cbed44d024fcf5c97
[ "MIT" ]
1
2020-11-05T23:56:49.000Z
2020-11-05T23:56:49.000Z
import numpy as np from skimage import io def openImage(path: str, gray: bool = False): return io.imread(path, as_gray = gray) def saveImage(path: str, img): io.imsave(path, img) def openTextFile(path): file = open(path, 'r') txt = file.read() file.close() return txt def writeTextFile(path, ...
19.65
45
0.641221
58
393
4.327586
0.517241
0.055777
0.095618
0
0
0
0
0
0
0
0
0
0.221374
393
19
46
20.684211
0.820261
0
0
0.133333
0
0
0.007634
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0.066667
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
edea25c3b33b15f81a4039542d968d74e0eb9404
4,371
py
Python
dens_lim.py
wdeshazer/gt3
21a136fcadb1d76b40121382a1ea62a73dbbac62
[ "MIT" ]
1
2019-01-10T18:30:43.000Z
2019-01-10T18:30:43.000Z
dens_lim.py
wdeshazer/gt3
21a136fcadb1d76b40121382a1ea62a73dbbac62
[ "MIT" ]
null
null
null
dens_lim.py
wdeshazer/gt3
21a136fcadb1d76b40121382a1ea62a73dbbac62
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Tue Apr 10 20:24:53 2018 @author: max """ from __future__ import division import numpy as np from scipy.special import jv import sys from math import sqrt import matplotlib.pyplot as plt def calc_quadratic(a, b, c): y1 = -b * (1 + sqrt(1 - 4 * (a * c ...
29.938356
126
0.442004
698
4,371
2.674785
0.194842
0.012855
0.021425
0.012855
0.29459
0.29459
0.29459
0.29459
0.279593
0.217461
0
0.090608
0.378861
4,371
145
127
30.144828
0.597053
0.009838
0
0.132743
0
0
0.061841
0
0
0
0
0
0
0
null
null
0.00885
0.053097
null
null
0.362832
0
0
0
null
0
0
0
0
0
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
edec59dbe5796a6b79ebb95f4b0b8bde92dbb139
908
py
Python
nipype/interfaces/tests/test_auto_SelectFiles.py
nicholsn/nipype
6601b00aac39d17bb9fb3a6801f5a740a6ebb1e3
[ "BSD-3-Clause" ]
1
2018-04-18T12:13:37.000Z
2018-04-18T12:13:37.000Z
nipype/interfaces/tests/test_auto_SelectFiles.py
ito-takuya/nipype
9099a5809487b55868cdec82a719030419cbd6ba
[ "BSD-3-Clause" ]
null
null
null
nipype/interfaces/tests/test_auto_SelectFiles.py
ito-takuya/nipype
9099a5809487b55868cdec82a719030419cbd6ba
[ "BSD-3-Clause" ]
1
2021-09-08T14:31:47.000Z
2021-09-08T14:31:47.000Z
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from nipype.testing import assert_equal from nipype.interfaces.io import SelectFiles def test_SelectFiles_inputs(): input_map = dict(base_directory=dict(), force_lists=dict(usedefault=True, ), ignore_exception=dict(nohash=True, usedefault=True, ...
29.290323
78
0.692731
113
908
5.39823
0.451327
0.091803
0.088525
0.059016
0.265574
0.2
0.2
0.2
0.2
0.2
0
0
0.199339
908
30
79
30.266667
0.839065
0.056167
0
0.25
1
0
0
0
0
0
0
0
0.125
1
0.083333
false
0
0.083333
0
0.166667
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
edee75278eaadc03a762fa45ef5bc4d4726586cd
5,017
py
Python
binary_search_tree.py
alexsmartens/algorithms
c5d2f52968b58de7fae49b406d09563d5d270784
[ "MIT" ]
null
null
null
binary_search_tree.py
alexsmartens/algorithms
c5d2f52968b58de7fae49b406d09563d5d270784
[ "MIT" ]
null
null
null
binary_search_tree.py
alexsmartens/algorithms
c5d2f52968b58de7fae49b406d09563d5d270784
[ "MIT" ]
null
null
null
# This binary_search_tree.py is an implementation of binary search tree based on the idea from CLRS, Chapter 12 from tree_visualization import tree_visualize class Binary_tree: def __init__(self): self.root = None def node(self, key, p=None, left=None, right=None): return { ...
32.577922
125
0.572055
730
5,017
3.727397
0.09726
0.127894
0.183756
0.094083
0.531422
0.406101
0.358692
0.341419
0.319368
0.277472
0
0.01593
0.274267
5,017
154
126
32.577922
0.731392
0.036277
0
0.24
0
0
0.160629
0.099358
0
0
0
0
0
1
0.08
false
0
0.008
0.008
0.152
0.104
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
edf40db36910c6c7816749ee65a7ecb30bcd9b84
472
py
Python
recupero/migrations/0003_tipoprestacion_anio_update.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
6
2020-03-16T02:51:16.000Z
2020-11-10T00:58:01.000Z
recupero/migrations/0003_tipoprestacion_anio_update.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
204
2019-09-19T02:00:57.000Z
2022-02-10T10:48:52.000Z
recupero/migrations/0003_tipoprestacion_anio_update.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
3
2019-09-16T22:59:24.000Z
2022-03-21T22:52:44.000Z
# Generated by Django 2.2.4 on 2019-11-03 15:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('recupero', '0002_auto_20191103_1159'), ] operations = [ migrations.AddField( model_name='tipoprestacion', name='anio...
24.842105
124
0.644068
53
472
5.622642
0.830189
0
0
0
0
0
0
0
0
0
0
0.099432
0.254237
472
18
125
26.222222
0.747159
0.095339
0
0
1
0
0.249412
0.054118
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
edfbd28e262755268ea574783bc7d6bb7bf87a03
16,023
py
Python
bin/grad_desc.py
FrankSchaust/SC2CombatPredictor
6a36996fb77227f57dad7d098db068f4f2073aab
[ "Apache-2.0" ]
null
null
null
bin/grad_desc.py
FrankSchaust/SC2CombatPredictor
6a36996fb77227f57dad7d098db068f4f2073aab
[ "Apache-2.0" ]
null
null
null
bin/grad_desc.py
FrankSchaust/SC2CombatPredictor
6a36996fb77227f57dad7d098db068f4f2073aab
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright 2017 Frank Schaust. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
32.766871
133
0.397866
1,759
16,023
3.430358
0.223422
0.165728
0.076235
0.012927
0.39526
0.368247
0.341067
0.073583
0.064965
0.051376
0
0.083969
0.509455
16,023
488
134
32.834016
0.683715
0.094177
0
0.336391
0
0
0.014923
0.001451
0
0
0
0
0
1
0.012232
false
0
0.045872
0
0.06422
0.009174
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
edfcf05629e91eca13b11edd9adc209dcca88bee
319
py
Python
src/Python/801-900/867.TransposeMatrix.py
Peefy/PeefyLeetCode
92156e4b48ba19e3f02e4286b9f733e9769a1dee
[ "Apache-2.0" ]
2
2018-05-03T07:50:03.000Z
2018-06-17T04:32:13.000Z
src/Python/801-900/867.TransposeMatrix.py
Peefy/PeefyLeetCode
92156e4b48ba19e3f02e4286b9f733e9769a1dee
[ "Apache-2.0" ]
null
null
null
src/Python/801-900/867.TransposeMatrix.py
Peefy/PeefyLeetCode
92156e4b48ba19e3f02e4286b9f733e9769a1dee
[ "Apache-2.0" ]
3
2018-11-09T14:18:11.000Z
2021-11-17T15:23:52.000Z
class Solution: def transpose(self, A): """ :type A: List[List[int]] :rtype: List[List[int]] """ A[:] = map(list,zip(*A)) return A if __name__ == '__main__': solution = Solution() print(solution.transpose([[1, 2, 3], [4, 5, 6], [7, 8, 9]])) else: pass
18.764706
64
0.482759
41
319
3.560976
0.682927
0.109589
0.150685
0
0
0
0
0
0
0
0
0.041475
0.319749
319
16
65
19.9375
0.631336
0.15047
0
0
0
0
0.033613
0
0
0
0
0
0
1
0.111111
false
0.111111
0
0
0.333333
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
edfdb0fb5da0364291e2eacbe2a65879a185e495
2,921
py
Python
utilities/CGI-pythons/surf_trajLL2.py
sinotec2/Focus-on-Air-Quality
eac84651eaf6300a16f25a4d76b97a7f53454035
[ "MIT" ]
null
null
null
utilities/CGI-pythons/surf_trajLL2.py
sinotec2/Focus-on-Air-Quality
eac84651eaf6300a16f25a4d76b97a7f53454035
[ "MIT" ]
null
null
null
utilities/CGI-pythons/surf_trajLL2.py
sinotec2/Focus-on-Air-Quality
eac84651eaf6300a16f25a4d76b97a7f53454035
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: UTF-8 -*- import cgi, os, sys import cgitb import tempfile as tf import json #paths JSON='/Users/Data/cwb/e-service/surf_trj/sta_list.json' TRJs={'forc':'/Users/Data/cwb/e-service/btraj_WRFnests/ftuv10.py','obsv':'/Users/Data/cwb/e-service/surf_trj/traj2kml.py'} WEB='/Library/WebServe...
32.820225
122
0.6443
480
2,921
3.89375
0.422917
0.006421
0.019262
0.020867
0.161584
0.136972
0.11771
0.088818
0.088818
0.088818
0
0.013731
0.127354
2,921
88
123
33.193182
0.719498
0.0291
0
0.164557
0
0.063291
0.583039
0.148057
0
0
0
0
0
0
null
null
0
0.050633
null
null
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
1
0
0
0
0
0
0
0
0
1
6103b18072a26a1f7dab561cb8c0d58c01cd23fe
6,797
py
Python
modules/tests/generator.py
ansteh/multivariate
fbd166f9e9a6d721a1d876b6e46db064f43afe53
[ "Apache-2.0" ]
null
null
null
modules/tests/generator.py
ansteh/multivariate
fbd166f9e9a6d721a1d876b6e46db064f43afe53
[ "Apache-2.0" ]
null
null
null
modules/tests/generator.py
ansteh/multivariate
fbd166f9e9a6d721a1d876b6e46db064f43afe53
[ "Apache-2.0" ]
null
null
null
import pandas as ps import numpy as np import os, sys sys.path.append('../../modules/') import generation.normal as generator import generation.nonnormal as nonnormalGenerator import analysis.deviation as deviation from analysis.covariance import cov from analysis.correlation import corr from analysis.mean import mean...
43.018987
180
0.655289
805
6,797
5.493168
0.142857
0.02578
0.024876
0.03166
0.270918
0.189055
0.154229
0.142922
0.094075
0.094075
0
0.0179
0.194498
6,797
157
181
43.292994
0.789772
0.169192
0
0.152542
0
0
0.077661
0.009063
0
0
0
0
0
0
null
null
0
0.118644
null
null
0.372881
0
0
0
null
0
0
0
0
0
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
61047195a81e6e48a9a6ca1117e7f9dea002a948
1,524
py
Python
Section 4/44_POM/testAll.py
IgorPavlovski84/-Automating-Web-Testing-with-Selenium-and-Python
c57b43416bb4bdc7242e79aa9d202851a852daae
[ "MIT" ]
26
2018-12-21T00:52:01.000Z
2021-11-08T13:12:26.000Z
Section 4/44_POM/testAll.py
calvinkkd/-Automating-Web-Testing-with-Selenium-and-Python
ca6e427cf6393993245263e26a704beeea8c1fed
[ "MIT" ]
1
2021-02-02T22:05:36.000Z
2021-02-02T22:05:36.000Z
Section 4/44_POM/testAll.py
calvinkkd/-Automating-Web-Testing-with-Selenium-and-Python
ca6e427cf6393993245263e26a704beeea8c1fed
[ "MIT" ]
14
2018-12-08T11:40:38.000Z
2021-05-04T01:02:39.000Z
import unittest from selenium import webdriver from page import HomePage from page import AboutPage from locators import CommonPageLocators from locators import AboutPageLocators class TestPyOrgBase(unittest.TestCase): """ TBD """ def setUp(self): chrome_options = webdriver.ChromeOptions() ...
29.882353
94
0.703412
177
1,524
5.813559
0.40678
0.046647
0.03207
0.043732
0.159378
0.159378
0.081633
0.081633
0
0
0
0.017886
0.192913
1,524
51
95
29.882353
0.818699
0.007218
0
0.147059
0
0
0.080381
0.014305
0
0
0
0
0.117647
1
0.205882
false
0
0.176471
0
0.470588
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
6105613bcdf40591025743aad2e4a2c52e540018
1,093
py
Python
handlingMissingKeys.py
universekavish/pythonTraining
731da95d3fbd5b1a42116e5dad8ecedb557b71e1
[ "Apache-2.0" ]
null
null
null
handlingMissingKeys.py
universekavish/pythonTraining
731da95d3fbd5b1a42116e5dad8ecedb557b71e1
[ "Apache-2.0" ]
null
null
null
handlingMissingKeys.py
universekavish/pythonTraining
731da95d3fbd5b1a42116e5dad8ecedb557b71e1
[ "Apache-2.0" ]
null
null
null
#handling missing keys in python dictionaries country_code = {'India' : '0091', 'Australia' : '0025', 'Nepal' : '00977'} # 1. Using get() # get(key, def_val) print(country_code.get('India', 'Not Found')) print(country_code.get('Japan', 'Not found')) # 2. Using setdefault() # setdefault(key, def_value) #works same a...
28.025641
99
0.710887
158
1,093
4.860759
0.43038
0.085938
0.083333
0.049479
0
0
0
0
0
0
0
0.019376
0.150046
1,093
38
100
28.763158
0.80732
0.498628
0
0
0
0
0.290262
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.571429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
610af7e1885f69bf120c2f950e6f8adec29c8ac4
1,875
py
Python
scrabble/raw_metadata_stats.py
jbkoh/Scrabble
6d64be2e9c7d0392332592c804eb15c20a3e2516
[ "BSD-3-Clause" ]
6
2018-11-20T13:58:58.000Z
2020-07-10T13:43:37.000Z
scrabble/raw_metadata_stats.py
jbkoh/Scrabble
6d64be2e9c7d0392332592c804eb15c20a3e2516
[ "BSD-3-Clause" ]
null
null
null
scrabble/raw_metadata_stats.py
jbkoh/Scrabble
6d64be2e9c7d0392332592c804eb15c20a3e2516
[ "BSD-3-Clause" ]
2
2018-09-05T12:16:38.000Z
2022-03-18T07:29:41.000Z
import json import pdb from functools import reduce from collections import OrderedDict, Counter import random import re def replace_num_or_special(word): if re.match('\d+', word): return 'NUMBER' elif re.match('[a-zA-Z]+', word): return word else: return 'SPECIAL' building = 'ebu...
29.761905
75
0.68
256
1,875
4.753906
0.355469
0.088743
0.065735
0.031224
0.105177
0.057518
0.057518
0
0
0
0
0.006077
0.210133
1,875
62
76
30.241935
0.815665
0.045867
0
0.04
0
0
0.066667
0.04874
0
0
0
0.016129
0
1
0.02
false
0
0.12
0
0.2
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
610b86384ff9d122084ea3dcaa35a34c9adb1c1c
1,790
py
Python
src/services/text_postprocessor/kafka/kafka_producer.py
dam1002/GESPRO_GESTIONVERSIONES
a770fc1a36bf06d80b6e7dc84f6c7dbda76db048
[ "Apache-2.0" ]
7
2020-10-27T19:34:35.000Z
2021-02-24T06:40:30.000Z
src/services/text_postprocessor/kafka/kafka_producer.py
dmlls/jizt
b566f22a1714408893ca7a590da8e9d1ff18068f
[ "Apache-2.0" ]
120
2020-10-26T12:15:17.000Z
2021-02-24T17:10:41.000Z
src/services/text_preprocessor/kafka/kafka_producer.py
dam1002/GESPRO_GESTIONVERSIONES
a770fc1a36bf06d80b6e7dc84f6c7dbda76db048
[ "Apache-2.0" ]
4
2021-02-04T15:18:58.000Z
2021-02-24T10:44:19.000Z
# Copyright (C) 2021 Diego Miguel Lozano <dml1001@alu.ubu.es> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This...
38.913043
104
0.732961
227
1,790
5.709251
0.568282
0.064815
0.030093
0.043981
0.063272
0.04321
0
0
0
0
0
0.012287
0.181564
1,790
45
105
39.777778
0.872355
0.67933
0
0
0
0
0.200772
0.063707
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
610d3d1ea0df15d44b71cf77131b243b5f912b1b
13,256
py
Python
simsapa/assets/ui/memos_browser_window_ui.py
ilius/simsapa
b6c46cb6cba39557f665c0aaf63b84659dd983b8
[ "MIT" ]
null
null
null
simsapa/assets/ui/memos_browser_window_ui.py
ilius/simsapa
b6c46cb6cba39557f665c0aaf63b84659dd983b8
[ "MIT" ]
null
null
null
simsapa/assets/ui/memos_browser_window_ui.py
ilius/simsapa
b6c46cb6cba39557f665c0aaf63b84659dd983b8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'simsapa/assets/ui/memos_browser_window.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. ...
61.943925
107
0.74223
1,400
13,256
6.782857
0.134286
0.09583
0.07877
0.064027
0.345198
0.198821
0.079297
0.027906
0.015586
0.015586
0
0.010747
0.150649
13,256
213
108
62.234742
0.832667
0.022858
0
0
1
0
0.127231
0.005639
0
0
0
0
0
1
0.01005
false
0
0.01005
0
0.025126
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
610d676206448eaf25c18d8965b72c19cabcc746
714
py
Python
generating_address.py
ttw225/IOTA_learning
90b804765b9250c349dab7db8a06144cdcbdb52d
[ "MIT" ]
null
null
null
generating_address.py
ttw225/IOTA_learning
90b804765b9250c349dab7db8a06144cdcbdb52d
[ "MIT" ]
null
null
null
generating_address.py
ttw225/IOTA_learning
90b804765b9250c349dab7db8a06144cdcbdb52d
[ "MIT" ]
null
null
null
from iota import Iota from iota.crypto.addresses import AddressGenerator seed = b'TOKGLENCLJ9CVOFFOROSBODVWFEQE9UOOOGJODTLOQ9SBSXGOXDXHBTRELFDNACYSLEYXGUEZPKSYGYSK' # generator = AddressGenerator(seed) generator =\ AddressGenerator( seed=seed, security_level=3, ) # Generate a list of address...
29.75
91
0.759104
84
714
6.392857
0.452381
0.134078
0.156425
0.223464
0.363128
0.208566
0.208566
0.208566
0.208566
0.208566
0
0.027464
0.133053
714
23
92
31.043478
0.840065
0.406162
0
0.307692
0
0
0.196643
0.194245
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0.230769
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
610db58cd3de43d4ef2960ca0acc18b632ae9518
1,522
py
Python
examples/optimization/ex5.py
mikelytaev/wave-propagation
eff0eb1fc843e4d206b05731e40047e1d810d76f
[ "MIT" ]
15
2019-06-28T17:05:23.000Z
2022-03-22T02:20:39.000Z
examples/optimization/ex5.py
mikelytaev/wave-propagation
eff0eb1fc843e4d206b05731e40047e1d810d76f
[ "MIT" ]
null
null
null
examples/optimization/ex5.py
mikelytaev/wave-propagation
eff0eb1fc843e4d206b05731e40047e1d810d76f
[ "MIT" ]
3
2020-10-10T12:41:19.000Z
2021-12-17T14:08:18.000Z
from propagators._utils import * from scipy.interpolate import approximate_taylor_polynomial from scipy.interpolate import pade def pade_propagator_coefs_m(*, pade_order, diff2, k0, dx, spe=False, alpha=0): if spe: def sqrt_1plus(x): return 1 + x / 2 elif alpha == 0: def sqrt_1plus...
38.05
109
0.554534
211
1,522
3.772512
0.35545
0.113065
0.071608
0.065327
0.300251
0.252513
0.140704
0.140704
0.085427
0.085427
0
0.048228
0.332457
1,522
39
110
39.025641
0.735236
0.252957
0
0.083333
0
0
0.016859
0
0
0
0
0
0
1
0.166667
false
0
0.125
0.125
0.458333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
61131e560c7fb326c815049a60dacd0abac7e7f4
803
py
Python
python/test_vending_machine.py
objarni/VendingMachine-Approval-Kata
c937f93324fdea47bb31097d86e6577b62fcfa3b
[ "MIT" ]
3
2021-03-26T02:21:25.000Z
2022-02-09T19:59:42.000Z
python/test_vending_machine.py
objarni/VendingMachine-Approval-Kata
c937f93324fdea47bb31097d86e6577b62fcfa3b
[ "MIT" ]
1
2022-02-10T07:31:34.000Z
2022-02-10T07:31:34.000Z
python/test_vending_machine.py
objarni/VendingMachine-Approval-Kata
c937f93324fdea47bb31097d86e6577b62fcfa3b
[ "MIT" ]
3
2021-05-17T10:59:59.000Z
2022-02-09T20:05:28.000Z
import pytest from approvaltests import verify from vending_machine import VendingMachine from vending_machine_printer import VendingMachinePrinter @pytest.fixture() def machine(): return VendingMachine() @pytest.fixture def printer(machine): return VendingMachinePrinter(machine) @pytest.fixture def coin...
21.131579
92
0.699875
88
803
6.318182
0.420455
0.093525
0.086331
0
0
0
0
0
0
0
0
0.014129
0.206725
803
37
93
21.702703
0.858713
0.084682
0
0.086957
0
0
0.054645
0
0
0
0
0.027027
0.173913
1
0.173913
false
0
0.173913
0.086957
0.478261
0.130435
0
0
0
null
0
0
0
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
b61bdd95008aab21c3034f7bb3bf68750600c57d
541
py
Python
lightconvpoint/utils/functional.py
valeoai/POCO
c6ab56b1b7f01c51d1bc6987eae0a8c79725e63f
[ "Apache-2.0" ]
13
2022-01-07T07:53:15.000Z
2022-03-31T10:53:43.000Z
lightconvpoint/utils/functional.py
valeoai/POCO
c6ab56b1b7f01c51d1bc6987eae0a8c79725e63f
[ "Apache-2.0" ]
2
2022-02-16T18:58:22.000Z
2022-03-28T11:34:03.000Z
lightconvpoint/utils/functional.py
valeoai/POCO
c6ab56b1b7f01c51d1bc6987eae0a8c79725e63f
[ "Apache-2.0" ]
3
2022-01-25T05:24:31.000Z
2022-03-28T07:17:44.000Z
import torch def batch_gather(input, dim, index): index_shape = list(index.shape) input_shape = list(input.shape) views = [input.shape[0]] + [ 1 if i != dim else -1 for i in range(1, len(input.shape)) ] expanse = list(input.shape) expanse[0] = -1 expanse[dim] = -1 index = inde...
25.761905
77
0.641405
79
541
4.291139
0.35443
0.20649
0.082596
0.112094
0
0
0
0
0
0
0
0.02381
0.22366
541
21
78
25.761905
0.783333
0.03512
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.214286
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b62872f1f682726f52c0d16398b4af85749085c4
574
py
Python
models/skin.py
V1ckeyR/snake_snake
b22fed3ce48319bb8badf91f02ff205e7f853e6d
[ "MIT" ]
1
2021-12-26T21:46:06.000Z
2021-12-26T21:46:06.000Z
models/skin.py
V1ckeyR/snake_snake
b22fed3ce48319bb8badf91f02ff205e7f853e6d
[ "MIT" ]
null
null
null
models/skin.py
V1ckeyR/snake_snake
b22fed3ce48319bb8badf91f02ff205e7f853e6d
[ "MIT" ]
1
2021-12-11T09:11:14.000Z
2021-12-11T09:11:14.000Z
from app import db class Skin(db.Model): """ Params for category 'color': 'hex' Params for category 'gradient': 'direction', 'colors' """ id = db.Column(db.Integer, primary_key=True) category = db.Column(db.Integer, db.ForeignKey('category.id'), nullable=False) params = db.Column(db.JSON,...
27.333333
82
0.648084
73
574
5.027397
0.479452
0.065395
0.081744
0.092643
0
0
0
0
0
0
0
0
0.209059
574
20
83
28.7
0.80837
0.15331
0
0
0
0
0.135193
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0.090909
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b629058e0e26f4eafc9f02a9af115ae2aa695d7e
1,518
py
Python
src/server/main.py
arkarkark/feedapp
cfda0b8386593cc2b65390b2438ac9d0929b7245
[ "MIT" ]
null
null
null
src/server/main.py
arkarkark/feedapp
cfda0b8386593cc2b65390b2438ac9d0929b7245
[ "MIT" ]
10
2018-03-19T05:48:30.000Z
2022-02-26T12:25:41.000Z
src/server/main.py
arkarkark/feedapp
cfda0b8386593cc2b65390b2438ac9d0929b7245
[ "MIT" ]
null
null
null
# Copyright 2011 Alex K (wtwf.com) # based on code by 'wiktorgworek@google.com (Wiktor Gworek)' __author__ = 'wtwf.com (Alex K)' # If you want to check this with pychecker on osx you can do this... # export PYTHONPATH=$PYTHONPATH:/usr/local/google_appengine/ # export PYTHONPATH=$PYTHONPATH:/usr/local/google_appengin...
33.733333
79
0.726614
191
1,518
5.701571
0.439791
0.055096
0.04775
0.05326
0.20753
0.146924
0.089991
0
0
0
0
0.005848
0.098814
1,518
44
80
34.5
0.790205
0.323452
0
0
0
0
0.26942
0.115044
0
0
0
0
0
1
0
false
0
0.346154
0
0.346154
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
b629e72f2316f98e64426968005f8def5649c6c7
570
py
Python
src/RGT/XML/SVG/Attribs/classAttribute.py
danrg/RGT-tool
115ba9a93686595699b3e182958921b3d60382b3
[ "MIT" ]
7
2015-02-09T12:12:04.000Z
2019-03-31T08:23:36.000Z
src/RGT/XML/SVG/Attribs/classAttribute.py
danrg/RGT-tool
115ba9a93686595699b3e182958921b3d60382b3
[ "MIT" ]
3
2015-07-05T20:49:14.000Z
2017-07-03T19:45:18.000Z
src/RGT/XML/SVG/Attribs/classAttribute.py
danrg/RGT-tool
115ba9a93686595699b3e182958921b3d60382b3
[ "MIT" ]
1
2021-03-23T14:01:22.000Z
2021-03-23T14:01:22.000Z
from RGT.XML.SVG.Attribs.basicSvgAttribute import BasicSvgAttribute from types import StringType class ClassAttribute(BasicSvgAttribute): ATTRIBUTE_CLASS = 'class' def setClass(self, data=None): if data is not None: if type(data) is not StringType: data = str(dat...
30
68
0.635088
62
570
5.758065
0.451613
0.117647
0.05042
0
0
0
0
0
0
0
0
0
0.3
570
19
69
30
0.894737
0
0
0
0
0
0.009042
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b63261181c2e0117799de48501f38baadb8571b3
1,195
py
Python
affiliate/req/mobidea.py
gods-view/AdclickIO
ccb73867e568aac5f40bd5890149626ce0be1897
[ "BSD-2-Clause" ]
null
null
null
affiliate/req/mobidea.py
gods-view/AdclickIO
ccb73867e568aac5f40bd5890149626ce0be1897
[ "BSD-2-Clause" ]
null
null
null
affiliate/req/mobidea.py
gods-view/AdclickIO
ccb73867e568aac5f40bd5890149626ce0be1897
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 """ @author: amigo @contact: 88315203@qq.com @phone: 15618318407 @software: PyCharm @file: mobidea.py @time: 2017/4/11 下午2:58 """ import urllib import requests from affiliate.req.base_req import BaseReq class MobideaReq(BaseReq): def __init__(self, url, username, passwor...
25.978261
73
0.579916
132
1,195
5.166667
0.590909
0.070381
0.079179
0
0
0
0
0
0
0
0
0.042403
0.28954
1,195
45
74
26.555556
0.760895
0.195816
0
0
0
0
0.114255
0.02938
0
0
0
0
0
1
0.086957
false
0.173913
0.130435
0
0.391304
0.043478
0
0
0
null
0
0
0
0
0
0
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
b63b5d60d30c8b29d513e5f252bab9c9da1f093d
4,741
py
Python
core/analyzers/postgresqlanalyzer.py
cmu-db/cmdbac
1f981e6f110728e51ba4ffdb90ff2d4ce091057a
[ "Apache-2.0" ]
31
2016-04-07T04:54:29.000Z
2021-11-30T02:30:57.000Z
core/analyzers/postgresqlanalyzer.py
cmu-db/db-webcrawler
1f981e6f110728e51ba4ffdb90ff2d4ce091057a
[ "Apache-2.0" ]
22
2015-12-19T14:49:18.000Z
2021-09-07T23:48:24.000Z
core/analyzers/postgresqlanalyzer.py
cmu-db/dbac
1f981e6f110728e51ba4ffdb90ff2d4ce091057a
[ "Apache-2.0" ]
7
2016-05-13T01:02:01.000Z
2019-10-06T16:52:54.000Z
import os, sys sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir)) import logging import re from baseanalyzer import BaseAnalyzer ## ===================================================================== ## LOGGING CONFIGURATION ## ===================================================================== ...
43.898148
128
0.571609
466
4,741
5.633047
0.2103
0.049524
0.073143
0.091429
0.639238
0.585905
0.52
0.312
0.302857
0.296762
0
0.002319
0.272305
4,741
108
129
43.898148
0.758551
0.152078
0
0.246154
0
0
0.284677
0.079619
0
0
0
0
0
0
null
null
0.015385
0.061538
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
b63c6b0276ef7e48caa040ae3d5ec992bbaa978f
4,935
py
Python
connectdjango/settings.py
gabrielstonedelza/connectdjango
b1fd2c70695ae71144cf8c473bfa9f5e37f7e9af
[ "MIT" ]
null
null
null
connectdjango/settings.py
gabrielstonedelza/connectdjango
b1fd2c70695ae71144cf8c473bfa9f5e37f7e9af
[ "MIT" ]
1
2020-11-04T18:29:10.000Z
2020-11-04T18:32:44.000Z
connectdjango/settings.py
gabrielstonedelza/connectdjango
b1fd2c70695ae71144cf8c473bfa9f5e37f7e9af
[ "MIT" ]
null
null
null
import os import locale from decouple import config # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.0/howto/deployment...
30.276074
91
0.702736
543
4,935
6.187845
0.3407
0.061905
0.040476
0.025
0.185417
0.124107
0.052679
0.044048
0.02381
0
0
0.014244
0.160689
4,935
162
92
30.462963
0.796958
0.180344
0
0.017544
0
0
0.502984
0.386375
0
0
0
0
0
1
0
false
0.061404
0.026316
0
0.026316
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
b6401a035e367a22934b5331cf0af93dd0bb53ac
1,480
py
Python
challenge/migrations/0001_initial.py
cedricnoel/django-hearthstone
1c7f84b1101725365f08677e6800c789111ce58b
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
challenge/migrations/0001_initial.py
cedricnoel/django-hearthstone
1c7f84b1101725365f08677e6800c789111ce58b
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
challenge/migrations/0001_initial.py
cedricnoel/django-hearthstone
1c7f84b1101725365f08677e6800c789111ce58b
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.2.dev20190116205049 on 2019-01-16 20:54 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('decks', '0007_auto_20190116_2054'), migrations....
47.741935
167
0.679054
174
1,480
5.597701
0.413793
0.057495
0.086242
0.135524
0.440452
0.36961
0.36961
0.36961
0.353183
0.353183
0
0.042429
0.187838
1,480
30
168
49.333333
0.767887
0.041216
0
0
1
0
0.111503
0.016231
0
0
0
0
0
1
0
false
0
0.130435
0
0.304348
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
b640ae3248e940a8341e0a31d9cb75d1327f5d4b
1,884
py
Python
Curso Em Video-python/PYTHON (MUNDO 1, MUNDO 2 E MUNDO 3)/exercicios/ex0094Unindo_dict_listas.py
AlamoVinicius/code-pratice
924a3ff782caf3695bbeeac39fa02fb23781cd75
[ "MIT" ]
null
null
null
Curso Em Video-python/PYTHON (MUNDO 1, MUNDO 2 E MUNDO 3)/exercicios/ex0094Unindo_dict_listas.py
AlamoVinicius/code-pratice
924a3ff782caf3695bbeeac39fa02fb23781cd75
[ "MIT" ]
null
null
null
Curso Em Video-python/PYTHON (MUNDO 1, MUNDO 2 E MUNDO 3)/exercicios/ex0094Unindo_dict_listas.py
AlamoVinicius/code-pratice
924a3ff782caf3695bbeeac39fa02fb23781cd75
[ "MIT" ]
null
null
null
""" Crie um programa que leia nome, sexo e idade de várias pessoas, guardando os dados de cada pessoa em um dicionário e todos os dicionários em uma lista. No final, msotre: a - quantas pessoas foram cadastradas/ b - a média de idade do grupo/ c- uma lista com todas as mulheres. d - uma lista com todas as pessoas com i...
37.68
115
0.66242
283
1,884
4.402827
0.431095
0.028892
0.032103
0.048154
0.199839
0.103531
0.046549
0
0
0
0
0.006583
0.193737
1,884
50
116
37.68
0.813693
0.302017
0
0.147059
0
0
0.298561
0
0
0
0
0.02
0
1
0
false
0
0
0
0
0.264706
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
b642d7a7162da74844bf2598aed284ba96412b37
1,798
py
Python
tuesmon_ncurses/ui/views/auth.py
tuesmoncom/tuesmon-ncurses
21cd4c39f2eed13e7fe42cac0e70d752f76382ca
[ "Apache-2.0" ]
null
null
null
tuesmon_ncurses/ui/views/auth.py
tuesmoncom/tuesmon-ncurses
21cd4c39f2eed13e7fe42cac0e70d752f76382ca
[ "Apache-2.0" ]
null
null
null
tuesmon_ncurses/ui/views/auth.py
tuesmoncom/tuesmon-ncurses
21cd4c39f2eed13e7fe42cac0e70d752f76382ca
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ tuesmon_ncurses.ui.views.auth ~~~~~~~~~~~~~~~~~~~~~~~~~~~ """ from tuesmon_ncurses.ui.widgets import generic, auth from . import base class LoginView(base.View): login_button = None def __init__(self, username_text, password_text): # Header header = generic.bann...
35.254902
104
0.569522
181
1,798
5.314917
0.276243
0.080042
0.06237
0.079002
0.149688
0
0
0
0
0
0
0.004967
0.328142
1,798
50
105
35.96
0.790563
0.077308
0
0.193548
0
0
0.006072
0
0
0
0
0
0
1
0.096774
false
0.225806
0.064516
0.064516
0.290323
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
b6435b47b38e81369843e6b2dbacbae79e1bc75a
6,951
py
Python
generated/python/proto-google-cloud-language-v1beta2/google/cloud/proto/language/v1beta2/language_service_pb2_grpc.py
landrito/api-client-staging
140c312c9335af160efce5b37842c995308e0148
[ "BSD-3-Clause" ]
18
2016-12-08T20:47:57.000Z
2022-01-29T19:36:04.000Z
generated/python/proto-google-cloud-language-v1beta2/google/cloud/proto/language/v1beta2/language_service_pb2_grpc.py
landrito/api-client-staging
140c312c9335af160efce5b37842c995308e0148
[ "BSD-3-Clause" ]
252
2016-09-21T20:51:36.000Z
2021-03-25T23:02:36.000Z
generated/python/proto-google-cloud-language-v1beta2/google/cloud/proto/language/v1beta2/language_service_pb2_grpc.py
landrito/api-client-staging
140c312c9335af160efce5b37842c995308e0148
[ "BSD-3-Clause" ]
37
2016-09-19T21:13:16.000Z
2022-01-29T19:36:07.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from grpc.framework.common import cardinality from grpc.framework.interfaces.face import utilities as face_utilities import google.cloud.proto.language.v1beta2.language_service_pb2 as google_dot_cloud_dot_proto_dot_language_dot_v1beta2_d...
55.608
158
0.812401
764
6,951
6.905759
0.16623
0.087566
0.075057
0.067665
0.717589
0.698825
0.685368
0.649356
0.59439
0.59439
0
0.013173
0.126313
6,951
124
159
56.056452
0.85559
0.133362
0
0.240964
1
0
0.112576
0.064233
0
0
0
0
0
1
0.084337
false
0
0.048193
0
0.156627
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
b64af2bfa3605d2d1bcb69924c8ed0043f59b882
705
py
Python
pontoon/translate/tests/test_views.py
nanopony/pontoon
ebd342922d04df2dfbbce23ac5a15ee1e71d50fe
[ "BSD-3-Clause" ]
1
2018-12-24T11:15:35.000Z
2018-12-24T11:15:35.000Z
pontoon/translate/tests/test_views.py
nanopony/pontoon
ebd342922d04df2dfbbce23ac5a15ee1e71d50fe
[ "BSD-3-Clause" ]
1
2018-08-03T12:02:41.000Z
2018-08-03T12:02:41.000Z
pontoon/translate/tests/test_views.py
nanopony/pontoon
ebd342922d04df2dfbbce23ac5a15ee1e71d50fe
[ "BSD-3-Clause" ]
null
null
null
import pytest from django.urls import reverse from waffle.testutils import override_switch @pytest.mark.django_db def test_translate_behind_switch(client): url = reverse('pontoon.translate.next') response = client.get(url) assert response.status_code == 404 with override_switch('translate_next', a...
25.178571
56
0.726241
89
705
5.58427
0.370787
0.130785
0.102616
0.120724
0.724346
0.724346
0.579477
0.442656
0.354125
0.354125
0
0.015544
0.178723
705
27
57
26.111111
0.842832
0
0
0.611111
0
0
0.121986
0.062411
0
0
0
0
0.222222
1
0.111111
false
0
0.166667
0
0.277778
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