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
4d2d2acea9bb79c046b8abea693dc31ff18efd72
143
py
Python
submissions/abc035/a.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
1
2021-05-10T01:16:28.000Z
2021-05-10T01:16:28.000Z
submissions/abc035/a.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
3
2021-05-11T06:14:15.000Z
2021-06-19T08:18:36.000Z
submissions/abc035/a.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
null
null
null
import sys input = sys.stdin.readline w, h = map(int, input().split()) if w / h == 4 / 3: ans = '4:3' else: ans = '16:9' print(ans)
11.916667
32
0.538462
26
143
2.961538
0.692308
0.051948
0
0
0
0
0
0
0
0
0
0.066038
0.258741
143
11
33
13
0.660377
0
0
0
0
0
0.048951
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
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
4d2da9056c6d973976290183ad18c7e824e87fbe
1,029
py
Python
setup.py
JosiahBradley/mod2win
f3636faea8cce041be2d9933574aa1ccd4b818ac
[ "Apache-2.0" ]
null
null
null
setup.py
JosiahBradley/mod2win
f3636faea8cce041be2d9933574aa1ccd4b818ac
[ "Apache-2.0" ]
null
null
null
setup.py
JosiahBradley/mod2win
f3636faea8cce041be2d9933574aa1ccd4b818ac
[ "Apache-2.0" ]
null
null
null
import setuptools long_description = "" with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( author='Josiah Bradley', author_email='JosiahBradley@gmail.com', name="mod2win", url="https://github.com/JosiahBradley/mod2win", version="0.0.1", entry_points={ ...
31.181818
63
0.640428
107
1,029
5.971963
0.635514
0.117371
0.112676
0.162754
0
0
0
0
0
0
0
0.01375
0.222546
1,029
32
64
32.15625
0.785
0
0
0
0
0
0.450923
0.194363
0
0
0
0
0
1
0
false
0
0.033333
0
0.033333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4d391ca815462113e85dde20f4caa4e28b604358
300
py
Python
HACKERRANK_Numpy/concatenated.py
StefaniaSferragatta/ADM2020-HW1
8f85ac1c8dd4bff52c5c17987c9e96b209a93830
[ "MIT" ]
null
null
null
HACKERRANK_Numpy/concatenated.py
StefaniaSferragatta/ADM2020-HW1
8f85ac1c8dd4bff52c5c17987c9e96b209a93830
[ "MIT" ]
null
null
null
HACKERRANK_Numpy/concatenated.py
StefaniaSferragatta/ADM2020-HW1
8f85ac1c8dd4bff52c5c17987c9e96b209a93830
[ "MIT" ]
null
null
null
import numpy N,M,P = map(int,input().split()) p_cols1 =numpy.array([input().split() for _ in range(N)],int) p_cols1.shape = (N,P) p_cols2 =numpy.array([input().split() for _ in range(M)],int) p_cols2.shape = (M,P) concatenated = numpy.concatenate((p_cols1, p_cols2), axis = 0) print(concatenated)
25
62
0.686667
52
300
3.807692
0.403846
0.151515
0.151515
0.20202
0.30303
0.30303
0.30303
0
0
0
0
0.026316
0.113333
300
11
63
27.272727
0.718045
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
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
4d3ee1ccb8692f8cfb3b7d31686fa015b7d46982
5,470
py
Python
bin/lineage_parser.py
brianlee99/UVP
5b7ff26c09d84760d4220268f34fb4814848eb4a
[ "MIT" ]
null
null
null
bin/lineage_parser.py
brianlee99/UVP
5b7ff26c09d84760d4220268f34fb4814848eb4a
[ "MIT" ]
null
null
null
bin/lineage_parser.py
brianlee99/UVP
5b7ff26c09d84760d4220268f34fb4814848eb4a
[ "MIT" ]
null
null
null
#! /usr/bin/python import sys """ This script accepts the final annotation file and the lineage marker SNPs file """ """ and infers the lineage and possible sublineage classification of the isolate """ """ it requires a sample ID name (string) and an output file name(string) """ """ Author: Matthew Ezewudo CPTR ReS...
36.466667
131
0.518464
657
5,470
4.283105
0.207002
0.039801
0.034826
0.037313
0.383795
0.312367
0.304549
0.28678
0.195451
0.174129
0
0.047786
0.322852
5,470
149
132
36.711409
0.711933
0.003108
0
0.290076
0
0
0.15847
0
0
0
0
0
0
0
null
null
0
0.007634
null
null
0.206107
0
0
0
null
0
0
0
0
0
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
4d40d6894572ebb56bff51cbd51d17f087ba2234
2,454
py
Python
ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/YARN/package/scripts/resourcemanager.py
panfeiyy/ambari
24077510723ede93d3024784f0b04422adaf56d6
[ "Apache-2.0" ]
16
2018-05-24T10:28:24.000Z
2021-08-05T03:13:26.000Z
ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/YARN/package/scripts/resourcemanager.py
panfeiyy/ambari
24077510723ede93d3024784f0b04422adaf56d6
[ "Apache-2.0" ]
3
2021-05-09T12:37:16.000Z
2022-03-02T10:13:24.000Z
ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/YARN/package/scripts/resourcemanager.py
panfeiyy/ambari
24077510723ede93d3024784f0b04422adaf56d6
[ "Apache-2.0" ]
17
2018-07-06T08:57:00.000Z
2021-11-04T11:00:36.000Z
""" Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this ...
24.058824
94
0.711899
323
2,454
5.247678
0.408669
0.028909
0.046018
0.056047
0.130973
0.130973
0.130973
0.087316
0
0
0
0.002583
0.211084
2,454
101
95
24.29703
0.872934
0.319071
0
0.327586
0
0
0.105897
0.012635
0
0
0
0
0
1
0.12069
false
0.051724
0.172414
0
0.310345
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
4d4d0ea614818e4dfdde9e585c36b4fdaeb09ea4
4,720
py
Python
catalogue_flask/model.py
ScottWales/catalogue-flask
4a9e659875fee6e831e6c31018c9f9d7285dc845
[ "Apache-2.0" ]
null
null
null
catalogue_flask/model.py
ScottWales/catalogue-flask
4a9e659875fee6e831e6c31018c9f9d7285dc845
[ "Apache-2.0" ]
null
null
null
catalogue_flask/model.py
ScottWales/catalogue-flask
4a9e659875fee6e831e6c31018c9f9d7285dc845
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright 2017 ARC Centre of Excellence for Climate Systems Science # author: Scott Wales <scott.wales@unimelb.edu.au> # # 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...
31.052632
98
0.661441
623
4,720
4.919743
0.304976
0.060033
0.068516
0.061011
0.220881
0.169005
0.134421
0.115824
0.026101
0
0
0.009101
0.23178
4,720
151
99
31.258278
0.836183
0.297034
0
0.189189
0
0
0.084821
0.00861
0
0
0
0
0
1
0.027027
false
0
0.054054
0
0.554054
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
1
0
0
1
4d52bec8cefe73d9a93266481e15f6cb3b5e3a2d
416
py
Python
preprocess/rename.py
pprp/faster-rcnn.Supernova
583bc9f6efd80d5a7fa88189a1c817d92d6018a6
[ "MIT" ]
15
2019-04-19T12:40:09.000Z
2020-06-03T07:56:37.000Z
preprocess/rename.py
Zxl19990529/faster-rcnn.Supernova
583bc9f6efd80d5a7fa88189a1c817d92d6018a6
[ "MIT" ]
2
2019-04-19T13:21:44.000Z
2020-06-03T07:49:31.000Z
preprocess/rename.py
Zxl19990529/faster-rcnn.Supernova
583bc9f6efd80d5a7fa88189a1c817d92d6018a6
[ "MIT" ]
5
2019-04-19T13:06:22.000Z
2021-01-19T03:31:58.000Z
import os import shutil path = './ALL/' outpath = "./rename/" outb = "./b/" outc = "./c/" for f in os.listdir(path): print(f) name,ext = os.path.splitext(f) a,ext2 = name.split('_') if ext2.endswith('b'): print(outb+f) shutil.copy(path+f,outb+f) elif ext2.endswith('c'): prin...
21.894737
38
0.567308
65
416
3.615385
0.4
0.12766
0.178723
0.191489
0.13617
0
0
0
0
0
0
0.009404
0.233173
416
19
38
21.894737
0.727273
0.079327
0
0
0
0
0.067885
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0.235294
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
4d54e80804f63b1496a93c52549fb653034591c2
3,720
py
Python
ui/main_window.py
Iorveth/min_surfaces_modelling
279a091e12f98c0a7fc8054c6eadaafaec5a1258
[ "MIT" ]
null
null
null
ui/main_window.py
Iorveth/min_surfaces_modelling
279a091e12f98c0a7fc8054c6eadaafaec5a1258
[ "MIT" ]
null
null
null
ui/main_window.py
Iorveth/min_surfaces_modelling
279a091e12f98c0a7fc8054c6eadaafaec5a1258
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'untitled.ui' # # Created by: PyQt5 UI code generator 5.12.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWi...
50.958904
190
0.706452
411
3,720
6.29927
0.296837
0.10815
0.073001
0.071456
0.23484
0.189649
0.040942
0.040942
0.040942
0.040942
0
0.044853
0.166935
3,720
72
191
51.666667
0.790578
0.048925
0
0
1
0
0.151601
0.044205
0
0
0
0
0
1
0.035088
false
0
0.017544
0
0.070175
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
4d77116fa77002bdedc5a81cb80ae1a9e3ac2069
19,585
py
Python
lib/python3.8/site-packages/ansible_collections/community/azure/plugins/modules/azure_rm_cosmosdbaccount_info.py
cjsteel/python3-venv-ansible-2.10.5
c95395c4cae844dc66fddde9b4343966f4b2ecd5
[ "Apache-1.1" ]
null
null
null
lib/python3.8/site-packages/ansible_collections/community/azure/plugins/modules/azure_rm_cosmosdbaccount_info.py
cjsteel/python3-venv-ansible-2.10.5
c95395c4cae844dc66fddde9b4343966f4b2ecd5
[ "Apache-1.1" ]
null
null
null
lib/python3.8/site-packages/ansible_collections/community/azure/plugins/modules/azure_rm_cosmosdbaccount_info.py
cjsteel/python3-venv-ansible-2.10.5
c95395c4cae844dc66fddde9b4343966f4b2ecd5
[ "Apache-1.1" ]
null
null
null
#!/usr/bin/python # # Copyright (c) 2019 Zim Kalinowski, (@zikalino) # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
37.591171
150
0.531223
1,677
19,585
6.000596
0.172332
0.054258
0.066183
0.041737
0.488324
0.434264
0.393223
0.359038
0.344828
0.320382
0
0.00924
0.397702
19,585
520
151
37.663462
0.843845
0.01348
0
0.562105
0
0.006316
0.671724
0.092787
0
0
0
0
0
1
0.014737
false
0.002105
0.014737
0
0.042105
0.002105
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4d8114110ca0855b70f6d4767fc2d9b841ade8dd
454
py
Python
bin/run_server.py
syedwaseemjan/EXIFExtractor
97da85c0552bb0a616f04bab1bc0785ae8b35fb6
[ "MIT" ]
null
null
null
bin/run_server.py
syedwaseemjan/EXIFExtractor
97da85c0552bb0a616f04bab1bc0785ae8b35fb6
[ "MIT" ]
null
null
null
bin/run_server.py
syedwaseemjan/EXIFExtractor
97da85c0552bb0a616f04bab1bc0785ae8b35fb6
[ "MIT" ]
null
null
null
#! /usr/bin/env python from __future__ import absolute_import import os import sys PROJECT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) sys.path.append(PROJECT_DIR) sys.path.append(os.path.abspath(os.path.join(PROJECT_DIR, "app"))) if __name__ == "__main__": from app.main import Mai...
23.894737
81
0.722467
73
454
4.123288
0.424658
0.099668
0.129568
0.099668
0.152824
0.152824
0
0
0
0
0
0.005155
0.145374
454
18
82
25.222222
0.770619
0.046256
0
0
0
0
0.025463
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4d8333c69b2cee30bebf3bc76fe51963641f9990
7,500
py
Python
slicer/bin/Python/tpycl/tpycl.py
pabloduque0/WMH_AttGatedUnet_CustomLoss
3503b40c031494ca866dced1421d95f7b2e311fe
[ "MIT" ]
null
null
null
slicer/bin/Python/tpycl/tpycl.py
pabloduque0/WMH_AttGatedUnet_CustomLoss
3503b40c031494ca866dced1421d95f7b2e311fe
[ "MIT" ]
null
null
null
slicer/bin/Python/tpycl/tpycl.py
pabloduque0/WMH_AttGatedUnet_CustomLoss
3503b40c031494ca866dced1421d95f7b2e311fe
[ "MIT" ]
null
null
null
#!/usr/bin/env python # # tpycl.py is the python support code to allow calling of python-wrapped # vtk code from tcl scripts # # the main class is tpycl, and scripts can # import sys import os import Tkinter from __main__ import slicer import qt class tpycl(object): def __init__(self): self.verbose = False ...
29.761905
124
0.6212
990
7,500
4.626263
0.275758
0.033624
0.031223
0.033624
0.107424
0.080349
0.068122
0.068122
0.068122
0.068122
0
0.005
0.253333
7,500
251
125
29.880478
0.812857
0.094933
0
0.203593
0
0
0.170053
0.018182
0
0
0
0
0
0
null
null
0.011976
0.05988
null
null
0.161677
0
0
0
null
0
0
0
0
0
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
4d895a735abdd884483a6e9345d2c27f5444c080
1,469
py
Python
change_mac_ip.py
Anon123-tech/WiFi_Pentest_Guide
969c5018645bc22fce663c42d709320eece1837a
[ "MIT" ]
null
null
null
change_mac_ip.py
Anon123-tech/WiFi_Pentest_Guide
969c5018645bc22fce663c42d709320eece1837a
[ "MIT" ]
1
2021-10-01T04:19:27.000Z
2021-10-01T04:19:27.000Z
change_mac_ip.py
Anon123-tech/WiFi_Pentest_Guide
969c5018645bc22fce663c42d709320eece1837a
[ "MIT" ]
null
null
null
import sys,os import argparse as arg import nmap import urllib2 parser = arg.ArgumentParser() parser.add_argument("-a", "--address", help="IP address", required=True) parser.add_argument("-i", "--interface", help="Interface", required=True) argument = parser.parse_args() def scan_(ip): dict_ = [] scan = nmap.PortS...
27.716981
89
0.645337
239
1,469
3.903766
0.393305
0.060021
0.042872
0.045016
0.125402
0.107181
0.060021
0.060021
0.060021
0.060021
0
0.026527
0.153165
1,469
52
90
28.25
0.723473
0
0
0.046512
0
0
0.212389
0
0
0
0
0
0
0
null
null
0
0.093023
null
null
0.069767
0
0
0
null
0
0
0
0
0
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
4d8d2dfaa3afe8aa6965d0899dc098740dc88c7a
3,330
py
Python
test/test_timematcher.py
magus0219/clockwork
78c08afdd14f226d7f5c13af633d41a2185ebb7f
[ "MIT" ]
null
null
null
test/test_timematcher.py
magus0219/clockwork
78c08afdd14f226d7f5c13af633d41a2185ebb7f
[ "MIT" ]
null
null
null
test/test_timematcher.py
magus0219/clockwork
78c08afdd14f226d7f5c13af633d41a2185ebb7f
[ "MIT" ]
null
null
null
''' Created on Feb 17, 2014 @author: magus0219 ''' import unittest,datetime from util.dateutil import DateUtil from core.timematcher import TimeMatcher from core.timepattern import TimePattern class TimeMatcherTest(unittest.TestCase): @unittest.expectedFailure def testUnvaidValueNotInt(self): TimeMat...
47.571429
102
0.562162
282
3,330
6.609929
0.205674
0.136803
0.132511
0.209227
0.590129
0.449034
0.371245
0.371245
0.35515
0.35515
0
0.080645
0.311111
3,330
69
103
48.26087
0.731909
0.028529
0
0.28
0
0
0.094515
0
0
0
0
0
0.34
1
0.14
false
0
0.08
0
0.24
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4d8dccb89c879711e7ed922439a880fb09054040
276
py
Python
pets/api/urls.py
tekodan/DaleLaPata
7a998f617d88c3f71fe5da896f2197fc0043a731
[ "MIT" ]
1
2019-05-06T18:44:43.000Z
2019-05-06T18:44:43.000Z
pets/api/urls.py
tekodan/DaleLaPata
7a998f617d88c3f71fe5da896f2197fc0043a731
[ "MIT" ]
10
2021-03-18T21:20:55.000Z
2022-03-11T23:33:03.000Z
pets/api/urls.py
koyoo-maxwel/findyourpet
ae5978f9ddd9e116d332734d2a45c76d7c6ac1f6
[ "MIT" ]
null
null
null
from django.conf.urls import url from api import views urlpatterns = [ url(r'^pets/$', views.ListPets.as_view(), name='list_pets'), url(r'^cities/$', views.CityList.as_view(), name='city-list'), url(r'^states/$', views.StateList.as_view(), name='state-list'), ]
27.6
68
0.663043
41
276
4.365854
0.536585
0.067039
0.167598
0
0
0
0
0
0
0
0
0
0.126812
276
9
69
30.666667
0.742739
0
0
0
0
0
0.192029
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4d93299efc0720f63f6f0dc30928e10e3a67f707
830
py
Python
examples/reactjs-nodejs/deploy.py
py-mina-deploy/py-mina
029bbe6f183afece1ccc2e2d3d11873c5560e8f4
[ "MIT" ]
7
2017-09-21T17:00:59.000Z
2021-06-18T06:03:19.000Z
examples/reactjs-nodejs/deploy.py
py-mina-deploy/py-mina
029bbe6f183afece1ccc2e2d3d11873c5560e8f4
[ "MIT" ]
null
null
null
examples/reactjs-nodejs/deploy.py
py-mina-deploy/py-mina
029bbe6f183afece1ccc2e2d3d11873c5560e8f4
[ "MIT" ]
2
2018-03-20T07:51:37.000Z
2020-05-03T14:30:55.000Z
""" Deploy NodeJs application https://github.com/react-boilerplate/react-boilerplate """ from py_mina import * from py_mina.subtasks import git_clone, create_shared_paths, link_shared_paths, rollback_release # Settings - shared set('verbose', True) set('shared_dirs', ['node_modules', 'tmp']) set('shared_files', ...
13.606557
96
0.708434
110
830
5.145455
0.518182
0.077739
0.074205
0.074205
0
0
0
0
0
0
0
0
0.156627
830
60
97
13.833333
0.808571
0.315663
0
0.1
0
0
0.203065
0
0
0
0
0
0
1
0.2
true
0
0.1
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
4da3d5ac7b735f55566862fbadcd345f662d67b0
1,162
py
Python
settings_template.py
Pierre-Thibault/memberCardGenerator
e05b421d3f50453d3603fd5513383e77378e9ccb
[ "MIT" ]
2
2017-09-29T17:06:19.000Z
2021-05-10T22:30:50.000Z
settings_template.py
Pierre-Thibault/memberCardGenerator
e05b421d3f50453d3603fd5513383e77378e9ccb
[ "MIT" ]
1
2021-09-07T23:43:40.000Z
2021-09-07T23:43:40.000Z
settings_template.py
Pierre-Thibault/memberCardGenerator
e05b421d3f50453d3603fd5513383e77378e9ccb
[ "MIT" ]
1
2022-01-10T13:42:54.000Z
2022-01-10T13:42:54.000Z
# -*- coding: utf-8 -*- # Copy this file and renamed it settings.py and change the values for your own project # The csv file containing the information about the member. # There is three columns: The name, the email and the member type: 0 regular, 1 life time CSV_FILE = "path to csv file" # The svg file for regular...
36.3125
117
0.766781
193
1,162
4.502591
0.476684
0.032221
0.023015
0
0
0
0
0
0
0
0
0.007216
0.165232
1,162
31
118
37.483871
0.88866
0.55852
0
0
0
0
0.530938
0.141717
0
0
0
0
0
1
0
false
0.083333
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4da9f7a9d46841bf7af0a4af66fd041f70367d1f
575
py
Python
accounting_tech/migrations/0018_auto_20190403_1456.py
Tim-Ilin/asup_corp_site
02a9573f2490ef8f31b3ba95bc351c2458d049e5
[ "MIT" ]
null
null
null
accounting_tech/migrations/0018_auto_20190403_1456.py
Tim-Ilin/asup_corp_site
02a9573f2490ef8f31b3ba95bc351c2458d049e5
[ "MIT" ]
8
2021-03-19T11:12:07.000Z
2022-03-12T00:32:27.000Z
accounting_tech/migrations/0018_auto_20190403_1456.py
Tim-Ilin/asup_corp_site
02a9573f2490ef8f31b3ba95bc351c2458d049e5
[ "MIT" ]
null
null
null
# Generated by Django 2.1.7 on 2019-04-03 11:56 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('accounting_tech', '0017_auto_20190403_1434'), ] operations = [ migrations.AlterField( model_nam...
28.75
177
0.678261
70
575
5.4
0.671429
0.063492
0.074074
0.116402
0
0
0
0
0
0
0
0.067834
0.205217
575
19
178
30.263158
0.754923
0.078261
0
0
1
0
0.221591
0.090909
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4dac488dd2d30d64a8f251641aa08b45ff93ef4d
500
py
Python
tests/bgzip_test.py
Swiffers/puretabix
5f0895c9b17560e76dd962a20844fffb565a4aed
[ "MIT" ]
1
2021-07-07T00:18:47.000Z
2021-07-07T00:18:47.000Z
tests/bgzip_test.py
Swiffers/puretabix
5f0895c9b17560e76dd962a20844fffb565a4aed
[ "MIT" ]
null
null
null
tests/bgzip_test.py
Swiffers/puretabix
5f0895c9b17560e76dd962a20844fffb565a4aed
[ "MIT" ]
null
null
null
from puretabix import get_bgzip_lines_parallel class TestBlockGZip: def test_get_lines(self, vcf_filename, vcf_gz): lines = tuple(sorted(map(bytes.decode, vcf_gz.readlines()))) lines_parsed = tuple(sorted(get_bgzip_lines_parallel(vcf_filename))) for line_in, line_out in zip(lines, lines_p...
35.714286
76
0.676
71
500
4.394366
0.43662
0.115385
0.160256
0.166667
0.147436
0.147436
0.147436
0
0
0
0
0
0.232
500
13
77
38.461538
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.1
1
0.1
false
0
0.1
0
0.3
0.1
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
4dae657468dbf8a1f6bf472d8e316e6a356158ca
887
py
Python
setup.py
Eawag-SWW/datapool_client
a43c38f0f858a687d6354ef4d857beee59882c8a
[ "MIT" ]
null
null
null
setup.py
Eawag-SWW/datapool_client
a43c38f0f858a687d6354ef4d857beee59882c8a
[ "MIT" ]
null
null
null
setup.py
Eawag-SWW/datapool_client
a43c38f0f858a687d6354ef4d857beee59882c8a
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup( name="datapool_client", version="1.0", description="Designed to access the datapool software developed by ETH Zurich - SIS and Eawag. " "Find out more under https://datapool.readthedocs.io/en/latest/.", author="Christian Foerster", ...
28.612903
100
0.611048
89
887
6
0.820225
0.044944
0
0
0
0
0
0
0
0
0
0.012195
0.260428
887
30
101
29.566667
0.801829
0
0
0.068966
0
0
0.492672
0.03044
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
1
4db107eb3d9119fdeaf236399451aa583978436f
5,219
py
Python
home/pi/blissflixx/lib/chanutils/chanutils.py
erick-guerra/Royalbox
967dbbdddc94b9968e6eba873f0d20328fd86f66
[ "MIT" ]
1
2022-01-29T11:17:58.000Z
2022-01-29T11:17:58.000Z
home/pi/blissflixx/lib/chanutils/chanutils.py
erick-guerra/Royalbox
967dbbdddc94b9968e6eba873f0d20328fd86f66
[ "MIT" ]
null
null
null
home/pi/blissflixx/lib/chanutils/chanutils.py
erick-guerra/Royalbox
967dbbdddc94b9968e6eba873f0d20328fd86f66
[ "MIT" ]
null
null
null
import requests, lxml.html, re import htmlentitydefs, urllib, random from lxml.cssselect import CSSSelector from StringIO import StringIO import cherrypy import requests from cachecontrol import CacheControl _PROXY_LIST = None _HEADERS = { 'accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*...
27.613757
153
0.637095
779
5,219
4.175867
0.267009
0.043037
0.018445
0.022133
0.344912
0.286197
0.258531
0.245619
0.169075
0.142638
0
0.030274
0.196206
5,219
188
154
27.760638
0.745173
0.054225
0
0.309677
0
0.019355
0.124772
0.038953
0
0
0
0
0
0
null
null
0.012903
0.045161
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
4db11a5afb53d4558aa8f33a19f180a1ecbc8f9d
5,672
py
Python
test/07-text-custom-field-list-test.py
hklarner/couchdb-mango
e519f224423ca4696a61d0065530103dd8c6651b
[ "Apache-2.0" ]
39
2015-02-04T09:48:20.000Z
2021-11-09T22:07:45.000Z
test/07-text-custom-field-list-test.py
hklarner/couchdb-mango
e519f224423ca4696a61d0065530103dd8c6651b
[ "Apache-2.0" ]
37
2015-02-24T17:59:26.000Z
2021-05-25T12:20:54.000Z
test/07-text-custom-field-list-test.py
hklarner/couchdb-mango
e519f224423ca4696a61d0065530103dd8c6651b
[ "Apache-2.0" ]
21
2015-04-26T05:53:44.000Z
2021-11-09T22:06:58.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the ...
35.672956
79
0.571403
723
5,672
4.42462
0.279391
0.039387
0.065646
0.070022
0.36105
0.338543
0.298843
0.238512
0.183495
0.155986
0
0.016381
0.278914
5,672
158
80
35.898734
0.76577
0.255465
0
0.346154
0
0
0.193179
0.005485
0
0
0
0
0.288462
0
null
null
0
0.019231
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
4db8e935817372c07e59b82af45086b871e6303e
579
py
Python
broadcast.py
InukaRanmira/Image-to-pdf
44f7e33b13aba44c03c3ec5c7e4efe4efe0b1911
[ "MIT" ]
1
2021-12-24T18:11:49.000Z
2021-12-24T18:11:49.000Z
broadcast.py
InukaRanmira/Image-to-pdf
44f7e33b13aba44c03c3ec5c7e4efe4efe0b1911
[ "MIT" ]
null
null
null
broadcast.py
InukaRanmira/Image-to-pdf
44f7e33b13aba44c03c3ec5c7e4efe4efe0b1911
[ "MIT" ]
null
null
null
from pyrogram import Client ,filters import os from helper.database import getid ADMIN = int(os.environ.get("ADMIN", 1696230986)) @Client.on_message(filters.private & filters.user(ADMIN) & filters.command(["broadcast"])) async def broadcast(bot, message): if (message.reply_to_message): ms = await message.reply_te...
30.473684
90
0.690846
81
579
4.864198
0.580247
0.091371
0.071066
0.106599
0
0
0
0
0
0
0
0.020877
0.172712
579
18
91
32.166667
0.80167
0
0
0
0
0
0.19171
0
0
0
0
0
0
1
0
false
0.0625
0.1875
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4dc54e3f4ce59c3a9f8980ef33d1443e375f1870
905
py
Python
cayennelpp/tests/test_lpp_type_humidity.py
smlng/pycayennelpp
28f2ba4fba602527d3369c9cfbce16b783916933
[ "MIT" ]
16
2019-02-18T10:57:51.000Z
2022-03-29T01:54:51.000Z
cayennelpp/tests/test_lpp_type_humidity.py
smlng/pycayennelpp
28f2ba4fba602527d3369c9cfbce16b783916933
[ "MIT" ]
40
2018-11-04T17:28:49.000Z
2021-11-26T16:05:16.000Z
cayennelpp/tests/test_lpp_type_humidity.py
smlng/pycayennelpp
28f2ba4fba602527d3369c9cfbce16b783916933
[ "MIT" ]
12
2018-11-09T19:06:36.000Z
2021-05-21T17:44:28.000Z
import pytest from cayennelpp.lpp_type import LppType @pytest.fixture def hum(): return LppType.get_lpp_type(104) def test_humidity(hum): val = (50.00,) hum_buf = hum.encode(val) assert hum.decode(hum_buf) == val hum_buf = hum.encode(50.25) assert hum.decode(hum_buf) == val val = (50.50...
21.046512
43
0.667403
133
905
4.353383
0.240602
0.082902
0.129534
0.103627
0.621762
0.621762
0.331606
0.2038
0.2038
0.2038
0
0.047222
0.20442
905
42
44
21.547619
0.756944
0
0
0.344828
0
0
0
0
0
0
0.01326
0
0.137931
1
0.206897
false
0
0.068966
0.034483
0.310345
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
4dc612995d0e9e6a026d052503209dc02bc22a03
5,218
py
Python
scripts/studs_dist.py
inesc-tec-robotics/carlos_controller
ffcc45f24dd534bb953d5bd4a47badd3d3d5223d
[ "BSD-3-Clause" ]
null
null
null
scripts/studs_dist.py
inesc-tec-robotics/carlos_controller
ffcc45f24dd534bb953d5bd4a47badd3d3d5223d
[ "BSD-3-Clause" ]
null
null
null
scripts/studs_dist.py
inesc-tec-robotics/carlos_controller
ffcc45f24dd534bb953d5bd4a47badd3d3d5223d
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from mission_ctrl_msgs.srv import * from studs_defines import * import rospy import time import carlos_vision as crlv from geometry_msgs.msg import PointStamped from geometry_msgs.msg import PoseArray from geometry_msgs.msg import Pose from carlos_controller.msg import StudsPoses #import geometry...
30.87574
99
0.652166
734
5,218
4.440055
0.194823
0.060755
0.01657
0.044185
0.390917
0.319423
0.293035
0.293035
0.293035
0.262044
0
0.037488
0.228057
5,218
168
100
31.059524
0.771599
0.08739
0
0.355372
0
0
0.036023
0
0
0
0
0
0
0
null
null
0
0.07438
null
null
0.082645
0
0
0
null
0
0
0
0
0
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
4dc8b44f56e787d0b3156d5c7fc12d0fb557c818
1,770
py
Python
example.py
luisfciencias/intro-cv
2908d21dd8058acf13b5479a2cb409a6e00859c1
[ "MIT" ]
null
null
null
example.py
luisfciencias/intro-cv
2908d21dd8058acf13b5479a2cb409a6e00859c1
[ "MIT" ]
5
2020-01-28T22:54:12.000Z
2022-02-10T00:26:51.000Z
example.py
luisfciencias/intro-cv
2908d21dd8058acf13b5479a2cb409a6e00859c1
[ "MIT" ]
null
null
null
# example of mask inference with a pre-trained model (COCO) import sys from keras.preprocessing.image import img_to_array from keras.preprocessing.image import load_img from mrcnn.config import Config from mrcnn.model import MaskRCNN from mrcnn.visualize import display_instances from tools import load_config # load co...
32.181818
85
0.719774
245
1,770
4.995918
0.42449
0.04902
0.035948
0.044118
0.086601
0
0
0
0
0
0
0.042799
0.168362
1,770
54
86
32.777778
0.788723
0.315254
0
0
0
0
0.105263
0.0401
0
0
0
0
0
0
null
null
0
0.212121
null
null
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4dcb9047f54eac204a9bac1c46c12bc3341a699a
11,237
py
Python
Leetcode.py
SakuraSa/Leetcode_CodeDownloader
cba23e3ec85b24e14fdf856e0e7eefb2c95644eb
[ "Apache-2.0" ]
3
2015-10-20T13:05:18.000Z
2020-07-27T19:45:58.000Z
Leetcode.py
SakuraSa/Leetcode_CodeDownloader
cba23e3ec85b24e14fdf856e0e7eefb2c95644eb
[ "Apache-2.0" ]
null
null
null
Leetcode.py
SakuraSa/Leetcode_CodeDownloader
cba23e3ec85b24e14fdf856e0e7eefb2c95644eb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python #coding=utf-8 import os import re import requests import datetime import BeautifulSoup #url requests setting host_url = 'https://oj.leetcode.com' login_url = 'https://oj.leetcode.com/accounts/login/' question_list_url = 'https://oj.leetcode.com/problems/' code_...
41.464945
112
0.568924
1,306
11,237
4.682236
0.169985
0.045626
0.038267
0.032379
0.354211
0.23843
0.185936
0.122322
0.078168
0.058545
0
0.003295
0.297766
11,237
270
113
41.618519
0.771639
0.017442
0
0.133333
0
0
0.131593
0.003081
0
0
0
0
0
0
null
null
0.0375
0.025
null
null
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4dcff13d4501aa2f3c3df9d643bf2c4ada7cfd82
335
py
Python
src/test/resources/script/jython/testReturnString.py
adchilds/jythonutil
24e6b945cf7474358be1f43e0a72f37411289e39
[ "CNRI-Jython" ]
5
2016-02-05T19:44:57.000Z
2017-05-26T10:26:29.000Z
src/test/resources/script/jython/testReturnString.py
adchilds/jythonutil
24e6b945cf7474358be1f43e0a72f37411289e39
[ "CNRI-Jython" ]
1
2017-02-03T06:19:21.000Z
2017-02-11T03:55:55.000Z
src/test/resources/script/jython/testReturnString.py
adchilds/jythonutil
24e6b945cf7474358be1f43e0a72f37411289e39
[ "CNRI-Jython" ]
null
null
null
import sys if __name__ == '__main__': # Set the defaults a = '' b = '' # If arguments were passed to this script, use those try: a = sys.argv[1] b = sys.argv[2] except Exception: pass # Sets the result to the longer of the two Strings result = a if len(a) ...
19.705882
56
0.552239
50
335
3.54
0.66
0.079096
0
0
0
0
0
0
0
0
0
0.009259
0.355224
335
17
57
19.705882
0.810185
0.346269
0
0
0
0
0.037037
0
0
0
0
0
0
1
0
false
0.1
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4dd83f2bdedcce578bc2f4f15b92a56d3b2455a9
3,345
py
Python
test/test_cfg/read_grammar.py
wannaphong/pycfg
ffa67958ed1c3deb73cadb3969ac086336fb1269
[ "MIT" ]
8
2017-12-18T08:51:27.000Z
2020-11-26T02:21:06.000Z
test/test_cfg/read_grammar.py
wannaphong/pycfg
ffa67958ed1c3deb73cadb3969ac086336fb1269
[ "MIT" ]
1
2020-01-09T15:41:09.000Z
2020-01-09T15:41:09.000Z
test/test_cfg/read_grammar.py
wannaphong/pycfg
ffa67958ed1c3deb73cadb3969ac086336fb1269
[ "MIT" ]
6
2017-06-12T16:58:40.000Z
2019-11-27T06:55:07.000Z
'''Read grammar specifications for test cases.''' import re import sys from pprint import pprint from cfg.core import ContextFreeGrammar, Terminal, Nonterminal, Marker from cfg.table import END_MARKER, ParseTableNormalForm class GrammarTestCase(object): '''Contains a CFG and optionally a parse table.''' def ...
31.261682
93
0.564425
423
3,345
4.319149
0.293144
0.005473
0.024083
0.01642
0.026273
0.026273
0
0
0
0
0
0.002983
0.298356
3,345
106
94
31.556604
0.775458
0
0
0.1
0
0
0.077452
0.007183
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.022222
0
0
0
null
0
0
0
0
0
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
4ddab5e3d9aa744300fde8fef5e302f340725170
44,868
py
Python
scripts/venv/lib/python2.7/site-packages/cogent/core/entity.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
3
2015-11-20T08:44:42.000Z
2016-12-14T01:40:03.000Z
scripts/venv/lib/python2.7/site-packages/cogent/core/entity.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
1
2017-09-04T14:04:32.000Z
2020-05-26T19:04:00.000Z
scripts/venv/lib/python2.7/site-packages/cogent/core/entity.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Provides the entities, the building blocks of the SMRCA hierachy representation of a macromolecular structure. The MultiEntity class is a special Entity class to hold multiple instances of other entities. All Entities apart from the Atom can hold others and inherit from the MultiEntity. T...
37.483709
99
0.584693
5,414
44,868
4.694496
0.125046
0.018492
0.009364
0.006059
0.315313
0.262827
0.218091
0.197671
0.17068
0.146679
0
0.005332
0.297762
44,868
1,196
100
37.51505
0.80132
0.047629
0
0.336801
0
0
0.033222
0.000854
0
0
0
0
0
0
null
null
0.007802
0.011704
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
4ddb38d835903f3211b8436bd705a411ed81f133
3,381
py
Python
venv/lib/python3.9/site-packages/ajsonrpc/tests/test_dispatcher.py
janten/ESP32-Paxcounter
212317f3800ec87aef4847e7d60971d4bb9e7d70
[ "Apache-2.0" ]
12
2019-03-06T03:44:42.000Z
2021-07-22T03:47:24.000Z
venv/lib/python3.9/site-packages/ajsonrpc/tests/test_dispatcher.py
janten/ESP32-Paxcounter
212317f3800ec87aef4847e7d60971d4bb9e7d70
[ "Apache-2.0" ]
10
2020-10-28T10:04:58.000Z
2021-07-21T20:47:27.000Z
venv/lib/python3.9/site-packages/ajsonrpc/tests/test_dispatcher.py
janten/ESP32-Paxcounter
212317f3800ec87aef4847e7d60971d4bb9e7d70
[ "Apache-2.0" ]
4
2021-07-21T20:00:14.000Z
2021-10-12T19:43:30.000Z
import unittest from ..dispatcher import Dispatcher class Math: @staticmethod def sum(a, b): return a + b @classmethod def diff(cls, a, b): return a - b def mul(self, a, b): return a * b class TestDispatcher(unittest.TestCase): def test_empty(self): self.ass...
27.487805
79
0.561964
421
3,381
4.396675
0.15677
0.145867
0.073474
0.103728
0.47866
0.420313
0.420313
0.420313
0.420313
0.420313
0
0.028842
0.282165
3,381
122
80
27.713115
0.733828
0.014789
0
0.26087
0
0
0.078148
0
0
0
0
0
0.413043
1
0.184783
false
0
0.021739
0.065217
0.293478
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
4de9705438995df854b9ebaf6e2d9530e21d53a7
3,155
py
Python
tapioca_trello/resource_mapping/checklist.py
humrochagf/tapioca-trello
a7067a4c43b22e64cef67b68068580448a4cb420
[ "MIT" ]
null
null
null
tapioca_trello/resource_mapping/checklist.py
humrochagf/tapioca-trello
a7067a4c43b22e64cef67b68068580448a4cb420
[ "MIT" ]
null
null
null
tapioca_trello/resource_mapping/checklist.py
humrochagf/tapioca-trello
a7067a4c43b22e64cef67b68068580448a4cb420
[ "MIT" ]
1
2018-07-31T23:04:34.000Z
2018-07-31T23:04:34.000Z
# -*- coding: utf-8 -*- CHECKLIST_MAPPING = { 'checklist_retrieve': { 'resource': '/checklists/{id}', 'docs': ( 'https://developers.trello.com/v1.0/reference' '#checklistsid' ), 'methods': ['GET'], }, 'checklist_field_retrieve': { 'resource': ...
28.944954
64
0.496672
235
3,155
6.570213
0.191489
0.151554
0.159974
0.210492
0.517487
0.517487
0.517487
0.517487
0.387953
0.387953
0
0.013445
0.316323
3,155
108
65
29.212963
0.702364
0.006656
0
0.566038
0
0
0.551724
0.189336
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1506feffa85f0e03250b9a11fac052405432fbe0
628
py
Python
test.py
blodzbyte/isEven
18e42cfdad052d34318900fdd91167a533b52210
[ "MIT" ]
44
2020-03-11T16:44:41.000Z
2022-03-16T07:55:24.000Z
test.py
blodzbyte/isEven
18e42cfdad052d34318900fdd91167a533b52210
[ "MIT" ]
9
2020-03-11T21:07:01.000Z
2021-07-08T18:49:23.000Z
test.py
blodzbyte/isEven
18e42cfdad052d34318900fdd91167a533b52210
[ "MIT" ]
18
2020-03-11T20:03:50.000Z
2021-07-22T21:40:00.000Z
#!/usr/bin/env python3 from isEven import isEven def testRange(min, max, evens): print('Testing [{},{}] {}...'.format(min, max, 'evens' if evens else 'odds')) for i in range(min, max, 2): i = i if evens else i - 1 result = isEven(i) if(not result and evens): raise Exception('Test faile...
29.904762
80
0.517516
77
628
4.116883
0.532468
0.056782
0.069401
0
0
0
0
0
0
0
0
0.034642
0.31051
628
20
81
31.4
0.69746
0.033439
0
0
0
0
0.183168
0
0
0
0
0
0
1
0.125
false
0.0625
0.0625
0
0.1875
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
1
0
0
0
0
0
1
150bff7433b6fabe00d05feee353f17bc33f7d36
757
py
Python
minoan_project/minoan_project/urls.py
mtzirkel/minoan
3eadeb1f73acf261e2f550642432ea5c25557ecb
[ "MIT" ]
null
null
null
minoan_project/minoan_project/urls.py
mtzirkel/minoan
3eadeb1f73acf261e2f550642432ea5c25557ecb
[ "MIT" ]
null
null
null
minoan_project/minoan_project/urls.py
mtzirkel/minoan
3eadeb1f73acf261e2f550642432ea5c25557ecb
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, include, url from django.conf.urls.static import static from django.conf import settings from django.views.generic import TemplateView from . import views # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patt...
27.035714
89
0.698811
102
757
5.127451
0.421569
0.095602
0.080306
0.068834
0
0
0
0
0
0
0
0
0.173052
757
27
90
28.037037
0.835463
0.24967
0
0
0
0
0.154804
0.05516
0
0
0
0
0
1
0
false
0
0.461538
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
12781452042b292ed356843d47c2a5e60478909f
7,998
py
Python
parsers/sales_order.py
njncalub/logistiko
74b1d17bc76538de6f5f70c7eca927780d6b4113
[ "MIT" ]
null
null
null
parsers/sales_order.py
njncalub/logistiko
74b1d17bc76538de6f5f70c7eca927780d6b4113
[ "MIT" ]
null
null
null
parsers/sales_order.py
njncalub/logistiko
74b1d17bc76538de6f5f70c7eca927780d6b4113
[ "MIT" ]
null
null
null
import csv from core.exceptions import InvalidFileException def load_so_item_from_file(path, db_service): with open(path) as csv_file: csv_reader = csv.reader(csv_file) error_msg = 'Missing required header: {}' for i, row in enumerate(csv_reader, 1): data = { ...
46.77193
79
0.542136
857
7,998
4.697783
0.113186
0.086935
0.107799
0.229508
0.754098
0.628664
0.541232
0.480378
0.4461
0.387481
0
0.008192
0.358965
7,998
170
80
47.047059
0.777063
0.013003
0
0.342282
0
0
0.239164
0.068441
0
0
0
0
0
1
0.040268
false
0
0.013423
0
0.053691
0.020134
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
1279a170c86c50a1d9aa504d29a7b4fbc15ef3a6
2,350
py
Python
tools/pca_outcore.py
escorciav/deep-action-proposals
c14f512febc1abd0ec40bd3188a83e4ee3913535
[ "MIT" ]
28
2017-03-19T12:02:22.000Z
2021-07-08T13:49:41.000Z
tools/pca_outcore.py
escorciav/deep-action-proposals
c14f512febc1abd0ec40bd3188a83e4ee3913535
[ "MIT" ]
2
2018-05-07T07:43:15.000Z
2018-12-14T16:06:48.000Z
tools/pca_outcore.py
escorciav/deep-action-proposals
c14f512febc1abd0ec40bd3188a83e4ee3913535
[ "MIT" ]
7
2017-03-19T11:51:21.000Z
2020-01-07T11:17:48.000Z
#!/usr/bin/env python """ PCA done via matrix multiplication out-of-core. """ import argparse import time import h5py import hickle as hkl import numpy as np def input_parse(): description = 'Compute PCA with A.T * A computation out of core' p = argparse.ArgumentParser(description=description) p.add_ar...
30.519481
73
0.609362
353
2,350
3.898017
0.311615
0.065407
0.101744
0.055233
0.154797
0.097384
0.097384
0.097384
0.097384
0.056686
0
0.018456
0.239149
2,350
76
74
30.921053
0.751119
0.010213
0
0.071429
0
0
0.188355
0
0
0
0
0
0
0
null
null
0
0.089286
null
null
0.178571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
127b40e7a10ad49a4f232756467391a18976528f
1,968
py
Python
gamry_parser/cv.py
bcliang/gamry-parser
c1dfcf73d973c88ee496f0aa256d99f642ab6013
[ "MIT" ]
6
2019-03-14T21:21:13.000Z
2022-03-04T19:21:32.000Z
gamry_parser/cv.py
bcliang/gamry-parser
c1dfcf73d973c88ee496f0aa256d99f642ab6013
[ "MIT" ]
34
2019-03-11T04:21:51.000Z
2022-01-10T21:45:38.000Z
gamry_parser/cv.py
bcliang/gamry-parser
c1dfcf73d973c88ee496f0aa256d99f642ab6013
[ "MIT" ]
5
2019-08-11T15:38:30.000Z
2021-04-24T20:06:09.000Z
import gamry_parser as parser class CyclicVoltammetry(parser.GamryParser): """Load a Cyclic Voltammetry experiment generated in Gamry EXPLAIN format.""" def get_v_range(self): """retrieve the programmed voltage scan ranges Args: None Returns: tuple, containin...
29.373134
83
0.571646
215
1,968
5.190698
0.362791
0.053763
0.043011
0.051075
0.263441
0.263441
0.263441
0.263441
0.166667
0.166667
0
0.009132
0.332317
1,968
66
84
29.818182
0.840183
0.279472
0
0.259259
1
0
0.33979
0.058111
0
0
0
0
0.296296
1
0.111111
false
0
0.037037
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
127d60f439a2eeaeea97213b05b97e925b002613
15,790
py
Python
osprofiler/tests/unit/drivers/test_ceilometer.py
charliebr30/osprofiler
cffca4e29e373e3f09f2ffdd458761183a851569
[ "Apache-2.0" ]
null
null
null
osprofiler/tests/unit/drivers/test_ceilometer.py
charliebr30/osprofiler
cffca4e29e373e3f09f2ffdd458761183a851569
[ "Apache-2.0" ]
1
2017-04-15T22:16:06.000Z
2017-04-15T22:16:06.000Z
osprofiler/tests/unit/drivers/test_ceilometer.py
shwsun/osprofiler
46d29fc5ab8a4068217e399883f39cdd443a7500
[ "Apache-2.0" ]
1
2020-02-17T09:48:43.000Z
2020-02-17T09:48:43.000Z
# Copyright 2016 Mirantis Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
37.240566
79
0.338252
1,067
15,790
4.895033
0.218369
0.084243
0.11794
0.038292
0.657094
0.628183
0.551982
0.508137
0.498181
0.366073
0
0.115461
0.522799
15,790
423
80
37.328605
0.577704
0.037935
0
0.443299
0
0
0.259423
0.087309
0
0
0
0
0.012887
1
0.012887
false
0
0.007732
0
0.023196
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
12810e363b2fde4bb2f563894e88d9b033fc5d56
2,666
py
Python
utils/tools.py
alipay/Pyraformer
84af4dbd93b7b96975b5034f0dde412005260123
[ "Apache-2.0" ]
7
2022-03-24T03:42:14.000Z
2022-03-27T16:27:31.000Z
utils/tools.py
alipay/Pyraformer
84af4dbd93b7b96975b5034f0dde412005260123
[ "Apache-2.0" ]
1
2022-03-17T08:54:42.000Z
2022-03-17T08:54:42.000Z
utils/tools.py
alipay/Pyraformer
84af4dbd93b7b96975b5034f0dde412005260123
[ "Apache-2.0" ]
1
2022-03-29T16:33:44.000Z
2022-03-29T16:33:44.000Z
from torch.nn.modules import loss import torch import numpy as np def MAE(pred, true): return np.mean(np.abs(pred-true)) def MSE(pred, true): return np.mean((pred-true)**2) def RMSE(pred, true): return np.sqrt(MSE(pred, true)) def MAPE(pred, true): return np.mean(np.abs((pred - true) / true)) def ...
28.361702
112
0.62003
376
2,666
4.287234
0.199468
0.079404
0.052109
0.049628
0.344913
0.332506
0.318859
0.318859
0.318859
0.225806
0
0.007925
0.242686
2,666
93
113
28.666667
0.79049
0.013878
0
0.176471
0
0
0.001526
0
0
0
0
0
0
1
0.220588
false
0
0.044118
0.073529
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1282edeb2a30864dc3a5aa0e406d5fae2795f292
1,974
py
Python
webScraping/Instagram/2a_selenium_corriere.py
PythonBiellaGroup/MaterialeSerate
58b45ecda7b9a8a298b9ca966d2806618a277372
[ "MIT" ]
12
2021-12-12T22:19:52.000Z
2022-03-18T11:45:17.000Z
webScraping/Instagram/2a_selenium_corriere.py
PythonGroupBiella/MaterialeLezioni
58b45ecda7b9a8a298b9ca966d2806618a277372
[ "MIT" ]
1
2022-03-23T13:58:33.000Z
2022-03-23T14:05:08.000Z
webScraping/Instagram/2a_selenium_corriere.py
PythonGroupBiella/MaterialeLezioni
58b45ecda7b9a8a298b9ca966d2806618a277372
[ "MIT" ]
5
2021-11-30T19:38:41.000Z
2022-01-30T14:50:44.000Z
# use selenium to scrape headlines from corriere.it # pip install selenium from re import L from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.co...
44.863636
258
0.766971
312
1,974
4.737179
0.451923
0.040595
0.056834
0.051421
0.20636
0.147497
0.147497
0.147497
0.147497
0.090663
0
0.018203
0.109422
1,974
44
259
44.863636
0.822526
0.592705
0
0.095238
0
0.047619
0.140845
0.067862
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
12848f59193336131bb837186f98da6abb8ba010
1,665
py
Python
tests/test_api.py
bh-chaker/wetterdienst
b0d51bb4c7392eb47834e4978e26882d74b22e35
[ "MIT" ]
155
2020-07-03T05:09:22.000Z
2022-03-28T06:57:39.000Z
tests/test_api.py
bh-chaker/wetterdienst
b0d51bb4c7392eb47834e4978e26882d74b22e35
[ "MIT" ]
453
2020-07-02T21:21:52.000Z
2022-03-31T21:35:36.000Z
tests/test_api.py
bh-chaker/wetterdienst
b0d51bb4c7392eb47834e4978e26882d74b22e35
[ "MIT" ]
21
2020-09-07T12:13:27.000Z
2022-03-26T16:26:09.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2018-2021, earthobservations developers. # Distributed under the MIT License. See LICENSE for more info. import pytest from wetterdienst import Wetterdienst @pytest.mark.remote @pytest.mark.parametrize( "provider,kind,kwargs", [ # German Weather Service (DWD) ...
26.015625
79
0.587988
169
1,665
5.733728
0.556213
0.028896
0.043344
0.053664
0
0
0
0
0
0
0
0.007475
0.276877
1,665
63
80
26.428571
0.797342
0.25045
0
0
0
0
0.209756
0
0
0
0
0.015873
0.128205
1
0.025641
false
0
0.051282
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
12867ea275e82f412c64f544501dc211d18fb6b3
2,761
py
Python
crowd_anki/export/anki_exporter_wrapper.py
katrinleinweber/CrowdAnki
c78d837e082365d69bde5b1361b1dd4d11cd3d63
[ "MIT" ]
391
2016-08-31T21:55:07.000Z
2022-03-30T16:30:12.000Z
crowd_anki/export/anki_exporter_wrapper.py
katrinleinweber/CrowdAnki
c78d837e082365d69bde5b1361b1dd4d11cd3d63
[ "MIT" ]
150
2016-09-01T00:35:35.000Z
2022-03-30T23:26:48.000Z
crowd_anki/export/anki_exporter_wrapper.py
katrinleinweber/CrowdAnki
c78d837e082365d69bde5b1361b1dd4d11cd3d63
[ "MIT" ]
51
2016-09-04T17:02:39.000Z
2022-02-04T11:49:10.000Z
from pathlib import Path from .anki_exporter import AnkiJsonExporter from ..anki.adapters.anki_deck import AnkiDeck from ..config.config_settings import ConfigSettings from ..utils import constants from ..utils.notifier import AnkiModalNotifier, Notifier from ..utils.disambiguate_uuids import disambiguate_note_model_u...
40.014493
139
0.680913
312
2,761
5.833333
0.413462
0.032967
0.023077
0.032967
0.049451
0.049451
0.049451
0
0
0
0
0.003865
0.250272
2,761
68
140
40.602941
0.875362
0.138718
0
0.044444
0
0
0.104794
0
0
0
0
0.014706
0
1
0.088889
false
0
0.155556
0.022222
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
128a2d7a634e13b30d2d38fc5ac9815e890ebcfe
943
py
Python
demo2/demo2_consume2.py
YuYanzy/kafka-python-demo
fc01ac29230b41fe1821f6e5a9d7226dea9688fe
[ "Apache-2.0" ]
3
2021-05-07T01:48:37.000Z
2021-09-24T20:53:51.000Z
demo2/demo2_consume2.py
YuYanzy/kafka-python-demo
fc01ac29230b41fe1821f6e5a9d7226dea9688fe
[ "Apache-2.0" ]
null
null
null
demo2/demo2_consume2.py
YuYanzy/kafka-python-demo
fc01ac29230b41fe1821f6e5a9d7226dea9688fe
[ "Apache-2.0" ]
1
2021-05-08T08:46:01.000Z
2021-05-08T08:46:01.000Z
# -*- coding: utf-8 -*- # @Author : Ecohnoch(xcy) # @File : demo2_consume.py # @Function : TODO import kafka demo2_config = { 'kafka_host': 'localhost:9092', 'kafka_topic': 'demo2', 'kafka_group_id': 'demo2_group1' } def consume(): consumer = kafka.KafkaConsumer(demo2_config['kafka_topic'], ...
29.46875
118
0.604454
115
943
4.643478
0.4
0.082397
0.11985
0.074906
0.108614
0.108614
0
0
0
0
0
0.021277
0.252386
943
31
119
30.419355
0.73617
0.160127
0
0
0
0
0.215561
0
0
0
0
0.032258
0
1
0.052632
false
0
0.052632
0
0.105263
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
128e7777e186dad8ff8ca443386abd102aa7f54e
1,492
py
Python
Weather Station using DHT Sensor with Raspberry Pi and ThingSpeak Platform/Weather Station - ThingSpeak - Raspberry Pi.py
MeqdadDev/ai-robotics-cv-iot-mini-projects
0c591bc495c95aa95d436e51f38e55bf510349ac
[ "MIT" ]
null
null
null
Weather Station using DHT Sensor with Raspberry Pi and ThingSpeak Platform/Weather Station - ThingSpeak - Raspberry Pi.py
MeqdadDev/ai-robotics-cv-iot-mini-projects
0c591bc495c95aa95d436e51f38e55bf510349ac
[ "MIT" ]
null
null
null
Weather Station using DHT Sensor with Raspberry Pi and ThingSpeak Platform/Weather Station - ThingSpeak - Raspberry Pi.py
MeqdadDev/ai-robotics-cv-iot-mini-projects
0c591bc495c95aa95d436e51f38e55bf510349ac
[ "MIT" ]
1
2022-03-29T07:41:23.000Z
2022-03-29T07:41:23.000Z
''' IoT Mini Project Weather Station using DHT Sensor and Raspberry Pi with ThingSpeak Platform Code Sample: Interfacing DHT22 with Raspberry Pi and sending the data to an IoT Platform (ThingSpeak Platform) ''' from time import sleep # import Adafruit_DHT # Not supported library import adafruit_dht from board import *...
29.84
110
0.690349
191
1,492
5.298429
0.528796
0.075099
0.033597
0.037549
0.039526
0
0
0
0
0
0
0.026587
0.218499
1,492
49
111
30.44898
0.84048
0
0
0.137931
0
0
0.257032
0.026188
0
0
0
0
0
0
null
null
0
0.137931
null
null
0.137931
0
0
0
null
0
0
0
0
0
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
128f728bec79cfe03c54bf8f06695117449e7c5a
5,771
py
Python
python/ucloud/import_data.py
oldthreefeng/miscellany
8d3c7a14b53929d752c7356c85ae6681000cd526
[ "MIT" ]
1
2019-01-04T07:44:08.000Z
2019-01-04T07:44:08.000Z
python/ucloud/import_data.py
oldthreefeng/miscellany
8d3c7a14b53929d752c7356c85ae6681000cd526
[ "MIT" ]
null
null
null
python/ucloud/import_data.py
oldthreefeng/miscellany
8d3c7a14b53929d752c7356c85ae6681000cd526
[ "MIT" ]
2
2018-12-10T12:55:38.000Z
2019-01-04T07:43:55.000Z
#!/usr/bin/python2 import sys import os import redis import time import datetime string_keys = [] hash_keys = [] list_keys = [] set_keys = [] zset_keys = [] def import_string(source, dest): print "Begin Import String Type" keys_count = len(string_keys) print "String Key Count is:", keys_count pipeSrc...
30.21466
83
0.562468
727
5,771
4.325997
0.145805
0.054372
0.034976
0.026709
0.533545
0.440064
0.384738
0.309698
0.279809
0.279809
0
0.032017
0.328886
5,771
190
84
30.373684
0.780015
0.005892
0
0.337349
0
0
0.088579
0
0
0
0
0
0
0
null
null
0
0.120482
null
null
0.120482
0
0
0
null
0
0
0
0
0
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
1296680de0a376242d8b5859461295d893d5f13c
4,180
py
Python
local_test/test_pullparser.py
rmoskal/e-springpad
d2c1dfbae63a29737d9cfdee571704b7a5e85bd5
[ "MIT" ]
1
2017-01-10T17:12:25.000Z
2017-01-10T17:12:25.000Z
local_test/test_pullparser.py
rmoskal/e-springpad
d2c1dfbae63a29737d9cfdee571704b7a5e85bd5
[ "MIT" ]
null
null
null
local_test/test_pullparser.py
rmoskal/e-springpad
d2c1dfbae63a29737d9cfdee571704b7a5e85bd5
[ "MIT" ]
null
null
null
__author__ = 'rob' import unittest import logging import evernotebookparser from xml.etree import ElementTree import re class TestNotebookParser(unittest.TestCase): def setUp(self): self.o = evernotebookparser.NotebookParser2("../Quotes.enex") def test_parsing2(self): results...
32.403101
157
0.570335
457
4,180
5.153173
0.227571
0.03397
0.076433
0.081529
0.695117
0.680255
0.654777
0.653079
0.653079
0.540977
0
0.015111
0.28756
4,180
129
158
32.403101
0.775688
0.032297
0
0.606742
0
0.033708
0.152362
0.005936
0
0
0
0
0.213483
0
null
null
0
0.05618
null
null
0.011236
0
0
0
null
0
0
0
0
0
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
12990c8712d2523d8e2f0753d7b1faee0bbfa287
353
py
Python
plots_lib/architecture_config.py
cmimprota/ASL-SIFT
e6e489e9cc06746e2ab8cd11193fc9fc0112e5df
[ "Zlib" ]
1
2021-12-30T14:59:43.000Z
2021-12-30T14:59:43.000Z
plots_lib/architecture_config.py
cmimprota/ASL-SIFT
e6e489e9cc06746e2ab8cd11193fc9fc0112e5df
[ "Zlib" ]
null
null
null
plots_lib/architecture_config.py
cmimprota/ASL-SIFT
e6e489e9cc06746e2ab8cd11193fc9fc0112e5df
[ "Zlib" ]
1
2021-04-12T11:13:32.000Z
2021-04-12T11:13:32.000Z
config = dict() config['fixed_cpu_frequency'] = "@ 3700 MHz" config['frequency'] = 3.7e9 config['maxflops_sisd'] = 2 config['maxflops_sisd_fma'] = 4 config['maxflops_simd'] = 16 config['maxflops_simd_fma'] = 32 config['roofline_beta'] = 64 # According to WikiChip (Skylake) config['figure_size'] = (20,9) config...
29.416667
69
0.691218
48
353
4.833333
0.666667
0.241379
0.155172
0
0
0
0
0
0
0
0
0.058442
0.127479
353
12
70
29.416667
0.694805
0.087819
0
0
0
0
0.454829
0
0
0
0
0
0
1
0
false
0
0
0
0
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
12a26d1b84cfd62fa98cec13a5aa4a115ddadb78
779
py
Python
bin/print_data_structure.py
JohanComparat/pyEmerge
9b5bfa01959d48ea41221609b8f375f27e3e39ff
[ "Unlicense" ]
null
null
null
bin/print_data_structure.py
JohanComparat/pyEmerge
9b5bfa01959d48ea41221609b8f375f27e3e39ff
[ "Unlicense" ]
null
null
null
bin/print_data_structure.py
JohanComparat/pyEmerge
9b5bfa01959d48ea41221609b8f375f27e3e39ff
[ "Unlicense" ]
null
null
null
import sys ii = int(sys.argv[1]) env = sys.argv[2] # python3 print_data_structure.py 22 MD10 import glob import os import numpy as n import EmergeIterate iterate = EmergeIterate.EmergeIterate(ii, env) iterate.open_snapshots() def print_attr(h5item): for attr in h5item: print(attr, h5item[attr]) def print...
23.606061
55
0.56611
92
779
4.641304
0.380435
0.084309
0.140515
0.079625
0
0
0
0
0
0
0
0.02946
0.215661
779
32
56
24.34375
0.669394
0.050064
0
0
0
0
0.217096
0.054274
0
0
0
0
0
1
0.12
false
0
0.2
0
0.32
0.56
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
12a4188c00b7c8a1abdb2f2f512a6ed7085ea497
1,291
py
Python
tests/test_coders.py
GlobalFishingWatch/pipe-tools
34dff591997bb2c25e018df86d13a9d42972032b
[ "Apache-2.0" ]
1
2018-05-26T20:10:51.000Z
2018-05-26T20:10:51.000Z
tests/test_coders.py
GlobalFishingWatch/pipe-tools
34dff591997bb2c25e018df86d13a9d42972032b
[ "Apache-2.0" ]
37
2017-10-22T12:00:59.000Z
2022-02-08T19:17:58.000Z
tests/test_coders.py
GlobalFishingWatch/pipe-tools
34dff591997bb2c25e018df86d13a9d42972032b
[ "Apache-2.0" ]
null
null
null
import pytest import six import ujson import apache_beam as beam from apache_beam.testing.test_pipeline import TestPipeline as _TestPipeline from apache_beam.testing.util import assert_that from apache_beam.testing.util import equal_to from apache_beam.coders import typecoders from apache_beam.typehints import Dict, U...
26.346939
118
0.676995
157
1,291
5.43949
0.496815
0.070258
0.081967
0.07377
0.131148
0.0726
0
0
0
0
0
0.003036
0.234702
1,291
49
119
26.346939
0.861336
0
0
0
0
0
0.102941
0.017802
0
0
0
0
0.085714
1
0.057143
false
0.028571
0.342857
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
1
0
0
0
0
1
12a668f147490b052289202d9372f523023dc419
3,820
py
Python
yeti/core/model/stix/sro.py
yeti-platform/TibetanBrownBear
8ab520bd199a63e404b3a6a5b49a29f277384e8e
[ "Apache-2.0" ]
9
2018-01-15T22:44:24.000Z
2021-05-28T11:13:03.000Z
yeti/core/model/stix/sro.py
yeti-platform/TibetanBrownBear
8ab520bd199a63e404b3a6a5b49a29f277384e8e
[ "Apache-2.0" ]
140
2018-01-12T10:07:47.000Z
2021-08-02T23:03:49.000Z
yeti/core/model/stix/sro.py
yeti-platform/TibetanBrownBear
8ab520bd199a63e404b3a6a5b49a29f277384e8e
[ "Apache-2.0" ]
11
2018-01-16T19:49:35.000Z
2022-01-18T16:30:34.000Z
"""Detail Yeti's Entity object structure.""" import json from yeti.core.errors import ValidationError from .base import StixObject class StixSRO(StixObject): def __init__(self, db_from, db_to, attributes): self._db_from = db_from self._db_to = db_to super().__init__(**attributes) @cl...
28.296296
80
0.606545
457
3,820
4.894967
0.326039
0.067054
0.068842
0.080465
0.113545
0.027716
0
0
0
0
0
0.000766
0.316492
3,820
134
81
28.507463
0.855994
0.274869
0
0.155844
0
0
0.03357
0
0
0
0
0
0
1
0.194805
false
0
0.038961
0.12987
0.467532
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
12a832b1e6427f5514100a7f00be3d2042f2ed0f
207
py
Python
LeetCode_1304.py
xulu199705/LeetCode
9a654a10117a93f9ad9728d6b86eb3713185545e
[ "MIT" ]
null
null
null
LeetCode_1304.py
xulu199705/LeetCode
9a654a10117a93f9ad9728d6b86eb3713185545e
[ "MIT" ]
null
null
null
LeetCode_1304.py
xulu199705/LeetCode
9a654a10117a93f9ad9728d6b86eb3713185545e
[ "MIT" ]
null
null
null
from typing import List class Solution: def sumZero(self, n: int) -> List[int]: ans = [x for x in range(-(n//2), n//2 + 1)] if n % 2 == 0: ans.remove(0) return ans
18.818182
51
0.492754
33
207
3.090909
0.666667
0.058824
0
0
0
0
0
0
0
0
0
0.045113
0.357488
207
10
52
20.7
0.721805
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
12aabf7a6ed3903e5b3fb7b076bf621fe0068180
1,318
py
Python
nipype/interfaces/ants/tests/test_auto_ImageMath.py
TRO-HIT/nipype
c453eac5d7efdd4e19a9bcc8a7f3d800026cc125
[ "Apache-2.0" ]
null
null
null
nipype/interfaces/ants/tests/test_auto_ImageMath.py
TRO-HIT/nipype
c453eac5d7efdd4e19a9bcc8a7f3d800026cc125
[ "Apache-2.0" ]
null
null
null
nipype/interfaces/ants/tests/test_auto_ImageMath.py
TRO-HIT/nipype
c453eac5d7efdd4e19a9bcc8a7f3d800026cc125
[ "Apache-2.0" ]
1
2020-12-16T16:36:48.000Z
2020-12-16T16:36:48.000Z
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from ..utils import ImageMath def test_ImageMath_inputs(): input_map = dict( args=dict(argstr="%s",), copy_header=dict(usedefault=True,), dimension=dict(argstr="%d", position=1, usedefault=True,), environ=dict(nohash=True, usede...
34.684211
77
0.618361
157
1,318
5.076433
0.401274
0.075282
0.069009
0.060226
0.331242
0.198243
0.138018
0.138018
0.138018
0.138018
0
0.007944
0.235964
1,318
37
78
35.621622
0.783515
0.038695
0
0.066667
1
0
0.018182
0
0
0
0
0
0.066667
1
0.066667
false
0
0.033333
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
12b1527e01e27cdb3f79857b70a9797275320e0e
1,372
py
Python
spacy/lang/th/__init__.py
snosrap/spaCy
3f68bbcfec44ef55d101e6db742d353b72652129
[ "MIT" ]
1
2019-05-17T02:43:33.000Z
2019-05-17T02:43:33.000Z
spacy/lang/th/__init__.py
snosrap/spaCy
3f68bbcfec44ef55d101e6db742d353b72652129
[ "MIT" ]
49
2021-10-01T10:15:30.000Z
2021-12-27T14:36:05.000Z
spacy/lang/th/__init__.py
snosrap/spaCy
3f68bbcfec44ef55d101e6db742d353b72652129
[ "MIT" ]
1
2019-10-01T08:27:20.000Z
2019-10-01T08:27:20.000Z
from .stop_words import STOP_WORDS from .lex_attrs import LEX_ATTRS from ...language import Language, BaseDefaults from ...tokens import Doc from ...util import DummyTokenizer, registry, load_config_from_str from ...vocab import Vocab DEFAULT_CONFIG = """ [nlp] [nlp.tokenizer] @tokenizers = "spacy.th.ThaiTokenizer" ...
24.945455
69
0.68586
159
1,372
5.672956
0.36478
0.039911
0.031042
0.037694
0
0
0
0
0
0
0
0
0.220845
1,372
54
70
25.407407
0.843779
0
0
0
0
0
0.131195
0.033528
0
0
0
0
0
1
0.102564
false
0
0.230769
0.025641
0.615385
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
12b22d55acd96929800d8872484a4576f43f6f08
6,223
py
Python
cloudrunner_server/plugins/clouds/docker_host.py
ttrifonov/cloudrunner-server
3b2426c8d9987e78425899010b534afc7734d8d4
[ "Apache-2.0" ]
2
2016-03-31T08:45:29.000Z
2021-04-28T15:18:45.000Z
cloudrunner_server/plugins/clouds/docker_host.py
ttrifonov/cloudrunner-server
3b2426c8d9987e78425899010b534afc7734d8d4
[ "Apache-2.0" ]
null
null
null
cloudrunner_server/plugins/clouds/docker_host.py
ttrifonov/cloudrunner-server
3b2426c8d9987e78425899010b534afc7734d8d4
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # vim: tabstop=4 shiftwidth=4 softtabstop=4 # /******************************************************* # * Copyright (C) 2013-2014 CloudRunner.io <info@cloudrunner.io> # * # * Proprietary and confidential # * This file is part of CloudRunner Server. # * # * CloudRunner S...
39.138365
78
0.472602
617
6,223
4.567261
0.273906
0.031228
0.042229
0.020227
0.221434
0.17885
0.17885
0.1533
0.135557
0.135557
0
0.006196
0.403503
6,223
158
79
39.386076
0.752963
0.097381
0
0.28
0
0
0.057857
0
0
0
0
0
0
0
null
null
0.016
0.048
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
12b887c446ea424a4bd8fd55a07bceb06b1c0206
1,656
py
Python
test.py
Tweetsched/tweetsched-publisher
c639670fc9658251a02b8946b34dfae3f3145a72
[ "MIT" ]
1
2018-08-28T14:04:15.000Z
2018-08-28T14:04:15.000Z
test.py
Tweetsched/tweetsched-publisher
c639670fc9658251a02b8946b34dfae3f3145a72
[ "MIT" ]
null
null
null
test.py
Tweetsched/tweetsched-publisher
c639670fc9658251a02b8946b34dfae3f3145a72
[ "MIT" ]
null
null
null
from base64 import b64encode from app import app import unittest from mock import patch import os import json from twython import Twython class TestApp(unittest.TestCase): def setUp(self): self.app = app.test_client() os.environ['SERVICE_KEY'] = 'test-key' os.environ['SERVICE_PASS'] = 'tes...
35.234043
100
0.607488
198
1,656
4.883838
0.373737
0.093071
0.099276
0.058945
0.354705
0.304033
0.304033
0.219235
0.219235
0.219235
0
0.018563
0.251812
1,656
46
101
36
0.761905
0
0
0.153846
0
0
0.199879
0.028986
0
0
0
0
0.102564
1
0.076923
false
0.076923
0.179487
0
0.282051
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
12b9be88a391697f2894a2c7dcc4147754edbf99
1,227
py
Python
website/models/post.py
LKKTGB/lkkpomia
0a814ed6d28757e07d6392ca27c914e68f0b3bda
[ "MIT" ]
null
null
null
website/models/post.py
LKKTGB/lkkpomia
0a814ed6d28757e07d6392ca27c914e68f0b3bda
[ "MIT" ]
5
2020-04-26T09:03:33.000Z
2022-02-02T13:00:39.000Z
website/models/post.py
LKKTGB/lkkpomia
0a814ed6d28757e07d6392ca27c914e68f0b3bda
[ "MIT" ]
null
null
null
from bs4 import BeautifulSoup from django.db import models from django.utils.translation import ugettext_lazy as _ from taggit.managers import TaggableManager class Post(models.Model): title = models.CharField(_('post_title'), max_length=100) body = models.TextField(_('post_body')) tags = TaggableManager(...
32.289474
80
0.667482
159
1,227
4.880503
0.490566
0.025773
0.030928
0.041237
0.100515
0.100515
0.100515
0
0
0
0
0.006198
0.211084
1,227
37
81
33.162162
0.795455
0
0
0.133333
0
0
0.119804
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0.066667
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
12bc9ffc8a5d1fd39d7381b5bb5f4a16fad4749b
14,579
py
Python
plugins/modules/nsxt_transport_node_collections.py
madhukark/ansible-for-nsxt
f75c698e24073305a968ce2f70739fee77a14bb2
[ "BSD-2-Clause" ]
null
null
null
plugins/modules/nsxt_transport_node_collections.py
madhukark/ansible-for-nsxt
f75c698e24073305a968ce2f70739fee77a14bb2
[ "BSD-2-Clause" ]
null
null
null
plugins/modules/nsxt_transport_node_collections.py
madhukark/ansible-for-nsxt
f75c698e24073305a968ce2f70739fee77a14bb2
[ "BSD-2-Clause" ]
1
2021-12-03T08:26:09.000Z
2021-12-03T08:26:09.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2018 VMware, Inc. # SPDX-License-Identifier: BSD-2-Clause OR GPL-3.0-only # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANT...
52.442446
183
0.721243
1,834
14,579
5.43566
0.153217
0.108236
0.078443
0.060187
0.531949
0.473267
0.414485
0.391313
0.372254
0.36463
0
0.002201
0.189794
14,579
277
184
52.631769
0.841771
0.065574
0
0.241379
0
0
0.29867
0.060557
0
0
0
0
0
1
0.043103
false
0.12931
0.034483
0
0.12931
0.00431
0
0
0
null
0
0
0
0
0
0
0
0
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
12c3f8688909dadef43a9224619f1323d1d373b9
972
py
Python
exercicios-Python/ex042.py
pedrosimoes-programmer/exercicios-python
150de037496d63d76086678d87425a8ccfc74573
[ "MIT" ]
null
null
null
exercicios-Python/ex042.py
pedrosimoes-programmer/exercicios-python
150de037496d63d76086678d87425a8ccfc74573
[ "MIT" ]
null
null
null
exercicios-Python/ex042.py
pedrosimoes-programmer/exercicios-python
150de037496d63d76086678d87425a8ccfc74573
[ "MIT" ]
null
null
null
#Refaça o DESAFIO 035 dos triângulos, acrescentando o recurso de mostrar que tipo de triângulo será formado: #- EQUILÁTERO: todos os lados iguais #- ISÓSCELES: dois lados iguais, um diferente #- ESCALENO: todos os lados diferentes print('-' * 20, 'Programa Analisador de Triângulos', '-' * 20) seg1 = float(input('Digite...
54
108
0.700617
136
972
5.007353
0.389706
0.058737
0.093979
0.129222
0.290749
0.290749
0.143906
0.143906
0.143906
0.143906
0
0.037179
0.197531
972
17
109
57.176471
0.835897
0.276749
0
0.153846
0
0
0.531519
0
0
0
0
0.058824
0
1
0
false
0
0
0
0
0.384615
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
12c9169d04a1b953b055c11fb6f8b67fa66071ff
344
py
Python
core/jobs/urls.py
InKyrNet/inkyrnet
fdb5c8def9b74049c4b48f2fccf5d52b040a4435
[ "MIT" ]
null
null
null
core/jobs/urls.py
InKyrNet/inkyrnet
fdb5c8def9b74049c4b48f2fccf5d52b040a4435
[ "MIT" ]
4
2021-06-04T21:36:18.000Z
2021-09-22T17:44:09.000Z
core/jobs/urls.py
InKyrNet/inkyrnet
fdb5c8def9b74049c4b48f2fccf5d52b040a4435
[ "MIT" ]
null
null
null
from django.urls import path from .views import * from django_filters.views import FilterView app_name = 'jobs' urlpatterns = [ path('', FilterView.as_view(filterset_class=JobFilter, template_name='jobs/job_list.html'), name='index'), path('companies/', CompanyListView.as_view(...
28.666667
83
0.674419
40
344
5.625
0.6
0.088889
0
0
0
0
0
0
0
0
0
0
0.197674
344
11
84
31.272727
0.815217
0
0
0
0
0
0.133721
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
12ca7aec9c936b7e376b5d6d2ed2e6e550f43708
8,570
py
Python
src/rprblender/__init__.py
ralic/RadeonProRenderBlenderAddon
310c650d4230289ac5d5407cc24a13b4c7ce0a90
[ "Apache-2.0" ]
1
2021-03-29T05:55:49.000Z
2021-03-29T05:55:49.000Z
src/rprblender/__init__.py
ralic/RadeonProRenderBlenderAddon
310c650d4230289ac5d5407cc24a13b4c7ce0a90
[ "Apache-2.0" ]
1
2021-04-03T09:39:28.000Z
2021-04-03T09:39:28.000Z
src/rprblender/__init__.py
isabella232/RadeonProRenderBlenderAddon
ff4ede164c1e1e909f182be709422bc8c8878b1c
[ "Apache-2.0" ]
null
null
null
#********************************************************************** # Copyright 2020 Advanced Micro Devices, 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.o...
31.391941
116
0.655076
1,030
8,570
5.265049
0.256311
0.025816
0.023234
0.013277
0.248018
0.174442
0.094966
0.073391
0.059746
0.059746
0
0.006847
0.233139
8,570
272
117
31.507353
0.81832
0.192532
0
0.139535
0
0
0.09004
0
0
0
0
0.003676
0
1
0.069767
false
0.069767
0.087209
0
0.209302
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
12cc0f45c792a01e3a5bd5c42c13138e07ace531
1,561
py
Python
plot_metric_err_vs_dim.py
wchen459/design_embeddings_jmd_2016
30dfec40b14c81e6cbe1c57efc2abe1a28dbdd5f
[ "MIT" ]
9
2017-07-13T19:17:48.000Z
2022-03-17T02:19:06.000Z
plot_metric_err_vs_dim.py
wchen459/design_embeddings_jmd_2016
30dfec40b14c81e6cbe1c57efc2abe1a28dbdd5f
[ "MIT" ]
null
null
null
plot_metric_err_vs_dim.py
wchen459/design_embeddings_jmd_2016
30dfec40b14c81e6cbe1c57efc2abe1a28dbdd5f
[ "MIT" ]
2
2018-08-31T22:46:03.000Z
2020-06-19T16:17:38.000Z
""" Plots reconstruction error vs semantic space dimensionality Usage: python metric_err_vs_dim.py Author(s): Wei Chen (wchen459@umd.edu) """ import matplotlib.pyplot as plt import numpy as np plt.rc("font", size=18) examples = ['glass', 'sf_linear', 'sf_s_nonlinear', 'sf_v_nonlinear'] titles = {'glass': ...
31.22
104
0.606022
224
1,561
4.080357
0.486607
0.02954
0.026258
0.039387
0
0
0
0
0
0
0
0.024917
0.2287
1,561
49
105
31.857143
0.734219
0.026265
0
0
0
0
0.266909
0
0
0
0
0
0
0
null
null
0
0.060606
null
null
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
12ccbde3bf71864760496c1e1f0963111fba9314
638
py
Python
test/environments/instances/8x8/gen.py
Multi-Agent-Research-Group/hog2
544d7c0e933fd69025944a0a3abcf9a40e59f0be
[ "MIT" ]
5
2020-08-03T09:43:26.000Z
2022-01-11T08:28:30.000Z
test/environments/instances/8x8/gen.py
Multi-Agent-Research-Group/hog2
544d7c0e933fd69025944a0a3abcf9a40e59f0be
[ "MIT" ]
null
null
null
test/environments/instances/8x8/gen.py
Multi-Agent-Research-Group/hog2
544d7c0e933fd69025944a0a3abcf9a40e59f0be
[ "MIT" ]
7
2017-07-31T13:01:28.000Z
2021-05-16T10:15:49.000Z
#!/usr/bin/python import random import os import errno for i in range(100): s=set() g=set() while len(s) < 50: s.add((random.randint(0,7),random.randint(0,7))) while len(g) < 50: g.add((random.randint(0,7),random.randint(0,7))) start=list(s) goal=list(g) for size in range(21,50): if not os...
22.785714
80
0.548589
114
638
3.070175
0.429825
0.148571
0.16
0.171429
0.188571
0.188571
0.188571
0.188571
0.188571
0
0
0.046748
0.22884
638
27
81
23.62963
0.664634
0.025078
0
0
0
0
0.05314
0
0
0
0
0
0
1
0
false
0
0.136364
0
0.136364
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
12d2af7e340f2c0b16013db0e187eff0a983f2ec
14,028
py
Python
stashboard/handlers/site.py
kelnos/stashboard
5f92ed14b8cf17f4b1be8441005b187e97ca74b8
[ "MIT" ]
1
2015-02-24T23:30:06.000Z
2015-02-24T23:30:06.000Z
stashboard/handlers/site.py
ratchetio/stashboard
f8e4e6d175f48701a154e4baca10de2a4a577ab4
[ "MIT" ]
null
null
null
stashboard/handlers/site.py
ratchetio/stashboard
f8e4e6d175f48701a154e4baca10de2a4a577ab4
[ "MIT" ]
null
null
null
# The MIT License # # Copyright (c) 2008 William T. Katz # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
32.852459
149
0.590961
1,644
14,028
4.91545
0.189173
0.027224
0.025863
0.018191
0.350699
0.31704
0.289816
0.264819
0.255661
0.230293
0
0.009108
0.295623
14,028
426
150
32.929577
0.808724
0.09923
0
0.390728
0
0
0.087875
0.002481
0
0
0
0
0
0
null
null
0
0.069536
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
12d68f272974ae7982471fbca3af702e552c3c1f
597
py
Python
ejercicios_python/Clase05/practica5-9.py
hcgalvan/UNSAM-Python-programming
c4b3f5ae0702dc03ea6010cb8051c7eec6aef42f
[ "MIT" ]
null
null
null
ejercicios_python/Clase05/practica5-9.py
hcgalvan/UNSAM-Python-programming
c4b3f5ae0702dc03ea6010cb8051c7eec6aef42f
[ "MIT" ]
null
null
null
ejercicios_python/Clase05/practica5-9.py
hcgalvan/UNSAM-Python-programming
c4b3f5ae0702dc03ea6010cb8051c7eec6aef42f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Sep 15 08:32:03 2021 @author: User """ import numpy as np import matplotlib.pyplot as plt a = np.array([[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]]) print(a) print(a[0]) print(a.ndim) #te dice la cantidad de ejes (o dimensiones) del arreglo print(a.shape) #Te va a dar una t...
22.111111
98
0.649916
116
597
3.327586
0.586207
0.170984
0.069948
0.062176
0
0
0
0
0
0
0
0.062868
0.147404
597
27
99
22.111111
0.695481
0.365159
0
0.117647
0
0
0
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0.764706
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
12d99705dd6d38a5113e0f5059a5a16ef3ce2532
231
py
Python
LeetCode/Product and Sum/Subtract_Product_And_Sum.py
GSri30/Competetive_programming
0dc1681500a80b6f0979d0dc9f749357ee07bcb8
[ "MIT" ]
22
2020-01-03T17:32:00.000Z
2021-11-07T09:31:44.000Z
LeetCode/Product and Sum/Subtract_Product_And_Sum.py
GSri30/Competetive_programming
0dc1681500a80b6f0979d0dc9f749357ee07bcb8
[ "MIT" ]
10
2020-09-30T09:41:18.000Z
2020-10-11T11:25:09.000Z
LeetCode/Product and Sum/Subtract_Product_And_Sum.py
GSri30/Competetive_programming
0dc1681500a80b6f0979d0dc9f749357ee07bcb8
[ "MIT" ]
25
2019-10-14T19:25:01.000Z
2021-05-26T08:12:20.000Z
class Solution: def subtractProductAndSum(self, n: int) -> int: x = n add = 0 mul = 1 while x > 0 : add += x%10 mul *= x%10 x = x//10 return mul - add
21
51
0.402597
29
231
3.206897
0.517241
0.096774
0
0
0
0
0
0
0
0
0
0.077586
0.497836
231
10
52
23.1
0.724138
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.3
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
12dbd5bf3d381ee625187e0ae26efd79aef7f23a
1,128
py
Python
test/office_schema.py
chrismaille/marshmallow-pynamodb
1e799041ff1053a6aa67ce72729e7262cb0f746f
[ "MIT" ]
3
2020-05-17T15:04:27.000Z
2021-08-12T14:27:15.000Z
test/office_schema.py
chrismaille/marshmallow-pynamodb
1e799041ff1053a6aa67ce72729e7262cb0f746f
[ "MIT" ]
2
2020-05-06T00:11:49.000Z
2022-02-23T11:45:54.000Z
test/office_schema.py
chrismaille/marshmallow-pynamodb
1e799041ff1053a6aa67ce72729e7262cb0f746f
[ "MIT" ]
1
2020-04-30T19:34:22.000Z
2020-04-30T19:34:22.000Z
from test.office_model import Headquarters, Office from marshmallow import fields from pynamodb.attributes import DiscriminatorAttribute from marshmallow_pynamodb import ModelSchema class OfficeSchema(ModelSchema): """Office Schema for PynamoDB Office Model. We are overriding PynamoDB NumberSetAttribut...
22.117647
63
0.721631
117
1,128
6.923077
0.42735
0.040741
0.039506
0.051852
0.123457
0.123457
0.123457
0
0
0
0
0
0.212766
1,128
50
64
22.56
0.912162
0.389184
0
0.294118
0
0
0
0
0
0
0
0
0
1
0
false
0
0.235294
0
0.823529
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
12ddf9c1d17cbd9db7aea277570f0278393c93a6
1,599
py
Python
energy_demand/initalisations/initialisations.py
willu47/energy_demand
59a2712f353f47e3dc237479cc6cc46666b7d0f1
[ "MIT" ]
null
null
null
energy_demand/initalisations/initialisations.py
willu47/energy_demand
59a2712f353f47e3dc237479cc6cc46666b7d0f1
[ "MIT" ]
null
null
null
energy_demand/initalisations/initialisations.py
willu47/energy_demand
59a2712f353f47e3dc237479cc6cc46666b7d0f1
[ "MIT" ]
null
null
null
"""Helper initialising functions """ #pylint: disable=I0011, C0321, C0301, C0103, C0325, R0902, R0913, no-member, E0213 def init_fuel_tech_p_by(all_enduses_with_fuels, nr_of_fueltypes): """Helper function to define stocks for all enduse and fueltype Parameters ---------- all_enduses_with_fuels : dict ...
24.984375
104
0.676048
218
1,599
4.59633
0.330275
0.063872
0.071856
0.087824
0.137725
0.093812
0
0
0
0
0
0.027687
0.23202
1,599
63
105
25.380952
0.788274
0.497186
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
12e000a4e8578ea58e111e55e0187884ea14b784
26,842
py
Python
Lib/site-packages/wx-3.0-msw/wx/tools/Editra/src/util.py
jickieduan/python27
c752b552396bbed68d8555080d475718cea2edd0
[ "bzip2-1.0.6" ]
5
2019-03-11T14:30:31.000Z
2021-12-04T14:11:54.000Z
Lib/site-packages/wx-3.0-msw/wx/tools/Editra/src/util.py
jickieduan/python27
c752b552396bbed68d8555080d475718cea2edd0
[ "bzip2-1.0.6" ]
1
2018-07-28T20:07:04.000Z
2018-07-30T18:28:34.000Z
Lib/site-packages/wx-3.0-msw/wx/tools/Editra/src/util.py
jickieduan/python27
c752b552396bbed68d8555080d475718cea2edd0
[ "bzip2-1.0.6" ]
2
2019-12-02T01:39:10.000Z
2021-02-13T22:41:00.000Z
############################################################################### # Name: util.py # # Purpose: Misc utility functions used through out Editra # # Author: Cody Precord <cprecord@editra.org> # ...
33.891414
80
0.595671
3,376
26,842
4.628555
0.208531
0.012671
0.008639
0.00768
0.238577
0.199347
0.167797
0.149814
0.137463
0.112633
0
0.005092
0.297593
26,842
791
81
33.93426
0.823698
0.075255
0
0.300448
0
0
0.057785
0.002846
0
0
0
0.00885
0.011211
0
null
null
0.026906
0.035874
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
12e101d3d1c0a3624036d3fc55bbec2095eca800
2,690
py
Python
tests/test_user.py
munniomer/Send-IT-Api-v1
17041c987638c7e47c7c2ebed29bf7e2b5156bed
[ "CNRI-Python", "OML" ]
null
null
null
tests/test_user.py
munniomer/Send-IT-Api-v1
17041c987638c7e47c7c2ebed29bf7e2b5156bed
[ "CNRI-Python", "OML" ]
null
null
null
tests/test_user.py
munniomer/Send-IT-Api-v1
17041c987638c7e47c7c2ebed29bf7e2b5156bed
[ "CNRI-Python", "OML" ]
1
2019-02-05T07:44:19.000Z
2019-02-05T07:44:19.000Z
import unittest from app import create_app import json from tests.basetest import BaseTest class TestUSer(BaseTest): """User tests class""" def test_user_registration(self): "tests if new user can register" respon = self.client.post("/api/v1/user/register", json=self.new_user) self.as...
42.03125
99
0.637546
349
2,690
4.787966
0.22063
0.067026
0.067026
0.081388
0.716936
0.698384
0.621185
0.552962
0.552962
0.552962
0
0.018803
0.248699
2,690
63
100
42.698413
0.808016
0.0829
0
0.425532
0
0
0.239643
0.068237
0
0
0
0
0.276596
1
0.148936
false
0.085106
0.085106
0
0.255319
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
12e805833151bd1898679d1e39b89a2e7fde7f1c
2,600
py
Python
custom_components/panasonic_cc/__init__.py
shyne99/panasonic_cc
ec7912e4067ebd0c08ea2a16c123c50d69a2fca6
[ "MIT" ]
null
null
null
custom_components/panasonic_cc/__init__.py
shyne99/panasonic_cc
ec7912e4067ebd0c08ea2a16c123c50d69a2fca6
[ "MIT" ]
null
null
null
custom_components/panasonic_cc/__init__.py
shyne99/panasonic_cc
ec7912e4067ebd0c08ea2a16c123c50d69a2fca6
[ "MIT" ]
null
null
null
"""Platform for the Panasonic Comfort Cloud.""" from datetime import timedelta import logging from typing import Any, Dict import asyncio from async_timeout import timeout import voluptuous as vol from homeassistant.core import HomeAssistant from homeassistant.config_entries import SOURCE_IMPORT, ConfigEntry from ho...
27.368421
83
0.699231
298
2,600
5.922819
0.342282
0.063456
0.022096
0.040793
0.10085
0.074788
0
0
0
0
0
0
0.22
2,600
94
84
27.659574
0.870316
0.015769
0
0.044776
0
0
0.038572
0
0
0
0
0
0
1
0.014925
false
0.074627
0.238806
0
0.298507
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
12ec838b4e6e3d1f8f2bea5549297c2e3c075ade
2,484
py
Python
test/core/bad_ssl/gen_build_yaml.py
Akrog/grpc
14800b0c1acc2d10d4fd0826731ecae2cb448143
[ "Apache-2.0" ]
3
2020-10-07T14:20:21.000Z
2021-10-08T14:49:17.000Z
test/core/bad_ssl/gen_build_yaml.py
Akrog/grpc
14800b0c1acc2d10d4fd0826731ecae2cb448143
[ "Apache-2.0" ]
1
2021-03-04T02:33:56.000Z
2021-03-04T02:33:56.000Z
test/core/bad_ssl/gen_build_yaml.py
Akrog/grpc
14800b0c1acc2d10d4fd0826731ecae2cb448143
[ "Apache-2.0" ]
5
2021-02-19T09:46:00.000Z
2022-03-13T17:33:34.000Z
#!/usr/bin/env python2.7 # Copyright 2015 gRPC authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
35.485714
76
0.595813
320
2,484
4.421875
0.4375
0.046643
0.039576
0.039576
0.279859
0.24947
0.222615
0.185866
0.137809
0.137809
0
0.009194
0.255636
2,484
69
77
36
0.756084
0.289855
0
0.272727
0
0
0.349671
0.096234
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
12ed9629940a31dc96db1b6d58b951b990da8233
3,723
py
Python
infoblox_netmri/api/remote/models/device_password_log_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
infoblox_netmri/api/remote/models/device_password_log_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
infoblox_netmri/api/remote/models/device_password_log_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
from ..remote import RemoteModel from infoblox_netmri.utils.utils import check_api_availability class DevicePasswordLogRemote(RemoteModel): """ This table list out entries of DevicePasswordLog | ``DevicePwLogID:`` The internal NetMRI identifier for the device password log. | ``attribute type:`...
31.285714
130
0.608649
314
3,723
7.181529
0.251592
0.103769
0.090466
0.126829
0.48204
0.468293
0.429712
0.384479
0.294013
0.228825
0
0
0.299221
3,723
119
131
31.285714
0.864316
0.551168
0
0.193548
0
0
0.251282
0.134066
0
0
0
0
0
1
0.096774
false
0.129032
0.064516
0
0.322581
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
12f2a17d10d6e7d8016a1adfcae38305fb8b1df9
2,386
py
Python
franka_lcas_experiments/script/load_model_rtp.py
arsh09/franka_ros_lcas
b6211125436849d5c7def8ad96a384cc34f2f121
[ "Apache-2.0" ]
2
2021-11-09T00:50:43.000Z
2021-11-15T09:50:47.000Z
franka_lcas_experiments/script/load_model_rtp.py
arsh09/franka_ros_lcas
b6211125436849d5c7def8ad96a384cc34f2f121
[ "Apache-2.0" ]
null
null
null
franka_lcas_experiments/script/load_model_rtp.py
arsh09/franka_ros_lcas
b6211125436849d5c7def8ad96a384cc34f2f121
[ "Apache-2.0" ]
1
2021-11-17T13:24:23.000Z
2021-11-17T13:24:23.000Z
import numpy as np import os, sys os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' from tensorflow.keras.models import Model import tensorflow as tf from PIL import Image from utils_rtp import ProMP class Predictor: def __init__(self, encoder_model_path, predictor_model_path): self.all_phi = self.promp_train(...
40.440678
138
0.690696
343
2,386
4.568513
0.35277
0.191449
0.191449
0.153159
0.264837
0.259732
0.104659
0.06254
0
0
0
0.017544
0.187762
2,386
58
139
41.137931
0.791022
0.033948
0
0
0
0.02439
0.177237
0.106429
0
0
0
0
0
1
0.097561
false
0
0.146341
0.02439
0.341463
0.02439
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
12f80c5f985c410a5af8bdf06f87e46b6aa396c4
1,241
py
Python
parsers/parsers_base.py
xm4dn355x/async_test
92e7ec6a693ff4850ed603c0f4f0fa83e63b4e49
[ "MIT" ]
null
null
null
parsers/parsers_base.py
xm4dn355x/async_test
92e7ec6a693ff4850ed603c0f4f0fa83e63b4e49
[ "MIT" ]
null
null
null
parsers/parsers_base.py
xm4dn355x/async_test
92e7ec6a693ff4850ed603c0f4f0fa83e63b4e49
[ "MIT" ]
null
null
null
# # Общие функции для всех парсеров # # Автор: Никитенко Михаил # Лицензия: MIT License # from time import sleep import requests def get_htmls(urls): """ Получает список URL-адресов Возвращает список из всех полученных HTML документов :param urls: Список URL-адресов :type u...
27.577778
109
0.654311
154
1,241
5.194805
0.532468
0.02625
0.0375
0
0
0
0
0
0
0
0
0.004372
0.262691
1,241
45
110
27.577778
0.869945
0.578566
0
0
0
0
0.102941
0
0
0
0
0
0
1
0.125
false
0.0625
0.125
0
0.375
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
1
0
0
0
0
0
1
12f867945891bf95b1fd61c639ac565c8cecb9f9
16,303
py
Python
smbspider/smbspider.py
vonahi/pentesting_scripts
233b07a13e631cd121985465c083327f2fe372b6
[ "MIT" ]
13
2019-09-18T17:15:22.000Z
2022-02-20T00:28:35.000Z
smbspider/smbspider.py
vonahi/pentesting_scripts
233b07a13e631cd121985465c083327f2fe372b6
[ "MIT" ]
null
null
null
smbspider/smbspider.py
vonahi/pentesting_scripts
233b07a13e631cd121985465c083327f2fe372b6
[ "MIT" ]
4
2019-07-24T10:03:41.000Z
2021-11-22T06:19:54.000Z
#!/usr/bin/python # # This post-exploitation script can be used to spider numerous systems # to identify sensitive and/or confidential data. A good scenario to # use this script is when you have admin credentials to tons of # Windows systems, and you want to look for files containing data such # as PII, network pas...
38.541371
157
0.626326
2,339
16,303
4.238563
0.164173
0.031773
0.029958
0.018156
0.353843
0.311781
0.271031
0.234819
0.210006
0.181864
0
0.008337
0.198
16,303
422
158
38.632701
0.749904
0.067227
0
0.241935
0
0.016129
0.259545
0.007569
0.005376
0
0
0
0
0
null
null
0.02957
0.005376
null
null
0.129032
0
0
0
null
0
0
0
0
0
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
12fd58577de1528a698dc2d572273da89af94b00
217
py
Python
serempre_todo/utils/choices.py
pygabo/Serempre
6b29e337abd8d1b3f71ee889d318a2d473d6c744
[ "MIT" ]
null
null
null
serempre_todo/utils/choices.py
pygabo/Serempre
6b29e337abd8d1b3f71ee889d318a2d473d6c744
[ "MIT" ]
null
null
null
serempre_todo/utils/choices.py
pygabo/Serempre
6b29e337abd8d1b3f71ee889d318a2d473d6c744
[ "MIT" ]
null
null
null
TASK_STATUS = [ ('TD', 'To Do'), ('IP', 'In Progress'), ('QA', 'Testing'), ('DO', 'Done'), ] TASK_PRIORITY = [ ('ME', 'Medium'), ('HI', 'Highest'), ('HG', 'High'), ('LO', 'Lowest'), ]
15.5
26
0.40553
22
217
3.909091
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.271889
217
13
27
16.692308
0.544304
0
0
0
0
0
0.304147
0
0
0
0
0
0
1
0
false
0
0
0
0
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
12fea94d07f9c12bbbce2e89b9de91f96defafac
1,330
py
Python
resources/mgltools_x86_64Linux2_1.5.6/lib/python2.5/site-packages/Pmw/Pmw_1_3/demos/SelectionDialog.py
J-E-J-S/aaRS-Pipeline
43f59f28ab06e4b16328c3bc405cdddc6e69ac44
[ "MIT" ]
3
2017-09-26T03:09:14.000Z
2022-03-20T11:12:34.000Z
resources/mgltools_x86_64Linux2_1.5.6/lib/python2.5/site-packages/Pmw/Pmw_1_3/demos/SelectionDialog.py
J-E-J-S/aaRS-Pipeline
43f59f28ab06e4b16328c3bc405cdddc6e69ac44
[ "MIT" ]
null
null
null
resources/mgltools_x86_64Linux2_1.5.6/lib/python2.5/site-packages/Pmw/Pmw_1_3/demos/SelectionDialog.py
J-E-J-S/aaRS-Pipeline
43f59f28ab06e4b16328c3bc405cdddc6e69ac44
[ "MIT" ]
2
2019-10-05T23:02:41.000Z
2020-06-25T20:21:02.000Z
title = 'Pmw.SelectionDialog demonstration' # Import Pmw from this directory tree. import sys sys.path[:0] = ['../../..'] import Tkinter import Pmw class Demo: def __init__(self, parent): # Create the dialog. self.dialog = Pmw.SelectionDialog(parent, title = 'My SelectionDialog', buttons = ('OK', 'Ca...
27.708333
76
0.619549
158
1,330
5.120253
0.531646
0.061805
0.037083
0.042027
0.05686
0
0
0
0
0
0
0.00466
0.193233
1,330
47
77
28.297872
0.749301
0.098496
0
0
0
0
0.177936
0
0
0
0
0
0
0
null
null
0
0.088235
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
12ff9748e2c126e4060dc274380a9e865c327195
778
py
Python
py3plex/algorithms/infomap/examples/python/example-simple.py
awesome-archive/Py3plex
a099acb992441c1630208ba13694acb8e2a38895
[ "BSD-3-Clause" ]
1
2020-02-20T07:37:02.000Z
2020-02-20T07:37:02.000Z
py3plex/algorithms/infomap/examples/python/example-simple.py
awesome-archive/Py3plex
a099acb992441c1630208ba13694acb8e2a38895
[ "BSD-3-Clause" ]
null
null
null
py3plex/algorithms/infomap/examples/python/example-simple.py
awesome-archive/Py3plex
a099acb992441c1630208ba13694acb8e2a38895
[ "BSD-3-Clause" ]
null
null
null
from infomap import infomap infomapWrapper = infomap.Infomap("--two-level") # Add weight as an optional third argument infomapWrapper.addLink(0, 1) infomapWrapper.addLink(0, 2) infomapWrapper.addLink(0, 3) infomapWrapper.addLink(1, 0) infomapWrapper.addLink(1, 2) infomapWrapper.addLink(2, 1) infomapWrapper.addLink(2,...
25.096774
89
0.75964
104
778
5.682692
0.365385
0.497462
0.111675
0.077834
0
0
0
0
0
0
0
0.039829
0.096401
778
30
90
25.933333
0.800853
0.051414
0
0
0
0
0.089796
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
0.136364
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
4206719b66d7095a812ba8babe145ead4c49882e
1,325
py
Python
test/test_edge.py
jbschwartz/spatial
04dc619ae024ebb4f516cd6483f835421c7d84b1
[ "MIT" ]
1
2022-01-02T22:03:09.000Z
2022-01-02T22:03:09.000Z
test/test_edge.py
jbschwartz/spatial
04dc619ae024ebb4f516cd6483f835421c7d84b1
[ "MIT" ]
null
null
null
test/test_edge.py
jbschwartz/spatial
04dc619ae024ebb4f516cd6483f835421c7d84b1
[ "MIT" ]
null
null
null
import unittest from spatial import Edge, Vector3 class TestEdge(unittest.TestCase): def setUp(self) -> None: self.start = Vector3(1, 2, 3) self.end = Vector3(-1, -2, -3) self.middle = Vector3(0, 0, 0) self.edge = Edge(self.start, self.end) def test__init__accepts_endpoints(s...
36.805556
81
0.695849
178
1,325
4.88764
0.258427
0.091954
0.089655
0.158621
0.367816
0.256322
0.091954
0
0
0
0
0.013023
0.188679
1,325
35
82
37.857143
0.796279
0
0
0
0
0
0.004528
0
0
0
0
0
0.36
1
0.24
false
0
0.08
0
0.36
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
4207202cb690f62fcf73ad7c61a82a12bebf477d
419
py
Python
src/login/migrations/0017_auto_20191006_1716.py
vandana0608/Pharmacy-Managament
f99bdec11c24027a432858daa19247a21cecc092
[ "bzip2-1.0.6" ]
null
null
null
src/login/migrations/0017_auto_20191006_1716.py
vandana0608/Pharmacy-Managament
f99bdec11c24027a432858daa19247a21cecc092
[ "bzip2-1.0.6" ]
null
null
null
src/login/migrations/0017_auto_20191006_1716.py
vandana0608/Pharmacy-Managament
f99bdec11c24027a432858daa19247a21cecc092
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 2.0.7 on 2019-10-06 11:46 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('login', '0016_auto_20191006_1715'), ] operations = [ migrations.AlterField( model_name='login', name...
20.95
70
0.620525
45
419
5.688889
0.777778
0
0
0
0
0
0
0
0
0
0
0.101307
0.26969
419
19
71
22.052632
0.735294
0.107399
0
0
1
0
0.104839
0.061828
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4209d56bec0f4b46b06778591fc9cb1f2f7511a5
3,140
py
Python
swagger_server/models/linecode_r_matrix.py
garagonc/simulation-engine
c129f0bf601e0d56d924c9e5fa2cf94f7e31a356
[ "Apache-2.0" ]
3
2019-06-24T09:02:21.000Z
2020-01-30T10:37:46.000Z
swagger_server/models/linecode_r_matrix.py
linksmart/simulation-engine
c129f0bf601e0d56d924c9e5fa2cf94f7e31a356
[ "Apache-2.0" ]
null
null
null
swagger_server/models/linecode_r_matrix.py
linksmart/simulation-engine
c129f0bf601e0d56d924c9e5fa2cf94f7e31a356
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from swagger_server.models.base_model_ import Model from swagger_server.models.impedance import Impedance # noqa: F401,E501 from swagger_server import util class Lin...
26.610169
112
0.62293
396
3,140
4.699495
0.174242
0.07093
0.180548
0.029554
0.494358
0.361096
0.240193
0.212789
0.132187
0
0
0.012618
0.293312
3,140
117
113
26.837607
0.826048
0.426115
0
0.214286
0
0
0.052174
0
0
0
0
0
0
1
0.190476
false
0
0.142857
0
0.452381
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
420dab6ca09e09f7cbafe716ac539156b5dcaa62
773
py
Python
setup.py
atait/klayout-gadgets
a8d9655e547fc4531982bbe55e632009bad39096
[ "MIT" ]
13
2018-12-02T23:32:29.000Z
2022-02-11T19:28:49.000Z
setup.py
atait/klayout-gadgets
a8d9655e547fc4531982bbe55e632009bad39096
[ "MIT" ]
3
2019-01-15T23:59:59.000Z
2020-12-04T16:30:48.000Z
setup.py
atait/klayout-gadgets
a8d9655e547fc4531982bbe55e632009bad39096
[ "MIT" ]
1
2020-12-01T22:56:03.000Z
2020-12-01T22:56:03.000Z
from setuptools import setup def readme(): with open('README.md', 'r') as fx: return fx.read() setup(name='lygadgets', version='0.1.31', description='Tools to make klayout, the standalone, and python environments work better together', long_description=readme(), long_description_co...
29.730769
104
0.654592
89
773
5.47191
0.752809
0.061602
0.082136
0.090349
0
0
0
0
0
0
0
0.006515
0.205692
773
25
105
30.92
0.786645
0
0
0
0
0
0.390686
0.161708
0
0
0
0
0
1
0.047619
true
0
0.047619
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
420ed2750c333b6a9c2bf33a7391b56504549e6c
4,639
py
Python
stackalytics/get_metric.py
yaoice/python_demo
024f42f9cfce757bdaddf24202d8547801f0e8f6
[ "Apache-2.0" ]
null
null
null
stackalytics/get_metric.py
yaoice/python_demo
024f42f9cfce757bdaddf24202d8547801f0e8f6
[ "Apache-2.0" ]
2
2021-02-08T20:17:39.000Z
2021-06-01T21:49:12.000Z
stackalytics/get_metric.py
yaoice/python_demo
024f42f9cfce757bdaddf24202d8547801f0e8f6
[ "Apache-2.0" ]
null
null
null
#/usr/bin/env python import httplib2 import json import sys from prettytable import PrettyTable from config import field class BaseStackalytics(object): _instance = None def __new__(cls, *args, **kwargs): if not cls._instance: cls._instance = super(BaseStackalytics, cls).__new__(cls, *arg...
43.764151
143
0.527053
416
4,639
5.629808
0.194712
0.112724
0.089667
0.059778
0.456447
0.340734
0.272417
0.081127
0.081127
0.081127
0
0.004757
0.365596
4,639
105
144
44.180952
0.79103
0.010131
0
0.231707
0
0
0.114597
0.033987
0
0
0
0
0
0
null
null
0
0.060976
null
null
0.060976
0
0
0
null
0
0
0
0
0
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
42144545d417abe762a3d9307033d86aace5b332
805
py
Python
ontask/migrations/0004_remove_old_migration_refs.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
33
2017-12-02T04:09:24.000Z
2021-11-07T08:41:57.000Z
ontask/migrations/0004_remove_old_migration_refs.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
189
2017-11-16T04:06:29.000Z
2022-03-11T23:35:59.000Z
ontask/migrations/0004_remove_old_migration_refs.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
30
2017-11-30T03:35:44.000Z
2022-01-31T03:08:08.000Z
# Generated by Django 2.2.4 on 2019-08-24 06:02 from django.db import connection as con, migrations from psycopg2 import sql def remove_old_migration_refs(apps, schema_editor): __sql_delete_migration_ref = 'DELETE FROM django_migrations WHERE app={0}' old_apps = [ 'action', 'core', 'dataops', 'logs'...
26.833333
78
0.650932
97
805
5.14433
0.608247
0.04008
0.072144
0.088176
0
0
0
0
0
0
0
0.034202
0.237267
805
29
79
27.758621
0.778502
0.055901
0
0
1
0
0.184697
0.030343
0
0
0
0
0
1
0.052632
false
0
0.105263
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
42149897d0b37e2db558007492da879e2a80968d
639
py
Python
scripts/tfloc_summary.py
lldelisle/bx-python
19ab41e0905221e3fcaaed4b74faf2d7cda0d15a
[ "MIT" ]
122
2015-07-01T12:00:22.000Z
2022-03-02T09:27:35.000Z
scripts/tfloc_summary.py
lldelisle/bx-python
19ab41e0905221e3fcaaed4b74faf2d7cda0d15a
[ "MIT" ]
64
2015-11-06T21:03:18.000Z
2022-03-24T00:55:27.000Z
scripts/tfloc_summary.py
lldelisle/bx-python
19ab41e0905221e3fcaaed4b74faf2d7cda0d15a
[ "MIT" ]
60
2015-10-05T19:19:36.000Z
2021-11-19T20:53:54.000Z
#!/usr/bin/env python """ Read TFLOC output from stdin and write out a summary in which the nth line contains the number of sites found in the nth alignment of the input. TODO: This is very special case, should it be here? """ import sys from collections import defaultdict counts = defaultdict(int) max_index = -1 ...
22.821429
74
0.674491
100
639
4.24
0.59
0.075472
0.042453
0
0
0
0
0
0
0
0
0.012146
0.226917
639
27
75
23.666667
0.846154
0.341158
0
0
0
0
0.048426
0
0
0
0
0.037037
0
1
0
false
0
0.142857
0
0.142857
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
421c88021499b88620b09442779453fef21cf565
1,212
py
Python
task_manager/users/forms.py
Ritesh-Aggarwal/Task-Manager-Django
b8f8df10b0b0a9cc9cd27346a0b5d4d5892d2f24
[ "MIT" ]
null
null
null
task_manager/users/forms.py
Ritesh-Aggarwal/Task-Manager-Django
b8f8df10b0b0a9cc9cd27346a0b5d4d5892d2f24
[ "MIT" ]
null
null
null
task_manager/users/forms.py
Ritesh-Aggarwal/Task-Manager-Django
b8f8df10b0b0a9cc9cd27346a0b5d4d5892d2f24
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth import get_user_model from django.contrib.auth.forms import ( AuthenticationForm, UserCreationForm, UsernameField, ) User = get_user_model() class UserLoginForm(AuthenticationForm): def __init__(self, *args, **kwargs): super(UserLoginForm, sel...
26.347826
77
0.605611
127
1,212
5.622047
0.291339
0.077031
0.084034
0.112045
0.571429
0.498599
0.42577
0.42577
0.42577
0.42577
0
0.024691
0.264851
1,212
45
78
26.933333
0.776655
0
0
0.236842
0
0
0.127888
0
0
0
0
0
0
1
0.052632
false
0.131579
0.078947
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4222c98b7de332bf9b4c1cc8bba790b9eea99314
1,021
py
Python
wiiu.py
RN-JK/UBIART-Texture-Decoder
71e190c12b1b8813dcda1f26cd115d9f89cc7619
[ "MIT" ]
null
null
null
wiiu.py
RN-JK/UBIART-Texture-Decoder
71e190c12b1b8813dcda1f26cd115d9f89cc7619
[ "MIT" ]
null
null
null
wiiu.py
RN-JK/UBIART-Texture-Decoder
71e190c12b1b8813dcda1f26cd115d9f89cc7619
[ "MIT" ]
1
2021-11-29T05:57:55.000Z
2021-11-29T05:57:55.000Z
import os, glob try: os.mkdir("output") except: pass wiiudir="input/wiiu" try: os.makedirs(wiiudir) print('The directories have been made.') input('Insert your textures in input/wiiu and then run the tool again to convert it.') except: pass dir = 'input/temp' t...
18.563636
103
0.5524
134
1,021
4.208955
0.462687
0.088652
0.046099
0.056738
0
0
0
0
0
0
0
0.004087
0.281097
1,021
55
104
18.563636
0.764305
0
0
0.405405
0
0
0.238636
0
0
0
0
0
0
1
0
false
0.135135
0.027027
0
0.027027
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
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
4224f59023f612daa74db320160910b42cc05439
3,897
py
Python
push-package.py
OpenTrustGroup/scripts
31ca2ca5bae055113c6f92a2eb75b0c7528902b3
[ "BSD-3-Clause" ]
null
null
null
push-package.py
OpenTrustGroup/scripts
31ca2ca5bae055113c6f92a2eb75b0c7528902b3
[ "BSD-3-Clause" ]
null
null
null
push-package.py
OpenTrustGroup/scripts
31ca2ca5bae055113c6f92a2eb75b0c7528902b3
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright 2017 The Fuchsia Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import argparse import errno import json import os import subprocess import sys import tempfile DEFAULT_DST_ROOT = '/system' DEFAULT_OU...
26.691781
79
0.647164
535
3,897
4.560748
0.353271
0.034426
0.041803
0.013115
0.062295
0.044262
0.027869
0
0
0
0
0.0077
0.233513
3,897
145
80
26.875862
0.809173
0.100334
0
0.084112
0
0
0.162997
0.021733
0
0
0
0
0
0
null
null
0.009346
0.065421
null
null
0.046729
0
0
0
null
0
0
0
0
0
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
422eaaa92344214317cacbe394deaa82d7096b9d
6,552
py
Python
endpoints/v2/errors.py
giuseppe/quay
a1b7e4b51974edfe86f66788621011eef2667e6a
[ "Apache-2.0" ]
2,027
2019-11-12T18:05:48.000Z
2022-03-31T22:25:04.000Z
endpoints/v2/errors.py
giuseppe/quay
a1b7e4b51974edfe86f66788621011eef2667e6a
[ "Apache-2.0" ]
496
2019-11-12T18:13:37.000Z
2022-03-31T10:43:45.000Z
endpoints/v2/errors.py
giuseppe/quay
a1b7e4b51974edfe86f66788621011eef2667e6a
[ "Apache-2.0" ]
249
2019-11-12T18:02:27.000Z
2022-03-22T12:19:19.000Z
import bitmath class V2RegistryException(Exception): def __init__( self, error_code_str, message, detail, http_status_code=400, repository=None, scopes=None, is_read_only=False, ): super(V2RegistryException, self).__init__(message) ...
32.435644
100
0.654609
675
6,552
5.985185
0.216296
0.039851
0.062624
0.163366
0.303465
0.265099
0.196287
0.027723
0.027723
0
0
0.014419
0.248474
6,552
201
101
32.597015
0.806052
0
0
0.147651
0
0
0.200397
0.003205
0
0
0
0
0
1
0.161074
false
0
0.006711
0
0.328859
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
423075718e222b99f83bdb4ab73a14063da9d0ee
37,354
py
Python
ui/staff.py
AryaStarkSakura/Stylized-Neural-Painting
0502c9f12eb582fe2ebd0ffdc7008dc81cefa74c
[ "CC0-1.0" ]
null
null
null
ui/staff.py
AryaStarkSakura/Stylized-Neural-Painting
0502c9f12eb582fe2ebd0ffdc7008dc81cefa74c
[ "CC0-1.0" ]
null
null
null
ui/staff.py
AryaStarkSakura/Stylized-Neural-Painting
0502c9f12eb582fe2ebd0ffdc7008dc81cefa74c
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'staff.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWind...
46.750939
101
0.591235
3,742
37,354
5.810262
0.095671
0.047604
0.071843
0.02962
0.474519
0.396836
0.282219
0.18278
0.170454
0.110109
0
0.052539
0.282058
37,354
798
102
46.809524
0.758185
0.004792
0
0.311203
1
0
0.118489
0.032313
0
0
0
0
0
1
0.002766
false
0
0.001383
0
0.005533
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
423268278bdfbc38d38322d8349807e008e76abd
1,262
py
Python
sun.py
funxiun/AstroAlgorithms4Python
98098956daba2706c993fa6370d8cdfa4013cb8d
[ "Unlicense" ]
7
2018-09-29T11:35:40.000Z
2022-01-11T14:06:44.000Z
sun.py
funxiun/AstroAlgorithms4Python
98098956daba2706c993fa6370d8cdfa4013cb8d
[ "Unlicense" ]
null
null
null
sun.py
funxiun/AstroAlgorithms4Python
98098956daba2706c993fa6370d8cdfa4013cb8d
[ "Unlicense" ]
8
2018-09-29T11:36:01.000Z
2021-10-17T15:25:55.000Z
'''Meeus: Astronomical Algorithms (2nd ed.), chapter 25''' import math from nutation_ecliptic import ecliptic from constants import AU def coordinates(jd): '''equatorial coordinates of Sun''' lon=math.radians(longitude(jd)) eps=math.radians(ecliptic(jd)) ra=math.degrees(math.atan2(math.c...
26.291667
126
0.62916
220
1,262
3.604545
0.322727
0.079445
0.037831
0.032787
0.320303
0.320303
0.320303
0.320303
0.320303
0.320303
0
0.233941
0.173534
1,262
47
127
26.851064
0.526366
0.098257
0
0.24
0
0
0
0
0
0
0
0
0
1
0.12
false
0
0.12
0
0.36
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4233e43b1aa8c3735bfa71a29e6ebbf01825729f
5,681
py
Python
test/paths.py
cychitivav/kobuki_navigation
9da1ad425b8804b49005720594e9837295eb9976
[ "MIT" ]
null
null
null
test/paths.py
cychitivav/kobuki_navigation
9da1ad425b8804b49005720594e9837295eb9976
[ "MIT" ]
null
null
null
test/paths.py
cychitivav/kobuki_navigation
9da1ad425b8804b49005720594e9837295eb9976
[ "MIT" ]
null
null
null
#!/usr/bin/python import numpy as np import cv2 from matplotlib import pyplot as plt import networkx as nx def rotate_image(image, angle): image_center = tuple(np.array(image.shape[0:2]) / 2) rot_mat = cv2.getRotationMatrix2D(image_center, angle, 1) vertical = cv2.warpAffine(image, rot_mat, image.shape[0...
31.38674
88
0.520155
827
5,681
3.490931
0.232164
0.010391
0.030481
0.033253
0.357465
0.332525
0.329754
0.272948
0.236231
0.207135
0
0.091124
0.329695
5,681
181
89
31.38674
0.667017
0.068474
0
0.206349
0
0
0.026689
0
0
0
0
0
0
0
null
null
0
0.031746
null
null
0.007937
0
0
0
null
0
0
0
0
0
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
423dba72ede1b75a23e84d734d1a416227c1565d
2,116
py
Python
DeepBrainSeg/readers/nib.py
JasperHG90/DeepBrainSeg
92cf5f758f115e7ac51202966a1287fb58c09d78
[ "MIT" ]
130
2019-04-09T02:35:44.000Z
2022-02-26T15:53:19.000Z
DeepBrainSeg/readers/nib.py
koriavinash1/DeepMedX
02fcee6d7b21b16e7f1e28089f24be56ef6b9383
[ "MIT" ]
11
2019-09-18T03:55:29.000Z
2021-01-03T13:11:20.000Z
DeepBrainSeg/readers/nib.py
koriavinash1/DeepMedX
02fcee6d7b21b16e7f1e28089f24be56ef6b9383
[ "MIT" ]
38
2018-11-28T01:34:41.000Z
2022-01-17T03:53:47.000Z
#! /usr/bin/env python # -*- coding: utf-8 -*- # # author: Avinash Kori # contact: koriavinash1@gmail.com # MIT License # Copyright (c) 2020 Avinash Kori # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in...
30.666667
80
0.676749
290
2,116
4.903448
0.517241
0.061885
0.018284
0
0
0
0
0
0
0
0
0.005714
0.255671
2,116
68
81
31.117647
0.897143
0.626654
0
0
0
0
0
0
0
0
0
0
0
1
0.136364
false
0.045455
0.272727
0
0.590909
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
423fee1037a4130b27a1927c09025e289e851a6f
1,491
py
Python
utils_test.py
lostsquirrel/words
aaa4bb2b3a9c8c7c7300e29ec73f39cff4409b8d
[ "MIT" ]
null
null
null
utils_test.py
lostsquirrel/words
aaa4bb2b3a9c8c7c7300e29ec73f39cff4409b8d
[ "MIT" ]
null
null
null
utils_test.py
lostsquirrel/words
aaa4bb2b3a9c8c7c7300e29ec73f39cff4409b8d
[ "MIT" ]
null
null
null
import json import unittest from utils import CustomEncoder, Paging, ValidationError, generate_uuid, Validator class UtilsTest(unittest.TestCase): def test_uuid(self): print(generate_uuid()) self.assertEqual(len(generate_uuid()), 32) def test_valiate(self): form = dict( ...
26.625
82
0.564051
187
1,491
4.31016
0.278075
0.060794
0.064516
0.033499
0.269231
0.157568
0.054591
0
0
0
0
0.028293
0.312542
1,491
56
83
26.625
0.758049
0
0
0.222222
1
0
0.013405
0
0
0
0
0
0.155556
1
0.155556
false
0
0.066667
0
0.244444
0.133333
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
4252097259c5f8f2219e8a65c81337c134ef50fa
1,151
py
Python
src/clean_property_file.py
wmaciel/van-crime
e70d0310f41de3a1b54572f6c6bf01083e56e0ab
[ "MIT" ]
2
2016-03-03T00:14:59.000Z
2016-08-21T14:28:02.000Z
src/clean_property_file.py
wmaciel/van-crime
e70d0310f41de3a1b54572f6c6bf01083e56e0ab
[ "MIT" ]
null
null
null
src/clean_property_file.py
wmaciel/van-crime
e70d0310f41de3a1b54572f6c6bf01083e56e0ab
[ "MIT" ]
null
null
null
__author__ = 'walthermaciel' import pandas as pd import numpy as np def load_csv(path): # Load print 'Loading', path df = pd.read_csv(path) # Remove unwanted columns print 'Dropping unwanted columns' df = df[['PID', 'TAX_ASSESSMENT_YEAR', 'CURRENT_LAND_VALUE', 'STREET_NAME', 'TO_CIVIC_NUMBER'...
28.775
99
0.650738
162
1,151
4.320988
0.45679
0.04
0.031429
0.062857
0.054286
0
0
0
0
0
0
0.017798
0.21894
1,151
39
100
29.512821
0.760845
0.077324
0
0
0
0
0.338694
0.088931
0
0
0
0
0
0
null
null
0
0.074074
null
null
0.259259
0
0
0
null
0
0
0
0
0
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
4252c9d8b3317ae5bd56696743e5b2124dce1942
4,040
py
Python
homeassistant/components/sensor/verisure.py
beschouten/home-assistant
f50c30bbbad4d92e342c8547630c63c0c7882803
[ "MIT" ]
1
2016-07-14T05:20:54.000Z
2016-07-14T05:20:54.000Z
homeassistant/components/sensor/verisure.py
beschouten/home-assistant
f50c30bbbad4d92e342c8547630c63c0c7882803
[ "MIT" ]
null
null
null
homeassistant/components/sensor/verisure.py
beschouten/home-assistant
f50c30bbbad4d92e342c8547630c63c0c7882803
[ "MIT" ]
1
2018-11-22T13:55:23.000Z
2018-11-22T13:55:23.000Z
""" Interfaces with Verisure sensors. For more details about this platform, please refer to the documentation at documentation at https://home-assistant.io/components/verisure/ """ import logging from homeassistant.components.verisure import HUB as hub from homeassistant.const import TEMP_CELSIUS from homeassistant.h...
26.933333
74
0.611881
449
4,040
5.376392
0.216036
0.054681
0.048467
0.03314
0.61889
0.543911
0.519056
0.488401
0.44449
0.428335
0
0.001699
0.271535
4,040
149
75
27.114094
0.818213
0.235644
0
0.639535
0
0
0.03504
0
0
0
0
0
0
1
0.22093
false
0
0.046512
0
0.44186
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
4253d0f64f25024f864712c154a198a0bd7c1158
1,135
py
Python
articles/blogs/tests/factories.py
MahmoudFarid/articles
f0238908b1430c949dace50401fb3ddf268a581b
[ "MIT" ]
null
null
null
articles/blogs/tests/factories.py
MahmoudFarid/articles
f0238908b1430c949dace50401fb3ddf268a581b
[ "MIT" ]
null
null
null
articles/blogs/tests/factories.py
MahmoudFarid/articles
f0238908b1430c949dace50401fb3ddf268a581b
[ "MIT" ]
null
null
null
import factory from factory.django import DjangoModelFactory as Factory from django.contrib.auth.models import Permission from ..models import Blog from articles.users.tests.factories import UserFactory class Blogfactory(Factory): user = user = factory.SubFactory(UserFactory) title = factory.Faker('sentence...
33.382353
102
0.767401
141
1,135
5.971631
0.503546
0.057007
0.049881
0.054632
0.254157
0.178147
0.102138
0
0
0
0
0.013252
0.135683
1,135
33
103
34.393939
0.845056
0
0
0.166667
0
0
0.136564
0
0
0
0
0
0
1
0.083333
false
0
0.208333
0
0.75
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
425489e4c1a682c5eeaad70ce3b5e922f8f9536b
8,847
py
Python
api_formatter/serializers.py
RockefellerArchiveCenter/argo
c02fec68dbb50382f3f0bdf11c51240ca22a181c
[ "MIT" ]
null
null
null
api_formatter/serializers.py
RockefellerArchiveCenter/argo
c02fec68dbb50382f3f0bdf11c51240ca22a181c
[ "MIT" ]
115
2019-08-19T20:19:06.000Z
2022-03-04T17:40:50.000Z
api_formatter/serializers.py
RockefellerArchiveCenter/argo
c02fec68dbb50382f3f0bdf11c51240ca22a181c
[ "MIT" ]
null
null
null
from datetime import datetime from django.urls import reverse from rest_framework import serializers from .view_helpers import description_from_notes class ExternalIdentifierSerializer(serializers.Serializer): identifier = serializers.CharField() source = serializers.CharField() class DateSerializer(seria...
35.247012
98
0.706228
896
8,847
6.868304
0.207589
0.123497
0.078161
0.058011
0.545174
0.407377
0.316867
0.268606
0.214982
0.214982
0
0.001114
0.188312
8,847
250
99
35.388
0.85587
0.026902
0
0.443243
0
0
0.034121
0
0
0
0
0
0
1
0.07027
false
0.021622
0.021622
0.027027
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
42549d1737ce596628e42957af0838f8a820986b
828
py
Python
cmz/cms_news/migrations/0004_auto_20160923_1958.py
inmagik/cmz
e183f0c7203bda5efb1cbeb96f4f06a76aa91231
[ "MIT" ]
1
2016-10-01T18:35:24.000Z
2016-10-01T18:35:24.000Z
cmz/cms_news/migrations/0004_auto_20160923_1958.py
inmagik/cmz
e183f0c7203bda5efb1cbeb96f4f06a76aa91231
[ "MIT" ]
8
2016-09-14T21:39:09.000Z
2016-10-25T20:08:31.000Z
cmz/cms_news/migrations/0004_auto_20160923_1958.py
inmagik/cmz
e183f0c7203bda5efb1cbeb96f4f06a76aa91231
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-09-23 19:58 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('cms_news', '0003_auto_20160923_1956'), ...
27.6
126
0.621981
94
828
5.308511
0.638298
0.016032
0.024048
0.108216
0
0
0
0
0
0
0
0.08867
0.264493
828
29
127
28.551724
0.730706
0.080918
0
0.272727
1
0
0.08971
0.030343
0
0
0
0
0
1
0
false
0
0.181818
0
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
42553eda4ebfb5ccb85d9727626440163f717d34
3,252
py
Python
mopidy/audio/utils.py
grdorin/mopidy
76db44088c102d7ad92a3fc6a15a938e66b99b0d
[ "Apache-2.0" ]
6,700
2015-01-01T03:57:59.000Z
2022-03-30T09:31:31.000Z
mopidy/audio/utils.py
pnijhara/mopidy
7168787ea6c82b66e138fc2b388d78fa1c7661ba
[ "Apache-2.0" ]
1,141
2015-01-02T09:48:59.000Z
2022-03-28T22:25:30.000Z
mopidy/audio/utils.py
pnijhara/mopidy
7168787ea6c82b66e138fc2b388d78fa1c7661ba
[ "Apache-2.0" ]
735
2015-01-01T21:15:50.000Z
2022-03-20T16:13:44.000Z
from mopidy import httpclient from mopidy.internal.gi import Gst def calculate_duration(num_samples, sample_rate): """Determine duration of samples using GStreamer helper for precise math.""" return Gst.util_uint64_scale(num_samples, Gst.SECOND, sample_rate) def create_buffer(data, timestamp=None, durat...
31.882353
78
0.681119
421
3,252
5.147268
0.382423
0.044301
0.01246
0.031841
0.046147
0.025842
0
0
0
0
0
0.001587
0.225092
3,252
101
79
32.19802
0.858333
0.355781
0
0
0
0
0.042542
0
0
0
0
0
0.022222
1
0.222222
false
0.022222
0.044444
0
0.422222
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
42595d917949c306ffaf79514babf64460ba3c69
1,869
py
Python
blog.py
BenTimor/SerializationConceptSystem
0f85dc32063d270a5564cda3199d84d474e5d83e
[ "MIT" ]
1
2020-11-13T22:21:47.000Z
2020-11-13T22:21:47.000Z
blog.py
BenTimor/SerializationConceptSystem
0f85dc32063d270a5564cda3199d84d474e5d83e
[ "MIT" ]
null
null
null
blog.py
BenTimor/SerializationConceptSystem
0f85dc32063d270a5564cda3199d84d474e5d83e
[ "MIT" ]
null
null
null
from utils import database class Config: config = None def __init__(self, users, posts, comments): self.users = users self.posts = posts self.comments = comments Config.config = self @staticmethod def update(): database["concept", True]["config", "WHERE id=1"] ...
29.666667
160
0.602996
219
1,869
5.031963
0.219178
0.163339
0.039927
0.068058
0.296733
0.190563
0.125227
0.065336
0
0
0
0.006598
0.270198
1,869
63
161
29.666667
0.80132
0
0
0.25
0
0
0.062032
0
0
0
0
0
0
1
0.192308
false
0.076923
0.019231
0
0.326923
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