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
2029bcff9730dfad288bff138ed03bda719b5889
691
py
Python
zeTorch/data.py
piovere/zeTorch
9c54f7b3fd2eee2e3cff14a97be40ca317408bf7
[ "MIT" ]
null
null
null
zeTorch/data.py
piovere/zeTorch
9c54f7b3fd2eee2e3cff14a97be40ca317408bf7
[ "MIT" ]
null
null
null
zeTorch/data.py
piovere/zeTorch
9c54f7b3fd2eee2e3cff14a97be40ca317408bf7
[ "MIT" ]
null
null
null
"""Contains class for data files. Maybe should eventually sublass Spectrum? """ import numpy as np class Data(object): """DOCSTRING """ def __init__(self, file=None): """DOCSTRING """ self._file = file def load(self, file=None): if file is None and self._file is N...
20.323529
75
0.573082
81
691
4.765432
0.493827
0.103627
0.07772
0.062176
0
0
0
0
0
0
0
0.006452
0.327062
691
33
76
20.939394
0.823656
0
0
0.166667
0
0
0.047535
0
0
0
0
0
0
0
null
null
0
0.055556
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
2032c6fd94bda1345819a1ca62991f7e363f9268
9,192
py
Python
cogkit/modules/provider-localscheduler/examples/ec2-cloud-provider/cloud.py
stefb965/swift-k
04208acc2a9af9ea900ae5c4a1d01bcc93ac07d2
[ "Apache-2.0" ]
99
2015-02-02T23:08:37.000Z
2021-09-26T18:28:28.000Z
cogkit/modules/provider-localscheduler/examples/ec2-cloud-provider/cloud.py
stefb965/swift-k
04208acc2a9af9ea900ae5c4a1d01bcc93ac07d2
[ "Apache-2.0" ]
8
2015-02-04T22:00:08.000Z
2019-01-02T17:02:39.000Z
cogkit/modules/provider-localscheduler/examples/ec2-cloud-provider/cloud.py
stefb965/swift-k
04208acc2a9af9ea900ae5c4a1d01bcc93ac07d2
[ "Apache-2.0" ]
26
2015-05-27T04:24:55.000Z
2022-03-12T12:37:09.000Z
#!/usr/bin/env python import os import errno import sys import random import logging import pprint import argparse import datetime import time #from __future__ import print_function import imp try: imp.find_module('libcloud') except ImportError: sys.stderr.write("Python: Apache libcloud module not available,...
37.82716
160
0.648281
1,099
9,192
5.303003
0.262056
0.024537
0.02162
0.002745
0.160604
0.126287
0.114276
0.08545
0.073095
0.073095
0
0.014318
0.240209
9,192
242
161
37.983471
0.82016
0.037533
0
0.136612
0
0
0.229938
0.014099
0
0
0
0
0
0
null
null
0
0.087432
null
null
0.060109
0
0
0
null
0
0
0
0
0
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
20435ea20e1f19861304a37596e93808974ae955
6,053
py
Python
calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_dht_server_evil.py
josrolgil/exjobbCalvin
976459eaa50246586360c049b9880d753623d574
[ "Apache-2.0" ]
1
2016-05-10T22:36:31.000Z
2016-05-10T22:36:31.000Z
calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_dht_server_evil.py
josrolgil/exjobbCalvin
976459eaa50246586360c049b9880d753623d574
[ "Apache-2.0" ]
null
null
null
calvin/runtime/south/plugins/storage/twistedimpl/securedht/tests/test_dht_server_evil.py
josrolgil/exjobbCalvin
976459eaa50246586360c049b9880d753623d574
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2015 Ericsson AB # # 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 ...
40.898649
122
0.602181
690
6,053
5.147826
0.362319
0.022523
0.029561
0.032095
0.305743
0.259572
0.231982
0.181025
0.103322
0.09009
0
0.008394
0.291426
6,053
148
123
40.898649
0.819772
0.165868
0
0.137255
0
0
0.078408
0.006766
0
0
0
0
0.019608
0
null
null
0
0.137255
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
20437da0de19db18bc331ed2d859f0a23d5a8c05
945
py
Python
src/backend/common/decorators.py
guineawheek/ftc-data-take-2
337bff2077eadb3bd6bbebd153cbb6181c99516f
[ "MIT" ]
null
null
null
src/backend/common/decorators.py
guineawheek/ftc-data-take-2
337bff2077eadb3bd6bbebd153cbb6181c99516f
[ "MIT" ]
null
null
null
src/backend/common/decorators.py
guineawheek/ftc-data-take-2
337bff2077eadb3bd6bbebd153cbb6181c99516f
[ "MIT" ]
null
null
null
from functools import partial, wraps from flask import make_response, request, Response def cached_public(func=None, timeout: int = 61): if func is None: # Handle no-argument decorator return partial(cached_public, timeout=timeout) @wraps(func) def decorated_function(*args, **kwargs): r...
31.5
87
0.598942
116
945
4.793103
0.586207
0.043165
0
0
0
0
0
0
0
0
0
0.021407
0.307937
945
29
88
32.586207
0.828746
0.173545
0
0
0
0
0.064516
0
0
0
0
0.034483
0
1
0.105263
false
0
0.105263
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
2045d3af24c99ec7d126c329b3f6f9b2ed677fe7
2,362
py
Python
ninja_apikey/tests.py
mawassk/django-ninja-apikey
9408288166409ccbce164a4fa8411c6d3190b600
[ "MIT" ]
13
2021-07-21T13:58:50.000Z
2022-03-20T08:58:39.000Z
ninja_apikey/tests.py
mawassk/django-ninja-apikey
9408288166409ccbce164a4fa8411c6d3190b600
[ "MIT" ]
7
2021-08-16T09:53:16.000Z
2022-03-20T09:04:45.000Z
ninja_apikey/tests.py
mawassk/django-ninja-apikey
9408288166409ccbce164a4fa8411c6d3190b600
[ "MIT" ]
null
null
null
# flake8: noqa from datetime import timedelta import pytest from django.contrib.admin.sites import AdminSite from django.contrib.auth.hashers import check_password from django.contrib.auth.models import User from django.utils import timezone from django.utils.crypto import get_random_string from .admin import APIKeyA...
27.465116
80
0.717189
346
2,362
4.696532
0.190751
0.051692
0.055385
0.073846
0.414769
0.394462
0.347077
0.297231
0.276308
0.276308
0
0.006799
0.190517
2,362
85
81
27.788235
0.843096
0.00508
0
0.391892
0
0
0.058348
0.058348
0
0
0
0
0.391892
1
0.054054
false
0.054054
0.135135
0
0.189189
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
2047157523370b9b89afacdf903c56490982c70b
1,538
py
Python
gripql/python/gripql/connection.py
jordan2lee/grip
64c4ae923ae8819569fe584c6750a24e51932aec
[ "MIT" ]
null
null
null
gripql/python/gripql/connection.py
jordan2lee/grip
64c4ae923ae8819569fe584c6750a24e51932aec
[ "MIT" ]
null
null
null
gripql/python/gripql/connection.py
jordan2lee/grip
64c4ae923ae8819569fe584c6750a24e51932aec
[ "MIT" ]
null
null
null
from __future__ import absolute_import, print_function, unicode_literals from gripql.graph import Graph from gripql.util import BaseConnection, raise_for_status class Connection(BaseConnection): def __init__(self, url, user=None, password=None, token=None, credential_file=None): super(Connection, self)._...
26.517241
101
0.56632
162
1,538
5.191358
0.302469
0.049941
0.083234
0.104637
0.336504
0.296076
0.227111
0.179548
0.128419
0.128419
0
0.000957
0.320546
1,538
57
102
26.982456
0.803828
0.055917
0
0.264706
0
0
0.018713
0
0
0
0
0
0
1
0.176471
false
0.088235
0.088235
0
0.441176
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
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
2047e02dc724fc80cb0998ec82625093e71e9fbd
1,056
py
Python
CONTENT/DS-n-Algos/ALGO/_LEETCODE/032_longest_valid_parentheses/longest_valid_parentheses_TE.py
impastasyndrome/DS-ALGO-OFFICIAL
c85ec9cf0af0009f038b7a571a7ac1fb466b7f3a
[ "Apache-2.0" ]
13
2021-03-11T00:25:22.000Z
2022-03-19T00:19:23.000Z
CONTENT/DS-n-Algos/ALGO/_LEETCODE/032_longest_valid_parentheses/longest_valid_parentheses_TE.py
impastasyndrome/DS-ALGO-OFFICIAL
c85ec9cf0af0009f038b7a571a7ac1fb466b7f3a
[ "Apache-2.0" ]
162
2021-03-09T01:52:11.000Z
2022-03-12T01:09:07.000Z
CONTENT/DS-n-Algos/ALGO/_LEETCODE/032_longest_valid_parentheses/longest_valid_parentheses_TE.py
impastasyndrome/DS-ALGO-OFFICIAL
c85ec9cf0af0009f038b7a571a7ac1fb466b7f3a
[ "Apache-2.0" ]
12
2021-04-26T19:43:01.000Z
2022-01-31T08:36:29.000Z
class Solution(object): def longestValidParentheses(self, s): """ :type s: str :rtype: int """ i = 0 maxlen = 0 self.longest = {} while i < len(s): if s[i] == ")": i = i + 1 continue else: ...
25.756098
45
0.367424
109
1,056
3.541284
0.275229
0.142487
0.025907
0.020725
0.196891
0.196891
0.196891
0
0
0
0
0.022495
0.536932
1,056
40
46
26.4
0.766871
0.022727
0
0.228571
0
0
0.002
0
0
0
0
0
0
1
0.057143
false
0
0
0
0.2
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
20492eace3fe58c29339587e0af723adb173923d
324
py
Python
api/migrations/0005_auto_20201231_0034.py
jjkivai/SolutionsWeb
c80d63784b90776d7506c98d5c96ad100ee08d67
[ "MIT" ]
null
null
null
api/migrations/0005_auto_20201231_0034.py
jjkivai/SolutionsWeb
c80d63784b90776d7506c98d5c96ad100ee08d67
[ "MIT" ]
null
null
null
api/migrations/0005_auto_20201231_0034.py
jjkivai/SolutionsWeb
c80d63784b90776d7506c98d5c96ad100ee08d67
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2020-12-31 00:34 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0004_licenses_name'), ] operations = [ migrations.RenameModel( old_name='Licenses', new_name='License', ), ...
18
47
0.58642
35
324
5.314286
0.8
0
0
0
0
0
0
0
0
0
0
0.0837
0.299383
324
17
48
19.058824
0.735683
0.138889
0
0
1
0
0.129964
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
204fbb4d3a53537b5ae92832531cc19091d2f9cd
714
py
Python
telltime/main.py
wjimenez5271/telltime
2e74fb1e7f8a9d5089f848d5e45fe4c09e9f50fe
[ "Apache-2.0" ]
1
2016-02-23T18:24:59.000Z
2016-02-23T18:24:59.000Z
telltime/main.py
wjimenez5271/telltime
2e74fb1e7f8a9d5089f848d5e45fe4c09e9f50fe
[ "Apache-2.0" ]
null
null
null
telltime/main.py
wjimenez5271/telltime
2e74fb1e7f8a9d5089f848d5e45fe4c09e9f50fe
[ "Apache-2.0" ]
null
null
null
from datetime import datetime from time import time from argparse import ArgumentParser def epoch_to_datetime(epoch): return datetime.fromtimestamp(epoch) def get_epoch_time(): return time() def main(): parser = ArgumentParser() parser.add_argument('epoch_time', type=int, default=-1, nargs='?') ...
25.5
70
0.673669
96
714
4.75
0.46875
0.118421
0.065789
0
0
0
0
0
0
0
0
0.003472
0.193277
714
28
71
25.5
0.788194
0
0
0
0
0
0.127273
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2052fba0c0a6d3b7936115d0feac519bd447e4ce
8,138
py
Python
external_packages/matlab/non_default_packages/Gaussian_Process/deck/+dk/+mapred/python/mapred_build.py
ThomasYeoLab/Standalone_He2022_MM
6895f7b2830a6a521bc311e70f775a82b11e46e7
[ "MIT" ]
null
null
null
external_packages/matlab/non_default_packages/Gaussian_Process/deck/+dk/+mapred/python/mapred_build.py
ThomasYeoLab/Standalone_He2022_MM
6895f7b2830a6a521bc311e70f775a82b11e46e7
[ "MIT" ]
null
null
null
external_packages/matlab/non_default_packages/Gaussian_Process/deck/+dk/+mapred/python/mapred_build.py
ThomasYeoLab/Standalone_He2022_MM
6895f7b2830a6a521bc311e70f775a82b11e46e7
[ "MIT" ]
1
2022-03-12T08:21:59.000Z
2022-03-12T08:21:59.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import argparse import string import json import mapred_utils as util # ------------------------------ ========== ------------------------------ # ------------------------------ ========== ------------------------------ # Template strings to be formatted and ...
31.789063
191
0.594986
1,012
8,138
4.721344
0.280632
0.023859
0.016743
0.020092
0.18627
0.128087
0.071997
0.071997
0.071997
0.071997
0
0.002065
0.226346
8,138
255
192
31.913725
0.75683
0.1348
0
0.051471
0
0.058824
0.400807
0.020785
0
0
0
0
0.036765
0
null
null
0
0.036765
null
null
0.029412
0
0
0
null
0
0
0
0
0
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
205520630d59c8ab8fc0afeb04de72cc312b772c
228
py
Python
generate_configs.py
ryanclanigan/messaging-bridge
50f1e2f75e55360a41e81bfa2f07cde81f3ee659
[ "MIT" ]
null
null
null
generate_configs.py
ryanclanigan/messaging-bridge
50f1e2f75e55360a41e81bfa2f07cde81f3ee659
[ "MIT" ]
10
2020-07-10T23:17:48.000Z
2020-07-15T21:51:11.000Z
generate_configs.py
ryanclanigan/messaging-bridge
50f1e2f75e55360a41e81bfa2f07cde81f3ee659
[ "MIT" ]
null
null
null
from shutil import copyfile import glob import os if not os.path.exists("config"): os.mkdir("config") for file in glob.glob("example-config/*.json"): copyfile(file, os.path.join("config", file.split("example-")[-1]))
20.727273
70
0.688596
35
228
4.485714
0.571429
0.076433
0
0
0
0
0
0
0
0
0
0.005051
0.131579
228
10
71
22.8
0.787879
0
0
0
0
0
0.207048
0.092511
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
2055e25969df6e89fd4b778402e3a8b8c1a5d7a8
2,670
py
Python
src/filter.py
Boyploy/IMF
1632779ef76d3f5865b466a49a3eec6d96858c8a
[ "MIT" ]
108
2017-09-20T02:38:31.000Z
2022-03-15T14:25:45.000Z
src/filter.py
pwnkidhn/IMF
1632779ef76d3f5865b466a49a3eec6d96858c8a
[ "MIT" ]
4
2018-05-05T02:38:56.000Z
2019-05-23T02:19:32.000Z
src/filter.py
pwnkidhn/IMF
1632779ef76d3f5865b466a49a3eec6d96858c8a
[ "MIT" ]
27
2017-10-02T12:40:59.000Z
2022-01-22T14:46:43.000Z
# Copyright (c) 2017 HyungSeok Han and Sang Kil Cha at SoftSec, KAIST # # See the file LICENCE for copying permission. import os import utils import sys def parse_name(data): return data.split('\'')[1] def parse_selector(data): if 'selector' in data: ret = data.split('selector')[1].split('\'value\':'...
25.188679
77
0.551685
387
2,670
3.700258
0.260982
0.024441
0.027235
0.027933
0.02933
0.02933
0.02933
0.02933
0.02933
0
0
0.013934
0.301124
2,670
105
78
25.428571
0.753483
0.041948
0
0.149425
0
0
0.049726
0
0
0
0
0
0
0
null
null
0
0.034483
null
null
0.011494
0
0
0
null
0
0
0
0
0
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
20569120e00c62fca03b7f0161b3c999d0aa4451
671
py
Python
lisc/tests/plts/test_words.py
koudyk/lisc
679ba6624bb300f1b971be04fbf46e1fcfee65c9
[ "Apache-2.0" ]
null
null
null
lisc/tests/plts/test_words.py
koudyk/lisc
679ba6624bb300f1b971be04fbf46e1fcfee65c9
[ "Apache-2.0" ]
null
null
null
lisc/tests/plts/test_words.py
koudyk/lisc
679ba6624bb300f1b971be04fbf46e1fcfee65c9
[ "Apache-2.0" ]
null
null
null
"""Tests for lisc.plts.words.""" from collections import Counter from lisc.tests.tutils import plot_test, optional_test from lisc.plts.words import * ################################################################################################### ##################################################################...
26.84
99
0.505216
66
671
4.909091
0.439394
0.074074
0.080247
0.092593
0.117284
0
0
0
0
0
0
0.041391
0.099851
671
24
100
27.958333
0.495033
0.038748
0
0.153846
0
0
0.079365
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0
0.384615
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
6444178b8ade55ec9258114ca4b0ce2f33c71f4a
1,418
py
Python
tests/ui/test_functional.py
REFEDS/met
bcb5ac40ec4ab6a47ba47c795fc5f0544bd05e12
[ "BSD-2-Clause" ]
null
null
null
tests/ui/test_functional.py
REFEDS/met
bcb5ac40ec4ab6a47ba47c795fc5f0544bd05e12
[ "BSD-2-Clause" ]
null
null
null
tests/ui/test_functional.py
REFEDS/met
bcb5ac40ec4ab6a47ba47c795fc5f0544bd05e12
[ "BSD-2-Clause" ]
null
null
null
from django.contrib.staticfiles.testing import StaticLiveServerTestCase from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from pyvirtualdisplay import Display from tests.testing_utilities import populate_test_db class FunctionalTest(StaticLiveServerTestCase): def setUp...
30.826087
71
0.682652
170
1,418
5.511765
0.476471
0.089648
0.032017
0.044824
0.110993
0.070438
0.070438
0.070438
0
0
0
0.00736
0.233427
1,418
45
72
31.511111
0.854646
0.114951
0
0.071429
0
0
0.036454
0
0
0
0
0
0.071429
1
0.214286
false
0
0.178571
0.035714
0.535714
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
644645aeef5fcad677e3aa8d6af6cae90dca1267
904
py
Python
src/negotiating_agent/venv/lib/python3.8/site-packages/geniusweb/connection/Connectable.py
HahaBill/CollaborativeAI
f771cd2f34774c74c58e49a7e983d6244ea35eff
[ "MIT" ]
1
2022-02-17T19:14:46.000Z
2022-02-17T19:14:46.000Z
src/negotiating_agent/venv/lib/python3.8/site-packages/geniusweb/connection/Connectable.py
HahaBill/CollaborativeAI
f771cd2f34774c74c58e49a7e983d6244ea35eff
[ "MIT" ]
null
null
null
src/negotiating_agent/venv/lib/python3.8/site-packages/geniusweb/connection/Connectable.py
HahaBill/CollaborativeAI
f771cd2f34774c74c58e49a7e983d6244ea35eff
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import TypeVar, Generic, List from geniusweb.connection.ConnectionEnd import ConnectionEnd INTYPE = TypeVar('INTYPE') OUTTYPE = TypeVar('OUTTYPE') class Connectable(ABC, Generic[INTYPE,OUTTYPE]): ''' A Connectable is an object that can connect on request with a provi...
29.16129
72
0.759956
115
904
5.973913
0.521739
0.056769
0.026201
0
0
0
0
0
0
0
0
0
0.163717
904
31
73
29.16129
0.90873
0.535398
0
0.2
0
0
0.034301
0
0
0
0
0
0
1
0.2
false
0
0.3
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
6450870306ae072838eda273843fca8e9df6ca34
2,293
py
Python
pelops/features/feature_producer.py
dave-lab41/pelops
292af80dba190f9506519c8e13432fef648a2291
[ "Apache-2.0" ]
48
2016-12-11T15:43:28.000Z
2021-02-28T14:16:42.000Z
pelops/features/feature_producer.py
dave-lab41/pelops
292af80dba190f9506519c8e13432fef648a2291
[ "Apache-2.0" ]
100
2016-11-15T19:23:52.000Z
2017-08-22T20:22:13.000Z
pelops/features/feature_producer.py
agude/pelops
292af80dba190f9506519c8e13432fef648a2291
[ "Apache-2.0" ]
25
2016-11-15T17:49:32.000Z
2020-02-17T13:04:26.000Z
import numpy as np from PIL import Image from pelops.datasets.chipper import Chipper from pelops.datasets.featuredataset import FeatureDataset class FeatureProducer(object): def __init__(self, chip_producer): self.chip_producer = chip_producer self.set_variables() def return_features(self): ...
34.223881
85
0.624945
269
2,293
5.167286
0.364312
0.040288
0.069065
0.028777
0.139568
0.05036
0
0
0
0
0
0.001225
0.287833
2,293
66
86
34.742424
0.849969
0.146097
0
0.186047
0
0
0.068013
0
0
0
0
0.015152
0
1
0.139535
false
0
0.093023
0
0.325581
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
645317ea0ffabdc7e057091ec506bb5f857366b4
5,975
py
Python
yangTools/scripts/ytPlugin.py
mightyang/yangTools
ae231ada4417e1deff63476c5c90aaf040e9f10b
[ "Apache-2.0" ]
1
2020-08-10T06:00:04.000Z
2020-08-10T06:00:04.000Z
yangTools/scripts/ytPlugin.py
mightyang/yangTools
ae231ada4417e1deff63476c5c90aaf040e9f10b
[ "Apache-2.0" ]
null
null
null
yangTools/scripts/ytPlugin.py
mightyang/yangTools
ae231ada4417e1deff63476c5c90aaf040e9f10b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # File : scriptsytPlugin.py # Author : yang <mightyang@hotmail.com> # Date : 04.03.2019 # Last Modified Date: 13.03.2019 # Last Modified By : yang <mightyang@hotmail.com> from ytLoggingSettings import yl import ytVariables import ytVer...
30.484694
84
0.56954
656
5,975
5.129573
0.213415
0.038633
0.016642
0.018722
0.359584
0.327786
0.305795
0.296582
0.271025
0.246062
0
0.008134
0.321004
5,975
195
85
30.641026
0.821297
0.051715
0
0.337838
0
0
0.061854
0.009232
0
0
0
0
0
0
null
null
0.02027
0.033784
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
64589c30acc2b9f3ba1123586f060d14d39d1d08
3,477
py
Python
hsi_to_rgb.py
wkiino/Hyperspectral_to_rgb_image
c91d57c03a702642cf2a4f1277a579028013e928
[ "MIT" ]
3
2020-05-18T01:52:22.000Z
2021-03-21T07:21:50.000Z
hsi_to_rgb.py
wkiino/Hyperspectral_to_rgb_image
c91d57c03a702642cf2a4f1277a579028013e928
[ "MIT" ]
3
2020-05-25T13:29:48.000Z
2021-09-08T02:04:04.000Z
hsi_to_rgb.py
hideo130/hyper_to_rgb
c91d57c03a702642cf2a4f1277a579028013e928
[ "MIT" ]
null
null
null
from pathlib import Path import numpy as np from PIL import Image def load_light_distribution(name="lamp_spectrum.csv"): sd_light_source = np.loadtxt(name, skiprows=1, dtype="float") sd_light_source = sd_light_source[np.where(sd_light_source[:, 0] >= 400)] # rindx = np.where(sd_light_source[:, 0] >= 400)...
32.495327
111
0.626402
544
3,477
3.759191
0.216912
0.119804
0.222494
0.08802
0.433741
0.371638
0.361369
0.310513
0.238142
0.219071
0
0.086424
0.224619
3,477
106
112
32.801887
0.672107
0.19442
0
0.352113
0
0
0.023155
0.009768
0
0
0
0
0
1
0.056338
false
0.014085
0.042254
0
0.140845
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
645ae3d3d24112bebddd98ac6d80cfc1f6edc3b5
282
py
Python
api/admin.py
josuelopes512/mastercode_films_api
ab8ea5ce55a1eeee90a1ec3c5447434ca37d83bb
[ "Apache-2.0" ]
null
null
null
api/admin.py
josuelopes512/mastercode_films_api
ab8ea5ce55a1eeee90a1ec3c5447434ca37d83bb
[ "Apache-2.0" ]
null
null
null
api/admin.py
josuelopes512/mastercode_films_api
ab8ea5ce55a1eeee90a1ec3c5447434ca37d83bb
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin # Register your models here. from .models import Movie class MovieAdmin(admin.ModelAdmin): list_display = ['id', 'movie_id', 'title', 'slug'] prepopulated_fields = { "slug": ("title",) } admin.site.register(Movie, MovieAdmin)
21.692308
54
0.680851
33
282
5.727273
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.184397
282
13
55
21.692308
0.821739
0.092199
0
0
0
0
0.109804
0
0
0
0
0
0
1
0
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
646187ac9cc92c22be8c9d0e66c86dc093dc6d36
17,635
py
Python
app/recipe/tests/test_recipe_api.py
goldbossstatus/recipe-app-api
9c0029c54362c6397899dd4ab25fd2675abc13be
[ "MIT" ]
null
null
null
app/recipe/tests/test_recipe_api.py
goldbossstatus/recipe-app-api
9c0029c54362c6397899dd4ab25fd2675abc13be
[ "MIT" ]
null
null
null
app/recipe/tests/test_recipe_api.py
goldbossstatus/recipe-app-api
9c0029c54362c6397899dd4ab25fd2675abc13be
[ "MIT" ]
null
null
null
# python function that allows you to generate temp files import tempfile import os # pillow requirements importing our image class which will then let us create # test images which we can then upload to our API from PIL import Image from django.contrib.auth import get_user_model from django.test import TestCase from dj...
39.718468
79
0.642813
2,250
17,635
4.966222
0.179556
0.022194
0.03007
0.023268
0.355737
0.309826
0.252909
0.162252
0.135941
0.078038
0
0.00998
0.278424
17,635
443
80
39.808126
0.868134
0.373462
0
0.366667
1
0
0.066958
0.005612
0
0
0
0
0.161905
1
0.109524
false
0.014286
0.047619
0.004762
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6466625f2e17ac26fe900b5a479b81530172b933
590
py
Python
yt/frontends/gdf/api.py
danielgrassinger/yt_new_frontend
5f91d2fb8721c4c5da0af543a6256ed979cd9fc9
[ "BSD-3-Clause-Clear" ]
null
null
null
yt/frontends/gdf/api.py
danielgrassinger/yt_new_frontend
5f91d2fb8721c4c5da0af543a6256ed979cd9fc9
[ "BSD-3-Clause-Clear" ]
1
2016-04-05T22:30:14.000Z
2016-04-05T22:30:14.000Z
yt/frontends/gdf/api.py
danielgrassinger/yt_new_frontend
5f91d2fb8721c4c5da0af543a6256ed979cd9fc9
[ "BSD-3-Clause-Clear" ]
1
2020-12-05T05:51:09.000Z
2020-12-05T05:51:09.000Z
""" API for yt.frontends.gdf """ #----------------------------------------------------------------------------- # Copyright (c) 2013, yt Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. #------------------...
22.692308
78
0.515254
54
590
5.555556
0.740741
0.1
0
0
0
0
0
0
0
0
0
0.010142
0.164407
590
25
79
23.6
0.598377
0.6
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
64684be72dcda4bda6606ffb6c71aef405b4b20f
2,827
py
Python
Back-End/util/create_world.py
Zealll/maze
e772c5725afbdc322a8515cadafb141590cbfcab
[ "MIT" ]
null
null
null
Back-End/util/create_world.py
Zealll/maze
e772c5725afbdc322a8515cadafb141590cbfcab
[ "MIT" ]
6
2021-03-10T12:22:56.000Z
2022-02-27T01:57:55.000Z
Back-End/util/create_world.py
Zealll/maze
e772c5725afbdc322a8515cadafb141590cbfcab
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from adventure.models import Player, Room from util.sample_generator import World world = World() world.generate_rooms(23, 23, 529) cache = {} for i in world.grid: for j in i: room = Room(title = j.name, description = f'This room is called {j.name} its ID is {j.i...
31.411111
113
0.647329
481
2,827
3.677755
0.272349
0.015828
0.027134
0.02035
0.220464
0.170718
0.142453
0.142453
0.067835
0
0
0.00434
0.185002
2,827
89
114
31.764045
0.763455
0.515387
0
0
1
0
0.03979
0
0
0
0
0
0
1
0
false
0
0.09375
0
0.09375
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
646ceca87876e5cd46ce012664edafec1c08cb63
1,911
py
Python
login/apps/user/serializers.py
LHW6688/login
03eda69cd6978077a221eb4755c07651c3b74305
[ "MIT" ]
1
2020-01-16T06:38:21.000Z
2020-01-16T06:38:21.000Z
login/apps/user/serializers.py
LHW6688/login
03eda69cd6978077a221eb4755c07651c3b74305
[ "MIT" ]
null
null
null
login/apps/user/serializers.py
LHW6688/login
03eda69cd6978077a221eb4755c07651c3b74305
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ''' PROJECT_NAME:login FILE:serializers USERNAME: 李宏伟 DATE:2020/1/15 TIME:上午10:13 PRODUCT_NAME:PyCharm ''' import re from rest_framework import serializers from .models import User class CreateUserSerializer(serializers.ModelSerializer): """ 创建用户序列化器 """ password2 = serializers.Char...
23.024096
74
0.690738
226
1,911
5.654867
0.415929
0.046948
0.030516
0.025039
0.095462
0.051643
0.051643
0
0
0
0
0.02402
0.172161
1,911
82
75
23.304878
0.783818
0.102041
0
0.113208
0
0
0.183976
0
0
0
0
0
0
1
0.075472
false
0.113208
0.075472
0
0.301887
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
646f25324dbdcb5034e1dbc15e8fe1562fe2941d
4,927
py
Python
models/imagenet/arch/tests/test_utils_fuse_utils.py
a1004123217/pytorch-mobile
97974af3259a2073efbc334d57841efbd3eaadfb
[ "MIT" ]
null
null
null
models/imagenet/arch/tests/test_utils_fuse_utils.py
a1004123217/pytorch-mobile
97974af3259a2073efbc334d57841efbd3eaadfb
[ "MIT" ]
null
null
null
models/imagenet/arch/tests/test_utils_fuse_utils.py
a1004123217/pytorch-mobile
97974af3259a2073efbc334d57841efbd3eaadfb
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import unittest import numpy as np import torch import mobile_cv.arch.fbnet_v2.basic_blocks as bb import mobile_cv.arch.fbnet_v2.fbnet_builder as fbnet_builder import mobile_cv.arch.utils.fuse_utils as fuse_utils def run_...
33.067114
74
0.581896
638
4,927
4.195925
0.180251
0.038102
0.067239
0.067987
0.678745
0.677251
0.637654
0.637654
0.637654
0.637654
0
0.033343
0.293891
4,927
148
75
33.290541
0.736131
0.037142
0
0.555556
0
0
0.054933
0
0
0
0
0
0.111111
1
0.074074
false
0
0.055556
0
0.166667
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
1
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
64794812c69bcea17efe42872bb2eb69ea283b69
10,731
py
Python
Code/nebulae/nebulae.py
DaveSeidel/QB_Nebulae_V2
4a0218bb6a05e835e74b126729a1c3cd221fc9b5
[ "MIT" ]
40
2019-12-30T03:44:36.000Z
2022-02-07T23:09:42.000Z
Code/nebulae/nebulae.py
DaveSeidel/QB_Nebulae_V2
4a0218bb6a05e835e74b126729a1c3cd221fc9b5
[ "MIT" ]
11
2020-03-08T10:22:57.000Z
2022-03-22T21:18:32.000Z
Code/nebulae/nebulae.py
DaveSeidel/QB_Nebulae_V2
4a0218bb6a05e835e74b126729a1c3cd221fc9b5
[ "MIT" ]
23
2020-01-20T11:12:20.000Z
2022-03-02T20:39:09.000Z
# Main Nebulae Source File import sys import os from subprocess import Popen import ctcsound import controlhandler as ch import conductor import ui import fileloader import time import logger import neb_globals cfg_path = "/home/alarm/QB_Nebulae_V2/Code/config/" debug = False debug_controls = False class Nebulae(ob...
39.021818
163
0.575715
1,285
10,731
4.676265
0.197665
0.037444
0.047928
0.023964
0.434848
0.372441
0.333333
0.28241
0.251789
0.232984
0
0.005326
0.317585
10,731
274
164
39.164234
0.81524
0.078557
0
0.432653
0
0
0.135681
0.037751
0
0
0
0
0
0
null
null
0
0.044898
null
null
0.122449
0
0
0
null
0
0
0
0
0
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
647a164526b849c355447655507bbf7b27e090de
1,169
py
Python
tests/test_magic.py
liranbg/nuclio-jupyter
f355fbdd9a2a5eca46443de4cc691b6da54c19c9
[ "Apache-2.0" ]
62
2018-07-30T22:13:37.000Z
2021-07-07T09:23:38.000Z
tests/test_magic.py
liranbg/nuclio-jupyter
f355fbdd9a2a5eca46443de4cc691b6da54c19c9
[ "Apache-2.0" ]
43
2018-09-19T22:07:52.000Z
2021-08-29T06:38:55.000Z
tests/test_magic.py
liranbg/nuclio-jupyter
f355fbdd9a2a5eca46443de4cc691b6da54c19c9
[ "Apache-2.0" ]
35
2018-08-12T05:37:06.000Z
2022-03-27T14:21:48.000Z
# Copyright 2018 Iguazio # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, soft...
31.594595
74
0.729683
170
1,169
4.964706
0.588235
0.07109
0.030806
0.037915
0.056872
0
0
0
0
0
0
0.008316
0.177074
1,169
36
75
32.472222
0.869023
0.478186
0
0
0
0
0.114286
0
0
0
0
0
0.125
1
0.125
false
0
0.3125
0
0.4375
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
64811d820816c3255578e2a74c680b40dab56a7d
1,215
py
Python
app/models/vehicle.py
MTES-MCT/mobilic-api
b3754de2282262fd60a27dc90e40777df9c1e230
[ "MIT" ]
null
null
null
app/models/vehicle.py
MTES-MCT/mobilic-api
b3754de2282262fd60a27dc90e40777df9c1e230
[ "MIT" ]
8
2021-04-19T17:47:55.000Z
2022-02-16T17:40:18.000Z
app/models/vehicle.py
MTES-MCT/mobilic-api
b3754de2282262fd60a27dc90e40777df9c1e230
[ "MIT" ]
null
null
null
import graphene from app import db from app.helpers.db import DateTimeStoredAsUTC from app.helpers.graphene_types import BaseSQLAlchemyObjectType from app.models.base import BaseModel class Vehicle(BaseModel): registration_number = db.Column(db.TEXT, nullable=False) alias = db.Column(db.TEXT, nullable=True) ...
25.851064
75
0.690535
137
1,215
5.985401
0.394161
0.04878
0.04878
0.034146
0.129268
0.07561
0.07561
0
0
0
0
0
0.214815
1,215
46
76
26.413043
0.859539
0
0
0.058824
0
0
0.087243
0.033745
0
0
0
0
0
1
0.058824
false
0
0.147059
0.058824
0.617647
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
648767957c403a373e8740ba3bd047ef8fc42022
14,006
py
Python
socks.py
lik78/Gravy-Reloaded
16735764541cc64397c363393f9df6d2cd62641d
[ "MIT" ]
2
2022-02-20T18:16:09.000Z
2022-02-28T04:29:54.000Z
socks.py
lik78/Gravy-Reloaded
16735764541cc64397c363393f9df6d2cd62641d
[ "MIT" ]
null
null
null
socks.py
lik78/Gravy-Reloaded
16735764541cc64397c363393f9df6d2cd62641d
[ "MIT" ]
2
2021-09-06T13:30:52.000Z
2022-02-20T18:16:10.000Z
"""SocksiPy - Python SOCKS module. Version 1.00 Copyright 2006 Dan-Haim. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, ...
39.453521
251
0.587891
1,566
14,006
5.110473
0.232439
0.030364
0.017493
0.035987
0.332375
0.286892
0.250656
0.222916
0.183306
0.14757
0
0.026616
0.310581
14,006
354
252
39.564972
0.802196
0
0
0.471366
0
0
0.085914
0
0
0
0
0
0
0
null
null
0.026432
0.008811
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
64877f4d4af62def57235f1af0e53e2de64f4ef3
2,344
py
Python
iron/utilities/explode_bam.py
jason-weirather/Au-public
c4e37770229f64a24bc79cd380e393f6de1fd7cb
[ "Apache-2.0" ]
4
2016-03-11T07:48:18.000Z
2017-01-01T20:49:10.000Z
iron/utilities/explode_bam.py
jason-weirather/Au-public
c4e37770229f64a24bc79cd380e393f6de1fd7cb
[ "Apache-2.0" ]
1
2017-09-08T15:02:31.000Z
2017-09-08T15:02:31.000Z
seqtools/cli/legacy/explode_bam.py
jason-weirather/py-seq-tools
f642c2c73ffef2acc83656a78059a476fc734ca1
[ "Apache-2.0" ]
5
2015-03-09T18:13:06.000Z
2019-01-15T10:19:07.000Z
#!/usr/bin/python import sys, argparse, re, os from subprocess import Popen, PIPE from SamBasics import is_header from multiprocessing import cpu_count, Pool def main(): parser = argparse.ArgumentParser(description="Break a bam into evenly sized chunks",formatter_class=argparse.ArgumentDefaultsHelpFormatter) parse...
30.842105
141
0.666382
355
2,344
4.295775
0.371831
0.045902
0.066885
0.027541
0.184918
0.184918
0.184918
0.184918
0.142951
0.142951
0
0.006276
0.1843
2,344
75
142
31.253333
0.791318
0.023038
0
0.238806
0
0
0.153476
0
0
0
0
0
0
0
null
null
0
0.059701
null
null
0.014925
0
0
0
null
0
0
0
0
0
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
648ab2979eda9be00b200ab17ab05eae68c2f2c7
2,257
py
Python
nydus/db/backends/redis.py
jusbrasil/nydus
43913ba25cc9ed9053bd2cbce49538d66dfe5fdf
[ "Apache-2.0" ]
null
null
null
nydus/db/backends/redis.py
jusbrasil/nydus
43913ba25cc9ed9053bd2cbce49538d66dfe5fdf
[ "Apache-2.0" ]
null
null
null
nydus/db/backends/redis.py
jusbrasil/nydus
43913ba25cc9ed9053bd2cbce49538d66dfe5fdf
[ "Apache-2.0" ]
1
2019-09-04T19:24:49.000Z
2019-09-04T19:24:49.000Z
""" nydus.db.backends.redis ~~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2011-2012 DISQUS. :license: Apache License 2.0, see LICENSE for more details. """ from __future__ import absolute_import from redis import Redis as RedisClient, StrictRedis from redis import ConnectionError, InvalidResponse from nydus.db.backends i...
30.093333
76
0.645547
258
2,257
5.453488
0.360465
0.035537
0.049751
0.025586
0
0
0
0
0
0
0
0.00885
0.249003
2,257
74
77
30.5
0.821239
0.105007
0
0
0
0
0.022874
0.015912
0
0
0
0
0
1
0.156863
false
0.058824
0.098039
0.039216
0.431373
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
648ad97a88e4349cba7ccda819fe8f69a8d0f21f
1,220
py
Python
pybda/bda_03a_ave.py
OxfordSKA/bda
0f92bead29a26d18fddaf5eb2ecd6f6d92401c2d
[ "BSD-3-Clause" ]
2
2019-11-22T18:39:49.000Z
2020-03-13T04:03:50.000Z
pybda/bda_03a_ave.py
OxfordSKA/bda
0f92bead29a26d18fddaf5eb2ecd6f6d92401c2d
[ "BSD-3-Clause" ]
null
null
null
pybda/bda_03a_ave.py
OxfordSKA/bda
0f92bead29a26d18fddaf5eb2ecd6f6d92401c2d
[ "BSD-3-Clause" ]
null
null
null
"""BDA with custom BDA code.""" import os import sys import subprocess if __name__ == "__main__": if len(sys.argv) - 1 < 1: print 'Usage:' print (' $ python bda/bda_03a_ave.py ' '<simulation dir>') sys.exit(1) sim_dir = sys.argv[-1] if not os.path.isdir(sim_dir):...
26.521739
79
0.429508
136
1,220
3.669118
0.441176
0.048096
0.072144
0.048096
0.328657
0.276553
0.276553
0.192385
0.192385
0.192385
0
0.031477
0.322951
1,220
45
80
27.111111
0.572639
0.17377
0
0.454545
0
0
0.167868
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.242424
0
0
0
null
0
0
0
0
0
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
648ae4a43bdcd4b9a9b2035d65b9bd2b4a8da8c8
851
py
Python
mongo/data_generator/models/models.py
svvladimir-ru/ugc_sprint_1
7ae4f9094f34981057f6c80d38bd96df6c96d2db
[ "MIT" ]
null
null
null
mongo/data_generator/models/models.py
svvladimir-ru/ugc_sprint_1
7ae4f9094f34981057f6c80d38bd96df6c96d2db
[ "MIT" ]
null
null
null
mongo/data_generator/models/models.py
svvladimir-ru/ugc_sprint_1
7ae4f9094f34981057f6c80d38bd96df6c96d2db
[ "MIT" ]
null
null
null
from uuid import UUID, uuid4 from datetime import datetime from typing import Optional from pydantic import BaseModel, Field class BaseCollection(BaseModel): id: Optional[UUID] = Field(alias='_id', default=uuid4()) created_at: Optional[datetime] = datetime.now() collection: Optional[str] def __init_...
21.820513
60
0.674501
98
851
5.683673
0.367347
0.064632
0.05386
0.086176
0
0
0
0
0
0
0
0.004573
0.229142
851
38
61
22.394737
0.844512
0
0
0.178571
0
0
0.028202
0
0
0
0
0
0
1
0.035714
false
0
0.142857
0
0.821429
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
648d5b594700cd12e1a05a346aae538c87372fab
3,115
py
Python
canvas/core/model/statements.py
robinsax/canvas
6e8b9b260fdda868d687b562926a2038736ec56c
[ "Apache-2.0" ]
4
2018-01-24T01:34:39.000Z
2021-01-14T21:29:47.000Z
canvas/core/model/statements.py
robinsax/canvas
6e8b9b260fdda868d687b562926a2038736ec56c
[ "Apache-2.0" ]
2
2018-06-09T22:28:56.000Z
2018-06-12T01:40:10.000Z
canvas/core/model/statements.py
robinsax/canvas
6e8b9b260fdda868d687b562926a2038736ec56c
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 ''' Top-level statement objects. ''' from .ast import deproxy, nodeify from .joins import Join # TODO: Constructor docs. class Statement: '''The top-level AST node type, which must facilitate value collection.''' def write(self): '''Return an SQL, value list tuple of this statement's serializati...
27.8125
82
0.689888
378
3,115
5.603175
0.253968
0.084986
0.033994
0.047214
0.193579
0.12559
0.12559
0.098206
0.05288
0
0
0.001912
0.160514
3,115
111
83
28.063063
0.808031
0.150562
0
0.364865
0
0
0.043663
0
0
0
0
0.018018
0
1
0.148649
false
0
0.027027
0.013514
0.324324
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
648f1197104c2e86588a8fb7c45d26d72ad26834
17,725
py
Python
parlaseje/models.py
VesterDe/parlalize
b725fe4b55b95f2ad3505aa70dac2474269ea3da
[ "Unlicense" ]
1
2021-04-19T07:30:06.000Z
2021-04-19T07:30:06.000Z
parlaseje/models.py
VesterDe/parlalize
b725fe4b55b95f2ad3505aa70dac2474269ea3da
[ "Unlicense" ]
null
null
null
parlaseje/models.py
VesterDe/parlalize
b725fe4b55b95f2ad3505aa70dac2474269ea3da
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- from django.db import models from django.utils.translation import ugettext_lazy as _ from jsonfield import JSONField from behaviors.models import Timestampable, Versionable from parlalize.settings import API_OUT_DATE_FORMAT from datetime import datetime class PopoloDateTimeField(models.DateTi...
40.192744
117
0.509563
1,657
17,725
5.274593
0.134581
0.086499
0.123455
0.161442
0.662357
0.630549
0.561442
0.549314
0.497712
0.478375
0
0.002244
0.396502
17,725
441
118
40.192744
0.814808
0.03385
0
0.540984
0
0
0.122426
0.009151
0
0
0
0
0
1
0.032787
false
0
0.022951
0.013115
0.432787
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
649c3f4cfbf967d97a7e87fffbbef8c42bc0c786
7,035
py
Python
deploy/virenv/lib/python2.7/site-packages/haystack/mappings/rek.py
wangvictor2012/liuwei
0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1
[ "BSD-3-Clause" ]
null
null
null
deploy/virenv/lib/python2.7/site-packages/haystack/mappings/rek.py
wangvictor2012/liuwei
0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1
[ "BSD-3-Clause" ]
null
null
null
deploy/virenv/lib/python2.7/site-packages/haystack/mappings/rek.py
wangvictor2012/liuwei
0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ rekall backed memory_handler. - rekallProcessMapping: a wrapper around rekall addresspace - rekallProcessMapper: the memory_handler builder. """ import os import sys import logging import struct from functools import partial from haystack.mappings import base from haystack.abc import i...
32.569444
117
0.564037
796
7,035
4.807789
0.301508
0.027175
0.017246
0.018291
0.210348
0.183434
0.17664
0.134309
0.068461
0.068461
0
0.016258
0.326795
7,035
216
118
32.569444
0.791807
0.097655
0
0.220126
0
0
0.05337
0.003754
0
0
0
0.00463
0
0
null
null
0.018868
0.081761
null
null
0.012579
0
0
0
null
0
0
0
0
0
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
649ec91a0bced444d31150235d7dccd615ff21f6
1,185
py
Python
setup.py
Colin-b/pyconfigparser
2d397e80998e3e1f838907c5eddaeeeade7ef6a8
[ "MIT" ]
4
2017-03-19T21:35:40.000Z
2021-01-26T07:04:54.000Z
setup.py
Colin-b/pyconfigparser
2d397e80998e3e1f838907c5eddaeeeade7ef6a8
[ "MIT" ]
null
null
null
setup.py
Colin-b/pyconfigparser
2d397e80998e3e1f838907c5eddaeeeade7ef6a8
[ "MIT" ]
1
2021-01-26T07:04:56.000Z
2021-01-26T07:04:56.000Z
import os from setuptools import setup, find_packages this_dir = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(this_dir, 'README.md'), 'r') as f: long_description = f.read() setup(name='pyconfigparser', version='0.1', author='Bounouar Colin', maintainer='Bounouar Colin', ...
32.027027
65
0.598312
119
1,185
5.84874
0.563025
0.163793
0.215517
0.112069
0.106322
0.106322
0.106322
0
0
0
0
0.013809
0.266667
1,185
36
66
32.916667
0.787112
0
0
0.088235
0
0
0.437975
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
64a1a95f5d4ce10f59c7663f812bf87ca1ed6dd1
602
py
Python
demo_project/urls.py
zmcddn/DRF-demo-user-creditcard
d734bfdc29b177caaab93d60a667149410342148
[ "MIT" ]
null
null
null
demo_project/urls.py
zmcddn/DRF-demo-user-creditcard
d734bfdc29b177caaab93d60a667149410342148
[ "MIT" ]
null
null
null
demo_project/urls.py
zmcddn/DRF-demo-user-creditcard
d734bfdc29b177caaab93d60a667149410342148
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path, re_path, include, reverse_lazy from rest_framework.routers import DefaultRouter from users.views import LoginViewCustom from accounts.views import CardSerializerViewSet router = DefaultRouter() router.register(r'card', CardSerializerViewSet) urlpattern...
30.1
75
0.750831
74
602
6.013514
0.445946
0.07191
0.074157
0.101124
0
0
0
0
0
0
0
0
0.112957
602
19
76
31.684211
0.833333
0
0
0
0
0
0.177741
0.081395
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
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
64aa5a391a2346911760f27c4508df2486b82be2
1,250
py
Python
easy/110.Balanced_Binary_Tree.py
Leesoar/leetcode
e566513fc0e7055155157798f06089299bd44fd2
[ "Apache-2.0" ]
2
2018-03-04T23:29:49.000Z
2019-04-23T01:13:12.000Z
easy/110.Balanced_Binary_Tree.py
Leesoar/leetcode
e566513fc0e7055155157798f06089299bd44fd2
[ "Apache-2.0" ]
null
null
null
easy/110.Balanced_Binary_Tree.py
Leesoar/leetcode
e566513fc0e7055155157798f06089299bd44fd2
[ "Apache-2.0" ]
1
2018-03-05T09:58:59.000Z
2018-03-05T09:58:59.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Question: Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as: a binary tree in which the depth of the two subtrees of every node never differ by more than 1. Example 1: Given the following tr...
20.491803
97
0.52
169
1,250
3.822485
0.455621
0.06192
0.051084
0.065015
0.01548
0
0
0
0
0
0
0.050955
0.372
1,250
61
98
20.491803
0.771975
0.7056
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0
0
0.636364
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
64aafe39a498687b657ccc95ce1baa9f7beec0f5
2,084
py
Python
about.py
sjtrny/toomanyguns
2acf48f3dfef3550000a8a560c9c5af7986eda28
[ "MIT" ]
1
2019-10-09T09:13:06.000Z
2019-10-09T09:13:06.000Z
about.py
sjtrny/toomanyguns
2acf48f3dfef3550000a8a560c9c5af7986eda28
[ "MIT" ]
null
null
null
about.py
sjtrny/toomanyguns
2acf48f3dfef3550000a8a560c9c5af7986eda28
[ "MIT" ]
null
null
null
from common import MarkdownApp import flask class About(MarkdownApp): title = "About" breadcrumbs = None markdown = """ ## About ---- This website shows ownership of firearms in NSW by postcode. This information has been made public thanks to the NSW Greens through a FOI request to NSW Police. ## FAQ -...
31.104478
261
0.713052
303
2,084
4.854785
0.564356
0.028552
0.030591
0.03399
0.095173
0.095173
0
0
0
0
0
0.029634
0.174184
2,084
66
262
31.575758
0.825102
0
0
0.073171
0
0.170732
0.825816
0.079175
0
0
0
0
0
1
0.04878
false
0
0.04878
0.02439
0.219512
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
64ab22ddf78cf73f020c254c3f26f12ef04ad28f
3,479
py
Python
mininet/exabgp-vip/topo.py
ljjjustin/stack-vagrants
8d7b2b457b115c1616bcf7d8178d00172436c117
[ "MIT" ]
1
2021-02-24T03:18:05.000Z
2021-02-24T03:18:05.000Z
mininet/exabgp-vip/topo.py
ljjjustin/stack-vagrants
8d7b2b457b115c1616bcf7d8178d00172436c117
[ "MIT" ]
null
null
null
mininet/exabgp-vip/topo.py
ljjjustin/stack-vagrants
8d7b2b457b115c1616bcf7d8178d00172436c117
[ "MIT" ]
null
null
null
#!/usr/bin/python from mininet.topo import Topo from mininet.net import Mininet from mininet.node import Node from mininet.log import setLogLevel, info from mininet.cli import CLI import time import os workdir = os.path.dirname(os.path.realpath(__file__)) class LinuxRouter( Node ): "A Node with IP forwarding ena...
41.416667
121
0.635815
534
3,479
4.114232
0.247191
0.065544
0.029131
0.034593
0.279472
0.279472
0.223942
0.130178
0.130178
0.101957
0
0.091611
0.181087
3,479
83
122
41.915663
0.679537
0.078183
0
0.032258
0
0.129032
0.380982
0.142634
0
0
0
0
0
0
null
null
0
0.112903
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
64ae08055048e7cff7b1c281503df2b7128f782e
873
py
Python
quant/example/ex_binance.py
doubleDragon/QuantBot
53a1d6c62ecece47bf777da0c0754430b706b7fd
[ "MIT" ]
7
2017-10-22T15:00:09.000Z
2019-09-19T11:45:43.000Z
quant/example/ex_binance.py
doubleDragon/QuantBot
53a1d6c62ecece47bf777da0c0754430b706b7fd
[ "MIT" ]
1
2018-01-19T16:19:40.000Z
2018-01-19T16:19:40.000Z
quant/example/ex_binance.py
doubleDragon/QuantBot
53a1d6c62ecece47bf777da0c0754430b706b7fd
[ "MIT" ]
5
2017-12-11T15:10:29.000Z
2018-12-21T17:40:58.000Z
#!/usr/bin/env python # -*- coding: UTF-8 -*- from __future__ import print_function from quant.brokers.broker_factory import create_brokers pair_code = 'Binance_ZRX_ETH' '''test broker''' brokers = create_brokers([pair_code]) broker = brokers[pair_code] '''sell order''' # amount = 10 # price = 0.0019 # order_id = ...
22.384615
58
0.67354
122
873
4.614754
0.352459
0.111901
0.079929
0.0746
0
0
0
0
0
0
0
0.049519
0.167239
873
38
59
22.973684
0.724897
0.610538
0
0
0
0
0.067265
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
0
0
0
null
0
0
0
0
0
0
0
0
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
64ae53f6105dfd80b167119a19ddbc67dbe99e24
271
py
Python
templatetags/myfilters.py
RoGryza/blog
1af46a6eb1340001546a70ab76c34f836fbbc6cf
[ "Unlicense" ]
null
null
null
templatetags/myfilters.py
RoGryza/blog
1af46a6eb1340001546a70ab76c34f836fbbc6cf
[ "Unlicense" ]
null
null
null
templatetags/myfilters.py
RoGryza/blog
1af46a6eb1340001546a70ab76c34f836fbbc6cf
[ "Unlicense" ]
null
null
null
from statik.templatetags import register @register.filter(name='localized_date') def localized_date(value, lang): months = lang.months.split(',') month = months[value.month - 1] fmt = str(lang.date_format).replace('%b', month) return value.strftime(fmt)
30.111111
52
0.712177
36
271
5.277778
0.638889
0.136842
0
0
0
0
0
0
0
0
0
0.00431
0.143911
271
8
53
33.875
0.814655
0
0
0
0
0
0.062731
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
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
64b96d75af05bd80475e3594a1d05771ef46f6a4
2,448
py
Python
python/codingame/practice/community/the_greatest_number_python2.py
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
null
null
null
python/codingame/practice/community/the_greatest_number_python2.py
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
16
2020-05-30T12:38:13.000Z
2022-02-19T09:23:31.000Z
python/codingame/practice/community/the_greatest_number_python2.py
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
null
null
null
import sys import math # Auto-generated code below aims at helping you parse # the standard input according to the problem statement. # Write an action using print # To debug: print >> sys.stderr, "Debug messages..." n = int(raw_input()) dot = False minus = False numbers = [] characters = raw_input() print >> sys.std...
34.971429
96
0.553922
311
2,448
4.263666
0.308682
0.084465
0.137255
0.056561
0.354449
0.302413
0.259427
0.156863
0.060332
0.060332
0
0.010883
0.324346
2,448
69
97
35.478261
0.79081
0.189542
0
0.360656
1
0
0.049671
0
0
0
0
0
0
1
0
false
0
0.032787
0
0.032787
0.114754
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
64b99e300b622396dafc77fb849a0e9035562578
557
py
Python
tests/testapp/urls.py
niteshsinha17/openwisp-users
473dad7426afa2eecc494e7718bb8f0c82e99ed7
[ "BSD-3-Clause" ]
null
null
null
tests/testapp/urls.py
niteshsinha17/openwisp-users
473dad7426afa2eecc494e7718bb8f0c82e99ed7
[ "BSD-3-Clause" ]
null
null
null
tests/testapp/urls.py
niteshsinha17/openwisp-users
473dad7426afa2eecc494e7718bb8f0c82e99ed7
[ "BSD-3-Clause" ]
1
2020-10-12T20:05:45.000Z
2020-10-12T20:05:45.000Z
from django.urls import path from . import views urlpatterns = [ path('member_view', views.api_member_view, name='test_api_member_view'), path('manager_view', views.api_manager_view, name='test_api_manager_view'), path('owner_view', views.api_owner_view, name='test_api_owner_view'), path('base_org_vie...
42.846154
86
0.771993
85
557
4.588235
0.235294
0.138462
0.184615
0.115385
0
0
0
0
0
0
0
0
0.100539
557
12
87
46.416667
0.778443
0
0
0
0
0
0.384201
0.177738
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
64c643234470dbbc972ca51a37b0d9d803b55237
1,209
py
Python
app/backend-test/core_datasets/run01_create_dataset_from_config_v2.py
SummaLabs/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
32
2017-09-04T17:40:39.000Z
2021-02-16T23:08:34.000Z
app/backend-test/core_datasets/run01_create_dataset_from_config_v2.py
AymanNabih/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
3
2017-10-09T12:52:54.000Z
2020-06-29T02:48:38.000Z
app/backend-test/core_datasets/run01_create_dataset_from_config_v2.py
AymanNabih/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
20
2017-10-07T17:29:50.000Z
2021-01-23T22:01:54.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- __author__ = 'ar' import os import sys import glob import numpy as np import matplotlib.pyplot as plt import skimage.io as skio import app.backend.core.utils as dlsutils from app.backend.core.datasets.dbbuilder import DBImage2DBuilder ######################################...
33.583333
99
0.622002
117
1,209
6.316239
0.57265
0.024357
0.037889
0
0
0
0
0
0
0
0
0.007085
0.182796
1,209
36
100
33.583333
0.740891
0.031431
0
0
0
0
0.083022
0.020522
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.115385
0
0
0
null
0
0
0
0
0
0
0
0
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
64c72188af2f1f8db0f1465e0079ab7561b401b0
729
py
Python
w3testrunner/browsers/dummy.py
formido/browsercontrol
a4259cf239cdfe439e37ac13c2b7b4329c42198b
[ "BSD-3-Clause" ]
null
null
null
w3testrunner/browsers/dummy.py
formido/browsercontrol
a4259cf239cdfe439e37ac13c2b7b4329c42198b
[ "BSD-3-Clause" ]
null
null
null
w3testrunner/browsers/dummy.py
formido/browsercontrol
a4259cf239cdfe439e37ac13c2b7b4329c42198b
[ "BSD-3-Clause" ]
null
null
null
import logging import urllib2 from w3testrunner.browsers.browser import Browser log = logging.getLogger(__name__) class DummyBrowser(Browser): """Extension of Browser that does nothing.""" name = "dummy" nopath = True def __init__(self, browser_info): super(DummyBrowser, self).__init__(brow...
22.78125
62
0.644719
87
729
5.218391
0.551724
0.079295
0.061674
0
0
0
0
0
0
0
0
0.007449
0.263374
729
31
63
23.516129
0.837989
0.058985
0
0.1
0
0
0.061033
0
0
0
0
0
0
0
null
null
0
0.15
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
64caf8917ade8a628b2d1e64c2bd34ea7c824877
573
py
Python
APP/SpeechExtraction/speech_blueprint.py
Valuebai/Text-Auto-Summarization
ff3a209c03b18b08a0e5b59c32296c76d4c39025
[ "MIT" ]
39
2020-03-12T11:27:06.000Z
2022-03-11T06:01:32.000Z
APP/SpeechExtraction/speech_blueprint.py
Valuebai/Text-Auto-Summarization
ff3a209c03b18b08a0e5b59c32296c76d4c39025
[ "MIT" ]
5
2019-11-16T09:29:10.000Z
2022-01-13T01:44:36.000Z
APP/SpeechExtraction/speech_blueprint.py
Valuebai/Text-Auto-Summarization
ff3a209c03b18b08a0e5b59c32296c76d4c39025
[ "MIT" ]
15
2020-02-27T07:38:19.000Z
2021-12-21T15:10:07.000Z
#!/usr/bin/env python # -*- coding: UTF-8 -*- '''================================================= @IDE :PyCharm @Author :LuckyHuibo @Date :2019/10/16 22:32 @Desc : ==================================================''' from flask import request, render_template, jsonify, Blueprint # from flask import current_ap...
27.285714
110
0.596859
60
573
5.483333
0.7
0.118541
0.091185
0
0
0
0
0
0
0
0
0.025591
0.113438
573
20
111
28.65
0.622047
0.429319
0
0
0
0
0.200627
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
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
64cdda4353d03fb9aa61d4b328fe4b5b91d75745
1,089
py
Python
setup.py
jsfehler/pytest-packagetree
09ef2d05a09ba1403b67fb6e08b4b3fb21fe24ec
[ "MIT" ]
null
null
null
setup.py
jsfehler/pytest-packagetree
09ef2d05a09ba1403b67fb6e08b4b3fb21fe24ec
[ "MIT" ]
null
null
null
setup.py
jsfehler/pytest-packagetree
09ef2d05a09ba1403b67fb6e08b4b3fb21fe24ec
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import codecs from setuptools import setup setup( name='pytest-packagetree', version='0.0.1', author='Joshua Fehler', author_email='jsfehler@gmail.com', maintainer='Joshua Fehler', maintainer_email='jsfehler@gmail.com', license='MIT'...
28.657895
70
0.615243
108
1,089
6.148148
0.62037
0.10241
0.112952
0.063253
0
0
0
0
0
0
0
0.014406
0.235078
1,089
37
71
29.432432
0.782713
0.038567
0
0.0625
0
0
0.546411
0.023923
0
0
0
0
0
1
0
true
0
0.09375
0
0.09375
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
64cf94800c84ccc4fa7228b916090303f26733bf
4,186
py
Python
eufySecurityApi/cli.py
Rihan9/uefiSecurityApi
27ef9446b1cab55244f2b90bafee33bcfcfe53b5
[ "MIT" ]
1
2021-02-17T22:32:48.000Z
2021-02-17T22:32:48.000Z
eufySecurityApi/cli.py
Rihan9/uefiSecurityApi
27ef9446b1cab55244f2b90bafee33bcfcfe53b5
[ "MIT" ]
null
null
null
eufySecurityApi/cli.py
Rihan9/uefiSecurityApi
27ef9446b1cab55244f2b90bafee33bcfcfe53b5
[ "MIT" ]
null
null
null
import click, logging, asyncio, time from .api import Api from .const import TWO_FACTOR_AUTH_METHODS import asyncio _logger = logging.getLogger(__name__) logging.basicConfig(format='%(name)-10s %(levelname)-8s %(message)s') uefyApi = None #pylint: disable=no-value-for-parameter try: loop = asyncio.get_running_l...
39.490566
123
0.668419
540
4,186
5.062963
0.251852
0.059254
0.079005
0.125091
0.441843
0.359912
0.313826
0.247988
0.160936
0.160936
0
0.002642
0.186335
4,186
106
124
39.490566
0.800059
0.026278
0
0.369565
0
0
0.13623
0
0
0
0
0
0
1
0.065217
false
0.130435
0.043478
0
0.119565
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
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
64d0ac95cfa32d256c76ff7bac68e2a5eff5f9d0
3,658
py
Python
tests/proxy/test_proxy.py
jodal/pykka
f3a31db64674b600b5da6a9045332fc926cfd24d
[ "Apache-2.0" ]
796
2015-01-01T14:40:40.000Z
2022-03-31T09:57:45.000Z
tests/proxy/test_proxy.py
jodal/pykka
f3a31db64674b600b5da6a9045332fc926cfd24d
[ "Apache-2.0" ]
123
2015-02-06T11:45:55.000Z
2022-03-25T04:11:21.000Z
tests/proxy/test_proxy.py
jodal/pykka
f3a31db64674b600b5da6a9045332fc926cfd24d
[ "Apache-2.0" ]
103
2015-01-13T10:34:27.000Z
2022-02-23T12:47:10.000Z
import pytest import pykka from pykka import ActorDeadError, ActorProxy class NestedObject: pass @pytest.fixture(scope="module") def actor_class(runtime): class ActorForProxying(runtime.actor_class): a_nested_object = pykka.traversable(NestedObject()) a_class_attr = "class_attr" de...
24.386667
82
0.721706
511
3,658
4.747554
0.238748
0.049052
0.034625
0.017312
0.207337
0.174773
0.112119
0.100577
0.04122
0.04122
0
0.001347
0.188354
3,658
149
83
24.550336
0.815763
0
0
0.086957
0
0
0.094861
0
0
0
0
0
0.271739
1
0.23913
false
0.021739
0.032609
0
0.336957
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
64d3ff87a39865574831461489321ffe376e0cf1
2,828
py
Python
acceptance_tests/features/steps/view_collection_exercise_details_ready_for_review_state.py
ONSdigital/rasrm-acceptance-tests
ac31b8c2e79fec70e1475731edabc5acd54e8874
[ "MIT" ]
2
2018-03-06T12:33:55.000Z
2018-05-04T15:28:55.000Z
acceptance_tests/features/steps/view_collection_exercise_details_ready_for_review_state.py
ONSdigital/rasrm-acceptance-tests
ac31b8c2e79fec70e1475731edabc5acd54e8874
[ "MIT" ]
99
2018-02-23T10:52:22.000Z
2021-02-03T11:35:54.000Z
acceptance_tests/features/steps/view_collection_exercise_details_ready_for_review_state.py
ONSdigital/ras-integration-tests
ac31b8c2e79fec70e1475731edabc5acd54e8874
[ "MIT" ]
1
2021-04-11T07:55:47.000Z
2021-04-11T07:55:47.000Z
from behave import given, when, then from acceptance_tests.features.pages import collection_exercise, collection_exercise_details from common.browser_utilities import is_text_present_with_retry, wait_for @given('the collection exercise is Scheduled') def collection_exercise_exists_and_scheduled_displayed(context): ...
45.612903
101
0.8186
376
2,828
5.787234
0.215426
0.215074
0.160846
0.077206
0.675551
0.611213
0.573529
0.573529
0.536765
0.536765
0
0.013116
0.110325
2,828
61
102
46.360656
0.851749
0.014851
0
0.5
0
0
0.276321
0.080489
0
0
0
0
0.204545
1
0.159091
false
0
0.068182
0
0.227273
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
64d532001fd00edf0d500c8605c0f85d41661816
1,762
py
Python
src/generator.py
DailoxFH/ytasagroup
847047a113ae8a866128da5ec760c4f73fe0536c
[ "MIT" ]
null
null
null
src/generator.py
DailoxFH/ytasagroup
847047a113ae8a866128da5ec760c4f73fe0536c
[ "MIT" ]
null
null
null
src/generator.py
DailoxFH/ytasagroup
847047a113ae8a866128da5ec760c4f73fe0536c
[ "MIT" ]
null
null
null
import string import random from urllib.parse import unquote from src.cookies import escape def generate_random(iterations, lower=False): if lower: return ''.join( random.choice(string.ascii_uppercase + string.ascii_lowercase + string.digits) for _ in range(iterations)) else: retur...
24.472222
118
0.623723
228
1,762
4.614035
0.350877
0.046578
0.086502
0.041825
0.146388
0.146388
0.091255
0.091255
0
0
0
0.007037
0.27412
1,762
71
119
24.816901
0.815481
0.017026
0
0.214286
1
0
0.04104
0
0
0
0
0
0
1
0.107143
false
0
0.071429
0
0.410714
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
b378fa6cb7be322f600371a9806486cd8f467ccc
3,042
py
Python
third_party/Paste/paste/auth/multi.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
5,079
2015-01-01T03:39:46.000Z
2022-03-31T07:38:22.000Z
third_party/Paste/paste/auth/multi.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
4,640
2015-07-08T16:19:08.000Z
2019-12-02T15:01:27.000Z
third_party/Paste/paste/auth/multi.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
2,033
2015-01-04T07:18:02.000Z
2022-03-28T19:55:47.000Z
# (c) 2005 Clark C. Evans # This module is part of the Python Paste Project and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php # This code was written with funding by http://prometheusresearch.com """ Authentication via Multiple Methods In some environments, the choice of authe...
38.025
73
0.709073
379
3,042
5.591029
0.419525
0.02454
0.021236
0.016989
0.019821
0
0
0
0
0
0
0.001623
0.190007
3,042
79
74
38.506329
0.85836
0.600592
0
0
0
0
0.039965
0
0
0
0
0
0
1
0.230769
false
0
0.038462
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b37bc707f5b73d96edc1a68c1ac3f4cf4fcbdbe7
2,203
py
Python
JSEncrypt_RSA.py
Singhoy/MyJSTranslated
567ea7a7f6c643fa07050c12cfca0f18d2ef09a9
[ "Apache-2.0" ]
null
null
null
JSEncrypt_RSA.py
Singhoy/MyJSTranslated
567ea7a7f6c643fa07050c12cfca0f18d2ef09a9
[ "Apache-2.0" ]
null
null
null
JSEncrypt_RSA.py
Singhoy/MyJSTranslated
567ea7a7f6c643fa07050c12cfca0f18d2ef09a9
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from base64 import b64encode from json import dumps from math import floor from random import random from time import time from Crypto.Cipher import PKCS1_v1_5 from Crypto.PublicKey import RSA """ 原文: var publicNewKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmljIi6pIJL8yfXnvg0MYkXFvCExKvZ/dSA...
33.378788
238
0.661371
248
2,203
5.762097
0.415323
0.025192
0.011197
0.242127
0.296711
0
0
0
0
0
0
0.065574
0.197004
2,203
65
239
33.892308
0.742227
0.009532
0
0
0
0
0.258088
0.182353
0
0
0.004412
0
0
1
0.055556
false
0
0.222222
0
0.333333
0.027778
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
b38ae49f43154af55913cdaaa7724b51294d722e
667
py
Python
Alarm.py
redart16/Python-samples2
08d86fc0d4fe9f747211ef4528f1ab20147a6a6c
[ "MIT" ]
1
2021-02-27T00:19:45.000Z
2021-02-27T00:19:45.000Z
Alarm.py
barisbayin/Python-samples2
08d86fc0d4fe9f747211ef4528f1ab20147a6a6c
[ "MIT" ]
null
null
null
Alarm.py
barisbayin/Python-samples2
08d86fc0d4fe9f747211ef4528f1ab20147a6a6c
[ "MIT" ]
null
null
null
print("""****************** Alarm Program ******************""") import time Ahour = int(input("Please enter the alarm hour:")) Aminute = int(input("Please enter the alarm minute:")) while True: LT = time.localtime(time.time()) if Ahour == LT.tm_hour and Aminute == LT.tm_min : print( "Time is:", LT...
25.653846
85
0.569715
96
667
3.854167
0.416667
0.108108
0.094595
0.102703
0.308108
0.145946
0
0
0
0
0
0.009804
0.235382
667
25
86
26.68
0.715686
0
0
0
0
0
0.285285
0
0
0
0
0
0
1
0
false
0.055556
0.055556
0
0.055556
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
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
b38d3772e1d6ee89bd5d390dde53c73682dd7833
3,647
py
Python
paradrop/daemon/paradrop/airshark/spectrum_reader.py
lhartung/paradrop-test
22a491bf3198bf61bcabaedfaecde5b9be97e76f
[ "Apache-2.0" ]
null
null
null
paradrop/daemon/paradrop/airshark/spectrum_reader.py
lhartung/paradrop-test
22a491bf3198bf61bcabaedfaecde5b9be97e76f
[ "Apache-2.0" ]
7
2021-03-18T20:54:50.000Z
2022-03-11T23:27:40.000Z
paradrop/daemon/paradrop/airshark/spectrum_reader.py
lhartung/paradrop-test
22a491bf3198bf61bcabaedfaecde5b9be97e76f
[ "Apache-2.0" ]
null
null
null
import struct from datetime import datetime from twisted.internet.fdesc import setNonBlocking class SpectrumReader(object): # spectral scan packet format constants hdrsize = 3 pktsize = 17 + 56 # ieee 802.11 constants sc_wide = 0.3125 # in MHz def __init__(self, path): self.fp = f...
33.768519
104
0.520154
400
3,647
4.6325
0.42
0.041554
0.043173
0.038856
0.123044
0.089584
0.04857
0.04857
0.04857
0.04857
0
0.028558
0.395119
3,647
107
105
34.084112
0.811423
0.083356
0
0.055556
0
0
0.03209
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b3945d71ee277991a853fd31502735b6b621c0c0
2,950
py
Python
recipes/Python/577491_Observer_Design_Pattern_pythgevent_coroutine/recipe-577491.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/577491_Observer_Design_Pattern_pythgevent_coroutine/recipe-577491.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/577491_Observer_Design_Pattern_pythgevent_coroutine/recipe-577491.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
__author__ = "Andrey Nikishaev" __email__ = "creotiv@gmail.com" import gevent from gevent import core from gevent.hub import getcurrent from gevent.event import Event from gevent.pool import Pool import functools def wrap(method, *args, **kargs): if method is None: return None if args or kargs: ...
24.583333
90
0.564068
339
2,950
4.716814
0.265487
0.081301
0.061288
0.037523
0.198874
0.153846
0.153846
0.116323
0.116323
0.073796
0
0.006497
0.321695
2,950
119
91
24.789916
0.792604
0.002373
0
0.27551
0
0
0.029582
0
0
0
0
0
0
0
null
null
0.020408
0.061224
null
null
0.05102
0
0
0
null
0
0
0
0
0
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
b396ba6fb4e3d410206d201bc8e20c44905a69b5
551
py
Python
application_form/migrations/0019_alter_field_apartments.py
frwickst/apartment-application-service
40387327a0f82ba01bfcb6ab8532ea4aec40d37a
[ "MIT" ]
1
2021-03-15T11:29:12.000Z
2021-03-15T11:29:12.000Z
application_form/migrations/0019_alter_field_apartments.py
frwickst/apartment-application-service
40387327a0f82ba01bfcb6ab8532ea4aec40d37a
[ "MIT" ]
130
2020-09-07T08:30:29.000Z
2022-03-29T11:49:27.000Z
application_form/migrations/0019_alter_field_apartments.py
frwickst/apartment-application-service
40387327a0f82ba01bfcb6ab8532ea4aec40d37a
[ "MIT" ]
4
2020-09-07T05:34:13.000Z
2021-11-07T12:51:21.000Z
# Generated by Django 2.2.21 on 2021-06-04 09:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("application_form", "0018_move_field_has_children"), ] operations = [ migrations.AlterField( model_name="application", ...
23.956522
64
0.582577
50
551
6.28
0.76
0.095541
0
0
0
0
0
0
0
0
0
0.053191
0.317604
551
22
65
25.045455
0.781915
0.083485
0
0.125
1
0
0.240557
0.129225
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b39f8e8a133e323079f48138eb06ea9a2f0441d3
591
py
Python
src/fonts/inter-ui/misc/pylib/fontbuild/setup.py
OpenBazaar/openbazaar-css
2033034d205e7b5004018f7f786c3718fe62fc16
[ "MIT" ]
null
null
null
src/fonts/inter-ui/misc/pylib/fontbuild/setup.py
OpenBazaar/openbazaar-css
2033034d205e7b5004018f7f786c3718fe62fc16
[ "MIT" ]
null
null
null
src/fonts/inter-ui/misc/pylib/fontbuild/setup.py
OpenBazaar/openbazaar-css
2033034d205e7b5004018f7f786c3718fe62fc16
[ "MIT" ]
4
2019-07-11T00:38:30.000Z
2022-01-23T21:11:36.000Z
from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext ext_modules = [ Extension("decomposeGlyph", ["decomposeGlyph.pyx"]), Extension("alignpoints", ["alignpoints.pyx"]), Extension("Build", ["Build.pyx"]), Extension("convertCurves", ["convertCurves.pyx...
28.142857
54
0.7022
62
591
6.596774
0.33871
0.205379
0.05379
0.08802
0
0
0
0
0
0
0
0
0.115059
591
20
55
29.55
0.782027
0
0
0
0
0
0.326565
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
b3a0479dd7f842228b5892f891e2f52f3a807fce
1,451
py
Python
src/astro/files/locations/amazon/s3.py
astro-projects/astro
7fa0404fc690569ff85e379ecca54778f09a9333
[ "Apache-2.0" ]
71
2021-12-06T22:41:59.000Z
2022-03-31T21:47:16.000Z
src/astro/files/locations/amazon/s3.py
astro-projects/astro
7fa0404fc690569ff85e379ecca54778f09a9333
[ "Apache-2.0" ]
171
2021-12-14T07:34:57.000Z
2022-03-31T21:04:15.000Z
src/astro/files/locations/amazon/s3.py
astro-projects/astro
7fa0404fc690569ff85e379ecca54778f09a9333
[ "Apache-2.0" ]
11
2021-12-06T22:46:23.000Z
2022-03-31T18:09:46.000Z
import os from typing import Dict, List, Tuple from urllib.parse import urlparse, urlunparse from astro.constants import FileLocation from astro.files.locations.base import BaseFileLocation from astro.utils.dependencies import s3 class S3Location(BaseFileLocation): """Handler S3 object store operations""" l...
32.244444
87
0.658856
188
1,451
4.952128
0.441489
0.038668
0.042965
0.032223
0.118153
0.118153
0.118153
0.118153
0.118153
0.118153
0
0.018919
0.23501
1,451
44
88
32.977273
0.81982
0.137147
0
0.166667
0
0
0.037891
0.017298
0
0
0
0
0
1
0.133333
false
0
0.2
0.033333
0.533333
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
b3a053b04407e5df2b08efbf8e03ac3bccd6c958
19,156
py
Python
src/testing/TestON/bin/cli.py
securedataplane/preacher
2f76581de47036e79cd6e1183948c88b35ce4950
[ "MIT" ]
1
2020-07-23T08:06:44.000Z
2020-07-23T08:06:44.000Z
src/testing/TestON/bin/cli.py
securedataplane/preacher
2f76581de47036e79cd6e1183948c88b35ce4950
[ "MIT" ]
null
null
null
src/testing/TestON/bin/cli.py
securedataplane/preacher
2f76581de47036e79cd6e1183948c88b35ce4950
[ "MIT" ]
null
null
null
#!/usr/bin/env python ''' Created on 20-Dec-2012 @author: Anil Kumar (anilkumar.s@paxterrasolutions.com) TestON is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or ...
30.747994
154
0.566663
2,168
19,156
4.931734
0.215406
0.017209
0.008979
0.010475
0.214085
0.191826
0.15217
0.117565
0.111205
0.08642
0
0.015188
0.346941
19,156
622
155
30.797428
0.839488
0.001044
0
0.350725
0
0.005797
0.146435
0.007567
0
0
0
0
0
0
null
null
0.008696
0.043478
null
null
0.113043
0
0
0
null
0
0
0
0
0
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
b3a1c3db40f5244465cb602fae93600b534f685b
2,114
py
Python
demurage/models.py
getmobilehq/mykontainer-backend
20ee12f056ce7be75a71b02bcf2b055fe6643a36
[ "Unlicense", "MIT" ]
null
null
null
demurage/models.py
getmobilehq/mykontainer-backend
20ee12f056ce7be75a71b02bcf2b055fe6643a36
[ "Unlicense", "MIT" ]
null
null
null
demurage/models.py
getmobilehq/mykontainer-backend
20ee12f056ce7be75a71b02bcf2b055fe6643a36
[ "Unlicense", "MIT" ]
null
null
null
import uuid from django.db import models from django.forms import model_to_dict # Create your models here. class DemurageSize(models.Model): SIZES = (('Dry 20 ft', 'Dry 20 ft'), ('Reefer 20 ft', 'Reefer 20 ft'), ('Special 20 ft', 'Special 20 ft'), ('Dry 40 ft', 'Dry 40 ft'),...
34.655738
116
0.644276
265
2,114
4.973585
0.324528
0.042489
0.025038
0.038695
0.519727
0.376328
0.327769
0.280728
0.280728
0.280728
0
0.025231
0.231315
2,114
61
117
34.655738
0.785846
0.011353
0
0.325581
0
0
0.141695
0.010053
0
0
0
0
0
1
0.116279
false
0
0.093023
0.069767
0.674419
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
b3a523c6c5b2b2de06b99707a12d213af4a6126b
826
py
Python
tests/test_cdutil_selectRegion.py
CDAT/cdutil
314c565bc2e0d2c15d233320dc4c5496a602479a
[ "BSD-3-Clause" ]
null
null
null
tests/test_cdutil_selectRegion.py
CDAT/cdutil
314c565bc2e0d2c15d233320dc4c5496a602479a
[ "BSD-3-Clause" ]
14
2018-04-09T13:10:12.000Z
2020-09-27T08:02:05.000Z
tests/test_cdutil_selectRegion.py
CDAT/cdutil
314c565bc2e0d2c15d233320dc4c5496a602479a
[ "BSD-3-Clause" ]
1
2021-02-08T22:23:15.000Z
2021-02-08T22:23:15.000Z
import cdutil import cdat_info import cdms2 import cdms2,cdutil,sys,MV2,numpy,os,cdat_info import unittest import numpy import tempfile class CDUTIL(unittest.TestCase): def testRegions(self): regionNA = cdutil.region.domain(latitude=(-50.,50.,'ccb')) f=cdms2.open(cdat_info.get_sampledata_path()+'...
29.5
85
0.571429
92
826
4.98913
0.576087
0.052288
0.061002
0.117647
0.143791
0
0
0
0
0
0
0.051095
0.170702
826
27
86
30.592593
0.618978
0.205811
0
0
0
0
0.029186
0
0
0
0
0
0.117647
1
0.058824
false
0
0.411765
0
0.529412
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
b3a56c68423c02ff2012de8e58d1c574bb24bd49
500
py
Python
assemblyline/odm/models/submission_tree.py
malvidin/assemblyline-base
6e7de0c15fbca2cf586e33f04df7d3717bd0c0b5
[ "MIT" ]
39
2020-05-06T02:10:25.000Z
2022-02-22T00:33:52.000Z
assemblyline/odm/models/submission_tree.py
malvidin/assemblyline-base
6e7de0c15fbca2cf586e33f04df7d3717bd0c0b5
[ "MIT" ]
186
2020-04-17T10:38:47.000Z
2022-03-30T13:20:52.000Z
assemblyline/odm/models/submission_tree.py
malvidin/assemblyline-base
6e7de0c15fbca2cf586e33f04df7d3717bd0c0b5
[ "MIT" ]
22
2020-04-22T16:00:38.000Z
2022-02-09T03:06:55.000Z
from assemblyline import odm from assemblyline.common import forge Classification = forge.get_classification() @odm.model(index=True, store=False) class SubmissionTree(odm.Model): classification = odm.Classification(default=Classification.UNRESTRICTED) # Classification of the cache filtered = odm.Boolean(def...
41.666667
114
0.704
57
500
6.140351
0.54386
0.091429
0
0
0
0
0
0
0
0
0
0
0.216
500
11
115
45.454545
0.892857
0.17
0
0
0
0
0
0
0
0
0
0
0
1
0
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
b3bec88a0854761084641e926089b24ad33b6040
1,274
py
Python
Betsy/Betsy/modules/extract_platform_annotations.py
jefftc/changlab
11da8c415afefcba0b0216238387c75aeb3a56ac
[ "MIT" ]
9
2017-01-13T02:38:41.000Z
2021-04-08T00:44:39.000Z
Betsy/Betsy/modules/extract_platform_annotations.py
jefftc/changlab
11da8c415afefcba0b0216238387c75aeb3a56ac
[ "MIT" ]
null
null
null
Betsy/Betsy/modules/extract_platform_annotations.py
jefftc/changlab
11da8c415afefcba0b0216238387c75aeb3a56ac
[ "MIT" ]
4
2017-01-05T16:25:25.000Z
2019-12-12T20:07:38.000Z
from Module import AbstractModule class Module(AbstractModule): def __init__(self): AbstractModule.__init__(self) def run( self, network, in_data, out_attributes, user_options, num_cores, outfile): from genomicode import filelib outhandle = open(outfile, 'w') ...
27.695652
72
0.635793
142
1,274
5.485915
0.457746
0.08344
0.112965
0.092426
0
0
0
0
0
0
0
0.004362
0.28022
1,274
45
73
28.311111
0.845147
0.083987
0
0.125
0
0
0.074742
0.018041
0
0
0
0
0.0625
0
null
null
0
0.09375
null
null
0.03125
0
0
0
null
0
0
0
0
0
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
b3c4379dfd0b0f540ecc4284db7508263aee416b
251
py
Python
lessons/2021-02-20/__name_VS__main__/forecast.py
arturskarklins/sda
ce418b519c701ee9aff50d48824fa94f3f246b1e
[ "MIT" ]
null
null
null
lessons/2021-02-20/__name_VS__main__/forecast.py
arturskarklins/sda
ce418b519c701ee9aff50d48824fa94f3f246b1e
[ "MIT" ]
null
null
null
lessons/2021-02-20/__name_VS__main__/forecast.py
arturskarklins/sda
ce418b519c701ee9aff50d48824fa94f3f246b1e
[ "MIT" ]
null
null
null
import sys import weather def main(): print(f'Today is {weather.foggy()} and {weather.rain()}') if __name__ == '__main__': main() else: print('Error: this module can be executed only as script / stand-alone component') sys.exit(1)
17.928571
86
0.661355
36
251
4.388889
0.805556
0
0
0
0
0
0
0
0
0
0
0.004975
0.199203
251
13
87
19.307692
0.781095
0
0
0
0
0
0.50996
0
0
0
0
0
0
1
0.111111
true
0
0.222222
0
0.333333
0.222222
0
0
0
null
0
0
0
0
0
0
0
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
b3c8972532ba816ca9c6f825a84a8cdd1fec9a70
23,897
py
Python
restapi/resources/endpoints.py
beetleman/http-api
6839e57543cf492e1f281ca9f5604c0058a17f81
[ "MIT" ]
null
null
null
restapi/resources/endpoints.py
beetleman/http-api
6839e57543cf492e1f281ca9f5604c0058a17f81
[ "MIT" ]
null
null
null
restapi/resources/endpoints.py
beetleman/http-api
6839e57543cf492e1f281ca9f5604c0058a17f81
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Base endpoints: authorization, status, checks. And a Farm: How to create endpoints into REST service. """ import pytz import jwt import os from datetime import datetime, timedelta from flask import jsonify, current_app from restapi import decorators as decorate from restapi.exceptions im...
33.752825
79
0.57706
2,666
23,897
5.010878
0.16054
0.034134
0.02096
0.025451
0.36889
0.30631
0.238042
0.227562
0.188562
0.176735
0
0.001663
0.320793
23,897
707
80
33.800566
0.821391
0.159392
0
0.324706
0
0
0.098587
0.001182
0
0
0
0.001414
0
1
0.042353
false
0.108235
0.047059
0.007059
0.181176
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
b3cbe5507a6e61f613c73fad3b004306fb082674
4,004
py
Python
recipes/Python/577218_Sphere/recipe-577218.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/577218_Sphere/recipe-577218.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/577218_Sphere/recipe-577218.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
#On the name of ALLAH and may the blessing and peace of Allah #be upon the Messenger of Allah Mohamed Salla Allahu Aliahi Wassalam. #Author : Fouad Teniou #Date : 06/05/10 #version :2.6 """ Sphere class represents a geometric sphere and a completing_the_squares function is used for the purpose, while an utility _chec...
35.75
109
0.561938
689
4,004
3.088534
0.223512
0.015038
0.029605
0.013158
0.220865
0.194549
0.128759
0.104323
0.104323
0.104323
0
0.071866
0.266733
4,004
111
110
36.072072
0.652929
0.194805
0
0.039216
0
0.078431
0.129168
0
0
0
0
0
0
0
null
null
0
0.019608
null
null
0.137255
0
0
0
null
0
0
0
0
0
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
b3d3dae599cbac67102e98eebaaac949a6ed3aab
927
py
Python
app_config.py
huhansan666666/flask_reddit
78bdc80c741aefcdde451c93d96de7d009e9f300
[ "MIT" ]
461
2015-01-04T11:29:06.000Z
2022-03-18T15:50:21.000Z
app_config.py
huhansan666666/flask_reddit
78bdc80c741aefcdde451c93d96de7d009e9f300
[ "MIT" ]
9
2015-05-17T18:18:20.000Z
2021-07-03T21:12:26.000Z
app_config.py
huhansan666666/flask_reddit
78bdc80c741aefcdde451c93d96de7d009e9f300
[ "MIT" ]
126
2015-01-17T21:18:34.000Z
2022-03-16T00:31:50.000Z
#!/usr/bin/env python2.7 """ app_config.py will be storing all the module configs. Here the db uses mysql. """ import os _basedir = os.path.abspath(os.path.dirname(__file__)) DEBUG = False ADMINS = frozenset(['your_email_here@email.com']) SECRET_KEY = '' SQLALCHEMY_DATABASE_URI = 'DATABASE://USERNAME:PASSWORD@local...
26.485714
79
0.747573
143
927
4.622378
0.657343
0.018154
0
0
0
0
0
0
0
0
0
0.003727
0.131607
927
34
80
27.264706
0.817391
0.344121
0
0
0
0
0.328859
0.171141
0
0
0
0
0
1
0
false
0.058824
0.058824
0
0.058824
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
b3da73076764001bd2d6fa8b75c49955c849449f
3,518
py
Python
common/utils.py
threathunterX/nebula_web
2e32e6e7b225e0bd87ee8c847c22862f12c51bb1
[ "Apache-2.0" ]
2
2019-05-01T09:42:32.000Z
2019-05-31T01:08:37.000Z
common/utils.py
threathunterX/nebula_web
2e32e6e7b225e0bd87ee8c847c22862f12c51bb1
[ "Apache-2.0" ]
1
2021-06-01T23:30:04.000Z
2021-06-01T23:30:04.000Z
common/utils.py
threathunterX/nebula_web
2e32e6e7b225e0bd87ee8c847c22862f12c51bb1
[ "Apache-2.0" ]
5
2019-05-14T09:30:12.000Z
2020-09-29T04:57:26.000Z
# -*- coding: utf-8 -*- import time from os import path as opath from datetime import datetime import jinja2 executor = None # ThreadExecutor class Storage(dict): """ A Storage object is like a dictionary except `obj.foo` can be used in addition to `obj['foo']`. >>> o = storage(a=1) >>>...
25.492754
167
0.530699
469
3,518
3.84435
0.28145
0.062119
0.048808
0.026622
0.262341
0.2335
0.155297
0.14975
0.14975
0.099834
0
0.018822
0.305287
3,518
137
168
25.678832
0.718903
0.02075
0
0.166667
0
0.033333
0.064545
0
0
0
0
0
0.033333
0
null
null
0
0.066667
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
b3de7fe84f135a6f425c9a048cf53ab9b307004a
5,328
py
Python
App/Login/views.py
msamunetogetoge/BookRecommendationApp
8d77c9f72626650d3e55bc5ddc76b7606918abd3
[ "MIT" ]
null
null
null
App/Login/views.py
msamunetogetoge/BookRecommendationApp
8d77c9f72626650d3e55bc5ddc76b7606918abd3
[ "MIT" ]
1
2021-12-28T14:33:51.000Z
2021-12-28T14:33:51.000Z
App/Login/views.py
msamunetogetoge/BookRecommendationApp
8d77c9f72626650d3e55bc5ddc76b7606918abd3
[ "MIT" ]
null
null
null
import inspect from django.http.response import JsonResponse from django.shortcuts import render, redirect from django.contrib.auth import login, logout from django.http import HttpResponseBadRequest from Login.models import M_User, T_Attr from utils.make_display_data import make_user_config_data from utils.nee...
33.721519
118
0.583521
564
5,328
5.404255
0.225177
0.054134
0.08727
0.037402
0.379921
0.295932
0.106299
0.074803
0.040026
0.040026
0
0.000796
0.292605
5,328
157
119
33.936306
0.807907
0.055368
0
0.434783
0
0.008696
0.118822
0.025026
0
0
0
0
0
1
0.078261
false
0.086957
0.078261
0
0.356522
0.008696
0
0
0
null
0
0
0
0
0
0
0
0
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
b3e1c1a27a2de3d3435e6e5854eb3084f231ebba
209
py
Python
models/db.py
hendrapaiton/mandalika
6ecbde9e3582d6532006e58531d5fc52feaa8854
[ "MIT" ]
1
2020-02-19T07:45:53.000Z
2020-02-19T07:45:53.000Z
models/db.py
hendrapaiton/mandalika
6ecbde9e3582d6532006e58531d5fc52feaa8854
[ "MIT" ]
1
2020-02-20T05:35:49.000Z
2020-02-26T08:14:41.000Z
models/db.py
hendrapaiton/mandalika
6ecbde9e3582d6532006e58531d5fc52feaa8854
[ "MIT" ]
2
2020-02-25T16:46:39.000Z
2020-02-26T09:02:06.000Z
# Import from system libraries from flask_mongoengine import MongoEngine # MongoEngine load to db variable db = MongoEngine() # Function to initialize db to app def initialize_db(app): db.init_app(app)
19
41
0.77512
30
209
5.3
0.5
0.150943
0
0
0
0
0
0
0
0
0
0
0.167464
209
10
42
20.9
0.913793
0.444976
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b3e65238e773dd94c559ce96a5bcb471cc4d6e89
422
py
Python
projetos em python/exercicio43.py
gustavo621/projetos-em-python
4797ae7226a2c4a628dd0cd746e7bc3050b72f04
[ "MIT" ]
null
null
null
projetos em python/exercicio43.py
gustavo621/projetos-em-python
4797ae7226a2c4a628dd0cd746e7bc3050b72f04
[ "MIT" ]
null
null
null
projetos em python/exercicio43.py
gustavo621/projetos-em-python
4797ae7226a2c4a628dd0cd746e7bc3050b72f04
[ "MIT" ]
null
null
null
peso = float(input("digite aqui o seu peso(kg): ")) altura = float(input("digite sua altura: ")) imc = peso/altura**2 print("seu imc é {:3.2f}".format(imc)) if imc < 18.5: print("você está abaixo do peso") elif 18.5 <= imc < 25: print("parabéns, você está no peso ideal!") elif 25 <= imc < 30: print("sobrepe...
30.142857
51
0.625592
69
422
3.826087
0.507246
0.090909
0.121212
0
0
0
0
0
0
0
0
0.061947
0.196682
422
14
52
30.142857
0.716814
0
0
0
0
0
0.387707
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
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
b3f279c9706dfb58560cef8355de82eaf7ba0347
297
py
Python
rcommander_plain/src/rcommander_plain/rcommander_default.py
rummanwaqar/rcommander-core
7106d5868db76c47dea6ad11118a54351a8bd390
[ "BSD-3-Clause" ]
4
2015-04-08T09:57:43.000Z
2021-08-12T01:44:37.000Z
rcommander_plain/src/rcommander_plain/rcommander_default.py
jhu-lcsr-forks/rcommander-core
1a0350e9b93687eff6a4407f72b5250be5f56919
[ "BSD-3-Clause" ]
1
2015-03-12T09:10:27.000Z
2015-03-12T09:10:27.000Z
rcommander_plain/src/rcommander_plain/rcommander_default.py
jhu-lcsr-forks/rcommander-core
1a0350e9b93687eff6a4407f72b5250be5f56919
[ "BSD-3-Clause" ]
3
2015-03-12T10:59:17.000Z
2021-06-21T02:13:57.000Z
#!/usr/bin/python import roslib; roslib.load_manifest('rcommander_plain') import rcommander.rcommander as rc import rospy import tf rospy.init_node('rcommander_plain', anonymous=True) robot = None tf = tf.TransformListener() rc.run_rcommander(['default', 'default_frame', 'plain'], robot, tf)
27
67
0.771044
40
297
5.575
0.575
0.134529
0
0
0
0
0
0
0
0
0
0
0.097643
297
10
68
29.7
0.83209
0.053872
0
0
0
0
0.203571
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
b3f2b403f59054f7afeaf35e32437428204be41f
750
py
Python
python/FastAPI examples/Streaming response example/api.py
andrewguest/code-snippets
cb4bb8c2cf651cd86e3280348e4a4cfb88ad0127
[ "MIT" ]
1
2020-09-13T01:40:19.000Z
2020-09-13T01:40:19.000Z
python/FastAPI examples/Streaming response example/api.py
andrewguest/code-snippets
cb4bb8c2cf651cd86e3280348e4a4cfb88ad0127
[ "MIT" ]
6
2020-11-16T04:11:37.000Z
2021-07-05T01:39:58.000Z
python/FastAPI examples/Streaming response example/api.py
andrewguest/code-snippets
cb4bb8c2cf651cd86e3280348e4a4cfb88ad0127
[ "MIT" ]
null
null
null
import io from fastapi import FastAPI from fastapi.responses import StreamingResponse from fastapi.staticfiles import StaticFiles app = FastAPI() # create a 'static files' directory # create a '/static' prefix for all files # serve files from the 'media/' directory under the '/static/' route # /Big_Buck_Bunny_1080...
32.608696
76
0.744
109
750
5.027523
0.477064
0.060219
0.065693
0.093066
0.109489
0
0
0
0
0
0
0.018809
0.149333
750
22
77
34.090909
0.840125
0.478667
0
0
0
0
0.156658
0.078329
0
0
0
0
0
1
0
false
0
0.4
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
b3f8ad7289e91960645d95f4dc98ae0f62e280af
879
py
Python
components/elm/src/external_models/sbetr/3rd-party/pfunit/bin/mods/pre/pre.py
meng630/GMD_E3SM_SCM
990f84598b79f9b4763c3a825a7d25f4e0f5a565
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
components/elm/src/external_models/sbetr/3rd-party/pfunit/bin/mods/pre/pre.py
meng630/GMD_E3SM_SCM
990f84598b79f9b4763c3a825a7d25f4e0f5a565
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
components/elm/src/external_models/sbetr/3rd-party/pfunit/bin/mods/pre/pre.py
meng630/GMD_E3SM_SCM
990f84598b79f9b4763c3a825a7d25f4e0f5a565
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
1
2021-02-05T17:50:01.000Z
2021-02-05T17:50:01.000Z
#!/usr/bin/env python # python2 - Deprecated in python 2.7+ import imp try: imp.find_module('argparse') found = True except ImportError: found = False # Preferred for python 2.7+, python 3 # import importlib # argparse_loader = importlib.find_loader('argparse') # found = argparse_loader is not None if fo...
21.975
94
0.695108
115
879
5.165217
0.504348
0.010101
0.026936
0
0
0
0
0
0
0
0
0.011204
0.187713
879
39
95
22.538462
0.820728
0.224118
0
0
0
0
0.236173
0
0
0
0
0
0
0
null
null
0
0.227273
null
null
0.136364
0
0
0
null
0
0
0
0
0
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
b3f8ba192dc5c8e174c5295b52960f4575d8f9a8
614
py
Python
sepaxml/validation.py
CaptainConsternant/python-sepaxml
da33e3b8ccf02657f6bb351c4515f820d60eb847
[ "MIT" ]
53
2018-07-24T17:01:47.000Z
2022-03-25T10:59:04.000Z
sepaxml/validation.py
CaptainConsternant/python-sepaxml
da33e3b8ccf02657f6bb351c4515f820d60eb847
[ "MIT" ]
30
2018-08-27T10:11:07.000Z
2022-03-16T21:40:43.000Z
sepaxml/validation.py
CaptainConsternant/python-sepaxml
da33e3b8ccf02657f6bb351c4515f820d60eb847
[ "MIT" ]
29
2018-09-04T09:50:32.000Z
2022-02-16T14:32:11.000Z
import os class ValidationError(Exception): pass def try_valid_xml(xmlout, schema): import xmlschema # xmlschema does some weird monkeypatching in etree, if we import it globally, things fail try: my_schema = xmlschema.XMLSchema(os.path.join(os.path.dirname(__file__), 'schemas', schema + '.xsd'...
32.315789
112
0.690554
78
614
5.333333
0.75641
0.086538
0
0
0
0
0
0
0
0
0
0
0.232899
614
18
113
34.111111
0.883227
0.143322
0
0
0
0
0.242366
0
0
0
0
0
0
1
0.076923
false
0.076923
0.153846
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
1
0
0
0
0
0
1
b3f9c52d8b37ed26129e59583efe3104f43e903e
1,159
py
Python
qolsys_client/mqtt_client.py
mzac/qolsys_client
06a37ccc230d6e939d3448a6b53f3615007f500e
[ "MIT" ]
7
2021-03-13T23:15:26.000Z
2021-12-09T05:15:35.000Z
qolsys_client/mqtt_client.py
mzac/qolsys_client
06a37ccc230d6e939d3448a6b53f3615007f500e
[ "MIT" ]
2
2021-03-13T15:22:46.000Z
2021-09-14T15:30:48.000Z
qolsys_client/mqtt_client.py
mzac/qolsys_client
06a37ccc230d6e939d3448a6b53f3615007f500e
[ "MIT" ]
3
2021-03-02T14:18:19.000Z
2021-12-17T15:26:57.000Z
import paho.mqtt.client as pmqtt import paho.mqtt.subscribe as smqtt import json import time import logging class mqtt: def __init__(self, broker: str, username: str, password: str, port=1883): self.client = "" self.broker = broker self.port = port self.username = username s...
31.324324
77
0.616048
138
1,159
5.137681
0.405797
0.084626
0.039492
0
0
0
0
0
0
0
0
0.007092
0.27006
1,159
36
78
32.194444
0.830969
0.056946
0
0
0
0
0.081726
0
0
0
0
0
0
1
0.142857
false
0.071429
0.178571
0
0.357143
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b3fd263fed7293c9fdff64e5e725c1330f23d8f8
716
py
Python
sstcam_simulation/data/__init__.py
sstcam/sstcam-simulation
3fb67ba64329c201d3995971e5f377c5ec71b18e
[ "BSD-3-Clause" ]
1
2019-12-23T23:26:36.000Z
2019-12-23T23:26:36.000Z
sstcam_simulation/data/__init__.py
cta-chec/sstCASSIM
75bb863675991f1a36b7d430f9253ae09416f33e
[ "BSD-3-Clause" ]
6
2020-09-18T10:59:41.000Z
2022-03-15T11:01:49.000Z
sstcam_simulation/data/__init__.py
cta-chec/sstCASSIM
75bb863675991f1a36b7d430f9253ae09416f33e
[ "BSD-3-Clause" ]
2
2020-04-14T08:01:01.000Z
2021-11-30T12:11:17.000Z
from os.path import join, dirname from os import environ import requests def get_data(path): return join(dirname(__file__), path) def download_camera_efficiency_data(): """ Download the camera efficiency data from the mpi-hd CTA webserver Obtains KONRAD_USERNAME and KONRAD_PASSWORD from the environ...
26.518519
69
0.694134
97
716
4.85567
0.546392
0.101911
0.127389
0.118896
0
0
0
0
0
0
0
0.005181
0.191341
716
27
70
26.518519
0.80829
0.182961
0
0
0
0.0625
0.270318
0.111307
0
0
0
0
0
1
0.125
false
0.0625
0.1875
0.0625
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b603ee71473cefebe35059689ad76c19b6ccfdad
10,388
py
Python
gui_template.py
Llona/AJ-RamDisk
fd10134a916277c383bbc28f4f6de3a3f41ea306
[ "Apache-2.0" ]
null
null
null
gui_template.py
Llona/AJ-RamDisk
fd10134a916277c383bbc28f4f6de3a3f41ea306
[ "Apache-2.0" ]
null
null
null
gui_template.py
Llona/AJ-RamDisk
fd10134a916277c383bbc28f4f6de3a3f41ea306
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ########################################################################### ## Python code generated with wxFormBuilder (version Oct 26 2018) ## http://www.wxformbuilder.org/ ## ## PLEASE DO *NOT* EDIT THIS FILE! ########################################################################### impor...
34.059016
182
0.675587
1,466
10,388
4.633015
0.122783
0.02871
0.036072
0.128092
0.617638
0.58083
0.447438
0.392668
0.302856
0.249853
0
0.04687
0.13737
10,388
304
183
34.171053
0.711081
0.034463
0
0.160256
1
0
0.014456
0
0
0
0
0
0
1
0.083333
false
0.019231
0.012821
0
0.115385
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
b606e1e55893c8d300241011639561edab091337
848
py
Python
leetcode/python/41.first-missing-positive.py
phiysng/leetcode
280e8b1a0b45233deb2262ceec85b8174e9b2ced
[ "BSD-3-Clause" ]
3
2019-04-12T19:12:55.000Z
2020-05-29T07:55:16.000Z
leetcode/python/41.first-missing-positive.py
phiysng/leetcode
280e8b1a0b45233deb2262ceec85b8174e9b2ced
[ "BSD-3-Clause" ]
null
null
null
leetcode/python/41.first-missing-positive.py
phiysng/leetcode
280e8b1a0b45233deb2262ceec85b8174e9b2ced
[ "BSD-3-Clause" ]
null
null
null
from typing import List class Solution: def firstMissingPositive(self, nums: List[int]) -> int: for i in range(len(nums)): while nums[i] > 0 and nums[i] <= len(nums) and nums[nums[i] - 1] != nums[i]: # nums[i] , nums[nums[i] - 1] = nums[nums[i] - 1] , nums[i] """...
38.545455
145
0.536557
114
848
3.991228
0.403509
0.120879
0.052747
0.065934
0.167033
0.145055
0
0
0
0
0
0.055077
0.314858
848
21
146
40.380952
0.728055
0.067217
0
0.166667
0
0
0
0
0
0
0
0.047619
0
1
0.166667
false
0
0.083333
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
1
0
0
0
0
0
0
0
0
0
0
1
b609958747ac35a12ead57299e5da2470e50e6e0
10,932
py
Python
lasp_reu_python_tutorial_day1.py
michaelaye/LASP-REU-Python
9782a70ae289dea08e4836226a2ed650fa3616a4
[ "0BSD" ]
1
2019-06-02T21:23:55.000Z
2019-06-02T21:23:55.000Z
lasp_reu_python_tutorial_day1.py
michaelaye/LASP-REU-Python
9782a70ae289dea08e4836226a2ed650fa3616a4
[ "0BSD" ]
null
null
null
lasp_reu_python_tutorial_day1.py
michaelaye/LASP-REU-Python
9782a70ae289dea08e4836226a2ed650fa3616a4
[ "0BSD" ]
null
null
null
# coding: utf-8 # # Using Python to investigate data # ![Python overview](python.png "Python") # ![Standard library](standard_lib.png "Standard library") # # MANY important non-standard packages # ![Science stack](science_stack.jpg "Science stack") # ![ecosytem](python_ecosystem.png "Ecosytem") # ## Which Pytho...
25.016018
239
0.685236
1,703
10,932
4.390487
0.331767
0.002407
0.002675
0.003745
0.063127
0.049084
0.040658
0.029156
0.023271
0.013642
0
0.019235
0.201061
10,932
436
240
25.073395
0.836845
0.805982
0
0.175676
0
0
0.121245
0
0
0
0
0
0
1
0.013514
false
0
0
0
0.013514
0.337838
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
37377a088121681eb9ab16487d0e8170832896b5
728
py
Python
mobile_version_app/migrations/0001_initial.py
SakyaSumedh/mobile_version_app
60e1d7ace0e591e45b7524d2e711b09864456c66
[ "MIT" ]
5
2019-03-30T00:28:10.000Z
2021-02-24T06:00:33.000Z
mobile_version_app/migrations/0001_initial.py
SakyaSumedh/mobile_version_app
60e1d7ace0e591e45b7524d2e711b09864456c66
[ "MIT" ]
null
null
null
mobile_version_app/migrations/0001_initial.py
SakyaSumedh/mobile_version_app
60e1d7ace0e591e45b7524d2e711b09864456c66
[ "MIT" ]
null
null
null
# Generated by Django 2.1.7 on 2019-03-01 08:29 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='MobileVersion', fields=[ ('id', models.Auto...
29.12
114
0.570055
74
728
5.486486
0.716216
0.073892
0
0
0
0
0
0
0
0
0
0.038314
0.282967
728
24
115
30.333333
0.739464
0.061813
0
0
1
0
0.108664
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.294118
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
373be89ad46d6108290bdf05945d8687ace655ea
578
py
Python
programs/pgm06_02.py
danielsunzhongyuan/python_practice
79bc88db1c52ee2f5607f6f9fec1bbacea2804ff
[ "Apache-2.0" ]
null
null
null
programs/pgm06_02.py
danielsunzhongyuan/python_practice
79bc88db1c52ee2f5607f6f9fec1bbacea2804ff
[ "Apache-2.0" ]
null
null
null
programs/pgm06_02.py
danielsunzhongyuan/python_practice
79bc88db1c52ee2f5607f6f9fec1bbacea2804ff
[ "Apache-2.0" ]
null
null
null
# # This file contains the Python code from Program 6.2 of # "Data Structures and Algorithms # with Object-Oriented Design Patterns in Python" # by Bruno R. Preiss. # # Copyright (c) 2003 by Bruno R. Preiss, P.Eng. All rights reserved. # # http://www.brpreiss.com/books/opus7/programs/pgm06_02.txt # class StackAsArray(...
25.130435
69
0.647059
79
578
4.556962
0.734177
0.075
0.044444
0.077778
0
0
0
0
0
0
0
0.031603
0.233564
578
22
70
26.272727
0.781038
0.489619
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
373d8ffa8cd8a208dc1ecdcef9bb1d9fdb4cdc63
5,392
py
Python
tests/app/dao/test_inbound_sms_keyword_dao.py
GouvQC/notification-api
e865b8b92a9a45c7cee006f427dcf77d71b09d6d
[ "MIT" ]
1
2021-08-13T13:46:04.000Z
2021-08-13T13:46:04.000Z
tests/app/dao/test_inbound_sms_keyword_dao.py
GouvQC/notification-api
e865b8b92a9a45c7cee006f427dcf77d71b09d6d
[ "MIT" ]
null
null
null
tests/app/dao/test_inbound_sms_keyword_dao.py
GouvQC/notification-api
e865b8b92a9a45c7cee006f427dcf77d71b09d6d
[ "MIT" ]
1
2021-09-29T18:25:48.000Z
2021-09-29T18:25:48.000Z
from datetime import datetime from itertools import product from freezegun import freeze_time from app.dao.inbound_sms_keyword_dao import ( dao_get_inbound_sms_keyword_for_service, dao_count_inbound_sms_keyword_for_service, delete_inbound_sms_keyword_older_than_retention, dao_get_inbound_sms_keyword_by...
40.848485
119
0.778375
813
5,392
4.719557
0.145141
0.122492
0.203805
0.101903
0.704978
0.652854
0.602293
0.523326
0.442533
0.391191
0
0.036773
0.142619
5,392
131
120
41.160305
0.793208
0.063056
0
0.233333
0
0
0.029359
0
0
0
0
0
0.211111
1
0.1
false
0
0.055556
0
0.155556
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3740ffa59541196ccafbe435981d227f5ce5264c
1,237
py
Python
deeplearning-holography/deeplearning-cgh/config.py
longqianh/3d-holography
5102d62abebf426f4d8c54ba2a9118f55ba409f1
[ "Apache-2.0" ]
4
2020-09-09T11:38:38.000Z
2022-01-12T09:23:25.000Z
deeplearning-holography/deeplearning-cgh/config.py
longqianh/3d-holography
5102d62abebf426f4d8c54ba2a9118f55ba409f1
[ "Apache-2.0" ]
null
null
null
deeplearning-holography/deeplearning-cgh/config.py
longqianh/3d-holography
5102d62abebf426f4d8c54ba2a9118f55ba409f1
[ "Apache-2.0" ]
1
2022-03-11T21:32:55.000Z
2022-03-11T21:32:55.000Z
class DefaultConfig(object): env = 'default' # visdom 环境 model = 'SimpleCGH' # 使用的模型,名字必须与models/__init__.py中的名字一致 train_data_root = './data/training_set/' # 训练集存放路径 # test_data_root = './data/test1' # 测试集存放路径 load_model_path =None# 'checkpoints/model.pth' # 加载预训练的模型的路径,为None代表不加载 batch_size = 10...
33.432432
74
0.592563
161
1,237
4.347826
0.658385
0.008571
0.034286
0.02
0
0
0
0
0
0
0
0.017281
0.298302
1,237
37
75
33.432432
0.789171
0.36055
0
0
0
0
0.109772
0
0
0
0
0
0
1
0.045455
false
0
0
0
0.636364
0.136364
0
0
0
null
0
0
0
0
0
0
0
0
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
37434be03c234502464fa07f00078efde0cbc055
3,341
py
Python
ddpg/pendulum_ddpg.py
Jash-2000/reinforcement_learning
84fdbfc98671a3503206f5717b83188687f576b4
[ "MIT" ]
97
2017-02-10T05:35:46.000Z
2018-09-17T05:39:13.000Z
ddpg/pendulum_ddpg.py
zstbackcourt/reinforcement_learning
bc173a44e6ac2e14c05774b6c1e3e0aa1b5e53aa
[ "MIT" ]
1
2017-04-04T11:09:35.000Z
2017-04-07T17:39:06.000Z
ddpg/pendulum_ddpg.py
zstbackcourt/reinforcement_learning
bc173a44e6ac2e14c05774b6c1e3e0aa1b5e53aa
[ "MIT" ]
29
2017-04-26T16:35:01.000Z
2018-08-04T15:27:19.000Z
# DDPG Pendulum-v0 example # --- # @author Yiren Lu # @email luyiren [at] seas [dot] upenn [dot] edu # # MIT License import tensorflow as tf import numpy as np import argparse from ddpg import DDPG from actor import ActorNetwork from critic import CriticNetwork from exp_replay import ExpReplay from exp_replay import S...
31.819048
111
0.717749
491
3,341
4.690428
0.319756
0.042987
0.024316
0.02475
0.226661
0.211898
0.170213
0.170213
0.170213
0.135475
0
0.019915
0.158336
3,341
104
112
32.125
0.799075
0.062556
0
0.12987
0
0
0.087444
0
0
0
0
0
0
0
null
null
0
0.168831
null
null
0.064935
0
0
0
null
0
0
0
0
0
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
37443aa1cc1589f7dc8de6f279b63ead1ee7f8e3
321
py
Python
output/output.py
kusuwada/libcollector
f2fa718242ba6724b38baa9545b2b8a977a6327b
[ "MIT" ]
3
2018-05-25T17:57:17.000Z
2020-07-22T14:54:19.000Z
output/output.py
kusuwada/libcollector
f2fa718242ba6724b38baa9545b2b8a977a6327b
[ "MIT" ]
1
2018-07-02T01:43:06.000Z
2018-07-02T01:43:06.000Z
output/output.py
kusuwada/libcollector
f2fa718242ba6724b38baa9545b2b8a977a6327b
[ "MIT" ]
1
2021-11-23T12:03:58.000Z
2021-11-23T12:03:58.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from abc import ABCMeta, abstractmethod class Output: __metaclass__ = ABCMeta def __init__(self, output, data=None, path=None): self.output = output self.data = data self.path = path @abstractmethod def write(self): pass...
17.833333
53
0.616822
38
321
5
0.605263
0.105263
0
0
0
0
0
0
0
0
0
0.008584
0.274143
321
17
54
18.882353
0.806867
0.133956
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.1
0.1
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
1
0
0
0
0
0
1
3746281ec9597b8247d7305d4834bd251356d4c4
3,397
py
Python
ApkParse.py
jiania/android-apk-parser
1a2456ba77b7b8dbf359b80308082eb11dbe51cf
[ "MIT" ]
4
2016-09-07T06:29:46.000Z
2020-12-06T21:16:08.000Z
ApkParse.py
kansuke3/android-apk-parser
1a2456ba77b7b8dbf359b80308082eb11dbe51cf
[ "MIT" ]
null
null
null
ApkParse.py
kansuke3/android-apk-parser
1a2456ba77b7b8dbf359b80308082eb11dbe51cf
[ "MIT" ]
5
2016-05-12T10:56:52.000Z
2022-02-28T03:34:49.000Z
#coding=utf-8 ''' Created on 2015年5月18日 @author: hzwangzhiwei ''' import os import re import zipfile class ApkParse(object): ''' DEMO parse = ApkParse(filename, aapt_path) parse = ApkParse(u'C:\\Users\\hzwangzhiwei\\Desktop\\mgapp.apk', 'D:/adt_20140321/sdk/build-tools/android-4.4.2/') print...
27.617886
118
0.569915
426
3,397
4.244131
0.204225
0.04646
0.066372
0.033186
0.381637
0.339602
0.28208
0.28208
0.28208
0.28208
0
0.015564
0.319105
3,397
123
119
27.617886
0.766105
0.003533
0
0.155844
0
0
0.065607
0.030098
0
0
0
0
0
0
null
null
0
0.038961
null
null
0.077922
0
0
0
null
0
0
0
0
0
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
3747e249f2f0fab7d6a17378faf8fe3f1e266017
1,515
py
Python
src/projects/models.py
bluesnailstw/flamingos
e13bf4ac4caa5fa50e45d7285877c64218c49723
[ "Apache-2.0" ]
null
null
null
src/projects/models.py
bluesnailstw/flamingos
e13bf4ac4caa5fa50e45d7285877c64218c49723
[ "Apache-2.0" ]
null
null
null
src/projects/models.py
bluesnailstw/flamingos
e13bf4ac4caa5fa50e45d7285877c64218c49723
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.contrib.postgres.fields import JSONField, ArrayField from users.models import User from django.contrib.auth.models import Group from django.conf import settings from asset.models import Host, HostGroup class Line(models.Model): name = models.CharField(max_length=255, uniqu...
43.285714
92
0.737954
204
1,515
5.284314
0.352941
0.032468
0.06679
0.111317
0.437848
0.393321
0.393321
0.339518
0.261596
0.261596
0
0.007087
0.161716
1,515
34
93
44.558824
0.841732
0
0
0.285714
0
0
0.019802
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0.071429
0.928571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
374e3d5eae52ec45d3d0aa0b516fde30efecab30
479
py
Python
annotation_app/migrations/0005_sentences_sent_review_comments.py
meisin/annotation_project
158e33b86eef05e6e11a09938149d6f9737eec2c
[ "MIT" ]
null
null
null
annotation_app/migrations/0005_sentences_sent_review_comments.py
meisin/annotation_project
158e33b86eef05e6e11a09938149d6f9737eec2c
[ "MIT" ]
null
null
null
annotation_app/migrations/0005_sentences_sent_review_comments.py
meisin/annotation_project
158e33b86eef05e6e11a09938149d6f9737eec2c
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-04-07 23:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('annotation_app', '0004_auto_20210408_0728'), ] operations = [ migrations.AddField( model_name='sentences', name='sen...
25.210526
121
0.647182
56
479
5.375
0.821429
0.093023
0
0
0
0
0
0
0
0
0
0.096953
0.246347
479
18
122
26.611111
0.736842
0.093946
0
0
1
0
0.25463
0.053241
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
374ed7abcd8d3672451b0692045a82424ed3c782
1,099
py
Python
tests/util/common_test.py
adrianmo/python-ecsclient
92a8128318eec8666234e35acd1f9c60612e7cb2
[ "Apache-2.0" ]
null
null
null
tests/util/common_test.py
adrianmo/python-ecsclient
92a8128318eec8666234e35acd1f9c60612e7cb2
[ "Apache-2.0" ]
null
null
null
tests/util/common_test.py
adrianmo/python-ecsclient
92a8128318eec8666234e35acd1f9c60612e7cb2
[ "Apache-2.0" ]
null
null
null
# Standard lib imports import unittest # Third party imports # None # Project level imports from ecsclient.util.common import get_formatted_time_string def suite(): test_suite = unittest.TestSuite() test_suite.addTest(WhenTestingCommonFunctions()) return test_suite class WhenTestingCommonFunctions(uni...
29.702703
78
0.693358
133
1,099
5.330827
0.398496
0.042313
0.090268
0.124118
0.448519
0.375176
0.375176
0.104372
0.104372
0
0
0.057715
0.22748
1,099
36
79
30.527778
0.777385
0.060965
0
0
0
0
0.038948
0
0
0
0
0
0.142857
1
0.238095
false
0
0.095238
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
1
0
0
0
0
0
0
0
1
375556fc736273aab94287bc5b8ad5976990a89a
9,135
py
Python
bokeh/server/server_backends.py
rothnic/bokeh
8da5e16b260a75caa8e7ef4caf215bb93dd784db
[ "BSD-3-Clause" ]
1
2017-08-02T23:12:03.000Z
2017-08-02T23:12:03.000Z
bokeh/server/server_backends.py
evidation-health/bokeh
2c580d93419033b962d36e3c46d7606cc2f24606
[ "BSD-3-Clause" ]
null
null
null
bokeh/server/server_backends.py
evidation-health/bokeh
2c580d93419033b962d36e3c46d7606cc2f24606
[ "BSD-3-Clause" ]
null
null
null
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2015, Continuum Analytics, Inc. All rights reserved. # # Powered by the Bokeh Development Team. # # The full license is in the file LICENSE.txt, distributed with this software. #----------------------------------------...
36.25
82
0.606787
958
9,135
5.626305
0.191023
0.031354
0.03525
0.048237
0.593135
0.534694
0.523748
0.50705
0.457143
0.424861
0
0.001406
0.29907
9,135
251
83
36.394422
0.840387
0.180296
0
0.652941
0
0
0.065028
0.003037
0
0
0
0
0
1
0.164706
false
0.064706
0.041176
0.029412
0.388235
0.041176
0
0
0
null
0
0
0
0
0
0
0
0
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
37588fe814a377010760617b5e5df1bfc0b955ca
18,819
py
Python
cascades.py
stmorse/cascades
1a324d3c3cef73ef2dc4b39a85e87619ff1e1a9b
[ "MIT" ]
1
2017-06-20T19:39:11.000Z
2017-06-20T19:39:11.000Z
cascades.py
stmorse/cascades
1a324d3c3cef73ef2dc4b39a85e87619ff1e1a9b
[ "MIT" ]
null
null
null
cascades.py
stmorse/cascades
1a324d3c3cef73ef2dc4b39a85e87619ff1e1a9b
[ "MIT" ]
null
null
null
########################## # Implementation of Persistent Cascades algorithm # described in [](https://stmorse.github.io/docs/BigD348.pdf) # For usage see README # For license see LICENSE # Author: Steven Morse # Email: steventmorse@gmail.com # License: MIT License (see LICENSE in top folder) ######################...
37.488048
103
0.512301
2,287
18,819
4.166594
0.198513
0.007871
0.016161
0.002938
0.140204
0.108301
0.087103
0.062756
0.052681
0.025606
0
0.024882
0.372124
18,819
501
104
37.562874
0.781567
0.11871
0
0.207018
0
0.003509
0.034215
0
0
0
0
0
0
0
null
null
0
0.02807
null
null
0.073684
0
0
0
null
0
0
0
0
0
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
375ef59af4a45513b49b5c732f93c74a54081fd0
190
py
Python
791A.py
blurryface92/CodeForces
f96e857bb770f72dafafc3620040bb08ba641bdb
[ "MIT" ]
1
2022-01-23T13:10:13.000Z
2022-01-23T13:10:13.000Z
791A.py
cocomo29/CodeForces
be3bb4c2a90ca3f707fb2536a1ee8ee2eecd6e24
[ "MIT" ]
null
null
null
791A.py
cocomo29/CodeForces
be3bb4c2a90ca3f707fb2536a1ee8ee2eecd6e24
[ "MIT" ]
2
2022-01-19T15:44:13.000Z
2022-01-21T16:25:42.000Z
n = input() split =n.split() limak = int(split[0]) bob = int(split[-1]) years = 0 while True: limak*=3 bob*=2 years+=1 if limak>bob: break print(years)
13.571429
22
0.521053
29
190
3.413793
0.551724
0.161616
0
0
0
0
0
0
0
0
0
0.046512
0.321053
190
13
23
14.615385
0.72093
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
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
375feec896ab5c93b595420e68f231ef528a61ec
1,924
py
Python
tools/homer/makeUCSCfile.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
1
2021-02-05T13:19:58.000Z
2021-02-05T13:19:58.000Z
tools/homer/makeUCSCfile.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
null
null
null
tools/homer/makeUCSCfile.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
null
null
null
#!/usr/bin/python CHUNK_SIZE = 2**20 #1mb import argparse, os, shutil, subprocess, sys, tempfile, shlex, vcf, pysam parser = argparse.ArgumentParser(description='') parser.add_argument ( '--input', dest='input', help='the bed file') parser.add_argument ( '-o', dest='output', help='output log file' ) def execute( cm...
29.6
93
0.584719
231
1,924
4.727273
0.393939
0.038462
0.031136
0.038462
0
0
0
0
0
0
0
0.003579
0.273909
1,924
64
94
30.0625
0.778096
0.051455
0
0.104167
0
0
0.098901
0
0
0
0
0
0
0
null
null
0
0.020833
null
null
0.020833
0
0
0
null
0
0
0
0
0
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
37664edb0b6ae722679e16423e154deacec6b930
180
py
Python
uwhpsc/codes/python/debugdemo1.py
philipwangdk/HPC
e2937016821701adb80ece5bf65d43d1860640c0
[ "MIT" ]
null
null
null
uwhpsc/codes/python/debugdemo1.py
philipwangdk/HPC
e2937016821701adb80ece5bf65d43d1860640c0
[ "MIT" ]
null
null
null
uwhpsc/codes/python/debugdemo1.py
philipwangdk/HPC
e2937016821701adb80ece5bf65d43d1860640c0
[ "MIT" ]
null
null
null
""" $UWHPSC/codes/python/debugdemo1.py Debugging demo using pdb. Original code. """ x = 3 y = -22. def f(z): x = z+10 return x y = f(x) print "x = ",x print "y = ",y
9.473684
40
0.555556
32
180
3.125
0.65625
0.12
0
0
0
0
0
0
0
0
0
0.045113
0.261111
180
18
41
10
0.706767
0
0
0
0
0
0.084211
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
376d77640ed98164aa86a1b0cb5f9e336123d5cb
216
py
Python
app.py
jschmidtnj/FizzBuzz
189a652d9c5fd00d06b2197b98d37bc4d77eb0b5
[ "MIT" ]
null
null
null
app.py
jschmidtnj/FizzBuzz
189a652d9c5fd00d06b2197b98d37bc4d77eb0b5
[ "MIT" ]
null
null
null
app.py
jschmidtnj/FizzBuzz
189a652d9c5fd00d06b2197b98d37bc4d77eb0b5
[ "MIT" ]
null
null
null
fizz = 3 buzz = 5 upto = 100 for n in range(1,(upto + 1)): if n % fizz == 0: if n % buzz == 0: print("FizzBuzz") else: print("Fizz") elif n % buzz == 0: print("Buzz") else: print(n)
15.428571
29
0.486111
35
216
3
0.485714
0.057143
0.114286
0.209524
0
0
0
0
0
0
0
0.06993
0.337963
216
13
30
16.615385
0.664336
0
0
0.153846
0
0
0.074074
0
0
0
0
0
0
1
0
false
0
0
0
0
0.307692
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
3774481ec0c6e1bbf4b08bcea4e8b200d57f80da
718
py
Python
era/apps/user/decorators.py
doctorzeb8/django-era
6fd433ef6081c5be295df22bcea70dc2642baaa4
[ "MIT" ]
1
2015-10-22T04:03:28.000Z
2015-10-22T04:03:28.000Z
era/apps/user/decorators.py
doctorzeb8/django-era
6fd433ef6081c5be295df22bcea70dc2642baaa4
[ "MIT" ]
3
2020-02-11T21:30:20.000Z
2021-06-10T17:24:30.000Z
era/apps/user/decorators.py
doctorzeb8/django-era
6fd433ef6081c5be295df22bcea70dc2642baaa4
[ "MIT" ]
null
null
null
from django.contrib import auth from django.contrib.auth.decorators import login_required from django.core.exceptions import PermissionDenied from django.shortcuts import redirect from era.utils.functools import unidec, omit @unidec def role_required(method, req, *args, **kw): if req.user.role in kw.get('allow', ...
29.916667
57
0.674095
93
718
5.139785
0.419355
0.083682
0.108787
0.087866
0.238494
0.238494
0.133891
0.133891
0
0
0
0
0.196379
718
23
58
31.217391
0.828423
0
0
0.105263
0
0
0.032033
0
0
0
0
0
0
1
0.105263
false
0
0.263158
0
0.578947
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
377565fcd36e875e1edd99ed27cfad86029944fe
4,306
py
Python
pageobjects/optionhandler.py
charleshamel73/robot-pageobjects
1a8e52c692e488bd1ccfb3d9f7ba76a72e830107
[ "MIT" ]
1
2017-01-12T06:35:31.000Z
2017-01-12T06:35:31.000Z
pageobjects/optionhandler.py
charleshamel73/robot-pageobjects
1a8e52c692e488bd1ccfb3d9f7ba76a72e830107
[ "MIT" ]
null
null
null
pageobjects/optionhandler.py
charleshamel73/robot-pageobjects
1a8e52c692e488bd1ccfb3d9f7ba76a72e830107
[ "MIT" ]
null
null
null
from _metaflyweight import MetaFlyWeight from context import Context from exceptions import VarFileImportErrorError from robot.libraries.BuiltIn import BuiltIn import os import re import imp class OptionHandler(object): """ This class is a Flyweight for the options Example: OptionHandler(LoginPage...
34.448
109
0.605667
522
4,306
4.706897
0.273946
0.034188
0.026862
0.039072
0.205942
0.150183
0.08954
0.062678
0
0
0
0.000673
0.310265
4,306
124
110
34.725806
0.826599
0.013702
0
0.173333
0
0
0.033655
0
0
0
0
0
0
0
null
null
0.013333
0.133333
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