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
dc99012a2167c1ff48ff539f9d2f828d3756c879
1,595
py
Python
src/ecr/data/templates/multitest/tools/judger.py
eXceediDeaL/edl-coderunner
52f7eedd0727b8a428b61640cd9fad33c083d0fc
[ "Apache-2.0" ]
1
2018-11-18T09:30:11.000Z
2018-11-18T09:30:11.000Z
src/ecr/data/templates/multitest/tools/judger.py
eXceediDeaL/edl-coderunner
52f7eedd0727b8a428b61640cd9fad33c083d0fc
[ "Apache-2.0" ]
6
2018-11-23T10:44:58.000Z
2018-12-04T03:44:00.000Z
src/ecr/data/templates/multitest/tools/judger.py
eXceediDeaL/edl-coderunner
52f7eedd0727b8a428b61640cd9fad33c083d0fc
[ "Apache-2.0" ]
null
null
null
import difflib import os from typing import Optional, Tuple from ecr.lib.judger import DataItem, JudgeResult, trimLineEnd, getFileContents, judged from ecr.lib.console import info, error, write dataPath = "./data" def judgeOne(std: DataItem, out: DataItem) -> Tuple[JudgeResult, Optional[str]]: diff = difflib.co...
30.09434
86
0.612539
189
1,595
5.121693
0.375661
0.030992
0.030992
0.055785
0.092975
0.070248
0.070248
0
0
0
0
0.005917
0.258307
1,595
52
87
30.673077
0.812342
0
0
0.159091
0
0
0.068339
0
0
0
0
0
0
1
0.045455
false
0.090909
0.113636
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
dcb156c7f93c414669cf16b1c57df986090044d0
5,982
py
Python
pysnmp/ASCEND-MIBIPXRT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/ASCEND-MIBIPXRT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/ASCEND-MIBIPXRT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ASCEND-MIBIPXRT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ASCEND-MIBIPXRT-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:11:35 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default...
124.625
841
0.79104
644
5,982
7.267081
0.208075
0.006838
0.009615
0.012821
0.346795
0.304487
0.170513
0.142308
0.142308
0.13953
0
0.05913
0.069876
5,982
47
842
127.276596
0.781991
0.0555
0
0
0
0
0.193051
0.053182
0
0
0
0
0
1
0
false
0.025641
0.179487
0
0.205128
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dcb5538900b4635d8f2d9fd501d014f47b9596a7
2,111
py
Python
benchmarks/array.py
fijal/jitpy
f32af5159bdfbcf8f5e65b4770381d9bf615b99a
[ "MIT" ]
126
2015-01-02T16:52:51.000Z
2021-04-08T08:55:18.000Z
benchmarks/array.py
Lguyogiro/jitpy
83616821a47f8d2d845f39e3cf3289b0deea21a1
[ "MIT" ]
6
2015-02-27T09:36:02.000Z
2020-05-26T11:10:26.000Z
benchmarks/array.py
Lguyogiro/jitpy
83616821a47f8d2d845f39e3cf3289b0deea21a1
[ "MIT" ]
15
2015-01-06T13:28:19.000Z
2021-02-09T19:17:36.000Z
import time, os from jitpy import setup, extra_source setup(os.environ['PYPY_HOME']) from jitpy.wrapper import jittify import numba, numpy ARRAY_SIZE = 10000 NUMBER = 1000 def f(a, s): for k in range(10): for i in xrange(a.shape[0]): s += a[i] return s def prepare_f(): return numpy.a...
22.698925
72
0.554713
339
2,111
3.333333
0.20649
0.070796
0.037168
0.074336
0.495575
0.440708
0.423009
0.4
0.382301
0.270796
0
0.047361
0.299858
2,111
92
73
22.945652
0.717185
0
0
0.418919
0
0
0.074408
0
0
0
0
0
0
0
null
null
0
0.054054
null
null
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
dcb5e85b126cec441da8f3d5aaf035b5c756c5a7
653
py
Python
Python3/Python3_Homework07/src/test_furnishings.py
ceeblet/OST_PythonCertificationTrack
042e0ce964bc88b3f4132dcbd7e06c5f504eae34
[ "MIT" ]
null
null
null
Python3/Python3_Homework07/src/test_furnishings.py
ceeblet/OST_PythonCertificationTrack
042e0ce964bc88b3f4132dcbd7e06c5f504eae34
[ "MIT" ]
null
null
null
Python3/Python3_Homework07/src/test_furnishings.py
ceeblet/OST_PythonCertificationTrack
042e0ce964bc88b3f4132dcbd7e06c5f504eae34
[ "MIT" ]
null
null
null
import unittest from furnishings import * class TestFurnishings(unittest.TestCase): def setUp(self): self.home = [] self.home.append(Bed('Bedroom')) self.home.append(Sofa('Living Room')) self.home.append(Table('Bedroom')) self.home_map = map_the_home(self.home) ...
29.681818
62
0.611026
80
653
4.7625
0.3625
0.209974
0.115486
0.110236
0.15748
0.15748
0.15748
0
0
0
0
0.006148
0.25268
653
22
63
29.681818
0.77459
0.075038
0
0
0
0
0.085142
0
0
0
0
0
0.2
1
0.133333
false
0
0.133333
0
0.333333
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
dcb9f636cbafa9df662ed19e3b681377e74c3556
623
py
Python
Incident-Response/Tools/cyphon/cyphon/alerts/migrations/0006_remove_muzzle_hash_null.py
sn0b4ll/Incident-Playbook
cf519f58fcd4255674662b3620ea97c1091c1efb
[ "MIT" ]
1
2021-07-24T17:22:50.000Z
2021-07-24T17:22:50.000Z
Incident-Response/Tools/cyphon/cyphon/alerts/migrations/0006_remove_muzzle_hash_null.py
sn0b4ll/Incident-Playbook
cf519f58fcd4255674662b3620ea97c1091c1efb
[ "MIT" ]
2
2022-02-28T03:40:31.000Z
2022-02-28T03:40:52.000Z
Incident-Response/Tools/cyphon/cyphon/alerts/migrations/0006_remove_muzzle_hash_null.py
sn0b4ll/Incident-Playbook
cf519f58fcd4255674662b3620ea97c1091c1efb
[ "MIT" ]
2
2022-02-25T08:34:51.000Z
2022-03-16T17:29:44.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-12 18:03 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): atomic = False dependencies = [ ('alerts', '0005_populate_muzzle_hashes'), ] operations = [ ...
22.25
50
0.537721
62
623
5.209677
0.790323
0
0
0
0
0
0
0
0
0
0
0.057789
0.361156
623
27
51
23.074074
0.753769
0.109149
0
0.1
1
0
0.088768
0.048913
0
0
0
0
0
1
0
false
0
0.1
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dcba27d0e05998b084653933b6771ff75cc0e302
623
py
Python
rechorder/rechorder/migrations/0007_auto_20201004_1632.py
jdfergusson/ReChorder
0368cbc034f81956f9f15af157b45ba5eee73c50
[ "Apache-2.0" ]
null
null
null
rechorder/rechorder/migrations/0007_auto_20201004_1632.py
jdfergusson/ReChorder
0368cbc034f81956f9f15af157b45ba5eee73c50
[ "Apache-2.0" ]
50
2020-04-19T15:45:22.000Z
2021-09-18T17:00:49.000Z
rechorder/rechorder/migrations/0007_auto_20201004_1632.py
jdfergusson/ReChorder
0368cbc034f81956f9f15af157b45ba5eee73c50
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.12 on 2020-10-04 16:32 import django.contrib.postgres.fields.jsonb from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rechorder', '0006_auto_20200906_0816'), ] operations = [ migrations.AlterField( mod...
24.92
79
0.606742
66
623
5.621212
0.651515
0.070081
0.113208
0.145553
0.366577
0.19407
0
0
0
0
0
0.075221
0.274478
623
24
80
25.958333
0.745575
0.073836
0
0.333333
1
0
0.090435
0.04
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
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
f4937ff47714c4783ba498f928cdb331bbe85ea4
323
py
Python
setup.py
h-friederich/lpm_client
af460d6b866ad82a2457266c114289c7ad1c6cfa
[ "BSD-3-Clause" ]
null
null
null
setup.py
h-friederich/lpm_client
af460d6b866ad82a2457266c114289c7ad1c6cfa
[ "BSD-3-Clause" ]
null
null
null
setup.py
h-friederich/lpm_client
af460d6b866ad82a2457266c114289c7ad1c6cfa
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup setup(name='lpm_client', version='0.1', description='Client module for lpm', url='http://github.com/h-friederich/lpm_client', author='Hannes Friederich', author_email='h.friederich@gmx.ch', license='BSD', packages=['lpm_client'], zip_safe=Tru...
26.916667
54
0.647059
41
323
4.97561
0.731707
0.132353
0
0
0
0
0
0
0
0
0
0.007782
0.204334
323
11
55
29.363636
0.785992
0
0
0
0
0
0.383901
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f49c0328ec557c3b272155d5d35483a55c944a52
1,869
py
Python
src/python/pants/core_tasks/substitute_aliased_targets.py
StephanErb/pants
a368267b6b4cf50138ba567f582409ed31bf5db9
[ "Apache-2.0" ]
94
2015-01-15T21:24:20.000Z
2022-02-16T16:55:43.000Z
src/python/pants/core_tasks/substitute_aliased_targets.py
StephanErb/pants
a368267b6b4cf50138ba567f582409ed31bf5db9
[ "Apache-2.0" ]
5
2020-07-18T01:04:43.000Z
2021-05-10T08:40:56.000Z
src/python/pants/core_tasks/substitute_aliased_targets.py
StephanErb/pants
a368267b6b4cf50138ba567f582409ed31bf5db9
[ "Apache-2.0" ]
47
2015-02-25T02:20:07.000Z
2022-03-21T00:59:16.000Z
# coding=utf-8 # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.aliased_target import AliasTarget from pants.task.task import Task...
39.765957
100
0.76565
237
1,869
5.839662
0.468354
0.036127
0.030347
0.044798
0
0
0
0
0
0
0
0.004459
0.159979
1,869
46
101
40.630435
0.87707
0.324238
0
0
0
0
0.0096
0
0
0
0
0.021739
0
1
0.148148
false
0
0.111111
0
0.296296
0.037037
0
0
0
null
0
0
0
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
f49eddfbb96c4385089c5de4121a60fe58804575
487
py
Python
kroml/manipulation/modules/example_module/example_module_simple.py
kroML/kroml
cfa5e505aaac01c31c1a4811e27ce70c41e0b1ae
[ "MIT" ]
null
null
null
kroml/manipulation/modules/example_module/example_module_simple.py
kroML/kroml
cfa5e505aaac01c31c1a4811e27ce70c41e0b1ae
[ "MIT" ]
4
2020-09-26T01:10:21.000Z
2022-02-10T02:00:18.000Z
kroml/manipulation/modules/example_module/example_module_simple.py
kroML/kroml
cfa5e505aaac01c31c1a4811e27ce70c41e0b1ae
[ "MIT" ]
null
null
null
from manipulation.modules.example_module.example_module import ExampleModule from utils.logger import Logger import time logger = Logger(__name__) @logger.for_all_methods(True) class ExampleModuleSimple(ExampleModule): def execute(self, param: dict): #input_df = param['input_df'] #df = self.vari...
21.173913
76
0.696099
62
487
5.258065
0.548387
0.064417
0.079755
0
0
0
0
0
0
0
0
0.005155
0.203285
487
22
77
22.136364
0.835052
0.13963
0
0.166667
0
0
0.002398
0
0
0
0
0
0
1
0.166667
false
0.083333
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f4a1b5519e036b8c34c1b2927483fc79f74c0656
420
py
Python
src/pretix/base/migrations/0164_subevent_last_modified.py
fabm3n/pretix
520fb620888d5c434665a6a4a33cb2ab22dd42c7
[ "Apache-2.0" ]
1,248
2015-04-24T13:32:06.000Z
2022-03-29T07:01:36.000Z
src/pretix/base/migrations/0164_subevent_last_modified.py
fabm3n/pretix
520fb620888d5c434665a6a4a33cb2ab22dd42c7
[ "Apache-2.0" ]
2,113
2015-02-18T18:58:16.000Z
2022-03-31T11:12:32.000Z
src/pretix/base/migrations/0164_subevent_last_modified.py
fabm3n/pretix
520fb620888d5c434665a6a4a33cb2ab22dd42c7
[ "Apache-2.0" ]
453
2015-05-13T09:29:06.000Z
2022-03-24T13:39:16.000Z
# Generated by Django 3.0.9 on 2020-10-15 16:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pretixbase', '0163_device_security_profile'), ] operations = [ migrations.AddField( model_name='subevent', name='las...
22.105263
69
0.62381
46
420
5.543478
0.826087
0
0
0
0
0
0
0
0
0
0
0.061688
0.266667
420
18
70
23.333333
0.766234
0.107143
0
0
1
0
0.158177
0.075067
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
f4ad9359b1c2b3413c58f7674a150937d1d2582e
390
py
Python
__tests__/odometry_test.py
cornzz/robolab-tud-spring18
958915181fc8cab9a3567d9b2670be8a1b704488
[ "MIT" ]
null
null
null
__tests__/odometry_test.py
cornzz/robolab-tud-spring18
958915181fc8cab9a3567d9b2670be8a1b704488
[ "MIT" ]
null
null
null
__tests__/odometry_test.py
cornzz/robolab-tud-spring18
958915181fc8cab9a3567d9b2670be8a1b704488
[ "MIT" ]
null
null
null
from src.pilot.Odometry import Odometry import unittest class OdometryTestCase(unittest.TestCase): def setUp(self): self.odometry = Odometry() self.motor_position = (-259, 259) pass def test_calc_pos(self): position = self.odometry.read_in(self.motor_position) print(po...
20.526316
61
0.658974
45
390
5.422222
0.555556
0.114754
0.139344
0
0
0
0
0
0
0
0
0.020339
0.24359
390
18
62
21.666667
0.80678
0
0
0.153846
0
0
0.020513
0
0
0
0
0
0
1
0.153846
false
0.153846
0.153846
0
0.384615
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f4bd5c9b4d2e02f8498be3945e155ce0ccd7e967
316
py
Python
setup.py
cindy-zimmerman/vmb-mrest
223f3d1ae719f7cf40d3c1ed75d8bf2df66d8534
[ "MIT" ]
null
null
null
setup.py
cindy-zimmerman/vmb-mrest
223f3d1ae719f7cf40d3c1ed75d8bf2df66d8534
[ "MIT" ]
null
null
null
setup.py
cindy-zimmerman/vmb-mrest
223f3d1ae719f7cf40d3c1ed75d8bf2df66d8534
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name='Flask mrest', version='0.0.1', packages=['flask_mrest'], url='https://bitbucket.org/deginner/flask-mrest', license='MIT', author='deginner', author_email='support@deginner.com', description='An MREST server using Python 2.7 and Flask' )
24.307692
60
0.674051
42
316
5.02381
0.738095
0.14218
0
0
0
0
0
0
0
0
0
0.019157
0.174051
316
12
61
26.333333
0.789272
0
0
0
0
0
0.449367
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
f4be54d4d2a13a56d8f107ed1c695fcc4385d7aa
416
py
Python
chat/migrations/0004_room_permission.py
Sanquira/immortalfighters
388018bfb5df4e4fdadb866a599b46e0387add6e
[ "MIT" ]
null
null
null
chat/migrations/0004_room_permission.py
Sanquira/immortalfighters
388018bfb5df4e4fdadb866a599b46e0387add6e
[ "MIT" ]
5
2020-02-20T10:20:33.000Z
2021-09-22T18:43:04.000Z
chat/migrations/0004_room_permission.py
Sanquira/immortalfighters
388018bfb5df4e4fdadb866a599b46e0387add6e
[ "MIT" ]
null
null
null
# Generated by Django 2.2.10 on 2020-02-27 16:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('chat', '0003_historyrecord'), ] operations = [ migrations.AddField( model_name='room', name='permission', ...
21.894737
87
0.605769
46
416
5.413043
0.826087
0
0
0
0
0
0
0
0
0
0
0.072848
0.274038
416
18
88
23.111111
0.751656
0.110577
0
0
1
0
0.097826
0
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
f4bfe0230d8446e9e9f4f532f5cd843d1d8ed805
4,421
py
Python
TextMagic/models/mute_chat_input_object.py
imissyouso/textmagic-rest-python
172c4c2bd588119eb97cdfaab3d8ba24bf3f3e09
[ "MIT" ]
null
null
null
TextMagic/models/mute_chat_input_object.py
imissyouso/textmagic-rest-python
172c4c2bd588119eb97cdfaab3d8ba24bf3f3e09
[ "MIT" ]
null
null
null
TextMagic/models/mute_chat_input_object.py
imissyouso/textmagic-rest-python
172c4c2bd588119eb97cdfaab3d8ba24bf3f3e09
[ "MIT" ]
null
null
null
# coding: utf-8 """ TextMagic API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six ...
25.703488
119
0.546483
506
4,421
4.640316
0.231225
0.061329
0.127768
0.111158
0.356474
0.293015
0.269591
0.143952
0.075809
0.032368
0
0.021648
0.352183
4,421
171
120
25.853801
0.798184
0.352635
0
0.067568
1
0
0.026155
0
0
0
0
0
0
1
0.162162
false
0
0.040541
0
0.364865
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f4c1415ab179a09d441e7203f5c37636f4778d51
465
py
Python
mapl_customization/customizations_for_mapl/page/tally_import/import_modules/godown_items.py
akshay83/mapl_customization
8b5bc9bd665b64a83d677305f005f2622326422e
[ "MIT" ]
1
2020-02-01T03:00:01.000Z
2020-02-01T03:00:01.000Z
mapl_customization/customizations_for_mapl/page/tally_import/import_modules/godown_items.py
akshay83/mapl_customization
8b5bc9bd665b64a83d677305f005f2622326422e
[ "MIT" ]
null
null
null
mapl_customization/customizations_for_mapl/page/tally_import/import_modules/godown_items.py
akshay83/mapl_customization
8b5bc9bd665b64a83d677305f005f2622326422e
[ "MIT" ]
1
2017-03-28T14:20:08.000Z
2017-03-28T14:20:08.000Z
import frappe class TallyImportGodownItems: def __init__(self, value, ow): self.overwrite = ow self.process_node = value self.process() def process(self): if not frappe.db.exists({"doctype":"Warehouse","warehouse_name": self.process_node['@NAME']}): godown_d...
35.769231
109
0.649462
53
465
5.45283
0.490566
0.152249
0.155709
0.200692
0.394464
0.394464
0.394464
0.394464
0.394464
0.394464
0
0
0.215054
465
12
110
38.75
0.791781
0
0
0
0
0
0.150538
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.5
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
f4c3ad8120493c102256afb322d071c48374f574
467
py
Python
tests/urls.py
leandromsd/django-admin-interface
1cd3b57c8e3ddb85efab56e905ce0ef662beebb5
[ "MIT" ]
1,129
2015-11-15T14:41:01.000Z
2022-03-31T21:24:14.000Z
tests/urls.py
leandromsd/django-admin-interface
1cd3b57c8e3ddb85efab56e905ce0ef662beebb5
[ "MIT" ]
152
2015-11-13T17:27:04.000Z
2022-03-28T07:57:28.000Z
tests/urls.py
leandromsd/django-admin-interface
1cd3b57c8e3ddb85efab56e905ce0ef662beebb5
[ "MIT" ]
142
2015-11-25T17:08:03.000Z
2022-03-14T22:36:26.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals import django from django.contrib import admin if django.VERSION < (2, 0): from django.conf.urls import include, url as re_path else: from django.urls import include, re_path from django.conf.urls.i18n import i18n_patterns urlpatterns = [] urlp...
22.238095
57
0.715203
67
467
4.820896
0.41791
0.123839
0.130031
0.111455
0
0
0
0
0
0
0
0.032911
0.154176
467
20
58
23.35
0.78481
0.044968
0
0
0
0
0.076577
0.047297
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
f4cc2cc5c4c93e27f9a37efc7fe27ddb19930aab
1,377
py
Python
src/1_100/0076_minimum-window-substring/minimum-window-substring.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
1
2019-12-18T06:08:47.000Z
2019-12-18T06:08:47.000Z
src/1_100/0076_minimum-window-substring/minimum-window-substring.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
1
2019-05-18T09:35:22.000Z
2019-05-18T09:35:22.000Z
src/1_100/0076_minimum-window-substring/minimum-window-substring.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
null
null
null
class Solution(object): def minWindow(self, s, t): """ :type s: str :type t: str :rtype: str """ if not (s and t): return "" left,right = 0,0 max_res_len,res_left_pos,res_right_pos = 2**31-1,0,0 dict_t = dict() for i in t: ...
32.785714
77
0.466957
193
1,377
3.067358
0.222798
0.076014
0.076014
0.043919
0.148649
0.148649
0.077703
0
0
0
0
0.032216
0.436456
1,377
42
78
32.785714
0.729381
0.010893
0
0.058824
0
0
0
0
0
0
0
0
0
0
null
null
0
0
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
f4dd9f09325f4fb338153011953a54f39c4c96fa
575
py
Python
0440.kth_smallest_in_lexicographical_order/solution.py
WZMJ/Algorithms
07f648541d38e24df38bda469665c12df6a50637
[ "MIT" ]
5
2020-05-23T02:18:26.000Z
2021-07-05T05:36:01.000Z
0440.kth_smallest_in_lexicographical_order/solution.py
WZMJ/Algorithms
07f648541d38e24df38bda469665c12df6a50637
[ "MIT" ]
1
2020-06-10T07:17:24.000Z
2020-07-20T02:21:24.000Z
0440.kth_smallest_in_lexicographical_order/solution.py
WZMJ/Algorithms
07f648541d38e24df38bda469665c12df6a50637
[ "MIT" ]
1
2019-04-23T13:01:50.000Z
2019-04-23T13:01:50.000Z
class Solution: def find_kth_number(self, n: int, k: int) -> int: cur = 1 k -= 1 while k > 0: step = self._step(n, cur, cur + 1) # 判断是否k值在子节点中 if step <= k: k -= step cur += 1 else: k -= 1 ...
23
53
0.368696
65
575
3.2
0.369231
0.057692
0
0
0
0
0
0
0
0
0
0.051095
0.523478
575
24
54
23.958333
0.708029
0.036522
0
0.1
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.25
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
f4dde5e168b9b9bf26f1188b150e75458350b30c
590
py
Python
calliope_app/api/migrations/0018_auto_20190819_1805.py
jmorrisnrel/engage
250ecc24c0225d48363afe4e40335a89dd9b6a44
[ "BSD-3-Clause" ]
3
2021-01-25T18:13:00.000Z
2021-04-30T12:17:42.000Z
calliope_app/api/migrations/0018_auto_20190819_1805.py
jmorrisnrel/engage
250ecc24c0225d48363afe4e40335a89dd9b6a44
[ "BSD-3-Clause" ]
8
2020-12-11T22:28:17.000Z
2022-03-05T02:08:27.000Z
calliope_app/api/migrations/0018_auto_20190819_1805.py
jmorrisnrel/engage
250ecc24c0225d48363afe4e40335a89dd9b6a44
[ "BSD-3-Clause" ]
1
2021-09-15T22:15:12.000Z
2021-09-15T22:15:12.000Z
# Generated by Django 2.1.4 on 2019-08-19 18:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0017_timeseries_meta_original_filename'), ] operations = [ migrations.AddField( model_name='timeseries_meta', ...
24.583333
58
0.610169
60
590
5.8
0.616667
0.12069
0.132184
0.155172
0.5
0.5
0.304598
0.304598
0
0
0
0.045024
0.284746
590
23
59
25.652174
0.779621
0.076271
0
0.470588
1
0
0.20442
0.110497
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
f4ded50dfbd9c80ad7f8e9fa613a32d338fbe860
2,896
py
Python
eoxserver/resources/coverages/management/commands/eoxs_dataset_deregister.py
constantinius/eoxserver_combined
68f261133fed65a4e8a6ddba82b0d2845171e4bf
[ "OML" ]
null
null
null
eoxserver/resources/coverages/management/commands/eoxs_dataset_deregister.py
constantinius/eoxserver_combined
68f261133fed65a4e8a6ddba82b0d2845171e4bf
[ "OML" ]
null
null
null
eoxserver/resources/coverages/management/commands/eoxs_dataset_deregister.py
constantinius/eoxserver_combined
68f261133fed65a4e8a6ddba82b0d2845171e4bf
[ "OML" ]
null
null
null
#------------------------------------------------------------------------------- # # Project: EOxServer <http://eoxserver.org> # Authors: Martin Paces <martin.paces@eox.at> # Fabian Schindler <fabian.schindler@eox.at> # #------------------------------------------------------------------------------- # Copyrigh...
39.671233
80
0.618094
316
2,896
5.636076
0.525316
0.043234
0.015722
0.034812
0
0
0
0
0
0
0
0.001803
0.234116
2,896
72
81
40.222222
0.801172
0.51692
0
0.066667
0
0
0.178102
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f4e52b4d54c9efe1807e5fd75a253866d6002c9f
900
py
Python
pbcoretools/tasks/scatter_alignments_reference_basemods.py
mdsmith/pbcoretools
06bf4c19750826c3189317b920ed3fca7b6a8886
[ "BSD-3-Clause" ]
1
2021-08-10T13:59:49.000Z
2021-08-10T13:59:49.000Z
pbcoretools/tasks/scatter_alignments_reference_basemods.py
mdsmith/pbcoretools
06bf4c19750826c3189317b920ed3fca7b6a8886
[ "BSD-3-Clause" ]
null
null
null
pbcoretools/tasks/scatter_alignments_reference_basemods.py
mdsmith/pbcoretools
06bf4c19750826c3189317b920ed3fca7b6a8886
[ "BSD-3-Clause" ]
null
null
null
""" Scatter AlignmentSet, ReferenceSet -> Chunk.JSON This is effectively an """ import logging import os import sys from pbcommand.cli import pbparser_runner from pbcommand.utils import setup_log from pbcoretools.tasks import scatter_alignments_reference log = logging.getLogger(__name__) TOOL_ID = "pbcoretools.t...
25.714286
71
0.676667
99
900
5.747475
0.464646
0.149385
0.228471
0.098418
0
0
0
0
0
0
0
0.001493
0.255556
900
34
72
26.470588
0.847761
0.08
0
0
0
0
0.139364
0.129584
0
0
0
0
0
1
0.047619
false
0
0.285714
0
0.380952
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
f4e559ef07486c1df08e4e0937f04c329444508d
2,126
py
Python
books/PythonCleanCode/ch6_descriptors/descriptors_methods_4.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
books/PythonCleanCode/ch6_descriptors/descriptors_methods_4.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
books/PythonCleanCode/ch6_descriptors/descriptors_methods_4.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
"""Clean Code in Python - Chapter 6: Descriptors > Methods of the descriptor interface: __set_name__ """ from log import logger class DescriptorWithName: """This descriptor requires the name to be explicitly set.""" def __init__(self, name): self.name = name def __get__(self, ins...
26.575
81
0.660395
219
2,126
6.09589
0.305936
0.053933
0.052434
0.05618
0.109363
0.109363
0.04794
0.04794
0
0
0
0.001865
0.24318
2,126
79
82
26.911392
0.827843
0.408749
0
0.08
0
0
0.103908
0
0
0
0
0
0
1
0.2
false
0
0.04
0
0.68
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
f4e584466ee9da75c10d167425a0a4521db64544
2,647
py
Python
parsl/monitoring/db_logger.py
Xarthisius/parsl
fdaef6e5c97365f32591fba987e7653df5ef3e2b
[ "Apache-2.0" ]
null
null
null
parsl/monitoring/db_logger.py
Xarthisius/parsl
fdaef6e5c97365f32591fba987e7653df5ef3e2b
[ "Apache-2.0" ]
null
null
null
parsl/monitoring/db_logger.py
Xarthisius/parsl
fdaef6e5c97365f32591fba987e7653df5ef3e2b
[ "Apache-2.0" ]
null
null
null
import logging import getpass try: from cmreslogging.handlers import CMRESHandler except ImportError: _es_logging_enabled = False else: _es_logging_enabled = True class OptionalModuleMissing(Exception): ''' Error raised a required module is missing for a optional/extra provider ''' def __ini...
31.511905
108
0.572346
268
2,647
5.485075
0.470149
0.036735
0.032653
0.028571
0
0
0
0
0
0
0
0.007501
0.345297
2,647
83
109
31.891566
0.840739
0.247828
0
0.044444
0
0.022222
0.143533
0.041535
0
0
0
0
0
1
0.088889
false
0.066667
0.088889
0.022222
0.266667
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
f4e62a00fbb195692b972dc3d9b08b928075a3aa
1,788
py
Python
api/queries/end_user_advisories/migrations/0001_squashed_0004_auto_20200421_1417.py
uktrade/lite-ap
4e1a57956bd921992b4a6e2b8fbacbba5720960d
[ "MIT" ]
3
2019-05-15T09:30:39.000Z
2020-04-22T16:14:23.000Z
api/queries/end_user_advisories/migrations/0001_squashed_0004_auto_20200421_1417.py
uktrade/lite-ap
4e1a57956bd921992b4a6e2b8fbacbba5720960d
[ "MIT" ]
85
2019-04-24T10:39:35.000Z
2022-03-21T14:52:12.000Z
api/queries/end_user_advisories/migrations/0001_squashed_0004_auto_20200421_1417.py
uktrade/lite-ap
4e1a57956bd921992b4a6e2b8fbacbba5720960d
[ "MIT" ]
1
2021-01-17T11:12:19.000Z
2021-01-17T11:12:19.000Z
# Generated by Django 3.1.8 on 2021-04-26 07:12 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): replaces = [('end_user_advisories', '0001_initial'), ('end_user_advisories', '0002_enduseradvisoryquery_end_user'), ('end_user_advisories', '0003_remov...
45.846154
240
0.63255
193
1,788
5.647668
0.455959
0.070642
0.088073
0.110092
0.27156
0.27156
0.216514
0.216514
0.137615
0
0
0.040433
0.225392
1,788
38
241
47.052632
0.74657
0.025168
0
0
1
0
0.243538
0.055715
0
0
0
0
0
1
0
false
0
0.066667
0
0.233333
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
f4ed23d7f30e9c6360005927a8a17a6b12ce4e84
429
py
Python
app/main/forms.py
321charles123/MySchedule
b461ecfd94c9e10d3b61f25a578df2bf25607b60
[ "MIT" ]
null
null
null
app/main/forms.py
321charles123/MySchedule
b461ecfd94c9e10d3b61f25a578df2bf25607b60
[ "MIT" ]
null
null
null
app/main/forms.py
321charles123/MySchedule
b461ecfd94c9e10d3b61f25a578df2bf25607b60
[ "MIT" ]
null
null
null
from flask.ext.wtf import Form from wtforms import StringField, SubmitField, HiddenField from wtforms.validators import Required class TasksForm(Form): Task1 = StringField('Task 1:', validators=[]) Task2 = StringField('Task 2:', validators=[]) Task3 = StringField('Task 3:', validators=[]) Task4 = Stri...
33
57
0.694639
47
429
6.340426
0.553191
0.251678
0
0
0
0
0
0
0
0
0
0.027855
0.16317
429
12
58
35.75
0.802228
0
0
0
0
0
0.081585
0
0
0
0
0
0
1
0
false
0
0.3
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f4fa5bbc811a6423bbf84f77ff644ea1a338e2fc
417
py
Python
trainer/utils/py_utility.py
maosi-chen/sapc2
fe57581f759fb3ccecd22779dd79f84401a9033e
[ "MIT" ]
1
2021-09-09T13:49:28.000Z
2021-09-09T13:49:28.000Z
trainer/utils/py_utility.py
maosi-chen/sapc2
fe57581f759fb3ccecd22779dd79f84401a9033e
[ "MIT" ]
null
null
null
trainer/utils/py_utility.py
maosi-chen/sapc2
fe57581f759fb3ccecd22779dd79f84401a9033e
[ "MIT" ]
null
null
null
import os # check and create the path if not exists def check_and_create_file_path(in_path, in_Path_desc_str=None): if (in_Path_desc_str is None): Path_desc_str = "" else: Path_desc_str = in_Path_desc_str try: os.stat(in_path) print("{} Path [{}] exists.".format(Path_desc_str, in_path)) except:...
26.0625
69
0.697842
70
417
3.785714
0.371429
0.181132
0.290566
0.14717
0.237736
0.173585
0
0
0
0
0
0
0.177458
417
15
70
27.8
0.772595
0.093525
0
0
0
0
0.12
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.166667
0.166667
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
f4fb66b060670ae4513372339d7b97076c47f29a
2,899
py
Python
python/busmap/horarios.py
ehabkost/busmap
0e3361bb67abee8ada43dd85bf530a712fdd10d0
[ "MIT" ]
4
2016-08-16T20:58:32.000Z
2022-02-08T23:25:14.000Z
python/busmap/horarios.py
ehabkost/busmap
0e3361bb67abee8ada43dd85bf530a712fdd10d0
[ "MIT" ]
null
null
null
python/busmap/horarios.py
ehabkost/busmap
0e3361bb67abee8ada43dd85bf530a712fdd10d0
[ "MIT" ]
null
null
null
import env import re, sys, thread, time def dbg(msg): #print msg pass ENCODING = 'iso-8859-1' def upage(s): return unicode(s, ENCODING) MAIN_PAGE = 'http://www.curitiba.pr.gov.br/Servicos/Transporte/HorarioOnibus/ctba.asp' def url_horario(cod): return 'http://www.curitiba.pr.gov.br/Servicos/Transporte/HorarioOn...
24.361345
159
0.637116
451
2,899
3.953437
0.308204
0.067302
0.016826
0.020191
0.09871
0.05945
0.05945
0.05945
0.05945
0
0
0.008739
0.171093
2,899
118
160
24.567797
0.73325
0.016902
0
0.130435
0
0.021739
0.195927
0.048104
0
0
0
0
0.01087
0
null
null
0.01087
0.021739
null
null
0.043478
0
0
0
null
0
0
0
0
0
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
f4ffd54def0f9eedb0e295979fdefb29f1891c9a
553
py
Python
src/main/resources/pytz/zoneinfo/Africa/Niamey.py
TheEin/swagger-maven-plugin
cf93dce2d5c8d3534f4cf8c612b11e2d2313871b
[ "Apache-2.0" ]
65
2015-11-14T13:46:01.000Z
2021-08-14T05:54:04.000Z
lib/pytz/zoneinfo/Africa/Niamey.py
tjsavage/polymer-dashboard
19bc467f1206613f8eec646b6f2bc43cc319ef75
[ "CNRI-Python", "Linux-OpenIB" ]
13
2016-03-31T20:00:17.000Z
2021-08-20T14:52:31.000Z
lib/pytz/zoneinfo/Africa/Niamey.py
tjsavage/polymer-dashboard
19bc467f1206613f8eec646b6f2bc43cc319ef75
[ "CNRI-Python", "Linux-OpenIB" ]
20
2015-03-18T08:41:37.000Z
2020-12-18T02:58:30.000Z
'''tzinfo timezone information for Africa/Niamey.''' from pytz.tzinfo import DstTzInfo from pytz.tzinfo import memorized_datetime as d from pytz.tzinfo import memorized_ttinfo as i class Niamey(DstTzInfo): '''Africa/Niamey timezone definition. See datetime.tzinfo for details''' zone = 'Africa/Niamey' _ut...
20.481481
76
0.661844
93
553
3.860215
0.451613
0.033426
0.116992
0.167131
0.189415
0
0
0
0
0
0
0.118791
0.162749
553
26
77
21.269231
0.656587
0.20434
0
0
0
0
0.058411
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.388889
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
7608d481858326f4fd5450824f84767127241b28
372
py
Python
scripts/load_obj.py
Design-Machine-Group/compas_vibro
0ccb73205efe8628734602189f50c780aa00f82f
[ "MIT" ]
2
2020-04-07T17:24:49.000Z
2020-04-07T21:13:31.000Z
scripts/load_obj.py
Design-Machine-Group/compas_vibro
0ccb73205efe8628734602189f50c780aa00f82f
[ "MIT" ]
7
2020-06-17T22:19:13.000Z
2020-06-19T19:37:40.000Z
scripts/load_obj.py
Design-Machine-Group/compas_vibro
0ccb73205efe8628734602189f50c780aa00f82f
[ "MIT" ]
null
null
null
import os import compas_vibro from compas_vibro.structure import Structure from compas_vibro.viewers import HarmonicViewer from compas_vibro.viewers import ModalViewer filepath = os.path.join(compas_vibro.TEMP, 'ansys_mesh_flat_20x20_harmonic_s.obj') s = Structure.from_obj(filepath) print(s.results.keys()) v = Har...
20.666667
82
0.806452
56
372
5.160714
0.446429
0.190311
0.155709
0.152249
0.193772
0
0
0
0
0
0
0.01194
0.099462
372
18
83
20.666667
0.850746
0
0
0.166667
0
0
0.096515
0.096515
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
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
760c8cacadb46dbb7f128b1186e055a8e44d50cb
370
py
Python
setup.py
anterokangas/ManuscriptManagerOld
194bc6c7b899bb4ab61966af3ba1e619fc74c20c
[ "MIT" ]
null
null
null
setup.py
anterokangas/ManuscriptManagerOld
194bc6c7b899bb4ab61966af3ba1e619fc74c20c
[ "MIT" ]
null
null
null
setup.py
anterokangas/ManuscriptManagerOld
194bc6c7b899bb4ab61966af3ba1e619fc74c20c
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='ManuscriptManager', version='00.00.01', packages=['sly', 'tests', 'manuscript', 'manuscript.tools', 'manuscript.actors', 'manuscript.language'], url='', license='MIT', author='Antero Kangas', author_email='antero.kangas@gmail.com', descr...
26.428571
95
0.659459
40
370
6.075
0.75
0.098765
0
0
0
0
0
0
0
0
0
0.023026
0.178378
370
13
96
28.461538
0.776316
0
0
0
0
0
0.464865
0.062162
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
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
760d38c03b3b7c30b90d40392d7dc53d2eb91829
7,704
py
Python
python/qisrc/test/test_sync_manifest.py
PrashantKumar-sudo/qibuild
a16ce425cf25127ceff29507feeeeca37af23351
[ "BSD-3-Clause" ]
null
null
null
python/qisrc/test/test_sync_manifest.py
PrashantKumar-sudo/qibuild
a16ce425cf25127ceff29507feeeeca37af23351
[ "BSD-3-Clause" ]
null
null
null
python/qisrc/test/test_sync_manifest.py
PrashantKumar-sudo/qibuild
a16ce425cf25127ceff29507feeeeca37af23351
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2012-2019 SoftBank Robotics. All rights reserved. # Use of this source code is governed by a BSD-style license (see the COPYING file). """ Test Sync Manifest """ from __future__ import absolute_import from __future__ import unicode_literals from __future__ i...
38.909091
85
0.733515
1,062
7,704
4.985876
0.132768
0.139188
0.0661
0.064212
0.763739
0.719924
0.613975
0.533333
0.498772
0.487819
0
0.002916
0.154206
7,704
197
86
39.106599
0.809699
0.09852
0
0.528169
0
0
0.082444
0
0
0
0
0
0.176056
1
0.105634
false
0
0.056338
0
0.161972
0.007042
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
760e990c8d861a0ec149c4d1543043198e2b15cd
1,252
py
Python
restapi/flask_ext/flask_celery/worker.py
beetleman/http-api
6839e57543cf492e1f281ca9f5604c0058a17f81
[ "MIT" ]
null
null
null
restapi/flask_ext/flask_celery/worker.py
beetleman/http-api
6839e57543cf492e1f281ca9f5604c0058a17f81
[ "MIT" ]
null
null
null
restapi/flask_ext/flask_celery/worker.py
beetleman/http-api
6839e57543cf492e1f281ca9f5604c0058a17f81
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Celery pattern. Some interesting read here: http://blog.miguelgrinberg.com/post/celery-and-the-flask-application-factory-pattern Of course that discussion is not enough for a flask templating framework like ours. So we made some improvement along the code. """ from restapi.server import...
26.638298
84
0.716454
171
1,252
5.076023
0.479532
0.062212
0.041475
0.050691
0.163594
0.105991
0.105991
0
0
0
0
0.000911
0.123003
1,252
46
85
27.217391
0.789617
0.449681
0
0
0
0
0.067826
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0.071429
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
7614c7956bdab1928ebc405601823cb3ca9d5808
2,044
py
Python
src/gym/gym/wrappers/monitoring.py
argallab/model_based_shared_control
ff42226b6345266f35a32021c7d0b44cc5948ec1
[ "MIT" ]
7
2019-05-08T19:47:26.000Z
2022-03-28T06:43:31.000Z
gym/wrappers/monitoring.py
asbroad/gym
81b0bf9a5a1dad9fe1be3a207e80d66709cd2b7c
[ "MIT" ]
null
null
null
gym/wrappers/monitoring.py
asbroad/gym
81b0bf9a5a1dad9fe1be3a207e80d66709cd2b7c
[ "MIT" ]
2
2019-05-08T19:47:12.000Z
2021-07-07T10:10:17.000Z
import gym from gym import monitoring from gym import Wrapper from gym.wrappers.time_limit import TimeLimit from gym import error import logging logger = logging.getLogger(__name__) class _Monitor(Wrapper): def __init__(self, env, directory, video_callable=None, force=False, resume=False, write_...
39.307692
201
0.690802
263
2,044
5.13308
0.342205
0.073333
0.041481
0.055556
0.186667
0.186667
0.186667
0.186667
0.186667
0.186667
0
0.004981
0.214286
2,044
51
202
40.078431
0.835616
0.071429
0
0.108108
0
0.027027
0.128232
0.032718
0
0
0
0.019608
0
1
0.162162
false
0
0.162162
0
0.432432
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
7619e26ddcd7d586ca9c313e2fb68e2bcb808411
3,580
py
Python
students/K33402/Livasily/FlexAirApp/FlexAir2/FlexAirApp/views.py
jabkevich/ITMO_ICT_WebDevelopment_2020-2021
b2bfbcf53d061e20f8c13d2fe662a4df2022d09b
[ "MIT" ]
null
null
null
students/K33402/Livasily/FlexAirApp/FlexAir2/FlexAirApp/views.py
jabkevich/ITMO_ICT_WebDevelopment_2020-2021
b2bfbcf53d061e20f8c13d2fe662a4df2022d09b
[ "MIT" ]
null
null
null
students/K33402/Livasily/FlexAirApp/FlexAir2/FlexAirApp/views.py
jabkevich/ITMO_ICT_WebDevelopment_2020-2021
b2bfbcf53d061e20f8c13d2fe662a4df2022d09b
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.db import models from rest_framework import generics from .serializers import * from rest_framework.response import Response from rest_framework.views import APIView from .models import * class UserListAPIView(generics.ListAPIView): serializer_class = UserSerializ...
25.211268
61
0.785196
319
3,580
8.721003
0.250784
0.134795
0.11862
0.146657
0.476636
0.435658
0.435658
0.356578
0
0
0
0
0.139944
3,580
141
62
25.390071
0.90354
0
0
0.547619
0
0
0
0
0
0
0
0
0
1
0.011905
false
0
0.083333
0
0.988095
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
76210864a221b4192f940caeb7570946f038e65d
1,875
py
Python
ozone-framework-python-server/dashboards/migrations/0001_initial.py
aamduka/ozone
3fdbf232f5ea70661204a632e45310ca9d374973
[ "Apache-2.0" ]
6
2020-02-21T22:06:31.000Z
2020-12-08T10:48:07.000Z
ozone-framework-python-server/dashboards/migrations/0001_initial.py
aamduka/ozone
3fdbf232f5ea70661204a632e45310ca9d374973
[ "Apache-2.0" ]
12
2019-12-26T17:38:40.000Z
2022-02-10T14:15:55.000Z
ozone-framework-python-server/dashboards/migrations/0001_initial.py
aamduka/ozone
3fdbf232f5ea70661204a632e45310ca9d374973
[ "Apache-2.0" ]
4
2019-08-05T13:22:29.000Z
2021-07-21T16:04:03.000Z
# Generated by Django 2.2.4 on 2020-01-14 06:28 from django.db import migrations, models import django.utils.timezone import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Dashboard', ...
44.642857
114
0.583467
189
1,875
5.687831
0.42328
0.100465
0.104186
0.125581
0.355349
0.295814
0.131163
0.131163
0
0
0
0.025945
0.280533
1,875
41
115
45.731707
0.770941
0.024
0
0
1
0
0.112479
0
0
0
0
0
0
1
0
false
0
0.088235
0
0.205882
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
7625beb46e66abb282e21329a436c7e63502e42c
3,630
py
Python
source/data_processing/adjust_data.py
interactivethings/swiss-army-contaminated-sites
7a7ef8370132c28ab354c22cd97552b92a1f81c2
[ "BSD-2-Clause" ]
null
null
null
source/data_processing/adjust_data.py
interactivethings/swiss-army-contaminated-sites
7a7ef8370132c28ab354c22cd97552b92a1f81c2
[ "BSD-2-Clause" ]
null
null
null
source/data_processing/adjust_data.py
interactivethings/swiss-army-contaminated-sites
7a7ef8370132c28ab354c22cd97552b92a1f81c2
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import json import codecs from pprint import pprint from cStringIO import StringIO def load(name): f = codecs.open(name, "r", "utf-8") json_object = json.load(f) f.close() return json_object def load_municipals(file_name): data = load(file_name)["f...
30.504202
108
0.698347
482
3,630
5.126556
0.325726
0.0259
0.013355
0.018211
0.195872
0.178875
0.13193
0.059895
0.059895
0.029138
0
0.012897
0.166942
3,630
118
109
30.762712
0.804233
0.173278
0
0.115385
0
0
0.189661
0.069822
0
0
0
0
0.012821
0
null
null
0
0.064103
null
null
0.089744
0
0
0
null
0
0
0
0
0
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
762674a48222c966fe5e118a34aadbbaaa57961d
14,159
py
Python
app.py
rgmajure/NPRStationFinderApp
2986225c79934b1f421f63b4d73afe3cf498a0ce
[ "MIT" ]
null
null
null
app.py
rgmajure/NPRStationFinderApp
2986225c79934b1f421f63b4d73afe3cf498a0ce
[ "MIT" ]
null
null
null
app.py
rgmajure/NPRStationFinderApp
2986225c79934b1f421f63b4d73afe3cf498a0ce
[ "MIT" ]
null
null
null
from flask import Flask, render_template, redirect, url_for, request, flash import csv, json import NPRoneaccess import DarkSkyaccess import genlatlong from station import Station app = Flask(__name__) stations = [] old_stations =[] #The first part of this application is start-up focused #Initializing arguments and ...
51.675182
259
0.589378
1,420
14,159
5.571831
0.158451
0.091001
0.038675
0.026542
0.630182
0.609707
0.596436
0.596436
0.591759
0.581901
0
0.003292
0.35631
14,159
273
260
51.864469
0.864823
0.199661
0
0.579235
0
0
0.064533
0.002127
0
0
0
0
0
0
null
null
0
0.032787
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
5200540bc7754bb8acb811d3bd5972f8395f2de4
1,395
py
Python
bash/send_all_jobs.py
coastalcph/HIT-SCIR-CoNLL2019
60258a81a2db91ca012be4486ea8475376756374
[ "Apache-2.0" ]
5
2020-05-27T14:18:50.000Z
2021-05-28T05:07:19.000Z
bash/send_all_jobs.py
coastalcph/HIT-SCIR-CoNLL2019
60258a81a2db91ca012be4486ea8475376756374
[ "Apache-2.0" ]
1
2020-05-25T13:56:00.000Z
2020-05-25T13:56:00.000Z
bash/send_all_jobs.py
coastalcph/HIT-SCIR-CoNLL2019
60258a81a2db91ca012be4486ea8475376756374
[ "Apache-2.0" ]
1
2020-06-02T16:50:04.000Z
2020-06-02T16:50:04.000Z
import os,sys #run: # python send_all_jobs.py data_dir checkpoints # where data dir contains the UD directory and checkpoints # will save checkpoints with one directory per treebank, # named after its iso #ISO_TODO = ['sv_talbanken', 'en_ewt', 'lv_lvtb', 'cs_fictree', #'cs_pdt', 'it_isdt', 'uk_iu', 'pl_pdb','ru_synt...
37.702703
130
0.695341
238
1,395
3.865546
0.5
0.06087
0.029348
0.026087
0.16087
0.130435
0.130435
0.130435
0.130435
0.130435
0
0.009046
0.128315
1,395
36
131
38.75
0.747533
0.422939
0
0
0
0.111111
0.435832
0.19568
0
0
0
0.027778
0
1
0
false
0
0.055556
0
0.055556
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
520324743a3dcd1549d81f04c75b2fd0e18c4812
1,612
py
Python
large_app/python/models/schemas.py
sahilGupta89/large_flask_app
e1ab54431bb935c02186f586d9246b741d9f2d33
[ "MIT" ]
null
null
null
large_app/python/models/schemas.py
sahilGupta89/large_flask_app
e1ab54431bb935c02186f586d9246b741d9f2d33
[ "MIT" ]
null
null
null
large_app/python/models/schemas.py
sahilGupta89/large_flask_app
e1ab54431bb935c02186f586d9246b741d9f2d33
[ "MIT" ]
null
null
null
from marshmallow_sqlalchemy import TableSchema from .marshmallow import marshmallow as ma from .user import User, UserLocation from .alerts import AlertSubscription, AlertType class UserSchema(TableSchema): class Meta: table = User.__table__ exclude = ("deleted", "created", "updated") stri...
24.424242
73
0.669355
176
1,612
6.017045
0.409091
0.060434
0.033994
0.056657
0
0
0
0
0
0
0
0.001589
0.218983
1,612
65
74
24.8
0.839555
0
0
0.06383
0
0
0.096774
0.014268
0
0
0
0
0
1
0
false
0.042553
0.085106
0
0.659574
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
52056ab945c143413849fba3f8bf7e1f2148aa21
1,034
py
Python
tensorflow_tts/flows/utils/flow_step_test.py
MokkeMeguru/TensorflowTTS
07ad3d179ad39515af59ae3788c338731b87534b
[ "Apache-2.0" ]
null
null
null
tensorflow_tts/flows/utils/flow_step_test.py
MokkeMeguru/TensorflowTTS
07ad3d179ad39515af59ae3788c338731b87534b
[ "Apache-2.0" ]
null
null
null
tensorflow_tts/flows/utils/flow_step_test.py
MokkeMeguru/TensorflowTTS
07ad3d179ad39515af59ae3788c338731b87534b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import numpy as np import tensorflow as tf from tensorflow_tts.flows.utils.flow_step import build_flow_step, _Model class FlowStepTest(tf.test.TestCase): def setUp(self): super().setUp() self.model = _Model() x = tf.random.normal([128, 32, 64]) cond = tf.ran...
34.466667
72
0.624758
148
1,034
4.304054
0.337838
0.075353
0.131868
0.160126
0.477237
0.477237
0.33281
0.33281
0.33281
0.33281
0
0.062657
0.22824
1,034
29
73
35.655172
0.735589
0.020309
0
0.347826
0
0
0
0
0
0
0
0
0.173913
1
0.130435
false
0
0.130435
0
0.304348
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
520b722b948f3610333db718577a1c262a971c72
1,223
py
Python
websauna/system/devop/scripts/sanitycheck.py
highPriestLOL/websauna
2e78cd87eda305fbbb1080d386b8cf96537360e5
[ "CNRI-Python" ]
286
2016-01-17T05:44:02.000Z
2022-02-07T20:28:49.000Z
websauna/system/devop/scripts/sanitycheck.py
highPriestLOL/websauna
2e78cd87eda305fbbb1080d386b8cf96537360e5
[ "CNRI-Python" ]
203
2016-03-15T02:00:53.000Z
2021-09-27T10:48:49.000Z
websauna/system/devop/scripts/sanitycheck.py
ooduor/websauna
2e78cd87eda305fbbb1080d386b8cf96537360e5
[ "CNRI-Python" ]
71
2016-01-17T11:04:26.000Z
2021-08-24T08:04:31.000Z
"""ws-sanity-check script. Execute a sanity check on the configuration. """ # Standard Library import sys import typing as t # Websauna from websauna.system import SanityCheckFailed from websauna.system.devop.cmdline import init_websauna from websauna.system.devop.scripts import FAIL_MSG from websauna.system.devop.sc...
26.021277
96
0.750613
174
1,223
5.103448
0.402299
0.070946
0.121622
0.129505
0.245496
0.245496
0.083333
0
0
0
0
0.005871
0.16435
1,223
46
97
26.586957
0.863014
0.211774
0
0
0
0
0.089552
0
0
0
0
0
0
1
0.04
false
0.04
0.32
0
0.36
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
521d069f1529af5cc2ba35e43aa532ed88991f76
769
py
Python
setup.py
encukou/spline-pokedex
2dc9945b3f6f367ed867708e77928190a67be8cf
[ "MIT" ]
null
null
null
setup.py
encukou/spline-pokedex
2dc9945b3f6f367ed867708e77928190a67be8cf
[ "MIT" ]
null
null
null
setup.py
encukou/spline-pokedex
2dc9945b3f6f367ed867708e77928190a67be8cf
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name = 'spline-pokedex', version = '0.1', packages = find_packages(), install_requires = [ 'spline', 'pokedex', 'SQLAlchemy>=0.6', ], include_package_data = True, package_data={'splinext': ['*/i18n/*/LC_MESSAGES/*.m...
25.633333
76
0.569571
75
769
5.666667
0.64
0.056471
0.070588
0.108235
0.127059
0.127059
0
0
0
0
0
0.013536
0.231469
769
29
77
26.517241
0.705584
0
0
0
0
0
0.377113
0.10013
0
0
0
0
0
1
0
true
0
0.043478
0
0.043478
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
521fbebde78678cf7f2f06d7d395b59b8fb9102b
441
py
Python
rino/remote.py
rinocloud/rino
34d4d6eb697f501c6ab8aa5d41a9435529342da6
[ "MIT" ]
null
null
null
rino/remote.py
rinocloud/rino
34d4d6eb697f501c6ab8aa5d41a9435529342da6
[ "MIT" ]
null
null
null
rino/remote.py
rinocloud/rino
34d4d6eb697f501c6ab8aa5d41a9435529342da6
[ "MIT" ]
null
null
null
import click from rino import config def set(path): if path.startswith('/'): path = path[1:] if config.set('remote', path): click.echo('remote path set to %s' % path) def unset(): if config.set('remote', None): click.echo('remote path is unset') def list(): if config.get('rem...
22.05
62
0.589569
63
441
4.126984
0.349206
0.192308
0.173077
0.219231
0.161538
0
0
0
0
0
0
0.00303
0.251701
441
19
63
23.210526
0.784848
0
0
0
0
0
0.229025
0
0
0
0
0
0
1
0.2
false
0
0.133333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5220d2b3980abebb1f716aa4e97b63327b6c7b19
982
py
Python
sample_wsgi.py
Moosky-1/remoteclassroom
bda0280c6c457d8b305e70a7efd0f65fbc3f2238
[ "MIT" ]
null
null
null
sample_wsgi.py
Moosky-1/remoteclassroom
bda0280c6c457d8b305e70a7efd0f65fbc3f2238
[ "MIT" ]
6
2021-03-19T09:45:33.000Z
2021-09-22T19:27:04.000Z
sample_wsgi.py
Moosky-1/online_elearning_portal
bda0280c6c457d8b305e70a7efd0f65fbc3f2238
[ "MIT" ]
null
null
null
# This file contains the WSGI configuration required to serve up your # web application at http://Moosky.pythonanywhere.com/ # It works by setting the variable 'application' to a WSGI handler of some # description. # # +++++++++++ GENERAL DEBUGGING TIPS +++++++++++ # getting imports and sys.path right can be fiddly! #...
31.677419
83
0.735234
141
982
5.078014
0.567376
0.02933
0.022346
0.039106
0.055866
0
0
0
0
0
0
0.002364
0.138493
982
30
84
32.733333
0.843972
0.693483
0
0
0
0
0.259649
0.189474
0
0
0
0
0
1
0
false
0
0.375
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
0
0
0
1
0
0
0
0
1
5236b7e26e5d7091f82d0194f314359e6003dbaf
2,895
py
Python
tests/unit/viz/test_experiments_table.py
fdosani/rubicon-ml
b6dbd3ea44afb297a224baec387712fdf65b5b4f
[ "Apache-2.0" ]
null
null
null
tests/unit/viz/test_experiments_table.py
fdosani/rubicon-ml
b6dbd3ea44afb297a224baec387712fdf65b5b4f
[ "Apache-2.0" ]
null
null
null
tests/unit/viz/test_experiments_table.py
fdosani/rubicon-ml
b6dbd3ea44afb297a224baec387712fdf65b5b4f
[ "Apache-2.0" ]
null
null
null
from dash import Dash from rubicon_ml.viz import ExperimentsTable def test_experiments_table(viz_experiments): experiments_table = ExperimentsTable(experiments=viz_experiments, is_selectable=True) expected_experiment_ids = [e.id for e in viz_experiments] for experiment in experiments_table.experiments:...
40.208333
99
0.789637
364
2,895
5.942308
0.200549
0.170134
0.092464
0.110957
0.569117
0.492372
0.45816
0.45816
0.45816
0.45816
0
0.004785
0.133679
2,895
71
100
40.774648
0.857656
0
0
0.297872
0
0
0.08981
0.054577
0
0
0
0
0.404255
1
0.106383
false
0
0.042553
0
0.148936
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
5239533b6f5397cd80a0d345f5bdc9cd7fb5da5c
3,054
py
Python
Sample/Koudai/Server/release/Script/PyScript/Action/action7012.py
wenhulove333/ScutServer
338a50ff577c0e2ef2276a2883a8bfe28517c79b
[ "MIT" ]
2
2017-05-27T13:32:28.000Z
2019-05-28T15:11:33.000Z
Sample/Koudai/Server/src/ZyGames.Tianjiexing.Server/PyScript/Action/action7012.py
Jesse1205/Scut
3df3adbcd0588fa2657ff110380210236ae45dae
[ "Unlicense" ]
null
null
null
Sample/Koudai/Server/src/ZyGames.Tianjiexing.Server/PyScript/Action/action7012.py
Jesse1205/Scut
3df3adbcd0588fa2657ff110380210236ae45dae
[ "Unlicense" ]
4
2016-08-27T05:26:16.000Z
2019-12-27T07:07:09.000Z
import clr import sys clr.AddReference('ZyGames.Framework.Common') clr.AddReference('ZyGames.Framework') clr.AddReference('ZyGames.Framework.Game') clr.AddReference('ZyGames.Tianjiexing.Model') clr.AddReference('ZyGames.Tianjiexing.BLL') clr.AddReference('ZyGames.Tianjiexing.Lang') from System import * from...
37.243902
97
0.724296
303
3,054
7.30033
0.267327
0.05425
0.076854
0.05877
0.358951
0.179928
0.179928
0.152351
0.12387
0.12387
0
0.004416
0.184348
3,054
82
98
37.243902
0.883179
0.003602
0
0.263889
0
0
0.0625
0.047973
0
0
0
0
0
0
null
null
0
0.208333
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
52441a6a82d99f66bab6f3dad576880ecde4a10f
645
py
Python
tests/test_model.py
LisbethClausen/cookie
590ce8a7d37757bc13acd02f70d298bbad4cfee7
[ "MIT" ]
null
null
null
tests/test_model.py
LisbethClausen/cookie
590ce8a7d37757bc13acd02f70d298bbad4cfee7
[ "MIT" ]
null
null
null
tests/test_model.py
LisbethClausen/cookie
590ce8a7d37757bc13acd02f70d298bbad4cfee7
[ "MIT" ]
null
null
null
from model import MyAwesomeModel import numpy as np import torch from make_dataset import mnist from torch import nn, optim import matplotlib.pyplot as plt def test_Model(): model = MyAwesomeModel() train_set, _ = mnist() trainloader = torch.utils.data.DataLoader( train_set, batch_size=...
26.875
65
0.632558
82
645
4.902439
0.634146
0.039801
0.054726
0.074627
0
0
0
0
0
0
0
0.027957
0.27907
645
23
66
28.043478
0.836559
0
0
0
0
0
0.045101
0
0
0
0
0
0.111111
1
0.055556
false
0
0.333333
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5249768cdf5144c2893c45c7e8e03b473fb59545
5,541
py
Python
spider/QSCrawl.py
xingangzhang/QS_First_Crawl
ac0095cf3149ff3406006e330a5221e701406631
[ "Apache-2.0" ]
null
null
null
spider/QSCrawl.py
xingangzhang/QS_First_Crawl
ac0095cf3149ff3406006e330a5221e701406631
[ "Apache-2.0" ]
null
null
null
spider/QSCrawl.py
xingangzhang/QS_First_Crawl
ac0095cf3149ff3406006e330a5221e701406631
[ "Apache-2.0" ]
null
null
null
# coding:utf-8 """ @author: smartgang @contact: zhangxingang92@qq.com @file: QSCrawl.py @time: 2017/12/11 14:12 """ # !/usr/bin/python # -*-coding:utf-8-*- """ @author: smartgang @contact: zhangxingang92@qq.com @file: qs_crawl.py @time: 2017/11/30 17:29 """ import urllib import urllib2 import re import hashlib imp...
32.028902
137
0.512723
621
5,541
4.537842
0.299517
0.028744
0.009936
0.017388
0.255855
0.221434
0.17885
0.17885
0.160397
0.129879
0
0.02969
0.331348
5,541
172
138
32.215116
0.730904
0.029237
0
0.173228
0
0.007874
0.100562
0.039527
0
0
0
0
0
0
null
null
0
0.055118
null
null
0.047244
0
0
0
null
0
0
0
0
0
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
524f2cb651d82997c19fb7c2619197aa1c40b24b
699
py
Python
Algorithms/Medium/98. Validate Binary Search Tree/answer.py
KenWoo/Algorithm
4012a2f0a099a502df1e5df2e39faa75fe6463e8
[ "Apache-2.0" ]
null
null
null
Algorithms/Medium/98. Validate Binary Search Tree/answer.py
KenWoo/Algorithm
4012a2f0a099a502df1e5df2e39faa75fe6463e8
[ "Apache-2.0" ]
null
null
null
Algorithms/Medium/98. Validate Binary Search Tree/answer.py
KenWoo/Algorithm
4012a2f0a099a502df1e5df2e39faa75fe6463e8
[ "Apache-2.0" ]
null
null
null
from typing import List class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def isValidBST(self, root: TreeNode) -> bool: def dfs(node, lower, upper): if not node: ret...
24.103448
53
0.519313
84
699
4.178571
0.392857
0.059829
0.079772
0.108262
0.176638
0.176638
0.176638
0.176638
0
0
0
0.002326
0.384835
699
28
54
24.964286
0.813953
0
0
0.227273
0
0
0.021459
0
0
0
0
0
0
1
0.136364
false
0.045455
0.045455
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
52527c09ab51822cd9edb48f797e2f7bdcac9b7e
382
py
Python
Reconnaissance/Campus/migrations/0003_auto_20180905_1746.py
RobinRichard/BITCampusReconnaissance
f3ff77ce524b6182ee68854df15c8ebf0b2ec577
[ "MIT" ]
null
null
null
Reconnaissance/Campus/migrations/0003_auto_20180905_1746.py
RobinRichard/BITCampusReconnaissance
f3ff77ce524b6182ee68854df15c8ebf0b2ec577
[ "MIT" ]
null
null
null
Reconnaissance/Campus/migrations/0003_auto_20180905_1746.py
RobinRichard/BITCampusReconnaissance
f3ff77ce524b6182ee68854df15c8ebf0b2ec577
[ "MIT" ]
null
null
null
# Generated by Django 2.0.3 on 2018-09-05 05:46 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Campus', '0002_category_category_icon'), ] operations = [ migrations.RenameField( model_name='category', old_name='category_...
20.105263
50
0.604712
41
382
5.439024
0.682927
0.161435
0.143498
0
0
0
0
0
0
0
0
0.069853
0.287958
382
18
51
21.222222
0.75
0.117801
0
0
1
0
0.2
0.080597
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
525472b389cc659c518242f40c4501f042d61674
784
py
Python
addons/purchase/models/res_company.py
shdkej/odoo_gvm
15b797e60a329f5d2fddb817a2b30a926b5873fa
[ "MIT" ]
null
null
null
addons/purchase/models/res_company.py
shdkej/odoo_gvm
15b797e60a329f5d2fddb817a2b30a926b5873fa
[ "MIT" ]
3
2020-12-06T11:10:32.000Z
2020-12-06T11:16:48.000Z
addons/purchase/models/res_company.py
shdkej/odoo_gvm
15b797e60a329f5d2fddb817a2b30a926b5873fa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import fields, models class Company(models.Model): _inherit = 'res.company' po_lead = fields.Float(string='Purchase Lead Time', required=True, default=0.0) po_lock = fields.Selection([('edit', 'Al...
56
218
0.732143
107
784
5.261682
0.570093
0.0746
0.063943
0
0
0
0
0
0
0
0
0.011869
0.140306
784
13
219
60.307692
0.823442
0.119898
0
0
0
0
0.427948
0
0
0
0
0
0
1
0
false
0
0.125
0
0.875
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
52566331e034acb7ace56696f917288ee7ab7d8f
199
py
Python
DAV/marks grader.py
KhushMody/Ds-Algo-HacktoberFest
2cb5bdcfcdcb87b67ee31941cc9afc466507a05b
[ "MIT" ]
12
2020-10-04T06:48:29.000Z
2021-02-16T17:54:04.000Z
DAV/marks grader.py
KhushMody/Ds-Algo-HacktoberFest
2cb5bdcfcdcb87b67ee31941cc9afc466507a05b
[ "MIT" ]
14
2020-10-04T09:09:52.000Z
2021-10-16T19:59:23.000Z
DAV/marks grader.py
KhushMody/Ds-Algo-HacktoberFest
2cb5bdcfcdcb87b67ee31941cc9afc466507a05b
[ "MIT" ]
55
2020-10-04T03:09:25.000Z
2021-10-16T09:00:12.000Z
marks=int(input("Enter your marks out of 100 = ")) if marks >=80: print("A") elif marks>=60: print("B") elif marks>=40: print("C") else: print("BETTER LUCK NEXT TIME") print("THANKS")
19.9
50
0.613065
32
199
3.8125
0.71875
0.147541
0
0
0
0
0
0
0
0
0
0.05625
0.19598
199
10
51
19.9
0.70625
0
0
0
0
0
0.3
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
526279a7337e632342745cde311dcfd0a2f32dd8
503
py
Python
expfactory_deploy/experiments/migrations/0014_experimentrepo_framework.py
rwblair/expfactory-deploy
509b74fc16b70234b448a727c4fe7759fb6057c8
[ "MIT" ]
null
null
null
expfactory_deploy/experiments/migrations/0014_experimentrepo_framework.py
rwblair/expfactory-deploy
509b74fc16b70234b448a727c4fe7759fb6057c8
[ "MIT" ]
null
null
null
expfactory_deploy/experiments/migrations/0014_experimentrepo_framework.py
rwblair/expfactory-deploy
509b74fc16b70234b448a727c4fe7759fb6057c8
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2022-03-08 15:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('experiments', '0013_auto_20211119_2336'), ] operations = [ migrations.AddField( model_name='exp...
25.15
121
0.656064
57
503
5.684211
0.684211
0.074074
0.08642
0.135802
0
0
0
0
0
0
0
0.079897
0.228628
503
19
122
26.473684
0.755155
0.089463
0
0
1
0
0.171053
0.096491
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5262a146f4fe6bb405406fb77ba1dd5bb47b9825
336
py
Python
src/setup.py
EasyMicroPython/EMP
8d865c22e8415d5b2ac7ddf9909b66990452748d
[ "MIT" ]
3
2019-02-23T04:27:56.000Z
2021-07-15T12:30:29.000Z
src/setup.py
Easy-MicroPython/EMP
8d865c22e8415d5b2ac7ddf9909b66990452748d
[ "MIT" ]
1
2020-02-06T14:24:07.000Z
2020-02-06T14:24:07.000Z
src/setup.py
EasyMicroPython/EMP-EXT
8d865c22e8415d5b2ac7ddf9909b66990452748d
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name='emp-ext', version='1.14', py_modules=['emp_wifi', 'emp_webide', 'emp_ide', 'emp_utils'], author='singein', author_email='singein@outlook.com', url='http://emp.1zlab.com', description='EMP(Easy MicroPython) is a upy module to make things Easy on ...
28
91
0.675595
48
336
4.604167
0.75
0
0
0
0
0
0
0
0
0
0
0.014286
0.166667
336
11
92
30.545455
0.775
0
0
0
0
0
0.488095
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
5262c658515af324c2b3dc009025011f7c7ce13a
480
py
Python
app/content/models/badge.py
TIHLDE/Lepton
60ec0793381f1c1b222f305586e8c2d4345fb566
[ "MIT" ]
7
2021-03-04T18:49:12.000Z
2021-03-08T18:25:51.000Z
app/content/models/badge.py
TIHLDE/Lepton
60ec0793381f1c1b222f305586e8c2d4345fb566
[ "MIT" ]
251
2021-03-04T19:19:14.000Z
2022-03-31T14:47:53.000Z
app/content/models/badge.py
tihlde/Lepton
5cab3522c421b76373a5c25f49267cfaef7b826a
[ "MIT" ]
3
2021-10-05T19:03:04.000Z
2022-02-25T13:32:09.000Z
import uuid from django.db import models from app.util.models import BaseModel, OptionalImage class Badge(BaseModel, OptionalImage): id = models.UUIDField( auto_created=True, primary_key=True, default=uuid.uuid4, serialize=False, ) title = models.CharField(max_length=200) description = model...
24
81
0.708333
59
480
5.59322
0.661017
0.133333
0.109091
0.145455
0.163636
0
0
0
0
0
0
0.018088
0.19375
480
19
82
25.263158
0.834625
0
0
0
0
0
0.08125
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0.076923
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5267f66ff427f0c0f68a329d6315460ba96446bf
6,230
py
Python
nfdi/nel.py
UB-Mannheim/NFDI
a66d3bdbf967ea508f5281dec4595a6005fb8f21
[ "MIT" ]
1
2021-10-01T18:37:17.000Z
2021-10-01T18:37:17.000Z
nfdi/nel.py
UB-Mannheim/NFDI
a66d3bdbf967ea508f5281dec4595a6005fb8f21
[ "MIT" ]
null
null
null
nfdi/nel.py
UB-Mannheim/NFDI
a66d3bdbf967ea508f5281dec4595a6005fb8f21
[ "MIT" ]
1
2021-09-29T15:51:55.000Z
2021-09-29T15:51:55.000Z
import spacy class linker(): def __init__(self, text="", language="en"): nlp = spacy.blank(language) ruler = nlp.add_pipe("entity_ruler") patterns = [{'label': 'ORG', 'pattern': 'BERD@NFDI', 'id': 'Q108542181'}, {"label": "ORG", "pattern": "BERD-NFDI", "id": "Q108542181...
63.571429
179
0.486517
553
6,230
5.43038
0.294756
0.109224
0.204795
0.037962
0.57376
0.258741
0.237429
0.221112
0.18648
0.177489
0
0.089355
0.342536
6,230
97
180
64.226804
0.643799
0
0
0.266667
0
0.011111
0.4313
0.004013
0
0
0
0
0
1
0.044444
false
0
0.011111
0
0.066667
0.044444
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
526d6a8886346ab9b4111d8cf37b93bc72d77a1e
1,274
py
Python
Advent-Of-Code-2016/05-Hash-Password/05-Hash-Password.py
adriano-arce/Interview-Problems
a29767ba9ececfe1209fd6cc2153eb342d57fc23
[ "MIT" ]
1
2015-10-16T17:35:12.000Z
2015-10-16T17:35:12.000Z
Advent-Of-Code-2016/05-Hash-Password/05-Hash-Password.py
adriano-arce/Interview-Problems
a29767ba9ececfe1209fd6cc2153eb342d57fc23
[ "MIT" ]
null
null
null
Advent-Of-Code-2016/05-Hash-Password/05-Hash-Password.py
adriano-arce/Interview-Problems
a29767ba9ececfe1209fd6cc2153eb342d57fc23
[ "MIT" ]
null
null
null
import hashlib def part_one(door_id): print('Starting part one...') password = ['_'] * 8 index = 0 for i in range(len(password)): print(' [%7d] Password so far: %s' % (index, ''.join(password))) h = hashlib.md5((door_id + str(index)).encode('utf-8')).hexdigest() index += 1 ...
28.954545
79
0.532182
174
1,274
3.758621
0.264368
0.082569
0.067278
0.091743
0.769113
0.669725
0.590214
0.590214
0.590214
0.590214
0
0.046386
0.27237
1,274
43
80
29.627907
0.659115
0
0
0.411765
0
0
0.16405
0
0
0
0
0
0
1
0.088235
false
0.323529
0.029412
0
0.117647
0.176471
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
526f3b415c639834ba1212387bf5dbf5c5cbc063
2,707
py
Python
core/migrations/0004_auto_20160830_1745.py
EthanMarrs/digit2
207569a3b7a61282a2d0bd5f354a837ad81ef55d
[ "BSD-2-Clause" ]
null
null
null
core/migrations/0004_auto_20160830_1745.py
EthanMarrs/digit2
207569a3b7a61282a2d0bd5f354a837ad81ef55d
[ "BSD-2-Clause" ]
null
null
null
core/migrations/0004_auto_20160830_1745.py
EthanMarrs/digit2
207569a3b7a61282a2d0bd5f354a837ad81ef55d
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-08-30 15:45 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependenc...
39.231884
153
0.6099
269
2,707
5.962825
0.32342
0.044888
0.069825
0.109726
0.466334
0.424564
0.36596
0.36596
0.36596
0.339152
0
0.016056
0.263761
2,707
68
154
39.808824
0.788761
0.024381
0
0.377049
1
0
0.122062
0.008719
0
0
0
0
0
1
0
false
0
0.065574
0
0.114754
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
527012258159ec73955329432621daf538c97132
760
py
Python
common_problems/arrays/1.1.1.StringUniqueCharacters-1.py
praisetompane/3_programming
dd3e2e89a36a613d895fdbdd9c03845cb648fddf
[ "MIT" ]
null
null
null
common_problems/arrays/1.1.1.StringUniqueCharacters-1.py
praisetompane/3_programming
dd3e2e89a36a613d895fdbdd9c03845cb648fddf
[ "MIT" ]
null
null
null
common_problems/arrays/1.1.1.StringUniqueCharacters-1.py
praisetompane/3_programming
dd3e2e89a36a613d895fdbdd9c03845cb648fddf
[ "MIT" ]
null
null
null
def contain_all_unique_characters(s): letter_count = {} for i in range(0, len(s)): key = s[i] if(key in letter_count): letter_count[key] += 1 else: letter_count[key] = 1 if(letter_count[key] > 1): return False return True s1 = 'gofreetech' #false print(contain_a...
22.352941
79
0.627632
107
760
4.271028
0.420561
0.16849
0.175055
0.284464
0.297593
0.229759
0
0
0
0
0
0.02139
0.261842
760
34
80
22.352941
0.793226
0.022368
0
0
0
0
0.033797
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.176471
0.235294
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
52736e2eac7bfebaa167ea51d9f5ca536aa20cca
1,175
py
Python
ThirdParty/Twisted/twisted/internet/test/modulehelpers.py
OpenGeoscience/VTK
a373e975b9284a022f43a062ebf5042bb17b4e44
[ "BSD-3-Clause" ]
3
2016-02-01T02:29:51.000Z
2020-09-04T17:19:24.000Z
ThirdParty/Twisted/twisted/internet/test/modulehelpers.py
OpenGeoscience/VTK
a373e975b9284a022f43a062ebf5042bb17b4e44
[ "BSD-3-Clause" ]
4
2017-02-19T23:58:13.000Z
2019-11-01T15:31:22.000Z
ThirdParty/Twisted/twisted/internet/test/modulehelpers.py
OpenGeoscience/VTK
a373e975b9284a022f43a062ebf5042bb17b4e44
[ "BSD-3-Clause" ]
6
2017-02-13T09:11:02.000Z
2021-06-29T11:22:18.000Z
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Testing helpers related to the module system. """ from __future__ import division, absolute_import __all__ = ['NoReactor'] import twisted.internet from twisted.test.test_twisted import SetAsideModule class NoReactor(SetAsideModule): "...
26.704545
77
0.666383
126
1,175
5.944444
0.531746
0.160214
0.205607
0.066756
0.085447
0
0
0
0
0
0
0
0.251915
1,175
43
78
27.325581
0.852105
0.23234
0
0.095238
0
0
0.09289
0.082569
0
0
0
0
0
1
0.142857
false
0.047619
0.142857
0
0.333333
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
5298f508d44a7f82830a084b61a8437404cc734b
1,362
py
Python
RhythmPy/interface.py
richard-duong/RhythmPy
5c1bb3c7e2820c0eee58e65db14ba811de690fee
[ "MIT" ]
null
null
null
RhythmPy/interface.py
richard-duong/RhythmPy
5c1bb3c7e2820c0eee58e65db14ba811de690fee
[ "MIT" ]
null
null
null
RhythmPy/interface.py
richard-duong/RhythmPy
5c1bb3c7e2820c0eee58e65db14ba811de690fee
[ "MIT" ]
null
null
null
from os import system, name from time import sleep from RhythmPy.internal.constants import * from RhythmPy.parser import Parser class Interface: def __init__(self, symbol: str = ">"): self.symbol = symbol def prompt(self): print(f"{self.symbol}", end=" ") def welcome_menu(self): ...
25.698113
62
0.529369
146
1,362
4.876712
0.479452
0.098315
0.036517
0
0
0
0
0
0
0
0
0
0.321586
1,362
52
63
26.192308
0.770563
0
0
0.142857
0
0
0.309838
0.015419
0
0
0
0
0
1
0.119048
false
0
0.095238
0
0.238095
0.642857
0
0
0
null
0
0
0
0
0
0
0
0
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
bfda12b25ea5714ddc8c913ab65281e0ce242df4
900
py
Python
soundpy/models/__init__.py
a-n-rose/Python-Sound-Tool
4cb9ab7b55da9808da8dec3bc33759a7615ad4ed
[ "RSA-MD" ]
52
2019-10-13T07:43:51.000Z
2022-01-13T19:58:01.000Z
soundpy/models/__init__.py
a-n-rose/Python-Sound-Tool
4cb9ab7b55da9808da8dec3bc33759a7615ad4ed
[ "RSA-MD" ]
7
2019-10-13T08:40:58.000Z
2021-04-09T13:18:13.000Z
soundpy/models/__init__.py
a-n-rose/Python-Sound-Tool
4cb9ab7b55da9808da8dec3bc33759a7615ad4ed
[ "RSA-MD" ]
4
2019-10-13T07:43:44.000Z
2021-04-13T12:16:17.000Z
from .dataprep import Generator, GeneratorFeatExtraction, make_gen_callable from .template_models import cnn_classifier, autoencoder_denoise, resnet50_classifier, \ cnnlstm_classifier from .modelsetup import setup_callbacks, setup_layers from . import plot from . import builtin from .builtin import denoiser_train, ...
56.25
90
0.772222
92
900
7.108696
0.304348
0.165138
0.045872
0.094801
0.538226
0.431193
0.281346
0.281346
0.281346
0.281346
0
0.010323
0.138889
900
15
91
60
0.833548
0
0
0
0
0
0.326667
0.078889
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
bfdb4d013a308a00847a4737e4a59a3bcf39e407
13,509
py
Python
cdad/cdadmap/management/commands/import_data.py
NiJeLorg/CDADMap
1f03dccf57951748155a0094a5aec3253183c412
[ "MIT" ]
null
null
null
cdad/cdadmap/management/commands/import_data.py
NiJeLorg/CDADMap
1f03dccf57951748155a0094a5aec3253183c412
[ "MIT" ]
null
null
null
cdad/cdadmap/management/commands/import_data.py
NiJeLorg/CDADMap
1f03dccf57951748155a0094a5aec3253183c412
[ "MIT" ]
null
null
null
import sys,os from django.core.management.base import BaseCommand, CommandError from cdadmap.models import * import csv """ Loads original CDAD data from CSV """ class Command(BaseCommand): def load_data_contact(self): __location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file...
50.219331
93
0.529721
1,302
13,509
5.333333
0.145161
0.017281
0.017281
0.028802
0.330789
0.229551
0.197005
0.155818
0.155818
0.138825
0
0.03213
0.384855
13,509
268
94
50.406716
0.80349
0.064179
0
0.114407
0
0
0.020038
0
0
0
0
0
0
0
null
null
0
0.016949
null
null
0.016949
0
0
0
null
0
0
0
0
0
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
bfe66db378e3fc697f0f2fe4cde570cc5e1cfc06
5,269
py
Python
hooks/post_gen_project.py
coddingtonbear/cookiecutter-pylibrary
c8b5936226340d966a8f2b44bbfc5b1c2f6f9816
[ "BSD-2-Clause" ]
null
null
null
hooks/post_gen_project.py
coddingtonbear/cookiecutter-pylibrary
c8b5936226340d966a8f2b44bbfc5b1c2f6f9816
[ "BSD-2-Clause" ]
null
null
null
hooks/post_gen_project.py
coddingtonbear/cookiecutter-pylibrary
c8b5936226340d966a8f2b44bbfc5b1c2f6f9816
[ "BSD-2-Clause" ]
null
null
null
from __future__ import print_function import datetime import os import shutil import subprocess import sys from os.path import join try: from click.termui import secho except ImportError: warn = note = print else: def warn(text): for line in text.splitlines(): secho(line, fg="white", b...
32.128049
138
0.449421
461
5,269
4.9718
0.37961
0.047993
0.08726
0.090314
0.251745
0.172339
0.095986
0.033159
0.033159
0
0
0.004394
0.352059
5,269
163
139
32.325153
0.66696
0
0
0.306569
0
0.007299
0.5762
0.152021
0
0
0
0
0
0
null
null
0
0.080292
null
null
0.021898
0
0
0
null
0
0
0
0
0
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
bfeaf09553103b7d9870986d8f4bbaee4cde2a0b
927
py
Python
koch.py
AvantikaNaik/fractals
e8dee94ed474712e58cc02a89c02cfad2952927e
[ "MIT" ]
null
null
null
koch.py
AvantikaNaik/fractals
e8dee94ed474712e58cc02a89c02cfad2952927e
[ "MIT" ]
null
null
null
koch.py
AvantikaNaik/fractals
e8dee94ed474712e58cc02a89c02cfad2952927e
[ "MIT" ]
null
null
null
import turtle import time def drawKochSide(length, level): if (level == 1): turtle.forward(length) else: drawKochSide(length/3, level-1) turtle.left(60) drawKochSide(length/3, level-1) turtle.right(120) drawKochSide(length/3, level-1) turtle....
21.55814
40
0.588997
107
927
5.102804
0.383178
0.197802
0.087912
0.175824
0.238095
0.238095
0.227106
0.227106
0.227106
0.227106
0
0.069173
0.282632
927
43
41
21.55814
0.75188
0.014024
0
0.352941
0
0
0.013761
0
0
0
0
0
0
1
0.088235
false
0
0.058824
0
0.147059
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
bff42b2aa85f0f11e4da5545d4a924a08b994ba4
2,375
py
Python
tests/test_videos/factories.py
pyvideo/richard
894f5380e07d7e66453fe730891a21aca32d8edb
[ "Apache-2.0" ]
51
2015-01-24T07:53:56.000Z
2020-08-30T12:19:39.000Z
tests/test_videos/factories.py
westurner/richard
894f5380e07d7e66453fe730891a21aca32d8edb
[ "Apache-2.0" ]
34
2015-02-23T11:15:00.000Z
2016-01-04T11:25:42.000Z
tests/test_videos/factories.py
westurner/richard
894f5380e07d7e66453fe730891a21aca32d8edb
[ "Apache-2.0" ]
16
2015-03-20T17:36:09.000Z
2022-01-07T01:04:17.000Z
# richard -- video index system # Copyright (C) 2012, 2013, 2014, 2015 richard contributors. See AUTHORS. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the Licens...
28.27381
81
0.732632
296
2,375
5.841216
0.462838
0.101215
0.05668
0.080972
0.244072
0.167727
0.10989
0.070561
0.070561
0.070561
0
0.01083
0.183579
2,375
83
82
28.614458
0.880866
0.308632
0
0.302326
0
0
0.015375
0
0
0
0
0
0
1
0
false
0
0.162791
0
0.790698
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
bffa0c35afe8af4a40b8c7411791c6cc7b830aab
12,066
py
Python
configuration_client.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
null
null
null
configuration_client.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
1
2019-10-22T21:28:31.000Z
2019-10-22T21:39:12.000Z
configuration_client.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
2
2019-06-06T15:06:46.000Z
2020-07-20T02:03:22.000Z
""" Data base to save and recall motor positions Author: Friedrich Schotte Date created: 2019-05-24 Date last modified: 2019-05-31 """ __version__ = "1.3" # monitor from logging import debug,info,warn,error class Configuration_Property(property): pass class Motor_Property(property): pass from classproperty import cl...
41.895833
91
0.647439
1,365
12,066
5.441758
0.150916
0.11874
0.012116
0.013463
0.165051
0.115105
0.072698
0.045504
0.045504
0.036887
0
0.004778
0.236781
12,066
287
92
42.041812
0.801824
0.081054
0
0.161435
0
0.004484
0.096443
0.031482
0
0
0
0
0
1
0.197309
false
0.008969
0.058296
0.076233
0.560538
0.040359
0
0
0
null
0
0
0
0
0
0
0
0
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
bffaba2e816c60c007171870aa16833b672ef929
2,643
py
Python
test/claims.py
pataei/petr4
28b87fbda7baaab1cf637da4fcac81f84bd7992e
[ "Apache-2.0" ]
49
2019-03-26T21:46:05.000Z
2021-06-02T16:45:36.000Z
test/claims.py
pataei/petr4
28b87fbda7baaab1cf637da4fcac81f84bd7992e
[ "Apache-2.0" ]
223
2019-05-12T03:12:30.000Z
2021-08-11T14:20:35.000Z
test/claims.py
pataei/petr4
28b87fbda7baaab1cf637da4fcac81f84bd7992e
[ "Apache-2.0" ]
16
2019-06-17T20:09:09.000Z
2021-06-07T17:23:02.000Z
#!/usr/bin/env python3 import json import os import re import subprocess def run_in_dir(working_dir, cmdline): old_working_dir = os.getcwd() os.chdir(working_dir) try: completed = subprocess.run(cmdline, capture_output=True) return completed.stdout.decode("utf-8") finally: os.ch...
38.867647
100
0.6958
368
2,643
4.690217
0.266304
0.041715
0.031286
0.033024
0.179027
0.141947
0.112978
0.060834
0.042874
0.042874
0
0.009677
0.178963
2,643
67
101
39.447761
0.785714
0.007946
0
0
0
0.016667
0.327738
0.07707
0
0
0
0
0
1
0.066667
false
0.083333
0.083333
0
0.2
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
bffdfa8bb79a042416626659d157c1ce7f89b3f2
9,287
py
Python
src/sagemaker/deserializers.py
wuchih-amazon/sagemaker-python-sdk
716b2591d7c050a1ecb26d91cda1733302dd38a5
[ "Apache-2.0" ]
1
2020-09-28T11:28:40.000Z
2020-09-28T11:28:40.000Z
src/sagemaker/deserializers.py
wuchih-amazon/sagemaker-python-sdk
716b2591d7c050a1ecb26d91cda1733302dd38a5
[ "Apache-2.0" ]
null
null
null
src/sagemaker/deserializers.py
wuchih-amazon/sagemaker-python-sdk
716b2591d7c050a1ecb26d91cda1733302dd38a5
[ "Apache-2.0" ]
null
null
null
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" fil...
32.585965
96
0.638419
1,101
9,287
5.320618
0.213442
0.058211
0.035848
0.054968
0.535507
0.462957
0.443155
0.404916
0.358655
0.333732
0
0.003112
0.273393
9,287
284
97
32.700704
0.864997
0.523204
0
0.494624
0
0
0.073445
0.005755
0
0
0
0
0
1
0.150538
false
0
0.107527
0
0.55914
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
8702cb18fa37164ae1068b366038ffc984ec877d
517
py
Python
lifedb/inputs/rescuetime.py
lifedb/lifedb
06efd39338aeb82a7784650d389b6a9401fdf5b3
[ "MIT" ]
null
null
null
lifedb/inputs/rescuetime.py
lifedb/lifedb
06efd39338aeb82a7784650d389b6a9401fdf5b3
[ "MIT" ]
null
null
null
lifedb/inputs/rescuetime.py
lifedb/lifedb
06efd39338aeb82a7784650d389b6a9401fdf5b3
[ "MIT" ]
null
null
null
import requests from lifedb import Config # Documentation: https://www.rescuetime.com/anapi/setup/documentation class RescueTime(): def __init__(self): self.baseURL = 'https://www.rescuetime.com/anapi/data' self.apiKey = Config().get('RESCUETIME_API_KEY') print self.apiKey def get(...
23.5
69
0.62089
58
517
5.431034
0.517241
0.095238
0.114286
0.133333
0.165079
0
0
0
0
0
0
0
0.253385
517
21
70
24.619048
0.816062
0.129594
0
0
0
0
0.151786
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.214286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8717445499e6f1b92000565df51055ff42d0977b
22,426
py
Python
website/unit_test.py
LegallGuillaume/MyCompta
adef2afe96eefb5a92fd2740a3b18b884b87484d
[ "BSD-2-Clause" ]
null
null
null
website/unit_test.py
LegallGuillaume/MyCompta
adef2afe96eefb5a92fd2740a3b18b884b87484d
[ "BSD-2-Clause" ]
1
2020-07-16T06:14:34.000Z
2020-07-16T10:42:36.000Z
website/unit_test.py
LegallGuillaume/MyCompta
adef2afe96eefb5a92fd2740a3b18b884b87484d
[ "BSD-2-Clause" ]
null
null
null
import unittest import os import logging from models.client import ClientDAO, Client from models.db import DbDAO, DB from models.insurance import InsuranceDAO, Insurance from models.invoice import InvoiceDAO, Invoice from models.profile import ProfileDAO, Profile from models.quotation.quotation import QuotationDAO, Quo...
68.58104
135
0.698787
3,093
22,426
4.990947
0.073715
0.023644
0.039062
0.078124
0.562156
0.47574
0.379867
0.254907
0.150742
0.08972
0
0.014647
0.181084
22,426
326
136
68.791411
0.825919
0
0
0.031646
0
0.003165
0.299563
0.001694
0
0
0
0
0.525316
1
0.041139
false
0.006329
0.031646
0
0.094937
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
871991dad63c4ad8fa8f544adf07fd38c0c561b5
23,486
py
Python
elijah/provisioning/migration_profile.py
cmusatyalab/nephele
2309aa9c943300c5a1a0c6be8877902f0d4df102
[ "Apache-2.0" ]
3
2020-05-07T12:05:24.000Z
2021-09-26T23:26:30.000Z
elijah/provisioning/migration_profile.py
cmusatyalab/nephele
2309aa9c943300c5a1a0c6be8877902f0d4df102
[ "Apache-2.0" ]
3
2020-03-26T14:09:15.000Z
2020-03-27T18:43:35.000Z
elijah/provisioning/migration_profile.py
cmusatyalab/nephele
2309aa9c943300c5a1a0c6be8877902f0d4df102
[ "Apache-2.0" ]
1
2021-09-26T23:26:34.000Z
2021-09-26T23:26:34.000Z
#!/usr/bin/env python import sys import os import ast import json import math from collections import OrderedDict from .configuration import VMOverlayCreationMode from operator import itemgetter import logging LOG = logging.getLogger(__name__) _process_controller = None stage_names = ["CreateMemoryDeltalist", ...
38.755776
201
0.616495
2,973
23,486
4.529432
0.111335
0.018194
0.020422
0.008911
0.372122
0.303728
0.262364
0.205778
0.154612
0.114659
0
0.021034
0.283403
23,486
605
202
38.819835
0.779085
0.037299
0
0.183752
0
0.007737
0.07678
0.017933
0
0
0
0
0
0
null
null
0.007737
0.017408
null
null
0.015474
0
0
0
null
0
0
0
0
0
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
871a37c41806f2818d221df8fdda465761e012df
1,034
py
Python
bluesky_widgets/examples/headless_figures.py
carez/bluesky-widgets
193db00e47d8ddf40a5eb68073a49545771ca8e4
[ "BSD-3-Clause" ]
4
2020-07-16T20:51:10.000Z
2021-08-04T20:21:50.000Z
bluesky_widgets/examples/headless_figures.py
danielballan/stream-widgets
8f5e8cec0cd08f6f3e6e17a3467818c85e643f56
[ "BSD-3-Clause" ]
124
2020-07-17T12:21:13.000Z
2022-03-30T13:44:31.000Z
bluesky_widgets/examples/headless_figures.py
danielballan/stream-widgets
8f5e8cec0cd08f6f3e6e17a3467818c85e643f56
[ "BSD-3-Clause" ]
18
2020-07-16T20:36:45.000Z
2021-09-12T17:33:43.000Z
""" Run like: python -m bluesky_widgets.examples.headless_figures and it will print to stdout the names of the figures that it creates, one per line """ import tempfile from bluesky import RunEngine from bluesky.plans import scan from ophyd.sim import motor, det from bluesky_widgets.utils.streaming import stream_do...
24.619048
82
0.77176
153
1,034
5.065359
0.529412
0.085161
0.092903
0.059355
0
0
0
0
0
0
0
0.00885
0.125725
1,034
41
83
25.219512
0.848451
0.141199
0
0
0
0
0.030682
0
0
0
0
0
0
1
0.045455
false
0
0.363636
0
0.409091
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
872002756a9a0862e74b1130f0b4c4766bb9e758
1,496
py
Python
SoloLearnPython3/Part_2/sketch_5a.py
mahmoudmheisen91/Python_EDU
3ca08f65bb219335502159a6d13617b9a73c3b7e
[ "MIT" ]
null
null
null
SoloLearnPython3/Part_2/sketch_5a.py
mahmoudmheisen91/Python_EDU
3ca08f65bb219335502159a6d13617b9a73c3b7e
[ "MIT" ]
null
null
null
SoloLearnPython3/Part_2/sketch_5a.py
mahmoudmheisen91/Python_EDU
3ca08f65bb219335502159a6d13617b9a73c3b7e
[ "MIT" ]
null
null
null
# Dicitionary: dic = { "one": 1, "two": 2, "three": 3, } print(dic["one"]) dic["four"] = 4 dic[5] = 6 print(dic) print(6 in dic) print(5 in dic) print(dic.get("one")) print(dic.get(7, "do not exists")) print(8*"-") # Tubles: tup = (1, 2, 3, 4) print(tup[1]) tup = 1, 2, 3, 4, 4 print(tup) tup = (1,) pri...
17.395349
50
0.548128
295
1,496
2.769492
0.274576
0.051408
0.044064
0.019584
0.215422
0.053856
0
0
0
0
0
0.089943
0.182487
1,496
85
51
17.6
0.578087
0.032086
0
0.140625
0
0
0.167129
0
0
0
0
0
0
1
0
false
0
0
0
0
0.640625
0
0
0
null
0
0
0
0
0
0
0
0
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
872430897fdd913765b1e57ac774c7220a6fffb1
8,568
py
Python
pyaltitude/model.py
sdizazzo/pyaltitude
9789a633fe8f9093308978b1de543f5adc8070c8
[ "MIT" ]
1
2020-03-17T07:45:11.000Z
2020-03-17T07:45:11.000Z
pyaltitude/model.py
sdizazzo/pyaltitude
9789a633fe8f9093308978b1de543f5adc8070c8
[ "MIT" ]
19
2020-02-14T05:56:22.000Z
2020-08-15T22:04:24.000Z
pyaltitude/model.py
sdizazzo/pyaltitude
9789a633fe8f9093308978b1de543f5adc8070c8
[ "MIT" ]
null
null
null
from datetime import datetime from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship from sqlalchemy import Column, Integer, String, Boolean, ForeignKey, Enum, DateTime from sqlalchemy import Table from sqlalchemy.dialects.postgresql import UUID Base = declarative_base() ...
38.421525
460
0.694094
1,067
8,568
5.405811
0.208997
0.09466
0.090153
0.09466
0.354022
0.261096
0.206831
0.191574
0.167649
0.167649
0
0.008974
0.1676
8,568
222
461
38.594595
0.799776
0.106676
0
0.267123
0
0.020548
0.158903
0.035166
0
0
0
0.004505
0
1
0.034247
false
0
0.054795
0.034247
0.815068
0.006849
0
0
0
null
0
0
0
0
0
0
0
0
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
8724595ff5cdf33cc7033c23c7542d58042e448d
1,699
py
Python
controller/auth/admin.py
relarizky/flask-pre-order
d336c179414892a8fad4bdbe63c8cb5449921729
[ "MIT" ]
null
null
null
controller/auth/admin.py
relarizky/flask-pre-order
d336c179414892a8fad4bdbe63c8cb5449921729
[ "MIT" ]
null
null
null
controller/auth/admin.py
relarizky/flask-pre-order
d336c179414892a8fad4bdbe63c8cb5449921729
[ "MIT" ]
null
null
null
# Author : Relarizky # Github : https://github.com/relarizky # File Name : controller/auth/admin.py # Last Modified : 01/30/21, 14:00 PM # Copyright © Relarizky 2021 from app.model import Admin from flask import render_template, request, url_for, redirect, session, flash from flask_login import login_user, log...
26.138462
77
0.708652
228
1,699
5.078947
0.377193
0.031088
0.037997
0.041451
0.139033
0.058722
0.058722
0
0
0
0
0.009957
0.172454
1,699
64
78
26.546875
0.812945
0.159506
0
0.181818
0
0
0.150327
0.037037
0
0
0
0
0
1
0.090909
false
0.090909
0.181818
0
0.363636
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
872b34225d36f345767f7796559b231df5f50776
12,117
py
Python
src/mysql-loader.py
AgileMedicine/GenomeDataManagementResearch
2535390b6f36fc45197b9cb2cdf54cd823bd4b1f
[ "MIT" ]
1
2015-11-04T14:37:23.000Z
2015-11-04T14:37:23.000Z
src/mysql-loader.py
AgileMedicine/GenomeDataManagementResearch
2535390b6f36fc45197b9cb2cdf54cd823bd4b1f
[ "MIT" ]
null
null
null
src/mysql-loader.py
AgileMedicine/GenomeDataManagementResearch
2535390b6f36fc45197b9cb2cdf54cd823bd4b1f
[ "MIT" ]
null
null
null
import argparse import csv, os, time import MySQLdb # http://sourceforge.net/projects/mysql-python/ import result from result import Result import gspread, getpass # https://pypi.python.org/pypi/gspread/ (v0.1.0) # Get command line arguments parser = argparse.ArgumentParser(description='Load SNP and locus data') pars...
34.521368
169
0.638689
1,535
12,117
5.002606
0.224104
0.023961
0.026566
0.020055
0.260841
0.209532
0.166949
0.140904
0.140904
0.108347
0
0.013607
0.235784
12,117
351
170
34.521368
0.815659
0.138978
0
0.273077
0
0.019231
0.247038
0.005008
0
0
0
0
0
0
null
null
0.034615
0.023077
null
null
0.069231
0
0
0
null
0
0
0
0
0
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
8732060db510581dff28c7952b80edd466910f7c
3,987
py
Python
zhixuewang/session.py
lihaoze123/zhixuewang-python
7a54bb1ae96f74d3bb3a0845f3b084bb5942f758
[ "MIT" ]
22
2019-01-21T03:49:44.000Z
2020-02-13T08:43:01.000Z
zhixuewang/session.py
lihaoze123/zhixuewang-python
7a54bb1ae96f74d3bb3a0845f3b084bb5942f758
[ "MIT" ]
10
2019-01-21T03:50:23.000Z
2020-01-03T13:06:49.000Z
zhixuewang/session.py
lihaoze123/zhixuewang-python
7a54bb1ae96f74d3bb3a0845f3b084bb5942f758
[ "MIT" ]
3
2019-02-17T06:12:35.000Z
2019-10-29T13:24:06.000Z
import json import requests from zhixuewang.exceptions import LoginError, UserNotFoundError, UserOrPassError from zhixuewang.tools.password_helper import base64_encode, encode_password from zhixuewang.urls import Url def get_basic_session() -> requests.Session: session = requests.Session() session.headers[ ...
30.204545
93
0.558315
411
3,987
5.306569
0.306569
0.048143
0.024759
0.023842
0.307199
0.259514
0.215497
0.215497
0.215497
0.215497
0
0.023163
0.306998
3,987
132
94
30.204545
0.766196
0.196639
0
0.239437
0
0.028169
0.168754
0
0
0
0
0
0
1
0.070423
false
0.197183
0.070423
0
0.225352
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
873485922e32080319183a1860c2b4881a5d1722
228
py
Python
CursoEmVideo/Aula14/ex057.py
lucashsouza/Desafios-Python
abb5b11ebdfd4c232b4f0427ef41fd96013f2802
[ "MIT" ]
null
null
null
CursoEmVideo/Aula14/ex057.py
lucashsouza/Desafios-Python
abb5b11ebdfd4c232b4f0427ef41fd96013f2802
[ "MIT" ]
null
null
null
CursoEmVideo/Aula14/ex057.py
lucashsouza/Desafios-Python
abb5b11ebdfd4c232b4f0427ef41fd96013f2802
[ "MIT" ]
null
null
null
resp = str(input('Informe seu sexo [M/F]: ')).strip().upper()[0] while resp not in 'MmFf': resp = str(input('Dados inválidos! Informe seu sexo: ')).strip().upper()[0] print('Sexo {} registrado com sucesso'.format(resp))
45.6
80
0.644737
34
228
4.323529
0.647059
0.095238
0.163265
0
0
0
0
0
0
0
0
0.010256
0.144737
228
5
81
45.6
0.74359
0
0
0
0
0
0.413333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
87455c57eb45b58bac66481bce583370c48cdd3c
7,219
py
Python
training/train_ethnicity_race.py
sciosci/demographicx
38c3d5511295414cc1bf58372398bb6ba78e9586
[ "MIT" ]
10
2021-06-06T18:43:14.000Z
2021-11-30T03:31:00.000Z
training/train_ethnicity_race.py
sciosci/demographicx
38c3d5511295414cc1bf58372398bb6ba78e9586
[ "MIT" ]
6
2021-05-07T03:28:18.000Z
2021-06-03T22:18:03.000Z
training/train_ethnicity_race.py
sciosci/demographicx
38c3d5511295414cc1bf58372398bb6ba78e9586
[ "MIT" ]
2
2021-05-06T19:16:18.000Z
2021-05-10T21:34:04.000Z
import numpy as np import pandas as pd from sklearn.model_selection import train_test_split import torch from transformers import AutoModel, AutoTokenizer, BertTokenizer, BertForSequenceClassification from torch.utils.data import TensorDataset import transformers from tqdm.notebook import tqdm census10 = pd.read_csv(...
34.21327
128
0.630835
859
7,219
5.050058
0.250291
0.016598
0.021899
0.01314
0.189949
0.178884
0.126326
0.126326
0.101429
0.101429
0
0.021174
0.25419
7,219
211
129
34.21327
0.784547
0.026874
0
0.183099
0
0
0.078194
0.013531
0
0
0
0
0
0
null
null
0
0.084507
null
null
0.014085
0
0
0
null
0
0
0
0
0
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
8746890290bf43894664b39192400836b2665b3c
2,748
py
Python
tests/test_model/test_select.py
klen/peewee-aio
723c5f5333f5a814fefe682b175faadb9e86f747
[ "MIT" ]
5
2021-09-07T13:39:47.000Z
2022-01-14T16:01:26.000Z
tests/test_model/test_select.py
klen/peewee-aio
723c5f5333f5a814fefe682b175faadb9e86f747
[ "MIT" ]
1
2021-11-01T06:28:12.000Z
2021-11-01T12:05:50.000Z
tests/test_model/test_select.py
klen/peewee-aio
723c5f5333f5a814fefe682b175faadb9e86f747
[ "MIT" ]
null
null
null
import pytest import peewee async def test_select(TestModel, schema): await TestModel.delete() inst = await TestModel.create(data='data') assert [inst] == await TestModel.select().where(TestModel.id == inst.id) async for data in TestModel.select(): assert data == inst assert await TestM...
26.941176
82
0.671033
364
2,748
4.989011
0.214286
0.138767
0.077093
0.085903
0.373348
0.197137
0.182819
0.160793
0.072687
0.072687
0
0.011526
0.210699
2,748
101
83
27.207921
0.825726
0
0
0.169014
0
0
0.020378
0
0
0
0
0
0.422535
1
0
false
0
0.028169
0
0.126761
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
87470cd06712fce397942db7b39cc847b12c8619
3,191
py
Python
cpims/cpovc_registry/admin.py
sizler20/cpims_update
23b86e40ca779b751383e268ad4fbf6a321ab211
[ "MIT" ]
null
null
null
cpims/cpovc_registry/admin.py
sizler20/cpims_update
23b86e40ca779b751383e268ad4fbf6a321ab211
[ "MIT" ]
null
null
null
cpims/cpovc_registry/admin.py
sizler20/cpims_update
23b86e40ca779b751383e268ad4fbf6a321ab211
[ "MIT" ]
1
2022-02-27T13:36:47.000Z
2022-02-27T13:36:47.000Z
"""Admin backend for editing some admin details.""" from django.contrib import admin from .models import (RegPerson, RegOrgUnit, RegOrgUnitsAuditTrail, RegPersonsAuditTrail, RegPersonsTypes, RegPersonsGeo, RegPersonsOrgUnits) from cpovc_auth.models import AppUser class Per...
29.82243
74
0.67095
338
3,191
5.991124
0.245562
0.026667
0.068148
0.088889
0.373333
0.373333
0.373333
0.334321
0.308148
0.145185
0
0
0.197117
3,191
106
75
30.103774
0.790398
0.114384
0
0.113208
0
0
0.252874
0
0
0
0
0
0
1
0.018868
false
0.018868
0.056604
0.018868
0.660377
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
8748f79e0f132f573ff8452bf4dc8ddcf5a7d493
459
gyp
Python
trunk/build/temp_gyp/googleurl.gyp
goddino/libjingle
9516bee51c73af4c3082e74b88ed1198a0eb2bb1
[ "BSL-1.0", "BSD-3-Clause" ]
7
2015-08-06T01:46:07.000Z
2020-10-20T09:14:58.000Z
build/temp_gyp/googleurl.gyp
hujiajie/pa-chromium
1816ff80336a6efd1616f9e936880af460b1e105
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
build/temp_gyp/googleurl.gyp
hujiajie/pa-chromium
1816ff80336a6efd1616f9e936880af460b1e105
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
16
2015-01-08T01:47:24.000Z
2022-02-25T06:06:06.000Z
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'chromium_code': 1, }, 'targets': [ { 'target_name': 'googleurl', 'type': 'none', 'dependencies': [ ...
20.863636
72
0.551198
53
459
4.660377
0.792453
0.048583
0.072874
0.097166
0.121457
0
0
0
0
0
0
0.015106
0.278867
459
21
73
21.857143
0.731118
0.346405
0
0.294118
0
0
0.486486
0.253378
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
87496f81b610008db1d5c2d95fe6e8e7e5030953
1,411
py
Python
saleor/account/migrations/0055_alter_user_options.py
BearerPipelineTest/saleor
1257145235cd2f59e932ac067ee18673fd5b6a54
[ "CC-BY-4.0" ]
null
null
null
saleor/account/migrations/0055_alter_user_options.py
BearerPipelineTest/saleor
1257145235cd2f59e932ac067ee18673fd5b6a54
[ "CC-BY-4.0" ]
null
null
null
saleor/account/migrations/0055_alter_user_options.py
BearerPipelineTest/saleor
1257145235cd2f59e932ac067ee18673fd5b6a54
[ "CC-BY-4.0" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-25 10:29 from django.db import migrations from django.db.models.signals import post_migrate def assing_permissions(apps, schema_editor): def on_migrations_complete(sender=None, **kwargs): Group = apps.get_model("auth", "Group") Permission = apps.get_model("au...
32.068182
83
0.615167
138
1,411
6.043478
0.507246
0.089928
0.028777
0.038369
0.06235
0
0
0
0
0
0
0.018465
0.27073
1,411
43
84
32.813953
0.792031
0.031892
0
0.060606
1
0
0.158358
0.021261
0
0
0
0
0
1
0.060606
false
0
0.060606
0
0.212121
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
874fd1f2ba70228bca6680f864212ca6f601b7bc
138
py
Python
supervisor/tests/fixtures/spew.py
orgsea/supervisor-py3k
34eec9cb4f6b8798155508bdf6b2e6f9e43466cf
[ "ZPL-2.1" ]
29
2017-03-06T11:20:50.000Z
2021-05-19T22:05:05.000Z
supervisor/tests/fixtures/spew.py
orgsea/supervisor-py3k
34eec9cb4f6b8798155508bdf6b2e6f9e43466cf
[ "ZPL-2.1" ]
1
2017-07-23T15:23:47.000Z
2017-07-23T15:31:02.000Z
supervisor/tests/fixtures/spew.py
orgsea/supervisor-py3k
34eec9cb4f6b8798155508bdf6b2e6f9e43466cf
[ "ZPL-2.1" ]
13
2017-03-02T11:52:39.000Z
2019-11-21T08:51:26.000Z
#!<<PYTHON>> import time counter = 0 while 1: time.sleep(0.01) print(("more spewage %s" % counter)) counter += 1
12.545455
40
0.536232
18
138
4.111111
0.722222
0
0
0
0
0
0
0
0
0
0
0.0625
0.304348
138
10
41
13.8
0.708333
0.07971
0
0
0
0
0.12931
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
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
8751741b04da988eb0285b8a2d51d356dab136f2
3,941
py
Python
trio_cdp/generated/animation.py
eNcacz/trio-chrome-devtools-protocol
6b30e52d5617d56f397604f80d30a8fed45b7090
[ "MIT" ]
null
null
null
trio_cdp/generated/animation.py
eNcacz/trio-chrome-devtools-protocol
6b30e52d5617d56f397604f80d30a8fed45b7090
[ "MIT" ]
null
null
null
trio_cdp/generated/animation.py
eNcacz/trio-chrome-devtools-protocol
6b30e52d5617d56f397604f80d30a8fed45b7090
[ "MIT" ]
null
null
null
# DO NOT EDIT THIS FILE! # # This code is generated off of PyCDP modules. If you need to make # changes, edit the generator and regenerate all of the modules. from __future__ import annotations import typing from ..context import get_connection_context, get_session_context import cdp.animation from cdp.animation imp...
27.950355
89
0.705405
491
3,941
5.507128
0.201629
0.057692
0.069157
0.088757
0.481509
0.369083
0.281435
0.157544
0.047337
0.047337
0
0
0.207815
3,941
140
90
28.15
0.866111
0.038061
0
0.098592
1
0
0.094141
0.064646
0
0
0
0
0
1
0
false
0
0.070423
0
0.211268
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
875ec9f5980ae4006e483fb09e4a32c7cc1d5558
1,599
py
Python
data_gen.py
GNovich/InsightFace_Pytorch
30ffb7bf3fddc2d2e6d740b4645926f65ba82f66
[ "MIT" ]
null
null
null
data_gen.py
GNovich/InsightFace_Pytorch
30ffb7bf3fddc2d2e6d740b4645926f65ba82f66
[ "MIT" ]
null
null
null
data_gen.py
GNovich/InsightFace_Pytorch
30ffb7bf3fddc2d2e6d740b4645926f65ba82f66
[ "MIT" ]
null
null
null
import os import pickle import cv2 as cv from PIL import Image from torch.utils.data import Dataset from torchvision import transforms from Arc_coll_config import IMG_DIR from Arc_coll_config import pickle_file from image_aug import image_aug # Data augmentation and normalization for training # Just normalization fo...
28.052632
93
0.62414
218
1,599
4.458716
0.348624
0.024691
0.030864
0.041152
0.307613
0.260288
0.260288
0.22428
0.22428
0.22428
0
0.062862
0.243902
1,599
56
94
28.553571
0.741108
0.162602
0
0.095238
0
0
0.024849
0
0
0
0
0.017857
0
1
0.071429
false
0
0.214286
0.02381
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
1
0
0
0
0
0
0
0
0
0
0
1
876766c561b859c70c957c43e586ea639ba523b8
329
py
Python
libraryuir/web/__init__.py
lijin688/libraryuir_backend
c61f4d01bf8a813fb191752067fbeac49363d5d7
[ "MIT" ]
null
null
null
libraryuir/web/__init__.py
lijin688/libraryuir_backend
c61f4d01bf8a813fb191752067fbeac49363d5d7
[ "MIT" ]
null
null
null
libraryuir/web/__init__.py
lijin688/libraryuir_backend
c61f4d01bf8a813fb191752067fbeac49363d5d7
[ "MIT" ]
null
null
null
import sys from flask import Flask, request from flask_cors import * def create_app(): app = Flask(__name__) app.config['JSON_AS_ASCII'] = False # server端支持跨域访问 CORS(app, supports_credentials=True) from libraryuir.web.book_view import views as book_view app.register_blueprint(book_view) r...
23.5
59
0.738602
46
329
5
0.586957
0.104348
0
0
0
0
0
0
0
0
0
0
0.18845
329
14
60
23.5
0.861423
0.039514
0
0
0
0
0.04127
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.6
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8767c2defee1ddba9d152cc3799159ec8c08e936
14,354
py
Python
beschi/writers/swift.py
sjml/beschi
f531c4bb182a1e0386c97a642cbf260b4173fae5
[ "MIT" ]
3
2022-02-22T12:21:28.000Z
2022-02-22T12:21:39.000Z
beschi/writers/swift.py
sjml/beschi
f531c4bb182a1e0386c97a642cbf260b4173fae5
[ "MIT" ]
null
null
null
beschi/writers/swift.py
sjml/beschi
f531c4bb182a1e0386c97a642cbf260b4173fae5
[ "MIT" ]
1
2022-02-22T23:51:02.000Z
2022-02-22T23:51:02.000Z
from ..protocol import Protocol, Variable, Struct, NUMERIC_TYPE_SIZES from ..writer import Writer from .. import LIB_NAME, LIB_VERSION LANGUAGE_NAME = "Swift" class SwiftWriter(Writer): language_name = LANGUAGE_NAME default_extension = ".swift" def __init__(self, p: Protocol, extra_args: dict[str,any] =...
42.847761
156
0.558451
1,665
14,354
4.634234
0.113514
0.13647
0.197123
0.103681
0.594997
0.528383
0.478745
0.400985
0.309357
0.277735
0
0.012971
0.301797
14,354
334
157
42.976048
0.756935
0
0
0.438538
0
0.016611
0.261669
0.092309
0
0
0
0
0.003322
1
0.019934
false
0
0.013289
0
0.049834
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
8768c12dcf5136a2165949341f7a6e6c3de174c2
829
py
Python
openslides_backend/action/actions/speaker/delete.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
5
2020-01-20T13:57:15.000Z
2021-03-27T14:14:44.000Z
openslides_backend/action/actions/speaker/delete.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
859
2020-01-11T22:58:37.000Z
2022-03-30T14:54:06.000Z
openslides_backend/action/actions/speaker/delete.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
16
2020-01-04T20:28:57.000Z
2022-02-10T12:06:54.000Z
from typing import Any, Dict from ....models.models import Speaker from ....permissions.permissions import Permissions from ....shared.patterns import FullQualifiedId from ...generics.delete import DeleteAction from ...util.default_schema import DefaultSchema from ...util.register import register_action @register_ac...
34.541667
79
0.721351
91
829
6.450549
0.450549
0.030664
0
0
0
0
0
0
0
0
0
0
0.165259
829
23
80
36.043478
0.848266
0
0
0
0
0
0.036188
0
0
0
0
0
0
1
0.052632
false
0
0.368421
0
0.684211
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
876a409c57c4b45c28cb622436406f6c3d3033b0
418
py
Python
systemfixtures/tests/test_network.py
alejdg/systemfixtures
d1c42d83c3dca2a36b52e8fc214639ebcb1cd8a1
[ "MIT" ]
13
2017-01-24T15:25:47.000Z
2022-01-06T23:56:06.000Z
systemfixtures/tests/test_network.py
cjwatson/systemfixtures
6ff52e224585d8fab2908dc08a22fe36dcaf93d4
[ "MIT" ]
10
2017-03-08T09:36:01.000Z
2022-02-09T11:08:00.000Z
systemfixtures/tests/test_network.py
cjwatson/systemfixtures
6ff52e224585d8fab2908dc08a22fe36dcaf93d4
[ "MIT" ]
5
2017-03-08T09:30:51.000Z
2022-02-05T23:22:25.000Z
import requests from testtools import TestCase from ..network import FakeNetwork class FakeGroupsTest(TestCase): def setUp(self): super(FakeGroupsTest, self).setUp() self.network = self.useFixture(FakeNetwork()) def test_get(self): self.network.get('http://test.com', text='data') ...
23.222222
56
0.672249
48
418
5.833333
0.458333
0.064286
0.078571
0.1
0
0
0
0
0
0
0
0
0.196172
418
17
57
24.588235
0.833333
0
0
0
0
0
0.090909
0
0
0
0
0
0.090909
1
0.181818
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
876cdd25bd6c170926affd14714731d33eb9c2f7
1,387
py
Python
proteinStructureParser.py
fabridigua/ML-1D-Convolutional-NN-for-Proteins-Solvent-Accessibility-Prediction
9e1b1d062d0195216999066cafa22ecdd355e4f9
[ "Apache-2.0" ]
2
2018-06-22T19:43:03.000Z
2018-11-13T22:49:53.000Z
proteinStructureParser.py
fabridigua/ML-1D-Convolutional-NN-for-Proteins-Solvent-Accessibility-Prediction
9e1b1d062d0195216999066cafa22ecdd355e4f9
[ "Apache-2.0" ]
null
null
null
proteinStructureParser.py
fabridigua/ML-1D-Convolutional-NN-for-Proteins-Solvent-Accessibility-Prediction
9e1b1d062d0195216999066cafa22ecdd355e4f9
[ "Apache-2.0" ]
1
2020-07-05T13:30:02.000Z
2020-07-05T13:30:02.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Feb 16 19:48:03 2018 @author: fabrizio OLD: it is only a parser of dataset metadata """ import numpy as np import random as rd file='cullpdb+profile_6133_filtered.npy' dataset = np.load('data/'+file) print(('-'*10)+'dataset: '+file+('-'*10)) print('s...
24.333333
131
0.596972
198
1,387
4.136364
0.505051
0.04884
0.041514
0.053724
0
0
0
0
0
0
0
0.04418
0.151406
1,387
56
132
24.767857
0.651657
0.162942
0
0.074074
0
0
0.213345
0.028973
0
0
0
0
0
1
0
false
0
0.074074
0
0.074074
0.407407
0
0
0
null
0
0
0
0
0
0
0
0
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
876cf5fd2d08bb1b880b8eefb9e65e2e38aa8a0b
5,399
py
Python
virgil_crypto/tests/card_crypto_test.py
VirgilSecurity/crypto-python
dce0a816c76201631917777fd11a841a27b484ba
[ "BSD-3-Clause" ]
9
2016-11-07T07:01:04.000Z
2021-08-31T06:58:43.000Z
virgil_crypto/tests/card_crypto_test.py
VirgilSecurity/crypto-python
dce0a816c76201631917777fd11a841a27b484ba
[ "BSD-3-Clause" ]
2
2020-04-10T08:14:05.000Z
2021-03-24T02:49:08.000Z
virgil_crypto/tests/card_crypto_test.py
VirgilSecurity/crypto-python
dce0a816c76201631917777fd11a841a27b484ba
[ "BSD-3-Clause" ]
null
null
null
# Copyright (C) 2016-2018 Virgil Security Inc. # # Lead Maintainer: Virgil Security Inc. <support@virgilsecurity.com> # # 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) Redistribution...
46.543103
128
0.764586
707
5,399
5.574257
0.27157
0.059376
0.078153
0.060898
0.493276
0.458767
0.340269
0.307282
0.285207
0.218219
0
0.011532
0.164845
5,399
115
129
46.947826
0.862497
0.285794
0
0.080645
0
0
0.042386
0.023025
0
0
0
0
0.258065
1
0.258065
false
0
0.209677
0
0.483871
0.016129
0
0
0
null
0
0
0
0
0
0
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
876ede29782dcc03bd77b7f37401acb9803a8eda
4,578
py
Python
uavnoma/generate_values.py
fakenmc/uavnoma
b2b2729417c66cde93cd1692e539d565dacbf52c
[ "MIT" ]
8
2021-11-26T06:40:01.000Z
2022-03-27T05:52:13.000Z
uavnoma/generate_values.py
fakenmc/uavnoma
b2b2729417c66cde93cd1692e539d565dacbf52c
[ "MIT" ]
6
2021-06-24T23:49:39.000Z
2022-02-20T09:27:10.000Z
uavnoma/generate_values.py
fakenmc/uavnoma
b2b2729417c66cde93cd1692e539d565dacbf52c
[ "MIT" ]
3
2021-09-25T13:45:48.000Z
2021-12-14T11:52:18.000Z
""" This module contains functions to generate simulation parameters. """ import numpy as np from numpy import sqrt import math def random_position_uav(number_UAV, radius_UAV, uav_height): """Returns a random UAV position based on 3D Cartesian coordinates. x_r: x-axis | y_r: y-axis | z_r: height...
28.434783
137
0.647007
668
4,578
4.273952
0.218563
0.014011
0.022417
0.015762
0.24028
0.114186
0.097373
0.088967
0.088967
0.088967
0
0.007141
0.265837
4,578
161
138
28.434783
0.842309
0.597204
0
0
1
0
0
0
0
0
0
0
0
1
0.097561
false
0
0.073171
0
0.268293
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
8772111eedb044054a5137527f58f3cbbf8cf376
259
py
Python
NPS Exercise Files/Chapter 5/5-8.py
coderXeno/eric-matthes-py-book-solutions
791a5f82f9d3bebcd8be919d54a7b592664c24d5
[ "MIT" ]
null
null
null
NPS Exercise Files/Chapter 5/5-8.py
coderXeno/eric-matthes-py-book-solutions
791a5f82f9d3bebcd8be919d54a7b592664c24d5
[ "MIT" ]
null
null
null
NPS Exercise Files/Chapter 5/5-8.py
coderXeno/eric-matthes-py-book-solutions
791a5f82f9d3bebcd8be919d54a7b592664c24d5
[ "MIT" ]
null
null
null
usernames = ["rx","bb123","admin","helloooo","lolbro","uvvv"] for name in usernames: if name == "admin": print("Hello admin, would you like to see a status report?") else: print("Hello "+name+", thank you for logging in again.")
37
69
0.602317
35
259
4.457143
0.714286
0.128205
0
0
0
0
0
0
0
0
0
0.015075
0.23166
259
7
70
37
0.768844
0
0
0
0
0
0.492126
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
5e3ee065e9e5db693cfc3ec2469a37a2244d540c
427
py
Python
users/tests.py
Gsopel/django-blog-app
07fa110ae74171133acb62526f4f9886b01c73b8
[ "MIT" ]
null
null
null
users/tests.py
Gsopel/django-blog-app
07fa110ae74171133acb62526f4f9886b01c73b8
[ "MIT" ]
7
2020-02-11T23:13:36.000Z
2022-03-11T23:30:09.000Z
users/tests.py
Gsopel/django-blog-app
07fa110ae74171133acb62526f4f9886b01c73b8
[ "MIT" ]
null
null
null
from django.test import TestCase from django.urls import resolve, reverse from .views import signup class SignUpTests(TestCase): def test_signup_status_code(self): url = reverse('signup') response = self.client.get(url) self.assertEquals(response.status_code, 200) def test_singup_url_...
30.5
52
0.714286
54
427
5.481481
0.481481
0.067568
0
0
0
0
0
0
0
0
0
0.008696
0.192037
427
14
53
30.5
0.849275
0
0
0
0
0
0.03271
0
0
0
0
0
0.181818
1
0.181818
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5e40c9d94799eb50a25ba913c1d3c5522a23b1b9
1,465
py
Python
common/python/linux_tail_f.py
EscapeLife/docker-hub-builder
c26422d63ca83c51e4d2c740c09ea9e1578b8dbf
[ "Apache-2.0" ]
34
2020-04-22T04:33:44.000Z
2022-02-16T03:53:53.000Z
common/python/linux_tail_f.py
EscapeLife/docker-hub-builder
c26422d63ca83c51e4d2c740c09ea9e1578b8dbf
[ "Apache-2.0" ]
29
2020-01-21T04:06:45.000Z
2021-08-19T10:15:03.000Z
common/python/linux_tail_f.py
EscapeLife/docker-hub-builder
c26422d63ca83c51e4d2c740c09ea9e1578b8dbf
[ "Apache-2.0" ]
10
2020-04-28T00:09:59.000Z
2021-11-16T12:11:06.000Z
#!/usr/bin/env python # encoding: utf-8 #======================================================================================================== # [解释下seek()函数的用法] # file.seek(off, whence=0) # 从文件中移动off个操作标记(文件指针),正数往结束方向移动,负数往开始方向移动。 # 如果设定了whence参数,就以whence设定的起始位为准,0代表从头开始,1代表当前位置,2代表文件最末尾位置。 #===================...
26.636364
105
0.458703
140
1,465
4.742857
0.528571
0.031627
0.036145
0.051205
0.078313
0.078313
0
0
0
0
0
0.008518
0.198635
1,465
54
106
27.12963
0.55707
0.417747
0
0.233333
0
0
0.074163
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5e47d938019cb31787b0c2f9b6c9f2ffa216e83a
2,081
py
Python
learningPygame/Tyler/04-BouncingBall/BouncingBall.py
Rosebotics/catapult2019
4f125632f4d144b97ee3ecaf00a517780d510a70
[ "MIT" ]
null
null
null
learningPygame/Tyler/04-BouncingBall/BouncingBall.py
Rosebotics/catapult2019
4f125632f4d144b97ee3ecaf00a517780d510a70
[ "MIT" ]
null
null
null
learningPygame/Tyler/04-BouncingBall/BouncingBall.py
Rosebotics/catapult2019
4f125632f4d144b97ee3ecaf00a517780d510a70
[ "MIT" ]
null
null
null
import pygame import sys import random # TODO: Create a Ball class. # TODO: Member variables: screen, color, x, y, radius, speed_x, speed_y # TODO: Methods __init__, draw, move class Ball: def __init__(self, screen, color, x, y, radius, speed_x, speed_y): self.screen = screen self.color = color ...
26.0125
240
0.588659
296
2,081
4.040541
0.263514
0.086957
0.020067
0.042642
0.209866
0.105351
0.105351
0.105351
0.105351
0.053512
0
0.038385
0.273907
2,081
79
241
26.341772
0.753144
0.192696
0
0.046512
0
0
0.01259
0
0
0
0
0.012658
0
1
0.093023
false
0
0.069767
0
0.186047
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
5e4a29e0939713e9060c029e4a316cd3042fdaf4
935
py
Python
2021-09-15/drafts/get_data_CT.py
cannlytics/cannabis-data-science
8ff11330692d3c5a39e3a9f9843af917caf1a720
[ "MIT" ]
6
2021-02-17T02:27:28.000Z
2022-02-21T20:35:39.000Z
2021/2021-09-15/drafts/get_data_CT.py
GrahamAnto/cannabis-data-science
1d5f3085e7b2858b6791840b90335be4669268b3
[ "MIT" ]
null
null
null
2021/2021-09-15/drafts/get_data_CT.py
GrahamAnto/cannabis-data-science
1d5f3085e7b2858b6791840b90335be4669268b3
[ "MIT" ]
2
2021-12-22T17:18:18.000Z
2022-03-10T17:36:17.000Z
""" Get Cannabis Data for Connecticut | Cannlytics Author: Keegan Skeate <keegan@cannlytics.com> Created: 9/14//2021 Updated: 9/15/2021 License: MIT License <https://opensource.org/licenses/MIT> """ # External imports import pandas as pd from dotenv import dotenv_values from fredapi import Fred state_data = { 'p...
30.16129
112
0.625668
111
935
5.198198
0.603604
0.083189
0.034662
0
0
0
0
0
0
0
0
0.026036
0.096257
935
30
113
31.166667
0.656805
0.486631
0
0
0
0.2
0.473233
0
0
0
0
0.033333
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5e505fb7521795a28e6d07ae55611fcebb7d3571
2,043
py
Python
setup.py
HynekPetrak/sshame
2c0d55dbfa87a06f3d3f0e7de697b0f97cca7fb8
[ "MIT" ]
41
2019-08-26T12:29:41.000Z
2022-03-31T22:02:46.000Z
setup.py
HynekPetrak/sshame
2c0d55dbfa87a06f3d3f0e7de697b0f97cca7fb8
[ "MIT" ]
null
null
null
setup.py
HynekPetrak/sshame
2c0d55dbfa87a06f3d3f0e7de697b0f97cca7fb8
[ "MIT" ]
12
2019-09-11T16:21:46.000Z
2022-03-27T02:15:22.000Z
#!/usr/bin/env python3 PROJECT = 'sshame' VERSION = '0.11' from setuptools import setup, find_packages try: long_description = open('README.md', 'rt').read() except IOError: long_description = '' setup( name=PROJECT, version=VERSION, description='SSH public key brute force tool', long_desc...
25.860759
73
0.547234
196
2,043
5.607143
0.607143
0.068244
0.034577
0.054595
0.061874
0.061874
0.061874
0
0
0
0
0.010601
0.307391
2,043
78
74
26.192308
0.766078
0.207538
0
0.078431
0
0
0.343711
0.013699
0
0
0
0.012821
0
1
0
false
0
0.019608
0
0.019608
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