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
d3869cda3e5e6e989aeabd32944c0c5bffc2687e
756
py
Python
src/mockdown/model/edge.py
MangoTeam/mockdown
6f42395b07a3a83d5a3703d30985ef5a5068bf09
[ "MIT" ]
null
null
null
src/mockdown/model/edge.py
MangoTeam/mockdown
6f42395b07a3a83d5a3703d30985ef5a5068bf09
[ "MIT" ]
2
2022-01-13T03:52:58.000Z
2022-03-12T01:03:41.000Z
src/mockdown/model/edge.py
MangoTeam/mockdown
6f42395b07a3a83d5a3703d30985ef5a5068bf09
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import Tuple from mockdown.model.primitives import Attribute from mockdown.model.types import IAnchor, IEdge, IView from mockdown.types import NT @dataclass(frozen=True) class Edge(IEdge[NT]): anchor: IAnchor[NT] interval: Tuple[NT, NT] @property def vie...
24.387097
91
0.681217
97
756
5.216495
0.391753
0.071146
0.094862
0.071146
0
0
0
0
0
0
0
0.003333
0.206349
756
30
92
25.2
0.84
0
0
0.136364
0
0.045455
0.096561
0.051587
0
0
0
0
0.045455
1
0.227273
false
0
0.227273
0.181818
0.772727
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
d3a144acda7e551c0c6e3346d4332a066a3eea9a
2,899
py
Python
back/board/models.py
LEEJ0NGWAN/FreeChart
8769aea07079fe3a5af4aab701028e6aa9cb6598
[ "MIT" ]
null
null
null
back/board/models.py
LEEJ0NGWAN/FreeChart
8769aea07079fe3a5af4aab701028e6aa9cb6598
[ "MIT" ]
6
2021-04-08T19:48:40.000Z
2022-02-27T08:27:06.000Z
back/board/models.py
LEEJ0NGWAN/FreeList
8769aea07079fe3a5af4aab701028e6aa9cb6598
[ "MIT" ]
null
null
null
from uuid import uuid4 from django.db import models from FreeChart.settings import AUTH_USER_MODEL class Board(models.Model): class Meta: db_table = 'board' verbose_name = 'board' owner = models.ForeignKey(AUTH_USER_MODEL, on_delete=models.SET_NULL, null=True) parent = models.ForeignKey('se...
43.268657
84
0.714384
384
2,899
5.213542
0.205729
0.087912
0.055944
0.103896
0.754246
0.754246
0.667333
0.667333
0.667333
0.667333
0
0.010343
0.166264
2,899
66
85
43.924242
0.817956
0
0
0.459016
0
0
0.057626
0
0
0
0
0
0
1
0
false
0
0.04918
0
0.737705
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d3b0c99eede0a823d4a9e12da085e1d900393888
621
py
Python
main.py
tension7/One-Password
70dd25bc01a05b334caf84089af9d68ecc96266f
[ "BSD-3-Clause" ]
2
2016-06-11T08:34:06.000Z
2021-08-23T03:04:47.000Z
main.py
tension7/One-Password
70dd25bc01a05b334caf84089af9d68ecc96266f
[ "BSD-3-Clause" ]
null
null
null
main.py
tension7/One-Password
70dd25bc01a05b334caf84089af9d68ecc96266f
[ "BSD-3-Clause" ]
null
null
null
import cgi import string import logging import urllib import os from google.appengine.ext import db from google.appengine.ext import webapp from google.appengine.ext.webapp import template from google.appengine.ext.webapp import util class MainPage(webapp.RequestHandler): def get(self): templatePath = os.path.jo...
24.84
71
0.713366
77
621
5.571429
0.519481
0.09324
0.177156
0.205128
0.289044
0.158508
0
0
0
0
0
0
0.177134
621
24
72
25.875
0.83953
0
0
0
0
0
0.028986
0
0
0
0
0
0
1
0.1
false
0
0.45
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
6cac82f4e6668914cdddadb6934513d45282242f
370
py
Python
deep_recommend/recommend/ctr/dataset/utils.py
yingxinff-source/DeepRecSys
bf781e112492563631e89fb1fba3431601f1331c
[ "MIT" ]
null
null
null
deep_recommend/recommend/ctr/dataset/utils.py
yingxinff-source/DeepRecSys
bf781e112492563631e89fb1fba3431601f1331c
[ "MIT" ]
null
null
null
deep_recommend/recommend/ctr/dataset/utils.py
yingxinff-source/DeepRecSys
bf781e112492563631e89fb1fba3431601f1331c
[ "MIT" ]
null
null
null
""" @Description: @version: @License: MIT @Author: Wang Yao @Date: 2020-11-30 15:40:28 @LastEditors: Wang Yao @LastEditTime: 2020-11-30 15:44:18 """ import tensorflow as tf def numeric_log_normalizer(value): """ๆ•ฐๅ€ผๅž‹็‰นๅพๅฏนๆ•ฐๅฝ’ไธ€ๅŒ–""" def true_fn(): return tf.math.log(value+1) def false_fn(): return value ret...
19.473684
55
0.675676
57
370
4.280702
0.614035
0.057377
0.065574
0.081967
0
0
0
0
0
0
0
0.096774
0.162162
370
18
56
20.555556
0.690323
0.413514
0
0
0
0
0
0
0
0
0
0
0
1
0.6
false
0
0.2
0.4
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6cb89f7d674ad5f7016a09819cbd6dc066ce3fff
174
py
Python
setup.py
MozillaSecurity/avalanche
3b7cead4296bf4bf7df3b0a835b0262500ce2005
[ "Apache-2.0" ]
32
2016-07-19T23:39:59.000Z
2021-11-01T04:48:16.000Z
setup.py
MozillaSecurity/avalanche
3b7cead4296bf4bf7df3b0a835b0262500ce2005
[ "Apache-2.0" ]
12
2016-07-19T21:18:14.000Z
2019-04-02T13:22:44.000Z
setup.py
jschwartzentruber/avalanche
3b7cead4296bf4bf7df3b0a835b0262500ce2005
[ "Apache-2.0" ]
12
2016-09-28T16:32:51.000Z
2020-03-27T01:43:51.000Z
#!/usr/bin/env python from setuptools import setup if __name__ == '__main__': setup(name = "avalanche", version = "0.5.0", packages = ['avalanche'])
21.75
35
0.591954
20
174
4.75
0.8
0
0
0
0
0
0
0
0
0
0
0.023077
0.252874
174
7
36
24.857143
0.707692
0.114943
0
0
0
0
0.202614
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6ccdbe175aeb6590226f84a4ef1b368718443e04
327
py
Python
double_check/request_token/serializers.py
erikopa/double-check
101e7577cc5b4a8798421010c7a3a3308d21db72
[ "MIT" ]
4
2022-01-24T12:04:46.000Z
2022-02-10T17:20:20.000Z
double_check/request_token/serializers.py
erikopa/double-check
101e7577cc5b4a8798421010c7a3a3308d21db72
[ "MIT" ]
2
2021-11-04T14:00:46.000Z
2022-01-21T15:04:22.000Z
double_check/request_token/serializers.py
erikopa/double-check
101e7577cc5b4a8798421010c7a3a3308d21db72
[ "MIT" ]
3
2021-11-04T13:08:12.000Z
2022-01-15T20:59:33.000Z
from marshmallow import fields, Schema class RequestTokenSerializer(Schema): site_name = fields.Str(required=True) username = fields.Str(required=True) action = fields.Str(load_default='Login') class CheckTokenSerializer(Schema): token = fields.Str(required=True) user_token = fields.Str(required...
25.153846
45
0.749235
39
327
6.205128
0.512821
0.18595
0.280992
0.347107
0.214876
0
0
0
0
0
0
0
0.146789
327
12
46
27.25
0.867384
0
0
0
0
0
0.015291
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6cf38e28e9677cb6e573b03288264d8d910072e2
172
py
Python
multi_domain_expiration/utils/config.py
cqr-cryeye-forks/multi-domain-expiration
dff4f940f6f5671cc39c2c3112e029a2eb11bd4f
[ "MIT" ]
null
null
null
multi_domain_expiration/utils/config.py
cqr-cryeye-forks/multi-domain-expiration
dff4f940f6f5671cc39c2c3112e029a2eb11bd4f
[ "MIT" ]
null
null
null
multi_domain_expiration/utils/config.py
cqr-cryeye-forks/multi-domain-expiration
dff4f940f6f5671cc39c2c3112e029a2eb11bd4f
[ "MIT" ]
1
2021-08-19T12:44:31.000Z
2021-08-19T12:44:31.000Z
""" Config module. """ class Config: """ Class with constants for configuration. """ DEFAULT_DEBUGGING: bool = True DEFAULT_DAYS_EXPIRATION: int = 60
14.333333
43
0.639535
18
172
5.944444
0.833333
0
0
0
0
0
0
0
0
0
0
0.015504
0.25
172
11
44
15.636364
0.813953
0.313953
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
9f00a98dbceebdacad4a6fe6b6d5d60134becc0a
9,809
py
Python
testing/util/mypy_node_factory.py
kialo/stub-analyzer
db702a23abda64a3f8e8debf5e175f62732ce827
[ "MIT" ]
7
2019-11-04T13:02:09.000Z
2021-09-16T11:36:16.000Z
testing/util/mypy_node_factory.py
kialo/stub-analyzer
db702a23abda64a3f8e8debf5e175f62732ce827
[ "MIT" ]
9
2019-12-04T14:46:47.000Z
2022-01-03T15:29:53.000Z
testing/util/mypy_node_factory.py
kialo/stub-analyzer
db702a23abda64a3f8e8debf5e175f62732ce827
[ "MIT" ]
null
null
null
from typing import Dict, Tuple, Type, TypeVar, cast from mypy.nodes import Decorator, FuncDef, OverloadedFuncDef, TypeInfo, Var from stubalyzer import RelevantSymbolNode, get_stub_types from .stub_config import WithStubTestConfig T = TypeVar("T") class HandwrittenStubNotFound(Exception): def __init__(self, sy...
41.563559
86
0.72617
1,200
9,809
5.560833
0.0875
0.098307
0.066237
0.08407
0.766222
0.7364
0.690544
0.681852
0.530796
0.451821
0
0.001003
0.186563
9,809
235
87
41.740426
0.835318
0
0
0.274286
0
0
0.16281
0.142216
0
0
0
0
0
1
0.285714
false
0
0.022857
0.022857
0.605714
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
9f3008dd3773bdb8457fbbea9f85788d371b075a
2,069
py
Python
amigo.py
tmsincomb/amigo
e477438da1bf9a99208e5a6611e82f553d9f6063
[ "MIT" ]
null
null
null
amigo.py
tmsincomb/amigo
e477438da1bf9a99208e5a6611e82f553d9f6063
[ "MIT" ]
null
null
null
amigo.py
tmsincomb/amigo
e477438da1bf9a99208e5a6611e82f553d9f6063
[ "MIT" ]
null
null
null
import requests as r import io from yarl import URL import pandas as pd def amigo(queries, species='"Homo sapiens"', verbose=True): dfs = [] for query in queries: url = URL(''.join(dict( base = 'http://golr-aux.geneontology.io/solr/select?', options = f'defType=edismax&qt=stand...
73.892857
446
0.751087
294
2,069
5.078231
0.445578
0.066979
0.070328
0.058942
0.153382
0
0
0
0
0
0
0.030088
0.116481
2,069
27
447
76.62963
0.786652
0
0
0
0
0.208333
0.692456
0.643617
0
0
0
0
0
1
0.041667
false
0
0.166667
0
0.25
0.041667
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
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9f30454e04fc18d65c1a27d06cde8edc5c8dea80
322
py
Python
src/SocialNetwork_API/models/tags.py
HoangNguyenHuy/SocialNetwork
495062d9b85cfdaa3df41002c2c4a88ab4b53446
[ "MIT" ]
null
null
null
src/SocialNetwork_API/models/tags.py
HoangNguyenHuy/SocialNetwork
495062d9b85cfdaa3df41002c2c4a88ab4b53446
[ "MIT" ]
null
null
null
src/SocialNetwork_API/models/tags.py
HoangNguyenHuy/SocialNetwork
495062d9b85cfdaa3df41002c2c4a88ab4b53446
[ "MIT" ]
null
null
null
from django.db import models from SocialNetwork_API.models.timestamped import TimeStampedModel class Tags (TimeStampedModel): id = models.AutoField(primary_key=True) user_id = models.PositiveIntegerField(default=0) post_id = models.PositiveIntegerField(default=0) class Meta: db_table = 'sn_tag...
32.2
65
0.767081
39
322
6.179487
0.615385
0.099585
0.232365
0.290456
0.298755
0
0
0
0
0
0
0.007353
0.15528
322
10
66
32.2
0.878676
0
0
0
0
0
0.021672
0
0
0
0
0
0
1
0
false
0
0.25
0
0.875
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
9f34115992ee4b3e65be4e34f6eee7ada6ac5ac6
604
py
Python
kddg/deprecated/score.py
Kortemme-Lab/kddg
9fc09172abbefd4fef49261687c60a9bd9b6b29b
[ "MIT" ]
2
2016-06-14T00:32:02.000Z
2020-05-04T03:29:46.000Z
kddg/deprecated/score.py
Kortemme-Lab/kddg
9fc09172abbefd4fef49261687c60a9bd9b6b29b
[ "MIT" ]
null
null
null
kddg/deprecated/score.py
Kortemme-Lab/kddg
9fc09172abbefd4fef49261687c60a9bd9b6b29b
[ "MIT" ]
null
null
null
#!/usr/bin/python2.4 # encoding: utf-8 """ score.py THIS FILE SHOULD BE REMOVED ONCE THE DDG SCHEDULER HAS BEEN REWRITTEN. Created by Shane O'Connor 2012. Copyright (c) 2012 __UCSF__. All rights reserved. """ class ddgScore(object): type = None version = None def __init__(self, data = {}): self.data = data ...
18.30303
75
0.68543
86
604
4.72093
0.604651
0.098522
0.08867
0.078818
0.1133
0.1133
0
0
0
0
0
0.026423
0.18543
604
33
76
18.30303
0.79878
0.32947
0
0.125
0
0
0.055416
0
0
0
0
0
0
1
0.3125
false
0
0
0.1875
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9f42de802c4dc9f50635ae2d1625eab001389c02
72
py
Python
bank_csv_parser/__init__.py
aeantipov/bank_csv
fa76dd01a1a0f6a7722780a4cb35309b88109049
[ "MIT" ]
2
2021-02-09T03:06:29.000Z
2022-02-01T12:42:40.000Z
bank_csv_parser/__init__.py
aeantipov/bank_csv
fa76dd01a1a0f6a7722780a4cb35309b88109049
[ "MIT" ]
null
null
null
bank_csv_parser/__init__.py
aeantipov/bank_csv
fa76dd01a1a0f6a7722780a4cb35309b88109049
[ "MIT" ]
null
null
null
from .bank_csv_parser import BankCSVParser __all__ = ["BankCSVParser"]
18
42
0.805556
8
72
6.5
0.875
0
0
0
0
0
0
0
0
0
0
0
0.111111
72
3
43
24
0.8125
0
0
0
0
0
0.180556
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
9f7ca4e8d4fafbe410ab1e7571754abc56fd03a3
2,841
py
Python
python/dazl/values/pysample_encoder.py
digital-asset/dazl-client
5d54edaea26d7704cc8d73e5945b37ed2806265b
[ "Apache-2.0" ]
8
2019-09-08T09:41:03.000Z
2022-02-19T12:54:30.000Z
python/dazl/values/pysample_encoder.py
digital-asset/dazl-client
5d54edaea26d7704cc8d73e5945b37ed2806265b
[ "Apache-2.0" ]
55
2019-05-30T23:00:31.000Z
2022-01-24T01:51:32.000Z
python/dazl/values/pysample_encoder.py
digital-asset/dazl-client
5d54edaea26d7704cc8d73e5945b37ed2806265b
[ "Apache-2.0" ]
9
2019-06-30T18:15:27.000Z
2021-12-03T10:15:27.000Z
# Copyright (c) 2017-2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. # SPDX-License-Identifier: Apache-2.0 from typing import Any from ..damlast.daml_lf_1 import DefDataType, Type as DamlType from .context import Context from .mapper import ValueMapper class PythonSampleEncoder(Val...
35.074074
102
0.614572
347
2,841
4.89049
0.256484
0.110194
0.180318
0.132587
0.475545
0.420742
0.412493
0.27637
0.27637
0.249853
0
0.006364
0.225625
2,841
80
103
35.5125
0.765
0.04787
0
0.140351
0
0
0.168024
0.010363
0
0
0
0
0
1
0.315789
false
0.035088
0.070175
0.245614
0.701754
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
1
0
0
0
3
9f7d0a753ede04f366630f3de04abc372000a68c
235
py
Python
postgresql_dbdefaults/base.py
adfinis-forks/django-postgres-dbdefaults
867cf2179974cbc41454a83281337415312f899a
[ "MIT" ]
null
null
null
postgresql_dbdefaults/base.py
adfinis-forks/django-postgres-dbdefaults
867cf2179974cbc41454a83281337415312f899a
[ "MIT" ]
null
null
null
postgresql_dbdefaults/base.py
adfinis-forks/django-postgres-dbdefaults
867cf2179974cbc41454a83281337415312f899a
[ "MIT" ]
null
null
null
from django.db.backends.postgresql.base import * # NOQA from .schema import DatabaseSchemaEditor OldDatabaseWrapper = DatabaseWrapper # NOQA class DatabaseWrapper(OldDatabaseWrapper): SchemaEditorClass = DatabaseSchemaEditor
21.363636
56
0.817021
20
235
9.6
0.7
0
0
0
0
0
0
0
0
0
0
0
0.12766
235
10
57
23.5
0.936585
0.038298
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
9f86ac0a3f7eaf463793908a792515bc68f21075
406
py
Python
source_code/day001/band-gen.py
noblinkyblinky/100DaysofCode
fd7ebf8a7b74f54468ea47e1b1d77d64bab28a8c
[ "MIT" ]
null
null
null
source_code/day001/band-gen.py
noblinkyblinky/100DaysofCode
fd7ebf8a7b74f54468ea47e1b1d77d64bab28a8c
[ "MIT" ]
null
null
null
source_code/day001/band-gen.py
noblinkyblinky/100DaysofCode
fd7ebf8a7b74f54468ea47e1b1d77d64bab28a8c
[ "MIT" ]
null
null
null
#1. Create a greeting for your program. print("Welcome to the band name generator!") #2. Ask the user for the city that they grew up in. city = input("What city did you grow up in? \n") #3. Ask the user for the name of a pet. pet = input("What is the name of a pet?\n") #4. Combine the name of their city and pet and sho...
50.75
73
0.699507
83
406
3.421687
0.506024
0.098592
0.126761
0.091549
0.193662
0
0
0
0
0
0
0.012346
0.20197
406
8
74
50.75
0.864198
0.487685
0
0
0
0
0.717073
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
9f99d0f15f8024366b5e870c22ce928901d69c48
129
py
Python
pagrant/version.py
markshao/pagrant
8767288b6b170e1cf69c555ac0d75f44b10aaf34
[ "MIT" ]
2
2016-07-27T11:29:32.000Z
2017-09-29T15:05:19.000Z
pagrant/version.py
markshao/pagrant
8767288b6b170e1cf69c555ac0d75f44b10aaf34
[ "MIT" ]
null
null
null
pagrant/version.py
markshao/pagrant
8767288b6b170e1cf69c555ac0d75f44b10aaf34
[ "MIT" ]
null
null
null
#!/usr/bin/python #coding:utf8 __author__ = ['markshao'] __version__ = "1.0.2" def version_number(): return __version__
10.75
25
0.682171
16
129
4.6875
0.875
0
0
0
0
0
0
0
0
0
0
0.037037
0.162791
129
11
26
11.727273
0.657407
0.209302
0
0
0
0
0.131313
0
0
0
0
0
0
1
0.25
false
0
0
0.25
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
1
0
0
0
1
0
0
0
3
9fa1e7a01fee02ef6c55eb3c48458d1213f1cff1
454
py
Python
vidqa_code/_init_stuff.py
TheShadow29/Video-QAP
ffd60758c3426e593b04651c1071279bcb9912fb
[ "MIT" ]
4
2021-04-09T11:24:20.000Z
2021-12-08T07:19:24.000Z
vidqa_code/_init_stuff.py
TheShadow29/Video-QAP
ffd60758c3426e593b04651c1071279bcb9912fb
[ "MIT" ]
1
2021-05-28T13:38:17.000Z
2021-05-28T17:13:52.000Z
vidqa_code/_init_stuff.py
TheShadow29/Video-QAP
ffd60758c3426e593b04651c1071279bcb9912fb
[ "MIT" ]
null
null
null
import yaml import re # Allows writing lr=1e-4 yaml.SafeLoader.add_implicit_resolver( u"tag:yaml.org,2002:float", re.compile( u"""^(?: [-+]?(?:[0-9][0-9_]*)\\.[0-9_]*(?:[eE][-+]?[0-9]+)? |[-+]?(?:[0-9][0-9_]*)(?:[eE][-+]?[0-9]+) |\\.[0-9_]+(?:[eE][-+][0-9]+)? |[-+]?[0-9][0-9_]*(?::[0-5...
23.894737
56
0.389868
65
454
2.6
0.415385
0.153846
0.159763
0.189349
0.171598
0.16568
0.16568
0.16568
0.16568
0.16568
0
0.118919
0.185022
454
18
57
25.222222
0.337838
0.048458
0
0
0
0
0.208092
0.132948
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4c83492e11ceb54d724d69ebafb6e353590a14a6
582
py
Python
remove_falsey_values_in_array.py
SecTraversl/python_array_Tools
6368163490dd58eaadfc224a53a4c7c9b77a54ff
[ "MIT" ]
null
null
null
remove_falsey_values_in_array.py
SecTraversl/python_array_Tools
6368163490dd58eaadfc224a53a4c7c9b77a54ff
[ "MIT" ]
null
null
null
remove_falsey_values_in_array.py
SecTraversl/python_array_Tools
6368163490dd58eaadfc224a53a4c7c9b77a54ff
[ "MIT" ]
null
null
null
# %% ####################################### def remove_falsey_values_in_array(lst: list): """Removes falsey values such as 0, '', False, None from the list. Examples: >>> list_with_falsey = [0, 1, False, 2, '', ' ', 3, 'a', 's', 34, None]\n >>> remove_falsey_values_in_array(list_with_falsey)\...
29.1
81
0.508591
76
582
3.684211
0.407895
0.114286
0.2
0.042857
0.482143
0.282143
0.157143
0.157143
0.157143
0.157143
0
0.05492
0.249141
582
19
82
30.631579
0.585812
0.699313
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
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
4c89c7907b6739d5d435c84efd167d13c51f3b88
89
py
Python
secret_keys.py
ariua91/clean-anomalies-vf
febc98aa1888a717ed9ec8d0ccca3cb2e1edd55f
[ "MIT" ]
null
null
null
secret_keys.py
ariua91/clean-anomalies-vf
febc98aa1888a717ed9ec8d0ccca3cb2e1edd55f
[ "MIT" ]
1
2021-06-01T23:11:50.000Z
2021-06-01T23:11:50.000Z
secret_keys.py
ariua91/clean-anomalies-vf
febc98aa1888a717ed9ec8d0ccca3cb2e1edd55f
[ "MIT" ]
null
null
null
ENV = 'api' # 'api' / 'api-staging' CLIENT_ID = '' CLIENT_SECRET = ''
22.25
54
0.460674
9
89
4.333333
0.666667
0.307692
0
0
0
0
0
0
0
0
0
0
0.359551
89
3
55
29.666667
0.684211
0.235955
0
0
0
0
0.045455
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4c8af92a90c26990afc9e2ae64a7519274ab098b
20
py
Python
credentials.py
bjosep/music_recommendation_system
06533551e3e193ae12b2689b54fd2a36b8fd3851
[ "MIT" ]
1
2021-08-31T23:03:15.000Z
2021-08-31T23:03:15.000Z
credentials.py
bjosep/music_recommendation_system
06533551e3e193ae12b2689b54fd2a36b8fd3851
[ "MIT" ]
null
null
null
credentials.py
bjosep/music_recommendation_system
06533551e3e193ae12b2689b54fd2a36b8fd3851
[ "MIT" ]
1
2021-09-04T20:21:08.000Z
2021-09-04T20:21:08.000Z
SPOTIFY_TOKEN = ""
10
19
0.65
2
20
6
1
0
0
0
0
0
0
0
0
0
0
0
0.2
20
1
20
20
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
4c927aee353aef35048b2cdec590ff0aee1ccc39
1,619
py
Python
data/transcoder_evaluation_gfg/python/MINIMUM_XOR_VALUE_PAIR_1.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/python/MINIMUM_XOR_VALUE_PAIR_1.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/python/MINIMUM_XOR_VALUE_PAIR_1.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
# Copyright (c) 2019-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # import sys def f_gold ( arr , n ) : arr.sort ( ) minXor = int ( sys.float_info.max ) val = 0 for i in range ( 0...
42.605263
189
0.476838
332
1,619
2.271084
0.394578
0.106101
0.143236
0.175066
0.11008
0.11008
0.11008
0.11008
0.09947
0.09947
0
0.3183
0.287832
1,619
38
190
42.605263
0.335646
0.114268
0
0
0
0
0.016819
0
0
0
0
0
0
1
0.037037
false
0
0.037037
0
0.111111
0.037037
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4ca2b910c62452e9411e5f6c75411143faf49924
675
py
Python
simple_test.py
ZizhouJia/pyson
ba80336e6ec43456c0d1bf3e71109609b9489181
[ "MIT" ]
2
2019-10-15T14:05:18.000Z
2019-12-02T05:58:31.000Z
simple_test.py
ZizhouJia/pyson
ba80336e6ec43456c0d1bf3e71109609b9489181
[ "MIT" ]
null
null
null
simple_test.py
ZizhouJia/pyson
ba80336e6ec43456c0d1bf3e71109609b9489181
[ "MIT" ]
null
null
null
import numpy as np def solver(matrix): values=np.zeros(matrix.shape[1],matrix.shape[1]+2) values[:,:]=-1e100 for i in range(1,matrix.shape[1]+1): for j in range(i+1,matrix.shape[1]+1): values[i][j]=matrix[0][i-1]+matrix[0][j-1] for k in range(1,len(matrix)): for i in range(...
25.961538
205
0.543704
133
675
2.759399
0.172932
0.209809
0.228883
0.212534
0.621253
0.577657
0.53406
0.53406
0.53406
0.506812
0
0.077505
0.216296
675
25
206
27
0.616257
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.25
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
4cc371711f6ceed0076ce8923e78d8edef2aa0e8
24
py
Python
dpdt/simulation/__init__.py
TimeWz667/PyDemography
5f17759c1efd7aecf948cbadf1e6d1e97721fa63
[ "MIT" ]
2
2019-11-23T08:01:43.000Z
2019-11-27T22:17:34.000Z
dpdt/simulation/__init__.py
TimeWz667/PyDemography
5f17759c1efd7aecf948cbadf1e6d1e97721fa63
[ "MIT" ]
null
null
null
dpdt/simulation/__init__.py
TimeWz667/PyDemography
5f17759c1efd7aecf948cbadf1e6d1e97721fa63
[ "MIT" ]
null
null
null
__author__ = 'TimeWz667'
24
24
0.791667
2
24
7.5
1
0
0
0
0
0
0
0
0
0
0
0.136364
0.083333
24
1
24
24
0.545455
0
0
0
0
0
0.36
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
981a6f4048d8ba93568ccd267132f8e63565badc
906
py
Python
main.py
Lusmaysh/PassGenerator
b1b058986ad845f9ed10a8bdcb0b608e74340169
[ "Unlicense" ]
2
2021-08-22T05:37:43.000Z
2021-08-29T06:15:19.000Z
main.py
Lusmaysh/PassGenerator
b1b058986ad845f9ed10a8bdcb0b608e74340169
[ "Unlicense" ]
null
null
null
main.py
Lusmaysh/PassGenerator
b1b058986ad845f9ed10a8bdcb0b608e74340169
[ "Unlicense" ]
null
null
null
import string,os,random G="\33[32;1m";B="\33[36;1m"; def Logo(): os.system("clear") print(f"""\33[1;31m โ–„โ–€โ–„ โ–„โ–€โ–„ โ–„โ–ˆโ–‘โ–‘โ–€โ–€โ–€โ–€โ–€โ–‘โ–‘โ–ˆโ–„ โ–„โ–„ โ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆ โ–„โ–„ โ–ˆโ–„โ–„โ–ˆ โ–ˆโ–‘โ–‘โ–ˆโ–‘โ–‘โ”ฌโ–‘โ–‘โ–ˆโ–‘โ–‘โ–ˆ โ–ˆโ–„โ–„โ–ˆ{B} โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•— โ•‘{G} โ™š Project {B}:{G} โ„™๐•’๐•ค๐•ค๐”พ๐•–๐•Ÿ๐•–๐•ฃ๐•’๐•ฅ๐• ๐•ฃโ„ข {B}โ•‘ ...
32.357143
105
0.405077
146
906
3.664384
0.40411
0.029907
0.02243
0.02243
0.198131
0.157009
0.078505
0
0
0
0
0.020862
0.206402
906
27
106
33.555556
0.486787
0
0
0.12
0
0
0.679912
0.092715
0
0
0
0
0
1
0.04
false
0.08
0.04
0
0.08
0.12
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
981b2b643cdf4807b2b8dd2e94833cd506336daf
92
py
Python
PythonFIAP/Capitulo2/exemplo_for.py
DanielGMesquita/StudyPath
0b3d0bb1deac7eb0d1b301edca5e5ed320568f4c
[ "MIT" ]
null
null
null
PythonFIAP/Capitulo2/exemplo_for.py
DanielGMesquita/StudyPath
0b3d0bb1deac7eb0d1b301edca5e5ed320568f4c
[ "MIT" ]
null
null
null
PythonFIAP/Capitulo2/exemplo_for.py
DanielGMesquita/StudyPath
0b3d0bb1deac7eb0d1b301edca5e5ed320568f4c
[ "MIT" ]
null
null
null
for numero in range(1,int(input('Digite o nรบmero final: ')),1): print(" ",str(numero))
46
63
0.630435
15
92
3.866667
0.866667
0
0
0
0
0
0
0
0
0
0
0.025974
0.163043
92
2
64
46
0.727273
0
0
0
0
0
0.27957
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
981ba1edd7fd73b812dc73aba2a85ebf8936f383
2,772
py
Python
src/lib/ipm.py
ArtemovSA/PyMite
a22fbae773b285ccf4993905a46dd396cb762f69
[ "OLDAP-2.6", "Python-2.0" ]
51
2015-03-24T07:53:03.000Z
2021-08-06T12:55:53.000Z
src/lib/ipm.py
ArtemovSA/PyMite
a22fbae773b285ccf4993905a46dd396cb762f69
[ "OLDAP-2.6", "Python-2.0" ]
null
null
null
src/lib/ipm.py
ArtemovSA/PyMite
a22fbae773b285ccf4993905a46dd396cb762f69
[ "OLDAP-2.6", "Python-2.0" ]
15
2015-04-09T14:17:27.000Z
2022-01-26T02:42:47.000Z
# This file is Copyright 2007, 2009, 2010 Dean Hall. # # This file is part of the Python-on-a-Chip program. # Python-on-a-Chip is free software: you can redistribute it and/or modify # it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1. # # Python-on-a-Chip is distributed in the hope that it will b...
25.906542
74
0.647547
403
2,772
4.310174
0.451613
0.027634
0.028785
0.043178
0.172136
0.142775
0.126079
0.126079
0.126079
0.103627
0
0.019268
0.251082
2,772
106
75
26.150943
0.817437
0.826118
0
0.181818
0
0
0
0
0
0
0
0
0.090909
1
0.272727
false
0.181818
0
0
0.272727
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
1
0
1
0
0
0
0
0
3
e21b3fd4cb51b3fa5f607126d5b3190b3ebc3385
505
py
Python
algorithm_mic_sdk/__init__.py
panyunsuo/AlgorithmicMicroserviceSDK
e7094a0a2a55b7bc7f65765bfb3918fc1fa305cc
[ "MIT" ]
null
null
null
algorithm_mic_sdk/__init__.py
panyunsuo/AlgorithmicMicroserviceSDK
e7094a0a2a55b7bc7f65765bfb3918fc1fa305cc
[ "MIT" ]
null
null
null
algorithm_mic_sdk/__init__.py
panyunsuo/AlgorithmicMicroserviceSDK
e7094a0a2a55b7bc7f65765bfb3918fc1fa305cc
[ "MIT" ]
null
null
null
""" ๅฎ‰่ฃ… pip install leqi-algorithm-mic-sdk ็ฎ—ๆณ•ๆจกๅ— algorithm_mic_sdk.error ๅผ‚ๅธธๆจกๅ— algorithm_mic_sdk.error.AbnormalAlgorithmPlatform API็ฝ‘ๅ…ณ็›ธๅ…ณๅผ‚ๅธธ algorithm_mic_sdk.auth.AuthInfo ่ดฆๅทไฟกๆฏ,้œ€่ฆๅˆๅง‹ๅŒ–ๅŽไฝœไธบๅ‚ๆ•ฐ็ป™ๅ…ถไป–้œ€่ฆ้ชŒ่ฏ็š„ๆจกๅ—่ฐƒ็”จ algorithm_mic_sdk.base ๅŸบ็ก€็ฑปๅบ“ๆจกๅ— algorithm_mic_sdk.base.Base ไธป่ฆๆ˜ฏๅฏนๅ›พ็‰‡็ฎ—ๆณ•็š„ๅค„็†,ๅฏไปฅไธŠไผ /ไธ‹่ฝฝๅ›พ็‰‡, ่Žทๅ–็ฎ—ๆณ•็ป“ๆžœ็ญ‰,่ฏฆ็ป†ไฝฟ็”จ่งๆจกๅ—่ฏดๆ˜Ž algorithm_mic_sdk.base....
28.055556
72
0.867327
68
505
6.132353
0.558824
0.258993
0.323741
0.136691
0
0
0
0
0
0
0
0.008421
0.059406
505
17
73
29.705882
0.869474
0.936634
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
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
0
0
0
0
0
0
0
3
e2274f97cd69c04847489f04139e805b76e33f91
1,534
py
Python
src/sentry/plugins/endpoints.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
4
2019-05-27T13:55:07.000Z
2021-03-30T07:05:09.000Z
src/sentry/plugins/endpoints.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
99
2019-05-20T14:16:33.000Z
2021-01-19T09:25:15.000Z
src/sentry/plugins/endpoints.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
1
2020-08-10T07:55:40.000Z
2020-08-10T07:55:40.000Z
from __future__ import absolute_import __all__ = ['PluginProjectEndpoint', 'PluginGroupEndpoint'] from rest_framework.response import Response from sentry.api.bases.group import GroupEndpoint from sentry.api.bases.project import ProjectEndpoint class PluginProjectEndpoint(ProjectEndpoint): plugin = None vi...
30.078431
69
0.667536
177
1,534
5.689266
0.254237
0.158888
0.107249
0.142999
0.613704
0.556107
0.516385
0.516385
0.440914
0.363456
0
0.006612
0.211213
1,534
50
70
30.68
0.82562
0.014342
0
0.484848
0
0
0.02649
0.013907
0
0
0
0
0
1
0.242424
false
0
0.151515
0.181818
0.878788
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
e22d02dd57ad4951b2df993d8e7df86dfc6eb465
361
py
Python
datas_github/datas/temp/temp.py
HarryHaoLee/Relationship-Analysis-between-Packages
353959c450e7b104b1ba59cde533214662c50266
[ "MIT" ]
4
2018-01-08T07:37:48.000Z
2018-01-18T09:17:21.000Z
datas_github/datas/temp/temp.py
HarryHaoLee/Relationship-Analysis-between-Packages
353959c450e7b104b1ba59cde533214662c50266
[ "MIT" ]
null
null
null
datas_github/datas/temp/temp.py
HarryHaoLee/Relationship-Analysis-between-Packages
353959c450e7b104b1ba59cde533214662c50266
[ "MIT" ]
2
2018-10-19T04:10:27.000Z
2019-11-08T16:27:56.000Z
def test_delete_user(app): app.session.login(username="admin", password="qa2017") app.users.delete() app.session.logout() # ะŸะ ะžะ’ะ•ะ ะšะ #wait.until(EC.presence_of_all_elements_located((By.XPATH, "//ul[@class='sb-list ng-scope']"))) #self.assertNotIn("Auto.test.user", driver.find_element_by_xpath("...
36.1
109
0.692521
52
361
4.634615
0.711538
0.082988
0.074689
0.116183
0.224066
0.224066
0.224066
0.224066
0
0
0
0.012461
0.110803
361
9
110
40.111111
0.738318
0.570637
0
0
0
0
0.073333
0
0
0
0
0
0
1
0.25
false
0.25
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
e22eb0d99e3021269318e71a480bd8e16b1af38c
94
py
Python
test/conftest.py
eliostvs/eliostvs-errbot-storage-rethinkdb
766446bdcce1d7d96dbc64aeac90bb896d24344d
[ "MIT" ]
null
null
null
test/conftest.py
eliostvs/eliostvs-errbot-storage-rethinkdb
766446bdcce1d7d96dbc64aeac90bb896d24344d
[ "MIT" ]
null
null
null
test/conftest.py
eliostvs/eliostvs-errbot-storage-rethinkdb
766446bdcce1d7d96dbc64aeac90bb896d24344d
[ "MIT" ]
null
null
null
def pytest_addoption(parser): parser.addoption("--port", type=int, help="RethinkDB port")
31.333333
63
0.723404
12
94
5.583333
0.75
0
0
0
0
0
0
0
0
0
0
0
0.106383
94
2
64
47
0.797619
0
0
0
0
0
0.212766
0
0
0
0
0
0
1
0.5
false
0
0
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
e234625683c484eec7bcd7e407e1364fedf05ade
1,337
py
Python
app/models/significant_people.py
neuralhalation/flask-call-of-cthulhu
59e1afc9ac1244106fe3439f9a37f16dcfc15d52
[ "MIT" ]
null
null
null
app/models/significant_people.py
neuralhalation/flask-call-of-cthulhu
59e1afc9ac1244106fe3439f9a37f16dcfc15d52
[ "MIT" ]
null
null
null
app/models/significant_people.py
neuralhalation/flask-call-of-cthulhu
59e1afc9ac1244106fe3439f9a37f16dcfc15d52
[ "MIT" ]
null
null
null
import app.functions.add_remove as ar def significant_person(npc_name, description): """Creates a new significant person/NPC for a character to know, keep track of. Args: npc_name (str): The name of the NPC. description (str): The description of the NPC. Return: dict: An NPC/...
29.711111
79
0.703067
172
1,337
5.284884
0.238372
0.257426
0.112211
0.158416
0.266227
0.262926
0.115512
0
0
0
0
0
0.223635
1,337
44
80
30.386364
0.875723
0.542259
0
0
0
0
0.077973
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0
0.777778
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
e23a3c6c0c8b7c321a34e75b4e08e682d4d0522f
85
py
Python
meiduo_mall/meiduo_mall/apps/auoth/apps.py
1923488289/meiduo_mall
a811b3fd455f3de5286de19bbfa1f3ca5817f4a6
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/auoth/apps.py
1923488289/meiduo_mall
a811b3fd455f3de5286de19bbfa1f3ca5817f4a6
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/auoth/apps.py
1923488289/meiduo_mall
a811b3fd455f3de5286de19bbfa1f3ca5817f4a6
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AuothConfig(AppConfig): name = 'auoth'
14.166667
33
0.741176
10
85
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.176471
85
5
34
17
0.9
0
0
0
0
0
0.058824
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
e23d0689c5081cdb2c7c000cf383a0680b5bcc3f
360
py
Python
irgan/models/models.py
Victarry/IR-GAN-Code
51a217029e9dc9b0507525c2fabf51f85424fc68
[ "MIT" ]
2
2020-10-29T09:10:49.000Z
2021-11-24T04:56:41.000Z
irgan/models/models.py
Victarry/IR-GAN-Code
51a217029e9dc9b0507525c2fabf51f85424fc68
[ "MIT" ]
null
null
null
irgan/models/models.py
Victarry/IR-GAN-Code
51a217029e9dc9b0507525c2fabf51f85424fc68
[ "MIT" ]
1
2020-10-29T09:10:51.000Z
2020-10-29T09:10:51.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. """Models Manager""" from irgan.models.recurrent_gan import RecurrentGAN from irgan.models.inference_models.recurrent_gan import InferenceRecurrentGAN MODELS = { 'recurrent_gan': RecurrentGAN } INFERENCE_MODELS = { '...
25.714286
77
0.788889
39
360
7.128205
0.564103
0.215827
0.258993
0.172662
0
0
0
0
0
0
0
0
0.127778
360
13
78
27.692308
0.88535
0.291667
0
0
0
0
0.104839
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
e2610d8752a2659e157b1621a0321948838e3f31
520
py
Python
src/game_screens/hardcore_game_screen.py
deepak2431/pygame-Coin-Fall-
2238fb8badc7db138e1bfa5e1d4e2672d652e935
[ "MIT" ]
null
null
null
src/game_screens/hardcore_game_screen.py
deepak2431/pygame-Coin-Fall-
2238fb8badc7db138e1bfa5e1d4e2672d652e935
[ "MIT" ]
null
null
null
src/game_screens/hardcore_game_screen.py
deepak2431/pygame-Coin-Fall-
2238fb8badc7db138e1bfa5e1d4e2672d652e935
[ "MIT" ]
null
null
null
import random import math from pygame.locals import QUIT, KEYUP from src.game_screens.infinite_game_screen import Infinite_Game_Screen from src.misc.game_enums import Game_mode from src.ui.image import Image from src.ui.text import Text from src.objects import * class Hardcore_Game_Screen(Infinite_Game_Screen): ...
30.588235
76
0.761538
74
520
5.040541
0.405405
0.093834
0.193029
0.091153
0.257373
0.257373
0.257373
0.257373
0.257373
0
0
0
0.175
520
16
77
32.5
0.869464
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.666667
0
0.833333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e261693a2da7829f25ffdb8228a31d00bd430c7f
79
py
Python
indexpy/__init__.py
2890841438/index.py
0b97d917c06cccc5c95b00a29e24d79b5ced53de
[ "Apache-2.0" ]
null
null
null
indexpy/__init__.py
2890841438/index.py
0b97d917c06cccc5c95b00a29e24d79b5ced53de
[ "Apache-2.0" ]
null
null
null
indexpy/__init__.py
2890841438/index.py
0b97d917c06cccc5c95b00a29e24d79b5ced53de
[ "Apache-2.0" ]
null
null
null
from .applications import Dispatcher, Index __all__ = ["Index", "Dispatcher"]
19.75
43
0.746835
8
79
6.875
0.75
0
0
0
0
0
0
0
0
0
0
0
0.126582
79
3
44
26.333333
0.797101
0
0
0
0
0
0.189873
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
e26c0cd34260c4977154cb5dd7bcfc6d44a8a116
412
py
Python
polypuppet/definitions.py
LLDay/polypuppet
56eee925ec56ab51ea7f538717f4c669e8f4ec68
[ "MIT" ]
null
null
null
polypuppet/definitions.py
LLDay/polypuppet
56eee925ec56ab51ea7f538717f4c669e8f4ec68
[ "MIT" ]
null
null
null
polypuppet/definitions.py
LLDay/polypuppet
56eee925ec56ab51ea7f538717f4c669e8f4ec68
[ "MIT" ]
null
null
null
import os import platform from pathlib import Path AUTOSIGN_PATH = Path('/usr/local/bin/polypuppet-autosign') if platform.system() == 'Windows': CONFIG_DIR = os.path.expandvars('%PROGRAMDATA%\\Polypuppet\\') else: CONFIG_DIR = '/etc/polypuppet/' CONFIG_DIR = Path(CONFIG_DIR) CONFIG_PATH = Path(CONFIG_DIR / '...
24.235294
66
0.725728
57
412
5.052632
0.421053
0.21875
0.180556
0.177083
0
0
0
0
0
0
0
0
0.126214
412
16
67
25.75
0.8
0
0
0
0
0
0.254854
0.148058
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
e278188c0fcac019dcfb41b35dab4e0b67aeb1c3
121
py
Python
Python3/1159.py
Di-Ca-N/URI-Online-Judge
160797b534fe8c70e719b1ea41690157dbdbb52e
[ "MIT" ]
null
null
null
Python3/1159.py
Di-Ca-N/URI-Online-Judge
160797b534fe8c70e719b1ea41690157dbdbb52e
[ "MIT" ]
null
null
null
Python3/1159.py
Di-Ca-N/URI-Online-Judge
160797b534fe8c70e719b1ea41690157dbdbb52e
[ "MIT" ]
null
null
null
a = int(input()) while a != 0: if a % 2 == 1: a += 1 print(sum(range(a, a+10, 2))) a = int(input())
15.125
33
0.413223
22
121
2.272727
0.545455
0.16
0.36
0
0
0
0
0
0
0
0
0.089744
0.355372
121
7
34
17.285714
0.551282
0
0
0.333333
0
0
0
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
e2a9f99ce8c51db58623e58ce57d4eeddfb09ae0
285
py
Python
src/similarity_human.py
fbickfordsmith/attention-toad
2d0cd2adced54e537aa4b6cbd23116b16d49d61a
[ "MIT" ]
2
2021-07-09T18:43:22.000Z
2021-12-02T01:48:33.000Z
src/similarity_human.py
fbickfordsmith/attention-toad
2d0cd2adced54e537aa4b6cbd23116b16d49d61a
[ "MIT" ]
null
null
null
src/similarity_human.py
fbickfordsmith/attention-toad
2d0cd2adced54e537aa4b6cbd23116b16d49d61a
[ "MIT" ]
null
null
null
import numpy as np from utils.paths import path_downloads, path_metadata similarity_human = np.loadtxt(path_downloads/'marg_smat_4-221-6.txt') path_similarity_human = path_metadata/'imagenet_class_similarity_human.txt' np.savetxt(path_similarity_human, similarity_human, fmt='%.18f')
40.714286
75
0.838596
43
285
5.209302
0.55814
0.334821
0.169643
0
0
0
0
0
0
0
0
0.026316
0.066667
285
6
76
47.5
0.815789
0
0
0
0
0
0.214035
0.196491
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2c381c1f49f295709124e1dbbdbed4d6dd700baa
178
py
Python
simulation/intersection/FlowCharacteristic.py
salinsiim/petssa-simulation
8f0f128d462831f86664bb8d246f2c7b659a0b8d
[ "MIT" ]
null
null
null
simulation/intersection/FlowCharacteristic.py
salinsiim/petssa-simulation
8f0f128d462831f86664bb8d246f2c7b659a0b8d
[ "MIT" ]
null
null
null
simulation/intersection/FlowCharacteristic.py
salinsiim/petssa-simulation
8f0f128d462831f86664bb8d246f2c7b659a0b8d
[ "MIT" ]
null
null
null
import dataclasses as dc @dc.dataclass(unsafe_hash=True) class FlowCharacteristic: id: int density: int density_in_dgreen: int lv_speed: float lv_dist: int
16.181818
31
0.719101
25
178
4.92
0.76
0.162602
0
0
0
0
0
0
0
0
0
0
0.219101
178
10
32
17.8
0.884892
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.125
0
0.875
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
2c479c5cdda903658ef3aba64a90868984ccddd1
1,625
py
Python
MapService/service/map_service_common.py
Devin0xFFFFFF/singed-feathers
747eef56fb3ba2a73cb7ba851462894efeddd00b
[ "BSD-3-Clause" ]
1
2017-06-20T15:19:40.000Z
2017-06-20T15:19:40.000Z
MapService/service/map_service_common.py
Devin0xFFFFFF/singed-feathers
747eef56fb3ba2a73cb7ba851462894efeddd00b
[ "BSD-3-Clause" ]
3
2019-02-13T16:05:25.000Z
2019-02-15T03:31:06.000Z
MapService/service/map_service_common.py
Devin0xFFFFFF/singed-feathers
747eef56fb3ba2a73cb7ba851462894efeddd00b
[ "BSD-3-Clause" ]
null
null
null
import json import uuid import time import boto3 import decimal MAP_ID = "MapID" MAP_NAME = "MapName" CREATOR_NAME = "CreatorName" CREATION_TIME = "CreationTime" MAP_TYPE = "MapType" SERIALIZED_MAP_DATA = "SerializedMapData" MAP_TABLE_NAME = 'SingedFeathersMaps' MAP_BUCKET_NAME = 'singed-feathers-maps' dynamo = boto...
22.887324
104
0.722462
237
1,625
4.691983
0.35443
0.043165
0.035072
0.03777
0.111511
0.066547
0.066547
0.066547
0.066547
0.066547
0
0.011577
0.149538
1,625
70
105
23.214286
0.793054
0.032615
0
0
0
0
0.146497
0.030573
0
0
0
0
0
1
0.244444
false
0
0.111111
0.177778
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2c47d3ea3a6b5079c4f7bde7194a626fecd57f85
1,142
py
Python
api/cartoon/serializer.py
zaubermaerchen/imas_sc_api
856c9909783f8d2455b8c5b893397acf29f71ce5
[ "MIT" ]
6
2019-06-01T08:01:54.000Z
2020-09-14T04:22:26.000Z
api/cartoon/serializer.py
zaubermaerchen/imas_sc_api
856c9909783f8d2455b8c5b893397acf29f71ce5
[ "MIT" ]
1
2020-01-05T04:36:46.000Z
2020-01-05T04:36:46.000Z
api/cartoon/serializer.py
zaubermaerchen/imas_sc_api
856c9909783f8d2455b8c5b893397acf29f71ce5
[ "MIT" ]
1
2019-08-20T07:21:59.000Z
2019-08-20T07:21:59.000Z
# coding: utf-8 from rest_framework import serializers from data.models.cartoon import Cartoon class SearchSerializer(serializers.ModelSerializer): characters = serializers.SerializerMethodField(read_only=True) thumbnail_hash = serializers.SerializerMethodField(read_only=True) image_hash = serializers.Ser...
27.853659
74
0.650613
126
1,142
5.698413
0.349206
0.090529
0.200557
0.222841
0.380223
0.25766
0.086351
0
0
0
0
0.004773
0.2662
1,142
40
75
28.55
0.852029
0.011384
0
0.125
0
0
0.063886
0
0
0
0
0
0
1
0.125
false
0
0.0625
0.125
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
2c67562f32ddbb12c1fb3c82b60a371df82bf642
1,374
py
Python
xknx/devices/__init__.py
phbaer/xknx
00b7cd4bda79d8bd6f8408a3596ab77a644b6c35
[ "MIT" ]
null
null
null
xknx/devices/__init__.py
phbaer/xknx
00b7cd4bda79d8bd6f8408a3596ab77a644b6c35
[ "MIT" ]
null
null
null
xknx/devices/__init__.py
phbaer/xknx
00b7cd4bda79d8bd6f8408a3596ab77a644b6c35
[ "MIT" ]
null
null
null
"""Module for handling devices like Lights, Switches or Covers.""" # flake8: noqa from .action import Action, ActionBase, ActionCallback from .binary_sensor import BinarySensor, BinarySensorState from .climate import Climate from .climate_mode import ClimateMode from .cover import Cover from .datetime import DateTime, ...
42.9375
73
0.871179
169
1,374
6.863905
0.390533
0.112069
0.168103
0.034483
0
0
0
0
0
0
0
0.005641
0.096798
1,374
31
74
44.322581
0.929089
0.053857
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
2c7974c74f71b0d2e3106e5b9fe5ba7811104997
509
py
Python
drf_pdf_renderer/templatetags/pdf_tags.py
shinneider/drf-pdf-renderer
59e257ca4539d3c81cd02dffff21cb3c40840bd4
[ "MIT" ]
2
2021-11-17T02:06:47.000Z
2021-11-17T15:10:52.000Z
drf_pdf_renderer/templatetags/pdf_tags.py
shinneider/drf-pdf-renderer
59e257ca4539d3c81cd02dffff21cb3c40840bd4
[ "MIT" ]
null
null
null
drf_pdf_renderer/templatetags/pdf_tags.py
shinneider/drf-pdf-renderer
59e257ca4539d3c81cd02dffff21cb3c40840bd4
[ "MIT" ]
null
null
null
from datetime import datetime from django import template from django.template.defaultfilters import date as date_filter register = template.Library() @register.filter def isodate(value, arg): return date_filter(datetime.strptime(value, "%Y-%m-%d").date(), arg) if value else '' @register.filter def format_cp...
22.130435
89
0.701375
67
509
5.283582
0.462687
0.118644
0.096045
0
0
0
0
0
0
0
0
0.004525
0.131631
509
22
90
23.136364
0.79638
0
0
0.153846
0
0
0.076621
0.049116
0
0
0
0
0
1
0.230769
false
0
0.230769
0.230769
0.692308
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
2ca895949d1eac300e9d0aa3fb0d78233815063d
2,330
py
Python
test/test_plugins/test_gif.py
fenwar/limbo
a6e42ad90daa3691c2dce846023662e0a650171b
[ "MIT" ]
null
null
null
test/test_plugins/test_gif.py
fenwar/limbo
a6e42ad90daa3691c2dce846023662e0a650171b
[ "MIT" ]
1
2018-10-29T20:23:38.000Z
2018-10-29T20:23:38.000Z
test/test_plugins/test_gif.py
fenwar/limbo
a6e42ad90daa3691c2dce846023662e0a650171b
[ "MIT" ]
1
2018-09-19T08:36:42.000Z
2018-09-19T08:36:42.000Z
# -*- coding: UTF-8 -*- import json import os import sys import limbo import vcr DIR = os.path.dirname(os.path.realpath(__file__)) sys.path.insert(0, os.path.join(DIR, '../../limbo/plugins')) from gif import on_message # The set of valid gifs given the bananas fixture bananas_gifs = ['http://byt.wpengine.netdna-cdn...
64.722222
1,422
0.73691
346
2,330
4.893064
0.537572
0.066155
0.029533
0.030124
0.135263
0.135263
0.063792
0.063792
0.063792
0.063792
0
0.068595
0.080258
2,330
35
1,423
66.571429
0.721419
0.048498
0
0.083333
0
0.416667
0.670131
0.027113
0
0
0
0
0.041667
1
0.125
false
0
0.25
0.041667
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2caabcdfa1df13909a891b8c234138f18d0413b1
1,156
py
Python
Portal.py
dragonfly-ai/MineCraft-pi-py-pie
333c171170852332f0bfc4bddc9650e2b5e9dcb8
[ "Apache-2.0" ]
null
null
null
Portal.py
dragonfly-ai/MineCraft-pi-py-pie
333c171170852332f0bfc4bddc9650e2b5e9dcb8
[ "Apache-2.0" ]
null
null
null
Portal.py
dragonfly-ai/MineCraft-pi-py-pie
333c171170852332f0bfc4bddc9650e2b5e9dcb8
[ "Apache-2.0" ]
null
null
null
from first import * import json def makePortal(v = mc.player.getTilePos(), ew = True): ns = not ew mc.setBlock(v + Vec3(-ew,-2,-ns),49, 0) mc.setBlock(v + Vec3(0,-2,0),49, 0) mc.setBlock(v + Vec3(ew,-2,ns),49, 0) mc.setBlock(v + Vec3(-ew,-1,-ns),49, 0) mc.setBlock(v + Vec3(ew,-1,ns),49, 0) ...
26.883721
54
0.529412
207
1,156
2.937198
0.256039
0.246711
0.253289
0.320724
0.472039
0.472039
0.472039
0.472039
0.435855
0.435855
0
0.112009
0.250865
1,156
43
55
26.883721
0.590069
0.265571
0
0
0
0
0.005995
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.227273
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
2cb4677b140ec958ec1543ba89fc967bb7a0d714
1,990
py
Python
tests/test_reactiongraph.py
bad-ants-fleet/crnsimulator
9f74ec8ee54b34ac1b9c6b9323eaf980f41092a1
[ "MIT" ]
2
2019-02-20T23:10:44.000Z
2019-11-07T06:07:25.000Z
tests/test_reactiongraph.py
bad-ants-fleet/crnsimulator
9f74ec8ee54b34ac1b9c6b9323eaf980f41092a1
[ "MIT" ]
1
2020-11-13T17:40:06.000Z
2020-11-13T17:40:06.000Z
tests/test_reactiongraph.py
bad-ants-fleet/crnsimulator
9f74ec8ee54b34ac1b9c6b9323eaf980f41092a1
[ "MIT" ]
1
2017-08-21T03:35:39.000Z
2017-08-21T03:35:39.000Z
# # Unittests for crnsimulator.reactiongraph # # Written by Stefan Badelt (badelt@caltech.edu). # import unittest from crnsimulator.reactiongraph import ReactionGraph, ReactionNode class Test_ReactionGraph(unittest.TestCase): def setUp(self): self.backup = ReactionNode.rid ReactionNode.rid = 0 ...
35.535714
139
0.517588
243
1,990
4.176955
0.27572
0.033498
0.186207
0.203941
0.51133
0.462069
0.412808
0.412808
0.380296
0.380296
0
0.020449
0.238191
1,990
55
140
36.181818
0.649077
0.309548
0
0.428571
0
0
0.030951
0
0
0
0
0.018182
0.392857
1
0.107143
false
0
0.071429
0
0.214286
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
1
0
0
0
0
0
0
0
0
0
0
3
e2bb9649c510fdbda7b68bd6cc0d423405d83855
102
py
Python
app/constants/request_status.py
joelbcastillo/NYCOpenRecords
001dfa21cc33d75a9067cae78752c5ba5734718b
[ "Apache-2.0" ]
37
2016-01-21T18:33:56.000Z
2021-10-24T01:43:20.000Z
app/constants/request_status.py
CityOfNewYork/NYCOpenRecords
476a236a573e6f3a2f96c6537a30ee27b2bd3a2b
[ "Apache-2.0" ]
179
2016-01-21T21:33:31.000Z
2022-02-15T21:31:35.000Z
app/constants/request_status.py
joelbcastillo/NYCOpenRecords
001dfa21cc33d75a9067cae78752c5ba5734718b
[ "Apache-2.0" ]
13
2017-05-19T17:27:31.000Z
2020-07-05T00:55:29.000Z
OPEN = 'Open' IN_PROGRESS = 'In Progress' DUE_SOON = 'Due Soon' OVERDUE = 'Overdue' CLOSED = 'Closed'
17
27
0.686275
14
102
4.857143
0.5
0.294118
0
0
0
0
0
0
0
0
0
0
0.166667
102
5
28
20.4
0.8
0
0
0
0
0
0.352941
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e2c760da25a444bd678cf6c08d39edcf9b466b9e
30
py
Python
src/beatsearch/app/__init__.py
Tomasito665/beatsearch
315114a129a87a5553217b27ab025862b63ca9c1
[ "MIT" ]
2
2018-03-29T08:58:37.000Z
2019-03-03T03:49:50.000Z
src/beatsearch/app/__init__.py
Tomasito665/beatsearch
315114a129a87a5553217b27ab025862b63ca9c1
[ "MIT" ]
null
null
null
src/beatsearch/app/__init__.py
Tomasito665/beatsearch
315114a129a87a5553217b27ab025862b63ca9c1
[ "MIT" ]
null
null
null
__all__ = ['control', 'view']
15
29
0.6
3
30
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.133333
30
1
30
30
0.538462
0
0
0
0
0
0.366667
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
e2cb7f26d970962889bd364f874e65d8cef0c28a
87
py
Python
resources/lib/govictory/api_collection.py
Victory-Channel/kodi-addon-victory-channel
6672cb6f96d6986986064b7472da149895d1b551
[ "MIT" ]
1
2020-03-01T22:12:12.000Z
2020-03-01T22:12:12.000Z
resources/lib/govictory/api_collection.py
Victory-Channel/kodi-addon-victory-channel
6672cb6f96d6986986064b7472da149895d1b551
[ "MIT" ]
4
2020-03-01T13:12:57.000Z
2021-03-31T22:01:08.000Z
resources/lib/f1/api_collection.py
jaylinski/kodi-addon-formula1
c67980131fe5385c8d7dc6c4c3ec11d7b79a63e0
[ "MIT" ]
null
null
null
class ApiCollection: items = [] limit = 10 offset = 0 next_href = None
14.5
20
0.574713
10
87
4.9
1
0
0
0
0
0
0
0
0
0
0
0.052632
0.344828
87
5
21
17.4
0.807018
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
e2cc590fd869fe838603b4fb0f06bb4f9033009e
567
py
Python
ImageProcessing/Chipdesc/f85.py
Datamuseum-DK/R1000.HwDoc
cb0841540a4ac184a08957daac1a470b6916a663
[ "BSD-2-Clause" ]
null
null
null
ImageProcessing/Chipdesc/f85.py
Datamuseum-DK/R1000.HwDoc
cb0841540a4ac184a08957daac1a470b6916a663
[ "BSD-2-Clause" ]
null
null
null
ImageProcessing/Chipdesc/f85.py
Datamuseum-DK/R1000.HwDoc
cb0841540a4ac184a08957daac1a470b6916a663
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 ''' 74x85 - 4-Bit Magnitude Comparator ''' from Chipdesc.chip import Chip class F85(Chip): ''' 74x85 - 4-Bit Magnitude Comparator ''' symbol_name = "F85" checked = "IOC 0070" symbol = ''' +-------+ 15| |4 -->+A0 E>+<-- 13| |3 -->+A1 E=+<-- 12| |2...
14.175
46
0.38448
66
567
3.151515
0.712121
0.028846
0.086538
0.173077
0.269231
0
0
0
0
0
0
0.133152
0.35097
567
39
47
14.538462
0.432065
0.164021
0
0.071429
0
0
0.659436
0
0
0
0
0
0
1
0
false
0
0.035714
0
0.178571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e2ec448001f3def9594b396b47a5d48bd777e4c9
100
py
Python
camtest.py
thomasphillips3/PsyCam
ed26c47668bfd6a8c948755aacea0ecb9c98bca7
[ "Apache-2.0" ]
9
2016-12-22T14:10:48.000Z
2021-12-02T23:53:29.000Z
camtest.py
JoBergs/psycam
8fe127a88730b8f368cc82ab4c47996f0649a802
[ "Apache-2.0" ]
2
2019-03-06T04:18:27.000Z
2021-03-05T15:05:19.000Z
camtest.py
JoBergs/psycam
8fe127a88730b8f368cc82ab4c47996f0649a802
[ "Apache-2.0" ]
3
2017-04-11T16:37:06.000Z
2020-07-19T15:33:20.000Z
import picamera from time import sleep camera = picamera.PiCamera() camera.capture('image1.jpg')
12.5
28
0.77
13
100
5.923077
0.692308
0
0
0
0
0
0
0
0
0
0
0.011494
0.13
100
7
29
14.285714
0.873563
0
0
0
0
0
0.10101
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
e2fb6dcd737febd2e1891f0cb4d4924cc8f37ddc
130
py
Python
ETL/loadJSON.py
TeachingData/JSG-basic-Backend
315329839e5ebdb4ab61ac940b5fb787f851cf99
[ "MIT" ]
null
null
null
ETL/loadJSON.py
TeachingData/JSG-basic-Backend
315329839e5ebdb4ab61ac940b5fb787f851cf99
[ "MIT" ]
null
null
null
ETL/loadJSON.py
TeachingData/JSG-basic-Backend
315329839e5ebdb4ab61ac940b5fb787f851cf99
[ "MIT" ]
null
null
null
from ETL.FileParsers.jsonparser import JSONParser jp = JSONParser() jp.file = 'student_poll.json' jp.parse_file() jp.print_json()
21.666667
49
0.784615
19
130
5.210526
0.631579
0.242424
0
0
0
0
0
0
0
0
0
0
0.092308
130
6
50
21.666667
0.838983
0
0
0
0
0
0.129771
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e2fec8e6c8cb0e3afb810d0218ea9e6cd77d3944
154,821
py
Python
pysnmp-with-texts/Nortel-MsCarrier-MscPassport-IpxMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/Nortel-MsCarrier-MscPassport-IpxMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/Nortel-MsCarrier-MscPassport-IpxMIB.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 Nortel-MsCarrier-MscPassport-IpxMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-IpxMIB # Produced by pysmi-0.3.4 at Wed May 1 14:30:40 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Usi...
171.832408
12,861
0.796449
18,099
154,821
6.812918
0.056522
0.055471
0.097075
0.010089
0.609828
0.489607
0.472942
0.459601
0.43442
0.417276
0
0.057612
0.094244
154,821
900
12,862
172.023333
0.821707
0.002351
0
0
0
0.116461
0.349509
0.058078
0
0
0
0
0
1
0
false
0.075028
0.011198
0
0.011198
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
390b5f319e88358c2a2c7421f97a84752c42e5e4
82
py
Python
pywren_ibm_cloud/libs/glob2/__init__.py
class-euproject/lithops
acf381817673c29db0e9e143001029357890a39b
[ "Apache-2.0" ]
2
2019-09-24T18:56:27.000Z
2021-02-07T04:58:49.000Z
pywren_ibm_cloud/libs/glob2/__init__.py
class-euproject/lithops
acf381817673c29db0e9e143001029357890a39b
[ "Apache-2.0" ]
20
2019-02-16T04:21:13.000Z
2019-03-09T21:21:21.000Z
pywren_ibm_cloud/libs/glob2/__init__.py
class-euproject/lithops
acf381817673c29db0e9e143001029357890a39b
[ "Apache-2.0" ]
3
2019-11-15T05:16:32.000Z
2021-09-28T21:28:29.000Z
from __future__ import absolute_import from .impl import * __version__ = (0, 6)
13.666667
38
0.756098
11
82
4.818182
0.727273
0
0
0
0
0
0
0
0
0
0
0.029412
0.170732
82
5
39
16.4
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
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
3916c0019ccad7b2114c9b9bdfb905864d071e7a
374
py
Python
pystratis/api/interop/requestmodels/balancerequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
8
2021-06-30T20:44:22.000Z
2021-12-07T14:42:22.000Z
pystratis/api/interop/requestmodels/balancerequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
2
2021-07-01T11:50:18.000Z
2022-01-25T18:39:49.000Z
pystratis/api/interop/requestmodels/balancerequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
4
2021-07-01T04:36:42.000Z
2021-09-17T10:54:19.000Z
from pydantic import Field from pystratis.api import Model from pystratis.core import DestinationChain from pystratis.core.types import Address class BalanceRequest(Model): """A pydantic model of a balance request.""" destination_chain: DestinationChain = Field(alias='destinationChain') """The destination...
28.769231
73
0.745989
44
374
6.318182
0.545455
0.140288
0.122302
0
0
0
0
0
0
0
0
0
0.157754
374
12
74
31.166667
0.88254
0.101604
0
0
0
0
0.05694
0
0
0
0
0
0
1
0
true
0
0.571429
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
3939f56689bdc8fc224c14151ad7f2fb4a672d37
609
py
Python
Game/duckhunt/game/registry.py
nenad-misic/DuckHunt
5c4cb48d886b0fda73bd16ca87c42996531bbc59
[ "MIT" ]
null
null
null
Game/duckhunt/game/registry.py
nenad-misic/DuckHunt
5c4cb48d886b0fda73bd16ca87c42996531bbc59
[ "MIT" ]
11
2020-03-24T17:58:26.000Z
2022-03-12T00:09:57.000Z
Game/duckhunt/game/registry.py
nenad-misic/DuckHunt
5c4cb48d886b0fda73bd16ca87c42996531bbc59
[ "MIT" ]
null
null
null
ORIG_W, ORIG_H = (800, 500) RENDER_W, RENDER_H = ORIG_W, ORIG_H def adjwidth (x): return (RENDER_W * x) / ORIG_W def adjheight (y): return (RENDER_H * y) / ORIG_H def adjpos (x, y): return (adjwidth (x), adjheight (y)) def adjrect (a, b, c, d): return (adjwidth (a), adjheight (b), adjwidth (c), adjw...
21.75
68
0.596059
90
609
3.877778
0.333333
0.137536
0.051576
0.057307
0
0
0
0
0
0
0
0.013544
0.272578
609
27
69
22.555556
0.774266
0
0
0
0
0
0
0
0
0
0
0
0
1
0.35
false
0
0
0.2
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
394c3940c843ab0d3f89bf50853bb91772bccef6
281
py
Python
openregistry/assets/core/migration.py
EBRD-ProzorroSale/openregistry.assets.core
e4ce9a0de9bcd9ae19ea3350c5c7f1f2bd5340e7
[ "Apache-2.0" ]
null
null
null
openregistry/assets/core/migration.py
EBRD-ProzorroSale/openregistry.assets.core
e4ce9a0de9bcd9ae19ea3350c5c7f1f2bd5340e7
[ "Apache-2.0" ]
52
2017-08-01T16:12:27.000Z
2019-02-22T14:22:57.000Z
openregistry/assets/core/migration.py
EBRD-ProzorroSale/openregistry.assets.core
e4ce9a0de9bcd9ae19ea3350c5c7f1f2bd5340e7
[ "Apache-2.0" ]
12
2017-07-31T09:15:51.000Z
2018-09-14T11:02:27.000Z
# -*- coding: utf-8 -*- import logging from openprocurement.api.migration import ( BaseMigrationsRunner, # noqa: forwarded import BaseMigrationStep, # noqa: forwarded import ) LOGGER = logging.getLogger(__name__) def migrate_data(registry, destination=None): pass
21.615385
51
0.736655
29
281
6.965517
0.793103
0.128713
0.188119
0
0
0
0
0
0
0
0
0.004255
0.163701
281
12
52
23.416667
0.855319
0.238434
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0.125
0.25
0
0.375
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
1a36bb577796f0cb4a6a8ce12ca3e82cee1ce472
135
py
Python
icclim/__init__.py
larsbarring/icclim
f3685c77a1a3aaff58b0d05609380c9387e9aa99
[ "Apache-2.0" ]
null
null
null
icclim/__init__.py
larsbarring/icclim
f3685c77a1a3aaff58b0d05609380c9387e9aa99
[ "Apache-2.0" ]
null
null
null
icclim/__init__.py
larsbarring/icclim
f3685c77a1a3aaff58b0d05609380c9387e9aa99
[ "Apache-2.0" ]
null
null
null
# keep line below to expose "main" content in icclim package namespace from .main import index, indice, indices __version__ = "5.0.2"
27
70
0.755556
21
135
4.666667
0.952381
0
0
0
0
0
0
0
0
0
0
0.026549
0.162963
135
4
71
33.75
0.840708
0.503704
0
0
0
0
0.076923
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
1a3857fd62f36c8cbbaba1098577396963c7e7e0
131
py
Python
Part1/9_recursively_digit_count.py
SalatielBairros/CC_Python_Exercises
e37c93cef6009a9b816c206d35e1d59c45e6e565
[ "MIT" ]
null
null
null
Part1/9_recursively_digit_count.py
SalatielBairros/CC_Python_Exercises
e37c93cef6009a9b816c206d35e1d59c45e6e565
[ "MIT" ]
null
null
null
Part1/9_recursively_digit_count.py
SalatielBairros/CC_Python_Exercises
e37c93cef6009a9b816c206d35e1d59c45e6e565
[ "MIT" ]
null
null
null
def count_digits(n): if(n == 0): return n if(n < 0): n *= -1 if(n < 10): return 1 return 1 + count_digits(n/10)
16.375
31
0.51145
25
131
2.6
0.36
0.138462
0.369231
0.153846
0
0
0
0
0
0
0
0.1
0.312977
131
8
31
16.375
0.622222
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.5
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
1a403c0ba524e6ad95d895ab758b295af32e9b5f
1,794
py
Python
easier/item.py
robdmc/easier
27210dfc48a40416d1a0ab098b6a62fe9b17013a
[ "MIT" ]
4
2019-04-11T11:00:13.000Z
2021-12-13T18:46:05.000Z
easier/item.py
robdmc/easier
27210dfc48a40416d1a0ab098b6a62fe9b17013a
[ "MIT" ]
29
2017-12-27T15:54:06.000Z
2021-02-02T01:32:34.000Z
easier/item.py
robdmc/easier
27210dfc48a40416d1a0ab098b6a62fe9b17013a
[ "MIT" ]
2
2018-05-09T13:38:55.000Z
2019-11-28T11:10:10.000Z
from copy import deepcopy class Item(object): """ Item is a simple container class that sets its attributes from constructor kwargs. It supports both object and dictionary access to its attributes. So, for example, all of the following statements are supported. If the value associated with a key...
27.6
78
0.613155
235
1,794
4.357447
0.404255
0.085938
0.053711
0.052734
0
0
0
0
0
0
0
0.002338
0.284838
1,794
64
79
28.03125
0.795791
0.32553
0
0
0
0
0.009516
0
0
0
0
0
0
1
0.333333
false
0
0.030303
0.212121
0.69697
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
1a49d8a951f5371de63ebed74b407992f47caebe
4,773
py
Python
test/integration/admin/test_call.py
chenrui333/cartridge-cli
98f361c2a44bc003ff2838fc9b20bd5fa2b4a876
[ "BSD-2-Clause" ]
null
null
null
test/integration/admin/test_call.py
chenrui333/cartridge-cli
98f361c2a44bc003ff2838fc9b20bd5fa2b4a876
[ "BSD-2-Clause" ]
null
null
null
test/integration/admin/test_call.py
chenrui333/cartridge-cli
98f361c2a44bc003ff2838fc9b20bd5fa2b4a876
[ "BSD-2-Clause" ]
null
null
null
from utils import run_command_and_get_output from utils import get_log_lines def test_call_many_args(cartridge_cmd, custom_admin_running_instances, tmpdir): project = custom_admin_running_instances['project'] run_dir = project.get_run_dir() base_cmd = [ cartridge_cmd, 'admin', '--name', p...
26.966102
82
0.614917
625
4,773
4.416
0.1728
0.06087
0.091304
0.136957
0.756522
0.711957
0.711957
0.673188
0.673188
0.673188
0
0.005674
0.261471
4,773
176
83
27.119318
0.772199
0.019275
0
0.569343
0
0
0.200813
0
0
0
0
0
0.138686
1
0.051095
false
0
0.014599
0
0.065693
0.021898
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
1a4f3e0fc73ef6ec0a4138c875ec38197ee9a3b5
1,046
py
Python
py/testdir_single_jvm/test_summary2_quantgen.py
vkuznet/h2o
e08f7014f228cbaecfb21f57379970e6a3ac0756
[ "Apache-2.0" ]
null
null
null
py/testdir_single_jvm/test_summary2_quantgen.py
vkuznet/h2o
e08f7014f228cbaecfb21f57379970e6a3ac0756
[ "Apache-2.0" ]
null
null
null
py/testdir_single_jvm/test_summary2_quantgen.py
vkuznet/h2o
e08f7014f228cbaecfb21f57379970e6a3ac0756
[ "Apache-2.0" ]
null
null
null
print "Nothing to see here, move along." # here's the perfect way to do tests for quantile algos # # Pick a target data value T # Pick a quantile threshod Q (0-1) # Pick a dataset size M # # then generate (Q*M) data points < your target value with some distribution (complicated is fine..i.e. multiple clusters) # (th...
36.068966
142
0.728489
177
1,046
4.305085
0.60452
0.019685
0.059055
0.052493
0.228346
0.16273
0.11811
0.11811
0.11811
0
0
0.004768
0.197897
1,046
28
143
37.357143
0.903457
0.908222
0
0
0
0
0.470588
0
0
0
0
0
0
0
null
null
0
0
null
null
1
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
1
0
0
0
0
0
0
1
0
3
1a56d792e840ebd035997ca7a6b9003a41915934
262
py
Python
week7/practice7_3.py
INYEONGKIM/programming-fundamentals
498fda3cd6cabf5eb3dcc6d8f098d5584bfdddb5
[ "MIT" ]
null
null
null
week7/practice7_3.py
INYEONGKIM/programming-fundamentals
498fda3cd6cabf5eb3dcc6d8f098d5584bfdddb5
[ "MIT" ]
null
null
null
week7/practice7_3.py
INYEONGKIM/programming-fundamentals
498fda3cd6cabf5eb3dcc6d8f098d5584bfdddb5
[ "MIT" ]
null
null
null
def get_level(): level = input("๋‚œ์ด๋„ (์ƒ์ค‘ํ•˜) ์ค‘์—์„œ ํ•˜๋‚˜ ์„ ํƒํ•˜์—ฌ ์ž…๋ ฅ: ") while level not in {"์ƒ","์ค‘","ํ•˜"}: level = input("๋‚œ์ด๋„ (์ƒ์ค‘ํ•˜) ์ค‘์—์„œ ํ•˜๋‚˜ ์„ ํƒํ•˜์—ฌ ์ž…๋ ฅ: ") if level=="ํ•˜": return 6 if level == "์ค‘": return 8 if level == "์ƒ": return 10 print(get_level())
32.75
51
0.549618
44
262
3.227273
0.5
0.147887
0.183099
0.225352
0.380282
0.380282
0.380282
0.380282
0
0
0
0.020725
0.263359
262
8
52
32.75
0.715026
0
0
0.25
0
0
0.220532
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.125
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
1a57e9fb7a7c33a1b960b77b07442ae74b353e4b
255
py
Python
cms/utils.py
universalcore/unicore-cms
f68385fe742eb7efcce0d8f04f42f26ccf05d624
[ "BSD-2-Clause" ]
5
2015-06-03T00:31:20.000Z
2017-07-26T21:24:24.000Z
cms/utils.py
universalcore/unicore-cms
f68385fe742eb7efcce0d8f04f42f26ccf05d624
[ "BSD-2-Clause" ]
50
2015-01-12T16:17:20.000Z
2016-05-08T13:49:06.000Z
cms/utils.py
universalcore/unicore-cms
f68385fe742eb7efcce0d8f04f42f26ccf05d624
[ "BSD-2-Clause" ]
null
null
null
default_excluded_paths = ['/health/', '/api/notify/'] def excluded_path(path, excluded_paths): excl_paths = excluded_paths.split(',') + default_excluded_paths return ( path and any([p for p in excl_paths if path.startswith(p)]))
28.333333
67
0.67451
34
255
4.794118
0.529412
0.319018
0.245399
0
0
0
0
0
0
0
0
0
0.192157
255
8
68
31.875
0.791262
0
0
0
0
0
0.082353
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
0
0
0
null
1
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
1a748f756af5298722f0cb63df3e2b3552f234db
275
py
Python
orchestrator/constant.py
DhivakharVenkatachalam/snet-marketplace-service
6aee606bc9b00d418caeae26c64deae03792e0ce
[ "MIT" ]
14
2019-02-12T09:14:52.000Z
2021-03-11T18:42:22.000Z
orchestrator/constant.py
prashantramangupta/snet-marketplace-service
7c293054e4b0207deefecc46defd743c064472a4
[ "MIT" ]
1,079
2019-01-10T04:31:24.000Z
2022-03-29T06:16:42.000Z
orchestrator/constant.py
prashantramangupta/snet-marketplace-service
7c293054e4b0207deefecc46defd743c064472a4
[ "MIT" ]
20
2018-12-18T13:06:41.000Z
2021-09-17T11:13:01.000Z
from enum import Enum REQUIRED_KEYS_FOR_LAMBDA_EVENT = ["path", "httpMethod"] class OrganizationType(Enum): ORGANIZATION = "organization" INDIVIDUAL = "individual" class VerificationType(Enum): DUNS = "DUNS" JUMIO = "JUMIO" INDIVIDUAL = "INDIVIDUAL"
18.333333
55
0.705455
27
275
7.037037
0.62963
0.210526
0
0
0
0
0
0
0
0
0
0
0.189091
275
14
56
19.642857
0.852018
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.888889
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
1a7863525333dc28717d78f3c036918bb715162a
426
py
Python
platform/micro-services/search/source/search/engine/search_engine_factory.py
keithachorn-intel/peoples-speech
b7623488dff36d343f8f5a6ead0a5a3a82f723bd
[ "Apache-2.0" ]
62
2021-03-07T06:15:48.000Z
2022-03-24T18:58:57.000Z
platform/micro-services/search/source/search/engine/search_engine_factory.py
keithachorn-intel/peoples-speech
b7623488dff36d343f8f5a6ead0a5a3a82f723bd
[ "Apache-2.0" ]
59
2021-02-26T21:37:03.000Z
2022-03-24T16:57:12.000Z
platform/micro-services/search/source/search/engine/search_engine_factory.py
keithachorn-intel/peoples-speech
b7623488dff36d343f8f5a6ead0a5a3a82f723bd
[ "Apache-2.0" ]
9
2021-02-26T21:34:11.000Z
2022-02-09T04:00:50.000Z
from search.engine.existing_dataset_search_engine import ExistingDatasetSearchEngine class SearchEngineFactory: def __init__(self, config): self.config = config def create(self): if self.config["search"]["engine"] == "ExistingDatasetSearchEngine": return ExistingDatasetSearchEngin...
28.4
87
0.713615
42
426
7.071429
0.5
0.20202
0.107744
0.148148
0
0
0
0
0
0
0
0
0.187793
426
14
88
30.428571
0.858382
0
0
0
0
0
0.189125
0.06383
0
0
0
0
0.125
1
0.25
false
0
0.125
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
1
0
0
0
0
1
0
0
3
1a87e6ce761c3296a380e85d8ff5c92ce5dbd3f5
284
py
Python
arquivos-py/CursoEmVideo_Python3_AULAS/aula-9b.py
oliveiralecca/cursoemvideo-python3
e0a3e27d73a49ce0e72ae4faa9ac0c6da9811d2e
[ "MIT" ]
2
2021-07-14T13:22:36.000Z
2021-07-18T01:28:21.000Z
arquivos-py/CursoEmVideo_Python3_AULAS/aula-9b.py
oliveiralecca/cursoemvideo-python3
e0a3e27d73a49ce0e72ae4faa9ac0c6da9811d2e
[ "MIT" ]
2
2021-07-18T01:09:26.000Z
2021-07-18T01:30:23.000Z
arquivos-py/CursoEmVideo_Python3_AULAS/aula-9b.py
oliveiralecca/cursoemvideo-python3
e0a3e27d73a49ce0e72ae4faa9ac0c6da9811d2e
[ "MIT" ]
null
null
null
print("""Welcome! Are you completely new to programming? about why and how to get started with Python. Fortunately an experienced programmer in any programming language (whatever it may be) can pick up Python very quickly. Its also easy for beginners to use and learn, so jump in!""")
56.8
61
0.785211
47
284
4.744681
0.87234
0
0
0
0
0
0
0
0
0
0
0
0.158451
284
5
61
56.8
0.933054
0
0
0
0
0
0.950877
0
0
0
0
0
0
1
0
true
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1a8a4ed13f758aa16a4559be33ed54199376141c
902
py
Python
src/pimpmydb/query_generator/query_generator.py
gurgy11/PimpMyDB
8ebc6cf153172bead500eb7caacbe885b3e08b3a
[ "MIT" ]
null
null
null
src/pimpmydb/query_generator/query_generator.py
gurgy11/PimpMyDB
8ebc6cf153172bead500eb7caacbe885b3e08b3a
[ "MIT" ]
null
null
null
src/pimpmydb/query_generator/query_generator.py
gurgy11/PimpMyDB
8ebc6cf153172bead500eb7caacbe885b3e08b3a
[ "MIT" ]
null
null
null
from ..tables import Table class QueryGenerator(): def __init__(self, table_name): self.table_name = table_name def generate_select_all_query(self): ''' Generates an SQL query that selects all records in a table ''' return "SELECT * FROM {table}".format(table=sel...
41
121
0.667406
121
902
4.77686
0.322314
0.093426
0.112457
0.098616
0.479239
0.190311
0.138408
0.138408
0
0
0
0.001451
0.236142
902
22
121
41
0.837446
0.241685
0
0
1
0
0.17594
0
0
0
0
0
0
1
0.4
false
0
0.1
0
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1a8c35118f78db0ee4143acbe339ec530f8703c5
303
py
Python
flint/nn/modules/__init__.py
Renovamen/tinyark
da536e8f8132ef531c5bef3feebd3178c1877fce
[ "MIT" ]
15
2021-02-08T16:01:52.000Z
2021-02-10T07:49:26.000Z
flint/nn/modules/__init__.py
Renovamen/tinyark
da536e8f8132ef531c5bef3feebd3178c1877fce
[ "MIT" ]
null
null
null
flint/nn/modules/__init__.py
Renovamen/tinyark
da536e8f8132ef531c5bef3feebd3178c1877fce
[ "MIT" ]
2
2021-05-10T06:40:45.000Z
2021-05-10T14:47:03.000Z
from .module import Module from .container import Sequential from .linear import Linear, Identity from .conv import Conv1d, Conv2d from .loss import * from .activations import * from .pooling import MaxPool1d, MaxPool2d from .dropout import Dropout from .flatten import Flatten from .fold import Unfold
27.545455
41
0.808581
41
303
5.97561
0.463415
0.081633
0
0
0
0
0
0
0
0
0
0.015385
0.141914
303
10
42
30.3
0.926923
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
1ac4c1b891a7f751a22c70635e12fab6d3d2aefe
144
py
Python
fpakman/core/constants.py
vinifmor/fpakman
a719991b8f7ecf366d44fdf074f5950767bdf121
[ "Zlib" ]
39
2019-06-15T08:27:12.000Z
2021-11-08T03:33:01.000Z
fpakman/core/constants.py
vinifmor/fpakman
a719991b8f7ecf366d44fdf074f5950767bdf121
[ "Zlib" ]
10
2019-06-16T12:16:19.000Z
2020-06-21T18:49:05.000Z
fpakman/core/constants.py
vinifmor/fpakman
a719991b8f7ecf366d44fdf074f5950767bdf121
[ "Zlib" ]
3
2019-08-01T12:38:46.000Z
2020-04-30T20:40:23.000Z
from pathlib import Path from fpakman import __app_name__ HOME_PATH = Path.home() CACHE_PATH = '{}/.cache/{}'.format(HOME_PATH, __app_name__)
20.571429
59
0.756944
21
144
4.571429
0.47619
0.145833
0
0
0
0
0
0
0
0
0
0
0.118056
144
6
60
24
0.755906
0
0
0
0
0
0.083333
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
1acaab9275a75ae1ca3abd0122452d5cfd8d8aa3
1,229
py
Python
polygon-area-calculator/shape_calculator.py
nobrearthur/python-fcc-projects
5519602762aa5cc61550a4b3b5e3ef630e5ae3ea
[ "MIT" ]
null
null
null
polygon-area-calculator/shape_calculator.py
nobrearthur/python-fcc-projects
5519602762aa5cc61550a4b3b5e3ef630e5ae3ea
[ "MIT" ]
null
null
null
polygon-area-calculator/shape_calculator.py
nobrearthur/python-fcc-projects
5519602762aa5cc61550a4b3b5e3ef630e5ae3ea
[ "MIT" ]
null
null
null
class Rectangle: def __init__(self, width, height): self.width = width self.height = height def set_width(self, new_width): self.width = new_width def set_height(self, new_height): self.height = new_height def get_area(self): return self.width * self.height ...
24.58
69
0.579333
161
1,229
4.173913
0.229814
0.133929
0.053571
0.059524
0.110119
0
0
0
0
0
0
0.010441
0.298617
1,229
49
70
25.081633
0.769142
0
0
0.057143
0
0
0.094386
0.061025
0
0
0
0
0
1
0.342857
false
0
0
0.171429
0.628571
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
1acaaecca9fa41a3c10e4d4c36511d6129df0540
593
py
Python
src/bel_resources/__init__.py
pybel/bel-resources
c02be74fa305d085f825ea7996ff9cf208588219
[ "MIT" ]
null
null
null
src/bel_resources/__init__.py
pybel/bel-resources
c02be74fa305d085f825ea7996ff9cf208588219
[ "MIT" ]
null
null
null
src/bel_resources/__init__.py
pybel/bel-resources
c02be74fa305d085f825ea7996ff9cf208588219
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Utilities for downloading, reading, and writing BEL script, namespace files, and annotation files.""" from .exc import EmptyResourceError, InvalidResourceError, MissingResourceError, ResourceError # noqa: F401 from .read_document import split_file_to_annotations_and_definitions # noqa: F4...
53.909091
108
0.804384
76
593
6.026316
0.513158
0.104803
0.131004
0.111354
0
0
0
0
0
0
0
0.036538
0.123103
593
10
109
59.3
0.844231
0.315346
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
46b91fe518b3dd8c03c994a1b89b21efeee90fdd
59
py
Python
problem/01000~09999/02789/2789.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-19T16:37:44.000Z
2019-04-19T16:37:44.000Z
problem/01000~09999/02789/2789.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-20T11:42:44.000Z
2019-04-20T11:42:44.000Z
problem/01000~09999/02789/2789.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
3
2019-04-19T16:37:47.000Z
2021-10-25T00:45:00.000Z
for i in input(): if i not in 'CAMBRIDGE': print(i,end='')
29.5
41
0.627119
12
59
3.083333
0.75
0
0
0
0
0
0
0
0
0
0
0
0.169492
59
2
41
29.5
0.755102
0
0
0
0
0
0.15
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
46ce2c17b4b158e49481eaeab258fc667bf4004e
400
py
Python
pysumma/hydroshare/resource.py
wknoben/pysumma
e118139c64f7c4c4d00e7ec80da869a935637987
[ "BSD-3-Clause" ]
9
2017-10-24T21:07:32.000Z
2021-11-18T22:03:05.000Z
pysumma/hydroshare/resource.py
wknoben/pysumma
e118139c64f7c4c4d00e7ec80da869a935637987
[ "BSD-3-Clause" ]
52
2018-02-03T20:15:11.000Z
2021-11-11T12:38:30.000Z
pysumma/hydroshare/resource.py
wknoben/pysumma
e118139c64f7c4c4d00e7ec80da869a935637987
[ "BSD-3-Clause" ]
19
2017-10-24T21:23:08.000Z
2021-07-21T21:41:55.000Z
class ResourceMetadata (object): def __init__(self, system_meta, science_meta): self.__dict__.update(science_meta) self.__dict__.update(system_meta) @property def url(self): return self.resource_url @property def abstract(self): return self.description @prop...
20
50
0.6525
47
400
5.191489
0.489362
0.135246
0.122951
0.155738
0.204918
0
0
0
0
0
0
0
0.255
400
19
51
21.052632
0.818792
0
0
0.230769
0
0
0.012563
0
0
0
0
0
0
1
0.307692
false
0
0
0.230769
0.615385
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
46f85f90ec66c719f21e7066cc2ddef07b443047
204
py
Python
src/Library/__init__.py
sswellington/deputa
8ba87e2b77a90572243960f5a6dd22cf939dc3e7
[ "MIT" ]
null
null
null
src/Library/__init__.py
sswellington/deputa
8ba87e2b77a90572243960f5a6dd22cf939dc3e7
[ "MIT" ]
null
null
null
src/Library/__init__.py
sswellington/deputa
8ba87e2b77a90572243960f5a6dd22cf939dc3e7
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Derivative make repository: Armadillo https://github.com/sswellington/armadillo/blob/main/src/Escavador/Library/Frame.py """ __version__ = '1.0' from .Frame import Frame
22.666667
86
0.735294
27
204
5.407407
0.888889
0
0
0
0
0
0
0
0
0
0
0.011111
0.117647
204
8
87
25.5
0.8
0.70098
0
0
0
0
0.061224
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
20036304df421df189bdf88d1e9b4ddab388af8a
321
py
Python
circews/functions/static.py
ratschlab/circEWS
b2b1f00dac4f5d46856a2c7abe2ca4f12d4c612d
[ "MIT" ]
34
2020-03-17T16:42:00.000Z
2022-03-29T15:53:24.000Z
circews/functions/static.py
ranxiao/circEWS
1e52880c268f8f763bbc16763131634ffc217153
[ "MIT" ]
3
2020-07-30T22:37:10.000Z
2021-08-10T00:02:30.000Z
circews/functions/static.py
ranxiao/circEWS
1e52880c268f8f763bbc16763131634ffc217153
[ "MIT" ]
14
2020-04-22T01:13:54.000Z
2021-11-27T20:23:41.000Z
import numpy as np def lookup_admission_time(pid, df_patient_full): ''' Looks up a proxy to admission time for a PID''' df_patient=df_patient_full[df_patient_full["PatientID"]==pid] if not df_patient.shape[0]==1: return None adm_time=np.array(df_patient["AdmissionTime"])[0] return adm_time...
29.181818
65
0.713396
52
321
4.153846
0.557692
0.25
0.180556
0
0
0
0
0
0
0
0
0.011364
0.17757
321
10
66
32.1
0.806818
0.137072
0
0
0
0
0.081784
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2018d3cb84f8b8a646fb337adfbd57e0888dd52e
1,232
py
Python
tests/test_logout.py
lorddaedra/django-magiclink
c91aec16c92522620d94dc1822dbd9c8e6e2915b
[ "MIT" ]
null
null
null
tests/test_logout.py
lorddaedra/django-magiclink
c91aec16c92522620d94dc1822dbd9c8e6e2915b
[ "MIT" ]
null
null
null
tests/test_logout.py
lorddaedra/django-magiclink
c91aec16c92522620d94dc1822dbd9c8e6e2915b
[ "MIT" ]
null
null
null
from __future__ import annotations import pytest from django.contrib.auth import get_user_model from django.urls import reverse from .fixtures import user # NOQA: F401 User = get_user_model() @pytest.mark.django_db def test_logout(client, user, settings): # NOQA: F811 client.force_login(user) url = rever...
30.8
64
0.742695
169
1,232
5.136095
0.236686
0.115207
0.078341
0.096774
0.752304
0.752304
0.752304
0.680876
0.672811
0.672811
0
0.02027
0.159091
1,232
39
65
31.589744
0.817568
0.025974
0
0.6
0
0
0.078595
0.018395
0
0
0
0
0.266667
1
0.066667
false
0
0.166667
0
0.233333
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
2019114773a0224c5c1099c683f9abb07fb5a0f9
172
py
Python
files/files_response.py
kuba2k2/spicetify-beat-saber-backend
1863ea1d4b1cd32ac893151218fe52a2410f7ab1
[ "MIT" ]
null
null
null
files/files_response.py
kuba2k2/spicetify-beat-saber-backend
1863ea1d4b1cd32ac893151218fe52a2410f7ab1
[ "MIT" ]
null
null
null
files/files_response.py
kuba2k2/spicetify-beat-saber-backend
1863ea1d4b1cd32ac893151218fe52a2410f7ab1
[ "MIT" ]
null
null
null
from typing import List from pydantic import BaseModel class FilesResponse(BaseModel): path: str dirs: List[str] files: List[str] pathsep: str
15.636364
32
0.662791
21
172
5.428571
0.619048
0.122807
0
0
0
0
0
0
0
0
0
0
0.273256
172
10
33
17.2
0.912
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
202c12172d56b80a96159d6fc846381b25ebbec9
930
py
Python
BiliGetStat.py
JinyuGuan/JINYU
94245e2f55944858a50aa30e341bc3f084db5b82
[ "Unlicense" ]
5
2018-04-02T07:13:15.000Z
2019-05-22T02:42:59.000Z
BiliGetStat.py
JinyuGuan/JINYU
94245e2f55944858a50aa30e341bc3f084db5b82
[ "Unlicense" ]
null
null
null
BiliGetStat.py
JinyuGuan/JINYU
94245e2f55944858a50aa30e341bc3f084db5b82
[ "Unlicense" ]
1
2019-11-06T03:25:59.000Z
2019-11-06T03:25:59.000Z
# coding: utf-8 # In[9]: #This script shows how to get bili video's statistic information by parsing json data from #http://api.bilibili.com/archive_stat/stat?aid=170001 import requests import json url = 'http://api.bilibili.com/archive_stat/stat?aid=' aid = '170001' def GetJsonText(av): DOWNLOAD_URL = url ...
20.666667
91
0.650538
126
930
4.674603
0.388889
0.162988
0.142615
0.178268
0.470289
0.470289
0.470289
0.470289
0.348048
0
0
0.018135
0.169892
930
44
92
21.136364
0.744819
0.174194
0
0.208333
0
0
0.140449
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.583333
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
202db4550e375860948bad9fd647f06c39970fb1
901
py
Python
sqlite3/tutorials/connceting-to-the-database.py
Valka7a/python-playground
f08d4374f2cec2e8b1afec3753854b1ec10ff480
[ "MIT" ]
null
null
null
sqlite3/tutorials/connceting-to-the-database.py
Valka7a/python-playground
f08d4374f2cec2e8b1afec3753854b1ec10ff480
[ "MIT" ]
null
null
null
sqlite3/tutorials/connceting-to-the-database.py
Valka7a/python-playground
f08d4374f2cec2e8b1afec3753854b1ec10ff480
[ "MIT" ]
null
null
null
""" To connect to the database, we can use sqlite3.connect function by passing the name of a life to open or create it: ________________________________________________________________________________ >>> import sqlite3 >>> db = sqlite3.connect('data/test.db') ___________________________________________________________...
50.055556
80
0.855716
70
901
4.157143
0.528571
0.14433
0.054983
0
0
0
0
0
0
0
0
0.006068
0.085461
901
17
81
53
0.347087
0
0
0.470588
0
0
0.031077
0
0
0
0
0
0
0
null
null
0.058824
0.117647
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
203b51fe5aae3a76404d2fa9afd86cc56d4ee3da
810
py
Python
speech/models.py
zjnu/zjnucloud-api
0fc0434db3994fdafb5a90c0b9a5ed49f8bf0979
[ "Apache-2.0" ]
null
null
null
speech/models.py
zjnu/zjnucloud-api
0fc0434db3994fdafb5a90c0b9a5ed49f8bf0979
[ "Apache-2.0" ]
null
null
null
speech/models.py
zjnu/zjnucloud-api
0fc0434db3994fdafb5a90c0b9a5ed49f8bf0979
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class Speech(models.Model): id = models.IntegerField(primary_key=True) title = models.CharField(max_length=255, default='') date = models.CharField(max_length=16, default='') href = models.CharField(max_length=255, default='') pic = models.C...
28.928571
60
0.67037
97
810
5.474227
0.360825
0.19774
0.237288
0.316384
0.730697
0.730697
0.602637
0.602637
0.455744
0.455744
0
0.030488
0.190123
810
27
61
30
0.778963
0.02963
0
0.526316
0
0
0.031888
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.789474
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
20456946571b4c49de3df47cb06f8b22a15c37eb
2,539
py
Python
tests/operations/edit/test_general.py
xcfcode/DataLab
d1a310de4986cb704b1fe3dea859452b8c14fc71
[ "Apache-2.0" ]
null
null
null
tests/operations/edit/test_general.py
xcfcode/DataLab
d1a310de4986cb704b1fe3dea859452b8c14fc71
[ "Apache-2.0" ]
null
null
null
tests/operations/edit/test_general.py
xcfcode/DataLab
d1a310de4986cb704b1fe3dea859452b8c14fc71
[ "Apache-2.0" ]
null
null
null
import unittest from datalabs import operations, load_dataset from edit import * class MyTestCase(unittest.TestCase): def test_general(self): dataset = load_dataset("qc") res = dataset["test"].apply(add_typos_checklist, mode = "realtime") print(next(res)) res = dataset["test...
28.852273
83
0.606538
289
2,539
5.186851
0.228374
0.153436
0.21481
0.291528
0.721815
0.691127
0.691127
0.670447
0.670447
0.527018
0
0
0.239858
2,539
87
84
29.183908
0.776684
0.064986
0
0.42
0
0
0.110782
0
0
0
0
0
0
1
0.02
false
0
0.06
0
0.1
0.42
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
204931c25fbf24fe9ad8b15781ed0ba5f90c2510
53
py
Python
src/MainAPP/__init__.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
null
null
null
src/MainAPP/__init__.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
9
2017-11-21T15:45:18.000Z
2022-02-11T03:37:54.000Z
src/MainAPP/__init__.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
1
2020-07-22T02:24:17.000Z
2020-07-22T02:24:17.000Z
default_app_config = 'MainAPP.apps.AutomationConfig'
26.5
52
0.849057
6
53
7.166667
1
0
0
0
0
0
0
0
0
0
0
0
0.056604
53
2
52
26.5
0.86
0
0
0
0
0
0.54717
0.54717
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
64529e031d7de9079cda307155768c9812183802
391
py
Python
Edabit/SpecialArray.py
JLJTECH/TutorialTesting
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
[ "MIT" ]
null
null
null
Edabit/SpecialArray.py
JLJTECH/TutorialTesting
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
[ "MIT" ]
null
null
null
Edabit/SpecialArray.py
JLJTECH/TutorialTesting
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 ''' Return True if every even index contains an even number and every odd index contains an odd number. Else return False ''' def is_special_array(lst): a = [i for i in lst[::2] if i % 2 == 1] b = [i for i in lst[1::2] if i % 2 == 0] return len(a) == len(b) #Alternative Solutions def is_spec...
27.928571
118
0.659847
78
391
3.25641
0.448718
0.031496
0.070866
0.133858
0.23622
0
0
0
0
0
0
0.031746
0.194373
391
13
119
30.076923
0.774603
0.411765
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
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
6460cc716b4e24183027ff1670a1412ec27ffa91
20
py
Python
nwbindexer/__init__.py
jeffteeters/nwb_indexer
40469793645d3e08ae9f0ddf2cff5df7577c413d
[ "BSD-4-Clause-UC" ]
null
null
null
nwbindexer/__init__.py
jeffteeters/nwb_indexer
40469793645d3e08ae9f0ddf2cff5df7577c413d
[ "BSD-4-Clause-UC" ]
null
null
null
nwbindexer/__init__.py
jeffteeters/nwb_indexer
40469793645d3e08ae9f0ddf2cff5df7577c413d
[ "BSD-4-Clause-UC" ]
null
null
null
name = "nwbindexer"
10
19
0.7
2
20
7
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.823529
0
0
0
0
0
0.5
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
64765f8d70ebab3b570b77a3604840892e184043
411
py
Python
cms/apps.py
fossabot/gophr
3ff69cdb352e871aa61c23cb277d721459de6f41
[ "MIT" ]
null
null
null
cms/apps.py
fossabot/gophr
3ff69cdb352e871aa61c23cb277d721459de6f41
[ "MIT" ]
null
null
null
cms/apps.py
fossabot/gophr
3ff69cdb352e871aa61c23cb277d721459de6f41
[ "MIT" ]
null
null
null
import logging import django from django.apps import AppConfig from cms.registry import component_registry logger = logging.getLogger('gophr') class GophrCmsConfig(AppConfig): name = 'cms' verbose_name = 'Gophr CMS' def ready(self): ComponentType = self.get_model('ComponentType') compo...
21.631579
60
0.744526
46
411
6.478261
0.565217
0.171141
0.201342
0
0
0
0
0
0
0
0
0
0.177616
411
18
61
22.833333
0.881657
0
0
0
0
0
0.072993
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
64797d699e040c2f547757fc2884d60940add90c
1,129
py
Python
2019/day2/day2.py
ChuckWoodraska/AdventOfCode2018
e690b195a948824aa4cb128377791b9d86a818fa
[ "MIT" ]
null
null
null
2019/day2/day2.py
ChuckWoodraska/AdventOfCode2018
e690b195a948824aa4cb128377791b9d86a818fa
[ "MIT" ]
null
null
null
2019/day2/day2.py
ChuckWoodraska/AdventOfCode2018
e690b195a948824aa4cb128377791b9d86a818fa
[ "MIT" ]
null
null
null
def run(program): program_counter = 0 while True: op_code = program[program_counter] if op_code == 1: program[program[program_counter + 3]] = program[program[program_counter + 2]] + program[ program[program_counter + 1]] elif op_code == 2: program[...
29.710526
100
0.518158
136
1,129
4.147059
0.301471
0.347518
0.297872
0.297872
0.533688
0.531915
0.531915
0.531915
0.531915
0.531915
0
0.051771
0.349867
1,129
37
101
30.513514
0.716621
0
0
0.193548
0
0
0.026572
0
0
0
0
0
0
1
0.096774
false
0
0
0
0.129032
0.064516
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
647b6793864928929756a1e6fd655b32770658d9
203
py
Python
CalibTracker/SiPixelESProducers/python/SiPixelFakeGainESSource_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CalibTracker/SiPixelESProducers/python/SiPixelFakeGainESSource_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CalibTracker/SiPixelESProducers/python/SiPixelFakeGainESSource_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms SiPixelFakeGainESSource = cms.ESSource("SiPixelFakeGainESSource", file = cms.FileInPath('CalibTracker/SiPixelESProducers/data/PixelSkimmedGeometry.txt') )
25.375
90
0.817734
18
203
9.222222
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.08867
203
7
91
29
0.897297
0
0
0
0
0
0.41791
0.41791
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
64820323159866b762cec92ed4de8b3398bf689e
434
py
Python
tests/test_timeout.py
Clean-Cole/pysftp
659f98c2fa7d2ea86bb869139191f73b42e8a14e
[ "BSD-3-Clause" ]
4
2016-03-09T14:55:45.000Z
2022-03-02T00:11:47.000Z
tests/test_timeout.py
Clean-Cole/pysftp
659f98c2fa7d2ea86bb869139191f73b42e8a14e
[ "BSD-3-Clause" ]
4
2019-11-27T16:17:59.000Z
2022-03-02T12:24:16.000Z
tests/test_timeout.py
Clean-Cole/pysftp
659f98c2fa7d2ea86bb869139191f73b42e8a14e
[ "BSD-3-Clause" ]
4
2016-12-08T20:29:50.000Z
2020-02-19T04:54:33.000Z
'''test pysftp.Connection.timeout - uses py.test''' # pylint: disable = W0142 from common import * def test_timeout_getter(psftp): '''test getting the timeout value''' # always starts at no timeout, assert psftp.timeout is None def test_timeout_setter(psftp): '''test setting the timeout value''' ...
22.842105
51
0.691244
60
434
4.933333
0.483333
0.202703
0.182432
0.135135
0.162162
0
0
0
0
0
0
0.028986
0.205069
434
18
52
24.111111
0.828986
0.370968
0
0.25
0
0
0
0
0
0
0
0
0.375
1
0.25
false
0
0.125
0
0.375
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
64868cbb2b30fe5b197f9578b2954c49e060b21d
197
py
Python
main.py
vladmos/german_holidays
a56380eec4449508839bc006182351d8a01f86bd
[ "MIT" ]
null
null
null
main.py
vladmos/german_holidays
a56380eec4449508839bc006182351d8a01f86bd
[ "MIT" ]
1
2016-01-18T10:23:31.000Z
2016-01-18T23:18:40.000Z
main.py
vladmos/german_holidays
a56380eec4449508839bc006182351d8a01f86bd
[ "MIT" ]
null
null
null
import flask from holidays import views app = flask.Flask(__name__) app.url_map.strict_slashes = False index = app.route('/')(views.index) calendar = app.route('/calendar')(views.calendar_view)
19.7
54
0.756345
28
197
5.071429
0.571429
0.112676
0
0
0
0
0
0
0
0
0
0
0.106599
197
9
55
21.888889
0.806818
0
0
0
0
0
0.050761
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
64af57c4f6dc9a4c5e5e1627b1cfdb7ad143fe9b
75
py
Python
pi/ParkingMoney/config.py
yindaheng98/ParkingMoney
2c9e07bff11c8333441cd4915551ee30efce674b
[ "Apache-2.0" ]
null
null
null
pi/ParkingMoney/config.py
yindaheng98/ParkingMoney
2c9e07bff11c8333441cd4915551ee30efce674b
[ "Apache-2.0" ]
5
2020-07-18T17:43:38.000Z
2021-05-11T21:11:54.000Z
pi/ParkingMoney/config.py
yindaheng98/ParkingMoney
2c9e07bff11c8333441cd4915551ee30efce674b
[ "Apache-2.0" ]
null
null
null
IN1 = 29 IN2 = 31 IN3 = 33 IN4 = 35 AvoidSensorfor = 40 AvoidSensorbac = 38
12.5
19
0.693333
12
75
4.333333
1
0
0
0
0
0
0
0
0
0
0
0.275862
0.226667
75
6
20
12.5
0.62069
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
64c92b6d9eec424e7b7b7b79ebe64d5e1ccf5680
493
py
Python
06.Polymorphism_and_abstraction/Lab/examples.py
nmoskova/Python-OOP
07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864
[ "MIT" ]
null
null
null
06.Polymorphism_and_abstraction/Lab/examples.py
nmoskova/Python-OOP
07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864
[ "MIT" ]
null
null
null
06.Polymorphism_and_abstraction/Lab/examples.py
nmoskova/Python-OOP
07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864
[ "MIT" ]
null
null
null
class Purchase: def __init__(self, product_name, cost): self.product_name = product_name self.cost = cost def __add__(self, other): name = f'{self.product_name}, {other.product_name}' cost = self.cost + other.cost return Purchase(name, cost) def __repr__(self): ...
29
59
0.667343
63
493
4.873016
0.333333
0.214984
0.19544
0.123779
0
0
0
0
0
0
0
0.015544
0.217039
493
17
60
29
0.779793
0
0
0
0
0
0.176113
0
0
0
0
0
0
1
0.230769
false
0
0
0.076923
0.461538
0.076923
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
64cca681eac74e5925ecfc7eadd1c1c826245846
160
py
Python
pages/about/urls.py
lcubelongren/website_local_library
43bb2c745c8ef3abc5ade1ca38fc9c90701cc89a
[ "MIT" ]
null
null
null
pages/about/urls.py
lcubelongren/website_local_library
43bb2c745c8ef3abc5ade1ca38fc9c90701cc89a
[ "MIT" ]
null
null
null
pages/about/urls.py
lcubelongren/website_local_library
43bb2c745c8ef3abc5ade1ca38fc9c90701cc89a
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path from . import views app_name = 'about' urlpatterns = [ path('', views.index, name="about"), ]
20
40
0.7125
22
160
5.136364
0.590909
0.176991
0
0
0
0
0
0
0
0
0
0
0.1625
160
8
41
20
0.843284
0
0
0
0
0
0.062112
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
64da872c3d816c885c14f7e207ea0be38316a95e
486
py
Python
pizza_store/db/models/user.py
astsu-dev/pizza-store-backend
902f6e5e2c88ba029b2bff61da8fc4684664ead9
[ "MIT" ]
2
2021-07-10T15:47:45.000Z
2021-12-13T18:09:30.000Z
pizza_store/db/models/user.py
astsu-dev/pizza-store-backend
902f6e5e2c88ba029b2bff61da8fc4684664ead9
[ "MIT" ]
null
null
null
pizza_store/db/models/user.py
astsu-dev/pizza-store-backend
902f6e5e2c88ba029b2bff61da8fc4684664ead9
[ "MIT" ]
null
null
null
import uuid from pizza_store.db.models.base import Base from sqlalchemy import Column, String from sqlalchemy.dialects.postgresql import UUID class User(Base): __tablename__ = "users" id = Column(UUID(as_uuid=True), primary_key=True, default=uuid.uuid4) username = Column(String(30), unique=True, nullabl...
30.375
73
0.744856
66
486
5.363636
0.515152
0.169492
0.079096
0.129944
0
0
0
0
0
0
0
0.016867
0.146091
486
15
74
32.4
0.836145
0
0
0
0
0
0.010288
0
0
0
0
0
0
1
0
false
0.090909
0.363636
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
b37a72eecf5c9eadc2d767bb82d0ae9967c2dbdc
338
py
Python
Python-Mangodb/mongo-toollists.py
ArmstrongYang/StudyShare
6dffcfba6811865589a8e11748ffc7e71a656f50
[ "Apache-2.0" ]
2
2017-08-10T13:41:19.000Z
2017-11-30T09:00:33.000Z
Python-Mangodb/mongo-toollists.py
ArmstrongYang/StudyShare
6dffcfba6811865589a8e11748ffc7e71a656f50
[ "Apache-2.0" ]
null
null
null
Python-Mangodb/mongo-toollists.py
ArmstrongYang/StudyShare
6dffcfba6811865589a8e11748ffc7e71a656f50
[ "Apache-2.0" ]
null
null
null
import os import pymongo # ้œ€่ฆ้€š่ฟ‡cmdๆ‰“ๅผ€ๆ•ฐๆฎๅบ“ๆœๅŠกๅ™จ๏ผšmongod --dbpath=E:/onedrive/databases/db --port 2222 --logpath=E:/onedrive/databases/log/mongodb.log # ๅฆ‚ๆžœ้œ€่ฆๅŽๅฐ่ฟ่กŒ๏ผŒๆทปๅŠ --fork,ๅณ # mongod --dbpath=E:/onedrive/databases --port 2222 --fork client = pymongo.MongoClient('localhost', 2222) if __name__=='__main__': print(__file__...
26
119
0.721893
44
338
5.272727
0.659091
0.116379
0.232759
0.181034
0.258621
0
0
0
0
0
0
0.043919
0.12426
338
13
120
26
0.739865
0.573965
0
0
0
0
0.120567
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b38d6bdc2bf80c046ac28d3ad62a99dc3ad84961
258
py
Python
bin/tp2el.py
awisse/TorquePro-to-EngineLink
b90695030961c125ec7c64adb4905b13e76bbd18
[ "MIT" ]
1
2022-02-10T03:55:48.000Z
2022-02-10T03:55:48.000Z
bin/tp2el.py
awisse/TorquePro-to-EngineLink
b90695030961c125ec7c64adb4905b13e76bbd18
[ "MIT" ]
3
2022-03-19T20:08:10.000Z
2022-03-29T16:21:39.000Z
bin/tp2el.py
awisse/TorquePro-to-EngineLink
b90695030961c125ec7c64adb4905b13e76bbd18
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # vim: fileencoding=utf-8 # """ Import a TorquePro PID file and transform it into an EngineLink PID file. The TorquePro filename must be <name>.csv. The resuluting filename will be <name>-EL.csv. """ import tp_to_el tp_to_el.main()
19.846154
74
0.736434
44
258
4.227273
0.704545
0.075269
0.064516
0
0
0
0
0
0
0
0
0.009132
0.151163
258
12
75
21.5
0.840183
0.817829
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
b396019d38972aadf3e15ae7f7416d70d18ebf13
143
py
Python
aiocloudflare/api/user/invites/invites.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
2
2021-09-14T13:20:55.000Z
2022-02-24T14:18:24.000Z
aiocloudflare/api/user/invites/invites.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
46
2021-09-08T08:39:45.000Z
2022-03-29T12:31:05.000Z
aiocloudflare/api/user/invites/invites.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
1
2021-12-30T23:02:23.000Z
2021-12-30T23:02:23.000Z
from aiocloudflare.commons.auth import Auth class Invites(Auth): _endpoint1 = "user/invites" _endpoint2 = None _endpoint3 = None
17.875
43
0.72028
16
143
6.25
0.75
0
0
0
0
0
0
0
0
0
0
0.026316
0.202797
143
7
44
20.428571
0.850877
0
0
0
0
0
0.083916
0
0
0
0
0
0
1
0
false
0
0.2
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
b39ed1fdb590a5aba51c0f079471eb39136ce7b3
280
py
Python
main.py
Adophilus/escrow-demo-python
d0995184af18d16a1a81688d561ed28d252169a7
[ "MIT" ]
1
2022-03-11T08:04:59.000Z
2022-03-11T08:04:59.000Z
main.py
Adophilus/escrow-demo-python
d0995184af18d16a1a81688d561ed28d252169a7
[ "MIT" ]
null
null
null
main.py
Adophilus/escrow-demo-python
d0995184af18d16a1a81688d561ed28d252169a7
[ "MIT" ]
null
null
null
from litedb import database, DiskDatabase, MemoryDatabase def run (Config: object) -> database: if Config.Database._type == "disk": database = DiskDatabase(Config.Database.path) else: databse = MemoryDatabase() print("Running...") return database
28
57
0.678571
28
280
6.75
0.678571
0.21164
0
0
0
0
0
0
0
0
0
0
0.210714
280
9
58
31.111111
0.855204
0
0
0
0
0
0.05
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0.125
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
b3c14cbc2919d576d0fd768ab29ada102cf035c6
744
py
Python
GUI/view.py
pryo/resume-builder
3eb8de510bc2f1c916054ceeedd28d8f55ac5ee4
[ "MIT" ]
2
2019-09-15T15:09:14.000Z
2019-09-17T12:13:35.000Z
GUI/view.py
pryo/resume-builder
3eb8de510bc2f1c916054ceeedd28d8f55ac5ee4
[ "MIT" ]
null
null
null
GUI/view.py
pryo/resume-builder
3eb8de510bc2f1c916054ceeedd28d8f55ac5ee4
[ "MIT" ]
null
null
null
try: import tkinter as tk except: import Tkinter as tk import pygubu class View: def __init__(self, ui_file_path): self.builder = pygubu.Builder() # 2: Load an ui file self.builder.add_from_file(ui_file_path) # 3: Create the toplevel widget. self.main_window = sel...
32.347826
69
0.682796
104
744
4.596154
0.375
0.207113
0.205021
0.292887
0.192469
0
0
0
0
0
0
0.003413
0.212366
744
22
70
33.818182
0.812287
0.137097
0
0
0
0
0.097179
0
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.333333
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
b3ce3dd111e505ae94c906cd37e46f4bfeda102c
22,176
py
Python
boofuzz/unit_tests/test_fuzz_logger_text.py
mrTavas/owasp-fstm-auto
6e9ff36e46d885701c7419db3eca15f12063a7f3
[ "CC0-1.0" ]
2
2021-05-05T12:03:01.000Z
2021-06-04T14:27:15.000Z
boofuzz/unit_tests/test_fuzz_logger_text.py
mrTavas/owasp-fstm-auto
6e9ff36e46d885701c7419db3eca15f12063a7f3
[ "CC0-1.0" ]
null
null
null
boofuzz/unit_tests/test_fuzz_logger_text.py
mrTavas/owasp-fstm-auto
6e9ff36e46d885701c7419db3eca15f12063a7f3
[ "CC0-1.0" ]
2
2021-05-05T12:03:09.000Z
2021-06-04T14:27:21.000Z
from __future__ import absolute_import, unicode_literals import unittest from builtins import bytes, chr from io import StringIO import six import boofuzz.helpers from boofuzz import fuzz_logger_text class TestFuzzLoggerTextFreeFunctions(unittest.TestCase): def test_get_time_stamp(self): """ Gi...
44.709677
115
0.599432
3,252
22,176
3.852706
0.186039
0.099609
0.097693
0.10344
0.765344
0.737489
0.720728
0.695985
0.679464
0.631016
0
0.053363
0.247069
22,176
495
116
44.8
0.697011
0.244093
0
0.378723
0
0.008511
0.126273
0.002901
0
0
0
0
0.2
1
0.106383
false
0.034043
0.029787
0.004255
0.148936
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