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
4580e5185df673dea05c4292da77636775a057d5
434
py
Python
flocka/forms/branch.py
sleekslush/flocka
3d1c0ae9bf82b7b8afb03494ee6dd8488157fe68
[ "BSD-2-Clause" ]
null
null
null
flocka/forms/branch.py
sleekslush/flocka
3d1c0ae9bf82b7b8afb03494ee6dd8488157fe68
[ "BSD-2-Clause" ]
null
null
null
flocka/forms/branch.py
sleekslush/flocka
3d1c0ae9bf82b7b8afb03494ee6dd8488157fe68
[ "BSD-2-Clause" ]
null
null
null
from flask_wtf import Form from wtforms import StringField from wtforms.validators import DataRequired class BranchSlugField(StringField): def process_formdata(self, valuelist): if valuelist: if valuelist[0]: self.data = valuelist[0].strip() else: s...
25.529412
64
0.658986
46
434
6.173913
0.521739
0.105634
0.140845
0.126761
0
0
0
0
0
0
0
0.009259
0.253456
434
17
64
25.529412
0.867284
0
0
0
0
0
0.009195
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
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
458209565dea8013a3f4eb68bbd3789f17400e4a
2,458
py
Python
igvjs/main.py
Sparktx-Data-Science/igv.js-flask
1fc3a6623b6a747830ea0b4c3636adb4e6134c9f
[ "MIT" ]
25
2017-07-20T07:41:30.000Z
2021-12-30T15:49:03.000Z
igvjs/main.py
kkapuria3/igv.js-flask
f3cde4547eaa29133535f95501778d9fe492532d
[ "MIT" ]
10
2017-09-07T23:30:26.000Z
2021-08-06T05:08:32.000Z
igvjs/main.py
kkapuria3/igv.js-flask
f3cde4547eaa29133535f95501778d9fe492532d
[ "MIT" ]
12
2017-10-05T15:00:13.000Z
2021-12-30T15:49:07.000Z
import requests import re import os from flask import Response, request, abort, render_template, url_for, Blueprint from igvjs._config import basedir seen_tokens = set() igvjs_blueprint = Blueprint('igvjs', __name__) # give blueprint access to app config @igvjs_blueprint.record def record_igvjs(setup_state): igv...
35.114286
94
0.634662
321
2,458
4.707165
0.376947
0.083388
0.066181
0.051621
0.064196
0.045003
0.045003
0
0
0
0
0.010707
0.240033
2,458
69
95
35.623188
0.79818
0.021155
0
0.034483
0
0
0.12448
0.009992
0
0
0
0
0
1
0.086207
false
0.017241
0.086207
0.017241
0.275862
0.155172
0
0
0
null
0
0
0
0
0
0
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
1
0
4583a8b165ab4c78a4b26d904a7a68c5264ba730
335
py
Python
ccij/ccij/doctype/representacion/representacion.py
dacosta2213/ccij
ef68d49d8dbabd5e381bcd411dc48b670621e666
[ "MIT" ]
null
null
null
ccij/ccij/doctype/representacion/representacion.py
dacosta2213/ccij
ef68d49d8dbabd5e381bcd411dc48b670621e666
[ "MIT" ]
null
null
null
ccij/ccij/doctype/representacion/representacion.py
dacosta2213/ccij
ef68d49d8dbabd5e381bcd411dc48b670621e666
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2019, Totall and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class Representacion(Document): pass # # def validate(self): # self.db_set('mes_entrega', self....
23.928571
50
0.755224
44
335
5.590909
0.772727
0
0
0
0
0
0
0
0
0
0
0.017361
0.140299
335
13
51
25.769231
0.836806
0.543284
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.6
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
4583c54cfccd1fb3b1fb1dbcb0947ff6d8d1c59a
458
py
Python
Modulo 1/009.py
thiago19maciel/Exercicios-em-Python
0d46816caf655c6e870510bb1136964854fc875f
[ "MIT" ]
1
2022-03-22T22:36:48.000Z
2022-03-22T22:36:48.000Z
Modulo 1/009.py
thiago19maciel/Exercicios-em-Python
0d46816caf655c6e870510bb1136964854fc875f
[ "MIT" ]
null
null
null
Modulo 1/009.py
thiago19maciel/Exercicios-em-Python
0d46816caf655c6e870510bb1136964854fc875f
[ "MIT" ]
null
null
null
numero = int(input('Tabuada do ')) print(f'{numero} X 0 = {numero*0}') print(f'{numero} X 1 = {numero*1}') print(f'{numero} X 2 = {numero*2}') print(f'{numero} X 3 = {numero*3}') print(f'{numero} X 4 = {numero*4}') print(f'{numero} X 5 = {numero*5}') print(f'{numero} X 6 = {numero*6}') print(f'{numero} X ...
38.166667
39
0.558952
82
458
3.121951
0.231707
0.257813
0.515625
0.558594
0
0
0
0
0
0
0
0.064343
0.18559
458
12
40
38.166667
0.621984
0
0
0
0
0
0.684096
0
0
0
0
0
0
1
0
false
0
0
0
0
0.916667
0
0
0
null
1
1
1
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
1
0
5
4584c9acdb19bbdce86f86b2d488f787d8a6387a
5,068
py
Python
kraken/shut_down/common_shut_down_func.py
Sau1506mya/kraken-1
4f7616a1508e0f1f64356512aeda265e1dce5144
[ "Apache-2.0" ]
83
2021-01-15T10:42:22.000Z
2022-03-23T16:01:22.000Z
kraken/shut_down/common_shut_down_func.py
Sau1506mya/kraken-1
4f7616a1508e0f1f64356512aeda265e1dce5144
[ "Apache-2.0" ]
126
2021-01-19T07:41:06.000Z
2022-03-31T16:27:02.000Z
kraken/shut_down/common_shut_down_func.py
Sau1506mya/kraken-1
4f7616a1508e0f1f64356512aeda265e1dce5144
[ "Apache-2.0" ]
26
2021-01-27T19:34:33.000Z
2022-03-18T21:18:35.000Z
#!/usr/bin/env python import sys import yaml import logging import time from multiprocessing.pool import ThreadPool import kraken.cerberus.setup as cerberus import kraken.kubernetes.client as kubecli import kraken.post_actions.actions as post_actions from kraken.node_actions.aws_node_scenarios import AWS from kraken.n...
40.870968
103
0.653907
641
5,068
4.892356
0.215289
0.063776
0.0625
0.026786
0.214286
0.153061
0.103954
0.103954
0.065689
0.065689
0
0.005325
0.258879
5,068
123
104
41.203252
0.829606
0.032557
0
0.142857
0
0
0.108798
0.005307
0
0
0
0
0
1
0.028571
false
0
0.114286
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
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
4588e1870c69bb48a27afabbf83f4786a23a64c3
16,539
py
Python
game_seq_embedder/app/app_utils.py
Anonymous9999999/Pretrain-via-MTC
bc47c162aecb68708b68d8ff7c9bfd54b0fc485e
[ "Artistic-1.0-Perl" ]
null
null
null
game_seq_embedder/app/app_utils.py
Anonymous9999999/Pretrain-via-MTC
bc47c162aecb68708b68d8ff7c9bfd54b0fc485e
[ "Artistic-1.0-Perl" ]
null
null
null
game_seq_embedder/app/app_utils.py
Anonymous9999999/Pretrain-via-MTC
bc47c162aecb68708b68d8ff7c9bfd54b0fc485e
[ "Artistic-1.0-Perl" ]
null
null
null
import h5py import collections import numpy as np import os import ipdb import math import time import datetime import random import torch from torch.utils.data.dataset import Dataset def hdf5_load_dataset(hdf5_file_path, all_indices, step_size, large_batch=1024, is_decode_utf8=False): random.shuffle(all_indice...
39.949275
120
0.589697
2,063
16,539
4.41493
0.146389
0.024594
0.022398
0.019763
0.417435
0.388669
0.339152
0.306324
0.271959
0.242973
0
0.012125
0.311869
16,539
413
121
40.046005
0.787892
0.147953
0
0.339161
0
0
0.030469
0.001581
0
0
0
0.002421
0.027972
1
0.045455
false
0
0.038462
0.006993
0.153846
0.013986
0
0
0
null
0
0
0
0
0
0
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
1
0
4588f69996e623a4acf1af26a59a4813391ce065
248
py
Python
hackerrank/regex/intro/05-word.py
everarch/psets
7fddb2a01ce8c4e601d63c3be3b11cd2113be035
[ "MIT" ]
null
null
null
hackerrank/regex/intro/05-word.py
everarch/psets
7fddb2a01ce8c4e601d63c3be3b11cd2113be035
[ "MIT" ]
null
null
null
hackerrank/regex/intro/05-word.py
everarch/psets
7fddb2a01ce8c4e601d63c3be3b11cd2113be035
[ "MIT" ]
null
null
null
# # Matching Word & Non-Word Character # # https://www.hackerrank.com/challenges/matching-word-non-word/problem # Regex_Pattern = r"\w{3}\W\w{10}\W\w{3}" # Do not delete 'r'. import re print(str(bool(re.search(Regex_Pattern, input()))).lower())
20.666667
70
0.689516
41
248
4.121951
0.658537
0.142012
0.177515
0.224852
0
0
0
0
0
0
0
0.018018
0.104839
248
11
71
22.545455
0.743243
0.491935
0
0
0
0
0.168067
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
1
0
0
0
0
2
4589ea2bd19fdb4c4eadac909d6adbd2ca938167
980
py
Python
python/problems/same_tree.py
vivaxy/algorithms
b2e49476ed2ad1fd82a1183f656d1907a666c347
[ "MIT" ]
1
2019-05-04T13:21:41.000Z
2019-05-04T13:21:41.000Z
python/problems/same_tree.py
vivaxy/algorithms
b2e49476ed2ad1fd82a1183f656d1907a666c347
[ "MIT" ]
1
2021-08-30T09:34:58.000Z
2021-08-30T09:34:58.000Z
python/problems/same_tree.py
vivaxy/algorithms
b2e49476ed2ad1fd82a1183f656d1907a666c347
[ "MIT" ]
null
null
null
""" https://leetcode.com/problems/same-tree/ https://leetcode.com/submissions/detail/109733704/ """ # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None from common.tree_node import TreeNode class So...
21.777778
111
0.584694
116
980
4.844828
0.431034
0.046263
0.05694
0.064057
0
0
0
0
0
0
0
0.021834
0.29898
980
44
112
22.272727
0.796215
0.306122
0
0.210526
0
0
0.009554
0
0
0
0
0
0.052632
1
0.105263
false
0
0.105263
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
458a74a131096b9821f4d2a10c82a473fe5352fd
30,220
py
Python
src/pagure/forms.py
yifengyou/learn-pagure
e54ba955368918c92ad2be6347b53bb2c24a228c
[ "Unlicense" ]
null
null
null
src/pagure/forms.py
yifengyou/learn-pagure
e54ba955368918c92ad2be6347b53bb2c24a228c
[ "Unlicense" ]
null
null
null
src/pagure/forms.py
yifengyou/learn-pagure
e54ba955368918c92ad2be6347b53bb2c24a228c
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- """ (c) 2014-2016 - Copyright Red Hat Inc Authors: Pierre-Yves Chibon <pingou@pingoured.fr> """ # pylint: disable=too-few-public-methods # pylint: disable=no-init # pylint: disable=super-on-old-class from __future__ import unicode_literals, absolute_import import datetime import re i...
30.556117
79
0.615321
3,120
30,220
5.852244
0.141346
0.111726
0.068459
0.013144
0.522537
0.4865
0.446903
0.402048
0.333096
0.296566
0
0.003344
0.26777
30,220
988
80
30.587045
0.821809
0.151621
0
0.363768
0
0
0.088881
0.007851
0
0
0
0.001012
0
1
0.030435
false
0.001449
0.021739
0
0.272464
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
0
0
1
0
458b9c87e0590b71665c205e005ed91d9aac38d7
5,285
py
Python
docknv/shell/handlers/service.py
sharingcloud/docknv
6eec6a576a32cb05278b7af045f90859066c9f1d
[ "MIT" ]
null
null
null
docknv/shell/handlers/service.py
sharingcloud/docknv
6eec6a576a32cb05278b7af045f90859066c9f1d
[ "MIT" ]
null
null
null
docknv/shell/handlers/service.py
sharingcloud/docknv
6eec6a576a32cb05278b7af045f90859066c9f1d
[ "MIT" ]
null
null
null
"""Service sub commands.""" from docknv.shell.common import exec_handler, load_project def _init(subparsers): cmd = subparsers.add_parser( "service", help="manage one service at a time (service mode)" ) cmd.add_argument( "-c", "--config", help="configuration name (swap)", default=None ...
28.111702
78
0.653359
686
5,285
4.80758
0.123907
0.045482
0.10188
0.048514
0.513341
0.50849
0.470891
0.360825
0.31413
0.090964
0
0.000241
0.216083
5,285
187
79
28.262032
0.7958
0.01457
0
0.297872
0
0
0.174658
0
0
0
0
0
0
1
0.085106
false
0
0.007092
0.007092
0.099291
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
0
0
1
0
458bd70a94f9a431da5e652ce85be0f3753bf347
7,254
py
Python
fgapiserverconfig.py
FutureGateway/geAPIServer
486056784e2927342d0079aef12be7e05d3832f5
[ "Apache-2.0" ]
null
null
null
fgapiserverconfig.py
FutureGateway/geAPIServer
486056784e2927342d0079aef12be7e05d3832f5
[ "Apache-2.0" ]
null
null
null
fgapiserverconfig.py
FutureGateway/geAPIServer
486056784e2927342d0079aef12be7e05d3832f5
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2015: # Istituto Nazionale di Fisica Nucleare (INFN), Italy # Consorzio COMETA (COMETA), Italy # # See http://www.infn.it and and http://www.consorzio-cometa.it for details on # the copyright holders. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not...
39.423913
78
0.602426
757
7,254
5.558785
0.254954
0.088403
0.118821
0.113118
0.105038
0.094106
0.025665
0
0
0
0
0.009418
0.282741
7,254
183
79
39.639344
0.799347
0.117728
0
0.068702
0
0
0.336047
0.019574
0
0
0
0
0
0
null
null
0.061069
0.030534
null
null
0.015267
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
458d75bdd1f6d36bbdc888e70fe25b1dda1e7cf1
130
py
Python
src/read_data.py
argj92/bball
226827249c83647263447e3ef9f831e70ae1dfa3
[ "Apache-2.0" ]
null
null
null
src/read_data.py
argj92/bball
226827249c83647263447e3ef9f831e70ae1dfa3
[ "Apache-2.0" ]
null
null
null
src/read_data.py
argj92/bball
226827249c83647263447e3ef9f831e70ae1dfa3
[ "Apache-2.0" ]
1
2018-09-26T02:13:47.000Z
2018-09-26T02:13:47.000Z
import pandas as pd import numpy as np def main(): print("a bombae bros production\n") if __name__ == "__main__": main()
16.25
39
0.669231
20
130
3.95
0.8
0
0
0
0
0
0
0
0
0
0
0
0.215385
130
8
40
16.25
0.77451
0
0
0
0
0
0.259542
0
0
0
0
0
0
1
0.166667
true
0
0.333333
0
0.5
0.166667
1
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
1
0
1
0
0
0
0
4
458efec9cad1dcaa401e2261be2ecb2c2d569528
1,466
py
Python
canvasaio/bookmark.py
spapadim/canvasaio
a17e60447acd45cdbd6e4f0f24f3c9ae03a58ca8
[ "MIT" ]
null
null
null
canvasaio/bookmark.py
spapadim/canvasaio
a17e60447acd45cdbd6e4f0f24f3c9ae03a58ca8
[ "MIT" ]
null
null
null
canvasaio/bookmark.py
spapadim/canvasaio
a17e60447acd45cdbd6e4f0f24f3c9ae03a58ca8
[ "MIT" ]
null
null
null
from canvasaio.canvas_object import CanvasObject from canvasaio.util import combine_kwargs class Bookmark(CanvasObject): def __str__(self): return "{} ({})".format(self.name, self.id) async def delete(self, **kwargs): """ Delete this bookmark. :calls: `DELETE /api/v1/users/se...
32.577778
100
0.621419
157
1,466
5.66242
0.318471
0.094488
0.08099
0.031496
0.485939
0.485939
0.485939
0.485939
0.485939
0.485939
0
0.001807
0.244884
1,466
44
101
33.318182
0.801265
0
0
0.272727
0
0
0.072632
0.048421
0
0
0
0
0
1
0.045455
false
0
0.090909
0.045455
0.318182
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
0
0
1
0
458fa1840f8fd2566ce3891b8a4741c03204e606
5,295
py
Python
hivwholeseq/sequencing/split_reads_for_mapping.py
neherlab/hivwholeseq
978ce4060362e4973f92b122ed5340a5314d7844
[ "MIT" ]
3
2016-09-13T12:15:47.000Z
2021-07-03T01:28:56.000Z
hivwholeseq/sequencing/split_reads_for_mapping.py
iosonofabio/hivwholeseq
d504c63b446c3a0308aad6d6e484ea1666bbe6df
[ "MIT" ]
null
null
null
hivwholeseq/sequencing/split_reads_for_mapping.py
iosonofabio/hivwholeseq
d504c63b446c3a0308aad6d6e484ea1666bbe6df
[ "MIT" ]
3
2016-01-17T03:43:46.000Z
2020-03-25T07:00:11.000Z
#!/usr/bin/env python # vim: fdm=marker ''' author: Fabio Zanini date: 17/05/14 content: Split the reads for mapping into small aliquots, to exploit the short queue on the cluster. ''' # Modules import os import sys import time import argparse import pysam import numpy as np import subprocess a...
36.267123
115
0.630595
632
5,295
5.10443
0.30538
0.041847
0.036888
0.028518
0.141352
0.127092
0.127092
0.060756
0.034718
0.034718
0
0.012381
0.283097
5,295
145
116
36.517241
0.83746
0.05118
0
0.118812
0
0
0.103893
0
0
0
0
0
0
0
null
null
0
0.168317
null
null
0.059406
0
0
0
null
0
0
0
0
0
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
458fd64c7c730e3cd0e0feae971b00d775ff1c85
3,843
py
Python
spikeforest/forestview/sortingresultcontext.py
mhhennig/spikeforest
5b4507ead724af3de0be5d48a3b23aaedb0be170
[ "Apache-2.0" ]
1
2021-09-23T01:07:19.000Z
2021-09-23T01:07:19.000Z
spikeforest/forestview/sortingresultcontext.py
mhhennig/spikeforest
5b4507ead724af3de0be5d48a3b23aaedb0be170
[ "Apache-2.0" ]
null
null
null
spikeforest/forestview/sortingresultcontext.py
mhhennig/spikeforest
5b4507ead724af3de0be5d48a3b23aaedb0be170
[ "Apache-2.0" ]
1
2021-09-23T01:07:21.000Z
2021-09-23T01:07:21.000Z
from spikeforest import SFMdaSortingExtractor from copy import deepcopy from mountaintools import client as mt from .recordingcontext import RecordingContext import mtlogging class SortingResultContext(): def __init__(self, *, sorting_result_object, recording_context): self._signal_handlers = dict() ...
33.417391
112
0.684361
433
3,843
5.736721
0.228637
0.048712
0.068841
0.074074
0.198873
0.098229
0.07649
0
0
0
0
0
0.225085
3,843
114
113
33.710526
0.834117
0.031226
0
0.024691
0
0
0.094944
0.013986
0
0
0
0.008772
0
1
0.271605
false
0
0.061728
0.123457
0.506173
0.024691
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
2
4590230328e5c1d8487fcc4dc18325b330d72349
2,712
py
Python
sublime/Packages/BracketHighlighter/bh_modules/tagattrselect.py
herove/dotfiles
5f08d4d6f518758b3ad0516d9e704edf251e8ff3
[ "MIT" ]
1
2018-06-23T08:07:39.000Z
2018-06-23T08:07:39.000Z
sublime/Packages/BracketHighlighter/bh_modules/tagattrselect.py
herove/dotfiles
5f08d4d6f518758b3ad0516d9e704edf251e8ff3
[ "MIT" ]
null
null
null
sublime/Packages/BracketHighlighter/bh_modules/tagattrselect.py
herove/dotfiles
5f08d4d6f518758b3ad0516d9e704edf251e8ff3
[ "MIT" ]
null
null
null
import bh_plugin class SelectAttr(bh_plugin.BracketPluginCommand): def run(self, edit, name, direction='right'): """ Select next attribute in the given direction. Wrap when the end is hit. """ if self.left.size() <= 1: return tag_name = r'[\w\:\.\-]+' ...
35.220779
106
0.450959
285
2,712
4.217544
0.224561
0.087354
0.052413
0.066556
0.481697
0.468386
0.429285
0.404326
0.404326
0.342762
0
0.002004
0.448009
2,712
76
107
35.684211
0.800935
0.101032
0
0.357143
0
0
0.04125
0.032917
0
0
0
0
0
1
0.035714
false
0
0.017857
0.017857
0.107143
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
0
0
1
0
45916c29934819dc98d987bba06861eec3a41f1f
8,304
py
Python
backend/tools/code/merge/git-auto.py
lokiworks/codebase
48a7dfc65311f2776efc87d254dc006251f77628
[ "MIT" ]
2
2021-01-20T13:48:32.000Z
2021-11-14T13:29:19.000Z
backend/tools/code/merge/git-auto.py
lokiworks/codebase
48a7dfc65311f2776efc87d254dc006251f77628
[ "MIT" ]
4
2020-05-19T14:02:17.000Z
2021-08-15T11:17:30.000Z
backend/tools/code/merge/git-auto.py
lokiworks/codebase
48a7dfc65311f2776efc87d254dc006251f77628
[ "MIT" ]
null
null
null
"""" using python version 3.7+ python-gitlab version 1.8.0 python-jenkins version 1.7.0 """ import gitlab import jenkins import smtplib import ssl import markdown from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText class JenkinsAuto: __host = '' __user_name = '' __passwo...
32.4375
120
0.595376
901
8,304
5.108768
0.200888
0.040626
0.029329
0.014773
0.157071
0.147947
0.12557
0.080382
0.063437
0.063437
0
0.009675
0.31539
8,304
255
121
32.564706
0.8
0.078878
0
0.140244
0
0
0.055684
0
0
0
0
0
0
1
0.067073
false
0.079268
0.042683
0
0.292683
0.006098
0
0
0
null
0
0
0
0
0
0
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
4591e96ca8eecc10cdc680e19398cdebfb252e8a
5,189
py
Python
interpro7dw/interpro/oracle/clans.py
matthiasblum/i7dw
b40e5b9984dec2895956828ddf9db8af4a8ec932
[ "Apache-2.0" ]
null
null
null
interpro7dw/interpro/oracle/clans.py
matthiasblum/i7dw
b40e5b9984dec2895956828ddf9db8af4a8ec932
[ "Apache-2.0" ]
null
null
null
interpro7dw/interpro/oracle/clans.py
matthiasblum/i7dw
b40e5b9984dec2895956828ddf9db8af4a8ec932
[ "Apache-2.0" ]
null
null
null
import json import pickle from typing import Dict import cx_Oracle from interpro7dw import pfam from interpro7dw.utils import logger from interpro7dw.utils.oracle import lob_as_str from interpro7dw.utils.store import BasicStore def get_clans(cur: cx_Oracle.Cursor) -> Dict[str, dict]: cur.execute( """ ...
28.827778
78
0.533629
582
5,189
4.582474
0.238832
0.041995
0.025497
0.021372
0.036745
0.036745
0.025497
0
0
0
0
0.009457
0.368279
5,189
179
79
28.988827
0.804149
0.029293
0
0.166667
0
0
0.060372
0
0
0
0
0
0
1
0.02381
false
0
0.063492
0
0.095238
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
0
0
1
0
459361bbb100cff1efc28163721eb85c951bcf87
4,054
py
Python
tests/test_core/test_controller.py
aaron-parsons/pymalcolm
4e7ebd6b09382ab7e013278a81097d17873fa5c4
[ "Apache-2.0" ]
null
null
null
tests/test_core/test_controller.py
aaron-parsons/pymalcolm
4e7ebd6b09382ab7e013278a81097d17873fa5c4
[ "Apache-2.0" ]
null
null
null
tests/test_core/test_controller.py
aaron-parsons/pymalcolm
4e7ebd6b09382ab7e013278a81097d17873fa5c4
[ "Apache-2.0" ]
null
null
null
import unittest from annotypes import add_call_types, Anno from malcolm.core import Controller, Part, PartRegistrar, StringMeta, \ Process, Queue, Get, Return, Put, Error, Post, Subscribe, Update, \ Unsubscribe with Anno("The return value"): AWorld = str class MyPart(Part): my_attribute = None ...
33.783333
91
0.629008
483
4,054
5.165631
0.221532
0.024048
0.030862
0.050501
0.381162
0.34509
0.319439
0.296994
0.296994
0.296994
0
0.013509
0.251357
4,054
119
92
34.067227
0.808567
0.028614
0
0.333333
0
0
0.081363
0.005339
0
0
0
0
0.270833
1
0.072917
false
0.010417
0.03125
0.010417
0.177083
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
0
0
1
0
45937b2939b14680c7fe8bf6cdcae998c44d589b
2,364
py
Python
Violent_Python/Chapter2/2.063injectPage.py
suleisulei/Violent_Python_Examples
df88fc8b0dde5fac135647d46130e98a4f6b90e2
[ "Apache-2.0" ]
2
2019-07-30T13:47:43.000Z
2021-12-27T09:03:47.000Z
Violent_Python/Chapter2/2.063injectPage.py
suleisulei/Violent_Python_Examples
df88fc8b0dde5fac135647d46130e98a4f6b90e2
[ "Apache-2.0" ]
null
null
null
Violent_Python/Chapter2/2.063injectPage.py
suleisulei/Violent_Python_Examples
df88fc8b0dde5fac135647d46130e98a4f6b90e2
[ "Apache-2.0" ]
null
null
null
# _*_coding:utf8- import ftplib from Violent_Python import _Config ''' This code, we need learning how to upload file or download file with target FTP. Note:Make sure your "write enable equal YES" in your /etc/vsftpd.conf Document: --------- 1. we logon target FTP, and use ftp.retrlines(cmd,callback) function down...
33.771429
108
0.600677
297
2,364
4.737374
0.434343
0.025586
0.024165
0.028429
0.157783
0.088131
0.088131
0.088131
0.088131
0.088131
0
0.010626
0.283418
2,364
70
109
33.771429
0.819953
0.026227
0
0.357143
0
0
0.281731
0
0
0
0
0
0
0
null
null
0.071429
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
1
0
0
0
0
0
2
4594f72e405e0824b4be1fe0fefd39e46766217c
684
py
Python
dado.py
crysller/Dado
63c77bb81bec6fe9d2add2b0d14ba5d399b30018
[ "MIT" ]
null
null
null
dado.py
crysller/Dado
63c77bb81bec6fe9d2add2b0d14ba5d399b30018
[ "MIT" ]
null
null
null
dado.py
crysller/Dado
63c77bb81bec6fe9d2add2b0d14ba5d399b30018
[ "MIT" ]
null
null
null
from random import randint from time import sleep continuar = 'Ss' while continuar in 'Ss': print('\033[1;32mVamos jogar. Exemplo: 1d20 ou 5d10\033[m') opc = input() qntDados = int(opc[:1]) valorDado = int(opc[2:]) if qntDados > 10 or valorDado not in [4,6,8,10,12,20,100]: print('\033[1;31m...
34.2
89
0.599415
110
684
3.727273
0.536364
0.039024
0.043902
0.02439
0.068293
0.068293
0.068293
0.068293
0
0
0
0.115686
0.254386
684
20
90
34.2
0.688235
0
0
0
0
0
0.29635
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0.210526
0
0
0
null
0
0
0
0
0
0
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
1
0
4595098c311e3e92f7b064d28a78bd111f665e93
3,155
py
Python
tests/test_marklogic_utils.py
marklogic/newrelic-plugin
61bf437cace1c9d9b517e7ae2ad0022b8225086c
[ "Apache-2.0" ]
3
2017-07-08T04:28:43.000Z
2020-03-25T17:35:22.000Z
tests/test_marklogic_utils.py
marklogic-community/newrelic-plugin
61bf437cace1c9d9b517e7ae2ad0022b8225086c
[ "Apache-2.0" ]
13
2017-08-03T19:06:49.000Z
2021-06-25T15:25:03.000Z
tests/test_marklogic_utils.py
marklogic-community/newrelic-plugin
61bf437cace1c9d9b517e7ae2ad0022b8225086c
[ "Apache-2.0" ]
3
2019-03-16T22:15:31.000Z
2020-03-25T17:35:24.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2019 MarkLogic Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0# # # U...
39.4375
131
0.701109
392
3,155
5.622449
0.32398
0.149728
0.209619
0.049002
0.318512
0.299909
0.299909
0.299909
0.299909
0.299909
0
0.008904
0.1813
3,155
79
132
39.936709
0.844367
0.197464
0
0.076923
0
0
0.049741
0
0
0
0
0
0.519231
1
0.076923
false
0.192308
0.057692
0
0.153846
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
1
0
0
0
1
0
0
0
0
0
3
4595f169799444e02f534a9747ed945159901694
1,094
py
Python
test/signature.py
orbs-network/orbs-client-sdk-python
1e8d5699ee98e2ff59d36081eb569237949a558b
[ "MIT" ]
5
2018-08-10T15:39:46.000Z
2020-02-10T03:14:51.000Z
test/signature.py
orbs-network/orbs-client-sdk-python
1e8d5699ee98e2ff59d36081eb569237949a558b
[ "MIT" ]
3
2018-06-22T07:32:46.000Z
2018-12-13T14:16:56.000Z
test/signature.py
orbs-network/orbs-client-sdk-python
1e8d5699ee98e2ff59d36081eb569237949a558b
[ "MIT" ]
2
2018-07-01T12:45:38.000Z
2020-04-13T11:09:36.000Z
import unittest from os import sys, path from crypto.signature import Signature sys.path.append(path.dirname(path.dirname(path.abspath(__file__)))) class TestSignatureFunctions(unittest.TestCase): def test_sign_ed25519(self): private_key = bytes.fromhex('3b24b5f9e6b1371c3b5de2e402a96930eeafe52111bb4a1b00...
42.076923
167
0.761426
116
1,094
6.939655
0.5
0.03354
0.089441
0.074534
0.131677
0.131677
0.131677
0.131677
0.131677
0
0
0.167568
0.154479
1,094
25
168
43.76
0.702703
0.019196
0
0
0
0
0.27451
0.179272
0
0
0
0
0.166667
1
0.055556
false
0
0.166667
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
45960c81e911bf2eccfc72ba2ed6263dc24bbc1a
429
py
Python
bbs_viewer/modules/points/admin.py
yoophi/bbs_viewer
bda8604c02214738c55b6130450d0bff15ee9a0d
[ "MIT" ]
null
null
null
bbs_viewer/modules/points/admin.py
yoophi/bbs_viewer
bda8604c02214738c55b6130450d0bff15ee9a0d
[ "MIT" ]
null
null
null
bbs_viewer/modules/points/admin.py
yoophi/bbs_viewer
bda8604c02214738c55b6130450d0bff15ee9a0d
[ "MIT" ]
null
null
null
# -*- coding: utf8 from __future__ import unicode_literals from flask_admin.contrib.sqla import ModelView from instashare.database import db from instashare.extensions import admin from .models import UserPointInfo, UserDailyPointInfo, \ UserPointHistory admin.add_view(ModelView(UserPointInfo, db.session)) admin...
30.642857
57
0.827506
51
429
6.784314
0.45098
0.069364
0.104046
0.182081
0.17341
0.17341
0
0
0
0
0
0.002571
0.09324
429
13
58
33
0.886889
0.037296
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.555556
0
0.555556
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
1
0
1
0
1
0
0
4
459719287cbd8d4d670931c7497d555a6c24e23b
318
py
Python
q3volume.py
tiwa2022/Lab2
22ebbe4367316a969c0a1642747516b606618ca5
[ "MIT" ]
1
2022-01-27T16:57:53.000Z
2022-01-27T16:57:53.000Z
q3volume.py
tiwa2022/Lab2
22ebbe4367316a969c0a1642747516b606618ca5
[ "MIT" ]
null
null
null
q3volume.py
tiwa2022/Lab2
22ebbe4367316a969c0a1642747516b606618ca5
[ "MIT" ]
null
null
null
#input print("This program find the volume of a cylinder") PI= 3.14159265359 diameter= float(input("Enter diameter: ")) height= float(input("Enter height: ")) #processing volume= PI * diameter *height #output (print("The volume of a cyclinder with a diameter of",diameter, "and a height of", height, "is",volume))
26.5
105
0.72327
47
318
4.893617
0.489362
0.078261
0.095652
0.104348
0
0
0
0
0
0
0
0.043956
0.141509
318
11
106
28.909091
0.798535
0.069182
0
0
0
0
0.453925
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
45973111e2e222b6bc6613d5dc785ebea5705bc1
946
py
Python
cp_rest.py
cloudplugs/rest-python
63ea5c3ba699663912c728f67b190a9141448786
[ "Apache-2.0" ]
null
null
null
cp_rest.py
cloudplugs/rest-python
63ea5c3ba699663912c728f67b190a9141448786
[ "Apache-2.0" ]
null
null
null
cp_rest.py
cloudplugs/rest-python
63ea5c3ba699663912c728f67b190a9141448786
[ "Apache-2.0" ]
null
null
null
class CP_HTTP_RESULT(object): CP_HTTP_OK = 200 CP_HTTP_CREATED = 201 CP_HTTP_MULTI_STATUS = 207 CP_HTTP_BAD_REQUEST = 400 CP_HTTP_UNAUTHORIZED = 401 CP_HTTP_PAYMENT_REQUIRED = 402 CP_HTTP_FORBIDDEN = 403 CP_HTTP_NOT_FOUND = 404 CP_HTTP_NOT_ALLOWED = 405 CP_HTTP_NOT_ACCEPTABLE =...
27.823529
39
0.743129
151
946
4.066225
0.503311
0.156352
0.058632
0
0
0
0
0
0
0
0
0.076101
0.208245
946
33
40
28.666667
0.743658
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0.933333
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
4599de31dc9c5682547c724f43eebc62f2ecf2f8
600
py
Python
components.py
andrewmccullough/linksaver
443dbe9ec4df76f30884550b7da3402cfad194d1
[ "Apache-2.0" ]
1
2017-09-18T01:39:08.000Z
2017-09-18T01:39:08.000Z
components.py
andrewmccullough/linksaver
443dbe9ec4df76f30884550b7da3402cfad194d1
[ "Apache-2.0" ]
null
null
null
components.py
andrewmccullough/linksaver
443dbe9ec4df76f30884550b7da3402cfad194d1
[ "Apache-2.0" ]
null
null
null
import praw # Visit the PRAW website for instructions on installation and configuration. # https://praw.readthedocs.io/en/latest/getting_started/authentication.html#script-application username="" #Your username. reddit = praw.Reddit( client_id = "", #14 character code. client_secret = "", #27 character code....
28.571429
117
0.688333
83
600
4.915663
0.783133
0.063725
0
0
0
0
0
0
0
0
0
0.008316
0.198333
600
20
118
30
0.839917
0.625
0
0.142857
0
0
0
0
0
0
0
0
0
1
0
false
0.071429
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
459b4482cc67e06b82631e6053118e1bd6455789
2,219
py
Python
ebay_accounts/test_settings.py
luke-dixon/django-ebay-accounts
54cf0e90b75dfbdd63bcd588f3c4771ebe1297c0
[ "BSD-3-Clause" ]
4
2018-01-28T20:10:11.000Z
2020-09-06T14:30:36.000Z
ebay_accounts/test_settings.py
luke-dixon/django-ebay-accounts
54cf0e90b75dfbdd63bcd588f3c4771ebe1297c0
[ "BSD-3-Clause" ]
7
2017-06-04T08:50:06.000Z
2020-09-06T16:03:53.000Z
ebay_accounts/test_settings.py
luke-dixon/django-ebay-accounts
54cf0e90b75dfbdd63bcd588f3c4771ebe1297c0
[ "BSD-3-Clause" ]
7
2017-06-01T09:51:35.000Z
2021-05-25T16:01:53.000Z
# -*- coding: utf-8 -*- """ Test Settings """ import django APP_NAME = 'ebay_accounts' INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'ebay_accounts', ) MIDDLEWARE = ( 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.Cs...
26.105882
74
0.605228
206
2,219
6.262136
0.42233
0.08062
0.039535
0.048062
0
0
0
0
0
0
0
0.007884
0.256872
2,219
84
75
26.416667
0.774409
0.04822
0
0.084507
0
0
0.482644
0.308131
0
0
0
0
0
1
0
false
0
0.014085
0
0.014085
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
0
0
1
0
459ba84999942fac75ac072ba3f560b858a33ebf
2,736
py
Python
indicatorParametersUI.py
webclinic017/backtrader-pyqt-ui
71630a387e63bb054e069e05efe1baa7e98551b2
[ "MIT" ]
105
2021-11-20T20:28:26.000Z
2022-03-31T14:19:07.000Z
indicatorParametersUI.py
tubu/backtrader-pyqt-ui
543ebb2049b0e58feb1b0bec760a32ea619097a0
[ "MIT" ]
2
2021-11-16T14:48:11.000Z
2022-01-20T19:20:08.000Z
indicatorParametersUI.py
tubu/backtrader-pyqt-ui
543ebb2049b0e58feb1b0bec760a32ea619097a0
[ "MIT" ]
48
2021-11-20T20:28:30.000Z
2022-03-28T16:18:15.000Z
from PyQt5 import QtCore, QtWidgets, QtGui, uic import os class IndicatorParametersUI(QtWidgets.QDialog): def __init__(self, parent = None): super(IndicatorParametersUI, self).__init__() #self.setParent(parent) # It does not finish by a "/" self.current_dir_path = os.path.dirna...
30.065934
87
0.613304
251
2,736
6.589641
0.326693
0.032648
0.039903
0.021765
0.090689
0.036276
0
0
0
0
0
0.000521
0.298246
2,736
91
88
30.065934
0.860938
0.025585
0
0.276923
0
0
0.026276
0.00976
0
0
0
0
0
1
0.169231
false
0.061538
0.030769
0.015385
0.369231
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
459cfc983851a8ba57e8cee990af42bcae99c62a
699
py
Python
django-simple-captcha/captcha/tests/urls.py
teeworldsCNFun/upTee
1c04b7421f4834f83bbb9f59f43dfebac08e56b0
[ "BSD-3-Clause" ]
null
null
null
django-simple-captcha/captcha/tests/urls.py
teeworldsCNFun/upTee
1c04b7421f4834f83bbb9f59f43dfebac08e56b0
[ "BSD-3-Clause" ]
null
null
null
django-simple-captcha/captcha/tests/urls.py
teeworldsCNFun/upTee
1c04b7421f4834f83bbb9f59f43dfebac08e56b0
[ "BSD-3-Clause" ]
null
null
null
try: from django.conf.urls import url, patterns, include except ImportError: from django.conf.urls.defaults import url, patterns, include urlpatterns = patterns('', url(r'test/$', 'captcha.tests.views.test', name='captcha-test'), url(r'test-modelform/$', 'captcha.tests.views.test_model_form', name='cap...
49.928571
111
0.719599
99
699
4.949495
0.313131
0.04898
0.173469
0.214286
0
0
0
0
0
0
0
0.003175
0.098712
699
13
112
53.769231
0.774603
0
0
0
0
0
0.516452
0.374821
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
459db3d81ac904122652cb0bff922fb7f630a44a
5,475
py
Python
export/views.py
felix-engelmann/badgecc
5bc0ced339f18737e24cc34935a87e96ae14a825
[ "MIT" ]
null
null
null
export/views.py
felix-engelmann/badgecc
5bc0ced339f18737e24cc34935a87e96ae14a825
[ "MIT" ]
null
null
null
export/views.py
felix-engelmann/badgecc
5bc0ced339f18737e24cc34935a87e96ae14a825
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.template.loader import render_to_string from django.http import HttpResponse from django.conf import settings from persons.models import Role, Right, Department, Person from math import floor import os from subprocess import Popen, PIPE import tempfile # Create your...
29.755435
184
0.588493
673
5,475
4.692422
0.273403
0.015199
0.018999
0.015199
0.479417
0.437935
0.41387
0.368588
0.317923
0.317923
0
0.002509
0.271963
5,475
183
185
29.918033
0.789764
0.103744
0
0.424779
0
0
0.117901
0.029835
0
0
0
0
0
1
0.061947
false
0
0.079646
0
0.230089
0.044248
0
0
0
null
0
0
0
0
0
0
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
1
0
459fe241fa9cf83ded4a40b6c2040315ffceaa98
7,118
py
Python
Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/lut_helper.py
fromasmtodisasm/o3de
0d728a76778cb0ca88caa5c07f17162fac668b2a
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/lut_helper.py
fromasmtodisasm/o3de
0d728a76778cb0ca88caa5c07f17162fac668b2a
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Atom/Feature/Common/Editor/Scripts/ColorGrading/lut_helper.py
fromasmtodisasm/o3de
0d728a76778cb0ca88caa5c07f17162fac668b2a
[ "Apache-2.0", "MIT" ]
null
null
null
# coding:utf-8 #!/usr/bin/python # # Copyright (c) Contributors to the Open 3D Engine Project. # For complete copyright and license terms please see the LICENSE at the root of this distribution. # # SPDX-License-Identifier: Apache-2.0 OR MIT # # # lut_helper.py import sys import os import argparse import math import s...
38.064171
139
0.631779
944
7,118
4.54661
0.246822
0.056384
0.045666
0.033551
0.179171
0.146552
0.14096
0.048462
0.030289
0.030289
0
0.023542
0.212279
7,118
186
140
38.268817
0.74193
0.147232
0
0.12605
0
0.02521
0.16807
0.007578
0
0
0
0
0
1
0.008403
false
0.016807
0.193277
0
0.210084
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
0
0
1
0
45a007eb5d03a7c8e9669fdf3b4bcdcd8f2e9700
2,922
py
Python
raxmlOutputWindows/standardLayout.py
chilleo/ALPHA
61ac17a08eb4eb778cec9236f4792c97969311a2
[ "MIT" ]
11
2017-09-18T20:32:04.000Z
2020-08-27T03:38:03.000Z
raxmlOutputWindows/standardLayout.py
chilleo/ALPHA
61ac17a08eb4eb778cec9236f4792c97969311a2
[ "MIT" ]
3
2017-09-30T00:13:47.000Z
2019-06-18T23:24:55.000Z
raxmlOutputWindows/standardLayout.py
chilleo/ALPHA
61ac17a08eb4eb778cec9236f4792c97969311a2
[ "MIT" ]
5
2017-09-28T01:17:15.000Z
2019-05-11T08:56:29.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'standardLayout.ui' # # Created by: PyQt4 UI code generator 4.12 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _fromUtf8(...
39.486486
80
0.710815
293
2,922
6.96587
0.34471
0.092602
0.039196
0.054875
0.080353
0.080353
0.080353
0.080353
0.080353
0.080353
0
0.015807
0.177276
2,922
73
81
40.027397
0.833195
0.063655
0
0.105263
1
0
0.068548
0
0
0
0
0
0
1
0.087719
false
0
0.035088
0.052632
0.192982
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
45a09665933e84a803dd9206ddcc338279cc67a4
283
py
Python
setup.py
zauberzeug/rosys
10271c88ffd5dcc4fb8eec93d46fe4144a9e40d8
[ "MIT" ]
1
2022-02-20T08:21:07.000Z
2022-02-20T08:21:07.000Z
setup.py
zauberzeug/rosys
10271c88ffd5dcc4fb8eec93d46fe4144a9e40d8
[ "MIT" ]
1
2022-03-08T12:46:09.000Z
2022-03-08T12:46:09.000Z
setup.py
zauberzeug/rosys
10271c88ffd5dcc4fb8eec93d46fe4144a9e40d8
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from distutils.core import setup setup( name='RoSys', version='0.1', description='Zauberzeug Robot System', author='Zauberzeug', author_email='info@zauberzeug.com', url='https://github.com/zauberzeug/rosys/', packages=['rosys'], )
21.769231
47
0.667845
34
283
5.529412
0.764706
0
0
0
0
0
0
0
0
0
0
0.012658
0.162544
283
12
48
23.583333
0.780591
0.074205
0
0
0
0
0.386973
0
0
0
0
0
0
1
0
true
0
0.1
0
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
1
0
0
0
0
0
0
1
45a097cba2dbbe048aae9c8954d61af23516651a
7,560
py
Python
recon/nmap.py
bbhunter/recon-pipeline
234fe5e639c2a6ef7573410eb4765df07fb352d1
[ "MIT" ]
null
null
null
recon/nmap.py
bbhunter/recon-pipeline
234fe5e639c2a6ef7573410eb4765df07fb352d1
[ "MIT" ]
null
null
null
recon/nmap.py
bbhunter/recon-pipeline
234fe5e639c2a6ef7573410eb4765df07fb352d1
[ "MIT" ]
1
2020-01-30T10:27:30.000Z
2020-01-30T10:27:30.000Z
import pickle import logging import subprocess import concurrent.futures from pathlib import Path import luigi from luigi.util import inherits from recon.config import defaults from recon.masscan import ParseMasscanOutput @inherits(ParseMasscanOutput) class ThreadedNmapScan(luigi.Task): """ Run nmap against spe...
38.571429
121
0.626852
925
7,560
5.069189
0.261622
0.034122
0.049904
0.060994
0.517594
0.493495
0.489657
0.459373
0.441459
0.441459
0
0.014585
0.274471
7,560
195
122
38.769231
0.840292
0.497884
0
0.275
0
0
0.156693
0.066934
0
0
0
0
0
1
0.075
false
0
0.1125
0
0.2875
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
0
0
1
0
45a34389a4196f702824ce54a8d761be8862131f
3,041
py
Python
docs/source/generate_cli_help.py
Conzel/CompressAI
55be017e93e25fc936fe0fb4fa5851b3c1032dfc
[ "BSD-3-Clause-Clear" ]
515
2020-06-24T23:48:02.000Z
2022-03-31T08:09:19.000Z
docs/source/generate_cli_help.py
Conzel/CompressAI
55be017e93e25fc936fe0fb4fa5851b3c1032dfc
[ "BSD-3-Clause-Clear" ]
102
2020-08-12T15:13:19.000Z
2022-03-30T22:28:16.000Z
docs/source/generate_cli_help.py
Conzel/CompressAI
55be017e93e25fc936fe0fb4fa5851b3c1032dfc
[ "BSD-3-Clause-Clear" ]
123
2020-06-25T00:32:29.000Z
2022-03-28T19:19:16.000Z
# Copyright (c) 2021-2022, InterDigital Communications, Inc # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted (subject to the limitations in the disclaimer # below) provided that the following conditions are met: # * Redistributions of source cod...
34.954023
111
0.694837
413
3,041
5.03632
0.479419
0.038942
0.019231
0.022115
0.116346
0.065385
0.065385
0.065385
0.065385
0.065385
0
0.016007
0.219336
3,041
86
112
35.360465
0.860152
0.583032
0
0.128205
0
0
0.128122
0.047542
0
0
0
0
0
1
0.051282
false
0
0.153846
0
0.205128
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
45a3d4d8a1f127580265a0a3c5979a90f99be58c
2,219
py
Python
implementation/data_io.py
rpalo/masters-thesis
fcc0beb933634b17dbe41bde982e947204fd498b
[ "MIT" ]
null
null
null
implementation/data_io.py
rpalo/masters-thesis
fcc0beb933634b17dbe41bde982e947204fd498b
[ "MIT" ]
null
null
null
implementation/data_io.py
rpalo/masters-thesis
fcc0beb933634b17dbe41bde982e947204fd498b
[ "MIT" ]
null
null
null
"""Data I/O: Import and export data to other useable formats.""" import csv from pathlib import Path from model import Job def import_csv(filename, base_dir=Path("data/")): """Converts CSV files with the relevant data (see columns below) to a list of Jobs. """ datafile = base_dir / filename with ...
36.377049
85
0.545291
240
2,219
5.004167
0.4125
0.049958
0.05995
0.079933
0.038301
0
0
0
0
0
0
0.001348
0.33123
2,219
61
86
36.377049
0.807951
0.141505
0
0.170213
0
0
0.143469
0
0
0
0
0
0
1
0.042553
false
0
0.085106
0
0.148936
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
0
0
1
0
45a6eb2cafb85abd876f4684bf56dbe0066463d9
16,694
py
Python
research/cv/eppmvsnet/src/networks.py
leelige/mindspore
5199e05ba3888963473f2b07da3f7bca5b9ef6dc
[ "Apache-2.0" ]
77
2021-10-15T08:32:37.000Z
2022-03-30T13:09:11.000Z
research/cv/eppmvsnet/src/networks.py
leelige/mindspore
5199e05ba3888963473f2b07da3f7bca5b9ef6dc
[ "Apache-2.0" ]
3
2021-10-30T14:44:57.000Z
2022-02-14T06:57:57.000Z
research/cv/eppmvsnet/src/networks.py
leelige/mindspore
5199e05ba3888963473f2b07da3f7bca5b9ef6dc
[ "Apache-2.0" ]
24
2021-10-15T08:32:45.000Z
2022-03-24T18:45:20.000Z
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
41.424318
117
0.636157
2,369
16,694
4.257915
0.093288
0.008526
0.036681
0.047189
0.651135
0.637752
0.608803
0.567067
0.531674
0.527114
0
0.120376
0.229184
16,694
402
118
41.527363
0.663506
0.054331
0
0.333333
0
0
0.014935
0.007212
0
0
0
0
0
1
0.070922
false
0
0.021277
0
0.163121
0.017731
0
0
0
null
0
0
0
0
0
0
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
1
0
45a8522dedcb5eb9f2989b1034c59beaba43571b
93
py
Python
christina/utils/__init__.py
guansss/christina
e6e8172bd7b0b68bda4f3c13f6427b7f9db4d2ef
[ "MIT" ]
null
null
null
christina/utils/__init__.py
guansss/christina
e6e8172bd7b0b68bda4f3c13f6427b7f9db4d2ef
[ "MIT" ]
null
null
null
christina/utils/__init__.py
guansss/christina
e6e8172bd7b0b68bda4f3c13f6427b7f9db4d2ef
[ "MIT" ]
null
null
null
from .eventemitter import * from .misc import * from .process import * from .string import *
18.6
27
0.741935
12
93
5.75
0.5
0.434783
0
0
0
0
0
0
0
0
0
0
0.172043
93
4
28
23.25
0.896104
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
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
1
0
1
0
1
0
0
6
45a91df091f1f1c66e15a3e3dba9ef0eebdccd22
406
py
Python
apps/courses/migrations/0003_auto_20200414_1516.py
wychmod/Taro-Education
869852b33c06f6eb2c06191c4544e74db9eba8ce
[ "Apache-2.0" ]
1
2020-04-14T16:50:04.000Z
2020-04-14T16:50:04.000Z
apps/courses/migrations/0003_auto_20200414_1516.py
wychmod/Taro-Education
869852b33c06f6eb2c06191c4544e74db9eba8ce
[ "Apache-2.0" ]
3
2021-03-10T14:51:26.000Z
2022-02-27T03:03:10.000Z
apps/courses/migrations/0003_auto_20200414_1516.py
wychmod/Taro-Education
869852b33c06f6eb2c06191c4544e74db9eba8ce
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.4 on 2020-04-14 07:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('courses', '0002_chapter_add_time'), ] operations = [ migrations.AlterField( model_name='courses', name='title_pic', ...
21.368421
68
0.603448
45
406
5.311111
0.844444
0
0
0
0
0
0
0
0
0
0
0.064626
0.275862
406
18
69
22.555556
0.748299
0.110837
0
0
1
0
0.142061
0.058496
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
45aa13a44c60964639568833f156cf26339f8f91
9,162
py
Python
master-v0/todolist_seperated.py
kaixindelele/Study-System
d64ed15d425064445e2ca6a4bb89515dec68d19c
[ "Apache-2.0" ]
null
null
null
master-v0/todolist_seperated.py
kaixindelele/Study-System
d64ed15d425064445e2ca6a4bb89515dec68d19c
[ "Apache-2.0" ]
null
null
null
master-v0/todolist_seperated.py
kaixindelele/Study-System
d64ed15d425064445e2ca6a4bb89515dec68d19c
[ "Apache-2.0" ]
null
null
null
import tkinter from tkinter import messagebox import random WINDOW_HEIGHT=1200 WINDOW_WIDTH=600 BUTTON_HEIGHT=2 BUTTON_WIDTH=10 class Item: def __init__(self, id, content): self.index=id if len(content.split(" ")) == 1: self.text=content.split(" ")[0] elif not c...
34.186567
127
0.573456
1,174
9,162
4.308348
0.189949
0.030051
0.028272
0.023725
0.28964
0.234085
0.184263
0.175168
0.132661
0.132661
0
0.017801
0.307138
9,162
268
128
34.186567
0.778986
0.081314
0
0.179104
0
0
0.043103
0
0
0
0
0.003731
0
1
0.144279
false
0.00995
0.014925
0
0.174129
0.004975
0
0
0
null
0
0
0
0
0
0
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
1
0
45aad84988a3fb71c8fae9c7b834e17f70aac378
1,728
py
Python
nesi/huawei/huawei_resources/huawei_vlan_interface.py
Tubbz-alt/NESi
0db169dd6378fbd097380280cc41440e652de19e
[ "BSD-2-Clause" ]
1
2021-04-26T23:15:33.000Z
2021-04-26T23:15:33.000Z
nesi/huawei/huawei_resources/huawei_vlan_interface.py
Tubbz-alt/NESi
0db169dd6378fbd097380280cc41440e652de19e
[ "BSD-2-Clause" ]
null
null
null
nesi/huawei/huawei_resources/huawei_vlan_interface.py
Tubbz-alt/NESi
0db169dd6378fbd097380280cc41440e652de19e
[ "BSD-2-Clause" ]
null
null
null
# This file is part of the NESi software. # # Copyright (c) 2020 # Original Software Design by Ilya Etingof <https://github.com/etingof>. # # Software adapted by inexio <https://github.com/inexio>. # - Janis Groß <https://github.com/unkn0wn-user> # - Philip Konrath <https://github.com/Connyko65> # - Alexander Dincher <...
35.265306
102
0.740162
203
1,728
6.098522
0.413793
0.109047
0.067851
0.03231
0.045234
0
0
0
0
0
0
0.007422
0.142361
1,728
48
103
36
0.827935
0.269097
0
0
0
0
0.169082
0.016908
0
0
0
0
0
1
0.076923
false
0
0.076923
0.038462
0.846154
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
45aafdc53dd12d0a6a957bd81175c72fb3ad70c0
2,665
py
Python
src/settings/base.py
Hammerstad/blog
3075e59c46321fd5fd5ccafbfb36e6d59b765259
[ "MIT" ]
null
null
null
src/settings/base.py
Hammerstad/blog
3075e59c46321fd5fd5ccafbfb36e6d59b765259
[ "MIT" ]
null
null
null
src/settings/base.py
Hammerstad/blog
3075e59c46321fd5fd5ccafbfb36e6d59b765259
[ "MIT" ]
null
null
null
import os, re from django.contrib.messages import constants as messages BASE_DIR = os.path.dirname(os.path.dirname(__file__)) makepath = lambda *f: os.path.join(BASE_DIR, *f) # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = ')2x-r4x+4oxdmvvxenj*dhq##uxrgl%f3=#+l*1s32y=f^51hz' ALLOWED_H...
26.386139
73
0.734709
317
2,665
6.037855
0.485804
0.115465
0.043887
0.048589
0.017764
0
0
0
0
0
0
0.006092
0.137711
2,665
101
74
26.386139
0.826806
0.127955
0
0
0
0
0.507991
0.397408
0
0
0
0
0
1
0
false
0
0.028169
0
0.028169
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
0
0
1
0
45ab1de9e03a368e0762b53b648e16454e16ea66
4,147
py
Python
aea/cli/list.py
bryanchriswhite/agents-aea
d3f177a963eb855d9528555167255bf2b478f4ba
[ "Apache-2.0" ]
126
2019-09-07T09:32:44.000Z
2022-03-29T14:28:41.000Z
aea/cli/list.py
salman6049/agents-aea
d3f177a963eb855d9528555167255bf2b478f4ba
[ "Apache-2.0" ]
1,814
2019-08-24T10:08:07.000Z
2022-03-31T14:28:36.000Z
aea/cli/list.py
salman6049/agents-aea
d3f177a963eb855d9528555167255bf2b478f4ba
[ "Apache-2.0" ]
46
2019-09-03T22:13:58.000Z
2022-03-22T01:25:16.000Z
# -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2018-2019 Fetch.AI Limited # # 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 ...
33.176
91
0.672534
524
4,147
5.137405
0.314886
0.035661
0.031204
0.03789
0.281575
0.225111
0.21471
0.14896
0.14896
0.118499
0
0.003906
0.197492
4,147
124
92
33.443548
0.804988
0.303593
0
0.179487
0
0
0.007077
0
0
0
0
0
0
1
0.089744
false
0.089744
0.141026
0
0.24359
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
45ab9ea2dc5f4b23d74ac29f8266f535d3be4159
2,703
py
Python
KeystrokeDynamics.py
lupoermeyo/Behavioural-Biometrics
0212f1de39412476f8eb852315eb2775f8e9e454
[ "Apache-2.0" ]
null
null
null
KeystrokeDynamics.py
lupoermeyo/Behavioural-Biometrics
0212f1de39412476f8eb852315eb2775f8e9e454
[ "Apache-2.0" ]
null
null
null
KeystrokeDynamics.py
lupoermeyo/Behavioural-Biometrics
0212f1de39412476f8eb852315eb2775f8e9e454
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ * @file KeystrokeDynamics.py * @brief Keystroke generator capture for L. Antichi Thesis * * @author Leonardo Antichi (<leo.antichi@sutd.uniroma3.it>) * @version 1.7 * @since 1.0 * * @copyright Copyright (c) 2017-2018 Roma Tre, Italy * @copyright Apache License, Version 2.0 """ import win32a...
32.963415
151
0.660007
479
2,703
3.601253
0.304802
0.041739
0.017391
0.034783
0.244058
0.185507
0.158841
0.126377
0.074203
0.052174
0
0.056459
0.18091
2,703
81
152
33.37037
0.722674
0.007769
0
0.126984
0
0
0.142976
0.013339
0
0
0
0
0
0
null
null
0.111111
0.079365
null
null
0.142857
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
45abcd25079db97a67b489f518bd398d367931de
423
py
Python
portfolio/admin.py
mucahitnezir/django-starter
2b5b571da19c37941ae1634d0bd26ac8b0063b7d
[ "MIT" ]
5
2019-01-09T13:17:09.000Z
2021-04-12T19:26:11.000Z
portfolio/admin.py
mucahitnezir/django-blog
2b5b571da19c37941ae1634d0bd26ac8b0063b7d
[ "MIT" ]
9
2019-06-10T18:52:42.000Z
2021-06-10T17:36:44.000Z
portfolio/admin.py
mucahitnezir/django-blog
2b5b571da19c37941ae1634d0bd26ac8b0063b7d
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Portfolio @admin.register(Portfolio) class PortfolioAdmin(admin.ModelAdmin): list_display = ('id', 'title', 'slug', 'category', 'published_at', 'image') list_display_links = ('id',) list_editable = ('title', 'category') list_filter = ('published_at...
30.214286
79
0.678487
46
423
6.043478
0.586957
0.079137
0
0
0
0
0
0
0
0
0
0
0.153664
423
13
80
32.538462
0.776536
0
0
0
0
0
0.217494
0
0
0
0
0
0
1
0
false
0
0.2
0
0.9
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
45af13113748b76dff6737ce6168b834565ba369
737
py
Python
cpias/cli/__init__.py
CellProfiling/cpias
e2d9426436573b40625287101570b849ce9f4a38
[ "Apache-2.0" ]
null
null
null
cpias/cli/__init__.py
CellProfiling/cpias
e2d9426436573b40625287101570b849ce9f4a38
[ "Apache-2.0" ]
null
null
null
cpias/cli/__init__.py
CellProfiling/cpias
e2d9426436573b40625287101570b849ce9f4a38
[ "Apache-2.0" ]
null
null
null
# type: ignore """Provide a CLI.""" import logging import click from cpias import __version__ from cpias.cli.client import run_client from cpias.cli.server import start_server SETTINGS = dict(help_option_names=["-h", "--help"]) @click.group( options_metavar="", subcommand_metavar="<command>", context_settings=...
23.03125
81
0.717775
99
737
5.121212
0.434343
0.053254
0.047337
0.118343
0
0
0
0
0
0
0
0
0.143826
737
31
82
23.774194
0.803487
0.062415
0
0
0
0
0.082353
0
0
0
0
0
0
1
0.047619
false
0.047619
0.238095
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
45b1387d07ded17b27c38254744ea03c4ab7dcf9
1,368
py
Python
server/config.py
knrdl/casa
411a71f2fcc7b2f7c6cd33973ce6f5919c9f7180
[ "MIT" ]
40
2022-01-08T18:33:33.000Z
2022-01-17T11:52:40.000Z
server/config.py
knrdl/casa
411a71f2fcc7b2f7c6cd33973ce6f5919c9f7180
[ "MIT" ]
null
null
null
server/config.py
knrdl/casa
411a71f2fcc7b2f7c6cd33973ce6f5919c9f7180
[ "MIT" ]
3
2022-01-10T03:05:45.000Z
2022-01-10T16:17:29.000Z
import os from typing import Literal, get_args, Final, Set, Dict AUTH_API_URL = os.getenv('AUTH_API_URL') AUTH_API_FIELD_USERNAME = os.getenv('AUTH_API_FIELD_USERNAME', 'username') AUTH_API_FIELD_PASSWORD = os.getenv('AUTH_API_FIELD_PASSWORD', 'password') if not AUTH_API_URL: raise Exception('please provide AUTH_A...
41.454545
103
0.681287
183
1,368
4.885246
0.349727
0.06264
0.044743
0.050336
0.091723
0.04698
0.04698
0
0
0
0
0
0.179094
1,368
32
104
42.75
0.796082
0
0
0
0
0
0.225146
0.049708
0
0
0
0
0
1
0
false
0.037037
0.074074
0
0.074074
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
45b2b23d27a2e53c3f068def849224f1c8fabece
4,347
py
Python
fanuc_planning/src/scripts/workspace/scene.py
oaghub/FMS
f3a4836fcb993903d239935fe05b878f3fe1f874
[ "MIT" ]
null
null
null
fanuc_planning/src/scripts/workspace/scene.py
oaghub/FMS
f3a4836fcb993903d239935fe05b878f3fe1f874
[ "MIT" ]
null
null
null
fanuc_planning/src/scripts/workspace/scene.py
oaghub/FMS
f3a4836fcb993903d239935fe05b878f3fe1f874
[ "MIT" ]
null
null
null
#! /usr/bin/env python import sys import copy import rospy import moveit_commander import moveit_msgs.msg import geometry_msgs.msg from math import pi from std_msgs.msg import String from moveit_commander.conversions import pose_to_list from geometry_msgs.msg import Pose, PoseStamped # Initializing the node represent...
28.227273
130
0.731079
807
4,347
3.762082
0.169765
0.074111
0.192688
0.115942
0.58004
0.560935
0.528327
0.528327
0.509223
0.474638
0
0.055428
0.099379
4,347
153
131
28.411765
0.720051
0.468599
0
0.322581
0
0
0.062784
0.026388
0
0
0
0
0
1
0
false
0
0.16129
0
0.16129
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
45b5fa70386d8105f33dc75fae82e50e32e78e74
502
py
Python
loaf/projects/migrations/0004_project_apt.py
phj95304/loaf_django
da3dd778fc11f4cd5583c4f4537a9bf8760756b9
[ "MIT" ]
null
null
null
loaf/projects/migrations/0004_project_apt.py
phj95304/loaf_django
da3dd778fc11f4cd5583c4f4537a9bf8760756b9
[ "MIT" ]
null
null
null
loaf/projects/migrations/0004_project_apt.py
phj95304/loaf_django
da3dd778fc11f4cd5583c4f4537a9bf8760756b9
[ "MIT" ]
null
null
null
# Generated by Django 2.0.8 on 2018-09-08 09:03 import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0003_auto_20180908_1750'), ] operations = [ migrations.AddField( model_name='p...
25.1
131
0.655378
58
502
5.568966
0.758621
0.080495
0.130031
0.167183
0
0
0
0
0
0
0
0.090439
0.229084
502
19
132
26.421053
0.744186
0.089641
0
0
1
0
0.09011
0.050549
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
45b65bda8190d8c14bc4023732f98de599eb5be5
959
py
Python
effective_python/pythonic_thought/str_demo.py
ftconan/python3
eb63ba33960072f792ecce6db809866b38c402f8
[ "MIT" ]
1
2018-12-19T22:07:56.000Z
2018-12-19T22:07:56.000Z
effective_python/pythonic_thought/str_demo.py
ftconan/python3
eb63ba33960072f792ecce6db809866b38c402f8
[ "MIT" ]
12
2020-03-14T05:32:26.000Z
2022-03-12T00:08:49.000Z
effective_python/pythonic_thought/str_demo.py
ftconan/python3
eb63ba33960072f792ecce6db809866b38c402f8
[ "MIT" ]
1
2018-12-19T22:08:00.000Z
2018-12-19T22:08:00.000Z
""" @author: magician @date: 2019/12/10 @file: str_demo.py """ import os def to_str(bytes_or_str): """ to_str(python2, python3) :param bytes_or_str: :return: """ if isinstance(bytes_or_str, bytes): value = bytes_or_str.decode('utf-8') else: value = bytes_or_str ...
17.759259
53
0.595412
132
959
3.977273
0.310606
0.142857
0.190476
0.121905
0.449524
0.405714
0.405714
0.339048
0.339048
0.339048
0
0.02432
0.271116
959
53
54
18.09434
0.726753
0.217935
0
0.363636
0
0
0.07413
0.034796
0
0
0
0
0
1
0.136364
false
0
0.045455
0
0.318182
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
45b98152e1ec2d40f01789e515fcc68c070f6c42
2,452
py
Python
src/python/lessons/Pokedex/Club Leader Resources/pokedex-finished.py
arve0/example_lessons
56ce7f386df2478165f4583a86b462974f5e19ec
[ "CC0-1.0" ]
2
2017-02-19T21:31:34.000Z
2019-06-27T07:55:50.000Z
src/python/lessons/Pokedex/Club Leader Resources/pokedex-finished.py
arve0/example_lessons
56ce7f386df2478165f4583a86b462974f5e19ec
[ "CC0-1.0" ]
null
null
null
src/python/lessons/Pokedex/Club Leader Resources/pokedex-finished.py
arve0/example_lessons
56ce7f386df2478165f4583a86b462974f5e19ec
[ "CC0-1.0" ]
null
null
null
from random import * import tkinter from pokeapi import * smallFont = ["Ariel" , 10] mediumFont = ["Ariel" , 14] bigFont = ["Ariel" , 24] #function to display data for a pokemon number def showPokemonData(): #get the number typed into the entry box pokemonNumber = randint(1,178) #use the function above t...
31.844156
98
0.745514
289
2,452
6.32526
0.269896
0.04814
0.084245
0.12035
0.210613
0.090263
0
0
0
0
0
0.041742
0.101142
2,452
76
99
32.263158
0.787659
0.12398
0
0
0
0
0.115115
0
0
0
0
0
0
1
0.02
false
0
0.06
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
0
0
0
0
0
0
1
0
45bb4339df10b2c504d23e3c5f87aad73571f0d8
551
py
Python
PythonExercicios/ex092.py
lordvinick/Python
c03fd08d4c204104bf0196b0bd129427fd2067ae
[ "MIT" ]
null
null
null
PythonExercicios/ex092.py
lordvinick/Python
c03fd08d4c204104bf0196b0bd129427fd2067ae
[ "MIT" ]
null
null
null
PythonExercicios/ex092.py
lordvinick/Python
c03fd08d4c204104bf0196b0bd129427fd2067ae
[ "MIT" ]
null
null
null
from datetime import date info = dict() info['nome'] = str(input('Nome: ')) ano = int(input('Ano de Nascimento: ')) info['idade'] = date.today().year - ano info['ctps'] = int(input('Carteira de Trabalho (0 não tem): ')) if info['ctps'] > 0: info['contratação'] = int(input('Ano de contratação: ')) info['Salário'...
36.733333
63
0.618875
77
551
4.428571
0.519481
0.070381
0.064516
0.076246
0
0
0
0
0
0
0
0.013015
0.163339
551
14
64
39.357143
0.726681
0
0
0
0
0
0.323049
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.142857
0
0
0
null
0
0
0
0
0
0
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
1
0
45bb5f01972a0422e197939fbc86dcc3efd9e8cf
2,547
py
Python
src/words/compiler/compile.py
DavidStrootman/ATP
72005be0ac75339bb5da037a7e98573e338d16db
[ "MIT" ]
2
2021-08-20T17:56:15.000Z
2021-08-21T01:04:08.000Z
src/words/compiler/compile.py
DavidStrootman/Words
72005be0ac75339bb5da037a7e98573e338d16db
[ "MIT" ]
null
null
null
src/words/compiler/compile.py
DavidStrootman/Words
72005be0ac75339bb5da037a7e98573e338d16db
[ "MIT" ]
null
null
null
from pathlib import Path from typing import Callable, Dict, List, Type, Iterator from words.lexer.lex import Lexer from words.parser.parse import Parser from words.parser.parse_util import Program from words.token_types.lexer_token import LexerToken from words.token_types.parser_token import ParserToken, VariableParse...
29.964706
97
0.650962
302
2,547
5.301325
0.307947
0.065584
0.068707
0.026234
0.087445
0
0
0
0
0
0
0.003704
0.257951
2,547
84
98
30.321429
0.843386
0.135846
0
0.134615
0
0
0.043987
0
0
0
0
0
0
1
0.153846
false
0.019231
0.134615
0.038462
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
0
0
0
0
1
0
45bb63a16d11fc1ffe3d85d5f0903a0791235525
666
py
Python
digger/modules/load.py
fxxkrlab/Digger
b69e23aee1f2a8eac4989badd354bd128d35100e
[ "MIT" ]
null
null
null
digger/modules/load.py
fxxkrlab/Digger
b69e23aee1f2a8eac4989badd354bd128d35100e
[ "MIT" ]
null
null
null
digger/modules/load.py
fxxkrlab/Digger
b69e23aee1f2a8eac4989badd354bd128d35100e
[ "MIT" ]
null
null
null
import os, logging, toml _cfgFile_RAW = os.path.abspath(os.path.join("conf.toml")) _cfg = toml.load(_cfgFile_RAW) ''' log setting ''' if _cfg['Servers']['server']['CONSOLE'] == 'DEBUG': logging.basicConfig( format="%(asctime)s - %(name)s - %(levelname)s - %(message)s", level=logging.DEBUG, ) e...
28.956522
125
0.564565
102
666
3.558824
0.401961
0.038567
0.049587
0.041322
0.451791
0.451791
0.451791
0.451791
0.369146
0.369146
0
0.022928
0.148649
666
23
125
28.956522
0.617284
0
0
0.25
0
0.0625
0.424383
0.21142
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
45bb66efdc59c469de7d495c36cb9e1d35bdedf1
793
py
Python
src/contact/models.py
daniel-werner/stelagifts
809cb70f98a1ead3acbc2fd6aea99a87fdfd9435
[ "MIT" ]
null
null
null
src/contact/models.py
daniel-werner/stelagifts
809cb70f98a1ead3acbc2fd6aea99a87fdfd9435
[ "MIT" ]
null
null
null
src/contact/models.py
daniel-werner/stelagifts
809cb70f98a1ead3acbc2fd6aea99a87fdfd9435
[ "MIT" ]
null
null
null
from django.db import models from django.utils.translation import ugettext_lazy as _ class ContactMessage(models.Model): name = models.CharField(max_length=500, verbose_name=_("Name")) email = models.EmailField(max_length=500, verbose_name=_("Email")) subject = models.CharField(max_length=1000, verbose_nam...
34.478261
74
0.686003
93
793
5.634409
0.537634
0.068702
0.068702
0.091603
0.087786
0
0
0
0
0
0
0.022082
0.200504
793
22
75
36.045455
0.804416
0
0
0
0
0
0.050441
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.722222
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
45bbcaa18c9d8b0af41194ae911dd0604064bd55
11,982
py
Python
rados_deploy/internal/remoto/modules/rados_install.py
MariskaIJpelaar/rados-deploy
4ffb467211c2b05d17d76c2423c72c0ee4d4ec99
[ "MIT" ]
null
null
null
rados_deploy/internal/remoto/modules/rados_install.py
MariskaIJpelaar/rados-deploy
4ffb467211c2b05d17d76c2423c72c0ee4d4ec99
[ "MIT" ]
null
null
null
rados_deploy/internal/remoto/modules/rados_install.py
MariskaIJpelaar/rados-deploy
4ffb467211c2b05d17d76c2423c72c0ee4d4ec99
[ "MIT" ]
1
2022-02-08T10:47:14.000Z
2022-02-08T10:47:14.000Z
import os import subprocess import tempfile import urllib.request def _get_ceph_deploy(location, silent=False, retries=5): url = 'https://github.com/ceph/ceph-deploy/archive/refs/heads/master.zip' with tempfile.TemporaryDirectory() as tmpdir: # We use a tempfile to store the downloaded archive. archiv...
54.963303
227
0.647304
1,562
11,982
4.898207
0.220871
0.022219
0.009411
0.010064
0.547641
0.509868
0.467521
0.424781
0.405176
0.381127
0
0.004078
0.242864
11,982
217
228
55.21659
0.839286
0.284176
0
0.509554
0
0.031847
0.235818
0.036554
0.006369
0
0
0
0
1
0.031847
false
0.012739
0.025478
0
0.197452
0.133758
0
0
0
null
0
0
0
0
0
0
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
1
0
45bc17edfd4d56c459c035506d016dde933b4b38
1,539
py
Python
segment.py
jorjao81/zh-learn
9d14033361918a759dd245984c35c1cb8aa3f24f
[ "MIT" ]
2
2020-12-04T16:23:02.000Z
2021-12-25T12:54:45.000Z
segment.py
jorjao81/zh-learn
9d14033361918a759dd245984c35c1cb8aa3f24f
[ "MIT" ]
null
null
null
segment.py
jorjao81/zh-learn
9d14033361918a759dd245984c35c1cb8aa3f24f
[ "MIT" ]
1
2021-12-22T20:17:08.000Z
2021-12-22T20:17:08.000Z
from pysubparser import parser from pysubparser.util import time_to_millis from pydub import AudioSegment # find segments of conversation import sys FIVE_SECONDS = 5000 def get_segments(subtitles): segments = [] prev_end = -1000000 curr_segment = None for subtitle in subtitles: this_start ...
22.632353
104
0.622482
195
1,539
4.723077
0.312821
0.045603
0.091205
0.065147
0.098806
0.095548
0.054289
0
0
0
0
0.031379
0.213125
1,539
67
105
22.970149
0.729149
0.031839
0
0.046512
0
0
0.088156
0.048452
0
0
0
0
0
1
0.046512
false
0
0.093023
0
0.162791
0.209302
0
0
0
null
0
0
0
0
0
0
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
1
0
45bc4038c9107e889c840e27905e254cabf514d3
4,766
py
Python
bot.py
BinaryWorld0101201/RSS_Feederbot
177c175fc309645661d2dd804e76f5dc8c5d726e
[ "MIT" ]
1
2019-05-14T11:34:40.000Z
2019-05-14T11:34:40.000Z
bot.py
BinaryWorld0101201/RSS_Feederbot
177c175fc309645661d2dd804e76f5dc8c5d726e
[ "MIT" ]
null
null
null
bot.py
BinaryWorld0101201/RSS_Feederbot
177c175fc309645661d2dd804e76f5dc8c5d726e
[ "MIT" ]
null
null
null
try: import feedparser, html2text, asyncio, json, datetime, telepot from loguru import logger from telepot.aio.loop import MessageLoop from telepot.aio.delegate import per_chat_id, create_open, pave_event_space except ImportError: print("Failed to import required modules.") class RSS(telepot.aio.h...
42.936937
110
0.563785
585
4,766
4.42906
0.304274
0.055577
0.01235
0.011579
0.056349
0.041683
0.023157
0
0
0
0
0.007442
0.323332
4,766
110
111
43.327273
0.795969
0.080781
0
0.064935
0
0.012987
0.13869
0.031557
0
0
0
0
0
1
0.012987
false
0.012987
0.077922
0
0.12987
0.025974
0
0
0
null
0
0
0
0
0
0
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
1
0
45bcfaeb97ed0ff8e530ddacc88395a26d3c7e57
617
py
Python
medimg/dcm/__init__.py
arokem/nimsdata
9aba149969a4d86d18cf0d731fbd562cc0e8bfeb
[ "MIT" ]
2
2016-03-26T09:43:55.000Z
2016-11-15T11:22:06.000Z
medimg/dcm/__init__.py
arokem/nimsdata
9aba149969a4d86d18cf0d731fbd562cc0e8bfeb
[ "MIT" ]
null
null
null
medimg/dcm/__init__.py
arokem/nimsdata
9aba149969a4d86d18cf0d731fbd562cc0e8bfeb
[ "MIT" ]
1
2017-11-18T10:06:57.000Z
2017-11-18T10:06:57.000Z
""" nimsdata.medimg.dcm =================== TODO: docs? here? yes. Currently supported dicoms include the following Manufacturers and SOPs SUPPORTED_MFR - 'GE MEDICAL SYSTEMS' - 'SIEMENS' SUPPORTED_SOP - '1.2.840.10008.5.1.4.1.1.4' MR Image - '1.2.840.10008.5.1.4.1.1.7' Secondary Capture...
26.826087
81
0.583468
113
617
3.168142
0.442478
0.039106
0.083799
0.167598
0.284916
0.284916
0.284916
0.284916
0.284916
0.159218
0
0.244306
0.21718
617
22
82
28.045455
0.496894
0.983793
0
null
0
null
0
0
null
0
0
0.045455
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
6
45bdb36510e854f6de6cd3293f787a5c8f33e5a3
3,475
py
Python
tests/test_file_stream.py
cglewis/pyais
541fcc8a9edd5a826635273fc818587dbfb7ec42
[ "MIT" ]
51
2019-10-07T11:26:56.000Z
2022-03-16T10:45:15.000Z
tests/test_file_stream.py
cglewis/pyais
541fcc8a9edd5a826635273fc818587dbfb7ec42
[ "MIT" ]
57
2019-10-14T07:50:00.000Z
2022-03-28T06:52:27.000Z
tests/test_file_stream.py
cglewis/pyais
541fcc8a9edd5a826635273fc818587dbfb7ec42
[ "MIT" ]
31
2019-10-13T17:17:56.000Z
2022-03-26T16:46:54.000Z
import pathlib import unittest from unittest.case import skip from pyais.stream import FileReaderStream, should_parse from pyais.messages import NMEAMessage class TestFileReaderStream(unittest.TestCase): FILENAME = "tests/ais_test_messages" def test_reader(self): with FileReaderStream(self.FILENAME) ...
43.987342
118
0.673094
468
3,475
4.854701
0.275641
0.101673
0.100352
0.12588
0.556338
0.519366
0.492958
0.408011
0.408011
0.408011
0
0.044883
0.198561
3,475
78
119
44.551282
0.770916
0.107914
0
0.183333
0
0.033333
0.178653
0.131793
0
0
0
0
0.483333
1
0.116667
false
0
0.083333
0
0.233333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
45bdba9e5dd956513cc7f98d220c282da5cc1f1f
6,354
py
Python
i2c_max6639.py
glitchub/plio
5746dfa10fcd74d65e14d554b59883412bfc5bb4
[ "Unlicense" ]
1
2020-02-18T04:46:01.000Z
2020-02-18T04:46:01.000Z
i2c_max6639.py
glitchub/plio
5746dfa10fcd74d65e14d554b59883412bfc5bb4
[ "Unlicense" ]
null
null
null
i2c_max6639.py
glitchub/plio
5746dfa10fcd74d65e14d554b59883412bfc5bb4
[ "Unlicense" ]
null
null
null
# Driver for MAX 6639 fan controller # In normal operation: # reset() possibly with options # set_fan_ config() for each fan # set_pwm_mode() or set_rpm_mode() for each fan. from __future__ import print_function try: from i2c import i2c except: from .i2c import i2c class max6639: # registers, some may ac...
43.520548
126
0.567202
954
6,354
3.716981
0.25891
0.019741
0.043429
0.018331
0.101805
0.055838
0.019741
0
0
0
0
0.095947
0.312716
6,354
145
127
43.82069
0.716052
0.269594
0
0.021277
0
0
0.027221
0
0
0
0.052265
0
0.06383
1
0.234043
false
0
0.042553
0.148936
0.37234
0.053191
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
2
45be769f411fd4437219b4961db9cd7cef98434f
1,423
py
Python
Scripts/005_pyo/scripts/tutorial/s042_hilbert_transform.py
OrangePeelFX/Python-Tutorial
0d47f194553666304765f5bbc928374b7aec8a48
[ "MIT" ]
null
null
null
Scripts/005_pyo/scripts/tutorial/s042_hilbert_transform.py
OrangePeelFX/Python-Tutorial
0d47f194553666304765f5bbc928374b7aec8a48
[ "MIT" ]
1
2021-06-02T00:28:17.000Z
2021-06-02T00:28:17.000Z
Scripts/005_pyo/scripts/tutorial/s042_hilbert_transform.py
florianwns/python-scripts
0d47f194553666304765f5bbc928374b7aec8a48
[ "MIT" ]
1
2020-01-13T11:08:18.000Z
2020-01-13T11:08:18.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Effet de déphasage à la Barberpole. Cet exemple utilise deux déphaseurs (basés sur une modulation complexe) décalant linéairement le contenu fréquentiel d'un son. Le décalage de fréquence est similaire à la modulation en anneaux, sauf que les bandes latérales supérie...
25.410714
79
0.668306
200
1,423
4.69
0.625
0.025586
0
0
0
0
0
0
0
0
0
0.025067
0.215039
1,423
55
80
25.872727
0.814682
0.511595
0
0
0
0
0.012158
0
0
0
0
0
0
1
0.095238
false
0
0.142857
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
45bebfee1fc6c99b8d76516c463bc09140a29f6d
8,885
py
Python
odfdo/paragraph_base.py
mat-m/odfdo
a4a509a056517ecf91449e029b36fe9a8ffa8ed0
[ "Apache-2.0" ]
null
null
null
odfdo/paragraph_base.py
mat-m/odfdo
a4a509a056517ecf91449e029b36fe9a8ffa8ed0
[ "Apache-2.0" ]
null
null
null
odfdo/paragraph_base.py
mat-m/odfdo
a4a509a056517ecf91449e029b36fe9a8ffa8ed0
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Jérôme Dumonteil # Copyright (c) 2009-2013 Ars Aperta, Itaapy, Pierlis, Talend. # # 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...
31.39576
79
0.538323
942
8,885
4.956476
0.279193
0.066824
0.023988
0.016278
0.152495
0.077104
0.077104
0.051831
0.035554
0.035554
0
0.006149
0.35937
8,885
282
80
31.507092
0.814125
0.270906
0
0.346369
0
0
0.074181
0
0
0
0
0
0
1
0.039106
false
0
0.01676
0
0.134078
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
0
0
1
0
45bfe5c078f298141870f59d4be7cfb5f40df620
659
py
Python
myUnittest/case_way/case_drive_config.py
ChenJiR/MyPyUnittest
77ecde87218a0ca7482e4d1dfebd403e2325165a
[ "MIT" ]
null
null
null
myUnittest/case_way/case_drive_config.py
ChenJiR/MyPyUnittest
77ecde87218a0ca7482e4d1dfebd403e2325165a
[ "MIT" ]
null
null
null
myUnittest/case_way/case_drive_config.py
ChenJiR/MyPyUnittest
77ecde87218a0ca7482e4d1dfebd403e2325165a
[ "MIT" ]
null
null
null
import os DRIVER_DB = 'db_to_case' DRIVER_EXCEL = 'excel_to_case' DRIVER_TXT = 'txt_to_case' db_case_config = { 'host': '127.0.0.1', 'username': 'root', 'password': 'root', 'port': 3306, 'db': 'test', } excel_case_config = { 'path': os.path.dirname(__file__) + str('/excel_case/'), 'defaul...
17.810811
60
0.654021
93
659
4.172043
0.333333
0.154639
0.061856
0.082474
0.293814
0.175258
0.175258
0.175258
0
0
0
0.020446
0.183612
659
36
61
18.305556
0.700743
0
0
0
0
0
0.283763
0
0
0
0
0
0
1
0.115385
false
0.038462
0.038462
0.115385
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
0
0
1
0
0
0
1
45c03052ca9a5026e2efea8fa7acae8f6c0c55cc
3,634
py
Python
manage/sawtooth_manage/node.py
trust-tech/sawtooth-core
fcd66ff2f13dba51d7642049e0c0306dbee3b07d
[ "Apache-2.0" ]
1
2017-08-04T10:31:00.000Z
2017-08-04T10:31:00.000Z
core/sawtooth/manage/node.py
gabykyei/GC_BlockChain_T_Rec
b72cb483064852d0a60286943ff55233462fea08
[ "Apache-2.0" ]
1
2021-12-09T23:11:26.000Z
2021-12-09T23:11:26.000Z
core/sawtooth/manage/node.py
gabykyei/GC_BlockChain_T_Rec
b72cb483064852d0a60286943ff55233462fea08
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
26.333333
80
0.63869
391
3,634
5.647059
0.314578
0.068841
0.059783
0.033967
0.408062
0.338768
0.317029
0.237319
0.237319
0.237319
0
0.002978
0.26087
3,634
137
81
26.525547
0.819062
0.271326
0
0.469697
0
0
0
0
0
0
0
0
0
1
0.257576
false
0
0.030303
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
45c0e8bae3f25948b5b8cba3047d88441aee1315
1,253
py
Python
Python/Zelle/Chapter8_LoopStructuresBooleans/ProgrammingExercises/4_SyracuseSequence/syracuseSequence.py
jeffvswanson/CodingPractice
9ea8e0dd504230cea0e8684b31ef22c3ed90d2fb
[ "MIT" ]
null
null
null
Python/Zelle/Chapter8_LoopStructuresBooleans/ProgrammingExercises/4_SyracuseSequence/syracuseSequence.py
jeffvswanson/CodingPractice
9ea8e0dd504230cea0e8684b31ef22c3ed90d2fb
[ "MIT" ]
null
null
null
Python/Zelle/Chapter8_LoopStructuresBooleans/ProgrammingExercises/4_SyracuseSequence/syracuseSequence.py
jeffvswanson/CodingPractice
9ea8e0dd504230cea0e8684b31ef22c3ed90d2fb
[ "MIT" ]
null
null
null
# syracuseSequence.py # A program that prints a Syracuse sequence. """The Syracuse (also called "Collatz" or "Hailstone") sequence is generated by starting with a natural number and repeatedly applying the following function until reaching 1: syr(x) = x/2 (if x is even), 3x + 1 (if x is odd) For example, the Syracu...
30.560976
79
0.630487
178
1,253
4.438202
0.505618
0.081013
0.03038
0.058228
0.108861
0.108861
0.108861
0.108861
0.108861
0
0
0.022573
0.292897
1,253
40
80
31.325
0.869074
0.479649
0
0.086957
1
0
0.062016
0
0
0
0
0
0
1
0.086957
false
0
0
0
0.130435
0.173913
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
45c2208cd42d48ae80a6876c9b2e2896638c303c
731
py
Python
setup.py
waynew/todo-flask
3cb3c7b50e4c1b6370d63e21b23dca0ec56e9313
[ "BSD-2-Clause" ]
null
null
null
setup.py
waynew/todo-flask
3cb3c7b50e4c1b6370d63e21b23dca0ec56e9313
[ "BSD-2-Clause" ]
null
null
null
setup.py
waynew/todo-flask
3cb3c7b50e4c1b6370d63e21b23dca0ec56e9313
[ "BSD-2-Clause" ]
null
null
null
from setuptools import setup setup( name = "todo-flask", version = "0.0.1", author = "Wayne Werner", author_email = "waynejwerner@gmail.com", description = "A sample todo app written with Flask, unittest, and sqlite", license = "BSD", keywords = "example flask unittest", url = "https://...
30.458333
82
0.632011
83
731
5.493976
0.650602
0.085526
0.078947
0.096491
0.254386
0.254386
0.254386
0.254386
0.254386
0.254386
0
0.007055
0.22435
731
23
83
31.782609
0.797178
0
0
0
0
0
0.4829
0.030096
0
0
0
0
0
1
0
true
0
0.045455
0
0.045455
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
45c2d3a01088393fc4acdc16b9de54511df97676
17,834
py
Python
reveries/maya/pipeline.py
davidlatwe/reveries-config
4a282dd64a32a9b87bd1a070759b6425ff785d68
[ "MIT" ]
3
2020-04-01T10:51:17.000Z
2021-08-05T18:35:23.000Z
reveries/maya/pipeline.py
davidlatwe/reveries-config
4a282dd64a32a9b87bd1a070759b6425ff785d68
[ "MIT" ]
null
null
null
reveries/maya/pipeline.py
davidlatwe/reveries-config
4a282dd64a32a9b87bd1a070759b6425ff785d68
[ "MIT" ]
1
2020-07-05T12:06:30.000Z
2020-07-05T12:06:30.000Z
import os import logging import avalon.maya import avalon.io from collections import defaultdict from avalon.maya.pipeline import ( AVALON_CONTAINER_ID, AVALON_CONTAINERS, containerise, ) from maya import cmds from . import lib from .vendor import sticker from .capsule import namespaced, nodes_locker from...
29.236066
79
0.618313
1,993
17,834
5.364777
0.196187
0.015152
0.00795
0.007108
0.151048
0.078002
0.06229
0.055556
0.050505
0.040591
0
0.002499
0.282046
17,834
609
80
29.284072
0.832552
0.232533
0
0.114907
0
0
0.111094
0.010148
0
0
0
0.003284
0.003106
1
0.074534
false
0
0.037267
0.009317
0.173913
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
0
0
1
0
45c440eae6695f819733ad7666e871c73dcc0582
2,697
py
Python
app.py
kmr2/vefferk5
5fe8604781ed65f62a6be8e71381296693215343
[ "MIT" ]
null
null
null
app.py
kmr2/vefferk5
5fe8604781ed65f62a6be8e71381296693215343
[ "MIT" ]
null
null
null
app.py
kmr2/vefferk5
5fe8604781ed65f62a6be8e71381296693215343
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request, session, redirect, url_for import pyrebase app = Flask(__name__) app.config['SECRET_KEY'] = 'covid_19' config = { "apiKey": "AIzaSyB6L9PLOIa-y8spupA2UFiegQGN7gmp12E", "authDomain": "vefferk5.firebaseapp.com", "databaseURL": "https://vefferk5.firebaseio.c...
26.70297
88
0.622914
314
2,697
5.257962
0.363057
0.076317
0.096911
0.025439
0.307692
0.205936
0.205936
0.205936
0.205936
0.205936
0
0.029117
0.223211
2,697
100
89
26.97
0.75895
0.123841
0
0.264706
0
0
0.250744
0.044199
0
0
0
0
0
1
0.088235
false
0
0.029412
0.029412
0.264706
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
0
0
1
0
45c45593e29f001e140d37954419e1ef43c370f9
2,511
py
Python
pax/utils.py
jacr20/pax
d64d0ae4e4ec3e9bb3e61065ed92e9ea23328940
[ "BSD-3-Clause" ]
17
2016-04-24T12:02:03.000Z
2021-07-19T19:39:47.000Z
pax/utils.py
jacr20/pax
d64d0ae4e4ec3e9bb3e61065ed92e9ea23328940
[ "BSD-3-Clause" ]
300
2016-04-01T15:29:57.000Z
2021-01-03T23:59:45.000Z
pax/utils.py
jacr20/pax
d64d0ae4e4ec3e9bb3e61065ed92e9ea23328940
[ "BSD-3-Clause" ]
20
2016-04-14T15:11:26.000Z
2021-09-18T06:39:09.000Z
"""Helper routines needed in pax Please only put stuff here that you *really* can't find any other place for! e.g. a list clustering routine that isn't in some standard, library but several plugins depend on it """ import re import sys import inspect import random import string import logging import time import os im...
26.15625
103
0.657905
346
2,511
4.66474
0.479769
0.026022
0.02974
0.022305
0.055762
0.039653
0.039653
0.039653
0
0
0
0.006767
0.234966
2,511
95
104
26.431579
0.83342
0.284349
0
0.035714
0
0
0.054639
0
0
0
0
0
0
1
0.142857
false
0
0.160714
0.017857
0.482143
0.017857
0
0
0
null
0
0
0
0
0
0
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
1
0
45c86dc6e97cf9f5c6efe3cc3e929be95a0cc82d
3,251
py
Python
app/auth/forms.py
austinmcconnell/myflaskapp
79223c0480387fd95e8dd26620bf0cd50659161c
[ "BSD-3-Clause" ]
null
null
null
app/auth/forms.py
austinmcconnell/myflaskapp
79223c0480387fd95e8dd26620bf0cd50659161c
[ "BSD-3-Clause" ]
41
2018-01-21T22:49:43.000Z
2022-01-21T19:11:52.000Z
app/auth/forms.py
austinmcconnell/myflaskapp
79223c0480387fd95e8dd26620bf0cd50659161c
[ "BSD-3-Clause" ]
1
2018-02-14T23:27:56.000Z
2018-02-14T23:27:56.000Z
from flask_babel import _, lazy_gettext as _l from flask_wtf import FlaskForm from wtforms import PasswordField, StringField, SubmitField from wtforms.validators import DataRequired, Email, EqualTo, Length from app.user.models import User class RegisterForm(FlaskForm): """Register form.""" username = String...
37.802326
116
0.62996
333
3,251
5.993994
0.261261
0.099198
0.07515
0.046593
0.499499
0.342685
0.235471
0.219439
0.134269
0.134269
0
0.004037
0.238081
3,251
85
117
38.247059
0.801776
0.030145
0
0.311475
0
0
0.097694
0
0
0
0
0
0
1
0.065574
false
0.213115
0.081967
0
0.57377
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
45c8bb81a03ef5a3614a21fdea7815af182bb4cc
674
py
Python
tock/session/memory.py
elebescond/tock-py
2addcaa671be4a7af7cdf9bc061c707bbcf7128a
[ "MIT" ]
4
2020-09-05T10:08:34.000Z
2021-10-05T05:38:59.000Z
tock/session/memory.py
elebescond/tock-py
2addcaa671be4a7af7cdf9bc061c707bbcf7128a
[ "MIT" ]
16
2020-09-03T14:13:24.000Z
2021-03-22T09:54:08.000Z
tock/session/memory.py
elebescond/tock-py
2addcaa671be4a7af7cdf9bc061c707bbcf7128a
[ "MIT" ]
3
2020-09-15T09:04:06.000Z
2021-03-04T12:40:27.000Z
# -*- coding: utf-8 -*- from typing import List from tock.session.storage import Storage from tock.session.session import Session from tock.models import UserId class MemoryStorage(Storage): def __init__(self): self.__sessions: List[Session] = [] def get_session(self, user_id: UserId) -> Session: ...
26.96
54
0.648368
84
674
4.952381
0.345238
0.086538
0.09375
0.076923
0
0
0
0
0
0
0
0.002004
0.259644
674
24
55
28.083333
0.831663
0.031157
0
0
0
0
0
0
0
0
0
0
0
1
0.176471
false
0
0.235294
0
0.588235
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
0
0
1
0
45c8f3a70c973964d6c049db2cb9fbfddac2a6fa
2,607
py
Python
tests/tests.py
hamedrb/pystripe
8ffd6f64f9074562d2c8b293b57cc795bfdcc196
[ "MIT" ]
null
null
null
tests/tests.py
hamedrb/pystripe
8ffd6f64f9074562d2c8b293b57cc795bfdcc196
[ "MIT" ]
null
null
null
tests/tests.py
hamedrb/pystripe
8ffd6f64f9074562d2c8b293b57cc795bfdcc196
[ "MIT" ]
null
null
null
import numpy as np import unittest import os import tempfile # import matplotlib.pyplot as plt from pystripe import core class TestWavedec(unittest.TestCase): def test(self): img = np.eye(5) coeffs = core.wavedec(img, wavelet='db1', level=None) approx = coeffs[0] self.assertEqual(l...
31.409639
108
0.628308
366
2,607
4.434426
0.281421
0.034504
0.07024
0.088725
0.621688
0.555145
0.521257
0.40419
0.269871
0.227973
0
0.089832
0.222862
2,607
83
109
31.409639
0.711254
0.136172
0
0.25
0
0
0.006242
0
0
0
0
0
0.214286
1
0.178571
false
0
0.089286
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
45ca35a0fa15eddc046aeaf9cbdd5eec81b1f362
47
py
Python
classifier/fracture_detector/callback/__init__.py
MIPT-Oulu/DeepWrist
9c26ee8639d748671f30a7a45487885989c53fa1
[ "MIT" ]
2
2021-03-03T12:38:15.000Z
2022-03-16T10:57:28.000Z
classifier/fracture_detector/callback/__init__.py
MIPT-Oulu/DeepWrist
9c26ee8639d748671f30a7a45487885989c53fa1
[ "MIT" ]
2
2022-03-07T20:03:42.000Z
2022-03-09T10:47:42.000Z
classifier/fracture_detector/callback/__init__.py
MIPT-Oulu/DeepWrist
9c26ee8639d748671f30a7a45487885989c53fa1
[ "MIT" ]
null
null
null
from ._callback_ptl import ReleaseAfterCallback
47
47
0.914894
5
47
8.2
1
0
0
0
0
0
0
0
0
0
0
0
0.06383
47
1
47
47
0.931818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
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
1
0
1
0
1
0
0
6
45cb875e47bdd91ec509e33643403788946586df
288
py
Python
setup.py
mrshurik/mean_average_precision
36634422426ab598918d0f7449bcbc8201cf4381
[ "MIT" ]
119
2017-08-25T00:59:22.000Z
2022-01-04T11:08:38.000Z
setup.py
mrshurik/mean_average_precision
36634422426ab598918d0f7449bcbc8201cf4381
[ "MIT" ]
22
2017-10-04T03:42:43.000Z
2021-01-16T15:43:30.000Z
setup.py
mrshurik/mean_average_precision
36634422426ab598918d0f7449bcbc8201cf4381
[ "MIT" ]
46
2017-10-17T18:38:00.000Z
2021-04-09T17:47:44.000Z
from distutils.core import setup from setuptools import find_packages setup( name='mean_average_precision', version='0.1', packages=find_packages(), url='', license='MIT', author='Mathieu Garon', author_email='mathieugaron91@gmail.com', description='' )
19.2
44
0.6875
33
288
5.848485
0.787879
0.124352
0
0
0
0
0
0
0
0
0
0.017021
0.184028
288
14
45
20.571429
0.804255
0
0
0
0
0
0.225694
0.159722
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
45cd3bffb17086c822a03c780110bdb0ff225e07
38
py
Python
OctaHomeNagios/OctaFiles/__init__.py
Tomcuzz/OctaHomeAutomation
4f0c5ea8b3d5b6e67633ae9c4cb95287d2784f5e
[ "MIT" ]
4
2016-08-14T22:07:03.000Z
2020-10-05T14:43:03.000Z
OctaHomeNagios/OctaFiles/__init__.py
Tomcuzz/OctaHomeAutomation
4f0c5ea8b3d5b6e67633ae9c4cb95287d2784f5e
[ "MIT" ]
null
null
null
OctaHomeNagios/OctaFiles/__init__.py
Tomcuzz/OctaHomeAutomation
4f0c5ea8b3d5b6e67633ae9c4cb95287d2784f5e
[ "MIT" ]
null
null
null
from menus import * from urls import *
19
19
0.763158
6
38
4.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.184211
38
2
20
19
0.935484
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
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
1
0
1
0
1
0
0
6
45cd8cd79b7985a77b217cfc932114de4167b993
8,854
py
Python
third_party/lid_adversarial_subspace_detection/adaptive_attacks.py
ptrcarta/neural-fingerprinting
01fa8cb592f6fa7497c6884861adf7680ffa7f29
[ "BSD-3-Clause" ]
29
2018-03-10T04:33:25.000Z
2022-03-18T13:03:37.000Z
third_party/lid_adversarial_subspace_detection/adaptive_attacks.py
ptrcarta/neural-fingerprinting
01fa8cb592f6fa7497c6884861adf7680ffa7f29
[ "BSD-3-Clause" ]
2
2019-07-22T20:59:01.000Z
2019-11-17T07:00:00.000Z
third_party/lid_adversarial_subspace_detection/adaptive_attacks.py
StephanZheng/neural-fingerprinting
57e93e487ef324427456b14d1d81bc9e08483d27
[ "BSD-3-Clause" ]
20
2018-03-14T14:01:55.000Z
2021-09-17T19:19:56.000Z
from __future__ import absolute_import from __future__ import print_function import copy from collections import defaultdict import numpy as np import tensorflow as tf from tqdm import tqdm from six.moves import xrange import sys sys.path.append('../../.') from cleverhans.utils import other_classes from cl...
35.99187
106
0.583465
1,228
8,854
4.010586
0.219055
0.027614
0.021117
0.035736
0.39797
0.381726
0.374213
0.358376
0.315736
0.273096
0
0.014595
0.311272
8,854
245
107
36.138776
0.793047
0.200474
0
0.253165
0
0
0.017758
0
0
0
0
0.008163
0
1
0.031646
false
0
0.101266
0.006329
0.164557
0.050633
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
45cdb841e19bbd7ee0c6ca21d0ef0accbb5b6f9d
2,009
py
Python
pykit/ir/pretty.py
ContinuumIO/pyk
1730d7b831e0cf12a641ac23b5cf03e17e0dc550
[ "BSD-3-Clause" ]
9
2015-06-23T00:13:49.000Z
2022-02-23T02:46:43.000Z
pykit/ir/pretty.py
ContinuumIO/pyk
1730d7b831e0cf12a641ac23b5cf03e17e0dc550
[ "BSD-3-Clause" ]
1
2017-08-30T08:13:12.000Z
2017-08-31T06:36:32.000Z
pykit/ir/pretty.py
ContinuumIO/pyk
1730d7b831e0cf12a641ac23b5cf03e17e0dc550
[ "BSD-3-Clause" ]
7
2015-05-08T10:17:47.000Z
2021-04-01T15:00:57.000Z
# -*- coding: utf-8 -*- """ Pretty print pykit IR. """ from __future__ import print_function, division, absolute_import from pykit.utils import hashable prefix = lambda s: '%' + s indent = lambda s: '\n'.join(' ' + s for s in s.splitlines()) ejoin = "".join sjoin = " ".join ajoin = ", ".join njoin = "\n".join...
25.75641
86
0.594823
265
2,009
4.456604
0.358491
0.027096
0.013548
0
0
0
0
0
0
0
0
0.005818
0.229965
2,009
78
87
25.75641
0.757595
0.022399
0
0
0
0
0.07256
0
0
0
0
0
0
1
0.192982
false
0
0.070175
0.087719
0.491228
0.017544
0
0
0
null
0
0
0
0
0
0
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
1
0
45cea41fbca701da0133eaa849e6902c4fa1ad42
9,059
py
Python
parser.py
JonahSussman/closure-language
9cbe9e381e81dc645c8e82096366fd50a60a6d32
[ "MIT" ]
null
null
null
parser.py
JonahSussman/closure-language
9cbe9e381e81dc645c8e82096366fd50a60a6d32
[ "MIT" ]
null
null
null
parser.py
JonahSussman/closure-language
9cbe9e381e81dc645c8e82096366fd50a60a6d32
[ "MIT" ]
null
null
null
from expr import Expr from stmt import Stmt class Parser: class ParserError(Exception): pass def __init__(self, tokens): self.tokens = tokens self.c_tok = 0 def match(self, *kinds): if self.c_tok == len(self.tokens): return False for kind in kinds: if kind == self.tokens[self....
24.286863
85
0.610001
1,196
9,059
4.524247
0.10786
0.059139
0.094622
0.076511
0.494548
0.445759
0.403068
0.381445
0.347256
0.279061
0
0.007887
0.258196
9,059
372
86
24.352151
0.797321
0
0
0.467128
0
0
0.063142
0
0
0
0
0
0
1
0.100346
false
0.00346
0.00692
0.00346
0.259516
0.034602
0
0
0
null
0
0
0
0
0
0
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
1
0
45d0300dc539119af7cf8c40a9178087f5bac8ed
332
py
Python
layers/modules/__init__.py
frezaeix/AttFDNet
e4021b259e187e9180a83fcb67c029144bdd5789
[ "MIT" ]
1
2021-03-07T01:09:33.000Z
2021-03-07T01:09:33.000Z
layers/modules/__init__.py
frezaeix/AttFDNet
e4021b259e187e9180a83fcb67c029144bdd5789
[ "MIT" ]
null
null
null
layers/modules/__init__.py
frezaeix/AttFDNet
e4021b259e187e9180a83fcb67c029144bdd5789
[ "MIT" ]
null
null
null
from .multibox_tf_loss import MultiBoxLoss_tf_source from .knowledge_distillation_loss import KD_loss from .imprinted_object import search_imprinted_weights from .multibox_tf_loss_target import MultiBoxLoss_tf_target __all__ = ['MultiBoxLoss_tf_source', 'KD_loss', 'search_imprinted_weights', 'MultiBoxLoss_...
36.888889
64
0.840361
43
332
5.883721
0.372093
0.221344
0.110672
0.142292
0
0
0
0
0
0
0
0
0.105422
332
8
65
41.5
0.851852
0
0
0
0
0
0.225904
0.204819
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.333333
0
0
0
null
1
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
1
0
0
0
0
3
45d222639670f52b0e3c20513666dbe93a9ab705
549
py
Python
lab4.py
kayla-koyne/ia241-github-1
b731725ed6aabddf123713a5fe963cef53a0d2e4
[ "MIT" ]
null
null
null
lab4.py
kayla-koyne/ia241-github-1
b731725ed6aabddf123713a5fe963cef53a0d2e4
[ "MIT" ]
null
null
null
lab4.py
kayla-koyne/ia241-github-1
b731725ed6aabddf123713a5fe963cef53a0d2e4
[ "MIT" ]
null
null
null
''' lab4 ''' #3.1 my_dict= { 'name':'Tom', 'id':123 } print(my_dict) #3.2 print(my_dict.values()) print(my_dict.keys()) #3.3 my_id='321' print(my_id) #3.4 my_dict.pop('name') print(my_dict) #3.5 my_tweet= { "tweet_id":1138, "coordinates": (-75, 40), "visited_countries": ["GR", "HK", "MY"] } print(my_twee...
10.98
46
0.639344
95
549
3.473684
0.389474
0.169697
0.133333
0.209091
0.145455
0
0
0
0
0
0
0.077244
0.127505
549
49
47
11.204082
0.611691
0.058288
0
0.217391
0
0
0.247505
0
0
0
0
0
0
1
0
false
0
0
0
0
0.434783
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
1
0
2
45d40de792c24807854989ee3810dccce94912de
945
py
Python
src/TeaRoom/urls.py
graipher/TeaRoom
0beb8c2c889b8685d5b7a463206de41947c2d669
[ "MIT" ]
null
null
null
src/TeaRoom/urls.py
graipher/TeaRoom
0beb8c2c889b8685d5b7a463206de41947c2d669
[ "MIT" ]
15
2015-05-20T12:55:13.000Z
2022-03-11T23:26:40.000Z
src/TeaRoom/urls.py
graipher/TeaRoom
0beb8c2c889b8685d5b7a463206de41947c2d669
[ "MIT" ]
2
2016-11-17T11:07:41.000Z
2017-07-07T11:18:36.000Z
from django.conf.urls import patterns, include, url from django.contrib import admin from django.conf import settings from django.conf.urls.static import static import profiles.urls import accounts.urls import courses.urls import uploader.urls from . import views # Links URLs to views urlpatterns = patterns( '', ...
36.346154
76
0.71746
130
945
5.169231
0.361538
0.047619
0.0625
0.053571
0
0
0
0
0
0
0
0
0.12381
945
25
77
37.8
0.811594
0.095238
0
0
0
0
0.091549
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
45d46add472272ae767f9079eea6562c74ec4a68
2,546
py
Python
app/models.py
barbaramootian/personal_blog
0cbdf4d4c71c6dd04a0e1ce3d059ce0816179ca6
[ "Unlicense", "MIT" ]
null
null
null
app/models.py
barbaramootian/personal_blog
0cbdf4d4c71c6dd04a0e1ce3d059ce0816179ca6
[ "Unlicense", "MIT" ]
null
null
null
app/models.py
barbaramootian/personal_blog
0cbdf4d4c71c6dd04a0e1ce3d059ce0816179ca6
[ "Unlicense", "MIT" ]
null
null
null
from datetime import datetime from . import db, login_manager from flask_login import UserMixin from werkzeug.security import generate_password_hash, check_password_hash class User(db.Model, UserMixin): __tablename__ = 'users' id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(225)...
34.876712
81
0.692852
345
2,546
4.950725
0.26087
0.084309
0.105386
0.065574
0.385246
0.266979
0.227166
0.163349
0.064403
0.064403
0
0.008045
0.170071
2,546
72
82
35.361111
0.800284
0
0
0.175439
1
0
0.10055
0.026316
0
0
0
0
0
1
0.175439
false
0.175439
0.070175
0.087719
0.807018
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
1
0
0
0
0
0
2
45d79374760aed11ea1437698d8d2f46c96c56da
1,741
py
Python
hg/tests/test_tip.py
pakit/test_staging
9be9a6aa392c33926edb6f6ea6af64b4d23224ee
[ "BSD-3-Clause" ]
1
2020-10-06T02:26:24.000Z
2020-10-06T02:26:24.000Z
hg/tests/test_tip.py
pakit/test_staging
9be9a6aa392c33926edb6f6ea6af64b4d23224ee
[ "BSD-3-Clause" ]
null
null
null
hg/tests/test_tip.py
pakit/test_staging
9be9a6aa392c33926edb6f6ea6af64b4d23224ee
[ "BSD-3-Clause" ]
null
null
null
'''Test output of {tip}.''' from nose import * from util import * def _tip_rev(): opts = { 'template': '{rev}', } _ui = get_sandbox_ui() _ui.pushbuffer() commands.tip(_ui, get_sandbox_repo(), **opts) return _ui.popbuffer() def _tip_node(): opts = { 'template': '{node}', } ...
22.320513
56
0.598507
226
1,741
4.331858
0.163717
0.092952
0.157303
0.121553
0.861083
0.855975
0.803882
0.75383
0.449438
0.449438
0
0.004521
0.237794
1,741
77
57
22.61039
0.733233
0.012062
0
0.66
0
0
0.134772
0
0
0
0
0
0.22
1
0.12
false
0
0.04
0
0.2
0
0
0
0
null
0
0
0
1
1
1
1
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
4
45d7b22d2dda2ca5aca71ca725c9ff79916acd55
44
py
Python
src/fractal/world/_op/end/state.py
jedhsu/fractal
97833ddc5063fae72352cf590738fef508c02f0c
[ "MIT" ]
null
null
null
src/fractal/world/_op/end/state.py
jedhsu/fractal
97833ddc5063fae72352cf590738fef508c02f0c
[ "MIT" ]
null
null
null
src/fractal/world/_op/end/state.py
jedhsu/fractal
97833ddc5063fae72352cf590738fef508c02f0c
[ "MIT" ]
null
null
null
class EndState(metaclass=ABCMeta): pass
14.666667
34
0.75
5
44
6.6
1
0
0
0
0
0
0
0
0
0
0
0
0.159091
44
2
35
22
0.891892
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
1
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
1
1
0
0
0
0
0
5
45d7d0388364df4712cd375ea072f369e100ecba
3,542
py
Python
oocran/django/operators/views.py
howls90/oocran
9951f3ff752f9f6517a4d016476c1d1e2bb44a4d
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-12-12T10:32:16.000Z
2022-02-07T19:46:10.000Z
oocran/django/operators/views.py
howls90/oocran
9951f3ff752f9f6517a4d016476c1d1e2bb44a4d
[ "Apache-2.0", "BSD-3-Clause" ]
1
2017-01-11T06:56:35.000Z
2017-01-11T06:58:44.000Z
oocran/django/operators/views.py
howls90/OOCRAN
9951f3ff752f9f6517a4d016476c1d1e2bb44a4d
[ "Apache-2.0", "BSD-3-Clause" ]
6
2017-05-29T03:34:23.000Z
2022-02-07T19:46:11.000Z
""" Open Orchestrator Cloud Radio Access Network 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...
34.38835
115
0.709486
436
3,542
5.639908
0.341743
0.0244
0.044734
0.038634
0.230582
0.186255
0.123627
0.123627
0.123627
0.038227
0
0.005618
0.195935
3,542
103
116
34.38835
0.857795
0.160361
0
0.275362
0
0
0.142174
0.007177
0
0
0
0
0
1
0.086957
false
0.028986
0.144928
0
0.347826
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
0
0
1
0
45d7eeb536d9afa54b424f98a4bd81f25efce2fc
2,066
py
Python
ad2dispatch/news/views.py
cetaSYN/ad2dispatch
a3fa7585aaf18905d7914faaa5d1d6f584c2dab4
[ "Apache-2.0" ]
null
null
null
ad2dispatch/news/views.py
cetaSYN/ad2dispatch
a3fa7585aaf18905d7914faaa5d1d6f584c2dab4
[ "Apache-2.0" ]
29
2019-01-25T16:05:58.000Z
2020-03-21T21:18:58.000Z
ad2dispatch/news/views.py
cetaSYN/ad2dispatch
a3fa7585aaf18905d7914faaa5d1d6f584c2dab4
[ "Apache-2.0" ]
4
2019-01-25T15:55:04.000Z
2019-01-25T17:33:02.000Z
import markdown from django.http import Http404 from django.shortcuts import render from pages.models import get_top_pages from userprofiles.models import Volunteer from .models import Article def index(request): try: article_list = Article.objects.values( 'id', 'title', 'created_date').order...
29.514286
102
0.631171
231
2,066
5.502165
0.311688
0.056648
0.056648
0.033045
0.549961
0.520063
0.520063
0.455547
0.387097
0.387097
0
0.003924
0.259923
2,066
69
103
29.942029
0.827338
0.014037
0
0.436364
0
0
0.193215
0
0
0
0
0
0
1
0.036364
false
0.036364
0.109091
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
45d824fccee32ba7826f0cbb0aaa47b2a5382c06
727
py
Python
src/python/zquantum/core/history/recording_functions_with_gradient_test.py
kottmanj/z-quantum-core
21752e92e79aafedbfeb6e7ae196bdc2fd5803e4
[ "Apache-2.0" ]
null
null
null
src/python/zquantum/core/history/recording_functions_with_gradient_test.py
kottmanj/z-quantum-core
21752e92e79aafedbfeb6e7ae196bdc2fd5803e4
[ "Apache-2.0" ]
null
null
null
src/python/zquantum/core/history/recording_functions_with_gradient_test.py
kottmanj/z-quantum-core
21752e92e79aafedbfeb6e7ae196bdc2fd5803e4
[ "Apache-2.0" ]
null
null
null
"""Test cases for recording functions with gradients.""" import pytest import numpy as np from .example_functions import function_1, Function2, Function5 from .recorder import recorder from ..interfaces.functions import CallableWithGradient @pytest.mark.parametrize( "function,params", [ (function_1, n...
31.608696
77
0.72077
89
727
5.741573
0.483146
0.054795
0.031311
0
0
0
0
0
0
0
0
0.027732
0.156809
727
22
78
33.045455
0.805873
0.068776
0
0
0
0
0.022355
0
0
0
0
0
0.105263
1
0.052632
false
0
0.263158
0
0.315789
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
0
0
1
0
45da00cb76f03be18a89a07dd9e8e2426fff0cf4
15,085
py
Python
optical/converter/utils.py
hashtagml/optical
1ed11c403b5041497e5b795681b962280c4723d8
[ "MIT" ]
10
2021-04-11T04:45:54.000Z
2022-02-17T07:49:48.000Z
optical/converter/utils.py
hashtagml/optical
1ed11c403b5041497e5b795681b962280c4723d8
[ "MIT" ]
9
2021-04-13T18:09:38.000Z
2021-05-05T13:21:20.000Z
optical/converter/utils.py
hashtagml/optical
1ed11c403b5041497e5b795681b962280c4723d8
[ "MIT" ]
null
null
null
""" __author__: HashTagML license: MIT Created: Sunday, 28th March 2021 """ import json import io import os import shutil import warnings from pathlib import Path, PosixPath from typing import Any, Callable, Dict, Optional, Union import pandas as pd from lxml import etree as xml from PIL import Image import xml.etree...
34.284091
115
0.628638
2,025
15,085
4.553086
0.157037
0.024295
0.030369
0.054664
0.272993
0.20705
0.142625
0.093601
0.053579
0.053579
0
0.005372
0.234935
15,085
439
116
34.362187
0.793519
0.201061
0
0.052632
0
0
0.123787
0.02486
0
0
0
0
0.003509
1
0.080702
false
0.007018
0.045614
0.021053
0.196491
0.003509
0
0
0
null
0
0
0
0
0
0
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
1
0
45daf2ba13dd10d36a72a6b2b05dc29e34435812
2,960
py
Python
bad_requests/request.py
Ben435/BensLoadTestTool
039c28a6c46cc8b7d6284fffdbf3a5c95158daed
[ "Apache-2.0" ]
1
2018-03-08T07:09:12.000Z
2018-03-08T07:09:12.000Z
bad_requests/request.py
Ben435/BensLoadTestTool
039c28a6c46cc8b7d6284fffdbf3a5c95158daed
[ "Apache-2.0" ]
null
null
null
bad_requests/request.py
Ben435/BensLoadTestTool
039c28a6c46cc8b7d6284fffdbf3a5c95158daed
[ "Apache-2.0" ]
null
null
null
import socket import ssl from bad_requests.response import Response HTTP_STANDARD_PORTS = [80] HTTPS_STANDARD_PORTS = [443, 8080] BUFFERSIZE = 1024 class Request: def __init__(self, host, message, get_body=True): self.host = host self.message = message self.get_body = get_body def s...
30.515464
113
0.529392
352
2,960
4.338068
0.301136
0.011788
0.055665
0.058939
0.090373
0.073346
0.057629
0.057629
0
0
0
0.018605
0.346284
2,960
96
114
30.833333
0.770543
0.043243
0
0.106667
0
0
0.06551
0
0
0
0
0
0
1
0.04
false
0
0.04
0.013333
0.133333
0.04
0
0
0
null
0
0
0
0
0
0
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
1
0
45db1ddc9bbef6c02d6ebbfcea0de3c07ec3bc2b
2,055
py
Python
tests/status_test.py
araines/supervisor-newrelic
8061ced419e1603367272a42b729414a7a51ac35
[ "MIT" ]
4
2019-02-11T03:17:45.000Z
2022-01-17T19:53:03.000Z
tests/status_test.py
araines/supervisor-newrelic
8061ced419e1603367272a42b729414a7a51ac35
[ "MIT" ]
3
2016-12-24T07:30:32.000Z
2017-07-11T11:12:51.000Z
tests/status_test.py
araines/supervisor-newrelic
8061ced419e1603367272a42b729414a7a51ac35
[ "MIT" ]
2
2018-11-27T08:31:23.000Z
2021-03-04T16:59:13.000Z
import mock import unittest from StringIO import StringIO from supervisor_newrelic.status import Status def mock_request(*args, **kwargs): class MockResponse: def __init__(self, json_data, status_code): self.json_data = json_data self.status_code = status_code def json(sel...
36.052632
87
0.66618
265
2,055
4.988679
0.316981
0.061271
0.05295
0.034039
0.568079
0.568079
0.568079
0.568079
0.539334
0.539334
0
0.014724
0.206813
2,055
56
88
36.696429
0.796319
0
0
0.4
0
0
0.210219
0.067153
0
0
0
0
0.066667
1
0.155556
false
0
0.088889
0.022222
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
0
0
0
0
0
0
0
1
0
45ddecfc6b040befb28c16618390c57c59d78c8c
11,100
py
Python
tuning.py
grdavis/college-basketball-elo
b26518d3114012bac8b1994f82e7dc93099f15bf
[ "MIT" ]
6
2022-02-07T01:07:57.000Z
2022-03-28T05:49:37.000Z
tuning.py
grdavis/college-basketball-elo
b26518d3114012bac8b1994f82e7dc93099f15bf
[ "MIT" ]
4
2022-03-01T21:55:24.000Z
2022-03-29T18:49:45.000Z
tuning.py
grdavis/college-basketball-elo
b26518d3114012bac8b1994f82e7dc93099f15bf
[ "MIT" ]
2
2022-02-25T01:32:53.000Z
2022-03-03T03:45:36.000Z
import numpy as np from tqdm import tqdm import elo import utils import random import plotly.graph_objects as go from sklearn.metrics import r2_score from scipy.stats import linregress import pandas as pd from predictions import predict_tournament, ROUNDS ERRORS_START = 4 #after 4 seasons (starts counting errors 20141...
49.333333
202
0.697117
1,771
11,100
4.21118
0.229249
0.010727
0.01609
0.010324
0.239877
0.222178
0.20059
0.155001
0.105792
0.088764
0
0.050482
0.148739
11,100
225
203
49.333333
0.738808
0.635045
0
0.068966
0
0
0
0
0
0
0
0
0
1
0.091954
false
0
0.114943
0
0.264368
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
45dfa94f9d32503706cf8aacffa0d5d22fe3e19c
3,075
py
Python
aula4/classifica_junto.py
davidpvilaca/TEP
decbf61a96863d76e1b84dc097aa37b12038aa75
[ "MIT" ]
2
2017-08-28T18:24:47.000Z
2019-08-29T03:34:15.000Z
aula4/classifica_junto.py
davidpvilaca/TEP
decbf61a96863d76e1b84dc097aa37b12038aa75
[ "MIT" ]
null
null
null
aula4/classifica_junto.py
davidpvilaca/TEP
decbf61a96863d76e1b84dc097aa37b12038aa75
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Aug 19 13:21:45 2017 @author: davidpvilaca """ import matplotlib.pyplot as plt import numpy as np import cv2 def getHist(arr_img): hists = [] sm = [] for img in arr_img: hist = cv2.calcHist([img], [0, 1, 2], None, [8, 8, 8], [0, 2...
27.954545
113
0.506341
330
3,075
4.660606
0.393939
0.117035
0.117035
0.035111
0.044213
0
0
0
0
0
0
0.052088
0.338211
3,075
110
114
27.954545
0.703686
0.040976
0
0.133333
0
0
0.124872
0
0
0
0
0
0.011111
1
0.044444
false
0
0.033333
0
0.111111
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
0
0
1
0
45dfb1283861c5bba5c59b6a90a79e3eb6fa9f46
8,005
py
Python
package_management/package_manager.py
m-j/ziprepo-server
35c1f40c3ba5489fb8731e8d66b301333dc9f8b0
[ "MIT" ]
null
null
null
package_management/package_manager.py
m-j/ziprepo-server
35c1f40c3ba5489fb8731e8d66b301333dc9f8b0
[ "MIT" ]
null
null
null
package_management/package_manager.py
m-j/ziprepo-server
35c1f40c3ba5489fb8731e8d66b301333dc9f8b0
[ "MIT" ]
null
null
null
import copy import json import logging import os import shutil from distutils.version import LooseVersion from threading import Lock from typing import List, Dict, Optional from zipfile import ZipFile import aiofiles from tornado.ioloop import IOLoop from package_management.constants import zpspec_filename, package_n...
41.262887
132
0.713679
1,008
8,005
5.314484
0.170635
0.086242
0.053761
0.035281
0.446892
0.326675
0.278141
0.234646
0.152697
0.132164
0
0.00208
0.219363
8,005
193
133
41.476684
0.855177
0.018364
0
0.207143
0
0
0.068518
0.00917
0
0
0
0.005181
0
1
0.078571
false
0
0.128571
0.014286
0.307143
0.014286
0
0
0
null
0
0
0
0
0
0
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
1
0
45e14d9917c6a309e9123db8edeb4be716e89467
631
py
Python
wordsToQubits/encoding/word_to_binar.py
VoicuTomut/Qountry
841467eca5704fd24c49000668f739cae8155b59
[ "MIT" ]
null
null
null
wordsToQubits/encoding/word_to_binar.py
VoicuTomut/Qountry
841467eca5704fd24c49000668f739cae8155b59
[ "MIT" ]
null
null
null
wordsToQubits/encoding/word_to_binar.py
VoicuTomut/Qountry
841467eca5704fd24c49000668f739cae8155b59
[ "MIT" ]
null
null
null
""" encode the word on a pure state. """ import pennylane as qml def put_word_on_qubits(word_rep, qubits, base="X"): """ :param word_rep: "00..10..0" :param qubits: :param base: """ word_rep = str(word_rep) if base == "X": for i in range(len(word_rep)): if word_rep[i]...
22.535714
51
0.496038
93
631
3.225806
0.365591
0.233333
0.12
0.11
0.35
0.35
0.35
0.35
0.35
0.35
0
0.019277
0.342314
631
27
52
23.37037
0.703614
0.141046
0
0.4
0
0
0.013725
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.133333
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
45e194e23cc8440b698a5029bc927b2512c3eb9c
17,667
py
Python
cell2location/models/base/_pyro_mixin.py
jjhong922/cell2location
2c2eb49aa3c0263fe8c6d45baf4ca0345baf21d9
[ "Apache-2.0" ]
null
null
null
cell2location/models/base/_pyro_mixin.py
jjhong922/cell2location
2c2eb49aa3c0263fe8c6d45baf4ca0345baf21d9
[ "Apache-2.0" ]
null
null
null
cell2location/models/base/_pyro_mixin.py
jjhong922/cell2location
2c2eb49aa3c0263fe8c6d45baf4ca0345baf21d9
[ "Apache-2.0" ]
null
null
null
from datetime import date from functools import partial import matplotlib import matplotlib.pyplot as plt import numpy as np import pandas as pd import pyro import torch from pyro import poutine from pyro.infer.autoguide import AutoNormal, init_to_mean from scipy.sparse import issparse from scvi import _CONSTANTS from...
35.263473
119
0.582159
2,068
17,667
4.758221
0.182785
0.03435
0.009756
0.011382
0.430996
0.367988
0.32002
0.302033
0.273984
0.273984
0
0.009895
0.319296
17,667
500
120
35.334
0.808332
0.25058
0
0.254417
0
0
0.077186
0.015209
0
0
0
0.002
0
1
0.060071
false
0
0.056537
0.007067
0.190813
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
0
0
1
0
45e2441449b8a57f4c898888fafc70417c101445
570
py
Python
mayan/apps/sources/literals.py
atitaya1412/Mayan-EDMS
bda9302ba4b743e7d829ad118b8b836221888172
[ "Apache-2.0" ]
343
2015-01-05T14:19:35.000Z
2018-12-10T19:07:48.000Z
mayan/apps/sources/literals.py
atitaya1412/Mayan-EDMS
bda9302ba4b743e7d829ad118b8b836221888172
[ "Apache-2.0" ]
191
2015-01-03T00:48:19.000Z
2018-11-30T09:10:25.000Z
mayan/apps/sources/literals.py
atitaya1412/Mayan-EDMS
bda9302ba4b743e7d829ad118b8b836221888172
[ "Apache-2.0" ]
114
2015-01-08T20:21:05.000Z
2018-12-10T19:07:53.000Z
import os from django.conf import settings DEFAULT_BINARY_SCANIMAGE_PATH = '/usr/bin/scanimage' DEFAULT_SOURCES_BACKEND_ARGUMENTS = { 'mayan.apps.sources.source_backends.SourceBackendSANEScanner': { 'scanimage_path': DEFAULT_BINARY_SCANIMAGE_PATH } } DEFAULT_SOURCES_CACHE_STORAGE_BACKEND = 'django.cor...
30
85
0.815789
68
570
6.367647
0.5
0.12933
0.101617
0.120092
0.152425
0
0
0
0
0
0
0.005859
0.101754
570
18
86
31.666667
0.839844
0
0
0
0
0
0.307018
0.215789
0
0
0
0
0
1
0
false
0
0.142857
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
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
45e3e43df6217404133f05bdb8876753107b0f86
3,050
py
Python
test/test14_advanced_search.py
kyu-su/pixplusPlus
2813771c8292ea05d0fd9e7e6b1f4a71e2aba1f8
[ "MIT" ]
null
null
null
test/test14_advanced_search.py
kyu-su/pixplusPlus
2813771c8292ea05d0fd9e7e6b1f4a71e2aba1f8
[ "MIT" ]
null
null
null
test/test14_advanced_search.py
kyu-su/pixplusPlus
2813771c8292ea05d0fd9e7e6b1f4a71e2aba1f8
[ "MIT" ]
null
null
null
import warnings import time import random import util from test_base import TestCase class Test_AdvancedSearch(TestCase): def get_radio(self, name): return self.q('#search-option .content form input[type="radio"][name="%s"]:checked' % name) def set_size(self, wlt, hlt, wgt, hgt): for name in 'wlt', 'hlt...
32.795699
99
0.639672
464
3,050
4.099138
0.262931
0.11041
0.028391
0.037855
0.445321
0.360147
0.284437
0.284437
0.284437
0.258675
0
0.013242
0.182951
3,050
92
100
33.152174
0.75
0.064262
0
0.253731
0
0
0.164326
0.066362
0
0
0
0
0.223881
1
0.074627
false
0
0.074627
0.014925
0.19403
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
0
0
1
0
45e52e60e920306770881bdab0e81dba6a9ab8d4
511
py
Python
cogs/help/onHelpMessage.py
Narzaru/AiShindou
01daa4e51c5d19b0fa39ab7dff24adad6d764976
[ "BSD-2-Clause" ]
null
null
null
cogs/help/onHelpMessage.py
Narzaru/AiShindou
01daa4e51c5d19b0fa39ab7dff24adad6d764976
[ "BSD-2-Clause" ]
null
null
null
cogs/help/onHelpMessage.py
Narzaru/AiShindou
01daa4e51c5d19b0fa39ab7dff24adad6d764976
[ "BSD-2-Clause" ]
null
null
null
import discord from discord.ext import commands from service.utils import TemplateColours class Help_command(commands.MinimalHelpCommand): async def send_pages(self): ctx = self.get_destination() self.paginator.suffix = "\nif something is wrong, he is to blame\n ---> <@202011264589758464>" ...
36.5
114
0.716243
61
511
5.95082
0.655738
0.071625
0
0
0
0
0
0
0
0
0
0.043269
0.18591
511
13
115
39.307692
0.829327
0
0
0
0
0
0.189824
0.097847
0
0
0
0
0
1
0
false
0
0.3
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
0
0
0
0
1
0