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
e2bfcef93fc96b8dc91446c56c75aa9e0e7b89e2
5,253
py
Python
hw12/myscript.py
ranstotz/ece_3822
0fad15070f9047a9eccdab9178e4a38cfc148987
[ "MIT" ]
null
null
null
hw12/myscript.py
ranstotz/ece_3822
0fad15070f9047a9eccdab9178e4a38cfc148987
[ "MIT" ]
null
null
null
hw12/myscript.py
ranstotz/ece_3822
0fad15070f9047a9eccdab9178e4a38cfc148987
[ "MIT" ]
null
null
null
#!/usr/bin/env python # import required modules: # import os import sys import string import random from random import shuffle from pathlib2 import Path import linecache import time # This class shuffles songs without repeating and keeps track of where # it left off. See '-help' option for more details. # class shuff...
30.540698
241
0.524843
575
5,253
4.756522
0.321739
0.014625
0.016453
0.016088
0.050457
0.050457
0.050457
0.050457
0.050457
0.050457
0
0.003532
0.407196
5,253
171
242
30.719298
0.874759
0.312393
0
0.171875
0
0.03125
0.169539
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.171875
0
0
0
null
0
0
0
0
0
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
e2c75223c441e931f761b5c72b816629ae0fb22c
656
py
Python
mbrl-tools/tests/small_acrobot/submissions/dummy_kit/generative_regressor.py
ramp-kits/rl_simulator
c651904b890c7e97cbb29ffae82e00a76788c88c
[ "BSD-3-Clause" ]
11
2021-03-24T08:57:58.000Z
2022-03-23T14:25:17.000Z
mbrl-tools/tests/small_acrobot/submissions/dummy_kit/generative_regressor.py
ramp-kits/rl_simulator
c651904b890c7e97cbb29ffae82e00a76788c88c
[ "BSD-3-Clause" ]
1
2020-10-23T17:13:57.000Z
2021-03-23T17:46:24.000Z
mbrl-tools/tests/small_acrobot/submissions/dummy_kit/generative_regressor.py
ramp-kits/rl_simulator
c651904b890c7e97cbb29ffae82e00a76788c88c
[ "BSD-3-Clause" ]
1
2021-06-17T01:18:31.000Z
2021-06-17T01:18:31.000Z
import numpy as np from rampwf.utils import BaseGenerativeRegressor class GenerativeRegressor(BaseGenerativeRegressor): def __init__(self, max_dists, target_dim): self.decomposition = 'autoregressive' def fit(self, X_array, y_array): pass def predict(self, X_array): # constant p...
28.521739
60
0.655488
83
656
5
0.60241
0.077108
0.06506
0
0
0
0
0
0
0
0
0.018109
0.242378
656
22
61
29.818182
0.816901
0.064024
0
0
0
0
0.029412
0
0
0
0
0
0
1
0.2
false
0.066667
0.133333
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
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
e2c7ac772ba67bc802ebf29dae748fc6d17103e6
29,982
py
Python
fluxcompensator/image.py
koepferl/FluxCompensator
751cac08971845069da8c962bc83459f091ba0f8
[ "BSD-2-Clause" ]
9
2017-06-22T15:29:01.000Z
2021-03-24T11:55:41.000Z
fluxcompensator/image.py
koepferl/FluxCompensator
751cac08971845069da8c962bc83459f091ba0f8
[ "BSD-2-Clause" ]
1
2020-06-16T21:01:51.000Z
2020-06-16T21:01:51.000Z
fluxcompensator/image.py
koepferl/FluxCompensator
751cac08971845069da8c962bc83459f091ba0f8
[ "BSD-2-Clause" ]
5
2017-06-22T14:57:24.000Z
2020-06-14T16:46:44.000Z
from copy import deepcopy import os ROOT = os.path.dirname(os.path.abspath(__file__)) + '/' import numpy as np from numpy.random import normal from astropy import log as logger from astropy.io import fits from astropy.wcs import WCS from .psf import GaussianPSF, FilePSF, FunctionPSF from .utils.plot import MakePlots...
33.9547
175
0.550797
3,702
29,982
4.336845
0.132631
0.026783
0.011336
0.003986
0.285332
0.233074
0.189038
0.17085
0.143071
0.122641
0
0.011867
0.347942
29,982
882
176
33.993197
0.809361
0.069008
0
0.227723
0
0.006601
0.115414
0.006527
0
0
0
0
0
0
null
null
0
0.052805
null
null
0.009901
0
0
0
null
0
0
0
0
0
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
e2c813723c1876d28ad71bddb2cb82d4afe3cc1c
435
py
Python
generator.py
madkira/SCXML_to_FSM_for_Arduino
2e2443eca70ff6d5a8b8ac8c32b0c7e1d4440201
[ "MIT" ]
1
2020-05-13T23:03:19.000Z
2020-05-13T23:03:19.000Z
generator.py
madkira/SCXML_to_FSM_for_Arduino
2e2443eca70ff6d5a8b8ac8c32b0c7e1d4440201
[ "MIT" ]
null
null
null
generator.py
madkira/SCXML_to_FSM_for_Arduino
2e2443eca70ff6d5a8b8ac8c32b0c7e1d4440201
[ "MIT" ]
1
2019-01-20T12:46:37.000Z
2019-01-20T12:46:37.000Z
#!/usr/bin/python import argparse from src.SCXML_Parser.Scxml_parsor import Scxml_parsor from src.arduino_helper.generate_fsm import generate_fsm parser = argparse.ArgumentParser() parser.add_argument('-f', action='store', dest='file', type=str, required=False, default="fsm.xml") inargs = parser.parse_args() print ...
22.894737
99
0.77931
62
435
5.306452
0.596774
0.100304
0.103343
0
0
0
0
0
0
0
0
0
0.096552
435
19
100
22.894737
0.83715
0.036782
0
0
1
0
0.140811
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e2c87ee36a16287beb7f717f937785ecfe37b5d0
769
py
Python
data/external/repositories/145085/kaggle_Microsoft_Malware-master/kaggle_Microsoft_malware_full/rebuild_code.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
1
2015-11-08T05:19:43.000Z
2015-11-08T05:19:43.000Z
microsoft malware/Malware_Say_No_To_Overfitting/kaggle_Microsoft_malware_small/rebuild_code.py
bikash/kaggleCompetition
c168f5a713305f6cf6ef41db60d8b1f4cdceb2b1
[ "Apache-2.0" ]
null
null
null
microsoft malware/Malware_Say_No_To_Overfitting/kaggle_Microsoft_malware_small/rebuild_code.py
bikash/kaggleCompetition
c168f5a713305f6cf6ef41db60d8b1f4cdceb2b1
[ "Apache-2.0" ]
1
2019-12-04T08:23:33.000Z
2019-12-04T08:23:33.000Z
import os,array import pickle import numpy as np import sys xid=pickle.load(open(sys.argv[1])) asm_code_path=sys.argv[2] train_or_test=asm_code_path.split('_')[-1] X = np.zeros((len(xid),2000)) for cc,i in enumerate(xid): f=open(asm_code_path+'/'+i+'.asm') ln = os.path.getsize(asm_code_path+'/'+i+'.asm') # len...
29.576923
78
0.63329
138
769
3.42029
0.492754
0.059322
0.09322
0.050847
0.063559
0
0
0
0
0
0
0.047988
0.159948
769
25
79
30.76
0.682663
0.243173
0
0
0
0
0.036649
0
0
0
0
0
0
0
null
null
0
0.190476
null
null
0.047619
0
0
0
null
0
0
0
0
0
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
e2cd02aade65d0b6969f2b1d510da3c44e2f7198
563
py
Python
rabbitmq/python/topic_producer.py
alovn/tutorials
84f9c5fc563e042eeff9ffa4bce4eaae0fcc6e9a
[ "MIT" ]
7
2019-12-20T12:37:37.000Z
2021-12-15T08:42:10.000Z
rabbitmq/python/topic_producer.py
alovn/tutorials
84f9c5fc563e042eeff9ffa4bce4eaae0fcc6e9a
[ "MIT" ]
null
null
null
rabbitmq/python/topic_producer.py
alovn/tutorials
84f9c5fc563e042eeff9ffa4bce4eaae0fcc6e9a
[ "MIT" ]
1
2021-12-15T08:44:55.000Z
2021-12-15T08:44:55.000Z
# encoding:utf-8 import pika import time credentials = pika.PlainCredentials('guest', 'guest') connection = pika.BlockingConnection(pika.ConnectionParameters( host='s1004.lab.org', port=5672, virtual_host='/', credentials=credentials)) channel = connection.channel() channel.exchange_declare(exchange='...
24.478261
63
0.680284
61
563
6.180328
0.639344
0.071618
0.090186
0
0
0
0
0
0
0
0
0.019523
0.181172
563
23
64
24.478261
0.798265
0.024867
0
0
0
0
0.162409
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e2cd268e8522aa01fa610bfaf6b0ddd0d937eb64
295
py
Python
settings_default.py
iticus/photomap
46ce664412bd44d5bcd6292b04191cacbee7c446
[ "MIT" ]
null
null
null
settings_default.py
iticus/photomap
46ce664412bd44d5bcd6292b04191cacbee7c446
[ "MIT" ]
2
2015-11-19T21:37:01.000Z
2015-11-25T22:37:45.000Z
settings_default.py
iticus/photomap
46ce664412bd44d5bcd6292b04191cacbee7c446
[ "MIT" ]
null
null
null
""" Created on Nov 1, 2015 @author: ionut """ import logging DEBUG = False LOG_LEVEL = logging.INFO DSN = "dbname=photomap user=postgres password=pwd host=127.0.0.1 port=5432" TEMPLATE_PATH = "templates" STATIC_PATH = "static" MEDIA_PATH = "/home/ionut/nginx/media" SECRET = "some_secret"
15.526316
75
0.725424
44
295
4.75
0.795455
0
0
0
0
0
0
0
0
0
0
0.059289
0.142373
295
18
76
16.388889
0.766798
0.128814
0
0
0
0.125
0.465863
0.092369
0
0
0
0
0
1
0
false
0.125
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e2cfc3393806f7bb4f40dc3f9cc091f1aa70db37
387
py
Python
exercicios/ex 061 a 070/ex063.py
CarlosWillian/python
f863578245fbf402e5b46f844a247355afed0d62
[ "MIT" ]
null
null
null
exercicios/ex 061 a 070/ex063.py
CarlosWillian/python
f863578245fbf402e5b46f844a247355afed0d62
[ "MIT" ]
null
null
null
exercicios/ex 061 a 070/ex063.py
CarlosWillian/python
f863578245fbf402e5b46f844a247355afed0d62
[ "MIT" ]
null
null
null
print('Sequência de Fibonacci') print('='*24) t = int(input('Número de termos da sequência: ')) print('='*24) c = 3 termo1 = 0 termo2 = 1 print('A sequência é ({}, {}, '.format(termo1, termo2), end='') while c <= t: termo3 = termo1 + termo2 print('{}'.format(termo3), end='') print(', ' if c < t else '', end...
22.764706
63
0.563307
53
387
4.113208
0.471698
0.165138
0
0
0
0
0
0
0
0
0
0.066007
0.217054
387
16
64
24.1875
0.653465
0
0
0.125
0
0
0.21447
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4375
0
0
0
null
0
0
0
0
0
0
0
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
e2d0873043c167f2f68be47cd5ad16d9ad3d23a9
469
py
Python
myadsp/emails.py
kelockhart/myADSPipeline
21c453a6d7c35d7ce019a71854010fb80b1bc56f
[ "MIT" ]
null
null
null
myadsp/emails.py
kelockhart/myADSPipeline
21c453a6d7c35d7ce019a71854010fb80b1bc56f
[ "MIT" ]
null
null
null
myadsp/emails.py
kelockhart/myADSPipeline
21c453a6d7c35d7ce019a71854010fb80b1bc56f
[ "MIT" ]
null
null
null
"""email templates""" from builtins import object class Email(object): """ Data structure that contains email content data """ msg_plain = '' msg_html = '' subject = u'' salt = '' class myADSTemplate(Email): """ myADS email template """ msg_plain = """ SAO/NASA AD...
18.038462
65
0.575693
47
469
5.659574
0.617021
0.06015
0
0
0
0
0
0
0
0
0
0
0.298507
469
25
66
18.76
0.808511
0.179104
0
0
0
0
0.358166
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
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
e2d1181ba43764099ea9ef3959a87a0948ac70c3
2,645
py
Python
ext/app/decorators.py
FNLF/fnlf-backend
060d675d7cf8d0eff46af6eb4be7035b8cd68d36
[ "MIT" ]
1
2015-01-14T22:08:27.000Z
2015-01-14T22:08:27.000Z
ext/app/decorators.py
FNLF/fnlf-backend
060d675d7cf8d0eff46af6eb4be7035b8cd68d36
[ "MIT" ]
103
2015-01-08T13:45:38.000Z
2022-01-13T00:38:39.000Z
ext/app/decorators.py
FNLF/fnlf-backend
060d675d7cf8d0eff46af6eb4be7035b8cd68d36
[ "MIT" ]
null
null
null
""" Custom decorators ================= Custom decorators for various tasks and to bridge Flask with Eve """ from flask import current_app as app, request, Response, abort from functools import wraps from ext.auth.tokenauth import TokenAuth from ext.auth.helpers import Helpers # Because of circu...
30.402299
105
0.579206
288
2,645
5.239583
0.423611
0.021206
0.014579
0.033135
0.111332
0.111332
0.111332
0.111332
0.05169
0
0
0.008552
0.336862
2,645
86
106
30.755814
0.851767
0.270699
0
0.45
0
0
0.056009
0
0
0
0
0.023256
0
1
0.15
false
0
0.125
0
0.475
0
0
0
0
null
0
0
0
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
e2e63f122a8263e057c7c5f1b88e244fdf783447
5,948
py
Python
test_action40.py
gmayday1997/pytorch_CAM
c51a0c7f7701005b8f031ed9a0f9b3b9680cf560
[ "MIT" ]
23
2018-02-13T00:50:11.000Z
2021-02-04T01:49:34.000Z
test_action40.py
gmayday1997/pytorch-CAM
c51a0c7f7701005b8f031ed9a0f9b3b9680cf560
[ "MIT" ]
null
null
null
test_action40.py
gmayday1997/pytorch-CAM
c51a0c7f7701005b8f031ed9a0f9b3b9680cf560
[ "MIT" ]
5
2017-12-19T10:48:22.000Z
2021-02-04T01:49:35.000Z
import os import numpy as np import torch import torch.nn as nn import torchvision import torch.utils.data as Data import torchvision.transforms as transforms import torchvision.datasets as datasets from torch.autograd import Variable from torch.nn import functional as F from action40_config import config import vgg16_...
33.41573
102
0.643746
809
5,948
4.538937
0.283066
0.039216
0.01634
0.03268
0.206427
0.206427
0.165033
0.130719
0.130719
0.097495
0
0.033319
0.212845
5,948
177
103
33.60452
0.750961
0.069771
0
0.135338
0
0.007519
0.042647
0.008824
0
0
0
0
0
0
null
null
0
0.157895
null
null
0.022556
0
0
0
null
0
0
0
0
0
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
e2f1d37bd8721b99e8bd17fdefb5d3f548a12c16
538
py
Python
retuo.py
Azi-Dahaka/-
8d47d8e18a4b4fcfee4d2649c8efa819d4cd357e
[ "MIT" ]
1
2021-11-25T03:28:30.000Z
2021-11-25T03:28:30.000Z
retuo.py
Azi-Dahaka/-
8d47d8e18a4b4fcfee4d2649c8efa819d4cd357e
[ "MIT" ]
null
null
null
retuo.py
Azi-Dahaka/-
8d47d8e18a4b4fcfee4d2649c8efa819d4cd357e
[ "MIT" ]
2
2021-09-06T07:41:48.000Z
2021-11-25T09:28:07.000Z
# -*- coding:utf-8 -*- # 1.导入拓展 from flask import Flask from flask_restful import Api import config from app.api.view.auth import wx_login from app.api.view.talk import Reply # 2.创建flask应用实例,__name__用来确定资源所在的路径 app = Flask(__name__) app.config.from_object(config.DevelopmentConfig) api = Api(app) # 3.定义全局变量 # 4.定义路由和视...
20.692308
72
0.749071
86
538
4.360465
0.476744
0.048
0.053333
0.074667
0
0
0
0
0
0
0
0.012579
0.113383
538
25
73
21.52
0.773585
0.19145
0
0
0
0
0.091335
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e2f2a441790ca7a9000ae20c712a0f4467b4c1c4
1,334
py
Python
Modulos/ProvasPassadas/aux_scraping.py
gabrielfava/asap
be6211190d4acfca7aacef45d7dc467e2237496d
[ "Apache-2.0" ]
2
2018-03-16T19:24:35.000Z
2018-03-20T01:15:21.000Z
Modulos/ProvasPassadas/aux_scraping.py
jvalv/asaPY
97cdc9359d8afeb9747f4372b253b179131d2be4
[ "Apache-2.0" ]
1
2018-02-24T23:43:15.000Z
2018-02-24T23:43:15.000Z
Modulos/ProvasPassadas/aux_scraping.py
gabrielfava/asapy
be6211190d4acfca7aacef45d7dc467e2237496d
[ "Apache-2.0" ]
1
2018-02-28T14:45:52.000Z
2018-02-28T14:45:52.000Z
#ASAPY import requests __URL_GLOBAL = "https://www.urionlinejudge.com.br"; def printme(pagina): body = getCorpo(__URL_GLOBAL+"/judge/pt/problems/view/"+pagina); iInicio = find_str(body, "<iframe"); pos = (body[iInicio:]); iFim = find_str(pos, ">")+1; tupla = pos[:iFim]; page2 = getAttr(tupl...
27.22449
90
0.586957
167
1,334
4.60479
0.491018
0.045514
0.044213
0
0
0
0
0
0
0
0
0.019648
0.275112
1,334
49
90
27.22449
0.775595
0.196402
0
0
0
0
0.075564
0.023553
0
0
0
0.020408
0
1
0.121212
false
0
0.030303
0
0.30303
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e2f315499e462d747fce1af2b55052eeb6910f0b
2,911
py
Python
toontown/safezone/DistributedButterflyAI.py
TrueBlueDogemon/Toontown
ebed7fc3f2ef06a529cf02eda7ab46361aceef9d
[ "MIT" ]
1
2021-02-25T06:22:49.000Z
2021-02-25T06:22:49.000Z
toontown/safezone/DistributedButterflyAI.py
TrueBlueDogemon/Toontown
ebed7fc3f2ef06a529cf02eda7ab46361aceef9d
[ "MIT" ]
null
null
null
toontown/safezone/DistributedButterflyAI.py
TrueBlueDogemon/Toontown
ebed7fc3f2ef06a529cf02eda7ab46361aceef9d
[ "MIT" ]
2
2020-11-08T03:38:35.000Z
2021-09-02T07:03:47.000Z
from direct.directnotify import DirectNotifyGlobal from direct.distributed.DistributedObjectAI import DistributedObjectAI from direct.distributed.ClockDelta import * import ButterflyGlobals import random class DistributedButterflyAI(DistributedObjectAI): notify = DirectNotifyGlobal.directNotify.newCategory("Distri...
41
159
0.684988
300
2,911
6.55
0.206667
0.071247
0.082443
0.094656
0.32112
0.263613
0.23715
0.151654
0.066158
0.066158
0
0.006536
0.211611
2,911
70
160
41.585714
0.849673
0
0
0
0
0
0.027835
0.00756
0
0
0
0
0
1
0.240741
false
0.018519
0.092593
0.037037
0.407407
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e2f4dd0ee18ce021318531b4d9a81e9c00ac0a21
1,637
py
Python
proj01_ifelse/proj01.py
CalvinsHyper/Vanderbilt-2018
fa67c1f08f5d29bac4bd7747ec4a9110e5b3de00
[ "MIT" ]
null
null
null
proj01_ifelse/proj01.py
CalvinsHyper/Vanderbilt-2018
fa67c1f08f5d29bac4bd7747ec4a9110e5b3de00
[ "MIT" ]
null
null
null
proj01_ifelse/proj01.py
CalvinsHyper/Vanderbilt-2018
fa67c1f08f5d29bac4bd7747ec4a9110e5b3de00
[ "MIT" ]
null
null
null
# Name: # Date: # proj01: A Simple Program # Part I: # This program asks the user for his/her name and grade. #Then, it prints out a sentence that says the number of years until they graduate. print "Hello" Your_Name = raw_input("What's your name?") print "Your name is "+ Your_Name Your_Grade = raw_input("What Grade ...
29.232143
89
0.718998
291
1,637
3.934708
0.292096
0.048908
0.057642
0.052402
0.372926
0.339738
0.282969
0.132751
0.132751
0.132751
0
0.010479
0.183873
1,637
55
90
29.763636
0.846557
0.242517
0
0.064516
0
0
0.421657
0
0
0
0
0
0
0
null
null
0
0
null
null
0.387097
0
0
0
null
0
0
0
0
0
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
3900f50cc35a91f1b2e65d295de22b272d80a5f7
802
py
Python
quizzes/mixins.py
NeedsSoySauce/testme
dfc11737779809c1df475e9224e753ca7117c981
[ "MIT" ]
1
2020-11-22T22:38:02.000Z
2020-11-22T22:38:02.000Z
quizzes/mixins.py
NeedsSoySauce/testme
dfc11737779809c1df475e9224e753ca7117c981
[ "MIT" ]
3
2021-06-04T23:59:02.000Z
2021-09-22T19:39:14.000Z
quizzes/mixins.py
NeedsSoySauce/testme
dfc11737779809c1df475e9224e753ca7117c981
[ "MIT" ]
null
null
null
from rest_framework.mixins import CreateModelMixin from rest_framework.viewsets import GenericViewSet class CreateUserLinkedModelMixin(CreateModelMixin, GenericViewSet): """ Set the user related to an object being created to the user who made the request. Usage: Override the class and set the `.q...
34.869565
118
0.714464
104
802
5.394231
0.509615
0.064171
0.060606
0
0
0
0
0
0
0
0
0
0.216958
802
22
119
36.454545
0.893312
0.435162
0
0
0
0
0.016627
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3909cb5cbf3d27aacd9d499216668e13a1241a5e
3,779
py
Python
serial/splitter.py
tf-czu/gyrorad
eb1c30a9715857a50631de170cecb443457c2752
[ "MIT" ]
null
null
null
serial/splitter.py
tf-czu/gyrorad
eb1c30a9715857a50631de170cecb443457c2752
[ "MIT" ]
null
null
null
serial/splitter.py
tf-czu/gyrorad
eb1c30a9715857a50631de170cecb443457c2752
[ "MIT" ]
null
null
null
#!/usr/bin/python """ Split logged data into separate "channels" usage: ./splitter.py <log file> <GPS|0..3|all> """ import sys FIRST_LINE = "id,timeMs,accX,accY,accZ,temp,gyroX,gyroY,gyroZ\n" GPS_SEPARATOR_BEGIN = chr(0x2) GPS_SEPARATOR_END = chr(0x3) def checksum( s ): sum = 0 for ch in s: ...
32.299145
106
0.493781
482
3,779
3.784232
0.248963
0.085526
0.074561
0.080592
0.195724
0.195724
0.195724
0.129386
0.097039
0.097039
0
0.035614
0.338714
3,779
116
107
32.577586
0.694278
0.025668
0
0.076087
0
0
0.044283
0.013733
0
0
0.001682
0
0.01087
0
null
null
0
0.01087
null
null
0.065217
0
0
0
null
0
0
0
0
0
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
3909f60bd9bc4dcad09d01754d26fbed50773848
11,267
py
Python
main.py
opengovt/openroads-geostore
336bdc352252ae34a66746e632ae0b8df66c04c0
[ "MIT" ]
1
2019-10-11T14:43:53.000Z
2019-10-11T14:43:53.000Z
main.py
opengovt/openroads-geostore
336bdc352252ae34a66746e632ae0b8df66c04c0
[ "MIT" ]
null
null
null
main.py
opengovt/openroads-geostore
336bdc352252ae34a66746e632ae0b8df66c04c0
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import jinja2 import webapp2 import logging import threading from mandrill_email import * from webapp2_extras import routes from cookie import * from settings import * from decorators import * from functions import * from google.appengine.api import taskqueue from google.ap...
50.075556
84
0.730097
1,028
11,267
7.978599
0.234436
0.112655
0.165447
0.14338
0.189344
0.169349
0.070105
0.060107
0.049256
0.049256
0
0.013543
0.148043
11,267
224
85
50.299107
0.840921
0.016065
0
0.045
0
0
0.132256
0.062291
0
0
0
0
0
1
0.005
false
0.01
0.375
0
0.385
0
0
0
0
null
0
0
0
0
0
0
0
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
390e452dfc5d623666ee9a6aa2a605d724a0f630
585
py
Python
pylib/mps/util/push_util.py
xkmato/py77
9c44d8f8924f47a7331c29fd0287a4bb9416d316
[ "MIT" ]
null
null
null
pylib/mps/util/push_util.py
xkmato/py77
9c44d8f8924f47a7331c29fd0287a4bb9416d316
[ "MIT" ]
null
null
null
pylib/mps/util/push_util.py
xkmato/py77
9c44d8f8924f47a7331c29fd0287a4bb9416d316
[ "MIT" ]
2
2018-07-16T19:14:11.000Z
2020-10-15T08:48:32.000Z
#!/usr/bin/env python """ A variety of push utility functions """ from pylib.util.git_util import GitUtil __author__ = 'edelman@room77.com (Nicholas Edelman)' __copyright__ = 'Copyright 2013 Room77, Inc.' class PushUtil(object): @classmethod def get_deployspec_name(cls, cluster_name): """given a cluster re...
24.375
65
0.716239
75
585
5.373333
0.613333
0.104218
0.099256
0.119107
0
0
0
0
0
0
0
0.016771
0.184615
585
23
66
25.434783
0.828092
0.418803
0
0
0
0
0.228477
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
390ea59316bebdcf2ee6aecf82c4ccdade1f6444
1,899
py
Python
shardingpy/parsing/lexer/dialect/mysql.py
hongfuli/sharding-py
a26a64aa9d9196c830e7e2fa4095a58bef608a40
[ "Apache-2.0" ]
1
2021-01-29T13:29:29.000Z
2021-01-29T13:29:29.000Z
shardingpy/parsing/lexer/dialect/mysql.py
hongfuli/sharding-py
a26a64aa9d9196c830e7e2fa4095a58bef608a40
[ "Apache-2.0" ]
null
null
null
shardingpy/parsing/lexer/dialect/mysql.py
hongfuli/sharding-py
a26a64aa9d9196c830e7e2fa4095a58bef608a40
[ "Apache-2.0" ]
null
null
null
import enum from shardingpy.parsing.lexer import lexer from shardingpy.parsing.lexer import token class MySQLKeyword(enum.IntEnum): SHOW = 1 DUAL = 2 LIMIT = 3 OFFSET = 4 VALUE = 5 BEGIN = 6 FORCE = 7 PARTITION = 8 DISTINCTROW = 9 KILL = 10 QUICK = 11 BINARY = 12 C...
20.868132
118
0.61664
251
1,899
4.434263
0.697211
0.031447
0.062893
0.080863
0.186882
0.091644
0.091644
0.091644
0
0
0
0.09856
0.305424
1,899
90
119
21.1
0.745262
0
0
0
0
0
0.002633
0
0
0
0
0
0
1
0.049383
false
0
0.049383
0.037037
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
391a5ba570f3e424763ecfe5d6242c832be51961
575
py
Python
app/jwt.py
smolveau/Simple-Flask-Web-App-CI-CD
99d0459cbcbbc8726968d7d191226fbdab46445e
[ "MIT" ]
null
null
null
app/jwt.py
smolveau/Simple-Flask-Web-App-CI-CD
99d0459cbcbbc8726968d7d191226fbdab46445e
[ "MIT" ]
null
null
null
app/jwt.py
smolveau/Simple-Flask-Web-App-CI-CD
99d0459cbcbbc8726968d7d191226fbdab46445e
[ "MIT" ]
null
null
null
# app/jwt.py from os import environ as env from itsdangerous import ( TimedJSONWebSignatureSerializer as Serializer, BadSignature, SignatureExpired, ) def generate_jwt(claims, expiration=172800): s = Serializer(env.get("SECRET_KEY"), expires_in=expiration) return s.dumps(claims).decode("utf-8") ...
23
64
0.692174
72
575
5.458333
0.555556
0.05598
0.071247
0.086514
0.259542
0.259542
0
0
0
0
0
0.015351
0.206957
575
24
65
23.958333
0.846491
0.017391
0
0.111111
1
0
0.044405
0
0
0
0
0
0
1
0.111111
false
0
0.111111
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
3922a73eca65de4ee19b6e71f0f70623869553df
238
py
Python
examples/client-context/client.py
barberj/bridge-python
1c33df5fa1d92ac6c54bbb6d868c71e1f883e8fe
[ "MIT" ]
null
null
null
examples/client-context/client.py
barberj/bridge-python
1c33df5fa1d92ac6c54bbb6d868c71e1f883e8fe
[ "MIT" ]
null
null
null
examples/client-context/client.py
barberj/bridge-python
1c33df5fa1d92ac6c54bbb6d868c71e1f883e8fe
[ "MIT" ]
null
null
null
from BridgePython import Bridge bridge = Bridge(api_key='myapikey') class PongHandler(object): def pong(self): print ("PONG!") bridge.store_service("pong", PongHandler()) bridge.get_service("ping").ping() bridge.connect()
18.307692
43
0.710084
29
238
5.724138
0.655172
0.144578
0
0
0
0
0
0
0
0
0
0
0.138655
238
12
44
19.833333
0.809756
0
0
0
0
0
0.088608
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0.125
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
392cf46d90da25ce8a11ce807453e2474844bf87
867
py
Python
visitors/models.py
maxhamz/prieds_test_hospital_queue_be
44529f65dcd167caa48c84926e118d86a7d38b92
[ "MIT" ]
null
null
null
visitors/models.py
maxhamz/prieds_test_hospital_queue_be
44529f65dcd167caa48c84926e118d86a7d38b92
[ "MIT" ]
null
null
null
visitors/models.py
maxhamz/prieds_test_hospital_queue_be
44529f65dcd167caa48c84926e118d86a7d38b92
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Visitor(models.Model): MALE = 'M' FEMALE = 'F' OTHER = 'X' GENDER_OPTIONS = [ (MALE, 'Male'), (FEMALE, 'Female'), (OTHER, 'Other') ] dtRegistered = models.DateTimeField(auto_now_add=True) strFullName = m...
32.111111
70
0.573241
92
867
5.282609
0.565217
0.074074
0.111111
0.148148
0
0
0
0
0
0
0
0.011885
0.320646
867
27
71
32.111111
0.813243
0.069204
0
0
0
0
0.048507
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
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
392daab33fb8dcb9b0b5a07380a98a73e1208a33
1,751
py
Python
muchbettermoments.py
mirca/muchbettermoments
8cc2bf18ff52abf86151a12358434691bea0857d
[ "MIT" ]
1
2019-07-01T18:25:35.000Z
2019-07-01T18:25:35.000Z
muchbettermoments.py
mirca/muchbettermoments
8cc2bf18ff52abf86151a12358434691bea0857d
[ "MIT" ]
null
null
null
muchbettermoments.py
mirca/muchbettermoments
8cc2bf18ff52abf86151a12358434691bea0857d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import division, print_function __all__ = ["quadratic_2d"] import numpy as np def quadratic_2d(data): """ Compute the quadratic estimate of the centroid in a 2d-array. Args: data (2darray): two dimensional data array Returns center (tuple): c...
37.255319
82
0.503141
332
1,751
2.46988
0.322289
0.043902
0.040244
0.029268
0.168293
0.168293
0.163415
0.130488
0.120732
0.120732
0
0.103843
0.301542
1,751
46
83
38.065217
0.566639
0.368361
0
0
0
0
0.011299
0
0
0
0
0.021739
0
1
0.043478
false
0
0.086957
0
0.217391
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
1
0
0
0
0
0
0
0
0
0
0
1
392e0fa49127c7455cbbc085060a98c4b07b4219
600
py
Python
mmdetection_pipeline/tests/mmdet_test.py
KonstantinSviridov/mmdetection_pipeline
7e17c4bb48af28713d018e087907f7295ef68d7e
[ "MIT" ]
null
null
null
mmdetection_pipeline/tests/mmdet_test.py
KonstantinSviridov/mmdetection_pipeline
7e17c4bb48af28713d018e087907f7295ef68d7e
[ "MIT" ]
2
2019-12-13T04:40:34.000Z
2019-12-13T04:41:19.000Z
mmdetection_pipeline/tests/mmdet_test.py
musket-ml/instance_segmentation_pipeline
7e17c4bb48af28713d018e087907f7295ef68d7e
[ "MIT" ]
null
null
null
import unittest from musket_core import projects from musket_core import parralel import os fl=__file__ fl=os.path.dirname(fl) class TestCoders(unittest.TestCase): def test_basic_network(self): pr = projects.Project(os.path.join(fl, "project")) exp = pr.byName("exp01") tasks = exp.fit() ...
28.571429
75
0.663333
79
600
4.924051
0.582278
0.051414
0.071979
0.102828
0
0
0
0
0
0
0
0.010823
0.23
600
21
76
28.571429
0.831169
0
0
0
0
0
0.113145
0
0
0
0
0
0.111111
1
0.055556
false
0.055556
0.222222
0
0.333333
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
392e81963b0ccd94345db1a8d6229e0ef20fd753
3,038
py
Python
Paleo_DB_Rip.py
matt-oak/DinoFinder
8a66c6da77dae01b6083155d724479e02abb8440
[ "MIT" ]
null
null
null
Paleo_DB_Rip.py
matt-oak/DinoFinder
8a66c6da77dae01b6083155d724479e02abb8440
[ "MIT" ]
null
null
null
Paleo_DB_Rip.py
matt-oak/DinoFinder
8a66c6da77dae01b6083155d724479e02abb8440
[ "MIT" ]
null
null
null
#Paleo_DB_Rip.py #Python script to programmatically web-scrape from paleobiodb.org #Author: Matt Oakley #Date: 08/15/2016 # Imports # from bs4 import BeautifulSoup from time import sleep from geopy.geocoders import Nominatim import urllib2 import pycountry import wget import sys import os.path import codecs # Globals...
28.392523
93
0.737986
433
3,038
5.013857
0.325635
0.025795
0.017964
0.0152
0.098572
0.042377
0
0
0
0
0
0.008908
0.150099
3,038
107
94
28.392523
0.831913
0.181369
0
0.102564
0
0
0.077297
0
0
0
0
0
0
0
null
null
0.012821
0.115385
null
null
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3932406768d964a4c7968afb2b7511f4c0d4b671
2,569
py
Python
apps/events/views.py
seanlefevre/openduty
34ab21117f114ccc808d8b0aa2cb801c819bdb86
[ "MIT" ]
145
2016-04-11T06:53:13.000Z
2022-03-22T05:15:49.000Z
apps/events/views.py
seanlefevre/openduty
34ab21117f114ccc808d8b0aa2cb801c819bdb86
[ "MIT" ]
78
2017-09-24T10:59:49.000Z
2022-02-12T07:36:27.000Z
apps/events/views.py
seanlefevre/openduty
34ab21117f114ccc808d8b0aa2cb801c819bdb86
[ "MIT" ]
30
2016-04-11T06:53:16.000Z
2021-12-29T11:39:26.000Z
from django.views.generic import DeleteView from django.contrib.auth.mixins import LoginRequiredMixin from django.contrib import messages from django.urls import reverse from django.http import HttpResponseRedirect from django.shortcuts import get_object_or_404 from schedule.models import Calendar from schedule.views i...
36.183099
99
0.695601
272
2,569
6.386029
0.224265
0.075993
0.048359
0.072539
0.563615
0.549223
0.549223
0.549223
0.52677
0.473805
0
0.005888
0.206695
2,569
70
100
36.7
0.846418
0.004671
0
0.438596
0
0
0.110153
0
0
0
0
0
0
1
0.105263
false
0
0.157895
0.017544
0.508772
0
0
0
0
null
0
0
0
0
0
0
0
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
39374b6e345f46dad950a9f9736af1abd9167fd0
2,055
py
Python
examples/experiments_code/amazon_reviews/sentiment_subsampling.py
fossabot/textlytics
d172211316d688604bcd18d3581c3aac26dcc404
[ "MIT" ]
26
2016-12-05T19:37:27.000Z
2021-01-03T21:48:23.000Z
examples/experiments_code/amazon_reviews/sentiment_subsampling.py
fossabot/textlytics
d172211316d688604bcd18d3581c3aac26dcc404
[ "MIT" ]
3
2017-07-15T13:33:18.000Z
2020-09-21T11:39:37.000Z
examples/experiments_code/amazon_reviews/sentiment_subsampling.py
fossabot/textlytics
d172211316d688604bcd18d3581c3aac26dcc404
[ "MIT" ]
14
2017-05-29T22:19:35.000Z
2021-01-03T21:48:24.000Z
import dill import glob import csv import os from os.path import basename, join from joblib import Parallel, delayed domain_path = '/datasets/amazon-data/new-julian/domains' domain_subdirectory = 'only-overall-lemma-and-label-sampling-1-3-5' domain_files = glob.glob(join(domain_path, 'o...
33.688525
83
0.547932
264
2,055
4.079545
0.325758
0.083565
0.016713
0.014856
0.226555
0.122563
0.122563
0.053853
0.053853
0.053853
0
0.017254
0.323114
2,055
61
84
33.688525
0.757009
0
0
0.166667
0
0
0.115759
0.056907
0
0
0
0
0
0
null
null
0
0.125
null
null
0.020833
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
393bd4af7328cb9c5923034c08fd8225175f6552
1,248
py
Python
lattly_tests/converter_tests.py
yfarrugia/lattly
9c8d02ece253d9f61b09d66bc87b097a15970619
[ "BSD-2-Clause" ]
null
null
null
lattly_tests/converter_tests.py
yfarrugia/lattly
9c8d02ece253d9f61b09d66bc87b097a15970619
[ "BSD-2-Clause" ]
null
null
null
lattly_tests/converter_tests.py
yfarrugia/lattly
9c8d02ece253d9f61b09d66bc87b097a15970619
[ "BSD-2-Clause" ]
null
null
null
__author__ = 'yanikafarrugia' import unittest import lattly_service.converter class ConverterTests(unittest.TestCase): def test_degrees_to_radians(self): rad = lattly_service.converter.Converter.degrees_to_radians(120) self.assertEqual(rad, 2.0943951023931953) self.assertIsNotNone(rad) self.assertTrue(rad >...
32
87
0.776442
163
1,248
5.717791
0.325153
0.120172
0.118026
0.133047
0.242489
0.169528
0
0
0
0
0
0.126899
0.103365
1,248
38
88
32.842105
0.705987
0
0
0.066667
0
0
0.017628
0
0
0
0
0
0.466667
1
0.133333
false
0
0.066667
0
0.233333
0
0
0
0
null
0
0
0
0
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
39407878cc72837d87538645a4bdabbbbb973ff4
21,829
py
Python
pydl/tests/test_rnn.py
nash911/PyDL
b0b6f599184c0046f503b9ee1703dc3dfe9a89f2
[ "MIT" ]
null
null
null
pydl/tests/test_rnn.py
nash911/PyDL
b0b6f599184c0046f503b9ee1703dc3dfe9a89f2
[ "MIT" ]
null
null
null
pydl/tests/test_rnn.py
nash911/PyDL
b0b6f599184c0046f503b9ee1703dc3dfe9a89f2
[ "MIT" ]
null
null
null
# ------------------------------------------------------------------------ # MIT License # # Copyright (c) [2021] [Avinash Ranganath] # # This code is part of the library PyDL <https://github.com/nash911/PyDL> # This code is licensed under MIT license (see LICENSE.txt for details) # ------------------------------------...
46.247881
100
0.492922
2,744
21,829
3.712464
0.0707
0.024737
0.03848
0.024737
0.77275
0.728772
0.67969
0.620693
0.586237
0.530676
0
0.017939
0.3871
21,829
471
101
46.346072
0.743479
0.081039
0
0.638021
0
0
0.014795
0
0
0
0
0
0.020833
1
0.015625
false
0
0.020833
0
0.039063
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
3945dcb9dd48db259f43d38679d34c16f4543743
913
py
Python
Joints/Pelvis.py
lcremer/Maya_Rigging
8fe07e5f8d021a6828608bca4bf74e04f023b1cd
[ "Unlicense" ]
null
null
null
Joints/Pelvis.py
lcremer/Maya_Rigging
8fe07e5f8d021a6828608bca4bf74e04f023b1cd
[ "Unlicense" ]
null
null
null
Joints/Pelvis.py
lcremer/Maya_Rigging
8fe07e5f8d021a6828608bca4bf74e04f023b1cd
[ "Unlicense" ]
null
null
null
""" Creates Pelvis """ import maya.cmds as mc from ..Utils import String as String class Pelvis(): def __init__(self, characterName = '', suffix = '', name = 'Pelvis', parent = ''): """ @return: returns end joint """ ...
27.666667
101
0.521358
89
913
5.303371
0.41573
0.127119
0.088983
0.059322
0
0
0
0
0
0
0
0.005137
0.36035
913
33
102
27.666667
0.80137
0.053669
0
0.105263
0
0
0.007585
0
0
0
0
0
0
0
null
null
0
0.105263
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
394feb4118d6e9b0b87ec29bc0be9b581f2100ed
3,193
py
Python
evaluate.py
uw-biomedical-ml/oct-irf-train
ebf8631f96883ec5ed91574201b05818f95c0f7d
[ "BSD-3-Clause" ]
1
2021-07-24T06:44:06.000Z
2021-07-24T06:44:06.000Z
evaluate.py
uw-biomedical-ml/oct-irf-train
ebf8631f96883ec5ed91574201b05818f95c0f7d
[ "BSD-3-Clause" ]
5
2020-09-25T22:35:32.000Z
2022-02-09T23:37:02.000Z
evaluate.py
uw-biomedical-ml/oct-irf-train
ebf8631f96883ec5ed91574201b05818f95c0f7d
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from PIL import Image import sys, glob, tqdm, os import numpy as np from colour import Color def usage(): print("./evaluate.py <imgdir> <outdir> <mode>") print("") print("\timgdir = folder of OCT B scans") print("\toutdir = EMPTY folder to output segmentation masks") print("\t...
29.293578
86
0.61259
486
3,193
3.958848
0.3107
0.012474
0.02079
0.015593
0.342516
0.264033
0.246362
0.219335
0.182952
0.182952
0
0.045982
0.216724
3,193
108
87
29.564815
0.723311
0.025681
0
0.218391
0
0
0.121339
0
0
0
0
0
0
0
null
null
0
0.057471
null
null
0.114943
0
0
0
null
0
0
0
0
0
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
3950e84c703f64f3f48f3a37d0f1cd0486c9f552
29,604
py
Python
interfaz.py
ifigueroa065/Voluntariado
375eab96adc7a95f8204244f942840bdce47c8b5
[ "MIT" ]
null
null
null
interfaz.py
ifigueroa065/Voluntariado
375eab96adc7a95f8204244f942840bdce47c8b5
[ "MIT" ]
null
null
null
interfaz.py
ifigueroa065/Voluntariado
375eab96adc7a95f8204244f942840bdce47c8b5
[ "MIT" ]
null
null
null
from tkinter import * import os from datetime import datetime import webbrowser from tkinter import messagebox from tkinter import ttk import tkinter.filedialog import tkinter as tk import openpyxl from REPORTE import * datos = [] #reporte precios = [] #precios preciosmq=[] #precios mq subtotales = [] def CREAR_INTER...
41.520337
141
0.420011
2,835
29,604
4.373898
0.196825
0.036774
0.016694
0.011613
0.516613
0.467661
0.435645
0.401694
0.375
0.353548
0
0.038541
0.430313
29,604
713
142
41.520337
0.69665
0.029455
0
0.454545
0
0.045455
0.677689
0.066841
0
0
0
0
0
1
0.009091
false
0
0.018182
0
0.027273
0.036364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1a33943d2cf0f6c01fc1fd72edefaa54e0e682d5
3,911
py
Python
distnet/keras_models/self_attention.py
jeanollion/dlutils
ea419e79486e1212219dc06d39c3a4f4c305ff49
[ "Apache-2.0" ]
4
2020-05-27T01:39:44.000Z
2021-09-03T18:20:33.000Z
distnet/keras_models/self_attention.py
jeanollion/dlutils
ea419e79486e1212219dc06d39c3a4f4c305ff49
[ "Apache-2.0" ]
null
null
null
distnet/keras_models/self_attention.py
jeanollion/dlutils
ea419e79486e1212219dc06d39c3a4f4c305ff49
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf from tensorflow.keras.layers import Layer, Dense, Reshape, Embedding, Concatenate, Conv2D from tensorflow.keras.models import Model import numpy as np class SelfAttention(Model): def __init__(self, d_model, spatial_dims, positional_encoding=True, name="self_attention"): ''' ...
43.455556
164
0.662746
563
3,911
4.353464
0.269982
0.039168
0.03264
0.03264
0.218686
0.164831
0.125255
0.074255
0.034272
0.034272
0
0.006899
0.221682
3,911
89
165
43.94382
0.798292
0.359755
0
0.045455
0
0
0.019214
0
0
0
0
0.011236
0
1
0.090909
false
0
0.090909
0.022727
0.272727
0
0
0
0
null
0
0
0
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
1a394cf9c7eb99717e2514108e5f1a318701bbde
666
py
Python
src/modax/layers/network.py
GJBoth/modax
c7e1c128d4dd48b776f8ec4fa724c2e4b6e13c82
[ "MIT" ]
2
2021-12-10T14:36:37.000Z
2022-02-10T11:47:03.000Z
src/modax/layers/network.py
GJBoth/modax
c7e1c128d4dd48b776f8ec4fa724c2e4b6e13c82
[ "MIT" ]
null
null
null
src/modax/layers/network.py
GJBoth/modax
c7e1c128d4dd48b776f8ec4fa724c2e4b6e13c82
[ "MIT" ]
2
2020-12-22T14:49:13.000Z
2021-04-09T08:52:08.000Z
from typing import Callable from jax import lax from flax import linen as nn class MultiTaskDense(nn.Module): features: int n_tasks: int kernel_init: Callable = nn.initializers.lecun_normal() bias_init: Callable = nn.initializers.zeros @nn.compact def __call__(self, inputs): kernel = ...
28.956522
87
0.612613
87
666
4.528736
0.45977
0.045685
0.071066
0.13198
0
0
0
0
0
0
0
0.012146
0.258258
666
22
88
30.272727
0.785425
0
0
0
0
0
0.015015
0
0
0
0
0
0
1
0.052632
false
0
0.157895
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
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
1a3d73a6c52da2deb3d1d2f1db4c3862bf7713d4
350
py
Python
functions/closeAll.py
chiluf/visvis.dev
373846ea25044b7ca50f44c63dab4248e14deacd
[ "BSD-3-Clause" ]
null
null
null
functions/closeAll.py
chiluf/visvis.dev
373846ea25044b7ca50f44c63dab4248e14deacd
[ "BSD-3-Clause" ]
null
null
null
functions/closeAll.py
chiluf/visvis.dev
373846ea25044b7ca50f44c63dab4248e14deacd
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (C) 2012, Almar Klein # # Visvis is distributed under the terms of the (new) BSD License. # The full license can be found in 'license.txt'. import visvis as vv def closeAll(): """ closeAll() Closes all figures. """ for fig in vv.BaseFigure._figures.va...
19.444444
65
0.614286
47
350
4.553191
0.787234
0
0
0
0
0
0
0
0
0
0
0.019305
0.26
350
17
66
20.588235
0.80695
0.565714
0
0
0
0
0
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
1a4f33963cc653151cea3eb94ee867a8bc500078
660
py
Python
test_RTC_DS1307.py
LeMaker/LeScratch
0dde167925afe40cf63cf8ccba13321761494c25
[ "Apache-2.0" ]
4
2015-06-23T17:57:47.000Z
2016-02-15T12:52:46.000Z
test_RTC_DS1307.py
LeMaker/LeScratch
0dde167925afe40cf63cf8ccba13321761494c25
[ "Apache-2.0" ]
1
2021-08-18T03:17:45.000Z
2021-08-18T03:17:45.000Z
test_RTC_DS1307.py
LeMaker/LeScratch
0dde167925afe40cf63cf8ccba13321761494c25
[ "Apache-2.0" ]
4
2015-07-13T14:43:24.000Z
2015-12-25T09:14:50.000Z
#!/usr/bin/env python # # Test RTC_DS1307 import sys import time import datetime import RTC_DS1307 # Main Program print "Program Started at:"+ time.strftime("%Y-%m-%d %H:%M:%S") filename = time.strftime("%Y-%m-%d%H:%M:%SRTCTest") + ".txt" starttime = datetime.datetime.utcnow() ds1307 = RTC_DS1307.RTC_DS1307(2, 0x...
18.333333
75
0.692424
101
660
4.465347
0.524752
0.079823
0.086475
0.093126
0.117517
0.117517
0.117517
0.079823
0
0
0
0.072695
0.145455
660
35
76
18.857143
0.72695
0.186364
0
0
0
0
0.206767
0.043233
0
0
0.007519
0
0
0
null
null
0
0.25
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1a4fe40aa6eef969719ab20b34d1e9156144719c
4,536
py
Python
VS State and Virtual IP Info/avi_virtual_service_info.py
jagmeetsingh91/AviSDK-Scripts
371c9dadc561efe5087e57beac8b24191d48834d
[ "Apache-2.0" ]
null
null
null
VS State and Virtual IP Info/avi_virtual_service_info.py
jagmeetsingh91/AviSDK-Scripts
371c9dadc561efe5087e57beac8b24191d48834d
[ "Apache-2.0" ]
null
null
null
VS State and Virtual IP Info/avi_virtual_service_info.py
jagmeetsingh91/AviSDK-Scripts
371c9dadc561efe5087e57beac8b24191d48834d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Created on Nov 14, 2017 # @author: aziz@avinetworks.com, jagmeet@avinetworks.com # # AVISDK based Script to get the status and configuration information of the Virtual Services # # Requires AVISDK ("pip install avisdk") and PrettyTable ("pip install PrettyTable") # Usage:- python avi_virtual_s...
37.8
111
0.592813
598
4,536
4.294314
0.232441
0.058411
0.017523
0.0331
0.246885
0.225857
0.16433
0.16433
0.125389
0.100467
0
0.008179
0.272266
4,536
119
112
38.117647
0.769767
0.132496
0
0.05618
0
0
0.153571
0.006888
0
0
0
0
0
0
null
null
0.033708
0.067416
null
null
0.033708
0
0
0
null
0
0
0
0
0
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
1a5078f614596e83a998507f278a0b9bd0a27b7f
1,035
py
Python
tomograph/transform.py
fkokosinski/tomograph
4e988e37441efb94d7010e3f1e95aa8519a5a686
[ "MIT" ]
4
2019-06-22T22:33:52.000Z
2021-04-21T09:17:26.000Z
tomograph/transform.py
fkokosinski/tomograph
4e988e37441efb94d7010e3f1e95aa8519a5a686
[ "MIT" ]
null
null
null
tomograph/transform.py
fkokosinski/tomograph
4e988e37441efb94d7010e3f1e95aa8519a5a686
[ "MIT" ]
null
null
null
import numpy as np def projective(coords): """ Convert 2D cartesian coordinates to homogeneus/projective. """ num = np.shape(coords)[0] w = np.array([[1], ]*num) return np.append(coords, w, axis=1) def cartesian(coords): """ Convert 2D homogeneus/projective coordinates to cartesian. """ ret...
21.5625
70
0.593237
136
1,035
4.492647
0.330882
0.03437
0.0491
0.062193
0.065466
0
0
0
0
0
0
0.023286
0.25314
1,035
47
71
22.021277
0.767141
0.267633
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.038462
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
1a5498f81765fb1eac207c52c6344cd3eedbeb35
164
py
Python
jp.atcoder/abc005/abc005_2/26220615.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc005/abc005_2/26220615.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc005/abc005_2/26220615.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
import sys import typing def main() -> typing.NoReturn: n = int(input()) (*t,) = map(int, sys.stdin.read().split()) print(min(t)) main()
13.666667
47
0.536585
22
164
4
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.268293
164
11
48
14.909091
0.733333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
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
1a54b28acedd9ff633d1db4868301520a6ba9dcb
748
py
Python
List Events.py
hcaushi/higgs-hunters
f433a71ab01470fb6e72ebd8b69e697e77ae3c94
[ "MIT" ]
null
null
null
List Events.py
hcaushi/higgs-hunters
f433a71ab01470fb6e72ebd8b69e697e77ae3c94
[ "MIT" ]
null
null
null
List Events.py
hcaushi/higgs-hunters
f433a71ab01470fb6e72ebd8b69e697e77ae3c94
[ "MIT" ]
null
null
null
import csv import sys #This program was written in Python 3.6.3 by Henry Caushi. You are free to use it for any reason, without my permission, without having to inform myself or anyone else #This program was was written to aid other programs, by providing a list of all event IDs so that they appear only once #List o...
27.703704
167
0.713904
144
748
3.659722
0.527778
0.066414
0.053131
0.053131
0.064516
0
0
0
0
0
0
0.008361
0.200535
748
26
168
28.769231
0.87291
0.573529
0
0.142857
0
0
0.134185
0.083067
0
0
0
0
0
0
null
null
0
0.142857
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
1a550f338065214a5625283d1ea0bc348f1499f6
268
py
Python
custom_latex_cell_style/scenario2/ipython_nbconvert_config.py
isabella232/nbconvert-examples
039724f4251cc8183f85534785fbee14809248ac
[ "BSD-3-Clause" ]
120
2015-09-26T22:16:59.000Z
2022-03-14T19:58:46.000Z
custom_latex_cell_style/scenario2/ipython_nbconvert_config.py
tarkantemizoz/nbconvert-examples
039724f4251cc8183f85534785fbee14809248ac
[ "BSD-3-Clause" ]
12
2015-09-23T19:52:38.000Z
2021-08-04T23:30:37.000Z
custom_latex_cell_style/scenario2/ipython_nbconvert_config.py
tarkantemizoz/nbconvert-examples
039724f4251cc8183f85534785fbee14809248ac
[ "BSD-3-Clause" ]
82
2015-12-11T22:04:01.000Z
2021-12-08T07:09:31.000Z
c = get_config() #Export all the notebooks in the current directory to the sphinx_howto format. c.NbConvertApp.notebooks = ['*.ipynb'] c.NbConvertApp.export_format = 'latex' c.NbConvertApp.postprocessor_class = 'PDF' c.Exporter.template_file = 'custom_article.tplx'
29.777778
78
0.779851
37
268
5.486486
0.702703
0.192118
0
0
0
0
0
0
0
0
0
0
0.108209
268
8
79
33.5
0.849372
0.287313
0
0
0
0
0.178947
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
1a612743d582b02908a4b3a8f29574ce5358d4cb
865
py
Python
POPGEN/flashpca_to_smartpca.py
Hammarn/Scripts
eb9fb51b614d29aea425168aa16c58410d975f46
[ "MIT" ]
null
null
null
POPGEN/flashpca_to_smartpca.py
Hammarn/Scripts
eb9fb51b614d29aea425168aa16c58410d975f46
[ "MIT" ]
null
null
null
POPGEN/flashpca_to_smartpca.py
Hammarn/Scripts
eb9fb51b614d29aea425168aa16c58410d975f46
[ "MIT" ]
null
null
null
#!/usr/bin/env python import argparse import pandas as pd def main(input_file,output): pd_data = pd.read_csv(input_file, sep = "\t" ) import pdb pd_data['last'] = pd_data['FID'] for i in pd_data.index: pd_data.loc[i,'FID'] = "{}:{}".format(pd_data.loc[i,'FID'],pd_data.loc[i,'IID']) ...
30.892857
88
0.649711
124
865
4.346774
0.475806
0.089054
0.050093
0.055659
0.048237
0
0
0
0
0
0
0
0.184971
865
27
89
32.037037
0.764539
0.049711
0
0
0
0
0.267073
0
0
0
0
0
0
0
null
null
0
0.157895
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1a65dba3fb6b320ee85ba73a4571435a2d581c12
324
py
Python
gwent/vendor/pygwinc_clone/gwinc/ifo/aLIGO/__init__.py
ark0015/GWDetectorDesignToolkit
6ee2f7a633c973ea10b450257b1ad4dbd0323738
[ "MIT" ]
14
2019-10-16T13:27:19.000Z
2022-03-15T02:14:49.000Z
gwent/vendor/pygwinc_clone/gwinc/ifo/aLIGO/__init__.py
ark0015/GWDetectorDesignToolkit
6ee2f7a633c973ea10b450257b1ad4dbd0323738
[ "MIT" ]
1
2019-09-29T21:21:40.000Z
2019-09-29T21:21:40.000Z
gwent/vendor/pygwinc_clone/gwinc/ifo/aLIGO/__init__.py
ark0015/gwent
6ee2f7a633c973ea10b450257b1ad4dbd0323738
[ "MIT" ]
6
2019-11-27T09:45:31.000Z
2022-03-15T02:14:31.000Z
from gwinc.ifo.noises import * class aLIGO(nb.Budget): name = "Advanced LIGO" noises = [ QuantumVacuum, Seismic, Newtonian, SuspensionThermal, CoatingBrownian, CoatingThermoOptic, SubstrateBrownian, SubstrateThermoElastic, ExcessGas, ...
17.052632
31
0.589506
22
324
8.681818
0.954545
0
0
0
0
0
0
0
0
0
0
0
0.342593
324
18
32
18
0.896714
0
0
0
0
0
0.040123
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.285714
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
1a6a468047e8c5ffc11c31806e4527c666198d73
5,535
py
Python
firmware/m5mw.micropython.py
RAWSEQ/M5MouseWheel
08e89d5e5e1b60eb40aba81a16d015bc48077a89
[ "MIT" ]
null
null
null
firmware/m5mw.micropython.py
RAWSEQ/M5MouseWheel
08e89d5e5e1b60eb40aba81a16d015bc48077a89
[ "MIT" ]
null
null
null
firmware/m5mw.micropython.py
RAWSEQ/M5MouseWheel
08e89d5e5e1b60eb40aba81a16d015bc48077a89
[ "MIT" ]
2
2021-05-29T16:19:26.000Z
2021-09-05T13:24:02.000Z
from m5stack import * from m5stack_ui import * from uiflow import * from ble import ble_uart import face screen = M5Screen() screen.clean_screen() screen.set_screen_bg_color(0x000000) mb_click = None rb_click = None lb_click = None snd_val = None st_mode = None stval = None prval = None faces_encode = face.get(face...
31.271186
133
0.70551
988
5,535
3.659919
0.117409
0.054757
0.052544
0.045631
0.61781
0.564712
0.510509
0.504978
0.473451
0.399336
0
0.090155
0.150316
5,535
176
134
31.448864
0.678716
0.003975
0
0.341935
0
0
0.01706
0
0
0
0.06824
0
0
1
0.070968
false
0.058065
0.032258
0
0.103226
0
0
0
0
null
0
0
0
0
0
0
0
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
1a6d2d07b82c65f1c0ee7a25477d2386875f5077
12,181
py
Python
main.py
FSlowkey/_csmentor_
19db2e43a9418df9cd999cdeaa5845b4e9b721c8
[ "MIT" ]
null
null
null
main.py
FSlowkey/_csmentor_
19db2e43a9418df9cd999cdeaa5845b4e9b721c8
[ "MIT" ]
null
null
null
main.py
FSlowkey/_csmentor_
19db2e43a9418df9cd999cdeaa5845b4e9b721c8
[ "MIT" ]
null
null
null
import os import webapp2 import data import datetime from google.appengine.ext.webapp import template from google.appengine.api import users from google.appengine.api import images from google.appengine.api import blobstore from google.appengine.ext.webapp import blobstore_handlers from google.appengine.ext import ndb...
33.372603
93
0.628848
1,333
12,181
5.575394
0.178545
0.027314
0.048977
0.036329
0.368811
0.243272
0.204252
0.167115
0.150027
0.055436
0
0.002318
0.256383
12,181
365
94
33.372603
0.818172
0.033084
0
0.302817
0
0
0.110157
0.01071
0
0
0
0
0
0
null
null
0
0.045775
null
null
0.042254
0
0
0
null
0
0
0
0
0
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
1a7483bf107ea0fb77bb68f2d2dcf10700bcb562
443
py
Python
12_find the output/03_In Python/01_GeeksForGeeks/02_Set two/problem_2.py
Magdyedwar1996/python-level-one-codes
066086672f43488bc8b32c620b5e2f94cedfe3da
[ "MIT" ]
1
2021-11-16T14:14:38.000Z
2021-11-16T14:14:38.000Z
12_find the output/03_In Python/01_GeeksForGeeks/02_Set two/problem_2.py
Magdyedwar1996/python-level-one-codes
066086672f43488bc8b32c620b5e2f94cedfe3da
[ "MIT" ]
null
null
null
12_find the output/03_In Python/01_GeeksForGeeks/02_Set two/problem_2.py
Magdyedwar1996/python-level-one-codes
066086672f43488bc8b32c620b5e2f94cedfe3da
[ "MIT" ]
null
null
null
for i in range(2): print(i) # print 0 then 1 for i in range(4,6): print (i) # print 4 then 5 """ Explanation: If only single argument is passed to the range method, Python considers this argument as the end of the range and the default start value of range is 0. So, it will print all the numbers starting from 0 an...
36.916667
98
0.742664
85
443
3.870588
0.529412
0.024316
0.036474
0.066869
0
0
0
0
0
0
0
0.031073
0.200903
443
12
99
36.916667
0.898305
0.065463
0
0.5
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
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
1a7735124d5e69d466b80a312a23be896f940f79
505
py
Python
game.py
pricob/Strategy-Game
df9011b87b6521d1bb156e512eeb120e0b09962e
[ "MIT" ]
null
null
null
game.py
pricob/Strategy-Game
df9011b87b6521d1bb156e512eeb120e0b09962e
[ "MIT" ]
null
null
null
game.py
pricob/Strategy-Game
df9011b87b6521d1bb156e512eeb120e0b09962e
[ "MIT" ]
null
null
null
def game_main(): ### IMPORTS ### import colorama from colorama import Fore from engine import engineScript from engine import clearScript from os import environ environ['PYGAME_HIDE_SUPPORT_PROMPT'] = '1' import pygame ### ENGINE INITIALIZATION ### settings = ["widt...
24.047619
48
0.625743
50
505
6.06
0.58
0.052805
0.105611
0
0
0
0
0
0
0
0
0.00271
0.269307
505
21
49
24.047619
0.818428
0.09901
0
0
0
0
0.110577
0.0625
0
0
0
0
0
1
0.071429
false
0
0.428571
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1a78717f3ade0f1b49b87652920497f50424fe03
387
py
Python
src/elementary_flask/components/general/favicon.py
xaled/flaskly
2ed66d89e42afba830d6c73c9f70f00d1dcac573
[ "MIT" ]
null
null
null
src/elementary_flask/components/general/favicon.py
xaled/flaskly
2ed66d89e42afba830d6c73c9f70f00d1dcac573
[ "MIT" ]
null
null
null
src/elementary_flask/components/general/favicon.py
xaled/flaskly
2ed66d89e42afba830d6c73c9f70f00d1dcac573
[ "MIT" ]
null
null
null
__all__ = ['FavIcon'] from dataclasses import dataclass, field from html import escape as html_escape @dataclass class FavIcon: href: str rel: str = "icon" mimetype: str = "image/x-icon" rendered: str = field(init=False, repr=False) def __post_init__(self): self.rendered = f'<link rel="{s...
25.8
105
0.674419
53
387
4.716981
0.528302
0.08
0
0
0
0
0
0
0
0
0
0
0.183463
387
14
106
27.642857
0.791139
0
0
0
0
0.090909
0.260982
0.139535
0
0
0
0
0
1
0.090909
false
0
0.181818
0
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
1a7fc96b729905953b1c7215ffb1a13a615d4713
518
py
Python
babysteps/6.combine_strings.py
mvoltz/realpython
622d700721d8475b1e81964d14c781e7936d120f
[ "BSD-2-Clause" ]
null
null
null
babysteps/6.combine_strings.py
mvoltz/realpython
622d700721d8475b1e81964d14c781e7936d120f
[ "BSD-2-Clause" ]
null
null
null
babysteps/6.combine_strings.py
mvoltz/realpython
622d700721d8475b1e81964d14c781e7936d120f
[ "BSD-2-Clause" ]
null
null
null
# called concatenation sometimes.. str1 = 'abra, ' str2 = 'cadabra. ' str3 = 'i wanna reach out and grab ya.' combo = str1 + str1 + str2 + str3 # you probably don't remember the song. print(combo) # you can also do it this way print('I heat up', '\n', "I can't cool down", '\n', 'my life is spinning', '\n', 'round...
25.9
99
0.660232
88
518
3.886364
0.738636
0.011696
0
0
0
0
0
0
0
0
0
0.024038
0.196911
518
19
100
27.263158
0.798077
0.34556
0
0
0
0
0.577844
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1a82bd2a3228a557a4e93765d69c4bc3cf1313d3
3,781
py
Python
mdot_rest/migrations/0002_auto_20150722_2054.py
uw-it-aca/mdot-rest
3f5aa88ae2ac9693f283b8843ac8998b10dc7bb8
[ "Apache-2.0" ]
null
null
null
mdot_rest/migrations/0002_auto_20150722_2054.py
uw-it-aca/mdot-rest
3f5aa88ae2ac9693f283b8843ac8998b10dc7bb8
[ "Apache-2.0" ]
67
2015-07-23T23:22:14.000Z
2022-02-04T21:39:43.000Z
mdot_rest/migrations/0002_auto_20150722_2054.py
uw-it-aca/mdot-rest
3f5aa88ae2ac9693f283b8843ac8998b10dc7bb8
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('mdot_rest', '0001_initial'), ] operations = [ migrations.CreateModel( name='IntendedAudience', field...
34.063063
160
0.545887
324
3,781
6.169753
0.262346
0.072036
0.157579
0.187594
0.601301
0.573287
0.44022
0.268634
0.268634
0.181091
0
0.008255
0.327162
3,781
110
161
34.372727
0.777516
0.005554
0
0.625
0
0
0.158329
0
0
0
0
0
0
1
0
false
0
0.019231
0
0.048077
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
1a8bd1f13f351b7336c171be459cf320b1683b22
4,435
py
Python
src/web/users/forms.py
werelaxe/drapo
5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b
[ "MIT" ]
10
2017-04-15T05:00:17.000Z
2019-08-27T21:08:48.000Z
src/web/users/forms.py
werelaxe/drapo
5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b
[ "MIT" ]
2
2017-10-06T12:35:59.000Z
2018-12-03T07:17:12.000Z
src/web/users/forms.py
werelaxe/drapo
5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b
[ "MIT" ]
4
2017-03-08T21:17:21.000Z
2019-05-10T16:22:58.000Z
from django import forms from django.utils.translation import ugettext_lazy as _ class LoginForm(forms.Form): email = forms.CharField( required=True, label=_('Email'), max_length=100, widget=forms.TextInput(attrs={ 'placeholder': _('Your email'), 'autofocus'...
28.429487
121
0.559414
411
4,435
5.810219
0.16545
0.045226
0.080402
0.105528
0.717337
0.672948
0.623953
0.593384
0.551089
0.543551
0
0.011628
0.301917
4,435
155
122
28.612903
0.75969
0
0
0.656716
0
0
0.209921
0
0
0
0
0
0
1
0.029851
false
0.186567
0.014925
0
0.171642
0
0
0
0
null
0
0
0
0
0
0
0
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
1a9b95beef4372766d5b6cf6a163695415727640
1,153
py
Python
src/lib/todo_classes.py
louisroyer/todopy
8aef035bc82b13a8053394e8942c34de72fae3bf
[ "CC0-1.0" ]
null
null
null
src/lib/todo_classes.py
louisroyer/todopy
8aef035bc82b13a8053394e8942c34de72fae3bf
[ "CC0-1.0" ]
2
2020-09-01T12:32:25.000Z
2020-09-01T12:33:11.000Z
src/lib/todo_classes.py
louisroyer/todopy
8aef035bc82b13a8053394e8942c34de72fae3bf
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- '''Classes for todo files.''' # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 if __debug__: if __package__: from . import todo_parser as _todo_parser else: import todo_parser as _todo_parser if __name__ != '__main__': __author__ = 'Loui...
24.020833
67
0.61405
137
1,153
4.766423
0.452555
0.07657
0.049005
0.05513
0.085758
0.085758
0
0
0
0
0
0.027678
0.279271
1,153
47
68
24.531915
0.756919
0.153513
0
0.096774
0
0
0.095488
0
0
0
0
0.021277
0.064516
1
0.16129
false
0
0.064516
0
0.354839
0
0
0
0
null
0
0
0
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
1a9c06b409cec023288fe5de8610286e3d8638d4
4,347
py
Python
attendees/persons/admin.py
xjlin0/attendees
3c337ee68c00f17cbbbe26f2e33131e57850e4ed
[ "MIT" ]
1
2020-03-26T00:42:04.000Z
2020-03-26T00:42:04.000Z
attendees/persons/admin.py
xjlin0/attendees
3c337ee68c00f17cbbbe26f2e33131e57850e4ed
[ "MIT" ]
null
null
null
attendees/persons/admin.py
xjlin0/attendees
3c337ee68c00f17cbbbe26f2e33131e57850e4ed
[ "MIT" ]
null
null
null
from django_summernote.admin import SummernoteModelAdmin from django.contrib.postgres import fields from django_json_widget.widgets import JSONEditorWidget from django.contrib import admin from attendees.occasions.models import * from attendees.whereabouts.models import * from .models import * # Register your models h...
34.776
126
0.707844
431
4,347
6.932715
0.25058
0.062584
0.056894
0.069277
0.287483
0.266734
0.238956
0.170683
0.093039
0.054886
0
0.002986
0.152519
4,347
124
127
35.056452
0.808089
0.023004
0
0.222222
0
0
0.219133
0.004948
0
0
0
0
0
1
0
false
0
0.077778
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1aa7720202db2a1c258c5499dab4c82e6d875c22
437
py
Python
P0053.py
sebastianaldi17/ProjectEuler
19562fba3456ec904bcc264fb786a92610e42622
[ "MIT" ]
null
null
null
P0053.py
sebastianaldi17/ProjectEuler
19562fba3456ec904bcc264fb786a92610e42622
[ "MIT" ]
null
null
null
P0053.py
sebastianaldi17/ProjectEuler
19562fba3456ec904bcc264fb786a92610e42622
[ "MIT" ]
null
null
null
# Combinatoric selections # https://projecteuler.net/problem=53 from collections import defaultdict from copy import deepcopy from itertools import permutations from math import fmod, sqrt, factorial from time import time start = time() f = [factorial(i) for i in range(101)] ans = 0 for n in range(1, 101): for r...
24.277778
54
0.688787
71
437
4.239437
0.507042
0.069767
0.053156
0
0
0
0
0
0
0
0
0.056022
0.183066
437
18
55
24.277778
0.787115
0.135011
0
0
0
0
0.018617
0
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
0.153846
0
0
0
null
0
0
0
0
0
0
0
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
1aab51dc0877d9fd63a1f310c0d32a392b291683
1,953
py
Python
Client_side.py
SanRam/server-client-chat-python
010a296db57c352a2ace7eac7206fa641981538b
[ "MIT" ]
null
null
null
Client_side.py
SanRam/server-client-chat-python
010a296db57c352a2ace7eac7206fa641981538b
[ "MIT" ]
null
null
null
Client_side.py
SanRam/server-client-chat-python
010a296db57c352a2ace7eac7206fa641981538b
[ "MIT" ]
null
null
null
# The client program connects to server and sends data to other connected # clients through the server import socket import thread import sys def recv_data(): "Receive data from other clients connected to server" while 1: try: recv_data = client_socket.recv(4096) ...
30.046154
75
0.561188
225
1,953
4.671111
0.351111
0.076118
0.048525
0.068506
0.344434
0.253092
0.253092
0.253092
0.203616
0.121789
0
0.044788
0.336918
1,953
64
76
30.515625
0.766795
0.096774
0
0.413043
0
0
0.261357
0
0
0
0
0
0
0
null
null
0
0.065217
null
null
0.173913
0
0
0
null
0
0
0
0
0
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
1ac0e70ee50f70a3cd951509022bba75c1104f45
1,738
gyp
Python
third_party/ctmalloc/ctmalloc.gyp
dandv/syzygy
2444520c8e6e0b45b2f45b680d878d60b9636f45
[ "Apache-2.0" ]
1
2019-04-03T13:56:37.000Z
2019-04-03T13:56:37.000Z
third_party/ctmalloc/ctmalloc.gyp
pombreda/syzygy
7bac6936c0c28872bfabc10a1108e0157ff65d4a
[ "Apache-2.0" ]
1
2015-03-19T18:20:25.000Z
2015-03-19T18:20:25.000Z
third_party/ctmalloc/ctmalloc.gyp
sebmarchand/syzygy
6c6db0e70e8161f1fec171138a825f6412e7778a
[ "Apache-2.0" ]
1
2020-10-10T16:09:45.000Z
2020-10-10T16:09:45.000Z
# Copyright 2014 Google Inc. 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 required by applicable law or ...
28.491803
80
0.597814
205
1,738
5.014634
0.570732
0.046693
0.025292
0.031128
0.089494
0.089494
0.089494
0.089494
0
0
0
0.006385
0.279056
1,738
60
81
28.966667
0.814046
0.437284
0
0.341463
0
0
0.492179
0.148071
0
0
0
0
0.02439
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1ac4c3ae760d51232d569cf1431cc2c3ab3cdc2f
1,499
py
Python
_/Chapter 03/transfrauddetect.py
paullewallencom/hadoop-978-1-7839-8030-7
267f24e736dcee0910593d9ff76c10387e6406c3
[ "Apache-2.0" ]
2
2019-05-25T22:48:59.000Z
2021-10-04T04:52:58.000Z
_/Chapter 03/transfrauddetect.py
paullewallencom/hadoop-978-1-7839-8030-7
267f24e736dcee0910593d9ff76c10387e6406c3
[ "Apache-2.0" ]
null
null
null
_/Chapter 03/transfrauddetect.py
paullewallencom/hadoop-978-1-7839-8030-7
267f24e736dcee0910593d9ff76c10387e6406c3
[ "Apache-2.0" ]
6
2016-12-27T13:57:45.000Z
2021-04-22T18:33:14.000Z
# Submit to spark using # spark-submit /Users/anurag/hdproject/eclipse/chapt3/transfrauddetect.py # You need the full path of the python script from pyspark import SparkContext from pyspark import SparkConf from pyspark.mllib.clustering import KMeans, KMeansModel from pyspark.streaming import StreamingContext from pys...
33.311111
88
0.683122
186
1,499
5.505376
0.564516
0.053711
0.033203
0
0
0
0
0
0
0
0
0.014864
0.192128
1,499
44
89
34.068182
0.830718
0.256171
0
0
0
0
0.116637
0.042495
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1ad00f5bdba69c5627c62e40a06d13f11f8f971b
2,186
py
Python
quotes/tests/requests/test_home_page.py
daviferreira/defprogramming
a4ec20a6a9d116eb1f82fd146e4bb7a2fad5a516
[ "MIT" ]
6
2016-01-17T02:21:51.000Z
2020-09-01T20:16:36.000Z
quotes/tests/requests/test_home_page.py
daviferreira/defprogramming
a4ec20a6a9d116eb1f82fd146e4bb7a2fad5a516
[ "MIT" ]
3
2017-11-27T17:02:50.000Z
2021-01-21T14:22:36.000Z
quotes/tests/requests/test_home_page.py
daviferreira/defprogramming
a4ec20a6a9d116eb1f82fd146e4bb7a2fad5a516
[ "MIT" ]
null
null
null
# coding: utf-8 from lxml import html from django.test import TestCase from django.test.client import Client from quotes.tests.utils import create_test_quote class HomePageTestCase(TestCase): def setUp(self): self.client = Client() self.quote = create_test_quote() self.dom = '' ...
37.689655
115
0.643184
284
2,186
4.816901
0.28169
0.078947
0.109649
0.080409
0.245614
0.214912
0.115497
0.115497
0.062866
0
0
0.015116
0.213175
2,186
58
116
37.689655
0.780233
0.088289
0
0.209302
0
0
0.12368
0
0
0
0
0.017241
0.372093
1
0.162791
false
0
0.093023
0
0.27907
0
0
0
0
null
0
0
0
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
1ad19b8e5fbe29f4b8f2f258cc293e0fd9d3e22f
678
py
Python
luckydonaldUtils/regex/telegram.py
luckydonald/python-utils
455f5174707804a39384776185b8bc307223e19f
[ "MIT" ]
5
2016-12-06T00:49:21.000Z
2019-10-03T04:18:13.000Z
luckydonaldUtils/regex/telegram.py
luckydonald/python-utils
455f5174707804a39384776185b8bc307223e19f
[ "MIT" ]
5
2016-03-19T02:08:14.000Z
2018-12-01T02:30:19.000Z
luckydonaldUtils/regex/telegram.py
luckydonald/python-utils
455f5174707804a39384776185b8bc307223e19f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import re __author__ = 'luckydonald' __all__ = [ 'USERNAME_REGEX', '_USERNAME_REGEX', 'USER_AT_REGEX', '_USER_AT_REGEX', 'FULL_USERNAME_REGEX', '_FULL_USERNAME_REGEX' ] _USERNAME_REGEX = '[a-zA-Z](?:[a-zA-Z0-9]|_(?!_)){3,30}[a-zA-Z0-9]' # https://regex101.com/r/nZdOHS/2 USERNAME_REGEX...
35.684211
118
0.715339
95
678
4.536842
0.347368
0.361949
0.12761
0.148492
0.359629
0
0
0
0
0
0
0.019704
0.10177
678
18
119
37.666667
0.688013
0.078171
0
0
0
0.076923
0.334405
0.110932
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
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
46bb3deb8367127a5cfa628614d6868e96cd7fbc
6,888
py
Python
app.py
Antinator11/Creative-Space
73bcd8eeed39c57e1d9098b3fe99e2c92a67e4e8
[ "Apache-2.0" ]
null
null
null
app.py
Antinator11/Creative-Space
73bcd8eeed39c57e1d9098b3fe99e2c92a67e4e8
[ "Apache-2.0" ]
null
null
null
app.py
Antinator11/Creative-Space
73bcd8eeed39c57e1d9098b3fe99e2c92a67e4e8
[ "Apache-2.0" ]
null
null
null
from flask import Flask, render_template, request, redirect, url_for, Markup, \ flash # Imports Flask and all required modules import databasemanager # Provides the functionality to load stuff from the database app = Flask(__name__) import errormanager # Enum for types of errors # DECLARE datamanager as...
41.745455
116
0.63313
735
6,888
5.878912
0.228571
0.06156
0.078685
0.027771
0.330248
0.249479
0.227262
0.227262
0.187919
0.174265
0
0.00039
0.255226
6,888
164
117
42
0.84191
0.301974
0
0.23
0
0
0.080993
0.00479
0
0
0
0
0
1
0.09
false
0.1
0.03
0.01
0.29
0.02
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
46bff1adfd5577acabc4e0dff9a754921e785d60
1,312
py
Python
filter_plugins/containers2volumes.py
gabriel-duque/sadm
00483d486b336c71066e244a61c29042a924e75c
[ "MIT" ]
4
2020-07-28T00:22:43.000Z
2020-12-01T16:03:01.000Z
filter_plugins/containers2volumes.py
gabriel-duque/sadm
00483d486b336c71066e244a61c29042a924e75c
[ "MIT" ]
8
2020-07-05T23:23:42.000Z
2020-09-04T00:30:58.000Z
filter_plugins/containers2volumes.py
zuh0/sadm
00483d486b336c71066e244a61c29042a924e75c
[ "MIT" ]
null
null
null
from ansible.errors import AnsibleFilterError def container2volumes(container, vol_type="all"): vol_types = ["generated", "persistent", "volatile"] catch_all_type = "all" if vol_type != catch_all_type and vol_type not in vol_types: raise AnsibleFilterError( f"container2volumes: {vol_ty...
32.8
123
0.637957
143
1,312
5.692308
0.314685
0.094595
0.132678
0.031941
0.481572
0.481572
0.481572
0.481572
0.481572
0.481572
0
0.009082
0.244665
1,312
39
124
33.641026
0.812311
0.045732
0
0.266667
1
0.066667
0.264848
0
0
0
0
0
0
1
0.1
false
0
0.033333
0.033333
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
46c085ac7c0934855c0208b4c1f43ee8a0d905c0
381
py
Python
lowest-unique.py
leaen/Codeeval-solutions
fa83cb4fba3e56f79c0a6b00361c18cd3092c3f0
[ "MIT" ]
null
null
null
lowest-unique.py
leaen/Codeeval-solutions
fa83cb4fba3e56f79c0a6b00361c18cd3092c3f0
[ "MIT" ]
null
null
null
lowest-unique.py
leaen/Codeeval-solutions
fa83cb4fba3e56f79c0a6b00361c18cd3092c3f0
[ "MIT" ]
null
null
null
import sys def lowest_unique_number(line): numbers = sorted(map(int, line.split())) for e in numbers: if numbers.count(e) == 1: return line.index(str(e))//2+1 return 0 def main(): with open(sys.argv[1]) as input_file: for line in input_file: print(lowest_unique_...
22.411765
53
0.606299
56
381
3.875
0.589286
0.110599
0.165899
0.202765
0
0
0
0
0
0
0
0.017731
0.259843
381
16
54
23.8125
0.751773
0
0
0
0
0
0.020997
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.384615
0.076923
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
46c2b16869fd2a8293075005691ad0df8c253672
830
py
Python
Company/thoughtworks/FizzBuzzWhizz/solution-python/FizzBuzzWhizz.py
OctopusLian/leetcode-solutions
40920d11c584504e805d103cdc6ef3f3774172b3
[ "MIT" ]
1
2020-12-01T18:35:24.000Z
2020-12-01T18:35:24.000Z
Company/thoughtworks/FizzBuzzWhizz/solution-python/FizzBuzzWhizz.py
OctopusLian/leetcode-solutions
40920d11c584504e805d103cdc6ef3f3774172b3
[ "MIT" ]
18
2020-11-10T05:48:29.000Z
2020-11-26T08:39:20.000Z
Company/thoughtworks/FizzBuzzWhizz/solution-python/FizzBuzzWhizz.py
OctopusLian/leetcode-solutions
40920d11c584504e805d103cdc6ef3f3774172b3
[ "MIT" ]
5
2020-11-09T07:43:00.000Z
2021-12-02T14:59:37.000Z
# This is python2 version. def FizzBuzzWhizz(args): """args[0] = Fizz, Buzz, Whizz args[1]= 3, 5, 7""" def FBW(Number): return Number%args[1] and Number or args[0] return FBW def sayWhat(l_sayWhat,Number): return l_sayWhat.count(Number)<3 and "".join([s for s in l_sayWhat if type(s) is...
25.9375
100
0.616867
144
830
3.5
0.368056
0.047619
0.011905
0
0
0
0
0
0
0
0
0.039755
0.212048
830
32
101
25.9375
0.730887
0.028916
0
0
0
0
0.034806
0
0
0
0
0
0
0
null
null
0
0
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
46c39db6dd0b69722eb312b2a6c9c225e95716f4
3,022
py
Python
figures/perception/randomwalk.py
patricknaughton01/RoboticSystemsBook
0fc67cbccee0832b5f9b00d848c55697fa69bedf
[ "Apache-2.0" ]
116
2018-08-27T15:32:59.000Z
2022-02-28T10:41:37.000Z
figures/perception/randomwalk.py
patricknaughton01/RoboticSystemsBook
0fc67cbccee0832b5f9b00d848c55697fa69bedf
[ "Apache-2.0" ]
2
2021-05-04T12:56:40.000Z
2022-02-18T23:13:33.000Z
figures/perception/randomwalk.py
patricknaughton01/RoboticSystemsBook
0fc67cbccee0832b5f9b00d848c55697fa69bedf
[ "Apache-2.0" ]
29
2019-06-20T20:13:36.000Z
2022-02-20T14:01:34.000Z
import matplotlib.pyplot as plt import numpy as np from kalman import * def kf_trace(F,g,P,H,j,Q,Xmean,Xvar,Z): if not isinstance(F,np.ndarray): F = np.array([[F]]) if not isinstance(g,np.ndarray): g = np.array([g]) if not isinstance(P,np.ndarray): P = np.array([[P]]) if H is not None: if not i...
39.246753
113
0.657512
605
3,022
3.181818
0.180165
0.058182
0.07013
0.021818
0.413506
0.377662
0.282597
0.25039
0.25039
0.221299
0
0.043643
0.128061
3,022
76
114
39.763158
0.686907
0.020847
0
0.114286
0
0
0.06324
0
0
0
0
0
0
0
null
null
0
0.042857
null
null
0.042857
0
0
0
null
0
0
0
0
0
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
46c6c52458aed5ead8d1c69894d74a5069c08e0c
998
py
Python
mundo2/exercicio065.py
beatriznaimaite/Exercicios-Python-Curso-Em-Video
e4213c2054a67d7948aa9023f2f0f33ab7e8eb96
[ "MIT" ]
null
null
null
mundo2/exercicio065.py
beatriznaimaite/Exercicios-Python-Curso-Em-Video
e4213c2054a67d7948aa9023f2f0f33ab7e8eb96
[ "MIT" ]
null
null
null
mundo2/exercicio065.py
beatriznaimaite/Exercicios-Python-Curso-Em-Video
e4213c2054a67d7948aa9023f2f0f33ab7e8eb96
[ "MIT" ]
null
null
null
""" Crie um programa que leia vários números inteiros pelo teclado. No final da execução, mostre a média entre todos os valores e qual foi o maior e o menor valores lidos. O programa deve perguntar ao usuário se ele quer ou não continuar a digitar valores. """ resposta = 'S' cont = soma = maior = menor = media = 0 whi...
30.242424
106
0.614228
143
998
4.286713
0.482517
0.019576
0.035889
0.039152
0.137031
0.137031
0.137031
0.137031
0.137031
0.137031
0
0.008152
0.262525
998
32
107
31.1875
0.824728
0.252505
0
0.090909
0
0
0.252033
0
0
0
0
0.03125
0
1
0
false
0
0
0
0
0.136364
0
0
0
null
0
0
0
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
46cb93aa92bbe683bb38be532385096924e02464
915
py
Python
crawler/crawler/spiders/all_591_cities.py
eala/tw-rental-house-data
5f595e6bfac8cc85ddff0746b3ee6806e83dec3a
[ "MIT" ]
null
null
null
crawler/crawler/spiders/all_591_cities.py
eala/tw-rental-house-data
5f595e6bfac8cc85ddff0746b3ee6806e83dec3a
[ "MIT" ]
null
null
null
crawler/crawler/spiders/all_591_cities.py
eala/tw-rental-house-data
5f595e6bfac8cc85ddff0746b3ee6806e83dec3a
[ "MIT" ]
null
null
null
all_591_cities = [ { "city": "台北市", "id": "1" }, { "city": "新北市", "id": "3" }, { "city": "桃園市", "id": "6" }, { "city": "新竹市", "id": "4" }, { "city": "新竹縣", "id": "5" }, { "city": "基隆市", "id": "2" }, { "city": "宜蘭縣", "id": "21" }, { ...
10.517241
18
0.259016
87
915
2.701149
0.54023
0
0
0
0
0
0
0
0
0
0
0.069418
0.417486
915
86
19
10.639535
0.371482
0
0
0
0
0
0.243716
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
46d61300693e53921017fdd21edfe3a6e707f091
4,267
py
Python
mrtarget/common/Redis.py
pieterlukasse/data_pipeline-1
823645a36a999e76dc51584aa784f5f9e3f245e7
[ "Apache-2.0" ]
null
null
null
mrtarget/common/Redis.py
pieterlukasse/data_pipeline-1
823645a36a999e76dc51584aa784f5f9e3f245e7
[ "Apache-2.0" ]
null
null
null
mrtarget/common/Redis.py
pieterlukasse/data_pipeline-1
823645a36a999e76dc51584aa784f5f9e3f245e7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import base64 import simplejson as json from collections import Counter import jsonpickle from mrtarget.common import require_all from mrtarget.common.connection import new_redis_client jsonpickle.set_preferred_backend('simplejson') import logging import uuid import datet...
28.446667
81
0.65948
569
4,267
4.739895
0.307557
0.090842
0.036707
0.036337
0.299221
0.209121
0.15647
0.144605
0.077123
0.077123
0
0.008359
0.243028
4,267
149
82
28.637584
0.826625
0.134989
0
0.152174
0
0
0.026825
0.012721
0
0
0
0
0
1
0.195652
false
0.01087
0.195652
0.097826
0.597826
0
0
0
0
null
0
0
0
0
0
0
0
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
46d79143d42745acfc58bf24b940e5ad645fcc18
401
py
Python
project/app/migrations/0006_housing_description.py
ryan-lam/hackupc2021
2f63b47f831f3d6d01077a9bf2f94d9babe6bfce
[ "MIT" ]
null
null
null
project/app/migrations/0006_housing_description.py
ryan-lam/hackupc2021
2f63b47f831f3d6d01077a9bf2f94d9babe6bfce
[ "MIT" ]
null
null
null
project/app/migrations/0006_housing_description.py
ryan-lam/hackupc2021
2f63b47f831f3d6d01077a9bf2f94d9babe6bfce
[ "MIT" ]
2
2021-05-23T04:36:35.000Z
2021-05-27T04:27:04.000Z
# Generated by Django 3.2 on 2021-05-16 05:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0005_auto_20210515_1932'), ] operations = [ migrations.AddField( model_name='housing', name='description', ...
21.105263
67
0.603491
43
401
5.511628
0.837209
0
0
0
0
0
0
0
0
0
0
0.114187
0.279302
401
18
68
22.277778
0.705882
0.107232
0
0
1
0
0.134831
0.064607
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
46d8731739d55091c02beebba8b44113b38fd70d
13,068
py
Python
drizzlepac/haputils/make_poller_files.py
check-spelling/drizzlepac
19baaf5a416c72f272889800b13d251f33f76d2c
[ "BSD-3-Clause" ]
28
2016-08-16T04:16:32.000Z
2022-03-27T15:39:29.000Z
drizzlepac/haputils/make_poller_files.py
check-spelling/drizzlepac
19baaf5a416c72f272889800b13d251f33f76d2c
[ "BSD-3-Clause" ]
822
2016-03-10T01:19:28.000Z
2022-03-30T20:25:34.000Z
drizzlepac/haputils/make_poller_files.py
check-spelling/drizzlepac
19baaf5a416c72f272889800b13d251f33f76d2c
[ "BSD-3-Clause" ]
33
2016-03-16T19:18:03.000Z
2021-12-27T04:20:44.000Z
#!/usr/bin/env python """Generates a poller file that will be used as input to runsinglehap.py, hapsequencer.py, runmultihap.py or hapmultisequencer.py based on the files or rootnames listed user-specified list file. USAGE >>> python drizzlepac/haputils/make_poller_files.py <input filename> -[ost] - input fil...
54.224066
191
0.633762
1,712
13,068
4.726051
0.180491
0.065505
0.019281
0.016809
0.502781
0.430355
0.404771
0.396737
0.396737
0.379928
0
0.002382
0.261019
13,068
240
192
54.45
0.835456
0.38491
0
0.140625
1
0.03125
0.315769
0.0126
0
0
0
0
0
1
0.015625
false
0
0.046875
0
0.117188
0.039063
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
46dd367bc104a82f56c26623af9a311c62796d6c
3,932
py
Python
native/jni/external/selinux/python/sepolicy/sepolicy/templates/rw.py
Joyoe/Magisk-nosbin_magisk-nohide
449441921740bf85926c14f41b3532822ca0eb65
[ "MIT" ]
2
2022-01-16T00:59:54.000Z
2022-02-09T12:00:48.000Z
native/jni/external/selinux/python/sepolicy/sepolicy/templates/rw.py
Joyoe/Magisk-nosbin_magisk-nohide
449441921740bf85926c14f41b3532822ca0eb65
[ "MIT" ]
null
null
null
native/jni/external/selinux/python/sepolicy/sepolicy/templates/rw.py
Joyoe/Magisk-nosbin_magisk-nohide
449441921740bf85926c14f41b3532822ca0eb65
[ "MIT" ]
2
2022-02-09T12:00:39.000Z
2022-02-21T18:34:46.000Z
# Copyright (C) 2007-2012 Red Hat # see file 'COPYING' for use and warranty information # # policygentool is a tool for the initial generation of SELinux policy # # 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 ...
24.72956
81
0.653611
483
3,932
5.031056
0.289855
0.190123
0.179012
0.085597
0.584774
0.528395
0.499588
0.444033
0.383951
0.322634
0
0.010601
0.136317
3,932
158
82
24.886076
0.704947
0.240336
0
0.617391
0
0
0.920817
0.314941
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
46ebb2375f6354f283088526e6acc20b627eadfb
1,340
py
Python
rss/resources.py
victorchen796/reddit-submission-scraper
01401c6b35af8547eb9640e441a28633c38408bd
[ "MIT" ]
null
null
null
rss/resources.py
victorchen796/reddit-submission-scraper
01401c6b35af8547eb9640e441a28633c38408bd
[ "MIT" ]
null
null
null
rss/resources.py
victorchen796/reddit-submission-scraper
01401c6b35af8547eb9640e441a28633c38408bd
[ "MIT" ]
null
null
null
import json import os script_path = os.path.abspath(__file__) script_dir = os.path.split(script_path)[0] def get_config(): rel_path = 'resources/config.json' path = os.path.join(script_dir, rel_path) with open(path, 'r') as f: config = json.loads(f.read()) return config def get_submissions...
26.27451
63
0.671642
197
1,340
4.411168
0.172589
0.096663
0.080552
0.096663
0.700806
0.631761
0.631761
0.631761
0.631761
0.631761
0
0.003707
0.194776
1,340
51
64
26.27451
0.801668
0
0
0.486486
0
0
0.111857
0.107383
0
0
0
0
0
1
0.162162
false
0
0.054054
0
0.297297
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
46f05cf6545f1bd019299906868ea89580724e08
331
py
Python
lrthubcore/ratings/admin.py
xrojan/lrthub-core
757189942c87f7136fd1f1fee536375d248d8233
[ "BSD-3-Clause" ]
null
null
null
lrthubcore/ratings/admin.py
xrojan/lrthub-core
757189942c87f7136fd1f1fee536375d248d8233
[ "BSD-3-Clause" ]
null
null
null
lrthubcore/ratings/admin.py
xrojan/lrthub-core
757189942c87f7136fd1f1fee536375d248d8233
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from .models import Rating # Register your models here. @admin.register(Rating) class RatingAdmin(admin.ModelAdmin): date_hierarchy = 'created_on' search_fields = ['user_id__username', 'value'] list_display = ('user_id', 'value',) list_filter = ('user_id', 'value', 'is...
27.583333
52
0.719033
42
331
5.404762
0.666667
0.079295
0.096916
0
0
0
0
0
0
0
0
0
0.151057
331
11
53
30.090909
0.807829
0.07855
0
0
0
0
0.217822
0
0
0
0
0
0
1
0
false
0
0.25
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
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
46f2fb3f4a355efbd5abadbe36f9f51a55519a5b
20,406
py
Python
scitbx/math/tests/tst_gaussian.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
scitbx/math/tests/tst_gaussian.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
scitbx/math/tests/tst_gaussian.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import division from scitbx.examples import immoptibox_ports from scitbx.math import gaussian from scitbx.array_family import flex from libtbx.test_utils import approx_equal, eps_eq from libtbx.utils import format_cpu_times try: import cPickle as pickle except ImportError: import pickle from cString...
36.053004
79
0.653925
3,473
20,406
3.654477
0.131011
0.065868
0.100457
0.036874
0.540025
0.475654
0.413568
0.379609
0.326741
0.294595
0
0.16433
0.171567
20,406
565
80
36.116814
0.586454
0
0
0.330206
0
0
0.006518
0
0
0
0
0
0.255159
0
null
null
0
0.022514
null
null
0.005629
0
0
0
null
0
0
0
0
0
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
46f4ca2022403d4568c5fcb36b8d0df73945b02b
366
py
Python
accounts/migrations/0005_auto_20210104_0129.py
julesc00/CRM1
ec5955b2cb84e2bb7631bea7201bf6de1f8d8d4b
[ "MIT" ]
null
null
null
accounts/migrations/0005_auto_20210104_0129.py
julesc00/CRM1
ec5955b2cb84e2bb7631bea7201bf6de1f8d8d4b
[ "MIT" ]
null
null
null
accounts/migrations/0005_auto_20210104_0129.py
julesc00/CRM1
ec5955b2cb84e2bb7631bea7201bf6de1f8d8d4b
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2021-01-04 01:29 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0004_auto_20210103_1820'), ] operations = [ migrations.RenameField( model_name='order', old_name='products', ...
19.263158
48
0.587432
39
366
5.358974
0.820513
0
0
0
0
0
0
0
0
0
0
0.121094
0.300546
366
18
49
20.333333
0.695313
0.122951
0
0
1
0
0.159875
0.0721
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
46fa92d6b3fc162164fdf17f192beafbb5b9a007
1,227
py
Python
ppci/cli/yacc.py
jsdelivrbot/ppci-mirror
67195d628275e2332ceaf44c9e13fc58d0877157
[ "BSD-2-Clause" ]
null
null
null
ppci/cli/yacc.py
jsdelivrbot/ppci-mirror
67195d628275e2332ceaf44c9e13fc58d0877157
[ "BSD-2-Clause" ]
null
null
null
ppci/cli/yacc.py
jsdelivrbot/ppci-mirror
67195d628275e2332ceaf44c9e13fc58d0877157
[ "BSD-2-Clause" ]
null
null
null
""" Parser generator utility. This script can generate a python script from a grammar description. Invoke the script on a grammar specification file: .. code:: $ ppci-yacc test.x -o test_parser.py And use the generated parser by deriving a user class: .. code:: import test_parser class MyParser(test...
20.45
75
0.691932
158
1,227
5.21519
0.468354
0.036408
0.026699
0.046117
0.06068
0.06068
0
0
0
0
0
0
0.197229
1,227
59
76
20.79661
0.836548
0.484923
0
0.111111
1
0
0.080257
0
0
0
0
0
0
1
0.055556
false
0
0.166667
0
0.222222
0
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
46fc1f3a2a61d15198e5a0cff38cbad84fddfcdc
402
py
Python
authors/apps/profiles/migrations/0022_auto_20190123_1211.py
andela/ah-django-unchained
a4e5f6cd11fdc0b9422020693ac1200b849cf0f3
[ "BSD-3-Clause" ]
null
null
null
authors/apps/profiles/migrations/0022_auto_20190123_1211.py
andela/ah-django-unchained
a4e5f6cd11fdc0b9422020693ac1200b849cf0f3
[ "BSD-3-Clause" ]
26
2019-01-07T14:22:05.000Z
2019-02-28T17:11:48.000Z
authors/apps/profiles/migrations/0022_auto_20190123_1211.py
andela/ah-django-unchained
a4e5f6cd11fdc0b9422020693ac1200b849cf0f3
[ "BSD-3-Clause" ]
3
2019-09-19T22:16:09.000Z
2019-10-16T21:16:16.000Z
# Generated by Django 2.1.4 on 2019-01-23 12:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('profiles', '0021_auto_20190122_1723'), ] operations = [ migrations.AlterField( model_name='userprofile', name='bio',...
21.157895
63
0.606965
44
402
5.431818
0.863636
0
0
0
0
0
0
0
0
0
0
0.117241
0.278607
402
18
64
22.333333
0.706897
0.11194
0
0
1
0
0.126761
0.064789
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
2005c90121b8ada17b872ccdb477c07d716b48b8
444
py
Python
megnet/tests/test_losses.py
abdalazizrashid/megnet
8ad0fca246465bd57d66392f790c5310c610dfff
[ "BSD-3-Clause" ]
null
null
null
megnet/tests/test_losses.py
abdalazizrashid/megnet
8ad0fca246465bd57d66392f790c5310c610dfff
[ "BSD-3-Clause" ]
null
null
null
megnet/tests/test_losses.py
abdalazizrashid/megnet
8ad0fca246465bd57d66392f790c5310c610dfff
[ "BSD-3-Clause" ]
null
null
null
import unittest import numpy as np import tensorflow as tf from megnet.losses import mean_squared_error_with_scale class TestLosses(unittest.TestCase): def test_mse(self): x = np.array([0.1, 0.2, 0.3]) y = np.array([0.05, 0.15, 0.25]) loss = mean_squared_error_with_scale(x, y, scale=100)...
23.368421
73
0.657658
70
444
3.928571
0.542857
0.08
0.116364
0.145455
0.181818
0
0
0
0
0
0
0.0625
0.207207
444
18
74
24.666667
0.71875
0
0
0
0
0
0.018018
0
0
0
0
0
0.083333
1
0.083333
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
200d13d0ad19224b088e6f4e7f46fd1116b6eb06
525
py
Python
src/rust/iced-x86-py/src/iced_x86/CC_g.py
clayne/iced
dcd3db725b1137fec4d2bda9b17587cead49bf4d
[ "MIT" ]
1,018
2018-09-07T20:12:43.000Z
2021-01-17T18:41:10.000Z
src/rust/iced-x86-py/src/iced_x86/CC_g.py
clayne/iced
dcd3db725b1137fec4d2bda9b17587cead49bf4d
[ "MIT" ]
127
2018-09-07T19:33:48.000Z
2021-01-17T22:20:33.000Z
src/rust/iced-x86-py/src/iced_x86/CC_g.py
clayne/iced
dcd3db725b1137fec4d2bda9b17587cead49bf4d
[ "MIT" ]
146
2018-09-09T12:38:30.000Z
2021-01-18T23:37:11.000Z
# SPDX-License-Identifier: MIT # Copyright (C) 2018-present iced project and contributors # ⚠️This file was generated by GENERATOR!🦹‍♂️ # pylint: disable=invalid-name # pylint: disable=line-too-long # pylint: disable=too-many-lines """ Mnemonic condition code selector (eg. ``JG`` / ``JNLE``) """ import typing if t...
18.75
58
0.655238
76
525
4.5
0.736842
0.035088
0
0
0
0
0
0
0
0
0
0.017978
0.152381
525
27
59
19.444444
0.737079
0.577143
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
20108249c7501a803109aa38a4367c232811fb45
6,491
py
Python
uis/horsy_package.py
horsy-ml/horsy
1161df2e83c201784ea674bd1d53e76831b15a0f
[ "MIT" ]
null
null
null
uis/horsy_package.py
horsy-ml/horsy
1161df2e83c201784ea674bd1d53e76831b15a0f
[ "MIT" ]
null
null
null
uis/horsy_package.py
horsy-ml/horsy
1161df2e83c201784ea674bd1d53e76831b15a0f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'D:\RAZNOE\prgrming\horsy\Source\client\uis\horsy_package.ui' # # Created by: PyQt5 UI code generator 5.15.6 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know wha...
52.346774
278
0.706671
836
6,491
5.339713
0.287081
0.035842
0.044355
0.043011
0.301971
0.240143
0.183692
0.12948
0.12948
0.12948
0
0.050054
0.147435
6,491
123
279
52.772358
0.756596
0.049453
0
0.168224
1
0
0.299578
0.007303
0
0
0
0
0
1
0.018692
false
0
0.018692
0
0.046729
0
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
201150abd59f44043c0cf22c47036ec2f4759cde
871
py
Python
day11/test_lib.py
heijp06/AoC-2021
f6afead5e1fe9a839d608a5792f84e54803742c1
[ "MIT" ]
null
null
null
day11/test_lib.py
heijp06/AoC-2021
f6afead5e1fe9a839d608a5792f84e54803742c1
[ "MIT" ]
null
null
null
day11/test_lib.py
heijp06/AoC-2021
f6afead5e1fe9a839d608a5792f84e54803742c1
[ "MIT" ]
null
null
null
import pytest from lib import flashing_neighbours, part1, part2 def test_part1(): assert part1(data) == 1656 def test_part2(): assert part2(data) == 195 @pytest.mark.parametrize("steps", range(1, 3)) def test_part1_small(steps): assert part1(small, steps=1) == 9 @pytest.mark.parametrize(("grid", "ex...
17.078431
75
0.614237
102
871
5.107843
0.480392
0.080614
0.069098
0.049904
0
0
0
0
0
0
0
0.242733
0.210103
871
50
76
17.42
0.514535
0
0
0.057143
0
0
0.173364
0
0
0
0
0
0.171429
1
0.171429
false
0
0.057143
0
0.228571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2013ed9ff566c0c9215f3514a117ffdd2d27c869
529
py
Python
src/Python/01_Interakcja_z_konsola/Zad7.py
djeada/Nauka-programowania
b1eb6840c15b830acf552f0a0fc5cc692759152f
[ "MIT" ]
3
2020-09-19T21:38:30.000Z
2022-03-30T11:02:26.000Z
src/Python/01_Interakcja_z_konsola/Zad7.py
djeada/Nauka-programowania
b1eb6840c15b830acf552f0a0fc5cc692759152f
[ "MIT" ]
null
null
null
src/Python/01_Interakcja_z_konsola/Zad7.py
djeada/Nauka-programowania
b1eb6840c15b830acf552f0a0fc5cc692759152f
[ "MIT" ]
1
2022-02-04T09:13:20.000Z
2022-02-04T09:13:20.000Z
if __name__ == "__main__": """ Pobierz podstawe i wysokosc trojkata i wypisz pole. """ print("podaj podstawe i wysokosc trojkata:") a = int(input()) h = int(input()) print( "pole trojkata o podstawie ", a, " i wysokosci ", h, " jest rowne ", a * h / 2 ) """ Pobierz dlu...
20.346154
86
0.561437
67
529
4.313433
0.41791
0.110727
0.117647
0.17301
0.145329
0
0
0
0
0
0
0.002667
0.291115
529
25
87
21.16
0.768
0
0
0.181818
0
0
0.411911
0
0
0
0
0
0
1
0
false
0
0
0
0
0.363636
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
201969c88f34f0fa220bab32fdd8cbaf6e2e16f3
2,689
py
Python
ca_node/scripts/ranking_controller.py
hidmic/create_autonomy
3aec14c9a6aa2d9a7b817d119bfb82b089e60219
[ "BSD-3-Clause" ]
null
null
null
ca_node/scripts/ranking_controller.py
hidmic/create_autonomy
3aec14c9a6aa2d9a7b817d119bfb82b089e60219
[ "BSD-3-Clause" ]
4
2019-10-24T17:19:50.000Z
2020-02-20T01:06:27.000Z
ca_node/scripts/ranking_controller.py
hidmic/create_autonomy
3aec14c9a6aa2d9a7b817d119bfb82b089e60219
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import rospy import threading from ca_msgs.msg import Bumper from geometry_msgs.msg import Twist, Vector3 class StateMachine(object): def __init__(self): self.pub = rospy.Publisher("/cmd_vel", Twist, queue_size=10) self.goal_queue = [] def rotate(self, ang_vel): self.move(0., an...
29.549451
92
0.664559
387
2,689
4.405685
0.260982
0.046921
0.076246
0.066862
0.328446
0.253959
0.253959
0.235777
0.166569
0.166569
0
0.014579
0.183711
2,689
90
93
29.877778
0.762187
0.020454
0
0.173913
0
0
0.088593
0
0
0
0
0
0
1
0.217391
false
0
0.057971
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
201f3558e4dbdd368aeeee6e9f098d5308313493
235
py
Python
music/filename.py
JohanLi/uncharted-waters-2-research
fe6d40a28baed38e894a301da85a80c89e7153fa
[ "MIT" ]
null
null
null
music/filename.py
JohanLi/uncharted-waters-2-research
fe6d40a28baed38e894a301da85a80c89e7153fa
[ "MIT" ]
null
null
null
music/filename.py
JohanLi/uncharted-waters-2-research
fe6d40a28baed38e894a301da85a80c89e7153fa
[ "MIT" ]
null
null
null
import os path = './converted/' for filename in os.listdir(path): newFilename = filename.lower().replace(' ', '-').replace('’', '') os.rename(path + filename, path + newFilename.lower()) then = os.listdir(path) print(then)
19.583333
69
0.642553
28
235
5.392857
0.5
0.119205
0.172185
0
0
0
0
0
0
0
0
0
0.157447
235
11
70
21.363636
0.762626
0
0
0
0
0
0.06383
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
2020fcd0b6330a2f620511b1f0629988385a2358
2,792
py
Python
django_rest_resetpassword/tests.py
fasfoxcom/django-rest-resetpassword
b459c44f4ff426b190cb7303b32a23bf7b06b823
[ "MIT" ]
4
2020-01-14T14:25:57.000Z
2021-03-21T10:51:48.000Z
django_rest_resetpassword/tests.py
fasfoxcom/django-rest-resetpassword
b459c44f4ff426b190cb7303b32a23bf7b06b823
[ "MIT" ]
3
2020-09-16T14:09:58.000Z
2021-03-07T10:53:29.000Z
django_rest_resetpassword/tests.py
fasfoxcom/django-rest-resetpassword
b459c44f4ff426b190cb7303b32a23bf7b06b823
[ "MIT" ]
3
2020-04-07T10:11:39.000Z
2022-03-07T04:25:33.000Z
from django.conf import settings from django.contrib.auth.models import User from django.urls import reverse from rest_framework.test import APITestCase class BaseAPITest(APITestCase): def setUp(self, password=None) -> None: self.user = User(username="John Smith", email="john@example.com") self.us...
47.322034
98
0.69735
355
2,792
5.357746
0.225352
0.070978
0.108833
0.057834
0.634069
0.577287
0.577287
0.577287
0.577287
0.577287
0
0.009388
0.198782
2,792
58
99
48.137931
0.840858
0.085244
0
0.543478
0
0
0.196863
0.043137
0
0
0
0
0.195652
1
0.108696
false
0.369565
0.086957
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
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
2020fead74782498dcbbc501d6a342b6a06a76e1
948
py
Python
day2/netmiko_ex1rudy.py
rudy5rudy/pynet-ons-feb19
1fa0b30af35aaae73ced2f77c04ab1cb5f2ac5fc
[ "Apache-2.0" ]
null
null
null
day2/netmiko_ex1rudy.py
rudy5rudy/pynet-ons-feb19
1fa0b30af35aaae73ced2f77c04ab1cb5f2ac5fc
[ "Apache-2.0" ]
null
null
null
day2/netmiko_ex1rudy.py
rudy5rudy/pynet-ons-feb19
1fa0b30af35aaae73ced2f77c04ab1cb5f2ac5fc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """Exercises using Netmiko""" from __future__ import print_function from getpass import getpass from netmiko import ConnectHandler #def save_file(filename, show_run): # """Save the show run to a file""" # with open(filename, "w") as f: # f.write(show_run) def main(): """Exerci...
21.066667
48
0.64135
120
948
4.916667
0.416667
0.083051
0.071186
0.064407
0.376271
0.271186
0.271186
0.271186
0.271186
0.271186
0
0.00813
0.221519
948
44
49
21.545455
0.791328
0.264768
0
0.090909
0
0
0.136296
0
0
0
0
0
0
1
0.090909
false
0.136364
0.136364
0
0.227273
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
20214e44beff67803045cc13f9f17cbaa929c06c
326
py
Python
tests/test_pytorch.py
szymonmaszke/torchtraining
1ddf169325b7239d6d6686b20072a406b69a0180
[ "MIT" ]
3
2020-08-26T06:11:58.000Z
2020-08-27T08:11:15.000Z
tests/test_pytorch.py
klaudiapalasz/torchtraining
7ac54009eea2fd84aa635b6f3cbfe306f317d087
[ "MIT" ]
1
2020-08-25T19:19:43.000Z
2020-08-25T19:19:43.000Z
tests/test_pytorch.py
klaudiapalasz/torchtraining
7ac54009eea2fd84aa635b6f3cbfe306f317d087
[ "MIT" ]
1
2021-04-15T18:55:57.000Z
2021-04-15T18:55:57.000Z
"""Core pytorch operations regarding optimization (optimize, schedule) are placed in general tests.""" import pytest import torch import torchtraining.pytorch as P def test_backward(): backward = P.Backward() x = torch.randn(10, requires_grad=True) y = x ** 2 backward(y.sum()) assert x.grad is not...
25.076923
102
0.708589
46
326
4.978261
0.73913
0
0
0
0
0
0
0
0
0
0
0.011364
0.190184
326
12
103
27.166667
0.856061
0.294479
0
0
0
0
0
0
0
0
0
0
0.111111
1
0.111111
false
0
0.333333
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2037cfe78c4cb57f5b145bb1327426566cfe164f
8,190
py
Python
slack_sdk/scim/v1/user.py
priya1puresoftware/python-slack-sdk
3503182feaaf4d41b57fd8bf10038ebc99f1f3c7
[ "MIT" ]
2,486
2016-11-03T14:31:43.000Z
2020-10-26T23:07:44.000Z
slack_sdk/scim/v1/user.py
priya1puresoftware/python-slack-sdk
3503182feaaf4d41b57fd8bf10038ebc99f1f3c7
[ "MIT" ]
721
2016-11-03T21:26:56.000Z
2020-10-26T12:41:29.000Z
slack_sdk/scim/v1/user.py
priya1puresoftware/python-slack-sdk
3503182feaaf4d41b57fd8bf10038ebc99f1f3c7
[ "MIT" ]
627
2016-11-02T19:04:19.000Z
2020-10-25T19:21:13.000Z
from typing import Optional, Any, List, Dict, Union from .default_arg import DefaultArg, NotGiven from .internal_utils import _to_dict_without_not_given, _is_iterable from .types import TypeAndValue class UserAddress: country: Union[Optional[str], DefaultArg] locality: Union[Optional[str], DefaultArg] po...
33.842975
86
0.627961
900
8,190
5.548889
0.097778
0.1666
0.134561
0.218662
0.672407
0.468162
0.330396
0.324189
0.304966
0.27533
0
0
0.264713
8,190
241
87
33.983402
0.829293
0.012576
0
0.326923
0
0
0.007428
0.005199
0
0
0
0
0
1
0.0625
false
0.014423
0.019231
0.033654
0.341346
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
2049a81f1692b22d6927802aa4aae5e254614b90
664
py
Python
minilabs/test-hypothesis-by-simulating-statistics/m7_l1_tests/q2.py
ebaccay/inferentialthinking
9f839c76062169b9de498c1e044f668e7517ee94
[ "MIT" ]
1
2022-02-24T20:32:17.000Z
2022-02-24T20:32:17.000Z
minilabs/test-hypothesis-by-simulating-statistics/m7_l1_tests/q2.py
ebaccay/inferentialthinking
9f839c76062169b9de498c1e044f668e7517ee94
[ "MIT" ]
null
null
null
minilabs/test-hypothesis-by-simulating-statistics/m7_l1_tests/q2.py
ebaccay/inferentialthinking
9f839c76062169b9de498c1e044f668e7517ee94
[ "MIT" ]
3
2021-03-04T06:44:47.000Z
2021-05-05T06:00:33.000Z
test = { "name": "q2", "points": 1, "hidden": True, "suites": [ { "cases": [ { "code": r""" >>> sample_population(test_results).num_rows 3000 """, "hidden": False, "locked": False, }, { "code": r""" >>> "Test Result" in sample_population(test_results).labe...
17.025641
78
0.460843
61
664
4.901639
0.606557
0.050167
0.170569
0.220736
0.180602
0.180602
0
0
0
0
0
0.026726
0.323795
664
39
79
17.025641
0.639198
0
0
0.307692
0
0
0.52782
0.169925
0
0
0
0
0
1
0
false
0
0
0
0
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
2052abf9b427d7f9d0208d82b5b74f383c928ce5
455
py
Python
inventory/admin.py
Riphiphip/website
dc5bf64f24d5cf78661686af0281705f4d1d2576
[ "MIT" ]
null
null
null
inventory/admin.py
Riphiphip/website
dc5bf64f24d5cf78661686af0281705f4d1d2576
[ "MIT" ]
null
null
null
inventory/admin.py
Riphiphip/website
dc5bf64f24d5cf78661686af0281705f4d1d2576
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Item @admin.register(Item) class ItemAdmin(admin.ModelAdmin): fieldsets = [ ('Item', { 'fields': [ 'name', 'stock', 'description', 'thumbnail' ] }), (...
18.958333
34
0.382418
29
455
5.965517
0.689655
0.115607
0
0
0
0
0
0
0
0
0
0
0.487912
455
23
35
19.782609
0.742489
0
0
0.272727
0
0
0.127473
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.227273
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
2053cab2dbdb69606035ee74c6e1b50faa72a65b
14,806
py
Python
a4plot/python/rooplot/stacks/stacks.py
a4/a4
e1de89260cb3894908f1d01dfacea125abc79da9
[ "BSL-1.0" ]
4
2015-04-07T20:25:16.000Z
2019-04-27T15:04:02.000Z
a4plot/python/rooplot/stacks/stacks.py
a4/a4
e1de89260cb3894908f1d01dfacea125abc79da9
[ "BSL-1.0" ]
null
null
null
a4plot/python/rooplot/stacks/stacks.py
a4/a4
e1de89260cb3894908f1d01dfacea125abc79da9
[ "BSL-1.0" ]
1
2021-06-02T17:22:35.000Z
2021-06-02T17:22:35.000Z
from ROOT import gROOT, gStyle, Double from ROOT import TLegend, TLatex, TCanvas, THStack, TLine, TBox from ROOT import kYellow, kBlack, kWhite, kRed, kWhite, kOrange import os import random from colors import set_color_1D, set_color_2D, set_data_style, set_MCTotal_style, set_signal_style_1D tsize = 0.06 tyoffset = ...
33.881007
199
0.575645
2,083
14,806
4.003361
0.181469
0.025183
0.01403
0.011512
0.253508
0.135028
0.094975
0.051205
0.035376
0.026022
0
0.043292
0.291706
14,806
436
200
33.958716
0.751883
0.119344
0
0.179104
0
0
0.022183
0
0
0
0
0
0
0
null
null
0.002985
0.020896
null
null
0.002985
0
0
0
null
0
0
0
0
0
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
205a30215e693e91361fba6a10043eebc790a8b7
278
py
Python
web/setup.py
ISTU-Labs/pt-2271-2018
4b35f9265420604a6c0d83e5af83936674448185
[ "Apache-2.0" ]
null
null
null
web/setup.py
ISTU-Labs/pt-2271-2018
4b35f9265420604a6c0d83e5af83936674448185
[ "Apache-2.0" ]
null
null
null
web/setup.py
ISTU-Labs/pt-2271-2018
4b35f9265420604a6c0d83e5af83936674448185
[ "Apache-2.0" ]
null
null
null
from setuptools import setup requires = [ 'pyramid', 'waitress', 'python-dateutil' ] setup(name='hello', install_requires=requires, package_dir={'': "hello"}, entry_points="""\ [paste.app_factory] main = hello:main """, )
16.352941
32
0.564748
26
278
5.884615
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.280576
278
16
33
17.375
0.765
0
0
0
0
0
0.352518
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
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
6447640aa52e97e82796d679333b4a3d179ae7bb
24,311
py
Python
ryu/ryu/app/Ryuretic/Ryuretic_Intf_v6.py
Ryuretic/RAP
7b0e58af7d8a932770e3c7f7620024e16992b531
[ "Apache-2.0" ]
2
2019-09-16T17:52:31.000Z
2021-06-24T17:45:01.000Z
ryu/ryu/app/Ryuretic/Ryuretic_Intf_v6.py
Ryuretic/RAP
7b0e58af7d8a932770e3c7f7620024e16992b531
[ "Apache-2.0" ]
null
null
null
ryu/ryu/app/Ryuretic/Ryuretic_Intf_v6.py
Ryuretic/RAP
7b0e58af7d8a932770e3c7f7620024e16992b531
[ "Apache-2.0" ]
3
2019-09-23T07:21:40.000Z
2021-03-03T13:24:25.000Z
######################################################################### # Ryuretic: A Modular Framework for RYU # # !/ryu/ryu/app/Ryuretic/Ryuretic_Intf.py # # Authors: # # Jacob Cox (jcox70@gatech.edu) ...
37.003044
87
0.569948
3,140
24,311
4.324522
0.146178
0.051035
0.03255
0.022093
0.393328
0.3012
0.24965
0.207747
0.173356
0.139922
0
0.01131
0.192629
24,311
656
88
37.059451
0.680507
0.238493
0
0.314904
0
0
0.201075
0.018624
0
0
0.001099
0
0
0
null
null
0.012019
0.004808
null
null
0.158654
0
0
0
null
0
0
0
0
0
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
64487297478b72747418471787c1d20d2191f34f
510
py
Python
vpn-proxy/app/migrations/0005_tunnel_protocol.py
dimrozakis/priv-net
3eadea10c3b437ea82d8233579b31f60eaac51b1
[ "Apache-2.0" ]
null
null
null
vpn-proxy/app/migrations/0005_tunnel_protocol.py
dimrozakis/priv-net
3eadea10c3b437ea82d8233579b31f60eaac51b1
[ "Apache-2.0" ]
null
null
null
vpn-proxy/app/migrations/0005_tunnel_protocol.py
dimrozakis/priv-net
3eadea10c3b437ea82d8233579b31f60eaac51b1
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-08-01 13:16 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0004_remove_forwarding_src_addr'), ] operations = [ migrations.AddFie...
24.285714
106
0.605882
58
510
5.137931
0.810345
0
0
0
0
0
0
0
0
0
0
0.054545
0.245098
510
20
107
25.5
0.719481
0.131373
0
0
1
0
0.143182
0.070455
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
644fa6c7575de74309c593d18054afd49f392625
1,343
py
Python
mhvdb2/models.py
kjnsn/mhvdb2
ce3fc77f76ca32e2aaeff928b291cc45d041b68f
[ "MIT" ]
null
null
null
mhvdb2/models.py
kjnsn/mhvdb2
ce3fc77f76ca32e2aaeff928b291cc45d041b68f
[ "MIT" ]
null
null
null
mhvdb2/models.py
kjnsn/mhvdb2
ce3fc77f76ca32e2aaeff928b291cc45d041b68f
[ "MIT" ]
null
null
null
from mhvdb2 import database from peewee import * class BaseModel(Model): class Meta: database = database class Entity(BaseModel): """ An Entity sends money to the organisation or recieves money from the organistaion. Members are a special type of entity. """ is_member = BooleanField(...
35.342105
78
0.696947
170
1,343
5.464706
0.5
0.06028
0.054898
0.067815
0.073197
0.073197
0.073197
0
0
0
0
0.00286
0.218913
1,343
37
79
36.297297
0.882745
0.392405
0
0
0
0
0.033943
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.954545
0
0
0
0
null
0
0
0
0
0
0
0
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
6459d5e70633b4a25bd89627161b0973bbe59d67
3,382
py
Python
run_w2v.py
hugochan/K-Competitive-Autoencoder-for-Text-Analytics
5433de649028a4e021b8ad17cd0ec5da8c726031
[ "BSD-3-Clause" ]
133
2017-05-30T20:28:24.000Z
2022-03-10T01:27:43.000Z
run_w2v.py
hugochan/K-Competitive-Autoencoder-for-Text-Analytics
5433de649028a4e021b8ad17cd0ec5da8c726031
[ "BSD-3-Clause" ]
34
2017-09-04T08:04:50.000Z
2022-02-10T01:12:17.000Z
run_w2v.py
hugochan/K-Competitive-Autoencoder-for-Text-Analytics
5433de649028a4e021b8ad17cd0ec5da8c726031
[ "BSD-3-Clause" ]
49
2017-07-08T09:30:17.000Z
2021-07-30T04:37:29.000Z
''' Created on Jan, 2017 @author: hugo ''' from __future__ import absolute_import import argparse from os import path import timeit import numpy as np from autoencoder.baseline.word2vec import Word2Vec, save_w2v, load_w2v from autoencoder.baseline.doc_word2vec import doc_word2vec from autoencoder.utils.io_utils impo...
44.5
146
0.715257
472
3,382
4.974576
0.275424
0.042164
0.079642
0.03322
0.202726
0.141397
0.103066
0.079216
0.051959
0.051959
0
0.011942
0.15819
3,382
75
147
45.093333
0.812785
0.160556
0
0
0
0
0.202873
0
0
0
0
0
0
0
null
null
0
0.215686
null
null
0.019608
0
0
0
null
0
0
0
0
0
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
645b1f549815ff06f8102522d4899632169c198c
713
py
Python
code/udls/datasets/sol_string.py
acids-ircam/lottery_mir
1440d717d7fd688ac43c1a406602aaf2d5a3842d
[ "MIT" ]
10
2020-07-29T23:12:15.000Z
2022-03-23T16:27:43.000Z
code/udls/datasets/sol_string.py
acids-ircam/lottery_mir
1440d717d7fd688ac43c1a406602aaf2d5a3842d
[ "MIT" ]
null
null
null
code/udls/datasets/sol_string.py
acids-ircam/lottery_mir
1440d717d7fd688ac43c1a406602aaf2d5a3842d
[ "MIT" ]
1
2022-02-06T11:42:28.000Z
2022-02-06T11:42:28.000Z
from .. import DomainAdaptationDataset, SimpleDataset SolV4folders = [ "/fast-2/datasets/Solv4_strings_wav/audio/Cello", "/fast-2/datasets/Solv4_strings_wav/audio/Contrabass", "/fast-2/datasets/Solv4_strings_wav/audio/Violin", "/fast-2/datasets/Solv4_strings_wav/audio/Viola" ] def Solv4Strings_Domain...
37.526316
78
0.734923
73
713
6.876712
0.369863
0.039841
0.103586
0.143426
0.657371
0.657371
0.486056
0.223108
0
0
0
0.03204
0.168303
713
18
79
39.611111
0.814503
0
0
0.153846
0
0
0.280505
0.26648
0
0
0
0
0
1
0.153846
false
0
0.076923
0.153846
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
646208f0693f4cb46abcaf9ae8ce2a78afead206
2,205
py
Python
loaner/deployments/lib/password.py
gng-demo/travisfix
6d64de6dac44d89059eb92f76410fdcc2d41a247
[ "Apache-2.0" ]
175
2018-03-28T20:33:39.000Z
2022-03-27T06:02:39.000Z
loaner/deployments/lib/password.py
gng-demo/travisfix
6d64de6dac44d89059eb92f76410fdcc2d41a247
[ "Apache-2.0" ]
111
2018-05-22T18:50:59.000Z
2022-01-23T23:11:15.000Z
loaner/deployments/lib/password.py
gng-demo/travisfix
6d64de6dac44d89059eb92f76410fdcc2d41a247
[ "Apache-2.0" ]
70
2018-03-30T01:52:06.000Z
2021-10-13T11:20:10.000Z
# Copyright 2018 Google Inc. 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 required by applicable law or a...
29.4
80
0.711111
300
2,205
5.126667
0.476667
0.039012
0.031209
0.037061
0.06632
0.031209
0
0
0
0
0
0.014723
0.199093
2,205
74
81
29.797297
0.856172
0.386848
0
0
0
0
0.420091
0.056317
0
0
0
0
0
1
0.027027
false
0.297297
0.162162
0
0.216216
0.027027
0
0
0
null
0
0
0
0
0
0
0
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
64628052cc79203f1662d5c3075c0ef300636aa0
732
py
Python
debug/test_call.py
ccj5351/hmr_rgbd
d1dcf81d72c11e1f502f2c494cd86425f384d9cc
[ "MIT" ]
null
null
null
debug/test_call.py
ccj5351/hmr_rgbd
d1dcf81d72c11e1f502f2c494cd86425f384d9cc
[ "MIT" ]
1
2020-12-09T07:29:00.000Z
2020-12-09T07:29:00.000Z
debug/test_call.py
ccj5351/hmr_rgbd
d1dcf81d72c11e1f502f2c494cd86425f384d9cc
[ "MIT" ]
null
null
null
# !/usr/bin/env python3 # -*-coding:utf-8-*- # @file: test_call.py # @brief: # @author: Changjiang Cai, ccai1@stevens.edu, caicj5351@gmail.com # @version: 0.0.1 # @creation date: 09-07-2019 # @last modified: Tue 09 Jul 2019 07:09:07 PM EDT class Stuff(object): def __init__(self, x, y, rge): super(Stuff, s...
20.333333
65
0.546448
115
732
3.226087
0.530435
0.080863
0.048518
0.053908
0.06469
0.06469
0
0
0
0
0
0.075435
0.293716
732
35
66
20.914286
0.642166
0.304645
0
0.2
0
0
0.078
0
0
0
0
0
0
0
null
null
0
0
null
null
0.15
0
0
0
null
0
0
0
0
0
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
6479a0308b3995ce53fc23a94f0f47e1afdd3615
3,846
py
Python
usfm_references/__init__.py
anthonyraj/usfm-references
e0e2cc804545b029df55f9780c1361a8a2702f9c
[ "MIT" ]
null
null
null
usfm_references/__init__.py
anthonyraj/usfm-references
e0e2cc804545b029df55f9780c1361a8a2702f9c
[ "MIT" ]
null
null
null
usfm_references/__init__.py
anthonyraj/usfm-references
e0e2cc804545b029df55f9780c1361a8a2702f9c
[ "MIT" ]
null
null
null
""" USFM References Tools """ import re __version__ = '1.1.0' ANY_REF = re.compile(r'^[1-9A-Z]{3}\.([0-9]{1,3}(_[0-9]+)?(\.[0-9]{1,3})?|INTRO\d+)$') CHAPTER = re.compile(r'^[1-6A-Z]{3}\.[0-9]{1,3}(_[0-9]+)?$') CHAPTER_OR_INTRO = re.compile(r'^[1-9A-Z]{3}\.([0-9]{1,3}(_[0-9]+)?|INTRO\d+)$') SINGLE_CHAPTER_OR_VERSE = r...
46.337349
99
0.606084
600
3,846
3.833333
0.296667
0.065217
0.062174
0.096087
0.675217
0.666522
0.666522
0.666522
0.656087
0.61087
0
0.036665
0.198648
3,846
82
100
46.902439
0.709604
0.50806
0
0
0
0.172414
0.311008
0.132207
0
0
0
0
0
1
0.172414
false
0
0.034483
0
0.413793
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