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
26029b24d6e219e0a72f4060d9b5e1744e8b91f4
1,344
py
Python
puffincoin/node.py
PuffinDev/PuffinCoin
b10da18361dde4f2e9bbd8df36a6a93837e28a63
[ "MIT" ]
6
2021-05-16T10:05:58.000Z
2021-06-18T16:14:07.000Z
puffincoin/node.py
PuffinDev/PuffinCoin
b10da18361dde4f2e9bbd8df36a6a93837e28a63
[ "MIT" ]
1
2021-05-26T16:05:17.000Z
2021-09-08T06:55:04.000Z
puffincoin/node.py
PuffinDev/PuffinCoin
b10da18361dde4f2e9bbd8df36a6a93837e28a63
[ "MIT" ]
3
2021-05-25T21:47:54.000Z
2021-05-29T04:25:22.000Z
import json import time from flask import Flask, request class Node(): def __init__(self, blockchain): self.app = Flask(__name__) self.blockchain = blockchain @self.app.route('/', methods=['GET']) def home(): return "PuffinCoin Node" @self.app.route('/version'...
27.428571
74
0.560268
148
1,344
4.959459
0.344595
0.152589
0.098093
0.069482
0
0
0
0
0
0
0
0.009534
0.297619
1,344
48
75
28
0.768008
0
0
0
0
0
0.078125
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.111111
0.527778
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
261bb3ec7c72a59cce894f61bc0c5fc2d85ed034
709
py
Python
alien/lib/secrets.py
oowais/MCP-Alien-Arduino-Code
8613843ee3d602fa62c2d13e411cd423ce5b7bf7
[ "MIT" ]
null
null
null
alien/lib/secrets.py
oowais/MCP-Alien-Arduino-Code
8613843ee3d602fa62c2d13e411cd423ce5b7bf7
[ "MIT" ]
36
2018-12-20T00:55:49.000Z
2019-01-28T22:39:08.000Z
alien/lib/secrets.py
oowais/MCP-Alien-Arduino-Code
8613843ee3d602fa62c2d13e411cd423ce5b7bf7
[ "MIT" ]
null
null
null
"""This code snippet has been taken from https://github.com/python/cpython/blob/3.7/Lib/secrets.py The secrets module was introduced in the python standard library in python3.6. RasPI uses Python3.5, which doesn't have the secrets module. In order to not add-on Python3.6 just for this small functionality, this code is ...
33.761905
102
0.763047
117
709
4.581197
0.632479
0.044776
0.059701
0
0
0
0
0
0
0
0
0.020134
0.159379
709
20
103
35.45
0.879195
0.620592
0
0
0
0
0.019084
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
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
266ef801380978dfe404c04f4e459cfea50d7e51
58
py
Python
pythpy/layouts.py
johnstonematt/pythpy
e1459ceae3e7edd4e79bfd86ad5df43caa7b0317
[ "MIT" ]
1
2021-11-29T22:45:49.000Z
2021-11-29T22:45:49.000Z
pythpy/layouts.py
johnstonematt/pythpy
e1459ceae3e7edd4e79bfd86ad5df43caa7b0317
[ "MIT" ]
null
null
null
pythpy/layouts.py
johnstonematt/pythpy
e1459ceae3e7edd4e79bfd86ad5df43caa7b0317
[ "MIT" ]
1
2021-12-11T17:58:20.000Z
2021-12-11T17:58:20.000Z
from construct import Bytes PUBLIC_KEY_LAYOUT = Bytes(32)
19.333333
29
0.827586
9
58
5.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0.039216
0.12069
58
3
29
19.333333
0.862745
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2681608903ded57595fffbfe37aed073a60e97b6
828
py
Python
code/line_factory/sliding_window/detection_area.py
uincore/lane-finder
57bcc44598f4d626bf93bb101a62dc12905cc20a
[ "MIT" ]
null
null
null
code/line_factory/sliding_window/detection_area.py
uincore/lane-finder
57bcc44598f4d626bf93bb101a62dc12905cc20a
[ "MIT" ]
null
null
null
code/line_factory/sliding_window/detection_area.py
uincore/lane-finder
57bcc44598f4d626bf93bb101a62dc12905cc20a
[ "MIT" ]
1
2018-03-08T06:12:11.000Z
2018-03-08T06:12:11.000Z
import numpy as np class DetectionArea: def __init__(self, start_x, line_points, window_shape): percents_threshold_max = 0.2 pixels_threshold_min = 50 self.y, self.x = line_points x_count = len(self.x) pixels_threshold_max = window_shape[0] * window_shape[1] * percents_t...
24.352941
89
0.665459
121
828
4.231405
0.371901
0.078125
0.058594
0.087891
0.085938
0
0
0
0
0
0
0.009804
0.26087
828
33
90
25.090909
0.826797
0.060386
0
0.181818
0
0
0
0
0
0
0
0.030303
0
1
0.227273
false
0
0.045455
0.181818
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
268bb510b9469835137dfe9c38dcacef5e555422
147
py
Python
notebook/book/python/Learn-OOP-with-Python/Chapter-2/python_init_test/module_2/module_2_module_1/say.py
JMwill/note
30e931f18c9ba942f5e5040b524047a996cf0c6c
[ "MIT" ]
null
null
null
notebook/book/python/Learn-OOP-with-Python/Chapter-2/python_init_test/module_2/module_2_module_1/say.py
JMwill/note
30e931f18c9ba942f5e5040b524047a996cf0c6c
[ "MIT" ]
2
2018-11-27T10:45:45.000Z
2018-12-13T14:44:54.000Z
notebook/book/python/Learn-OOP-with-Python/Chapter-2/python_init_test/module_2/module_2_module_1/say.py
JMwill/note
30e931f18c9ba942f5e5040b524047a996cf0c6c
[ "MIT" ]
null
null
null
from ..module_2_module_2 import say as module_say # from def say(): module_say.say() print(__name__) if __name__ == '__main__': say()
16.333333
49
0.673469
22
147
3.727273
0.5
0.170732
0
0
0
0
0
0
0
0
0
0.017094
0.204082
147
9
50
16.333333
0.683761
0.027211
0
0
0
0
0.056338
0
0
0
0
0
0
1
0.166667
true
0
0.166667
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2693b9420f00f6f82d9d9a1367b4fac6c80877d8
726
py
Python
components/spinner.py
auscompgeek/pyinfiniterecharge
1ea51ac8e9b27338b5054508b08db882e7f0d2f6
[ "BSD-3-Clause" ]
null
null
null
components/spinner.py
auscompgeek/pyinfiniterecharge
1ea51ac8e9b27338b5054508b08db882e7f0d2f6
[ "BSD-3-Clause" ]
null
null
null
components/spinner.py
auscompgeek/pyinfiniterecharge
1ea51ac8e9b27338b5054508b08db882e7f0d2f6
[ "BSD-3-Clause" ]
null
null
null
import wpilib import rev import rev.color class Spinner: spinner_motor: wpilib.Spark spinner_solenoid: wpilib.DoubleSolenoid colour_sensor: rev.color.ColorSensorV3 def __init__(self): pass def setup(self): pass def on_enable(self): self.spinner_motor.stopMotor() ...
22.6875
74
0.701102
87
726
5.655172
0.37931
0.121951
0.067073
0.134146
0.335366
0.335366
0.335366
0.335366
0
0
0
0.001739
0.207989
726
31
75
23.419355
0.853913
0
0
0.227273
0
0
0
0
0
0
0
0
0
1
0.318182
false
0.136364
0.136364
0.045455
0.681818
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
13fa9a0cad7134b15df7f5db8265378fb8758245
4,903
py
Python
setup.py
DGWhittaker/nottingham_covid_modelling
6f0ec235e5cab64a5a4cd2968fc57f298f3e5079
[ "BSD-3-Clause" ]
null
null
null
setup.py
DGWhittaker/nottingham_covid_modelling
6f0ec235e5cab64a5a4cd2968fc57f298f3e5079
[ "BSD-3-Clause" ]
1
2022-02-11T16:31:38.000Z
2022-02-17T17:29:33.000Z
setup.py
DGWhittaker/nottingham_covid_modelling
6f0ec235e5cab64a5a4cd2968fc57f298f3e5079
[ "BSD-3-Clause" ]
null
null
null
# # setuptools script # import os from setuptools import find_packages, setup # Load text for description with open('README.md') as f: readme = f.read() # Load version number with open(os.path.join('nottingham_covid_modelling', 'version.txt'), 'r') as f: version = f.read() setup( # Module name (lowerca...
41.550847
118
0.682643
551
4,903
5.597096
0.264973
0.16537
0.264591
0.118029
0.312257
0.169261
0.029831
0
0
0
0
0.008947
0.224964
4,903
117
119
41.905983
0.802632
0.039772
0
0.020619
0
0.010309
0.654034
0.513093
0
0
0
0
0
1
0
false
0
0.020619
0
0.020619
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cd042c8069db7ff3aca8db5c00df60c90c45c5db
1,169
py
Python
hd_mysql/models.py
Rmond/OperMge
926f00107614ed55b26ff3beac178fe955de856a
[ "Apache-2.0" ]
1
2017-08-18T07:03:34.000Z
2017-08-18T07:03:34.000Z
hd_mysql/models.py
Rmond/OperMge
926f00107614ed55b26ff3beac178fe955de856a
[ "Apache-2.0" ]
null
null
null
hd_mysql/models.py
Rmond/OperMge
926f00107614ed55b26ff3beac178fe955de856a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django_celery_beat.models import PeriodicTask from celery.worker.strategy import default # Create your models here. class Custom_Schedule(models.Model): sd_name=models.CharField(max_length=32) sd_num=mode...
36.53125
58
0.734816
153
1,169
5.366013
0.398693
0.182704
0.219245
0.292326
0.314251
0.190012
0.116931
0.116931
0.116931
0.116931
0
0.018499
0.167665
1,169
32
59
36.53125
0.825283
0.03935
0
0.08
0
0
0
0
0
0
0
0
0
1
0
false
0
0.16
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
cd084bb3024d23b58a5799a05525db511aae3276
126
py
Python
tests/plugins/package2/plugin1.py
abeyerpath/Snowfakery
98d04862f2e7638486cf38eb9e9fdb12b38e391e
[ "BSD-3-Clause" ]
81
2020-03-23T21:43:16.000Z
2022-03-21T06:24:19.000Z
tests/plugins/package2/plugin1.py
abeyerpath/Snowfakery
98d04862f2e7638486cf38eb9e9fdb12b38e391e
[ "BSD-3-Clause" ]
348
2020-04-08T13:33:15.000Z
2022-03-27T04:02:56.000Z
tests/plugins/package2/plugin1.py
abeyerpath/Snowfakery
98d04862f2e7638486cf38eb9e9fdb12b38e391e
[ "BSD-3-Clause" ]
20
2020-04-15T20:04:30.000Z
2022-03-16T16:52:04.000Z
from snowfakery import SnowfakeryPlugin class Plugin2_1(SnowfakeryPlugin): class Functions: hello = "Plugin2_1"
18
39
0.746032
13
126
7.076923
0.692308
0.456522
0
0
0
0
0
0
0
0
0
0.039604
0.198413
126
6
40
21
0.871287
0
0
0
0
0
0.071429
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
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
cd0934df525b4499719216d66a4a5c622d05b732
613
py
Python
lipy/endpoints/tournaments.py
mekhami/lipy
15730b5355a24df695cb50c1ffd3eb7e27986988
[ "MIT" ]
null
null
null
lipy/endpoints/tournaments.py
mekhami/lipy
15730b5355a24df695cb50c1ffd3eb7e27986988
[ "MIT" ]
null
null
null
lipy/endpoints/tournaments.py
mekhami/lipy
15730b5355a24df695cb50c1ffd3eb7e27986988
[ "MIT" ]
null
null
null
from lipy.config import TOURNAMENT_PATH from lipy.response import ResponseObject class TournamentEndpoint(object): def __init__(self, client): self.client = client def get_tournament(self, tournament_id, **url_params): tournament_path = TOURNAMENT_PATH + '/' + tournament_id return Tou...
32.263158
100
0.768352
70
613
6.385714
0.371429
0.120805
0.107383
0.152125
0.344519
0.344519
0.344519
0.344519
0.344519
0.344519
0
0
0.151713
613
18
101
34.055556
0.859615
0
0
0
0
0
0.001631
0
0
0
0
0
0
1
0.25
false
0.083333
0.166667
0.083333
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
cd3b0a59b748b8da6cfdb1d47f0f223e99d51edb
27,014
py
Python
src/signalalign/tests/test_signalAlignment.py
kishwarshafin/signalAlign
c9b7b9232ef6fb76aa427670981c969b887f4860
[ "MIT" ]
null
null
null
src/signalalign/tests/test_signalAlignment.py
kishwarshafin/signalAlign
c9b7b9232ef6fb76aa427670981c969b887f4860
[ "MIT" ]
null
null
null
src/signalalign/tests/test_signalAlignment.py
kishwarshafin/signalAlign
c9b7b9232ef6fb76aa427670981c969b887f4860
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Test signalAlignment.py""" ######################################################################## # File: test_signalAlignment.py # executable: test_signalAlignment.py # # Author: Andrew Bailey # History: 6/11/18 Created #######################################################################...
65.887805
216
0.638891
3,107
27,014
5.1944
0.121017
0.029742
0.045232
0.023422
0.785179
0.75742
0.720429
0.687651
0.648677
0.610571
0
0.043341
0.262049
27,014
409
217
66.0489
0.76624
0.130599
0
0.48505
0
0
0.193382
0.149463
0
0
0
0
0.112957
1
0.043189
false
0
0.036545
0
0.083056
0.009967
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
cd606a8aa209f793c34789189ff391a6bdf71057
925
py
Python
mmocr/models/builder.py
jeffreykuang/mmocr-1
b17304edeb493b0a4d7224c23d23b952350d0db5
[ "Apache-2.0" ]
206
2021-07-30T09:04:08.000Z
2022-03-22T00:57:44.000Z
mmocr/models/builder.py
jeffreykuang/mmocr-1
b17304edeb493b0a4d7224c23d23b952350d0db5
[ "Apache-2.0" ]
39
2021-08-05T07:16:46.000Z
2022-03-14T13:23:48.000Z
mmocr/models/builder.py
jeffreykuang/mmocr-1
b17304edeb493b0a4d7224c23d23b952350d0db5
[ "Apache-2.0" ]
61
2021-07-30T07:51:41.000Z
2022-03-30T14:40:02.000Z
from mmcv.utils import Registry, build_from_cfg RECOGNIZERS = Registry('recognizer') CONVERTORS = Registry('convertor') ENCODERS = Registry('encoder') DECODERS = Registry('decoder') PREPROCESSOR = Registry('preprocessor') def build_recognizer(cfg, train_cfg=None, test_cfg=None): """Build recognizer.""" retur...
27.205882
71
0.724324
115
925
5.626087
0.226087
0.083462
0.111283
0.193199
0.313756
0.313756
0.265842
0.265842
0.265842
0
0
0
0.165405
925
33
72
28.030303
0.838083
0.20973
0
0
0
0
0.06383
0
0
0
0
0
0
1
0.294118
false
0
0.058824
0
0.647059
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
cd62c0795b5e6786fe983c4cd63a5e1e82856669
402
py
Python
examples/issue-38-ndb-transactions/test.py
gregorynicholas/nose-gae
2102cc337060b4bf475a253c9a9b03d111c3ae59
[ "BSD-2-Clause" ]
2
2015-10-16T02:17:20.000Z
2016-01-10T21:42:11.000Z
examples/issue-38-ndb-transactions/test.py
gregorynicholas/nose-gae
2102cc337060b4bf475a253c9a9b03d111c3ae59
[ "BSD-2-Clause" ]
null
null
null
examples/issue-38-ndb-transactions/test.py
gregorynicholas/nose-gae
2102cc337060b4bf475a253c9a9b03d111c3ae59
[ "BSD-2-Clause" ]
null
null
null
from google.appengine.ext import ndb def setup_func(): """set up test fixtures""" ndb.get_context().set_cache_policy(False) @ndb.transactional def transactional_func(): pass def test_1(): ndb.Key('foo', 'bar').delete() def test_2(): transactional_func() test_1.nosegae_datastore_v3 = True test_1...
18.272727
45
0.728856
61
402
4.508197
0.491803
0.098182
0.130909
0.16
0.189091
0
0
0
0
0
0
0.023392
0.149254
402
21
46
19.142857
0.780702
0.049751
0
0
0
0
0.016
0
0
0
0
0
0
1
0.285714
true
0.071429
0.071429
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
3
cd6b2bab3db49c3009bbad2cf90beeb3efbfd504
2,585
py
Python
scripts/kim/train.py
ksboy/NLP_External_knowledge
989cf4debce2bc1040c0d95a46e4307336624917
[ "Apache-2.0" ]
54
2018-06-20T06:36:57.000Z
2022-03-07T07:28:57.000Z
scripts/kim/train.py
ksboy/NLP_External_knowledge
989cf4debce2bc1040c0d95a46e4307336624917
[ "Apache-2.0" ]
15
2018-09-12T06:58:07.000Z
2019-05-01T08:07:17.000Z
scripts/kim/train.py
ksboy/NLP_External_knowledge
989cf4debce2bc1040c0d95a46e4307336624917
[ "Apache-2.0" ]
15
2018-07-04T17:49:45.000Z
2021-06-08T14:31:52.000Z
import numpy import os import sys from main import train if __name__ == '__main__': model_name = os.path.basename(os.path.dirname(os.path.realpath(__file__))) train( saveto = '../../models/{}.npz'.format(model_name), reload_ = False, dim_word = 300, dim =...
48.773585
95
0.565571
296
2,585
4.503378
0.287162
0.162041
0.202551
0.310578
0.589647
0.589647
0.540135
0.540135
0.540135
0.454614
0
0.051183
0.297099
2,585
52
96
49.711538
0.682444
0
0
0
0
0
0.453947
0.44195
0
0
0
0
0
1
0
false
0
0.08
0
0.08
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cd6e3bbc9bb02376da91636f5817aecc904cf3b4
768
py
Python
Ebooks/models.py
Akash4307/Wise-master
5f484e3791a8e4361d8bcad570ac2661636a5cfc
[ "Apache-2.0" ]
null
null
null
Ebooks/models.py
Akash4307/Wise-master
5f484e3791a8e4361d8bcad570ac2661636a5cfc
[ "Apache-2.0" ]
8
2021-03-18T21:30:54.000Z
2022-03-02T14:56:55.000Z
Ebooks/models.py
Akash4307/Wise-master
5f484e3791a8e4361d8bcad570ac2661636a5cfc
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.urls import reverse class PdfInfo(models.Model): PdfName = models.CharField(max_length=500) PdfPrice = models.CharField(max_length=6, null=False, blank=False) PdfDescription = models.CharField(max_length = 10000, null=False) PdfPhoneNumber = models.CharField(...
24.774194
94
0.710938
95
768
5.589474
0.442105
0.118644
0.169492
0.225989
0.314501
0.205273
0.143126
0
0
0
0
0.046699
0.191406
768
30
95
25.6
0.808374
0
0
0
0
0
0.005208
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0.133333
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
cd768f7cc0941d8f00c650e5dcb70fc5a85d6e17
434
py
Python
webdriver_manager/config.py
kkumar3k/webdriver-manager
40c943723883d134ffe5d0a036d57c9426f6fe35
[ "MIT" ]
5
2018-11-07T16:21:37.000Z
2021-12-09T14:24:21.000Z
webdriver_manager/config.py
kkumar3k/webdriver-manager
40c943723883d134ffe5d0a036d57c9426f6fe35
[ "MIT" ]
1
2018-08-08T20:09:44.000Z
2018-11-02T03:13:34.000Z
webdriver_manager/config.py
kkumar3k/webdriver-manager
40c943723883d134ffe5d0a036d57c9426f6fe35
[ "MIT" ]
2
2021-04-13T18:37:32.000Z
2022-03-01T21:15:17.000Z
ALL_DRIVERS = ['chromedriver', 'geckodriver'] DEFAULT_DRIVERS = ['chromedriver', 'geckodriver'] CHROMEDRIVER_STORAGE_URL = 'https://chromedriver.storage.googleapis.com' CHROMEDRIVER_LATEST_FILE = 'https://chromedriver.storage.googleapis.com/LATEST_RELEASE' GECKODRIVER_LASTEST_URL = 'https://api.github.com/repos/mozi...
48.222222
92
0.813364
48
434
7.125
0.4375
0.166667
0.175439
0.19883
0.216374
0
0
0
0
0
0
0
0.050691
434
9
93
48.222222
0.830097
0
0
0
0
0
0.615207
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
26d2c33f5bbc235459f35ee5cc48bd99874f359f
7,860
py
Python
download_model.py
ihish52/d-HAT
7ea8ecf01896b144cea11ee54e20c5f533003be0
[ "MIT" ]
280
2020-05-20T04:59:40.000Z
2022-03-22T23:24:11.000Z
download_model.py
abodacs/hardware-aware-transformers
35d12828fb9e8e7a184adaa4caa187bef3a94be2
[ "MIT" ]
14
2020-06-10T02:12:54.000Z
2022-01-26T09:52:07.000Z
download_model.py
abodacs/hardware-aware-transformers
35d12828fb9e8e7a184adaa4caa187bef3a94be2
[ "MIT" ]
45
2020-05-29T05:10:26.000Z
2022-03-25T06:29:40.000Z
# HAT: Hardware-Aware Transformers for Efficient Natural Language Processing # Hanrui Wang, Zhanghao Wu, Zhijian Liu, Han Cai, Ligeng Zhu, Chuang Gan and Song Han # The 58th Annual Meeting of the Association for Computational Linguistics (ACL), 2020. # Paper: https://arxiv.org/abs/2005.14187 # Project page: https://han...
95.853659
167
0.76374
1,350
7,860
4.212593
0.174074
0.067522
0.126605
0.151925
0.723404
0.714964
0.624407
0.596272
0.019694
0
0
0.140734
0.067048
7,860
81
168
97.037037
0.634802
0.052545
0
0.029412
0
0.647059
0.833849
0.247748
0
0
0
0
0
1
0
false
0
0.044118
0
0.044118
0.014706
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f80b116eb7ae970929bfab72a1234aeeeb3b4eb8
1,411
py
Python
src/ggrc/utils/validators.py
ks-manish/ggrc-core
f9499236e0c6d2e29ff9d2acf403fdecd9c8a173
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/ggrc/utils/validators.py
ks-manish/ggrc-core
f9499236e0c6d2e29ff9d2acf403fdecd9c8a173
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/ggrc/utils/validators.py
ks-manish/ggrc-core
f9499236e0c6d2e29ff9d2acf403fdecd9c8a173
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Copyright (C) 2019 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> """Module with common validators for GGRC.""" from werkzeug import exceptions # pylint: disable=unused-argument def validate_object_type_ggrcq(mapper, content, target): """Validate object_type actions f...
27.666667
78
0.760454
186
1,411
5.575269
0.354839
0.046287
0.054002
0.052073
0.769527
0.769527
0.626808
0.626808
0.626808
0.626808
0
0.005034
0.155209
1,411
50
79
28.22
0.864933
0.217576
0
0.827586
0
0
0
0
0
0
0
0
0
1
0.068966
false
0
0.241379
0
0.37931
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f823a1385f9515cf35627fa3342e87d5729e7443
131
py
Python
tasks.py
ludovicchabant/Wikked
02ec3c0361ac90b0366e7a90f8928a54d40616b5
[ "Apache-2.0" ]
17
2015-10-10T11:37:33.000Z
2021-11-21T02:10:38.000Z
tasks.py
ludovicchabant/Wikked
02ec3c0361ac90b0366e7a90f8928a54d40616b5
[ "Apache-2.0" ]
1
2018-11-10T19:40:58.000Z
2019-03-09T07:47:53.000Z
tasks.py
ludovicchabant/Wikked
02ec3c0361ac90b0366e7a90f8928a54d40616b5
[ "Apache-2.0" ]
null
null
null
from invoke import Collection from monkeys.release import makerelease ns = Collection() ns.add_task(makerelease, name='release')
18.714286
40
0.801527
17
131
6.117647
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.114504
131
6
41
21.833333
0.896552
0
0
0
0
0
0.053435
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
f838df08c9c7c4f7ad103e7b0d8aeb641d317e27
140
py
Python
tests/test_app.py
adleida/adms
98efcb70d9c06dc7e5ca3fd7f01daff84974a565
[ "MIT" ]
null
null
null
tests/test_app.py
adleida/adms
98efcb70d9c06dc7e5ca3fd7f01daff84974a565
[ "MIT" ]
null
null
null
tests/test_app.py
adleida/adms
98efcb70d9c06dc7e5ca3fd7f01daff84974a565
[ "MIT" ]
null
null
null
# coding: utf-8 from . import client def test_index(client): res = client.get('/') assert 'Welcome' in res.data.decode('utf-8')
14
48
0.635714
21
140
4.190476
0.761905
0.090909
0
0
0
0
0
0
0
0
0
0.017857
0.2
140
9
49
15.555556
0.767857
0.092857
0
0
0
0
0.104
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f85e15528212fb82c3ad5b0ea30475a9f2402062
2,162
py
Python
iexfinance/refdata/base.py
jto-d/iexfinance
8bf958f269638b6f8d2dbdd857c0ef2ba324cdd4
[ "Apache-2.0" ]
653
2018-01-02T21:03:49.000Z
2022-03-24T06:37:10.000Z
iexfinance/refdata/base.py
jto-d/iexfinance
8bf958f269638b6f8d2dbdd857c0ef2ba324cdd4
[ "Apache-2.0" ]
219
2017-12-09T21:44:43.000Z
2022-03-23T20:21:46.000Z
iexfinance/refdata/base.py
jto-d/iexfinance
8bf958f269638b6f8d2dbdd857c0ef2ba324cdd4
[ "Apache-2.0" ]
155
2018-02-07T17:08:18.000Z
2022-03-13T23:36:57.000Z
import datetime import pandas as pd from iexfinance.base import _IEXBase class ReferenceData(_IEXBase): @property def url(self): return "ref-data/%s" % self.endpoint @property def endpoint(self): raise NotImplementedError class TradingDatesReader(ReferenceData): """ Base c...
25.435294
80
0.639223
236
2,162
5.716102
0.305085
0.065234
0.098592
0.119348
0.184581
0.184581
0.091179
0.063751
0
0
0
0.000618
0.251619
2,162
84
81
25.738095
0.833127
0.023127
0
0.254237
0
0
0.068225
0
0
0
0
0
0
1
0.20339
false
0
0.050847
0.101695
0.508475
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
f89ddf9217d44c5a47dd95be034e2da1e37bff35
1,693
py
Python
bin/find_package.py
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
11
2020-07-05T02:39:32.000Z
2022-03-20T18:52:44.000Z
bin/find_package.py
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
null
null
null
bin/find_package.py
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
4
2020-09-03T20:36:32.000Z
2022-01-19T07:42:21.000Z
#!/usr/bin/env python """ find_package.py ================= Following the simple heuristic of looking for *Config.cmake or *-config.cmake in directories of the CMAKE_PREFIX_PATH envvar attempt to predict which package CMake will find without asking CMake. :: unset CMAKE_PREFIX_PATH export CMAKE_PREFIX_PATH=$...
30.781818
94
0.759008
269
1,693
4.654275
0.498141
0.070288
0.095847
0.087859
0.185304
0.162939
0.162939
0.162939
0.152556
0.100639
0
0.001415
0.165387
1,693
54
95
31.351852
0.884643
0.940343
0
0
0
0
0.146067
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
f8b84d179f73de7c1e7b0a69cf574fe6814e15fa
741
py
Python
p1/meuapp/migrations/0001_initial.py
mentoriacompartilhada/helenamagaldi-v0
d26e5b4ae887382b02c00092c2487437bc9ffb78
[ "MIT" ]
1
2021-08-19T02:38:47.000Z
2021-08-19T02:38:47.000Z
p1/meuapp/migrations/0001_initial.py
mentoriacompartilhada/helenamagaldi-v0
d26e5b4ae887382b02c00092c2487437bc9ffb78
[ "MIT" ]
null
null
null
p1/meuapp/migrations/0001_initial.py
mentoriacompartilhada/helenamagaldi-v0
d26e5b4ae887382b02c00092c2487437bc9ffb78
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-25 18:21 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Client', fields=[ ('id', models.BigAutoFiel...
28.5
117
0.569501
76
741
5.434211
0.631579
0.108959
0.174334
0.232446
0.135593
0
0
0
0
0
0
0.047985
0.296896
741
25
118
29.64
0.744722
0.060729
0
0
1
0
0.063401
0
0
0
0
0
0
1
0
false
0.055556
0.055556
0
0.277778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
f8c9aae5a4ebd65c5510fbdd8a8f270fffb4b3d3
101
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/discussion/notification_prefs/__init__.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/discussion/notification_prefs/__init__.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/discussion/notification_prefs/__init__.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2019-01-02T14:38:50.000Z
2019-01-02T14:38:50.000Z
# lint-amnesty, pylint: disable=missing-module-docstring NOTIFICATION_PREF_KEY = "notification_pref"
33.666667
56
0.831683
12
101
6.75
0.833333
0.395062
0
0
0
0
0
0
0
0
0
0
0.069307
101
2
57
50.5
0.861702
0.534653
0
0
0
0
0.377778
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f8d18741801f001402393d574bf2c6bce62faee6
632
py
Python
mechanics/serialtestoct29.py
real-lake050317/Wheelchairproject
84e94b79f3d4d72b825755d4e4941558f6342b4b
[ "BSD-2-Clause" ]
2
2022-02-05T14:55:09.000Z
2022-03-29T10:21:21.000Z
mechanics/serialtestoct29.py
real-lake050317/Wheelchairproject
84e94b79f3d4d72b825755d4e4941558f6342b4b
[ "BSD-2-Clause" ]
4
2021-11-23T16:48:18.000Z
2022-03-20T23:23:18.000Z
mechanics/serialtestoct29.py
real-lake050317/Wheelchairproject
84e94b79f3d4d72b825755d4e4941558f6342b4b
[ "BSD-2-Clause" ]
1
2022-03-18T07:31:52.000Z
2022-03-18T07:31:52.000Z
import serial import time ser = serial.Serial('3', 9600) while True: command = input() serialwrite = "10" if (command == "0"): serialwrite = "0" serialwrite = serialwrite.encode('utf-8') ser.write(command) elif (command == "1"): serialwrite = "1" serialwrite = se...
27.478261
49
0.566456
67
632
5.343284
0.313433
0.24581
0.312849
0.346369
0.617318
0.617318
0.617318
0.617318
0.486034
0.486034
0
0.042035
0.28481
632
23
50
27.478261
0.75
0
0
0.363636
0
0
0.048973
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3e0371bd904d2d1190c489448843e6a2181be796
744
py
Python
flow_vis/__init__.py
kedartatwawadi/OpticalFlow_Visualization
9d05cc6cac9ecb1dc16ee8cb9d291c2ff3e68ce6
[ "MIT" ]
288
2018-11-12T10:49:02.000Z
2022-03-31T10:31:08.000Z
flow_vis/__init__.py
kedartatwawadi/OpticalFlow_Visualization
9d05cc6cac9ecb1dc16ee8cb9d291c2ff3e68ce6
[ "MIT" ]
7
2019-02-15T08:57:04.000Z
2022-02-08T13:55:37.000Z
flow_vis/__init__.py
kedartatwawadi/OpticalFlow_Visualization
9d05cc6cac9ecb1dc16ee8cb9d291c2ff3e68ce6
[ "MIT" ]
53
2018-12-31T13:19:52.000Z
2022-01-15T02:55:21.000Z
# MIT License # # Copyright (c) 2019, Tom Runia # # 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 Software without restriction, including without limitation the rights # to use, copy, modify, merge, p...
37.2
79
0.787634
111
744
5.09009
0.675676
0.077876
0.084956
0
0
0
0
0
0
0
0
0.018957
0.149194
744
19
80
39.157895
0.873618
0.717742
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.25
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
3e168cf8740624f7a77b17a4f7f6a46b56b1fe0f
248
py
Python
flask_restly/exception/conflict.py
gorzechowski/flask-restly
54f28b66f35b0ab12ba4ee37bcd6d39aaf24111a
[ "MIT" ]
16
2018-10-16T20:07:02.000Z
2021-01-07T13:01:05.000Z
flask_restly/exception/conflict.py
gorzechowski/flask-restly
54f28b66f35b0ab12ba4ee37bcd6d39aaf24111a
[ "MIT" ]
16
2018-10-16T14:09:55.000Z
2020-01-16T07:52:22.000Z
flask_restly/exception/conflict.py
gorzechowski/flask-restly
54f28b66f35b0ab12ba4ee37bcd6d39aaf24111a
[ "MIT" ]
1
2019-04-17T03:20:41.000Z
2019-04-17T03:20:41.000Z
from werkzeug.exceptions import Conflict as WerkzeugConflict class Conflict(WerkzeugConflict): description = "Conflict" def __init__(self, description=None): if description is not None: self.description = description
24.8
60
0.725806
25
248
7.04
0.64
0.170455
0
0
0
0
0
0
0
0
0
0
0.21371
248
9
61
27.555556
0.902564
0
0
0
0
0
0.032258
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
3e2bcceedce08950ecb3d3e9cc4b8bac910c3465
3,849
py
Python
pyTelegramBotAPI_botan.py
vb64/telegram.botan
9eb6269469e81334a6fa0c18c9706cf9a57ac300
[ "MIT" ]
null
null
null
pyTelegramBotAPI_botan.py
vb64/telegram.botan
9eb6269469e81334a6fa0c18c9706cf9a57ac300
[ "MIT" ]
null
null
null
pyTelegramBotAPI_botan.py
vb64/telegram.botan
9eb6269469e81334a6fa0c18c9706cf9a57ac300
[ "MIT" ]
null
null
null
# pyTelegramBotAPI + appmetrica.yandex.ru botan # # pip install pyTelegramBotAPI # wget https://raw.githubusercontent.com/botanio/sdk/master/botan.py # # from pyTelegramBotAPI_botan import Botan # # bot = Botan("telegram_bot_token", "metrica_api_token") # # set up 'start_prompt' function as handler for /start command i...
32.075
93
0.696545
473
3,849
5.437632
0.205074
0.034215
0.046656
0.048989
0.337481
0.175739
0.097201
0
0
0
0
0
0.204209
3,849
119
94
32.344538
0.8397
0.344245
0
0.153846
0
0
0.039453
0
0
0
0
0
0
1
0.346154
false
0
0.038462
0.192308
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
e40ece0121a4a3930ada24deed3dca28fd4e7c80
230
py
Python
concrete/common/tracing/__init__.py
iciac/concrete-numpy
debf888e9281263b731cfc4b31feb5de7ec7f47a
[ "FTL" ]
96
2022-01-12T15:07:50.000Z
2022-03-16T04:00:09.000Z
concrete/common/tracing/__init__.py
iciac/concrete-numpy
debf888e9281263b731cfc4b31feb5de7ec7f47a
[ "FTL" ]
10
2022-02-04T16:26:37.000Z
2022-03-25T14:08:01.000Z
concrete/common/tracing/__init__.py
iciac/concrete-numpy
debf888e9281263b731cfc4b31feb5de7ec7f47a
[ "FTL" ]
8
2022-01-12T15:07:55.000Z
2022-03-05T00:46:16.000Z
"""Module for basic tracing facilities.""" from .base_tracer import BaseTracer from .tracing_helpers import ( create_graph_from_output_tracers, make_input_tracer, make_input_tracers, prepare_function_parameters, )
25.555556
42
0.786957
28
230
6.035714
0.714286
0.106509
0
0
0
0
0
0
0
0
0
0
0.147826
230
8
43
28.75
0.862245
0.156522
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e41c078e61d9e5f41d0f9ce7a215e101e58e7017
1,266
py
Python
service/src/features/tv/eg_tv_feature.py
fjacob21/MAX
9cd9766262b49e9b1d425feb63e43b5d58707fd6
[ "MIT" ]
null
null
null
service/src/features/tv/eg_tv_feature.py
fjacob21/MAX
9cd9766262b49e9b1d425feb63e43b5d58707fd6
[ "MIT" ]
null
null
null
service/src/features/tv/eg_tv_feature.py
fjacob21/MAX
9cd9766262b49e9b1d425feb63e43b5d58707fd6
[ "MIT" ]
null
null
null
from eg_networksender import Send class eg_tv_feature(object): def __init__(self, device): self._device = device @property def name(self): return 'tv' @property def version(self): return 1 @property def description(self): return "Control TV using evenghos...
29.44186
109
0.601896
152
1,266
4.894737
0.282895
0.147849
0.107527
0.11828
0.362903
0.362903
0.295699
0.295699
0.295699
0.232527
0
0.002105
0.249605
1,266
42
110
30.142857
0.781053
0
0
0.125
0
0
0.14455
0
0
0
0
0
0
1
0.28125
false
0
0.03125
0.1875
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e4297dd5b6d6944898e954c3b1139a6d74f39e1d
44
py
Python
ndscheduler/version.py
hairbeartoe/ndscheduler
a5a6b1fc84ffa3d6765f3d63152198d4cffab4e9
[ "BSD-2-Clause" ]
1,038
2015-12-22T20:20:48.000Z
2022-03-24T09:39:16.000Z
ndscheduler/version.py
hairbeartoe/ndscheduler
a5a6b1fc84ffa3d6765f3d63152198d4cffab4e9
[ "BSD-2-Clause" ]
76
2015-12-23T18:19:44.000Z
2021-12-27T10:59:41.000Z
ndscheduler/version.py
hairbeartoe/ndscheduler
a5a6b1fc84ffa3d6765f3d63152198d4cffab4e9
[ "BSD-2-Clause" ]
215
2015-12-24T06:16:54.000Z
2022-03-30T02:35:30.000Z
__version__ = '0.3.0' # http://semver.org/
22
43
0.613636
7
44
3.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0.078947
0.136364
44
1
44
44
0.526316
0.409091
0
0
0
0
0.208333
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
e44cedd5761bc9ffa8ab64ec69b741c17fa34f6e
192
py
Python
SW/R/gerador_node/input_node.py
lhfaguiar/topologia_gerador
fd9ecff296e8d0dfe10ba905182ec7e178c6fa51
[ "MIT" ]
null
null
null
SW/R/gerador_node/input_node.py
lhfaguiar/topologia_gerador
fd9ecff296e8d0dfe10ba905182ec7e178c6fa51
[ "MIT" ]
null
null
null
SW/R/gerador_node/input_node.py
lhfaguiar/topologia_gerador
fd9ecff296e8d0dfe10ba905182ec7e178c6fa51
[ "MIT" ]
null
null
null
""" Esse arquivo gera o no de input """ # Imports import pandas as pd import math def Input_gen(input): """ Gero um no generico """ input_node = '' return input_node
10.666667
31
0.609375
27
192
4.222222
0.740741
0.157895
0
0
0
0
0
0
0
0
0
0
0.291667
192
18
32
10.666667
0.838235
0.3125
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e44eeb4f9e3d2a45e7372baaa47bd3700702c8c2
3,366
py
Python
magpie/dropboxlib/crawler/response.py
nimiq/moogle-project
f1fcac13fba43a6e93baf172571003359f4b725c
[ "Apache-2.0" ]
4
2018-06-25T15:57:26.000Z
2021-06-07T23:53:31.000Z
magpie/dropboxlib/crawler/response.py
puntonim/moogle-project
f1fcac13fba43a6e93baf172571003359f4b725c
[ "Apache-2.0" ]
null
null
null
magpie/dropboxlib/crawler/response.py
puntonim/moogle-project
f1fcac13fba43a6e93baf172571003359f4b725c
[ "Apache-2.0" ]
1
2017-06-17T09:53:21.000Z
2017-06-17T09:53:21.000Z
import logging import json from ..redislist import RedisDropboxDownloadList from ..entry import ApiDropboxEntry from response import AbstractApiResponse log = logging.getLogger('dropbox') class ApiDropboxResponse(AbstractApiResponse): """ A response got back from Dropbox after an update query. It is bu...
37.4
97
0.620024
406
3,366
5.007389
0.438424
0.029513
0.029513
0.019675
0
0
0
0
0
0
0
0.017662
0.293523
3,366
89
98
37.820225
0.837258
0.55199
0
0
0
0
0.038783
0
0
0
0
0
0
1
0.275862
false
0.034483
0.172414
0.103448
0.586207
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
e4527ca948e14e9afa5b97775e99c3e415efd4e1
278
py
Python
src/compas/geometry/triangulation/__init__.py
elidim/compas
b7fab867bbc2f505f1ce6a5375a4fa88623d0717
[ "MIT" ]
1
2019-03-27T22:46:29.000Z
2019-03-27T22:46:29.000Z
src/compas/geometry/triangulation/__init__.py
elidim/compas
b7fab867bbc2f505f1ce6a5375a4fa88623d0717
[ "MIT" ]
null
null
null
src/compas/geometry/triangulation/__init__.py
elidim/compas
b7fab867bbc2f505f1ce6a5375a4fa88623d0717
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from .triangulation import * from .triangulation_numpy import * from .triangulation_triangle import * __all__ = [name for name in dir() if not name.startswith('_')]
23.166667
62
0.805755
35
278
5.8
0.514286
0.147783
0.236453
0
0
0
0
0
0
0
0
0
0.136691
278
11
63
25.272727
0.845833
0
0
0
0
0
0.003597
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
0.142857
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e45f44aa9d78eb999582e52476a13438ccaf9859
150
py
Python
lupus_to_mqtt/Formatting.py
wmchris/lupus-to-mqtt
4a9d039fbebbf3633f1eac10ee9ba9a3ea753297
[ "MIT" ]
2
2021-07-05T08:40:53.000Z
2021-12-07T21:09:04.000Z
lupus_to_mqtt/Formatting.py
wmchris/lupus-to-mqtt
4a9d039fbebbf3633f1eac10ee9ba9a3ea753297
[ "MIT" ]
2
2021-08-24T17:13:26.000Z
2021-09-08T20:54:11.000Z
lupus_to_mqtt/Formatting.py
wmchris/lupus-to-mqtt
4a9d039fbebbf3633f1eac10ee9ba9a3ea753297
[ "MIT" ]
2
2021-06-05T15:21:27.000Z
2021-08-24T17:18:53.000Z
class Formatting: """Terminal formatting constants""" SUCCESS = '\033[92m' INFO = '\033[94m' WARNING = '\033[93m' END = '\033[0m'
21.428571
39
0.573333
17
150
5.058824
0.764706
0
0
0
0
0
0
0
0
0
0
0.168142
0.246667
150
6
40
25
0.59292
0.193333
0
0
0
0
0.269565
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
e47f66a1ad381ea7320d6243a3371d232a8c133a
192
py
Python
forests_type_prediction/upload.py
chauhanjatin10/kaggle_codes
2da966de0162b4e9e5da03c709a022e29137223f
[ "MIT" ]
null
null
null
forests_type_prediction/upload.py
chauhanjatin10/kaggle_codes
2da966de0162b4e9e5da03c709a022e29137223f
[ "MIT" ]
null
null
null
forests_type_prediction/upload.py
chauhanjatin10/kaggle_codes
2da966de0162b4e9e5da03c709a022e29137223f
[ "MIT" ]
null
null
null
import requests with open('train.csv','rb') as f: r = requests.post('https://colab.research.google.com/drive/1MGG440t65k8ODN4qjOkcB8wFi7zcGzPN#scrollTo=8YPnxpqBjN1Z', files={'train.csv': f})
48
141
0.765625
25
192
5.88
0.84
0.108844
0
0
0
0
0
0
0
0
0
0.066667
0.0625
192
4
141
48
0.75
0
0
0
0
0
0.595855
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
e4ab4785695a77aac7bb0a11320868a83894cdb9
244
py
Python
common/console.py
RUSHER0600/igc2acmi
35be0699154d6424a1d2e79cc1f32d28bdde11c2
[ "Zlib" ]
4
2021-12-10T17:06:15.000Z
2022-02-08T12:43:58.000Z
common/console.py
RUSHER0600/igc2acmi
35be0699154d6424a1d2e79cc1f32d28bdde11c2
[ "Zlib" ]
null
null
null
common/console.py
RUSHER0600/igc2acmi
35be0699154d6424a1d2e79cc1f32d28bdde11c2
[ "Zlib" ]
null
null
null
import colorama as cr cr.init() def info(msg): print(cr.Fore.BLUE+"[INFO] "+cr.Style.RESET_ALL+msg) def warn(msg): print(cr.Fore.YELLOW+"[WARN] "+cr.Style.RESET_ALL+msg) def err(msg): print(cr.Fore.RED+"[ERROR] "+cr.Style.RESET_ALL+msg)
18.769231
55
0.692623
45
244
3.688889
0.422222
0.144578
0.180723
0.253012
0.361446
0.253012
0
0
0
0
0
0
0.098361
244
12
56
20.333333
0.754545
0
0
0
0
0
0.090164
0
0
0
0
0
0
1
0.375
false
0
0.125
0
0.5
0.375
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e4b1d519341a1237b0aabce3edd8e0ca15ea1a48
496
py
Python
noteables/django_files/noteables/migrations/0002_auto_20210405_0029.py
Kokoboy87/noteables
7cf3722b562d1f1dc1f16266bef68a801ded3ba1
[ "BSD-3-Clause" ]
null
null
null
noteables/django_files/noteables/migrations/0002_auto_20210405_0029.py
Kokoboy87/noteables
7cf3722b562d1f1dc1f16266bef68a801ded3ba1
[ "BSD-3-Clause" ]
null
null
null
noteables/django_files/noteables/migrations/0002_auto_20210405_0029.py
Kokoboy87/noteables
7cf3722b562d1f1dc1f16266bef68a801ded3ba1
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.2 on 2021-04-05 04:29 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('noteables', '0001_initial'), ] operations = [ migrations.RenameField( model_name='note', old_name='note_content', ...
20.666667
45
0.550403
49
496
5.387755
0.571429
0.121212
0.19697
0.227273
0.340909
0.340909
0.340909
0.340909
0
0
0
0.054711
0.336694
496
23
46
21.565217
0.74772
0.086694
0
0.352941
1
0
0.13969
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
e4c8762a201aae00d8d0ae12afbc8e8fb8c060bf
629
py
Python
Chapter 8/Code/sense-button.py
professor-li/book-dow-iot-projects
5b2b16459298a6503b87c17ac550e635299aa945
[ "MIT" ]
17
2018-05-26T13:00:57.000Z
2021-11-11T09:07:18.000Z
Chapter 8/Code/sense-button.py
professor-li/book-dow-iot-projects
5b2b16459298a6503b87c17ac550e635299aa945
[ "MIT" ]
null
null
null
Chapter 8/Code/sense-button.py
professor-li/book-dow-iot-projects
5b2b16459298a6503b87c17ac550e635299aa945
[ "MIT" ]
16
2018-05-14T09:04:41.000Z
2021-11-11T09:07:22.000Z
from gpiozero import Button from sense_emu import SenseHat from time import sleep button = Button(4) sense = SenseHat() def display_x_mark(rate=1): sense.clear() X = (255,0,0) O = (255,255,255) x_mark = [ X,O,O,O,O,O,O,X, O,X,O,O,O,O,X,O, O,O,X,O,O,X,O,O, ...
16.552632
30
0.470588
119
629
2.411765
0.235294
0.243902
0.250871
0.209059
0.222997
0.222997
0.222997
0.222997
0.202091
0.195122
0
0.042607
0.36566
629
37
31
17
0.676692
0
0
0.307692
0
0
0
0
0
0
0
0
0
1
0.038462
false
0
0.115385
0
0.153846
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e4cca305954595854c08b35e3a96eefb7396f871
295
py
Python
examples/sync/get_next_prayer.py
HETHAT/aladhan.py
1426f2ab1c298c430f2b94f748bcab94129f500c
[ "MIT" ]
8
2021-04-23T16:26:41.000Z
2021-08-02T21:02:53.000Z
examples/sync/get_next_prayer.py
HETHAT/aladhan.py
1426f2ab1c298c430f2b94f748bcab94129f500c
[ "MIT" ]
2
2021-07-30T20:43:34.000Z
2021-08-20T21:44:39.000Z
examples/sync/get_next_prayer.py
HETHAT/aladhan.py
1426f2ab1c298c430f2b94f748bcab94129f500c
[ "MIT" ]
2
2021-04-23T15:47:43.000Z
2021-07-30T20:09:32.000Z
from aladhan import Client def main(): client = Client() next_prayer = client.get_next_prayer_by_address(address="London") print(next_prayer, "remaining:", next_prayer.remaining) print(next_prayer, "remaining for utc:", next_prayer.remaining_utc) client.close() main()
19.666667
71
0.722034
38
295
5.342105
0.447368
0.295567
0.374384
0.236453
0
0
0
0
0
0
0
0
0.162712
295
14
72
21.071429
0.821862
0
0
0
0
0
0.115254
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0.25
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
e4fce73eec571433f64b798cc278ee7a4629f4e6
7,234
py
Python
othello.py
2021AIT-OOP2-G06/oop2-othello
9a647b65f6cda4a6e7e0517afa778e75dc92e9e0
[ "MIT" ]
null
null
null
othello.py
2021AIT-OOP2-G06/oop2-othello
9a647b65f6cda4a6e7e0517afa778e75dc92e9e0
[ "MIT" ]
null
null
null
othello.py
2021AIT-OOP2-G06/oop2-othello
9a647b65f6cda4a6e7e0517afa778e75dc92e9e0
[ "MIT" ]
null
null
null
# 0: null # 1: white # 2: black #grid 8x8 from tabnanny import check grid = [ [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 2, 0, 0, 0], [0, 0, 0, 2, 1, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], ...
30.91453
74
0.383605
674
7,234
4.029674
0.127596
0.041973
0.059647
0.07511
0.677467
0.653166
0.634757
0.634757
0.617084
0.617084
0
0.035007
0.518247
7,234
233
75
31.04721
0.744333
0.156898
0
0.720779
0
0
0.001326
0
0
0
0
0
0
1
0.025974
false
0.006494
0.006494
0
0.084416
0.012987
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9006b44875bac2999897b6d0318ede256a8597d6
63
py
Python
epson_printer/__init__.py
alex071995/python-epson-printer
7d89b2f21bc76d2cc4d5ad548e19a356ca92fbc5
[ "MIT" ]
48
2015-02-13T19:58:40.000Z
2022-01-13T21:03:35.000Z
epson_printer/__init__.py
alex071995/python-epson-printer
7d89b2f21bc76d2cc4d5ad548e19a356ca92fbc5
[ "MIT" ]
12
2015-01-03T11:24:48.000Z
2018-05-08T13:38:23.000Z
epson_printer/__init__.py
alex071995/python-epson-printer
7d89b2f21bc76d2cc4d5ad548e19a356ca92fbc5
[ "MIT" ]
25
2015-02-06T21:50:01.000Z
2022-01-13T22:25:13.000Z
__version__ = "1.8.0" __all__ = ["epsonprinter","testpage"]
10.5
37
0.650794
7
63
4.714286
1
0
0
0
0
0
0
0
0
0
0
0.055556
0.142857
63
5
38
12.6
0.555556
0
0
0
0
0
0.409836
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
901fe48af134e59f0e0dff5b3326d69784caeed6
109
py
Python
1.py
solitariaa/cmput404-lab01
eec7b05f8ced3e563f88a391200d3d4ce44f3293
[ "Apache-2.0" ]
null
null
null
1.py
solitariaa/cmput404-lab01
eec7b05f8ced3e563f88a391200d3d4ce44f3293
[ "Apache-2.0" ]
null
null
null
1.py
solitariaa/cmput404-lab01
eec7b05f8ced3e563f88a391200d3d4ce44f3293
[ "Apache-2.0" ]
null
null
null
import requests r = requests.get('https://github.com/solitariaa/cmput404-lab1/blob/main/1.py') print(r.text)
27.25
78
0.761468
18
109
4.611111
0.888889
0
0
0
0
0
0
0
0
0
0
0.048544
0.055046
109
3
79
36.333333
0.757282
0
0
0
0
0
0.53211
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9044708e8e57645e5ac2b3c830deb518420aee04
457
py
Python
tests/software_tests/transmission_attributes/test_transmission_direction.py
mdabrowski1990/uds
1aee0c1de446ee3dd461706949504f2c218db1e8
[ "MIT" ]
18
2021-03-28T22:39:18.000Z
2022-02-13T21:50:37.000Z
tests/software_tests/transmission_attributes/test_transmission_direction.py
mdabrowski1990/uds
1aee0c1de446ee3dd461706949504f2c218db1e8
[ "MIT" ]
153
2021-02-09T09:27:05.000Z
2022-03-29T06:09:15.000Z
tests/software_tests/transmission_attributes/test_transmission_direction.py
mdabrowski1990/uds
1aee0c1de446ee3dd461706949504f2c218db1e8
[ "MIT" ]
1
2021-05-13T16:01:46.000Z
2021-05-13T16:01:46.000Z
from aenum import StrEnum from uds.transmission_attributes.transmission_direction import TransmissionDirection from uds.utilities import ValidatedEnum class TestTransmissionDirection: """Unit tests for 'TransmissionDirection' class.""" def test_inheritance__enum_str(self): assert issubclass(Transmis...
30.466667
84
0.809628
44
457
8.181818
0.568182
0.038889
0.1
0.227778
0
0
0
0
0
0
0
0
0.135667
457
14
85
32.642857
0.911392
0.098468
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.375
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
3
5f52454a814bb6f5852101ccbe9dc20e4867b801
596
py
Python
examples/users/analytics/api.py
mazulo/django-mock-queries
ad89723e92d6e3c08e017a6147cc50498872bd86
[ "MIT" ]
235
2016-03-27T20:04:25.000Z
2022-03-23T01:39:49.000Z
examples/users/analytics/api.py
mazulo/django-mock-queries
ad89723e92d6e3c08e017a6147cc50498872bd86
[ "MIT" ]
136
2016-03-30T13:10:43.000Z
2022-03-10T17:38:44.000Z
examples/users/analytics/api.py
sdelements/django-mock-queries
0bab367c8a0553d1c52f2ca45cae7ead5bb24445
[ "MIT" ]
52
2016-05-30T23:00:59.000Z
2022-03-29T12:55:56.000Z
from datetime import date from django.contrib.auth.models import User from django.db.models import Count class AnalyticsApi(object): def active_users(self): return User.objects.filter(is_active=True).all() def create_user(self, **attrs): return User.objects.create(**attrs) def today_visi...
31.368421
97
0.723154
81
596
5.135802
0.481481
0.105769
0.122596
0.100962
0.139423
0.139423
0
0
0
0
0
0
0.161074
596
18
98
33.111111
0.832
0
0
0
0
0
0.058725
0
0
0
0
0
0
1
0.307692
false
0
0.230769
0.230769
0.923077
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
5f67eec15c879296e14e78b17c12feece79699d3
258
py
Python
Mundo 1/Aula 8/EX017-Tamanho da Hipotenusa.py
mandamg/Exercicios-de-Python-do-Curso-em-Video
3f818c11c3c10213bebc1dfb6a740adee468ea3a
[ "MIT" ]
null
null
null
Mundo 1/Aula 8/EX017-Tamanho da Hipotenusa.py
mandamg/Exercicios-de-Python-do-Curso-em-Video
3f818c11c3c10213bebc1dfb6a740adee468ea3a
[ "MIT" ]
null
null
null
Mundo 1/Aula 8/EX017-Tamanho da Hipotenusa.py
mandamg/Exercicios-de-Python-do-Curso-em-Video
3f818c11c3c10213bebc1dfb6a740adee468ea3a
[ "MIT" ]
null
null
null
#quadrado do cateto adj + quadrado do cateto oposto import math ca = float(input('digite o valor do cateto adjacente: ')) co = float(input('digite o cateto oposto: ')) #hp = (ca**2+co**2)**(1/2) hp = math.hypot(co, ca) print(f'A hipotenusa vai medir {hp}')
32.25
57
0.678295
45
258
3.888889
0.555556
0.137143
0.182857
0.194286
0
0
0
0
0
0
0
0.018349
0.155039
258
7
58
36.857143
0.784404
0.294574
0
0
0
0
0.483333
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5f704ad47c2a6fb2eadfe7e838296277f6556bcd
372
py
Python
src/lib/EmptyStmtNode.py
Amtoniusz/latte
52498a8b37fd9b0d9fa6e559855f38bc4e0cad9e
[ "MIT" ]
null
null
null
src/lib/EmptyStmtNode.py
Amtoniusz/latte
52498a8b37fd9b0d9fa6e559855f38bc4e0cad9e
[ "MIT" ]
null
null
null
src/lib/EmptyStmtNode.py
Amtoniusz/latte
52498a8b37fd9b0d9fa6e559855f38bc4e0cad9e
[ "MIT" ]
null
null
null
from lib.compileException import compileException class EmptyStmtNode(): def __init__(self, stmt_type, line ): self.stmt_type = stmt_type self.return_type = None self.line = line def checkType(self, s): pass def text(self): print(f"empty stmt") def chec...
24.8
49
0.629032
46
372
4.891304
0.5
0.106667
0.106667
0
0
0
0
0
0
0
0
0
0.284946
372
15
50
24.8
0.845865
0
0
0
0
0
0.02681
0
0
0
0
0
0
1
0.333333
false
0.083333
0.083333
0.083333
0.583333
0.083333
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
5f7edfa4e6749a17a2632bdaccd6cde5f0eddeb3
156
py
Python
tests/executor.py
adriangb/anydep
6ab38c1d4befe8783431e0b954848488ea21eae2
[ "MIT" ]
5
2021-07-30T10:10:16.000Z
2021-09-23T11:23:15.000Z
tests/executor.py
adriangb/anydep
6ab38c1d4befe8783431e0b954848488ea21eae2
[ "MIT" ]
3
2021-07-26T06:22:09.000Z
2021-09-24T16:11:08.000Z
tests/executor.py
adriangb/anydep
6ab38c1d4befe8783431e0b954848488ea21eae2
[ "MIT" ]
1
2021-09-17T07:22:23.000Z
2021-09-17T07:22:23.000Z
from di import AsyncExecutor, SyncExecutor class TestExecutor(SyncExecutor, AsyncExecutor): pass # pragma: no cover test_executor = TestExecutor()
17.333333
48
0.775641
16
156
7.5
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.160256
156
8
49
19.5
0.916031
0.102564
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.25
0.25
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
1
0
0
0
0
0
3
5f959bc77bcbd5cac402fc911699d4a3c7abbbf8
245
py
Python
amd64-linux/lib/python/mod_ppc405gp_turbo_commands.py
qiyancos/Simics-3.0.31
9bd52d5abad023ee87a37306382a338abf7885f1
[ "BSD-4-Clause", "FSFAP" ]
1
2020-06-15T10:41:18.000Z
2020-06-15T10:41:18.000Z
amd64-linux/lib/python/mod_ppc405gp_commands.py
qiyancos/Simics-3.0.31
9bd52d5abad023ee87a37306382a338abf7885f1
[ "BSD-4-Clause", "FSFAP" ]
null
null
null
amd64-linux/lib/python/mod_ppc405gp_commands.py
qiyancos/Simics-3.0.31
9bd52d5abad023ee87a37306382a338abf7885f1
[ "BSD-4-Clause", "FSFAP" ]
3
2020-08-10T10:25:02.000Z
2021-09-12T01:12:09.000Z
import ppc_commands ppc_model = 'ppc405gp' funcs = {} ppc_commands.setup_local_functions(ppc_model, funcs) class_funcs = { ppc_model: funcs } ppc_commands.enable_generic_ppc_commands(ppc_model) ppc_commands.enable_4xx_tlb_commands(ppc_model)
22.272727
52
0.832653
36
245
5.166667
0.388889
0.295699
0.258065
0.204301
0
0
0
0
0
0
0
0.017857
0.085714
245
10
53
24.5
0.8125
0
0
0
0
0
0.032653
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5f9db55da6898a398468939c2ddf423a221b880a
948
py
Python
app/services/users.py
loge1998/fitness-app
f21e1a27e01f2890741fbff2b32288ac55dda44d
[ "MIT" ]
null
null
null
app/services/users.py
loge1998/fitness-app
f21e1a27e01f2890741fbff2b32288ac55dda44d
[ "MIT" ]
null
null
null
app/services/users.py
loge1998/fitness-app
f21e1a27e01f2890741fbff2b32288ac55dda44d
[ "MIT" ]
null
null
null
from app.db.users import get_user_by_username from app.db.users import create_user as create_user_db_service, \ check_if_username_present as db_check_if_username_present, get_user_by_id as db_get_user_id, \ update_user_by_id as db_update_user_by_id, get_user_by_username as db_get_user_by_username,\ get_all_...
27.085714
98
0.812236
162
948
4.209877
0.160494
0.112903
0.105572
0.14956
0.516129
0.090909
0
0
0
0
0
0
0.122363
948
34
99
27.882353
0.819712
0
0
0
0
0
0.007392
0
0
0
0
0
0
1
0.35
false
0
0.1
0.3
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5faa769ef5bd2a701c1ad2da43fa094e28712f93
319
py
Python
iam/users/utils.py
Shubh0405/MFC-OAuth-provider
7e1718fab11e153a37832043b9fac319aa6e1660
[ "MIT" ]
null
null
null
iam/users/utils.py
Shubh0405/MFC-OAuth-provider
7e1718fab11e153a37832043b9fac319aa6e1660
[ "MIT" ]
null
null
null
iam/users/utils.py
Shubh0405/MFC-OAuth-provider
7e1718fab11e153a37832043b9fac319aa6e1660
[ "MIT" ]
null
null
null
from django.core.mail import EmailMessage import os import smtplib import yagmail class Util: @staticmethod def send_email(data): yag = yagmail.SMTP(user='shubhakshat10@gmail.com', password='Gupta2002') yag.send(to=data['to_email'], subject=data['email_subject'], contents=data['email_body'])
26.583333
97
0.724138
42
319
5.404762
0.666667
0.105727
0
0
0
0
0
0
0
0
0
0.02214
0.15047
319
11
98
29
0.815498
0
0
0
0
0
0.197492
0.0721
0
0
0
0
0
1
0.111111
false
0.111111
0.444444
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
5fab9da15e59f4f32a58e90eb6a34a7211804938
474
py
Python
j5basic/test_ImportModuleDef.py
rorygrandin/j5basic
499ad5f7eed3537e5f24b5bb3ea1e7dd60f56349
[ "Apache-2.0" ]
null
null
null
j5basic/test_ImportModuleDef.py
rorygrandin/j5basic
499ad5f7eed3537e5f24b5bb3ea1e7dd60f56349
[ "Apache-2.0" ]
5
2019-05-27T07:10:43.000Z
2020-06-18T06:57:54.000Z
j5basic/test_ImportModuleDef.py
rorygrandin/j5basic
499ad5f7eed3537e5f24b5bb3ea1e7dd60f56349
[ "Apache-2.0" ]
4
2015-08-27T10:28:19.000Z
2020-04-17T13:31:18.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from future import standard_library standard_library.install_aliases() from builtins import * from j5basic import ImportModuleDef def test_importmoduledef(): module =...
31.6
55
0.820675
53
474
6.867925
0.396226
0.137363
0.21978
0
0
0
0
0
0
0
0
0.004843
0.128692
474
14
56
33.857143
0.876513
0
0
0
0
0
0.078059
0
0
0
0
0
0.153846
1
0.076923
false
0
0.846154
0
0.923077
0.076923
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5fb2bba22d7d717431769e8812d2c48102ddd73c
111
py
Python
posts/messages.py
TourKakao-Carping/Carping-Backend
d4cebaceaf1820e6d850d2fc45258c6e4551e00c
[ "MIT" ]
10
2021-07-14T05:18:52.000Z
2021-12-14T07:29:20.000Z
posts/messages.py
TourKakao-Carping/Carping-Backend
d4cebaceaf1820e6d850d2fc45258c6e4551e00c
[ "MIT" ]
6
2021-08-15T10:15:19.000Z
2021-09-19T07:05:27.000Z
posts/messages.py
TourKakao-Carping/Carping-Backend
d4cebaceaf1820e6d850d2fc45258c6e4551e00c
[ "MIT" ]
2
2021-10-30T12:48:40.000Z
2021-12-01T13:31:40.000Z
from django.utils.translation import ugettext_lazy as _ # 유저 삭제 API ALREADY_DEACTIVATED = _("이미 삭제된 포스트입니다.")
22.2
55
0.774775
16
111
5.125
1
0
0
0
0
0
0
0
0
0
0
0
0.144144
111
4
56
27.75
0.863158
0.081081
0
0
0
0
0.14
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
5fb5045e66ec35b520abbeb8532dbcb5c47ede0f
369
py
Python
simple_rl/abstraction/action_abs/PolicyFromDictClass.py
david-abel/mdps
d8fe6007efb4840377f085a4e35ba89aaa2cdf6d
[ "Apache-2.0" ]
230
2016-08-04T12:59:11.000Z
2022-03-15T04:14:40.000Z
simple_rl/abstraction/action_abs/PolicyFromDictClass.py
david-abel/mdps
d8fe6007efb4840377f085a4e35ba89aaa2cdf6d
[ "Apache-2.0" ]
36
2016-08-31T19:31:36.000Z
2021-11-17T03:58:24.000Z
simple_rl/abstraction/action_abs/PolicyFromDictClass.py
david-abel/mdps
d8fe6007efb4840377f085a4e35ba89aaa2cdf6d
[ "Apache-2.0" ]
95
2016-08-31T19:10:45.000Z
2022-03-15T04:15:39.000Z
# Python imports. from __future__ import print_function import random from collections import defaultdict # Other imports. from simple_rl.abstraction.action_abs.PolicyClass import Policy class PolicyFromDict(Policy): def __init__(self, policy_dict): self.policy_dict = policy_dict def get_action(self...
23.0625
63
0.772358
47
369
5.723404
0.574468
0.148699
0.156134
0
0
0
0
0
0
0
0
0
0.165312
369
15
64
24.6
0.873377
0.081301
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.444444
0.111111
0.888889
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
3
3967be4688c0c3ca304b7f1a78a779e199969f44
101
py
Python
#4-9 Cube Comprehension.py
nemuelpalomo/Python-Crash-Course
6873e3a4ae98074aacd86188d51ce81b2b3a1d90
[ "Apache-2.0" ]
null
null
null
#4-9 Cube Comprehension.py
nemuelpalomo/Python-Crash-Course
6873e3a4ae98074aacd86188d51ce81b2b3a1d90
[ "Apache-2.0" ]
null
null
null
#4-9 Cube Comprehension.py
nemuelpalomo/Python-Crash-Course
6873e3a4ae98074aacd86188d51ce81b2b3a1d90
[ "Apache-2.0" ]
null
null
null
#4-9 Cube Comprehension numberscube = [value ** 3 for value in range(1, 11)] print(numberscube)
20.2
53
0.693069
15
101
4.666667
0.866667
0
0
0
0
0
0
0
0
0
0
0.073171
0.188119
101
5
54
20.2
0.780488
0.217822
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
39923c810c51a224b24ac5b4781591d1992d36e8
153,183
py
Python
Client Launcher/resources_rc.py
FlantasticDan/awscraft
f68d74e4dc8775a90056c5d748a50d91ed8fa30f
[ "MIT" ]
null
null
null
Client Launcher/resources_rc.py
FlantasticDan/awscraft
f68d74e4dc8775a90056c5d748a50d91ed8fa30f
[ "MIT" ]
null
null
null
Client Launcher/resources_rc.py
FlantasticDan/awscraft
f68d74e4dc8775a90056c5d748a50d91ed8fa30f
[ "MIT" ]
null
null
null
# Resource object code (Python 3) # Created by: object code # Created by: The Resource Compiler for Qt version 5.14.1 # WARNING! All changes made in this file will be lost! from PySide2 import QtCore qt_resource_data = b"\ \x00\x00\x04\x02\ \x89\ PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\ \x00\x00`\x00\x00\x00`\x08...
51.231773
96
0.714511
34,847
153,183
3.136913
0.112291
0.104728
0.097729
0.086724
0.383883
0.373408
0.362403
0.3444
0.324146
0.305483
0
0.328916
0.021184
153,183
2,989
97
51.248913
0.400132
0.001071
0
0.042646
0
0.754533
0.000477
0.000425
0
0
0.000052
0
0
1
0.000672
false
0
0.000336
0
0.001007
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
399ad1221e4a6474fbbbd5a4e1d97150430f5af6
990
py
Python
src/rom_operator_inference/core/nonparametric/__init__.py
gtpash/rom-operator-inference-Python3
a5e05a4442121f7c536060194fec0166976b04b1
[ "MIT" ]
1
2019-07-19T03:55:39.000Z
2019-07-19T03:55:39.000Z
src/rom_operator_inference/core/nonparametric/__init__.py
gtpash/rom-operator-inference-Python3
a5e05a4442121f7c536060194fec0166976b04b1
[ "MIT" ]
2
2019-08-09T02:53:14.000Z
2019-09-24T17:33:21.000Z
src/rom_operator_inference/core/nonparametric/__init__.py
gtpash/rom-operator-inference-Python3
a5e05a4442121f7c536060194fec0166976b04b1
[ "MIT" ]
2
2019-07-19T20:31:13.000Z
2019-10-17T15:02:12.000Z
# core/nonparametric/__init__.py """Nonparametric Operator Inference reduced-order model (ROM) classes. Please note that this module is private. All public objects are available in the main namespace - use that instead whenever possible. Public Classes -------------- * SteadyOpInfROM: ROM for steady-state problems. ...
33
79
0.782828
110
990
6.836364
0.572727
0.069149
0.079787
0
0
0
0
0
0
0
0
0
0.124242
990
29
80
34.137931
0.867359
0.909091
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
399e75ba2a6f939333758b8cca10af67ba41c196
532
py
Python
Interview_Questions/string_compression.py
Mosuswalks/Python-Data-Structures
0f430941ecf1495b6536b89e1678fdaeed9879cb
[ "Apache-2.0" ]
null
null
null
Interview_Questions/string_compression.py
Mosuswalks/Python-Data-Structures
0f430941ecf1495b6536b89e1678fdaeed9879cb
[ "Apache-2.0" ]
null
null
null
Interview_Questions/string_compression.py
Mosuswalks/Python-Data-Structures
0f430941ecf1495b6536b89e1678fdaeed9879cb
[ "Apache-2.0" ]
null
null
null
from itertools import groupby # Question 1.6 # Implement a method to perform basic string compression usng the counts of repeated characters. # # (1) Grouping by chars with groupby(string) # (2) Counting length of group with sum(1 for _ in group) (because no len on group is possible) # (3) Joining into proper format...
26.6
113
0.697368
83
532
4.445783
0.662651
0.070461
0.03794
0
0
0
0
0
0
0
0
0.023419
0.197368
532
19
114
28
0.840749
0.590226
0
0
0
0
0.023923
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
3
39b0e646f6a2161cc799a4f0f950ebdc3a22c00a
435
py
Python
mmdet/cv_core/__init__.py
Karybdis/mmdetection-mini
cf255db8037cfeecb7927268d018432f5771ab2e
[ "MIT" ]
834
2020-09-08T08:00:04.000Z
2022-03-29T01:25:55.000Z
mmdet/cv_core/__init__.py
mgnfcnt-ec/mmdet
46647fba610dfb396569d7910058c707d67d4ec4
[ "Apache-2.0" ]
44
2020-09-16T14:21:58.000Z
2022-03-07T04:28:39.000Z
mmdet/cv_core/__init__.py
mgnfcnt-ec/mmdet
46647fba610dfb396569d7910058c707d67d4ec4
[ "Apache-2.0" ]
161
2020-09-10T03:26:35.000Z
2022-03-22T11:25:04.000Z
# -*- coding: utf-8 -*- # ====================================================== # @Time : 20-9-7 下午8:14 # @Author : huang ha # @Email : huang_ha@rr.com # @File : __init__.py.py # @Comment: # ====================================================== from .fileio import * from .image import * from .utils import *...
24.166667
56
0.473563
46
435
4.369565
0.630435
0.348259
0
0
0
0
0
0
0
0
0
0.022039
0.165517
435
17
57
25.588235
0.53168
0.551724
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
39ca370c3948c00f79b7439a00d0542a8837511c
2,327
py
Python
saticl/datasets/wrappers.py
edornd/multimodal-icl
f79bfa73665db471c12ee9cb57bbee1bcabb0467
[ "MIT" ]
6
2021-12-08T05:58:18.000Z
2021-12-29T09:55:32.000Z
saticl/datasets/wrappers.py
edornd/multimodal-icl
f79bfa73665db471c12ee9cb57bbee1bcabb0467
[ "MIT" ]
null
null
null
saticl/datasets/wrappers.py
edornd/multimodal-icl
f79bfa73665db471c12ee9cb57bbee1bcabb0467
[ "MIT" ]
null
null
null
from typing import Any, Dict, List import torch from saticl.datasets.base import DatasetBase from saticl.transforms import ContrastiveTransform, SSLTransform class SSLDataset(DatasetBase): def __init__(self, dataset: DatasetBase, transform: SSLTransform) -> None: super().__init__() self.dataset...
33.724638
88
0.646326
294
2,327
4.938776
0.326531
0.106061
0.093664
0.041322
0.115702
0.052342
0
0
0
0
0
0.023635
0.236356
2,327
68
89
34.220588
0.793472
0.138376
0
0.045455
0
0
0
0
0
0
0
0
0
1
0.295455
false
0
0.090909
0.181818
0.704545
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
39e5e842651d4021fd2cc98f7b068b64162ca9f1
5,443
py
Python
slack/bots/skynet/bot_log.py
aegiacometti/pychatops-basic
44525fb1f4b114d12c6b6d0777690e7757afbcd5
[ "Apache-2.0" ]
3
2020-11-04T00:40:18.000Z
2021-01-15T08:27:56.000Z
slack/bots/skynet/bot_log.py
aegiacometti/pychatops-basic
44525fb1f4b114d12c6b6d0777690e7757afbcd5
[ "Apache-2.0" ]
null
null
null
slack/bots/skynet/bot_log.py
aegiacometti/pychatops-basic
44525fb1f4b114d12c6b6d0777690e7757afbcd5
[ "Apache-2.0" ]
null
null
null
from slack.common import bot_ops, log_ops, slack_ops import subprocess from os import path def command_syntax(): return '@Bot-Skynet bot.log _bot_name_' def command_help(): return 'Command \"bot.log\" help\n' \ '***********************\n' \ 'View the log file of a Bot.\n' \ ...
56.697917
118
0.566599
621
5,443
4.68599
0.143317
0.067354
0.076976
0.071478
0.742612
0.740206
0.708591
0.697251
0.697251
0.668385
0
0.010064
0.306265
5,443
95
119
57.294737
0.760593
0
0
0.512821
0
0
0.20632
0.009554
0
0
0
0
0
1
0.038462
false
0
0.038462
0.025641
0.102564
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
39eb9212b6c2b960fd762c6760446e158dfe5828
9,385
py
Python
pyvibdmc/tests/test_pyvibdmc.py
McCoyGroup/pyvibdmc
9697b81dd66ed10f3f127c677c9f81dc56de6786
[ "MIT" ]
6
2020-10-06T04:24:53.000Z
2022-01-05T18:31:56.000Z
pyvibdmc/tests/test_pyvibdmc.py
McCoyGroup/pyvibdmc
9697b81dd66ed10f3f127c677c9f81dc56de6786
[ "MIT" ]
1
2021-01-15T01:32:56.000Z
2021-01-15T01:32:56.000Z
pyvibdmc/tests/test_pyvibdmc.py
McCoyGroup/pyvibdmc
9697b81dd66ed10f3f127c677c9f81dc56de6786
[ "MIT" ]
2
2021-09-17T23:42:39.000Z
2022-02-02T13:53:39.000Z
import numpy as np import sys, os import pyvibdmc as pv import pytest sim_ex_dir = "exSimResults" def test_pyvibdmc_imported(): """Sample test, will always pass so long as import statement worked""" assert "pyvibdmc" in sys.modules def test_run_dmc_short(): import shutil if os.path.isdir(sim_ex_dir...
38.780992
118
0.49089
942
9,385
4.57431
0.183652
0.029241
0.024136
0.025064
0.742864
0.715943
0.699698
0.697378
0.669993
0.661406
0
0.044457
0.417581
9,385
242
119
38.780992
0.743871
0.20341
0
0.718391
0
0
0.0926
0.049872
0
0
0
0
0.04023
1
0.04023
false
0
0.045977
0
0.086207
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
39f0e9e27b51c1ea327370294bdb8d493f7ecd97
1,150
py
Python
release/stubs.min/System/Windows/Controls/__init___parts/DataGridEditingUnit.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/System/Windows/Controls/__init___parts/DataGridEditingUnit.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/System/Windows/Controls/__init___parts/DataGridEditingUnit.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class DataGridEditingUnit(Enum, IComparable, IFormattable, IConvertible): """ Defines constants that specify whether editing is enabled on a cell level or on a row level. enum DataGridEditingUnit,values: Cell (0),Row (1) """ def __eq__(self, *args): """ x.__eq__(y) <==> x==yx.__eq__(y)...
25
221
0.573913
134
1,150
4.216418
0.373134
0.141593
0.148673
0.159292
0.228319
0.228319
0.228319
0.2
0.2
0.2
0
0.002463
0.293913
1,150
45
222
25.555556
0.69335
0.411304
0
0.416667
0
0
0
0
0
0
0
0
0
1
0.416667
false
0.416667
0
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
8422e90f2ad445059d372566e342db5ae08167d5
78,169
py
Python
tests/test_marathon_tools.py
oholiab/paasta
f008e07622aaf09b43513fcaaef501e320870ae6
[ "Apache-2.0" ]
null
null
null
tests/test_marathon_tools.py
oholiab/paasta
f008e07622aaf09b43513fcaaef501e320870ae6
[ "Apache-2.0" ]
4
2021-02-08T20:55:34.000Z
2021-03-26T00:29:25.000Z
tests/test_marathon_tools.py
oholiab/paasta
f008e07622aaf09b43513fcaaef501e320870ae6
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 Yelp Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
44.163277
120
0.609487
7,992
78,169
5.536036
0.074825
0.06758
0.040774
0.033315
0.799702
0.762024
0.724234
0.692207
0.666215
0.639612
0
0.010531
0.291765
78,169
1,769
121
44.188242
0.788646
0.012256
0
0.569221
0
0
0.176394
0.073661
0
0
0
0
0.098269
1
0.056242
false
0.002472
0.005562
0
0.067985
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ffbf5aa57c93ecec98d0874ad9979eafef752213
2,346
py
Python
Python/functional_data_structures.py
tsao-chi/miniKANREN
064d40cd926ce47bf3fe469fd3262873c26dfc29
[ "MIT" ]
2
2021-04-22T18:05:31.000Z
2022-03-25T22:52:26.000Z
Python/functional_data_structures.py
tsao-chi/miniKANREN
064d40cd926ce47bf3fe469fd3262873c26dfc29
[ "MIT" ]
1
2021-08-13T11:46:11.000Z
2021-08-13T11:46:11.000Z
Python/functional_data_structures.py
tsao-chi/miniKANREN
064d40cd926ce47bf3fe469fd3262873c26dfc29
[ "MIT" ]
1
2021-08-12T07:17:24.000Z
2021-08-12T07:17:24.000Z
from copy import deepcopy class Singleton: """Class with a single instance""" def __new__(cls): obj = object.__new__(cls) cls.__new__ = lambda _: obj return obj class NullMap(Singleton): """The empty Map""" @staticmethod def is_empty(): return True def inse...
22.132075
99
0.573316
277
2,346
4.534296
0.285199
0.055732
0.033439
0.035032
0.211783
0.167197
0.113057
0.113057
0.066879
0.066879
0
0.003081
0.308184
2,346
105
100
22.342857
0.770795
0.055413
0
0.267606
0
0
0.025103
0
0
0
0
0
0
1
0.309859
false
0
0.014085
0.197183
0.661972
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
ffc87ac708a36b5d3704a804d54fd40252a10e62
52
py
Python
subsystems/__init__.py
FusionCorps/2020-Green
c68c89351dcf32328b9d9c3a326ded0c53f3c9ed
[ "MIT" ]
5
2020-01-04T19:49:23.000Z
2020-02-08T15:32:08.000Z
subsystems/__init__.py
FusionCorps/2020-Green
c68c89351dcf32328b9d9c3a326ded0c53f3c9ed
[ "MIT" ]
8
2019-10-24T03:17:18.000Z
2020-01-10T02:39:07.000Z
subsystems/__init__.py
FusionCorps/2020-Green
c68c89351dcf32328b9d9c3a326ded0c53f3c9ed
[ "MIT" ]
1
2020-01-10T00:07:12.000Z
2020-01-10T00:07:12.000Z
from .chassis import Chassis i_chassis = Chassis()
13
28
0.769231
7
52
5.571429
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.153846
52
3
29
17.333333
0.886364
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0809767e398c1e26766b56f5de4e183a80fa0aec
260
py
Python
tests/test__identifier.py
chdemko/pandoc-numbering
19e6dfd6d5c2e213e279bc6aed0b5caae84249c7
[ "BSD-3-Clause" ]
29
2016-03-16T10:46:25.000Z
2021-09-09T19:03:57.000Z
tests/test__identifier.py
chdemko/pandoc-numbering
19e6dfd6d5c2e213e279bc6aed0b5caae84249c7
[ "BSD-3-Clause" ]
24
2016-03-16T10:53:13.000Z
2021-03-17T23:11:58.000Z
tests/test__identifier.py
chdemko/pandoc-numbering
19e6dfd6d5c2e213e279bc6aed0b5caae84249c7
[ "BSD-3-Clause" ]
8
2017-08-28T21:30:30.000Z
2020-12-27T21:04:15.000Z
# This Python file uses the following encoding: utf-8 from unittest import TestCase from pandoc_numbering import Numbered class IdentifierTest(TestCase): def test__identifier(self): self.assertEqual(Numbered._identifier(u"0123 Ê à"), "e-a")
26
70
0.75
35
260
5.457143
0.828571
0
0
0
0
0
0
0
0
0
0
0.023148
0.169231
260
9
71
28.888889
0.861111
0.196154
0
0
0
0
0.072464
0
0
0
0
0
0.2
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
0821db81942f22f9413b2ad430e7bba6354d9e01
2,715
gyp
Python
externals/skia/gyp/libpng.gyp
terrajobst/linux-packaging-skiasharp
47dbb2ff9ae01305b190f409ccea00b3b4f0bc79
[ "MIT" ]
1
2019-10-29T14:36:32.000Z
2019-10-29T14:36:32.000Z
externals/skia/gyp/libpng.gyp
terrajobst/linux-packaging-skiasharp
47dbb2ff9ae01305b190f409ccea00b3b4f0bc79
[ "MIT" ]
1
2017-06-18T00:25:03.000Z
2017-11-29T16:01:48.000Z
externals/skia/gyp/libpng.gyp
terrajobst/linux-packaging-skiasharp
47dbb2ff9ae01305b190f409ccea00b3b4f0bc79
[ "MIT" ]
5
2017-11-30T06:06:50.000Z
2022-03-31T21:48:49.000Z
# Copyright 2014 Google Inc. # # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'skia_warnings_as_errors': 0, }, 'targets': [ { 'target_name': 'libpng', 'type': 'none', 'conditions': [ [ 'skia_android_framewor...
28.882979
75
0.495764
261
2,715
4.877395
0.363985
0.164965
0.263943
0.213669
0.177533
0.045562
0.045562
0.045562
0
0
0
0.008811
0.331123
2,715
93
76
29.193548
0.692181
0.045672
0
0.329545
0
0
0.522042
0.366203
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0827e957d678586126f86621376253d9a468aced
3,583
py
Python
tunas/arch/theano_arch/tensor.py
yancz1989/tunas
ea3a4a56295a3e8d0d3fbb4d7ec3c0a78500897d
[ "MIT" ]
null
null
null
tunas/arch/theano_arch/tensor.py
yancz1989/tunas
ea3a4a56295a3e8d0d3fbb4d7ec3c0a78500897d
[ "MIT" ]
null
null
null
tunas/arch/theano_arch/tensor.py
yancz1989/tunas
ea3a4a56295a3e8d0d3fbb4d7ec3c0a78500897d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Author: yancz1989 # @Date: 2016-06-19 10:52:49 # @Last Modified by: yancz1989 # @Last Modified time: 2016-12-04 17:03:06 from __future__ import absolute_import, print_function, division import numpy as np import tunas.arch.env as env import tunas.core.interfaces import theano import the...
24.04698
85
0.693832
552
3,583
4.413043
0.311594
0.037356
0.022167
0.012315
0.042693
0.021346
0
0
0
0
0
0.015583
0.176109
3,583
148
86
24.209459
0.809621
0.104103
0
0.020619
0
0
0.001878
0
0
0
0
0
0.010309
1
0.340206
false
0.010309
0.103093
0.268041
0.773196
0.010309
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
f22bd582d4bfe031795253ee69701fd12e86a43f
2,356
py
Python
spider/eth/get.py
corgi-m/blockchain_visiable
f35c872933929c75b1443f1f03a4ab2ac1b34973
[ "MIT" ]
1
2022-02-18T00:47:37.000Z
2022-02-18T00:47:37.000Z
spider/eth/get.py
corgi-m/blockchain_visiable
f35c872933929c75b1443f1f03a4ab2ac1b34973
[ "MIT" ]
null
null
null
spider/eth/get.py
corgi-m/blockchain_visiable
f35c872933929c75b1443f1f03a4ab2ac1b34973
[ "MIT" ]
null
null
null
# coding=utf-8 from config import config from net import Net from spider.oklink.get import OKlink, OKGet class ETH(OKlink): __linkname = 'ETH' @staticmethod def get_other(address) -> list[Net.AsyncRequest]: # 代币列表 params = {"limit": "100", 'tokenType': 'ERC20'} return Net.greq_get(confi...
36.8125
93
0.68039
265
2,356
5.90566
0.192453
0.095847
0.115016
0.102236
0.795527
0.722684
0.674121
0.60639
0.576358
0.576358
0
0.005777
0.191851
2,356
63
94
37.396825
0.816176
0.028014
0
0.425532
0
0
0.056116
0
0
0
0
0
0
1
0.234043
false
0
0.06383
0.021277
0.574468
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
f239b5d0acc630858f924d99784e4c1346e11aee
184
py
Python
setup.py
koichi-ezato/DevDoc
d3864e9efa3b358978035a95c60382e6588ab72c
[ "MIT" ]
3
2016-03-08T10:58:27.000Z
2017-02-16T23:49:25.000Z
setup.py
koichi-ezato/DevDoc
d3864e9efa3b358978035a95c60382e6588ab72c
[ "MIT" ]
null
null
null
setup.py
koichi-ezato/DevDoc
d3864e9efa3b358978035a95c60382e6588ab72c
[ "MIT" ]
null
null
null
#: encoding: utf-8 u"""setup.pyファイル""" from setuptools import setup, find_packages setup( name="devdoc", version="0.1", packages=find_packages(), test_suite="test" )
15.333333
43
0.657609
24
184
4.916667
0.75
0.20339
0
0
0
0
0
0
0
0
0
0.019868
0.179348
184
11
44
16.727273
0.761589
0.163043
0
0
0
0
0.087838
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f23a9721254c732558b03baea95574b2e455a704
242
py
Python
Creating_Web_services_in_Python/WEEK_7_PROJECT_SMART_HOUSE/Project_smart_house/coursera_house/core/models.py
diekaltesonne/PYTHON_COURSE
16213ff2cfc18c2cbf52c9884722e004febbf7f4
[ "MIT" ]
1
2020-11-04T13:41:57.000Z
2020-11-04T13:41:57.000Z
Creating_Web_services_in_Python/WEEK_7_PROJECT_SMART_HOUSE/Project_smart_house/coursera_house/core/models.py
diekaltesonne/Python_course
16213ff2cfc18c2cbf52c9884722e004febbf7f4
[ "MIT" ]
null
null
null
Creating_Web_services_in_Python/WEEK_7_PROJECT_SMART_HOUSE/Project_smart_house/coursera_house/core/models.py
diekaltesonne/Python_course
16213ff2cfc18c2cbf52c9884722e004febbf7f4
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Setting(models.Model): controller_name = models.CharField(max_length=40, unique=True) label = models.CharField(max_length=100) value = models.IntegerField(default=20)
30.25
66
0.760331
33
242
5.484848
0.757576
0.165746
0.198895
0.265193
0
0
0
0
0
0
0
0.033654
0.140496
242
8
67
30.25
0.836538
0.099174
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f23f92a55fbd5223ef0f8ba92da1fae90ab17fa0
165
py
Python
test/test.py
taseikyo/ZhihuSpider
a26af5077f1e0fa8dad56e82c3fe62f1aac13739
[ "MIT" ]
1
2021-01-16T07:55:08.000Z
2021-01-16T07:55:08.000Z
test/test.py
taseikyo/ZhihuSpider
a26af5077f1e0fa8dad56e82c3fe62f1aac13739
[ "MIT" ]
null
null
null
test/test.py
taseikyo/ZhihuSpider
a26af5077f1e0fa8dad56e82c3fe62f1aac13739
[ "MIT" ]
null
null
null
import sys from zhihu.main import main url = r'https://www.zhihu.com/question/296752647' sys.argv = ['zhihu', '-u', url, '-w', r"E:\test", '--image-only'] main()
18.333333
65
0.636364
27
165
3.888889
0.703704
0
0
0
0
0
0
0
0
0
0
0.0625
0.127273
165
8
66
20.625
0.666667
0
0
0
0
0
0.414634
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
f24bd66e6e627182d516c86fa237ac929e3036c7
83
py
Python
services/database/src/database/db.py
jads-master-team-1/de-1
30cbe0175c3f9ee9a3041bce32d9f5e4af8a7ede
[ "MIT" ]
null
null
null
services/database/src/database/db.py
jads-master-team-1/de-1
30cbe0175c3f9ee9a3041bce32d9f5e4af8a7ede
[ "MIT" ]
10
2021-11-14T09:21:32.000Z
2022-01-02T17:40:18.000Z
services/database/src/database/db.py
jads-master-team-1/de-1
30cbe0175c3f9ee9a3041bce32d9f5e4af8a7ede
[ "MIT" ]
null
null
null
from flask_sqlalchemy import Model, SQLAlchemy db = SQLAlchemy(model_class=Model)
20.75
46
0.831325
11
83
6.090909
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.108434
83
3
47
27.666667
0.905405
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f254f6ba9b2cb821e8472673b581a19dd1133873
303
py
Python
tests/clpy_tests/opencl_tests/test_api.py
fixstars/clpy
693485f85397cc110fa45803c36c30c24c297df0
[ "BSD-3-Clause" ]
142
2018-06-07T07:43:10.000Z
2021-10-30T21:06:32.000Z
tests/clpy_tests/opencl_tests/test_api.py
fixstars/clpy
693485f85397cc110fa45803c36c30c24c297df0
[ "BSD-3-Clause" ]
282
2018-06-07T08:35:03.000Z
2021-03-31T03:14:32.000Z
tests/clpy_tests/opencl_tests/test_api.py
fixstars/clpy
693485f85397cc110fa45803c36c30c24c297df0
[ "BSD-3-Clause" ]
19
2018-06-19T11:07:53.000Z
2021-05-13T20:57:04.000Z
# -*- coding: utf-8 -*- import unittest class TestApi(unittest.TestCase): """test class of OpenCL API""" def test_import(self): self.assertTrue(True) # Always OK if no exeption from import # TODO(LWisteria): Implement more case if __name__ == "__main__": unittest.main()
17.823529
69
0.653465
38
303
4.973684
0.763158
0
0
0
0
0
0
0
0
0
0
0.004237
0.221122
303
16
70
18.9375
0.79661
0.39934
0
0
0
0
0.045977
0
0
0
0
0.0625
0.166667
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
f2971988d886e2f4cdc8f7e56c84a2c9dd3f20ef
967
py
Python
src/functions/test_function_arbitrary_arguments.py
LucienDon/learn-python
150f9403511b3a897246988d642279926a018627
[ "MIT" ]
null
null
null
src/functions/test_function_arbitrary_arguments.py
LucienDon/learn-python
150f9403511b3a897246988d642279926a018627
[ "MIT" ]
null
null
null
src/functions/test_function_arbitrary_arguments.py
LucienDon/learn-python
150f9403511b3a897246988d642279926a018627
[ "MIT" ]
null
null
null
"""任意的参数列表 @see: https://docs.python.org/3/tutorial/controlflow.html#arbitrary-argument-lists 函数可以使用任意数量的参数来调用。这些参数将封装在一个元组中。 在可变数量的参数之前,可能会出现零个或多个普通参数。 """ def test_function_arbitrary_arguments(): """任意的参数列表""" # 当出现 **name 的最后一个正式形参时,它将接收一个字典,其中包含除与正式形参对应的关键字参数外的所有关键字参数。 # 这可以与 *name 的形式参数结合使用,该形式参数接...
32.233333
82
0.692865
98
967
6.765306
0.571429
0.060332
0.084465
0.066365
0.078431
0
0
0
0
0
0
0.001222
0.154085
967
29
83
33.344828
0.809291
0.455016
0
0
0
0
0.256917
0
0
0
0
0
0.444444
1
0.333333
false
0
0
0.111111
0.444444
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
1
0
1
0
0
0
1
0
0
0
3
f297f3ed69eb6bf24d9bb6aa579bd9310f023962
102
py
Python
our_package/__init__.py
HiyanZhang/programming-for-life-sciences
cba2af325de6f63377ad98ca156d736704b91268
[ "Apache-2.0" ]
3
2020-10-07T09:43:01.000Z
2020-10-13T12:32:08.000Z
our_package/__init__.py
HiyanZhang/programming-for-life-sciences
cba2af325de6f63377ad98ca156d736704b91268
[ "Apache-2.0" ]
null
null
null
our_package/__init__.py
HiyanZhang/programming-for-life-sciences
cba2af325de6f63377ad98ca156d736704b91268
[ "Apache-2.0" ]
2
2020-10-12T11:58:32.000Z
2020-10-13T14:20:38.000Z
"""Container for all Our Package modules.""" from . import math # noqa: F401 __version__ = "0.1.0"
17
44
0.666667
15
102
4.266667
0.933333
0
0
0
0
0
0
0
0
0
0
0.072289
0.186275
102
5
45
20.4
0.698795
0.490196
0
0
0
0
0.108696
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
f298d8476ecb15cd968743c9e36a887c41a9eb54
1,154
py
Python
apps/board/serializers/thread.py
anonim-legivon/picoboard
801064126ccc88c13703b36e0d7c33ddb831c443
[ "MIT" ]
16
2017-11-30T09:52:57.000Z
2022-01-11T17:49:39.000Z
apps/board/serializers/thread.py
anonim-legivon/picoboard
801064126ccc88c13703b36e0d7c33ddb831c443
[ "MIT" ]
68
2019-01-05T08:09:18.000Z
2021-06-25T15:17:39.000Z
apps/board/serializers/thread.py
anonim-legivon/picoboard
801064126ccc88c13703b36e0d7c33ddb831c443
[ "MIT" ]
2
2021-10-30T23:27:39.000Z
2022-03-01T12:55:03.000Z
from rest_framework import serializers from .post import PostSerializer from ..models import Thread THREAD_READ_ONLY_FIELDS = ( 'is_pinned', 'is_closed', 'thread_id', ) THREAD_EXCLUDE_FIELDS = ('id',) class ThreadPreviewSerializer(serializers.ModelSerializer): op_post = PostSerializer(many=False) last_...
28.146341
59
0.743501
119
1,154
6.941176
0.310924
0.261501
0.084746
0.072639
0.641646
0.641646
0.641646
0.641646
0.641646
0.641646
0
0
0.17591
1,154
40
60
28.85
0.868559
0
0
0.551724
0
0
0.044194
0
0
0
0
0
0
1
0
false
0
0.103448
0
0.655172
0
0
0
0
null
1
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
0
0
0
0
0
1
0
0
3
4b4981775d909f0ed63a77657f11aa28e03dc587
338
py
Python
tfy/tfy/doctype/bank_file_data/bank_file_data.py
deepeshgarg007/TFY
5309d369ad3c4ab3386798011d5ee7a14a503cf4
[ "MIT" ]
null
null
null
tfy/tfy/doctype/bank_file_data/bank_file_data.py
deepeshgarg007/TFY
5309d369ad3c4ab3386798011d5ee7a14a503cf4
[ "MIT" ]
null
null
null
tfy/tfy/doctype/bank_file_data/bank_file_data.py
deepeshgarg007/TFY
5309d369ad3c4ab3386798011d5ee7a14a503cf4
[ "MIT" ]
2
2019-12-12T05:35:26.000Z
2019-12-12T05:36:24.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2019, hello@openetech.com and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe import _ from frappe.utils import flt from frappe.model.document import Document class BankFileData(Document): def vali...
28.166667
58
0.786982
46
338
5.652174
0.717391
0.115385
0
0
0
0
0
0
0
0
0
0.017065
0.133136
338
12
59
28.166667
0.870307
0.372781
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0.125
0.625
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
4b4bc96ec3cb5e6975e7d9655b315303f442757e
180
py
Python
surl/model/user.py
LarryPavanery/surl
6bcef9bc90ded3f68cf9546873baffa5bcc72e01
[ "MIT" ]
null
null
null
surl/model/user.py
LarryPavanery/surl
6bcef9bc90ded3f68cf9546873baffa5bcc72e01
[ "MIT" ]
null
null
null
surl/model/user.py
LarryPavanery/surl
6bcef9bc90ded3f68cf9546873baffa5bcc72e01
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- ''' __author__ = "Larry_Pavanery ''' class User(object): def __init__(self, id, url_keys=[]): self.id = id self.url_keys = url_keys
16.363636
40
0.577778
23
180
4
0.652174
0.228261
0
0
0
0
0
0
0
0
0
0.007353
0.244444
180
10
41
18
0.669118
0.294444
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
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
4b54b0d07661f63c0925c9d169074646f3253f63
582
py
Python
qcloudsdkvpc/DescribeSSLVpnDomainRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkvpc/DescribeSSLVpnDomainRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkvpc/DescribeSSLVpnDomainRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class DescribeSSLVpnDomainRequest(Request): def __init__(self): super(DescribeSSLVpnDomainRequest, self).__init__( 'vpc', 'qcloudcliV1', 'DescribeSSLVpnDomain', 'vpc.api.qcloud.com') def get_sslVpnId(self): return ...
26.454545
79
0.666667
65
582
5.723077
0.415385
0.096774
0.075269
0.091398
0.139785
0.139785
0
0
0
0
0
0.004292
0.199313
582
21
80
27.714286
0.793991
0.036082
0
0
0
0
0.139535
0
0
0
0
0
0
1
0.384615
false
0
0.076923
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
4b57b6abf7181f386c80450cd0d159dc0259affa
229
py
Python
app/bps/myself.py
bopopescu/redis-ctl
16ae59b6dfe3d62ecb59951bd81395c370b005ef
[ "MIT" ]
109
2015-02-11T03:06:09.000Z
2017-06-06T09:48:00.000Z
app/bps/myself.py
bopopescu/redis-ctl
16ae59b6dfe3d62ecb59951bd81395c370b005ef
[ "MIT" ]
14
2015-04-10T02:09:21.000Z
2017-04-24T00:22:18.000Z
app/bps/myself.py
bopopescu/redis-ctl
16ae59b6dfe3d62ecb59951bd81395c370b005ef
[ "MIT" ]
53
2015-03-13T15:34:34.000Z
2017-05-05T22:31:49.000Z
from flask import render_template from app.bpbase import Blueprint bp = Blueprint('myself', __name__, url_prefix='/myself') @bp.route('/3rd') def thirdparty(): return render_template('myself/thirdparty.html', app=bp.app)
20.818182
64
0.746725
31
229
5.290323
0.612903
0.170732
0
0
0
0
0
0
0
0
0
0.004951
0.117904
229
10
65
22.9
0.806931
0
0
0
0
0
0.170306
0.09607
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
0.666667
0.333333
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
4b66b6fa6367f40e3383fabc20d5864e8f69129d
394
py
Python
switch_model/transmission/transport/__init__.py
ashutosh-pande/switch3
769d25a42c8323f24740567aa15c980f905a03e2
[ "ECL-2.0", "Apache-2.0" ]
100
2015-06-30T02:33:39.000Z
2022-02-07T17:28:10.000Z
switch_model/transmission/transport/__init__.py
ashutosh-pande/switch3
769d25a42c8323f24740567aa15c980f905a03e2
[ "ECL-2.0", "Apache-2.0" ]
117
2015-07-07T00:45:01.000Z
2021-05-29T18:55:06.000Z
switch_model/transmission/transport/__init__.py
ashutosh-pande/switch3
769d25a42c8323f24740567aa15c980f905a03e2
[ "ECL-2.0", "Apache-2.0" ]
70
2015-06-30T02:36:05.000Z
2022-03-08T00:15:32.000Z
# Copyright 2017 The Switch Authors. All rights reserved. # Licensed under the Apache License, Version 2, which is in the LICENSE file. """ This package implements a transport model for the transmission network. The core modules in the package are build and dispatch. """ core_modules = [ 'switch_model.transmiss...
28.142857
77
0.769036
53
394
5.660377
0.622642
0.033333
0.153333
0.213333
0
0
0
0
0
0
0
0.01506
0.15736
394
13
78
30.307692
0.888554
0.662437
0
0
0
0
0.696721
0.696721
0
0
0
0
0
1
0
false
0
0
0
0
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4b728f1070afc468484424f24379249b7ec0e64f
145
py
Python
aioface/fb/__init__.py
kirillkuzin/aioface
c19f89f3f0f6ccb95832030444f2ece8fda7de62
[ "MIT" ]
1
2020-09-12T21:10:54.000Z
2020-09-12T21:10:54.000Z
aioface/fb/__init__.py
kirillkuzin/aioface
c19f89f3f0f6ccb95832030444f2ece8fda7de62
[ "MIT" ]
null
null
null
aioface/fb/__init__.py
kirillkuzin/aioface
c19f89f3f0f6ccb95832030444f2ece8fda7de62
[ "MIT" ]
null
null
null
from .facebook_request import FacebookRequest from .factory import FacebookFactory __all__ = ['FacebookRequest', 'FacebookFactory']
20.714286
45
0.758621
12
145
8.75
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.172414
145
6
46
24.166667
0.875
0
0
0
0
0
0.206897
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
4b78077447bee0e7fe20af612c44a55efe8c7ff7
311
py
Python
components/power.py
ccarcam1/bluelake-scripting
6adb35a032301a86f79c1075bf525242073e7023
[ "Apache-2.0" ]
4
2019-03-27T20:39:31.000Z
2022-01-07T09:28:13.000Z
components/power.py
ccarcam1/bluelake-scripting
6adb35a032301a86f79c1075bf525242073e7023
[ "Apache-2.0" ]
3
2019-06-20T12:28:44.000Z
2021-10-05T10:04:57.000Z
components/power.py
ccarcam1/bluelake-scripting
6adb35a032301a86f79c1075bf525242073e7023
[ "Apache-2.0" ]
1
2020-03-13T21:52:44.000Z
2020-03-13T21:52:44.000Z
from bluelake import power # Reading values print("Trapping laser", power.trapping_laser) # get power in % print("Overall {:.2f} %".format(power.overall_trapping_power)) print(power.trap1_split) print(power.qtrap_split) print(power.bright_field_led) # Setting values power.bright_field_led = 7 # value in %
25.916667
63
0.771704
45
311
5.133333
0.511111
0.12987
0.12987
0.164502
0
0
0
0
0
0
0
0.01087
0.11254
311
11
64
28.272727
0.826087
0.176849
0
0
0
0
0.119522
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0.714286
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
4b9d0f82e60a673c46d983b6a18d98a1cb049b73
247
py
Python
pages/views.py
cristianCarrerasCastillo/django_cafeteria
32284869e35ab125403ca2e703f7112ceaf227a9
[ "MIT" ]
1
2021-04-19T02:44:21.000Z
2021-04-19T02:44:21.000Z
pages/views.py
cristianCarrerasCastillo/django_cafeteria
32284869e35ab125403ca2e703f7112ceaf227a9
[ "MIT" ]
null
null
null
pages/views.py
cristianCarrerasCastillo/django_cafeteria
32284869e35ab125403ca2e703f7112ceaf227a9
[ "MIT" ]
null
null
null
from django.shortcuts import get_object_or_404, render from .models import Page # Create your views here. def page(request, page_id): page = get_object_or_404(Page, id=page_id) return render(request, 'pages/sample.html', {'page': page})
30.875
63
0.744939
39
247
4.512821
0.564103
0.102273
0.125
0.159091
0
0
0
0
0
0
0
0.028436
0.145749
247
7
64
35.285714
0.805687
0.093117
0
0
0
0
0.094595
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
4bb2b275b3c7b1c7618c099d2306e614ab765518
233
py
Python
01_Language/01_Functions/python/ctype_alpha.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
3
2020-06-28T07:42:51.000Z
2021-01-15T10:32:11.000Z
01_Language/01_Functions/python/ctype_alpha.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
9
2021-03-10T22:45:40.000Z
2022-02-27T06:53:20.000Z
01_Language/01_Functions/python/ctype_alpha.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
1
2021-01-15T10:51:24.000Z
2021-01-15T10:51:24.000Z
# coding: utf-8 strings = ['KjgWZC', 'arf12', ''] for s in strings: if s.isalpha(): print("The string " + s + " consists of all letters.") else: print("The string " + s + " does not consist of all letters.")
25.888889
70
0.562232
32
233
4.09375
0.6875
0.122137
0.21374
0.229008
0
0
0
0
0
0
0
0.017751
0.274678
233
8
71
29.125
0.757396
0.055794
0
0
0
0
0.417431
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4bb3e6e3d687f4290854ef32f9af4631db5efdee
218
py
Python
lib/requests.py
oiertwo/pyjokes-stand
145f1ffbd3e0c63437ab2a7f0eb7b46eb3ca43b8
[ "BSD-3-Clause" ]
2
2019-09-29T19:33:17.000Z
2020-10-31T06:53:01.000Z
lib/requests.py
oiertwo/pyjokes-stand
145f1ffbd3e0c63437ab2a7f0eb7b46eb3ca43b8
[ "BSD-3-Clause" ]
2
2019-09-30T21:58:41.000Z
2019-12-12T09:10:45.000Z
lib/requests.py
oiertwo/pyjokes-stand
145f1ffbd3e0c63437ab2a7f0eb7b46eb3ca43b8
[ "BSD-3-Clause" ]
2
2019-09-29T19:44:29.000Z
2020-10-31T06:53:03.000Z
"""Sets API for home page requests.""" from enum import Enum class Request(Enum): """Class represents web request.""" GET: str = "GET" POST: str = "POST" PUT: str = "PUT" DELETE: str = "DELETE"
16.769231
39
0.591743
29
218
4.448276
0.62069
0.139535
0
0
0
0
0
0
0
0
0
0
0.256881
218
12
40
18.166667
0.796296
0.284404
0
0
0
0
0.110345
0
0
0
0
0
0
1
0
true
0
0.166667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
4bc060959cbf90bbae11062be71315e82b78f692
8,622
py
Python
pybgl/graph.py
nokia/PyBGL
e9868361e5a3870b5247872a8c8c91a1c065fe84
[ "BSD-3-Clause" ]
11
2019-05-20T16:47:03.000Z
2021-12-17T10:24:22.000Z
pybgl/graph.py
nokia/PyBGL
e9868361e5a3870b5247872a8c8c91a1c065fe84
[ "BSD-3-Clause" ]
null
null
null
pybgl/graph.py
nokia/PyBGL
e9868361e5a3870b5247872a8c8c91a1c065fe84
[ "BSD-3-Clause" ]
3
2019-05-24T02:24:30.000Z
2020-03-17T09:55:40.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # This file is part of the pybgl project. # https://github.com/nokia/pybgl __author__ = "Marc-Olivier Buob" __maintainer__ = "Marc-Olivier Buob" __email__ = "marc-olivier.buob@nokia-bell-labs.com" __copyright__ = "Copyright (C) 2018, Nokia" __license__ = "B...
29.426621
122
0.528648
1,155
8,622
3.7671
0.14026
0.033326
0.016548
0.024132
0.419444
0.363824
0.291887
0.236957
0.215812
0.154677
0
0.003059
0.279634
8,622
292
123
29.527397
0.697472
0.220019
0
0.153409
0
0
0.018544
0.005671
0
0
0
0
0.005682
1
0.289773
false
0
0.005682
0.1875
0.5625
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
4bc30fc69768fb7808458f7ec8e2810720b1b095
1,067
py
Python
genomic_data_service/rnaseq/views.py
ENCODE-DCC/genomic-data-service
954017a5bcc5f448fbe2867768186df5e066c67c
[ "MIT" ]
3
2020-10-26T02:15:55.000Z
2022-01-26T18:39:09.000Z
genomic_data_service/rnaseq/views.py
ENCODE-DCC/genomic-data-service
954017a5bcc5f448fbe2867768186df5e066c67c
[ "MIT" ]
3
2021-08-17T02:01:54.000Z
2022-03-30T17:14:02.000Z
genomic_data_service/rnaseq/views.py
ENCODE-DCC/genomic-data-service
954017a5bcc5f448fbe2867768186df5e066c67c
[ "MIT" ]
1
2022-03-24T21:15:34.000Z
2022-03-24T21:15:34.000Z
from genomic_data_service import app from genomic_data_service.rnaseq.searches import rnaget_report from genomic_data_service.rnaseq.searches import rnaget_search from genomic_data_service.rnaseq.searches import rnaget_search_quick from genomic_data_service.rnaseq.searches import rnaget_expression_matrix from genomi...
31.382353
73
0.805998
140
1,067
5.771429
0.164286
0.209158
0.111386
0.163366
0.705446
0.576733
0.49505
0.49505
0.262376
0
0
0
0.096532
1,067
33
74
32.333333
0.838174
0
0
0.181818
0
0
0.083411
0.044049
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.636364
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
29945db0069588d5ec5eda592170f2f975e73e8e
133
py
Python
babik_card_primitives/exceptions.py
aubreystarktoller/django-babik-card-primitives
d380342652aeb394a8e7b6d952034465ec5618e4
[ "BSD-3-Clause" ]
null
null
null
babik_card_primitives/exceptions.py
aubreystarktoller/django-babik-card-primitives
d380342652aeb394a8e7b6d952034465ec5618e4
[ "BSD-3-Clause" ]
null
null
null
babik_card_primitives/exceptions.py
aubreystarktoller/django-babik-card-primitives
d380342652aeb394a8e7b6d952034465ec5618e4
[ "BSD-3-Clause" ]
null
null
null
class CardError(Exception): pass class IssuerNotRecognised(CardError): pass class InvalidCardNumber(CardError): pass
12.090909
37
0.744361
12
133
8.25
0.5
0.181818
0
0
0
0
0
0
0
0
0
0
0.18797
133
10
38
13.3
0.916667
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
29980ad266edfdd80161b5fe500eebabc4160e7a
56
py
Python
app/settings/__init__.py
mandarhan/mandarhan
9ce38d10e536e0d3e2f907c3b5c560d66ccf8e40
[ "MIT" ]
null
null
null
app/settings/__init__.py
mandarhan/mandarhan
9ce38d10e536e0d3e2f907c3b5c560d66ccf8e40
[ "MIT" ]
6
2020-02-18T03:49:09.000Z
2022-03-12T00:10:05.000Z
app/settings/__init__.py
mandarhan/mandarhan
9ce38d10e536e0d3e2f907c3b5c560d66ccf8e40
[ "MIT" ]
1
2020-03-25T10:25:43.000Z
2020-03-25T10:25:43.000Z
default_app_config = 'app.settings.apps.SettingsConfig'
28
55
0.839286
7
56
6.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.053571
56
1
56
56
0.849057
0
0
0
0
0
0.571429
0.571429
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
29bb170f10af3dfe397bd3b2d858f7a42ef8ccf3
3,748
py
Python
tests/run-tests-hash.py
jcomeauictx/pyscrypt
9503a38cce4f012de921e860b5dfc5ba8edd33c0
[ "MIT" ]
72
2015-04-01T17:33:47.000Z
2022-02-28T07:00:11.000Z
tests/run-tests-hash.py
jcomeauictx/pyscrypt
9503a38cce4f012de921e860b5dfc5ba8edd33c0
[ "MIT" ]
5
2015-01-20T20:35:41.000Z
2017-09-13T18:02:09.000Z
tests/run-tests-hash.py
jcomeauictx/pyscrypt
9503a38cce4f012de921e860b5dfc5ba8edd33c0
[ "MIT" ]
20
2015-01-20T20:35:52.000Z
2021-08-12T21:43:30.000Z
# The MIT License (MIT) # # Copyright (c) 2014 Richard Moore # # 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 Software without restriction, including without limitation the rights # to use, copy, mod...
49.973333
651
0.763874
401
3,748
7.139651
0.453865
0.030737
0.022703
0.02934
0.049598
0.043311
0.043311
0.043311
0
0
0
0.236726
0.155816
3,748
74
652
50.648649
0.668142
0.348719
0
0.121212
0
0
0.535847
0.464981
0
0
0
0
0
1
0.030303
false
0.181818
0.121212
0.030303
0.181818
0.121212
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
4b0da0eeb0e0ce9309955885d34042ea20d3c30f
9,291
py
Python
tests/test_handler.py
antonev/django_handlers
b7e3c5c80312541a42a3b65336cfc90061992628
[ "MIT" ]
1
2015-08-22T05:09:42.000Z
2015-08-22T05:09:42.000Z
tests/test_handler.py
antonev/django_handlers
b7e3c5c80312541a42a3b65336cfc90061992628
[ "MIT" ]
null
null
null
tests/test_handler.py
antonev/django_handlers
b7e3c5c80312541a42a3b65336cfc90061992628
[ "MIT" ]
1
2020-10-29T13:32:40.000Z
2020-10-29T13:32:40.000Z
from functools import wraps import pytest from django.http import HttpResponse @pytest.mark.parametrize('method', [ 'get', 'head', 'options', 'post', 'put', 'patch', 'delete', ]) def test_method(rf, method): from django_handlers import Handler handler = Handler() @handler.ge...
24.514512
74
0.62835
967
9,291
5.945191
0.087901
0.103322
0.056358
0.061228
0.722734
0.700644
0.671943
0.655592
0.650722
0.606714
0
0.012112
0.226886
9,291
378
75
24.579365
0.78825
0
0
0.695502
0
0
0.134539
0
0
0
0
0
0.034602
1
0.200692
false
0
0.048443
0.058824
0.397924
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
4b1a79eaf6db3d487e7bf95fae15767bd032a3ff
314
py
Python
gol/main.py
MrTrustworthy/game_of_life
183ddf40e501094a7e0024dd707a197a40124141
[ "MIT" ]
null
null
null
gol/main.py
MrTrustworthy/game_of_life
183ddf40e501094a7e0024dd707a197a40124141
[ "MIT" ]
null
null
null
gol/main.py
MrTrustworthy/game_of_life
183ddf40e501094a7e0024dd707a197a40124141
[ "MIT" ]
null
null
null
__author__ = 'MrTrustworthy' import uuid import random class Amap: def __init__(self, size=(10, 10)): self.size = size def __repr__(self): return "#Map" + str(self.size) def __str__(self): return self.__repr__() if __name__ == "__main__": g = Amap() print(g)
12.56
38
0.589172
38
314
4.131579
0.552632
0.152866
0
0
0
0
0
0
0
0
0
0.017778
0.283439
314
24
39
13.083333
0.68
0
0
0
0
0
0.079618
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0.153846
0.615385
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4b20de38372efd8ddce70993a02cd00e8512cc6c
568
py
Python
backend/test/__init__.py
yup8j/ScholarPaperManagement
b0ba5665cc68cad7a2022ce1832d32dd339d2834
[ "MIT" ]
null
null
null
backend/test/__init__.py
yup8j/ScholarPaperManagement
b0ba5665cc68cad7a2022ce1832d32dd339d2834
[ "MIT" ]
null
null
null
backend/test/__init__.py
yup8j/ScholarPaperManagement
b0ba5665cc68cad7a2022ce1832d32dd339d2834
[ "MIT" ]
2
2020-02-24T01:20:41.000Z
2021-10-30T03:52:05.000Z
import unittest from backend.handlers.DocHandler import * import pdfminer from mongoengine import connect from backend.handlers.NoteHandler import * from backend.handlers.ColorHandler import * from backend.handlers.LibHandler import * connect( db='test_11', host='mongodb://dds-wz9f23f0cffe4b341504-pub.mongodb...
31.555556
139
0.774648
65
568
6.723077
0.6
0.100687
0.173913
0.114416
0.128146
0.128146
0
0
0
0
0
0.088933
0.109155
568
18
140
31.555556
0.774704
0
0
0
0
0.0625
0.319859
0.223199
0
0
0
0
0
1
0
true
0.0625
0.4375
0
0.4375
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
d99de06166ceb62dae693b32643c1c01f0afee7a
433
py
Python
Grupo1_encriptacionCesar/mensajeUser.py
IEEERASDigitalesJaveriana/encriptacion_Cesar_Git
f0f55f97448186b814d0e8567d2f432e0eeed563
[ "CC0-1.0" ]
null
null
null
Grupo1_encriptacionCesar/mensajeUser.py
IEEERASDigitalesJaveriana/encriptacion_Cesar_Git
f0f55f97448186b814d0e8567d2f432e0eeed563
[ "CC0-1.0" ]
null
null
null
Grupo1_encriptacionCesar/mensajeUser.py
IEEERASDigitalesJaveriana/encriptacion_Cesar_Git
f0f55f97448186b814d0e8567d2f432e0eeed563
[ "CC0-1.0" ]
null
null
null
# función para mostrar el mensaje cifrado al usuario # parametros de entrada: tasa - tasa que se uso para la encriptación # mensaje - mensaje encriptado en string def mensaje_usuario(tasa, mensaje_cifrado): # funcion 6 print('Tu mensaje es:', mensaje_cifrado, 'La tasa usada es:', tasa)...
54.125
88
0.69515
63
433
4.730159
0.634921
0.14094
0
0
0
0
0
0
0
0
0
0.003077
0.249423
433
7
89
61.857143
0.913846
0.681293
0
0
0
0
0.236641
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
3
d9afc06d1496b24b69640ad4af3e2e84cab8d99c
550
py
Python
app.py
mr-cloud/vbmanager
a23db475a0692fc2286d2c19dee6a8e7c149e6a1
[ "MIT" ]
null
null
null
app.py
mr-cloud/vbmanager
a23db475a0692fc2286d2c19dee6a8e7c149e6a1
[ "MIT" ]
null
null
null
app.py
mr-cloud/vbmanager
a23db475a0692fc2286d2c19dee6a8e7c149e6a1
[ "MIT" ]
null
null
null
from flask import Flask from flask import jsonify from vbmanager import VBManager app = Flask(__name__) vb = VBManager() @app.route("/") def list_services(): return jsonify(vb.list_all()) @app.route("/scale-out") def scale_out(): return jsonify(vb.create_config_VM()) @app.route('/scale-in') def scale_in...
18.333333
69
0.7
81
550
4.481481
0.419753
0.088154
0.165289
0
0
0
0
0
0
0
0
0.016878
0.138182
550
29
70
18.965517
0.748945
0
0
0
0
0
0.090909
0
0
0
0
0
0
1
0.210526
false
0
0.157895
0.210526
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d9bb8d2d9dc517ef4199921612f36fec46d8e83e
4,895
py
Python
packages/grid/apps/worker/src/main/routes/association_requests/routes.py
exityan/PySyft
35166c487a5be57f9ad28929ed88a8ba6bdd5aeb
[ "Apache-2.0" ]
425
2019-09-22T06:14:53.000Z
2022-03-30T02:17:34.000Z
packages/grid/apps/worker/src/main/routes/association_requests/routes.py
Metrix1010/PySyft
6477f64b63dc285059c3766deab3993653cead2e
[ "Apache-2.0" ]
352
2019-09-17T15:32:51.000Z
2022-03-12T01:07:35.000Z
packages/grid/apps/worker/src/main/routes/association_requests/routes.py
Metrix1010/PySyft
6477f64b63dc285059c3766deab3993653cead2e
[ "Apache-2.0" ]
208
2019-09-18T18:32:10.000Z
2022-03-24T01:10:11.000Z
# stdlib import json # third party from flask import Response from flask import request from syft.grid.messages.association_messages import DeleteAssociationRequestMessage from syft.grid.messages.association_messages import GetAssociationRequestMessage from syft.grid.messages.association_messages import GetAssociation...
29.487952
87
0.731154
536
4,895
6.432836
0.134328
0.076566
0.046404
0.034803
0.779292
0.763631
0.74884
0.670534
0.670534
0.670534
0
0
0.183657
4,895
165
88
29.666667
0.862863
0.055567
0
0.616071
0
0
0.066204
0.020404
0
0
0
0
0
1
0.053571
false
0
0.116071
0
0.223214
0.008929
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
d9c38947327c0f79f2c706ea2bd0bc5d86b672ab
325
py
Python
makedirs.py
PRASAD-DANGARE/PYTHON
36214f7dc3762d327e5a29e40752edeb098249c8
[ "MIT" ]
1
2021-06-07T07:55:28.000Z
2021-06-07T07:55:28.000Z
makedirs.py
PRASAD-DANGARE/PYTHON
36214f7dc3762d327e5a29e40752edeb098249c8
[ "MIT" ]
null
null
null
makedirs.py
PRASAD-DANGARE/PYTHON
36214f7dc3762d327e5a29e40752edeb098249c8
[ "MIT" ]
null
null
null
# Python Program To Use The makedirs() Functions To Create Sub And Sub-Sub Directories ''' Function Name : makedirs()Functions To Create Sub And 2Sub Directories Function Date : 26 Sep 2020 Function Author : Prasad Dangare ''' import os os.makedirs('newsub/newsub2') # Create Sub And 2Sub Director...
27.083333
87
0.716923
44
325
5.295455
0.568182
0.11588
0.154506
0.214592
0.446352
0.266094
0
0
0
0
0
0.035294
0.215385
325
11
88
29.545455
0.878431
0.796923
0
0
0
0
0.304348
0
0
0
0
0
0
1
0
true
0
0.5
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