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
49a022c8bb135025baa08ac5b7a48a60c338d46b
1,592
py
Python
lib/utils/adb.py
vividmuse/frida-skeleton
9d14ef180c0ff9ecc7d1278484dd1480fbb631a6
[ "MIT" ]
520
2018-08-07T23:31:25.000Z
2022-03-31T10:59:22.000Z
lib/utils/adb.py
vividmuse/frida-skeleton
9d14ef180c0ff9ecc7d1278484dd1480fbb631a6
[ "MIT" ]
32
2020-03-12T11:46:26.000Z
2022-02-25T07:35:33.000Z
lib/utils/adb.py
vividmuse/frida-skeleton
9d14ef180c0ff9ecc7d1278484dd1480fbb631a6
[ "MIT" ]
84
2020-03-09T11:37:28.000Z
2022-03-29T06:39:50.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from lib.utils.shell import Shell class Adb(Shell): def __init__(self, serial): super().__init__() self.serial = serial # if we are root shell self.is_root = False self.check_root() @classmethod def start_server(cls):...
31.84
106
0.603015
217
1,592
4.294931
0.285714
0.096567
0.120172
0.077253
0.280043
0.182403
0.098712
0
0
0
0
0.003252
0.227387
1,592
49
107
32.489796
0.754472
0.039573
0
0.125
0
0
0.163827
0
0
0
0
0
0
1
0.34375
false
0
0.03125
0.25
0.65625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7708454260a380facab54ce09b111ac4a5afdeb0
339
py
Python
30-Days-of-Code/30-nested-logic.py
lakshika1064/Hackerrank_Solutions-Python
50ca205c5a3a9a4f294dcda077c390209eb57ecc
[ "MIT" ]
1
2020-08-18T08:14:41.000Z
2020-08-18T08:14:41.000Z
30-Days-of-Code/30-nested-logic.py
lakshika1064/Hackerrank_Solutions-Python
50ca205c5a3a9a4f294dcda077c390209eb57ecc
[ "MIT" ]
null
null
null
30-Days-of-Code/30-nested-logic.py
lakshika1064/Hackerrank_Solutions-Python
50ca205c5a3a9a4f294dcda077c390209eb57ecc
[ "MIT" ]
null
null
null
# Enter your code here. Read input from STDIN. Print output to STDOUT rd,rm,ry=map(int,input().split()) ed,em,ey=map(int,input().split()) if ry<ey: print("0") elif ry<=ey: if rm<=em: if rd<=ed: print("0") else: print(15*(rd-ed)) else: print(500*(rm-em)) else: ...
18.833333
69
0.533923
55
339
3.290909
0.509091
0.149171
0.121547
0.176796
0
0
0
0
0
0
0
0.049587
0.286136
339
17
70
19.941176
0.698347
0.19764
0
0.357143
0
0
0.007463
0
0
0
0
0.058824
0
1
0
true
0
0
0
0
0.357143
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
1
0
0
0
1
0
0
0
0
0
0
3
7718113df2c1184e180f3689218dcde219c1f5c2
744
py
Python
tools/time_data.py
zhang123-123/CsdnServer
bf40c7f9f774e732dc68400c30f555f2fd8de5ca
[ "MIT" ]
null
null
null
tools/time_data.py
zhang123-123/CsdnServer
bf40c7f9f774e732dc68400c30f555f2fd8de5ca
[ "MIT" ]
null
null
null
tools/time_data.py
zhang123-123/CsdnServer
bf40c7f9f774e732dc68400c30f555f2fd8de5ca
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- def time_(time_delta): result = "" if time_delta < 60: temp = int(((time_delta / 3600) * 3600) % 60) result = '%s秒前' % temp elif time_delta < 3600: temp = int(((time_delta / 3600) * 3600) / 60) result = '%s分钟前' % temp elif time_delta < 24 * 60 * 60:...
37.2
105
0.505376
101
744
3.584158
0.237624
0.323204
0.232044
0.21547
0.577348
0.522099
0.425414
0.303867
0
0
0
0.180934
0.30914
744
19
106
39.157895
0.523346
0.026882
0
0
0
0
0.041551
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.117647
0
0
0
0
null
1
1
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
3
77353c8ebb306efbf77233aa290f07e8b9e2a32e
271
py
Python
digits/model/tasks/test_caffe_train.py
PhysicsTeacher13/Digits-NVIDIA
80c08ed2b84d5d4eb4f1721ab30f3db2ce67690a
[ "BSD-3-Clause" ]
111
2017-04-21T06:03:04.000Z
2021-04-26T06:36:54.000Z
digits/model/tasks/test_caffe_train.py
PhysicsTeacher13/Digits-NVIDIA
80c08ed2b84d5d4eb4f1721ab30f3db2ce67690a
[ "BSD-3-Clause" ]
6
2017-05-15T22:02:49.000Z
2018-03-16T10:25:26.000Z
digits/model/tasks/test_caffe_train.py
PhysicsTeacher13/Digits-NVIDIA
80c08ed2b84d5d4eb4f1721ab30f3db2ce67690a
[ "BSD-3-Clause" ]
40
2017-04-21T07:04:16.000Z
2019-11-14T14:20:32.000Z
# Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. from __future__ import absolute_import from digits import test_utils def test_caffe_imports(): test_utils.skipIfNotFramework('caffe') import numpy # noqa import google.protobuf # noqa
22.583333
68
0.760148
34
271
5.794118
0.705882
0.091371
0
0
0
0
0
0
0
0
0
0.035714
0.173432
271
11
69
24.636364
0.84375
0.280443
0
0
0
0
0.026178
0
0
0
0
0
0
1
0.166667
true
0
0.833333
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
1
0
1
0
0
3
77536de8f910311ae6757a61ed557a3e318fb07a
2,195
py
Python
Generic Bacteria Simulation on Human Body/TestBacteriaCellCluster.py
dem123456789/Computer-Simulation
ec61bdd7ca767f631ef190c1248690bd65327302
[ "MIT" ]
2
2016-07-03T05:19:20.000Z
2021-03-07T04:39:07.000Z
Generic Bacteria Simulation on Human Body/TestBacteriaCellCluster.py
dem123456789/Computer-Simulation
ec61bdd7ca767f631ef190c1248690bd65327302
[ "MIT" ]
null
null
null
Generic Bacteria Simulation on Human Body/TestBacteriaCellCluster.py
dem123456789/Computer-Simulation
ec61bdd7ca767f631ef190c1248690bd65327302
[ "MIT" ]
null
null
null
from AbstractBacteriaCellCluster import * from AbstractHost import * from Point import * from sequences import bacteriaClusterSq import math import parameters as p from globals import * class TestBacteriaCellCluster(AbstractBacteriaCellCluster): def __init__(self, cellCount): self.name = "Test bacteria cel...
27.4375
95
0.62779
236
2,195
5.75
0.313559
0.0958
0.042004
0.029477
0.035372
0
0
0
0
0
0
0.003173
0.282005
2,195
80
96
27.4375
0.857868
0.024146
0
0.131148
0
0
0.013084
0
0
0
0
0
0.04918
1
0.278689
false
0
0.114754
0.114754
0.540984
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
775c6d2d3899976cef8f0fd888a8e1a8c7c13122
496
wsgi
Python
scripts/docker/blast/www/FlaskApp/flaskapp.wsgi
dougli1sqrd/SGDBackend-Nex2
2ecb2436db142cf08c6f2dbab6b115a394116632
[ "MIT" ]
5
2015-11-24T23:09:46.000Z
2019-11-06T17:48:13.000Z
scripts/docker/blast/www/FlaskApp/flaskapp.wsgi
dougli1sqrd/SGDBackend-Nex2
2ecb2436db142cf08c6f2dbab6b115a394116632
[ "MIT" ]
188
2017-08-28T22:39:03.000Z
2022-03-02T14:53:46.000Z
scripts/docker/blast/www/FlaskApp/flaskapp.wsgi
dougli1sqrd/SGDBackend-Nex2
2ecb2436db142cf08c6f2dbab6b115a394116632
[ "MIT" ]
7
2018-05-13T01:58:07.000Z
2021-06-25T19:08:33.000Z
#!/var/www/FlaskApp/FlaskApp/venv/bin/python3 import sys import logging logging.basicConfig(stream=sys.stderr) sys.path.insert(0,"/var/www/FlaskApp/") #sys.path.append('/var/www/FlaskApp/FlaskApp/venv/lib/python3.8/site-packages') #activate_this = '/var/www/FlaskApp/FlaskApp/venv/bin/activate_this.py' #with open(activ...
35.428571
79
0.760081
73
496
5.013699
0.520548
0.065574
0.153005
0.180328
0.229508
0.15847
0
0
0
0
0
0.008696
0.072581
496
13
80
38.153846
0.786957
0.560484
0
0
0
0
0.220657
0.13615
0
0
0
0
0
1
0
true
0
0.5
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
1
0
1
0
0
0
0
3
775e2efc14765a851f9301feec22fb049ac7090a
219
py
Python
Compiler/Codegen/PyDefines/Generate.py
EmilPi/PuzzleLib
31aa0fab3b5e9472b9b9871ca52e4d94ea683fa9
[ "Apache-2.0" ]
52
2020-02-28T20:40:15.000Z
2021-08-25T05:35:17.000Z
Compiler/Codegen/PyDefines/Generate.py
EmilPi/PuzzleLib
31aa0fab3b5e9472b9b9871ca52e4d94ea683fa9
[ "Apache-2.0" ]
2
2021-02-14T15:57:03.000Z
2021-10-05T12:21:34.000Z
Compiler/Codegen/PyDefines/Generate.py
EmilPi/PuzzleLib
31aa0fab3b5e9472b9b9871ca52e4d94ea683fa9
[ "Apache-2.0" ]
8
2020-02-28T20:40:11.000Z
2020-07-09T13:27:23.000Z
import os from PuzzleLib.Compiler.Toolchain import copySource def generatePyDefines(path): dirname = os.path.dirname(__file__) copySource(os.path.join(dirname, "PyDefines.h"), os.path.join(path, "PyDefines.gen.h"))
27.375
88
0.776256
30
219
5.533333
0.533333
0.108434
0.120482
0
0
0
0
0
0
0
0
0
0.086758
219
7
89
31.285714
0.83
0
0
0
1
0
0.118721
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
91f3e8a9ac98200676967b94f7f8c16090456674
465
py
Python
libsaas/services/stripe/plans.py
MidtownFellowship/libsaas
541bb731b996b08ede1d91a235cb82895765c38a
[ "MIT" ]
1
2015-04-29T02:56:22.000Z
2015-04-29T02:56:22.000Z
libsaas/services/stripe/plans.py
MidtownFellowship/libsaas
541bb731b996b08ede1d91a235cb82895765c38a
[ "MIT" ]
null
null
null
libsaas/services/stripe/plans.py
MidtownFellowship/libsaas
541bb731b996b08ede1d91a235cb82895765c38a
[ "MIT" ]
null
null
null
from libsaas.services import base from . import resource class PlansBaseResource(resource.StripeResource): path = 'plans' class Plan(PlansBaseResource): def create(self, *args, **kwargs): raise base.MethodNotSupported() class Plans(resource.ListResourceMixin, PlansBaseResource): def update...
19.375
59
0.705376
46
465
7.130435
0.478261
0.073171
0.128049
0.17378
0.375
0.375
0
0
0
0
0
0
0.187097
465
23
60
20.217391
0.867725
0
0
0.25
0
0
0.010753
0
0
0
0
0
0
1
0.25
false
0
0.166667
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
62002626b89e28e8df40a2a865218f9fed2943fa
2,251
py
Python
attic/testsuite/chunker.py
sherbang/attic
4e195f0df82dfa1d00ebeed6fef11144d2aff875
[ "BSD-3-Clause" ]
1
2020-12-28T22:37:26.000Z
2020-12-28T22:37:26.000Z
attic/testsuite/chunker.py
jbms/attic
c502481d5eba549e87251d6b46bc7de2352dda83
[ "BSD-3-Clause" ]
null
null
null
attic/testsuite/chunker.py
jbms/attic
c502481d5eba549e87251d6b46bc7de2352dda83
[ "BSD-3-Clause" ]
1
2020-11-15T03:44:36.000Z
2020-11-15T03:44:36.000Z
from attic.chunker import chunkify, buzhash, buzhash_update from attic.testsuite import AtticTestCase from io import BytesIO class ChunkerTestCase(AtticTestCase): def test_chunkify(self): data = b'0' * 1024 * 1024 * 15 + b'Y' parts = [bytes(c) for c in chunkify(BytesIO(data), 2, 0x3, 2, 0)] ...
80.392857
182
0.636162
367
2,251
3.850136
0.177112
0.106157
0.159236
0.077849
0.751592
0.735315
0.707714
0.551309
0.462137
0.462137
0
0.055851
0.164816
2,251
27
183
83.37037
0.695745
0
0
0
0
0
0.2008
0
0
0
0.01466
0
0.652174
1
0.086957
false
0
0.130435
0
0.26087
0
0
0
0
null
0
0
0
0
1
1
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
3
62137db82f6b7a29a86bd8f33ef884fc06c2494d
28,090
py
Python
orc8r/protos/mconfig/mconfigs_pb2.py
aweimeow/enodebd
e1cd20693153e6b85e5d1bf9d21af2501c358601
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
orc8r/protos/mconfig/mconfigs_pb2.py
aweimeow/enodebd
e1cd20693153e6b85e5d1bf9d21af2501c358601
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
orc8r/protos/mconfig/mconfigs_pb2.py
aweimeow/enodebd
e1cd20693153e6b85e5d1bf9d21af2501c358601
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: orc8r/protos/mconfig/mconfigs.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflecti...
40.071327
2,147
0.755785
3,553
28,090
5.631298
0.0698
0.043583
0.061725
0.062075
0.741453
0.679178
0.644142
0.639794
0.639794
0.639794
0
0.034317
0.11926
28,090
700
2,148
40.128571
0.774414
0.038056
0
0.670866
1
0.007874
0.175606
0.126713
0
0
0
0
0
1
0
false
0
0.007874
0
0.007874
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
621b8cdc07c86620e5da5ceee1c49e69893cd33c
2,338
py
Python
smartsheet/models/webhook_stats.py
bromic007/smartsheet-python-sdk
ef256b7421a65a56a7138dc2b3eb5d69a1a06590
[ "Apache-2.0" ]
106
2015-02-21T14:26:32.000Z
2022-03-31T05:56:53.000Z
smartsheet/models/webhook_stats.py
bromic007/smartsheet-python-sdk
ef256b7421a65a56a7138dc2b3eb5d69a1a06590
[ "Apache-2.0" ]
94
2015-02-09T13:16:00.000Z
2022-03-16T06:37:41.000Z
smartsheet/models/webhook_stats.py
bromic007/smartsheet-python-sdk
ef256b7421a65a56a7138dc2b3eb5d69a1a06590
[ "Apache-2.0" ]
85
2015-02-06T22:05:25.000Z
2022-03-16T06:22:59.000Z
# pylint: disable=C0111,R0902,R0904,R0912,R0913,R0915,E1101 # Smartsheet Python SDK. # # Copyright 2017 Smartsheet.com, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"): you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www....
29.974359
75
0.719846
302
2,338
5.301325
0.39404
0.089944
0.142411
0.086196
0.316052
0.160525
0.092442
0
0
0
0
0.019386
0.205731
2,338
77
76
30.363636
0.842757
0.317365
0
0.075
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.1
0.15
0.525
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
62388567341b87ff28896414cfd2d673ed69b96a
749
py
Python
python/atizer/base.py
tjgiese/atizer
b8cdb8f4bac7cedfb566d766acee5fe0cc7a7bd3
[ "MIT" ]
null
null
null
python/atizer/base.py
tjgiese/atizer
b8cdb8f4bac7cedfb566d766acee5fe0cc7a7bd3
[ "MIT" ]
null
null
null
python/atizer/base.py
tjgiese/atizer
b8cdb8f4bac7cedfb566d766acee5fe0cc7a7bd3
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys,os,stat,inspect,fnmatch from glob import * from collections import defaultdict as ddict from .m4 import * from .utilities import * from .mod_autolib import autolib from .mod_autoprog import autoprog from .mod_autopackage import autopackage # todo # # am_write should only set bin_PRO...
22.69697
103
0.747664
108
749
5.111111
0.657407
0.054348
0
0
0
0
0
0
0
0
0
0.003236
0.1749
749
32
104
23.40625
0.889968
0.444593
0
0
0
0
0
0
0
0
0
0.03125
0
1
0.090909
false
0
0.727273
0
0.909091
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
1
0
1
0
0
3
6248ca29b32e20e5bc5b9c2d8aec7c6f5842fb4b
251
py
Python
sanitizer/settings_local.example.py
n-yoshikawa/molecule-sanitizer
f8240fdf1c21f1b52c58c1a0e7937c2a494a8379
[ "MIT" ]
2
2021-08-12T09:37:10.000Z
2022-01-26T05:08:25.000Z
sanitizer/settings_local.example.py
n-yoshikawa/molecule-sanitizer
f8240fdf1c21f1b52c58c1a0e7937c2a494a8379
[ "MIT" ]
1
2021-12-15T00:57:13.000Z
2021-12-23T20:17:41.000Z
sanitizer/settings_local.example.py
n-yoshikawa/molecule-sanitizer
f8240fdf1c21f1b52c58c1a0e7937c2a494a8379
[ "MIT" ]
1
2022-01-26T05:08:27.000Z
2022-01-26T05:08:27.000Z
DEBUG = True ALLOWED_HOSTS = ['*'] SECRET_KEY = 'secret' SOCIAL_AUTH_TWITTER_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxx' SOCIAL_AUTH_TWITTER_SECRET = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' SOCIAL_AUTH_ORCID_KEY = '' SOCIAL_AUTH_ORCID_SECRET = ''
27.888889
81
0.824701
25
251
7.72
0.48
0.207254
0.176166
0
0
0
0
0
0
0
0
0
0.087649
251
8
82
31.375
0.842795
0
0
0
0
0
0.326693
0.298805
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
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
3
624968f9d142e2c8f012403d262dded660ab0fc2
570
py
Python
coffer/tests.py
shalevy1/cultivar
99b00c69376cd37fddb14a969cf562276296f01a
[ "Apache-2.0" ]
37
2016-08-22T22:11:30.000Z
2022-02-24T19:10:18.000Z
coffer/tests.py
DistrictDataLabs/trinket
99b00c69376cd37fddb14a969cf562276296f01a
[ "Apache-2.0" ]
75
2015-10-15T19:25:18.000Z
2016-08-04T19:21:10.000Z
coffer/tests.py
DistrictDataLabs/trinket
99b00c69376cd37fddb14a969cf562276296f01a
[ "Apache-2.0" ]
17
2015-10-09T00:03:12.000Z
2016-07-22T16:15:41.000Z
# coffer.tests # Tests for the coffer data management app. # # Author: Benjamin Bengfort <bbengfort@districtdatalabs.com> # Created: Thu Oct 08 21:45:55 2015 -0400 # # Copyright (C) 2015 District Data Labs # For license information, see LICENSE.txt # # ID: tests.py [] benjamin@bengfort.com $ """ Tests for the coffe...
24.782609
74
0.533333
59
570
5.152542
0.694915
0.052632
0.072368
0.111842
0.223684
0.223684
0.223684
0
0
0
0
0.040323
0.129825
570
22
75
25.909091
0.572581
0.614035
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
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
1
0
1
0
0
3
625c1dc3c012dba2dae1b3fd18a103e5dcd132ae
196
py
Python
ex013.py
joaovitorsud/Python-exercicios
e2b49e10eef991a9fc8029d5afdaae0a7326192c
[ "MIT" ]
null
null
null
ex013.py
joaovitorsud/Python-exercicios
e2b49e10eef991a9fc8029d5afdaae0a7326192c
[ "MIT" ]
null
null
null
ex013.py
joaovitorsud/Python-exercicios
e2b49e10eef991a9fc8029d5afdaae0a7326192c
[ "MIT" ]
null
null
null
salario = float(input('Qual o salário atual?')) aumento = float(input('Qual o valor do aumento em porcento?')) total = (salario*aumento)/100 print('o valor final é de R${}'.format(total+salario))
39.2
62
0.714286
31
196
4.516129
0.645161
0.142857
0.2
0.214286
0
0
0
0
0
0
0
0.017442
0.122449
196
4
63
49
0.796512
0
0
0
0
0
0.408163
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
1
1
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
3
626569c1d6044daf1f93f54da3dd690d4d4ba43f
525
py
Python
invoice/models.py
mynamasp/djangobilling
4ccce5c08015a9ff40a0f2c295ef617356ad8b8d
[ "MIT" ]
null
null
null
invoice/models.py
mynamasp/djangobilling
4ccce5c08015a9ff40a0f2c295ef617356ad8b8d
[ "MIT" ]
null
null
null
invoice/models.py
mynamasp/djangobilling
4ccce5c08015a9ff40a0f2c295ef617356ad8b8d
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Menu(models.Model): product_ID = models.CharField(max_length=5) product_name = models.CharField(max_length=50) product_rate_1 = models.FloatField(default=0) product_rate_2 = models.FloatField(default=0) product_rate_3 = models.FloatFiel...
27.631579
55
0.76
74
525
5.162162
0.432432
0.196335
0.235602
0.314136
0.47644
0.340314
0
0
0
0
0
0.031111
0.142857
525
18
56
29.166667
0.817778
0.045714
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.090909
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
626b0a6857a65d3daec488bfee997738a930af22
596
py
Python
tests/mockserver.py
davidonna/aiofluent
37a329df922b2736e8805737fb6d6099f792a9f9
[ "Apache-2.0" ]
5
2017-07-06T16:08:03.000Z
2020-10-02T16:33:19.000Z
tests/mockserver.py
davidonna/aiofluent
37a329df922b2736e8805737fb6d6099f792a9f9
[ "Apache-2.0" ]
3
2018-10-31T09:16:24.000Z
2020-10-22T19:14:03.000Z
tests/mockserver.py
davidonna/aiofluent
37a329df922b2736e8805737fb6d6099f792a9f9
[ "Apache-2.0" ]
2
2018-10-30T15:32:07.000Z
2020-02-20T20:29:55.000Z
# -*- coding: utf-8 -*- from io import BytesIO from msgpack import Unpacker class Writer: def __init__(self, server): self.server = server def write(self, data): self.server._buf.write(data) async def drain(self): pass def close(self): pass class MockRecvServer: ...
18.060606
58
0.610738
75
596
4.653333
0.44
0.08596
0.063037
0
0
0
0
0
0
0
0
0.006977
0.278523
596
32
59
18.625
0.804651
0.035235
0
0.1
0
0
0.008726
0
0
0
0
0
0
1
0.25
false
0.1
0.1
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
628f22eaccaa747a8a899a1318701d8fcc6e82c5
283
py
Python
tests/megawing/papilioone/_timer.py
splhack/loam
10b08bd622b7cfd63eabaec4729f6238e4521b30
[ "MIT" ]
14
2017-10-08T09:16:10.000Z
2021-11-27T19:12:24.000Z
tests/megawing/papilioone/_timer.py
splhack/loam
10b08bd622b7cfd63eabaec4729f6238e4521b30
[ "MIT" ]
7
2018-04-12T21:33:49.000Z
2018-08-21T22:14:20.000Z
tests/megawing/papilioone/_timer.py
splhack/loam
10b08bd622b7cfd63eabaec4729f6238e4521b30
[ "MIT" ]
3
2018-07-24T04:55:02.000Z
2019-12-30T08:12:39.000Z
import sys from magma import * from mantle import * from loam.boards.papilio import Papilio papilio = Papilio() papilio.Clock.on() papilio.Timer.on() papilio.C[8].rename('LED').output().on() main = papilio.main() wire( main.systimer.O[24], main.LED ) compile(sys.argv[1], main)
16.647059
40
0.713781
44
283
4.590909
0.545455
0.207921
0.207921
0
0
0
0
0
0
0
0
0.016064
0.120141
283
16
41
17.6875
0.795181
0
0
0
0
0
0.010638
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
1
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
1
0
0
0
0
3
6578e35b8a01fff25edaecb57ecbcacc8d7b61be
825
py
Python
composer/core/serializable.py
murthyn/composer
2a04cf387dd8558556500f7ef2bc6d3d131043d5
[ "Apache-2.0" ]
null
null
null
composer/core/serializable.py
murthyn/composer
2a04cf387dd8558556500f7ef2bc6d3d131043d5
[ "Apache-2.0" ]
null
null
null
composer/core/serializable.py
murthyn/composer
2a04cf387dd8558556500f7ef2bc6d3d131043d5
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 MosaicML. All Rights Reserved. """Serialization interface used by checkpointing.""" from __future__ import annotations from typing import Any, Dict __all__ = ["Serializable"] class Serializable: """Interface for serialization; used by checkpointing.""" def state_dict(self) -> Dict[str, A...
25.78125
107
0.64
99
825
5.212121
0.515152
0.087209
0.077519
0.075581
0.149225
0.112403
0.112403
0.112403
0
0
0
0.006515
0.255758
825
31
108
26.612903
0.833876
0.563636
0
0
0
0
0.042705
0
0
0
0
0
0
1
0.25
false
0.125
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
658926b8b5f8e2ac3bffa32b038f47730bb324ec
4,243
py
Python
test/PR_test/unit_test/backend/test_categorical_crossentropy.py
Phillistan16/fastestimator
54c9254098aee89520814ed54b6e6016b821424f
[ "Apache-2.0" ]
null
null
null
test/PR_test/unit_test/backend/test_categorical_crossentropy.py
Phillistan16/fastestimator
54c9254098aee89520814ed54b6e6016b821424f
[ "Apache-2.0" ]
null
null
null
test/PR_test/unit_test/backend/test_categorical_crossentropy.py
Phillistan16/fastestimator
54c9254098aee89520814ed54b6e6016b821424f
[ "Apache-2.0" ]
1
2020-04-28T12:16:10.000Z
2020-04-28T12:16:10.000Z
# Copyright 2020 The FastEstimator Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
48.215909
120
0.598633
526
4,243
4.617871
0.21673
0.151503
0.012351
0.098806
0.727048
0.709757
0.709757
0.697406
0.697406
0.697406
0
0.078042
0.287297
4,243
87
121
48.770115
0.725198
0.156257
0
0.561404
0
0
0
0
0
0
0
0
0.140351
1
0.157895
false
0
0.087719
0
0.263158
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6598f38bf4a824167d359b397cca8ed395776f35
995
py
Python
func_prog.py
TomHam2021/Python2a_week5
49678f4e57a5ccdfb9b8312e163ed45b61b8eba1
[ "MIT" ]
null
null
null
func_prog.py
TomHam2021/Python2a_week5
49678f4e57a5ccdfb9b8312e163ed45b61b8eba1
[ "MIT" ]
null
null
null
func_prog.py
TomHam2021/Python2a_week5
49678f4e57a5ccdfb9b8312e163ed45b61b8eba1
[ "MIT" ]
null
null
null
''' # Functional composition # • Lego is a popular toy because it’s so versatile # • Similar to how Lego pieces can be combined, in functional programming it’s common to combine functions def f(number): return number * 2 def g(number): return number + 1 x = 2 # print(f(2)) # detta ger --> 4 # print(g(2)) # detta g...
23.139535
106
0.657286
174
995
3.781609
0.408046
0.072948
0.109422
0.048632
0.203647
0.203647
0.203647
0.203647
0.203647
0.203647
0
0.032995
0.20804
995
42
107
23.690476
0.796954
0.858291
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
65a9c95781bb8ed4ad7364322455ad23765c70e9
128
py
Python
sellerhome/urls.py
Aniketh896/BitWork
8e8a9d4664b5e64ebdb8ddccd2335170bd16e453
[ "MIT" ]
2
2020-06-20T07:34:02.000Z
2020-06-20T11:07:31.000Z
sellerhome/urls.py
Aniketh896/BitWork
8e8a9d4664b5e64ebdb8ddccd2335170bd16e453
[ "MIT" ]
8
2021-03-30T13:50:55.000Z
2022-02-27T07:00:48.000Z
sellerhome/urls.py
Aniketh896/BitWork
8e8a9d4664b5e64ebdb8ddccd2335170bd16e453
[ "MIT" ]
1
2020-06-22T11:49:40.000Z
2020-06-22T11:49:40.000Z
from django.urls import path from sellerhome import views urlpatterns = [ path('', views.seller_view, name="sellerhome"), ]
21.333333
51
0.734375
16
128
5.8125
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.148438
128
6
52
21.333333
0.853211
0
0
0
0
0
0.077519
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
65b4b299564c2421ac04698129354a691c46255e
176
py
Python
notebooks/_solutions/90_package_numpy10.py
jorisvandenbossche/DS-python-geospatial
893a12edc5c203a75815f6dcb5f1e18c577c8cd5
[ "BSD-3-Clause" ]
58
2020-10-09T10:10:59.000Z
2022-03-07T14:58:07.000Z
notebooks/_solutions/11-numpy10.py
amitkb3/DS-python-geospatial
5f156ebff67e06d59b2a7ef446d1fed746ce0650
[ "BSD-3-Clause" ]
24
2020-09-30T19:57:14.000Z
2021-10-05T07:21:09.000Z
notebooks/_solutions/11-numpy10.py
amitkb3/DS-python-geospatial
5f156ebff67e06d59b2a7ef446d1fed746ce0650
[ "BSD-3-Clause" ]
19
2020-10-05T09:32:18.000Z
2022-03-20T00:09:14.000Z
# Create the histogram plots fig, (ax0, ax1) = plt.subplots(1, 2, sharey=True) ax0.hist(b4_data.flatten(), bins=30, log=True); ax1.hist(b4_data_f.flatten(), bins=30, log=True);
44
49
0.710227
32
176
3.8125
0.65625
0.098361
0.163934
0.262295
0.327869
0
0
0
0
0
0
0.075472
0.096591
176
4
50
44
0.691824
0.147727
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
65c9f941715f4a98d08071de657e0d5b39b38866
89
py
Python
rosters/apps.py
Drazerr/roster-wizard
600dc5a196dc6c11e879f3cec86b2bbee6e0bf36
[ "MIT" ]
null
null
null
rosters/apps.py
Drazerr/roster-wizard
600dc5a196dc6c11e879f3cec86b2bbee6e0bf36
[ "MIT" ]
null
null
null
rosters/apps.py
Drazerr/roster-wizard
600dc5a196dc6c11e879f3cec86b2bbee6e0bf36
[ "MIT" ]
null
null
null
from django.apps import AppConfig class RostersConfig(AppConfig): name = "rosters"
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
65caf73ca9aeeed72fd1ae50d9dba708132f27f8
349
py
Python
Python/Learning/Language/variables.py
prynix/learning-programming
85aea40a61fb824a2b4e142331d9ac7971fef263
[ "MIT" ]
2
2017-03-14T16:02:08.000Z
2017-05-02T13:48:18.000Z
Python/Learning/Language/variables.py
CajetanP/learning-programming
85aea40a61fb824a2b4e142331d9ac7971fef263
[ "MIT" ]
4
2021-05-20T21:10:13.000Z
2022-02-26T09:50:19.000Z
Python/Learning/Language/variables.py
CajetanP/learning-programming
85aea40a61fb824a2b4e142331d9ac7971fef263
[ "MIT" ]
1
2021-06-18T01:31:24.000Z
2021-06-18T01:31:24.000Z
cars = 100 space_in_car = 4 drivers = 30 passengers = 90 cars_not_driven = cars - drivers cars_driven = drivers carpool_capacity = cars_driven * space_in_car average_passengers_per_car = passengers / cars_driven print("Cars: ", cars) print(drivers) print(cars_not_driven) print(carpool_capacity) print(passengers) print...
21.8125
53
0.810888
51
349
5.176471
0.333333
0.113636
0.075758
0.174242
0
0
0
0
0
0
0
0.025806
0.111748
349
15
54
23.266667
0.825806
0
0
0
0
0
0.017192
0
0
0
0
0
0
1
0
false
0.285714
0
0
0
0.428571
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
1
0
3
65e12129610ca15740f581523c8da2d191b8cb72
5,185
py
Python
concourse/model/job.py
adracus/cc-utils
dcd1ff544d8b18a391188903789d1cac929f50f9
[ "Apache-2.0" ]
null
null
null
concourse/model/job.py
adracus/cc-utils
dcd1ff544d8b18a391188903789d1cac929f50f9
[ "Apache-2.0" ]
null
null
null
concourse/model/job.py
adracus/cc-utils
dcd1ff544d8b18a391188903789d1cac929f50f9
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed # under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the Licens...
34.337748
99
0.648216
639
5,185
5.081377
0.327074
0.033877
0.02587
0.022174
0.078534
0.014783
0
0
0
0
0
0.002386
0.272517
5,185
150
100
34.566667
0.858431
0.253423
0
0.020202
0
0
0.036411
0
0
0
0
0.006667
0
1
0.242424
false
0
0.040404
0.181818
0.505051
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
028d5d7e9debbde97dc202ac784f71972308494f
1,811
py
Python
src/python/nimbusml/examples/WordTokenizer.py
montehoover/NimbusML
f6be39ce9359786976429bab0ccd837e849b4ba5
[ "MIT" ]
134
2018-11-01T22:15:24.000Z
2019-05-04T11:30:08.000Z
src/python/nimbusml/examples/WordTokenizer.py
montehoover/NimbusML
f6be39ce9359786976429bab0ccd837e849b4ba5
[ "MIT" ]
226
2019-05-07T19:00:44.000Z
2021-01-06T07:59:48.000Z
src/python/nimbusml/examples/WordTokenizer.py
montehoover/NimbusML
f6be39ce9359786976429bab0ccd837e849b4ba5
[ "MIT" ]
43
2019-05-15T20:19:42.000Z
2022-03-30T10:26:07.000Z
############################################################################### # WordTokenizer from nimbusml import Pipeline, FileDataStream from nimbusml.datasets import get_dataset from nimbusml.preprocessing.text import WordTokenizer # data input (as a FileDataStream) path = get_dataset("wiki_detox_train").as_fi...
54.878788
132
0.521259
223
1,811
4.192825
0.41704
0.256684
0.320856
0.342246
0.406417
0.406417
0.37861
0.237433
0.049198
0
0
0.05
0.337383
1,811
32
133
56.59375
0.729167
0.671452
0
0
0
0
0.093812
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0.181818
0
0
0
null
1
1
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
3
02989bef7a2f8ec243b9b785a1c67ca12ce6cfa2
645
py
Python
swarmlib/__init__.py
Geetha-github-cloud/swarmlib
6c294314321c27f195c1c7959b6bb0db00213add
[ "BSD-3-Clause" ]
null
null
null
swarmlib/__init__.py
Geetha-github-cloud/swarmlib
6c294314321c27f195c1c7959b6bb0db00213add
[ "BSD-3-Clause" ]
null
null
null
swarmlib/__init__.py
Geetha-github-cloud/swarmlib
6c294314321c27f195c1c7959b6bb0db00213add
[ "BSD-3-Clause" ]
null
null
null
# ------------------------------------------------------------------------------------------------------ # Copyright (c) Leo Hanisch. All rights reserved. # Licensed under the BSD 3-Clause License. See LICENSE.txt in the project root for license information. # ---------------------------------------------------------...
53.75
104
0.56124
59
645
6.050847
0.661017
0.182073
0
0
0
0
0
0
0
0
0
0.00339
0.085271
645
11
105
58.636364
0.601695
0.553488
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
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
1
0
1
0
0
3
029f154bc18ff80888e1f1de46058e1769eb72f6
302
py
Python
CybORG/CybORG/Shared/ActionHandler.py
rafvasq/cage-challenge-1
95affdfa38afc1124f1a1a09c92fbc0ed5b96318
[ "MIT" ]
18
2021-08-20T15:07:55.000Z
2022-03-11T12:05:15.000Z
CybORG/CybORG/Shared/ActionHandler.py
rafvasq/cage-challenge-1
95affdfa38afc1124f1a1a09c92fbc0ed5b96318
[ "MIT" ]
7
2021-11-09T06:46:58.000Z
2022-03-31T12:35:06.000Z
CybORG/CybORG/Shared/ActionHandler.py
rafvasq/cage-challenge-1
95affdfa38afc1124f1a1a09c92fbc0ed5b96318
[ "MIT" ]
13
2021-08-17T00:26:31.000Z
2022-03-29T20:06:45.000Z
# Copyright DST Group. Licensed under the MIT license. from CybORG.Shared.Actions.Action import Action from CybORG.Shared.Observation import Observation class ActionHandler: def __init__(self): pass def perform(self, action: Action) -> Observation: raise NotImplementedError
25.166667
54
0.748344
35
302
6.342857
0.685714
0.09009
0.144144
0
0
0
0
0
0
0
0
0
0.188742
302
11
55
27.454545
0.906122
0.172185
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.142857
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
02ad38f078b34757403df21113be4e66ff7967b7
198
py
Python
cPull.py
HenryBlairG/CanvasClient
945fc4d45bd103f10e7a9b95d2947e8a1214818c
[ "MIT" ]
2
2020-05-05T22:53:07.000Z
2020-09-04T20:58:18.000Z
cPull.py
HenryBlairG/CanvasClient
945fc4d45bd103f10e7a9b95d2947e8a1214818c
[ "MIT" ]
null
null
null
cPull.py
HenryBlairG/CanvasClient
945fc4d45bd103f10e7a9b95d2947e8a1214818c
[ "MIT" ]
null
null
null
#! /usr/bin/python3 ''' Python script to pull through terminal the fileTree ''' import sys from src.CanvasBackend import semester_board as bk if __name__ == '__main__': bk.Profile(sys.argv[1])
19.8
51
0.732323
29
198
4.689655
0.896552
0
0
0
0
0
0
0
0
0
0
0.011905
0.151515
198
10
52
19.8
0.797619
0.353535
0
0
0
0
0.066116
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
02c2a81de92006b5a4a1e35db0f9cb707c9d797e
181
py
Python
federate_learning/device/__init__.py
deib-polimi/FederatedLearningFramework
d6ab5cfb2f3c9cbe594aed1ff0a6a34499655718
[ "Artistic-1.0-cl8" ]
null
null
null
federate_learning/device/__init__.py
deib-polimi/FederatedLearningFramework
d6ab5cfb2f3c9cbe594aed1ff0a6a34499655718
[ "Artistic-1.0-cl8" ]
null
null
null
federate_learning/device/__init__.py
deib-polimi/FederatedLearningFramework
d6ab5cfb2f3c9cbe594aed1ff0a6a34499655718
[ "Artistic-1.0-cl8" ]
2
2021-02-10T13:30:41.000Z
2021-02-10T13:38:54.000Z
from .device import Device from .device_app import DeviceApp from .results_dispatcher import ResultsDispatcher __all__ = [ "Device", "DeviceApp", "ResultsDispatcher" ]
18.1
49
0.745856
18
181
7.166667
0.5
0.155039
0
0
0
0
0
0
0
0
0
0
0.176796
181
9
50
20.111111
0.865772
0
0
0
0
0
0.176796
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
02c720e39c4c222be37f245f90764cd57bf0385d
271
py
Python
Exercicios/mundo1-exercicios-01-35/ex003.py
rafaelbarretomg/Curso-Python-3
7e772cbaf4c1e1bf7f1a9fb2925ec2e0eecf2998
[ "MIT" ]
null
null
null
Exercicios/mundo1-exercicios-01-35/ex003.py
rafaelbarretomg/Curso-Python-3
7e772cbaf4c1e1bf7f1a9fb2925ec2e0eecf2998
[ "MIT" ]
null
null
null
Exercicios/mundo1-exercicios-01-35/ex003.py
rafaelbarretomg/Curso-Python-3
7e772cbaf4c1e1bf7f1a9fb2925ec2e0eecf2998
[ "MIT" ]
null
null
null
# Crie um progrmaa que leia dois numeros e mostra a soma entre eles n1 = int(input('Digite o primeiro numero: ')) n2 = int(input('Digite o segundo numero: ')) s = n1 + n2 print('A soma de \033[31m{}\033[m e \033[34m{}\033[m eh de \033[32m{}\033[m ' .format(n1, n2, s))
45.166667
99
0.653137
53
271
3.339623
0.603774
0.067797
0.158192
0.169492
0
0
0
0
0
0
0
0.134529
0.177122
271
5
100
54.2
0.659193
0.239852
0
0
0
0.25
0.598039
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
02dc6568715fc5a75c95bf8fe569430310d38931
354
py
Python
attrkid/exceptions.py
danfairs/attrkid
27a422a46104246cb51b3d76ad4911876eababdc
[ "MIT" ]
4
2019-01-17T08:41:56.000Z
2020-11-28T14:09:19.000Z
attrkid/exceptions.py
danfairs/attrkid
27a422a46104246cb51b3d76ad4911876eababdc
[ "MIT" ]
1
2019-02-06T17:31:26.000Z
2019-02-06T17:31:26.000Z
attrkid/exceptions.py
danfairs/attrkid
27a422a46104246cb51b3d76ad4911876eababdc
[ "MIT" ]
1
2019-02-07T13:10:50.000Z
2019-02-07T13:10:50.000Z
# TODO(dan): Sort out how this displays in tracebacks, it's terrible class ValidationError(Exception): def __init__(self, errors, exc=None): self.errors = errors self.exc = exc self._str = str(exc) if exc is not None else '' + ', '.join( [str(e) for e in errors]) def __str_...
29.5
68
0.607345
50
354
4.1
0.6
0.097561
0
0
0
0
0
0
0
0
0
0
0.279661
354
11
69
32.181818
0.803922
0.186441
0
0
0
0
0.006993
0
0
0
0
0.090909
0
1
0.25
false
0
0
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
02f1531467f10f5f04d0e570aeb047f0eacb2130
107
py
Python
tests/import/gen_context.py
learnforpractice/micropython-cpp
004bc8382f74899e7b876cc29bfa6a9cc976ba10
[ "MIT" ]
692
2016-12-19T23:25:35.000Z
2022-03-31T14:20:48.000Z
tests/import/gen_context.py
learnforpractice/micropython-cpp
004bc8382f74899e7b876cc29bfa6a9cc976ba10
[ "MIT" ]
509
2017-03-28T19:37:18.000Z
2022-03-31T20:31:43.000Z
tests/import/gen_context.py
learnforpractice/micropython-cpp
004bc8382f74899e7b876cc29bfa6a9cc976ba10
[ "MIT" ]
228
2016-12-19T05:03:30.000Z
2022-03-22T18:13:00.000Z
import gen_context2 GLOBAL = "GLOBAL" def gen(): print(GLOBAL) yield 1 gen_context2.call(gen())
10.7
24
0.672897
15
107
4.666667
0.6
0.314286
0
0
0
0
0
0
0
0
0
0.035294
0.205607
107
9
25
11.888889
0.788235
0
0
0
0
0
0.056075
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0.166667
1
0
0
null
1
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
3
02f68b1b9e9c231ed4184fda608cd412112a3511
372
py
Python
prodigy/__init__.py
enriqueg1839/prodigy
8fe49c647a0c094c13148eb91832bf8c8852ef49
[ "Apache-2.0" ]
25
2018-03-09T09:30:45.000Z
2022-03-27T08:06:32.000Z
prodigy/__init__.py
enriqueg1839/prodigy
8fe49c647a0c094c13148eb91832bf8c8852ef49
[ "Apache-2.0" ]
6
2020-04-30T08:05:15.000Z
2021-11-20T10:36:43.000Z
prodigy/__init__.py
enriqueg1839/prodigy
8fe49c647a0c094c13148eb91832bf8c8852ef49
[ "Apache-2.0" ]
9
2018-02-15T20:29:28.000Z
2021-11-24T19:17:35.000Z
#!/usr/bin/env python # # This code is part of the binding affinity prediction tools distribution # and governed by its license. Please see the LICENSE file that should # have been included as part of this package. # """ Binding affinity prediction methods developed by the Bonvin Lab. Assorted data files for differe...
24.8
73
0.774194
55
372
5.218182
0.818182
0.041812
0.174216
0
0
0
0
0
0
0
0
0
0.169355
372
14
74
26.571429
0.928803
0.854839
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
02fafd40f3f7c394c4487a1f78e5d956eaf9697b
55
py
Python
test/integration/targets/module_utils/module_utils/sub/bar/bam.py
Container-Projects/ansible-provider-docs
100b695b0b0c4d8d08af362069557ffc735d0d7e
[ "PSF-2.0", "BSD-2-Clause", "MIT" ]
37
2017-08-15T15:02:43.000Z
2021-07-23T03:44:31.000Z
test/integration/targets/module_utils/module_utils/sub/bar/bam.py
Container-Projects/ansible-provider-docs
100b695b0b0c4d8d08af362069557ffc735d0d7e
[ "PSF-2.0", "BSD-2-Clause", "MIT" ]
12
2018-01-10T05:25:25.000Z
2021-11-28T06:55:48.000Z
test/integration/targets/module_utils/module_utils/sub/bar/bam.py
Container-Projects/ansible-provider-docs
100b695b0b0c4d8d08af362069557ffc735d0d7e
[ "PSF-2.0", "BSD-2-Clause", "MIT" ]
49
2017-08-15T09:52:13.000Z
2022-03-21T17:11:54.000Z
#!/usr/bin/env python bam = "BAM FROM sub/bar/bam.py"
13.75
31
0.654545
11
55
3.272727
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.145455
55
3
32
18.333333
0.765957
0.363636
0
0
0
0
0.676471
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f30661bbee606a0530efee14e496f9fb8c60ceec
3,324
py
Python
inferelator/tests/artifacts/test_stubs.py
meichenfang/inferelator
47f8ebcc5f303264a75814897c52026b47c57aef
[ "BSD-2-Clause" ]
25
2019-06-21T07:56:53.000Z
2022-03-19T06:58:07.000Z
inferelator/tests/artifacts/test_stubs.py
meichenfang/inferelator
47f8ebcc5f303264a75814897c52026b47c57aef
[ "BSD-2-Clause" ]
22
2019-04-16T15:28:19.000Z
2022-03-02T19:11:12.000Z
inferelator/tests/artifacts/test_stubs.py
meichenfang/inferelator
47f8ebcc5f303264a75814897c52026b47c57aef
[ "BSD-2-Clause" ]
12
2019-05-13T20:03:17.000Z
2022-02-11T01:44:01.000Z
from inferelator import amusr_workflow from inferelator import workflow from inferelator.regression.base_regression import _RegressionWorkflowMixin from inferelator.postprocessing.results_processor import ResultsProcessor from inferelator.tests.artifacts.test_data import TestDataSingleCellLike, TEST_DATA, TEST_DATA_SPA...
30.777778
115
0.687425
397
3,324
5.481108
0.352645
0.04136
0.032169
0.033088
0.07261
0.07261
0.054228
0.028493
0
0
0
0.009339
0.226835
3,324
107
116
31.065421
0.837354
0.087244
0
0.117647
0
0
0.023659
0
0
0
0
0
0
1
0.220588
false
0.058824
0.117647
0.073529
0.735294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
f30fc9c23fd076da90c47a76e838340567720d04
158
py
Python
common/string_utils.py
junglestory/python-boilerplate
32f8fbfb80a6d91e7a5c0d6a69615ff882186320
[ "MIT" ]
null
null
null
common/string_utils.py
junglestory/python-boilerplate
32f8fbfb80a6d91e7a5c0d6a69615ff882186320
[ "MIT" ]
null
null
null
common/string_utils.py
junglestory/python-boilerplate
32f8fbfb80a6d91e7a5c0d6a69615ff882186320
[ "MIT" ]
null
null
null
import re # 태그 제거 def relace_tag(content): cleaner = re.compile('<.*?>') cleantext = re.sub(cleaner, '', content) return cleantext
19.75
50
0.575949
18
158
5
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.278481
158
8
51
19.75
0.789474
0.031646
0
0
0
0
0.032895
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f32184387bc4bed77e7b673967b22d70e2e6d2bd
1,267
py
Python
client/message.py
Kolkir/netbot
ca9db4cc5b435cef07ea1f3c47c56f6e2ee5df52
[ "MIT" ]
null
null
null
client/message.py
Kolkir/netbot
ca9db4cc5b435cef07ea1f3c47c56f6e2ee5df52
[ "MIT" ]
null
null
null
client/message.py
Kolkir/netbot
ca9db4cc5b435cef07ea1f3c47c56f6e2ee5df52
[ "MIT" ]
null
null
null
from enum import IntEnum class MessageId(IntEnum): HELLO = 1 CAPTURE_IMAGE = 2 SEND_IMAGE = 3 GET_CAMERA_LIST = 4 SEND_CAMERA_LIST = 5 MOVE = 6 GET_CAMERA_PROP = 7 SEND_CAMERA_PROP = 8 STOP = 9 SET_CAMERA_PROP = 10 class Message: def __init__(self, id): self.id_ =...
17.121622
45
0.606946
164
1,267
4.317073
0.29878
0.09887
0.09887
0.127119
0.463277
0.40678
0.336158
0.186441
0.186441
0.186441
0
0.014623
0.298343
1,267
73
46
17.356164
0.781777
0
0
0.42
0
0
0
0
0
0
0
0
0
1
0.32
false
0.06
0.02
0.14
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
b845e1916380594aa2f428f9c2f8cb2a2ca264cd
456
py
Python
uptee/testingstate/models.py
teeworldsCNFun/upTee
1c04b7421f4834f83bbb9f59f43dfebac08e56b0
[ "BSD-3-Clause" ]
2
2018-12-26T18:48:58.000Z
2021-07-20T23:41:14.000Z
uptee/testingstate/models.py
teeworldsCNFun/upTee
1c04b7421f4834f83bbb9f59f43dfebac08e56b0
[ "BSD-3-Clause" ]
13
2015-01-20T19:18:10.000Z
2022-03-07T21:35:55.000Z
uptee/testingstate/models.py
teeworldsCNFun/upTee
1c04b7421f4834f83bbb9f59f43dfebac08e56b0
[ "BSD-3-Clause" ]
3
2015-12-04T20:10:50.000Z
2022-01-24T12:31:09.000Z
from django.contrib.auth.models import User from django.db import models def generate_random_key(): return User.objects.make_random_password(length=16) class TestingKey(models.Model): key = models.CharField(blank=True, max_length=16) is_used = models.BooleanField(default=False) def save(self, *args...
26.823529
55
0.703947
62
456
5.048387
0.612903
0.063898
0.108626
0
0
0
0
0
0
0
0
0.010724
0.182018
456
16
56
28.5
0.828418
0
0
0
1
0
0
0
0
0
0
0
0
1
0.181818
false
0.090909
0.181818
0.090909
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
b85bee0a842824cadcde320f355474d65fad04dd
278
py
Python
22Braket/Braket.py
Easonyesheng/CodePractice
91c8b09c278f5abb67e90f0096fc83bef975647b
[ "MIT" ]
null
null
null
22Braket/Braket.py
Easonyesheng/CodePractice
91c8b09c278f5abb67e90f0096fc83bef975647b
[ "MIT" ]
null
null
null
22Braket/Braket.py
Easonyesheng/CodePractice
91c8b09c278f5abb67e90f0096fc83bef975647b
[ "MIT" ]
null
null
null
""" 数字 n 代表生成括号的对数,请你设计一个函数,用于能够生成所有可能的并且 有效的 括号组合。   示例: 输入:n = 3 输出:[ "((()))", "(()())", "(())()", "()(())", "()()()" ] 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/generate-parentheses 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。 """
13.9
56
0.496403
26
278
5.307692
0.923077
0
0
0
0
0
0
0
0
0
0
0.004717
0.23741
278
20
57
13.9
0.646226
0.971223
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b87962acba322f0a790a8c124aa8c10e68037cbb
760
py
Python
onegram/exceptions.py
pauloromeira/onegram
8294e237e8b8aa70c783347e42ea03d24098c48e
[ "MIT" ]
150
2018-03-17T20:38:43.000Z
2020-11-18T14:08:06.000Z
onegram/exceptions.py
pauloromeira/onegram
8294e237e8b8aa70c783347e42ea03d24098c48e
[ "MIT" ]
14
2018-04-08T11:39:59.000Z
2019-08-10T14:16:23.000Z
onegram/exceptions.py
pauloromeira/onegram
8294e237e8b8aa70c783347e42ea03d24098c48e
[ "MIT" ]
11
2018-03-22T04:34:29.000Z
2021-06-10T10:55:35.000Z
class OnegramException(Exception): pass # TODO [romeira]: Login exceptions {06/03/18 23:07} class AuthException(OnegramException): pass class AuthFailed(AuthException): pass class AuthUserError(AuthException): pass class NotSupportedError(OnegramException): pass class RequestFailed(OnegramExcep...
25.333333
78
0.738158
99
760
5.666667
0.373737
0.137255
0.074866
0.099822
0.265597
0.199643
0.149733
0
0
0
0
0.107692
0.144737
760
29
79
26.206897
0.755385
0.539474
0
0.5
0
0
0
0
0
0
0
0.034483
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
1
0
0
0
0
0
3
b8891815d227a41abb0ad34191af87709961142b
123
py
Python
nmr_sims/_version.py
foroozandehgroup/nmr_sims
a035bdf75f467f88e96f1ef90c26b9dd3b5c2884
[ "MIT" ]
null
null
null
nmr_sims/_version.py
foroozandehgroup/nmr_sims
a035bdf75f467f88e96f1ef90c26b9dd3b5c2884
[ "MIT" ]
null
null
null
nmr_sims/_version.py
foroozandehgroup/nmr_sims
a035bdf75f467f88e96f1ef90c26b9dd3b5c2884
[ "MIT" ]
null
null
null
# _version.py # Simon Hulse # simon.hulse@chem.ox.ac.uk # Last Edited: Tue 10 May 2022 10:24:50 BST __version__ = "0.0.6"
17.571429
43
0.691057
24
123
3.333333
0.791667
0.25
0
0
0
0
0
0
0
0
0
0.145631
0.162602
123
6
44
20.5
0.631068
0.739837
0
0
0
0
0.185185
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
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
3
b8a5e1d55f9e1c03432a62032dc3d969c43a2620
171
py
Python
Movement.py
kclark-jenkins/connorbot-server
a58d175efe5377f9c14e06e936e280b2390f8669
[ "MIT" ]
null
null
null
Movement.py
kclark-jenkins/connorbot-server
a58d175efe5377f9c14e06e936e280b2390f8669
[ "MIT" ]
null
null
null
Movement.py
kclark-jenkins/connorbot-server
a58d175efe5377f9c14e06e936e280b2390f8669
[ "MIT" ]
1
2018-08-20T00:53:22.000Z
2018-08-20T00:53:22.000Z
class Movement: def __init__(self): print "Movement constructor" def move(self, direction, speed): return "Implement motor code from pi prototype"
28.5
55
0.678363
20
171
5.6
0.85
0
0
0
0
0
0
0
0
0
0
0
0.245614
171
6
55
28.5
0.868217
0
0
0
0
0
0.337209
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
b21ec8096a2227fa9c885c49b6fa4fc94ecb569b
141
py
Python
geniza/footnotes/apps.py
kmcelwee/geniza
0e59134e35357d4f80d85bf1e423edbc29d1edfb
[ "Apache-2.0" ]
null
null
null
geniza/footnotes/apps.py
kmcelwee/geniza
0e59134e35357d4f80d85bf1e423edbc29d1edfb
[ "Apache-2.0" ]
5
2020-09-22T17:35:24.000Z
2020-09-22T19:45:46.000Z
geniza/footnotes/apps.py
kmcelwee/geniza
0e59134e35357d4f80d85bf1e423edbc29d1edfb
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class FootnotesConfig(AppConfig): name = "geniza.footnotes" verbose_name = "Scholarship Records"
20.142857
40
0.758865
15
141
7.066667
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.163121
141
6
41
23.5
0.898305
0
0
0
0
0
0.248227
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b2363f15e51fca81ca21944c470e5f395efb517a
227
py
Python
exeSemana5.py
SricardoSdSouza/Curso-da-USP
6198c509c52bf6132f904cded2e12ae941f2b973
[ "MIT" ]
null
null
null
exeSemana5.py
SricardoSdSouza/Curso-da-USP
6198c509c52bf6132f904cded2e12ae941f2b973
[ "MIT" ]
null
null
null
exeSemana5.py
SricardoSdSouza/Curso-da-USP
6198c509c52bf6132f904cded2e12ae941f2b973
[ "MIT" ]
null
null
null
'''' def multiplica(a,b): return a*b print(multiplica(4,5)) def troca(x,y): aux = x x=y y=aux x=10 y=20 troca(x,y) print("X=",x,"e y =",y) ''' def total_caracteres (x,y,z): return (len(x)+len(y)+len(z))
11.35
33
0.54185
47
227
2.595745
0.404255
0.065574
0.114754
0
0
0
0
0
0
0
0
0.033708
0.215859
227
19
34
11.947368
0.651685
0.669604
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
1
0
0
0
1
1
0
0
3
b23d023fa564d2aad7f57ba22a6165491de3e901
84
py
Python
stcSeg/checkpoint/__init__.py
ylqi/STC-Seg
4c881fa285051b4e2879afb7907f7562973d0669
[ "MIT" ]
null
null
null
stcSeg/checkpoint/__init__.py
ylqi/STC-Seg
4c881fa285051b4e2879afb7907f7562973d0669
[ "MIT" ]
null
null
null
stcSeg/checkpoint/__init__.py
ylqi/STC-Seg
4c881fa285051b4e2879afb7907f7562973d0669
[ "MIT" ]
null
null
null
from .stcseg_checkpoint import STCSegCheckpointer __all__ = ["STCSegCheckpointer"]
21
49
0.833333
7
84
9.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.095238
84
3
50
28
0.855263
0
0
0
0
0
0.214286
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b264b78e65d481891d57e07520c9a9f65d357e12
371
py
Python
hutch_python/options.py
cristinasewell/hutch-python
6d32f23c18ade54a5f074076474bed0d959a4701
[ "BSD-3-Clause-LBNL" ]
null
null
null
hutch_python/options.py
cristinasewell/hutch-python
6d32f23c18ade54a5f074076474bed0d959a4701
[ "BSD-3-Clause-LBNL" ]
282
2017-12-08T19:55:40.000Z
2022-03-31T22:56:46.000Z
hutch_python/options.py
cristinasewell/hutch-python
6d32f23c18ade54a5f074076474bed0d959a4701
[ "BSD-3-Clause-LBNL" ]
11
2018-01-12T21:57:02.000Z
2020-11-26T00:29:34.000Z
""" This module defines options and settings the user may opt to change. """ from pcdsdevices.interface import set_engineering_mode def set_default_options(): set_engineering_mode(False) def load_options(cache): cache(set_engineering_mode=set_engineering_mode) cache.doc(set_engineering_mode='Tab interfa...
24.733333
71
0.792453
50
371
5.58
0.54
0.250896
0.322581
0
0
0
0
0
0
0
0
0
0.132075
371
14
72
26.5
0.86646
0.183288
0
0
0
0
0.111864
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.428571
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
b265f1fc7f0813c3971eeb2a67a5d433457b5561
1,065
py
Python
ampel/aux/filter/PrimitiveTypeArrayFilter.py
AmpelProject/Ampel-core
dcbfbe38ba400b7f8e44e641b90217ca1bed4f8f
[ "BSD-3-Clause" ]
5
2021-04-15T07:43:26.000Z
2022-03-04T09:25:09.000Z
ampel/aux/filter/PrimitiveTypeArrayFilter.py
AmpelProject/Ampel-core
dcbfbe38ba400b7f8e44e641b90217ca1bed4f8f
[ "BSD-3-Clause" ]
67
2021-02-23T21:43:20.000Z
2021-12-15T23:28:32.000Z
ampel/aux/filter/PrimitiveTypeArrayFilter.py
AmpelProject/Ampel-core
dcbfbe38ba400b7f8e44e641b90217ca1bed4f8f
[ "BSD-3-Clause" ]
1
2021-04-26T07:52:19.000Z
2021-04-26T07:52:19.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # File : Ampel-core/ampel/aux/filter/PrimitiveTypeArrayFilter.py # License : BSD-3-Clause # Author : vb <vbrinnel@physik.hu-berlin.de> # Date : 14.01.2020 # Last Modified Date: 18.06.2020 # Last Modified By : vb <vbrinnel@phys...
30.428571
77
0.638498
137
1,065
4.941606
0.489051
0.017725
0.041359
0.053176
0.124077
0.124077
0.047267
0.047267
0.047267
0
0
0.036824
0.184038
1,065
34
78
31.323529
0.742232
0.612207
0
0
0
0
0.002336
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
b27180e1bd976b5ddec386a41527957e496436c0
152
py
Python
aula02.py
melqrozendo/Projeto-codigo-em-Python
0343e5089ef905e9631c5386bdc2e0d5a3e47d41
[ "MIT" ]
null
null
null
aula02.py
melqrozendo/Projeto-codigo-em-Python
0343e5089ef905e9631c5386bdc2e0d5a3e47d41
[ "MIT" ]
null
null
null
aula02.py
melqrozendo/Projeto-codigo-em-Python
0343e5089ef905e9631c5386bdc2e0d5a3e47d41
[ "MIT" ]
null
null
null
#Aula02 #operadores aritmetricos print(5+8) print(10-5) print(5*3) print(17/3) print(2**3) #calculando a parte inteira da divisão print(5//2) print(5%2)
15.2
38
0.730263
30
152
3.7
0.533333
0.216216
0.126126
0
0
0
0
0
0
0
0
0.131387
0.098684
152
10
39
15.2
0.678832
0.434211
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
0
0
0
1
0
3
b279f02578d7cd04426529bebb655b53d4310b23
70
py
Python
incrowd/incrowd/production_settings.py
incrowdio/incrowd
711e99c55b9da815af7749a2930d4184e235fa68
[ "Apache-2.0" ]
4
2015-03-10T04:24:07.000Z
2016-09-18T16:41:12.000Z
incrowd/incrowd/production_settings.py
incrowdio/incrowd
711e99c55b9da815af7749a2930d4184e235fa68
[ "Apache-2.0" ]
27
2015-01-03T09:52:50.000Z
2021-06-10T20:37:08.000Z
incrowd/incrowd/production_settings.py
incrowdio/incrowd
711e99c55b9da815af7749a2930d4184e235fa68
[ "Apache-2.0" ]
2
2015-09-07T21:06:51.000Z
2016-03-10T11:31:57.000Z
MAILGUN_ACCESS_KEY = 'ACCESS-KEY' MAILGUN_SERVER_NAME = 'SERVER-NAME'
23.333333
35
0.8
10
70
5.2
0.5
0.346154
0
0
0
0
0
0
0
0
0
0
0.085714
70
2
36
35
0.8125
0
0
0
0
0
0.3
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
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
3
b2833214b590355e0a84b809e44894220b2e8d9d
497
py
Python
pycaw/etherscan/__init__.py
Unique-Divine/crypto-apis
c8f577cdef1ba120c0424fcc5be63e710249f8f1
[ "MIT" ]
null
null
null
pycaw/etherscan/__init__.py
Unique-Divine/crypto-apis
c8f577cdef1ba120c0424fcc5be63e710249f8f1
[ "MIT" ]
null
null
null
pycaw/etherscan/__init__.py
Unique-Divine/crypto-apis
c8f577cdef1ba120c0424fcc5be63e710249f8f1
[ "MIT" ]
null
null
null
"""TODO module docs for pycaw.etherscan""" from pycaw.etherscan import types from pycaw.etherscan import etherscan_connector from pycaw.etherscan import token_info_connector EtherscanConnector = etherscan_connector.EtherscanConnector TokenInfoConnector = token_info_connector.TokenInfoConnector # TokenInfoConnector....
31.0625
60
0.828974
49
497
8.122449
0.387755
0.140704
0.135678
0.180905
0
0
0
0
0
0
0
0
0.096579
497
15
61
33.133333
0.886414
0.132797
0
0
0
0
0.087805
0
0
0
0
0.066667
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
3
b29ba7052668f8bedfcf3b1aec70c1edf48f6835
13,793
py
Python
infra/services/master_manager_launcher/test/desired_state_parser_test.py
eunchong/infra
ce3728559112bfb3e8b32137eada517aec6d22f9
[ "BSD-3-Clause" ]
null
null
null
infra/services/master_manager_launcher/test/desired_state_parser_test.py
eunchong/infra
ce3728559112bfb3e8b32137eada517aec6d22f9
[ "BSD-3-Clause" ]
null
null
null
infra/services/master_manager_launcher/test/desired_state_parser_test.py
eunchong/infra
ce3728559112bfb3e8b32137eada517aec6d22f9
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2015 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. import contextlib import json import os import unittest from infra.libs.buildbot import master from infra_libs.time_functions import timestamp from infra_li...
35.276215
79
0.666788
1,425
13,793
6.093333
0.150877
0.149257
0.105724
0.103996
0.719337
0.713348
0.70114
0.689739
0.680986
0.680986
0
0.031911
0.218444
13,793
390
80
35.366667
0.773562
0.025665
0
0.618012
0
0
0.217903
0.007373
0
0
0
0
0.083851
1
0.093168
false
0
0.031056
0
0.142857
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b2a71a39dfb81b3c6591a45a489749ea437916c2
328
py
Python
spring2021/hw1/avgpool.py
siyao-7/11775-hws
7f34495d8f835b7cdc70665988e7a0831309c99e
[ "Apache-2.0" ]
null
null
null
spring2021/hw1/avgpool.py
siyao-7/11775-hws
7f34495d8f835b7cdc70665988e7a0831309c99e
[ "Apache-2.0" ]
null
null
null
spring2021/hw1/avgpool.py
siyao-7/11775-hws
7f34495d8f835b7cdc70665988e7a0831309c99e
[ "Apache-2.0" ]
null
null
null
import os import numpy as np files = os.listdir('./soundnet/') layer = '/tf_fea18.npy' for filename in files: if os.path.exists('./soundnet/'+filename+layer): raw_feat=np.load('./soundnet/'+filename+layer) raw_feat1 = np.max(raw_feat,0).tolist() np.savetxt('./avgpool18/'+filename+'.csv', raw...
32.8
61
0.658537
47
328
4.489362
0.595745
0.151659
0.199052
0.227488
0
0
0
0
0
0
0
0.025362
0.158537
328
9
62
36.444444
0.73913
0
0
0
0
0
0.189024
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
0
1
1
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
3
b2ab9741520347bb1b928a4de1a1b8beef58a1c1
137
py
Python
data_comprehention/list_comprehention.py
silentstep/useful-python-code
0befbd32d32e46ccd1a5db2d65dfaa05aa1a016c
[ "MIT" ]
null
null
null
data_comprehention/list_comprehention.py
silentstep/useful-python-code
0befbd32d32e46ccd1a5db2d65dfaa05aa1a016c
[ "MIT" ]
null
null
null
data_comprehention/list_comprehention.py
silentstep/useful-python-code
0befbd32d32e46ccd1a5db2d65dfaa05aa1a016c
[ "MIT" ]
null
null
null
a_list = [1, 5, 'a', 2, 'b'] squared_ints = [e**2 for e in a_list if type(e) is int] if __name__ == "__main__": print squared_ints
19.571429
55
0.613139
27
137
2.666667
0.666667
0.138889
0
0
0
0
0
0
0
0
0
0.037383
0.218978
137
7
56
19.571429
0.635514
0
0
0
0
0
0.072464
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
b2abe3130e2ce9290e0dfb01fbc14c60b146f18c
14,213
py
Python
scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py
jasonmccampbell/scipy-refactor
52708e04bca51e7043248d56383780b1e51e0d8f
[ "BSD-3-Clause" ]
8
2015-10-07T00:37:32.000Z
2022-01-21T17:02:33.000Z
scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py
enthought/scipy-refactor
52708e04bca51e7043248d56383780b1e51e0d8f
[ "BSD-3-Clause" ]
null
null
null
scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py
enthought/scipy-refactor
52708e04bca51e7043248d56383780b1e51e0d8f
[ "BSD-3-Clause" ]
8
2015-05-09T14:23:57.000Z
2018-11-15T05:56:00.000Z
#!/usr/bin/env python __usage__ = """ To run tests locally: python tests/test_arpack.py [-l<int>] [-v<int>] """ import numpy as np from numpy.testing import assert_almost_equal, assert_array_almost_equal, \ assert_array_almost_equal_nulp, TestCase, run_module_suite, dec, \ assert_raises, verbose, as...
33.840476
79
0.51481
1,861
14,213
3.818915
0.127888
0.04179
0.026594
0.052624
0.730547
0.702828
0.679893
0.670606
0.665541
0.635148
0
0.067626
0.344544
14,213
419
80
33.921241
0.695255
0.053191
0
0.592593
0
0
0.037159
0
0
0
0
0
0.101852
0
null
null
0
0.021605
null
null
0.009259
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
a2455ae70ecc82cce747b6d395144cd1484a90d0
771
py
Python
hrv/filters.py
raphaelvallat/hrv
6d8c9f0a0187b382697b90f39362cf91c7ea3a76
[ "BSD-3-Clause" ]
1
2020-04-20T01:05:45.000Z
2020-04-20T01:05:45.000Z
hrv/filters.py
raphaelvallat/hrv
6d8c9f0a0187b382697b90f39362cf91c7ea3a76
[ "BSD-3-Clause" ]
null
null
null
hrv/filters.py
raphaelvallat/hrv
6d8c9f0a0187b382697b90f39362cf91c7ea3a76
[ "BSD-3-Clause" ]
1
2019-11-26T10:20:09.000Z
2019-11-26T10:20:09.000Z
import numpy as np def quotient(rri): rri = np.array(rri) L = len(rri) - 1 indices = np.where((rri[:L - 1] / rri[1:L] < 0.8) | (rri[:L - 1] / rri[1:L] > 1.2) | (rri[1:L] / rri[:L - 1] < 0.8) | (rri[1:L] / rri[:L - 1] > 1.2)) return...
24.09375
58
0.542153
122
771
3.336066
0.295082
0.04914
0.04914
0.162162
0.289926
0.289926
0.191646
0.191646
0.191646
0
0
0.043956
0.291829
771
31
59
24.870968
0.701465
0
0
0
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0.105263
0.473684
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
a26f8ed14d858b9f69e9e39fee90f1c48ba18a78
217
py
Python
PyBullet_experiments/experiments/ger_sac_minitaur.py
AnonymousLaBER/LaBER
af9da8ffda0654e2021de20cb162ef71dc9b9d6c
[ "MIT" ]
3
2021-10-11T22:25:02.000Z
2022-03-04T20:00:56.000Z
PyBullet_experiments/experiments/ger_sac_minitaur.py
AnonymousLaBER/LaBER
af9da8ffda0654e2021de20cb162ef71dc9b9d6c
[ "MIT" ]
null
null
null
PyBullet_experiments/experiments/ger_sac_minitaur.py
AnonymousLaBER/LaBER
af9da8ffda0654e2021de20cb162ef71dc9b9d6c
[ "MIT" ]
null
null
null
import pybullet_envs from stable_baselines3 import SAC_GER model = SAC_GER('MlpPolicy', 'MinitaurBulletEnv-v0', verbose=1, tensorboard_log="results/long_SAC_GER_MinitaurBullet/") model.learn(total_timesteps=3000000)
36.166667
119
0.83871
29
217
5.965517
0.793103
0.104046
0
0
0
0
0
0
0
0
0
0.049261
0.064516
217
5
120
43.4
0.802956
0
0
0
0
0
0.299539
0.165899
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a28b75fc6872b82374dafebd9f3e4fed5acf09a5
3,882
py
Python
irispy/tests/test_iris_tools.py
tiagopereira/irispy_old
11773eadf63ae357509fa21440640973901decbc
[ "BSD-2-Clause" ]
null
null
null
irispy/tests/test_iris_tools.py
tiagopereira/irispy_old
11773eadf63ae357509fa21440640973901decbc
[ "BSD-2-Clause" ]
null
null
null
irispy/tests/test_iris_tools.py
tiagopereira/irispy_old
11773eadf63ae357509fa21440640973901decbc
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import print_function import pytest import irispy.iris_tools as iris_tools import numpy as np import numpy.testing as np_test source_data = np.array([[ 0.563, 1.132, -1.343], [-0.719, 1.441, 1.566]]) source_data1 = np.array([[1, 2, 3], [4, 5, 6]]) def test_conver...
28.335766
115
0.728233
529
3,882
4.954631
0.228733
0.096147
0.054941
0.07211
0.812667
0.763068
0.665776
0.648226
0.611217
0.526135
0
0.11994
0.134467
3,882
137
116
28.335766
0.660119
0.043277
0
0.274194
0
0
0.016389
0
0
0
0
0
0.209677
1
0.209677
false
0
0.080645
0
0.290323
0.016129
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
a28dae5f83007601e6303533727a035553a89c95
196
py
Python
tests/basics/string_repr.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
7
2019-10-18T13:41:39.000Z
2022-03-15T17:27:57.000Z
tests/basics/string_repr.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
null
null
null
tests/basics/string_repr.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
2
2020-06-23T09:10:15.000Z
2020-12-22T06:42:14.000Z
# anything above 0xa0 is printed as Unicode by CPython # the abobe is CPython implementation detail, stick to ASCII for c in range(0x80): print("0x%02x: %s" % (c, repr(chr(c)))) print("PASS")
32.666667
60
0.69898
33
196
4.151515
0.848485
0
0
0
0
0
0
0
0
0
0
0.049383
0.173469
196
6
61
32.666667
0.796296
0.566327
0
0
0
0
0.168675
0
0
0
0.048193
0
0
1
0
false
0.333333
0
0
0
0.666667
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
1
0
0
0
1
0
3
a291258db2992f917c45b252e7c41f9dddaa0e3d
1,043
py
Python
ydb/credentials.py
gridnevvvit/ydb-python-sdk
952f7b4f179595b07711934691d2e15643929cc5
[ "Apache-2.0" ]
2
2022-02-18T16:18:52.000Z
2022-02-19T20:15:05.000Z
ydb/credentials.py
gridnevvvit/ydb-python-sdk
952f7b4f179595b07711934691d2e15643929cc5
[ "Apache-2.0" ]
1
2022-02-09T12:49:19.000Z
2022-02-21T08:15:36.000Z
ydb/credentials.py
gridnevvvit/ydb-python-sdk
952f7b4f179595b07711934691d2e15643929cc5
[ "Apache-2.0" ]
2
2022-02-03T14:58:56.000Z
2022-02-22T19:42:59.000Z
# -*- coding: utf-8 -*- import abc import six from . import tracing YDB_AUTH_TICKET_HEADER = "x-ydb-auth-ticket" @six.add_metaclass(abc.ABCMeta) class AbstractCredentials(object): """ An abstract class that provides auth metadata """ @six.add_metaclass(abc.ABCMeta) class Credentials(object): def __...
21.285714
76
0.676894
121
1,043
5.578512
0.363636
0.106667
0.077037
0.084444
0.404444
0.367407
0.278519
0.278519
0.278519
0.278519
0
0.001232
0.221477
1,043
48
77
21.729167
0.830049
0.103547
0
0.407407
0
0
0.018973
0
0
0
0
0
0
1
0.259259
false
0.037037
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a296a5c0096b3cdf145e2d5e549f7154de269a32
177
py
Python
doxybook/templates/pages.py
matusnovak/doxybook
6d0e2b93caf3f35cf242cdc95c65230e89cb975b
[ "MIT" ]
30
2018-09-06T11:26:02.000Z
2022-03-24T11:30:50.000Z
doxybook/templates/pages.py
matusnovak/doxybook
6d0e2b93caf3f35cf242cdc95c65230e89cb975b
[ "MIT" ]
10
2018-06-20T11:29:59.000Z
2021-07-31T11:20:04.000Z
doxybook/templates/pages.py
matusnovak/doxybook
6d0e2b93caf3f35cf242cdc95c65230e89cb975b
[ "MIT" ]
10
2018-04-12T11:27:51.000Z
2021-12-20T12:17:03.000Z
TEMPLATE = """ # Related Pages Here is a list of all related documentation pages: {% for page in nodes -%} * [*{{page.title}}*]({{page.url}}) {{page.brief}} {% endfor -%} """
17.7
50
0.59887
23
177
4.608696
0.782609
0
0
0
0
0
0
0
0
0
0
0
0.169492
177
9
51
19.666667
0.721088
0
0
0
0
0
0.898305
0.180791
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a2a778a44bdf44390340c97d6577f9daca143830
179
py
Python
smokestack/types/capability.py
cariad/smokestack
c1f75e1708368e5a9cd8357025b8c20352158ae7
[ "MIT" ]
null
null
null
smokestack/types/capability.py
cariad/smokestack
c1f75e1708368e5a9cd8357025b8c20352158ae7
[ "MIT" ]
12
2021-10-12T08:32:50.000Z
2021-12-26T09:43:56.000Z
smokestack/types/capability.py
cariad/smokestack
c1f75e1708368e5a9cd8357025b8c20352158ae7
[ "MIT" ]
null
null
null
from typing import Literal, Sequence Capability = Literal[ "CAPABILITY_AUTO_EXPAND", "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM", ] Capabilities = Sequence[Capability]
17.9
36
0.748603
18
179
7.166667
0.611111
0.27907
0
0
0
0
0
0
0
0
0
0
0.162011
179
9
37
19.888889
0.86
0
0
0
0
0
0.312849
0.122905
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
1
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
3
a2d02ae365cdbdfeb087ba1e73cd6ac245612d70
25
py
Python
src/process-data/tsdbquery/__init__.py
clamm/spark-location-history
75174671745fdb9286db8f15ac308bab2f4187b7
[ "Apache-2.0" ]
15
2015-02-22T10:34:53.000Z
2021-05-26T19:27:57.000Z
src/process-data/tsdbquery/__init__.py
clamm/spark-location-history
75174671745fdb9286db8f15ac308bab2f4187b7
[ "Apache-2.0" ]
null
null
null
src/process-data/tsdbquery/__init__.py
clamm/spark-location-history
75174671745fdb9286db8f15ac308bab2f4187b7
[ "Apache-2.0" ]
6
2015-03-20T07:09:19.000Z
2019-08-22T10:43:10.000Z
__author__ = 'cindylamm'
12.5
24
0.76
2
25
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
1
25
25
0.681818
0
0
0
0
0
0.36
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a2ee7f10be53e7fb4ca6d3513662c2bdbc7d7695
535
py
Python
app/main.py
VikashKothary/market-information-service
0ea241acc5a02fd7ecc5e499f130da2c518275b7
[ "MIT" ]
null
null
null
app/main.py
VikashKothary/market-information-service
0ea241acc5a02fd7ecc5e499f130da2c518275b7
[ "MIT" ]
null
null
null
app/main.py
VikashKothary/market-information-service
0ea241acc5a02fd7ecc5e499f130da2c518275b7
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ main.py - Run the complete application """ from app import app, db from views import views from phone import phone from chatbot import chatbot from listenbot import listenbot from models import * db.create_tables() app.register_blueprint(views) app.register_blueprint(phone, url_prefix='/pho...
21.4
55
0.749533
79
535
4.873418
0.455696
0.114286
0.207792
0
0
0
0
0
0
0
0
0.01919
0.123364
535
24
56
22.291667
0.801706
0.11215
0
0
0
0
0.070664
0
0
0
0
0
0
1
0.066667
true
0
0.4
0
0.466667
0.266667
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
1
0
1
0
0
0
0
3
a2f9d0006ad6b4ab6dc2526931e48c728180442b
783
py
Python
supertools/subclass_detector.py
zagaran/instant-census
62dd5bbc62939f43776a10708ef663722ead98af
[ "MIT" ]
1
2021-06-01T17:03:47.000Z
2021-06-01T17:03:47.000Z
supertools/subclass_detector.py
zagaran/instant-census
62dd5bbc62939f43776a10708ef663722ead98af
[ "MIT" ]
null
null
null
supertools/subclass_detector.py
zagaran/instant-census
62dd5bbc62939f43776a10708ef663722ead98af
[ "MIT" ]
null
null
null
from utils.database import CHILD_TEMPLATE, DatabaseObject, DatabaseCollection def all_children(cls): import app # @UnusedImport to get scope of codebase import cron # @UnusedImport to get scope of codebase def inner(_class): children = _class.__subclasses__() if not children: ...
34.043478
110
0.726692
99
783
5.494949
0.363636
0.044118
0.073529
0.071691
0.235294
0.235294
0.117647
0
0
0
0
0
0.201788
783
22
111
35.590909
0.8704
0.09834
0
0
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.1875
0.1875
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
1
0
0
0
1
1
0
0
3
0c05d8a40231a91ec517facd352b2c197f4feee3
213
py
Python
modulo 1/aulas/1.0 - Print, input.py
GabrielBrotas/Python
9441b6b86ff3cb7fa5921b508c484075adac08b3
[ "MIT" ]
null
null
null
modulo 1/aulas/1.0 - Print, input.py
GabrielBrotas/Python
9441b6b86ff3cb7fa5921b508c484075adac08b3
[ "MIT" ]
null
null
null
modulo 1/aulas/1.0 - Print, input.py
GabrielBrotas/Python
9441b6b86ff3cb7fa5921b508c484075adac08b3
[ "MIT" ]
null
null
null
nome = input('what is your name? ') idade = input('how old are you ' + nome + '?') peso = input('what is your weight {}?'.format(nome) + '?') print('dados: {}'.format(nome) + ' Weight:' + peso + 'Idade:' + idade)
42.6
70
0.58216
29
213
4.275862
0.551724
0.145161
0.177419
0.241935
0
0
0
0
0
0
0
0
0.178404
213
4
71
53.25
0.708571
0
0
0
0
0
0.389671
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
1
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
3
0c11e18533454b1fc3d049288a74cf7ceaed0b2a
353
py
Python
main/migrations/0008_auto_20211005_1758.py
spralja/mycalendar
a96a70c646d09a39282a51fea53e0faf0e715284
[ "MIT" ]
null
null
null
main/migrations/0008_auto_20211005_1758.py
spralja/mycalendar
a96a70c646d09a39282a51fea53e0faf0e715284
[ "MIT" ]
null
null
null
main/migrations/0008_auto_20211005_1758.py
spralja/mycalendar
a96a70c646d09a39282a51fea53e0faf0e715284
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-10-05 15:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('main', '0007_alter_day_week'), ] operations = [ migrations.DeleteModel( name='Day', ), migrations.DeleteModel( ...
17.65
47
0.558074
36
353
5.388889
0.75
0.216495
0.257732
0
0
0
0
0
0
0
0
0.079832
0.325779
353
19
48
18.578947
0.735294
0.127479
0
0.307692
1
0
0.098039
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
0
0
0
null
1
1
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
3
0c129375676a0311a8684c28e5a02c6cc4ae2b99
1,590
py
Python
fortumo/models.py
v0y/django-fortumo
d21101690a6b11adaa44faf5a686cb6e8f1c74fc
[ "MIT" ]
null
null
null
fortumo/models.py
v0y/django-fortumo
d21101690a6b11adaa44faf5a686cb6e8f1c74fc
[ "MIT" ]
null
null
null
fortumo/models.py
v0y/django-fortumo
d21101690a6b11adaa44faf5a686cb6e8f1c74fc
[ "MIT" ]
null
null
null
from django.db import models from json_field import JSONField class Service(models.Model): name = models.CharField(max_length=64) secret = models.CharField(max_length=128) service_id = models.CharField(max_length=128) ips = JSONField(default=[]) validate_ip = models.BooleanField(default=True) ...
31.8
65
0.688679
196
1,590
5.387755
0.306122
0.241477
0.289773
0.386364
0.416667
0.095644
0.068182
0
0
0
0
0.028951
0.196226
1,590
49
66
32.44898
0.79734
0
0
0.125
0
0
0.022642
0
0
0
0
0
0
1
0.075
false
0
0.05
0.075
0.875
0
0
0
0
null
1
1
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
3
0c13be8177e33fb47f8ecc6b7ba72fd04f2fa6fa
4,902
py
Python
apps/falcon/arch/temp-evaluate-viz-code.py
Roy-Tuhin/maskrcnn_sophisticate-
a5a2300abbe2633d66847cdbfa7ed2bc2f901ec3
[ "Apache-2.0" ]
null
null
null
apps/falcon/arch/temp-evaluate-viz-code.py
Roy-Tuhin/maskrcnn_sophisticate-
a5a2300abbe2633d66847cdbfa7ed2bc2f901ec3
[ "Apache-2.0" ]
14
2021-02-02T22:32:47.000Z
2022-03-12T00:20:40.000Z
apps/falcon/arch/temp-evaluate-viz-code.py
Boyetuhin/maskrcnn_sophisticate-
a5a2300abbe2633d66847cdbfa7ed2bc2f901ec3
[ "Apache-2.0" ]
1
2021-05-03T22:48:36.000Z
2021-05-03T22:48:36.000Z
# log.debug("len(pred_boxes), pred_boxes.shape, type(pred_boxes): {},{},{}".format(len(pred_boxes), pred_boxes.shape, type(pred_boxes))) # log.debug("len(pred_masks), pred_masks.shape, type(pred_masks): {},{},{}".format(len(pred_masks), pred_masks.shape, type(pred_masks))) # log.debug("len(pred...
57.670588
177
0.595879
606
4,902
4.533003
0.242574
0.049145
0.045868
0.055697
0.409538
0.396432
0.337095
0.313797
0.287586
0.214052
0
0.002459
0.253366
4,902
84
178
58.357143
0.748087
0.848225
0
null
0
null
0
0
null
0
0
0.011905
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
3
0c1ee0c23b82d7dd84ba08e7640204fc5ccec71a
1,529
py
Python
cardbuilder/input/word_list.py
Mindful/cardbuilder
b6d1e013f09a4144dd5fd033117cbe3547f1764b
[ "MIT" ]
4
2021-03-27T09:45:31.000Z
2021-11-17T23:50:16.000Z
cardbuilder/input/word_list.py
Mindful/cardbuilder
b6d1e013f09a4144dd5fd033117cbe3547f1764b
[ "MIT" ]
15
2021-03-09T13:14:32.000Z
2022-02-28T11:47:05.000Z
cardbuilder/input/word_list.py
Mindful/cardbuilder
b6d1e013f09a4144dd5fd033117cbe3547f1764b
[ "MIT" ]
1
2021-03-27T04:45:20.000Z
2021-03-27T04:45:20.000Z
from abc import ABC from copy import copy from typing import List, Iterable, Optional, Union from cardbuilder.common import Language from cardbuilder.input.word import Word, WordForm class WordList(ABC): """The base class for all word lists; all word lists inherit from this class. Behaves like a Python list by ...
34.75
120
0.665795
197
1,529
4.994924
0.406091
0.054878
0.042683
0.026423
0
0
0
0
0
0
0
0
0.258339
1,529
43
121
35.55814
0.867725
0.282538
0
0
0
0
0.055877
0
0
0
0
0
0
1
0.208333
false
0
0.208333
0.125
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0c315c16eb52798a6445d93bdef71ad1587e8d26
217
py
Python
homeworks/hw7/num2.py
NikaEgorova/goiteens-python3-egorova
809059abf3464cbe4f0f116e52ce53534a0ca5ba
[ "MIT" ]
null
null
null
homeworks/hw7/num2.py
NikaEgorova/goiteens-python3-egorova
809059abf3464cbe4f0f116e52ce53534a0ca5ba
[ "MIT" ]
null
null
null
homeworks/hw7/num2.py
NikaEgorova/goiteens-python3-egorova
809059abf3464cbe4f0f116e52ce53534a0ca5ba
[ "MIT" ]
null
null
null
avtobots = {"Оптімус Прайм": "Грузовик Peterbilt 379", "Бамблбі": "Chevrolet Camaro", "Джаз": "Porsche 935 Turbo"} for key in avtobots: if key == "Оптімус Прайм": print("Оптімус Прайм прибув")
36.166667
71
0.631336
25
217
5.48
0.76
0.262774
0
0
0
0
0
0
0
0
0
0.035928
0.230415
217
5
72
43.4
0.784431
0
0
0
0
0
0.516129
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
1
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
3
0c4f650d8855046328d2b8180bb88d6c3645c268
240
py
Python
leetcode/342.py
windniw/just-for-fun
54e5c2be145f3848811bfd127f6a89545e921570
[ "Apache-2.0" ]
1
2019-08-28T23:15:25.000Z
2019-08-28T23:15:25.000Z
leetcode/342.py
windniw/just-for-fun
54e5c2be145f3848811bfd127f6a89545e921570
[ "Apache-2.0" ]
null
null
null
leetcode/342.py
windniw/just-for-fun
54e5c2be145f3848811bfd127f6a89545e921570
[ "Apache-2.0" ]
null
null
null
""" link: https://leetcode.com/problems/power-of-four problem: 问num是否是4的幂,要求O(1) solution: 位运算 """ class Solution: def isPowerOfFour(self, num: int) -> bool: return num > 0 and num & (num - 1) == 0 and num & 0xaaaaaaaa == 0
18.461538
73
0.633333
34
240
4.470588
0.735294
0.052632
0.092105
0
0
0
0
0
0
0
0
0.036842
0.208333
240
12
74
20
0.763158
0.383333
0
0
0
0
0
0
0
0
0.072464
0
0
1
0.333333
false
0
0
0.333333
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
1
0
0
0
1
1
0
0
3
a7521face55a890e41b32223b92035e2551c8a44
677
py
Python
gitmostwanted/web.py
JS555/YayanRuhianResearch_
313df2ff308b2c7444bcd64094dd64ff69a8911d
[ "MIT" ]
null
null
null
gitmostwanted/web.py
JS555/YayanRuhianResearch_
313df2ff308b2c7444bcd64094dd64ff69a8911d
[ "MIT" ]
null
null
null
gitmostwanted/web.py
JS555/YayanRuhianResearch_
313df2ff308b2c7444bcd64094dd64ff69a8911d
[ "MIT" ]
null
null
null
from gitmostwanted.app import app from gitmostwanted.lib.filter import number_humanize from gitmostwanted.blueprints import\ repo_rating, repo_trending, static_content, user_attitude, user_oauth, user_profile app.register_blueprint(static_content.static_content) app.register_blueprint(user_oauth.user_oauth) app.re...
37.611111
87
0.843427
96
677
5.552083
0.354167
0.123827
0.225141
0.135084
0
0
0
0
0
0
0
0.007886
0.063516
677
17
88
39.823529
0.832808
0
0
0
0
0
0.063516
0
0
0
0
0
0
1
0
true
0
0.214286
0
0.214286
0.5
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
1
0
0
0
0
1
0
3
a75a20e7dd96b7ecb1958506ccc7b1310e60e25c
1,207
py
Python
textattack/constraints/__init__.py
dheerajrav/TextAttack
41e747215bb0f01c511af95b16b94704c780cd5a
[ "MIT" ]
null
null
null
textattack/constraints/__init__.py
dheerajrav/TextAttack
41e747215bb0f01c511af95b16b94704c780cd5a
[ "MIT" ]
null
null
null
textattack/constraints/__init__.py
dheerajrav/TextAttack
41e747215bb0f01c511af95b16b94704c780cd5a
[ "MIT" ]
null
null
null
""" .. _constraint: Constraint Package =================== Constraints determine whether a given transformation is valid. Since transformations do not perfectly preserve semantics semantics or grammaticality, constraints can increase the likelihood that the resulting transformation preserves these qualities. All cons...
40.233333
385
0.787075
150
1,207
6.26
0.533333
0.029819
0.021299
0
0
0
0
0
0
0
0
0
0.139188
1,207
29
386
41.62069
0.903754
0.812759
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
a75dd86a51e164da0591debd7c4327f3bd4cf98c
640
py
Python
54.py
HatsuneMikuV/PythonLearning
34a7179ee20eb8ade50ce74b12732daea491e527
[ "Apache-2.0" ]
null
null
null
54.py
HatsuneMikuV/PythonLearning
34a7179ee20eb8ade50ce74b12732daea491e527
[ "Apache-2.0" ]
null
null
null
54.py
HatsuneMikuV/PythonLearning
34a7179ee20eb8ade50ce74b12732daea491e527
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ ------------------------------------------------- File Name: 54 Author : anglemiku Eamil : anglemiku.v@gmail.com date: 2020/1/8 ------------------------------------------------- Change Activity: 2020/1/8: ---------------------------------...
19.393939
49
0.395313
58
640
4.224138
0.586207
0.171429
0.04898
0
0
0
0
0
0
0
0
0.050104
0.251563
640
33
50
19.393939
0.461378
0.032813
0
0.181818
0
0
0.046154
0
0
0
0
0
0
0
null
null
0.090909
0
null
null
0.272727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
a7661fa48d1d2bec56f0b5dc24fc6095dbd46081
197
py
Python
main/forms.py
TolimanStaR/Course-Work
79dbfcbaef0ae79209295fe8d36b6fd9610e99b8
[ "MIT" ]
1
2020-03-31T22:09:34.000Z
2020-03-31T22:09:34.000Z
main/forms.py
TolimanStaR/Course-Work
79dbfcbaef0ae79209295fe8d36b6fd9610e99b8
[ "MIT" ]
8
2021-03-30T14:20:10.000Z
2022-03-12T00:52:03.000Z
main/forms.py
TolimanStaR/Course-Work
79dbfcbaef0ae79209295fe8d36b6fd9610e99b8
[ "MIT" ]
null
null
null
from django import forms from .models import Comment class SearchForm(forms.Form): search_text = forms.CharField(max_length=300) class CommentForm(forms.Form): body = forms.CharField()
17.909091
49
0.756345
26
197
5.653846
0.653846
0.122449
0
0
0
0
0
0
0
0
0
0.017964
0.152284
197
10
50
19.7
0.862275
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a76a68dd98cd36198fcb6bbc3eaeb5e97d844d9a
200
py
Python
patter/util/layer_utils.py
arnav1993k/Denosing
b938a42e002edf98cf5d6b54f6afa52c1612e0fe
[ "MIT" ]
74
2018-01-23T12:25:34.000Z
2021-11-05T07:36:41.000Z
patter/util/layer_utils.py
arnav1993k/Denosing
b938a42e002edf98cf5d6b54f6afa52c1612e0fe
[ "MIT" ]
15
2018-02-02T16:33:55.000Z
2021-06-07T10:24:11.000Z
patter/util/layer_utils.py
arnav1993k/Denosing
b938a42e002edf98cf5d6b54f6afa52c1612e0fe
[ "MIT" ]
18
2018-03-19T14:21:33.000Z
2020-12-16T10:14:43.000Z
def split_targets(targets, target_sizes): results = [] offset = 0 for size in target_sizes: results.append(targets[offset:offset + size]) offset += size return results
25
53
0.645
24
200
5.25
0.541667
0.174603
0.285714
0
0
0
0
0
0
0
0
0.006803
0.265
200
7
54
28.571429
0.85034
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a781c8f471452f78d1337641d62e7aa10045e5c0
436
py
Python
Screen.py
ytyaru/Pygame.line.201707171836
1c692dfc94778070a503d1213c531e9a52f420ef
[ "CC0-1.0" ]
null
null
null
Screen.py
ytyaru/Pygame.line.201707171836
1c692dfc94778070a503d1213c531e9a52f420ef
[ "CC0-1.0" ]
null
null
null
Screen.py
ytyaru/Pygame.line.201707171836
1c692dfc94778070a503d1213c531e9a52f420ef
[ "CC0-1.0" ]
null
null
null
import pygame class Screen: def __init__(self, width=320, height=240, color=[0,0,0]): self.__color = color self.__size = (width, height) self.__screen = pygame.display.set_mode(self.__size) @property def Screen(self): return self.__screen @property def Size(self): return self...
31.142857
61
0.669725
59
436
4.559322
0.338983
0.100372
0.156134
0.141264
0
0
0
0
0
0
0
0.026239
0.213303
436
13
62
33.538462
0.758017
0
0
0.230769
0
0
0
0
0
0
0
0
0
1
0.384615
false
0
0.076923
0.230769
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a78b2e8aaabdb056b9486a30abe7f7ffcd4281fb
305
py
Python
temboardagent/plugins/monitoring/output.py
tilkow/temboard-agent
b8bf296454db68a85996f49fb6c684d57efa028a
[ "PostgreSQL" ]
1
2017-12-18T12:07:45.000Z
2017-12-18T12:07:45.000Z
temboardagent/plugins/monitoring/output.py
tilkow/temboard-agent
b8bf296454db68a85996f49fb6c684d57efa028a
[ "PostgreSQL" ]
null
null
null
temboardagent/plugins/monitoring/output.py
tilkow/temboard-agent
b8bf296454db68a85996f49fb6c684d57efa028a
[ "PostgreSQL" ]
null
null
null
def remove_passwords(instances): clean_instances = [] for instance in instances: clean_instance = {} for k in instance.keys(): if k != 'password': clean_instance[k] = instance[k] clean_instances.append(clean_instance) return clean_instances
30.5
47
0.616393
33
305
5.484848
0.424242
0.232044
0
0
0
0
0
0
0
0
0
0
0.295082
305
9
48
33.888889
0.84186
0
0
0
0
0
0.02623
0
0
0
0
0
0
1
0.111111
false
0.222222
0
0
0.222222
0
0
0
0
null
1
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
1
0
0
0
0
0
3
38f1b85de55a0effbe10f042145c0542a085f556
1,724
py
Python
hostel/tracker/models.py
phylocko/hostel
ff9fb7eb2d38e8cbe4feb096a07f0c5cea1a5365
[ "Apache-2.0" ]
null
null
null
hostel/tracker/models.py
phylocko/hostel
ff9fb7eb2d38e8cbe4feb096a07f0c5cea1a5365
[ "Apache-2.0" ]
null
null
null
hostel/tracker/models.py
phylocko/hostel
ff9fb7eb2d38e8cbe4feb096a07f0c5cea1a5365
[ "Apache-2.0" ]
1
2020-10-31T17:33:52.000Z
2020-10-31T17:33:52.000Z
import rt from rt import AuthorizationError, APISyntaxError from hostel.settings import RT_URL, RT_QUEUE, RT_USER, RT_PASS class Singleton(type): _instances = {} def __call__(cls, *args, **kwargs): if cls not in cls._instances: cls._instances[cls] = super(Singleton, cls).__call__(*args, *...
30.785714
89
0.652552
218
1,724
4.912844
0.270642
0.059757
0.095238
0.117647
0.252101
0.252101
0.177404
0.140056
0.140056
0.140056
0
0.002271
0.233759
1,724
55
90
31.345455
0.808478
0
0
0.1
0
0
0.036543
0
0
0
0
0
0
1
0.225
false
0.075
0.075
0
0.55
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
ac2f9988866232c50bf9476fea5121047ea76c0e
10,553
py
Python
expresso/expression.py
TheLartians/Symbols
7530be4685c76c9e7f9c215086194c1d82cb7411
[ "MIT" ]
1
2016-02-25T15:17:25.000Z
2016-02-25T15:17:25.000Z
expresso/expression.py
TheLartians/Symbols
7530be4685c76c9e7f9c215086194c1d82cb7411
[ "MIT" ]
null
null
null
expresso/expression.py
TheLartians/Symbols
7530be4685c76c9e7f9c215086194c1d82cb7411
[ "MIT" ]
1
2017-05-21T13:22:43.000Z
2017-05-21T13:22:43.000Z
import _expresso as core from _expresso import associative,left_associative,right_associative,non_associative,commutative,non_commutative,postfix,prefix class Expression(core.Expression): def __init__(self,expr,S): if isinstance(expr,(core.Expression,Expression)): super(Expression,self).__init...
28.754768
127
0.61755
1,255
10,553
4.942629
0.114741
0.03063
0.027245
0.024827
0.349831
0.27261
0.179591
0.104788
0.024827
0
0
0.001566
0.273951
10,553
366
128
28.833333
0.808014
0.007676
0
0.261993
0
0
0.014616
0
0
0
0
0
0
1
0.261993
false
0
0.00738
0.140221
0.535055
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ac518b80c657c42e9f23db70ce2fd09c031d5a77
314
py
Python
storydb/core/models/timeinterval.py
brettkromkamp/story-db
5d32710512d6225067e2dde911a2928973a354d2
[ "MIT" ]
10
2019-07-18T03:45:48.000Z
2021-11-04T05:46:10.000Z
storydb/core/models/timeinterval.py
brettkromkamp/story-db
5d32710512d6225067e2dde911a2928973a354d2
[ "MIT" ]
null
null
null
storydb/core/models/timeinterval.py
brettkromkamp/story-db
5d32710512d6225067e2dde911a2928973a354d2
[ "MIT" ]
null
null
null
""" Place class. Part of the StoryTechnologies project. August 17, 2019 Brett Alistair Kromkamp (brett.kromkamp@gmail.com) """ class TimeInterval: def __init__(self, from_time_point: str, to_time_point: str) -> None: self.from_time_point = from_time_point self.to_time_point = to_time_point
24.153846
73
0.735669
45
314
4.777778
0.555556
0.251163
0.181395
0.15814
0
0
0
0
0
0
0
0.023166
0.175159
314
12
74
26.166667
0.80695
0.378981
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
ac54bbf9c2f16bd6b315154b676a2d4ae0d8a821
181
py
Python
pro_upload/img_db/models.py
yongfang117/pro_useful_code
63ae6891d3be243c5c46329e65fcf47133c5890f
[ "MIT" ]
null
null
null
pro_upload/img_db/models.py
yongfang117/pro_useful_code
63ae6891d3be243c5c46329e65fcf47133c5890f
[ "MIT" ]
null
null
null
pro_upload/img_db/models.py
yongfang117/pro_useful_code
63ae6891d3be243c5c46329e65fcf47133c5890f
[ "MIT" ]
null
null
null
from django.db import models class IMG(models.Model): img = models.ImageField(upload_to='img') # upload_to 指定图片存储的文件夹名称,上传文件后自动创建 name = models.CharField(max_length=100)
25.857143
80
0.751381
25
181
5.32
0.72
0.135338
0
0
0
0
0
0
0
0
0
0.019355
0.143646
181
6
81
30.166667
0.83871
0.176796
0
0
0
0
0.020408
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ac6f8a286be5b07887bb8d7c3c30b5acbb57354a
23
py
Python
launcher/api/python/notifier/drivers/__init__.py
davidvoler/ate_meteor
d7ac20638a30e941e0ca8740499743bc26dd57be
[ "MIT" ]
null
null
null
launcher/api/python/notifier/drivers/__init__.py
davidvoler/ate_meteor
d7ac20638a30e941e0ca8740499743bc26dd57be
[ "MIT" ]
2
2015-08-06T14:08:39.000Z
2015-09-29T09:47:26.000Z
launcher/api/python/notifier/drivers/__init__.py
davidvoler/ate_meteor
d7ac20638a30e941e0ca8740499743bc26dd57be
[ "MIT" ]
null
null
null
__author__ = 'davidl'
7.666667
21
0.695652
2
23
6
1
0
0
0
0
0
0
0
0
0
0
0
0.173913
23
2
22
11.5
0.631579
0
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3ba264944ded3262104f9152b4e244f593ddd611
162
py
Python
mainpage/urls.py
eunjungleecub/jessica42
6bbf24226d1d42e029937d8055a4b18f2c075980
[ "Apache-2.0" ]
1
2019-11-11T22:58:15.000Z
2019-11-11T22:58:15.000Z
mainpage/urls.py
eunjungleecub/jessica42
6bbf24226d1d42e029937d8055a4b18f2c075980
[ "Apache-2.0" ]
null
null
null
mainpage/urls.py
eunjungleecub/jessica42
6bbf24226d1d42e029937d8055a4b18f2c075980
[ "Apache-2.0" ]
null
null
null
from django.urls import path from .views import MainView, AboutView urlpatterns = [ path('', MainView.as_view()), path('about/', AboutView.as_view()), ]
23.142857
40
0.685185
20
162
5.45
0.6
0.110092
0
0
0
0
0
0
0
0
0
0
0.160494
162
7
41
23.142857
0.801471
0
0
0
0
0
0.03681
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3baa131caeded11f795e7af7b60b76abd10bbb5d
126
py
Python
crash_course/ch07/exec/rental_car.py
dantin/python-by-example
5769c7a332ebd60fd54e477b6813f2f2a0f3f37f
[ "BSD-3-Clause" ]
null
null
null
crash_course/ch07/exec/rental_car.py
dantin/python-by-example
5769c7a332ebd60fd54e477b6813f2f2a0f3f37f
[ "BSD-3-Clause" ]
null
null
null
crash_course/ch07/exec/rental_car.py
dantin/python-by-example
5769c7a332ebd60fd54e477b6813f2f2a0f3f37f
[ "BSD-3-Clause" ]
null
null
null
car = input('What kind of rental car you would like? ') print('Let me see if I can find you a ' + car.lower().title() + '.')
31.5
68
0.626984
23
126
3.434783
0.869565
0
0
0
0
0
0
0
0
0
0
0
0.206349
126
3
69
42
0.79
0
0
0
0
0
0.576
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
3bbd627cf11d937e58b76f0a218697fd350d1023
559
py
Python
hwt/serializer/verilog/context.py
ufo2011/hwt
2a32a3fc0c04cf3d6e78dce2dcd0d90dffc7eac1
[ "MIT" ]
134
2018-02-28T05:06:31.000Z
2022-03-25T23:50:13.000Z
hwt/serializer/verilog/context.py
ufo2011/hwt
2a32a3fc0c04cf3d6e78dce2dcd0d90dffc7eac1
[ "MIT" ]
32
2018-03-15T19:01:02.000Z
2021-07-02T14:00:06.000Z
hwt/serializer/verilog/context.py
ufo2011/hwt
2a32a3fc0c04cf3d6e78dce2dcd0d90dffc7eac1
[ "MIT" ]
17
2018-09-16T12:54:01.000Z
2022-01-20T03:16:52.000Z
from hdlConvertorAst.to.verilog.constants import SIGNAL_TYPE class SignalTypeSwap(): """ An object which is used as a context manager for signalType inside of :class:`hwt.serializer.verilog.serializer.ToHdlAstVerilog` """ def __init__(self, ctx, signalType: SIGNAL_TYPE): self.ctx = ctx ...
27.95
72
0.690519
69
559
5.347826
0.521739
0.094851
0.184282
0.170732
0
0
0
0
0
0
0
0
0.218247
559
19
73
29.421053
0.844394
0.22898
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
3becfa4a55ddf9a51eed83390d1fa1952e84e1a6
165
py
Python
minique/enums.py
valohai/minique
644c0653577a6640f38ea1ea1802b5983fcbdeb5
[ "MIT" ]
7
2017-05-30T05:44:12.000Z
2021-11-17T03:20:44.000Z
minique/enums.py
valohai/minique
644c0653577a6640f38ea1ea1802b5983fcbdeb5
[ "MIT" ]
18
2017-05-29T17:59:00.000Z
2021-11-25T14:02:29.000Z
minique/enums.py
valohai/minique
644c0653577a6640f38ea1ea1802b5983fcbdeb5
[ "MIT" ]
null
null
null
from enum import Enum class JobStatus(Enum): NONE = "none" ACQUIRED = "acquired" SUCCESS = "success" FAILED = "failed" CANCELLED = "cancelled"
16.5
27
0.630303
17
165
6.117647
0.588235
0
0
0
0
0
0
0
0
0
0
0
0.260606
165
9
28
18.333333
0.852459
0
0
0
0
0
0.206061
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ce067ab18f1020410d28785e113d762cd71f050a
217
py
Python
anomaly_simulation/anomalies/__init__.py
pilijevski/microservices_anomalies
cd5856d78cd9c664f30be9f17513274783bca677
[ "Apache-2.0" ]
1
2021-02-08T20:21:35.000Z
2021-02-08T20:21:35.000Z
anomaly_simulation/anomalies/__init__.py
pilijevski/microservices_anomalies
cd5856d78cd9c664f30be9f17513274783bca677
[ "Apache-2.0" ]
null
null
null
anomaly_simulation/anomalies/__init__.py
pilijevski/microservices_anomalies
cd5856d78cd9c664f30be9f17513274783bca677
[ "Apache-2.0" ]
null
null
null
from .packet_loss import PacketLossAnomaly from .delay import DelayAnomaly from .pause import FreezeContainerAnomaly anomaly_dict = {"loss": PacketLossAnomaly, "delay": DelayAnomaly, "pause": FreezeContainerAnomaly}
36.166667
98
0.824885
21
217
8.428571
0.52381
0
0
0
0
0
0
0
0
0
0
0
0.096774
217
5
99
43.4
0.903061
0
0
0
0
0
0.064516
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ce0fbe6cc405c02654ab395885c974bc4e9f6254
371
py
Python
example/scripts/002_settings.py
kaalam/kpipe
3f0c6155b20fdd17c4a12326caaa076778730dd4
[ "MIT" ]
null
null
null
example/scripts/002_settings.py
kaalam/kpipe
3f0c6155b20fdd17c4a12326caaa076778730dd4
[ "MIT" ]
null
null
null
example/scripts/002_settings.py
kaalam/kpipe
3f0c6155b20fdd17c4a12326caaa076778730dd4
[ "MIT" ]
null
null
null
class Settings(): """ This is just variables stored as properties of a class. It still needs (allthough void) .inputs(), .output() and .build() and defines whatever else is handy. (It is nice, as in this case, to separate constants from methods.) """ def inputs(self): return None def output(self): return ...
21.823529
103
0.690027
55
371
4.654545
0.709091
0.078125
0.109375
0.132813
0
0
0
0
0
0
0
0
0.202156
371
16
104
23.1875
0.864865
0.603774
0
0.25
0
0
0.052239
0
0
0
0
0
0
1
0.375
false
0.125
0
0.25
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
1
0
1
0
1
0
0
0
3
ce1c0d1f0675a76e1902f8628d06a2abff9af3de
595
py
Python
analog-in/python/analog-in.py
intel-iot-devkit/iot-devkit-samples
3c67eba63b37fbb580ed573e4737cb276e7a89f8
[ "MIT" ]
92
2015-03-09T19:34:04.000Z
2020-12-14T10:09:49.000Z
analog-in/python/analog-in.py
intel-iot-devkit/iot-devkit-samples
3c67eba63b37fbb580ed573e4737cb276e7a89f8
[ "MIT" ]
58
2015-05-08T00:21:40.000Z
2019-07-01T21:32:08.000Z
analog-in/python/analog-in.py
intel-iot-devkit/iot-devkit-samples
3c67eba63b37fbb580ed573e4737cb276e7a89f8
[ "MIT" ]
86
2015-03-20T06:16:39.000Z
2020-05-20T10:08:34.000Z
#!/usr/bin/env python # (C) Copyright 2018, Intel Corporation # SPDX-License-Identifier: MIT import mraa import time # TODO Ensure you are running this sample on a Linux system with; # * python-mraa bindings installed # * Permissions to write to the aio system, this often requires root # The following should read a ...
29.75
88
0.746218
100
595
4.44
0.68
0.045045
0
0
0
0
0
0
0
0
0
0.012346
0.183193
595
19
89
31.315789
0.901235
0.833613
0
0
0
0
0
0
0
0
0
0.052632
0
1
0
false
0
0.4
0
0.4
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
3
02131c7d4cc17db656c0a380458988d44124bad2
63
py
Python
_/0349_04_Code/09.py
paullewallencom/javascript-978-1-8495-1034-9
7e539d042c644931a9ef2418f66d260a1c6892eb
[ "Apache-2.0" ]
null
null
null
_/0349_04_Code/09.py
paullewallencom/javascript-978-1-8495-1034-9
7e539d042c644931a9ef2418f66d260a1c6892eb
[ "Apache-2.0" ]
null
null
null
_/0349_04_Code/09.py
paullewallencom/javascript-978-1-8495-1034-9
7e539d042c644931a9ef2418f66d260a1c6892eb
[ "Apache-2.0" ]
null
null
null
publish_externally = models.BooleanField(required = False)
31.5
62
0.777778
6
63
8
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
63
1
63
63
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
0215d3a2443347ebdf431f9d343ebf0e844a2c27
223
py
Python
alphamind/exceptions/exceptions.py
iLampard/alpha-mind
c99ba7b2b082d7bf07263fde0cca57b1a8bcb7de
[ "MIT" ]
null
null
null
alphamind/exceptions/exceptions.py
iLampard/alpha-mind
c99ba7b2b082d7bf07263fde0cca57b1a8bcb7de
[ "MIT" ]
null
null
null
alphamind/exceptions/exceptions.py
iLampard/alpha-mind
c99ba7b2b082d7bf07263fde0cca57b1a8bcb7de
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on 2018-6-12 @author: cheng.li """ class PortfolioBuilderException(Exception): def __init__(self, msg): self.msg = msg def __str__(self): return str(self.msg)
14.866667
43
0.609865
28
223
4.571429
0.714286
0.164063
0
0
0
0
0
0
0
0
0
0.046784
0.233184
223
15
44
14.866667
0.701754
0.278027
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
021724d6e866cebbb2615d632bc5852e3744c9ff
22
py
Python
bio/__init__.py
nadrees/PyRosalind
994652a551ef4cbdbf394f027df7e50534c8eefc
[ "Unlicense" ]
null
null
null
bio/__init__.py
nadrees/PyRosalind
994652a551ef4cbdbf394f027df7e50534c8eefc
[ "Unlicense" ]
null
null
null
bio/__init__.py
nadrees/PyRosalind
994652a551ef4cbdbf394f027df7e50534c8eefc
[ "Unlicense" ]
null
null
null
__author__ = 'Nathen'
11
21
0.727273
2
22
6
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
02243015b395d03575a43fe474cbfc73b878f380
2,944
py
Python
src/opnsense/scripts/systemhealth/logformats/syslog.py
roms2000/core
9f070494987f4509cf722ef6805daae8c4a75e51
[ "BSD-2-Clause" ]
null
null
null
src/opnsense/scripts/systemhealth/logformats/syslog.py
roms2000/core
9f070494987f4509cf722ef6805daae8c4a75e51
[ "BSD-2-Clause" ]
null
null
null
src/opnsense/scripts/systemhealth/logformats/syslog.py
roms2000/core
9f070494987f4509cf722ef6805daae8c4a75e51
[ "BSD-2-Clause" ]
1
2020-03-06T14:40:02.000Z
2020-03-06T14:40:02.000Z
""" Copyright (c) 2020 Ad Schellevis <ad@opnsense.org> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, ...
39.783784
114
0.688179
390
2,944
5.128205
0.446154
0.0375
0.04
0.023
0.207
0.105
0.068
0.068
0.068
0.068
0
0.024412
0.220788
2,944
73
115
40.328767
0.847428
0.490149
0
0.323529
0
0
0.050955
0.03397
0
0
0
0
0
1
0.235294
false
0
0.088235
0.117647
0.558824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
02378b4d6ae7435f8c2d48dacee3e63f3a4750f2
1,360
py
Python
snsapi/third/douban_client/api/base.py
hupili/snsapi
129529b89f38cbee253a23e5ed31dae2a0ea4254
[ "Unlicense" ]
51
2015-01-26T10:42:40.000Z
2021-12-03T01:51:45.000Z
snsapi/third/douban_client/api/base.py
hupili/snsapi
129529b89f38cbee253a23e5ed31dae2a0ea4254
[ "Unlicense" ]
3
2021-02-08T20:16:08.000Z
2021-12-13T19:40:11.000Z
snsapi/third/douban_client/api/base.py
hupili/snsapi
129529b89f38cbee253a23e5ed31dae2a0ea4254
[ "Unlicense" ]
17
2015-01-19T02:25:13.000Z
2018-07-25T13:03:25.000Z
# -*- coding: utf-8 -*- from pyoauth2 import AccessToken from .error import DoubanAPIError, DoubanOAuthError DEFAULT_START = 0 DEFAULT_COUNT = 20 def check_execption(func): def _check(*arg, **kws): resp = func(*arg, **kws) if resp.status >= 400: if resp.status == 403: ...
24.727273
59
0.618382
158
1,360
5.120253
0.329114
0.086527
0.148331
0.105068
0.31644
0.197775
0.197775
0
0
0
0
0.017137
0.270588
1,360
54
60
25.185185
0.798387
0.015441
0
0.179487
0
0
0.029918
0
0
0
0
0
0
1
0.230769
false
0
0.051282
0.153846
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
023aee771c1635f8c1f86ea4b576c815e771a55d
50,955
py
Python
ankimote-ankiaddon/__init__.py
TheDabblingDuck/ankimote
c33a205e7a12c5d9bc65c7164772314af25b36e5
[ "MIT" ]
14
2020-07-05T21:16:25.000Z
2022-01-05T01:49:13.000Z
ankimote-ankiaddon/__init__.py
TheDabblingDuck/ankimote
c33a205e7a12c5d9bc65c7164772314af25b36e5
[ "MIT" ]
36
2020-07-06T18:49:23.000Z
2022-03-22T17:43:27.000Z
ankimote-ankiaddon/__init__.py
TheDabblingDuck/ankimote
c33a205e7a12c5d9bc65c7164772314af25b36e5
[ "MIT" ]
2
2021-04-06T21:17:19.000Z
2022-01-05T01:59:23.000Z
import sys import os import subprocess import threading if 'win32' in sys.platform: import ctypes sys.path.insert(0, os.path.dirname(__file__)) import socket from simple_websocket_server import WebSocketServer, WebSocket # import the main window object (mw) from aqt from aqt import mw # import the "show info" to...
44.854754
3,129
0.641134
7,050
50,955
4.594468
0.157589
0.01204
0.006051
0.006175
0.29749
0.231515
0.17119
0.137353
0.123769
0.100337
0
0.085554
0.170072
50,955
1,135
3,130
44.894273
0.680342
0.01048
0
0.278119
0
0.078732
0.757728
0.447478
0
0
0.0025
0
0
1
0.021472
false
0.003067
0.02045
0.001022
0.076687
0.013292
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
024fb4b9e86b47c608c9ff4f8b128455ad9dfe24
1,385
py
Python
src/helper/boto.py
neovasili/serverless-guru-code-challenge
0dee65ecec260b2c7231c5f4c5f636c8fdeaa54b
[ "MIT" ]
1
2021-09-06T17:49:00.000Z
2021-09-06T17:49:00.000Z
src/helper/boto.py
neovasili/serverless-guru-code-challenge
0dee65ecec260b2c7231c5f4c5f636c8fdeaa54b
[ "MIT" ]
11
2021-08-14T19:29:37.000Z
2021-08-16T16:53:11.000Z
src/helper/boto.py
neovasili/serverless-guru-code-challenge
0dee65ecec260b2c7231c5f4c5f636c8fdeaa54b
[ "MIT" ]
null
null
null
import boto3 class BotoHelper: def __init__(self, namespace: str, region_name="eu-west-1"): self.__namespace = namespace self.client = boto3.client(self.__namespace, region_name) # boto3.set_stream_logger(name='botocore') def change_credentials(self, credentials: dict, region: str = "...
36.447368
79
0.664982
150
1,385
5.766667
0.286667
0.120231
0.109827
0.106358
0.742197
0.742197
0.742197
0.742197
0.591908
0.591908
0
0.009363
0.228881
1,385
37
80
37.432432
0.800562
0.028881
0
0.551724
0
0
0.083395
0
0
0
0
0
0
1
0.172414
false
0
0.034483
0
0.275862
0.034483
0
0
0
null
0
0
0
0
1
1
1
0
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
3
025053c7f2e7a574f65e26c28da0742667a6e8b4
233
py
Python
pyvalidator/is_md5.py
theteladras/py.validator
624ace7973552c8ac9353f48acbf96ec0ecc24a9
[ "MIT" ]
15
2021-11-01T14:14:56.000Z
2022-03-17T11:52:29.000Z
pyvalidator/is_md5.py
theteladras/py.validator
624ace7973552c8ac9353f48acbf96ec0ecc24a9
[ "MIT" ]
1
2022-03-16T13:39:16.000Z
2022-03-17T09:16:00.000Z
pyvalidator/is_md5.py
theteladras/py.validator
624ace7973552c8ac9353f48acbf96ec0ecc24a9
[ "MIT" ]
null
null
null
from .utils.Classes.RegEx import RegEx from .utils.assert_string import assert_string def is_md5(input: str) -> bool: input = assert_string(input) md5_pattern = RegEx("^[a-f0-9]{32}$") return md5_pattern.match(input)
21.181818
46
0.712446
35
233
4.571429
0.571429
0.225
0
0
0
0
0
0
0
0
0
0.035714
0.158798
233
10
47
23.3
0.780612
0
0
0
0
0
0.060086
0
0
0
0
0
0.333333
1
0.166667
false
0
0.333333
0
0.666667
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
1
0
1
0
0
3