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
908d38aaae80f7358c7bdd712f672748d50dac7d
544
py
Python
Desafio de Bino.py
Tiago-Rodrigue2/programacao1.0
aa272f3958238db9d8d11ba17d5e0ea08fabab3f
[ "MIT" ]
null
null
null
Desafio de Bino.py
Tiago-Rodrigue2/programacao1.0
aa272f3958238db9d8d11ba17d5e0ea08fabab3f
[ "MIT" ]
null
null
null
Desafio de Bino.py
Tiago-Rodrigue2/programacao1.0
aa272f3958238db9d8d11ba17d5e0ea08fabab3f
[ "MIT" ]
null
null
null
N = int(input()) m2 = 0 m3 = 0 m4 = 0 m5 = 0 values = input().split(' ') values_correctly = values[:N] for i in range(N): values_correctly[i] = int(values_correctly[i]) if(values_correctly[i] % 2 ==0): m2+=1 if(values_correctly[i] % 3 ==0): m3+=1 if(values_correctly[i] % 4 ==0): ...
21.76
50
0.568015
94
544
3.212766
0.276596
0.347682
0.317881
0.238411
0.413907
0
0
0
0
0
0
0.084906
0.220588
544
24
51
22.666667
0.627358
0
0
0
0
0
0.148897
0
0
0
0
0
0
1
0
false
0
0
0
0
0.190476
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
909b006e6962645bbcf08b8f43652db3e16113da
219
py
Python
mantle/lattice/ice40/__init__.py
splhack/mantle
42fe81df22f4556f891f77b9c9acfd7e8bbe648b
[ "MIT" ]
33
2018-06-11T22:58:23.000Z
2021-11-22T04:16:36.000Z
mantle/lattice/ice40/__init__.py
splhack/mantle
42fe81df22f4556f891f77b9c9acfd7e8bbe648b
[ "MIT" ]
90
2017-08-31T01:12:13.000Z
2021-09-17T04:07:07.000Z
mantle/lattice/ice40/__init__.py
splhack/mantle
42fe81df22f4556f891f77b9c9acfd7e8bbe648b
[ "MIT" ]
12
2017-09-01T03:25:36.000Z
2020-10-14T21:43:12.000Z
# Programmable logic block functions from .PLB import * # Input/output functions from .IOB import * # Block RAM functions from .RAMB import * # PLL from .PLL import * FAMILY = 'ice40' print('import lattice ice40')
13.6875
36
0.721461
29
219
5.448276
0.586207
0.246835
0
0
0
0
0
0
0
0
0
0.022472
0.187215
219
15
37
14.6
0.865169
0.369863
0
0
0
0
0.18797
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0.166667
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
1
0
0
0
0
3
909eb4b0828fbd1c2ad538ad8c0232e605edc9f7
144
py
Python
practice_work/resis.py
Pankwings/rough_python_practice_
3a1e62630c92223b1f02995afa3947504e509858
[ "MIT" ]
null
null
null
practice_work/resis.py
Pankwings/rough_python_practice_
3a1e62630c92223b1f02995afa3947504e509858
[ "MIT" ]
null
null
null
practice_work/resis.py
Pankwings/rough_python_practice_
3a1e62630c92223b1f02995afa3947504e509858
[ "MIT" ]
null
null
null
import math as m def res_par(r,c,f): return((r*(1/2*m.pi*f*c))/(r+(1/2*m.pi*f*c))) r = 2 c = 2 f = 1 result = res_par(r,c,f) print(result)
14.4
49
0.5625
39
144
2.025641
0.410256
0.151899
0.177215
0.202532
0.443038
0.21519
0.21519
0.21519
0
0
0
0.058824
0.173611
144
9
50
16
0.605042
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.25
0.125
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
1
0
0
0
3
909f34a17e7889060d841d1517452e9d6699c7ad
1,724
py
Python
tests/test_basic_variable.py
amlodzianowski/python-terrascript
1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49
[ "BSD-2-Clause" ]
null
null
null
tests/test_basic_variable.py
amlodzianowski/python-terrascript
1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49
[ "BSD-2-Clause" ]
null
null
null
tests/test_basic_variable.py
amlodzianowski/python-terrascript
1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49
[ "BSD-2-Clause" ]
null
null
null
import terrascript import terrascript.provider class TestVariable(object): def __init__(self): self.cfg = terrascript.Terrascript() def test_one_variable(self): v = terrascript.Variable("name", type="string", default="Hello World") assert isinstance(v, terrascript.NamedBlock) ...
35.183673
78
0.590487
196
1,724
5.127551
0.209184
0.118408
0.164179
0.167164
0.564179
0.502488
0.346269
0.266667
0.266667
0.266667
0
0.013534
0.228538
1,724
48
79
35.916667
0.742105
0.010441
0
0.222222
0
0
0.185555
0
0
0
0
0.020833
0.444444
1
0.138889
false
0.027778
0.055556
0
0.222222
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
1
0
0
0
0
0
0
0
0
0
3
90ad7ddecfd87bcd691b24dc6db8a7411d3dc9e6
247
py
Python
backend/util/bck_logging.py
kupernico/pybli
2ce80576663e7f51cb8f85db4b5c173e84fd0c56
[ "MIT" ]
2
2020-05-23T21:26:45.000Z
2020-09-24T11:27:27.000Z
backend/util/bck_logging.py
dcarpintero/py-bck
bb1089f2e4d738bc49bd36801f90cbe974f8610c
[ "MIT" ]
null
null
null
backend/util/bck_logging.py
dcarpintero/py-bck
bb1089f2e4d738bc49bd36801f90cbe974f8610c
[ "MIT" ]
null
null
null
import yaml import logging import logging.config def init(name): with open('./conf/logging.yaml', 'r') as f: logging_config = yaml.safe_load(f.read()) logging.config.dictConfig(logging_config) return logging.getLogger(name)
20.583333
49
0.708502
34
247
5.058824
0.558824
0.302326
0
0
0
0
0
0
0
0
0
0
0.17004
247
11
50
22.454545
0.839024
0
0
0
0
0
0.080972
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
90d70e58c1ab315fe26aebb424829c596ba3bc7c
569
py
Python
game/game/api/l2/minimap.py
maosplx/L2py
5d81b2ea150c0096cfce184706fa226950f7f583
[ "MIT" ]
7
2020-09-01T21:52:37.000Z
2022-02-25T16:00:08.000Z
game/game/api/l2/minimap.py
maosplx/L2py
5d81b2ea150c0096cfce184706fa226950f7f583
[ "MIT" ]
4
2021-09-10T22:15:09.000Z
2022-03-25T22:17:43.000Z
game/game/api/l2/minimap.py
maosplx/L2py
5d81b2ea150c0096cfce184706fa226950f7f583
[ "MIT" ]
9
2020-09-01T21:53:39.000Z
2022-03-30T12:03:04.000Z
import game.constants import game.packets import game.states from common.api_handlers import l2_request_handler from common.template import Parameter, Template from data.models.character import Character from data.models.structures.object.point3d import Point3D from data.models.structures.object.position import Positio...
37.933333
99
0.85413
78
569
6.064103
0.435897
0.063425
0.088795
0.10148
0.12685
0
0
0
0
0
0
0.015267
0.079086
569
14
100
40.642857
0.887405
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
90daa947586efebfd8911d785a86ebc75786db1b
583
py
Python
src/datasource/DataStore.py
leotimus/project-it703e20
cabaec4c44572f8fd1988992d2d28768429bc13a
[ "MIT" ]
null
null
null
src/datasource/DataStore.py
leotimus/project-it703e20
cabaec4c44572f8fd1988992d2d28768429bc13a
[ "MIT" ]
null
null
null
src/datasource/DataStore.py
leotimus/project-it703e20
cabaec4c44572f8fd1988992d2d28768429bc13a
[ "MIT" ]
null
null
null
import json import os import smbclient class DataStore: def __init__(self): config = json.load(open('c.json', 'r')) self._aauDataStore = smbclient self._aauDataStore.ClientConfig(username=config['DATA_USER'], password=config['DATA_PASS']) def openFile(self, path:str, mode:str = 'r'): if os.path.i...
23.32
95
0.694683
73
583
5.410959
0.452055
0.162025
0.111392
0
0
0
0
0
0
0
0
0
0.183533
583
24
96
24.291667
0.829832
0
0
0
0
0
0.044597
0
0
0
0
0
0
1
0.210526
false
0.105263
0.157895
0.052632
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
90dff7390220a89c5f6e27531ae40c43ddafdd2d
82
py
Python
test/fixtures/python/get_insecure_short.py
csperando/curlconverter
733f110e5621375701f4424299ccd72e669876f6
[ "MIT" ]
536
2021-10-06T17:21:25.000Z
2022-03-31T13:05:48.000Z
test/fixtures/python/get_insecure_short.py
csperando/curlconverter
733f110e5621375701f4424299ccd72e669876f6
[ "MIT" ]
74
2021-10-08T13:57:14.000Z
2022-03-31T06:55:39.000Z
test/fixtures/python/get_insecure_short.py
csperando/curlconverter
733f110e5621375701f4424299ccd72e669876f6
[ "MIT" ]
104
2021-10-06T19:36:15.000Z
2022-03-31T07:34:04.000Z
import requests response = requests.get('http://localhost:28139/', verify=False)
20.5
64
0.756098
10
82
6.2
0.9
0
0
0
0
0
0
0
0
0
0
0.066667
0.085366
82
3
65
27.333333
0.76
0
0
0
0
0
0.280488
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
29002b7c45fc92e3db7e8c1150ad2e41c98d4639
49
py
Python
gitlabform/__init__.py
barryib/gitlabform
c07b434bd50706ad69e69b37a7eb39230a4414f5
[ "MIT" ]
null
null
null
gitlabform/__init__.py
barryib/gitlabform
c07b434bd50706ad69e69b37a7eb39230a4414f5
[ "MIT" ]
6
2020-10-26T05:40:55.000Z
2021-03-22T05:22:05.000Z
gitlabform/__init__.py
barryib/gitlabform
c07b434bd50706ad69e69b37a7eb39230a4414f5
[ "MIT" ]
null
null
null
EXIT_INVALID_INPUT = 1 EXIT_PROCESSING_ERROR = 2
16.333333
25
0.836735
8
49
4.625
0.875
0
0
0
0
0
0
0
0
0
0
0.046512
0.122449
49
2
26
24.5
0.813953
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2916baddb7ffdc7b14d17836a6ce6005fe21acfd
1,337
py
Python
src/domain.py
joseluis8906/acme_bank
3130e53dd3455b179102d172a61ab343c2580530
[ "Apache-2.0" ]
null
null
null
src/domain.py
joseluis8906/acme_bank
3130e53dd3455b179102d172a61ab343c2580530
[ "Apache-2.0" ]
null
null
null
src/domain.py
joseluis8906/acme_bank
3130e53dd3455b179102d172a61ab343c2580530
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- class PinValidationError(Exception): pass class PinChangingError(Exception): pass class AccountWithoutBalanceError(Exception): pass class Account: def __init__(self, id: str, pin: str, balance: float): self.__id = id self.__pin = pin ...
24.309091
78
0.612565
161
1,337
4.838509
0.31677
0.062901
0.051348
0.030809
0.110398
0
0
0
0
0
0
0.001029
0.272999
1,337
54
79
24.759259
0.800412
0.031414
0
0.138889
0
0
0.058778
0
0
0
0
0
0
1
0.25
false
0.083333
0
0.111111
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
1
0
1
0
1
0
0
0
3
292262a8f506abdd073c80484a5cc35899ee403b
165
py
Python
django_wma/urls.py
rohithasrk/water-monitoring
a54774b75c83381402f8454f293b47db53197037
[ "MIT" ]
1
2019-07-04T14:12:48.000Z
2019-07-04T14:12:48.000Z
django_wma/urls.py
rohithasrk/django-wma
a54774b75c83381402f8454f293b47db53197037
[ "MIT" ]
null
null
null
django_wma/urls.py
rohithasrk/django-wma
a54774b75c83381402f8454f293b47db53197037
[ "MIT" ]
null
null
null
from django.conf.urls import url, include urlpatterns = [ url(r'^api/', include('django_wma.api.urls')), url(r'', include('django_wma.visualizer.urls')), ]
23.571429
52
0.672727
23
165
4.73913
0.521739
0.073395
0.293578
0
0
0
0
0
0
0
0
0
0.133333
165
6
53
27.5
0.762238
0
0
0
0
0
0.30303
0.157576
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2923ba3ef957e44332fa23f7d04a0d6dc084fb39
1,869
py
Python
scipype/__init__.py
samuell/scipype
72d53e97e40b80a270faf8a4c8f243e9cec05653
[ "MIT" ]
null
null
null
scipype/__init__.py
samuell/scipype
72d53e97e40b80a270faf8a4c8f243e9cec05653
[ "MIT" ]
null
null
null
scipype/__init__.py
samuell/scipype
72d53e97e40b80a270faf8a4c8f243e9cec05653
[ "MIT" ]
null
null
null
# Copyright (c) 2016 Samuel Lampa <samuel.lampa@gmail.com> import re from collections import deque class Workflow(object): processes = {} def add_process(self, process_name, process): self.processes[process_name] = process def run(self): while True: for process_name, process i...
26.323944
68
0.555912
206
1,869
4.893204
0.432039
0.069444
0.053571
0.0625
0.115079
0.085317
0.085317
0
0
0
0
0.011094
0.324773
1,869
70
69
26.7
0.787639
0.079722
0
0.106383
0
0
0.12077
0
0
0
0
0.014286
0
0
null
null
0.06383
0.042553
null
null
0.148936
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
1
0
0
0
0
0
3
292d1fef5895a4874f318d82f9bf56bb69e12d5a
9,858
py
Python
pysnmp/RBN-BIND-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/RBN-BIND-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/RBN-BIND-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module RBN-BIND-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RBN-BIND-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:44:05 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019,...
117.357143
1,065
0.739602
1,143
9,858
6.377078
0.160105
0.010701
0.050761
0.015914
0.456304
0.380436
0.34408
0.34408
0.34408
0.342297
0
0.080134
0.088558
9,858
83
1,066
118.771084
0.731107
0.032258
0
0.054795
0
0
0.216347
0.004617
0
0
0
0
0
1
0
false
0.082192
0.123288
0
0.178082
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
293948b131fb3906af78e0d2112e9af24dc99c3c
247
py
Python
applications/models.py
benrpinto/ausimin
37d9879a729f637ff03d030168904737fd415776
[ "MIT" ]
null
null
null
applications/models.py
benrpinto/ausimin
37d9879a729f637ff03d030168904737fd415776
[ "MIT" ]
null
null
null
applications/models.py
benrpinto/ausimin
37d9879a729f637ff03d030168904737fd415776
[ "MIT" ]
null
null
null
from django.db import models from home.models import FeatureContent # Create your models here. class ApplContent(FeatureContent): button_text = models.CharField(blank=True, max_length=50) load_file = models.FileField(blank=True, null=True)
30.875
60
0.793522
34
247
5.676471
0.705882
0.093264
0
0
0
0
0
0
0
0
0
0.009217
0.121457
247
7
61
35.285714
0.880184
0.097166
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
293b53ea7041ef566489fe7c91932628b4979e8d
1,386
py
Python
models.py
Xinverse/BOTC-Bot
1932c649c81a5a1eab735d7abdee0761c2853940
[ "MIT" ]
1
2020-06-21T17:20:17.000Z
2020-06-21T17:20:17.000Z
models.py
BlueLenz/Blood-on-the-Clocktower-Storyteller-Discord-Bot
1932c649c81a5a1eab735d7abdee0761c2853940
[ "MIT" ]
1
2020-07-07T03:47:44.000Z
2020-07-07T03:47:44.000Z
models.py
BlueLenz/Blood-on-the-Clocktower-Storyteller-Discord-Bot
1932c649c81a5a1eab735d7abdee0761c2853940
[ "MIT" ]
1
2022-02-18T00:42:19.000Z
2022-02-18T00:42:19.000Z
"""Contains several models to inherit from""" from abc import ABCMeta, abstractmethod, abstractproperty class FormatterMeta(metaclass=ABCMeta): """A framework for each game pack's formatter class""" def make_header(self, header_text): """Bold the text for game pack title""" return f"**{h...
27.72
104
0.649351
175
1,386
5.017143
0.457143
0.036446
0.038724
0.059226
0.107062
0
0
0
0
0
0
0
0.258297
1,386
49
105
28.285714
0.854086
0.395382
0
0.380952
0
0
0.076416
0.030303
0
0
0
0
0
1
0.333333
false
0.190476
0.047619
0
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
293b565e7ecc70b817d919b55577cb7fddf4e140
5,708
py
Python
tests/test_rfc5940.py
Jamim/pyasn1-modules
7fafbf8550ab9e8727274903ed96ae849cd24594
[ "BSD-2-Clause" ]
null
null
null
tests/test_rfc5940.py
Jamim/pyasn1-modules
7fafbf8550ab9e8727274903ed96ae849cd24594
[ "BSD-2-Clause" ]
null
null
null
tests/test_rfc5940.py
Jamim/pyasn1-modules
7fafbf8550ab9e8727274903ed96ae849cd24594
[ "BSD-2-Clause" ]
null
null
null
# # This file is part of pyasn1-modules software. # # Copyright (c) 2019, Vigil Security, LLC # License: http://snmplabs.com/pyasn1/license.html # import sys from pyasn1.codec.der.decoder import decode as der_decode from pyasn1.codec.der.encoder import encode as der_encode from pyasn1.type import univ from pyasn1_mo...
42.597015
72
0.798879
404
5,708
11.170792
0.445545
0.017727
0.018834
0.025482
0.16663
0.16663
0.139154
0.11345
0.097053
0.097053
0
0.067663
0.132621
5,708
133
73
42.917293
0.84387
0.023476
0
0.168224
0
0
0.519131
0.448356
0
1
0
0
0.186916
1
0.028037
false
0
0.121495
0
0.168224
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
29430eada628c18387affd094f008feab306e867
272
py
Python
docs/tutorials/fermi_psf/plot_95.py
joleroi/gammapy
c4e0c4bd74c79d30e0837559d18b7a1a269f70d9
[ "BSD-3-Clause" ]
3
2019-01-28T12:21:14.000Z
2019-02-10T19:58:07.000Z
docs/tutorials/fermi_psf/plot_95.py
joleroi/gammapy
c4e0c4bd74c79d30e0837559d18b7a1a269f70d9
[ "BSD-3-Clause" ]
null
null
null
docs/tutorials/fermi_psf/plot_95.py
joleroi/gammapy
c4e0c4bd74c79d30e0837559d18b7a1a269f70d9
[ "BSD-3-Clause" ]
null
null
null
"""Plots 95 Percent PSF Containment Radius with Energy for Galactic Center and Vela region. """ from fermi_psf_study import plot_containment_radii plt = plot_containment_radii(fraction=95) plt.ylim([0, 2]) plt.title('Fermi-LAT PSF \n 95% Containment Radius with Energy')
30.222222
74
0.786765
43
272
4.837209
0.651163
0.163462
0.201923
0.259615
0
0
0
0
0
0
0
0.033473
0.121324
272
8
75
34
0.83682
0.323529
0
0
0
0
0.288136
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2952146b67f8f2dfb9dfee371328544d72d3db47
557
py
Python
api/api/Task.py
MauricioQueiros/flask-crud-rest-app
364cf9caec16e89d2c0308511939078051f1865d
[ "MIT" ]
null
null
null
api/api/Task.py
MauricioQueiros/flask-crud-rest-app
364cf9caec16e89d2c0308511939078051f1865d
[ "MIT" ]
null
null
null
api/api/Task.py
MauricioQueiros/flask-crud-rest-app
364cf9caec16e89d2c0308511939078051f1865d
[ "MIT" ]
null
null
null
from flask_restful import Resource import logging as logger class Task(Resource): def get(self): logger.debug('Inside get method') return {"message" : "inside get method"}, 200 def post(self): logger.debug('Inside post method') return {"message": "inside post method"}, 200 ...
25.318182
55
0.626571
68
557
5.117647
0.323529
0.114943
0.172414
0.241379
0
0
0
0
0
0
0
0.028846
0.253142
557
21
56
26.52381
0.807692
0
0
0
0
0
0.308797
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0
0.733333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
296c5b3946225fcbb5f8aaf5e179569383c58239
311
py
Python
logalyzer/__init__.py
edsuom/logalyzer
f204e11f117d3376e2199eeb95c1dd9d0926ba2c
[ "Apache-2.0" ]
null
null
null
logalyzer/__init__.py
edsuom/logalyzer
f204e11f117d3376e2199eeb95c1dd9d0926ba2c
[ "Apache-2.0" ]
null
null
null
logalyzer/__init__.py
edsuom/logalyzer
f204e11f117d3376e2199eeb95c1dd9d0926ba2c
[ "Apache-2.0" ]
null
null
null
""" logalyzer: Parses your bloated HTTP access logs to extract the info you want about hits from (hopefully) real people instead of just the endless stream of hackers and bots that passes for web traffic nowadays. Stores the info in a relational database where you can access it using all the power of SQL. """
34.555556
67
0.787781
53
311
4.622642
0.849057
0.057143
0
0
0
0
0
0
0
0
0
0
0.176849
311
8
68
38.875
0.957031
0.971061
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4628a0a96f90bb6b2b425fc10eed801b13d77808
133
py
Python
gravityspytools/login/urls.py
olipatane/gravityspytools
abc9b81cbbcaea1df765ef21a62af4123a0e28b3
[ "BSD-3-Clause" ]
4
2019-03-11T12:32:24.000Z
2020-12-01T06:31:39.000Z
gravityspytools/login/urls.py
johnwick211/gravityspytools
23ef83e36ed934f7c39440bf43f4d5c7b7b4abb0
[ "BSD-3-Clause" ]
19
2018-01-29T21:28:39.000Z
2020-07-14T18:38:23.000Z
gravityspytools/login/urls.py
johnwick211/gravityspytools
23ef83e36ed934f7c39440bf43f4d5c7b7b4abb0
[ "BSD-3-Clause" ]
4
2018-02-02T16:47:16.000Z
2020-12-01T06:31:49.000Z
from django.conf.urls import url from . import views appname = 'login' urlpatterns = [ url(r'^$', views.login, name='login'), ]
16.625
42
0.661654
18
133
4.888889
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.172932
133
7
43
19
0.8
0
0
0
0
0
0.090226
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
463546ba548820ea9fab2c86baeedf2fd455fa71
251
py
Python
lib/evaluators/base_evaluator.py
weiwei11/ml-template
a28cc49175be8d31c483390b03396b561ca13881
[ "MIT" ]
1
2021-06-17T07:31:35.000Z
2021-06-17T07:31:35.000Z
lib/evaluators/base_evaluator.py
weiwei11/ml-template
a28cc49175be8d31c483390b03396b561ca13881
[ "MIT" ]
null
null
null
lib/evaluators/base_evaluator.py
weiwei11/ml-template
a28cc49175be8d31c483390b03396b561ca13881
[ "MIT" ]
null
null
null
# Author: weiwei class BaseEvaluator: def __init__(self, result_dir): self.result_dir = result_dir def evaluate(self, output, batch): raise NotImplementedError() def summarize(self): raise NotImplementedError()
19.307692
38
0.673307
26
251
6.230769
0.576923
0.166667
0.160494
0
0
0
0
0
0
0
0
0
0.243028
251
12
39
20.916667
0.852632
0.055777
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
464c7bb34ff91f24b36973a354c3a09d02bd4312
529
py
Python
venv/Lib/site-packages/win32ctypes/core/compat.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
33
2021-11-07T09:21:07.000Z
2022-03-30T03:27:47.000Z
venv/Lib/site-packages/win32ctypes/core/compat.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
venv/Lib/site-packages/win32ctypes/core/compat.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
18
2021-11-12T03:15:45.000Z
2022-03-25T05:29:00.000Z
import sys if sys.version_info[0] >= 3: PY3 = True PY2 = False else: PY3 = False PY2 = True if PY3: def is_bytes(b): return isinstance(b, bytes) def is_text(s): return isinstance(s, str) def is_integer(i): return isinstance(i, int) text_type = str else: d...
16.53125
42
0.582231
76
529
3.934211
0.355263
0.100334
0.06689
0.073579
0.64214
0.64214
0.64214
0.461538
0.240803
0
0
0.019178
0.310019
529
31
43
17.064516
0.8
0
0
0.347826
0
0
0
0
0
0
0
0
0
1
0.26087
false
0
0.043478
0.26087
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
46596bc58fcd31fd68b499603cd8a7aae015b608
993
py
Python
coord2vec/models/data_loading/tests/test_singleTileFeaturesDataset.py
jonzarecki/coord2vec
4f267fdd87af7b3d3558ca834b88e9ab7c309c18
[ "Apache-2.0" ]
null
null
null
coord2vec/models/data_loading/tests/test_singleTileFeaturesDataset.py
jonzarecki/coord2vec
4f267fdd87af7b3d3558ca834b88e9ab7c309c18
[ "Apache-2.0" ]
null
null
null
coord2vec/models/data_loading/tests/test_singleTileFeaturesDataset.py
jonzarecki/coord2vec
4f267fdd87af7b3d3558ca834b88e9ab7c309c18
[ "Apache-2.0" ]
1
2021-01-25T09:21:17.000Z
2021-01-25T09:21:17.000Z
import os import shutil from unittest import TestCase from coord2vec.config import TEST_CACHE_DIR, TENSORBOARD_DIR # from coord2vec.feature_extraction.features_builders import example_features_builder from coord2vec.models.data_loading.create_dataset_script import sample_and_save_dataset from coord2vec.models.data_loa...
36.777778
88
0.76435
123
993
5.878049
0.512195
0.071923
0.06639
0.063624
0.082988
0
0
0
0
0
0
0.010753
0.1571
993
26
89
38.192308
0.853047
0.364552
0
0.133333
0
0
0.057692
0
0
0
0
0
0
1
0.2
false
0.066667
0.4
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
466464e814c98b9c9f5b7e3a11413a6a07e9f3c8
162
py
Python
server/extensions.py
brayest/testcode
865d31ccfaf75946620c36955cc3dcb395515796
[ "Unlicense" ]
652
2021-01-24T10:32:08.000Z
2022-02-05T09:14:10.000Z
server/extensions.py
starhappy/Dryvo
14c549a4f2265afd515bfd6f5f477a68187ea287
[ "Unlicense" ]
1
2021-01-27T05:09:14.000Z
2021-02-01T06:21:05.000Z
server/extensions.py
starhappy/Dryvo
14c549a4f2265afd515bfd6f5f477a68187ea287
[ "Unlicense" ]
147
2021-01-25T10:57:22.000Z
2022-02-05T09:14:12.000Z
"""Extensions module. Each extension is initialized in the app factory located in app.py.""" from flask_login import LoginManager login_manager = LoginManager()
32.4
92
0.796296
22
162
5.772727
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.12963
162
4
93
40.5
0.900709
0.530864
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4666c279de142f31c1e5de921f213d2251652bad
175
py
Python
cmsplugin_nvd3/tests/urls.py
scidam/cmsplugin-nvd3
57e7f38a9aa01844f9cfac61d1f3ef9f4585d2b3
[ "MIT" ]
6
2015-11-16T05:40:37.000Z
2016-09-06T04:18:35.000Z
cmsplugin_nvd3/tests/urls.py
scidam/cmsplugin-nvd3
57e7f38a9aa01844f9cfac61d1f3ef9f4585d2b3
[ "MIT" ]
1
2016-08-11T02:06:18.000Z
2016-08-11T02:06:18.000Z
cmsplugin_nvd3/tests/urls.py
scidam/cmsplugin-nvd3
57e7f38a9aa01844f9cfac61d1f3ef9f4585d2b3
[ "MIT" ]
null
null
null
from django.contrib import admin from django.conf.urls import url, include urlpatterns = [ url(r'^admin/', include(admin.site.urls)), url(r'', include('cms.urls')), ]
25
46
0.685714
25
175
4.8
0.52
0.166667
0
0
0
0
0
0
0
0
0
0
0.142857
175
7
47
25
0.8
0
0
0
0
0
0.085227
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4667abc451cb8243d2dd3ee933429e86fd1eccd5
225
py
Python
python/random/qs.py
crunchbang/lang-adventures
26ec6029a0039eed623b461fd3a6b9c82c92205d
[ "BSD-2-Clause" ]
null
null
null
python/random/qs.py
crunchbang/lang-adventures
26ec6029a0039eed623b461fd3a6b9c82c92205d
[ "BSD-2-Clause" ]
null
null
null
python/random/qs.py
crunchbang/lang-adventures
26ec6029a0039eed623b461fd3a6b9c82c92205d
[ "BSD-2-Clause" ]
null
null
null
def quicksort (lst): if lst == []: return [] else: smallsorted = quicksort([x for x in lst[1:] if x <= lst[0]]) bigsorted = quicksort([x for x in lst[1:] if x > lst[0]]) return smallsorted + [lst[0]] + bigsorted
28.125
62
0.595556
36
225
3.722222
0.361111
0.089552
0.19403
0.208955
0.402985
0.402985
0.402985
0.402985
0.402985
0.402985
0
0.028736
0.226667
225
7
63
32.142857
0.741379
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
466d1f630c33f5c1c2ae89364261ccf3160007af
259
py
Python
project/project/urls.py
cborao/Django-cms-usersput
9a67b4a4cfe0fa3d1b341c8eb823808890582864
[ "MIT" ]
null
null
null
project/project/urls.py
cborao/Django-cms-usersput
9a67b4a4cfe0fa3d1b341c8eb823808890582864
[ "MIT" ]
null
null
null
project/project/urls.py
cborao/Django-cms-usersput
9a67b4a4cfe0fa3d1b341c8eb823808890582864
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path, include from django.contrib.auth.views import LoginView as login urlpatterns = [ path('login', login.as_view()), path('cms/', include('cms.urls')), path('admin/', admin.site.urls), ]
25.9
56
0.702703
36
259
5.027778
0.472222
0.165746
0.187845
0
0
0
0
0
0
0
0
0
0.146718
259
9
57
28.777778
0.819005
0
0
0
0
0
0.088803
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
466e60cbe74cf37eb783e797c3cd3696cfbe6394
378
py
Python
Chapter 07/Chap07_Example7.44.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
Chapter 07/Chap07_Example7.44.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
Chapter 07/Chap07_Example7.44.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
myl1 = [1,2,3,4,5] myl2 = myl1.copy() print(id(myl1)) print(id(myl2)) print("Initially") print(" myl1 is: ", myl1) print(" myl2 is: ", myl2) print("--------------------") myl1[2] = 13 print("Modifying myl1") print(" myl1 is: ", myl1) print(" myl2 is: ", myl2) print("--------------------") myl2[3] = 14 print("Modifying ...
22.235294
29
0.547619
55
378
3.763636
0.272727
0.217391
0.15942
0.217391
0.483092
0.483092
0.483092
0.483092
0.338164
0
0
0.097561
0.132275
378
17
30
22.235294
0.533537
0
0
0.470588
0
0
0.361478
0
0
0
0
0
0
1
0
false
0
0
0
0
0.764706
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
1
0
3
4677636dcb0299c6948d9f409d953910c9e1f15f
250
py
Python
src/style/looping.py
privong/still-magic
1d651840497d66d44ff43528f6e1f38e698ce168
[ "CC-BY-4.0" ]
null
null
null
src/style/looping.py
privong/still-magic
1d651840497d66d44ff43528f6e1f38e698ce168
[ "CC-BY-4.0" ]
1
2019-05-11T23:42:33.000Z
2019-05-13T18:48:36.000Z
src/style/looping.py
privong/still-magic
1d651840497d66d44ff43528f6e1f38e698ce168
[ "CC-BY-4.0" ]
null
null
null
people = [ [['Kay', 'McNulty'], 'mcnulty@eniac.org'], [['Betty', 'Jennings'], 'jennings@eniac.org'], [['Marlyn', 'Wescoff'], 'mwescoff@eniac.org'] ] for [[first, last], email] in people: print('{} {} <{}>'.format(first, last, email))
31.25
50
0.556
27
250
5.148148
0.62963
0.172662
0.201439
0
0
0
0
0
0
0
0
0
0.16
250
7
51
35.714286
0.661905
0
0
0
0
0
0.396
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
46834296ad927161612781f30b975350a878cccc
436
py
Python
tests/test_load_html.py
vault-the/pywebview
8608378ab62732d52640478c572c4f83994c0cbf
[ "BSD-3-Clause" ]
null
null
null
tests/test_load_html.py
vault-the/pywebview
8608378ab62732d52640478c572c4f83994c0cbf
[ "BSD-3-Clause" ]
null
null
null
tests/test_load_html.py
vault-the/pywebview
8608378ab62732d52640478c572c4f83994c0cbf
[ "BSD-3-Clause" ]
null
null
null
import pytest import threading from .util import run_test, destroy_window def load_html(): import webview def _load_html(webview): webview.load_html('<h1>This is dynamically loaded HTML</h1>') t = threading.Thread(target=_load_html, args=(webview,)) t.start() destroy_window(webview) ...
20.761905
70
0.708716
61
436
4.836066
0.459016
0.189831
0.074576
0
0
0
0
0
0
0
0
0.005556
0.174312
436
20
71
21.8
0.813889
0
0
0
0
0
0.176606
0
0
0
0
0
0
1
0.230769
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
1
0
0
1
0
1
0
0
3
d3c46af0e99a48e52decc56ca9d3cf2a401834f2
129
py
Python
streamselect/states/__init__.py
BenHals/streamselect
ca5e80f3a8a31a38ac52bccfd92528d73f387a6a
[ "BSD-3-Clause" ]
null
null
null
streamselect/states/__init__.py
BenHals/streamselect
ca5e80f3a8a31a38ac52bccfd92528d73f387a6a
[ "BSD-3-Clause" ]
null
null
null
streamselect/states/__init__.py
BenHals/streamselect
ca5e80f3a8a31a38ac52bccfd92528d73f387a6a
[ "BSD-3-Clause" ]
null
null
null
""" Handles states, where a state is a (Classifier, ConceptRepresentation) pair""" from .base import State __all__ = ["State"]
21.5
82
0.72093
16
129
5.5625
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.155039
129
5
83
25.8
0.816514
0.581395
0
0
0
0
0.106383
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d3c4a15e17acd2697eb314137038800a548fad68
1,767
py
Python
plugins/lastpass_enterprise/komand_lastpass_enterprise/actions/provision_user/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/lastpass_enterprise/komand_lastpass_enterprise/actions/provision_user/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/lastpass_enterprise/komand_lastpass_enterprise/actions/provision_user/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
# GENERATED BY KOMAND SDK - DO NOT EDIT import komand import json class Component: DESCRIPTION = "Provision new user or change exisiting user" class Input: FULL_NAME = "full_name" GROUPS = "groups" PASSWORD = "password" PASSWORD_RESET_REQUIRED = "password_reset_required" USER_NAME = "user_na...
19.633333
63
0.546689
172
1,767
5.401163
0.319767
0.051668
0.113025
0.040904
0.198062
0.198062
0.198062
0.198062
0.092573
0.092573
0
0.004766
0.287493
1,767
89
64
19.853933
0.733122
0.020939
0
0.263158
1
0
0.685764
0.028356
0
0
0
0
0
1
0.026316
false
0.105263
0.026316
0
0.236842
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
d3df44d8d8f542ec70d8f86b6d86ad474db78094
228
py
Python
tests/providers/neo.py
cbmnbe/kge
9b6e02088d91b9c7442a39742e838694d1aa23b4
[ "MIT" ]
null
null
null
tests/providers/neo.py
cbmnbe/kge
9b6e02088d91b9c7442a39742e838694d1aa23b4
[ "MIT" ]
null
null
null
tests/providers/neo.py
cbmnbe/kge
9b6e02088d91b9c7442a39742e838694d1aa23b4
[ "MIT" ]
null
null
null
from kge import providers def callback(data): assert data is not None def test_execute(): provider = providers.NeoProvider() provider.execute('MATCH (cloudAtlas {title: "Cloud Atlas"}) RETURN cloudAtlas', callback)
28.5
93
0.736842
28
228
5.964286
0.75
0
0
0
0
0
0
0
0
0
0
0
0.162281
228
8
93
28.5
0.874346
0
0
0
0
0
0.257642
0
0
0
0
0
0.166667
1
0.333333
false
0
0.166667
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
31028678063ab965882f56662de68c955b4b1f8d
205
py
Python
Python3/0136-Single-Number/soln.py
wyaadarsh/LeetCode-Solutions
3719f5cb059eefd66b83eb8ae990652f4b7fd124
[ "MIT" ]
5
2020-07-24T17:48:59.000Z
2020-12-21T05:56:00.000Z
Python3/0136-Single-Number/soln.py
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
null
null
null
Python3/0136-Single-Number/soln.py
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
2
2020-07-24T17:49:01.000Z
2020-08-31T19:57:35.000Z
import functools class Solution: def singleNumber(self, nums): """ :type nums: List[int] :rtype: int """ return functools.reduce(operator.ixor, nums, 0)
22.777778
55
0.546341
21
205
5.333333
0.809524
0
0
0
0
0
0
0
0
0
0
0.007407
0.341463
205
9
56
22.777778
0.822222
0.160976
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
3156517dd7f222b9decda73de901f10b2acc38f8
63
py
Python
shadowsocksr_tools/__init__.py
wesionio/python-shadowsocksr-tools
9463f8244b90e752901de51874b45025ea06845a
[ "MIT" ]
3
2019-10-02T09:08:58.000Z
2019-12-09T07:22:41.000Z
shadowsocksr_tools/__init__.py
wesionio/python-shadowsocksr-tools
9463f8244b90e752901de51874b45025ea06845a
[ "MIT" ]
1
2019-07-23T03:57:31.000Z
2020-04-15T08:01:12.000Z
shadowsocksr_tools/__init__.py
wesionio/python-shadowsocksr-tools
9463f8244b90e752901de51874b45025ea06845a
[ "MIT" ]
1
2019-10-02T10:59:45.000Z
2019-10-02T10:59:45.000Z
# coding:utf-8 from .ssr import * name = 'shadowsocksr-tools'
12.6
27
0.698413
9
63
4.888889
1
0
0
0
0
0
0
0
0
0
0
0.018868
0.15873
63
4
28
15.75
0.811321
0.190476
0
0
0
0
0.367347
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
315ee9ed5ebfe9f2abb7c44a2a563576ccd33bc3
832
py
Python
pages/company/test_company_mobile.py
fylein/fyle-www-tests
b4ddbffcaaf3e31034a050c34b58a05c764ac455
[ "MIT" ]
null
null
null
pages/company/test_company_mobile.py
fylein/fyle-www-tests
b4ddbffcaaf3e31034a050c34b58a05c764ac455
[ "MIT" ]
6
2020-07-13T15:44:43.000Z
2020-09-03T13:37:31.000Z
pages/company/test_company_mobile.py
fylein/fyle-www-tests
b4ddbffcaaf3e31034a050c34b58a05c764ac455
[ "MIT" ]
12
2020-07-23T04:33:16.000Z
2020-10-02T10:56:00.000Z
from common.asserts import * from .common.company import * from common.components.hero import * from . import mobile_browser as browser def test_hero_section(browser): section_class = 'investor-logos' assert_h1_spacing(browser, section_class, 16) assert_subtext_spacing(browser, section_class, value=40, mid...
36.173913
162
0.758413
120
832
5
0.433333
0.058333
0.095
0.086667
0
0
0
0
0
0
0
0.046385
0.11899
832
22
163
37.818182
0.772169
0
0
0
0
0.058824
0.147837
0.111779
0
0
0
0
0.470588
1
0.294118
false
0
0.235294
0
0.529412
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
1
0
0
0
0
1
0
0
3
316b25bdef0596effc22cac0a016e4cda139b253
881
py
Python
adv_train/model/cifar/params.py
busycalibrating/Adversarial-Training
e1fe4061f72e1379d9920b02c1cc281e1be2606f
[ "MIT" ]
null
null
null
adv_train/model/cifar/params.py
busycalibrating/Adversarial-Training
e1fe4061f72e1379d9920b02c1cc281e1be2606f
[ "MIT" ]
null
null
null
adv_train/model/cifar/params.py
busycalibrating/Adversarial-Training
e1fe4061f72e1379d9920b02c1cc281e1be2606f
[ "MIT" ]
1
2022-01-31T06:14:41.000Z
2022-01-31T06:14:41.000Z
from dataclasses import dataclass from omegaconf import MISSING from .models import CifarModel from online_attacks.classifiers.dataset import DatasetParams from online_attacks.attacks import Attacker, AttackerParams from online_attacks.utils.optimizer import OptimizerParams, OptimizerType from typing import Optional ...
33.884615
73
0.77185
96
881
6.90625
0.46875
0.045249
0.076923
0
0
0
0
0
0
0
0
0.004076
0.164586
881
25
74
35.24
0.896739
0
0
0
0
0
0.048808
0
0
0
0
0
0
1
0
true
0
0.304348
0
0.869565
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
316c936061e68c521194563c914a9750b2ab79ba
871
py
Python
test/tests/set.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
1
2015-11-06T03:39:51.000Z
2015-11-06T03:39:51.000Z
test/tests/set.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
null
null
null
test/tests/set.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
null
null
null
s1 = {1} def sorted(s): l = list(s) l.sort() return repr(l) s1 = set() | set(range(3)) print sorted(s1) s2 = set(range(1, 5)) print sorted(s2) print repr(sorted(s1)), str(sorted(s1)) print sorted(s1 - s2) print sorted(s2 - s1) print sorted(s1 ^ s2) print sorted(s1 & s2) print sorted(s1 | s2) print len(...
14.048387
40
0.623421
159
871
3.415094
0.188679
0.202578
0.119705
0.138122
0.290976
0.206262
0.14733
0.092081
0.092081
0
0
0.046875
0.191734
871
61
41
14.278689
0.724432
0
0
0.204545
0
0
0.010333
0
0
0
0
0
0
0
null
null
0
0
null
null
0.636364
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
1
0
3
3178fb9e85aa1bc4df667fc805defe69c1edea46
569
py
Python
app/views/connections_view.py
pwgraham91/Coffee-Connection
7f22aa3ae67f800bf09695396f84ccc4a5c0d211
[ "MIT" ]
1
2018-06-27T02:16:24.000Z
2018-06-27T02:16:24.000Z
app/views/connections_view.py
pwgraham91/Coffee-Connection
7f22aa3ae67f800bf09695396f84ccc4a5c0d211
[ "MIT" ]
14
2018-04-10T04:41:27.000Z
2022-02-10T18:28:32.000Z
app/views/connections_view.py
pwgraham91/Coffee-Connection
7f22aa3ae67f800bf09695396f84ccc4a5c0d211
[ "MIT" ]
null
null
null
import flask import flask_login import json from app import app, db from app.lib.connection import generate_connections @app.route('/api/connections/generate_connections', methods=['POST']) def make_connections(): session = db.session if not flask_login.current_user.is_authenticated: return 'Unautho...
24.73913
98
0.753954
74
569
5.635135
0.527027
0.095923
0.122302
0.151079
0.1247
0.1247
0
0
0
0
0
0.006211
0.151142
569
22
99
25.863636
0.857143
0
0
0
1
0
0.137083
0.065026
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
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
319bffa8a167529c451587a592cebc43a9ee5204
221
py
Python
leetcode_python/tests/test_find_peak.py
attilagyoriid/leetcode_python
457b1271cf58df8726d3ec35b4ac6d78a33c49a9
[ "MIT" ]
null
null
null
leetcode_python/tests/test_find_peak.py
attilagyoriid/leetcode_python
457b1271cf58df8726d3ec35b4ac6d78a33c49a9
[ "MIT" ]
null
null
null
leetcode_python/tests/test_find_peak.py
attilagyoriid/leetcode_python
457b1271cf58df8726d3ec35b4ac6d78a33c49a9
[ "MIT" ]
null
null
null
import unittest from leetcode_python.src.algorithms.arrays.find_peak import FindPeak class TestFindPeak(unittest.TestCase): def test_find(self): self.assertEqual(FindPeak().find([1, 2, 1, 3, 5, 6, 4]), 5)
22.1
68
0.719457
32
221
4.875
0.75
0
0
0
0
0
0
0
0
0
0
0.042781
0.153846
221
9
69
24.555556
0.791444
0
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
31a8aec9329cf5ac7a9c3e660d866e635e50fbe1
157
py
Python
app/tests/__init__.py
francisye19/demo
927cf6fdadbbaba64459ff59b521a95dbfae644a
[ "MIT" ]
3
2019-06-28T08:05:32.000Z
2020-06-08T08:07:16.000Z
app/tests/__init__.py
francisye19/demo
927cf6fdadbbaba64459ff59b521a95dbfae644a
[ "MIT" ]
3
2020-04-26T07:00:11.000Z
2021-04-22T08:25:58.000Z
app/tests/__init__.py
francisye19/demo
927cf6fdadbbaba64459ff59b521a95dbfae644a
[ "MIT" ]
3
2017-01-10T09:19:40.000Z
2018-11-09T10:40:52.000Z
# -*- coding: utf-8 -*- """ __init__.py ~~~~~~~~~~~~~~ Test package definition. :copyright: (c) 2016 by fengweimin. :date: 16/6/11 """
14.272727
39
0.484076
17
157
4.235294
1
0
0
0
0
0
0
0
0
0
0
0.086207
0.261147
157
10
40
15.7
0.534483
0.808917
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
31a8dfb85686b0fc8e5f7ff60b91e2dfaa482732
335
py
Python
database/session.py
GDGSNF/ChefAPI
bede60dc392dac47982b324d3a4f2f430ef0026f
[ "MIT" ]
11
2021-06-26T02:06:38.000Z
2021-08-06T01:34:10.000Z
database/session.py
yezz123/ChefAPI
bede60dc392dac47982b324d3a4f2f430ef0026f
[ "MIT" ]
15
2021-09-05T14:59:01.000Z
2021-09-06T08:43:31.000Z
database/session.py
GDGSNF/ChefAPI
bede60dc392dac47982b324d3a4f2f430ef0026f
[ "MIT" ]
2
2021-06-26T02:13:03.000Z
2021-07-05T01:28:00.000Z
from typing import Mapping from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from core.config import settings engine = create_engine(settings.SQLALCHEMY_DATABASE_URI, pool_pre_ping=True) SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine) Mapping.capitalize(id=2) = c...
33.5
76
0.841791
44
335
6.25
0.590909
0.130909
0
0
0
0
0
0
0
0
0
0.003279
0.089552
335
9
77
37.222222
0.898361
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.571429
null
null
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
1
0
0
0
1
0
0
0
0
3
31ca0f9658b454732e4a25bff29e08a3c08d930a
666
py
Python
lib/value_objects/src/string_value_object.py
RamonAranda/ConfusionMatrix
05c31c66d1a6d1838d7c76d09e2048672384c7fa
[ "MIT" ]
null
null
null
lib/value_objects/src/string_value_object.py
RamonAranda/ConfusionMatrix
05c31c66d1a6d1838d7c76d09e2048672384c7fa
[ "MIT" ]
null
null
null
lib/value_objects/src/string_value_object.py
RamonAranda/ConfusionMatrix
05c31c66d1a6d1838d7c76d09e2048672384c7fa
[ "MIT" ]
null
null
null
from lib.value_objects.src.value_object import ValueObject class StringValueObject(ValueObject): def __init__(self, value): super(StringValueObject, self).__init__(value) def __str__(self): return self.get_value().__str__() def __repr__(self): return "StringValueObject({})".forma...
26.64
68
0.678679
77
666
5.246753
0.337662
0.10396
0.178218
0.074257
0.242574
0.242574
0.242574
0.242574
0
0
0
0
0.204204
666
24
69
27.75
0.762264
0
0
0
0
0
0.031532
0.031532
0
0
0
0
0
1
0.4375
false
0
0.0625
0.375
0.9375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
31dd2c8798b515cdf4dc56de0032894053da49cf
1,546
py
Python
hydrobox/geostat/__init__.py
VForWaTer/hydrobox
ae7d10bf5aa48bf7daf3d1094e6bb66f0a7ce96b
[ "MIT" ]
4
2020-10-08T15:31:36.000Z
2021-06-25T00:46:40.000Z
hydrobox/geostat/__init__.py
VForWaTer/hydrobox
ae7d10bf5aa48bf7daf3d1094e6bb66f0a7ce96b
[ "MIT" ]
5
2020-05-12T08:45:18.000Z
2021-05-20T07:18:47.000Z
hydrobox/geostat/__init__.py
VForWaTer/hydrobox
ae7d10bf5aa48bf7daf3d1094e6bb66f0a7ce96b
[ "MIT" ]
3
2020-07-27T07:16:14.000Z
2021-04-28T21:57:48.000Z
""" Geostatistical Toolbox ---------------------- This toolbox collects all functions needed to run different geostatistical tasks. Variogram analysis can be done with :func:`variogram <hydrobox.geostat.variogram>`, which wraps the scikit-gstat Variogram class. Variogram estimation ~~~~~~~~~~~~~~~~~~~~ There are two...
30.92
152
0.761966
184
1,546
6.309783
0.445652
0.129199
0.062016
0.048234
0.206718
0.14298
0.077519
0
0
0
0
0
0.131953
1,546
50
153
30.92
0.865127
0.890686
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
31e53ba1d07fdbc628fc91b19560bf5a174cac4f
145
py
Python
src/martian/tests/scanforclasses/__init__.py
cjwatson/martian
1ec6455884ac10b263e94e005fe02b54ec989c3c
[ "ZPL-2.1" ]
1
2019-03-14T08:16:24.000Z
2019-03-14T08:16:24.000Z
src/martian/tests/scanforclasses/__init__.py
cjwatson/martian
1ec6455884ac10b263e94e005fe02b54ec989c3c
[ "ZPL-2.1" ]
11
2015-04-14T18:29:40.000Z
2020-04-07T12:43:48.000Z
src/martian/tests/scanforclasses/__init__.py
cjwatson/martian
1ec6455884ac10b263e94e005fe02b54ec989c3c
[ "ZPL-2.1" ]
4
2015-04-03T05:10:15.000Z
2020-02-14T00:38:18.000Z
from zope.interface import Interface, implementer class IContext(Interface): pass @implementer(IContext) class Context(object): pass
13.181818
49
0.758621
16
145
6.875
0.625
0
0
0
0
0
0
0
0
0
0
0
0.165517
145
10
50
14.5
0.909091
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.166667
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
9ec87d67218b8295aa519e3f02fcfd646b4c8c38
850
py
Python
scripts/data_processing/database/datastore_test.py
pirminschmid/Queueing
66464af15672a0d3ef717eb9611737d442903ed0
[ "MIT" ]
null
null
null
scripts/data_processing/database/datastore_test.py
pirminschmid/Queueing
66464af15672a0d3ef717eb9611737d442903ed0
[ "MIT" ]
null
null
null
scripts/data_processing/database/datastore_test.py
pirminschmid/Queueing
66464af15672a0d3ef717eb9611737d442903ed0
[ "MIT" ]
null
null
null
""" Data store module - mainly documentation of the functionality of the data store see main documentation for details about data analysis version 2018-12-03 Copyright (c) 2018 Pirmin Schmid, MIT license. """ from database.datastore import data_store data_store.put('a_1_b_1_c_1', 1) data_store.put('a_1_b_1_c...
29.310345
70
0.744706
184
850
3.065217
0.271739
0.223404
0.042553
0.106383
0.56383
0.56383
0.537234
0.537234
0.446809
0.446809
0
0.05305
0.112941
850
28
71
30.357143
0.69496
0.245882
0
0.5
0
0
0.140823
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0.5
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
9ecdfb42bf48c87479c8bd9e73ba1afe6f78d2e0
1,688
py
Python
resources/users.py
pacofvf/agency_performance_model
1692d7e11ac3141715845d2a4ecf416563539f89
[ "MIT" ]
2
2018-01-10T05:51:31.000Z
2018-01-18T21:25:45.000Z
resources/users.py
pacofvf/pivot_table_api
1692d7e11ac3141715845d2a4ecf416563539f89
[ "MIT" ]
null
null
null
resources/users.py
pacofvf/pivot_table_api
1692d7e11ac3141715845d2a4ecf416563539f89
[ "MIT" ]
null
null
null
from flask import g from flask_restful import Resource, reqparse from utils import str_max_length from . import auth from models import db from models.user import User class Token(Resource): @auth.login_required def get(self): token = g.user.generate_auth_token() return {'token': token.decode(...
35.914894
118
0.66173
211
1,688
5.180095
0.379147
0.043916
0.032937
0.068618
0.170174
0.118939
0.118939
0
0
0
0
0.012214
0.223934
1,688
46
119
36.695652
0.822137
0.074645
0
0.054054
0
0
0.13359
0
0
0
0
0.021739
0
1
0.108108
false
0.135135
0.162162
0
0.540541
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
1
0
0
3
9ed5687fd1ec2fdaf6d6c9febf4213092e586582
2,953
py
Python
ogreserver/extensions/flask_security.py
oii/ogreserver
942d8ee612206fb094f04b3ff976187abebf3069
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ogreserver/extensions/flask_security.py
oii/ogreserver
942d8ee612206fb094f04b3ff976187abebf3069
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ogreserver/extensions/flask_security.py
oii/ogreserver
942d8ee612206fb094f04b3ff976187abebf3069
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
from __future__ import absolute_import from __future__ import unicode_literals from flask import g from flask_security import Security, current_user from flask_security.datastore import Datastore, UserDatastore from flask_security.forms import LoginForm from flask_security.signals import password_changed, password_re...
33.556818
90
0.727396
372
2,953
5.508065
0.298387
0.057101
0.041484
0.026354
0.087848
0.031235
0.031235
0
0
0
0
0
0.196072
2,953
87
91
33.942529
0.8631
0.173383
0
0
0
0
0.003336
0
0
0
0
0
0
1
0.207547
false
0.132075
0.188679
0.037736
0.603774
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
9eda51bd758ff973225976b96b7730ccd8f0209f
376
py
Python
Mundo 1/ex012.py
erickeloi/ExerciciosTreino
f5ac02f45e2eb27d5a8af87fca1227b5c88f523f
[ "MIT" ]
null
null
null
Mundo 1/ex012.py
erickeloi/ExerciciosTreino
f5ac02f45e2eb27d5a8af87fca1227b5c88f523f
[ "MIT" ]
null
null
null
Mundo 1/ex012.py
erickeloi/ExerciciosTreino
f5ac02f45e2eb27d5a8af87fca1227b5c88f523f
[ "MIT" ]
null
null
null
#Desafio 12 #Programa Calculador de desconto #Lê um valor e um desconto e calcula o preço final com desconto valor = float(input("Digite aqui o valor do produto: ")) desconto = float(input("Digite aqui o valor do desconto, em porcentagem: ")) preco = valor * (100 - desconto)/100 print(f"Então, o produto que custa {valo...
47
95
0.736702
60
376
4.616667
0.533333
0.072202
0.115523
0.144404
0.202166
0.202166
0.202166
0
0
0
0
0.025316
0.159574
376
7
96
53.714286
0.851266
0.273936
0
0
0
0.25
0.614815
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9ee16e3cfdf18995d9c48c8077db6398cbfb9e88
484
py
Python
src/dlgo/utils.py
alexandreLamarre/Go-AI-backend
e2b46b886e91dfeffa24fc319daa591df0c149b3
[ "MIT" ]
2
2020-09-23T00:56:34.000Z
2020-10-10T01:08:28.000Z
src/dlgo/utils.py
alexandreLamarre/Go-AI-backend
e2b46b886e91dfeffa24fc319daa591df0c149b3
[ "MIT" ]
null
null
null
src/dlgo/utils.py
alexandreLamarre/Go-AI-backend
e2b46b886e91dfeffa24fc319daa591df0c149b3
[ "MIT" ]
null
null
null
import platform import subprocess import numpy as np class MoveAge(): def __init__(self, board): self.move_ages = np.ones((board.num_rows, board.num_cols)) def get(self, row, col): return self.move_ages[row,col] def reset_age(self, point): self.move_ages[point.row-1, point.col-1]...
24.2
66
0.642562
77
484
3.857143
0.38961
0.161616
0.242424
0.114478
0.262626
0.262626
0.262626
0.262626
0.262626
0.262626
0
0.021333
0.225207
484
20
67
24.2
0.770667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.357143
false
0
0.214286
0.071429
0.714286
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
1
0
0
0
0
1
0
0
3
7300411c21af27202dc04529b16249c30e289e8c
183
py
Python
hacker-rank/algorithms/simple-array-sum/ex.py
DKSecurity99/exercises-programming-online
c3a8876766220d5e07cb2e86acb82e1034666cf2
[ "MIT" ]
1
2021-06-11T10:45:31.000Z
2021-06-11T10:45:31.000Z
hacker-rank/algorithms/simple-array-sum/ex.py
edmilson-dk/exercises-programming-online
c3a8876766220d5e07cb2e86acb82e1034666cf2
[ "MIT" ]
null
null
null
hacker-rank/algorithms/simple-array-sum/ex.py
edmilson-dk/exercises-programming-online
c3a8876766220d5e07cb2e86acb82e1034666cf2
[ "MIT" ]
null
null
null
def sum(matriz): sumValue = 0; if len(matriz) > 0 and matriz[-1] <= 1000: for item in matriz: sumValue += item return sumValue print(sum([1, 2, 3]));
20.333333
46
0.540984
26
183
3.807692
0.653846
0.282828
0
0
0
0
0
0
0
0
0
0.08
0.31694
183
8
47
22.875
0.712
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
73129cc547def3f06e07faa69fdf1af6346a374d
64
py
Python
src/gdparser/__init__.py
drunken-beear-team/godot-code-generator
bed63f07d8204004f1343ed9863264b18f85a748
[ "MIT" ]
null
null
null
src/gdparser/__init__.py
drunken-beear-team/godot-code-generator
bed63f07d8204004f1343ed9863264b18f85a748
[ "MIT" ]
null
null
null
src/gdparser/__init__.py
drunken-beear-team/godot-code-generator
bed63f07d8204004f1343ed9863264b18f85a748
[ "MIT" ]
null
null
null
from gdparser.gdparser import GDParser __all__ = ("GDParser", )
21.333333
38
0.765625
7
64
6.428571
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.125
64
3
39
21.333333
0.803571
0
0
0
0
0
0.123077
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7336e37d5e0f84fb9025122c6ce78cbe31598874
266
py
Python
SRC/Chapter_01-Meet-Lists/02_meeting.py
archeranimesh/tth-Introducing-lists
aef5e7deeb929159fa198dc8e5d58380abe3b13f
[ "MIT" ]
null
null
null
SRC/Chapter_01-Meet-Lists/02_meeting.py
archeranimesh/tth-Introducing-lists
aef5e7deeb929159fa198dc8e5d58380abe3b13f
[ "MIT" ]
null
null
null
SRC/Chapter_01-Meet-Lists/02_meeting.py
archeranimesh/tth-Introducing-lists
aef5e7deeb929159fa198dc8e5d58380abe3b13f
[ "MIT" ]
null
null
null
attendees = ["Ken", "Alena", "Treasure"] attendees.append("Ashley") attendees.extend(["James", "Guil"]) optional_attendees = ["Ben J.", "Dave"] potential_attendees = attendees + optional_attendees print("There are", len(potential_attendees), "attendees currently")
33.25
67
0.733083
29
266
6.586207
0.655172
0.17801
0.282723
0
0
0
0
0
0
0
0
0
0.090226
266
7
68
38
0.789256
0
0
0
0
0
0.259399
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7df5b460477ab62cd0aabaa963863f930cc97ca1
1,798
py
Python
pypykatz/registry/software/asoftware.py
wisdark/pypykatz
7dccf2fa52532586da9b5ae3e849928b4ba5a3ba
[ "MIT" ]
1,861
2018-05-26T11:16:39.000Z
2022-03-24T19:48:55.000Z
pypykatz/registry/software/asoftware.py
wisdark/pypykatz
7dccf2fa52532586da9b5ae3e849928b4ba5a3ba
[ "MIT" ]
77
2018-05-28T21:43:31.000Z
2021-12-05T00:11:31.000Z
pypykatz/registry/software/asoftware.py
wisdark/pypykatz
7dccf2fa52532586da9b5ae3e849928b4ba5a3ba
[ "MIT" ]
270
2018-05-26T16:42:14.000Z
2022-03-24T03:05:08.000Z
#!/usr/bin/env python3 # # Author: # Tamas Jos (@skelsec) # ##### from pypykatz.registry import logger class SOFTWARE: def __init__(self, sam_hive, bootkey): self.hive = sam_hive self.bootkey = bootkey self.default_logon_user = None self.default_logon_domain = None self.default_logon_password = None ...
26.057971
103
0.69188
248
1,798
4.782258
0.262097
0.222597
0.229342
0.118044
0.50253
0.403879
0.403879
0.403879
0.403879
0.341484
0
0.008868
0.18465
1,798
68
104
26.441176
0.800136
0.028365
0
0.433962
0
0
0.2038
0.086356
0
0
0
0
0
1
0.056604
false
0.169811
0.018868
0
0.150943
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
1
0
0
0
0
0
3
7dfbf4b017bc85ac8afb4173737963bb2c743402
73
py
Python
hypernetworks/bin/__init__.py
rdchar/HypernetworkTheory
d18696c5ac8db3c8633d4441b8932b9a4c1efbd4
[ "MIT" ]
1
2022-03-30T18:30:01.000Z
2022-03-30T18:30:01.000Z
hypernetworks/bin/__init__.py
rdchar/hypernetworks
c49882aae05ba9c1a4d50f0d0214e6533124984f
[ "MIT" ]
null
null
null
hypernetworks/bin/__init__.py
rdchar/hypernetworks
c49882aae05ba9c1a4d50f0d0214e6533124984f
[ "MIT" ]
null
null
null
import logging # Create the Logger loggers = logging.getLogger(__name__)
18.25
37
0.808219
9
73
6.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.123288
73
3
38
24.333333
0.859375
0.232877
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b41caf2ab5a0e8e92c6e397acfa7cbe3826c4d28
1,186
py
Python
Eris_backend_project/movie_recommendation/migrations/0002_auto_20190408_1917.py
mytv100/Eris_Project
82f262a74e9961fa11733be2464d5a223b52943f
[ "Apache-2.0" ]
3
2019-01-19T07:40:30.000Z
2019-07-04T02:17:45.000Z
Eris_backend_project/movie_recommendation/migrations/0002_auto_20190408_1917.py
mytv100/Eris_Project
82f262a74e9961fa11733be2464d5a223b52943f
[ "Apache-2.0" ]
34
2018-12-16T14:12:51.000Z
2020-06-05T19:25:27.000Z
Eris_backend_project/movie_recommendation/migrations/0002_auto_20190408_1917.py
mytv100/Eris_Project
82f262a74e9961fa11733be2464d5a223b52943f
[ "Apache-2.0" ]
1
2019-07-04T02:18:06.000Z
2019-07-04T02:18:06.000Z
# Generated by Django 2.1.7 on 2019-04-08 10:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('movie_recommendation', '0001_initial'), ] operations = [ migrations.AlterField( model_name='movie', name='director',...
30.410256
96
0.562395
129
1,186
5.054264
0.449612
0.153374
0.191718
0.222393
0.604294
0.518405
0.460123
0.340491
0.199387
0.199387
0
0.035237
0.306071
1,186
38
97
31.210526
0.756987
0.037943
0
0.46875
1
0
0.135206
0
0
0
0
0
0
1
0
false
0
0.03125
0
0.125
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b42e76dfdf9fb2bbb5b750e6400e94079c3ac65f
1,210
py
Python
backend/app/database.py
MathiasStokholm/Dragons
ab0858f326d74e5e556d62c292d54ac3288067b0
[ "MIT" ]
1
2020-07-24T19:54:31.000Z
2020-07-24T19:54:31.000Z
backend/app/database.py
MathiasStokholm/Dragons
ab0858f326d74e5e556d62c292d54ac3288067b0
[ "MIT" ]
5
2022-02-12T02:57:02.000Z
2022-03-08T21:57:07.000Z
backend/app/database.py
MathiasStokholm/Dragons
ab0858f326d74e5e556d62c292d54ac3288067b0
[ "MIT" ]
null
null
null
# coding=utf-8 """ Database initialization code """ from __future__ import division, print_function, unicode_literals from dictalchemy import DictableModel from flask_sqlalchemy import SQLAlchemy from sqlalchemy.ext.declarative import declarative_base from app import app app.config['SQLALCHEMY_DATABASE_URI'] = 'sqli...
31.025641
125
0.721488
150
1,210
5.693333
0.46
0.084309
0.042155
0.04918
0.084309
0.084309
0.084309
0
0
0
0
0.005865
0.154545
1,210
38
126
31.842105
0.828935
0.544628
0
0
0
0
0.091255
0.091255
0
0
0
0
0
1
0.090909
false
0.090909
0.454545
0
0.545455
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
b47a3056567e0de816180aa0b32abbbb2a0abd91
623
py
Python
fblldbobjecthelpers.py
gkassabli/chisel
01a5b508303d20677fdbf75c5af46234ce61d2bf
[ "BSD-3-Clause" ]
4
2015-12-29T04:17:08.000Z
2021-09-08T11:45:06.000Z
fblldbobjecthelpers.py
alloy/chisel
32460f945f7520054155463bae20256c5a34a871
[ "BSD-3-Clause" ]
null
null
null
fblldbobjecthelpers.py
alloy/chisel
32460f945f7520054155463bae20256c5a34a871
[ "BSD-3-Clause" ]
2
2018-04-05T08:48:40.000Z
2021-07-07T05:41:07.000Z
#!/usr/bin/python # Copyright (c) 2014, Facebook, Inc. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. import lldb i...
32.789474
87
0.747994
81
623
5.753086
0.654321
0.042918
0.042918
0
0
0
0
0
0
0
0
0.007533
0.147673
623
18
88
34.611111
0.870057
0.467095
0
0
0
0
0.123077
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b48df5615dbe84f5a7c70ed10b065f297ec28ee5
396
py
Python
maml/metalearners/__init__.py
SinghJasdeep/Projecting-Conflicting-Gradients
bf49d657887f19c22febc1040a886b78d499029b
[ "MIT" ]
1
2020-11-16T07:54:53.000Z
2020-11-16T07:54:53.000Z
maml/metalearners/__init__.py
SinghJasdeep/Projecting-Conflicting-Gradients
bf49d657887f19c22febc1040a886b78d499029b
[ "MIT" ]
null
null
null
maml/metalearners/__init__.py
SinghJasdeep/Projecting-Conflicting-Gradients
bf49d657887f19c22febc1040a886b78d499029b
[ "MIT" ]
null
null
null
from maml.metalearners.maml import ModelAgnosticMetaLearning, MAML, FOMAML from maml.metalearners.meta_sgd import MetaSGD from maml.metalearners.PCG_batch_maml import ModelAgnosticMetaLearning_1 from maml.metalearners.multi_maml import ModelAgnosticMetaLearning_2 __all__ = ['ModelAgnosticMetaLearning','ModelAgnostic...
49.5
129
0.856061
41
396
7.97561
0.365854
0.097859
0.244648
0
0
0
0
0
0
0
0
0.01084
0.068182
396
8
129
49.5
0.875339
0
0
0
0
0
0.241814
0.198992
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c302018eba2772fb9edfcaaa2e1c427b2cd35953
2,041
py
Python
acos_client/v21/slb/class_list.py
alonbg/acos-client
027370e47862ea64d289a6f55378fe45fb28140d
[ "Apache-2.0" ]
null
null
null
acos_client/v21/slb/class_list.py
alonbg/acos-client
027370e47862ea64d289a6f55378fe45fb28140d
[ "Apache-2.0" ]
null
null
null
acos_client/v21/slb/class_list.py
alonbg/acos-client
027370e47862ea64d289a6f55378fe45fb28140d
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # dist...
36.446429
78
0.639392
271
2,041
4.693727
0.394834
0.106132
0.066038
0.050314
0.161164
0.110063
0.069182
0.069182
0.069182
0.069182
0
0.005051
0.22391
2,041
55
79
37.109091
0.79798
0.267516
0
0
0
0
0.138908
0.11733
0
0
0
0
0
1
0.290323
false
0
0.129032
0.193548
0.709677
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c303a81f2e8994edeed72dc85ca4e33c08e1e3ed
141
py
Python
uri/part/heir.py
amcgregor/uri
5b58db87451ca4680004a8993a56bfc4dafff4d4
[ "MIT" ]
15
2017-06-20T12:36:14.000Z
2022-02-09T21:23:10.000Z
uri/part/heir.py
marrow/uri
5b58db87451ca4680004a8993a56bfc4dafff4d4
[ "MIT" ]
23
2017-06-06T22:11:38.000Z
2022-02-17T21:29:41.000Z
uri/part/heir.py
amcgregor/uri
5b58db87451ca4680004a8993a56bfc4dafff4d4
[ "MIT" ]
4
2018-01-31T17:04:12.000Z
2020-03-04T05:55:01.000Z
from .base import ProxyPart, GroupPart class HeirarchicalPart(GroupPart): __slots__ = () attributes = ('auth', 'host', 'port', 'path')
17.625
46
0.687943
14
141
6.642857
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.156028
141
7
47
20.142857
0.781513
0
0
0
0
0
0.113475
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
c32032b6cd74c7a8a1cc5cfe70b5a0ebe92b2cac
23
py
Python
config/settings.py
ArcherLuo233/election-s-prediction
9da72cb855f6d61f9cdec6e15f7ca832629ba51a
[ "MIT" ]
null
null
null
config/settings.py
ArcherLuo233/election-s-prediction
9da72cb855f6d61f9cdec6e15f7ca832629ba51a
[ "MIT" ]
1
2022-01-26T01:23:26.000Z
2022-01-26T01:23:34.000Z
config/settings.py
ArcherLuo233/election-s-prediction
9da72cb855f6d61f9cdec6e15f7ca832629ba51a
[ "MIT" ]
1
2021-11-08T10:58:23.000Z
2021-11-08T10:58:23.000Z
DEFAULT_PAGE_SIZE = 20
11.5
22
0.826087
4
23
4.25
1
0
0
0
0
0
0
0
0
0
0
0.1
0.130435
23
1
23
23
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c323acff0ddbfa7a0ab5aa822b2c25a157ba107e
2,843
py
Python
tests/jit/test_closure.py
ruby-compiler-survey/topaz
bf4a56adbe03ae9ab4984729c733fcbc64a164c4
[ "BSD-3-Clause" ]
241
2015-01-02T18:49:09.000Z
2022-03-15T15:08:45.000Z
tests/jit/test_closure.py
ruby-compiler-survey/topaz
bf4a56adbe03ae9ab4984729c733fcbc64a164c4
[ "BSD-3-Clause" ]
16
2015-05-04T21:31:08.000Z
2020-06-04T22:49:36.000Z
tests/jit/test_closure.py
ruby-compiler-survey/topaz
bf4a56adbe03ae9ab4984729c733fcbc64a164c4
[ "BSD-3-Clause" ]
24
2015-02-15T05:35:11.000Z
2022-03-22T13:29:04.000Z
from .base import BaseJITTest class TestClosure(BaseJITTest): def test_int_closure_cells(self, topaz, tmpdir): traces = self.run(topaz, tmpdir, """ a = 1 (1..10_000).each do |i| a = i end """) self.assert_matches(traces[0].loop, """ label(p0, p1, p...
49.017241
181
0.633837
423
2,843
4.028369
0.293144
0.134977
0.202465
0.150235
0.711268
0.711268
0.692488
0.666667
0.58216
0.405516
0
0.123721
0.243757
2,843
57
182
49.877193
0.668837
0
0
0.290909
0
0.054545
0.92332
0.157932
0
0
0
0
0.018182
1
0.018182
false
0
0.018182
0
0.054545
0
0
0
0
null
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c32d0fdfde3770e4fa6062e9ef6fe2467e01b239
56
py
Python
CodeUp/6027.py
chae-heechan/Algorithm_Study
183a77e2cfe352cd82fb5e988b493082529a73dd
[ "MIT" ]
null
null
null
CodeUp/6027.py
chae-heechan/Algorithm_Study
183a77e2cfe352cd82fb5e988b493082529a73dd
[ "MIT" ]
null
null
null
CodeUp/6027.py
chae-heechan/Algorithm_Study
183a77e2cfe352cd82fb5e988b493082529a73dd
[ "MIT" ]
null
null
null
# 10진 정수 입력받아 16진수로 출력하기1 a = int(input()) print("%x"%a)
18.666667
25
0.625
11
56
3.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0.106383
0.160714
56
3
26
18.666667
0.638298
0.410714
0
0
0
0
0.0625
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
c33dba483f899c6b509ef3f352abe94030f46873
496
py
Python
experiments/curses-test.py
wmodes/pias
6d99c06c79f954e03944fa9d066da3fcc42f7232
[ "MIT" ]
null
null
null
experiments/curses-test.py
wmodes/pias
6d99c06c79f954e03944fa9d066da3fcc42f7232
[ "MIT" ]
null
null
null
experiments/curses-test.py
wmodes/pias
6d99c06c79f954e03944fa9d066da3fcc42f7232
[ "MIT" ]
null
null
null
import curses def main(win): win.nodelay(True) key="" win.clear() win.addstr("Detected key:") while 1: try: key = win.getkey() win.clear() win.addstr("Detected key:") win.addstr(s...
24.8
38
0.395161
46
496
4.26087
0.608696
0.091837
0.112245
0.173469
0.285714
0.285714
0
0
0
0
0
0.004115
0.510081
496
20
39
24.8
0.802469
0.016129
0
0.235294
0
0
0.053719
0
0
0
0
0
0
1
0.058824
false
0.058824
0.058824
0
0.117647
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
c34dad0bfbed7f607544a5af53c575ef03795afa
654
py
Python
Project-2-Advanced-Lane-Lines/src/pseudo_code.py
bessszilard/Udacity-Self-Driving-Car-Engineer-Nanodegree-Program
c13e2501bd6cced237be837d166a6c5ad5ad0a2f
[ "MIT" ]
11
2020-04-14T14:59:24.000Z
2021-12-31T16:59:42.000Z
Project-2-Advanced-Lane-Lines/src/pseudo_code.py
mdfazal/Udacity-Self-Driving-Car-Engineer-Nanodegree-Program
c13e2501bd6cced237be837d166a6c5ad5ad0a2f
[ "MIT" ]
null
null
null
Project-2-Advanced-Lane-Lines/src/pseudo_code.py
mdfazal/Udacity-Self-Driving-Car-Engineer-Nanodegree-Program
c13e2501bd6cced237be837d166a6c5ad5ad0a2f
[ "MIT" ]
8
2020-02-17T14:36:26.000Z
2020-07-28T09:24:54.000Z
input: poly_x, poly_y if fifo not empty: error = lsq_e( recently_fitted_x, poly_x ) if error < 20%: # valid result current_fit = np.polyfit(poly_y, poly_x, 2) if len(current_fit) == 0: return recently_fitted_x, poly_y elif len(fifo) > fifo_max_len: fifo.pop(0) fifo.append([current_fit]) avg_fit =...
24.222222
45
0.735474
114
654
3.894737
0.315789
0.078829
0.202703
0.171171
0.418919
0.310811
0.135135
0.135135
0.135135
0
0
0.01105
0.169725
654
27
46
24.222222
0.80663
0.038226
0
0.409091
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
5ee559ace168f3318a4fd1021519bc80c203ad66
6,810
py
Python
a10sdk/core/network/network.py
deepfield/a10sdk-python
bfaa58099f51f085d5e91652d1d1a3fd5c529d5d
[ "Apache-2.0" ]
16
2015-05-20T07:26:30.000Z
2021-01-23T11:56:57.000Z
a10sdk/core/network/network.py
deepfield/a10sdk-python
bfaa58099f51f085d5e91652d1d1a3fd5c529d5d
[ "Apache-2.0" ]
6
2015-03-24T22:07:11.000Z
2017-03-28T21:31:18.000Z
a10sdk/core/network/network.py
deepfield/a10sdk-python
bfaa58099f51f085d5e91652d1d1a3fd5c529d5d
[ "Apache-2.0" ]
23
2015-03-29T15:43:01.000Z
2021-06-02T17:12:01.000Z
from a10sdk.common.A10BaseClass import A10BaseClass class Network(A10BaseClass): """ :param vlan_list: {"minItems": 1, "items": {"type": "vlan"}, "uniqueItems": true, "array": [{"required": ["vlan-num"], "properties": {"uuid": {"description": "uuid of the object", "format": "string", "minLength": 1, "modi...
128.490566
2,433
0.630984
778
6,810
5.476864
0.173522
0.046937
0.068998
0.042244
0.575452
0.5433
0.501056
0.482751
0.456466
0.37855
0
0.013354
0.131278
6,810
52
2,434
130.961538
0.706897
0.875477
0
0
0
0
0.029304
0
0
0
0
0
0
1
0.04
false
0.04
0.04
0
0.12
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5eea221c653cd36378e3f9c20b1247fd09f105c2
1,332
py
Python
sympy/sets/handlers/comparison.py
shivangdubey/sympy
bd3ddd4c71d439c8b623f69a02274dd8a8a82198
[ "BSD-3-Clause" ]
2
2020-07-27T16:36:27.000Z
2020-12-29T22:28:37.000Z
sympy/sets/handlers/comparison.py
shivangdubey/sympy
bd3ddd4c71d439c8b623f69a02274dd8a8a82198
[ "BSD-3-Clause" ]
2
2020-08-18T15:21:59.000Z
2020-08-18T19:35:29.000Z
sympy/sets/handlers/comparison.py
shivangdubey/sympy
bd3ddd4c71d439c8b623f69a02274dd8a8a82198
[ "BSD-3-Clause" ]
null
null
null
from sympy.core.relational import Eq, is_eq from sympy.core.logic import fuzzy_and, fuzzy_bool from sympy.logic.boolalg import And from sympy.multipledispatch import dispatch from sympy.sets.sets import tfn, ProductSet, Interval, FiniteSet @dispatch(Interval, FiniteSet) def _eval_is_eq(lhs, rhs): # noqa: F811 ret...
27.183673
64
0.681682
211
1,332
4.099526
0.227488
0.036994
0.062428
0.076301
0.369942
0.33526
0.33526
0.33526
0.306358
0.256647
0
0.016949
0.202703
1,332
48
65
27.75
0.797552
0.048799
0
0.352941
0
0
0
0
0
0
0
0
0
1
0.205882
false
0
0.147059
0.117647
0.558824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5eec1cefe5b464dd144736d9f27d91264a723579
201
py
Python
h2o-docs/src/booklets/v2_2015/source/Python_Vignette_code_examples/python_create_categorical_interaction_features.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
6,098
2015-05-22T02:46:12.000Z
2022-03-31T16:54:51.000Z
h2o-docs/src/booklets/v2_2015/source/Python_Vignette_code_examples/python_create_categorical_interaction_features.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
2,517
2015-05-23T02:10:54.000Z
2022-03-30T17:03:39.000Z
h2o-docs/src/booklets/v2_2015/source/Python_Vignette_code_examples/python_create_categorical_interaction_features.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
2,199
2015-05-22T04:09:55.000Z
2022-03-28T22:20:45.000Z
df12.interaction(['A','B'], pairwise=False, max_factors=3, min_occurrence=1) # A_B # ------- # foo_one # bar_one # foo_two # other # foo_two # other # foo_one # other # # [8 rows x 1 column]
14.357143
76
0.61194
32
201
3.59375
0.65625
0.034783
0.191304
0.243478
0
0
0
0
0
0
0
0.0375
0.20398
201
14
77
14.357143
0.68125
0.487562
0
0
0
0
0.022222
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6f21a376e6ff2aec300f79204cbf0b80c12489bf
432
py
Python
cart/models.py
KimSoungRyoul/drf_unitteset_study_project
9a0d824bdc6343eeba6209299c077a6e9d280516
[ "MIT" ]
null
null
null
cart/models.py
KimSoungRyoul/drf_unitteset_study_project
9a0d824bdc6343eeba6209299c077a6e9d280516
[ "MIT" ]
null
null
null
cart/models.py
KimSoungRyoul/drf_unitteset_study_project
9a0d824bdc6343eeba6209299c077a6e9d280516
[ "MIT" ]
null
null
null
# Create your models here. from datetime import datetime from django.db import models from django_extensions.db import fields as extensions_field from account.models import Customer class Cart(models.Model): owner: Customer = models.OneToOneField(Customer, on_delete=models.CASCADE, null=False) updated_date...
27
90
0.800926
53
432
6.415094
0.603774
0.058824
0
0
0
0
0
0
0
0
0
0
0.131944
432
15
91
28.8
0.906667
0.055556
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
6f258842abfae040996c09efa0d3a7820c6a5068
226
py
Python
src/python/zensols/grsync/__init__.py
plandes/grsync
bdedb6f298ba444afe016d9a70f04d4772ff19e1
[ "MIT" ]
1
2019-06-23T15:34:05.000Z
2019-06-23T15:34:05.000Z
src/python/zensols/grsync/__init__.py
plandes/grsync
bdedb6f298ba444afe016d9a70f04d4772ff19e1
[ "MIT" ]
null
null
null
src/python/zensols/grsync/__init__.py
plandes/grsync
bdedb6f298ba444afe016d9a70f04d4772ff19e1
[ "MIT" ]
1
2020-09-07T09:20:11.000Z
2020-09-07T09:20:11.000Z
from .config import * from .domain import * from .repospec import * from .bootstrap import * from .freeze import * from .distribution import * from .thaw import * from .mover import * from .distmng import * from .cli import *
20.545455
27
0.734513
30
226
5.533333
0.4
0.542169
0
0
0
0
0
0
0
0
0
0
0.176991
226
10
28
22.6
0.892473
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
6f26cc10b6c803e0a783626a9ce2fdc3e93a69fc
108
py
Python
debug_permissions/apps.py
timonweb/django-debug-permissions
2251c5e066097ad63f8a1df4d684953bdcc4f0ff
[ "BSD-3-Clause" ]
25
2017-06-08T10:44:59.000Z
2021-10-08T00:25:24.000Z
debug_permissions/apps.py
timonweb/django-debug-permissions
2251c5e066097ad63f8a1df4d684953bdcc4f0ff
[ "BSD-3-Clause" ]
null
null
null
debug_permissions/apps.py
timonweb/django-debug-permissions
2251c5e066097ad63f8a1df4d684953bdcc4f0ff
[ "BSD-3-Clause" ]
3
2018-02-26T12:44:07.000Z
2018-11-20T03:15:29.000Z
from django.apps import AppConfig class DebugPermissionsConfig(AppConfig): name = 'debug_permissions'
18
40
0.796296
11
108
7.727273
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.138889
108
5
41
21.6
0.913978
0
0
0
0
0
0.157407
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6f397afb8020d9e47d5c5bf402d213d6bb3f3120
3,418
py
Python
common/migrations/migrations/0001_initial.py
andyzsf/ConMan
e8d4aa9eeda7a85b39d8d897dbdba43de3cee9c1
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
common/migrations/migrations/0001_initial.py
andyzsf/ConMan
e8d4aa9eeda7a85b39d8d897dbdba43de3cee9c1
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
common/migrations/migrations/0001_initial.py
andyzsf/ConMan
e8d4aa9eeda7a85b39d8d897dbdba43de3cee9c1
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
from south.db import db from django.db import models from common.models import * class Migration: def forwards(self, orm): # Adding model 'ShirtSize' db.create_table('common_shirtsize', ( ('id', models.AutoField(primary_key=True)), ('name', models.CharField(ma...
48.828571
156
0.555881
357
3,418
5.151261
0.190476
0.078303
0.098967
0.129418
0.777053
0.709625
0.709625
0.690593
0.690593
0.641109
0
0.013067
0.238736
3,418
69
157
49.536232
0.693697
0.031305
0
0.117647
0
0
0.299849
0
0
0
0
0
0
1
0.039216
false
0
0.058824
0
0.156863
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6f3ef84f6f699f64045a3b641929b2f026bfe96c
680
py
Python
examples/dagster_examples/dagster_pandas_guide/repository.py
JPeer264/dagster-fork
32cc87a36134be7c442fa85d6867eb1d3301aea0
[ "Apache-2.0" ]
1
2020-08-10T23:03:37.000Z
2020-08-10T23:03:37.000Z
examples/dagster_examples/dagster_pandas_guide/repository.py
JPeer264/dagster-fork
32cc87a36134be7c442fa85d6867eb1d3301aea0
[ "Apache-2.0" ]
null
null
null
examples/dagster_examples/dagster_pandas_guide/repository.py
JPeer264/dagster-fork
32cc87a36134be7c442fa85d6867eb1d3301aea0
[ "Apache-2.0" ]
1
2020-08-20T14:20:31.000Z
2020-08-20T14:20:31.000Z
from dagster import repository from .core_trip_pipeline import trip_pipeline from .custom_column_constraint_pipeline import custom_column_constraint_pipeline from .shape_constrained_pipeline import shape_constrained_pipeline from .summary_stats_pipeline import summary_stats_pipeline @repository def dagster_pandas_gu...
35.789474
91
0.777941
73
680
6.753425
0.287671
0.097363
0.178499
0.243408
0
0
0
0
0
0
0
0
0.170588
680
18
92
37.777778
0.874113
0
0
0
0
0
0.151471
0.119118
0
0
0
0
0
1
0.066667
true
0
0.333333
0.066667
0.466667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
6f44337faf43c58ae64261aff738f32561058ca6
333
py
Python
test.py
manarkhattar/delayed-assert
0dccffb2c90804955225bf35343d9f64bb5c92a3
[ "Unlicense" ]
null
null
null
test.py
manarkhattar/delayed-assert
0dccffb2c90804955225bf35343d9f64bb5c92a3
[ "Unlicense" ]
null
null
null
test.py
manarkhattar/delayed-assert
0dccffb2c90804955225bf35343d9f64bb5c92a3
[ "Unlicense" ]
null
null
null
import unittest from delayed_assert import delayed_assert class PythonVersionCompatibilityTest(unittest.TestCase): def test(self): try: delayed_assert.expect(1 == 2) # will fail but won't stop execution delayed_assert.assert_expectations() except AssertionError as e: ...
25.615385
79
0.681682
37
333
6
0.756757
0.234234
0
0
0
0
0
0
0
0
0
0.00813
0.261261
333
12
80
27.75
0.894309
0.102102
0
0
0
0
0
0
0
0
0
0
0.444444
1
0.111111
false
0.111111
0.222222
0
0.444444
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
3
6f44514cd39cdcdd78e4ec6c7e7c86a2363f984d
853
py
Python
tools/leetcode.166.Fraction to Recurring Decimal/leetcode.166.Fraction to Recurring Decimal.submission0.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
4
2015-10-10T00:30:55.000Z
2020-07-27T19:45:54.000Z
tools/leetcode.166.Fraction to Recurring Decimal/leetcode.166.Fraction to Recurring Decimal.submission0.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
tools/leetcode.166.Fraction to Recurring Decimal/leetcode.166.Fraction to Recurring Decimal.submission0.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
class Solution(object): def fractionToDecimal(self, numerator, denominator): """ :type numerator: int :type denominator: int :rtype: str """ if denominator == 0: return '' if numerator == 0: return '0' sign = (numerator...
853
853
0.369285
84
853
3.75
0.333333
0.025397
0.028571
0.050794
0.063492
0.063492
0
0
0
0
0
0.023641
0.504103
853
1
853
853
0.72104
0.064478
0
0.214286
0
0
0.006588
0
0
0
0
0
0
1
0.035714
false
0
0
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6f4c7a0672ba88878aad94f6b97e62bd85068a2e
415
py
Python
horsefax/bot/modules/cute.py
TallonRain/horsefaxbot
2acfb063d58b883a31a06e777be4993ac8ebb891
[ "MIT" ]
1
2018-02-21T06:16:24.000Z
2018-02-21T06:16:24.000Z
horsefax/bot/modules/cute.py
TallonRain/horsefaxbot
2acfb063d58b883a31a06e777be4993ac8ebb891
[ "MIT" ]
1
2021-06-01T22:06:03.000Z
2021-06-01T22:06:03.000Z
horsefax/bot/modules/cute.py
TallonRain/horsefaxbot
2acfb063d58b883a31a06e777be4993ac8ebb891
[ "MIT" ]
2
2017-10-01T22:42:10.000Z
2018-02-20T04:58:10.000Z
from ..core import HorseFaxBot, ModuleTools, BaseModule from horsefax.telegram.services.command import Command class CuteModule(BaseModule): def __init__(self, bot: HorseFaxBot, util: ModuleTools) -> None: self.bot = bot self.util = util self.util.register_command('cute', self.cute) d...
31.923077
68
0.696386
53
415
5.358491
0.584906
0.049296
0
0
0
0
0
0
0
0
0
0.02071
0.185542
415
12
69
34.583333
0.819527
0
0
0
0
0
0.115663
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6f765b696395e3556a16bc141b2d5745635b9dd5
426
py
Python
Python/Mundo 1/ex13 - reajuste salarial.py
Breno-Andrade/Curso-em-Video
ccaf4d7cbdebfcdaed7f9b4421c40911ba935139
[ "MIT" ]
null
null
null
Python/Mundo 1/ex13 - reajuste salarial.py
Breno-Andrade/Curso-em-Video
ccaf4d7cbdebfcdaed7f9b4421c40911ba935139
[ "MIT" ]
null
null
null
Python/Mundo 1/ex13 - reajuste salarial.py
Breno-Andrade/Curso-em-Video
ccaf4d7cbdebfcdaed7f9b4421c40911ba935139
[ "MIT" ]
null
null
null
print(' ====== Exercício 13 ====== ') # Solicitando ao usuário que insira o valor do salario que deve receber aumento. salario = float(input('Qual é o salário do funcionário? R$')) # Calculando o a soma do salario inserido com mais 15% de aumento. novo = salario + (salario * 15/100) # Exibindo o resultado ao usuário. p...
53.25
106
0.706573
65
426
4.630769
0.6
0.059801
0.07309
0
0
0
0
0
0
0
0
0.033613
0.161972
426
7
107
60.857143
0.809524
0.413146
0
0
0
0
0.560976
0
0
0
0
0
0
1
0
false
0.25
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
1
0
0
0
1
0
3
48960259b9cbe7043f9a77b18716db002498d297
627
py
Python
utils/open_ckpt_tool.py
Lan-ce-lot/pythorch_text_classification
6ebe6307cd272fe0733fd2c42b22e819d113c330
[ "Apache-2.0" ]
6
2021-04-09T11:47:44.000Z
2021-07-12T12:27:51.000Z
utils/open_ckpt_tool.py
Lan-ce-lot/pythorch_text_classification
6ebe6307cd272fe0733fd2c42b22e819d113c330
[ "Apache-2.0" ]
null
null
null
utils/open_ckpt_tool.py
Lan-ce-lot/pythorch_text_classification
6ebe6307cd272fe0733fd2c42b22e819d113c330
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # encoding:utf-8 """ @author: lance @version: 1.0.0 @license: Apache Licence @file: open_ckpt_tool.py @time: 2021/4/13 9:41 """ import torch from utils import build_dataset, build_iterator, get_time_dif import time import torch import numpy as np from train_eval import train, init_network from importl...
24.115385
76
0.712919
96
627
4.375
0.635417
0.02381
0.033333
0
0
0
0
0
0
0
0
0.040076
0.164274
627
26
77
24.115385
0.76145
0.266348
0
0.142857
0
0
0.151448
0.100223
0
0
0
0
0
1
0
false
0.071429
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
489e02792bbd355e9a48b34cd6b198d7122d8a79
39
py
Python
azure-kusto-ingest/azure/kusto/ingest/_version.py
cclauss/azure-kusto-python
92e2d5c97079b96f78cf6ef1619ebe89cb4d4985
[ "MIT" ]
null
null
null
azure-kusto-ingest/azure/kusto/ingest/_version.py
cclauss/azure-kusto-python
92e2d5c97079b96f78cf6ef1619ebe89cb4d4985
[ "MIT" ]
null
null
null
azure-kusto-ingest/azure/kusto/ingest/_version.py
cclauss/azure-kusto-python
92e2d5c97079b96f78cf6ef1619ebe89cb4d4985
[ "MIT" ]
null
null
null
"""Version file.""" VERSION = "0.0.44"
13
19
0.564103
6
39
3.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.117647
0.128205
39
2
20
19.5
0.529412
0.333333
0
0
0
0
0.3
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
48a1672c288fdd5763125e50c0bb7ae7e0177b0b
685
py
Python
ObjectDetection.py
Akcodes/Object_Detection-using-CNN
650a0f088686824b61c3c529590b8e1ddf59dac1
[ "MIT" ]
3
2019-07-10T03:10:18.000Z
2019-08-04T07:00:04.000Z
ObjectDetection.py
Akcodes/Object_Detection-using-CNN
650a0f088686824b61c3c529590b8e1ddf59dac1
[ "MIT" ]
null
null
null
ObjectDetection.py
Akcodes/Object_Detection-using-CNN
650a0f088686824b61c3c529590b8e1ddf59dac1
[ "MIT" ]
null
null
null
# Importing the required libraries and frameworks import tensorflow as tf import keras from keras import backend as K import numpy as np from IPython import get_ipython get_ipython().run_line_magic('matplotlib', 'inline') import matplotlib.pyplot as plt print(tf.__version__) print(keras.__version__) # Keras.dataset ...
31.136364
122
0.792701
111
685
4.702703
0.477477
0.051724
0
0
0
0
0
0
0
0
0
0.01005
0.128467
685
22
123
31.136364
0.864322
0.325547
0
0
0
0
0.093682
0
0
0
0
0
0
1
0
true
0
0.538462
0
0.538462
0.307692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
48ae17ca9420fb965184f1dcebea4fea2c482bea
2,763
py
Python
tensorflow/python/pywrap_tensorflow.py
priyanshu-max/tensorflow
5e97d96c809232a716d6b04ec9b128ebaf1b73f7
[ "Apache-2.0" ]
null
null
null
tensorflow/python/pywrap_tensorflow.py
priyanshu-max/tensorflow
5e97d96c809232a716d6b04ec9b128ebaf1b73f7
[ "Apache-2.0" ]
null
null
null
tensorflow/python/pywrap_tensorflow.py
priyanshu-max/tensorflow
5e97d96c809232a716d6b04ec9b128ebaf1b73f7
[ "Apache-2.0" ]
1
2019-01-11T08:14:44.000Z
2019-01-11T08:14:44.000Z
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
44.564516
86
0.77633
390
2,763
5.315385
0.476923
0.061746
0.048239
0.050169
0.187168
0.153401
0.153401
0.105162
0.050169
0.050169
0
0.003329
0.130293
2,763
61
87
45.295082
0.859342
0.555194
0
0.08
0
0
0.238095
0
0
0
0
0.016393
0
1
0
false
0
0.52
0
0.52
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
48d59bf73f4036ad3d97ad1774fa99f6abbac509
248
py
Python
myapi/urls.py
akhm7/atm-managment-system
50639ac8bc2a7e21aa3828c3bae2fb2e6b0bd6bf
[ "Apache-2.0" ]
null
null
null
myapi/urls.py
akhm7/atm-managment-system
50639ac8bc2a7e21aa3828c3bae2fb2e6b0bd6bf
[ "Apache-2.0" ]
null
null
null
myapi/urls.py
akhm7/atm-managment-system
50639ac8bc2a7e21aa3828c3bae2fb2e6b0bd6bf
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ # Payment Transfer API path('ReceivingData/', views.ReceivingData, name='ReceivingData'), path('ReceivingDataTest/', views.ReceivingDataTest, name='ReceivingDataTest'), ]
31
82
0.741935
24
248
7.666667
0.541667
0
0
0
0
0
0
0
0
0
0
0
0.137097
248
8
83
31
0.859813
0.080645
0
0
0
0
0.273128
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
48d6757c0d789e13d09191eca28edd04173bcf6c
348
py
Python
2020/examples-in-class-2020-11-19/exception_handling_func_input.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
1
2021-02-04T16:59:11.000Z
2021-02-04T16:59:11.000Z
2020/examples-in-class-2020-11-19/exception_handling_func_input.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
null
null
null
2020/examples-in-class-2020-11-19/exception_handling_func_input.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
1
2019-10-30T14:37:48.000Z
2019-10-30T14:37:48.000Z
def print_division(a,b): try: result = a / b print(f"result: {result}") except: # It catches ALL errors print("error occurred") print_division(10,5) print_division(10,0) print_division(10,2) str_line = input("please enter two numbers to divide:") a = int(str_line.split(" ")[0]) b = int(str_line.split(" "...
15.130435
55
0.675287
58
348
3.913793
0.534483
0.286344
0.198238
0.132159
0
0
0
0
0
0
0
0.037543
0.158046
348
22
56
15.818182
0.737201
0.060345
0
0
0
0
0.20679
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.076923
0.538462
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
1
0
3
48d7035265fded5cc7db1fc018343beb80f0d793
28,546
py
Python
src/parameter.py
flurinus/IntTripAssignment
9e6ce4c7ba21bb989537b6492b8f05b7cbb5a14e
[ "BSD-3-Clause" ]
1
2022-03-27T14:29:54.000Z
2022-03-27T14:29:54.000Z
src/parameter.py
flurinus/IntTripAssignment
9e6ce4c7ba21bb989537b6492b8f05b7cbb5a14e
[ "BSD-3-Clause" ]
null
null
null
src/parameter.py
flurinus/IntTripAssignment
9e6ce4c7ba21bb989537b6492b8f05b7cbb5a14e
[ "BSD-3-Clause" ]
1
2020-04-08T01:41:29.000Z
2020-04-08T01:41:29.000Z
import datetime import os import shutil class Parameter(object): showWarnings = False postProcess = True postProcessOnly = True scenarioName = 'calib_' postProcessFolder = 'postprocessing' #date of case study (required e.g. for reading from ROCKT/TRENTO database) #dateCaseStudy =...
75.319261
6,375
0.648462
3,203
28,546
5.757727
0.45114
0.002277
0.010411
0.010031
0.089903
0.071793
0.063008
0.057803
0.057803
0.047175
0
0.412365
0.161949
28,546
379
6,376
75.319261
0.358525
0.107721
0
0.03876
0
0
0.171273
0.028112
0
0
0
0
0.007752
1
0.003876
false
0.003876
0.011628
0
0.383721
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d288cc7c2e3a09b3d988d375ed66518307431e8b
1,192
py
Python
innovation_sweet_spots/getters/crunchbase.py
nestauk/innovation_sweet_spots
e970857621a292761594097b1bbb02b90fe84f2b
[ "MIT" ]
1
2021-09-09T09:26:56.000Z
2021-09-09T09:26:56.000Z
innovation_sweet_spots/getters/crunchbase.py
nestauk/innovation_sweet_spots
e970857621a292761594097b1bbb02b90fe84f2b
[ "MIT" ]
107
2021-05-19T07:43:32.000Z
2022-03-31T13:34:58.000Z
innovation_sweet_spots/getters/crunchbase.py
nestauk/innovation_sweet_spots
e970857621a292761594097b1bbb02b90fe84f2b
[ "MIT" ]
2
2022-02-19T00:26:49.000Z
2022-02-25T18:53:13.000Z
""" innovation_sweet_spots.getters.crunchbase Module for easy access to downloaded CB data """ import pandas as pd from innovation_sweet_spots.getters.path_utils import CB_PATH def get_crunchbase_category_groups(): """Table with company categories (also called 'industries') and broader 'category groups'""" ...
30.564103
96
0.767617
155
1,192
5.625806
0.374194
0.048165
0.110092
0.103211
0.268349
0.268349
0.268349
0.197248
0
0
0
0
0.133389
1,192
38
97
31.368421
0.844143
0.333054
0
0
0
0
0.232804
0.232804
0
0
0
0
0
1
0.428571
true
0
0.142857
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
1
1
0
0
0
1
0
0
3
d29d13f575fba7df1be563e907bcfe76b37fce95
300
py
Python
dji-tello-collision-avoidance-pydnet/test.py
driver005/tello
fdb67fa4c4c24f6b9dbaacdc22b8f0681b677b7f
[ "Apache-2.0" ]
1
2022-02-15T13:39:23.000Z
2022-02-15T13:39:23.000Z
dji-tello-collision-avoidance-pydnet/test.py
driver005/tello
fdb67fa4c4c24f6b9dbaacdc22b8f0681b677b7f
[ "Apache-2.0" ]
null
null
null
dji-tello-collision-avoidance-pydnet/test.py
driver005/tello
fdb67fa4c4c24f6b9dbaacdc22b8f0681b677b7f
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf from pydnet import * import numpy as np # tf.compat.v1.disable_v2_behavior() sess = tf.compat.v1.InteractiveSession() sess.run(tf.compat.v1.initialize_all_variables()) saver = tf.compat.v1.train.Saver(tf.compat.v1.all_variables()) saver.restore(sess, './checkpoint/IROS18/')
30
62
0.776667
46
300
4.956522
0.521739
0.175439
0.219298
0.131579
0
0
0
0
0
0
0
0.028986
0.08
300
9
63
33.333333
0.797101
0.113333
0
0
0
0
0.075758
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d2b2af4a2e5d4cb1e21515b89c88dfbf70c29413
1,163
py
Python
Deck of Cards.py
Ganrokh/Python-Educational-Projects
83b1fa3132db9afeb05139fbde7fc0ca7d6af1d8
[ "MIT" ]
null
null
null
Deck of Cards.py
Ganrokh/Python-Educational-Projects
83b1fa3132db9afeb05139fbde7fc0ca7d6af1d8
[ "MIT" ]
null
null
null
Deck of Cards.py
Ganrokh/Python-Educational-Projects
83b1fa3132db9afeb05139fbde7fc0ca7d6af1d8
[ "MIT" ]
null
null
null
from random import shuffle class Card: def __init__(self, value, suit): self.value = value self.suit = suit def __repr__(self): return f"{self.value} of {self.suit}" class Deck: def __init__(self): values = ['A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K']...
27.690476
83
0.551161
152
1,163
4.078947
0.407895
0.101613
0.035484
0.054839
0.058065
0
0
0
0
0
0
0.018541
0.304385
1,163
42
84
27.690476
0.747837
0
0
0.060606
0
0
0.128866
0
0
0
0
0
0
1
0.272727
false
0
0.030303
0.151515
0.545455
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d2c1497f755badb083f3e5bc2f2dab1ecc44e3c5
177
py
Python
Python/CodeForces Solutions/1501-2000/1519B.py
7namansharma/Comp-Prog
b760ef9b4173e6d5851dc63cc92a8e935baf60ed
[ "MIT" ]
null
null
null
Python/CodeForces Solutions/1501-2000/1519B.py
7namansharma/Comp-Prog
b760ef9b4173e6d5851dc63cc92a8e935baf60ed
[ "MIT" ]
null
null
null
Python/CodeForces Solutions/1501-2000/1519B.py
7namansharma/Comp-Prog
b760ef9b4173e6d5851dc63cc92a8e935baf60ed
[ "MIT" ]
null
null
null
for _ in range(int(input())): n, m, k = map(int, input().split()) req = 0 req = 1*(m-1) + m*(n-1) if req == k: print("YES") else: print("NO")
22.125
39
0.429379
29
177
2.586207
0.62069
0.213333
0
0
0
0
0
0
0
0
0
0.034188
0.338983
177
8
40
22.125
0.606838
0
0
0
0
0
0.02809
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d2ceb20e74bd9bffa5b5a08ad30b46727eee4d0b
29
py
Python
2021-10-Python-SEA-ENGRSL-Workshops/Workshop_1-Hello-Python/code/s07b_s1.py
shawnduong/manimations
1d36d9d1e7dff90a1a8da1e687ef442f750e29c5
[ "MIT" ]
null
null
null
2021-10-Python-SEA-ENGRSL-Workshops/Workshop_1-Hello-Python/code/s07b_s1.py
shawnduong/manimations
1d36d9d1e7dff90a1a8da1e687ef442f750e29c5
[ "MIT" ]
null
null
null
2021-10-Python-SEA-ENGRSL-Workshops/Workshop_1-Hello-Python/code/s07b_s1.py
shawnduong/manimations
1d36d9d1e7dff90a1a8da1e687ef442f750e29c5
[ "MIT" ]
null
null
null
for item in collection: ...
9.666667
23
0.655172
4
29
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.206897
29
2
24
14.5
0.826087
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d2d5e05fbabf622e7ddb1e5816924620746a9e58
794
py
Python
integration_tests/bithumb_data_provider_ITG_test.py
hoondental/smtm
f7648da652c5437ee27efef6fbf2480045130c16
[ "MIT" ]
16
2020-02-21T08:18:04.000Z
2022-03-29T06:34:29.000Z
integration_tests/bithumb_data_provider_ITG_test.py
hoondental/smtm
f7648da652c5437ee27efef6fbf2480045130c16
[ "MIT" ]
31
2019-11-11T13:06:47.000Z
2022-02-26T12:14:41.000Z
integration_tests/bithumb_data_provider_ITG_test.py
msaltnet/smtm
b2b480a59204e7d730d60ec037b00660d9dd235d
[ "MIT" ]
12
2020-07-03T06:44:22.000Z
2022-03-30T03:03:05.000Z
import unittest from smtm import BithumbDataProvider from unittest.mock import * import requests class BithumbDataProviderIntegrationTests(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_ITG_get_info_return_correct_data(self): dp = BithumbDataProvider(...
30.538462
61
0.68136
96
794
5.489583
0.385417
0.227704
0.151803
0.185958
0.390892
0.296015
0.125237
0
0
0
0
0
0.22796
794
25
62
31.76
0.859706
0
0
0.095238
0
0
0.099496
0
0
0
0
0
0.380952
1
0.142857
false
0.095238
0.190476
0
0.380952
0.047619
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
1
0
0
0
0
0
3
960b30f5e44dc23a7846c8a8c5ee6bb4a2025f42
76
py
Python
cbuild/hooks/post_install/02_remove_libtool_archives.py
mahiuchun/cports
37315875922d65a6d4f612cdc17bc0d88856d6d0
[ "BSD-2-Clause" ]
46
2021-06-10T02:27:32.000Z
2022-03-27T11:33:24.000Z
cbuild/hooks/post_install/02_remove_libtool_archives.py
mahiuchun/cports
37315875922d65a6d4f612cdc17bc0d88856d6d0
[ "BSD-2-Clause" ]
58
2021-07-03T13:58:20.000Z
2022-03-13T16:45:35.000Z
cbuild/hooks/post_install/02_remove_libtool_archives.py
mahiuchun/cports
37315875922d65a6d4f612cdc17bc0d88856d6d0
[ "BSD-2-Clause" ]
6
2021-07-04T10:46:40.000Z
2022-01-09T00:03:59.000Z
def invoke(pkg): for v in pkg.destdir.rglob("*.la"): v.unlink()
19
39
0.552632
12
76
3.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.25
76
3
40
25.333333
0.736842
0
0
0
0
0
0.052632
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
9618696168ea3f7ad44587d24287afb253a1d9b3
185
py
Python
linearsearch.py
sanofi2104/algorithms
a331a143aa51837df876b93993e1e1930d823331
[ "MIT" ]
1
2015-10-11T11:54:07.000Z
2015-10-11T11:54:07.000Z
linearsearch.py
sanofi2104/algorithms
a331a143aa51837df876b93993e1e1930d823331
[ "MIT" ]
null
null
null
linearsearch.py
sanofi2104/algorithms
a331a143aa51837df876b93993e1e1930d823331
[ "MIT" ]
null
null
null
def linearsearch(_list, _v): if len(_list) == 0: return False for i, item in enumerate(_list): if item == _v: return i return False
13.214286
37
0.508108
23
185
3.869565
0.608696
0.247191
0
0
0
0
0
0
0
0
0
0.009091
0.405405
185
13
38
14.230769
0.8
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.571429
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
1
0
0
3
9627128f070d04d99500701a526ce598520c63f5
609
py
Python
tests/schemas/v1/test_is_online_condition.py
Clustaar/clustaar.schemas
3eb68b0a8c76f3529fb645516a76007435b04d17
[ "MIT" ]
null
null
null
tests/schemas/v1/test_is_online_condition.py
Clustaar/clustaar.schemas
3eb68b0a8c76f3529fb645516a76007435b04d17
[ "MIT" ]
7
2018-09-07T16:03:42.000Z
2020-05-13T10:54:37.000Z
tests/schemas/v1/test_is_online_condition.py
Clustaar/clustaar.schemas
3eb68b0a8c76f3529fb645516a76007435b04d17
[ "MIT" ]
null
null
null
from clustaar.schemas.v1 import IS_ONLINE_CONDITION from clustaar.schemas.models import IsOnlineCondition import pytest @pytest.fixture def condition(): return IsOnlineCondition() @pytest.fixture def data(): return {"type": "is_online"} class TestDump(object): def test_returns_data(self, condition, da...
23.423077
64
0.737274
71
609
6.183099
0.422535
0.05467
0.08656
0.091116
0
0
0
0
0
0
0
0.001984
0.172414
609
25
65
24.36
0.869048
0
0
0.117647
0
0
0.021346
0
0
0
0
0
0.117647
1
0.235294
false
0
0.176471
0.117647
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8264bf70545885d62a32bf6d462209e817260574
1,112
py
Python
PP4E/Examples/PP4E/Dstruct/Basic/stack4.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
PP4E/Examples/PP4E/Dstruct/Basic/stack4.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
PP4E/Examples/PP4E/Dstruct/Basic/stack4.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
"optimize with in-place list operations" class error(Exception): pass # when imported: local exception class Stack: def __init__(self, start=[]): # self is the instance object self.stack = [] # start is any sequence: stack... for x in start: s...
34.75
79
0.535072
130
1,112
4.453846
0.392308
0.15544
0.062176
0.044905
0.17962
0.17962
0.17962
0.17962
0.17962
0.17962
0
0.002825
0.363309
1,112
31
80
35.870968
0.814972
0.251799
0
0.090909
0
0
0.079422
0
0
0
0
0
0
1
0.363636
false
0.045455
0
0.181818
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8288b62a02d0b843ebf723fe83f6947cf97f6a64
159
py
Python
main/urls.py
mhartley/popkids
30add65ebc4d6fd0c3f6a1ce51bef18817d35093
[ "MIT" ]
null
null
null
main/urls.py
mhartley/popkids
30add65ebc4d6fd0c3f6a1ce51bef18817d35093
[ "MIT" ]
null
null
null
main/urls.py
mhartley/popkids
30add65ebc4d6fd0c3f6a1ce51bef18817d35093
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ # url(r'^hello/', views.helloworld), url(r'sendgridpost', views.sendgridpost) ]
17.666667
44
0.691824
20
159
5.5
0.6
0.072727
0
0
0
0
0
0
0
0
0
0
0.169811
159
8
45
19.875
0.833333
0.213836
0
0
0
0
0.097561
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
828d2a98ba1e043c4280db471c1895affc68c3b9
35
py
Python
sequency/time/__init__.py
timedata-org/sequency
9c6bb0598246170de9bba39a24f5ca6ef1922dd4
[ "MIT" ]
null
null
null
sequency/time/__init__.py
timedata-org/sequency
9c6bb0598246170de9bba39a24f5ca6ef1922dd4
[ "MIT" ]
null
null
null
sequency/time/__init__.py
timedata-org/sequency
9c6bb0598246170de9bba39a24f5ca6ef1922dd4
[ "MIT" ]
null
null
null
__all__ = 'bars', 'clock', 'tempo'
17.5
34
0.6
4
35
4.25
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
35
1
35
35
0.566667
0
0
0
0
0
0.4
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
82986d49a1d68c7f63637bde5f26ef3d78c156a3
1,249
py
Python
librespot/audio/format/SuperAudioFormat.py
JeffmeisterJ/librespot-python
0e0e1db65aa40262bd13479b97f81ae8c29ae049
[ "Apache-2.0" ]
null
null
null
librespot/audio/format/SuperAudioFormat.py
JeffmeisterJ/librespot-python
0e0e1db65aa40262bd13479b97f81ae8c29ae049
[ "Apache-2.0" ]
null
null
null
librespot/audio/format/SuperAudioFormat.py
JeffmeisterJ/librespot-python
0e0e1db65aa40262bd13479b97f81ae8c29ae049
[ "Apache-2.0" ]
null
null
null
from librespot.proto import Metadata import enum class SuperAudioFormat(enum.Enum): MP3 = 0x00 VORBIS = 0x01 AAC = 0x02 @staticmethod def get(audio_format: Metadata.AudioFile.Format): if audio_format == Metadata.AudioFile.Format.OGG_VORBIS_96 or \ audio_format == M...
46.259259
85
0.630905
135
1,249
5.622222
0.259259
0.202899
0.300395
0.442688
0.656126
0.611331
0.554677
0.229249
0
0
0
0.049887
0.293835
1,249
26
86
48.038462
0.810658
0
0
0
0
0
0.019215
0
0
0
0.009608
0
0
1
0.043478
false
0
0.086957
0
0.434783
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
82a16abf79f0e0eb1ba0935a62f93a7029828fb9
1,949
py
Python
IPHeaderQuiz.py
Ca2Patton/PythonStuff
9d13f340296bcea41dfca87a4b36e445821703de
[ "Apache-2.0" ]
null
null
null
IPHeaderQuiz.py
Ca2Patton/PythonStuff
9d13f340296bcea41dfca87a4b36e445821703de
[ "Apache-2.0" ]
null
null
null
IPHeaderQuiz.py
Ca2Patton/PythonStuff
9d13f340296bcea41dfca87a4b36e445821703de
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python user = raw_input("Hello! What's your name?: ") print "Hi, " + user + "!" print "This is a quiz on the contents of an IP header. It's purpose is to help you memorize their content." header = int(raw_input("What is the total byte size of an IP header? (excluding any options and data): ")) if header =...
24.670886
107
0.694715
322
1,949
4.096273
0.242236
0.078848
0.100076
0.191054
0.507961
0.412434
0.292646
0.200152
0.200152
0.153146
0
0.012392
0.171883
1,949
78
108
24.987179
0.804833
0.008209
0
0.571429
0
0.015873
0.462215
0
0
0
0
0
0
0
null
null
0
0
null
null
0.412698
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
1
0
3
82b2d5ef980f4e5843d25717051e85677cce8d20
738
py
Python
src/scout_apm/core/git_revision.py
xiamx/scout_apm_python
d03dab45f65cf7d1030e11fabf6da4cf6e72ee59
[ "MIT" ]
null
null
null
src/scout_apm/core/git_revision.py
xiamx/scout_apm_python
d03dab45f65cf7d1030e11fabf6da4cf6e72ee59
[ "MIT" ]
null
null
null
src/scout_apm/core/git_revision.py
xiamx/scout_apm_python
d03dab45f65cf7d1030e11fabf6da4cf6e72ee59
[ "MIT" ]
null
null
null
from __future__ import absolute_import, division, print_function, unicode_literals import os # Note that this is called from Config Defaults, which is looked up after the # configs from environment variables. If you set SCOUT_REVISION_SHA, it will be # picked up in that step of config, not here. # Similarly, this ca...
33.545455
82
0.756098
112
738
4.767857
0.589286
0.074906
0.059925
0.059925
0.082397
0
0
0
0
0
0
0
0.174797
738
21
83
35.142857
0.876847
0.444444
0
0
0
0
0.089109
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0.333333
1
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3