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
c37949fd146c02483be8a770013fb3f9ec4d35bc
1,506
py
Python
src/policies/policy.py
warbarbye/SAG-2019Z
b2dbdac80228a83680b4245c1ef30e1940bd8ee7
[ "MIT" ]
null
null
null
src/policies/policy.py
warbarbye/SAG-2019Z
b2dbdac80228a83680b4245c1ef30e1940bd8ee7
[ "MIT" ]
6
2019-11-12T07:16:44.000Z
2019-12-21T15:39:59.000Z
src/policies/policy.py
warbarbye/Multi-agent-market
b2dbdac80228a83680b4245c1ef30e1940bd8ee7
[ "MIT" ]
null
null
null
class Policy(object): """ Policy base class """ def __init__(self, agent, *args): """ Creates decision policy for given agent :param agent: The agent :param args: Additional arguments """ self.agent = agent def produce(self, limit): """ ...
26.892857
69
0.594954
175
1,506
4.994286
0.291429
0.19222
0.185355
0.016018
0.521739
0.521739
0.482838
0.405034
0.405034
0.405034
0
0.001972
0.326693
1,506
55
70
27.381818
0.859961
0.396414
0
0.411765
0
0
0
0
0
0
0
0
0
1
0.470588
false
0
0
0
0.529412
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
5ef308d769190a3be5f3ac94ed95fc5f8d33d0d4
988
py
Python
PowerNetwork.py
YuWVandy/Coupled-Transportation-and-Power-System
f338648df3da78ed24e7797bf85e7182cf57768b
[ "MIT" ]
null
null
null
PowerNetwork.py
YuWVandy/Coupled-Transportation-and-Power-System
f338648df3da78ed24e7797bf85e7182cf57768b
[ "MIT" ]
null
null
null
PowerNetwork.py
YuWVandy/Coupled-Transportation-and-Power-System
f338648df3da78ed24e7797bf85e7182cf57768b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Feb 21 09:48:58 2020 @author: wany105 """ import numpy as np from matplotlib import pyplot as plt from graph import Graph import ShareFunction as sf class Power(Graph): def __init__(self, graph_dict= None, color = None, name = None, lat = None, lon = None, nodenum = None...
29.939394
171
0.62247
122
988
4.942623
0.491803
0.036484
0.043118
0.049751
0
0
0
0
0
0
0
0.025316
0.280364
988
33
172
29.939394
0.822785
0.248988
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.416667
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
6f0d6fc90b398a778274c06ed9f4eea8498fb1be
135
py
Python
output/models/sun_data/attr_decl/ad_name/ad_name00108m/ad_name00108m17_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/sun_data/attr_decl/ad_name/ad_name00108m/ad_name00108m17_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/sun_data/attr_decl/ad_name/ad_name00108m/ad_name00108m17_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.sun_data.attr_decl.ad_name.ad_name00108m.ad_name00108m17_xsd.ad_name00108m17 import Root __all__ = [ "Root", ]
22.5
107
0.8
20
135
4.85
0.75
0.28866
0
0
0
0
0
0
0
0
0
0.157025
0.103704
135
5
108
27
0.644628
0
0
0
0
0
0.02963
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
6f171c2aaf0eb82e4e82e515f37704ef3c8e4b77
544
py
Python
.github/print_system.py
gomezalberto/pretus
63b05419f70ecf8b28ccbb6191eab79637c051ac
[ "MIT" ]
18
2021-11-05T13:04:00.000Z
2022-01-31T14:14:08.000Z
.github/print_system.py
gomezalberto/pretus
63b05419f70ecf8b28ccbb6191eab79637c051ac
[ "MIT" ]
27
2021-09-14T14:04:28.000Z
2022-02-15T09:58:30.000Z
.github/print_system.py
gomezalberto/pretus
63b05419f70ecf8b28ccbb6191eab79637c051ac
[ "MIT" ]
1
2021-12-16T12:51:32.000Z
2021-12-16T12:51:32.000Z
# flake8: noqa ### USAGE: # conda activate ve-AICO # python print_system.py ### Terminal log: # Platform: Linux-5.11.0-36-generic-x86_64-with-glibc2.17 # PyTorch: 1.9.1 # NumPy: 1.20.3 # Python: 3.8.11 (default, Aug 3 2021, 15:09:35) # ...
25.904762
69
0.577206
72
544
4.222222
0.611111
0.105263
0
0
0
0
0
0
0
0
0
0.09949
0.279412
544
20
70
27.2
0.67602
0.566176
0
0
0
0
0.199095
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
3
6f24d6c06b02ac903f30169ef36ee7827db8b6c6
108
py
Python
app/multi_page/app.py
Genes-N-Risks/genocode
769b9486b1f3012c9ad3df81161840490c736e94
[ "MIT" ]
null
null
null
app/multi_page/app.py
Genes-N-Risks/genocode
769b9486b1f3012c9ad3df81161840490c736e94
[ "MIT" ]
1
2020-06-17T18:34:54.000Z
2020-06-17T18:34:54.000Z
app/multi_page/app.py
Genes-N-Risks/genocode
769b9486b1f3012c9ad3df81161840490c736e94
[ "MIT" ]
2
2020-04-25T20:17:24.000Z
2021-01-10T00:48:59.000Z
import dash app = dash.Dash(__name__, suppress_callback_exceptions=True) server = app.server import index
15.428571
60
0.805556
15
108
5.4
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.12037
108
6
61
18
0.852632
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6f2e38624feea059a238ed571739f556f29e72ef
657
py
Python
cvat/simpleworker.py
liruilong940607/cvat
7ed31cac0ee84abbf06c3a9da83621495f4b948e
[ "MIT" ]
1
2019-04-09T20:04:02.000Z
2019-04-09T20:04:02.000Z
cvat/simpleworker.py
thomasyu888/cvat
0344d430a08216e1ca19aab863f34dd842cd2d2f
[ "MIT" ]
null
null
null
cvat/simpleworker.py
thomasyu888/cvat
0344d430a08216e1ca19aab863f34dd842cd2d2f
[ "MIT" ]
1
2022-02-14T12:52:15.000Z
2022-02-14T12:52:15.000Z
# Copyright (C) 2018 Intel Corporation # # SPDX-License-Identifier: MIT from rq import Worker class BaseDeathPenalty(object): def __init__(self, timeout, exception, **kwargs): pass def __enter__(self): pass def __exit__(self, type, value, traceback): pass class SimpleWorker(W...
23.464286
79
0.675799
78
657
5.461538
0.679487
0.070423
0.065728
0
0
0
0
0
0
0
0
0.007797
0.219178
657
28
80
23.464286
0.822612
0.17656
0
0.214286
0
0
0.078799
0
0
0
0
0
0
1
0.357143
false
0.214286
0.071429
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
6f40c577cd7d47b085812dddd1f80d44abdc5790
1,894
py
Python
game/Resources.py
uuk0/BugGame
b3f8a3670a2e5ba075ff7a77e1533a4bd7634ce3
[ "MIT" ]
null
null
null
game/Resources.py
uuk0/BugGame
b3f8a3670a2e5ba075ff7a77e1533a4bd7634ce3
[ "MIT" ]
null
null
null
game/Resources.py
uuk0/BugGame
b3f8a3670a2e5ba075ff7a77e1533a4bd7634ce3
[ "MIT" ]
null
null
null
import os import sys import typing root = os.path.dirname(os.path.dirname(__file__)) def resource_path(relative_path): """ Get absolute path to resource, works for dev and for PyInstaller """ base_path = getattr(sys, '_MEIPASS', root) return os.path.join(base_path, relative_path) class StonePathBuilder...
24.597403
107
0.67265
250
1,894
4.96
0.276
0.082258
0.169355
0.205645
0.482258
0.482258
0.38871
0.38871
0.38871
0.289516
0
0
0.215945
1,894
76
108
24.921053
0.835017
0.033791
0
0.382979
0
0
0.007139
0
0
0
0
0
0
1
0.361702
false
0.404255
0.06383
0
0.574468
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
1
0
0
0
0
0
3
6f43e87a95cf5ec184feea027ffeb6da4f6afa16
137
py
Python
segno/envelopes/__init__.py
d33jiang/pytils
6e44a05480abec6297b77730676bcb5fd5088f6f
[ "MIT" ]
null
null
null
segno/envelopes/__init__.py
d33jiang/pytils
6e44a05480abec6297b77730676bcb5fd5088f6f
[ "MIT" ]
null
null
null
segno/envelopes/__init__.py
d33jiang/pytils
6e44a05480abec6297b77730676bcb5fd5088f6f
[ "MIT" ]
null
null
null
from ._base import MessageEnvelope from ._checksum import ChecksumEnvelope __all__ = [ 'ChecksumEnvelope', 'MessageEnvelope', ]
17.125
39
0.751825
11
137
8.818182
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.167883
137
7
40
19.571429
0.850877
0
0
0
0
0
0.226277
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
6f44a9a7d28b41f7a336ec9a80d14afa3900cdf1
164
py
Python
client/botchallenge/__init__.py
Normangorman/botchallenge
8faf9adaea871becdb9460f8d91b87dc255d44f6
[ "MIT" ]
21
2015-01-26T02:16:39.000Z
2021-02-22T11:13:46.000Z
client/botchallenge/__init__.py
Normangorman/botchallenge
8faf9adaea871becdb9460f8d91b87dc255d44f6
[ "MIT" ]
13
2015-01-02T00:28:35.000Z
2020-10-07T14:04:35.000Z
client/botchallenge/__init__.py
Normangorman/botchallenge
8faf9adaea871becdb9460f8d91b87dc255d44f6
[ "MIT" ]
3
2015-01-28T20:57:33.000Z
2019-01-12T11:36:33.000Z
from . import client from . import robot from . import blocktypes Dir = robot.Dir Location = robot.Location Robot = robot.Robot BlockType = blocktypes.BlockType
14.909091
32
0.768293
21
164
6
0.380952
0.238095
0
0
0
0
0
0
0
0
0
0
0.164634
164
10
33
16.4
0.919708
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
1
0
0
0
0
3
6f47c0c0b3a4cdfdde3b0252d3b2e8cf0502a3db
6,663
py
Python
stelspec/columns.py
behrouzz/stelspec
533d10d95082a98d008b7a36e4a6eb36b3348523
[ "MIT" ]
null
null
null
stelspec/columns.py
behrouzz/stelspec
533d10d95082a98d008b7a36e4a6eb36b3348523
[ "MIT" ]
null
null
null
stelspec/columns.py
behrouzz/stelspec
533d10d95082a98d008b7a36e4a6eb36b3348523
[ "MIT" ]
null
null
null
desc_so_ccf = { 'seq' : 'A number used to uniquely identify an entry in the database. This internal sequence number is actually the SOPHIE sequence number multiplied by 10. In case of n duplicates (due to disk problems on pcsophie) we add n to the SOPHIE sequence number for each occurrence.', 'bjd' : 'The barycentric j...
99.447761
575
0.761669
1,066
6,663
4.72045
0.389306
0.020866
0.016097
0.010731
0.052663
0.044316
0.030803
0.015898
0
0
0
0.012215
0.152184
6,663
66
576
100.954545
0.878386
0.013808
0
0
0
0.362069
0.887333
0.003197
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6f666a1aaa02ad4b303756fe4aeeb5991e2c8784
86
py
Python
TEST/test.py
permissionx/LAMMPyS
2423980ff0e0b535df661859f15698e9ef15bd2f
[ "MIT" ]
2
2019-04-22T07:40:00.000Z
2020-10-29T06:57:37.000Z
TEST/test.py
permissionx/LAMMPyS
2423980ff0e0b535df661859f15698e9ef15bd2f
[ "MIT" ]
null
null
null
TEST/test.py
permissionx/LAMMPyS
2423980ff0e0b535df661859f15698e9ef15bd2f
[ "MIT" ]
null
null
null
import LAMMPyS as lp steps = lp.Steps('test.dump') step = steps[-1] atoms = step.atoms
21.5
29
0.709302
15
86
4.066667
0.666667
0.229508
0
0
0
0
0
0
0
0
0
0.013514
0.139535
86
4
30
21.5
0.810811
0
0
0
0
0
0.103448
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
6f6f809a09d260edda585e39a889b0bf5aad42d3
1,039
py
Python
tcconfig/parser/_model.py
personalcomputer/tcconfig
87b801beaa4ad16410fa4aac0c98606d9caec7b6
[ "MIT" ]
644
2016-01-25T09:41:20.000Z
2022-03-28T16:20:13.000Z
tcconfig/parser/_model.py
personalcomputer/tcconfig
87b801beaa4ad16410fa4aac0c98606d9caec7b6
[ "MIT" ]
109
2016-04-14T13:37:32.000Z
2022-02-20T16:39:44.000Z
tcconfig/parser/_model.py
personalcomputer/tcconfig
87b801beaa4ad16410fa4aac0c98606d9caec7b6
[ "MIT" ]
81
2016-03-01T16:21:24.000Z
2022-03-09T15:05:59.000Z
from simplesqlite.model import Integer, Model, Text from .._const import Tc class Filter(Model): device = Text(attr_name=Tc.Param.DEVICE, not_null=True) filter_id = Text(attr_name=Tc.Param.FILTER_ID) flowid = Text(attr_name=Tc.Param.FLOW_ID) protocol = Text(attr_name=Tc.Param.PROTOCOL) priority =...
31.484848
59
0.708373
155
1,039
4.541935
0.251613
0.170455
0.198864
0.298295
0.539773
0.28125
0.133523
0.133523
0.133523
0.133523
0
0
0.169394
1,039
32
60
32.46875
0.815759
0
0
0.076923
0
0
0.01155
0
0
0
0
0
0
1
0
false
0
0.076923
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
6f71815f6581127677286932180e90c65b64d8ba
859
py
Python
PyOpenGL-3.0.2/OpenGL/raw/GL/EXT/framebuffer_blit.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
PyOpenGL-3.0.2/OpenGL/raw/GL/EXT/framebuffer_blit.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
PyOpenGL-3.0.2/OpenGL/raw/GL/EXT/framebuffer_blit.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
'''Autogenerated by get_gl_extensions script, do not edit!''' from OpenGL import platform as _p, constants as _cs, arrays from OpenGL.GL import glget import ctypes EXTENSION_NAME = 'GL_EXT_framebuffer_blit' def _f( function ): return _p.createFunction( function,_p.GL,'GL_EXT_framebuffer_blit',False) _p.unpack_const...
42.95
121
0.802095
122
859
5.327869
0.52459
0.086154
0.110769
0.150769
0.089231
0.089231
0.089231
0.089231
0.089231
0.089231
0
0.020619
0.096624
859
19
122
45.210526
0.81701
0.136205
0
0
1
0
0.199726
0.168263
0
0
0.024624
0
0
1
0.2
false
0.066667
0.266667
0.066667
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
6f774682cfd8d3d9597d5454fc21f869ab270f6f
143
py
Python
models/rss.py
NamalD/rss-cli
c22412ac2aaa1bf85a481c3b104762fcb0c1dc35
[ "MIT" ]
null
null
null
models/rss.py
NamalD/rss-cli
c22412ac2aaa1bf85a481c3b104762fcb0c1dc35
[ "MIT" ]
null
null
null
models/rss.py
NamalD/rss-cli
c22412ac2aaa1bf85a481c3b104762fcb0c1dc35
[ "MIT" ]
null
null
null
class RssItem(): def __init__(self, source, date, title): self.source = source self.date = date self.title = title
23.833333
44
0.587413
17
143
4.705882
0.470588
0.25
0
0
0
0
0
0
0
0
0
0
0.307692
143
5
45
28.6
0.808081
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
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
48aabe72d7cef893757627ac21a8ec1aac020073
502
py
Python
onlinecoach/users/models.py
sq2021/online-coach
d5d8acacdf21e8ce3dcd01d67f9fb8c9ffca371d
[ "MIT" ]
null
null
null
onlinecoach/users/models.py
sq2021/online-coach
d5d8acacdf21e8ce3dcd01d67f9fb8c9ffca371d
[ "MIT" ]
8
2019-12-04T23:02:42.000Z
2022-02-10T11:45:46.000Z
onlinecoach/users/models.py
sq2021/online-coach
d5d8acacdf21e8ce3dcd01d67f9fb8c9ffca371d
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User # Create your models here. class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) reputation_count = models.IntegerField(default=0) total_questions = models.IntegerField(default=0) total_answers =...
38.615385
79
0.75498
65
502
5.676923
0.584615
0.146341
0.203252
0.211382
0.168022
0
0
0
0
0
0
0.006944
0.139442
502
13
80
38.615385
0.847222
0.047809
0
0
0
0
0.106918
0
0
0
0
0
0
1
0.1
false
0
0.2
0.1
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
48e55a53114d591f608d2f1c2a9f83c0c3749a56
532
py
Python
core_lib/utils.py
akiwoRM/scwrap
781c70a8ffbeb27482660fa0bc87c3b33393dbe0
[ "MIT" ]
9
2017-11-06T02:40:19.000Z
2019-12-24T06:02:11.000Z
core_lib/utils.py
akiwoRM/scwrap
781c70a8ffbeb27482660fa0bc87c3b33393dbe0
[ "MIT" ]
null
null
null
core_lib/utils.py
akiwoRM/scwrap
781c70a8ffbeb27482660fa0bc87c3b33393dbe0
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- """ utility functions not to depend on Maya """ import string def get_opt(kwds, keys, init_val): """return value source dictionary ex.) n = get_opt(kwds, ['n', 'name'], "Copy#") """ val = init_val if isinstance(keys, list): for k in keys: val = kwds...
17.16129
45
0.592105
78
532
3.935897
0.564103
0.039088
0.065147
0.117264
0.123779
0
0
0
0
0
0
0.012531
0.25
532
30
46
17.733333
0.756892
0.265038
0
0
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.076923
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
48fa47c001f54c89143435daad8d05045fa16694
312
py
Python
packages/pycom/v1.18.2/esp32/stubs/ustruct.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
18
2019-07-11T13:31:09.000Z
2022-01-27T06:38:40.000Z
packages/pycom/v1.18.2/esp32/stubs/ustruct.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
9
2019-09-01T21:44:49.000Z
2022-02-04T20:55:08.000Z
packages/pycom/v1.18.2/esp32/stubs/ustruct.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
6
2019-10-08T05:31:21.000Z
2021-04-22T10:21:01.000Z
""" Module: 'ustruct' on WiPy 07a52e4 """ # MCU: (sysname='WiPy', nodename='WiPy', release='1.18.2', version='07a52e4-dirty on 2019-07-26', machine='WiPy with ESP32') # Stubber: 1.2.0 def calcsize(): pass def pack(): pass def pack_into(): pass def unpack(): pass def unpack_from(): pass
14.857143
124
0.625
46
312
4.195652
0.630435
0.145078
0.11399
0
0
0
0
0
0
0
0
0.10757
0.195513
312
20
125
15.6
0.661355
0.551282
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
3
d28a30066853f0f1e0bfe85258d35701caa5116f
171
py
Python
setup.py
Bonifacio2/flask-wtf
7fc4a618ecc7880bcb7b03f69fe58d340be986c7
[ "BSD-3-Clause" ]
1,064
2015-01-08T09:39:47.000Z
2021-05-25T09:56:13.000Z
setup.py
Bonifacio2/flask-wtf
7fc4a618ecc7880bcb7b03f69fe58d340be986c7
[ "BSD-3-Clause" ]
257
2015-01-18T12:41:06.000Z
2021-05-24T17:35:04.000Z
setup.py
Bonifacio2/flask-wtf
7fc4a618ecc7880bcb7b03f69fe58d340be986c7
[ "BSD-3-Clause" ]
299
2015-01-20T20:14:17.000Z
2021-05-17T10:37:00.000Z
from setuptools import setup setup( name="Flask-WTF", install_requires=["Flask", "WTForms", "itsdangerous"], extras_require={"email": ["email-validator"]}, )
21.375
58
0.672515
18
171
6.277778
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.146199
171
7
59
24.428571
0.773973
0
0
0
0
0
0.309942
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d296b55d5bbde7644be0789fb0e23717aee3a76f
33
py
Python
vulk/tests/__init__.py
js78/vulk
7530b22ebf1cd2c6bf3aa07b15ce6575b85ee184
[ "Apache-2.0" ]
35
2016-12-06T08:41:21.000Z
2022-02-23T06:50:44.000Z
vulk/tests/__init__.py
js78/vulk
7530b22ebf1cd2c6bf3aa07b15ce6575b85ee184
[ "Apache-2.0" ]
15
2016-12-05T07:03:29.000Z
2018-09-16T02:26:20.000Z
vulk/tests/__init__.py
js78/vulk
7530b22ebf1cd2c6bf3aa07b15ce6575b85ee184
[ "Apache-2.0" ]
5
2016-12-04T17:01:35.000Z
2021-01-05T22:45:00.000Z
__all__ = ['math', 'test_utils']
16.5
32
0.636364
4
33
4
1
0
0
0
0
0
0
0
0
0
0
0
0.121212
33
1
33
33
0.551724
0
0
0
0
0
0.424242
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
d2a31d9aeda69e15d2bb55db87eeef6f38863906
433
py
Python
resource/files.py
yhfyhf/wang_fm
250c053256a6337c7b07a56f4b859c648b4d9a16
[ "MIT" ]
30
2015-01-14T16:07:44.000Z
2020-11-20T14:20:05.000Z
resource/files.py
yhfyhf/wang_fm
250c053256a6337c7b07a56f4b859c648b4d9a16
[ "MIT" ]
2
2015-04-03T01:56:29.000Z
2017-10-03T03:29:44.000Z
resource/files.py
yhfyhf/wang_fm
250c053256a6337c7b07a56f4b859c648b4d9a16
[ "MIT" ]
17
2015-01-01T07:20:28.000Z
2020-11-20T14:20:22.000Z
#!/usr/bin/env python # encoding: utf-8 from flask import Response import mongoengine.fields from bson.objectid import ObjectId from flask.ext.restful import Resource class FileResource(Resource): def get(self, key): # TODO # maybe fs should be global fs = mongoengine.fields.GridFSProxy(...
24.055556
66
0.69515
55
433
5.472727
0.690909
0.059801
0
0
0
0
0
0
0
0
0
0.002907
0.205543
433
17
67
25.470588
0.872093
0.154734
0
0
0
0
0.066298
0.066298
0
0
0
0.058824
0
1
0.111111
false
0
0.444444
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
d2b35bf13dc15b94eb9c7e30af6fb541d8d943c0
134
py
Python
setup.py
LeobardoArguelles/how-old-were-they
24f83f839aeed635237200da3d7848f0945dcaef
[ "MIT" ]
null
null
null
setup.py
LeobardoArguelles/how-old-were-they
24f83f839aeed635237200da3d7848f0945dcaef
[ "MIT" ]
null
null
null
setup.py
LeobardoArguelles/how-old-were-they
24f83f839aeed635237200da3d7848f0945dcaef
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='how-old-were-they', include_package_data=True, install_requires=[ 'flask', ], )
14.888889
28
0.69403
17
134
5.294118
0.941176
0
0
0
0
0
0
0
0
0
0
0
0.171642
134
9
29
14.888889
0.810811
0
0
0
0
0
0.162963
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
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
d2d831f6eb64386427286c0a75fbf2fbd2b7c37d
158
py
Python
config.py
CatalogueOfLife/frontend-tests
81ce0b2999487c60a7e2c7c6673e5da1a8ff028d
[ "Apache-2.0" ]
null
null
null
config.py
CatalogueOfLife/frontend-tests
81ce0b2999487c60a7e2c7c6673e5da1a8ff028d
[ "Apache-2.0" ]
2
2019-07-08T21:24:55.000Z
2019-08-15T14:21:18.000Z
config.py
Sp2000/colplus-frontend-tests
81ce0b2999487c60a7e2c7c6673e5da1a8ff028d
[ "Apache-2.0" ]
null
null
null
import os HOSTNAME = 'localhost' PORT = '3000' PATH = os.path.dirname(os.path.realpath(__file__)) USER = os.environ['COLUSR'] PASSWORD = os.environ['COLPWD']
22.571429
50
0.721519
22
158
5
0.681818
0.109091
0
0
0
0
0
0
0
0
0
0.028369
0.107595
158
7
51
22.571429
0.751773
0
0
0
0
0
0.157233
0
0
0
0
0
0
1
0
false
0.166667
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
d2f4444f1260ed30fd8c4eecd586d557c31d55d8
14,260
py
Python
cyder/cydns/nameserver/migrations/0001_initial.py
ngokevin/chili
36c354ac567471d5e36dccf9eea5096c6b02d4b9
[ "BSD-3-Clause" ]
2
2019-03-16T00:47:09.000Z
2022-03-04T14:39:08.000Z
cyder/cydns/nameserver/migrations/0001_initial.py
ngokevin/chili
36c354ac567471d5e36dccf9eea5096c6b02d4b9
[ "BSD-3-Clause" ]
1
2020-04-24T08:24:55.000Z
2020-04-24T08:24:55.000Z
cyder/cydns/nameserver/migrations/0001_initial.py
ngokevin/chili
36c354ac567471d5e36dccf9eea5096c6b02d4b9
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Nameserver' db.create_table('nameserver', ( ('created', self.gf('django.db.model...
80.11236
192
0.568163
1,477
14,260
5.373053
0.096818
0.101815
0.176411
0.252016
0.768397
0.734879
0.7156
0.664189
0.548639
0.519783
0
0.011248
0.18324
14,260
178
193
80.11236
0.67013
0.02223
0
0.327044
0
0
0.566088
0.289107
0
0
0
0
0
1
0.012579
false
0
0.025157
0
0.056604
0
0
0
0
null
0
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
960462a5ac06ebd70301320b5ec1680e487fc777
71
py
Python
Python/Daily Challenges/Tuple/Flatten_tuple_of_List_to_tuple.py
Aditya8821/Python
58c7ea8daf381256d8a45736832fb70f735757f7
[ "MIT" ]
2
2021-05-12T11:20:39.000Z
2021-06-17T04:35:16.000Z
Python/Daily Challenges/Tuple/Flatten_tuple_of_List_to_tuple.py
Aditya8821/Python
58c7ea8daf381256d8a45736832fb70f735757f7
[ "MIT" ]
null
null
null
Python/Daily Challenges/Tuple/Flatten_tuple_of_List_to_tuple.py
Aditya8821/Python
58c7ea8daf381256d8a45736832fb70f735757f7
[ "MIT" ]
null
null
null
tup = ([5, 6], [6, 7, 8, 9], [3]) res=tuple(sum(tup,[])) print(res)
17.75
34
0.450704
14
71
2.285714
0.785714
0
0
0
0
0
0
0
0
0
0
0.122807
0.197183
71
3
35
23.666667
0.438596
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9604a556ba303592329235ad5c2ea924c95e6841
1,748
py
Python
catalyst/metrics/tests/test_mrr.py
elephantmipt/catalyst
6c706e4859ed7c58e5e6a5b7634176bffd0e2465
[ "Apache-2.0" ]
2
2019-04-19T21:34:31.000Z
2019-05-02T22:50:25.000Z
catalyst/metrics/tests/test_mrr.py
elephantmipt/catalyst
6c706e4859ed7c58e5e6a5b7634176bffd0e2465
[ "Apache-2.0" ]
null
null
null
catalyst/metrics/tests/test_mrr.py
elephantmipt/catalyst
6c706e4859ed7c58e5e6a5b7634176bffd0e2465
[ "Apache-2.0" ]
null
null
null
import torch from catalyst.metrics.mrr import mrr def test_mrr(): """ Tests for catalyst.metrics.mrr metric. """ # # check 0 simple case y_pred = [0.5, 0.2] y_true = [1.0, 0.0] value = mrr(torch.Tensor([y_pred]), torch.Tensor([y_true])) assert value[0][0] == 1 # check 1 simple c...
24.277778
73
0.561785
338
1,748
2.745562
0.10355
0.049569
0.054957
0.038793
0.792026
0.729526
0.703664
0.672414
0.649784
0.649784
0
0.121839
0.253432
1,748
71
74
24.619718
0.589272
0.141876
0
0.634146
0
0
0
0
0
0
0
0
0.219512
1
0.02439
false
0
0.04878
0
0.073171
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
960a46d9c6c778036fc6463f17067e7d14db4147
315
py
Python
tests/run_tests.py
CovenantEyes/py_stringlike
e05aea9d98c0fac788c0e757241c99247afee67b
[ "MIT" ]
4
2015-12-25T18:47:35.000Z
2019-10-04T12:45:44.000Z
tests/run_tests.py
CovenantEyes/py_stringlike
e05aea9d98c0fac788c0e757241c99247afee67b
[ "MIT" ]
null
null
null
tests/run_tests.py
CovenantEyes/py_stringlike
e05aea9d98c0fac788c0e757241c99247afee67b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Hack to allow us to run tests before installing. import sys, os sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '..'))) from unittest import main from test_core import * from test_lazy import * if __name__ == '__main__': main()
19.6875
85
0.68254
51
315
4.019608
0.647059
0.087805
0
0
0
0
0
0
0
0
0
0.011278
0.155556
315
15
86
21
0.759399
0.288889
0
0
0
0
0.045249
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
9614b610e083e1339abb6206df6fa982629ad4e5
99
py
Python
100days/day61/req_ssl.py
chainren/python-learn
5e48e96c4bb212806b9ae0954fdb368abdcf9ba3
[ "Apache-2.0" ]
null
null
null
100days/day61/req_ssl.py
chainren/python-learn
5e48e96c4bb212806b9ae0954fdb368abdcf9ba3
[ "Apache-2.0" ]
16
2020-02-12T03:09:30.000Z
2022-03-12T00:08:59.000Z
100days/day61/req_ssl.py
chainren/python-learn
5e48e96c4bb212806b9ae0954fdb368abdcf9ba3
[ "Apache-2.0" ]
null
null
null
""" ssl证书验证 """ import requests r = requests.get('http://httpbin.org', verify=True) print(r.text)
12.375
51
0.676768
14
99
4.785714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.111111
99
8
52
12.375
0.761364
0.070707
0
0
0
0
0.211765
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
825f1543afbbacfbfc50508eb3037f8c12888f6f
120
py
Python
run.py
babymonitor-iot/babymonitor-iot
310bb523f31a230ed8b6090c222bb2130cefbf15
[ "BSD-2-Clause" ]
2
2020-11-20T00:28:58.000Z
2020-11-24T23:36:30.000Z
run.py
babymonitor-iot/babymonitor-iot
310bb523f31a230ed8b6090c222bb2130cefbf15
[ "BSD-2-Clause" ]
null
null
null
run.py
babymonitor-iot/babymonitor-iot
310bb523f31a230ed8b6090c222bb2130cefbf15
[ "BSD-2-Clause" ]
1
2020-08-11T16:35:54.000Z
2020-08-11T16:35:54.000Z
from project import app, socketio if __name__ == "__main__": print('Run BabyMonitorSoS \n') socketio.run(app)
17.142857
34
0.691667
15
120
5
0.8
0
0
0
0
0
0
0
0
0
0
0
0.191667
120
6
35
20
0.773196
0
0
0
0
0
0.241667
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8260b67360f396275541d33da06fefd17e0fc70e
2,276
py
Python
backend/app/services/mailing/messages.py
mkbeh/fastapi-admin-panel
ba12ad16fe1fdd0f9ec2282b8aa9965bce858cda
[ "MIT" ]
7
2020-12-04T17:45:31.000Z
2022-02-08T02:12:58.000Z
backend/app/services/mailing/messages.py
mkbeh/fastapi-admin-panel
ba12ad16fe1fdd0f9ec2282b8aa9965bce858cda
[ "MIT" ]
null
null
null
backend/app/services/mailing/messages.py
mkbeh/fastapi-admin-panel
ba12ad16fe1fdd0f9ec2282b8aa9965bce858cda
[ "MIT" ]
1
2020-12-04T17:38:44.000Z
2020-12-04T17:38:44.000Z
from core.settings import settings from core.security import generate_confirmation_code from .sender import BaseMessage # To developers: KISS is much more important than DRY! # So do OOP-inheritance ONLY if your new classes has same validation fields, # same purpose AND MANY common logic. # If you have to do some s...
31.178082
88
0.714851
268
2,276
5.940299
0.406716
0.056533
0.072236
0.094221
0.366206
0.366206
0.366206
0.271985
0.178392
0.178392
0
0
0.202109
2,276
72
89
31.611111
0.876652
0.198155
0
0.380952
1
0
0.236784
0.137665
0
0
0
0
0
1
0.071429
false
0.166667
0.071429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
827feb21e7cef570844f706d3cc69ad4efaee0df
6,841
py
Python
tests/test_avi_vantage.py
lange88/splunk-connect-for-syslog
97c32b89426242142b1536e0bd1ca7e808c910be
[ "BSD-2-Clause", "CC0-1.0" ]
null
null
null
tests/test_avi_vantage.py
lange88/splunk-connect-for-syslog
97c32b89426242142b1536e0bd1ca7e808c910be
[ "BSD-2-Clause", "CC0-1.0" ]
null
null
null
tests/test_avi_vantage.py
lange88/splunk-connect-for-syslog
97c32b89426242142b1536e0bd1ca7e808c910be
[ "BSD-2-Clause", "CC0-1.0" ]
null
null
null
# Copyright 2019 Splunk, Inc. # # Use of this source code is governed by a BSD-2-clause-style # license that can be found in the LICENSE-BSD2 file or at # https://opensource.org/licenses/BSD-2-Clause import random from jinja2 import Environment from .sendmessage import * from .splunkutils import * from .timeutils im...
48.51773
1,222
0.694343
1,000
6,841
4.562
0.233
0.024989
0.029592
0.013152
0.70342
0.680623
0.662648
0.630864
0.630864
0.630864
0
0.043611
0.138576
6,841
140
1,223
48.864286
0.730528
0.030551
0
0.714286
0
0.043956
0.482868
0.161962
0
0
0
0
0.043956
1
0.043956
false
0
0.065934
0
0.10989
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8284ca412beacec6149b808aa90baa75ea018597
253
py
Python
xknx/exceptions/__init__.py
marvin-w/xknx
9f8b80fa0906a345c7def519ac3c92c955990a26
[ "MIT" ]
null
null
null
xknx/exceptions/__init__.py
marvin-w/xknx
9f8b80fa0906a345c7def519ac3c92c955990a26
[ "MIT" ]
1
2019-01-06T11:40:16.000Z
2019-01-06T11:40:16.000Z
xknx/exceptions/__init__.py
marvin-w/xknx
9f8b80fa0906a345c7def519ac3c92c955990a26
[ "MIT" ]
null
null
null
"""Module for XKNX Exception handling.""" # flake8: noqa from .exception import ( ConversionError, CouldNotParseAddress, CouldNotParseKNXIP, CouldNotParseTelegram, DeviceIllegalValue, UnsupportedCEMIMessage, XKNXException, )
21.083333
41
0.735178
17
253
10.941176
0.941176
0
0
0
0
0
0
0
0
0
0
0.004878
0.189723
253
11
42
23
0.902439
0.193676
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8286cd30e99787508c1ab0658d8e12f5fe765329
471
py
Python
flair/hyperparameter/__init__.py
ParikhKadam/flair
a1732bc5ab0b4aeb09d1ed3a630ae2fd8fa095ef
[ "MIT" ]
7,539
2018-06-14T19:55:47.000Z
2019-12-18T14:48:24.000Z
flair/hyperparameter/__init__.py
ParikhKadam/flair
a1732bc5ab0b4aeb09d1ed3a630ae2fd8fa095ef
[ "MIT" ]
1,237
2018-07-01T10:09:05.000Z
2019-12-18T09:50:56.000Z
flair/hyperparameter/__init__.py
ParikhKadam/flair
a1732bc5ab0b4aeb09d1ed3a630ae2fd8fa095ef
[ "MIT" ]
958
2018-06-21T07:37:30.000Z
2019-12-17T14:15:00.000Z
from .param_selection import ( SearchSpace, SequenceTaggerParamSelector, TextClassifierParamSelector, ) from .parameter import ( SEQUENCE_TAGGER_PARAMETERS, TEXT_CLASSIFICATION_PARAMETERS, TRAINING_PARAMETERS, Parameter, ) __all__ = [ "Parameter", "SEQUENCE_TAGGER_PARAMETERS", "...
21.409091
37
0.740977
32
471
10.4375
0.46875
0.323353
0.143713
0.227545
0
0
0
0
0
0
0
0
0.180467
471
21
38
22.428571
0.865285
0
0
0
0
0
0.316348
0.233546
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
1
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
82ac01a80f94d473fdc98a13c59d07cfc95ab962
33,490
py
Python
tests/test_interaction.py
bhosale2/PyElastica
520374672cbd6b0c89a912c5019559e66c5535e3
[ "MIT" ]
null
null
null
tests/test_interaction.py
bhosale2/PyElastica
520374672cbd6b0c89a912c5019559e66c5535e3
[ "MIT" ]
null
null
null
tests/test_interaction.py
bhosale2/PyElastica
520374672cbd6b0c89a912c5019559e66c5535e3
[ "MIT" ]
null
null
null
__doc__ = """ Interaction module import test""" import numpy as np import pytest from numpy.testing import assert_allclose from elastica.utils import Tolerance, MaxDimension from elastica.interaction import ( InteractionPlane, find_slipping_elements, AnisotropicFrictionalPlane, nodes_to_elements, S...
35.703625
113
0.608838
4,414
33,490
4.399864
0.069325
0.042737
0.010195
0.015756
0.792029
0.763349
0.719839
0.699912
0.660007
0.649812
0
0.036961
0.273724
33,490
937
114
35.741729
0.761501
0.192983
0
0.491054
0
0
0.011058
0
0
0
0
0
0.075547
1
0.057654
false
0.001988
0.017893
0.003976
0.097416
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
82b10184ece3dde7d6fd16019df8a119b0549cca
55
py
Python
irco/explorer/application.py
GaretJax/irco
e5df3cf1a608dc813011a1ee7e920637e5bd155c
[ "MIT" ]
null
null
null
irco/explorer/application.py
GaretJax/irco
e5df3cf1a608dc813011a1ee7e920637e5bd155c
[ "MIT" ]
null
null
null
irco/explorer/application.py
GaretJax/irco
e5df3cf1a608dc813011a1ee7e920637e5bd155c
[ "MIT" ]
1
2015-12-17T19:18:28.000Z
2015-12-17T19:18:28.000Z
from flask import Flask app = Flask('irco.explorer')
11
28
0.727273
8
55
5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.163636
55
4
29
13.75
0.869565
0
0
0
0
0
0.236364
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
82b708c09a86dcc3b9419522c872ba6f6b0f9451
224
py
Python
ramda/isEmpty.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
1
2022-03-14T07:35:13.000Z
2022-03-14T07:35:13.000Z
ramda/isEmpty.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
3
2022-03-24T02:30:18.000Z
2022-03-31T07:46:04.000Z
ramda/isEmpty.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
null
null
null
from .empty import empty from .equals import equals from .private._curry1 import _curry1 def inner_isEmpty(x): return x is not None and equals(x, empty(x)) isEmpty = _curry1(inner_isEmpty) isEmpty.__name__ = 'isEmpty'
18.666667
46
0.763393
34
224
4.764706
0.470588
0.148148
0
0
0
0
0
0
0
0
0
0.015789
0.151786
224
11
47
20.363636
0.836842
0
0
0
0
0
0.03125
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
82cac1cf541b4ea4504f1b1b805ad0ed901d00e9
3,352
py
Python
load_d2c_data/question_to_fields_test.py
0bserver07/neural-engineers-first-attempt
19760251b7080ffe2e7b15146af6844811da4141
[ "MIT" ]
10
2017-09-10T14:42:36.000Z
2020-12-03T11:45:17.000Z
load_d2c_data/question_to_fields_test.py
0bserver07/neural-engineers-first-attempt
19760251b7080ffe2e7b15146af6844811da4141
[ "MIT" ]
null
null
null
load_d2c_data/question_to_fields_test.py
0bserver07/neural-engineers-first-attempt
19760251b7080ffe2e7b15146af6844811da4141
[ "MIT" ]
7
2017-10-03T04:43:50.000Z
2020-09-23T14:39:27.000Z
# -*- coding: utf-8 -*- question = '''Once when Gerald studied in the first year at school , his teacher gave the class the following homework . She offered the students a string consisting of n small Latin letters ; the task was to learn the way the letters that the string contains are written . However , as Gerald ...
98.588235
2,459
0.670943
643
3,352
3.676516
0.286159
0.020305
0.041878
0.02665
0.131557
0.073604
0.038917
0.038917
0.027919
0.027919
0
0.013233
0.210919
3,352
34
2,460
98.588235
0.837051
0.006265
0
0
0
0.076923
0.845988
0
0
0
0
0
0
0
null
null
0
0
null
null
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
82d00a5b7953d15337ccd95f420ffde13c0e6a4b
687
py
Python
pyNastran/op2/test/all_tests.py
Msegade/pyNastran
ae36548579c6bb2ee3a4fff207f7211c1986a5ab
[ "BSD-3-Clause" ]
null
null
null
pyNastran/op2/test/all_tests.py
Msegade/pyNastran
ae36548579c6bb2ee3a4fff207f7211c1986a5ab
[ "BSD-3-Clause" ]
1
2021-06-07T16:33:59.000Z
2021-06-07T16:33:59.000Z
pyNastran/op2/test/all_tests.py
Msegade/pyNastran
ae36548579c6bb2ee3a4fff207f7211c1986a5ab
[ "BSD-3-Clause" ]
1
2021-10-14T03:52:44.000Z
2021-10-14T03:52:44.000Z
from pyNastran.op2.test.op2_unit_tests import TestOP2, TestOP2Unit from pyNastran.op2.test.matrices.test_matrices import TestOP2Matrix from pyNastran.op2.test.examples.test_op2_in_material_coord import TestMaterialCoordReal from pyNastran.op2.test.examples.test_op2_in_material_coord_panel_SOL_108 import TestMaterialCoo...
49.071429
105
0.858806
95
687
5.905263
0.4
0.185383
0.228164
0.142603
0.285205
0.285205
0.178253
0.178253
0.178253
0.178253
0
0.031646
0.080058
687
13
106
52.846154
0.856013
0.02329
0
0
0
0
0.011958
0
0
0
0
0
0
1
0
true
0
0.818182
0
0.818182
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
82dc7044074a858fce5490b9627aafb984371532
306
py
Python
main/management/commands/movebackups.py
kristianmk/tator
0eb75ee9333316b06f773de2b75e8e797a98ffdb
[ "MIT" ]
50
2019-09-18T14:32:18.000Z
2022-03-31T16:26:07.000Z
main/management/commands/movebackups.py
kristianmk/tator
0eb75ee9333316b06f773de2b75e8e797a98ffdb
[ "MIT" ]
566
2019-09-18T16:33:40.000Z
2022-03-31T20:01:38.000Z
main/management/commands/movebackups.py
kristianmk/tator
0eb75ee9333316b06f773de2b75e8e797a98ffdb
[ "MIT" ]
19
2019-09-21T20:08:12.000Z
2022-03-17T14:53:11.000Z
import time from django.core.management.base import BaseCommand from django.core.management.base import CommandError from main.util import move_backups_to_s3 class Command(BaseCommand): help = "Moves backups to object storage." def handle(self, *args, **options): move_backups_to_s3()
21.857143
52
0.761438
42
306
5.404762
0.619048
0.118943
0.123348
0.211454
0.299559
0.299559
0
0
0
0
0
0.007782
0.160131
306
13
53
23.538462
0.875486
0
0
0
0
0
0.104918
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.875
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
7d56bc661c981631026fe18784d7bf1b6ced40db
162
py
Python
HackerRank/30 Days of Code/Day 1 - Data Types.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
HackerRank/30 Days of Code/Day 1 - Data Types.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
HackerRank/30 Days of Code/Day 1 - Data Types.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
input_int = int(input()) input_double = float(input()) input_string = str(input()) print(i + input_int) print(round(d + input_double, 1)) print(s + input_string)
23.142857
33
0.716049
26
162
4.230769
0.461538
0.145455
0
0
0
0
0
0
0
0
0
0.006993
0.117284
162
7
34
23.142857
0.762238
0
0
0
0
0
0
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
7d5fafb4d9f15acec9ce95fd0e7d99a3a338a0dd
1,390
py
Python
flask/migrations/versions/71ea99d099f6_.py
schinke/solid-fortnight-ba
221ad998e51e9b2634d1cfb17c84ad28dbc9a7d5
[ "MIT" ]
1
2016-08-19T09:33:09.000Z
2016-08-19T09:33:09.000Z
flask/migrations/versions/71ea99d099f6_.py
schinke/solid-fortnight-ba
221ad998e51e9b2634d1cfb17c84ad28dbc9a7d5
[ "MIT" ]
null
null
null
flask/migrations/versions/71ea99d099f6_.py
schinke/solid-fortnight-ba
221ad998e51e9b2634d1cfb17c84ad28dbc9a7d5
[ "MIT" ]
null
null
null
"""empty message Revision ID: 71ea99d099f6 Revises: f7a0c20d627c Create Date: 2016-08-18 00:55:14.306646 """ # revision identifiers, used by Alembic. revision = '71ea99d099f6' down_revision = 'f7a0c20d627c' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - ...
42.121212
138
0.751799
170
1,390
5.811765
0.3
0.145749
0.279352
0.097166
0.710526
0.710526
0.710526
0.633603
0.512146
0.463563
0
0.040519
0.11223
1,390
32
139
43.4375
0.76013
0.209353
0
0.142857
0
0
0.491557
0.34334
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
0
1
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7d63f613d29d6486b9a26d7959857af34c06339c
107
py
Python
scav-hunt/config.py
scottshepard/MScA-Robotics-Capstone
29762ef87274fcd4d86a69918edc44f2a9f99ed5
[ "MIT" ]
3
2019-11-16T20:38:10.000Z
2020-04-11T01:24:36.000Z
scav-hunt/config.py
scottshepard/MScA-Robotics-Capstone
29762ef87274fcd4d86a69918edc44f2a9f99ed5
[ "MIT" ]
1
2019-12-05T01:57:28.000Z
2019-12-05T01:57:28.000Z
scav-hunt/config.py
MScA-Robotics/capstone-project-3
29762ef87274fcd4d86a69918edc44f2a9f99ed5
[ "MIT" ]
2
2020-05-17T19:56:12.000Z
2020-06-23T02:09:30.000Z
params = { 'radius': 300, 'cone_dist': 350, 'h_spd': 400, 'm_spd': 200, 'l_spd': 30 }
11.888889
21
0.46729
15
107
3.066667
0.866667
0
0
0
0
0
0
0
0
0
0
0.194444
0.327103
107
8
22
13.375
0.444444
0
0
0
0
0
0.283019
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7d8077171bbe02f9e95508f06317acd3a1cb9f54
837
py
Python
cat-pi-monitor/photo_utils.py
gajanlee/cat-pi-monitor
b91640bbfb204418b88c925136f93ec25a3dfae6
[ "MIT" ]
null
null
null
cat-pi-monitor/photo_utils.py
gajanlee/cat-pi-monitor
b91640bbfb204418b88c925136f93ec25a3dfae6
[ "MIT" ]
null
null
null
cat-pi-monitor/photo_utils.py
gajanlee/cat-pi-monitor
b91640bbfb204418b88c925136f93ec25a3dfae6
[ "MIT" ]
null
null
null
import base64 def get_image_bytes(image_path): with open(image_path, "rb") as f: return f.read() def get_image_base64_from_bytes(image_bytes): return base64.b64encode(image_bytes) def get_image_base64_from_path(image_path): image_bytes = get_image_bytes(image_path) return get_image_base64_fro...
26.15625
54
0.776583
129
837
4.589147
0.255814
0.168919
0.101351
0.128378
0.503378
0.420608
0.319257
0.20777
0
0
0
0.041841
0.143369
837
32
55
26.15625
0.783821
0
0
0.130435
0
0
0.008353
0
0
0
0
0
0
1
0.391304
false
0.130435
0.043478
0.086957
0.608696
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
7d810849729c5c163b3891c71a6aff9973fd8205
164
py
Python
app/database.py
herbeeg/conical-cms
bf184c3be1eaddae7eef344ba56e9a11643641e0
[ "MIT" ]
null
null
null
app/database.py
herbeeg/conical-cms
bf184c3be1eaddae7eef344ba56e9a11643641e0
[ "MIT" ]
null
null
null
app/database.py
herbeeg/conical-cms
bf184c3be1eaddae7eef344ba56e9a11643641e0
[ "MIT" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() """ Setup the database object which gets imported into all required files to avoid circular imports. """
20.5
54
0.786585
22
164
5.818182
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.152439
164
7
55
23.428571
0.920863
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7da9a00bb86502329b3b3f150c906b83c9ae4321
512
py
Python
crescent/resources/firehose/delivery_stream/encryption_configuration.py
mpolatcan/zepyhrus
2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67
[ "Apache-2.0" ]
1
2020-03-26T19:20:03.000Z
2020-03-26T19:20:03.000Z
crescent/resources/firehose/delivery_stream/encryption_configuration.py
mpolatcan/zepyhrus
2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67
[ "Apache-2.0" ]
null
null
null
crescent/resources/firehose/delivery_stream/encryption_configuration.py
mpolatcan/zepyhrus
2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67
[ "Apache-2.0" ]
null
null
null
from crescent.core import Model from crescent.functions import AnyFn from .kms_encryption_config import KMSEncryptionConfig from typing import Union class EncryptionConfiguration(Model): def KMSEncryptionConfig(self, kms_encryption_conf: KMSEncryptionConfig): return self._set_field(self.KMSEncryptionConfi...
39.384615
86
0.822266
59
512
6.762712
0.423729
0.140351
0.085213
0.090226
0.110276
0
0
0
0
0
0
0
0.117188
512
12
87
42.666667
0.882743
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.444444
0.222222
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
1
1
0
0
0
3
7deb113b836e0241bbb21327c3e3ac4f127df97b
165,502
py
Python
turdshovel/_stubs/System/Reflection/__init__.py
daddycocoaman/turdshovel
6f9d9b08734028fa819c590e8573ae49481dc769
[ "MIT" ]
39
2021-10-30T06:34:21.000Z
2022-03-22T09:04:40.000Z
turdshovel/_stubs/System/Reflection/__init__.py
daddycocoaman/turdshovel
6f9d9b08734028fa819c590e8573ae49481dc769
[ "MIT" ]
null
null
null
turdshovel/_stubs/System/Reflection/__init__.py
daddycocoaman/turdshovel
6f9d9b08734028fa819c590e8573ae49481dc769
[ "MIT" ]
3
2021-10-30T03:56:16.000Z
2021-11-08T01:59:32.000Z
# encoding: utf-8 # module System.Reflection calls itself Reflection # from mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, System.Reflection.Metadata, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50...
36.096401
688
0.633678
16,666
165,502
5.962018
0.051602
0.0628
0.059177
0.076085
0.651591
0.621559
0.572799
0.547598
0.522901
0.511941
0
0.005766
0.244511
165,502
4,584
689
36.104276
0.788915
0.075328
0
0.708313
0
0
0.003533
0.000625
0
0
0
0
0.000492
0
null
null
0.333005
0.000984
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
8148a4a8c9845dde838c0081397b352d71916831
350
py
Python
portal/migrations/versions/1e09e871fb65_.py
uwcirg/true_nth_usa_portal
e2434731aed86f1c43f15d428dde8ffc28ac7e5f
[ "BSD-3-Clause" ]
3
2017-01-15T10:11:57.000Z
2018-10-02T23:46:44.000Z
portal/migrations/versions/1e09e871fb65_.py
uwcirg/true_nth_usa_portal
e2434731aed86f1c43f15d428dde8ffc28ac7e5f
[ "BSD-3-Clause" ]
876
2016-04-04T20:45:11.000Z
2019-02-28T00:10:36.000Z
portal/migrations/versions/1e09e871fb65_.py
uwcirg/truenth-portal
459a0d157982f010175c50b9cccd860a61790370
[ "BSD-3-Clause" ]
9
2016-04-13T01:18:55.000Z
2018-09-19T20:44:23.000Z
from alembic import op import sqlalchemy as sa """empty message Revision ID: 1e09e871fb65 Revises: ('0b4e7a8a7e64', '0701782c564d') Create Date: 2019-03-28 23:08:21.960495 """ # revision identifiers, used by Alembic. revision = '1e09e871fb65' down_revision = ('0b4e7a8a7e64', '0701782c564d') def upgrade(): pas...
15.217391
48
0.722857
42
350
6
0.761905
0.190476
0
0
0
0
0
0
0
0
0
0.238095
0.16
350
22
49
15.909091
0.619048
0.108571
0
0.25
0
0
0.2
0
0
0
0
0
0
1
0.25
false
0.25
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
814a96be040539335f52d4616b6667d3d586c888
322
py
Python
logger/__init__.py
kaulketh/RingPi-Bot
277dbb26b59ebb63181ebadf56cd4ae60e7ba909
[ "Unlicense" ]
1
2021-10-01T13:54:20.000Z
2021-10-01T13:54:20.000Z
logger/__init__.py
kaulketh/RingPi-Bot
277dbb26b59ebb63181ebadf56cd4ae60e7ba909
[ "Unlicense" ]
null
null
null
logger/__init__.py
kaulketh/RingPi-Bot
277dbb26b59ebb63181ebadf56cd4ae60e7ba909
[ "Unlicense" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- # ----------------------------------------------------------- # __init__.py # created 01.10.2021 # Thomas Kaulke, kaulketh@gmail.com # https://github.com/kaulketh # ----------------------------------------------------------- from .logger import get_logger LOGGER = get_logger(...
26.833333
61
0.434783
29
322
4.62069
0.793103
0.134328
0
0
0
0
0
0
0
0
0
0.03413
0.090062
322
11
62
29.272727
0.423208
0.782609
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8151adba6a20906159600c1960e4b696eec069b1
70
py
Python
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Zipf_Distribution.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
5
2021-06-02T23:44:25.000Z
2021-12-27T16:21:57.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Zipf_Distribution.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
22
2021-05-31T01:33:25.000Z
2021-10-18T18:32:39.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Zipf_Distribution.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
3
2021-06-19T03:37:47.000Z
2021-08-31T00:49:51.000Z
from numpy import random x = random.zipf(a=2, size=(2, 3)) print(x)
11.666667
33
0.657143
14
70
3.285714
0.785714
0
0
0
0
0
0
0
0
0
0
0.051724
0.171429
70
5
34
14
0.741379
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
815d997da967d1e68a84699f4308db34a09752b8
888
py
Python
stacker/cf_helper/__init__.py
elliottgorrell/stacker
6a8f2518dd04606255107937820bf3c249efd839
[ "MIT" ]
null
null
null
stacker/cf_helper/__init__.py
elliottgorrell/stacker
6a8f2518dd04606255107937820bf3c249efd839
[ "MIT" ]
null
null
null
stacker/cf_helper/__init__.py
elliottgorrell/stacker
6a8f2518dd04606255107937820bf3c249efd839
[ "MIT" ]
null
null
null
import yaml def secure_print(plaintext, secrets): result = plaintext for secret in secrets: result = result.replace(secret, "*****") return result def construct_function_ignore(loader, parameter): return parameter yaml.add_constructor(u"!FindInMap", construct_function_ignore) yaml.add_cons...
34.153846
62
0.804054
115
888
5.895652
0.278261
0.300885
0.40708
0.30826
0.619469
0.619469
0.619469
0
0
0
0
0
0.084459
888
25
63
35.52
0.833948
0
0
0
0
0
0.074324
0
0
0
0
0
0
1
0.105263
false
0
0.052632
0.052632
0.263158
0.052632
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
816a4c131679d15c1bb737276105ca84823b00b5
363
py
Python
files/exercises/tabular-inspecting.py
mforneris/introduction_to_python_course
8075973ee89a921a5e2693f649adbf1fc0e0b2cb
[ "CC-BY-4.0" ]
null
null
null
files/exercises/tabular-inspecting.py
mforneris/introduction_to_python_course
8075973ee89a921a5e2693f649adbf1fc0e0b2cb
[ "CC-BY-4.0" ]
null
null
null
files/exercises/tabular-inspecting.py
mforneris/introduction_to_python_course
8075973ee89a921a5e2693f649adbf1fc0e0b2cb
[ "CC-BY-4.0" ]
1
2020-01-09T10:58:56.000Z
2020-01-09T10:58:56.000Z
# Inspecting Data. # After reading the data for the Americas, use help(americas.head) # and help(americas.tail) to find out what DataFrame.head and DataFrame.tail do. # What method call will display the first three rows of this data? # What method call will display the last three columns of this data? # (Hint: you ...
40.333333
80
0.754821
62
363
4.419355
0.580645
0.051095
0.10219
0.131387
0.20438
0.20438
0
0
0
0
0
0
0.181818
363
8
81
45.375
0.922559
0.958678
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8198f5cd8827dad8bba83eeb9c733284bc04d753
135
py
Python
ramsey/covariance_functions.py
dirmeier/ramsey
1bf843616bc4d530d0f48841511d20101b524935
[ "Apache-2.0" ]
1
2022-03-30T00:00:36.000Z
2022-03-30T00:00:36.000Z
ramsey/covariance_functions.py
dirmeier/pax
e84408137dd4ede57c1d312203ec3216becc0b3b
[ "Apache-2.0" ]
2
2021-12-27T12:54:38.000Z
2022-01-03T16:41:02.000Z
ramsey/covariance_functions.py
dirmeier/ramsey
1bf843616bc4d530d0f48841511d20101b524935
[ "Apache-2.0" ]
null
null
null
from ramsey._src.gaussian_process.covariance.stationary import ( exponentiated_quadratic, ) __all__ = ["exponentiated_quadratic"]
22.5
64
0.807407
13
135
7.769231
0.846154
0.435644
0
0
0
0
0
0
0
0
0
0
0.103704
135
5
65
27
0.834711
0
0
0
0
0
0.17037
0.17037
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
81c967975353380b2a7e67b264d8df41c2f6586b
955
py
Python
Chapter04/rlocks.py
ibiscum/Learning-Concurrency-in-Python
d3f0320ad2a80c46b37de331bf335b80df0d3ed9
[ "MIT" ]
null
null
null
Chapter04/rlocks.py
ibiscum/Learning-Concurrency-in-Python
d3f0320ad2a80c46b37de331bf335b80df0d3ed9
[ "MIT" ]
null
null
null
Chapter04/rlocks.py
ibiscum/Learning-Concurrency-in-Python
d3f0320ad2a80c46b37de331bf335b80df0d3ed9
[ "MIT" ]
null
null
null
import threading import time class MyWorker: def __init__(self): self.a = 1 self.b = 2 self.rlock = threading.RLock() def modify_a(self): with self.rlock: print("Modifying A : RLock Acquired: {}".format(self.rlock._is_owned())) print("{}".format(self.r...
25.131579
84
0.534031
118
955
4.169492
0.211864
0.20122
0.213415
0.203252
0.662602
0.617886
0.239837
0.239837
0.239837
0.239837
0
0.009245
0.320419
955
37
85
25.810811
0.748844
0
0
0.344828
0
0
0.112042
0
0
0
0
0
0
1
0.137931
false
0
0.068966
0
0.241379
0.275862
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
81ca8654e0dd557fa35fc01d10c0c119b8441896
681
py
Python
chapter_14-IterablesIteratorsAndGenerators/sample_14_14.py
zixingkong/Fluent-Python
6f05ec5f27a1cf582ddc5a09959f446d455b6c4a
[ "MIT" ]
null
null
null
chapter_14-IterablesIteratorsAndGenerators/sample_14_14.py
zixingkong/Fluent-Python
6f05ec5f27a1cf582ddc5a09959f446d455b6c4a
[ "MIT" ]
null
null
null
chapter_14-IterablesIteratorsAndGenerators/sample_14_14.py
zixingkong/Fluent-Python
6f05ec5f27a1cf582ddc5a09959f446d455b6c4a
[ "MIT" ]
1
2022-03-14T15:04:58.000Z
2022-03-14T15:04:58.000Z
# -*- coding: utf-8 -*- """ ------------------------------------------------- File Name: sample_14_14 Description : date: 2022/2/21 ------------------------------------------------- """ def vowel(c): return c.lower() in 'aeiou' print(list(filter(vowel, 'Aardvark'))) import itertools print...
27.24
63
0.568282
78
681
4.935897
0.435897
0.187013
0.327273
0.171429
0.496104
0.171429
0
0
0
0
0
0.039867
0.116006
681
24
64
28.375
0.599668
0.290749
0
0
0
0
0.145263
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0.090909
0.272727
0.727273
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
81e7454a361357b44e1a76de15036d7dae91fd85
3,799
py
Python
security_monkey/monitors.py
scriptsrc/security_monkey
9994c1dcd63b5c0e8ee24b69ecdb5f562114c14c
[ "Apache-2.0" ]
12
2015-09-07T22:27:24.000Z
2020-04-10T08:56:17.000Z
security_monkey/monitors.py
airbnb/security_monkey
21a435a9b68421a0444c235a79cc48cb4396011f
[ "Apache-2.0" ]
2
2021-03-20T05:33:09.000Z
2021-03-26T00:40:13.000Z
security_monkey/monitors.py
scriptsrc/security_monkey
9994c1dcd63b5c0e8ee24b69ecdb5f562114c14c
[ "Apache-2.0" ]
10
2015-06-11T05:01:19.000Z
2020-11-13T11:05:16.000Z
""" .. module: security_monkey.monitors :platform: Unix :synopsis: Monitors are a grouping of a watcher and it's associated auditor .. version:: $$VERSION$$ .. moduleauthor:: Patrick Kelley <pkelley@netflix.com> @monkeysecurity """ from security_monkey.watchers.iam.iam_role import IAMRole from security_monkey...
37.613861
83
0.778889
455
3,799
6.347253
0.197802
0.150277
0.186981
0.16205
0.13885
0.088643
0
0
0
0
0
0.002463
0.145038
3,799
100
84
37.99
0.8867
0.07344
0
0
0
0
0
0
0
0
0
0
0
1
0.050633
false
0
0.379747
0.037975
0.481013
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c4971dc9c077057a3e31fe96a1a63203c617d5e5
1,027
py
Python
modules/dbnd/src/dbnd/_core/plugin/dbnd_airflow_operator_plugin.py
turbaszek/dbnd
6efbf3e7ecd175645e8e58d0d015d32fe9e95ea0
[ "Apache-2.0" ]
null
null
null
modules/dbnd/src/dbnd/_core/plugin/dbnd_airflow_operator_plugin.py
turbaszek/dbnd
6efbf3e7ecd175645e8e58d0d015d32fe9e95ea0
[ "Apache-2.0" ]
null
null
null
modules/dbnd/src/dbnd/_core/plugin/dbnd_airflow_operator_plugin.py
turbaszek/dbnd
6efbf3e7ecd175645e8e58d0d015d32fe9e95ea0
[ "Apache-2.0" ]
null
null
null
_AIRFLOW_OPERATOR_ENABLED = None def _is_airflow_operator_enabled(): try: import dbnd_airflow_operator return True except ImportError: return False def is_airflow_operator_enabled(): global _AIRFLOW_OPERATOR_ENABLED if _AIRFLOW_OPERATOR_ENABLED is None: _AIRFLOW_OPER...
26.333333
84
0.777994
137
1,027
5.218978
0.233577
0.251748
0.276923
0.134266
0.640559
0.481119
0.369231
0.276923
0.148252
0.148252
0
0
0.177215
1,027
38
85
27.026316
0.846154
0.037001
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.583333
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
c4a198095707a173bb5411b18080863bebc2769d
929
py
Python
cave/analyzer/base_analyzer.py
JuAbels/CAVE
344cf9bf6d205cfe892780cd13c94e67a5e8549c
[ "BSD-3-Clause" ]
51
2019-02-01T19:43:37.000Z
2022-03-16T09:07:03.000Z
cave/analyzer/base_analyzer.py
JuAbels/CAVE
344cf9bf6d205cfe892780cd13c94e67a5e8549c
[ "BSD-3-Clause" ]
2
2019-02-23T18:54:22.000Z
2019-11-09T01:30:32.000Z
cave/analyzer/base_analyzer.py
JuAbels/CAVE
344cf9bf6d205cfe892780cd13c94e67a5e8549c
[ "BSD-3-Clause" ]
35
2019-02-08T02:00:31.000Z
2022-03-01T23:17:00.000Z
from typing import List, Tuple class BaseAnalyzer(object): def __init__(self, *args, **kwargs): self.plots = [] def get_static_plots(self) -> List[str]: """ Returns plot-paths, if any are available Returns ------- plot_paths: List[str] returns list of stri...
26.542857
103
0.589882
102
929
5.27451
0.558824
0.04461
0.150558
0.167286
0
0
0
0
0
0
0
0
0.300323
929
34
104
27.323529
0.827692
0.401507
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.416667
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
c4a5626a645f4f86385e2817e0d6d8761b3483aa
159
py
Python
src/config.py
Spendency/cw-logs-to-lambda
24dcd104ddbae159f2568d0672d05731b9884504
[ "MIT" ]
null
null
null
src/config.py
Spendency/cw-logs-to-lambda
24dcd104ddbae159f2568d0672d05731b9884504
[ "MIT" ]
null
null
null
src/config.py
Spendency/cw-logs-to-lambda
24dcd104ddbae159f2568d0672d05731b9884504
[ "MIT" ]
null
null
null
"""Environment configuration values used by lambda functions.""" import os LOG_LEVEL = os.getenv('LOG_LEVEL', 'INFO') LAMBDA_NAME = os.getenv('LAMBDA_NAME')
22.714286
64
0.748428
22
159
5.227273
0.636364
0.13913
0
0
0
0
0
0
0
0
0
0
0.113208
159
6
65
26.5
0.815603
0.36478
0
0
0
0
0.252632
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
c4c7058ec6a032513d2812ed70f1b0ce7f05eebc
8,449
py
Python
Micropython_ESP8266/fontlib_rot.py
arkahu/Stuff
6b5955444a4c538ce194764c28389e7043ab5cdd
[ "MIT" ]
null
null
null
Micropython_ESP8266/fontlib_rot.py
arkahu/Stuff
6b5955444a4c538ce194764c28389e7043ab5cdd
[ "MIT" ]
null
null
null
Micropython_ESP8266/fontlib_rot.py
arkahu/Stuff
6b5955444a4c538ce194764c28389e7043ab5cdd
[ "MIT" ]
null
null
null
#Shortened from Standard_rotated to fit RAM # Font: Standard.pf fonts = ( 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, # Char 000 (.) 0x7E, 0x81, 0x95, 0xB1, 0xB1, 0x95, 0x81, 0x7E, # Char 001 (.) 0x7E, 0xFF, 0xEB, 0xCF, 0xCF, 0xEB, 0xFF, 0x7E, # Char 002 (.) 0x0E, 0x1F, 0x3F, 0x7E, 0x3F, 0x1F, 0x0E, 0x00, # Ch...
58.268966
63
0.617351
1,381
8,449
3.775525
0.224475
0.181051
0.071346
0.049099
0.163406
0.064442
0.041427
0.013809
0.013809
0
0
0.460095
0.205113
8,449
144
64
58.673611
0.31626
0.210084
0
0.014925
0
0
0
0
0
0
0.626395
0
0
1
0.007463
false
0
0
0
0.014925
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
3
c4cafc1e4d3200a511da9b5c2cc5e47d93fdf6e9
353
py
Python
docker/test/integration/minifi/core/RemoteProcessGroup.py
dtrodrigues/nifi-minifi-cpp
87147e2dffcda6cc6e4e0510a57cc88011fda37f
[ "Apache-2.0", "OpenSSL" ]
113
2016-04-30T15:00:13.000Z
2022-03-26T20:42:58.000Z
docker/test/integration/minifi/core/RemoteProcessGroup.py
dtrodrigues/nifi-minifi-cpp
87147e2dffcda6cc6e4e0510a57cc88011fda37f
[ "Apache-2.0", "OpenSSL" ]
688
2016-04-28T17:52:38.000Z
2022-03-29T07:58:05.000Z
docker/test/integration/minifi/core/RemoteProcessGroup.py
dtrodrigues/nifi-minifi-cpp
87147e2dffcda6cc6e4e0510a57cc88011fda37f
[ "Apache-2.0", "OpenSSL" ]
104
2016-04-28T15:20:51.000Z
2022-03-01T13:39:20.000Z
import uuid class RemoteProcessGroup(object): def __init__(self, url, name=None): self.uuid = uuid.uuid4() if name is None: self.name = str(self.uuid) else: self.name = name self.url = url def get_name(self): return self.name def get_uuid...
17.65
39
0.558074
45
353
4.244444
0.4
0.125654
0.146597
0
0
0
0
0
0
0
0
0.004348
0.348442
353
19
40
18.578947
0.826087
0
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.153846
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c4cf8a38457c1f5aba592e5d7ad3b02bd81e7daa
1,487
py
Python
helpers/sloping3.py
abidhaque/LineScore
48a43e6a834c4ec49eaf6d9d6b11fbcd3c05410c
[ "MIT" ]
null
null
null
helpers/sloping3.py
abidhaque/LineScore
48a43e6a834c4ec49eaf6d9d6b11fbcd3c05410c
[ "MIT" ]
null
null
null
helpers/sloping3.py
abidhaque/LineScore
48a43e6a834c4ec49eaf6d9d6b11fbcd3c05410c
[ "MIT" ]
null
null
null
import cv2 as cv import numpy as np def find_slope(region,ker): # reg = np.array(region, dtype=np.float64) kern = np.array(ker, dtype=np.float64) divs = kern.shape[0] reg = np.ndarray([divs,region.shape[0],region.shape[1]], dtype=np.float64) reg[:] = np.array(region, dtype=np.float64) slope_ma...
64.652174
393
0.66308
281
1,487
3.405694
0.128114
0.104493
0.125392
0.125392
0.742947
0.701149
0.701149
0.638454
0.638454
0.638454
0
0.080417
0.096839
1,487
22
394
67.590909
0.632167
0.068594
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.230769
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
c4d9581da73463e4289d06fd968ab1f5650b908f
1,886
py
Python
packages/syft/src/syft/core/pointer/garbage_collection/gc_strategy.py
exityan/PySyft
35166c487a5be57f9ad28929ed88a8ba6bdd5aeb
[ "Apache-2.0" ]
2
2020-10-19T19:18:46.000Z
2020-12-07T12:06:30.000Z
packages/syft/src/syft/core/pointer/garbage_collection/gc_strategy.py
Metrix1010/PySyft
6477f64b63dc285059c3766deab3993653cead2e
[ "Apache-2.0" ]
5
2020-09-11T05:47:12.000Z
2020-10-13T08:36:17.000Z
packages/syft/src/syft/core/pointer/garbage_collection/gc_strategy.py
Metrix1010/PySyft
6477f64b63dc285059c3766deab3993653cead2e
[ "Apache-2.0" ]
1
2020-10-15T06:13:38.000Z
2020-10-15T06:13:38.000Z
"""The strategy that all GC Heuristics should implement.""" # stdlib from abc import ABC from abc import abstractmethod from typing import Any from typing import Dict from typing import List from typing import Type # syft relative from ..pointer import Pointer class GCStrategy(ABC): """The Strategy that all GC H...
29.46875
83
0.653765
224
1,886
5.334821
0.383929
0.058577
0.053556
0.030126
0.174059
0.174059
0.174059
0.113808
0.113808
0.113808
0
0
0.267762
1,886
63
84
29.936508
0.865315
0.40562
0
0.086957
0
0
0.072264
0
0
0
0
0
0
1
0.173913
false
0.086957
0.304348
0
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
c4e783d4afd1a248fd57208d2c6fdd569705ead7
621
py
Python
trees/tssb/df.py
islamazhar/trees
502565c5bf02503c7bece09cddd93f9368da02c3
[ "MIT" ]
null
null
null
trees/tssb/df.py
islamazhar/trees
502565c5bf02503c7bece09cddd93f9368da02c3
[ "MIT" ]
null
null
null
trees/tssb/df.py
islamazhar/trees
502565c5bf02503c7bece09cddd93f9368da02c3
[ "MIT" ]
null
null
null
from ..distribution import Distribution import theano.tensor as T from theanify.theanify import Theanifiable, theanify class DepthFunction(Theanifiable, Distribution): def __init__(self, **parameters): Theanifiable.__init__(self) Distribution.__init__(self, parameters) self.compile() ...
25.875
52
0.679549
69
621
5.869565
0.405797
0.138272
0.088889
0
0
0
0
0
0
0
0
0
0.217391
621
23
53
27
0.833333
0
0
0
0
0
0.011272
0
0
0
0
0
0
1
0.235294
false
0
0.176471
0.117647
0.705882
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
c4f117fc4bd08e2011e1e490f8bd3cb2f9daa8a7
178
py
Python
pmd-python/src/test/resources/net/sourceforge/pmd/lang/python/cpd/testdata/special_comments.py
squaresurf/pmd
7173f65a8733aef2e98cf7ade3828e0acaf8c6d8
[ "Apache-2.0" ]
3,765
2015-01-05T03:09:14.000Z
2022-03-31T12:10:03.000Z
pmd-python/src/test/resources/net/sourceforge/pmd/lang/python/cpd/testdata/special_comments.py
borovikovd/pmd
93237c293ba7504a6e3a95a15b74b54bd0109887
[ "Apache-2.0" ]
3,398
2015-02-19T20:01:26.000Z
2022-03-31T17:15:12.000Z
pmd-python/src/test/resources/net/sourceforge/pmd/lang/python/cpd/testdata/special_comments.py
borovikovd/pmd
93237c293ba7504a6e3a95a15b74b54bd0109887
[ "Apache-2.0" ]
1,462
2015-01-20T06:59:58.000Z
2022-03-30T03:11:40.000Z
import logging # CPD-OFF logger = logging.getLogger('django.request') class BaseHandler(object): def __init__(self): self._request_middleware = None # CPD-ON
22.25
44
0.691011
21
178
5.571429
0.809524
0
0
0
0
0
0
0
0
0
0
0
0.202247
178
7
45
25.428571
0.823944
0.078652
0
0
0
0
0.086957
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
c4f4ca4420022fda3e28414915f86461493774c7
11
py
Python
tests/config_testfiles/testing.py
GitKlip/python-common
b44d1aaba5db3e1aa571b189999a8edea54c96bb
[ "MIT" ]
null
null
null
tests/config_testfiles/testing.py
GitKlip/python-common
b44d1aaba5db3e1aa571b189999a8edea54c96bb
[ "MIT" ]
null
null
null
tests/config_testfiles/testing.py
GitKlip/python-common
b44d1aaba5db3e1aa571b189999a8edea54c96bb
[ "MIT" ]
null
null
null
MYVAR = 1
3.666667
9
0.545455
2
11
3
1
0
0
0
0
0
0
0
0
0
0
0.142857
0.363636
11
2
10
5.5
0.714286
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
c4f646117fcb25118245f38914135aa40bd7e911
811
py
Python
src/vscodeextension/src/test/testfiles/python/xx_presentation.py
DarkTrick/SourceCodeVisualizer
8a68c36cfdbffdb87593c1c558e82abec66dbfc2
[ "BSD-3-Clause" ]
11
2022-03-03T13:02:07.000Z
2022-03-20T19:37:14.000Z
src/vscodeextension/src/test/testfiles/python/xx_presentation.py
DarkTrick/SourceCodeVisualizer
8a68c36cfdbffdb87593c1c558e82abec66dbfc2
[ "BSD-3-Clause" ]
1
2022-03-07T20:56:40.000Z
2022-03-09T04:00:25.000Z
src/vscodeextension/src/test/testfiles/python/xx_presentation.py
DarkTrick/SourceCodeVisualizer
8a68c36cfdbffdb87593c1c558e82abec66dbfc2
[ "BSD-3-Clause" ]
1
2022-01-27T03:15:28.000Z
2022-01-27T03:15:28.000Z
def main(): print ("hello ") printWorld () def printWorld(): print ("World") class クラス: def foo1(self): return 1 def foo2(self): return 2 def foo3(self): return self.foo1 () \ + self.foo2 () class 親: def foo(self): return "親" class 子1(親): def ...
6.540323
25
0.450062
115
811
3.173913
0.269565
0.164384
0.082192
0.090411
0.326027
0.279452
0.180822
0.180822
0.180822
0.180822
0
0.070565
0.388409
811
123
26
6.593496
0.665323
0
0
0.481481
0
0
0.042447
0
0
0
0
0
0
1
0.351852
false
0
0
0.222222
0.648148
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c4fff1c725395ae5ca16577a305a49384a3c5f00
392
py
Python
setup.py
ariarijp/redash-queryable-csv-query-runner
2fea78e9462f65b20c6f75a7d7f4672079b7c25d
[ "MIT" ]
null
null
null
setup.py
ariarijp/redash-queryable-csv-query-runner
2fea78e9462f65b20c6f75a7d7f4672079b7c25d
[ "MIT" ]
1
2021-04-01T11:22:26.000Z
2021-05-07T16:05:58.000Z
setup.py
ariarijp/redash-queryable-csv-query-runner
2fea78e9462f65b20c6f75a7d7f4672079b7c25d
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='redash_queryable_csv_query_runner', version='0.1.1', description='Queryable CSV Query Runner for Redash', author='Takuya Arita', author_email='takuya.arita@gmail.com', url='https://github.com/ariarijp/redash-queryable-csv-query-runner', packages=[ ...
26.133333
72
0.696429
49
392
5.387755
0.571429
0.181818
0.257576
0.348485
0.329545
0
0
0
0
0
0
0.009231
0.170918
392
14
73
28
0.803077
0
0
0
0
0
0.52551
0.22449
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
480e773e9bfc10271f076bab48543e5c487cc401
78,528
py
Python
Steam Key Safe/venv/Lib/site-packages/steam/protobufs/steammessages_gamenotifications_pb2.py
baxter5469/steam-key-safe
f9f721fa4776db650956400b1b808f707f07c5c1
[ "MIT" ]
2
2020-04-10T02:47:52.000Z
2020-04-10T03:31:12.000Z
Steam Key Safe/venv/Lib/site-packages/steam/protobufs/steammessages_gamenotifications_pb2.py
baxter5469/steam-key-safe
f9f721fa4776db650956400b1b808f707f07c5c1
[ "MIT" ]
6
2020-04-12T01:03:48.000Z
2020-12-21T04:34:37.000Z
Steam Key Safe/venv/Lib/site-packages/steam/protobufs/steammessages_gamenotifications_pb2.py
baxter5469/steam-key-safe
f9f721fa4776db650956400b1b808f707f07c5c1
[ "MIT" ]
1
2020-04-13T01:47:10.000Z
2020-04-13T01:47:10.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: steammessages_gamenotifications.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf imp...
62.126582
9,834
0.802172
9,222
78,528
6.506506
0.056821
0.023066
0.022399
0.070846
0.797327
0.723947
0.680433
0.611169
0.577821
0.52864
0
0.043787
0.095826
78,528
1,263
9,835
62.175772
0.80129
0.022782
0
0.572908
1
0.029336
0.310295
0.171103
0
0
0
0
0
1
0
false
0
0.007765
0
0.007765
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
484438703a607c3e81dfa3282f0361d8cc1cc0d4
310
py
Python
apps/assets/serializers.py
laashub/OneStack
591046661efd5defbcee3473d2f7ba330f548f33
[ "MIT" ]
null
null
null
apps/assets/serializers.py
laashub/OneStack
591046661efd5defbcee3473d2f7ba330f548f33
[ "MIT" ]
null
null
null
apps/assets/serializers.py
laashub/OneStack
591046661efd5defbcee3473d2f7ba330f548f33
[ "MIT" ]
null
null
null
from rest_framework import serializers from apps.assets.models import HardwareAsset, SoftwareAsset, ITAsset class HardwareAssetSerializer(serializers.ModelSerializer): class Meta: model = HardwareAsset fields = None class SoftwareAssetSerializer(serializers.ModelSerializer): pass
22.142857
68
0.783871
28
310
8.642857
0.714286
0.214876
0
0
0
0
0
0
0
0
0
0
0.167742
310
13
69
23.846154
0.937985
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.125
0.25
0
0.625
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
1
0
0
0
0
0
3
485beab56977674a0a65744251653e66fe8872dc
1,096
py
Python
OnboardFilterLib.py
fermi-lat/OnboardFilter
63b04acaf7587fd9055952ac77538b98c71707ff
[ "BSD-3-Clause" ]
null
null
null
OnboardFilterLib.py
fermi-lat/OnboardFilter
63b04acaf7587fd9055952ac77538b98c71707ff
[ "BSD-3-Clause" ]
null
null
null
OnboardFilterLib.py
fermi-lat/OnboardFilter
63b04acaf7587fd9055952ac77538b98c71707ff
[ "BSD-3-Clause" ]
null
null
null
# $Header: /nfs/slac/g/glast/ground/cvs/GlastRelease-scons/OnboardFilter/OnboardFilterLib.py,v 1.5 2012/04/26 21:47:24 jrb Exp $ def generate(env, **kw): if not kw.get('depsOnly', 0): if env['PLATFORM']=='win32' and env.get('CONTAINERNAME','')=='GlastRelease': env.Tool('findPkgPath', package = 'Onboard...
42.153846
128
0.635949
127
1,096
5.488189
0.440945
0.150646
0.146341
0.2066
0.337159
0.220947
0.220947
0.220947
0.220947
0.220947
0
0.026374
0.169708
1,096
25
129
43.84
0.73956
0.165146
0
0.095238
1
0
0.346491
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
486cdf0b96663bf6e5f5781f703d0831de12931c
668
py
Python
dota2learning/sql/insert_queries.py
drigols/dota2learning
7eff9ba8b69962893f7f7617d43c95f32b54f665
[ "MIT" ]
null
null
null
dota2learning/sql/insert_queries.py
drigols/dota2learning
7eff9ba8b69962893f7f7617d43c95f32b54f665
[ "MIT" ]
null
null
null
dota2learning/sql/insert_queries.py
drigols/dota2learning
7eff9ba8b69962893f7f7617d43c95f32b54f665
[ "MIT" ]
null
null
null
# Authors: Rodrigo Leite <drigols.creative@gmail.com> # # License: MIT from __future__ import annotations insert_into_hero_table = """ INSERT INTO hero ( id, name, localized_name, primary_attr, attack_type, img, icon, base_health, base_health_regen, base_mana, base_mana...
15.904762
53
0.570359
92
668
3.815217
0.478261
0.131054
0.188034
0.239316
0.068376
0.068376
0.068376
0.068376
0.068376
0.068376
0
0
0.291916
668
41
54
16.292683
0.742072
0.095808
0
0.055556
0
0.055556
0.88
0
0
0
0
0
0
1
0
false
0
0.027778
0
0.027778
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4877aff0a4d3593a7a3a27a9afa69c1a36ed7077
79,104
py
Python
src/abaqus/Part/PartBase.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
7
2022-01-21T09:15:45.000Z
2022-02-15T09:31:58.000Z
src/abaqus/Part/PartBase.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
src/abaqus/Part/PartBase.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
import typing from abaqusConstants import * from .AcisFile import AcisFile from .Feature import Feature # from ..Assembly.PartInstance import PartInstance from ..BasicGeometry.Cell import Cell from ..BasicGeometry.CellArray import CellArray from ..BasicGeometry.Edge import Edge from ..BasicGeometry.EdgeArray import Ed...
44.767402
130
0.640435
9,554
79,104
5.295374
0.103098
0.016603
0.013342
0.015121
0.514726
0.452028
0.417299
0.3784
0.347861
0.291884
0
0.003388
0.305964
79,104
1,766
131
44.792752
0.917852
0.734957
0
0.327434
0
0
0.002869
0
0
0
0
0
0
1
0.300885
false
0.30531
0.141593
0
0.59292
0.013274
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
487e022bc03947f53b5a164e8494db156143eecd
661
py
Python
formatml/data/fields/metadata_field.py
src-d/formatml
f052313391a5a2ca47af7859520f968c423024f1
[ "Apache-2.0" ]
2
2019-06-07T16:30:51.000Z
2019-10-09T10:10:17.000Z
formatml/data/fields/metadata_field.py
src-d/formatml
f052313391a5a2ca47af7859520f968c423024f1
[ "Apache-2.0" ]
1
2019-07-02T12:55:10.000Z
2019-07-02T12:55:10.000Z
formatml/data/fields/metadata_field.py
src-d/formatml
f052313391a5a2ca47af7859520f968c423024f1
[ "Apache-2.0" ]
3
2019-05-29T13:09:18.000Z
2021-01-28T11:35:01.000Z
from typing import Iterable, List, Tuple from torch import device as torch_device from formatml.data.fields.field import Field from formatml.parsing.parser import Nodes class MetadataField(Field[Tuple[str, Nodes], List[str]]): def __init__(self, *, name: str, type: str) -> None: super().__init__(name, t...
30.045455
71
0.676248
89
661
4.910112
0.41573
0.09611
0.059497
0.077803
0.091533
0
0
0
0
0
0
0.001894
0.20121
661
21
72
31.47619
0.825758
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6f9456936c18fa20e97622fa1e42d2c4fe3cce81
1,089
py
Python
src/iemws/models/county_zone.py
akrherz/iem-json-services
13fa3d7434c1ff3d0379f3b921d30ea79423dae8
[ "Apache-2.0" ]
null
null
null
src/iemws/models/county_zone.py
akrherz/iem-json-services
13fa3d7434c1ff3d0379f3b921d30ea79423dae8
[ "Apache-2.0" ]
null
null
null
src/iemws/models/county_zone.py
akrherz/iem-json-services
13fa3d7434c1ff3d0379f3b921d30ea79423dae8
[ "Apache-2.0" ]
null
null
null
"""Models for county_zone API.""" # pylint: disable=no-name-in-module from typing import List from pydantic import BaseModel, Field class CountyZoneDataItem(BaseModel): """Data Schema.""" utc_product_issue: str = Field(..., title="UTC Timestamp of Text Product") utc_issue: str = Field(..., title="UTC Ti...
35.129032
78
0.66483
135
1,089
5.303704
0.488889
0.153631
0.181564
0.067039
0.127095
0.127095
0.089385
0
0
0
0
0
0.18641
1,089
30
79
36.3
0.808126
0.099174
0
0
0
0
0.305699
0
0
0
0
0
0
1
0
true
0
0.105263
0
0.842105
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
6f9ade54f61b933d30929e8fc51bab999661b1dd
77
py
Python
chirp/plugins/yara/__init__.py
yichi-lu/CISA_CHIRP
83da53753802f9c596eb8efa453d3f1b21fb38f1
[ "CC0-1.0" ]
null
null
null
chirp/plugins/yara/__init__.py
yichi-lu/CISA_CHIRP
83da53753802f9c596eb8efa453d3f1b21fb38f1
[ "CC0-1.0" ]
null
null
null
chirp/plugins/yara/__init__.py
yichi-lu/CISA_CHIRP
83da53753802f9c596eb8efa453d3f1b21fb38f1
[ "CC0-1.0" ]
null
null
null
"""Yara plugin initializer.""" from . import run entrypoint = run.run
12.833333
31
0.649351
9
77
5.555556
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.220779
77
5
32
15.4
0.833333
0.311688
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6fa13fefb2a77378c8496ca7209798e63549ff1e
669
py
Python
overhave/admin/views/formatters/helpers.py
TinkoffCreditSystems/overhave
b0ab705ef5c5c5a65fa0b14b173b64fd7310e187
[ "Apache-2.0" ]
33
2021-02-01T15:49:37.000Z
2021-12-20T00:44:43.000Z
overhave/admin/views/formatters/helpers.py
TinkoffCreditSystems/overhave
b0ab705ef5c5c5a65fa0b14b173b64fd7310e187
[ "Apache-2.0" ]
46
2021-02-03T12:56:52.000Z
2021-12-19T18:50:27.000Z
overhave/admin/views/formatters/helpers.py
TinkoffCreditSystems/overhave
b0ab705ef5c5c5a65fa0b14b173b64fd7310e187
[ "Apache-2.0" ]
1
2021-12-07T09:02:44.000Z
2021-12-07T09:02:44.000Z
from typing import Union from markupsafe import Markup from overhave.db import TestRunStatus def get_button_class_by_status(status: str) -> str: enum_member = TestRunStatus[status] if enum_member is TestRunStatus.SUCCESS: return "success-btn" return "default-btn" def get_testrun_details_link(t...
26.76
86
0.733931
99
669
4.727273
0.414141
0.051282
0.038462
0.055556
0
0
0
0
0
0
0
0
0.143498
669
24
87
27.875
0.816754
0
0
0
0
0
0.213752
0.176383
0
0
0
0
0
1
0.285714
false
0
0.214286
0.214286
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6fabbdcdaa1a8f70d8d8c07db4cd53754503c194
444
py
Python
fairseq/data/offset_tokens_dataset.py
fairseq-FT/fairseq
18725499144c1bba7c151b796ba774e59d36eaa9
[ "MIT" ]
16,259
2018-05-02T02:31:30.000Z
2022-03-31T21:50:23.000Z
fairseq/data/offset_tokens_dataset.py
fairseq-FT/fairseq
18725499144c1bba7c151b796ba774e59d36eaa9
[ "MIT" ]
3,863
2018-05-02T13:42:39.000Z
2022-03-31T19:03:32.000Z
fairseq/data/offset_tokens_dataset.py
fairseq-FT/fairseq
18725499144c1bba7c151b796ba774e59d36eaa9
[ "MIT" ]
4,796
2018-05-02T07:55:51.000Z
2022-03-31T14:46:45.000Z
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from . import BaseWrapperDataset class OffsetTokensDataset(BaseWrapperDataset): def __init__(self, dataset, offset): super().__i...
27.75
65
0.718468
56
444
5.482143
0.660714
0.065147
0
0
0
0
0
0
0
0
0
0
0.202703
444
15
66
29.6
0.867232
0.378378
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6fc16c79f1941d6ced5abd38e725643862512b6d
577
py
Python
doc/numpybook/comparison/weave/filter.py
walshb/numpy
073bc39c58a6788ffda6aaa7549955cc3d4fdc93
[ "BSD-3-Clause" ]
15
2015-03-23T09:40:07.000Z
2020-04-19T15:14:49.000Z
doc/numpybook/comparison/weave/filter.py
walshb/numpy
073bc39c58a6788ffda6aaa7549955cc3d4fdc93
[ "BSD-3-Clause" ]
5
2016-07-02T15:34:00.000Z
2020-09-01T06:45:13.000Z
doc/numpybook/comparison/weave/filter.py
walshb/numpy
073bc39c58a6788ffda6aaa7549955cc3d4fdc93
[ "BSD-3-Clause" ]
17
2015-02-12T21:33:40.000Z
2021-02-23T06:53:03.000Z
from scipy import weave, zeros_like def filter(a): if a.ndim != 2: raise ValueError, "a must be 2-d" code = r""" int i,j; for(i=1;i<Na[0]-1;i++) { for(j=1;j<Na[1]-1;j++) { B2(i,j) = A2(i,j) + (A2(i-1,j) + A2(i+1,j) + A2(i,j-1) + A2...
25.086957
44
0.341421
98
577
1.989796
0.336735
0.138462
0.123077
0.153846
0.194872
0.194872
0.194872
0.123077
0.123077
0.123077
0
0.110063
0.448873
577
22
45
26.227273
0.503145
0
0
0
0
0.047619
0.677643
0.076257
0
0
0
0
0
0
null
null
0
0.047619
null
null
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
6fc256ea9505a070d770872f0f8728ede8f2d115
1,806
py
Python
base.py
avicoder/pyfortify
b9a16995ff0b5265f79a75169313578d266b8dc2
[ "MIT" ]
1
2018-03-06T18:18:05.000Z
2018-03-06T18:18:05.000Z
base.py
vjex/pyfortify
b9a16995ff0b5265f79a75169313578d266b8dc2
[ "MIT" ]
null
null
null
base.py
vjex/pyfortify
b9a16995ff0b5265f79a75169313578d266b8dc2
[ "MIT" ]
1
2019-11-15T11:13:57.000Z
2019-11-15T11:13:57.000Z
# -*- coding: utf-8 -*- import json import requests from requests.packages.urllib3.exceptions import InsecureRequestWarning #Ignore SSH Warning requests.packages.urllib3.disable_warnings(InsecureRequestWarning) class APIKeyError(Exception): pass class Fortify(object): BASIC_AUTH = "Basic " # Enter base64 enco...
26.558824
139
0.748062
252
1,806
5.174603
0.34127
0.06135
0.042945
0.048313
0.172546
0.121166
0.070552
0.070552
0.070552
0
0
0.00437
0.112957
1,806
67
140
26.955224
0.809613
0.042636
0
0
0
0
0.095128
0
0
0
0
0
0
1
0.227273
false
0.022727
0.068182
0.136364
0.613636
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
6fc75168472314044b4e2376211d0286f8a0cd4e
48
py
Python
courseraresearchexports/db/__init__.py
lcruz-coursera/courseraresearchexports
ce1b15086e9e94ed5eb6a775410b18655fef646d
[ "Apache-2.0" ]
21
2016-09-28T07:16:33.000Z
2022-03-19T08:05:24.000Z
courseraresearchexports/db/__init__.py
lcruz-coursera/courseraresearchexports
ce1b15086e9e94ed5eb6a775410b18655fef646d
[ "Apache-2.0" ]
33
2016-08-31T02:21:47.000Z
2022-01-23T19:14:19.000Z
courseraresearchexports/db/__init__.py
lcruz-coursera/courseraresearchexports
ce1b15086e9e94ed5eb6a775410b18655fef646d
[ "Apache-2.0" ]
14
2016-08-25T20:39:10.000Z
2022-03-19T08:07:35.000Z
__all__ = [ "db" ] from . import * # noqa
8
23
0.479167
5
48
3.8
1
0
0
0
0
0
0
0
0
0
0
0
0.354167
48
5
24
9.6
0.612903
0.083333
0
0
0
0
0.047619
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
6fde10f278a8433bf4f064ebf4ced496b3f01fd5
192
py
Python
supplied_code/framework/__init__.py
eladn/ai-236501-w2021-hw1-heuristic-search
cea977d7cbcdc85f0cf2442e8fc0441ac5377261
[ "MIT" ]
null
null
null
supplied_code/framework/__init__.py
eladn/ai-236501-w2021-hw1-heuristic-search
cea977d7cbcdc85f0cf2442e8fc0441ac5377261
[ "MIT" ]
null
null
null
supplied_code/framework/__init__.py
eladn/ai-236501-w2021-hw1-heuristic-search
cea977d7cbcdc85f0cf2442e8fc0441ac5377261
[ "MIT" ]
null
null
null
from .consts import Consts from .serializable import Serializable from .ways import * from .graph_search import * __all__ = ['Consts', 'Serializable'] + ways.__all__ + graph_search.__all__
21.333333
74
0.765625
23
192
5.782609
0.347826
0.165414
0
0
0
0
0
0
0
0
0
0
0.140625
192
8
75
24
0.806061
0
0
0
0
0
0.094241
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
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
6fe5c888b97a1a38fd5e4092a83a50b2409974c8
1,223
py
Python
src/Util.py
Dr-N00B/Editorials
f3908ec4faea76644e770e30c2aed38af53bd70a
[ "MIT" ]
1
2020-06-15T14:27:31.000Z
2020-06-15T14:27:31.000Z
src/Util.py
Dr-N00B/Editorials
f3908ec4faea76644e770e30c2aed38af53bd70a
[ "MIT" ]
null
null
null
src/Util.py
Dr-N00B/Editorials
f3908ec4faea76644e770e30c2aed38af53bd70a
[ "MIT" ]
null
null
null
import os.path import sys import json import Const from datetime import date, datetime,timedelta def getAbsPath(path, *varArgs): abs_path = path for subdir in varArgs: abs_path = os.path.join(os.path.sep, abs_path, subdir) os.path.abspath(abs_path) return abs_path def getParentDir(path = __file__): return os.p...
29.829268
89
0.780049
181
1,223
5.104972
0.331492
0.058442
0.070346
0.064935
0.194805
0.13961
0.13961
0.13961
0.097403
0
0
0.003653
0.104661
1,223
41
90
29.829268
0.840183
0
0
0
0
0
0.000817
0
0
0
0
0
0
1
0.28125
false
0
0.15625
0.15625
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6ffa5be3954382c1ef3fccd1750c07326938e4fc
13,614
py
Python
example/dj/apps/app/tests/is_core.py
druids/django-token-authorization
bcd029e86d3edb49784bfa7e9329bcd1be4c511e
[ "BSD-3-Clause" ]
null
null
null
example/dj/apps/app/tests/is_core.py
druids/django-token-authorization
bcd029e86d3edb49784bfa7e9329bcd1be4c511e
[ "BSD-3-Clause" ]
null
null
null
example/dj/apps/app/tests/is_core.py
druids/django-token-authorization
bcd029e86d3edb49784bfa7e9329bcd1be4c511e
[ "BSD-3-Clause" ]
null
null
null
from datetime import timedelta from unittest.mock import patch from django.contrib.auth.hashers import make_password from django.test import override_settings from django.utils import timezone from django.utils.translation import ugettext as _ from nose.tools import assert_equal from auth_token.config import settings...
47.601399
112
0.698619
1,708
13,614
5.194379
0.105386
0.052976
0.034716
0.048693
0.774572
0.72509
0.692065
0.686204
0.668395
0.633679
0
0.002959
0.180843
13,614
285
113
47.768421
0.792593
0.013001
0
0.528689
0
0
0.166667
0.051213
0
0
0
0
0.32377
1
0.081967
false
0.086066
0.065574
0.004098
0.192623
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
1
0
0
0
0
0
3
b513399a54ec3b7cdb6fb2c2e7f14776c39b4e69
821
py
Python
src/server_handler/miscellaneous/os_commands.py
robertpardillo/Funnel
f45e419f55e085bbb95e17c47b4c94a7c625ba9b
[ "MIT" ]
1
2021-05-18T16:10:49.000Z
2021-05-18T16:10:49.000Z
src/server_handler/miscellaneous/os_commands.py
robertpardillo/Funnel
f45e419f55e085bbb95e17c47b4c94a7c625ba9b
[ "MIT" ]
null
null
null
src/server_handler/miscellaneous/os_commands.py
robertpardillo/Funnel
f45e419f55e085bbb95e17c47b4c94a7c625ba9b
[ "MIT" ]
null
null
null
import os Windows = {'cp': 'copy', 'rm': 'del', 'mkdir': 'mkdir'} Linux = {'cp':'cp', 'rm':'rm', 'mkdir':'mkdir'} def unzip_windows(input, output, zip_path,option): string = '{} {} -y {} -o{}'.format(zip_path, option,input, output) os.system(string) ...
21.051282
71
0.551766
103
821
4.300971
0.271845
0.108352
0.189616
0.191874
0.557562
0.480813
0.218962
0.130926
0
0
0
0
0.260658
821
39
72
21.051282
0.729819
0
0
0.32
0
0
0.133929
0
0
0
0
0
0
1
0.24
false
0
0.04
0
0.28
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
b515cc9cf1adc1652ef6f229b4ac279c54a85e7f
12,399
py
Python
src/unity/python/turicreate/toolkits/distances/_distances.py
fossabot/turicreate
a500d5e52143ad15ebdf771d9f74198982c7c45c
[ "BSD-3-Clause" ]
1
2019-04-16T19:51:18.000Z
2019-04-16T19:51:18.000Z
src/unity/python/turicreate/toolkits/distances/_distances.py
tashby/turicreate
7f07ce795833d0c56c72b3a1fb9339bed6d178d1
[ "BSD-3-Clause" ]
3
2021-09-08T02:18:00.000Z
2022-03-12T00:39:44.000Z
src/unity/python/turicreate/toolkits/distances/_distances.py
tashby/turicreate
7f07ce795833d0c56c72b3a1fb9339bed6d178d1
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright © 2017 Apple Inc. All rights reserved. # # Use of this source code is governed by a BSD-3-clause license that can # be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause """ Distance functions and utilities. """ from __future__ import print_function as _...
27.013072
123
0.594322
1,680
12,399
4.309524
0.157143
0.008564
0.010359
0.009669
0.680387
0.636326
0.613398
0.586602
0.581768
0.576934
0
0.035738
0.266554
12,399
458
124
27.072052
0.760282
0.805629
0
0
0
0
0
0
0
0
0
0
0
1
0.416667
false
0
0.166667
0
1
0.041667
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
0
0
0
1
0
0
3
82f274f5a3b17e6deffb5df54a27da223fc545a5
115
py
Python
_sadm/listen/webhook/__init__.py
jrmsdev/pysadm
0d6b3f0c8d870d83ab499c8d9487ec8e3a89fc37
[ "BSD-3-Clause" ]
1
2019-10-15T08:37:56.000Z
2019-10-15T08:37:56.000Z
_sadm/listen/webhook/__init__.py
jrmsdev/pysadm
0d6b3f0c8d870d83ab499c8d9487ec8e3a89fc37
[ "BSD-3-Clause" ]
null
null
null
_sadm/listen/webhook/__init__.py
jrmsdev/pysadm
0d6b3f0c8d870d83ab499c8d9487ec8e3a89fc37
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) Jeremías Casteglione <jrmsdev@gmail.com> # See LICENSE file. from . import handlers __all__ = []
16.428571
56
0.721739
14
115
5.642857
1
0
0
0
0
0
0
0
0
0
0
0
0.165217
115
6
57
19.166667
0.822917
0.626087
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d20fb85150219ecb7ddb7e58f38cbeebff68e33d
686
py
Python
FreeTAKServer/model/SQLAlchemy/CoTTables/Status.py
logikal/FreeTakServer
c0916ce65781b5c60079d6440e52db8fc6ee0467
[ "MIT" ]
null
null
null
FreeTAKServer/model/SQLAlchemy/CoTTables/Status.py
logikal/FreeTakServer
c0916ce65781b5c60079d6440e52db8fc6ee0467
[ "MIT" ]
null
null
null
FreeTAKServer/model/SQLAlchemy/CoTTables/Status.py
logikal/FreeTakServer
c0916ce65781b5c60079d6440e52db8fc6ee0467
[ "MIT" ]
null
null
null
####################################################### # # Status.py # Python implementation of the Class Status # Generated by Enterprise Architect # Created on: 26-Sep-2020 9:41:29 PM # Original author: natha # from sqlalchemy import Column from FreeTAKServer.model.SQLAlchemy.Root import Base from sqlalchemy ...
31.181818
74
0.685131
81
686
5.691358
0.679012
0.091106
0.130152
0
0
0
0
0
0
0
0
0.019264
0.167638
686
22
75
31.181818
0.788091
0.390671
0
0
1
0
0.065341
0
0
0
0
0
0
1
0
false
0
0.444444
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
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
d211993ab5e5a9c6ae42089e7d6a12d53e04036a
181
py
Python
config/settings/ci.py
drixselecta/homebytwo
29d26ce9f5586943e3b64c95aa4ce9ea7263bd10
[ "MIT" ]
7
2018-03-10T20:58:59.000Z
2021-08-22T17:18:09.000Z
config/settings/ci.py
HomebyTwo/homebytwo
29d26ce9f5586943e3b64c95aa4ce9ea7263bd10
[ "MIT" ]
69
2017-02-01T21:15:43.000Z
2022-02-26T09:33:27.000Z
config/settings/ci.py
drixselecta/homebytwo
29d26ce9f5586943e3b64c95aa4ce9ea7263bd10
[ "MIT" ]
null
null
null
from tempfile import TemporaryDirectory from .base import * # NOQA MEDIA_ROOT = TemporaryDirectory().name SECRET_KEY = "SecretKeyForTravisCI" DEBUG = False TEMPLATE_DEBUG = True
20.111111
39
0.79558
20
181
7.05
0.8
0
0
0
0
0
0
0
0
0
0
0
0.138122
181
8
40
22.625
0.903846
0.022099
0
0
0
0
0.114286
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
d21fdedb7d0e0827882b3fe4a33ccced90d576f1
213
py
Python
nz_covid_scanner/scanner.py
wipash/nz-covid-scanner
54ece5dd9373d1973494c8c0ade133477501076b
[ "MIT" ]
null
null
null
nz_covid_scanner/scanner.py
wipash/nz-covid-scanner
54ece5dd9373d1973494c8c0ade133477501076b
[ "MIT" ]
null
null
null
nz_covid_scanner/scanner.py
wipash/nz-covid-scanner
54ece5dd9373d1973494c8c0ade133477501076b
[ "MIT" ]
null
null
null
import serial class Scanner: def __init__(self, dev="/dev/ttyACM0", baudrate=115200): self.scanner = serial.Serial(dev, rtscts=True, dsrdtr=True, timeout=10) self.scanner.baudrate = baudrate
26.625
79
0.694836
27
213
5.333333
0.592593
0.152778
0
0
0
0
0
0
0
0
0
0.051724
0.183099
213
7
80
30.428571
0.775862
0
0
0
0
0
0.056338
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
d23c0f1a227a2923d14842237f70fa2bb230ef93
179
py
Python
updict/__init__.py
AndrewIngram/python-updict
fe1fa04ca0238ea3d1bd8423de582529373d24a1
[ "BSD-3-Clause" ]
2
2015-01-13T15:07:20.000Z
2016-02-16T14:06:50.000Z
updict/__init__.py
AndrewIngram/python-updict
fe1fa04ca0238ea3d1bd8423de582529373d24a1
[ "BSD-3-Clause" ]
null
null
null
updict/__init__.py
AndrewIngram/python-updict
fe1fa04ca0238ea3d1bd8423de582529373d24a1
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'Andrew Ingram' __email__ = 'andy@andrewingram.net' __version__ = '0.1.0' from .updict import updict from .exceptions import UpdictException
22.375
39
0.731844
22
179
5.409091
0.818182
0
0
0
0
0
0
0
0
0
0
0.025806
0.134078
179
8
39
22.375
0.741935
0.117318
0
0
0
0
0.248408
0.133758
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d24cc00e76f125fbcc7ec9b1c2a004841bea01bb
2,838
py
Python
dispatch/clusters.py
tutoriginal/dispatch
4f6015e5398525a304d934f5953c22109f8912c3
[ "0BSD" ]
null
null
null
dispatch/clusters.py
tutoriginal/dispatch
4f6015e5398525a304d934f5953c22109f8912c3
[ "0BSD" ]
null
null
null
dispatch/clusters.py
tutoriginal/dispatch
4f6015e5398525a304d934f5953c22109f8912c3
[ "0BSD" ]
null
null
null
hosts = [ # shi: "shi-c1-p1", "shi-c1-p2", "shi-c1-p3", "shi-c1-p4", "shi-c1-p5", "shi-c1-p6", "shi-c2-p1", "shi-c2-p2", "shi-c2-p3", "shi-c2-p4", "shi-c2-p5", "shi-c2-p6", "shi-r1-p1", "shi-r1-p2", "shi-r1-p3", "shi-r1-p4", "shi-r1-p5", "shi-r1-p6", "shi-r1-p7", "shi-r1-p8", "shi-r2-p1", "shi-r2-p...
57.918367
115
0.508104
627
2,838
2.293461
0.066986
0.048679
0.009736
0
0
0
0
0
0
0
0
0.172764
0.133192
2,838
48
116
59.125
0.411789
0.0074
0
0
0
0
0.611526
0
0
0
0
0.020833
0
1
0.058824
false
0
0
0.058824
0.117647
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
1
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
d2586c97b426112635b42a665ac03676fea50625
168
py
Python
spiral.py
dojojon/py_turtle
8b2b4d2dca3785d35fbfc94ac480e8451b372dda
[ "MIT" ]
null
null
null
spiral.py
dojojon/py_turtle
8b2b4d2dca3785d35fbfc94ac480e8451b372dda
[ "MIT" ]
null
null
null
spiral.py
dojojon/py_turtle
8b2b4d2dca3785d35fbfc94ac480e8451b372dda
[ "MIT" ]
null
null
null
from turtle import * speed(0) def draw_section(len): forward(len) right(50) if(len > 5): draw_section(len - 2) draw_section(100)
14
29
0.559524
23
168
3.956522
0.695652
0.362637
0.307692
0
0
0
0
0
0
0
0
0.070796
0.327381
168
12
30
14
0.734513
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d268f4bd92c068c0cef7b4ec67a6f104317aaa92
222
py
Python
practica/guia1.py
pgentil/PC
6ee4e79f4594f4c733fb07106ac179575370956d
[ "MIT" ]
null
null
null
practica/guia1.py
pgentil/PC
6ee4e79f4594f4c733fb07106ac179575370956d
[ "MIT" ]
null
null
null
practica/guia1.py
pgentil/PC
6ee4e79f4594f4c733fb07106ac179575370956d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Apr 18 16:55:24 2022 @author: Pedro """ #%% Ej 11 def greet_msg(name: str): return f"Hello {name}" def greet(): name = input() msg = greet_msg(name) return msg
14.8
35
0.581081
35
222
3.628571
0.714286
0.125984
0.188976
0
0
0
0
0
0
0
0
0.089286
0.243243
222
14
36
15.857143
0.666667
0.369369
0
0
0
0
0.092308
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
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
1
0
0
0
1
0
0
0
3
d26ab54f7639d5622e431be521b8d32742ae1f5d
941
py
Python
Src/StdLib/Lib/site-packages/win32/Demos/security/set_policy_info.py
cwensley/ironpython2
f854444e1e08afc8850cb7c1a739a7dd2d10d32a
[ "Apache-2.0" ]
1,078
2016-07-19T02:48:30.000Z
2022-03-30T21:22:34.000Z
Src/StdLib/Lib/site-packages/win32/Demos/security/set_policy_info.py
cwensley/ironpython2
f854444e1e08afc8850cb7c1a739a7dd2d10d32a
[ "Apache-2.0" ]
576
2017-05-21T12:36:48.000Z
2022-03-30T13:47:03.000Z
Src/StdLib/Lib/site-packages/win32/Demos/security/set_policy_info.py
cwensley/ironpython2
f854444e1e08afc8850cb7c1a739a7dd2d10d32a
[ "Apache-2.0" ]
269
2017-05-21T04:44:47.000Z
2022-03-31T16:18:13.000Z
import win32security,win32file,win32api,ntsecuritycon,win32con policy_handle = win32security.GetPolicyHandle('rupole',win32security.POLICY_ALL_ACCESS) event_audit_info=win32security.LsaQueryInformationPolicy(policy_handle,win32security.PolicyAuditEventsInformation) print event_audit_info new_audit_info=list(event_aud...
52.277778
116
0.871413
95
941
8.210526
0.294737
0.092308
0.184615
0.223077
0.407692
0.341026
0.341026
0.341026
0.341026
0.341026
0
0.047782
0.065887
941
17
117
55.352941
0.83959
0
0
0.230769
0
0
0.006376
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.076923
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
d27c31eaf53758d43b4aab0f461a32e2bc21b067
57,051
py
Python
google/cloud/recommender_v1beta1/proto/recommender_service_pb2.py
vam-google/python-recommender
255fc62897890b6e0a73c0e147eb930eadbaaddd
[ "Apache-2.0" ]
null
null
null
google/cloud/recommender_v1beta1/proto/recommender_service_pb2.py
vam-google/python-recommender
255fc62897890b6e0a73c0e147eb930eadbaaddd
[ "Apache-2.0" ]
null
null
null
google/cloud/recommender_v1beta1/proto/recommender_service_pb2.py
vam-google/python-recommender
255fc62897890b6e0a73c0e147eb930eadbaaddd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
40.063904
6,022
0.669313
5,599
57,051
6.568852
0.083051
0.064113
0.071182
0.091465
0.77169
0.712146
0.664537
0.590174
0.542919
0.519345
0
0.044648
0.229356
57,051
1,423
6,023
40.092059
0.791885
0.039175
0
0.714826
0
0.008321
0.365807
0.202964
0
0
0
0
0
1
0
false
0
0.007564
0
0.007564
0.003026
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
964329dc5aa3aa7985f36e3444626d630da0829d
1,579
py
Python
src/consensus/coinbase.py
13767849/chia-blockchain
ad7d7e0cced7f2f6deddc9e006dbaeee6dab8f66
[ "Apache-2.0" ]
null
null
null
src/consensus/coinbase.py
13767849/chia-blockchain
ad7d7e0cced7f2f6deddc9e006dbaeee6dab8f66
[ "Apache-2.0" ]
null
null
null
src/consensus/coinbase.py
13767849/chia-blockchain
ad7d7e0cced7f2f6deddc9e006dbaeee6dab8f66
[ "Apache-2.0" ]
null
null
null
from blspy import AugSchemeMPL, G1Element, G2Element, PrivateKey from src.types.blockchain_format.coin import Coin from src.types.blockchain_format.sized_bytes import bytes32 from src.util.ints import uint32, uint64 from src.wallet.puzzles.p2_delegated_puzzle_or_hidden_puzzle import puzzle_for_pk def create_puzzleha...
39.475
111
0.797973
220
1,579
5.404545
0.277273
0.053827
0.043734
0.063919
0.502944
0.439024
0.439024
0.439024
0.439024
0.439024
0
0.037966
0.115896
1,579
39
112
40.487179
0.813754
0.016466
0
0.086957
0
0
0.016119
0
0
0
0
0
0
1
0.304348
false
0
0.217391
0.173913
0.826087
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
964526e921b6fef4041332296d25f2cd3827b983
284
py
Python
instagram_api/response/model/insights.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
13
2019-08-07T21:24:34.000Z
2020-12-12T12:23:50.000Z
instagram_api/response/model/insights.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
instagram_api/response/model/insights.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
from ..mapper import PropertyMapper, ApiInterfaceBase from ..mapper.types import Timestamp, AnyType __all__ = ['Insights', 'InsightsInterface'] class InsightsInterface(ApiInterfaceBase): instagram_insights: AnyType class Insights(PropertyMapper, InsightsInterface): pass
21.846154
53
0.795775
25
284
8.84
0.56
0.090498
0
0
0
0
0
0
0
0
0
0
0.123239
284
12
54
23.666667
0.88755
0
0
0
0
0
0.088028
0
0
0
0
0
0
1
0
false
0.142857
0.285714
0
0.714286
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
1
0
0
1
0
0
3
964f569e28a11bc937c70d035caa186c68714c7b
158
py
Python
app/infra/logger.py
globocom/enforcement
004ff545d6d61b95b555d9981525510496862b3e
[ "BSD-3-Clause" ]
7
2020-11-08T18:02:26.000Z
2021-10-15T21:40:35.000Z
app/infra/logger.py
globocom/enforcement
004ff545d6d61b95b555d9981525510496862b3e
[ "BSD-3-Clause" ]
19
2020-11-19T20:57:20.000Z
2021-09-03T14:53:34.000Z
app/infra/logger.py
globocom/enforcement
004ff545d6d61b95b555d9981525510496862b3e
[ "BSD-3-Clause" ]
3
2021-02-01T20:17:06.000Z
2021-07-27T09:03:51.000Z
import logging logging.basicConfig(format='%(asctime)-15s %(levelname)s:%(message)s', level=logging.DEBUG) logger = logging.getLogger('enforcement-service')
31.6
91
0.772152
19
158
6.421053
0.789474
0
0
0
0
0
0
0
0
0
0
0.013423
0.056962
158
4
92
39.5
0.805369
0
0
0
0
0
0.373418
0.158228
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
967ba0c10018800cc5bad85ab38669602926a525
993
py
Python
kit_django/termsOfUse/admin.py
safakoner/kit
aec36a70137febfb5f3e3a9205ea58879736eea4
[ "MIT" ]
6
2020-06-29T20:36:15.000Z
2021-09-08T23:34:01.000Z
kit_django/termsOfUse/admin.py
safakoner/kit
aec36a70137febfb5f3e3a9205ea58879736eea4
[ "MIT" ]
9
2021-03-30T13:46:29.000Z
2022-03-12T00:38:27.000Z
kit_django/termsOfUse/admin.py
safakoner/kit
aec36a70137febfb5f3e3a9205ea58879736eea4
[ "MIT" ]
1
2020-07-20T18:40:24.000Z
2020-07-20T18:40:24.000Z
# # ---------------------------------------------------------------------------------------------------- # DESCRIPTION # ---------------------------------------------------------------------------------------------------- # # --------------------------------------------------------------------------------------------...
35.464286
102
0.260826
42
993
6.142857
0.571429
0.077519
0.116279
0.155039
0.193798
0
0
0
0
0
0
0
0.089627
993
27
103
36.777778
0.285398
0.740181
0
0
0
0
0.0625
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
968f980811298d0fcadd2f6024f15a73ecb08058
92
py
Python
03_loop/_06_continue.py
DeveloperLY/Python-practice
85062afee1dc6b60b7011b0e3800b65fc9b9e9b2
[ "MIT" ]
null
null
null
03_loop/_06_continue.py
DeveloperLY/Python-practice
85062afee1dc6b60b7011b0e3800b65fc9b9e9b2
[ "MIT" ]
null
null
null
03_loop/_06_continue.py
DeveloperLY/Python-practice
85062afee1dc6b60b7011b0e3800b65fc9b9e9b2
[ "MIT" ]
null
null
null
i = 0 while i < 10: if i == 3: i += 1 continue print(i) i += 1
10.222222
16
0.347826
15
92
2.133333
0.6
0.125
0
0
0
0
0
0
0
0
0
0.136364
0.521739
92
8
17
11.5
0.590909
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
96a9d6946d6ddb2573d7d4bf94842c4598dfc17d
1,424
py
Python
chrome/installer/mac/signing/test_config.py
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/installer/mac/signing/test_config.py
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/installer/mac/signing/test_config.py
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
# Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from . import config class TestConfig(config.CodeSignConfig): def __init__(self, identity='[IDENTITY]', installer_id...
23.344262
72
0.641152
150
1,424
5.86
0.506667
0.0876
0.085324
0.070535
0.259386
0.175199
0
0
0
0
0
0.012695
0.280899
1,424
60
73
23.733333
0.845703
0.108848
0
0.35
0
0
0.098814
0.017391
0
0
0
0
0
1
0.25
false
0.05
0.025
0.225
0.575
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