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
5dce6bdca285d224b0e14c6f500a10f6228c2080
14,534
py
Python
testing/python/integration.py
xuhdev/pytest
bbd22e1769e22ebd4af6c7959b3789914db87fa4
[ "MIT" ]
null
null
null
testing/python/integration.py
xuhdev/pytest
bbd22e1769e22ebd4af6c7959b3789914db87fa4
[ "MIT" ]
61
2020-10-12T13:34:56.000Z
2022-03-28T03:02:21.000Z
testing/python/integration.py
gnikonorov/pytest
f14ab08de3d3ed840d111d111bd56122baa4224e
[ "MIT" ]
1
2020-12-09T02:24:06.000Z
2020-12-09T02:24:06.000Z
from typing import Any import pytest from _pytest import runner from _pytest._code import getfslineno from _pytest.pytester import Pytester class TestOEJSKITSpecials: def test_funcarg_non_pycollectobj( self, pytester: Pytester, recwarn ) -> None: # rough jstests usage pytester.makeconftest( ...
30.533613
91
0.519747
1,400
14,534
5.241429
0.193571
0.038158
0.043609
0.045789
0.5293
0.48133
0.454892
0.42532
0.383483
0.366721
0
0.009823
0.383583
14,534
475
92
30.597895
0.809242
0.047062
0
0.483516
0
0
0.095431
0.022267
0
0
0
0.004211
0.126374
1
0.153846
false
0.065934
0.071429
0
0.269231
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
5ddae74d4d6ab3db286af9ba75d791f9fbc6425e
2,173
py
Python
Commands/8ball.py
NeonicPlasma/TheBrainOfTWOWCentral
05a3748df0d233bcd85ee8e4edaf7d977159fd07
[ "MIT" ]
null
null
null
Commands/8ball.py
NeonicPlasma/TheBrainOfTWOWCentral
05a3748df0d233bcd85ee8e4edaf7d977159fd07
[ "MIT" ]
null
null
null
Commands/8ball.py
NeonicPlasma/TheBrainOfTWOWCentral
05a3748df0d233bcd85ee8e4edaf7d977159fd07
[ "MIT" ]
null
null
null
import random def HELP(PREFIX): return { "COOLDOWN": 1, "MAIN": "Obtain advice from the wisdom of Brain's 8 Ball.", "FORMAT": "", "CHANNEL": 0, "USAGE": f"""Using `{PREFIX}8ball` will generate advice from Brain's specialized 8 Ball. """.replace("\n", "").replace("\t", "") } PERMS = 0 # Non-members ALIAS...
58.72973
108
0.692131
330
2,173
4.560606
0.70303
0.009967
0
0
0
0
0
0
0
0
0
0.005571
0.173953
2,173
37
109
58.72973
0.832312
0.005062
0
0
0
0
0.732068
0
0
0
0
0
0
1
0.029412
false
0
0.029412
0.029412
0.117647
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
5ddc0c18d4802d674d80ac8196d3c73bd05e2673
2,166
py
Python
src/VMTranslator/python/parser.py
peterb12/nand2tetris
66e6fc6c8032cb928fd693d8686707d13f88848a
[ "BSD-3-Clause" ]
null
null
null
src/VMTranslator/python/parser.py
peterb12/nand2tetris
66e6fc6c8032cb928fd693d8686707d13f88848a
[ "BSD-3-Clause" ]
null
null
null
src/VMTranslator/python/parser.py
peterb12/nand2tetris
66e6fc6c8032cb928fd693d8686707d13f88848a
[ "BSD-3-Clause" ]
null
null
null
from vm_types import CmdType class Parser: ''' Reads in a file and breaks it up into pieces. ''' def __init__(self, fname): self.currentFile = open(fname, encoding='utf-8') self.cmd = "" self._arg1 = "" self._arg2 = "" self.advance() def p_deconstructLine(self): ...
28.5
67
0.523546
237
2,166
4.679325
0.341772
0.09468
0.113616
0.027051
0.041479
0.041479
0
0
0
0
0
0.013062
0.363804
2,166
75
68
28.88
0.791727
0.055402
0
0.2
0
0
0.024785
0
0
0
0
0.013333
0
1
0.133333
false
0
0.016667
0.05
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5de0c0c5a625ebe2c170d8930b73d40a7d1f927e
5,468
py
Python
.~c9_invoke_jMIBqd.py
cmpgamer/Sprint1
21761578568d8cf9bd91482dfa23c5535dda7f19
[ "MIT" ]
null
null
null
.~c9_invoke_jMIBqd.py
cmpgamer/Sprint1
21761578568d8cf9bd91482dfa23c5535dda7f19
[ "MIT" ]
null
null
null
.~c9_invoke_jMIBqd.py
cmpgamer/Sprint1
21761578568d8cf9bd91482dfa23c5535dda7f19
[ "MIT" ]
null
null
null
import sys reload(sys) sys.setdefaultencoding("UTF8") import os import uuid from flask import * from flask.ext.socketio import SocketIO, emit from flask_socketio import join_room, leave_room import psycopg2 import psycopg2.extras app = Flask(__name__) app.config['SECRET_KEY'] = 'secret!' socketio = SocketIO(app) m...
28.931217
208
0.608266
609
5,468
5.385878
0.307061
0.029268
0.04878
0.030488
0.238415
0.216159
0.172866
0.110671
0.110671
0.083232
0
0.007656
0.25951
5,468
188
209
29.085106
0.80242
0.074067
0
0.289063
0
0.015625
0.232111
0.004559
0
0
0
0.005319
0
1
0.070313
false
0.117188
0.0625
0.007813
0.203125
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5de9695a8c925883e7d652286c9c822d2ff077de
5,559
py
Python
purequant/config.py
shenyanping/PureQuant
6c01e4dd920c58fcfe1f494dfa56e1eb2f3f4a8d
[ "MIT" ]
24
2020-12-17T12:29:32.000Z
2021-12-27T01:51:53.000Z
purequant/config.py
shenyanping/PureQuant
6c01e4dd920c58fcfe1f494dfa56e1eb2f3f4a8d
[ "MIT" ]
null
null
null
purequant/config.py
shenyanping/PureQuant
6c01e4dd920c58fcfe1f494dfa56e1eb2f3f4a8d
[ "MIT" ]
16
2020-12-06T12:16:53.000Z
2022-03-27T12:18:59.000Z
# -*- coding:utf-8 -*- """ 服务配置 Author: Gary-Hertel Date: 2020/07/09 email: interstella.ranger2020@gmail.com """ import json class __Config: """服务配置""" def __init__(self): pass def loads(self, config_file=None): """ 加载配置。 :param config_file:json配置文件 :return: ...
50.536364
125
0.673862
579
5,559
6.181347
0.222798
0.125175
0.135233
0.087175
0.336407
0.295893
0.22157
0.22157
0.110366
0
0
0.006211
0.189063
5,559
110
126
50.536364
0.787711
0.078431
0
0
0
0
0.204668
0.004389
0
0
0
0
0
1
0.042254
false
0.070423
0.014085
0
0.070423
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
0
0
0
1
0
0
0
0
0
1
5deff4175117149a422344752f6b16568a1d4872
2,228
py
Python
src/tag.bed.py
gxiaolab/cGMAS
8e736749342bf642c3942f7761f33ae9be6fd92c
[ "Apache-2.0" ]
1
2021-03-22T07:26:03.000Z
2021-03-22T07:26:03.000Z
src/tag.bed.py
gxiaolab/cGMAS
8e736749342bf642c3942f7761f33ae9be6fd92c
[ "Apache-2.0" ]
3
2021-03-28T06:47:24.000Z
2021-08-20T07:04:20.000Z
src/tag.bed.py
gxiaolab/cGMAS
8e736749342bf642c3942f7761f33ae9be6fd92c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import sys import argparse import glob from time import strftime import os import time from collections import defaultdict ########### # get tag snv bed # list of tag snps (bed format) # *info column: refcount:varcount[:othercount]|chrm:exon_st1:exon_end:strd|genotypeSource #---------- # NEW: add ge...
29.706667
122
0.624776
376
2,228
3.654255
0.367021
0.035662
0.061863
0.015284
0.043668
0.043668
0.021834
0.021834
0
0
0
0.011702
0.156194
2,228
74
123
30.108108
0.719149
0.118492
0
0.058824
0
0
0.182618
0.015003
0
0
0
0
0
0
null
null
0
0.137255
null
null
0.156863
0
0
0
null
0
0
0
0
0
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
5df07c00a871cf7fde21b58b6de6f19e3ec36509
3,514
py
Python
EasyTrainerCore/utils/warmup_lr.py
comethx/EasyTrainer
b8e5ecc2e3eeb0032ec3c75e3f026d3e30d1b9c5
[ "MIT" ]
null
null
null
EasyTrainerCore/utils/warmup_lr.py
comethx/EasyTrainer
b8e5ecc2e3eeb0032ec3c75e3f026d3e30d1b9c5
[ "MIT" ]
null
null
null
EasyTrainerCore/utils/warmup_lr.py
comethx/EasyTrainer
b8e5ecc2e3eeb0032ec3c75e3f026d3e30d1b9c5
[ "MIT" ]
null
null
null
import numpy as np def adjust_learning_rate_step(optimizer, learning_rate_base, gamma, epoch, step_index, iteration, epoch_size): if epoch < 4: lr = 1e-6 + (learning_rate_base - 1e-6) * iteration / (epoch_size * 5) else: lr = learning_rate_base * (gamma ** (step_index)) for param_group in ...
43.382716
110
0.622083
431
3,514
4.758701
0.232019
0.228181
0.117016
0.05802
0.387128
0.319844
0.286689
0.230619
0.14432
0.14432
0
0.016914
0.310188
3,514
80
111
43.925
0.829208
0.320433
0
0.272727
0
0
0.053571
0.009146
0
0
0
0
0
1
0.068182
false
0
0.022727
0
0.159091
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
5dfcc359f4cf73ac1a75506f540495897e10af78
2,888
py
Python
oop_examples/oop_examples.py
LambdaSchool/Lambdata-nwdelafu
5c8c4fe1099e26e9bf9ff7833c57c7412fea9e1a
[ "MIT" ]
null
null
null
oop_examples/oop_examples.py
LambdaSchool/Lambdata-nwdelafu
5c8c4fe1099e26e9bf9ff7833c57c7412fea9e1a
[ "MIT" ]
null
null
null
oop_examples/oop_examples.py
LambdaSchool/Lambdata-nwdelafu
5c8c4fe1099e26e9bf9ff7833c57c7412fea9e1a
[ "MIT" ]
null
null
null
"""A collection of OOP examples""" import pandas as pd class MyDataFrame(pd.DataFrame): def num_cells(self): return self.shape[0] * self.shape[1] class BareMinimumClass: pass class Car: """An e xample of a class with attributes and methods""" def __init__(self, fuel, maxspeed, speed=0): ...
28.313725
85
0.625346
381
2,888
4.585302
0.338583
0.027476
0.025186
0.025758
0.120206
0.098454
0.078993
0.078993
0
0
0
0.020735
0.265235
2,888
101
86
28.594059
0.802545
0.13885
0
0.129032
0
0
0.21464
0
0
0
0
0
0
1
0.225806
false
0.016129
0.016129
0.096774
0.483871
0.112903
0
0
0
null
0
0
0
0
0
0
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
b90a14575c7c1d9b2f864e498185fb01390851b9
2,417
py
Python
mountload/target.py
GMTA/mountload
cc97c9dbf3d7efcffb8af9a93d7709dab2413a7a
[ "MIT" ]
1
2016-02-16T06:26:01.000Z
2016-02-16T06:26:01.000Z
mountload/target.py
GMTA/mountload
cc97c9dbf3d7efcffb8af9a93d7709dab2413a7a
[ "MIT" ]
null
null
null
mountload/target.py
GMTA/mountload
cc97c9dbf3d7efcffb8af9a93d7709dab2413a7a
[ "MIT" ]
1
2021-04-04T02:41:48.000Z
2021-04-04T02:41:48.000Z
# Copyright (c) 2014 Jelle Raaijmakers <jelle@gmta.nl> # See the file LICENSE.txt for copying permission. import os from os.path import abspath, isdir class MountLoadTarget: def __init__(self, targetDirectory): self.databaseFilename = 'metadata.sqlite' self.targetDirectory = abspath(targetDirector...
35.028986
107
0.663219
251
2,417
6.326693
0.370518
0.070529
0.109572
0.04534
0.06801
0.025189
0
0
0
0
0
0.002188
0.243691
2,417
68
108
35.544118
0.866521
0.127431
0
0.104167
0
0
0.020793
0
0
0
0
0
0
1
0.229167
false
0.020833
0.041667
0.041667
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b90ee0b2186f83125e8e33dcfbc3153beca6a0fe
421
py
Python
services/profile/dockers/lwe/service/api.py
amreo/ructfe-2019
19064842acc57243f16143a85c06a5613378ebec
[ "MIT" ]
23
2019-11-23T19:53:10.000Z
2021-02-19T06:13:28.000Z
services/profile/dockers/lwe/service/api.py
amreo/ructfe-2019
19064842acc57243f16143a85c06a5613378ebec
[ "MIT" ]
1
2019-11-30T16:10:52.000Z
2019-12-01T15:23:39.000Z
services/profile/dockers/lwe/service/api.py
amreo/ructfe-2019
19064842acc57243f16143a85c06a5613378ebec
[ "MIT" ]
3
2019-11-24T09:35:43.000Z
2021-02-19T06:13:29.000Z
from base64 import b64decode, b64encode from json import dumps from aiohttp import web from service.handler import LweHandler from service.rlwe import RLWE from service.db import DB db = DB() algo = RLWE(16, 929) handler = LweHandler(algo, DB()) app = web.Application() app.add_routes([ web.get('/get_pub_key', ...
21.05
49
0.726841
63
421
4.777778
0.428571
0.109635
0.059801
0
0
0
0
0
0
0
0
0.030726
0.149644
421
20
50
21.05
0.810056
0
0
0
0
0
0.056872
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f8d3e087f72e68934197f519326f822cb1fefac6
939
py
Python
q2.py
cs-fullstack-2019-fall/codeassessment2-chrisawill
9f46d6c0b89a67d685e29b59257c6726a8edac43
[ "Apache-2.0" ]
null
null
null
q2.py
cs-fullstack-2019-fall/codeassessment2-chrisawill
9f46d6c0b89a67d685e29b59257c6726a8edac43
[ "Apache-2.0" ]
null
null
null
q2.py
cs-fullstack-2019-fall/codeassessment2-chrisawill
9f46d6c0b89a67d685e29b59257c6726a8edac43
[ "Apache-2.0" ]
null
null
null
# ### Problem 2 # Prompt the user with the message, ‘Is it better to be rude or kind to People?’ # Keeping prompting the user to enter an answer until they enter the word kind. # Each time they enter something other than kind, print the message, ‘That’s not the answer I had hoped to hear. Try again.’ and prompt the u...
49.421053
151
0.72098
175
939
3.868571
0.44
0.051699
0.044313
0.053176
0.375185
0.375185
0.375185
0.375185
0.375185
0.286558
0
0.00135
0.210863
939
19
152
49.421053
0.912281
0.689031
0
0.333333
0
0
0.623656
0
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
f8d6e7d6f522f673ffc15559f473ed0dbf41e048
794
py
Python
config.py
gyani91/flask-REST-service
79b4d92fec34ff40aea372e71a6df089c6126ebd
[ "MIT" ]
1
2022-02-26T12:26:39.000Z
2022-02-26T12:26:39.000Z
config.py
gyani91/flask-REST-service
79b4d92fec34ff40aea372e71a6df089c6126ebd
[ "MIT" ]
null
null
null
config.py
gyani91/flask-REST-service
79b4d92fec34ff40aea372e71a6df089c6126ebd
[ "MIT" ]
null
null
null
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config(object): DEBUG = False TESTING = False CSRF_ENABLED = True SECRET_KEY = "fijsdofjweoirjfoeifjiofjoiwefjeofij" SQLALCHEMY_DATABASE_URI = "postgresql://postgres:admin@localhost/flask_rest_live" SQLALCHEMY_TRACK_MODIFICA...
23.352941
104
0.748111
87
794
6.597701
0.482759
0.094077
0.109756
0.162021
0.404181
0.30662
0.30662
0.216028
0.216028
0
0
0.004525
0.164987
794
33
105
24.060606
0.861237
0
0
0.318182
0
0
0.267003
0.267003
0
0
0
0
0
1
0
false
0
0.045455
0
0.954545
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
f8da90ad8ac6ac388e8f3dd38b97955231e8cff3
797
py
Python
src/proposals/migrations/0024_auto_20160307_0412.py
kaka-lin/pycon.tw
67809a5e43b03273ac8d8f5a1b6b3d3f73474be7
[ "MIT" ]
47
2015-12-19T10:23:11.000Z
2018-06-13T08:07:33.000Z
src/proposals/migrations/0024_auto_20160307_0412.py
kaka-lin/pycon.tw
67809a5e43b03273ac8d8f5a1b6b3d3f73474be7
[ "MIT" ]
473
2018-12-01T13:01:48.000Z
2022-03-30T07:10:42.000Z
src/proposals/migrations/0024_auto_20160307_0412.py
kaka-lin/pycon.tw
67809a5e43b03273ac8d8f5a1b6b3d3f73474be7
[ "MIT" ]
91
2018-07-26T02:38:59.000Z
2022-01-16T02:38:31.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-03-07 04:12 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('proposals', '0023_auto_20160305_1359'), ] operations = [ migrations.RemoveFiel...
27.482759
169
0.587202
74
797
6.148649
0.662162
0.059341
0.114286
0.131868
0
0
0
0
0
0
0
0.053356
0.271016
797
28
170
28.464286
0.729776
0.081556
0
0.428571
1
0
0.17284
0.03155
0
0
0
0
0
1
0
false
0
0.095238
0
0.238095
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
f8db74da70a727fde9e01400070b1a2d7c022884
3,670
py
Python
quantum/plugins/nec/common/ofc_client.py
r-mibu/neutron
7aebe2468bdcc1befef7d09136fdedafcb0049ec
[ "Apache-2.0" ]
null
null
null
quantum/plugins/nec/common/ofc_client.py
r-mibu/neutron
7aebe2468bdcc1befef7d09136fdedafcb0049ec
[ "Apache-2.0" ]
null
null
null
quantum/plugins/nec/common/ofc_client.py
r-mibu/neutron
7aebe2468bdcc1befef7d09136fdedafcb0049ec
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright 2012 NEC Corporation. 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.or...
36.7
78
0.607084
482
3,670
4.533195
0.350622
0.024714
0.032952
0.034783
0.142792
0.112586
0.086041
0.05492
0
0
0
0.008537
0.29782
3,670
99
79
37.070707
0.839348
0.19564
0
0.086207
0
0
0.068318
0
0
0
0
0
0
0
null
null
0
0.086207
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
f8e52794ff8c091e162fb042ddf26aea5d9b6795
5,996
py
Python
modules/ducktests/tests/ignitetest/services/utils/ignite_configuration/__init__.py
xtnsv/ignite
1bb33338ae43db367907ca620e66e2dc7e5eb5fe
[ "CC0-1.0" ]
2
2021-08-13T22:09:24.000Z
2021-10-19T00:32:57.000Z
modules/ducktests/tests/ignitetest/services/utils/ignite_configuration/__init__.py
xtnsv/ignite
1bb33338ae43db367907ca620e66e2dc7e5eb5fe
[ "CC0-1.0" ]
null
null
null
modules/ducktests/tests/ignitetest/services/utils/ignite_configuration/__init__.py
xtnsv/ignite
1bb33338ae43db367907ca620e66e2dc7e5eb5fe
[ "CC0-1.0" ]
1
2018-01-16T21:53:02.000Z
2018-01-16T21:53:02.000Z
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use ...
38.191083
118
0.699967
651
5,996
6.222734
0.311828
0.048877
0.043446
0.05332
0.321649
0.290052
0.239694
0.223895
0.223895
0.192298
0
0.003057
0.236157
5,996
156
119
38.435897
0.881441
0.214143
0
0.224719
0
0
0.001339
0
0
0
0
0
0
1
0.078652
false
0.011236
0.123596
0
0.719101
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
f8e789228e2692f639d9d511d6c43eee5a5e27a4
2,438
py
Python
pyspider/database/base/resultdb.py
qiulimao/weblocust
ca62037d76f6ac969af0a853d1d1d0d1f918400c
[ "Apache-2.0" ]
7
2016-10-27T16:14:01.000Z
2018-06-05T06:12:14.000Z
pyspider/database/base/resultdb.py
qiulimao/weblocust
ca62037d76f6ac969af0a853d1d1d0d1f918400c
[ "Apache-2.0" ]
null
null
null
pyspider/database/base/resultdb.py
qiulimao/weblocust
ca62037d76f6ac969af0a853d1d1d0d1f918400c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- # vim: set et sw=4 ts=4 sts=4 ff=unix fenc=utf8: # Author: Binux<i@binux.me> # http://binux.me # # Contributor: qiulimao<qiulimao@getqiu.com> # http://www.getqiu.com # # Created on 2014-10-11 18:40:03 # Modified on 2016-11-02 14:52:53 import random import ...
25.93617
83
0.621821
278
2,438
5.381295
0.471223
0.080882
0.162433
0.116979
0.161765
0
0
0
0
0
0
0.03044
0.272354
2,438
94
84
25.93617
0.812852
0.327317
0
0.244444
0
0
0.070072
0
0
0
0
0
0
1
0.266667
false
0
0.044444
0
0.377778
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
f8ea47c8e410b60d12c5a33e16a40e6a4b95166c
3,446
py
Python
py/testdir_ec2_only/test_poisson_airline87_s3n_thru_hdfs.py
gigliovale/h2o
be350f3f2c2fb6f135cc07c41f83fd0e4f521ac1
[ "Apache-2.0" ]
882
2015-05-22T02:59:21.000Z
2022-02-17T05:02:48.000Z
py/testdir_ec2_only/test_poisson_airline87_s3n_thru_hdfs.py
VonRosenchild/h2o-2
be350f3f2c2fb6f135cc07c41f83fd0e4f521ac1
[ "Apache-2.0" ]
1
2015-01-14T23:54:56.000Z
2015-01-15T20:04:17.000Z
py/testdir_ec2_only/test_poisson_airline87_s3n_thru_hdfs.py
VonRosenchild/h2o-2
be350f3f2c2fb6f135cc07c41f83fd0e4f521ac1
[ "Apache-2.0" ]
392
2015-05-22T17:04:11.000Z
2022-02-22T09:04:39.000Z
import unittest, time, sys, random sys.path.extend(['.','..','../..','py']) import h2o, h2o_cmd, h2o_glm, h2o_browse as h2b, h2o_import as h2i class Basic(unittest.TestCase): def tearDown(self): h2o.check_sandbox_for_errors() @classmethod def setUpClass(cls): # assume we're at 0xdata with ...
41.02381
113
0.559779
370
3,446
5.081081
0.367568
0.042553
0.031915
0.038298
0.481915
0.455851
0.455851
0.437766
0.437766
0.437766
0
0.041894
0.307313
3,446
83
114
41.518072
0.745706
0.033952
0
0.378788
0
0
0.130343
0.013245
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f8ed7a42359bbe49168bf3935a22e3a520951d8f
1,036
py
Python
HACKERRANK/Problem Solving/Implementation/Apple & Orange/appleOrange.py
belikesayantan/daily-problem-solving
f6960edeb151838f00c9444d8232b99b48769784
[ "MIT" ]
null
null
null
HACKERRANK/Problem Solving/Implementation/Apple & Orange/appleOrange.py
belikesayantan/daily-problem-solving
f6960edeb151838f00c9444d8232b99b48769784
[ "MIT" ]
2
2021-08-24T08:45:10.000Z
2021-11-11T06:53:12.000Z
HACKERRANK/Problem Solving/Implementation/Apple & Orange/appleOrange.py
belikesayantan/daily-problem-solving
f6960edeb151838f00c9444d8232b99b48769784
[ "MIT" ]
null
null
null
'''Simplified Solution''' def countApplesAndOranges(s, t, a, b, apples, oranges): apple_count = sum([1 for apple in apples if apple+a in range(s, t+1)]) orange_count = sum([1 for orange in oranges if orange+b in range(s, t+1)]) print(apple_count) print(orange_count) '''Descriptive Solution''' # def cou...
31.393939
78
0.584942
156
1,036
3.769231
0.224359
0.02381
0.054422
0.061224
0.743197
0.743197
0.654762
0.445578
0.445578
0.445578
0
0.019231
0.247104
1,036
33
79
31.393939
0.734615
0.332046
0
0
0
0
0.01227
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.055556
0.111111
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f8ede2ab8cf6700ac4eb62da181d218f83c765f7
420
py
Python
test/runner/execution/test_CpuLoadMeter.py
pip-benchmark/pip-benchmark-python
d75672e940af12e2f9818607e2188490e989d8c5
[ "MIT" ]
null
null
null
test/runner/execution/test_CpuLoadMeter.py
pip-benchmark/pip-benchmark-python
d75672e940af12e2f9818607e2188490e989d8c5
[ "MIT" ]
null
null
null
test/runner/execution/test_CpuLoadMeter.py
pip-benchmark/pip-benchmark-python
d75672e940af12e2f9818607e2188490e989d8c5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import threading from pip_benchmark_python.runner.execution.CpuLoadMeter import CpuLoadMeter class TestCpuLoadMeter: def test_measure(self): meter = CpuLoadMeter() measure = meter.measure() assert measure == 0 def _test_measure(): _measure = ...
21
75
0.640476
43
420
6.046512
0.55814
0.126923
0.107692
0.192308
0.253846
0.253846
0
0
0
0
0
0.032573
0.269048
420
19
76
22.105263
0.814332
0.05
0
0
0
0
0
0
0
0
0
0
0.181818
1
0.181818
false
0
0.181818
0
0.454545
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
f8f46c6edf0c279e98810685ffb91001d2d6c15d
3,493
py
Python
TsinghuaCSLT/audioEmbedded/Mission/stable/disposeWav.py
hecate-xw/Miscellaneous
57c5ade630f1f1af2a5aae7f2541638380fc4876
[ "MIT" ]
null
null
null
TsinghuaCSLT/audioEmbedded/Mission/stable/disposeWav.py
hecate-xw/Miscellaneous
57c5ade630f1f1af2a5aae7f2541638380fc4876
[ "MIT" ]
null
null
null
TsinghuaCSLT/audioEmbedded/Mission/stable/disposeWav.py
hecate-xw/Miscellaneous
57c5ade630f1f1af2a5aae7f2541638380fc4876
[ "MIT" ]
1
2020-02-13T00:48:17.000Z
2020-02-13T00:48:17.000Z
#!usr/bin/env python #coding=utf-8 import wave import matplotlib.pyplot as plt import numpy as np import math import struct def read_wave_data(file_path): #读入wav文件 #open a wave file, and return a Wave_read object f = wave.open(file_path,"rb") #read the wave's format infomation,and return a tuple ...
33.586538
127
0.646722
514
3,493
4.29572
0.321012
0.072464
0.061141
0.076993
0.225091
0.149909
0.082428
0.019928
0
0
0
0.034157
0.212139
3,493
103
128
33.912621
0.768169
0.388778
0
0
0
0
0.016291
0
0
0
0
0
0
0
null
null
0
0.106383
null
null
0.021277
0
0
0
null
0
0
0
0
0
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
f8fa00b9b73ff71ad54977a866f01868f4d55d21
1,480
py
Python
rename.py
Aditya8795/Python-Scripts
e2a66d5f864571c5e2ff18bac98f7a1ab96a21ee
[ "MIT" ]
1
2015-10-18T13:32:37.000Z
2015-10-18T13:32:37.000Z
rename.py
Aditya8795/Python-Scripts
e2a66d5f864571c5e2ff18bac98f7a1ab96a21ee
[ "MIT" ]
null
null
null
rename.py
Aditya8795/Python-Scripts
e2a66d5f864571c5e2ff18bac98f7a1ab96a21ee
[ "MIT" ]
null
null
null
# This script should be kept in the same folder as the files which has to be renamed import os # This is the name of the anime/THINGY and season number name = "Bakuman S03E" total_number_of_episodes = 25 # we take all the files in the directory the script has been placed for filename in os.listdir("."): # Here the ...
52.857143
139
0.620946
224
1,480
4.066964
0.455357
0.079034
0.05708
0.070252
0.226125
0.201976
0.106476
0.106476
0.106476
0
0
0.032462
0.250676
1,480
27
140
54.814815
0.788999
0.565541
0
0.142857
0
0
0.116057
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.214286
0
0
0
null
0
0
0
0
0
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
5d007baebd4ae19772234963c549105853e0c936
282
py
Python
eylang/eylang.py
bxtkezhan/eylang
899154f89359df30988a1c76caeb7d8921dbe3eb
[ "MIT" ]
4
2019-04-24T20:28:00.000Z
2019-11-02T10:14:02.000Z
eylang/eylang.py
bxtkezhan/Dragon
899154f89359df30988a1c76caeb7d8921dbe3eb
[ "MIT" ]
null
null
null
eylang/eylang.py
bxtkezhan/Dragon
899154f89359df30988a1c76caeb7d8921dbe3eb
[ "MIT" ]
3
2019-05-23T01:56:58.000Z
2019-06-12T14:11:57.000Z
#! /usr/bin/env python3 from eylanglexer import lexer from eylangparser import parser import fire def main(filename): with open(filename, encoding='utf-8') as f: code = f.read() parser.parse(lexer.lex(code)).eval() if __name__ == '__main__': fire.Fire(main)
18.8
47
0.680851
40
282
4.6
0.7
0
0
0
0
0
0
0
0
0
0
0.008734
0.187943
282
14
48
20.142857
0.79476
0.078014
0
0
0
0
0.050193
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5d069f8cdb7ec073a9a8cb106dd4465782f243f3
12,998
py
Python
tensor2tensor/trax/models/research/transformer_revnet.py
samsucik/t2t
b99d676bfe2b2a717cf3f78ac6288ab3c74f1ec9
[ "Apache-2.0" ]
null
null
null
tensor2tensor/trax/models/research/transformer_revnet.py
samsucik/t2t
b99d676bfe2b2a717cf3f78ac6288ab3c74f1ec9
[ "Apache-2.0" ]
null
null
null
tensor2tensor/trax/models/research/transformer_revnet.py
samsucik/t2t
b99d676bfe2b2a717cf3f78ac6288ab3c74f1ec9
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2019 The Tensor2Tensor Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
35.513661
92
0.666872
1,734
12,998
4.8391
0.22549
0.032892
0.018591
0.014182
0.25718
0.220713
0.203313
0.162198
0.13002
0.101895
0
0.007393
0.229958
12,998
365
93
35.610959
0.830952
0.344053
0
0.202899
0
0
0.047883
0
0
0
0
0.010959
0.014493
1
0.101449
false
0
0.033816
0.014493
0.2657
0.004831
0
0
0
null
0
0
0
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
5d114d9b76228716c631287ee68bf6a29e25cd70
772
py
Python
setup.py
srodney/pyDIA
070551a2a5d5cdfe6d74766fa947873e3b50ea7f
[ "MIT" ]
2
2019-04-18T09:58:12.000Z
2020-03-03T09:27:25.000Z
setup.py
srodney/pyDIA
070551a2a5d5cdfe6d74766fa947873e3b50ea7f
[ "MIT" ]
null
null
null
setup.py
srodney/pyDIA
070551a2a5d5cdfe6d74766fa947873e3b50ea7f
[ "MIT" ]
1
2019-03-13T02:09:29.000Z
2019-03-13T02:09:29.000Z
from setuptools import setup from setuptools.extension import Extension import os import shutil import glob extensions = [Extension('pydia/c_functions_dp', sources=['pydia/c_functions_dp.c'])] setup( name='pydia', install_requires=['astropy>=0.4.0'], author='Michael D. Albrow', ...
26.62069
69
0.665803
109
772
4.568807
0.53211
0.120482
0.144578
0.170683
0.138554
0.100402
0
0
0
0
0
0.012903
0.196891
772
28
70
27.571429
0.790323
0.082902
0
0
0
0
0.270922
0.129078
0
0
0
0
0
1
0
false
0
0.217391
0
0.217391
0.043478
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
5d1204077d121ae46c2bafd1e8f7eda7d9567a6f
2,717
py
Python
qtim_gbmSegmenter/PreProcessing_Library/registration.py
QTIM-Lab/DeepInfer_Glioblastoma
77bd29f1a8d2947558ce79e77a0552d2fffa047a
[ "MIT" ]
1
2017-12-03T19:55:09.000Z
2017-12-03T19:55:09.000Z
qtim_gbmSegmenter/PreProcessing_Library/registration.py
QTIM-Lab/qtim_gbmSegmenter
d3631db613b572c5b7d5ff9992e103a35624cfd4
[ "MIT" ]
null
null
null
qtim_gbmSegmenter/PreProcessing_Library/registration.py
QTIM-Lab/qtim_gbmSegmenter
d3631db613b572c5b7d5ff9992e103a35624cfd4
[ "MIT" ]
null
null
null
""" This is a wrapper script for BRAINSFit registration by 3D Slicer. In the future, there could be an all-Python implementation of registration in this function. In the meantime, one will need 3D Slicer (or a Docker container with 3DSlicer inside). """ import glob import os import fnmatch from subprocess imp...
45.283333
284
0.725432
319
2,717
5.912226
0.429467
0.04666
0.038176
0.042418
0.183457
0.183457
0.098621
0.098621
0.098621
0.098621
0
0.0102
0.17004
2,717
59
285
46.050847
0.826164
0.192492
0
0.066667
0
0
0.254026
0.035844
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5d1bc211045d54145251add3ee90c5e909b8de3c
1,978
py
Python
04.Encapsulation/Lab/profile.py
nmoskova/Python-OOP
07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864
[ "MIT" ]
null
null
null
04.Encapsulation/Lab/profile.py
nmoskova/Python-OOP
07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864
[ "MIT" ]
null
null
null
04.Encapsulation/Lab/profile.py
nmoskova/Python-OOP
07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864
[ "MIT" ]
null
null
null
class Profile: min_username_length = 5 max_username_length = 15 min_password_length = 8 min_uppercase_letters_count = 1 min_digits_count = 1 def __init__(self, username, password): self.username = username self.password = password def __validate_username(self, username): ...
36.62963
131
0.693124
247
1,978
5.238866
0.251012
0.043277
0.061824
0.055641
0.145286
0.07728
0.07728
0.07728
0.07728
0.07728
0
0.005161
0.21638
1,978
54
132
36.62963
0.829677
0.069262
0
0.125
0
0.025
0.209897
0.073409
0
0
0
0
0
1
0.2
false
0.4
0
0.075
0.425
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5d1d052e199425831c6c6659f0054a4a77c94073
3,536
py
Python
ash/helper.py
Nani-o/python-ash
5c03cdf141e471fc3d0858062473d4e1d36a2a7c
[ "MIT" ]
null
null
null
ash/helper.py
Nani-o/python-ash
5c03cdf141e471fc3d0858062473d4e1d36a2a7c
[ "MIT" ]
null
null
null
ash/helper.py
Nani-o/python-ash
5c03cdf141e471fc3d0858062473d4e1d36a2a7c
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ AnsibleHelper class file """ from ansible import constants from ansible.cli.adhoc import AdHocCLI class AnsibleHelper(object): """ This class is aimed to manage all ansible related side of this program """ def __init__(self, inventory_file=None, config_file=None): ...
33.046729
81
0.634333
409
3,536
5.266504
0.237164
0.084494
0.126741
0.112813
0.202414
0.139276
0.083565
0.083565
0
0
0
0
0.264706
3,536
106
82
33.358491
0.828462
0.005656
0
0.09589
0
0
0.051736
0
0
0
0
0
0
0
null
null
0
0.027397
null
null
0.068493
0
0
0
null
0
0
0
0
0
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
5d20eba1b2e5fd58c2dd2d3f71157fb52b77dbae
1,851
py
Python
blueclock.py
pootle/bluepystepper
8961bbd0d679de8e8b7bcd531489d064ce49b34e
[ "Unlicense" ]
null
null
null
blueclock.py
pootle/bluepystepper
8961bbd0d679de8e8b7bcd531489d064ce49b34e
[ "Unlicense" ]
null
null
null
blueclock.py
pootle/bluepystepper
8961bbd0d679de8e8b7bcd531489d064ce49b34e
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 from bluedot import BlueDot from signal import pause import unipolarDirect class bluemotor(): def __init__(self): self.motor=unipolarDirect.StartMotor( name='unitest') self.speed = 0 self.speedlimit=self.motor['settings/maxrpm'].getCurrent() def dpad(self, pos): ...
29.380952
66
0.49973
205
1,851
4.44878
0.282927
0.256579
0.087719
0.092105
0.451754
0.451754
0.451754
0.451754
0.451754
0.339912
0
0.015803
0.384657
1,851
62
67
29.854839
0.784899
0.011345
0
0.280702
0
0
0.049754
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.122807
0.122807
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
5d2b0325112b2f07467ef80eb272035136a9dfac
750
py
Python
timeflux_ml/utils/import_helpers.py
sylvchev/timeflux_ml
31fefc41ff5f62fc770e87c2963e872768301de3
[ "MIT" ]
2
2019-12-11T10:53:19.000Z
2020-03-21T17:35:21.000Z
timeflux_ml/utils/import_helpers.py
sylvchev/timeflux_ml
31fefc41ff5f62fc770e87c2963e872768301de3
[ "MIT" ]
1
2019-04-03T13:45:26.000Z
2019-04-03T13:45:26.000Z
timeflux_ml/utils/import_helpers.py
sylvchev/timeflux_ml
31fefc41ff5f62fc770e87c2963e872768301de3
[ "MIT" ]
1
2019-04-03T09:17:36.000Z
2019-04-03T09:17:36.000Z
from importlib import import_module def make_object(fullname, params=None): """ Args: fullname (str): full name of the object (ie. '.'.join([o.__module__, o.__name__])) params (dict|None): keyword arguments to initialize the object Returns: Object, instance of the class. """ ...
28.846154
90
0.661333
91
750
5.230769
0.472527
0.084034
0.10084
0.092437
0
0
0
0
0
0
0
0.001745
0.236
750
25
91
30
0.82897
0.270667
0
0.153846
0
0
0.16537
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5d313c175b6dd2678ab7e21f062aba06f3f7136c
336
py
Python
PYTHON/20.py
guikingma/project_euler
e4deffc63f39a304e449c12ee1fa1233c6f70e91
[ "WTFPL" ]
1
2015-11-06T07:04:22.000Z
2015-11-06T07:04:22.000Z
PYTHON/20.py
guikingma/project_euler
e4deffc63f39a304e449c12ee1fa1233c6f70e91
[ "WTFPL" ]
null
null
null
PYTHON/20.py
guikingma/project_euler
e4deffc63f39a304e449c12ee1fa1233c6f70e91
[ "WTFPL" ]
null
null
null
''' 20 ''' def fat(number): ret = 1 for i in range(2,number+1): ret = ret * i return ret def sum_digits(number): tnumber = number #tnumber = tnumber/10 soma = 0 resto = 0 while tnumber > 0: resto = tnumber%10 soma = soma + resto tnumber = tnumber/10 return soma def execute(): print sum_digits(fat(1...
12.923077
28
0.642857
53
336
4.037736
0.433962
0.126168
0.149533
0
0
0
0
0
0
0
0
0.065637
0.229167
336
25
29
13.44
0.760618
0.059524
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5d36519ee7fad11e6e2bf05f248f14a2d3195536
1,984
py
Python
fewshot/models/basic_model_VAT_ENT.py
yuchenlichuck/prototypical-random-walk
bfbe1476b9aff94dede34911ada16044fde8f3f6
[ "MIT" ]
4
2021-05-20T21:28:16.000Z
2021-08-04T07:49:46.000Z
fewshot/models/basic_model_VAT_ENT.py
yuchenlichuck/prototypical-random-walk
bfbe1476b9aff94dede34911ada16044fde8f3f6
[ "MIT" ]
null
null
null
fewshot/models/basic_model_VAT_ENT.py
yuchenlichuck/prototypical-random-walk
bfbe1476b9aff94dede34911ada16044fde8f3f6
[ "MIT" ]
1
2021-02-06T15:44:05.000Z
2021-02-06T15:44:05.000Z
from __future__ import (absolute_import, division, print_function, unicode_literals) import numpy as np import tensorflow as tf from fewshot.models.kmeans_utils import compute_logits from fewshot.models.model import Model from fewshot.models.refine_model import RefineModel from fews...
34.807018
117
0.74748
287
1,984
4.923345
0.355401
0.070064
0.084218
0.029724
0.104742
0.079264
0.035386
0
0
0
0
0.007738
0.153226
1,984
56
118
35.428571
0.833333
0.025706
0
0
0
0
0.042712
0
0
0
0
0
0
1
0.025641
false
0
0.307692
0
0.384615
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5d3a28536386c069aad881968ebe3ffa093be6af
595
py
Python
single_element_in_a_sorted_array_540.py
cthi/LeetCode
fbeb077e382ab4c4e8d8cc4707b9f1a9f33c5a89
[ "MIT" ]
null
null
null
single_element_in_a_sorted_array_540.py
cthi/LeetCode
fbeb077e382ab4c4e8d8cc4707b9f1a9f33c5a89
[ "MIT" ]
null
null
null
single_element_in_a_sorted_array_540.py
cthi/LeetCode
fbeb077e382ab4c4e8d8cc4707b9f1a9f33c5a89
[ "MIT" ]
null
null
null
class Solution(object): def singleNonDuplicate(self, nums): """ :type nums: List[int] :rtype: int """ start = 0 end = len(nums) - 1 while start < end: mid = (start + end) // 2 if mid % 2 == 0: if nums[mid + 1] == nums[...
23.8
46
0.354622
58
595
3.637931
0.37931
0.132701
0.085308
0.094787
0.341232
0.341232
0.341232
0.341232
0.341232
0.341232
0
0.032847
0.539496
595
24
47
24.791667
0.737226
0.055462
0
0.411765
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.176471
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
5d3b9d12dcda2f8fa1730889b7dbf932be9d4c5f
722
py
Python
src/task/abstracts/atari/settings.py
technote-space/genetic-algorithms-py
a37e0a34c5970987d76fda6b14a48d9ab0579e33
[ "MIT" ]
3
2020-09-03T18:02:30.000Z
2020-09-08T18:09:38.000Z
src/task/abstracts/atari/settings.py
Amplil/genetic-algorithms-py
4788c73b1b9d57eac904e8eb99d9140457201e6b
[ "MIT" ]
7
2020-09-08T16:57:19.000Z
2022-03-12T00:51:26.000Z
src/task/abstracts/atari/settings.py
Amplil/genetic-algorithms-py
4788c73b1b9d57eac904e8eb99d9140457201e6b
[ "MIT" ]
1
2021-04-14T11:10:50.000Z
2021-04-14T11:10:50.000Z
from gym.spaces import Discrete # type: ignore from gym.core import Env # type: ignore from abc import abstractmethod from ..gym import AbstractGymSettings class AbstractAtariSettings(AbstractGymSettings): """ Description: ------------ Atari用の設定の基底クラス """ @property @abstractmethod d...
21.878788
62
0.634349
78
722
5.794872
0.512821
0.088496
0.079646
0
0
0
0
0
0
0
0
0.00566
0.265928
722
32
63
22.5625
0.84717
0.130194
0
0.35
0
0
0.024958
0
0
0
0
0
0
1
0.2
false
0.1
0.2
0.05
0.55
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
5d3ead8130f3b8b0f35dd323a713eb6a14d4f7c9
306
py
Python
HW5/SoKKoS/HW5.1.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
null
null
null
HW5/SoKKoS/HW5.1.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
null
null
null
HW5/SoKKoS/HW5.1.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
6
2022-02-22T22:30:49.000Z
2022-03-28T12:51:19.000Z
number_1_10 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] number_2 = [] number_3 = [] number_not_23 = [] for i in number_1_10: if i % 2 == 0: number_2.append(i) elif i % 3 == 0: number_3.append(i) else: number_not_23.append(i) print(number_2) print(number_3) print(number_not_23)
18
45
0.581699
58
306
2.793103
0.37931
0.12963
0.203704
0
0
0
0
0
0
0
0
0.147321
0.267974
306
17
46
18
0.575893
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.214286
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
5d3eebfb19fe93b4835f6a596a2ccc9e00cb6450
1,018
py
Python
forecasting/end_to_end/ingest_stocks_to_df.py
Duncan-Haywood/finance_ml_analysis
ce42917fe69e81cf19f3f4893d3cc0f60cfd961c
[ "MIT" ]
1
2021-05-05T18:24:47.000Z
2021-05-05T18:24:47.000Z
forecasting/end_to_end/ingest_stocks_to_df.py
Duncan-Haywood/finance_ml_analysis
ce42917fe69e81cf19f3f4893d3cc0f60cfd961c
[ "MIT" ]
null
null
null
forecasting/end_to_end/ingest_stocks_to_df.py
Duncan-Haywood/finance_ml_analysis
ce42917fe69e81cf19f3f4893d3cc0f60cfd961c
[ "MIT" ]
1
2021-05-25T19:09:48.000Z
2021-05-25T19:09:48.000Z
#!/usr/bin/env python # coding: utf-8 import pandas as pd import numpy as np from pandas_datareader.data import DataReader from datetime import datetime class IngestStocks: @classmethod def ingest_stocks_to_df(cls,time_diff_years=6, ticker_list=['GSIT', 'ICAD', 'XAIR', 'LTRN', 'ARKK', 'ARKF', 'ARKW']): """Takes lis...
46.272727
163
0.752456
157
1,018
4.66879
0.573248
0.068213
0.070941
0.049113
0
0
0
0
0
0
0
0.004479
0.12279
1,018
21
164
48.47619
0.816349
0.18664
0
0
0
0
0.101096
0.048721
0
0
0
0.047619
0
1
0.111111
false
0
0.222222
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
1
0
0
0
0
0
0
0
0
0
0
1
5d3f5cd4808c240d0431fdf210524eb4129fbddd
1,246
py
Python
ocean_drilling_db/create_database.py
rickdberg/ocean_drilling_rt_modeling_db
e9951fa933f41ea4740d1e66a02a6d89df10a8f9
[ "MIT" ]
4
2019-12-17T11:54:32.000Z
2022-02-18T16:58:20.000Z
ocean_drilling_db/create_database.py
rickdberg/ocean_drilling_rt_modeling_db
e9951fa933f41ea4740d1e66a02a6d89df10a8f9
[ "MIT" ]
1
2020-11-28T12:38:34.000Z
2020-11-28T12:38:34.000Z
ocean_drilling_db/create_database.py
rickdberg/ocean_drilling_db
e9951fa933f41ea4740d1e66a02a6d89df10a8f9
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Oct 24 15:01:56 2018 @author: rick """ from sqlalchemy import create_engine def create_db(username, password, host, db_name, hole_metadata, age_depth, interstitial_water_chem, mad, cns): host_engine = create_engine('mysql://{}:{}@{}'.format(usern...
38.9375
110
0.716693
179
1,246
4.821229
0.357542
0.057937
0.063731
0.098494
0.441483
0.404403
0.404403
0.404403
0.290846
0.236385
0
0.031805
0.142055
1,246
32
111
38.9375
0.775491
0.247191
0
0
0
0
0.14859
0
0
0
0
0
0
1
0.1
false
0.3
0.1
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5d4096e0960531d63c6e38b6d96cf04488928433
942
py
Python
relativity/star.py
kurtbrose/relativity
1db579e606e554a3eed07bbe68e27e01c4f8c2ec
[ "MIT" ]
7
2019-02-06T18:33:22.000Z
2021-05-11T05:45:52.000Z
relativity/star.py
kurtbrose/relativity
1db579e606e554a3eed07bbe68e27e01c4f8c2ec
[ "MIT" ]
6
2019-03-28T23:11:58.000Z
2020-12-15T18:00:39.000Z
relativity/star.py
kurtbrose/relativity
1db579e606e554a3eed07bbe68e27e01c4f8c2ec
[ "MIT" ]
2
2019-09-13T12:20:30.000Z
2021-05-11T05:45:56.000Z
""" A star is similar to a table -- one "primary" key is used to select a bunch of "secondary" values The underlying data structure is a list of M2Ms """ import itertools from relativity import M2M def star(*m2ms): return Star(m2ms, copy=False) class Star(object): def __init__(self, m2ms, copy=True): ...
23.55
51
0.569002
127
942
4.062992
0.409449
0.093023
0.062016
0.069767
0.189922
0.158915
0.158915
0.158915
0.158915
0.158915
0
0.039936
0.335456
942
39
52
24.153846
0.784345
0.173036
0
0
0
0
0
0
0
0
0
0.025641
0
1
0.166667
false
0
0.083333
0.083333
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5d4267625f96cd1e95bdecabe457f0bb0dc77342
2,212
py
Python
django_boilerplate/blog/migrations/0005_auto_20210416_0945.py
eugen1j/django-boilerplate
952df758141acded74dc762ccfd6d0eb7de5bf43
[ "MIT" ]
null
null
null
django_boilerplate/blog/migrations/0005_auto_20210416_0945.py
eugen1j/django-boilerplate
952df758141acded74dc762ccfd6d0eb7de5bf43
[ "MIT" ]
null
null
null
django_boilerplate/blog/migrations/0005_auto_20210416_0945.py
eugen1j/django-boilerplate
952df758141acded74dc762ccfd6d0eb7de5bf43
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-04-16 09:45 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ("blog", "0004_auto_20210416_0503"), ] operations = [ migrations.CreateModel( name="BlogImage", ...
30.722222
87
0.421338
158
2,212
5.696203
0.436709
0.11
0.053333
0.048889
0.166667
0.104444
0.104444
0
0
0
0
0.027145
0.483725
2,212
71
88
31.15493
0.760946
0.020344
0
0.184615
1
0
0.135797
0.010624
0
0
0
0
0
1
0
false
0
0.030769
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5d482d673159e76de21d946ccb1750372f428419
2,074
py
Python
mayan/apps/linking/tests/mixins.py
Syunkolee9891/Mayan-EDMS
3759a9503a264a180b74cc8518388f15ca66ac1a
[ "Apache-2.0" ]
1
2021-06-17T18:24:25.000Z
2021-06-17T18:24:25.000Z
mayan/apps/linking/tests/mixins.py
Syunkolee9891/Mayan-EDMS
3759a9503a264a180b74cc8518388f15ca66ac1a
[ "Apache-2.0" ]
6
2020-06-05T22:45:29.000Z
2022-03-11T23:57:53.000Z
mayan/apps/linking/tests/mixins.py
Syunkolee9891/Mayan-EDMS
3759a9503a264a180b74cc8518388f15ca66ac1a
[ "Apache-2.0" ]
null
null
null
from __future__ import unicode_literals from ..models import SmartLink, SmartLinkCondition from .literals import ( TEST_SMART_LINK_CONDITION_FOREIGN_DOCUMENT_DATA, TEST_SMART_LINK_CONDITION_EXPRESSION, TEST_SMART_LINK_CONDITION_OPERATOR, TEST_SMART_LINK_DYNAMIC_LABEL, TEST_SMART_LINK_LABEL, TEST_SMART...
34
82
0.692382
243
2,074
5.407407
0.230453
0.19863
0.247336
0.133942
0.592846
0.347032
0.204718
0.070015
0.070015
0
0
0
0.240116
2,074
60
83
34.566667
0.833756
0.021697
0
0.085106
0
0
0.043907
0.036014
0
0
0
0
0
1
0.106383
false
0
0.06383
0.042553
0.276596
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
5d48479d58719f97838337861f26029a5a462e37
740
py
Python
app/grandchallenge/algorithms/migrations/0021_auto_20200221_1034.py
njmhendrix/grand-challenge.org
9bc36f5e26561a78bd405e8ea5e4c0f86c95f011
[ "Apache-2.0" ]
1
2021-02-09T10:30:44.000Z
2021-02-09T10:30:44.000Z
app/grandchallenge/algorithms/migrations/0021_auto_20200221_1034.py
njmhendrix/grand-challenge.org
9bc36f5e26561a78bd405e8ea5e4c0f86c95f011
[ "Apache-2.0" ]
null
null
null
app/grandchallenge/algorithms/migrations/0021_auto_20200221_1034.py
njmhendrix/grand-challenge.org
9bc36f5e26561a78bd405e8ea5e4c0f86c95f011
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.2 on 2020-02-21 10:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("algorithms", "0020_auto_20200214_0912"), ] operations = [ migrations.RenameField( model_name="algorithm", old_name="...
25.517241
50
0.590541
72
740
5.847222
0.611111
0.064133
0.128266
0.128266
0.384798
0.384798
0.194774
0
0
0
0
0.060194
0.304054
740
28
51
26.428571
0.757282
0.060811
0
0.454545
1
0
0.209235
0.103896
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
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
5d4a55aedccda68db4e18ee2d04f8b0052c0c403
3,890
py
Python
coax/_core/reward_function.py
sleepy-owl/coax
37c3e667b81537768beb25bb59d0f05124624128
[ "MIT" ]
null
null
null
coax/_core/reward_function.py
sleepy-owl/coax
37c3e667b81537768beb25bb59d0f05124624128
[ "MIT" ]
null
null
null
coax/_core/reward_function.py
sleepy-owl/coax
37c3e667b81537768beb25bb59d0f05124624128
[ "MIT" ]
null
null
null
# ------------------------------------------------------------------------------------------------ # # MIT License # # # # Copyright (c) 2...
47.439024
100
0.545758
416
3,890
5.040865
0.461538
0.041965
0.012399
0.031474
0.1402
0.108727
0.070577
0.070577
0.070577
0.070577
0
0.002339
0.340617
3,890
81
101
48.024691
0.815205
0.928278
0
0
0
0
0.12844
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5d4b7c82d5cb7ffa49f19ded27edba22fda54df0
9,284
py
Python
rpython/translator/backendopt/graphanalyze.py
microvm/pypy-mu
6b03fbe93052d0eb3a4c67152c987c16837b3484
[ "Apache-2.0", "OpenSSL" ]
null
null
null
rpython/translator/backendopt/graphanalyze.py
microvm/pypy-mu
6b03fbe93052d0eb3a4c67152c987c16837b3484
[ "Apache-2.0", "OpenSSL" ]
null
null
null
rpython/translator/backendopt/graphanalyze.py
microvm/pypy-mu
6b03fbe93052d0eb3a4c67152c987c16837b3484
[ "Apache-2.0", "OpenSSL" ]
null
null
null
from rpython.rtyper.lltypesystem.lltype import DelayedPointer from rpython.tool.algo.unionfind import UnionFind class GraphAnalyzer(object): verbose = False def __init__(self, translator): self.translator = translator self._analyzed_calls = UnionFind(lambda graph: Dependency(self)) # met...
35.166667
79
0.599957
1,082
9,284
4.973198
0.200555
0.044601
0.029734
0.046831
0.273927
0.223193
0.207954
0.151645
0.040513
0.040513
0
0.001272
0.32249
9,284
263
80
35.30038
0.854213
0.120099
0
0.376963
0
0
0.035885
0.00894
0
0
0
0
0
0
null
null
0
0.010471
null
null
0.005236
0
0
0
null
0
0
0
0
0
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
5d5333abc08c8a02d53fa667fe1c302c9f8ad054
13,761
py
Python
ui/Forms/_Forms/_MainForm.py
Tanyiqu/AnimeArtifactPro
771eded4c117c7dbd5e5066036dd4ef76783c90a
[ "Apache-2.0" ]
50
2020-04-16T15:21:32.000Z
2020-10-05T11:56:57.000Z
ui/Forms/_Forms/_MainForm.py
tanyiqu/AnimeArtifactPro
771eded4c117c7dbd5e5066036dd4ef76783c90a
[ "Apache-2.0" ]
2
2020-10-23T19:47:59.000Z
2021-01-25T02:55:00.000Z
ui/Forms/_Forms/_MainForm.py
Tanyiqu/AnimeArtifactPro
771eded4c117c7dbd5e5066036dd4ef76783c90a
[ "Apache-2.0" ]
4
2020-04-22T14:25:35.000Z
2020-06-20T15:26:53.000Z
import re import threading import time import json from functools import partial import requests from PyQt5 import sip from PyQt5.QtCore import QTimer from PyQt5.QtGui import QTextCursor import R from Configuration import Configuration import ui.ui_designer.ui_file.uic_mainForm from Utils import VideoUtil from Signal...
30.716518
102
0.567982
1,370
13,761
5.646715
0.245985
0.020812
0.028956
0.022622
0.16197
0.095398
0.083506
0.076008
0.071613
0.059721
0
0.013238
0.319308
13,761
447
103
30.785235
0.81264
0.111111
0
0.257525
0
0
0.032555
0
0
0
0
0
0
1
0.06689
false
0.123746
0.080268
0
0.227425
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5d55ba3e972eab575ed7c387fbaa752143791903
711
py
Python
Chapter_12/cellsFrom.py
TravisLeeWolf/ATBS
9075eabaa0a788f58435eff9e0df488806a0770b
[ "Apache-2.0" ]
null
null
null
Chapter_12/cellsFrom.py
TravisLeeWolf/ATBS
9075eabaa0a788f58435eff9e0df488806a0770b
[ "Apache-2.0" ]
null
null
null
Chapter_12/cellsFrom.py
TravisLeeWolf/ATBS
9075eabaa0a788f58435eff9e0df488806a0770b
[ "Apache-2.0" ]
null
null
null
#! python3 # cellsFrom.py - Getting cells from a worksheet import os, openpyxl # Change to current working directory os.chdir('S:\\Documents\\GitHub\\ATBS\\Chapter_12') # Getting cell data from worksheets wb = openpyxl.load_workbook('example.xlsx') sheet = wb['Sheet1'] # Now accessing the cells print(sheet['A1']) p...
22.935484
75
0.673699
114
711
4.184211
0.491228
0.104822
0.069182
0.054507
0.104822
0.104822
0.104822
0
0
0
0
0.026144
0.139241
711
31
76
22.935484
0.753268
0.209564
0
0
0
0
0.189964
0.069892
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0.647059
0
0
0
null
0
0
0
0
0
0
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
5d57d75ef0ee633c4d71633f2af38f410ea0f7f4
1,117
py
Python
users-api/app.py
pwegrzyn/wegpat-gmail.com
3fce9d0bc32c1d6be94cd664eb13a69255975fd0
[ "MIT" ]
null
null
null
users-api/app.py
pwegrzyn/wegpat-gmail.com
3fce9d0bc32c1d6be94cd664eb13a69255975fd0
[ "MIT" ]
5
2021-09-02T12:22:08.000Z
2022-03-02T09:15:20.000Z
users-api/app.py
pwegrzyn/wegpat-gmail.com
3fce9d0bc32c1d6be94cd664eb13a69255975fd0
[ "MIT" ]
null
null
null
from flask import Flask from flask_restx import Api from flask_sqlalchemy import SQLAlchemy import sqlalchemy_utils import os import time import logging from dotenv import load_dotenv logging.basicConfig(level=logging.INFO) # loading default env values from the .env file load_dotenv() user = os.environ["POSTGRES_USE...
21.480769
75
0.692032
142
1,117
5.260563
0.443662
0.060241
0.113788
0
0
0
0
0
0
0
0
0.001133
0.20949
1,117
51
76
21.901961
0.844847
0.040286
0
0
0
0
0.194393
0.072897
0
0
0
0
0
1
0.052632
false
0.078947
0.263158
0
0.342105
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5d580749e76beebd01d9c829fecc633f3e2cd1b1
9,166
py
Python
apps/process_temperature_sweeps/process_temperature_sweeps.py
danielflanigan/kid_readout
07202090d468669200cab78297122880c1c03e87
[ "BSD-2-Clause" ]
1
2015-05-21T20:57:39.000Z
2015-05-21T20:57:39.000Z
apps/process_temperature_sweeps/process_temperature_sweeps.py
braddober/kid_readout
1917960c761663227fa5b74fff34e38a03b80b4d
[ "BSD-2-Clause" ]
null
null
null
apps/process_temperature_sweeps/process_temperature_sweeps.py
braddober/kid_readout
1917960c761663227fa5b74fff34e38a03b80b4d
[ "BSD-2-Clause" ]
null
null
null
import os import numpy as np import pandas as pd import matplotlib from matplotlib import pyplot as plt from mpl_toolkits.axes_grid1.inset_locator import inset_axes from matplotlib.backends.backend_pdf import PdfPages from matplotlib.figure import Figure from matplotlib.backends.backend_agg import FigureCanvasAgg matpl...
46.527919
124
0.650447
1,410
9,166
3.993617
0.17305
0.008524
0.023442
0.027704
0.504173
0.397265
0.347896
0.279169
0.267803
0.267803
0
0.027373
0.206851
9,166
196
125
46.765306
0.74718
0.105826
0
0.204969
0
0
0.078654
0.023003
0
0
0
0
0
0
null
null
0
0.080745
null
null
0.062112
0
0
0
null
0
0
0
0
0
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
5d599da7c74bc6842c26ee3d301a5a9b46320405
212
py
Python
files/textfiles.py
Shouheng88/AndroidTools
fca6bf94f1ad350858b354a9150d018cc0891662
[ "Apache-2.0" ]
9
2021-07-20T14:46:38.000Z
2022-03-08T01:08:04.000Z
files/textfiles.py
Shouheng88/AndroidTools
fca6bf94f1ad350858b354a9150d018cc0891662
[ "Apache-2.0" ]
1
2021-11-01T11:50:59.000Z
2021-11-25T03:30:01.000Z
files/textfiles.py
Shouheng88/AndroidTools
fca6bf94f1ad350858b354a9150d018cc0891662
[ "Apache-2.0" ]
1
2021-09-29T07:10:15.000Z
2021-09-29T07:10:15.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- def read_text(fname) -> str: '''Read text file full content.''' with open(fname, 'r') as f: content = f.read() f.close() return content
21.2
38
0.551887
30
212
3.866667
0.733333
0.137931
0
0
0
0
0
0
0
0
0
0.012821
0.264151
212
9
39
23.555556
0.730769
0.339623
0
0
0
0
0.007519
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
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
5d5c8449d4a532f67fa04bf711ac2f07519b531e
1,285
py
Python
core/migrations/0029_userprofile.py
ankanb240/otis-web
45eda65b419705c65c02b15872a137969d53d8e9
[ "MIT" ]
15
2021-08-28T18:18:37.000Z
2022-03-13T07:48:15.000Z
core/migrations/0029_userprofile.py
ankanb240/otis-web
45eda65b419705c65c02b15872a137969d53d8e9
[ "MIT" ]
65
2021-08-20T02:37:27.000Z
2022-02-07T17:19:23.000Z
core/migrations/0029_userprofile.py
ankanb240/otis-web
45eda65b419705c65c02b15872a137969d53d8e9
[ "MIT" ]
31
2020-01-09T02:35:29.000Z
2022-03-13T07:48:18.000Z
# Generated by Django 3.2.6 on 2021-09-04 03:13 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('core', '0028_alter_unit_...
47.592593
195
0.686381
157
1,285
5.44586
0.452229
0.051462
0.087719
0.101754
0.281871
0.281871
0.281871
0.22924
0.22924
0.102924
0
0.018519
0.201556
1,285
26
196
49.423077
0.814815
0.035019
0
0
1
0
0.26252
0.054927
0
0
0
0
0
1
0
false
0
0.15
0
0.3
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
5d5efbe2b99c1975e7743f4c3130ec788e9a9e78
3,073
py
Python
data/squads.py
sarthakbatragatech/CWC2019
4da93b43dac10cd14015f315b2ceb8a5ed87bfe6
[ "MIT" ]
null
null
null
data/squads.py
sarthakbatragatech/CWC2019
4da93b43dac10cd14015f315b2ceb8a5ed87bfe6
[ "MIT" ]
1
2021-06-01T23:47:45.000Z
2021-06-01T23:47:45.000Z
data/squads.py
sarthakbatragatech/CWC2019
4da93b43dac10cd14015f315b2ceb8a5ed87bfe6
[ "MIT" ]
null
null
null
afghanistan = [ 'Noor Ali Zadran', 'Hazratullah Zazai', 'Asghar Afghan', 'Hashmatullah Shahidi', 'Najibullah Zadran', 'Rashid Khan', 'Dawlat Zadran', 'Aftab Alam', 'Hamid Hassan', 'Mujeeb Ur Rahman', 'Gulbadin Naib', 'Rahmat Shah', 'Samiullah Shenwari', 'Mohammad Nabi', 'Mohammad Shahzad', ] austra...
35.732558
67
0.645949
338
3,073
5.852071
0.857988
0.011122
0
0
0
0
0
0
0
0
0
0
0.192646
3,073
85
68
36.152941
0.797259
0
0
0
0
0
0.634884
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5d61b59b288cb68e2bb16bf708e403cce7e871c2
662
py
Python
src/core/validation/config.py
younger-1/yasb
d0ad23e65eb481f7c05dde1e040f55bec2aa6689
[ "MIT" ]
53
2021-11-02T21:04:25.000Z
2022-03-30T12:45:55.000Z
src/core/validation/config.py
younger-1/yasb
d0ad23e65eb481f7c05dde1e040f55bec2aa6689
[ "MIT" ]
12
2021-12-02T05:06:18.000Z
2022-03-20T13:39:07.000Z
src/core/validation/config.py
younger-1/yasb
d0ad23e65eb481f7c05dde1e040f55bec2aa6689
[ "MIT" ]
4
2022-01-18T06:17:56.000Z
2022-03-30T13:18:55.000Z
from core.validation.bar import BAR_SCHEMA, BAR_DEFAULTS CONFIG_SCHEMA = { 'watch_config': { 'type': 'boolean', 'default': True }, 'watch_stylesheet': { 'type': 'boolean', 'default': True, }, 'bars': { 'type': 'dict', 'keysrules': { 'type'...
20.060606
56
0.41994
48
662
5.645833
0.4375
0.110701
0.132841
0.162362
0.280443
0.280443
0
0
0
0
0
0
0.403323
662
32
57
20.6875
0.686076
0
0
0.193548
0
0
0.282477
0
0
0
0
0
0
1
0
false
0
0.032258
0
0.032258
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
5d6865e707f8ae39134d32a71e5e86e036f3c984
1,160
py
Python
authentik/sources/oauth/types/google.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
15
2020-01-05T09:09:57.000Z
2020-11-28T05:27:39.000Z
authentik/sources/oauth/types/google.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
302
2020-01-21T08:03:59.000Z
2020-12-04T05:04:57.000Z
authentik/sources/oauth/types/google.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
3
2020-03-04T08:21:59.000Z
2020-08-01T20:37:18.000Z
"""Google OAuth Views""" from typing import Any from authentik.sources.oauth.types.manager import MANAGER, SourceType from authentik.sources.oauth.views.callback import OAuthCallback from authentik.sources.oauth.views.redirect import OAuthRedirect class GoogleOAuthRedirect(OAuthRedirect): """Google OAuth2 Redire...
26.976744
69
0.671552
124
1,160
6.193548
0.475806
0.039063
0.078125
0.097656
0.078125
0
0
0
0
0
0
0.008677
0.205172
1,160
42
70
27.619048
0.824295
0.09569
0
0.074074
0
0
0.163583
0
0
0
0
0
0
1
0.074074
false
0
0.148148
0.074074
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5d6b312342df92181d240c47063b499d1dd745c4
39,551
py
Python
python-siren/siren/reremi/codeRRM.py
zliobaite/teeth-redescription
e6f33aefbe693500c25062880fbdde73a75c1aba
[ "MIT" ]
null
null
null
python-siren/siren/reremi/codeRRM.py
zliobaite/teeth-redescription
e6f33aefbe693500c25062880fbdde73a75c1aba
[ "MIT" ]
null
null
null
python-siren/siren/reremi/codeRRM.py
zliobaite/teeth-redescription
e6f33aefbe693500c25062880fbdde73a75c1aba
[ "MIT" ]
null
null
null
#!/usr/bin/python import numpy, re, datetime, itertools import pickle import pdb from classQuery import Term, BoolTerm, CatTerm, NumTerm from classData import Data from classRedescription import Redescription def inex(prs): pout = 0 for i in range(len(prs)): for c in itertools.combinations(prs, i+1): ...
35.988171
158
0.496119
5,315
39,551
3.660019
0.066416
0.020562
0.00951
0.009716
0.563049
0.493086
0.448877
0.40621
0.375623
0.344163
0
0.01406
0.354403
39,551
1,098
159
36.020947
0.747787
0.020632
0
0.493506
0
0
0.020008
0
0
0
0
0
0
0
null
null
0
0.006494
null
null
0.003247
0
0
0
null
0
0
0
0
0
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
5d6d3cee6cc87978022a8bf6e9b66c1d345932d0
695
py
Python
backend/mongo_features.py
alfasin/pullreq-ml
acc6a437ac3b0c692d0dbc2730535739340b41e7
[ "MIT" ]
null
null
null
backend/mongo_features.py
alfasin/pullreq-ml
acc6a437ac3b0c692d0dbc2730535739340b41e7
[ "MIT" ]
null
null
null
backend/mongo_features.py
alfasin/pullreq-ml
acc6a437ac3b0c692d0dbc2730535739340b41e7
[ "MIT" ]
null
null
null
import os from pymongo import MongoClient ### IMPORRTANT: make sure to load all these into the env on the running script!!! DB_URL = os.environ['DB_URL'] or 'ec2-54-72-230-18.eu-west-1.compute.amazonaws.com:27017' DB_USER = os.environ['DB_USER'] DB_NAME = 'github' DB_PWD = os.environ['DB_PASSWORD'] MONGODB_URL=f'mon...
28.958333
89
0.735252
113
695
4.274336
0.530973
0.041408
0.068323
0.074534
0.095238
0.095238
0
0
0
0
0
0.026144
0.119424
695
23
90
30.217391
0.763072
0.110791
0
0
0
0.0625
0.265905
0.192496
0
0
0
0
0
1
0.125
false
0.0625
0.125
0.0625
0.375
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5d6ec4482ee007ade308ed9a8ee80a9df7eb69e1
1,049
py
Python
chess/chessman/mandarin.py
kimi9527/chess-yi
af9aa36d9f46452b38433580253c7e2853bb6478
[ "Apache-2.0" ]
null
null
null
chess/chessman/mandarin.py
kimi9527/chess-yi
af9aa36d9f46452b38433580253c7e2853bb6478
[ "Apache-2.0" ]
null
null
null
chess/chessman/mandarin.py
kimi9527/chess-yi
af9aa36d9f46452b38433580253c7e2853bb6478
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 from chess.chess_piece import ChessPiece from chess.images import Red_Mandarin, BLACK_Mandarin class Mandarin(ChessPiece): """ 士类 """ @property def image(self): """ 获取棋子图像 """ if self._is_red: return Red_Mandarin ...
22.319149
80
0.363203
106
1,049
3.481132
0.462264
0.01626
0.04336
0
0
0
0
0
0
0
0
0.046092
0.524309
1,049
46
81
22.804348
0.693387
0.032412
0
0.125
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.25
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
5d6ef8dfcb3495fc85ed07d31025fd8e96fecdf2
236
py
Python
password_generator.py
gladson-sza/python-security
dfa5d24647835abdb8ec9138bf96e682095496b5
[ "MIT" ]
null
null
null
password_generator.py
gladson-sza/python-security
dfa5d24647835abdb8ec9138bf96e682095496b5
[ "MIT" ]
null
null
null
password_generator.py
gladson-sza/python-security
dfa5d24647835abdb8ec9138bf96e682095496b5
[ "MIT" ]
null
null
null
import random import string if __name__ == '__main__': size = 16 chars = string.ascii_letters + string.digits + '!@#$%&*()_-=+{}[]' rnd = random.SystemRandom() print(''.join(rnd.choice(chars) for i in range(size)))
18.153846
70
0.610169
28
236
4.785714
0.75
0
0
0
0
0
0
0
0
0
0
0.010582
0.199153
236
12
71
19.666667
0.698413
0
0
0
0
0
0.106383
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5d75c31eadc8cb770545ed113ce6538167fc5473
7,949
py
Python
tokio/cli/darshan_scoreboard.py
NERSC/pytokio
22244718cf82567c50620cbe0e635dfc990de36b
[ "BSD-3-Clause-LBNL" ]
22
2017-11-14T01:30:48.000Z
2022-01-01T21:51:00.000Z
tokio/cli/darshan_scoreboard.py
glennklockwood/pytokio
22244718cf82567c50620cbe0e635dfc990de36b
[ "BSD-3-Clause-LBNL" ]
39
2017-12-20T01:42:19.000Z
2020-05-28T21:17:26.000Z
tokio/cli/darshan_scoreboard.py
glennklockwood/pytokio
22244718cf82567c50620cbe0e635dfc990de36b
[ "BSD-3-Clause-LBNL" ]
5
2018-02-06T19:39:19.000Z
2019-07-10T01:20:26.000Z
""" Process the Darshan daily summary generated by either summarize_darshanlogs or index_darshanlogs tools and generate a scoreboard of top sources of I/O based on user, file system, and/or application. """ import re import sys import json import sqlite3 import argparse import collections import tokio.config BASE_QU...
37.14486
146
0.569254
976
7,949
4.498975
0.240779
0.026645
0.013664
0.020496
0.21453
0.203598
0.1642
0.097928
0.084263
0.084263
0
0.013336
0.301925
7,949
213
147
37.319249
0.777978
0.093722
0
0.038961
1
0.006494
0.231555
0.0063
0
0
0
0
0
1
0.025974
false
0
0.045455
0
0.077922
0.077922
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
536f8fbdfcb5c58fc79d18da83c06e97dcf57d6a
7,540
py
Python
ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchlearnedinfoconfig_e82ac94514eca4bb9bcfc04c550a7144.py
rfrye-github/ixnetwork_restpy
23eeb24b21568a23d3f31bbd72814ff55eb1af44
[ "MIT" ]
null
null
null
ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchlearnedinfoconfig_e82ac94514eca4bb9bcfc04c550a7144.py
rfrye-github/ixnetwork_restpy
23eeb24b21568a23d3f31bbd72814ff55eb1af44
[ "MIT" ]
null
null
null
ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchlearnedinfoconfig_e82ac94514eca4bb9bcfc04c550a7144.py
rfrye-github/ixnetwork_restpy
23eeb24b21568a23d3f31bbd72814ff55eb1af44
[ "MIT" ]
null
null
null
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, ...
44.880952
313
0.677454
847
7,540
5.868949
0.25856
0.021726
0.032589
0.044458
0.418628
0.414202
0.364715
0.364715
0.32247
0.26896
0
0.005886
0.233952
7,540
167
314
45.149701
0.854744
0.482361
0
0.132353
0
0
0.178141
0.033652
0
0
0
0
0
1
0.264706
false
0
0.029412
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
5372c5b2628b92f3206fee05d714c8867636c64b
613
py
Python
cloudfile/add_file.py
takotab/cloudfile
7b1af196619c0c7fdb1d3631e58d96fb3b947242
[ "MIT" ]
null
null
null
cloudfile/add_file.py
takotab/cloudfile
7b1af196619c0c7fdb1d3631e58d96fb3b947242
[ "MIT" ]
11
2019-06-11T12:54:41.000Z
2021-02-08T20:31:09.000Z
cloudfile/add_file.py
takotab/cloudfile
7b1af196619c0c7fdb1d3631e58d96fb3b947242
[ "MIT" ]
null
null
null
import glob import os from .cloudfile import CloudFile from .google import upload_file def add_file(file: str, cloudf: CloudFile = None, hard=False, unit_test=False): if cloudf is None: cloudf = CloudFile() assert os.path.isfile(file) url, file_id = cloudf.upload_file(file, hard) if unit_test...
24.52
84
0.676998
89
613
4.539326
0.325843
0.09901
0.054455
0.108911
0.217822
0.217822
0.217822
0.217822
0.217822
0
0
0
0.215334
613
24
85
25.541667
0.839917
0
0
0
0
0
0.006536
0
0
0
0
0
0.058824
1
0.117647
false
0
0.235294
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
537832c5cce1405ef36b8fc0852a52c09de52d66
4,072
py
Python
run.py
thebes94/canada-parks-checker
6abcc3a1537ca020087f51f87395d5459d367396
[ "MIT" ]
null
null
null
run.py
thebes94/canada-parks-checker
6abcc3a1537ca020087f51f87395d5459d367396
[ "MIT" ]
null
null
null
run.py
thebes94/canada-parks-checker
6abcc3a1537ca020087f51f87395d5459d367396
[ "MIT" ]
null
null
null
# import requests from selenium import webdriver from selenium.webdriver.support.ui import Select # import time # from datetime import datetime, timedelta # from dateutil.relativedelta import relativedelta #import csv # import config # from helpers.login import login # from helpers.scroll_page import scroll # from help...
42.863158
113
0.732073
554
4,072
5.166065
0.368231
0.038435
0.045423
0.05311
0.227813
0.194969
0.137666
0.083159
0.083159
0.083159
0
0.007613
0.161346
4,072
95
114
42.863158
0.830454
0.698674
0
0.217391
0
0
0.320624
0.02253
0
0
0
0.010526
0
1
0
false
0
0.086957
0
0.086957
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
537b98af14b66de2edaba84dce5ece41995cc546
674
py
Python
poseidon/core/version_types.py
peterkang2001/Poseidon
cfafc01a1f69210dbfd95a0c62e06269eb599034
[ "Apache-2.0" ]
2
2019-12-27T09:14:38.000Z
2019-12-27T09:16:29.000Z
poseidon/core/version_types.py
CodeMonkey4Fun/Poseidon
cfafc01a1f69210dbfd95a0c62e06269eb599034
[ "Apache-2.0" ]
2
2021-03-31T20:06:21.000Z
2021-12-13T20:48:16.000Z
poseidon/core/version_types.py
peterkang2001/Poseidon
cfafc01a1f69210dbfd95a0c62e06269eb599034
[ "Apache-2.0" ]
1
2020-11-13T07:37:01.000Z
2020-11-13T07:37:01.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Author: kangliang date: 2019-12-25 """ from enum import Enum class Types(Enum): # 采取 GNU 风格版本号 Major = "Major", # 主版本号 Minor = "Minor", # 次版本号 Revision = "Revision", # 修订版本号 Build = "Build", # 内部版本号 Alpha = "Alpha", #...
24.962963
81
0.58457
73
674
5.39726
0.821918
0
0
0
0
0
0
0
0
0
0
0.030303
0.265579
674
26
82
25.923077
0.765657
0.416914
0
0
0
0
0.259563
0
0
0
0
0
0
1
0
false
0
0.066667
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
537e1fea19e2daf1b3e1ec77c64a2fe8185c9a61
13,872
py
Python
IPython/parallel/client/magics.py
breisfeld/ipython
70e2c414014f3323d8a52fbcc94ee9e3a92d5d5f
[ "BSD-3-Clause-Clear" ]
26
2018-02-14T23:52:58.000Z
2021-08-16T13:50:03.000Z
IPython/parallel/client/magics.py
breisfeld/ipython
70e2c414014f3323d8a52fbcc94ee9e3a92d5d5f
[ "BSD-3-Clause-Clear" ]
null
null
null
IPython/parallel/client/magics.py
breisfeld/ipython
70e2c414014f3323d8a52fbcc94ee9e3a92d5d5f
[ "BSD-3-Clause-Clear" ]
10
2018-08-13T19:38:39.000Z
2020-04-19T03:02:00.000Z
# encoding: utf-8 """ ============= parallelmagic ============= Magic command interface for interactive parallel work. Usage ===== ``%autopx`` {AUTOPX_DOC} ``%px`` {PX_DOC} ``%pxresult`` {RESULT_DOC} ``%pxconfig`` {CONFIG_DOC} """ #----------------------------------------------------------------------------...
31.384615
92
0.533593
1,501
13,872
4.805463
0.228514
0.038819
0.0305
0.014973
0.176903
0.159434
0.085263
0.072508
0.072508
0.045889
0
0.01457
0.33701
13,872
441
93
31.455782
0.769708
0.103085
0
0.303965
0
0
0.156765
0.007822
0
0
0
0
0
0
null
null
0.004405
0.026432
null
null
0.022026
0
0
0
null
0
0
0
0
0
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
53846c6bf14213f30be2140ef605e54e6f48b475
567
py
Python
tests/utils.py
kmcquade/vulnerabilities
a051af6f6d9e0c161b918b3b07e14d0e9810f894
[ "BSD-3-Clause" ]
2
2021-04-19T22:10:32.000Z
2021-04-20T00:04:28.000Z
tests/utils.py
kmcquade/vulnerabilities
a051af6f6d9e0c161b918b3b07e14d0e9810f894
[ "BSD-3-Clause" ]
3
2021-04-12T10:22:02.000Z
2021-12-22T12:42:02.000Z
tests/utils.py
damiencarol/vulnerabilities
98035b554352dcd684eacd10e1d8d2c5a9bb1cb7
[ "BSD-3-Clause" ]
2
2021-04-28T14:55:07.000Z
2021-06-02T07:52:32.000Z
def check_finding(finding): """This function test the contract that every finding needs to follow Each findings needs to have this attribute: * severity (<None>, "Info", "Low", "Medium", "High", "Critical", "Unknown") """ assert "title" in finding assert "description" in finding asse...
29.842105
79
0.638448
80
567
4.5125
0.475
0.174515
0.166205
0.072022
0.260388
0.116343
0.116343
0.116343
0
0
0
0
0.253968
567
18
80
31.5
0.853428
0.451499
0
0
0
0
0.140351
0
0
0
0
0
0.625
1
0.125
false
0
0
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
1
0
0
0
0
0
0
0
0
0
1
538498930fed46976c4facb109984b17ded16cc5
2,236
py
Python
src/products/weekly_activity_totals.py
cmutzel/tftna-math
8b9bd05d92e9dc4ced27178e11b8631a36e28c58
[ "MIT" ]
null
null
null
src/products/weekly_activity_totals.py
cmutzel/tftna-math
8b9bd05d92e9dc4ced27178e11b8631a36e28c58
[ "MIT" ]
null
null
null
src/products/weekly_activity_totals.py
cmutzel/tftna-math
8b9bd05d92e9dc4ced27178e11b8631a36e28c58
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ weekly-activity-totals.py Created on Tue Feb 7 19:08:14 2017 @author: chrismutzel """ import numpy as np from src.products.data_product import DataProduct PRODUCT_NAME = "weekly_activity_totals" class WeeklyActivityTotals(DataProduct): product_name = PRODUCT_NAME requires = ["dai...
33.878788
84
0.563506
268
2,236
4.533582
0.451493
0.051852
0.032922
0.032922
0
0
0
0
0
0
0
0.020647
0.350179
2,236
66
85
33.878788
0.815554
0.088998
0
0
0
0
0.073211
0.018303
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.037037
0
0
0
null
0
0
0
0
0
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
538a28047f9a2ab488b3432474e1980291966a84
918
py
Python
main/epiphany/template.py
chimera-linux/cports
37888f8ded3e6afc1a42227a4019bc25e2456afc
[ "BSD-2-Clause" ]
46
2021-06-10T02:27:32.000Z
2022-03-27T11:33:24.000Z
main/epiphany/template.py
chimera-linux/cports
37888f8ded3e6afc1a42227a4019bc25e2456afc
[ "BSD-2-Clause" ]
58
2021-07-03T13:58:20.000Z
2022-03-13T16:45:35.000Z
main/epiphany/template.py
chimera-linux/cports
37888f8ded3e6afc1a42227a4019bc25e2456afc
[ "BSD-2-Clause" ]
6
2021-07-04T10:46:40.000Z
2022-01-09T00:03:59.000Z
pkgname = "epiphany" pkgver = "41.3" pkgrel = 0 build_style = "meson" configure_args = ["-Dunit_tests=disabled", "-Dsoup2=disabled"] hostmakedepends = ["meson", "pkgconf", "glib-devel", "gettext-tiny", "itstool"] makedepends = [ "webkitgtk-devel", "cairo-devel", "gcr-devel", "gdk-pixbuf-devel", "libglib-devel",...
43.714286
79
0.697168
109
918
5.834862
0.688073
0.028302
0
0
0
0
0
0
0
0
0
0.060386
0.098039
918
20
80
45.9
0.707729
0
0
0
0
0
0.648148
0.220044
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
539000e8ef8f5f78be50db2342ed59a70751ec16
12,142
py
Python
tutorials/preprocessing/plot_60_maxwell_filtering_sss.py
stlukyanenko/mne-python
508cfbc13bc2e068efb3bf8b7999b83047851729
[ "BSD-3-Clause" ]
1
2021-03-29T02:16:35.000Z
2021-03-29T02:16:35.000Z
tutorials/preprocessing/plot_60_maxwell_filtering_sss.py
Moonshadowzb/mne-python
89647f3363fcb5de306cc18e55e7b9fa89fe0315
[ "BSD-3-Clause" ]
null
null
null
tutorials/preprocessing/plot_60_maxwell_filtering_sss.py
Moonshadowzb/mne-python
89647f3363fcb5de306cc18e55e7b9fa89fe0315
[ "BSD-3-Clause" ]
null
null
null
""" .. _tut-artifact-sss: Signal-space separation (SSS) and Maxwell filtering =================================================== This tutorial covers reducing environmental noise and compensating for head movement with SSS and Maxwell filtering. .. contents:: Page contents :local: :depth: 2 As usual we'll st...
47.245136
79
0.711415
1,649
12,142
5.174045
0.333535
0.014768
0.023441
0.03399
0.13631
0.081224
0.050281
0.03903
0.012893
0.012893
0
0.004235
0.144375
12,142
256
80
47.429688
0.816729
0.811975
0
0
0
0
0.081753
0.028123
0
0
0
0
0
1
0
false
0
0.074074
0
0.074074
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5391343ce9b0ec6d7bfa8a02cea4f1479a8a4019
1,304
py
Python
magic/profilers/cross_genre_profiler.py
pan-webis-de/magic
ced7114acc2c1b48d2f6268b539aa2632dac7c4c
[ "MIT" ]
7
2016-10-25T14:23:48.000Z
2017-07-03T17:28:40.000Z
magic/profilers/cross_genre_profiler.py
pan-webis-de/modaresi16
ced7114acc2c1b48d2f6268b539aa2632dac7c4c
[ "MIT" ]
null
null
null
magic/profilers/cross_genre_profiler.py
pan-webis-de/modaresi16
ced7114acc2c1b48d2f6268b539aa2632dac7c4c
[ "MIT" ]
2
2017-03-16T00:12:17.000Z
2019-05-14T09:02:18.000Z
from ..pipelines.pipelines import avg_spelling_error from ..pipelines.pipelines import word_unigrams from ..pipelines.pipelines import word_bigrams from ..pipelines.pipelines import char_ngrams from ..pipelines.pipelines import punctuation_features from sklearn.preprocessing import Normalizer from sklearn.pipeline impo...
36.222222
81
0.654141
150
1,304
5.533333
0.313333
0.078313
0.13253
0.168675
0.13012
0
0
0
0
0
0
0.001017
0.246166
1,304
35
82
37.257143
0.843337
0
0
0
0
0
0.045245
0
0
0
0
0
0
1
0.1
false
0
0.3
0.033333
0.466667
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
5397e4f3595584cb27fabce825ec3b3f86ac1241
3,318
py
Python
src/timessquare/domain/githubwebhook.py
lsst-sqre/times-square
4a8d6183d9ae073d7e6968506e29c671d196446a
[ "MIT" ]
null
null
null
src/timessquare/domain/githubwebhook.py
lsst-sqre/times-square
4a8d6183d9ae073d7e6968506e29c671d196446a
[ "MIT" ]
6
2021-12-13T20:19:41.000Z
2022-03-28T20:09:01.000Z
src/timessquare/domain/githubwebhook.py
lsst-sqre/times-square
4a8d6183d9ae073d7e6968506e29c671d196446a
[ "MIT" ]
null
null
null
"""Domain models related to payloads from GitHub webhook events. These Pydantic models are designed to capture relevant subsets of data from GitHub webhook payloads. """ from __future__ import annotations from typing import List from pydantic import BaseModel, Field from .githubapi import GitHubPullRequestModel, G...
26.97561
124
0.696805
350
3,318
6.562857
0.328571
0.047889
0.039617
0.060078
0.388333
0.300392
0.251633
0.228994
0.228994
0.228994
0
0.001911
0.211272
3,318
122
125
27.196721
0.875812
0.26733
0
0.245902
0
0
0.259685
0
0
0
0
0
0
1
0.016393
false
0
0.065574
0.016393
0.52459
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
539ad31cdfda79b5d55bd0c016c42b69d40ec006
1,518
py
Python
src/run.py
aviatorBeijing/CsvToHtmlTable
1ae782cfb8c1564728b7c37f3c5b9d30f33037dd
[ "MIT" ]
null
null
null
src/run.py
aviatorBeijing/CsvToHtmlTable
1ae782cfb8c1564728b7c37f3c5b9d30f33037dd
[ "MIT" ]
null
null
null
src/run.py
aviatorBeijing/CsvToHtmlTable
1ae782cfb8c1564728b7c37f3c5b9d30f33037dd
[ "MIT" ]
null
null
null
import csv csvFile = open('input.csv', 'r')#enter the csv filename #csvReader = csv.reader(csvFile) #csvData = list(csvReader) dd = [] csvData = csvFile.readline() while csvData: dd += [ csvData ] csvData = csvFile.readline() csvData = dd with open('index.html', 'w') as html: #enter the output...
27.6
86
0.52635
184
1,518
4.342391
0.353261
0.202753
0.060075
0.052566
0.215269
0.140175
0.067584
0.067584
0
0
0
0.010782
0.266798
1,518
54
87
28.111111
0.707098
0.077075
0
0.232558
0
0
0.395227
0.152871
0
0
0
0
0
1
0
false
0
0.023256
0
0.023256
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
539b8341cb419eef44e9705b45d92c0fb321bc2d
954
py
Python
author_manage/forms.py
VForWaTer/vforwater-portal
225177e6f0796e909084e93c076840d0271d567f
[ "MIT" ]
1
2020-05-15T14:51:10.000Z
2020-05-15T14:51:10.000Z
author_manage/forms.py
VForWaTer/vforwater-portal
225177e6f0796e909084e93c076840d0271d567f
[ "MIT" ]
7
2019-07-12T17:12:00.000Z
2021-12-14T08:12:26.000Z
author_manage/forms.py
VForWaTer/vforwater-portal
225177e6f0796e909084e93c076840d0271d567f
[ "MIT" ]
1
2021-04-28T21:58:24.000Z
2021-04-28T21:58:24.000Z
from django import forms from .models import Resource class AddNewResourceForm(forms.ModelForm): """ """ class Meta: model = Resource fields = ("type", "link") # fields = ("name", "type", "description", "link") def __init__(self, *args, **kwargs): """ @param a...
35.333333
113
0.5587
95
954
5.526316
0.357895
0.07619
0.129524
0.167619
0.213333
0.213333
0
0
0
0
0
0.011461
0.268344
954
26
114
36.692308
0.740688
0.390985
0
0
0
0
0.15087
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.5
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
539eb39cf09a5e7ea4d333435d6633dc95e55f5b
724
py
Python
exam/myproject/myapp/models.py
wasit7/cs459_django2018
77c09712ac5328d9bba285c000d25d86dbc363b1
[ "BSD-2-Clause" ]
4
2018-01-17T06:51:24.000Z
2019-05-01T15:45:17.000Z
exam/myproject/myapp/models.py
wasit7/cs459_django2018
77c09712ac5328d9bba285c000d25d86dbc363b1
[ "BSD-2-Clause" ]
null
null
null
exam/myproject/myapp/models.py
wasit7/cs459_django2018
77c09712ac5328d9bba285c000d25d86dbc363b1
[ "BSD-2-Clause" ]
3
2018-04-04T06:54:08.000Z
2019-03-06T02:31:16.000Z
from django.db import models from django.utils import timezone class Room(models.Model): number = models.CharField(max_length=255) hour_price = models.DecimalField(max_digits=10, decimal_places=2) isavailable = models.BooleanField(default=True) class Member(models.Model): name = models.CharField(max_length=255) ...
40.222222
84
0.788674
104
724
5.375
0.403846
0.064401
0.096601
0.128801
0.386404
0.289803
0.289803
0.289803
0.135957
0
0
0.021341
0.093923
724
18
85
40.222222
0.830793
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.133333
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
53ae773ecbb729ba863816b88bdf4f98de75206e
22,330
py
Python
tencentcloud/rum/v20210622/models.py
lleiyyang/tencentcloud-sdk-python
e6e6a4ce89286673b2322ae92d3c2fbf8665aa0b
[ "Apache-2.0" ]
465
2018-04-27T09:54:59.000Z
2022-03-29T02:18:01.000Z
tencentcloud/rum/v20210622/models.py
lleiyyang/tencentcloud-sdk-python
e6e6a4ce89286673b2322ae92d3c2fbf8665aa0b
[ "Apache-2.0" ]
91
2018-04-27T09:48:11.000Z
2022-03-12T08:04:04.000Z
tencentcloud/rum/v20210622/models.py
lleiyyang/tencentcloud-sdk-python
e6e6a4ce89286673b2322ae92d3c2fbf8665aa0b
[ "Apache-2.0" ]
232
2018-05-02T08:02:46.000Z
2022-03-30T08:02:48.000Z
# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses...
28.518519
139
0.567085
2,424
22,330
5.167492
0.135314
0.083347
0.014929
0.016286
0.61073
0.509021
0.368274
0.341929
0.251876
0.235989
0
0.003442
0.323466
22,330
783
140
28.518519
0.825578
0.298164
0
0.708895
0
0
0.072676
0
0
0
0
0
0
1
0.091644
false
0
0.005391
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53af8f095d4b69838ae291402d369c8daf58dbb3
1,306
py
Python
product/migrations/0012_auto_20210113_1800.py
rodkiewicz/pola-backend
e26df1cea07b43c8b4272739234b7e78e2ce08c9
[ "BSD-3-Clause" ]
30
2015-08-13T01:05:36.000Z
2022-01-22T03:02:50.000Z
product/migrations/0012_auto_20210113_1800.py
rodkiewicz/pola-backend
e26df1cea07b43c8b4272739234b7e78e2ce08c9
[ "BSD-3-Clause" ]
1,428
2015-10-08T07:38:26.000Z
2022-03-31T08:36:08.000Z
product/migrations/0012_auto_20210113_1800.py
rodkiewicz/pola-backend
e26df1cea07b43c8b4272739234b7e78e2ce08c9
[ "BSD-3-Clause" ]
13
2015-12-27T22:35:25.000Z
2022-02-01T15:55:58.000Z
# Generated by Django 3.1.2 on 2021-01-13 17:00 import django.core.validators import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('company', '0020_auto_20210113_1800'), ('product', '0011_auto_20201012_0309'), ] ...
29.022222
116
0.543645
119
1,306
5.815126
0.512605
0.034682
0.069364
0.086705
0.193642
0.115607
0
0
0
0
0
0.057512
0.347626
1,306
44
117
29.681818
0.754695
0.034456
0
0.263158
1
0
0.134234
0.036537
0
0
0
0
0
1
0
false
0
0.078947
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53b279cd7bef7b8ca86082403e81e0c4f220951d
2,123
py
Python
Causality_between_time_series/Strategy_Bitcoin_influence.py
zachHFT/Optimal-Cryptocurrency-Trading-Strategies-Step3
80dfaf1e8e7485404663e3db2498651eac0066b2
[ "MIT" ]
1
2022-01-27T15:17:57.000Z
2022-01-27T15:17:57.000Z
Causality_between_time_series/Strategy_Bitcoin_influence.py
zachHFT/Optimal-Cryptocurrency-Trading-Strategies-Step4
57a5e0a97ee221e7d55aecca05a99eb153e82100
[ "MIT" ]
null
null
null
Causality_between_time_series/Strategy_Bitcoin_influence.py
zachHFT/Optimal-Cryptocurrency-Trading-Strategies-Step4
57a5e0a97ee221e7d55aecca05a99eb153e82100
[ "MIT" ]
1
2022-03-31T20:18:53.000Z
2022-03-31T20:18:53.000Z
# -*- coding: utf-8 -*- # -- Sheet -- #%pip install python-binance #This package is not present in the standard library databases, need to pip install it # IMPORTS import pandas as pd import math import os.path from datetime import datetime, timedelta from datetime import date from dateutil import parser import pick...
30.768116
132
0.716439
314
2,123
4.710191
0.468153
0.018932
0.03854
0.016227
0.044625
0
0
0
0
0
0
0.015564
0.152614
2,123
68
133
31.220588
0.806559
0.160151
0
0
0
0
0.165359
0.063368
0
0
0
0
0
1
0.046512
false
0
0.348837
0
0.418605
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
53b78b37ca506fb8605678e884e347128e75ef65
7,650
py
Python
src/visualization/flow_assessment/flow_tracking_assessment.py
gridl/kcl-fire-aot
2833df64b289f5ef02b8b93c3c620d0ba702f5b5
[ "MIT" ]
null
null
null
src/visualization/flow_assessment/flow_tracking_assessment.py
gridl/kcl-fire-aot
2833df64b289f5ef02b8b93c3c620d0ba702f5b5
[ "MIT" ]
null
null
null
src/visualization/flow_assessment/flow_tracking_assessment.py
gridl/kcl-fire-aot
2833df64b289f5ef02b8b93c3c620d0ba702f5b5
[ "MIT" ]
1
2021-03-26T02:28:33.000Z
2021-03-26T02:28:33.000Z
import os import glob import re from datetime import datetime import pandas as pd import scipy.ndimage as ndimage import numpy as np import matplotlib.pyplot as plt import cv2 import src.data.readers.load_hrit as load_hrit import src.config.filepaths as fp # CONSTANTS MAX_REFLEC = 0.05 def get_geostationary_fnames...
33.116883
119
0.626013
1,154
7,650
3.908146
0.246967
0.046341
0.015521
0.018625
0.253659
0.243459
0.197561
0.180266
0.165854
0.156098
0
0.033019
0.251765
7,650
230
120
33.26087
0.754892
0.103399
0
0.185714
0
0
0.04572
0.00939
0
0
0
0
0
0
null
null
0
0.078571
null
null
0.007143
0
0
0
null
0
0
0
0
0
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
53b7b806c9a6f72336c4a63d0d8555e18f8a55cd
2,585
py
Python
apps/lotus_alert/migrations/0001_initial.py
almir-sahinovic/apilotus_django
115e9d0800751018f41ae8b9d85331d861126fd2
[ "Apache-2.0" ]
null
null
null
apps/lotus_alert/migrations/0001_initial.py
almir-sahinovic/apilotus_django
115e9d0800751018f41ae8b9d85331d861126fd2
[ "Apache-2.0" ]
3
2021-06-04T21:50:48.000Z
2021-06-10T17:45:28.000Z
apps/lotus_alert/migrations/0001_initial.py
zaza316614/apilotus_django
115e9d0800751018f41ae8b9d85331d861126fd2
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2 on 2020-05-09 16:51 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='AlertSetting', fields=[ ('id', models.AutoFie...
38.58209
114
0.513733
222
2,585
5.828829
0.346847
0.085008
0.046368
0.053323
0.388717
0.29289
0.29289
0.29289
0.29289
0.258887
0
0.019378
0.341199
2,585
66
115
39.166667
0.740458
0.016634
0
0.389831
1
0
0.155118
0
0
0
0
0
0
1
0
false
0
0.016949
0
0.084746
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
53ba6bcd52a992294cb5012ed3fe730d8bab2f27
297
py
Python
bullet.py
flyyee/cep-pygam3d
31799169e3b50f2afd674f06b28edea3d70a08d4
[ "MIT" ]
null
null
null
bullet.py
flyyee/cep-pygam3d
31799169e3b50f2afd674f06b28edea3d70a08d4
[ "MIT" ]
null
null
null
bullet.py
flyyee/cep-pygam3d
31799169e3b50f2afd674f06b28edea3d70a08d4
[ "MIT" ]
null
null
null
import pygame as pg from settings import * class Bullet(pg.sprite.Sprite): def __init__(self): self.groups = game.all_sprites pg.sprite.Sprite.__init__(self, self.groups) self.game = game self.image = self.drawImage() self.rect = self.image.get_rect()
27
52
0.653199
40
297
4.6
0.5
0.086957
0.152174
0.195652
0
0
0
0
0
0
0
0
0.239057
297
10
53
29.7
0.814159
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.444444
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
53ba94235d74732d4a67da011ee47610adc672a2
347
py
Python
zerver/migrations/0308_remove_reduntant_realm_meta_permissions.py
sophie200/zulip
c685d368215bbc3d85d7c40f2c1e6fa95e53186a
[ "Apache-2.0" ]
2
2021-02-02T01:29:32.000Z
2021-02-02T01:30:51.000Z
zerver/migrations/0308_remove_reduntant_realm_meta_permissions.py
sophie200/zulip
c685d368215bbc3d85d7c40f2c1e6fa95e53186a
[ "Apache-2.0" ]
null
null
null
zerver/migrations/0308_remove_reduntant_realm_meta_permissions.py
sophie200/zulip
c685d368215bbc3d85d7c40f2c1e6fa95e53186a
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.17 on 2020-12-20 14:01 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('zerver', '0307_rename_api_super_user_to_can_forge_sender'), ] operations = [ migrations.AlterModelOptions( name='realm', op...
19.277778
69
0.613833
38
347
5.394737
0.868421
0
0
0
0
0
0
0
0
0
0
0.08
0.279539
347
17
70
20.411765
0.74
0.132565
0
0
1
0
0.190635
0.153846
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53c60464134c28203967f538503902bd6c207b25
2,748
py
Python
src/compas_slicer/slicers/planar_slicing/planar_slicing_cgal.py
stratocaster/compas_slicer
10326507d6d4093f0dfee8582a6d2f4f3b68d1a5
[ "MIT" ]
null
null
null
src/compas_slicer/slicers/planar_slicing/planar_slicing_cgal.py
stratocaster/compas_slicer
10326507d6d4093f0dfee8582a6d2f4f3b68d1a5
[ "MIT" ]
null
null
null
src/compas_slicer/slicers/planar_slicing/planar_slicing_cgal.py
stratocaster/compas_slicer
10326507d6d4093f0dfee8582a6d2f4f3b68d1a5
[ "MIT" ]
null
null
null
import itertools from compas.geometry import Point from compas_slicer.geometry import Layer from compas_slicer.geometry import Path import progressbar import logging import compas_slicer.utilities as utils from compas.plugins import PluginNotInstalledError packages = utils.TerminalCommand('conda list').get_split_outpu...
32.329412
78
0.653202
332
2,748
5.204819
0.38253
0.04456
0.022569
0.027778
0.061343
0
0
0
0
0
0
0.002474
0.264556
2,748
84
79
32.714286
0.852548
0.195779
0
0
0
0
0.042652
0.011127
0
0
0
0.011905
0
1
0.065217
false
0.021739
0.195652
0.021739
0.326087
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
53ca6d4d1bdcb8c65ae40b34577758f2ad53b6c9
1,780
py
Python
images/django/init.d/20-create-superuser.py
ESGF/esgf-docker
95f5b76c85be65920810795484786a13865f4ac1
[ "Apache-2.0" ]
3
2018-04-16T00:58:30.000Z
2020-10-07T17:58:02.000Z
images/django/init.d/20-create-superuser.py
ESGF/esgf-docker
95f5b76c85be65920810795484786a13865f4ac1
[ "Apache-2.0" ]
115
2017-01-10T20:12:42.000Z
2021-03-03T16:11:48.000Z
images/django/init.d/20-create-superuser.py
ESGF/esgf-docker
95f5b76c85be65920810795484786a13865f4ac1
[ "Apache-2.0" ]
21
2017-08-28T15:20:24.000Z
2021-02-09T00:08:49.000Z
#!/opt/conda/bin/python """ This script configures a Django superuser. """ def main(): import os # Only create the superuser if a username is specified if 'DJANGO_SUPERUSER_USERNAME' not in os.environ: print("[info] Skipping Django superuser configuration - no superuser specified") return...
31.785714
88
0.688202
218
1,780
5.449541
0.357798
0.138889
0.116162
0.060606
0.053872
0
0
0
0
0
0
0
0.231461
1,780
55
89
32.363636
0.868421
0.192697
0
0.114286
0
0
0.26142
0.112439
0
0
0
0
0
1
0.028571
false
0.285714
0.114286
0
0.171429
0.114286
0
0
0
null
0
0
0
0
0
0
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
53cb0db82e4c82e0363e723c8b2c264ee337ebb4
1,209
py
Python
tests/test_site_parser/test_get_newest_wallpapers_month_year.py
PavliukKonstantin/wallpaper-downloader
104b5ca1bfdb26b9132f7619406d4e756eb3654c
[ "MIT" ]
null
null
null
tests/test_site_parser/test_get_newest_wallpapers_month_year.py
PavliukKonstantin/wallpaper-downloader
104b5ca1bfdb26b9132f7619406d4e756eb3654c
[ "MIT" ]
null
null
null
tests/test_site_parser/test_get_newest_wallpapers_month_year.py
PavliukKonstantin/wallpaper-downloader
104b5ca1bfdb26b9132f7619406d4e756eb3654c
[ "MIT" ]
null
null
null
from wallpaper_downloader import site_parser def test_page_with_newest_wallpapers_month_year(get_page_html_from_file): """ Test '_get_newest_wallpapers_month_year' function of site_parser module. Function is tested with the page HTML where the newest wallpapers header is exists. Args: ge...
31.815789
76
0.74938
168
1,209
4.952381
0.261905
0.125
0.151442
0.180288
0.699519
0.699519
0.699519
0.612981
0.538462
0.427885
0
0.004086
0.19024
1,209
37
77
32.675676
0.845761
0.382961
0
0
0
0
0.080527
0.036603
0
0
0
0
0.2
1
0.133333
false
0
0.066667
0
0.2
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
53cb5716e56d1072a8e380645b3860e04a39bf20
558
py
Python
src/utils.py
austinmccalley/gitdown
ae6b477e8cffc5ece753fe4958c9bbe575acea6c
[ "MIT" ]
1
2020-12-23T22:23:29.000Z
2020-12-23T22:23:29.000Z
src/utils.py
austinmccalley/gitdown
ae6b477e8cffc5ece753fe4958c9bbe575acea6c
[ "MIT" ]
2
2020-09-18T23:40:44.000Z
2020-09-18T23:43:17.000Z
src/utils.py
austinmccalley/gitdown
ae6b477e8cffc5ece753fe4958c9bbe575acea6c
[ "MIT" ]
null
null
null
import os def checkGitFile(): return os.path.isdir('.git') def getGitLog(): return os.popen('git log --decorate=short').read() def getRemoteURL(): origin_url = os.popen('git config --get remote.origin.url').read() url = '' # SSH remote url if(origin_url.startswith('git@')): split...
20.666667
70
0.562724
69
558
4.492754
0.521739
0.145161
0.064516
0
0
0
0
0
0
0
0
0.011737
0.236559
558
27
71
20.666667
0.715962
0.02509
0
0
0
0
0.178637
0
0
0
0
0
0
1
0.1875
false
0
0.0625
0.125
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
0
1
0
0
0
1
53d41d931cdc712ea90c6093c51470c367bcf987
959
py
Python
python_scripts/dumpONNX.py
pwyq/netron
995ee39de93baa9db2bf1735c00b828af6208c65
[ "MIT" ]
null
null
null
python_scripts/dumpONNX.py
pwyq/netron
995ee39de93baa9db2bf1735c00b828af6208c65
[ "MIT" ]
null
null
null
python_scripts/dumpONNX.py
pwyq/netron
995ee39de93baa9db2bf1735c00b828af6208c65
[ "MIT" ]
null
null
null
import onnx import onnxmltools def dumpONNXToJSON(output_file_path, onnx_file_path): model = onnx.load(onnx_file_path) onnxmltools.utils.save_text(model, output_file_path) if __name__ == '__main__': output_file_path = "" onnx_file_path = "" if _platform == "win32" or _platform == "win64": # ...
30.935484
68
0.667362
134
959
4.432836
0.373134
0.188552
0.164983
0.10101
0.319865
0.319865
0.13468
0
0
0
0
0.011842
0.207508
959
30
69
31.966667
0.769737
0.075078
0
0
0
0
0.056689
0
0
0
0
0.033333
0.1
1
0.05
false
0.05
0.1
0
0.15
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
53d61d9a3857eba8ae83595ebb9ef0f6f9e360e6
1,345
py
Python
Teorias/2.1_Exemplos.py
PauloGunther/Python_Studies
651384680ed8c496d3c9a70a0da3015276b93609
[ "MIT" ]
null
null
null
Teorias/2.1_Exemplos.py
PauloGunther/Python_Studies
651384680ed8c496d3c9a70a0da3015276b93609
[ "MIT" ]
null
null
null
Teorias/2.1_Exemplos.py
PauloGunther/Python_Studies
651384680ed8c496d3c9a70a0da3015276b93609
[ "MIT" ]
null
null
null
# POR TUDO MAIUSCULO E MINUSCULO, CONTA NUMERO DE LETRAS nome = input('Digite seu nome completo: ') print(nome.upper()) print(nome.lower()) rep = nome.replace(' ', '') print('O número de letra é: {}' .format(len(rep))) n1 = nome.split() print('Seu primeiro nome tem {} letras' .format(len(n1[0]))) # MOSTRAR DEZENAS CEN...
36.351351
82
0.647584
217
1,345
4.013825
0.400922
0.075775
0.064294
0.061998
0.227325
0.130884
0.080367
0.080367
0
0
0
0.030864
0.156877
1,345
36
83
37.361111
0.737213
0.188104
0
0
0
0
0.390783
0
0
0
0
0
0
1
0
false
0
0
0
0
0.48
0
0
0
null
0
0
0
0
0
0
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
53dceda44c56e4f52eeccbdcf8a508796b200207
8,335
py
Python
examples/set_networkprotocol.py
matejzero/python-redfish-lenovo
38187c30f19c27ed7c73f6577e46c561269447a0
[ "Apache-2.0" ]
null
null
null
examples/set_networkprotocol.py
matejzero/python-redfish-lenovo
38187c30f19c27ed7c73f6577e46c561269447a0
[ "Apache-2.0" ]
null
null
null
examples/set_networkprotocol.py
matejzero/python-redfish-lenovo
38187c30f19c27ed7c73f6577e46c561269447a0
[ "Apache-2.0" ]
null
null
null
### # # Lenovo Redfish examples - Set BMC service port # # Copyright Notice: # # Copyright 2018 Lenovo Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.o...
45.546448
166
0.627714
1,006
8,335
5.039761
0.242545
0.053254
0.056805
0.051282
0.343393
0.326233
0.24359
0.231361
0.219527
0.219527
0
0.008259
0.273665
8,335
182
167
45.796703
0.829204
0.225555
0
0.276786
0
0.026786
0.195552
0.016362
0
0
0
0
0
1
0.026786
false
0.053571
0.044643
0
0.160714
0.008929
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
53de18bc672043ba0dc187d1b6378d1e6235efcf
2,453
py
Python
squidpy/_constants/_utils.py
dnjst/squidpy
ca765d04b9621debb8752d3d4693dd68f6909513
[ "BSD-3-Clause" ]
161
2021-02-15T15:14:22.000Z
2022-03-30T10:06:06.000Z
squidpy/_constants/_utils.py
dnjst/squidpy
ca765d04b9621debb8752d3d4693dd68f6909513
[ "BSD-3-Clause" ]
214
2021-02-14T18:20:37.000Z
2022-03-31T18:23:41.000Z
squidpy/_constants/_utils.py
dnjst/squidpy
ca765d04b9621debb8752d3d4693dd68f6909513
[ "BSD-3-Clause" ]
36
2021-02-14T18:46:52.000Z
2022-03-17T04:25:37.000Z
from abc import ABC, ABCMeta from enum import Enum, EnumMeta from typing import Any, Dict, Type, Tuple, Callable from functools import wraps def _pretty_raise_enum(cls: Type["ModeEnum"], fun: Callable[..., Any]) -> Callable[..., Any]: @wraps(fun) def wrapper(*args: Any, **kwargs: Any) -> Any: try: ...
32.276316
116
0.627803
299
2,453
4.862876
0.377926
0.030949
0.026823
0.033012
0.045392
0
0
0
0
0
0
0.004823
0.239299
2,453
75
117
32.706667
0.774384
0.168365
0
0.083333
0
0
0.114271
0
0
0
0
0
0
1
0.1875
false
0
0.083333
0.0625
0.583333
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
53e3998bb791a24a9b1c9aff94fc7e060e2541f2
2,487
py
Python
flsim/common/timeline.py
JohnlNguyen/FLSim
a5ed7c0b84499cd9dbc5fe95f8bcb4ba8ab5a5cb
[ "BSD-3-Clause" ]
79
2021-12-09T18:05:09.000Z
2022-03-23T20:43:46.000Z
flsim/common/timeline.py
JohnlNguyen/FLSim
a5ed7c0b84499cd9dbc5fe95f8bcb4ba8ab5a5cb
[ "BSD-3-Clause" ]
11
2021-12-30T17:54:04.000Z
2022-03-23T17:23:00.000Z
flsim/common/timeline.py
JohnlNguyen/FLSim
a5ed7c0b84499cd9dbc5fe95f8bcb4ba8ab5a5cb
[ "BSD-3-Clause" ]
9
2021-12-09T19:55:22.000Z
2022-03-15T00:02:08.000Z
#!/usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. from typing import NamedTuple EPS = 1e-10 class Timeline(NamedTuple): """ A...
34.541667
86
0.643345
380
2,487
4.089474
0.355263
0.084942
0.09009
0.057915
0.227799
0.144788
0.122265
0.122265
0.122265
0.122265
0
0.023269
0.274226
2,487
71
87
35.028169
0.837673
0.474065
0
0
0
0
0.041593
0
0
0
0
0
0.074074
1
0.148148
false
0
0.037037
0
0.518519
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
53e4854791b21a80d87fce3171dd8f99af819041
927
py
Python
setup.py
danieleongari/manage_crystal
39beb901385782f79f944532551330bd18fc2cc6
[ "MIT" ]
4
2018-11-20T09:19:00.000Z
2020-06-16T12:45:37.000Z
setup.py
danieleongari/manage_crystal
39beb901385782f79f944532551330bd18fc2cc6
[ "MIT" ]
4
2018-11-09T22:16:47.000Z
2021-04-21T08:47:18.000Z
setup.py
danieleongari/manage_crystal
39beb901385782f79f944532551330bd18fc2cc6
[ "MIT" ]
3
2018-11-08T23:04:27.000Z
2020-09-04T11:48:46.000Z
#!/usr/bin/env python from __future__ import absolute_import from setuptools import setup, find_packages if __name__ == '__main__': setup( packages=find_packages(), long_description=open('README.md').read(), long_description_content_type='text/markdown', name="manage_crystal", ...
33.107143
76
0.601942
95
927
5.578947
0.673684
0.122642
0.071698
0.098113
0
0
0
0
0
0
0
0.016224
0.268608
927
27
77
34.333333
0.765487
0.021575
0
0
0
0
0.352097
0.0883
0
0
0
0
0
1
0
true
0
0.08
0
0.08
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
53e836689e25392766c5e87d7d8c43b8a8b61c4e
1,010
py
Python
main/admin/filters.py
jsmnbom/htxaarhuslan
5244c4e65f4912c5d2e193f1ac355b3206d1c1b8
[ "MIT" ]
1
2019-09-06T10:28:40.000Z
2019-09-06T10:28:40.000Z
main/admin/filters.py
jsmnbom/htxaarhuslan
5244c4e65f4912c5d2e193f1ac355b3206d1c1b8
[ "MIT" ]
2
2018-10-22T10:33:04.000Z
2019-01-31T19:36:04.000Z
main/admin/filters.py
jsmnbom/htxaarhuslan
5244c4e65f4912c5d2e193f1ac355b3206d1c1b8
[ "MIT" ]
1
2019-09-06T10:28:41.000Z
2019-09-06T10:28:41.000Z
from django.contrib.admin import SimpleListFilter from django.core.exceptions import FieldError from main.models import Lan class LanFilter(SimpleListFilter): title = 'lan' parameter_name = 'lan' lan = None def lookups(self, request, model_admin): return [(str(lan.pk), str(lan)) for lan in ...
28.055556
110
0.575248
121
1,010
4.735537
0.446281
0.048866
0.041885
0
0
0
0
0
0
0
0
0
0.324752
1,010
35
111
28.857143
0.840176
0.030693
0
0
0
0
0.024565
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.037037
0.592593
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
53f8b1458a7090f3b3b6d0f8dab1995553341a52
2,135
py
Python
slash2/utils/tsuite2/slash2_tests/citrus_tests/slow_seek.py
zhihui-slash2/slash2-next
d174a735f9860d2d9e31c47548bda67257400804
[ "0BSD" ]
null
null
null
slash2/utils/tsuite2/slash2_tests/citrus_tests/slow_seek.py
zhihui-slash2/slash2-next
d174a735f9860d2d9e31c47548bda67257400804
[ "0BSD" ]
null
null
null
slash2/utils/tsuite2/slash2_tests/citrus_tests/slow_seek.py
zhihui-slash2/slash2-next
d174a735f9860d2d9e31c47548bda67257400804
[ "0BSD" ]
null
null
null
# %PSCGPL_START_COPYRIGHT% # ----------------------------------------------------------------------------- # Copyright (c) 2009-2013, Pittsburgh Supercomputing Center (PSC). # # 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 # ...
27.025316
79
0.601874
270
2,135
4.718519
0.503704
0.06044
0.050235
0.051805
0.22763
0.186813
0.161695
0.127159
0
0
0
0.02986
0.231382
2,135
78
80
27.371795
0.746496
0.531616
0
0.5
0
0
0.127049
0
0
0
0
0
0
1
0.078947
false
0.184211
0.026316
0
0.184211
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
99032aae88db948e801d3934d3ca9ac535188d43
1,303
py
Python
test/bm_json2md.py
HDembinski/small_ptr
46a6a0b5ede018c627e7558993c3e77b1e1819c5
[ "BSL-1.0" ]
8
2017-10-03T15:23:38.000Z
2020-10-30T20:34:02.000Z
test/bm_json2md.py
HDembinski/small_ptr
46a6a0b5ede018c627e7558993c3e77b1e1819c5
[ "BSL-1.0" ]
null
null
null
test/bm_json2md.py
HDembinski/small_ptr
46a6a0b5ede018c627e7558993c3e77b1e1819c5
[ "BSL-1.0" ]
1
2021-05-05T15:57:44.000Z
2021-05-05T15:57:44.000Z
#!/usr/bin/env python import argparse import json import sys parser = argparse.ArgumentParser() parser.add_argument("header", nargs="+") bm = json.load(sys.stdin) args = parser.parse_args() columns = [] names = ["Benchmark"] for d in bm["benchmarks"]: names.append("`" + d["name"] + "`") columns.append(names) ...
27.145833
107
0.534919
180
1,303
3.838889
0.333333
0.104197
0.034732
0.04631
0.270622
0.18958
0.18958
0.150507
0.150507
0.150507
0
0.01003
0.234843
1,303
47
108
27.723404
0.683049
0.015349
0
0.166667
0
0
0.147426
0
0.055556
0
0
0
0
0
null
null
0
0.083333
null
null
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
99094533d5cdaf11398778eb8ce8f13f3069dfa6
2,608
py
Python
config_utils/convert_args.py
bhlarson/LEAStereo
e3e474703e5ba4009832908dac8af02188e63b03
[ "MIT" ]
2
2021-06-29T10:08:38.000Z
2022-03-03T04:39:04.000Z
config_utils/convert_args.py
bhlarson/LEAStereo
e3e474703e5ba4009832908dac8af02188e63b03
[ "MIT" ]
1
2021-11-14T15:36:40.000Z
2021-11-14T15:36:40.000Z
config_utils/convert_args.py
bhlarson/LEAStereo
e3e474703e5ba4009832908dac8af02188e63b03
[ "MIT" ]
null
null
null
import argparse def obtain_convert_args(): parser = argparse.ArgumentParser(description='LEStereo Prediction') parser.add_argument('--crop_height', type=int, default=576, help="crop height") parser.add_argument('--crop_width', type=int, default=960, help="crop width") parser.add_argument('--maxdisp', ...
70.486486
129
0.725844
353
2,608
5.17847
0.283286
0.128009
0.241794
0.06291
0.451313
0.338621
0.297593
0.297593
0.154267
0.050328
0
0.01791
0.100844
2,608
37
130
70.486486
0.76162
0.013037
0
0
0
0
0.383255
0.164308
0
0
0
0
0
1
0.032258
false
0
0.032258
0
0.096774
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
990a5461fc73aa938bd7ec85ea42f57191d86be7
2,666
py
Python
ssh.py
DrumSergio/services-isp
42176c43c5ce217f6a94cc670e1725951c367f38
[ "MIT" ]
4
2020-08-23T19:50:53.000Z
2021-12-16T10:46:52.000Z
ssh.py
DrumSergio/services-isp
42176c43c5ce217f6a94cc670e1725951c367f38
[ "MIT" ]
null
null
null
ssh.py
DrumSergio/services-isp
42176c43c5ce217f6a94cc670e1725951c367f38
[ "MIT" ]
null
null
null
import sys from pexpect import pxssh s = pxssh.pxssh() s.login(sys.argv[1], "admin", "examplepassword") s.sendline("mca-status") s.prompt() print s.before s.logout() ###### CÓDIGO R ANTIGUO: # print("adios") # # python.exec(python.code = sprintf( # 'from pexpect import pxssh #...
46.77193
129
0.534134
254
2,666
5.606299
0.437008
0.073736
0.023876
0.030899
0.158708
0.117978
0.117978
0.117978
0.054775
0
0
0.036126
0.283571
2,666
56
130
47.607143
0.709424
0.236309
0
0
0
0
0.061194
0.016418
0
0
0
0
0
0
null
null
0.038462
0.076923
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
54c9defd8b40f3f60063f7a4712af513c13a6031
1,018
py
Python
tests/modeltests/save_delete_hooks/models.py
huicheese/Django-test3
ac11d2dce245b48392e52d1f4acfd5e7433b243e
[ "BSD-3-Clause" ]
23
2015-01-26T12:16:59.000Z
2022-02-10T10:58:40.000Z
tests/modeltests/save_delete_hooks/models.py
joetyson/django
c3699190186561d5c216b2a77ecbfc487d42a734
[ "BSD-3-Clause" ]
1
2015-11-25T10:57:23.000Z
2017-02-25T07:54:03.000Z
tests/modeltests/save_delete_hooks/models.py
joetyson/django
c3699190186561d5c216b2a77ecbfc487d42a734
[ "BSD-3-Clause" ]
30
2015-03-25T19:40:07.000Z
2021-05-28T22:59:26.000Z
""" 13. Adding hooks before/after saving and deleting To execute arbitrary code around ``save()`` and ``delete()``, just subclass the methods. """ from django.db import models class Person(models.Model): first_name = models.CharField(max_length=20) last_name = models.CharField(max_length=20) def __unico...
23.136364
75
0.657171
134
1,018
4.835821
0.432836
0.041667
0.058642
0.067901
0.092593
0.092593
0
0
0
0
0
0.011002
0.196464
1,018
43
76
23.674419
0.781174
0.059921
0
0.074074
0
0
0.349442
0.030979
0
0
0
0
0
0
null
null
0
0.037037
null
null
0.148148
0
0
0
null
0
0
0
0
0
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
54cefc73a917135a644decb1eef2b0b055d9bb55
2,974
py
Python
StochasticModels/ClosedFormModels/CBlackModel.py
pmontalb/MarkovModels
32e422d2435879a4c7bceb0c67fe8969713047c0
[ "MIT" ]
9
2017-06-06T20:18:21.000Z
2021-02-04T23:49:39.000Z
StochasticModels/ClosedFormModels/CBlackModel.py
pmontalb/MarkovModels
32e422d2435879a4c7bceb0c67fe8969713047c0
[ "MIT" ]
null
null
null
StochasticModels/ClosedFormModels/CBlackModel.py
pmontalb/MarkovModels
32e422d2435879a4c7bceb0c67fe8969713047c0
[ "MIT" ]
3
2017-06-30T12:10:19.000Z
2020-06-01T06:42:43.000Z
from StochasticModels.ClosedFormModels.CGenericOptionBlackScholesModel import calculate_d1 as __parent_calculate_d1 from StochasticModels.ClosedFormModels.CGenericOptionBlackScholesModel import calculate_d2 as __parent_calculate_d2 from StochasticModels.ClosedFormModels.CGenericOptionBlackScholesModel import calculate_...
33.41573
115
0.712172
381
2,974
5.249344
0.183727
0.054
0.126
0.076
0.733
0.65
0.399
0.305
0.259
0.25
0
0.017947
0.194351
2,974
88
116
33.795455
0.816778
0.255548
0
0.181818
0
0
0.006379
0
0
0
0
0
0
1
0.181818
false
0
0.212121
0
0.575758
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
54d635850c3d7be22c08a02240fb362f5085591a
200
py
Python
python/Hangman-Game/clear.py
evidawei/HacktoberFest_2021
3c950c6a6451ac732c4090f374c7dc4b6ef36c50
[ "MIT" ]
33
2021-10-01T17:51:53.000Z
2022-03-20T11:30:09.000Z
python/Hangman-Game/clear.py
evidawei/HacktoberFest_2021
3c950c6a6451ac732c4090f374c7dc4b6ef36c50
[ "MIT" ]
69
2021-10-01T09:07:22.000Z
2021-10-20T02:21:12.000Z
python/Hangman-Game/clear.py
evidawei/HacktoberFest_2021
3c950c6a6451ac732c4090f374c7dc4b6ef36c50
[ "MIT" ]
187
2021-10-01T09:06:51.000Z
2022-01-29T03:18:30.000Z
from os import system, name def clear(): # for windows if name == 'nt': _ = system('cls') # for mac and linux(here, os.name is 'posix') else: _ = system('clear')
18.181818
49
0.525
26
200
3.961538
0.730769
0
0
0
0
0
0
0
0
0
0
0
0.335
200
11
50
18.181818
0.774436
0.275
0
0
0
0
0.06993
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
54dce2103fefdee738d47f276fe62ef33544cba3
7,439
py
Python
signing/repack.py
DentonGentry/gfiber-platform
2ba5266103aad0b7b676555eebd3c2061ddb8333
[ "Apache-2.0" ]
8
2017-09-24T03:11:46.000Z
2021-08-24T04:29:14.000Z
signing/repack.py
DentonGentry/gfiber-platform
2ba5266103aad0b7b676555eebd3c2061ddb8333
[ "Apache-2.0" ]
null
null
null
signing/repack.py
DentonGentry/gfiber-platform
2ba5266103aad0b7b676555eebd3c2061ddb8333
[ "Apache-2.0" ]
1
2017-10-05T23:04:10.000Z
2017-10-05T23:04:10.000Z
#!/usr/bin/python # Copyright 2012 Google Inc. All Rights Reserved. """Repackage image for signing check. The image is packaged as follows Signing will add 16 bytes header (header size and signature offset) plus 8 bytes of padding. There are two cases: if signature_offset == FAKE_SIGN_OFFSET header_size contain...
31.388186
80
0.651835
1,041
7,439
4.563881
0.287224
0.01768
0.029467
0.016418
0.105031
0.078931
0.0522
0.01726
0
0
0
0.016588
0.205807
7,439
236
81
31.521186
0.787576
0.052964
0
0.079365
0
0.007937
0.212
0.017053
0
0
0.002105
0
0
0
null
null
0
0.055556
null
null
0.02381
0
0
0
null
0
0
0
0
0
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
54e0b2041bc3f902ceb6a30e54a5ebe85d8591ec
1,032
py
Python
erpnext/hr/doctype/employee_tax_exemption_proof_submission/employee_tax_exemption_proof_submission.py
nagendrarawat/erpnext_custom
1b94ecc3e66eae402347c302cd1663b690fb1ade
[ "MIT" ]
2
2019-10-01T13:07:39.000Z
2019-10-03T03:52:19.000Z
erpnext/hr/doctype/employee_tax_exemption_proof_submission/employee_tax_exemption_proof_submission.py
nagendrarawat/erpnext_custom
1b94ecc3e66eae402347c302cd1663b690fb1ade
[ "MIT" ]
null
null
null
erpnext/hr/doctype/employee_tax_exemption_proof_submission/employee_tax_exemption_proof_submission.py
nagendrarawat/erpnext_custom
1b94ecc3e66eae402347c302cd1663b690fb1ade
[ "MIT" ]
3
2019-09-30T19:17:44.000Z
2019-10-23T18:59:12.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document from frappe import _ from erpnext.hr.utils import validate_tax_declaration, cal...
39.692308
89
0.822674
134
1,032
5.955224
0.373134
0.210526
0.105263
0.090226
0.270677
0.195489
0.102757
0
0
0
0
0.006494
0.104651
1,032
25
90
41.28
0.857143
0.131783
0
0
0
0
0.102018
0.06278
0
0
0
0
0
1
0.105263
false
0
0.263158
0
0.421053
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
54e78918e857235300d7a571384c570777b21ed6
2,520
py
Python
tests/integration/actions/test_inventory.py
webknjaz/ansible-navigator
0d3369cebb5c3b2755f56e7809a1784f32c7431a
[ "Apache-2.0", "MIT" ]
null
null
null
tests/integration/actions/test_inventory.py
webknjaz/ansible-navigator
0d3369cebb5c3b2755f56e7809a1784f32c7431a
[ "Apache-2.0", "MIT" ]
null
null
null
tests/integration/actions/test_inventory.py
webknjaz/ansible-navigator
0d3369cebb5c3b2755f56e7809a1784f32c7431a
[ "Apache-2.0", "MIT" ]
null
null
null
""" inventory integration tests """ import json import os import pytest from ... import defaults from .._common import get_executable_path from .._common import fixture_path_from_request from .._common import update_fixtures CLI = ( f"{get_executable_path('python')}" " -m ansible_navigator inventory" f" ...
38.181818
97
0.672222
315
2,520
5.257143
0.377778
0.086957
0.108696
0.041667
0.059783
0.059783
0
0
0
0
0
0.045258
0.175794
2,520
65
98
38.769231
0.752046
0.113095
0
0
0
0
0.455122
0.046238
0
0
0
0.015385
0.041667
1
0.041667
false
0
0.145833
0
0.1875
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
54ed8611172b7b9d6cdb0e311de281d961821f56
51,207
py
Python
codes/rnnpb-xy-sim-v2.8-work.py
jonizhong/jonizhong.github.io
9b4f4f099a32479c31ae3f2c6398bc6b3db258e3
[ "CC-BY-3.0" ]
null
null
null
codes/rnnpb-xy-sim-v2.8-work.py
jonizhong/jonizhong.github.io
9b4f4f099a32479c31ae3f2c6398bc6b3db258e3
[ "CC-BY-3.0" ]
null
null
null
codes/rnnpb-xy-sim-v2.8-work.py
jonizhong/jonizhong.github.io
9b4f4f099a32479c31ae3f2c6398bc6b3db258e3
[ "CC-BY-3.0" ]
null
null
null
#!/usr/bin/env python # $Author$ # $LastChangedDate$ # $Rev$ ''' Ver 2 Author: J Zhong Date: 01-24-2013 zhong@informatik.uni-hamburg.de ''' ''' IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. By downloading, copying, installing or using the software you agree to this license. If you do no...
43.804106
171
0.553772
7,424
51,207
3.62298
0.077182
0.045804
0.027141
0.016061
0.623229
0.55482
0.489051
0.417853
0.348663
0.269138
0
0.040008
0.306384
51,207
1,168
172
43.84161
0.71727
0.092058
0
0.242921
0
0
0.040864
0.000851
0
0
0
0.000856
0
0
null
null
0
0.011923
null
null
0.005961
0
0
0
null
0
0
0
0
0
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
54f34ae2aa33c556fd7155b11dddb252e5444bad
5,657
py
Python
src/infi/storagemodel/base/mount.py
Infinidat/infi.storagemodel
81740970b5b1c0a691472f2e360d3a6e5c4d0875
[ "Python-2.0", "BSD-3-Clause" ]
6
2015-07-29T11:22:36.000Z
2019-01-22T19:07:42.000Z
src/infi/storagemodel/base/mount.py
Infinidat/infi.storagemodel
81740970b5b1c0a691472f2e360d3a6e5c4d0875
[ "Python-2.0", "BSD-3-Clause" ]
null
null
null
src/infi/storagemodel/base/mount.py
Infinidat/infi.storagemodel
81740970b5b1c0a691472f2e360d3a6e5c4d0875
[ "Python-2.0", "BSD-3-Clause" ]
3
2015-01-05T13:55:38.000Z
2018-07-07T05:05:36.000Z
""" This is the mounts layer of the storagemodel. Example 1 - listing mounts: #!python >>> from infi.storagemodel import get_storage_model >>> mgr = get_storage_model().get_mount_manager() >>> for mount in mgr.get_mounts(): ... print print '{:10} {:30} {}'.format(mount.get_block_access_path()...
37.966443
138
0.627895
633
5,657
5.434439
0.222749
0.051163
0.075581
0.052326
0.5375
0.453488
0.340988
0.234012
0.213372
0.197674
0
0.00601
0.235284
5,657
148
139
38.222973
0.789182
0.567439
0
0.489362
0
0
0
0
0
0
0
0
0
1
0.319149
false
0.021277
0.021277
0
0.425532
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