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
41b346ddd7c92f19e68c949d1c840511698f317e
713
py
Python
msdsl/__init__.py
sgherbst/msdsl
e38d5ecdb88b3574bda62f22a4f91ce3e4173d12
[ "MIT" ]
15
2019-05-14T10:12:23.000Z
2022-03-29T15:29:52.000Z
msdsl/__init__.py
sgherbst/msdsl
e38d5ecdb88b3574bda62f22a4f91ce3e4173d12
[ "MIT" ]
19
2020-01-22T21:44:33.000Z
2021-06-05T02:10:41.000Z
msdsl/__init__.py
sgherbst/msdsl
e38d5ecdb88b3574bda62f22a4f91ce3e4173d12
[ "MIT" ]
5
2019-10-21T09:53:17.000Z
2021-08-10T17:32:20.000Z
from .files import get_msdsl_header from .expr.svreal import RangeOf from .expr.signals import (AnalogSignal, DigitalOutput, DigitalInput, AnalogInput, AnalogOutput, DigitalSignal) from .expr.simplify import distribute_mult from .expr.compression import apply_compression, invert_compression f...
50.928571
82
0.774194
91
713
5.901099
0.538462
0.089385
0
0
0
0
0
0
0
0
0
0.008389
0.164095
713
14
83
50.928571
0.892617
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.857143
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
41b64244b5c953274c5057c26dcb17a9068ddc1c
211
py
Python
backend/entries/urls.py
dwightgunning/daily-writing
1e39ba5172d6f6a98a4af9553dc8b26c980e4fcc
[ "MIT" ]
1
2019-05-01T12:09:47.000Z
2019-05-01T12:09:47.000Z
backend/entries/urls.py
dwightgunning/daily-writing
1e39ba5172d6f6a98a4af9553dc8b26c980e4fcc
[ "MIT" ]
34
2020-02-12T00:21:07.000Z
2022-03-02T13:43:11.000Z
backend/entries/urls.py
dwightgunning/daily-writing
1e39ba5172d6f6a98a4af9553dc8b26c980e4fcc
[ "MIT" ]
null
null
null
from entries.routers import EntriesRouter from entries.views import EntryViewSet router = EntriesRouter() router.register(prefix=r"entries", viewset=EntryViewSet, basename="entries") urlpatterns = router.urls
26.375
76
0.819905
24
211
7.208333
0.625
0.127168
0
0
0
0
0
0
0
0
0
0
0.090047
211
7
77
30.142857
0.901042
0
0
0
0
0
0.066351
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
68c44c4744bad79efde09b30a605e830bf5e4472
113
py
Python
finitegeometry/constants.py
gapag/4x4square
6d39d44563a7fa236f77c879e44537fa89e9f99d
[ "MIT" ]
null
null
null
finitegeometry/constants.py
gapag/4x4square
6d39d44563a7fa236f77c879e44537fa89e9f99d
[ "MIT" ]
null
null
null
finitegeometry/constants.py
gapag/4x4square
6d39d44563a7fa236f77c879e44537fa89e9f99d
[ "MIT" ]
null
null
null
from PyQt5.QtCore import Qt SELECTION_COLOR = Qt.yellow FOREGROUND_COLOR = Qt.black BACKGROUND_COLOR = Qt.white
18.833333
27
0.814159
17
113
5.235294
0.705882
0.235955
0
0
0
0
0
0
0
0
0
0.010101
0.123894
113
5
28
22.6
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
68e1158d20a9423a93fdb1dd36f648671aab6bfd
187
py
Python
SIS_Player/main.py
jonpas/FERI-DroneTasks
e7037a25300bda8b3abbc2f6cbe7a9040df39bd5
[ "MIT" ]
1
2020-04-15T10:59:14.000Z
2020-04-15T10:59:14.000Z
SIS_Player/main.py
T-13/DroneTasks
e7037a25300bda8b3abbc2f6cbe7a9040df39bd5
[ "MIT" ]
null
null
null
SIS_Player/main.py
T-13/DroneTasks
e7037a25300bda8b3abbc2f6cbe7a9040df39bd5
[ "MIT" ]
null
null
null
import sys from App import App from PyQt5.QtWidgets import QApplication if __name__ == '__main__': app = QApplication(sys.argv) ex = App() sys.exit(app.exec_())
18.7
40
0.647059
24
187
4.666667
0.583333
0
0
0
0
0
0
0
0
0
0
0.007143
0.251337
187
9
41
20.777778
0.792857
0
0
0
0
0
0.042781
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
68e25964d0b110d93f776b828c423a498d078705
200
py
Python
src/clldlucl/scaffolds/__init__.py
Anaphory/clldlucl
36a7f86f5be652067b915e30c19c5cd45dd848d4
[ "Apache-2.0" ]
null
null
null
src/clldlucl/scaffolds/__init__.py
Anaphory/clldlucl
36a7f86f5be652067b915e30c19c5cd45dd848d4
[ "Apache-2.0" ]
null
null
null
src/clldlucl/scaffolds/__init__.py
Anaphory/clldlucl
36a7f86f5be652067b915e30c19c5cd45dd848d4
[ "Apache-2.0" ]
null
null
null
from pyramid.scaffolds import PyramidTemplate # Adapted to LUCL use by G.A. Kaiping. class ClldAppTemplate(PyramidTemplate): _template_dir = 'clld_app' summary = 'CLLD Database App by LUCL'
25
45
0.76
26
200
5.730769
0.807692
0
0
0
0
0
0
0
0
0
0
0
0.17
200
7
46
28.571429
0.89759
0.18
0
0
0
0
0.203704
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
68e4d19e997017fc9af28b742389a3f0034d3805
2,968
py
Python
contrib/pyln-spec/bolt1/tests/test_bolt1.py
Bladez1753/lightning
6d256fdbf9e8fe571e6338ab7abd1183546a1a81
[ "MIT" ]
2,288
2015-06-13T04:01:10.000Z
2022-03-30T16:23:20.000Z
contrib/pyln-spec/bolt1/tests/test_bolt1.py
Bladez1753/lightning
6d256fdbf9e8fe571e6338ab7abd1183546a1a81
[ "MIT" ]
4,311
2015-06-13T23:39:10.000Z
2022-03-31T23:23:29.000Z
contrib/pyln-spec/bolt1/tests/test_bolt1.py
Bladez1753/lightning
6d256fdbf9e8fe571e6338ab7abd1183546a1a81
[ "MIT" ]
750
2015-06-13T16:34:01.000Z
2022-03-31T15:50:39.000Z
#! /usr/bin/python3 from pyln.proto.message import Message, MessageNamespace import pyln.spec.bolt1 as bolt1 import io def test_bolt_01_csv_tlv(): # FIXME: Test failure cases too! for t in [['0x', ''], ['0x21 00', '33='], ['0xfd0201 00', '513='], ['0xfd00fd 00', '253=...
47.870968
242
0.609164
302
2,968
5.880795
0.466887
0.061937
0.070946
0.078829
0.217342
0.199324
0.177928
0.15991
0.054054
0.054054
0
0.319661
0.244272
2,968
61
243
48.655738
0.472136
0.058962
0
0.083333
0
0
0.510043
0.271879
0
0
0.040172
0.016393
0.083333
1
0.041667
false
0
0.0625
0
0.104167
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
1
0
0
0
0
0
0
0
0
0
0
3
68fd09e6cc9639908fd0d4c5def5e3cc2f28fe79
138
py
Python
Python/ResistorsInParallel.py
sumitesh9/Competitive-Programming
f7798058c13aa4b9e7ff418d84b55ce54dcb7224
[ "MIT" ]
1
2020-07-30T06:13:47.000Z
2020-07-30T06:13:47.000Z
Python/ResistorsInParallel.py
sumitesh9/Competitive-Programming
f7798058c13aa4b9e7ff418d84b55ce54dcb7224
[ "MIT" ]
null
null
null
Python/ResistorsInParallel.py
sumitesh9/Competitive-Programming
f7798058c13aa4b9e7ff418d84b55ce54dcb7224
[ "MIT" ]
null
null
null
n = int(input()) l = list(map(int, input().split(" "))) sum = 0.0 for i in range(0,n): sum = sum + (1 / l[i]) sum = 1 / sum print(sum)
19.714286
38
0.521739
28
138
2.571429
0.535714
0.222222
0
0
0
0
0
0
0
0
0
0.046729
0.224638
138
7
39
19.714286
0.626168
0
0
0
0
0
0.007194
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ec13581d581d57bde3539a75cd0c13713d66ec7c
362
py
Python
core/processing/ner/base.py
nicolay-r/attitudes-extraction-ds
49a82843e6adbca35321aaaa08d05532e953a0fc
[ "MIT" ]
3
2019-11-05T19:42:55.000Z
2021-02-25T12:14:17.000Z
core/processing/ner/base.py
nicolay-r/attitudes-extraction-ds
49a82843e6adbca35321aaaa08d05532e953a0fc
[ "MIT" ]
1
2021-03-30T07:41:22.000Z
2021-03-30T07:41:22.000Z
core/processing/ner/base.py
nicolay-r/attitudes-extraction-ds
49a82843e6adbca35321aaaa08d05532e953a0fc
[ "MIT" ]
1
2019-08-18T18:33:11.000Z
2019-08-18T18:33:11.000Z
class NamedEntityRecognition: def extract(self, text, merge=False): """ text: unicode text merge: bool merge multiword entities into single list of terms returns: list list of terms (in case merge = False) or list of list of terms (wh...
24.133333
62
0.541436
40
362
4.9
0.6
0.122449
0.168367
0
0
0
0
0
0
0
0
0
0.39779
362
14
63
25.857143
0.899083
0.538674
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0
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
1
0
1
0
0
1
0
0
3
ec2178fb547875952c4b2bc7895510893b45c5aa
61
py
Python
1001 - Extremely Basic.py
Shah-Shishir/URI-Solutions
fde523e7eefc58e2c319ca1d83c2626e86e12e05
[ "Apache-2.0" ]
null
null
null
1001 - Extremely Basic.py
Shah-Shishir/URI-Solutions
fde523e7eefc58e2c319ca1d83c2626e86e12e05
[ "Apache-2.0" ]
null
null
null
1001 - Extremely Basic.py
Shah-Shishir/URI-Solutions
fde523e7eefc58e2c319ca1d83c2626e86e12e05
[ "Apache-2.0" ]
null
null
null
a = int(input()) b = int(input()) print ("X = %d" %(a+b))
15.25
24
0.442623
11
61
2.454545
0.636364
0.592593
0
0
0
0
0
0
0
0
0
0
0.229508
61
3
25
20.333333
0.574468
0
0
0
0
0
0.103448
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ec2633f162b0496ec4af703129ccf697f00d545e
4,706
py
Python
src/Modules/Trinity.FFI/Trinity.FFI.Native/ffi.py
qdoop/GraphEngine
d83381c781edc4040824c1e31057789939530eff
[ "MIT" ]
null
null
null
src/Modules/Trinity.FFI/Trinity.FFI.Native/ffi.py
qdoop/GraphEngine
d83381c781edc4040824c1e31057789939530eff
[ "MIT" ]
null
null
null
src/Modules/Trinity.FFI/Trinity.FFI.Native/ffi.py
qdoop/GraphEngine
d83381c781edc4040824c1e31057789939530eff
[ "MIT" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.9 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2, 7, 0): def swig_import_helper(): import importlib...
27.682353
107
0.656821
611
4,706
4.703764
0.242226
0.050104
0.036187
0.02366
0.245651
0.182324
0.162143
0.151705
0.070981
0.045233
0
0.009484
0.238207
4,706
169
108
27.846154
0.79219
0.048661
0
0.234375
1
0
0.042748
0
0
0
0
0
0
1
0.1875
false
0.007813
0.132813
0.125
0.578125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
ec2bb1ef1c55f8cca50845067102ead462b122e7
2,375
py
Python
replicant/exception.py
mkindahl/mysql-replicant-python
e627d29feae623f3f406ea472ca8cfae97abaa97
[ "Apache-2.0" ]
null
null
null
replicant/exception.py
mkindahl/mysql-replicant-python
e627d29feae623f3f406ea472ca8cfae97abaa97
[ "Apache-2.0" ]
null
null
null
replicant/exception.py
mkindahl/mysql-replicant-python
e627d29feae623f3f406ea472ca8cfae97abaa97
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2010, Mats Kindahl, Charles Bell, and Lars Thalmann # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retain the above copyright # ...
34.926471
73
0.736842
325
2,375
5.384615
0.507692
0.04
0.045714
0.054857
0.181714
0.154286
0.122286
0.122286
0.122286
0.077714
0
0.002125
0.207579
2,375
67
74
35.447761
0.927736
0.837474
0
0.428571
0
0
0.297424
0
0
0
0
0
0
1
0
true
0.428571
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
ec44f74d96e54d0474f2db0c943165257fa363f2
404
py
Python
main.py
TSprech/4Bit-Grayscale-Compression
a7a2a8598c5cf2bdb9da1c2db36c81c27c5245d9
[ "Apache-2.0" ]
null
null
null
main.py
TSprech/4Bit-Grayscale-Compression
a7a2a8598c5cf2bdb9da1c2db36c81c27c5245d9
[ "Apache-2.0" ]
null
null
null
main.py
TSprech/4Bit-Grayscale-Compression
a7a2a8598c5cf2bdb9da1c2db36c81c27c5245d9
[ "Apache-2.0" ]
null
null
null
import RLE4Bit import UI def main(): # image_test = RLE4Bit.RLE4Bit() # image_test.convert_image("Small Bitmap Odd Size.bmp", "Uncompressed", False) # image_test.convert_image("Small Bitmap Odd Size.bmp", "Compressed", True) UI.UI() # import tkinter # top = tkinter.Tk() # # Code to add w...
20.2
82
0.641089
52
404
4.730769
0.576923
0.109756
0.130081
0.170732
0.341463
0.341463
0.341463
0.341463
0.341463
0
0
0.009554
0.222772
404
19
83
21.263158
0.773885
0.660891
0
0
0
0
0.0625
0
0
0
0
0
0
1
0.166667
true
0
0.333333
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
6b6bc8ad7208e2905dbb2cc19e564713566d8d32
2,184
py
Python
examples/action_models/AD9_SubActions_Test_3.py
pcyoung75/SysMPy
2684e28eb8ad63c351e3327591bc2d988480e6a3
[ "Apache-2.0" ]
null
null
null
examples/action_models/AD9_SubActions_Test_3.py
pcyoung75/SysMPy
2684e28eb8ad63c351e3327591bc2d988480e6a3
[ "Apache-2.0" ]
null
null
null
examples/action_models/AD9_SubActions_Test_3.py
pcyoung75/SysMPy
2684e28eb8ad63c351e3327591bc2d988480e6a3
[ "Apache-2.0" ]
null
null
null
import asyncio from sysmpy import * """ +---------------+ / +---------------+ | | / | | | start | / | start | | | / ...
50.790698
78
0.149267
70
2,184
4.442857
0.471429
0.125402
0.163987
0.14791
0.244373
0.244373
0.244373
0
0
0
0
0.033898
0.64881
2,184
42
79
52
0.371578
0.016026
0
0
0
0
0.132013
0.069307
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
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
1
0
0
0
0
3
6b70292229e0ece6ebefcace606f10c467d2e302
61
py
Python
git_interface/shared.py
enchant97/python-git-interface
0ac236f35610ec17f34e07d00e3dc7b9349a07b4
[ "MIT" ]
null
null
null
git_interface/shared.py
enchant97/python-git-interface
0ac236f35610ec17f34e07d00e3dc7b9349a07b4
[ "MIT" ]
1
2021-12-10T09:59:06.000Z
2021-12-10T09:59:06.000Z
git_interface/shared.py
enchant97/python-git-interface
0ac236f35610ec17f34e07d00e3dc7b9349a07b4
[ "MIT" ]
1
2021-10-10T07:20:09.000Z
2021-10-10T07:20:09.000Z
import logging logger = logging.getLogger("git_interface")
12.2
43
0.786885
7
61
6.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.114754
61
4
44
15.25
0.87037
0
0
0
0
0
0.213115
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6b7e7f00b94f1208a588016929cea3004ebfcf24
1,425
py
Python
plgx-esp-ui/polylogyx/dao/v1/packs_dao.py
eclecticiq/eiq-er-ce
ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94
[ "MIT" ]
null
null
null
plgx-esp-ui/polylogyx/dao/v1/packs_dao.py
eclecticiq/eiq-er-ce
ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94
[ "MIT" ]
null
null
null
plgx-esp-ui/polylogyx/dao/v1/packs_dao.py
eclecticiq/eiq-er-ce
ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94
[ "MIT" ]
2
2021-11-12T10:25:02.000Z
2022-03-30T06:33:52.000Z
from polylogyx.models import Pack, Tag, db from sqlalchemy import desc, or_, cast, asc import sqlalchemy def get_all_packs(searchterm=''): return Pack.query.filter(or_( Pack.name.ilike('%' + searchterm + '%'), Pack.platform.ilike('%' + searchterm + '%'), Pack.version.ilike('%' ...
28.5
106
0.644211
186
1,425
4.774194
0.268817
0.040541
0.084459
0.094595
0.084459
0
0
0
0
0
0
0
0.204211
1,425
49
107
29.081633
0.783069
0
0
0
0
0
0.008421
0
0
0
0
0
0
1
0.242424
false
0
0.090909
0.181818
0.606061
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6b870b8efd73ca5331d1296d2b9e38fe159ab5b2
196
py
Python
bot/__main__.py
fedelebron/BeltBot
81e3f0fc1b027b84a7578f5f5be9c00a642e9472
[ "MIT" ]
1
2021-07-09T13:45:17.000Z
2021-07-09T13:45:17.000Z
bot/__main__.py
fedelebron/BeltBot
81e3f0fc1b027b84a7578f5f5be9c00a642e9472
[ "MIT" ]
3
2021-12-27T03:57:10.000Z
2022-03-14T20:27:21.000Z
bot/__main__.py
fedelebron/BeltBot
81e3f0fc1b027b84a7578f5f5be9c00a642e9472
[ "MIT" ]
4
2021-07-04T12:22:44.000Z
2022-03-16T14:51:36.000Z
import logging from bot.bot import BOT from bot.constants import TOKEN from bot.beltbot import * from bot.on_message_handlers import * logging.basicConfig(level=logging.INFO) BOT.run(TOKEN)
14
39
0.795918
30
196
5.133333
0.466667
0.181818
0
0
0
0
0
0
0
0
0
0
0.132653
196
13
40
15.076923
0.905882
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.714286
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
6babc166f9520060c250b75fbaf77fd379098b79
6,286
py
Python
conftest.py
kotfu/pyvb
0f380a15bc469938dec0e560192a267c2e4fe18d
[ "MIT" ]
null
null
null
conftest.py
kotfu/pyvb
0f380a15bc469938dec0e560192a267c2e4fe18d
[ "MIT" ]
null
null
null
conftest.py
kotfu/pyvb
0f380a15bc469938dec0e560192a267c2e4fe18d
[ "MIT" ]
null
null
null
# # -*- coding: utf-8 -*- import pytest import pyvb @pytest.fixture def prog(mocker, pythons): """An instance of the Pyvb class, mocked to always return a known list of pythons""" all_mock = mocker.patch("pyvb.Pyvb._get_all_pythons") all_mock.return_value = pythons return pyvb.Pyvb() @pytest.fixtur...
15.146988
88
0.608813
1,592
6,286
2.400126
0.056533
0.020414
0.027218
0.020937
0.154933
0.020937
0.004187
0.004187
0
0
0
0.272112
0.2014
6,286
414
89
15.183575
0.489044
0.026726
0
0.004938
0
0
0.962987
0.014903
0
0
0
0
0
1
0.004938
false
0
0.004938
0
0.014815
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6bcd432a22b2e60bcd666ef2a1c31422fcec84d6
384
py
Python
proot.py
wcss2010/imageMaker
475bb4abffb28945a84a64958736b8ff00509ad8
[ "MIT" ]
null
null
null
proot.py
wcss2010/imageMaker
475bb4abffb28945a84a64958736b8ff00509ad8
[ "MIT" ]
null
null
null
proot.py
wcss2010/imageMaker
475bb4abffb28945a84a64958736b8ff00509ad8
[ "MIT" ]
null
null
null
#-*- coding:utf-8 -*- # # Python启动入口 # import sys from PyQt5.QtWidgets import QApplication from uiUtil.globaltool import * from uiUtil.envs import * from programs import * #***************下面这段是启动代码,绝对不能删除!!!也不建议修改*************** if __name__ == '__main__': #创建目录以及载入配置(不建议修改!!) cfenv.initEnvData() #调用Progr...
21.333333
56
0.653646
40
384
6.075
0.7
0.082305
0
0
0
0
0
0
0
0
0
0.006042
0.138021
384
17
57
22.588235
0.728097
0.388021
0
0
0
0
0.035088
0
0
0
0
0
0
1
0
true
0
0.625
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d413046f083abbc50bb1c7ec6d65261ebbdfba9e
1,222
py
Python
core/src/zeit/content/image/tests/test_interfaces.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
5
2019-05-16T09:51:29.000Z
2021-05-31T09:30:03.000Z
core/src/zeit/content/image/tests/test_interfaces.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
107
2019-05-24T12:19:02.000Z
2022-03-23T15:05:56.000Z
core/src/zeit/content/image/tests/test_interfaces.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
3
2015-07-28T11:11:56.000Z
2016-11-15T13:23:57.000Z
import unittest class TestUniqueViewportAndMasterImageConstraint(unittest.TestCase): def test_succeeds_for_empty_tuple(self): from ..interfaces import unique_viewport_and_master_image self.assertEqual(True, unique_viewport_and_master_image(())) def test_succeeds_for_unique_combinations(self)...
43.642857
79
0.727496
128
1,222
6.507813
0.289063
0.134454
0.163265
0.220888
0.611044
0.611044
0.569028
0.504202
0.40096
0.40096
0
0.004024
0.186579
1,222
27
80
45.259259
0.834004
0
0
0.285714
0
0
0.060556
0
0
0
0
0
0.190476
1
0.190476
false
0
0.333333
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
d42623a02bbc99d40a7ad5ce7d6133a5f0899443
87
py
Python
binary-op.py
theGreenJedi/deconstructing-tensor
033048f8239cfa090799f786250cd4ba151f1d88
[ "MIT" ]
null
null
null
binary-op.py
theGreenJedi/deconstructing-tensor
033048f8239cfa090799f786250cd4ba151f1d88
[ "MIT" ]
null
null
null
binary-op.py
theGreenJedi/deconstructing-tensor
033048f8239cfa090799f786250cd4ba151f1d88
[ "MIT" ]
null
null
null
class BinaryOperation(Operation): def __init__(self, a, b): super().__init__([a, b])
21.75
33
0.701149
12
87
4.416667
0.75
0.075472
0
0
0
0
0
0
0
0
0
0
0.114943
87
3
34
29
0.688312
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
d42fd6a83de4d98e0f1d8a555b783478d37b7e68
9,799
py
Python
boto3_type_annotations_with_docs/boto3_type_annotations/pricing/paginator.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
119
2018-12-01T18:20:57.000Z
2022-02-02T10:31:29.000Z
boto3_type_annotations_with_docs/boto3_type_annotations/pricing/paginator.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
15
2018-11-16T00:16:44.000Z
2021-11-13T03:44:18.000Z
boto3_type_annotations_with_docs/boto3_type_annotations/pricing/paginator.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
11
2019-05-06T05:26:51.000Z
2021-09-28T15:27:59.000Z
from typing import Dict from typing import List from botocore.paginate import Paginator class DescribeServices(Paginator): def paginate(self, ServiceCode: str = None, FormatVersion: str = None, PaginationConfig: Dict = None) -> Dict: """ Creates an iterator that will paginate through responses fro...
47.8
336
0.561486
1,011
9,799
5.425321
0.171118
0.015314
0.016044
0.017502
0.567548
0.526709
0.519781
0.505196
0.471832
0.471832
0
0.008403
0.344219
9,799
204
337
48.034314
0.84516
0.78559
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
d44e9adaf0bce72b85f9c4eacb56cce3d4e59be8
40
py
Python
pymortgage/__init__.py
csutherl/pymortgage
826995e9372b8a86629e7bfe0731345fef0f0f43
[ "Apache-2.0" ]
3
2015-05-12T14:54:52.000Z
2017-03-02T15:41:09.000Z
pymortgage/__init__.py
csutherl/pymortgage
826995e9372b8a86629e7bfe0731345fef0f0f43
[ "Apache-2.0" ]
2
2015-01-18T04:56:47.000Z
2015-01-20T01:34:10.000Z
pymortgage/__init__.py
csutherl/pymortgage
826995e9372b8a86629e7bfe0731345fef0f0f43
[ "Apache-2.0" ]
null
null
null
__author__ = 'coty' __version__ = '1.0'
13.333333
19
0.675
5
40
3.8
1
0
0
0
0
0
0
0
0
0
0
0.058824
0.15
40
2
20
20
0.5
0
0
0
0
0
0.175
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d45daf15f9ebdd649459218e3c457f862f4d5cb9
218
py
Python
deepdrive_api/methods.py
deepdrive/deepdrive-api
b84a45512d4c53bc626e025352e702c5fedc8e8e
[ "MIT" ]
1
2019-04-24T02:08:19.000Z
2019-04-24T02:08:19.000Z
deepdrive_api/methods.py
deepdrive/deepdrive-api
b84a45512d4c53bc626e025352e702c5fedc8e8e
[ "MIT" ]
null
null
null
deepdrive_api/methods.py
deepdrive/deepdrive-api
b84a45512d4c53bc626e025352e702c5fedc8e8e
[ "MIT" ]
null
null
null
STEP = 'step' RESET = 'reset' START = 'start' CLOSE = 'close' ACTION_SPACE = 'action_space' OBSERVATION_SPACE = 'observation_space' REWARD_RANGE = 'reward_range' METADATA = 'metadata' CHANGE_CAMERAS = 'change_cameras'
21.8
39
0.752294
26
218
6
0.461538
0.141026
0.269231
0
0
0
0
0
0
0
0
0
0.123853
218
9
40
24.222222
0.816754
0
0
0
0
0
0.376147
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
00fa988fe86c196eff66e74c7d24dcef4cc17fc0
29
py
Python
RedBlackTree/RBTree_py/color.py
joy20182018/data_structure_java
814c16ff8ecf0d92b89cf3b240244bed376f78ee
[ "MIT" ]
1
2019-12-16T07:09:16.000Z
2019-12-16T07:09:16.000Z
RedBlackTree/RBTree_py/color.py
joy20182018/data_structure_java
814c16ff8ecf0d92b89cf3b240244bed376f78ee
[ "MIT" ]
null
null
null
RedBlackTree/RBTree_py/color.py
joy20182018/data_structure_java
814c16ff8ecf0d92b89cf3b240244bed376f78ee
[ "MIT" ]
null
null
null
RED = True BLACK = False
7.25
13
0.586207
4
29
4.25
1
0
0
0
0
0
0
0
0
0
0
0
0.344828
29
4
13
7.25
0.894737
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2e36d7f6d8f0a9a9570620c83de8e2ce064404c0
360
py
Python
experimentum/Experiments/__init__.py
PascalKleindienst/experimentum
5d547e0e8135d4d7ffe42b0c8a57e70a7ac2af4b
[ "Apache-2.0" ]
null
null
null
experimentum/Experiments/__init__.py
PascalKleindienst/experimentum
5d547e0e8135d4d7ffe42b0c8a57e70a7ac2af4b
[ "Apache-2.0" ]
3
2019-04-17T08:07:12.000Z
2019-04-28T15:24:18.000Z
experimentum/Experiments/__init__.py
PascalKleindienst/experimentum
5d547e0e8135d4d7ffe42b0c8a57e70a7ac2af4b
[ "Apache-2.0" ]
null
null
null
"""Provides the main entry point and some utilities for running experiments. Import :py:mod:`.App`, :py:mod:`Experiment` and :py:mod:`.Performance` so that they can be easly imported by other packages/modules. """ # flake8: noqa from .Performance import Performance from .Experiment import Experiment, Script from .Data...
32.727273
78
0.772222
52
360
5.346154
0.634615
0.053957
0
0
0
0
0
0
0
0
0
0.003205
0.133333
360
10
79
36
0.887821
0.613889
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
2e426cd276b93d25ec0461fc5773badcb7e96974
368
py
Python
thenewboston_node/business_logic/models/signed_request_message/base.py
AbhayAysola/thenewboston-node
8a24cfd814eed590a7a1066e45b8b4877501aa35
[ "MIT" ]
null
null
null
thenewboston_node/business_logic/models/signed_request_message/base.py
AbhayAysola/thenewboston-node
8a24cfd814eed590a7a1066e45b8b4877501aa35
[ "MIT" ]
null
null
null
thenewboston_node/business_logic/models/signed_request_message/base.py
AbhayAysola/thenewboston-node
8a24cfd814eed590a7a1066e45b8b4877501aa35
[ "MIT" ]
null
null
null
from dataclasses import dataclass from dataclasses_json import dataclass_json from thenewboston_node.core.utils.dataclass import fake_super_methods from ..mixins.message import MessageMixin from ..mixins.misc import HumanizedClassNameMixin @fake_super_methods @dataclass_json @dataclass class SignedRequestMessage(M...
23
69
0.858696
41
368
7.512195
0.487805
0.097403
0.103896
0
0
0
0
0
0
0
0
0
0.097826
368
15
70
24.533333
0.927711
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.1
0.5
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
2e68c4323bdd07c777a7ed9a10c09d4c71266487
1,204
py
Python
player/migrations/0005_auto_20200331_1804.py
kos33rd/ac-friends
d65dbbe48755d5f8c637640f611084b01f2f66b4
[ "MIT" ]
1
2020-05-06T14:03:38.000Z
2020-05-06T14:03:38.000Z
player/migrations/0005_auto_20200331_1804.py
kos33rd/ac-friends
d65dbbe48755d5f8c637640f611084b01f2f66b4
[ "MIT" ]
null
null
null
player/migrations/0005_auto_20200331_1804.py
kos33rd/ac-friends
d65dbbe48755d5f8c637640f611084b01f2f66b4
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2020-03-31 18:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('player', '0004_player_user_id'), ] operations = [ migrations.AddField( model_name='player', name='avatar_url', ...
27.363636
63
0.549834
116
1,204
5.568966
0.439655
0.167183
0.213622
0.250774
0.591331
0.501548
0.386997
0.386997
0.247678
0.247678
0
0.031095
0.332226
1,204
43
64
28
0.772388
0.037375
0
0.540541
1
0
0.107174
0
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2e6a0fcc4e6a64c685a684a6b7a9cc1d9694c19a
23
py
Python
quarry/__init__.py
fulldecent/analytics-quarry-web
7a75adbf07a09289969842fb8d188c4cc63729cc
[ "MIT" ]
38
2015-01-23T12:55:21.000Z
2022-03-15T02:07:54.000Z
quarry/__init__.py
fulldecent/analytics-quarry-web
7a75adbf07a09289969842fb8d188c4cc63729cc
[ "MIT" ]
3
2015-06-19T18:16:00.000Z
2022-03-13T17:33:34.000Z
quarry/__init__.py
fulldecent/analytics-quarry-web
7a75adbf07a09289969842fb8d188c4cc63729cc
[ "MIT" ]
15
2015-04-03T17:02:21.000Z
2022-03-13T17:33:09.000Z
__package__ = 'quarry'
11.5
22
0.73913
2
23
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.65
0
0
0
0
0
0.26087
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2e703df800c8b3f7eeb58d2ed789aa17f43125a9
387
py
Python
bot/trip/dto.py
Bloodielie/trip_counter
9eacd0739dfb6f234b5d6609a297570c2efbca14
[ "MIT" ]
null
null
null
bot/trip/dto.py
Bloodielie/trip_counter
9eacd0739dfb6f234b5d6609a297570c2efbca14
[ "MIT" ]
null
null
null
bot/trip/dto.py
Bloodielie/trip_counter
9eacd0739dfb6f234b5d6609a297570c2efbca14
[ "MIT" ]
null
null
null
import datetime from dataclasses import dataclass from decimal import Decimal from typing import List @dataclass class TripInfo: id: int distance: float cost: float date: datetime.datetime auto_identifier: str creator_name: str passengers: List[str] @dataclass class AutoParams: id: i...
16.125
33
0.72093
46
387
6.021739
0.565217
0.101083
0
0
0
0
0
0
0
0
0
0
0.232558
387
23
34
16.826087
0.93266
0
0
0.210526
0
0
0
0
0
0
0
0
0
1
0
true
0.052632
0.210526
0
0.894737
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
2e857a2cd88c82d0ba33f1977a521821713419b1
84
py
Python
app/common/__init__.py
MrPeker/acikkaynak-service
21c3f2faaa84342d2fa95709293bc84d1e2a23ae
[ "Apache-2.0" ]
5
2021-02-28T22:29:13.000Z
2021-11-29T00:24:28.000Z
app/common/__init__.py
MrPeker/acikkaynak-service
21c3f2faaa84342d2fa95709293bc84d1e2a23ae
[ "Apache-2.0" ]
null
null
null
app/common/__init__.py
MrPeker/acikkaynak-service
21c3f2faaa84342d2fa95709293bc84d1e2a23ae
[ "Apache-2.0" ]
3
2021-03-03T19:56:30.000Z
2021-03-06T22:10:35.000Z
# pylint:disable=invalid-name default_app_config = "app.common.config.CommonConfig"
28
53
0.821429
11
84
6.090909
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.059524
84
2
54
42
0.848101
0.321429
0
0
0
0
0.545455
0.545455
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cf02553700200754d3dd0ee6edb325e990115dd2
145
py
Python
Tutorial_2/_not_supported/dic.py
ryos36/polyphony-tutorial
8937f2b8e8136c3b5d55b2a6be6e8b6ab35b04e7
[ "MIT" ]
4
2018-05-04T01:08:49.000Z
2021-01-21T07:09:00.000Z
Tutorial_2/_not_supported/dic.py
ryos36/polyphony-tutorial
8937f2b8e8136c3b5d55b2a6be6e8b6ab35b04e7
[ "MIT" ]
null
null
null
Tutorial_2/_not_supported/dic.py
ryos36/polyphony-tutorial
8937f2b8e8136c3b5d55b2a6be6e8b6ab35b04e7
[ "MIT" ]
1
2020-06-02T08:41:54.000Z
2020-06-02T08:41:54.000Z
from polyphony import testbench dic = { 1:1, 2:4, 3:9 } def f0(x): return dic[x] @testbench def test(): a = f0(3) print(a) test()
11.153846
31
0.572414
26
145
3.192308
0.653846
0
0
0
0
0
0
0
0
0
0
0.084112
0.262069
145
12
32
12.083333
0.691589
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.444444
0.111111
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
cf3a40fbccbfbcb1617dd82335d2f4fb12a7a335
410
py
Python
exe26.py
henrique-alvaro/EXERCICIOS
dd2509a682009ee4a01f0ca346d960ab09cc284b
[ "MIT" ]
null
null
null
exe26.py
henrique-alvaro/EXERCICIOS
dd2509a682009ee4a01f0ca346d960ab09cc284b
[ "MIT" ]
null
null
null
exe26.py
henrique-alvaro/EXERCICIOS
dd2509a682009ee4a01f0ca346d960ab09cc284b
[ "MIT" ]
null
null
null
# pedindo um frase frase = str(input('Digite um frase: ')).strip().upper() # analisando quantas letras tem A tem na frase print(f'A letra A aparece {frase.count("A")} vezes na frase') # analisando onde aparece a 1° letra A print(f'A 1° letra A aparece na {frase.find("A")+1}° posiçao') # analisando em qual posiçao a ult...
41
68
0.707317
77
410
3.818182
0.376623
0.102041
0.176871
0.054422
0.268707
0
0
0
0
0
0
0.011527
0.153659
410
9
69
45.555556
0.824207
0.365854
0
0
0
0
0.700787
0.082677
0
0
0
0
0
1
0
false
0
0
0
0
0.75
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
cf5a318432d12a4273971f34c934044c1c2ae7c8
654
py
Python
app/back/mongo/data/collect/countries/mongo.py
jgphilpott/polyplot
c46861174ee5881dadffbfb2278d555462523547
[ "MIT" ]
5
2021-05-17T14:17:14.000Z
2021-12-14T12:54:32.000Z
app/back/mongo/data/collect/countries/mongo.py
jgphilpott/iGraph
2a91ba57e4950856a83d3a109753f8f2badee829
[ "MIT" ]
8
2020-02-09T02:48:41.000Z
2021-05-16T04:57:02.000Z
app/back/mongo/data/collect/countries/mongo.py
jgphilpott/iGraph
2a91ba57e4950856a83d3a109753f8f2badee829
[ "MIT" ]
2
2016-09-12T03:48:16.000Z
2019-05-04T14:15:19.000Z
from back.mongo.data.collect.ions import find_collection from back.mongo.data.collect.countries.model import Country collection = find_collection("countries") def find_country(query={}, filter={"_id": 0}): return dict(collection.find_one(query, filter)) def find_countries(query={}, filter={"_id": 0}, sort=[("na...
26.16
78
0.718654
86
654
5.313953
0.372093
0.09628
0.056893
0.074398
0.105033
0
0
0
0
0
0
0.006993
0.125382
654
24
79
27.25
0.791958
0
0
0
0
0
0.047401
0
0
0
0
0
0
1
0.307692
false
0
0.153846
0.153846
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cf6649691a9320c1ebe31dc75d0f519eea264b8f
10,963
py
Python
renamerename/tests/test_executor.py
mhmdkanj/RenameRename
d439adae34c2a963a883e060bbbbba6e4bc61d92
[ "MIT" ]
null
null
null
renamerename/tests/test_executor.py
mhmdkanj/RenameRename
d439adae34c2a963a883e060bbbbba6e4bc61d92
[ "MIT" ]
28
2022-01-24T14:30:29.000Z
2022-02-16T22:40:41.000Z
renamerename/tests/test_executor.py
mhmdkanj/RenameRename
d439adae34c2a963a883e060bbbbba6e4bc61d92
[ "MIT" ]
null
null
null
import pytest from pathlib import Path from pytest_mock import mocker from renamerename.executor.executor import RenameExecutor, DuplicateFilenamesError from renamerename.handlers.filetransformation import FileTransformation class RenameMock: def __init__(self): self.dirfiles = set(['aaa', 'bbb', 'ccc.py'...
45.489627
127
0.671988
1,179
10,963
5.963528
0.102629
0.073674
0.019343
0.01721
0.789504
0.744702
0.712701
0.665481
0.637178
0.618973
0
0.003044
0.220834
10,963
240
128
45.679167
0.820066
0.030101
0
0.648515
0
0
0.15
0.041337
0
0
0
0.004167
0.118812
1
0.09901
false
0
0.044554
0.024752
0.178218
0.009901
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cf6735a529c07aed6a0c3a9fcb9303718b29161f
232
py
Python
engine/core/DockerContainerEntity.py
owlvey/archon
99811d830a709756c7a62e9d75a38e2b87549b7b
[ "Apache-2.0" ]
1
2021-04-15T21:55:08.000Z
2021-04-15T21:55:08.000Z
engine/core/DockerContainerEntity.py
owlvey/archon
99811d830a709756c7a62e9d75a38e2b87549b7b
[ "Apache-2.0" ]
null
null
null
engine/core/DockerContainerEntity.py
owlvey/archon
99811d830a709756c7a62e9d75a38e2b87549b7b
[ "Apache-2.0" ]
null
null
null
class DockerContainerEntity: def __init__(self): self.image = None self.environment = dict() def set_environments(self, state: dict): for k, v in state.items(): self.environment[k] = v
21.090909
44
0.599138
27
232
4.962963
0.62963
0.223881
0
0
0
0
0
0
0
0
0
0
0.297414
232
10
45
23.2
0.822086
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.428571
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
cf780987e19f5cacc7da28af39fca87b3fe43efd
210
py
Python
CONTENT/Resources/guides/__UNSORTED/205.py
impastasyndrome/DS-ALGO-OFFICIAL
c85ec9cf0af0009f038b7a571a7ac1fb466b7f3a
[ "Apache-2.0" ]
13
2021-03-11T00:25:22.000Z
2022-03-19T00:19:23.000Z
CONTENT/Resources/guides/__UNSORTED/205.py
impastasyndrome/DS-ALGO-OFFICIAL
c85ec9cf0af0009f038b7a571a7ac1fb466b7f3a
[ "Apache-2.0" ]
162
2021-03-09T01:52:11.000Z
2022-03-12T01:09:07.000Z
CONTENT/Resources/guides/__UNSORTED/205.py
impastasyndrome/DS-ALGO-OFFICIAL
c85ec9cf0af0009f038b7a571a7ac1fb466b7f3a
[ "Apache-2.0" ]
12
2021-04-26T19:43:01.000Z
2022-01-31T08:36:29.000Z
class Solution: def isIsomorphic(self, s: str, t: str) -> bool: def convert(ss): d = {} return [d.setdefault(c, len(d)) for c in ss] return convert(s) == convert(t)
26.25
56
0.519048
29
210
3.758621
0.62069
0
0
0
0
0
0
0
0
0
0
0
0.338095
210
7
57
30
0.784173
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
d8430ad92dcac0e477f8a3ddbe6ab05a6b0a55e3
135
py
Python
app/lib/quadexe.py
JesterOrNot/pymath
5c93ee4bb754d2e90d222c2b43357f88b7bd0623
[ "MIT" ]
null
null
null
app/lib/quadexe.py
JesterOrNot/pymath
5c93ee4bb754d2e90d222c2b43357f88b7bd0623
[ "MIT" ]
25
2019-10-19T18:03:00.000Z
2021-06-25T15:27:51.000Z
app/lib/quadexe.py
JesterOrNot/pymath
5c93ee4bb754d2e90d222c2b43357f88b7bd0623
[ "MIT" ]
null
null
null
import pymath a = float(input()) b = float(input()) c = float(input()) print("The awnser is: {}".format(pymath.algebra.quad(a, b, c)))
22.5
63
0.644444
22
135
3.954545
0.636364
0.344828
0
0
0
0
0
0
0
0
0
0
0.125926
135
5
64
27
0.737288
0
0
0
0
0
0.125926
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d879238ebe9f5ceec77aaba1307d1ff160eda507
899
py
Python
bobstack/sipentity/sipEntityExceptions.py
bobjects/BobStack
c177b286075044832f44baf9ace201780c8b4320
[ "Apache-2.0" ]
null
null
null
bobstack/sipentity/sipEntityExceptions.py
bobjects/BobStack
c177b286075044832f44baf9ace201780c8b4320
[ "Apache-2.0" ]
null
null
null
bobstack/sipentity/sipEntityExceptions.py
bobjects/BobStack
c177b286075044832f44baf9ace201780c8b4320
[ "Apache-2.0" ]
null
null
null
class DropMessageSIPEntityException(Exception): def __init__(self, description_string='SIP Entity Exception - dropping message'): self.description = description_string def __str__(self): return self.description class DropMessageAndDropConnectionSIPEntityException(Exception): def __init__...
34.576923
141
0.757508
92
899
6.967391
0.315217
0.187207
0.074883
0.093604
0.528861
0.528861
0.528861
0.528861
0.528861
0.528861
0
0.004043
0.174638
899
25
142
35.96
0.859838
0
0
0.529412
0
0
0.153675
0
0
0
0
0
0
1
0.352941
false
0
0
0.176471
0.705882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d89e11d2e9286dd8e787abcd6413a2b8fe32998e
119
py
Python
appengine_flask_security_auth/core/tests/test_views.py
rahulkmr/appengine_flask_security_auth
decc3cb2b9afdbf2010fccaff7157f4478225bb2
[ "MIT" ]
null
null
null
appengine_flask_security_auth/core/tests/test_views.py
rahulkmr/appengine_flask_security_auth
decc3cb2b9afdbf2010fccaff7157f4478225bb2
[ "MIT" ]
null
null
null
appengine_flask_security_auth/core/tests/test_views.py
rahulkmr/appengine_flask_security_auth
decc3cb2b9afdbf2010fccaff7157f4478225bb2
[ "MIT" ]
null
null
null
def test_index_page(client): result = client.get('/') assert b'appengine_flask_security_auth' in result.data
19.833333
58
0.731092
17
119
4.823529
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.159664
119
5
59
23.8
0.82
0
0
0
0
0
0.25641
0.247863
0
0
0
0
0.333333
1
0.333333
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
2b0f7407dcf884336ce4c99e91e7b5e2efc5ea91
595
py
Python
actions/__init__.py
matteobarbieri/libtcod-tutorial
2be59978483d1c754b736a0fe96c9554e9ba8547
[ "MIT" ]
1
2019-03-09T14:20:51.000Z
2019-03-09T14:20:51.000Z
actions/__init__.py
matteobarbieri/libtcod-tutorial
2be59978483d1c754b736a0fe96c9554e9ba8547
[ "MIT" ]
null
null
null
actions/__init__.py
matteobarbieri/libtcod-tutorial
2be59978483d1c754b736a0fe96c9554e9ba8547
[ "MIT" ]
null
null
null
from .move import MoveAction # noqa from .inspect import InspectAction # noqa from .menus import ( # noqa ShowMenuAction, ShowInventoryAction, SelectInventoryItemAction, BackToGameAction, BackToInventoryMenuAction, ShowCharacterScreenAction) from .action import NoopAction, WaitAction # noqa from .t...
37.1875
61
0.779832
51
595
9.078431
0.588235
0.103672
0
0
0
0
0
0
0
0
0
0
0.169748
595
15
62
39.666667
0.937247
0.065546
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
2b2b44fd886a7717ef4ec47bc6a440bc18bc8911
264
py
Python
fauxgrad/__init__.py
ksanjeevan/fauxgrad
a679f6cb2ffdef8bd54a3b748f7892ef05255c73
[ "MIT" ]
5
2021-11-15T06:57:37.000Z
2022-03-24T19:36:58.000Z
fauxgrad/__init__.py
ksanjeevan/fauxgrad
a679f6cb2ffdef8bd54a3b748f7892ef05255c73
[ "MIT" ]
1
2022-03-23T19:01:44.000Z
2022-03-23T19:01:44.000Z
fauxgrad/__init__.py
ksanjeevan/fauxgrad
a679f6cb2ffdef8bd54a3b748f7892ef05255c73
[ "MIT" ]
1
2022-03-13T20:30:32.000Z
2022-03-13T20:30:32.000Z
from .value import Value from .nn import Linear def cross_entropy(pred, target): # this is a bit ugly, as it's at the expense of not implementing __sub__, etc. ret = [-p.log() if t == 1 else -(-p+1).log() for p, t in zip(pred, target)] return sum(ret)
37.714286
82
0.659091
49
264
3.44898
0.77551
0.118343
0
0
0
0
0
0
0
0
0
0.009615
0.212121
264
7
83
37.714286
0.802885
0.287879
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
2b3d8203b72c8d9b6b0ccd9b959e02746f7fd2bd
1,835
py
Python
IRIS_data_download/IRIS_download_support/obspy/io/cmtsolution/__init__.py
earthinversion/Fnet_IRIS_data_automated_download
09a6e0c992662feac95744935e038d1c68539fa1
[ "MIT" ]
2
2020-03-05T01:03:01.000Z
2020-12-17T05:04:07.000Z
IRIS_data_download/IRIS_download_support/obspy/io/cmtsolution/__init__.py
earthinversion/Fnet_IRIS_data_automated_download
09a6e0c992662feac95744935e038d1c68539fa1
[ "MIT" ]
4
2021-03-31T19:25:55.000Z
2021-12-13T20:32:46.000Z
IRIS_data_download/IRIS_download_support/obspy/io/cmtsolution/__init__.py
earthinversion/Fnet_IRIS_data_automated_download
09a6e0c992662feac95744935e038d1c68539fa1
[ "MIT" ]
2
2020-09-08T19:33:40.000Z
2021-04-05T09:47:50.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ obspy.io.cmtsolution - CMTSOLUTION file format support for ObsPy ================================================================ This module provides read/write support for the CMTSOLUTION files used by many waveform solvers. :copyright: The ObsPy Development Tea...
32.192982
77
0.619619
210
1,835
5.271429
0.571429
0.072267
0.079494
0.03252
0.119241
0.066847
0.066847
0.066847
0.066847
0.066847
0
0.053229
0.232153
1,835
56
78
32.767857
0.732434
0.867575
0
0
0
0
0.034483
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
2b5fdfa981aba05f835de924d29c4e07b4a9c8c6
1,877
py
Python
src/qilib/utils/memory_storage_queue.py
QuTech-Delft/qilib
a87892f8a9977ed338c36e8fb1e262b47449cf44
[ "MIT" ]
1
2019-02-20T16:56:30.000Z
2019-02-20T16:56:30.000Z
src/qilib/utils/memory_storage_queue.py
QuTech-Delft/qilib
a87892f8a9977ed338c36e8fb1e262b47449cf44
[ "MIT" ]
22
2019-02-16T06:10:55.000Z
2022-02-15T18:52:34.000Z
src/qilib/utils/memory_storage_queue.py
QuTech-Delft/qilib
a87892f8a9977ed338c36e8fb1e262b47449cf44
[ "MIT" ]
2
2020-02-04T08:46:21.000Z
2020-10-18T16:31:58.000Z
"""Quantum Inspire library Copyright 2019 QuTech Delft qilib is available under the [MIT open-source license](https://opensource.org/licenses/MIT): Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Softwar...
49.394737
118
0.775173
282
1,877
5.099291
0.507092
0.061196
0.022949
0.054242
0.091794
0
0
0
0
0
0
0.00253
0.157698
1,877
37
119
50.72973
0.907021
0.674481
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.363636
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
2b64c2063e58976e1d2248e5674aa818d169e4b4
152
py
Python
banmessage/__init__.py
fossabot/JackCogs
b9651a87e8a1fe29e4d672a03a42b6b3f37bb852
[ "MIT" ]
null
null
null
banmessage/__init__.py
fossabot/JackCogs
b9651a87e8a1fe29e4d672a03a42b6b3f37bb852
[ "MIT" ]
null
null
null
banmessage/__init__.py
fossabot/JackCogs
b9651a87e8a1fe29e4d672a03a42b6b3f37bb852
[ "MIT" ]
null
null
null
from redbot.core.bot import Red from .banmessage import BanMessage async def setup(bot: Red) -> None: cog = BanMessage(bot) bot.add_cog(cog)
16.888889
34
0.710526
23
152
4.652174
0.565217
0
0
0
0
0
0
0
0
0
0
0
0.190789
152
8
35
19
0.869919
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2b6a912116cb8d6092a8929a5a86021b3beb45a2
1,611
py
Python
KDC-Simulator/node.py
pabloriutort/Aula
9c560fb76e94bf846120ec202c6e14e651a53844
[ "MIT" ]
null
null
null
KDC-Simulator/node.py
pabloriutort/Aula
9c560fb76e94bf846120ec202c6e14e651a53844
[ "MIT" ]
1
2015-07-12T00:17:08.000Z
2017-06-03T16:17:35.000Z
KDC-Simulator/node.py
pabloriutort/Aula
9c560fb76e94bf846120ec202c6e14e651a53844
[ "MIT" ]
null
null
null
from aes import * class Node(object): """ A node is just an identifier and a hash key""" def __init__(self, node_id): self.__id = node_id self.__key = create_key() # shared with KDC self.__key_dict = {} self.__messages = {} # below some general functions to interact with...
25.571429
78
0.604593
210
1,611
4.385714
0.314286
0.071661
0.043431
0.032573
0.049946
0
0
0
0
0
0
0.003527
0.296089
1,611
62
79
25.983871
0.808642
0.237741
0
0
0
0.032258
0.046007
0
0
0
0
0
0
1
0.290323
false
0
0.032258
0.129032
0.516129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2b6cb3e2577eb8600e248077f404bfd383fdf608
142
py
Python
ringlight.py
co2e14/lasershaping_ringlight
6a460417cd6034effa0242d6fe528f9abd8b8640
[ "MIT" ]
null
null
null
ringlight.py
co2e14/lasershaping_ringlight
6a460417cd6034effa0242d6fe528f9abd8b8640
[ "MIT" ]
null
null
null
ringlight.py
co2e14/lasershaping_ringlight
6a460417cd6034effa0242d6fe528f9abd8b8640
[ "MIT" ]
null
null
null
import serial ser = serial.Serial("COM4", 9600) while True: input_value = input('Enter 1-4: ') ser.write(input_value.encode())
20.285714
39
0.647887
20
142
4.5
0.7
0.222222
0
0
0
0
0
0
0
0
0
0.061947
0.204225
142
7
40
20.285714
0.734513
0
0
0
0
0
0.109489
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2b71473596825286a1a4917cf0b9b1b042af9a87
211
py
Python
fighters.py
OneCleverDude/starshiptrainer
36a87499d1280a2efc71a0b96999aa96f946adf7
[ "MIT" ]
null
null
null
fighters.py
OneCleverDude/starshiptrainer
36a87499d1280a2efc71a0b96999aa96f946adf7
[ "MIT" ]
null
null
null
fighters.py
OneCleverDude/starshiptrainer
36a87499d1280a2efc71a0b96999aa96f946adf7
[ "MIT" ]
1
2021-07-30T21:25:24.000Z
2021-07-30T21:25:24.000Z
import string def launch(starship): if starship.fighters == "docked": print("Launching fighters!") starship.fighters = "launched" else: print("No fighters are docked Commander.")
26.375
50
0.64455
22
211
6.181818
0.681818
0.235294
0
0
0
0
0
0
0
0
0
0
0.241706
211
8
50
26.375
0.85
0
0
0
0
0
0.311321
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0.285714
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
991f8744c5466cf5a7dbd6249e7a98ba360b155b
259,649
py
Python
pysnmp-with-texts/HP-ICF.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/HP-ICF.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/HP-ICF.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 HP-ICF (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HP-ICF # Produced by pysmi-0.3.4 at Wed May 1 13:33:17 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) ...
178.085734
9,588
0.784305
35,256
259,649
5.776038
0.064386
0.051974
0.090955
0.010686
0.525604
0.419171
0.381158
0.342133
0.320197
0.302902
0
0.058201
0.114135
259,649
1,457
9,589
178.207962
0.827137
0.001179
0
0
0
0.226298
0.457179
0.020645
0
0
0.000324
0
0.00346
1
0
false
0.007612
0.004844
0
0.013149
0.000692
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
992eaab695985fef30774c8e3beb3aa57234554d
598
py
Python
5_Functions/C_scope.py
Oscar-Oliveira/Python3
fa791225a6810b75890d24407b73c5e1b514acbe
[ "MIT" ]
null
null
null
5_Functions/C_scope.py
Oscar-Oliveira/Python3
fa791225a6810b75890d24407b73c5e1b514acbe
[ "MIT" ]
null
null
null
5_Functions/C_scope.py
Oscar-Oliveira/Python3
fa791225a6810b75890d24407b73c5e1b514acbe
[ "MIT" ]
null
null
null
""" Scope """ value = "Global Scope" def write_v1(): value = "Inner Scope" print(value) def write_v2(value): # 1) by Value, 2) Overloading is not allowed print("Param. Value: " + value) Value = "Inner Scope" print(Value) def write_v3(): global value print("Value: " + val...
13.590909
66
0.558528
74
598
4.432432
0.256757
0.243902
0.137195
0.182927
0.347561
0.347561
0.347561
0.231707
0
0
0
0.023697
0.294314
598
43
67
13.906977
0.753555
0.08194
0
0.37931
0
0
0.136546
0
0
0
0
0
0
1
0.172414
false
0
0
0
0.172414
0.482759
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
993659fbd21a80f5e106a2c86647c833a120c641
120
py
Python
workflows/tests/test_api.py
royarzun/django-workflow-tasks
272a4eff674e9bcb58f021d2a1908a257e208249
[ "MIT" ]
null
null
null
workflows/tests/test_api.py
royarzun/django-workflow-tasks
272a4eff674e9bcb58f021d2a1908a257e208249
[ "MIT" ]
null
null
null
workflows/tests/test_api.py
royarzun/django-workflow-tasks
272a4eff674e9bcb58f021d2a1908a257e208249
[ "MIT" ]
null
null
null
from django.test import TestCase class ApiTestCase(TestCase): def test_bla(self): self.assertEqual(1, 1)
15
32
0.7
16
120
5.1875
0.75
0
0
0
0
0
0
0
0
0
0
0.021053
0.208333
120
7
33
17.142857
0.852632
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
99391767b8b3fdf85b5a06bd0d6665c6f3ed71d4
249
py
Python
main.py
sammffl/pythonPractice
aab8e8e3524a53c8f82838af2a2bd96d6ea7a3a5
[ "MIT" ]
2
2016-06-01T05:51:46.000Z
2017-06-11T12:21:26.000Z
main.py
sammffl/pythonPractice
aab8e8e3524a53c8f82838af2a2bd96d6ea7a3a5
[ "MIT" ]
null
null
null
main.py
sammffl/pythonPractice
aab8e8e3524a53c8f82838af2a2bd96d6ea7a3a5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from base.input_output import * def inp_outp(): """ 输入输出:base.input_output :return:NONE """ output_print("hello world") str = input_print() print str if __name__ == '__main__': inp_outp()
13.833333
31
0.590361
31
249
4.290323
0.677419
0.135338
0.225564
0
0
0
0
0
0
0
0
0.005405
0.257028
249
17
32
14.647059
0.713514
0.084337
0
0
0
0
0.111111
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.428571
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
1
0
3
99462ec1df7d075a96555facf97316c22c6903c5
855
py
Python
yxtx/myApp/migrations/0023_qualifiedteacher.py
wjh112233/yxtx
f118c2b9983ca48b099f2c328487e23f5430303f
[ "Apache-2.0" ]
null
null
null
yxtx/myApp/migrations/0023_qualifiedteacher.py
wjh112233/yxtx
f118c2b9983ca48b099f2c328487e23f5430303f
[ "Apache-2.0" ]
null
null
null
yxtx/myApp/migrations/0023_qualifiedteacher.py
wjh112233/yxtx
f118c2b9983ca48b099f2c328487e23f5430303f
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.2 on 2020-03-28 08:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myApp', '0022_order'), ] operations = [ migrations.CreateModel( name='QualifiedTeacher', fields=[ ('...
32.884615
114
0.583626
81
855
6.049383
0.654321
0.153061
0.183673
0.244898
0.106122
0
0
0
0
0
0
0.04878
0.280702
855
25
115
34.2
0.747967
0.052632
0
0
1
0
0.132426
0.02599
0
0
0
0
0
1
0
false
0
0.052632
0
0.210526
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
996f121c6f39e1319d33dc8e70e6372e31adaced
232
py
Python
test_math_fabs.py
Karroda/voc
f7992816b357fa750a5ae95096ba98143d5da20a
[ "BSD-3-Clause" ]
null
null
null
test_math_fabs.py
Karroda/voc
f7992816b357fa750a5ae95096ba98143d5da20a
[ "BSD-3-Clause" ]
null
null
null
test_math_fabs.py
Karroda/voc
f7992816b357fa750a5ae95096ba98143d5da20a
[ "BSD-3-Clause" ]
null
null
null
import math x1 = 0.0 x2 = 0.9 x3 = -1.1 x4 = -1 x5 = 10 x6 = 0 x7 = "incorrect input" print(math.fabs(x1)) print(math.fabs(x2)) print(math.fabs(x3)) print(math.fabs(x4)) print(math.fabs(x5)) print(math.fabs(x6)) print(math.fabs(x7))
15.466667
22
0.659483
48
232
3.1875
0.354167
0.411765
0.594771
0
0
0
0
0
0
0
0
0.118812
0.12931
232
15
23
15.466667
0.638614
0
0
0
0
0
0.064378
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.466667
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
9997e91f999b90151d3af090ba9f98238a8b894f
2,363
py
Python
isanet/metrics.py
alessandrocuda/ISANet
e33a5a408554c900a7d282baa500bd8023a2cd2f
[ "MIT" ]
4
2020-02-12T21:18:41.000Z
2022-02-14T14:52:33.000Z
isanet/metrics.py
alessandrocuda/ISANet
e33a5a408554c900a7d282baa500bd8023a2cd2f
[ "MIT" ]
null
null
null
isanet/metrics.py
alessandrocuda/ISANet
e33a5a408554c900a7d282baa500bd8023a2cd2f
[ "MIT" ]
4
2020-03-17T09:06:57.000Z
2021-01-26T14:37:36.000Z
"""Metrics Module. """ import numpy as np from isanet.optimizer.utils import l_norm def mse_reg(y_true, y_pred, model, weights): """MSE + L2 regularization Parameters ---------- y_true : array-like of shape (n_samples,) or (n_samples, n_outputs) Ground truth (correct) target values. ...
27.16092
71
0.625476
336
2,363
4.241071
0.241071
0.089825
0.061754
0.089825
0.734035
0.675088
0.675088
0.675088
0.675088
0.675088
0
0.009081
0.254338
2,363
87
72
27.16092
0.799659
0.675413
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.153846
0
0.769231
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
999b5345ab628469a6e621590f3dcffda70c80f5
127
py
Python
AlgoMethod/full_search/string_full_search/04.py
Nishi05/Competitive-programming
e59a6755b706d9d5c1f359f4511d92c114e6a94e
[ "MIT" ]
null
null
null
AlgoMethod/full_search/string_full_search/04.py
Nishi05/Competitive-programming
e59a6755b706d9d5c1f359f4511d92c114e6a94e
[ "MIT" ]
null
null
null
AlgoMethod/full_search/string_full_search/04.py
Nishi05/Competitive-programming
e59a6755b706d9d5c1f359f4511d92c114e6a94e
[ "MIT" ]
null
null
null
n = int(input()) s = str(input()) t = str(input()) cnt = 0 for i in range(n): if s[i] != t[i]: cnt += 1 print(cnt)
14.111111
20
0.480315
25
127
2.44
0.6
0.262295
0
0
0
0
0
0
0
0
0
0.021978
0.283465
127
8
21
15.875
0.648352
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
999eae7d0ced99fb4ab339db0b04b3e767158619
83
py
Python
server/config.py
antocuni/ristomele
1f335e5b499558e86eacb6100ed70fb6f750009c
[ "MIT" ]
null
null
null
server/config.py
antocuni/ristomele
1f335e5b499558e86eacb6100ed70fb6f750009c
[ "MIT" ]
null
null
null
server/config.py
antocuni/ristomele
1f335e5b499558e86eacb6100ed70fb6f750009c
[ "MIT" ]
null
null
null
import sys import py DEBUG = True ROOT = py.path.local(__file__).join('..', '..')
13.833333
47
0.638554
12
83
4.083333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.144578
83
5
48
16.6
0.690141
0
0
0
0
0
0.048193
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
99a3ca50d63407dc4a83d72da231237c35599756
119
py
Python
Programming basics/Lection 5 for loop/Exsercises/nums_to_1000.py
antonarnaudov/SoftUniProjects
01cbdce2b350b57240045d1bc3e21d34f9d0351d
[ "MIT" ]
null
null
null
Programming basics/Lection 5 for loop/Exsercises/nums_to_1000.py
antonarnaudov/SoftUniProjects
01cbdce2b350b57240045d1bc3e21d34f9d0351d
[ "MIT" ]
null
null
null
Programming basics/Lection 5 for loop/Exsercises/nums_to_1000.py
antonarnaudov/SoftUniProjects
01cbdce2b350b57240045d1bc3e21d34f9d0351d
[ "MIT" ]
null
null
null
for number in range(1, 1001): if number % 10 == 7: print(number) for i in range(7, 1000, 10): print(i)
19.833333
29
0.563025
21
119
3.190476
0.571429
0.208955
0
0
0
0
0
0
0
0
0
0.178571
0.294118
119
6
30
19.833333
0.619048
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
99a7db0a11630ae0eee2a252eeb98602f127347f
3,744
py
Python
queue.py
jdkaplan/QQ
18cdf5230e9faf77a256211ab6f56393462c2f4d
[ "MIT" ]
2
2021-07-31T21:34:38.000Z
2022-03-29T03:08:57.000Z
queue.py
jdkaplan/QQ
18cdf5230e9faf77a256211ab6f56393462c2f4d
[ "MIT" ]
null
null
null
queue.py
jdkaplan/QQ
18cdf5230e9faf77a256211ab6f56393462c2f4d
[ "MIT" ]
null
null
null
from collections import deque import datatypes import exceptions import pprint from command import Command class RQueue(Command): def __init__(self, size): self.q = deque([]) self.size = size def push(self, val): assert val is not None assert self.size >= len(self.q) i...
24
103
0.641026
486
3,744
4.890947
0.185185
0.058898
0.047118
0.057215
0.386622
0.268406
0.227598
0.210349
0.142196
0.142196
0
0.000357
0.251603
3,744
155
104
24.154839
0.847966
0.012821
0
0.376147
0
0
0.043313
0
0
0
0
0
0.018349
1
0.211009
false
0.174312
0.045872
0.027523
0.53211
0.009174
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
513f32b68936934f69f1151fc5c4f201b1c07b7e
2,044
py
Python
PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/sampler_objects.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/sampler_objects.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/sampler_objects.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
'''Autogenerated by get_gl_extensions script, do not edit!''' from OpenGL import platform as _p, constants as _cs, arrays from OpenGL.GL import glget import ctypes EXTENSION_NAME = 'GL_ARB_sampler_objects' def _f( function ): return _p.createFunction( function,_p.GL,'GL_ARB_sampler_objects',False) _p.unpack_constan...
35.859649
76
0.795988
283
2,044
5.484099
0.265018
0.018041
0.063144
0.092139
0.507732
0.507732
0.481314
0.481314
0.481314
0.404639
0
0.00265
0.07681
2,044
56
77
36.5
0.81982
0.057241
0
0.461538
1
0
0.036013
0.022965
0
0
0.003132
0
0
1
0.307692
false
0.269231
0.076923
0.019231
0.423077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
5145ae053cfd231ec37527004ed72004dbbdc946
2,144
py
Python
mediawikiapi/exceptions.py
srevinsaju/MediaWikiAPI
b65dfa3d6a1798ddaa8569c9dbab3b397f305431
[ "MIT" ]
null
null
null
mediawikiapi/exceptions.py
srevinsaju/MediaWikiAPI
b65dfa3d6a1798ddaa8569c9dbab3b397f305431
[ "MIT" ]
null
null
null
mediawikiapi/exceptions.py
srevinsaju/MediaWikiAPI
b65dfa3d6a1798ddaa8569c9dbab3b397f305431
[ "MIT" ]
null
null
null
""" Global wikipedia exception and warning classes. """ import sys ODD_ERROR_MESSAGE = "This shouldn't happen. Please report on GitHub: github.com/lehinevych/MediaWikiAPI" class MediaWikiAPIException(Exception): """Base Wikipedia exception class.""" def __init__(self, error): self.error = error def __u...
29.369863
156
0.702892
283
2,144
5.116608
0.385159
0.041436
0.037983
0.055249
0.209945
0.110497
0.042818
0.042818
0
0
0
0.005718
0.184235
2,144
72
157
29.777778
0.822184
0.159049
0
0.25641
0
0.051282
0.315819
0.035028
0
0
0
0
0
1
0.307692
false
0
0.025641
0.153846
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
514abbd125f547dffb8d94e394a4cec6d846d79d
4,846
py
Python
model_constructor/activations.py
ayasyrev/model_constructor
3759a02dd9f7aa1ca3e6a4a5aefe72380886207e
[ "Apache-2.0" ]
3
2020-08-02T09:18:27.000Z
2021-12-22T07:43:37.000Z
model_constructor/activations.py
ayasyrev/model_constructor
3759a02dd9f7aa1ca3e6a4a5aefe72380886207e
[ "Apache-2.0" ]
16
2020-11-09T11:35:13.000Z
2021-12-23T13:04:54.000Z
model_constructor/activations.py
ayasyrev/model_constructor
3759a02dd9f7aa1ca3e6a4a5aefe72380886207e
[ "Apache-2.0" ]
2
2020-04-08T20:56:48.000Z
2021-01-20T13:37:52.000Z
# forked from https://github.com/rwightman/pytorch-image-models/timm/models/layers/activations.py import torch from torch import nn as nn from torch.nn import functional as F from torch.nn import Mish __all__ = ['mish', 'Mish', 'mish_jit', 'MishJit', 'mish_jit_fwd', 'mish_jit_bwd', 'MishJitAutoFn', 'mish_me', 'MishMe...
31.467532
119
0.681593
682
4,846
4.674487
0.170088
0.039523
0.031054
0.037641
0.699184
0.692284
0.662798
0.55458
0.515684
0.515684
0
0.04835
0.193355
4,846
153
120
31.673203
0.767204
0.401775
0
0.479452
0
0
0.061773
0
0
0
0
0
0
1
0.287671
false
0
0.054795
0.109589
0.657534
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
514e387706df117062dfafbd57fdaaae75a8481f
262
py
Python
WeightController/weight/models.py
williamHuang5468/WeightController
146673d543ed7d6a20a642a7a9203aa55cf1a935
[ "MIT" ]
null
null
null
WeightController/weight/models.py
williamHuang5468/WeightController
146673d543ed7d6a20a642a7a9203aa55cf1a935
[ "MIT" ]
null
null
null
WeightController/weight/models.py
williamHuang5468/WeightController
146673d543ed7d6a20a642a7a9203aa55cf1a935
[ "MIT" ]
null
null
null
import datetime from django.db import models from django.utils import timezone class Weight(models.Model): weight = models.IntegerField(default='') record_date = models.DateTimeField('date record') def __str__(self): return str(self.weight)
20.153846
53
0.736641
33
262
5.69697
0.606061
0.106383
0
0
0
0
0
0
0
0
0
0
0.167939
262
12
54
21.833333
0.862385
0
0
0
0
0
0.041985
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
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
1
1
0
0
3
5aaa628945da0234eed3370d0eeaf371c78623a4
131
py
Python
contrib/python-copper/lib/copper/__init__.py
snaury/coper
452409fe642247c2d06ac8b589a20e23455d9c47
[ "MIT" ]
5
2015-08-11T14:01:40.000Z
2020-07-19T15:36:09.000Z
contrib/python-copper/lib/copper/__init__.py
snaury/coper
452409fe642247c2d06ac8b589a20e23455d9c47
[ "MIT" ]
5
2015-10-23T21:10:29.000Z
2016-04-05T22:01:02.000Z
contrib/python-copper/lib/copper/__init__.py
snaury/copper
452409fe642247c2d06ac8b589a20e23455d9c47
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .client import Client from .errors import CopperError __all__ = [ 'Client', 'CopperError', ]
14.555556
31
0.633588
14
131
5.642857
0.642857
0
0
0
0
0
0
0
0
0
0
0.009709
0.21374
131
8
32
16.375
0.757282
0.160305
0
0
0
0
0.157407
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5ab3ca8f033f286850afb4ded5a9f44a261cf123
935
py
Python
pro/pagination.py
AthenaExplorer/xm_s_explorer
b8ccd57e7bd493f46c493a967ec22e42171a6091
[ "MIT" ]
null
null
null
pro/pagination.py
AthenaExplorer/xm_s_explorer
b8ccd57e7bd493f46c493a967ec22e42171a6091
[ "MIT" ]
null
null
null
pro/pagination.py
AthenaExplorer/xm_s_explorer
b8ccd57e7bd493f46c493a967ec22e42171a6091
[ "MIT" ]
null
null
null
import math from rest_framework.pagination import LimitOffsetPagination class StandardResultsSetPagination(LimitOffsetPagination): def __init__(self, default_limit=20, max_limit=200): self.default_limit = default_limit self.limit_query_param = 'limit' self.offset_query_param = 'offset' ...
32.241379
70
0.653476
113
935
5.150442
0.327434
0.085911
0.072165
0.065292
0
0
0
0
0
0
0
0.008608
0.254545
935
29
71
32.241379
0.826399
0
0
0
0
0
0.042735
0
0
0
0
0
0
1
0.217391
false
0
0.086957
0.130435
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5ab4410b8bbe3bca41e7593843d8fbc3609e24db
140
py
Python
snippets/generate_qrcode.py
OSAMAMOHAMED1234/python_projects
fb4bc7356847c3f46df690a9386cf970377a6f7c
[ "MIT" ]
null
null
null
snippets/generate_qrcode.py
OSAMAMOHAMED1234/python_projects
fb4bc7356847c3f46df690a9386cf970377a6f7c
[ "MIT" ]
null
null
null
snippets/generate_qrcode.py
OSAMAMOHAMED1234/python_projects
fb4bc7356847c3f46df690a9386cf970377a6f7c
[ "MIT" ]
null
null
null
import qrcode import os img = qrcode.make('https://github.com/osama-mohamed') img.save('github.jpg') os.system('github.jpg') # to open img
20
53
0.721429
23
140
4.391304
0.652174
0.178218
0
0
0
0
0
0
0
0
0
0
0.1
140
7
54
20
0.801587
0.078571
0
0
0
0
0.40625
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5ac927b829ed6678d64b15fe5abeb19ea4b582f7
457
py
Python
mcm/lottery.py
ant6/Monte-Carlo-Modulators
94118d746cc0416e7cc083a5e55f90e396db0876
[ "MIT" ]
null
null
null
mcm/lottery.py
ant6/Monte-Carlo-Modulators
94118d746cc0416e7cc083a5e55f90e396db0876
[ "MIT" ]
null
null
null
mcm/lottery.py
ant6/Monte-Carlo-Modulators
94118d746cc0416e7cc083a5e55f90e396db0876
[ "MIT" ]
null
null
null
from random import uniform, choice def random_peaks_with_positions(begin, end, peaks, n): """ Return n pairs (random peak from peaks, random number from <begin, end>) :param begin: :param end: :param peaks: this should be a list :return: list of pairs (peak, position) """ return [(choi...
26.882353
76
0.667396
66
457
4.530303
0.454545
0.080268
0.06689
0
0
0
0
0
0
0
0
0.008357
0.214442
457
16
77
28.5625
0.824513
0.380744
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.2
0.2
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5ad3c62f080b25fa25a163c113a585a9ed2b257f
1,771
py
Python
backup/future/SomePort.py
YuunqiLiu/lyqtmp200130
5ae4578ad5600d9b15fc633451e504791dcaf0f6
[ "MIT" ]
null
null
null
backup/future/SomePort.py
YuunqiLiu/lyqtmp200130
5ae4578ad5600d9b15fc633451e504791dcaf0f6
[ "MIT" ]
null
null
null
backup/future/SomePort.py
YuunqiLiu/lyqtmp200130
5ae4578ad5600d9b15fc633451e504791dcaf0f6
[ "MIT" ]
null
null
null
class AXI4Port(object): __slots__ = ('__user_width','__data_width','__id_width','__user_width','__is_master') def __init__(self): self.__user_width = None self.__data_width = None self.__id_width = 9 self.__user_width = None self.__is_master = None @property ...
24.597222
89
0.645963
217
1,771
4.640553
0.152074
0.158888
0.095333
0.089374
0.712016
0.580933
0.543198
0.543198
0.502483
0.502483
0
0.003826
0.261999
1,771
71
90
24.943662
0.766641
0.153021
0
0.413043
0
0
0.086635
0
0
0
0
0
0
1
0.282609
false
0
0
0.130435
0.543478
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5ad918e470359a644c37497c70b749ec28ca8f1e
982
py
Python
scripts/makemak.py
eruffaldi/kinect2reg
5dd5c5d64ba1d96a4be8a13997d210ef61d1fb97
[ "Apache-2.0" ]
null
null
null
scripts/makemak.py
eruffaldi/kinect2reg
5dd5c5d64ba1d96a4be8a13997d210ef61d1fb97
[ "Apache-2.0" ]
null
null
null
scripts/makemak.py
eruffaldi/kinect2reg
5dd5c5d64ba1d96a4be8a13997d210ef61d1fb97
[ "Apache-2.0" ]
null
null
null
p = [0.0885576,0.610703,1.6797,0.126741,0.274673,1.39562,0.0885825,0.0671344,1.65925,0.152189,-0.112166,1.58045,0.0887249,-0.005202,1.75204,0.000612795,-0.0263006,1.72793,0.0589881,-0.137325,1.53402,-0.295456,0.591488,1.68194,-0.374953,0.286578,1.40035,-0.309928,0.0436248,1.6643,-0.288757,-0.151013,1.53413,-0.297834,-0...
28.882353
394
0.660896
216
982
3
0.439815
0.04321
0.049383
0.041667
0.037037
0
0
0
0
0
0
0.375431
0.113035
982
33
395
29.757576
0.368542
0.02444
0
0
0
0
0.196017
0
0
0
0
0
0
0
null
null
0
0
null
null
0.035714
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
1
0
0
0
0
0
0
0
0
3
5ae1ba6ab1eb70722476abe6db5dab54a7924ac6
523
py
Python
jobs/test_akshare/test_stock_zh_index_spot.py
welldo/stock
f23667848cc9cbe0e0d22dd798413f46685c0f9e
[ "Apache-2.0" ]
5,309
2017-08-23T03:21:28.000Z
2022-03-31T02:45:38.000Z
jobs/test_akshare/test_stock_zh_index_spot.py
welldo/stock
f23667848cc9cbe0e0d22dd798413f46685c0f9e
[ "Apache-2.0" ]
72
2017-09-15T11:37:33.000Z
2022-03-23T08:55:53.000Z
jobs/test_akshare/test_stock_zh_index_spot.py
welldo/stock
f23667848cc9cbe0e0d22dd798413f46685c0f9e
[ "Apache-2.0" ]
1,675
2017-08-18T07:31:28.000Z
2022-03-29T05:22:18.000Z
#!/usr/local/bin/python3 # -*- coding: utf-8 -*- import akshare as ak import libs.common as common print(ak.__version__) #stock_sse_summary_df = ak.stock_sse_summary() #print(stock_sse_summary_df) # 接口: stock_zh_index_spot # 目标地址: http://vip.stock.finance.sina.com.cn/mkt/#hs_s # 描述: 中国股票指数数据, 注意该股票指数指新浪提供的国内股票指数 # ...
24.904762
84
0.780115
87
523
4.275862
0.517241
0.112903
0.193548
0.258065
0.193548
0
0
0
0
0
0
0.004219
0.09369
523
20
85
26.15
0.780591
0.500956
0
0
0
0
0.119522
0.087649
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8502c0c0544c58298dc87c44f94cfe4d61f0c7a3
1,523
py
Python
ARC/arc101-arc150/arc121/a/main.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
2
2020-06-12T09:54:23.000Z
2021-05-04T01:34:07.000Z
ARC/arc101-arc150/arc121/a/main.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
961
2020-06-23T07:26:22.000Z
2022-03-31T21:34:52.000Z
ARC/arc101-arc150/arc121/a/main.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- def main(): import sys input = sys.stdin.readline n = int(input()) xy = list() for i in range(n): xi, yi = map(int, input().split()) xy.append((xi, yi, i)) sorted_by_x = sorted(xy, key=lambda x: x[0]) sorted_by_y = sorted(xy, key=lambda x: x[1]) ...
20.306667
56
0.432042
221
1,523
2.701357
0.208145
0.348409
0.19598
0.180905
0.628141
0.628141
0.564489
0.489112
0.489112
0.254606
0
0.065875
0.391989
1,523
74
57
20.581081
0.578834
0.013789
0
0.229508
0
0
0.005333
0
0
0
0
0
0
1
0.016393
false
0
0.016393
0
0.032787
0.016393
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
85121779d37e22edb2e070894429e72230aeb7e4
165
py
Python
tests/pup/basic/hello_world.py
cschlack/pybricks-micropython
0abfd2918267a4e6e7a04062976ac1bb3da1f4b1
[ "MIT" ]
115
2020-06-15T16:43:14.000Z
2022-03-21T21:11:57.000Z
tests/pup/basic/hello_world.py
cschlack/pybricks-micropython
0abfd2918267a4e6e7a04062976ac1bb3da1f4b1
[ "MIT" ]
83
2020-06-17T17:19:29.000Z
2022-03-08T18:50:35.000Z
tests/pup/basic/hello_world.py
cschlack/pybricks-micropython
0abfd2918267a4e6e7a04062976ac1bb3da1f4b1
[ "MIT" ]
40
2020-06-15T18:36:39.000Z
2022-03-28T13:22:43.000Z
# SPDX-License-Identifier: MIT # Copyright (c) 2020 The Pybricks Authors """ Hardware Module: Any hub. Description: Prints Hello world! """ print("Hello world!")
15
41
0.715152
21
165
5.619048
0.904762
0.169492
0
0
0
0
0
0
0
0
0
0.028571
0.151515
165
10
42
16.5
0.814286
0.781818
0
0
0
0
0.444444
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
3
852043141b2d198c3be8e9d2fdf6e75c7d57ba0e
877
py
Python
envds/util/util.py
NOAA-PMEL/envDS
9cac30f5911a6f288a1e31f1c2ea1affc114cd1f
[ "Unlicense" ]
null
null
null
envds/util/util.py
NOAA-PMEL/envDS
9cac30f5911a6f288a1e31f1c2ea1affc114cd1f
[ "Unlicense" ]
null
null
null
envds/util/util.py
NOAA-PMEL/envDS
9cac30f5911a6f288a1e31f1c2ea1affc114cd1f
[ "Unlicense" ]
null
null
null
from datetime import datetime import time import math def time_to_next(sec): now = time.time() delta = sec - (math.fmod(now, sec)) return delta def get_datetime_format(fraction=False): isofmt = "%Y-%m-%dT%H:%M:%SZ" if fraction: isofmt = "%Y-%m-%dT%H:%M:%S.%fZ" return isofmt def get_da...
25.057143
70
0.659065
122
877
4.508197
0.311475
0.16
0.123636
0.036364
0.043636
0.043636
0
0
0
0
0
0
0.22919
877
35
71
25.057143
0.813609
0
0
0
0
0
0.044419
0.023918
0
0
0
0
0
1
0.241379
false
0
0.103448
0.103448
0.62069
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8527224fceff8005a7b8a2b102c0b0d7de531a4b
1,532
py
Python
mlmr/test/test_function.py
mbalatsko/mlmr
202ca01bd1863223f78df6ac56c586a7cd33ae53
[ "MIT" ]
2
2020-05-24T15:35:09.000Z
2020-09-08T10:17:13.000Z
mlmr/test/test_function.py
mbalatsko/mlmr
202ca01bd1863223f78df6ac56c586a7cd33ae53
[ "MIT" ]
null
null
null
mlmr/test/test_function.py
mbalatsko/mlmr
202ca01bd1863223f78df6ac56c586a7cd33ae53
[ "MIT" ]
null
null
null
import multiprocessing as mp import numpy as np from unittest import TestCase from numpy.ma.testutils import assert_array_equal from mlmr.function import calculate_pool_size, map_reduce_splits, map_reduce def map1(data): return data + 1 def map2(data): return np.sum(data) def reduce1(data): return ...
23.9375
94
0.676893
217
1,532
4.557604
0.235023
0.072801
0.103134
0.113246
0.564206
0.406471
0.295248
0.246714
0.246714
0.151668
0
0.03943
0.221932
1,532
63
95
24.31746
0.790268
0
0
0.27027
0
0
0
0
0
0
0
0
0.243243
1
0.216216
false
0
0.135135
0.135135
0.513514
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
517953289fa9015f937298e5e9ba0f1af2a61032
3,447
py
Python
unify_eval/model/mixins/stateful.py
goesslfabian/unify-eval
ced486e44ca57ed31b552fd20b53cae61015e486
[ "Apache-2.0" ]
3
2021-02-18T10:40:29.000Z
2022-01-28T10:20:54.000Z
unify_eval/model/mixins/stateful.py
goesslfabian/unify-eval
ced486e44ca57ed31b552fd20b53cae61015e486
[ "Apache-2.0" ]
8
2020-11-13T19:00:13.000Z
2022-02-10T02:10:28.000Z
unify_eval/model/mixins/stateful.py
goesslfabian/unify-eval
ced486e44ca57ed31b552fd20b53cae61015e486
[ "Apache-2.0" ]
1
2021-06-23T12:37:12.000Z
2021-06-23T12:37:12.000Z
import abc from collections import defaultdict, Iterable from typing import List, Dict from unify_eval.model.deep_model import DeepModelBase from unify_eval.model.layers.layer_base import Layer from unify_eval.model.types import Tensor class StatefulModel(DeepModelBase): """ Class to represent stateful mode...
31.336364
111
0.631854
419
3,447
5.052506
0.272076
0.03401
0.035427
0.025508
0.212565
0.101086
0.076523
0.076523
0.076523
0
0
0
0.285176
3,447
109
112
31.623853
0.859172
0.331593
0
0.186047
0
0
0.023434
0
0
0
0
0
0
1
0.255814
false
0.069767
0.139535
0
0.581395
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
517a01776a938f51be75c18c858af5926e00005f
204
py
Python
examples/client.py
forked-group/invest-python
3398391f5bb4a52020c312855de175cfe8cdc021
[ "Apache-2.0" ]
null
null
null
examples/client.py
forked-group/invest-python
3398391f5bb4a52020c312855de175cfe8cdc021
[ "Apache-2.0" ]
null
null
null
examples/client.py
forked-group/invest-python
3398391f5bb4a52020c312855de175cfe8cdc021
[ "Apache-2.0" ]
null
null
null
from tinkoff.invest import Client from tinkoff.invest.token import TOKEN def main(): with Client(TOKEN) as client: print(client.users.get_accounts()) if __name__ == "__main__": main()
17
42
0.696078
27
204
4.925926
0.592593
0.165414
0.255639
0
0
0
0
0
0
0
0
0
0.196078
204
11
43
18.545455
0.810976
0
0
0
0
0
0.039216
0
0
0
0
0
0
1
0.142857
true
0
0.285714
0
0.428571
0.142857
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5189d1e11c2a13df34a6e2b11c298c4745e4bd30
1,422
py
Python
serdataclasses/typedefs.py
pappasam/serdataclasses
ae3d99807670869b34729fa540f44bc710bceb9e
[ "MIT" ]
2
2019-11-08T22:32:18.000Z
2020-04-14T21:14:44.000Z
serdataclasses/typedefs.py
pappasam/serdataclasses
ae3d99807670869b34729fa540f44bc710bceb9e
[ "MIT" ]
1
2020-06-16T14:58:03.000Z
2020-06-16T16:33:48.000Z
serdataclasses/typedefs.py
pappasam/serdataclasses
ae3d99807670869b34729fa540f44bc710bceb9e
[ "MIT" ]
null
null
null
"""Type definitions.""" import enum from typing import Protocol, TypeVar, Union, runtime_checkable # pylint: disable=too-few-public-methods # pylint: disable=missing-function-docstring T = TypeVar("T") # pylint: disable=invalid-name class Undefined(enum.Enum): """Handles JavaScript/TypeScript `undefined` / op...
20.028169
79
0.659634
162
1,422
5.660494
0.567901
0.030534
0.019629
0.032715
0.056707
0.056707
0
0
0
0
0
0.002747
0.232068
1,422
70
80
20.314286
0.836996
0.429677
0
0.37931
0
0
0.027704
0
0
0
0
0
0
1
0.275862
false
0
0.068966
0.103448
0.62069
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
518c44dbea4401050e361077688bbe366e49a39c
51
py
Python
dpaste_magic/__init__.py
HerveMignot/dpaste_magic
9b7637f9df51e8e40de67bbb0ac0d274ba0eb4dc
[ "MIT" ]
3
2019-01-30T08:13:07.000Z
2021-12-31T07:32:55.000Z
dpaste_magic/__init__.py
HerveMignot/dpaste_magic
9b7637f9df51e8e40de67bbb0ac0d274ba0eb4dc
[ "MIT" ]
null
null
null
dpaste_magic/__init__.py
HerveMignot/dpaste_magic
9b7637f9df51e8e40de67bbb0ac0d274ba0eb4dc
[ "MIT" ]
null
null
null
from .dpaste_magic import * __version__ = '0.1.2'
12.75
27
0.705882
8
51
3.875
1
0
0
0
0
0
0
0
0
0
0
0.069767
0.156863
51
3
28
17
0.651163
0
0
0
0
0
0.098039
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
51ee7f267f364e05663c92a9f05869f22761c411
402
py
Python
cdhit_reader/__init__.py
telatin/cdhit-parser
c68d973b7b972dd2e41689e73b5eec820daaa943
[ "MIT" ]
1
2022-03-08T01:51:55.000Z
2022-03-08T01:51:55.000Z
cdhit_reader/__init__.py
telatin/cdhit-parser
c68d973b7b972dd2e41689e73b5eec820daaa943
[ "MIT" ]
null
null
null
cdhit_reader/__init__.py
telatin/cdhit-parser
c68d973b7b972dd2e41689e73b5eec820daaa943
[ "MIT" ]
null
null
null
from ._cli import cli from ._reader import ParsingError, ClusterSequence, Cluster, ClstrReader, read_cdhit, SeqType, Strand from ._testit import test from ._version import __version__ #from ._writer import FASTAWriter, write_fasta __all__ = [ "ParsingError", "ClusterSequence", "Cluster", "ClstrReader", "read_cdhit...
30.923077
113
0.731343
43
402
6.372093
0.465116
0.072993
0.248175
0.328467
0.518248
0.518248
0.518248
0.518248
0.518248
0
0
0
0.151741
402
12
114
33.5
0.803519
0.141791
0
0
0
0
0.250729
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
51fb3f2ae237977d84a19bb36bb5a2f488e2fc05
386
py
Python
django_roles_access/mixin.py
django-roles-access/master
066d0d6b99b986eacc736e6973b415cbb9172d46
[ "MIT" ]
5
2019-03-22T08:08:25.000Z
2019-04-11T11:46:52.000Z
django_roles_access/mixin.py
django-roles-access/master
066d0d6b99b986eacc736e6973b415cbb9172d46
[ "MIT" ]
5
2019-04-03T21:53:52.000Z
2019-05-22T22:41:34.000Z
django_roles_access/mixin.py
django-roles-access/master
066d0d6b99b986eacc736e6973b415cbb9172d46
[ "MIT" ]
null
null
null
from django.utils.decorators import method_decorator from django_roles_access.decorator import access_by_role class RolesMixin(object): """ A mixin that user access_by_role decorator for dispatch method. """ @method_decorator(access_by_role) def dispatch(self, request, *args, **kwargs): ...
27.571429
73
0.740933
49
386
5.632653
0.55102
0.086957
0.130435
0
0
0
0
0
0
0
0
0
0.165803
386
13
74
29.692308
0.857143
0.163212
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
a40bb1e830f98fe7e5a8ef82dbe6ed6181174770
191
py
Python
app/api/v1/book.py
ZeroLoo/FlaskAPI
3dd89e83bd99b2de1796a9dfb52dad7b659e6ad2
[ "MIT" ]
null
null
null
app/api/v1/book.py
ZeroLoo/FlaskAPI
3dd89e83bd99b2de1796a9dfb52dad7b659e6ad2
[ "MIT" ]
null
null
null
app/api/v1/book.py
ZeroLoo/FlaskAPI
3dd89e83bd99b2de1796a9dfb52dad7b659e6ad2
[ "MIT" ]
null
null
null
# -*-coding:utf-8-*- from flask import Blueprint from app.libs.redprint import Redprint __author__ = 'ZeroLoo' api=Redprint("book") @api.route('/get') def get_book(): return "get book"
17.363636
38
0.701571
27
191
4.777778
0.666667
0.108527
0
0
0
0
0
0
0
0
0
0.006061
0.136126
191
11
39
17.363636
0.775758
0.094241
0
0
0
0
0.133721
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
0.571429
0.428571
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
1
0
3
cf8f38aeb808f0a4f00bb87c4534d91f2accec0c
375
py
Python
init.py
unitedroguegg/carball
4767f2c5d195b7d5d60e6a5575415262803acef7
[ "Apache-2.0" ]
119
2018-09-14T02:14:19.000Z
2022-03-06T05:06:54.000Z
init.py
unitedroguegg/carball
4767f2c5d195b7d5d60e6a5575415262803acef7
[ "Apache-2.0" ]
207
2018-09-06T18:53:06.000Z
2022-02-12T22:39:36.000Z
init.py
unitedroguegg/carball
4767f2c5d195b7d5d60e6a5575415262803acef7
[ "Apache-2.0" ]
44
2018-09-10T16:54:13.000Z
2022-02-19T03:07:50.000Z
def initialize_project(): print("Importing necessary methods...") from utils.create_proto import create_proto_files from utils.import_fixer import convert_to_relative_imports print("Creating proto files...") create_proto_files() convert_to_relative_imports() if __name__ == "__main__": pri...
26.785714
62
0.741333
43
375
5.953488
0.534884
0.128906
0.125
0.1875
0
0
0
0
0
0
0
0
0.16
375
13
63
28.846154
0.812698
0
0
0
0
0
0.224
0
0
0
0
0
0
1
0.1
true
0
0.4
0
0.5
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
1
0
0
0
0
3
cfa9f2aee998c4690bc86a132bfa3c9457cd19ca
211
py
Python
reddit/urls.py
Michaelcue4/reddit-clone
7f0c22f884647963a166aa755aa83dd144b9d8dc
[ "MIT" ]
null
null
null
reddit/urls.py
Michaelcue4/reddit-clone
7f0c22f884647963a166aa755aa83dd144b9d8dc
[ "MIT" ]
15
2019-06-04T17:26:28.000Z
2022-02-17T23:59:07.000Z
reddit/urls.py
Michaelcue4/reddit-clone
7f0c22f884647963a166aa755aa83dd144b9d8dc
[ "MIT" ]
null
null
null
from rest_framework import routers from .views import PostList, CommentList router = routers.SimpleRouter() router.register('posts', PostList) router.register('comments', CommentList) urlpatterns = router.urls
26.375
40
0.810427
24
211
7.083333
0.625
0.164706
0
0
0
0
0
0
0
0
0
0
0.094787
211
8
41
26.375
0.890052
0
0
0
0
0
0.061321
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cfa9f59f778eebdf768fdc327a96dd2405466129
1,482
py
Python
narc/processors/proc_base.py
nickrusso42518/narc
f79c21b24d7f5538d45a383763bbd6c6db966299
[ "BSD-3-Clause" ]
43
2019-12-21T20:06:28.000Z
2022-03-16T14:36:25.000Z
narc/processors/proc_base.py
ccie59071/narc
f79c21b24d7f5538d45a383763bbd6c6db966299
[ "BSD-3-Clause" ]
27
2019-12-21T21:50:12.000Z
2021-01-27T15:59:38.000Z
narc/processors/proc_base.py
ccie59071/narc
f79c21b24d7f5538d45a383763bbd6c6db966299
[ "BSD-3-Clause" ]
8
2020-04-10T20:10:22.000Z
2021-12-29T18:39:07.000Z
#!/usr/bin/env python """ Author: Nick Russo Purpose: An abstract base class for other processors. """ import os class ProcBase: """ Represents an abstract processor object. Serves as a parent class for concrete processors to handle different output styles. Defines stub methods to reduce copy/paste ...
25.551724
68
0.61336
178
1,482
5.050562
0.460674
0.053393
0.053393
0.063404
0.389321
0.284761
0.284761
0.206897
0.10901
0
0
0
0.306343
1,482
57
69
26
0.874514
0.497301
0
0.333333
0
0
0.025408
0
0
0
0
0
0
1
0.4
false
0.333333
0.066667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
cfda1ca4ceb8e6e429dfa3745cee5de4b5286e87
95
py
Python
scrumpoker/apps.py
chadgates/DjangoJiraPoker
304bd8db947d94d7d81cf64a7d47cd0c6430b505
[ "MIT" ]
null
null
null
scrumpoker/apps.py
chadgates/DjangoJiraPoker
304bd8db947d94d7d81cf64a7d47cd0c6430b505
[ "MIT" ]
null
null
null
scrumpoker/apps.py
chadgates/DjangoJiraPoker
304bd8db947d94d7d81cf64a7d47cd0c6430b505
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ScrumpokerConfig(AppConfig): name = 'scrumpoker'
15.833333
34
0.768421
10
95
7.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.157895
95
5
35
19
0.9125
0
0
0
0
0
0.105263
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cffba3240bdfb2ba9fedb70270ee1eb1517b9846
232
py
Python
maskrcnn_benchmark/modeling/rpn/oasis/loss.py
zhoulw13/maskrcnn-benchmark
5a051920cc901b06969f5c2cbe90b62b289827d5
[ "MIT" ]
null
null
null
maskrcnn_benchmark/modeling/rpn/oasis/loss.py
zhoulw13/maskrcnn-benchmark
5a051920cc901b06969f5c2cbe90b62b289827d5
[ "MIT" ]
null
null
null
maskrcnn_benchmark/modeling/rpn/oasis/loss.py
zhoulw13/maskrcnn-benchmark
5a051920cc901b06969f5c2cbe90b62b289827d5
[ "MIT" ]
null
null
null
import torch class OASISLossComputation(): """ This class computes the OASIS semantic and instance loss. """ def __init__(self): pass def __call__(self, semantics, instances, targets): pass
19.333333
65
0.633621
24
232
5.791667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.284483
232
12
66
19.333333
0.837349
0.24569
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0.166667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
5c60cf985c8685e61cbf4c3ebdc8b732ee431c43
107
py
Python
evo/models/__init__.py
tvlearn/evo
772a9493ae805831f6730654708a26d8db560707
[ "AFL-3.0" ]
1
2022-03-24T13:44:29.000Z
2022-03-24T13:44:29.000Z
evo/models/__init__.py
tvlearn/evo
772a9493ae805831f6730654708a26d8db560707
[ "AFL-3.0" ]
null
null
null
evo/models/__init__.py
tvlearn/evo
772a9493ae805831f6730654708a26d8db560707
[ "AFL-3.0" ]
null
null
null
from ._models import Model from .bsc import BSC from .sssc import SSSC __all__ = ["Model", "BSC", "SSSC"]
17.833333
34
0.700935
16
107
4.375
0.4375
0
0
0
0
0
0
0
0
0
0
0
0.168224
107
5
35
21.4
0.786517
0
0
0
0
0
0.11215
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5c81aac039214ff621d96fd7a2aa19e64a4a48f4
285
py
Python
ex11.py
100lemons/mypythons
f3adcfe35967df3a9df893d0bc208c6340133842
[ "MIT" ]
null
null
null
ex11.py
100lemons/mypythons
f3adcfe35967df3a9df893d0bc208c6340133842
[ "MIT" ]
null
null
null
ex11.py
100lemons/mypythons
f3adcfe35967df3a9df893d0bc208c6340133842
[ "MIT" ]
null
null
null
print("what is your name?") name = input() print("How old are you?", end=' ') age = input() print("How tall are you?", end=' ') height = input() print("How much do you weigh?", end=' ') weight = input() print(f"So, {name}, you're {age} old, {height} tall and {weight} pounds heavy.")
25.909091
80
0.621053
46
285
3.847826
0.521739
0.225989
0.220339
0
0
0
0
0
0
0
0
0
0.164912
285
11
80
25.909091
0.743697
0
0
0
0
0.111111
0.51049
0
0
0
0
0
0
1
0
false
0
0
0
0
0.555556
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
5c83cbeeac39eaf7d491c1d41dce956fc0cfeb7e
5,666
py
Python
plugins/module_utils/definitions/wireless_rf_profile.py
robertcsapo/dnacenter-ansible
33f776f8c0bc7113da73191c301dd1807e6b4a43
[ "MIT" ]
null
null
null
plugins/module_utils/definitions/wireless_rf_profile.py
robertcsapo/dnacenter-ansible
33f776f8c0bc7113da73191c301dd1807e6b4a43
[ "MIT" ]
null
null
null
plugins/module_utils/definitions/wireless_rf_profile.py
robertcsapo/dnacenter-ansible
33f776f8c0bc7113da73191c301dd1807e6b4a43
[ "MIT" ]
null
null
null
from __future__ import (absolute_import, division, print_function) __metaclass__ = type import json module_definition = json.loads( """{ "family": "wireless", "name": "wireless_rf_profile", "operations": { "delete": [ "delete_rf_profiles" ], "get": [ "ret...
29.357513
66
0.287681
245
5,666
6.485714
0.236735
0.155444
0.181875
0.15922
0.738829
0.552549
0.489616
0.445563
0.445563
0.445563
0
0.000878
0.598129
5,666
192
67
29.510417
0.69697
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
0
0
0
null
0
1
0
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
1
0
0
0
0
3
5c8da370dbcc902da431677f83028ae90fe71323
22
py
Python
dtb.py
Nitlix/index
e56db5009e9db079dfda925c6bc5c458903b699d
[ "CC0-1.0" ]
null
null
null
dtb.py
Nitlix/index
e56db5009e9db079dfda925c6bc5c458903b699d
[ "CC0-1.0" ]
null
null
null
dtb.py
Nitlix/index
e56db5009e9db079dfda925c6bc5c458903b699d
[ "CC0-1.0" ]
null
null
null
global main main = {}
11
12
0.636364
3
22
4.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.227273
22
2
13
11
0.823529
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5c8e15d1795a87d56acdfd5a56b91be227a1aa6b
145
py
Python
Pattern/Small_Alphabetical/Printing_Small_v.py
reddyprasade/PYTHON-BASIC-FOR-ALL
4fa4bf850f065e9ac1cea0365b93257e1f04e2cb
[ "MIT" ]
21
2019-06-28T05:11:17.000Z
2022-03-16T02:02:28.000Z
Pattern/Small_Alphabetical/Printing_Small_v.py
reddyprasade/PYTHON-BASIC-FOR-ALL
4fa4bf850f065e9ac1cea0365b93257e1f04e2cb
[ "MIT" ]
2
2021-12-28T14:15:58.000Z
2021-12-28T14:16:02.000Z
Pattern/Small_Alphabetical/Printing_Small_v.py
reddyprasade/PYTHON-BASIC-FOR-ALL
4fa4bf850f065e9ac1cea0365b93257e1f04e2cb
[ "MIT" ]
18
2019-07-07T03:20:33.000Z
2021-05-08T10:44:18.000Z
for row in range(4): for col in range(8): if row-col==0 or row+col==6: print('*', end = '') else: print(' ', end = '') print()
18.125
31
0.489655
24
145
2.958333
0.583333
0.197183
0
0
0
0
0
0
0
0
0
0.038462
0.282759
145
7
32
20.714286
0.644231
0
0
0
0
0
0.013793
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
5ca1ae3394947b388f8b6458b75321bc9c3edffb
776
py
Python
overseed/errors/handlers.py
Raihanbook/overseed
73d7bfdd967d4c43b88d8aadd0cd0abbbd5f2842
[ "MIT" ]
null
null
null
overseed/errors/handlers.py
Raihanbook/overseed
73d7bfdd967d4c43b88d8aadd0cd0abbbd5f2842
[ "MIT" ]
null
null
null
overseed/errors/handlers.py
Raihanbook/overseed
73d7bfdd967d4c43b88d8aadd0cd0abbbd5f2842
[ "MIT" ]
null
null
null
from flask import Blueprint, render_template errors = Blueprint('errors', __name__) # ERRORS # --------------- # We need to use the @app_errorhandler decorator instead of the # @route decorator. # 404 # --------------- # This page is for errors where a page cannot be found. @errors.app_errorhandler(404) def error_4...
26.758621
79
0.690722
107
776
4.869159
0.429907
0.107486
0.153551
0.074856
0.270633
0.092131
0
0
0
0
0
0.067771
0.14433
776
29
80
26.758621
0.716867
0.453608
0
0
0
0
0.124088
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.272727
0.636364
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5cb6fa3027a6d93f52474974779be6246b4cf8e9
325
py
Python
friend/permissions.py
ace-han/onedegree
ffa30c518a0035509289c36e70316c1b660df3fd
[ "BSD-3-Clause" ]
null
null
null
friend/permissions.py
ace-han/onedegree
ffa30c518a0035509289c36e70316c1b660df3fd
[ "BSD-3-Clause" ]
2
2015-10-27T10:12:36.000Z
2015-11-01T05:21:06.000Z
friend/permissions.py
ace-han/onedegree
ffa30c518a0035509289c36e70316c1b660df3fd
[ "BSD-3-Clause" ]
null
null
null
from rest_framework.permissions import IsAuthenticated from friend.models import are_friends class IsFriend(IsAuthenticated): ''' is current login user's profile friend to target obj(profile) ''' def has_object_permission(self, request, view, obj): return are_friends(request.user.profile,...
29.545455
69
0.741538
41
325
5.756098
0.707317
0.084746
0
0
0
0
0
0
0
0
0
0
0.181538
325
11
70
29.545455
0.887218
0.187692
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
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
1
1
0
0
3
5cc1df379725cbbabdf001543233b76a2c679847
692
py
Python
tools/nntool/tests/test_json_serializable.py
VishalSharma0309/gap_sdk
09ccc594a3696a84953b732022cecae11e751c97
[ "Apache-2.0" ]
1
2020-01-29T15:39:31.000Z
2020-01-29T15:39:31.000Z
tools/nntool/tests/test_json_serializable.py
VishalSharma0309/gap_sdk
09ccc594a3696a84953b732022cecae11e751c97
[ "Apache-2.0" ]
null
null
null
tools/nntool/tests/test_json_serializable.py
VishalSharma0309/gap_sdk
09ccc594a3696a84953b732022cecae11e751c97
[ "Apache-2.0" ]
null
null
null
import json from utils.json_serializable import JsonSerializable, JsonSerializableStateDecoder, JsonSerializableStateEncoder class TestClass(JsonSerializable): def __init__(self, param): super(TestClass, self).__init__() self._param = param def _encapsulate(self): return self._param ...
28.833333
112
0.722543
71
692
6.71831
0.43662
0.075472
0.054507
0
0
0
0
0
0
0
0
0.008945
0.192197
692
23
113
30.086957
0.844365
0
0
0
0
0
0.00578
0
0
0
0
0
0.055556
1
0.277778
false
0
0.111111
0.166667
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5ccb5358e011951e4bcc5d4048c4767c931a8d4b
471
py
Python
Chapter09/OTAUpdate/main.py
PacktPublishing/Artificial-Intelligence-for-IoT-Cookbook
c2f522c2a1dbb78c99e05abc3c0e8706618f4353
[ "MIT" ]
19
2019-11-06T08:00:03.000Z
2022-01-01T20:02:40.000Z
Chapter09/OTAUpdate/main.py
PacktPublishing/Artificial-Intelligence-for-IoT-Cookbook
c2f522c2a1dbb78c99e05abc3c0e8706618f4353
[ "MIT" ]
null
null
null
Chapter09/OTAUpdate/main.py
PacktPublishing/Artificial-Intelligence-for-IoT-Cookbook
c2f522c2a1dbb78c99e05abc3c0e8706618f4353
[ "MIT" ]
9
2020-02-17T23:44:16.000Z
2022-02-03T15:26:46.000Z
from ota_update.main.ota_updater import OTAUpdater def download_and_install_update_if_available(): o = OTAUpdater('url-to-your-github-project') o.download_and_install_update_if_available('wifi-ssid', 'wifi-password') def start(): # your custom code goes here. Something like this: ... # from ma...
22.428571
77
0.698514
60
471
5.2
0.55
0.105769
0.173077
0.230769
0.336538
0.336538
0
0
0
0
0
0
0.191083
471
21
78
22.428571
0.818898
0.235669
0
0
0
0
0.134831
0.073034
0
0
0
0
0
0
null
null
0.111111
0.111111
null
null
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
5cce3180b65c5fde296e0f2ff4266f478a30ebe1
375
py
Python
app/fetcher/admin.py
Masado/reference-fetcher
2062b7a086da22d446697e872ab021826605ee2b
[ "MIT" ]
null
null
null
app/fetcher/admin.py
Masado/reference-fetcher
2062b7a086da22d446697e872ab021826605ee2b
[ "MIT" ]
null
null
null
app/fetcher/admin.py
Masado/reference-fetcher
2062b7a086da22d446697e872ab021826605ee2b
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Fetch # Register your models here. class FetchAdmin(admin.ModelAdmin): list_display = ['id', 'fetch_id', 'species', 'ensembl_version', 'reference'] list_filter = ['species', 'ensembl_version', 'reference'] search_fields = ['species', 'ensembl_version'...
26.785714
80
0.725333
43
375
6.162791
0.55814
0.158491
0.237736
0.339623
0
0
0
0
0
0
0
0
0.136
375
13
81
28.846154
0.817901
0.069333
0
0
0
0
0.29683
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.857143
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5cdc2a31891a525bbb86328d61623f10b57d7f23
138
py
Python
src/Main_Server.py
yahoofinancelive/stockmarktetsimulator
2392d4c10b5a1daef788795f155279c05d7051f1
[ "MIT" ]
2
2020-11-09T12:46:24.000Z
2021-05-27T19:57:24.000Z
src/Main_Server.py
yahoofinancelive/stockmarktetsimulator
2392d4c10b5a1daef788795f155279c05d7051f1
[ "MIT" ]
null
null
null
src/Main_Server.py
yahoofinancelive/stockmarktetsimulator
2392d4c10b5a1daef788795f155279c05d7051f1
[ "MIT" ]
1
2020-12-23T16:31:26.000Z
2020-12-23T16:31:26.000Z
from src.WebsocketServer import WebsocketServer if __name__ == '__main__': ws_server = WebsocketServer() #ws_server.startserver()
27.6
47
0.76087
14
138
6.785714
0.714286
0.168421
0
0
0
0
0
0
0
0
0
0
0.144928
138
5
48
27.6
0.805085
0.166667
0
0
0
0
0.069565
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7a2a04c591f2e8f1cdee655cc3fb037f03390ab6
1,442
py
Python
ncdata/FileConvention.py
larsbuntemeyer/datafile
8a5bb0a76339826613bf3acfe1386c1929156c03
[ "MIT" ]
null
null
null
ncdata/FileConvention.py
larsbuntemeyer/datafile
8a5bb0a76339826613bf3acfe1386c1929156c03
[ "MIT" ]
null
null
null
ncdata/FileConvention.py
larsbuntemeyer/datafile
8a5bb0a76339826613bf3acfe1386c1929156c03
[ "MIT" ]
null
null
null
#! /usr/bin/python # coding: utf-8 # # License # import os # ESGF example # pathstr = '/eddy/pool/CORDEX-CORE/ESGF/ # CORDEX/output/EUR-22/GERICS/ECMWF-ERAINT/evaluation/r0i0p0/GERICS-REMO2015/v1/fx/orog' class NamingConvention(): def __init__(self): pass class FilePathConvention(Nam...
22.184615
102
0.619972
146
1,442
5.739726
0.39726
0.066826
0.065632
0.096659
0.133652
0.133652
0.133652
0.133652
0
0
0
0.020192
0.278779
1,442
64
103
22.53125
0.785577
0.402219
0
0.380952
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.095238
0.047619
0.047619
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
7a2d8cfa65cd8d4ae03a16f6454bde6194464747
199
py
Python
src/config/api-server/__init__.py
biswajit-mandal/contrail-controller
80c4a7e8515f7296b18ba4c21a439bd3daefcc4a
[ "Apache-2.0" ]
5
2015-01-08T17:34:41.000Z
2017-09-28T16:00:25.000Z
src/config/api-server/__init__.py
biswajit-mandal/contrail-controller
80c4a7e8515f7296b18ba4c21a439bd3daefcc4a
[ "Apache-2.0" ]
null
null
null
src/config/api-server/__init__.py
biswajit-mandal/contrail-controller
80c4a7e8515f7296b18ba4c21a439bd3daefcc4a
[ "Apache-2.0" ]
18
2017-01-12T09:28:44.000Z
2019-04-18T20:47:42.000Z
""" The main modules in this package are: * vnc_cfg_api_server * gen.resource_common * gen.resource_xsd * vnc_cfg_ifmap * vnc_addr_mgmt * vnc_cfg_types * vnc_cpu_info """
18.090909
37
0.663317
29
199
4.103448
0.724138
0.151261
0
0
0
0
0
0
0
0
0
0
0.256281
199
10
38
19.9
0.804054
0.954774
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7a5fa17f69aeaff096bbe463ce0f54cc451ce07b
206
py
Python
app/config.py
asanoryu/dev_bg_neo4j_flask
c06883b6c136c47868c2597880cb85689e4f7a5b
[ "MIT" ]
null
null
null
app/config.py
asanoryu/dev_bg_neo4j_flask
c06883b6c136c47868c2597880cb85689e4f7a5b
[ "MIT" ]
null
null
null
app/config.py
asanoryu/dev_bg_neo4j_flask
c06883b6c136c47868c2597880cb85689e4f7a5b
[ "MIT" ]
null
null
null
from envparse import env GRAPH_URL = env.str("GRAPH_URL", default="http://localhost:7474") GRAPH_USER = env.str("GRAPH_USER", default="neo4j") GRAPH_PASSWORD = env.str("GRAPH_PASSWORD", default="123456")
29.428571
65
0.747573
30
206
4.933333
0.5
0.121622
0.222973
0
0
0
0
0
0
0
0
0.058511
0.087379
206
6
66
34.333333
0.728723
0
0
0
0
0
0.315534
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.25
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
7aa01de045199f7dc35a8949991007d56ea87219
312
py
Python
back-end/SocialDistribution/Author/admin.py
robertavichm/CMPUT-404-PROJECT-WORK-W21
66666a658fbd1c4c9a999cc457985a2209592ed7
[ "Apache-2.0" ]
null
null
null
back-end/SocialDistribution/Author/admin.py
robertavichm/CMPUT-404-PROJECT-WORK-W21
66666a658fbd1c4c9a999cc457985a2209592ed7
[ "Apache-2.0" ]
6
2021-02-14T22:39:03.000Z
2021-03-05T17:40:00.000Z
back-end/SocialDistribution/Author/admin.py
robertavichm/CMPUT-404-PROJECT-WORK-W21
66666a658fbd1c4c9a999cc457985a2209592ed7
[ "Apache-2.0" ]
3
2021-01-29T21:07:50.000Z
2021-05-20T08:04:49.000Z
from django.contrib import admin from .models import Author, Post, FriendShip, Comment, Like, Notification # Register your models here. admin.site.register(Author) admin.site.register(Post) admin.site.register(FriendShip) admin.site.register(Comment) admin.site.register(Like) admin.site.register(Notification)
28.363636
73
0.814103
42
312
6.047619
0.380952
0.212598
0.401575
0
0
0
0
0
0
0
0
0
0.080128
312
10
74
31.2
0.885017
0.083333
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
1
0
0
0
0
0
0
3