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
365493226ef8ff623b67882ccdb1d5957462cc3b
80
py
Python
releases/_version.py
Nicusor97/releases
97a763e41bbe7374106a1c648b89346a0d935429
[ "BSD-2-Clause" ]
null
null
null
releases/_version.py
Nicusor97/releases
97a763e41bbe7374106a1c648b89346a0d935429
[ "BSD-2-Clause" ]
null
null
null
releases/_version.py
Nicusor97/releases
97a763e41bbe7374106a1c648b89346a0d935429
[ "BSD-2-Clause" ]
null
null
null
__version_info__ = (1, 6, 1) __version__ = '.'.join(map(str, __version_info__))
26.666667
50
0.7
11
80
3.818182
0.636364
0.52381
0
0
0
0
0
0
0
0
0
0.042254
0.1125
80
2
51
40
0.549296
0
0
0
0
0
0.0125
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
365f7a0a4d0f8739674bb26bb9651db410c27bb4
410
py
Python
compiler/dna/components/DNASuitEdge.py
AnonymousDeveloper65535/libpandadna
3110a8d576d22093e4c735081c5f639d28397a17
[ "BSD-3-Clause" ]
36
2015-01-29T19:43:45.000Z
2022-01-19T11:49:28.000Z
compiler/dna/components/DNASuitEdge.py
AnonymousDeveloper65535/libpandadna
3110a8d576d22093e4c735081c5f639d28397a17
[ "BSD-3-Clause" ]
44
2015-01-16T16:09:30.000Z
2022-01-25T02:29:15.000Z
compiler/dna/components/DNASuitEdge.py
AnonymousDeveloper65535/libpandadna
3110a8d576d22093e4c735081c5f639d28397a17
[ "BSD-3-Clause" ]
42
2015-01-03T08:43:21.000Z
2022-01-11T04:29:11.000Z
class DNASuitEdge: COMPONENT_CODE = 22 def __init__(self, startPoint, endPoint, zoneId): self.startPoint = startPoint self.endPoint = endPoint self.zoneId = zoneId def setStartPoint(self, startPoint): self.startPoint = startPoint def setEndPoint(self, endPoint): ...
24.117647
53
0.656098
41
410
6.439024
0.341463
0.212121
0.181818
0
0
0
0
0
0
0
0
0.006645
0.265854
410
16
54
25.625
0.870432
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
3661e55cade9d0047ddb0c329454134c08c3a612
4,277
py
Python
test/test_px_proxy.py
wizzard/perimeterx-python-3-wsgi
03aded2c868dda3ad198c1f3ee944c775557d818
[ "MIT" ]
1
2021-11-06T16:47:51.000Z
2021-11-06T16:47:51.000Z
test/test_px_proxy.py
wizzard/perimeterx-python-3-wsgi
03aded2c868dda3ad198c1f3ee944c775557d818
[ "MIT" ]
1
2020-08-31T10:50:25.000Z
2020-08-31T10:50:25.000Z
test/test_px_proxy.py
wizzard/perimeterx-python-3-wsgi
03aded2c868dda3ad198c1f3ee944c775557d818
[ "MIT" ]
4
2020-04-01T10:37:09.000Z
2020-12-03T12:34:13.000Z
import unittest import requests_mock from werkzeug.test import EnvironBuilder from werkzeug.wrappers import Request from perimeterx import px_constants from perimeterx.px_config import PxConfig from perimeterx.px_context import PxContext from perimeterx.px_proxy import PxProxy class Test_PXProxy(unittest.TestCase):...
45.989247
208
0.676876
543
4,277
5.106814
0.191529
0.047602
0.03462
0.045438
0.729535
0.72088
0.702488
0.677245
0.677245
0.677245
0
0.0438
0.20996
4,277
92
209
46.48913
0.776857
0
0
0.513158
0
0.026316
0.154548
0.037643
0
0
0
0
0.078947
1
0.065789
false
0
0.105263
0
0.184211
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
36625b8ef7dfda999b8814af3148b3e2460eb4ae
1,683
py
Python
PI/Events/Event.py
HotShot0901/PI
7e6fd0f68b4222e09ea825f27709ec5b1e51e928
[ "Apache-2.0", "BSD-2-Clause", "MIT", "MIT-0", "bzip2-1.0.6", "BSD-3-Clause" ]
null
null
null
PI/Events/Event.py
HotShot0901/PI
7e6fd0f68b4222e09ea825f27709ec5b1e51e928
[ "Apache-2.0", "BSD-2-Clause", "MIT", "MIT-0", "bzip2-1.0.6", "BSD-3-Clause" ]
null
null
null
PI/Events/Event.py
HotShot0901/PI
7e6fd0f68b4222e09ea825f27709ec5b1e51e928
[ "Apache-2.0", "BSD-2-Clause", "MIT", "MIT-0", "bzip2-1.0.6", "BSD-3-Clause" ]
null
null
null
# This just shifts 1 to i th BIT def BIT(i: int) -> int: return int(1 << i) # This class is equvalent to a C++ enum class EventType: Null, \ WindowClose, WindowResize, WindowFocus, WindowMoved, \ AppTick, AppUpdate, Ap...
26.714286
87
0.541889
172
1,683
5.203488
0.465116
0.050279
0.043575
0.044693
0.06257
0.06257
0.06257
0.06257
0
0
0
0.010377
0.370172
1,683
62
88
27.145161
0.833962
0.110517
0
0.116279
0
0
0.004024
0
0
0
0
0
0
1
0.209302
false
0.046512
0
0.116279
0.651163
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
367177f87916e9f31a627747b9f2f2e7f5f23e29
1,771
py
Python
NLP-Model/GraphGenerator.py
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
NLP-Model/GraphGenerator.py
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
NLP-Model/GraphGenerator.py
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Apr 24 22:03:42 2018 @author: aditya """ import codecs import numpy as np import matplotlib.pyplot as plt import tensorflow as tf import re import time import random training_errors= [2.880890389084816, 2.589109110832214, 2.529299919307232, 2.465622152...
52.088235
506
0.784303
241
1,771
5.721992
0.53112
0.005801
0.008702
0.013053
0.021755
0.021755
0.021755
0.021755
0.021755
0.021755
0
0.559582
0.080745
1,771
33
507
53.666667
0.287469
0.054207
0
0
0
0
0.052821
0
0
0
0
0
0
1
0
false
0
0.304348
0
0.304348
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
1
0
0
0
0
3
36794b18530c7dfbe909565c90c9010f724df448
150
py
Python
scripts.py
intendednull/lcu_connectorpy
deb1050fe3a3fdc513d63d2ab08ab92bc86ac2f9
[ "MIT" ]
null
null
null
scripts.py
intendednull/lcu_connectorpy
deb1050fe3a3fdc513d63d2ab08ab92bc86ac2f9
[ "MIT" ]
1
2020-03-05T18:54:17.000Z
2020-03-05T18:54:17.000Z
scripts.py
Zer0897/lcu_connectorpy
deb1050fe3a3fdc513d63d2ab08ab92bc86ac2f9
[ "MIT" ]
1
2020-10-06T01:10:13.000Z
2020-10-06T01:10:13.000Z
import subprocess as subp def doc(): subp.run([ 'pdoc', '--html', '--overwrite', '--html-dir', 'docs', 'lcu_connectorpy' ])
16.666667
47
0.52
16
150
4.8125
0.875
0
0
0
0
0
0
0
0
0
0
0
0.266667
150
8
48
18.75
0.7
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0.166667
true
0
0.166667
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
367a9bce756118fb872d4491d7235406c6ce91d1
95
py
Python
Right_Angle/trans.py
kameranis/IEEExtreme-8.0
8ba80224b5218eb759ca91508b4f169788ff5571
[ "MIT" ]
null
null
null
Right_Angle/trans.py
kameranis/IEEExtreme-8.0
8ba80224b5218eb759ca91508b4f169788ff5571
[ "MIT" ]
null
null
null
Right_Angle/trans.py
kameranis/IEEExtreme-8.0
8ba80224b5218eb759ca91508b4f169788ff5571
[ "MIT" ]
null
null
null
N=input() num = [int(raw_input().split()[2]) for i in range(N)] num = list(set(num)) print num
19
53
0.631579
19
95
3.105263
0.736842
0
0
0
0
0
0
0
0
0
0
0.012195
0.136842
95
4
54
23.75
0.707317
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
367c714d55fb20ba8891983bb594b981f3b9fa1a
470
py
Python
backend/client/admin.py
katserafine/GenieHub
b7542b5b2a5dfc137b763a08b64d43e1dbe53af7
[ "MIT" ]
1
2020-06-24T04:44:33.000Z
2020-06-24T04:44:33.000Z
backend/client/admin.py
katserafine/GenieHub
b7542b5b2a5dfc137b763a08b64d43e1dbe53af7
[ "MIT" ]
null
null
null
backend/client/admin.py
katserafine/GenieHub
b7542b5b2a5dfc137b763a08b64d43e1dbe53af7
[ "MIT" ]
null
null
null
from django.contrib import admin from django.utils.html import format_html from django.contrib.auth.models import Permission from .models import * # Register your models here. admin.site.register(projectWorker) admin.site.register(project) admin.site.register(leadContact) class ClientAdmin(admin.ModelAdmin): lis...
29.375
49
0.785106
60
470
6.05
0.466667
0.099174
0.187328
0
0
0
0
0
0
0
0
0
0.112766
470
16
50
29.375
0.870504
0.055319
0
0
0
0
0.054176
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
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
1
0
1
0
0
3
369d292bf15ec11e1c3a4ad6d68821a207a8fc33
1,124
py
Python
vectors/vectormath.py
sbanwart/data-science
07f568e5f55a43339a9dca3ba3a13b263f54a37c
[ "MIT" ]
null
null
null
vectors/vectormath.py
sbanwart/data-science
07f568e5f55a43339a9dca3ba3a13b263f54a37c
[ "MIT" ]
null
null
null
vectors/vectormath.py
sbanwart/data-science
07f568e5f55a43339a9dca3ba3a13b263f54a37c
[ "MIT" ]
null
null
null
import math def vector_add(v, w): """adds corresponding elements""" return [v_i + w_i for v_i, w_i in zip(v, w)] def vector_subtract(v, w): """subtracts corresponding elements""" return [v_i - w_i for v_i, w_i in zip(v, w)] def vector_sum(vectors): return reduce(vector_add, vector...
25.545455
79
0.615658
203
1,124
3.197044
0.236453
0.030817
0.027735
0.03698
0.217257
0.217257
0.198767
0.198767
0.198767
0.198767
0
0.010514
0.238434
1,124
43
80
26.139535
0.747664
0.282028
0
0.08
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.04
0.12
0.84
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
36a07f1b483e17aa9a2719b08beb5635ce843a05
1,106
py
Python
cpgames/modules/core/__init__.py
Wasabii88/Games
33262ca1958207a24e57e3532feded7e275b1dd1
[ "MIT" ]
1
2022-03-07T11:13:08.000Z
2022-03-07T11:13:08.000Z
cpgames/modules/core/__init__.py
Wasabii88/Games
33262ca1958207a24e57e3532feded7e275b1dd1
[ "MIT" ]
null
null
null
cpgames/modules/core/__init__.py
Wasabii88/Games
33262ca1958207a24e57e3532feded7e275b1dd1
[ "MIT" ]
null
null
null
'''initialize''' from .ski import SkiGame from .maze import MazeGame from .gobang import GobangGame from .tetris import TetrisGame from .pacman import PacmanGame from .gemgem import GemGemGame from .tankwar import TankWarGame from .sokoban import SokobanGame from .pingpong import PingpongGame from .trexrush import TRex...
38.137931
56
0.867993
113
1,106
8.495575
0.522124
0
0
0
0
0
0
0
0
0
0
0
0.101266
1,106
29
56
38.137931
0.965795
0.009042
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
36a5039b731ed609ed21354c488bea0e48e4d31a
502
py
Python
lambda_handlers/errors.py
renovate-tests/lambda-handlers
0b14013f19b597524a8d50f7ea8813ee726c584c
[ "Apache-2.0" ]
null
null
null
lambda_handlers/errors.py
renovate-tests/lambda-handlers
0b14013f19b597524a8d50f7ea8813ee726c584c
[ "Apache-2.0" ]
null
null
null
lambda_handlers/errors.py
renovate-tests/lambda-handlers
0b14013f19b597524a8d50f7ea8813ee726c584c
[ "Apache-2.0" ]
null
null
null
class LambdaError(Exception): def __init__(self, description): self.description = description class BadRequestError(LambdaError): pass class ForbiddenError(LambdaError): pass class InternalServerError(LambdaError): pass class NotFoundError(LambdaError): pass class ValidationError(L...
13.944444
45
0.750996
42
502
8.880952
0.380952
0.168901
0.321716
0
0
0
0
0
0
0
0
0
0.183267
502
35
46
14.342857
0.909756
0
0
0.421053
0
0
0
0
0
0
0
0
0
1
0.052632
false
0.421053
0
0
0.526316
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
1
0
0
3
36b29aea512c076457ac717e34101b418e8451d8
1,838
py
Python
acvrct.py
lyzcoote/VRChat-Py-Launcher
307fc26d2a464ba97e93293f757e7fdaa29098de
[ "MIT" ]
null
null
null
acvrct.py
lyzcoote/VRChat-Py-Launcher
307fc26d2a464ba97e93293f757e7fdaa29098de
[ "MIT" ]
null
null
null
acvrct.py
lyzcoote/VRChat-Py-Launcher
307fc26d2a464ba97e93293f757e7fdaa29098de
[ "MIT" ]
null
null
null
################################################################################ # # # Modules # # ...
40.844444
80
0.259521
81
1,838
5.62963
0.469136
0.142544
0.070175
0.083333
0.140351
0.140351
0
0
0
0
0
0.000967
0.437432
1,838
44
81
41.772727
0.440039
0.357998
0
0
0
0
0.075134
0
0
0
0
0
0
1
0.0625
true
0
0.375
0
0.5
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
1
0
0
0
0
3
36c93b1ef9b9eeb9b865aada75df7cf42d64021f
29,950
py
Python
Colab/vision_transformer_dogs_and_cats_python_generator.py
Thanusan19/Vision_Transformer
80179d57e617ef6cd9599de93c7c7633f891f9a9
[ "Apache-2.0" ]
1
2021-07-02T13:55:11.000Z
2021-07-02T13:55:11.000Z
Colab/vision_transformer_dogs_and_cats_python_generator.py
Thanusan19/Vision_Transformer
80179d57e617ef6cd9599de93c7c7633f891f9a9
[ "Apache-2.0" ]
null
null
null
Colab/vision_transformer_dogs_and_cats_python_generator.py
Thanusan19/Vision_Transformer
80179d57e617ef6cd9599de93c7c7633f891f9a9
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """Vision Transformer Dogs and Cats Python Generator Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/12u7r2OMkt_rFmOQq2g5FtX7Z0EbyPYFN See code at https://github.com/google-research/vision_transformer/ See paper at https://arxi...
38.007614
1,046
0.67576
4,292
29,950
4.552423
0.221342
0.012539
0.02211
0.016889
0.34966
0.284252
0.245151
0.193766
0.169558
0.162598
0
0.016886
0.199199
29,950
788
1,047
38.007614
0.797782
0.234457
0
0.221675
1
0.036946
0.145047
0.049223
0
0
0
0
0.002463
0
null
null
0
0.083744
null
null
0.076355
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
36da2c9e737689743389837a193464187fe5262e
154
py
Python
Python/WSClock/Page.py
Camiloasc1/OperativeSystemsUNAL
a07bfc235789b7a8848280a549a6b2c9602e61b5
[ "MIT" ]
null
null
null
Python/WSClock/Page.py
Camiloasc1/OperativeSystemsUNAL
a07bfc235789b7a8848280a549a6b2c9602e61b5
[ "MIT" ]
null
null
null
Python/WSClock/Page.py
Camiloasc1/OperativeSystemsUNAL
a07bfc235789b7a8848280a549a6b2c9602e61b5
[ "MIT" ]
null
null
null
class Page(object): def __init__(self, params): self.size = 2 ** 10 self.Time = False self.R = False self.M = False
17.111111
31
0.519481
20
154
3.8
0.7
0.236842
0
0
0
0
0
0
0
0
0
0.030928
0.37013
154
8
32
19.25
0.752577
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
36e6a531b83457a4c48394e73a9fc94d96c25f64
77
py
Python
2022-02-24-ftx-rest-api-python/local_settings.py
georgehaan/analyzingalpha
f1f821e8d74d64addf410bfd205cb089ddf5517e
[ "Unlicense" ]
null
null
null
2022-02-24-ftx-rest-api-python/local_settings.py
georgehaan/analyzingalpha
f1f821e8d74d64addf410bfd205cb089ddf5517e
[ "Unlicense" ]
null
null
null
2022-02-24-ftx-rest-api-python/local_settings.py
georgehaan/analyzingalpha
f1f821e8d74d64addf410bfd205cb089ddf5517e
[ "Unlicense" ]
null
null
null
ftxus = { 'api_key':'YOUR_API_KEY', 'api_secret':'YOUR_API_SECRET' }
15.4
34
0.636364
11
77
3.909091
0.454545
0.27907
0
0
0
0
0
0
0
0
0
0
0.181818
77
4
35
19.25
0.68254
0
0
0
0
0
0.571429
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
36e9aa3443706da87ee4f539703a4f5d9195cf72
166
py
Python
Solutions/print all subset.py
Adityasriram0901/Python-Thunder
192920c48092ce1783d56c7b45cdd7e7a50246fa
[ "MIT" ]
81
2020-09-25T15:02:11.000Z
2020-10-12T14:20:31.000Z
Solutions/print all subset.py
Adityasriram0901/Python-Thunder
192920c48092ce1783d56c7b45cdd7e7a50246fa
[ "MIT" ]
196
2020-09-25T13:52:13.000Z
2020-10-12T20:20:00.000Z
Solutions/print all subset.py
Adityasriram0901/Python-Thunder
192920c48092ce1783d56c7b45cdd7e7a50246fa
[ "MIT" ]
209
2020-09-25T16:15:46.000Z
2020-10-12T20:08:08.000Z
a = [1, 2, 3, 4] def subset(a, n): if n == 1: return n else: return (subset(a[n - 1]), subset(a[n - 2])) print(subset(a, n=4))
13.833333
52
0.415663
29
166
2.37931
0.413793
0.405797
0.463768
0
0
0
0
0
0
0
0
0.078431
0.385542
166
11
53
15.090909
0.598039
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0.142857
1
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
3
7fc49c5390bfb96b900f097bb43b1a2528a313d1
6,522
py
Python
pysnmp-with-texts/Intel-Common-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/Intel-Common-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/Intel-Common-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 Intel-Common-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Intel-Common-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:54:14 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar ...
103.52381
1,274
0.713891
991
6,522
4.60444
0.148335
0.028052
0.032216
0.16831
0.398641
0.355249
0.355249
0.355249
0.321499
0.291037
0
0.143547
0.111316
6,522
62
1,275
105.193548
0.64372
0.049985
0
0
0
0
0.136415
0.010668
0
0
0
0
0
1
0
false
0
0.109091
0
0.109091
0.036364
0
0
0
null
0
0
1
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
3
7fc62c697596e38c94228733e0069508642f51ad
198
py
Python
app/emails/__init__.py
zollf/CITS3200
95fb7569dad325c057e441cd7265d3e85735c058
[ "CC0-1.0" ]
null
null
null
app/emails/__init__.py
zollf/CITS3200
95fb7569dad325c057e441cd7265d3e85735c058
[ "CC0-1.0" ]
null
null
null
app/emails/__init__.py
zollf/CITS3200
95fb7569dad325c057e441cd7265d3e85735c058
[ "CC0-1.0" ]
null
null
null
from django.apps import AppConfig class EmailAppConfig(AppConfig): name = 'app.emails' label = 'email_app' verbose_name = 'Emails App' default_app_config = 'app.emails.EmailAppConfig'
22
48
0.737374
24
198
5.916667
0.625
0.126761
0
0
0
0
0
0
0
0
0
0
0.166667
198
8
49
24.75
0.860606
0
0
0
0
0
0.272727
0.126263
0
0
0
0
0
1
0
false
0
0.166667
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
7fc87ac068a828700f0e5927697f90ef933d4e60
293
py
Python
docs/examples/http_proxy/constructor_argument.py
dupontz/libcloud
419c69441ea10e7bbf37319e5e8d02e82e7e6b40
[ "Apache-2.0" ]
4
2017-11-14T17:24:12.000Z
2020-10-30T01:46:02.000Z
docs/examples/http_proxy/constructor_argument.py
dupontz/libcloud
419c69441ea10e7bbf37319e5e8d02e82e7e6b40
[ "Apache-2.0" ]
11
2017-01-29T08:59:21.000Z
2018-07-02T09:17:47.000Z
docs/examples/http_proxy/constructor_argument.py
dupontz/libcloud
419c69441ea10e7bbf37319e5e8d02e82e7e6b40
[ "Apache-2.0" ]
4
2016-04-04T08:01:48.000Z
2018-06-06T08:04:36.000Z
from libcloud.compute.types import Provider from libcloud.compute.providers import get_driver PROXY_URL_NO_AUTH_1 = 'http://<proxy hostname 1>:<proxy port 2>' cls = get_driver(Provider.RACKSPACE) driver = cls('username', 'api key', region='ord', http_proxy=PROXY_URL_NO_AUTH_1)
32.555556
64
0.750853
44
293
4.75
0.568182
0.114833
0.181818
0.133971
0.143541
0
0
0
0
0
0
0.01581
0.136519
293
8
65
36.625
0.810277
0
0
0
0
0
0.197952
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7fe7a7ef4cedcf3d41ec5da04172536952412a93
570
py
Python
conans/test/model/username_test.py
jbaruch/conan
263722b5284828c49774ffe18d314b24ee11e178
[ "MIT" ]
null
null
null
conans/test/model/username_test.py
jbaruch/conan
263722b5284828c49774ffe18d314b24ee11e178
[ "MIT" ]
null
null
null
conans/test/model/username_test.py
jbaruch/conan
263722b5284828c49774ffe18d314b24ee11e178
[ "MIT" ]
1
2021-03-03T17:15:46.000Z
2021-03-03T17:15:46.000Z
import unittest from conans.errors import ConanException from conans.model.username import Username class UsernameTest(unittest.TestCase): def username_test(self): Username("userwith-hypens") self.assertRaises(ConanException, Username, "") self.assertRaises(ConanException, Username, "A"*...
28.5
59
0.684211
55
570
7.036364
0.4
0.206718
0.387597
0.490956
0.20155
0
0
0
0
0
0
0.013158
0.2
570
20
60
28.5
0.835526
0
0
0
0
0
0.047285
0
0
0
0
0
0.357143
1
0.071429
false
0
0.214286
0
0.357143
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7feeefa1c9cfdfdf846929d05b2027d327b3a9e6
60
py
Python
user_login.py
pieddro/football
d5a021da26a2252dcece752c51818f03d1d3db46
[ "Apache-2.0" ]
null
null
null
user_login.py
pieddro/football
d5a021da26a2252dcece752c51818f03d1d3db46
[ "Apache-2.0" ]
null
null
null
user_login.py
pieddro/football
d5a021da26a2252dcece752c51818f03d1d3db46
[ "Apache-2.0" ]
null
null
null
Meine neuer Code.. Neue Codezeile .... Tst stash zum 2. mal
20
20
0.7
10
60
4.2
1
0
0
0
0
0
0
0
0
0
0
0.020408
0.183333
60
3
21
20
0.836735
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
3d05d97057af36632d639c5d678cfee0618bd44e
197
py
Python
sdk/python/opencannabis/media/__init__.py
CookiesCo/OpenCannabis
a7bb1f71200c6b8f56c509df47039198f0c3bd4c
[ "MIT" ]
2
2020-08-27T00:45:49.000Z
2021-06-19T08:01:13.000Z
sdk/python/opencannabis/media/__init__.py
CookiesCo/OpenCannabis
a7bb1f71200c6b8f56c509df47039198f0c3bd4c
[ "MIT" ]
67
2020-08-27T03:16:33.000Z
2022-03-26T14:33:38.000Z
sdk/python/opencannabis/media/__init__.py
CookiesCo/OpenCannabis
a7bb1f71200c6b8f56c509df47039198f0c3bd4c
[ "MIT" ]
1
2020-11-12T04:26:43.000Z
2020-11-12T04:26:43.000Z
# ~*~ coding: utf-8 ~*~ __doc__ = """ `opencannabis.media` --------------------------- Records and definitions that structure digital media and related assets. """ # `opencannabis.media`
16.416667
74
0.573604
18
197
6.055556
0.777778
0.311927
0
0
0
0
0
0
0
0
0
0.006098
0.167513
197
11
75
17.909091
0.658537
0.213198
0
0
0
0
0.861842
0.177632
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
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
3
3d29b2ee51f536c799b3a2e3518fab0b83469961
26
py
Python
pug-bot/apitoken.py
stevenktruong/pug-bot
315c21363eebb51d67d5b5c9fa9326cd8bcb2b54
[ "MIT" ]
17
2018-06-27T03:49:03.000Z
2021-04-13T07:32:43.000Z
pug-bot/apitoken.py
stevenktruong/pug-bot
315c21363eebb51d67d5b5c9fa9326cd8bcb2b54
[ "MIT" ]
3
2020-03-26T06:49:10.000Z
2020-04-23T07:20:41.000Z
pug-bot/apitoken.py
stevenktruong/pug-bot
315c21363eebb51d67d5b5c9fa9326cd8bcb2b54
[ "MIT" ]
14
2018-06-27T03:49:06.000Z
2021-10-07T23:28:44.000Z
TOKEN = "YOUR_TOKEN_HERE"
13
25
0.769231
4
26
4.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.115385
26
1
26
26
0.782609
0
0
0
0
0
0.576923
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3d3d56ea2024a56958685b39631e50240545177c
304
py
Python
tools/load_save.py
zs-liu/Pytorch-AS
4e41f96522cce7a35f6625bdbe3863c0b74ee0ca
[ "MIT" ]
null
null
null
tools/load_save.py
zs-liu/Pytorch-AS
4e41f96522cce7a35f6625bdbe3863c0b74ee0ca
[ "MIT" ]
null
null
null
tools/load_save.py
zs-liu/Pytorch-AS
4e41f96522cce7a35f6625bdbe3863c0b74ee0ca
[ "MIT" ]
null
null
null
import torch def save_checkpoint(save_dir, model, optimizer): torch.save({'model_state_dict': model.state_dict(), 'optimizer_state_dict': optimizer.state_dict()}, save_dir) return True def load_checkpoint(load_dir): checkpoint = torch.load(load_dir) return checkpoint
23.384615
74
0.713816
39
304
5.25641
0.333333
0.17561
0.136585
0.22439
0.219512
0
0
0
0
0
0
0
0.184211
304
12
75
25.333333
0.826613
0
0
0
0
0
0.118421
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
3d550a112ff51ab3601284d3bb247c868ab1d733
2,062
py
Python
test/sample_data/get_observation_histogram_week.py
eduramirezh/pyinaturalist
e5da7ced7fae31f27310868bdb2d349bdff8e0d4
[ "MIT" ]
47
2019-07-23T08:18:02.000Z
2022-03-17T16:32:17.000Z
test/sample_data/get_observation_histogram_week.py
eduramirezh/pyinaturalist
e5da7ced7fae31f27310868bdb2d349bdff8e0d4
[ "MIT" ]
219
2019-08-22T14:45:20.000Z
2022-03-30T02:39:35.000Z
test/sample_data/get_observation_histogram_week.py
eduramirezh/pyinaturalist
e5da7ced7fae31f27310868bdb2d349bdff8e0d4
[ "MIT" ]
9
2020-02-28T04:29:13.000Z
2022-02-23T03:02:32.000Z
from datetime import datetime { datetime(2019, 12, 30, 0, 0): 35, datetime(2020, 1, 6, 0, 0): 27, datetime(2020, 1, 13, 0, 0): 39, datetime(2020, 1, 20, 0, 0): 120, datetime(2020, 1, 27, 0, 0): 73, datetime(2020, 2, 3, 0, 0): 48, datetime(2020, 2, 10, 0, 0): 35, datetime(2020, 2, 17, 0,...
35.551724
39
0.532978
375
2,062
2.930667
0.229333
0.096451
0.059145
0.021838
0.061874
0
0
0
0
0
0
0.425574
0.260427
2,062
57
40
36.175439
0.295082
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.017857
0
0.017857
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
1
0
0
0
0
0
0
3
3d5a3b5d8a7ee8e5a8d60b3408e8aa8d46c512c1
346
py
Python
{{cookiecutter.app_name}}/search_indexes.py
rickydunlop/cookiecutter-django-app-template-drf-haystack
8ea9034c371950628b3d312639964753899c8c5d
[ "MIT" ]
null
null
null
{{cookiecutter.app_name}}/search_indexes.py
rickydunlop/cookiecutter-django-app-template-drf-haystack
8ea9034c371950628b3d312639964753899c8c5d
[ "MIT" ]
null
null
null
{{cookiecutter.app_name}}/search_indexes.py
rickydunlop/cookiecutter-django-app-template-drf-haystack
8ea9034c371950628b3d312639964753899c8c5d
[ "MIT" ]
null
null
null
from haystack import indexes from .models import {{ cookiecutter.model_name }} class {{ cookiecutter.model_name }}Index(indexes.SearchIndex, indexes.Indexable): text = indexes.CharField(document=True, use_template=True) name = indexes.CharField(model_attr='name') def get_model(self): return {{ c...
28.833333
81
0.736994
41
346
6.073171
0.560976
0.204819
0.253012
0
0
0
0
0
0
0
0
0
0.150289
346
11
82
31.454545
0.846939
0
0
0
0
0
0.011561
0
0
0
0
0
0
0
null
null
0
0.285714
null
null
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
1
0
0
0
0
0
0
0
0
3
e9eda2a3fc73ffe30b97e1cd86e60cd02bdf72a7
1,402
py
Python
bigflow_python/python/bigflow/pipeline/test/testdata/columns/columns/column_sum.py
advancedxy/bigflow_python
8a244b483404fde7afc42eee98bc964da8ae03e2
[ "Apache-2.0" ]
1,236
2017-11-14T11:10:10.000Z
2022-03-08T11:54:41.000Z
bigflow_python/python/bigflow/pipeline/test/testdata/columns/columns/column_sum.py
advancedxy/bigflow_python
8a244b483404fde7afc42eee98bc964da8ae03e2
[ "Apache-2.0" ]
38
2017-11-14T16:29:12.000Z
2020-01-23T08:32:04.000Z
bigflow_python/python/bigflow/pipeline/test/testdata/columns/columns/column_sum.py
advancedxy/bigflow_python
8a244b483404fde7afc42eee98bc964da8ae03e2
[ "Apache-2.0" ]
184
2017-11-27T07:23:36.000Z
2022-03-14T02:54:16.000Z
#!/usr/bin/env python # encoding: utf-8 ######################################################################## # # Copyright (c) 2016 Baidu, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain...
28.04
74
0.597004
176
1,402
4.704545
0.619318
0.072464
0.031401
0.038647
0
0
0
0
0
0
0
0.019713
0.203994
1,402
49
75
28.612245
0.722222
0.624108
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e9f29e0f95ccd2b1945aff6967594472289887d8
21,120
py
Python
build/lib/mrgaze/pupilometry.py
jmtyszka/mrgaze
29217eab9ea431686fd200f08bddd6615c45d0d3
[ "MIT" ]
18
2016-01-22T02:47:45.000Z
2021-09-23T18:37:51.000Z
build/lib/mrgaze/pupilometry.py
jmtyszka/mrgaze
29217eab9ea431686fd200f08bddd6615c45d0d3
[ "MIT" ]
7
2015-05-26T21:33:16.000Z
2020-05-26T11:47:54.000Z
build/lib/mrgaze/pupilometry.py
jmtyszka/mrgaze
29217eab9ea431686fd200f08bddd6615c45d0d3
[ "MIT" ]
7
2016-02-06T00:17:52.000Z
2021-02-22T03:51:55.000Z
#!/usr/bin/env python # # Video pupilometry functions # - takes calibration and gaze video filenames as input # - controls calibration and gaze estimation workflow # # USAGE : mrgaze.py <Calibration Video> <Gaze Video> # # AUTHOR : Mike Tyszka # PLACE : Caltech # DATES : 2014-05-07 JMT From scratch # 2016-02...
33.051643
112
0.550284
2,426
21,120
4.666529
0.170651
0.01325
0.0159
0.037099
0.74852
0.721756
0.69561
0.668934
0.643759
0.630686
0
0.018007
0.350521
21,120
638
113
33.103448
0.807319
0.261364
0
0.730061
0
0.01227
0.1603
0.006856
0
0
0
0.003135
0
1
0.006135
false
0.006135
0.015337
0
0.08589
0.168712
0
0
0
null
0
0
0
0
1
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
3
18070effada07af1c287eb2501ebc5c7848149ff
2,499
py
Python
__init__.py
kotn3l/blender-flver
3476d720337a6d7a28bd55f9b112524c0f61581d
[ "MIT" ]
11
2020-04-28T03:21:13.000Z
2022-03-23T13:18:33.000Z
__init__.py
kotn3l/blender-flver
3476d720337a6d7a28bd55f9b112524c0f61581d
[ "MIT" ]
2
2021-06-28T07:44:42.000Z
2022-03-18T00:47:42.000Z
__init__.py
elizagamedev/blender-flver
25cc152de19acb4028035d3ed389706df25e094a
[ "MIT" ]
2
2021-12-23T13:31:57.000Z
2022-03-16T06:30:13.000Z
bl_info = { "name": "Import Fromsoft FLVER models", "description": "Import models from various Fromsoft games such as Dark Souls", "author": "Eliza Velasquez", "version": (0, 1, 0), "blender": (2, 80, 0), "category": "Import-Export", "location": "File > Import", "warning": "...
30.47561
74
0.620648
267
2,499
5.666667
0.468165
0.026438
0.034369
0.037013
0.034369
0.034369
0
0
0
0
0
0.003872
0.276511
2,499
81
75
30.851852
0.832965
0.026411
0
0.046875
0
0
0.278961
0
0
0
0
0.012346
0
1
0.0625
false
0
0.375
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
181dd4525734f8cc34fa28f835971bb355463f95
516
py
Python
src/removeElement.py
ianxin/algorithm
22214b6c81bee926f5a1c74c9417b2e7edd3ceed
[ "MIT" ]
2
2018-03-13T08:59:14.000Z
2018-03-13T08:59:25.000Z
src/removeElement.py
ianxin/Algorithm
22214b6c81bee926f5a1c74c9417b2e7edd3ceed
[ "MIT" ]
null
null
null
src/removeElement.py
ianxin/Algorithm
22214b6c81bee926f5a1c74c9417b2e7edd3ceed
[ "MIT" ]
null
null
null
""" @param: A: A list of integers @param: elem: An integer @return: The new length after remove """ #倒序遍历list def removeElement(self, A, elem): # write your code here for i in range(len(A)-1,-1,-1): if A[i] == elem: A.pop(i) return len(A) ...
23.454545
40
0.484496
69
516
3.623188
0.463768
0.048
0.16
0.168
0.384
0.384
0.384
0.384
0.384
0.384
0
0.009646
0.397287
516
21
41
24.571429
0.794212
0
0
0.4
0
0
0
0
0
0
0
0.047619
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
3
1833d1d97b94601d7c7672bd7240b57d03e2cddf
3,961
py
Python
recsys/util/feature_helper.py
manazhao/tf_recsys
6053712d11165c068e5d618989f716b2a0f60186
[ "Apache-2.0" ]
1
2019-04-20T15:05:37.000Z
2019-04-20T15:05:37.000Z
recsys/util/feature_helper.py
manazhao/tf_recsys
6053712d11165c068e5d618989f716b2a0f60186
[ "Apache-2.0" ]
null
null
null
recsys/util/feature_helper.py
manazhao/tf_recsys
6053712d11165c068e5d618989f716b2a0f60186
[ "Apache-2.0" ]
null
null
null
import logging import tensorflow as tf import recsys.util.proto.config_pb2 as config def int64_feature(val): return tf.train.Feature(int64_list = tf.train.Int64List(value=[val])) def int64_list_feature(val_list): return tf.train.Feature(int64_list = tf.train.Int64List(value=val_list)) def bytes_feature(val):...
39.61
124
0.789447
582
3,961
5.099656
0.21134
0.049528
0.066712
0.067385
0.425876
0.402291
0.379043
0.379043
0.326146
0.295148
0
0.00996
0.11285
3,961
100
125
39.61
0.834661
0.129513
0
0
0
0
0.010468
0
0
0
0
0
0
1
0.267606
false
0
0.042254
0.225352
0.56338
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1839ffd1101b5584269c5f29639d17cc7d6a6e7c
194
py
Python
Preprocessing/preprocessing.py
nadineazhalia/CSH4H3-TEXT-MINING
77b2ffb862314d664f575757a40038cc69f86c60
[ "Apache-2.0" ]
null
null
null
Preprocessing/preprocessing.py
nadineazhalia/CSH4H3-TEXT-MINING
77b2ffb862314d664f575757a40038cc69f86c60
[ "Apache-2.0" ]
null
null
null
Preprocessing/preprocessing.py
nadineazhalia/CSH4H3-TEXT-MINING
77b2ffb862314d664f575757a40038cc69f86c60
[ "Apache-2.0" ]
null
null
null
file_berita = open("berita.txt", "r") berita = file_berita.read() berita = berita.split() berita = [x.lower() for x in berita] berita = list(set(berita)) berita = sorted(berita) print (berita)
21.555556
37
0.695876
29
194
4.586207
0.517241
0.270677
0
0
0
0
0
0
0
0
0
0
0.134021
194
9
38
21.555556
0.791667
0
0
0
0
0
0.05641
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
183d4dac8cfc4c8ac345fb08043e4248c6a0257b
467
py
Python
tests/integration/test_entry_point.py
jacksmith15/delfino
38972e0e0e610c2694462306250a51537a04b1e9
[ "MIT" ]
null
null
null
tests/integration/test_entry_point.py
jacksmith15/delfino
38972e0e0e610c2694462306250a51537a04b1e9
[ "MIT" ]
null
null
null
tests/integration/test_entry_point.py
jacksmith15/delfino
38972e0e0e610c2694462306250a51537a04b1e9
[ "MIT" ]
null
null
null
import toml from delfino.constants import ENTRY_POINT, PYPROJECT_TOML_FILENAME from delfino.models.pyproject_toml import PyprojectToml from tests.constants import PROJECT_ROOT class TestEntrypointConstant: @staticmethod def should_match_entrypoint_in_pyproject_toml(): file_path = PROJECT_ROOT / PYPRO...
33.357143
66
0.807281
57
467
6.298246
0.508772
0.21727
0.116992
0
0
0
0
0
0
0
0
0
0.143469
467
13
67
35.923077
0.8975
0
0
0
0
0
0
0
0
0
0
0
0.1
1
0.1
false
0
0.4
0
0.6
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
184a025720245d69fec4505befed933cb56ea1a7
178
py
Python
exercicio13.py
LuizHps18/infosatc-lp-avaliativo-01
0b891d74a98705182175a53e023b6cbbe8cc880a
[ "MIT" ]
null
null
null
exercicio13.py
LuizHps18/infosatc-lp-avaliativo-01
0b891d74a98705182175a53e023b6cbbe8cc880a
[ "MIT" ]
null
null
null
exercicio13.py
LuizHps18/infosatc-lp-avaliativo-01
0b891d74a98705182175a53e023b6cbbe8cc880a
[ "MIT" ]
null
null
null
k = float(input("Digite uma distância em quilometros: ")) m = k / 1.61 print("A distância digitada é de {} quilometros, essa distância convertida é {:.2f} milhas" .format(k,m))
35.6
105
0.696629
28
178
4.428571
0.75
0
0
0
0
0
0
0
0
0
0
0.026667
0.157303
178
5
105
35.6
0.8
0
0
0
0
0
0.670391
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
187614996f13120eae23f5d092c2a9efde0e80bf
76,079
py
Python
pyLMS7002Soapy/LMS7002_BIAS.py
Surfndez/pyLMS7002Soapy
ea230dcb12048007300477e1e2e4decc5414f954
[ "Apache-2.0" ]
46
2016-11-29T05:10:36.000Z
2021-10-31T19:27:46.000Z
pyLMS7002M/LMS7002_BIAS.py
myriadrf/pyLMS7002M
b866deea1f05dba44c9ed1a1a4666352b811b66b
[ "Apache-2.0" ]
2
2017-04-15T21:36:01.000Z
2017-06-08T09:44:26.000Z
pyLMS7002Soapy/LMS7002_BIAS.py
Surfndez/pyLMS7002Soapy
ea230dcb12048007300477e1e2e4decc5414f954
[ "Apache-2.0" ]
16
2016-11-28T20:47:55.000Z
2021-04-07T01:48:20.000Z
#*************************************************************** #* Name: LMS7002_BIAS.py #* Purpose: Class implementing LMS7002 BIAS functions #* Author: Lime Microsystems () #* Created: 2016-11-14 #* Copyright: Lime Microsystems (limemicro.com) #* License: #************************************************...
27.604862
148
0.557736
10,071
76,079
3.94221
0.017377
0.06045
0.075563
0.056672
0.843434
0.741147
0.643293
0.499723
0.400106
0.353307
0
0.037984
0.32486
76,079
2,755
149
27.614882
0.73497
0.17148
0
0.412173
0
0
0.200809
0.006762
0
0
0
0
0
1
0.231895
false
0
0.00077
0
0.349769
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
187b747a40ae7c538023582dc3ed2250cb3040ca
135
py
Python
mullvad_python/__init__.py
linusg/mullpy
6f29c33174e30ea2ba360327daae9bafe140c997
[ "MIT" ]
12
2018-08-02T20:05:54.000Z
2020-06-24T18:42:53.000Z
mullvad_python/__init__.py
linusg/mullpy
6f29c33174e30ea2ba360327daae9bafe140c997
[ "MIT" ]
3
2018-08-04T13:53:01.000Z
2020-06-24T19:03:42.000Z
mullvad_python/__init__.py
linusg/mullpy
6f29c33174e30ea2ba360327daae9bafe140c997
[ "MIT" ]
2
2018-08-05T14:06:39.000Z
2020-06-24T18:45:47.000Z
"""Initialization package.""" from .api import Mullpy from .banner import banner __all__ = ['Mullpy', 'banner'] __version__ = '0.3.1'
19.285714
30
0.703704
17
135
5.117647
0.705882
0
0
0
0
0
0
0
0
0
0
0.025641
0.133333
135
6
31
22.5
0.717949
0.17037
0
0
0
0
0.160377
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
43f6879757f40989d16e1db4126c95e8352e1759
492
py
Python
src/seedwork/domain/rules.py
pgorecki/python-ddd
0073ccce35c651be263f5d7d3d63f9a49bc0b78a
[ "MIT" ]
10
2022-03-16T19:26:51.000Z
2022-03-31T23:50:51.000Z
src/seedwork/domain/rules.py
pgorecki/python-ddd
0073ccce35c651be263f5d7d3d63f9a49bc0b78a
[ "MIT" ]
null
null
null
src/seedwork/domain/rules.py
pgorecki/python-ddd
0073ccce35c651be263f5d7d3d63f9a49bc0b78a
[ "MIT" ]
2
2022-03-16T19:26:54.000Z
2022-03-27T13:21:02.000Z
from pydantic import BaseModel class BusinessRule(BaseModel): """This is a base class for implementing domain rules""" class Config: arbitrary_types_allowed = True # This is an error message that broken rule reports back __message: str = "Business rule is broken" def get_message(self) -...
23.428571
63
0.666667
62
492
4.903226
0.612903
0.039474
0
0
0
0
0
0
0
0
0
0
0.245935
492
20
64
24.6
0.819407
0.215447
0
0
0
0
0.178947
0.065789
0
0
0
0
0
1
0.272727
false
0.090909
0.090909
0.181818
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
a10e3d1311566cfbb4eeacef8a5558e6389ab6c2
147
py
Python
rest_framework_bulk/__init__.py
xordoquy/django-rest-framework-bulk
484df717a790591a7bc58d5fed34f958ae82929a
[ "MIT" ]
1
2019-08-20T02:08:33.000Z
2019-08-20T02:08:33.000Z
rest_framework_bulk/__init__.py
xordoquy/django-rest-framework-bulk
484df717a790591a7bc58d5fed34f958ae82929a
[ "MIT" ]
null
null
null
rest_framework_bulk/__init__.py
xordoquy/django-rest-framework-bulk
484df717a790591a7bc58d5fed34f958ae82929a
[ "MIT" ]
null
null
null
__version__ = '0.1.3' __author__ = 'Miroslav Shubernetskiy' try: from .generics import * from .mixins import * except Exception: pass
16.333333
37
0.687075
17
147
5.470588
0.882353
0
0
0
0
0
0
0
0
0
0
0.026087
0.217687
147
8
38
18.375
0.782609
0
0
0
0
0
0.183673
0
0
0
0
0
0
1
0
false
0.142857
0.285714
0
0.285714
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
1
0
0
0
0
0
3
a114b71d6021e2552fc945ad4a1ac94774faab77
189
py
Python
test.py
j178/spotlight
1e65ff35826fee9a9d522b502cd781e86fbed01f
[ "WTFPL" ]
5
2016-12-06T04:03:16.000Z
2020-09-24T14:08:49.000Z
test.py
j178/spotlight
1e65ff35826fee9a9d522b502cd781e86fbed01f
[ "WTFPL" ]
1
2020-05-04T02:19:09.000Z
2020-06-10T08:44:11.000Z
test.py
j178/spotlight
1e65ff35826fee9a9d522b502cd781e86fbed01f
[ "WTFPL" ]
null
null
null
from weibo import WeiboClient from weibo.watchyou import fetch_replies for r in fetch_replies(): # fetch_replies所依赖的weibo全局变量是在watchyou模块中存在的, 函数无法访问到这个模块中的全局变量 print(r['text'])
31.5
91
0.793651
21
189
7
0.666667
0.122449
0
0
0
0
0
0
0
0
0
0
0.142857
189
5
92
37.8
0.907407
0.322751
0
0
0
0
0.033058
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
3
a11c3d72105134f3cd78ad0e461a7ff2f92aa01d
4,713
py
Python
Tests/testGalaxy.py
elsiehupp/traveller_pyroute
32a43665910894896b807576125acee56ef02797
[ "MIT" ]
12
2017-02-09T08:58:16.000Z
2021-09-04T22:12:57.000Z
Tests/testGalaxy.py
elsiehupp/traveller_pyroute
32a43665910894896b807576125acee56ef02797
[ "MIT" ]
23
2017-07-14T05:04:30.000Z
2022-03-27T02:20:06.000Z
Tests/testGalaxy.py
elsiehupp/traveller_pyroute
32a43665910894896b807576125acee56ef02797
[ "MIT" ]
4
2016-12-31T06:23:47.000Z
2022-03-03T19:36:43.000Z
""" Created on Nov 30, 2021 @author: CyberiaResurrection """ import unittest import re import sys sys.path.append('../PyRoute') from Galaxy import Galaxy from Galaxy import Sector class testGalaxy(unittest.TestCase): """ A very simple, barebones test to check that Verge and Reft end up in their correct r...
46.205882
136
0.70401
577
4,713
5.743501
0.131716
0.15691
0.185878
0.245021
0.678636
0.641521
0.585999
0.278817
0.117683
0.088715
0
0.006275
0.188415
4,713
101
137
46.663366
0.860131
0.124973
0
0.065574
0
0
0.160961
0
0
0
0
0
0.655738
1
0.032787
false
0
0.081967
0
0.131148
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
1
0
0
0
0
0
0
0
0
0
3
a11c870ae3ef5f8dd838f6f8d4edc0a12f86fa5e
188
py
Python
py_boot/test.py
davidcawork/Investigacion
ed25678cbab26e30370e9e2d07b84029bbad4d0b
[ "Apache-2.0" ]
null
null
null
py_boot/test.py
davidcawork/Investigacion
ed25678cbab26e30370e9e2d07b84029bbad4d0b
[ "Apache-2.0" ]
null
null
null
py_boot/test.py
davidcawork/Investigacion
ed25678cbab26e30370e9e2d07b84029bbad4d0b
[ "Apache-2.0" ]
null
null
null
from selenium import webdriver from selenium.webdriver.common.keys import Keys import time driver = webdriver.Firefox() driver.get('https://www.google.com') time.sleep(60) driver.close()
20.888889
47
0.787234
27
188
5.481481
0.62963
0.162162
0
0
0
0
0
0
0
0
0
0.011696
0.090426
188
8
48
23.5
0.853801
0
0
0
0
0
0.117021
0
0
0
0
0
0
1
0
false
0
0.428571
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
1
0
0
0
0
3
a12cb244767dfa01e9b581f3a545006ea34d4ac7
1,568
py
Python
string_1/hello_name.py
nhutnamhcmus/coding-bat-solutions
5f780a4027a6c3523a72961db1bad547c997fdc6
[ "MIT" ]
1
2020-09-19T18:02:13.000Z
2020-09-19T18:02:13.000Z
string_1/hello_name.py
nhutnamhcmus/coding-bat-solutions
5f780a4027a6c3523a72961db1bad547c997fdc6
[ "MIT" ]
null
null
null
string_1/hello_name.py
nhutnamhcmus/coding-bat-solutions
5f780a4027a6c3523a72961db1bad547c997fdc6
[ "MIT" ]
null
null
null
# ======================================================================================================================================= # VNU-HCM, University of Science # Department Computer Science, Faculty of Information Technology # Authors: Nhut-Nam Le (Tich Phan Suy Rong) # © 2020 """ Given a string name, e.g. ...
27.508772
137
0.598852
201
1,568
4.482587
0.323383
0.149834
0.122087
0.266371
0.310766
0
0
0
0
0
0
0.018576
0.17602
1,568
56
138
28
0.675697
0.305485
0
0
0
0
0.168059
0
0
0
0
0
0.384615
1
0.423077
false
0
0.038462
0.038462
0.538462
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
a12f2dc13e43b20caf3450c97b9fa9395b547d8a
335
py
Python
materials/ch_04/escape_str.py
epsilonxe/RMUTT_09090016
863dd8a6471b560831b742da4aec27209c294df5
[ "MIT" ]
null
null
null
materials/ch_04/escape_str.py
epsilonxe/RMUTT_09090016
863dd8a6471b560831b742da4aec27209c294df5
[ "MIT" ]
null
null
null
materials/ch_04/escape_str.py
epsilonxe/RMUTT_09090016
863dd8a6471b560831b742da4aec27209c294df5
[ "MIT" ]
null
null
null
text1 = '''ABCDEF GHIJKL MNOPQRS TUVWXYZ ''' text2 = 'ABCDEF\ GHIJKL\ MNOPQRS\ TUVWXYZ' text3 = 'ABCD\'EF\'GHIJKL' text4 = 'ABCDEF\nGHIJKL\nMNOPQRS\nTUVWXYZ' text5 = 'ABCDEF\fGHIJKL\fMNOPQRS\fTUVWXYZ' print(text1) print('-' * 25) print(text2) print('-' * 25) print(text3) print('-' * 25) print(text4) print('-' * 2...
12.884615
42
0.671642
42
335
5.357143
0.452381
0.124444
0.213333
0.231111
0
0
0
0
0
0
0
0.061856
0.131343
335
26
43
12.884615
0.71134
0
0
0.190476
0
0
0.324405
0.190476
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
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
1
0
3
a13d78de55aa35e5195b6d00dd9af4b319aa1688
5,290
py
Python
misc/src/scheduler_plugin.py
hivesolutions/colony_plugins
cfd8fb2ac58037e01002966704b8a642feb37895
[ "Apache-1.1" ]
1
2016-10-30T09:51:06.000Z
2016-10-30T09:51:06.000Z
misc/src/scheduler_plugin.py
hivesolutions/colony_plugins
cfd8fb2ac58037e01002966704b8a642feb37895
[ "Apache-1.1" ]
1
2015-12-29T18:51:07.000Z
2015-12-29T18:51:07.000Z
misc/src/scheduler_plugin.py
hivesolutions/colony_plugins
cfd8fb2ac58037e01002966704b8a642feb37895
[ "Apache-1.1" ]
1
2018-01-26T12:54:13.000Z
2018-01-26T12:54:13.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # Hive Colony Framework # Copyright (c) 2008-2020 Hive Solutions Lda. # # This file is part of Hive Colony Framework. # # Hive Colony Framework is free software: you can redistribute it and/or modify # it under the terms of the Apache License as published by the Apach...
35.986395
112
0.709074
655
5,290
5.451908
0.236641
0.053766
0.040325
0.053766
0.464576
0.354803
0.210585
0.178101
0.056567
0.031924
0
0.006427
0.20586
5,290
146
113
36.232877
0.843609
0.17259
0
0.0375
0
0
0.109697
0.05294
0
0
0
0
0
1
0.25
false
0
0.025
0.1375
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a17f65f1db1e9d6fc0255b219c8e7f7acd085081
287
py
Python
simple_functions/__init__.py
JihaoXin/ci_acse1
6ba30368cc2000bb13aab0dc213837d530753612
[ "MIT" ]
null
null
null
simple_functions/__init__.py
JihaoXin/ci_acse1
6ba30368cc2000bb13aab0dc213837d530753612
[ "MIT" ]
null
null
null
simple_functions/__init__.py
JihaoXin/ci_acse1
6ba30368cc2000bb13aab0dc213837d530753612
[ "MIT" ]
null
null
null
from .functions1 import my_sum, factorial from .constants import pi from .print import myprint from pkg_resources import get_distribution, DistributionNotFound try: __version__ = get_distribution(__name__).version except DistributionNotFound: # package is not installed pass
28.7
64
0.811847
34
287
6.5
0.705882
0.135747
0
0
0
0
0
0
0
0
0
0.004082
0.146341
287
9
65
31.888889
0.897959
0.083624
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.125
0.5
0
0.5
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
a1b3738a830ad504560b84aa6870219df1d05595
182
py
Python
tudo/ex052.py
Ramon-Erik/Exercicios-Python
158a7f1846dd3d486aa0517fa337d46d73aab649
[ "MIT" ]
1
2021-07-08T00:35:57.000Z
2021-07-08T00:35:57.000Z
tudo/ex052.py
Ramon-Erik/Exercicios-Python
158a7f1846dd3d486aa0517fa337d46d73aab649
[ "MIT" ]
null
null
null
tudo/ex052.py
Ramon-Erik/Exercicios-Python
158a7f1846dd3d486aa0517fa337d46d73aab649
[ "MIT" ]
null
null
null
n = int(input('Digite um número: ')) if n % 2 == 0 and n % 3 == 0 and n % 5 == 0: print('{} é um número primo!'.format(n)) else: print('{} não é um número primo!'.format(n))
30.333333
48
0.543956
34
182
2.911765
0.529412
0.242424
0.10101
0.282828
0.424242
0.424242
0
0
0
0
0
0.043478
0.241758
182
5
49
36.4
0.673913
0
0
0
0
0
0.351648
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a1b607b0cbf4748eb3756401b6e1bc4bdb961ebc
115
py
Python
ex016.py
Rhodytesla/PythonMundo01
bac3e1a7ca3934c712423bfc606d16a4ea9af53a
[ "MIT" ]
null
null
null
ex016.py
Rhodytesla/PythonMundo01
bac3e1a7ca3934c712423bfc606d16a4ea9af53a
[ "MIT" ]
null
null
null
ex016.py
Rhodytesla/PythonMundo01
bac3e1a7ca3934c712423bfc606d16a4ea9af53a
[ "MIT" ]
null
null
null
import math a = float(input('insira um valor')) print('a porção inteira do valor {} é {}'.format(a,math.trunc(a)))
28.75
66
0.678261
20
115
3.9
0.75
0
0
0
0
0
0
0
0
0
0
0
0.130435
115
4
66
28.75
0.78
0
0
0
0
0
0.413793
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a1bbcc80b20916c2b274dcf7f69fc4ce858c7f88
735
py
Python
secondstate/converters.py
fruiti-ltd/secondstate
81fe6916b92c7024372a95f0eb9d50f6275dfc69
[ "BSD-3-Clause" ]
1
2021-05-28T23:02:08.000Z
2021-05-28T23:02:08.000Z
secondstate/converters.py
fruiti-ltd/secondstate
81fe6916b92c7024372a95f0eb9d50f6275dfc69
[ "BSD-3-Clause" ]
null
null
null
secondstate/converters.py
fruiti-ltd/secondstate
81fe6916b92c7024372a95f0eb9d50f6275dfc69
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2021, Fruiti Limited # All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. from datetime import datetime def convert_custom_timestamp_range(timestamp_range: str) -> list: result = timestamp_range.s...
29.4
71
0.771429
101
735
5.376238
0.455446
0.121547
0.099448
0.116022
0.18232
0.128913
0
0
0
0
0
0.012638
0.138776
735
24
72
30.625
0.845182
0.246259
0
0
0
0
0.001821
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
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
1
0
0
0
1
1
0
0
3
a1c01c9ff8dac8f635383495ea6d6042923c0487
2,849
py
Python
mini projects/school_manager.py
Tryst480/python-tutorial
056803f185b9cf31235fdfc221a3a490c353cd70
[ "MIT" ]
null
null
null
mini projects/school_manager.py
Tryst480/python-tutorial
056803f185b9cf31235fdfc221a3a490c353cd70
[ "MIT" ]
null
null
null
mini projects/school_manager.py
Tryst480/python-tutorial
056803f185b9cf31235fdfc221a3a490c353cd70
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # This is gonna be up to you. But basically I envisioned a system where you have a students in a classroom. Where the # classroom only has information, like who is the teacher, how many students are there. And it's like an online class, # so students don't know who their peers are, or who their ...
36.525641
119
0.67708
413
2,849
4.610169
0.382567
0.016807
0.017332
0.015756
0
0
0
0
0
0
0
0.014211
0.259038
2,849
77
120
37
0.887731
0.568972
0
0.25
0
0
0.028926
0
0
0
0
0.012987
0
1
0.3
false
0.15
0
0.075
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
b811e4d73c683e7404a77a68edf057c683bf41a7
1,872
py
Python
tools/stimgen/gen_recall.py
herenvarno/gsbn
47ed0932b605d8b3cf9661f9308908364ad5892e
[ "MIT" ]
2
2016-08-12T15:06:02.000Z
2021-10-05T08:12:17.000Z
tools/stimgen/gen_recall.py
herenvarno/gsbn
47ed0932b605d8b3cf9661f9308908364ad5892e
[ "MIT" ]
2
2017-04-23T17:22:23.000Z
2017-05-25T14:22:51.000Z
tools/stimgen/gen_recall.py
herenvarno/gsbn
47ed0932b605d8b3cf9661f9308908364ad5892e
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import sys import re import math import random import matplotlib.pyplot as plt import numpy as np from google.protobuf import text_format sys.path.append(os.path.dirname(os.path.realpath(__file__))+"/../../build") import gsbn_pb2 if len(sys.argv) < 1: print("Arguments wrong! Please r...
25.643836
115
0.744658
318
1,872
4.323899
0.242138
0.654545
0.785455
0.814545
0.586909
0.573818
0.573818
0.573818
0.573818
0.552
0
0.113596
0.092415
1,872
72
116
26
0.695703
0.010684
0
0.258621
0
0
0.045921
0
0
0
0.296596
0
0
1
0
false
0
0.155172
0
0.155172
0.034483
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b81ecc580a437a3d551ab5dfa4a59c26d6b5e052
367
py
Python
tests/routes/test_pages.py
Biosystems-Analytics-Lab/shellcast
8d578bfa3d66d75502f1a133fe6263d376694247
[ "CC-BY-4.0" ]
5
2021-03-24T19:19:48.000Z
2022-01-11T09:27:13.000Z
tests/routes/test_pages.py
Biosystems-Analytics-Lab/shellcast
8d578bfa3d66d75502f1a133fe6263d376694247
[ "CC-BY-4.0" ]
1
2022-01-13T15:11:09.000Z
2022-01-13T21:16:10.000Z
tests/routes/test_pages.py
Biosystems-Analytics-Lab/shellcast
8d578bfa3d66d75502f1a133fe6263d376694247
[ "CC-BY-4.0" ]
null
null
null
import pytest def test_index(client): res = client.get('/') assert res.status_code == 200 def test_about(client): res = client.get('/about') assert res.status_code == 200 def test_preferences(client): res = client.get('/preferences') assert res.status_code == 200 def test_signin(client): res = client....
20.388889
34
0.700272
53
367
4.698113
0.283019
0.11245
0.240964
0.289157
0.437751
0.349398
0.349398
0
0
0
0
0.038835
0.158038
367
17
35
21.588235
0.76699
0
0
0.307692
0
0
0.070845
0
0
0
0
0
0.307692
1
0.307692
false
0
0.076923
0
0.384615
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
b81fcb30f8bd89568af442548e95ceeba2331cfd
412
py
Python
Task -01/loop.py
kanzul12/cp19_voice_detector
db5478b118bab46897b4230d366e11b9ad65e0ce
[ "MIT" ]
2
2019-04-19T08:26:09.000Z
2019-04-30T12:52:58.000Z
Task -01/loop.py
kanzul12/cp19_voice_detector
db5478b118bab46897b4230d366e11b9ad65e0ce
[ "MIT" ]
5
2019-05-03T07:47:35.000Z
2019-05-13T08:37:11.000Z
Task -01/loop.py
kanzul12/cp19_voice_detector
db5478b118bab46897b4230d366e11b9ad65e0ce
[ "MIT" ]
null
null
null
num= int (input("enter number of rows=")) for i in range (1,num+1): for j in range(1,num-i+1): print (" ",end="") for j in range(2 and 9): print("2","9") for i in range(1, 6): for j in range(1, 10): if i==5 or i+j==5 or j-i==4: print("*", end...
16.48
44
0.383495
63
412
2.507937
0.396825
0.221519
0.202532
0.208861
0.303797
0
0
0
0
0
0
0.069869
0.444175
412
24
45
17.166667
0.620087
0
0
0
0
0
0.064677
0
0
0
0
0
0
1
0
false
0
0
0
0
0.384615
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
629facc04419dcfc8b14e0e646d18577710d3fd8
134
py
Python
Python/School/C7/q2.py
abdalrhmanyasser/Abdalrhman_Rep
e0fc3caa2cc04e92f591ccd7934586986d194000
[ "CC0-1.0" ]
null
null
null
Python/School/C7/q2.py
abdalrhmanyasser/Abdalrhman_Rep
e0fc3caa2cc04e92f591ccd7934586986d194000
[ "CC0-1.0" ]
null
null
null
Python/School/C7/q2.py
abdalrhmanyasser/Abdalrhman_Rep
e0fc3caa2cc04e92f591ccd7934586986d194000
[ "CC0-1.0" ]
null
null
null
from random import * l = [] for i in range(50): l.append(randint(1, 100)) print(l) for i in range(len(l)): l[i] **= 2 print(l)
16.75
29
0.58209
27
134
2.888889
0.592593
0.102564
0.128205
0.179487
0.307692
0
0
0
0
0
0
0.066667
0.216418
134
8
30
16.75
0.67619
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.25
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
62ae8dd259b43e9f8c27ede31598aad711abeea2
234
py
Python
patches/reduceRNG.py
muffinjets/LADXR
bbd82a5b7bac015561bb6a4cfe1c5fa017f827f5
[ "MIT" ]
13
2020-09-13T16:50:28.000Z
2022-03-22T20:49:54.000Z
patches/reduceRNG.py
muffinjets/LADXR
bbd82a5b7bac015561bb6a4cfe1c5fa017f827f5
[ "MIT" ]
10
2020-06-27T12:34:38.000Z
2022-01-03T12:15:42.000Z
patches/reduceRNG.py
muffinjets/LADXR
bbd82a5b7bac015561bb6a4cfe1c5fa017f827f5
[ "MIT" ]
18
2020-05-29T17:48:04.000Z
2022-02-08T03:36:08.000Z
from assembler import ASM def slowdownThreeOfAKind(rom): rom.patch(0x06, 0x096B, ASM("ldh a, [$E7]\nand $0F"), ASM("ldh a, [$E7]\nand $3F")) def fixHorseHeads(rom): rom.patch(0x07, 0x3653, "00010400", "00010000")
23.4
88
0.636752
32
234
4.65625
0.65625
0.080537
0.147651
0.120805
0.174497
0
0
0
0
0
0
0.183246
0.183761
234
9
89
26
0.596859
0
0
0
0
0
0.257778
0
0
0
0.088889
0
0
1
0.4
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
62ca4cc5761e9a0a5eb64bd672778ab82de9c1ca
1,676
py
Python
wmata/rail/station.py
emma-k-alexandra/pywmata
b11e851f864defc0bda84f012dbe2a2c31c202d1
[ "MIT" ]
5
2019-12-28T20:18:22.000Z
2021-09-12T17:28:00.000Z
wmata/rail/station.py
emma-k-alexandra/pywmata
b11e851f864defc0bda84f012dbe2a2c31c202d1
[ "MIT" ]
null
null
null
wmata/rail/station.py
emma-k-alexandra/pywmata
b11e851f864defc0bda84f012dbe2a2c31c202d1
[ "MIT" ]
1
2021-06-28T16:08:08.000Z
2021-06-28T16:08:08.000Z
"""MetroRail Station related structures """ from enum import Enum from typing import Any, Optional class Station(Enum): """A MetroRail Station """ A01 = "A01" A02 = "A02" A03 = "A03" A04 = "A04" A05 = "A05" A06 = "A06" A07 = "A07" A08 = "A08" A09 = "A09" A10 = "A10" ...
16.115385
39
0.406325
209
1,676
3.258373
0.511962
0.04699
0
0
0
0
0
0
0
0
0
0.386965
0.414081
1,676
103
40
16.271845
0.306517
0.036396
0
0
0
0
0.177792
0
0
0
0
0
0
1
0
false
0
0.020408
0
1
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
1
0
0
3
62e0a00977882b69ee47910edb8fb49b209ff9a7
1,251
py
Python
applications/admin/models/menu.py
forca-inf/forca
99b63c63a7aaebd6f11cb4f73ec54de54ce25986
[ "BSD-3-Clause" ]
6
2018-01-25T01:07:55.000Z
2019-04-26T23:58:29.000Z
applications/admin/models/menu.py
forca-inf/forca
99b63c63a7aaebd6f11cb4f73ec54de54ce25986
[ "BSD-3-Clause" ]
null
null
null
applications/admin/models/menu.py
forca-inf/forca
99b63c63a7aaebd6f11cb4f73ec54de54ce25986
[ "BSD-3-Clause" ]
2
2018-02-03T02:55:56.000Z
2018-02-06T19:55:10.000Z
# ########################################################### # ## generate menu # ########################################################### _a = request.application _c = request.controller _f = request.function response.title = '%s %s' % (_f, '/'.join(request.args)) response.subtitle = 'admin' response.menu = [(T('...
37.909091
75
0.490807
134
1,251
4.402985
0.313433
0.162712
0.183051
0.19322
0.122034
0.122034
0
0
0
0
0
0.001027
0.221423
1,251
32
76
39.09375
0.604723
0.010392
0
0
1
0
0.188288
0
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
62f07ff59fb064975f519a1d53028c1dfda5c299
4,582
py
Python
typed_python/compiler/type_wrappers/ref_to_wrapper.py
APrioriInvestments/typed_python
a3191e5d30333eba156c2a910abc78f7813dcaa3
[ "Apache-2.0" ]
105
2019-12-02T01:44:46.000Z
2022-03-28T20:27:38.000Z
typed_python/compiler/type_wrappers/ref_to_wrapper.py
APrioriInvestments/typed_python
a3191e5d30333eba156c2a910abc78f7813dcaa3
[ "Apache-2.0" ]
173
2019-10-08T19:37:06.000Z
2022-01-24T18:43:42.000Z
typed_python/compiler/type_wrappers/ref_to_wrapper.py
APrioriInvestments/typed_python
a3191e5d30333eba156c2a910abc78f7813dcaa3
[ "Apache-2.0" ]
1
2020-01-23T00:06:42.000Z
2020-01-23T00:06:42.000Z
# Copyright 2017-2019 typed_python Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
34.451128
114
0.712134
573
4,582
5.502618
0.275742
0.063432
0.042816
0.043768
0.253727
0.155725
0.155725
0.122423
0.097685
0.097685
0
0.00462
0.196857
4,582
132
115
34.712121
0.852174
0.126582
0
0.192771
0
0
0
0
0
0
0
0
0.024096
1
0.325301
false
0.036145
0.060241
0.168675
0.674699
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1a021e021146cbc33766d3c7997455d63709bb09
167
py
Python
python/testData/inspections/PyUnresolvedReferencesInspection3K/asyncInitMethod.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/inspections/PyUnresolvedReferencesInspection3K/asyncInitMethod.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/inspections/PyUnresolvedReferencesInspection3K/asyncInitMethod.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
class A: <error descr="function \"__init__\" cannot be async">async</error> def __init__(self): self.foo = '2' self.bar = '3' a = A() print(a.foo)
23.857143
90
0.580838
25
167
3.56
0.64
0
0
0
0
0
0
0
0
0
0
0.015748
0.239521
167
7
91
23.857143
0.685039
0
0
0
0
0
0.166667
0
0
0
0
0
0
0
null
null
0
0
null
null
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
1a183c6499418e4965e990ea2623cf57e6ec50c1
340
py
Python
turtle/snowflake.py
yunzhang599/Python3_Package_Examples
3e479925f3f6818bf35e46123f720839acf075eb
[ "MIT" ]
1
2019-11-16T05:06:01.000Z
2019-11-16T05:06:01.000Z
turtle/snowflake.py
yunzhang599/Python3_Package_Examples
3e479925f3f6818bf35e46123f720839acf075eb
[ "MIT" ]
null
null
null
turtle/snowflake.py
yunzhang599/Python3_Package_Examples
3e479925f3f6818bf35e46123f720839acf075eb
[ "MIT" ]
null
null
null
from turtle import forward, left, right, width, color, clearscreen clearscreen() color("lightblue") width(3) for i in range(6): forward(50) left(60) forward(25) left(180) forward(25) left(60) forward(25) left(180) forward(25) right(120) forward(25) left(180) forwar...
14.782609
66
0.608824
47
340
4.404255
0.468085
0.217391
0.251208
0.231884
0.410628
0.299517
0.299517
0.299517
0
0
0
0.139442
0.261765
340
22
67
15.454545
0.685259
0
0
0.526316
0
0
0.026549
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1a20018810aca71e231531dd6b4c27f07d98ddd0
289
py
Python
gadget/reboot.py
vaginessa/RaspberryPiZero_HID_MultiTool
c6227c7263cb1321a5655f938462392eb014a352
[ "Apache-2.0" ]
54
2017-01-06T21:43:40.000Z
2022-02-14T02:57:57.000Z
gadget/reboot.py
vaginessa/RaspberryPiZero_HID_MultiTool
c6227c7263cb1321a5655f938462392eb014a352
[ "Apache-2.0" ]
null
null
null
gadget/reboot.py
vaginessa/RaspberryPiZero_HID_MultiTool
c6227c7263cb1321a5655f938462392eb014a352
[ "Apache-2.0" ]
13
2017-01-31T23:35:21.000Z
2021-12-22T12:48:59.000Z
#!/usr/bin/python import RPi.GPIO as GPIO import os gpio_pin_number=21 GPIO.setmode(GPIO.BCM) GPIO.setup(gpio_pin_number, GPIO.IN, pull_up_down=GPIO.PUD_UP) try: GPIO.wait_for_edge(gpio_pin_number, GPIO.FALLING) os.system("sudo shutdown -h now") except: pass GPIO.cleanup()
18.0625
62
0.750865
51
289
4.039216
0.627451
0.101942
0.18932
0.165049
0
0
0
0
0
0
0
0.007937
0.128028
289
15
63
19.266667
0.809524
0.055363
0
0
0
0
0.073801
0
0
0
0
0
0
1
0
false
0.090909
0.181818
0
0.181818
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
1
0
0
0
0
0
3
1a257d44848898125832b45b07d58d12e6e91f60
1,266
py
Python
modelzoo/migrations/0024_auto_20201014_1425.py
SuperElastix/ElastixModelZooWebsite
00d7b4aec8eb04c285d3771d53310079a3443fab
[ "Apache-2.0" ]
1
2021-11-15T07:30:24.000Z
2021-11-15T07:30:24.000Z
modelzoo/migrations/0024_auto_20201014_1425.py
SuperElastix/ElastixModelZooWebsite
00d7b4aec8eb04c285d3771d53310079a3443fab
[ "Apache-2.0" ]
null
null
null
modelzoo/migrations/0024_auto_20201014_1425.py
SuperElastix/ElastixModelZooWebsite
00d7b4aec8eb04c285d3771d53310079a3443fab
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.3 on 2020-10-14 12:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('modelzoo', '0023_model_con_mod_dims'), ] operations = [ migrations.RemoveField( model_name='model', name='author_ema...
26.93617
180
0.518167
112
1,266
5.705357
0.473214
0.225352
0.175274
0.225352
0.446009
0.446009
0.140845
0
0
0
0
0.02515
0.340442
1,266
46
181
27.521739
0.74012
0.035545
0
0.575
1
0
0.164889
0.018868
0
0
0
0
0
1
0
false
0
0.025
0
0.1
0
0
0
0
null
1
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
3
1a2b8e3fe78c16eea9e7fc19485f21ac4d60d622
22
py
Python
middleman/api/application/__init__.py
scooterman/middleman
c765c9157cce02574e7191608dacd573156e333b
[ "Xnet", "X11" ]
5
2020-03-19T07:19:49.000Z
2021-09-29T06:33:47.000Z
trends/__init__.py
victorkifer/SocialMediaTopTrends
32098f1621059700d9ca6437a988956ebe1d319a
[ "MIT" ]
22
2015-09-20T14:00:16.000Z
2021-06-10T20:08:25.000Z
trends/__init__.py
victorkifer/SocialMediaTopTrends
32098f1621059700d9ca6437a988956ebe1d319a
[ "MIT" ]
6
2015-12-14T21:05:01.000Z
2019-11-02T19:35:24.000Z
__author__ = 'victor'
11
21
0.727273
2
22
6
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a7f28bd0d14c90ec88699bf98d0a9fe7b8320366
583
py
Python
tests/test_decisions.py/test_binary_decision.py
evanofslack/pyminion
0d0bfc6d8e84e9f33e617c7d01b6edb649166290
[ "MIT" ]
5
2021-12-17T20:34:55.000Z
2022-01-24T15:18:05.000Z
tests/test_decisions.py/test_binary_decision.py
evanofslack/pyminion
0d0bfc6d8e84e9f33e617c7d01b6edb649166290
[ "MIT" ]
31
2021-10-29T21:05:00.000Z
2022-03-22T03:27:14.000Z
tests/test_decisions.py/test_binary_decision.py
evanofslack/pyminion
0d0bfc6d8e84e9f33e617c7d01b6edb649166290
[ "MIT" ]
1
2021-12-23T18:32:47.000Z
2021-12-23T18:32:47.000Z
from pyminion.decisions import binary_decision def test_yes_input(monkeypatch): monkeypatch.setattr("builtins.input", lambda _: "y") assert binary_decision(prompt="test") is True def test_no_input(monkeypatch): monkeypatch.setattr("builtins.input", lambda _: "n") assert binary_decision(prompt="test"...
27.761905
56
0.749571
67
583
6.328358
0.41791
0.132075
0.183962
0.21934
0.488208
0.400943
0.25
0
0
0
0
0
0.147513
583
20
57
29.15
0.853119
0
0
0
0
0
0.096055
0
0
0
0
0
0.153846
1
0.230769
false
0
0.230769
0
0.461538
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
a7fd2734a072f2bcad84ee84ad66f361e1da1371
865
py
Python
products/migrations/0004_auto_20210715_2006.py
keeks-mtl/go-tennis
af3f325a9cfb2faba4d935824492f4aea6d10309
[ "W3C", "PostgreSQL" ]
null
null
null
products/migrations/0004_auto_20210715_2006.py
keeks-mtl/go-tennis
af3f325a9cfb2faba4d935824492f4aea6d10309
[ "W3C", "PostgreSQL" ]
null
null
null
products/migrations/0004_auto_20210715_2006.py
keeks-mtl/go-tennis
af3f325a9cfb2faba4d935824492f4aea6d10309
[ "W3C", "PostgreSQL" ]
null
null
null
# Generated by Django 3.2.3 on 2021-07-15 20:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0003_auto_20210709_0117'), ] operations = [ migrations.AlterField( model_name='category', name='friendly...
25.441176
62
0.557225
84
865
5.595238
0.47619
0.170213
0.212766
0.246809
0.578723
0.578723
0.308511
0
0
0
0
0.068729
0.327168
865
33
63
26.212121
0.738832
0.052023
0
0.592593
1
0
0.103912
0.028117
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c51c826bcad9a887b4123c7790037f70e652cfae
1,250
py
Python
fix_ccJSON.py
boada/wmh
f2abe5ff2aeeae6eebab2e8c40803b3fcec9ac3a
[ "MIT" ]
null
null
null
fix_ccJSON.py
boada/wmh
f2abe5ff2aeeae6eebab2e8c40803b3fcec9ac3a
[ "MIT" ]
null
null
null
fix_ccJSON.py
boada/wmh
f2abe5ff2aeeae6eebab2e8c40803b3fcec9ac3a
[ "MIT" ]
null
null
null
import pandas as pd import sys def fix(lists): df = pd.read_json(lists) df2 = pd.DataFrame([p for p1 in df.players for p in p1]) df2['theme1'] = '' df2['theme2'] = '' for i, l in df2.list2.iteritems(): try: df2.theme2.iloc[i] = l['theme'] except KeyError: c...
24.038462
60
0.508
151
1,250
4.139073
0.271523
0.032
0.04
0.056
0.7168
0.7168
0.7168
0.6672
0.6672
0.6672
0
0.042146
0.3736
1,250
51
61
24.509804
0.756066
0
0
0.666667
0
0
0.0488
0
0
0
0
0
0
1
0.022222
false
0
0.044444
0
0.066667
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c51e94a6e708f618911c4ecc6deceed3e193e44e
1,107
py
Python
internal/handlers/singapore.py
fillingthemoon/cartogram-web
58b645bca0c22b9bccdb2a5a8213a5a24a7e5958
[ "MIT" ]
null
null
null
internal/handlers/singapore.py
fillingthemoon/cartogram-web
58b645bca0c22b9bccdb2a5a8213a5a24a7e5958
[ "MIT" ]
null
null
null
internal/handlers/singapore.py
fillingthemoon/cartogram-web
58b645bca0c22b9bccdb2a5a8213a5a24a7e5958
[ "MIT" ]
null
null
null
import settings import handlers.base_handler import csv class CartogramHandler(handlers.base_handler.BaseCartogramHandler): def get_name(self): return "Singapore (by Region)" def get_gen_file(self): return "{}/singapore_map_processedmap.json".format(settings.CARTOGRAM_DATA_DIR) def v...
29.918919
292
0.641373
149
1,107
4.624161
0.409396
0.087083
0.065312
0
0
0
0
0
0
0
0
0.022248
0.228546
1,107
36
293
30.75
0.784543
0
0
0.16
0
0
0.261969
0.030714
0
0
0
0
0
1
0.24
false
0
0.12
0.2
0.72
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c53d72e1616e580f62f88e5fc1f0a262cb103728
94
py
Python
app/db_manager/apps.py
PragmaticCoder/Linkedin-Analytics
a990b5cae02f0d758bc3123bde643d13a439efa3
[ "MIT" ]
13
2018-07-31T15:37:47.000Z
2021-12-20T04:48:13.000Z
app/db_manager/apps.py
PragmaticCoder/Linkedin-Analytics
a990b5cae02f0d758bc3123bde643d13a439efa3
[ "MIT" ]
25
2019-12-10T20:03:48.000Z
2022-03-11T23:26:11.000Z
app/db_manager/apps.py
PragmaticCoder/Linkedin-Analytics
a990b5cae02f0d758bc3123bde643d13a439efa3
[ "MIT" ]
4
2020-03-24T20:13:50.000Z
2022-02-05T20:40:48.000Z
from django.apps import AppConfig class DbManagerConfig(AppConfig): name = 'db_manager'
15.666667
33
0.765957
11
94
6.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.159574
94
5
34
18.8
0.898734
0
0
0
0
0
0.106383
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c556608e317003e7eff23a5318cc565b380cac29
174
py
Python
TrainAndTest/Fbank/LSTMs/__init__.py
Wenhao-Yang/DeepSpeaker-pytorch
99eb8de3357c85e2b7576da2a742be2ffd773ead
[ "MIT" ]
8
2020-08-26T13:32:56.000Z
2022-01-18T21:05:46.000Z
TrainAndTest/Fbank/LSTMs/__init__.py
Wenhao-Yang/DeepSpeaker-pytorch
99eb8de3357c85e2b7576da2a742be2ffd773ead
[ "MIT" ]
1
2020-07-24T17:06:16.000Z
2020-07-24T17:06:16.000Z
TrainAndTest/Fbank/LSTMs/__init__.py
Wenhao-Yang/DeepSpeaker-pytorch
99eb8de3357c85e2b7576da2a742be2ffd773ead
[ "MIT" ]
5
2020-12-11T03:31:15.000Z
2021-11-23T15:57:55.000Z
#!/usr/bin/env python # encoding: utf-8 """ @Author: yangwenhao @Contact: 874681044@qq.com @Software: PyCharm @File: __init__.py.py @Time: 2020/3/27 10:43 AM @Overview: """
14.5
26
0.689655
27
174
4.296296
0.962963
0
0
0
0
0
0
0
0
0
0
0.137255
0.12069
174
11
27
15.818182
0.620915
0.925287
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c567553f0cf12169873a1f6859559b2967a6ea7a
275
py
Python
snake_debug.py
xlrobotics/PPOC-balance-bot
41dae4b2bbfce94ed04841fa9ba122eb57459e5a
[ "MIT" ]
3
2020-11-10T01:45:35.000Z
2021-09-27T11:39:06.000Z
snake_debug.py
xlrobotics/PPOC-balance-bot
41dae4b2bbfce94ed04841fa9ba122eb57459e5a
[ "MIT" ]
null
null
null
snake_debug.py
xlrobotics/PPOC-balance-bot
41dae4b2bbfce94ed04841fa9ba122eb57459e5a
[ "MIT" ]
2
2020-01-25T17:26:33.000Z
2021-02-16T16:39:38.000Z
import gym # from stable_baselines import DQN as deepq from stable_baselines import A2C as ac from stable_baselines.common.policies import MlpLnLstmPolicy import snake_bot if __name__ == '__main__': env = gym.make("snakebot-v0") env.debug_mode() exit(0)
27.5
61
0.741818
39
275
4.897436
0.666667
0.157068
0.298429
0.26178
0
0
0
0
0
0
0
0.013393
0.185455
275
10
62
27.5
0.839286
0.149091
0
0
0
0
0.084821
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3d640bec431e81affc07c61301d5e5f1d49c75e8
411
py
Python
app/domain/company/models.py
JBizarri/fast-api-crud
3eb0391c1a1f2e054092de717b73898c7efed5cb
[ "MIT" ]
null
null
null
app/domain/company/models.py
JBizarri/fast-api-crud
3eb0391c1a1f2e054092de717b73898c7efed5cb
[ "MIT" ]
null
null
null
app/domain/company/models.py
JBizarri/fast-api-crud
3eb0391c1a1f2e054092de717b73898c7efed5cb
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import TYPE_CHECKING, List from sqlalchemy import Column, String from sqlalchemy.orm import relationship from ...database import BaseModel if TYPE_CHECKING: from ..user.models import User class Company(BaseModel): name: str = Column(String) users: List[U...
20.55
63
0.737226
50
411
5.92
0.56
0.081081
0
0
0
0
0
0
0
0
0
0
0.180049
411
19
64
21.631579
0.878338
0
0
0
0
0
0.053528
0
0
0
0
0
0
1
0
true
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
1
0
1
0
1
0
0
3
3d6b7691e8c5eed4e135eafd2eed629b0d7310de
4,752
py
Python
ott2butKAMA1/jessetkdata/dnafiles/BNB-USDT 2018-02-15 2021-01-01.py
ysdede/jesse_strategies
ade9f4ba42cec11207c766d267b9d8feb8bce648
[ "CC0-1.0" ]
38
2021-09-18T15:33:28.000Z
2022-02-21T17:29:08.000Z
ott2butKAMA1/jessetkdata/dnafiles/BNB-USDT 2018-02-15 2021-01-01.py
ysdede/jesse_strategies
ade9f4ba42cec11207c766d267b9d8feb8bce648
[ "CC0-1.0" ]
4
2022-01-02T14:46:12.000Z
2022-02-16T18:39:41.000Z
ott2butKAMA1/jessetkdata/dnafiles/BNB-USDT 2018-02-15 2021-01-01.py
ysdede/jesse_strategies
ade9f4ba42cec11207c766d267b9d8feb8bce648
[ "CC0-1.0" ]
11
2021-10-19T06:21:43.000Z
2022-02-21T17:29:10.000Z
dnas = [ ['jVXfX<', 37, 64, 24.67, 14, 7, -4.53, {'ott_len': 42, 'ott_percent': 508, 'stop_loss': 263, 'risk_reward': 65, 'chop_rsi_len': 31, 'chop_bandwidth': 83}], ['o:JK9p', 50, 62, 32.74, 37, 8, -0.2, {'ott_len': 45, 'ott_percent': 259, 'stop_loss': 201, 'risk_reward': 41, 'chop_rsi_len': 12, 'chop_bandwidth': 274}...
144
159
0.619529
858
4,752
3.184149
0.240093
0.065886
0.10981
0.02489
0.474744
0.230234
0.020498
0
0
0
0
0.213739
0.120791
4,752
32
160
148.5
0.440163
0
0
0
0
0
0.443182
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
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3d6d1e7bb92fb8ada9eb142b244859a83f2f343d
2,909
py
Python
modules/winrm/isodate/__init__.py
frankyrumple/smc
975945ddcff754dd95f2e1a8bd4bf6e43a0f91f6
[ "MIT" ]
null
null
null
modules/winrm/isodate/__init__.py
frankyrumple/smc
975945ddcff754dd95f2e1a8bd4bf6e43a0f91f6
[ "MIT" ]
null
null
null
modules/winrm/isodate/__init__.py
frankyrumple/smc
975945ddcff754dd95f2e1a8bd4bf6e43a0f91f6
[ "MIT" ]
null
null
null
############################################################################## # Copyright 2009, Gerhard Weis # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code ...
51.946429
78
0.77243
411
2,909
5.289538
0.403893
0.075897
0.117295
0.068997
0.232751
0.090156
0.062558
0.062558
0.062558
0.062558
0
0.00476
0.133379
2,909
55
79
52.890909
0.857596
0.515641
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
3d7a603d1af477e68cfea29362bbe8cb1160699c
10,713
py
Python
custom/icds_reports/ucr/tests/test_infra_form_ucr.py
rochakchauhan/commcare-hq
aa7ab3c2d0c51fe10f2b51b08101bb4b5a376236
[ "BSD-3-Clause" ]
1
2020-07-14T13:00:23.000Z
2020-07-14T13:00:23.000Z
custom/icds_reports/ucr/tests/test_infra_form_ucr.py
rochakchauhan/commcare-hq
aa7ab3c2d0c51fe10f2b51b08101bb4b5a376236
[ "BSD-3-Clause" ]
1
2021-06-02T04:45:16.000Z
2021-06-02T04:45:16.000Z
custom/icds_reports/ucr/tests/test_infra_form_ucr.py
rochakchauhan/commcare-hq
aa7ab3c2d0c51fe10f2b51b08101bb4b5a376236
[ "BSD-3-Clause" ]
null
null
null
from mock import patch from custom.icds_reports.ucr.tests.test_base_form_ucr import BaseFormsTest @patch('custom.icds_reports.ucr.expressions._get_user_location_id', lambda user_id: 'qwe56poiuytr4xcvbnmkjfghwerffdaa') @patch('corehq.apps.locations.ucr_expressions._get_location_type_name', lambda loc_id...
39.677778
74
0.493419
953
10,713
5.104932
0.116474
0.057554
0.028777
0.021583
0.757657
0.746146
0.73258
0.686742
0.686742
0.663309
0
0.030403
0.407449
10,713
269
75
39.825279
0.73598
0
0
0.619231
0
0
0.409129
0.175021
0
0
0
0
0
1
0.015385
false
0
0.007692
0
0.038462
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3d9dc45f332b2fb283e892734ee2a5da821f63dd
118
py
Python
Exercicios7/percorrendoLista.py
vinihf/Prog1_ADS_2019
97d2e0cddf72c00a73d0bc3070bb9731e66e19e2
[ "CC-BY-4.0" ]
1
2019-04-18T13:43:15.000Z
2019-04-18T13:43:15.000Z
Exercicios7/percorrendoLista.py
vinihf/Prog1_ADS_2019
97d2e0cddf72c00a73d0bc3070bb9731e66e19e2
[ "CC-BY-4.0" ]
null
null
null
Exercicios7/percorrendoLista.py
vinihf/Prog1_ADS_2019
97d2e0cddf72c00a73d0bc3070bb9731e66e19e2
[ "CC-BY-4.0" ]
null
null
null
lista = list(range(0,10001)) for cont in range(0,10001): print(lista[cont]) for valor in lista: print(valor)
16.857143
28
0.669492
20
118
3.95
0.5
0.151899
0.278481
0
0
0
0
0
0
0
0
0.125
0.186441
118
7
29
16.857143
0.697917
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3dc7bf9b590e7454e8a84ae7d5b2f66655fcd2d8
9,121
py
Python
rxmarbles/theme/pencil.py
enbandari/rx-marbles
b95813b5e24818eee272ab7ecf0f130510e60f39
[ "MIT" ]
null
null
null
rxmarbles/theme/pencil.py
enbandari/rx-marbles
b95813b5e24818eee272ab7ecf0f130510e60f39
[ "MIT" ]
null
null
null
rxmarbles/theme/pencil.py
enbandari/rx-marbles
b95813b5e24818eee272ab7ecf0f130510e60f39
[ "MIT" ]
null
null
null
from numpy.random import random import random root = '''<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="...
36.338645
559
0.621642
1,354
9,121
4.166174
0.336041
0.004609
0.0351
0.04485
0.384329
0.363765
0.317674
0.301365
0.268924
0.268924
0
0.254005
0.185506
9,121
250
560
36.484
0.505317
0.02127
1
0.352174
0
0.108696
0.856614
0.35639
0
0
0
0
0
1
0.026087
false
0
0.008696
0
0.06087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3dd4c39c91d920a780223d1076fe94897deaabd0
2,639
py
Python
python/GafferUI/ProgressBar.py
cwmartin/gaffer
1f8a0f75522105c9d5efefac6d55cb61c1038909
[ "BSD-3-Clause" ]
null
null
null
python/GafferUI/ProgressBar.py
cwmartin/gaffer
1f8a0f75522105c9d5efefac6d55cb61c1038909
[ "BSD-3-Clause" ]
null
null
null
python/GafferUI/ProgressBar.py
cwmartin/gaffer
1f8a0f75522105c9d5efefac6d55cb61c1038909
[ "BSD-3-Clause" ]
null
null
null
########################################################################## # # Copyright (c) 2011-2012, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redi...
33.833333
77
0.675256
325
2,639
5.430769
0.495385
0.054391
0.023796
0.037394
0.14051
0.113314
0.113314
0.077054
0.077054
0.077054
0
0.007951
0.189845
2,639
77
78
34.272727
0.817587
0.602122
0
0.090909
0
0
0.009227
0
0
0
0
0
0
1
0.318182
false
0
0.136364
0.136364
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
1
1
0
0
3
3dd842d4edbdc348779300fb523036992a49b5b2
125
py
Python
manage.py
Stupnitskiy/BinaryAPI
e448936ceed96da72e2aa65847030ea56edb224f
[ "MIT" ]
null
null
null
manage.py
Stupnitskiy/BinaryAPI
e448936ceed96da72e2aa65847030ea56edb224f
[ "MIT" ]
null
null
null
manage.py
Stupnitskiy/BinaryAPI
e448936ceed96da72e2aa65847030ea56edb224f
[ "MIT" ]
null
null
null
from flask_script import Manager from src import app manager = Manager(app) if __name__ == "__main__": manager.run()
12.5
32
0.72
17
125
4.764706
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.192
125
9
33
13.888889
0.80198
0
0
0
0
0
0.064
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3dffaaba0f49d4e4bcf7fb58f40e51bc3b413470
448
py
Python
simple_amqp_rpc/data.py
rudineirk/py-simple-amqp-rpc
823b6efe271732495d4e3ccdcb9f4d85138c1d42
[ "MIT" ]
null
null
null
simple_amqp_rpc/data.py
rudineirk/py-simple-amqp-rpc
823b6efe271732495d4e3ccdcb9f4d85138c1d42
[ "MIT" ]
1
2021-06-01T22:28:43.000Z
2021-06-01T22:28:43.000Z
simple_amqp_rpc/data.py
rudineirk/py-simple-amqp-rpc
823b6efe271732495d4e3ccdcb9f4d85138c1d42
[ "MIT" ]
null
null
null
from typing import Any, List from dataclasses import dataclass, replace from .consts import OK class Data: def replace(self, **kwargs): return replace(self, **kwargs) @dataclass(frozen=True) class RpcCall(Data): route: str service: str method: str args: List[Any] @dataclass(frozen=Tr...
15.448276
42
0.654018
58
448
5.051724
0.517241
0.075085
0.116041
0.163823
0
0
0
0
0
0
0
0
0.245536
448
28
43
16
0.866864
0
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.105263
false
0
0.157895
0.105263
0.842105
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
9a89981de0ecebc2323be5e00e13a157cd8dc62f
8,490
py
Python
pynaja/common/struct.py
xiaoxiamiya/naja
222c3e1135bbd2b9a02181273a8a70201fbdf0f5
[ "Apache-2.0" ]
1
2021-09-07T07:13:53.000Z
2021-09-07T07:13:53.000Z
pynaja/common/struct.py
xiaoxiamiya/naja
222c3e1135bbd2b9a02181273a8a70201fbdf0f5
[ "Apache-2.0" ]
null
null
null
pynaja/common/struct.py
xiaoxiamiya/naja
222c3e1135bbd2b9a02181273a8a70201fbdf0f5
[ "Apache-2.0" ]
null
null
null
import struct from collections import OrderedDict from configparser import RawConfigParser from pynaja.common.async_base import Utils from pynaja.common.error import ConstError class Result(dict): """返回结果类 """ def __init__(self, code=0, data=None, msg=None, details=None): super().__init__(code=...
21.493671
74
0.607538
1,153
8,490
4.248916
0.111015
0.079608
0.080833
0.062053
0.580935
0.504797
0.450908
0.427434
0.39008
0.367422
0
0.005949
0.247585
8,490
394
75
21.548223
0.760958
0.006125
0
0.154589
0
0
0.077317
0.021411
0
0
0
0
0
1
0.352657
false
0
0.024155
0.135266
0.608696
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9a9199cd090e7135e6e6634b2297f724636eb3bf
5,021
py
Python
people.py
sabek/Guess-who
91c3f527d258ec81370e3f49fa9b8d23407af3ce
[ "MIT" ]
null
null
null
people.py
sabek/Guess-who
91c3f527d258ec81370e3f49fa9b8d23407af3ce
[ "MIT" ]
null
null
null
people.py
sabek/Guess-who
91c3f527d258ec81370e3f49fa9b8d23407af3ce
[ "MIT" ]
null
null
null
class HiddenPeople(): """Class for holding information on people""" def __init__(self): self.people = { 'Paul': {'bald': False, 'beard': False, 'eyes': 'brown', 'gender': 'man', 'hair': 'white', 'hat': False, 'glasses': True, 'moustache': False}, ...
74.940299
120
0.466441
470
5,021
4.974468
0.151064
0.085543
0.11976
0.138152
0.823353
0.795124
0.705304
0.60308
0.499145
0.280582
0
0
0.316073
5,021
66
121
76.075758
0.680839
0.017526
0
0.393443
0
0
0.291751
0
0
0
0
0
0
1
0.04918
false
0
0
0
0.065574
0.032787
0
0
0
null
0
0
0
1
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
3
9a9a50511abf52afcd61e02d8aeff1032454c0a6
3,379
py
Python
utils/videoJob.py
dbpeng/aws-lambda-python-example-zencoder
3c3e2d2ea88be824a62e41f16d6bdd79deeef2a0
[ "MIT" ]
1
2018-05-01T11:54:33.000Z
2018-05-01T11:54:33.000Z
utils/videoJob.py
dbpeng/aws-lambda-python-example-zencoder
3c3e2d2ea88be824a62e41f16d6bdd79deeef2a0
[ "MIT" ]
1
2021-06-01T22:18:53.000Z
2021-06-01T22:18:53.000Z
utils/videoJob.py
dbpeng/aws-lambda-python-example-zencoder
3c3e2d2ea88be824a62e41f16d6bdd79deeef2a0
[ "MIT" ]
null
null
null
import os import sys from sqlalchemy import Column, ForeignKey, Integer, String, DateTime from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker from sqlalchemy import create_engine from datetime import datetime import json from base import Session, engine, Base from enum import...
25.406015
76
0.629772
389
3,379
5.393316
0.362468
0.061964
0.080076
0.024786
0
0
0
0
0
0
0
0.020408
0.260432
3,379
132
77
25.598485
0.819128
0.17372
0
0.02439
0
0
0.050199
0
0
0
0
0.007576
0
1
0.292683
false
0.012195
0.121951
0.146341
0.780488
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9aa39e5e7763187b713ab547d0e364010f1b3d6f
106
py
Python
examples/plugin_example/setup.py
linshoK/pysen
2b84a15240c5a47cadd8e3fc8392c54c2995b0b1
[ "MIT" ]
423
2021-03-22T08:45:12.000Z
2022-03-31T21:05:53.000Z
examples/plugin_example/setup.py
linshoK/pysen
2b84a15240c5a47cadd8e3fc8392c54c2995b0b1
[ "MIT" ]
1
2022-02-23T08:53:24.000Z
2022-03-23T14:11:54.000Z
examples/plugin_example/setup.py
linshoK/pysen
2b84a15240c5a47cadd8e3fc8392c54c2995b0b1
[ "MIT" ]
9
2021-03-26T14:20:07.000Z
2022-03-24T13:17:06.000Z
from setuptools import setup setup( name="example-advanced-package", version="0.0.0", packages=[], )
17.666667
66
0.698113
14
106
5.285714
0.785714
0.054054
0
0
0
0
0
0
0
0
0
0.032609
0.132075
106
5
67
21.2
0.771739
0
0
0
0
0
0.273585
0.226415
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
3
9aae954a3239c945002696eff2a9d8adff07720d
3,110
py
Python
examples/python/macOS/hack_or_die.py
kitazaki/NORA_Badge
9b04a57235f0763641ffa8e90e499f141dc57570
[ "Apache-2.0" ]
null
null
null
examples/python/macOS/hack_or_die.py
kitazaki/NORA_Badge
9b04a57235f0763641ffa8e90e499f141dc57570
[ "Apache-2.0" ]
null
null
null
examples/python/macOS/hack_or_die.py
kitazaki/NORA_Badge
9b04a57235f0763641ffa8e90e499f141dc57570
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function import time import uuid import Adafruit_BluefruitLE CHARACTERISTIC_SERVICE_UUID = uuid.UUID('0000fee0-0000-1000-8000-00805f9b34fb') CHARACTERISTIC_DATA_UUID = uuid.UUID('0000fee1-0000-1000-8000-00805f9b34fb') provider = Adafruit_BluefruitLE.get_provider() def main(): provi...
37.02381
82
0.632797
479
3,110
4.008351
0.208768
0.303125
0.370313
0.3875
0.398958
0.395833
0.395833
0.372396
0.372396
0.372396
0
0.160212
0.211254
3,110
83
83
37.46988
0.622503
0
0
0.355263
0
0.157895
0.327115
0.270183
0
0
0
0
0
1
0.013158
false
0
0.052632
0
0.065789
0.144737
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9ad4238b4ae5b1bf04e852349b10a5a6489f5283
105
py
Python
city.py
cromermw/gen_pop
74541590b0142fac5178e7db25b068d967618dfb
[ "CC0-1.0" ]
null
null
null
city.py
cromermw/gen_pop
74541590b0142fac5178e7db25b068d967618dfb
[ "CC0-1.0" ]
null
null
null
city.py
cromermw/gen_pop
74541590b0142fac5178e7db25b068d967618dfb
[ "CC0-1.0" ]
null
null
null
class City: name = "city" size = "default" draw = -1 danger = -1 population = []
17.5
21
0.47619
11
105
4.545455
0.818182
0
0
0
0
0
0
0
0
0
0
0.03125
0.390476
105
6
22
17.5
0.75
0
0
0
0
0
0.108911
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
9add394027ddb25c4a3c822d581f2bbeacc67447
245
py
Python
variables.py
bestend/korquad
3b92fffcc950ff584e0f9755ea9b04f8bece7a31
[ "MIT" ]
1
2019-09-06T04:47:14.000Z
2019-09-06T04:47:14.000Z
variables.py
bestend/korquad
3b92fffcc950ff584e0f9755ea9b04f8bece7a31
[ "MIT" ]
6
2020-01-28T22:12:50.000Z
2022-02-09T23:30:45.000Z
variables.py
bestend/korquad
3b92fffcc950ff584e0f9755ea9b04f8bece7a31
[ "MIT" ]
null
null
null
import os import re MODEL_FILE_FORMAT = 'weights.{epoch:02d}-{val_loss:.2f}.h5' MODEL_REGEX_PATTERN = re.compile(r'^.*weights\.(\d+)\-\d+\.\d+\.h5$') LAST_MODEL_FILE_FORMAT = 'last.h5' TEAMS_WEBHOOK_URL = os.environ.get('TEAMS_WEBHOOK_URL', '')
35
69
0.714286
40
245
4.075
0.6
0.110429
0.184049
0
0
0
0
0
0
0
0
0.026316
0.069388
245
7
70
35
0.688596
0
0
0
0
0
0.378049
0.280488
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9ae9da1c04d49fc47628f3418837d002feeee3c7
3,096
py
Python
back/src/crud.py
Celeo/wiki_elm
620caf74b4cc17d3ffe3231493df15e84bfcf67f
[ "MIT" ]
null
null
null
back/src/crud.py
Celeo/wiki_elm
620caf74b4cc17d3ffe3231493df15e84bfcf67f
[ "MIT" ]
null
null
null
back/src/crud.py
Celeo/wiki_elm
620caf74b4cc17d3ffe3231493df15e84bfcf67f
[ "MIT" ]
null
null
null
from datetime import datetime from typing import List, Optional import bcrypt from sqlalchemy.orm import Session from . import models, schemas def get_user(db: Session, id: int) -> models.User: """Return a single user by id. Args: db (Session): database connection id (int): id of the user ...
26.016807
105
0.648256
405
3,096
4.876543
0.177778
0.072911
0.052658
0.085063
0.363544
0.243038
0.243038
0.214684
0.162025
0.162025
0
0.000847
0.23708
3,096
118
106
26.237288
0.835309
0.385336
0
0.138889
0
0
0.005945
0
0
0
0
0
0
1
0.222222
false
0.083333
0.138889
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
1
0
1
0
0
1
0
0
3
b119bf6083a2cc2bfb9320284b71a47bcee04389
159
py
Python
kido/settings/production.example.py
alanhamlett/kid-o
18f88f7dc78c678e017fdc7e0dfb2711bcf2bf74
[ "BSD-3-Clause" ]
34
2015-08-22T06:57:26.000Z
2021-11-08T10:47:23.000Z
kido/settings/production.example.py
alanhamlett/kid-o
18f88f7dc78c678e017fdc7e0dfb2711bcf2bf74
[ "BSD-3-Clause" ]
15
2015-08-21T20:25:49.000Z
2022-03-11T23:25:44.000Z
kido/settings/production.example.py
dominino/kid-o
18f88f7dc78c678e017fdc7e0dfb2711bcf2bf74
[ "BSD-3-Clause" ]
5
2016-08-22T08:23:45.000Z
2019-05-07T01:38:38.000Z
SECRET_KEY = None DB_HOST = "localhost" DB_NAME = "kido" DB_USERNAME = "kido" DB_PASSWORD = "kido" COMPRESSOR_DEBUG = False COMPRESSOR_OFFLINE_COMPRESS = True
19.875
34
0.773585
22
159
5.227273
0.727273
0.104348
0
0
0
0
0
0
0
0
0
0
0.132075
159
7
35
22.714286
0.833333
0
0
0
0
0
0.132075
0
0
0
0
0
0
1
0
false
0.142857
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
b17abbe2c8f968394190d9316ec3a085ca24ece7
197
py
Python
addons/stats/scripts/predictors/abstract_predictor.py
Kait-tt/tacowassa
7e71c6ef6b5f939a99a3600025b26d459ebc0233
[ "MIT" ]
null
null
null
addons/stats/scripts/predictors/abstract_predictor.py
Kait-tt/tacowassa
7e71c6ef6b5f939a99a3600025b26d459ebc0233
[ "MIT" ]
141
2016-08-23T03:44:17.000Z
2017-10-08T02:39:36.000Z
addons/stats/scripts/predictors/abstract_predictor.py
Kait-tt/tacowassa
7e71c6ef6b5f939a99a3600025b26d459ebc0233
[ "MIT" ]
1
2019-04-05T15:19:43.000Z
2019-04-05T15:19:43.000Z
# coding:utf-8 from abc import ABCMeta, abstractmethod class AbstractPredictor(metaclass=ABCMeta): @classmethod @abstractmethod def predicate(cls, tasks, user_id, cost): pass
19.7
45
0.720812
22
197
6.409091
0.909091
0
0
0
0
0
0
0
0
0
0
0.006329
0.19797
197
9
46
21.888889
0.886076
0.060914
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
b17ac66814a8b6950eb9f7e8278e334fa9498901
216
py
Python
day11/eqatri.py
nikhilsamninan/python-files
15198459081097058a939b40b5e8ef754e578fe0
[ "Apache-2.0" ]
null
null
null
day11/eqatri.py
nikhilsamninan/python-files
15198459081097058a939b40b5e8ef754e578fe0
[ "Apache-2.0" ]
null
null
null
day11/eqatri.py
nikhilsamninan/python-files
15198459081097058a939b40b5e8ef754e578fe0
[ "Apache-2.0" ]
null
null
null
size = 5 m = (2 * size)-2 for i in range(0, size): for j in range(0, m): print(end=" ") m = m - 1 for j in range(0, i + 1): if(m%2!=0): print("*", end=" ") print("")
12.705882
31
0.388889
37
216
2.27027
0.378378
0.25
0.285714
0.261905
0.285714
0
0
0
0
0
0
0.077519
0.402778
216
17
32
12.705882
0.573643
0
0
0
0
0
0.013825
0
0
0
0
0
0
1
0
false
0
0
0
0
0.3
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b17cbc82703ac9fc882cd99a409335fa53853226
226
py
Python
samples-python/datalayer.calc/calculations/__init__.py
bracoe/ctrlx-automation-sdk
6b2e61e146c557488125baf941e4d64c6fa6d0fb
[ "MIT" ]
16
2021-08-23T13:07:12.000Z
2022-02-21T13:29:21.000Z
samples-python/datalayer.calc/calculations/__init__.py
bracoe/ctrlx-automation-sdk
6b2e61e146c557488125baf941e4d64c6fa6d0fb
[ "MIT" ]
null
null
null
samples-python/datalayer.calc/calculations/__init__.py
bracoe/ctrlx-automation-sdk
6b2e61e146c557488125baf941e4d64c6fa6d0fb
[ "MIT" ]
10
2021-09-29T09:58:33.000Z
2022-01-13T07:20:00.000Z
__version__ = '2.0.0' __description__ = 'Sample for calculations with data from the ctrlX Data Layer' __author__ = 'Fantastic Python Developers' __licence__ = 'MIT License' __copyright__ = 'Copyright (c) 2021 Bosch Rexroth AG'
45.2
79
0.778761
29
226
5.37931
0.896552
0
0
0
0
0
0
0
0
0
0
0.035897
0.137168
226
5
80
45.2
0.764103
0
0
0
0
0
0.603524
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b17e60242b5d5da25f1f85bc29429ee00fd48f19
320
py
Python
sqlalchemist/models/definitions.py
pmav99/sqlalchemist
af784f8d6e7c6c7298ad273c481af748cc0332d5
[ "BSD-3-Clause" ]
7
2019-09-06T21:58:42.000Z
2021-12-02T21:48:35.000Z
sqlalchemist/models/definitions.py
pmav99/sqlalchemy_playground
af784f8d6e7c6c7298ad273c481af748cc0332d5
[ "BSD-3-Clause" ]
null
null
null
sqlalchemist/models/definitions.py
pmav99/sqlalchemy_playground
af784f8d6e7c6c7298ad273c481af748cc0332d5
[ "BSD-3-Clause" ]
1
2021-01-22T03:23:21.000Z
2021-01-22T03:23:21.000Z
import sqlalchemy as sa from .meta import Base class Person(Base): __tablename__ = "person" id = sa.Column(sa.Integer, primary_key=True) name = sa.Column(sa.String) date_of_birth = sa.Column(sa.Date) height = sa.Column(sa.Integer) weight = sa.Column(sa.Numeric) __all__ = [ "Person", ]
16.842105
48
0.6625
45
320
4.466667
0.555556
0.199005
0.248756
0.169154
0
0
0
0
0
0
0
0
0.2125
320
18
49
17.777778
0.797619
0
0
0
0
0
0.0375
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.75
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b1a35e06a9245c638232ac973c3cdcca21d276f6
980
py
Python
project/tests/scripts/system_vars.py
LeDron12/c2eo
4f0dc6ed79df0739bd834eda6a0f77f3caf4292c
[ "MIT" ]
12
2021-08-05T12:12:09.000Z
2022-03-08T13:33:53.000Z
project/tests/scripts/system_vars.py
LeDron12/c2eo
4f0dc6ed79df0739bd834eda6a0f77f3caf4292c
[ "MIT" ]
26
2021-08-23T10:25:37.000Z
2022-03-30T12:56:08.000Z
project/tests/scripts/system_vars.py
LeDron12/c2eo
4f0dc6ed79df0739bd834eda6a0f77f3caf4292c
[ "MIT" ]
12
2021-08-17T09:20:07.000Z
2022-03-31T13:37:28.000Z
integer = [ ['lld', 'long long', 9223372036854775807, -9223372036854775808], ['ld', 'long', 9223372036854775807, -9223372036854775808], ['lu', 'unsigned long', 18446744073709551615, 0], ['d', 'signed', 2147483647, -2147483648], ['u', 'unsigned', 4294967295, 0], ['hd', 'short', 32767, -32768], ...
29.69697
68
0.596939
126
980
4.587302
0.507937
0.121107
0.069204
0.055363
0.089965
0.089965
0.089965
0
0
0
0
0.263094
0.162245
980
32
69
30.625
0.440926
0.014286
0
0
0
0
0.311203
0.06639
0
0
0
0.03125
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
1
0
0
0
0
0
0
0
0
0
0
3
491612be631c7616e895777f18a1f1f4ec09ba72
15,815
py
Python
src/goesrecv/support/generate_interpolator_taps.py
codient/goestools
862600960681a1a1f3942f18f40b1f17dcdffc40
[ "BSD-2-Clause" ]
244
2017-11-07T12:12:23.000Z
2022-03-24T07:24:53.000Z
src/goesrecv/support/generate_interpolator_taps.py
codient/goestools
862600960681a1a1f3942f18f40b1f17dcdffc40
[ "BSD-2-Clause" ]
116
2018-03-07T04:02:26.000Z
2022-03-27T12:08:01.000Z
src/goesrecv/support/generate_interpolator_taps.py
codient/goestools
862600960681a1a1f3942f18f40b1f17dcdffc40
[ "BSD-2-Clause" ]
65
2018-05-28T02:44:21.000Z
2022-03-18T12:27:58.000Z
#!/usr/bin/env python # # Create filter taps to use for interpolation filter in # clock recovery algorithm. These taps are copied from # GNU Radio at gnuradio/filter/interpolator_taps.h. # # This file includes them in natural order and I want # them stored in reversed order such that they can be # used directly. # fil...
104.735099
117
0.613152
3,187
15,815
3.041104
0.181362
0.03343
0.013
0.018572
0.021977
0.014961
0.014961
0.014961
0.014961
0.014961
0
0.605896
0.137781
15,815
150
118
105.433333
0.104869
0.018716
0
0
0
0
0.007995
0.001999
0
0
0
0
0
1
0
false
0
0
0
0
0.036232
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4921f463d2a5ff012c886046b237e9741fc7a1a8
2,328
py
Python
nats/aio/errors.py
sr34/asyncio-nats
347a8e4b3eab275085858a6c8016feb3457905a3
[ "Apache-2.0" ]
null
null
null
nats/aio/errors.py
sr34/asyncio-nats
347a8e4b3eab275085858a6c8016feb3457905a3
[ "Apache-2.0" ]
null
null
null
nats/aio/errors.py
sr34/asyncio-nats
347a8e4b3eab275085858a6c8016feb3457905a3
[ "Apache-2.0" ]
null
null
null
# Copyright 2016-2018 The NATS Authors # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
24.25
74
0.717354
274
2,328
5.868613
0.434307
0.052239
0.087065
0.139303
0.288557
0.276119
0.128731
0.083955
0
0
0
0.006448
0.200601
2,328
95
75
24.505263
0.857603
0.237973
0
0.28
0
0
0.249432
0
0
0
0
0
0
1
0.3
false
0.02
0.02
0.28
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
1
0
0
0
1
1
0
0
3
49233a1586edace305f6bd1e93ae01acb6ace60f
4,381
py
Python
map_methods_to_mach_ports/parseXcodeLogs.py
malus-security/kobold
2ae23b75ec503ef3702ad297ddbb7824ac4da53c
[ "BSD-3-Clause" ]
3
2020-06-26T19:44:46.000Z
2021-03-25T07:00:04.000Z
map_methods_to_mach_ports/parseXcodeLogs.py
malus-security/kobold
2ae23b75ec503ef3702ad297ddbb7824ac4da53c
[ "BSD-3-Clause" ]
null
null
null
map_methods_to_mach_ports/parseXcodeLogs.py
malus-security/kobold
2ae23b75ec503ef3702ad297ddbb7824ac4da53c
[ "BSD-3-Clause" ]
1
2020-09-14T23:46:31.000Z
2020-09-14T23:46:31.000Z
#Input #Xcode logs output by autogenerated method invocations #Requirements #Infer which invocation numbers failed/succeeded #Infer apparent entitlement requirements based on error message from completion handlers #Detect which invocation numbers should have had completion handlers #Map new information to mach-port a...
40.564815
132
0.716047
541
4,381
5.761553
0.377079
0.056465
0.038499
0.022137
0.091434
0.081489
0.066089
0.040423
0
0
0
0.006475
0.189226
4,381
107
133
40.943925
0.871059
0.367268
0
0.037037
1
0
0.247244
0.090945
0
0
0
0.018692
0
0
null
null
0
0.037037
null
null
0.12963
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
1
0
1
0
0
0
0
0
0
0
0
3
4925282781ec37ab8cc1089001ebc7822dc2c473
366
py
Python
systemtest/users/apps.py
IBM-Power-SystemTest/systemtest
a29e6d54500ca13f554073cc66a4a2d403ea5b14
[ "BSD-3-Clause" ]
1
2022-03-09T18:07:11.000Z
2022-03-09T18:07:11.000Z
systemtest/users/apps.py
IBM-Power-SystemTest/systemtest
a29e6d54500ca13f554073cc66a4a2d403ea5b14
[ "BSD-3-Clause" ]
null
null
null
systemtest/users/apps.py
IBM-Power-SystemTest/systemtest
a29e6d54500ca13f554073cc66a4a2d403ea5b14
[ "BSD-3-Clause" ]
null
null
null
""" Users app config References: https://docs.djangoproject.com/en/3.1/ref/applications/ """ from django.apps import AppConfig class UsersConfig(AppConfig): name = "systemtest.users" verbose_name = "Users" def ready(self): try: import systemtest.users.signals # noqa F401...
19.263158
63
0.628415
40
366
5.725
0.825
0.131004
0
0
0
0
0
0
0
0
0
0.018727
0.270492
366
18
64
20.333333
0.838951
0.29235
0
0
0
0
0.083665
0
0
0
0
0
0
1
0.111111
false
0.111111
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
492f40da8141b4f392fd82f2242b755c0bb7c8b7
1,406
py
Python
app/view/forms.py
weizy1981/WatsonRobot
bb718a589a8f2d394fbc86582bff29c1015e79fc
[ "Apache-2.0" ]
null
null
null
app/view/forms.py
weizy1981/WatsonRobot
bb718a589a8f2d394fbc86582bff29c1015e79fc
[ "Apache-2.0" ]
null
null
null
app/view/forms.py
weizy1981/WatsonRobot
bb718a589a8f2d394fbc86582bff29c1015e79fc
[ "Apache-2.0" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, FileField from wtforms.validators import DataRequired from app.view import errormessage class LoginForm(FlaskForm): username = StringField(label='username', validators=[DataRequired(errormessage.LOGIN002)]) password = ...
43.9375
109
0.753201
137
1,406
7.649635
0.321168
0.167939
0.259542
0.114504
0.291031
0.150763
0.150763
0.150763
0.150763
0.150763
0
0.019592
0.128734
1,406
31
110
45.354839
0.835918
0
0
0.269231
0
0
0.049787
0
0
0
0
0
0
1
0
false
0.076923
0.153846
0
0.961538
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
1
0
0
3
49397d33975fc946c23e0dd90e4f51ce16027f86
1,978
py
Python
tests/dummypredictor/predictors.py
kiconiaworks/igata
1d8a4b82a65eb936d5d8f8ff70747ba82ddef31a
[ "BSD-2-Clause" ]
1
2021-12-31T14:29:44.000Z
2021-12-31T14:29:44.000Z
tests/dummypredictor/predictors.py
kiconiaworks/igata
1d8a4b82a65eb936d5d8f8ff70747ba82ddef31a
[ "BSD-2-Clause" ]
6
2019-11-25T04:20:26.000Z
2021-12-13T05:23:16.000Z
tests/dummypredictor/predictors.py
kiconiaworks/igata
1d8a4b82a65eb936d5d8f8ff70747ba82ddef31a
[ "BSD-2-Clause" ]
null
null
null
from time import sleep from igata.predictors import PredictorBase class DummyPredictorNoInputNoOutput(PredictorBase): def predict(self, inputs, meta): result = {"result": 0.222, "class": "car", "is_valid": True} return result class DummyPredictorNoInputNoOutputVariableOutput(PredictorBase): ...
27.859155
76
0.68453
215
1,978
6.111628
0.269767
0.053272
0.074581
0.076104
0.491629
0.491629
0.407154
0.407154
0.407154
0.380518
0
0.017767
0.203236
1,978
70
77
28.257143
0.81599
0
0
0.553191
0
0
0.061678
0
0
0
0
0
0
1
0.319149
false
0
0.042553
0.234043
0.787234
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
494b2faa96115baf8681d111a98a087de5ebcb59
476
py
Python
lib/dyson/utils/module.py
luna-test/luna
6d94439f2747daf96e295837684bdc6607f507dc
[ "Apache-2.0" ]
3
2018-05-21T14:35:11.000Z
2021-03-25T12:32:25.000Z
lib/dyson/utils/module.py
dyson-framework/dyson
e5a2e12c7bb0ba21ff274feff34c184576d08ff5
[ "Apache-2.0" ]
13
2018-05-22T01:01:08.000Z
2018-09-16T22:12:10.000Z
lib/dyson/utils/module.py
luna-test/luna
6d94439f2747daf96e295837684bdc6607f507dc
[ "Apache-2.0" ]
1
2018-05-21T14:35:17.000Z
2018-05-21T14:35:17.000Z
import os from dyson import constants from abc import abstractmethod import sys from dyson.constants import to_boolean class DysonModule: def __init__(self): pass @abstractmethod def run(self, webdriver, params): pass def fail(self, msg): print(msg, file=sys.stderr) ...
18.307692
62
0.686975
62
476
5.048387
0.596774
0.057508
0
0
0
0
0
0
0
0
0
0.002747
0.235294
476
25
63
19.04
0.857143
0
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.235294
false
0.117647
0.294118
0.058824
0.647059
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
496a50df8aab51c7339b1ff94cb179d8c9744ace
1,272
py
Python
sdc/ysdc_dataset_api/utils/serialization.py
sty61010/shifts
d3bb3086d8f2581f74644585701f4b1db4338483
[ "Apache-2.0" ]
156
2021-07-16T08:54:39.000Z
2022-03-24T11:49:36.000Z
sdc/ysdc_dataset_api/utils/serialization.py
sty61010/shifts
d3bb3086d8f2581f74644585701f4b1db4338483
[ "Apache-2.0" ]
18
2021-07-21T14:02:46.000Z
2022-02-26T04:07:12.000Z
sdc/ysdc_dataset_api/utils/serialization.py
sty61010/shifts
d3bb3086d8f2581f74644585701f4b1db4338483
[ "Apache-2.0" ]
41
2021-07-21T05:38:07.000Z
2022-01-13T15:25:51.000Z
import io import zlib import numpy as np def maybe_compress(str, compress): return zlib.compress(str) if compress else str def maybe_decompress(str, decompress): return zlib.decompress(str) if decompress else str def serialize_numpy(arr: np.ndarray, compress: bool = False) -> str: """Serializes numpy...
27.06383
91
0.687893
158
1,272
5.481013
0.310127
0.051963
0.04157
0.048499
0
0
0
0
0
0
0
0
0.22956
1,272
46
92
27.652174
0.883673
0.426887
0
0
0
0
0
0
0
0
0
0
0.058824
1
0.235294
false
0
0.176471
0.117647
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3