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
077d8613f7f7fbd6612cef3ba6aa142cd916cbfb
21,705
py
Python
sympy/polys/tests/test_densebasic.py
msgoff/sympy
1e7daef7514902f5e89718fa957b7b36c6669a10
[ "BSD-3-Clause" ]
null
null
null
sympy/polys/tests/test_densebasic.py
msgoff/sympy
1e7daef7514902f5e89718fa957b7b36c6669a10
[ "BSD-3-Clause" ]
null
null
null
sympy/polys/tests/test_densebasic.py
msgoff/sympy
1e7daef7514902f5e89718fa957b7b36c6669a10
[ "BSD-3-Clause" ]
null
null
null
"""Tests for dense recursive polynomials' basic tools. """ from sympy.polys.densebasic import ( dup_LC, dmp_LC, dup_TC, dmp_TC, dmp_ground_LC, dmp_ground_TC, dmp_true_LT, dup_degree, dmp_degree, dmp_degree_in, dmp_degree_list, dup_strip, dmp_strip, dmp_validate, ...
27.934363
88
0.47883
3,774
21,705
2.561738
0.030207
0.190836
0.019549
0.008275
0.683389
0.553682
0.427182
0.324576
0.252172
0.205937
0
0.100148
0.25197
21,705
776
89
27.970361
0.495319
0.00235
0
0.066915
0
0
0.001247
0
0
0
0
0
0.548327
1
0.107807
false
0
0.013011
0
0.120818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
078542da2fb669f43aee5307f31752537a7c2aee
427
py
Python
Main File/c9.py
hulle123/Detection-of-text-in-scenic-images
72b4ef3c555316848bfe523e97260391401b7453
[ "MIT" ]
null
null
null
Main File/c9.py
hulle123/Detection-of-text-in-scenic-images
72b4ef3c555316848bfe523e97260391401b7453
[ "MIT" ]
null
null
null
Main File/c9.py
hulle123/Detection-of-text-in-scenic-images
72b4ef3c555316848bfe523e97260391401b7453
[ "MIT" ]
null
null
null
import argparse import matplotlib.pyplot as plt from lib.text_detection import TextDetection from lib.utils import plt_show from lib.config import Config class OCR: def start_OCR(self, img_file): config = Config() OUTPUT_FILE = "out.png" td = TextDetection(img_file, config, direction='b...
23.722222
98
0.711944
57
427
5.175439
0.631579
0.071186
0.088136
0
0
0
0
0
0
0
0
0
0.210773
427
17
99
25.117647
0.875371
0
0
0
0
0
0.028103
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
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
0
0
0
1
0
1
0
0
2
079045846285654afbba4980f74460cf4b42793a
401
py
Python
ml_project/patterns/__init__.py
marquesYan/machine-learning-project
605b08f25f02ce950fc6e39185fea5c8ef280b91
[ "MIT" ]
null
null
null
ml_project/patterns/__init__.py
marquesYan/machine-learning-project
605b08f25f02ce950fc6e39185fea5c8ef280b91
[ "MIT" ]
null
null
null
ml_project/patterns/__init__.py
marquesYan/machine-learning-project
605b08f25f02ce950fc6e39185fea5c8ef280b91
[ "MIT" ]
null
null
null
from .most_common_color import MostCommonColor from .most_occurrent_color import MostOccurentColor from .features_extractor import FeaturesExtractor from .audio_extractor import AudioExtractor def load_method_classes(): '''Entry point function to register a new method''' return [ MostCommonColor, ...
25.0625
55
0.753117
39
401
7.538462
0.641026
0.054422
0
0
0
0
0
0
0
0
0
0
0.199501
401
15
56
26.733333
0.915888
0.112219
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
true
0
0.363636
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
07919987cd10f7963edb001898c9ce9cd6c73f8a
4,093
py
Python
tests/separation/test_benchmark.py
ZhaoJY1/nussl
57aabeabca3b2e75849e1659a522e3c2f77e9172
[ "MIT" ]
259
2016-10-04T19:21:25.000Z
2020-04-15T14:39:54.000Z
tests/separation/test_benchmark.py
titocaco/nussl
af7d0c50e01d107f4ef3305b89eb130d95d0a7cd
[ "MIT" ]
115
2016-10-26T01:58:04.000Z
2020-04-15T07:53:00.000Z
tests/separation/test_benchmark.py
titocaco/nussl
af7d0c50e01d107f4ef3305b89eb130d95d0a7cd
[ "MIT" ]
64
2017-04-11T04:10:35.000Z
2020-04-08T11:23:48.000Z
import nussl from nussl.separation import SeparationException import pytest import os import json REGRESSION_PATH = 'tests/separation/regression/benchmark/' os.makedirs(REGRESSION_PATH, exist_ok=True) def test_high_low_pass( music_mix_and_sources, check_against_regression_data ): mix, sources = m...
30.774436
85
0.696311
457
4,093
5.991247
0.194748
0.076698
0.113952
0.065741
0.76187
0.737765
0.728999
0.68298
0.552228
0.505478
0
0.00124
0.212069
4,093
132
86
31.007576
0.847752
0.013193
0
0.571429
0
0
0.066155
0.028246
0
0
0
0
0
1
0.05102
false
0.030612
0.05102
0
0.102041
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
0
0
0
0
0
0
0
0
0
0
2
07937863210a2cbb1c063933ecb0d7d1d8fe6d7d
4,431
py
Python
src/lib/python/telemetry/operation_info.py
dashwood8691/f5-bigip-image-generator
5a5b39a266a0762be5b908e6b47323efdf7d32c1
[ "Apache-2.0" ]
null
null
null
src/lib/python/telemetry/operation_info.py
dashwood8691/f5-bigip-image-generator
5a5b39a266a0762be5b908e6b47323efdf7d32c1
[ "Apache-2.0" ]
null
null
null
src/lib/python/telemetry/operation_info.py
dashwood8691/f5-bigip-image-generator
5a5b39a266a0762be5b908e6b47323efdf7d32c1
[ "Apache-2.0" ]
null
null
null
"""Platform information module""" # Copyright (C) 2020 F5 Networks, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
35.448
92
0.690815
588
4,431
5.008503
0.32483
0.066214
0.033277
0.03871
0.17725
0.149406
0.149406
0.087946
0.06146
0.044143
0
0.004479
0.193861
4,431
124
93
35.733871
0.819989
0.332205
0
0.088235
0
0
0.178169
0
0
0
0
0
0
1
0.235294
false
0
0.073529
0
0.602941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
0793f0ae762ac933d6592f8d9272e281fe42335f
10,067
py
Python
source/services/userService.py
hjimmy/glustermg
e43ad5f17b248fa543f0b5d4204baca3c8b18aab
[ "MulanPSL-1.0" ]
null
null
null
source/services/userService.py
hjimmy/glustermg
e43ad5f17b248fa543f0b5d4204baca3c8b18aab
[ "MulanPSL-1.0" ]
null
null
null
source/services/userService.py
hjimmy/glustermg
e43ad5f17b248fa543f0b5d4204baca3c8b18aab
[ "MulanPSL-1.0" ]
null
null
null
import web import hashlib import sys import threading from scripts.common import XmlHandler, Globals, Utils db = Globals.db lock = threading.Lock() def getUsers(): try: responseDom = XmlHandler.ResponseXml() usersTag = responseDom.appendTagRoute("users") userNameList = db.select('users',wh...
37.011029
102
0.596702
1,154
10,067
5.162912
0.142981
0.039275
0.034911
0.056395
0.629574
0.546828
0.510238
0.459886
0.452165
0.385196
0
0.021324
0.282607
10,067
271
103
37.147601
0.803656
0.005563
0
0.604167
0
0
0.153477
0.005096
0
0
0
0
0
0
null
null
0.0875
0.020833
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
0794b8d1d6a713a7f2b8357c14bd95d610c7d1f0
5,275
py
Python
tests/functions/test_has_unique_index.py
jarkkorantala/sqlalchemy-utils
7cee65f0a3074245b853425e19a732aa274bfa3e
[ "BSD-3-Clause" ]
879
2015-01-01T12:06:35.000Z
2022-03-27T16:13:05.000Z
tests/functions/test_has_unique_index.py
jarkkorantala/sqlalchemy-utils
7cee65f0a3074245b853425e19a732aa274bfa3e
[ "BSD-3-Clause" ]
418
2015-01-02T08:43:43.000Z
2022-03-25T15:49:21.000Z
tests/functions/test_has_unique_index.py
jarkkorantala/sqlalchemy-utils
7cee65f0a3074245b853425e19a732aa274bfa3e
[ "BSD-3-Clause" ]
295
2015-01-06T14:19:33.000Z
2022-03-26T16:20:50.000Z
import pytest import sqlalchemy as sa from sqlalchemy_utils import get_fk_constraint_for_columns, has_unique_index class TestHasUniqueIndex(object): @pytest.fixture def articles(self, Base): class Article(Base): __tablename__ = 'article' id = sa.Column(sa.Integer, primary_key...
35.166667
77
0.602275
583
5,275
5.042882
0.12693
0.059864
0.07483
0.057143
0.709864
0.701361
0.685714
0.673469
0.647619
0.609184
0
0.011364
0.316019
5,275
149
78
35.402685
0.803492
0
0
0.634146
0
0
0.015735
0
0
0
0
0
0.089431
1
0.089431
false
0
0.02439
0
0.211382
0
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
0
0
0
0
0
0
0
0
0
2
079ec312ac6eadd9dae24a8edfd370c27fa3b077
204
py
Python
01_Language/01_Functions/python/memory_get_usage.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
3
2020-06-28T07:42:51.000Z
2021-01-15T10:32:11.000Z
01_Language/01_Functions/python/memory_get_usage.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
9
2021-03-10T22:45:40.000Z
2022-02-27T06:53:20.000Z
01_Language/01_Functions/python/memory_get_usage.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
1
2021-01-15T10:51:24.000Z
2021-01-15T10:51:24.000Z
# coding: utf-8 import psutil def memory_get_usage(): process = psutil.Process() return process.memory_info().rss if __name__ == '__main__': print(memory_get_usage() / 1024 / 1024, 'MB')
15.692308
49
0.671569
27
204
4.592593
0.703704
0.145161
0.225806
0
0
0
0
0
0
0
0
0.054545
0.191176
204
12
50
17
0.69697
0.063725
0
0
0
0
0.05291
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0.166667
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
07c486255d49a8ab7842a08b946f2e49c01a32c5
1,478
py
Python
creators/models.py
livra-ar/backend
eb052611bb9b2cfa360fa422ce059984b8d295fa
[ "BSD-2-Clause" ]
1
2020-09-05T12:18:06.000Z
2020-09-05T12:18:06.000Z
creators/models.py
thamidurm/ar-content-platform-backend
eb052611bb9b2cfa360fa422ce059984b8d295fa
[ "BSD-2-Clause" ]
3
2021-06-09T17:46:46.000Z
2021-09-22T18:54:57.000Z
creators/models.py
livra-ar/backend
eb052611bb9b2cfa360fa422ce059984b8d295fa
[ "BSD-2-Clause" ]
null
null
null
from django.db import models from django.utils import timezone import datetime import binascii import os from django.utils.translation import ugettext_lazy as _ from django.contrib.auth.hashers import check_password, make_password from django.contrib.auth.models import _user_has_perm, _user_has_module_perms#,_user_get...
32.844444
106
0.73207
183
1,478
5.754098
0.486339
0.047483
0.02849
0.039886
0
0
0
0
0
0
0
0.004122
0.179296
1,478
44
107
33.590909
0.863974
0.100135
0
0
0
0
0.006112
0
0
0
0
0
0
1
0.125
false
0.09375
0.3125
0.09375
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
07c4d5d5fff136814ad4cd8d73f4c952dc6dd43b
6,098
py
Python
src/estimator.py
bill-rheda/SDGAssessment
dea2fdf006776aa01101f5dd44fe8a9bad05ef56
[ "MIT" ]
null
null
null
src/estimator.py
bill-rheda/SDGAssessment
dea2fdf006776aa01101f5dd44fe8a9bad05ef56
[ "MIT" ]
null
null
null
src/estimator.py
bill-rheda/SDGAssessment
dea2fdf006776aa01101f5dd44fe8a9bad05ef56
[ "MIT" ]
null
null
null
data = { "region": { "name": "Africa", "avgAge": 19.7, "avgDailyIncomeInUSD": 5, "avgDailyIncomePopulation": 0.71 }, "periodType": "days", "timeToElapse": 58, "reportedCases": 674, "population": 66622705, "totalHospitalBeds": 1380614 } def estimator(data): def impact(): currentlyInfected = int(data["reporte...
58.634615
263
0.769433
310
6,098
15.135484
0.177419
0.019395
0.01023
0.015772
0.670929
0.670929
0.670929
0.670929
0.670929
0.670929
0
0.018231
0.145458
6,098
104
264
58.634615
0.882172
0.199738
0
0.4
0
0
0.203742
0.118421
0
0
0
0
0
1
0.042857
false
0
0
0
0.071429
0.014286
0
0
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
07d76dbb6ee73304b8be218170c72963e4d892ea
3,538
py
Python
exit/layers.py
exitudio/neural-network-pytorch
2831eb92d396187cc0e043234c2dfd17fc83ae3b
[ "MIT" ]
null
null
null
exit/layers.py
exitudio/neural-network-pytorch
2831eb92d396187cc0e043234c2dfd17fc83ae3b
[ "MIT" ]
null
null
null
exit/layers.py
exitudio/neural-network-pytorch
2831eb92d396187cc0e043234c2dfd17fc83ae3b
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from .initializers import Constant from .optimizers import MomentumFeedForward from .constants import EPSILON import torch class Layer(ABC): @abstractmethod def init_weights(self, num_input, optimizer, initializer): pass @abstractmethod def feed_forward(sel...
33.695238
116
0.674392
439
3,538
5.079727
0.211845
0.056502
0.058296
0.03139
0.433632
0.399103
0.320179
0.227803
0.130942
0.086099
0
0.007032
0.236292
3,538
105
117
33.695238
0.818283
0.065856
0
0.324324
0
0
0
0
0
0
0
0
0
1
0.202703
false
0.094595
0.067568
0.027027
0.364865
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
0
0
0
2
07e1f7e4a0bc542d07e5104851dbadc799625407
1,174
py
Python
utils.py
parityapp/mlnlp
c8b9060c0ba41b6d71a7af6c2e4a568b22852603
[ "MIT" ]
null
null
null
utils.py
parityapp/mlnlp
c8b9060c0ba41b6d71a7af6c2e4a568b22852603
[ "MIT" ]
null
null
null
utils.py
parityapp/mlnlp
c8b9060c0ba41b6d71a7af6c2e4a568b22852603
[ "MIT" ]
null
null
null
import dateutil.parser import json from nltk import sent_tokenize, word_tokenize def whole_text(messages, lines=None): if lines is not None: messages = messages[:lines] return ". ".join(d['content'] for d in messages) def load_sample(file='data/sample_chat.json'): with open(file, 'r') as f: ...
26.681818
67
0.682283
159
1,174
4.880503
0.308176
0.015464
0.023196
0.05799
0.123711
0.06701
0
0
0
0
0
0
0.205281
1,174
43
68
27.302326
0.831726
0
0
0
0
0
0.08092
0.035775
0
0
0
0
0
1
0.206897
false
0
0.103448
0.034483
0.517241
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
07e7550932040bff0ffabb6f8d69e9ceab42f8fd
376
py
Python
modules/shared/domain/serializers/entity_serializer.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
6
2020-08-09T23:41:08.000Z
2021-03-16T22:05:40.000Z
modules/shared/domain/serializers/entity_serializer.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
1
2020-10-02T02:59:38.000Z
2020-10-02T02:59:38.000Z
modules/shared/domain/serializers/entity_serializer.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
2
2021-03-16T22:05:43.000Z
2021-04-30T06:35:25.000Z
# -*- coding: utf-8 -*- from abc import ABC, abstractmethod class EntitySerializer(ABC): """ Entity Serializer """ @abstractmethod def get_dto_from_dict(self, data: dict): raise NotImplementedError("Not implemented yet") @abstractmethod def get_dto_from_entity(self, entity): ...
18.8
56
0.675532
40
376
6.2
0.55
0.137097
0.16129
0.185484
0.548387
0
0
0
0
0
0
0.003425
0.223404
376
19
57
19.789474
0.84589
0.106383
0
0.5
0
0
0.119122
0
0
0
0
0
0
1
0.25
false
0
0.125
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
1
0
0
0
0
0
0
0
2
07eab313e003e94a45b348af4f46624be3f17ef4
311
py
Python
books/python-3-oop-packt/Chapter11/11_09_window_commands.py
phiratio/lpthw
a32240d4355fb331805d515f96e1d009914e5c47
[ "MIT" ]
73
2016-09-15T23:07:04.000Z
2022-03-05T15:09:48.000Z
books/python-3-oop-packt/Chapter11/11_09_window_commands.py
phiratio/lpthw
a32240d4355fb331805d515f96e1d009914e5c47
[ "MIT" ]
34
2019-12-16T16:53:24.000Z
2022-01-13T02:29:30.000Z
books/python-3-oop-packt/Chapter11/11_09_window_commands.py
phiratio/lpthw
a32240d4355fb331805d515f96e1d009914e5c47
[ "MIT" ]
51
2016-10-07T20:47:51.000Z
2021-12-22T21:00:24.000Z
import sys class Window: def exit(self): sys.exit(0) class Document: def __init__(self, filename): self.filename = filename self.contents = "This file cannot be modified" def save(self): with open(self.filename, 'w') as file: file.write(self.contents)
20.733333
54
0.610932
40
311
4.65
0.575
0.193548
0
0
0
0
0
0
0
0
0
0.004505
0.286174
311
14
55
22.214286
0.833333
0
0
0
0
0
0.093248
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
07fc72411fe7a5560626fdd2de6ffb64ebf4ba51
643
py
Python
tests/integration/test_disco_vpc.py
amplifylitco/asiaq
a1a292f6e9cbf32a30242405e4947b17910e5369
[ "BSD-2-Clause" ]
27
2016-03-08T16:50:22.000Z
2018-11-26T06:33:25.000Z
tests/integration/test_disco_vpc.py
amplifylitco/asiaq
a1a292f6e9cbf32a30242405e4947b17910e5369
[ "BSD-2-Clause" ]
202
2016-03-08T17:13:08.000Z
2019-02-01T00:49:06.000Z
tests/integration/test_disco_vpc.py
amplify-education/asiaq
fb6004bc4da0acef40e7bc18b148db4f72fa2f32
[ "BSD-2-Clause" ]
2
2016-03-17T18:52:37.000Z
2016-10-06T20:36:37.000Z
""" Creates then destroys a vpc environment ensuring that both operations succeed """ from unittest import TestCase from tests.helpers.disco_env_helpers import DiscoEnv from tests.helpers.integration_helpers import IntegrationTest class TestDiscoVPCEnv(IntegrationTest, DiscoEnv, TestCase): """ Test VPC creat...
23.814815
69
0.685848
75
643
5.746667
0.533333
0.018561
0.074246
0
0
0
0
0
0
0
0
0
0.236392
643
26
70
24.730769
0.8778
0.270607
0
0
0
0
0
0
0
0
0
0
0.222222
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
5800ef9eaa3de81ebeb2ec6a003e67fc06b6ff3f
540
py
Python
chrome_trex_gym/envs/ChromeTrexEnv.py
BadrYoubiIdrissi/chrome-trex-gym
236f113ebfe837607291e32ba7a774358971cc4e
[ "MIT" ]
1
2020-04-27T11:38:57.000Z
2020-04-27T11:38:57.000Z
chrome_trex_gym/envs/ChromeTrexEnv.py
BadrYoubiIdrissi/chrome-trex-gym
236f113ebfe837607291e32ba7a774358971cc4e
[ "MIT" ]
null
null
null
chrome_trex_gym/envs/ChromeTrexEnv.py
BadrYoubiIdrissi/chrome-trex-gym
236f113ebfe837607291e32ba7a774358971cc4e
[ "MIT" ]
1
2019-04-18T22:44:18.000Z
2019-04-18T22:44:18.000Z
from ..DinoGame import DinoGame import gym class ChromeTrexEnv(gym.Env): def __init__(self): self.game = DinoGame(FPS=0) def step(self, action): if not self.game.gameOver: self.game.step(action) reward = -1 if self.game.gameOver else 1 ob = self.game.get_image() ...
25.714286
49
0.607407
70
540
4.5
0.457143
0.203175
0.152381
0
0
0
0
0
0
0
0
0.007712
0.27963
540
20
50
27
0.802057
0
0
0
0
0
0
0
0
0
0
0
0
1
0.294118
false
0
0.117647
0.058824
0.588235
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
1
0
0
0
0
0
0
0
2
58075a26d4eb383cc57e54b9779dcef118526238
594
py
Python
django_examples/modal_examples/views/validation.py
jonesim/django-modals
57b3f6299b489e05e216cda033728cd6592d9af2
[ "MIT" ]
8
2021-06-04T14:15:02.000Z
2022-01-24T07:21:41.000Z
django_examples/modal_examples/views/validation.py
jonesim/django-modals
57b3f6299b489e05e216cda033728cd6592d9af2
[ "MIT" ]
null
null
null
django_examples/modal_examples/views/validation.py
jonesim/django-modals
57b3f6299b489e05e216cda033728cd6592d9af2
[ "MIT" ]
null
null
null
from django.core.exceptions import ValidationError from modal_examples.models import Company from show_src_code.modals import ModelFormModal from django_modals.processes import PROCESS_EDIT from .views import MainMenuTemplateView class ValidationExamples(MainMenuTemplateView): template_name = 'example_views/vali...
27
51
0.760943
68
594
6.485294
0.632353
0.045351
0
0
0
0
0
0
0
0
0
0
0.161616
594
21
52
28.285714
0.885542
0
0
0
0
0
0.099327
0.048822
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6af9851a1f2e8a6daef620ade88d2d5c6eef0f98
2,011
py
Python
xenetconf_config_interface.py
mpinizzotto/netconf
3be1a26d9752ab2d28be72cbea32e3d35a74ac46
[ "Apache-2.0" ]
null
null
null
xenetconf_config_interface.py
mpinizzotto/netconf
3be1a26d9752ab2d28be72cbea32e3d35a74ac46
[ "Apache-2.0" ]
null
null
null
xenetconf_config_interface.py
mpinizzotto/netconf
3be1a26d9752ab2d28be72cbea32e3d35a74ac46
[ "Apache-2.0" ]
null
null
null
#Using nccleint configure loopback interface and get reply #Tested on Cisco CSR1000V #!/usr/bin/env python from lxml import etree from ncclient import manager if __name__ == "__main__": with manager.connect(host='172.16.30.23', port=830, username='admin', password='P@ssw0rd', ...
31.421875
73
0.40726
170
2,011
4.688235
0.482353
0.045169
0.052698
0.06399
0.299875
0.299875
0.299875
0.299875
0.265997
0.158093
0
0.070543
0.478369
2,011
63
74
31.920635
0.689228
0.050224
0
0.490196
0
0
0.702674
0.085475
0
0
0
0
0
0
null
null
0.019608
0.039216
null
null
0.019608
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
ed03b25f48cc5d4bd405068d9ae8ba3ad9479f93
198
py
Python
oo/pessoa.py
adrianoramos/pythonbirds
6b1087ee475625a7669559816082095d0c45cc5d
[ "MIT" ]
null
null
null
oo/pessoa.py
adrianoramos/pythonbirds
6b1087ee475625a7669559816082095d0c45cc5d
[ "MIT" ]
null
null
null
oo/pessoa.py
adrianoramos/pythonbirds
6b1087ee475625a7669559816082095d0c45cc5d
[ "MIT" ]
null
null
null
class Pessoa: def cumprimentar(self): return f'Olá {id(self)}' if __name__=='__main__': p = Pessoa() print(Pessoa.cumprimentar(p)) print(id(p)) print(p.cumprimentar())
18
33
0.611111
25
198
4.52
0.56
0.106195
0
0
0
0
0
0
0
0
0
0
0.227273
198
10
34
19.8
0.738562
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0.125
false
0
0
0.125
0.375
0.375
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
ed08277d5d9cc25b5b6a02ab774d015dd69a5d74
556
py
Python
algocoin/tests/test_server.py
dendisuhubdy/algo-coin
e324f971cc0db5ebc29d04224d2fdeee13a31ac1
[ "Apache-2.0" ]
252
2017-09-01T21:36:08.000Z
2022-01-08T15:48:31.000Z
algocoin/tests/test_server.py
dendisuhubdy/algo-coin
e324f971cc0db5ebc29d04224d2fdeee13a31ac1
[ "Apache-2.0" ]
75
2017-10-10T01:01:19.000Z
2020-05-04T11:03:20.000Z
algocoin/tests/test_server.py
dendisuhubdy/algo-coin
e324f971cc0db5ebc29d04224d2fdeee13a31ac1
[ "Apache-2.0" ]
61
2017-08-31T07:22:25.000Z
2022-01-08T15:48:38.000Z
# from mock import MagicMock class TestExecution: def setup(self): pass # setup() before each test method def teardown(self): pass # teardown() after each test method @classmethod def setup_class(cls): pass # setup_class() before any methods in this cl...
20.592593
58
0.606115
65
556
5.107692
0.430769
0.048193
0.084337
0.096386
0.126506
0
0
0
0
0
0
0
0.327338
556
26
59
21.384615
0.887701
0.33813
0
0.4
0
0
0
0
0
0
0
0
0.066667
1
0.333333
false
0.266667
0.066667
0
0.466667
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
0
0
0
2
ed0b235343ba2f781c6b77a6dfecf1b8eae96f8f
1,457
py
Python
launch/launch/events/process/shutdown_process.py
oswinso/launch
abaa861f68f60b77585284c6ebf9fcd5bea419db
[ "Apache-2.0" ]
null
null
null
launch/launch/events/process/shutdown_process.py
oswinso/launch
abaa861f68f60b77585284c6ebf9fcd5bea419db
[ "Apache-2.0" ]
null
null
null
launch/launch/events/process/shutdown_process.py
oswinso/launch
abaa861f68f60b77585284c6ebf9fcd5bea419db
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
34.690476
95
0.746054
195
1,457
5.507692
0.620513
0.055866
0.024209
0.029795
0
0
0
0
0
0
0
0.006706
0.181194
1,457
41
96
35.536585
0.893546
0.671929
0
0
0
0
0.120853
0.087678
0
0
0
0
0
1
0.125
false
0
0.375
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
ed0ee33ba78c8bd077c57ce1d0cad90a19071b67
1,008
py
Python
archinfo/__init__.py
0mp/archinfo
2f510c03d49858e1d1a6c7a2ce89cc528cfe68dc
[ "BSD-2-Clause" ]
null
null
null
archinfo/__init__.py
0mp/archinfo
2f510c03d49858e1d1a6c7a2ce89cc528cfe68dc
[ "BSD-2-Clause" ]
null
null
null
archinfo/__init__.py
0mp/archinfo
2f510c03d49858e1d1a6c7a2ce89cc528cfe68dc
[ "BSD-2-Clause" ]
null
null
null
""" archinfo is a collection of classes that contain architecture-specific information. It is useful for cross-architecture tools (such as pyvex). """ __version__ = (8, 20, 1, 7) if bytes is str: raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.") # Type...
32.516129
114
0.767857
135
1,008
5.62963
0.6
0.115789
0
0
0
0
0
0
0
0
0
0.048868
0.167659
1,008
30
115
33.6
0.856973
0.186508
0
0
0
0
0.151665
0
0
0
0
0
0
1
0
false
0
0.7
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
ed1573caa01fdac6d941f7c900efa277cc8120d4
6,093
py
Python
tencentcloud/cme/v20191029/errorcodes.py
WANGMUXIAN/tencentcloud-sdk-python
baed8b8e84ed0e8dd19600225796a75405cb922c
[ "Apache-2.0" ]
null
null
null
tencentcloud/cme/v20191029/errorcodes.py
WANGMUXIAN/tencentcloud-sdk-python
baed8b8e84ed0e8dd19600225796a75405cb922c
[ "Apache-2.0" ]
null
null
null
tencentcloud/cme/v20191029/errorcodes.py
WANGMUXIAN/tencentcloud-sdk-python
baed8b8e84ed0e8dd19600225796a75405cb922c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. 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...
28.471963
103
0.83916
446
6,093
11.338565
0.491031
0.011865
0.024718
0.006328
0
0
0
0
0
0
0
0.003235
0.086821
6,093
213
104
28.605634
0.905643
0.227967
0
0
0
0
0.441272
0.416396
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ed19b2f35108ba8b10f597f6ef17af538822c030
4,223
py
Python
tests/cloudshell/shell_networking_standards/test_resource_config.py
QualiSystems/cloudshell-shell-networking-standard
240e9f902a6ed676307844dfb839ec8ca6f3e792
[ "Apache-2.0" ]
null
null
null
tests/cloudshell/shell_networking_standards/test_resource_config.py
QualiSystems/cloudshell-shell-networking-standard
240e9f902a6ed676307844dfb839ec8ca6f3e792
[ "Apache-2.0" ]
1
2019-09-09T08:12:34.000Z
2019-09-09T08:12:34.000Z
tests/cloudshell/shell_networking_standards/test_resource_config.py
QualiSystems/cloudshell-shell-networking-standard
240e9f902a6ed676307844dfb839ec8ca6f3e792
[ "Apache-2.0" ]
null
null
null
import sys import unittest from cloudshell.shell.standards.attribute_names import ( BACKUP_LOCATION, BACKUP_PASSWORD, BACKUP_TYPE, BACKUP_USER, CLI_CONNECTION_TYPE, CLI_TCP_PORT, CONSOLE_PASSWORD, CONSOLE_PORT, CONSOLE_SERVER_IP_ADDRESS, CONSOLE_USER, DISABLE_SNMP, ENABL...
39.101852
87
0.69382
458
4,223
6.041485
0.172489
0.124684
0.207806
0.083845
0.218648
0
0
0
0
0
0
0.011596
0.224011
4,223
107
88
39.46729
0.832774
0
0
0.04
0
0
0.056121
0
0
0
0
0
0.23
1
0.01
false
0.13
0.06
0
0.08
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
ed1c5143b1573a159ab2821274755b10b01f1d75
4,602
py
Python
env/lib/python3.8/site-packages/unidecode/x079.py
avdhari/enigma
b7e965a91ca5f0e929c4c719d695f15ccb8b5a2c
[ "MIT" ]
48
2021-11-20T08:17:53.000Z
2022-03-19T13:57:15.000Z
venv/lib/python3.6/site-packages/unidecode/x079.py
mrsaicharan1/iiita-updates
a22a0157b90d29b946d0f020e5f76744f73a6bff
[ "Apache-2.0" ]
392
2015-07-30T14:37:05.000Z
2022-03-21T16:56:09.000Z
venv/lib/python3.6/site-packages/unidecode/x079.py
mrsaicharan1/iiita-updates
a22a0157b90d29b946d0f020e5f76744f73a6bff
[ "Apache-2.0" ]
15
2015-10-01T21:31:08.000Z
2020-05-05T00:03:27.000Z
data = ( 'Tani ', # 0x00 'Jiao ', # 0x01 '[?] ', # 0x02 'Zhang ', # 0x03 'Qiao ', # 0x04 'Dun ', # 0x05 'Xian ', # 0x06 'Yu ', # 0x07 'Zhui ', # 0x08 'He ', # 0x09 'Huo ', # 0x0a 'Zhai ', # 0x0b 'Lei ', # 0x0c 'Ke ', # 0x0d 'Chu ', # 0x0e 'Ji ', # 0x0f 'Que ', # 0x10 '...
17.76834
20
0.38266
507
4,602
3.473373
0.773176
0
0
0
0
0
0
0
0
0
0
0.205274
0.390265
4,602
258
21
17.837209
0.422309
0.277923
0
0.689922
0
0
0.328441
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ed2a283afd88eaade792a4c24c4b07d45b274419
4,069
py
Python
main.py
farbodtaymouri/GANPredictiveMonitoring
aa63627e77034fe6c35ab59e90107eb42fe5237e
[ "MIT" ]
11
2020-04-02T23:58:47.000Z
2022-03-24T07:18:33.000Z
main.py
farbodtaymouri/GANPredictiveMonitoring
aa63627e77034fe6c35ab59e90107eb42fe5237e
[ "MIT" ]
2
2020-11-27T08:49:26.000Z
2021-08-25T14:26:21.000Z
main.py
farbodtaymouri/GANPredictiveMonitoring
aa63627e77034fe6c35ab59e90107eb42fe5237e
[ "MIT" ]
9
2021-02-04T01:13:09.000Z
2022-03-31T15:50:18.000Z
from __future__ import print_function, division import os import torch import pandas as pd from skimage import io, transform import numpy as np import matplotlib.pyplot as plt from torch.utils.data import Dataset, DataLoader, TensorDataset from torchvision import transforms, utils import torch.nn as nn from scipy.speci...
38.752381
196
0.709265
578
4,069
4.861592
0.245675
0.058719
0.027758
0.021352
0.622776
0.591459
0.5879
0.5879
0.5879
0.539502
0
0.020947
0.190464
4,069
104
197
39.125
0.832119
0.109363
0
0.358209
0
0
0.034926
0.007265
0
0
0
0
0
1
0.014925
false
0
0.477612
0
0.507463
0.059701
0
0
0
null
0
0
0
0
0
0
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
2
ed2c47ca723eef865a1a8f0106c26a1970061b75
13,413
py
Python
tests/test_import_new_tournament/test_process_hh_files/test_process/test_hands/test_extract/fake_data.py
michaelcukier/Poker-Hand-Tracker
9adae42fab9f640e6939ba06bd588ab1a2feb90f
[ "MIT" ]
5
2021-02-28T18:33:02.000Z
2022-03-12T01:43:40.000Z
tests/test_import_new_tournament/test_process_hh_files/test_process/test_hands/test_extract/fake_data.py
michaelcukier/Poker-Hand-Tracker
9adae42fab9f640e6939ba06bd588ab1a2feb90f
[ "MIT" ]
null
null
null
tests/test_import_new_tournament/test_process_hh_files/test_process/test_hands/test_extract/fake_data.py
michaelcukier/Poker-Hand-Tracker
9adae42fab9f640e6939ba06bd588ab1a2feb90f
[ "MIT" ]
2
2021-03-01T03:08:04.000Z
2021-12-31T17:53:46.000Z
hands = ['''Game Hand #712008727 - Tournament #24095328 - Holdem(No Limit) - Level 9 (2500.00/5000.00)- 2021/02/20 18:46:52 UTC Table '3' 9-max Seat #2 is the button Seat 1: MateusVR (146796.00) Seat 2: PotNoodle99912 (155072.00) Seat 3: Frank126 (97418.00) Seat 4: TiltedMILF (53800.00) Seat 5: What_Truth (43825.00) Se...
35.768
127
0.730784
2,511
13,413
3.901633
0.111111
0.035011
0.030315
0.038583
0.603654
0.551802
0.495356
0.456466
0.411657
0.358273
0
0.228058
0.170954
13,413
375
128
35.768
0.652968
0
0
0.0625
0
0.046875
0.980952
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ed310c9b829b8c8f09824cb560a3da14a564ee7a
744
py
Python
pysoup/display/_display.py
illBeRoy/pysoup
742fd6630e1be27c275cb8dc6ee94412472cb20b
[ "MIT" ]
4
2016-02-21T12:40:44.000Z
2019-06-13T13:23:19.000Z
pysoup/display/_display.py
illBeRoy/pysoup
742fd6630e1be27c275cb8dc6ee94412472cb20b
[ "MIT" ]
null
null
null
pysoup/display/_display.py
illBeRoy/pysoup
742fd6630e1be27c275cb8dc6ee94412472cb20b
[ "MIT" ]
1
2020-07-16T12:22:12.000Z
2020-07-16T12:22:12.000Z
class Display(object): def __init__(self): pass def create_pipe(self): raise NotImplementedError() def update(self, key, message, type): raise NotImplementedError() class DisplayPipe(object): def __init__(self, display, key): self._display = display self._ke...
22.545455
54
0.643817
84
744
5.428571
0.238095
0.120614
0.131579
0.184211
0.412281
0.307018
0
0
0
0
0
0
0.244624
744
32
55
23.25
0.811388
0
0
0.095238
0
0
0.028226
0
0
0
0
0
0
1
0.428571
false
0.047619
0
0
0.52381
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
0
0
0
2
ed32a32a5df720d94d2f28114702feaaa5022530
949
py
Python
convert_books_wrapper.py
jpwhalley/literaryclock
503d95a7fd3508de8e5a93db071568153adc6cd2
[ "MIT" ]
1
2018-12-05T03:38:00.000Z
2018-12-05T03:38:00.000Z
convert_books_wrapper.py
jpwhalley/literaryclock
503d95a7fd3508de8e5a93db071568153adc6cd2
[ "MIT" ]
null
null
null
convert_books_wrapper.py
jpwhalley/literaryclock
503d95a7fd3508de8e5a93db071568153adc6cd2
[ "MIT" ]
null
null
null
def convert(type='books/*.mobi'): """Convert books in the current directory using Calibre command line function. INPUT: The format of books to convert in the current directory. FUNCTION: convert(type) OUTPUT: All the books of that type converted to txt files. Time taken: < 1 minute per mobi file (< 10...
43.136364
141
0.639621
127
949
4.748032
0.543307
0.039801
0.039801
0.069652
0
0
0
0
0
0
0
0.007032
0.25079
949
22
142
43.136364
0.841069
0.091675
0
0
0
0.076923
0.186257
0.139241
0
0
0
0
0
0
null
null
0
0.307692
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
ed35295423c05d0bd055f4cfbaa4370085d19ddb
1,017
py
Python
vendor/packages/Babel/babel/messages/tests/data/setup.py
storagebot/kitsune
613ba2ca09104f330ab77088b452391169096249
[ "BSD-3-Clause" ]
2
2019-08-19T17:08:47.000Z
2019-10-05T11:37:02.000Z
vendor/packages/Babel/babel/messages/tests/data/setup.py
taliasman/kitsune
f8085205eef143011adb4c52d1f183da06c1c58e
[ "BSD-3-Clause" ]
null
null
null
vendor/packages/Babel/babel/messages/tests/data/setup.py
taliasman/kitsune
f8085205eef143011adb4c52d1f183da06c1c58e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim: sw=4 ts=4 fenc=utf-8 # ============================================================================= # $Id: setup.py 114 2007-06-14 21:17:14Z palgarvio $ # ============================================================================= # $URL: http://svn.edgewall.org/r...
35.068966
91
0.457227
106
1,017
4.358491
0.735849
0.017316
0.034632
0
0
0
0
0
0
0
0
0.064045
0.124877
1,017
28
92
36.321429
0.455056
0.758112
0
0
0
0
0.152174
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
ed48944a0d55ca6b47ef8253a82a29d9b664289f
8,968
py
Python
explode-llvm-ir-dumps.py
thanm/devel-scripts
f8777a7c282b4b15f004e22ebf5c6b6751b82f87
[ "Apache-2.0" ]
null
null
null
explode-llvm-ir-dumps.py
thanm/devel-scripts
f8777a7c282b4b15f004e22ebf5c6b6751b82f87
[ "Apache-2.0" ]
null
null
null
explode-llvm-ir-dumps.py
thanm/devel-scripts
f8777a7c282b4b15f004e22ebf5c6b6751b82f87
[ "Apache-2.0" ]
3
2019-05-18T23:01:33.000Z
2021-09-18T14:17:10.000Z
#!/usr/bin/python3 """Explode an LLVM IR dump. Given a debug dump generated from the -print-debug-all option, split out the dumps into multiple files, one for each phase/procedure. Example usage: clang -c -O3 -mllvm -print-before-all mumble.c 1> err.txt 2>&1 rm -rf /tmp/dumps ; mkdir /tmp/dumps explode-llvm-ir-...
27.258359
89
0.617864
1,268
8,968
4.338328
0.270505
0.017451
0.017997
0.014179
0.152518
0.123796
0.11816
0.091801
0.063988
0.038538
0
0.00625
0.250669
8,968
328
90
27.341463
0.812351
0.241971
0
0.143498
1
0
0.170165
0.009379
0
0
0
0
0
1
0.044843
false
0.134529
0.026906
0
0.089686
0.008969
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
0
0
0
2
ed49958da83072788bf7146ce000e156ef573407
867
py
Python
xknx/knxip/body.py
cyberjunky/xknx
c708ed6a2ca6449b74c6cea197d658e3399b99d1
[ "MIT" ]
1
2020-12-09T16:17:49.000Z
2020-12-09T16:17:49.000Z
xknx/knxip/body.py
cyberjunky/xknx
c708ed6a2ca6449b74c6cea197d658e3399b99d1
[ "MIT" ]
null
null
null
xknx/knxip/body.py
cyberjunky/xknx
c708ed6a2ca6449b74c6cea197d658e3399b99d1
[ "MIT" ]
null
null
null
"""Basis class for all KNX/IP bodies.""" class KNXIPBody(): """Basis class for all KNX/IP bodies.""" def __init__(self, xknx): """Initialize KNXIPBody object.""" self.xknx = xknx def calculated_length(self): """Get length of KNX/IP body.""" self.xknx.logger.warning("calcu...
32.111111
101
0.638985
112
867
4.535714
0.375
0.049213
0.082677
0.124016
0.318898
0.318898
0.318898
0.212598
0.145669
0
0
0
0.22376
867
26
102
33.346154
0.754829
0.28143
0
0
0
0
0.170358
0
0
0
0
0
0
1
0.454545
false
0
0
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ed5097ca6d081a18c4ddc100a35731ad078a4219
1,636
py
Python
test/mnist/test_mnist.py
mckev/ml
148d573a7070ed8bb240729431c3462e76e275e8
[ "MIT" ]
1
2019-09-29T16:24:23.000Z
2019-09-29T16:24:23.000Z
test/mnist/test_mnist.py
mckev/ml
148d573a7070ed8bb240729431c3462e76e275e8
[ "MIT" ]
null
null
null
test/mnist/test_mnist.py
mckev/ml
148d573a7070ed8bb240729431c3462e76e275e8
[ "MIT" ]
null
null
null
import unittest from classes.mnist.mnist import Mnist class TestMnist(unittest.TestCase): def test_retrieve_mnist_datas(self): mnist_datas = Mnist.retrieve_mnist_datas(filename='../../classes/mnist/mnist.raw') self.assertEqual(len(mnist_datas), 70000) stdout = Mnist.show_mnist_data(mnist...
38.046512
90
0.168093
48
1,636
5.520833
0.5
0.188679
0.128302
0
0
0
0
0
0
0
0
0.017065
0.641809
1,636
42
91
38.952381
0.435154
0
0
0.631579
0
0
0.502445
0.017726
0
0
0
0
0.052632
1
0.026316
false
0
0.052632
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ed6229c13a07c537de2170e5b69f5b423cdbc9eb
585
py
Python
4.二维数组中的查找/4.二维数组中的查找.py
shenweichen/coding_interviews
990cc54a62b8fa277b743289e8d6f6e96a95225d
[ "MIT" ]
483
2020-01-05T12:58:59.000Z
2022-03-19T05:44:00.000Z
4.二维数组中的查找/4.二维数组中的查找.py
moshilangzi/coding_interviews
990cc54a62b8fa277b743289e8d6f6e96a95225d
[ "MIT" ]
1
2020-01-20T08:47:15.000Z
2020-01-27T13:24:15.000Z
4.二维数组中的查找/4.二维数组中的查找.py
moshilangzi/coding_interviews
990cc54a62b8fa277b743289e8d6f6e96a95225d
[ "MIT" ]
122
2020-01-05T14:10:04.000Z
2022-03-19T05:24:42.000Z
# -*- coding:utf-8 -*- class Solution: # array 二维列表 def Find(self, target, array): # write code here if len(array[0])==0: return False row = len(array) col = len(array[0]) xcol = 0 xrow = row - 1 while xrow > -1 and xcol < col: x = ...
24.375
39
0.389744
63
585
3.619048
0.47619
0.105263
0.078947
0
0
0
0
0
0
0
0
0.031802
0.516239
585
24
40
24.375
0.773852
0.080342
0
0.111111
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
ed660b7c75ec77ec0994de0b2cd1623cbecd3f88
348
py
Python
unit-testing/demo/demo.py
Delphboy/Talks
53b90b79053ba650d6781473bcba2e06caec3357
[ "MIT" ]
null
null
null
unit-testing/demo/demo.py
Delphboy/Talks
53b90b79053ba650d6781473bcba2e06caec3357
[ "MIT" ]
null
null
null
unit-testing/demo/demo.py
Delphboy/Talks
53b90b79053ba650d6781473bcba2e06caec3357
[ "MIT" ]
1
2018-09-03T20:03:28.000Z
2018-09-03T20:03:28.000Z
has_spoken_to_doctor = False def speak_to_doctor() -> None: global has_spoken_to_doctor has_spoken_to_doctor = False def adder_1(num1: int, num2: int) -> int: return num1 + num2 def adder_2(num1: int, num2: int) -> int: speak_to_doctor() return num1 + num2 if __name__ == "__main__": prin...
17.4
41
0.66092
55
348
3.745455
0.436364
0.194175
0.160194
0.247573
0.407767
0.242718
0
0
0
0
0
0.054945
0.215517
348
19
42
18.315789
0.699634
0
0
0.363636
0
0
0.083333
0
0
0
0
0
0
1
0.272727
false
0
0
0.090909
0.454545
0.090909
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
0
0
0
2
ed69eb2ea3723cfa00d85ce4cf2b59dfef63de70
63
py
Python
galaxy_api/db/models/__init__.py
alikins/galaxy-api
7b205a65e34fdc38f6624ce232e6ac9e3483942b
[ "Apache-2.0" ]
null
null
null
galaxy_api/db/models/__init__.py
alikins/galaxy-api
7b205a65e34fdc38f6624ce232e6ac9e3483942b
[ "Apache-2.0" ]
null
null
null
galaxy_api/db/models/__init__.py
alikins/galaxy-api
7b205a65e34fdc38f6624ce232e6ac9e3483942b
[ "Apache-2.0" ]
null
null
null
from .user import UserProfile __all__ = ( 'UserProfile' )
10.5
29
0.68254
6
63
6.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.222222
63
5
30
12.6
0.795918
0
0
0
0
0
0.174603
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
2
ed6e896eda25f17ff8fb228b8359c02b29ffb6d9
3,791
py
Python
Android-do-BER/main.py
bernardogoltz/berbot
65661042f7ce55b802f086e8fa09c963dee574dc
[ "MIT" ]
null
null
null
Android-do-BER/main.py
bernardogoltz/berbot
65661042f7ce55b802f086e8fa09c963dee574dc
[ "MIT" ]
null
null
null
Android-do-BER/main.py
bernardogoltz/berbot
65661042f7ce55b802f086e8fa09c963dee574dc
[ "MIT" ]
null
null
null
import discord as discord import os import requests import json import random from keep_alive import keep_alive animais = ["meg","latto","cuca","coddy","duke","madame","minhon","laika"] client = discord.Client() frases_animais = [ "Fofinho(a)!!!!!", "Sai dai cachorro!", "O cachorro é aquele tipo de animal revestido...
29.161538
86
0.664996
469
3,791
5.294243
0.373134
0.120822
0.183649
0.222312
0.128071
0.091824
0.064438
0.064438
0.037857
0
0
0.003947
0.198101
3,791
129
87
29.387597
0.8125
0
0
0.022472
0
0
0.262602
0
0
0
0
0
0
1
0.011236
false
0
0.067416
0
0.089888
0.011236
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
0
0
0
2
ed7dab4df01948a8b0c01a7fe2e94936dafd9a7f
2,984
py
Python
Learning_Flask_Framework/Learning_Flask_Framework/app/admin.py
abacuspix/NFV_project
f5585a6750119b1f954fea65c37a14badad1fd62
[ "MIT" ]
null
null
null
Learning_Flask_Framework/Learning_Flask_Framework/app/admin.py
abacuspix/NFV_project
f5585a6750119b1f954fea65c37a14badad1fd62
[ "MIT" ]
null
null
null
Learning_Flask_Framework/Learning_Flask_Framework/app/admin.py
abacuspix/NFV_project
f5585a6750119b1f954fea65c37a14badad1fd62
[ "MIT" ]
null
null
null
from flask.ext.admin import Admin from flask.ext.admin.contrib.sqla import ModelView from app import app, db from models import Entry, Tag, User from wtforms.fields import SelectField, PasswordField from flask.ext.admin.contrib.fileadmin import FileAdmin from flask import g, url_for from flask.ext.admin import Admin, A...
33.155556
86
0.671582
346
2,984
5.612717
0.303468
0.027806
0.024717
0.035015
0.238414
0.181256
0.15242
0.15242
0.07518
0
0
0
0.196046
2,984
89
87
33.52809
0.809504
0.010054
0
0.082192
0
0
0.121017
0
0
0
0
0
0
1
0.054795
false
0.09589
0.123288
0.013699
0.561644
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
71ff742b1cbcad3e290ebfa5b7e679240a9cb008
613
py
Python
ps3/bot/Patroniser.py
benparsons/patreonsync
cc25d996a02bc8be25156ef4512c543b7b93dc38
[ "Apache-2.0" ]
3
2017-10-11T13:49:10.000Z
2017-10-25T23:25:51.000Z
ps3/bot/Patroniser.py
benparsons/patreonsync
cc25d996a02bc8be25156ef4512c543b7b93dc38
[ "Apache-2.0" ]
1
2021-06-01T21:46:19.000Z
2021-06-01T21:46:19.000Z
ps3/bot/Patroniser.py
benparsons/patreonsync
cc25d996a02bc8be25156ef4512c543b7b93dc38
[ "Apache-2.0" ]
2
2018-07-17T14:10:17.000Z
2020-01-19T23:52:24.000Z
# coding=utf-8 """The lovely bot who is fun to be with.""" from matrix_client.client import MatrixClient from ps3.bot.traits import Bouncer from ps3.bot.traits import PA class Patroniser(Bouncer, PA): """Bot to do the needful""" client = None def __init__(self, username, password): self.client =...
29.190476
68
0.647635
79
613
4.898734
0.544304
0.077519
0.05168
0.082687
0.113695
0
0
0
0
0
0
0.006579
0.256117
613
20
69
30.65
0.842105
0.208809
0
0
0
0
0.03838
0
0
0
0
0
0
1
0.181818
false
0.272727
0.272727
0
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
9c0c925d3a99a8f34f4e24dc27e4f6d60ac03577
294
py
Python
fosstp/views/link.py
osstp/osstp
4e635974a3605d07c93336226a749abfebeaeae7
[ "MIT" ]
null
null
null
fosstp/views/link.py
osstp/osstp
4e635974a3605d07c93336226a749abfebeaeae7
[ "MIT" ]
null
null
null
fosstp/views/link.py
osstp/osstp
4e635974a3605d07c93336226a749abfebeaeae7
[ "MIT" ]
null
null
null
from pyramid.view import view_config from pyramid_sqlalchemy import Session import transaction from ..models.link import LinkModel @view_config(route_name='link', renderer='templates/link.jinja2') def link_view(request): links = Session.query(LinkModel).all() return {'links': links}
26.727273
65
0.778912
39
294
5.74359
0.564103
0.098214
0
0
0
0
0
0
0
0
0
0.003846
0.115646
294
10
66
29.4
0.857692
0
0
0
0
0
0.102041
0.071429
0
0
0
0
0
1
0.125
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
9c0dcba9dac565169583ba916458f0c98e192079
872
py
Python
src/1189-MaximumNumberofBalloons.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
1
2022-03-03T15:11:48.000Z
2022-03-03T15:11:48.000Z
src/1189-MaximumNumberofBalloons.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
null
null
null
src/1189-MaximumNumberofBalloons.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
2
2022-01-20T22:49:58.000Z
2022-01-20T22:53:13.000Z
#!/usr/bin/env python """ CREATED AT: 2021/9/13 Des: https://leetcode.com/problems/maximum-number-of-balloons https://leetcode.com/explore/item/3973 GITHUB: https://github.com/Jiezhi/myleetcode Difficulty: Easy """ import collections class Solution: def maxNumberOfBalloons(self, text: str) -> int: """ ...
22.947368
78
0.62156
103
872
5.184466
0.679612
0.078652
0.185393
0.207865
0
0
0
0
0
0
0
0.036819
0.22133
872
37
79
23.567568
0.749632
0.364679
0
0
0
0
0.096842
0
0
0
0
0
0.272727
1
0.181818
false
0
0.090909
0
0.454545
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
0
0
0
2
9c1a40690c76eb4c48b2030424ce37c99719c83d
3,264
py
Python
plethora/tasks/compression/compressors.py
felixludos/plethora
ceaf13065a182923ef2721d3060a39f42bbea594
[ "MIT" ]
null
null
null
plethora/tasks/compression/compressors.py
felixludos/plethora
ceaf13065a182923ef2721d3060a39f42bbea594
[ "MIT" ]
null
null
null
plethora/tasks/compression/compressors.py
felixludos/plethora
ceaf13065a182923ef2721d3060a39f42bbea594
[ "MIT" ]
null
null
null
import pickle import lzma import numpy as np import torch from omnibelt import get_printer, agnosticmethod from ...framework import hparam, inherit_hparams, models, util, ModuleParametrized class LosslessCompressor(models.Compressor, ModuleParametrized): pass class SimpleLosslessCompressor(LosslessCompressor): ...
19.313609
83
0.78125
368
3,264
6.782609
0.225543
0.060096
0.042067
0.040064
0.421474
0.298878
0.243189
0.209936
0.143429
0.08734
0
0.001398
0.123468
3,264
168
84
19.428571
0.871024
0
0
0.421053
0
0
0.004917
0
0
0
0
0
0
1
0.189474
false
0.021053
0.063158
0.126316
0.589474
0.010526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
9c1ae252c4dbbad497dfad456ce31516af34009a
759
py
Python
test/torchaudio_unittest/example/tacotron2/tacotron2_loss_gpu_test.py
albertvillanova/audio
0cd25093626d067e008e1f81ad76e072bd4a1edd
[ "BSD-2-Clause" ]
4
2022-03-16T15:35:35.000Z
2022-03-22T23:55:41.000Z
test/torchaudio_unittest/example/tacotron2/tacotron2_loss_gpu_test.py
albertvillanova/audio
0cd25093626d067e008e1f81ad76e072bd4a1edd
[ "BSD-2-Clause" ]
2
2021-05-14T15:52:24.000Z
2021-11-23T17:16:52.000Z
test/torchaudio_unittest/example/tacotron2/tacotron2_loss_gpu_test.py
albertvillanova/audio
0cd25093626d067e008e1f81ad76e072bd4a1edd
[ "BSD-2-Clause" ]
null
null
null
import torch from .tacotron2_loss_impl import ( Tacotron2LossShapeTests, Tacotron2LossTorchscriptTests, Tacotron2LossGradcheckTests, ) from torchaudio_unittest.common_utils import skipIfNoCuda, PytorchTestCase @skipIfNoCuda class TestTacotron2LossShapeFloat32CUDA(PytorchTestCase, Tacotron2LossShapeTests)...
28.111111
89
0.808959
60
759
10.166667
0.5
0.083607
0.083607
0.103279
0.180328
0.180328
0.180328
0.180328
0.180328
0
0
0.033233
0.1278
759
26
90
29.192308
0.888218
0.056653
0
0.421053
0
0
0.016807
0
0
0
0
0
0
1
0
false
0
0.157895
0
0.631579
0
0
0
1
null
0
0
0
0
0
0
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
2
9c1b7c0d1764b714905717003be2f7b1e0bbfc1f
198,664
py
Python
pysnmp-with-texts/HUAWEI-MULTICAST-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/HUAWEI-MULTICAST-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/HUAWEI-MULTICAST-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module HUAWEI-MULTICAST-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-MULTICAST-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:47:23 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
134.596206
12,200
0.786665
21,666
198,664
7.213145
0.044863
0.065114
0.113949
0.012234
0.515882
0.379383
0.350486
0.327265
0.287657
0.261364
0
0.060754
0.084565
198,664
1,475
12,201
134.687458
0.798569
0.001681
0
0.039617
0
0.03347
0.267329
0.037031
0
0
0
0
0
1
0
false
0
0.006831
0
0.019126
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9c1bafd306eef3b4c5c70c51cc566552bbddb8e9
65,849
py
Python
hzclient/codec/cachecodec.py
hazelcast-incubator/hazelcast-python-client
5ec6c908916a6adef648059314923c0dbf71557b
[ "Apache-2.0" ]
null
null
null
hzclient/codec/cachecodec.py
hazelcast-incubator/hazelcast-python-client
5ec6c908916a6adef648059314923c0dbf71557b
[ "Apache-2.0" ]
null
null
null
hzclient/codec/cachecodec.py
hazelcast-incubator/hazelcast-python-client
5ec6c908916a6adef648059314923c0dbf71557b
[ "Apache-2.0" ]
null
null
null
__author__ = 'Jonathan Brodie' import ctypes from hzclient.clientmessage import ClientMessage from util import util import eventconstant class CacheMessageType: CACHE_ADDENTRYLISTENER=0x1501 CACHE_ADDINVALIDATIONLISTENER=0x1502 CACHE_CLEAR=0x1503 CACHE_REMOVEALLKEYS=0x1504 CACHE_REMOVEALL=0x1505 ...
35.175748
90
0.648119
4,858
65,849
8.653355
0.037052
0.060517
0.013868
0.069342
0.758052
0.699724
0.651387
0.64582
0.642133
0.616442
0
0.003939
0.252062
65,849
1,871
91
35.194548
0.849607
0
0
0.719975
0
0
0.00024
0
0
0
0.0024
0
0
1
0.099564
false
0
0.002489
0.000622
0.280025
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9c1e8bbd304cd61e14eac1a70447015e19b29d57
549
py
Python
scp/utils/unpack.py
ALiwoto/SCP-5170
7f9e52aa19fce11cdb898f25c1818bfb00f34a56
[ "Apache-2.0" ]
null
null
null
scp/utils/unpack.py
ALiwoto/SCP-5170
7f9e52aa19fce11cdb898f25c1818bfb00f34a56
[ "Apache-2.0" ]
null
null
null
scp/utils/unpack.py
ALiwoto/SCP-5170
7f9e52aa19fce11cdb898f25c1818bfb00f34a56
[ "Apache-2.0" ]
null
null
null
import base64 import struct from attrify import Attrify as Atr def unpackInlineMessage(inline_message_id: str): temp = {} dc_id, message_id, chat_id, query_id = struct.unpack( '<iiiq', base64.urlsafe_b64decode( inline_message_id + '=' * (len(inline_message_id) % 4), ), ...
27.45
67
0.637523
74
549
4.418919
0.378378
0.220183
0.229358
0
0
0
0
0
0
0
0
0.025943
0.227687
549
19
68
28.894737
0.745283
0
0
0
0
0
0.107468
0
0
0
0
0
0
1
0.058824
false
0
0.176471
0
0.294118
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
0
0
0
0
0
2
9c2853b2f587a9ea9e79d6a6bce92d1a815570ea
295
py
Python
predicure/__init__.py
carsonfarmer/predicure
354a2427736b1140efb96e6149a1e42473dd1aec
[ "BSD-2-Clause" ]
2
2018-01-18T02:13:33.000Z
2019-04-29T17:04:32.000Z
predicure/__init__.py
carsonfarmer/predicure
354a2427736b1140efb96e6149a1e42473dd1aec
[ "BSD-2-Clause" ]
null
null
null
predicure/__init__.py
carsonfarmer/predicure
354a2427736b1140efb96e6149a1e42473dd1aec
[ "BSD-2-Clause" ]
2
2017-01-13T21:59:02.000Z
2021-11-17T05:24:51.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """A sketch-based semi-Markov learner with approximate duration estimation. Init module for predicure. """ # Copyright © 2017 Carson J. Q. Farmer <carson@set.gl> # All rights reserved. BSD-2 Licensed. from .base import SemiMarkov, MarkovSketch
22.692308
75
0.722034
42
295
5.095238
0.97619
0
0
0
0
0
0
0
0
0
0
0.027888
0.149153
295
12
76
24.583333
0.820717
0.79322
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
0
0
0
2
9c2c6c2b5450080bd284b8aa89b91f09513a58cf
887
py
Python
sul/remote_integrity/inspector.py
nashirat/Final-Project-Sistem-Deteksi-Intrusi
4ceff47c6da9002d7df51926a0dd2935a798f5df
[ "MIT" ]
null
null
null
sul/remote_integrity/inspector.py
nashirat/Final-Project-Sistem-Deteksi-Intrusi
4ceff47c6da9002d7df51926a0dd2935a798f5df
[ "MIT" ]
null
null
null
sul/remote_integrity/inspector.py
nashirat/Final-Project-Sistem-Deteksi-Intrusi
4ceff47c6da9002d7df51926a0dd2935a798f5df
[ "MIT" ]
1
2021-03-18T00:16:02.000Z
2021-03-18T00:16:02.000Z
#!/usr/bin/env python from tabulate import tabulate from sul.remote_integrity.models import Server, Checksum, Event class Inspector: def __init__(self, args): self.args = args def run(self): if self.args.list == "servers": return self._list_servers() if self.args.list...
23.342105
76
0.600902
113
887
4.566372
0.327434
0.077519
0.05814
0.081395
0.22093
0.22093
0.22093
0.22093
0.22093
0.22093
0
0
0.255919
887
37
77
23.972973
0.781818
0.022548
0
0
0
0
0.039261
0
0
0
0
0
0
1
0.238095
false
0
0.095238
0
0.52381
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
9c3884688cec3a2157ebb86cd69c8853ccfd32ef
430
py
Python
setup.py
DefCon-007/pottersay
2fe0c0b77f8f875c7345a671bc12192c12d0dba6
[ "MIT" ]
13
2021-07-04T11:28:17.000Z
2021-07-07T09:10:45.000Z
setup.py
DefCon-007/pottersay
2fe0c0b77f8f875c7345a671bc12192c12d0dba6
[ "MIT" ]
null
null
null
setup.py
DefCon-007/pottersay
2fe0c0b77f8f875c7345a671bc12192c12d0dba6
[ "MIT" ]
4
2021-07-04T11:09:45.000Z
2021-07-07T05:27:34.000Z
from setuptools import setup, find_packages setup( name='pottersay', version='0.1.4', description='Generate a random Harry Potter quote in ASCII art.', url='http://github.com/defcon-007/pottersay', author='Ayush Goyal', author_email='ayushgoyal.iitkgp@gmail.com', license='MIT', packages...
28.666667
69
0.688372
54
430
5.37037
0.814815
0.082759
0
0
0
0
0
0
0
0
0
0.016901
0.174419
430
15
70
28.666667
0.8
0
0
0
1
0
0.408353
0.139211
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
1
0
0
0
0
0
0
2
9c43f5b2eac92f9cacdc32489bc2c53bd4bb354d
349
py
Python
main.py
amberbhardwaj/Python_Tools_Examples
ca69e8b3fdaab0176117ecc8f649f816064e1ab4
[ "MIT" ]
null
null
null
main.py
amberbhardwaj/Python_Tools_Examples
ca69e8b3fdaab0176117ecc8f649f816064e1ab4
[ "MIT" ]
null
null
null
main.py
amberbhardwaj/Python_Tools_Examples
ca69e8b3fdaab0176117ecc8f649f816064e1ab4
[ "MIT" ]
null
null
null
""" Created on Mon Mar 01 2021 @author: Amber @description: This source code took from multiple online sources. and used to parse the video frames and display """ import cv2 import QRTool import Extractor if __name__ == '__main__': #FrameCaptureDefault("video.MOV") #KnowFpsCapturedFromVideo() #ExtractF...
20.529412
51
0.74212
42
349
5.97619
0.857143
0.063745
0
0
0
0
0
0
0
0
0
0.024055
0.166189
349
17
52
20.529412
0.838488
0.272206
0
0
0
0
0.091954
0
0
0
0
0
0
0
null
null
0
0.75
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
9c48bd42aace28b4ffb4f3ef4ad9634d3ed90a6b
1,209
py
Python
app/personal/handlers.py
Birdi7/vas3k.club-bot
b8d4004bc619a9557ad8bde54dddfc1786d9ffd9
[ "MIT" ]
null
null
null
app/personal/handlers.py
Birdi7/vas3k.club-bot
b8d4004bc619a9557ad8bde54dddfc1786d9ffd9
[ "MIT" ]
7
2020-08-26T08:15:00.000Z
2020-09-30T21:12:59.000Z
app/personal/handlers.py
Birdi7/vas3k.club-bot
b8d4004bc619a9557ad8bde54dddfc1786d9ffd9
[ "MIT" ]
null
null
null
from aiogram.dispatcher import FSMContext from aiogram.dispatcher.filters import CommandStart from aiogram.dispatcher.handler import SkipHandler from aiogram.types import Message from app.misc import dp from app.models import User from app.personal.states import ProcessAuthStates # todo: add a deeplink for auth from...
39
112
0.776675
167
1,209
5.51497
0.520958
0.054289
0.068404
0.054289
0.062975
0
0
0
0
0
0
0.001931
0.143093
1,209
30
113
40.3
0.8861
0.1555
0
0.095238
0
0
0.133727
0
0
0
0
0.033333
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
2
9c5273353d5311ea38b3f75254217ab534c34827
14,734
py
Python
util_scripts/pth2tensorrt.py
MachineLP/3D-ResNets-PyTorch
a25599b8c9330ca4b3711deccf5c736aed0df47d
[ "MIT" ]
2
2021-06-19T15:53:02.000Z
2021-06-19T17:18:18.000Z
util_scripts/pth2tensorrt.py
MachineLP/3D-ResNets-PyTorch
a25599b8c9330ca4b3711deccf5c736aed0df47d
[ "MIT" ]
null
null
null
util_scripts/pth2tensorrt.py
MachineLP/3D-ResNets-PyTorch
a25599b8c9330ca4b3711deccf5c736aed0df47d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # !/usr/bin/env python """ ------------------------------------------------- Description : Author : libing Date : 2020/11/14 15:40 ------------------------------------------------- """ import torch import torch.nn.functional as F import torch import onnx import pickle im...
42.956268
249
0.590675
1,756
14,734
4.755695
0.15205
0.026344
0.028739
0.034726
0.763142
0.71213
0.699916
0.675967
0.650102
0.635732
0
0.013623
0.297543
14,734
343
250
42.956268
0.793237
0.109543
0
0.666667
0
0.007576
0.071095
0.012321
0
0
0
0
0
1
0.05303
false
0
0.064394
0
0.17803
0.034091
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
0
0
0
0
0
0
0
0
0
2
9c588361bdc27ca239aa0117d5bf6ee8140a2e89
4,977
py
Python
lunrclient/storage.py
rackerlabs/python-lunrclient
ed0071bd6852e3f49bc15d6418a6af5a429bf817
[ "Apache-2.0" ]
3
2016-01-19T21:34:36.000Z
2016-12-26T22:59:35.000Z
lunrclient/storage.py
rackerlabs/python-lunrclient
ed0071bd6852e3f49bc15d6418a6af5a429bf817
[ "Apache-2.0" ]
3
2016-06-10T23:01:08.000Z
2016-08-15T20:47:52.000Z
lunrclient/storage.py
rackerlabs/python-lunrclient
ed0071bd6852e3f49bc15d6418a6af5a429bf817
[ "Apache-2.0" ]
7
2016-01-19T21:34:30.000Z
2020-12-15T07:14:18.000Z
# Copyright 2011-2016 Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
29.625
79
0.566606
610
4,977
4.486885
0.242623
0.105225
0.097187
0.055901
0.408476
0.314943
0.222506
0.202411
0.119839
0.095725
0
0.005042
0.322483
4,977
167
80
29.802395
0.806643
0.253767
0
0.119403
0
0
0.113012
0.027489
0
0
0
0
0
1
0.298507
false
0
0.044776
0.014925
0.716418
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
9c62ff172a997252448cd3b364b87beaff16e7c3
1,328
py
Python
piecutter/cutter.py
diecutter/piecutter
250a90a4cae1b72ff3c141dffb8c58de74dbedfd
[ "BSD-3-Clause" ]
2
2016-05-02T02:22:34.000Z
2021-02-08T18:17:30.000Z
piecutter/cutter.py
diecutter/piecutter
250a90a4cae1b72ff3c141dffb8c58de74dbedfd
[ "BSD-3-Clause" ]
2
2016-03-22T10:09:13.000Z
2016-07-01T08:04:43.000Z
piecutter/cutter.py
diecutter/piecutter
250a90a4cae1b72ff3c141dffb8c58de74dbedfd
[ "BSD-3-Clause" ]
null
null
null
"""Cutter class.""" class Cutter(object): """Encapsulate template rendering workflow. The idea is that you configure a :class:`Cutter` instance somewhere, then you can use it to process (load, render and write) templates. A :class:`Cutter` instance manages the relationships between loaders and e...
31.619048
77
0.649096
155
1,328
5.509677
0.419355
0.046838
0.028103
0.046838
0
0
0
0
0
0
0
0
0.240211
1,328
41
78
32.390244
0.846383
0.472139
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
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
0
1
0
0
2
9c68bf84515e9bb26816bf26476f5335a2df0a5c
2,600
py
Python
nd/io/tests/test_convert.py
elfmanryan/geo
d83ce1d994c0a8a7fc461c22f8fd86e30216eefc
[ "MIT" ]
null
null
null
nd/io/tests/test_convert.py
elfmanryan/geo
d83ce1d994c0a8a7fc461c22f8fd86e30216eefc
[ "MIT" ]
null
null
null
nd/io/tests/test_convert.py
elfmanryan/geo
d83ce1d994c0a8a7fc461c22f8fd86e30216eefc
[ "MIT" ]
null
null
null
import pytest from nd.io.convert_ import (assemble_complex, disassemble_complex, generate_covariance_matrix) from nd.testing import generate_test_dataset, generate_test_dataarray from xarray.testing import assert_identical as xr_assert_identical from xarray.testing import assert_equal as xr_...
35.616438
77
0.720385
396
2,600
4.358586
0.199495
0.060255
0.052723
0.050985
0.347625
0.163384
0.067207
0.034762
0.034762
0.034762
0
0.004541
0.153077
2,600
72
78
36.111111
0.779292
0.070769
0
0.058824
1
0
0.052282
0
0
0
0
0
0.333333
1
0.156863
false
0.058824
0.156863
0
0.313725
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
0
0
0
2
9c6d5c02757aa917f37b9199043e4c11e9fe20d2
4,213
py
Python
app/engine/fonts.py
ViolaBuddy/EscapeFromPlegia
5228b42e8525b445854d742dccf85ca65b320d70
[ "MIT" ]
null
null
null
app/engine/fonts.py
ViolaBuddy/EscapeFromPlegia
5228b42e8525b445854d742dccf85ca65b320d70
[ "MIT" ]
null
null
null
app/engine/fonts.py
ViolaBuddy/EscapeFromPlegia
5228b42e8525b445854d742dccf85ca65b320d70
[ "MIT" ]
null
null
null
from app.resources.resources import RESOURCES from app.engine import bmpfont, image_mods class FontType(): def __init__(self, name, default): self.name = name self.colors = {} self.default = default NORMAL_FONT_COLORS = ['white', 'blue', 'green', 'red', 'grey', 'yellow', 'brown'] ...
53.329114
99
0.541419
623
4,213
3.611557
0.154093
0.048
0.04
0.042667
0.352
0.305333
0.284889
0.276
0.276
0.276
0
0.295128
0.239972
4,213
78
100
54.012821
0.407558
0.011156
0
0
0
0
0.054345
0
0
0
0
0
0
1
0.015385
false
0
0.030769
0
0.061538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9c8390e07a773b129db35f6775490952c2791df6
1,751
py
Python
daftar_vaksinasi/models.py
GregoriusFarelPrasasta/berlapan-core
6be122bc7df7fc57483c75e33043a70586cbe424
[ "Unlicense" ]
null
null
null
daftar_vaksinasi/models.py
GregoriusFarelPrasasta/berlapan-core
6be122bc7df7fc57483c75e33043a70586cbe424
[ "Unlicense" ]
null
null
null
daftar_vaksinasi/models.py
GregoriusFarelPrasasta/berlapan-core
6be122bc7df7fc57483c75e33043a70586cbe424
[ "Unlicense" ]
null
null
null
from django.db import models from django.db.models.deletion import CASCADE from django.db.models.fields import DateField # Create your models here. class JamTersedia(models.Model): jam = models.CharField(max_length=20) def __str__(self): return self.jam class TanggalTersedia(models.Model): tangga...
30.189655
105
0.73044
215
1,751
5.697674
0.237209
0.051429
0.088163
0.117551
0.377143
0.210612
0.210612
0.210612
0.210612
0.210612
0
0.011604
0.163335
1,751
57
106
30.719298
0.824573
0.013706
0
0.216216
0
0
0.004646
0
0
0
0
0
0
1
0.162162
false
0
0.081081
0.162162
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
92bd674a56efc80ea35a810e3143023e71a48901
1,050
py
Python
packages/OpenCV/nodes/OpenCV___TopHat0/OpenCV___TopHat0.py
lidong1266/Ryven-Switch
68d1f71e81d6564196f44ca49d5903f06db6a4d9
[ "MIT" ]
18
2021-01-18T09:52:41.000Z
2022-03-22T10:48:44.000Z
packages/OpenCV/nodes/OpenCV___TopHat0/OpenCV___TopHat0.py
xamofb-xsk/Ryven
8c3dcc613098863ae9fb747e62c0bb9d9eb4cef1
[ "MIT" ]
null
null
null
packages/OpenCV/nodes/OpenCV___TopHat0/OpenCV___TopHat0.py
xamofb-xsk/Ryven
8c3dcc613098863ae9fb747e62c0bb9d9eb4cef1
[ "MIT" ]
3
2021-01-18T09:49:42.000Z
2022-03-22T10:48:47.000Z
from NIENV import * import cv2 # USEFUL # self.input(index) <- access to input data # self.outputs[index].set_val(val) <- set output data port value # self.main_widget <- access to main widget class TopHat_NodeInstance(NodeInstance): def __init__(self, params): ...
25.609756
85
0.625714
139
1,050
4.42446
0.388489
0.091057
0.081301
0.113821
0.123577
0.074797
0
0
0
0
0
0.045455
0.266667
1,050
40
86
26.25
0.753247
0.310476
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.263158
false
0.105263
0.105263
0
0.473684
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
0
0
0
2
92bf40cec754062b7eb42ff9770e325898166b15
615
py
Python
hybrid_compression.py
jsy1218/TSA
8f289fa80abc226b53a67d2ab1433bccea7e558e
[ "BSD-3-Clause" ]
null
null
null
hybrid_compression.py
jsy1218/TSA
8f289fa80abc226b53a67d2ab1433bccea7e558e
[ "BSD-3-Clause" ]
null
null
null
hybrid_compression.py
jsy1218/TSA
8f289fa80abc226b53a67d2ab1433bccea7e558e
[ "BSD-3-Clause" ]
null
null
null
import base_compression class HybridCompression(BoxCarCompression, SwingingDoorCompression): def __init__(self, data_size): # This is prototype code and doesn't validate arguments super(BoxCarCompression, self).__init__(data_size) super(SwingingDoorCompression, self).__init__(data_size...
51.25
112
0.747967
74
615
5.702703
0.554054
0.075829
0.056872
0.075829
0.175355
0.175355
0.175355
0.175355
0
0
0
0.019493
0.165854
615
12
112
51.25
0.803119
0.086179
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
92c9c288bb621bcf343b39123a1595c74ca38b23
556
py
Python
icevision/models/mmdet/models/retinanet/__init__.py
ai-fast-track/mantisshrimp
cc6d6a4a048f6ddda2782b6593dcd6b083a673e4
[ "Apache-2.0" ]
580
2020-09-10T06:29:57.000Z
2022-03-29T19:34:54.000Z
icevision/models/mmdet/models/retinanet/__init__.py
ai-fast-track/mantisshrimp
cc6d6a4a048f6ddda2782b6593dcd6b083a673e4
[ "Apache-2.0" ]
691
2020-09-05T03:08:34.000Z
2022-03-31T23:47:06.000Z
icevision/models/mmdet/models/retinanet/__init__.py
lgvaz/mantisshrimp2
743cb7df0dae7eb1331fc2bb66fc9ca09db496cd
[ "Apache-2.0" ]
105
2020-09-09T10:41:35.000Z
2022-03-25T17:16:49.000Z
from icevision.models.mmdet.models.retinanet import backbones from icevision.models.mmdet.common.bbox.single_stage import * from icevision.models.interpretation import Interpretation, _move_to_device from icevision.models.mmdet.common.interpretation_utils import ( sum_losses_mmdet, loop_mmdet, ) _LOSSES_DICT =...
24.173913
75
0.757194
71
556
5.56338
0.394366
0.131646
0.192405
0.182278
0.151899
0
0
0
0
0
0
0
0.143885
556
22
76
25.272727
0.829832
0
0
0
0
0
0.048561
0
0
0
0
0
0
1
0
false
0
0.210526
0
0.210526
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
0
0
0
2
92ce44f492a6a960030e6767f36998b68c8904a9
102
py
Python
Python/Tests/TestData/ProfileTest/ClassProfile.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
404
2019-05-07T02:21:57.000Z
2022-03-31T17:03:04.000Z
Python/Tests/TestData/ProfileTest/ClassProfile.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
1,672
2019-05-06T21:09:38.000Z
2022-03-31T23:16:04.000Z
Python/Tests/TestData/ProfileTest/ClassProfile.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
186
2019-05-13T03:17:37.000Z
2022-03-31T16:24:05.000Z
import time class C(object): def f(self): for i in range(10000): time.sleep(0) a = C() a.f()
11.333333
25
0.588235
20
102
3
0.8
0
0
0
0
0
0
0
0
0
0
0.076923
0.235294
102
9
26
11.333333
0.692308
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
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
0
0
0
2
92d7dbcde6fc8c62db58c9dbb0d82fe391101576
1,348
py
Python
psinsights/argument.py
paulcronk/psinsights
cd465f20254fbdb30032ce40b6fe30d32de0d524
[ "Apache-2.0" ]
null
null
null
psinsights/argument.py
paulcronk/psinsights
cd465f20254fbdb30032ce40b6fe30d32de0d524
[ "Apache-2.0" ]
null
null
null
psinsights/argument.py
paulcronk/psinsights
cd465f20254fbdb30032ce40b6fe30d32de0d524
[ "Apache-2.0" ]
null
null
null
############################################################################### # Copyright 2012 FastSoft Inc. # Copyright 2012 Devin Anderson <danderson (at) fastsoft (dot) com> # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You m...
32.095238
79
0.620178
161
1,348
5.012422
0.565217
0.074349
0.032218
0.039653
0
0
0
0
0
0
0
0.010979
0.189169
1,348
41
80
32.878049
0.727356
0.474036
0
0.111111
0
0
0.140187
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
92e68ec3a7303dc528d3c0c2335726c27ba0863f
212
py
Python
leetcode/excel-sheet-column-title.py
hg-pyun/algorithm
cf92483c399f05e488b6febc79c80620f115fadf
[ "MIT" ]
7
2018-09-15T13:57:37.000Z
2022-03-13T10:01:56.000Z
leetcode/excel-sheet-column-title.py
hg-pyun/algorithm
cf92483c399f05e488b6febc79c80620f115fadf
[ "MIT" ]
1
2019-04-26T07:02:28.000Z
2019-04-26T07:02:28.000Z
leetcode/excel-sheet-column-title.py
hg-pyun/algorithm
cf92483c399f05e488b6febc79c80620f115fadf
[ "MIT" ]
1
2020-05-03T23:43:38.000Z
2020-05-03T23:43:38.000Z
class Solution: def convertToTitle(self, n: int) -> str: d = [] while n > 0: n -= 1 d.insert(0, chr(n%26 + 65)) n //= 26 return "".join(d)
21.2
44
0.382075
26
212
3.115385
0.692308
0.074074
0
0
0
0
0
0
0
0
0
0.080357
0.471698
212
9
45
23.555556
0.642857
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
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
0
0
0
0
0
2
92e7f51fcfb9016913bbb381cde697b1df86e423
700
py
Python
dbt_cloud/command/metadata/query.py
data-mie/dbt-cloud-cli
8e78454de8f06c646cda81160ab61042ab16390a
[ "Apache-2.0" ]
33
2021-12-09T11:17:58.000Z
2022-03-23T21:51:43.000Z
dbt_cloud/command/metadata/query.py
data-mie/dbt-cloud-cli
8e78454de8f06c646cda81160ab61042ab16390a
[ "Apache-2.0" ]
20
2021-11-26T15:46:43.000Z
2022-03-25T15:49:20.000Z
dbt_cloud/command/metadata/query.py
data-mie/dbt-cloud-cli
8e78454de8f06c646cda81160ab61042ab16390a
[ "Apache-2.0" ]
4
2022-01-17T19:18:34.000Z
2022-03-12T09:55:31.000Z
import requests from pydantic import Field from dbt_cloud.command.command import DbtCloudAccountCommand class DbtCloudMetadataQueryCommand(DbtCloudAccountCommand): """Queries the dbt Cloud Metadata API using GraphQL.""" query: str = Field(exclude_from_click_options=True) @property def request_header...
29.166667
86
0.702857
81
700
5.938272
0.493827
0.049896
0
0
0
0
0
0
0
0
0
0
0.197143
700
23
87
30.434783
0.855872
0.07
0
0.125
0
0
0.134884
0
0
0
0
0
0
1
0.1875
false
0
0.1875
0.125
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
92e89208ee5ee775537ea49e3c844e4b360971c7
1,432
py
Python
Python_Project/python_basic/007_number.py
airpoet/bigdata
dc86e9fd63ed59cbd7bf69c1aa37ff6130df3da8
[ "MIT" ]
null
null
null
Python_Project/python_basic/007_number.py
airpoet/bigdata
dc86e9fd63ed59cbd7bf69c1aa37ff6130df3da8
[ "MIT" ]
null
null
null
Python_Project/python_basic/007_number.py
airpoet/bigdata
dc86e9fd63ed59cbd7bf69c1aa37ff6130df3da8
[ "MIT" ]
2
2019-04-20T03:31:31.000Z
2020-03-19T14:15:50.000Z
#!/usr/bin/python3 # -*-coding:utf-8-*- # 数据类型 --- Number类型 """ Python3 支持 int整型、float浮点型、bool布尔型、complex复数 四种数值类型。 在Python 3里,只有一种整数类型 int,表示为长整型,没有 python2 中的 Long。 像大多数语言一样,数值类型的赋值和计算都是很直观的。 内置的 type() 函数可以用来查询变量所指的对象类型。 """ # 查看某个变量是什么类型 type() 函数 a, b, c, d = 20, 5.5, True, 4+3j print...
17.463415
52
0.597067
185
1,432
4.621622
0.52973
0.037427
0.042105
0.059649
0.101754
0
0
0
0
0
0
0.02957
0.22067
1,432
81
53
17.679012
0.736559
0.317737
0
0.086957
0
0
0.083491
0.066414
0
0
0
0
0
1
0
false
0.086957
0
0
0.086957
0.73913
0
0
0
null
0
0
0
0
0
0
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
2
92ecfa9ffb06e9daab8ba0ab8c9a06de5f4355f1
887
py
Python
Python3-Basics/Chapter15_ProcessThread06_threading.py
anliven/Reading-Code-Learning-Python
a814cab207bbaad6b5c69b9feeb8bf2f459baf2b
[ "Apache-2.0" ]
null
null
null
Python3-Basics/Chapter15_ProcessThread06_threading.py
anliven/Reading-Code-Learning-Python
a814cab207bbaad6b5c69b9feeb8bf2f459baf2b
[ "Apache-2.0" ]
null
null
null
Python3-Basics/Chapter15_ProcessThread06_threading.py
anliven/Reading-Code-Learning-Python
a814cab207bbaad6b5c69b9feeb8bf2f459baf2b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import time import threading def loop(): # 新线程执行的代码 print('Sub-thread %s is running...' % threading.current_thread().name) # current_thread()函数返回当前线程的实例 n = 0 while n < 3: n += 1 print('Sub-thread %s >>> %s' % (threading.current_thread().name, n)) ...
29.566667
106
0.6708
98
887
5.989796
0.469388
0.132879
0.187394
0.221465
0.315162
0.272572
0.272572
0.143101
0
0
0
0.006849
0.177001
887
29
107
30.586207
0.79726
0.321308
0
0
0
0
0.227437
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.2
0.333333
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
0
0
0
2
130013567124e75b2b6f4ac86c7f4dc5202c00c0
1,634
py
Python
Develop/Common.py
epsmae/RaspiInfoPanel
01548a21903bf48891a5347af0119935b5eca2dd
[ "MIT" ]
null
null
null
Develop/Common.py
epsmae/RaspiInfoPanel
01548a21903bf48891a5347af0119935b5eca2dd
[ "MIT" ]
null
null
null
Develop/Common.py
epsmae/RaspiInfoPanel
01548a21903bf48891a5347af0119935b5eca2dd
[ "MIT" ]
null
null
null
import datetime import os import time class VersionInfo: def __init__(self): self.success = False def get_string_date_from_file(file_path): date = datetime.datetime.fromtimestamp(os.path.getmtime(file_path)).isoformat() return date def get_string_iso_date_from_string(date_string): date_tim...
29.178571
88
0.758874
258
1,634
4.399225
0.162791
0.140969
0.042291
0.017621
0.651101
0.542731
0.492511
0.457269
0.369163
0.369163
0
0
0.127907
1,634
55
89
29.709091
0.796491
0
0
0.228571
0
0
0.041616
0
0
0
0
0
0
1
0.285714
false
0
0.085714
0.028571
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
1303af15e0de15510e0c99a38689f147f2d47b88
142
py
Python
01_Language/01_Functions/python/date_format.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
3
2020-06-28T07:42:51.000Z
2021-01-15T10:32:11.000Z
01_Language/01_Functions/python/date_format.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
9
2021-03-10T22:45:40.000Z
2022-02-27T06:53:20.000Z
01_Language/01_Functions/python/date_format.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
1
2021-01-15T10:51:24.000Z
2021-01-15T10:51:24.000Z
# coding: utf-8 import datetime if __name__ == '__main__': d = datetime.datetime(2000, 1, 1) print(d.strftime("%Y-%m-%d %H:%M:%S"))
17.75
42
0.598592
23
142
3.347826
0.73913
0
0
0
0
0
0
0
0
0
0
0.060345
0.183099
142
7
43
20.285714
0.603448
0.091549
0
0
0
0
0.19685
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
0
0
0
0
0
0
2
130648612d38a49f0c0b3604056cf5bc4ed0ce3e
754
py
Python
lepmlutils/pdutils/transform.py
Lewington-pitsos/mlutils
c92322a8a2fc0b5342d44b0d92051a93c6eede44
[ "MIT" ]
null
null
null
lepmlutils/pdutils/transform.py
Lewington-pitsos/mlutils
c92322a8a2fc0b5342d44b0d92051a93c6eede44
[ "MIT" ]
null
null
null
lepmlutils/pdutils/transform.py
Lewington-pitsos/mlutils
c92322a8a2fc0b5342d44b0d92051a93c6eede44
[ "MIT" ]
null
null
null
from __future__ import annotations from abc import ABCMeta, abstractmethod from .taggeddataframe import TaggedDataFrame # Transform represents an operation that can be performed on and # alters a LepDataFrame in place. class Transform(): # operate performs a specific operation on the given dataframe # changin...
35.904762
66
0.736074
100
754
5.49
0.63
0.029144
0.061931
0.102004
0.131148
0.131148
0
0
0
0
0
0
0.220159
754
21
67
35.904762
0.933673
0.529178
0
0.4
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.3
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
130686162a7304e21f1473fde4fe0c646632d07c
3,026
py
Python
python-bibtexparser-master/bibtexparser/tests/test_bibtexexpression.py
eraldoribeiro/myhugoacademicwebsite
d69ca6dd4aac660180ca5d910345570cdb37e63d
[ "MIT" ]
null
null
null
python-bibtexparser-master/bibtexparser/tests/test_bibtexexpression.py
eraldoribeiro/myhugoacademicwebsite
d69ca6dd4aac660180ca5d910345570cdb37e63d
[ "MIT" ]
null
null
null
python-bibtexparser-master/bibtexparser/tests/test_bibtexexpression.py
eraldoribeiro/myhugoacademicwebsite
d69ca6dd4aac660180ca5d910345570cdb37e63d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import unittest from bibtexparser.bibtexexpression import BibtexExpression class TestBibtexExpression(unittest.TestCase): def setUp(self): self.expr = BibtexExpression() def test_minimal(self): result = ...
36.02381
78
0.627561
350
3,026
5.285714
0.191429
0.073514
0.084324
0.148649
0.762703
0.726486
0.639459
0.583243
0.583243
0.583243
0
0.005464
0.213814
3,026
83
79
36.457831
0.772173
0.01388
0
0.295082
0
0
0.195506
0
0
0
0
0
0.213115
1
0.245902
false
0
0.04918
0
0.311475
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
130a4daaf0fbf7aae4d41874c6598b74daf3c54e
535
py
Python
google_problems/problem_24.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
129
2018-10-14T17:52:29.000Z
2022-01-29T15:45:57.000Z
google_problems/problem_24.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
2
2019-11-30T23:28:23.000Z
2020-01-03T16:30:32.000Z
google_problems/problem_24.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
60
2019-02-21T09:18:31.000Z
2022-03-25T21:01:04.000Z
"""This problem was asked by Google. Implement an LFU (Least Frequently Used) cache. It should be able to be initialized with a cache size n, and contain the following methods: • set(key, value): sets key to value. If there are already n items in the cache and we are adding a new item, then it should also remove the ...
53.5
72
0.749533
101
535
3.990099
0.633663
0.074442
0.094293
0
0
0
0
0
0
0
0
0.002309
0.190654
535
10
73
53.5
0.923788
1.009346
0
null
0
null
0
0
null
0
0
0
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
0
0
0
0
1
0
0
0
0
0
0
2
130db1a5029cd1d31ad1c9bbc4f51f900751587e
742
py
Python
api/app/services/models/__init__.py
logan-connolly/mychef
ce7d7dc58bb6169aef7d3d8b7b1f457295a736bd
[ "MIT" ]
40
2020-09-15T16:39:35.000Z
2022-03-20T12:49:45.000Z
api/app/services/models/__init__.py
logan-connolly/mychef
ce7d7dc58bb6169aef7d3d8b7b1f457295a736bd
[ "MIT" ]
34
2020-03-28T08:36:59.000Z
2022-03-30T06:07:17.000Z
api/app/services/models/__init__.py
logan-connolly/mychef
ce7d7dc58bb6169aef7d3d8b7b1f457295a736bd
[ "MIT" ]
5
2021-09-29T22:15:04.000Z
2022-03-31T20:32:57.000Z
import tarfile from pathlib import Path from loguru import logger class Model: """Base class for model object to be attached to application""" directory = Path(__file__).parent def __init__(self, model_path: Path) -> None: self.model_path = model_path if not self.model_path.is_dir(): ...
29.68
82
0.660377
103
742
4.475728
0.427184
0.156182
0.197397
0.073753
0.078091
0
0
0
0
0
0
0
0.222372
742
24
83
30.916667
0.79896
0.145553
0
0
0
0
0.213483
0.166934
0
0
0
0
0
1
0.2
false
0
0.2
0.066667
0.6
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
130ec9c7207c7f09d5b8614aaa98c48cf2f22613
578
py
Python
ooi_instrument_agent/common.py
oceanobservatories/ooi-instrument-agent
e22e4300079468bb99c543cbbf1cb5c8b4a96897
[ "Apache-2.0" ]
null
null
null
ooi_instrument_agent/common.py
oceanobservatories/ooi-instrument-agent
e22e4300079468bb99c543cbbf1cb5c8b4a96897
[ "Apache-2.0" ]
null
null
null
ooi_instrument_agent/common.py
oceanobservatories/ooi-instrument-agent
e22e4300079468bb99c543cbbf1cb5c8b4a96897
[ "Apache-2.0" ]
null
null
null
import os import datetime from six import wraps SOCK_ENV_KEY = 'SNIFF_UNIX_SOCKFILE' DEFAULT_SOCKFILE = '/tmp/sniff.sock' def get_sniffer_socket(): return os.environ.get(SOCK_ENV_KEY, DEFAULT_SOCKFILE) def stopwatch(logger): def wrapper(func): @wraps(func) def inner(*args, **kwargs): ...
23.12
57
0.633218
70
578
5.085714
0.485714
0.039326
0.05618
0
0
0
0
0
0
0
0
0
0.262976
578
24
58
24.083333
0.835681
0
0
0
0
0
0.076125
0
0
0
0
0
0
1
0.222222
false
0
0.166667
0.055556
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
130f9b59be16314e6b2e09b2d5ecaa952d89e182
253
py
Python
pyroved/models/__init__.py
x94carbone/pyroVED
07c500bef9a506bea06d65ec231ef7164abc61f2
[ "MIT" ]
20
2021-03-12T08:50:41.000Z
2022-03-25T16:20:47.000Z
pyroved/models/__init__.py
x94carbone/pyroVED
07c500bef9a506bea06d65ec231ef7164abc61f2
[ "MIT" ]
17
2021-04-26T21:20:33.000Z
2021-07-22T23:04:12.000Z
pyroved/models/__init__.py
x94carbone/pyroVED
07c500bef9a506bea06d65ec231ef7164abc61f2
[ "MIT" ]
3
2021-04-26T18:22:48.000Z
2022-02-02T21:56:25.000Z
""" Variational autoencoder and encoder-decoder models """ from .ivae import iVAE from .ssivae import ssiVAE from .ss_reg_ivae import ss_reg_iVAE from .jivae import jiVAE from .ved import VED __all__ = ['iVAE', 'jiVAE', 'ssiVAE', 'ss_reg_iVAE', 'VED']
23
59
0.747036
38
253
4.710526
0.394737
0.083799
0.150838
0
0
0
0
0
0
0
0
0
0.13834
253
10
60
25.3
0.821101
0.197628
0
0
0
0
0.148718
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
131002d73b8ea4979491bd1fb29a29c238024c6d
906,722
py
Python
pysnmp-with-texts/DGS-1210-12TSME-BX.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/DGS-1210-12TSME-BX.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/DGS-1210-12TSME-BX.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module DGS-1210-12TSME-BX (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DGS-1210-12TSME-BX # Produced by pysmi-0.3.4 at Wed May 1 12:42:37 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
154.546105
11,099
0.780166
112,628
906,722
6.279353
0.040097
0.063408
0.110964
0.011408
0.624833
0.508043
0.48125
0.460674
0.434117
0.410839
0
0.074222
0.097109
906,722
5,866
11,100
154.572451
0.789655
0.000364
0
0.002224
0
0.103336
0.290147
0.01092
0
0
0.000026
0
0
1
0
false
0.00787
0.002395
0
0.012147
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
13112941c42c96e0eada65e78ac4328e0ea0b7f4
1,631
py
Python
model.py
ftrihardjo/BMG
50d2abec7cad668c2b49af16974ae7c296f5e808
[ "MIT" ]
null
null
null
model.py
ftrihardjo/BMG
50d2abec7cad668c2b49af16974ae7c296f5e808
[ "MIT" ]
null
null
null
model.py
ftrihardjo/BMG
50d2abec7cad668c2b49af16974ae7c296f5e808
[ "MIT" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy from sqlalchemy.orm import validates import re import hashlib db = SQLAlchemy() class User(db.Model): __tablename__ = 'user' id = db.Column(db.Integer,primary_key=True,unique=True,nullable=False) username = db.Column(db.String,unique=True,nullable=False) password ...
40.775
74
0.652361
193
1,631
5.455959
0.264249
0.126306
0.05698
0.075973
0.169041
0.129155
0.074074
0.074074
0
0
0
0.000785
0.218884
1,631
39
75
41.820513
0.825746
0
0
0
0
0
0.112201
0
0
0
0
0
0.179487
1
0.102564
false
0.153846
0.102564
0
0.512821
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
131abb4aed0c4485e00ceb70e61a45de9c8baaaa
951
py
Python
backend/tradersplatform/auth/views.py
ybedirhanpak/bounswe2019group1
9572fd307345b3f842c2c2ff4426857086484ed5
[ "MIT" ]
10
2019-02-14T14:53:49.000Z
2019-10-23T08:03:39.000Z
backend/tradersplatform/auth/views.py
ybedirhanpak/bounswe2019group1
9572fd307345b3f842c2c2ff4426857086484ed5
[ "MIT" ]
364
2019-02-14T14:50:12.000Z
2022-02-10T13:43:09.000Z
backend/tradersplatform/auth/views.py
bounswe/bounswe2019group1
9572fd307345b3f842c2c2ff4426857086484ed5
[ "MIT" ]
8
2019-05-05T20:04:31.000Z
2020-12-24T16:44:54.000Z
from django.contrib.auth.models import User from django.core.serializers.json import DjangoJSONEncoder from django.forms import model_to_dict from django.shortcuts import render, redirect # Create your views here. from rest_framework.generics import RetrieveAPIView, ListAPIView, CreateAPIView, UpdateAPIView, DestroyAP...
35.222222
110
0.847529
119
951
6.546218
0.462185
0.061617
0.130937
0.053915
0
0
0
0
0
0
0
0.007042
0.104101
951
27
111
35.222222
0.907277
0.024185
0
0.105263
0
0
0
0
0
0
0
0
0
1
0
false
0
0.578947
0
0.894737
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
13248cfd598ee047ed586cafa66586c7d54133a9
192
py
Python
pandas_example.py
adityadesle/pandas
14e0c32d7feb4078d0afe24a5625f203c5666635
[ "MIT" ]
null
null
null
pandas_example.py
adityadesle/pandas
14e0c32d7feb4078d0afe24a5625f203c5666635
[ "MIT" ]
null
null
null
pandas_example.py
adityadesle/pandas
14e0c32d7feb4078d0afe24a5625f203c5666635
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Jun 11 09:38:15 2020 @author: 66IN """ import pandas as pd df = pd.read_csv('Desktop/Python/data/survey_results_public') print(df)
13.714286
62
0.625
30
192
3.9
0.933333
0
0
0
0
0
0
0
0
0
0
0.1
0.21875
192
13
63
14.769231
0.68
0.380208
0
0
0
0
0.418367
0.418367
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
13387d5ad95e2873ef2c6727da6e8d58d7fed5c6
741
py
Python
ex073.py
danoliveiradev/PythonExercicios
e788191e755f54cd3c51ca24a2d3a2ed32923b12
[ "MIT" ]
null
null
null
ex073.py
danoliveiradev/PythonExercicios
e788191e755f54cd3c51ca24a2d3a2ed32923b12
[ "MIT" ]
null
null
null
ex073.py
danoliveiradev/PythonExercicios
e788191e755f54cd3c51ca24a2d3a2ed32923b12
[ "MIT" ]
null
null
null
tabCampBrasileiro = ('Fortaleza', 'Athletico-PR', 'Bragantino', 'Flamengo', 'Atlético-GO', 'Atlético-MG', 'Bahia', 'Palmeiras', 'Fluminense', 'Corinthians', 'Ceará SC', 'Santos', 'Internacional', 'Juventude', 'Cuiabá', 'Sport Recife', 'São Paulo', 'Chapecoense', 'Grêmio', 'Amér...
52.928571
114
0.670715
84
741
5.916667
0.607143
0.060362
0.072435
0.078471
0.132797
0
0
0
0
0
0
0.021978
0.140351
741
13
115
57
0.758242
0
0
0.307692
0
0
0.611336
0.101215
0
0
0
0
0
1
0
false
0
0
0
0
0.692308
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
133ed0b58fe669d650c65a1882b43072d413abfe
380
py
Python
code/command.py
iamrajee/bio_medical
8d91cd3838f46685faa057f93f5d22f8e6c4187b
[ "MIT" ]
null
null
null
code/command.py
iamrajee/bio_medical
8d91cd3838f46685faa057f93f5d22f8e6c4187b
[ "MIT" ]
null
null
null
code/command.py
iamrajee/bio_medical
8d91cd3838f46685faa057f93f5d22f8e6c4187b
[ "MIT" ]
null
null
null
from time import sleep commandfile = 'command.txt' flag_state = 'None' def write(event): global flag_state f = open(commandfile,"w+") f.write(event) f.close() if flag_state == '0': flag_state = '1' else: flag_state = '0' sleep(1) while True: write(flag_state+','+'U') ...
21.111111
33
0.586842
52
380
4.134615
0.519231
0.334884
0.195349
0
0
0
0
0
0
0
0
0.013889
0.242105
380
18
34
21.111111
0.732639
0
0
0
0
0
0.07874
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.117647
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
0
0
0
0
0
2
13409c61f805072433d20e093b4cdc7412515a8a
449
py
Python
kushimori/views.py
wataken44/kushimori
34ed43a785330092f2dbedd7944a18d4e3a83ef7
[ "MIT" ]
null
null
null
kushimori/views.py
wataken44/kushimori
34ed43a785330092f2dbedd7944a18d4e3a83ef7
[ "MIT" ]
null
null
null
kushimori/views.py
wataken44/kushimori
34ed43a785330092f2dbedd7944a18d4e3a83ef7
[ "MIT" ]
null
null
null
from flask import Blueprint, render_template, request from users.models import SessionModel from utils.http import require_session application = Blueprint('kushimori', __name__) @application.route("/", methods=['GET']) @require_session(redirect_login=False) def get_index(session): return render_template('index....
26.411765
57
0.770601
55
449
6.072727
0.490909
0.125749
0.11976
0
0
0
0
0
0
0
0
0
0.100223
449
16
58
28.0625
0.826733
0
0
0
0
0
0.09375
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0.181818
0.636364
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
13469337e3391440f6be5a2d42bf41ce95159039
420
py
Python
tests/test_all.py
timkpaine/pynqpandas
106cc3777203aefe4af5895ac8779ccf55541415
[ "Apache-2.0" ]
5
2018-06-14T17:34:36.000Z
2021-08-11T10:51:25.000Z
tests/test_all.py
timkpaine/pynqpandas
106cc3777203aefe4af5895ac8779ccf55541415
[ "Apache-2.0" ]
9
2017-11-30T05:57:25.000Z
2020-12-29T17:15:58.000Z
tests/test_all.py
timkpaine/pynqpandas
106cc3777203aefe4af5895ac8779ccf55541415
[ "Apache-2.0" ]
1
2019-09-07T17:22:04.000Z
2019-09-07T17:22:04.000Z
# for Coverage class Test: def setup(self): pass # setup() before each test method def teardown(self): pass # teardown() after each test method @classmethod def setup_class(cls): pass # setup_class() before any methods in this class @classmethod ...
19.090909
58
0.6
50
420
4.96
0.38
0.064516
0.112903
0.129032
0.169355
0
0
0
0
0
0
0
0.333333
420
21
59
20
0.885714
0.414286
0
0.545455
0
0
0
0
0
0
0
0
0
1
0.363636
false
0.363636
0
0
0.454545
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
0
0
0
2
135e17a2896462e8aa11bf5ae44bdc57ea56a6fe
960
py
Python
EventFilter/DTRawToDigi/python/dtunpackerROS25Local_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
EventFilter/DTRawToDigi/python/dtunpackerROS25Local_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
EventFilter/DTRawToDigi/python/dtunpackerROS25Local_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms import EventFilter.DTRawToDigi.dtUnpackingModule_cfi # # configuration for running the DT unpacker on data acquired thorugh ROS25 # dtunpacker = EventFilter.DTRawToDigi.dtUnpackingModule_cfi.dtUnpackingModule.clone() dtunpacker.dataType = cms.string('ROS25') dtunpacker.inputLa...
38.4
85
0.748958
101
960
7.09901
0.425743
0.150628
0.200837
0.175732
0.284519
0
0
0
0
0
0
0.004884
0.146875
960
24
86
40
0.870574
0.075
0
0.1
0
0
0.023756
0
0
0
0
0
0
1
0
false
0
0.1
0
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
0
0
0
2
13722d8963e6ad42e75a63b0c774e88f62f20494
1,437
py
Python
app/mylog.py
anlance/cdut2016
4f96b92d83a4bfc051b7b04ebdd5740aaed623a1
[ "MIT" ]
null
null
null
app/mylog.py
anlance/cdut2016
4f96b92d83a4bfc051b7b04ebdd5740aaed623a1
[ "MIT" ]
1
2020-04-17T09:55:38.000Z
2020-04-17T09:55:38.000Z
app/mylog.py
anlance/cdut2016
4f96b92d83a4bfc051b7b04ebdd5740aaed623a1
[ "MIT" ]
null
null
null
import logging import os from logging.handlers import SMTPHandler, RotatingFileHandler from flask import current_app if not current_app.debug: if current_app.config['MAIL_SERVER']: auth = None if current_app.config['MAIL_USERNAME'] or current_app.config['MAIL_PASSWORD']: auth = (curren...
44.90625
93
0.654836
164
1,437
5.536585
0.378049
0.176211
0.176211
0.198238
0.323789
0.134361
0
0
0
0
0
0.006318
0.228949
1,437
32
94
44.90625
0.813177
0
0
0
0
0.034483
0.168289
0.01669
0
0
0
0
0
1
0
false
0.068966
0.137931
0
0.137931
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
13746e0ab4f06c31dc9103170121b4f2396b4845
2,423
py
Python
var/spack/repos/builtin/packages/hssp/package.py
FJ-NaokiMatsumura/spack
7cfe626e21795f0a4bfe61f36ca1b48ffd2fc961
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/hssp/package.py
FJ-NaokiMatsumura/spack
7cfe626e21795f0a4bfe61f36ca1b48ffd2fc961
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
8
2022-02-28T11:30:18.000Z
2022-03-23T19:34:56.000Z
var/spack/repos/builtin/packages/hssp/package.py
FJ-NaokiMatsumura/spack
7cfe626e21795f0a4bfe61f36ca1b48ffd2fc961
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * from spack.pkg.builtin.boost import Boost class Hssp(AutotoolsPackage): """The source code for b...
45.716981
96
0.730912
249
2,423
7.060241
0.522088
0.012514
0.051195
0.040956
0.025028
0
0
0
0
0
0
0.233595
0.157243
2,423
52
97
46.596154
0.627326
0.248865
0
0
0
0.034483
0.510986
0.360563
0
0
0
0.019231
0
1
0.068966
false
0
0.068966
0
0.275862
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
137d1f7f2c1d8b9068ee59ee93acc4016ba31905
224
py
Python
tests/test_read_the_docs.py
wasi-master/pypi-command-line
d05466ec9edf9aafc77d84b549cb8ddab12dc668
[ "MIT" ]
21
2021-10-15T16:32:36.000Z
2022-03-16T11:56:14.000Z
tests/test_read_the_docs.py
wasi-master/pypi-command-line
d05466ec9edf9aafc77d84b549cb8ddab12dc668
[ "MIT" ]
7
2021-10-20T21:07:44.000Z
2022-03-21T05:27:57.000Z
tests/test_read_the_docs.py
wasi-master/pypi-command-line
d05466ec9edf9aafc77d84b549cb8ddab12dc668
[ "MIT" ]
null
null
null
def test_read_the_docs(runner): result = runner.run("pypi read-the-docs --url-only django context") output = result.stdout.decode("utf-8") assert output, "No output was gotten" # Assert if a output was returned
44.8
76
0.714286
35
224
4.485714
0.714286
0.089172
0.140127
0
0
0
0
0
0
0
0
0.005376
0.169643
224
4
77
56
0.83871
0.138393
0
0
0
0
0.361257
0
0
0
0
0
0.25
1
0.25
false
0
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
1388d39db4f063b77dfa1815f1accfa1dbc8ff90
1,167
py
Python
password_manager/utils/file_helper.py
GrzegorzNieuzyla/PasswordManager
f54ebb7f5f86449d3d1f13542402a536bcf264d7
[ "MIT" ]
null
null
null
password_manager/utils/file_helper.py
GrzegorzNieuzyla/PasswordManager
f54ebb7f5f86449d3d1f13542402a536bcf264d7
[ "MIT" ]
null
null
null
password_manager/utils/file_helper.py
GrzegorzNieuzyla/PasswordManager
f54ebb7f5f86449d3d1f13542402a536bcf264d7
[ "MIT" ]
null
null
null
import os from typing import Optional from PyQt6.QtWidgets import QFileDialog from password_manager.gui.message_box import show_error class FileHelper: @staticmethod def open_db_file() -> Optional[str]: """ Show dialog for opening files, validate and return path """ filename:...
31.540541
99
0.581834
120
1,167
5.55
0.416667
0.09009
0.057057
0.063063
0.225225
0.15015
0.15015
0.15015
0
0
0
0.001304
0.342759
1,167
36
100
32.416667
0.867014
0.068552
0
0.36
0
0
0.169231
0
0
0
0
0
0
1
0.08
true
0.12
0.16
0
0.48
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
1
0
0
0
0
0
2
1391613a79fc15355a7b624f52e8fc0a81c43ab2
4,988
py
Python
factroy/calculator.py
Twip-Emma/QQbot-Twip
16e2a248037e200e518af732df9ad865bf32f566
[ "MIT" ]
2
2021-06-24T09:07:52.000Z
2021-12-23T15:36:48.000Z
factroy/calculator.py
Twip-Emma/QQbot-Twip
16e2a248037e200e518af732df9ad865bf32f566
[ "MIT" ]
3
2021-06-24T02:38:21.000Z
2022-02-09T04:54:04.000Z
factroy/calculator.py
Twip-Emma/QQbot-Twip
16e2a248037e200e518af732df9ad865bf32f566
[ "MIT" ]
1
2021-06-30T14:44:41.000Z
2021-06-30T14:44:41.000Z
''' Author: your name Date: 2021-08-03 10:13:58 LastEditTime: 2021-08-04 11:24:19 LastEditors: Please set LastEditors Description: In User Settings Edit FilePath: \Twip-master\factroy\calculator.py ''' import json from os import path THIS_PATH = path.join(path.dirname(__file__)) ENVE_PATH = f"{THIS_PATH}\\...
38.666667
101
0.704691
770
4,988
4.254545
0.187013
0.231685
0.228327
0.142857
0.58547
0.55464
0.485958
0.462454
0.462454
0.419414
0
0.042563
0.09563
4,988
129
102
38.666667
0.683662
0.071171
0
0.362637
0
0
0.236396
0.195584
0
0
0
0
0
1
0
false
0
0.021978
0
0.021978
0.10989
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
0
0
0
0
0
2
13aeca3a83501d02d15754390048f223f32eb0ae
4,226
py
Python
src/veris2stix/find.py
rpiazza/veris-to-stix
77b033069379a6ecca6da8181f0871d86023b743
[ "BSD-3-Clause" ]
2
2016-07-19T12:22:41.000Z
2021-01-13T22:24:26.000Z
src/veris2stix/find.py
rpiazza/veris-to-stix
77b033069379a6ecca6da8181f0871d86023b743
[ "BSD-3-Clause" ]
null
null
null
src/veris2stix/find.py
rpiazza/veris-to-stix
77b033069379a6ecca6da8181f0871d86023b743
[ "BSD-3-Clause" ]
null
null
null
''' Created on May 17, 2014 @author: rpiazza ''' from datetime import datetime, timedelta import json import os import sys import dateutil from xml.sax.saxutils import escape from stix.coa import (CourseOfAction) from stix.common import (Statement, Confidence, InformationSource, RelatedThreatActor, DateTimeWithPreci...
36.119658
127
0.668481
474
4,226
5.742616
0.345992
0.064291
0.079353
0.099927
0.067965
0.046657
0
0
0
0
0
0.006487
0.234027
4,226
117
128
36.119658
0.834415
0.322527
0
0.075472
0
0
0.027718
0
0
0
0
0
0
0
null
null
0
0.415094
null
null
0.018868
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
13b1271910f36eef77af32e5799c183178dc0f2c
707
py
Python
favourite_things_api/main/migrations/0009_auto_20190801_2255.py
OKiMaureen/favorite-things
820df90ef4e7de05373d188d81f3f96a11c4b9b5
[ "MIT" ]
null
null
null
favourite_things_api/main/migrations/0009_auto_20190801_2255.py
OKiMaureen/favorite-things
820df90ef4e7de05373d188d81f3f96a11c4b9b5
[ "MIT" ]
3
2019-12-05T00:09:21.000Z
2020-06-05T22:34:11.000Z
favourite_things_api/main/migrations/0009_auto_20190801_2255.py
OKiMaureen/favorite-things
820df90ef4e7de05373d188d81f3f96a11c4b9b5
[ "MIT" ]
1
2020-09-02T09:17:10.000Z
2020-09-02T09:17:10.000Z
# Generated by Django 2.2.3 on 2019-08-01 22:55 import django.contrib.postgres.fields.hstore from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('main', '0008_historicalcategory_historicalfavoritething'), ] operations = [ migrations.AddField( ...
28.28
91
0.649222
71
707
6.380282
0.535211
0.086093
0.139073
0.178808
0.421634
0.348786
0.348786
0.348786
0.348786
0.348786
0
0.035448
0.241867
707
24
92
29.458333
0.809701
0.063649
0
0.444444
1
0
0.162121
0.106061
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
13b4fef187665878d058ea464ec8cdcccd550154
169
py
Python
strings/__init__.py
bemxio/discord-member-log
0089bef4f6b79ee762359662a8094e81f040b659
[ "MIT" ]
null
null
null
strings/__init__.py
bemxio/discord-member-log
0089bef4f6b79ee762359662a8094e81f040b659
[ "MIT" ]
null
null
null
strings/__init__.py
bemxio/discord-member-log
0089bef4f6b79ee762359662a8094e81f040b659
[ "MIT" ]
null
null
null
from . import en """ In the future, this will be used to add new languages for the interactions with the bot. For now, the code uses "en.py" only. """ __all__ = ["en"]
21.125
88
0.686391
30
169
3.733333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.201183
169
8
89
21.125
0.82963
0
0
0
0
0
0.054054
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
13bcdb21cf6d09cc14241636c0c954d4de762068
200
py
Python
python100days/day02/variable4.py
lanSeFangZhou/pythonbase
f4daa373573b2fc0a59a5eb919d02eddf5914e18
[ "Apache-2.0" ]
null
null
null
python100days/day02/variable4.py
lanSeFangZhou/pythonbase
f4daa373573b2fc0a59a5eb919d02eddf5914e18
[ "Apache-2.0" ]
1
2021-06-02T00:58:26.000Z
2021-06-02T00:58:26.000Z
python100days/day02/variable4.py
lanSeFangZhou/pythonbase
f4daa373573b2fc0a59a5eb919d02eddf5914e18
[ "Apache-2.0" ]
null
null
null
# 检查变量的类型 a = 100 b = 100000000000 c = 12.345 d = 1 + 5j e = 'A' f = 'hello, world!' g = True print(type(a)) print(type(b)) print(type(c)) print(type(d)) print(type(e)) print(type(f)) print(type(g))
11.764706
19
0.61
39
200
3.128205
0.487179
0.516393
0
0
0
0
0
0
0
0
0
0.13253
0.17
200
17
20
11.764706
0.60241
0.035
0
0
0
0
0.072917
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
13c5af47a474a2761441f1aedab94e2130a13133
487
py
Python
tests/camera/test_camera_manager.py
gfvandehei/hydroponics-rpi-server
e9c0cdbb2a72f908dae299f28d00dad23d7b5bb6
[ "MIT" ]
null
null
null
tests/camera/test_camera_manager.py
gfvandehei/hydroponics-rpi-server
e9c0cdbb2a72f908dae299f28d00dad23d7b5bb6
[ "MIT" ]
null
null
null
tests/camera/test_camera_manager.py
gfvandehei/hydroponics-rpi-server
e9c0cdbb2a72f908dae299f28d00dad23d7b5bb6
[ "MIT" ]
null
null
null
from hydroserver.physical_interfaces.camera_controller import CameraController from hydroserver.physical_interfaces.camera_storage import CameraStore from hydroserver.physical_interfaces.camera_streamer import CameraStreamer import datetime import time cam_stream = CameraStreamer() cam_store = CameraStore("./te...
34.785714
79
0.825462
59
487
6.559322
0.457627
0.116279
0.178295
0.255814
0.302326
0
0
0
0
0
0
0.002262
0.092402
487
14
80
34.785714
0.873303
0
0
0
0
0
0.029474
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
0.090909
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
13c8d2289c05c0a5dfaea61daf13b9426b6f8939
1,867
py
Python
azure_utility_tool/apply_filters.py
alextricity25/azure_utility_tool
2975b5f415e5c64335618e83ed0216b7923c4166
[ "MIT" ]
5
2020-01-02T03:12:14.000Z
2020-08-19T02:31:19.000Z
azure_utility_tool/apply_filters.py
alextricity25/azure_utility_tool
2975b5f415e5c64335618e83ed0216b7923c4166
[ "MIT" ]
null
null
null
azure_utility_tool/apply_filters.py
alextricity25/azure_utility_tool
2975b5f415e5c64335618e83ed0216b7923c4166
[ "MIT" ]
2
2020-03-16T00:19:06.000Z
2020-08-20T19:31:10.000Z
""" Author(s): Miguel Alex Cantu Date: 06/30/2020 Description: This module contains methods relevant to filtering the result returned by the action modules """ import logging def filter_result(result, config): """ Applies all filters """ filters = config['filters'] for key, value in fi...
35.903846
114
0.614355
223
1,867
5.071749
0.426009
0.070734
0.028294
0.037135
0.178603
0
0
0
0
0
0
0.006126
0.300482
1,867
51
115
36.607843
0.859877
0.197108
0
0
0
0
0.169837
0
0
0
0
0.019608
0
1
0.103448
false
0.068966
0.034483
0
0.172414
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
1
0
0
0
0
0
2
13cac89a35f7fdc425f0efe69f376a602fe4e8a1
1,669
py
Python
tests/test_single_signal_w_noise.py
geosharma/eqsig
3083022ab9e48ee422eff261560ee60846e766e2
[ "MIT" ]
15
2018-10-08T19:18:06.000Z
2022-02-05T16:03:31.000Z
tests/test_single_signal_w_noise.py
geosharma/eqsig
3083022ab9e48ee422eff261560ee60846e766e2
[ "MIT" ]
2
2019-11-06T05:07:45.000Z
2021-04-19T09:59:25.000Z
tests/test_single_signal_w_noise.py
geosharma/eqsig
3083022ab9e48ee422eff261560ee60846e766e2
[ "MIT" ]
8
2018-10-08T19:18:09.000Z
2022-02-03T12:08:33.000Z
import numpy as np from eqsig.im import calc_sig_dur from tests.conftest import TEST_DATA_DIR, load_test_record_from_file def test_remove_polyfit_1(noise_rec): noise_rec.remove_poly(poly_fit=1) ssq_org = np.sum(noise_rec.values ** 2) noise_rec.add_series(np.linspace(0, 0.2, noise_rec.npts)) ssq_w_lin...
27.816667
68
0.711204
296
1,669
3.699324
0.219595
0.204566
0.082192
0.106849
0.643836
0.609132
0.609132
0.609132
0.514155
0.514155
0
0.060014
0.17136
1,669
59
69
28.288136
0.731743
0
0
0.578947
0
0
0
0
0
0
0
0
0.263158
1
0.131579
false
0.052632
0.078947
0
0.210526
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
1
0
0
0
0
0
2
13d9c0649fd79905adc169c2be4bb785f4afc80a
1,105
py
Python
src/adas/datasets/__init__.py
mahdihosseini/HistoKT
0d23d4210a14f2f227e129cb7deec78d483ea8f5
[ "MIT" ]
2
2022-01-26T07:59:49.000Z
2022-01-30T02:18:37.000Z
src/adas/datasets/__init__.py
mahdihosseini/HistoKT
0d23d4210a14f2f227e129cb7deec78d483ea8f5
[ "MIT" ]
null
null
null
src/adas/datasets/__init__.py
mahdihosseini/HistoKT
0d23d4210a14f2f227e129cb7deec78d483ea8f5
[ "MIT" ]
1
2022-01-26T10:24:53.000Z
2022-01-26T10:24:53.000Z
import sys mod_name = vars(sys.modules[__name__])['__name__'] if 'adas.' in mod_name: from .ADPDataset import ADPDataset from .AIDPATH import AIDPATH from .AJLymph import AJLymph from .BACH import BACH from .CRC import CRC from .GlaS import GlaS from .MHIST import MHIST from .Osteosarc...
34.53125
62
0.764706
132
1,105
6.325758
0.19697
0.186826
0.062275
0.071856
0
0
0
0
0
0
0
0
0.19819
1,105
32
63
34.53125
0.942438
0
0
0
0
0
0.011754
0
0
0
0
0
0
1
0
false
0
0.9
0
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
13f6adfa009013c8808216e84e24037992e5cbef
224
py
Python
utils/lists.py
Tmk8686/SenkuuBot-source-code
e0e24eb6273044dbb5a7ced547ca7197d8628db4
[ "MIT" ]
3
2021-06-01T08:46:46.000Z
2022-01-16T22:58:24.000Z
utils/lists.py
LoneWolf6969/py
f7d1107b4514706d85125b643bf471fb7580f013
[ "MIT" ]
null
null
null
utils/lists.py
LoneWolf6969/py
f7d1107b4514706d85125b643bf471fb7580f013
[ "MIT" ]
1
2022-01-11T06:11:19.000Z
2022-01-11T06:11:19.000Z
ballresponse = [ "Yes", "No", "Take a wild guess...", "Very doubtful", "Sure", "Without a doubt", "Most likely", "Might be possible", "You'll be the judge", "no... (╯°□°)╯︵ ┻━┻", "no... baka", "senpai, pls no ;-;" ]
32
64
0.53125
32
224
4
0.84375
0
0
0
0
0
0
0
0
0
0
0
0.1875
224
6
65
37.333333
0.653846
0
0
0
0
0
0.669643
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b9160cfa3d86775a40bc982c16eb4ebb480c926b
8,039
py
Python
src/libs_v0/bddc.py
JordiManyer/bddc
4e2f09a17d47399724336f6df502f47a772d3030
[ "MIT" ]
null
null
null
src/libs_v0/bddc.py
JordiManyer/bddc
4e2f09a17d47399724336f6df502f47a772d3030
[ "MIT" ]
null
null
null
src/libs_v0/bddc.py
JordiManyer/bddc
4e2f09a17d47399724336f6df502f47a772d3030
[ "MIT" ]
null
null
null
import numpy as np import math import scipy.sparse.linalg from scipy.sparse import csr_matrix as csr from scipy.sparse import bmat # Class containing all the data that should be distributed per proc class fineProc(): def __init__(self): self.nI = 0 # Number of interior nodes self.nB ...
41.015306
112
0.520214
1,152
8,039
3.613715
0.137153
0.215229
0.21619
0.036993
0.463848
0.376651
0.32957
0.246937
0.196973
0.146049
0
0.009513
0.333126
8,039
196
113
41.015306
0.767021
0.131857
0
0.248227
0
0
0
0
0
0
0
0.005102
0
1
0.049645
false
0
0.035461
0
0.134752
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
0
0
0
0
0
2
b9189d4b0a357b5df457c14fb8f13184b831510a
337
py
Python
backend/api/models/sales_submission_statuses.py
kuanfan99/zeva
57b506a108fe57438506569d5503c90c52216b2f
[ "Apache-2.0" ]
3
2020-03-25T03:06:20.000Z
2021-01-20T23:36:03.000Z
backend/api/models/sales_submission_statuses.py
kuanfan99/zeva
57b506a108fe57438506569d5503c90c52216b2f
[ "Apache-2.0" ]
740
2019-12-16T15:53:39.000Z
2022-03-26T08:25:10.000Z
backend/api/models/sales_submission_statuses.py
kuanfan99/zeva
57b506a108fe57438506569d5503c90c52216b2f
[ "Apache-2.0" ]
11
2019-11-28T20:39:15.000Z
2022-01-31T17:53:31.000Z
from enum import Enum, unique @unique class SalesSubmissionStatuses(Enum): NEW = 'NEW' DRAFT = 'DRAFT' SUBMITTED = 'SUBMITTED' VALIDATED = 'VALIDATED' REJECTED = 'REJECTED' RECOMMEND_APPROVAL = 'RECOMMEND_APPROVAL' RECOMMEND_REJECTION = 'RECOMMEND_REJECTION' DELETED = 'DELETED' CHE...
22.466667
47
0.688427
31
337
7.354839
0.516129
0.149123
0.22807
0
0
0
0
0
0
0
0
0
0.216617
337
14
48
24.071429
0.863636
0
0
0
0
0
0.252226
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.916667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
b922dcd9fc5567a0832118c98e20e9f8825a14fb
1,280
py
Python
capsnet/activations.py
tumido/face_biometrics_descriptor-code
4b8a87922c69b5ce826166c7ea6babe792eff6ac
[ "Apache-2.0" ]
4
2019-06-09T13:19:19.000Z
2020-12-09T14:10:53.000Z
capsnet/activations.py
tumido/face_biometrics_descriptor-code
4b8a87922c69b5ce826166c7ea6babe792eff6ac
[ "Apache-2.0" ]
null
null
null
capsnet/activations.py
tumido/face_biometrics_descriptor-code
4b8a87922c69b5ce826166c7ea6babe792eff6ac
[ "Apache-2.0" ]
1
2021-03-17T17:50:30.000Z
2021-03-17T17:50:30.000Z
"""Activation functions used by CapsNet.""" import keras.backend as k import tensorflow as tf def squash(inputs, axis=-1): """Non-linear activation used in Capsules. Args: inputs: Input tensor. axis: The dimension squash would be performed on. The default is -1 which indicates t...
24.150943
76
0.651563
177
1,280
4.655367
0.440678
0.042476
0.054612
0.076456
0.11165
0.11165
0
0
0
0
0
0.004215
0.258594
1,280
52
77
24.615385
0.864067
0.573438
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2