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
11d77eda0591e3f3b3bf7a3974d445649a1ebea1
1,121
py
Python
src/annalist_root/annalist/views/fields/render_identifier.py
gklyne/annalist
82e7ef2d56a400325e7618fa9e590072ee8a71d3
[ "MIT" ]
18
2015-02-20T23:09:13.000Z
2020-11-13T06:06:43.000Z
src/annalist_root/annalist/views/fields/render_identifier.py
gklyne/annalist
82e7ef2d56a400325e7618fa9e590072ee8a71d3
[ "MIT" ]
30
2015-01-03T09:56:28.000Z
2021-06-10T20:58:55.000Z
src/annalist_root/annalist/views/fields/render_identifier.py
gklyne/annalist
82e7ef2d56a400325e7618fa9e590072ee8a71d3
[ "MIT" ]
5
2015-02-02T09:01:23.000Z
2018-06-14T20:05:28.000Z
from __future__ import unicode_literals from __future__ import absolute_import, division, print_function """ Value mapper for Identifier (URI/CURIE) field """ __author__ = "Graham Klyne (GK@ACM.ORG)" __copyright__ = "Copyright 2017, G. Klyne" __license__ = "MIT (http://opensource.org/licenses/MIT)" import...
26.690476
95
0.591436
111
1,121
5.648649
0.621622
0.095694
0.051037
0.063796
0
0
0
0
0
0
0
0.005562
0.198037
1,121
41
96
27.341463
0.69188
0.315789
0
0
0
0
0.133034
0
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.533333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
11ea7899c730e0b4612508fdd0c08be597d272f5
147
py
Python
arcade_solutions/the_core/tennis_set.py
nickaigi/automatic-dollop
eb8222475c7871c1d5710242c5aed8c70ea0d2c8
[ "Unlicense" ]
null
null
null
arcade_solutions/the_core/tennis_set.py
nickaigi/automatic-dollop
eb8222475c7871c1d5710242c5aed8c70ea0d2c8
[ "Unlicense" ]
null
null
null
arcade_solutions/the_core/tennis_set.py
nickaigi/automatic-dollop
eb8222475c7871c1d5710242c5aed8c70ea0d2c8
[ "Unlicense" ]
null
null
null
def tennis_set(s1, s2): n1 = min(s1, s2) n2 = max(s1, s2) if n2 == 6: return n1 < 5 return n2 == 7 and n1 >= 5 and n1 < n2
21
42
0.482993
28
147
2.5
0.535714
0.171429
0
0
0
0
0
0
0
0
0
0.195652
0.37415
147
6
43
24.5
0.565217
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
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
0
0
0
0
0
0
0
0
2
eea19dfe87f988fedbaf5073b1e8c69f662629e3
431
py
Python
easy/88. Merge Sorted Array.py
junyinglucn/leetcode
1fbd0962e4b7dc46b4ed4f0f86778cfedbda72e7
[ "MIT" ]
null
null
null
easy/88. Merge Sorted Array.py
junyinglucn/leetcode
1fbd0962e4b7dc46b4ed4f0f86778cfedbda72e7
[ "MIT" ]
null
null
null
easy/88. Merge Sorted Array.py
junyinglucn/leetcode
1fbd0962e4b7dc46b4ed4f0f86778cfedbda72e7
[ "MIT" ]
null
null
null
class Solution: def merge(self, nums1, m, nums2, n): i=m-1 j=n-1 tmp=m+n-1 while i>=0 and j>=0: if nums1[i]<nums2[j]: nums1[tmp]=nums2[j] tmp-=1 j-=1 else: nums1[tmp]=nums1[i] tmp-...
23.944444
40
0.338747
58
431
2.517241
0.310345
0.041096
0.178082
0.191781
0.273973
0.273973
0.273973
0.273973
0
0
0
0.108374
0.529002
431
18
41
23.944444
0.610837
0
0
0.388889
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.111111
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
eea3ba0d1989351683b6e4ddccc9b45d91212eca
2,910
py
Python
SNN simulation/evaluation/spike_counter.py
XiaoquinNUDT/Three-SNN-learning-algorithms-in-Brian2
b7a5b0aba03172cdc04e738f02a949c373c1aac2
[ "BSD-2-Clause" ]
8
2019-12-18T09:36:34.000Z
2021-06-22T15:47:49.000Z
SNN simulation/evaluation/spike_counter.py
Mary-Shi/Three-SNN-learning-algorithms-in-Brian2
b7a5b0aba03172cdc04e738f02a949c373c1aac2
[ "BSD-2-Clause" ]
null
null
null
SNN simulation/evaluation/spike_counter.py
Mary-Shi/Three-SNN-learning-algorithms-in-Brian2
b7a5b0aba03172cdc04e738f02a949c373c1aac2
[ "BSD-2-Clause" ]
6
2020-03-31T11:40:29.000Z
2022-03-14T01:26:40.000Z
""" This code is for countering the spikes generated by every neuron. The spike records are loaded from the '../result' folder copied from the spike record in the code generation mdoe. """ """ on 22th May by xiaoquinNUDT version 0.0 """ """ test: no """ """ optimazation record: """ ##---------------------------------...
46.190476
142
0.712371
396
2,910
4.914141
0.300505
0.066804
0.052415
0.021583
0.204008
0.158273
0.122302
0.048304
0
0
0
0.010514
0.117526
2,910
62
143
46.935484
0.747274
0.182474
0
0.05
1
0
0.103524
0.037445
0
0
0
0
0
1
0
false
0.075
0.075
0
0.075
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
eea76daa04c466de45906c8735807ec01100580d
4,155
py
Python
core/recc/video/resolution.py
bogonets/answer
57f892a9841980bcbc35fa1e27521b34cd94bc25
[ "MIT" ]
3
2021-06-20T02:24:10.000Z
2022-01-26T23:55:33.000Z
core/recc/video/resolution.py
bogonets/answer
57f892a9841980bcbc35fa1e27521b34cd94bc25
[ "MIT" ]
null
null
null
core/recc/video/resolution.py
bogonets/answer
57f892a9841980bcbc35fa1e27521b34cd94bc25
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # {name: (aka, width, height, aspect ratio)} HIGH_DEFINITION_MAP = { "NHD": ("nHD", 640, 360, (16, 9)), "QHD": ("qHD", 960, 540, (16, 9)), "HD": ("HD", 1280, 720, (16, 9)), "HD PLUS": ("HD+", 1600, 900, (16, 9)), "FHD": ("FHD", 1920, 1080, (16, 9)), "WQHD": ("WQHD", 2560...
32.209302
55
0.456558
613
4,155
3.058728
0.223491
0.0432
0.034133
0.0384
0
0
0
0
0
0
0
0.370704
0.250782
4,155
128
56
32.460938
0.231609
0.015403
0
0.016807
0
0
0.163405
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
eeb9f9481ed759722a73ffee2d434efb0fab4765
1,211
py
Python
research/glue/model.py
legacyai/tf-transformers
65a5f9a4bcb3236483daa598a37b91673f56cb97
[ "Apache-2.0" ]
116
2021-03-15T09:48:41.000Z
2022-03-24T05:15:51.000Z
research/glue/model.py
legacyai/tf-transformers
65a5f9a4bcb3236483daa598a37b91673f56cb97
[ "Apache-2.0" ]
4
2021-03-20T11:20:57.000Z
2022-01-05T04:59:07.000Z
research/glue/model.py
legacyai/tf-transformers
65a5f9a4bcb3236483daa598a37b91673f56cb97
[ "Apache-2.0" ]
9
2021-03-17T04:14:48.000Z
2021-09-13T07:15:31.000Z
from transformers import AlbertTokenizer from tf_transformers.core import Trainer from tf_transformers.models import AlbertModel as Model from tf_transformers.optimization import create_optimizer MODEL_NAME = "albert-base-v2" def get_model(return_all_layer_outputs, is_training, use_dropout): """Get the model"""...
30.275
119
0.768786
160
1,211
5.4625
0.33125
0.02746
0.061785
0.072082
0.148741
0.070938
0
0
0
0
0
0.003906
0.154418
1,211
39
120
31.051282
0.849609
0.043765
0
0
0
0
0.012313
0
0
0
0
0
0
1
0.217391
false
0
0.173913
0
0.608696
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
eeba0d1ed2b1db35a3bc2e9b6e63110e1a7144e5
729
py
Python
tests/fixtures/fixtures.py
irahorecka/python-craigslist-meta
069b0b85971b20f8ea20a1e8868b4614c180ebce
[ "MIT" ]
1
2021-04-07T23:40:15.000Z
2021-04-07T23:40:15.000Z
tests/fixtures/fixtures.py
irahorecka/python-craigslist-meta
069b0b85971b20f8ea20a1e8868b4614c180ebce
[ "MIT" ]
1
2021-02-25T21:14:05.000Z
2021-02-26T08:53:50.000Z
tests/fixtures/fixtures.py
irahorecka/python-craigslist-meta
069b0b85971b20f8ea20a1e8868b4614c180ebce
[ "MIT" ]
null
null
null
""" Common pytest fixtures. """ import pytest from craigslist_meta import base, metadata @pytest.fixture def get_keys(): """ Get all keys of a given class. """ yield lambda selector: base.find_keys(metadata.CRAIGSLIST, selector) @pytest.fixture def get_children(): """ Get children of a given instance. ...
25.137931
86
0.711934
98
729
5.204082
0.27551
0.129412
0.12549
0.14902
0.458824
0.458824
0.458824
0.458824
0.270588
0.270588
0
0
0.170096
729
28
87
26.035714
0.842975
0.208505
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
true
0
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
2
eedb5425208f62c1886b02c8df2b0c1faedd24e4
374
py
Python
python/chapter1/1.3_urlify/urlify.py
cedricium/cracking-the-coding-interview
dc6741f75ea0e08b9cd0d42ff61c4b10c8e0df5e
[ "MIT" ]
null
null
null
python/chapter1/1.3_urlify/urlify.py
cedricium/cracking-the-coding-interview
dc6741f75ea0e08b9cd0d42ff61c4b10c8e0df5e
[ "MIT" ]
null
null
null
python/chapter1/1.3_urlify/urlify.py
cedricium/cracking-the-coding-interview
dc6741f75ea0e08b9cd0d42ff61c4b10c8e0df5e
[ "MIT" ]
null
null
null
def urlify(str, length=None): """Write a method to replace all spaces with '%20'. Args: str - String whose spaces should be replaced by '%20' length - length of str minus any spaces padded at the beginning or end Returns: A string similar to str except whose spaces have been replace...
34
78
0.641711
54
374
4.444444
0.685185
0.091667
0
0
0
0
0
0
0
0
0
0.021818
0.264706
374
10
79
37.4
0.850909
0.708556
0
0
0
0
0.051282
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
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
eee4bb56cbb00279f90b9b97acaf2347f56191b1
182
py
Python
S4/S4 Library/simulation/global_policies/global_policy_enums.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:37.000Z
2021-05-20T19:33:37.000Z
S4/S4 Library/simulation/global_policies/global_policy_enums.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
S4/S4 Library/simulation/global_policies/global_policy_enums.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
import enum class GlobalPolicyProgressEnum(enum.Int): NOT_STARTED = 0 IN_PROGRESS = 1 COMPLETE = 2 class GlobalPolicyTokenType(enum.Int): NAME = 0 PROGRESS = 1
16.545455
41
0.692308
22
182
5.636364
0.681818
0.112903
0
0
0
0
0
0
0
0
0
0.035971
0.236264
182
10
42
18.2
0.856115
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
eef0a9869fbb57b3cbf3b7b2e433c7e5bc612d49
1,347
py
Python
rxsci/data/clip.py
maki-nage/rxsci
64c9956752cbdd4c65aa9f054b6b28318a056625
[ "MIT" ]
3
2021-05-03T13:40:46.000Z
2022-03-06T07:59:30.000Z
rxsci/data/clip.py
maki-nage/rxsci
64c9956752cbdd4c65aa9f054b6b28318a056625
[ "MIT" ]
9
2020-10-22T21:08:10.000Z
2021-08-05T09:01:26.000Z
rxsci/data/clip.py
maki-nage/rxsci
64c9956752cbdd4c65aa9f054b6b28318a056625
[ "MIT" ]
2
2021-01-05T16:48:54.000Z
2021-08-07T12:51:01.000Z
import rxsci as rs def clip(lower_bound=None, higher_bound=None): '''clip values between lower_bound (included) and higher_bound (included) The source can be an Observable or a MuxObservable. .. marble:: :alt: clip -0-1-2-1-3-4-2-6---| [ clip(2, 4) ] -2-2-2-2-3-4-2...
29.282609
79
0.634001
201
1,347
4.069652
0.308458
0.146699
0.07335
0.06846
0.277506
0.233496
0.209046
0.178484
0.102689
0.102689
0
0.018634
0.282851
1,347
45
80
29.933333
0.828157
0.393467
0
0
0
0
0.066667
0
0
0
0
0
0
1
0.333333
false
0
0.055556
0.277778
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
eef538241c1b4dbdf5481ca1ebdb7701e55d3b82
462
py
Python
examples/mongodb/remove_index.py
lanahuong/dubrayn.github.io
fd78edb38442966395161cfcf9dfd9b464703ddd
[ "MIT" ]
7
2019-04-12T07:46:05.000Z
2022-03-30T06:11:47.000Z
examples/mongodb/remove_index.py
lanahuong/dubrayn.github.io
fd78edb38442966395161cfcf9dfd9b464703ddd
[ "MIT" ]
3
2018-03-05T20:35:50.000Z
2022-03-28T13:09:44.000Z
examples/mongodb/remove_index.py
lanahuong/dubrayn.github.io
fd78edb38442966395161cfcf9dfd9b464703ddd
[ "MIT" ]
10
2017-10-04T07:05:51.000Z
2020-12-15T12:08:32.000Z
#!/usr/bin/env python3 from pymongo import MongoClient import pymongo.errors username, password, host, dbname = 'user0', 'pwd0', '127.0.0.1', 'test_db' client = MongoClient('mongodb://%s:%s@%s/%s' % (username, password, host, dbname)) try: db = client.test_db pycollection = db.pycollection pycollection.drop_i...
23.1
82
0.699134
65
462
4.892308
0.6
0.018868
0.125786
0.163522
0
0
0
0
0
0
0
0.025253
0.142857
462
19
83
24.315789
0.777778
0.045455
0
0
0
0
0.138636
0.047727
0
0
0
0
0
1
0
false
0.166667
0.166667
0
0.166667
0.166667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
e10a93ef9043132c95a3c19a3af7aa4a806913e6
663
py
Python
setup.py
SiriusKoan/RandomUsers
ae23a801a9b7bb80652bcb73d271a8107a69bf9a
[ "MIT" ]
2
2021-06-24T13:53:23.000Z
2022-02-16T09:11:44.000Z
setup.py
SiriusKoan/RandomUsers
ae23a801a9b7bb80652bcb73d271a8107a69bf9a
[ "MIT" ]
null
null
null
setup.py
SiriusKoan/RandomUsers
ae23a801a9b7bb80652bcb73d271a8107a69bf9a
[ "MIT" ]
1
2021-06-24T13:59:33.000Z
2021-06-24T13:59:33.000Z
from setuptools import setup, find_packages setup( name="RandomUsers", description="A simple tool helps you generate fake data.", long_description=open("README.md").read(), long_description_content_type="text/markdown", version="1.3", author="SiriusKoan", author_email="k.peihsun@gmail.com",...
30.136364
62
0.651584
72
663
5.888889
0.694444
0.134434
0.176887
0.122642
0
0
0
0
0
0
0
0.00947
0.20362
663
21
63
31.571429
0.793561
0
0
0
1
0
0.440422
0
0
0
0
0
0
1
0
true
0
0.05
0
0.05
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
e10b418c21c0b19433ccab0bc82501b677a3eb67
1,563
py
Python
qmhub/qmtools/torch.py
panxl/qmhub
bbe58c9194854bb55c6912d365d32c2b291c4e24
[ "MIT" ]
null
null
null
qmhub/qmtools/torch.py
panxl/qmhub
bbe58c9194854bb55c6912d365d32c2b291c4e24
[ "MIT" ]
1
2021-09-17T18:21:22.000Z
2021-09-17T18:21:22.000Z
qmhub/qmtools/torch.py
panxl/qmhub
bbe58c9194854bb55c6912d365d32c2b291c4e24
[ "MIT" ]
null
null
null
import numpy as np import torch from .qmbase import QMBase from ..units import CODATA08_BOHR_TO_A, CODATA08_HARTREE_TO_EV class Torch(QMBase): default_options = {'model': None} def __init__(self, **kwargs): super().__init__(**kwargs) self._model = torch.jit.load(self.options['model']).doubl...
33.978261
102
0.652591
225
1,563
4.217778
0.302222
0.059009
0.089568
0.100105
0.381454
0.358272
0.311907
0.179136
0.099052
0.099052
0
0.022077
0.21753
1,563
45
103
34.733333
0.753884
0.134357
0
0
0
0
0.007508
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0.035714
0.607143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
e10c83d9021478969ae23f4fc869de70643c4a70
700
py
Python
panoptes/webapp/services/forms.py
lesingerouge/Panoptes
4be798b31f659694b83533f8df520d674756afd7
[ "MIT" ]
null
null
null
panoptes/webapp/services/forms.py
lesingerouge/Panoptes
4be798b31f659694b83533f8df520d674756afd7
[ "MIT" ]
null
null
null
panoptes/webapp/services/forms.py
lesingerouge/Panoptes
4be798b31f659694b83533f8df520d674756afd7
[ "MIT" ]
null
null
null
# framework imports from flask.ext.wtf import Form from wtforms import StringField, BooleanField, SubmitField, SelectField, ValidationError from wtforms.validators import Required, EqualTo #app imports from ..config import Config class ServiceForm(Form): server = StringField(label="IP server", validators=[Requir...
43.75
107
0.754286
81
700
6.493827
0.592593
0.041825
0.091255
0.114068
0.174905
0.174905
0
0
0
0
0
0
0.117143
700
15
108
46.666667
0.851133
0.04
0
0
0
0
0.15994
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e1173764715c03fdac7c8e527d6cc2d17173ef16
329
py
Python
repos/system_upgrade/common/models/sysctlvariablesfacts.py
sm00th/leapp-repository
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
[ "Apache-2.0" ]
21
2018-11-20T15:58:39.000Z
2022-03-15T19:57:24.000Z
repos/system_upgrade/common/models/sysctlvariablesfacts.py
sm00th/leapp-repository
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
[ "Apache-2.0" ]
732
2018-11-21T18:33:26.000Z
2022-03-31T16:16:24.000Z
repos/system_upgrade/common/models/sysctlvariablesfacts.py
sm00th/leapp-repository
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
[ "Apache-2.0" ]
85
2018-11-20T17:55:00.000Z
2022-03-29T09:40:31.000Z
from leapp.models import Model, fields from leapp.topics import SystemFactsTopic class SysctlVariable(Model): topic = SystemFactsTopic name = fields.String() value = fields.String() class SysctlVariablesFacts(Model): topic = SystemFactsTopic sysctl_variables = fields.List(fields.Model(SysctlVa...
20.5625
64
0.756839
34
329
7.294118
0.529412
0.072581
0.209677
0
0
0
0
0
0
0
0
0
0.164134
329
15
65
21.933333
0.901818
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0
false
0
0.222222
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
0107a41a4385e37914b37fdfb986a1096b51290d
582
py
Python
vis_imagine_static_voxels/lib/modules/inf_net.py
mihirp1998/EmbLang
169b0468ccda554896973bcc226afb3e762a70e7
[ "Apache-2.0" ]
3
2020-07-12T02:15:27.000Z
2021-07-18T06:00:49.000Z
vis_imagine_static_voxels/lib/modules/inf_net.py
mihirp1998/EmbLang
169b0468ccda554896973bcc226afb3e762a70e7
[ "Apache-2.0" ]
1
2021-07-18T06:00:10.000Z
2021-07-24T11:51:17.000Z
vis_imagine_static_voxels/lib/modules/inf_net.py
mihirp1998/EmbLang
169b0468ccda554896973bcc226afb3e762a70e7
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf class InfNet(tf.keras.Model): def __init__(self, hiddim): super(InfNet, self).__init__() self.infer = tf.keras.Sequential([ tf.keras.layers.Conv3D(hiddim, 3, 1, "same"), tf.keras.layers.Activation("elu"), tf.keras.layers...
36.375
71
0.542955
76
582
4.039474
0.394737
0.159609
0.211726
0.185668
0.459283
0.37785
0.37785
0.37785
0.37785
0.37785
0
0.029557
0.302406
582
16
72
36.375
0.726601
0
0
0.133333
0
0
0.030875
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
010a2193277709d45cf0925dedd67ba5d5ee3f89
195
py
Python
src/python/codebay/l2tpserver/testclient/constants.py
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
5
2015-04-16T08:36:17.000Z
2017-05-12T17:20:12.000Z
src/python/codebay/l2tpserver/testclient/constants.py
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
null
null
null
src/python/codebay/l2tpserver/testclient/constants.py
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
4
2015-03-19T14:39:51.000Z
2019-01-23T08:22:55.000Z
"""Constants for testclient.""" # these have different places than in the gateway PLUTO_PSK = '/tmp/psk.txt' PLUTO_PIDFILE = '/tmp/pluto.pid' OPENL2TP_PIDFILE = '/tmp/openl2tp.pid' POOL_SIZE=5
21.666667
49
0.738462
29
195
4.827586
0.724138
0.142857
0
0
0
0
0
0
0
0
0
0.017544
0.123077
195
8
50
24.375
0.80117
0.379487
0
0
0
0
0.373913
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
01133f8364e36976d7dc6ae4fdd98bc49592779a
8,157
py
Python
scratch/scratch/middlewares.py
ketanpujare/scratch
d150c908004e45c2c936c99a64424e9aca41c5fe
[ "MIT" ]
null
null
null
scratch/scratch/middlewares.py
ketanpujare/scratch
d150c908004e45c2c936c99a64424e9aca41c5fe
[ "MIT" ]
null
null
null
scratch/scratch/middlewares.py
ketanpujare/scratch
d150c908004e45c2c936c99a64424e9aca41c5fe
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals from scrapy.exceptions import IgnoreRequest from urllib.parse import parse_qsl,urlencode,urlsplit,urluns...
36.253333
85
0.648032
954
8,157
5.450734
0.203354
0.025385
0.04
0.027692
0.517115
0.478269
0.464423
0.440962
0.440962
0.399423
0
0.002027
0.274243
8,157
224
86
36.415179
0.876351
0.299865
0
0.462185
0
0
0.029198
0
0
0
0
0
0
1
0.210084
false
0.02521
0.058824
0.05042
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
012b88266e4ed6ba3ae3bdddaf8739c3e5eef441
2,017
py
Python
data_engineering/training.py
LambdaSchool-Post-Here-1/DS
e90206008129fcefbebe832a73115f46ea288bdb
[ "MIT" ]
null
null
null
data_engineering/training.py
LambdaSchool-Post-Here-1/DS
e90206008129fcefbebe832a73115f46ea288bdb
[ "MIT" ]
7
2020-05-29T04:16:48.000Z
2020-05-29T04:23:55.000Z
data_engineering/training.py
LambdaSchool-Post-Here-1/DS
e90206008129fcefbebe832a73115f46ea288bdb
[ "MIT" ]
null
null
null
""" Baseline training file used in app production ----------------OBSOLETE---------------- import os import sqlite3 from sklearn.linear_model import LogisticRegression from basilica import Connection import psycopg2 # Load in basilica api key API_KEY = "d3c5e936-18b0-3aac-8a2c-bf95511eaaa5" # Filepath fo...
25.858974
169
0.679722
214
2,017
6.238318
0.453271
0.041948
0.011985
0.016479
0.049438
0.049438
0.049438
0.049438
0.049438
0
0
0.091138
0.211205
2,017
78
170
25.858974
0.747957
0.992067
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
012cca8b2f2ae917ecd022a49a3225d442c3d42d
226
py
Python
random/longestword.py
Dmendoza3/Phyton
e6c563609724b2dadcd767d2bfc291090ac2f58e
[ "MIT" ]
null
null
null
random/longestword.py
Dmendoza3/Phyton
e6c563609724b2dadcd767d2bfc291090ac2f58e
[ "MIT" ]
null
null
null
random/longestword.py
Dmendoza3/Phyton
e6c563609724b2dadcd767d2bfc291090ac2f58e
[ "MIT" ]
null
null
null
def longestWord(sentence): wordArray = sentence.split(" ") longest = "" for word in wordArray: if(len(word) >= len(longest)): longest = word return longest print(longestWord("Hello World"))
25.111111
38
0.610619
24
226
5.75
0.625
0
0
0
0
0
0
0
0
0
0
0
0.261062
226
9
39
25.111111
0.826347
0
0
0
0
0
0.052863
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
012d925b741a830b49b28f9e5cc12ddd713c5a86
82
py
Python
ABC189/A.py
shimomura314/AtcoderCodes
db1d62a7715f5f1b3c40eceff8d34f0f34839f41
[ "MIT" ]
null
null
null
ABC189/A.py
shimomura314/AtcoderCodes
db1d62a7715f5f1b3c40eceff8d34f0f34839f41
[ "MIT" ]
null
null
null
ABC189/A.py
shimomura314/AtcoderCodes
db1d62a7715f5f1b3c40eceff8d34f0f34839f41
[ "MIT" ]
null
null
null
c = str(input()) if c[0] == c[1] == c[2]: print("Won") else: print("Lost")
16.4
24
0.463415
15
82
2.533333
0.733333
0
0
0
0
0
0
0
0
0
0
0.047619
0.231707
82
5
25
16.4
0.555556
0
0
0
0
0
0.084337
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
012e3ae44d16a5967e356fb6e879542b66a2882b
1,190
py
Python
abacusai/prediction_input.py
Ankit-RealityEngines/api-python
3627048d31df5972c5777de2a1c1211ea06a8804
[ "MIT" ]
null
null
null
abacusai/prediction_input.py
Ankit-RealityEngines/api-python
3627048d31df5972c5777de2a1c1211ea06a8804
[ "MIT" ]
null
null
null
abacusai/prediction_input.py
Ankit-RealityEngines/api-python
3627048d31df5972c5777de2a1c1211ea06a8804
[ "MIT" ]
null
null
null
from .return_class import AbstractApiClass from .prediction_dataset import PredictionDataset from .prediction_feature_group import PredictionFeatureGroup class PredictionInput(AbstractApiClass): """ Batch inputs """ def __init__(self, client, featureGroupDatasetIds=None, datasetIdRemap=None, feat...
49.583333
243
0.768908
134
1,190
6.38806
0.268657
0.084112
0.110981
0.128505
0.257009
0.226636
0.093458
0.093458
0
0
0
0
0.135294
1,190
23
244
51.73913
0.831876
0.010084
0
0
0
0.066667
0.231434
0.196028
0
0
0
0
0
1
0.2
false
0
0.2
0.133333
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
01424a48d9790e004867d38c2da40311f1d552a8
230
py
Python
cgdms/observables.py
Jonahowns/oxTorch_prototype
e6c7c393b1100bc8604bd9ffc7a70c9c77e9e531
[ "MIT" ]
null
null
null
cgdms/observables.py
Jonahowns/oxTorch_prototype
e6c7c393b1100bc8604bd9ffc7a70c9c77e9e531
[ "MIT" ]
null
null
null
cgdms/observables.py
Jonahowns/oxTorch_prototype
e6c7c393b1100bc8604bd9ffc7a70c9c77e9e531
[ "MIT" ]
null
null
null
import torch # Methods for calculating properties of simulation system class Observables(): def __init__(self, observable_dict): supported_observables = ['kinetic_energy', 'angles'] def kinetic_energy(self, ):
20.909091
60
0.730435
25
230
6.4
0.8
0.1625
0
0
0
0
0
0
0
0
0
0
0.182609
230
11
61
20.909091
0.851064
0.23913
0
0
0
0
0.114943
0
0
0
0
0
0
0
null
null
0
0.2
null
null
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
1
0
0
0
0
0
0
0
0
2
01811fee4ed6c28442f339157b84a06358d36dfb
1,186
py
Python
app/actions/campaigns.py
appliedbloc/cm-data-service
596e9309952fee1e9cb34bbb812ccf78af276a2f
[ "MIT" ]
null
null
null
app/actions/campaigns.py
appliedbloc/cm-data-service
596e9309952fee1e9cb34bbb812ccf78af276a2f
[ "MIT" ]
null
null
null
app/actions/campaigns.py
appliedbloc/cm-data-service
596e9309952fee1e9cb34bbb812ccf78af276a2f
[ "MIT" ]
null
null
null
from sqlalchemy.orm import Session from sqlalchemy import update from fastapi.encoders import jsonable_encoder import models, schemas def get_campaign(db: Session, campaign_id: int): return db.query(models.Campaign).filter(models.Campaign.id == campaign_id).first() def get_campaign_by_recipient(db: Session, re...
29.65
97
0.741147
161
1,186
5.291925
0.304348
0.117371
0.059859
0.066901
0.353286
0.246479
0.246479
0.246479
0.13615
0.13615
0
0.002985
0.152614
1,186
39
98
30.410256
0.844776
0
0
0.307692
0
0
0
0
0
0
0
0
0
1
0.192308
false
0
0.153846
0.115385
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
01877c295cfb79d0a2968d5c567c61f778aceba2
537
py
Python
angr/concretization_strategies/range.py
Kyle-Kyle/angr
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
[ "BSD-2-Clause" ]
6,132
2015-08-06T23:24:47.000Z
2022-03-31T21:49:34.000Z
angr/concretization_strategies/range.py
Kyle-Kyle/angr
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
[ "BSD-2-Clause" ]
2,272
2015-08-10T08:40:07.000Z
2022-03-31T23:46:44.000Z
angr/concretization_strategies/range.py
Kyle-Kyle/angr
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
[ "BSD-2-Clause" ]
1,155
2015-08-06T23:37:39.000Z
2022-03-31T05:54:11.000Z
from . import SimConcretizationStrategy class SimConcretizationStrategyRange(SimConcretizationStrategy): """ Concretization strategy that resolves addresses to a range. """ def __init__(self, limit, **kwargs): #pylint:disable=redefined-builtin super(SimConcretizationStrategyRange, self).__init...
33.5625
74
0.692737
54
537
6.62963
0.574074
0.100559
0
0
0
0
0
0
0
0
0
0
0.206704
537
15
75
35.8
0.840376
0.171322
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
0189230a744e18bc051065681a3800056f107598
2,611
py
Python
block/models.py
tiantian-commits/fcexplorer
492f9a5d9cd538d37b4c172248fc3b1818bde1d8
[ "Apache-2.0" ]
null
null
null
block/models.py
tiantian-commits/fcexplorer
492f9a5d9cd538d37b4c172248fc3b1818bde1d8
[ "Apache-2.0" ]
7
2020-02-12T03:22:53.000Z
2022-03-12T00:11:02.000Z
block/models.py
tiantian-commits/fcexplorer
492f9a5d9cd538d37b4c172248fc3b1818bde1d8
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.utils import timezone class Miner(models.Model): id = models.CharField(primary_key=True, max_length=28) power = models.IntegerField(default=0) percent = models.IntegerField(default=0) class Block(models.Model): miner = models.CharField(max_length...
38.397059
83
0.730372
323
2,611
5.783282
0.216718
0.14454
0.154176
0.205567
0.577623
0.519807
0.420771
0.420771
0.420771
0.420771
0
0.02779
0.159326
2,611
67
84
38.970149
0.823235
0
0
0.314815
0
0
0.001916
0
0
0
0
0
0
1
0
false
0
0.037037
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
018d74f48019f57d43f123f4ae920c638193296e
216
py
Python
zoffimzoo/admin.py
normanjaeckel/ZoffImZoo
14f723f045090616d06c785b6199b0e1a9e25906
[ "MIT" ]
null
null
null
zoffimzoo/admin.py
normanjaeckel/ZoffImZoo
14f723f045090616d06c785b6199b0e1a9e25906
[ "MIT" ]
4
2021-03-19T01:58:02.000Z
2021-09-22T18:53:40.000Z
zoffimzoo/admin.py
normanjaeckel/ZoffImZoo
14f723f045090616d06c785b6199b0e1a9e25906
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Game class GameAdmin(admin.ModelAdmin): list_display = ("round", "date", "players") readonly_fields = ("cards",) admin.site.register(Game, GameAdmin)
18
47
0.717593
26
216
5.884615
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.152778
216
11
48
19.636364
0.836066
0
0
0
0
0
0.097222
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
018e8fd04097fc90ab95b7e0a4816b133f2ae0c7
751
py
Python
CS_4085 Python/Book Examples/coin.py
hickmanjv/hickmanjv
390e22317b9ace552855897af19963ffb416b1b7
[ "MIT" ]
null
null
null
CS_4085 Python/Book Examples/coin.py
hickmanjv/hickmanjv
390e22317b9ace552855897af19963ffb416b1b7
[ "MIT" ]
null
null
null
CS_4085 Python/Book Examples/coin.py
hickmanjv/hickmanjv
390e22317b9ace552855897af19963ffb416b1b7
[ "MIT" ]
null
null
null
import random class Coin: """ Class for the coin object, will provide methods for displaying the side of the coin and tossing it """ # This method initializes the coins as Heads up # the public sideup attribute initially set to Heads def __init__(self): self.__sideup = 'Heads' # Th...
30.04
57
0.641811
110
751
4.263636
0.490909
0.059701
0.03838
0.051173
0.06823
0
0
0
0
0
0
0.00947
0.296937
751
24
58
31.291667
0.878788
0.540613
0
0.181818
0
0
0.04644
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.090909
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
6d96c473f3c2f584bde624c255143643ac93eabf
275
py
Python
src/schemas/serlializers/bright.py
rena2damas/healthcheck-service
d889342bc2cd554e412101f8bf6ca2cf19fcf4d7
[ "MIT" ]
null
null
null
src/schemas/serlializers/bright.py
rena2damas/healthcheck-service
d889342bc2cd554e412101f8bf6ca2cf19fcf4d7
[ "MIT" ]
1
2022-03-31T10:45:00.000Z
2022-03-31T10:45:00.000Z
src/schemas/serlializers/bright.py
rena2damas/healthcheck-service
d889342bc2cd554e412101f8bf6ca2cf19fcf4d7
[ "MIT" ]
null
null
null
from marshmallow import Schema, fields class HealthCheckSchema(Schema): name = fields.String() status = fields.String(attribute="status.name") node = fields.String() seconds_ago = fields.Integer() timestamp = fields.Integer() info = fields.String()
25
51
0.698182
30
275
6.366667
0.566667
0.251309
0
0
0
0
0
0
0
0
0
0
0.185455
275
10
52
27.5
0.852679
0
0
0
0
0
0.04
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
6d9bdbfa4075284f59b1627de4aa837dd6f78591
284
py
Python
list3.py
mg9313/PythonBasiscs7-22-19
673cda9c91dc55439714016dc5b19f3d9b8c117c
[ "MIT" ]
null
null
null
list3.py
mg9313/PythonBasiscs7-22-19
673cda9c91dc55439714016dc5b19f3d9b8c117c
[ "MIT" ]
null
null
null
list3.py
mg9313/PythonBasiscs7-22-19
673cda9c91dc55439714016dc5b19f3d9b8c117c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 list1 = ['cisco-nxos', 'arista_eos', 'cisco-ios'] print(list1) print(list1[1]) list1.extend(['juniper']) print(list1) list1.append(['10.1.0.1','10.2.0.1','10.3.0.1']) print(list1) print("4th element in list1 is ".format(list1[4])) print(list1[4][0])
12.909091
50
0.637324
50
284
3.6
0.5
0.277778
0.166667
0
0
0
0
0
0
0
0
0.12253
0.109155
284
21
51
13.52381
0.588933
0.073944
0
0.333333
0
0
0.325581
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
6da70f191a8e5bcc16e5e7011e1d280fe3ed617c
1,040
py
Python
Exercicios/ex017.py
vaniaferreira/Python
5b3158836d47c0bb7bc446e6636e7b3dcea8a0ab
[ "MIT" ]
null
null
null
Exercicios/ex017.py
vaniaferreira/Python
5b3158836d47c0bb7bc446e6636e7b3dcea8a0ab
[ "MIT" ]
null
null
null
Exercicios/ex017.py
vaniaferreira/Python
5b3158836d47c0bb7bc446e6636e7b3dcea8a0ab
[ "MIT" ]
null
null
null
#Listas # (Tuplas) --> São imutavéis # [Listas] --> Podem ser mutavéis # {Dicionário} num = [2, 5, 9, 1] print(num) num[2] = 3 print(num) num.append(7) print(num) num.sort() print(num) num.sort(reverse=True) print(num) print(len(num)) num.insert(2,0) print(num) #Elimina o último item da lista num.pop() print(num) num....
16
53
0.636538
187
1,040
3.540107
0.363636
0.120846
0.099698
0.045317
0.093656
0.093656
0.093656
0.093656
0
0
0
0.038372
0.173077
1,040
64
54
16.25
0.731395
0.136538
0
0.255319
0
0
0.198876
0
0
0
0
0.015625
0
1
0
false
0
0
0
0
0.468085
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
2
6db39230880a4233b93029c6943732c4c14b9359
1,181
py
Python
test/gel/test_concepts.py
AndrewIjano/pgel-sat
25b6ef5922a9fa79bbcf9896cf9a5eefd9925e45
[ "MIT" ]
null
null
null
test/gel/test_concepts.py
AndrewIjano/pgel-sat
25b6ef5922a9fa79bbcf9896cf9a5eefd9925e45
[ "MIT" ]
null
null
null
test/gel/test_concepts.py
AndrewIjano/pgel-sat
25b6ef5922a9fa79bbcf9896cf9a5eefd9925e45
[ "MIT" ]
null
null
null
import pytest from pgel_sat import gel @pytest.fixture def concept_with_arrows(): concept_a = gel.Concept('a') concept_b = gel.Concept('b') role = gel.Role('r') arrow1 = gel.Arrow(concept_b, role) concept_a.add_arrow(arrow1) concept_c = gel.Concept('c') arrow2 = gel.Arrow(concept_c, role)...
25.673913
58
0.741744
168
1,181
4.880952
0.196429
0.190244
0.228049
0.204878
0.369512
0.27561
0.27561
0.27561
0.218293
0.146341
0
0.011111
0.161727
1,181
45
59
26.244444
0.817172
0
0
0.129032
0
0
0.004234
0
0
0
0
0
0.16129
1
0.193548
false
0
0.064516
0
0.290323
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6dd048af64ad007c298beddf229406030d08f28b
77
py
Python
src/admin_extra_urls/__init__.py
domdinicola/django-admin-extra-urls
160af782862fe10ea15b7e9cee9e793871c0b6c7
[ "BSD-1-Clause" ]
null
null
null
src/admin_extra_urls/__init__.py
domdinicola/django-admin-extra-urls
160af782862fe10ea15b7e9cee9e793871c0b6c7
[ "BSD-1-Clause" ]
null
null
null
src/admin_extra_urls/__init__.py
domdinicola/django-admin-extra-urls
160af782862fe10ea15b7e9cee9e793871c0b6c7
[ "BSD-1-Clause" ]
null
null
null
NAME = "admin-extra-urls" VERSION = __version__ = "2.1.0" __author__ = 'sax'
19.25
31
0.675325
11
77
4
0.909091
0
0
0
0
0
0
0
0
0
0
0.045455
0.142857
77
3
32
25.666667
0.621212
0
0
0
0
0
0.311688
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6dda0de1e6761445defc5eae058e05e8a09c5910
220
py
Python
brudnopis.py
dmochowski/testrepo
0a418e363acfdd7ef3d3a5cce0205288fccdd2e7
[ "MIT" ]
null
null
null
brudnopis.py
dmochowski/testrepo
0a418e363acfdd7ef3d3a5cce0205288fccdd2e7
[ "MIT" ]
null
null
null
brudnopis.py
dmochowski/testrepo
0a418e363acfdd7ef3d3a5cce0205288fccdd2e7
[ "MIT" ]
null
null
null
def ciagCyfr(x): lista = [] for i in range(x): if i%2 == 0: i = i+1 lista.append(i) else: i = (i+1)*(-1) lista.append(i) print(lista)
20
28
0.359091
29
220
2.724138
0.517241
0.050633
0.075949
0.329114
0
0
0
0
0
0
0
0.045045
0.495455
220
10
29
22
0.666667
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.1
0.1
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6de281144aeaf2f6533fcee77b60014dde84c370
532
py
Python
setup.py
epfml/collaborative-attention
5b05408640e339970f1009e06cac678e2a1ab534
[ "Apache-2.0" ]
125
2020-07-01T10:19:30.000Z
2022-03-31T02:33:37.000Z
setup.py
epfml/collaborative-attention
5b05408640e339970f1009e06cac678e2a1ab534
[ "Apache-2.0" ]
5
2020-07-01T20:13:32.000Z
2021-09-14T07:27:04.000Z
setup.py
epfml/collaborative-attention
5b05408640e339970f1009e06cac678e2a1ab534
[ "Apache-2.0" ]
15
2020-07-01T22:36:19.000Z
2021-09-14T13:54:42.000Z
import setuptools setuptools.setup( name="collaborative-attention", version="0.1.0", author="Jean-Baptiste Cordonnier", author_email="jean-baptiste.cordonnier@epfl.ch", description="", url="https://github.com/collaborative-attention", packages=["collaborative_attention"], package_dir={"...
25.333333
53
0.605263
61
532
5.196721
0.688525
0.208202
0.138801
0
0
0
0
0
0
0
0
0.051765
0.201128
532
20
54
26.6
0.694118
0
0
0
0
0
0.445489
0.146617
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
6de40f59db19fccae21d34f8b56c75cbbb31d4cc
452
py
Python
tweetf0rm/handler/inmemory_handler.py
amaurywalbert/mytweetf0rm
2272b53214b3669eb104762f5b5b38ff4adda435
[ "MIT" ]
1
2015-02-16T11:08:35.000Z
2015-02-16T11:08:35.000Z
tweetf0rm/handler/inmemory_handler.py
maruthiprithivi/tweetf0rm
f59e57495afda05032d41b161b5aed74f2bc4dfe
[ "MIT" ]
null
null
null
tweetf0rm/handler/inmemory_handler.py
maruthiprithivi/tweetf0rm
f59e57495afda05032d41b161b5aed74f2bc4dfe
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' InMemoryHandler: handler that's collects the data in memory ''' import logging logger = logging.getLogger(__name__) from .base_handler import BaseHandler class InMemoryHandler(BaseHandler): ''' inmemory_handler_config = { "name": "InMemoryHandler", "args": {} ...
18.833333
59
0.725664
50
452
6.18
0.66
0.145631
0.135922
0
0
0
0
0
0
0
0
0.002564
0.137168
452
23
60
19.652174
0.789744
0.542035
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6dffa54327bbf8de0bf2ad45f416684a69b2482a
2,047
py
Python
python/chisel/util/__init__.py
wilkeraziz/chisel
3e23a7c0937bbd56d2dffb1df7594878fb9c75eb
[ "Apache-2.0" ]
1
2017-01-15T01:01:16.000Z
2017-01-15T01:01:16.000Z
python/chisel/util/__init__.py
wilkeraziz/chisel
3e23a7c0937bbd56d2dffb1df7594878fb9c75eb
[ "Apache-2.0" ]
null
null
null
python/chisel/util/__init__.py
wilkeraziz/chisel
3e23a7c0937bbd56d2dffb1df7594878fb9c75eb
[ "Apache-2.0" ]
null
null
null
__author__ = 'waziz' from itertools import izip import numpy as np def scaled_fmap(fmap, scaling=1.0): """Returns a feature map scaled by a constant""" if type(fmap) is dict: return {k: v*scaling for k, v in fmap.iteritems()} else: return {k: v*scaling for k, v in fmap} def fmap_dot(fma...
32.492063
122
0.642404
319
2,047
4.103448
0.329154
0.012223
0.022918
0.032086
0.276547
0.249045
0.249045
0.249045
0.249045
0.13751
0
0.017901
0.208598
2,047
62
123
33.016129
0.790123
0.232047
0
0.083333
0
0
0.031798
0
0
0
0
0
0
1
0.25
false
0
0.055556
0.055556
0.638889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a302e4dc6a25d60caa75b03e63b9a88473078663
2,416
py
Python
oldDir/game.py
hydrogen602/settlersPy
5a1df6162d35b6ae9eeefd11c9a0a9ba7a19019c
[ "MIT" ]
null
null
null
oldDir/game.py
hydrogen602/settlersPy
5a1df6162d35b6ae9eeefd11c9a0a9ba7a19019c
[ "MIT" ]
null
null
null
oldDir/game.py
hydrogen602/settlersPy
5a1df6162d35b6ae9eeefd11c9a0a9ba7a19019c
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import Iterator, TYPE_CHECKING from mechanics.util.die import roll2Die if TYPE_CHECKING: from mechanics.playerManager import PlayerManager from mechanics.player import Player from mechanics.gameMap.gameMap import GameMap class Game: ''' Represents ...
26.549451
93
0.652732
241
2,416
6.20332
0.278008
0.051505
0.028094
0.034114
0.085619
0
0
0
0
0
0
0.005099
0.269454
2,416
90
94
26.844444
0.841926
0.080712
0
0.232143
0
0
0
0
0
0
0
0
0
1
0.196429
false
0
0.107143
0.125
0.517857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
a3033040e3bfa035c2ea2253c2cabcf3f2545565
348
py
Python
todomvc/manage.py
eswar2016/drf-redux
588f5823d57890aae1a2a48fbc56c3e84ef1d8cb
[ "MIT" ]
99
2016-04-06T03:36:35.000Z
2021-03-07T02:10:26.000Z
todomvc/manage.py
eswar2016/drf-redux
588f5823d57890aae1a2a48fbc56c3e84ef1d8cb
[ "MIT" ]
3
2016-10-02T08:10:24.000Z
2017-08-07T16:28:24.000Z
todomvc/manage.py
eswar2016/drf-redux
588f5823d57890aae1a2a48fbc56c3e84ef1d8cb
[ "MIT" ]
28
2016-04-18T18:30:11.000Z
2019-02-11T13:56:39.000Z
#!/usr/bin/env python import os import sys pwd = os.path.dirname(__file__) sys.path.insert(0, os.path.abspath(os.path.join(pwd, 'server'))) if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "todomvc.settings") from django.core.management import execute_from_command_line execute_...
24.857143
71
0.755747
51
348
4.764706
0.627451
0.074074
0.148148
0.18107
0
0
0
0
0
0
0
0.003236
0.112069
348
13
72
26.769231
0.783172
0.057471
0
0
0
0
0.159021
0.067278
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
097d4be18d0dc51cabd54eee9ef2c86bfcc603fd
83,176
py
Python
codespace/python/tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py
tzpBingo/github-trending
05dc0a4a5aae91871a57b9c6db5d9faee243173e
[ "MIT" ]
37
2017-10-12T01:50:42.000Z
2022-02-24T02:44:45.000Z
codespace/python/tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py
tzpBingo/github-trending
05dc0a4a5aae91871a57b9c6db5d9faee243173e
[ "MIT" ]
null
null
null
codespace/python/tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py
tzpBingo/github-trending
05dc0a4a5aae91871a57b9c6db5d9faee243173e
[ "MIT" ]
12
2018-07-31T10:04:56.000Z
2022-02-07T00:08:06.000Z
# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses...
42.393476
118
0.602157
6,436
83,176
7.759478
0.066035
0.110533
0.102984
0.116059
0.75018
0.70873
0.635503
0.502863
0.502863
0.502863
0
0.019635
0.297682
83,176
1,962
119
42.393476
0.835268
0.234467
0
0.836998
0
0
0.107142
0.007286
0
0
0
0
0
1
0.052312
false
0.004549
0.003033
0
0.11069
0
0
0
0
null
0
0
0
0
1
0
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
2
09abc4815cc2c95639572a36a9409a7e749ab13f
3,412
py
Python
about.py
Krafty-Coder/RuntimeShengTranslator
024996683d96b446da69c1dfb9ab2c8953533ff1
[ "MIT" ]
1
2019-01-07T20:38:45.000Z
2019-01-07T20:38:45.000Z
about.py
Krafty-Coder/RuntimeShengTranslator
024996683d96b446da69c1dfb9ab2c8953533ff1
[ "MIT" ]
null
null
null
about.py
Krafty-Coder/RuntimeShengTranslator
024996683d96b446da69c1dfb9ab2c8953533ff1
[ "MIT" ]
null
null
null
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # * RUNTIME SHENG TRANSLATOR - CORE * # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # * Welcome to Runtime Sheng translator. v1.0.0 * # * MIT License, Copyright(c) 2018, Antony Muga * # * All Rights...
51.69697
65
0.356682
211
3,412
5.767773
0.270142
0.082169
0.072309
0.075596
0.711586
0.642564
0.642564
0.520131
0.419063
0.419063
0
0.008656
0.28898
3,412
65
66
52.492308
0.492993
0.345545
0
0.302326
0
0
0.971519
0.321881
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
09bcc052b03ab047e770671911dcfdbf3d749c58
17,471
py
Python
stacks/XIAOMATECH/1.0/services/NIFI/package/scripts/nifi_registry.py
tvorogme/dataops
acfa21df42a20768c004c6630a064f4e38e280b2
[ "Apache-2.0" ]
3
2019-08-13T01:44:16.000Z
2019-12-10T04:05:56.000Z
stacks/XIAOMATECH/1.0/services/NIFI/package/scripts/nifi_registry.py
tvorogme/dataops
acfa21df42a20768c004c6630a064f4e38e280b2
[ "Apache-2.0" ]
null
null
null
stacks/XIAOMATECH/1.0/services/NIFI/package/scripts/nifi_registry.py
tvorogme/dataops
acfa21df42a20768c004c6630a064f4e38e280b2
[ "Apache-2.0" ]
7
2019-05-29T17:35:25.000Z
2021-12-04T07:55:10.000Z
#!/usr/bin/env python """ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License");...
44.007557
135
0.668765
1,967
17,471
5.584647
0.144891
0.190077
0.196632
0.047792
0.664634
0.580428
0.509058
0.469094
0.388166
0.311425
0
0.004492
0.260947
17,471
396
136
44.118687
0.846267
0.036804
0
0.418831
0
0.003247
0.103066
0.065242
0
0
0
0
0
0
null
null
0.022727
0.084416
null
null
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
1
0
0
0
0
0
0
0
0
2
09c12aff17e5710b77ee83d5533f3cd9c63e1b8c
14,310
py
Python
pysnmp/XYPLEX-IPX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/XYPLEX-IPX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/XYPLEX-IPX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module XYPLEX-IPX-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/XYPLEX-IPX-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:40:03 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2...
110.076923
1,779
0.742977
1,738
14,310
6.117376
0.10702
0.013168
0.017212
0.02295
0.490688
0.452502
0.409989
0.389108
0.387133
0.280004
0
0.080264
0.089308
14,310
129
1,780
110.930233
0.735574
0.022502
0
0
0
0
0.123399
0.003148
0
0
0
0
0
1
0
false
0
0.04918
0
0.04918
0.008197
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
09d0d3e270cbee9f8f27af3e59b593f51b392b0c
1,266
py
Python
app/sova/migrations/0023_auto_20170514_2009.py
ivoras/sova
bb555e53a48f0e92874ab90e8651b314e2df0e8d
[ "BSD-2-Clause" ]
1
2017-02-20T13:49:48.000Z
2017-02-20T13:49:48.000Z
app/sova/migrations/0023_auto_20170514_2009.py
ivoras/sova
bb555e53a48f0e92874ab90e8651b314e2df0e8d
[ "BSD-2-Clause" ]
null
null
null
app/sova/migrations/0023_auto_20170514_2009.py
ivoras/sova
bb555e53a48f0e92874ab90e8651b314e2df0e8d
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-05-14 18:09 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sova', '0022_event_max_people'), ] operations = [ migrations.RenameField( ...
27.521739
58
0.563191
119
1,266
5.789916
0.453782
0.078374
0.191582
0.156749
0.584906
0.584906
0.584906
0.246734
0.246734
0.246734
0
0.024476
0.322275
1,266
45
59
28.133333
0.778555
0.053712
0
0.552632
1
0
0.146444
0.017573
0
0
0
0
0
1
0
false
0
0.052632
0
0.131579
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
09d5095d14dd6daf7656bb197fcc0f7f867908b6
428
py
Python
app/health/views.py
devdazed/django-docker-template
520968ac5cd54070885de41f0e725c310f1cf380
[ "MIT" ]
null
null
null
app/health/views.py
devdazed/django-docker-template
520968ac5cd54070885de41f0e725c310f1cf380
[ "MIT" ]
null
null
null
app/health/views.py
devdazed/django-docker-template
520968ac5cd54070885de41f0e725c310f1cf380
[ "MIT" ]
null
null
null
from rest_framework import viewsets, permissions, status from rest_framework.response import Response class HealthViewSet(viewsets.ViewSet): # uncomment this to make the endpoint require authentication # permission_classes = [permissions.IsAuthenticated] def list(self, request, *args, **kwargs): ...
32.923077
73
0.724299
46
428
6.630435
0.76087
0.052459
0.111475
0
0
0
0
0
0
0
0
0.008523
0.17757
428
12
74
35.666667
0.857955
0.32243
0
0
0
0
0.045936
0
0
0
0
0
0
1
0.2
false
0
0.4
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
09ffb7bc2d6821be07435a6d07266fa7350f04a6
1,638
py
Python
cortex/cli/cli.py
chib0/asd-winter2019
c7d95305b1e8b99013fd40da1e7ebe01c2d0102a
[ "Apache-2.0" ]
null
null
null
cortex/cli/cli.py
chib0/asd-winter2019
c7d95305b1e8b99013fd40da1e7ebe01c2d0102a
[ "Apache-2.0" ]
4
2021-02-02T22:38:53.000Z
2022-01-13T02:32:33.000Z
cortex/cli/cli.py
chib0/asd-winter2019
c7d95305b1e8b99013fd40da1e7ebe01c2d0102a
[ "Apache-2.0" ]
null
null
null
import click from . import get_consumer @click.group() @click.option("-h", "--host", default="localhost") @click.option("-p", "--port", default="8000", type=int) @click.pass_context def cli(ctx, host, port): ctx.ensure_object(dict) #we're setting ctx.obj to match the signature of the api_consumer kwarg option...
27.762712
104
0.752747
250
1,638
4.664
0.2
0.077187
0.092624
0.162093
0.704974
0.671527
0.603774
0.521441
0.521441
0.451115
0
0.002681
0.089133
1,638
58
105
28.241379
0.77882
0.06044
0
0.534884
0
0
0.132726
0.046845
0
0
0
0
0
1
0.162791
false
0.162791
0.046512
0
0.209302
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
61cafdfd0355462da83b4c3492db79638e23b1a4
2,899
py
Python
lazycache/__init__.py
apnarm/django-lazycache
a68f782ff989fadf30fd3ecf0dad0af799b0341b
[ "MIT" ]
null
null
null
lazycache/__init__.py
apnarm/django-lazycache
a68f782ff989fadf30fd3ecf0dad0af799b0341b
[ "MIT" ]
null
null
null
lazycache/__init__.py
apnarm/django-lazycache
a68f782ff989fadf30fd3ecf0dad0af799b0341b
[ "MIT" ]
null
null
null
class Missed(object): pass class Null: pass class RaiseKeyError: pass class LazyCache(object): """Wraps a Django cache object to provide more features.""" missed = Missed() def __init__(self, cache, default_timeout=None): self.cache = cache self.default_timeout = default_...
29.886598
76
0.603656
363
2,899
4.661157
0.209366
0.080378
0.062057
0.037234
0.275414
0.275414
0.184988
0.169031
0.169031
0.12766
0
0.001969
0.299069
2,899
96
77
30.197917
0.830709
0.177647
0
0.293103
0
0
0.014072
0
0
0
0
0
0
1
0.224138
false
0.051724
0
0.034483
0.482759
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
61d2f638aa50320f231e9e1a598837c3ada0edff
2,461
py
Python
qmeq/__init__.py
M-Josefsson/qmeq
f4f08864fc778de7c14b198c0ffbaafe33ce18f6
[ "BSD-2-Clause" ]
1
2021-06-24T13:59:01.000Z
2021-06-24T13:59:01.000Z
qmeq/__init__.py
M-Josefsson/qmeq
f4f08864fc778de7c14b198c0ffbaafe33ce18f6
[ "BSD-2-Clause" ]
null
null
null
qmeq/__init__.py
M-Josefsson/qmeq
f4f08864fc778de7c14b198c0ffbaafe33ce18f6
[ "BSD-2-Clause" ]
null
null
null
""" QmeQ: Quantum master equation for Quantum dot transport calculations ==================================================================== QmeQ is an open-source Python package for transport calculations through quantum dot devices. The so-called Anderson-type models are used to describe the quantum dot device, wh...
38.453125
81
0.803738
328
2,461
5.945122
0.490854
0.050769
0.073846
0.045128
0.127179
0.084103
0
0
0
0
0
0.003276
0.131654
2,461
63
82
39.063492
0.909219
0.608696
0
0
0
0
0.003141
0
0
0
0
0
0
1
0
false
0
0.956522
0
0.956522
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
61d798b44c0cb0403d0a76f6ce0c2ae4838181ea
9,796
py
Python
argocd_client/models/v1alpha1_resource_diff.py
thepabloaguilar/argocd-client
a6c4ff268a63ee6715f9f837b9225b798aa6bde2
[ "BSD-3-Clause" ]
1
2021-09-29T11:57:07.000Z
2021-09-29T11:57:07.000Z
argocd_client/models/v1alpha1_resource_diff.py
thepabloaguilar/argocd-client
a6c4ff268a63ee6715f9f837b9225b798aa6bde2
[ "BSD-3-Clause" ]
1
2020-09-09T00:28:57.000Z
2020-09-09T00:28:57.000Z
argocd_client/models/v1alpha1_resource_diff.py
thepabloaguilar/argocd-client
a6c4ff268a63ee6715f9f837b9225b798aa6bde2
[ "BSD-3-Clause" ]
2
2020-10-13T18:31:59.000Z
2021-02-15T12:52:33.000Z
# coding: utf-8 """ Consolidate Services Description of all APIs # noqa: E501 The version of the OpenAPI document: version not set Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from argocd_client.configuration import Configuration class V1alp...
27.594366
231
0.600041
1,095
9,796
5.193607
0.112329
0.090206
0.182873
0.158256
0.528926
0.436258
0.408124
0.244065
0.178126
0.084051
0
0.028754
0.311249
9,796
354
232
27.672316
0.81414
0.348305
0
0.089744
1
0
0.059699
0.007715
0
0
0
0
0
1
0.166667
false
0
0.025641
0
0.320513
0.012821
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
61d8531e54c424a41c139d1436607fa245ee6f8b
454
py
Python
safe_grid_agents/common/agents/__init__.py
jvmancuso/safe-grid-agents
40f8101d23ca7dfe5c93d0c6be2a43101f56ce1c
[ "Apache-2.0" ]
21
2018-07-31T21:12:37.000Z
2019-03-31T05:55:56.000Z
safe_grid_agents/common/agents/__init__.py
jvmncs/safe-grid-agents
40f8101d23ca7dfe5c93d0c6be2a43101f56ce1c
[ "Apache-2.0" ]
21
2018-09-28T21:21:18.000Z
2019-06-02T22:00:35.000Z
safe_grid_agents/common/agents/__init__.py
jvmncs/safe-grid-agents
40f8101d23ca7dfe5c93d0c6be2a43101f56ce1c
[ "Apache-2.0" ]
4
2018-09-24T05:05:29.000Z
2019-06-26T00:27:35.000Z
"""Top-level agents import.""" from safe_grid_agents.common.agents.dummy import RandomAgent, SingleActionAgent from safe_grid_agents.common.agents.value import TabularQAgent, DeepQAgent from safe_grid_agents.common.agents.policy_mlp import PPOMLPAgent from safe_grid_agents.common.agents.policy_cnn import PPOCNNAgent _...
30.266667
79
0.781938
51
454
6.686275
0.392157
0.093842
0.140762
0.211144
0.387097
0.387097
0.211144
0
0
0
0
0
0.123348
454
14
80
32.428571
0.856784
0.052863
0
0
0
0
0.17217
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
61e54426fb2f3a63fafe5d49c1c02506d98ea49d
551
py
Python
tests/unit/pruning/runner.py
suamin/nemex
05d93c788bf1493a1f6da01e9eee03120da0f7d4
[ "MIT" ]
2
2021-03-24T12:12:55.000Z
2021-05-02T11:48:47.000Z
tests/unit/pruning/runner.py
suamin/nemex
05d93c788bf1493a1f6da01e9eee03120da0f7d4
[ "MIT" ]
null
null
null
tests/unit/pruning/runner.py
suamin/nemex
05d93c788bf1493a1f6da01e9eee03120da0f7d4
[ "MIT" ]
1
2021-05-16T17:44:08.000Z
2021-05-16T17:44:08.000Z
import unittest from .batch_count import test_batchcount from .bucket_count import test_bucketcount from .lazy_count import test_lazycount # initialize the test suite loader = unittest.TestLoader() suite = unittest.TestSuite() # add tests to the test suite suite.addTests(loader.loadTestsFromModule(test_batchcount))...
26.238095
60
0.811252
66
551
6.515152
0.469697
0.076744
0.104651
0.265116
0.293023
0
0
0
0
0
0
0.002033
0.107078
551
20
61
27.55
0.871951
0.096189
0
0
0
0
0.016162
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
61ea21f6ac5d1610edf5def0ec149d993e0c2e64
141
py
Python
ui/_version.py
EUFAR/asmm-eufar
69ede7a24f757392e63f04091e86c50ab129016f
[ "BSD-3-Clause" ]
null
null
null
ui/_version.py
EUFAR/asmm-eufar
69ede7a24f757392e63f04091e86c50ab129016f
[ "BSD-3-Clause" ]
2
2015-06-12T09:28:29.000Z
2015-06-12T09:34:16.000Z
ui/_version.py
eufarn7sp/asmm-eufar
69ede7a24f757392e63f04091e86c50ab129016f
[ "BSD-3-Clause" ]
null
null
null
_asmm_version = '1.3.2' _xml_version = '1.0b' _py_version = '3.5.1' _eclipse_version = '4.6.3' _qt_version = '5.9' _report_version = '3.4.0'
20.142857
26
0.673759
28
141
2.964286
0.571429
0.192771
0
0
0
0
0
0
0
0
0
0.130081
0.12766
141
6
27
23.5
0.544715
0
0
0
0
0
0.191489
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
61ef424a28125d5ca4df198be22c952bbb4b1bc8
7,960
py
Python
tests/boundaries/test_boundary_integrals.py
ngodber/discretize
2329c9e9552b5c05f40ebf62f0bb207267bd2f92
[ "MIT" ]
123
2017-01-09T04:59:25.000Z
2022-03-29T08:06:43.000Z
tests/boundaries/test_boundary_integrals.py
ngodber/discretize
2329c9e9552b5c05f40ebf62f0bb207267bd2f92
[ "MIT" ]
246
2017-01-09T17:20:12.000Z
2022-03-01T22:05:20.000Z
tests/boundaries/test_boundary_integrals.py
ngodber/discretize
2329c9e9552b5c05f40ebf62f0bb207267bd2f92
[ "MIT" ]
26
2018-03-27T19:24:46.000Z
2021-11-11T20:28:09.000Z
import numpy as np import scipy.sparse as sp import discretize def u(*args): if len(args) == 1: x = args[0] return x**3 if len(args) == 2: x, y = args return x**3 + y**2 x, y, z = args return x**3 + y**2 + z**4 def v(*args): if len(args) == 1: x = args[0] ...
30.852713
79
0.550879
1,167
7,960
3.545844
0.115681
0.008217
0.036733
0.040599
0.782504
0.729821
0.682939
0.656597
0.635814
0.604157
0
0.034567
0.327638
7,960
257
80
30.972763
0.738602
0.053266
0
0.633508
0
0
0.098191
0
0
0
0
0
0
1
0.073298
false
0
0.015707
0
0.240838
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
110f4382b4638ec9b002c4f4be3b4043abeaa5a3
366
py
Python
jupyter_notebook_config.py
puzl-ee/example-notebook-server
18d68da7ebeccf2ac0b648e98567fa373767a8e0
[ "MIT" ]
1
2021-03-17T19:21:26.000Z
2021-03-17T19:21:26.000Z
jupyter_notebook_config.py
puzl-ee/example-jupyter-notebook-server
18d68da7ebeccf2ac0b648e98567fa373767a8e0
[ "MIT" ]
null
null
null
jupyter_notebook_config.py
puzl-ee/example-jupyter-notebook-server
18d68da7ebeccf2ac0b648e98567fa373767a8e0
[ "MIT" ]
null
null
null
# Set options for certfile, ip, password, and toggle off c.NotebookApp.certfile = '/tmp/mycert.pem' c.NotebookApp.keyfile = '/tmp/mykey.key' # Set ip to '*' to bind on all interfaces (ips) for the public server c.NotebookApp.ip = '*' # It is a good idea to set a known, fixed port for server access c.NotebookApp.port ...
24.4
69
0.724044
60
366
4.4
0.65
0.227273
0
0
0
0
0
0
0
0
0
0.013115
0.166667
366
14
70
26.142857
0.852459
0.505464
0
0
0
0
0.172414
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
1112195b4bf4d30076ba83f3cb477cacc33f52f6
278
py
Python
Loops/GuessNumberOneTime.py
lytranp/Tutoring-PythonIntroduction
90b02d2ccfcca50d299a54d8cad9c29dd491e1bf
[ "MIT" ]
null
null
null
Loops/GuessNumberOneTime.py
lytranp/Tutoring-PythonIntroduction
90b02d2ccfcca50d299a54d8cad9c29dd491e1bf
[ "MIT" ]
null
null
null
Loops/GuessNumberOneTime.py
lytranp/Tutoring-PythonIntroduction
90b02d2ccfcca50d299a54d8cad9c29dd491e1bf
[ "MIT" ]
null
null
null
import random number = random.randint(0, 100) guess = -1 while guess != number: guess = eval(input("Enter your guess: ")) if guess > number: print("Your guess is too high") elif guess < number: print("Your guess is too small") print("You got it")
19.857143
45
0.622302
40
278
4.325
0.575
0.190751
0.184971
0.231214
0.346821
0.346821
0.346821
0
0
0
0
0.024155
0.255396
278
14
46
19.857143
0.811594
0
0
0
0
0
0.261649
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.3
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
111ef2fb204a53852255c7d6a7576a2e7755e8aa
1,070
py
Python
km_api/apple/views.py
knowmetools/km-api
e4b72484c42e88a6c0087c9b1d5fef240e66cbb0
[ "Apache-2.0" ]
4
2017-08-03T00:46:31.000Z
2018-11-06T03:32:32.000Z
km_api/apple/views.py
knowmetools/km-api
e4b72484c42e88a6c0087c9b1d5fef240e66cbb0
[ "Apache-2.0" ]
526
2017-06-27T18:13:59.000Z
2021-06-10T18:00:21.000Z
km_api/apple/views.py
knowmetools/km-api
e4b72484c42e88a6c0087c9b1d5fef240e66cbb0
[ "Apache-2.0" ]
1
2017-07-10T19:46:27.000Z
2017-07-10T19:46:27.000Z
from rest_framework import generics, status from apple import serializers class ReceiptTypeQueryView(generics.CreateAPIView): """ post: Get the type of an Apple receipt. If the provided receipt data corresponds to a receipt that is valid in either the production or test environments, then the `en...
29.722222
72
0.662617
136
1,070
5.169118
0.573529
0.034139
0.036984
0
0
0
0
0
0
0
0
0.01148
0.26729
1,070
35
73
30.571429
0.885204
0.497196
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.1
0.2
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
112bd4c5800b120a2bd08c9a55acbde3eccccc8e
1,591
py
Python
examples/basic.py
rajeshvaya/reservoir-client-python
0ba5db76e3ed65bb977ec19a4ea27b4b818376d7
[ "MIT" ]
null
null
null
examples/basic.py
rajeshvaya/reservoir-client-python
0ba5db76e3ed65bb977ec19a4ea27b4b818376d7
[ "MIT" ]
null
null
null
examples/basic.py
rajeshvaya/reservoir-client-python
0ba5db76e3ed65bb977ec19a4ea27b4b818376d7
[ "MIT" ]
null
null
null
# from Reservoir import ReservoirClient import sys import os here = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, os.path.normpath(os.path.join(here, '../src/'))) from Reservoir import ReservoirClient if __name__ == '__main__': r = ReservoirClient() # simple get print r.get("pk_movie") # simple se...
29.462963
96
0.675047
228
1,591
4.482456
0.307018
0.099804
0.07045
0.064579
0.398239
0.327789
0.327789
0.176125
0.064579
0
0
0.007194
0.126336
1,591
53
97
30.018868
0.728058
0.104965
0
0.363636
0
0
0.420567
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.515152
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
2
11313f7827a0e0494593a263e6af1b1b95e72a71
743
py
Python
saefportal/saef/migrations/0026_auto_20210810_0957.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
null
null
null
saefportal/saef/migrations/0026_auto_20210810_0957.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
null
null
null
saefportal/saef/migrations/0026_auto_20210810_0957.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
1
2020-12-16T15:02:52.000Z
2020-12-16T15:02:52.000Z
# Generated by Django 3.1.6 on 2021-08-10 09:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('saef', '0025_auto_20210809_1555'), ] operations = [ migrations.AddField( model_name='settings', name='profile_delta_...
25.62069
50
0.58681
74
743
5.716216
0.608108
0.12766
0.163121
0.191489
0.463357
0.326241
0.326241
0
0
0
0
0.071429
0.302826
743
28
51
26.535714
0.745174
0.060565
0
0.409091
1
0
0.179598
0.139368
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
114ab3e8a31507169bcb427ffea7e75cf4c20e97
1,834
py
Python
tests/test_timeproxies.py
nolar/jiff
841d8721712d3d2c3a8cc0e658fb71a3563ed23c
[ "MIT" ]
12
2021-12-26T10:44:18.000Z
2022-01-14T23:06:39.000Z
tests/test_timeproxies.py
nolar/jiff
841d8721712d3d2c3a8cc0e658fb71a3563ed23c
[ "MIT" ]
1
2021-12-05T15:11:32.000Z
2021-12-05T15:11:32.000Z
tests/test_timeproxies.py
nolar/pytest-instant
841d8721712d3d2c3a8cc0e658fb71a3563ed23c
[ "MIT" ]
null
null
null
import looptime def test_time_proxy_math(): proxy = looptime.LoopTimeProxy(looptime.new_event_loop(start=123.456)) assert str(proxy) == '123.456' assert int(proxy) == 123 assert float(proxy) == 123.456 assert proxy == 123.456 assert not proxy == 456.123 assert proxy != 456.123 assert...
28.215385
94
0.657034
262
1,834
4.534351
0.270992
0.185185
0.111111
0.128788
0.501684
0.453704
0.389731
0.296296
0.213805
0.075758
0
0.203863
0.237732
1,834
64
95
28.65625
0.645923
0.14831
0
0.090909
0
0
0.009003
0
0
0
0
0
0.795455
1
0.068182
false
0
0.022727
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
1155deb0c96aba8667c1b254b5f056c01748ce32
634
py
Python
vimfiles/bundle/vim-python/submodules/pylint/tests/functional/t/too/too_many_arguments_overload.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
463
2015-01-15T08:17:42.000Z
2022-03-28T15:10:20.000Z
vimfiles/bundle/vim-python/submodules/pylint/tests/functional/t/too/too_many_arguments_overload.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
52
2015-01-06T02:43:59.000Z
2022-03-14T11:15:21.000Z
vimfiles/bundle/vim-python/submodules/pylint/tests/functional/t/too/too_many_arguments_overload.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
249
2015-01-07T22:49:49.000Z
2022-03-18T02:32:06.000Z
# pylint: disable=missing-function-docstring,missing-module-docstring,missing-class-docstring # pylint: disable=too-few-public-methods from typing import overload class ClassA: @classmethod @overload def method(cls, arg1): pass @classmethod @overload def method(cls, arg1, arg2): ...
16.25641
93
0.634069
77
634
5.220779
0.363636
0.134328
0.169154
0.119403
0.420398
0.174129
0
0
0
0
0
0.031983
0.260252
634
38
94
16.684211
0.82516
0.205047
0
0.541667
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0.041667
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
1158be071a4619c693972206d312d28c04f0280d
301
py
Python
multapp/models/municipality.py
profefonso/API_REST_SOAP
666a8de9ba287e6fb261d589ebe0e17e10637cc4
[ "MIT" ]
null
null
null
multapp/models/municipality.py
profefonso/API_REST_SOAP
666a8de9ba287e6fb261d589ebe0e17e10637cc4
[ "MIT" ]
16
2019-12-04T23:02:52.000Z
2022-02-10T11:57:03.000Z
Api_SIMIT_Transactional/multapp/models/municipality.py
profefonso/Services-SM
98b9949a237121451a13fce5bc8f2945fa5a3cee
[ "MIT" ]
null
null
null
from django.db import models class Municipality(models.Model): dian_code = models.CharField( max_length=255 ) name = models.CharField( max_length=100, null=False, blank=False ) def __str__(self): return self.dian_code + ' - ' + self.name
18.8125
49
0.601329
35
301
4.942857
0.657143
0.092486
0.208092
0.277457
0
0
0
0
0
0
0
0.028571
0.302326
301
16
49
18.8125
0.795238
0
0
0
0
0
0.009934
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0.083333
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
116191f341d74e55c3bd0fb23085faf65d409fa2
428
bzl
Python
third_party/atlas/workspace.bzl
jzjonah/apollo
bc534789dc0548bf2d27f8d72fe255d5c5e4f951
[ "Apache-2.0" ]
22,688
2017-07-04T23:17:19.000Z
2022-03-31T18:56:48.000Z
third_party/atlas/workspace.bzl
Songjiarui3313/apollo
df9113ae656e28e5374db32529d68e59455058a0
[ "Apache-2.0" ]
4,804
2017-07-04T22:30:12.000Z
2022-03-31T12:58:21.000Z
third_party/atlas/workspace.bzl
Songjiarui3313/apollo
df9113ae656e28e5374db32529d68e59455058a0
[ "Apache-2.0" ]
9,985
2017-07-04T22:01:17.000Z
2022-03-31T14:18:16.000Z
"""Loads the atlas library""" # Sanitize a dependency so that it works correctly from code that includes # Apollo as a submodule. def clean_dep(dep): return str(Label(dep)) # Installed via atlas-dev def repo(): # atlas native.new_local_repository( name = "atlas", build_file = clean_dep("//...
26.75
74
0.656542
59
428
4.661017
0.745763
0.058182
0
0
0
0
0
0
0
0
0
0
0.212617
428
15
75
28.533333
0.816024
0.432243
0
0
0
0
0.206009
0.133047
0
0
0
0
0
1
0.25
false
0
0
0.125
0.375
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
0
0
0
2
116624c93625fac6eece84b6e0c8123051aa16cd
436
py
Python
week1/the_real_deal/count_substrings_test.py
sevgo/Programming101
ac25c4d9695563b449a629c60ec77a739c9f5be3
[ "BSD-3-Clause" ]
null
null
null
week1/the_real_deal/count_substrings_test.py
sevgo/Programming101
ac25c4d9695563b449a629c60ec77a739c9f5be3
[ "BSD-3-Clause" ]
1
2021-09-16T05:44:31.000Z
2021-09-16T05:44:31.000Z
week1/the_real_deal/count_substrings_test.py
sevgo/Programming101
ac25c4d9695563b449a629c60ec77a739c9f5be3
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 import unittest from count_substrings import count_substrings class Test_substring_count(unittest.TestCase): def test_substrings_count(self): sub = "yth" string = "Python myth is yet another myth but wyth a python" self.assertIsInstance(count_substrings(string, sub...
24.222222
68
0.715596
55
436
5.381818
0.6
0.202703
0.141892
0.162162
0
0
0
0
0
0
0
0.005682
0.192661
436
17
69
25.647059
0.835227
0.048165
0
0
0
0
0.144928
0
0
0
0
0
0.2
1
0.1
false
0
0.2
0
0.4
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fec155ad529589e445bedf785bf9f64518c58154
2,611
py
Python
pages/site.py
ongzhixian/python-apps
11a0d0ce656a7e9d7bdff18dd29feaa2bb436ae6
[ "MIT" ]
null
null
null
pages/site.py
ongzhixian/python-apps
11a0d0ce656a7e9d7bdff18dd29feaa2bb436ae6
[ "MIT" ]
null
null
null
pages/site.py
ongzhixian/python-apps
11a0d0ce656a7e9d7bdff18dd29feaa2bb436ae6
[ "MIT" ]
null
null
null
################################################################################ # Modules and functions import statements ################################################################################ import pdb from helpers.app_helpers import * from helpers.page_helpers import * from helpers.jinja2_helpers import ...
34.355263
81
0.587897
270
2,611
5.481481
0.214815
0.054054
0.113514
0.151351
0.589189
0.483784
0.483784
0.460811
0.425676
0.425676
0
0.008853
0.091536
2,611
75
82
34.813333
0.615093
0.068173
0
0.232558
0
0
0.162162
0.108108
0
0
0
0
0
1
0.232558
false
0
0.093023
0.023256
0.55814
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
fec5f22dde68bb077c842ee2788a5de0de772f0e
3,071
py
Python
sass/scripts/fbis_user_importer.py
NyakudyaA/django-bims
886fdc6c2a16c982323511fe9e0bdadd996c1f91
[ "MIT" ]
null
null
null
sass/scripts/fbis_user_importer.py
NyakudyaA/django-bims
886fdc6c2a16c982323511fe9e0bdadd996c1f91
[ "MIT" ]
null
null
null
sass/scripts/fbis_user_importer.py
NyakudyaA/django-bims
886fdc6c2a16c982323511fe9e0bdadd996c1f91
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import dateutil.parser from geonode.people.models import Profile from bims.models.profile import Profile as BimsProfile from sass.scripts.fbis_importer import FbisImporter class FbisUserImporter(FbisImporter): content_type_model = Profile table_name = 'User' def process_row(self,...
42.068493
79
0.631716
353
3,071
5.240793
0.27762
0.098378
0.140541
0.210811
0.286486
0.131892
0
0
0
0
0
0.001726
0.245523
3,071
72
80
42.652778
0.79672
0.016281
0
0
0
0
0.124627
0
0
0
0
0
0
1
0.016393
false
0.065574
0.081967
0
0.147541
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
fec9864036bf2f6093c38fb6a1886183dfcf1a70
369
py
Python
common/admin.py
art-solopov/mdwiki
b9df8b232453c8b0dc996004a8cbfe1420bb2618
[ "MIT" ]
null
null
null
common/admin.py
art-solopov/mdwiki
b9df8b232453c8b0dc996004a8cbfe1420bb2618
[ "MIT" ]
null
null
null
common/admin.py
art-solopov/mdwiki
b9df8b232453c8b0dc996004a8cbfe1420bb2618
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.contrib.auth.models import User class UserAdmin(BaseUserAdmin): list_display = ('username', 'email', 'first_name', 'last_name', 'is_staff', 'is_active', ) admin.site.unregi...
26.357143
64
0.710027
45
369
5.711111
0.555556
0.116732
0.198444
0.163424
0
0
0
0
0
0
0
0
0.181572
369
13
65
28.384615
0.850993
0
0
0
0
0
0.133152
0
0
0
0
0
0
1
0
false
0
0.3
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fedb658a57f1af2769bf548d2235cc237d27bf66
433
py
Python
dbcut/cli/commands/cmd_flush.py
SalemHarrache/dbcut
0fd60e15f3b5532c5c531923d2e9ef08ce17c935
[ "MIT" ]
16
2019-11-22T16:36:56.000Z
2022-03-12T01:49:03.000Z
dbcut/cli/commands/cmd_flush.py
SalemHarrache/dbcut
0fd60e15f3b5532c5c531923d2e9ef08ce17c935
[ "MIT" ]
3
2019-11-23T06:11:30.000Z
2020-06-23T13:34:04.000Z
dbcut/cli/commands/cmd_flush.py
SalemHarrache/dbcut
0fd60e15f3b5532c5c531923d2e9ef08ce17c935
[ "MIT" ]
4
2019-11-22T20:42:57.000Z
2022-02-23T09:10:00.000Z
# -*- coding: utf-8 -*- import click from ..context import global_options, pass_context, profiler_option from ..operations import flush @click.command("flush") @profiler_option() @click.option( "--with-cache", is_flag=True, default=False, help="Also delete all cache", ) @global_options() @pass_conte...
19.681818
70
0.69515
57
433
5.157895
0.666667
0.088435
0.115646
0.163265
0
0
0
0
0
0
0
0.00277
0.166282
433
21
71
20.619048
0.811634
0.191686
0
0
0
0
0.110465
0
0
0
0
0
0
1
0.066667
false
0.133333
0.2
0
0.266667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
fee0aba8237d5d4bcb90757dba2979742ec8342d
1,309
py
Python
trvagg/aggregator.py
chrrrisw/trove-gen-tools
78d5ceee51fd668a62ef2ab26592c31571fc0171
[ "MIT" ]
null
null
null
trvagg/aggregator.py
chrrrisw/trove-gen-tools
78d5ceee51fd668a62ef2ab26592c31571fc0171
[ "MIT" ]
null
null
null
trvagg/aggregator.py
chrrrisw/trove-gen-tools
78d5ceee51fd668a62ef2ab26592c31571fc0171
[ "MIT" ]
null
null
null
from trvartdb import Article from trvartdb.articledb import ArticleDB # TODO: Cannot rely on IDs being same between databases - search on name, etc class Aggregator(object): """Reads one ArticleDB and transfers relevant articles to another.""" def __init__(self, from_dbname, to_dbname): super(Aggreg...
27.851064
84
0.637892
162
1,309
4.839506
0.351852
0.040816
0.030612
0.057398
0.038265
0
0
0
0
0
0
0
0.281131
1,309
46
85
28.456522
0.833156
0.130634
0
0.129032
0
0
0
0
0
0
0
0.021739
0
1
0.193548
false
0.129032
0.064516
0
0.322581
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
fee9f86bd5cbf5d110fc4a657bac67322ff39fcc
2,389
py
Python
src/genie/libs/parser/nxos/tests/ShowForwardingIpv4Recursive/cli/equal/golden_output_1_expected.py
ykoehler/genieparser
b62cf622c3d8eab77c7b69e932c214ed04a2565a
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/nxos/tests/ShowForwardingIpv4Recursive/cli/equal/golden_output_1_expected.py
ykoehler/genieparser
b62cf622c3d8eab77c7b69e932c214ed04a2565a
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/nxos/tests/ShowForwardingIpv4Recursive/cli/equal/golden_output_1_expected.py
ykoehler/genieparser
b62cf622c3d8eab77c7b69e932c214ed04a2565a
[ "Apache-2.0" ]
null
null
null
expected_output = { "slot": { "1": { "ip_version": { "IPv4": { "route_table": { "default/base": { "prefix": { "1.1.1.1/32": { "next_hop": { ...
42.660714
71
0.146086
98
2,389
3.428571
0.316327
0.059524
0.053571
0.119048
0.598214
0.598214
0.526786
0.526786
0.526786
0.526786
0
0.167266
0.767267
2,389
56
72
42.660714
0.43705
0
0
0.267857
0
0
0.148536
0.030126
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fef06f90a422d2b8189247a9d345aed4d4068997
8,127
py
Python
python/Polygon.py
Pratool/homography
c9daeaa3364b7c658b39c225952288dd828c332e
[ "MIT" ]
1
2019-08-12T17:38:22.000Z
2019-08-12T17:38:22.000Z
python/Polygon.py
Pratool/homography
c9daeaa3364b7c658b39c225952288dd828c332e
[ "MIT" ]
1
2020-03-03T15:43:38.000Z
2020-03-04T03:22:47.000Z
python/Polygon.py
Pratool/homography
c9daeaa3364b7c658b39c225952288dd828c332e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Defines classes related to 2D polygons. """ class Vertex: def __init__(self, coordinates, **kwargs): self.coordinates = coordinates if 'prev' in kwargs: self.set_prev(kwargs['prev']) if 'next' in kwargs: self.set_ne...
31.746094
83
0.613141
1,035
8,127
4.661836
0.163285
0.064663
0.031088
0.041451
0.538653
0.508187
0.461347
0.420725
0.324145
0.324145
0
0.006972
0.294081
8,127
255
84
31.870588
0.83406
0.263443
0
0.201493
0
0
0.033843
0
0
0
0
0
0
1
0.268657
false
0
0
0.134328
0.567164
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
0
0
0
2
fef1b38254b4043002410c7d94c34c406adf0553
223
gyp
Python
binding.gyp
oferh/node-readpath
6c12ad29b680040994666f411a81c190770b2418
[ "Apache-2.0" ]
null
null
null
binding.gyp
oferh/node-readpath
6c12ad29b680040994666f411a81c190770b2418
[ "Apache-2.0" ]
null
null
null
binding.gyp
oferh/node-readpath
6c12ad29b680040994666f411a81c190770b2418
[ "Apache-2.0" ]
null
null
null
{ "targets": [ { "target_name": "readpath", "sources": [ "src/dirread.cc", "src/async.cc" ], "include_dirs" : [ "<!(node -e \"require('nan')\")" ] } ], }
18.583333
60
0.367713
17
223
4.705882
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.403587
223
11
61
20.272727
0.601504
0
0
0
0
0
0.390135
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
feff293e155d8d02f3d34dd66ffd8ddb0c1e70c8
287
py
Python
eval_commands/csvtopkl.py
anshumandutt/AreCELearnedYet
e2286c3621dea8e4961057b6197c1e14e75aea5a
[ "MIT" ]
null
null
null
eval_commands/csvtopkl.py
anshumandutt/AreCELearnedYet
e2286c3621dea8e4961057b6197c1e14e75aea5a
[ "MIT" ]
null
null
null
eval_commands/csvtopkl.py
anshumandutt/AreCELearnedYet
e2286c3621dea8e4961057b6197c1e14e75aea5a
[ "MIT" ]
null
null
null
from pathlib import Path import pandas as pd from pandas.api.types import CategoricalDtype path = Path("data/power7/original.csv") df = pd.read_csv(path) df = df.astype({k: CategoricalDtype(ordered=True) for k, d in df.dtypes.items() if d == "O"}) df.to_pickle(path.with_suffix(".pkl"))
35.875
93
0.74216
49
287
4.285714
0.653061
0
0
0
0
0
0
0
0
0
0
0.003922
0.111498
287
8
94
35.875
0.819608
0
0
0
0
0
0.100694
0.083333
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
0
0
0
2
3a0570e4b349bc1683f25a39c4523c2251004591
717
py
Python
lib/python/cobra/helper/test_logging.py
cobra79/GeoGeekSuite
fc8e43a9e8dffa6b41b5b4671f674bee6f60785d
[ "Apache-2.0" ]
null
null
null
lib/python/cobra/helper/test_logging.py
cobra79/GeoGeekSuite
fc8e43a9e8dffa6b41b5b4671f674bee6f60785d
[ "Apache-2.0" ]
null
null
null
lib/python/cobra/helper/test_logging.py
cobra79/GeoGeekSuite
fc8e43a9e8dffa6b41b5b4671f674bee6f60785d
[ "Apache-2.0" ]
null
null
null
import unittest from . import logging class TestLogger(unittest.TestCase): def test_class(self): logger = logging.Logger(self) self.assertEqual(type(logger).__name__, 'Logger') def test_info(self): logger = logging.Logger(self) logger.info('InfoTest') self.assertTrue...
26.555556
73
0.663877
80
717
5.775
0.3
0.151515
0.147186
0.199134
0.545455
0.487013
0.272727
0
0
0
0
0
0.2106
717
27
74
26.555556
0.816254
0
0
0.222222
0
0
0.122563
0
0
0
0
0
0.222222
1
0.222222
false
0
0.111111
0
0.388889
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
0
0
0
2
3a05d66dfd3270f1f41b2bd505ed0044dede55e7
1,234
py
Python
modules_disabled.py
TREVO786/goost
babbeb7583b603a59577cac3bf34c6e136ea7396
[ "CC-BY-3.0", "MIT" ]
1
2021-02-11T20:51:09.000Z
2021-02-11T20:51:09.000Z
modules_disabled.py
TREVO786/goost
babbeb7583b603a59577cac3bf34c6e136ea7396
[ "CC-BY-3.0", "MIT" ]
null
null
null
modules_disabled.py
TREVO786/goost
babbeb7583b603a59577cac3bf34c6e136ea7396
[ "CC-BY-3.0", "MIT" ]
null
null
null
# This is a list of modules which are not required to build # in order to test out this extension. Mostly useful for CI. module_arkit_enabled = "no" module_assimp_enabled = "no" module_fbx_enabled = "no" module_bmp_enabled = "no" module_bullet_enabled = "no" module_camera_enabled = "no" module_csg_enabled = "no" modul...
30.097561
60
0.785251
182
1,234
4.895604
0.373626
0.353535
0.572391
0.044893
0
0
0
0
0
0
0
0
0.118314
1,234
40
61
30.85
0.818934
0.13047
0
0
0
0
0.071161
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3a0de10bf3a08f418ced75c3d9034dbdbb462fed
2,936
py
Python
tutorial/operations.py
luanxiangming/rqsts
0bd3fa2fe64c71bf5702654de46e953d7a144847
[ "Apache-2.0" ]
2
2017-04-28T09:54:39.000Z
2017-05-03T12:38:19.000Z
tutorial/operations.py
luanxiangming/rqsts
0bd3fa2fe64c71bf5702654de46e953d7a144847
[ "Apache-2.0" ]
null
null
null
tutorial/operations.py
luanxiangming/rqsts
0bd3fa2fe64c71bf5702654de46e953d7a144847
[ "Apache-2.0" ]
null
null
null
import unittest class PythonOperations(unittest.TestCase): # 数值运算 def test_number_operations(self): self.assertEqual(2 / 4, 0.5) # 除法(总是返回一个浮点数),得到一个浮点数0.5 self.assertEqual(2 // 4, 0) # 除法(总是返回一个整数),得到一个整数0 self.assertEqual(17 % 3, 2) # 取余 , 得到2 self.assertEqual(2 ** 5, 32) # 乘方, 得到32 # String(字符串) d...
37.641026
89
0.612398
432
2,936
4.087963
0.247685
0.305776
0.02718
0.04983
0.429219
0.296149
0.243488
0.178935
0.115515
0.0453
0
0.071601
0.15327
2,936
77
90
38.12987
0.638777
0.073229
0
0
0
0
0.146874
0
0
0
0
0
0.6
1
0.1
false
0
0.016667
0
0.133333
0.016667
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
3a14aafbca45ee60137be8f226645ef2890a0435
1,610
py
Python
blog/migrations/0001_initial.py
gurleen-kaur1313/Oneness-Backend
90c19d6c82c1d447f878575c132a7087d5347c85
[ "MIT" ]
1
2020-12-25T12:21:17.000Z
2020-12-25T12:21:17.000Z
blog/migrations/0001_initial.py
gurleen-kaur1313/Oneness-Backend
90c19d6c82c1d447f878575c132a7087d5347c85
[ "MIT" ]
null
null
null
blog/migrations/0001_initial.py
gurleen-kaur1313/Oneness-Backend
90c19d6c82c1d447f878575c132a7087d5347c85
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2020-12-19 09:35 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import uuid class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(...
39.268293
121
0.619255
176
1,610
5.579545
0.375
0.045825
0.04277
0.06721
0.641548
0.641548
0.641548
0.641548
0.641548
0.641548
0
0.02147
0.247826
1,610
40
122
40.25
0.78943
0.02795
0
0.484848
1
0
0.037108
0
0
0
0
0
0
1
0
false
0
0.151515
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3a20d276c6a4a52d9f929abd6ca2f6bae031eae4
1,424
py
Python
applitools/utils/argument_guard.py
applitools/eyes.selenium.python
3a09a3372a3a8915b3c97ee54fc223580c45c0a3
[ "Apache-2.0" ]
11
2016-04-20T21:21:37.000Z
2020-04-27T19:46:56.000Z
applitools/utils/argument_guard.py
applitools/eyes.selenium.python
3a09a3372a3a8915b3c97ee54fc223580c45c0a3
[ "Apache-2.0" ]
15
2017-01-11T04:58:31.000Z
2019-09-13T18:00:35.000Z
applitools/utils/argument_guard.py
applitools/eyes.selenium.python
3a09a3372a3a8915b3c97ee54fc223580c45c0a3
[ "Apache-2.0" ]
15
2016-03-23T22:06:39.000Z
2020-06-14T09:11:58.000Z
import typing as tp from applitools.core.errors import EyesIllegalArgument from .compat import iteritems def get_name_from_param(param): for var_name, var in iteritems(locals()): if var is param: return var_name def not_none(param): """ Fails if the input parameter is None """ ...
23.733333
82
0.64677
197
1,424
4.497462
0.329949
0.039503
0.062077
0.090293
0.273138
0.197517
0.10158
0
0
0
0
0.004634
0.242275
1,424
59
83
24.135593
0.816497
0.195225
0
0.071429
0
0
0.05268
0
0
0
0
0.016949
0
1
0.25
false
0
0.107143
0
0.392857
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
0
0
0
2
3a2511e77831cd9bbde9663624907abec073569d
1,663
py
Python
grammar.py
ShobhitLamba/NLP-Project
b86d46b3dadefbea37cacb9edd3ea733b502807d
[ "MIT" ]
null
null
null
grammar.py
ShobhitLamba/NLP-Project
b86d46b3dadefbea37cacb9edd3ea733b502807d
[ "MIT" ]
null
null
null
grammar.py
ShobhitLamba/NLP-Project
b86d46b3dadefbea37cacb9edd3ea733b502807d
[ "MIT" ]
1
2021-09-21T15:48:19.000Z
2021-09-21T15:48:19.000Z
# author: Shobhit Lamba import re from stanfordcorenlp import StanfordCoreNLP def subjectVerbAgreement(text): nlp = StanfordCoreNLP(r'..\stanford-corenlp-full-2018-02-27') text = re.sub('[^A-Za-z0-9]+', ' ', text) tags = [] pos_tags = nlp.pos_tag(text) # print(len(pos_tags)) for i in range(l...
30.236364
72
0.578473
243
1,663
3.744856
0.271605
0.130769
0.242857
0.168132
0.50989
0.445055
0.23956
0.175824
0.112088
0.112088
0
0.019841
0.242333
1,663
54
73
30.796296
0.702381
0.139507
0
0.1
0
0
0.150704
0.024648
0
0
0
0
0
1
0.033333
false
0
0.066667
0
0.133333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3a252924ed8ece14d7c4463c7e3ed150706b3ab4
846
py
Python
options/extra_args_dfc.py
marcelampc/aerial_mtl
c6a2033ec89a89ff06836014c619d66bc907d958
[ "BSD-3-Clause" ]
58
2019-07-23T09:01:58.000Z
2022-03-31T23:12:37.000Z
options/extra_args_dfc.py
marcelampc/mtl_aerial_images
c6a2033ec89a89ff06836014c619d66bc907d958
[ "BSD-3-Clause" ]
5
2019-12-09T12:20:35.000Z
2021-06-23T12:41:48.000Z
options/extra_args_dfc.py
marcelampc/aerial_mtl
c6a2033ec89a89ff06836014c619d66bc907d958
[ "BSD-3-Clause" ]
8
2019-08-05T11:13:23.000Z
2021-04-26T00:57:40.000Z
from .extra_args_mtl import MTL_Options class MTL_Raster_Options(MTL_Options): def initialize(self): MTL_Options.initialize(self) self.parser.add_argument('--dfc_preprocessing', type=int, default=30) self.parser.add_argument('--which_raster', default='dsm', help='optios are: dsm, dsm-demb, ...
65.076923
124
0.710402
110
846
5.236364
0.436364
0.138889
0.180556
0.291667
0.175347
0.125
0.125
0
0
0
0
0.013661
0.134752
846
13
125
65.076923
0.773224
0
0
0
0
0
0.279811
0.027155
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3a3a98414bc82da11efb8824870bd5ed0c7c0ba2
1,567
py
Python
plot_history.py
Mayner0220/Mimotion
34ae9cca84f53fb69ed0de8ead0753dc37d0aba2
[ "Apache-2.0" ]
null
null
null
plot_history.py
Mayner0220/Mimotion
34ae9cca84f53fb69ed0de8ead0753dc37d0aba2
[ "Apache-2.0" ]
null
null
null
plot_history.py
Mayner0220/Mimotion
34ae9cca84f53fb69ed0de8ead0753dc37d0aba2
[ "Apache-2.0" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt def plot_model(model_history): fig, axs = plt.subplots(1, 2, figsize=(15, 5)) # accuracy history 요약 # model_history로 history를 호출할 수 있으나 # 알맞지 않은 데이터 타입으로 에러가 발생 axs[0].plot(model_history.history["accuracy"], "y", label="train_acc") axs[0].plo...
40.179487
121
0.671985
241
1,567
4.215768
0.244813
0.200787
0.299213
0.125984
0.602362
0.423228
0.261811
0.234252
0.228346
0.07874
0
0.028488
0.126356
1,567
39
122
40.179487
0.71366
0.454371
0
0
0
0
0.191716
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.166667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3a3b62247eedca86a36cb29ad019af9f62411360
1,706
py
Python
encrypt.py
mrinalpande/Music-Encrypt
95e0f128232be307c844066cdf85a39097855d47
[ "MIT" ]
6
2017-08-19T21:41:57.000Z
2022-01-15T22:25:09.000Z
encrypt.py
mrinalpande/Music-Encrypt
95e0f128232be307c844066cdf85a39097855d47
[ "MIT" ]
null
null
null
encrypt.py
mrinalpande/Music-Encrypt
95e0f128232be307c844066cdf85a39097855d47
[ "MIT" ]
2
2017-11-28T00:18:02.000Z
2022-01-16T06:57:42.000Z
import generate def encrypt(path,key,outfile): print("\n-------Encrypting-------") plain_text = open(str(path),"r") encoding = open("./encode/"+"C_en","r") duration = open("./encode/duration","r") cipher_text = open("c_text","w") cipher_dur = open("c_dur","w") #Getting plain text for l...
34.816327
72
0.518171
214
1,706
4.051402
0.247664
0.149942
0.194925
0.124567
0.318339
0.214533
0.214533
0
0
0
0
0.010471
0.328253
1,706
49
73
34.816327
0.746073
0.066823
0
0
1
0
0.055381
0.016362
0
0
0
0
0
1
0.025641
false
0
0.025641
0
0.051282
0.025641
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3a425bf3275d325bab05c4e255cdf8dccbba3cb0
518
py
Python
test/test_edit_contact.py
Physic67/python_training
a19206b8dc2fc642f0cd29781eb8431122501630
[ "Apache-2.0" ]
null
null
null
test/test_edit_contact.py
Physic67/python_training
a19206b8dc2fc642f0cd29781eb8431122501630
[ "Apache-2.0" ]
null
null
null
test/test_edit_contact.py
Physic67/python_training
a19206b8dc2fc642f0cd29781eb8431122501630
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from model.contact import Contact def test_edit_first_contact(app): if app.contact.count() == 0: app.contact.add_new_contact(Contact(firstname="Edward", middlename="Vampire", lastname="Kallen", address="Forks, Washington", homephone="495-1234567", mobilephone="901-1234567", email="...
57.555556
208
0.727799
65
518
5.692308
0.553846
0.081081
0.086486
0.167568
0.351351
0.351351
0.351351
0.351351
0.351351
0
0
0.072495
0.094595
518
8
209
64.75
0.716418
0.040541
0
0
0
0
0.230303
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
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
0
0
0
0
0
0
0
0
0
2
3a43592f5165a5b81c97a7902cebeeeef9e52fc6
356
py
Python
blue_green_assets/aws_authentication.py
DNXLabs/docker-beanstalk-bluegreen
bcbf30ce6fb1e1c92f1e6c87a657add7bc03ae74
[ "Apache-2.0" ]
3
2022-03-29T16:33:17.000Z
2022-03-31T01:36:39.000Z
blue_green_assets/aws_authentication.py
DNXLabs/docker-beanstalk-bluegreen
bcbf30ce6fb1e1c92f1e6c87a657add7bc03ae74
[ "Apache-2.0" ]
null
null
null
blue_green_assets/aws_authentication.py
DNXLabs/docker-beanstalk-bluegreen
bcbf30ce6fb1e1c92f1e6c87a657add7bc03ae74
[ "Apache-2.0" ]
null
null
null
import boto3 import os def get_boto_client(): print("AUTH_METHOD: " + str(os.getenv('AUTH_METHOD'))) if os.getenv('AUTH_METHOD') == 'SSO': boto3.setup_default_session(profile_name=os.getenv('SSO_PROFILE')) print("SSO Authentication") else: print("AWS KEYS a...
32.363636
78
0.615169
42
356
5
0.571429
0.142857
0.114286
0.171429
0
0
0
0
0
0
0
0.011407
0.261236
356
11
79
32.363636
0.787072
0
0
0
0
0
0.252101
0
0
0
0
0
0
1
0.1
true
0
0.2
0
0.4
0.3
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
3a4ad709764ad0ae642b5bd5a4a3f9d80e83d0e1
9,745
py
Python
tests/test_controllers.py
SungardAS/porper-core
e508b032ad9d451a6f962baa09115dfabc3da3f3
[ "MIT" ]
null
null
null
tests/test_controllers.py
SungardAS/porper-core
e508b032ad9d451a6f962baa09115dfabc3da3f3
[ "MIT" ]
null
null
null
tests/test_controllers.py
SungardAS/porper-core
e508b032ad9d451a6f962baa09115dfabc3da3f3
[ "MIT" ]
1
2020-12-09T16:54:24.000Z
2020-12-09T16:54:24.000Z
import sys sys.path.append('..') import os region = os.environ.get('AWS_DEFAULT_REGION') import boto3 dynamodb = boto3.resource('dynamodb',region_name=region) # read input json from input_local import INPUT print "\n\n\n##############################################################################" print "# User A...
36.092593
207
0.673063
1,307
9,745
4.79189
0.087223
0.070254
0.046942
0.060354
0.764011
0.718506
0.672521
0.661664
0.592687
0.573367
0
0.012017
0.137506
9,745
269
208
36.226766
0.733135
0.001539
0
0.519481
0
0.004329
0.31942
0.062095
0
0
0
0
0
0
null
null
0
0.060606
null
null
0.277056
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
28c70b5b0b43c422375c7f375b0040d926d0d780
262
py
Python
setup.py
kusumikakd/Real_time_seizurecast
e7c186d8116d16d6a03bb42e943c3af86b489d81
[ "MIT" ]
null
null
null
setup.py
kusumikakd/Real_time_seizurecast
e7c186d8116d16d6a03bb42e943c3af86b489d81
[ "MIT" ]
null
null
null
setup.py
kusumikakd/Real_time_seizurecast
e7c186d8116d16d6a03bb42e943c3af86b489d81
[ "MIT" ]
2
2021-01-22T06:58:08.000Z
2021-11-27T05:11:16.000Z
from setuptools import find_packages, setup setup( name='seizurecast', packages=find_packages(), version='0.1.0', description='ReReal-time forecasting epileptic seizure using electroencephalogram', author='Yanxian Lin', license='MIT', )
23.818182
87
0.717557
29
262
6.413793
0.827586
0.129032
0
0
0
0
0
0
0
0
0
0.013761
0.167939
262
10
88
26.2
0.83945
0
0
0
0
0
0.374046
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
28d057d5c5ade01a5e435d0ab07bd2f7e07e3021
765
py
Python
intro_to_machine_learning/lesson/lesson_3_decision_trees/studentMain.py
robinl3680/udacity-course
308daf62479f9bf6f4256eb19313631f1bb4c5da
[ "MIT" ]
68
2016-07-28T07:24:57.000Z
2021-10-09T19:28:48.000Z
intro_to_machine_learning/lesson/lesson_3_decision_trees/studentMain.py
robinl3680/udacity-course
308daf62479f9bf6f4256eb19313631f1bb4c5da
[ "MIT" ]
null
null
null
intro_to_machine_learning/lesson/lesson_3_decision_trees/studentMain.py
robinl3680/udacity-course
308daf62479f9bf6f4256eb19313631f1bb4c5da
[ "MIT" ]
105
2016-10-19T03:56:33.000Z
2022-03-15T02:12:08.000Z
# -*- coding: utf-8 -*- """ Created on Sat Nov 29 18:17:20 2014 @author: tvu """ #!/usr/bin/python """ lecture and example code for decision tree unit """ import sys from class_vis import prettyPicture, output_image from prep_terrain_data import makeTerrainData import matplotlib.pyplot as plt import numpy as np im...
20.131579
76
0.742484
114
765
4.868421
0.666667
0.03964
0.075676
0.097297
0.115315
0
0
0
0
0
0
0.019969
0.14902
765
37
77
20.675676
0.832565
0.298039
0
0
0
0
0.045356
0
0
0
0
0
0
1
0
false
0
0.636364
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
28e013a3e4c67d85c286a9db84fbae2f82f14fa0
24,653
py
Python
experiments/OneShotBuilder.py
EmptyOps/MatchingNetworks
b3965355370fa8a4161a66a8d98b392d2950f215
[ "MIT" ]
null
null
null
experiments/OneShotBuilder.py
EmptyOps/MatchingNetworks
b3965355370fa8a4161a66a8d98b392d2950f215
[ "MIT" ]
null
null
null
experiments/OneShotBuilder.py
EmptyOps/MatchingNetworks
b3965355370fa8a4161a66a8d98b392d2950f215
[ "MIT" ]
null
null
null
##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ## Created by: Albert Berenguel ## Computer Vision Center (CVC). Universitat Autonoma de Barcelona ## Email: aberenguel@cvc.uab.es ## Copyright (c) 2017 ## ## This source code is licensed under the MIT-style license found in the ## LICENSE file...
56.414188
260
0.595222
3,100
24,653
4.355806
0.092903
0.120714
0.084722
0.040435
0.737984
0.715989
0.695623
0.677849
0.668
0.654003
0
0.010533
0.314485
24,653
437
261
56.414188
0.788462
0.154302
0
0.586806
0
0
0.016816
0
0
0
0
0
0
1
0.041667
false
0
0.020833
0
0.090278
0.024306
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e910aa442239c059d7dc59f1fd1d61b34db6b929
7,461
py
Python
src/sima/hydro/retardationfunctioncalculationnode.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/hydro/retardationfunctioncalculationnode.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/hydro/retardationfunctioncalculationnode.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# This an autogenerated file # # Generated with RetardationFunctionCalculationNode from typing import Dict,Sequence,List from dmt.entity import Entity from dmt.blueprint import Blueprint from .blueprints.retardationfunctioncalculationnode import RetardationFunctionCalculationNodeBlueprint from typing import Dict from ...
28.154717
181
0.622303
750
7,461
6.070667
0.148
0.045904
0.063255
0.016473
0.142763
0.142763
0.142763
0.142763
0.128706
0.128706
0
0.009208
0.272216
7,461
264
182
28.261364
0.829282
0.219408
0
0.154362
1
0
0.009847
0
0
0
0
0
0
1
0.255034
false
0
0.067114
0
0.456376
0.026846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
e91af699a9c3ad4f9f5cb6feb82ba4f2cac4015f
1,003
py
Python
rubbish.bin/legacy/taichi_three/scatter.py
Jack12xl/taichi_three
4785aeefd9e0bccd33cc9b564046dc566b03c714
[ "MIT" ]
null
null
null
rubbish.bin/legacy/taichi_three/scatter.py
Jack12xl/taichi_three
4785aeefd9e0bccd33cc9b564046dc566b03c714
[ "MIT" ]
null
null
null
rubbish.bin/legacy/taichi_three/scatter.py
Jack12xl/taichi_three
4785aeefd9e0bccd33cc9b564046dc566b03c714
[ "MIT" ]
null
null
null
import numpy as np import taichi as ti import taichi_glsl as ts from .geometry import * from .shading import * from .transform import * from .common import * from .model import * import math class ScatterModel(ModelBase): def __init__(self, num=None): super().__init__() self.num = num if...
26.394737
132
0.634098
129
1,003
4.829457
0.457364
0.064205
0.054575
0
0
0
0
0
0
0
0
0.004082
0.267198
1,003
37
133
27.108108
0.843537
0
0
0.068966
0
0
0
0
0
0
0
0
0
1
0.137931
false
0
0.344828
0
0.551724
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e9420b0de5c67aa9a4875f8055caae995e1d938c
394
py
Python
instagram_api/response/on_board_catalog.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
13
2019-08-07T21:24:34.000Z
2020-12-12T12:23:50.000Z
instagram_api/response/on_board_catalog.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
instagram_api/response/on_board_catalog.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
from .mapper import ApiResponse, ApiResponseInterface from .mapper.types import Timestamp, AnyType __all__ = ['OnBoardCatalogResponse'] class OnBoardCatalogResponseInterface(ApiResponseInterface): shopping_onboarding_state: str current_catalog_id: str is_business_targeted_for_shopping: bool class OnBoa...
26.266667
75
0.832487
35
394
9.028571
0.714286
0.063291
0
0
0
0
0
0
0
0
0
0
0.116751
394
14
76
28.142857
0.908046
0
0
0
0
0
0.055838
0.055838
0
0
0
0
0
1
0
false
0.111111
0.222222
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
3a682a2d48e8a1b69de45df21a914a488b31f804
1,125
py
Python
apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/website_crm_partner_assign/__manifest__.py
gtfarng/Odoo_migrade
9cc28fae4c379e407645248a29d22139925eafe7
[ "Apache-2.0" ]
1
2019-12-19T01:53:13.000Z
2019-12-19T01:53:13.000Z
apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/website_crm_partner_assign/__manifest__.py
gtfarng/Odoo_migrade
9cc28fae4c379e407645248a29d22139925eafe7
[ "Apache-2.0" ]
null
null
null
apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/website_crm_partner_assign/__manifest__.py
gtfarng/Odoo_migrade
9cc28fae4c379e407645248a29d22139925eafe7
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. { 'name': 'Resellers', 'category': 'Sales', 'website': 'https://www.odoo.com/page/website-builder', 'summary': 'Publish Your Channel of Resellers', 'version': '1.0', 'description': """ Publish and...
32.142857
75
0.599111
130
1,125
4.923077
0.507692
0.032813
0.03125
0
0
0
0
0
0
0
0
0.003409
0.217778
1,125
34
76
33.088235
0.723864
0.083556
0
0.064516
0
0
0.666342
0.354086
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
3a83d1c64df0f32c7cfba7fa77cc7de9f5035e5d
208
py
Python
htp/views/index.py
kirkjules/machine-learned-timeseries
7aedec0fe04807fef1cf5e79a929652101d467f7
[ "MIT" ]
1
2020-05-17T21:49:57.000Z
2020-05-17T21:49:57.000Z
htp/views/index.py
kirkjules/machine-learned-timeseries
7aedec0fe04807fef1cf5e79a929652101d467f7
[ "MIT" ]
3
2020-08-15T01:11:45.000Z
2022-01-13T03:22:25.000Z
htp/views/index.py
kirkjules/machine-learned-timeseries
7aedec0fe04807fef1cf5e79a929652101d467f7
[ "MIT" ]
null
null
null
from flask import Blueprint, render_template from flask_login import login_required bp = Blueprint('index', __name__) @bp.route('/') @login_required def monitor(): return render_template('base.html')
17.333333
44
0.759615
27
208
5.518519
0.62963
0.120805
0
0
0
0
0
0
0
0
0
0
0.129808
208
11
45
18.909091
0.823204
0
0
0
0
0
0.072115
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
0.571429
0.285714
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
3a84b89fd79eb9cf248046286544c79dc026de7c
1,236
py
Python
sploits/sumgyeojin/rce.py
C4T-BuT-S4D/training-18-10-2020
44d26dc481ed89b05a7ee6574229993f022cf299
[ "WTFPL" ]
3
2020-10-18T20:58:24.000Z
2021-11-18T21:42:28.000Z
sploits/sumgyeojin/rce.py
C4T-BuT-S4D/training-18-10-2020
44d26dc481ed89b05a7ee6574229993f022cf299
[ "WTFPL" ]
6
2020-10-19T08:15:36.000Z
2021-04-29T22:25:48.000Z
sploits/sumgyeojin/rce.py
C4T-BuT-S4D/training-18-10-2020
44d26dc481ed89b05a7ee6574229993f022cf299
[ "WTFPL" ]
2
2020-10-22T13:03:45.000Z
2022-02-02T20:48:52.000Z
#!/usr/bin/env python3 import os import struct from pwn import * context.arch = "amd64" def generate_number(num): code = "iqiq" code += "ij" for i in range(64): if (num >> i) & 1: code += "+rj" code += "*jq" return code def generate_shellcode(shellcode): while len(shellcode) % 8 > 0: shellcode += b"\...
23.320755
115
0.643204
182
1,236
4.318681
0.423077
0.111959
0.160305
0.203562
0.089059
0.058524
0.058524
0.058524
0.058524
0.058524
0
0.076482
0.153722
1,236
52
116
23.769231
0.674952
0.088997
0
0.054054
1
0.027027
0.276937
0.0935
0
0
0.007124
0
0
1
0.054054
false
0
0.081081
0
0.189189
0.027027
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3a91d6733015ab9d6aa73747596709f202cc5d16
193
py
Python
marshmallow_jsonschema/__init__.py
hpusset/marshmallow-jsonschema
f0f87b555d34b2b8baed73293419cb2901f3b1fa
[ "MIT" ]
2
2016-01-12T17:04:42.000Z
2021-02-07T10:38:27.000Z
marshmallow_jsonschema/__init__.py
hpusset/marshmallow-jsonschema
f0f87b555d34b2b8baed73293419cb2901f3b1fa
[ "MIT" ]
null
null
null
marshmallow_jsonschema/__init__.py
hpusset/marshmallow-jsonschema
f0f87b555d34b2b8baed73293419cb2901f3b1fa
[ "MIT" ]
1
2015-12-21T09:14:43.000Z
2015-12-21T09:14:43.000Z
from pkg_resources import get_distribution __version__ = get_distribution('marshmallow-jsonschema').version __license__ = 'MIT' from .base import dump_schema __all__ = ( 'dump_schema' )
17.545455
64
0.782383
22
193
6.090909
0.681818
0.223881
0
0
0
0
0
0
0
0
0
0
0.134715
193
10
65
19.3
0.802395
0
0
0
0
0
0.186529
0.11399
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3aa1029ff34f973fe9156c227b4f5c7f6c87662c
2,719
py
Python
fixture/litecart.py
ammstir/Selenium-traning
09cf0ee3ea5a39cd701dcb55783c06c527d3c998
[ "Apache-2.0" ]
null
null
null
fixture/litecart.py
ammstir/Selenium-traning
09cf0ee3ea5a39cd701dcb55783c06c527d3c998
[ "Apache-2.0" ]
null
null
null
fixture/litecart.py
ammstir/Selenium-traning
09cf0ee3ea5a39cd701dcb55783c06c527d3c998
[ "Apache-2.0" ]
null
null
null
from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from pages.litecart_homepage import LiteCartHomePage from pages.litecart_bin import LiteCartBin class LiteCartHelper: def __init__(self, app): self.app = app self.homepage = LiteCartHomePage(self.app)...
42.484375
111
0.71644
377
2,719
4.824934
0.220159
0.06597
0.142936
0.164926
0.417262
0.362287
0.335349
0.335349
0.335349
0.316658
0
0.00133
0.170651
2,719
64
112
42.484375
0.804878
0
0
0.188679
0
0
0.089338
0.036397
0
0
0
0
0
1
0.169811
false
0.056604
0.075472
0
0.264151
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
3aa4790fd60973a0a4de9779c225624d5005c845
117
py
Python
illud/ansi/escape_codes/control.py
AustinScola/illud
a6aca1de38bbe9d5a795aaa084bcbd6731767d18
[ "MIT" ]
1
2020-12-05T00:59:15.000Z
2020-12-05T00:59:15.000Z
illud/ansi/escape_codes/control.py
AustinScola/illud
a6aca1de38bbe9d5a795aaa084bcbd6731767d18
[ "MIT" ]
112
2021-01-15T21:42:27.000Z
2021-04-17T19:11:21.000Z
illud/ansi/escape_codes/control.py
AustinScola/illud
a6aca1de38bbe9d5a795aaa084bcbd6731767d18
[ "MIT" ]
null
null
null
"""ANSI escape code prefixes for control escape codes.""" ESCAPE = '\x1b' CONTROL_SEQUENCE_INTRODUCER = ESCAPE + '['
29.25
57
0.726496
14
117
5.928571
0.714286
0
0
0
0
0
0
0
0
0
0
0.009901
0.136752
117
3
58
39
0.811881
0.435897
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3aa66a9e38519a1a66cd01b82a389d3728aa46b6
9,556
py
Python
index.py
becherd/DBtransactions
165f7201f10f1197df5d739cf881b9de6c51ef15
[ "MIT" ]
1
2018-07-22T11:17:57.000Z
2018-07-22T11:17:57.000Z
index.py
becherd/DBtransactions
165f7201f10f1197df5d739cf881b9de6c51ef15
[ "MIT" ]
null
null
null
index.py
becherd/DBtransactions
165f7201f10f1197df5d739cf881b9de6c51ef15
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf8 -*- import cgi import cgitb; cgitb.enable() import views import DBtransactions form = cgi.FieldStorage() def printjquery(graph, history): graphJson = DBtransactions.graphToJson(graph) jq = """<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <...
35.790262
685
0.595437
996
9,556
5.712851
0.307229
0.022496
0.009666
0.011951
0.227768
0.11283
0.077329
0.06362
0.05167
0.036907
0
0.010595
0.229594
9,556
266
686
35.924812
0.762293
0.007953
0
0.282609
0
0.069565
0.654918
0.11661
0
0
0
0
0
0
null
null
0
0.017391
null
null
0.056522
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
3aa8480b799580a2ff7e7ee6dc5c14cac756742c
1,001
py
Python
06_reproducibility/test_sigmoid.py
fanchi/ml-design-patterns
6f686601d2385a11a517f8394324062ec6094e14
[ "Apache-2.0" ]
1,149
2020-04-09T21:20:56.000Z
2022-03-31T02:41:53.000Z
06_reproducibility/test_sigmoid.py
dfinke/ml-design-patterns
6f686601d2385a11a517f8394324062ec6094e14
[ "Apache-2.0" ]
28
2020-06-14T15:17:59.000Z
2022-02-17T10:13:08.000Z
06_reproducibility/test_sigmoid.py
dfinke/ml-design-patterns
6f686601d2385a11a517f8394324062ec6094e14
[ "Apache-2.0" ]
296
2020-04-28T06:26:41.000Z
2022-03-31T06:52:33.000Z
#!/usr/bin/env python3 import unittest import numpy as np def sigmoid(x): return 1.0 / (1 + np.exp(-x)) class TestSigmoid(unittest.TestCase): def test_zero(self): self.assertAlmostEqual(sigmoid(0), 0.5) def test_neginf(self): self.assertAlmostEqual(sigmoid(float("-inf")), 0) ...
23.833333
72
0.632368
128
1,001
4.742188
0.453125
0.046129
0.123558
0.158155
0.131796
0.131796
0
0
0
0
0
0.021277
0.248751
1,001
42
73
23.833333
0.785904
0.033966
0
0
0
0
0.015528
0
0
0
0
0
0.16
1
0.24
false
0
0.16
0.04
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3ac0237976dd0487211acdc152702743de9467bd
54
py
Python
Quiz_Game/quiz-game-start/tempCodeRunnerFile.py
yash-agrawal20/Python-Project
29780c4741daf2ef299cc3cb93b88b851f270f51
[ "BSD-3-Clause" ]
1
2022-01-22T18:06:27.000Z
2022-01-22T18:06:27.000Z
Quiz_Game/quiz-game-start/tempCodeRunnerFile.py
yash-agrawal20/Python-Project
29780c4741daf2ef299cc3cb93b88b851f270f51
[ "BSD-3-Clause" ]
null
null
null
Quiz_Game/quiz-game-start/tempCodeRunnerFile.py
yash-agrawal20/Python-Project
29780c4741daf2ef299cc3cb93b88b851f270f51
[ "BSD-3-Clause" ]
null
null
null
quiz = QuizBrain(question_bank) # quiz.next_question()
27
31
0.796296
7
54
5.857143
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.074074
54
2
32
27
0.82
0.37037
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
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3ac50dbed66beca494102b4b426095ae30edc0e6
603
py
Python
twinbird/migrations/0002_auto_20210819_2110.py
kevinisme/pywilson
89ed60971ccaf02671eda97d6132bdd49773563d
[ "Unlicense" ]
null
null
null
twinbird/migrations/0002_auto_20210819_2110.py
kevinisme/pywilson
89ed60971ccaf02671eda97d6132bdd49773563d
[ "Unlicense" ]
null
null
null
twinbird/migrations/0002_auto_20210819_2110.py
kevinisme/pywilson
89ed60971ccaf02671eda97d6132bdd49773563d
[ "Unlicense" ]
null
null
null
# Generated by Django 3.2.3 on 2021-08-19 13:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('twinbird', '0001_initial'), ] operations = [ migrations.AlterField( model_name='twinbird', name='catid', ...
25.125
86
0.59204
61
603
5.770492
0.590164
0.113636
0.142045
0.164773
0.522727
0.522727
0.289773
0.289773
0.289773
0
0
0.044084
0.28524
603
23
87
26.217391
0.772622
0.074627
0
0.352941
1
0
0.111511
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2