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
8849a2cc379ce355d20d46bf08dbb2ec59e559cc
1,606
py
Python
dagger/runtime/local/types.py
raztud/dagger
7b394138c139e3b4fdf228e3d34359f1ae6bdd7a
[ "Apache-2.0" ]
9
2021-09-06T14:22:38.000Z
2022-02-08T07:48:39.000Z
dagger/runtime/local/types.py
raztud/dagger
7b394138c139e3b4fdf228e3d34359f1ae6bdd7a
[ "Apache-2.0" ]
36
2021-09-04T06:20:19.000Z
2021-12-26T17:54:59.000Z
dagger/runtime/local/types.py
raztud/dagger
7b394138c139e3b4fdf228e3d34359f1ae6bdd7a
[ "Apache-2.0" ]
4
2021-09-06T08:07:19.000Z
2021-10-18T19:13:18.000Z
"""Data types used for local invocations.""" from typing import Any, Generic, Iterable, Iterator, Mapping, NamedTuple, TypeVar, Union from dagger.serializer import Serializer T = TypeVar("T") class OutputFile(NamedTuple): """Represents a file in the local file system that holds the serialized value for a node ...
32.77551
113
0.711083
206
1,606
5.446602
0.412621
0.022282
0.018717
0.046346
0
0
0
0
0
0
0
0
0.196762
1,606
48
114
33.458333
0.869767
0.4533
0
0
0
0
0.001192
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.65
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
885943efd318054d86fb6286f69908174bfd973b
2,121
py
Python
mirrormanager2/lib/pid.py
Devyani-Divs/mirrormanager2
c56bfdb363608c5ea701ce8f089ab1b09abc4de9
[ "MIT" ]
1
2015-11-08T08:56:33.000Z
2015-11-08T08:56:33.000Z
mirrormanager2/lib/pid.py
Devyani-Divs/mirrormanager2
c56bfdb363608c5ea701ce8f089ab1b09abc4de9
[ "MIT" ]
null
null
null
mirrormanager2/lib/pid.py
Devyani-Divs/mirrormanager2
c56bfdb363608c5ea701ce8f089ab1b09abc4de9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright © 2014 Red Hat, Inc. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions # of the GNU General Public License v.2, or (at your option) any later # version. This program is distributed in t...
30.73913
72
0.69637
309
2,121
4.750809
0.501618
0.057221
0.035422
0.051771
0.13079
0.038147
0
0
0
0
0
0.017586
0.222537
2,121
68
73
31.191176
0.872044
0.477133
0
0.233333
0
0
0.004386
0
0
0
0
0
0
0
null
null
0
0.033333
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
88679dfffc3697036fdede3c85918178a75cdb7b
1,286
py
Python
flask_restful_swagger/resources/static_files.py
flask-restful-swagger/flask-restful-swagger
a7acd9c70b61b821028779f432b3554d54b7b61f
[ "MIT" ]
21
2016-03-19T09:19:16.000Z
2020-12-07T22:09:06.000Z
flask_restful_swagger/resources/static_files.py
flask-restful-swagger/flask-restful-swagger
a7acd9c70b61b821028779f432b3554d54b7b61f
[ "MIT" ]
12
2016-03-25T09:06:40.000Z
2019-06-06T19:22:05.000Z
flask_restful_swagger/resources/static_files.py
flask-restful-swagger/flask-restful-swagger
a7acd9c70b61b821028779f432b3554d54b7b61f
[ "MIT" ]
12
2016-03-16T09:40:51.000Z
2020-12-07T22:09:11.000Z
# -*- coding: utf-8 -*- import mimetypes import os from flask import abort, send_file from flask_restful import Resource from flask_restful_swagger import root_path from flask_restful_swagger.registry import get_current_registry from flask_restful_swagger.utils import render_page __author__ = 'sobolevn' class Sta...
28.577778
76
0.619751
162
1,286
4.691358
0.450617
0.094737
0.084211
0.090789
0
0
0
0
0
0
0
0.006486
0.280715
1,286
44
77
29.227273
0.815135
0.080093
0
0
0
0
0.109415
0
0
0
0
0.022727
0
1
0.03125
false
0
0.21875
0
0.34375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
886aaafc55837ed03a8a0f5d0d5001345c944ab2
411
py
Python
docs/_config/cakephpbranch.py
asgraf/crud
bb3d131f79c44fdc4a34a0408370fcabce50a8a3
[ "MIT" ]
null
null
null
docs/_config/cakephpbranch.py
asgraf/crud
bb3d131f79c44fdc4a34a0408370fcabce50a8a3
[ "MIT" ]
null
null
null
docs/_config/cakephpbranch.py
asgraf/crud
bb3d131f79c44fdc4a34a0408370fcabce50a8a3
[ "MIT" ]
null
null
null
import os from sphinx.util.osutil import SEP """ CakePHP Git branch extension. A simple sphinx extension for adding the GitHub branch name of the docs' version. """ def setup(app): app.connect('html-page-context', append_template_ctx) app.add_config_value('branch', '', True) return app def append_templa...
22.833333
69
0.734793
60
411
4.916667
0.666667
0.094915
0.115254
0.135593
0
0
0
0
0
0
0
0
0.155718
411
17
70
24.176471
0.850144
0
0
0
0
0
0.099656
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
886fa3544da9f2fa1cc86185f0cae8dee173cd59
2,406
py
Python
annodb/lib/Cytoband.py
always-waiting/Django-Xromate
1fb5b4bbdfac9549622c5714971095325f201a96
[ "MIT" ]
null
null
null
annodb/lib/Cytoband.py
always-waiting/Django-Xromate
1fb5b4bbdfac9549622c5714971095325f201a96
[ "MIT" ]
null
null
null
annodb/lib/Cytoband.py
always-waiting/Django-Xromate
1fb5b4bbdfac9549622c5714971095325f201a96
[ "MIT" ]
null
null
null
#encoding: utf-8 """ 注释数据库的cytoband表 """ import mongoengine as mongoe from annodb.apps import AnnodbConfig, dumpstring import re class Cytoband(mongoe.Document): """ collection name: cytoband """ meta = { 'db_alias': AnnodbConfig.alias, } description = mongoe.StringField() name = ...
33.887324
114
0.49335
277
2,406
4.223827
0.34657
0.05812
0.022222
0.030769
0.061538
0.061538
0.061538
0.061538
0
0
0
0.017666
0.34123
2,406
70
115
34.371429
0.720505
0.099335
0
0.14
0
0.02
0.097468
0.016245
0
0
0
0
0
0
null
null
0
0.06
null
null
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
1
0
0
0
0
0
0
0
0
1
88780afd73cb02be278d019b4ed1e3332e3efced
2,689
py
Python
transforms.py
Rars-project/mousepy
5c0722afa2f1a46ffb61dc055e0bb53c1be944d2
[ "MIT" ]
3
2020-11-22T09:29:44.000Z
2021-05-25T05:39:06.000Z
transforms.py
Rars-project/mousepy
5c0722afa2f1a46ffb61dc055e0bb53c1be944d2
[ "MIT" ]
3
2020-11-10T08:25:47.000Z
2021-05-13T12:10:12.000Z
transforms.py
Rars-project/mousepy
5c0722afa2f1a46ffb61dc055e0bb53c1be944d2
[ "MIT" ]
null
null
null
from torchvision.transforms import * import numbers import random from PIL import Image class GroupToTensor(object): def __init__(self): pass def __call__(self, img_group): return [ToTensor()(img) for img in img_group] class GroupCenterCrop(object): def __init__(self, size): self.size = size def __call__(s...
24.008929
61
0.677203
434
2,689
3.921659
0.186636
0.098707
0.068743
0.089894
0.592244
0.537015
0.478848
0.464747
0.464747
0.445946
0
0.014117
0.18334
2,689
112
62
24.008929
0.760929
0.021569
0
0.534091
0
0
0.004566
0
0
0
0
0.008929
0.022727
1
0.204545
false
0.011364
0.045455
0.034091
0.477273
0.022727
0
0
0
null
0
0
0
0
0
0
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
88840c1427db821d56126a9b2e6629f2330f9fa6
1,121
py
Python
greens/main.py
grillazz/fastapi-mongodb
f3a38d93a1255d69218cee9a884bd862c50313be
[ "MIT" ]
4
2021-12-09T20:11:34.000Z
2022-03-01T20:31:23.000Z
greens/main.py
grillazz/fastapi-mongodb
f3a38d93a1255d69218cee9a884bd862c50313be
[ "MIT" ]
10
2021-09-27T13:03:28.000Z
2022-02-27T10:28:21.000Z
greens/main.py
grillazz/fastapi-mongodb
f3a38d93a1255d69218cee9a884bd862c50313be
[ "MIT" ]
null
null
null
from fastapi import FastAPI from greens import config from greens.routers import router as v1 from greens.services.repository import get_mongo_meta from greens.utils import get_logger, init_mongo global_settings = config.get_settings() if global_settings.environment == "local": get_logger("uvicorn") app = FastA...
27.341463
94
0.726137
157
1,121
4.993631
0.43949
0.071429
0.071429
0.058673
0
0
0
0
0
0
0
0.00639
0.162355
1,121
40
95
28.025
0.828541
0.143622
0
0
0
0
0.119874
0
0
0
0
0.025
0
1
0
false
0
0.217391
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
888d827381e0e9b58bf0a0983b6023cef7e60fba
958
py
Python
QCL_gui/comms.py
alex123go/QCL_controllerViaArduino
f9d174ecc6af45be27d6634df9315bdcfa83865c
[ "MIT" ]
null
null
null
QCL_gui/comms.py
alex123go/QCL_controllerViaArduino
f9d174ecc6af45be27d6634df9315bdcfa83865c
[ "MIT" ]
null
null
null
QCL_gui/comms.py
alex123go/QCL_controllerViaArduino
f9d174ecc6af45be27d6634df9315bdcfa83865c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Jan 8 00:34:40 2021 @author: Alex1 """ import serial import time class QCL_comms(): """docstring for QCL_comms""" def __init__(self, arg=None): super(QCL_comms, self).__init__() self.arg = arg self.serActive = False def connect(self,port = 'COM9'): self.ser =...
19.55102
42
0.669102
145
958
4.331034
0.448276
0.066879
0.035032
0.066879
0.156051
0.156051
0.095541
0
0
0
0
0.0325
0.164927
958
48
43
19.958333
0.7525
0.149269
0
0.142857
0
0
0.02625
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.321429
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
88923d016f4a79bd13dcece4e88a95830c0b4a16
11,323
py
Python
graphing/tests/diagram_maker.py
jonsim/robin-project
cda857312cc448b4475756bcf1c4229e74fa8d20
[ "MIT" ]
null
null
null
graphing/tests/diagram_maker.py
jonsim/robin-project
cda857312cc448b4475756bcf1c4229e74fa8d20
[ "MIT" ]
null
null
null
graphing/tests/diagram_maker.py
jonsim/robin-project
cda857312cc448b4475756bcf1c4229e74fa8d20
[ "MIT" ]
null
null
null
#!/usr/bin/python #--------------------------------------------------------------# # DESCRIPTION # # Takes a csv (must be comma separated ONLY) where each line # # represents a single pixel row and each value represents # # the z values for each corresponding p...
29.486979
150
0.53537
1,591
11,323
3.692646
0.221245
0.008851
0.006128
0.011234
0.182468
0.126809
0.094298
0.086128
0.086128
0.078298
0
0.089733
0.276605
11,323
383
151
29.563969
0.627518
0.212753
0
0.151042
0
0.005208
0.072321
0
0
0
0
0
0
0
null
null
0
0.052083
null
null
0.026042
0
0
0
null
0
0
0
0
0
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
889a7aad2ff1d55cfc94e99278cda4cf9bda4342
893
py
Python
src/filenames_server.py
jonlwowski012/DropboxROS
e6fd3151aff8400f4f906f2fc5ce0236822dccf9
[ "Apache-2.0" ]
null
null
null
src/filenames_server.py
jonlwowski012/DropboxROS
e6fd3151aff8400f4f906f2fc5ce0236822dccf9
[ "Apache-2.0" ]
null
null
null
src/filenames_server.py
jonlwowski012/DropboxROS
e6fd3151aff8400f4f906f2fc5ce0236822dccf9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from dropboxros.srv import * from dropboxros.msg import username, filenames import rospy import os def handle_checkfiles(req): filenames_cli = filenames() all_filenames = [f for f in os.listdir('.') if os.path.isfile(f)] client_files = [] filetimes=[] for filename in all_filenames: print r...
27.060606
76
0.74804
120
893
5.341667
0.45
0.056162
0.065523
0
0
0
0
0
0
0
0
0.005148
0.129899
893
32
77
27.90625
0.81982
0.022396
0
0
0
0
0.080275
0.026376
0
0
0
0
0
0
null
null
0
0.148148
null
null
0.074074
0
0
0
null
0
0
0
0
0
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
88a9276b391f472aac9752caa30962748839bc9a
4,143
py
Python
libs/linearmodel.py
kuod/pygcta
b7a82d14b065904dcb47640e8bbad0ca04761ee4
[ "MIT" ]
1
2016-03-03T16:32:29.000Z
2016-03-03T16:32:29.000Z
libs/linearmodel.py
kuod/pygcta
b7a82d14b065904dcb47640e8bbad0ca04761ee4
[ "MIT" ]
null
null
null
libs/linearmodel.py
kuod/pygcta
b7a82d14b065904dcb47640e8bbad0ca04761ee4
[ "MIT" ]
null
null
null
import numpy as np import numpy.linalg as la import pdb class pygcta(object): """ class for pygcta """ def __init__(self, Y = None, K = None, X = None): """ Constructor Y: Phenotype OBJECT K: LIST of kernels TODO: add covariates later """ se...
29.176056
152
0.510017
627
4,143
3.282297
0.240829
0.034014
0.014577
0.019436
0.212828
0.167153
0.152575
0.152575
0.152575
0.152575
0
0.01649
0.341299
4,143
141
153
29.382979
0.737633
0.064687
0
0.184211
0
0
0.068824
0
0
0
0
0.007092
0.013158
0
null
null
0.026316
0.039474
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
88afad722790c14e562b195acce7c6842c0dad80
1,755
py
Python
crawler-demo/GPA.py
colddew/mix-python
4d6280dde02839bbf29f2c6660828a50086fb8f8
[ "MIT" ]
1
2017-09-02T13:43:08.000Z
2017-09-02T13:43:08.000Z
crawler-demo/GPA.py
colddew/mix-python
4d6280dde02839bbf29f2c6660828a50086fb8f8
[ "MIT" ]
null
null
null
crawler-demo/GPA.py
colddew/mix-python
4d6280dde02839bbf29f2c6660828a50086fb8f8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import urllib import urllib2 import cookielib import re import string # 绩点运算 class SDU: # 类的初始化 def __init__(self): # 登录URL self.loginUrl = 'http://jwxt.sdu.edu.cn:7890/pls/wwwbks/bks_login2.login' # 成绩URL self.gradeUrl = 'http://jwxt.sdu.edu.cn:7890/pl...
27.857143
117
0.54245
202
1,755
4.643564
0.460396
0.017058
0.022388
0.025586
0.116205
0.071429
0.071429
0.071429
0
0
0
0.025765
0.292308
1,755
62
118
28.306452
0.729469
0.065527
0
0
0
0.025
0.143385
0.044923
0
0
0
0
0
0
null
null
0
0.125
null
null
0.025
0
0
0
null
0
0
0
0
0
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
88b161d70bb74d5ce1cdfdef84a9ab4306c7f3c1
865
py
Python
resources/constants.py
kuntzer/SALSA-public
79fd601d3999ac977bbc97be010b2c4ef81e4c35
[ "BSD-3-Clause" ]
1
2021-07-30T09:59:41.000Z
2021-07-30T09:59:41.000Z
resources/constants.py
kuntzer/SALSA-public
79fd601d3999ac977bbc97be010b2c4ef81e4c35
[ "BSD-3-Clause" ]
null
null
null
resources/constants.py
kuntzer/SALSA-public
79fd601d3999ac977bbc97be010b2c4ef81e4c35
[ "BSD-3-Clause" ]
1
2021-07-30T10:38:54.000Z
2021-07-30T10:38:54.000Z
# Speed of light in m/s speed_light = 299792458 # J s Planck_constant = 6.626e-34 # m Wavelenght of band V wavelenght_visual = 550e-9 # flux density (Jy) in V for a 0 mag star Fv = 3640.0 # photons s-1 m-2 in Jy Jy = 1.51e7 #1 rad = 57.3 grad RAD = 57.29578 # 1 AU ib cn AU = 149.59787e11 # Radius in cm R_Earth =...
17.3
73
0.700578
169
865
3.502959
0.573965
0.065878
0.076014
0.086149
0.091216
0
0
0
0
0
0
0.24238
0.203468
865
49
74
17.653061
0.616836
0.544509
0
0
0
0
0.007979
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
31f1e15db446ea3c3af96e18c60a6b2f5449c7df
390
py
Python
app/core/migrations/0026_boec_unreadactivitycount.py
VMatyagin/recipe-rest
46e456330458a71b3315163a68ad82b8e58ca365
[ "MIT" ]
null
null
null
app/core/migrations/0026_boec_unreadactivitycount.py
VMatyagin/recipe-rest
46e456330458a71b3315163a68ad82b8e58ca365
[ "MIT" ]
1
2022-03-11T14:25:08.000Z
2022-03-11T14:25:08.000Z
app/core/migrations/0026_boec_unreadactivitycount.py
VMatyagin/recipe-rest
46e456330458a71b3315163a68ad82b8e58ca365
[ "MIT" ]
null
null
null
# Generated by Django 3.1.13 on 2021-07-16 09:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("core", "0025_activity_warning"), ] operations = [ migrations.AddField( model_name="boec", name="unreadActivityCount...
20.526316
49
0.602564
40
390
5.8
0.85
0
0
0
0
0
0
0
0
0
0
0.075269
0.284615
390
18
50
21.666667
0.756272
0.117949
0
0
1
0
0.140351
0.061404
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
31f556d3d6ea0c382b77b405f95d1a39b08d9698
2,679
py
Python
plans/migrations/0005_recurring_payments.py
feedgurus/django-plans
cdb9019fa8651dc848a611e341a38e8275f1dbe3
[ "MIT" ]
240
2018-08-10T04:01:15.000Z
2022-03-25T06:49:56.000Z
plans/migrations/0005_recurring_payments.py
feedgurus/django-plans
cdb9019fa8651dc848a611e341a38e8275f1dbe3
[ "MIT" ]
76
2018-07-29T12:37:44.000Z
2022-03-29T19:38:52.000Z
plans/migrations/0005_recurring_payments.py
feedgurus/django-plans
cdb9019fa8651dc848a611e341a38e8275f1dbe3
[ "MIT" ]
55
2018-08-06T12:25:04.000Z
2022-03-21T19:52:43.000Z
# Generated by Django 3.0.5 on 2020-04-15 07:32 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('plans', '0004_create_user_plans'), ] operations = [ migrations.AddField( model_name='planpricin...
58.23913
243
0.659948
311
2,679
5.533762
0.347267
0.063916
0.025567
0.04416
0.441604
0.441604
0.3405
0.22545
0.175479
0.175479
0
0.014232
0.213139
2,679
45
244
59.533333
0.802182
0.016797
0
0.25641
1
0.025641
0.240122
0.024316
0
0
0
0
0
1
0
false
0
0.051282
0
0.128205
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
31fa622fa8e904607330e829284532a853941476
3,003
py
Python
qtop.py
tinaba96/fn2q
cbee3ecaf30563826172a3c2e86cd82458fe08e3
[ "Apache-2.0" ]
null
null
null
qtop.py
tinaba96/fn2q
cbee3ecaf30563826172a3c2e86cd82458fe08e3
[ "Apache-2.0" ]
null
null
null
qtop.py
tinaba96/fn2q
cbee3ecaf30563826172a3c2e86cd82458fe08e3
[ "Apache-2.0" ]
null
null
null
import torch.nn as nn import numpy class qtop(): # quantization operators def __init__(self, model, bw): self.lev = pow(2., int(bw) - 1) #quantization levels #self.max = (self.lev - 1.) / self.lev #maximum number #self.max = (self.lev - 1.) / (self.lev*2.0) #maximum number ...
42.295775
76
0.562105
397
3,003
4.120907
0.18136
0.072738
0.145477
0.174817
0.539731
0.488998
0.432763
0.40709
0.368582
0.326406
0
0.030332
0.308358
3,003
70
77
42.9
0.757342
0.279054
0
0.173913
0
0
0.00145
0
0
0
0
0
0
1
0.130435
false
0
0.043478
0
0.195652
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
31fa8dc5af0963a71eaeacbd55db31c72c0b792a
1,101
py
Python
22_Generate Parentheses.py
jasoriya/leetcode
07193f3d79fc3b10b2e9d7cef0de2d8a93759d6d
[ "MIT" ]
null
null
null
22_Generate Parentheses.py
jasoriya/leetcode
07193f3d79fc3b10b2e9d7cef0de2d8a93759d6d
[ "MIT" ]
null
null
null
22_Generate Parentheses.py
jasoriya/leetcode
07193f3d79fc3b10b2e9d7cef0de2d8a93759d6d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed May 15 13:26:06 2019 @author: Shreyans """ """ Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: [ "((()))", "(()())", "(())()", "()(())", "()()()"...
26.853659
104
0.501362
126
1,101
4.269841
0.539683
0.078067
0.048327
0.063197
0
0
0
0
0
0
0
0.030429
0.343324
1,101
40
105
27.525
0.713693
0.09446
0
0
1
0
0.008253
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
31ffdf8e94530736c021ce0cdfdd1a1fcf6317d0
5,751
py
Python
ranking/bayesian_sets.py
kienpt/site_discovery_public
61440a8400bcc018c4dd9f8d2a810971ef548d8e
[ "Apache-1.1" ]
4
2020-10-12T14:26:36.000Z
2021-08-19T17:26:00.000Z
ranking/bayesian_sets.py
kienpt/site_discovery_public
61440a8400bcc018c4dd9f8d2a810971ef548d8e
[ "Apache-1.1" ]
null
null
null
ranking/bayesian_sets.py
kienpt/site_discovery_public
61440a8400bcc018c4dd9f8d2a810971ef548d8e
[ "Apache-1.1" ]
null
null
null
from math import sqrt from numpy import * import numpy as np import sys from sklearn.feature_extraction.text import CountVectorizer from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.decomposition import NMF from sklearn.decomposition import PCA from sklearn.decomposition import TruncatedSVD from ...
40.5
184
0.616936
779
5,751
4.414634
0.238768
0.034022
0.024426
0.030532
0.309974
0.224193
0.174179
0.174179
0.174179
0.174179
0
0.014496
0.268301
5,751
141
185
40.787234
0.802757
0.149365
0
0.182692
0
0
0.071397
0
0
0
0
0
0
0
null
null
0
0.096154
null
null
0.144231
0
0
0
null
0
0
0
0
0
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
ee01405199aa354afc6ae6eea478f773850f75ba
1,073
py
Python
py/orbit/injection/__init__.py
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
17
2018-02-09T23:39:06.000Z
2022-03-04T16:27:04.000Z
py/orbit/injection/__init__.py
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
22
2017-05-31T19:40:14.000Z
2021-09-24T22:07:47.000Z
py/orbit/injection/__init__.py
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
37
2016-12-08T19:39:35.000Z
2022-02-11T19:59:34.000Z
## \namespace orbit::injection ## \brief These classes are for turn by turn injection of particles. ## ## Classes: ## - InjectParts - Class. Does the turn by turn injection ## - Joho - Class for generating JOHO style particle distributions ## - addTeapotInjectionNode - Adds an injection node to a teapot lattic...
39.740741
112
0.812675
103
1,073
8.038835
0.427184
0.108696
0.024155
0.045894
0
0
0
0
0
0
0
0
0.10438
1,073
26
113
41.269231
0.861603
0.338304
0
0
0
0
0.231214
0.031792
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
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
ee17216ba3d621105a01b8ea844b5782373a584b
3,717
py
Python
lucent/optvis/param/lowres.py
TomFrederik/lucent
266e45832fbfb65f77c0c7ad907c7c51627bf567
[ "Apache-2.0" ]
2
2022-01-14T13:58:51.000Z
2022-01-25T16:06:55.000Z
lucent/optvis/param/lowres.py
TomFrederik/lucent
266e45832fbfb65f77c0c7ad907c7c51627bf567
[ "Apache-2.0" ]
null
null
null
lucent/optvis/param/lowres.py
TomFrederik/lucent
266e45832fbfb65f77c0c7ad907c7c51627bf567
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 The Lucent Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
47.653846
149
0.665321
534
3,717
4.595506
0.404494
0.02445
0.028525
0.03097
0.118989
0.082315
0.046455
0
0
0
0
0.009352
0.223298
3,717
78
150
47.653846
0.840665
0.559053
0
0.060606
0
0
0.072586
0
0
0
0
0.025641
0
1
0.060606
false
0.030303
0.181818
0
0.30303
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ee1e9148a8f0ea8740745168fdc9f9fb766da69a
1,570
py
Python
RFIDIOt-master/hitag2brute.py
kaosbeat/datakamp
7ac90249b34aa4c3604fa4965ab124ab82d64ac3
[ "MIT" ]
null
null
null
RFIDIOt-master/hitag2brute.py
kaosbeat/datakamp
7ac90249b34aa4c3604fa4965ab124ab82d64ac3
[ "MIT" ]
null
null
null
RFIDIOt-master/hitag2brute.py
kaosbeat/datakamp
7ac90249b34aa4c3604fa4965ab124ab82d64ac3
[ "MIT" ]
null
null
null
#!/usr/bin/python # hitag2brute.py - Brute Force hitag2 password # # Adam Laurie <adam@algroup.co.uk> # http://rfidiot.org/ # # This code is copyright (c) Adam Laurie, 2008, All rights reserved. # For non-commercial use only, the following terms apply - for all other # uses, please contact the author: # # ...
22.428571
73
0.67707
244
1,570
4.336066
0.553279
0.028355
0.028355
0.035917
0.049149
0
0
0
0
0
0
0.021224
0.219745
1,570
69
74
22.753623
0.842449
0.51465
0
0.222222
0
0
0.188934
0
0
0
0.018893
0
0
0
null
null
0.027778
0.111111
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ee20969cfa5f9c57fb51a177d56eebcff0c2e0fd
2,099
py
Python
fares_validator/warnings.py
TransitApp/gtfs-fares-v2-validator
c5fb33fa89c66bf1be14f1ebedea872fc81b4728
[ "MIT" ]
3
2021-08-05T15:03:44.000Z
2021-08-11T09:38:22.000Z
fares_validator/warnings.py
jsteelz/gtfs-fares-v2-validator
c5fb33fa89c66bf1be14f1ebedea872fc81b4728
[ "MIT" ]
4
2021-07-16T12:11:35.000Z
2021-07-16T16:27:33.000Z
fares_validator/warnings.py
jsteelz/gtfs-fares-v2-validator
c5fb33fa89c66bf1be14f1ebedea872fc81b4728
[ "MIT" ]
null
null
null
# generic warnings UNEXPECTED_FIELDS = 'A GTFS fares-v2 file has column name(s) not defined in the specification.' UNUSED_AREA_IDS = 'Areas defined in areas.txt are unused in other fares files.' UNUSED_NETWORK_IDS = 'Networks defined in routes.txt are unused in other fares files.' UNUSED_TIMEFRAME_IDS = 'Timeframes def...
49.97619
141
0.801334
357
2,099
4.473389
0.221289
0.045085
0.068879
0.093926
0.331872
0.318723
0.246713
0.19474
0.078272
0.053851
0
0.000549
0.131491
2,099
41
142
51.195122
0.87548
0.093854
0
0
0
0
0.742328
0.024868
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ee26bde7d91af34ed7d6ce91bb4e4591ffc2288a
226
py
Python
prla/assignments/a1/birthdays.py
AegirAexx/python-sandbox
fa1f584f615c6ed04f80b9dd92d2b241248c9ebe
[ "Unlicense" ]
null
null
null
prla/assignments/a1/birthdays.py
AegirAexx/python-sandbox
fa1f584f615c6ed04f80b9dd92d2b241248c9ebe
[ "Unlicense" ]
null
null
null
prla/assignments/a1/birthdays.py
AegirAexx/python-sandbox
fa1f584f615c6ed04f80b9dd92d2b241248c9ebe
[ "Unlicense" ]
null
null
null
from collections import Counter def birthdays(string): st = string.split() dic = Counter(x[0:4] for x in st) return [tuple([k for k in st if k.startswith(x)]) for x in [x for x in dic if dic[x] > 1]]
25.111111
53
0.606195
42
226
3.261905
0.5
0.087591
0.131387
0.10219
0
0
0
0
0
0
0
0.018293
0.274336
226
8
54
28.25
0.817073
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ee274e8c2047e32296e0716504014eb8c212a457
796
py
Python
tools/where.py
china-x-orion/infoeye
fed6d0aababed3f2f183920194a42242999df5f1
[ "MIT" ]
1
2015-04-09T10:04:08.000Z
2015-04-09T10:04:08.000Z
tools/where.py
china-x-orion/infoeye
fed6d0aababed3f2f183920194a42242999df5f1
[ "MIT" ]
null
null
null
tools/where.py
china-x-orion/infoeye
fed6d0aababed3f2f183920194a42242999df5f1
[ "MIT" ]
null
null
null
#!/usr/bin/python """ Author: rockylinux E-Mail: Jingzheng.W@gmail.com """ import commands #display the software #return a list containning installed software class whereissoftware: def __init__(self): self.__name = 'whereissoftware' def getData(self): (status, output) = commands.getstatuso...
22.111111
86
0.555276
90
796
4.755556
0.611111
0.084112
0.028037
0
0
0
0
0
0
0
0
0.007143
0.296482
796
35
87
22.742857
0.757143
0.18593
0
0
0
0
0.071174
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ee27c746cf974a49aed23e628b7cde28129d4b2a
929
py
Python
curso_bioinfo/bio01.py
FellowsDevel/learning_python
c56fc3a222d44c3770cf39bea493af372b09f135
[ "MIT" ]
null
null
null
curso_bioinfo/bio01.py
FellowsDevel/learning_python
c56fc3a222d44c3770cf39bea493af372b09f135
[ "MIT" ]
null
null
null
curso_bioinfo/bio01.py
FellowsDevel/learning_python
c56fc3a222d44c3770cf39bea493af372b09f135
[ "MIT" ]
null
null
null
###################### # análise de sequencia from Bio.Seq import Seq seq1 = Seq("ATG") print('Sequencia :', seq1) # sequencia complementar seq1_comp = seq1.complement() print('Sequencia complementar :', seq1_comp) # sequencia complementar reversa seq1_comp_reversa = seq1.reverse_comp...
24.447368
62
0.664155
119
929
5
0.285714
0.060504
0.084034
0.097479
0.423529
0.423529
0.278992
0.278992
0.278992
0.278992
0
0.01023
0.158235
929
37
63
25.108108
0.750639
0.232508
0
0.352941
0
0
0.282989
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0.411765
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
ee38d9af4cd6001ad7b97a200d1c1207602f1624
358
py
Python
setup.py
vhdeluca/PyStacking
30f72934eb2335baff45faf0b901a214aed88b23
[ "MIT" ]
null
null
null
setup.py
vhdeluca/PyStacking
30f72934eb2335baff45faf0b901a214aed88b23
[ "MIT" ]
null
null
null
setup.py
vhdeluca/PyStacking
30f72934eb2335baff45faf0b901a214aed88b23
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup(name='pystacking', version='0.1.0', description='Python Machine Learning Stacking Maker', author='Vitor Hugo Medeiros De Luca', author_email='vitordeluca@gmail.com', license='MIT', packages=find_packages(), python_requires=">=...
27.538462
59
0.667598
42
358
5.571429
0.833333
0.102564
0
0
0
0
0
0
0
0
0
0.017483
0.201117
358
12
60
29.833333
0.800699
0
0
0
0
0
0.321229
0.058659
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
ee3d5c500c3ceffae36f82424036f01909047b13
799
py
Python
flask/microblog-db/app/__init__.py
qsunny/python
ace8c3178a9a9619de2b60ca242c2079dd2f825e
[ "MIT" ]
null
null
null
flask/microblog-db/app/__init__.py
qsunny/python
ace8c3178a9a9619de2b60ca242c2079dd2f825e
[ "MIT" ]
2
2021-03-25T22:00:07.000Z
2022-01-20T15:51:48.000Z
flask/microblog-login/app/__init__.py
qsunny/python
ace8c3178a9a9619de2b60ca242c2079dd2f825e
[ "MIT" ]
null
null
null
from flask import Flask from config import config from flask_sqlalchemy import SQLAlchemy # app.config['SECRET_KEY'] = '666666' # ... add more variables here as needed # app.config.from_object('config') # 载入配置文件 # app.config.from_object(config[config_name]) # config[config_name].init_app(app) db = SQLAlchemy() def ...
26.633333
66
0.743429
111
799
5.108108
0.315315
0.079365
0.112875
0.100529
0.259259
0.215168
0.215168
0.215168
0.215168
0.215168
0
0.00885
0.151439
799
30
67
26.633333
0.827434
0.479349
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ee42a15342dadbaeda0b94365049f203992e8d93
7,557
py
Python
get_features/write_tfrecords_sites.py
kslin/miRNA_models
5b034b036e5aa10ab62f91f8adccec473e29ec34
[ "MIT" ]
1
2022-02-05T11:01:17.000Z
2022-02-05T11:01:17.000Z
get_features/write_tfrecords_sites.py
kslin/miRNA_models
5b034b036e5aa10ab62f91f8adccec473e29ec34
[ "MIT" ]
11
2020-01-28T22:16:38.000Z
2022-02-10T00:34:28.000Z
get_features/write_tfrecords_sites.py
kslin/miRNA_models
5b034b036e5aa10ab62f91f8adccec473e29ec34
[ "MIT" ]
2
2020-01-23T21:52:12.000Z
2020-02-24T16:43:52.000Z
from optparse import OptionParser import os import sys import time import numpy as np import pandas as pd import tensorflow as tf import utils import get_site_features import tf_utils np.set_printoptions(threshold=np.inf, linewidth=200) pd.options.mode.chained_assignment = None if __name__ == '__main__': pars...
47.23125
166
0.616647
971
7,557
4.510814
0.191555
0.040183
0.041553
0.047717
0.526941
0.490411
0.481279
0.476712
0.463699
0.451598
0
0.016684
0.254466
7,557
159
167
47.528302
0.760738
0.22231
0
0.084211
0
0
0.109624
0
0
0
0
0
0
1
0
false
0.052632
0.105263
0
0.105263
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ee430cc30eb26c3221165f55ab792fe79d6ed18f
727
py
Python
2018/22/caves.py
lvaughn/advent
ff3f727b8db1fd9b2a04aad5dcda9a6c8d1c271e
[ "CC0-1.0" ]
null
null
null
2018/22/caves.py
lvaughn/advent
ff3f727b8db1fd9b2a04aad5dcda9a6c8d1c271e
[ "CC0-1.0" ]
null
null
null
2018/22/caves.py
lvaughn/advent
ff3f727b8db1fd9b2a04aad5dcda9a6c8d1c271e
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 CAVE_DEPTH = 6969 TARGET_LOC = (9, 796) GEO_INDEX_CACHE = { (0, 0): 0, TARGET_LOC: 0 } def get_geo_index(x, y): key = (x, y) if key not in GEO_INDEX_CACHE: if y == 0: GEO_INDEX_CACHE[key] = x * 16807 elif x == 0: GEO_INDEX_CACHE[key] = y...
22.030303
92
0.599725
123
727
3.276423
0.317073
0.158809
0.193548
0.158809
0.275434
0
0
0
0
0
0
0.073724
0.272352
727
33
93
22.030303
0.688091
0.028886
0
0
0
0
0.009915
0
0
0
0
0
0
1
0.086957
false
0
0
0.043478
0.173913
0.043478
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
ee4859079852c59e644e46e5945867a576873685
394
py
Python
btcturk_client/tools.py
emre/btcturk-client
f9f02a63c35f9d14622d36cdf82df9f9171c627b
[ "MIT" ]
15
2016-06-16T20:13:10.000Z
2019-04-15T13:33:49.000Z
btcturk_client/tools.py
emre/btcturk-client
f9f02a63c35f9d14622d36cdf82df9f9171c627b
[ "MIT" ]
5
2015-10-17T09:27:38.000Z
2021-02-04T10:20:10.000Z
btcturk_client/tools.py
emre/btcturk-client
f9f02a63c35f9d14622d36cdf82df9f9171c627b
[ "MIT" ]
11
2015-10-17T09:00:32.000Z
2021-01-30T14:56:43.000Z
def authenticated_method(func): def _decorated(self, *args, **kwargs): if not self.api_key: raise ValueError("you need to set your API KEY for this method.") response = func(self, *args, **kwargs) if response.status_code == 401: raise ValueError("invalid private/pu...
28.142857
77
0.629442
49
394
4.959184
0.612245
0.065844
0.115226
0.131687
0
0
0
0
0
0
0
0.010453
0.271574
394
14
78
28.142857
0.836237
0
0
0
0
0
0.203046
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ee4dbf4649134bb9b82a6df54b7092474ff29aee
402
py
Python
varundeboss/apis/urls.py
varundeboss/varundeboss
5e5f4e8091a2e6b26d4f4444771b23cd9dae4e1f
[ "Apache-2.0" ]
null
null
null
varundeboss/apis/urls.py
varundeboss/varundeboss
5e5f4e8091a2e6b26d4f4444771b23cd9dae4e1f
[ "Apache-2.0" ]
null
null
null
varundeboss/apis/urls.py
varundeboss/varundeboss
5e5f4e8091a2e6b26d4f4444771b23cd9dae4e1f
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url, include from django.contrib.auth.models import User urlpatterns = [ url(r'^test/', include('testapp.urls'), name='Test User/Group API'), url(r'^resume/', include('apis.jsonresume_org.urls'), name='Json Resume'), url(r'^schema/', include('apis.schema_org.urls'), name='Schem...
44.666667
78
0.689055
57
402
4.807018
0.473684
0.058394
0.120438
0
0
0
0
0
0
0
0
0
0.109453
402
9
79
44.666667
0.765363
0
0
0
0
0
0.382134
0.114144
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ee50d033365f948753deb21b011a4f530ebfd889
3,511
py
Python
SourceCode/cryptomath.py
Anusha1790/Secure_E-Voting_Mechanism_using_Blind-Signature_and_Digital_Signature
f0a32293810b780672e599f6e7914d838d5d376a
[ "Condor-1.1", "RSA-MD", "Naumen", "Xnet", "X11", "MS-PL" ]
null
null
null
SourceCode/cryptomath.py
Anusha1790/Secure_E-Voting_Mechanism_using_Blind-Signature_and_Digital_Signature
f0a32293810b780672e599f6e7914d838d5d376a
[ "Condor-1.1", "RSA-MD", "Naumen", "Xnet", "X11", "MS-PL" ]
null
null
null
SourceCode/cryptomath.py
Anusha1790/Secure_E-Voting_Mechanism_using_Blind-Signature_and_Digital_Signature
f0a32293810b780672e599f6e7914d838d5d376a
[ "Condor-1.1", "RSA-MD", "Naumen", "Xnet", "X11", "MS-PL" ]
null
null
null
# Cryptomath Module import random def gcd(a, b): # Returns the GCD of positive integers a and b using the Euclidean Algorithm. if a>b: x, y = a, b else: y, x = a, b while y!= 0: temp = x % y x = y y = temp return x def extendedGCD(a,b): #used to find mod ...
30.267241
81
0.473085
553
3,511
3.003617
0.495479
0.016255
0.012041
0.018061
0.032511
0.007225
0
0
0
0
0
0.262753
0.408146
3,511
116
82
30.267241
0.536574
0.17317
0
0.234043
0
0
0
0
0
0
0
0
0
1
0.06383
false
0
0.010638
0
0.255319
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ee5226d75b57931207b0a079895f1d3650ab1949
3,529
py
Python
test/data_processing/test_find_best_worst_lists.py
0xProject/p2p_incentives
ce69926eb3d003fb2767651df9486556c0e20ab6
[ "Apache-2.0" ]
3
2020-03-11T19:42:48.000Z
2021-04-01T21:09:05.000Z
test/data_processing/test_find_best_worst_lists.py
0xProject/p2p_incentives
ce69926eb3d003fb2767651df9486556c0e20ab6
[ "Apache-2.0" ]
null
null
null
test/data_processing/test_find_best_worst_lists.py
0xProject/p2p_incentives
ce69926eb3d003fb2767651df9486556c0e20ab6
[ "Apache-2.0" ]
null
null
null
""" This module contains unit tests of find_best_worst_lists(). """ from typing import List, Tuple import pytest from data_processing import find_best_worst_lists from data_types import BestAndWorstLists, InvalidInputError, SpreadingRatio from .__init__ import RATIO_LIST # test normal cases CASES_BEST_WORST_LISTS: ...
32.376147
87
0.656277
454
3,529
4.786344
0.19163
0.231937
0.103083
0.115969
0.554993
0.45329
0.35665
0.318914
0.237
0.130235
0
0.022043
0.228677
3,529
108
88
32.675926
0.776267
0.160102
0
0.128571
0
0
0.029278
0
0
0
0
0
0.042857
1
0.057143
false
0
0.071429
0
0.128571
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
ee5f0c55c0a9148be187a8e822f3f9099b855258
436
py
Python
software/input_variable_processing/out_processing/out_parsing.py
Searchlight2/Searchlight2
87c85975be49c503f79063d72d321da21a6c6341
[ "MIT" ]
17
2018-12-11T13:36:12.000Z
2022-03-31T06:27:59.000Z
software/input_variable_processing/out_processing/out_parsing.py
Searchlight2/Searchlight2
87c85975be49c503f79063d72d321da21a6c6341
[ "MIT" ]
1
2019-11-26T11:00:57.000Z
2019-11-26T11:01:12.000Z
software/input_variable_processing/out_processing/out_parsing.py
Searchlight2/Searchlight2
87c85975be49c503f79063d72d321da21a6c6341
[ "MIT" ]
7
2020-05-21T16:35:41.000Z
2022-03-31T06:28:01.000Z
def out_parsing(out_path_parameter, global_variables): # default inputs out_path = None # gets the sub-parameters sub_params_list = out_path_parameter.split(",") for sub_param in sub_params_list: if sub_param.upper().startswith("path=".upper()): out_path = sub_param.split("="...
24.222222
57
0.683486
58
436
4.810345
0.465517
0.150538
0.114695
0
0
0
0
0
0
0
0
0.002915
0.213303
436
18
58
24.222222
0.810496
0.087156
0
0
0
0
0.098734
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
ee61b47e76320e9a05c1dd937770719208d0be1f
1,381
py
Python
seqauto/migrations/0028_one_off_set_sequencing_run_date.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
5
2021-01-14T03:34:42.000Z
2022-03-07T15:34:18.000Z
seqauto/migrations/0028_one_off_set_sequencing_run_date.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
551
2020-10-19T00:02:38.000Z
2022-03-30T02:18:22.000Z
seqauto/migrations/0028_one_off_set_sequencing_run_date.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
null
null
null
# Generated by Django 3.1.3 on 2021-06-15 02:43 import logging import re from datetime import datetime from django.db import migrations from django.utils.timezone import make_aware def _one_off_set_sequencing_run_date(apps, schema_editor): SequencingRun = apps.get_model("seqauto", "SequencingRun") # Old ones...
29.382979
84
0.672701
186
1,381
4.731183
0.510753
0.063636
0.020455
0.043182
0.131818
0.131818
0.072727
0.072727
0.072727
0
0
0.063712
0.215786
1,381
46
85
30.021739
0.748846
0.117306
0
0.0625
1
0
0.099588
0.01893
0
0
0
0
0
1
0.03125
false
0
0.15625
0
0.28125
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
ee6bda0e1603d22685c5ea9ef912718f6cc0b704
606
py
Python
346-moving-average-from-data-stream/346-moving-average-from-data-stream.py
jurayev/data-structures-algorithms-solutions
7103294bafb60117fc77efe4913edcffbeb1ac7a
[ "MIT" ]
null
null
null
346-moving-average-from-data-stream/346-moving-average-from-data-stream.py
jurayev/data-structures-algorithms-solutions
7103294bafb60117fc77efe4913edcffbeb1ac7a
[ "MIT" ]
null
null
null
346-moving-average-from-data-stream/346-moving-average-from-data-stream.py
jurayev/data-structures-algorithms-solutions
7103294bafb60117fc77efe4913edcffbeb1ac7a
[ "MIT" ]
null
null
null
class MovingAverage: """ [1,10,3,5] size = 3 n = 4 [0,1,11,14,19] """ def __init__(self, size: int): self.size = size self.prefixes = [0] def next(self, val: int) -> float: n = len(self.prefixes) self.prefixes.append(val) self.prefixes[-1] +=...
26.347826
75
0.564356
84
606
4.011905
0.440476
0.284866
0.115727
0.10089
0.148368
0
0
0
0
0
0
0.048611
0.287129
606
23
76
26.347826
0.731481
0.262376
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0
0
0.454545
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
ee6f81184fdc128af7c8db59ff5bcfb4f0789978
5,429
py
Python
application/views/authentication.py
aditya369b/Gator-Barter-Website
5e7151021ae49374a4e18b15b2ccf219baed02a8
[ "MIT" ]
null
null
null
application/views/authentication.py
aditya369b/Gator-Barter-Website
5e7151021ae49374a4e18b15b2ccf219baed02a8
[ "MIT" ]
null
null
null
application/views/authentication.py
aditya369b/Gator-Barter-Website
5e7151021ae49374a4e18b15b2ccf219baed02a8
[ "MIT" ]
null
null
null
""" BluePrint for all Authontication routs and logic Use "from passlib.hash import sha256_crypt" as our encryption library User information stored in the session (Backend) as a dictionary And accessible from any route 30% written by Alex Kohanim 70% written By Akshay Kasar If any questions arise from this blueprint...
35.48366
84
0.60932
594
5,429
5.486532
0.292929
0.040503
0.038662
0.045106
0.427432
0.37711
0.296103
0.226757
0.215404
0.184106
0
0.009296
0.2669
5,429
152
85
35.717105
0.809548
0.10186
0
0.295238
0
0
0.196502
0
0
0
0
0
0
1
0.028571
false
0.133333
0.085714
0
0.247619
0.171429
0
0
0
null
0
0
0
0
0
0
0
0
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
ee719a41743e27f679ac28e42919e0c85d9247d8
335
py
Python
services/tests/test_rabbitmq_wrapper_int.py
ToucanBran/gateio-crypto-trading-bot-binance-announcements-new-coins
a83f4f0de3463001855c5e89b8f39c6b20ca3e99
[ "MIT" ]
1
2021-11-25T11:34:23.000Z
2021-11-25T11:34:23.000Z
services/tests/test_rabbitmq_wrapper_int.py
ToucanBran/gateio-crypto-trading-bot-binance-announcements-new-coins
a83f4f0de3463001855c5e89b8f39c6b20ca3e99
[ "MIT" ]
1
2021-11-25T01:54:22.000Z
2021-11-26T22:23:10.000Z
services/tests/test_rabbitmq_wrapper_int.py
ToucanBran/gateio-crypto-trading-bot-binance-announcements-new-coins
a83f4f0de3463001855c5e89b8f39c6b20ca3e99
[ "MIT" ]
null
null
null
from services.rabbitmq_wrapper import RabbitMqWrapper import yaml def test_given_validRabbitConfigurations_when_openChannelCalled_then_expectSuccessfulConnection(configs): wrapper = RabbitMqWrapper(configs["queue"]) channel = wrapper.open_channel() opened = channel.is_open wrapper.close_connection() ...
37.222222
105
0.820896
34
335
7.794118
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.119403
335
9
106
37.222222
0.898305
0
0
0
0
0
0.014881
0
0
0
0
0
0.125
1
0.125
false
0
0.25
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ee7734053c1d31ed423c75148105c6c7ddde71d8
661
py
Python
mindhome_alpha/erpnext/patches/v13_0/loyalty_points_entry_for_pos_invoice.py
Mindhome/field_service
3aea428815147903eb9af1d0c1b4b9fc7faed057
[ "MIT" ]
1
2021-04-29T14:55:29.000Z
2021-04-29T14:55:29.000Z
mindhome_alpha/erpnext/patches/v13_0/loyalty_points_entry_for_pos_invoice.py
Mindhome/field_service
3aea428815147903eb9af1d0c1b4b9fc7faed057
[ "MIT" ]
null
null
null
mindhome_alpha/erpnext/patches/v13_0/loyalty_points_entry_for_pos_invoice.py
Mindhome/field_service
3aea428815147903eb9af1d0c1b4b9fc7faed057
[ "MIT" ]
1
2021-04-29T14:39:01.000Z
2021-04-29T14:39:01.000Z
# Copyright (c) 2019, Frappe and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe def execute(): '''`sales_invoice` field from loyalty point entry is splitted into `invoice_type` & `invoice` fields''' frappe.reload_doc("Accounts", "doctyp...
33.05
104
0.729198
92
661
5.076087
0.532609
0.12848
0.109208
0
0
0
0
0
0
0
0
0.008818
0.142209
661
20
105
33.05
0.814815
0.299546
0
0
0
0
0.270492
0
0
0
0
0
0
1
0.125
true
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ee7b46f503826b94562405ebac054a8e8b8dd9bd
1,052
py
Python
tests/test_Overhang.py
Edinburgh-Genome-Foundry/Overhang
01dc39dc60361612dd0e56a21a59103e925c2ed1
[ "MIT" ]
null
null
null
tests/test_Overhang.py
Edinburgh-Genome-Foundry/Overhang
01dc39dc60361612dd0e56a21a59103e925c2ed1
[ "MIT" ]
null
null
null
tests/test_Overhang.py
Edinburgh-Genome-Foundry/Overhang
01dc39dc60361612dd0e56a21a59103e925c2ed1
[ "MIT" ]
null
null
null
import overhang def test_Overhang(): oh_aaa = overhang.Overhang("AAA") assert oh_aaa.overhang == "AAA" assert oh_aaa.overhang_rc == "TTT" assert oh_aaa.has_multimer is True # tests count_max_repeat() assert oh_aaa.is_good() is True assert oh_aaa.gc_content == 0 oh_ttaa = overhang.Overhan...
28.432432
66
0.669202
145
1,052
4.606897
0.372414
0.095808
0.082335
0.076347
0.303892
0.176647
0
0
0
0
0
0.004854
0.21673
1,052
36
67
29.222222
0.805825
0.065589
0
0.222222
0
0
0.102041
0
0
0
0
0
0.444444
1
0.074074
false
0
0.037037
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
1
0
0
0
0
0
0
0
0
0
1
ee80975628389032d05fb1deb25e7709ed7637d7
1,435
py
Python
launch_parallel.py
jbr-ai-labs/NeurIPS2020-Flatland-Competition-Solution
bd3c169ffa39063d6bb2b170bca93fa785b7bf71
[ "MIT" ]
6
2021-01-21T14:33:56.000Z
2021-12-31T08:11:41.000Z
launch_parallel.py
jbr-ai-labs/NeurIPS2020-Flatland-Competition-Solution
bd3c169ffa39063d6bb2b170bca93fa785b7bf71
[ "MIT" ]
1
2021-07-20T14:16:42.000Z
2022-03-07T02:49:22.000Z
launch_parallel.py
jbr-ai-labs/NeurIPS2020-Flatland-Competition-Solution
bd3c169ffa39063d6bb2b170bca93fa785b7bf71
[ "MIT" ]
1
2021-04-05T03:07:37.000Z
2021-04-05T03:07:37.000Z
import torch from multiprocessing import Pool, set_start_method from functools import partial import argparse from copy import deepcopy from train import start_experiment __device = None def load_experiments(exp_path, sdevice): exp_list = torch.load(exp_path) # TODO a better way to choose cuda device fo...
27.596154
93
0.685714
188
1,435
4.994681
0.404255
0.044728
0.054313
0.046858
0.063898
0
0
0
0
0
0
0.006228
0.216725
1,435
51
94
28.137255
0.829181
0.091289
0
0
0
0
0.06
0
0
0
0
0.019608
0.028571
1
0.085714
false
0
0.171429
0
0.314286
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ee89a066f66bf3c3cd5e0c8d13d50005a38fed6d
935
py
Python
gpgpu/generators/render_volume_defs.py
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
1
2019-04-14T11:40:28.000Z
2019-04-14T11:40:28.000Z
gpgpu/generators/render_volume_defs.py
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
5
2018-04-18T13:54:29.000Z
2019-08-22T20:04:17.000Z
gpgpu/generators/render_volume_defs.py
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
1
2018-12-24T03:45:47.000Z
2018-12-24T03:45:47.000Z
# %codegen(cl_gen) import generate_opencl_structs def main(): cfg_defd = [ { 'type': 'int', 'length': 1, 'name': 'method', }, { 'type': 'float', 'length': 1, 'name': 'step_size', 'default': '0.01' }...
20.777778
77
0.42139
75
935
4.973333
0.56
0.093834
0.147453
0.112601
0.252011
0
0
0
0
0
0
0.02037
0.42246
935
44
78
21.25
0.67037
0.017112
0
0.263158
1
0
0.262814
0.062159
0
0
0
0
0
1
0.026316
false
0
0.026316
0
0.052632
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
ee8c5c12d544b0e4bc1f671ec6776fbf2f2fa689
4,536
py
Python
Accidence/tstring.py
mkinsz/pymodule
c0b4a750478c526d6c3a7fe0e06f1046b1906075
[ "MIT" ]
null
null
null
Accidence/tstring.py
mkinsz/pymodule
c0b4a750478c526d6c3a7fe0e06f1046b1906075
[ "MIT" ]
null
null
null
Accidence/tstring.py
mkinsz/pymodule
c0b4a750478c526d6c3a7fe0e06f1046b1906075
[ "MIT" ]
null
null
null
import cmath import math name = 'John' age = 23 print('%s is %d years old.' % (name, age)) params = {'name': 'John', 'age': 23} print('%(name)s is %(age)d years old' % params) mylist = [1, 2, 3] print("A list: %s" % mylist) data = ('John', 'Doe', 55.34) format_string = 'Hello %s %s. Your current balance is $%.2f.' fo...
22.68
79
0.619489
697
4,536
3.97274
0.28264
0.052004
0.032503
0.036114
0.178043
0.126761
0.105092
0.051282
0
0
0
0.043605
0.170855
4,536
200
80
22.68
0.692635
0.271164
0
0.070313
0
0
0.248088
0
0
0
0.001224
0
0
1
0
false
0.023438
0.023438
0
0.023438
0.578125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
c987d91d956b8ffecede2e82f0bdee5c3f9f8769
467
py
Python
tests/utils_test.py
BostonDSA/fest
2876cd09a5df978145b432fb1e711c9d0322fc25
[ "MIT" ]
10
2018-08-05T20:34:03.000Z
2021-12-01T07:18:35.000Z
tests/utils_test.py
BostonDSA/fest
2876cd09a5df978145b432fb1e711c9d0322fc25
[ "MIT" ]
10
2018-02-12T16:46:16.000Z
2022-01-21T23:39:07.000Z
tests/utils_test.py
BostonDSA/fest
2876cd09a5df978145b432fb1e711c9d0322fc25
[ "MIT" ]
7
2019-04-13T00:49:05.000Z
2021-09-28T00:53:51.000Z
from fest import utils class SomeClass: pass def test_future(): fut = utils.Future(iter('abcdefg')) ret = fut.filter(lambda x: x < 'e').execute() exp = list('abcd') assert ret == exp def test_digest(): ret = {'fizz': 'buzz'} assert utils.digest(ret) == 'f45195aef08daea1be5dbb1c7feb5763...
18.68
74
0.638116
58
467
5.068966
0.534483
0.071429
0
0
0
0
0
0
0
0
0
0.052198
0.220557
467
24
75
19.458333
0.755495
0
0
0
0
0
0.184154
0.141328
0
0
0
0
0.1875
1
0.1875
false
0.0625
0.0625
0
0.3125
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
c9888c66d0c167c08d08ff0e404deb6b1ffdf3c2
903
py
Python
examples/shorten_url.py
Vincydotzsh/fasmga.py
31fbacfc5172dced158852cf451cc821a9c0910d
[ "MIT" ]
2
2021-10-29T21:02:08.000Z
2021-11-21T13:18:56.000Z
examples/shorten_url.py
Vincydotzsh/fasmga.py
31fbacfc5172dced158852cf451cc821a9c0910d
[ "MIT" ]
null
null
null
examples/shorten_url.py
Vincydotzsh/fasmga.py
31fbacfc5172dced158852cf451cc821a9c0910d
[ "MIT" ]
2
2021-10-30T13:52:14.000Z
2021-11-14T11:01:44.000Z
import asyncio import fasmga import os client = fasmga.Client(os.getenv("FGA_TOKEN")) @client.on("ready") async def main(): url = await client.shorten("http://example.com", "your-url-id") # change "your-url-id" with the url ID you want, # or remove it if you want it to generate a random one. print("Y...
34.730769
115
0.687708
143
903
4.335664
0.552448
0.045161
0.043548
0.035484
0
0
0
0
0
0
0
0.005548
0.20155
903
25
116
36.12
0.854369
0.317829
0
0
0
0
0.367213
0.034426
0
0
0
0
0
1
0
false
0.111111
0.166667
0
0.166667
0.277778
0
0
0
null
0
0
0
0
0
0
0
0
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
c988c7d9d8c652c7ad8baabf299dfddc7d585ea7
1,117
py
Python
python/simple_run_weekly.py
shibli049/miscellaneous
d46bc1881cb0c72d43c198db2a534a0d25b992ad
[ "MIT" ]
1
2018-08-12T10:15:58.000Z
2018-08-12T10:15:58.000Z
python/simple_run_weekly.py
shibli049/miscellaneous
d46bc1881cb0c72d43c198db2a534a0d25b992ad
[ "MIT" ]
null
null
null
python/simple_run_weekly.py
shibli049/miscellaneous
d46bc1881cb0c72d43c198db2a534a0d25b992ad
[ "MIT" ]
null
null
null
#! /usr/local/bin/python3.7 ``` Usage: cron job 0 */1 * * * simple_run_weekly.py ``` from datetime import date import json from subprocess import run import logging logging.basicConfig(level=logging.INFO, format=' %(asctime)s - %(levelname)s - %(lineno)d - %(message)s') ALERT_DAY='Thursday' file...
26.595238
85
0.57923
141
1,117
4.524823
0.510638
0.050157
0.070533
0.08464
0.172414
0.172414
0.172414
0.172414
0.172414
0.172414
0
0.006024
0.256938
1,117
41
86
27.243902
0.762651
0.030439
0
0.1875
0
0
0.148936
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c98d7b64e14c7ee91eee04d518b7cdd93828eefa
5,874
py
Python
mrwer.py
amali/multiRefWER
d03c6c67897dab3a3a5734fff6d619b3253dc7fd
[ "MIT" ]
6
2020-01-07T07:08:03.000Z
2021-08-09T11:37:43.000Z
mrwer.py
amali/multiRefWER
d03c6c67897dab3a3a5734fff6d619b3253dc7fd
[ "MIT" ]
null
null
null
mrwer.py
amali/multiRefWER
d03c6c67897dab3a3a5734fff6d619b3253dc7fd
[ "MIT" ]
2
2020-04-05T18:42:59.000Z
2021-04-16T07:12:45.000Z
#!/usr/bin/python -tt # this is the main script for MR-WER # # Copyright (C) 2017, Qatar Computing Research Institute, HBKU (author: Ahmed Ali) # from __future__ import division import sys reload(sys) import codecs import collections import re from subprocess import call import numpy as np from mr import * sys.se...
36.943396
148
0.597038
869
5,874
3.812428
0.208285
0.092967
0.065198
0.076064
0.395714
0.335346
0.278298
0.210383
0.180199
0.124359
0
0.007715
0.249745
5,874
158
149
37.177215
0.744044
0.094995
0
0.135922
0
0.038835
0.184325
0.004721
0
0
0
0
0
0
null
null
0
0.087379
null
null
0.165049
0
0
0
null
0
0
0
0
0
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
c994200b24b26faebdff2ea952810089ee05791f
641
py
Python
tarea4/tarea4-09.py
jmencisom/nb-mn
799550d5b6524c36ff339067e233c4508b964866
[ "MIT" ]
2
2018-04-20T13:54:38.000Z
2018-06-09T01:43:45.000Z
tarea4/tarea4-09.py
jmencisom/nb-mn
799550d5b6524c36ff339067e233c4508b964866
[ "MIT" ]
5
2018-03-02T13:08:32.000Z
2018-03-05T16:02:19.000Z
tarea4/tarea4-09.py
jmencisom/nb-mn
799550d5b6524c36ff339067e233c4508b964866
[ "MIT" ]
null
null
null
for i in range(0,3): f = open("dato.txt") f.seek(17+(i*77),0) x1= int(f.read(2)) f.seek(20+(i*77),0) y1= int(f.read(2)) f.seek(35+(i*77),0) a= int(f.read(2)) f.seek(38+(i*77),0) b= int(f.read(2)) f.seek(60+(i*77),0) x2= int(f.read(2)) f.seek(63+(i*77),0) y2= int...
21.366667
65
0.469579
133
641
2.263158
0.353383
0.116279
0.093023
0.209302
0.27907
0.27907
0
0
0
0
0
0.117647
0.25741
641
30
66
21.366667
0.514706
0.035881
0
0.083333
0
0
0.105178
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
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
c997f8c075bcc99e58177fae2b33ee69441783d5
1,969
py
Python
test_scripts/reg1.py
talih0/dps-for-iot
e16f61da15d1d06f13cfce8a667c710f45441d4b
[ "Apache-2.0" ]
57
2017-12-14T01:37:02.000Z
2021-11-08T11:19:32.000Z
test_scripts/reg1.py
talih0/dps-for-iot
e16f61da15d1d06f13cfce8a667c710f45441d4b
[ "Apache-2.0" ]
30
2017-11-03T18:40:51.000Z
2021-06-30T13:47:16.000Z
test_scripts/reg1.py
talih0/dps-for-iot
e16f61da15d1d06f13cfce8a667c710f45441d4b
[ "Apache-2.0" ]
15
2018-03-14T05:56:08.000Z
2021-04-25T21:29:09.000Z
#!/usr/bin/python from common import * import atexit import time atexit.register(cleanup) # Start the registry service reg1 = reg() # Start some subscribers # Delay the starts so that we ensure a fully connected graph. sub1 = reg_subs('-p {} -c 1 a/b/c'.format(reg1.port)) sub2 = reg_subs('-p {} -c 1 a/b/c'.format(...
32.816667
95
0.685627
372
1,969
3.475806
0.22043
0.146945
0.205723
0.118329
0.419954
0.419954
0.375097
0.375097
0.375097
0.041763
0
0.076437
0.116303
1,969
59
96
33.372881
0.666667
0.098019
0
0
0
0
0.191525
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
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
c99969794507c370a480dadfb750763cdd719c6f
56,380
py
Python
home/bin/k3b-rm.py
ssokolow/profile
09f2a842077909d883a08b546659516deec7d719
[ "MIT" ]
9
2015-04-14T22:27:40.000Z
2022-02-23T05:33:00.000Z
home/bin/k3b-rm.py
ssokolow/profile
09f2a842077909d883a08b546659516deec7d719
[ "MIT" ]
null
null
null
home/bin/k3b-rm.py
ssokolow/profile
09f2a842077909d883a08b546659516deec7d719
[ "MIT" ]
9
2015-04-14T22:27:42.000Z
2017-11-21T11:34:23.000Z
#!/usr/bin/env python2 # -*- coding: utf-8 -*- # pylint: disable=invalid-name """A simple tool for deleting the files listed in a K3b project after it has been written to a disc. (Useful in concert with gaff-k3b) --snip-- @note: This currently explicitly uses C{posixpath} rather than C{os.path} since, as a POS...
43.671572
82
0.561103
6,724
56,380
4.59191
0.157942
0.011854
0.010364
0.012955
0.294468
0.236073
0.195556
0.160286
0.135315
0.120029
0
0.010496
0.334214
56,380
1,290
83
43.705426
0.811866
0.258815
0
0.222914
0
0.002491
0.089336
0.010546
0
0
0
0.013178
0.115816
1
0.085928
false
0.001245
0.021171
0
0.161893
0.006227
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c9a05981f06f65d05a24a40ae4af50c8848a9d04
588
py
Python
backend/spider_backend.py
sunhailin-Leo/business_data_spider
0494545971489aff684fb5f1162cbf87d1048c22
[ "MIT" ]
4
2019-03-06T05:38:36.000Z
2021-01-15T09:34:10.000Z
backend/spider_backend.py
sunhailin-Leo/business_data_spider
0494545971489aff684fb5f1162cbf87d1048c22
[ "MIT" ]
1
2019-12-19T07:11:55.000Z
2019-12-26T09:56:58.000Z
backend/spider_backend.py
sunhailin-Leo/business_data_spider
0494545971489aff684fb5f1162cbf87d1048c22
[ "MIT" ]
3
2019-06-18T16:01:57.000Z
2020-10-01T19:08:01.000Z
# -*- coding: UTF-8 -*- """ Created on 2017年11月10日 @author: Leo """ # 第三方库 from flask import Flask, Blueprint from flask_restful import Api # 项目内部库 from backend.resources.spider import SpiderList from backend.resources.spider import SpiderSearch # 项目版本的URL前缀 version_prefix = "/v1" # 定义Flask项目 app = Flask(__name__)...
18.967742
61
0.748299
77
588
5.363636
0.519481
0.094431
0.096852
0.125908
0.154964
0
0
0
0
0
0
0.027397
0.130952
588
30
62
19.6
0.780822
0.164966
0
0
0
0
0.069038
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c9a07e3bc2d9a10ed4947133e353a88ebc94efb1
525
py
Python
committees/migrations/0009_auto_20200122_1722.py
jonting/volmun
8c49c0891825282bb7de57fc72e0eb0e8fbc4d6c
[ "MIT" ]
null
null
null
committees/migrations/0009_auto_20200122_1722.py
jonting/volmun
8c49c0891825282bb7de57fc72e0eb0e8fbc4d6c
[ "MIT" ]
null
null
null
committees/migrations/0009_auto_20200122_1722.py
jonting/volmun
8c49c0891825282bb7de57fc72e0eb0e8fbc4d6c
[ "MIT" ]
null
null
null
# Generated by Django 2.1.15 on 2020-01-22 22:22 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('committees', '0008_auto_20200114_1807'), ] operations = [ migrations.AlterField( ...
26.25
132
0.630476
57
525
5.701754
0.649123
0.073846
0.086154
0.135385
0
0
0
0
0
0
0
0.081841
0.255238
525
19
133
27.631579
0.749361
0.087619
0
0
1
0
0.159389
0.050218
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c9a52b5163180880d576e4f6a17445f79d886154
651
py
Python
core/templatetags/core/tags.py
zachtib/MTGRollCall
1c2247e536a8fc178e0c6e9aacebb4213560e84f
[ "MIT" ]
null
null
null
core/templatetags/core/tags.py
zachtib/MTGRollCall
1c2247e536a8fc178e0c6e9aacebb4213560e84f
[ "MIT" ]
4
2020-02-11T22:19:29.000Z
2021-06-10T20:13:33.000Z
core/templatetags/core/tags.py
zachtib/MTGRollCall
1c2247e536a8fc178e0c6e9aacebb4213560e84f
[ "MIT" ]
null
null
null
import re from django import template from django.urls import reverse, NoReverseMatch from django.utils.safestring import mark_safe register = template.Library() @register.simple_tag(takes_context=True) def nav(context, url, text): try: url = reverse(url) except NoReverseMatch: pass # S...
26.04
74
0.620584
85
651
4.705882
0.541176
0.075
0
0
0
0
0
0
0
0
0
0
0.239631
651
24
75
27.125
0.808081
0.044547
0
0
0
0
0.191935
0.037097
0
0
0
0
0
1
0.058824
false
0.058824
0.235294
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c9a76de5de0ee5029db7ffcbce53ce06f39f3a9a
629
py
Python
src/event.py
deepakkarki/pub-sub
47594b9c26a4f9194cccf783200f497b6eb6c0bb
[ "MIT" ]
null
null
null
src/event.py
deepakkarki/pub-sub
47594b9c26a4f9194cccf783200f497b6eb6c0bb
[ "MIT" ]
1
2021-06-09T06:27:49.000Z
2021-06-09T06:27:49.000Z
src/event.py
deepakkarki/pub-sub
47594b9c26a4f9194cccf783200f497b6eb6c0bb
[ "MIT" ]
1
2021-05-29T04:07:34.000Z
2021-05-29T04:07:34.000Z
# event.py> from enum import Enum # Constants for accessing data fields out of the Control Events' # data dictionaries CHORD_RING = "ring" PREDECESSOR = "predecessor" SEGMENT = "segment" class EventType(Enum): PAUSE_OPER = 1 RESUME_OPER = 2 RESTART_BROKER = 3 RING_UPDATE = 4 UPDATE_TOPICS = 5 ...
25.16
66
0.653418
81
629
4.938272
0.641975
0.04
0
0
0
0
0
0
0
0
0
0.012987
0.265501
629
24
67
26.208333
0.852814
0.27663
0
0
0
0
0.049107
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c9aa27c453e19d48cc1212313556d98a185acb92
2,085
py
Python
polling_stations/apps/addressbase/models.py
dantagg/UK-Polling-Stations
2271b3fbfe5242de659892d24fad4d8851c804ba
[ "BSD-3-Clause" ]
null
null
null
polling_stations/apps/addressbase/models.py
dantagg/UK-Polling-Stations
2271b3fbfe5242de659892d24fad4d8851c804ba
[ "BSD-3-Clause" ]
null
null
null
polling_stations/apps/addressbase/models.py
dantagg/UK-Polling-Stations
2271b3fbfe5242de659892d24fad4d8851c804ba
[ "BSD-3-Clause" ]
null
null
null
from django.contrib.gis.db import models from django.db import connection from uk_geo_utils.models import ( AbstractAddress, AbstractAddressManager, AbstractOnsudManager, ) class AddressManager(AbstractAddressManager): def postcodes_for_district(self, district): qs = self.filter(location__with...
28.561644
75
0.657074
255
2,085
5.270588
0.478431
0.044643
0.044643
0.020833
0.050595
0.050595
0
0
0
0
0
0.008171
0.23693
2,085
72
76
28.958333
0.836581
0.172182
0
0.102564
0
0
0.046495
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.538462
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
c9b22ca9a67508f5c5903dc519e72df78e81eda6
456
py
Python
bitirmetezi/venv/Lib/site-packages/plot/tk/listTK/upgrade_index.py
busraltun/IMPLEMENTATIONOFEYECONTROLLEDVIRTUALKEYBOARD
fa3a9b150419a17aa82f41b068a5d69d0ff0d0f3
[ "MIT" ]
1
2020-04-10T08:14:43.000Z
2020-04-10T08:14:43.000Z
bitirmetezi/venv/Lib/site-packages/plot/tk/listTK/upgrade_index.py
busraltun/IMPLEMENTATIONOFEYECONTROLLEDVIRTUALKEYBOARD
fa3a9b150419a17aa82f41b068a5d69d0ff0d0f3
[ "MIT" ]
1
2016-11-30T20:37:27.000Z
2016-12-12T11:55:50.000Z
bitirmetezi/venv/Lib/site-packages/plot/tk/listTK/upgrade_index.py
busraltun/IMPLEMENTATIONOFEYECONTROLLEDVIRTUALKEYBOARD
fa3a9b150419a17aa82f41b068a5d69d0ff0d0f3
[ "MIT" ]
1
2019-12-18T07:56:00.000Z
2019-12-18T07:56:00.000Z
""" upgrade a low dimensional index to a higher one """ from typing import List def upgrade_index(index, new_dim): # type: (List, int) -> List """Upgrade a low dimensional index to a higher one Args: index (List): a list of integers new_dim (int): the new dimension Returns: a...
20.727273
54
0.609649
65
456
4.184615
0.430769
0.088235
0.080882
0.161765
0.286765
0.286765
0.286765
0.286765
0.286765
0
0
0.003115
0.296053
456
21
55
21.714286
0.844237
0.513158
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
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
c9b49bd12ca7a9e72a39d50bd29f8c6f4a48b7c3
2,108
py
Python
app/admin/authentic.py
BeyondLam/Flask_Blog_Python3
274c932e9ea28bb6c83335e408a2cd9f1cf4fcb6
[ "Apache-2.0" ]
2
2019-10-25T16:35:41.000Z
2019-10-26T10:54:00.000Z
app/admin/authentic.py
BeyondLam/Flask_Blog_Python3
274c932e9ea28bb6c83335e408a2cd9f1cf4fcb6
[ "Apache-2.0" ]
null
null
null
app/admin/authentic.py
BeyondLam/Flask_Blog_Python3
274c932e9ea28bb6c83335e408a2cd9f1cf4fcb6
[ "Apache-2.0" ]
null
null
null
from . import admin from app import db from flask import request, jsonify, current_app, session from app.models import Admin, AdminLoginLog from app.utils.tool import admin_login_required # 登录 @admin.route("/login", methods=["POST"]) def login(): """用户的登录""" # 获取参数 req_dict = request.get_json() userna...
27.376623
112
0.662713
266
2,108
5.12406
0.364662
0.059428
0.09978
0.044021
0.188555
0.041086
0.041086
0.041086
0
0
0
0.017313
0.205408
2,108
76
113
27.736842
0.796418
0.093928
0
0.085106
0
0
0.090377
0
0
0
0
0
0
1
0.06383
false
0.06383
0.106383
0
0.340426
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c9b75430cc7755f89490c45152b50f01cb8d73dc
653
py
Python
src/post/views.py
viniciussslima/b2bit-mini-twitter
d37b6d1c3e8d92f5aeee8c8bfdde34b0e4f82e57
[ "MIT" ]
null
null
null
src/post/views.py
viniciussslima/b2bit-mini-twitter
d37b6d1c3e8d92f5aeee8c8bfdde34b0e4f82e57
[ "MIT" ]
null
null
null
src/post/views.py
viniciussslima/b2bit-mini-twitter
d37b6d1c3e8d92f5aeee8c8bfdde34b0e4f82e57
[ "MIT" ]
null
null
null
from rest_framework import generics from rest_framework.response import Response from .serializers import CreatePostSerializer, ListPostSerializer from .models import Post class PostView(generics.GenericAPIView): def post(self, request): data = {**request.data, **{"user": request.user.id}} seri...
26.12
65
0.7366
71
653
6.704225
0.464789
0.033613
0.071429
0
0
0
0
0
0
0
0
0.005556
0.173047
653
24
66
27.208333
0.875926
0
0
0
0
0
0.006126
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0.066667
0.733333
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
c9c32c9162b28b6a737e113f28ce89e81e9f5c0e
2,237
py
Python
test_sms_for_pi.py
viable-hartman/sim-module
bf991c01bda92ed95fc8345ce6f43d07336e70b5
[ "MIT" ]
61
2015-07-10T00:41:15.000Z
2021-06-10T22:23:13.000Z
test_sms_for_pi.py
viable-hartman/sim-module
bf991c01bda92ed95fc8345ce6f43d07336e70b5
[ "MIT" ]
9
2015-08-21T14:03:25.000Z
2017-08-16T08:33:27.000Z
test_sms_for_pi.py
viable-hartman/sim-module
bf991c01bda92ed95fc8345ce6f43d07336e70b5
[ "MIT" ]
30
2015-05-09T02:05:30.000Z
2020-11-05T13:52:24.000Z
#!/usr/bin/python3 import logging from test_shared import initializeLogs, initializeUartPort, baseOperations from lib.sim900.smshandler import SimGsmSmsHandler, SimSmsPduCompiler def printScaPlusPdu(pdu, logger): # printing SCA+PDU just for debug d = pdu.compile() if d is None: return False ...
24.053763
114
0.643272
269
2,237
5.237918
0.423792
0.038325
0.063875
0.012775
0.028389
0.028389
0
0
0
0
0
0.01335
0.263299
2,237
92
115
24.315217
0.841019
0.206527
0
0.166667
0
0
0.101083
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.104167
0
0
0
null
0
0
0
0
0
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
c9c4dc33bfa1faa3d19c72bdd72e244b5e361a66
694
py
Python
zpgc_2016b/include/alaudio.py
mpatacchiola/naogui
2c71c82362edcf66b1a24a5f2af23e9719011146
[ "MIT" ]
2
2017-12-22T14:33:07.000Z
2020-07-23T09:35:59.000Z
zpgc_2016c/include/alaudio.py
mpatacchiola/naogui
2c71c82362edcf66b1a24a5f2af23e9719011146
[ "MIT" ]
null
null
null
zpgc_2016c/include/alaudio.py
mpatacchiola/naogui
2c71c82362edcf66b1a24a5f2af23e9719011146
[ "MIT" ]
4
2016-04-01T10:02:39.000Z
2018-04-14T08:05:20.000Z
# -*- encoding: UTF-8 -*- import sys import time sys.path.insert(1, "../include/pynaoqi-python2.7-2.1.3.3-linux64") #import this module for the nao.py module from naoqi import ALProxy if (len(sys.argv) < 2): print "Usage: 'python audioplayer_play.py IP [PORT]'" sys.exit(1) IP = sys.argv[1] PORT = 9559 if (l...
24.785714
108
0.690202
117
694
4.034188
0.615385
0.059322
0.050847
0.050847
0.055085
0
0
0
0
0
0
0.046552
0.164265
694
27
109
25.703704
0.767241
0.165706
0
0.1
0
0
0.361739
0.173913
0
0
0
0
0
0
null
null
0
0.15
null
null
0.15
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c9c5681af8dcd47078d649177ff3c037ef1ceadd
1,035
py
Python
pyfc/tempcontainers.py
vrga/pyFanController
99c707febddc2269d9ab062490eb4a9c45f76230
[ "MIT" ]
null
null
null
pyfc/tempcontainers.py
vrga/pyFanController
99c707febddc2269d9ab062490eb4a9c45f76230
[ "MIT" ]
null
null
null
pyfc/tempcontainers.py
vrga/pyFanController
99c707febddc2269d9ab062490eb4a9c45f76230
[ "MIT" ]
null
null
null
from typing import Dict from .common import mean, ValueBuffer from datetime import datetime, timezone, timedelta class TemperatureGroup: def __init__(self, name, time_read_sec=1): self.name = name self.data: Dict[str, ValueBuffer] = {} self.last_update = datetime.now(tz=timezone.utc) - t...
29.571429
80
0.631884
130
1,035
4.930769
0.376923
0.074883
0.065523
0.068643
0.078003
0
0
0
0
0
0
0.010568
0.268599
1,035
34
81
30.441176
0.836196
0
0
0
0
0
0
0
0
0
0
0
0
1
0.16
false
0
0.12
0
0.52
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
c9c99958e25351a3fac1cd198c276bd7ee072c9a
4,954
py
Python
tests/test_ISR.py
engeir/isr-spectrum
1e6f9d4c95a8bbeeb38395474c16d56e9063c665
[ "MIT" ]
1
2020-05-04T17:03:21.000Z
2020-05-04T17:03:21.000Z
tests/test_ISR.py
engeir/isr_spectrum
7ac0562dd71c3d55bf5991c3fe8de3b5d8a55a02
[ "MIT" ]
4
2022-01-13T16:54:39.000Z
2022-03-30T21:03:27.000Z
tests/test_ISR.py
engeir/isr_spectrum
7ac0562dd71c3d55bf5991c3fe8de3b5d8a55a02
[ "MIT" ]
null
null
null
"""This script implements tests for functions used throughout the program. Run from directory `program` with command python -m unittest test.test_ISR -b """ import multiprocessing as mp mp.set_start_method("fork") import unittest # pylint: disable=C0413 import numpy as np # pylint: disable=C0413 import scipy.con...
31.35443
83
0.591441
684
4,954
4.115497
0.238304
0.068206
0.134991
0.16341
0.544938
0.509414
0.472114
0.425577
0.378686
0.356661
0
0.03533
0.268672
4,954
157
84
31.55414
0.741651
0.223658
0
0.326531
0
0
0.086138
0
0
0
0
0
0.244898
1
0.122449
false
0
0.071429
0
0.214286
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
c9cec260a495923e5d533fd7fb343a86e99e3d4e
1,576
py
Python
app/model/rental.py
almamallo/ejemplo-sphinx
65a0c07bead651a15b8409b0387ed6d041db1fd0
[ "Apache-2.0" ]
null
null
null
app/model/rental.py
almamallo/ejemplo-sphinx
65a0c07bead651a15b8409b0387ed6d041db1fd0
[ "Apache-2.0" ]
null
null
null
app/model/rental.py
almamallo/ejemplo-sphinx
65a0c07bead651a15b8409b0387ed6d041db1fd0
[ "Apache-2.0" ]
null
null
null
""" Rental ====== """ class Rental: """ Representa el alquier de un barco de un cliente. :param client: El cliente, arrendatario del alquiler. :param boat: El barco del client para el que se realiza el alquiler. :param start_date: Fecha de inicio del alquiler. :param end_date: Fecha de fin d...
25.836066
90
0.635152
205
1,576
4.717073
0.307317
0.068252
0.066184
0.03516
0
0
0
0
0
0
0
0.001764
0.280457
1,576
60
91
26.266667
0.85097
0.484772
0
0
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0
0
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c9d5727ae103d1267d3ee7871bd00a41ee83b324
389
py
Python
utils/mixins.py
TheKiddos/StaRat
33807d73276563f636b430e1bbfcb65b645869f7
[ "MIT" ]
1
2021-05-18T16:33:10.000Z
2021-05-18T16:33:10.000Z
utils/mixins.py
TheKiddos/StaRat
33807d73276563f636b430e1bbfcb65b645869f7
[ "MIT" ]
3
2021-05-18T16:02:32.000Z
2021-05-21T15:20:12.000Z
utils/mixins.py
TheKiddos/StaRat
33807d73276563f636b430e1bbfcb65b645869f7
[ "MIT" ]
1
2021-09-12T22:56:09.000Z
2021-09-12T22:56:09.000Z
from rest_framework.permissions import AllowAny class PublicListRetrieveViewSetMixin: """Allow anyone to use list and retrieve actions, return default permissions and auth otherwise""" allowed_actions = ['list', 'retrieve'] def get_permissions(self): if self.action in self.allowed_actions: ...
32.416667
102
0.714653
43
389
6.348837
0.651163
0.095238
0
0
0
0
0
0
0
0
0
0
0.200514
389
11
103
35.363636
0.877814
0.236504
0
0
0
0
0.041237
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c9da7ebc9ebd24b5ce44705e2e55bdb890c52407
9,176
py
Python
Lib/test/test_mailcap.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
1
2018-06-21T18:21:24.000Z
2018-06-21T18:21:24.000Z
Lib/test/test_mailcap.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
Lib/test/test_mailcap.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
zaimportuj mailcap zaimportuj os zaimportuj shutil zaimportuj test.support zaimportuj unittest # Location of mailcap file MAILCAPFILE = test.support.findfile("mailcap.txt") # Dict to act jako mock mailcap entry dla this test # The keys oraz values should match the contents of MAILCAPFILE MAILCAPDICT = { 'applicat...
42.091743
104
0.549041
977
9,176
5.103378
0.253838
0.028079
0.015443
0.015042
0.282792
0.23586
0.191536
0.179503
0.165062
0.13578
0
0.005794
0.28531
9,176
217
105
42.285714
0.754498
0.168701
0
0.134146
0
0.012195
0.316877
0.02238
0
0
0
0
0.085366
0
null
null
0.012195
0.030488
null
null
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
1
0
0
0
0
0
0
0
0
1
c9ec8f57071dfa5f15c145a3e4c4fa72401b3d22
449
py
Python
tests/graphite_test.py
datastax-labs/hunter
3631cc3fa529991297a8b631bbae15b138cce307
[ "Apache-2.0" ]
17
2021-09-03T07:32:40.000Z
2022-03-24T21:56:22.000Z
tests/graphite_test.py
datastax-labs/hunter
3631cc3fa529991297a8b631bbae15b138cce307
[ "Apache-2.0" ]
1
2021-12-02T14:05:07.000Z
2021-12-02T14:05:07.000Z
tests/graphite_test.py
datastax-labs/hunter
3631cc3fa529991297a8b631bbae15b138cce307
[ "Apache-2.0" ]
2
2022-01-18T18:40:41.000Z
2022-03-11T15:33:25.000Z
from hunter.graphite import compress_target_paths def test_compress_target_paths(): paths = [ "foo.bar.p50", "foo.bar.p75", "foo.bar.p99", "foo.foo.baz.p50", "foo.foo.baz.p75", "foo.foo.baz.throughput", "something.else", ] assert set(compress_target...
22.45
49
0.556793
55
449
4.418182
0.363636
0.098765
0.148148
0.197531
0.395062
0.271605
0.271605
0
0
0
0
0.061538
0.276169
449
19
50
23.631579
0.686154
0
0
0.125
0
0
0.36971
0.167038
0
0
0
0
0.0625
1
0.0625
false
0
0.0625
0
0.125
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
c9f3cf8902da7131992e192430916de07d4a813b
1,209
py
Python
typeddfs/_mixins/_pretty_print_mixin.py
dmyersturnbull/typed-dfs
57504da6cf2085e96ef62f35afcc2f733a9910e0
[ "Apache-2.0" ]
5
2020-07-14T14:03:35.000Z
2022-01-15T03:34:15.000Z
typeddfs/_mixins/_pretty_print_mixin.py
kokellab/typed-dfs
11c80080446a28e618a379569606f1c1ba387062
[ "Apache-2.0" ]
83
2021-01-06T06:19:12.000Z
2022-03-28T03:06:18.000Z
typeddfs/_mixins/_pretty_print_mixin.py
kokellab/typed-dfs
11c80080446a28e618a379569606f1c1ba387062
[ "Apache-2.0" ]
null
null
null
""" Mixin that just overrides _repr_html. """ class _PrettyPrintMixin: """ A DataFrame with an overridden ``_repr_html_`` and some simple additional methods. """ def _repr_html_(self) -> str: """ Renders HTML for display() in Jupyter notebooks. Jupyter automatically uses this ...
30.225
107
0.610422
144
1,209
4.951389
0.576389
0.058906
0.033661
0.047686
0.112202
0.112202
0.112202
0.112202
0.112202
0.112202
0
0.001159
0.286187
1,209
39
108
31
0.822711
0.468983
0
0
0
0.181818
0.435028
0.19774
0
0
0
0
0
1
0.181818
false
0
0
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c9f5147f17c4bc6062891d7e0f8f3bf64753259d
1,694
py
Python
client/src/FifoFile.py
tommccallum/smartbot
7241aa80a8dfa1f67e411c9000d65addd81ebd3f
[ "MIT" ]
1
2021-01-27T11:18:54.000Z
2021-01-27T11:18:54.000Z
client/src/FifoFile.py
tommccallum/smartbot
7241aa80a8dfa1f67e411c9000d65addd81ebd3f
[ "MIT" ]
null
null
null
client/src/FifoFile.py
tommccallum/smartbot
7241aa80a8dfa1f67e411c9000d65addd81ebd3f
[ "MIT" ]
null
null
null
import logging import os class FifoFile: """ Fifo object that handles directory and file creation """ instance_counter = 1 """Makes any fifo name unique""" def __init__(self, fifo_path=None, filename_prefix = "smartbot"): self.fifo_filename = "{}_{}.{}".format(filename_prefix, str(Fi...
33.215686
102
0.62987
217
1,694
4.677419
0.299539
0.126108
0.118227
0.029557
0.070936
0
0
0
0
0
0
0.001563
0.244392
1,694
50
103
33.88
0.791406
0.0549
0
0
0
0
0.096732
0
0
0
0
0
0
1
0.212121
false
0
0.060606
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a003824398196538a13a8f6da8daad758512926f
2,195
py
Python
run.py
msk-5s/hclust-uniform
81986510d529d5ca3dd5f81515f010078b729446
[ "MIT" ]
null
null
null
run.py
msk-5s/hclust-uniform
81986510d529d5ca3dd5f81515f010078b729446
[ "MIT" ]
null
null
null
run.py
msk-5s/hclust-uniform
81986510d529d5ca3dd5f81515f010078b729446
[ "MIT" ]
null
null
null
# SPDX-License-Identifier: MIT """ This script runs phase identification using a single set of parameters. Note that the results in this script may differ a bit from the results gotten from using `run_suite.py`. This is because the random number generator is only `invoked` once in this script where as it is `invoked`...
39.196429
100
0.37631
168
2,195
4.797619
0.577381
0.037221
0.029777
0
0
0
0
0
0
0
0
0.008312
0.123007
2,195
55
101
39.909091
0.41039
0.675171
0
0.105263
0
0
0.060741
0
0
0
0
0
0
1
0.052632
false
0
0.210526
0
0.263158
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a00c68e4f804718b72bfbfce90e19f26df409b91
1,556
py
Python
backend/tournesol/throttling.py
iamnkc/tournesol
4a09985f494577917c357783a37dfae02c57fd82
[ "CC0-1.0" ]
null
null
null
backend/tournesol/throttling.py
iamnkc/tournesol
4a09985f494577917c357783a37dfae02c57fd82
[ "CC0-1.0" ]
null
null
null
backend/tournesol/throttling.py
iamnkc/tournesol
4a09985f494577917c357783a37dfae02c57fd82
[ "CC0-1.0" ]
null
null
null
from rest_framework.throttling import AnonRateThrottle, ScopedRateThrottle, UserRateThrottle class BurstAnonRateThrottle(AnonRateThrottle): """ Limit the rate of API calls that may be made by an anonymous users. Should be used to define a rate for a short period of time. """ scope = "anon_burst"...
26.372881
92
0.705656
204
1,556
5.348039
0.362745
0.036664
0.054995
0.064161
0.493126
0.493126
0.493126
0.471127
0.471127
0.471127
0
0
0.235219
1,556
58
93
26.827586
0.916807
0.514781
0
0
0
0
0.080871
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.928571
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
a00cb8f36d21aa55ca080b23c6c59edf9b521eb9
5,357
py
Python
autodraft/draftHost/logic/fantasy.py
gnmerritt/autodraft
b4071f9cc5eaf57beb19ba1aec99377afdbfb09a
[ "MIT" ]
null
null
null
autodraft/draftHost/logic/fantasy.py
gnmerritt/autodraft
b4071f9cc5eaf57beb19ba1aec99377afdbfb09a
[ "MIT" ]
null
null
null
autodraft/draftHost/logic/fantasy.py
gnmerritt/autodraft
b4071f9cc5eaf57beb19ba1aec99377afdbfb09a
[ "MIT" ]
null
null
null
import datetime as d import uuid from django.utils import timezone from draftHost import models from json import JsonObject, JsonTime, EmailMasker from performance import ReadOnlyCachedAttribute import nfl, draft class JsonFantasyRoster(JsonObject): fields = ['slots',] show_id = False class JsonFantasyDraf...
29.434066
81
0.62479
644
5,357
4.976708
0.180124
0.037442
0.059906
0.034945
0.176599
0.127301
0.116069
0.061154
0.061154
0.033073
0
0.000259
0.279821
5,357
181
82
29.596685
0.830482
0.029867
0
0.100719
0
0
0.04648
0
0
0
0
0
0
1
0.179856
false
0.035971
0.05036
0.079137
0.568345
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
a00df87ea7efb585c2f792eae62f4a5c9e8616d7
397
py
Python
src/__init__.py
smkell/pyfbl
658e137da78de71c493f0b8ac3e4ec85f4e773ed
[ "MIT" ]
null
null
null
src/__init__.py
smkell/pyfbl
658e137da78de71c493f0b8ac3e4ec85f4e773ed
[ "MIT" ]
null
null
null
src/__init__.py
smkell/pyfbl
658e137da78de71c493f0b8ac3e4ec85f4e773ed
[ "MIT" ]
null
null
null
from flags import Flags class PositionElgibility(Flags): """ Bitwise enum for marking a player's egibility.abs """ catcher = () first_base = () second_base = () third_base = () short_stop = () outfield = () left_field = () center_field = () right_field = () designated_h...
20.894737
57
0.584383
39
397
5.692308
0.794872
0
0
0
0
0
0
0
0
0
0
0
0.289673
397
19
58
20.894737
0.787234
0.123426
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.066667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a00ed78e391cd1ec859988cec050c1c543fc5e91
5,142
py
Python
tests/effects/test_equalizer.py
Nikolay-Lysenko/sinethesizer
fe6855186a00e701113ea5bb4fac104bf8497035
[ "MIT" ]
8
2019-07-25T12:17:38.000Z
2021-09-04T19:38:21.000Z
tests/effects/test_equalizer.py
Nikolay-Lysenko/sinethesizer
fe6855186a00e701113ea5bb4fac104bf8497035
[ "MIT" ]
7
2019-07-20T18:04:54.000Z
2021-08-03T17:31:26.000Z
tests/effects/test_equalizer.py
Nikolay-Lysenko/sinethesizer
fe6855186a00e701113ea5bb4fac104bf8497035
[ "MIT" ]
1
2019-10-16T18:44:43.000Z
2019-10-16T18:44:43.000Z
""" Test `sinethesizer.effects.equalizer` module. Author: Nikolay Lysenko """ from typing import Any, Dict, List import numpy as np import pytest from scipy.signal import spectrogram from sinethesizer.effects.equalizer import apply_equalizer from sinethesizer.synth.core import Event from sinethesizer.oscillators i...
33.174194
75
0.483469
533
5,142
4.596623
0.26454
0.040408
0.006122
0.029388
0.546939
0.546939
0.546939
0.546939
0.542857
0.542857
0
0.257473
0.394983
5,142
154
76
33.38961
0.530055
0.168028
0
0.336364
0
0
0.061408
0.022437
0
0
0
0
0.009091
1
0.009091
false
0
0.063636
0
0.072727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a018fc0229ba9869182407ca67226ca51fe481bd
1,497
py
Python
migrations/versions/43162db35c55_.py
NeverLeft/FLASKTPP
3480131f3386bfc86e45a914f2140949863641dd
[ "Apache-2.0" ]
null
null
null
migrations/versions/43162db35c55_.py
NeverLeft/FLASKTPP
3480131f3386bfc86e45a914f2140949863641dd
[ "Apache-2.0" ]
null
null
null
migrations/versions/43162db35c55_.py
NeverLeft/FLASKTPP
3480131f3386bfc86e45a914f2140949863641dd
[ "Apache-2.0" ]
null
null
null
"""empty message Revision ID: 43162db35c55 Revises: 8958fdf1725c Create Date: 2018-06-12 14:27:07.207294 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '43162db35c55' down_revision = '8958fdf1725c' branch_labels = None depends_on = None def upgrade(): # ...
33.266667
73
0.683367
191
1,497
5.329843
0.371728
0.11002
0.178782
0.235756
0.428291
0.428291
0.371316
0.371316
0
0
0
0.057858
0.145625
1,497
44
74
34.022727
0.738077
0.197061
0
0
0
0
0.132189
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.153846
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
a01d1f0078acd5d1336952fdc0ce79688a83b03b
215
py
Python
scripts/check_db.py
brl0/bripy
3754b5db651180d58645bd7d32c3d5d12528ebde
[ "MIT" ]
null
null
null
scripts/check_db.py
brl0/bripy
3754b5db651180d58645bd7d32c3d5d12528ebde
[ "MIT" ]
null
null
null
scripts/check_db.py
brl0/bripy
3754b5db651180d58645bd7d32c3d5d12528ebde
[ "MIT" ]
null
null
null
from sqlalchemy import create_engine import pandas as pd database = 'fileinfo.db' engine = create_engine(f'sqlite:///{database}') df = pd.read_sql('SELECT * FROM files;', engine) print(df.info()) print(df.head())
21.5
48
0.725581
32
215
4.78125
0.65625
0.156863
0
0
0
0
0
0
0
0
0
0
0.116279
215
9
49
23.888889
0.805263
0
0
0
0
0
0.237209
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a01e111c243836aae897ed99b45bdd0d52ea0940
17,656
py
Python
Train_SDAE/stacked_dae.py
glrs/StackedDAE
c21e851dc13e11f201ce7289e854c05956637986
[ "Apache-2.0" ]
28
2016-03-01T20:21:38.000Z
2021-11-22T14:23:00.000Z
Train_SDAE/stacked_dae.py
glrs/StackedDAE
c21e851dc13e11f201ce7289e854c05956637986
[ "Apache-2.0" ]
null
null
null
Train_SDAE/stacked_dae.py
glrs/StackedDAE
c21e851dc13e11f201ce7289e854c05956637986
[ "Apache-2.0" ]
15
2016-03-05T18:43:35.000Z
2022-01-07T12:24:36.000Z
from __future__ import division import tensorflow as tf import numpy as np import time import sklearn from sklearn.metrics import precision_score, confusion_matrix from sklearn.metrics import recall_score, f1_score, roc_curve from dae import DAE_Layer from os.path import join as pjoin #from utils import load_data_s...
43.168704
153
0.567173
2,186
17,656
4.342635
0.168344
0.013273
0.015169
0.010955
0.310966
0.264932
0.219425
0.180343
0.165596
0.137786
0
0.008006
0.342093
17,656
408
154
43.27451
0.809229
0.135535
0
0.24359
0
0.004274
0.051981
0.001832
0
0
0
0
0
0
null
null
0
0.059829
null
null
0.051282
0
0
0
null
0
0
0
0
0
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
4e42720da03ba3a22d671fec22abf835213e1aa7
643
py
Python
tests/unit/cmds/test_cmd_my_name.py
gsfellis/noob_snhubot
7caba3cbf672183f37119f1199b2269bbe8792b3
[ "MIT" ]
2
2018-03-29T02:24:56.000Z
2018-10-01T18:08:07.000Z
tests/unit/cmds/test_cmd_my_name.py
gsfellis/noob_snhubot
7caba3cbf672183f37119f1199b2269bbe8792b3
[ "MIT" ]
15
2018-03-16T15:52:10.000Z
2018-12-24T17:59:51.000Z
tests/unit/cmds/test_cmd_my_name.py
gsfellis/noob_snhubot
7caba3cbf672183f37119f1199b2269bbe8792b3
[ "MIT" ]
3
2018-03-18T23:57:53.000Z
2019-07-15T20:45:17.000Z
import string import random from cmds import my_name from Bot import Bot class TestCmdMyName(object): cmd = "what's my name?" uid = ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(9)) bot = Bot(uid, None, None) def test_command(self): assert my_...
24.730769
78
0.631415
87
643
4.563218
0.494253
0.075567
0.060453
0.080605
0
0
0
0
0
0
0
0.002105
0.261275
643
25
79
25.72
0.833684
0
0
0
0
0
0.097978
0
0
0
0
0
0.166667
1
0.166667
false
0
0.222222
0
0.611111
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
4e42c88b683a06c42e86880d79e11d92989baf48
3,552
py
Python
src/django_include_bootstrap/migrations/0002_auto_20200112_1311.py
xelaxela13/django_include_bootstrap
7c37cc2b894c19266b92cb8fa07b1921ddf2aab8
[ "MIT" ]
null
null
null
src/django_include_bootstrap/migrations/0002_auto_20200112_1311.py
xelaxela13/django_include_bootstrap
7c37cc2b894c19266b92cb8fa07b1921ddf2aab8
[ "MIT" ]
null
null
null
src/django_include_bootstrap/migrations/0002_auto_20200112_1311.py
xelaxela13/django_include_bootstrap
7c37cc2b894c19266b92cb8fa07b1921ddf2aab8
[ "MIT" ]
null
null
null
# Generated by Django 3.0.2 on 2020-01-12 13:11 from django.db import migrations bootstrap_version = "4.4.1" jquery_version = "3.3.1" popover_version = "1.14.3" fontawesome_version = "4.7.0" urls_settings = [ { "library": 4, "version": bootstrap_version, "url": f"https://stackpath.bootstra...
39.466667
113
0.673986
363
3,552
6.487603
0.278237
0.067941
0.088323
0.098514
0.529936
0.502335
0.457749
0.433546
0.355414
0.355414
0
0.046464
0.175957
3,552
89
114
39.910112
0.758114
0.012669
0
0.227848
1
0.075949
0.564051
0.16234
0
0
0
0
0
1
0.025316
false
0
0.012658
0
0.075949
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
4e462e00dcf0244ee9090c134358edcc9e6a6c59
3,906
py
Python
USB/python/test-usb2001tc.py
wjasper/Linix_Drivers
9c5443f3c9d249f341b6b8580929f8cdbdba4079
[ "JasPer-2.0" ]
100
2016-11-08T15:41:43.000Z
2022-02-20T19:37:32.000Z
USB/python/test-usb2001tc.py
wjasper/Linix_Drivers
9c5443f3c9d249f341b6b8580929f8cdbdba4079
[ "JasPer-2.0" ]
37
2017-01-05T17:48:14.000Z
2022-01-06T17:43:27.000Z
USB/python/test-usb2001tc.py
wjasper/Linix_Drivers
9c5443f3c9d249f341b6b8580929f8cdbdba4079
[ "JasPer-2.0" ]
65
2016-12-20T07:03:44.000Z
2022-03-14T21:48:35.000Z
#! /usr/bin/python3 # # Copyright (c) 2019 Warren J. Jasper <wjasper@ncsu.edu> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) a...
34.566372
109
0.622888
543
3,906
4.45488
0.38674
0.056222
0.014882
0.023563
0.171145
0.147995
0.114097
0.064489
0.028111
0.028111
0
0.045455
0.233999
3,906
112
110
34.875
0.763035
0.217102
0
0.023256
0
0
0.332237
0
0
0
0
0
0
1
0.023256
false
0
0.05814
0
0.116279
0.406977
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
4e494bf6a380c6128d5a1e9fb593a59a2f054b85
13,530
py
Python
ambra_sdk/service/entrypoints/generated/session.py
agolovkina/sdk-python
248f9301dd801527b28881e2641eb21fe189a6dc
[ "Apache-2.0" ]
null
null
null
ambra_sdk/service/entrypoints/generated/session.py
agolovkina/sdk-python
248f9301dd801527b28881e2641eb21fe189a6dc
[ "Apache-2.0" ]
null
null
null
ambra_sdk/service/entrypoints/generated/session.py
agolovkina/sdk-python
248f9301dd801527b28881e2641eb21fe189a6dc
[ "Apache-2.0" ]
null
null
null
""" Session. Do not edit this file by hand. This is generated by parsing api.html service doc. """ from ambra_sdk.exceptions.service import AuthFailed from ambra_sdk.exceptions.service import BadPassword from ambra_sdk.exceptions.service import Blocked from ambra_sdk.exceptions.service import BrandNotAllowed from ambr...
37.272727
266
0.612047
1,508
13,530
5.295093
0.13992
0.11722
0.039073
0.068879
0.509831
0.499937
0.379712
0.368817
0.347151
0.331371
0
0.001145
0.290244
13,530
363
267
37.272727
0.830366
0.119734
0
0.491103
1
0.02847
0.279679
0
0
0
0
0
0
1
0.046263
false
0.035587
0.092527
0
0.185053
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
4e49c9b8a2769ed3bdd04410a1169a3e6865dc44
2,799
py
Python
core/models/model.py
Latterlig96/airflow-model-trainer
7da36aae3036759639ae1c556f41fc70409aa444
[ "MIT" ]
null
null
null
core/models/model.py
Latterlig96/airflow-model-trainer
7da36aae3036759639ae1c556f41fc70409aa444
[ "MIT" ]
null
null
null
core/models/model.py
Latterlig96/airflow-model-trainer
7da36aae3036759639ae1c556f41fc70409aa444
[ "MIT" ]
null
null
null
import timm import torch.nn as nn import torch from pytorch_lightning import LightningModule import torchmetrics from typing import Dict, Any class EfficientNetB1(nn.Module): def __init__(self): super().__init__() self.backbone = timm.create_model( 'efficientnet_b1', pretrained=True, ...
31.449438
79
0.62701
330
2,799
5.090909
0.278788
0.026786
0.023214
0.033929
0.254762
0.254762
0.22619
0.22619
0.22619
0.175
0
0.007212
0.256877
2,799
88
80
31.806818
0.800481
0
0
0.173913
0
0
0.033226
0
0
0
0
0
0
1
0.231884
false
0
0.086957
0
0.434783
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
4e4a923e158888b3d4d5c34fac554043c558b3c2
7,755
py
Python
emtf_nnet/keras/quantization/default_quantize_scheme.py
jiafulow/emtf-nnet
70a6c747c221178f9db940197ea886bdb60bf3ba
[ "Apache-2.0" ]
null
null
null
emtf_nnet/keras/quantization/default_quantize_scheme.py
jiafulow/emtf-nnet
70a6c747c221178f9db940197ea886bdb60bf3ba
[ "Apache-2.0" ]
null
null
null
emtf_nnet/keras/quantization/default_quantize_scheme.py
jiafulow/emtf-nnet
70a6c747c221178f9db940197ea886bdb60bf3ba
[ "Apache-2.0" ]
null
null
null
# The following source code was originally obtained from: # https://github.com/tensorflow/model-optimization/blob/v0.7.0/tensorflow_model_optimization/python/core/quantization/keras/default_8bit/default_8bit_quantize_scheme.py # https://github.com/tensorflow/model-optimization/blob/v0.7.0/tensorflow_model_optimization/...
44.0625
178
0.772663
795
7,755
7.31195
0.289308
0.044727
0.055049
0.051608
0.293824
0.237571
0.227593
0.205918
0.163599
0.131258
0
0.004621
0.134881
7,755
175
179
44.314286
0.861827
0.383366
0
0.047619
0
0
0.128111
0.048474
0
0
0
0.017143
0
1
0.107143
false
0
0.142857
0.047619
0.404762
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4e52e216784d13b3e588296212581a7b442e91f8
1,376
py
Python
test_HW1.py
zinhart/kvs_boost
5a3bee82284a9b1bfec7971168e9296976bfa091
[ "MIT" ]
null
null
null
test_HW1.py
zinhart/kvs_boost
5a3bee82284a9b1bfec7971168e9296976bfa091
[ "MIT" ]
null
null
null
test_HW1.py
zinhart/kvs_boost
5a3bee82284a9b1bfec7971168e9296976bfa091
[ "MIT" ]
null
null
null
import unittest import subprocess import requests PORT=8080 class TestHW1(unittest.TestCase): def test1(self): res = requests.get('http://localhost:'+str(PORT)+'/check') self.assertEqual(res.text, 'This is a GET request', msg='Incorrect response to GET request to /check endpoint') self.assertEqual...
43
119
0.683866
190
1,376
4.894737
0.252632
0.112903
0.135484
0.107527
0.751613
0.510753
0.444086
0.444086
0.378495
0.286022
0
0.024605
0.172965
1,376
31
120
44.387097
0.792619
0
0
0
0
0
0.412791
0
0
0
0
0
0.291667
1
0.208333
false
0
0.125
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
1
0
0
0
0
0
0
0
1
4e637b103d18579916bf324d23aa441cf9dd950d
431
py
Python
shopapp/shoptrans/migrations/0015_auto_20181209_1600.py
biseshbhattarai/Transaction-Microservice
32226e339d53842d6178f50d5988880e7a7ae7c3
[ "MIT" ]
null
null
null
shopapp/shoptrans/migrations/0015_auto_20181209_1600.py
biseshbhattarai/Transaction-Microservice
32226e339d53842d6178f50d5988880e7a7ae7c3
[ "MIT" ]
null
null
null
shopapp/shoptrans/migrations/0015_auto_20181209_1600.py
biseshbhattarai/Transaction-Microservice
32226e339d53842d6178f50d5988880e7a7ae7c3
[ "MIT" ]
null
null
null
# Generated by Django 2.1 on 2018-12-09 10:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shoptrans', '0014_auto_20181209_1554'), ] operations = [ migrations.AlterField( model_name='product', name='creditor_n...
22.684211
87
0.62181
47
431
5.574468
0.829787
0
0
0
0
0
0
0
0
0
0
0.11041
0.264501
431
18
88
23.944444
0.716088
0.099768
0
0
1
0
0.163212
0.059585
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
4e6a8ab206fcd80138984909ead6959142cf2679
388
py
Python
makeGif.py
andersdot/modelMWkinematics
381518f02e6efaec8c7b47f3cca3a8eb3aa2434f
[ "MIT" ]
null
null
null
makeGif.py
andersdot/modelMWkinematics
381518f02e6efaec8c7b47f3cca3a8eb3aa2434f
[ "MIT" ]
null
null
null
makeGif.py
andersdot/modelMWkinematics
381518f02e6efaec8c7b47f3cca3a8eb3aa2434f
[ "MIT" ]
null
null
null
import imageio import numpy as np import sys filenamepre = sys.argv[1] filenamepost = sys.argv[2] images = [] frames = np.arange(35, 165) for i in range(9): for j in range(9): filename = '{0}_{1:03d}_{2:03d}.{3}'.format(filenamepre, i+1, j+1, filenamepost) print filename images.append(imag...
24.25
88
0.664948
58
388
4.413793
0.551724
0.054688
0.0625
0
0
0
0
0
0
0
0
0.060127
0.185567
388
15
89
25.866667
0.75
0
0
0
0
0
0.069588
0.059278
0
0
0
0
0
0
null
null
0
0.230769
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4e6b7a1a57689264498c5877c0366716e4a416ab
1,710
py
Python
gen_fdm.py
lljbash/FastTT
943ed6756f630bbf2a7d18f297b65b98c2d891b8
[ "MIT" ]
6
2021-02-27T10:07:33.000Z
2022-02-12T22:49:26.000Z
gen_fdm.py
lljbash/FastTT
943ed6756f630bbf2a7d18f297b65b98c2d891b8
[ "MIT" ]
null
null
null
gen_fdm.py
lljbash/FastTT
943ed6756f630bbf2a7d18f297b65b98c2d891b8
[ "MIT" ]
1
2021-09-14T09:22:55.000Z
2021-09-14T09:22:55.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import numpy as np alpha = np.random.rand(7) alpha /= np.linalg.norm(alpha, 1) n = 40 def index_to_position(index): p = 0 a, b, c, d, e, f = index index = [a, d, b, e, c, f] for i in index: p = p * n + i return p if __name__ == "__main__": ...
37.173913
69
0.374854
247
1,710
2.497976
0.226721
0.038898
0.048622
0.181524
0.693679
0.615883
0.615883
0.58671
0.58671
0.58671
0
0.032944
0.449708
1,710
45
70
38
0.622742
0.025146
0
0.105263
0
0
0.034856
0
0
0
0
0
0
1
0.026316
false
0
0.026316
0
0.078947
0.184211
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
4e6ee7e192fbde8739fcbe25af5697e1f9a59049
395
py
Python
measures/migrations/0005_auto_20210224_2242.py
uktrade/tamato
4ba2ffb25eea2887e4e081c81da7634cd7b4f9ca
[ "MIT" ]
14
2020-03-25T11:11:29.000Z
2022-03-08T20:41:33.000Z
measures/migrations/0005_auto_20210224_2242.py
uktrade/tamato
4ba2ffb25eea2887e4e081c81da7634cd7b4f9ca
[ "MIT" ]
352
2020-03-25T10:42:09.000Z
2022-03-30T15:32:26.000Z
measures/migrations/0005_auto_20210224_2242.py
uktrade/tamato
4ba2ffb25eea2887e4e081c81da7634cd7b4f9ca
[ "MIT" ]
3
2020-08-06T12:22:41.000Z
2022-01-16T11:51:12.000Z
# Generated by Django 3.1 on 2021-02-24 22:42 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("measures", "0004_rename_condition_component_measurement"), ] operations = [ migrations.AlterModelOptions( name="measurecondition", ...
21.944444
68
0.643038
37
395
6.702703
0.864865
0
0
0
0
0
0
0
0
0
0
0.060606
0.248101
395
17
69
23.235294
0.774411
0.108861
0
0
1
0
0.285714
0.194286
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4e774dc29221595db5acbbd6eb7c6434ab0d07dc
1,795
py
Python
py/mistql/cli.py
evinism/millieql
9f68e52504c3c2e4996aaa934f493fdbb089d569
[ "MIT" ]
263
2021-09-22T07:41:16.000Z
2022-03-31T10:57:00.000Z
py/mistql/cli.py
evinism/millieql
9f68e52504c3c2e4996aaa934f493fdbb089d569
[ "MIT" ]
90
2021-09-20T08:44:58.000Z
2022-03-26T06:24:44.000Z
py/mistql/cli.py
evinism/beakerql
213331b96f83daa057a28d1019fdaa1fa29b6377
[ "MIT" ]
12
2021-09-22T17:15:06.000Z
2022-02-10T20:10:51.000Z
#!/usr/bin/env python3 from typing import Union import argparse from mistql import __version__ from mistql import query import sys import json import logging log = logging.getLogger(__name__) parser = argparse.ArgumentParser( description="CLI for the python MistQL query language implementation" ) parser.add_arg...
27.19697
87
0.660167
250
1,795
4.564
0.368
0.057844
0.059597
0.04908
0.096407
0.096407
0.096407
0.096407
0.096407
0.096407
0
0.003559
0.21727
1,795
65
88
27.615385
0.808541
0.042897
0
0.098039
0
0
0.170746
0
0
0
0
0.015385
0
1
0.019608
false
0
0.137255
0
0.156863
0.039216
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4e7c01611d44267ba1acfef75fbe7c3e260c5cba
1,814
py
Python
csvsplitter.py
harryhan1989/csvsplitter
c8c25f65a27059c6f3791323c39b8eb753e155ad
[ "MIT" ]
7
2016-06-22T06:40:11.000Z
2021-10-30T16:44:20.000Z
csvsplitter.py
harryhan1989/csvsplitter
c8c25f65a27059c6f3791323c39b8eb753e155ad
[ "MIT" ]
2
2016-08-02T07:28:58.000Z
2017-12-19T18:45:31.000Z
csvsplitter.py
harryhan1989/csvsplitter
c8c25f65a27059c6f3791323c39b8eb753e155ad
[ "MIT" ]
2
2020-04-21T21:11:48.000Z
2021-09-07T21:26:27.000Z
import sys,os import py2 as csv import converter,iohelper from itertools import groupby def do_split(csvfilepath,colidx): result = {} header=[] iohelper.delete_file_folder('splitted/') iohelper.dir_create('splitted/') with open(csvfilepath, 'rb') as csvfile: csvreader = csv.reader(csvfile, ...
44.243902
86
0.488423
195
1,814
4.497436
0.333333
0.112885
0.082098
0.051311
0.368301
0.291904
0.239453
0.116306
0.116306
0.116306
0
0.011576
0.380926
1,814
41
87
44.243902
0.769368
0
0
0.1
0
0
0.088705
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4e7d951b6666fe0170d6f367a7dc198639ed32fb
769
py
Python
django_todo/apps/core/models.py
maxicecilia/django_todo
d669c89c1885722cdb4e1a366ccff530137c64cc
[ "MIT" ]
null
null
null
django_todo/apps/core/models.py
maxicecilia/django_todo
d669c89c1885722cdb4e1a366ccff530137c64cc
[ "MIT" ]
null
null
null
django_todo/apps/core/models.py
maxicecilia/django_todo
d669c89c1885722cdb4e1a366ccff530137c64cc
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.db import models from django.contrib.auth.models import User class TaskManager(models.Manager): def pending_tasks(self, user): return super(TaskManager, self).get_queryset().filter(is_checked=False, user=user).order_by('-date_created') class Task(models.Model): ""...
33.434783
116
0.716515
103
769
5.203884
0.563107
0.037313
0.033582
0.048507
0
0
0
0
0
0
0
0.006173
0.157347
769
22
117
34.954545
0.820988
0.06502
0
0
0
0
0.051893
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
4e84f7185344758fdb64753b21ca1f1580ea377a
545
py
Python
MRT-and-LRT-Stations-master/combine.py
shamim-akhtar/tutorial-pathfinding
5f0d76795f1f0461039f1d9d023efee56809d237
[ "CC0-1.0" ]
6
2021-07-21T11:10:40.000Z
2022-03-04T19:53:21.000Z
MRT-and-LRT-Stations-master/combine.py
shamim-akhtar/tutorial-pathfinding
5f0d76795f1f0461039f1d9d023efee56809d237
[ "CC0-1.0" ]
null
null
null
MRT-and-LRT-Stations-master/combine.py
shamim-akhtar/tutorial-pathfinding
5f0d76795f1f0461039f1d9d023efee56809d237
[ "CC0-1.0" ]
3
2021-07-21T11:03:34.000Z
2022-03-02T09:44:06.000Z
import pandas as pd bus_stops = pd.read_csv('./bus_stops.csv') stations = pd.read_csv('./mrt_lrt.csv') def strip_mrtlrt(row): assert( row['Name'].endswith(' MRT STATION') or\ row['Name'].endswith(' LRT STATION') ) l = len(' MRT STATION') return row['Name'][:-l] stations['Name'] = sta...
22.708333
55
0.666055
78
545
4.525641
0.474359
0.067989
0.050992
0
0
0
0
0
0
0
0
0.006522
0.155963
545
23
56
23.695652
0.76087
0
0
0
0
0
0.191176
0
0
0
0
0
0.0625
0
null
null
0
0.0625
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4e8c211d5c5079947238c71fd44e2f758e86f27d
1,322
py
Python
osc_bge/branch/migrations/0017_bgeresource.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
null
null
null
osc_bge/branch/migrations/0017_bgeresource.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
5
2020-06-05T19:49:47.000Z
2021-09-08T00:50:55.000Z
osc_bge/branch/migrations/0017_bgeresource.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
null
null
null
# Generated by Django 2.0.9 on 2018-12-13 09:36 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('branch', '0016_hoststude...
40.060606
132
0.618759
146
1,322
5.445205
0.513699
0.07044
0.045283
0.090566
0.220126
0.149686
0.108176
0.108176
0.108176
0
0
0.026183
0.248865
1,322
32
133
41.3125
0.774421
0.034039
0
0
1
0
0.100392
0.026667
0
0
0
0
0
1
0
false
0
0.115385
0
0.230769
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
4e94bb9a191cf6308804e0b0bcc3d2f53554916f
1,117
py
Python
mayan/apps/folders/forms.py
camerondphillips/MAYAN
b8cd44af50f0b2f2b59286d9c88e2f7aa573a93f
[ "Apache-2.0" ]
null
null
null
mayan/apps/folders/forms.py
camerondphillips/MAYAN
b8cd44af50f0b2f2b59286d9c88e2f7aa573a93f
[ "Apache-2.0" ]
1
2022-03-12T01:03:39.000Z
2022-03-12T01:03:39.000Z
mayan/apps/folders/forms.py
camerondphillips/MAYAN
b8cd44af50f0b2f2b59286d9c88e2f7aa573a93f
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import, unicode_literals import logging from django import forms from django.core.exceptions import PermissionDenied from django.utils.translation import ugettext_lazy as _ from acls.models import AccessEntry from permissions.models import Permission from .models import Folder from ....
28.641026
107
0.711728
122
1,117
6.262295
0.47541
0.039267
0.078534
0
0
0
0
0
0
0
0
0
0.199642
1,117
38
108
29.394737
0.854586
0
0
0
0
0
0.025962
0
0
0
0
0
0
1
0.037037
false
0
0.333333
0
0.481481
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
4ea90f3a55bca3ad3cc128c2c60ef4a2c8c9f010
14,571
py
Python
collocation_node.py
UW-OCP/Collocation-Solver-CUDA
6cd1e1de6f4e43177251850e501053b2b3ae60f4
[ "MIT" ]
null
null
null
collocation_node.py
UW-OCP/Collocation-Solver-CUDA
6cd1e1de6f4e43177251850e501053b2b3ae60f4
[ "MIT" ]
null
null
null
collocation_node.py
UW-OCP/Collocation-Solver-CUDA
6cd1e1de6f4e43177251850e501053b2b3ae60f4
[ "MIT" ]
null
null
null
import numpy as np import scipy.linalg class collocation_node: """ Node class for collocation solver, save the required DAE variables at each time node """ ''' Input: size_y - size of the ODE variables size_z - size of the DAE variables size_p - size ...
41.394886
182
0.529682
2,451
14,571
2.932273
0.050592
0.189231
0.128983
0.099485
0.753026
0.705162
0.630166
0.597607
0.539029
0.427717
0
0.012175
0.334843
14,571
351
183
41.512821
0.729364
0.08064
0
0.185897
0
0
0
0
0
0
0
0
0
1
0.147436
false
0
0.012821
0
0.185897
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4eb6cb0b64f314a943310f39f0c678723433be2b
16,116
py
Python
applied_python/applied_python/lib/python2.7/site-packages/ansible/modules/core/files/file.py
mith1979/ansible_automation
013dfa67c6d91720b787fadb21de574b6e023a26
[ "Apache-2.0" ]
1
2020-10-14T00:06:54.000Z
2020-10-14T00:06:54.000Z
applied_python/applied_python/lib/python2.7/site-packages/ansible/modules/core/files/file.py
mith1979/ansible_automation
013dfa67c6d91720b787fadb21de574b6e023a26
[ "Apache-2.0" ]
null
null
null
applied_python/applied_python/lib/python2.7/site-packages/ansible/modules/core/files/file.py
mith1979/ansible_automation
013dfa67c6d91720b787fadb21de574b6e023a26
[ "Apache-2.0" ]
2
2015-08-06T07:45:48.000Z
2017-01-04T17:47:16.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of...
40.089552
146
0.5896
2,075
16,116
4.487229
0.198072
0.029965
0.030072
0.025132
0.311889
0.243583
0.197938
0.180539
0.153367
0.129524
0
0.002612
0.311057
16,116
401
147
40.189526
0.83599
0.12894
0
0.3
0
0.032258
0.300201
0.007233
0
0
0
0
0
0
null
null
0.003226
0.022581
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4ebcdf3123020aef076157d0fdffc141f76bbc7e
2,409
py
Python
Projects/jobs/views.py
jjfleet/Capstone
f81e21f0641ed0b75e06161198fca52805acb2e4
[ "Apache-2.0" ]
2
2018-07-23T05:44:50.000Z
2018-09-10T09:12:36.000Z
Projects/jobs/views.py
jjmassey/Capstone
f81e21f0641ed0b75e06161198fca52805acb2e4
[ "Apache-2.0" ]
14
2018-09-10T10:42:39.000Z
2018-10-24T00:04:36.000Z
Projects/jobs/views.py
jjfleet/Capstone
f81e21f0641ed0b75e06161198fca52805acb2e4
[ "Apache-2.0" ]
2
2018-09-10T06:34:31.000Z
2018-09-17T06:05:23.000Z
from django.shortcuts import render, reverse, get_object_or_404, redirect from django.views.generic import TemplateView, ListView, DetailView, CreateView, UpdateView, DeleteView from .models import JobListing from django.contrib.auth.models import User from django.contrib.auth.mixins import LoginRequiredMixin, UserPass...
31.697368
103
0.760482
310
2,409
5.780645
0.322581
0.044643
0.037946
0.023438
0.25
0.233259
0.195313
0.195313
0.195313
0.195313
0
0.004733
0.122873
2,409
75
104
32.12
0.843351
0.066833
0
0.210526
0
0
0.103571
0.021875
0
0
0
0
0
1
0.070175
false
0.035088
0.192982
0
0.631579
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
4ec2b217554237784ba1b54a40b8214906235fdf
2,189
py
Python
pcWacomToMouseTouchpad.py
Amanita-muscaria/rmWacomToMouse
f4c0726c79a04475d123c5e58b50c16734178676
[ "MIT" ]
50
2019-02-08T10:01:24.000Z
2021-08-05T21:39:20.000Z
pcWacomToMouseTouchpad.py
trivedigaurav/rmWacomToMouse
5f6236feafb149b734dcb2b7dc9580ae42941366
[ "MIT" ]
5
2019-03-09T17:16:53.000Z
2021-02-27T00:22:15.000Z
pcWacomToMouseTouchpad.py
trivedigaurav/rmWacomToMouse
5f6236feafb149b734dcb2b7dc9580ae42941366
[ "MIT" ]
3
2019-08-01T04:11:17.000Z
2021-02-26T20:31:54.000Z
#!/usr/bin/env python3 ''' Meant to run on your PC. Receives data generated by rmServerWacomInput.py, moves the mouse and presses accordingly. Acts like a touchpad. ''' import socket import struct from pynput.mouse import Button, Controller mouse = Controller() # ---------- # Config: ONLY_DEBUG = False # Only sh...
24.875
83
0.733668
296
2,189
5.277027
0.452703
0.084507
0.076825
0.089629
0.139565
0
0
0
0
0
0
0.031025
0.175423
2,189
87
84
25.16092
0.833795
0.180448
0
0.033898
1
0
0.007316
0
0
0
0
0
0
1
0
false
0
0.050847
0
0.050847
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
4ecbf6143207f88a7a5bae28fbacfc92c18e32aa
739
py
Python
users/urls.py
shaxpakistan/e-stationery
00c7027f74e9f0e90247e44d9dbd86203cd9dbb4
[ "CC0-1.0" ]
1
2022-02-17T19:13:40.000Z
2022-02-17T19:13:40.000Z
users/urls.py
shaxpakistan/e-stationery
00c7027f74e9f0e90247e44d9dbd86203cd9dbb4
[ "CC0-1.0" ]
null
null
null
users/urls.py
shaxpakistan/e-stationery
00c7027f74e9f0e90247e44d9dbd86203cd9dbb4
[ "CC0-1.0" ]
null
null
null
from django.urls import path from .views import * urlpatterns = [ path('register/', RegisterView.as_view(), name = "register"), path('<int:pk>/password/', PasswordsChangeView.as_view(), name = "password"), path('profile/', ProfileView.as_view(), name = "profile"), path('<int:pk>/edit_profile/', E...
43.470588
108
0.675237
84
739
5.72619
0.369048
0.074844
0.12474
0.058212
0
0
0
0
0
0
0
0
0.142084
739
17
109
43.470588
0.758675
0
0
0
0
0
0.321622
0.135135
0
0
0
0
0
1
0
false
0.153846
0.153846
0
0.153846
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
4ed049ed4c7f6112a5a50373ed994443ceae1571
1,901
py
Python
scripts/rancher-cli.py
dustinvanbuskirk/docker-rancher-cd
3af4b969731f0f8d8aea547d5a24453aa19470ca
[ "MIT" ]
null
null
null
scripts/rancher-cli.py
dustinvanbuskirk/docker-rancher-cd
3af4b969731f0f8d8aea547d5a24453aa19470ca
[ "MIT" ]
null
null
null
scripts/rancher-cli.py
dustinvanbuskirk/docker-rancher-cd
3af4b969731f0f8d8aea547d5a24453aa19470ca
[ "MIT" ]
null
null
null
import sys import getopt import subprocess def main(argv): rancher_options = '' rancher_command = '' rancher_args = '' try: opts, args = getopt.getopt(argv, "o:c:a:", ["help", "rancher_options=", "rancher_command=", "rancher_args="]) except getopt.GetoptError: print('Unrecognized A...
40.446809
142
0.613361
233
1,901
4.879828
0.27897
0.098505
0.092348
0.073879
0.394899
0.342128
0.188215
0.056288
0.056288
0
0
0.006356
0.255129
1,901
46
143
41.326087
0.79661
0.012625
0
0.05
0
0.025
0.383467
0
0
0
0
0
0
1
0.025
false
0.075
0.075
0
0.1
0.225
0
0
0
null
0
0
0
0
0
0
0
0
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
4ed089d9b1e58aa4c2ee7a196cf864e8cc4702c6
336
py
Python
motoscrape/db.py
sairon/motoscrape
15bb975791f21fbb8c31fdc8927ee02c3fad0e63
[ "Unlicense" ]
2
2016-04-30T23:54:33.000Z
2016-06-05T09:11:04.000Z
motoscrape/db.py
sairon/motoscrape
15bb975791f21fbb8c31fdc8927ee02c3fad0e63
[ "Unlicense" ]
null
null
null
motoscrape/db.py
sairon/motoscrape
15bb975791f21fbb8c31fdc8927ee02c3fad0e63
[ "Unlicense" ]
null
null
null
import glob import json ads_db = {} def load_data(): try: for file_ in glob.glob("scrapes/*.json"): with open(file_, "r") as f: data = json.load(f, "utf-8") for item in data: ads_db[item['permalink']] = ads_db except IOError: pa...
17.684211
54
0.5
44
336
3.659091
0.568182
0.093168
0
0
0
0
0
0
0
0
0
0.004785
0.377976
336
18
55
18.666667
0.76555
0
0
0
0
0
0.08631
0
0
0
0
0
0
1
0.076923
false
0.076923
0.153846
0
0.230769
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