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
9b641a866fdef23b9caac071bc439ee7fdaf0c38
2,979
py
Python
packages/w3af/w3af/core/data/kb/vuln_templates/dav_template.py
ZooAtmosphereGroup/HelloPackages
0ccffd33bf927b13d28c8f715ed35004c33465d9
[ "Apache-2.0" ]
3
2019-04-09T22:59:33.000Z
2019-06-14T09:23:24.000Z
tools/w3af/w3af/core/data/kb/vuln_templates/dav_template.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
null
null
null
tools/w3af/w3af/core/data/kb/vuln_templates/dav_template.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
null
null
null
""" dav_template.py Copyright 2012 Andres Riancho This file is part of w3af, http://w3af.org/ . w3af is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License. w3af is distributed in the hope tha...
33.47191
81
0.664988
406
2,979
4.785714
0.423645
0.020587
0.024704
0.032939
0.065878
0.028821
0
0
0
0
0
0.011277
0.255791
2,979
88
82
33.852273
0.865133
0.454179
0
0.058824
0
0
0.182492
0
0
0
0
0
0
1
0.205882
false
0
0.117647
0.029412
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9b67f197862f51013809873b5fef7a085ee950f6
1,628
py
Python
serve.py
etale-cohomology/mathisart-website
4bdcfc888d6b44350de7d1631d42bdefe27535c9
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2019-08-01T21:20:47.000Z
2019-08-01T21:20:47.000Z
serve.py
etale-cohomology/mathisart-website
4bdcfc888d6b44350de7d1631d42bdefe27535c9
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
serve.py
etale-cohomology/mathisart-website
4bdcfc888d6b44350de7d1631d42bdefe27535c9
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2021-04-01T10:15:45.000Z
2021-04-01T10:15:45.000Z
#!/usr/bin/env py """ To serve the app locally, run one of the following: python3.6 serve.py python3 serve.py python serve.py ./serve.py export FLASK_APP=serve.py && flask run --------------------------------------------------------------------------------------------------- This Python script is used to run...
33.916667
128
0.443489
161
1,628
4.291925
0.459627
0.050651
0.037627
0.054993
0.06657
0
0
0
0
0
0
0.002725
0.09828
1,628
47
129
34.638298
0.467984
0.613022
0
0
0
0
0.188925
0.091205
0
0
0
0
0
1
0.095238
false
0
0.095238
0.047619
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9b681528f1e1728e03a12920d6dacf8e1de0d398
284
py
Python
v1/functions.py
enterstry/flow-python
07cc5a3d1b6a389363ad6677ecdd1ff7d2561b7c
[ "MIT" ]
null
null
null
v1/functions.py
enterstry/flow-python
07cc5a3d1b6a389363ad6677ecdd1ff7d2561b7c
[ "MIT" ]
null
null
null
v1/functions.py
enterstry/flow-python
07cc5a3d1b6a389363ad6677ecdd1ff7d2561b7c
[ "MIT" ]
null
null
null
import sys import logging def func_parse(stream): stream.write('OUT', sys.argv[1]) def func_load_file(stream): file_name = stream.read() with open(file_name, 'r') as f: stream.write('OUT', f.readlines()) def func_error(stream): logging.log(stream.read())
17.75
42
0.665493
43
284
4.255814
0.534884
0.114754
0.153005
0
0
0
0
0
0
0
0
0.00431
0.183099
284
15
43
18.933333
0.784483
0
0
0
0
0
0.024648
0
0
0
0
0
0
1
0.3
false
0
0.2
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9b682f208f4efe4801b60d8f33adfd182a066783
2,259
py
Python
test_loginlogout.py
alexandr-lavrov/python_training
a06fd873ecaa7380c69898eb542f284a3bd94c29
[ "Apache-2.0" ]
null
null
null
test_loginlogout.py
alexandr-lavrov/python_training
a06fd873ecaa7380c69898eb542f284a3bd94c29
[ "Apache-2.0" ]
null
null
null
test_loginlogout.py
alexandr-lavrov/python_training
a06fd873ecaa7380c69898eb542f284a3bd94c29
[ "Apache-2.0" ]
null
null
null
# Generated by Selenium IDE import pytest import time import json from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.support import expected_conditions from selenium.webdriver.support.wait import WebDriverWa...
46.102041
106
0.697211
271
2,259
5.667897
0.261993
0.130208
0.10026
0.150391
0.641927
0.608073
0.605469
0.563802
0.531901
0.492188
0
0.011432
0.186808
2,259
48
107
47.0625
0.824714
0.011067
0
0.285714
1
0
0.122815
0.04303
0
0
0
0
0
1
0.071429
false
0.02381
0.238095
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9b6bf57efc7629f175e0e34b9c63a8240f87783d
329
py
Python
e3sm_diags/parameter/qbo_parameter.py
acordonez/e3sm_diags
176ac46595813f22802e0f9a13bc23365abc53eb
[ "BSD-3-Clause" ]
22
2019-01-22T22:17:45.000Z
2022-02-25T23:43:21.000Z
e3sm_diags/parameter/qbo_parameter.py
acordonez/e3sm_diags
176ac46595813f22802e0f9a13bc23365abc53eb
[ "BSD-3-Clause" ]
325
2019-01-31T00:47:36.000Z
2022-03-31T21:46:56.000Z
e3sm_diags/parameter/qbo_parameter.py
acordonez/e3sm_diags
176ac46595813f22802e0f9a13bc23365abc53eb
[ "BSD-3-Clause" ]
12
2019-02-20T04:44:18.000Z
2022-01-06T18:28:45.000Z
from .time_series_parameter import TimeSeriesParameter class QboParameter(TimeSeriesParameter): def __init__(self): super(QboParameter, self).__init__() self.print_statements = False self.ref_timeseries_input = True self.test_timeseries_input = True self.granulate.remove("s...
29.909091
54
0.723404
34
329
6.558824
0.676471
0.071749
0.170404
0.206278
0
0
0
0
0
0
0
0
0.200608
329
10
55
32.9
0.847909
0
0
0
0
0
0.021277
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
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
9b83db416ac22a401202abfc12fcb0b7a95b6292
11,251
py
Python
node.py
willyii/CS247-BlockChain
e3508f15727d8db4f148517ced7bae3c6da3f890
[ "MIT" ]
null
null
null
node.py
willyii/CS247-BlockChain
e3508f15727d8db4f148517ced7bae3c6da3f890
[ "MIT" ]
1
2020-05-30T07:03:15.000Z
2020-05-30T07:03:15.000Z
node.py
willyii/CS247-BlockChain
e3508f15727d8db4f148517ced7bae3c6da3f890
[ "MIT" ]
null
null
null
from blockchain import BlockChain from threading import Thread from transaction import Transaction from block import Block import json import time import hashlib from tool import getNextHash, valid_proof_of_work, checkValid import requests import random NUM_TRANS_PER_BLOCK= 1 """ Initialize the node. address: addr...
33.188791
130
0.557906
1,341
11,251
4.602535
0.213274
0.02722
0.004861
0.010531
0.18908
0.12978
0.070966
0.070966
0.046986
0.046986
0
0.011577
0.332059
11,251
338
131
33.286982
0.809714
0.124967
0
0.265306
0
0
0.112945
0.010375
0
0
0
0.011834
0
1
0.081633
false
0.035714
0.05102
0.005102
0.260204
0.066327
0
0
0
null
0
0
0
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
9b93b961e7c97ded95bbf2f50eae3b2101a76c7a
10,469
py
Python
code/Neural Network.py
keying-go/MNIST_Deep_Learning
eeabcd6352d0ca3e4c96d409d05bab5d541c4552
[ "Apache-2.0" ]
null
null
null
code/Neural Network.py
keying-go/MNIST_Deep_Learning
eeabcd6352d0ca3e4c96d409d05bab5d541c4552
[ "Apache-2.0" ]
null
null
null
code/Neural Network.py
keying-go/MNIST_Deep_Learning
eeabcd6352d0ca3e4c96d409d05bab5d541c4552
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import from matplotlib import pyplot as plt import numpy as np from preprocess import get_data class Model: """ This model class will contain the architecture for your single layer Neural Network for classifying MNIST with batched learning. Please implement the ...
41.054902
130
0.660235
1,484
10,469
4.580189
0.222372
0.023834
0.013388
0.016184
0.166397
0.129175
0.089451
0.067383
0.04708
0.037958
0
0.01083
0.259146
10,469
254
131
41.216535
0.865523
0.534817
0
0.068182
0
0.034091
0.061997
0.034785
0
0
0
0.03937
0
1
0.125
false
0
0.045455
0
0.238636
0.011364
0
0
0
null
0
0
0
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
9b96de12f1ea033ae95437a4d7275c8c55fda91d
29,001
py
Python
find_streams_tgas_rv.py
kcotar/Aquarius_membership
9cfe02b66e76abd9afa35c136514ab74586a1452
[ "MIT" ]
null
null
null
find_streams_tgas_rv.py
kcotar/Aquarius_membership
9cfe02b66e76abd9afa35c136514ab74586a1452
[ "MIT" ]
null
null
null
find_streams_tgas_rv.py
kcotar/Aquarius_membership
9cfe02b66e76abd9afa35c136514ab74586a1452
[ "MIT" ]
null
null
null
import imp, os, glob import pandas as pd from astropy.table import Table, join, unique from find_streams_plots import * from find_streams_analysis import * from find_streams_analysis_functions import * from sys import argv imp.load_source('helper', '../tSNE_test/helper_functions.py') from helper import move_to_dir i...
53.310662
164
0.613806
3,678
29,001
4.51441
0.137031
0.052517
0.01867
0.02662
0.455432
0.386533
0.351482
0.312154
0.280294
0.261563
0
0.018557
0.226992
29,001
543
165
53.40884
0.722098
0.523361
0
0.156379
0
0
0.123198
0.03849
0
0
0
0
0
0
null
null
0
0.049383
null
null
0.069959
0
0
0
null
0
0
0
0
0
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
9ba4e15b5d6de2ea30260076bec4ef4cfd336ecc
6,321
py
Python
scripts/jenkins_push_artifacts.py
danielgis/invest
b9687d249361556b874750368e856ef049447b5a
[ "BSD-3-Clause" ]
6
2020-02-26T16:31:42.000Z
2022-02-28T21:10:25.000Z
scripts/jenkins_push_artifacts.py
danielgis/invest
b9687d249361556b874750368e856ef049447b5a
[ "BSD-3-Clause" ]
23
2019-11-22T23:14:09.000Z
2021-01-28T14:31:42.000Z
scripts/jenkins_push_artifacts.py
natcap/rangeland_production
89acd25cb90c2bd42f55973d7d22b294c80dfc1a
[ "BSD-3-Clause" ]
7
2020-02-26T16:31:47.000Z
2022-03-14T12:06:21.000Z
# encoding=UTF-8 """jenkins_push_artifacts.py""" import os import platform import time import subprocess import logging import glob import paramiko from paramiko import SSHClient import setuptools_scm LOGGER = logging.getLogger(__name__) logging.basicConfig(level=logging.DEBUG) if platform.system() == 'Windows': ...
33.983871
79
0.627274
783
6,321
4.836526
0.310345
0.033272
0.029047
0.017164
0.105625
0.088461
0.088461
0.0338
0
0
0
0.002171
0.271318
6,321
185
80
34.167568
0.820017
0.043031
0
0.075
0
0
0.15212
0.005755
0
0
0
0
0
0
null
null
0.008333
0.075
null
null
0.091667
0
0
0
null
0
0
0
0
0
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
9ba9462ad313cb99df55b4d2cec0836112dbb627
2,013
py
Python
patterns/singleton.py
jonathadv/python-design-patterns-samples
6962f882a95455353ffdc050d467d9f9ac5e6bda
[ "MIT" ]
null
null
null
patterns/singleton.py
jonathadv/python-design-patterns-samples
6962f882a95455353ffdc050d467d9f9ac5e6bda
[ "MIT" ]
null
null
null
patterns/singleton.py
jonathadv/python-design-patterns-samples
6962f882a95455353ffdc050d467d9f9ac5e6bda
[ "MIT" ]
null
null
null
""" ******************** Singleton Pattern ******************** Description from Wikipedia: *"the singleton pattern is a software design pattern that restricts the instantiation of a class to one 'single' instance. This is useful when exactly one object is needed to coordinate actions across the system."* .. warning...
26.84
91
0.663686
249
2,013
5.216867
0.413655
0.019246
0.027714
0.023095
0.197075
0.109315
0.109315
0.109315
0.109315
0.109315
0
0.019293
0.227521
2,013
74
92
27.202703
0.816077
0.739692
0
0
0
0
0.106173
0.106173
0
0
0
0
0
1
0.307692
false
0
0
0.076923
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
1
0
0
0
0
0
0
0
1
9baea28bf753698c69cad26d07be01d4554403ba
271
py
Python
src/dropSQL/engine/row_set/empty.py
LakshyaaSoni/dropSQL
da07ad3edf2d55f0521a385ad10678fc353b4b2b
[ "MIT" ]
35
2017-11-27T22:24:46.000Z
2022-01-16T23:50:01.000Z
src/dropSQL/engine/row_set/empty.py
LakshyaaSoni/dropSQL
da07ad3edf2d55f0521a385ad10678fc353b4b2b
[ "MIT" ]
null
null
null
src/dropSQL/engine/row_set/empty.py
LakshyaaSoni/dropSQL
da07ad3edf2d55f0521a385ad10678fc353b4b2b
[ "MIT" ]
2
2018-02-20T06:06:12.000Z
2021-10-16T18:30:15.000Z
from typing import * from .row_set import RowSet from ..column import Column if TYPE_CHECKING: from ..row import Row class EmptyRowSet(RowSet): def columns(self) -> List[Column]: return [] def iter(self) -> Iterator['Row']: yield from ()
16.9375
38
0.645756
35
271
4.942857
0.571429
0.080925
0
0
0
0
0
0
0
0
0
0
0.243542
271
15
39
18.066667
0.843902
0
0
0
0
0
0.01107
0
0
0
0
0
0
1
0.2
false
0
0.4
0.1
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9bb39c39527401887af3eb8678dba32f692a6fbc
1,621
py
Python
django_xsede_warehouse/xdcdb/admin.py
XSEDE/XSEDE_Information_Warehouse
8b3aab42b7afd70ce69b9bf44551a0ded4491831
[ "Apache-2.0" ]
1
2019-10-29T22:50:29.000Z
2019-10-29T22:50:29.000Z
django_xsede_warehouse/xdcdb/admin.py
XSEDE/XSEDE_Information_Warehouse
8b3aab42b7afd70ce69b9bf44551a0ded4491831
[ "Apache-2.0" ]
null
null
null
django_xsede_warehouse/xdcdb/admin.py
XSEDE/XSEDE_Information_Warehouse
8b3aab42b7afd70ce69b9bf44551a0ded4491831
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from xdcdb.models import * class XSEDEResourceAdmin(admin.ModelAdmin): list_display = ('ResourceID', 'SiteID') list_display_links = ['ResourceID'] ordering = ['ResourceID', 'SiteID'] search_fields = ['ResourceID__iexact', 'SiteID__iexact'] class XSEDELocalUsermapAdmin(...
47.676471
132
0.760642
190
1,621
6.015789
0.263158
0.07699
0.097988
0.069991
0.171479
0.108486
0
0
0
0
0
0
0.109192
1,621
33
133
49.121212
0.791551
0.016039
0
0
0
0
0.392969
0.107972
0
0
0
0
0
1
0
false
0
0.076923
0
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9bb68279632d946544780eced737f006502b5e2a
1,925
py
Python
pyImagingMSpec/convert/bruker_sqlite.py
andy-d-palmer/pyIMS
1e7ce40a6a8cd6ff3ed4b4d9152140d38b6ee1d9
[ "Apache-2.0" ]
2
2017-11-23T10:01:56.000Z
2021-07-16T19:38:50.000Z
pyImagingMSpec/convert/bruker_sqlite.py
andy-d-palmer/pyIMS
1e7ce40a6a8cd6ff3ed4b4d9152140d38b6ee1d9
[ "Apache-2.0" ]
1
2015-08-31T07:00:56.000Z
2015-08-31T07:00:56.000Z
pyImagingMSpec/convert/bruker_sqlite.py
andy-d-palmer/pyIMS
1e7ce40a6a8cd6ff3ed4b4d9152140d38b6ee1d9
[ "Apache-2.0" ]
4
2015-07-30T12:07:10.000Z
2018-06-02T04:03:31.000Z
import sqlite3 import numpy as np import argparse from skimage.filters import threshold_otsu from pyimzml.ImzMLWriter import ImzMLWriter class Spectrum(object): def __init__(self, row): self.mzs = np.frombuffer(row['PeakMzValues'], dtype=np.float64) self.intensities = np.frombuffer(row['PeakIntens...
39.285714
97
0.644675
250
1,925
4.864
0.44
0.029605
0.037007
0.029605
0.021382
0
0
0
0
0
0
0.018231
0.230649
1,925
48
98
40.104167
0.802836
0.056623
0
0
0
0
0.134106
0
0
0
0
0
0
0
null
null
0
0.119048
null
null
0.047619
0
0
0
null
0
0
0
0
0
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
9bb8377307190881623f55f92af03285d09f82e2
10,785
py
Python
estratificar_fractal/estratificar.py
IsaacVsRodrigues/estratificar_fractal
70d2a91d8b324cb0f18a1f5dff6fbeda9bbdb040
[ "MIT" ]
2
2018-08-07T20:10:56.000Z
2021-01-28T19:42:21.000Z
estratificar_fractal/estratificar.py
IsaacVsRodrigues/estratificar_fractal
70d2a91d8b324cb0f18a1f5dff6fbeda9bbdb040
[ "MIT" ]
null
null
null
estratificar_fractal/estratificar.py
IsaacVsRodrigues/estratificar_fractal
70d2a91d8b324cb0f18a1f5dff6fbeda9bbdb040
[ "MIT" ]
null
null
null
from crivios import * import matplotlib from matplotlib import colors as mcolors matplotlib.use('TkAgg') from matplotlib.pyplot import * from matplotlib.patches import RegularPolygon from matplotlib.collections import PatchCollection from mpldatacursor import datacursor import os import math def plt(Xn,Yn...
42.128906
240
0.611497
1,654
10,785
3.954655
0.207376
0.015288
0.013759
0.022015
0.309433
0.263568
0.220456
0.18621
0.16022
0.151659
0
0.012934
0.254427
10,785
255
241
42.294118
0.800398
0
0
0.307292
0
0
0.036732
0
0
0
0
0
0
0
null
null
0
0.046875
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
32d9887c8528d97004294c243a8ad0c753851244
4,855
py
Python
auto/python/offboard.py
ACLeighner/AirSim
a4852eb01772c6bef45e481754e8b84fd32caef6
[ "MIT" ]
null
null
null
auto/python/offboard.py
ACLeighner/AirSim
a4852eb01772c6bef45e481754e8b84fd32caef6
[ "MIT" ]
null
null
null
auto/python/offboard.py
ACLeighner/AirSim
a4852eb01772c6bef45e481754e8b84fd32caef6
[ "MIT" ]
null
null
null
import rospy import glob import json import math import os import px4tools import sys import time import actionlib import roslaunch from mavros import mavlink from mavros import action_server from mavros_msgs.msg import Mavlink, Waypoint, WaypointReached, GlobalPositionTarget, State, TakeoffAction, TakeoffGoal, LandAct...
29.246988
173
0.761895
642
4,855
5.556075
0.32243
0.025231
0.025512
0.04878
0.148024
0.100925
0.071769
0.04822
0
0
0
0.014064
0.135942
4,855
165
174
29.424242
0.836234
0.196087
0
0.104762
0
0
0.075613
0.015484
0
0
0
0
0
0
null
null
0.009524
0.190476
null
null
0.066667
0
0
0
null
0
0
0
0
0
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
32e0ad783e67ba26adea28abbcda5c9a0ae76fc2
5,840
py
Python
persona.py
nmthuong/persona-totp
1b1233c6002e4ffab64249734e0d9a2ff0fe085f
[ "BSD-3-Clause" ]
5
2015-01-06T01:29:39.000Z
2016-03-08T21:24:11.000Z
persona.py
nmthuong/persona-totp
1b1233c6002e4ffab64249734e0d9a2ff0fe085f
[ "BSD-3-Clause" ]
null
null
null
persona.py
nmthuong/persona-totp
1b1233c6002e4ffab64249734e0d9a2ff0fe085f
[ "BSD-3-Clause" ]
null
null
null
from datetime import datetime, timedelta from Crypto.PublicKey import RSA from Crypto.Signature import PKCS1_v1_5 from Crypto.Hash import SHA256 import base64, hashlib, hmac, os, struct, time, urlparse, sys, itertools try: import simplejson as json except ImportError: import json EXPIRES = 30 # days STORAGE_KEY = ...
28.349515
76
0.65137
839
5,840
4.483909
0.292014
0.014354
0.00638
0.011164
0.10739
0.08639
0.049973
0.049973
0.049973
0
0
0.038843
0.153596
5,840
205
77
28.487805
0.722233
0.022774
0
0.064103
0
0
0.154035
0.003684
0
0
0.001754
0
0.025641
0
null
null
0
0.057692
null
null
0.012821
0
0
0
null
0
0
0
0
0
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
32e84590bbb6d9f1a4c450179cd44cc6b7db14a0
1,790
py
Python
pydantic_xlsx/conversion.py
72nd/pydantic-xlsx
1df55bdd04ace8bbaa732924b6c85b8acdfe0e05
[ "MIT" ]
8
2021-08-02T14:43:31.000Z
2022-03-29T17:05:59.000Z
pydantic_xlsx/conversion.py
72nd/pydantic-xlsx
1df55bdd04ace8bbaa732924b6c85b8acdfe0e05
[ "MIT" ]
1
2022-03-09T14:31:50.000Z
2022-03-09T14:31:50.000Z
pydantic_xlsx/conversion.py
72nd/pydantic-xlsx
1df55bdd04ace8bbaa732924b6c85b8acdfe0e05
[ "MIT" ]
null
null
null
""" This module handles the representation of some additional types as a cell value in a xlsx file. It also provides the needed import functionality. This functionality should only be used for data types which need altering additional cell properties like number format. When only the value of a cell is altered there sh...
29.833333
79
0.692179
242
1,790
5.107438
0.429752
0.02589
0.030744
0.021036
0.033981
0
0
0
0
0
0
0
0.248603
1,790
59
80
30.338983
0.918959
0.598883
0
0.235294
0
0
0.001957
0
0
0
0
0
0
1
0.176471
false
0.117647
0.176471
0
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
32e8cf5940c25820384cc056c3ffff43e95d8e11
1,057
py
Python
taps/migrations/0001_initial.py
austinprog/hsvdotbeer
2979a2b0b105b85d0865c6771bfcb7debb98b3e8
[ "Apache-2.0" ]
null
null
null
taps/migrations/0001_initial.py
austinprog/hsvdotbeer
2979a2b0b105b85d0865c6771bfcb7debb98b3e8
[ "Apache-2.0" ]
6
2020-08-03T09:50:01.000Z
2021-06-10T18:17:28.000Z
taps/migrations/0001_initial.py
austinprog/hsvdotbeer
2979a2b0b105b85d0865c6771bfcb7debb98b3e8
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.3 on 2018-12-02 04:16 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('venues', '0004_auto_20181106_0314'), ] operations = [ migrations.CreateModel( ...
34.096774
136
0.592242
108
1,057
5.657407
0.638889
0.03928
0.045827
0.072013
0
0
0
0
0
0
0
0.043147
0.254494
1,057
30
137
35.233333
0.732234
0.042573
0
0.086957
1
0
0.138614
0.049505
0
0
0
0
0
1
0
false
0
0.086957
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
32ea9e7172acd9ef2e47a68cd84cc37b2d17cced
696
py
Python
py-data/Text-similarity-class/problems/api-related/2/correct-usages/TextSim.py
ualberta-smr/NFBugs
65d9ef603e9527b3d83f53af0606b1ae240513f1
[ "MIT" ]
3
2019-10-01T19:58:24.000Z
2021-09-17T04:03:21.000Z
py-data/Text-similarity-class/problems/api-related/2/correct-usages/TextSim.py
senseconcordia/NFBugsExtended
60058ccbd64107018a92ede73056d08ecbdaaed2
[ "MIT" ]
22
2018-08-23T15:15:37.000Z
2019-03-15T17:09:41.000Z
py-data/Text-similarity-class/problems/api-related/2/correct-usages/TextSim.py
senseconcordia/NFBugsExtended
60058ccbd64107018a92ede73056d08ecbdaaed2
[ "MIT" ]
1
2019-02-11T18:26:36.000Z
2019-02-11T18:26:36.000Z
import numpy as np import pandas as pd import time from sklearn.feature_extraction.text import TfidfVectorizer import string import warnings warnings.filterwarnings('ignore') from contextlib import contextmanager import mysql.connector from sqlalchemy import create_engine import pygsheets from tqdm import tqdm import y...
23.2
70
0.698276
83
696
5.807229
0.614458
0.041494
0
0
0
0
0
0
0
0
0
0.003759
0.235632
696
29
71
24
0.902256
0.00431
0
0
0
0
0.010145
0
0
0
0
0
0
1
0.043478
false
0
0.695652
0
0.826087
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
32f903bd72fe620923e11ce1b8abc1a5349cbf69
623
py
Python
Deep.Learning/2.Neural-Networks/2.Implementing-Gradient-Scale/part6-column-vector.py
Scrier/udacity
1326441aa2104a641b555676ec2429d8b6eb539f
[ "MIT" ]
1
2021-09-08T02:55:34.000Z
2021-09-08T02:55:34.000Z
Deep.Learning/2.Neural-Networks/2.Implementing-Gradient-Scale/part6-column-vector.py
Scrier/udacity
1326441aa2104a641b555676ec2429d8b6eb539f
[ "MIT" ]
1
2018-01-14T16:34:49.000Z
2018-01-14T16:34:49.000Z
Deep.Learning/2.Neural-Networks/2.Implementing-Gradient-Scale/part6-column-vector.py
Scrier/udacity
1326441aa2104a641b555676ec2429d8b6eb539f
[ "MIT" ]
null
null
null
import numpy as np features = np.array([0.49671415, -0.1382643, 0.64768854]) # You see above that sometimes you'll want a column vector, even though by default Numpy arrays work like row vectors. # It's possible to get the transpose of an array like so arr.T print(features) # but for a 1D array, the transpose will r...
31.15
118
0.743178
109
623
4.247706
0.541284
0.045356
0.056156
0.086393
0.112311
0.112311
0
0
0
0
0
0.055344
0.158909
623
19
119
32.789474
0.828244
0.635634
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.714286
0
0
0
null
0
0
0
0
0
0
0
0
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
32f9ca719a674cbb6c9b6935aaaf81b381c48719
1,849
py
Python
reddit/pascal.py
genos/online_problems
324597e8b64d74ad96dbece551a8220a1b61e615
[ "MIT" ]
1
2020-07-17T13:15:21.000Z
2020-07-17T13:15:21.000Z
reddit/pascal.py
genos/online_problems
324597e8b64d74ad96dbece551a8220a1b61e615
[ "MIT" ]
null
null
null
reddit/pascal.py
genos/online_problems
324597e8b64d74ad96dbece551a8220a1b61e615
[ "MIT" ]
null
null
null
#!/usr/bin/env python """pascal.py Here's my solution to a challenge on reddit.com/r/programmingchallenges to compute rows of Pascal's Triangle and layers of Pascal's Pyramid/Tetrahedron. GRE, 4/16/11 """ from itertools import product from operator import mul def prod(nums): """ Why would Python have sum() b...
22.277108
79
0.59059
286
1,849
3.765734
0.367133
0.014856
0.050139
0.047354
0
0
0
0
0
0
0
0.022611
0.258518
1,849
82
80
22.54878
0.762947
0.010817
0
0
0
0
0.058244
0
0
0
0
0
0
0
null
null
0
0.09375
null
null
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
1
0
0
0
0
0
0
0
0
1
fd07d180a032f634e6d16b9b3bd0351827276e75
4,141
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/survey/tests/test_utils.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/survey/tests/test_utils.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/survey/tests/test_utils.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2019-01-02T14:38:50.000Z
2019-01-02T14:38:50.000Z
""" Python tests for the Survey models """ from collections import OrderedDict from django.test.client import Client from common.djangoapps.student.tests.factories import UserFactory from lms.djangoapps.survey.models import SurveyForm from lms.djangoapps.survey.utils import check_survey_required_and_unanswered, is_...
33.128
107
0.669404
485
4,141
5.478351
0.220619
0.100113
0.051186
0.050056
0.479488
0.43583
0.402333
0.339857
0.300715
0.26082
0
0.003247
0.256218
4,141
124
108
33.395161
0.859416
0.149722
0
0.305556
0
0
0.049043
0
0
0
0
0
0.138889
1
0.083333
false
0.055556
0.097222
0
0.194444
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
fd1a323ad3ec73cdca0467ea25179ceededdcc2b
400
py
Python
models/category.py
harryprabowo/tars-backend
f791df7124a71bc3be6bd305f2197918bf86d74d
[ "MIT" ]
1
2020-02-14T15:26:20.000Z
2020-02-14T15:26:20.000Z
models/category.py
harryprabowo/tars-backend
f791df7124a71bc3be6bd305f2197918bf86d74d
[ "MIT" ]
null
null
null
models/category.py
harryprabowo/tars-backend
f791df7124a71bc3be6bd305f2197918bf86d74d
[ "MIT" ]
null
null
null
from app import db class Brake(db.Model): __tablename__ = 'histories' id = db.Column(db.Integer, primary_key=True) brake_fluid = db.Column(db.String(100)) avg_speed = db.Column(db.Float) top_speed = db.Column(db.Float) def serialize(self): return { 'id': self.id, ...
25
48
0.585
52
400
4.307692
0.557692
0.142857
0.178571
0.133929
0.178571
0
0
0
0
0
0
0.010526
0.2875
400
16
49
25
0.775439
0
0
0
0
0
0.064838
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0.076923
0.692308
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
fd1bc79f0d91f58ce62c4bd3349152244c888609
2,088
py
Python
py_controls/MemoryManager.py
CybCrunch/AI-Gov
a9fcf3b603c39bf0704df172a6745620d1d3c06b
[ "MIT" ]
1
2018-02-21T11:40:17.000Z
2018-02-21T11:40:17.000Z
py_controls/MemoryManager.py
CyberCrunch/DU_AI_Gov
a9fcf3b603c39bf0704df172a6745620d1d3c06b
[ "MIT" ]
null
null
null
py_controls/MemoryManager.py
CyberCrunch/DU_AI_Gov
a9fcf3b603c39bf0704df172a6745620d1d3c06b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Dec 30 15:52:43 2016 @author: robin """ import json from enum import Enum #testing possible enums for readability...(not implemeted) class NrH(Enum): #human data formtat for Json name = 0 human = 1 job = 2 status = 3 position = 4 mo...
32.123077
193
0.625
279
2,088
4.602151
0.344086
0.074766
0.046729
0.062305
0.488318
0.488318
0.323209
0.273364
0.273364
0.273364
0
0.028846
0.252874
2,088
65
194
32.123077
0.794231
0.126916
0
0.320755
0
0
0.153406
0
0
0
0
0
0
1
0.056604
false
0
0.037736
0
0.641509
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
fd36373a33c85f6d9da3949eeda864a714b8d5a0
2,281
py
Python
setup.py
uxcn/x2x
9ee1d9d31b883c20fee3fa20a52580b7da176546
[ "MIT" ]
null
null
null
setup.py
uxcn/x2x
9ee1d9d31b883c20fee3fa20a52580b7da176546
[ "MIT" ]
null
null
null
setup.py
uxcn/x2x
9ee1d9d31b883c20fee3fa20a52580b7da176546
[ "MIT" ]
null
null
null
from distutils.core import setup setup( url = 'https://github.com/uxcn/x2x', name = 'x2x', version = '0.9', fullname = 'x2x', description = 'commands to convert radixes', long_description = ''' x2x Command...
33.544118
84
0.451556
174
2,281
5.902299
0.505747
0.111003
0.146056
0.075949
0.05258
0
0
0
0
0
0
0.025217
0.443665
2,281
67
85
34.044776
0.784082
0
0
0.037037
0
0
0.500877
0.019298
0
0
0
0
0
1
0
true
0
0.018519
0
0.018519
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
fd3ab971e48a744943e043de416501b2607fc75c
720
py
Python
adivinaelnumero.py
juaannavarro/adivina-el-juego
e3dbd543aa8c3a851304415bdf455e87d8f5f99d
[ "Apache-2.0" ]
null
null
null
adivinaelnumero.py
juaannavarro/adivina-el-juego
e3dbd543aa8c3a851304415bdf455e87d8f5f99d
[ "Apache-2.0" ]
1
2021-11-14T16:44:32.000Z
2021-11-14T16:44:32.000Z
adivinaelnumero.py
juaannavarro/adivina-el-juego
e3dbd543aa8c3a851304415bdf455e87d8f5f99d
[ "Apache-2.0" ]
null
null
null
import random numero=random.randint(0,99) print("Introduzca el numero a adivinar", numero) while True: numero=input("Introduzca un numero entre 0 y 99 incluidos") try: numero=int(numero) except: pass else: if 0<= numero <= 99: break print("Intenta adivinar el numero...
24
67
0.586111
87
720
4.850575
0.37931
0.063981
0.106635
0.14218
0.35545
0.137441
0.137441
0.137441
0
0
0
0.030242
0.311111
720
30
68
24
0.820565
0
0
0.448276
0
0
0.259362
0
0
0
0
0
0
1
0
false
0.068966
0.034483
0
0.034483
0.172414
0
0
0
null
0
0
0
0
0
0
0
0
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
fd3e1026bca9e2d14c8af2bde57bc99bbc260ee8
2,342
py
Python
stage2S/01-sys-tweaks/files/functions.py
rpicluster/rpicluster-stretch
4c4eddeb37e75bee402ccdea0c84f3795b8f1200
[ "BSD-3-Clause" ]
15
2018-02-28T02:04:37.000Z
2021-03-30T15:59:25.000Z
stage2S/01-sys-tweaks/files/functions.py
rpicluster/rpicluster-stretch
4c4eddeb37e75bee402ccdea0c84f3795b8f1200
[ "BSD-3-Clause" ]
null
null
null
stage2S/01-sys-tweaks/files/functions.py
rpicluster/rpicluster-stretch
4c4eddeb37e75bee402ccdea0c84f3795b8f1200
[ "BSD-3-Clause" ]
3
2018-05-14T23:08:58.000Z
2020-06-12T09:56:03.000Z
import os def get_nodes(): f = open("/rpicluster/config/nodes","r") line = f.readline() machines = [] while(line!=''): split = line.split(',') machines.append((split[0].rstrip(), split[2].rstrip())) line = f.readline() return machines def get_ip(ip_output, interface): ...
29.64557
102
0.578565
326
2,342
4.06135
0.322086
0.02719
0.024924
0.034743
0.185801
0.137462
0.137462
0.137462
0.137462
0.137462
0
0.0165
0.275406
2,342
78
103
30.025641
0.763701
0.090948
0
0.246154
0
0
0.058353
0.024471
0
0
0
0
0
1
0.123077
false
0.061538
0.015385
0.015385
0.276923
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
fd3f6192ccd7249147e71df1900fff669ddd95f0
538
py
Python
users/permissions.py
sig-gis/postFireRecovery
1bb9de721503297f70b983a2488f750d89ea5433
[ "MIT" ]
null
null
null
users/permissions.py
sig-gis/postFireRecovery
1bb9de721503297f70b983a2488f750d89ea5433
[ "MIT" ]
20
2020-03-24T16:29:20.000Z
2022-03-11T23:38:05.000Z
users/permissions.py
sig-gis/postFireRecovery
1bb9de721503297f70b983a2488f750d89ea5433
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from rest_framework import permissions # ============================================================================= class IsOwner(permissions.BasePermission): def has_object_permission(self, request, view, obj): if request.user: ...
33.625
79
0.472119
43
538
5.697674
0.72093
0.073469
0
0
0
0
0
0
0
0
0
0.002288
0.187732
538
15
80
35.866667
0.558352
0.328996
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.777778
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
fd4147c011b377e2e88f3f192e55447b021bf0c6
28,183
py
Python
src/datavault_api_client/pre_download_processing.py
jacopoabbate/datavault-api-python-client
70c3113b56db77de3835b4210dd7bffb22b34c9f
[ "MIT" ]
null
null
null
src/datavault_api_client/pre_download_processing.py
jacopoabbate/datavault-api-python-client
70c3113b56db77de3835b4210dd7bffb22b34c9f
[ "MIT" ]
null
null
null
src/datavault_api_client/pre_download_processing.py
jacopoabbate/datavault-api-python-client
70c3113b56db77de3835b4210dd7bffb22b34c9f
[ "MIT" ]
null
null
null
"""Implements the functions used to process the crawler data before the download takes place. The functions in this module process the raw information contained in the list of DiscoveredFileInfo named tuples that is produced by the crawler, and prepare the download manifest that is used by the downloading functions as...
35.184769
100
0.70468
3,635
28,183
5.228061
0.099862
0.025574
0.023679
0.041675
0.545727
0.460798
0.392654
0.364081
0.298937
0.275626
0
0.001921
0.224426
28,183
800
101
35.22875
0.867508
0.518504
0
0.30742
0
0
0.020939
0.016531
0
0
0
0.01125
0
1
0.095406
false
0
0.024735
0
0.212014
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
fd426c21d6288afc0df88de36a3959fe1c9cc974
752
py
Python
2020/day1.py
dopplershift/advent-of-code
dfb722c8600e902b65cb9f10a16c11a2ab40db8c
[ "MIT" ]
3
2020-12-10T02:45:51.000Z
2020-12-25T23:16:45.000Z
2020/day1.py
dopplershift/advent-of-code
dfb722c8600e902b65cb9f10a16c11a2ab40db8c
[ "MIT" ]
null
null
null
2020/day1.py
dopplershift/advent-of-code
dfb722c8600e902b65cb9f10a16c11a2ab40db8c
[ "MIT" ]
2
2020-12-02T03:37:04.000Z
2021-12-04T18:45:44.000Z
import itertools import math def find_set(vals, num, target=2020): return next(filter(lambda i: sum(i) == target, itertools.combinations(vals, num))) def solve(vals, num): return math.prod(find_set(vals, num)) if __name__ == '__main__': from aocd.models import Puzzle test_vals = [1721, 979, 366, 299...
26.857143
86
0.650266
118
752
3.957627
0.449153
0.085653
0.047109
0.059957
0.102784
0.102784
0
0
0
0
0
0.112397
0.195479
752
27
87
27.851852
0.659504
0
0
0
0
0
0.031915
0
0
0
0
0
0.210526
1
0.105263
false
0
0.157895
0.105263
0.368421
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
0
0
0
0
0
0
0
1
0
0
0
1
fd48e75983eec50c04f92c77f02098a960f206e4
977
py
Python
tests/test_config.py
towns-man/osm-gimmisn
64eba7562e1111b87fe4a44cbac6ce285c120b82
[ "MIT" ]
null
null
null
tests/test_config.py
towns-man/osm-gimmisn
64eba7562e1111b87fe4a44cbac6ce285c120b82
[ "MIT" ]
null
null
null
tests/test_config.py
towns-man/osm-gimmisn
64eba7562e1111b87fe4a44cbac6ce285c120b82
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # # Copyright (c) 2020 Miklos Vajna and contributors. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """The test_config module covers the config module.""" import os import unittest import unittest.mock def mock_get_abspath(path: str) -> ...
27.914286
94
0.686796
141
977
4.574468
0.503546
0.124031
0.060465
0.097674
0.105426
0.105426
0.105426
0
0
0
0
0.006369
0.19652
977
34
95
28.735294
0.815287
0.402252
0
0
0
0
0.046931
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
fd4d136304e07b147163ee20f7f76bb0dd4fbea8
735
py
Python
pylinks/urls.py
michaelmior/pylinks
6d42ac7515f623ae3014ffc926888e62c74675f2
[ "MIT" ]
null
null
null
pylinks/urls.py
michaelmior/pylinks
6d42ac7515f623ae3014ffc926888e62c74675f2
[ "MIT" ]
123
2017-06-09T18:26:17.000Z
2022-02-02T10:10:10.000Z
pylinks/urls.py
michaelmior/pylinks
6d42ac7515f623ae3014ffc926888e62c74675f2
[ "MIT" ]
1
2018-03-15T23:13:35.000Z
2018-03-15T23:13:35.000Z
from django.conf.urls import include, url from django.contrib import admin from django.contrib.auth.models import Group, User from django.contrib.sites.models import Site admin.autodiscover() #admin.site.unregister(User) #admin.site.unregister(Group) #admin.site.unregister(Site) urlpatterns = ( url(r'^feed/', inc...
31.956522
71
0.704762
100
735
5.18
0.35
0.054054
0.07722
0
0
0
0
0
0
0
0
0
0.118367
735
22
72
33.409091
0.799383
0.287075
0
0
0
0
0.242775
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
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
fd5147cdacd60e43d00af10ddd532e53f4d08e40
160
py
Python
buuctf/103-pwnable_simple_login/exp.py
RoderickChan/ctf_tasks
a021c6d86cade26448d099933f3caa856ed28360
[ "MIT" ]
null
null
null
buuctf/103-pwnable_simple_login/exp.py
RoderickChan/ctf_tasks
a021c6d86cade26448d099933f3caa856ed28360
[ "MIT" ]
null
null
null
buuctf/103-pwnable_simple_login/exp.py
RoderickChan/ctf_tasks
a021c6d86cade26448d099933f3caa856ed28360
[ "MIT" ]
null
null
null
from pwncli import * cli_script() p:tube = gift['io'] payload = p32(0xdeadbeef) + p32(0x804925f) + p32(0x811eb40) p.sendline(b64e(payload)) p.interactive()
14.545455
59
0.70625
22
160
5.090909
0.772727
0
0
0
0
0
0
0
0
0
0
0.158273
0.13125
160
11
60
14.545455
0.647482
0
0
0
0
0
0.012422
0
0
0
0.173913
0
0
1
0
false
0
0.166667
0
0.166667
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
fd53173dd62fc055537be83ad998825b646666f9
3,447
py
Python
src/intelliflow/core/platform/definitions/aws/emr/client_wrapper.py
amzn/rheoceros
5e8f79d97f8b21d693d3c869b0df70de3d5fd068
[ "Apache-2.0", "MIT-0" ]
4
2022-03-24T04:39:02.000Z
2022-03-31T16:41:50.000Z
src/intelliflow/core/platform/definitions/aws/emr/client_wrapper.py
amzn/rheoceros
5e8f79d97f8b21d693d3c869b0df70de3d5fd068
[ "Apache-2.0", "MIT-0" ]
null
null
null
src/intelliflow/core/platform/definitions/aws/emr/client_wrapper.py
amzn/rheoceros
5e8f79d97f8b21d693d3c869b0df70de3d5fd068
[ "Apache-2.0", "MIT-0" ]
null
null
null
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 import re from enum import Enum, unique from typing import Dict, Optional, Union from packaging import version from packaging.version import Version from intelliflow.core.platform.definitions.aws.glue.client_wr...
33.794118
130
0.677691
459
3,447
4.893246
0.32244
0.0748
0.0374
0.032057
0.163847
0.121995
0.092609
0.079252
0.079252
0.079252
0
0.017686
0.212649
3,447
101
131
34.128713
0.809875
0.205106
0
0.213115
0
0.032787
0.133435
0.090355
0
0
0
0
0
1
0.180328
false
0
0.114754
0.081967
0.622951
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
fd5558feba622f1e20d4024b89c734a664170731
3,601
py
Python
app/python/arcdump.py
PiRSquared17/warc-tools
f200a5ed086159a1b1833f7361b35389b1ad1ef4
[ "Apache-2.0" ]
null
null
null
app/python/arcdump.py
PiRSquared17/warc-tools
f200a5ed086159a1b1833f7361b35389b1ad1ef4
[ "Apache-2.0" ]
null
null
null
app/python/arcdump.py
PiRSquared17/warc-tools
f200a5ed086159a1b1833f7361b35389b1ad1ef4
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # ------------------------------------------------------------------- # # Copyright (c) 2007-2008 Hanzo Archives Limited. # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you...
40.920455
133
0.404332
305
3,601
4.72459
0.488525
0.041638
0.027065
0.03331
0.041638
0.041638
0
0
0
0
0
0.007062
0.410164
3,601
87
134
41.390805
0.671375
0.471536
0
0.162791
0
0.023256
0.332073
0.136609
0
0
0
0
0
0
null
null
0
0.116279
null
null
0.209302
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fd5b869e09c7f6e2fc9f8cd52dbb7b56fb4d820b
1,665
py
Python
examples/affect/affect_gradient_blend.py
TianhaoFu/MultiBench
b174a3187124d6f92be1ff3b487eef292f7883bb
[ "MIT" ]
null
null
null
examples/affect/affect_gradient_blend.py
TianhaoFu/MultiBench
b174a3187124d6f92be1ff3b487eef292f7883bb
[ "MIT" ]
null
null
null
examples/affect/affect_gradient_blend.py
TianhaoFu/MultiBench
b174a3187124d6f92be1ff3b487eef292f7883bb
[ "MIT" ]
null
null
null
import sys import os sys.path.append(os.getcwd()) sys.path.append(os.path.dirname(os.path.dirname(os.getcwd()))) import torch from torch import nn from fusions.common_fusions import Concat from datasets.affect.get_data import get_dataloader from unimodals.common_models import GRU, MLP, Transformer from training_stru...
34.6875
202
0.759159
255
1,665
4.803922
0.415686
0.016327
0.034286
0.051429
0.075918
0.075918
0.052245
0
0
0
0
0.049836
0.084084
1,665
47
203
35.425532
0.753443
0.287688
0
0
0
0
0.076531
0.028912
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
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
fd5cf582d3400941f68a8f1bcbd26e227dc460e1
371
py
Python
dnsdb_common/dal/models/deploy_history.py
baiyongjie/open_dnsdb
b5b7a69e439080cd6d85b692825ed56cd8f5c80a
[ "Apache-2.0" ]
378
2019-01-22T02:16:28.000Z
2022-03-31T01:34:27.000Z
dnsdb_common/dal/models/deploy_history.py
baiyongjie/open_dnsdb
b5b7a69e439080cd6d85b692825ed56cd8f5c80a
[ "Apache-2.0" ]
51
2019-01-23T03:15:16.000Z
2021-05-08T02:22:23.000Z
dnsdb_common/dal/models/deploy_history.py
baiyongjie/open_dnsdb
b5b7a69e439080cd6d85b692825ed56cd8f5c80a
[ "Apache-2.0" ]
139
2019-01-22T02:43:39.000Z
2022-02-21T09:16:01.000Z
# -*- coding: utf-8 -*- from . import AuditTimeMixin from .. import db class DeployHistory(db.Model, AuditTimeMixin): __tablename__ = 'tb_deploy_history' id = db.Column(db.Integer, primary_key=True) rtx_id = db.Column(db.String(50), nullable=False) deploy_desc = db.Column(db.Text, nullable=False) ...
26.5
53
0.700809
51
371
4.921569
0.54902
0.12749
0.159363
0.095618
0.247012
0.247012
0.247012
0
0
0
0
0.016026
0.15903
371
13
54
28.538462
0.788462
0.056604
0
0
0
0
0.048851
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b5b996afebae395086d9a3e5674f3cbdf1ff8638
318
py
Python
applications/parsers/services/__init__.py
ebs-integrator/bic-reporting-api
23c75f52af41405eb9d483245416f096b7f4ad38
[ "MIT" ]
1
2021-04-26T15:02:48.000Z
2021-04-26T15:02:48.000Z
applications/parsers/services/__init__.py
ebs-integrator/bic-reporting-api
23c75f52af41405eb9d483245416f096b7f4ad38
[ "MIT" ]
null
null
null
applications/parsers/services/__init__.py
ebs-integrator/bic-reporting-api
23c75f52af41405eb9d483245416f096b7f4ad38
[ "MIT" ]
null
null
null
from xml.etree import ElementTree from applications.reports.services.report import ReportService # Create your services here. class DataParserService(ReportService): @staticmethod def parse_xml(source: str = ''): if not source: return '' return ElementTree.fromstring(source)
19.875
62
0.707547
33
318
6.787879
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.220126
318
15
63
21.2
0.903226
0.081761
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
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
b5c4d4294734233b432e5a88397f1ded4541eacb
16,544
py
Python
sdk/python/helper/keeper_secrets_manager_helper/v3/record.py
Keeper-Security/secrets-manager
0044dec7f323ae2e531f52ef2435bd7205949fe9
[ "MIT" ]
9
2022-01-10T18:39:45.000Z
2022-03-06T03:51:41.000Z
sdk/python/helper/keeper_secrets_manager_helper/v3/record.py
Keeper-Security/secrets-manager
0044dec7f323ae2e531f52ef2435bd7205949fe9
[ "MIT" ]
10
2022-01-27T00:51:05.000Z
2022-03-30T08:42:01.000Z
sdk/python/helper/keeper_secrets_manager_helper/v3/record.py
Keeper-Security/secrets-manager
0044dec7f323ae2e531f52ef2435bd7205949fe9
[ "MIT" ]
6
2021-12-17T18:59:26.000Z
2022-03-28T16:47:28.000Z
from keeper_secrets_manager_helper.field import Field, FieldSectionEnum from keeper_secrets_manager_helper.common import load_file from keeper_secrets_manager_helper.v3.record_type import get_class_by_type as get_record_type_class from keeper_secrets_manager_helper.v3.field_type import get_class_by_type as get_field_ty...
44.353887
119
0.597921
2,004
16,544
4.730539
0.120758
0.038924
0.014768
0.010549
0.426266
0.356435
0.307068
0.278376
0.263608
0.238713
0
0.000809
0.327369
16,544
372
120
44.473118
0.851096
0.145612
0
0.296875
0
0
0.105944
0.013154
0
0
0
0
0
1
0.058594
false
0.050781
0.039063
0.003906
0.140625
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
b5c8a31b52443cd977d770b9e3888ea41480ee24
820
py
Python
torch_geometric/utils/loop.py
cysmnl/geometric_cognition
473c0cf585aaf49904bfb87c35ea706e12f67f8a
[ "MIT" ]
62
2018-12-12T16:06:34.000Z
2022-02-18T11:32:04.000Z
torch_geometric/utils/loop.py
cysmnl/geometric_cognition
473c0cf585aaf49904bfb87c35ea706e12f67f8a
[ "MIT" ]
2
2019-12-26T12:51:47.000Z
2020-09-02T10:39:55.000Z
torch_geometric/utils/loop.py
cysmnl/geometric_cognition
473c0cf585aaf49904bfb87c35ea706e12f67f8a
[ "MIT" ]
19
2018-12-12T17:51:43.000Z
2021-09-19T08:01:29.000Z
import torch from .num_nodes import maybe_num_nodes def contains_self_loops(edge_index): row, col = edge_index mask = row == col return mask.sum().item() > 0 def remove_self_loops(edge_index, edge_attr=None): row, col = edge_index mask = row != col edge_attr = edge_attr if edge_attr is None...
26.451613
67
0.712195
132
820
4.143939
0.295455
0.246801
0.095064
0.09872
0.091408
0.091408
0.091408
0
0
0
0
0.013453
0.184146
820
30
68
27.333333
0.804185
0
0
0.1
0
0
0
0
0
0
0
0
0
1
0.15
false
0
0.1
0
0.4
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
b5cde1542212026503fe9965715ac2fa10e4f7bc
651
py
Python
test/ResultsAndPrizes/bingo-75/test_bingo75_results_of_the_draw_previous_draw.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
1
2019-12-05T06:50:54.000Z
2019-12-05T06:50:54.000Z
test/ResultsAndPrizes/bingo-75/test_bingo75_results_of_the_draw_previous_draw.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
null
null
null
test/ResultsAndPrizes/bingo-75/test_bingo75_results_of_the_draw_previous_draw.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
null
null
null
# Бинго 75 + Результаты тиража + предыдущий тираж к примеру 2000 def test_bingo75_results_draw_previous_draw(app): app.ResultAndPrizes.open_page_results_and_prizes() app.ResultAndPrizes.click_game_bingo75() app.ResultAndPrizes.click_the_results_of_the_draw() app.ResultAndPrizes.select_draw_2000_in_dr...
46.5
82
0.832565
85
651
5.882353
0.494118
0.324
0.138
0.12
0.164
0.164
0
0
0
0
0
0.037543
0.099846
651
14
83
46.5
0.8157
0.095238
0
0
0
0
0.028912
0
0
0
0
0
0.1
1
0.1
false
0
0
0
0.1
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
b5d9fb4c5289a7e8cda9062ec8471c469106de2b
3,747
py
Python
src/overdash.py
mnuyens/forseti2
3c6d76ffac2b64d51f03d3922e3b388a4e35f1a8
[ "Apache-2.0" ]
1
2015-03-07T04:48:53.000Z
2015-03-07T04:48:53.000Z
src/overdash.py
mnuyens/forseti2
3c6d76ffac2b64d51f03d3922e3b388a4e35f1a8
[ "Apache-2.0" ]
null
null
null
src/overdash.py
mnuyens/forseti2
3c6d76ffac2b64d51f03d3922e3b388a4e35f1a8
[ "Apache-2.0" ]
null
null
null
import wx import threading import time import lcm import random import forseti2 import configurator import settings BLUE = (24, 25, 141) GOLD = (241, 169, 50) RED = (183, 24, 24) GREEN = (20, 198, 14) class Overrider(object): def __init__(self): self.lc = lcm.LCM(settings.LCM_URI) self.thread = t...
29.976
106
0.61676
518
3,747
4.355212
0.258687
0.048759
0.021277
0.039894
0.179078
0.126773
0
0
0
0
0
0.052354
0.240459
3,747
124
107
30.217742
0.740337
0.030424
0
0
0
0
0.046352
0
0
0
0
0
0
0
null
null
0
0.088889
null
null
0.011111
0
0
0
null
0
0
0
0
0
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
b5dfd580965f7cc420272544e248a8618f7b77a5
836
py
Python
examples/hw.py
alexandru-dinu/hmm
194f55229a94da473eb3223027abe933be10f7a6
[ "MIT" ]
null
null
null
examples/hw.py
alexandru-dinu/hmm
194f55229a94da473eb3223027abe933be10f7a6
[ "MIT" ]
3
2019-01-17T22:51:50.000Z
2019-06-28T20:52:35.000Z
examples/hw.py
alexandru-dinu/hmm
194f55229a94da473eb3223027abe933be10f7a6
[ "MIT" ]
null
null
null
import os import sys import numpy as np sys.path.insert(0, "../src") from hmm import HMM, forward, backward, viterbi hmm = HMM( pi=np.array([0.5, 0.5]), A=np.array([[0.75, 0.25], [0.25, 0.75]]), B=np.array(np.array([[0.45, 0.05, 0.45, 0.05], [0.05, 0.45, 0.05, 0.45]])), ) obs = np.array([0, 1, 3, 2]) p...
17.416667
79
0.543062
160
836
2.8375
0.26875
0.077093
0.070485
0.070485
0.215859
0.215859
0.204846
0.162996
0.092511
0
0
0.080477
0.197368
836
47
80
17.787234
0.596125
0
0
0.235294
0
0
0.093301
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0.441176
0
0
0
null
0
0
0
0
0
0
0
0
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
b5e1671fbf0102b99d43bc2833fc936797492125
411
py
Python
dbaas/notification/urls.py
jaeko44/python_dbaas
4fafa4ad70200fec1436c326c751761922ec9fa8
[ "BSD-3-Clause" ]
null
null
null
dbaas/notification/urls.py
jaeko44/python_dbaas
4fafa4ad70200fec1436c326c751761922ec9fa8
[ "BSD-3-Clause" ]
null
null
null
dbaas/notification/urls.py
jaeko44/python_dbaas
4fafa4ad70200fec1436c326c751761922ec9fa8
[ "BSD-3-Clause" ]
1
2017-07-02T08:46:17.000Z
2017-07-02T08:46:17.000Z
# -*- coding: utf-8 -*- from django.conf.urls import patterns, url import views urlpatterns = patterns( views, url(r"^tasks_running/$", views.running_tasks_api, name="notification:tasks_running"), url(r"^tasks_waiting/$", views.waiting_tasks_api, name="notification:tasks_waiting"), url(r"^database_tas...
31.615385
110
0.720195
54
411
5.259259
0.425926
0.042254
0.06338
0.169014
0.204225
0
0
0
0
0
0
0.002732
0.109489
411
12
111
34.25
0.773224
0.051095
0
0
0
0
0.386598
0.304124
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b5e16e5f64151bfa17d4d20aab72cd3c3dfa8eef
913
py
Python
cos_tests/block_tests/test_blocks_journal.py
baylee-d/cos.io
3f88acb0feb7a167bf9e81c42e28f9d2d38bbd43
[ "Apache-2.0" ]
null
null
null
cos_tests/block_tests/test_blocks_journal.py
baylee-d/cos.io
3f88acb0feb7a167bf9e81c42e28f9d2d38bbd43
[ "Apache-2.0" ]
null
null
null
cos_tests/block_tests/test_blocks_journal.py
baylee-d/cos.io
3f88acb0feb7a167bf9e81c42e28f9d2d38bbd43
[ "Apache-2.0" ]
null
null
null
import pytest # noqa from django.test import TestCase import common.blocks.journal as common class JournalsTabBlockTest(TestCase): def setUp(self): """ Establishes necessary variables """ super(JournalsTabBlockTest, self).setUp() self.block = common.JournalsTabBlock() def test_rende...
32.607143
106
0.671413
110
913
5.5
0.454545
0.059504
0.064463
0.046281
0
0
0
0
0
0
0
0
0.222344
913
27
107
33.814815
0.852113
0.135816
0
0
0
0
0.179319
0.048429
0
0
0
0
0.1875
1
0.25
false
0
0.1875
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b5e614ce9c2fbd306f9a4c6be1f1346af8a34ec3
1,103
py
Python
web_server/setup.py
shenweiss/hfo_engine
ccc5a124c97c6ff8bb507489a5e9bfdd76f25f01
[ "Intel", "Unlicense" ]
null
null
null
web_server/setup.py
shenweiss/hfo_engine
ccc5a124c97c6ff8bb507489a5e9bfdd76f25f01
[ "Intel", "Unlicense" ]
null
null
null
web_server/setup.py
shenweiss/hfo_engine
ccc5a124c97c6ff8bb507489a5e9bfdd76f25f01
[ "Intel", "Unlicense" ]
null
null
null
# Copyright 2018 FastWave LLC # # NOTICE: All information contained herein is, and remains the property of # FastWave LLC. The intellectual and technical concepts contained # herein are proprietary to FastWave LLC and its suppliers and may be covered # by U.S. and Foreign Patents, patents in process, and are protected...
33.424242
77
0.700816
145
1,103
5.213793
0.696552
0.058201
0.031746
0
0
0
0
0
0
0
0
0.008074
0.213962
1,103
32
78
34.46875
0.863899
0.515866
0
0
0
0
0.262956
0
0
0
0
0.03125
0
1
0
false
0
0.133333
0
0.133333
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
b5e7af7b7e0e35726be90b29236bda70f36b73de
1,080
py
Python
flask/utils/human_ids.py
geovote/geovote-main
b848fba73c51c112cdc235f6d5240f5e8706332f
[ "MIT" ]
null
null
null
flask/utils/human_ids.py
geovote/geovote-main
b848fba73c51c112cdc235f6d5240f5e8706332f
[ "MIT" ]
46
2018-12-29T22:30:21.000Z
2019-02-04T10:47:32.000Z
flask/utils/human_ids.py
geovote/geovote-main
b848fba73c51c112cdc235f6d5240f5e8706332f
[ "MIT" ]
null
null
null
""" human_ids """ from base64 import b32encode, b32decode # This library creates IDs for use in our URLs, # trying to achieve a balance between having a short # length and being usable by humans # We use base32, but replace O and I, which can be mistaken for 0 and 1 # by 8 and 9 def dehumanize(publicId): """ Get...
27.692308
71
0.632407
156
1,080
4.282051
0.461538
0.062874
0.053892
0.080838
0.071856
0
0
0
0
0
0
0.035452
0.242593
1,080
38
72
28.421053
0.781174
0.294444
0
0.095238
0
0
0.028417
0
0
0
0
0
0
1
0.190476
false
0
0.047619
0.095238
0.52381
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
b5ec0db2599fb10a090f733f54c70b58e2e9bda9
522
py
Python
ex078.py
juniorpedroso/Exercicios-CEV-Python
4adad3b6f3994cf61f9ead5564124b8b9c58d304
[ "MIT" ]
null
null
null
ex078.py
juniorpedroso/Exercicios-CEV-Python
4adad3b6f3994cf61f9ead5564124b8b9c58d304
[ "MIT" ]
null
null
null
ex078.py
juniorpedroso/Exercicios-CEV-Python
4adad3b6f3994cf61f9ead5564124b8b9c58d304
[ "MIT" ]
null
null
null
valores = list() for i in range(0, 5): valores.append(int(input(f'Digite um valor para a posição {i}: '))) print('-=' * 20) print(f'Você digitou os valores {valores}') print(f'O maior valor digitado foi {max(valores)} nas posições: ', end='') for pos, v in enumerate(valores): if v == max(valores): print...
34.8
74
0.614943
82
522
3.914634
0.45122
0.093458
0.121495
0.130841
0.423676
0.305296
0.305296
0.305296
0.305296
0.305296
0
0.009412
0.185824
522
14
75
37.285714
0.745882
0
0
0.285714
0
0
0.385057
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
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
b5eda47fc35d7e0055be71f98653719f64ebc2d4
2,593
py
Python
examples/models/file/latex_extension.py
aparamon/bokeh
cf6c97e35301adb15dd69eb24f4f8af5e75d64e1
[ "BSD-3-Clause" ]
1
2018-11-14T19:08:18.000Z
2018-11-14T19:08:18.000Z
examples/models/file/latex_extension.py
aparamon/bokeh
cf6c97e35301adb15dd69eb24f4f8af5e75d64e1
[ "BSD-3-Clause" ]
1
2021-05-09T02:45:17.000Z
2021-05-09T02:45:17.000Z
examples/models/file/latex_extension.py
aparamon/bokeh
cf6c97e35301adb15dd69eb24f4f8af5e75d64e1
[ "BSD-3-Clause" ]
1
2020-01-30T22:02:24.000Z
2020-01-30T22:02:24.000Z
""" The LaTex example was derived from: http://matplotlib.org/users/usetex.html """ from bokeh.models import Label from bokeh.palettes import Spectral4 from bokeh.plotting import output_file, figure, show import numpy as np from scipy.special import jv output_file('external_resources.html') class LatexLabel(Label):...
36.013889
101
0.687235
391
2,593
4.424552
0.480818
0.017341
0.022543
0.02659
0.077457
0.054335
0.054335
0.054335
0.054335
0.054335
0
0.02181
0.168916
2,593
71
102
36.521127
0.780974
0.151562
0
0
0
0.136364
0.615882
0.174054
0
0
0
0
0
1
0
false
0
0.136364
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b5f28709fd0f01d219fc8f2953f7c69e3e311314
377
py
Python
contact_forms/api/urls.py
orlowdev/aite
6fcb02211d9fcb6be84de99deebc2aabe8075f61
[ "Apache-2.0" ]
1
2021-04-13T15:44:05.000Z
2021-04-13T15:44:05.000Z
contact_forms/api/urls.py
orlowdev/aite
6fcb02211d9fcb6be84de99deebc2aabe8075f61
[ "Apache-2.0" ]
null
null
null
contact_forms/api/urls.py
orlowdev/aite
6fcb02211d9fcb6be84de99deebc2aabe8075f61
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url from contact_forms.api import views urlpatterns = [ url(r'^simple-contact/create/$', views.SimpleContactCreateAPIView.as_view(), name="simple-contact"), url(r'^bug-report/create/$', views.BugReportCreateAPIView.as_view(), name="bug-report"), url(r'^feedback/create/$', view...
37.7
104
0.734748
48
377
5.6875
0.479167
0.043956
0.10989
0.095238
0.139194
0
0
0
0
0
0
0
0.092838
377
9
105
41.888889
0.798246
0
0
0
0
0
0.254642
0.06366
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
b5fbeb1172636503648a9e34dd5e11192ad13411
14,182
py
Python
Bidirectional_interface/Haptics/Firmware/src/drivers/__TEMPLATE__.py
hukohli/Bidirectional_Interface
c8be444e683b2773e4334c1486cf2407efdf865c
[ "MIT" ]
null
null
null
Bidirectional_interface/Haptics/Firmware/src/drivers/__TEMPLATE__.py
hukohli/Bidirectional_Interface
c8be444e683b2773e4334c1486cf2407efdf865c
[ "MIT" ]
null
null
null
Bidirectional_interface/Haptics/Firmware/src/drivers/__TEMPLATE__.py
hukohli/Bidirectional_Interface
c8be444e683b2773e4334c1486cf2407efdf865c
[ "MIT" ]
1
2019-10-15T11:45:29.000Z
2019-10-15T11:45:29.000Z
# -*- coding: utf-8 -*- # Author: Cyrill Lippuner # Date: October 2018 """ Driver file <Insert name/code if device> <Insert description of device> """ import time # Imported for delay reasons ################################################################# # TODO: # ...
37.419525
109
0.436328
1,211
14,182
5.023947
0.234517
0.029586
0.036818
0.02071
0.201348
0.154011
0.154011
0.14119
0.12574
0.108974
0
0.004563
0.304541
14,182
378
110
37.518519
0.612288
0.278452
0
0.12
0
0
0.056703
0
0
0
0
0.002646
0
0
null
null
0
0.024
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
bd0fc88987ca9f17f330583cd1cbdcd5db7cab11
2,013
py
Python
evaluation/slt_vac_eval/wer_calculation.py
vuducmanh1407/sign-language-translation
8df83befcf2896ad23dbcf7f34eb22a6884495fb
[ "Apache-2.0" ]
27
2021-08-01T05:43:07.000Z
2022-03-23T13:50:04.000Z
evaluation/slr_eval/wer_calculation.py
shivani-b07/VAC_CSLR
bd6e3b3e520ea1547a85e509f781eb85dddc821f
[ "Apache-2.0" ]
11
2021-09-14T04:06:17.000Z
2022-03-25T02:35:01.000Z
evaluation/slr_eval/wer_calculation.py
shivani-b07/VAC_CSLR
bd6e3b3e520ea1547a85e509f781eb85dddc821f
[ "Apache-2.0" ]
4
2021-09-12T10:12:52.000Z
2022-03-06T11:19:34.000Z
import os import pdb from .python_wer_evaluation import wer_calculation def evaluate(prefix="./", mode="dev", evaluate_dir=None, evaluate_prefix=None, output_file=None, output_dir=None, python_evaluate=False, triplet=False): ''' TODO change file save path ''' sclite_path = "...
40.26
107
0.611028
280
2,013
4.239286
0.278571
0.075821
0.088458
0.112047
0.349621
0.313395
0.286436
0.286436
0.286436
0.286436
0
0.007787
0.234476
2,013
49
108
41.081633
0.762492
0.042722
0
0.121951
0
0.073171
0.452119
0.215594
0
0
0
0.020408
0
1
0.02439
false
0
0.073171
0
0.146341
0.02439
0
0
0
null
0
0
0
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
bd14fde250a6f9cac004119f53504a2de74be5f8
553
py
Python
imagesearch_app/models.py
shahjalalh/image_search_layer
73d00962b1da7d80544a52ed1854db7602544588
[ "MIT" ]
null
null
null
imagesearch_app/models.py
shahjalalh/image_search_layer
73d00962b1da7d80544a52ed1854db7602544588
[ "MIT" ]
null
null
null
imagesearch_app/models.py
shahjalalh/image_search_layer
73d00962b1da7d80544a52ed1854db7602544588
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.db import models # Create your models here. class Image(models.Model): url = models.URLField(max_length=255) snippet = models.TextField() thumbnail = models.TextField() context = models.TextField() created = models.DateTimeField(auto_now_add=True...
24.043478
53
0.719711
69
553
5.492754
0.536232
0.118734
0.063325
0.137203
0.279683
0.279683
0.279683
0.279683
0.279683
0.279683
0
0.013363
0.188065
553
22
54
25.136364
0.830735
0.0434
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0.133333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
bd189e43d7c0c60a0cf9ce173ef9410207dd98a4
1,034
py
Python
cppdefs.py
MalikJordan/pyPOM1D
196e5f52e4fb770a938f977a092d7eac77f61565
[ "BSD-3-Clause" ]
null
null
null
cppdefs.py
MalikJordan/pyPOM1D
196e5f52e4fb770a938f977a092d7eac77f61565
[ "BSD-3-Clause" ]
null
null
null
cppdefs.py
MalikJordan/pyPOM1D
196e5f52e4fb770a938f977a092d7eac77f61565
[ "BSD-3-Clause" ]
1
2020-12-17T19:50:00.000Z
2020-12-17T19:50:00.000Z
""" This file is included in all files """ # THIS FILE IS INCLUDED IN ALL FILES RELEASE = 'Created by BFM v. 5.1' PATH_MAX = 255 stderr = 0 stdout = 6 # HANDY FOR WRITING def STDOUT(text): print(text) def STDERR(text): print(text) # STANDARD OUTPUT FOR PARALLEL COMPUTATION def LEVEL0(): STDERR('') de...
14.56338
85
0.554159
138
1,034
4.043478
0.586957
0.080645
0.035842
0.064516
0.100358
0.100358
0.100358
0
0
0
0
0.048193
0.277563
1,034
70
86
14.771429
0.698795
0.247582
0
0.175
0
0
0.186597
0.094612
0
0
0
0
0
1
0.225
false
0
0
0
0.225
0.075
0
0
0
null
0
0
0
0
0
0
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
bd1d8922509a38407dd0e94698cafe17bba1d90e
847
py
Python
src/redrawing/components/er_ukf_imu_modules/error_compensation.py
ReDrawing/redrawing
20743f0c8d64d9d2e15cefa840423c9698c74653
[ "MIT" ]
1
2021-04-20T00:00:15.000Z
2021-04-20T00:00:15.000Z
src/redrawing/components/er_ukf_imu_modules/error_compensation.py
ReDrawing/redrawing
20743f0c8d64d9d2e15cefa840423c9698c74653
[ "MIT" ]
null
null
null
src/redrawing/components/er_ukf_imu_modules/error_compensation.py
ReDrawing/redrawing
20743f0c8d64d9d2e15cefa840423c9698c74653
[ "MIT" ]
1
2021-07-18T03:57:01.000Z
2021-07-18T03:57:01.000Z
import numpy as np class GyroErrorCompensation(): def __init__(self): self.correctedOmega = np.array([0,0,0], dtype=np.float64) self.measuredOmega = np.array([0,0,0], dtype=np.float64) self.predictedOmegaError = np.array([0,0,0], dtype=np.float64) self.calculate = True def set...
32.576923
79
0.670602
88
847
6.409091
0.272727
0.028369
0.056738
0.06383
0.265957
0.265957
0.265957
0.265957
0.265957
0.166667
0
0.030534
0.226682
847
26
80
32.576923
0.830534
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0
0.388889
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
bd21f05b72ea019f495e41b6fd83c69230d81aa4
305
py
Python
src/lib/utils.py
Ces1k/py-crypto-tracker
16fd1eea08c345ff34accccc24ea6985001feea1
[ "MIT" ]
null
null
null
src/lib/utils.py
Ces1k/py-crypto-tracker
16fd1eea08c345ff34accccc24ea6985001feea1
[ "MIT" ]
null
null
null
src/lib/utils.py
Ces1k/py-crypto-tracker
16fd1eea08c345ff34accccc24ea6985001feea1
[ "MIT" ]
null
null
null
import logging from pathlib import Path import yaml MODULE_LOGGER = logging.getLogger(Path(__file__).name) def get_root_dir(): root_dir = Path(__file__).parent.parent.parent return root_dir def load_yaml(path): with open(path, "r") as yaml_file: return yaml.safe_load(yaml_file)
17.941176
54
0.734426
46
305
4.5
0.5
0.101449
0
0
0
0
0
0
0
0
0
0
0.17377
305
16
55
19.0625
0.821429
0
0
0
0
0
0.003279
0
0
0
0
0
0
1
0.2
false
0
0.3
0
0.7
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
bd327affad5a49ff47e52669df4fad87b2254ae9
3,920
py
Python
libraries/botframework-streaming/botframework/streaming/transport/web_socket/web_socket_transport.py
andreikop/botbuilder-python
5e073e0c68fcbdc558133bdbd59a02453e597abe
[ "MIT" ]
388
2019-05-07T15:53:21.000Z
2022-03-28T20:29:46.000Z
libraries/botframework-streaming/botframework/streaming/transport/web_socket/web_socket_transport.py
andreikop/botbuilder-python
5e073e0c68fcbdc558133bdbd59a02453e597abe
[ "MIT" ]
1,286
2019-05-07T23:38:19.000Z
2022-03-31T10:44:16.000Z
libraries/botframework-streaming/botframework/streaming/transport/web_socket/web_socket_transport.py
andreikop/botbuilder-python
5e073e0c68fcbdc558133bdbd59a02453e597abe
[ "MIT" ]
168
2019-05-14T20:23:25.000Z
2022-03-16T06:49:14.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import traceback from typing import List from botframework.streaming.transport import TransportReceiverBase, TransportSenderBase from .web_socket import WebSocket from .web_socket_message_type import WebSocketMessageType fr...
43.555556
116
0.622449
449
3,920
5.345212
0.363029
0.045833
0.021667
0.0375
0.399167
0.356667
0.356667
0.291667
0.291667
0.291667
0
0.001514
0.32602
3,920
89
117
44.044944
0.906889
0.271173
0
0.236364
0
0
0.017964
0
0
0
0
0.022472
0
1
0.036364
false
0
0.127273
0.018182
0.254545
0.036364
0
0
0
null
0
0
0
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
bd3331f9a21795f72f9c2d1b1c04a8b3349bc577
1,226
py
Python
reqHandl.py
Sletteon/csjelentkezes
a6e2869f7793bc6de0148201766a1c688b935cb5
[ "MIT" ]
1
2018-01-12T07:47:31.000Z
2018-01-12T07:47:31.000Z
reqHandl.py
Sletteon/csjelentkezes
a6e2869f7793bc6de0148201766a1c688b935cb5
[ "MIT" ]
null
null
null
reqHandl.py
Sletteon/csjelentkezes
a6e2869f7793bc6de0148201766a1c688b935cb5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Amikor valaki üzenetet küld, ez az osztály lesz megfelelő függvénye lesz meghívva import socket, os from flask import Flask, request, Response, json, send_from_directory from flask_cors import CORS from errorHandl import errorHandl from colorPrint import colorPrint from dbIO import dbIO c...
37.151515
118
0.739804
154
1,226
5.850649
0.474026
0.066593
0.079911
0.102109
0.160932
0.130966
0.130966
0
0
0
0
0.000933
0.125612
1,226
32
119
38.3125
0.839552
0.084829
0
0
0
0
0.192136
0
0
0
0
0
0
1
0.136364
false
0
0.272727
0
0.681818
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
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
bd33a506dff0d11cd548bdf8b4bddbff974c8519
1,768
py
Python
hals/transition_system/arc_eager_test.py
andersjo/hals
9cc4067d581f6a97136e0f186dc8aa1dbc734e47
[ "MIT" ]
null
null
null
hals/transition_system/arc_eager_test.py
andersjo/hals
9cc4067d581f6a97136e0f186dc8aa1dbc734e47
[ "MIT" ]
null
null
null
hals/transition_system/arc_eager_test.py
andersjo/hals
9cc4067d581f6a97136e0f186dc8aa1dbc734e47
[ "MIT" ]
null
null
null
from copy import copy, deepcopy import numpy as np from unittest import TestCase from transition_system.arc_eager import ArcEager, ArcEagerDynamicOracle def generate_all_projective_parses(size): arc_eager = ArcEager(1) initial = arc_eager.state(size) stack = [] stack.append(initial) parses = set...
31.571429
71
0.631787
209
1,768
5.110048
0.368421
0.097378
0.039326
0.050562
0.162921
0.067416
0.067416
0
0
0
0
0.003946
0.283371
1,768
56
72
31.571429
0.83899
0
0
0.093023
1
0
0
0
0
0
0
0
0.046512
1
0.069767
false
0
0.093023
0
0.232558
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
bd376dcd3463c544939d9152abc8a41ece986620
2,843
py
Python
module1-introduction-to-sql/rpg_db.py
KathyRoma/DS-Unit-3-Sprint-2-SQL-and-Databases
272388d0ddae980d1261d64da030e136a6a2742e
[ "MIT" ]
null
null
null
module1-introduction-to-sql/rpg_db.py
KathyRoma/DS-Unit-3-Sprint-2-SQL-and-Databases
272388d0ddae980d1261d64da030e136a6a2742e
[ "MIT" ]
null
null
null
module1-introduction-to-sql/rpg_db.py
KathyRoma/DS-Unit-3-Sprint-2-SQL-and-Databases
272388d0ddae980d1261d64da030e136a6a2742e
[ "MIT" ]
null
null
null
import sqlite3 conn = sqlite3.connect('rpg_db.sqlite3') curs = conn.cursor() count_characters = 'SELECT COUNT(*) FROM charactercreator_character;' print(curs.execute(count_characters).fetchall() [0][0]) query = '''SELECT character_id, COUNT(distinct item_id) FROM charactercreator_character_inventory ...
36.448718
94
0.660218
355
2,843
5.143662
0.205634
0.078313
0.10241
0.080504
0.508762
0.351588
0.310515
0.294085
0.230011
0.230011
0
0.008574
0.220542
2,843
78
95
36.448718
0.815433
0.065072
0
0.125
0
0
0.6341
0.121841
0
0
0
0
0
1
0
false
0
0.020833
0
0.020833
0.291667
0
0
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
bd4759045488aa4d8d83a5a5a586da0c7c2e7e4d
7,873
py
Python
frontend/cstar_perf/frontend/server/notifications.py
henrypan/cstar_perf
863a4c6b2ebec97b81cc49263a273635c598e740
[ "Apache-2.0" ]
60
2015-01-01T03:01:40.000Z
2021-11-06T16:03:41.000Z
frontend/cstar_perf/frontend/server/notifications.py
henrypan/cstar_perf
863a4c6b2ebec97b81cc49263a273635c598e740
[ "Apache-2.0" ]
182
2015-01-04T20:02:54.000Z
2021-04-23T18:16:23.000Z
frontend/cstar_perf/frontend/server/notifications.py
henrypan/cstar_perf
863a4c6b2ebec97b81cc49263a273635c598e740
[ "Apache-2.0" ]
30
2015-03-11T14:37:38.000Z
2021-01-13T10:48:02.000Z
"""A collection of ZeroMQ servers test_notification_service - send out notifications of test status changes - Registers a PULL socket that model.py sends notifications of tests to. - Registers a PUB socket that broadcasts notifications to cluster_api websocket subscribers. console_monitor_service - monitor the cons...
37.850962
122
0.622507
939
7,873
5.061768
0.257721
0.038292
0.033873
0.019356
0.270145
0.189354
0.175889
0.175889
0.175889
0.159057
0
0.012061
0.262797
7,873
207
123
38.033816
0.806857
0.05576
0
0.170068
0
0
0.150943
0.067236
0
0
0
0
0
0
null
null
0
0.07483
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
bd496f6749f356fbeb84bbf19ce78b03930eb05b
13,859
py
Python
main.py
junkert/helios
e24775453f5a8618f374e7e3db0dd04b6deb01db
[ "BSD-2-Clause" ]
4
2016-09-19T00:25:04.000Z
2018-11-04T00:51:47.000Z
main.py
junkert/helios
e24775453f5a8618f374e7e3db0dd04b6deb01db
[ "BSD-2-Clause" ]
null
null
null
main.py
junkert/helios
e24775453f5a8618f374e7e3db0dd04b6deb01db
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python import os import sys import time import json import pprint import random import signal import shutil import LPD8806 import colorsys import threading import traceback # Globals num_leds = 160 colors = {'r': 0, 'g': 0, 'b': 0, 'v': 1.0} output_dict = {} random.seed(time.time()) class Brightness(threa...
31.004474
85
0.473266
1,622
13,859
3.895808
0.139334
0.052223
0.032917
0.015667
0.445007
0.392309
0.319987
0.293401
0.290869
0.247349
0
0.035211
0.395483
13,859
446
86
31.073991
0.719026
0.040479
0
0.391667
0
0
0.080607
0.010854
0
0
0
0
0
0
null
null
0
0.033333
null
null
0.047222
0
0
0
null
0
0
0
0
0
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
bd4b7e050fd1ad0ab5ad44d4ba445f41ad933bfa
937
py
Python
hodor/api/__init__.py
xiaopeng163/hodor
b87b48a9f1b1ac94a7b871f541f34e934bee765c
[ "Apache-2.0" ]
null
null
null
hodor/api/__init__.py
xiaopeng163/hodor
b87b48a9f1b1ac94a7b871f541f34e934bee765c
[ "Apache-2.0" ]
null
null
null
hodor/api/__init__.py
xiaopeng163/hodor
b87b48a9f1b1ac94a7b871f541f34e934bee765c
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Cisco Systems, 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 requi...
25.324324
78
0.721451
134
937
4.91791
0.708955
0.091047
0.039454
0.048558
0
0
0
0
0
0
0
0.021248
0.196371
937
36
79
26.027778
0.853918
0.645678
0
0
0
0
0.028391
0
0
0
0
0
0
1
0.166667
false
0.083333
0.25
0.083333
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1facdd5fd1a5233ede6c59eb8bdd03032aca2418
7,037
py
Python
src/raleigh-client/pyraleigh/tests/test_sset.py
matteobertozzi/RaleighSL
c0479296201a34ea647534ed8cbc523494776da2
[ "Apache-2.0" ]
null
null
null
src/raleigh-client/pyraleigh/tests/test_sset.py
matteobertozzi/RaleighSL
c0479296201a34ea647534ed8cbc523494776da2
[ "Apache-2.0" ]
null
null
null
src/raleigh-client/pyraleigh/tests/test_sset.py
matteobertozzi/RaleighSL
c0479296201a34ea647534ed8cbc523494776da2
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # 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 writin...
31.137168
88
0.639477
970
7,037
4.504124
0.170103
0.031586
0.073243
0.062943
0.506523
0.460975
0.380865
0.340352
0.331884
0.313573
0
0.024085
0.227085
7,037
225
89
31.275556
0.779187
0.090948
0
0.319018
0
0
0.057219
0
0
0
0
0
0.202454
0
null
null
0
0.042945
null
null
0.01227
0
0
0
null
0
0
0
0
0
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
1fb001b877ef0846341c4178eb98e90eef327748
2,874
py
Python
duct/protocol/sflow/protocol/protocol.py
geostarling/duct
a862fc1948ed1ecce1e866cbffc7fcedcea81f55
[ "MIT" ]
12
2017-01-06T11:59:59.000Z
2021-03-16T17:57:46.000Z
duct/protocol/sflow/protocol/protocol.py
geostarling/duct
a862fc1948ed1ecce1e866cbffc7fcedcea81f55
[ "MIT" ]
20
2017-01-06T12:56:39.000Z
2017-02-06T13:45:28.000Z
duct/protocol/sflow/protocol/protocol.py
geostarling/duct
a862fc1948ed1ecce1e866cbffc7fcedcea81f55
[ "MIT" ]
2
2017-02-09T14:02:13.000Z
2018-10-16T13:18:17.000Z
""" .. module:: protocol :synopsis: SFlow protocol .. moduleauthor:: Colin Alston <colin@imcol.in> """ import xdrlib from duct.protocol.sflow.protocol import flows, counters class Sflow(object): """SFlow protocol stream decoder """ def __init__(self, payload, host): self.host = host a...
25.210526
75
0.578984
344
2,874
4.619186
0.25
0.114537
0.152297
0.179358
0.312775
0.191945
0.191945
0.15922
0.15922
0.15922
0
0.006042
0.308977
2,874
113
76
25.433628
0.794058
0.098469
0
0.212121
0
0
0.005864
0
0
0
0
0
0.015152
1
0.075758
false
0
0.030303
0
0.151515
0.015152
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
1fb39a51cfd8b5218f3f1bd7777e68c884965b9a
4,842
py
Python
its.py
rohan2546/TechArmy
c086157c7db8ec7eb137b81e7854e31f7dfb678b
[ "MIT" ]
1
2020-03-12T06:21:09.000Z
2020-03-12T06:21:09.000Z
its.py
rohan2546/TechArmy
c086157c7db8ec7eb137b81e7854e31f7dfb678b
[ "MIT" ]
null
null
null
its.py
rohan2546/TechArmy
c086157c7db8ec7eb137b81e7854e31f7dfb678b
[ "MIT" ]
null
null
null
import pymongo import datetime import json from flask import Flask, render_template, request, url_for, redirect, abort, jsonify, make_response from flask_cors import CORS, cross_origin from bson import json_util from bson.json_util import dumps,ObjectId import random app=Flask(__name__) @app.route('/addP...
33.393103
135
0.681537
649
4,842
4.952234
0.183359
0.02738
0.039203
0.052271
0.681083
0.678283
0.662103
0.616055
0.591786
0.557561
0
0.022314
0.148492
4,842
145
136
33.393103
0.757216
0
0
0.519685
0
0.055118
0.297297
0.15216
0
0
0
0
0
0
null
null
0
0.062992
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
1fb70ec63bd0dbad39d89c0b6f994422efb0ceaa
757
py
Python
symposion/reviews/migrations/0002_auto_20150812_0920.py
azkarmoulana/pycon
931388e6f640c35b892bb4b2d12581ba7ec8cf4e
[ "BSD-3-Clause" ]
154
2015-01-17T02:29:24.000Z
2022-03-20T20:37:24.000Z
symposion/reviews/migrations/0002_auto_20150812_0920.py
azkarmoulana/pycon
931388e6f640c35b892bb4b2d12581ba7ec8cf4e
[ "BSD-3-Clause" ]
316
2015-01-10T04:01:50.000Z
2020-09-30T20:18:08.000Z
symposion/reviews/migrations/0002_auto_20150812_0920.py
azkarmoulana/pycon
931388e6f640c35b892bb4b2d12581ba7ec8cf4e
[ "BSD-3-Clause" ]
89
2015-01-10T05:25:21.000Z
2022-02-27T03:28:59.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('reviews', '0001_initial'), ] operations = [ migrations.AlterField( model_name='notificationtemplate', ...
25.233333
52
0.59181
65
757
6.661538
0.476923
0.138568
0.17321
0.200924
0.540416
0.540416
0.540416
0.448037
0.448037
0.448037
0
0.026365
0.298547
757
29
53
26.103448
0.789077
0.027741
0
0.565217
0
0
0.148501
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
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
1fb9d8b29372ac6082cca14a88bf2038b79f3160
1,335
py
Python
flockd.py
MainRo/python-flock
e1faa78d6aba374493336651848daadad82387a8
[ "MIT" ]
null
null
null
flockd.py
MainRo/python-flock
e1faa78d6aba374493336651848daadad82387a8
[ "MIT" ]
null
null
null
flockd.py
MainRo/python-flock
e1faa78d6aba374493336651848daadad82387a8
[ "MIT" ]
null
null
null
#! /usr/bin/python import logging import os.path import argparse from twisted.internet import reactor from twisted.internet.protocol import Protocol from flock.roster import Roster from flock.controller_factory import ControllerFactory from flock.controller.rfxcom.protocol import RfxcomProtocol from flock.controlle...
32.560976
86
0.75206
155
1,335
6.387097
0.419355
0.072727
0.09596
0.093939
0
0
0
0
0
0
0
0.006082
0.137828
1,335
40
87
33.375
0.85404
0.012734
0
0
0
0
0.072134
0
0
0
0
0
0
1
0
false
0
0.433333
0
0.433333
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
1fba026095c2ff94be90c1606f5974391aa56757
1,608
py
Python
src/PyMud/player/player.py
NichCritic/pymud
583ec16f5a75dc7b45146564b39851291dc07b6c
[ "MIT" ]
null
null
null
src/PyMud/player/player.py
NichCritic/pymud
583ec16f5a75dc7b45146564b39851291dc07b6c
[ "MIT" ]
null
null
null
src/PyMud/player/player.py
NichCritic/pymud
583ec16f5a75dc7b45146564b39851291dc07b6c
[ "MIT" ]
null
null
null
''' Created on 2013-12-01 @author: Nich ''' import uuid class PlayerFactory(object): ''' classdocs ''' def __init__(self, component_manager): self.players = {} self.component_manager = component_manager def create_player(self, message_buffer, pid=None, avatar=None): p = ...
27.254237
93
0.613184
204
1,608
4.598039
0.318627
0.119403
0.127932
0.049041
0.147122
0.119403
0.119403
0.119403
0.119403
0
0
0.007944
0.295398
1,608
58
94
27.724138
0.819947
0.142413
0
0.064516
0
0
0.054734
0
0
0
0
0.017241
0
1
0.193548
false
0
0.032258
0.064516
0.419355
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
1fba9e66bed9a45a7ae55a6876b92f9cf61bf615
400
py
Python
setup.py
prkumar/goji
b5ca6f5bed183117a41540f9c63fa6cef2d83bab
[ "BSD-2-Clause" ]
null
null
null
setup.py
prkumar/goji
b5ca6f5bed183117a41540f9c63fa6cef2d83bab
[ "BSD-2-Clause" ]
null
null
null
setup.py
prkumar/goji
b5ca6f5bed183117a41540f9c63fa6cef2d83bab
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python from setuptools import setup setup( name='goji', version='0.1.0', url='https://github.com/kylef/goji', author='Kyle Fuller', author_email='kyle@fuller.li', packages=('goji',), install_requires=('requests', 'Click'), entry_points={ 'console_scripts': ( ...
19.047619
43
0.5775
46
400
4.913043
0.804348
0.088496
0
0
0
0
0
0
0
0
0
0.009901
0.2425
400
20
44
20
0.735974
0.05
0
0
0
0
0.328042
0
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1fc307f5e394fcf2307554c9d1b96cdc15b5fdcd
9,021
py
Python
supplement/objects.py
enthought/supplement
76090598cb55c80f9f4d4caad87344a8ac9d8e11
[ "MIT" ]
1
2017-02-15T18:30:44.000Z
2017-02-15T18:30:44.000Z
supplement/objects.py
enthought/supplement
76090598cb55c80f9f4d4caad87344a8ac9d8e11
[ "MIT" ]
3
2015-04-09T14:31:45.000Z
2016-08-26T13:01:47.000Z
supplement/objects.py
enthought/supplement
76090598cb55c80f9f4d4caad87344a8ac9d8e11
[ "MIT" ]
null
null
null
import logging from types import FunctionType, ClassType, ModuleType, BuiltinFunctionType from inspect import getargspec, getdoc from .tree import CtxNodeProvider from .common import Object, GetObjectDelegate, MethodObject, UnknownObject def dir_top(obj): try: return obj.__dict__ except AttributeError...
27.008982
101
0.579537
998
9,021
4.956914
0.133267
0.029109
0.019406
0.015161
0.194461
0.102891
0.065494
0.052557
0.037194
0.023853
0
0.001326
0.331338
9,021
334
102
27.008982
0.8188
0
0
0.377432
0
0
0.012192
0
0
0
0
0
0
0
null
null
0.031128
0.031128
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
1fc4261f904bd420100367bc1545e49616ee344e
2,332
py
Python
Intro To Python/Course Materials/Module 5 - Definite and Indefinite Loops/5_Looping.py
moni-roy/GRAD-778
8c9e6fa2b370b8ef8d0c6bf8e5ba55f8b5b30a00
[ "MIT" ]
null
null
null
Intro To Python/Course Materials/Module 5 - Definite and Indefinite Loops/5_Looping.py
moni-roy/GRAD-778
8c9e6fa2b370b8ef8d0c6bf8e5ba55f8b5b30a00
[ "MIT" ]
null
null
null
Intro To Python/Course Materials/Module 5 - Definite and Indefinite Loops/5_Looping.py
moni-roy/GRAD-778
8c9e6fa2b370b8ef8d0c6bf8e5ba55f8b5b30a00
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Looping Examples Intro to Python Workshop """ ## Iteration 1 - Iconic lyrics n = 5 while n > 0: print ("Hello "*3) print ("How low") print ("Entertain us!") ## Iteration 2 - Iconic lyrics n = 0 while n > 0: print ("Hello"*3) print ("How low") print ("E...
27.435294
165
0.662093
323
2,332
4.71517
0.452012
0.027577
0.023638
0.075509
0.138542
0.138542
0.119501
0.119501
0.059094
0.059094
0
0.069613
0.223842
2,332
85
166
27.435294
0.771823
0.289451
0
0.320755
0
0.018868
0.249838
0
0
0
0
0
0
1
0
false
0
0
0
0
0.45283
0
0
0
null
0
0
0
0
0
0
0
0
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
1fc76534393371a5e4d7cb4b2aa1363e07285553
30,057
py
Python
randomizer/iso/constants.py
soulweaver91/pokemon-gc-randomizer
dd65af90ec214986485887084b2d85191aa41db7
[ "MIT" ]
null
null
null
randomizer/iso/constants.py
soulweaver91/pokemon-gc-randomizer
dd65af90ec214986485887084b2d85191aa41db7
[ "MIT" ]
null
null
null
randomizer/iso/constants.py
soulweaver91/pokemon-gc-randomizer
dd65af90ec214986485887084b2d85191aa41db7
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from enum import Enum, IntEnum class PokemonSpecies(IntEnum): NONE = 0x000 BULBASAUR = 0x001 IVYSAUR = 0x002 VENUSAUR = 0x003 CHARMANDER = 0x004 CHARMELEON = 0x005 CHARIZARD = 0x006 SQUIRTLE = 0x007 WARTORTLE = 0x008 BLASTOISE = 0x0...
21.423378
110
0.634628
3,539
30,057
5.172648
0.670246
0.026221
0.004807
0.003933
0.010324
0.005736
0
0
0
0
0
0.233076
0.317829
30,057
1,402
111
21.438659
0.659725
0.00346
0
0.0081
0
0
0
0
0
0
0.217043
0
0
1
0.003682
false
0.001473
0.000736
0.003682
0.991163
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
1fc7939f527d4aca3a7873b5ef0497ab13842b52
2,017
py
Python
tests/010-acls.py
tallynerdy/walky
fab2dbf6471f1f8cc50edc6467d8d7dd1d9e12d0
[ "MIT" ]
null
null
null
tests/010-acls.py
tallynerdy/walky
fab2dbf6471f1f8cc50edc6467d8d7dd1d9e12d0
[ "MIT" ]
null
null
null
tests/010-acls.py
tallynerdy/walky
fab2dbf6471f1f8cc50edc6467d8d7dd1d9e12d0
[ "MIT" ]
null
null
null
import unittest from walky.constants import * from walky.acl import * from walky.user import * class Test(unittest.TestCase): def test_single(self): groups = ['testgroup','group2'] attrs = { 'name': 'Potato', 'url': 'http://www.potatos.com', } user = User(...
24.901235
89
0.373823
141
2,017
5.078014
0.319149
0.092179
0.072626
0.069832
0.594972
0.594972
0.51676
0.438547
0.438547
0.438547
0
0.002165
0.541894
2,017
80
90
25.2125
0.772727
0.001983
0
0.539683
0
0
0.072637
0
0
0
0
0
0.111111
1
0.031746
false
0
0.063492
0
0.126984
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
1fc93567e2c616f8ce77138db0888f1245f6c029
611
py
Python
aqa/quotations/migrations/0023_auto_20201013_1533.py
ksemilla/aqa
0af1ad330df58524a6aeae966e349e9785eefbf7
[ "MIT" ]
null
null
null
aqa/quotations/migrations/0023_auto_20201013_1533.py
ksemilla/aqa
0af1ad330df58524a6aeae966e349e9785eefbf7
[ "MIT" ]
null
null
null
aqa/quotations/migrations/0023_auto_20201013_1533.py
ksemilla/aqa
0af1ad330df58524a6aeae966e349e9785eefbf7
[ "MIT" ]
null
null
null
# Generated by Django 3.0.9 on 2020-10-13 15:33 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('quotations', '0022_auto_...
27.772727
136
0.685761
71
611
5.746479
0.633803
0.058824
0.068627
0.107843
0
0
0
0
0
0
0
0.064182
0.209493
611
21
137
29.095238
0.780538
0.07365
0
0
1
0
0.101064
0.04078
0
0
0
0
0
1
0
false
0
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1fdb704a861983617ccdeec68afee385d727e3eb
3,322
py
Python
GPS/micropyGPS/micropyGPS_example.py
DocVaughan/CRAWLAB-Code-Snippets
90c946bef0fbe37401f822d58ce5a6b3c5349616
[ "BSD-3-Clause" ]
12
2015-03-03T18:32:03.000Z
2021-03-13T18:50:37.000Z
GPS/micropyGPS/micropyGPS_example.py
DocVaughan/CRAWLAB-Code-Snippets
90c946bef0fbe37401f822d58ce5a6b3c5349616
[ "BSD-3-Clause" ]
null
null
null
GPS/micropyGPS/micropyGPS_example.py
DocVaughan/CRAWLAB-Code-Snippets
90c946bef0fbe37401f822d58ce5a6b3c5349616
[ "BSD-3-Clause" ]
7
2017-01-20T20:31:54.000Z
2021-12-28T16:52:48.000Z
# main.py -- put your code here! ############################################################################### # main.py # # Script demonstrating logging GPS data to an SD card # This will send a command to set an Adafruit Ultimate GPS to update at 5Hz # pg. 8-9 of http://www.adafruit.com/datasheets/PMTK_A1...
36.911111
131
0.55298
420
3,322
4.295238
0.459524
0.01663
0.018847
0.022173
0.145233
0.063193
0.028825
0
0
0
0
0.030105
0.310054
3,322
89
132
37.325843
0.756981
0.452137
0
0
0
0
0.025291
0
0
0
0
0.011236
0
1
0.074074
false
0
0.037037
0
0.185185
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
1fdede3ee5f9364b0c14cca89876bbefe261ae73
862
py
Python
tableLikeInPandasMadeWithOnlyLoopsWithoutAnyModules.py
valentinsoare/currentlyLearningPythonProjectsBased
740acdecec1de2ac827eb46cc72a060bb0bdf954
[ "MIT" ]
1
2021-08-17T02:27:18.000Z
2021-08-17T02:27:18.000Z
tableLikeInPandasMadeWithOnlyLoopsWithoutAnyModules.py
valentinsoare/currentlyLearningPythonProjectsBased
740acdecec1de2ac827eb46cc72a060bb0bdf954
[ "MIT" ]
null
null
null
tableLikeInPandasMadeWithOnlyLoopsWithoutAnyModules.py
valentinsoare/currentlyLearningPythonProjectsBased
740acdecec1de2ac827eb46cc72a060bb0bdf954
[ "MIT" ]
null
null
null
#!/usr/bin/python3 given_list = [['87', '90', '78', '94'], ['78', '98', '92', '67']] students = ['Chris', 'Eva'] names_classes = ['Math', 'Chemistry', 'Physics', 'English'] def printing(given_list, name_classes): """Printing catalog pandas style but without pandas""" maxi_names = max(len(str(students[i])) f...
31.925926
87
0.600928
134
862
3.746269
0.365672
0.10757
0.079681
0.079681
0.412351
0.205179
0.205179
0.111554
0
0
0
0.07972
0.170534
862
27
88
31.925926
0.622378
0.076566
0
0.133333
0
0.2
0.335019
0.199747
0
0
0
0
0
1
0.066667
false
0
0
0
0.066667
0.533333
0
0
0
null
0
0
0
0
0
0
0
0
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
1fe0ee0d1df307835b72ac6e7545aca737fc8321
2,489
py
Python
util/get_hunt_data.py
ffxiv-dev/cactbot
1ae24c64692f57dc0a94fa9549d0ba31d2f86e4f
[ "Apache-2.0" ]
1
2021-04-08T01:23:46.000Z
2021-04-08T01:23:46.000Z
util/get_hunt_data.py
ffxiv-dev/cactbot
1ae24c64692f57dc0a94fa9549d0ba31d2f86e4f
[ "Apache-2.0" ]
null
null
null
util/get_hunt_data.py
ffxiv-dev/cactbot
1ae24c64692f57dc0a94fa9549d0ba31d2f86e4f
[ "Apache-2.0" ]
null
null
null
import csv import coinach import os from collections import defaultdict _OUTPUT_FILE = 'hunt.js' def parse_data(csvfile, lang='en'): monsters = {} reader = csv.reader(csvfile) # skip the first three header lines next(reader) next(reader) next(reader) if lang == 'chs': ...
29.282353
59
0.56368
307
2,489
4.387622
0.302932
0.040831
0.024499
0.042316
0.366741
0.270973
0.243504
0.243504
0.243504
0.243504
0
0.007501
0.303736
2,489
85
60
29.282353
0.769763
0.047007
0
0.25
0
0
0.083589
0
0
0
0
0.011765
0
1
0.069444
false
0.013889
0.055556
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1fe1723c4fe8634eedcd4b619bb043b5e818de1d
449
py
Python
hydra/plugins/__init__.py
Lysander6/hydra
3b24ee6472b1153d2f0f2622f3d2dee372ef17eb
[ "MIT" ]
1
2019-12-29T17:58:59.000Z
2019-12-29T17:58:59.000Z
hydra/plugins/__init__.py
Lysander6/hydra
3b24ee6472b1153d2f0f2622f3d2dee372ef17eb
[ "MIT" ]
6
2021-03-11T06:20:24.000Z
2022-02-27T10:43:29.000Z
hydra/plugins/__init__.py
Lysander6/hydra
3b24ee6472b1153d2f0f2622f3d2dee372ef17eb
[ "MIT" ]
1
2020-11-19T06:31:52.000Z
2020-11-19T06:31:52.000Z
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved """ Plugins API package """ from .launcher import Launcher from .plugin import Plugin from .search_path_plugin import SearchPathPlugin from .sweeper import Sweeper from .step_sweeper import StepSweeper from .completion_plugin import CompletionPlugi...
21.380952
70
0.743875
48
449
6.791667
0.520833
0.110429
0
0
0
0
0
0
0
0
0
0
0.169265
449
20
71
22.45
0.873995
0.198218
0
0
0
0
0.181818
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1fe18d1a328264392548d163075aef4e976695e6
2,666
py
Python
mlprocessors/paralleljobhandler.py
flatironinstitute/mountaintools
d5680599381e0810c4aa5b309b9ef9ec7f2d1b25
[ "Apache-2.0" ]
2
2019-11-07T14:09:02.000Z
2021-09-23T01:09:04.000Z
mountaintools/mlprocessors/paralleljobhandler.py
flatironinstitute/spikeforest_old
d9470194dc906b949178b9c44d14aea57a1f6c27
[ "Apache-2.0" ]
13
2019-05-04T09:34:53.000Z
2019-06-23T07:05:58.000Z
mountaintools/mlprocessors/paralleljobhandler.py
flatironinstitute/spikeforest_old
d9470194dc906b949178b9c44d14aea57a1f6c27
[ "Apache-2.0" ]
1
2021-09-23T01:07:21.000Z
2021-09-23T01:07:21.000Z
import multiprocessing from multiprocessing.connection import Connection import time import signal import mlprocessors as mlpr from .jobhandler import JobHandler from .mountainjobresult import MountainJobResult from typing import List from .mountainjob import MountainJob class ParallelJobHandler(JobHandler): def ...
32.120482
86
0.57802
301
2,666
4.877076
0.285714
0.049046
0.047684
0.03406
0.148501
0.119891
0.119891
0.119891
0.119891
0.077657
0
0.003885
0.324081
2,666
82
87
32.512195
0.810766
0.035634
0
0.235294
0
0
0.077882
0
0
0
0
0.012195
0
1
0.102941
false
0.014706
0.132353
0
0.338235
0.014706
0
0
0
null
0
0
0
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
1fe82947d34175794fe36aa3650369b81f961319
450
py
Python
testproj/createsuperuser.py
NguyenDuyToan/drf-yasg
20786e53c3949d14c00d70d112f4452ec850ba5f
[ "BSD-3-Clause" ]
1
2020-11-23T02:11:00.000Z
2020-11-23T02:11:00.000Z
testproj/createsuperuser.py
NguyenDuyToan/drf-yasg
20786e53c3949d14c00d70d112f4452ec850ba5f
[ "BSD-3-Clause" ]
null
null
null
testproj/createsuperuser.py
NguyenDuyToan/drf-yasg
20786e53c3949d14c00d70d112f4452ec850ba5f
[ "BSD-3-Clause" ]
1
2020-11-23T02:11:01.000Z
2020-11-23T02:11:01.000Z
from __future__ import print_function from django.contrib.auth.models import User from django.db.utils import IntegrityError username = 'admin' email = 'admin@admin.admin' password = 'passwordadmin' try: User.objects.create_superuser(username, email, password) except IntegrityError: print("User '%s <%s>' alr...
28.125
89
0.735556
56
450
5.803571
0.517857
0.12
0.129231
0
0
0
0
0
0
0
0
0
0.137778
450
15
90
30
0.837629
0
0
0
0
0
0.244444
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1febe963b858515a6b370d1f23c4877f64c9454b
2,862
py
Python
unobase/api/models.py
unomena/unobase
175e768afa1608f9f34d1e5a053763ad27db0f7e
[ "BSD-3-Clause" ]
null
null
null
unobase/api/models.py
unomena/unobase
175e768afa1608f9f34d1e5a053763ad27db0f7e
[ "BSD-3-Clause" ]
null
null
null
unobase/api/models.py
unomena/unobase
175e768afa1608f9f34d1e5a053763ad27db0f7e
[ "BSD-3-Clause" ]
null
null
null
''' Created on 15 Jan 2013 @author: euan ''' import uuid from django.conf import settings from django.db import models from unobase.api import exceptions, constants class Destination(models.Model): """ Where to send stuff. """ title = models.CharField(max_length=32) url = models.URLField() u...
34.481928
87
0.670161
320
2,862
5.8375
0.340625
0.05621
0.067452
0.089936
0.30621
0.262848
0.213062
0.09636
0.09636
0.072805
0
0.013212
0.233054
2,862
83
88
34.481928
0.837813
0.062194
0
0.078431
0
0
0
0
0
0
0
0
0
1
0.098039
false
0.019608
0.078431
0.058824
0.72549
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
95073322825a05fbe415ad6376415d224294be6c
754
py
Python
setup.py
pdxjohnny/dffml-operations-github
574d3d6854ff7a789b4ca9b6d8948f2cdfdd6a84
[ "MIT" ]
null
null
null
setup.py
pdxjohnny/dffml-operations-github
574d3d6854ff7a789b4ca9b6d8948f2cdfdd6a84
[ "MIT" ]
null
null
null
setup.py
pdxjohnny/dffml-operations-github
574d3d6854ff7a789b4ca9b6d8948f2cdfdd6a84
[ "MIT" ]
null
null
null
import os import importlib.util from setuptools import setup # Boilerplate to load commonalities spec = importlib.util.spec_from_file_location( "setup_common", os.path.join(os.path.dirname(__file__), "setup_common.py") ) common = importlib.util.module_from_spec(spec) spec.loader.exec_module(common) common.KWARGS[...
26.928571
78
0.710875
103
754
4.951456
0.475728
0.094118
0.094118
0.152941
0.176471
0
0
0
0
0
0
0.015361
0.136605
754
27
79
27.925926
0.768049
0.043767
0
0
0
0
0.417246
0.178025
0
0
0
0
0
1
0
false
0
0.347826
0
0.347826
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
951337f5b4528033cbe73c8ddd4e74b1e39a2f4c
601
py
Python
backend/files/permissions.py
marakaci/Likemind
5066d934dae9d424db8c46d31f291ad4e560632a
[ "MIT" ]
1
2019-05-06T10:03:34.000Z
2019-05-06T10:03:34.000Z
backend/files/permissions.py
marakaci/Likemind
5066d934dae9d424db8c46d31f291ad4e560632a
[ "MIT" ]
null
null
null
backend/files/permissions.py
marakaci/Likemind
5066d934dae9d424db8c46d31f291ad4e560632a
[ "MIT" ]
1
2021-09-14T11:46:27.000Z
2021-09-14T11:46:27.000Z
from rest_framework.generics import get_object_or_404 from rest_framework.permissions import BasePermission from chat.consts import MESSAGE_TYPE_TO_CHAT_TYPE class UserBelongToChatDetail(BasePermission): def has_object_permission(self, request, view, obj): return request.user in obj.chat.get_users() cl...
31.631579
56
0.758735
81
601
5.37037
0.419753
0.048276
0.078161
0.064368
0
0
0
0
0
0
0
0.011905
0.161398
601
18
57
33.388889
0.85119
0
0
0
0
0
0.028286
0
0
0
0
0
0
1
0.166667
false
0
0.25
0.083333
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
951a9a2fdc8e0ee539a88f79fdde9ccf9c42b89c
1,556
py
Python
etc/tensorbaord/minst.py
choisungwook/portfolio
a15485673969dcb2e1290c37afae3acf91f1487b
[ "MIT" ]
4
2021-09-28T16:32:46.000Z
2022-01-04T03:57:28.000Z
etc/tensorbaord/minst.py
choisungwook/portfolio
a15485673969dcb2e1290c37afae3acf91f1487b
[ "MIT" ]
15
2021-05-13T14:18:32.000Z
2021-12-22T12:36:35.000Z
etc/tensorbaord/minst.py
choisungwook/portfolio
a15485673969dcb2e1290c37afae3acf91f1487b
[ "MIT" ]
8
2021-03-03T06:46:17.000Z
2022-01-03T02:13:48.000Z
# -*- coding: utf-8 -*- """Untitled0.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1qLEN-Qo-E4aI0mXVJMXCM9bTirYQ9UTS """ # Commented out IPython magic to ensure Python compatibility. import torch import torchvision import numpy as np EPOCHS = 1...
32.416667
159
0.693445
197
1,556
5.380711
0.568528
0.050943
0.056604
0.030189
0.054717
0.054717
0
0
0
0
0
0.019747
0.186375
1,556
48
160
32.416667
0.816746
0.172879
0
0
1
0
0.035966
0
0
0
0
0
0
1
0.028571
false
0
0.114286
0
0.171429
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
951c0308e19b90b92ad79a5960fb309e28736839
256
py
Python
PYTHON/Python Teste - Mundo 1/Aula011B.py
FR7/Meus-Projetos
1c8e1a91eaf143cccdc10f0e7edd013d910de474
[ "MIT" ]
null
null
null
PYTHON/Python Teste - Mundo 1/Aula011B.py
FR7/Meus-Projetos
1c8e1a91eaf143cccdc10f0e7edd013d910de474
[ "MIT" ]
null
null
null
PYTHON/Python Teste - Mundo 1/Aula011B.py
FR7/Meus-Projetos
1c8e1a91eaf143cccdc10f0e7edd013d910de474
[ "MIT" ]
null
null
null
nome = 'Fabio Rodrigues Dias' cores = {'limpa':'\033[m', 'azul':'\033[1;7;34m', 'amarelo':'\033[33m', 'pretoebranco': '\033[7;30m'} print('Ola!! Muito prazer em te conhecer, {}{}{}'.format(cores['azul'], nome , cores['limpa']))
32
95
0.546875
33
256
4.242424
0.727273
0.142857
0
0
0
0
0
0
0
0
0
0.101942
0.195313
256
8
95
32
0.57767
0
0
0
0
0
0.521401
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
95310a7b0a318e0ee7447622d34b23f0f5e43e4f
1,371
py
Python
blog/comment/models.py
cq152/blog
95afb61335d94616f0eddf623d07dca1347aac7a
[ "MIT" ]
null
null
null
blog/comment/models.py
cq152/blog
95afb61335d94616f0eddf623d07dca1347aac7a
[ "MIT" ]
1
2020-03-04T01:31:22.000Z
2020-03-04T01:31:22.000Z
blog/comment/models.py
cq152/blog
95afb61335d94616f0eddf623d07dca1347aac7a
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- from django.db import models # Create your models here. from article.models import Post class Comment(models.Model): STATUS_NORMAL = 1 STATUS_DELETE = 0 STATUS_ITEMS = [ (STATUS_NORMAL, '正常'), (STATUS_DELETE, '删除') ] target = models.CharField(max_length=5...
29.804348
104
0.680525
167
1,371
5.365269
0.497006
0.122768
0.060268
0.080357
0
0
0
0
0
0
0
0.013724
0.202772
1,371
45
105
30.466667
0.806038
0.119621
0
0.071429
0
0
0.022651
0
0
0
0
0
0
1
0.107143
false
0
0.071429
0.071429
0.714286
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
20f6781d7a581b46f8e031c6917c39b10567414f
8,913
py
Python
ord_schema/proto/test_pb2.py
Open-Reaction-Database/ord-schema
613d0ac2d4dbebaa071b63bf44dcce6998c9c864
[ "Apache-2.0" ]
33
2020-02-13T04:11:41.000Z
2020-12-04T15:20:26.000Z
ord_schema/proto/test_pb2.py
Open-Reaction-Database/ord-schema
613d0ac2d4dbebaa071b63bf44dcce6998c9c864
[ "Apache-2.0" ]
358
2020-02-12T00:09:31.000Z
2020-12-10T17:21:25.000Z
ord_schema/proto/test_pb2.py
Open-Reaction-Database/ord-schema
613d0ac2d4dbebaa071b63bf44dcce6998c9c864
[ "Apache-2.0" ]
16
2020-02-11T21:19:52.000Z
2020-12-03T14:09:13.000Z
# Copyright 2022 Open Reaction Database Project 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 l...
48.440217
1,823
0.79154
1,161
8,913
5.696813
0.193798
0.021167
0.034019
0.038101
0.387511
0.261113
0.255065
0.255065
0.246296
0.199425
0
0.070581
0.0828
8,913
183
1,824
48.704918
0.738471
0.176596
0
0.226563
0
0.007813
0.359989
0.282761
0
0
0
0
0
1
0
false
0
0.039063
0
0.039063
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
20fa969a19f895bca045e1ea5536e93a38e56a96
593
py
Python
contest/migrations/0037_auto_20180713_1421.py
jxtxzzw/eoj3
468c16ed6de8b9b542972d0e83b02fd2cfa35e4f
[ "MIT" ]
1
2020-11-17T13:08:07.000Z
2020-11-17T13:08:07.000Z
contest/migrations/0037_auto_20180713_1421.py
zerolfx/eoj3
156060399d1c3e5f7bcdbf34eaffbe2be66e1b20
[ "MIT" ]
2
2020-09-23T21:27:55.000Z
2021-06-25T15:24:46.000Z
contest/migrations/0037_auto_20180713_1421.py
zerolfx/eoj3
156060399d1c3e5f7bcdbf34eaffbe2be66e1b20
[ "MIT" ]
1
2019-07-13T00:44:39.000Z
2019-07-13T00:44:39.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-07-13 14:21 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('contest', '0036_auto_20180712_1337'), ] operations = [ migrations.AlterField(...
28.238095
187
0.659359
75
593
5.053333
0.853333
0.058047
0
0
0
0
0
0
0
0
0
0.087234
0.20742
593
20
188
29.65
0.719149
0.111298
0
0
1
0.076923
0.29771
0.215649
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
20fb78a7019a08931aae7dcebe5c720a5f754c68
3,711
py
Python
python3/nayvy_vim_if/ultisnips.py
marekzidek/vim-nayvy
b3699f978e449aa669dd9bd4b13ae7c2d07d76c4
[ "MIT" ]
68
2020-03-17T07:36:42.000Z
2022-02-18T13:21:22.000Z
python3/nayvy_vim_if/ultisnips.py
marekzidek/vim-nayvy
b3699f978e449aa669dd9bd4b13ae7c2d07d76c4
[ "MIT" ]
2
2020-03-17T06:52:44.000Z
2021-01-03T06:45:13.000Z
python3/nayvy_vim_if/ultisnips.py
marekzidek/vim-nayvy
b3699f978e449aa669dd9bd4b13ae7c2d07d76c4
[ "MIT" ]
5
2020-03-17T07:42:23.000Z
2022-01-02T23:02:36.000Z
""" Utility function for ultisnips """ from typing import Any, Iterable, List from pprint import pformat from nayvy.function.func import get_current_func from nayvy.importing.import_statement import ImportStatement from nayvy.importing.utils import get_first_line_num, get_import_block_indices from nayvy_vim_if.utils...
27.286765
99
0.646995
452
3,711
5.066372
0.267699
0.104803
0.066376
0.026201
0.018341
0
0
0
0
0
0
0.005056
0.25384
3,711
135
100
27.488889
0.821957
0.131231
0
0.215909
0
0.011364
0.088672
0.010413
0
0
0
0
0
1
0.034091
false
0
0.340909
0
0.443182
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
20fbc4df1125a1fe92e131f50096032a6e794597
663
py
Python
body/src/Arm.py
mattybabaallos/PDXInMoov
e2e36b2d62e344287ee8df71ce0b63ab86cae956
[ "BSD-3-Clause" ]
1
2018-11-03T22:35:45.000Z
2018-11-03T22:35:45.000Z
body/src/Arm.py
mattybabaallos/PDXInMoov
e2e36b2d62e344287ee8df71ce0b63ab86cae956
[ "BSD-3-Clause" ]
20
2017-12-09T20:02:18.000Z
2018-03-27T02:08:50.000Z
body/src/Arm.py
mattybabaallos/PDXInMoov
e2e36b2d62e344287ee8df71ce0b63ab86cae956
[ "BSD-3-Clause" ]
1
2018-04-15T23:14:01.000Z
2018-04-15T23:14:01.000Z
#!/bin/python """ This module contains an Inmoov Arm Authors: Brett Creeley Matty Baba Allos """ import time class Arm(object): """ This class represents an Inmoov Arm """ def __init__(self, forearm, shoulder): """ Build an Inmoov Arm """ if ...
20.090909
48
0.559578
75
663
4.893333
0.493333
0.119891
0.089918
0
0
0
0
0
0
0
0
0.002304
0.3454
663
32
49
20.71875
0.843318
0.0181
0
0
0
0
0.048499
0
0
0
0
0
0
0
null
null
0
0.071429
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
1f0b6aeb46b2035dd74752856ca40ec7a0bb76e5
775
py
Python
cli/prog/compliance.py
rushk014/manager
24d04043ec6159dbed68f5fb26123669d8e70eb6
[ "Apache-2.0" ]
19
2022-01-17T02:48:03.000Z
2022-03-29T09:16:08.000Z
cli/prog/compliance.py
rushk014/manager
24d04043ec6159dbed68f5fb26123669d8e70eb6
[ "Apache-2.0" ]
null
null
null
cli/prog/compliance.py
rushk014/manager
24d04043ec6159dbed68f5fb26123669d8e70eb6
[ "Apache-2.0" ]
16
2022-01-14T18:12:28.000Z
2022-03-28T04:58:14.000Z
import click from prog.cli import show from prog import client from prog import output def _list_compliance_entry_display_format(e): f = "tags" if e.get(f): e[output.key_output(f)] = ",".join(e[f]) @show.group('compliance') @click.pass_obj def show_compliance(data): """Show compliance informati...
22.142857
69
0.689032
102
775
5.058824
0.372549
0.162791
0.122093
0.100775
0.24031
0.24031
0
0
0
0
0
0
0.175484
775
34
70
22.794118
0.807512
0.068387
0
0.086957
0
0
0.112518
0
0
0
0
0
0
1
0.130435
false
0.086957
0.173913
0
0.347826
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1f14e2f93c3e8bbb488b1db0ea2ab511a2829fca
1,116
py
Python
string_to_integer.py
YuyuZha0/leetcode-python
9723096a34f587ae592e73cf35b1737ae59ea1ca
[ "Apache-2.0" ]
null
null
null
string_to_integer.py
YuyuZha0/leetcode-python
9723096a34f587ae592e73cf35b1737ae59ea1ca
[ "Apache-2.0" ]
null
null
null
string_to_integer.py
YuyuZha0/leetcode-python
9723096a34f587ae592e73cf35b1737ae59ea1ca
[ "Apache-2.0" ]
null
null
null
class Solution(object): def __init__(self): self._digit = frozenset(['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']) self._min = -0x7fffffff - 1 self._max = 0x7fffffff def myAtoi(self, str): """ :type str: str :rtype: int """ print self._digit...
26.571429
83
0.385305
134
1,116
3.052239
0.358209
0.110024
0.066015
0.102689
0.141809
0.102689
0
0
0
0
0
0.062069
0.480287
1,116
41
84
27.219512
0.643103
0
0
0.212121
0
0
0.037807
0
0
0
0.018904
0
0
0
null
null
0
0
null
null
0.060606
0
0
0
null
0
0
0
0
0
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
1f162f4fbf2b13ce2a40f3a07d9c8e3a73df73bf
271
py
Python
testsync.py
Epikarsios/MFC_Master
663a80446649eeee3dc29386b2a96cfef812d188
[ "MIT" ]
null
null
null
testsync.py
Epikarsios/MFC_Master
663a80446649eeee3dc29386b2a96cfef812d188
[ "MIT" ]
null
null
null
testsync.py
Epikarsios/MFC_Master
663a80446649eeee3dc29386b2a96cfef812d188
[ "MIT" ]
null
null
null
from MFC import MFC import serial CR =b'\r' flow = MFC() s = serial.Serial('/dev/ttyUSB0') a = s.read_until(CR) print(a) s.write(flow.Sync_Read()) for i in range(26): j =s.read_until(CR) print(j) s.write(flow.SetPoint_Read()) b = s.read_until(CR) print(b) s.close()
14.263158
33
0.675277
54
271
3.296296
0.462963
0.08427
0.168539
0.202247
0.286517
0
0
0
0
0
0
0.012821
0.136531
271
18
34
15.055556
0.747863
0
0
0
0
0
0.051661
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0.2
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
1f17ad1f427acfcf4c611fe0a503d671fd261a3e
697
py
Python
corefacility/authorizations/ihna/test/account_set_object.py
serik1987/corefacility
78d84e19403361e83ef562e738473849f9133bef
[ "RSA-MD" ]
null
null
null
corefacility/authorizations/ihna/test/account_set_object.py
serik1987/corefacility
78d84e19403361e83ef562e738473849f9133bef
[ "RSA-MD" ]
null
null
null
corefacility/authorizations/ihna/test/account_set_object.py
serik1987/corefacility
78d84e19403361e83ef562e738473849f9133bef
[ "RSA-MD" ]
null
null
null
from core.test.entity_set.entity_set_objects.external_account_set_object import ExternalAccountSetObject from authorizations.ihna.entity import Account class AccountSetObject(ExternalAccountSetObject): _entity_class = Account _alias_field = "email" def data_provider(self): return [ ...
36.684211
104
0.697274
89
697
5.168539
0.404494
0.117391
0.108696
0.152174
0.293478
0.293478
0.293478
0
0
0
0
0.017575
0.183644
697
18
105
38.722222
0.790861
0
0
0
0
0
0.121951
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0.076923
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1f23a3cf828d0134cd0dd31e7863f0016e9d79e9
39,903
py
Python
pycwr/core/PyartRadar.py
aliny2003/pycwr
3186125bdd2f551b9c59639dca567a1c06b50e96
[ "MIT" ]
144
2019-11-27T14:36:41.000Z
2022-02-23T08:21:17.000Z
pycwr/core/PyartRadar.py
zhaopingsun/pycwr
7459371588e6d0d6d0737e249afa3921fe073151
[ "MIT" ]
32
2019-11-29T10:11:53.000Z
2022-03-14T07:46:44.000Z
pycwr/core/PyartRadar.py
zhaopingsun/pycwr
7459371588e6d0d6d0737e249afa3921fe073151
[ "MIT" ]
57
2019-11-27T12:51:44.000Z
2022-01-29T14:50:05.000Z
""" ## pyart radar object pyart.core.radar ================ A general central radial scanning (or dwelling) instrument class. .. autosummary:: :toctree: generated/ _rays_per_sweep_data_factory _gate_data_factory _gate_lon_lat_data_factory _gate_altitude_data_factory .. autosummary:: :toctree...
39.704478
95
0.625191
5,128
39,903
4.708073
0.103939
0.009941
0.012302
0.011183
0.389885
0.328211
0.256762
0.237999
0.220229
0.202419
0
0.0036
0.296895
39,903
1,004
96
39.744024
0.856929
0.429742
0
0.195011
1
0
0.072315
0.003189
0
0
0
0
0
1
0.090703
false
0
0.013605
0
0.195011
0.040816
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
1f30988b2b058c9e9431ca5b479aced95ad7c444
1,562
py
Python
vespa/analysis/block_prep_edit_fidsum.py
vespa-mrs/vespa
6d3e84a206ec427ac1304e70c7fadf817432956b
[ "BSD-3-Clause" ]
null
null
null
vespa/analysis/block_prep_edit_fidsum.py
vespa-mrs/vespa
6d3e84a206ec427ac1304e70c7fadf817432956b
[ "BSD-3-Clause" ]
4
2021-04-17T13:58:31.000Z
2022-01-20T14:19:57.000Z
vespa/analysis/block_prep_edit_fidsum.py
vespa-mrs/vespa
6d3e84a206ec427ac1304e70c7fadf817432956b
[ "BSD-3-Clause" ]
3
2021-06-05T16:34:57.000Z
2022-01-19T16:13:22.000Z
# Python modules # 3rd party modules # Our modules import vespa.analysis.block_prep_fidsum as block_prep_fidsum from vespa.common.constants import Deflate class BlockPrepEditFidsum(block_prep_fidsum.BlockPrepFidsum): """ Building block to hold the state of a step in an MRS processing chain. Includes ...
26.474576
79
0.617157
193
1,562
4.80829
0.518135
0.038793
0.048491
0
0
0
0
0
0
0
0
0.005089
0.245198
1,562
58
80
26.931034
0.782019
0.389245
0
0.111111
0
0
0.077576
0.026667
0
0
0
0
0
1
0.166667
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1f3bafa174e200698c38e3cb8b945e6135805a49
4,653
py
Python
adlibre_dms/apps/dms_plugins/workers/validators/hashcode.py
adlibre/Adlibre-DMS
96ce41b5699e2ea58e3ca560d46d481e954f17a4
[ "BSD-3-Clause" ]
48
2015-02-25T03:20:35.000Z
2022-03-11T09:02:42.000Z
adlibre_dms/apps/dms_plugins/workers/validators/hashcode.py
adlibre/Adlibre-DMS
96ce41b5699e2ea58e3ca560d46d481e954f17a4
[ "BSD-3-Clause" ]
6
2015-01-09T08:30:53.000Z
2016-12-05T15:03:01.000Z
adlibre_dms/apps/dms_plugins/workers/validators/hashcode.py
adlibre/Adlibre-DMS
96ce41b5699e2ea58e3ca560d46d481e954f17a4
[ "BSD-3-Clause" ]
24
2015-01-15T11:41:40.000Z
2022-03-17T20:31:06.000Z
""" Module: Hashcode Plugin Project: Adlibre DMS Copyright: Adlibre Pty Ltd 2013 License: See LICENSE for license information """ import hashlib from django import forms from django.conf import settings from dms_plugins.pluginpoints import BeforeRetrievalPluginPoint from dms_plugins.pluginpoints import BeforeStorage...
33.963504
103
0.664088
531
4,653
5.708098
0.252354
0.025404
0.037611
0.025734
0.463543
0.414055
0.414055
0.414055
0.414055
0.400858
0
0.011781
0.233828
4,653
136
104
34.213235
0.838429
0.232323
0
0.333333
0
0
0.109182
0
0
0
0
0
0
1
0.111111
false
0
0.098765
0
0.641975
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
1f420294dd4df01841acadd8fc7b7bf4ae1b2c7e
279
py
Python
run_tests.py
acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-MSGP117
36a99440f580bf4852eb5643b8f139fd28790efe
[ "MIT" ]
null
null
null
run_tests.py
acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-MSGP117
36a99440f580bf4852eb5643b8f139fd28790efe
[ "MIT" ]
null
null
null
run_tests.py
acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-MSGP117
36a99440f580bf4852eb5643b8f139fd28790efe
[ "MIT" ]
1
2022-02-12T03:50:32.000Z
2022-02-12T03:50:32.000Z
import unittest ''' the file in /tests/homework/b_in_proc_out/tests_in_proc_out has the test functions ''' from tests.homework.c_decisions import tests_decisions suite = unittest.TestLoader().loadTestsFromModule(tests_decisions) unittest.TextTestRunner(verbosity=2).run(suite)
25.363636
66
0.827957
39
279
5.692308
0.589744
0.117117
0.081081
0
0
0
0
0
0
0
0
0.003891
0.078853
279
10
67
27.9
0.859922
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1f4474f1303d26ecedf7a4ad8e7ff5b92e29244b
450
py
Python
src/data_hub/tnris_org/migrations/0021_tnrisgiocalendarevent_community_meeting.py
TNRIS/api.tnris.org
46620a4edf0682c158907f110158110801e9c398
[ "MIT" ]
6
2019-05-22T20:01:45.000Z
2020-08-18T12:05:12.000Z
src/data_hub/tnris_org/migrations/0021_tnrisgiocalendarevent_community_meeting.py
TNRIS/api.tnris.org
46620a4edf0682c158907f110158110801e9c398
[ "MIT" ]
73
2019-05-22T19:57:30.000Z
2022-03-12T00:59:33.000Z
src/data_hub/tnris_org/migrations/0021_tnrisgiocalendarevent_community_meeting.py
TNRIS/api.tnris.org
46620a4edf0682c158907f110158110801e9c398
[ "MIT" ]
null
null
null
# Generated by Django 2.0.13 on 2019-08-19 18:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tnris_org', '0020_auto_20190819_1139'), ] operations = [ migrations.AddField( model_name='tnrisgiocalendarevent', n...
23.684211
87
0.642222
47
450
6
0.808511
0.092199
0.141844
0
0
0
0
0
0
0
0
0.094955
0.251111
450
18
88
25
0.74184
0.102222
0
0
1
0
0.216418
0.109453
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1