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
4ac5a776b5f5eacb3f37c7720ac477d185a557a9
825
py
Python
programming_lesson1/problem4.py
zhazhijibaba/zhazhijibaba_programming_lessons
124bd0166796ee3af947917c84e00679274100ca
[ "MIT" ]
null
null
null
programming_lesson1/problem4.py
zhazhijibaba/zhazhijibaba_programming_lessons
124bd0166796ee3af947917c84e00679274100ca
[ "MIT" ]
null
null
null
programming_lesson1/problem4.py
zhazhijibaba/zhazhijibaba_programming_lessons
124bd0166796ee3af947917c84e00679274100ca
[ "MIT" ]
null
null
null
# coding=utf-8 # 窃取前人成果,站在巨人的肩膀上 # 应用现成的画图工具turtle from turtle import * # Recursive function to draw a tree # 画一棵树的工具(函数),先画树干,再画树枝 def drawTree(): # 画主树干,长75 forward(75) # draw left branch # 调整树枝角度20度 left(20) # 然后先画左边的树枝,长60 forward(60) # 退回主树干 backward(60) # Draw right branch...
15.566038
40
0.626667
99
825
5.222222
0.636364
0.065764
0.034816
0.065764
0.104449
0.104449
0
0
0
0
0
0.065217
0.275152
825
52
41
15.865385
0.799331
0.511515
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.105263
true
0
0.052632
0
0.157895
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
4ac71961c942b4acf1a8487826219ad2db5ba13a
1,020
py
Python
tests/data/test.py
JulienCriss/codetalker
e94c694ab1969bedea976799727d8757a060ba4c
[ "MIT" ]
26
2015-01-05T02:58:25.000Z
2021-08-23T14:42:22.000Z
tests/data/test.py
JulienCriss/codetalker
e94c694ab1969bedea976799727d8757a060ba4c
[ "MIT" ]
5
2015-10-14T22:29:02.000Z
2019-07-15T16:21:10.000Z
tests/data/test.py
JulienCriss/codetalker
e94c694ab1969bedea976799727d8757a060ba4c
[ "MIT" ]
13
2015-02-16T20:24:33.000Z
2019-07-15T06:20:35.000Z
#!/usr/bin/env python from codetalker import parser from codetalker.bnf import c def main(): text = open(os.path.join(os.path.dirname(__file__),'hanoi.c')).read() small = '1 2 manhatten; ()' nodes, i, const = parser.parse(small, c.tokens) if len(nodes)!=1: print 'bad node length',nodes ...
26.842105
78
0.580392
151
1,020
3.84106
0.410596
0.060345
0.068966
0.051724
0.513793
0.437931
0.437931
0.437931
0.437931
0.437931
0
0.018568
0.260784
1,020
37
79
27.567568
0.750663
0.038235
0
0.5
0
0
0.198161
0.035751
0
0
0
0
0
0
null
null
0
0.1
null
null
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
43497b5978edbcc4217ed83ce13b2b9328b96213
2,296
py
Python
ch9/kmeans.py
aidiary/PRML
db2dfc10bd39dc5649528d3778aa5fffb283186b
[ "MIT" ]
93
2016-04-17T16:07:57.000Z
2021-05-29T09:19:12.000Z
ch9/kmeans.py
sojvai/PRML
db2dfc10bd39dc5649528d3778aa5fffb283186b
[ "MIT" ]
null
null
null
ch9/kmeans.py
sojvai/PRML
db2dfc10bd39dc5649528d3778aa5fffb283186b
[ "MIT" ]
55
2016-03-12T15:03:57.000Z
2022-01-09T02:34:54.000Z
#coding:utf-8 import numpy as np from pylab import * """ K-meansアルゴリズム """ K = 4 # クラスターの数(固定) def scale(X): """データ行列Xを属性ごとに標準化したデータを返す""" # 属性の数(=列の数) col = X.shape[1] # 属性ごとに平均値と標準偏差を計算 mu = np.mean(X, axis=0) sigma = np.std(X, axis=0) # 属性ごとデータを標準化 for i in range(col): X...
22.291262
65
0.465592
323
2,296
3.275542
0.321981
0.072779
0.034026
0.062382
0.1862
0.092628
0.037807
0.037807
0
0
0
0.034507
0.381533
2,296
102
66
22.509804
0.710563
0.115418
0
0.140625
0
0
0.015996
0
0
0
0
0
0
0
null
null
0
0.03125
null
null
0.015625
0
0
0
null
0
0
0
0
0
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
43509d6ad6651a4505836730cf111dad1904d14e
5,888
py
Python
scripts/eval_conditioned_generation.py
gsarti/ETC-NLG
a54c4687ccd25ab5f651e163376301f0db3dcca5
[ "MIT" ]
6
2020-11-10T03:24:30.000Z
2022-01-16T13:47:32.000Z
scripts/eval_conditioned_generation.py
gsarti/ETC-NLG
a54c4687ccd25ab5f651e163376301f0db3dcca5
[ "MIT" ]
null
null
null
scripts/eval_conditioned_generation.py
gsarti/ETC-NLG
a54c4687ccd25ab5f651e163376301f0db3dcca5
[ "MIT" ]
1
2021-04-14T05:48:10.000Z
2021-04-14T05:48:10.000Z
""" Produce the confusion matrix between conditioning labels used for PPLM generation (gold) and prediction on generated sequences performed by the same topic model used for training the conditioning discriminator. We use this as a measure of how coherent is generation w.r.t the conditioning topic, regardless of topic ...
41.758865
145
0.680537
799
5,888
4.83229
0.331665
0.02331
0.04403
0.043512
0.112147
0.102823
0.048433
0
0
0
0
0.007439
0.200917
5,888
140
146
42.057143
0.813177
0.066746
0
0.164063
1
0.03125
0.404155
0.089832
0
0
0
0
0
1
0.007813
false
0
0.078125
0
0.085938
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
4352249e7e2f405d112d1958c2c9475bd8f769ec
4,074
py
Python
modules/devices/fortinet.py
FluentTradeTechnologies/netconfigit
b30f00b71b04b429a9be7c693d47be4d3f64b557
[ "MIT" ]
null
null
null
modules/devices/fortinet.py
FluentTradeTechnologies/netconfigit
b30f00b71b04b429a9be7c693d47be4d3f64b557
[ "MIT" ]
null
null
null
modules/devices/fortinet.py
FluentTradeTechnologies/netconfigit
b30f00b71b04b429a9be7c693d47be4d3f64b557
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Netconfigit Fortinet device class """ __license__ = "MIT License" __author__ = "Eric Griffin" __copyright__ = "Copyright (C) 2014, Fluent Trade Technologies" __version__ = "1.1" import logging import os import time logger = logging.getLogger(__name__) logger.setLevel(logging.INFO) class...
34.235294
104
0.598675
468
4,074
5.081197
0.305556
0.046257
0.037847
0.02397
0.299832
0.272077
0.246846
0.218251
0.076535
0.042052
0
0.015313
0.310751
4,074
119
105
34.235294
0.831553
0.020619
0
0.338028
0
0
0.111808
0
0.014085
0
0
0
0
0
null
null
0
0.042254
null
null
0.014085
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4354434b956a63aba85bec7e4bbdf35c26d8a39e
673
py
Python
sercomm/const.py
brandond/sercomm
62ea982b8391c0bf16c0bb9b44524a41b2b76a6d
[ "Apache-2.0" ]
2
2019-02-16T07:12:33.000Z
2019-11-28T14:03:37.000Z
sercomm/const.py
brandond/sercomm
62ea982b8391c0bf16c0bb9b44524a41b2b76a6d
[ "Apache-2.0" ]
null
null
null
sercomm/const.py
brandond/sercomm
62ea982b8391c0bf16c0bb9b44524a41b2b76a6d
[ "Apache-2.0" ]
1
2019-02-16T07:16:58.000Z
2019-02-16T07:16:58.000Z
# Image/video streams PATH_IMAGE_SNAPSHOT = '/img/snapshot.cgi' PATH_IMAGE_MJPEG = '/img/video.mjpeg' PATH_IMAGE_RTSP = '/img/media.sav' # PTZ Control PATH_PAN_TILT = '/pt/ptctrl.cgi' PARAM_PAN_TILT_DIRECTIONS = ('U', 'D', 'L', 'R', 'UL', 'UR', 'DL', 'DR') # Configuration Groups PATH_GET_GROUP = '/adm/get_group.cgi' ...
26.92
72
0.713224
101
673
4.49505
0.60396
0.059471
0
0
0
0
0
0
0
0
0
0.011706
0.111441
673
24
73
28.041667
0.747492
0.156018
0
0
0
0
0.392157
0.110517
0
0
0
0
0
1
0
false
0.076923
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
43550b646ab1b62d3b2c4ddd6639a550f75e75b4
1,184
py
Python
samfp/old/lateral_glow.py
b1quint/samfp
1cd9b85851c02dc61a2294d67a309f62083d358d
[ "BSD-3-Clause" ]
null
null
null
samfp/old/lateral_glow.py
b1quint/samfp
1cd9b85851c02dc61a2294d67a309f62083d358d
[ "BSD-3-Clause" ]
19
2016-07-15T21:32:59.000Z
2017-09-12T00:31:26.000Z
samfp/old/lateral_glow.py
b1quint/samfp
1cd9b85851c02dc61a2294d67a309f62083d358d
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf8 -*- import astropy.io.fits as pyfits import numpy as np import matplotlib.pyplot as plt import cv2 from matplotlib import gridspec filename = '/home/bquint/Data/SAM/Lateral_Glowing/DARK180s.fits' data = pyfits.getdata(filename=filename) print(data.mean()) print(np.median(data...
22.339623
77
0.663007
201
1,184
3.840796
0.38806
0.045337
0.046632
0.033679
0.060881
0.060881
0.060881
0.060881
0
0
0
0.039234
0.117399
1,184
52
78
22.769231
0.699522
0.501689
0
0
0
0
0.097345
0.090265
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
436181f7768b6d95df9a23a7cc02ea727b11454f
1,030
py
Python
loader.py
narumiruna/pytorch-0.4.0-practice
d3404c7924a037f3b64af37da6daf39fad63277a
[ "MIT" ]
null
null
null
loader.py
narumiruna/pytorch-0.4.0-practice
d3404c7924a037f3b64af37da6daf39fad63277a
[ "MIT" ]
null
null
null
loader.py
narumiruna/pytorch-0.4.0-practice
d3404c7924a037f3b64af37da6daf39fad63277a
[ "MIT" ]
null
null
null
from torchvision import datasets, transforms from torch.utils import data def mnist_loader(root, batch_size): transform = transforms.Compose([ transforms.ToTensor(), transforms.Normalize((0.13066047740239478,), (0.3081078087569972,)) ]) train_loader = data.DataLoader(datasets.MNIST(root, ...
39.615385
75
0.434951
70
1,030
6.257143
0.414286
0.10274
0.091324
0.127854
0.442922
0.442922
0.442922
0.251142
0.251142
0
0
0.068493
0.503884
1,030
25
76
41.2
0.78865
0
0
0.3
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0.1
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
43676df3963f74a6842fc217e025d2b571269b16
1,868
py
Python
enaml/qt/qt_mdi_area.py
mmckerns/enaml
ebf417b4dce9132bffa038a588ad90436a59d37e
[ "BSD-3-Clause" ]
11
2015-01-04T14:29:23.000Z
2019-12-25T05:38:37.000Z
enaml/qt/qt_mdi_area.py
mmckerns/enaml
ebf417b4dce9132bffa038a588ad90436a59d37e
[ "BSD-3-Clause" ]
36
2015-02-20T00:56:53.000Z
2020-12-04T10:02:14.000Z
enaml/qt/qt_mdi_area.py
mmckerns/enaml
ebf417b4dce9132bffa038a588ad90436a59d37e
[ "BSD-3-Clause" ]
3
2015-11-19T15:11:37.000Z
2019-03-11T23:45:02.000Z
#------------------------------------------------------------------------------ # Copyright (c) 2012, Enthought, Inc. # All rights reserved. #------------------------------------------------------------------------------ from .qt.QtGui import QMdiArea from .qt_constraints_widget import QtConstraintsWidget from .qt_md...
35.245283
79
0.474304
160
1,868
5.48125
0.45
0.020525
0.058153
0.095781
0.139111
0.086659
0
0
0
0
0
0.002723
0.213597
1,868
52
80
35.923077
0.594282
0.519272
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.166667
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
4367dc5ef9c9e375fa8b8f58d6d413f68194d625
4,371
py
Python
scripts/prepare_data_multi_process.py
a631381602/DianJing
efaf438fc54d6715f0da556179af84cf9a84ef7b
[ "MIT" ]
232
2017-06-19T22:56:46.000Z
2022-02-21T02:01:11.000Z
scripts/prepare_data_multi_process.py
a631381602/DianJing
efaf438fc54d6715f0da556179af84cf9a84ef7b
[ "MIT" ]
3
2017-06-20T00:35:36.000Z
2018-10-15T07:28:08.000Z
scripts/prepare_data_multi_process.py
harveyaot/DianJing
efaf438fc54d6715f0da556179af84cf9a84ef7b
[ "MIT" ]
60
2017-06-21T02:08:40.000Z
2022-01-23T12:40:31.000Z
import redis import json import h5py import pickle import numpy as np import random import jieba import multiprocessing word2idx, idx2word ,allwords, corpus = None, None,{},[] DUMP_FILE = 'data/basic_data_700k_v2.pkl' check_sample_size = 10 TF_THRES = 5 DF_THRES = 2 r0 = redis.StrictRedis(host='localhost', port=63...
29.533784
88
0.61359
626
4,371
4.119808
0.247604
0.016285
0.017449
0.022489
0.178751
0.126406
0.057387
0.027142
0.027142
0
0
0.024756
0.25143
4,371
147
89
29.734694
0.763447
0.020819
0
0.02381
0
0
0.058934
0.006314
0
0
0
0
0
0
null
null
0.007937
0.063492
null
null
0.079365
0
0
0
null
0
0
0
0
0
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
436f7ba5fa1b132863dd9085bcb39faa4acd53f7
1,609
py
Python
src/user.py
energietransitie/twomes-backoffice-api
e3d9da135394724dea341fd343079c599d5c1fb2
[ "Apache-2.0" ]
null
null
null
src/user.py
energietransitie/twomes-backoffice-api
e3d9da135394724dea341fd343079c599d5c1fb2
[ "Apache-2.0" ]
null
null
null
src/user.py
energietransitie/twomes-backoffice-api
e3d9da135394724dea341fd343079c599d5c1fb2
[ "Apache-2.0" ]
null
null
null
from typing import Optional from auth import ( session_token_generate, session_token_parts, session_token_verify, ) admins = ( (2, 'Marco', '$2b$12$mP7XyiffPKDGJM05xGPrBuaE8yoLVjabaXj1.UYaxFYdd3bpLzUwu'), (4, 'henrith', '$2b$12$tKBneY7fbLY4aMocM6OdOuhSoccx5o0dL/hJr.9ZqzraX1QetqF2O'), (7, 'Sjor...
34.234043
84
0.719702
204
1,609
5.406863
0.387255
0.119674
0.050771
0.032638
0
0
0
0
0
0
0
0.057292
0.164699
1,609
46
85
34.978261
0.763393
0.036669
0
0.060606
1
0
0.344315
0.232558
0
0
0
0
0
1
0.060606
false
0
0.060606
0
0.212121
0.060606
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
436fdc4b9c325cf9f967bf0bfd957542737e090e
1,401
py
Python
clai/server/agent_executor.py
emishulovin/clai
9121241ef036e8482e6883ae7a337ff16397c54e
[ "MIT" ]
391
2019-12-08T03:34:39.000Z
2022-03-04T12:14:01.000Z
clai/server/agent_executor.py
Pycomet/clai
4d8e661f1335ce35fd077ad812b56da361565d57
[ "MIT" ]
74
2020-01-28T16:53:00.000Z
2022-03-12T00:48:26.000Z
clai/server/agent_executor.py
Pycomet/clai
4d8e661f1335ce35fd077ad812b56da361565d57
[ "MIT" ]
73
2020-02-06T14:46:13.000Z
2022-03-04T12:46:29.000Z
# # Copyright (C) 2020 IBM. All Rights Reserved. # # See LICENSE.txt file in the root directory # of this source tree for licensing information. # from abc import ABC, abstractmethod from concurrent import futures from functools import partial from operator import is_not from typing import List, Union from clai.serve...
32.581395
103
0.710207
174
1,401
5.603448
0.505747
0.034872
0.028718
0.041026
0.104615
0.104615
0.104615
0.104615
0.104615
0.104615
0
0.005386
0.204854
1,401
42
104
33.357143
0.869838
0.184154
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.291667
0
0.625
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
4371fd69b7bcf3101f3a98b7fdac319538e52640
740
py
Python
tools/ReadForceField.py
bieniekmateusz/forcebalance
593791866e622ab4eae23ce29a0bed27499a118d
[ "BSD-3-Clause" ]
98
2015-03-31T06:42:14.000Z
2022-03-13T12:07:37.000Z
tools/ReadForceField.py
bieniekmateusz/forcebalance
593791866e622ab4eae23ce29a0bed27499a118d
[ "BSD-3-Clause" ]
121
2015-07-13T15:57:02.000Z
2022-03-24T20:07:10.000Z
tools/ReadForceField.py
bieniekmateusz/forcebalance
593791866e622ab4eae23ce29a0bed27499a118d
[ "BSD-3-Clause" ]
66
2015-04-06T03:05:04.000Z
2022-02-26T05:11:59.000Z
#!/usr/bin/env python "@package ReadForceField Read force field from a file and print information out." from forcebalance.parser import parse_inputs from forcebalance.forcefield import FF from forcebalance.nifty import printcool from sys import argv import os import numpy as np def main(): ## Set some basic opti...
28.461538
81
0.710811
105
740
4.885714
0.638095
0.093567
0
0
0
0
0
0
0
0
0
0.005
0.189189
740
25
82
29.6
0.85
0.295946
0
0
0
0
0.187919
0
0
0
0
0
0
1
0.055556
false
0
0.333333
0
0.388889
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
43766fc5e93d80c2ac33349dc4f310b077f99624
22,501
py
Python
ethereum/testutils.py
destenson/ethereum-pyethereum
85c11d101fd67956c3efaebf0889c3a0ea0559c7
[ "MIT" ]
null
null
null
ethereum/testutils.py
destenson/ethereum-pyethereum
85c11d101fd67956c3efaebf0889c3a0ea0559c7
[ "MIT" ]
null
null
null
ethereum/testutils.py
destenson/ethereum-pyethereum
85c11d101fd67956c3efaebf0889c3a0ea0559c7
[ "MIT" ]
null
null
null
import pytest from ethereum import tester as t from ethereum import blocks, utils, transactions, vm, abi, opcodes from ethereum.exceptions import InvalidTransaction import rlp from rlp.utils import decode_hex, encode_hex, ascii_chr, str_to_bytes from ethereum import processblock as pb import copy from ethereum.db impo...
37.690117
112
0.602329
2,897
22,501
4.484294
0.124957
0.027019
0.026172
0.034024
0.420214
0.379263
0.338773
0.300901
0.217535
0.205835
0
0.015823
0.269721
22,501
596
113
37.753356
0.774769
0.026132
0
0.300199
0
0
0.096734
0.004818
0.005964
0
0.001019
0
0.053678
0
null
null
0.001988
0.033797
null
null
0.005964
0
0
0
null
0
0
0
0
0
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
43775950d232a705936ae099b043262c4c25ce3b
3,303
py
Python
python/paddle/fluid/tests/unittests/white_list/op_check_grad_white_list.py
abbasidaniyal/Paddle
c3527f5526ee96398760cbef11d7de48f41fe998
[ "Apache-2.0" ]
1
2020-03-07T16:05:22.000Z
2020-03-07T16:05:22.000Z
python/paddle/fluid/tests/unittests/white_list/op_check_grad_white_list.py
abbasidaniyal/Paddle
c3527f5526ee96398760cbef11d7de48f41fe998
[ "Apache-2.0" ]
null
null
null
python/paddle/fluid/tests/unittests/white_list/op_check_grad_white_list.py
abbasidaniyal/Paddle
c3527f5526ee96398760cbef11d7de48f41fe998
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2019 PaddlePaddle Authors. 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 appli...
58.982143
79
0.736603
432
3,303
5.206019
0.574074
0.018675
0.017341
0.024011
0.023121
0
0
0
0
0
0
0.004151
0.124735
3,303
55
80
60.054545
0.773781
0.204965
0
0
0
0
0.718008
0.288123
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
437bc686772cf59a57f240fea0a53a63678ce231
1,421
py
Python
scripts/util/prop_util.py
ucbrise/waldo
d435d7f447a36b5d000f45ff1b0c73747c1d7aa2
[ "Apache-2.0" ]
7
2021-12-19T11:31:06.000Z
2022-03-01T04:19:51.000Z
scripts/util/prop_util.py
ucbrise/waldo
d435d7f447a36b5d000f45ff1b0c73747c1d7aa2
[ "Apache-2.0" ]
null
null
null
scripts/util/prop_util.py
ucbrise/waldo
d435d7f447a36b5d000f45ff1b0c73747c1d7aa2
[ "Apache-2.0" ]
null
null
null
### Natacha Crooks - 2014 ### Contains utility functions related to ### dealing with property files ############################################ import json import os import subprocess from pprint import pprint def writePropFile(propertyFile, properties): with open(propertyFile, 'w') as fp: json.dump(pro...
22.203125
62
0.653765
174
1,421
5.298851
0.528736
0.043384
0.023861
0.032538
0.069414
0.069414
0.069414
0
0
0
0
0.004492
0.216749
1,421
63
63
22.555556
0.823899
0.232935
0
0.157895
0
0
0.058185
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.131579
0
0
0
null
0
0
0
0
0
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
437c0a40e730ed33558d74006d711004c4a59c2b
313
py
Python
www/tests/test_urllib.py
raspberrypieman/brython
2cc23d1da6acda604d4a56b4c9d464eb7e374eda
[ "BSD-3-Clause" ]
5,926
2015-01-01T07:45:08.000Z
2022-03-31T12:34:38.000Z
www/tests/test_urllib.py
raspberrypieman/brython
2cc23d1da6acda604d4a56b4c9d464eb7e374eda
[ "BSD-3-Clause" ]
1,728
2015-01-01T01:09:12.000Z
2022-03-30T23:25:22.000Z
www/tests/test_urllib.py
raspberrypieman/brython
2cc23d1da6acda604d4a56b4c9d464eb7e374eda
[ "BSD-3-Clause" ]
574
2015-01-02T01:36:10.000Z
2022-03-26T10:18:48.000Z
import urllib.parse assert urllib.parse.unquote("foo%20bar") == "foo bar" import urllib.request with urllib.request.urlopen('https://httpbin.org/headers') as f: f.read() # issue 1424 text = """Hello World""" assert urllib.parse.urlencode({"text": text}) == "text=Hello%0AWorld" print('passed all tests')
19.5625
69
0.702875
44
313
5
0.659091
0.15
0.154545
0
0
0
0
0
0
0
0
0.025455
0.121406
313
16
70
19.5625
0.774545
0.031949
0
0
0
0
0.304636
0
0
0
0
0
0.222222
1
0
false
0.111111
0.222222
0
0.222222
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
437d437ccc84d69a3c77e19b15b4c78122dad94f
463
py
Python
backend/Tasks/consumer.py
larbibaraka/Kraken
abb07c9e4dd2eae636ebdd209632be0786b616d9
[ "MIT" ]
1
2019-08-02T23:01:07.000Z
2019-08-02T23:01:07.000Z
backend/Tasks/consumer.py
larbibaraka/Kraken
abb07c9e4dd2eae636ebdd209632be0786b616d9
[ "MIT" ]
null
null
null
backend/Tasks/consumer.py
larbibaraka/Kraken
abb07c9e4dd2eae636ebdd209632be0786b616d9
[ "MIT" ]
null
null
null
import asyncio from channels.consumer import AsyncConsumer from channels.db import database_sync_to_async class TaskConsumer(AsyncConsumer): async def websocket_connect(self, event): print("connected", event) await self.send({ "type": "websocket.accept" }) async def websock...
27.235294
48
0.686825
51
463
6.117647
0.54902
0.076923
0.163462
0
0
0
0
0
0
0
0
0
0.220302
463
16
49
28.9375
0.864266
0
0
0
0
0
0.103672
0
0
0
0
0
0
1
0
true
0
0.230769
0
0.307692
0.230769
0
0
0
null
0
0
0
0
0
0
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
437e8684658d4a70221527a230a2f3f683fe5101
478
py
Python
scripts/reactor/davyMob1.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/reactor/davyMob1.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/reactor/davyMob1.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# Chest in the Lord Pirate PQ LORD_PIRATE_ENRAGED_KRU = 9300115 LORD_PIRATE_ENRAGED_CAPTAIN = 9300116 reactor.incHitCount() if reactor.getHitCount() >= 1: i = 1 while i < 5: sm.spawnMob(LORD_PIRATE_ENRAGED_KRU, sm.getPosition(objectID).getX(), sm.getPosition(objectID).getY(), False) sm.spawnMob...
34.142857
121
0.711297
63
478
5.206349
0.444444
0.152439
0.207317
0.121951
0.5
0.335366
0.335366
0.335366
0.335366
0
0
0.045113
0.165272
478
13
122
36.769231
0.776942
0.056485
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
437f0bd252693df033e4194ced8078b81ba2bec9
1,992
py
Python
introduction/sessions/8-collections.py
kevorkkeheian/learn-python
353881eb2d7c4206c6456abe12161ad73d5bb9e4
[ "Apache-2.0" ]
null
null
null
introduction/sessions/8-collections.py
kevorkkeheian/learn-python
353881eb2d7c4206c6456abe12161ad73d5bb9e4
[ "Apache-2.0" ]
null
null
null
introduction/sessions/8-collections.py
kevorkkeheian/learn-python
353881eb2d7c4206c6456abe12161ad73d5bb9e4
[ "Apache-2.0" ]
null
null
null
# %% [markdown] # # 8 - Collections # %% [markdown] # #### 1 - Lists # %% # Declare and assign the names names = ["John", "Paul", "George"] # Print the list of names print(names) # Add a new name names.append("Jane") # Declare and ass the scores numbers = [100, 80, 90] # Print the scores print(numbers) # Add a n...
16.064516
104
0.668173
310
1,992
4.251613
0.325806
0.100152
0.026555
0.028832
0.194234
0.165402
0.132018
0.132018
0.132018
0.066768
0
0.02843
0.187751
1,992
123
105
16.195122
0.786156
0.510542
0
0.4
0
0
0.134213
0
0
0
0
0
0
1
0
false
0
0
0
0
0.514286
0
0
0
null
0
0
0
0
0
0
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
43810a9649321c704344ea6a475a4820f1802040
1,134
py
Python
setup.py
nplutt/pydantic-kms-secrets
dd424209ae7616897e43250b487d3fa8f6788b18
[ "MIT" ]
3
2020-10-29T16:13:30.000Z
2022-01-06T15:10:01.000Z
setup.py
nplutt/pydantic-kms-secrets
dd424209ae7616897e43250b487d3fa8f6788b18
[ "MIT" ]
null
null
null
setup.py
nplutt/pydantic-kms-secrets
dd424209ae7616897e43250b487d3fa8f6788b18
[ "MIT" ]
1
2022-01-06T01:11:07.000Z
2022-01-06T01:11:07.000Z
from setuptools import setup setup( name="pydantic_kms_secrets", version="0.3.0", description="Utility to decrypt and encrypt secrets using AWS KMS keys that is compatible with pydantic models", author="Nick Plutt", author_email="nplutt@gmail.com", license="MIT", url="https://github.com/np...
36.580645
116
0.660494
131
1,134
5.587786
0.633588
0.081967
0.122951
0.106557
0.103825
0.103825
0.103825
0
0
0
0
0.012945
0.18254
1,134
30
117
37.8
0.776699
0
0
0
0
0
0.539683
0.044092
0
0
0
0
0
1
0
true
0
0.035714
0
0.035714
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
43812012c72783e9b2572e6bb10f4b121a793c7c
443
py
Python
p120-129/p124.py
kbrose/project_euler
f582ef1887f44628997e05d88253adad0822d6b9
[ "Unlicense" ]
1
2015-10-11T15:53:00.000Z
2015-10-11T15:53:00.000Z
p120-129/p124.py
kbrose/project_euler
f582ef1887f44628997e05d88253adad0822d6b9
[ "Unlicense" ]
null
null
null
p120-129/p124.py
kbrose/project_euler
f582ef1887f44628997e05d88253adad0822d6b9
[ "Unlicense" ]
null
null
null
# much like the sieve of Eratosthenes, this will go through all # the numbers 1...limit, increasing their rad value as necessary # then it will sort based on criterion def E(k,limit): rads = [[1,i] for i in range(limit)] for i in range(2,limit): if rads[i][0] == 1: # is a prime, commence sieve ...
31.642857
64
0.609481
77
443
3.506494
0.61039
0.077778
0.044444
0.081481
0
0
0
0
0
0
0
0.058282
0.264108
443
13
65
34.076923
0.769939
0.424379
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
438277ea864975d632129ff746e54a29422431ea
500
py
Python
src/chains/migrations/0025_alter_chain_currency_logo_uri.py
tharsis/safe-config-service
5335fd006d05fba5b13b477daca9f6ef6d64b818
[ "MIT" ]
8
2021-07-27T13:21:27.000Z
2022-02-12T22:46:26.000Z
src/chains/migrations/0025_alter_chain_currency_logo_uri.py
protofire/safe-config-service
6a9a48f5e33950cd5f4f7a66c5e36f4d3b0f2bfa
[ "MIT" ]
203
2021-04-28T08:23:29.000Z
2022-03-29T15:50:27.000Z
src/chains/migrations/0025_alter_chain_currency_logo_uri.py
protofire/safe-config-service
6a9a48f5e33950cd5f4f7a66c5e36f4d3b0f2bfa
[ "MIT" ]
23
2021-06-25T07:22:31.000Z
2022-03-29T02:24:46.000Z
# Generated by Django 3.2.7 on 2021-09-06 15:05 from django.db import migrations, models import chains.models class Migration(migrations.Migration): dependencies = [ ("chains", "0024_remove_gas_price_fields"), ] operations = [ migrations.AlterField( model_name="chain", ...
21.73913
76
0.612
55
500
5.363636
0.781818
0.081356
0
0
0
0
0
0
0
0
0
0.061972
0.29
500
22
77
22.727273
0.769014
0.09
0
0.133333
1
0
0.12362
0.06181
0
0
0
0
0
1
0
false
0
0.133333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
43898f57de933bd5baa2d433a72e872ed4d6fa86
824
py
Python
src/wai/annotations/core/stream/util/_reset_process_state.py
waikato-ufdl/wai-annotations-core
bac3429e9488efb456972c74f9d462f951c4af3d
[ "Apache-2.0" ]
null
null
null
src/wai/annotations/core/stream/util/_reset_process_state.py
waikato-ufdl/wai-annotations-core
bac3429e9488efb456972c74f9d462f951c4af3d
[ "Apache-2.0" ]
3
2021-06-30T23:42:47.000Z
2022-03-01T03:45:07.000Z
src/wai/annotations/core/stream/util/_reset_process_state.py
waikato-ufdl/wai-annotations-core
bac3429e9488efb456972c74f9d462f951c4af3d
[ "Apache-2.0" ]
null
null
null
from ._ProcessState import ProcessState def reset_process_state(stream_element): """ Reset all process-state for a given stream element. :param stream_element: The stream element to reset. """ # Get the class of the element element_type = type(stream_element) # Look for all ProcessState...
30.518519
97
0.724515
110
824
5.2
0.327273
0.181818
0.094406
0.08042
0.104895
0
0
0
0
0
0
0
0.212379
824
26
98
31.692308
0.881356
0.387136
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
438d8403591e023f1e4eb0cea943b7dfa94d2e01
853
py
Python
cvreviewer/__init__.py
shm-tar/Bachelors-Degree-Project
b924cdbe21e60f2260aa5f6e460fd44ccf5fd139
[ "Apache-2.0" ]
null
null
null
cvreviewer/__init__.py
shm-tar/Bachelors-Degree-Project
b924cdbe21e60f2260aa5f6e460fd44ccf5fd139
[ "Apache-2.0" ]
null
null
null
cvreviewer/__init__.py
shm-tar/Bachelors-Degree-Project
b924cdbe21e60f2260aa5f6e460fd44ccf5fd139
[ "Apache-2.0" ]
null
null
null
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_bcrypt import Bcrypt from flask_login import LoginManager from cvreviewer.config import Config db = SQLAlchemy() bcrypt = Bcrypt() login_manager = LoginManager() login_manager.login_view = 'users.login' login_manager.login_message = 'Log in or...
25.848485
56
0.778429
116
853
5.491379
0.327586
0.094192
0.080063
0.075353
0
0
0
0
0
0
0
0
0.147714
853
32
57
26.65625
0.876204
0
0
0
0
0
0.057444
0
0
0
0
0
0
1
0.041667
false
0
0.333333
0
0.416667
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
438f19953710e38d6b4233c97b87997446775a6f
1,408
py
Python
parameters.py
nyvemm/text_clustering_network_tool
cbb242ca7c41c41ab77a04fd1a8f8330cfb5a700
[ "MIT" ]
2
2020-10-05T14:54:57.000Z
2021-11-24T23:11:24.000Z
parameters.py
nyvemm/text_clustering_network_tool
cbb242ca7c41c41ab77a04fd1a8f8330cfb5a700
[ "MIT" ]
null
null
null
parameters.py
nyvemm/text_clustering_network_tool
cbb242ca7c41c41ab77a04fd1a8f8330cfb5a700
[ "MIT" ]
1
2021-07-23T00:48:31.000Z
2021-07-23T00:48:31.000Z
#Classe de Parâmetros do Algoritmo Label Propagation. class ParametersLabelPropagation: def __init__(self, max_iterations): self.max_iterations = max_iterations #Classe de Parâmetros do Algoritmo Asynchronous Label Propagation. class ParametersAsynchronousLabelPropagation: def __init__(self, wei...
40.228571
67
0.740767
150
1,408
6.593333
0.26
0.197169
0.066734
0.101112
0.377149
0.317492
0.270981
0.270981
0.270981
0.270981
0
0
0.207386
1,408
35
68
40.228571
0.886201
0.192472
0
0.32
0
0
0
0
0
0
0
0
0
1
0.24
false
0
0
0
0.48
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4394b1ab594cfe4baf327cd3cfcaa896f98d37ca
1,039
py
Python
src/karmabot/db/karma_transaction.py
pogross/karmabot
75f1ae60d5274d35c03f3e06e5c218dafc9ebe82
[ "MIT" ]
null
null
null
src/karmabot/db/karma_transaction.py
pogross/karmabot
75f1ae60d5274d35c03f3e06e5c218dafc9ebe82
[ "MIT" ]
null
null
null
src/karmabot/db/karma_transaction.py
pogross/karmabot
75f1ae60d5274d35c03f3e06e5c218dafc9ebe82
[ "MIT" ]
null
null
null
import datetime import sqlalchemy as sa from sqlalchemy import Integer from karmabot.db.modelbase import SqlAlchemyBase class KarmaTransaction(SqlAlchemyBase): """Models a karma transaction in the DB""" __tablename__ = "karma_transaction" id: int = sa.Column( sa.BigInteger().with_variant(Integ...
28.861111
88
0.668912
125
1,039
5.352
0.408
0.071749
0.089686
0.071749
0.173393
0.173393
0.173393
0.173393
0.173393
0.173393
0
0
0.208855
1,039
35
89
29.685714
0.813869
0.040423
0
0
0
0
0.173562
0
0
0
0
0
0
1
0.041667
false
0
0.166667
0.041667
0.625
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
4398a03a21761ffd50d6933eb57b5e2c2abdd630
5,146
py
Python
proxysql/tests/common.py
vbarbaresi/integrations-core
ab26ab1cd6c28a97c1ad1177093a93659658c7aa
[ "BSD-3-Clause" ]
1
2021-01-28T01:45:37.000Z
2021-01-28T01:45:37.000Z
proxysql/tests/common.py
vbarbaresi/integrations-core
ab26ab1cd6c28a97c1ad1177093a93659658c7aa
[ "BSD-3-Clause" ]
3
2021-01-27T04:56:40.000Z
2021-02-26T06:29:22.000Z
proxysql/tests/common.py
vbarbaresi/integrations-core
ab26ab1cd6c28a97c1ad1177093a93659658c7aa
[ "BSD-3-Clause" ]
1
2021-04-07T16:58:27.000Z
2021-04-07T16:58:27.000Z
# (C) Datadog, Inc. 2020-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import os from datadog_checks.dev import get_docker_hostname GLOBAL_METRICS = ( 'proxysql.active_transactions', 'proxysql.query_processor_time_pct', 'proxysql.questions', 'proxysql.slow_q...
29.574713
62
0.723669
577
5,146
6.10052
0.261698
0.075568
0.103409
0.098864
0.19517
0.166761
0.166761
0.166761
0.166761
0.153977
0
0.009166
0.151963
5,146
173
63
29.745665
0.797434
0.020987
0
0.222222
0
0
0.585816
0.491855
0
0
0
0
0
1
0
false
0.045752
0.013072
0
0.013072
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
439d972acbbe8744b3d84750738df2988795d1b1
1,040
py
Python
marathon/exceptions.py
nihn/marathon-python
8b489b3a6acb264b0ba76ba989a23c5d74085e63
[ "MIT" ]
null
null
null
marathon/exceptions.py
nihn/marathon-python
8b489b3a6acb264b0ba76ba989a23c5d74085e63
[ "MIT" ]
null
null
null
marathon/exceptions.py
nihn/marathon-python
8b489b3a6acb264b0ba76ba989a23c5d74085e63
[ "MIT" ]
null
null
null
class MarathonError(Exception): pass class MarathonHttpError(MarathonError): def __init__(self, response): """ :param :class:`requests.Response` response: HTTP response """ content = response.json() self.status_code = response.status_code self.error_message = c...
26
92
0.644231
101
1,040
6.267327
0.386139
0.042654
0.063191
0.075829
0.082149
0
0
0
0
0
0
0
0.248077
1,040
39
93
26.666667
0.809463
0.054808
0
0.125
0
0
0.136601
0
0
0
0
0
0
1
0.166667
false
0.125
0
0.083333
0.458333
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
439e4f7f79da9662010b18c9de4000d0f661da24
633
py
Python
screeps_clock/screeps_clock.py
tedivm/screeps-clock
6594cc91cf3ab787d1c448c06472e09534b45d55
[ "MIT" ]
null
null
null
screeps_clock/screeps_clock.py
tedivm/screeps-clock
6594cc91cf3ab787d1c448c06472e09534b45d55
[ "MIT" ]
null
null
null
screeps_clock/screeps_clock.py
tedivm/screeps-clock
6594cc91cf3ab787d1c448c06472e09534b45d55
[ "MIT" ]
2
2021-09-06T22:01:35.000Z
2021-09-06T22:06:09.000Z
from flask import Flask, session, redirect, url_for, escape, request, render_template, flash, send_from_directory from screeps_clock import app from flask_cors import cross_origin import screeps_clock.routes.clock @app.route('/') def index(): return redirect(url_for('html_time')) @app.after_request def add_hea...
28.772727
113
0.742496
89
633
5.123596
0.573034
0.098684
0.061404
0
0
0
0
0
0
0
0
0
0.146919
633
22
114
28.772727
0.844444
0.07109
0
0
0
0
0.177172
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.071429
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
439f44a39bd32fe0c66dcb30cfc148317d009550
808
py
Python
np/reference/ch9code/candlesticks.py
focusunsink/study_python
322326642db54df8725793d70a95d21ac40b6507
[ "MIT" ]
null
null
null
np/reference/ch9code/candlesticks.py
focusunsink/study_python
322326642db54df8725793d70a95d21ac40b6507
[ "MIT" ]
null
null
null
np/reference/ch9code/candlesticks.py
focusunsink/study_python
322326642db54df8725793d70a95d21ac40b6507
[ "MIT" ]
null
null
null
from matplotlib.dates import DateFormatter from matplotlib.dates import DayLocator from matplotlib.dates import MonthLocator from matplotlib.finance import quotes_historical_yahoo from matplotlib.finance import candlestick import sys from datetime import date import matplotlib.pyplot as plt today = date.today() start ...
23.085714
54
0.773515
111
808
5.504505
0.441441
0.114566
0.09329
0.12275
0
0
0
0
0
0
0
0.008523
0.128713
808
34
55
23.764706
0.859375
0
0
0
0
0
0.011166
0
0
0
0
0
0
1
0
false
0
0.32
0
0.32
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
43a868d5a944ab1d3ce7f8323be8c574ccb07934
389
py
Python
greengraph/test/test_greengraph.py
kunalvora1/greengraph
11e7b30531b6f2e786094d9fdec62a6e36cae6c3
[ "MIT" ]
null
null
null
greengraph/test/test_greengraph.py
kunalvora1/greengraph
11e7b30531b6f2e786094d9fdec62a6e36cae6c3
[ "MIT" ]
null
null
null
greengraph/test/test_greengraph.py
kunalvora1/greengraph
11e7b30531b6f2e786094d9fdec62a6e36cae6c3
[ "MIT" ]
null
null
null
import yaml import os from .graph import Greengraph from nose.tools import assert_equal def test_greeter(): with open(os.path.join(os.path.dirname(__file__), 'fixtures','samples.yaml')) as fixtures_file: fixtures=yaml.load(fixtures_file) for fixture in fixtures: answer=fixtu...
27.785714
57
0.676093
50
389
5.08
0.58
0.086614
0
0
0
0
0
0
0
0
0
0
0.218509
389
13
58
29.923077
0.835526
0
0
0
0
0
0.06701
0
0
0
0
0
0.181818
1
0.090909
false
0
0.363636
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
43a9a9858722326b11acef0f7b046ee70a741d06
4,565
py
Python
python/ldtplugins/mayatextureimport/__init__.py
ezequielmastrasso/EZLookdevTools
4914d8f92b1ff195aeb4b15b277035c61a235ae1
[ "MIT" ]
45
2019-07-12T16:03:20.000Z
2022-03-04T06:03:48.000Z
python/ldtplugins/mayatextureimport/__init__.py
ezequielmastrasso/EZLookdevTools
4914d8f92b1ff195aeb4b15b277035c61a235ae1
[ "MIT" ]
115
2019-05-22T09:10:38.000Z
2020-03-25T11:01:35.000Z
python/ldtplugins/mayatextureimport/__init__.py
ezequielmastrasso/EZLookdevTools
4914d8f92b1ff195aeb4b15b277035c61a235ae1
[ "MIT" ]
8
2019-12-03T07:19:37.000Z
2021-12-13T10:31:15.000Z
from ldtcommon import ATTR_SURFACING_PROJECT from ldtcommon import ATTR_SURFACING_OBJECT from ldtcommon import TEXTURE_FILE_PATTERN from ldt import context from ldtui import qtutils """ .. module:: Maya import material :synopsis: MayaTextureImport Plugin. Imports textureSets to maya Surfacing Projects .. moduleauth...
36.52
93
0.662432
542
4,565
5.400369
0.326568
0.027332
0.047831
0.031432
0.074479
0
0
0
0
0
0
0.002936
0.253888
4,565
124
94
36.814516
0.85643
0.177875
0
0.101266
0
0
0.072893
0.007118
0
0
0
0.008065
0
1
0.063291
false
0
0.316456
0
0.417722
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
43af26f9d75a7a30269e35bb038a9574a0016166
405
py
Python
code/planning/get_re_enzymes.py
RPGroup-PBoC/1000_genes_ecoli
2a6ead4d1b0379d3125683fcd25f7c6778d5146b
[ "MIT" ]
null
null
null
code/planning/get_re_enzymes.py
RPGroup-PBoC/1000_genes_ecoli
2a6ead4d1b0379d3125683fcd25f7c6778d5146b
[ "MIT" ]
null
null
null
code/planning/get_re_enzymes.py
RPGroup-PBoC/1000_genes_ecoli
2a6ead4d1b0379d3125683fcd25f7c6778d5146b
[ "MIT" ]
null
null
null
from Bio.Restriction import * import itertools import pandas as pd import git # Find home directory for repo repo = git.Repo("./", search_parent_directories=True) homedir = repo.working_dir enzyme_list = [(enzyme, enzyme.site) for enzyme in itertools.islice(CommOnly, len(CommOnly))] pd.DataFrame(columns=["enzyme", "s...
31.153846
117
0.765432
60
405
5.033333
0.616667
0.099338
0
0
0
0
0
0
0
0
0
0
0.101235
405
12
118
33.75
0.82967
0.069136
0
0
0
0
0.122995
0.090909
0
0
0
0
0
1
0
false
0
0.5
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
43bfbdb9d460bfd99f0c974d02fce8731f9c5627
2,301
py
Python
dymos/examples/racecar/combinedODE.py
pwmdebuck/dymos-1
0fb3e91e8c32b34fca41e8c1ec9bec66f31af341
[ "Apache-2.0" ]
null
null
null
dymos/examples/racecar/combinedODE.py
pwmdebuck/dymos-1
0fb3e91e8c32b34fca41e8c1ec9bec66f31af341
[ "Apache-2.0" ]
null
null
null
dymos/examples/racecar/combinedODE.py
pwmdebuck/dymos-1
0fb3e91e8c32b34fca41e8c1ec9bec66f31af341
[ "Apache-2.0" ]
null
null
null
import openmdao.api as om import numpy as np from carODE import CarODE from tireODE import TireODE from normalForceODE import NormalForceODE from accelerationODE import AccelerationODE from tireConstraintODE import TireConstraintODE from timeODE import TimeODE from timeAdder import TimeAdder from curvature import Curva...
46.959184
252
0.656671
322
2,301
4.444099
0.276398
0.055905
0.089448
0.11181
0.220825
0.075472
0.075472
0.075472
0.050314
0.050314
0
0
0.156454
2,301
48
253
47.9375
0.737249
0
0
0
0
0
0.228596
0
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.433333
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
43c1d3b5181f07acf6205ac54d51a11863b07d53
3,126
py
Python
Lib/test/test_class.py
marcosptf/cpython-2.0.1
73c739a764e8b1dc84640e73b880bc66e1916bca
[ "PSF-2.0" ]
5
2022-03-26T21:53:36.000Z
2022-03-30T21:47:20.000Z
Lib/test/test_class.py
marcosptf/cpython-2.0.1
73c739a764e8b1dc84640e73b880bc66e1916bca
[ "PSF-2.0" ]
6
2020-11-18T15:48:14.000Z
2021-05-03T21:20:50.000Z
Lib/test/test_class.py
marcosptf/cpython-2.0.1
73c739a764e8b1dc84640e73b880bc66e1916bca
[ "PSF-2.0" ]
2
2015-07-16T08:14:13.000Z
2022-03-27T01:55:17.000Z
"Test the functionality of Python classes implementing operators." testmeths = [ # Binary operations "add", "radd", "sub", "rsub", "mul", "rmul", "div", "rdiv", "mod", "rmod", "divmod", "rdivmod", "pow", "rpow", "rshift", "rrshift", "lshift", "r...
14.209091
74
0.597569
396
3,126
4.484848
0.333333
0.094595
0.058559
0.094595
0.229167
0.170608
0.170608
0.170608
0.170608
0.090653
0
0.042717
0.25112
3,126
219
75
14.273973
0.715933
0.167626
0
0.056338
0
0
0.19007
0
0
0
0
0
0
0
null
null
0
0
null
null
0.06338
0
0
0
null
0
0
0
0
0
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
43c39e7043e45f562d3a2c8ea25cd655626c1281
2,133
py
Python
option.py
kailigo/cvcZSL
44de45a7ea653323f69e3eb37e23f8d80a8b2b4e
[ "Apache-2.0" ]
36
2019-08-14T03:51:30.000Z
2021-07-09T12:19:42.000Z
option.py
kailigo/cvcZSL
44de45a7ea653323f69e3eb37e23f8d80a8b2b4e
[ "Apache-2.0" ]
5
2019-11-07T02:25:49.000Z
2020-11-30T14:42:08.000Z
option.py
kailigo/cvcZSL
44de45a7ea653323f69e3eb37e23f8d80a8b2b4e
[ "Apache-2.0" ]
7
2019-12-06T15:12:21.000Z
2022-01-15T11:31:37.000Z
import argparse import os class Options(): def __init__(self): # Training settings parser = argparse.ArgumentParser(description='Tank Shot') parser.add_argument('--dataset', default='CUB1', type=str, help='dataset to be processed') # parser.ad...
40.245283
81
0.537271
230
2,133
4.852174
0.369565
0.129032
0.243728
0.056452
0.208781
0.146953
0.075269
0.075269
0
0
0
0.018375
0.336615
2,133
52
82
41.019231
0.770318
0.097515
0
0
0
0
0.215328
0
0
0
0
0
0
1
0.060606
false
0
0.060606
0.030303
0.181818
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
43cb7b5c6bd53364d93fafb29bb19e67a757c04f
812
py
Python
hard-gists/19d2397ff8da1952556cf2417d965f6c/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
21
2019-07-08T08:26:45.000Z
2022-01-24T23:53:25.000Z
hard-gists/19d2397ff8da1952556cf2417d965f6c/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
5
2019-06-15T14:47:47.000Z
2022-02-26T05:02:56.000Z
hard-gists/19d2397ff8da1952556cf2417d965f6c/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
17
2019-05-16T03:50:34.000Z
2021-01-14T14:35:12.000Z
## Makes a monitor where the mean of last x oob improvements ## are used to determine early stopping. This can be ammended ## to any stopping criteria one sees as fit - consecutive x ## negatives, more negatives than positives in last x, etc. def make_monitor(running_mean_len): def monitor(i,self,args): i...
32.48
104
0.736453
123
812
4.756098
0.626016
0.017094
0.047863
0
0
0
0
0
0
0
0
0.024206
0.185961
812
24
105
33.833333
0.860817
0.413793
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
43d0385b8cb4dba4a846eb315da2c0bd246d86ea
1,180
py
Python
nosqladmin/views.py
pydanny/django-nosqladmin
f0b3dcb87e61c98505664e699ad3c1a254fcba67
[ "MIT" ]
6
2015-09-13T04:25:58.000Z
2020-07-09T00:36:54.000Z
nosqladmin/views.py
pydanny/django-nosqladmin
f0b3dcb87e61c98505664e699ad3c1a254fcba67
[ "MIT" ]
2
2020-02-11T22:00:30.000Z
2020-06-05T16:56:42.000Z
nosqladmin/views.py
pydanny/django-nosqladmin
f0b3dcb87e61c98505664e699ad3c1a254fcba67
[ "MIT" ]
null
null
null
from django.views.generic import ListView import pymongo from nosqladmin.mixins import NosqlAdminViewMixin # TODO Move this to settings or something... # TODO Move this to settings or something... # TODO Move this to settings or something... from pymongo import Connection from pymongo.errors import CollectionInvalid...
30.25641
88
0.709322
132
1,180
6.189394
0.356061
0.034272
0.044064
0.051408
0.241126
0.121175
0.121175
0.121175
0.121175
0.121175
0
0
0.208475
1,180
39
89
30.25641
0.874732
0.133898
0
0.086957
0
0
0.065945
0.051181
0
0
0
0.025641
0
1
0.130435
false
0
0.217391
0.043478
0.695652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
43d4d36d00ecc8459db6b93eea0e62d26c65e006
716
py
Python
ex12.py
royliu317/Code-of-Learn-Python-THW
b0cf29ca7961e06dff29ad8d969a3a2938ecbd21
[ "MIT" ]
null
null
null
ex12.py
royliu317/Code-of-Learn-Python-THW
b0cf29ca7961e06dff29ad8d969a3a2938ecbd21
[ "MIT" ]
null
null
null
ex12.py
royliu317/Code-of-Learn-Python-THW
b0cf29ca7961e06dff29ad8d969a3a2938ecbd21
[ "MIT" ]
null
null
null
age = input("How old are you? ") height = input("How tall are you? ") # "TypeError: input expected at most 1 arguments, got 2" will raise if more than 1 string is pu inside input() weight = input("How much do you weight? ") print(f"So, you're {age} old, {height} tall and {weight} heavy.") #-------------------...
39.777778
154
0.543296
99
716
3.929293
0.464646
0.102828
0.056555
0.071979
0.514139
0.514139
0.514139
0.37018
0.37018
0.37018
0
0.004975
0.157821
716
18
155
39.777778
0.640133
0.329609
0
0.444444
0
0
0.655462
0.128151
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
43d7b9c72a6223ee7012691230ac9d3d6a6bd049
350
py
Python
ci_cd/admin.py
mushilianmeng/auto_ops_cmdb
4bb63e5236b221a1923e7ca46808096d80aab4f1
[ "Apache-2.0" ]
2
2021-12-30T02:23:00.000Z
2021-12-30T02:23:02.000Z
ci_cd/admin.py
mushilianmeng/auto_ops_cmdb
4bb63e5236b221a1923e7ca46808096d80aab4f1
[ "Apache-2.0" ]
null
null
null
ci_cd/admin.py
mushilianmeng/auto_ops_cmdb
4bb63e5236b221a1923e7ca46808096d80aab4f1
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin # Register your models here. from .models import ci_cd_info class info(admin.ModelAdmin): list_display = ['ID','requestid','xiang_mu','date','jar_pack','jar_url','status'] list_filter = ['xiang_mu'] search_fields = ['jar_pack'] # display 展示表字段,filter过滤分类,search搜索内容 admin....
35
85
0.74
50
350
4.94
0.64
0.032389
0.064777
0
0
0
0
0
0
0
0
0
0.12
350
10
86
35
0.801948
0.177143
0
0
0
0
0.20979
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.857143
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
43dbf88739276b2f4677f360a42a70889976aba9
47,478
py
Python
unittest/scripts/auto/py_adminapi/validation/dba_cluster_help.py
dveeden/mysql-shell
66610494cc96a4718c6b23c603e9a6e3234a984e
[ "Apache-2.0" ]
null
null
null
unittest/scripts/auto/py_adminapi/validation/dba_cluster_help.py
dveeden/mysql-shell
66610494cc96a4718c6b23c603e9a6e3234a984e
[ "Apache-2.0" ]
null
null
null
unittest/scripts/auto/py_adminapi/validation/dba_cluster_help.py
dveeden/mysql-shell
66610494cc96a4718c6b23c603e9a6e3234a984e
[ "Apache-2.0" ]
null
null
null
#@ __global__ || #@<OUT> cluster NAME Cluster - Represents an InnoDB cluster. DESCRIPTION The cluster object is the entry point to manage and monitor a MySQL InnoDB cluster. A cluster is a set of MySQLd Instances which holds the user's data. It provides high-availability and scalabilit...
40.26972
79
0.721934
6,516
47,478
5.222836
0.114027
0.026152
0.008815
0.008992
0.679508
0.631817
0.591355
0.570434
0.540227
0.519629
0
0.003848
0.244724
47,478
1,178
80
40.303905
0.945202
0
0
0.511059
0
0.001164
0.011135
0.008351
0
0
0
0
0
0
null
null
0.029104
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
43dc3d77383450d173c04710a064b69dead3b924
485
py
Python
setup.py
HazenBabcock/openldraw
ff7d090c9998cb0bc11332bb6868f5ea1f869320
[ "MIT" ]
9
2018-01-02T19:27:21.000Z
2021-12-27T13:53:38.000Z
setup.py
HazenBabcock/openldraw
ff7d090c9998cb0bc11332bb6868f5ea1f869320
[ "MIT" ]
5
2015-07-14T00:39:59.000Z
2016-11-05T20:02:58.000Z
setup.py
HazenBabcock/openldraw
ff7d090c9998cb0bc11332bb6868f5ea1f869320
[ "MIT" ]
2
2019-12-23T12:25:51.000Z
2020-10-31T15:51:36.000Z
#!/usr/bin/env python from setuptools import setup, find_packages setup(name='OpenSDraw', version='0.0.2', description='A CAD program similar to OpenSCAD but for LEGO(R).', author='Hazen Babcock', author_email='hbabcock@mac.com', packages = find_packages(), package_data={}, ...
22.045455
71
0.628866
56
485
5.267857
0.767857
0.111864
0
0
0
0
0
0
0
0
0
0.008108
0.237113
485
21
72
23.095238
0.789189
0.041237
0
0
0
0
0.241379
0
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
43e0152391d52bbee369755e7d99d35d898dbec6
373
py
Python
gameApp/migrations/0006_auto_20190306_0845.py
cs-fullstack-2019-spring/django-mini-project4-juwan-melatti
d3fe26a960263726bc21162343beaf241df4c033
[ "Apache-2.0" ]
null
null
null
gameApp/migrations/0006_auto_20190306_0845.py
cs-fullstack-2019-spring/django-mini-project4-juwan-melatti
d3fe26a960263726bc21162343beaf241df4c033
[ "Apache-2.0" ]
null
null
null
gameApp/migrations/0006_auto_20190306_0845.py
cs-fullstack-2019-spring/django-mini-project4-juwan-melatti
d3fe26a960263726bc21162343beaf241df4c033
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.6 on 2019-03-06 08:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gameApp', '0005_auto_20190305_2036'), ] operations = [ migrations.AlterField( model_name='game', name='dateMade', ...
19.631579
47
0.587131
39
373
5.512821
0.846154
0
0
0
0
0
0
0
0
0
0
0.118321
0.297587
373
18
48
20.722222
0.70229
0.120643
0
0
1
0
0.128834
0.070552
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
43e14c2e68dd96e10a4de18c9e39f068470534a3
289
py
Python
howdoyoulike/howdoyoulike/urls.py
benjamin0/how-do-you-like-them-apples
63d0c08e5d68a15edf133fd5371b28f32b39aa4d
[ "MIT" ]
null
null
null
howdoyoulike/howdoyoulike/urls.py
benjamin0/how-do-you-like-them-apples
63d0c08e5d68a15edf133fd5371b28f32b39aa4d
[ "MIT" ]
null
null
null
howdoyoulike/howdoyoulike/urls.py
benjamin0/how-do-you-like-them-apples
63d0c08e5d68a15edf133fd5371b28f32b39aa4d
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', # Examples: url(r'^admin/', include(admin.site.urls)), url(r'^grappelli/', include('grappelli.urls')), # grappelli URLS url(r'^calls/$', 'calls.views.call'), )
28.9
68
0.67474
37
289
5.27027
0.486486
0.061538
0.082051
0
0
0
0
0
0
0
0
0
0.145329
289
9
69
32.111111
0.789474
0.083045
0
0
0
0
0.21374
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
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
43e1e2043d7a2a107286ee6ab98bfbf710454386
626
py
Python
indico/core/plugins/blueprint.py
bkmgit/indico
d77ee121e35880a416b9b05e6098ea912d870b5c
[ "MIT" ]
1
2021-06-11T20:02:10.000Z
2021-06-11T20:02:10.000Z
indico/core/plugins/blueprint.py
bkmgit/indico
d77ee121e35880a416b9b05e6098ea912d870b5c
[ "MIT" ]
null
null
null
indico/core/plugins/blueprint.py
bkmgit/indico
d77ee121e35880a416b9b05e6098ea912d870b5c
[ "MIT" ]
null
null
null
# This file is part of Indico. # Copyright (C) 2002 - 2022 CERN # # Indico is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see the # LICENSE file for more details. from indico.core.plugins.controllers import RHPluginDetails, RHPlugins from indico.web.flask.wrappers impo...
36.823529
106
0.734824
83
626
5.361446
0.674699
0.044944
0.035955
0.053933
0
0
0
0
0
0
0
0.015009
0.148562
626
16
107
39.125
0.819887
0.319489
0
0
0
0
0.159905
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
43e412c06ad951b89b6ea63d786ffad14f5fc055
10,417
py
Python
util/combine_src.py
redien/duktape
7e4db8dc05c07d426692f2529f1ad82c6e9582ae
[ "MIT" ]
null
null
null
util/combine_src.py
redien/duktape
7e4db8dc05c07d426692f2529f1ad82c6e9582ae
[ "MIT" ]
null
null
null
util/combine_src.py
redien/duktape
7e4db8dc05c07d426692f2529f1ad82c6e9582ae
[ "MIT" ]
null
null
null
#!/usr/bin/python # # Combine all source and header files in source directory into # a single C file. # # The process is not very simple or clean. This helper is not # a generic or 100% correct in the general case: it just needs # to work for Duktape. # # Overview of the process: # # * Parse all relevant C an...
30.459064
147
0.684746
1,504
10,417
4.644947
0.240027
0.019468
0.021472
0.01002
0.118952
0.073433
0.058546
0.050243
0.045663
0.041798
0
0.005827
0.192762
10,417
341
148
30.548387
0.824949
0.292023
0
0.242152
0
0
0.188263
0.002879
0
0
0
0.002933
0.049327
0
null
null
0.004484
0.022422
null
null
0.03139
0
0
0
null
0
0
0
0
0
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
78e3ab4ea9349dfa4228288ac45c9a6b76b717e7
3,302
py
Python
python_fp_tools/Reader.py
spherinder/python-fp-tools
88b2a58ecd21d03b4f747a1c723b02bdb5f5b3f4
[ "MIT" ]
2
2017-10-18T08:46:08.000Z
2017-10-18T08:47:34.000Z
python_fp_tools/Reader.py
spherinder/python-fp-tools
88b2a58ecd21d03b4f747a1c723b02bdb5f5b3f4
[ "MIT" ]
null
null
null
python_fp_tools/Reader.py
spherinder/python-fp-tools
88b2a58ecd21d03b4f747a1c723b02bdb5f5b3f4
[ "MIT" ]
null
null
null
# -------------------------------------------------------- # (c) Copyright 2014 by Jason DeLaat. # Licensed under BSD 3-clause licence. # -------------------------------------------------------- from pymonad.Monad import * class Reader(Monad): """ Represents a Functor for functions allowing authors to map functions...
30.859813
99
0.697153
444
3,302
5.11036
0.387387
0.031732
0.010577
0.01234
0.051124
0.01234
0.01234
0.01234
0.01234
0.01234
0
0.009978
0.180497
3,302
106
100
31.150943
0.828529
0.607511
0
0.055556
0
0
0.038647
0
0
0
0
0
0
1
0.25
false
0
0.027778
0.055556
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
78e54589a4bac289825a4a810e04aa3cd765bbd7
3,399
py
Python
apps/meetings/models.py
froi/horas
39980eb90738f4c9a578bdcfbc56bc1ce373dcab
[ "MIT" ]
null
null
null
apps/meetings/models.py
froi/horas
39980eb90738f4c9a578bdcfbc56bc1ce373dcab
[ "MIT" ]
14
2019-10-09T19:33:25.000Z
2021-07-14T10:42:31.000Z
apps/meetings/models.py
froi/horas
39980eb90738f4c9a578bdcfbc56bc1ce373dcab
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os from datetime import timedelta from django.db import models from django.utils.timezone import get_current_timezone, now from django.utils.formats import date_format from django.core.urlresolvers import reverse_lazy from django.contrib.sites.models import Site from django.conf import s...
34.683673
78
0.65431
415
3,399
5.125301
0.322892
0.037612
0.028209
0.035731
0.158909
0.113305
0.086037
0.086037
0.052656
0.052656
0
0.005412
0.238894
3,399
97
79
35.041237
0.816776
0.030303
0
0
0
0
0.091489
0.008207
0
0
0
0
0
1
0.161765
false
0
0.205882
0.088235
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
78e603f83de635eed9fbdf37ea9c120638846bf8
604
py
Python
venv/lib/python3.6/site-packages/wtforms/compat.py
aitoehigie/britecore_flask
eef1873dbe6b2cc21f770bc6dec783007ae4493b
[ "MIT" ]
null
null
null
venv/lib/python3.6/site-packages/wtforms/compat.py
aitoehigie/britecore_flask
eef1873dbe6b2cc21f770bc6dec783007ae4493b
[ "MIT" ]
1
2021-06-01T23:32:38.000Z
2021-06-01T23:32:38.000Z
venv/lib/python3.6/site-packages/wtforms/compat.py
aitoehigie/britecore_flask
eef1873dbe6b2cc21f770bc6dec783007ae4493b
[ "MIT" ]
null
null
null
import sys __all__ = ( "text_type", "string_types", "izip", "iteritems", "itervalues", "with_metaclass", ) if sys.version_info[0] >= 3: text_type = str string_types = (str,) izip = zip def iteritems(o): return o.items() def itervalues(o): return o.values()...
15.894737
39
0.589404
71
604
4.830986
0.464789
0.081633
0.093294
0.110787
0.239067
0
0
0
0
0
0
0.004598
0.279801
604
37
40
16.324324
0.783908
0
0
0.148148
0
0
0.107616
0
0
0
0
0
0
1
0.185185
false
0
0.074074
0.185185
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
0
1
0
0
0
1
78f8b08627e8629005e88241fe3d5af8f1cf5f54
253
py
Python
test/2021/test_2021_day1.py
TedCassirer/advent-of-code
fb87dfdbb48b44f864337750aa58a809dcf72392
[ "MIT" ]
1
2020-11-30T19:17:50.000Z
2020-11-30T19:17:50.000Z
test/2021/test_2021_day1.py
TedCassirer/advent-of-code
fb87dfdbb48b44f864337750aa58a809dcf72392
[ "MIT" ]
null
null
null
test/2021/test_2021_day1.py
TedCassirer/advent-of-code
fb87dfdbb48b44f864337750aa58a809dcf72392
[ "MIT" ]
null
null
null
import aoc_cas.aoc2021.day1 as aoc testData = """ 199 200 208 210 200 207 240 269 260 263 """.strip() def testPart1(): assert aoc.part1(testData) == 7 def testPart2(): assert aoc.part2(testData) == 5
11
35
0.561265
33
253
4.272727
0.757576
0.12766
0
0
0
0
0
0
0
0
0
0.241176
0.328063
253
22
36
11.5
0.588235
0
0
0.117647
0
0
0.320158
0
0
0
0
0
0.117647
1
0.117647
false
0
0.058824
0
0.176471
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
78fe804f96c7cc3effa561601cb5ce05adcc4412
1,157
py
Python
source/callback/eval_accuracy.py
douglasresende/lambda-deep-learning-demo
ebbbd63c0abf87a1a4155b17cef145039b7a1ef7
[ "Apache-2.0" ]
80
2018-10-27T15:18:03.000Z
2022-01-29T16:49:36.000Z
source/callback/eval_accuracy.py
douglasresende/lambda-deep-learning-demo
ebbbd63c0abf87a1a4155b17cef145039b7a1ef7
[ "Apache-2.0" ]
4
2019-02-11T20:28:35.000Z
2019-10-03T22:58:10.000Z
source/callback/eval_accuracy.py
douglasresende/lambda-deep-learning-demo
ebbbd63c0abf87a1a4155b17cef145039b7a1ef7
[ "Apache-2.0" ]
25
2018-11-15T23:34:31.000Z
2020-09-22T16:21:20.000Z
""" Copyright 2018 Lambda Labs. All Rights Reserved. Licensed under ========================================================================== """ import tensorflow as tf from .callback import Callback class EvalAccuracy(Callback): def __init__(self, config): super(EvalAccuracy, self).__init__(config) def ...
26.906977
76
0.649957
138
1,157
5.173913
0.384058
0.084034
0.117647
0.130252
0.12605
0.12605
0.12605
0
0
0
0
0.014815
0.183233
1,157
42
77
27.547619
0.740741
0.119274
0
0
0
0
0.060396
0
0
0
0
0
0
1
0.208333
false
0
0.083333
0.041667
0.458333
0.041667
0
0
0
null
0
0
0
0
0
0
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
60011b832ec8bdf74b57b22299137ad2fa2ee3e4
441
py
Python
casepro/msgs/migrations/0010_label_migrate_pt4.py
rapidpro/ureport-partners
16e5b95eae36ecbbe8ab2a59f34a2f5fd32ceacd
[ "BSD-3-Clause" ]
21
2015-07-21T15:57:49.000Z
2021-11-04T18:26:35.000Z
casepro/msgs/migrations/0010_label_migrate_pt4.py
rapidpro/ureport-partners
16e5b95eae36ecbbe8ab2a59f34a2f5fd32ceacd
[ "BSD-3-Clause" ]
357
2015-05-22T07:26:45.000Z
2022-03-12T01:08:28.000Z
casepro/msgs/migrations/0010_label_migrate_pt4.py
rapidpro/ureport-partners
16e5b95eae36ecbbe8ab2a59f34a2f5fd32ceacd
[ "BSD-3-Clause" ]
24
2015-05-28T12:30:25.000Z
2021-11-19T01:57:38.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("msgs", "0009_label_migrate_pt1"), ("cases", "0024_label_migrate_pt3")] operations = [ migrations.RemoveField(model_name="messageaction", ...
29.4
99
0.714286
49
441
6.102041
0.632653
0.080268
0.147157
0
0
0
0
0
0
0
0
0.029178
0.145125
441
14
100
31.5
0.763926
0.047619
0
0
0
0
0.23445
0.105263
0
0
0
0
0
1
0
false
0
0.25
0
0.625
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
60024974aa48982ef71c4b9ad19fce121a86d12f
4,149
py
Python
src/apps/prescriptionapp/pydanticmodels.py
sakthiRathinam/fastapicorenew
aaa23e6af387d9915abe30f072d452cb874e90d6
[ "MIT" ]
null
null
null
src/apps/prescriptionapp/pydanticmodels.py
sakthiRathinam/fastapicorenew
aaa23e6af387d9915abe30f072d452cb874e90d6
[ "MIT" ]
null
null
null
src/apps/prescriptionapp/pydanticmodels.py
sakthiRathinam/fastapicorenew
aaa23e6af387d9915abe30f072d452cb874e90d6
[ "MIT" ]
null
null
null
from src.apps.prescriptionapp.models import * from tortoise.contrib.pydantic import pydantic_model_creator #######clinic######## Create_Clinic = pydantic_model_creator( Clinic, name="ClinicGet", exclude=("timings", "created", "updated", "id", "clinicTimings", "clinic_images")) Create_Recopinist = pydantic_model_c...
47.689655
112
0.767655
403
4,149
7.612903
0.146402
0.165254
0.254237
0.134941
0.76043
0.620926
0.432529
0.09811
0.09811
0.056063
0
0
0.102193
4,149
86
113
48.244186
0.823624
0.062425
0
0.108108
0
0
0.206103
0.010861
0
0
0
0
0
1
0
false
0
0.027027
0
0.027027
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60037d194343416c59d584216ed19df4af936c65
609
py
Python
event/migrations/0036_event_logo_white_clean.py
oriolclosa/kthack-app
50850686ee994d2dfe463bd3fda7d7cd71d94d13
[ "MIT" ]
1
2019-07-30T08:16:55.000Z
2019-07-30T08:16:55.000Z
event/migrations/0036_event_logo_white_clean.py
oriolclosa/kthack-app
50850686ee994d2dfe463bd3fda7d7cd71d94d13
[ "MIT" ]
15
2019-08-04T12:07:31.000Z
2022-02-10T09:41:55.000Z
event/migrations/0036_event_logo_white_clean.py
oriolclosa/kthack-app
50850686ee994d2dfe463bd3fda7d7cd71d94d13
[ "MIT" ]
1
2019-08-20T17:28:18.000Z
2019-08-20T17:28:18.000Z
# Generated by Django 2.2.4 on 2019-09-29 09:43 from django.db import migrations import event.models import versatileimagefield.fields class Migration(migrations.Migration): dependencies = [("event", "0035_event_logo_clean")] operations = [ migrations.AddField( model_name="event", ...
25.375
65
0.609195
63
609
5.730159
0.619048
0.060942
0
0
0
0
0
0
0
0
0
0.044601
0.300493
609
23
66
26.478261
0.802817
0.073892
0
0
1
0
0.1121
0.037367
0
0
0
0
0
1
0
false
0
0.176471
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60081d9e985d0d57827792cbe2ae054aa9983193
1,123
py
Python
ejs clases/4.py
CaC-Grupo-9/backend
107067d8bc13ee2ba28c9c1a8bd0b19a4cf55277
[ "MIT" ]
null
null
null
ejs clases/4.py
CaC-Grupo-9/backend
107067d8bc13ee2ba28c9c1a8bd0b19a4cf55277
[ "MIT" ]
null
null
null
ejs clases/4.py
CaC-Grupo-9/backend
107067d8bc13ee2ba28c9c1a8bd0b19a4cf55277
[ "MIT" ]
null
null
null
class Perfil: def __init__(self,username,tipo="user"): self.username = username self.carritoDCompras = [] self.tipo = tipo def AgregarACarrito(self, item): self.carritoDCompras.append(item) class Administrador(Perfil): def __init__(self,username, tipo = "Admin"): ...
24.955556
68
0.668744
122
1,123
5.991803
0.377049
0.098495
0.053352
0.069767
0.261286
0.198358
0
0
0
0
0
0.011186
0.203918
1,123
44
69
25.522727
0.806488
0.053428
0
0.071429
0
0
0.148113
0
0
0
0
0
0
1
0.214286
false
0
0
0
0.321429
0.178571
0
0
0
null
0
0
0
0
0
0
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
6009eb958cb98e77bcc5fe4d660e6b11133154fb
3,187
py
Python
info.py
bensjx/covid-dashboard
c4204d984719137c3cbdd224b50ced385b4f5f49
[ "MIT" ]
null
null
null
info.py
bensjx/covid-dashboard
c4204d984719137c3cbdd224b50ced385b4f5f49
[ "MIT" ]
4
2021-06-08T22:15:45.000Z
2022-03-12T00:45:21.000Z
info.py
bensjx/covid-dashboard
c4204d984719137c3cbdd224b50ced385b4f5f49
[ "MIT" ]
1
2021-05-02T23:55:17.000Z
2021-05-02T23:55:17.000Z
# Import dash import dash import dash_core_components as dcc import dash_html_components as html import dash_bootstrap_components as dbc from dash.dependencies import Input, Output, State infoTab = dcc.Markdown( """ # Dengue-dashboard Code here: https://github.com/bensjx/Dengue-dashboard How it's made: https://t...
46.188406
172
0.774082
479
3,187
5.135699
0.530271
0.020325
0.017073
0.01626
0.043089
0.026016
0
0
0
0
0
0.030446
0.134296
3,187
68
173
46.867647
0.861182
0.003452
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.714286
0
0.714286
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
600b451b1864b4a3e7afef57e7d8bf7a0281e883
767
py
Python
study_algorithm/python/Stacks Queus and Deques/Queue2Stacks.py
AlphaSunny/study
4e65127fefa9078b7ae6b9db92369c93e61e4327
[ "MIT" ]
null
null
null
study_algorithm/python/Stacks Queus and Deques/Queue2Stacks.py
AlphaSunny/study
4e65127fefa9078b7ae6b9db92369c93e61e4327
[ "MIT" ]
null
null
null
study_algorithm/python/Stacks Queus and Deques/Queue2Stacks.py
AlphaSunny/study
4e65127fefa9078b7ae6b9db92369c93e61e4327
[ "MIT" ]
null
null
null
class Queue2Stacks(object): def __init__(self): # Two Stacks self.instack = [] self.outstack = [] def enqueue(self,element): # Add an enqueue with the "IN" stack self.instack.append(element) def dequeue(self): if...
24.741935
84
0.552803
93
767
4.516129
0.55914
0.104762
0.028571
0.057143
0.061905
0
0
0
0
0
0
0.008147
0.359844
767
31
85
24.741935
0.847251
0.14472
0
0.125
0
0
0
0
0
0
0
0
0
0
null
null
0
0
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
60139b5004c5cb7c26974dc0ad0792715143538c
328
py
Python
lib/handlers/base.py
WXSD-Sales/APMBot
8fb61d28447048a026ab2c16312a6ac4cc473f3b
[ "MIT" ]
null
null
null
lib/handlers/base.py
WXSD-Sales/APMBot
8fb61d28447048a026ab2c16312a6ac4cc473f3b
[ "MIT" ]
null
null
null
lib/handlers/base.py
WXSD-Sales/APMBot
8fb61d28447048a026ab2c16312a6ac4cc473f3b
[ "MIT" ]
1
2021-06-25T13:15:18.000Z
2021-06-25T13:15:18.000Z
import json import tornado.web class BaseHandler(tornado.web.RequestHandler): def get_current_user(self): cookie = self.get_secure_cookie("sessionId", max_age_days=1, min_version=1) if cookie != None: cookie = cookie.decode('utf-8') cookie = json.loads(cookie) return...
29.818182
83
0.661585
42
328
5
0.666667
0.095238
0
0
0
0
0
0
0
0
0
0.012
0.237805
328
10
84
32.8
0.828
0
0
0
0
0
0.042683
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
60165b47098bf6e81e5f7020ed5450725740e257
1,460
py
Python
AppHtmlME.workflow/Scripts/apphtml_settings.py
connect1ngdots/AppHtmlME
6cc158a016a6c1893e8ba78b937af030b0c579c3
[ "MIT" ]
1
2018-05-17T23:51:14.000Z
2018-05-17T23:51:14.000Z
AppHtmlME.workflow/Scripts/apphtml_settings.py
connect1ngdots/AppHtmlME
6cc158a016a6c1893e8ba78b937af030b0c579c3
[ "MIT" ]
null
null
null
AppHtmlME.workflow/Scripts/apphtml_settings.py
connect1ngdots/AppHtmlME
6cc158a016a6c1893e8ba78b937af030b0c579c3
[ "MIT" ]
2
2017-03-19T13:24:12.000Z
2018-05-17T23:51:16.000Z
# vim: fileencoding=utf-8 """ AppHtml settings @author Toshiya NISHIO(http://www.toshiya240.com) """ defaultTemplate = { '1) 小さいボタン': '${badgeS}', '2) 大きいボタン': '${badgeL}', '3) テキストのみ': '${textonly}', "4) アイコン付き(小)": u"""<span class="appIcon"><img class="appIconImg" height="60" src="${icon60url}" style...
35.609756
157
0.608219
169
1,460
5.242604
0.491124
0.081264
0.045147
0.06772
0.539503
0.428894
0.428894
0.428894
0.336343
0.336343
0
0.035045
0.159589
1,460
40
158
36.5
0.687042
0.062329
0
0.121212
0
0.181818
0.692873
0.309331
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
6017069c442844ad8ddda6bc6ddb3f9086a5093a
3,104
py
Python
ci/deploy_pxscene.py
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
46
2017-09-07T14:59:22.000Z
2020-10-31T20:34:12.000Z
ci/deploy_pxscene.py
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
1,432
2017-06-21T04:08:48.000Z
2020-08-25T16:21:15.000Z
ci/deploy_pxscene.py
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
317
2017-06-20T19:57:17.000Z
2020-09-16T10:28:30.000Z
import sys, getopt import json import requests from pprint import pprint def handleRequest(argv): """Function to read user request, form http message and send it""" try: opts, args = getopt.getopt(argv,"",["help","version=","repo=","org=","branch=","user=","apitoken=","updateversion="]) except getopt.GetoptError:...
34.10989
171
0.665271
399
3,104
5.075188
0.275689
0.044938
0.02963
0.034568
0.319506
0.283951
0.236049
0.236049
0.236049
0.236049
0
0.004095
0.134665
3,104
90
172
34.488889
0.749814
0.04317
0
0.130435
0
0.057971
0.416494
0.076259
0
0
0
0
0
0
null
null
0
0.057971
null
null
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
60170d57eae7260003ff413d20c174afa809e0c1
1,079
py
Python
pynitrokey/nk3/base.py
sgued/pynitrokey
0499b4283739de5ac451916a22527fa5151ab5db
[ "Apache-2.0", "MIT" ]
4
2019-11-05T16:49:43.000Z
2020-06-15T08:08:00.000Z
pynitrokey/nk3/base.py
sgued/pynitrokey
0499b4283739de5ac451916a22527fa5151ab5db
[ "Apache-2.0", "MIT" ]
16
2019-09-13T14:52:08.000Z
2020-06-22T12:52:41.000Z
pynitrokey/nk3/base.py
sgued/pynitrokey
0499b4283739de5ac451916a22527fa5151ab5db
[ "Apache-2.0", "MIT" ]
2
2020-01-04T12:06:35.000Z
2020-04-17T16:15:13.000Z
# -*- coding: utf-8 -*- # # Copyright 2021 Nitrokey Developers # # Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or # http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or # http://opensource.org/licenses/MIT>, at your option. This file may not be # copied, modified, or distribute...
23.456522
84
0.638554
134
1,079
5.059701
0.544776
0.125369
0.073746
0.073746
0
0
0
0
0
0
0
0.014563
0.23633
1,079
45
85
23.977778
0.808252
0.383689
0
0.48
0
0
0.021472
0
0
0
0
0
0
1
0.28
false
0
0.08
0.04
0.44
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
60225dc7cd9e7eedcdad752e9f7c9f85bfcfb0e1
843
py
Python
Aula 14 - Estrutura de repetição while/desafio065.py
josue-rosa/Python---Curso-em-Video
2d74c7421a49952b7c3eadb1010533525f2de338
[ "MIT" ]
3
2020-10-07T03:21:07.000Z
2020-10-13T14:18:49.000Z
Aula 14 - Estrutura de repetição while/desafio065.py
josue-rosa/Python---Curso-em-Video
2d74c7421a49952b7c3eadb1010533525f2de338
[ "MIT" ]
null
null
null
Aula 14 - Estrutura de repetição while/desafio065.py
josue-rosa/Python---Curso-em-Video
2d74c7421a49952b7c3eadb1010533525f2de338
[ "MIT" ]
null
null
null
""" 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 menor valores lidos. O programa deve perguntar ao usuário se ele quer ou não continuar a digitar valores """ resp = 'S' media = quantidade = soma = maior = menor = 0 while res...
27.193548
98
0.648873
122
843
4.483607
0.57377
0.032907
0
0
0
0
0
0
0
0
0
0.006319
0.24911
843
30
99
28.1
0.85782
0.285884
0
0
0
0
0.279933
0
0
0
0
0.033333
0
1
0
false
0
0
0
0
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
1
0
0
0
0
0
0
0
0
0
0
1
6028388f2c387bf38126ea9021f796f617fc3bbe
677
py
Python
wafw00f/plugins/sitelock.py
84KaliPleXon3/EnableSecurity-wafw00f
7fb9d5c9ddd222377a935724c66977e2e9c97c78
[ "BSD-3-Clause" ]
3,069
2016-05-23T16:08:31.000Z
2022-03-31T16:27:40.000Z
wafw00f/plugins/sitelock.py
marcelovff/wafw00f
e3e6147d5d0dbb89030a9902e47170f15e95dd31
[ "BSD-3-Clause" ]
98
2016-06-06T16:43:54.000Z
2022-03-18T12:30:19.000Z
wafw00f/plugins/sitelock.py
marcelovff/wafw00f
e3e6147d5d0dbb89030a9902e47170f15e95dd31
[ "BSD-3-Clause" ]
734
2016-05-25T02:17:46.000Z
2022-03-31T11:43:37.000Z
#!/usr/bin/env python ''' Copyright (C) 2020, WAFW00F Developers. See the LICENSE file for copying permission. ''' NAME = 'Sitelock (TrueShield)' # Well this is confusing, Sitelock itself uses Incapsula from Imperva # So the fingerprints obtained on blockpage are similar to those of Incapsula. def is_waf(self): ...
32.238095
87
0.694239
88
677
5.295455
0.727273
0.137339
0.145923
0.214592
0
0
0
0
0
0
0
0.01105
0.197932
677
21
88
32.238095
0.847145
0.369276
0
0
0
0
0.394737
0.100478
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
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
6029d30804e2f4ab2c5e59b9a55362f9696919fb
5,530
py
Python
bench/test_drivers/benchlibs/debug.py
spacemonkeydelivers/riscv_security_contest_project
3b32c2c32fd9e87208e997d2613c7148acab3a94
[ "MIT" ]
8
2019-10-02T09:59:18.000Z
2019-12-09T21:21:20.000Z
bench/test_drivers/benchlibs/debug.py
spacemonkeydelivers/riscv_security_contest_project
3b32c2c32fd9e87208e997d2613c7148acab3a94
[ "MIT" ]
null
null
null
bench/test_drivers/benchlibs/debug.py
spacemonkeydelivers/riscv_security_contest_project
3b32c2c32fd9e87208e997d2613c7148acab3a94
[ "MIT" ]
2
2019-09-14T21:52:19.000Z
2019-10-02T20:04:58.000Z
from __future__ import unicode_literals import benchlibs.debugger.disasm as disasm_lib from collections import OrderedDict import os from prompt_toolkit import prompt from prompt_toolkit.history import FileHistory from prompt_toolkit.auto_suggest import AutoSuggestFromHistory from debugger.cmd_examine import CmdExam...
30.722222
82
0.5434
626
5,530
4.573482
0.246006
0.041914
0.047153
0.013622
0.108278
0.030038
0.018861
0
0
0
0
0.003907
0.35208
5,530
179
83
30.893855
0.795144
0.011754
0
0.141892
0
0
0.071978
0
0
0
0
0.005587
0
0
null
null
0
0.108108
null
null
0.087838
0
0
0
null
0
0
0
0
0
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
602ab9d7a7cc73ed389e286e78519ba8f332dbeb
2,027
py
Python
setup.py
JeroenKnoops/functiondefextractor
e44e37a30ed48f84547c53315c2ce23f60152a7e
[ "MIT" ]
null
null
null
setup.py
JeroenKnoops/functiondefextractor
e44e37a30ed48f84547c53315c2ce23f60152a7e
[ "MIT" ]
null
null
null
setup.py
JeroenKnoops/functiondefextractor
e44e37a30ed48f84547c53315c2ce23f60152a7e
[ "MIT" ]
null
null
null
import setuptools def get_license(): """ replace the license content while creating the package""" with open("LICENSE.md", "r", encoding="utf8") as fh: license_description = fh.read() return license_description def get_install(): """ replace the install content while creating the package...
36.854545
112
0.684262
233
2,027
5.819742
0.321888
0.143805
0.112094
0.176991
0.297198
0.297198
0.207965
0.123894
0.123894
0
0
0.007747
0.172176
2,027
54
113
37.537037
0.800358
0.082881
0
0
0
0
0.292391
0.102717
0
0
0
0
0
1
0.073171
false
0
0.02439
0
0.170732
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
602d91fb488676c1876180b22fa0c42f7fbd7522
2,311
py
Python
pipeline/main.py
populationgenomics/seqr-query-backend
66d4dd5e9354a0e13e97585d8f3dcce4f8e80a23
[ "MIT" ]
null
null
null
pipeline/main.py
populationgenomics/seqr-query-backend
66d4dd5e9354a0e13e97585d8f3dcce4f8e80a23
[ "MIT" ]
null
null
null
pipeline/main.py
populationgenomics/seqr-query-backend
66d4dd5e9354a0e13e97585d8f3dcce4f8e80a23
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """Converts an annotated seqr dataset in Hail MatrixTable format to the Arrow IPC format""" import click import os import hailtop.batch as hb from analysis_runner import dataproc, output_path PARQUET_TO_ARROW_SHARD_COUNT = 50 MT_TO_PARQUET_PY = 'mt_to_parquet.py' PARQUET_TO_ARROW_PY = 'parquet...
31.22973
91
0.675032
315
2,311
4.596825
0.380952
0.118094
0.183702
0.082182
0.205801
0.09116
0.05663
0.05663
0.05663
0
0
0.004923
0.209
2,311
73
92
31.657534
0.787199
0.100822
0
0.057692
0
0.019231
0.326066
0.167151
0
0
0
0
0
1
0.019231
false
0
0.076923
0
0.096154
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6032fb6e50880ce780542da2c79a6e5f65086efc
4,766
py
Python
geonode/geonode/documents/search_indexes.py
ttungbmt/BecaGIS_GeoPortal
6c05f9fc020ec4ccf600ba2503a06c2231443920
[ "MIT" ]
null
null
null
geonode/geonode/documents/search_indexes.py
ttungbmt/BecaGIS_GeoPortal
6c05f9fc020ec4ccf600ba2503a06c2231443920
[ "MIT" ]
null
null
null
geonode/geonode/documents/search_indexes.py
ttungbmt/BecaGIS_GeoPortal
6c05f9fc020ec4ccf600ba2503a06c2231443920
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ######################################################################### # # Copyright (C) 2016 OSGeo # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 ...
39.38843
98
0.671003
570
4,766
5.442105
0.338596
0.069633
0.081238
0.096712
0.344939
0.172469
0.0951
0.073823
0.061896
0.061896
0
0.005808
0.205204
4,766
120
99
39.716667
0.813094
0.141838
0
0.318681
0
0
0.074904
0.01758
0
0
0
0
0
1
0.065934
false
0
0.065934
0.032967
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
6034d5106c9fbb6d25a424d0db02f6a67913a181
22,955
py
Python
qiskit/providers/backend.py
chriseclectic/qiskit-terra
efbf4362970575a1719feebb094a6dd441ab4d0e
[ "Apache-2.0" ]
1
2019-05-22T06:19:56.000Z
2019-05-22T06:19:56.000Z
qiskit/providers/backend.py
chriseclectic/qiskit-terra
efbf4362970575a1719feebb094a6dd441ab4d0e
[ "Apache-2.0" ]
6
2020-03-10T13:26:12.000Z
2022-03-30T18:10:24.000Z
qiskit/providers/backend.py
chriseclectic/qiskit-terra
efbf4362970575a1719feebb094a6dd441ab4d0e
[ "Apache-2.0" ]
1
2021-05-25T11:35:55.000Z
2021-05-25T11:35:55.000Z
# This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
36.786859
98
0.645524
2,803
22,955
5.229397
0.172315
0.043662
0.01228
0.009824
0.457225
0.413563
0.3918
0.385796
0.383135
0.383135
0
0.002591
0.293879
22,955
623
99
36.845907
0.901721
0.615291
0
0.396648
0
0
0.073581
0.01514
0
0
0
0
0
1
0.206704
false
0.03352
0.050279
0.011173
0.402235
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
6038b719e1125bd1b3fd5042372b47b6e82ca9f9
9,660
py
Python
liqian/crawl_dblp.py
doge-search/webdoge
443e758b5c1f962d5c2fe792cdbed01e1208b1cb
[ "Unlicense" ]
null
null
null
liqian/crawl_dblp.py
doge-search/webdoge
443e758b5c1f962d5c2fe792cdbed01e1208b1cb
[ "Unlicense" ]
null
null
null
liqian/crawl_dblp.py
doge-search/webdoge
443e758b5c1f962d5c2fe792cdbed01e1208b1cb
[ "Unlicense" ]
null
null
null
#!/usr/bin/python #coding=utf-8 import requests from lxml import etree from collections import namedtuple import sys #f_handler = open('out.log', 'w') #sys.stdout = f_handler DBLP_BASE_URL = 'http://dblp.uni-trier.de/' DBLP_AUTHOR_SEARCH_URL = DBLP_BASE_URL + 'search/author' DBLP_PERSON_URL = DBLP_BASE_UR...
36.730038
138
0.608592
1,179
9,660
4.870229
0.251908
0.052943
0.034483
0.057471
0.149251
0.071404
0.071404
0.064089
0.042146
0.042146
0
0.005234
0.248447
9,660
262
139
36.870229
0.785675
0.030124
0
0.171875
0
0
0.162809
0.015739
0
0
0
0.007634
0
0
null
null
0.010417
0.067708
null
null
0.041667
0
0
0
null
0
0
0
0
0
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
603b56a04558bcaccc71fbd942e1c68dc9ec17c6
2,354
py
Python
.travis/gvfindtools.downloaded_llvm.py
cs17resch01003/gpuverify
f2a4be82331bcfe160202b2da681dc6ecd2aaf17
[ "MS-PL" ]
43
2015-04-29T16:25:41.000Z
2022-02-23T08:22:55.000Z
.travis/gvfindtools.downloaded_llvm.py
cs17resch01003/gpuverify
f2a4be82331bcfe160202b2da681dc6ecd2aaf17
[ "MS-PL" ]
30
2015-05-13T13:38:50.000Z
2022-03-13T22:44:55.000Z
.travis/gvfindtools.downloaded_llvm.py
cs17resch01003/gpuverify
f2a4be82331bcfe160202b2da681dc6ecd2aaf17
[ "MS-PL" ]
12
2016-04-05T11:54:48.000Z
2021-12-29T03:23:10.000Z
""" This module defines the paths that GPUVerify will use to run the various tools that GPUVerify Depends on. These paths must be absolute paths. """ import os import sys # THIS IS A TEMPLATE FOR DEVELOPMENT. MODIFY THE PATHS TO SUIT YOUR BUILD # ENVIRONMENT. THEN COPY THIS FILE INTO THE ROOT GPUVERIFY DIRECT...
33.15493
89
0.74554
336
2,354
5.205357
0.425595
0.048027
0.056604
0.075472
0.145798
0.113208
0.077759
0
0
0
0
0.006101
0.164401
2,354
70
90
33.628571
0.883071
0.670773
0
0
0
0
0.19945
0
0
0
0
0
0
1
0.052632
false
0.052632
0.105263
0
0.157895
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
603e89f81cd0565d115ec031c0da9512457911f7
699
py
Python
main.py
ShafinH/CCTV-LSRV
fbf12df2d012a3d97717aeadfd4737a42b967955
[ "MIT" ]
1
2022-01-15T04:50:26.000Z
2022-01-15T04:50:26.000Z
main.py
ShafinH/CCTV-LSRV
fbf12df2d012a3d97717aeadfd4737a42b967955
[ "MIT" ]
null
null
null
main.py
ShafinH/CCTV-LSRV
fbf12df2d012a3d97717aeadfd4737a42b967955
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import pytorch_lightning as pl import hydra from omegaconf import DictConfig import cctv_learning from cctv_learning.models.conv_autoencoder import Autoencoder from cctv_learning.datasets.cctv import CCTV, CCTVOneVideo from torch.utils.data import DataLoader @cctv_learning.register_experiment ...
23.3
69
0.763948
94
699
5.446809
0.531915
0.117188
0.0625
0
0
0
0
0
0
0
0
0.006612
0.134478
699
29
70
24.103448
0.839669
0.030043
0
0
0
0
0.031019
0
0
0
0
0
0
1
0.105263
false
0
0.368421
0
0.473684
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
60429ec8db9972991125ab8b3944ca50c442754f
1,869
py
Python
src/sage/schemes/product_projective/homset.py
fredstro/sage
c936d2cda81ec7ec3552a3bdb29c994b40d1bb24
[ "BSL-1.0" ]
null
null
null
src/sage/schemes/product_projective/homset.py
fredstro/sage
c936d2cda81ec7ec3552a3bdb29c994b40d1bb24
[ "BSL-1.0" ]
null
null
null
src/sage/schemes/product_projective/homset.py
fredstro/sage
c936d2cda81ec7ec3552a3bdb29c994b40d1bb24
[ "BSL-1.0" ]
null
null
null
r""" Set of homomorphisms """ #***************************************************************************** # Copyright (C) 2014 Volker Braun <vbraun.name@gmail.com> # Ben Hutz <bn4941@gmail.com> # # Distributed under the terms of the GNU General Public License (GPL) # as published by the Free Soft...
33.375
115
0.58962
221
1,869
4.855204
0.420814
0.083877
0.069897
0.097856
0.217148
0.125815
0
0
0
0
0
0.023578
0.228464
1,869
55
116
33.981818
0.720527
0.75923
0
0
0
0
0
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
6045b6113083b4b4c1205795a7d5ae0be38de468
495
py
Python
album/urls.py
cecibarasa/Galleria
de2e1a157ddad161683efa085269e583bc3e38e4
[ "MIT" ]
null
null
null
album/urls.py
cecibarasa/Galleria
de2e1a157ddad161683efa085269e583bc3e38e4
[ "MIT" ]
6
2021-03-30T13:45:42.000Z
2021-09-22T19:19:50.000Z
album/urls.py
cecibarasa/Galleria
de2e1a157ddad161683efa085269e583bc3e38e4
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views from django.conf import settings from django.conf.urls.static import static urlpatterns = [ url(r'^$', views.picture_of_day, name='albumToday'), url(r'^search/', views.search_results, name='search_results'), url(r'^photos/(\d+)', views.photos, name=...
35.357143
81
0.709091
68
495
5.058824
0.382353
0.046512
0.122093
0.104651
0
0
0
0
0
0
0
0
0.129293
495
14
81
35.357143
0.798144
0
0
0
0
0
0.153226
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6055f011b1be50903d6a70db15c713dfe0be3789
3,336
py
Python
eland/tests/dataframe/test_head_tail_pytest.py
alphax777/eland
df2a21ffd43428585d29ed46bc70b45309076ea1
[ "Apache-2.0" ]
null
null
null
eland/tests/dataframe/test_head_tail_pytest.py
alphax777/eland
df2a21ffd43428585d29ed46bc70b45309076ea1
[ "Apache-2.0" ]
1
2020-05-06T01:34:25.000Z
2020-05-06T01:34:25.000Z
eland/tests/dataframe/test_head_tail_pytest.py
alphax777/eland
df2a21ffd43428585d29ed46bc70b45309076ea1
[ "Apache-2.0" ]
1
2020-05-06T01:31:18.000Z
2020-05-06T01:31:18.000Z
# Licensed to Elasticsearch B.V under one or more agreements. # Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # See the LICENSE file in the project root for more information # File called _pytest for PyCharm compatability from eland.tests.common import TestData from eland.tests.common impo...
34.040816
84
0.68705
557
3,336
3.635548
0.113106
0.065185
0.134321
0.173827
0.664691
0.591111
0.591111
0.460247
0.460247
0.460247
0
0.063375
0.229017
3,336
97
85
34.391753
0.72395
0.072242
0
0.405797
0
0
0.017476
0
0
0
0
0
0.231884
1
0.086957
false
0
0.028986
0
0.130435
0.014493
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
6057e49cffc5a69c36c1c563f4623191ccf53db7
11,815
py
Python
problem_repair/tests.py
lisabuaa/OnlineJudge3
16b91e1886f2d9b71380ba4dfb89bc72add7d01b
[ "MIT" ]
null
null
null
problem_repair/tests.py
lisabuaa/OnlineJudge3
16b91e1886f2d9b71380ba4dfb89bc72add7d01b
[ "MIT" ]
null
null
null
problem_repair/tests.py
lisabuaa/OnlineJudge3
16b91e1886f2d9b71380ba4dfb89bc72add7d01b
[ "MIT" ]
null
null
null
from django.test import TestCase #!/usr/bin/env python ''' clara CLI interface ''' # Python imports import json import os import pprint import sys import traceback from ast import literal_eval # clara imports from claraa.common import parseargs, debug from claraa.feedback import Feedback, FeedGen from claraa.feedb...
31.174142
79
0.568261
1,421
11,815
4.684025
0.18297
0.03155
0.02479
0.014724
0.197416
0.177885
0.120192
0.09405
0.060246
0.047025
0
0.008644
0.324418
11,815
378
80
31.256614
0.825232
0.004147
0
0.076628
0
0
0.246555
0
0
0
0
0
0
0
null
null
0
0.065134
null
null
0.076628
0
0
0
null
0
0
0
0
0
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
605834b1cf52a7f361c52d977856aaf03b2bfdfd
735
py
Python
tests/base.py
irqed/octokit.py
9598024110d22b7dc698327a61d03db3e0e059d1
[ "MIT" ]
3
2015-06-05T03:36:50.000Z
2022-03-23T12:45:39.000Z
tests/base.py
irqed/octokit.py
9598024110d22b7dc698327a61d03db3e0e059d1
[ "MIT" ]
null
null
null
tests/base.py
irqed/octokit.py
9598024110d22b7dc698327a61d03db3e0e059d1
[ "MIT" ]
null
null
null
# encoding: utf-8 import os import unittest import warnings from vcr import VCR from octokit import Octokit # Turn off requests warnings about unsecure SSL requests since # no real requests are happening in tests. Everything is routed to VCR afterall warnings.simplefilter("ignore") CASSETTES_PATH = os.path.join(os.p...
22.96875
79
0.691156
94
735
5.265957
0.670213
0.036364
0
0
0
0
0
0
0
0
0
0.001754
0.22449
735
31
80
23.709677
0.866667
0.341497
0
0
0
0
0.04034
0
0
0
0
0
0
1
0.0625
false
0
0.3125
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
605a3e3c41da1a0379feafed2b5a35ce231b5fd0
639
py
Python
images/migrations/0003_auto_20210705_1600.py
kiplaa1500/MY-GALLERY
2e072a84d84481766c084abb047d5f7e80bd8492
[ "CNRI-Python", "CECILL-B" ]
null
null
null
images/migrations/0003_auto_20210705_1600.py
kiplaa1500/MY-GALLERY
2e072a84d84481766c084abb047d5f7e80bd8492
[ "CNRI-Python", "CECILL-B" ]
null
null
null
images/migrations/0003_auto_20210705_1600.py
kiplaa1500/MY-GALLERY
2e072a84d84481766c084abb047d5f7e80bd8492
[ "CNRI-Python", "CECILL-B" ]
null
null
null
# Generated by Django 3.2.4 on 2021-07-05 13:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('images', '0002_auto_20210705_1559'), ] operations = [ migrations.AddField( model_name='category', name='name', ...
24.576923
62
0.583725
66
639
5.5
0.590909
0.099174
0.126722
0.14876
0.347107
0.176309
0
0
0
0
0
0.088036
0.306729
639
25
63
25.56
0.731377
0.070423
0
0.315789
1
0
0.10473
0.038851
0
0
0
0
0
1
0
false
0
0.052632
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
605ba9c27b4fc7431d8b25868685fc8a72b4bd48
693
py
Python
devsocial/twitter/controllers.py
danertor/devsocial
d0d307c1512b4233a6bb1f7cb71cf749e16b7daa
[ "MIT" ]
null
null
null
devsocial/twitter/controllers.py
danertor/devsocial
d0d307c1512b4233a6bb1f7cb71cf749e16b7daa
[ "MIT" ]
null
null
null
devsocial/twitter/controllers.py
danertor/devsocial
d0d307c1512b4233a6bb1f7cb71cf749e16b7daa
[ "MIT" ]
null
null
null
# pylint: disable=missing-class-docstring # pylint: disable=missing-function-docstring """ Behaviour for the Twitter module. """ from .models import TwitterDeveloper from ..controllers import BaseSocialController # pylint: disable=too-few-public-methods, useless-super-delegation class TwitterConnectedController(BaseS...
33
94
0.780664
70
693
7.514286
0.585714
0.074144
0.076046
0
0
0
0
0
0
0
0
0.010017
0.135642
693
20
95
34.65
0.868114
0.262626
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.1
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
605bb590b460b595400b6ef8e3f5250e8f1aab8f
1,352
py
Python
services/web/project/config.py
vovoka/booklib_2020
cb67c90e2447b86ac4c78b9ebed6376035d49c42
[ "MIT" ]
2
2020-09-11T18:44:35.000Z
2020-10-12T11:17:13.000Z
services/web/project/config.py
vovoka/booklib_2020
cb67c90e2447b86ac4c78b9ebed6376035d49c42
[ "MIT" ]
4
2021-06-08T22:33:57.000Z
2022-03-12T00:49:28.000Z
services/web/project/config.py
vovoka/booklib_2020
cb67c90e2447b86ac4c78b9ebed6376035d49c42
[ "MIT" ]
null
null
null
import os # from dotenv import load_dotenv basedir = os.path.abspath(os.path.dirname(__file__)) class Config(object): FLASK_APP = os.getenv('FLASK_APP') SQLALCHEMY_DATABASE_URI = os.getenv("DATABASE_URL", "sqlite://") SQLALCHEMY_TRACK_MODIFICATIONS = False SECRET_KEY = os.urandom(32) # Image up...
30.727273
73
0.694527
188
1,352
4.691489
0.56383
0.081633
0.054422
0.038549
0
0
0
0
0
0
0
0.04308
0.193047
1,352
43
74
31.44186
0.765353
0.16716
0
0
0
0
0.143498
0
0
0
0
0
0
1
0
false
0.04
0.04
0
0.96
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
6064093e45288226d8defb59b3a0829ec5d9c632
12,963
py
Python
melodic/lib/python2.7/dist-packages/mavros_msgs/msg/_ADSBVehicle.py
Dieptranivsr/Ros_Diep
d790e75e6f5da916701b11a2fdf3e03b6a47086b
[ "MIT" ]
10
2021-03-15T03:58:06.000Z
2021-12-30T15:33:38.000Z
devel/.private/mavros_msgs/lib/python2.7/dist-packages/mavros_msgs/msg/_ADSBVehicle.py
arijitnoobstar/UAVProjectileCatcher
3c1bed80df167192cb4b971b58c891187628142e
[ "Apache-2.0" ]
1
2021-09-09T15:29:31.000Z
2021-09-09T15:29:31.000Z
melodic/lib/python2.7/dist-packages/mavros_msgs/msg/_ADSBVehicle.py
Dieptranivsr/Ros_Diep
d790e75e6f5da916701b11a2fdf3e03b6a47086b
[ "MIT" ]
4
2021-03-06T09:35:58.000Z
2021-05-24T14:34:11.000Z
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from mavros_msgs/ADSBVehicle.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import genpy import std_msgs.msg class ADSBVehicle(genpy.Message): _md5sum = ...
34.568
228
0.663118
1,817
12,963
4.506879
0.178866
0.031261
0.021981
0.02076
0.456588
0.444377
0.426548
0.426548
0.417023
0.400049
0
0.034652
0.216385
12,963
374
229
34.660428
0.77151
0.106843
0
0.488959
1
0.009464
0.295771
0.037387
0
0
0.000876
0
0
1
0.028391
false
0
0.022082
0
0.182965
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
606a9f0e0046083024fcd9b06b0fdcf277cc1de6
645
py
Python
specs/matchers/built_in/be_spec.py
danibaena/expects
296203a3fb07cf3061b8f7b348136c9208195d93
[ "Apache-2.0" ]
189
2015-01-05T13:26:40.000Z
2021-09-27T12:44:48.000Z
specs/matchers/built_in/be_spec.py
danibaena/expects
296203a3fb07cf3061b8f7b348136c9208195d93
[ "Apache-2.0" ]
38
2015-02-13T16:08:23.000Z
2022-02-14T12:14:28.000Z
specs/matchers/built_in/be_spec.py
danibaena/expects
296203a3fb07cf3061b8f7b348136c9208195d93
[ "Apache-2.0" ]
32
2015-03-12T08:06:47.000Z
2022-03-08T18:16:28.000Z
# -*- coding: utf-8 -* from expects import * from expects.testing import failure with describe('be'): with it('should pass if object is expected'): value = 1 expect(value).to(be(value)) with it('should fail if object is not expected'): with failure('expected: 1 to be 2'): ...
25.8
57
0.572093
92
645
3.98913
0.293478
0.065395
0.13079
0.087193
0.419619
0.359673
0.283379
0
0
0
0
0.024336
0.299225
645
24
58
26.875
0.787611
0.031008
0
0.125
0
0
0.308186
0
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
606ef01525a584668e6f8a5e43226d992132b9a0
2,601
py
Python
platforms/STM32F3.py
psifertex/binaryninja_cortex
aa605e11fa45bf5c94e27db4d917ced52ad75c58
[ "Apache-2.0" ]
11
2018-09-26T12:31:23.000Z
2020-10-08T09:17:13.000Z
platforms/STM32F3.py
psifertex/binaryninja_cortex
aa605e11fa45bf5c94e27db4d917ced52ad75c58
[ "Apache-2.0" ]
1
2020-04-30T07:18:05.000Z
2020-07-01T15:11:25.000Z
platforms/STM32F3.py
psifertex/binaryninja_cortex
aa605e11fa45bf5c94e27db4d917ced52ad75c58
[ "Apache-2.0" ]
4
2020-03-24T05:28:43.000Z
2020-10-10T15:51:59.000Z
from binaryninja_cortex.platforms import MCU class Chip(MCU): NAME="STM32F3" ROM_OFF=0x08000000 RAM_OFF=0x20000000 IRQ=MCU.IRQ+ [ "NVIC_WWDG_IRQ", "NVIC_PVD_IRQ", "NVIC_TAMP_STAMP_IRQ", "NVIC_RTC_WKUP_IRQ", "NVIC_FLASH_IRQ", "NVIC_RCC_IRQ", "NVIC...
28.9
44
0.606305
336
2,601
3.985119
0.333333
0.42345
0.100822
0.017924
0
0
0
0
0
0
0
0.073064
0.294887
2,601
89
45
29.224719
0.657034
0
0
0
0
0
0.568243
0.222607
0
0
0.007689
0
0
1
0
false
0
0.011364
0
0.068182
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
6072ec4a6cf38366a34046b4f169e8782e764658
997
py
Python
chapter01/postgres_study.py
thiagola92/learning-databases-with-python
cf23c34d7fd1ecd36dd3e7b30dc5916eb23eaf1e
[ "MIT" ]
null
null
null
chapter01/postgres_study.py
thiagola92/learning-databases-with-python
cf23c34d7fd1ecd36dd3e7b30dc5916eb23eaf1e
[ "MIT" ]
null
null
null
chapter01/postgres_study.py
thiagola92/learning-databases-with-python
cf23c34d7fd1ecd36dd3e7b30dc5916eb23eaf1e
[ "MIT" ]
null
null
null
# pip install psycopg import psycopg # Connect to database client = psycopg.connect("postgres://username:password@127.0.0.1") cursor = client.cursor() # Create table cursor.execute( """ CREATE TABLE table_name( sku integer, name varchar(255), description text, category varchar(...
23.186047
248
0.698094
131
997
5.282443
0.656489
0.075145
0.052023
0
0
0
0
0
0
0
0
0.028894
0.201605
997
42
249
23.738095
0.840452
0.220662
0
0.142857
0
0
0.25228
0.115502
0
0
0
0
0
1
0
false
0.071429
0.071429
0
0.071429
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6077129d6a6d229bcd693197827cc45c4d298e9c
326
py
Python
Beginning/python3_cookbook/ch03/07-infinity.py
XiangyuDing/Beginning-Python
0c6c45e01a71ea37f35aa299d2210e1ee5d6c545
[ "MIT" ]
1
2018-03-10T16:20:15.000Z
2018-03-10T16:20:15.000Z
Beginning/python3_cookbook/ch03/07-infinity.py
XiangyuDing/Beginning-Python
0c6c45e01a71ea37f35aa299d2210e1ee5d6c545
[ "MIT" ]
null
null
null
Beginning/python3_cookbook/ch03/07-infinity.py
XiangyuDing/Beginning-Python
0c6c45e01a71ea37f35aa299d2210e1ee5d6c545
[ "MIT" ]
null
null
null
# 3.7 无穷大与NaN a = float('inf') b = float('-inf') c = float('nan') print(a) print(b) print(c) import math print(math.isinf(a)) print(math.isnan(c)) print(a + 45) print(a * 10) print(10 / a) print(a / a) print(a + b) print(c + 23) print(c / 2) print(c * 2) print(math.sqrt(c)) d = float('nan') print(c == d) print(c ...
11.241379
20
0.592025
66
326
2.924242
0.318182
0.186529
0.134715
0.124352
0
0
0
0
0
0
0
0.044944
0.180982
326
28
21
11.642857
0.677903
0.033742
0
0
0
0
0.041534
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
0.761905
0
0
0
null
0
0
0
0
0
0
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
6079fa0e41fe494e0597a7fc29421c1ba3590b4c
540
py
Python
src/spaceone/inventory/libs/schema/region.py
jihyungSong/plugin-azure-cloud-services
f41dc19ae41c20d2525e798689b6fa6ac82cedfd
[ "Apache-2.0" ]
5
2020-11-25T07:20:01.000Z
2021-07-28T08:46:10.000Z
src/spaceone/inventory/libs/schema/region.py
jihyungSong/plugin-azure-cloud-services
f41dc19ae41c20d2525e798689b6fa6ac82cedfd
[ "Apache-2.0" ]
12
2021-09-04T13:19:19.000Z
2021-12-28T03:05:57.000Z
src/spaceone/inventory/libs/schema/region.py
jihyungSong/plugin-azure-cloud-services
f41dc19ae41c20d2525e798689b6fa6ac82cedfd
[ "Apache-2.0" ]
5
2020-11-25T07:20:06.000Z
2021-04-06T04:53:59.000Z
from schematics import Model from schematics.types import ListType, StringType, PolyModelType, DictType from .base import BaseResponse class RegionResource(Model): name = StringType(default="") region_code = StringType() provider = StringType(default="azure") tags = DictType(StringType) class Region...
33.75
92
0.755556
54
540
7.481481
0.5
0.168317
0
0
0
0
0
0
0
0
0
0.002146
0.137037
540
16
93
33.75
0.864807
0
0
0
0
0
0.075786
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
607c1e87fcd31c29dea2ee07197b3ba17c39d248
13,754
py
Python
bin/ADFRsuite/CCSBpckgs/PmvApp/GUI/Qt/pyshell.py
AngelRuizMoreno/Jupyter_Dock_devel
6d23bc174d5294d1e9909a0a1f9da0713042339e
[ "MIT" ]
null
null
null
bin/ADFRsuite/CCSBpckgs/PmvApp/GUI/Qt/pyshell.py
AngelRuizMoreno/Jupyter_Dock_devel
6d23bc174d5294d1e9909a0a1f9da0713042339e
[ "MIT" ]
null
null
null
bin/ADFRsuite/CCSBpckgs/PmvApp/GUI/Qt/pyshell.py
AngelRuizMoreno/Jupyter_Dock_devel
6d23bc174d5294d1e9909a0a1f9da0713042339e
[ "MIT" ]
1
2021-11-04T21:48:14.000Z
2021-11-04T21:48:14.000Z
################################################################################ ## ## This library is free software; you can redistribute it and/or ## modify it under the terms of the GNU Lesser General Public ## License as published by the Free Software Foundation; either ## version 2.1 of the License, or (at your op...
32.592417
87
0.542242
1,423
13,754
5.113844
0.273366
0.023499
0.014841
0.032981
0.257799
0.175897
0.140305
0.09372
0.073382
0.073382
0
0.005844
0.30333
13,754
421
88
32.669834
0.753601
0.25469
0
0.320755
0
0
0.016735
0
0
0
0
0.002375
0
0
null
null
0.014151
0.023585
null
null
0.004717
0
0
0
null
0
0
0
0
0
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
6081464215d3844bdaa04f84e880ed425b215f0f
2,114
py
Python
src/octopus/transport/basic.py
gar-syn/congo-lab
dc50af4e35903556bc8bc34dc23a7a708c1f5422
[ "MIT" ]
1
2021-02-02T11:27:25.000Z
2021-02-02T11:27:25.000Z
src/octopus/transport/basic.py
gar-syn/congo-lab
dc50af4e35903556bc8bc34dc23a7a708c1f5422
[ "MIT" ]
18
2021-02-01T11:35:15.000Z
2021-08-03T14:23:38.000Z
src/octopus/transport/basic.py
gar-syn/congo-lab
dc50af4e35903556bc8bc34dc23a7a708c1f5422
[ "MIT" ]
null
null
null
# Zope Imports from zope.interface import implementer # Twisted Imports from twisted.internet import reactor, defer, serialport from twisted.internet.endpoints import TCP4ClientEndpoint from twisted.internet.interfaces import IAddress from twisted.python.util import FancyEqMixin # # Transports have a connect() functi...
27.454545
95
0.684011
242
2,114
5.809917
0.359504
0.051209
0.040541
0.025605
0.035562
0
0
0
0
0
0
0.004248
0.220435
2,114
76
96
27.815789
0.848908
0.147114
0
0.088889
0
0
0.028201
0
0
0
0
0
0
1
0.155556
false
0
0.111111
0.044444
0.711111
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
6086452cce4eef56cce266260ecd0c552895cc5a
377
py
Python
model/__init__.py
changwoolee/gradient-rescaling-attention-model
2f1d819e8cee03a9d06312e700a5c474bed48c70
[ "Apache-2.0" ]
6
2019-11-28T13:46:55.000Z
2022-03-12T02:52:13.000Z
model/__init__.py
changwoolee/gradient-rescaling-attention-model
2f1d819e8cee03a9d06312e700a5c474bed48c70
[ "Apache-2.0" ]
null
null
null
model/__init__.py
changwoolee/gradient-rescaling-attention-model
2f1d819e8cee03a9d06312e700a5c474bed48c70
[ "Apache-2.0" ]
1
2020-10-13T18:23:56.000Z
2020-10-13T18:23:56.000Z
import os import tempfile def load_model(path, compile=True): import train return train._load_model(path, compile=compile) def copy_weights(from_model, to_model, by_name=True): with tempfile.TemporaryDirectory(dir='.') as d: path = os.path.join(d, 'weights.h5') from_model.save_weights(pa...
25.133333
53
0.713528
56
377
4.571429
0.446429
0.070313
0.101563
0.15625
0
0
0
0
0
0
0
0.003226
0.177719
377
14
54
26.928571
0.822581
0
0
0
0
0
0.029178
0
0
0
0
0
0
1
0.2
false
0
0.3
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6087f178b46051b6886085104eff37b9a3371fbe
829
py
Python
experiments/2013-10-01-pure-lin.py
jaesikchoi/gpss-research
2a64958a018f1668f7b8eedf33c4076a63af7868
[ "MIT" ]
151
2015-01-09T19:25:05.000Z
2022-01-05T02:05:52.000Z
experiments/2013-10-01-pure-lin.py
jaesikchoi/gpss-research
2a64958a018f1668f7b8eedf33c4076a63af7868
[ "MIT" ]
1
2016-08-04T13:12:51.000Z
2016-08-04T13:12:51.000Z
experiments/2013-10-01-pure-lin.py
jaesikchoi/gpss-research
2a64958a018f1668f7b8eedf33c4076a63af7868
[ "MIT" ]
59
2015-02-04T19:13:58.000Z
2021-07-28T23:36:09.000Z
Experiment(description='Testing the pure linear kernel', data_dir='../data/tsdlr/', max_depth=10, random_order=False, k=1, debug=False, local_computation=False, n_rand=9, sd=2, jitter_sd=0.1, max_jobs=500, ...
29.607143
61
0.51146
91
829
4.43956
0.703297
0.044554
0
0
0
0
0
0
0
0
0
0.057199
0.38842
829
27
62
30.703704
0.739645
0
0
0
0
0
0.131484
0.078408
0
0
0
0
0
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
608a9e1dd81f305e4857633fdaca8a1b2a809f21
3,470
py
Python
websauna/system/crud/sqlalchemy.py
stevepiercy/websauna
2886b86f7920d75900c634958779d61aa73f011b
[ "CNRI-Python" ]
null
null
null
websauna/system/crud/sqlalchemy.py
stevepiercy/websauna
2886b86f7920d75900c634958779d61aa73f011b
[ "CNRI-Python" ]
null
null
null
websauna/system/crud/sqlalchemy.py
stevepiercy/websauna
2886b86f7920d75900c634958779d61aa73f011b
[ "CNRI-Python" ]
null
null
null
"""SQLAlchemy form support.""" # Standard Library import typing as t # Pyramid from pyramid.interfaces import IRequest # SQLAlchemy from sqlalchemy.orm import Query from sqlalchemy.orm import Session # Websauna from websauna.system.http import Request from . import CRUD as _CRUD from . import Resource as _Resource ...
29.65812
144
0.65389
441
3,470
5.056689
0.331066
0.018834
0.030942
0.020628
0.06278
0.035874
0
0
0
0
0
0
0.258213
3,470
116
145
29.913793
0.866356
0.410951
0
0.095238
0
0
0.083518
0
0
0
0
0
0.02381
1
0.190476
false
0
0.166667
0
0.547619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
608e5298a256279a54664e68ef763799a20ae404
7,863
py
Python
Phase2/eval/playerVSplayer.py
Manis99803/IPL_Match_Simulation
7c1841c60b5755bb4a858ab732d29c22f8a88493
[ "MIT" ]
null
null
null
Phase2/eval/playerVSplayer.py
Manis99803/IPL_Match_Simulation
7c1841c60b5755bb4a858ab732d29c22f8a88493
[ "MIT" ]
null
null
null
Phase2/eval/playerVSplayer.py
Manis99803/IPL_Match_Simulation
7c1841c60b5755bb4a858ab732d29c22f8a88493
[ "MIT" ]
1
2019-10-24T16:17:36.000Z
2019-10-24T16:17:36.000Z
# Computing player vs player statistics by parsing over all the IPL yaml files downloaded from the cricsheet.org import yaml import re import csv import os playerStatistics = {} # Player statistics is the ditionary which will have all the player vs player statistics. playerList = [] ok = 1 def probabilityFunction(fi...
43.683333
160
0.608165
1,026
7,863
4.645224
0.157895
0.018044
0.183592
0.045321
0.625052
0.609106
0.599035
0.59274
0.59274
0.558749
0
0.047042
0.213277
7,863
179
161
43.927374
0.723408
0.106321
0
0.625806
0
0.006452
0.059025
0.027802
0
0
0
0
0
1
0.006452
false
0
0.025806
0
0.032258
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6090e48858d670cd5d4cacb75b86f272975e1c78
2,947
py
Python
behavioral_patterns/observer_pattern.py
foo290/software-design-patterns
4a6ee660acf64f94278054bdcce78a4d4caf3da1
[ "MIT" ]
null
null
null
behavioral_patterns/observer_pattern.py
foo290/software-design-patterns
4a6ee660acf64f94278054bdcce78a4d4caf3da1
[ "MIT" ]
null
null
null
behavioral_patterns/observer_pattern.py
foo290/software-design-patterns
4a6ee660acf64f94278054bdcce78a4d4caf3da1
[ "MIT" ]
null
null
null
class Observer: def update(self, obj, *args, **kwargs): raise NotImplemented class Observable: def __init__(self): self._observers = [] def add_observer(self, observer): self._observers.append(observer) def remove_observer(self, observer): self._observers.remove(obser...
25.405172
100
0.623346
325
2,947
5.332308
0.233846
0.048471
0.031737
0.034622
0.281593
0.243508
0.243508
0.20427
0.20427
0.20427
0
0.002756
0.261283
2,947
115
101
25.626087
0.793294
0.006108
0
0.296296
0
0
0.122735
0
0
0
0
0
0
1
0.222222
false
0
0
0.012346
0.358025
0.098765
0
0
0
null
0
0
0
0
0
0
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
6092d78b87df5612bcb9b713e19bb26c6e712f4d
488
py
Python
sample_project/web/urls.py
mireq/django-simple-paginator
eaf25756f7ad6f67ca0d6cd8fd721839447885c2
[ "BSD-2-Clause-FreeBSD" ]
1
2020-02-08T02:32:56.000Z
2020-02-08T02:32:56.000Z
sample_project/web/urls.py
mireq/django-simple-paginator
eaf25756f7ad6f67ca0d6cd8fd721839447885c2
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
sample_project/web/urls.py
mireq/django-simple-paginator
eaf25756f7ad6f67ca0d6cd8fd721839447885c2
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.home_view, name='home'), url(r'^default/(?:(?P<page>\d+)/)?$', views.default_paginator_view, name='default_paginator'), url(r'^large/(?:(?P<page>\d+)/)?$', views.l...
32.533333
119
0.690574
67
488
4.776119
0.38806
0.05
0.05625
0.103125
0
0
0
0
0
0
0
0.002237
0.084016
488
14
120
34.857143
0.713647
0.043033
0
0
0
0
0.335484
0.253763
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
609461f5f746d42b675b83fde37470fffc7c99c3
1,203
py
Python
vespene/common/logger.py
Conan-Kudo/vespene
9e9977523f45586e1326ccd77d8cc0cb10591a07
[ "Apache-2.0" ]
680
2018-10-29T12:12:10.000Z
2019-04-27T09:52:58.000Z
vespene/common/logger.py
Conan-Kudo/vespene
9e9977523f45586e1326ccd77d8cc0cb10591a07
[ "Apache-2.0" ]
110
2018-10-29T12:33:34.000Z
2019-02-14T02:31:43.000Z
vespene/common/logger.py
Conan-Kudo/vespene
9e9977523f45586e1326ccd77d8cc0cb10591a07
[ "Apache-2.0" ]
92
2018-10-29T12:21:12.000Z
2019-06-08T11:08:08.000Z
# Copyright 2018, Michael DeHaan LLC # License: Apache License Version 2.0 # ------------------------------------------------------------------------- # logger.py - basic wrapper around Python standard logging just so in # case we need to change this behavior it is all in one place # -----------------------------...
27.340909
97
0.535328
126
1,203
4.936508
0.507937
0.045016
0.07074
0.109325
0
0
0
0
0
0
0
0.006696
0.255195
1,203
43
98
27.976744
0.6875
0.292602
0
0
0
0
0.069988
0
0
0
0
0
0
1
0.25
false
0.041667
0.041667
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
1
0
0
0
0
0
0
0
1
609aacbe7e5324cf75f4b01aaf2ce46795c751fe
335
py
Python
Visualization/random_color_visualizer.py
monocilindro/qgis-earthengine-examples
82aea8926d34ed3f4ad4a4a345ddbd225819d28f
[ "MIT" ]
646
2019-12-03T06:09:03.000Z
2022-03-28T03:37:08.000Z
Visualization/random_color_visualizer.py
csaybar/qgis-earthengine-examples
ba8942683834d2847ff3246bdd1859b36e50fe44
[ "MIT" ]
10
2019-12-30T03:42:44.000Z
2021-05-22T07:34:07.000Z
Visualization/random_color_visualizer.py
csaybar/qgis-earthengine-examples
ba8942683834d2847ff3246bdd1859b36e50fe44
[ "MIT" ]
219
2019-12-06T02:20:53.000Z
2022-03-30T15:14:27.000Z
# GitHub URL: https://github.com/giswqs/qgis-earthengine-examples/tree/master/Visualization/random_color_visualizer.py import ee from ee_plugin import Map dataset = ee.Image('USGS/NLCD/NLCD2016') landcover = ee.Image(dataset.select('landcover')) Map.setCenter(-95, 38, 5) Map.addLayer(landcover.randomVisualizer(), {}...
30.454545
118
0.776119
45
335
5.711111
0.733333
0.054475
0
0
0
0
0
0
0
0
0
0.029032
0.074627
335
10
119
33.5
0.8
0.346269
0
0
0
0
0.165899
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
609b8223943228db2e2926160f26b9fa1f7a8c8e
727
py
Python
src/process.py
cam-carter/cpu-scheduler
da0f119fe298e1ea640b7916547b3d0ce4961bd9
[ "MIT" ]
null
null
null
src/process.py
cam-carter/cpu-scheduler
da0f119fe298e1ea640b7916547b3d0ce4961bd9
[ "MIT" ]
4
2018-03-09T13:49:31.000Z
2018-03-15T04:50:59.000Z
src/process.py
cam-carter/cpu-scheduler
da0f119fe298e1ea640b7916547b3d0ce4961bd9
[ "MIT" ]
1
2018-03-09T05:04:29.000Z
2018-03-09T05:04:29.000Z
from collections import deque class Process: def __init__(self): self.burst_times = deque([]) self.wait_times = deque([]) def create(self, filename): inputfile = open(filename) lines = inputfile.readlines() self.pid = int(lines[0].rstrip('\n')) self.arrival_time...
31.608696
90
0.603851
96
727
4.395833
0.34375
0.113744
0.099526
0.090047
0
0
0
0
0
0
0
0.010714
0.229711
727
22
91
33.045455
0.742857
0
0
0
0
0
0.016506
0
0
0
0
0
0
1
0.222222
false
0
0.055556
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
1
0
0
0
0
0
0
0
1
60a2fe26229693861d8d73120499a08a16e4c907
572
py
Python
model_naive_bayes.py
felipethamay/lime
4405b659be90b38d1fb2369bf660e1aa495df530
[ "MIT" ]
null
null
null
model_naive_bayes.py
felipethamay/lime
4405b659be90b38d1fb2369bf660e1aa495df530
[ "MIT" ]
null
null
null
model_naive_bayes.py
felipethamay/lime
4405b659be90b38d1fb2369bf660e1aa495df530
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import pandas as pd import numpy as np from sklearn.naive_bayes import MultinomialNB from sklearn.feature_extraction.text import CountVectorizer """ Ler """ df_train = pd.read_csv('./data_train_test/df_train_imbd.csv') df_test = pd.read_csv('./data_train_test/df_test_imbd.csv') """ Vetoriz...
19.724138
62
0.770979
87
572
4.747126
0.448276
0.084746
0.043584
0.062954
0.256659
0.256659
0.116223
0
0
0
0
0.005825
0.09965
572
29
63
19.724138
0.796117
0.036713
0
0
0
0
0.137725
0.137725
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
60a4fc69268059705514df7c3c0f079f4f8cc986
6,974
py
Python
main.py
BForever/ZJU-nCov-Hitcarder
763da53cd33d767db34a23a63c604327b88b5f70
[ "MIT" ]
null
null
null
main.py
BForever/ZJU-nCov-Hitcarder
763da53cd33d767db34a23a63c604327b88b5f70
[ "MIT" ]
null
null
null
main.py
BForever/ZJU-nCov-Hitcarder
763da53cd33d767db34a23a63c604327b88b5f70
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import datetime import json import os import random import re import time import requests from notification import notification class DaKa(object): """Hit card class Attributes: username: (str) 浙大统一认证平台用户名(一般为学号) password: (str) 浙大统一认证平台密码 login_url: (str) 登录u...
33.052133
231
0.582162
866
6,974
4.576212
0.314088
0.031794
0.012112
0.031542
0.165279
0.09841
0.074186
0.03785
0.021196
0
0
0.020472
0.264554
6,974
210
232
33.209524
0.751998
0.098509
0
0.122449
0
0.013605
0.196666
0.004047
0
0
0
0
0
1
0.054422
false
0.095238
0.054422
0
0.197279
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
60a7e7b6a5944cbe9057fede37baa9a4b9e6d83c
759
py
Python
setup.py
cdagnino/ngboost
c6a92e1ac8e00f3b946950eb422d32552dee1059
[ "Apache-2.0" ]
3
2019-10-27T22:16:31.000Z
2019-11-25T01:23:48.000Z
setup.py
cdagnino/ngboost
c6a92e1ac8e00f3b946950eb422d32552dee1059
[ "Apache-2.0" ]
null
null
null
setup.py
cdagnino/ngboost
c6a92e1ac8e00f3b946950eb422d32552dee1059
[ "Apache-2.0" ]
null
null
null
import setuptools setuptools.setup( name="ngboost", version="0.1.3", author="Stanford ML Group", author_email="avati@cs.stanford.edu", description="Library for probabilistic predictions via gradient boosting.", long_description="Please see Github for full description.", long_description_con...
29.192308
79
0.636364
89
759
5.348315
0.730337
0.008403
0
0
0
0
0
0
0
0
0
0.041876
0.213439
759
25
80
30.36
0.755444
0
0
0
0
0
0.480896
0.027668
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
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