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
171990106eab5bef091e3e19bb72de34185acfbc
403
py
Python
qhard/__init__.py
qhard/qhard
131aae337268e7c0c64a21d4eb8c1a3b8a6b6898
[ "BSD-3-Clause" ]
null
null
null
qhard/__init__.py
qhard/qhard
131aae337268e7c0c64a21d4eb8c1a3b8a6b6898
[ "BSD-3-Clause" ]
null
null
null
qhard/__init__.py
qhard/qhard
131aae337268e7c0c64a21d4eb8c1a3b8a6b6898
[ "BSD-3-Clause" ]
null
null
null
# This file is part of QHard: quantum hardware modelling. # # Author: Konstantin Nesterov, 2017 and later. ############################################################################ # Qubits and resonator. from qhard.fluxonium import * from qhard.transmon import * from qhard.cavity import * # Interacting systems. f...
25.1875
76
0.620347
43
403
5.813953
0.674419
0.18
0.12
0
0
0
0
0
0
0
0
0.011396
0.129032
403
15
77
26.866667
0.700855
0.416873
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
172759bbc9052c6eda8a0fe6ec61d36658906167
27
py
Python
examples/__init__.py
mirakels/pandevice
d9b6263b032be0fc34e323ced2ba3b8a798f5087
[ "0BSD" ]
34
2016-03-25T08:09:05.000Z
2020-07-23T05:04:16.000Z
examples/__init__.py
mirakels/pandevice
d9b6263b032be0fc34e323ced2ba3b8a798f5087
[ "0BSD" ]
127
2020-08-07T21:56:58.000Z
2022-03-30T18:24:53.000Z
examples/__init__.py
mirakels/pandevice
d9b6263b032be0fc34e323ced2ba3b8a798f5087
[ "0BSD" ]
22
2020-08-11T15:01:02.000Z
2022-03-29T19:21:51.000Z
__author__ = 'btorres-gil'
13.5
26
0.740741
3
27
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
27
1
27
27
0.666667
0
0
0
0
0
0.407407
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
172a1f27fec419c641abbceb324ce2e2e94c7a97
242
py
Python
etc/defaults/pvAccessCPP.py
dls-controls/ADCore
b624a16a7ad49b7056b2e765db549b5658a51511
[ "MIT" ]
null
null
null
etc/defaults/pvAccessCPP.py
dls-controls/ADCore
b624a16a7ad49b7056b2e765db549b5658a51511
[ "MIT" ]
11
2015-12-04T14:48:19.000Z
2020-04-03T10:05:30.000Z
etc/defaults/pvAccessCPP.py
dls-controls/ADCore
b624a16a7ad49b7056b2e765db549b5658a51511
[ "MIT" ]
4
2015-11-11T10:49:39.000Z
2017-03-14T09:50:04.000Z
# Builder definitions for pvAccessCPP import iocbuilder from iocbuilder import Device class pvAccessCPP(Device): LibFileList = ['pvAccess', 'pvAccessIOC', 'pvAccessCA'] DbdFileList = ['PVAServerRegister'] AutoInstantiate = True
24.2
59
0.756198
21
242
8.714286
0.809524
0
0
0
0
0
0
0
0
0
0
0
0.157025
242
9
60
26.888889
0.897059
0.144628
0
0
0
0
0.22549
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
17389e89d79a0e396626356423d563d7abefd781
1,453
py
Python
platform/polycommon/polycommon/unique_urls.py
erexer/polyaxon
be14dae1ed56d568983388736bcdaf27a7baa4a4
[ "Apache-2.0" ]
null
null
null
platform/polycommon/polycommon/unique_urls.py
erexer/polyaxon
be14dae1ed56d568983388736bcdaf27a7baa4a4
[ "Apache-2.0" ]
null
null
null
platform/polycommon/polycommon/unique_urls.py
erexer/polyaxon
be14dae1ed56d568983388736bcdaf27a7baa4a4
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # Copyright 2018-2020 Polyaxon, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
32.288889
82
0.726084
222
1,453
4.540541
0.391892
0.099206
0.077381
0.063492
0.297619
0.198413
0.198413
0.198413
0.198413
0.119048
0
0.013788
0.151411
1,453
44
83
33.022727
0.803731
0.395045
0
0.235294
0
0
0.091435
0.03588
0
0
0
0
0
1
0.352941
false
0
0
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
173a1d43ba704b85c7ac4158e0b357c6e9cd772b
688
py
Python
functions/data.py
arknano/meeku_bot.py
b4d366645109e200b52688b7f2ff4001ad5bc06f
[ "MIT" ]
2
2021-07-20T10:40:18.000Z
2021-07-20T10:41:52.000Z
functions/data.py
arknano/meeku_bot.py
b4d366645109e200b52688b7f2ff4001ad5bc06f
[ "MIT" ]
null
null
null
functions/data.py
arknano/meeku_bot.py
b4d366645109e200b52688b7f2ff4001ad5bc06f
[ "MIT" ]
null
null
null
import os import json local_path = os.path.dirname(__file__) def load_config_file(path): file = open(os.path.join(local_path, os.pardir, path)) return json.load(file) def load_loc(): return load_config_file('config/loc.json') def load_responses_config(): return load_config_file('config/responses....
20.235294
90
0.729651
104
688
4.548077
0.221154
0.103594
0.17759
0.211416
0.566596
0.45666
0.147992
0.147992
0.147992
0
0
0.001689
0.139535
688
34
91
20.235294
0.797297
0
0
0.105263
0
0
0.155298
0.030479
0
0
0
0
0
1
0.368421
false
0
0.105263
0.263158
0.842105
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
173b08d57389c47051fb7769e29316e2bb17978b
13,488
py
Python
sankaku/lib/objects.py
Slimakoi/Sankaku.py
0d8c23413509483cb9e2c51242d5a1fdfbd1bb1b
[ "MIT" ]
1
2022-02-14T18:52:02.000Z
2022-02-14T18:52:02.000Z
sankaku/lib/objects.py
Slimakoi/Sankaku.py
0d8c23413509483cb9e2c51242d5a1fdfbd1bb1b
[ "MIT" ]
null
null
null
sankaku/lib/objects.py
Slimakoi/Sankaku.py
0d8c23413509483cb9e2c51242d5a1fdfbd1bb1b
[ "MIT" ]
null
null
null
class UserProfile: def __init__(self, data): self.json = data self.artist_update_count = None self.avatar_rating = None self.avatar_url = None self.comment_count = None self.created_at = None self.email = None self.email_verification_status = None ...
45.414141
102
0.613212
1,572
13,488
5.080153
0.061069
0.074505
0.244803
0.202855
0.589156
0.371776
0.298272
0.258452
0.224518
0.204733
0
0.000402
0.263123
13,488
296
103
45.567568
0.803099
0
0
0.379433
0
0
0.065466
0.004374
0
0
0
0
0
1
0.028369
false
0.088652
0
0
0.056738
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
173e8e294c28491f434921f1a62712a6a8b7a8bc
213
py
Python
pynrc/maths/fast_poly.py
JarronL/pyNRC
0354f0635dd4c5391ca3a769fa9e5ead83661c30
[ "MIT" ]
6
2017-01-09T05:11:11.000Z
2022-02-25T18:30:41.000Z
pynrc/maths/fast_poly.py
JarronL/pyNRC
0354f0635dd4c5391ca3a769fa9e5ead83661c30
[ "MIT" ]
24
2017-05-25T04:45:47.000Z
2022-02-25T18:31:48.000Z
pynrc/maths/fast_poly.py
JarronL/pyNRC
0354f0635dd4c5391ca3a769fa9e5ead83661c30
[ "MIT" ]
11
2017-01-27T22:40:55.000Z
2021-03-30T18:41:46.000Z
#from __future__ import absolute_import, division, print_function, unicode_literals # import numpy as np # from numpy.polynomial import legendre from webbpsf_ext.maths import jl_poly, jl_poly_fit, fit_bootstrap
30.428571
83
0.835681
31
213
5.354839
0.677419
0.072289
0
0
0
0
0
0
0
0
0
0
0.117371
213
6
84
35.5
0.882979
0.652582
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
174666dba07550b46e31b0139cb54bf018101611
58
py
Python
datafreezer/__init__.py
thirawr/django-datafreezer-sample
ef007e9ea583c963c012224fbab133154214cf0c
[ "MIT" ]
null
null
null
datafreezer/__init__.py
thirawr/django-datafreezer-sample
ef007e9ea583c963c012224fbab133154214cf0c
[ "MIT" ]
null
null
null
datafreezer/__init__.py
thirawr/django-datafreezer-sample
ef007e9ea583c963c012224fbab133154214cf0c
[ "MIT" ]
null
null
null
default_app_config = 'datafreezer.apps.DatafreezerConfig'
29
57
0.862069
6
58
8
1
0
0
0
0
0
0
0
0
0
0
0
0.051724
58
1
58
58
0.872727
0
0
0
0
0
0.586207
0.586207
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
175da9d82a4103a802302b41c950c5219015393f
2,143
py
Python
kabuka/test_kabuka.py
sdanaipat/kabuka
e9c9356d1d0987ff708c915133c8dd780302f5f4
[ "MIT" ]
null
null
null
kabuka/test_kabuka.py
sdanaipat/kabuka
e9c9356d1d0987ff708c915133c8dd780302f5f4
[ "MIT" ]
null
null
null
kabuka/test_kabuka.py
sdanaipat/kabuka
e9c9356d1d0987ff708c915133c8dd780302f5f4
[ "MIT" ]
null
null
null
import os from pathlib import Path from unittest import mock from kabuka import kabuka, get_latest_price TEST_DATA_DIR = Path(os.path.dirname(os.path.realpath(__file__))) / "test_data" def test_is_numeric(): assert not kabuka.is_numeric("abc") assert not kabuka.is_numeric("123a") assert not kabuka.is_num...
28.959459
86
0.673822
301
2,143
4.574751
0.299003
0.143791
0.228758
0.183007
0.569354
0.453885
0.413217
0.254902
0.254902
0.167756
0
0.047816
0.209519
2,143
73
87
29.356164
0.765053
0.027998
0
0.254545
0
0
0.106936
0
0
0
0
0
0.454545
1
0.072727
false
0
0.072727
0
0.2
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
1760de8f54d8ef511c6867add3169cce3476f305
330
py
Python
src/HABApp/util/__init__.py
DerOetzi/HABApp
a123fbfa9928ebb3cda9a84f6984dcba593c8236
[ "Apache-2.0" ]
null
null
null
src/HABApp/util/__init__.py
DerOetzi/HABApp
a123fbfa9928ebb3cda9a84f6984dcba593c8236
[ "Apache-2.0" ]
null
null
null
src/HABApp/util/__init__.py
DerOetzi/HABApp
a123fbfa9928ebb3cda9a84f6984dcba593c8236
[ "Apache-2.0" ]
null
null
null
from . import functions from .counter_item import CounterItem from .period_counter import PeriodCounter from .threshold import Threshold from .statistics import Statistics from . import multimode from .listener_groups import EventListenerGroup # 27.04.2020 - this can be removed in some time from .multimode import Mult...
30
47
0.833333
43
330
6.325581
0.581395
0.073529
0
0
0
0
0
0
0
0
0
0.027875
0.130303
330
10
48
33
0.919861
0.136364
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
178cc357cf659f8dd97ae847e44d4f8267c8f304
4,043
py
Python
intro/part01-25_calculator/test/test_calculator.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
intro/part01-25_calculator/test/test_calculator.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
intro/part01-25_calculator/test/test_calculator.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
import unittest from unittest.mock import patch from tmc import points from tmc.utils import load_module, reload_module, get_stdout, sanitize exercise = 'src.calculator' def parse_result(output): if len(output) > 30: return output[:30] + "..." else: return output #add, multiply,subtract(-) @p...
53.197368
162
0.640861
540
4,043
4.72037
0.17037
0.051
0.0561
0.069047
0.786191
0.765398
0.754021
0.711652
0.62142
0.559827
0
0.030126
0.236458
4,043
75
163
53.906667
0.795594
0.006184
0
0.222222
0
0.111111
0.378143
0
0
0
0
0
0.285714
1
0.142857
false
0
0.063492
0
0.253968
0.174603
0
0
0
null
0
0
0
0
1
1
1
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
179adceb8ef99ba4b21093f2137d6ada1df13dcc
170
py
Python
py/cidoc_crm_types/properties/p74i_is_current_or_former_residence_of.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
py/cidoc_crm_types/properties/p74i_is_current_or_former_residence_of.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
py/cidoc_crm_types/properties/p74i_is_current_or_former_residence_of.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass @dataclass class P74iIsCurrentOrFormerResidenceOf: URI = "http://erlangen-crm.org/current/P74i_is_current_or_former_residence_of"
24.285714
82
0.835294
20
170
6.8
0.9
0
0
0
0
0
0
0
0
0
0
0.025974
0.094118
170
6
83
28.333333
0.857143
0
0
0
0
0
0.411765
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
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
17a499e89c1f58d64ae022190cd1e98d9f2bed61
67
py
Python
text_normalizer/library/strip.py
Yoctol/text-normalizer
3609c10cd229c08b4623531e82d2292fc370734c
[ "MIT" ]
16
2018-04-16T08:59:34.000Z
2021-01-21T06:05:45.000Z
text_normalizer/library/strip.py
Yoctol/text-normalizer
3609c10cd229c08b4623531e82d2292fc370734c
[ "MIT" ]
12
2018-04-16T06:54:07.000Z
2020-04-03T19:36:07.000Z
text_normalizer/library/strip.py
Yoctol/text-normalizer
3609c10cd229c08b4623531e82d2292fc370734c
[ "MIT" ]
3
2019-06-03T02:21:46.000Z
2021-09-16T11:57:03.000Z
from ..factory import Strip pure_strip_text_normalizer = Strip()
13.4
36
0.791045
9
67
5.555556
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.134328
67
4
37
16.75
0.862069
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
bd5c996b9eb56dc995d55206661acd7c804cc0b5
178
py
Python
apps/places/urls.py
bergran/places
0b11e329a263878ef51c6ffd4ca252e905b1e85f
[ "MIT" ]
null
null
null
apps/places/urls.py
bergran/places
0b11e329a263878ef51c6ffd4ca252e905b1e85f
[ "MIT" ]
null
null
null
apps/places/urls.py
bergran/places
0b11e329a263878ef51c6ffd4ca252e905b1e85f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from fastapi.routing import APIRouter from apps.places.views import places router = APIRouter() router.include_router(places.router, prefix='/places')
19.777778
54
0.747191
23
178
5.73913
0.608696
0.181818
0
0
0
0
0
0
0
0
0
0.006369
0.117978
178
8
55
22.25
0.834395
0.117978
0
0
0
0
0.045161
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
bd9982884d6198efd441f63f67cfc5fdc3c39e4c
594
py
Python
shell/src/dist/scripts/sibilla_py/sibilla/__init__.py
f-biondi/sibilla
e5c0d58192f4ad3adf945d30bd151a1e585632b1
[ "Apache-2.0" ]
null
null
null
shell/src/dist/scripts/sibilla_py/sibilla/__init__.py
f-biondi/sibilla
e5c0d58192f4ad3adf945d30bd151a1e585632b1
[ "Apache-2.0" ]
null
null
null
shell/src/dist/scripts/sibilla_py/sibilla/__init__.py
f-biondi/sibilla
e5c0d58192f4ad3adf945d30bd151a1e585632b1
[ "Apache-2.0" ]
null
null
null
from .plotting_module import SibillaDataPlotter from .profiler_module import Profiler from .sibilla_runtime import SibillaRuntime, Map, SibillaReachabilityResult, SibillaFristPassageTimeResult, SibillaReachabilityResult __all__= ( SibillaRuntime, Map, SibillaReachabilityResult, SibillaFristPassageTime...
24.75
133
0.632997
36
594
10.25
0.416667
0.135501
0.121951
0.384824
0.520325
0
0
0
0
0
0
0
0.200337
594
23
134
25.826087
0.776842
0
0
0.421053
0
0.105263
0.20742
0
0
0
0
0
0
1
0
false
0.105263
0.210526
0
0.210526
0.368421
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
bda6d18a6bd0ed7075722b16a23712ee31b68f59
310
py
Python
rbfmorph/rbf_func.py
utkarshmech/rbfmorph
7f5a96ea990dd3da59d4daa0546d365340c5c7fd
[ "MIT" ]
2
2021-07-08T09:25:29.000Z
2022-03-25T02:57:17.000Z
rbfmorph/rbf_func.py
utkarshmech/rbfmorph
7f5a96ea990dd3da59d4daa0546d365340c5c7fd
[ "MIT" ]
null
null
null
rbfmorph/rbf_func.py
utkarshmech/rbfmorph
7f5a96ea990dd3da59d4daa0546d365340c5c7fd
[ "MIT" ]
1
2021-08-31T13:02:28.000Z
2021-08-31T13:02:28.000Z
import numpy as np def rd(c1, c2): return np.sqrt((c1[0]-c2[0])**2+(c1[1]-c2[1])**2+(c1[2]-c2[2])**2) #rbf as global support spline type #Gaussian Spline def rbf(r): return np.exp(-r**2) #Spline polynomial def rbf1(r,deg): return r**deg # Global def rbf2(r): return np.exp(-r**2) # %% codecell
20.666667
70
0.616129
61
310
3.131148
0.42623
0.125654
0.094241
0.125654
0.146597
0.146597
0
0
0
0
0
0.081395
0.167742
310
14
71
22.142857
0.658915
0.270968
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0.111111
0.444444
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bdb7fc5fcbc1307b832943539399c39d87d78c14
389
py
Python
myapp/models.py
tainanpopo/Django-PostgreSQL
7dc7433012a3d71ac7683517f9066528e05680ac
[ "MIT" ]
null
null
null
myapp/models.py
tainanpopo/Django-PostgreSQL
7dc7433012a3d71ac7683517f9066528e05680ac
[ "MIT" ]
null
null
null
myapp/models.py
tainanpopo/Django-PostgreSQL
7dc7433012a3d71ac7683517f9066528e05680ac
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Student(models.Model): name = models.CharField(max_length = 20, null = False)#建立字串長度最大為20,且欄位不可空白。 sex = models.CharField(max_length = 2, default = 'M', null = False) birthday = models.DateField(null = False) phone = models.CharField(max_len...
35.363636
79
0.688946
51
389
5.176471
0.568627
0.136364
0.204545
0.272727
0.265152
0.265152
0.265152
0
0
0
0
0.022436
0.197943
389
11
80
35.363636
0.823718
0.113111
0
0
0
0
0.023324
0
0
0
0
0
0
1
0
false
0
0.125
0
0.875
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
bdc03df10aae341e3c45caf230a3f0d17a06e8af
755
py
Python
migrations/0004_auto_20180503_0115.py
contraslash/authentication-django
8f35a762e3b13e8696fd9b9ad2b495ccd7206065
[ "MIT" ]
null
null
null
migrations/0004_auto_20180503_0115.py
contraslash/authentication-django
8f35a762e3b13e8696fd9b9ad2b495ccd7206065
[ "MIT" ]
1
2018-11-18T17:02:23.000Z
2018-11-18T17:02:23.000Z
migrations/0004_auto_20180503_0115.py
contraslash/authentication-django
8f35a762e3b13e8696fd9b9ad2b495ccd7206065
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-05-03 01:15 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('authentication', '0003_auto_20161030_0401'), ] operations = [ migrations.RemoveField(...
22.205882
54
0.548344
64
755
6.296875
0.59375
0.156328
0.193548
0.223325
0.223325
0.223325
0
0
0
0
0
0.064128
0.339073
755
33
55
22.878788
0.743487
0.087417
0
0.538462
1
0
0.139942
0.033528
0
0
0
0
0
1
0
false
0
0.076923
0
0.192308
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bdc16bd48aeea07a68326de7311ccbdc30f97d50
420
py
Python
iatransfer/research/transfer/utils.py
KamilPiechowiak/iatransfer
d7607662a2d2f7d1a16164c813e8721a0563552b
[ "Apache-2.0" ]
4
2021-02-05T01:51:57.000Z
2022-01-11T13:59:33.000Z
iatransfer/research/transfer/utils.py
KamilPiechowiak/iatransfer
d7607662a2d2f7d1a16164c813e8721a0563552b
[ "Apache-2.0" ]
3
2021-02-05T20:05:05.000Z
2021-02-05T20:05:33.000Z
iatransfer/research/transfer/utils.py
KamilPiechowiak/iatransfer
d7607662a2d2f7d1a16164c813e8721a0563552b
[ "Apache-2.0" ]
null
null
null
from typing import Dict def get_transfer_method_name(transfer_method: Dict) -> str: name = [transfer_method["transfer"]] if "matching" in transfer_method: name.append(transfer_method["matching"]) if "standardization" in transfer_method: name.append(transfer_method["standardization"]) if...
38.181818
59
0.709524
50
420
5.74
0.36
0.439024
0.250871
0.209059
0.418118
0.418118
0.418118
0
0
0
0
0
0.17381
420
11
60
38.181818
0.827089
0
0
0
0
0
0.154394
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bdcda4bb76c474190d2ac307e17802ee5dfbb76a
1,743
py
Python
16/main.py
DVRodri8/advent-of-code-2019
8c1e1a0766b067fbe282dd482bc258275c5a3364
[ "MIT" ]
null
null
null
16/main.py
DVRodri8/advent-of-code-2019
8c1e1a0766b067fbe282dd482bc258275c5a3364
[ "MIT" ]
null
null
null
16/main.py
DVRodri8/advent-of-code-2019
8c1e1a0766b067fbe282dd482bc258275c5a3364
[ "MIT" ]
null
null
null
pattern = [0,1,0,-1] simple = "5976809283992775856519129862521510637189011805142625085592476419441152800471870988640290343556962798248530192164924082005982716102463161229000510630472484668041569018337146903741812638345037074107868497459866264295679401282527148732924358311753787356533216674412884500680687871795594653415...
30.051724
661
0.707401
180
1,743
6.816667
0.3
0.02934
0.02934
0.02445
0.06683
0.03749
0.03749
0.03749
0.03749
0
0
0.477225
0.181297
1,743
58
662
30.051724
0.382621
0.060241
0
0
0
0
0.577778
0.577778
0
0
0
0
0
1
0
false
0
0
0
0
0.181818
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bdd8116001fd37f65e905212556535ada8e46bb7
154
py
Python
django_monitor/price_monitor/urls/__init__.py
jasonljc/enterprise-price-monitor
616396243e909d3584f4cfcc53d4e156510da4bb
[ "MIT" ]
null
null
null
django_monitor/price_monitor/urls/__init__.py
jasonljc/enterprise-price-monitor
616396243e909d3584f4cfcc53d4e156510da4bb
[ "MIT" ]
null
null
null
django_monitor/price_monitor/urls/__init__.py
jasonljc/enterprise-price-monitor
616396243e909d3584f4cfcc53d4e156510da4bb
[ "MIT" ]
null
null
null
from django.conf.urls import url from .. import views urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^add/$', views.request_add) ]
19.25
42
0.642857
22
154
4.454545
0.590909
0.081633
0
0
0
0
0
0
0
0
0
0
0.168831
154
8
43
19.25
0.765625
0
0
0
0
0
0.083871
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
bde57d303c6932c10240e9aa9a4a534c03c88430
359
py
Python
pji/service/section/info/__init__.py
HansBug/pji
449d171cea0c03f4c302da886988f36f70e34ee6
[ "Apache-2.0" ]
null
null
null
pji/service/section/info/__init__.py
HansBug/pji
449d171cea0c03f4c302da886988f36f70e34ee6
[ "Apache-2.0" ]
null
null
null
pji/service/section/info/__init__.py
HansBug/pji
449d171cea0c03f4c302da886988f36f70e34ee6
[ "Apache-2.0" ]
null
null
null
from .base import SectionInfoTemplate, SectionInfo from .general import SectionInfoType, load_info_template from .local import LocalSectionInfoTemplate, LocalSectionInfo from .mapping import SectionInfoMappingTemplate, SectionInfoMapping from .static import StaticSectionInfoTemplate, StaticSectionInfo from .tag import ...
51.285714
67
0.883008
32
359
9.84375
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.083565
359
6
68
59.833333
0.957447
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
bded893c9bfe07adacd62e01b350ab126d93d544
10,087
py
Python
client/sdk/python/network/network_pb2_grpc.py
gofortwos/micro
fecc568b992c05dc3d97e8a1e807acabd281654e
[ "Linux-OpenIB" ]
37
2019-10-24T15:31:10.000Z
2020-09-30T01:20:31.000Z
client/sdk/python/network/network_pb2_grpc.py
gofortwos/micro
fecc568b992c05dc3d97e8a1e807acabd281654e
[ "Linux-OpenIB" ]
6
2019-10-24T15:40:17.000Z
2020-09-24T21:26:22.000Z
client/sdk/python/network/network_pb2_grpc.py
gofortwos/micro
fecc568b992c05dc3d97e8a1e807acabd281654e
[ "Linux-OpenIB" ]
8
2020-03-03T12:00:07.000Z
2020-07-26T08:52:34.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc from network import network_pb2 as network_dot_network__pb2 class NetworkStub(object): """Network service is usesd to gain visibility into networks """...
41.854772
100
0.649351
929
10,087
6.740581
0.12056
0.060683
0.100447
0.118173
0.835676
0.779783
0.590386
0.45337
0.435644
0.435644
0
0.005211
0.277089
10,087
240
101
42.029167
0.853538
0.069297
0
0.5
1
0
0.065119
0.029873
0
0
0
0
0
1
0.072917
false
0
0.010417
0.03125
0.130208
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bdf09203f1ee9e24ed1d071ca5f9263595171933
7,983
py
Python
tests/test_remix.py
audeering/audresample
9e837407ead916b25a40b49d99b9d9e1969230d7
[ "MIT" ]
2
2021-04-06T11:59:43.000Z
2021-04-21T13:59:34.000Z
tests/test_remix.py
audeering/audresample
9e837407ead916b25a40b49d99b9d9e1969230d7
[ "MIT" ]
11
2021-03-25T06:48:07.000Z
2022-02-03T09:43:39.000Z
tests/test_remix.py
audeering/audresample
9e837407ead916b25a40b49d99b9d9e1969230d7
[ "MIT" ]
1
2021-05-12T22:01:42.000Z
2021-05-12T22:01:42.000Z
from glob import glob from os import path import pytest import audiofile as af import numpy as np import audresample def set_ones(signal, channels): signal[channels, :] = 1 return signal def mixdown(signal): return np.atleast_2d(np.mean(signal, axis=0)) @pytest.mark.parametrize( 'signal, channel...
24.190909
69
0.382312
768
7,983
3.936198
0.104167
0.163745
0.148197
0.119418
0.76348
0.735031
0.701952
0.647701
0.575918
0.554747
0
0.127913
0.483903
7,983
329
70
24.264438
0.605825
0.017913
0
0.70607
0
0
0.015579
0
0
0
0
0
0.009585
1
0.009585
false
0
0.019169
0.003195
0.035144
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bdf1ba0dc75c7208005345902d8373cb66c76675
1,135
py
Python
ons_ras_common/ons_rest_exercise.py
ONSdigital/ras-common
92e3b92cf075e525c033ee94801b4002623d66d9
[ "MIT" ]
1
2017-11-03T13:15:54.000Z
2017-11-03T13:15:54.000Z
ons_ras_common/ons_rest_exercise.py
ONSdigital/ras-common
92e3b92cf075e525c033ee94801b4002623d66d9
[ "MIT" ]
3
2017-07-03T14:15:05.000Z
2017-09-07T13:11:27.000Z
ons_ras_common/ons_rest_exercise.py
ONSdigital/ras-common
92e3b92cf075e525c033ee94801b4002623d66d9
[ "MIT" ]
2
2019-10-03T11:21:01.000Z
2021-04-11T08:17:16.000Z
""" Generic Configuration tool for Micro-Service environment discovery License: MIT Copyright (c) 2017 Crown Copyright (Office for National Statistics) ONSCase wraps routines used to access the case service """ class ONSExercise(object): """ This class is designed to take all the work out of ac...
30.675676
99
0.664317
147
1,135
5.034014
0.571429
0.067568
0.056757
0
0
0
0
0
0
0
0
0.018913
0.254626
1,135
36
100
31.527778
0.855792
0.519824
0
0
0
0
0.182418
0.050549
0
0
0
0
0
1
0.3
false
0.1
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
bdf4a72c1d34b857c7a8d84c0523ccae0b35c128
2,266
py
Python
jass/logic/player.py
gregunz/JassAI
0568c7cd781393a2bceebe0729f6ce0ed5a504da
[ "MIT" ]
null
null
null
jass/logic/player.py
gregunz/JassAI
0568c7cd781393a2bceebe0729f6ce0ed5a504da
[ "MIT" ]
null
null
null
jass/logic/player.py
gregunz/JassAI
0568c7cd781393a2bceebe0729f6ce0ed5a504da
[ "MIT" ]
null
null
null
from typing import List, Dict, Optional from jass.agents.agent import Agent from jass.agents.state import PlayCardState, ChooseTrumpState from jass.logic.card import Card, Suit from jass.logic.exceptions import IllegalMoveError from jass.logic.hand import Hand class Player: def __init__(self, name: str, agent: A...
35.968254
116
0.668579
301
2,266
4.710963
0.252492
0.062059
0.03385
0.022567
0.066291
0.046544
0.046544
0
0
0
0
0.001725
0.232568
2,266
62
117
36.548387
0.813686
0.007944
0
0
0
0
0.030721
0
0
0
0
0.016129
0.041667
1
0.208333
false
0
0.125
0.104167
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
1
0
0
1
0
0
0
1
0
0
0
3
da0448948b2e0b010d267c4354d6f42f175ba8f5
19,686
py
Python
panda/migrations/0001_initial.py
higs4281/panda
133baa47882a289773a30c9656e2ea4efe569387
[ "MIT" ]
72
2015-02-12T22:28:11.000Z
2022-01-20T08:35:31.000Z
panda/migrations/0001_initial.py
eads/panda
3e343b9e30288abfe39a4a4bff72277d7635dc77
[ "MIT" ]
24
2015-01-12T21:52:35.000Z
2021-12-13T19:39:46.000Z
panda/migrations/0001_initial.py
eads/panda
3e343b9e30288abfe39a4a4bff72277d7635dc77
[ "MIT" ]
31
2015-01-09T19:20:19.000Z
2021-10-20T01:21:23.000Z
# encoding: 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 'Category' db.create_table('panda_category', ( ('id', self.gf('django.db.models...
70.05694
202
0.589404
2,127
19,686
5.340386
0.074753
0.100009
0.173783
0.248261
0.790563
0.772867
0.737213
0.682631
0.644951
0.55938
0
0.007551
0.18597
19,686
280
203
70.307143
0.701279
0.027685
0
0.266949
0
0
0.521469
0.298468
0
0
0
0
0
1
0.008475
false
0.004237
0.025424
0
0.04661
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
da14d4987064844876fec090c28e75e269e31c97
1,523
py
Python
git_sentry/handlers/git_team.py
git-sentry/git-sentry
4212ed19e91525656a40b73cb3fa12c30d7097bf
[ "MIT" ]
null
null
null
git_sentry/handlers/git_team.py
git-sentry/git-sentry
4212ed19e91525656a40b73cb3fa12c30d7097bf
[ "MIT" ]
1
2020-06-15T17:07:43.000Z
2020-06-15T18:18:33.000Z
git_sentry/handlers/git_team.py
git-sentry/git-sentry
4212ed19e91525656a40b73cb3fa12c30d7097bf
[ "MIT" ]
null
null
null
from git_sentry.handlers.access_controlled_git_object import AccessControlledGitObject from git_sentry.handlers.git_repo import GitRepo from git_sentry.handlers.git_user import GitUser class GitTeam(AccessControlledGitObject): def __init__(self, git_object): super().__init__(git_object) def name(self...
30.46
86
0.672357
196
1,523
4.933673
0.270408
0.083764
0.094105
0.06515
0.22544
0.128232
0.074457
0.074457
0.074457
0.074457
0
0
0.216021
1,523
49
87
31.081633
0.809883
0
0
0.057143
0
0
0.060407
0.02889
0
0
0
0
0
1
0.371429
false
0
0.085714
0.228571
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
da1cd99ac72626b4ae8b55982fc60b2a5a8d2248
475
py
Python
tests/test_data_models.py
datarevenue-berlin/omigami
61003ed3ece10cd3184c63ab03dff109b2893325
[ "MIT" ]
7
2020-12-09T16:03:38.000Z
2021-05-13T22:25:07.000Z
tests/test_data_models.py
datarevenue-berlin/pyMUVR
c7cfdaacde7bff8821be31acc31522a670bfc27b
[ "MIT" ]
3
2021-01-20T11:08:48.000Z
2021-01-22T08:55:17.000Z
tests/test_data_models.py
datarevenue-berlin/omigami
61003ed3ece10cd3184c63ab03dff109b2893325
[ "MIT" ]
2
2021-01-31T15:49:39.000Z
2021-04-05T20:50:36.000Z
from py_muvr.data_structures import SelectedFeatures def test_n_features(dataset): assert dataset.n_features == 12 def test_input_data_slice(dataset): assert dataset[:5, 3:7].X.shape == (5, 4) assert dataset[[1, 2, 5], [3, 4, 7]].X.shape == (3, 3) assert dataset[1:3, :].X.shape == (2, 12) assert...
25
58
0.648421
74
475
4.027027
0.391892
0.218121
0.134228
0
0
0
0
0
0
0
0
0.05102
0.174737
475
18
59
26.388889
0.709184
0
0
0
0
0
0.025263
0
0
0
0
0
0.545455
1
0.272727
false
0
0.090909
0
0.363636
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
3
da1d02e973fe649e1bc9996e71ed615c5354f7ed
181
py
Python
yapylib/helpers.py
twocucao/YaPyLib
8fe56f35b9f45d3c7f688ab5842c3a1e50688e01
[ "MIT" ]
2
2017-05-21T01:58:37.000Z
2018-02-23T15:35:14.000Z
yapylib/helpers.py
twocucao/YaPyLib
8fe56f35b9f45d3c7f688ab5842c3a1e50688e01
[ "MIT" ]
1
2021-06-08T19:12:08.000Z
2021-06-08T19:12:08.000Z
yapylib/helpers.py
twocucao/YaPyLib
8fe56f35b9f45d3c7f688ab5842c3a1e50688e01
[ "MIT" ]
null
null
null
import os def get_load_dotenv(default=True): val = os.environ.get('YAPYLIB_SKIP_DOTENV') if not val: return default return val.lower() in ('0', 'false', 'no')
20.111111
47
0.640884
27
181
4.148148
0.740741
0
0
0
0
0
0
0
0
0
0
0.007092
0.220994
181
8
48
22.625
0.787234
0
0
0
0
0
0.149171
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
da359ff4f3bd45191d58853ac26933a4162b7f0e
376
py
Python
gupb/controller/shallow_mind/utils.py
syforcee/GUPB
f916acf94efe61c54fa7b4cc33d3f94821fdb3d7
[ "MIT" ]
null
null
null
gupb/controller/shallow_mind/utils.py
syforcee/GUPB
f916acf94efe61c54fa7b4cc33d3f94821fdb3d7
[ "MIT" ]
null
null
null
gupb/controller/shallow_mind/utils.py
syforcee/GUPB
f916acf94efe61c54fa7b4cc33d3f94821fdb3d7
[ "MIT" ]
null
null
null
from typing import Tuple, List from gupb.model.characters import Action def points_dist(cord1, cord2): return int(((cord1.x - cord2.x) ** 2 + (cord1.y - cord2.y) ** 2) ** 0.5) def get_first_possible_move(moves: List[Tuple[Action, int]]): return next((next_move for next_move in moves if next_...
31.333333
113
0.672872
60
376
4.066667
0.55
0.098361
0.122951
0
0
0
0
0
0
0
0
0.039216
0.18617
376
11
114
34.181818
0.75817
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.285714
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
da4e74c0bde4e281d45df8c610e1a04b2f8df85a
101
py
Python
scalation_kernel/__init__.py
KevinBonanno/scalation_kernel
7686ac72216057fbab72e805d0dfab58bbb24feb
[ "MIT" ]
null
null
null
scalation_kernel/__init__.py
KevinBonanno/scalation_kernel
7686ac72216057fbab72e805d0dfab58bbb24feb
[ "MIT" ]
null
null
null
scalation_kernel/__init__.py
KevinBonanno/scalation_kernel
7686ac72216057fbab72e805d0dfab58bbb24feb
[ "MIT" ]
null
null
null
"""A Scala+ScalaTionkernel for Jupyter""" __version__ = '1.0' from .kernel import ScalaTionKernel
14.428571
41
0.742574
12
101
5.916667
0.916667
0
0
0
0
0
0
0
0
0
0
0.022989
0.138614
101
6
42
16.833333
0.793103
0.346535
0
0
0
0
0.050847
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
da64258e03d691ef483803f3069a99b42ca3fddb
1,274
py
Python
trax/shapes.py
koz4k2/trax
548f671fa3804cb86154ac504fb0c6c4269b42c7
[ "Apache-2.0" ]
null
null
null
trax/shapes.py
koz4k2/trax
548f671fa3804cb86154ac504fb0c6c4269b42c7
[ "Apache-2.0" ]
null
null
null
trax/shapes.py
koz4k2/trax
548f671fa3804cb86154ac504fb0c6c4269b42c7
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2019 The Trax Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
31.85
77
0.742543
186
1,274
4.935484
0.543011
0.065359
0.052288
0.034858
0
0
0
0
0
0
0
0.010319
0.163265
1,274
39
78
32.666667
0.850844
0.601256
0
0
0
0
0.087683
0.043841
0
0
0
0
0
1
0.230769
false
0
0.307692
0.076923
0.846154
0.076923
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
da7aa51e332defae419f6c4b3c1293079b4d08f3
35,049
py
Python
pmutt/statmech/vib.py
wittregr/pMuTT
1678fd3d3a10d8ef5389c02970a7ebaa92fc7344
[ "MIT" ]
28
2018-10-29T17:44:30.000Z
2022-03-23T14:20:16.000Z
pmutt/statmech/vib.py
wittregr/pMuTT
1678fd3d3a10d8ef5389c02970a7ebaa92fc7344
[ "MIT" ]
101
2018-10-18T19:49:30.000Z
2022-01-19T10:59:57.000Z
pmutt/statmech/vib.py
wittregr/pMuTT
1678fd3d3a10d8ef5389c02970a7ebaa92fc7344
[ "MIT" ]
16
2018-12-15T17:01:21.000Z
2022-01-03T17:42:23.000Z
# -*- coding: utf-8 -*- import numpy as np from scipy.integrate import quad from pmutt import _ModelBase from pmutt import constants as c from pmutt.io.json import remove_class class HarmonicVib(_ModelBase): """Vibrational modes using the harmonic approximation. Equations used sourced from: - Sandl...
31.604148
82
0.518217
4,087
35,049
4.283827
0.07218
0.037012
0.030386
0.039068
0.771704
0.724126
0.696482
0.64599
0.617089
0.606751
0
0.011934
0.328169
35,049
1,108
83
31.632671
0.731516
0.52321
0
0.464567
0
0
0.015117
0
0
0
0
0
0
1
0.244094
false
0
0.019685
0.007874
0.488189
0.015748
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
1
0
0
0
0
0
0
0
3
da80fb96a39a24e357879d21abdbb0ea3333caa3
230
py
Python
python-skylark/skylark/__init__.py
xdata-skylark/libskylark
89c3736136a24d519c14fc0738c21f37f1e10360
[ "Apache-2.0" ]
86
2015-01-20T03:12:46.000Z
2022-01-10T04:05:21.000Z
python-skylark/skylark/__init__.py
xdata-skylark/libskylark
89c3736136a24d519c14fc0738c21f37f1e10360
[ "Apache-2.0" ]
48
2015-05-12T09:31:23.000Z
2018-12-05T14:45:46.000Z
python-skylark/skylark/__init__.py
xdata-skylark/libskylark
89c3736136a24d519c14fc0738c21f37f1e10360
[ "Apache-2.0" ]
25
2015-01-18T23:02:11.000Z
2021-06-12T07:30:35.000Z
# TODO I am not sure the following line should really be here, but without # it Python just exits (complains of not initilizing MPI). import El __all__ = ["io", "sketch", "ml", "nla", "base", "elemhelper", "lib", "errors"]
32.857143
78
0.669565
34
230
4.411765
0.970588
0
0
0
0
0
0
0
0
0
0
0
0.191304
230
6
79
38.333333
0.806452
0.582609
0
0
0
0
0.395604
0
0
0
0
0.166667
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
3
da8c4daeb2a15243ec6f2ef58fa0a91ae50710ef
518
py
Python
examples/get_links.py
cesardeaptude/crawlerpy
c2d0f3b874bd6932cb1fca0cc293ee60c5d8fe4d
[ "MIT" ]
null
null
null
examples/get_links.py
cesardeaptude/crawlerpy
c2d0f3b874bd6932cb1fca0cc293ee60c5d8fe4d
[ "MIT" ]
null
null
null
examples/get_links.py
cesardeaptude/crawlerpy
c2d0f3b874bd6932cb1fca0cc293ee60c5d8fe4d
[ "MIT" ]
null
null
null
from crawlerpy import Get_news from crawlerpy.resources.resources import Resources pprint = Resources() news = Get_news() links = news.get_links("https://www.tehrantimes.com/page/archive.xhtml?wide=0&ms=0&pi=2&tp=697") #links = news.get_links("https://www.tehrantimes.com/archive?tp=697", # "h...
34.533333
97
0.683398
79
518
4.43038
0.329114
0.091429
0.217143
0.251429
0.577143
0.577143
0.577143
0.577143
0.417143
0.417143
0
0.040632
0.144788
518
15
98
34.533333
0.749436
0.513514
0
0
0
0.166667
0.281125
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
da8d1ecf5b911b4cf7623cc45b06333a4c9011ca
208
py
Python
chalice/sample_lambda_periodic.py
terratenney/aws-tools
d8ca07d56d812deb819b039752b94a0f1b9e6eb2
[ "MIT" ]
8
2020-12-27T18:44:17.000Z
2022-03-10T22:20:28.000Z
chalice/sample_lambda_periodic.py
terratenney/aws-tools
d8ca07d56d812deb819b039752b94a0f1b9e6eb2
[ "MIT" ]
28
2020-08-30T02:57:03.000Z
2021-05-12T09:13:15.000Z
chalice/sample_lambda_periodic.py
kyhau/arki
b5d6b160ef0780032f231362158dd9dd892f4e8e
[ "MIT" ]
8
2020-09-03T19:00:13.000Z
2022-03-31T05:31:35.000Z
from chalice import Chalice, Rate app = Chalice(app_name="helloworld") # Automatically runs every 5 minutes @app.schedule(Rate(5, unit=Rate.MINUTES)) def periodic_task(event): return {"hello": "world"}
23.111111
41
0.740385
29
208
5.241379
0.724138
0
0
0
0
0
0
0
0
0
0
0.01105
0.129808
208
9
42
23.111111
0.828729
0.163462
0
0
0
0
0.115607
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
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
1
0
0
0
3
da8e241a24be7b027477a4ee5fa0e12639102411
6,476
py
Python
env_dev/lib/python3.6/site-packages/sparsegrad/base/expr.py
icweaver/cs207_public
63a390b7ecb6a1847116c268dd6f21d1764152ae
[ "MIT" ]
null
null
null
env_dev/lib/python3.6/site-packages/sparsegrad/base/expr.py
icweaver/cs207_public
63a390b7ecb6a1847116c268dd6f21d1764152ae
[ "MIT" ]
null
null
null
env_dev/lib/python3.6/site-packages/sparsegrad/base/expr.py
icweaver/cs207_public
63a390b7ecb6a1847116c268dd6f21d1764152ae
[ "MIT" ]
null
null
null
# -*- coding: utf-8; -*- # # sparsegrad - automatic calculation of sparse gradient # Copyright (C) 2016-2018 Marek Zdzislaw Szymanski (marek@marekszymanski.com) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License, version 3, # as publish...
28.910714
97
0.661056
869
6,476
4.752589
0.275029
0.039225
0.058111
0.073608
0.251332
0.207264
0.199516
0.110896
0.094431
0.077482
0
0.003232
0.235485
6,476
223
98
29.040359
0.830943
0.300649
0
0.057851
0
0
0.130231
0.009798
0
0
0
0
0
1
0.289256
false
0.008264
0.033058
0.140496
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
16faa2311d55487320e23e95dc3935c094cfc87b
140
py
Python
Chapter 03/ch3_1_29.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 03/ch3_1_29.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 03/ch3_1_29.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
greet="Never Criticise" if not greet.islower(): print(greet.casefold()) else: print("Already in lowercase") # never criticise
20
34
0.678571
17
140
5.588235
0.705882
0.294737
0
0
0
0
0
0
0
0
0
0
0.192857
140
7
35
20
0.840708
0.107143
0
0
0
0
0.29661
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
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
e50de67a5fc93b749baeb697a1ba8e84ce5fd2ca
4,160
py
Python
supp_experiments/Toy_GMM/run_NPL_toygmm.py
edfong/npl
9e94287a7c253a33addcafb431c384be8a7dd8df
[ "BSD-3-Clause" ]
6
2019-05-05T15:59:07.000Z
2021-05-19T16:36:53.000Z
supp_experiments/Toy_GMM/run_NPL_toygmm.py
INASIC/npl
d1ee8ca557e7ab5df8a3a724bf41068c36406cd5
[ "BSD-3-Clause" ]
null
null
null
supp_experiments/Toy_GMM/run_NPL_toygmm.py
INASIC/npl
d1ee8ca557e7ab5df8a3a724bf41068c36406cd5
[ "BSD-3-Clause" ]
2
2019-05-05T15:59:09.000Z
2019-08-11T23:20:27.000Z
""" Running RR-NPL for Toy GMM (set R_restarts = 0 for FI-NPL) """ import numpy as np import npl.sk_gaussian_mixture as skgm import pandas as pd import time import copy from npl import bootstrap_gmm as bgmm from npl.maximise_gmm import init_toy from npl.maximise_gmm import sampleprior_toy from npl.maximise_gmm impo...
33.28
157
0.669712
666
4,160
3.87988
0.168168
0.048762
0.013932
0.048762
0.751548
0.74226
0.72678
0.689628
0.646672
0.646672
0
0.021971
0.21226
4,160
124
158
33.548387
0.766555
0.148317
0
0.519481
0
0
0.120307
0.104664
0
0
0
0
0
1
0.051948
false
0
0.116883
0
0.181818
0.038961
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
e52cb655d542881384ff632dcd8d5c953931dc92
1,852
py
Python
userbot/modules/degi_nehi.py
PratikGoswamiPM/OUB-Remix
d502d8fa64c0166d7b6faddd3ddc185ebe13425a
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2021-07-18T06:57:29.000Z
2021-07-18T06:57:29.000Z
userbot/modules/degi_nehi.py
PratikGoswamiPM/OUB-Remix
d502d8fa64c0166d7b6faddd3ddc185ebe13425a
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
userbot/modules/degi_nehi.py
PratikGoswamiPM/OUB-Remix
d502d8fa64c0166d7b6faddd3ddc185ebe13425a
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
#"""Fun pligon...for HardcoreUserbot #\nCode by @Hack12R #type `.degi` and `.nehi` to see the fun. #""" import random, re #from uniborg.util import admin_cmd import asyncio from telethon import events from userbot.events import register from asyncio import sleep import time from userbot import CMD_HELP @register(outgo...
29.870968
82
0.600972
256
1,852
4.328125
0.246094
0.162455
0.227437
0.162455
0.624549
0.624549
0.624549
0.559567
0.438628
0.438628
0
0.023038
0.25
1,852
61
83
30.360656
0.774658
0.070194
0
0.423077
0
0
0.090856
0
0
0
0
0
0
1
0
true
0
0.134615
0
0.134615
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
e540e72818b351ff006e7a559562dc9663438e39
242
py
Python
basic/module/custom/createModule/importModuleDemo.py
gwaysoft/python
a74a0b553dfca9606083a41ab6d03801e67d2467
[ "Apache-2.0" ]
null
null
null
basic/module/custom/createModule/importModuleDemo.py
gwaysoft/python
a74a0b553dfca9606083a41ab6d03801e67d2467
[ "Apache-2.0" ]
null
null
null
basic/module/custom/createModule/importModuleDemo.py
gwaysoft/python
a74a0b553dfca9606083a41ab6d03801e67d2467
[ "Apache-2.0" ]
null
null
null
import sys import createModuleDemo as mo, os from createModuleDemo01 import add as a from createModuleDemo02 import * # import default path print(sys.path) print(mo.add(3, 4.555)) print(a(30, 4)) print(add(34, 4)) # show method print(dir())
18.615385
39
0.747934
40
242
4.525
0.55
0.099448
0
0
0
0
0
0
0
0
0
0.07177
0.136364
242
13
40
18.615385
0.794258
0.128099
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.444444
0
0.444444
0.555556
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
e542d5658dc8d0b92337e2ccc077f4e924d7bd75
1,028
py
Python
server/kvls/lang.py
Antyos/kvlang-vscode
e35f505d68f2f1ab5a6551a2ea22699a1d6dcbd0
[ "MIT" ]
10
2018-02-14T20:44:51.000Z
2021-04-29T18:01:47.000Z
server/kvls/lang.py
Antyos/kvlang-vscode
e35f505d68f2f1ab5a6551a2ea22699a1d6dcbd0
[ "MIT" ]
15
2019-03-06T10:20:06.000Z
2022-02-26T02:39:36.000Z
server/kvls/lang.py
Antyos/kvlang-vscode
e35f505d68f2f1ab5a6551a2ea22699a1d6dcbd0
[ "MIT" ]
4
2018-12-18T09:19:25.000Z
2021-12-20T10:31:04.000Z
"""Module import kivy Parser is available. Otherwise fake class is created.""" from __future__ import absolute_import import os # Disable stdout printout from kivy os.environ["KIVY_NO_FILELOG"] = "1" os.environ["KIVY_NO_CONSOLELOG"] = "1" # Import Kivy parser # Disable pylint warning, because environment variables must...
34.266667
90
0.718872
138
1,028
5.231884
0.536232
0.041551
0.044321
0.041551
0.113573
0.113573
0.113573
0.113573
0.113573
0.113573
0
0.002427
0.198444
1,028
29
91
35.448276
0.873786
0.42607
0
0.117647
0
0
0.270796
0
0
0
0
0
0
1
0.058824
false
0.117647
0.411765
0
0.588235
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
e56543319dcec0d50182c0dfab4c8bc4b9339745
1,611
py
Python
main_animal.py
ObamaBinHiding/den
cc3b2d5ce509d48a46d5c8dddd73226fd2f59dd9
[ "MIT" ]
null
null
null
main_animal.py
ObamaBinHiding/den
cc3b2d5ce509d48a46d5c8dddd73226fd2f59dd9
[ "MIT" ]
null
null
null
main_animal.py
ObamaBinHiding/den
cc3b2d5ce509d48a46d5c8dddd73226fd2f59dd9
[ "MIT" ]
null
null
null
#!/usr/bin/python3 #Classes for side project with Gabe #Authors: # Ariel Lima <ariel.lima@gordon.edu> # ... #imports needed from random import randint #classes class Animal: """ This is the main animal class of the mini-game, all other animal classes come from this one """ def __init__(self): ...
29.290909
169
0.644941
221
1,611
4.683258
0.547511
0.031884
0.046377
0
0
0
0
0
0
0
0
0.009267
0.263191
1,611
54
170
29.833333
0.862679
0.342644
0
0
0
0
0
0
0
0
0
0.018519
0
1
0.3125
false
0
0.0625
0.1875
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
1
0
0
1
0
0
0
1
0
0
0
3
e59c1485bb3376f81f857907147768cd53b271e7
260
py
Python
test/util/test_map.py
azoimide/cyk
0dd06fc70136246ae59b783c566889802e50b06c
[ "MIT" ]
null
null
null
test/util/test_map.py
azoimide/cyk
0dd06fc70136246ae59b783c566889802e50b06c
[ "MIT" ]
null
null
null
test/util/test_map.py
azoimide/cyk
0dd06fc70136246ae59b783c566889802e50b06c
[ "MIT" ]
null
null
null
from util import map_string, map_to_string, rand_string def main(): t_tab = {'e': 5, '+': 2, '-': 3, '.': 4, '1': 1, '0': 0} s = rand_string(len(t_tab)) assert s == map_string(map_to_string(s, t_tab), t_tab) if __name__ == "__main__": main()
26
60
0.584615
45
260
2.933333
0.511111
0.121212
0.181818
0.212121
0.30303
0
0
0
0
0
0
0.038835
0.207692
260
9
61
28.888889
0.601942
0
0
0
0
0
0.053846
0
0
0
0
0
0.142857
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e5b6e996599829d73f42be998f9d50996c122c71
428
py
Python
myException.py
Abbion/Python-Labyrinth-Generator
965a2e2fe1d8907ba99888ac58aae16305834296
[ "MIT" ]
null
null
null
myException.py
Abbion/Python-Labyrinth-Generator
965a2e2fe1d8907ba99888ac58aae16305834296
[ "MIT" ]
null
null
null
myException.py
Abbion/Python-Labyrinth-Generator
965a2e2fe1d8907ba99888ac58aae16305834296
[ "MIT" ]
null
null
null
class WrongEntryException(Exception): """Klasa wyjątku -> zwracany gdy wartość wpisana do komórki jset błędna""" def __init__(self, message, entry_id): self.__message = message self.__entry_id = entry_id def __str__(self): return "wrong entry error: {0}".format(self.__message) ...
30.571429
78
0.684579
52
428
5.211538
0.596154
0.129151
0.081181
0
0
0
0
0
0
0
0
0.00303
0.228972
428
14
79
30.571429
0.818182
0.259346
0
0
0
0
0.070968
0
0
0
0
0
0
1
0.375
false
0
0
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e5bbf57a028c589544c5305ea0730775bc272feb
683
py
Python
mock/mock_patch/additional_property.py
aikrasnov/otus-examples
607fe0c11d812bdff57d92fc0949d5bdf3356c22
[ "MIT" ]
8
2019-11-03T18:59:08.000Z
2020-10-10T18:50:09.000Z
mock/mock_patch/additional_property.py
aikrasnov/otus-examples
607fe0c11d812bdff57d92fc0949d5bdf3356c22
[ "MIT" ]
null
null
null
mock/mock_patch/additional_property.py
aikrasnov/otus-examples
607fe0c11d812bdff57d92fc0949d5bdf3356c22
[ "MIT" ]
null
null
null
from unittest.mock import patch def foo(): return input(), input(), input() def test_function(): with patch('builtins.input', side_effect=("expected_one", "expected_two", "expected_three")) as mock: # foo() print('\n') print(dir(mock)) print("mock.assert_called: ", mock.assert_...
35.947368
105
0.632504
83
683
4.963855
0.361446
0.145631
0.23301
0.106796
0.169903
0.169903
0
0
0
0
0
0
0.212299
683
18
106
37.944444
0.765799
0.038067
0
0
0
0
0.284404
0.036697
0
0
0
0
0.285714
1
0.142857
true
0
0.071429
0.071429
0.285714
0.5
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
e5caa6f0d1ea510b2640db504779ee5d978fd38f
2,230
py
Python
fomms_integrate/newton_cotes.py
mquevill/fomms_integrate
63f8eb35e092cd219a31ae0b5fcc3cd0c747cf67
[ "BSD-3-Clause" ]
null
null
null
fomms_integrate/newton_cotes.py
mquevill/fomms_integrate
63f8eb35e092cd219a31ae0b5fcc3cd0c747cf67
[ "BSD-3-Clause" ]
null
null
null
fomms_integrate/newton_cotes.py
mquevill/fomms_integrate
63f8eb35e092cd219a31ae0b5fcc3cd0c747cf67
[ "BSD-3-Clause" ]
null
null
null
""" This file contains the implementation of the Newton-Cotes rules """ import numpy as np def rectangle(x, f): """ Compute a 1D definite integral using the rectangle (midpoint) rule Parameters ---------- f : function User defined function. x : numpy array Integration domain. ...
19.059829
70
0.469507
307
2,230
3.407166
0.19544
0.017208
0.043021
0.047801
0.743786
0.739006
0.719885
0.719885
0.656788
0.553537
0
0.030846
0.374888
2,230
116
71
19.224138
0.719512
0.499103
0
0.463415
0
0
0
0
0
0
0
0
0
1
0.121951
false
0
0.02439
0
0.268293
0
0
0
0
null
0
0
0
0
1
1
1
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
e5d8545b2e60958ef71677aa58ac350c12d170e9
977
py
Python
tests/test_grad.py
papamarkou/eeyore
4cd9b5a619cd095035aa93f348d1c937629aa8a3
[ "MIT" ]
6
2020-04-22T18:56:46.000Z
2021-09-09T15:57:48.000Z
tests/test_grad.py
papamarkou/eeyore
4cd9b5a619cd095035aa93f348d1c937629aa8a3
[ "MIT" ]
19
2019-11-14T21:22:21.000Z
2020-10-31T16:18:36.000Z
tests/test_grad.py
scidom/eeyore
4cd9b5a619cd095035aa93f348d1c937629aa8a3
[ "MIT" ]
null
null
null
# %% # Definition of function whose analytical and autograd gradient are compared # # $$ # \begin{align} # f(x, y) & = # x^3 y^4, \\ # \nabla (f(x, y)) & = # \begin{pmatrix} # 3 x^2 y^4 \\ # 4 x^3 y^3 # \end{pmatrix}. # \end{align} # $$ # %% Import packages import torch import unittest # %% Define function f whose ...
21.711111
106
0.632549
143
977
4.223776
0.41958
0.029801
0.009934
0.039735
0.043046
0
0
0
0
0
0
0.030341
0.190379
977
44
107
22.204545
0.733249
0.398158
0
0
0
0
0.014085
0
0
0
0
0
0.071429
1
0.214286
false
0
0.142857
0.142857
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
1
0
0
0
1
1
0
0
3
e5eb0661bed24e24167b3a9426a97a639a4ff70d
11,376
py
Python
reconstruction/ostec/external/graphonomy/FaceHairMask/gcn.py
itsraina/insightface
e78eee59caff3515a4db467976cf6293aba55035
[ "MIT" ]
null
null
null
reconstruction/ostec/external/graphonomy/FaceHairMask/gcn.py
itsraina/insightface
e78eee59caff3515a4db467976cf6293aba55035
[ "MIT" ]
null
null
null
reconstruction/ostec/external/graphonomy/FaceHairMask/gcn.py
itsraina/insightface
e78eee59caff3515a4db467976cf6293aba55035
[ "MIT" ]
null
null
null
import torch from . import graph import torch.nn as nn import torch.nn.functional as F from torch.nn.parameter import Parameter class GraphConvolution(nn.Module): def __init__(self, in_features, out_features, bias=False): super(GraphConvolution, self).__init__() self.in_features = in_features ...
37.298361
99
0.605222
1,483
11,376
4.411328
0.103169
0.0321
0.0535
0.022012
0.758178
0.721492
0.720269
0.694589
0.694589
0.66738
0
0.013393
0.278041
11,376
304
100
37.421053
0.783149
0.170183
0
0.550725
0
0
0.00249
0
0
0
0
0
0.014493
1
0.10628
false
0
0.024155
0.009662
0.231884
0.004831
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
f922c183a2c1616191f2ed3571fa0fdf607a3626
86
py
Python
swap_start/tf_train/special_train/test/begin1.py
yudongqiu/gomoku
4a95f2a5008f31fed5cb92c6bd6d55f9669ddd06
[ "MIT" ]
3
2018-06-12T09:03:41.000Z
2019-01-14T05:34:57.000Z
swap_start/tf_train/special_train/test/begin1.py
yudongqiu/gomoku
4a95f2a5008f31fed5cb92c6bd6d55f9669ddd06
[ "MIT" ]
null
null
null
swap_start/tf_train/special_train/test/begin1.py
yudongqiu/gomoku
4a95f2a5008f31fed5cb92c6bd6d55f9669ddd06
[ "MIT" ]
null
null
null
# black white black begin_lib = [[ ( 8, 8), ( 7, 9), (11,11)]]
28.666667
43
0.372093
11
86
2.818182
0.727273
0
0
0
0
0
0
0
0
0
0
0.163265
0.430233
86
2
44
43
0.469388
0.290698
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
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
0055d2e486381e04ecf9c552c216e56a34a145c3
1,634
py
Python
NJ_tree_analysis_manual_sobject_run.py
kcotar/Stellar_abudance_trees
1a4377ef53a4b4c8df1be860598a70be31626110
[ "MIT" ]
null
null
null
NJ_tree_analysis_manual_sobject_run.py
kcotar/Stellar_abudance_trees
1a4377ef53a4b4c8df1be860598a70be31626110
[ "MIT" ]
null
null
null
NJ_tree_analysis_manual_sobject_run.py
kcotar/Stellar_abudance_trees
1a4377ef53a4b4c8df1be860598a70be31626110
[ "MIT" ]
null
null
null
from NJ_tree_analysis_functions import start_gui_explorer # nov v omegaCen? objs = [ 140305003201095, 140305003201103, 140305003201185, 140307002601128, 140307002601147, 140311006101253, 140314005201008, 140608002501266, 150211004701104, 150428002601118, 150703002101192 ] # nov v NGC6774 objs = [ 14070700...
60.518519
519
0.815789
124
1,634
10.645161
0.725806
0.018182
0.036364
0.090909
0.222727
0.069697
0.069697
0.069697
0
0
0
0.741176
0.115667
1,634
27
520
60.518519
0.172318
0.100979
0
0.176471
0
0
0.003415
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
005871f5f9a378a16e36c9245b43b7a63eda4285
613
py
Python
tests/test_profiles.py
nacknime-official/freelancehunt-api
fddbb45470e644be7fe12766177e05ba6889bf71
[ "MIT" ]
3
2020-10-19T06:41:19.000Z
2022-01-09T03:33:54.000Z
tests/test_profiles.py
nacknime-official/freelancehunt-api
fddbb45470e644be7fe12766177e05ba6889bf71
[ "MIT" ]
5
2020-10-20T06:16:58.000Z
2021-06-19T00:24:59.000Z
tests/test_profiles.py
nacknime-official/freelancehunt-api
fddbb45470e644be7fe12766177e05ba6889bf71
[ "MIT" ]
1
2020-10-20T09:21:57.000Z
2020-10-20T09:21:57.000Z
#!usr/bin/python3 """#TODO: Write comments.""" from freelancehunt import Profiles class Profiles: def __init__(self, token=None, **kwargs): pass #property def my_profile(self): pass def get_freelancers_list(self, country_id=None, city_id=None, skill_id=N...
21.892857
75
0.608483
76
613
4.644737
0.460526
0.084986
0.113314
0.096317
0.470255
0.334278
0.334278
0.334278
0.175637
0
0
0.006961
0.2969
613
27
76
22.703704
0.812065
0.076672
0
0.375
0
0
0
0
0
0
0
0.037037
0
1
0.375
false
0.375
0.0625
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
1
0
0
1
0
1
0
0
0
0
0
3
00658eaa5dea48fdd55f9f0c6d4c8091e2e9b903
1,630
py
Python
tests/fixtures.py
SpotDraft/silver-instamojo
39309bcb4163486416887191444fd2fd7d93d2bd
[ "Apache-2.0" ]
null
null
null
tests/fixtures.py
SpotDraft/silver-instamojo
39309bcb4163486416887191444fd2fd7d93d2bd
[ "Apache-2.0" ]
null
null
null
tests/fixtures.py
SpotDraft/silver-instamojo
39309bcb4163486416887191444fd2fd7d93d2bd
[ "Apache-2.0" ]
null
null
null
import pytest from django_dynamic_fixture import G from silver.models import Transaction, Proforma, Invoice, Customer from silver import payment_processors from silver_instamojo.models import InstamojoPaymentMethod @pytest.fixture def customer(): return G(Customer, currency='RON', address_1='9', address_2='9', ...
30.185185
80
0.760123
183
1,630
6.584699
0.234973
0.086307
0.106224
0.057261
0.484647
0.431535
0.360166
0.360166
0.360166
0.360166
0
0.003615
0.151534
1,630
53
81
30.754717
0.867679
0
0
0.333333
0
0
0.031902
0
0
0
0
0
0
1
0.222222
false
0
0.138889
0.222222
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
006a6e3ed62180f5ef963ec593f597e6120fee7c
1,104
py
Python
twitchbot/disabled_commands.py
jostster/PythonTwitchBotFramework
931fdac9226b0086b37a011fd7c0265580c87ef0
[ "MIT" ]
null
null
null
twitchbot/disabled_commands.py
jostster/PythonTwitchBotFramework
931fdac9226b0086b37a011fd7c0265580c87ef0
[ "MIT" ]
null
null
null
twitchbot/disabled_commands.py
jostster/PythonTwitchBotFramework
931fdac9226b0086b37a011fd7c0265580c87ef0
[ "MIT" ]
null
null
null
from pathlib import Path from .config import Config from .command import get_command, command_exist def is_command_disabled(channel: str, cmd: str): if channel in cfg_disabled_commands.data: if command_exist(cmd): cmd = get_command(cmd).fullname return cmd in cfg_disabled_commands[ch...
25.090909
73
0.710145
147
1,104
5.081633
0.204082
0.278447
0.305221
0.168675
0.623829
0.52075
0.487282
0.429719
0.429719
0.374833
0
0
0.210145
1,104
43
74
25.674419
0.856651
0
0
0.535714
0
0
0.026268
0.019928
0
0
0
0
0
1
0.107143
false
0
0.107143
0
0.392857
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
007ca49f44c5c439e57f3c28eaf8143d2a91d77c
415
py
Python
fluent_pages/tests/__init__.py
bashu/sigmacms-fluent-pages
04bee029cd581c11012cdb66dbf603218be23e66
[ "Apache-2.0" ]
null
null
null
fluent_pages/tests/__init__.py
bashu/sigmacms-fluent-pages
04bee029cd581c11012cdb66dbf603218be23e66
[ "Apache-2.0" ]
null
null
null
fluent_pages/tests/__init__.py
bashu/sigmacms-fluent-pages
04bee029cd581c11012cdb66dbf603218be23e66
[ "Apache-2.0" ]
null
null
null
""" Test suite for fluent-pages """ import django if django.VERSION < (1,6): # Expose for Django 1.5 and below (before DiscoverRunner) from .test_urldispatcher import UrlDispatcherTests, UrlDispatcherNonRootTests from .test_menu import MenuTests from .test_modeldata import ModelDataTests from .test_...
34.583333
81
0.780723
48
415
6.645833
0.625
0.125392
0
0
0
0
0
0
0
0
0
0.011494
0.161446
415
11
82
37.727273
0.905172
0.20241
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.857143
0
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
0
1
0
1
0
1
0
0
3
00a0faa3c66964279bb41fae3865dc60ba3083fc
232
py
Python
checkmate/contrib/plugins/git/test/__init__.py
marcinguy/checkmate-ce
fc33c7c27bc640ab4db5dbda274a0edd3b3db218
[ "MIT" ]
80
2015-01-06T17:42:39.000Z
2022-02-08T19:08:21.000Z
checkmate/contrib/plugins/git/test/__init__.py
ravikumarpurbey/checkmate
1a4d010c8ef25c678d8d14dc8e37a9bed1883ca2
[ "MIT" ]
6
2015-08-04T12:16:48.000Z
2021-02-27T12:09:16.000Z
checkmate/contrib/plugins/git/test/__init__.py
ravikumarpurbey/checkmate
1a4d010c8ef25c678d8d14dc8e37a9bed1883ca2
[ "MIT" ]
33
2015-01-02T14:18:11.000Z
2021-03-18T05:06:54.000Z
import os import tempfile import pytest import subprocess TEST_DIRECTORY = os.path.abspath(__file__+"/../") DATA_DIRECTORY = os.path.join(TEST_DIRECTORY,"data") GIT_TEST_REPOSITORY = DATA_DIRECTORY + "/test_repository/d3py.tar.gz"
25.777778
69
0.793103
32
232
5.40625
0.53125
0.150289
0.17341
0
0
0
0
0
0
0
0
0.004717
0.086207
232
8
70
29
0.811321
0
0
0
0
0
0.155172
0.12069
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
00a29c4f835aef0a95d2c8132d68ff1470e8cdb3
2,621
py
Python
features/steps/log-scale-axes.py
eaton-lab/toyplot
472f2f2f1bc048e485ade44d75c3ace310be4b41
[ "BSD-3-Clause" ]
438
2015-01-06T20:54:02.000Z
2022-03-15T00:39:33.000Z
features/steps/log-scale-axes.py
eaton-lab/toyplot
472f2f2f1bc048e485ade44d75c3ace310be4b41
[ "BSD-3-Clause" ]
184
2015-01-26T17:04:47.000Z
2022-02-19T16:29:00.000Z
features/steps/log-scale-axes.py
eaton-lab/toyplot
472f2f2f1bc048e485ade44d75c3ace310be4b41
[ "BSD-3-Clause" ]
45
2015-07-06T18:00:27.000Z
2022-02-14T12:46:17.000Z
# Copyright 2014, Sandia Corporation. Under the terms of Contract # DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain # rights in this software. from behave import * import nose import numpy import toyplot.data @given(u'values from -1000 to -1') def step_impl(context): context.x = n...
24.726415
91
0.69897
430
2,621
4.218605
0.172093
0.06946
0.109151
0.178611
0.775083
0.749724
0.678611
0.637817
0.546307
0.471334
0
0.088739
0.152995
2,621
105
92
24.961905
0.728378
0.063716
0
0.354839
0
0
0.223856
0
0
0
0
0
0
1
0.290323
false
0
0.064516
0
0.354839
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
00c3ae93abfc07ade275f2c40e56d05b3184bc85
873
py
Python
qcloudsdkvod/WxPublishRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkvod/WxPublishRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkvod/WxPublishRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class WxPublishRequest(Request): def __init__(self): super(WxPublishRequest, self).__init__( 'vod', 'qcloudcliV1', 'WxPublish', 'vod.api.qcloud.com') def get_SubAppId(self): return self.get_params().get('SubAppId')...
25.676471
68
0.649485
105
873
5.171429
0.27619
0.044199
0.103131
0.12523
0.191529
0.191529
0
0
0
0
0
0.002911
0.213058
873
33
69
26.454545
0.787482
0.024055
0
0
0
0
0.116471
0
0
0
0
0
0
1
0.428571
false
0
0.047619
0.190476
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
00c93a5d37fdb00470c35fa6e42f003d23b43f31
2,651
py
Python
plum/util.py
ruancomelli/plum
db114caec6cc70b75d740c03f3150feedb063d69
[ "MIT" ]
153
2019-05-02T19:39:23.000Z
2022-03-31T21:26:16.000Z
plum/util.py
ruancomelli/plum
db114caec6cc70b75d740c03f3150feedb063d69
[ "MIT" ]
39
2021-02-26T00:25:50.000Z
2022-02-10T16:09:37.000Z
plum/util.py
ruancomelli/plum
db114caec6cc70b75d740c03f3150feedb063d69
[ "MIT" ]
7
2018-03-01T11:56:31.000Z
2022-01-26T20:03:03.000Z
import abc import logging __all__ = ["multihash", "Comparable", "is_in_class", "get_class", "get_context"] log = logging.getLogger(__name__) def multihash(*args): """Multi-argument order-sensitive hash. Args: *args: Objects to hash. Returns: int: Hash. """ return hash(args) c...
23.254386
86
0.600151
349
2,651
4.34384
0.266476
0.094987
0.049472
0.039578
0.259894
0.21438
0.172823
0.120053
0.120053
0.068602
0
0.002655
0.289702
2,651
113
87
23.460177
0.802443
0.443606
0
0.105263
0
0
0.050157
0
0
0
0
0
0
1
0.315789
false
0.026316
0.052632
0.131579
0.736842
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
00d70e0e13a78702891527a0398fd4ddf552b037
102
py
Python
deep_talk/__init__.py
ptarau/DeepTalk
a06aaba750ea209244c611b4fbc948efbe2186c0
[ "Apache-2.0" ]
1
2020-11-22T17:33:53.000Z
2020-11-22T17:33:53.000Z
deep_talk/__init__.py
ptarau/DeepTalk
a06aaba750ea209244c611b4fbc948efbe2186c0
[ "Apache-2.0" ]
null
null
null
deep_talk/__init__.py
ptarau/DeepTalk
a06aaba750ea209244c611b4fbc948efbe2186c0
[ "Apache-2.0" ]
null
null
null
#__version__ = '0.1.3' __all__ = ('dialog_about','txt_quest','pdf_quest', 'pro') from .qpro import *
20.4
57
0.666667
15
102
3.8
0.933333
0
0
0
0
0
0
0
0
0
0
0.033333
0.117647
102
4
58
25.5
0.6
0.205882
0
0
0
0
0.4125
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
00dbdb4826ea7f44f3e9b83faa9080ef644fe017
466
py
Python
rcs_back/containers_app/migrations/0034_auto_20210826_2017.py
e-kondr01/rcs_back
f0f224d01f7051cce9d5feef692216d48cba6f31
[ "MIT" ]
null
null
null
rcs_back/containers_app/migrations/0034_auto_20210826_2017.py
e-kondr01/rcs_back
f0f224d01f7051cce9d5feef692216d48cba6f31
[ "MIT" ]
null
null
null
rcs_back/containers_app/migrations/0034_auto_20210826_2017.py
e-kondr01/rcs_back
f0f224d01f7051cce9d5feef692216d48cba6f31
[ "MIT" ]
1
2021-09-25T19:18:55.000Z
2021-09-25T19:18:55.000Z
# Generated by Django 3.2.5 on 2021-08-26 17:17 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('containers_app', '0033_auto_20210826_2005'), ] operations = [ migrations.RemoveField( model_name='container', name='avg_fill...
21.181818
54
0.592275
48
466
5.520833
0.708333
0.158491
0.196226
0.226415
0.34717
0.34717
0.34717
0
0
0
0
0.095385
0.302575
466
21
55
22.190476
0.72
0.096567
0
0.4
1
0
0.212411
0.105012
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
00e97ffdadcd44533834eb07fdacbf72199693cf
1,072
py
Python
SampleProject/POMObjectDemo/Pages/loginPage.py
MelissaQA/selenium-py-example
59a20d5d97aa1da93a10cf12c5102494509d8683
[ "MIT" ]
null
null
null
SampleProject/POMObjectDemo/Pages/loginPage.py
MelissaQA/selenium-py-example
59a20d5d97aa1da93a10cf12c5102494509d8683
[ "MIT" ]
null
null
null
SampleProject/POMObjectDemo/Pages/loginPage.py
MelissaQA/selenium-py-example
59a20d5d97aa1da93a10cf12c5102494509d8683
[ "MIT" ]
null
null
null
from ..Locators.locators import Locators class LoginPage(): def __init__(self, driver): self.driver = driver self.username_textbox_id = Locators.username_textbox_id self.password_textbox_id = Locators.password_textbox_id self.login_button_id = Locators.login_button_id self....
41.230769
88
0.745336
145
1,072
5.124138
0.275862
0.107672
0.113055
0.169583
0.405114
0.300135
0.300135
0.261104
0.261104
0.261104
0
0
0.165112
1,072
26
89
41.230769
0.830168
0.037313
0
0
0
0
0.021318
0.021318
0
0
0
0
0
1
0.263158
false
0.210526
0.052632
0
0.421053
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
da9b8d26a56809811128e75250310903ed33e999
2,243
py
Python
src/awkward/_v2/operations/structure/ak_is_none.py
BioGeek/awkward-1.0
0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2
[ "BSD-3-Clause" ]
null
null
null
src/awkward/_v2/operations/structure/ak_is_none.py
BioGeek/awkward-1.0
0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2
[ "BSD-3-Clause" ]
null
null
null
src/awkward/_v2/operations/structure/ak_is_none.py
BioGeek/awkward-1.0
0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2
[ "BSD-3-Clause" ]
null
null
null
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE from __future__ import absolute_import import awkward as ak np = ak.nplike.NumpyMetadata.instance() def is_none(array, axis=0, highlevel=True, behavior=None): raise NotImplementedError # """ # Args: # arra...
36.177419
87
0.567989
256
2,243
4.847656
0.457031
0.032232
0.038678
0.053183
0.103143
0.064464
0.064464
0
0
0
0
0.012525
0.323674
2,243
61
88
36.770492
0.805537
0.869371
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
da9bf08e1cdcbdd3d2017185c41713e6e15bc579
73
py
Python
build/lib/jet_django/__init__.py
lukejamison/jet-dasboard
5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9
[ "MIT" ]
193
2018-08-27T06:10:48.000Z
2022-03-08T13:04:55.000Z
build/lib/jet_django/__init__.py
lukejamison/jet-dasboard
5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9
[ "MIT" ]
23
2018-10-21T15:05:41.000Z
2020-12-20T15:18:58.000Z
build/lib/jet_django/__init__.py
lukejamison/jet-dasboard
5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9
[ "MIT" ]
38
2018-10-31T16:19:25.000Z
2022-02-10T05:08:24.000Z
VERSION = '0.0.1' default_app_config = 'jet_django.apps.JetDjangoConfig'
24.333333
54
0.780822
11
73
4.909091
0.909091
0
0
0
0
0
0
0
0
0
0
0.044776
0.082192
73
2
55
36.5
0.761194
0
0
0
0
0
0.493151
0.424658
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
daa3c4c7d998a656b3cff5c185d002fea3e64175
113
py
Python
app/view_models/articleclass.py
huzhipeng2388/Flask_Blog
2892245823d4e7e23f3d18a74120ee7686a7b832
[ "Apache-2.0" ]
1
2019-08-10T09:57:05.000Z
2019-08-10T09:57:05.000Z
app/view_models/articleclass.py
huzhipeng2388/Flask_Blog
2892245823d4e7e23f3d18a74120ee7686a7b832
[ "Apache-2.0" ]
null
null
null
app/view_models/articleclass.py
huzhipeng2388/Flask_Blog
2892245823d4e7e23f3d18a74120ee7686a7b832
[ "Apache-2.0" ]
null
null
null
class ArticleClassModel: def __init__(self,data): self.id = data.acid self.name = data.name
18.833333
29
0.628319
14
113
4.785714
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.274336
113
5
30
22.6
0.817073
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
dab0ea4bf0c08eff041d3e15b91d5d278cdb581c
159
py
Python
usp-introducao-python/numerosimparesnaturais.py
kbcvcbk/cesar-school
b857ac651175bd08551303a7e82d16c4a9f621d8
[ "MIT" ]
2
2020-05-14T00:29:38.000Z
2022-03-08T23:28:02.000Z
usp-introducao-python/numerosimparesnaturais.py
kbcvcbk/cesar-school
b857ac651175bd08551303a7e82d16c4a9f621d8
[ "MIT" ]
1
2022-03-02T11:26:37.000Z
2022-03-02T11:26:37.000Z
usp-introducao-python/numerosimparesnaturais.py
kbcvcbk/cesar-school
b857ac651175bd08551303a7e82d16c4a9f621d8
[ "MIT" ]
2
2020-11-03T09:36:27.000Z
2022-03-08T23:28:14.000Z
n=int(input("Digite o valor de n: ")) cont=1 while n!=0: if cont%2!=0: print(cont) cont=cont+1 n=n-1 else: cont=cont+1
15.9
37
0.490566
29
159
2.689655
0.517241
0.192308
0.230769
0
0
0
0
0
0
0
0
0.067961
0.352201
159
9
38
17.666667
0.68932
0
0
0.222222
0
0
0.132075
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dab5283014c8a304f56f6965217a09d8570a0c2f
99
py
Python
uibcdf_biblio/demo/__init__.py
uibcdf/UIBCDF_biblio
fe1c10391b94e79051923c187711934679b1bcdd
[ "MIT" ]
null
null
null
uibcdf_biblio/demo/__init__.py
uibcdf/UIBCDF_biblio
fe1c10391b94e79051923c187711934679b1bcdd
[ "MIT" ]
null
null
null
uibcdf_biblio/demo/__init__.py
uibcdf/UIBCDF_biblio
fe1c10391b94e79051923c187711934679b1bcdd
[ "MIT" ]
null
null
null
import pathlib bib = pathlib.Path(__file__).parent.absolute() / 'bibliography.bib' del(pathlib)
14.142857
67
0.747475
12
99
5.833333
0.75
0
0
0
0
0
0
0
0
0
0
0
0.111111
99
6
68
16.5
0.795455
0
0
0
0
0
0.163265
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
dabfbef325932988c92c2f6bf57f8f627f45aa92
141
py
Python
backend/api/pokemons/urls.py
jaenia/pokebattle
760181384ea1c067d40705f120152641156724d8
[ "MIT" ]
null
null
null
backend/api/pokemons/urls.py
jaenia/pokebattle
760181384ea1c067d40705f120152641156724d8
[ "MIT" ]
4
2021-01-05T18:51:30.000Z
2021-04-07T17:03:08.000Z
backend/api/pokemons/urls.py
jaenia/pokebattle
760181384ea1c067d40705f120152641156724d8
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path("", views.PokemonListEndpoint.as_view(), name="pokemon_list"), ]
17.625
71
0.716312
17
141
5.823529
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.148936
141
7
72
20.142857
0.825
0
0
0
0
0
0.085106
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
dac3a3907f0265a42f7b179a21eabc6896955349
239
py
Python
kissim/api/__init__.py
volkamerlab/kissim
35198a5efd4b651dd3952bf26ac5098fd1c4dfaa
[ "MIT" ]
15
2020-06-23T14:46:07.000Z
2022-02-03T04:23:56.000Z
kissim/api/__init__.py
volkamerlab/kissim
35198a5efd4b651dd3952bf26ac5098fd1c4dfaa
[ "MIT" ]
66
2020-11-05T11:45:21.000Z
2021-12-15T12:11:20.000Z
kissim/api/__init__.py
volkamerlab/kissim
35198a5efd4b651dd3952bf26ac5098fd1c4dfaa
[ "MIT" ]
3
2021-02-27T12:56:27.000Z
2022-02-03T04:23:57.000Z
""" Defines easy programmatic access for any entry point. """ from .encode import encode from .normalize import normalize from .compare import compare from .weights import weights from .outliers import outliers from .subset import subset
21.727273
53
0.799163
32
239
5.96875
0.5
0
0
0
0
0
0
0
0
0
0
0
0.146444
239
10
54
23.9
0.936275
0.221757
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
dadc3c20e7f60ed0e0ba86b1c858252b8eefd169
422
py
Python
intro/app/schemas.py
bmugenya/FastAPI
30e8e8a23b58a0d0bd62d410a02ac6e3fe9ddec6
[ "MIT" ]
null
null
null
intro/app/schemas.py
bmugenya/FastAPI
30e8e8a23b58a0d0bd62d410a02ac6e3fe9ddec6
[ "MIT" ]
null
null
null
intro/app/schemas.py
bmugenya/FastAPI
30e8e8a23b58a0d0bd62d410a02ac6e3fe9ddec6
[ "MIT" ]
null
null
null
from pydantic import BaseModel,EmailStr from typing import Optional from datetime import datetime class Post(BaseModel): title:str content:str class User(BaseModel): email: EmailStr password:str class Token(BaseModel): access_token: str token_type: str class TokenData(BaseModel): usern...
15.62963
39
0.725118
52
422
5.846154
0.442308
0.078947
0.098684
0.118421
0
0
0
0
0
0
0
0
0.206161
422
26
40
16.230769
0.907463
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
true
0.055556
0.166667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
daf126b7cdb8810ff7bef35d4b8b5505e872c1fe
160
py
Python
zeroae/goblet/chalice/__init__.py
andrew-mcgrath/zeroae-goblet
711fb5f63714525bf20f98b2092ca89c77eb6c9a
[ "Apache-2.0" ]
1
2021-03-11T23:04:21.000Z
2021-03-11T23:04:21.000Z
zeroae/goblet/chalice/__init__.py
andrew-mcgrath/zeroae-goblet
711fb5f63714525bf20f98b2092ca89c77eb6c9a
[ "Apache-2.0" ]
12
2020-03-31T00:43:22.000Z
2020-05-01T22:35:07.000Z
zeroae/goblet/chalice/__init__.py
andrew-mcgrath/zeroae-goblet
711fb5f63714525bf20f98b2092ca89c77eb6c9a
[ "Apache-2.0" ]
null
null
null
"""The Chalice Blueprint and Configuration for the Goblin framework.""" from .blueprint import bp from ..config import configure __all__ = ["bp", "configure"]
26.666667
71
0.75
20
160
5.8
0.7
0
0
0
0
0
0
0
0
0
0
0
0.1375
160
5
72
32
0.84058
0.40625
0
0
0
0
0.123596
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
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
daf367a06a856e3adfc7b46cea3df7a4853ac2fc
1,222
py
Python
release/stubs.min/System/Windows/Forms/__init___parts/AutoCompleteMode.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Windows/Forms/__init___parts/AutoCompleteMode.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Windows/Forms/__init___parts/AutoCompleteMode.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
class AutoCompleteMode(Enum,IComparable,IFormattable,IConvertible): """ Specifies the mode for the automatic completion feature used in the System.Windows.Forms.ComboBox and System.Windows.Forms.TextBox controls. enum AutoCompleteMode,values: Append (2),None (0),Suggest (1),SuggestAppend (3) """ def Inst...
30.55
215
0.684943
160
1,222
4.63125
0.4125
0.107962
0.11336
0.121457
0.174089
0.174089
0.174089
0.152497
0.152497
0.152497
0
0.003945
0.170213
1,222
39
216
31.333333
0.726824
0.49509
0
0.357143
0
0
0
0
0
0
0
0
0
1
0.392857
false
0.357143
0
0
0.642857
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
dafc6048d85831becc9eb6653f719b38891e455d
178
py
Python
practice.py
betweak-ml/machinelearning1
afc474fc8d5b01a77fb04d2f9b3edc0470623c35
[ "MIT" ]
null
null
null
practice.py
betweak-ml/machinelearning1
afc474fc8d5b01a77fb04d2f9b3edc0470623c35
[ "MIT" ]
18
2020-01-28T22:55:55.000Z
2022-03-11T23:55:18.000Z
practice.py
betweak-ml/machinelearning-tutorial
afc474fc8d5b01a77fb04d2f9b3edc0470623c35
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- # Author: 'Tweakers' # 'tweatershin@gmail.com' # # Created on 17/07/2019 import tensorflow as tf tf.gradients()
17.8
33
0.606742
23
178
4.695652
0.956522
0
0
0
0
0
0
0
0
0
0
0.065217
0.224719
178
10
34
17.8
0.717391
0.707865
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
dafe672a5f133dd51547dcce754b5f11c0a908dd
129
py
Python
Snippets/code-gym-1/the_letter_is.py
ursaMaj0r/python-csc-125
1d0968ad144112e24ae331c75aad58b74041593a
[ "MIT" ]
null
null
null
Snippets/code-gym-1/the_letter_is.py
ursaMaj0r/python-csc-125
1d0968ad144112e24ae331c75aad58b74041593a
[ "MIT" ]
null
null
null
Snippets/code-gym-1/the_letter_is.py
ursaMaj0r/python-csc-125
1d0968ad144112e24ae331c75aad58b74041593a
[ "MIT" ]
null
null
null
# input input_word = input("Enter a word: ") # response for letter in input_word: print("The letter is {}.".format(letter))
18.428571
45
0.674419
19
129
4.473684
0.631579
0.211765
0
0
0
0
0
0
0
0
0
0
0.178295
129
6
46
21.5
0.801887
0.108527
0
0
0
0
0.276786
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
dafe98e4b3bd402442de1f27584d451a90ebd738
262
py
Python
Src/WorkItemEventProcessor.Tests/Dsl/tfs/loadparentwi.py
rfennell/TfsAlertsDsl
dd5f8f1d122cba7361850f19cb229a6e10e0919f
[ "MS-PL" ]
null
null
null
Src/WorkItemEventProcessor.Tests/Dsl/tfs/loadparentwi.py
rfennell/TfsAlertsDsl
dd5f8f1d122cba7361850f19cb229a6e10e0919f
[ "MS-PL" ]
null
null
null
Src/WorkItemEventProcessor.Tests/Dsl/tfs/loadparentwi.py
rfennell/TfsAlertsDsl
dd5f8f1d122cba7361850f19cb229a6e10e0919f
[ "MS-PL" ]
null
null
null
wi = GetWorkItem(99) parentwi = GetParentWorkItem(wi) if parentwi == None: print("Work item '" + str(wi.Id) + "' has no parent") else: print("Work item '" + str(wi.Id) + "' has a parent '" + str(parentwi.Id) + "' with the title '" + parentwi.Title +"'")
43.666667
122
0.60687
37
262
4.324324
0.567568
0.1125
0.1625
0.2
0.2875
0.2875
0.2875
0
0
0
0
0.009434
0.19084
262
6
122
43.666667
0.740566
0
0
0
0
0
0.274809
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
9718007007794c7e374068980596c9aff3640616
152
py
Python
tests/__init__.py
MassDynamics/protein-inference
05cc9738a3fcd074d8e6789bb24979a9837082cf
[ "MIT" ]
4
2020-11-25T03:08:07.000Z
2020-11-25T23:28:06.000Z
tests/__init__.py
MassDynamics/protein-inference
05cc9738a3fcd074d8e6789bb24979a9837082cf
[ "MIT" ]
null
null
null
tests/__init__.py
MassDynamics/protein-inference
05cc9738a3fcd074d8e6789bb24979a9837082cf
[ "MIT" ]
1
2020-11-25T04:52:04.000Z
2020-11-25T04:52:04.000Z
import sys, os path = os.path.dirname(__file__) path = os.path.join(path, '..', 'protein_inference') if path not in sys.path: sys.path.append(path)
25.333333
52
0.697368
25
152
4.04
0.52
0.178218
0.19802
0
0
0
0
0
0
0
0
0
0.138158
152
6
53
25.333333
0.770992
0
0
0
0
0
0.125
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
971bfd1724a8c65451b65cf5f154975c4c91002e
634
py
Python
q3/q3/drivers/driverBase.py
virtimus/makaronLab
10b9be7d7d65d3da6219f929ea7070dd5fed3a81
[ "0BSD" ]
2
2021-03-16T05:48:36.000Z
2021-10-11T01:55:48.000Z
q3/q3/drivers/driverBase.py
virtimus/makaronLab
10b9be7d7d65d3da6219f929ea7070dd5fed3a81
[ "0BSD" ]
null
null
null
q3/q3/drivers/driverBase.py
virtimus/makaronLab
10b9be7d7d65d3da6219f929ea7070dd5fed3a81
[ "0BSD" ]
1
2021-03-16T05:48:39.000Z
2021-03-16T05:48:39.000Z
class Q3DriverBase: def __init__(self,_self,parent,impl): self._object = impl self._impl = impl self._parent = parent self._self = _self #@deprecated - use self def s(self): return self._self def self(self): return self._self def impl(self): ...
20.451613
47
0.556782
71
634
4.647887
0.309859
0.145455
0.212121
0.109091
0.127273
0
0
0
0
0
0
0.00241
0.345426
634
30
48
21.133333
0.792771
0.0347
0
0.095238
0
0
0.042693
0
0
0
0
0
0
1
0.333333
false
0
0
0.238095
0.619048
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
9728aae0e2c5481e11125f9e7e0d73d3b12df888
173
py
Python
basicprograms/StudentDetails.py
poojavaibhavsahu/Pooja_Python
58122bfa8586883145042b11fe1cc013c803ab4f
[ "bzip2-1.0.6" ]
null
null
null
basicprograms/StudentDetails.py
poojavaibhavsahu/Pooja_Python
58122bfa8586883145042b11fe1cc013c803ab4f
[ "bzip2-1.0.6" ]
null
null
null
basicprograms/StudentDetails.py
poojavaibhavsahu/Pooja_Python
58122bfa8586883145042b11fe1cc013c803ab4f
[ "bzip2-1.0.6" ]
null
null
null
stuname="pooja" rollno=102 age=25 marks=98.7 print("Student nameis:",stuname,"\n","student roll no is",rollno,"\n", "student age is",age,"\n","student marks is",marks)
28.833333
70
0.676301
29
173
4.034483
0.551724
0.205128
0
0
0
0
0
0
0
0
0
0.051948
0.109827
173
6
71
28.833333
0.707792
0
0
0
0
0
0.425287
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
972a493939543b55c98bfa291b09042843dc378f
126
py
Python
Curso em video/005.py
wandersoncamp/python
b9a48dbf133c42d6a3efdd1d72a18cb53025d28e
[ "CNRI-Python" ]
null
null
null
Curso em video/005.py
wandersoncamp/python
b9a48dbf133c42d6a3efdd1d72a18cb53025d28e
[ "CNRI-Python" ]
null
null
null
Curso em video/005.py
wandersoncamp/python
b9a48dbf133c42d6a3efdd1d72a18cb53025d28e
[ "CNRI-Python" ]
null
null
null
n=int(input("Informe um numero: ")) print("Analisando o valor", n, ", seu antecessor é", n-1, ", e seu sucessor é", n+1)
31.5
86
0.611111
22
126
3.5
0.727273
0.051948
0.077922
0
0
0
0
0
0
0
0
0.019608
0.190476
126
3
87
42
0.735294
0
0
0
0
0
0.593496
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
9741eaf839b1fbd4863a2bfb507c74d27cea96d8
955
py
Python
Projects/Online Workouts/w3resource/Basic - Part-I/program-77.py
ivenpoker/Python-Projects
2975e1bd687ec8dbcc7a4842c13466cb86292679
[ "MIT" ]
1
2019-09-23T15:51:45.000Z
2019-09-23T15:51:45.000Z
Projects/Online Workouts/w3resource/Basic - Part-I/program-77.py
ivenpoker/Python-Projects
2975e1bd687ec8dbcc7a4842c13466cb86292679
[ "MIT" ]
5
2021-02-08T20:47:19.000Z
2022-03-12T00:35:44.000Z
Projects/Online Workouts/w3resource/Basic - Part-I/program-77.py
ivenpoker/Python-Projects
2975e1bd687ec8dbcc7a4842c13466cb86292679
[ "MIT" ]
null
null
null
# !/usr/bin/env python3 ####################################################################################### # # # Program purpose: Test whether system is big-endian platform or little-endian # # platf...
41.521739
87
0.295288
52
955
5.269231
0.730769
0.20438
0.124088
0
0
0
0
0
0
0
0
0.013619
0.46178
955
22
88
43.409091
0.519455
0.587435
0
0
0
0
0.279412
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0.428571
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
97475e62e187d3028daa83ff8f933b4c70d5fdd1
150
py
Python
backend/auth/__init__.py
golani04/bug-tracker
a3f91fe6a2202bd60721ab0b0f4bf46b0fb4d872
[ "MIT" ]
null
null
null
backend/auth/__init__.py
golani04/bug-tracker
a3f91fe6a2202bd60721ab0b0f4bf46b0fb4d872
[ "MIT" ]
1
2021-05-21T16:15:52.000Z
2021-05-21T16:15:52.000Z
backend/auth/__init__.py
golani04/bug-tracker
a3f91fe6a2202bd60721ab0b0f4bf46b0fb4d872
[ "MIT" ]
null
null
null
from fastapi import APIRouter from backend.auth.login import router auth_routers = APIRouter() auth_routers.include_router(router, tags=["Auth"])
16.666667
50
0.793333
20
150
5.8
0.55
0.189655
0
0
0
0
0
0
0
0
0
0
0.113333
150
8
51
18.75
0.87218
0
0
0
0
0
0.026667
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
974e74917a2a87243d9344fc18f0220f82202fbb
1,210
py
Python
python-package/lets_plot/plot/sampling.py
OLarionova-HORIS/lets-plot
89e30a574fe2de3da17186acdbe1cf427d66d87f
[ "MIT" ]
null
null
null
python-package/lets_plot/plot/sampling.py
OLarionova-HORIS/lets-plot
89e30a574fe2de3da17186acdbe1cf427d66d87f
[ "MIT" ]
null
null
null
python-package/lets_plot/plot/sampling.py
OLarionova-HORIS/lets-plot
89e30a574fe2de3da17186acdbe1cf427d66d87f
[ "MIT" ]
null
null
null
# # Copyright (c) 2019. JetBrains s.r.o. # Use of this source code is governed by the MIT license that can be found in the LICENSE file. # from .core import FeatureSpec __all__ = ['sampling_random', 'sampling_random_stratified', 'sampling_pick', 'sampling_systematic', 'sampl...
23.72549
95
0.695041
162
1,210
4.901235
0.290123
0.124685
0.094458
0.081864
0.211587
0.211587
0.06801
0
0
0
0
0.004077
0.189256
1,210
50
96
24.2
0.805301
0.107438
0
0
0
0
0.228837
0.066977
0
0
0
0
0
1
0.333333
false
0
0.037037
0.333333
0.703704
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
979e76a1659efdfb5e59aba200e62953f955f17b
117
py
Python
python/tabuada.py
sswellington/bootcamp
04d5a0ab7f64d648ed69b7b906c56d32ea00765c
[ "MIT" ]
1
2021-03-24T12:51:24.000Z
2021-03-24T12:51:24.000Z
python/tabuada.py
sswellington/bootcamp
04d5a0ab7f64d648ed69b7b906c56d32ea00765c
[ "MIT" ]
null
null
null
python/tabuada.py
sswellington/bootcamp
04d5a0ab7f64d648ed69b7b906c56d32ea00765c
[ "MIT" ]
null
null
null
#!/bin/python3 valor=6 for n in range(1,11,1): print(str(valor) + " x " + str(n) + " = " + str((valor*n)))
16.714286
63
0.495726
20
117
2.9
0.65
0.275862
0
0
0
0
0
0
0
0
0
0.068182
0.247863
117
7
64
16.714286
0.590909
0.111111
0
0
0
0
0.057692
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
97a2f9b2c7908c6d4812a443b4760ffe70d0db92
349
py
Python
niwidgets/__init__.py
lrq3000/niwidgets
044ad6ff820eced3e54555a5a2feed9547217e03
[ "Apache-2.0" ]
null
null
null
niwidgets/__init__.py
lrq3000/niwidgets
044ad6ff820eced3e54555a5a2feed9547217e03
[ "Apache-2.0" ]
null
null
null
niwidgets/__init__.py
lrq3000/niwidgets
044ad6ff820eced3e54555a5a2feed9547217e03
[ "Apache-2.0" ]
null
null
null
""" Widgets to visualise neuroimaging data. For volume images, try import NiftiWidget. For surface images, try SurfaceWidget. """ # import example data from .exampledata import exampleatlas, examplezmap, examplet1 # noqa # import widget classes. from .niwidget_volume import NiftiWidget # noqa from .niwidget_surface ...
29.083333
69
0.793696
41
349
6.707317
0.560976
0.065455
0
0
0
0
0
0
0
0
0
0.003344
0.143266
349
11
70
31.727273
0.916388
0.518625
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
97abbf1e9bd47613990ff53795452efa7692edf2
311
py
Python
pixelssl/task_template/__init__.py
charlesCXK/PixelSSL
2e85e12c1db5b24206bfbbf2d7f6348ae82b2105
[ "Apache-2.0" ]
223
2020-08-12T16:18:44.000Z
2022-03-28T13:37:29.000Z
pixelssl/task_template/__init__.py
charlesCXK/PixelSSL
2e85e12c1db5b24206bfbbf2d7f6348ae82b2105
[ "Apache-2.0" ]
9
2020-09-04T07:33:14.000Z
2021-09-23T14:18:02.000Z
pixelssl/task_template/__init__.py
ZHKKKe/PixelSSL
ce192034355ae6a77e47d2983d9c9242df60802a
[ "Apache-2.0" ]
18
2020-08-17T09:37:17.000Z
2022-02-09T06:36:02.000Z
from . import func as func_template from . import data as data_template from . import model as model_template from . import criterion as criterion_template from . import proxy as proxy_template __all__ = [ 'func_template', 'data_template', 'model_template', 'criterion_template', 'proxy_template', ]
22.214286
45
0.765273
41
311
5.463415
0.243902
0.223214
0.321429
0
0
0
0
0
0
0
0
0
0.160772
311
14
46
22.214286
0.858238
0
0
0
0
0
0.230769
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
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
1
0
0
0
0
3
97c40cfb1077a35388ccaf3ec9fab0b85a12a297
255
py
Python
pages/themes/beginners/loops/examples/slides/user_input_DO-WHILE_shorter_than_3.py
ProgressBG-Python-Course/ProgressBG-VC2-Python
03b892a42ee1fad3d4f97e328e06a4b1573fd356
[ "MIT" ]
null
null
null
pages/themes/beginners/loops/examples/slides/user_input_DO-WHILE_shorter_than_3.py
ProgressBG-Python-Course/ProgressBG-VC2-Python
03b892a42ee1fad3d4f97e328e06a4b1573fd356
[ "MIT" ]
null
null
null
pages/themes/beginners/loops/examples/slides/user_input_DO-WHILE_shorter_than_3.py
ProgressBG-Python-Course/ProgressBG-VC2-Python
03b892a42ee1fad3d4f97e328e06a4b1573fd356
[ "MIT" ]
null
null
null
# ask user to enter a name (string), until it contains at least 3 symbols while True: user_name = input("Enter a name (at least 3 symbols): ") user_name_length = len(user_name) if user_name_length > 3: break print("Thank you, {}!".format(user_name))
31.875
73
0.717647
44
255
4
0.568182
0.227273
0.113636
0.170455
0
0
0
0
0
0
0
0.014151
0.168627
255
8
74
31.875
0.816038
0.278431
0
0
0
0
0.26776
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8afdb96b2190a863e6626fe4cf297ad80c14e37a
22
py
Python
chief/utils/__init__.py
Manny2014/vm2docker
20eaae7e41d9ac3c1e8e26c3c76ceb8aa875244a
[ "MIT" ]
11
2017-02-15T14:01:20.000Z
2021-11-19T05:02:13.000Z
chief/utils/__init__.py
Manny2014/vm2docker
20eaae7e41d9ac3c1e8e26c3c76ceb8aa875244a
[ "MIT" ]
1
2018-12-11T05:21:59.000Z
2018-12-11T05:21:59.000Z
chief/utils/__init__.py
Manny2014/vm2docker
20eaae7e41d9ac3c1e8e26c3c76ceb8aa875244a
[ "MIT" ]
9
2017-09-14T12:11:15.000Z
2021-12-03T13:27:17.000Z
__author__ = 'elubin'
11
21
0.727273
2
22
6
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c109baa0bd70ed899a343ddde9aa0af413c9c109
638
py
Python
lambdata_danielmartinalarcon/coding_challenges/cipher_tests.py
DanielMartinAlarcon/lambdata
47c4e985688e183c837e2621911af78a0fa68e51
[ "MIT" ]
null
null
null
lambdata_danielmartinalarcon/coding_challenges/cipher_tests.py
DanielMartinAlarcon/lambdata
47c4e985688e183c837e2621911af78a0fa68e51
[ "MIT" ]
null
null
null
lambdata_danielmartinalarcon/coding_challenges/cipher_tests.py
DanielMartinAlarcon/lambdata
47c4e985688e183c837e2621911af78a0fa68e51
[ "MIT" ]
1
2019-02-14T16:15:40.000Z
2019-02-14T16:15:40.000Z
import unittest from cipher import sub_cipher class CipherTests(unittest.TestCase): """ Run several error tests """ def test_one_to_one(self): self.assertTrue(sub_cipher('toot', 'peep')) def test_one_to_two_correspondence(self): self.assertFalse(sub_cipher('lambda', 'school')) ...
22.785714
56
0.675549
78
638
5.153846
0.423077
0.134328
0.141791
0.164179
0.412935
0.208955
0
0
0
0
0
0
0.194357
638
27
57
23.62963
0.782101
0.03605
0
0
0
0
0.078464
0
0
0
0
0
0.333333
1
0.333333
false
0
0.133333
0
0.533333
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
c10be41dcb3876be1430670e9664a40bdfd5a4e3
424
py
Python
fastface/transforms/compose.py
ethanwharris/light-face-detection
bd6a4c5a87c80937e51adc3999eacc14c80185e8
[ "MIT" ]
null
null
null
fastface/transforms/compose.py
ethanwharris/light-face-detection
bd6a4c5a87c80937e51adc3999eacc14c80185e8
[ "MIT" ]
null
null
null
fastface/transforms/compose.py
ethanwharris/light-face-detection
bd6a4c5a87c80937e51adc3999eacc14c80185e8
[ "MIT" ]
null
null
null
from typing import Dict, Tuple import numpy as np class Compose(): """Compose given transforms""" def __init__(self, *transforms): self.transforms = transforms def __call__(self, img: np.ndarray, targets: Dict = {}) -> Tuple[np.ndarray, Dict]: # TODO add logger for transform in se...
28.266667
87
0.641509
50
424
5.28
0.52
0.159091
0
0
0
0
0
0
0
0
0
0
0.25
424
15
88
28.266667
0.830189
0.096698
0
0
0
0
0
0
0
0
0
0.066667
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
c137cf42e31bc0fe350bfe788af38121322f393e
372
py
Python
a01_PySpark/e01_Resources/pyspark-tutorials/indep_vars/setup.py
mindis/Big_Data_Analysis
b4aec3a0e285de5cac02ad7390712635a73a24db
[ "Apache-2.0" ]
null
null
null
a01_PySpark/e01_Resources/pyspark-tutorials/indep_vars/setup.py
mindis/Big_Data_Analysis
b4aec3a0e285de5cac02ad7390712635a73a24db
[ "Apache-2.0" ]
null
null
null
a01_PySpark/e01_Resources/pyspark-tutorials/indep_vars/setup.py
mindis/Big_Data_Analysis
b4aec3a0e285de5cac02ad7390712635a73a24db
[ "Apache-2.0" ]
1
2021-06-22T10:18:14.000Z
2021-06-22T10:18:14.000Z
from distutils.core import setup setup(name='build_indep_vars.py', version='1.0', url='https://github.com/UrbanInstitute/pyspark-tutorials/tree/master/indep_vars' author='Jeff Levy', autor_email='jlevy@urban.org', py_modules=['build_indep_vars']) #pip install -e git+https://github.com/Urb...
41.333333
94
0.733871
52
372
5.096154
0.673077
0.135849
0.10566
0.211321
0.475472
0.475472
0.475472
0.475472
0.475472
0.475472
0
0.006116
0.120968
372
9
94
41.333333
0.804281
0.25
0
0
0
0
0.487455
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
c15a6427b942677dfb95b4e2dda1c94c21bd3d7a
144
py
Python
funhouse.py
thertzelle/funhouse-clock
18c79cba2632370f23bba3ce9af04434bdfc35dd
[ "MIT" ]
null
null
null
funhouse.py
thertzelle/funhouse-clock
18c79cba2632370f23bba3ce9af04434bdfc35dd
[ "MIT" ]
null
null
null
funhouse.py
thertzelle/funhouse-clock
18c79cba2632370f23bba3ce9af04434bdfc35dd
[ "MIT" ]
null
null
null
import board import neopixel pixels = neopixel.NeoPixel(board.D6, 30, brightness=0.5, auto_write=False) pixels.fill((255, 0, 0)) pixels.show()
20.571429
74
0.75
23
144
4.652174
0.652174
0
0
0
0
0
0
0
0
0
0
0.077519
0.104167
144
6
75
24
0.751938
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c15ba37323543ec7ef7c81faea36ae27c3700c43
14,687
py
Python
ClusterTools/cluster_szspec.py
deimqs/ClusterModel
a073ffff012ad3404acd9ce12396f63fe7e81109
[ "BSD-3-Clause" ]
2
2020-08-03T07:41:28.000Z
2021-04-09T14:12:57.000Z
ClusterTools/cluster_szspec.py
deimqs/ClusterModel
a073ffff012ad3404acd9ce12396f63fe7e81109
[ "BSD-3-Clause" ]
19
2020-10-09T18:35:48.000Z
2021-07-29T15:47:51.000Z
ClusterTools/cluster_szspec.py
deimqs/ClusterModel
a073ffff012ad3404acd9ce12396f63fe7e81109
[ "BSD-3-Clause" ]
4
2020-08-04T14:18:10.000Z
2021-02-17T17:33:11.000Z
""" This script gather functions related to the SZ spectrum """ import numpy as np import astropy.units as u from astropy import constants as const from astropy.cosmology import Planck15 as cosmo #=================================================== #========== CMB intensity #========================================...
74.553299
286
0.465854
3,148
14,687
2.153431
0.126112
0.104145
0.09972
0.224369
0.471603
0.451099
0.428382
0.428382
0.423366
0.407435
0
0.257304
0.095799
14,687
196
287
74.933673
0.253163
0.087492
0
0.239316
0
0
0.001057
0
0
0
0
0
0
1
0.025641
false
0
0.034188
0
0.08547
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c15d63a4db5dfcf89b361b2c76dfc6e359c41c65
888
py
Python
flask_saestorage.py
csuzhangxc/Flask-SaeStorage
5d363b4dc0c630d2f8de3cfa617e3e09004bee09
[ "MIT" ]
11
2015-02-05T09:24:30.000Z
2020-04-23T08:33:09.000Z
flask_saestorage.py
csuzhangxc/Flask-SaeStorage
5d363b4dc0c630d2f8de3cfa617e3e09004bee09
[ "MIT" ]
null
null
null
flask_saestorage.py
csuzhangxc/Flask-SaeStorage
5d363b4dc0c630d2f8de3cfa617e3e09004bee09
[ "MIT" ]
2
2017-05-21T13:50:53.000Z
2018-06-05T15:47:18.000Z
# -*- coding: utf-8 -*- from sae import storage class SaeStorage(object): def __init__(self, app=None): self.app = app if app is not None: self.init_app(app) def init_app(self, app): access_key = app.config.get('SAE_ACCESS_KEY', storage.ACCESS_KEY) secret_key = ap...
32.888889
73
0.668919
121
888
4.636364
0.280992
0.064171
0.085562
0.106952
0.2959
0
0
0
0
0
0
0.001439
0.217342
888
27
74
32.888889
0.805755
0.023649
0
0
0
0
0.06351
0
0
0
0
0
0
1
0.263158
false
0
0.052632
0.157895
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c1672baf756bfd51f8d4320f2492cc0487b707da
701
py
Python
output/copilot/python/timeout/house-robber.py
nhtnhan/CMPUT663-copilot-eval
896711d006eb37a78e010cd1b9f79dc285ad054d
[ "Apache-2.0" ]
null
null
null
output/copilot/python/timeout/house-robber.py
nhtnhan/CMPUT663-copilot-eval
896711d006eb37a78e010cd1b9f79dc285ad054d
[ "Apache-2.0" ]
null
null
null
output/copilot/python/timeout/house-robber.py
nhtnhan/CMPUT663-copilot-eval
896711d006eb37a78e010cd1b9f79dc285ad054d
[ "Apache-2.0" ]
null
null
null
# https://leetcode.com/problems/house-robber/ class Solution(object): def rob(self, nums): """ You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent houses ha...
58.416667
345
0.713267
103
701
4.854369
0.699029
0.048
0.078
0
0
0
0
0
0
0
0
0
0.239658
701
12
346
58.416667
0.938086
0.821683
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
0
0
0
null
0
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
c199fd52ec551843d1a3f825f42895c226626497
2,001
py
Python
tests/loading.py
ecoinvent/bw_processing
d10a8b008115c185905bac7ee5a80e32b0b26b5f
[ "BSD-3-Clause" ]
1
2021-02-19T13:55:22.000Z
2021-02-19T13:55:22.000Z
tests/loading.py
ecoinvent/bw_processing
d10a8b008115c185905bac7ee5a80e32b0b26b5f
[ "BSD-3-Clause" ]
11
2020-04-15T08:35:02.000Z
2021-11-01T20:52:32.000Z
tests/loading.py
ecoinvent/bw_processing
d10a8b008115c185905bac7ee5a80e32b0b26b5f
[ "BSD-3-Clause" ]
1
2021-07-05T12:14:17.000Z
2021-07-05T12:14:17.000Z
# from bw_processing.loading import load_bytes # from bw_processing import create_package # from io import BytesIO # from pathlib import Path # import json # import numpy as np # import tempfile # def test_load_package_in_directory(): # with tempfile.TemporaryDirectory() as td: # td = Path(td) # ...
30.784615
82
0.483258
199
2,001
4.788945
0.291457
0.062959
0.157398
0.167891
0.604407
0.56873
0.56873
0.56873
0.524659
0.428122
0
0.011628
0.355322
2,001
64
83
31.265625
0.727132
0.927536
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
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c1ad4b4ced5c20b8546a5d694b7a2de47cdf85ad
1,484
py
Python
star_tides/services/databases/mongo/schemas/project_schema.py
STAR-TIDES/kb
6f895b03db0eefa86a1667d3024f4fe5b92ea99e
[ "MIT" ]
2
2021-06-10T20:58:27.000Z
2021-12-29T14:40:44.000Z
star_tides/services/databases/mongo/schemas/project_schema.py
STAR-TIDES/kb
6f895b03db0eefa86a1667d3024f4fe5b92ea99e
[ "MIT" ]
38
2021-05-13T06:23:49.000Z
2021-10-12T23:32:36.000Z
star_tides/services/databases/mongo/schemas/project_schema.py
STAR-TIDES/kb
6f895b03db0eefa86a1667d3024f4fe5b92ea99e
[ "MIT" ]
null
null
null
''' star_tides.services.databases.mongo.schemas.project_schema ''' from marshmallow.utils import EXCLUDE from marshmallow import Schema, fields from marshmallow_enum import EnumField from star_tides.services.databases.mongo.schemas import camelcase from star_tides.services.databases.mongo.schemas.location_schema import...
46.375
90
0.774259
184
1,484
6.13587
0.38587
0.063773
0.106289
0.115146
0.302037
0.302037
0.111603
0
0
0
0
0
0.132075
1,484
31
91
47.870968
0.876553
0.187332
0
0
0
0
0
0
0
0
0
0.032258
0
1
0.047619
false
0
0.333333
0
0.904762
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
c1b0904de09e4239a8d8e97501c6cf51ebf25919
664
py
Python
cwe_relation_cve/cwe_wrapper.py
pawlaczyk/sarenka_tools
69cba0ac1b9dc778a037c6f4e065e672830d71d6
[ "MIT" ]
3
2021-01-24T02:00:17.000Z
2022-02-03T21:49:02.000Z
cwe_relation_cve/cwe_wrapper.py
pawlaczyk/sarenka_tools
69cba0ac1b9dc778a037c6f4e065e672830d71d6
[ "MIT" ]
3
2021-04-06T18:24:34.000Z
2021-12-13T20:48:45.000Z
cwe_relation_cve/cwe_wrapper.py
pawlaczyk/sarenka_tools
69cba0ac1b9dc778a037c6f4e065e672830d71d6
[ "MIT" ]
2
2021-01-24T02:00:18.000Z
2021-06-12T10:52:01.000Z
class CWEWrapper: def __init__(self, cwe_id, description): self.__cwe_id = cwe_id self.__description = description self.__cve_ids_list = [] def add_cve(self, cve_id): self.__cve_ids_list.extend(cve_id) @property def cve_ids(self): return self.__cve_ids_list ...
23.714286
72
0.644578
85
664
4.552941
0.223529
0.116279
0.116279
0.108527
0.173127
0
0
0
0
0
0
0
0.256024
664
27
73
24.592593
0.783401
0
0
0.190476
0
0
0.106928
0.040663
0
0
0
0
0
1
0.333333
false
0
0
0.238095
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c1d9bbaea4b7fcb129aa1b80e57f8c92f183f734
191
py
Python
office365/sharepoint/tenant/administration/sharing_capabilities.py
wreiner/Office365-REST-Python-Client
476bbce4f5928a140b4f5d33475d0ac9b0783530
[ "MIT" ]
544
2016-08-04T17:10:16.000Z
2022-03-31T07:17:20.000Z
office365/sharepoint/tenant/administration/sharing_capabilities.py
wreiner/Office365-REST-Python-Client
476bbce4f5928a140b4f5d33475d0ac9b0783530
[ "MIT" ]
438
2016-10-11T12:24:22.000Z
2022-03-31T19:30:35.000Z
office365/sharepoint/tenant/administration/sharing_capabilities.py
wreiner/Office365-REST-Python-Client
476bbce4f5928a140b4f5d33475d0ac9b0783530
[ "MIT" ]
202
2016-08-22T19:29:40.000Z
2022-03-30T20:26:15.000Z
class SharingCapabilities: def __init__(self): pass Disabled = 0 ExternalUserSharingOnly = 1 ExternalUserAndGuestSharing = 2 ExistingExternalUserSharingOnly = 3
19.1
39
0.712042
14
191
9.428571
1
0
0
0
0
0
0
0
0
0
0
0.027778
0.246073
191
9
40
21.222222
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.142857
0
0
0.857143
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
c1efffffa610e2210940330c5c4d3600ab04be59
620
py
Python
xchainpy/xchainpy_client/xchainpy_client/models/balance.py
SLjavad/xchainpy-lib
e79b1fd341adaf9267964f3368500dd48de60917
[ "MIT" ]
8
2021-02-16T23:14:14.000Z
2022-03-22T09:35:58.000Z
xchainpy/xchainpy_client/xchainpy_client/models/balance.py
SLjavad/xchainpy-lib
e79b1fd341adaf9267964f3368500dd48de60917
[ "MIT" ]
12
2021-04-06T19:31:46.000Z
2022-03-22T14:34:13.000Z
xchainpy/xchainpy_client/xchainpy_client/models/balance.py
SLjavad/xchainpy-lib
e79b1fd341adaf9267964f3368500dd48de60917
[ "MIT" ]
10
2021-03-04T05:45:31.000Z
2022-03-31T14:44:01.000Z
from xchainpy_util.asset import Asset class Balance: _asset = None # Asset _amount = 0 def __init__(self, asset, amount): """ :param asset: asset type :type asset: Asset :param amount: amount :type amount: str """ self._asset = asset self....
18.787879
38
0.570968
69
620
4.942029
0.275362
0.131965
0.123167
0
0
0
0
0
0
0
0
0.002451
0.341935
620
32
39
19.375
0.833333
0.146774
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.263158
false
0
0.052632
0.105263
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3