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
6ccb856d1e3f4a1865f3be09e3538cbf927298dd
3,130
py
Python
utils/mpl.py
dlzcn/MemoryMonitor
863ef0c82917128c94575931661c7e666d56e20c
[ "MIT" ]
null
null
null
utils/mpl.py
dlzcn/MemoryMonitor
863ef0c82917128c94575931661c7e666d56e20c
[ "MIT" ]
null
null
null
utils/mpl.py
dlzcn/MemoryMonitor
863ef0c82917128c94575931661c7e666d56e20c
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # ****************************************************** # @author: Haifeng CHEN - optical.dlz@gmail.com # @date (created): 2019-10-22 21:27 # @file: mpl.py # @brief: Matplotlib utilities # @internal: # revision: 2 # last modifie...
48.90625
120
0.563578
378
3,130
4.55291
0.253968
0.130738
0.209181
0.264962
0.645555
0.638001
0.575247
0.575247
0.525276
0.486345
0
0.016638
0.251118
3,130
63
121
49.68254
0.717577
0.17508
0
0.444444
0
0
0.335544
0
0
0
0
0
0
1
0.022222
true
0
0.066667
0
0.088889
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
6cea4653ce149c498758ae8e65d871bbb3bdd1fb
611
py
Python
cipher_encoder_ASCII.py
rohanailoni/cipher
59baed56b95e47ea75e5f95eb26ab9ae2977da33
[ "MIT" ]
3
2020-02-23T13:02:50.000Z
2020-02-25T16:54:39.000Z
cipher_encoder_ASCII.py
rohanailoni/cipher
59baed56b95e47ea75e5f95eb26ab9ae2977da33
[ "MIT" ]
null
null
null
cipher_encoder_ASCII.py
rohanailoni/cipher
59baed56b95e47ea75e5f95eb26ab9ae2977da33
[ "MIT" ]
null
null
null
s=input(); k=int(input()) for i in s: elif ord(i)>=97 and ord(i)<=122: y=k%26;x=ord(i)-96; if x+y>26: print(chr(y-(26-x)+96),end="") else: print(chr(x+y+96),end="") elif ord(i)>=65 and ord(i)<=90: y = k % 26;x=ord(i)-64; if x+y>26: prin...
25.458333
42
0.412439
112
611
2.25
0.25
0.142857
0.190476
0.178571
0.416667
0.416667
0.142857
0.142857
0.142857
0
0
0.122195
0.343699
611
23
43
26.565217
0.506234
0
0
0.26087
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.304348
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
6ceaf7d47274756db993bf275859c1ba52925e2f
494
py
Python
datasets/KITTI/segtrack/KITTI_MOTS_info.py
DesperateMaker/TrackR-CNN
861b697c4448aac57265d4a6866bd2a0e8b2c6e5
[ "MIT" ]
null
null
null
datasets/KITTI/segtrack/KITTI_MOTS_info.py
DesperateMaker/TrackR-CNN
861b697c4448aac57265d4a6866bd2a0e8b2c6e5
[ "MIT" ]
null
null
null
datasets/KITTI/segtrack/KITTI_MOTS_info.py
DesperateMaker/TrackR-CNN
861b697c4448aac57265d4a6866bd2a0e8b2c6e5
[ "MIT" ]
1
2020-03-17T19:18:21.000Z
2020-03-17T19:18:21.000Z
SEQ_IDS_TRAIN = ["%04d" % idx for idx in [0, 1, 3, 4, 5, 9, 11, 12, 15, 17, 19, 20]] SEQ_IDS_VAL = ["%04d" % idx for idx in [2, 6, 7, 8, 10, 13, 14, 16, 18]] TIMESTEPS_PER_SEQ = {"0000": 154, "0001": 447, "0002": 233, "0003": 144, "0004": 314, "0005": 297, "0006": 270, "0007": 800, "0008": 390, "00...
82.333333
112
0.502024
82
494
2.95122
0.890244
0.049587
0.07438
0.099174
0.115702
0
0
0
0
0
0
0.493261
0.248988
494
5
113
98.8
0.15903
0
0
0
0
0
0.186235
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6cf8a1638dc4ca98d75efa8c572eb39e9d8d051f
168
py
Python
src/runanalysis.py
techlover10/StochasticSoundscape
6c86a3e5d671c657361ff8e1e78edc710af40c77
[ "MIT" ]
2
2017-05-02T10:40:43.000Z
2017-06-29T09:38:54.000Z
src/runanalysis.py
techlover10/StochasticSoundscape
6c86a3e5d671c657361ff8e1e78edc710af40c77
[ "MIT" ]
null
null
null
src/runanalysis.py
techlover10/StochasticSoundscape
6c86a3e5d671c657361ff8e1e78edc710af40c77
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # # Copyright © 2017 jared <jared@jared-devstation> # # Generates data based on source material import analyze markov_data = analyze.data_gen()
12.923077
49
0.738095
23
168
5.347826
0.782609
0.162602
0
0
0
0
0
0
0
0
0
0.035211
0.154762
168
12
50
14
0.823944
0.625
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6cf96920584f4c7107ab05ce65237ae262fac812
200
py
Python
data_collection/gazette/spiders/sc_otacilio_costa.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
3
2021-08-18T17:50:31.000Z
2021-11-12T23:36:33.000Z
data_collection/gazette/spiders/sc_otacilio_costa.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
4
2021-02-10T02:36:48.000Z
2022-03-02T14:55:34.000Z
data_collection/gazette/spiders/sc_otacilio_costa.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
null
null
null
from gazette.spiders.base import FecamGazetteSpider class ScOtacilioCostaSpider(FecamGazetteSpider): name = "sc_otacilio_costa" FECAM_QUERY = "cod_entidade:180" TERRITORY_ID = "4211751"
25
51
0.78
21
200
7.190476
0.952381
0
0
0
0
0
0
0
0
0
0
0.05848
0.145
200
7
52
28.571429
0.824561
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0.2
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
6cfcedada186be7e3861a66132ec8a897e608837
180
py
Python
gluon/packages/dal/pydal/__init__.py
guadaltech/web2py-ruben
45e0f4f316774e707a3075f23e3f8b9fed00c387
[ "BSD-3-Clause" ]
null
null
null
gluon/packages/dal/pydal/__init__.py
guadaltech/web2py-ruben
45e0f4f316774e707a3075f23e3f8b9fed00c387
[ "BSD-3-Clause" ]
null
null
null
gluon/packages/dal/pydal/__init__.py
guadaltech/web2py-ruben
45e0f4f316774e707a3075f23e3f8b9fed00c387
[ "BSD-3-Clause" ]
null
null
null
__version__ = '17.11' from .base import DAL from .objects import Field from .helpers.classes import SQLCustomType from .helpers.methods import geoPoint, geoLine, geoPolygon
25.714286
59
0.777778
23
180
5.913043
0.695652
0.161765
0
0
0
0
0
0
0
0
0
0.026316
0.155556
180
6
60
30
0.868421
0
0
0
0
0
0.028736
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9f11e57396b78a9599a9ab2485f5ab7774dae8f3
1,026
py
Python
elicit/all.py
pycopia/elicit
132eb9198b7dd7fc445567d9e98910f466b72fbc
[ "Apache-2.0" ]
3
2017-06-10T13:27:50.000Z
2020-03-19T19:28:26.000Z
elicit/all.py
pycopia/elicit
132eb9198b7dd7fc445567d9e98910f466b72fbc
[ "Apache-2.0" ]
1
2019-01-10T19:15:57.000Z
2019-01-10T19:15:57.000Z
elicit/all.py
kdart/elicit
132eb9198b7dd7fc445567d9e98910f466b72fbc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # 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, software ...
30.176471
74
0.746589
156
1,026
4.910256
0.596154
0.104439
0.109661
0.156658
0
0
0
0
0
0
0
0.009467
0.176413
1,026
33
75
31.090909
0.897041
0.753411
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
9f3169c25b4b95c77a42d2fd7ae104ae75bfa518
480
py
Python
app/forms.py
EddyCodeIt/SPA_Project_2016_Data_Rep-Quering
1a23e14ecf41117aaaeedb277d6c5b17a03bab56
[ "Apache-2.0" ]
null
null
null
app/forms.py
EddyCodeIt/SPA_Project_2016_Data_Rep-Quering
1a23e14ecf41117aaaeedb277d6c5b17a03bab56
[ "Apache-2.0" ]
null
null
null
app/forms.py
EddyCodeIt/SPA_Project_2016_Data_Rep-Quering
1a23e14ecf41117aaaeedb277d6c5b17a03bab56
[ "Apache-2.0" ]
null
null
null
#from flask_wtf import FlaskForm from wtforms import Form, StringField, PasswordField, validators class RegistrationForm(Form): username = StringField('Username', [validators.Length(min = 4, max = 20), validators.Required()], id = "input_fields") password = PasswordField('New Password', [validators.DataRequire...
60
159
0.74375
52
480
6.788462
0.615385
0.05949
0.110482
0
0
0
0
0
0
0
0
0.007143
0.125
480
7
160
68.571429
0.833333
0.064583
0
0
0
0
0.21875
0
0
0
0
0
0
1
0
false
0.6
0.2
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
9f6530563c3eccbd2034ac0c73cb87871d851924
467
py
Python
start_pylogo_GUI_interpreter.py
obo/loev3go
763c6cf61133add914d231d07bc8c3c29672aba9
[ "MIT" ]
1
2018-09-05T20:57:40.000Z
2018-09-05T20:57:40.000Z
start_pylogo_GUI_interpreter.py
obo/loev3go
763c6cf61133add914d231d07bc8c3c29672aba9
[ "MIT" ]
null
null
null
start_pylogo_GUI_interpreter.py
obo/loev3go
763c6cf61133add914d231d07bc8c3c29672aba9
[ "MIT" ]
2
2019-10-05T23:02:41.000Z
2020-06-25T20:21:02.000Z
#!/usr/bin/python # # BROKEN # This script should run the traditional pylogo user inferface. # It worked well while pylogo was in python2 and relying on python mega widgets # (Pmw) version 1.3. Pmw1.3 is for python2 only and I don't have the time to # try getting Pmw2 running (https://pypi.org/project/Pmw/) # # remembe...
33.357143
79
0.747323
75
467
4.653333
0.773333
0.011461
0
0
0
0
0
0
0
0
0
0.022613
0.147752
467
13
80
35.923077
0.854271
0.865096
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
9f75ffc9ee2d54982d194078b82ecf06638479b8
61
py
Python
audiotest.py
DeadpoolPancakes/lego-claptrap
fde1359288d0f554f4f36e08e716d1f9754e7c0e
[ "MIT" ]
null
null
null
audiotest.py
DeadpoolPancakes/lego-claptrap
fde1359288d0f554f4f36e08e716d1f9754e7c0e
[ "MIT" ]
null
null
null
audiotest.py
DeadpoolPancakes/lego-claptrap
fde1359288d0f554f4f36e08e716d1f9754e7c0e
[ "MIT" ]
null
null
null
import vlc p = vlc.MediaPlayer("file: Chirping.mp3") p.play()
20.333333
41
0.721311
10
61
4.4
0.8
0
0
0
0
0
0
0
0
0
0
0.018182
0.098361
61
3
42
20.333333
0.781818
0
0
0
0
0
0.290323
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
9f8d02f1cbdcab45e866434955bba41b200ffdf4
977
py
Python
psq/storage.py
Tomesco/bookshelf-demo-project
9d422f3aa04edbb3312d3e177caf699653ed6a73
[ "Apache-2.0" ]
210
2015-07-29T16:50:01.000Z
2022-03-02T15:24:52.000Z
psq/storage.py
Tomesco/bookshelf-demo-project
9d422f3aa04edbb3312d3e177caf699653ed6a73
[ "Apache-2.0" ]
60
2015-12-03T23:15:57.000Z
2021-01-21T09:25:42.000Z
psq/storage.py
Tomesco/bookshelf-demo-project
9d422f3aa04edbb3312d3e177caf699653ed6a73
[ "Apache-2.0" ]
47
2015-12-21T06:09:36.000Z
2021-09-04T13:20:21.000Z
# Copyright 2015 Google 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, ...
31.516129
75
0.716479
151
977
4.602649
0.622517
0.086331
0.051799
0.046043
0.051799
0
0
0
0
0
0
0.010471
0.218014
977
30
76
32.566667
0.899215
0.774821
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.428571
false
0.428571
0
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
9f93c98abb0b91b0a7fddf973c3d2b81cec9e629
671
py
Python
djangobb_forum/decorators.py
dboczek/DjangoBB
80c42274839714f0cc6c4529ba1b44ae5e4e03c1
[ "BSD-3-Clause" ]
null
null
null
djangobb_forum/decorators.py
dboczek/DjangoBB
80c42274839714f0cc6c4529ba1b44ae5e4e03c1
[ "BSD-3-Clause" ]
null
null
null
djangobb_forum/decorators.py
dboczek/DjangoBB
80c42274839714f0cc6c4529ba1b44ae5e4e03c1
[ "BSD-3-Clause" ]
null
null
null
from django.utils.decorators import available_attrs from functools import wraps def require_unbanned_user(view_func): """ Marks view function to be checked by Ban middleware """ def wrapped_view(*args, **kwargs): ...
44.733333
172
0.450075
53
671
5.433962
0.566038
0.111111
0
0
0
0
0
0
0
0
0
0
0.499255
671
14
173
47.928571
0.857143
0.076006
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9fae4767c50f4f35b038b3946366e439d2f826d9
5,616
py
Python
scripts/signin.py
bhrt96/e-Learning-Portal
5ca4d7cc355999ddfcb2cfff18d9832d555cc081
[ "MIT" ]
null
null
null
scripts/signin.py
bhrt96/e-Learning-Portal
5ca4d7cc355999ddfcb2cfff18d9832d555cc081
[ "MIT" ]
null
null
null
scripts/signin.py
bhrt96/e-Learning-Portal
5ca4d7cc355999ddfcb2cfff18d9832d555cc081
[ "MIT" ]
null
null
null
#!/usr/bin/python import cgi import MySQLdb import Cookie import datetime import random cookie = Cookie.SimpleCookie() cookie["session"] = random.randint(1,1000000) expires = datetime.datetime.now() + datetime.timedelta(days=1) cookie["session"]["expires"] = expires.strftime('%a, %d %b %Y %H:%M:%S') # Wdy, DD-Mon-YY...
39.272727
145
0.497863
589
5,616
4.745331
0.312394
0.037209
0.027549
0.02576
0.401789
0.376029
0.325581
0.325581
0.301968
0.301968
0
0.012265
0.346688
5,616
142
146
39.549296
0.749523
0.085648
0
0.436364
0
0.072727
0.696662
0.129612
0
0
0
0
0
0
null
null
0.063636
0.045455
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
9fc445c6165c6d787145e2412f48a99144d7b211
162
py
Python
mobycity/contact/urls.py
LucienD/Mobct
1c8422b30c205bdb2dc21c988f74280194980ec4
[ "MIT" ]
null
null
null
mobycity/contact/urls.py
LucienD/Mobct
1c8422b30c205bdb2dc21c988f74280194980ec4
[ "MIT" ]
null
null
null
mobycity/contact/urls.py
LucienD/Mobct
1c8422b30c205bdb2dc21c988f74280194980ec4
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, url from contact import views urlpatterns = patterns( '', url(r'^$', views.contact_form, name='contact_form'), )
18
56
0.697531
21
162
5.285714
0.619048
0.198198
0
0
0
0
0
0
0
0
0
0
0.166667
162
9
57
18
0.822222
0
0
0
0
0
0.08589
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
4c7cf06f6615026f91a04b38e7f6379eff09c2c5
1,962
py
Python
backpack/core/derivatives/batchnorm2d.py
maryamhgf/backpack
63d2717656df2e0f18b3b6ee50320e82ce7358b6
[ "MIT" ]
null
null
null
backpack/core/derivatives/batchnorm2d.py
maryamhgf/backpack
63d2717656df2e0f18b3b6ee50320e82ce7358b6
[ "MIT" ]
null
null
null
backpack/core/derivatives/batchnorm2d.py
maryamhgf/backpack
63d2717656df2e0f18b3b6ee50320e82ce7358b6
[ "MIT" ]
2
2021-06-11T14:15:28.000Z
2021-06-16T11:19:11.000Z
from warnings import warn from torch import einsum from torch.nn import BatchNorm2d import torch from backpack.core.derivatives.basederivatives import BaseParameterDerivatives class BatchNorm2dDerivatives(BaseParameterDerivatives): def get_module(self): return BatchNorm2d def hessian_is_zero(self): ...
31.645161
78
0.633028
266
1,962
4.413534
0.296992
0.041738
0.059625
0.065588
0.482964
0.413118
0.398637
0.398637
0.398637
0.398637
0
0.009233
0.282365
1,962
61
79
32.163934
0.824574
0.029052
0
0.326087
0
0
0.089905
0
0
0
0
0.016393
0
1
0.217391
false
0
0.108696
0.152174
0.586957
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
4c86a51544001c2dfc13bb79a6366ed8c9dfd180
2,994
py
Python
tests/test_graphql.py
d-danilkin/ariadne
62b1363752394439f21d8be1b48074b4ba280493
[ "BSD-3-Clause" ]
1,778
2018-07-09T09:54:24.000Z
2022-03-31T18:22:56.000Z
tests/test_graphql.py
d-danilkin/ariadne
62b1363752394439f21d8be1b48074b4ba280493
[ "BSD-3-Clause" ]
639
2018-07-12T12:39:25.000Z
2022-03-28T04:02:52.000Z
tests/test_graphql.py
d-danilkin/ariadne
62b1363752394439f21d8be1b48074b4ba280493
[ "BSD-3-Clause" ]
154
2018-08-10T18:50:49.000Z
2022-03-31T17:48:14.000Z
import pytest from graphql import GraphQLError from graphql.validation.rules import ValidationRule from ariadne import graphql, graphql_sync, subscribe class AlwaysInvalid(ValidationRule): def leave_operation_definition( # pylint: disable=unused-argument self, *args, **kwargs ): self.context...
31.851064
88
0.690381
330
2,994
6.027273
0.20303
0.031674
0.085973
0.066365
0.807441
0.777778
0.768225
0.677728
0.62544
0.528406
0
0.002447
0.181029
2,994
93
89
32.193548
0.808728
0.010354
0
0.527778
0
0
0.194191
0
0
0
0
0
0.25
1
0.055556
false
0
0.055556
0
0.125
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4c89860afb4f5c0a1a774e264d8171fe2b027967
116
py
Python
codeup/2782.py
shinkeonkim/today-ps
f3e5e38c5215f19579bb0422f303a9c18c626afa
[ "Apache-2.0" ]
2
2020-01-29T06:54:41.000Z
2021-11-07T13:23:27.000Z
codeup/2782.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
codeup/2782.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
from math import factorial as f a,b =map(int,input().split()) a-=1 b-=1 print((f(a+b) // (f(a) * f(b))) %1000000000)
23.2
44
0.603448
25
116
2.8
0.6
0.085714
0.085714
0
0
0
0
0
0
0
0
0.118812
0.12931
116
5
44
23.2
0.574257
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.2
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
4cc3954d297eebbd37ccdacd728db29e907bb798
457
py
Python
frappe/core/doctype/custom_script/custom_script.py
pawaranand/phr_frappe
d997ae7d6fbade4b2c4a2491603d988876dfd67e
[ "MIT" ]
1
2022-03-05T16:02:39.000Z
2022-03-05T16:02:39.000Z
frappe/core/doctype/custom_script/custom_script.py
pawaranand/phr_frappe
d997ae7d6fbade4b2c4a2491603d988876dfd67e
[ "MIT" ]
1
2015-07-11T20:52:38.000Z
2019-12-06T15:00:58.000Z
frappe/core/doctype/custom_script/custom_script.py
pawaranand/phr_frappe
d997ae7d6fbade4b2c4a2491603d988876dfd67e
[ "MIT" ]
2
2015-09-05T05:30:23.000Z
2018-03-21T19:45:10.000Z
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors # MIT License. See license.txt from __future__ import unicode_literals import frappe from frappe.utils import cstr from frappe.model.document import Document class CustomScript(Document): def autoname(self): self.name = self.dt + "-" + sel...
22.85
71
0.761488
66
457
5.121212
0.590909
0.053254
0.088757
0.118343
0.195266
0.195266
0.195266
0
0
0
0
0.01023
0.14442
457
19
72
24.052632
0.85422
0.214442
0
0.181818
0
0
0.002825
0
0
0
0
0
0
1
0.272727
false
0
0.363636
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
e21a48afd165335d659b5ee82935d3927a3b589f
1,262
py
Python
pyspark_kit/logger/log4j_proxy.py
saikocat/pyspark-kit
7d15e6429888050a46ce23ba98aa8cda2767f84a
[ "MIT" ]
null
null
null
pyspark_kit/logger/log4j_proxy.py
saikocat/pyspark-kit
7d15e6429888050a46ce23ba98aa8cda2767f84a
[ "MIT" ]
null
null
null
pyspark_kit/logger/log4j_proxy.py
saikocat/pyspark-kit
7d15e6429888050a46ce23ba98aa8cda2767f84a
[ "MIT" ]
null
null
null
# log4jLogger = sc._jvm.org.apache.log4j # LOGGER = log4jLogger.LogManager.getLogger(__name__) # LOGGER.info("pyspark script logger initialized") class Log4j(object): """Wrapper class for Log4j JVM object. :param spark: SparkSession object. """ def __init__(self, spark): # get spark app deta...
25.755102
65
0.627575
152
1,262
5.098684
0.315789
0.103226
0.116129
0.162581
0
0
0
0
0
0
0
0.008611
0.263867
1,262
48
66
26.291667
0.825619
0.212361
0
0.241379
0
0
0.029713
0
0
0
0
0
0
1
0.275862
false
0
0
0
0.551724
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
e2215b9d1f31c1a285af3e852e3b2fdae988fa43
238
py
Python
Demos/Demo-4.2 Modules/myprinter.py
Josverl/MicroPython-Bootcamp
29f5ccc9768fbea621029dcf6eea9c91ff84c1d5
[ "MIT" ]
4
2018-04-28T13:43:20.000Z
2021-03-11T16:10:35.000Z
Demos/Demo-4.2 Modules/myprinter.py
Josverl/MicroPython-Bootcamp
29f5ccc9768fbea621029dcf6eea9c91ff84c1d5
[ "MIT" ]
null
null
null
Demos/Demo-4.2 Modules/myprinter.py
Josverl/MicroPython-Bootcamp
29f5ccc9768fbea621029dcf6eea9c91ff84c1d5
[ "MIT" ]
null
null
null
""" my pretty printer module """ def printit(text): # use ANSI escape sequeences top print inverted, bold ,red text # https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit print("\033[;7m\033[1;31m{}\033[0;0m".format(str(text) ) )
23.8
64
0.697479
40
238
4.075
0.825
0.122699
0
0
0
0
0
0
0
0
0
0.081731
0.12605
238
9
65
26.444444
0.701923
0.592437
0
0
0
0
0.341176
0.341176
0
0
0
0
0
1
0.5
false
0
0
0
0.5
1
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
e23a8a1fd9ee7b65210f333c867d42311511632e
209
py
Python
noxfile.py
0xflotus/pyheck
852828f9d0bd5e9272ef6c85076d105965e05ca7
[ "MIT" ]
24
2022-01-24T16:19:26.000Z
2022-02-17T21:12:40.000Z
noxfile.py
kevinheavey/pybip39
1f668feb8ebcfe009e87f853bff47876846f5c83
[ "Apache-2.0" ]
1
2022-01-20T22:52:24.000Z
2022-01-20T22:52:24.000Z
noxfile.py
kevinheavey/pybip39
1f668feb8ebcfe009e87f853bff47876846f5c83
[ "Apache-2.0" ]
4
2022-01-20T22:48:38.000Z
2022-01-28T01:16:12.000Z
# type: ignore import nox @nox.session def python(session): session.install("pytest", "maturin", "sphinx") session.install(".", "--no-build-isolation") session.run("make", "test", external=True)
20.9
50
0.660287
25
209
5.52
0.76
0.202899
0
0
0
0
0
0
0
0
0
0
0.143541
209
9
51
23.222222
0.77095
0.057416
0
0
0
0
0.246154
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
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
e2414e6120f47710808e08205df25bc03519717f
1,173
py
Python
src/ch9-sqlalchemy/start/pypi_sqlalchemy/pypi/controllers/account_controller.py
possnfiffer/data-driven-web-apps-with-pyramid-and-sqlalchemy
880dc4bc2a6d5dd5fcc91452725d5a1c7c9022c5
[ "MIT" ]
83
2018-07-04T22:19:20.000Z
2022-03-09T22:44:48.000Z
src/ch9-sqlalchemy/start/pypi_sqlalchemy/pypi/controllers/account_controller.py
possnfiffer/data-driven-web-apps-with-pyramid-and-sqlalchemy
880dc4bc2a6d5dd5fcc91452725d5a1c7c9022c5
[ "MIT" ]
9
2018-08-02T00:17:33.000Z
2021-11-17T17:18:05.000Z
src/ch9-sqlalchemy/start/pypi_sqlalchemy/pypi/controllers/account_controller.py
possnfiffer/data-driven-web-apps-with-pyramid-and-sqlalchemy
880dc4bc2a6d5dd5fcc91452725d5a1c7c9022c5
[ "MIT" ]
78
2018-07-28T14:07:07.000Z
2022-01-15T07:06:42.000Z
from pyramid.view import view_config # ################### INDEX ################################# @view_config(route_name='account_home', renderer='pypi:templates/account/index.pt') def index(request): return {} # ################### LOGIN ################################# @view_config(route_na...
23.938776
63
0.538789
111
1,173
5.495496
0.216216
0.114754
0.147541
0.186885
0.586885
0.544262
0.544262
0.491803
0.491803
0.491803
0
0
0.184143
1,173
49
64
23.938776
0.637409
0.031543
0
0.642857
0
0
0.234979
0.172747
0
0
0
0
0
1
0.214286
false
0
0.035714
0.214286
0.464286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
e2488ab43fc64895472fd4c4e6cd0e65a68427c1
20
py
Python
test/__init__.py
LeonSu070/jira_bug_analysis
6b1d814270be25a62706ab58b0b31c8771b649d9
[ "Apache-2.0" ]
2
2018-11-16T07:00:43.000Z
2018-12-13T08:17:39.000Z
test/__init__.py
LeonSu070/jira_bug_analysis
6b1d814270be25a62706ab58b0b31c8771b649d9
[ "Apache-2.0" ]
null
null
null
test/__init__.py
LeonSu070/jira_bug_analysis
6b1d814270be25a62706ab58b0b31c8771b649d9
[ "Apache-2.0" ]
1
2019-09-16T09:53:12.000Z
2019-09-16T09:53:12.000Z
__author__ = 'Jack'
10
19
0.7
2
20
5
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.588235
0
0
0
0
0
0.2
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
e2617623ef2efc44b44ea28d9b54e927b69dfd87
208,496
py
Python
colour_datasets/loaders/tests/test_kuopio.py
JGoldstone/colour-datasets
8e0b52870c63c0e9b72d8b848720e0c28e0cbfa4
[ "BSD-3-Clause" ]
1
2022-01-29T09:12:18.000Z
2022-01-29T09:12:18.000Z
colour_datasets/loaders/tests/test_kuopio.py
JGoldstone/colour-datasets
8e0b52870c63c0e9b72d8b848720e0c28e0cbfa4
[ "BSD-3-Clause" ]
null
null
null
colour_datasets/loaders/tests/test_kuopio.py
JGoldstone/colour-datasets
8e0b52870c63c0e9b72d8b848720e0c28e0cbfa4
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Defines unit tests for :mod:`colour_datasets.loaders.kuopio` module. """ import numpy as np import os import unittest from colour import SpectralShape from colour_datasets.loaders.kuopio import ( MatFileMetadata_KuopioUniversity, read_sds_from_mat_file_KuopioUniversity) from colour_da...
58.418605
78
0.281439
7,261
208,496
8.061837
0.315108
0.003007
0.003195
0.003229
0.145634
0.048448
0.04293
0.021491
0.021491
0.01927
0
0.838527
0.683423
208,496
3,568
79
58.434978
0.04833
0.002758
0
0.533106
0
0
0.001988
0.00052
0
0
0
0
0.001705
1
0.001137
false
0
0.001705
0
0.00341
0.000284
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e29c9edf2f4ffd2271c79a4b1ba091fbd8bc11a6
148
py
Python
easy/561-array-partition-i.py
changmeng72/leecode_python3
8384f52f0dd74b06b1b6aefa277dde6a228ff5f3
[ "MIT" ]
null
null
null
easy/561-array-partition-i.py
changmeng72/leecode_python3
8384f52f0dd74b06b1b6aefa277dde6a228ff5f3
[ "MIT" ]
null
null
null
easy/561-array-partition-i.py
changmeng72/leecode_python3
8384f52f0dd74b06b1b6aefa277dde6a228ff5f3
[ "MIT" ]
null
null
null
class Solution: def arrayPairSum(self, nums: List[int]) -> int: nums.sort() return sum(nums[i] for i in range(0,len(nums),2))
37
57
0.594595
23
148
3.826087
0.782609
0
0
0
0
0
0
0
0
0
0
0.018018
0.25
148
4
57
37
0.774775
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e2b4314ef8bc163fb60b81c13fb7809c116746e2
1,958
py
Python
notebook/filter_usage.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
174
2018-05-30T21:14:50.000Z
2022-03-25T07:59:37.000Z
notebook/filter_usage.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
5
2019-08-10T03:22:02.000Z
2021-07-12T20:31:17.000Z
notebook/filter_usage.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
53
2018-04-27T05:26:35.000Z
2022-03-25T07:59:37.000Z
l = [-2, -1, 0, 1, 2] print(filter(lambda x: x % 2 == 0, l)) # <filter object at 0x10bb38580> print(type(filter(lambda x: x % 2 == 0, l))) # <class 'filter'> for i in filter(lambda x: x % 2 == 0, l): print(i) # -2 # 0 # 2 print(list(filter(lambda x: x % 2 == 0, l))) # [-2, 0, 2] print(list(filter(lambda x: x % ...
20.610526
66
0.528601
380
1,958
2.676316
0.110526
0.035398
0.038348
0.079646
0.818092
0.725664
0.690265
0.540806
0.375615
0.27532
0
0.087484
0.200204
1,958
94
67
20.829787
0.561941
0.176711
0
0.302326
0
0
0.056151
0
0
0
0
0
0
1
0.023256
false
0
0.023256
0.023256
0.069767
0.55814
0
0
0
null
0
0
0
1
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
0
0
0
0
0
0
1
0
3
2c3893825d290c60d6561bfc9ae6b13bc756d82e
298
py
Python
AutotestWebD/apps/common/config/permissionConst.py
yangjourney/sosotest
2e88099a829749910ca325253c9b1a2e368d21a0
[ "MIT" ]
422
2019-08-18T05:04:20.000Z
2022-03-31T06:49:19.000Z
AutotestWebD/apps/common/config/permissionConst.py
LinSongJian1985/sosotest
091863dee531b5726650bb63efd6f169267cbeb4
[ "MIT" ]
10
2019-10-24T09:55:38.000Z
2021-09-29T17:28:43.000Z
AutotestWebD/apps/common/config/permissionConst.py
LinSongJian1985/sosotest
091863dee531b5726650bb63efd6f169267cbeb4
[ "MIT" ]
202
2019-08-18T05:04:27.000Z
2022-03-30T05:57:18.000Z
class PermissionConst: ''' 目前有几种权限: add / edit / check / copy / run / delete / distinct ''' urlAllPermission = "urlAllPermission" urlDefaultPermission = "urlDefaultPermission" user_permission = "user_permission" team_url_permission = "team_url_permission"
21.285714
57
0.671141
24
298
8.083333
0.666667
0.14433
0.175258
0.278351
0
0
0
0
0
0
0
0
0.241611
298
13
58
22.923077
0.858407
0.201342
0
0
0
0
0.334928
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2c4650e94fee91b5f49f98368ac81c86ddacf390
265
py
Python
torabot/lang/targets/test/ut.py
Answeror/torabot
b6260190ec1f0dc8bf3f7ba3512c0522668c59ed
[ "MIT" ]
42
2015-01-20T10:45:08.000Z
2021-04-17T05:10:27.000Z
torabot/lang/targets/test/ut.py
Answeror/torabot
b6260190ec1f0dc8bf3f7ba3512c0522668c59ed
[ "MIT" ]
4
2015-01-23T05:40:44.000Z
2016-12-19T03:52:20.000Z
torabot/lang/targets/test/ut.py
Answeror/torabot
b6260190ec1f0dc8bf3f7ba3512c0522668c59ed
[ "MIT" ]
8
2015-05-07T03:51:05.000Z
2019-03-20T05:40:47.000Z
import os from ...envs.fs import Env CURRENT_PATH = os.path.abspath(os.path.dirname(__file__)) def make_fs_env(): return Env(CURRENT_PATH) def read(name): with open(os.path.join(CURRENT_PATH, name), 'rb') as f: return f.read().decode('utf-8')
17.666667
59
0.675472
44
265
3.863636
0.568182
0.194118
0.164706
0
0
0
0
0
0
0
0
0.004545
0.169811
265
14
60
18.928571
0.768182
0
0
0
0
0
0.026415
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2c5b65c5e6531b659a8e6e99893df6321affb8d2
1,566
py
Python
budgeted_bo/experiment_manager.py
RaulAstudillo06/BudgetedBO
740cbf8397ac68bcdb1a196f2b56381adb1be1b4
[ "MIT" ]
1
2022-03-30T11:45:59.000Z
2022-03-30T11:45:59.000Z
budgeted_bo/experiment_manager.py
RaulAstudillo06/BudgetedBO
740cbf8397ac68bcdb1a196f2b56381adb1be1b4
[ "MIT" ]
null
null
null
budgeted_bo/experiment_manager.py
RaulAstudillo06/BudgetedBO
740cbf8397ac68bcdb1a196f2b56381adb1be1b4
[ "MIT" ]
null
null
null
from typing import Callable, Dict, List, Optional import os import sys from budgeted_bo.budgeted_bo_trial import budgeted_bo_trial def experiment_manager( problem: str, algo: str, algo_params: Dict, restart: bool, first_trial: int, last_trial: int, get_objective_cost_function: Callable,...
29.54717
84
0.658365
185
1,566
5.145946
0.286486
0.201681
0.264706
0.201681
0.289916
0.201681
0.130252
0
0
0
0
0.008
0.281609
1,566
52
85
30.115385
0.838222
0
0
0
0
0
0
0
0
0
0
0
0
1
0.023256
false
0
0.093023
0
0.116279
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
2c6286fd32645a00f545efe144b70f41a29faabd
291
py
Python
src/djask/exceptions.py
z-t-y/Djask
d9867b3b91e2c50a07c701b4e2ef51a0c583c82c
[ "MIT" ]
19
2021-11-10T07:26:56.000Z
2022-02-07T08:45:48.000Z
src/djask/exceptions.py
z-t-y/Djask
d9867b3b91e2c50a07c701b4e2ef51a0c583c82c
[ "MIT" ]
2
2021-11-10T07:25:19.000Z
2021-11-30T14:23:53.000Z
src/djask/exceptions.py
z-t-y/Djask
d9867b3b91e2c50a07c701b4e2ef51a0c583c82c
[ "MIT" ]
1
2021-11-10T13:06:57.000Z
2021-11-10T13:06:57.000Z
AuthModelInvalid = Exception( "The auth model you passed to the app config" "should be a subclass of djask.auth.abstract.AbstractUser." ) ModelTypeError = TypeError( "The arg passed to register_model() must be a subclass of" "Model instead of PureModel or something else." )
32.333333
63
0.735395
40
291
5.325
0.7
0.075117
0.103286
0.122066
0
0
0
0
0
0
0
0
0.19244
291
8
64
36.375
0.906383
0
0
0
0
0
0.690722
0.113402
0
0
0
0
0
1
0
false
0.25
0
0
0
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
2cbc43e5fdf0860ab5f93a19da28d89f2488e1bd
308
py
Python
examples/plot_expression_vs_inconsistent_splicing.py
YeoLab/flotilla
31da64567e59003c2b9c03fc8f4eb27ee62e299c
[ "MIT", "BSD-3-Clause" ]
98
2015-01-08T19:38:47.000Z
2021-05-04T02:11:55.000Z
examples/plot_expression_vs_inconsistent_splicing.py
YeoLab/flotilla
31da64567e59003c2b9c03fc8f4eb27ee62e299c
[ "MIT", "BSD-3-Clause" ]
123
2015-01-08T22:28:43.000Z
2019-12-20T05:22:29.000Z
examples/plot_expression_vs_inconsistent_splicing.py
YeoLab/flotilla
31da64567e59003c2b9c03fc8f4eb27ee62e299c
[ "MIT", "BSD-3-Clause" ]
27
2015-01-21T15:41:40.000Z
2020-12-22T05:40:47.000Z
""" Show percentage of splicing events whose psi scores are inconsistent between pooled and single ============================================================================================== """ import flotilla study = flotilla.embark(flotilla._shalek2013) study.plot_expression_vs_inconsistent_splicing()
44
94
0.577922
27
308
6.407407
0.814815
0
0
0
0
0
0
0
0
0
0
0.013986
0.071429
308
7
95
44
0.590909
0.613636
0
0
0
0
0
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
2cc3614089af5f1da1c7bc8aa724616051ecf077
8,055
py
Python
moonv4/moon_db/moon_db/migrate_repo/versions/001_moon.py
hashnfv/hashnfv-moon
daaba34fa2ed4426bc0fde359e54a5e1b872208c
[ "Apache-2.0" ]
null
null
null
moonv4/moon_db/moon_db/migrate_repo/versions/001_moon.py
hashnfv/hashnfv-moon
daaba34fa2ed4426bc0fde359e54a5e1b872208c
[ "Apache-2.0" ]
null
null
null
moonv4/moon_db/moon_db/migrate_repo/versions/001_moon.py
hashnfv/hashnfv-moon
daaba34fa2ed4426bc0fde359e54a5e1b872208c
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 Open Platform for NFV Project, Inc. and its contributors # This software is distributed under the terms and conditions of the 'Apache-2.0' # license which can be found in the file 'LICENSE' in this package distribution # or at 'http://www.apache.org/licenses/LICENSE-2.0'. import sqlalchemy as sql de...
37.119816
91
0.638485
948
8,055
5.24789
0.100211
0.097688
0.062714
0.097688
0.776482
0.776482
0.761206
0.637186
0.637186
0.598794
0
0.012236
0.218746
8,055
216
92
37.291667
0.778325
0.034885
0
0.759358
0
0
0.146517
0.005407
0
0
0
0
0
1
0.010695
false
0
0.005348
0
0.016043
0.005348
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e2c47328612db2e98bae7524f25a77728b3348bc
260
py
Python
chess/players.py
Jonxslays/Chess
e7dbad1bfb2825fa8db616c64e9e3719e58c526c
[ "MIT" ]
1
2021-12-16T13:33:05.000Z
2021-12-16T13:33:05.000Z
chess/players.py
Jonxslays/Chess
e7dbad1bfb2825fa8db616c64e9e3719e58c526c
[ "MIT" ]
null
null
null
chess/players.py
Jonxslays/Chess
e7dbad1bfb2825fa8db616c64e9e3719e58c526c
[ "MIT" ]
null
null
null
from __future__ import annotations from dataclasses import dataclass, field from chess.moves import Move @dataclass class Player: """Represents a chess player.""" color: str score: int = 0 captures: list[Move] = field(default_factory=list)
18.571429
54
0.726923
33
260
5.575758
0.69697
0
0
0
0
0
0
0
0
0
0
0.004762
0.192308
260
13
55
20
0.871429
0.1
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.375
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
1
0
1
0
1
0
0
3
e2d1bb0b22edf3413b741eb5f67bcbec7c51c19a
1,470
py
Python
work_dirs_bottle/cascade_rcnn_r50_fpn/reclass.py
speciallan/mmdetection
786a6b4eb9f0b9bb3fd5b3ab81ede7d1b23573d6
[ "Apache-2.0" ]
null
null
null
work_dirs_bottle/cascade_rcnn_r50_fpn/reclass.py
speciallan/mmdetection
786a6b4eb9f0b9bb3fd5b3ab81ede7d1b23573d6
[ "Apache-2.0" ]
null
null
null
work_dirs_bottle/cascade_rcnn_r50_fpn/reclass.py
speciallan/mmdetection
786a6b4eb9f0b9bb3fd5b3ab81ede7d1b23573d6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author:Speciallan def main(): #gen coco pretrained weight path = './work_dirs_bottle/cascade_rcnn_r50_fpn/checkpoints/' import torch num_classes = 11 model_coco = torch.load(path+"cascade_rcnn_dconv_c3-c5_r50_fpn_1x_20190125-dfa53166.pth") # weight ...
63.913043
134
0.729252
233
1,470
4.171674
0.261803
0.148148
0.17284
0.222222
0.66358
0.653292
0.653292
0.653292
0.653292
0.600823
0
0.057121
0.106803
1,470
23
135
63.913043
0.683168
0.082313
0
0
0
0
0.514903
0.419523
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.125
0
0
0
0
null
0
0
1
0
0
0
0
0
1
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
e2d59b1a9aed0843e778775b09a7e6c0571ef6a6
206
py
Python
Asset/Elements/Utility/DummyBuildingUtility.py
vd1371/GIAMS
dd6551f344b8d0377131d4496846eb5d03b6189c
[ "MIT" ]
null
null
null
Asset/Elements/Utility/DummyBuildingUtility.py
vd1371/GIAMS
dd6551f344b8d0377131d4496846eb5d03b6189c
[ "MIT" ]
null
null
null
Asset/Elements/Utility/DummyBuildingUtility.py
vd1371/GIAMS
dd6551f344b8d0377131d4496846eb5d03b6189c
[ "MIT" ]
null
null
null
import numpy as np from .BaseUtility import BaseUtility class DummyUtility(BaseUtility): def __init__(self): super().__init__() def utility_function(self, x): return 100 * (1 - np.exp(-0.19 * x))
18.727273
38
0.708738
29
206
4.724138
0.724138
0
0
0
0
0
0
0
0
0
0
0.040698
0.165049
206
11
39
18.727273
0.755814
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
3934036821b99f3a446c5842236bd774d012e9ea
283
py
Python
pirates.py
sanjeev8386/Debugging
dd4ad640cf22af1d06d3bdccb74acab29bab47fc
[ "Apache-2.0" ]
5
2019-03-03T06:18:45.000Z
2019-03-03T06:27:29.000Z
pirates.py
sanjeev8386/Debugging
dd4ad640cf22af1d06d3bdccb74acab29bab47fc
[ "Apache-2.0" ]
null
null
null
pirates.py
sanjeev8386/Debugging
dd4ad640cf22af1d06d3bdccb74acab29bab47fc
[ "Apache-2.0" ]
null
null
null
# greeting = input("Kya naam hai aapka?") # print(greeting) # greeting = input("Kya naam hai aapka?") # print(greeting) greeting = input("Hello, pirate ji! Andar aane ka password batao?") if "AbraKaDabra" == greeting: print("Andar aao ji!") else: print("Bhaag jaa pirate!")
28.3
67
0.674912
38
283
5.026316
0.552632
0.204188
0.167539
0.209424
0.497382
0.497382
0.497382
0.497382
0.497382
0.497382
0
0
0.169611
283
10
68
28.3
0.812766
0.392226
0
0
0
0
0.52381
0
0
0
0
0
0
1
0
false
0.2
0
0
0
0.4
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
1
0
0
0
0
0
3
3942c26296f00630ee50c69c002e490850562b67
14,568
py
Python
src/the_tale/the_tale/game/actions/tests/test_meta_action_arena_pvp_1x1.py
devapromix/the-tale
2a10efd3270734f8cf482b4cfbc5353ef8f0494c
[ "BSD-3-Clause" ]
1
2020-04-02T11:51:20.000Z
2020-04-02T11:51:20.000Z
src/the_tale/the_tale/game/actions/tests/test_meta_action_arena_pvp_1x1.py
devapromix/the-tale
2a10efd3270734f8cf482b4cfbc5353ef8f0494c
[ "BSD-3-Clause" ]
null
null
null
src/the_tale/the_tale/game/actions/tests/test_meta_action_arena_pvp_1x1.py
devapromix/the-tale
2a10efd3270734f8cf482b4cfbc5353ef8f0494c
[ "BSD-3-Clause" ]
null
null
null
import smart_imports smart_imports.all() class ArenaPvP1x1Test(utils_testcase.TestCase, pvp_helpers.PvPTestsMixin): def setUp(self): super(ArenaPvP1x1Test, self).setUp() game_logic.create_test_map() self.account_1 = self.accounts_factory.create_account() self.account_2 = self....
45.102167
162
0.737095
2,105
14,568
4.729691
0.078385
0.037164
0.091402
0.130575
0.845621
0.791784
0.71826
0.662616
0.598734
0.538971
0
0.032624
0.164676
14,568
322
163
45.242236
0.785521
0.009747
0
0.402715
0
0
0.036061
0.027739
0
0
0
0
0.339367
1
0.108597
false
0
0.00905
0
0.122172
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3945918df30a9ed54072945849738662d8767f6a
461
py
Python
sources/t08/t08ej08.py
workready/pythonbasic
59bd82caf99244f5e711124e1f6f4dec8de22141
[ "MIT" ]
null
null
null
sources/t08/t08ej08.py
workready/pythonbasic
59bd82caf99244f5e711124e1f6f4dec8de22141
[ "MIT" ]
null
null
null
sources/t08/t08ej08.py
workready/pythonbasic
59bd82caf99244f5e711124e1f6f4dec8de22141
[ "MIT" ]
null
null
null
from functools import wraps def debug(func): msg = func.__qualname__ @wraps(func) def wrapper(*args, **kwargs): print(msg) return func(*args, **kwargs) return wrapper @debug def add(x, y): """ Función que suma dos números """ return x + y @debug def sub(x, y): r...
14.40625
36
0.566161
75
461
3.426667
0.426667
0.062257
0.124514
0.151751
0.241245
0.140078
0.140078
0
0
0
0
0.027439
0.288503
461
32
37
14.40625
0.756098
0.060738
0
0.16
0
0
0
0
0
0
0
0
0
1
0.24
false
0
0.04
0.12
0.52
0.04
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
39512081e501bea95e39139b8a09e836d559e349
61
py
Python
ninja_schema/types.py
eadwinCode/django-schema
94280270aa4f9c8ed08808c938283a4e217d17f0
[ "MIT" ]
9
2021-10-31T22:03:00.000Z
2022-03-27T19:40:40.000Z
ninja_schema/types.py
eadwinCode/django-schema
94280270aa4f9c8ed08808c938283a4e217d17f0
[ "MIT" ]
null
null
null
ninja_schema/types.py
eadwinCode/django-schema
94280270aa4f9c8ed08808c938283a4e217d17f0
[ "MIT" ]
null
null
null
from typing import Any, Dict DictStrAny = Dict[str, Any]
15.25
29
0.704918
9
61
4.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.213115
61
3
30
20.333333
0.895833
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
1a7d17cec7b26d8f082204fb03126fadc5b321d1
274
py
Python
docker_monitor/checks/active_build.py
cfpb/docker-monitor
b2073fcf79816744b3d3915b410f105b72b29f54
[ "CC0-1.0" ]
1
2021-07-14T02:36:43.000Z
2021-07-14T02:36:43.000Z
docker_monitor/checks/active_build.py
cfpb/docker-monitor
b2073fcf79816744b3d3915b410f105b72b29f54
[ "CC0-1.0" ]
null
null
null
docker_monitor/checks/active_build.py
cfpb/docker-monitor
b2073fcf79816744b3d3915b410f105b72b29f54
[ "CC0-1.0" ]
1
2021-02-18T11:38:52.000Z
2021-02-18T11:38:52.000Z
import logging from docker_monitor.policy import PolicyCheck logger = logging.getLogger(__name__) class ActiveBuildCheck(PolicyCheck): description = "is actively building" def __call__(self, container): # return self.PASS_FAST return self.PASS
18.266667
45
0.737226
30
274
6.4
0.766667
0.104167
0.145833
0
0
0
0
0
0
0
0
0
0.19708
274
14
46
19.571429
0.872727
0.076642
0
0
0
0
0.079681
0
0
0
0
0
0
1
0.142857
false
0.142857
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
1a823f974ae1e361b95b99be09d1646e08691c04
204
py
Python
Dataset/Leetcode/test/125/253.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/125/253.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/125/253.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution(object): def XXX(self, s): """ :type s: str :rtype: bool """ s = "".join([ch.lower() for ch in s if ch.isalnum()]) return s == s[::-1]
20.4
61
0.426471
27
204
3.222222
0.740741
0
0
0
0
0
0
0
0
0
0
0.008
0.387255
204
9
62
22.666667
0.688
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
1a965592916f1ea93fda3c740173e3525efb4396
513
py
Python
sqrt_test.py
patrickjwolf/lambdata
10098611d4a074ab6685a14eb1d3ef183975e814
[ "MIT" ]
null
null
null
sqrt_test.py
patrickjwolf/lambdata
10098611d4a074ab6685a14eb1d3ef183975e814
[ "MIT" ]
null
null
null
sqrt_test.py
patrickjwolf/lambdata
10098611d4a074ab6685a14eb1d3ef183975e814
[ "MIT" ]
null
null
null
import unittest from sqrt import lazy_sqrt, builtin_sqrt, newton_sqrt1 class SqrtTests(unittest.TestCase): """obligatory docstring, tests square root functions""" def test_sqrt9(self): self.assertEqual(newton_sqrt1(9), 3) self.assertEqual(lazy_sqrt(9), 3) def test_sqrt2(self): ...
28.5
61
0.68616
62
513
5.403226
0.564516
0.098507
0
0
0
0
0
0
0
0
0
0.049383
0.210526
513
18
62
28.5
0.777778
0.095517
0
0
0
0
0.0181
0
0
0
0
0
0.230769
1
0.230769
false
0.076923
0.153846
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
1aaad603bf5e83f2d58f456fd2cb27bd0fae1730
15,679
py
Python
ghostwriter/home/tests/test_views.py
bbhunter/Ghostwriter
1b684ddd119feed9891e83b39c9b314b41d086ca
[ "BSD-3-Clause" ]
1
2022-02-04T20:24:35.000Z
2022-02-04T20:24:35.000Z
ghostwriter/home/tests/test_views.py
bbhunter/Ghostwriter
1b684ddd119feed9891e83b39c9b314b41d086ca
[ "BSD-3-Clause" ]
null
null
null
ghostwriter/home/tests/test_views.py
bbhunter/Ghostwriter
1b684ddd119feed9891e83b39c9b314b41d086ca
[ "BSD-3-Clause" ]
null
null
null
# Standard Libraries import logging from datetime import date, timedelta # Django Imports from django.conf import settings from django.db.models import Q from django.test import Client, TestCase from django.test.utils import override_settings from django.urls import reverse # Ghostwriter Libraries from ghostwriter.fa...
34.611479
96
0.675553
1,786
15,679
5.759239
0.101344
0.075831
0.053082
0.057748
0.734882
0.709314
0.691231
0.655454
0.635718
0.632121
0
0.009535
0.217361
15,679
452
97
34.688053
0.828702
0.041138
0
0.591176
0
0
0.040654
0.010547
0
0
0
0
0.194118
1
0.147059
false
0.108824
0.026471
0
0.202941
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
1ac500dbb07444e0474269ea82dee2adab318324
11,587
py
Python
pycatia/tps_interfaces/capture.py
evereux/catia_python
08948585899b12587b0415ce3c9191a408b34897
[ "MIT" ]
90
2019-02-21T10:05:28.000Z
2022-03-19T01:53:41.000Z
pycatia/tps_interfaces/capture.py
evereux/catia_python
08948585899b12587b0415ce3c9191a408b34897
[ "MIT" ]
99
2019-05-21T08:29:12.000Z
2022-03-25T09:55:15.000Z
pycatia/tps_interfaces/capture.py
evereux/catia_python
08948585899b12587b0415ce3c9191a408b34897
[ "MIT" ]
26
2019-04-04T06:31:36.000Z
2022-03-30T07:24:47.000Z
#! usr/bin/python3.6 """ Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357 .. warning:: The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only. They are there as a guide as to how the visual basic / catscript function...
30.018135
111
0.53793
1,157
11,587
5.312878
0.197061
0.041158
0.019522
0.024402
0.355783
0.322596
0.315764
0.256873
0.194729
0.179762
0
0.047739
0.383533
11,587
385
112
30.096104
0.812824
0.554414
0
0.175
1
0
0.017801
0.007752
0
0
0
0
0
1
0.3
false
0
0.125
0.0125
0.6125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1ad18fb2a9e0d96a010fcbc48c609ae14cc20cfb
415
py
Python
Python-Advanced/functions_advanced/absolute_values.py
Xamaneone/SoftUni-Intro
985fe3249cd2adf021c2003372e840219811d989
[ "MIT" ]
null
null
null
Python-Advanced/functions_advanced/absolute_values.py
Xamaneone/SoftUni-Intro
985fe3249cd2adf021c2003372e840219811d989
[ "MIT" ]
null
null
null
Python-Advanced/functions_advanced/absolute_values.py
Xamaneone/SoftUni-Intro
985fe3249cd2adf021c2003372e840219811d989
[ "MIT" ]
null
null
null
def convert_iterable_to_absolute(nums_list): result = list(map(lambda x: abs(x), nums_list)) return result nums = map(lambda el: float(el), input().split()) print(convert_iterable_to_absolute(nums)) # def convert_iterable_to_absolute(nums_list): # result = [abs(el) for el in nums_list] # return resu...
27.666667
51
0.718072
63
415
4.47619
0.31746
0.212766
0.241135
0.35461
0.780142
0.609929
0.609929
0.609929
0
0
0
0
0.146988
415
15
52
27.666667
0.79661
0.462651
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0.2
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
1ad19cefd911536d3cd0c13616bd9ef7f9d045b4
2,686
py
Python
Question.py
asdfadrian/OpenTester
b893025fcdc3e5c9b8581a64b68fbafe32e30988
[ "Apache-2.0" ]
null
null
null
Question.py
asdfadrian/OpenTester
b893025fcdc3e5c9b8581a64b68fbafe32e30988
[ "Apache-2.0" ]
null
null
null
Question.py
asdfadrian/OpenTester
b893025fcdc3e5c9b8581a64b68fbafe32e30988
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon May 14 12:20:07 2018 @author: 1172334950C """ class Question(object): """ This is used as the structure to format questions and retrieve those properties for our tests number : string Display element number within the Test Container questi...
27.131313
120
0.612063
288
2,686
5.680556
0.409722
0.061125
0.06846
0.023227
0
0
0
0
0
0
0
0.016251
0.312733
2,686
98
121
27.408163
0.869989
0.306404
0
0
0
0
0.015458
0
0
0
0
0
0
1
0.340426
false
0
0
0.212766
0.574468
0.12766
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
46bdf7ca5389b5cf7a84c57dce254fb87783c3f5
165
py
Python
packs/openhab/actions/set_state.py
jonico/st2contrib
149c9c553f24360d91a14fef7ea6146707de75fd
[ "Apache-2.0" ]
164
2015-01-17T16:08:33.000Z
2021-08-03T02:34:07.000Z
packs/openhab/actions/set_state.py
jonico/st2contrib
149c9c553f24360d91a14fef7ea6146707de75fd
[ "Apache-2.0" ]
442
2015-01-01T11:19:01.000Z
2017-09-06T23:26:17.000Z
packs/openhab/actions/set_state.py
jonico/st2contrib
149c9c553f24360d91a14fef7ea6146707de75fd
[ "Apache-2.0" ]
202
2015-01-13T00:37:40.000Z
2020-11-07T11:30:10.000Z
from lib.action import BaseAction class SetStateAction(BaseAction): def run(self, item, state): self._put(item, state) return {'status': 'ok'}
20.625
33
0.654545
20
165
5.35
0.8
0.168224
0
0
0
0
0
0
0
0
0
0
0.224242
165
7
34
23.571429
0.835938
0
0
0
0
0
0.048485
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
46c5bcf324a8b41403c291c8dfde501e02e20e93
188
py
Python
src/bitinfo_holding_alert/config.py
Jimsparkle/bitinfo_holding_alert
bc79112615686fadf98c9fe634fb8e7eefbe9918
[ "MIT" ]
null
null
null
src/bitinfo_holding_alert/config.py
Jimsparkle/bitinfo_holding_alert
bc79112615686fadf98c9fe634fb8e7eefbe9918
[ "MIT" ]
null
null
null
src/bitinfo_holding_alert/config.py
Jimsparkle/bitinfo_holding_alert
bc79112615686fadf98c9fe634fb8e7eefbe9918
[ "MIT" ]
null
null
null
"""Default configuration when no ENV variables are set.""" CLOUDFLARE_BYPASS_URL = "http://localhost:8191/v1" TRACK_COIN = "dogecoin" TRACK_ADDRESS = "DRSqEwcnJX3GZWH9Twtwk8D5ewqdJzi13k"
31.333333
58
0.792553
21
188
6.904762
0.952381
0
0
0
0
0
0
0
0
0
0
0.064706
0.095745
188
5
59
37.6
0.788235
0.276596
0
0
0
0
0.507692
0.261538
0
0
0
0
0
1
0
false
0.333333
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
46c8a4498347859a35abd81cfed9f5d58806930a
1,841
py
Python
src/zojax/widget/captcha/widget.py
Zojax/zojax.widget.captcha
9aa315bc0ec85ecd5bf0743296e4733e0b2b8de5
[ "ZPL-2.1" ]
null
null
null
src/zojax/widget/captcha/widget.py
Zojax/zojax.widget.captcha
9aa315bc0ec85ecd5bf0743296e4733e0b2b8de5
[ "ZPL-2.1" ]
null
null
null
src/zojax/widget/captcha/widget.py
Zojax/zojax.widget.captcha
9aa315bc0ec85ecd5bf0743296e4733e0b2b8de5
[ "ZPL-2.1" ]
null
null
null
############################################################################## # # Copyright (c) 2009 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
32.298246
78
0.67572
207
1,841
5.917874
0.478261
0.022857
0.026939
0.037551
0
0
0
0
0
0
0
0.006477
0.161325
1,841
56
79
32.875
0.786917
0.250407
0
0
0
0
0.007463
0
0
0
0
0
0
1
0.222222
false
0
0.259259
0.111111
0.703704
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
46d790318dd9872e70883f8227ecbf0ac8affa79
1,663
py
Python
python/test_demo.py
rensir/RapidOCR
2408ec64cd20145e468e08a5469eaa2c042cd1c6
[ "Apache-2.0" ]
null
null
null
python/test_demo.py
rensir/RapidOCR
2408ec64cd20145e468e08a5469eaa2c042cd1c6
[ "Apache-2.0" ]
null
null
null
python/test_demo.py
rensir/RapidOCR
2408ec64cd20145e468e08a5469eaa2c042cd1c6
[ "Apache-2.0" ]
null
null
null
# -*- encoding: utf-8 -*- # @Author: SWHL # @Contact: liekkaskono@163.com from rapid_ocr_api import TextSystem, visualize det_model_path = 'models/ch_ppocr_mobile_v2.0_det_infer.onnx' cls_model_path = 'models/ch_ppocr_mobile_v2.0_cls_infer.onnx' # 中英文识别 rec_model_path = 'models/ch_ppocr_mobile_v2.0_rec_infer.onnx' ke...
31.980769
62
0.693325
251
1,663
4.091633
0.219124
0.148978
0.081792
0.075949
0.701071
0.701071
0.701071
0.701071
0.562804
0.562804
0
0.012403
0.224293
1,663
51
63
32.607843
0.783721
0.053518
0
0.636364
0
0
0.266114
0.266114
0
0
0
0
0
1
0
false
0
0.030303
0
0.030303
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
46e51229bf81d16850dc1c99426ad60797e1a90e
746
py
Python
pointCollection/ATL06/tile.py
tsutterley/pointCollection
04e4359e463ff8a556e0d078373578bd96390151
[ "MIT" ]
null
null
null
pointCollection/ATL06/tile.py
tsutterley/pointCollection
04e4359e463ff8a556e0d078373578bd96390151
[ "MIT" ]
null
null
null
pointCollection/ATL06/tile.py
tsutterley/pointCollection
04e4359e463ff8a556e0d078373578bd96390151
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Oct 18 18:45:18 2019 @author: ben """ import pointCollection as pc class tile(pc.tile): def __default_field_dict__(self): return {None:['delta_time','h_li','h_li_sigma','latitude','longitude','atl06_quality_summary','segment_id','sigma_g...
27.62963
130
0.615282
101
746
4.108911
0.712871
0.072289
0.072289
0
0
0
0
0
0
0
0
0.026756
0.198391
746
26
131
28.692308
0.667224
0.124665
0
0
0
0
0.414596
0.032609
0
0
0
0
0
1
0.230769
false
0
0.076923
0.230769
0.615385
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
46ec761cd98425860c5430fd123aaa948c1d1e0b
248
py
Python
ignoregen/__init__.py
rcook/ignoregen
d702b1fbe3d1b525dde312aa761080e098fc9111
[ "MIT" ]
null
null
null
ignoregen/__init__.py
rcook/ignoregen
d702b1fbe3d1b525dde312aa761080e098fc9111
[ "MIT" ]
1
2018-04-22T04:28:52.000Z
2018-04-22T04:31:24.000Z
ignoregen/__init__.py
rcook/ignoregen
d702b1fbe3d1b525dde312aa761080e098fc9111
[ "MIT" ]
null
null
null
################################################## # Copyright (C) 2017-2020, All rights reserved. ################################################## __project_name__ = "ignoregen" __version__ = "0.6" __description__ = "Generate Git ignore rules"
31
50
0.443548
18
248
5.388889
1
0
0
0
0
0
0
0
0
0
0
0.044248
0.08871
248
7
51
35.428571
0.384956
0.181452
0
0
0
0
0.366337
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
46faddb5936830fe08f886c938c95f1e747a2f63
362
py
Python
test/src/lib/idol/py_mar/codegen/all/target/optional_service.py
lyric-com/idol
285005e9ddaa92b2284b7e9c28cd12f1e34746ec
[ "MIT" ]
null
null
null
test/src/lib/idol/py_mar/codegen/all/target/optional_service.py
lyric-com/idol
285005e9ddaa92b2284b7e9c28cd12f1e34746ec
[ "MIT" ]
2
2020-03-24T18:03:10.000Z
2020-03-31T10:41:56.000Z
test/src/lib/idol/py_mar/codegen/all/target/optional_service.py
lyric-com/idol
285005e9ddaa92b2284b7e9c28cd12f1e34746ec
[ "MIT" ]
null
null
null
# DO NOT EDIT # This file was generated by idol_mar, any changes will be lost when idol_mar is rerun again from marshmallow import Schema from .optional_method import AllTargetOptionalMethodField class AllTargetOptionalServiceSchema(Schema): optional = AllTargetOptionalMethodField( dump_to="optional", loa...
32.909091
92
0.792818
44
362
6.386364
0.772727
0.049822
0
0
0
0
0
0
0
0
0
0
0.154696
362
10
93
36.2
0.918301
0.281768
0
0
1
0
0.062257
0
0
0
0
0
0
1
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
46ff9fba20209668c437a076f4febcd60a6c1518
104,686
py
Python
EnrollmentStation/Binaries/YubikeyManager/pymodules/smartcard/scard/scard.py
dennisrahmen/EnrollmentStation
a145345f9bb91bccb2bd67b349af8cfc4ec9e290
[ "MIT" ]
1
2020-03-16T14:57:15.000Z
2020-03-16T14:57:15.000Z
EnrollmentStation/Binaries/YubikeyManager/pymodules/smartcard/scard/scard.py
dennisrahmen/EnrollmentStation
a145345f9bb91bccb2bd67b349af8cfc4ec9e290
[ "MIT" ]
null
null
null
EnrollmentStation/Binaries/YubikeyManager/pymodules/smartcard/scard/scard.py
dennisrahmen/EnrollmentStation
a145345f9bb91bccb2bd67b349af8cfc4ec9e290
[ "MIT" ]
1
2022-02-04T14:55:45.000Z
2022-02-04T14:55:45.000Z
# This file was automatically generated by SWIG (http://www.swig.org). # Version 4.0.0 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. """ The smartcard.scard module is a simple wrapper on top of the C language PCSC SCardXXX API. The smartcard.scard m...
33.424649
249
0.675936
12,600
104,686
5.418175
0.064444
0.055545
0.034086
0.052147
0.733085
0.704507
0.689112
0.676867
0.663464
0.656154
0
0.005151
0.243395
104,686
3,131
250
33.435324
0.856766
0.36961
0
0.029018
1
0
0.016095
0
0
0
0
0
0
1
0.091518
false
0
0.013393
0.004464
0.203125
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
200ef42bfef4d6393d9dcce9e1c4825bb9b3de29
7,162
py
Python
sacla/scripts/pv3.py
beamline-i24/DiamondChips
02fb58a95ad2c1712c41b641eb5f197d688c54c3
[ "Apache-2.0" ]
null
null
null
sacla/scripts/pv3.py
beamline-i24/DiamondChips
02fb58a95ad2c1712c41b641eb5f197d688c54c3
[ "Apache-2.0" ]
null
null
null
sacla/scripts/pv3.py
beamline-i24/DiamondChips
02fb58a95ad2c1712c41b641eb5f197d688c54c3
[ "Apache-2.0" ]
null
null
null
#PILATUS pilat_file_path = 'BL24I-EA-PILAT-01:cam1:FilePath' pilat_file_name = 'BL24I-EA-PILAT-01:cam1:FileName' pilat_file_temp = 'BL24I-EA-PILAT-01:cam1:FileTemplate' pilat_numb_imgs = 'BL24I-EA-PILAT-01:cam1:NumImages' pilat_file_num = 'BL24I-EA-PILAT-01:cam1:FileNumber' pilat_acquire = 'BL24I-EA-PILAT-01:cam1:Acqui...
34.599034
58
0.740575
1,344
7,162
3.773065
0.188988
0.154605
0.195228
0.234273
0.120489
0.047722
0.008677
0
0
0
0
0.211684
0.079866
7,162
206
59
34.76699
0.557815
0.017732
0
0
0
0
0.570798
0.261681
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
202b359513f51708d7eb7be95a2b59ab940c8140
36
py
Python
system/protocols/generic/__init__.py
UltrosBot/Ultros
639efc11f73ebf7e8f47f0554aced00a559d9e2d
[ "Artistic-2.0" ]
16
2015-01-02T00:16:11.000Z
2019-06-03T06:23:11.000Z
system/protocols/generic/__init__.py
UltrosBot/Ultros
639efc11f73ebf7e8f47f0554aced00a559d9e2d
[ "Artistic-2.0" ]
31
2015-01-18T12:14:53.000Z
2018-01-07T13:32:29.000Z
system/protocols/generic/__init__.py
UltrosBot/Ultros
639efc11f73ebf7e8f47f0554aced00a559d9e2d
[ "Artistic-2.0" ]
9
2015-02-13T09:38:53.000Z
2020-11-29T19:59:32.000Z
# coding=utf-8 __author__ = 'Sean'
9
19
0.666667
5
36
4
1
0
0
0
0
0
0
0
0
0
0
0.033333
0.166667
36
3
20
12
0.633333
0.333333
0
0
0
0
0.181818
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
203cbdc89d4f2978be7134d545c2c02ab6abca2d
190
py
Python
src/jobs/write_notification.py
daianasousa/Projeto-BLX
4006af4a998a4837b4f5e89d842d74cb454fc52c
[ "MIT" ]
null
null
null
src/jobs/write_notification.py
daianasousa/Projeto-BLX
4006af4a998a4837b4f5e89d842d74cb454fc52c
[ "MIT" ]
null
null
null
src/jobs/write_notification.py
daianasousa/Projeto-BLX
4006af4a998a4837b4f5e89d842d74cb454fc52c
[ "MIT" ]
null
null
null
def write_notification(email: str, mensagem=''): with open('log.txt', mode='a') as email_file: conteudo = f'Email: {email} - msg: {mensagem}\n' email_file.write(conteudo)
47.5
56
0.642105
26
190
4.576923
0.692308
0.151261
0
0
0
0
0
0
0
0
0
0
0.189474
190
4
57
47.5
0.772727
0
0
0
0
0
0.219895
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
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
203f675ff410bffb2f8fc129a258a5f53d79aacf
336
py
Python
mayan/apps/scheduler/permissions.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
3
2020-02-03T11:58:51.000Z
2020-10-20T03:52:21.000Z
mayan/apps/scheduler/permissions.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
null
null
null
mayan/apps/scheduler/permissions.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
2
2020-10-24T11:10:06.000Z
2021-03-03T20:05:38.000Z
from __future__ import absolute_import from django.utils.translation import ugettext_lazy as _ from permissions.models import PermissionNamespace, Permission namespace = PermissionNamespace('scheduler', _(u'Scheduler')) PERMISSION_VIEW_JOB_LIST = Permission.objects.register(namespace, 'jobs_list', _(u'View the inter...
37.333333
112
0.827381
40
336
6.625
0.625
0.05283
0
0
0
0
0
0
0
0
0
0
0.092262
336
8
113
42
0.868852
0
0
0
0
0
0.157738
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
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
2047aaf1773627781dbbff3024237cc94ffa4aba
1,258
py
Python
spottelbot/botexceptions.py
mnowiasz/spottelbot
72ad0692edf5f244b7cb16171248d266ed82ce94
[ "MIT" ]
null
null
null
spottelbot/botexceptions.py
mnowiasz/spottelbot
72ad0692edf5f244b7cb16171248d266ed82ce94
[ "MIT" ]
null
null
null
spottelbot/botexceptions.py
mnowiasz/spottelbot
72ad0692edf5f244b7cb16171248d266ed82ce94
[ "MIT" ]
null
null
null
"""Custom exception where the builin exceptions won't suffice""" # Invalid user in the configfile (non-numeric UserID with no "@") class InvalidUser(Exception): def __init__(self, userid): self.bad_id = userid # No Token or empty token defined class MissingTelegramToken(Exception): pass # No users...
22.070175
65
0.72814
153
1,258
5.777778
0.444444
0.081448
0.108597
0.135747
0
0
0
0
0
0
0
0.000981
0.189984
1,258
56
66
22.464286
0.866536
0.306041
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.230769
false
0.153846
0
0
0.615385
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
204ac12bfcc8a62a1ffcd3cacb0f4f80cf9ae16d
6,260
py
Python
web3/settings/__init__.py
anonymoose2/director
c73c0e106372031ffe84bf044d8a88137518635c
[ "MIT" ]
10
2017-03-20T14:40:56.000Z
2020-04-07T17:03:42.000Z
web3/settings/__init__.py
anonymoose2/director
c73c0e106372031ffe84bf044d8a88137518635c
[ "MIT" ]
50
2017-05-23T01:26:26.000Z
2020-06-05T17:13:25.000Z
web3/settings/__init__.py
anonymoose2/director
c73c0e106372031ffe84bf044d8a88137518635c
[ "MIT" ]
9
2017-03-18T01:23:38.000Z
2020-08-17T20:50:07.000Z
""" Django settings for web3 project. Generated by 'django-admin startproject' using Django 1.10.1. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
27.099567
94
0.70607
758
6,260
5.662269
0.348285
0.045433
0.033551
0.040774
0.181267
0.149581
0.06384
0.06384
0.028658
0
0
0.016832
0.164856
6,260
230
95
27.217391
0.804132
0.238339
0
0.013986
1
0.006993
0.531785
0.405069
0
0
0
0.004348
0
1
0
false
0.06993
0.020979
0
0.020979
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
64586d11389e7cde5b3da86656bab0ca595bc703
179
py
Python
rockstarUse.py
druv777/TensorFlow-clone
70940acd8ef63455990522093c5642008e979415
[ "MIT" ]
null
null
null
rockstarUse.py
druv777/TensorFlow-clone
70940acd8ef63455990522093c5642008e979415
[ "MIT" ]
null
null
null
rockstarUse.py
druv777/TensorFlow-clone
70940acd8ef63455990522093c5642008e979415
[ "MIT" ]
null
null
null
from rockstar import RockStar swift_code = "print('Hello world')" rock_it_bro = RockStar(days=1900, file_name='hello.swift', code=swift_code) rock_it_bro.make_me_a_rockstar()
35.8
76
0.782123
29
179
4.482759
0.62069
0.207692
0.138462
0
0
0
0
0
0
0
0
0.024845
0.100559
179
5
77
35.8
0.782609
0
0
0
0
0
0.176136
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
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
64614e9f6807adb4c793f96caabf995d3909e4b8
162
py
Python
idManager/model/integration/message_data.py
lgarciasbr/idm-api
3517d29d55eb2a06fb5b4b21359b6cf6d11529a0
[ "Apache-2.0" ]
2
2018-01-14T22:43:43.000Z
2018-01-14T22:43:48.000Z
idManager/model/integration/message_data.py
lgarciasbr/idm-api
3517d29d55eb2a06fb5b4b21359b6cf6d11529a0
[ "Apache-2.0" ]
null
null
null
idManager/model/integration/message_data.py
lgarciasbr/idm-api
3517d29d55eb2a06fb5b4b21359b6cf6d11529a0
[ "Apache-2.0" ]
null
null
null
from flask import current_app def send_log_message(text): try: log = current_app.extensions['sentry'].captureMessage(text) except: pass
18
67
0.679012
20
162
5.3
0.8
0.188679
0
0
0
0
0
0
0
0
0
0
0.234568
162
8
68
20.25
0.854839
0
0
0
0
0
0.037037
0
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
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
1
0
0
0
0
0
3
6465246c84a3f23d3c843ed1a4eac86a1553e332
22
py
Python
filters/__init__.py
mouradmourafiq/data-analysis
1df2ca020a554f1fdab7cc9e53115e249cc199ac
[ "BSD-2-Clause" ]
17
2015-04-01T12:11:31.000Z
2022-03-15T16:44:01.000Z
filters/__init__.py
mouradmourafiq/data-analysis
1df2ca020a554f1fdab7cc9e53115e249cc199ac
[ "BSD-2-Clause" ]
null
null
null
filters/__init__.py
mouradmourafiq/data-analysis
1df2ca020a554f1fdab7cc9e53115e249cc199ac
[ "BSD-2-Clause" ]
17
2015-01-14T14:59:40.000Z
2021-07-01T05:46:14.000Z
__author__ = 'mourad'
11
21
0.727273
2
22
6
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6465fab1a57ae1dcc41f4c7c95793b6cf4866599
261
py
Python
example/mysite/polls/admin.py
jAlpedrinha/DeclRY
f6f1f18a0cc38d0b502945a6f8baec64c3b9a6fa
[ "BSD-3-Clause" ]
1
2015-08-12T12:02:54.000Z
2015-08-12T12:02:54.000Z
example/mysite/polls/admin.py
jAlpedrinha/DeclRY
f6f1f18a0cc38d0b502945a6f8baec64c3b9a6fa
[ "BSD-3-Clause" ]
null
null
null
example/mysite/polls/admin.py
jAlpedrinha/DeclRY
f6f1f18a0cc38d0b502945a6f8baec64c3b9a6fa
[ "BSD-3-Clause" ]
null
null
null
from declry import site from declry.apps import Application class FormacaoAdmin(Application): list_display = ('nome','modulo','local','data_inicio','data_fim','coordenador') list_filter = ('data_inicio',) search_fields = ('nome','modulo','local')
29
83
0.716475
31
261
5.83871
0.645161
0.110497
0.165746
0
0
0
0
0
0
0
0
0
0.126437
261
8
84
32.625
0.79386
0
0
0
0
0
0.272031
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
6479e45e219721aaae6c4905f1adba39680d17b1
2,094
py
Python
tilecloud/lib/sqlite3_.py
wendymhelson/tilecloud
70f54d24d05e4e350317b12defd56e4eebe1f2c1
[ "Unlicense" ]
null
null
null
tilecloud/lib/sqlite3_.py
wendymhelson/tilecloud
70f54d24d05e4e350317b12defd56e4eebe1f2c1
[ "Unlicense" ]
null
null
null
tilecloud/lib/sqlite3_.py
wendymhelson/tilecloud
70f54d24d05e4e350317b12defd56e4eebe1f2c1
[ "Unlicense" ]
null
null
null
from collections import MutableMapping as DictMixin def query(connection, *args): cursor = connection.cursor() cursor.execute(*args) return cursor class SQLiteDict(DictMixin): """A dict facade for an SQLite table""" def __init__(self, connection, commit=True, **kwargs): self.connection ...
26.846154
90
0.644222
243
2,094
5.337449
0.251029
0.151118
0.131843
0.159599
0.161912
0.078643
0.053971
0
0
0
0
0.002536
0.246896
2,094
77
91
27.194805
0.819911
0.032474
0
0.25
0
0
0
0
0
0
0
0
0
1
0.303571
false
0
0.017857
0.214286
0.589286
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
6493ad91016eb24320a1dda1bde3e1ebc624f532
324
py
Python
pypheus/__init__.py
xod442/pypheus
11988d7c0efe2772bca80c2d40a71cc8ba707153
[ "Apache-2.0" ]
null
null
null
pypheus/__init__.py
xod442/pypheus
11988d7c0efe2772bca80c2d40a71cc8ba707153
[ "Apache-2.0" ]
null
null
null
pypheus/__init__.py
xod442/pypheus
11988d7c0efe2772bca80c2d40a71cc8ba707153
[ "Apache-2.0" ]
null
null
null
""" Information ================== pypheus is a Python binding for Morpheus a prominent Cloud Management Platform. This application will abstract the the Morpheus API and allow users to make simple python requests. wookieware 2022 version 0.1.0 - init release """ from pypheus import (auth, network, storage, monitori...
24.923077
99
0.743827
44
324
5.477273
0.863636
0
0
0
0
0
0
0
0
0
0
0.025455
0.151235
324
12
100
27
0.850909
0.796296
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
649a540a7b30e7793e5deda92e69dcaf44168a57
371
py
Python
app/src/subtitle/models.py
robertzm/VideoWebDemo
96e0e80b794c35ef77e92d1afce2e9bb498f0a2a
[ "Apache-2.0" ]
2
2020-12-09T23:34:58.000Z
2020-12-10T06:39:28.000Z
app/src/subtitle/models.py
robertzm/VideoWebDemo
96e0e80b794c35ef77e92d1afce2e9bb498f0a2a
[ "Apache-2.0" ]
2
2021-01-11T08:59:37.000Z
2021-01-11T09:00:06.000Z
app/src/subtitle/models.py
robertzm/VideoWebDemo
96e0e80b794c35ef77e92d1afce2e9bb498f0a2a
[ "Apache-2.0" ]
null
null
null
from app import db class SubtitlePath(db.Model): __tablename__ = "subtitle" id = db.Column(db.Integer, primary_key=True) uuid = db.Column(db.String(64), unique=True, nullable=True) lang = db.Column(db.String(32)) filepath = db.Column(db.String(128), nullable=False) def __repr__(self): ...
28.538462
63
0.67655
51
371
4.745098
0.607843
0.132231
0.165289
0.198347
0
0
0
0
0
0
0
0.022951
0.177898
371
12
64
30.916667
0.770492
0
0
0
0
0
0.070081
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
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
64a35f680e8ea36296637c6eb5830f1e36cb28a7
177
py
Python
fireCatcher.py
n1cfury/ViolentPython
c758de753bd56fe8b5c5b6db6f0f1b134023bf6f
[ "MIT" ]
null
null
null
fireCatcher.py
n1cfury/ViolentPython
c758de753bd56fe8b5c5b6db6f0f1b134023bf6f
[ "MIT" ]
null
null
null
fireCatcher.py
n1cfury/ViolentPython
c758de753bd56fe8b5c5b6db6f0f1b134023bf6f
[ "MIT" ]
null
null
null
def banner(): print "### Firesheep Detector p197-200 ###" print "" def fireCatcher(pkt): def main(): banner() fireCatcher(pkt): if __name__ == '__main__': main()
11.0625
48
0.615819
20
177
5.05
0.6
0.277228
0
0
0
0
0
0
0
0
0
0.042553
0.20339
177
16
49
11.0625
0.673759
0
0
0
0
0
0.267045
0
0
0
0
0
0
0
null
null
0
0
null
null
0.222222
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
1
0
0
0
0
0
0
0
0
3
64ac9a9800fc56bffbd8416996ff63c66a3c1e04
1,463
py
Python
PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/occlusion_query.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/occlusion_query.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/occlusion_query.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
'''Autogenerated by get_gl_extensions script, do not edit!''' from OpenGL import platform as _p, constants as _cs, arrays from OpenGL.GL import glget import ctypes EXTENSION_NAME = 'GL_ARB_occlusion_query' def _f( function ): return _p.createFunction( function,_p.GL,'GL_ARB_occlusion_query',False) _p.unpack_constan...
33.25
76
0.796309
212
1,463
5.179245
0.363208
0.014572
0.051002
0.070128
0.324226
0.251366
0.230419
0.230419
0.160291
0.087432
0
0.019549
0.090909
1,463
43
77
34.023256
0.806015
0.079973
0
0.25641
1
0
0.147566
0.089139
0
0
0.022472
0
0
1
0.25641
false
0.230769
0.102564
0.025641
0.410256
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
64b306b8769d1a5395b2ff462d244969453f0281
39
py
Python
main/models/__init__.py
trandat9h/GotitFinalProject
c32b12ab7099ee7d389ba67816fde7d48b3014bc
[ "MIT" ]
1
2022-03-29T09:58:16.000Z
2022-03-29T09:58:16.000Z
main/models/__init__.py
trandat9h/GotitFinalProject
c32b12ab7099ee7d389ba67816fde7d48b3014bc
[ "MIT" ]
null
null
null
main/models/__init__.py
trandat9h/GotitFinalProject
c32b12ab7099ee7d389ba67816fde7d48b3014bc
[ "MIT" ]
null
null
null
__all__ = ["category", "item", "user"]
19.5
38
0.589744
4
39
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.128205
39
1
39
39
0.558824
0
0
0
0
0
0.410256
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
64b3729d10855edc071cb1c3176a8d1e927629f4
588
py
Python
tests/test_need_to_wrap.py
ffreemt/simple-proxy-pool
15cb083904e515ad909cc5fa30cb030e200f5787
[ "MIT" ]
2
2020-01-01T12:55:01.000Z
2020-02-25T03:59:12.000Z
tests/test_need_to_wrap.py
ffreemt/simple-proxy-pool
15cb083904e515ad909cc5fa30cb030e200f5787
[ "MIT" ]
null
null
null
tests/test_need_to_wrap.py
ffreemt/simple-proxy-pool
15cb083904e515ad909cc5fa30cb030e200f5787
[ "MIT" ]
1
2020-08-06T02:29:00.000Z
2020-08-06T02:29:00.000Z
''' test need_to_wrap >>> assert not need_to_wrap(['127.0.0.1:8889', '127.0.0.1']) >>> assert need_to_wrap(['127.0.0.1:8889', 'source']) ''' from simple_pp.need_to_wrap import need_to_wrap def test_trivial(): ''' trivial tests''' assert not need_to_wrap(['127.0.0.1:8889', '127.0.0.1']) # extra...
24.5
64
0.636054
106
588
3.311321
0.273585
0.17094
0.25641
0.136752
0.564103
0.509972
0.464387
0.464387
0.464387
0.464387
0
0.148148
0.173469
588
23
65
25.565217
0.574074
0.481293
0
0
0
0
0.197232
0
0
0
0
0
0.666667
1
0.166667
true
0
0.166667
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
3
64b6cb679b43df545569ed71a1c4d61297d2aef9
6,304
py
Python
CIM14/IEC61970/Generation/Production/__init__.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
58
2015-04-22T10:41:03.000Z
2022-03-29T16:04:34.000Z
CIM14/IEC61970/Generation/Production/__init__.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
12
2015-08-26T03:57:23.000Z
2020-12-11T20:14:42.000Z
CIM14/IEC61970/Generation/Production/__init__.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
35
2015-01-10T12:21:03.000Z
2020-09-09T08:18:16.000Z
# Copyright (C) 2010-2011 Richard Lincoln # # 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, publish...
43.178082
256
0.805996
714
6,304
7.116247
0.37395
0.061996
0.117103
0.185987
0.254871
0
0
0
0
0
0
0.047923
0.129442
6,304
145
257
43.475862
0.877915
0.383249
0
0.223881
0
0
0.017223
0
0
0
0
0
0
1
0
false
0.223881
0.522388
0
0.746269
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
64d2fdd94ccdefb499475d5010e12ef3310e43be
13,438
py
Python
debexpo/tests/test_gnupg.py
jadonk/debexpo
a022160492e40cd02bafc413a3cb009551fd6f8d
[ "MIT" ]
null
null
null
debexpo/tests/test_gnupg.py
jadonk/debexpo
a022160492e40cd02bafc413a3cb009551fd6f8d
[ "MIT" ]
null
null
null
debexpo/tests/test_gnupg.py
jadonk/debexpo
a022160492e40cd02bafc413a3cb009551fd6f8d
[ "MIT" ]
2
2017-01-20T23:08:40.000Z
2019-08-13T20:30:00.000Z
# -*- coding: utf-8 -*- # # utils.py — Debexpo utility functions # # This file is part of debexpo - https://alioth.debian.org/projects/debexpo/ # # Copyright © 2008 Serafeim Zanikolas <serzan@hellug.gr> # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and ass...
45.398649
81
0.828992
1,078
13,438
10.192022
0.498145
0.015564
0.013106
0.018567
0.126695
0.099663
0.07427
0.068445
0.0537
0.049422
0
0.09541
0.113186
13,438
295
82
45.552542
0.826299
0.093094
0
0.282353
0
0
0.096749
0.024848
0
1
0
0
0.235294
0
null
null
0.023529
0.047059
null
null
0.035294
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
3
64da5c521fe950343aab3131bdce93d575050b5a
478
py
Python
privacydates/mixins.py
EMPRI-DEVOPS/django-privacydates
609ccd312a2d682575f229a4825670cfc97cd1a3
[ "BSD-3-Clause" ]
null
null
null
privacydates/mixins.py
EMPRI-DEVOPS/django-privacydates
609ccd312a2d682575f229a4825670cfc97cd1a3
[ "BSD-3-Clause" ]
null
null
null
privacydates/mixins.py
EMPRI-DEVOPS/django-privacydates
609ccd312a2d682575f229a4825670cfc97cd1a3
[ "BSD-3-Clause" ]
null
null
null
class VanishingDateMixIn(): """The VanishingMixIn is used to register Signals for deletion events, so all registered VanishingDateTime will be deleted. Inherit it in every class/Model where VanishingDateTime is used. Otherwise the VanishingDateTime-Instances are not registered and therefore not de...
36.769231
68
0.740586
65
478
5.446154
0.692308
0.033898
0
0
0
0
0
0
0
0
0
0
0.211297
478
12
69
39.833333
0.938992
0.845188
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
b396228087c514f695b111b9c52c74d4e78ad950
186
py
Python
config.py
muni2explore/flask-api-starter-kit
96ebafa33537e00ddd1d7d6f72d97b4c53f03723
[ "MIT" ]
54
2020-08-10T10:00:03.000Z
2022-03-18T10:07:01.000Z
config.py
muni2explore/flask-api-starter-kit
96ebafa33537e00ddd1d7d6f72d97b4c53f03723
[ "MIT" ]
2
2022-02-07T14:31:34.000Z
2022-02-07T14:32:44.000Z
config.py
muni2explore/flask-api-starter-kit
96ebafa33537e00ddd1d7d6f72d97b4c53f03723
[ "MIT" ]
23
2020-07-15T08:58:06.000Z
2022-03-25T03:03:53.000Z
"""[General Configuration Params] """ from os import environ, path from dotenv import load_dotenv basedir = path.abspath(path.dirname(__file__)) load_dotenv(path.join(basedir, '.env'))
23.25
46
0.763441
25
186
5.44
0.64
0.147059
0
0
0
0
0
0
0
0
0
0
0.102151
186
7
47
26.571429
0.814371
0.16129
0
0
0
0
0.026846
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
b399ee56bb344df4e4713b0aa7fd7ec58e6b5b22
3,910
py
Python
app/base/models.py
aleksandrmalinoko/CP_HC_Sharp_object
8dde212db0a8fe6851050e153b05aac06c2ed4e1
[ "MIT" ]
null
null
null
app/base/models.py
aleksandrmalinoko/CP_HC_Sharp_object
8dde212db0a8fe6851050e153b05aac06c2ed4e1
[ "MIT" ]
null
null
null
app/base/models.py
aleksandrmalinoko/CP_HC_Sharp_object
8dde212db0a8fe6851050e153b05aac06c2ed4e1
[ "MIT" ]
null
null
null
from bcrypt import gensalt, hashpw from flask_login import UserMixin from sqlalchemy import Binary, Column, Integer, String, Float from app import db, login_manager class Pharmacy(db.Model): __table__name = 'Pharmacy' id = Column(Integer, primary_key=True) title = Column(String) dosage = Column(Strin...
34.910714
78
0.614834
484
3,910
4.801653
0.214876
0.056799
0.025818
0.037866
0.690189
0.690189
0.665232
0.665232
0.665232
0.623064
0
0.007143
0.283887
3,910
111
79
35.225225
0.822857
0.211509
0
0.493151
0
0
0.03653
0
0
0
0
0
0
1
0.136986
false
0.068493
0.054795
0.068493
0.616438
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
b3a798145cf76d04c4f488bfafc0e3156fde2d5d
190
py
Python
test7.py
DogukanKundum/Classification-tweets
097935a990277f46ba9b3bf5a8455e10727a069a
[ "MIT" ]
1
2021-12-10T19:16:51.000Z
2021-12-10T19:16:51.000Z
test7.py
DogukanKundum/Classification-tweets
097935a990277f46ba9b3bf5a8455e10727a069a
[ "MIT" ]
null
null
null
test7.py
DogukanKundum/Classification-tweets
097935a990277f46ba9b3bf5a8455e10727a069a
[ "MIT" ]
1
2020-12-05T12:31:00.000Z
2020-12-05T12:31:00.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from textblob.classifiers import NaiveBayesClassifier with open('data/train.csv', 'r') as fp: cl = NaiveBayesClassifier(fp, format="json")
27.142857
53
0.7
25
190
5.32
0.92
0
0
0
0
0
0
0
0
0
0
0.006061
0.131579
190
6
54
31.666667
0.8
0.221053
0
0
0
0
0.130137
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
b3ba0fda33af2a7a5f1c8515ebec272724efa551
2,891
bzl
Python
tools/rules/twister2_core.bzl
FreddieSun/twister2
4c0a8ef7c86413cf190883cb7e1d9164467979e8
[ "Apache-2.0" ]
null
null
null
tools/rules/twister2_core.bzl
FreddieSun/twister2
4c0a8ef7c86413cf190883cb7e1d9164467979e8
[ "Apache-2.0" ]
null
null
null
tools/rules/twister2_core.bzl
FreddieSun/twister2
4c0a8ef7c86413cf190883cb7e1d9164467979e8
[ "Apache-2.0" ]
null
null
null
# Utility macros for Twister2 core files def twister2_core_files(): return twister2_core_conf_files() + twister2_core_lib_files() def twister2_core_conf_files(): return [ "//twister2/config/src/yaml:config-system-yaml", ] def twister2_core_lib_files(): return twister2_core_lib_resource_schedu...
32.483146
73
0.690073
347
2,891
5.236311
0.244957
0.105669
0.099064
0.079252
0.402862
0.23115
0.085856
0.049532
0.049532
0.049532
0
0.022175
0.188862
2,891
88
74
32.852273
0.752665
0.013144
0
0.16
0
0
0.518765
0.512803
0
0
0
0
0
1
0.16
true
0
0
0.16
0.32
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
1
null
0
0
0
0
0
0
1
0
0
1
0
0
0
3
b3c5d34fe811208beb9d81269a32648ad7b7f5f4
125
py
Python
guest/runner.py
archerckk/PyTest
610dd89df8d70c096f4670ca11ed2f0ca3196ca5
[ "MIT" ]
null
null
null
guest/runner.py
archerckk/PyTest
610dd89df8d70c096f4670ca11ed2f0ca3196ca5
[ "MIT" ]
1
2020-01-19T01:19:57.000Z
2020-01-19T01:19:57.000Z
guest/runner.py
archerckk/PyTest
610dd89df8d70c096f4670ca11ed2f0ca3196ca5
[ "MIT" ]
null
null
null
import subprocess command='python ‪G:\Pycharm_Project\PyTest\guest\manage.py runserver' subprocess.Popen(command,shell=True)
31.25
69
0.832
18
125
5.777778
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.048
125
4
70
31.25
0.865546
0
0
0
0
0
0.468254
0.333333
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
b3c8b9abb1acf23e964f85e4d58d9f98ef8202b4
330
py
Python
clusterManagement/MLClusterBase.py
micv-dev/DeepKubeGPUCluster
b1f674ea3c251a5287ee83d582b193248e04f9d6
[ "Apache-2.0" ]
2
2021-01-22T05:56:40.000Z
2021-07-03T17:50:49.000Z
clusterManagement/MLClusterBase.py
micv-dev/DeepKubeGPUCluster
b1f674ea3c251a5287ee83d582b193248e04f9d6
[ "Apache-2.0" ]
null
null
null
clusterManagement/MLClusterBase.py
micv-dev/DeepKubeGPUCluster
b1f674ea3c251a5287ee83d582b193248e04f9d6
[ "Apache-2.0" ]
null
null
null
class MLClusterBase(object): def __init__(self): pass def create_cluster(self, spec, cluster_management, namespace_name, volume_claim_name, **kwargs): pass def get_cluster_info(self,cluster_name,cluster_management,user_id): pass def delete_cluster(self,payload): ...
15.714286
100
0.675758
39
330
5.333333
0.564103
0.100962
0
0
0
0
0
0
0
0
0
0
0.245455
330
20
101
16.5
0.835341
0
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.444444
false
0.444444
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
b3d4939cf2842d4fe41db98de6a4249b7479e181
310
py
Python
nally/port_scanner/scanning_strategies/syn_scanning_strategy.py
FreibergVlad/port-scanner
432dd9a07cb5118f3a0722fe4908434c76191b3b
[ "MIT" ]
null
null
null
nally/port_scanner/scanning_strategies/syn_scanning_strategy.py
FreibergVlad/port-scanner
432dd9a07cb5118f3a0722fe4908434c76191b3b
[ "MIT" ]
null
null
null
nally/port_scanner/scanning_strategies/syn_scanning_strategy.py
FreibergVlad/port-scanner
432dd9a07cb5118f3a0722fe4908434c76191b3b
[ "MIT" ]
null
null
null
from nally.port_scanner.scanning_strategies.scanning_strategy import ScanningStrategy class SynScanningStrategy(ScanningStrategy): def scan_port(self, host: str, port: int) -> bool: return False @staticmethod def get_strategy_name() -> str: return ScanningStrategy.SYN_STRATEGY
25.833333
85
0.751613
34
310
6.647059
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.177419
310
11
86
28.181818
0.886275
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.285714
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b3da2e72ed59eb49c5853bcdb21f5237c0598cff
635
py
Python
hoodwatch/forms.py
kennedy-ben/My-Neighborhood
1f9df6e6d69a565c6fd545e8efd14c163e98abd7
[ "Unlicense" ]
1
2018-10-23T16:17:31.000Z
2018-10-23T16:17:31.000Z
hoodwatch/forms.py
kennedy-ben/My-Neighborhood
1f9df6e6d69a565c6fd545e8efd14c163e98abd7
[ "Unlicense" ]
5
2020-06-06T00:55:39.000Z
2021-09-08T01:46:30.000Z
hoodwatch/forms.py
kennedy-ben/My-Neighborhood
1f9df6e6d69a565c6fd545e8efd14c163e98abd7
[ "Unlicense" ]
3
2020-01-19T21:26:14.000Z
2020-11-04T08:37:38.000Z
from django import forms from .models import * class NewPostForm(forms.ModelForm): class Meta: model = Post exclude = ['user'] class UserForm(forms.ModelForm): class Meta: model = Profile fields = ('name','user_name','bio') class CreateHoodForm(forms.ModelForm): class Me...
19.84375
48
0.612598
65
635
5.969231
0.415385
0.180412
0.244845
0.296392
0.448454
0.231959
0.231959
0.231959
0
0
0
0
0.264567
635
31
49
20.483871
0.830835
0
0
0.318182
0
0
0.096063
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.545455
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
b3e8e83d598e0044b9c4b657fe64a24013a98a83
83
py
Python
course_02_python_data_structures/week_1/strip.py
RicardoRodriguesCosta/python_for_everybody
59bf99061cae37a11ce0b4095610de26330e3193
[ "MIT" ]
null
null
null
course_02_python_data_structures/week_1/strip.py
RicardoRodriguesCosta/python_for_everybody
59bf99061cae37a11ce0b4095610de26330e3193
[ "MIT" ]
null
null
null
course_02_python_data_structures/week_1/strip.py
RicardoRodriguesCosta/python_for_everybody
59bf99061cae37a11ce0b4095610de26330e3193
[ "MIT" ]
null
null
null
text = "X-DSPAM-Confidence: 0.8475" print(float(text[text.find(" "):].strip()))
27.666667
43
0.626506
12
83
4.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.067568
0.108434
83
2
44
41.5
0.635135
0
0
0
0
0
0.361446
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
b3edaf56efd71001fda07b90b8f93a95f2eb34f0
325
py
Python
services/web/server/tests/unit/isolated/scicrunch/conftest.py
elisabettai/osparc-simcore
ad7b6e05111b50fe95e49306a992170490a7247f
[ "MIT" ]
null
null
null
services/web/server/tests/unit/isolated/scicrunch/conftest.py
elisabettai/osparc-simcore
ad7b6e05111b50fe95e49306a992170490a7247f
[ "MIT" ]
1
2021-11-29T13:38:09.000Z
2021-11-29T13:38:09.000Z
services/web/server/tests/unit/isolated/scicrunch/conftest.py
mrnicegyu11/osparc-simcore
b6fa6c245dbfbc18cc74a387111a52de9b05d1f4
[ "MIT" ]
null
null
null
# pylint: disable=redefined-outer-name # pylint: disable=unused-argument # pylint: disable=unused-variable import pytest from simcore_service_webserver.scicrunch.settings import SciCrunchSettings @pytest.fixture async def settings() -> SciCrunchSettings: return SciCrunchSettings(SCICRUNCH_API_KEY="fake-secret-k...
25
74
0.815385
37
325
7.054054
0.675676
0.149425
0.145594
0
0
0
0
0
0
0
0
0
0.095385
325
12
75
27.083333
0.887755
0.307692
0
0
0
0
0.067873
0
0
0
0
0
0
1
0
true
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
b60380395c1922c0bd45b30cccf4f2cff22d2c09
162
py
Python
PythonExercicios/ex027.py
VitorFRodrigues/Python-curso
af75ff4a7ca14bc7e67b4f3362af837d355b1746
[ "MIT" ]
null
null
null
PythonExercicios/ex027.py
VitorFRodrigues/Python-curso
af75ff4a7ca14bc7e67b4f3362af837d355b1746
[ "MIT" ]
null
null
null
PythonExercicios/ex027.py
VitorFRodrigues/Python-curso
af75ff4a7ca14bc7e67b4f3362af837d355b1746
[ "MIT" ]
null
null
null
nome = str(input('Digite seu nome completo: ')).strip() div_nome = nome.split() print('Primeiro = {}\nÚltimo = {}'.format(div_nome[0], div_nome[len(div_nome)-1]))
54
82
0.679012
25
162
4.24
0.64
0.264151
0
0
0
0
0
0
0
0
0
0.013605
0.092593
162
3
82
54
0.707483
0
0
0
0
0
0.319018
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
374e12794e55f64210c0702578375d3bfa8fc2d6
311
py
Python
app/handlers/admin/find_assigned_group.py
jamestiotio/wthslack
4ada5e2354bfd9ffd46731abe35b65ef8a09d4f1
[ "MIT" ]
2
2020-07-10T21:06:53.000Z
2020-10-27T17:05:05.000Z
app/handlers/admin/find_assigned_group.py
wthdevelopers/wthslack
f6566e35b5455fcdfb12d9b33d65843b67aff17c
[ "MIT" ]
7
2020-02-09T12:08:00.000Z
2021-06-27T16:51:29.000Z
app/handlers/admin/find_assigned_group.py
jamestiotio/wthslack
4ada5e2354bfd9ffd46731abe35b65ef8a09d4f1
[ "MIT" ]
2
2020-02-07T15:35:24.000Z
2020-02-07T17:28:50.000Z
# coding: utf-8 # View a specific participant's assigned group details # Created by James Raphael Tiovalen (2021) import slack import ast import settings import config from slackers.hooks import commands conv_db = config.conv_handler @commands.on("viewgroupdeets") def viewgroupdeets(payload): return
16.368421
54
0.784566
42
311
5.761905
0.809524
0
0
0
0
0
0
0
0
0
0
0.018939
0.151125
311
18
55
17.277778
0.897727
0.344051
0
0
0
0
0.07
0
0
0
0
0
0
1
0.111111
false
0
0.555556
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
3763446b99da1e9825f4b04bb3b506f8b2412e46
1,918
py
Python
node_editor/dataframe_model_bak/datatable_content.py
lcopey/node_editor
04d56ae4c7f2149e46903d5dd2e46f3906ef69e6
[ "MIT" ]
1
2021-04-30T11:28:42.000Z
2021-04-30T11:28:42.000Z
node_editor/dataframe_model_bak/datatable_content.py
lcopey/node_editor
04d56ae4c7f2149e46903d5dd2e46f3906ef69e6
[ "MIT" ]
null
null
null
node_editor/dataframe_model_bak/datatable_content.py
lcopey/node_editor
04d56ae4c7f2149e46903d5dd2e46f3906ef69e6
[ "MIT" ]
null
null
null
import sys from PyQt5.QtWidgets import QVBoxLayout, QApplication, QMainWindow import pandas as pd from node_editor.node_content_widget import NodeContentWidget from .dataframe_view import DataframeView DEBUG = False class DataTableContent(NodeContentWidget): def __init__(self, node: 'Node', parent: 'QWidget' = N...
33.068966
112
0.656934
205
1,918
6.034146
0.385366
0.038804
0.017785
0.024252
0.058205
0.058205
0.058205
0.058205
0
0
0
0.004112
0.239312
1,918
57
113
33.649123
0.843729
0.248175
0
0
0
0
0.035063
0
0
0
0
0.017544
0
1
0.225806
false
0
0.16129
0.032258
0.516129
0.096774
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
37645efc570cfe79532495ffcd35874cf9a12e74
292
py
Python
2015/2.py
frodetb/aoc
2dad7c0d7342d97f4a3a2ad202afe302c3473368
[ "MIT" ]
null
null
null
2015/2.py
frodetb/aoc
2dad7c0d7342d97f4a3a2ad202afe302c3473368
[ "MIT" ]
null
null
null
2015/2.py
frodetb/aoc
2dad7c0d7342d97f4a3a2ad202afe302c3473368
[ "MIT" ]
null
null
null
instructions = [sorted([int(num) for num in line.split("x")]) for line in open("input_2", "r").readlines()] # Part 1 print("Part 1:", sum(3 * x * y + 2 * x * z + 2 * y * z for x, y, z in instructions)) # Part 1 print("Part 1:", sum(2 * x + 2 * y + x * y * z for x, y, z in instructions))
29.2
107
0.561644
58
292
2.810345
0.362069
0.122699
0.055215
0.171779
0.490798
0.490798
0.269939
0.269939
0
0
0
0.044643
0.232877
292
9
108
32.444444
0.683036
0.044521
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
37862852a9d332b6eed256faa5e15ad4b5cc2386
100
py
Python
setup.py
mulh8377/pybind11-skeleton
84e7a7b14475fc03025118aecdfbf0df27a6f86f
[ "MIT" ]
null
null
null
setup.py
mulh8377/pybind11-skeleton
84e7a7b14475fc03025118aecdfbf0df27a6f86f
[ "MIT" ]
null
null
null
setup.py
mulh8377/pybind11-skeleton
84e7a7b14475fc03025118aecdfbf0df27a6f86f
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="example", version="0.1", author="mulh8377", )
14.285714
28
0.64
12
100
5.333333
0.916667
0
0
0
0
0
0
0
0
0
0
0.075949
0.21
100
7
29
14.285714
0.734177
0
0
0
0
0
0.178218
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3791a86fa50aa3b089136b2339b5891bf69c1ce0
13,959
py
Python
sdk/python/pulumi_okta/user_factor_question.py
pulumi/pulumi-okta
83f7617a85b3d05213901773fa4e6a151ab6076b
[ "ECL-2.0", "Apache-2.0" ]
5
2019-10-29T21:59:22.000Z
2021-11-08T12:00:24.000Z
sdk/python/pulumi_okta/user_factor_question.py
pulumi/pulumi-okta
83f7617a85b3d05213901773fa4e6a151ab6076b
[ "ECL-2.0", "Apache-2.0" ]
109
2020-01-06T10:28:09.000Z
2022-03-25T19:52:40.000Z
sdk/python/pulumi_okta/user_factor_question.py
pulumi/pulumi-okta
83f7617a85b3d05213901773fa4e6a151ab6076b
[ "ECL-2.0", "Apache-2.0" ]
2
2020-09-11T16:31:04.000Z
2020-11-24T12:23:17.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
38.243836
134
0.624328
1,622
13,959
5.157213
0.107275
0.072325
0.088703
0.06838
0.757442
0.722295
0.691333
0.67101
0.664913
0.642439
0
0.000296
0.27373
13,959
364
135
38.348901
0.824818
0.376889
0
0.524862
1
0
0.076172
0.009115
0
0
0
0
0
1
0.154696
false
0.005525
0.027624
0
0.276243
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
379c7664f3196827528f606b799c51a4a8796797
450
py
Python
AuthenticationSystem/models/user.py
ljnath/RBAC
7a4c2b0b4fd2d533ffdbf92d8b2d00b1ff510cae
[ "MIT" ]
null
null
null
AuthenticationSystem/models/user.py
ljnath/RBAC
7a4c2b0b4fd2d533ffdbf92d8b2d00b1ff510cae
[ "MIT" ]
null
null
null
AuthenticationSystem/models/user.py
ljnath/RBAC
7a4c2b0b4fd2d533ffdbf92d8b2d00b1ff510cae
[ "MIT" ]
null
null
null
""" Base model class for User """ class UserModel(): def __init__(self, name:str, roles:list): """ Creates a user with given name and role :param name : name as string is the user name :param role : role as list of role """ self.__name = name self.__roles = r...
22.5
57
0.575556
58
450
4.258621
0.465517
0.097166
0.11336
0
0
0
0
0
0
0
0
0
0.335556
450
20
58
22.5
0.826087
0.324444
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0.2
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
37a3c304b781c6585c4f8031de43d9bb105b23e7
306
py
Python
scp/validateLog.py
GAStudyGroup/VRP
54ec7ff3f0a4247d3effe609cf916fc235a08664
[ "MIT" ]
8
2018-11-28T15:13:26.000Z
2021-10-08T18:34:28.000Z
scp/validateLog.py
GAStudyGroup/VRP
54ec7ff3f0a4247d3effe609cf916fc235a08664
[ "MIT" ]
4
2018-03-28T19:26:27.000Z
2018-04-07T03:02:15.000Z
scp/validateLog.py
GAStudyGroup/VRP
54ec7ff3f0a4247d3effe609cf916fc235a08664
[ "MIT" ]
2
2019-12-12T09:36:48.000Z
2020-04-23T08:26:22.000Z
#!/usr/bin/env python import sys try: file = open("log.txt","r") except OSError: pass i=0 for line in file: i+=1 if line.find("CROSSOVER ")!=-1: array = line.split(" ") if (float(array[3]) < float(array[1])) and (float(array[3]) < float(array[2])): print(line)
20.4
87
0.54902
47
306
3.574468
0.659574
0.238095
0.130952
0.190476
0.25
0
0
0
0
0
0
0.030702
0.254902
306
15
88
20.4
0.70614
0.065359
0
0
0
0
0.066434
0
0
0
0
0
0
1
0
false
0.083333
0.083333
0
0.083333
0.083333
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
1
0
0
0
0
0
3
37b0b5325153d70a2933be3c3353f2d91d004e2d
194
py
Python
Exam/oppgave_3.py
Chillu1/PythonUiS
7169f0d625d6419a3e002b1e3285ca08fc99c020
[ "MIT" ]
null
null
null
Exam/oppgave_3.py
Chillu1/PythonUiS
7169f0d625d6419a3e002b1e3285ca08fc99c020
[ "MIT" ]
null
null
null
Exam/oppgave_3.py
Chillu1/PythonUiS
7169f0d625d6419a3e002b1e3285ca08fc99c020
[ "MIT" ]
1
2021-04-26T14:32:52.000Z
2021-04-26T14:32:52.000Z
def translate_date(date:str): split_date = date.split(".") modified_date = split_date[2]+"-"+split_date[1]+"-"+split_date[0] return modified_date print(translate_date("19.05.2021"))
32.333333
69
0.695876
29
194
4.37931
0.482759
0.283465
0
0
0
0
0
0
0
0
0
0.064327
0.118557
194
6
70
32.333333
0.678363
0
0
0
0
0
0.066667
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
805da18c2eba7f3fc55361ca302201ceacee9c53
2,927
py
Python
psx/_dump_/48/_dump_ida_/overlay_d/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
15
2018-06-28T01:11:25.000Z
2021-09-27T15:57:18.000Z
psx/_dump_/48/_dump_ida_/overlay_d/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-29T04:08:23.000Z
2019-10-17T13:57:22.000Z
psx/_dump_/48/_dump_ida_/overlay_d/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-28T01:11:34.000Z
2020-05-23T09:21:48.000Z
set_name(0x80123B68, "EA_cd_seek", SN_NOWARN) set_name(0x80123B70, "MY_CdGetSector", SN_NOWARN) set_name(0x80123BA4, "init_cdstream", SN_NOWARN) set_name(0x80123BB4, "flush_cdstream", SN_NOWARN) set_name(0x80123BD8, "check_complete_frame", SN_NOWARN) set_name(0x80123C58, "reset_cdstream", SN_NOWARN) set_name(0x80123C80...
49.610169
58
0.82166
438
2,927
5.020548
0.294521
0.184629
0.28513
0.388813
0.392451
0.191905
0
0
0
0
0
0.171086
0.059447
2,927
58
59
50.465517
0.627679
0
0
0
0
0
0.286642
0.044756
0
0
0.198155
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
80650e96ed810fec1ddeaacf215ceee808005014
952
py
Python
application.py
crawftv/python-portfolio
5264f4339428279e611539be67a53cc2c0135150
[ "BSD-3-Clause" ]
null
null
null
application.py
crawftv/python-portfolio
5264f4339428279e611539be67a53cc2c0135150
[ "BSD-3-Clause" ]
2
2020-03-24T17:07:58.000Z
2020-03-31T03:19:38.000Z
application.py
crawftv/python-portfolio
5264f4339428279e611539be67a53cc2c0135150
[ "BSD-3-Clause" ]
null
null
null
from flask import Flask, render_template from firestore_utilities import get_medium, db, get_github_events, get_projects application = Flask(__name__) @application.route("/") def root(): return render_template("root.html") @application.route("/blog") def blog(): blog_list = get_medium(db) return rende...
21.636364
79
0.719538
121
952
5.380165
0.272727
0.150538
0.184332
0.101382
0
0
0
0
0
0
0
0.00612
0.141807
952
43
80
22.139535
0.790698
0
0
0
0
0
0.119748
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0.107143
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
807d3ab6f17cdae70028ea61e5d4a7c531be358c
529
py
Python
test/test_departures.py
leonardbinet/navitia-python
f3886793c84b541ed3d410a1732e12ac4b5e3dde
[ "MIT" ]
9
2017-01-10T14:40:31.000Z
2022-02-14T19:25:18.000Z
test/test_departures.py
leonardbinet/navitia-python
f3886793c84b541ed3d410a1732e12ac4b5e3dde
[ "MIT" ]
2
2016-12-15T15:05:58.000Z
2019-05-30T10:30:21.000Z
test/test_departures.py
leonardbinet/navitia-python
f3886793c84b541ed3d410a1732e12ac4b5e3dde
[ "MIT" ]
3
2017-10-06T10:45:38.000Z
2021-01-21T14:29:43.000Z
"""Tests for the object departures module.""" import responses # initialize package, and does not mix up names import test as _test import navitia_client import requests class DeparturesTest(_test.TestCase): def setUp(self): self.user = 'leo' self.core_url = "https://api.navitia.io/v1/" ...
24.045455
62
0.689981
73
529
4.876712
0.671233
0.073034
0.061798
0.095506
0
0
0
0
0
0
0
0.038741
0.219282
529
21
63
25.190476
0.823245
0.26276
0
0
0
0
0.123037
0
0
0
0
0
0
1
0.166667
false
0.083333
0.333333
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
0
0
1
1
0
1
0
0
3
8085b1f5f46541c577be405f9307b4ff5a65fd68
8,396
py
Python
tests/unit_tests/test_syntheticdataset2_shapes.py
liyu711/SUAS
2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b
[ "MIT" ]
null
null
null
tests/unit_tests/test_syntheticdataset2_shapes.py
liyu711/SUAS
2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b
[ "MIT" ]
null
null
null
tests/unit_tests/test_syntheticdataset2_shapes.py
liyu711/SUAS
2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b
[ "MIT" ]
null
null
null
from SyntheticDataset2.ElementsCreator import * import unittest from PIL import Image class UpdatedSyntheticDatasetShapesTestCase(unittest.TestCase): def test_rectangle(self): width = 100 height = 50 color = (255,0,0) rotation = 45 midpoint = (250,250) test_backgrou...
41.156863
87
0.638161
1,112
8,396
4.704137
0.072842
0.029822
0.06213
0.079526
0.903651
0.852418
0.67272
0.63831
0.632766
0.632766
0
0.1477
0.202477
8,396
203
88
41.359606
0.633513
0
0
0.472393
0
0
0.006193
0
0
0
0
0
0.319018
1
0.079755
false
0
0.018405
0
0.104294
0
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8097ac4f2c3ab576de8d5aa4f37130c113315bd2
1,060
py
Python
scripts/dhp19/generate_DHP19/Python_Files/BackgroundFilter.py
preshmalinetpereira/lifting_events_to_3d_hpe
2d7b196dc6ab85e10ae07466657304f324a64a37
[ "Apache-2.0" ]
null
null
null
scripts/dhp19/generate_DHP19/Python_Files/BackgroundFilter.py
preshmalinetpereira/lifting_events_to_3d_hpe
2d7b196dc6ab85e10ae07466657304f324a64a37
[ "Apache-2.0" ]
null
null
null
scripts/dhp19/generate_DHP19/Python_Files/BackgroundFilter.py
preshmalinetpereira/lifting_events_to_3d_hpe
2d7b196dc6ab85e10ae07466657304f324a64a37
[ "Apache-2.0" ]
null
null
null
### File created by preshma import numpy as np import math def BackgroundFilter(x,y,t,pol,cam,xdim,ydim,dt): lastTimesMap=np.zeros((xdim,ydim)) index=np.zeros((len(t),1)) for i in range(len(t)): ts=t[i] xs=x[i]-1 #to compensate for matlab indexing starting from 1 ys=y[i]-1 d...
32.121212
68
0.551887
173
1,060
3.381503
0.265896
0.215385
0.218803
0.174359
0.502564
0.471795
0.266667
0.205128
0.145299
0.145299
0
0.032342
0.270755
1,060
33
69
32.121212
0.72445
0.067925
0
0
0
0
0
0
0
0
0
0
0
1
0.037037
false
0
0.074074
0
0.148148
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
809fc3dd1ab1b80d5c8a28d77f62a444addf0bea
270
py
Python
python/utils/RunnerTypes.py
coreyjadams/harvard_production
233f20ef62ca34375f09417f4a507aa977c53a2a
[ "MIT" ]
null
null
null
python/utils/RunnerTypes.py
coreyjadams/harvard_production
233f20ef62ca34375f09417f4a507aa977c53a2a
[ "MIT" ]
null
null
null
python/utils/RunnerTypes.py
coreyjadams/harvard_production
233f20ef62ca34375f09417f4a507aa977c53a2a
[ "MIT" ]
1
2018-10-15T16:44:55.000Z
2018-10-15T16:44:55.000Z
from GalleryRunner import GalleryRunner from LarsoftRunner import LarsoftRunner class RunnerTypes(dict): def __init__(self, **kwargs): super(RunnerTypes, self).__init__(kwargs) self['larsoft'] = LarsoftRunner self['gallery'] = GalleryRunner
30
49
0.722222
26
270
7.192308
0.538462
0
0
0
0
0
0
0
0
0
0
0
0.185185
270
9
50
30
0.85
0
0
0
0
0
0.051661
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
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
80b391e2678d590743874f2eed1fba1b2919164c
375
py
Python
pyAitu/models/media/image.py
waihislam/pyAitu
6e7c3bfa7454d6ae91ba998017cf772bb6a25770
[ "Apache-2.0" ]
11
2019-09-26T05:09:20.000Z
2021-05-20T10:45:28.000Z
pyAitu/models/media/image.py
waihislam/pyAitu
6e7c3bfa7454d6ae91ba998017cf772bb6a25770
[ "Apache-2.0" ]
8
2019-10-08T13:41:09.000Z
2020-06-25T11:35:56.000Z
pyAitu/models/media/image.py
waihislam/pyAitu
6e7c3bfa7454d6ae91ba998017cf772bb6a25770
[ "Apache-2.0" ]
4
2020-02-18T09:02:37.000Z
2020-11-25T06:11:05.000Z
class Image: def __init__(self, json_object): self.type = json_object.get("type") self.fileId = json_object.get("fileId") self.mimeType = json_object.get("mimeType") self.name = json_object.get("name") self.size = json_object.get("size") self.width = json_object.get("...
41.666667
51
0.629333
49
375
4.571429
0.306122
0.357143
0.40625
0
0
0
0
0
0
0
0
0
0.226667
375
9
52
41.666667
0.772414
0
0
0
0
0
0.098404
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3