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
b5dde242388a3c0b90abd4420143d4c4d72acbeb
914
py
Python
docker_retag/utils/auth_helper.py
aiopsclub/docker_retag
0019917b0cdd7860c7ff79afdb78101878f5c1b1
[ "MIT" ]
null
null
null
docker_retag/utils/auth_helper.py
aiopsclub/docker_retag
0019917b0cdd7860c7ff79afdb78101878f5c1b1
[ "MIT" ]
null
null
null
docker_retag/utils/auth_helper.py
aiopsclub/docker_retag
0019917b0cdd7860c7ff79afdb78101878f5c1b1
[ "MIT" ]
null
null
null
#!/usr/bin/env python import requests def kv2dict(kvinfo): kv = {} for item in kvinfo.split(","): item_list = item.split("=") kv[item_list[0]] = item_list[1].strip('"') return kv def get_service_realm(registry_url): registry_api_url = ( registry_url if registry_url.endswith("...
26.114286
80
0.682713
120
914
4.916667
0.391667
0.149153
0.094915
0.074576
0.379661
0.379661
0.379661
0.379661
0.379661
0.379661
0
0.016238
0.191466
914
34
81
26.882353
0.782138
0.021882
0
0.25
0
0
0.06495
0.025756
0
0
0
0
0
1
0.166667
false
0
0.041667
0.041667
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5de2f232c7693a7a9e178d8efeaacaaaf172cb4
1,081
py
Python
app/__init__.py
SomeoneLixin/api-dock
3958a3a3286ae7f8802df9aba5ece2908ca4361e
[ "MIT" ]
4
2018-05-07T15:39:17.000Z
2019-07-03T21:28:10.000Z
app/__init__.py
SomeoneLixin/api-dock
3958a3a3286ae7f8802df9aba5ece2908ca4361e
[ "MIT" ]
4
2020-09-05T10:57:19.000Z
2021-05-09T16:01:22.000Z
app/__init__.py
SomeoneLixin/api-dock
3958a3a3286ae7f8802df9aba5ece2908ca4361e
[ "MIT" ]
1
2018-05-09T07:57:03.000Z
2018-05-09T07:57:03.000Z
from flask import Flask, g from flask_cors import CORS from flask_jwt_extended import JWTManager from config import config from app.models import db, ma from app.models.RevokedToken import RevokedToken def create_app(config_name): app = Flask(__name__) CORS(app, resources={r"/api/*": {"origins": "*"}}) ap...
29.216216
80
0.719704
148
1,081
5
0.398649
0.072973
0.040541
0.056757
0
0
0
0
0
0
0
0
0.174838
1,081
36
81
30.027778
0.829596
0
0
0
0
0
0.167438
0.07123
0
0
0
0
0
1
0.107143
false
0
0.25
0.035714
0.464286
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5df02ad3bc4934c674cd77a38e8acef0d4d0b9f
730
py
Python
Snippets/auto_scroll.py
ColinShark/Pyrogram-Snippets
50ede9ca9206bd6d66c6877217b4a80b4f845294
[ "WTFPL" ]
59
2021-01-07T16:19:48.000Z
2022-02-22T06:56:36.000Z
Snippets/auto_scroll.py
Mrvishal2k2/Pyrogram-Snippets
d4e66876f6aff1252dfb88423fedd66e18057446
[ "WTFPL" ]
4
2019-10-14T14:02:38.000Z
2020-11-06T11:47:03.000Z
Snippets/auto_scroll.py
ColinShark/Pyrogram-Snippets
50ede9ca9206bd6d66c6877217b4a80b4f845294
[ "WTFPL" ]
26
2021-03-02T14:31:51.000Z
2022-03-23T21:19:14.000Z
# Send .autoscroll in any chat to automatically read all sent messages until you call # .autoscroll again. This is useful if you have Telegram open on another screen. from pyrogram import Client, filters from pyrogram.types import Message app = Client("my_account") f = filters.chat([]) @app.on_message(f) def auto_...
25.172414
85
0.710959
102
730
5
0.509804
0.086275
0.101961
0.117647
0.133333
0.133333
0
0
0
0
0
0
0.175342
730
28
86
26.071429
0.847176
0.221918
0
0
0
0
0.111504
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5e13346685449cfbebc7876faf4f41723fbe5c9
2,977
py
Python
_demos/paint.py
imdaveho/intermezzo
3fe4824a747face996e301ca5190caec0cb0a6fd
[ "MIT" ]
8
2018-02-26T16:24:07.000Z
2021-06-30T07:40:52.000Z
_demos/paint.py
imdaveho/intermezzo
3fe4824a747face996e301ca5190caec0cb0a6fd
[ "MIT" ]
null
null
null
_demos/paint.py
imdaveho/intermezzo
3fe4824a747face996e301ca5190caec0cb0a6fd
[ "MIT" ]
null
null
null
from intermezzo import Intermezzo as mzo curCol = [0] curRune = [0] backbuf = [] bbw, bbh = 0, 0 runes = [' ', '░', '▒', '▓', '█'] colors = [ mzo.color("Black"), mzo.color("Red"), mzo.color("Green"), mzo.color("Yellow"), mzo.color("Blue"), mzo.color("Magenta"), mzo.color("Cyan"), mzo.c...
29.186275
88
0.518979
459
2,977
3.285403
0.220044
0.079576
0.079576
0.095491
0.312334
0.253979
0.167109
0.167109
0.125995
0.027851
0
0.024079
0.288546
2,977
101
89
29.475248
0.686025
0
0
0.113636
0
0
0.063151
0
0
0
0
0
0
1
0.068182
false
0
0.011364
0
0.102273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5e16df4333ead8fee7050f33874cfa2a8d52eb0
1,896
py
Python
amt/media_reader_cli.py
lsxta/amt
7dcff9b1ce570abe103d0d8c50fd334f2c93af7d
[ "MIT" ]
5
2021-12-22T08:49:23.000Z
2022-02-22T12:38:40.000Z
amt/media_reader_cli.py
lsxta/amt
7dcff9b1ce570abe103d0d8c50fd334f2c93af7d
[ "MIT" ]
1
2022-01-30T00:51:05.000Z
2022-02-03T04:59:42.000Z
amt/media_reader_cli.py
lsxta/amt
7dcff9b1ce570abe103d0d8c50fd334f2c93af7d
[ "MIT" ]
1
2022-01-29T09:38:16.000Z
2022-01-29T09:38:16.000Z
import logging from .media_reader import MediaReader from .util.media_type import MediaType class MediaReaderCLI(MediaReader): auto_select = False def print_results(self, results): for i, media_data in enumerate(results): print("{:4}| {}\t{} {} ({})".format(i, media_data.global_id, media...
38.693878
188
0.642405
252
1,896
4.615079
0.353175
0.046432
0.027515
0.030954
0
0
0
0
0
0
0
0.002105
0.248418
1,896
48
189
39.5
0.814035
0
0
0
0
0
0.070675
0
0
0
0
0
0
1
0.157895
false
0
0.078947
0
0.368421
0.289474
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5e250ffeccc9fb9e0d710d9d521ebecc7097405
1,272
py
Python
src/webapi/libs/deps/__init__.py
VisionTale/StreamHelper
29a5e5d5c68401f2c1d1b9cf54a7c68fb41d623a
[ "MIT" ]
null
null
null
src/webapi/libs/deps/__init__.py
VisionTale/StreamHelper
29a5e5d5c68401f2c1d1b9cf54a7c68fb41d623a
[ "MIT" ]
37
2020-12-16T06:30:22.000Z
2022-03-28T03:04:28.000Z
src/webapi/libs/deps/__init__.py
VisionTale/StreamHelper
29a5e5d5c68401f2c1d1b9cf54a7c68fb41d623a
[ "MIT" ]
null
null
null
""" Dependency management package. """ def debug_print(message: str, verbose: bool): """ Print if verbose is set to true. :param message: message to print :param verbose: whether to print :return: """ if verbose: print(message) def download_and_unzip_archive(url: str, zip_file_f...
30.285714
122
0.677673
171
1,272
4.912281
0.368421
0.058333
0.053571
0.05
0.061905
0
0
0
0
0
0
0
0.227201
1,272
41
123
31.02439
0.854527
0.416667
0
0
0
0
0.073353
0
0
0
0
0
0
1
0.117647
false
0
0.176471
0
0.294118
0.294118
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5e3ba2877ce6a63efd56ee6ed3e28f80e3fe47d
1,096
py
Python
fixture/soap.py
DiastroniX/python_training_mantis
86f145285bea716246788d7967e1de7c23661bae
[ "Apache-2.0" ]
null
null
null
fixture/soap.py
DiastroniX/python_training_mantis
86f145285bea716246788d7967e1de7c23661bae
[ "Apache-2.0" ]
null
null
null
fixture/soap.py
DiastroniX/python_training_mantis
86f145285bea716246788d7967e1de7c23661bae
[ "Apache-2.0" ]
null
null
null
from suds.client import Client from suds import WebFault from model.project import Project class SoapHelper: def __init__(self, app): self.app = app def can_login(self, username, password): client = Client("http://localhost/mantisbt-1.2.20/api/soap/mantisconnect.php?wsdl") try: ...
34.25
117
0.588504
123
1,096
5.121951
0.406504
0.044444
0.07619
0.079365
0.203175
0.203175
0.203175
0.203175
0.203175
0.203175
0
0.010638
0.313869
1,096
32
118
34.25
0.827128
0
0
0.307692
0
0.076923
0.145852
0
0
0
0
0
0
1
0.115385
false
0.115385
0.115385
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b5e50a13752cec91e8412a4602fb057eaceaa6b0
1,113
py
Python
demos/runner/validate.py
Tanbobobo/DL-starter
be4678171bd51ae9e4f61079fa6422e3378d7ce4
[ "Apache-2.0" ]
null
null
null
demos/runner/validate.py
Tanbobobo/DL-starter
be4678171bd51ae9e4f61079fa6422e3378d7ce4
[ "Apache-2.0" ]
null
null
null
demos/runner/validate.py
Tanbobobo/DL-starter
be4678171bd51ae9e4f61079fa6422e3378d7ce4
[ "Apache-2.0" ]
null
null
null
import torch import wandb def val( criterion=None, metric=None, loader=None, model=None, device=None ): r''' Args: criterion: a differentiable function to provide gratitude for backward metric: a score to save best model loader: a ...
27.146341
98
0.574124
135
1,113
4.607407
0.42963
0.115756
0.104502
0.054662
0.12701
0
0
0
0
0
0
0.001377
0.347709
1,113
40
99
27.825
0.855372
0.281222
0
0
0
0
0.018207
0
0
0
0
0
0
1
0.04
false
0
0.08
0
0.16
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5e65e7ea71fdd5c4688f420edd49d985bd3eb75
89
py
Python
coding/calculate-5-6/code.py
mowshon/python-quiz
215fb23dbb0fa42b438f988e49172b87b48bade3
[ "MIT" ]
2
2020-07-17T21:08:26.000Z
2020-08-16T03:12:07.000Z
coding/calculate-5-6/code.py
mowshon/python-quiz
215fb23dbb0fa42b438f988e49172b87b48bade3
[ "MIT" ]
2
2021-06-08T22:04:35.000Z
2022-01-13T03:03:32.000Z
coding/calculate-5-6/code.py
mowshon/python-quiz
215fb23dbb0fa42b438f988e49172b87b48bade3
[ "MIT" ]
null
null
null
def calculate(num1, num2=4): res = num1 * num2 print(res) print(calculate(5, 6))
17.8
28
0.629213
14
89
4
0.642857
0.285714
0
0
0
0
0
0
0
0
0
0.1
0.213483
89
5
29
17.8
0.7
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.5
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
1
0
0
0
0
0
1
0
5
b5e76e091ee3230443db9902e3df57b4dbeb04c4
4,428
py
Python
plot_fig07e_varying.py
victorcroisfelt/cf-ra-spatial-separability
60611c85079dd13848c70e3192331ea2a9f55138
[ "MIT" ]
null
null
null
plot_fig07e_varying.py
victorcroisfelt/cf-ra-spatial-separability
60611c85079dd13848c70e3192331ea2a9f55138
[ "MIT" ]
null
null
null
plot_fig07e_varying.py
victorcroisfelt/cf-ra-spatial-separability
60611c85079dd13848c70e3192331ea2a9f55138
[ "MIT" ]
2
2022-01-08T12:18:43.000Z
2022-02-23T07:59:18.000Z
######################################## # plot_fig07d_anaa_practical.py # # Description. Script used to actually plot Fig. 07 (d) of the paper. # # Author. @victorcroisfelt # # Date. December 29, 2021 # # This code is part of the code package used to generate the numeric results # of the paper: # # Crois...
30.537931
124
0.630759
676
4,428
3.964497
0.284024
0.047015
0.049627
0.080597
0.428731
0.384701
0.384701
0.375746
0.375373
0.356716
0
0.050973
0.118338
4,428
144
125
30.75
0.635502
0.200316
0
0.20339
0
0
0.114079
0.027341
0
0
0
0
0
1
0.033898
false
0
0.067797
0.033898
0.135593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5e97f4578877e1fcf5bd928b8d18930e062681c
6,697
py
Python
Meters/IEC/Datasets/get_time.py
Runamook/PyCharmProjects
1b1a063345e052451f00e3fdea82e31bdd2a0cae
[ "MIT" ]
null
null
null
Meters/IEC/Datasets/get_time.py
Runamook/PyCharmProjects
1b1a063345e052451f00e3fdea82e31bdd2a0cae
[ "MIT" ]
null
null
null
Meters/IEC/Datasets/get_time.py
Runamook/PyCharmProjects
1b1a063345e052451f00e3fdea82e31bdd2a0cae
[ "MIT" ]
null
null
null
import datetime from time import sleep import re import pytz # try: # from .emhmeter import MeterBase, create_input_vars, logger # except ModuleNotFoundError: # from emhmeter import MeterBase, create_input_vars, logger # TODO: Not working class GetTime: def __init__(self, input_vars): self.inpu...
31.441315
102
0.551441
797
6,697
4.486826
0.269762
0.060403
0.040268
0.027964
0.198546
0.14038
0.095638
0.049217
0
0
0
0.047568
0.303121
6,697
212
103
31.589623
0.718663
0.124683
0
0.176871
0
0
0.168437
0.007197
0
0
0
0.004717
0
1
0.061224
false
0
0.027211
0
0.156463
0.006803
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5ea159a84e98d9a3984e6fe5b31678efa676891
143
py
Python
References/Geovana Neves/TCC_Geovana_Neves_GitHub/SUAVE_modifications/SUAVE-feature-constant_throttle_EAS/trunk/SUAVE/Analyses/Results.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
References/Geovana Neves/TCC_Geovana_Neves_GitHub/SUAVE_modifications/SUAVE-feature-constant_throttle_EAS/trunk/SUAVE/Analyses/Results.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
References/Geovana Neves/TCC_Geovana_Neves_GitHub/SUAVE_modifications/SUAVE-feature-constant_throttle_EAS/trunk/SUAVE/Analyses/Results.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
# Results.py # # Created: Jan 2015, T. Lukacyzk # Modified: Feb 2016, T. MacDonald from SUAVE.Core import Data class Results(Data): pass
15.888889
34
0.699301
21
143
4.761905
0.857143
0
0
0
0
0
0
0
0
0
0
0.069565
0.195804
143
9
35
15.888889
0.8
0.524476
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
5
b5ea1cb63e2208d12c4791c91ece989cd820bf44
3,889
py
Python
instagrapi/direct.py
chaulaode1257/instagrapi
cfb8cb53d3a63092c0146f3a0b7a086c760908c9
[ "MIT" ]
11
2021-01-09T22:52:30.000Z
2022-03-22T18:33:38.000Z
instagrapi/direct.py
chaulaode1257/instagrapi
cfb8cb53d3a63092c0146f3a0b7a086c760908c9
[ "MIT" ]
null
null
null
instagrapi/direct.py
chaulaode1257/instagrapi
cfb8cb53d3a63092c0146f3a0b7a086c760908c9
[ "MIT" ]
4
2020-12-26T06:14:53.000Z
2022-01-05T05:00:16.000Z
import re from typing import List from .utils import dumps from .types import DirectThread, DirectMessage from .exceptions import ClientNotFoundError, DirectThreadNotFound from .extractors import extract_direct_thread, extract_direct_message class Direct: def direct_threads(self, amount: int = 20) -> List[Direc...
35.678899
108
0.558498
411
3,889
5.121655
0.272506
0.030404
0.033254
0.038005
0.27886
0.266508
0.236105
0.178147
0.178147
0.098812
0
0.009916
0.325791
3,889
108
109
36.009259
0.792906
0.044484
0
0.255556
0
0
0.133875
0.036856
0
0
0
0
0.055556
1
0.055556
false
0
0.066667
0
0.188889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5eee5ae8e8ac24bba961d0d4420546bd6f06e1d
26,090
py
Python
src/main/python/cybercaptain/visualization/bar.py
FHNW-CyberCaptain/CyberCaptain
07c989190e997353fbf57eb7a386947d6ab8ffd5
[ "MIT" ]
1
2018-10-01T10:59:55.000Z
2018-10-01T10:59:55.000Z
src/main/python/cybercaptain/visualization/bar.py
FHNW-CyberCaptain/CyberCaptain
07c989190e997353fbf57eb7a386947d6ab8ffd5
[ "MIT" ]
null
null
null
src/main/python/cybercaptain/visualization/bar.py
FHNW-CyberCaptain/CyberCaptain
07c989190e997353fbf57eb7a386947d6ab8ffd5
[ "MIT" ]
1
2021-11-01T00:09:00.000Z
2021-11-01T00:09:00.000Z
""" This module contains the visualization bar class. """ import glob import os import re import numpy as np import matplotlib.pyplot as plt import matplotlib.colors as colors import matplotlib.cm as cmx from mpl_toolkits.mplot3d import Axes3D from matplotlib.ticker import FuncFormatter from cybercaptain.utils.exceptio...
41.086614
175
0.617555
3,290
26,090
4.761094
0.128875
0.022983
0.013023
0.013343
0.476251
0.448481
0.417582
0.403601
0.363445
0.331333
0
0.00825
0.279877
26,090
635
176
41.086614
0.825474
0.305979
0
0.452096
0
0
0.109569
0.003581
0
0
0
0
0
1
0.035928
false
0
0.038922
0
0.128743
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5f0389774cedeaa041026bfccf255de23607efa
3,560
py
Python
app/profiles/schemas/update.py
MrPeker/acikkaynak-service
21c3f2faaa84342d2fa95709293bc84d1e2a23ae
[ "Apache-2.0" ]
5
2021-02-28T22:29:13.000Z
2021-11-29T00:24:28.000Z
app/profiles/schemas/update.py
MrPeker/acikkaynak-service
21c3f2faaa84342d2fa95709293bc84d1e2a23ae
[ "Apache-2.0" ]
null
null
null
app/profiles/schemas/update.py
MrPeker/acikkaynak-service
21c3f2faaa84342d2fa95709293bc84d1e2a23ae
[ "Apache-2.0" ]
3
2021-03-03T19:56:30.000Z
2021-03-06T22:10:35.000Z
import graphene from app.common.library import graphql from app.common.models import City from ..models import Profile from .queries import ProfileNode # queries class Query(graphene.ObjectType): pass # mutations class ProfileUpdateMutation(graphene.Mutation): Output = ProfileNode class Arguments: ...
31.504425
85
0.601404
387
3,560
5.369509
0.26615
0.057748
0.040423
0.024543
0.133782
0.084697
0.084697
0.030799
0
0
0
0.000804
0.301124
3,560
112
86
31.785714
0.834405
0.09382
0
0.026316
0
0
0.054121
0
0
0
0
0.008929
0
1
0.013158
false
0.026316
0.065789
0
0.171053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5f1bcd8c2a8c9268b813650480c225371c73233
7,401
py
Python
kubevirt/models/v1_generation_status.py
ansijain/client-python
444ab92a68371c1ccd89314753fa7ab5c4ac9bbe
[ "Apache-2.0" ]
21
2018-02-21T23:59:28.000Z
2021-12-08T05:47:37.000Z
kubevirt/models/v1_generation_status.py
ansijain/client-python
444ab92a68371c1ccd89314753fa7ab5c4ac9bbe
[ "Apache-2.0" ]
47
2018-02-01T15:35:01.000Z
2022-02-11T07:45:54.000Z
kubevirt/models/v1_generation_status.py
ansijain/client-python
444ab92a68371c1ccd89314753fa7ab5c4ac9bbe
[ "Apache-2.0" ]
19
2018-04-03T09:20:52.000Z
2021-06-01T06:07:28.000Z
# coding: utf-8 """ KubeVirt API This is KubeVirt API an add-on for Kubernetes. OpenAPI spec version: 1.0.0 Contact: kubevirt-dev@googlegroups.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class V1Genera...
27.411111
125
0.580327
826
7,401
5.105327
0.16707
0.034148
0.13659
0.024662
0.49751
0.44036
0.380839
0.293337
0.26986
0.26986
0
0.006946
0.338603
7,401
269
126
27.513011
0.854545
0.361573
0
0.073395
1
0
0.098356
0
0
0
0
0
0
1
0.165138
false
0
0.027523
0
0.330275
0.009174
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b5f230d3037e9e1528cdc347b55ec3805c78a481
3,352
py
Python
scripts/plot_fits.py
trichter/robust_earthquake_spectra
ef816e30944293e27c0d5da4d31ec2184e6d187b
[ "MIT" ]
8
2021-07-23T13:01:29.000Z
2022-03-27T17:57:36.000Z
scripts/plot_fits.py
trichter/robust_earthquake_spectra
ef816e30944293e27c0d5da4d31ec2184e6d187b
[ "MIT" ]
null
null
null
scripts/plot_fits.py
trichter/robust_earthquake_spectra
ef816e30944293e27c0d5da4d31ec2184e6d187b
[ "MIT" ]
null
null
null
# Copyright 2021 Tom Eulenfeld, MIT license import matplotlib as mpl import matplotlib.gridspec as gridspec import matplotlib.pyplot as plt import numpy as np import pickle from qopen.core import get_pair, Gsmooth from qopen.rt import G as G_func def set_gridlabels(ax, i, n, N, xlabel='frequency (Hz)', ylabel=None):...
34.204082
77
0.568019
524
3,352
3.545802
0.370229
0.022605
0.008073
0.006459
0.057589
0.025834
0.025834
0.025834
0.025834
0
0
0.062016
0.268795
3,352
97
78
34.556701
0.696042
0.012232
0
0
0
0
0.0822
0.025688
0
0
0
0
0
1
0.05
false
0
0.0875
0.0125
0.1625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5f35bed476c5278cc37b5eb93da2b3545e9bfe8
957
py
Python
magmango/tests/test_potcar.py
nimalec/Magno
016bed1c2fb8275ac76ece3d0b7f39c4ebc45551
[ "MIT" ]
1
2021-01-08T18:22:13.000Z
2021-01-08T18:22:13.000Z
magmango/tests/test_potcar.py
nimalec/Magno
016bed1c2fb8275ac76ece3d0b7f39c4ebc45551
[ "MIT" ]
null
null
null
magmango/tests/test_potcar.py
nimalec/Magno
016bed1c2fb8275ac76ece3d0b7f39c4ebc45551
[ "MIT" ]
null
null
null
import unittest import os import numpy as np from pymatgen import Structure from magmango.calculation.potcar import PotcarSettings # # class PotcarSettingsTest(unittest.TestCase): # def setUp(self): # self.potcar_file_path = "data/potcar_pto" # #self.structure = Structure.from_file(self.poscar_file_pa...
35.444444
76
0.736677
116
957
5.732759
0.284483
0.105263
0.144361
0.108271
0.285714
0.285714
0.246617
0.246617
0.246617
0.246617
0
0
0.167189
957
26
77
36.807692
0.834379
0.810867
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
b5f407423805cba0b85dc8b97c1c27b8ba3da9b6
225
py
Python
answers/Aryan Goyal/Day 10/Que 1.py
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
22
2021-03-16T14:07:47.000Z
2021-08-13T08:52:50.000Z
answers/Aryan Goyal/Day 10/Que 1.py
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
174
2021-03-16T21:16:40.000Z
2021-06-12T05:19:51.000Z
answers/Aryan Goyal/Day 10/Que 1.py
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
135
2021-03-16T16:47:12.000Z
2021-06-27T14:22:38.000Z
def pangram(s): a = "abcdefghijklmnopqrstuvwxyz" for i in a: if i not in s.lower(): return False return True # main string1 = input() if(pangram(string1) == True): print("Yes") else: print("No")
17.307692
35
0.6
31
225
4.354839
0.677419
0
0
0
0
0
0
0
0
0
0
0.012048
0.262222
225
12
36
18.75
0.801205
0.017778
0
0
0
0
0.141553
0.118721
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5f4eae105a3ccda0bbf32f61e4d9bc409056d85
773
py
Python
website/addons/dropbox/tests/test_serializer.py
DanielSBrown/osf.io
98dda2ac237377197acacce78274bc0a4ce8f303
[ "Apache-2.0" ]
null
null
null
website/addons/dropbox/tests/test_serializer.py
DanielSBrown/osf.io
98dda2ac237377197acacce78274bc0a4ce8f303
[ "Apache-2.0" ]
13
2020-03-24T15:29:41.000Z
2022-03-11T23:15:28.000Z
website/addons/dropbox/tests/test_serializer.py
DanielSBrown/osf.io
98dda2ac237377197acacce78274bc0a4ce8f303
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """Serializer tests for the Dropbox addon.""" from nose.tools import * # noqa (PEP8 asserts) from website.addons.base.testing.serializers import StorageAddonSerializerTestSuiteMixin from website.addons.dropbox.tests.utils import MockDropbox from website.addons.dropbox.tests.factories import Dr...
32.208333
88
0.798189
81
773
7.530864
0.54321
0.072131
0.111475
0.118033
0.095082
0
0
0
0
0
0
0.002967
0.128072
773
23
89
33.608696
0.902077
0.10608
0
0
0
0
0.010234
0
0
0
0
0
0
1
0.071429
false
0
0.428571
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b5f7ed8a0664870db210f6051f62a7c08134ae57
9,357
py
Python
tumblrlikes.py
cesarmiquel/Tumblr-Likes
3a96e979dbb420553535dd73320f3e7206bcbbfc
[ "MIT" ]
1
2017-03-09T23:47:19.000Z
2017-03-09T23:47:19.000Z
tumblrlikes.py
cesarmiquel/Tumblr-Likes
3a96e979dbb420553535dd73320f3e7206bcbbfc
[ "MIT" ]
null
null
null
tumblrlikes.py
cesarmiquel/Tumblr-Likes
3a96e979dbb420553535dd73320f3e7206bcbbfc
[ "MIT" ]
null
null
null
import os import urllib import json import pprint from google.appengine.api import users from google.appengine.ext import ndb from google.appengine.api import urlfetch import jinja2 import webapp2 JINJA_ENVIRONMENT = jinja2.Environment( loader = jinja2.FileSystemLoader(os.path.dirname(__file__) + '/templates'),...
36.267442
167
0.578284
1,071
9,357
4.900093
0.157796
0.0625
0.026677
0.029726
0.456555
0.392149
0.313834
0.276105
0.248666
0.240473
0
0.008027
0.294325
9,357
257
168
36.40856
0.786764
0.053222
0
0.247368
0
0.015789
0.114079
0.002377
0
0
0
0
0
0
null
null
0
0.047368
null
null
0.010526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b5f8afd3209dc9c313d59f605ef9e611cf525951
9,348
py
Python
tests/test_reliable_redis_backend.py
thread/django-lightweight-queue
2c67eb13a454fa1a02f8445c26915b6e9261fdad
[ "BSD-3-Clause" ]
23
2015-04-29T04:47:02.000Z
2022-03-11T12:43:01.000Z
tests/test_reliable_redis_backend.py
thread/django-lightweight-queue
2c67eb13a454fa1a02f8445c26915b6e9261fdad
[ "BSD-3-Clause" ]
23
2015-02-27T14:30:47.000Z
2021-12-02T14:18:34.000Z
tests/test_reliable_redis_backend.py
thread/django-lightweight-queue
2c67eb13a454fa1a02f8445c26915b6e9261fdad
[ "BSD-3-Clause" ]
1
2015-08-18T12:27:08.000Z
2015-08-18T12:27:08.000Z
import datetime import unittest import contextlib import unittest.mock from typing import Any, Dict, Tuple, Mapping, Iterator, Optional import fakeredis from django_lightweight_queue.job import Job from django_lightweight_queue.types import QueueName from django_lightweight_queue.backends.reliable_redis import ( R...
28.5
81
0.578947
1,009
9,348
5.234886
0.14668
0.081219
0.056797
0.068345
0.68989
0.6649
0.641992
0.634419
0.611132
0.593715
0
0.010722
0.321566
9,348
327
82
28.587156
0.822138
0.006846
0
0.576471
0
0
0.147769
0.010886
0
0
0
0
0.109804
1
0.047059
false
0
0.043137
0
0.109804
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5f91ae2a0e4966e6263d4fa5ec3616c068ac79a
653
py
Python
src/waldur_slurm/migrations/0019_fill_allocation_user_usage.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
26
2017-10-18T13:49:58.000Z
2021-09-19T04:44:09.000Z
src/waldur_slurm/migrations/0019_fill_allocation_user_usage.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
14
2018-12-10T14:14:51.000Z
2021-06-07T10:33:39.000Z
src/waldur_slurm/migrations/0019_fill_allocation_user_usage.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
32
2017-09-24T03:10:45.000Z
2021-10-16T16:41:09.000Z
from django.db import migrations def fill_allocation_user_usage(apps, schema_editor): AllocationUserUsage = apps.get_model('waldur_slurm', 'AllocationUserUsage') for item in AllocationUserUsage.objects.all(): item.allocation = item.allocation_usage.allocation item.year = item.allocation_usage...
28.391304
79
0.715161
70
653
6.414286
0.5
0.124722
0.126949
0.10245
0
0
0
0
0
0
0
0.007491
0.182236
653
22
80
29.681818
0.833333
0
0
0
0
0
0.140888
0.045942
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b5fd2934ba1f4d9447596711eac5fb882a9d016a
2,430
py
Python
SBGCobraTools.py
dsanleo/SBGCobraTools
2cc3a012e1d398ec9185de6ed0d6fa94526afc85
[ "MIT" ]
null
null
null
SBGCobraTools.py
dsanleo/SBGCobraTools
2cc3a012e1d398ec9185de6ed0d6fa94526afc85
[ "MIT" ]
null
null
null
SBGCobraTools.py
dsanleo/SBGCobraTools
2cc3a012e1d398ec9185de6ed0d6fa94526afc85
[ "MIT" ]
null
null
null
# Get all carbon sources and return the objective flux. It can be normalized by the carbon input def get_carbon_sources(model,carbon_uptake=-10,normalize=True,original_source='EX_glc__D_e',carbon_source_list=[]): cobra.io.write_sbml_model(model,"tmp.xml") if len(carbon_source_list)==0: for reaction in m...
69.428571
168
0.637037
303
2,430
4.838284
0.250825
0.070941
0.066849
0.076398
0.77899
0.77899
0.77899
0.77899
0.77899
0.77899
0
0.002834
0.274074
2,430
34
169
71.470588
0.828231
0
0
0.818182
0
0
0.061581
0
0
0
0
0
0
0
null
null
0
0
null
null
0.060606
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
b5fe08cd114c3ed382e1d1703c6401c43f46dc9b
17,970
py
Python
Testing/test_StableMotifs.py
jcrozum/StableMotifs
8a9d640d3e8b074e0f05e9b45b8ef8bef8d8b5c7
[ "MIT" ]
9
2020-04-03T14:18:06.000Z
2021-05-18T12:08:20.000Z
Testing/test_StableMotifs.py
jcrozum/StableMotifs
8a9d640d3e8b074e0f05e9b45b8ef8bef8d8b5c7
[ "MIT" ]
30
2020-04-06T16:08:45.000Z
2021-06-14T15:15:41.000Z
Testing/test_StableMotifs.py
jcrozum/StableMotifs
8a9d640d3e8b074e0f05e9b45b8ef8bef8d8b5c7
[ "MIT" ]
2
2021-01-14T15:21:51.000Z
2021-05-18T12:04:17.000Z
import sys sys.path.append('../') import unittest import sys sys.path.insert(0,"C:/Users/jcroz/github/StableMotifs") import pystablemotifs as sm import pyboolnet.file_exchange class test_StableMotifs(unittest.TestCase): rules='''A*=B B*=A C*=A or not D D*=C E*=B and F F*=E ''' rules_pbn = sm.format.booleanne...
63.723404
134
0.420701
2,059
17,970
3.493443
0.077222
0.07841
0.0171
0.0228
0.788683
0.751703
0.734742
0.712359
0.694703
0.672876
0
0.050201
0.403617
17,970
281
135
63.950178
0.620976
0
0
0.603306
0
0.028926
0.169291
0.001969
0
0
0
0
0.107438
0
null
null
0
0.03719
null
null
0
0
0
0
null
0
0
0
0
1
1
1
0
1
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
5
b5ffeb36473c0df68ff9596c309080a9ed5b0766
4,584
py
Python
environments/env_locust.py
jwallnoefer/projectivesimulation
b8f7b3d7d492b5d5f6df7f9f0802bead33c946ca
[ "Apache-2.0" ]
14
2018-02-13T17:39:58.000Z
2021-07-06T18:09:28.000Z
environments/env_locust.py
jwallnoefer/projectivesimulation
b8f7b3d7d492b5d5f6df7f9f0802bead33c946ca
[ "Apache-2.0" ]
null
null
null
environments/env_locust.py
jwallnoefer/projectivesimulation
b8f7b3d7d492b5d5f6df7f9f0802bead33c946ca
[ "Apache-2.0" ]
8
2018-03-22T04:12:31.000Z
2021-01-31T19:14:28.000Z
# -*- coding: utf-8 -*- """ Copyright 2018 Alexey Melnikov and Katja Ried. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Please acknowledge the authors when re-using this code and maintain this notice intact. Code written by Katja Ried...
49.290323
128
0.695681
676
4,584
4.594675
0.338757
0.057952
0.019317
0.017708
0.191565
0.140373
0.08886
0.08886
0.08886
0.073406
0
0.021407
0.215314
4,584
92
129
49.826087
0.842091
0.506545
0
0
0
0
0
0
0
0
0
0
0
1
0.175
false
0
0.025
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd0162bf0a28c31d37370edf04366759674e96cb
1,174
py
Python
masktools/superskims/slit.py
adwasser/masktools
c96c8f375f0e94ee2791466d0ce6d31007f58022
[ "MIT" ]
null
null
null
masktools/superskims/slit.py
adwasser/masktools
c96c8f375f0e94ee2791466d0ce6d31007f58022
[ "MIT" ]
null
null
null
masktools/superskims/slit.py
adwasser/masktools
c96c8f375f0e94ee2791466d0ce6d31007f58022
[ "MIT" ]
null
null
null
from __future__ import (absolute_import, division, print_function, unicode_literals) class Slit: def __init__(self, x, y, length, width, pa, name): ''' Representation of a slit in a mask. Coordinates are relative to the mask, so that the x-axis is along the lon...
39.133333
98
0.581772
168
1,174
3.964286
0.422619
0.066066
0.033033
0.042042
0
0
0
0
0
0
0
0.014851
0.311755
1,174
29
99
40.482759
0.809406
0.457411
0
0
0
0.076923
0.120075
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.384615
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd0183d07de9ad7a1f13f37bb28f41e2ff5b5a7b
1,940
py
Python
gemmforge/instructions/builders/alloctor_builder.py
ravil-mobile/gemmforge
6381584c2d1ce77eaa938de02bc4f130f19cb2e4
[ "MIT" ]
null
null
null
gemmforge/instructions/builders/alloctor_builder.py
ravil-mobile/gemmforge
6381584c2d1ce77eaa938de02bc4f130f19cb2e4
[ "MIT" ]
2
2021-02-01T16:31:22.000Z
2021-05-05T13:44:43.000Z
gemmforge/instructions/builders/alloctor_builder.py
ravil-mobile/gemmforge
6381584c2d1ce77eaa938de02bc4f130f19cb2e4
[ "MIT" ]
null
null
null
from .abstract_builder import AbstractBuilder from gemmforge.symbol_table import SymbolType, Symbol from gemmforge.basic_types import RegMemObject, ShrMemObject from gemmforge.instructions import RegisterAlloc, ShrMemAlloc from gemmforge.basic_types import GeneralLexicon from abc import abstractmethod class AbstractA...
28.955224
72
0.723196
231
1,940
5.722944
0.255411
0.074887
0.059002
0.064297
0.538578
0.446293
0.427383
0.355522
0.22239
0.22239
0
0.00253
0.185052
1,940
66
73
29.393939
0.83365
0
0
0.352941
0
0
0.043814
0.043814
0
0
0
0
0
1
0.176471
false
0.019608
0.117647
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd04f09ba2aeaba23212f09a5a18c36cfe707aa2
1,104
py
Python
solutions/LeetCode/Python3/1049.py
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
solutions/LeetCode/Python3/1049.py
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
solutions/LeetCode/Python3/1049.py
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 32 ms submission class Solution: def lastStoneWeightII(self, stones: List[int]) -> int: total = sum(stones) sums = {0} for s in stones: sums |= {s + i for i in sums} ...
39.428571
104
0.673007
124
1,104
3.596774
0.282258
0.044843
0.067265
0.06278
0.5
0.401345
0.401345
0.29148
0.29148
0.29148
0
0.015758
0.252717
1,104
28
105
39.428571
0.524848
0
0
0.37037
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
bd0555b1790f397fc8d762146f856a6acab0847d
3,043
py
Python
Python3/809.expressive-words.py
610yilingliu/leetcode
30d071b3685c2131bd3462ba77c6c05114f3f227
[ "MIT" ]
null
null
null
Python3/809.expressive-words.py
610yilingliu/leetcode
30d071b3685c2131bd3462ba77c6c05114f3f227
[ "MIT" ]
null
null
null
Python3/809.expressive-words.py
610yilingliu/leetcode
30d071b3685c2131bd3462ba77c6c05114f3f227
[ "MIT" ]
null
null
null
# # @lc app=leetcode id=809 lang=python3 # # [809] Expressive Words # # https://leetcode.com/problems/expressive-words/description/ # # algorithms # Medium (46.84%) # Likes: 320 # Dislikes: 823 # Total Accepted: 45.2K # Total Submissions: 96.2K # Testcase Example: '"heeellooo"\n["hello", "hi", "helo"]' # # Somet...
29.833333
141
0.57049
449
3,043
3.799555
0.367483
0.023447
0.021102
0.014068
0.069168
0.053927
0
0
0
0
0
0.02307
0.302005
3,043
101
142
30.128713
0.780132
0.578048
0
0
0
0
0
0
0
0
0
0
0
1
0.034483
false
0
0
0
0.137931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd068843b439a58814f27d16075e43744d08bd52
1,601
py
Python
settings/Microscope_settings.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
null
null
null
settings/Microscope_settings.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
1
2019-10-22T21:28:31.000Z
2019-10-22T21:39:12.000Z
settings/Microscope_settings.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
2
2019-06-06T15:06:46.000Z
2020-07-20T02:03:22.000Z
Size = (1255, 1160) Position = (39, 26) ScaleFactor = 1.0 ZoomLevel = 32.0 Orientation = 0 Mirror = False NominalPixelSize = 0.125 filename = 'Z:\\All Projects\\Crystallization\\2018.08.27.caplilary with crystals inspection\\2018.08.27 CypA 2.jpg' ImageWindow.Center = (649, 559) ImageWindow.ViewportCenter = (2.41796875...
37.232558
116
0.775141
224
1,601
5.375
0.357143
0.13289
0.037375
0.024917
0.142857
0
0
0
0
0
0
0.175365
0.102436
1,601
42
117
38.119048
0.662491
0
0
0
0
0.02381
0.065584
0.043098
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd07434502bfcaa7d1b29853452ba88cedddad3e
3,259
py
Python
model_rocke3d.py
projectcuisines/gcm_ana
cd9f7d47dd4a9088bcd7556b4955d9b8e09b9741
[ "MIT" ]
1
2021-09-29T18:03:56.000Z
2021-09-29T18:03:56.000Z
model_rocke3d.py
projectcuisines/thai_trilogy_code
cd9f7d47dd4a9088bcd7556b4955d9b8e09b9741
[ "MIT" ]
null
null
null
model_rocke3d.py
projectcuisines/thai_trilogy_code
cd9f7d47dd4a9088bcd7556b4955d9b8e09b9741
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Utilities for the ROCKE3D output.""" import dask.array as da import xarray as xr from grid import reverse_along_dim, roll_da_to_pm180 from model_um import calc_um_rel from names import rocke3d __all__ = ("adjust_rocke3d_grid", "calc_rocke3d_rei", "calc_rocke3d_rel") calc_rocke3d_rel = calc...
30.745283
83
0.666769
490
3,259
4.25102
0.383673
0.020163
0.013442
0.012482
0.163226
0.131541
0.131541
0.131541
0.131541
0.131541
0
0.074542
0.246701
3,259
105
84
31.038095
0.773931
0.505063
0
0
0
0
0.104788
0.051353
0
0
0
0
0
1
0.046512
false
0
0.116279
0
0.209302
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd080979389c4fa7ca1e77a7f150acdec97764c3
4,090
py
Python
models/wordcloud.py
mcxwx123/RecGFI
6e872c3b8c5398959b119e5ba14e665bbb45c56b
[ "MIT" ]
9
2022-01-28T14:24:35.000Z
2022-01-30T05:05:03.000Z
models/wordcloud.py
mcxwx123/RecGFI
6e872c3b8c5398959b119e5ba14e665bbb45c56b
[ "MIT" ]
null
null
null
models/wordcloud.py
mcxwx123/RecGFI
6e872c3b8c5398959b119e5ba14e665bbb45c56b
[ "MIT" ]
1
2022-01-28T14:24:41.000Z
2022-01-28T14:24:41.000Z
from wordcloud import WordCloud,STOPWORDS import matplotlib.pyplot as plt import numpy as np import pandas as pd import re import multidict as multidict from collections import Counter import json import datetime import os plt.switch_backend('agg') def removePunctuation(text): text = re.sub(r'[{}]+'.format('!,;:?`"...
29.854015
138
0.596822
539
4,090
4.48423
0.306122
0.019859
0.023169
0.016549
0.343401
0.316094
0.29127
0.29127
0.272238
0.272238
0
0.038797
0.243765
4,090
136
139
30.073529
0.742645
0.027873
0
0.258621
0
0.034483
0.063508
0.030998
0
0
0
0
0
1
0.043103
false
0
0.086207
0
0.172414
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd08ddc4c6e6b83523aa9e949593219788ab5e5c
2,996
py
Python
favorites_updater.py
techonerd/moepoi
6440f39653bc3560e39429570bd25b7c564b7f54
[ "MIT" ]
36
2020-07-21T16:19:48.000Z
2022-03-21T15:31:02.000Z
favorites_updater.py
gaesant/moepoi
cd478ca00afa5140bb8057c7d37b1ccb2fcbe3b6
[ "MIT" ]
1
2022-02-18T07:41:14.000Z
2022-02-18T07:41:14.000Z
favorites_updater.py
gaesant/moepoi
cd478ca00afa5140bb8057c7d37b1ccb2fcbe3b6
[ "MIT" ]
176
2020-07-22T19:24:14.000Z
2022-03-30T23:42:58.000Z
from python_graphql_client import GraphqlClient import pathlib import re import os root = pathlib.Path(__file__).parent.resolve() client = GraphqlClient(endpoint="https://graphql.anilist.co") TOKEN = os.environ.get("ANILIST_TOKEN", "") def replace_chunk(content, marker, chunk, inline=False): r = re.compile( ...
23.046154
94
0.502003
274
2,996
5.364964
0.332117
0.032653
0.016327
0.027211
0.383673
0.326531
0.326531
0.287755
0.287755
0.287755
0
0.000519
0.357477
2,996
129
95
23.224806
0.763117
0.017356
0
0.34188
0
0
0.412585
0
0
0
0
0
0
1
0.025641
false
0
0.034188
0.008547
0.08547
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd0a67b7badc84d9a3a79ed71754a0226bee9e55
844
py
Python
moistmaster/analytics/migrations/0001_initial.py
benjohnsonnlp/robosquirt
f96c58421532f9b956cec2277b7978022c7c1d80
[ "BSD-3-Clause" ]
null
null
null
moistmaster/analytics/migrations/0001_initial.py
benjohnsonnlp/robosquirt
f96c58421532f9b956cec2277b7978022c7c1d80
[ "BSD-3-Clause" ]
7
2020-02-12T00:56:32.000Z
2022-02-10T09:57:40.000Z
moistmaster/analytics/migrations/0001_initial.py
benjohnsonnlp/robosquirt
f96c58421532f9b956cec2277b7978022c7c1d80
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.0.6 on 2019-07-10 03:56 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='WateringSession', fields=[ ('identifier', m...
28.133333
99
0.535545
70
844
6.328571
0.714286
0.128668
0.117381
0
0
0
0
0
0
0
0
0.030195
0.332938
844
29
100
29.103448
0.756661
0.053318
0
0
1
0
0.14931
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bd0c339764aca9d1b1dc4bb3784afbd33f7e553d
30,324
py
Python
stcloud/api/apps_api.py
sematext/sematext-api-client-python
16e025cd3d32aa58deb70fc5930ae4165afebe97
[ "Apache-2.0" ]
1
2020-05-01T12:15:52.000Z
2020-05-01T12:15:52.000Z
stcloud/api/apps_api.py
sematext/sematext-api-client-python
16e025cd3d32aa58deb70fc5930ae4165afebe97
[ "Apache-2.0" ]
null
null
null
stcloud/api/apps_api.py
sematext/sematext-api-client-python
16e025cd3d32aa58deb70fc5930ae4165afebe97
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Sematext Cloud API API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. # noqa: E501 OpenAPI spec version: v3 ...
38.777494
236
0.614991
3,602
30,324
4.879511
0.056635
0.045972
0.037551
0.044379
0.957897
0.953061
0.946461
0.939008
0.934456
0.933318
0
0.01671
0.297421
30,324
781
237
38.827145
0.808261
0.320406
0
0.822695
0
0
0.187431
0.054451
0
0
0
0
0
1
0.040189
false
0
0.009456
0
0.108747
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bd0df2e5d3c7a33e0c8bc13d1922de1d4da4a323
3,706
py
Python
app_startup4/views.py
konjing/django_sme_award
840ed3685299c77be8516acf1e8a0123930dd63d
[ "MIT" ]
null
null
null
app_startup4/views.py
konjing/django_sme_award
840ed3685299c77be8516acf1e8a0123930dd63d
[ "MIT" ]
5
2021-03-19T02:32:48.000Z
2021-06-10T19:01:30.000Z
app_startup4/views.py
konjing/django_sme_award
840ed3685299c77be8516acf1e8a0123930dd63d
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.http import HttpResponse from django.contrib import messages from app_startup4.models import StartupCompetition def registerListView(request): """ จัดการข้อมูลและพิจารณา ผู้สมัครที่ส่งข้อมูลเข้ามา """ queryset = StartupCompetition.objects.filter(s...
40.282609
120
0.674582
574
3,706
4.461672
0.198606
0.035143
0.019524
0.023428
0.792269
0.706365
0.641937
0.641937
0.641937
0.498243
0
0.007311
0.188073
3,706
91
121
40.725275
0.80658
0.213168
0
0.403846
0
0
0.169509
0.090846
0
0
0
0
0
1
0.096154
false
0
0.076923
0
0.346154
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bd101452c6ae5bad47e4c2d957dbf69805a1b869
3,462
py
Python
SRC/common/IO/GUI/DIR.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
31
2015-04-01T15:59:36.000Z
2022-03-18T20:21:47.000Z
SRC/common/IO/GUI/DIR.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
3
2015-02-06T19:30:24.000Z
2017-05-25T14:14:31.000Z
SRC/common/IO/GUI/DIR.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
7
2015-01-23T15:19:22.000Z
2021-06-09T09:03:59.000Z
# -*- python -*- # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the United States. # Recipients of this software assume all responsibilities associated # with its operation, modification and maintenance. However, to # facilitate maintenance we ...
25.455882
75
0.624783
366
3,462
5.852459
0.519126
0.031746
0.041083
0.012605
0.030812
0
0
0
0
0
0
0.013867
0.250144
3,462
135
76
25.644444
0.811248
0.209705
0
0.068627
0
0
0.445956
0.066544
0
0
0
0
0
1
0.009804
false
0
0.009804
0
0.019608
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd12daa2d90f5e59ee73aa4f239e4f3eb0699f08
4,366
py
Python
chapter_01/main_chapter01_00.py
couldbebetter/simulations_radar_systems_design
fcb23964e10c7ebb9cb1beabadc257e970a2c1de
[ "MIT" ]
20
2018-02-02T06:46:14.000Z
2022-01-05T21:25:50.000Z
chapter_01/main_chapter01_00.py
couldbebetter/simulations_radar_systems_design
fcb23964e10c7ebb9cb1beabadc257e970a2c1de
[ "MIT" ]
null
null
null
chapter_01/main_chapter01_00.py
couldbebetter/simulations_radar_systems_design
fcb23964e10c7ebb9cb1beabadc257e970a2c1de
[ "MIT" ]
5
2018-05-31T16:42:07.000Z
2020-07-30T22:29:43.000Z
# -*- coding: utf-8 -*- """ Created on 21 October 2017 implements Listing 1.2. MATLAB Program “fig1_12.m” in Mahafza radar book @author: Ashiv Dhondea """ import numpy as np import RadarBasics as RB import RadarConstants as RC import RadarEquations as RE # Importing what's needed for nice plots. import matplotlib...
40.803738
113
0.682776
785
4,366
3.549045
0.22293
0.046662
0.021536
0.040201
0.703877
0.655779
0.633166
0.549533
0.494257
0.450826
0
0.05715
0.082226
4,366
106
114
41.188679
0.638133
0.115208
0
0.186667
0
0
0.166276
0.013031
0
0
0
0
0
1
0
false
0
0.08
0
0.08
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd12efd43b17ceb7fdeb18d7ab015b7b17528841
4,770
py
Python
core/views.py
edwildson/djangosecommerce
22541d24af52cd6f2d51196116a101583389b945
[ "CC0-1.0" ]
1
2021-11-05T20:35:00.000Z
2021-11-05T20:35:00.000Z
core/views.py
edwildson/djangosecommerce
22541d24af52cd6f2d51196116a101583389b945
[ "CC0-1.0" ]
null
null
null
core/views.py
edwildson/djangosecommerce
22541d24af52cd6f2d51196116a101583389b945
[ "CC0-1.0" ]
null
null
null
# coding=utf-8 import functools import warnings from django.shortcuts import render from .forms import ContactForm from catalog.views import Product from django.views.generic import View, TemplateView, CreateView from django.contrib.auth import get_user_model from django.contrib import messages # Sobrecarga da classe...
32.896552
89
0.637945
503
4,770
5.831014
0.318091
0.047733
0.034777
0.02864
0.054893
0
0
0
0
0
0
0.001739
0.27652
4,770
144
90
33.125
0.84816
0.024528
0
0.077586
0
0
0.144737
0.039042
0
0
0
0
0
1
0.051724
false
0.094828
0.155172
0
0.293103
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
bd133f9bc78502bb6dd771b9750d4b772d62e105
96
py
Python
venv/lib/python3.8/site-packages/jedi/inference/compiled/mixed.py
GiulianaPola/select_repeats
17a0d053d4f874e42cf654dd142168c2ec8fbd11
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/jedi/inference/compiled/mixed.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/jedi/inference/compiled/mixed.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/d9/2c/a4/7718a956dd946c833114214fec833728fef3062ae858a03a9d82cf9dc7
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.4375
0
96
1
96
96
0.458333
0
0
0
0
0
0
0
0
1
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
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
bd14232c1edf5c76909d75642903193968483bbc
1,087
py
Python
tests/jekpost_tests.py
arjunkrishnababu96/jekpost
2ddcb337e98c534426d83f1bd6fbde1f45f59225
[ "MIT" ]
1
2018-10-05T16:53:02.000Z
2018-10-05T16:53:02.000Z
tests/jekpost_tests.py
arjunkrishnababu96/jekpost
2ddcb337e98c534426d83f1bd6fbde1f45f59225
[ "MIT" ]
null
null
null
tests/jekpost_tests.py
arjunkrishnababu96/jekpost
2ddcb337e98c534426d83f1bd6fbde1f45f59225
[ "MIT" ]
null
null
null
import unittest import jekpost.jekpost_create as jek from datetime import date class JekpostTests(unittest.TestCase): def test_date_gets_formatted(self): """ Check 31-DEC-2016 (2016-12-31) 1-NOV-2015 (2015-11-01) 11-JAN-2015 (2015-01-11) """ sam...
31.970588
68
0.580497
132
1,087
4.537879
0.371212
0.033389
0.053422
0
0
0
0
0
0
0
0
0.142287
0.308188
1,087
33
69
32.939394
0.654255
0.084637
0
0
0
0
0.080253
0.022175
0
0
0
0
0.095238
1
0.095238
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd14aa72ec4ce2f35a4d3b6757b556fa6efbf5d2
2,636
py
Python
ESMF/src/addon/ESMPy/examples/mesh_locstream_regrid.py
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
1
2018-07-05T16:48:58.000Z
2018-07-05T16:48:58.000Z
ESMF/src/addon/ESMPy/examples/mesh_locstream_regrid.py
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
1
2022-03-04T16:12:02.000Z
2022-03-04T16:12:02.000Z
ESMF/src/addon/ESMPy/examples/mesh_locstream_regrid.py
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
null
null
null
# This example demonstrates how to regrid between a mesh and a locstream. import ESMF import numpy import ESMF.util.helpers as helpers import ESMF.api.constants as constants # This call enables debug logging # ESMF.Manager(debug=True) from ESMF.util.mesh_utilities import mesh_create_5, mesh_create_5_parallel from E...
35.621622
118
0.727238
368
2,636
5.081522
0.345109
0.025668
0.023529
0.02246
0.062032
0.045989
0.045989
0.045989
0.045989
0
0
0.026244
0.161609
2,636
73
119
36.109589
0.81991
0.215857
0
0.088889
0
0
0.076961
0
0
0
0
0.013699
0.022222
1
0
false
0
0.133333
0
0.133333
0.044444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bd14fe29205fb7db4613505f3b8655a44fae871a
36
py
Python
workPEMSBAY/Param_HistoricalAverage.py
deepkashiwa20/DeepTraffic
6ac66258ef9fa9bbe7dcd7c4750cb24946eba58c
[ "MIT" ]
35
2021-06-18T01:03:16.000Z
2022-03-31T02:16:37.000Z
workPEMSBAY/Param_HistoricalAverage.py
yuanxw5/DL-Traff-Graph
63f3d81ce3a750e43645c61089c5ca219bfcbfd3
[ "MIT" ]
null
null
null
workPEMSBAY/Param_HistoricalAverage.py
yuanxw5/DL-Traff-Graph
63f3d81ce3a750e43645c61089c5ca219bfcbfd3
[ "MIT" ]
12
2021-06-17T02:54:48.000Z
2022-03-25T05:21:43.000Z
HISTORYDAY = 7 DAYTIMESTEP = 24 * 12
18
21
0.722222
5
36
5.2
1
0
0
0
0
0
0
0
0
0
0
0.172414
0.194444
36
2
21
18
0.724138
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bd15c472f906d140ef00546b94634b33eb43240f
714
py
Python
topy/__init__.py
TarcisioLOliveira/topy
060da675e6494fee63fa5547befcb1f8ecc39fdc
[ "MIT" ]
1
2021-01-25T00:13:34.000Z
2021-01-25T00:13:34.000Z
topy/__init__.py
TarcisioLOliveira/topy
060da675e6494fee63fa5547befcb1f8ecc39fdc
[ "MIT" ]
null
null
null
topy/__init__.py
TarcisioLOliveira/topy
060da675e6494fee63fa5547befcb1f8ecc39fdc
[ "MIT" ]
null
null
null
""" # ============================================================================== # ToPy -- Topology optimization with Python. # Copyright (C) 2012, 2015, 2016, 2017 William Hunter. # Copyright (C) 2020, 2021, Tarcísio L. de Oliveira # ============================================================================== "...
26.444444
80
0.560224
66
714
5.469697
0.515152
0.138504
0.060942
0
0
0
0
0
0
0
0
0.04376
0.135854
714
26
81
27.461538
0.539708
0
0
0
0
0
0.071429
0
0
0
0
0
0
0
null
null
0
0.375
null
null
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
1
0
0
0
1
0
0
0
0
2
bd1639f542971f0b9d004e950fd65037d1434c94
4,788
py
Python
data/fidt_generate.py
PPGod95/FIDTM
b5582c5cc485496d85af2043ffd6e4266f354f3b
[ "MIT" ]
null
null
null
data/fidt_generate.py
PPGod95/FIDTM
b5582c5cc485496d85af2043ffd6e4266f354f3b
[ "MIT" ]
null
null
null
data/fidt_generate.py
PPGod95/FIDTM
b5582c5cc485496d85af2043ffd6e4266f354f3b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @Project : @FileName: @Author :penghr @Time :2021/11/xx xx:xx @Desc : FIDTM-train/dataset/FIDTM/ ├── test │ ├── gt_fidt_map │ │ └── IMG_8.h5 │ ├── g...
33.71831
131
0.539474
672
4,788
3.714286
0.209821
0.050481
0.050481
0.064103
0.325321
0.213942
0.103365
0.055288
0.03766
0.03766
0
0.032592
0.314327
4,788
141
132
33.957447
0.706975
0.268797
0
0
0
0
0.071303
0
0
0
0
0
0
1
0.013158
false
0
0.092105
0
0.118421
0.039474
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd166a19a710f2d8a3cb312cb57d84d5ce6d3bb6
356
py
Python
tests/urls.py
maykinmedia/djadyen
8bde7172c72d68975d4a77c7ef6bed73412619dc
[ "BSD-3-Clause" ]
3
2018-10-19T06:57:50.000Z
2020-11-12T11:20:37.000Z
tests/urls.py
maykinmedia/djadyen
8bde7172c72d68975d4a77c7ef6bed73412619dc
[ "BSD-3-Clause" ]
16
2017-02-14T12:37:58.000Z
2019-04-25T07:55:42.000Z
tests/urls.py
maykinmedia/djadyen
8bde7172c72d68975d4a77c7ef6bed73412619dc
[ "BSD-3-Clause" ]
2
2018-05-16T10:08:34.000Z
2019-09-29T23:31:04.000Z
try: from django.urls import path, include except: from django.conf.urls import url as path, include from django.contrib import admin urlpatterns = [ path(r'^admin/', admin.site.urls), path(r'^app/', include('tests.app.urls')), path(r'^adyen/notifications/', include('djadyen.notifications.urls', n...
27.384615
107
0.702247
47
356
5.319149
0.468085
0.12
0.072
0
0
0
0
0
0
0
0
0
0.143258
356
12
108
29.666667
0.819672
0
0
0
0
0
0.258427
0.132022
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd167da504ac1a51b81416178b209b951582f2de
583
py
Python
cpc/type/__init__.py
U-Ar/Cpresto
f723458fb237c9e3e8bc8a6afdf7c81858a65363
[ "BSD-3-Clause" ]
1
2021-05-09T07:10:19.000Z
2021-05-09T07:10:19.000Z
cpc/type/__init__.py
U-Ar/Cpresto
f723458fb237c9e3e8bc8a6afdf7c81858a65363
[ "BSD-3-Clause" ]
null
null
null
cpc/type/__init__.py
U-Ar/Cpresto
f723458fb237c9e3e8bc8a6afdf7c81858a65363
[ "BSD-3-Clause" ]
null
null
null
from .ArrayType import * from .ArrayTypeRef import * from .CompositeType import * from .FunctionType import * from .FunctionTypeRef import * from .IntegerType import * from .IntegerTypeRef import * from .NamedType import * from .ParamTypes import * from .PointerType import * from .PointerTypeRef import * from .StructTy...
26.5
30
0.7753
66
583
6.848485
0.363636
0.464602
0
0
0
0
0
0
0
0
0
0
0.149228
583
22
31
26.5
0.91129
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
bd16c8b39601a36ca38158d3199f58ce464da6a0
41
py
Python
packages/speex.py
mhutch/bockbuild
0d989e2d0259d17d41a195f8d28b3844a4652e7b
[ "MIT" ]
null
null
null
packages/speex.py
mhutch/bockbuild
0d989e2d0259d17d41a195f8d28b3844a4652e7b
[ "MIT" ]
null
null
null
packages/speex.py
mhutch/bockbuild
0d989e2d0259d17d41a195f8d28b3844a4652e7b
[ "MIT" ]
null
null
null
XiphPackage ('speex', 'speex', '1.2rc1')
20.5
40
0.634146
5
41
5.2
0.8
0
0
0
0
0
0
0
0
0
0
0.081081
0.097561
41
1
41
41
0.621622
0
0
0
0
0
0.390244
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
4
bd1785dbb7815b9bfadbb18331b534590567b760
2,105
py
Python
Python Tutorial Django/pac/pac/main/views.py
PaulPan00/donkey_wrapper
a03cf0f42f65625fbce792b06c98acd153c5d6c8
[ "MIT" ]
6
2021-03-26T01:42:31.000Z
2021-04-11T16:17:42.000Z
Python Tutorial Django/pac/pac/main/views.py
packetsss/Python
a03cf0f42f65625fbce792b06c98acd153c5d6c8
[ "MIT" ]
null
null
null
Python Tutorial Django/pac/pac/main/views.py
packetsss/Python
a03cf0f42f65625fbce792b06c98acd153c5d6c8
[ "MIT" ]
7
2021-04-06T06:55:22.000Z
2021-05-03T11:26:38.000Z
# Create by Packetsss # Personal use is allowed # Commercial use is prohibited from django.shortcuts import render # Create your views here. from django.http import HttpResponse, HttpResponseRedirect from .models import ToDoList, Item from .forms import Create_list def index(response, id): lst = ToDoList.objects...
30.071429
74
0.56152
251
2,105
4.677291
0.322709
0.061329
0.102215
0.122658
0.148211
0.11414
0.059625
0.059625
0
0
0
0.003411
0.303563
2,105
70
75
30.071429
0.797408
0.195249
0
0.116279
0
0
0.079667
0
0
0
0
0.014286
0
1
0.093023
false
0.023256
0.093023
0.046512
0.325581
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bd17b046c9a2e0dbd7f153a5a1f41fd0257f99eb
5,610
py
Python
src/Commands.py
rkpop/kokobot
d19d68e12a7e6c0a25373ae5404e46632d59c40f
[ "MIT" ]
3
2018-07-25T23:55:58.000Z
2018-10-17T05:50:18.000Z
src/Commands.py
rkpop/kokobot
d19d68e12a7e6c0a25373ae5404e46632d59c40f
[ "MIT" ]
null
null
null
src/Commands.py
rkpop/kokobot
d19d68e12a7e6c0a25373ae5404e46632d59c40f
[ "MIT" ]
1
2018-12-01T05:18:48.000Z
2018-12-01T05:18:48.000Z
import asyncio from discord.ext import commands from src.BaseCog import BaseCog from src.DB import DB from src.Reasons import Reasons class Commands(BaseCog): def __init__(self, bot, config): super().__init__(bot, config) self.reasons = Reasons() HELP_MESSAGE = """ Command: `/kkb <action>...
31.166667
86
0.587344
691
5,610
4.596237
0.222865
0.035894
0.035264
0.036209
0.448048
0.406801
0.36335
0.311083
0.293136
0.293136
0
0.012438
0.312121
5,610
179
87
31.340782
0.810573
0.012656
0
0.382353
0
0
0.231714
0
0
0
0
0
0
1
0.014706
false
0
0.036765
0
0.080882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd184a22649fd3e0a64f5b17ec6b9f8201e73eaa
2,981
py
Python
src/lur/grade.py
qlurkin/lur_python
39564f276b3c03a073d4922627634b67c3af2052
[ "MIT" ]
null
null
null
src/lur/grade.py
qlurkin/lur_python
39564f276b3c03a073d4922627634b67c3af2052
[ "MIT" ]
null
null
null
src/lur/grade.py
qlurkin/lur_python
39564f276b3c03a073d4922627634b67c3af2052
[ "MIT" ]
null
null
null
from cmath import nan from sqlite3 import DatabaseError import pandas as pd import numpy as np import json def load_from_csv(path): dt = pd.read_csv(path, sep=';', dtype={'matricule': object}) return dt.set_index('matricule') def fix_matricule(matricule): if matricule.startswith('195'): return '19...
31.378947
101
0.606172
406
2,981
4.330049
0.307882
0.015927
0.044369
0.025597
0.133106
0
0
0
0
0
0
0.02
0.211674
2,981
95
102
31.378947
0.728085
0
0
0.074074
0
0
0.154259
0
0
0
0
0
0
1
0.135802
false
0
0.061728
0.037037
0.358025
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd1a64b8faa4b7589ee4783d56ea7df4ceeadc17
201
py
Python
website/canvas/storage.py
bopopescu/canvas
2dfd6009eaecd8dac64ccc6125084e65305fb5d0
[ "BSD-3-Clause" ]
61
2015-11-10T17:13:46.000Z
2021-08-06T17:58:30.000Z
website/canvas/storage.py
bopopescu/canvas
2dfd6009eaecd8dac64ccc6125084e65305fb5d0
[ "BSD-3-Clause" ]
13
2015-11-11T07:49:41.000Z
2021-06-09T03:45:31.000Z
website/canvas/storage.py
bopopescu/canvas
2dfd6009eaecd8dac64ccc6125084e65305fb5d0
[ "BSD-3-Clause" ]
18
2015-11-11T04:50:04.000Z
2021-08-20T00:57:11.000Z
from compressor.storage import CompressorFileStorage class CanvasFileStorage(CompressorFileStorage): def url(self, path): return "//canvas-dynamic-assets.s3.amazonaws.com/static/" + path
28.714286
72
0.766169
21
201
7.333333
0.904762
0
0
0
0
0
0
0
0
0
0
0.005747
0.134328
201
6
73
33.5
0.87931
0
0
0
0
0
0.24
0.24
0
0
0
0
0
1
0.25
false
0
0.25
0.25
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
1
0
0
0
1
1
0
0
5
bd1ac0aae6302168adf0c1a01d9c3dda3ee533a8
6,104
py
Python
prettytype/__init__.py
stuglaser/prettytype
af31de6017dad56b1f6ba37225f0b17d35a69bd4
[ "MIT" ]
1
2021-01-06T17:37:40.000Z
2021-01-06T17:37:40.000Z
prettytype/__init__.py
stuglaser/prettytype
af31de6017dad56b1f6ba37225f0b17d35a69bd4
[ "MIT" ]
null
null
null
prettytype/__init__.py
stuglaser/prettytype
af31de6017dad56b1f6ba37225f0b17d35a69bd4
[ "MIT" ]
null
null
null
import numbers class NoneT(object): def __repr__(self): return 'NoneT()' def __str__(self): return 'None' def msct(self, other): if isinstance(other, NoneT): return self return MaybeT(other) class MaybeT(object): def __init__(self, childT): self....
23.750973
78
0.548984
710
6,104
4.532394
0.135211
0.059043
0.03729
0.036979
0.360472
0.336234
0.316967
0.229646
0.229646
0.131448
0
0.000992
0.33945
6,104
256
79
23.84375
0.797123
0.014908
0
0.46114
0
0
0.021634
0
0
0
0
0.003906
0.005181
1
0.212435
false
0
0.005181
0.11399
0.569948
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
bd1bc728b1d732bdeadd112c3709dd6ba324fe1b
5,705
py
Python
simulate_position_covariance_data.py
ronniyjoseph/Hybrid-Calibration
7f24a8a5f67d647a47d4559566f7461cb3be57ac
[ "AFL-3.0" ]
null
null
null
simulate_position_covariance_data.py
ronniyjoseph/Hybrid-Calibration
7f24a8a5f67d647a47d4559566f7461cb3be57ac
[ "AFL-3.0" ]
9
2019-10-23T03:30:33.000Z
2020-02-19T05:25:27.000Z
simulate_position_covariance_data.py
ronniyjoseph/Hybrid-Calibration
7f24a8a5f67d647a47d4559566f7461cb3be57ac
[ "AFL-3.0" ]
null
null
null
import os import numpy import copy import argparse from matplotlib import pyplot from src.radiotelescope import RadioTelescope from src.radiotelescope import BaselineTable from src.skymodel import SkyRealisation from simulate_beam_covariance_data import compute_baseline_covariance from simulate_beam_covariance_data im...
46.382114
117
0.713234
636
5,705
6.069182
0.245283
0.025648
0.030829
0.038083
0.351554
0.315026
0.196114
0.180052
0.125907
0.096891
0
0.013623
0.202279
5,705
122
118
46.762295
0.834542
0.098335
0
0.074074
0
0
0.097214
0.055913
0
0
0
0
0
1
0.037037
false
0
0.17284
0
0.246914
0.049383
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd1c3ef16239b0d584d630e4d1b4df484eba30ba
371
py
Python
wspay/migrations/0004_remove_wspayrequest_transactions.py
pinkdroids/django-wspay
19b52cb19539577c812e512062ffb239f2d89190
[ "MIT" ]
null
null
null
wspay/migrations/0004_remove_wspayrequest_transactions.py
pinkdroids/django-wspay
19b52cb19539577c812e512062ffb239f2d89190
[ "MIT" ]
null
null
null
wspay/migrations/0004_remove_wspayrequest_transactions.py
pinkdroids/django-wspay
19b52cb19539577c812e512062ffb239f2d89190
[ "MIT" ]
null
null
null
# Generated by Django 4.0.1 on 2022-01-20 15:12 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('wspay', '0003_rename_wspaytransaction_transactionhistory_and_more'), ] operations = [ migrations.RemoveField( model_name='wspayrequest',...
20.611111
78
0.638814
37
371
6.243243
0.864865
0
0
0
0
0
0
0
0
0
0
0.069343
0.261456
371
17
79
21.823529
0.773723
0.121294
0
0
1
0
0.262346
0.17284
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bd1d6496d7db8cd8d21e423c19bb1534688474e4
24,456
py
Python
anthill/event/admin.py
anthill-services/anthill-event
3c303f33e4c150ce2dfed4f3534ec40e935ecfb8
[ "MIT" ]
null
null
null
anthill/event/admin.py
anthill-services/anthill-event
3c303f33e4c150ce2dfed4f3534ec40e935ecfb8
[ "MIT" ]
null
null
null
anthill/event/admin.py
anthill-services/anthill-event
3c303f33e4c150ce2dfed4f3534ec40e935ecfb8
[ "MIT" ]
1
2017-12-03T22:03:10.000Z
2017-12-03T22:03:10.000Z
from anthill.common.validate import validate from anthill.common import admin as a, update from . model.event import EventNotFound, CategoryNotFound, EventFlags, EventEndAction import ujson import collections EVENT_END_ACTION_DESCRIPTION = """ <b>Send Message</b><br>A message with detailed information about event ...
36.392857
124
0.5294
2,457
24,456
5.171754
0.111518
0.027701
0.033997
0.035256
0.65279
0.592744
0.551507
0.522625
0.466121
0.413866
0
0.001618
0.342738
24,456
671
125
36.447094
0.788914
0
0
0.509158
0
0.016484
0.236639
0.018851
0
0
0
0
0
1
0.034799
false
0
0.009158
0.027473
0.10989
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd1d74e5ac367e134c8e0a19a4b10cfe4ee5fb88
15,704
py
Python
main.py
opt12/gym-jsbsim-eee
fa61d0d4679fd65b5736fc562fe268714b4e08d8
[ "MIT" ]
7
2020-11-10T07:33:40.000Z
2021-06-23T07:25:43.000Z
main.py
opt12/gym-jsbsim-eee
fa61d0d4679fd65b5736fc562fe268714b4e08d8
[ "MIT" ]
null
null
null
main.py
opt12/gym-jsbsim-eee
fa61d0d4679fd65b5736fc562fe268714b4e08d8
[ "MIT" ]
5
2020-07-12T00:10:59.000Z
2021-06-22T09:13:13.000Z
import sys, os # sys.path.append(os.path.join(os.path.dirname(__file__)) #TODO: Is this a good idea? Dunno! It works! # print(os.path.join(os.path.dirname(__file__))) import argparse import markov_pilot.environment.properties as prp from markov_pilot.environment.environment import NoFGJsbSimEnv_multi, J...
59.037594
219
0.707972
2,071
15,704
5.061806
0.201352
0.024897
0.032433
0.022894
0.409425
0.338167
0.26252
0.228084
0.178575
0.142898
0
0.020727
0.201223
15,704
265
220
59.260377
0.814971
0.310303
0
0.136054
0
0
0.139292
0.004097
0
0
0
0.003774
0
1
0.020408
false
0
0.095238
0
0.136054
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd1d8b232aa33e6da7911055afde86063303f3d6
19,781
py
Python
atm/core.py
HDI-Project/ATM
dde454a95e963a460843a61bbb44d18982984b17
[ "MIT" ]
554
2017-12-19T06:43:11.000Z
2022-03-26T04:24:55.000Z
atm/core.py
BTHUNTERCN/ATM
dde454a95e963a460843a61bbb44d18982984b17
[ "MIT" ]
128
2017-12-19T21:30:32.000Z
2021-04-19T17:03:39.000Z
atm/core.py
BTHUNTERCN/ATM
dde454a95e963a460843a61bbb44d18982984b17
[ "MIT" ]
140
2017-12-20T03:47:04.000Z
2022-03-17T01:50:24.000Z
# -*- coding: utf-8 -*- """Core ATM module. This module contains the ATM class, which is the one responsible for executing and orchestrating the main ATM functionalities. """ import logging import random import time from datetime import datetime, timedelta from operator import attrgetter from tqdm import tqdm from...
40.954451
95
0.547495
2,186
19,781
4.830741
0.16011
0.051515
0.057955
0.009659
0.492045
0.479356
0.464583
0.464583
0.452083
0.443182
0
0.005054
0.36985
19,781
482
96
41.039419
0.842118
0.408473
0
0.25974
0
0
0.059423
0
0
0
0
0
0
1
0.025974
false
0.004329
0.04329
0
0.099567
0.021645
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd225009cbeb540acf88e600f37e2294b3fa16ce
742
py
Python
dbcollection/datasets/leeds_sports_pose/leeds_sports_pose/__init__.py
dbcollection/dbcollection
a36f57a11bc2636992e26bba4406914162773dd9
[ "MIT" ]
23
2017-09-20T19:23:26.000Z
2022-01-09T16:18:11.000Z
dbcollection/datasets/leeds_sports_pose/leeds_sports_pose/__init__.py
dbcollection/dbcollection
a36f57a11bc2636992e26bba4406914162773dd9
[ "MIT" ]
148
2017-07-23T14:28:28.000Z
2022-01-13T00:35:17.000Z
dbcollection/datasets/leeds_sports_pose/leeds_sports_pose/__init__.py
dbcollection/dbcollection
a36f57a11bc2636992e26bba4406914162773dd9
[ "MIT" ]
6
2018-01-12T15:47:57.000Z
2021-02-09T06:32:39.000Z
""" Leeds Sports Pose (LSP) Dataset download/process functions. """ from dbcollection.datasets import BaseDataset from .keypoints import Keypoints, KeypointsOriginal urls = ( 'http://sam.johnson.io/research/lsp_dataset_original.zip', { 'url': 'http://sam.johnson.io/research/lsp_dataset.zip', ...
24.733333
78
0.699461
78
742
6.512821
0.474359
0.098425
0.059055
0.070866
0.232283
0.133858
0.133858
0
0
0
0
0
0.172507
742
29
79
25.586207
0.827362
0.172507
0
0
0
0
0.342762
0
0
0
0
0
0
1
0
false
0
0.1
0
0.35
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd25018110a4f497d278f0c5fcc41f39296d2cf6
3,505
py
Python
flydra_analysis/flydra_analysis/a2/check_mainbrain_h5_contiguity.py
elhananby/flydra
09b86859b1863700cdea0bbcdd4758da6c83930b
[ "Apache-2.0", "MIT" ]
45
2017-08-25T06:46:56.000Z
2021-08-29T16:42:49.000Z
flydra_analysis/flydra_analysis/a2/check_mainbrain_h5_contiguity.py
elhananby/flydra
09b86859b1863700cdea0bbcdd4758da6c83930b
[ "Apache-2.0", "MIT" ]
7
2017-10-16T10:46:20.000Z
2020-12-03T16:42:55.000Z
flydra_analysis/flydra_analysis/a2/check_mainbrain_h5_contiguity.py
elhananby/flydra
09b86859b1863700cdea0bbcdd4758da6c83930b
[ "Apache-2.0", "MIT" ]
21
2018-04-11T09:06:40.000Z
2021-12-26T23:38:40.000Z
#!/usr/bin/env python from __future__ import print_function import tables import argparse import numpy as np import sys def check_mainbrain_h5_contiguity( filename, slow_but_less_ram=False, shortcircuit=False, verbose=False ): failed_obj_ids = [] if verbose: print("opening %r" % filename) with...
33.066038
90
0.575178
437
3,505
4.389016
0.343249
0.056309
0.056309
0.036496
0.324296
0.253389
0.20438
0.20438
0.17414
0.17414
0
0.014178
0.315835
3,505
105
91
33.380952
0.785655
0.043937
0
0.366667
0
0
0.152558
0.030212
0
0
0
0
0
1
0.033333
false
0
0.077778
0
0.144444
0.122222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd2629883944c343ab1a2e4d82cafb22e7d45e13
2,304
py
Python
reader.py
Birdulon/html-mangareader
dbdbbaa454125896b9de2d918f2ab59a3c06adc2
[ "MIT" ]
1
2021-05-08T14:58:17.000Z
2021-05-08T14:58:17.000Z
reader.py
Birdulon/html-mangareader
dbdbbaa454125896b9de2d918f2ab59a3c06adc2
[ "MIT" ]
null
null
null
reader.py
Birdulon/html-mangareader
dbdbbaa454125896b9de2d918f2ab59a3c06adc2
[ "MIT" ]
null
null
null
import sys import traceback import webbrowser from argparse import ArgumentParser, Namespace from os import path from tkinter import Tk, messagebox, filedialog from mangareader.mangarender import extract_render from mangareader import templates from time import sleep def parse_args() -> Namespace: parser = Argume...
34.909091
100
0.631076
262
2,304
5.324427
0.416031
0.021505
0.020072
0.034409
0.076703
0.035842
0.035842
0
0
0
0
0.001154
0.24783
2,304
65
101
35.446154
0.803808
0
0
0.033898
0
0
0.161458
0.055556
0
0
0
0
0
1
0.033898
false
0.016949
0.152542
0
0.220339
0.016949
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd29d7f8357ca28a05195118a23e7f338eea17aa
483
py
Python
Qemu/power_on_qemu.py
I-Rinka/Virtualization-Difference
7727215f5b5cdb8bf18d91ef76685ccd3489e760
[ "MIT" ]
null
null
null
Qemu/power_on_qemu.py
I-Rinka/Virtualization-Difference
7727215f5b5cdb8bf18d91ef76685ccd3489e760
[ "MIT" ]
null
null
null
Qemu/power_on_qemu.py
I-Rinka/Virtualization-Difference
7727215f5b5cdb8bf18d91ef76685ccd3489e760
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import socket import os import time import threading def power_on(): os.system("sudo bash ./start_vm.sh") if __name__ == "__main__": n=os.fork() if n>0: os.system("sleep 2") os.system("sudo ip addr add 172.19.0.1/24 dev tap1") os.system("...
18.576923
64
0.52588
71
483
3.366197
0.577465
0.133891
0.150628
0.117155
0
0
0
0
0
0
0
0.049844
0.335404
483
25
65
19.32
0.694704
0.138716
0
0
0
0
0.243961
0
0
0
0
0
0
1
0.066667
false
0
0.266667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd2a739ca5325c09ff24414f0ce30e0bab1eacb7
381
py
Python
tests/unit/python/execution_tree/dynamic_init.py
frzfrsfra4/phylanx
001fe7081f3a24e56157cdb21b2d126b8953ff5d
[ "BSL-1.0" ]
83
2017-08-27T15:09:13.000Z
2022-01-18T17:03:41.000Z
tests/unit/python/execution_tree/dynamic_init.py
frzfrsfra4/phylanx
001fe7081f3a24e56157cdb21b2d126b8953ff5d
[ "BSL-1.0" ]
808
2017-08-27T15:35:01.000Z
2021-12-14T17:30:50.000Z
tests/unit/python/execution_tree/dynamic_init.py
frzfrsfra4/phylanx
001fe7081f3a24e56157cdb21b2d126b8953ff5d
[ "BSL-1.0" ]
55
2017-08-27T15:09:22.000Z
2022-03-25T12:07:34.000Z
# Copyright (c) 2018 R. Tohid # # Distributed under the Boost Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) from phylanx import Phylanx, PhylanxSession @Phylanx def foo(): a = 2 return a def main(): assert (2 == foo()) if _...
17.318182
79
0.671916
56
381
4.357143
0.678571
0.02459
0.07377
0.098361
0
0
0
0
0
0
0
0.043189
0.209974
381
21
80
18.142857
0.767442
0.461942
0
0
0
0
0.040201
0
0
0
0
0
0.1
1
0.2
false
0
0.1
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd2af34a041fa744101d9895d1374416d6964a87
1,073
py
Python
indexStackexchange.py
o19s/semantic-search-course
ebe15eaa65c5009fa2d526b4df72bf8dbfb8630f
[ "Apache-2.0" ]
6
2016-03-07T18:41:52.000Z
2016-12-22T20:45:17.000Z
indexStackexchange.py
o19s/semantic-search-course
ebe15eaa65c5009fa2d526b4df72bf8dbfb8630f
[ "Apache-2.0" ]
1
2016-03-07T19:09:19.000Z
2016-03-07T19:09:19.000Z
indexStackexchange.py
o19s/semantic-search-course
ebe15eaa65c5009fa2d526b4df72bf8dbfb8630f
[ "Apache-2.0" ]
null
null
null
import requests import json def openPosts(): data = "" try: f = open("scifi_stackexchange.json") data = f.read() except IOError: stackExchangeData ="https://storage.googleapis.com/quepid-sample-datasets/elasticsearch/scifi_stackexchange.json" resp = requests.get(stackExchan...
26.825
121
0.587139
117
1,073
5.299145
0.470085
0.087097
0.106452
0.074194
0.087097
0
0
0
0
0
0
0.005168
0.278658
1,073
39
122
27.512821
0.795866
0
0
0
0
0
0.240447
0.044734
0
0
0
0
0
1
0.0625
false
0
0.125
0
0.21875
0.09375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd2bf016c3e6797feee09cab8b88dd0593ba10a9
332
py
Python
hackathonbaobab2020/tests/__init__.py
baobabsoluciones/hackathonbaobab2020
ada30525cca061daad4bd420aa45dd4cfc7b790e
[ "MIT" ]
null
null
null
hackathonbaobab2020/tests/__init__.py
baobabsoluciones/hackathonbaobab2020
ada30525cca061daad4bd420aa45dd4cfc7b790e
[ "MIT" ]
2
2020-12-03T22:37:45.000Z
2021-01-28T19:43:42.000Z
hackathonbaobab2020/tests/__init__.py
baobabsoluciones/hackathonbaobab2020
ada30525cca061daad4bd420aa45dd4cfc7b790e
[ "MIT" ]
5
2020-11-20T15:37:58.000Z
2021-01-29T10:22:07.000Z
import os import zipfile from ..core import Instance def get_test_instance(zip, filename): directory = os.path.dirname(__file__) zip_path = os.path.join(directory, zip) zip_obj = zipfile.ZipFile(zip_path) data = zip_obj.read(filename) return Instance.from_mm(path=None, content=data.decode().splitl...
27.666667
78
0.740964
48
332
4.895833
0.541667
0.051064
0
0
0
0
0
0
0
0
0
0
0.14759
332
11
79
30.181818
0.830389
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
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
0
0
0
1
0
1
0
0
2
bd2c89f3c83b146173c4e02b15272145ff176687
1,634
py
Python
Lab01_Introduction/exercise-4.py
rodrigoc-silva/Python-course
327b20738a4b383510faddc0ec26a54be1bbd717
[ "MIT" ]
null
null
null
Lab01_Introduction/exercise-4.py
rodrigoc-silva/Python-course
327b20738a4b383510faddc0ec26a54be1bbd717
[ "MIT" ]
null
null
null
Lab01_Introduction/exercise-4.py
rodrigoc-silva/Python-course
327b20738a4b383510faddc0ec26a54be1bbd717
[ "MIT" ]
null
null
null
#This program shows the amount of each ingredient needed for a numbers of cookies. #constants sugar = 1.5 butter = 1 flour = 2.75 cookies = 48 #input numOfCookies = int(input('Enter the number of cookies:')) #calculation amtSugar = sugar / cookies * numOfCookies amtButter = butter / cookies * numOfCookies amtFlour ...
18.155556
82
0.660343
274
1,634
3.937956
0.266423
0.100093
0.07785
0.088971
0.29101
0.163114
0.163114
0.163114
0.137164
0.137164
0
0.066971
0.195838
1,634
89
83
18.359551
0.754186
0.603427
0
0
0
0
0.255435
0
0
0
0
0
0
1
0
false
0
0
0
0
0.307692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd2cd6efeb3ab12f89218d4758f64e6ad10fe52a
3,778
py
Python
tests/test_versions.py
jaleskovec/reqcheck
ffc13cd28127f751617cdd29f7003866341fca58
[ "MIT" ]
null
null
null
tests/test_versions.py
jaleskovec/reqcheck
ffc13cd28127f751617cdd29f7003866341fca58
[ "MIT" ]
2
2021-01-27T12:22:11.000Z
2021-01-31T03:32:08.000Z
tests/test_versions.py
jaleskovec/reqcheck
ffc13cd28127f751617cdd29f7003866341fca58
[ "MIT" ]
null
null
null
import unittest from datetime import datetime, timedelta from pkg_resources import parse_version import reqcheck.versions as versions class GetBehindNumVersionsTest(unittest.TestCase): def setUp(self): self.versions = [ {'version': parse_version('1.0.1')}, {'version': parse_versi...
49.064935
129
0.642139
501
3,778
4.706587
0.161677
0.157761
0.154368
0.160305
0.7095
0.695081
0.641221
0.601357
0.601357
0.594996
0
0.100293
0.187136
3,778
76
130
49.710526
0.667535
0
0
0.338983
0
0
0.127316
0
0
0
0
0
0.169492
1
0.20339
false
0
0.067797
0
0.338983
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
bd2df4074244dd69e6875bd543777ca99a678244
2,437
py
Python
seoaudit/config.py
Guber/seoaudit
e38bc453629643f0282cdf9324e4f1db81f57f7f
[ "Apache-2.0" ]
7
2019-12-10T17:05:14.000Z
2020-11-10T10:10:45.000Z
seoaudit/config.py
Guber/seoaudit
e38bc453629643f0282cdf9324e4f1db81f57f7f
[ "Apache-2.0" ]
3
2020-10-23T09:19:19.000Z
2021-12-13T20:28:03.000Z
seoaudit/config.py
Guber/seoaudit
e38bc453629643f0282cdf9324e4f1db81f57f7f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from seoaudit.checks.element import ElementCheck from seoaudit.checks.page import PageCheck from seoaudit.checks.site import SiteCheck page_tests = [(PageCheck.TEXT_TO_CODE_RATIO, {"min_ratio": 0.1}), (PageCheck.DOM_SIZE, {"max_size": 1500}), [PageCheck.ELEMENTS_SIMILA...
50.770833
115
0.588839
267
2,437
5.224719
0.337079
0.103226
0.129032
0.122581
0.568459
0.415054
0.243728
0.193548
0.193548
0.107527
0
0.014
0.179319
2,437
47
116
51.851064
0.6835
0.045137
0
0.119048
0
0
0.444492
0.270224
0
0
0
0.021277
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bd2e2477ed8bfb390dc1b2799ff2c5a263416a72
3,822
py
Python
utils/certificate/tools.py
sr-gi/paysense
e896191b42c97009d56a23d54518569561064c42
[ "BSD-3-Clause" ]
2
2015-11-30T19:05:19.000Z
2017-02-04T08:31:59.000Z
utils/certificate/tools.py
sr-gi/paysense
e896191b42c97009d56a23d54518569561064c42
[ "BSD-3-Clause" ]
null
null
null
utils/certificate/tools.py
sr-gi/paysense
e896191b42c97009d56a23d54518569561064c42
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) <2015> <Sergi Delgado Segura> # Distributed under the BSD software license, see the accompanying file LICENSE from pyasn1.codec.der import encoder, decoder from pyasn1_modules.rfc2459 import Certificate from Crypto.PublicKey import RSA from M2Crypto import X509 from hashlib import sha256 from os import...
34.745455
176
0.715856
532
3,822
5.048872
0.340226
0.023455
0.015637
0.018615
0.026806
0.026806
0.026806
0
0
0
0
0.018218
0.210099
3,822
109
177
35.06422
0.871481
0.579016
0
0.105263
0
0
0.05212
0
0
0
0
0.018349
0
1
0.105263
false
0
0.184211
0
0.394737
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bd2ee870e5845b50e43bca14345288b03bd674b2
1,340
py
Python
zombie_infection.py
schana/random-hacking
5eeda2f05681ce9f56f1b9114255c2392e92ee9a
[ "Apache-2.0" ]
null
null
null
zombie_infection.py
schana/random-hacking
5eeda2f05681ce9f56f1b9114255c2392e92ee9a
[ "Apache-2.0" ]
null
null
null
zombie_infection.py
schana/random-hacking
5eeda2f05681ce9f56f1b9114255c2392e92ee9a
[ "Apache-2.0" ]
null
null
null
import random import sys sys.setrecursionlimit(15000) count_columns = 50 count_rows = 40 matrix = [[random.randint(0, 1) for i in range(count_columns)] for j in range(count_rows)] matrix = [[0] * count_columns for _ in range(count_rows)] for _ in range(10): matrix[random.randint(0, count_rows - 1)][random.randin...
24.363636
90
0.590299
217
1,340
3.576037
0.271889
0.028351
0.05799
0.072165
0.203608
0.155928
0.085052
0.085052
0.085052
0
0
0.031185
0.28209
1,340
54
91
24.814815
0.775468
0.074627
0
0.225
0
0
0.001617
0
0
0
0
0
0
1
0.05
false
0
0.05
0
0.125
0.175
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd2f0d561dd6a11311d27d509b7dfde5f4ee84a5
114
py
Python
portabletext_html/__init__.py
otovo/python-sanity-html
e445dd9d0f05f8cfe424112e568f37c36e663096
[ "Apache-2.0" ]
13
2021-04-14T11:19:20.000Z
2021-11-26T11:56:39.000Z
portabletext_html/__init__.py
otovo/python-sanity-html
e445dd9d0f05f8cfe424112e568f37c36e663096
[ "Apache-2.0" ]
25
2021-04-14T12:48:50.000Z
2021-11-29T08:11:14.000Z
portabletext_html/__init__.py
otovo/python-portabletext-html
31718a70db58afd143976bf0edfb42239f1800dc
[ "Apache-2.0" ]
null
null
null
from portabletext_html.renderer import PortableTextRenderer, render __all__ = ['PortableTextRenderer', 'render']
28.5
67
0.824561
10
114
8.9
0.8
0.58427
0
0
0
0
0
0
0
0
0
0
0.087719
114
3
68
38
0.855769
0
0
0
0
0
0.22807
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
4
bd32c31d868cb38b20ce13d60b0f31a73b04c464
309
py
Python
dad.py
1234borkowskip/WD151280
273d8a5b655e60eed1195125420462e1e11161cf
[ "MIT" ]
null
null
null
dad.py
1234borkowskip/WD151280
273d8a5b655e60eed1195125420462e1e11161cf
[ "MIT" ]
null
null
null
dad.py
1234borkowskip/WD151280
273d8a5b655e60eed1195125420462e1e11161cf
[ "MIT" ]
null
null
null
def cg(n, a1=1, q=2): n = n - 1 while n > 0: a1 = a1 * q n = n - 1 return a1 print("{} wyraz ciagu geometrycznego gdzie a1 = {}, q = {} wynosi {}".format(4, 1, 5, cg(4, 1, 5))) print("{} wyraz ciagu geometrycznego gdzie a1 = {}, q = {} wynosi {}".format(7, 1, 2, cg(7)))
30.9
100
0.482201
51
309
2.921569
0.392157
0.060403
0.040268
0.389262
0.657718
0.657718
0.657718
0.657718
0.657718
0
0
0.099057
0.313916
309
10
101
30.9
0.603774
0
0
0.25
0
0
0.405316
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0.25
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bd33d681a6be39dde7d89c1d2456e4e15b7cbc67
296
py
Python
src/code42cli/cmds/shell.py
maddie-vargo/code42cli
fde4a70d4810923b668e8ca2d8d00af75c567dd1
[ "MIT" ]
14
2020-07-15T13:55:53.000Z
2022-02-24T19:09:50.000Z
src/code42cli/cmds/shell.py
maddie-vargo/code42cli
fde4a70d4810923b668e8ca2d8d00af75c567dd1
[ "MIT" ]
213
2020-07-16T14:21:00.000Z
2022-03-29T16:08:08.000Z
src/code42cli/cmds/shell.py
maddie-vargo/code42cli
fde4a70d4810923b668e8ca2d8d00af75c567dd1
[ "MIT" ]
11
2020-07-15T13:58:09.000Z
2022-03-29T17:33:51.000Z
import click import IPython from code42cli import BANNER from code42cli.options import sdk_options @click.command() @sdk_options() def shell(state): """Open an IPython shell with py42 initialized as `sdk`.""" IPython.embed(colors="Neutral", banner1=BANNER, user_ns={"sdk": state.sdk})
22.769231
79
0.743243
41
296
5.292683
0.585366
0.119816
0
0
0
0
0
0
0
0
0
0.027344
0.135135
296
12
80
24.666667
0.820313
0.179054
0
0
0
0
0.042194
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
bd347bef874fe2b7fd02a07a979e78547511f381
216
py
Python
src/Main.py
Yee172/Memory_Revival
e9bf4598564546ada3b9d9bfce7bf35fad348850
[ "MIT" ]
null
null
null
src/Main.py
Yee172/Memory_Revival
e9bf4598564546ada3b9d9bfce7bf35fad348850
[ "MIT" ]
null
null
null
src/Main.py
Yee172/Memory_Revival
e9bf4598564546ada3b9d9bfce7bf35fad348850
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'Yee_172' __date__ = '2017/12/03' import sys PATH = sys.path[0][:-4] sys.path.append(PATH) from src.Func import * win = MainWin() sys.exit(app.exec_())
14.4
23
0.648148
35
216
3.714286
0.8
0.161538
0
0
0
0
0
0
0
0
0
0.081081
0.143519
216
14
24
15.428571
0.621622
0.199074
0
0
0
0
0.099415
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd34863190099e5a1deaa0f914751c6c45b7892c
1,191
py
Python
tools/protonvpn-ips/main.py
alessandrobasi/basi-warninglist
995d3cd94e1dc7afdc09eff11bc1baa352b225e9
[ "MIT" ]
null
null
null
tools/protonvpn-ips/main.py
alessandrobasi/basi-warninglist
995d3cd94e1dc7afdc09eff11bc1baa352b225e9
[ "MIT" ]
null
null
null
tools/protonvpn-ips/main.py
alessandrobasi/basi-warninglist
995d3cd94e1dc7afdc09eff11bc1baa352b225e9
[ "MIT" ]
null
null
null
import requests, os dir_name = os.path.basename(os.path.dirname(os.path.realpath(__file__))) save_path = "../../lists/"+dir_name+"/" def main(): ips = set() with open(save_path+"all.txt","r",encoding="UTF-8") as f: for line in f: ips.add(line[:-1]) url_ = 'https://api.protonmail.c...
31.342105
191
0.577666
173
1,191
3.83815
0.491329
0.060241
0.072289
0.084337
0.131024
0.081325
0
0
0
0
0
0.049724
0.240134
1,191
38
192
31.342105
0.683978
0
0
0
0
0.037037
0.25
0
0
0
0
0
0
1
0.037037
false
0
0.037037
0
0.111111
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd3567ec2bb0a247f32f1485e666f3eac6f7dc19
2,809
py
Python
dakota/sobol/sobol.py
arfc/dcwrapper
82226f601580be464668fa63df64f037962db57e
[ "BSD-3-Clause" ]
1
2020-03-26T14:09:30.000Z
2020-03-26T14:09:30.000Z
dakota/sobol/sobol.py
mehmeturkmen/dcwrapper
82226f601580be464668fa63df64f037962db57e
[ "BSD-3-Clause" ]
10
2019-10-08T18:46:36.000Z
2019-11-14T19:23:05.000Z
dakota/sobol/sobol.py
mehmeturkmen/dcwrapper
82226f601580be464668fa63df64f037962db57e
[ "BSD-3-Clause" ]
3
2019-10-29T19:23:44.000Z
2020-09-18T13:09:49.000Z
# Dakota Python Driving Script # necessary python modules import dakota.interfacing as di import subprocess import sys import os import multiprocessing sys.path.append('../../scripts') import input as inp import output as oup import external_cym cycdir = '../../cyclus-files/sobol/' # -----------------...
25.770642
62
0.555714
364
2,809
4.200549
0.302198
0.023545
0.031393
0.054938
0.328973
0.299542
0.218443
0.218443
0.158273
0.158273
0
0.005119
0.234959
2,809
108
63
26.009259
0.706375
0.133499
0
0.355263
0
0
0.133651
0.010813
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd36b9e0da9470a5e37a78543606857028eee2e2
873
py
Python
basic linear reg.py
recurshawn/Basic-Linear-Regression
e0ee45f58d45911d34a854f015ea196b159a2f8a
[ "MIT" ]
2
2018-08-12T06:09:04.000Z
2019-05-06T07:03:26.000Z
basic linear reg.py
recurshawn/Basic-Linear-Regression
e0ee45f58d45911d34a854f015ea196b159a2f8a
[ "MIT" ]
null
null
null
basic linear reg.py
recurshawn/Basic-Linear-Regression
e0ee45f58d45911d34a854f015ea196b159a2f8a
[ "MIT" ]
2
2018-07-19T14:35:46.000Z
2018-08-12T06:13:43.000Z
""" BASIC LINEAR REGRESSION CODE Consider this my first application of what I understood about ML/DL so far. I wrote this to check my understanding of the basic concepts. It's pretty simple but I needed to get my feet wet with code. Any suggestions for modifications are welcome! """ #x and y data...
28.16129
128
0.634593
173
873
3.196532
0.560694
0.01085
0.016275
0.018083
0.036166
0.036166
0.036166
0.036166
0.036166
0
0
0.089124
0.241695
873
30
129
29.1
0.746224
0.183276
0
0
0
0
0.144357
0
0
0
0
0
0
0
null
null
0
0
null
null
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bd3a8db83a92cdd76c21b817a1af0e0151e6c4ab
5,690
py
Python
app/hide-and-seek/common/computils/debug.py
loramf/mlforhealthlabpub
aa5a42a4814cf69c8223f27c21324ee39d43c404
[ "BSD-3-Clause" ]
171
2021-02-12T10:23:19.000Z
2022-03-29T01:58:52.000Z
app/hide-and-seek/common/computils/debug.py
loramf/mlforhealthlabpub
aa5a42a4814cf69c8223f27c21324ee39d43c404
[ "BSD-3-Clause" ]
4
2021-06-01T08:18:33.000Z
2022-02-20T13:37:30.000Z
app/hide-and-seek/common/computils/debug.py
loramf/mlforhealthlabpub
aa5a42a4814cf69c8223f27c21324ee39d43c404
[ "BSD-3-Clause" ]
93
2021-02-10T03:21:59.000Z
2022-03-30T19:10:37.000Z
""" Debug helpers. """ import io import logging from typing import Union, Optional, Callable import numpy as np import pandas as pd _printt_log_method = print def set_log_method(log_method: Optional[Callable] = None) -> None: global _printt_log_method # pylint: disable=global-statement if log_method is no...
30.10582
110
0.618102
741
5,690
4.585695
0.233468
0.037081
0.044144
0.030901
0.258682
0.16186
0.128311
0.114185
0.099765
0.084756
0
0.016675
0.25167
5,690
188
111
30.265957
0.781353
0.273814
0
0.284404
0
0
0.114696
0.038316
0
0
0
0
0
1
0.082569
false
0
0.045872
0
0.174312
0.100917
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd3b0f2c14b30cd87e31089661c02ceeb62af81c
3,862
py
Python
setup.py
jacklinke/django-directed
8ef8cd8a71e9a03a8628dce6465351f676f542ff
[ "Apache-2.0" ]
2
2022-02-09T10:15:40.000Z
2022-02-22T14:11:03.000Z
setup.py
jacklinke/django-directed
8ef8cd8a71e9a03a8628dce6465351f676f542ff
[ "Apache-2.0" ]
1
2022-02-20T14:49:37.000Z
2022-02-20T14:49:37.000Z
setup.py
jacklinke/django-directed
8ef8cd8a71e9a03a8628dce6465351f676f542ff
[ "Apache-2.0" ]
null
null
null
import os import re import sys from collections import defaultdict try: from setuptools import setup except ImportError: from distutils.core import setup def get_version(*file_paths): """Retrieves the version from django_directed/__init__.py""" filename = os.path.join(os.path.dirname(__file__), *file...
33.877193
108
0.634645
466
3,862
5.126609
0.405579
0.064462
0.052323
0.043533
0.064044
0.046463
0
0
0
0
0
0.010905
0.216468
3,862
113
109
34.176991
0.778586
0.046608
0
0.072917
0
0
0.391293
0.011973
0
0
0
0
0
1
0.020833
false
0
0.09375
0
0.135417
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd3b1d81b7abc114bb78bcdb8316981a6a5efeb1
2,050
py
Python
cv_utils/object_detection/dataset/utils.py
fadamsyah/cv_utils
487fc65fe4a71f05dd03df31cde21d866968c0b4
[ "MIT" ]
null
null
null
cv_utils/object_detection/dataset/utils.py
fadamsyah/cv_utils
487fc65fe4a71f05dd03df31cde21d866968c0b4
[ "MIT" ]
1
2021-11-01T06:10:29.000Z
2021-11-09T12:47:48.000Z
cv_utils/object_detection/dataset/utils.py
fadamsyah/cv_utils
487fc65fe4a71f05dd03df31cde21d866968c0b4
[ "MIT" ]
null
null
null
import json import os import shutil from copy import deepcopy from pathlib import Path def create_and_overwrite_dir(path_dir): # Create the directory Path(path_dir).mkdir(parents=True, exist_ok=True) # Overwrite the directory for path in os.listdir(path_dir): try: os.remove(os.path.join(p...
25.308642
85
0.632683
248
2,050
5.068548
0.366935
0.038982
0.02148
0.022275
0.033413
0.033413
0
0
0
0
0
0.009365
0.270732
2,050
81
86
25.308642
0.831438
0.238049
0
0
0
0
0.07095
0
0
0
0
0
0
1
0.135135
false
0.027027
0.135135
0
0.324324
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd3b2ec0d2c9b53564b73ae83d10294a44c47243
269
py
Python
datos_modelar/clean_data.py
alexvaca0/EquipoGamma
6999cb2d24104c9cabdbfbddcb3d2746f395b0ba
[ "MIT" ]
null
null
null
datos_modelar/clean_data.py
alexvaca0/EquipoGamma
6999cb2d24104c9cabdbfbddcb3d2746f395b0ba
[ "MIT" ]
null
null
null
datos_modelar/clean_data.py
alexvaca0/EquipoGamma
6999cb2d24104c9cabdbfbddcb3d2746f395b0ba
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Feb 6 23:26:38 2019 @author: avaca """ import pandas as pd import numpy as np from sklearn.model_selection import GridSearchCV complete_data = pd.read_csv('', encoding = 'utf-8') vars_categ = ['HY_provincia', 'HY_tipo']
16.8125
51
0.69145
42
269
4.285714
0.833333
0.044444
0
0
0
0
0
0
0
0
0
0.057778
0.163569
269
15
52
17.933333
0.742222
0.275093
0
0
0
0
0.129032
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
bd4090b02cae8881961d07fc8983d1d1780b62bf
1,326
py
Python
python/extracting/findPrimer.py
csiu/tokens
8a7f865d921d91aae4019e43677435ad78a8a703
[ "MIT" ]
null
null
null
python/extracting/findPrimer.py
csiu/tokens
8a7f865d921d91aae4019e43677435ad78a8a703
[ "MIT" ]
1
2015-04-20T03:28:48.000Z
2015-04-20T03:40:44.000Z
python/extracting/findPrimer.py
csiu/tokens
8a7f865d921d91aae4019e43677435ad78a8a703
[ "MIT" ]
null
null
null
import re inputfile = '/Users/csiu/project/webCrawler/extractPrimer/test.txt' primerStart = """5'""" primerEnd = """3'""" nucleotides = '[ATGCN]' linePrimerEnding = re.compile(nucleotides + '$') linePrimerStarting = re.compile('^' + nucleotides) with open(inputfile, 'r') as f: for line in f: if primerSt...
30.136364
74
0.534691
121
1,326
5.859504
0.446281
0.050776
0.056417
0.047955
0.211566
0.152327
0.152327
0.152327
0
0
0
0.004819
0.374057
1,326
43
75
30.837209
0.849398
0.087481
0
0.37037
0
0
0.055927
0.04424
0
0
0
0
0
0
null
null
0
0.037037
null
null
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bd41247422955c2bec8c75c3f52048f4b0c6d343
1,213
py
Python
app/core/admin.py
crocodundee/news-board-api-app
380e6e75f9263a068200a723c04568a9f2261ecc
[ "MIT" ]
null
null
null
app/core/admin.py
crocodundee/news-board-api-app
380e6e75f9263a068200a723c04568a9f2261ecc
[ "MIT" ]
null
null
null
app/core/admin.py
crocodundee/news-board-api-app
380e6e75f9263a068200a723c04568a9f2261ecc
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.contrib.auth.models import User from django.utils.translation import gettext as _ from core import models class UserAdmin(BaseUserAdmin): """Admin panel configuration for User model""" list_display ...
28.880952
79
0.659522
136
1,213
5.727941
0.397059
0.051348
0.065469
0.053915
0.136072
0
0
0
0
0
0
0
0.17972
1,213
41
80
29.585366
0.782915
0.079967
0
0
0
0
0.221818
0
0
0
0
0
0
1
0
false
0.038462
0.230769
0
0.576923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bd41d6fca25f541134f0afce1961c06f85b0df9b
1,806
py
Python
tests/fixtures.py
DNXLabs/ssm-loader
eae0257794126247584150eeb1b74ae05f4fcaf5
[ "Apache-2.0" ]
null
null
null
tests/fixtures.py
DNXLabs/ssm-loader
eae0257794126247584150eeb1b74ae05f4fcaf5
[ "Apache-2.0" ]
2
2020-07-31T05:32:10.000Z
2020-09-07T10:38:24.000Z
tests/fixtures.py
DNXLabs/ssm-loader
eae0257794126247584150eeb1b74ae05f4fcaf5
[ "Apache-2.0" ]
null
null
null
import pytest import os import json import boto3 from click.testing import CliRunner from moto import mock_ssm @pytest.fixture def runner(): return CliRunner() @pytest.fixture(scope='function') def aws_credentials(): """Mocked AWS Credentials for moto.""" os.environ['AWS_ACCESS_KEY_ID'] = 'test' os...
22.860759
75
0.593577
203
1,806
5.103448
0.330049
0.087838
0.052124
0.050193
0.28861
0.188224
0.15251
0.098456
0.098456
0.098456
0
0.005303
0.269103
1,806
78
76
23.153846
0.779545
0.017719
0
0.311475
0
0
0.250141
0.058291
0
0
0
0
0
1
0.114754
false
0
0.098361
0.032787
0.278689
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd42f92ac6de47d16f3dec018fcdc491713b5ba6
5,656
py
Python
scripts/plotting/create_num_demos_plots.py
Learning-and-Intelligent-Systems/predicators
0b2e71cacf86ba2bfdc1d9059c3a78016d0a4d7e
[ "MIT" ]
24
2021-11-20T16:35:41.000Z
2022-03-30T03:49:52.000Z
scripts/plotting/create_num_demos_plots.py
Learning-and-Intelligent-Systems/predicators
0b2e71cacf86ba2bfdc1d9059c3a78016d0a4d7e
[ "MIT" ]
214
2021-10-12T01:17:50.000Z
2022-03-31T20:18:36.000Z
scripts/plotting/create_num_demos_plots.py
Learning-and-Intelligent-Systems/predicators
0b2e71cacf86ba2bfdc1d9059c3a78016d0a4d7e
[ "MIT" ]
1
2022-02-15T20:24:17.000Z
2022-02-15T20:24:17.000Z
"""Create plots for learning from varying numbers of demonstrations.""" import os import matplotlib import matplotlib.pyplot as plt import pandas as pd from predicators.scripts.analyze_results_directory import create_dataframes, \ get_df_for_entry pd.options.mode.chained_assignment = None # default='warn' # pl...
37.456954
79
0.572313
708
5,656
4.303672
0.295198
0.059075
0.039383
0.078766
0.218904
0.218904
0.207745
0.207745
0.207745
0.207745
0
0.004938
0.283946
5,656
150
80
37.706667
0.747407
0.161068
0
0.097345
0
0
0.233665
0.025746
0
0
0
0
0
1
0.00885
false
0
0.044248
0
0.053097
0.00885
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd43a1e72c9d194feac6f21f795a8c2f2065d1a1
85,638
py
Python
pyaedt/modeler/stackup_3d.py
pyansys/pyaedt
c7b045fede6bc707fb20a8db7d5680c66d8263f6
[ "MIT" ]
38
2021-10-01T23:15:26.000Z
2022-03-30T18:14:41.000Z
pyaedt/modeler/stackup_3d.py
pyansys/pyaedt
c7b045fede6bc707fb20a8db7d5680c66d8263f6
[ "MIT" ]
362
2021-09-30T17:11:55.000Z
2022-03-31T13:36:20.000Z
pyaedt/modeler/stackup_3d.py
pyansys/pyaedt
c7b045fede6bc707fb20a8db7d5680c66d8263f6
[ "MIT" ]
15
2021-09-30T20:21:02.000Z
2022-02-21T20:22:03.000Z
import os from collections import OrderedDict try: import joblib except ImportError: pass try: import numpy as np except ImportError: pass from pyaedt import constants from pyaedt.generic.general_methods import generate_unique_name from pyaedt.generic.general_methods import pyaedt_function_handler fro...
33.91604
119
0.574768
8,956
85,638
5.197298
0.058062
0.019851
0.023202
0.026941
0.638344
0.566438
0.513352
0.46843
0.441124
0.414248
0
0.010979
0.324646
85,638
2,524
120
33.929477
0.793831
0.222506
0
0.480932
0
0
0.055673
0.009202
0.000706
0
0
0.000396
0
1
0.088983
false
0.001412
0.008475
0.000706
0.184322
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd463c23420373bb21cbb94033d3aa58f68f33b2
1,119
py
Python
lib/retainn/curl.py
cellularmitosis/retainn
9e59024f3b35d4bb0bdf675b9f29369569e2080b
[ "MIT" ]
1
2021-06-05T08:40:44.000Z
2021-06-05T08:40:44.000Z
lib/retainn/curl.py
cellularmitosis/retainn
9e59024f3b35d4bb0bdf675b9f29369569e2080b
[ "MIT" ]
null
null
null
lib/retainn/curl.py
cellularmitosis/retainn
9e59024f3b35d4bb0bdf675b9f29369569e2080b
[ "MIT" ]
1
2021-10-14T12:28:32.000Z
2021-10-14T12:28:32.000Z
"""Retainn web-fetching functions.""" try: # Python 3 from urllib.request import Request, urlopen except ImportError: # Python 2 from urllib2 import Request, urlopen def http_get_deck_and_etag(gist_url): """Download the markdown and etag of a deck URL.""" response = urlopen(gist_url + "/raw")...
28.692308
67
0.680071
149
1,119
4.872483
0.342282
0.077135
0.060606
0.038567
0.132231
0.132231
0.068871
0
0
0
0
0.00344
0.220733
1,119
38
68
29.447368
0.829128
0.178731
0
0
0
0
0.022297
0
0
0
0
0
0
1
0.16
false
0
0.12
0.04
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bd47557928bc51ca7d2e89e0a88949b5b7b0aaa5
1,511
py
Python
data/train/python/bd47557928bc51ca7d2e89e0a88949b5b7b0aaa5urls.py
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/python/bd47557928bc51ca7d2e89e0a88949b5b7b0aaa5urls.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/python/bd47557928bc51ca7d2e89e0a88949b5b7b0aaa5urls.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
from django.conf.urls.defaults import * urlpatterns = patterns('clwmail.admin.views', (r'user/manage/page/(?P<page_num>\d{1,})/$' ,'usermanage'), (r'user/manage/page/$' ,'usermanage'), (r'user/add/$' ,'useradd'), (r'user/...
65.695652
77
0.420913
137
1,511
4.59854
0.328467
0.088889
0.165079
0.071429
0.379365
0.293651
0.293651
0
0
0
0
0.003012
0.340834
1,511
22
78
68.681818
0.629518
0
0
0
0
0
0.505625
0.309729
0
0
0
0
0
1
0
false
0.045455
0.045455
0
0.045455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd481775933800ff7697945131e21bcfb7859fdc
670
py
Python
tutorials2/data_loading_tutorial.py
xuanyuyt/pytorch-tutorial
92076ac56d42da98ea61ce06708bb8c537a49af0
[ "MIT" ]
null
null
null
tutorials2/data_loading_tutorial.py
xuanyuyt/pytorch-tutorial
92076ac56d42da98ea61ce06708bb8c537a49af0
[ "MIT" ]
null
null
null
tutorials2/data_loading_tutorial.py
xuanyuyt/pytorch-tutorial
92076ac56d42da98ea61ce06708bb8c537a49af0
[ "MIT" ]
null
null
null
import os import torch import pandas as pd from skimage import io, transform import numpy as np import matplotlib.pyplot as plt from torch.utils.data import Dataset, DataLoader from torchvision import transforms, utils # Ignore waring import warnings warnings.filterwarnings('ignore') plt.ion() landmarks_frame = pd.r...
29.130435
75
0.770149
98
670
5.173469
0.540816
0.08284
0.071006
0.074951
0
0
0
0
0
0
0
0.013289
0.101493
670
23
76
29.130435
0.828904
0.019403
0
0
0
0
0.16311
0.064024
0
0
0
0
0
1
0
false
0
0.473684
0
0.473684
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
bd48e2bd368062575f8e3c68c1ab5aaaace702be
6,020
py
Python
run_validation.py
sr9000/stepik_code_task_baking
60a5197f659db1734132eeb9d82624f1b7aaeb3f
[ "MIT" ]
null
null
null
run_validation.py
sr9000/stepik_code_task_baking
60a5197f659db1734132eeb9d82624f1b7aaeb3f
[ "MIT" ]
null
null
null
run_validation.py
sr9000/stepik_code_task_baking
60a5197f659db1734132eeb9d82624f1b7aaeb3f
[ "MIT" ]
null
null
null
import logging as log import sys from extra.introspection import collect_datasets, collect_wrong_solutions from implementation.checker import output_reader, checker as check from implementation.solver import input_reader, solver as solve, hinter as get_hint from pre_definition.solve_caller import call_with_args from p...
34.797688
120
0.670598
757
6,020
5.136063
0.200793
0.028807
0.05144
0.032407
0.308385
0.252572
0.119599
0.119599
0.119599
0.082819
0
0.003323
0.250166
6,020
172
121
35
0.857997
0.058472
0
0.155738
0
0
0.166726
0
0
0
0
0
0.07377
1
0.065574
false
0.07377
0.057377
0
0.147541
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
bd498e34fef15d05b6f453bd45dc8caf7869dd9c
139
py
Python
accounts/schemas/validators/__init__.py
aobcvr/rpg_quest_accounts
960772a159618194ea26e81d6d874e5f69fbbec7
[ "MIT" ]
2
2021-08-15T14:27:37.000Z
2021-09-14T10:55:38.000Z
accounts/schemas/validators/__init__.py
aobcvr/rpg_quest_accounts
960772a159618194ea26e81d6d874e5f69fbbec7
[ "MIT" ]
1
2021-09-12T12:30:11.000Z
2021-09-12T12:30:11.000Z
accounts/schemas/validators/__init__.py
aobcvr/rpg_quest_accounts
960772a159618194ea26e81d6d874e5f69fbbec7
[ "MIT" ]
null
null
null
from .locale import LocaleValidator from .timezone import TimezoneValidator __all__ = ( 'LocaleValidator', 'TimezoneValidator', )
17.375
39
0.755396
11
139
9.181818
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.165468
139
7
40
19.857143
0.87069
0
0
0
0
0
0.230216
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
bd49a1d92154f5da9b36b624b1f7c5c860a48554
346
py
Python
remove_duplicates_from_sorted_array.py
lutianming/leetcode
848c7470ff5fd23608cc954be23732f60488ed8a
[ "MIT" ]
null
null
null
remove_duplicates_from_sorted_array.py
lutianming/leetcode
848c7470ff5fd23608cc954be23732f60488ed8a
[ "MIT" ]
null
null
null
remove_duplicates_from_sorted_array.py
lutianming/leetcode
848c7470ff5fd23608cc954be23732f60488ed8a
[ "MIT" ]
null
null
null
class Solution: # @param a list of integers # @return an integer def removeDuplicates(self, A): length = len(A) if length <= 1: return length index = 1 for i in range(1, length): if A[i] != A[i-1]: A[index] = A[i] index ...
24.714286
34
0.459538
44
346
3.613636
0.5
0.037736
0
0
0
0
0
0
0
0
0
0.025773
0.439306
346
13
35
26.615385
0.793814
0.127168
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd49b8155e5a08f5ca5bd991e7606c828ebf1c3d
421
py
Python
apps/algorithms/migrations/0003_auto_20190201_0136.py
ScorpioDoctor/StudyAiD1
fd37a400a61dc1ae7a3ef6b1273afc3f0daea3e4
[ "Apache-2.0" ]
null
null
null
apps/algorithms/migrations/0003_auto_20190201_0136.py
ScorpioDoctor/StudyAiD1
fd37a400a61dc1ae7a3ef6b1273afc3f0daea3e4
[ "Apache-2.0" ]
null
null
null
apps/algorithms/migrations/0003_auto_20190201_0136.py
ScorpioDoctor/StudyAiD1
fd37a400a61dc1ae7a3ef6b1273afc3f0daea3e4
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.10 on 2019-02-01 01:36 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('algorithms', '0002_auto_20190201_0013'), ] operations = [ migrations.RemoveField( model_name='algorithmimage', name='algori...
20.047619
50
0.589074
39
421
6.25641
0.769231
0.147541
0
0
0
0
0
0
0
0
0
0.109215
0.304038
421
20
51
21.05
0.723549
0.109264
0
0.142857
1
0
0.187668
0.061662
0
0
0
0
0
1
0
false
0
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bd49d7f152ceeb7bc9bb00c813b8cb8af0d1c6dc
3,704
py
Python
visan/plot/datasetattributespanel.py
ercumentaksoy/visan
57c9257d80622fc0ab03591db48cc2155bd12f1b
[ "MIT", "BSD-3-Clause" ]
7
2020-04-09T05:21:03.000Z
2022-01-23T18:39:02.000Z
visan/plot/datasetattributespanel.py
ercumentaksoy/visan
57c9257d80622fc0ab03591db48cc2155bd12f1b
[ "MIT", "BSD-3-Clause" ]
7
2020-01-05T19:19:20.000Z
2020-05-27T09:41:49.000Z
visan/plot/datasetattributespanel.py
ercumentaksoy/visan
57c9257d80622fc0ab03591db48cc2155bd12f1b
[ "MIT", "BSD-3-Clause" ]
4
2020-04-18T14:11:22.000Z
2021-11-10T02:27:49.000Z
# Copyright (C) 2002-2021 S[&]T, The Netherlands. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of condi...
38.583333
105
0.660907
450
3,704
5.382222
0.457778
0.07019
0.038398
0.018993
0.07597
0.056152
0.056152
0.056152
0.056152
0.056152
0
0.009605
0.269168
3,704
95
106
38.989474
0.885113
0.455994
0
0.301887
0
0
0.016145
0
0
0
0
0
0
1
0.09434
false
0.037736
0.037736
0
0.226415
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd49f05f95bdcec75ece665e2dc35ecf557cf5b9
3,473
py
Python
iscc_registry/observe.py
titusz/iscc-registry
def03f420e671ec470070bb09b6a78099f7827da
[ "MIT" ]
3
2020-07-06T16:01:54.000Z
2020-08-06T11:03:25.000Z
iscc_registry/observe.py
titusz/iscc-registry
def03f420e671ec470070bb09b6a78099f7827da
[ "MIT" ]
null
null
null
iscc_registry/observe.py
titusz/iscc-registry
def03f420e671ec470070bb09b6a78099f7827da
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Watching for registration events""" import time from dataclasses import dataclass, asdict import iscc_registry from loguru import logger as log import iscc from iscc_registry.conn import db_client from iscc_registry.publish import get_live_contract from iscc_registry import tools from iscc_re...
30.734513
104
0.657357
486
3,473
4.415638
0.244856
0.089469
0.029823
0.033551
0.419385
0.419385
0.397018
0.34576
0.34576
0.34576
0
0.004919
0.238986
3,473
112
105
31.008929
0.807037
0.043478
0
0.333333
0
0
0.131157
0
0
0
0
0
0
1
0.044444
false
0
0.1
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd4bc561fda1c42a4d4d120ce2ef72e50322b064
2,670
py
Python
examples/active_replication/flux_egress_operator.py
yujialuo/erdos
7a631b55895f1a473b0f4d38a0d6053851e65b5d
[ "Apache-2.0" ]
null
null
null
examples/active_replication/flux_egress_operator.py
yujialuo/erdos
7a631b55895f1a473b0f4d38a0d6053851e65b5d
[ "Apache-2.0" ]
null
null
null
examples/active_replication/flux_egress_operator.py
yujialuo/erdos
7a631b55895f1a473b0f4d38a0d6053851e65b5d
[ "Apache-2.0" ]
null
null
null
from erdos.data_stream import DataStream from erdos.message import Message from erdos.op import Op from erdos.timestamp import Timestamp from erdos.utils import setup_logging import flux_utils from flux_utils import is_control_stream, is_not_control_stream from flux_buffer import Buffer import threading class FluxEg...
37.083333
75
0.648689
319
2,670
5.103448
0.291536
0.079853
0.055897
0.041769
0.246929
0.169533
0.04914
0.04914
0.04914
0
0
0.001546
0.273034
2,670
72
76
37.083333
0.837197
0.078277
0
0.105263
0
0
0.041141
0
0
0
0
0.013889
0
1
0.087719
false
0.017544
0.157895
0
0.280702
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bd4c2d2d1aecd9d7ef7769f96a47de90c8225163
6,400
py
Python
src/CNN_models/train_model.py
ChrisPedder/Medieval_Manuscripts
40bfcf9c273385cfd8aa66e63b2fb80078fef33b
[ "MIT" ]
null
null
null
src/CNN_models/train_model.py
ChrisPedder/Medieval_Manuscripts
40bfcf9c273385cfd8aa66e63b2fb80078fef33b
[ "MIT" ]
5
2020-12-28T15:28:35.000Z
2022-02-10T03:26:44.000Z
src/CNN_models/train_model.py
ChrisPedder/Medieval_Manuscripts
40bfcf9c273385cfd8aa66e63b2fb80078fef33b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Aug 10 11:07:05 2018 @author: chrispedder To train the model, run from the top-level dir as: python3 -m src.CNN_models.train_model --args ... """ import numpy as np import os import argparse import json import tensorflow as tf from abc import ABC, ...
33.333333
85
0.621563
805
6,400
4.767702
0.28323
0.01407
0.035435
0.026055
0.159979
0.09432
0.01876
0
0
0
0
0.011164
0.272188
6,400
191
86
33.507853
0.812795
0.11125
0
0.188406
0
0
0.098288
0
0
0
0
0
0
1
0.123188
false
0.043478
0.065217
0
0.268116
0.007246
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd4e4bb56c05d5afc00c0ccb424743f1c99a0f0b
8,063
py
Python
pfb_exporter/transform/sqla.py
znatty22/pfb-edu
24e606895c192b92493c0808d00a10fdf6f5ffa4
[ "Apache-2.0" ]
null
null
null
pfb_exporter/transform/sqla.py
znatty22/pfb-edu
24e606895c192b92493c0808d00a10fdf6f5ffa4
[ "Apache-2.0" ]
null
null
null
pfb_exporter/transform/sqla.py
znatty22/pfb-edu
24e606895c192b92493c0808d00a10fdf6f5ffa4
[ "Apache-2.0" ]
null
null
null
""" Transform SQLAlchemy Models to PFB Schema """ import os import logging import inspect import subprocess from collections import defaultdict import timeit from pprint import pformat from sqlalchemy.dialects.postgresql import UUID from sqlalchemy.inspection import inspect as sqla_inspect from sqlalchemy.orm.properti...
34.60515
79
0.583902
902
8,063
5.037694
0.268293
0.043134
0.039613
0.011444
0.087808
0.029049
0
0
0
0
0
0.001493
0.335607
8,063
232
80
34.75431
0.846369
0.219273
0
0.058824
0
0
0.1556
0.027459
0
0
0
0
0
1
0.044118
false
0.007353
0.176471
0
0.25
0.007353
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bd4f4238a7747d65be7c026c2c3ecfe16032b5fb
104
py
Python
diofant/printing/pretty/__init__.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
1
2021-08-22T09:34:15.000Z
2021-08-22T09:34:15.000Z
diofant/printing/pretty/__init__.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
null
null
null
diofant/printing/pretty/__init__.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
null
null
null
"""ASCII-ART 2D pretty-printer""" from .pretty import pprint, pprint_use_unicode, pretty, pretty_print
26
68
0.778846
15
104
5.2
0.733333
0
0
0
0
0
0
0
0
0
0
0.010753
0.105769
104
3
69
34.666667
0.827957
0.259615
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
1
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
1
0
1
1
0
6