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
b63fae52a7308e09b772e87e913912fdafe1537a
1,546
py
Python
tests/smiley.py
zoso95/xArm
7598a0df976770179b7b5229cedd2ec46db92ef9
[ "MIT" ]
null
null
null
tests/smiley.py
zoso95/xArm
7598a0df976770179b7b5229cedd2ec46db92ef9
[ "MIT" ]
null
null
null
tests/smiley.py
zoso95/xArm
7598a0df976770179b7b5229cedd2ec46db92ef9
[ "MIT" ]
null
null
null
from xarm.arm import * import math import time grip_close() def reset(): movej((500, 500, 500, 500, 500), 2000) power_off() #jDepart = (497, 426, 738, 55, 500) jDepart = (497, 426, 700, 55, 500) movej(jDepart, 2000) eye_x = 10 z_up = 0 z_down = -18 #(495, 420, 700, 64, 502) servo_coord = get_position(Fal...
18.404762
55
0.649418
272
1,546
3.522059
0.301471
0.146138
0.183716
0.25261
0.5
0.484342
0.480167
0.417537
0.367432
0.296451
0
0.160061
0.151358
1,546
83
56
18.626506
0.570122
0.107374
0
0
0
0
0
0
0
0
0
0
0
1
0.032258
false
0
0.096774
0
0.129032
0.064516
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b64585c1a28a04264c03e9c032860767ded10d91
1,668
py
Python
src/143-ReorderList.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
1
2022-03-03T15:11:48.000Z
2022-03-03T15:11:48.000Z
src/143-ReorderList.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
null
null
null
src/143-ReorderList.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
2
2022-01-20T22:49:58.000Z
2022-01-20T22:53:13.000Z
#!/usr/bin/env python """ CREATED AT: 2021/12/22 Des: GITHUB: https://github.com/Jiezhi/myleetcode Difficulty: Medium Tag: See: Time Spent: 20 min """ from typing import Optional from src.list_node import ListNode, buildListNode class Solution: def reorderList(self, head: Optional[ListNode]) -> None: ...
23.492958
70
0.585132
220
1,668
4.327273
0.4
0.12605
0.220588
0.231092
0.392857
0.368697
0.368697
0.288866
0.288866
0
0
0.058032
0.28717
1,668
70
71
23.828571
0.742641
0.217626
0
0.194444
0
0
0.006441
0
0
0
0
0
0.138889
1
0.055556
false
0
0.055556
0
0.138889
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b6510e75092a2e29d25ef15017430fac746a4e41
364
py
Python
src/django_plpy/migrations/0001_initial.py
swqqn/plpy
696d522e49c848aa310dc9f71f6d8b07ca6730bb
[ "MIT" ]
37
2022-01-15T11:12:13.000Z
2022-03-31T01:40:46.000Z
src/django_plpy/migrations/0001_initial.py
swqqn/plpy
696d522e49c848aa310dc9f71f6d8b07ca6730bb
[ "MIT" ]
2
2022-03-11T14:01:18.000Z
2022-03-27T08:13:20.000Z
src/django_plpy/migrations/0001_initial.py
swqqn/plpy
696d522e49c848aa310dc9f71f6d8b07ca6730bb
[ "MIT" ]
1
2022-03-04T16:13:35.000Z
2022-03-04T16:13:35.000Z
# Generated by Django 3.2.2 on 2021-05-07 11:18 from django.contrib.postgres.operations import CreateExtension from django.db import migrations class PythonExtension(CreateExtension): def __init__(self): self.name = 'plpython3u' class Migration(migrations.Migration): dependencies = [ ] ope...
19.157895
62
0.703297
40
364
6.3
0.7
0.079365
0
0
0
0
0
0
0
0
0
0.055556
0.208791
364
18
63
20.222222
0.819444
0.123626
0
0
1
0
0.031546
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
b6548f4cd5309fbed9cfc02f8f9f385c9bdb39fa
466
py
Python
exercises/Desafio032.py
zThiago15/Curso-em-Video
ef25e0497edb79bdfbe71fde485f4dafc0d2a0e6
[ "MIT" ]
null
null
null
exercises/Desafio032.py
zThiago15/Curso-em-Video
ef25e0497edb79bdfbe71fde485f4dafc0d2a0e6
[ "MIT" ]
null
null
null
exercises/Desafio032.py
zThiago15/Curso-em-Video
ef25e0497edb79bdfbe71fde485f4dafc0d2a0e6
[ "MIT" ]
1
2021-07-24T21:39:26.000Z
2021-07-24T21:39:26.000Z
from datetime import date ano = int(input('\033[30mQual ano você quer analisar? Coloque 0 para analisar o ano atual: ')) if ano == 0: ano = date.today().year #Ele irá analisar o ano atual e dizer se ele é bissexto ou não. if ano % 4 == 0 and ano % 100 != 0 or ano % 400 == 0: print(f'\033[1;30mO ano \033[1;34m{a...
51.777778
94
0.654506
88
466
3.465909
0.534091
0.078689
0.078689
0.111475
0.104918
0.104918
0
0
0
0
0
0.15445
0.180258
466
9
95
51.777778
0.643979
0.133047
0
0
0
0.222222
0.502475
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b654a4d176593e4826553450974b3f6ea99a5d7c
581
py
Python
capitulo-03/ex11.py
bryan-lima/exercicios-livro-introd-prog-python-3ed
b6bc26dced9728510865704a80cb0d97f81f756b
[ "MIT" ]
3
2021-11-09T17:54:10.000Z
2022-01-30T22:32:25.000Z
capitulo-03/ex11.py
bryan-lima/exercicios-livro-introd-prog-python-3ed
b6bc26dced9728510865704a80cb0d97f81f756b
[ "MIT" ]
null
null
null
capitulo-03/ex11.py
bryan-lima/exercicios-livro-introd-prog-python-3ed
b6bc26dced9728510865704a80cb0d97f81f756b
[ "MIT" ]
null
null
null
# Faça um programa que solicite o preço de uma mercadoria e o percentual de desconto # Exiba o valor do desconto e o preço a pagar currentPrice = float(input('\nInforme o preço do produto: R$ ')) discountPercentage = float(input('Digite o percentual de desconto: ')) discount = currentPrice * discountPercentage / 100 ...
44.692308
91
0.748709
87
581
5
0.448276
0.041379
0.05977
0.096552
0
0
0
0
0
0
0
0.01217
0.151463
581
12
92
48.416667
0.870183
0.216867
0
0
0
0
0.570796
0.048673
0
0
0
0
0
1
0
false
0.142857
0
0
0
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
1
0
2
b65c9d3369799dc5b04300093745ef74508db7dd
574
py
Python
djconfig/middleware.py
nicolasdet/projet_django
85731e8594597dc3968910be2f37b950675ca809
[ "PSF-2.0", "BSD-3-Clause" ]
23
2015-01-30T11:57:44.000Z
2021-07-31T14:24:52.000Z
djconfig/middleware.py
nicolasdet/projet_django
85731e8594597dc3968910be2f37b950675ca809
[ "PSF-2.0", "BSD-3-Clause" ]
24
2015-04-19T12:47:50.000Z
2020-09-12T19:16:18.000Z
djconfig/middleware.py
nicolasdet/projet_django
85731e8594597dc3968910be2f37b950675ca809
[ "PSF-2.0", "BSD-3-Clause" ]
3
2015-04-13T13:50:52.000Z
2020-09-12T11:12:27.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from . import conf try: from django.utils.deprecation import MiddlewareMixin except ImportError: # Django < 1.10 MiddlewareMixin = object __all__ = ['DjConfigMiddleware'] class DjConfigMiddleware(MiddlewareMixin): """ Populate the c...
20.5
56
0.719512
63
574
6.380952
0.746032
0.039801
0
0
0
0
0
0
0
0
0
0.008715
0.200348
574
27
57
21.259259
0.867102
0.303136
0
0
0
0
0.047619
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b66e2c46936a67fcb0715e7e6a911a1206882745
1,083
py
Python
setup.py
matthewoliver/psql2mysql
3353d9eee474479b5b514d558fdbafaab18f6a3d
[ "Apache-2.0" ]
null
null
null
setup.py
matthewoliver/psql2mysql
3353d9eee474479b5b514d558fdbafaab18f6a3d
[ "Apache-2.0" ]
null
null
null
setup.py
matthewoliver/psql2mysql
3353d9eee474479b5b514d558fdbafaab18f6a3d
[ "Apache-2.0" ]
null
null
null
from setuptools import setup, find_packages setup( name='psql2mysql', version='0.4.0', description='Copy data from PostgreSQL databases to MySQL', url='https://github.com/SUSE/psql2mysql', author='SUSE LLC', author_email='things@suse.com', classifiers=[ 'Development Status :: 3 - Al...
27.075
63
0.55494
106
1,083
5.603774
0.641509
0.159933
0.210438
0.131313
0
0
0
0
0
0
0
0.040365
0.290859
1,083
39
64
27.769231
0.733073
0
0
0.105263
0
0
0.495845
0.047091
0
0
0
0
0
1
0
true
0
0.026316
0
0.026316
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
1
0
0
0
0
0
0
2
b68a9da01734c4c91ad691365393e1ed523c74a8
1,018
py
Python
source_code/NLP_words_and_sentences.py
diogenisAl/pyNLP
14fc5b13b6755397e628c5f2f8de9d9ee6adbffe
[ "MIT" ]
null
null
null
source_code/NLP_words_and_sentences.py
diogenisAl/pyNLP
14fc5b13b6755397e628c5f2f8de9d9ee6adbffe
[ "MIT" ]
null
null
null
source_code/NLP_words_and_sentences.py
diogenisAl/pyNLP
14fc5b13b6755397e628c5f2f8de9d9ee6adbffe
[ "MIT" ]
null
null
null
# Import the TextBlob class from the textblob library from textblob import TextBlob # Set a text to analyze text = "Today is a beautiful day. Tomorrow looks like bad weather. is a" # Create a blob object using the TextBlob class, with the text variable as a parameter blob = TextBlob(text) # We can see the sentences ...
31.8125
86
0.746562
179
1,018
4.206704
0.340782
0.102258
0.095618
0.092961
0.320053
0.220452
0.159363
0.159363
0
0
0
0.002401
0.181729
1,018
32
87
31.8125
0.901561
0.500982
0
0
0
0
0.34739
0
0
0
0
0.03125
0
1
0
false
0
0.0625
0
0.0625
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
2
b68ae00e50396bec4da5de82f4e22865fe83b0ae
871
py
Python
src/navi/components/other/low_pass_filter.py
project-capo/app-drive-and-visualize
05305c3bdc23769e259cdb82b3a4fac5bb177d39
[ "Unlicense" ]
null
null
null
src/navi/components/other/low_pass_filter.py
project-capo/app-drive-and-visualize
05305c3bdc23769e259cdb82b3a4fac5bb177d39
[ "Unlicense" ]
null
null
null
src/navi/components/other/low_pass_filter.py
project-capo/app-drive-and-visualize
05305c3bdc23769e259cdb82b3a4fac5bb177d39
[ "Unlicense" ]
null
null
null
from navi.components.component import Component __author__ = 'paoolo' class LowPassFilter(Component): """ Used to low pass. """ def __init__(self): super(LowPassFilter, self).__init__(enable=True) self._old_left = 0.0 self._old_right = 0.0 self._alpha = 0.3 def...
22.921053
64
0.631458
115
871
4.4
0.321739
0.083004
0.065217
0.067194
0
0
0
0
0
0
0
0.009464
0.272101
871
38
65
22.921053
0.788644
0.019518
0
0
0
0
0.007151
0
0
0
0
0
0
1
0.217391
false
0.217391
0.043478
0.043478
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
b6b72d4482f07a1269f3296d2e1827d78e450620
19,711
py
Python
arista/tag/v1/tag_pb2.py
barryCrunch/cloudvision-python
bafb55a57743141ef419ce8b6f3adda31a18ca42
[ "Apache-2.0" ]
8
2020-10-22T13:19:00.000Z
2021-12-16T02:16:47.000Z
arista/tag/v1/tag_pb2.py
barryCrunch/cloudvision-python
bafb55a57743141ef419ce8b6f3adda31a18ca42
[ "Apache-2.0" ]
6
2020-12-16T11:31:03.000Z
2021-11-19T10:00:37.000Z
arista/tag/v1/tag_pb2.py
barryCrunch/cloudvision-python
bafb55a57743141ef419ce8b6f3adda31a18ca42
[ "Apache-2.0" ]
7
2020-12-04T01:30:34.000Z
2021-11-11T21:40:12.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: arista/tag.v1/tag.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from go...
39.343313
2,035
0.76744
2,405
19,711
5.985447
0.089813
0.035568
0.044321
0.029177
0.675512
0.647586
0.585689
0.580757
0.576381
0.576381
0
0.045612
0.109076
19,711
500
2,036
39.422
0.774102
0.041601
0
0.621924
1
0.002237
0.224465
0.186639
0
0
0
0
0
1
0
false
0
0.017897
0
0.017897
0
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
0
0
0
0
0
0
0
0
0
2
fcb01ec305f04809e3a6ca1a1a52479e8d42fc7c
262
py
Python
languages/python/algorithm_fibo2.py
Andilyn/learntosolveit
fd15345c74ef543e4e26f4691bf91cb6dac568a4
[ "BSD-3-Clause" ]
1
2021-04-09T04:15:24.000Z
2021-04-09T04:15:24.000Z
languages/python/algorithm_fibo2.py
Andilyn/learntosolveit
fd15345c74ef543e4e26f4691bf91cb6dac568a4
[ "BSD-3-Clause" ]
null
null
null
languages/python/algorithm_fibo2.py
Andilyn/learntosolveit
fd15345c74ef543e4e26f4691bf91cb6dac568a4
[ "BSD-3-Clause" ]
1
2021-07-31T02:45:29.000Z
2021-07-31T02:45:29.000Z
def fibo(n): f = [0,1] if n in f: return f[n] for i in range(2,n+1): f.append(f[i-1] + f[i-2]) return f[n] print fibo(37) """ print fibo(1) print fibo(2) print fibo(3) print fibo(4) print fibo(5) print fibo(6) print fibo(37) """
13.789474
33
0.541985
55
262
2.581818
0.363636
0.507042
0.112676
0
0
0
0
0
0
0
0
0.08377
0.270992
262
18
34
14.555556
0.659686
0
0
0.25
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.125
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
1
0
0
0
0
0
0
0
0
2
fcb5ff1aa487732a140a3585c9ba23911a288769
668
py
Python
scripts/irods/test/test_client_hints.py
JustinKyleJames/irods
59e9db75200e95796ec51ec20eb3b185d9e4b5f5
[ "BSD-3-Clause" ]
333
2015-01-15T15:42:29.000Z
2022-03-19T19:16:15.000Z
scripts/irods/test/test_client_hints.py
JustinKyleJames/irods
59e9db75200e95796ec51ec20eb3b185d9e4b5f5
[ "BSD-3-Clause" ]
3,551
2015-01-02T19:55:40.000Z
2022-03-31T21:24:56.000Z
scripts/irods/test/test_client_hints.py
JustinKyleJames/irods
59e9db75200e95796ec51ec20eb3b185d9e4b5f5
[ "BSD-3-Clause" ]
148
2015-01-31T16:13:46.000Z
2022-03-23T20:23:43.000Z
from __future__ import print_function import sys import shutil import os if sys.version_info >= (2, 7): import unittest else: import unittest2 as unittest import os import datetime import socket from .. import test from . import settings from .. import lib from . import resource_suite from ..configuration impo...
22.266667
82
0.747006
84
668
5.761905
0.52381
0.082645
0.053719
0.099174
0.115702
0
0
0
0
0
0
0.005415
0.170659
668
29
83
23.034483
0.868231
0
0
0.086957
0
0
0.053973
0
0
0
0
0
0.043478
1
0.130435
false
0
0.608696
0
0.782609
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fcbf5526c7f9b990b21dd4cfa6f440213421292a
2,210
py
Python
allennlp/common/lazy.py
jayjfu/allennlp
a3732d00a3e7dae3bff54bff19ece7b8b6eaca88
[ "Apache-2.0" ]
2
2020-08-29T20:29:38.000Z
2022-03-28T02:58:42.000Z
allennlp/common/lazy.py
jayjfu/allennlp
a3732d00a3e7dae3bff54bff19ece7b8b6eaca88
[ "Apache-2.0" ]
67
2020-09-23T23:26:11.000Z
2022-03-29T13:04:00.000Z
allennlp/common/lazy.py
jayjfu/allennlp
a3732d00a3e7dae3bff54bff19ece7b8b6eaca88
[ "Apache-2.0" ]
2
2021-01-19T10:58:28.000Z
2022-02-23T19:09:36.000Z
import inspect from typing import Callable, Generic, TypeVar, Type, Union from allennlp.common.params import Params T = TypeVar("T") class Lazy(Generic[T]): """ This class is for use when constructing objects using `FromParams`, when an argument to a constructor has a _sequential dependency_ with anoth...
37.457627
103
0.697738
282
2,210
5.336879
0.425532
0.034552
0.042525
0.025249
0
0
0
0
0
0
0
0.001741
0.220362
2,210
58
104
38.103448
0.871735
0.661086
0
0
0
0
0.001572
0
0
0
0
0
0
1
0.2
false
0
0.2
0.133333
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
fcd586ec0db6d2f4b8eed8f2b31ec8ed9cf51566
687
py
Python
app/backend/manage.py
bcgov/gwells
7d69e65e993d37070961e06e6ce9c58a02d79363
[ "Apache-2.0" ]
37
2017-06-30T18:08:51.000Z
2022-02-13T18:04:10.000Z
app/backend/manage.py
bcgov/gwells
7d69e65e993d37070961e06e6ce9c58a02d79363
[ "Apache-2.0" ]
544
2017-06-21T00:29:20.000Z
2022-02-01T21:37:38.000Z
app/backend/manage.py
bcgov/gwells
7d69e65e993d37070961e06e6ce9c58a02d79363
[ "Apache-2.0" ]
59
2017-03-10T17:55:02.000Z
2021-11-16T19:20:08.000Z
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "gwells.settings") from django.core.management import execute_from_command_line from django.conf import settings if settings.DEBUG: if os.environ.get('RUN_MAIN') or os.enviro...
32.714286
77
0.650655
89
687
4.786517
0.550562
0.084507
0.084507
0.103286
0
0
0
0
0
0
0
0.015474
0.247453
687
20
78
34.35
0.808511
0.029112
0
0
0
0
0.25976
0.033033
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
fcd8a7fe801c380d0cc99b020e3491ff1be849f1
1,324
py
Python
src/djangoflash/tests/context_processors.py
duct-tape/django-flash
ce77d3ca3d6823068984f898c3b44e2fef0beb8b
[ "BSD-3-Clause" ]
null
null
null
src/djangoflash/tests/context_processors.py
duct-tape/django-flash
ce77d3ca3d6823068984f898c3b44e2fef0beb8b
[ "BSD-3-Clause" ]
null
null
null
src/djangoflash/tests/context_processors.py
duct-tape/django-flash
ce77d3ca3d6823068984f898c3b44e2fef0beb8b
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """djangoflash.context_processors test cases. """ from unittest import TestCase from django.core.exceptions import SuspiciousOperation from django.http import HttpRequest from djangoflash.context_processors import CONTEXT_VAR, flash from djangoflash.models import FlashScope class FlashCont...
33.1
97
0.706949
147
1,324
6.265306
0.394558
0.083605
0.078176
0.091205
0.312704
0.2519
0.093377
0.093377
0.093377
0
0
0.000943
0.199396
1,324
39
98
33.948718
0.867925
0.294562
0
0
0
0
0.015436
0
0
0
0
0
0.157895
1
0.210526
false
0
0.263158
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
fcdf356a0b95d5923efc711b67b00cf106ae3fd4
1,102
py
Python
data/base/base_extractor.py
yovelcohen/ccl
ba2abe609110f21f1db7c0c95f785e4010df8abd
[ "MIT" ]
null
null
null
data/base/base_extractor.py
yovelcohen/ccl
ba2abe609110f21f1db7c0c95f785e4010df8abd
[ "MIT" ]
null
null
null
data/base/base_extractor.py
yovelcohen/ccl
ba2abe609110f21f1db7c0c95f785e4010df8abd
[ "MIT" ]
null
null
null
from typing import Optional import requests from data.base.base_data_class import BaseDataProcess class BaseExtractor(BaseDataProcess): @classmethod def extract(cls, *args, **kwargs): raise NotImplementedError class BaseAPIExtractor(BaseExtractor): def get_headers(self): return {} ...
27.55
99
0.683303
132
1,102
5.537879
0.340909
0.04104
0.087551
0.090287
0
0
0
0
0
0
0
0
0.23412
1,102
39
100
28.25641
0.866114
0.068058
0
0.16
0
0
0
0
0
0
0
0
0
1
0.28
false
0
0.12
0.08
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
fce6603b5dad35c766145b59c395cc640151cb3c
424
py
Python
ivy/doc/examples/udp_test_expect.py
b1f6c1c4/cfg-enum
1a08071bde87f578ceaf834004c01b593db9bce8
[ "BSD-3-Clause" ]
113
2019-05-09T15:37:47.000Z
2022-03-14T04:02:01.000Z
ivy/doc/examples/udp_test_expect.py
b1f6c1c4/cfg-enum
1a08071bde87f578ceaf834004c01b593db9bce8
[ "BSD-3-Clause" ]
58
2019-09-03T15:42:29.000Z
2021-01-15T02:20:29.000Z
ivy/doc/examples/udp_test_expect.py
b1f6c1c4/cfg-enum
1a08071bde87f578ceaf834004c01b593db9bce8
[ "BSD-3-Clause" ]
40
2016-01-02T19:13:18.000Z
2018-10-27T11:38:00.000Z
import pexpect import sys def run(name,opts,res): child = pexpect.spawn('./{}'.format(name)) child.logfile = sys.stdout try: child.expect('>') child.sendline('foo.send(0,1,2)') child.expect(r'< foo.recv\(1,2\)') child.sendline('foo.send(1,0,3)') child.expect(r'foo.re...
24.941176
46
0.570755
59
424
4.101695
0.525424
0.136364
0.132231
0.165289
0.157025
0
0
0
0
0
0
0.031646
0.254717
424
16
47
26.5
0.734177
0
0
0
0
0
0.158019
0
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.066667
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
1
0
0
0
0
0
0
0
0
2
fceaf9fd2340a5d546f20a5d9c09da2d4e7e2c0c
1,237
py
Python
2018/day4.py
dimkarakostas/advent-of-code
fb9c12eabc3342c607e24da1edeb7e5643400263
[ "MIT" ]
2
2018-12-06T09:39:35.000Z
2020-12-18T19:38:40.000Z
2018/day4.py
dimkarakostas/advent-of-code
fb9c12eabc3342c607e24da1edeb7e5643400263
[ "MIT" ]
null
null
null
2018/day4.py
dimkarakostas/advent-of-code
fb9c12eabc3342c607e24da1edeb7e5643400263
[ "MIT" ]
null
null
null
import operator from collections import defaultdict with open('input4', 'r') as f: events = sorted(f.readlines()) guard_shifts = defaultdict(list) guard_totals = defaultdict(int) guard_id = '' for e in events: e = e.split() if e[-1] == 'shift': guard_id = int(e[3][1:]) if e[-1] in ['asleep', ...
32.552632
93
0.63945
202
1,237
3.683168
0.242574
0.178763
0.150538
0.172043
0.198925
0.174731
0.115591
0.115591
0.115591
0.115591
0
0.028254
0.198868
1,237
37
94
33.432432
0.722503
0
0
0
0
0
0.029103
0
0
0
0
0
0
0
null
null
0
0.064516
null
null
0.064516
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
1
0
0
0
0
0
0
0
0
2
fcf38cb8f2a74c4130c1e494bd0e1b74f74a0df4
187
py
Python
writeData.py
Aksonik/quickPyPlot
c5b202e954f86f664dd9ced98e9860c2ac1be06a
[ "MIT" ]
null
null
null
writeData.py
Aksonik/quickPyPlot
c5b202e954f86f664dd9ced98e9860c2ac1be06a
[ "MIT" ]
null
null
null
writeData.py
Aksonik/quickPyPlot
c5b202e954f86f664dd9ced98e9860c2ac1be06a
[ "MIT" ]
null
null
null
class writeDataClass(): def writeData(self,dataFiles): fileData=open("plt.dat","w") for f in range(0,len(dataFiles)): fileData.write("%s\n" % dataFiles[f]) fileData.close()
17
40
0.668449
26
187
4.807692
0.807692
0.272
0
0
0
0
0
0
0
0
0
0.00625
0.144385
187
10
41
18.7
0.775
0
0
0
0
0
0.064516
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fcf39bf7ff16b2c3cf73f563a23b1166cb813450
474
py
Python
people/forms.py
JimInCO/bishopric_tools
6d7ddee52eb1f5884b051d9cb2eab9c241663423
[ "MIT" ]
null
null
null
people/forms.py
JimInCO/bishopric_tools
6d7ddee52eb1f5884b051d9cb2eab9c241663423
[ "MIT" ]
2
2020-03-09T04:49:55.000Z
2020-03-10T04:08:16.000Z
people/forms.py
JimInCO/bishopric_tools
6d7ddee52eb1f5884b051d9cb2eab9c241663423
[ "MIT" ]
null
null
null
from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit from django import forms from people.models import Member class MemberAddForm(forms.ModelForm): class Meta: model = Member exclude = ["active"] def __init__(self, *args, **kwargs): super().__init__(*arg...
26.333333
64
0.677215
57
474
5.421053
0.526316
0.097087
0.097087
0
0
0
0
0
0
0
0
0
0.21308
474
17
65
27.882353
0.828418
0
0
0
0
0
0.06962
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
1e060c1f35b19e4fa9cc45cd4bbf4d474fcfe0a9
716
py
Python
homeassistant/components/energy/__init__.py
Andrew55529/core
c440a30aff0d8f573d8aa0d949068702dd36c386
[ "Apache-2.0" ]
1
2021-07-31T21:08:49.000Z
2021-07-31T21:08:49.000Z
homeassistant/components/energy/__init__.py
flexy2dd/core
1019ee22ff13e5f542e868179d791e6a0d87369a
[ "Apache-2.0" ]
70
2020-07-16T02:07:46.000Z
2022-03-31T06:01:48.000Z
homeassistant/components/energy/__init__.py
flexy2dd/core
1019ee22ff13e5f542e868179d791e6a0d87369a
[ "Apache-2.0" ]
1
2020-03-09T19:15:38.000Z
2020-03-09T19:15:38.000Z
"""The Energy integration.""" from __future__ import annotations from homeassistant.components import frontend from homeassistant.core import HomeAssistant from homeassistant.helpers import discovery from homeassistant.helpers.typing import ConfigType from . import websocket_api from .const import DOMAIN async def ...
27.538462
86
0.743017
84
716
6.130952
0.52381
0.132039
0.093204
0
0
0
0
0
0
0
0
0
0.162011
716
25
87
28.64
0.858333
0.032123
0
0
0
0
0.053973
0
0
0
0
0
0
1
0
true
0
0.411765
0
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
1e085582e8db64dd99eb9d89c66830c3c453bdd6
342
py
Python
lesson 1/p8-highest.py
hamburgcodingschool/L2C-1903
759c273edb4b2e1685c28f932694f7a5a1e2b0a1
[ "MIT" ]
null
null
null
lesson 1/p8-highest.py
hamburgcodingschool/L2C-1903
759c273edb4b2e1685c28f932694f7a5a1e2b0a1
[ "MIT" ]
null
null
null
lesson 1/p8-highest.py
hamburgcodingschool/L2C-1903
759c273edb4b2e1685c28f932694f7a5a1e2b0a1
[ "MIT" ]
null
null
null
# print("Please insert a number") # a = int(input("> ")) # print("Please insert another number") # b = int(input("> ")) # print("Please insert yet another number") # c = int(input("> ")) a = 4 b = 5 c = 10 if a > b: if a > c: print(a) else: print(c) else: if b > c: print(b) ...
14.25
43
0.494152
51
342
3.313725
0.313725
0.195266
0.301775
0.224852
0.295858
0
0
0
0
0
0
0.017316
0.324561
342
24
44
14.25
0.714286
0.508772
0
0.384615
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.307692
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1e1f0a6daa16d5e3e8cb26636dfce0d7bc6d2104
1,010
py
Python
hase/symbex/procedures/helper.py
bet4it/hase
35022b6142ae43e48b6cf3b0d719a2743e37660e
[ "BSD-2-Clause" ]
69
2018-04-05T15:16:13.000Z
2022-01-09T21:23:09.000Z
hase/symbex/procedures/helper.py
bet4it/hase
35022b6142ae43e48b6cf3b0d719a2743e37660e
[ "BSD-2-Clause" ]
28
2018-05-09T04:08:39.000Z
2019-03-12T11:41:47.000Z
hase/symbex/procedures/helper.py
bet4it/hase
35022b6142ae43e48b6cf3b0d719a2743e37660e
[ "BSD-2-Clause" ]
6
2018-04-19T20:47:43.000Z
2020-09-03T17:04:44.000Z
import angr from ... import errors # Need to resymbolize hooks def test_concrete_value(proc, sym, value): if not proc.state.solver.symbolic(sym): if proc.state.solver.eval(sym) == value: return True return False def errno_success(proc): return proc.state.solver.If( proc.sta...
23.488372
56
0.610891
139
1,010
4.374101
0.323741
0.207237
0.271382
0.083882
0.314145
0.276316
0.276316
0.276316
0.276316
0.157895
0
0.004054
0.267327
1,010
42
57
24.047619
0.817568
0.024752
0
0.258065
0
0
0.027467
0
0
0
0
0
0
1
0.129032
false
0
0.064516
0.064516
0.419355
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1e26d24bae72fb15208d8205bdc097db6b815769
435
py
Python
src/training/listen/Listen.py
sbetageri/ralph
7449c78342b49ea79a26189fc749eecd64e775c8
[ "MIT" ]
null
null
null
src/training/listen/Listen.py
sbetageri/ralph
7449c78342b49ea79a26189fc749eecd64e775c8
[ "MIT" ]
null
null
null
src/training/listen/Listen.py
sbetageri/ralph
7449c78342b49ea79a26189fc749eecd64e775c8
[ "MIT" ]
null
null
null
import torch import torch.nn as nn class ListenNet(nn.Module): def __init__(self, device): super(ListenNet, self).__init__() self.lstm = nn.LSTM(input_size=13, hidden_size=256, num_layers=3) self.lstm = self.lstm.to(device) def forward(self, x): lstm_out, (hidden, carry)= self....
29
73
0.645977
62
435
4.306452
0.483871
0.149813
0.097378
0
0
0
0
0
0
0
0
0.020772
0.225287
435
15
74
29
0.771513
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
0.083333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
1e407cc6c79f1ba3f1ed19e45d791c550ce33056
849
py
Python
woffle/embed/numeric/fasttext/embed.py
karetsu/chatter
f93a2749b28187e63768dce0c9de29203c8868cb
[ "MIT" ]
5
2019-03-06T14:35:46.000Z
2022-01-15T22:33:59.000Z
woffle/embed/numeric/fasttext/embed.py
karetsu/chatter
f93a2749b28187e63768dce0c9de29203c8868cb
[ "MIT" ]
29
2018-12-03T12:47:19.000Z
2019-01-21T14:58:46.000Z
woffle/embed/numeric/fasttext/embed.py
karetsu/chatter
f93a2749b28187e63768dce0c9de29203c8868cb
[ "MIT" ]
2
2018-12-12T14:41:14.000Z
2018-12-14T20:53:01.000Z
""" fasttext embedding functionality The important function here is 'embed' which has signature embed :: String -> [Float], everything else should just be part of it """ #-- Imports --------------------------------------------------------------------- # base import functools from typing import List, NewType # third...
24.257143
81
0.558304
84
849
5.571429
0.607143
0.055556
0.089744
0
0
0
0
0
0
0
0
0
0.117786
849
34
82
24.970588
0.624833
0.506478
0
0
0
0
0.068966
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0.090909
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
1e421cde1fb53f5b4e2b4043c5d9512adee1d626
401
py
Python
db.py
maxriposati/grupo43
e22ca0a183bfe891f9ba0a46354c9390b739fe46
[ "MIT" ]
null
null
null
db.py
maxriposati/grupo43
e22ca0a183bfe891f9ba0a46354c9390b739fe46
[ "MIT" ]
null
null
null
db.py
maxriposati/grupo43
e22ca0a183bfe891f9ba0a46354c9390b739fe46
[ "MIT" ]
null
null
null
import sqlite3 from sqlite3 import Error from flask import g def get_db(): try: if 'db' not in g: g.db=sqlite3.connect('db/database.db') return g.db except Error: print(Error) def close_db(): db = g.pop('db',None) if db is not None: db.close()...
19.095238
51
0.591022
60
401
3.9
0.4
0.111111
0.145299
0.205128
0.42735
0.42735
0.42735
0.42735
0.42735
0
0
0.018382
0.321696
401
20
52
20.05
0.841912
0
0
0.235294
0
0
0.047244
0
0
0
0
0
0
1
0.117647
false
0
0.352941
0
0.529412
0.058824
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
1e43a2fc2bcfec9b5d86445633aabea08a83f0a3
20,363
py
Python
src/compute.client/python_client/compute_rhino3d/Brep.py
EmilPoulsen/compute.rhino3d
05a1bd43e5f319eb313032f99bdd2624c4ea9e42
[ "MIT" ]
1
2022-02-20T19:01:48.000Z
2022-02-20T19:01:48.000Z
src/compute.client/python_client/compute_rhino3d/Brep.py
interopxyz/compute.rhino3d
05a1bd43e5f319eb313032f99bdd2624c4ea9e42
[ "MIT" ]
null
null
null
src/compute.client/python_client/compute_rhino3d/Brep.py
interopxyz/compute.rhino3d
05a1bd43e5f319eb313032f99bdd2624c4ea9e42
[ "MIT" ]
5
2018-10-27T17:06:15.000Z
2019-04-07T10:31:08.000Z
from . import Util def ChangeSeam(face, direction, parameter, tolerance): args = [face, direction, parameter, tolerance] response = Util.ComputeFetch("rhino/geometry/brep/changeseam-brepface_int_double_double", args) return response def CopyTrimCurves(trimSource, surfaceSource, tolerance): args = [t...
40.644711
176
0.782449
2,038
20,363
7.70265
0.119725
0.063448
0.126895
0.153332
0.746656
0.67499
0.562365
0.474455
0.379157
0.31297
0
0.010664
0.125031
20,363
500
177
40.726
0.870405
0
0
0.348348
0
0
0.264316
0.264316
0
0
0
0
0
1
0.249249
false
0
0.003003
0
0.501502
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
1e4bfcf3942358a807f95445f45c826ed6e46a32
361
py
Python
drf_simple_invite/urls.py
mattyg/drf-simple-invite
7d2b9a512f5e02cc0b492c79689531e2ad67a243
[ "BSD-3-Clause" ]
6
2019-08-09T06:37:47.000Z
2022-01-06T08:36:55.000Z
drf_simple_invite/urls.py
thapabishwa/drf_simple_invite
154d144b45585b748739322c22ef42ac3899646a
[ "BSD-3-Clause" ]
12
2019-07-03T21:12:12.000Z
2021-06-25T15:24:13.000Z
drf_simple_invite/urls.py
thapabishwa/drf_simple_invite
154d144b45585b748739322c22ef42ac3899646a
[ "BSD-3-Clause" ]
3
2020-02-07T22:51:52.000Z
2021-12-17T06:02:46.000Z
from django.conf.urls import url from rest_framework import routers from drf_simple_invite.views import SetUserPasswordView, InviteUserView router = routers.DefaultRouter() app_name = 'drf_simple_invite' urlpatterns = [ url(r'^confirm', SetUserPasswordView.as_view(), name='confirm-user'), url(r'^', InviteUs...
25.785714
73
0.764543
45
361
5.955556
0.555556
0.067164
0.11194
0
0
0
0
0
0
0
0
0
0.113573
361
13
74
27.769231
0.8375
0
0
0
0
0
0.135734
0
0
0
0
0
0
1
0
false
0.222222
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
1e667ba1e94f3ec1ee3b00e6ac770ad762185aac
3,342
py
Python
unit_test.py
danielgriggs/console80
7050647a0a6f0fcaa31046a3623c96185e183f96
[ "MIT" ]
null
null
null
unit_test.py
danielgriggs/console80
7050647a0a6f0fcaa31046a3623c96185e183f96
[ "MIT" ]
null
null
null
unit_test.py
danielgriggs/console80
7050647a0a6f0fcaa31046a3623c96185e183f96
[ "MIT" ]
null
null
null
#!/usr/bin/python import console80v2 singleton = console80v2.singleIntValue() print "=== Singleton Time ===" print "" print singleton print "" print "Set a max number of items in history" singleton.setMaxHistoryLength(4) print singleton print "" print "Add 0 through 7 to history" for i in range(1,8): singleton.up...
27.85
69
0.717235
467
3,342
5.132762
0.149893
0.079266
0.050063
0.027534
0.67209
0.592407
0.547768
0.485607
0.468919
0.448894
0
0.027749
0.126571
3,342
119
70
28.084034
0.793422
0.004788
0
0.628319
0
0
0.271523
0
0
0
0
0
0
0
null
null
0
0.00885
null
null
0.761062
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
2
1e7e6a73854ea7cfa7b06c8d60fbaad94a3a05c7
2,588
py
Python
stock_indicators/indicators/kama.py
LeeDongGeon1996/Stock.Indicators.Python
b706d00279a8ab5f2794417ddef1bf45e1c48587
[ "Apache-2.0" ]
13
2021-11-09T13:16:31.000Z
2022-03-28T00:30:30.000Z
stock_indicators/indicators/kama.py
LeeDongGeon1996/Stock.Indicators.Python
b706d00279a8ab5f2794417ddef1bf45e1c48587
[ "Apache-2.0" ]
162
2021-11-03T15:57:17.000Z
2022-03-30T15:32:20.000Z
stock_indicators/indicators/kama.py
LeeDongGeon1996/Stock.Indicators.Python
b706d00279a8ab5f2794417ddef1bf45e1c48587
[ "Apache-2.0" ]
5
2021-11-04T13:35:05.000Z
2022-01-06T10:27:38.000Z
from decimal import Decimal from typing import Iterable, Optional, TypeVar from stock_indicators._cslib import CsIndicator from stock_indicators._cstypes import List as CsList from stock_indicators._cstypes import Decimal as CsDecimal from stock_indicators._cstypes import to_pydecimal from stock_indicators.indicators....
34.506667
107
0.704405
310
2,588
5.774194
0.341935
0.075419
0.074302
0.043575
0.250279
0.115642
0.097207
0.046927
0
0
0
0.004936
0.217156
2,588
74
108
34.972973
0.878578
0.43238
0
0.068966
0
0
0.001479
0
0
0
0
0
0
1
0.172414
false
0
0.310345
0.068966
0.655172
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
1e8f5c3afab5efd85940a5be757ce5169c8a9811
256
py
Python
dice.py
Jmainguy/pyHackpySlash
4f54cbb1ac8bb7dbc33301be81f2bd0625f0ff4d
[ "BSD-3-Clause" ]
1
2021-06-12T14:54:28.000Z
2021-06-12T14:54:28.000Z
dice.py
Jmainguy/pyHackpySlash
4f54cbb1ac8bb7dbc33301be81f2bd0625f0ff4d
[ "BSD-3-Clause" ]
null
null
null
dice.py
Jmainguy/pyHackpySlash
4f54cbb1ac8bb7dbc33301be81f2bd0625f0ff4d
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python import random def attackroll(): attackdice = 1 attackdicesides = 20 RANDOM = random.randint(1, attackdicesides) return RANDOM def damageroll(): damagedice = 1 damagesides = 6 RANDOM = random.randint(1, damagesides) return RANDOM
18.285714
44
0.746094
31
256
6.16129
0.548387
0.094241
0.198953
0.209424
0
0
0
0
0
0
0
0.032407
0.15625
256
13
45
19.692308
0.851852
0.0625
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.454545
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1e93cfdd86dac61d03e0a272ee87d222f410532d
326
py
Python
direct/nn/unet/config.py
iamRyanChia/direct
c3c5e828c22c07e712cb2a4995c47f68a958f13d
[ "Apache-2.0" ]
null
null
null
direct/nn/unet/config.py
iamRyanChia/direct
c3c5e828c22c07e712cb2a4995c47f68a958f13d
[ "Apache-2.0" ]
null
null
null
direct/nn/unet/config.py
iamRyanChia/direct
c3c5e828c22c07e712cb2a4995c47f68a958f13d
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright (c) DIRECT Contributors from dataclasses import dataclass from direct.config.defaults import ModelConfig @dataclass class UnetModel2dConfig(ModelConfig): in_channels: int = 2 out_channels: int = 2 num_filters: int = 16 num_pool_layers: int = 4 dropout_probability: float ...
23.285714
46
0.745399
43
326
5.511628
0.72093
0.092827
0.101266
0
0
0
0
0
0
0
0
0.033835
0.184049
326
13
47
25.076923
0.857143
0.141104
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
1e963214fc924e438ac7c695dbee017b09a94b67
3,490
py
Python
tests/functional_tests/fixtures/providers.py
chdb/authomatic
5f02338a9ebc3329fd12f6c67b7047acea4709dc
[ "MIT" ]
null
null
null
tests/functional_tests/fixtures/providers.py
chdb/authomatic
5f02338a9ebc3329fd12f6c67b7047acea4709dc
[ "MIT" ]
null
null
null
tests/functional_tests/fixtures/providers.py
chdb/authomatic
5f02338a9ebc3329fd12f6c67b7047acea4709dc
[ "MIT" ]
null
null
null
# encoding: utf-8 import abc from selenium.webdriver.common.keys import Keys class BaseProviderFixture(object): """ Base class for provider fixtures. Provides mechanisms of logging the user in by a provider and consenting to grant access to the tested application. """ __metaclass__ = abc.AB...
26.641221
84
0.57765
381
3,490
5.125984
0.291339
0.032258
0.036866
0.040963
0.305172
0.270353
0.168971
0.168971
0.116743
0.116743
0
0.004542
0.306017
3,490
130
85
26.846154
0.801817
0.004298
0
0.285714
0
0.014286
0.18876
0.096124
0
0
0
0
0
0
null
null
0.228571
0.028571
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
1e97335310dcfac8d0fa86edf318c4df60dac6c3
4,063
py
Python
Dectron2/Algo/amenity_algo.py
ashwath007/aminity-detection
acb885eb4d791acc6e65237445a4fc6830e4d30c
[ "Apache-2.0" ]
1
2021-01-18T11:18:25.000Z
2021-01-18T11:18:25.000Z
Dectron2/Algo/amenity_algo.py
ashwath007/aminity-detection
acb885eb4d791acc6e65237445a4fc6830e4d30c
[ "Apache-2.0" ]
null
null
null
Dectron2/Algo/amenity_algo.py
ashwath007/aminity-detection
acb885eb4d791acc6e65237445a4fc6830e4d30c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """amenity_algo.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1JjXRbubKgw6DvQcbRjw9WcdrTYdOrPAC """ # Commented out IPython magic to ensure Python compatibility. !pip install -U torch==1.4+cu100 torchvision==0.5+cu100 -f...
36.936364
187
0.769136
567
4,063
5.439153
0.432099
0.019455
0.036965
0.008431
0.120947
0.085603
0.085603
0.085603
0.085603
0.085603
0
0.01501
0.130938
4,063
109
188
37.275229
0.858397
0.39429
0
0
1
0
0.187943
0.027482
0
0
0
0
0
0
null
null
0
0.205882
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
1e977843f31b2c38edfe91b35579fdea382bb1a9
10,172
py
Python
walletlib/coinomi_proto.py
satoshi-n/walletlib
272ddf0a974a4da0f417eed632e9d028ee19bf79
[ "Unlicense" ]
null
null
null
walletlib/coinomi_proto.py
satoshi-n/walletlib
272ddf0a974a4da0f417eed632e9d028ee19bf79
[ "Unlicense" ]
null
null
null
walletlib/coinomi_proto.py
satoshi-n/walletlib
272ddf0a974a4da0f417eed632e9d028ee19bf79
[ "Unlicense" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # sources: coinomiwallet.proto # plugin: python-betterproto from dataclasses import dataclass from typing import List import betterproto class KeyType(betterproto.Enum): ORIGINAL = 1 ENCRYPTED_SCRYPT_AES = 2 DETERMINISTIC_MNEMONIC = 3 DETERMI...
41.518367
81
0.735843
1,405
10,172
5.235587
0.28968
0.061175
0.042822
0.053018
0.171561
0.066069
0.039967
0.012779
0.012779
0
0
0.018652
0.193571
10,172
244
82
41.688525
0.878093
0.467263
0
0.140351
1
0
0.047537
0.013937
0
0
0
0
0
1
0
false
0
0.026316
0
0.894737
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
1e9c1c4d3812edf63f576c146c1a068b5cb823cb
1,334
py
Python
bluesky/tests/test_olog_cb.py
AbbyGi/bluesky
759f9c55dce97dc47513cca749a69dd861bdf58d
[ "BSD-3-Clause" ]
43
2015-08-04T20:13:41.000Z
2019-04-12T17:21:36.000Z
bluesky/tests/test_olog_cb.py
AbbyGi/bluesky
759f9c55dce97dc47513cca749a69dd861bdf58d
[ "BSD-3-Clause" ]
966
2015-07-29T16:43:21.000Z
2019-05-09T21:02:28.000Z
bluesky/tests/test_olog_cb.py
AbbyGi/bluesky
759f9c55dce97dc47513cca749a69dd861bdf58d
[ "BSD-3-Clause" ]
48
2019-05-15T18:01:06.000Z
2022-03-03T18:53:43.000Z
from bluesky import Msg from bluesky.callbacks.olog import logbook_cb_factory text = [] def f(**kwargs): text.append(kwargs['text']) def test_default_template(RE): text.clear() RE.subscribe(logbook_cb_factory(f), 'start') RE([Msg('open_run', plan_args={}), Msg('close_run')]) assert len(text[0])...
29
71
0.632684
195
1,334
4.076923
0.210256
0.044025
0.079245
0.10566
0.703145
0.703145
0.703145
0.622642
0.602516
0.545912
0
0.004525
0.171664
1,334
45
72
29.644444
0.714932
0.042729
0
0.4375
0
0
0.135793
0
0
0
0
0
0.125
1
0.125
false
0
0.0625
0
0.1875
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1e9d4fe08c78dd0c209780bf5c525f478d7523d8
416
py
Python
venv/lib/python3.6/site-packages/pykalman/sqrt/tests/test_bierman.py
QuantTraderEd/vnpy_crypto
a1142eddaa8a7eb63cc13af30554c05718e151b1
[ "MIT" ]
34
2018-07-13T11:30:46.000Z
2022-01-05T13:48:10.000Z
venv/lib/python3.6/site-packages/pykalman/sqrt/tests/test_bierman.py
HeyWeiPan/vnpy_crypto
844381797a475a01c05a4e162592a5a6e3a48032
[ "MIT" ]
null
null
null
venv/lib/python3.6/site-packages/pykalman/sqrt/tests/test_bierman.py
HeyWeiPan/vnpy_crypto
844381797a475a01c05a4e162592a5a6e3a48032
[ "MIT" ]
22
2018-07-13T11:30:48.000Z
2021-09-25T13:30:08.000Z
from unittest import TestCase from pykalman.sqrt import BiermanKalmanFilter from pykalman.tests.test_standard import KalmanFilterTests from pykalman.datasets import load_robot class BiermanKalmanFilterTestSuite(TestCase, KalmanFilterTests): """Run Kalman Filter tests on the UDU' Decomposition-based Kalman Filter"...
32
79
0.786058
47
416
6.893617
0.617021
0.111111
0
0
0
0
0
0
0
0
0
0
0.153846
416
12
80
34.666667
0.920455
0.165865
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
1eaae9c3607b8223e9bc956287d1a238d0263d6e
1,131
py
Python
screenpy/questions/text_of_the_alert.py
Z-Brueske/screenpy
1c852a49eb3821727662458fd707b9bcf48bb8cf
[ "MIT" ]
null
null
null
screenpy/questions/text_of_the_alert.py
Z-Brueske/screenpy
1c852a49eb3821727662458fd707b9bcf48bb8cf
[ "MIT" ]
null
null
null
screenpy/questions/text_of_the_alert.py
Z-Brueske/screenpy
1c852a49eb3821727662458fd707b9bcf48bb8cf
[ "MIT" ]
null
null
null
""" A question to discover the text of an alert. Questions must be asked with an expected resolution, like so: the_actor.should_see_the( (TextOfTheAlert(), ReadsExactly("Look out!!")), ) """ from ..abilities import BrowseTheWeb from ..actor import Actor from ..pacing import beat from .base_question i...
26.928571
76
0.660477
152
1,131
4.828947
0.506579
0.065395
0.024523
0
0
0
0
0
0
0
0
0
0.259947
1,131
41
77
27.585366
0.876941
0.567639
0
0
0
0
0.085271
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
1ec48483cf6a812b6fdeaee84a44fdb371df5a34
1,522
py
Python
test.py
MushinMiscellanea/Musically
f1bd8df3e43317213b149bda255445d6ac3a2c09
[ "MIT" ]
null
null
null
test.py
MushinMiscellanea/Musically
f1bd8df3e43317213b149bda255445d6ac3a2c09
[ "MIT" ]
null
null
null
test.py
MushinMiscellanea/Musically
f1bd8df3e43317213b149bda255445d6ac3a2c09
[ "MIT" ]
null
null
null
import csv import pandas as pd import matplotlib as mt pitch = pd.read_csv('/Users/spencerfinkel/repos/musically/pitch_freq.csv') pitch = pitch.rename(columns={'Unnamed: 2': 'Octive'}) p = (list(pitch)) freq = pitch['Frequency (Hz)'] freq.() '''#frequency of all notes in a scale for i in range(13): freq = 16....
21.43662
75
0.574244
226
1,522
3.849558
0.362832
0.048276
0.02069
0.037931
0.236782
0.165517
0.133333
0.075862
0.075862
0.075862
0
0.063463
0.275296
1,522
70
76
21.742857
0.725295
0
0
0
0
0
0.325301
0.204819
0
0
0
0
0
0
null
null
0
0.375
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
1ec6276dbd014d4e7c628f11208c2aa3d1f62cfc
2,410
py
Python
source/cyoa/forms.py
eeyun/cyoa
ad619c60b1c960c2bfadda87f92637796d93ca8f
[ "Apache-2.0" ]
3
2017-02-28T19:41:07.000Z
2021-08-18T22:49:19.000Z
source/cyoa/forms.py
eeyun/cyoa
ad619c60b1c960c2bfadda87f92637796d93ca8f
[ "Apache-2.0" ]
null
null
null
source/cyoa/forms.py
eeyun/cyoa
ad619c60b1c960c2bfadda87f92637796d93ca8f
[ "Apache-2.0" ]
null
null
null
from flask.ext.wtf import Form from wtforms import StringField, PasswordField, BooleanField, SubmitField, \ DateField, IntegerField from wtforms.validators import Required, Length, Regexp, EqualTo from wtforms import ValidationError from .models import Wizard class LoginForm(Form): wizard_name...
47.254902
77
0.479668
206
2,410
5.563107
0.38835
0.109948
0.167539
0.17452
0.422339
0.319372
0.319372
0.267016
0.184991
0.106457
0
0.022496
0.428216
2,410
50
78
48.2
0.809144
0
0
0.325581
0
0
0.123237
0
0
0
0
0
0
1
0.023256
false
0.093023
0.116279
0
0.488372
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
1edd90a13cef945adf99324275344c4e5387f197
1,473
py
Python
pytest_never_sleep/hooks.py
DKorytkin/pytest-never-sleep
e655fbff4d51b8a7e41a56e584dae55013f7160f
[ "MIT" ]
null
null
null
pytest_never_sleep/hooks.py
DKorytkin/pytest-never-sleep
e655fbff4d51b8a7e41a56e584dae55013f7160f
[ "MIT" ]
2
2021-05-19T07:55:13.000Z
2021-05-21T09:49:05.000Z
pytest_never_sleep/hooks.py
DKorytkin/pytest-never-sleep
e655fbff4d51b8a7e41a56e584dae55013f7160f
[ "MIT" ]
null
null
null
import pytest # These are specifications, so no implementation: # pylint: disable=unused-argument @pytest.hookspec(firstresult=True) def pytest_never_sleep_whitelist(): """ This hook adds ability to adding own paths where `time.sleep` allowed and plugin will skip raising errors Returns ------- ...
27.792453
88
0.680244
191
1,473
5.089005
0.549738
0.037037
0.057613
0.078189
0.319959
0.30144
0.22428
0.22428
0
0
0
0.000881
0.229464
1,473
52
89
28.326923
0.855507
0.775289
0
0.4
0
0
0
0
0
0
0
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
948ea6a0b5c056f9fe9ef6242bd4fbe718ac42ab
6,142
py
Python
veqtor_keras/blocks/layer_factory.py
veqtor/veqtor_keras
303f81b7c6aaa7962b288541275fe7ea618804b9
[ "MIT" ]
1
2020-08-07T14:47:16.000Z
2020-08-07T14:47:16.000Z
veqtor_keras/blocks/layer_factory.py
veqtor/veqtor_keras
303f81b7c6aaa7962b288541275fe7ea618804b9
[ "MIT" ]
null
null
null
veqtor_keras/blocks/layer_factory.py
veqtor/veqtor_keras
303f81b7c6aaa7962b288541275fe7ea618804b9
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from tensorflow.keras import layers as tfkl from veqtor_keras import layers as vqkl def get_1d_layer(type, output_dim, output_mul, context_size, ...
62.040404
111
0.395799
346
6,142
6.679191
0.182081
0.027261
0.090004
0.055387
0.697101
0.697101
0.697101
0.697101
0.697101
0.697101
0
0.005199
0.561543
6,142
98
112
62.673469
0.852952
0
0
0.659574
0
0
0.023608
0.008466
0
0
0
0
0
1
0.010638
false
0
0.053191
0
0.106383
0.010638
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
94c52d6aae8dd2386cac52f2ba9082ee21f859b2
8,528
py
Python
tests/test_ft_redis.py
zul126/minemeld-core
2eb9b9bfd7654aee57aabd5fb280d4e89a438daf
[ "Apache-2.0" ]
1
2021-01-02T07:25:04.000Z
2021-01-02T07:25:04.000Z
tests/test_ft_redis.py
zul126/minemeld-core
2eb9b9bfd7654aee57aabd5fb280d4e89a438daf
[ "Apache-2.0" ]
null
null
null
tests/test_ft_redis.py
zul126/minemeld-core
2eb9b9bfd7654aee57aabd5fb280d4e89a438daf
[ "Apache-2.0" ]
1
2019-03-14T06:52:52.000Z
2019-03-14T06:52:52.000Z
# Copyright 2015 Palo Alto Networks, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
29.714286
75
0.585366
1,009
8,528
4.835481
0.177403
0.101455
0.04919
0.045091
0.744005
0.695224
0.675548
0.659766
0.624513
0.608321
0
0.010475
0.283537
8,528
286
76
29.818182
0.788052
0.072702
0
0.710145
0
0
0.055267
0
0
0
0
0
0.227053
1
0.038647
false
0.004831
0.028986
0
0.072464
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
94c6f00f1e90e2bb704b2f6875335a7a2ff04502
871
py
Python
setup.py
carlmontanari/sea_nwautomation_meetup_oct_2019
98da0fd40e1ba5733f79ef1f2e14276bbf439f00
[ "MIT" ]
3
2019-11-25T06:47:43.000Z
2021-05-29T13:27:06.000Z
setup.py
carlmontanari/sea_nwautomation_meetup_oct_2019
98da0fd40e1ba5733f79ef1f2e14276bbf439f00
[ "MIT" ]
null
null
null
setup.py
carlmontanari/sea_nwautomation_meetup_oct_2019
98da0fd40e1ba5733f79ef1f2e14276bbf439f00
[ "MIT" ]
2
2020-03-11T07:21:19.000Z
2021-05-29T13:27:07.000Z
#!/usr/bin/env python import setuptools __author__ = "Carl Montanari" with open("README.md", "r") as f: README = f.read() setuptools.setup( name="sea_nwautomation_meetup_oct_2019", version="2019.09.15", author=__author__, author_email="carl.r.montanari@gmail.com", description="Check out some...
28.096774
52
0.639495
98
871
5.479592
0.632653
0.141527
0.18622
0.193669
0
0
0
0
0
0
0
0.030747
0.215844
871
30
53
29.033333
0.75549
0.022962
0
0
0
0
0.454118
0.068235
0
0
0
0
0
1
0
false
0
0.04
0
0.04
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
94d1a5ad4a94c8f31389bab09def22acb7245f64
744
py
Python
comicolorization_sr/colorization_task/base.py
DwangoMediaVillage/Comicolorization
98f323e78baceae0b1086f01ac51b5e8a7515abb
[ "MIT" ]
122
2017-08-21T10:01:07.000Z
2022-03-21T13:52:19.000Z
comicolorization_sr/colorization_task/base.py
DwangoMediaVillage/Comicolorization
98f323e78baceae0b1086f01ac51b5e8a7515abb
[ "MIT" ]
7
2017-10-20T15:12:13.000Z
2022-01-30T23:04:37.000Z
comicolorization_sr/colorization_task/base.py
DwangoMediaVillage/Comicolorization
98f323e78baceae0b1086f01ac51b5e8a7515abb
[ "MIT" ]
26
2017-08-22T08:11:20.000Z
2022-03-09T14:59:18.000Z
from abc import ABCMeta, abstractmethod import typing import six from comicolorization_sr.config import Config from comicolorization_sr.data_process import BaseDataProcess @six.add_metaclass(ABCMeta) class BaseColorizationTask(object): def __init__(self, config, load_model=True): # type: (Config, any) -> ...
25.655172
72
0.682796
83
744
5.927711
0.409639
0.054878
0.121951
0.073171
0.231707
0.231707
0.231707
0.231707
0.231707
0
0
0
0.228495
744
28
73
26.571429
0.857143
0.204301
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.210526
false
0.157895
0.263158
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
94d5f7b18c2143b73996eb232caf28a1df4c4d79
885
py
Python
utils/gnet.py
eigenphi/gcommon
bce1ee422874fa904d90afee03fd703a06dc7a4d
[ "MIT" ]
3
2021-11-09T09:43:21.000Z
2021-12-16T18:15:43.000Z
utils/gnet.py
eigenphi/gcommon
bce1ee422874fa904d90afee03fd703a06dc7a4d
[ "MIT" ]
null
null
null
utils/gnet.py
eigenphi/gcommon
bce1ee422874fa904d90afee03fd703a06dc7a4d
[ "MIT" ]
2
2022-03-10T11:24:46.000Z
2022-03-25T06:39:17.000Z
# -*- coding: utf-8 -*- # created: 2015-05-12 # creator: liguopeng@liguopeng.net """网络相关的基础函数、基础类型""" from enum import Enum class ConnectionStatus(Enum): """所有支持的连接状态""" Initialized = "initialized" Connected = "connected" Closed = "closed" Connecting = "connecting" Reconnecting = "reconnec...
21.071429
78
0.653107
93
885
6.129032
0.354839
0.096491
0.114035
0.094737
0.070175
0
0
0
0
0
0
0.013314
0.236158
885
41
79
21.585366
0.829882
0.114124
0
0.2
0
0
0.105058
0
0
0
0
0
0
1
0.2
false
0
0.04
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
94d944ede215de6f719c578046e25496ee9261fd
253
py
Python
ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/constantfolding/data/arithmetic/in_5_powers.py
JetBrains-Research/ast-transformations
0ab408af3275b520cc87a473f418c4b4dfcb0284
[ "MIT" ]
8
2021-01-19T21:15:54.000Z
2022-02-23T19:16:25.000Z
ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/constantfolding/data/arithmetic/in_5_powers.py
JetBrains-Research/ast-transformations
0ab408af3275b520cc87a473f418c4b4dfcb0284
[ "MIT" ]
4
2020-11-17T14:28:25.000Z
2022-02-24T07:54:28.000Z
ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/constantfolding/data/arithmetic/in_5_powers.py
nbirillo/ast-transformations
717706765a2da29087a0de768fc851698886dd65
[ "MIT" ]
1
2022-02-23T19:16:30.000Z
2022-02-23T19:16:30.000Z
a = 2 ** 62 b = 2 ** 63 c = 0 ** 0 d = 0 ** 1 e = 1 ** 999999999 f = 1 ** 999999999999999999999999999 g = 1 ** (-1) h = 0 ** (-1) i = 999999999999999 ** 99999999999999999999999999999 j = 2 ** 10 k = 10 ** 10 l = 13 ** 3 m = (-3) ** 3 n = (-3) ** 4
12.65
52
0.490119
42
253
2.952381
0.642857
0.032258
0
0
0
0
0
0
0
0
0
0.617978
0.296443
253
19
53
13.315789
0.078652
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
94e571227135c3d7295e0cda3e437b096b12fc45
310
py
Python
librariesForWeatherStation/Adafruit_Python_BMP/examples/simpltetest.py
KaushikNeelichetty/IoT-Based-Weather-Station-with-Raspberry-Pi
e3dcd55395dad750f5949ba3e9ceeee4b3428f90
[ "MIT" ]
3
2021-01-04T14:41:07.000Z
2021-04-18T23:03:07.000Z
librariesForWeatherStation/Adafruit_Python_BMP/examples/simpltetest.py
KaushikNeelichetty/IoT-Based-Weather-Station-with-Raspberry-Pi
e3dcd55395dad750f5949ba3e9ceeee4b3428f90
[ "MIT" ]
null
null
null
librariesForWeatherStation/Adafruit_Python_BMP/examples/simpltetest.py
KaushikNeelichetty/IoT-Based-Weather-Station-with-Raspberry-Pi
e3dcd55395dad750f5949ba3e9ceeee4b3428f90
[ "MIT" ]
3
2020-05-21T02:34:15.000Z
2022-03-31T21:20:21.000Z
import Adafruit_BMP.BMP085 as BMP085 sensor = BMP085.BMP085() temp = '{0:0.2f}'.format(sensor.read_temperature()) pressure = '{0:0.2f}'.format(sensor.read_pressure()) altitude = '{0:0.2f}'.format(sensor.read_altitude()) seaalevelPressure = '{0:0.2f}'.format(sensor.read_sealevel_pressure()) print(type(temp))
34.444444
70
0.735484
45
310
4.933333
0.4
0.036036
0.072072
0.18018
0.36036
0.36036
0
0
0
0
0
0.083045
0.067742
310
8
71
38.75
0.685121
0
0
0
0
0
0.103226
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
94edf543cfb5d538c3d8441a1ed86778f9f7c850
7,643
py
Python
app/unit_test_ui.py
cclauss/ci_edit
5af80d643e7b16e5e3270771bdbc6b322255d460
[ "Apache-2.0" ]
null
null
null
app/unit_test_ui.py
cclauss/ci_edit
5af80d643e7b16e5e3270771bdbc6b322255d460
[ "Apache-2.0" ]
null
null
null
app/unit_test_ui.py
cclauss/ci_edit
5af80d643e7b16e5e3270771bdbc6b322255d460
[ "Apache-2.0" ]
null
null
null
# -*- coding: latin-1 -*- # Copyright 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
42.938202
78
0.262201
505
7,643
3.869307
0.30099
0.064483
0.07523
0.088025
0.385875
0.317298
0.281986
0.281986
0.281986
0.221085
0
0.029024
0.652885
7,643
177
79
43.180791
0.707501
0.10925
0
0.713287
0
0
0.511566
0.006925
0
0
0
0
0.006993
1
0.048951
false
0.006993
0.076923
0
0.132867
0.006993
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
94f729a1144cc5dd93cf60e93b0a3fdad3d0e094
144
py
Python
backend_rest/users/choices.py
ezrankayamba/twiga_expodocs
39303f137f3761e7024e1e0e1a6449f4187e30e9
[ "MIT" ]
null
null
null
backend_rest/users/choices.py
ezrankayamba/twiga_expodocs
39303f137f3761e7024e1e0e1a6449f4187e30e9
[ "MIT" ]
13
2020-02-21T13:58:18.000Z
2022-03-12T00:16:26.000Z
backend_rest/users/choices.py
ezrankayamba/twiga_expodocs
39303f137f3761e7024e1e0e1a6449f4187e30e9
[ "MIT" ]
null
null
null
PRIVILEGE_CHOICES = [ ('Users.manageUser', 'Manage Users'), ('Sales.manage', 'Manage Sales'), ('Sales.docs', 'Manage Documents'), ]
24
41
0.618056
14
144
6.285714
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.173611
144
5
42
28.8
0.739496
0
0
0
0
0
0.541667
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
94f73fe49b60fa653297683ac3a27ea41b414c2a
63
py
Python
python/debugging/__init__.py
mxdzi/hackerrank
4455f73e4479a4204b2e1167253f6a02351aa5b7
[ "MIT" ]
null
null
null
python/debugging/__init__.py
mxdzi/hackerrank
4455f73e4479a4204b2e1167253f6a02351aa5b7
[ "MIT" ]
null
null
null
python/debugging/__init__.py
mxdzi/hackerrank
4455f73e4479a4204b2e1167253f6a02351aa5b7
[ "MIT" ]
null
null
null
__all__ = [ 'q1_words_score', 'q2_default_arguments' ]
12.6
26
0.650794
7
63
4.714286
1
0
0
0
0
0
0
0
0
0
0
0.040816
0.222222
63
4
27
15.75
0.632653
0
0
0
0
0
0.539683
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a2069eb52e37dfa86efa3244c3eed7f14c22db1c
1,012
py
Python
bot/setupbot.py
iorenml/tiktok_bot
84a316c4d28b2803fd747b1e6aafe20c4f0c4f58
[ "MIT" ]
null
null
null
bot/setupbot.py
iorenml/tiktok_bot
84a316c4d28b2803fd747b1e6aafe20c4f0c4f58
[ "MIT" ]
null
null
null
bot/setupbot.py
iorenml/tiktok_bot
84a316c4d28b2803fd747b1e6aafe20c4f0c4f58
[ "MIT" ]
null
null
null
#!/usr/bin/python3.9 import os import shutil import click @click.group() def cli_start(): pass @cli_start.command() def start(): # создание нового сервиса shutil.copy("/usr/local/bin/ttbot/ttbot.service", "/etc/systemd/system/ttbot.service") # включение сервиса os.system('syste...
15.569231
83
0.666008
131
1,012
4.992366
0.351145
0.073395
0.155963
0.097859
0
0
0
0
0
0
0
0.002436
0.188735
1,012
64
84
15.8125
0.794153
0.071146
0
0.216216
0
0
0.260684
0.071581
0
0
0
0
0
1
0.216216
false
0.108108
0.081081
0
0.297297
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
a211fe2950cb229c71949f12d1c4a23b8e6e92fc
1,667
py
Python
ana/piecewise2.py
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
11
2020-07-05T02:39:32.000Z
2022-03-20T18:52:44.000Z
ana/piecewise2.py
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
null
null
null
ana/piecewise2.py
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
4
2020-09-03T20:36:32.000Z
2022-01-19T07:42:21.000Z
#!/usr/bin/env python """ Hmm maybe its impossible to get anywhere with integral without first fixing the BetaInverse In [22]: pw.subs(b, 1.55) Out[2...
24.514706
193
0.34973
225
1,667
2.555556
0.453333
0.013913
0.036522
0.041739
0.083478
0.048696
0.048696
0.048696
0
0
0
0.298746
0.473905
1,667
67
194
24.880597
0.356899
0.428314
0
0
0
0
0.011715
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a217ee46e4f42794bce4b2ee9426a900a6fb52db
2,144
py
Python
blog/migrations/0029_auto_20210114_1514.py
SaeedTJF/FaraPy-1
31fbfd1ec10fd78a167ddc476ace7ed5eceee538
[ "BSD-3-Clause" ]
1
2021-06-09T08:02:05.000Z
2021-06-09T08:02:05.000Z
blog/migrations/0029_auto_20210114_1514.py
SaeedTJF/FaraPy-1
31fbfd1ec10fd78a167ddc476ace7ed5eceee538
[ "BSD-3-Clause" ]
null
null
null
blog/migrations/0029_auto_20210114_1514.py
SaeedTJF/FaraPy-1
31fbfd1ec10fd78a167ddc476ace7ed5eceee538
[ "BSD-3-Clause" ]
1
2021-06-03T17:40:59.000Z
2021-06-03T17:40:59.000Z
# Generated by Django 3.0.3 on 2021-01-14 11:44 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0028_auto_20210114_1449'), ] operations = [ migrations.AlterField( model_name='comment', ...
38.981818
135
0.555504
220
2,144
5.304545
0.331818
0.08569
0.17138
0.1988
0.645244
0.596401
0.531277
0.413025
0.330763
0.145673
0
0.05863
0.291978
2,144
54
136
39.703704
0.710145
0.020989
0
0.5
1
0
0.154185
0.011258
0
0
0
0
0
1
0
false
0
0.041667
0
0.104167
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bf44d919e3e12ebd163751757b1927b22effdb5b
336
py
Python
Session3-Conditional-Statements-part2/01_day_of_week.py
elenaborisova/Crack-the-Code
d0b505ebad878d5228d98c934779ed9b28f6c034
[ "MIT" ]
null
null
null
Session3-Conditional-Statements-part2/01_day_of_week.py
elenaborisova/Crack-the-Code
d0b505ebad878d5228d98c934779ed9b28f6c034
[ "MIT" ]
null
null
null
Session3-Conditional-Statements-part2/01_day_of_week.py
elenaborisova/Crack-the-Code
d0b505ebad878d5228d98c934779ed9b28f6c034
[ "MIT" ]
1
2021-05-31T14:47:53.000Z
2021-05-31T14:47:53.000Z
number = int(input()) if number == 1: print("Monday") elif number == 2: print("Tuesday") elif number == 3: print("Wednesday") elif number == 4: print("Thursday") elif number == 5: print("Friday") elif number == 6: print("Saturday") elif number == 7: print("Sunday") else: ...
18.666667
23
0.559524
41
336
4.585366
0.536585
0.319149
0
0
0
0
0
0
0
0
0
0.02834
0.264881
336
18
24
18.666667
0.732794
0
0
0
0
0
0.171875
0
0
0
0
0
0
1
0
false
0
0
0
0
0.470588
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
bf65ea943def807250a2417b19ed661c9d41c5bf
377
py
Python
Mundo 1/ex002.py
judigunkel/judi-exercicios-python
c61bb75b1ae6141defcf42214194e141a70af15d
[ "MIT" ]
null
null
null
Mundo 1/ex002.py
judigunkel/judi-exercicios-python
c61bb75b1ae6141defcf42214194e141a70af15d
[ "MIT" ]
null
null
null
Mundo 1/ex002.py
judigunkel/judi-exercicios-python
c61bb75b1ae6141defcf42214194e141a70af15d
[ "MIT" ]
1
2021-03-06T02:41:36.000Z
2021-03-06T02:41:36.000Z
""" Faça um programa que leia o nome de uma pessoa e mostre uma mensagem de boas- vindas """ nome = input('Digite seu nome: ') # perguntando ao usuário # usando format: print('É um prazer te conhecer, {}{}{}!'.format('\033[4;34m', nome, '\033[m')) # usando f strings: print(f'É um prazer te conhecer, \033[4;34m{nome}...
29
78
0.679045
65
377
3.938462
0.615385
0.039063
0.070313
0.085938
0.265625
0.117188
0
0
0
0
0
0.057325
0.167109
377
12
79
31.416667
0.757962
0.493369
0
0
0
0
0.627778
0.127778
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
bf77219984bd898368969d24dff7019402837592
1,159
py
Python
fabfile.py
webadmin87/midnight
b60b3b257b4d633550b82a692f3ea3756c62a0a9
[ "BSD-3-Clause" ]
1
2015-11-20T12:42:39.000Z
2015-11-20T12:42:39.000Z
fabfile.py
webadmin87/midnight
b60b3b257b4d633550b82a692f3ea3756c62a0a9
[ "BSD-3-Clause" ]
3
2020-02-11T21:21:12.000Z
2021-06-10T17:23:56.000Z
fabfile.py
webadmin87/midnight
b60b3b257b4d633550b82a692f3ea3756c62a0a9
[ "BSD-3-Clause" ]
1
2015-11-04T09:23:31.000Z
2015-11-04T09:23:31.000Z
from fabric.api import * from contextlib import contextmanager env.hosts = ['host_name'] env.user = 'user_name' env.keyfile = ['$HOME/.ssh/private_key'] env.directory = '/path/to/project' env.activate = 'source /path/to/virtualenv/bin/activate' env.uwsgi_pid = '/tmp/project_name.pid' env.target_env = 'prod' @context...
20.333333
98
0.663503
147
1,159
5.095238
0.408163
0.093458
0.113485
0.064085
0.066756
0
0
0
0
0
0
0
0.197584
1,159
56
99
20.696429
0.805376
0
0
0.128205
0
0
0.264021
0.115617
0
0
0
0
0
1
0.205128
true
0
0.051282
0
0.25641
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
1
0
0
0
0
0
0
2
bf8a699bf52b2b69a5bc0c7d94d9e3e334724f8e
7,950
py
Python
sysvet/apps/usuario/forms.py
joseiba/SysVetSoft
d1ed13799a5086c880bc45dd153d78bb3a629c7d
[ "Apache-2.0" ]
null
null
null
sysvet/apps/usuario/forms.py
joseiba/SysVetSoft
d1ed13799a5086c880bc45dd153d78bb3a629c7d
[ "Apache-2.0" ]
null
null
null
sysvet/apps/usuario/forms.py
joseiba/SysVetSoft
d1ed13799a5086c880bc45dd153d78bb3a629c7d
[ "Apache-2.0" ]
null
null
null
from django.contrib.auth.forms import AuthenticationForm, UserCreationForm, UserChangeForm, PasswordChangeForm from django.contrib.auth.models import Group, Permission from django.forms import * from django import forms from apps.usuario.models import User class FormLogin(AuthenticationForm): def __init__(self, ...
37.857143
194
0.562893
743
7,950
5.87214
0.193809
0.055008
0.048132
0.072198
0.725647
0.705478
0.641989
0.607151
0.557415
0.557415
0
0.003852
0.281635
7,950
210
195
37.857143
0.760112
0.006038
0
0.530726
0
0
0.279477
0.016753
0
0
0
0
0
1
0.050279
false
0.134078
0.027933
0
0.156425
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
bfa3605c47fc0b3969cc4eda539cf73c379877be
274
py
Python
ci/scripts/run_profile.py
destin-v/dev
afc26d3b12b200c38ec99b0ecc6a483aef6ba359
[ "MIT" ]
null
null
null
ci/scripts/run_profile.py
destin-v/dev
afc26d3b12b200c38ec99b0ecc6a483aef6ba359
[ "MIT" ]
null
null
null
ci/scripts/run_profile.py
destin-v/dev
afc26d3b12b200c38ec99b0ecc6a483aef6ba359
[ "MIT" ]
null
null
null
import os # Setup the terminal size because the output file is tied to terminal sizing. os.environ["LINES"] = "25" os.environ["COLUMNS"] = "200" # Profile the code. For additional options see $ scalene -h os.system("scalene --outfile ./docs/profile.html --html main.py")
30.444444
77
0.718978
42
274
4.690476
0.761905
0.091371
0
0
0
0
0
0
0
0
0
0.021459
0.149635
274
8
78
34.25
0.824034
0.489051
0
0
0
0
0.50365
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
bfb397fd775c83e67d42d42f2789867f7f37c43a
261
py
Python
ce_detector/__main__.py
cauliyang/ce_detector
869275a7b3a78b9732f7d0aba4d86176708edefc
[ "MIT" ]
null
null
null
ce_detector/__main__.py
cauliyang/ce_detector
869275a7b3a78b9732f7d0aba4d86176708edefc
[ "MIT" ]
null
null
null
ce_detector/__main__.py
cauliyang/ce_detector
869275a7b3a78b9732f7d0aba4d86176708edefc
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ script for running in the terminal @author: YangyangLi @contact:li002252@umn.edu @license: MIT Licence @file: __main__.py @time: 2020/12/21 5:02 PM """ from cli import cli if __name__ == "__main__": cli()
18.642857
38
0.678161
40
261
4.125
0.925
0
0
0
0
0
0
0
0
0
0
0.086364
0.157088
261
13
39
20.076923
0.663636
0.731801
0
0
0
0
0.131148
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
bfb94eca076a77581409f0ec4eef08ffd2ee368f
292
py
Python
DQM/EcalPreshowerMonitorModule/python/ESPedestalTask_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DQM/EcalPreshowerMonitorModule/python/ESPedestalTask_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DQM/EcalPreshowerMonitorModule/python/ESPedestalTask_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms ecalPreshowerPedestalTask = cms.EDAnalyzer('ESPedestalTask', LookupTable = cms.untracked.FileInPath("EventFilter/ESDigiToRaw/data/ES_lookup_table.dat"), DigiLabel = cms.InputTag("ecalPreshowerDigis"), OutputFile = cms.untracked.string("") )
29.2
92
0.787671
29
292
7.862069
0.827586
0.105263
0
0
0
0
0
0
0
0
0
0
0.092466
292
9
93
32.444444
0.860377
0
0
0
0
0
0.274914
0.164948
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bfba0e033a1b883577a1e63675eab18f30855927
392
py
Python
sorl/thumbnail_standalone/conf/__init__.py
kreopt/sorl-thumbnail
cbc02e642c45e6206234bcfb0562c243ecffacf7
[ "BSD-3-Clause" ]
null
null
null
sorl/thumbnail_standalone/conf/__init__.py
kreopt/sorl-thumbnail
cbc02e642c45e6206234bcfb0562c243ecffacf7
[ "BSD-3-Clause" ]
null
null
null
sorl/thumbnail_standalone/conf/__init__.py
kreopt/sorl-thumbnail
cbc02e642c45e6206234bcfb0562c243ecffacf7
[ "BSD-3-Clause" ]
null
null
null
from sorl.thumbnail_standalone.lazy import LazyObject from sorl.thumbnail_standalone.conf import defaults class Settings(object): pass class LazySettings(LazyObject): def _setup(self): self._wrapped = Settings() for attr in dir(defaults): if attr == attr.upper(): s...
23.058824
60
0.678571
44
392
5.954545
0.590909
0.061069
0.129771
0.206107
0
0
0
0
0
0
0
0
0.229592
392
16
61
24.5
0.86755
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0.090909
0.181818
0
0.454545
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
bfc7986a12cb6b98819b9416c8cff1e639a570c8
791
py
Python
nodeconductor/structure/management/commands/init_balance_history.py
p-p-m/nodeconductor
bc702302ef65c89793452f0fd6ca9a6bec79782f
[ "Apache-2.0" ]
null
null
null
nodeconductor/structure/management/commands/init_balance_history.py
p-p-m/nodeconductor
bc702302ef65c89793452f0fd6ca9a6bec79782f
[ "Apache-2.0" ]
null
null
null
nodeconductor/structure/management/commands/init_balance_history.py
p-p-m/nodeconductor
bc702302ef65c89793452f0fd6ca9a6bec79782f
[ "Apache-2.0" ]
null
null
null
from datetime import timedelta from django.core.management.base import BaseCommand from django.utils import timezone from nodeconductor.structure.models import BalanceHistory from nodeconductor.structure.models import Customer class Command(BaseCommand): help = """ Initialize demo records of balance history """...
35.954545
89
0.63464
85
791
5.905882
0.564706
0.039841
0.103586
0.12749
0.258964
0
0
0
0
0
0
0.012302
0.280657
791
21
90
37.666667
0.869947
0
0
0
0
0
0.139064
0
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
bfc87c245c1b1446c2b1971de0668c9443c699a8
208
py
Python
Week 1/5.py
ShruKin/Python-Assignments
f6b5d8b2e23f0d6f68d7acced43a1830c6ecebf3
[ "MIT" ]
null
null
null
Week 1/5.py
ShruKin/Python-Assignments
f6b5d8b2e23f0d6f68d7acced43a1830c6ecebf3
[ "MIT" ]
1
2019-11-16T08:40:15.000Z
2019-11-16T08:40:15.000Z
Week 1/5.py
ShruKin/Python-Assignments
f6b5d8b2e23f0d6f68d7acced43a1830c6ecebf3
[ "MIT" ]
null
null
null
print("Kinjal Raykarmakar\nSec: CSE2H\tRoll: 29\n") num = int(input("Enter a number: ")) if num % 2 == 0: print("{} is an even number".format(num)) else: print("{} is an odd number".format(num))
26
51
0.615385
33
208
3.878788
0.69697
0.109375
0.140625
0
0
0
0
0
0
0
0
0.029762
0.192308
208
8
52
26
0.732143
0
0
0
0
0
0.464115
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
bfc954c37a277e27749a709306aba7d412eb2924
615
py
Python
setup.py
RichardScottOZ/pybedfroms
4805823f0b25a27499c462be724d48866c261c03
[ "BSD-3-Clause" ]
1
2021-05-15T12:03:49.000Z
2021-05-15T12:03:49.000Z
setup.py
RichardScottOZ/pybedfroms
4805823f0b25a27499c462be724d48866c261c03
[ "BSD-3-Clause" ]
null
null
null
setup.py
RichardScottOZ/pybedfroms
4805823f0b25a27499c462be724d48866c261c03
[ "BSD-3-Clause" ]
1
2021-05-15T12:03:55.000Z
2021-05-15T12:03:55.000Z
import io import re from glob import glob from os.path import basename from os.path import dirname from os.path import join from os.path import splitext from setuptools import setup, find_packages setup( name = 'pybedforms', version = '0.0.1', long_description = "tbd", url='https://github.com/andrewa...
25.625
74
0.674797
84
615
4.869048
0.571429
0.05868
0.0978
0.156479
0
0
0
0
0
0
0
0.009901
0.178862
615
24
75
25.625
0.8
0
0
0
0
0
0.199675
0
0
0
0
0
0
1
0
true
0
0.380952
0
0.380952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
449dbbf586feec17333bd94155ecc34ec0aee477
914
py
Python
tests/test_logging.py
learnitall/foremanlite
540688409f92d5a3caedc7e9805b0fdc02d73f03
[ "MIT" ]
null
null
null
tests/test_logging.py
learnitall/foremanlite
540688409f92d5a3caedc7e9805b0fdc02d73f03
[ "MIT" ]
null
null
null
tests/test_logging.py
learnitall/foremanlite
540688409f92d5a3caedc7e9805b0fdc02d73f03
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Test foremanlite.logging module.""" import pytest import foremanlite.logging pytestmark = pytest.mark.usefixtures("do_log_teardown") def test_value_error_raised_if_file_path_not_given_for_setup(): """Test `ValueError` raised if `file_path` is not given with `use...
29.483871
79
0.734136
125
914
5.136
0.448
0.224299
0.143302
0.161994
0.323988
0.277259
0.211838
0.211838
0.211838
0.211838
0
0.003827
0.142232
914
30
80
30.466667
0.815051
0.230853
0
0.142857
0
0
0.035037
0
0
0
0
0
0.142857
1
0.142857
false
0
0.142857
0
0.285714
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
44ae200982a7df36bc882c2e58aa4fb318690d98
437
py
Python
nsz.py
denise-amiga/nsz
ab264c3da04a8c1e21cd67253f1519d5bec22836
[ "MIT" ]
null
null
null
nsz.py
denise-amiga/nsz
ab264c3da04a8c1e21cd67253f1519d5bec22836
[ "MIT" ]
null
null
null
nsz.py
denise-amiga/nsz
ab264c3da04a8c1e21cd67253f1519d5bec22836
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # This is needed as multiprocessing shouldn't include nsz # as it won't be able to optain __main__.__file__ and so crash inside Keys.py if __name__ == '__main__': import sys if sys.hexversion < 0x03060000: raise ImportError("NSZ requires at least Python 3.6!\nCurrent ...
31.214286
98
0.745995
65
437
4.753846
0.738462
0
0
0
0
0
0
0
0
0
0
0.03523
0.155606
437
13
99
33.615385
0.802168
0.400458
0
0
0
0
0.267442
0
0
0
0.03876
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
44afcc4387be509529e32cba753788dfccffd29e
1,350
py
Python
tests/sample_train_execution.py
mlspec/mlspeclib-action-docker
2709ff39d4defc4ece07c2b3f36b5b571bab4bd2
[ "MIT" ]
null
null
null
tests/sample_train_execution.py
mlspec/mlspeclib-action-docker
2709ff39d4defc4ece07c2b3f36b5b571bab4bd2
[ "MIT" ]
null
null
null
tests/sample_train_execution.py
mlspec/mlspeclib-action-docker
2709ff39d4defc4ece07c2b3f36b5b571bab4bd2
[ "MIT" ]
null
null
null
from mlspeclib import MLSchema, MLObject from random import randint, random, randrange from pathlib import Path import uuid results_ml_object.set_type( schema_type=result_ml_object_schema_type, # noqa schema_version=result_ml_object_schema_version, # noqa ) # Mocked up results return_dict = { "training_...
40.909091
83
0.817778
183
1,350
5.617486
0.360656
0.116732
0.189689
0.18677
0.381323
0.264591
0.195525
0.148833
0
0
0
0.042071
0.084444
1,350
32
84
42.1875
0.789644
0.033333
0
0
0
0
0.135385
0.080769
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
44b58f6544668f819c00e24e877afe4af5efa544
261
py
Python
weather/distanceCheck.py
huberf/PAL
5e7d5502ad969c6ae362c292b939b1fe768678d6
[ "MIT" ]
1
2021-03-22T04:05:21.000Z
2021-03-22T04:05:21.000Z
weather/distanceCheck.py
huberf/PAL
5e7d5502ad969c6ae362c292b939b1fe768678d6
[ "MIT" ]
null
null
null
weather/distanceCheck.py
huberf/PAL
5e7d5502ad969c6ae362c292b939b1fe768678d6
[ "MIT" ]
null
null
null
import forecaster as w myWeather = w.Weather(os.environ['DARK_SKY_KEY']) distance = myWeather.stormDistance('35.1391218,-85.99808539999998') if(distance < 5): print "Storm nearby. Batten the hatches." else: print "No storm nearby, but keep your eyes open."
32.625
67
0.750958
38
261
5.105263
0.842105
0.113402
0
0
0
0
0
0
0
0
0
0.114035
0.126437
261
7
68
37.285714
0.736842
0
0
0
0
0
0.440613
0.111111
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.285714
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
1
0
0
0
0
0
0
0
0
2
44bef23fdc95fafb1ebb9c7cc9bc406442beb8e7
110
py
Python
DSA Learning Series/Easy Problems to Get Started/Triangle With Angle (ANGTRICH)/triangle_with_angle.py
Ekalaivanpj/codechef
0adabcabe1dde60be5ee822878ce01057a351fbb
[ "Apache-2.0" ]
4
2021-05-20T08:21:36.000Z
2022-03-26T03:56:20.000Z
DSA Learning Series/Easy Problems to Get Started/Triangle With Angle (ANGTRICH)/triangle_with_angle.py
Ekalaivanpj/codechef
0adabcabe1dde60be5ee822878ce01057a351fbb
[ "Apache-2.0" ]
5
2021-03-30T05:07:16.000Z
2021-05-02T04:09:39.000Z
DSA Learning Series/Easy Problems to Get Started/Triangle With Angle (ANGTRICH)/triangle_with_angle.py
Ekalaivanpj/codechef
0adabcabe1dde60be5ee822878ce01057a351fbb
[ "Apache-2.0" ]
3
2021-03-27T12:20:09.000Z
2021-10-05T16:53:16.000Z
lst=list(map(int, input().split())) if sum(lst)==180 and 0 not in lst: print('YES') else: print('NO')
18.333333
35
0.590909
20
110
3.25
0.85
0
0
0
0
0
0
0
0
0
0
0.044444
0.181818
110
5
36
22
0.677778
0
0
0
0
0
0.045455
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
44c197b2e3a97430b3af4a8dd1cf13513d1a5653
292
py
Python
53. Maximum Subarray.py
Dharaneeshwar/Leetcode
cc3ed07f6ac5f4d6e3f60c57a94a06a8be2f5287
[ "MIT" ]
4
2020-11-17T05:24:24.000Z
2021-06-14T21:01:45.000Z
53. Maximum Subarray.py
Dharaneeshwar/Leetcode
cc3ed07f6ac5f4d6e3f60c57a94a06a8be2f5287
[ "MIT" ]
null
null
null
53. Maximum Subarray.py
Dharaneeshwar/Leetcode
cc3ed07f6ac5f4d6e3f60c57a94a06a8be2f5287
[ "MIT" ]
null
null
null
class Solution: def maxSubArray(self, nums: List[int]) -> int: current_max=nums[0] global_max=nums[0] for i in range(1,len(nums)): current_max=max(nums[i],current_max+nums[i]) global_max=max(current_max,global_max) return global_max
36.5
56
0.616438
43
292
4
0.44186
0.232558
0.162791
0
0
0
0
0
0
0
0
0.013953
0.263699
292
8
57
36.5
0.786047
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
44e0a725a63a8c55f7eb9e145b07cc5fbf3064a8
223
py
Python
pychemia/io/__init__.py
petavazohi/PyChemia
e779389418771c25c830aed360773c63bb069372
[ "MIT" ]
67
2015-01-31T07:44:55.000Z
2022-03-21T21:43:34.000Z
pychemia/io/__init__.py
petavazohi/PyChemia
e779389418771c25c830aed360773c63bb069372
[ "MIT" ]
13
2016-06-03T19:07:51.000Z
2022-03-31T04:20:40.000Z
pychemia/io/__init__.py
petavazohi/PyChemia
e779389418771c25c830aed360773c63bb069372
[ "MIT" ]
37
2015-01-22T15:37:23.000Z
2022-03-21T15:38:10.000Z
""" Routines to import and export atomic structures. Currently supported are *ASCII*, *CIF* and *XYZ* """ from . import cif from . import ascii from . import xyz # __all__ = filter(lambda s: not s.startswith('_'), dir())
20.272727
58
0.695067
31
223
4.83871
0.677419
0.2
0
0
0
0
0
0
0
0
0
0
0.170404
223
10
59
22.3
0.810811
0.695067
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
44f6a91fa13949d563a870cd5ef247e7869f85bb
2,234
py
Python
db/food_database/models.py
IBPA/FoodAtlas
0a431f0a391adaa8984b380f3f6f7189f27b9311
[ "Apache-2.0" ]
1
2022-02-07T10:04:35.000Z
2022-02-07T10:04:35.000Z
db/food_database/models.py
IBPA/FoodAtlas
0a431f0a391adaa8984b380f3f6f7189f27b9311
[ "Apache-2.0" ]
null
null
null
db/food_database/models.py
IBPA/FoodAtlas
0a431f0a391adaa8984b380f3f6f7189f27b9311
[ "Apache-2.0" ]
null
null
null
from django.db import models class Food(models.Model): foodon_id = models.CharField(max_length=100) foodb_id = models.CharField(max_length=100) name = models.CharField(max_length=100) synonyms = models.CharField(max_length=100) # Create your models here. class Chemical(models.Model): foodb_id ...
33.848485
97
0.753805
249
2,234
6.60241
0.253012
0.109489
0.131387
0.175182
0.511557
0.439173
0.377737
0.354015
0.30292
0.30292
0
0.018898
0.147269
2,234
65
98
34.369231
0.844094
0.444494
0
0.307692
0
0
0
0
0
0
0
0
0
1
0
false
0
0.038462
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
7808aa807482efcb2b33550066adb7bf10e5f879
20,567
py
Python
main.py
LooseDevGoose/Turbo_Log4J_ADC
dd6395643aa0f23a42f8e4309ac62114ca3adfcd
[ "Unlicense" ]
null
null
null
main.py
LooseDevGoose/Turbo_Log4J_ADC
dd6395643aa0f23a42f8e4309ac62114ca3adfcd
[ "Unlicense" ]
4
2021-12-13T11:31:12.000Z
2021-12-14T15:00:37.000Z
main.py
LooseDevGoose/Turbo_Log4J_ADC
dd6395643aa0f23a42f8e4309ac62114ca3adfcd
[ "Unlicense" ]
null
null
null
#Screen functionality gets sent to different files e.g. ADCTK_ReportFunctionality or ADCTK_SecurityScan #When functionality is done, data gets fed back to the screen and shown to user #Please mind that the draw time of the screen impacts what is shown, as it does not update dynamically ############### ####Impor...
45.908482
647
0.648904
2,026
20,567
6.319348
0.155972
0.033039
0.038507
0.049832
0.755995
0.721472
0.691166
0.640162
0.614622
0.603687
0
0.019153
0.266349
20,567
447
648
46.011186
0.829346
0.069091
0
0.559271
0
0.00304
0.128443
0.077807
0
0
0
0
0
1
0.036474
false
0.012158
0.051672
0
0.112462
0.088146
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7814e99f909d6640a1a4c8aab5785638dbac2bfc
379
py
Python
app/forms.py
dairvin9/AnimalStyle
33d322a5f5c839091ee58c04cacfc5c894dc168c
[ "CC-BY-3.0" ]
null
null
null
app/forms.py
dairvin9/AnimalStyle
33d322a5f5c839091ee58c04cacfc5c894dc168c
[ "CC-BY-3.0" ]
null
null
null
app/forms.py
dairvin9/AnimalStyle
33d322a5f5c839091ee58c04cacfc5c894dc168c
[ "CC-BY-3.0" ]
null
null
null
from flask_wtf import Form from wtforms import StringField, BooleanField, ValidationError from wtforms.validators import DataRequired from wtforms.widgets import TextArea # validators.length(max=10)] class CommentForm(Form): username = StringField('username', validators=[DataRequired()]) comment = StringFiel...
34.454545
83
0.791557
40
379
7.475
0.525
0.110368
0
0
0
0
0
0
0
0
0
0.0059
0.105541
379
11
83
34.454545
0.876106
0.068602
0
0
0
0
0.042614
0
0
0
0
0
0
1
0
false
0
0.571429
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
0
0
1
0
1
0
0
2
781b5029a1b0c8a541cf86d413ebce20c9e3b485
1,330
py
Python
server/migrations/0043_auto_20160809_2122.py
lfaraone/sal
d0dff90cebcbc87f18c2c6957264f21566d52000
[ "Apache-2.0" ]
2
2019-11-01T20:50:35.000Z
2021-01-13T22:02:55.000Z
server/migrations/0043_auto_20160809_2122.py
grahamgilbert/sal
d247ec1ea8855e65e5855b0dd63eae93b40f86ca
[ "Apache-2.0" ]
null
null
null
server/migrations/0043_auto_20160809_2122.py
grahamgilbert/sal
d247ec1ea8855e65e5855b0dd63eae93b40f86ca
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-08-10 04:22 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('server', '0042_auto_20160808_1021'), ] operations = [ migrations.RemoveField(...
26.6
66
0.556391
118
1,330
6.067797
0.432203
0.075419
0.139665
0.162011
0.412011
0.412011
0.412011
0.178771
0.178771
0.178771
0
0.039414
0.332331
1,330
49
67
27.142857
0.766892
0.049624
0
0.547619
1
0
0.137986
0.018239
0
0
0
0
0
1
0
false
0
0.047619
0
0.119048
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
781de63e49673dee4a44df9891c8685afa780f2f
705
py
Python
naturtag/widgets/__init__.py
JWCook/inat-image-tagger
2ba48ec849517b32cee1bfe9527f838a4f22cd94
[ "MIT" ]
1
2020-05-10T23:17:07.000Z
2020-05-10T23:17:07.000Z
naturtag/widgets/__init__.py
JWCook/inat-image-tagger
2ba48ec849517b32cee1bfe9527f838a4f22cd94
[ "MIT" ]
13
2020-05-23T14:56:39.000Z
2020-05-24T03:35:21.000Z
naturtag/widgets/__init__.py
JWCook/inat-image-tagger
2ba48ec849517b32cee1bfe9527f838a4f22cd94
[ "MIT" ]
null
null
null
# flake8: noqa: F401 # isort: skip_file from naturtag.widgets.layouts import ( FlowLayout, GridLayout, HorizontalLayout, StylableWidget, VerticalLayout, ) from naturtag.widgets.autocomplete import TaxonAutocomplete from naturtag.widgets.images import ( FullscreenPhoto, HoverIcon, HoverLa...
23.5
63
0.763121
66
705
8.090909
0.621212
0.157303
0.249064
0
0
0
0
0
0
0
0
0.006885
0.175887
705
29
64
24.310345
0.91222
0.049645
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.259259
0
0.259259
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
1
0
0
0
0
0
0
2
78234bcd26c7457083d86963328b249aac88507f
795
py
Python
tp4/tp4.py
WISSAL-MN/python13
0abb96d9f1c87db7db1d90ebca3457ea50a8f9ff
[ "MIT" ]
2
2022-03-17T11:27:21.000Z
2022-03-18T18:20:04.000Z
tp4/tp4.py
WISSAL-MN/python13
0abb96d9f1c87db7db1d90ebca3457ea50a8f9ff
[ "MIT" ]
null
null
null
tp4/tp4.py
WISSAL-MN/python13
0abb96d9f1c87db7db1d90ebca3457ea50a8f9ff
[ "MIT" ]
null
null
null
from logic import * agent=PropKB() P11, P12, P21, P22, P31, B11, B21 = expr('P11, P12, P21, P22, P31, B11, B21') ~P11 B11 | '<=>' | ((P12 | P21)) B21 | '<=>' | ((P11 | P22 | P31)) ~B11 B21 agent.tell(~P11) agent.tell(B11 | '<=>' | ((P12 | P21))) agent.tell(B21 | '<=>' | ((P11 | P22 | P31))) agent.tell(~B...
22.714286
78
0.612579
124
795
3.75
0.16129
0.154839
0.193548
0.270968
0.696774
0.434409
0.434409
0.290323
0.290323
0.135484
0
0.155689
0.159748
795
34
79
23.382353
0.540419
0.208805
0
0
0
0
0.076271
0
0
0
0
0
0
1
0
false
0
0.04
0
0.04
0.32
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
782b6caf5a4de91a8a23894223eb006d6b1a0f80
369
py
Python
startifact/parameters/__init__.py
cariad/startifact
ef0b855ca2061f9e6982ed28c63b3da4c5d1464d
[ "MIT" ]
null
null
null
startifact/parameters/__init__.py
cariad/startifact
ef0b855ca2061f9e6982ed28c63b3da4c5d1464d
[ "MIT" ]
15
2021-11-09T13:22:57.000Z
2021-12-17T12:24:27.000Z
startifact/parameters/__init__.py
cariad/startifact
ef0b855ca2061f9e6982ed28c63b3da4c5d1464d
[ "MIT" ]
null
null
null
from startifact.parameters.bucket import BucketParameter from startifact.parameters.configuration import ConfigurationParameter from startifact.parameters.latest_version import LatestVersionParameter from startifact.parameters.parameter import Parameter __all__ = [ "BucketParameter", "ConfigurationParameter", ...
30.75
71
0.826558
30
369
10
0.433333
0.186667
0.32
0
0
0
0
0
0
0
0
0
0.111111
369
11
72
33.545455
0.914634
0
0
0
0
0
0.184282
0.119241
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
0
0
0
2
78437b78c7a6f9630875269c9c1bd77b0705e4c4
27,459
py
Python
genomics_data_index/api/query/SamplesQuery.py
apetkau/thesis-index
6c96e9ed75d8e661437effe62a939727a0b473fc
[ "Apache-2.0" ]
1
2021-04-21T00:19:49.000Z
2021-04-21T00:19:49.000Z
genomics_data_index/api/query/SamplesQuery.py
apetkau/thesis-index
6c96e9ed75d8e661437effe62a939727a0b473fc
[ "Apache-2.0" ]
null
null
null
genomics_data_index/api/query/SamplesQuery.py
apetkau/thesis-index
6c96e9ed75d8e661437effe62a939727a0b473fc
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations import abc from typing import Union, List, Set, Tuple import numpy as np import pandas as pd from ete3 import Tree from genomics_data_index.api.query.kind.IsaKind import IsaKind from genomics_data_index.storage.SampleSet import SampleSet from genomics_data_index.storage.model.Query...
47.180412
126
0.652136
3,642
27,459
4.858045
0.109006
0.039394
0.046346
0.043407
0.46346
0.391511
0.344769
0.287628
0.261064
0.2189
0
0.004162
0.273681
27,459
581
127
47.261618
0.882972
0.659784
0
0.546512
0
0
0.012848
0
0
0
0
0
0
1
0.27907
false
0.244186
0.052326
0
0.377907
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
7843f99fa555b9a42a97484361243439238612ae
1,188
py
Python
tests/test_algorithms.py
fossabot/StatDP
91cf5a646acdd3b332979211d3b6db89dffe3153
[ "MIT" ]
null
null
null
tests/test_algorithms.py
fossabot/StatDP
91cf5a646acdd3b332979211d3b6db89dffe3153
[ "MIT" ]
null
null
null
tests/test_algorithms.py
fossabot/StatDP
91cf5a646acdd3b332979211d3b6db89dffe3153
[ "MIT" ]
null
null
null
from statdp.algorithms import * def test_noisymax(): # add no noise to the array assert noisy_max_v1a([1, 2, 1], float('inf')) == 1 assert noisy_max_v1b([1, 3, 1], float('inf')) == 3 assert noisy_max_v2a([1, 3, 1], float('inf')) == 1 assert noisy_max_v2b([1, 3, 1], float('inf')) == 3 def test_sp...
37.125
69
0.588384
212
1,188
3.146226
0.174528
0.047976
0.161919
0.047976
0.494753
0.491754
0.455772
0.383808
0.341829
0.341829
0
0.112395
0.198653
1,188
31
70
38.322581
0.588235
0.021044
0
0
0
0
0.036176
0
0
0
0
0
0.772727
1
0.181818
true
0
0.045455
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
2
7847a27238af0ef5906a293df2a1d3597c2a98b5
7,449
py
Python
workbench/invoices/migrations/0001_initial.py
yoshson/workbench
701558cac3357cd82e4dc99f0fefed12ee81ddc5
[ "MIT" ]
15
2020-09-02T22:17:34.000Z
2022-02-01T20:09:10.000Z
workbench/invoices/migrations/0001_initial.py
yoshson/workbench
701558cac3357cd82e4dc99f0fefed12ee81ddc5
[ "MIT" ]
18
2020-01-08T15:28:26.000Z
2022-02-28T02:46:41.000Z
workbench/invoices/migrations/0001_initial.py
yoshson/workbench
701558cac3357cd82e4dc99f0fefed12ee81ddc5
[ "MIT" ]
8
2020-09-29T08:00:24.000Z
2022-01-16T11:58:19.000Z
# Generated by Django 2.1.7 on 2019-03-04 21:39 from decimal import Decimal import django.core.validators import django.db.models.deletion import django.utils.timezone from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependenci...
36.694581
115
0.369983
473
7,449
5.674419
0.310782
0.098361
0.044709
0.040984
0.358048
0.348361
0.348361
0.328614
0.328614
0.295082
0
0.02109
0.541683
7,449
202
116
36.876238
0.765085
0.006041
0
0.402062
1
0
0.123075
0.008781
0
0
0
0
0
1
0
false
0
0.030928
0
0.051546
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
78733d61064ebbc703ac7b9326491f407ee90916
4,568
py
Python
content_interactions_stats/migrations/0001_initial.py
aaboffill/django-content-interactions
8ea881e46cc6d5c375542939bb69d2980efdec23
[ "BSD-3-Clause" ]
null
null
null
content_interactions_stats/migrations/0001_initial.py
aaboffill/django-content-interactions
8ea881e46cc6d5c375542939bb69d2980efdec23
[ "BSD-3-Clause" ]
null
null
null
content_interactions_stats/migrations/0001_initial.py
aaboffill/django-content-interactions
8ea881e46cc6d5c375542939bb69d2980efdec23
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Stats' db.create_table(u'content_interactions_stats_stats...
64.338028
171
0.619527
521
4,568
5.253359
0.166987
0.102302
0.173913
0.248447
0.758129
0.724516
0.692364
0.649251
0.516989
0.411765
0
0.013018
0.176007
4,568
71
172
64.338028
0.714134
0.047067
0
0.035714
0
0
0.531739
0.364305
0
0
0
0
0
1
0.035714
false
0
0.071429
0
0.160714
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
787ee1d9853b359fa3bd7f67f45bcdbbd1b42170
355
py
Python
dnevnik/__init__.py
IvanProgramming/dnevnik_mos_ru
303b119115b3b88b330e2b7cc512c7a447ce5da0
[ "MIT" ]
19
2020-11-21T15:29:11.000Z
2022-03-18T16:16:03.000Z
dnevnik/__init__.py
RedGuys/dnevnik_mos_ru
303b119115b3b88b330e2b7cc512c7a447ce5da0
[ "MIT" ]
1
2020-12-03T22:25:15.000Z
2020-12-29T11:23:28.000Z
dnevnik/__init__.py
RedGuys/dnevnik_mos_ru
303b119115b3b88b330e2b7cc512c7a447ce5da0
[ "MIT" ]
9
2020-12-09T13:02:24.000Z
2022-02-07T18:19:32.000Z
__version__ = "2.3.0" from .school import School from .class_unit import ClassUnit from .group import Group from .teacher import Teacher from .student_profile import StudentProfile from .client import Client from .academic_years import AcademicYear from .auth_providers import * from .exceptions import * from .base_aut...
27.307692
48
0.828169
48
355
5.916667
0.520833
0.070423
0
0
0
0
0
0
0
0
0
0.009646
0.123944
355
12
49
29.583333
0.903537
0
0
0
0
0
0.014085
0
0
0
0
0
0
1
0
false
0
0.909091
0
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
7883b4489468fd1015af7a4b0a88ce8710f26385
473
py
Python
test_two/test.py
greatfirsty/hellopython
f12aacf36b8f208d6c5622ffd6b4c1927f37b45a
[ "Apache-2.0" ]
1
2019-05-04T01:25:43.000Z
2019-05-04T01:25:43.000Z
test_two/test.py
greatfirsty/hellopython
f12aacf36b8f208d6c5622ffd6b4c1927f37b45a
[ "Apache-2.0" ]
null
null
null
test_two/test.py
greatfirsty/hellopython
f12aacf36b8f208d6c5622ffd6b4c1927f37b45a
[ "Apache-2.0" ]
null
null
null
import unittest class My_test(unittest.TestCase): def setUp(self): pass def tearDown(self): pass @unittest.skip('直接跳过测试') def test_skip(self): print('test skip!') @unittest.skipIf(3>2,'当条件为TRUE,跳过测试') def test_skip_if(self): print('the condition if ,test skip') ...
24.894737
45
0.630021
61
473
4.655738
0.459016
0.140845
0.116197
0
0
0
0
0
0
0
0
0.010989
0.230444
473
19
46
24.894737
0.769231
0
0
0.117647
0
0
0.185654
0
0
0
0
0
0
1
0.294118
false
0.117647
0.058824
0
0.411765
0.176471
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
78a67ba5096ebf53d533be3eb20497845483335a
3,225
py
Python
deep_qa/layers/backend/collapse_to_batch.py
richarajpal/deep_qa
d918335a1bed71b9cfccf1d5743321cee9c61952
[ "Apache-2.0" ]
459
2017-02-08T13:40:17.000Z
2021-12-12T12:57:48.000Z
deep_qa/layers/backend/collapse_to_batch.py
nelson-liu/deep_qa
00d36306759cb1c232489f68844371fb727ce2c8
[ "Apache-2.0" ]
176
2017-01-26T01:19:41.000Z
2018-04-22T19:16:01.000Z
deep_qa/layers/backend/collapse_to_batch.py
nelson-liu/deep_qa
00d36306759cb1c232489f68844371fb727ce2c8
[ "Apache-2.0" ]
154
2017-01-26T01:00:30.000Z
2021-02-05T10:44:42.000Z
from keras import backend as K from overrides import overrides from ..masked_layer import MaskedLayer class CollapseToBatch(MaskedLayer): """ Reshapes a higher order tensor, taking the first ``num_to_collapse`` dimensions after the batch dimension and folding them into the batch dimension. For example, ...
45.422535
99
0.690543
466
3,225
4.654506
0.356223
0.025357
0.065929
0.039189
0.071923
0.029507
0
0
0
0
0
0.006439
0.229457
3,225
70
100
46.071429
0.866398
0.608372
0
0.148148
0
0
0.012931
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.074074
0.592593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
78adbe2a86608537edf115c5f7387eaafc400ee7
2,891
py
Python
example/declarative/custom_form.py
wilsaj/flask-admin-old
aab2fe94e0641932ebd1c8f8dc500ba2daf5731c
[ "MIT" ]
2
2016-03-01T22:15:39.000Z
2016-07-17T18:10:19.000Z
example/declarative/custom_form.py
wilsaj/flask-admin-old
aab2fe94e0641932ebd1c8f8dc500ba2daf5731c
[ "MIT" ]
null
null
null
example/declarative/custom_form.py
wilsaj/flask-admin-old
aab2fe94e0641932ebd1c8f8dc500ba2daf5731c
[ "MIT" ]
null
null
null
import sys from flask import Flask, redirect from flask.ext import admin from flask.ext.admin.datastore.sqlalchemy import SQLAlchemyDatastore from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session, sessionmaker from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Bool...
31.086022
76
0.697682
337
2,891
5.744807
0.391691
0.049587
0.030992
0.02376
0.033058
0
0
0
0
0
0
0.00262
0.207887
2,891
92
77
31.423913
0.842795
0.074369
0
0
0
0
0.055514
0
0
0
0
0
0
1
0.107692
false
0.246154
0.184615
0.061538
0.569231
0.030769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
78afe69271dcc19c401da576fa437b2d4d8ccb57
2,351
py
Python
pyoanda/tests/test_order.py
toloco/pyoanda
26b3f28a89d07c5c20d2a645884505387f1daae8
[ "MIT" ]
81
2015-03-18T23:02:33.000Z
2021-07-13T15:00:14.000Z
pyoanda/tests/test_order.py
toloco/pyoanda
26b3f28a89d07c5c20d2a645884505387f1daae8
[ "MIT" ]
32
2015-04-18T22:04:00.000Z
2019-02-28T00:58:39.000Z
pyoanda/tests/test_order.py
toloco/pyoanda
26b3f28a89d07c5c20d2a645884505387f1daae8
[ "MIT" ]
32
2015-04-06T16:42:07.000Z
2018-02-13T19:06:19.000Z
from datetime import datetime try: import unittest2 as unittest except ImportError: import unittest from ..order import Order class OrderClassTest(unittest.TestCase): def fail(self, order): with self.assertRaises(TypeError): assert order.check() def test_creation(self): ...
22.605769
44
0.482773
234
2,351
4.700855
0.183761
0.081818
0.122727
0.196364
0.78
0.769091
0.673636
0.557273
0.557273
0.446364
0
0.016547
0.408762
2,351
103
45
22.825243
0.77482
0
0
0.622222
0
0
0.071459
0
0
0
0
0
0.055556
1
0.111111
false
0
0.055556
0
0.177778
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
78b18630fc1ece77e77833d5d3ab0f8dbb770586
7,972
py
Python
tests/test_eventparser.py
DanskeBank/apamaeventparser
40767140faa8bd5a4ae134162e0e0c10457786f7
[ "MIT" ]
3
2017-03-03T22:14:51.000Z
2021-02-03T03:01:03.000Z
tests/test_eventparser.py
DanskeBank/apamaeventparser
40767140faa8bd5a4ae134162e0e0c10457786f7
[ "MIT" ]
null
null
null
tests/test_eventparser.py
DanskeBank/apamaeventparser
40767140faa8bd5a4ae134162e0e0c10457786f7
[ "MIT" ]
1
2016-10-10T10:52:38.000Z
2016-10-10T10:52:38.000Z
import unittest from apamaeventparser.apamaevent import ApamaEvent from apamaeventparser.eventparser import parse, _tokenize, _channel, _package_name, _event_name, _event_body, _sequence, _dictionary class TestEvents(unittest.TestCase): def test_no_event(self): expected_event = None parsed_even...
46.348837
132
0.612017
859
7,972
5.413271
0.125728
0.096344
0.112903
0.089462
0.792473
0.764516
0.713978
0.679785
0.621935
0.583441
0
0.017794
0.25276
7,972
171
133
46.619883
0.7628
0.01292
0
0.342857
0
0.042857
0.175289
0.054786
0
0
0
0
0.178571
1
0.178571
false
0
0.021429
0
0.214286
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
78c3a132c809348a8e01047019a81ba3d48477aa
23,329
py
Python
core/background.py
nkrios/PloitKit
8fb4d7a84699917dbabcf358650c6a4e043c597f
[ "MIT" ]
200
2017-03-19T15:15:14.000Z
2022-02-04T21:11:48.000Z
core/background.py
nkrios/PloitKit
8fb4d7a84699917dbabcf358650c6a4e043c597f
[ "MIT" ]
17
2017-03-20T14:26:54.000Z
2018-12-04T08:35:45.000Z
core/background.py
nkrios/PloitKit
8fb4d7a84699917dbabcf358650c6a4e043c597f
[ "MIT" ]
80
2017-03-20T14:06:36.000Z
2022-01-09T10:18:43.000Z
#! /usr/bin/env python __author__ = 'Rajesh Majumdar' try: from tkinter import * import tkinter.scrolledtext as sctx except: from Tkinter import * import ScrolledText as sctx try: import ttk except ImportError: from tkinter.ttk import ttk import atexit import os import sys from aboutme imp...
62.377005
2,964
0.666981
2,442
23,329
6.342752
0.251433
0.022661
0.014849
0.015108
0.560462
0.524695
0.492672
0.475111
0.467106
0.455743
0
0.022638
0.147927
23,329
373
2,965
62.544236
0.756565
0.029534
0
0.192171
0
0
0.372916
0.006678
0
0
0
0
0
0
null
null
0.046263
0.074733
null
null
0.007117
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
78c7cc1b387aaacf7ab648fd90ba9d05363d47d7
3,573
py
Python
pyrosim/_network.py
jbongard/SAIL_ON
b8418acb14d4c21d2e26d80c1bd159c7f7b47dc7
[ "MIT" ]
21
2019-01-31T13:08:52.000Z
2021-04-16T07:28:50.000Z
pyrosim/_network.py
n0lley/polycube
bc97b81b7455a8682fcd83f198fad437bb3dc4cb
[ "MIT" ]
1
2019-02-26T14:38:20.000Z
2019-02-26T14:38:20.000Z
pyrosim/_network.py
n0lley/polycube
bc97b81b7455a8682fcd83f198fad437bb3dc4cb
[ "MIT" ]
8
2019-02-26T14:29:07.000Z
2020-09-03T05:15:48.000Z
class Mixin(object): def _send_neuron(self, *args): return self._send_entity('Neuron', *args) def _send_synapse(self, *args): return self._send_entity('Synapse', *args) def send_synapse(self, source_neuron_id, target_neuron_id, weight): """Send a synapse to the simulator to connec...
34.028571
85
0.585782
451
3,573
4.467849
0.232816
0.027295
0.055583
0.039702
0.327047
0.26799
0.240199
0.186104
0.064516
0.064516
0
0.007987
0.334173
3,573
105
86
34.028571
0.839008
0.468794
0
0
0
0
0.086111
0
0
0
0
0
0.153846
1
0.307692
false
0
0
0.076923
0.653846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
78cf640baa9c6f060f3bff8b3bbc561d2c418650
116
py
Python
src/linear3.py
AstraZeneca-NGS/LogMl
cf254b358150f0f96a9dd2ea50de56acdc15bd56
[ "MIT" ]
null
null
null
src/linear3.py
AstraZeneca-NGS/LogMl
cf254b358150f0f96a9dd2ea50de56acdc15bd56
[ "MIT" ]
56
2019-09-10T19:00:38.000Z
2022-02-10T00:35:57.000Z
src/linear3.py
AstraZeneca-NGS/LogMl
cf254b358150f0f96a9dd2ea50de56acdc15bd56
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Example of using 'linear 3' dataset from logml import * ml = LogMl() ml() print("Done!")
11.6
37
0.655172
18
116
4.222222
0.888889
0
0
0
0
0
0
0
0
0
0
0.010526
0.181034
116
9
38
12.888889
0.789474
0.482759
0
0
0
0
0.086207
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
154575f63d4890cc47224820e8d530eaea3c12e7
433
py
Python
exasol_udf_mock_python/connection.py
LennartAtExasol/udf-mock-python
ce59699967ac90098bd811e82ce2a7f359da172a
[ "MIT" ]
null
null
null
exasol_udf_mock_python/connection.py
LennartAtExasol/udf-mock-python
ce59699967ac90098bd811e82ce2a7f359da172a
[ "MIT" ]
15
2020-10-15T10:12:34.000Z
2022-03-15T18:33:18.000Z
exasol_udf_mock_python/connection.py
LennartAtExasol/udf-mock-python
ce59699967ac90098bd811e82ce2a7f359da172a
[ "MIT" ]
1
2021-03-23T10:11:17.000Z
2021-03-23T10:11:17.000Z
from enum import Enum class ConnectionType(Enum): PASSWORD = 1 class Connection: def __init__(self, address: str, user: str = None, password: str = None, type: ConnectionType = ConnectionType.PASSWORD): self.type = type self.password = password self.user = user ...
25.470588
76
0.623557
48
433
5.291667
0.395833
0.086614
0
0
0
0
0
0
0
0
0
0.003205
0.279446
433
17
77
25.470588
0.810897
0
0
0
0
0
0.004608
0
0
0
0
0
0
1
0.166667
false
0.333333
0.083333
0.083333
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
1548c25bee743a1ae4ca02d311fc4e132e3b4f3f
1,289
py
Python
restart/Statement_yjcL/PrintSomething.py
yujiecong/yjcL
6d6dc4ad3611cb34c07192a1a3038a1ac3f67d6c
[ "MIT" ]
null
null
null
restart/Statement_yjcL/PrintSomething.py
yujiecong/yjcL
6d6dc4ad3611cb34c07192a1a3038a1ac3f67d6c
[ "MIT" ]
null
null
null
restart/Statement_yjcL/PrintSomething.py
yujiecong/yjcL
6d6dc4ad3611cb34c07192a1a3038a1ac3f67d6c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- ''' @IDE :PyCharm @Project :yjcL @USER :yanyin @File :PrintSomething.py @Author :yujiecong @Date :2021/8/31 15:58 ''' import pprint from restart.Enum.Enum import StatementType, TokenType, ExpressionType import restart.Global.Variable from restart.Expr...
28.644444
74
0.730023
150
1,289
6.1
0.446667
0.084153
0.081967
0.104918
0
0
0
0
0
0
0
0.011215
0.169899
1,289
44
75
29.295455
0.843925
0.169899
0
0
0
0
0.044423
0
0
0
0
0
0
1
0.130435
false
0
0.391304
0.043478
0.608696
0.347826
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
154912b6e9083d1050a38290e0eeb3b4863c88a3
924
py
Python
students/K33402/Khoroshkeeva_Ksenia/LR3/locations/serializers.py
KseniaKhoroshkeeva/ITMO_ICT_WebDevelopment_2021-2022
59cda23fcd82f031dc1504d7f5abdae9e1f458c5
[ "MIT" ]
null
null
null
students/K33402/Khoroshkeeva_Ksenia/LR3/locations/serializers.py
KseniaKhoroshkeeva/ITMO_ICT_WebDevelopment_2021-2022
59cda23fcd82f031dc1504d7f5abdae9e1f458c5
[ "MIT" ]
null
null
null
students/K33402/Khoroshkeeva_Ksenia/LR3/locations/serializers.py
KseniaKhoroshkeeva/ITMO_ICT_WebDevelopment_2021-2022
59cda23fcd82f031dc1504d7f5abdae9e1f458c5
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import City, Country, UserChoice class CitySerializer(serializers.ModelSerializer): """Сериалайзер для городов""" class Meta: model = City fields = '__all__' class CountrySerializer(serializers.ModelSerializer): """Сериалайзер для стран...
24.972973
76
0.692641
82
924
7.646341
0.402439
0.165869
0.236045
0.255183
0.30303
0.30303
0.30303
0.30303
0.30303
0.30303
0
0
0.213203
924
36
77
25.666667
0.862448
0.150433
0
0.428571
0
0
0.03534
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.619048
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
159d46301959d5e5d7ecb4ef6dafc371a4191b43
2,584
py
Python
pyjsonrpc/src/jsonrpc/jsonrpcexceptions.py
mlunnay/nds_rpc
f09d707b660fa100aa378bc119ff33fe04107966
[ "MIT" ]
null
null
null
pyjsonrpc/src/jsonrpc/jsonrpcexceptions.py
mlunnay/nds_rpc
f09d707b660fa100aa378bc119ff33fe04107966
[ "MIT" ]
null
null
null
pyjsonrpc/src/jsonrpc/jsonrpcexceptions.py
mlunnay/nds_rpc
f09d707b660fa100aa378bc119ff33fe04107966
[ "MIT" ]
null
null
null
# Copyright (c) 2008, Michael Lunnay <mlunnay@gmail.com.au> # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND T...
37.449275
76
0.699303
318
2,584
5.45283
0.402516
0.078431
0.057093
0.106113
0.259516
0.235294
0.235294
0.235294
0.235294
0
0
0.021297
0.200464
2,584
68
77
38
0.818006
0.331269
0
0.205128
0
0
0.091496
0
0
0
0
0
0.051282
1
0.282051
false
0
0
0
0.564103
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
eca1b2aefb845b5b3dae6a6f9e1c2edb238cdd55
3,207
py
Python
message.py
maraoz/pymastercoin
040b5297916296567751b992a231877aee940514
[ "Apache-2.0" ]
4
2017-12-02T10:20:56.000Z
2021-12-04T06:23:03.000Z
message.py
maraoz/pymastercoin
040b5297916296567751b992a231877aee940514
[ "Apache-2.0" ]
1
2016-11-01T03:29:09.000Z
2016-11-01T03:29:09.000Z
message.py
maraoz/pymastercoin
040b5297916296567751b992a231877aee940514
[ "Apache-2.0" ]
3
2016-08-22T02:47:01.000Z
2019-11-15T04:57:48.000Z
"""Mastercoin message models""" from struct import pack from embed import recover_bytes_from_address, embed_in_address, TESTNET EXODUS_ADDRESS = "1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P" if not TESTNET else "mx4gSH1wfPdV7c9FNGxZLMGh1K4x43CVfT" DACOINMINISTERS_IN_MSC = 100000000 EPSILON = float(0.00006) CURR_ID_MASTE...
38.638554
145
0.695978
307
3,207
7.078176
0.37785
0.04694
0.022089
0.031753
0.122411
0.073631
0.041417
0.041417
0
0
0
0.123343
0.223885
3,207
82
146
39.109756
0.749699
0.019956
0
0.057692
0
0
0.247629
0.160871
0
0
0
0.012195
0
0
null
null
0
0.038462
null
null
0.134615
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
1
0
0
0
0
0
0
0
0
2
eca2685c6a2dc613803d913695bf93b0bd5ab912
1,998
py
Python
PyObjCTest/test_nsstackview.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
PyObjCTest/test_nsstackview.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
PyObjCTest/test_nsstackview.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
import AppKit from PyObjCTools.TestSupport import TestCase, min_os_level, min_sdk_level import objc class TestNSStackView(TestCase): def testConstants(self): self.assertEqual(AppKit.NSUserInterfaceLayoutOrientationHorizontal, 0) self.assertEqual(AppKit.NSUserInterfaceLayoutOrientationVertical, 1) ...
43.434783
78
0.766266
166
1,998
9.13253
0.361446
0.168206
0.235488
0.072559
0.056728
0
0
0
0
0
0
0.024275
0.154655
1,998
45
79
44.4
0.873298
0
0
0
0
0
0.016517
0
0
0
0
0
0.611111
1
0.111111
false
0
0.083333
0
0.222222
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
1
0
0
0
0
0
0
0
0
0
2
eca5709f5e7ffcbdbcd360e836ee55a3dd0e9b17
879
py
Python
sports/views.py
ahmadabudames/Django-X
d19d7aa996c64f54cabcc08faa42ffe3734dca08
[ "MIT" ]
null
null
null
sports/views.py
ahmadabudames/Django-X
d19d7aa996c64f54cabcc08faa42ffe3734dca08
[ "MIT" ]
null
null
null
sports/views.py
ahmadabudames/Django-X
d19d7aa996c64f54cabcc08faa42ffe3734dca08
[ "MIT" ]
null
null
null
from django.views.generic import ListView,CreateView,DetailView,UpdateView,DeleteView from django.urls import reverse_lazy from .models import sports # Create your views here. class sportsListView(ListView): model= sports template_name = "sports_list.html" context_object_name='sports' class sportsDetai...
25.114286
85
0.763367
100
879
6.48
0.41
0.092593
0.146605
0.177469
0.378086
0.154321
0.154321
0.154321
0
0
0
0
0.141069
879
34
86
25.852941
0.858278
0.026166
0
0.304348
0
0
0.224824
0
0
0
0
0
0
1
0
false
0
0.130435
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
ecbcd51cc3d56621aa8dfe258b5f07bc950132db
797
py
Python
ie/BHO/tests/runtests.py
penciltim/selenium-ice
58af79730063b28824b904f6547594b494952070
[ "Apache-2.0" ]
null
null
null
ie/BHO/tests/runtests.py
penciltim/selenium-ice
58af79730063b28824b904f6547594b494952070
[ "Apache-2.0" ]
null
null
null
ie/BHO/tests/runtests.py
penciltim/selenium-ice
58af79730063b28824b904f6547594b494952070
[ "Apache-2.0" ]
null
null
null
import sys sys.path.append("system") # TODO: refactor to add support for running unit tests. if __name__ == '__main__': if (len(sys.argv) == 2) and (sys.argv[1] == 'system'): print '\nIce Tester' print '----------------------------------------------------------------------\n' import doc...
30.653846
95
0.543287
87
797
4.816092
0.597701
0.050119
0.038186
0
0
0
0
0
0
0
0
0.005111
0.263488
797
25
96
31.88
0.708688
0.066499
0
0
0
0
0.417015
0.131102
0
0
0
0.04
0
0
null
null
0
0.105263
null
null
0.210526
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
1
0
0
0
0
0
0
0
0
2