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
03bd2bfd0c61d2a79ebac5bc28f8f5b65ddc6392
5,154
py
Python
conveyorclient/v1/plans.py
Hybrid-Cloud/conveyorclient
329fe37ef4fb7229e5bec9575a86c06e5d4da934
[ "Apache-2.0" ]
null
null
null
conveyorclient/v1/plans.py
Hybrid-Cloud/conveyorclient
329fe37ef4fb7229e5bec9575a86c06e5d4da934
[ "Apache-2.0" ]
null
null
null
conveyorclient/v1/plans.py
Hybrid-Cloud/conveyorclient
329fe37ef4fb7229e5bec9575a86c06e5d4da934
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017 Huawei, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
32.828025
78
0.569461
626
5,154
4.557508
0.265176
0.025237
0.018226
0.018927
0.158079
0.106905
0.106905
0.106905
0.051875
0
0
0.002836
0.315871
5,154
156
79
33.038462
0.806296
0.269693
0
0.066667
0
0
0.119464
0.015152
0
0
0
0
0
1
0.16
false
0
0.066667
0.013333
0.386667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03bd7fc88e1ab0df9ab78abcf865b46a9d55c33e
1,931
py
Python
submissions/Miner/myCSPs.py
omarmartinez97/aima-python
c8d5aa86382fb72e9ddec4938706599fee439bbb
[ "MIT" ]
null
null
null
submissions/Miner/myCSPs.py
omarmartinez97/aima-python
c8d5aa86382fb72e9ddec4938706599fee439bbb
[ "MIT" ]
null
null
null
submissions/Miner/myCSPs.py
omarmartinez97/aima-python
c8d5aa86382fb72e9ddec4938706599fee439bbb
[ "MIT" ]
null
null
null
import csp rgb = ['R', 'G', 'B'] d2 = {'A': rgb, 'B': rgb, 'C': ['R'], 'D': rgb} v2 = d2.keys() n2 = {'A': ['B', 'C', 'D'], 'B': ['A', 'C', 'D'], 'C': ['A', 'B'], 'D': ['A', 'B']} def constraints(A, a, B, b): if A == B: # e.g. NSW == NSW return True if a == b: # e.g. W...
21.943182
87
0.51942
200
1,931
4.965
0.285
0.012085
0.006042
0.01007
0.136959
0.07855
0.07855
0
0
0
0
0.006356
0.266701
1,931
87
88
22.195402
0.694915
0.037804
0
0.115942
0
0
0.314995
0.028047
0
0
0
0
0
1
0.014493
false
0
0.014493
0
0.072464
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03be4922cf34a2e0414b43d8fd34bbb658de3dc7
247
py
Python
sample/scoping/__init__.py
diko316/python-sample
f8a61da465bc1b3589dabe29dac72a8c25ce0239
[ "MIT" ]
null
null
null
sample/scoping/__init__.py
diko316/python-sample
f8a61da465bc1b3589dabe29dac72a8c25ce0239
[ "MIT" ]
null
null
null
sample/scoping/__init__.py
diko316/python-sample
f8a61da465bc1b3589dabe29dac72a8c25ce0239
[ "MIT" ]
null
null
null
"""Nothing special, just calling sample.test.show()""" from sample.scoping import function def run(): print """ Scoping 1. function run """ function.run1() print """ 2. function run """ function.run2()
11.227273
54
0.57085
27
247
5.222222
0.666667
0.156028
0.269504
0
0
0
0
0
0
0
0
0.022727
0.287449
247
21
55
11.761905
0.778409
0
0
0.363636
0
0
0.348958
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.181818
1
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
1
0
0
0
0
0
0
0
0
3
03bf606f96d7db50104b5beeafeafef7cf2ccc0a
2,504
py
Python
bot.py
Stienvdh/IEToolie
bfa5cb35cdb63a4dceba935c5098e6ab6729228c
[ "BSD-Source-Code" ]
null
null
null
bot.py
Stienvdh/IEToolie
bfa5cb35cdb63a4dceba935c5098e6ab6729228c
[ "BSD-Source-Code" ]
null
null
null
bot.py
Stienvdh/IEToolie
bfa5cb35cdb63a4dceba935c5098e6ab6729228c
[ "BSD-Source-Code" ]
null
null
null
""" Copyright (c) 2021 Cisco and/or its affiliates. This software is licensed to you under the terms of the Cisco Sample Code License, Version 1.1 (the "License"). You may obtain a copy of the License at https://developer.cisco.com/docs/licenses All use of the material herein must be in accordance with t...
32.519481
72
0.708866
374
2,504
4.572193
0.462567
0.017544
0.018713
0.035088
0.074269
0.074269
0.074269
0.074269
0
0
0
0.008437
0.195288
2,504
77
73
32.519481
0.839702
0.395767
0
0
0
0.025641
0.232155
0.022015
0
0
0
0
0
1
0.051282
false
0
0.102564
0.025641
0.205128
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03c0d7a2bce24dca073f581faa19144a145e5531
1,174
py
Python
extras/Roll_A_Dice_Or_Two.py
namangoel05/area4
69be5dcb24a14d8e5be9e88d2deb72fdc6510136
[ "MIT" ]
null
null
null
extras/Roll_A_Dice_Or_Two.py
namangoel05/area4
69be5dcb24a14d8e5be9e88d2deb72fdc6510136
[ "MIT" ]
null
null
null
extras/Roll_A_Dice_Or_Two.py
namangoel05/area4
69be5dcb24a14d8e5be9e88d2deb72fdc6510136
[ "MIT" ]
null
null
null
from random import randint import time import random def One_OR_Two(): #Right here its saying that for number 1 press it will roll one dice And when number 2 pressed it will roll 2 and ect. if input("Do you want 1 dice or 2? \n\1 for 1(Die) \n2 for 2(Dice) :") == '1': print("The dice rolled",random.rand...
58.7
205
0.682283
219
1,174
3.639269
0.383562
0.081556
0.052698
0.056462
0.090339
0.090339
0.045169
0
0
0
0
0.022002
0.225724
1,174
19
206
61.789474
0.854785
0.557922
0
0.285714
0
0.071429
0.321012
0
0
0
0
0
0
1
0.071429
true
0
0.214286
0
0.285714
0.214286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
03c1692548de12b27e2465162cb0ac18bb61a489
5,224
py
Python
stats_eddie/SVM.py
dalakada/TwiCSv2
40672a99a201f6e2aab9dd085e1f4a29e8253f3b
[ "MIT" ]
2
2019-04-01T00:54:39.000Z
2021-06-22T18:02:47.000Z
stats_eddie/SVM.py
dalakada/TwiCSv2
40672a99a201f6e2aab9dd085e1f4a29e8253f3b
[ "MIT" ]
null
null
null
stats_eddie/SVM.py
dalakada/TwiCSv2
40672a99a201f6e2aab9dd085e1f4a29e8253f3b
[ "MIT" ]
2
2018-06-20T14:50:03.000Z
2020-08-27T01:55:34.000Z
# coding: utf-8 import pandas as pd import numpy as np from sklearn.ensemble import RandomForestClassifier from sklearn import svm from scipy import stats class SVM1(): def __init__(self,train): #train the algorithm once self.train = pd.read_csv(train,delimiter=",",sep='\s*,\s*') self.tr...
20.730159
120
0.626723
740
5,224
4.221622
0.187838
0.056018
0.03073
0.044174
0.429257
0.377401
0.330026
0.237516
0.173496
0.173496
0
0.022936
0.207121
5,224
252
121
20.730159
0.731289
0.126149
0
0
0
0
0.27905
0.083715
0
0
0
0
0
1
0.05
false
0
0.125
0
0.225
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03c1918314d95df834d6cdd5e651896610e70399
836
py
Python
pyviews/rendering/tests/setup_tests.py
eumis/pyviews
9f3a3a72eddda2bd33bbb16b45d9fa4f9ebfcc0b
[ "MIT" ]
6
2018-02-16T14:37:53.000Z
2020-03-20T13:22:17.000Z
pyviews/rendering/tests/setup_tests.py
eumis/pyviews
9f3a3a72eddda2bd33bbb16b45d9fa4f9ebfcc0b
[ "MIT" ]
null
null
null
pyviews/rendering/tests/setup_tests.py
eumis/pyviews
9f3a3a72eddda2bd33bbb16b45d9fa4f9ebfcc0b
[ "MIT" ]
1
2019-03-15T12:47:42.000Z
2019-03-15T12:47:42.000Z
from os.path import abspath from injectool import resolve, SingletonResolver from pytest import mark from pyviews.rendering import RenderingPipeline from pyviews.rendering.setup import use_rendering @mark.usefixtures('container_fixture') class UseRenderingTests: @staticmethod def test_views_folder(): ...
26.967742
92
0.721292
88
836
6.670455
0.454545
0.081772
0.091993
0.081772
0.11925
0
0
0
0
0
0
0
0.192584
836
30
93
27.866667
0.86963
0.139952
0
0.277778
0
0
0.064011
0
0
0
0
0
0.166667
1
0.166667
false
0
0.277778
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03c266ba0c3fa77c77f277fa9c8c15adc29fe57b
7,166
py
Python
util.py
sekunder/ergm
b60bc2b1cb64d2969bcab2dbe75511eb732a113d
[ "CC0-1.0" ]
2
2020-12-14T09:13:35.000Z
2021-03-22T07:28:37.000Z
util.py
sekunder/ergm
b60bc2b1cb64d2969bcab2dbe75511eb732a113d
[ "CC0-1.0" ]
null
null
null
util.py
sekunder/ergm
b60bc2b1cb64d2969bcab2dbe75511eb732a113d
[ "CC0-1.0" ]
null
null
null
""" utility functions for ergm """ import numpy as np import datetime import sys import networkx as nx from itertools import combinations # from scipy import sparse def log_msg(*args, out=sys.stdout, **kwargs): """Print message m with a timestamp if out is not None.""" if out: print(datetime.datetime...
37.915344
145
0.652107
1,184
7,166
3.89527
0.282939
0.003036
0.021683
0.021683
0.052472
0.029488
0.029488
0.026453
0.026453
0.026453
0
0.024757
0.239045
7,166
188
146
38.117021
0.821016
0.567402
0
0.054054
0
0
0.011433
0
0
0
0
0
0
1
0.216216
false
0
0.067568
0.013514
0.486486
0.013514
0
0
0
null
0
0
0
0
0
0
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
03c2eb282e47a2c54bf098cbd77a6d4905f87e9b
533
py
Python
deneme.py
github21yandex/Calismalarim-Python
1dad342b13c3e4000d5dd8cb79d776e3fc665e3a
[ "Unlicense" ]
null
null
null
deneme.py
github21yandex/Calismalarim-Python
1dad342b13c3e4000d5dd8cb79d776e3fc665e3a
[ "Unlicense" ]
null
null
null
deneme.py
github21yandex/Calismalarim-Python
1dad342b13c3e4000d5dd8cb79d776e3fc665e3a
[ "Unlicense" ]
null
null
null
import sys import locale locale.setlocale(locale.LC_ALL, "tr_TR.utf-8") cumle = "merhaba\tiyi\tmisiN?" sesli="ıouieaüöIOUİEAÜÖ" sesliler ="" sessizler="" gecici="" tur = "ğıüşöçĞİÜŞÖÇ" ing = "giusocGIUSOC" liste = ["ali", "veli", "samet"] liste = [[1,2,3],[4,5,6],[7,8,9,10]] liste2 = [1, 2, 3, "mehmed"] w = op...
14.805556
52
0.60788
86
533
3.767442
0.709302
0.012346
0.018519
0
0
0
0
0
0
0
0
0.045455
0.133208
533
35
53
15.228571
0.651515
0
0
0
0
0
0.29434
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03c346bda5036c16e0584f1e697773c94ff92837
1,377
py
Python
benchmark.py
btclib-org/btclib_libsecp256k1
b7bdd0df121c9c674edc88a55ea6cadad75dafef
[ "MIT" ]
null
null
null
benchmark.py
btclib-org/btclib_libsecp256k1
b7bdd0df121c9c674edc88a55ea6cadad75dafef
[ "MIT" ]
null
null
null
benchmark.py
btclib-org/btclib_libsecp256k1
b7bdd0df121c9c674edc88a55ea6cadad75dafef
[ "MIT" ]
null
null
null
import time import btclib.ecc.dsa import btclib.ecc.ssa import coincurve from btclib.hashes import reduce_to_hlen from btclib.to_pub_key import pub_keyinfo_from_prv_key import btclib_libsecp256k1.dsa import btclib_libsecp256k1.ssa prvkey = 1 pubkey_bytes = pub_keyinfo_from_prv_key(prvkey)[0] msg_bytes = reduce_to_h...
25.036364
87
0.777778
197
1,377
5.111675
0.233503
0.063555
0.067527
0.079444
0.236346
0.196624
0.196624
0.196624
0.196624
0.196624
0
0.050791
0.127814
1,377
54
88
25.5
0.787677
0
0
0
0
0
0.023239
0
0
0
0
0
0.138889
1
0.166667
false
0
0.222222
0
0.388889
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03c353c49d50ef67c6d81977950a525f9133c41a
904
py
Python
face_pose_dataset/estimation/interface.py
samuelbaltanas/face-pose-dataset
84c864c155ac7c0b231032d403c0e2b2bc10b871
[ "MIT" ]
1
2020-06-18T07:58:46.000Z
2020-06-18T07:58:46.000Z
face_pose_dataset/estimation/interface.py
samuelbaltanas/face-pose-dataset
84c864c155ac7c0b231032d403c0e2b2bc10b871
[ "MIT" ]
null
null
null
face_pose_dataset/estimation/interface.py
samuelbaltanas/face-pose-dataset
84c864c155ac7c0b231032d403c0e2b2bc10b871
[ "MIT" ]
null
null
null
import abc import numpy as np from face_pose_dataset import core class Estimator(abc.ABC): def run(self, frame: np.ndarray) -> core.Angle: raise NotImplementedError("Estimator is an abstract class") def preprocess_image(self, frame: np.ndarray, bbox: np.ndarray) -> np.ndarray: """ Proceed w...
26.588235
82
0.622788
101
904
5.504951
0.594059
0.064748
0.039568
0.064748
0.190647
0.190647
0.190647
0.190647
0
0
0
0
0.290929
904
33
83
27.393939
0.867395
0.363938
0
0.2
0
0
0.130719
0
0
0
0
0
0
1
0.3
false
0
0.3
0.1
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
03c4437ca693f17d281bdd30bb65c08f78eb2db5
7,392
py
Python
hah_classification/data.py
jieguangzhou/AIChallenger_SentimentAnalysis
4dcd10c2e12bd266fb19c6b5cf50346766a4a37b
[ "MIT" ]
null
null
null
hah_classification/data.py
jieguangzhou/AIChallenger_SentimentAnalysis
4dcd10c2e12bd266fb19c6b5cf50346766a4a37b
[ "MIT" ]
null
null
null
hah_classification/data.py
jieguangzhou/AIChallenger_SentimentAnalysis
4dcd10c2e12bd266fb19c6b5cf50346766a4a37b
[ "MIT" ]
null
null
null
from collections import Counter import logging import random import numpy as np import jieba from hah_classification.develop.IO import read_file, write_file import pandas as pd import os logger = logging.getLogger(__file__) logger.setLevel(logging.INFO) PAD_IDX = 0 UNK_IDX = 1 COLUMNS = ['location_traffic_convenienc...
36.235294
115
0.645157
948
7,392
4.75
0.198312
0.053298
0.027981
0.012436
0.434821
0.381301
0.356873
0.328892
0.315123
0.281368
0
0.005035
0.2477
7,392
203
116
36.413793
0.804711
0.049107
0
0.405405
0
0.006757
0.118096
0.044879
0
0
0
0
0
1
0.040541
false
0
0.054054
0.006757
0.128378
0.013514
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03c52c6e87b48e4cd8e5aedb1e34b9798cbe5aba
5,458
py
Python
lumapps/cli.py
aureldent/lumapps-sdk
9ee7ddbb0e5c94ec098f1d6c053bfd82698c2e8b
[ "MIT" ]
null
null
null
lumapps/cli.py
aureldent/lumapps-sdk
9ee7ddbb0e5c94ec098f1d6c053bfd82698c2e8b
[ "MIT" ]
1
2018-12-12T10:06:52.000Z
2018-12-12T10:31:56.000Z
lumapps/cli.py
aureldent/lumapps-sdk
9ee7ddbb0e5c94ec098f1d6c053bfd82698c2e8b
[ "MIT" ]
null
null
null
#!/usr/bin/env python from __future__ import print_function, unicode_literals import sys import argparse import json from lumapps.utils import ApiCallError, get_conf, set_conf, FILTERS from lumapps.client import ApiClient import logging LIST_CONFIGS = "***LIST_CONFIGS***" def parse_args(): s = "" for f in F...
30.662921
88
0.601869
725
5,458
4.369655
0.242759
0.022727
0.017361
0.018939
0.117109
0.051136
0
0
0
0
0
0.000989
0.259252
5,458
177
89
30.836158
0.782587
0.030414
0
0.104575
0
0
0.166068
0
0
0
0
0
0
1
0.045752
false
0
0.045752
0
0.130719
0.052288
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03c75ce6159591454805a4dc5c10c17e271ffe14
8,397
py
Python
webpreview/previews.py
taghash/webpreview
b86cb6d547ddbca40fe69ca59c11a0c6e058f6d5
[ "MIT" ]
null
null
null
webpreview/previews.py
taghash/webpreview
b86cb6d547ddbca40fe69ca59c11a0c6e058f6d5
[ "MIT" ]
2
2020-07-02T23:20:05.000Z
2020-07-03T07:26:36.000Z
webpreview/previews.py
taghash/webpreview
b86cb6d547ddbca40fe69ca59c11a0c6e058f6d5
[ "MIT" ]
1
2022-03-05T06:33:38.000Z
2022-03-05T06:33:38.000Z
import re import requests from requests.exceptions import * from bs4 import BeautifulSoup from .excepts import * from .helpers import process_image_url class PreviewBase(object): """ Base for all web preview. """ def __init__(self, url = None, properties = None, timeout=None, headers=None, content=N...
40.960976
150
0.617959
1,026
8,397
4.904483
0.210526
0.015898
0.029213
0.038951
0.333068
0.285374
0.274245
0.236089
0.200517
0.183029
0
0.009794
0.258307
8,397
204
151
41.161765
0.79817
0.232464
0
0.191667
0
0.016667
0.104377
0.02389
0
0
0
0
0
1
0.1
false
0.016667
0.05
0
0.316667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03c782e3bc4c98e44210318ac8cb634e86e76e91
13,832
py
Python
publicAPI/crest_endpoint.py
EVEprosper/ProsperAPI
2d25b9210d32ca777204b1dddb56848d7075dd85
[ "MIT" ]
13
2017-03-27T13:10:52.000Z
2020-07-30T09:33:11.000Z
publicAPI/crest_endpoint.py
EVEprosper/ProsperAPI
2d25b9210d32ca777204b1dddb56848d7075dd85
[ "MIT" ]
19
2016-11-14T00:58:54.000Z
2018-06-11T16:54:25.000Z
publicAPI/crest_endpoint.py
EVEprosper/ProsperAPI
2d25b9210d32ca777204b1dddb56848d7075dd85
[ "MIT" ]
5
2017-04-19T01:12:06.000Z
2021-03-07T02:23:45.000Z
"""crest_endpoint.py: collection of public crest endpoints for Prosper""" import sys from os import path from datetime import datetime from enum import Enum import logging import ujson as json from flask import Flask, Response, jsonify from flask_restful import reqparse, Api, Resource, request import publicAPI.forec...
31.579909
74
0.52393
1,362
13,832
5.155653
0.162261
0.039875
0.018513
0.02421
0.601538
0.568072
0.552834
0.506124
0.487895
0.472088
0
0.004347
0.384688
13,832
437
75
31.652174
0.820703
0.07367
0
0.577128
0
0
0.132834
0.004178
0
0
0
0.002288
0
1
0.018617
false
0
0.042553
0
0.12234
0.00266
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03c7c1d39078369622ad7852e9cd54cf976ecdc8
1,536
py
Python
script-diagnostico-covid19/conexao_db.py
am1701/estudos-python
67b82161782a6862c3a81ab59ee3d92d7c262b36
[ "MIT" ]
null
null
null
script-diagnostico-covid19/conexao_db.py
am1701/estudos-python
67b82161782a6862c3a81ab59ee3d92d7c262b36
[ "MIT" ]
null
null
null
script-diagnostico-covid19/conexao_db.py
am1701/estudos-python
67b82161782a6862c3a81ab59ee3d92d7c262b36
[ "MIT" ]
null
null
null
#!/bin/python3 import sys from time import sleep try: import mysql.connector except: print('''Você precisa do modulo mysql_connector instalado, no README.md tem todos os passos necessários para a instalação deste modulo.''') print('='*30) pritn("O script irá encerrar em 3 segundos. Bye!!") sleep(3) sys.exit(1)...
22.925373
172
0.673177
205
1,536
5.02439
0.517073
0.040777
0.049515
0.052427
0.234951
0.176699
0.100971
0.100971
0
0
0
0.028986
0.191406
1,536
66
173
23.272727
0.800322
0.008464
0
0.372549
0
0.039216
0.394079
0.032237
0
0
0
0
0
1
0.058824
false
0.039216
0.058824
0
0.156863
0.156863
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03cf66408abae7099aee97c7a650861c8b31d19d
3,233
py
Python
2021/day_18.py
Javitronxo/AdventOfCode
3a31544824881d353d899bc820d92b005af6b4eb
[ "MIT" ]
1
2021-12-03T14:37:28.000Z
2021-12-03T14:37:28.000Z
2021/day_18.py
Javitronxo/AdventOfCode
3a31544824881d353d899bc820d92b005af6b4eb
[ "MIT" ]
null
null
null
2021/day_18.py
Javitronxo/AdventOfCode
3a31544824881d353d899bc820d92b005af6b4eb
[ "MIT" ]
null
null
null
import collections import itertools from dataclasses import dataclass from typing import List @dataclass class Node: value: int depth: int def add_numbers(number_one: List[Node], number_two: List[Node]) -> List[Node]: new_number = [ Node(node.value, node.depth + 1) for node in number_one...
33.677083
99
0.519332
390
3,233
4.133333
0.212821
0.128412
0.080645
0.065136
0.336228
0.210298
0.165633
0.165633
0.165633
0.138337
0
0.018127
0.38571
3,233
95
100
34.031579
0.793555
0.018868
0
0.15
0
0
0.027778
0.009785
0
0
0
0
0
1
0.0375
false
0.025
0.05
0
0.15
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
0
0
0
0
0
0
0
0
1
0
03d1137912ab50699b6179c220fe8310bb178774
4,428
py
Python
server.py
Celnardur/simple_server
930f0066b26781d5a77ae3ac60caa0ac9b685b9f
[ "MIT" ]
null
null
null
server.py
Celnardur/simple_server
930f0066b26781d5a77ae3ac60caa0ac9b685b9f
[ "MIT" ]
null
null
null
server.py
Celnardur/simple_server
930f0066b26781d5a77ae3ac60caa0ac9b685b9f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from http.server import BaseHTTPRequestHandler, HTTPServer, SimpleHTTPRequestHandler import json import os import mimetypes import sys # import api bufsize = 4096 base_path = "./www" class server(BaseHTTPRequestHandler): def get_payload(self): if not ('Content-Length' in self.heade...
30.75
84
0.536811
546
4,428
4.20696
0.232601
0.059208
0.023509
0.023944
0.299521
0.275577
0.223335
0.162386
0.162386
0.162386
0
0.026111
0.334011
4,428
143
85
30.965035
0.752798
0.128275
0
0.278351
0
0
0.138802
0
0
0
0
0
0
1
0.061856
false
0
0.051546
0
0.195876
0.113402
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03d16b56e7eb71686fb7086761419a2ac514491c
5,771
py
Python
contents/1_command_line_reinforcement_learning/treasure_on_right.py
Pankaj-Baranwal/Reinforcement-learning-with-tensorflow
cf738d3e975aa9d2384dcd1a65dbdd156ddd970f
[ "MIT" ]
null
null
null
contents/1_command_line_reinforcement_learning/treasure_on_right.py
Pankaj-Baranwal/Reinforcement-learning-with-tensorflow
cf738d3e975aa9d2384dcd1a65dbdd156ddd970f
[ "MIT" ]
null
null
null
contents/1_command_line_reinforcement_learning/treasure_on_right.py
Pankaj-Baranwal/Reinforcement-learning-with-tensorflow
cf738d3e975aa9d2384dcd1a65dbdd156ddd970f
[ "MIT" ]
null
null
null
""" A simple example for Reinforcement Learning using table lookup Q-learning method. An agent "o" is on the left of a 1 dimensional world, the treasure is on the rightmost location. Run this program and to see how the agent will improve its strategy of finding the treasure. View more on my tutorial page: https://morv...
40.929078
603
0.666609
881
5,771
4.266742
0.315551
0.03352
0.009311
0.013567
0.142059
0.117584
0.081937
0.063315
0.063315
0.051609
0
0.01105
0.247271
5,771
140
604
41.221429
0.854282
0.300295
0
0.151899
0
0
0.053912
0
0
0
0
0
0
1
0.075949
false
0
0.037975
0
0.177215
0.063291
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03d430af1217994371a7fc92b45f322c0f6446ff
6,427
py
Python
common/data.py
looselyconnected/fastai
12d38d760393f1a677cc825d99283c8efcffbef5
[ "MIT" ]
null
null
null
common/data.py
looselyconnected/fastai
12d38d760393f1a677cc825d99283c8efcffbef5
[ "MIT" ]
null
null
null
common/data.py
looselyconnected/fastai
12d38d760393f1a677cc825d99283c8efcffbef5
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np from fastai.structured import apply_cats from io import StringIO from sklearn.metrics import mean_squared_error import matplotlib.pyplot as plt import seaborn as sns import time import os from contextlib import contextmanager from sklearn.metrics import mean_squared_error def t...
34.005291
110
0.632644
976
6,427
4.009221
0.256148
0.030667
0.022489
0.020445
0.193202
0.157168
0.106312
0.012267
0
0
0
0.026497
0.230745
6,427
188
111
34.18617
0.764968
0.063793
0
0.115108
0
0
0.060929
0
0
0
0
0
0
1
0.122302
false
0
0.122302
0.007194
0.330935
0.028777
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03d56a3fb87b437933882dff43b9721b0cb74ab5
86
py
Python
run.py
heston/label-commander
327c1e105bce83b8b674b55411f7fe2650d3a610
[ "MIT" ]
3
2019-03-25T04:33:01.000Z
2021-01-03T22:21:04.000Z
run.py
heston/label-commander
327c1e105bce83b8b674b55411f7fe2650d3a610
[ "MIT" ]
4
2020-03-26T06:56:18.000Z
2022-01-02T19:50:12.000Z
run.py
heston/label-commander
327c1e105bce83b8b674b55411f7fe2650d3a610
[ "MIT" ]
1
2021-11-30T22:33:41.000Z
2021-11-30T22:33:41.000Z
from labelcommander import listener if __name__ == '__main__': listener.listen()
17.2
35
0.744186
9
86
6.222222
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.162791
86
4
36
21.5
0.777778
0
0
0
0
0
0.093023
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
03d58fb77cc50e8c7e2d0563b74268be5018aa59
314
py
Python
src/Zadanie3/Checker.py
TestowanieAutomatyczneUG/laboratorium-9-LudwikaMalinowska
264823f21d220a353528e5aa4fba9ff424a7ed5b
[ "MIT" ]
null
null
null
src/Zadanie3/Checker.py
TestowanieAutomatyczneUG/laboratorium-9-LudwikaMalinowska
264823f21d220a353528e5aa4fba9ff424a7ed5b
[ "MIT" ]
null
null
null
src/Zadanie3/Checker.py
TestowanieAutomatyczneUG/laboratorium-9-LudwikaMalinowska
264823f21d220a353528e5aa4fba9ff424a7ed5b
[ "MIT" ]
null
null
null
from Zadanie3.AlarmClock import AlarmClock class Checker: def __init__(self): self.alarm_clock = AlarmClock() def remainder(self, file): hour = self.alarm_clock.getTime() if hour > 17: self.alarm_clock.playWavFile(file) self.alarm_clock.wavWasPlayed()
19.625
46
0.640127
35
314
5.514286
0.542857
0.186529
0.290155
0
0
0
0
0
0
0
0
0.0131
0.270701
314
15
47
20.933333
0.829694
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.444444
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
1
0
0
0
0
0
0
0
2
03d5e71eac1ee63a4847306cf3c4d429e8818a82
1,039
py
Python
passmate/config.py
TobiasKaiser/passmate
49c7d528a71ced7a9c395fafa22cc4cc2dddfc7e
[ "Apache-2.0" ]
11
2018-02-05T16:32:22.000Z
2022-02-11T06:56:17.000Z
passmate/config.py
TobiasKaiser/passmate
49c7d528a71ced7a9c395fafa22cc4cc2dddfc7e
[ "Apache-2.0" ]
15
2017-10-08T13:23:03.000Z
2019-02-16T23:03:40.000Z
passmate/config.py
TobiasKaiser/passmate
49c7d528a71ced7a9c395fafa22cc4cc2dddfc7e
[ "Apache-2.0" ]
1
2019-05-03T03:49:11.000Z
2019-05-03T03:49:11.000Z
import platform from pathlib import Path from dataclasses import dataclass @dataclass(frozen=True) class Config: primary_db: str shared_folder: str host_id: str @classmethod def default(cls): primary_db_default = str(Path.home() / ".local/share/passmate/local.pmdb") shared_folder_d...
31.484848
82
0.641001
125
1,039
4.928
0.312
0.116883
0.082792
0.058442
0.116883
0.116883
0.116883
0
0
0
0
0
0.244466
1,039
32
83
32.46875
0.784713
0.016362
0
0
0
0
0.17549
0.057843
0
0
0
0
0
1
0.107143
false
0.071429
0.107143
0.035714
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
03d72a96e0bb111eee8bbb9b6df1fc3b8c2f4ed6
101
py
Python
intervalmap/__init__.py
marciogameiro/intervalmap
2ae87100dc3954a67e62d30f1f7882ea40a0e326
[ "MIT" ]
null
null
null
intervalmap/__init__.py
marciogameiro/intervalmap
2ae87100dc3954a67e62d30f1f7882ea40a0e326
[ "MIT" ]
null
null
null
intervalmap/__init__.py
marciogameiro/intervalmap
2ae87100dc3954a67e62d30f1f7882ea40a0e326
[ "MIT" ]
null
null
null
# __init__.py # Marcio Gameiro # 2021-01-05 # MIT LICENSE from intervalmap.PlotIntervalMap import *
14.428571
41
0.762376
13
101
5.615385
1
0
0
0
0
0
0
0
0
0
0
0.093023
0.148515
101
6
42
16.833333
0.755814
0.485149
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
03d7a95c066c675726f7f6a54e1d1bc42d1e9abc
4,902
py
Python
neural_network_lyapunov/examples/tinydiffsim/learn_ca_dyn.py
hongkai-dai/neural-network-lyapunov-1
8843c13f69f7f39cbb939ab250413e76f61843f6
[ "MIT" ]
58
2021-06-21T08:59:52.000Z
2022-03-31T14:35:23.000Z
neural_network_lyapunov/examples/tinydiffsim/learn_ca_dyn.py
StanfordASL/neural-network-lyapunov
9e5db1c7f91b42df729026c9aa8575bc126f66b6
[ "MIT" ]
8
2021-08-22T05:31:23.000Z
2022-03-29T03:47:07.000Z
neural_network_lyapunov/examples/tinydiffsim/learn_ca_dyn.py
StanfordASL/neural-network-lyapunov
9e5db1c7f91b42df729026c9aa8575bc126f66b6
[ "MIT" ]
11
2021-06-21T04:29:59.000Z
2022-03-30T05:54:43.000Z
import neural_network_lyapunov.worlds as worlds import neural_network_lyapunov.utils as utils import neural_network_lyapunov.control_affine_system as mut import pytinydiffsim as pd import argparse import torch import yaml def load_multibody(cfg): world = pd.TinyWorld() urdf_data = pd.TinyUrdfParser().load_u...
33.806897
77
0.583639
657
4,902
4.112633
0.208524
0.066617
0.041451
0.03997
0.285344
0.226499
0.139156
0.072539
0.072539
0.072539
0
0.008496
0.279682
4,902
144
78
34.041667
0.756726
0
0
0.113043
0
0
0.083639
0
0
0
0
0
0.008696
1
0.034783
false
0
0.06087
0
0.121739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03d8328b61bc799b5ba1024c6c14cfed870ecffb
1,038
py
Python
Python Code/Wh_manage-master/Wh_manage-master/wh_manage/productDetails/models.py
AkashKV-1998/Warehouse-Management-System
33d96c52064262156ddcd459a36e2f63d4df2c30
[ "Apache-2.0" ]
3
2021-09-05T16:09:58.000Z
2022-03-25T14:32:34.000Z
Python Code/Wh_manage-master/Wh_manage-master/wh_manage/productDetails/models.py
AkashKV-1998/Warehouse-Management-System
33d96c52064262156ddcd459a36e2f63d4df2c30
[ "Apache-2.0" ]
null
null
null
Python Code/Wh_manage-master/Wh_manage-master/wh_manage/productDetails/models.py
AkashKV-1998/Warehouse-Management-System
33d96c52064262156ddcd459a36e2f63d4df2c30
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models class Category(models.Model): Name = models.CharField(max_length=50) def __str__(self): return self.Name class Manufacturer(models.Model): Name = models.CharField(max_length = 100) AddressLine1 = mode...
30.529412
80
0.735067
121
1,038
6.090909
0.355372
0.122117
0.14654
0.195387
0.34057
0.230665
0.184532
0
0
0
0
0.023041
0.163776
1,038
33
81
31.454545
0.826037
0.020231
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0.083333
1
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
1
0
0
2
03d85822a20ea24f7c4d4a8477238913b316792b
417
py
Python
base/migrations/0035_outline_morale_on.py
rafsaf/Plemiona_Planer
1a0e2da0c4b18f1abd1df876f688c6442cba17ce
[ "Apache-2.0" ]
2
2020-11-15T12:50:07.000Z
2020-11-17T21:54:54.000Z
base/migrations/0035_outline_morale_on.py
rafsaf/Plemiona_Planer
1a0e2da0c4b18f1abd1df876f688c6442cba17ce
[ "Apache-2.0" ]
21
2021-11-01T14:04:19.000Z
2022-03-25T06:31:03.000Z
base/migrations/0035_outline_morale_on.py
rafsaf/Tribal-Wars-Planer
083af9b1efe814be3abe975b9ac8faccc00ebb09
[ "Apache-2.0" ]
null
null
null
# Generated by Django 4.0.2 on 2022-02-17 22:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("base", "0034_outline_morale_on_targets_greater_than_and_more"), ] operations = [ migrations.AddField( model_name="outline", ...
21.947368
73
0.628297
47
417
5.361702
0.787234
0.063492
0
0
0
0
0
0
0
0
0
0.062092
0.266187
417
18
74
23.166667
0.761438
0.107914
0
0
1
0
0.194595
0.140541
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
03da330638b8a1576e15bc62abc446e553a243a9
5,210
py
Python
WF_SDK/dmm.py
Digilent/WaveForms-SDK-Getting-Started
ae33d5e19552dea41ddfca6ec038fe462a922c73
[ "MIT" ]
3
2021-12-14T18:08:11.000Z
2022-02-26T11:06:30.000Z
WF_SDK/dmm.py
Digilent/WaveForms-SDK-Getting-Started
ae33d5e19552dea41ddfca6ec038fe462a922c73
[ "MIT" ]
null
null
null
WF_SDK/dmm.py
Digilent/WaveForms-SDK-Getting-Started
ae33d5e19552dea41ddfca6ec038fe462a922c73
[ "MIT" ]
null
null
null
""" DIGITAL MULTIMETER CONTROL FUNCTIONS: open, measure, close """ import ctypes # import the C compatible data types from sys import platform, path # this is needed to check the OS type and get the PATH from os import sep # OS specific file path separators # load the dynamic lib...
43.057851
149
0.638196
616
5,210
5.288961
0.238636
0.081645
0.09822
0.057397
0.391958
0.38981
0.38981
0.38981
0.38981
0.38981
0
0.011693
0.212092
5,210
120
150
43.416667
0.78173
0.234165
0
0.178571
0
0
0.070559
0
0
0
0
0
0
1
0.053571
false
0
0.071429
0
0.196429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03db6243c45ed78fbff736368c5df610046c336d
403
py
Python
camproxy/app/routes.py
k-wojcik/hassio-addons
4d82843136d593fbee5d839b45713680594a1f28
[ "Apache-2.0" ]
null
null
null
camproxy/app/routes.py
k-wojcik/hassio-addons
4d82843136d593fbee5d839b45713680594a1f28
[ "Apache-2.0" ]
null
null
null
camproxy/app/routes.py
k-wojcik/hassio-addons
4d82843136d593fbee5d839b45713680594a1f28
[ "Apache-2.0" ]
null
null
null
from datetime import datetime from flask import Flask, render_template, request, Response import stream import json from shared import logger from main import app @app.route("/healthcheck") def healthcheck(): return "ok" @app.route('/cam/<camId>/stream', methods=['GET']) def camstream(camId): logger.info("Beg...
26.866667
71
0.74938
54
403
5.574074
0.555556
0.053156
0
0
0
0
0
0
0
0
0
0.002833
0.124069
403
15
71
26.866667
0.849858
0
0
0
0
0
0.165842
0
0
0
0
0
0
1
0.153846
false
0
0.461538
0.076923
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
03db670dee02fd2299659dad3e38740bdd61a32c
2,107
py
Python
partition_type.py
DenisNovac/GPTUtils
cecb3f63e616df5eb77e67bb8684e82b86e101d1
[ "MIT" ]
null
null
null
partition_type.py
DenisNovac/GPTUtils
cecb3f63e616df5eb77e67bb8684e82b86e101d1
[ "MIT" ]
null
null
null
partition_type.py
DenisNovac/GPTUtils
cecb3f63e616df5eb77e67bb8684e82b86e101d1
[ "MIT" ]
null
null
null
# Enumeration for GPT disks utility (for Python 3) # # Other GPT utilities https://github.com/DenisNovac/GPTUtils # Documentation https://en.wikipedia.org/wiki/GUID_Partition_Table from enum import Enum class PartitionType(Enum): MBR="024DEE41-33E7-11D3-9D69-0008C781F39F" EFI="C12A7328-F81F-11D2-BA4B-00A0C...
50.166667
92
0.78168
261
2,107
6.072797
0.735632
0.022713
0.045426
0.034069
0
0
0
0
0
0
0
0.251756
0.1215
2,107
42
93
50.166667
0.604538
0.134789
0
0
0
0
0.447934
0.436364
0
0
0
0
0
1
0.033333
false
0
0.033333
0
0.9
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
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
03db6cf4674ca4c09f270ace6aad4ada5abd8720
446
py
Python
api/app/celery/celery_app.py
VidroX/recommdo
fe518158b1a63225816054fb129f680e1d0c7d9c
[ "MIT" ]
null
null
null
api/app/celery/celery_app.py
VidroX/recommdo
fe518158b1a63225816054fb129f680e1d0c7d9c
[ "MIT" ]
null
null
null
api/app/celery/celery_app.py
VidroX/recommdo
fe518158b1a63225816054fb129f680e1d0c7d9c
[ "MIT" ]
null
null
null
from celery import Celery from app import settings broker_url = 'redis://:' + settings.REDIS_PASSWORD + '@redis:6379/0' celery_app = Celery('recommdo', broker=broker_url, include=['app.celery.celery_worker']) celery_app.conf.task_routes = { "app.celery.celery_worker.import_and_analyze_purchases": {'queue': 'celer...
34.307692
88
0.755605
60
446
5.35
0.416667
0.11215
0.140187
0.196262
0
0
0
0
0
0
0
0.012376
0.09417
446
12
89
37.166667
0.782178
0
0
0
0
0
0.383408
0.266816
0
0
0
0
0
1
0
false
0.111111
0.333333
0
0.333333
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
1
1
0
0
0
0
3
03db746274ce14f01fd2c68bd4565066f688e0cc
4,765
py
Python
ActionSystem.py
Rookfighter/TextAdventure
f24176065c9be26bd3bee983c2a63215452cb314
[ "MIT" ]
2
2016-03-21T15:26:02.000Z
2016-03-21T15:26:05.000Z
ActionSystem.py
Rookfighter/TextAdventure
f24176065c9be26bd3bee983c2a63215452cb314
[ "MIT" ]
null
null
null
ActionSystem.py
Rookfighter/TextAdventure
f24176065c9be26bd3bee983c2a63215452cb314
[ "MIT" ]
null
null
null
from EventSystem import Event import utils class ActionSystem: def __init__(self, player, rooms, tuiSystem, eventQueue): self.__player = player self.__rooms = rooms self.__tuiSystem = tuiSystem self.__eventQueue = eventQueue # a mapping for input actions to functions ...
30.741935
87
0.583631
484
4,765
5.485537
0.229339
0.06855
0.036911
0.045198
0.183804
0.175141
0.151789
0.151789
0.121657
0.086252
0
0.000617
0.320252
4,765
155
88
30.741935
0.81908
0.137671
0
0.247525
0
0
0.028412
0
0
0
0
0
0
1
0.128713
false
0
0.019802
0.009901
0.257426
0.128713
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03dcb1403bf2626fa9e60230581256736ccc99ba
1,192
py
Python
yafas/auth/resources.py
lallamilagro/yafas-server
8bd8b64c7bfdaeeadffe0daf91eecf91091fcb94
[ "MIT" ]
null
null
null
yafas/auth/resources.py
lallamilagro/yafas-server
8bd8b64c7bfdaeeadffe0daf91eecf91091fcb94
[ "MIT" ]
null
null
null
yafas/auth/resources.py
lallamilagro/yafas-server
8bd8b64c7bfdaeeadffe0daf91eecf91091fcb94
[ "MIT" ]
null
null
null
import falcon from . import CookieCreator, data_api, schemas class AuthCookiesMixin: schema = None require_token = None def cookies_data(self, request) -> dict: token, _ = self.schema().load(request.media) return CookieCreator(token)() def set_cookies(self, request, response): ...
24.326531
72
0.687081
139
1,192
5.719424
0.330935
0.132075
0.119497
0.047799
0.291824
0.291824
0.223899
0.223899
0.223899
0.223899
0
0.006403
0.213926
1,192
48
73
24.833333
0.842049
0
0
0.266667
0
0
0.004195
0
0
0
0
0
0
1
0.2
false
0
0.066667
0
0.633333
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
03deed2eb45e83f7284046e17bf2aaf69dbbad88
14,394
py
Python
train_model.py
taiducvu/VNG-NSFW-DETECTION
f49b6ad21ed9c8646c402a37015a80258fb79a68
[ "MIT" ]
null
null
null
train_model.py
taiducvu/VNG-NSFW-DETECTION
f49b6ad21ed9c8646c402a37015a80258fb79a68
[ "MIT" ]
null
null
null
train_model.py
taiducvu/VNG-NSFW-DETECTION
f49b6ad21ed9c8646c402a37015a80258fb79a68
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import tensorflow as tf import data as dt import vng_model as md import time import csv import math FLAGS = tf.app.flags.FLAGS tf.app.flags.DEFINE_string('train_dir', '/home/taivu/workspace/Pycharm_...
41.481268
118
0.553633
1,732
14,394
4.33776
0.170323
0.011314
0.021296
0.031945
0.388527
0.310928
0.238387
0.182084
0.157327
0.141887
0
0.018474
0.304293
14,394
346
119
41.601156
0.731776
0.133458
0
0.164103
0
0.005128
0.108865
0.039315
0
0
0
0
0
1
0.020513
false
0
0.051282
0
0.071795
0.05641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03deff63d4fe5a3fc6c43174f1b43ca9ad27e1c4
1,417
py
Python
scanpy_gene_filtering.py
granatumx/gbox-py
b3e264a22bc6a041f2dd631d952eae29c0ecae21
[ "MIT" ]
null
null
null
scanpy_gene_filtering.py
granatumx/gbox-py
b3e264a22bc6a041f2dd631d952eae29c0ecae21
[ "MIT" ]
1
2020-06-16T17:14:45.000Z
2020-06-16T17:14:45.000Z
scanpy_gene_filtering.py
granatumx/gbox-py
b3e264a22bc6a041f2dd631d952eae29c0ecae21
[ "MIT" ]
2
2020-06-16T16:42:40.000Z
2020-08-28T16:59:42.000Z
import math import scanpy.api as sc import numpy as np from granatum_sdk import Granatum def main(): gn = Granatum() adata = gn.ann_data_from_assay(gn.get_import("assay")) min_cells_expressed = gn.get_arg("min_cells_expressed") min_mean = gn.get_arg("min_mean") max_mean = gn.get_arg("max_mean") ...
26.735849
129
0.637262
200
1,417
4.205
0.405
0.035672
0.047562
0.039239
0
0
0
0
0
0
0
0.007407
0.237826
1,417
52
130
27.25
0.771296
0
0
0
0
0.025641
0.188426
0
0
0
0
0
0
1
0.025641
false
0
0.128205
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
0
0
0
0
0
1
0
03e220ad44802d7ccaad8ff67ed213cf295d4afb
37,309
py
Python
stores/apps/preferences/views.py
diassor/CollectorCity-Market-Place
892ad220b8cf1c0fc7433f625213fe61729522b2
[ "Apache-2.0" ]
135
2015-03-19T13:28:18.000Z
2022-03-27T06:41:42.000Z
stores/apps/preferences/views.py
dfcoding/CollectorCity-Market-Place
e59acec3d600c049323397b17cae14fdcaaaec07
[ "Apache-2.0" ]
null
null
null
stores/apps/preferences/views.py
dfcoding/CollectorCity-Market-Place
e59acec3d600c049323397b17cae14fdcaaaec07
[ "Apache-2.0" ]
83
2015-01-30T01:00:15.000Z
2022-03-08T17:25:10.000Z
""" Edit shop preferences """ import datetime from preferences.forms import MarketingForm, TaxStateEditForm import logging from django.conf import settings from django.core.urlresolvers import reverse from django.http import HttpResponseRedirect, HttpResponse, Http404, HttpResponseForbidden from django.shortcuts i...
38.265641
152
0.638613
3,684
37,309
6.261944
0.101792
0.038493
0.031688
0.036413
0.618752
0.511292
0.44575
0.411851
0.344272
0.312671
0
0.004445
0.26436
37,309
975
153
38.265641
0.836078
0.026669
0
0.47619
0
0.002646
0.181373
0.043678
0
0
0
0.002051
0
0
null
null
0.029101
0.068783
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
03e365fc58c1889f65eac6521d7aecdc3431dbf8
3,538
py
Python
pagapp/application_api/album_api.py
eugeneandrienko/PyArtistsGallery
b75114955859d45d9dfb5c901213f25a6e09f488
[ "MIT" ]
null
null
null
pagapp/application_api/album_api.py
eugeneandrienko/PyArtistsGallery
b75114955859d45d9dfb5c901213f25a6e09f488
[ "MIT" ]
null
null
null
pagapp/application_api/album_api.py
eugeneandrienko/PyArtistsGallery
b75114955859d45d9dfb5c901213f25a6e09f488
[ "MIT" ]
null
null
null
"""Handlers for albums' API calls.""" import json from flask import request, current_app from flask_login import login_required from pagapp.support_functions import remove_danger_symbols from pagapp.application_api import application_api from pagapp.models import db from pagapp.models.albums import Albums from pagapp...
31.589286
80
0.644997
444
3,538
4.952703
0.236486
0.047749
0.043201
0.047294
0.374261
0.311505
0.230105
0.200091
0.200091
0.160982
0
0.008169
0.238836
3,538
111
81
31.873874
0.808392
0.153759
0
0.314286
0
0
0.169896
0.007612
0
0
0
0
0
1
0.071429
false
0
0.128571
0.014286
0.314286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03e4c99b5e129d999b826ed6583329b22a13afb6
2,097
py
Python
DNBC4tools/tools/utils.py
lishuangshuang0616/DNBC4dev
2fc54e87edc5586e92d470669b6aa37661ac016a
[ "MIT" ]
null
null
null
DNBC4tools/tools/utils.py
lishuangshuang0616/DNBC4dev
2fc54e87edc5586e92d470669b6aa37661ac016a
[ "MIT" ]
null
null
null
DNBC4tools/tools/utils.py
lishuangshuang0616/DNBC4dev
2fc54e87edc5586e92d470669b6aa37661ac016a
[ "MIT" ]
null
null
null
import os,sys import time import logging import sys from datetime import timedelta from subprocess import check_call from DNBC4tools.__init__ import _root_dir def str_mkdir(arg): if not os.path.exists(arg): os.system('mkdir -p %s'%arg) def change_path(): os.environ['PATH'] += ':'+'/'.join(str(_root_di...
33.285714
93
0.593705
260
2,097
4.653846
0.373077
0.041322
0.027273
0.034711
0.091736
0.063636
0.063636
0.063636
0
0
0
0.004848
0.213162
2,097
62
94
33.822581
0.728485
0
0
0.037037
0
0
0.156414
0.04578
0.018519
0
0
0
0
1
0.12963
false
0.018519
0.12963
0
0.277778
0.092593
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03e53a24fd233c0d84133edd52d9952b5a344c50
346
py
Python
bot.py
parityapp/mattermost-bot
80f9a21ed8962226d74266e492f3a763d45314b4
[ "MIT" ]
null
null
null
bot.py
parityapp/mattermost-bot
80f9a21ed8962226d74266e492f3a763d45314b4
[ "MIT" ]
null
null
null
bot.py
parityapp/mattermost-bot
80f9a21ed8962226d74266e492f3a763d45314b4
[ "MIT" ]
null
null
null
import re from mattermost_bot.bot import listen_to from mattermost_bot.bot import respond_to @respond_to('hi', re.IGNORECASE) def hi(message): message.reply('I can understand hi or HI!') @listen_to('Can someone help me?') def help_me(message): # Message is replied to the sender (prefixed with @user) me...
23.066667
60
0.731214
56
346
4.392857
0.5
0.113821
0.138211
0.162602
0.211382
0
0
0
0
0
0
0
0.15896
346
15
61
23.066667
0.845361
0.156069
0
0
0
0
0.202749
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
3
03e65ebb8db11f83d90833408439680a1da222bc
3,432
py
Python
riberry/app/backends/impl/celery/base.py
srafehi/riberry
2ffa48945264177c6cef88512c1bc80ca4bf1d5e
[ "MIT" ]
2
2019-12-09T10:24:36.000Z
2019-12-09T10:26:56.000Z
riberry/app/backends/impl/celery/base.py
srafehi/riberry
2ffa48945264177c6cef88512c1bc80ca4bf1d5e
[ "MIT" ]
2
2018-06-11T11:34:28.000Z
2018-08-22T12:00:19.000Z
riberry/app/backends/impl/celery/base.py
srafehi/riberry
2ffa48945264177c6cef88512c1bc80ca4bf1d5e
[ "MIT" ]
null
null
null
from typing import Dict, AnyStr import celery import riberry from . import patch, tasks, addons from .executor import TaskExecutor from .tracker import CeleryExecutionTracker def send_task_process_rib_kwargs(self, *args, **kwargs): riberry_properties = {} if kwargs.get('kwargs'): for key, value in k...
34.32
108
0.668415
396
3,432
5.462121
0.242424
0.060102
0.02589
0.027739
0.192325
0.092926
0
0
0
0
0
0.00038
0.232809
3,432
99
109
34.666667
0.821117
0.018939
0
0.027027
0
0
0.062128
0.026159
0
0
0
0
0
1
0.135135
false
0
0.081081
0.067568
0.364865
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03e6fbea2bc31d53355d4df0ef6a940806f422a0
2,753
py
Python
amitypes/hsd.py
slac-lcls/amityping
a9f9c1a0d9077ff093e05a383ecd3bd05e0ce64d
[ "BSD-3-Clause-LBNL" ]
null
null
null
amitypes/hsd.py
slac-lcls/amityping
a9f9c1a0d9077ff093e05a383ecd3bd05e0ce64d
[ "BSD-3-Clause-LBNL" ]
null
null
null
amitypes/hsd.py
slac-lcls/amityping
a9f9c1a0d9077ff093e05a383ecd3bd05e0ce64d
[ "BSD-3-Clause-LBNL" ]
1
2020-12-13T01:54:32.000Z
2020-12-13T01:54:32.000Z
import typing from mypy_extensions import TypedDict from amitypes.array import Array1d __all__ = [ 'TypedDict', 'PeakTimes', 'HSDSegementPeakTimes', 'HSDPeakTimes', 'Peaks', 'HSDSegmentPeaks', 'HSDPeaks', 'HSDSegmentWaveforms', 'HSDWaveforms', 'HSDAssemblies', 'HSDTypes', ]...
25.256881
64
0.392663
174
2,753
6.183908
0.252874
0.027881
0.036245
0
0
0
0
0
0
0
0
0.062049
0.496549
2,753
108
65
25.490741
0.714286
0
0
0.034483
0
0
0.097348
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03e72378fe20cb97a330f6cb48639d89ec4e8658
4,975
py
Python
lib/astc-encoder/Test/astc_test_image_dl.py
atteneder/KTX-Software
15369663a43d72972dfe0a7e3597d3ef6d90b6b9
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-1-Clause", "BSD-3-Clause" ]
619
2015-04-30T14:55:02.000Z
2022-03-30T06:56:14.000Z
lib/astc-encoder/Test/astc_test_image_dl.py
atteneder/KTX-Software
15369663a43d72972dfe0a7e3597d3ef6d90b6b9
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-1-Clause", "BSD-3-Clause" ]
283
2018-02-05T01:42:19.000Z
2022-03-24T09:26:16.000Z
lib/astc-encoder/Test/astc_test_image_dl.py
atteneder/KTX-Software
15369663a43d72972dfe0a7e3597d3ef6d90b6b9
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-1-Clause", "BSD-3-Clause" ]
167
2015-04-30T15:06:25.000Z
2022-03-24T03:02:00.000Z
#!/usr/bin/env python3 # SPDX-License-Identifier: Apache-2.0 # ----------------------------------------------------------------------------- # Copyright 2019-2020 Arm Limited # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may ob...
27.638889
79
0.617085
688
4,975
4.405523
0.335756
0.029693
0.026394
0.032333
0.168591
0.151105
0.138898
0.13065
0.13065
0.114814
0
0.01485
0.24201
4,975
179
80
27.793296
0.788915
0.410653
0
0.135135
0
0
0.116831
0.035779
0
0
0
0
0
1
0.081081
false
0
0.054054
0
0.148649
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03e945af9ade9cf54e3b850a6b3c0ce9e40fad3b
1,183
py
Python
data_visualization/api_blueprint/predefined_configurations.py
danielrenes/car-data-visualization
9fb18c7bc8ec3e796793178acab350f0b5e7ef5b
[ "MIT" ]
null
null
null
data_visualization/api_blueprint/predefined_configurations.py
danielrenes/car-data-visualization
9fb18c7bc8ec3e796793178acab350f0b5e7ef5b
[ "MIT" ]
null
null
null
data_visualization/api_blueprint/predefined_configurations.py
danielrenes/car-data-visualization
9fb18c7bc8ec3e796793178acab350f0b5e7ef5b
[ "MIT" ]
null
null
null
import json from flask import jsonify, abort, request, url_for from . import api from .. import db from ..models import PredefinedConfiguration from ..queries import query_all_predefined_configs, query_get_predefined_config_by_id @api.route('/predefinedconfigs', methods=['GET']) def get_predefined_configs(): pre...
35.848485
117
0.760778
147
1,183
5.836735
0.326531
0.242424
0.088578
0.076923
0.264569
0.151515
0
0
0
0
0
0.00582
0.128487
1,183
32
118
36.96875
0.826382
0
0
0
0
0
0.100592
0.03973
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.444444
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
03ea04acda2fa195ba0bef26aa773982feaf40ce
2,918
py
Python
web_api/bearings/apis/inventory.py
zhanghe06/flask_restful
6ef54f3f7efbbaff6169e963dcf45ab25e11e593
[ "MIT" ]
1
2020-12-04T03:15:47.000Z
2020-12-04T03:15:47.000Z
web_api/bearings/apis/inventory.py
zhanghe06/flask_restful
6ef54f3f7efbbaff6169e963dcf45ab25e11e593
[ "MIT" ]
1
2021-06-01T22:24:27.000Z
2021-06-01T22:24:27.000Z
web_api/bearings/apis/inventory.py
zhanghe06/flask_restful
6ef54f3f7efbbaff6169e963dcf45ab25e11e593
[ "MIT" ]
2
2020-12-04T03:16:18.000Z
2021-09-04T14:10:12.000Z
#!/usr/bin/env python # encoding: utf-8 """ @author: zhanghe @software: PyCharm @file: inventory.py @time: 2018-06-28 00:23 """ import datetime from libs.mysql_orm_op import DbInstance from web_api.databases.bearings import db from web_api.models.bearings import Inventory db_instance = DbInstance(db) def get_inve...
21.29927
96
0.64976
365
2,918
4.956164
0.29863
0.066335
0.088447
0.055279
0.34052
0.296296
0.204533
0.16031
0.09508
0
0
0.010738
0.234064
2,918
136
97
21.455882
0.798658
0.345099
0
0
0
0
0.015113
0
0
0
0
0
0
1
0.30303
false
0
0.121212
0
0.757576
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
03ea99f6452fd0664caac74940ef228cb2d560ff
3,549
py
Python
cmapPy/clue_api_client/clue_api_client.py
RCBiczok/cmapPy
580b0d656892e72f58047666a94e2769ddf63b3f
[ "BSD-3-Clause" ]
2
2019-03-01T18:20:10.000Z
2019-05-05T13:04:32.000Z
cmapPy/clue_api_client/clue_api_client.py
RCBiczok/cmapPy
580b0d656892e72f58047666a94e2769ddf63b3f
[ "BSD-3-Clause" ]
10
2022-03-14T18:40:45.000Z
2022-03-22T12:45:02.000Z
cmapPy/clue_api_client/clue_api_client.py
RCBiczok/cmapPy
580b0d656892e72f58047666a94e2769ddf63b3f
[ "BSD-3-Clause" ]
2
2019-01-30T10:37:50.000Z
2019-01-30T10:45:37.000Z
import requests import logging import cmapPy.clue_api_client.setup_logger as setup_logger import json __authors__ = "David L. Lahr" __email__ = "dlahr@broadinstitute.org" logger = logging.getLogger(setup_logger.LOGGER_NAME) class ClueApiClient(object): """Basic class for running queries against CLUE api ""...
35.848485
130
0.658495
461
3,549
4.874187
0.234273
0.057855
0.048954
0.031153
0.556742
0.52826
0.489542
0.47441
0.47441
0.3587
0
0.001475
0.235841
3,549
99
131
35.848485
0.827065
0.257537
0
0.354167
0
0
0.138097
0.018065
0
0
0
0
0.020833
1
0.145833
false
0
0.083333
0
0.354167
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03eaec8f3f1adfdd6c5d23c7746d28621b17b634
185
py
Python
Stock Managment System/__clieinit__.py
AutoSiliconeHoses/SMS
11a0d8262d8cc87bfb0da94f008f34f9b12df2fd
[ "Unlicense" ]
null
null
null
Stock Managment System/__clieinit__.py
AutoSiliconeHoses/SMS
11a0d8262d8cc87bfb0da94f008f34f9b12df2fd
[ "Unlicense" ]
23
2019-07-05T10:07:58.000Z
2021-06-02T00:22:16.000Z
Stock Managment System/__clieinit__.py
AutoSiliconeHoses/SMS
11a0d8262d8cc87bfb0da94f008f34f9b12df2fd
[ "Unlicense" ]
null
null
null
import sys, string, os, yaml import Client.client as client with open("config.yml", 'r') as cfg: config = yaml.load(cfg, Loader=yaml.FullLoader) client.runClient("192.168.1.131")
23.125
51
0.713514
30
185
4.4
0.7
0
0
0
0
0
0
0
0
0
0
0.0625
0.135135
185
7
52
26.428571
0.7625
0
0
0
0
0
0.12973
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
03ec5ee390c83bab9a9210d74914176c04449ccd
2,467
py
Python
src/gtk3/entrycompletion/MainWindow.py
alexandrebarbaruiva/gui-python-gtk
7b8e8ab05645271ae55e1e2165eefc9c8f5b0250
[ "MIT" ]
42
2020-05-09T16:23:23.000Z
2022-03-28T13:05:32.000Z
src/gtk3/entrycompletion/MainWindow.py
alexandrebarbaruiva/gui-python-gtk
7b8e8ab05645271ae55e1e2165eefc9c8f5b0250
[ "MIT" ]
2
2020-05-27T19:23:54.000Z
2022-03-08T01:42:59.000Z
src/gtk3/entrycompletion/MainWindow.py
alexandrebarbaruiva/gui-python-gtk
7b8e8ab05645271ae55e1e2165eefc9c8f5b0250
[ "MIT" ]
8
2020-05-09T16:23:28.000Z
2022-03-31T22:44:45.000Z
# -*- coding: utf-8 -*- """GTK.EntryCompletion().""" import gi gi.require_version(namespace='Gtk', version='3.0') from gi.repository import Gtk, GObject, Gio class MainWindow(Gtk.ApplicationWindow): brazilian_states = [ (1, 'Acre'), (2, 'Alagoas'), (3, 'Amapá'), (4, 'Amazonas'), (5, 'Bahia'), (...
32.038961
88
0.615728
301
2,467
4.86711
0.561462
0.019113
0.015017
0.027304
0
0
0
0
0
0
0
0.032933
0.224564
2,467
76
89
32.460526
0.73288
0.018241
0
0
0
0
0.154387
0.011176
0
0
0
0
0
1
0.096154
false
0
0.057692
0
0.211538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03ee7a6ae2c980b37bf1c84311246a9eeb2654e7
21,227
py
Python
tests/Buffer_Test.py
elmar-hinz/Python.V
687202f2fbf66affdbb500095bbfa944be0dab5f
[ "MIT" ]
9
2016-01-12T20:32:54.000Z
2021-02-10T13:41:35.000Z
tests/Buffer_Test.py
elmar-hinz/Python.Vii
687202f2fbf66affdbb500095bbfa944be0dab5f
[ "MIT" ]
null
null
null
tests/Buffer_Test.py
elmar-hinz/Python.Vii
687202f2fbf66affdbb500095bbfa944be0dab5f
[ "MIT" ]
null
null
null
from nose.tools import * from vii.Buffer import * from vii.Signals import slot class Receiver: def __init__(self): slot("updatedBuffer", self) slot("filledBuffer", self) slot("deletedFromBuffer", self) slot("insertedIntoBuffer", self) self.seen = {} def receive(self, s...
36.28547
84
0.590286
2,800
21,227
4.373929
0.067143
0.143709
0.082306
0.063444
0.806157
0.757737
0.688658
0.618274
0.576141
0.546093
0
0.057004
0.24629
21,227
584
85
36.347603
0.708482
0.004852
0
0.489754
0
0
0.110072
0.018512
0
0
0
0.001712
0.32377
1
0.143443
false
0
0.006148
0.004098
0.157787
0
0
0
0
null
0
0
0
1
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
2
03f0e18a2fb018fcb36f1fa0b744ae71787750e6
4,821
py
Python
Chapter06/chapter_6_utils.py
YongBeomKim/py-finance
7c7830904b67cd23c47e793e1f47a9702e7765f3
[ "MIT" ]
1
2021-03-16T04:32:15.000Z
2021-03-16T04:32:15.000Z
Chapter06/chapter_6_utils.py
YongBeomKim/py-finance
7c7830904b67cd23c47e793e1f47a9702e7765f3
[ "MIT" ]
null
null
null
Chapter06/chapter_6_utils.py
YongBeomKim/py-finance
7c7830904b67cd23c47e793e1f47a9702e7765f3
[ "MIT" ]
null
null
null
import numpy as np from scipy.stats import norm def simulate_gbm(s_0, mu, sigma, n_sims, T, N, random_seed=42, antithetic_var=False): ''' Function used for simulating stock returns using Geometric Brownian Motion. Parameters ---------- s_0 : float Initial stock price mu : float ...
31.103226
117
0.581
648
4,821
4.186728
0.257716
0.010321
0.016218
0.018798
0.382234
0.352009
0.336896
0.237376
0.214523
0.180612
0
0.018204
0.316324
4,821
154
118
31.305195
0.804915
0.417133
0
0.163265
0
0
0.015789
0
0
0
0
0
0
1
0.061224
false
0
0.040816
0
0.163265
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03f0e951e703bc07082b6a1a6a828adfe88ff594
797
py
Python
CanChickensFly.py
griledchicken/VAMPY-2017-CS
1bc71734751850b580b481eac51c5c235d0ca9e2
[ "MIT" ]
null
null
null
CanChickensFly.py
griledchicken/VAMPY-2017-CS
1bc71734751850b580b481eac51c5c235d0ca9e2
[ "MIT" ]
null
null
null
CanChickensFly.py
griledchicken/VAMPY-2017-CS
1bc71734751850b580b481eac51c5c235d0ca9e2
[ "MIT" ]
null
null
null
answer = input("Can Chickens Fly? YES/NO: ") if answer == "YES": answer = input("Can they fly well? YES/NO: ") if answer == "YES": answer = input("Have you ever seen a Chicken? YES/NO: ") if answer == "YES": print("You're lying to me") else: print("Go take a look at one") else: answer = input("Have you...
26.566667
58
0.607277
130
797
3.723077
0.238462
0.159091
0.10124
0.188017
0.896694
0.896694
0.896694
0.840909
0.840909
0.840909
0
0
0.224592
797
29
59
27.482759
0.783172
0
0
0.896552
0
0
0.462986
0
0
0
0
0
0
1
0
false
0
0
0
0
0.275862
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
03f1cc820b06286b1457546292140f6fdb636884
552
py
Python
namedtuple.py
rmayherr/python
830aec82e3ab155b66d01032eac71bbe6f961fce
[ "MIT" ]
null
null
null
namedtuple.py
rmayherr/python
830aec82e3ab155b66d01032eac71bbe6f961fce
[ "MIT" ]
null
null
null
namedtuple.py
rmayherr/python
830aec82e3ab155b66d01032eac71bbe6f961fce
[ "MIT" ]
null
null
null
from collections import namedtuple import sys def avg_marks_manual_input(): l = int(input("How many times?")) r = namedtuple('r',input("Headers?").split(' '),rename=True) a = [r._make(input().split(' ')) for i in range(l)] print(f'{sum([int(i.marks) for i in a]) / l:.2f}') first_line = sys.stdin.read...
36.8
106
0.637681
91
552
3.78022
0.395604
0.046512
0.069767
0.069767
0.331395
0.145349
0.145349
0.145349
0.145349
0.145349
0
0.004175
0.132246
552
14
107
39.428571
0.713987
0
0
0
0
0.090909
0.222826
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.272727
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03f2a4a307188ecd417f28abec6cc88bd1e7da2d
829
py
Python
tests/test_simulator/test_ff.py
leonardt/magma
d3e8c9500ec3b167df8ed067e0c0305781c94ab6
[ "MIT" ]
167
2017-10-08T00:59:22.000Z
2022-02-08T00:14:39.000Z
tests/test_simulator/test_ff.py
leonardt/magma
d3e8c9500ec3b167df8ed067e0c0305781c94ab6
[ "MIT" ]
719
2017-08-29T17:58:28.000Z
2022-03-31T23:39:18.000Z
tests/test_simulator/test_ff.py
leonardt/magma
d3e8c9500ec3b167df8ed067e0c0305781c94ab6
[ "MIT" ]
14
2017-09-01T03:25:16.000Z
2021-11-05T13:30:24.000Z
from .test_primitives import PRIM_FF import magma as m from magma.simulator import PythonSimulator from magma.scope import * def test_sim_ff(): class TestCircuit(m.Circuit): io = m.IO(I=m.In(m.Bit), O=m.Out(m.Bit)) + m.ClockIO() ff = PRIM_FF() m.wire(io.I, ff.D) m.wire(ff.Q, io.O) ...
24.382353
62
0.651387
128
829
4.132813
0.296875
0.181474
0.085066
0.132325
0.497164
0.497164
0.497164
0.497164
0.497164
0.497164
0
0
0.221954
829
33
63
25.121212
0.820155
0
0
0.555556
0
0
0
0
0
0
0
0
0.185185
1
0.037037
false
0
0.148148
0
0.296296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03f2f46697905dc14454de66877a20450a1d4124
2,223
py
Python
literature-review/q-learning/q-learning.py
ByronDev121/literature-review
23c276e92534793d85c7af5c24d93603f8ee7678
[ "MIT" ]
null
null
null
literature-review/q-learning/q-learning.py
ByronDev121/literature-review
23c276e92534793d85c7af5c24d93603f8ee7678
[ "MIT" ]
null
null
null
literature-review/q-learning/q-learning.py
ByronDev121/literature-review
23c276e92534793d85c7af5c24d93603f8ee7678
[ "MIT" ]
null
null
null
import gym import time import os import matplotlib.pyplot as plt import numpy as np from gym.envs.registration import register from agent import QAgent register( id='FrozenLake8x8NoSLip-v0', entry_point='gym.envs.toy_text:FrozenLakeEnv', # kwargs={"map_name": "8x8", 'is_slippery': False}, kwargs={'is_s...
26.783133
91
0.634728
311
2,223
4.369775
0.321543
0.112583
0.105224
0.055188
0.182487
0.150846
0.086093
0.086093
0.086093
0.060338
0
0.02221
0.210076
2,223
82
92
27.109756
0.751708
0.036887
0
0.086957
0
0
0.124474
0.035096
0
0
0
0
0
1
0
false
0
0.101449
0
0.101449
0.057971
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03f309a30afe79b57c7abb4ede08dda5bc7ee303
625
py
Python
data/clean_test.py
iotayo/aivivn-tone
7f3d5ce41d5a0bd659f3aaeb7d351a7a046c3004
[ "MIT" ]
40
2019-07-31T18:13:13.000Z
2021-12-07T09:45:07.000Z
data/clean_test.py
iotayo/aivivn-tone
7f3d5ce41d5a0bd659f3aaeb7d351a7a046c3004
[ "MIT" ]
5
2019-08-07T10:21:52.000Z
2021-05-26T06:08:48.000Z
data/clean_test.py
iotayo/aivivn-tone
7f3d5ce41d5a0bd659f3aaeb7d351a7a046c3004
[ "MIT" ]
15
2019-07-31T17:57:53.000Z
2021-05-27T10:43:46.000Z
from tqdm import tqdm input_path = "./test_word_per_line.txt" output_path = "./test_cleaned.txt" curr_id = "" curr_sent = [] with open(output_path, mode="wt", encoding="utf-8") as f: lines = open(input_path).readlines() for idx, line in tqdm(enumerate(lines)): if idx == 0: continue line = line.strip() line_...
28.409091
59
0.6288
101
625
3.673267
0.425743
0.12938
0.053908
0.070081
0.167116
0.167116
0.167116
0.167116
0.167116
0
0
0.013384
0.1632
625
21
60
29.761905
0.695985
0
0
0.2
0
0
0.1072
0.0384
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03f39d73c00f084610ed84399b397649419510bb
229
py
Python
cntr/utils.py
ethan-iai/tour-recmd
321ee528b748900eff9d22b176cdcd339fb60681
[ "MIT" ]
2
2021-08-01T06:39:43.000Z
2021-08-01T06:39:58.000Z
cntr/utils.py
ethan-iai/tour-recmd
321ee528b748900eff9d22b176cdcd339fb60681
[ "MIT" ]
1
2021-06-08T11:24:30.000Z
2021-06-09T07:47:26.000Z
cntr/utils.py
ethan-iai/tour-recmd
321ee528b748900eff9d22b176cdcd339fb60681
[ "MIT" ]
null
null
null
import os import pathlib def get_data_path(file): prefix = pathlib.Path(__file__).parent.resolve() return os.path.abspath(os.path.join(prefix, file)) if __name__ == '__main__': print(get_data_path('data/name.txt'))
22.9
54
0.720524
34
229
4.382353
0.558824
0.09396
0.147651
0
0
0
0
0
0
0
0
0
0.135371
229
10
55
22.9
0.752525
0
0
0
0
0
0.091304
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
03f3ee5a1e2a0e3c2f5c128492384043eac78f5c
1,583
py
Python
translators/test.py
uiuc-arc/Storm
afa9cc5d4ef7e163a5255140c27aca4cf1b47036
[ "MIT" ]
2
2020-01-02T22:55:04.000Z
2021-12-10T01:21:30.000Z
translators/test.py
uiuc-arc/Storm
afa9cc5d4ef7e163a5255140c27aca4cf1b47036
[ "MIT" ]
null
null
null
translators/test.py
uiuc-arc/Storm
afa9cc5d4ef7e163a5255140c27aca4cf1b47036
[ "MIT" ]
null
null
null
#!/usr/bin/env python import argparse import antlr4 from antlr4 import * from language.antlr.Template2Lexer import Template2Lexer from language.antlr.Template2Parser import Template2Parser from language.antlr.Template2Listener import Template2Listener from newbackends.pyrotranslator import PyroTranslator from languag...
27.293103
62
0.759949
189
1,583
6.253968
0.386243
0.045685
0.086294
0.096447
0.054146
0.054146
0
0
0
0
0
0.012614
0.098547
1,583
57
63
27.77193
0.815697
0.012634
0
0
0
0
0.059012
0
0
0
0
0
0
1
0.05
false
0.025
0.2
0
0.275
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
0
0
0
0
0
0
0
0
1
0
03f524b31fd0d91cd3b0e302abe39bb4f73b97a6
6,355
py
Python
pytc/experiments/base.py
jharman25/pytc
d9ccde3f04e35a3d821ff37a4ad42e62a048d4ac
[ "Unlicense" ]
20
2017-04-27T16:30:03.000Z
2021-08-12T19:42:05.000Z
pytc/experiments/base.py
jharman25/pytc
d9ccde3f04e35a3d821ff37a4ad42e62a048d4ac
[ "Unlicense" ]
15
2016-12-12T20:40:44.000Z
2022-02-20T12:05:37.000Z
pytc/experiments/base.py
jharman25/pytc
d9ccde3f04e35a3d821ff37a4ad42e62a048d4ac
[ "Unlicense" ]
6
2016-06-23T00:54:21.000Z
2020-05-19T05:24:20.000Z
__description__ = \ """ experiments.py Classes for loading experimental ITC data and associating those data with a model. Units: Volumes are in microliters Temperatures are in Kelvin Concentrations are in molar Energy is `units`, where `units` is specified when instantiating the ITCExperiment cl...
24.631783
83
0.557671
722
6,355
4.728532
0.296399
0.044815
0.041886
0.02109
0.265378
0.2314
0.196251
0.179262
0.132982
0.132982
0
0.016627
0.346971
6,355
257
84
24.727626
0.806024
0.260425
0
0.333333
0
0
0.035225
0
0
0
0
0
0
1
0.196078
false
0.009804
0.019608
0
0.392157
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03f8ccce3ecf35b88bf241958bca977a39da0829
2,743
py
Python
tests/_geom/test_path_bezier_3d_continual.py
ynsnf/apysc
b10ffaf76ec6beb187477d0a744fca00e3efc3fb
[ "MIT" ]
16
2021-04-16T02:01:29.000Z
2022-01-01T08:53:49.000Z
tests/_geom/test_path_bezier_3d_continual.py
ynsnf/apysc
b10ffaf76ec6beb187477d0a744fca00e3efc3fb
[ "MIT" ]
613
2021-03-24T03:37:38.000Z
2022-03-26T10:58:37.000Z
tests/_geom/test_path_bezier_3d_continual.py
simon-ritchie/apyscript
c319f8ab2f1f5f7fad8d2a8b4fc06e7195476279
[ "MIT" ]
2
2021-06-20T07:32:58.000Z
2021-12-26T08:22:11.000Z
import re from random import randint from typing import Match from typing import Optional from retrying import retry import apysc as ap from apysc._expression import var_names from tests.testing_helper import assert_attrs class TestPathBezier3DContinual: @retry(stop_max_attempt_number=15, wait_fi...
38.633803
78
0.582574
311
2,743
4.755627
0.244373
0.043272
0.08046
0.085193
0.633536
0.633536
0.532792
0.49831
0.49831
0.406356
0
0.050375
0.319723
2,743
70
79
39.185714
0.742229
0
0
0.285714
0
0
0.125327
0.075196
0
0
0
0
0.126984
1
0.047619
false
0
0.126984
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03fa298b7ad91850feb3603a0d09e4d69c6f4462
2,108
py
Python
cogs/owner.py
SuperYellowSystem/FactorioQuizzBot
55dfea657c64dd9d92bfa9657de66159cc7e79e9
[ "MIT" ]
1
2018-04-08T16:47:02.000Z
2018-04-08T16:47:02.000Z
cogs/owner.py
SuperYellowSystem/FactorioQuizBot
55dfea657c64dd9d92bfa9657de66159cc7e79e9
[ "MIT" ]
null
null
null
cogs/owner.py
SuperYellowSystem/FactorioQuizBot
55dfea657c64dd9d92bfa9657de66159cc7e79e9
[ "MIT" ]
null
null
null
# NB: Based on the work of Rapptz on RoboDanny # src: https://github.com/Rapptz/RoboDanny/blob/rewrite/cogs/admin.py # ====================================================================== # imports # ====================================================================== from discord.ext import commands as cmds import...
33.460317
72
0.52277
243
2,108
4.440329
0.345679
0.038925
0.036145
0.047266
0.578313
0.569045
0.569045
0.569045
0.512512
0.456905
0
0
0.223435
2,108
62
73
34
0.659133
0.221537
0
0.585366
0
0
0.167734
0.069142
0
0
0
0
0
1
0.04878
false
0
0.097561
0
0.170732
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03fac18b0bfdebf09b938bb372680e33554a0ff7
817
py
Python
Problem Solving with Algorithms and Data Structures/Chapter 1/e14.py
ltdangkhoa/Computer-Science-Fundamental
b70ba714e1dd13fcb377125e047c5fc08d3a82b3
[ "MIT" ]
null
null
null
Problem Solving with Algorithms and Data Structures/Chapter 1/e14.py
ltdangkhoa/Computer-Science-Fundamental
b70ba714e1dd13fcb377125e047c5fc08d3a82b3
[ "MIT" ]
null
null
null
Problem Solving with Algorithms and Data Structures/Chapter 1/e14.py
ltdangkhoa/Computer-Science-Fundamental
b70ba714e1dd13fcb377125e047c5fc08d3a82b3
[ "MIT" ]
null
null
null
from e14_b import MyDeck, MyCard def demo_a(): card_2_heart = MyCard(2, '❤') print(card_2_heart) card_3_diamond = MyCard(3, '♦') print(card_3_diamond) card_13_spade = MyCard(13, '♠') print(card_13_spade) def demo_b(): cards_deck = MyDeck(num_of_deck=1) cards_deck.shuffle_deck() pr...
24.757576
63
0.662179
130
817
3.830769
0.323077
0.090361
0.040161
0.060241
0.156627
0.156627
0.156627
0.156627
0.156627
0.156627
0
0.032051
0.23623
817
32
64
25.53125
0.761218
0.009792
0
0.166667
0
0
0.003722
0
0
0
0
0
0
1
0.083333
false
0
0.041667
0
0.125
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
0
0
0
0
0
0
0
0
1
0
03fcad1d1936cee28640a02b1c3ebdfc5c4cd278
53
py
Python
python_lessons/MtMk_Test_Files/numpy_test.py
1986MMartin/coding-sections-markus
e13be32e5d83e69250ecfb3c76a04ee48a320607
[ "Apache-2.0" ]
null
null
null
python_lessons/MtMk_Test_Files/numpy_test.py
1986MMartin/coding-sections-markus
e13be32e5d83e69250ecfb3c76a04ee48a320607
[ "Apache-2.0" ]
null
null
null
python_lessons/MtMk_Test_Files/numpy_test.py
1986MMartin/coding-sections-markus
e13be32e5d83e69250ecfb3c76a04ee48a320607
[ "Apache-2.0" ]
null
null
null
import numpy as np arr = np.arange(0,11) print(arr)
17.666667
22
0.698113
11
53
3.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0.068182
0.169811
53
3
23
17.666667
0.772727
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
03fcf010e806a2ca558ead9b4f75e81efede549f
135
py
Python
flask_simple/mocks.py
Forumouth/flask-simple
0764559fbbc4348cc146aa4dddbc1f90d91bc840
[ "MIT", "Unlicense" ]
null
null
null
flask_simple/mocks.py
Forumouth/flask-simple
0764559fbbc4348cc146aa4dddbc1f90d91bc840
[ "MIT", "Unlicense" ]
5
2016-01-30T13:32:23.000Z
2016-02-06T13:34:11.000Z
flask_simple/mocks.py
Forumouth/flask-simple
0764559fbbc4348cc146aa4dddbc1f90d91bc840
[ "MIT", "Unlicense" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 from unittest.mock import MagicMock render_template = MagicMock(return_value="this is a test")
16.875
58
0.762963
21
135
4.809524
0.952381
0
0
0
0
0
0
0
0
0
0
0.008475
0.125926
135
7
59
19.285714
0.847458
0.244444
0
0
0
0
0.14
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
03ff93fc9d98330d3ad870c21f0120ad11f705f7
183
py
Python
bot/reporting/admin.py
psemdel/py-trading-bot
69da4164b3f6a3ed3e6dc81d5aefc0273b4cb019
[ "MIT" ]
null
null
null
bot/reporting/admin.py
psemdel/py-trading-bot
69da4164b3f6a3ed3e6dc81d5aefc0273b4cb019
[ "MIT" ]
1
2022-02-07T21:13:55.000Z
2022-02-07T21:13:55.000Z
bot/reporting/admin.py
psemdel/py-trading-bot
69da4164b3f6a3ed3e6dc81d5aefc0273b4cb019
[ "MIT" ]
null
null
null
from django.contrib import admin from django.apps import apps from reporting.models import * admin.site.register(Report) admin.site.register(ActionReport) admin.site.register(Alert)
22.875
33
0.825137
26
183
5.807692
0.5
0.178808
0.337748
0
0
0
0
0
0
0
0
0
0.087432
183
7
34
26.142857
0.904192
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
03ffdfae2150b0ebaf5889a8ceb87f9a3acb8bf4
616
py
Python
pyrival/graphs/components.py
MattJDavidson/aoc2021
1c26697da55e58408f36525639d201303f808b1b
[ "Apache-2.0" ]
748
2018-09-27T01:08:12.000Z
2022-03-25T17:31:56.000Z
pyrival/graphs/components.py
MattJDavidson/aoc2021
1c26697da55e58408f36525639d201303f808b1b
[ "Apache-2.0" ]
38
2019-02-24T14:50:02.000Z
2022-03-25T01:27:50.000Z
pyrival/graphs/components.py
MattJDavidson/aoc2021
1c26697da55e58408f36525639d201303f808b1b
[ "Apache-2.0" ]
288
2018-10-29T11:55:57.000Z
2022-03-20T04:37:27.000Z
def connected_components(n, graph): components, visited = [], [False] * n def dfs(start): component, stack = [], [start] while stack: start = stack[-1] if visited[start]: stack.pop() continue else: visited[sta...
22
41
0.470779
62
616
4.66129
0.403226
0.069204
0.041522
0.089965
0
0
0
0
0
0
0
0.002857
0.431818
616
27
42
22.814815
0.822857
0
0
0.1
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff002fdb0500e9897354e32946b348260a72d40c
976
py
Python
lino/modlib/uploads/__init__.py
NewRGB/lino
43799e42107169ff173d3b8bc0324d5773471499
[ "BSD-2-Clause" ]
1
2019-11-13T19:38:50.000Z
2019-11-13T19:38:50.000Z
lino/modlib/uploads/__init__.py
NewRGB/lino
43799e42107169ff173d3b8bc0324d5773471499
[ "BSD-2-Clause" ]
null
null
null
lino/modlib/uploads/__init__.py
NewRGB/lino
43799e42107169ff173d3b8bc0324d5773471499
[ "BSD-2-Clause" ]
null
null
null
# Copyright 2010-2018 Rumma & Ko Ltd # License: BSD (see file COPYING for details) """Adds functionality for uploading files to the server and managing them. See :doc:`/specs/uploads`. """ from lino import ad, _ class Plugin(ad.Plugin): "See :doc:`/dev/plugins`." verbose_name = _("Uploads") menu_grou...
27.885714
79
0.659836
143
976
4.272727
0.41958
0.052373
0.081833
0.139116
0.432079
0.432079
0.432079
0.432079
0.432079
0.432079
0
0.010417
0.213115
976
34
80
28.705882
0.785156
0.209016
0
0.315789
0
0
0.159033
0
0
0
0
0
0
1
0.157895
false
0
0.052632
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff01277f87c5e7fac7a733b20837d1ed277d4304
2,097
py
Python
cloudferrylib/os/actions/upload_file_to_image.py
toha10/CloudFerry
5f844a480d3326d1fea74cca35b648c32d390fab
[ "Apache-2.0" ]
null
null
null
cloudferrylib/os/actions/upload_file_to_image.py
toha10/CloudFerry
5f844a480d3326d1fea74cca35b648c32d390fab
[ "Apache-2.0" ]
null
null
null
cloudferrylib/os/actions/upload_file_to_image.py
toha10/CloudFerry
5f844a480d3326d1fea74cca35b648c32d390fab
[ "Apache-2.0" ]
null
null
null
from cloudferrylib.base.action import action from fabric.api import run, settings from cloudferrylib.utils import utils as utl CLOUD = 'cloud' BACKEND = 'backend' CEPH = 'ceph' ISCSI = 'iscsi' COMPUTE = 'compute' INSTANCES = 'instances' INSTANCE_BODY = 'instance' INSTANCE = 'instance' DIFF = 'diff' EPHEMERAL = 'ephem...
34.95
106
0.560801
244
2,097
4.614754
0.340164
0.049734
0.026643
0.035524
0.044405
0
0
0
0
0
0
0.005559
0.313782
2,097
59
107
35.542373
0.776928
0.005246
0
0
0
0.04
0.175312
0.011047
0
0
0
0
0
1
0.02
false
0.04
0.06
0
0.12
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff01ccc9f186d9a1a01af517bc0fcb70db7dd2eb
1,672
py
Python
application.py
roniemartinez/real-time-charts-with-fastapi
f5f30f8283acafb30a97a5060803fe9d1d872b69
[ "MIT" ]
28
2022-03-20T14:10:04.000Z
2022-03-30T21:50:15.000Z
application.py
roniemartinez/real-time-charts-with-fastapi
f5f30f8283acafb30a97a5060803fe9d1d872b69
[ "MIT" ]
null
null
null
application.py
roniemartinez/real-time-charts-with-fastapi
f5f30f8283acafb30a97a5060803fe9d1d872b69
[ "MIT" ]
1
2022-03-21T21:50:27.000Z
2022-03-21T21:50:27.000Z
import json import logging import random import sys from datetime import datetime from typing import Iterator import asyncio from fastapi import FastAPI from fastapi.responses import HTMLResponse, StreamingResponse from fastapi.requests import Request from fastapi.templating import Jinja2Templates logging.basicConfig...
30.962963
106
0.711124
199
1,672
5.899497
0.502513
0.037479
0.030664
0.042589
0
0
0
0
0
0
0
0.007225
0.172249
1,672
53
107
31.54717
0.84104
0.022727
0
0
0
0
0.133559
0
0
0
0
0
0
1
0
false
0
0.297297
0
0.351351
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff0349321664c71151b8b6a6936853d728c7a48f
2,666
py
Python
Source/GeniusLyricsGUI.py
Fingolfin7/Music-Metadata-and-Lyrics
6b26c048b9a0905f0097d2bd212285296ab3ba54
[ "MIT" ]
4
2021-08-07T00:15:12.000Z
2021-12-12T20:45:15.000Z
Source/GeniusLyricsGUI.py
Fingolfin7/Music-Metadata-and-Lyrics
6b26c048b9a0905f0097d2bd212285296ab3ba54
[ "MIT" ]
1
2021-08-06T23:29:47.000Z
2021-08-06T23:29:47.000Z
Source/GeniusLyricsGUI.py
Fingolfin7/Music-Metadata-and-Lyrics
6b26c048b9a0905f0097d2bd212285296ab3ba54
[ "MIT" ]
3
2021-08-07T01:53:20.000Z
2021-08-07T23:21:02.000Z
import os import threading from tkinter import * from tkinter import messagebox from GeniusLyrics import search_song_lyrics, song_dict class GeniusLyricsGUI: def __init__(self, tk_root: Tk): tk_root.resizable(width=False, height=False) self.lyrics_frame = Frame(tk_root) self.songName = St...
33.325
113
0.609152
317
2,666
5
0.318612
0.035331
0.070662
0.040379
0.199369
0.126814
0
0
0
0
0
0.008678
0.265191
2,666
79
114
33.746835
0.800408
0.02063
0
0
0
0.017857
0.091293
0.041427
0
0
0
0
0
1
0.071429
false
0
0.089286
0
0.178571
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff03a6d3f532ff9a0b7cb29e49f83b8383befaa7
6,300
py
Python
src/vulkan/helpers/render_pass.py
gabdube/panic-panda
ecbda506eeafe3dbdf932cdb20b938646502f892
[ "MIT" ]
67
2019-01-06T13:01:46.000Z
2022-01-04T17:50:58.000Z
src/vulkan/helpers/render_pass.py
gabdube/panic-panda
ecbda506eeafe3dbdf932cdb20b938646502f892
[ "MIT" ]
2
2019-01-07T18:25:00.000Z
2021-05-10T09:32:17.000Z
src/vulkan/helpers/render_pass.py
gabdube/panic-panda
ecbda506eeafe3dbdf932cdb20b938646502f892
[ "MIT" ]
6
2019-07-31T08:16:26.000Z
2020-12-26T04:34:52.000Z
from .. import vk from .utils import check_ctypes_members, sequence_to_array, array, array_pointer from ctypes import byref, c_uint32, c_float def rect_2d(x, y, width, height): return vk.Rect2D( offset=vk.Offset2D(x=x, y=y), extent=vk.Extent2D(width=width, height=height) ) def framebuffer_cre...
40.645161
124
0.71873
746
6,300
5.741287
0.162198
0.037824
0.035022
0.044128
0.304226
0.228111
0.098996
0.056502
0.056502
0.056502
0
0.003471
0.176825
6,300
154
125
40.909091
0.822406
0
0
0.125
0
0
0.112698
0.00381
0
0
0
0
0
1
0.1
false
0.266667
0.025
0.008333
0.216667
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
ff03dab57925319f515c5c11149dcf10058593ae
1,124
py
Python
raspy/components/motors/motor_state_change_event.py
cyrusbuilt/RasPy
1e34840cc90ea7f19317e881162209d3d819eb09
[ "MIT" ]
null
null
null
raspy/components/motors/motor_state_change_event.py
cyrusbuilt/RasPy
1e34840cc90ea7f19317e881162209d3d819eb09
[ "MIT" ]
null
null
null
raspy/components/motors/motor_state_change_event.py
cyrusbuilt/RasPy
1e34840cc90ea7f19317e881162209d3d819eb09
[ "MIT" ]
null
null
null
"""This module contains the MotorStateChangeEvent type.""" from raspy.components.motors import motor_state class MotorStateChangeEvent(object): """The event that gets raised when a motor changes state.""" def __init__(self, old_state, new_state): """Initialize a new instance of MotorStateChangeEven...
27.414634
78
0.634342
139
1,124
4.906475
0.366906
0.046921
0.032258
0.046921
0.175953
0.108504
0.108504
0.108504
0.108504
0.108504
0
0
0.286477
1,124
40
79
28.1
0.850374
0.420819
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.066667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff04665b138db9fa8f8563e4a316caa05474ffd6
2,537
py
Python
contrib/PyTorch/Official/cv/image_object_detection/RetinaNet/tests/test_model_analysis.py
Ascend/modelzoo
f018cfed33dbb1cc2110b9ea2e233333f71cc509
[ "Apache-2.0" ]
12
2020-12-13T08:34:24.000Z
2022-03-20T15:17:17.000Z
built-in/PyTorch/Official/cv/image_object_detection/Faster_Mask_RCNN_for_PyTorch_Dynamic_Shape/tests/test_model_analysis.py
Ascend/modelzoo
f018cfed33dbb1cc2110b9ea2e233333f71cc509
[ "Apache-2.0" ]
1
2022-01-20T03:11:05.000Z
2022-01-20T06:53:39.000Z
built-in/PyTorch/Official/cv/image_object_detection/Faster_Mask_RCNN_for_PyTorch_Dynamic_Shape/tests/test_model_analysis.py
Ascend/modelzoo
f018cfed33dbb1cc2110b9ea2e233333f71cc509
[ "Apache-2.0" ]
2
2021-07-10T12:40:46.000Z
2021-12-17T07:55:15.000Z
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved # Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache....
35.236111
81
0.707923
356
2,537
4.912921
0.441011
0.032018
0.038879
0.018296
0.317896
0.317896
0.287021
0.287021
0.287021
0.256146
0
0.036346
0.197477
2,537
71
82
35.732394
0.822692
0.382736
0
0.342857
0
0
0.079085
0.054902
0
0
0
0
0.171429
1
0.2
false
0
0.171429
0
0.457143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff05c27eae2a6e4a7afcb14ff90aef2245e06be5
302
py
Python
mli/utility.py
karu-bee/ml_interpret_book
c398023dff175118c98e9f6dd3785d6b317b359e
[ "BSD-3-Clause" ]
18
2021-08-11T02:04:53.000Z
2022-03-26T03:23:47.000Z
mli/utility.py
karu-bee/ml_interpret_book
c398023dff175118c98e9f6dd3785d6b317b359e
[ "BSD-3-Clause" ]
null
null
null
mli/utility.py
karu-bee/ml_interpret_book
c398023dff175118c98e9f6dd3785d6b317b359e
[ "BSD-3-Clause" ]
11
2021-09-19T08:39:01.000Z
2022-03-28T08:58:45.000Z
import pandas as pd def get_coef(estimator, var_names): """特徴量名と回帰係数が対応したデータフレームを作成する""" # 切片含む回帰係数と特徴量の名前を抜き出してデータフレームにまとめる df = pd.DataFrame( data={"coef": [estimator.intercept_] + estimator.coef_.tolist()}, index=["intercept"] + var_names ) return df
23.230769
74
0.645695
28
302
6.785714
0.678571
0.136842
0
0
0
0
0
0
0
0
0
0
0.235099
302
13
75
23.230769
0.822511
0.201987
0
0
0
0
0.055085
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ff07394e395b62d46e9233ac28ffd68f59cd8a96
649
py
Python
app.py
tommorris/ftfyweb
c9bb5b2381b8dc4d831ac7113041988b9e1d2629
[ "MIT" ]
null
null
null
app.py
tommorris/ftfyweb
c9bb5b2381b8dc4d831ac7113041988b9e1d2629
[ "MIT" ]
null
null
null
app.py
tommorris/ftfyweb
c9bb5b2381b8dc4d831ac7113041988b9e1d2629
[ "MIT" ]
null
null
null
import ftfy from flask import Flask, request, Response import os app = Flask(__name__) @app.route("/", methods=["GET"]) def index(): return '<!DOCTYPE html>\n<html><head><title>FTFY on the web</title><body><form method="POST" action="/"><textarea name="text"></textarea><br /><input type="submit" /></body></html>'...
32.45
185
0.654854
93
649
4.430108
0.580645
0.014563
0.072816
0
0
0
0
0
0
0
0
0.021201
0.127889
649
19
186
34.157895
0.706714
0
0
0
0
0.066667
0.371341
0.120185
0
0
0
0
0
1
0.133333
false
0
0.2
0.066667
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff07cdddcc59acdcb5eb9d02bbab6e7854827b9d
454
py
Python
src/265. Paint House II .py
rajshrivastava/LeetCode
dfe6342fe22b324429b0be3e5c0fef46c7e6b3b0
[ "MIT" ]
1
2019-12-16T08:18:25.000Z
2019-12-16T08:18:25.000Z
src/265. Paint House II .py
rajshrivastava/LeetCode
dfe6342fe22b324429b0be3e5c0fef46c7e6b3b0
[ "MIT" ]
null
null
null
src/265. Paint House II .py
rajshrivastava/LeetCode
dfe6342fe22b324429b0be3e5c0fef46c7e6b3b0
[ "MIT" ]
null
null
null
class Solution: def minCostII(self, costs: List[List[int]]) -> int: if not costs: return 0 lower_row = costs[-1] k = len(lower_row) for i in range(len(costs)-2, -1, -1): curr_row = costs[i][:] for j in range(k): curr_row[j] += min(lower_row[:j...
25.222222
67
0.491189
63
454
3.380952
0.412698
0.262911
0.103286
0
0
0
0
0
0
0
0
0.021053
0.372247
454
17
68
26.705882
0.726316
0.035242
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
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
ff0849124ea93b7bec63c0f48293d31e29b5e59a
442
py
Python
tryouts/withBlessings.py
programmingLego/legoBTLE4PI
d4641eb3e5451f8f64a4ac038ebadb8c3b452ec0
[ "MIT" ]
2
2021-06-05T18:06:43.000Z
2021-08-13T12:16:48.000Z
tryouts/withBlessings.py
programmingLego/legoBTLE4PI
d4641eb3e5451f8f64a4ac038ebadb8c3b452ec0
[ "MIT" ]
4
2021-06-05T18:55:26.000Z
2021-06-23T19:40:53.000Z
tryouts/withBlessings.py
DietrichChristopeit/project-cimino
62eaf5e2661200094742c1ab65524128488d84bf
[ "MIT" ]
null
null
null
import time from blessings import Terminal term = Terminal() with term.location(): for i in range(10): t = i l = len(str(t)) print(term.move(10, term.height-1) + 'This is', term.underline(str(t))) time.sleep(1) print(term.move(10, term.height - 1) + 'This is', l*' ') ...
31.571429
127
0.597285
68
442
3.882353
0.397059
0.045455
0.147727
0.170455
0.393939
0.393939
0.393939
0.393939
0.393939
0.272727
0
0.034884
0.221719
442
13
128
34
0.732558
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.272727
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
ff08e3833e5406d35fb9da8d119e002439370636
1,399
py
Python
python/test.py
yushulx/myget-barcode-sample
f47d79794f439cae4baf33e6299802dd35587da7
[ "CNRI-Python" ]
null
null
null
python/test.py
yushulx/myget-barcode-sample
f47d79794f439cae4baf33e6299802dd35587da7
[ "CNRI-Python" ]
null
null
null
python/test.py
yushulx/myget-barcode-sample
f47d79794f439cae4baf33e6299802dd35587da7
[ "CNRI-Python" ]
null
null
null
from dbr import DynamsoftBarcodeReader dbr = DynamsoftBarcodeReader() def InitLicense(license): dbr.InitLicense(license) def DecodeFile(fileName): try: results = dbr.DecodeFile(fileName) textResults = results["TextResults"] resultsLength = len(textResults) print("count: " + st...
34.121951
71
0.593281
120
1,399
6.85
0.5
0.065693
0
0
0
0
0
0
0
0
0
0.025667
0.303788
1,399
41
72
34.121951
0.818275
0.050036
0
0
0
0
0.106928
0
0
0
0
0
0
1
0.058824
false
0
0.029412
0
0.088235
0.176471
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff094fcc3bfffb49faac08b0936857ef5e95c080
3,963
py
Python
examples/plotting/AdaptiveW_process_SA.py
JiazhengChai/synergy_DRL
c08e78e5fe39d9d46213e1bf07b8dafc2195b05a
[ "MIT" ]
2
2020-01-07T04:12:42.000Z
2021-12-21T22:25:31.000Z
examples/plotting/AdaptiveW_process_SA.py
JiazhengChai/synergy_DRL
c08e78e5fe39d9d46213e1bf07b8dafc2195b05a
[ "MIT" ]
11
2019-11-29T02:59:34.000Z
2022-03-12T00:07:28.000Z
examples/plotting/AdaptiveW_process_SA.py
JiazhengChai/synergy_DRL
c08e78e5fe39d9d46213e1bf07b8dafc2195b05a
[ "MIT" ]
1
2020-04-28T12:06:40.000Z
2020-04-28T12:06:40.000Z
from sklearn.preprocessing import StandardScaler import numpy as np from sklearn.metrics import r2_score from matplotlib import pyplot as plt import os from matplotlib.lines import Line2D from exp_variant_class import exp_variant#,PCA from sklearn.decomposition import PCA import argparse from scipy import integrate imp...
23.873494
127
0.661368
637
3,963
3.872841
0.309262
0.029185
0.028375
0.013377
0.135387
0.125659
0.125659
0.093231
0.093231
0.093231
0
0.036255
0.199596
3,963
165
128
24.018182
0.741488
0.001009
0
0.096
0
0
0.096057
0.032609
0
0
0
0
0
1
0.016
false
0
0.104
0.016
0.136
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff098e38a6ea9af6ee303beb724496a6885a6fff
1,100
py
Python
p886m/possible_bipartition.py
l33tdaima/l33tdaima
0a7a9573dc6b79e22dcb54357493ebaaf5e0aa90
[ "MIT" ]
1
2020-02-20T12:04:46.000Z
2020-02-20T12:04:46.000Z
p886m/possible_bipartition.py
l33tdaima/l33tdaima
0a7a9573dc6b79e22dcb54357493ebaaf5e0aa90
[ "MIT" ]
null
null
null
p886m/possible_bipartition.py
l33tdaima/l33tdaima
0a7a9573dc6b79e22dcb54357493ebaaf5e0aa90
[ "MIT" ]
null
null
null
from typing import List from collections import defaultdict class Solution: def possibleBipartition(self, N: int, dislikes: List[List[int]]) -> bool: graph = defaultdict(list) for a, b in dislikes: graph[a].append(b) graph[b].append(a) RED, BLUE = 0, 1 colo...
28.205128
77
0.513636
151
1,100
3.741722
0.337748
0.047788
0.053097
0.038938
0.046018
0.046018
0
0
0
0
0
0.039216
0.304545
1,100
38
78
28.947368
0.699346
0.004545
0
0
0
0
0.092406
0
0
0
0
0
0.033333
1
0.066667
false
0
0.066667
0
0.266667
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff0ad96003ab263c05c0ef76f377fb269621afc1
1,315
py
Python
misc/wysalem.py
wy2136/wython
0eaa9db335d57052806ae956afe6a34705407628
[ "MIT" ]
1
2022-03-21T21:24:40.000Z
2022-03-21T21:24:40.000Z
misc/wysalem.py
wy2136/wython
0eaa9db335d57052806ae956afe6a34705407628
[ "MIT" ]
null
null
null
misc/wysalem.py
wy2136/wython
0eaa9db335d57052806ae956afe6a34705407628
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Wenchang Yang (wenchang@princeton.edu) # Fri May 15 13:45:34 EDT 2020 if __name__ == '__main__': from misc.timer import Timer tt = Timer(f'start {__file__}') import sys, os.path, os, glob import xarray as xr, numpy as np, pandas as pd #import matplotlib.pyplot as plt #more imports import...
24.811321
74
0.642586
178
1,315
4.47191
0.466292
0.075377
0.065327
0.079146
0.169598
0.114322
0
0
0
0
0
0.011776
0.225095
1,315
52
75
25.288462
0.769382
0.152091
0
0.314286
0
0
0.146872
0
0
0
0
0
0
1
0.028571
false
0
0.171429
0
0.314286
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
0
0
0
0
0
1
0
ff0b2afd610385ef75e98eb2924a9e2596709742
4,120
py
Python
ops/update_version.py
DropD/sparkplug
be817103ef32cbc908de004659b538993d14eeb4
[ "MIT" ]
5
2017-11-28T14:57:53.000Z
2019-01-16T08:48:10.000Z
ops/update_version.py
DropD/sparkplug
be817103ef32cbc908de004659b538993d14eeb4
[ "MIT" ]
49
2017-04-11T11:18:58.000Z
2021-02-10T23:06:20.000Z
ops/update_version.py
DropD/sparkplug
be817103ef32cbc908de004659b538993d14eeb4
[ "MIT" ]
8
2017-06-16T17:01:33.000Z
2021-02-09T10:28:03.000Z
"""Update version numbers everywhere based on git tags.""" from __future__ import print_function import os import re import json import fileinput import contextlib import subprocess try: # prefer the backport for Python <3.5 from pathlib2 import Path except ImportError: from pathlib import Path import colle...
34.049587
134
0.65801
539
4,120
4.816327
0.315399
0.045069
0.023112
0.035439
0.24037
0.114792
0.060092
0.033128
0.033128
0.033128
0
0.004042
0.219417
4,120
120
135
34.333333
0.803172
0.205097
0
0.157895
0
0.026316
0.0794
0.014067
0
0
0
0
0
1
0.144737
false
0
0.157895
0.039474
0.447368
0.013158
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff0b92cac5191bfb5cafcf2ad2b6f9c3f1b55cd2
1,516
py
Python
my_twitter_bot.py
Tomonori-Yoshino/Automating_tweets
117b09973f22a2438335facfdb427dbb2e23d005
[ "MIT" ]
null
null
null
my_twitter_bot.py
Tomonori-Yoshino/Automating_tweets
117b09973f22a2438335facfdb427dbb2e23d005
[ "MIT" ]
null
null
null
my_twitter_bot.py
Tomonori-Yoshino/Automating_tweets
117b09973f22a2438335facfdb427dbb2e23d005
[ "MIT" ]
null
null
null
import tweepy import time print("this is my twitter bot") CONSUMER_KEY = 'Xqpf3M4z5poRH6yp17lGXgUSU' CONSUMER_SECRET = '2RVEN70Ti4QCl0kDMptrY4AnJF6kqEOBFdSEV1aZf3rBEN8AeL' ACCESS_KEY = '732483098336595968-hH2jZVrpjKy0WxkM6dHzyZJ5kGgCrE9' ACCESS_SECRET = '98B9BTk2toO3qLIppsMcsPThgOSoOf9GiGZ55OGFIypYE' auth = tweepy.O...
28.074074
103
0.718338
196
1,516
5.229592
0.382653
0.101463
0.126829
0.054634
0.115122
0.115122
0.062439
0.062439
0.062439
0
0
0.0392
0.175462
1,516
53
104
28.603774
0.7808
0
0
0
0
0
0.215842
0.112211
0
0
0
0
0
1
0.075
false
0
0.05
0
0.175
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff0d6655608abd51b92ee26a4cf60baaeb0ced3d
4,038
py
Python
booktime/settings.py
adityatelange/django-ebook-audiobook-website
c07647df78b1807d585b3f14678e7726ba89f5c7
[ "MIT" ]
2
2019-09-10T09:42:23.000Z
2019-11-28T08:56:09.000Z
booktime/settings.py
adityatelange/django-ebook-audiobook-website
c07647df78b1807d585b3f14678e7726ba89f5c7
[ "MIT" ]
null
null
null
booktime/settings.py
adityatelange/django-ebook-audiobook-website
c07647df78b1807d585b3f14678e7726ba89f5c7
[ "MIT" ]
null
null
null
""" Django settings for booktime project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
26.92
91
0.687717
449
4,038
6.040089
0.400891
0.071903
0.043879
0.05531
0.196165
0.16556
0.082965
0.072271
0.044248
0
0
0.008969
0.17162
4,038
149
92
27.100671
0.801794
0.228331
0
0.020408
1
0
0.492228
0.381477
0
0
0
0
0
1
0
false
0.061224
0.010204
0
0.010204
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
ff0db082700495307506b5163be178a41cbf3825
83
py
Python
paintbot/__init__.py
MimirHQ/paintbot
486e6a6cf8013adf613f66905f5ed682c05087f9
[ "MIT" ]
1
2018-06-13T18:03:12.000Z
2018-06-13T18:03:12.000Z
paintbot/__init__.py
MimirHQ/paintbot
486e6a6cf8013adf613f66905f5ed682c05087f9
[ "MIT" ]
null
null
null
paintbot/__init__.py
MimirHQ/paintbot
486e6a6cf8013adf613f66905f5ed682c05087f9
[ "MIT" ]
null
null
null
""" paintbot main module """ from paintbot.game import ( # noqa PaintGame )
9.222222
35
0.638554
9
83
5.888889
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.240964
83
8
36
10.375
0.84127
0.313253
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
ff0f2f83aeb478e57ecba0e353fdfa1c90342077
73
py
Python
sonos_pi3_controller/bt_pair_controller/__init__.py
kirkden/sonos_pi3_refresh
cfa997f3a26bd7738eef7b685a9c1e037c53ed7e
[ "MIT" ]
1
2021-03-24T15:14:50.000Z
2021-03-24T15:14:50.000Z
sonos_pi3_controller/bt_pair_controller/__init__.py
kirkden/sonos_pi3_refresh
cfa997f3a26bd7738eef7b685a9c1e037c53ed7e
[ "MIT" ]
null
null
null
sonos_pi3_controller/bt_pair_controller/__init__.py
kirkden/sonos_pi3_refresh
cfa997f3a26bd7738eef7b685a9c1e037c53ed7e
[ "MIT" ]
null
null
null
from .bt_pair_controller import set_bt_pairing, update_bt_device_config
24.333333
71
0.890411
12
73
4.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.082192
73
2
72
36.5
0.865672
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
ff0ff3bb7018607eef270c5c0dfe4b9eddf207b1
6,850
py
Python
crypto.py
souravdas142/LiveChain
f590060e8d77f29694e746459c4e4f780c37295c
[ "MIT" ]
1
2021-05-08T08:12:34.000Z
2021-05-08T08:12:34.000Z
crypto.py
souravdas142/LiveChain
f590060e8d77f29694e746459c4e4f780c37295c
[ "MIT" ]
null
null
null
crypto.py
souravdas142/LiveChain
f590060e8d77f29694e746459c4e4f780c37295c
[ "MIT" ]
1
2021-05-08T08:13:18.000Z
2021-05-08T08:13:18.000Z
import random class crypto: P = 2 ** 256 - 2 ** 32 - 2 ** 9 - 2 ** 8 - 2 ** 7 - 2 ** 6 - 2 ** 4 - 1 # prime number for modulus operations order = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 # order for the elliptic curve y^2=x^3+7 ,used in bitcoin Gx = 550662630222773436695787...
32.464455
164
0.500292
912
6,850
3.638158
0.212719
0.008439
0.0217
0.023508
0.330018
0.312236
0.312236
0.280892
0.280892
0.268837
0
0.105611
0.38073
6,850
210
165
32.619048
0.676568
0.208467
0
0.408805
0
0
0.010251
0
0
0
0.012766
0
0
1
0.075472
false
0
0.006289
0.006289
0.220126
0.044025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff1042f2a23ccb08afabbfa3dbb2d4b96cc2e564
2,062
py
Python
fio.py
fabrickit-fablib/benchmark
48670230ab67192074047dbbc397c2b5e13edcdf
[ "MIT" ]
null
null
null
fio.py
fabrickit-fablib/benchmark
48670230ab67192074047dbbc397c2b5e13edcdf
[ "MIT" ]
null
null
null
fio.py
fabrickit-fablib/benchmark
48670230ab67192074047dbbc397c2b5e13edcdf
[ "MIT" ]
null
null
null
# coding: utf-8 import copy import json from fabkit import * # noqa from fablib.base import SimpleBase class Fio(SimpleBase): def __init__(self): self.data_key = 'sysbench' self.data = { 'mysql': { 'user': 'sysbench', 'password': 'sysbench', ...
28.246575
84
0.461203
206
2,062
4.475728
0.470874
0.032538
0.02603
0.02603
0.052061
0
0
0
0
0
0
0.030685
0.383608
2,062
72
85
28.638889
0.694729
0.008729
0
0.033333
0
0.016667
0.238119
0.012739
0
0
0
0
0
1
0.05
false
0.016667
0.066667
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff11450e5548a704cb271296b84792ba3051678a
5,433
py
Python
knowledgebase/db/mongo.py
linkdd/knowledgebase
89cd5a6802efd1359863f91b742a43684354b8b2
[ "MIT" ]
1
2017-03-20T08:48:33.000Z
2017-03-20T08:48:33.000Z
knowledgebase/db/mongo.py
linkdd/knowledgebase
89cd5a6802efd1359863f91b742a43684354b8b2
[ "MIT" ]
null
null
null
knowledgebase/db/mongo.py
linkdd/knowledgebase
89cd5a6802efd1359863f91b742a43684354b8b2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from knowledgebase.db.base import Vertex as BaseVertex from knowledgebase.db.base import Edge as BaseEdge from knowledgebase.db.base import ElementView as BaseElementView from knowledgebase.db.base import Graph as BaseGraph from bson.objectid import ObjectId from pymongo import MongoClient fro...
27.029851
74
0.561936
653
5,433
4.48392
0.134763
0.079918
0.048839
0.045082
0.684085
0.616803
0.580943
0.571721
0.563525
0.563525
0
0.000267
0.311798
5,433
200
75
27.165
0.78283
0.003865
0
0.510204
0
0
0.028096
0
0
0
0
0
0
1
0.115646
false
0.013605
0.047619
0
0.251701
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff11ad37041d3b4e8d72e395cee185f651939aa0
85
py
Python
setup.py
MrRubyRed/MBRL
fa8e357325611fd8431ce3be5e97592011f010c6
[ "BSD-3-Clause" ]
null
null
null
setup.py
MrRubyRed/MBRL
fa8e357325611fd8431ce3be5e97592011f010c6
[ "BSD-3-Clause" ]
null
null
null
setup.py
MrRubyRed/MBRL
fa8e357325611fd8431ce3be5e97592011f010c6
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup setup(name='mbrl', version='0.1.0', packages=['mbrl'])
21.25
54
0.705882
13
85
4.615385
0.769231
0
0
0
0
0
0
0
0
0
0
0.038961
0.094118
85
3
55
28.333333
0.74026
0
0
0
0
0
0.152941
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
ff13684383add06888abbfe0e42239e9acfeb522
1,591
py
Python
visualization/example_and_references/plot_vector_field.py
Asap7772/railrl_evalsawyer
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
[ "MIT" ]
1
2020-10-23T14:40:09.000Z
2020-10-23T14:40:09.000Z
visualization/example_and_references/plot_vector_field.py
Asap7772/railrl_evalsawyer
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
[ "MIT" ]
null
null
null
visualization/example_and_references/plot_vector_field.py
Asap7772/railrl_evalsawyer
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
[ "MIT" ]
1
2021-05-27T20:38:45.000Z
2021-05-27T20:38:45.000Z
""" Drawing Vector Fields https://stackoverflow.com/questions/25342072/computing-and-drawing-vector-fields Adding colorbar to existing axis https://stackoverflow.com/questions/32462881/add-colorbar-to-existing-axis """ import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.axes_grid1 import make_axes_loc...
25.66129
80
0.670647
267
1,591
3.921348
0.438202
0.007641
0.036294
0.057307
0.061127
0
0
0
0
0
0
0.047337
0.15022
1,591
61
81
26.081967
0.727071
0.27027
0
0
0
0
0.069533
0
0
0
0
0
0
1
0
false
0
0.107143
0
0.107143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff166319d7571cbeff470120486344f6e07be45c
2,809
py
Python
database/user.py
As-12/Fit-App-backend-
d95b07fdb1aed882d01d3a70b4b0f308374bf304
[ "MIT" ]
null
null
null
database/user.py
As-12/Fit-App-backend-
d95b07fdb1aed882d01d3a70b4b0f308374bf304
[ "MIT" ]
null
null
null
database/user.py
As-12/Fit-App-backend-
d95b07fdb1aed882d01d3a70b4b0f308374bf304
[ "MIT" ]
null
null
null
from main import db from dataclasses import dataclass import database @dataclass class User(db.Model): __tablename__ = 'user' id: str = db.Column(db.String, primary_key=True, autoincrement=False) target_weight: float = db.Column(db.Float, nullable=False) height: float = db.Colu...
29.260417
72
0.503382
307
2,809
4.540717
0.29316
0.064562
0.035868
0.027977
0.471306
0.430416
0.406026
0.321377
0.321377
0.296987
0
0.010909
0.412602
2,809
95
73
29.568421
0.833939
0.304735
0
0.425532
0
0
0.076034
0
0
0
0
0
0
1
0.085106
false
0
0.06383
0
0.319149
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff179049d6a93f539ffdb9a3e5f19fac5a840892
2,755
py
Python
AutoFormer/model/module/Linear_super.py
Inch-Z/Cream
5adb978db133842dd44f54614a9303dc5d11aa7d
[ "MIT" ]
307
2020-10-29T13:17:02.000Z
2022-03-30T09:55:49.000Z
AutoFormer/model/module/Linear_super.py
Inch-Z/Cream
5adb978db133842dd44f54614a9303dc5d11aa7d
[ "MIT" ]
42
2020-10-30T07:09:48.000Z
2022-03-29T13:54:56.000Z
AutoFormer/model/module/Linear_super.py
Inch-Z/Cream
5adb978db133842dd44f54614a9303dc5d11aa7d
[ "MIT" ]
64
2020-10-30T10:08:48.000Z
2022-03-30T06:51:01.000Z
import torch import torch.nn as nn import torch.nn.functional as F import numpy as np class LinearSuper(nn.Linear): def __init__(self, super_in_dim, super_out_dim, bias=True, uniform_=None, non_linear='linear', scale=False): super().__init__(super_in_dim, super_out_dim, bias=bias) # super_in_dim a...
33.597561
115
0.676951
381
2,755
4.577428
0.186352
0.058486
0.075688
0.045872
0.239679
0.164564
0.099771
0
0
0
0
0.001885
0.229764
2,755
81
116
34.012346
0.819981
0.043194
0
0.033898
0
0
0.021269
0
0
0
0
0
0.016949
1
0.186441
false
0
0.067797
0
0.40678
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff17afb225298a2ce7876034f454a6c0c4d8cebd
1,251
py
Python
aquascope/util/config.py
MicroscopeIT/aquascope_backend
6b8c13ca3d6bd0a96f750fae809b6cf5a0062f24
[ "MIT" ]
null
null
null
aquascope/util/config.py
MicroscopeIT/aquascope_backend
6b8c13ca3d6bd0a96f750fae809b6cf5a0062f24
[ "MIT" ]
3
2019-04-03T13:22:47.000Z
2019-12-02T15:49:31.000Z
aquascope/util/config.py
MicroscopeIT/aquascope_backend
6b8c13ca3d6bd0a96f750fae809b6cf5a0062f24
[ "MIT" ]
2
2019-05-15T13:30:42.000Z
2020-06-12T02:42:49.000Z
from collections import abc import copy import yaml def data_merge(a, b): if isinstance(a, abc.Mapping): if not isinstance(b, abc.Mapping): raise TypeError('cannot merge {} into a dictionary'.format(b)) a = copy.deepcopy(a) for k in b: try: a[k] = d...
20.508197
74
0.544365
157
1,251
4.191083
0.401274
0.06079
0.030395
0.012158
0
0
0
0
0
0
0
0
0.35012
1,251
60
75
20.85
0.809348
0.046363
0
0.097561
0
0
0.028014
0
0
0
0
0
0
1
0.146341
false
0.02439
0.073171
0.04878
0.414634
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff18f8d189b281647e54313083f71e52b26e849f
5,532
py
Python
oxasl/gui/calib_tab.py
physimals/oxasl
e583103f3313aed2890b60190b6ca7b265a46e3c
[ "Apache-2.0" ]
1
2021-01-27T05:48:20.000Z
2021-01-27T05:48:20.000Z
oxasl/gui/calib_tab.py
ibme-qubic/oxasl
8a0c055752d6e10cd932336ae6916f0c4fc0a2e9
[ "Apache-2.0" ]
13
2019-01-14T13:22:00.000Z
2020-09-12T20:34:20.000Z
oxasl/gui/calib_tab.py
physimals/oxasl
e583103f3313aed2890b60190b6ca7b265a46e3c
[ "Apache-2.0" ]
3
2019-03-19T15:46:48.000Z
2020-03-13T16:55:48.000Z
""" oxasl.gui.calibration_tab.py Copyright (c) 2019 University of Oxford """ from oxasl.gui.widgets import TabPage class AslCalibration(TabPage): """ Tab page containing options for calibration """ def __init__(self, parent, idx, n): TabPage.__init__(self, parent, "Calibration", idx, n) ...
41.283582
124
0.625271
688
5,532
4.797965
0.19186
0.065738
0.074826
0.073311
0.401999
0.25053
0.195092
0.101787
0.044229
0.044229
0
0.019961
0.257411
5,532
133
125
41.593985
0.783593
0.078091
0
0.089888
0
0
0.074007
0
0
0
0
0
0
1
0.089888
false
0
0.011236
0
0.157303
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff1965ee1d197cb5fef833ce6f16c3119dfdad66
295
py
Python
annodomini/__init__.py
TheDubliner/RedArmy-Cogs
f0ae7ab554e176254a91e322e0cf349b69971e98
[ "MIT" ]
null
null
null
annodomini/__init__.py
TheDubliner/RedArmy-Cogs
f0ae7ab554e176254a91e322e0cf349b69971e98
[ "MIT" ]
5
2020-05-16T12:21:26.000Z
2020-06-01T11:26:50.000Z
annodomini/__init__.py
TheDubliner/RedArmy-Cogs
f0ae7ab554e176254a91e322e0cf349b69971e98
[ "MIT" ]
null
null
null
from .annodomini import AnnoDomini __red_end_user_data_statement__ = ( "This cog stores data attached to a user ID for the purpose of running " " the game and saving statistics.\n" "This cog supports data removal requests." ) def setup(bot): bot.add_cog(AnnoDomini(bot))
22.692308
76
0.718644
43
295
4.72093
0.744186
0.068966
0
0
0
0
0
0
0
0
0
0
0.210169
295
12
77
24.583333
0.871245
0
0
0
0
0
0.488136
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff19d763570001bb5b3069ee03ffa76d0400a9d7
1,303
py
Python
3. Linear Regresion/3-6)Mini Batch and Data Load.py
choijiwoong/-ROKA-torch-tutorial-files
c298fdf911cd64757895c3ab9f71ae7c3467c545
[ "Unlicense" ]
null
null
null
3. Linear Regresion/3-6)Mini Batch and Data Load.py
choijiwoong/-ROKA-torch-tutorial-files
c298fdf911cd64757895c3ab9f71ae7c3467c545
[ "Unlicense" ]
null
null
null
3. Linear Regresion/3-6)Mini Batch and Data Load.py
choijiwoong/-ROKA-torch-tutorial-files
c298fdf911cd64757895c3ab9f71ae7c3467c545
[ "Unlicense" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F from torch.utils.data import TensorDataset from torch.utils.data import DataLoader x_train=torch.FloatTensor([[73,80,75], [93,88,93], [89,91,90], [96,98,100], ...
30.302326
89
0.623945
180
1,303
4.4
0.488889
0.030303
0.022727
0.045455
0.136364
0
0
0
0
0
0
0.069417
0.237145
1,303
42
90
31.02381
0.727364
0.092863
0
0
0
0
0.068761
0
0
0
0
0
0
1
0
false
0
0.16129
0
0.16129
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ff1ad4b17580fbaf7e85b4376dc04a3da6a40153
42
py
Python
src/dcos_e2e_cli/dcos_docker/commands/__init__.py
jongiddy/dcos-e2e
b52ef9a1097a8fb328902064345cc6c8b0bf5779
[ "Apache-2.0" ]
63
2018-05-17T21:02:14.000Z
2021-11-15T19:18:03.000Z
src/dcos_e2e_cli/dcos_docker/commands/__init__.py
jongiddy/dcos-e2e
b52ef9a1097a8fb328902064345cc6c8b0bf5779
[ "Apache-2.0" ]
225
2017-09-08T02:24:58.000Z
2018-05-16T12:18:58.000Z
src/dcos_e2e_cli/dcos_docker/commands/__init__.py
jongiddy/dcos-e2e
b52ef9a1097a8fb328902064345cc6c8b0bf5779
[ "Apache-2.0" ]
21
2018-06-14T21:58:24.000Z
2021-11-15T19:18:06.000Z
""" Commands for ``minidcos docker``. """
10.5
33
0.595238
4
42
6.25
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
42
3
34
14
0.694444
0.785714
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
205b8088479920dca866cedf75f6b27d51ad46f9
200
py
Python
halo_bian/bian/plugins/halo_bian_err_plugin.py
halo-framework/halo-bian
38fe577bf3e5e0fe57f5e3eb5809d609e3f880ac
[ "MIT" ]
null
null
null
halo_bian/bian/plugins/halo_bian_err_plugin.py
halo-framework/halo-bian
38fe577bf3e5e0fe57f5e3eb5809d609e3f880ac
[ "MIT" ]
null
null
null
halo_bian/bian/plugins/halo_bian_err_plugin.py
halo-framework/halo-bian
38fe577bf3e5e0fe57f5e3eb5809d609e3f880ac
[ "MIT" ]
null
null
null
class BianPlugin(): def ready(self): return True def run(self,core,*params): err = "from halo_bian.bian.mixin_err_msg import ErrorMessages\n\n" return {"err":err}
16.666667
74
0.615
27
200
4.444444
0.703704
0
0
0
0
0
0
0
0
0
0
0
0.265
200
11
75
18.181818
0.816327
0
0
0
0
0
0.309645
0.142132
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
205bed737ae851cb6d34930622f0a31f72e6dab8
6,792
py
Python
s3scan.py
abhn/Public-AWS-S3-Finder
8a1d2d0c2d78fa1a2ca0ae47c0fcf25a640cd28d
[ "MIT" ]
21
2017-05-27T07:44:45.000Z
2022-02-16T14:11:46.000Z
s3scan.py
abhn/Public-AWS-S3-Finder
8a1d2d0c2d78fa1a2ca0ae47c0fcf25a640cd28d
[ "MIT" ]
null
null
null
s3scan.py
abhn/Public-AWS-S3-Finder
8a1d2d0c2d78fa1a2ca0ae47c0fcf25a640cd28d
[ "MIT" ]
13
2017-06-17T05:22:26.000Z
2020-10-18T09:36:00.000Z
import re import sys, os import httplib2 import boto3, botocore from BeautifulSoup import BeautifulSoup, SoupStrainer from optparse import OptionParser from botocore.client import Config # Saving myself from passing around these variables # Sorry! globalBaseUrl = "" globalLinkList = [] s3 = None # https://stackover...
26.740157
102
0.665342
892
6,792
5.005605
0.343049
0.022172
0.03449
0.055991
0.172452
0.128779
0.074132
0.04972
0.04972
0.030011
0
0.020106
0.194494
6,792
253
103
26.84585
0.796015
0.136337
0
0.138365
0
0.012579
0.192764
0.02156
0
0
0
0.003953
0
0
null
null
0.006289
0.044025
null
null
0.144654
0
0
0
null
0
0
0
0
0
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
205d500564f612d825bf5416f85d96a0ea9a3138
441
py
Python
plants/migrations/0013_plant_access_type.py
spalk/Plant-Passport-gitpod
7b80d84a3c01b08cc1f8cace7cd9fb377605eec8
[ "MIT" ]
null
null
null
plants/migrations/0013_plant_access_type.py
spalk/Plant-Passport-gitpod
7b80d84a3c01b08cc1f8cace7cd9fb377605eec8
[ "MIT" ]
21
2021-08-30T14:52:33.000Z
2022-02-08T14:24:21.000Z
plants/migrations/0013_plant_access_type.py
spalk/Plant-Passport-gitpod
7b80d84a3c01b08cc1f8cace7cd9fb377605eec8
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-17 14:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('plants', '0012_alter_photo_user'), ] operations = [ migrations.AddField( model_name='plant', name='access_type', ...
23.210526
106
0.587302
49
441
5.183673
0.836735
0
0
0
0
0
0
0
0
0
0
0.070988
0.265306
441
18
107
24.5
0.712963
0.102041
0
0
1
0
0.159898
0.053299
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
205f2e686753d8740c59888037ef43abf26bbe29
16,346
py
Python
src/services/pokemonirc/game_output.py
Telsanyr/Johnny_VI
db9f54457c33b1f70616671611e6bc4fc4c44d1b
[ "WTFPL" ]
6
2018-08-07T14:57:58.000Z
2020-02-13T18:43:49.000Z
src/services/pokemonirc/game_output.py
Telsanyr/Johnny_VI
db9f54457c33b1f70616671611e6bc4fc4c44d1b
[ "WTFPL" ]
2
2018-08-08T12:12:28.000Z
2018-08-23T12:46:25.000Z
src/services/pokemonirc/game_output.py
Telsanyr/Johnny_VI
db9f54457c33b1f70616671611e6bc4fc4c44d1b
[ "WTFPL" ]
1
2018-08-07T14:51:15.000Z
2018-08-07T14:51:15.000Z
#!/usr/bin/env python # -*- coding: utf8 -*- # coding: utf8 # Libs imports import os import json import time from datetime import datetime # Rule #1: Always print arguments with str() function # Rule #2: In order to avoid useless ping, add '_' before any player username if the command can be triggered by someone else...
58.378571
229
0.587789
1,964
16,346
4.776477
0.228106
0.040081
0.055005
0.022386
0.354013
0.272572
0.217781
0.181964
0.155527
0.114593
0
0.004168
0.236816
16,346
279
230
58.587814
0.747816
0.141686
0
0.114583
0
0.020833
0.237996
0
0
0
0
0
0
1
0.21875
false
0
0.020833
0
0.25
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