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
86e856cc4992e6f53fef41d1cfe0de4271ac6642
1,667
py
Python
playground.py
NHGmaniac/voctoconfig
55a803a5f9bc81b48eaa72ced1fddd402aa7a2e9
[ "MIT" ]
null
null
null
playground.py
NHGmaniac/voctoconfig
55a803a5f9bc81b48eaa72ced1fddd402aa7a2e9
[ "MIT" ]
null
null
null
playground.py
NHGmaniac/voctoconfig
55a803a5f9bc81b48eaa72ced1fddd402aa7a2e9
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import signal import logging import sys from gi.repository import GObject GObject.threads_init() import time from lib.args import Args from lib.loghandler import LogHandler import lib.connection as Connection def testCallback(args): log = logging.getLogger("Test") log.info(str(args...
24.514706
67
0.644271
186
1,667
5.698925
0.44086
0.033019
0.031132
0.028302
0
0
0
0
0
0
0
0.004739
0.240552
1,667
68
68
24.514706
0.832543
0.012597
0
0
0
0
0.105103
0
0
0
0
0
0
1
0.098039
false
0
0.156863
0
0.27451
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
86e873cdab8920252696e3d917e54b578dd9f428
3,220
py
Python
tianshou/utils/logger/tensorboard.py
Aceticia/tianshou
6377dc5006ba1111adac42472447b9de4a021c2d
[ "MIT" ]
4,714
2018-04-16T22:52:05.000Z
2022-03-31T14:14:51.000Z
tianshou/utils/logger/tensorboard.py
Aceticia/tianshou
6377dc5006ba1111adac42472447b9de4a021c2d
[ "MIT" ]
529
2020-03-26T00:58:03.000Z
2022-03-31T01:59:14.000Z
tianshou/utils/logger/tensorboard.py
Aceticia/tianshou
6377dc5006ba1111adac42472447b9de4a021c2d
[ "MIT" ]
798
2018-05-26T23:34:07.000Z
2022-03-30T11:26:19.000Z
import warnings from typing import Any, Callable, Optional, Tuple from tensorboard.backend.event_processing import event_accumulator from torch.utils.tensorboard import SummaryWriter from tianshou.utils.logger.base import LOG_DATA_TYPE, BaseLogger class TensorboardLogger(BaseLogger): """A logger that relies on ...
37.011494
87
0.647205
412
3,220
4.822816
0.252427
0.042275
0.040262
0.032209
0.226975
0.114243
0
0
0
0
0
0.013825
0.258696
3,220
86
88
37.44186
0.818601
0.20559
0
0.135593
0
0
0.077015
0
0
0
0
0
0
1
0.084746
false
0
0.084746
0
0.220339
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
86e8affd139b8a4dffaf5cdc66c6797adccdf84b
7,326
py
Python
PythonAPI/pythonwrappers/jetfuel/gui/menu.py
InsightGit/JetfuelGameEngine
3ea0bf2fb5e09aadf304b7b5a16882d72336c408
[ "Apache-2.0" ]
4
2018-02-05T03:40:10.000Z
2021-06-18T16:22:13.000Z
PythonAPI/pythonwrappers/jetfuel/gui/menu.py
InsightGit/JetfuelGameEngine
3ea0bf2fb5e09aadf304b7b5a16882d72336c408
[ "Apache-2.0" ]
null
null
null
PythonAPI/pythonwrappers/jetfuel/gui/menu.py
InsightGit/JetfuelGameEngine
3ea0bf2fb5e09aadf304b7b5a16882d72336c408
[ "Apache-2.0" ]
null
null
null
# Jetfuel Game Engine- A SDL-based 2D game-engine # Copyright (C) 2018 InfernoStudios # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2...
46.367089
81
0.590227
813
7,326
4.897909
0.163592
0.129834
0.165746
0.117529
0.559518
0.503516
0.414867
0.373682
0.279508
0.214716
0
0.001876
0.345072
7,326
157
82
46.66242
0.828053
0.083129
0
0.089109
0
0
0.004479
0
0
0
0
0
0
1
0.168317
false
0
0.069307
0
0.356436
0.009901
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
86ea235dbd8e630be7e48c8aa27ae5d388c7bc1d
30,649
py
Python
latent_programmer/decomposition_transformer_attention/train.py
ParikhKadam/google-research
00a282388e389e09ce29109eb050491c96cfab85
[ "Apache-2.0" ]
2
2022-01-21T18:15:34.000Z
2022-01-25T15:21:34.000Z
latent_programmer/decomposition_transformer_attention/train.py
ParikhKadam/google-research
00a282388e389e09ce29109eb050491c96cfab85
[ "Apache-2.0" ]
110
2021-10-01T18:22:38.000Z
2021-12-27T22:08:31.000Z
latent_programmer/decomposition_transformer_attention/train.py
admariner/google-research
7cee4b22b925581d912e8d993625c180da2a5a4f
[ "Apache-2.0" ]
1
2022-02-10T10:43:10.000Z
2022-02-10T10:43:10.000Z
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
38.263421
96
0.661131
3,966
30,649
4.893343
0.159607
0.014737
0.01484
0.00541
0.278559
0.221054
0.170815
0.129077
0.093317
0.087597
0
0.009025
0.222683
30,649
800
97
38.31125
0.805574
0.181148
0
0.153025
0
0.001779
0.111071
0.00829
0
0
0
0.00125
0.003559
1
0.040925
false
0.001779
0.046263
0.003559
0.128114
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
86ebf47f1f35ac5baec5295be6bb6feebf67dc9a
5,412
py
Python
plot/profile_interpolation/plot_profile.py
ziyixi/SeisScripts
a484bc1747eae52b2441f0bfd47ac7e093150f1d
[ "MIT" ]
null
null
null
plot/profile_interpolation/plot_profile.py
ziyixi/SeisScripts
a484bc1747eae52b2441f0bfd47ac7e093150f1d
[ "MIT" ]
null
null
null
plot/profile_interpolation/plot_profile.py
ziyixi/SeisScripts
a484bc1747eae52b2441f0bfd47ac7e093150f1d
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np import pandas as pd import click import numba def prepare_data(data_pd, parameter): lon_set = set(data_pd["lon"]) lat_set = set(data_pd["lat"]) dep_set = set(data_pd["dep"]) lon_list = sorted(lon_set) lat_list = sorted(lat_set) dep_list = sor...
34.037736
153
0.636179
879
5,412
3.715586
0.17975
0.038579
0.04899
0.017146
0.271586
0.181568
0.098592
0.098592
0.054501
0.03613
0
0.022911
0.201589
5,412
158
154
34.253165
0.731775
0.055617
0
0.05
0
0.008333
0.055664
0
0
0
0
0
0
1
0.066667
false
0
0.041667
0.025
0.166667
0.008333
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
86ebfc32e5da592e6e4c3fa48a02c7a3cbe0a2ce
367
py
Python
tests/test_heroku.py
edpaget/flask-appconfig
5264719ac9229339070b219a4358a3203ffd05b0
[ "MIT" ]
61
2015-01-28T21:19:11.000Z
2020-12-28T10:12:28.000Z
tests/test_heroku.py
edpaget/flask-appconfig
5264719ac9229339070b219a4358a3203ffd05b0
[ "MIT" ]
3
2016-01-25T00:09:55.000Z
2017-09-25T11:36:19.000Z
tests/test_heroku.py
edpaget/flask-appconfig
5264719ac9229339070b219a4358a3203ffd05b0
[ "MIT" ]
14
2015-07-22T12:58:06.000Z
2021-03-24T02:06:30.000Z
from flask import Flask from flask_appconfig import HerokuConfig def create_sample_app(): app = Flask('testapp') HerokuConfig(app) return app def test_herokupostgres(monkeypatch): monkeypatch.setenv('HEROKU_POSTGRESQL_ORANGE_URL', 'heroku-db-uri') app = create_sample_app() assert app.config...
22.9375
71
0.746594
46
367
5.717391
0.543478
0.068441
0.114068
0
0
0
0
0
0
0
0
0
0.152589
367
15
72
24.466667
0.845659
0
0
0
0
0
0.228883
0.138965
0
0
0
0
0.1
1
0.2
false
0
0.2
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
86ec0f9bcbbfb50a7fe60cb1505775e1803a9dd4
396
py
Python
flask/util/logger.py
Dev-Jahn/cms
84ea115bdb865daff83d069502f6f0dd105fc4f0
[ "RSA-MD" ]
null
null
null
flask/util/logger.py
Dev-Jahn/cms
84ea115bdb865daff83d069502f6f0dd105fc4f0
[ "RSA-MD" ]
9
2021-01-05T07:48:28.000Z
2021-05-14T06:38:27.000Z
flask/util/logger.py
Dev-Jahn/cms
84ea115bdb865daff83d069502f6f0dd105fc4f0
[ "RSA-MD" ]
4
2021-01-05T06:46:09.000Z
2021-05-06T01:44:28.000Z
import logging """ Formatter """ formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s', datefmt='%Y-%m-%d:%H:%M:%S') """ Set Flask logger """ logger = logging.getLogger('FLASK_LOG') logger.setLevel(logging.DEBUG) stream_log = logging.StreamHandler() stream_log.setFormatter(form...
20.842105
114
0.699495
50
396
5.46
0.54
0.098901
0
0
0
0
0
0
0
0
0
0
0.118687
396
18
115
22
0.782235
0.085859
0
0
0
0
0.251613
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
86ecab271dab8a62fddc0d43582d82c9d0efb150
1,592
py
Python
utils/backups/backup_psql.py
Krovatkin/NewsBlur
2a5b52984c9d29c864eb80e9c60c658b1f25f7c5
[ "MIT" ]
null
null
null
utils/backups/backup_psql.py
Krovatkin/NewsBlur
2a5b52984c9d29c864eb80e9c60c658b1f25f7c5
[ "MIT" ]
null
null
null
utils/backups/backup_psql.py
Krovatkin/NewsBlur
2a5b52984c9d29c864eb80e9c60c658b1f25f7c5
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import os import sys import socket CURRENT_DIR = os.path.dirname(__file__) NEWSBLUR_DIR = ''.join([CURRENT_DIR, '/../../']) sys.path.insert(0, NEWSBLUR_DIR) os.environ['DJANGO_SETTINGS_MODULE'] = 'newsblur_web.settings' import threading class ProgressPercentage(object): def __init__(self, fil...
34.608696
108
0.682161
220
1,592
4.609091
0.409091
0.039448
0.039448
0.051282
0.117357
0.04142
0
0
0
0
0
0.016204
0.18593
1,592
45
109
35.377778
0.766204
0.047739
0
0
0
0.028571
0.135403
0.090489
0
0
0
0
0
1
0.057143
false
0
0.2
0
0.285714
0.028571
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
86ecdb5499de55821a90a7d456c0a5f3e2bbff3c
22,780
py
Python
onap_tests/scenario/solution.py
Orange-OpenSource/xtesting-onap-tests
ce4237f49089a91c81f5fad552f78fec384fd504
[ "Apache-2.0" ]
null
null
null
onap_tests/scenario/solution.py
Orange-OpenSource/xtesting-onap-tests
ce4237f49089a91c81f5fad552f78fec384fd504
[ "Apache-2.0" ]
null
null
null
onap_tests/scenario/solution.py
Orange-OpenSource/xtesting-onap-tests
ce4237f49089a91c81f5fad552f78fec384fd504
[ "Apache-2.0" ]
2
2018-06-08T15:49:51.000Z
2021-06-22T10:06:30.000Z
#!/usr/bin/python # # This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # # http://www.apache.org/licenses/LICENSE-2.0 # # pylint: disable=missing-docstring # pylint: disable=duplicate-c...
42.342007
80
0.554478
2,474
22,780
4.785772
0.090946
0.069932
0.083446
0.041892
0.516892
0.425929
0.343159
0.28277
0.262922
0.240625
0
0.001187
0.334197
22,780
537
81
42.420857
0.779455
0.106234
0
0.251989
0
0
0.186011
0.054534
0
0
0
0.001862
0
1
0.047745
false
0
0.02122
0
0.106101
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
86ecf5f6a01c26c5389153d1137d146050eff0e3
3,262
py
Python
tutorials/Controls4Docs/ControlEventsGraph.py
dominic-dev/pyformsd
23e31ceff2943bc0f7286d25dd14450a14b986af
[ "MIT" ]
null
null
null
tutorials/Controls4Docs/ControlEventsGraph.py
dominic-dev/pyformsd
23e31ceff2943bc0f7286d25dd14450a14b986af
[ "MIT" ]
null
null
null
tutorials/Controls4Docs/ControlEventsGraph.py
dominic-dev/pyformsd
23e31ceff2943bc0f7286d25dd14450a14b986af
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- __author__ = "Ricardo Ribeiro" __credits__ = ["Ricardo Ribeiro"] __license__ = "MIT" __version__ = "0.0" __maintainer__ = "Ricardo Ribeiro" __email__ = "ricardojvr@gmail.com" __status__ = "Development" from __init__ import * import random, time f...
27.183333
116
0.62477
388
3,262
4.920103
0.260309
0.056574
0.066003
0.059717
0.319539
0.319539
0.271346
0.271346
0.271346
0.2022
0
0.02726
0.14531
3,262
120
117
27.183333
0.657461
0.061925
0
0.181818
0
0
0.085883
0
0
0
0
0
0
1
0.090909
false
0
0.038961
0
0.142857
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
86ecf632226839fdabd506f9f83e9358864f79de
4,447
py
Python
annotation_gui_gcp/orthophoto_view.py
lioncorpo/sfm.lion-judge-corporation
95fb11bff263c3faab62269cc907eec18b527e22
[ "BSD-2-Clause" ]
1
2019-05-31T13:50:41.000Z
2019-05-31T13:50:41.000Z
annotation_gui_gcp/orthophoto_view.py
Pandinosaurus/OpenSfM
b892ba9fd5e7fd6c7a9e3c81edddca80f71c1cd5
[ "BSD-2-Clause" ]
null
null
null
annotation_gui_gcp/orthophoto_view.py
Pandinosaurus/OpenSfM
b892ba9fd5e7fd6c7a9e3c81edddca80f71c1cd5
[ "BSD-2-Clause" ]
2
2017-03-31T16:54:34.000Z
2018-07-10T11:32:22.000Z
from typing import Tuple import numpy as np import rasterio.warp from opensfm import features from .orthophoto_manager import OrthoPhotoManager from .view import View class OrthoPhotoView(View): def __init__( self, main_ui, path: str, init_lat: float, init_lon: float, ...
35.293651
83
0.613672
597
4,447
4.351759
0.247906
0.038106
0.04157
0.055427
0.389915
0.335643
0.266744
0.230177
0.204003
0.182448
0
0.010274
0.277715
4,447
125
84
35.576
0.798568
0.152687
0
0.174419
0
0
0.037658
0.010995
0
0
0
0.032
0
1
0.104651
false
0
0.069767
0.011628
0.255814
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
86eee025668f1ba4e581d9197ce7264211e57bc7
3,704
py
Python
tempest/tests/lib/services/compute/test_security_group_default_rules_client.py
mail2nsrajesh/tempest
1a3b3dc50b418d3a15839830d7d1ff88c8c76cff
[ "Apache-2.0" ]
254
2015-01-05T19:22:52.000Z
2022-03-29T08:14:54.000Z
tempest/tests/lib/services/compute/test_security_group_default_rules_client.py
mail2nsrajesh/tempest
1a3b3dc50b418d3a15839830d7d1ff88c8c76cff
[ "Apache-2.0" ]
13
2015-03-02T15:53:04.000Z
2022-02-16T02:28:14.000Z
tempest/tests/lib/services/compute/test_security_group_default_rules_client.py
mail2nsrajesh/tempest
1a3b3dc50b418d3a15839830d7d1ff88c8c76cff
[ "Apache-2.0" ]
367
2015-01-07T15:05:39.000Z
2022-03-04T09:50:35.000Z
# Copyright 2015 NEC Corporation. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
41.617978
78
0.704644
469
3,704
5.149254
0.268657
0.113043
0.173913
0.119255
0.619462
0.537888
0.487785
0.375983
0.276605
0.164803
0
0.013803
0.217603
3,704
88
79
42.090909
0.819531
0.162797
0
0.229508
0
0
0.12504
0.086168
0
0
0
0
0
1
0.180328
false
0
0.04918
0
0.262295
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
86ef419ce9a394c69c1d9d5b8bea2b3d98c02484
29,478
py
Python
pirates/leveleditor/worldData/interior_spanish_npc_b.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
3
2021-02-25T06:38:13.000Z
2022-03-22T07:00:15.000Z
pirates/leveleditor/worldData/interior_spanish_npc_b.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
null
null
null
pirates/leveleditor/worldData/interior_spanish_npc_b.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
1
2021-02-25T06:38:17.000Z
2021-02-25T06:38:17.000Z
# uncompyle6 version 3.2.0 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] # Embedded file name: pirates.leveleditor.worldData.interior_spanish_npc_b from pandac.PandaModules import Point3, VBase3, Vec4, Vec3 objectStruct = {'Objects...
4,211.142857
29,056
0.664631
4,010
29,478
4.825187
0.159352
0.027908
0.027908
0.024187
0.55145
0.470722
0.444467
0.390253
0.370148
0.349992
0
0.259147
0.070052
29,478
7
29,057
4,211.142857
0.446686
0.007735
0
0
0
0
0.568762
0.289544
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
86ef4e909fe2cea39d77e8fe80f71f1e8cdcd676
1,844
py
Python
main.py
Light-Lens/PassGen
8f4f2ef08299d6243b939d0f08ac75bde3cabf5e
[ "MIT" ]
3
2021-07-19T16:39:06.000Z
2021-11-08T11:53:50.000Z
main.py
Light-Lens/PassGen
8f4f2ef08299d6243b939d0f08ac75bde3cabf5e
[ "MIT" ]
null
null
null
main.py
Light-Lens/PassGen
8f4f2ef08299d6243b939d0f08ac75bde3cabf5e
[ "MIT" ]
null
null
null
# PassGen # These imports will be used for this project. from colorama import Fore, Style from colorama import init import datetime import string import random import sys import os # Initilaze File organizer. os.system('title PassGen') init(autoreset = True) # Create Log Functions. class LOG: def INF...
32.350877
80
0.691432
262
1,844
4.835878
0.408397
0.031571
0.066298
0.091555
0.211523
0.211523
0.211523
0.211523
0.211523
0.211523
0
0.004487
0.154013
1,844
56
81
32.928571
0.807692
0.186551
0
0.108108
0
0
0.238128
0
0
0
0
0
0
1
0.135135
false
0.243243
0.189189
0
0.378378
0.108108
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
86ef847c1cba2674adc29aa5bed41c18d23f595a
24,723
py
Python
memos/memos/models/Memo.py
iotexpert/docmgr
735c7bcbaeb73bc44efecffb175f268f2438ac3a
[ "MIT" ]
null
null
null
memos/memos/models/Memo.py
iotexpert/docmgr
735c7bcbaeb73bc44efecffb175f268f2438ac3a
[ "MIT" ]
null
null
null
memos/memos/models/Memo.py
iotexpert/docmgr
735c7bcbaeb73bc44efecffb175f268f2438ac3a
[ "MIT" ]
null
null
null
""" The model file for a Memo """ import re import os import shutil import json from datetime import datetime from flask import current_app from memos import db from memos.models.User import User from memos.models.MemoState import MemoState from memos.models.MemoFile import MemoFile from memos.models.MemoSignature i...
39.367834
190
0.582049
2,871
24,723
4.896203
0.110066
0.019919
0.032013
0.028456
0.452728
0.393825
0.35605
0.31358
0.291598
0.255389
0
0.003271
0.282692
24,723
628
191
39.367834
0.789388
0.118028
0
0.336516
0
0.002387
0.081437
0.02107
0
0
0
0.001592
0.009547
1
0.095465
false
0
0.0358
0.00716
0.338902
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
86f060997b8a24b2a713e28d30aebb3fc5274d62
1,385
py
Python
course_catalog/etl/conftest.py
mitodl/open-discussions
ab6e9fac70b8a1222a84e78ba778a7a065c20541
[ "BSD-3-Clause" ]
12
2017-09-27T21:23:27.000Z
2020-12-25T04:31:30.000Z
course_catalog/etl/conftest.py
mitodl/open-discussions
ab6e9fac70b8a1222a84e78ba778a7a065c20541
[ "BSD-3-Clause" ]
3,293
2017-06-30T18:16:01.000Z
2022-03-31T18:01:34.000Z
course_catalog/etl/conftest.py
mitodl/open-discussions
ab6e9fac70b8a1222a84e78ba778a7a065c20541
[ "BSD-3-Clause" ]
1
2020-04-13T12:19:57.000Z
2020-04-13T12:19:57.000Z
"""Common ETL test fixtures""" import json import pytest @pytest.fixture(autouse=True) def mitx_settings(settings): """Test settings for MITx import""" settings.EDX_API_CLIENT_ID = "fake-client-id" settings.EDX_API_CLIENT_SECRET = "fake-client-secret" settings.EDX_API_ACCESS_TOKEN_URL = "http://local...
32.209302
80
0.716245
200
1,385
4.73
0.205
0.059197
0.135307
0.169133
0.88055
0.837209
0.837209
0.689218
0.424947
0.424947
0
0
0.140794
1,385
42
81
32.97619
0.794958
0.090975
0
0.285714
0
0
0.31468
0.056772
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.285714
0
0
0
0
null
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
86f07721893f6c50f28bc8f37736be7b92dba3a5
8,850
py
Python
juliaset/juliaset.py
PageotD/juliaset
7c1f98020eeff291fcf040cfcdf25a89e72f46a9
[ "BSD-3-Clause" ]
null
null
null
juliaset/juliaset.py
PageotD/juliaset
7c1f98020eeff291fcf040cfcdf25a89e72f46a9
[ "BSD-3-Clause" ]
null
null
null
juliaset/juliaset.py
PageotD/juliaset
7c1f98020eeff291fcf040cfcdf25a89e72f46a9
[ "BSD-3-Clause" ]
1
2021-08-09T06:45:43.000Z
2021-08-09T06:45:43.000Z
import numpy as np import matplotlib.pyplot as plt import matplotlib.cm as cm import random class JuliaSet: def __init__(self): """ Constructor of the JuliaSet class :param size: size in pixels (for both width and height) :param dpi: dots per inch (default 300) """ ...
32.417582
89
0.566328
1,124
8,850
4.44395
0.268683
0.008008
0.014414
0.003203
0.204605
0.181381
0.151752
0.141742
0.122122
0.122122
0
0.027298
0.345989
8,850
272
90
32.536765
0.835695
0.418757
0
0.019802
0
0
0.03162
0
0
0
0
0
0
1
0.089109
false
0
0.039604
0
0.188119
0.009901
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
86f0877f437e0d2341e2d9c4fb9323bda9c076fe
1,212
py
Python
eye_detection.py
ShivanS93/VAtest_withOKN
8da76f4c3ff526c9e16268194accfdc6221b0a66
[ "MIT" ]
null
null
null
eye_detection.py
ShivanS93/VAtest_withOKN
8da76f4c3ff526c9e16268194accfdc6221b0a66
[ "MIT" ]
null
null
null
eye_detection.py
ShivanS93/VAtest_withOKN
8da76f4c3ff526c9e16268194accfdc6221b0a66
[ "MIT" ]
null
null
null
#!python3 # eye_detection.py - detect eyes using webcam # tutorial: https://www.roytuts.com/real-time-eye-detection-in-webcam-using-python-3/ import cv2 import math import numpy as np def main(): faceCascade = cv2.CascadeClassifier("haarcascade_frontalface_alt.xml") eyeCascade = cv2.CascadeClassifier("haarc...
24.734694
86
0.575908
158
1,212
4.310127
0.525316
0.035242
0.091043
0.011747
0.017621
0.017621
0
0
0
0
0
0.029481
0.30033
1,212
48
87
25.25
0.773585
0.143564
0
0.071429
0
0
0.061955
0.03001
0
0
0.003872
0
0
1
0.035714
false
0
0.107143
0
0.142857
0.035714
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
86f0c522be62919400b4d5f2f8a78d4b4a38dcb9
399
py
Python
scripts/make_gene_table.py
lmdu/bioinfo
4542b0718410d15f3956c6545d9824a16608e02b
[ "MIT" ]
null
null
null
scripts/make_gene_table.py
lmdu/bioinfo
4542b0718410d15f3956c6545d9824a16608e02b
[ "MIT" ]
null
null
null
scripts/make_gene_table.py
lmdu/bioinfo
4542b0718410d15f3956c6545d9824a16608e02b
[ "MIT" ]
null
null
null
#!/usr/bin/env python descripts = {} with open('macaca_genes.txt') as fh: fh.readline() for line in fh: cols = line.strip('\n').split('\t') if cols[1]: descripts[cols[0]] = cols[1].split('[')[0].strip() else: descripts[cols[0]] = cols[1] with open('gene_info.txt') as fh: for line in fh: cols = line....
19.95
53
0.611529
66
399
3.666667
0.454545
0.082645
0.057851
0.090909
0.355372
0.198347
0.198347
0
0
0
0
0.020958
0.162907
399
19
54
21
0.703593
0.050125
0
0.142857
0
0
0.100529
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
86f16e97aa13775a35aa0ced03caeac309db0c51
4,627
py
Python
{{cookiecutter.repo_name}}/src/mix_with_scaper.py
nussl/cookiecutter
5df8512592778ea7155b05e3e4b54676227968b0
[ "MIT" ]
null
null
null
{{cookiecutter.repo_name}}/src/mix_with_scaper.py
nussl/cookiecutter
5df8512592778ea7155b05e3e4b54676227968b0
[ "MIT" ]
null
null
null
{{cookiecutter.repo_name}}/src/mix_with_scaper.py
nussl/cookiecutter
5df8512592778ea7155b05e3e4b54676227968b0
[ "MIT" ]
null
null
null
import gin from scaper import Scaper, generate_from_jams import copy import logging import p_tqdm import nussl import os import numpy as np def _reset_event_spec(sc): sc.reset_fg_event_spec() sc.reset_bg_event_spec() def check_mixture(path_to_mix): mix_signal = nussl.AudioSignal(path_to_mix) if mix_si...
31.691781
87
0.612708
573
4,627
4.643979
0.277487
0.073281
0.030064
0.024051
0.2469
0.198422
0.118001
0.085682
0.085682
0.085682
0
0.006163
0.298682
4,627
145
88
31.910345
0.813867
0.034364
0
0.194915
1
0
0.053519
0
0
0
0
0
0
1
0.067797
false
0
0.067797
0
0.169492
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
86f1999802fa178d60effb8dd046d22fbb0dd814
4,643
py
Python
adventure-cards/package/main.py
DaneRosa/adventure-cards
0685feeec8b56627795e685ff4fffad187881e1c
[ "MIT" ]
null
null
null
adventure-cards/package/main.py
DaneRosa/adventure-cards
0685feeec8b56627795e685ff4fffad187881e1c
[ "MIT" ]
null
null
null
adventure-cards/package/main.py
DaneRosa/adventure-cards
0685feeec8b56627795e685ff4fffad187881e1c
[ "MIT" ]
null
null
null
import json def hydrateCards(rawDeckDataPath): pack = [] rawDeckData = json.load(open(rawDeckDataPath,)) for index, item in enumerate(rawDeckData): deck = [] # print(index,item) for i in rawDeckData[item]: card ={ f'{index}': { ...
48.873684
92
0.420633
443
4,643
4.306998
0.130926
0.09696
0.19392
0.069182
0.626834
0.604822
0.535115
0.43501
0.404612
0.378931
0
0.024345
0.41611
4,643
95
93
48.873684
0.679454
0.003661
0
0.329787
0
0
0.208432
0.010378
0
0
0
0
0
1
0.010638
false
0
0.010638
0
0.021277
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
86f19d8269d91051babd1a81669ee8409fe871bc
1,328
py
Python
demo/cnn_predict.py
huynhtnhut97/keras-video-classifier
3ea6a8d671f3bd3cc8eddef64ad75abc2a2d593a
[ "MIT" ]
108
2018-03-01T10:03:22.000Z
2022-03-27T03:00:30.000Z
demo/cnn_predict.py
drsagitn/lstm-video-classifier
3d1bce6773e493bdff5d623883d47ca68d45e890
[ "MIT" ]
18
2020-01-28T22:13:07.000Z
2022-03-11T23:54:10.000Z
demo/cnn_predict.py
drsagitn/lstm-video-classifier
3d1bce6773e493bdff5d623883d47ca68d45e890
[ "MIT" ]
56
2018-03-01T10:03:22.000Z
2022-02-23T08:19:10.000Z
import numpy as np from keras import backend as K import os import sys K.set_image_dim_ordering('tf') def patch_path(path): return os.path.join(os.path.dirname(__file__), path) def main(): sys.path.append(patch_path('..')) data_dir_path = patch_path('very_large_data') model_dir_path = patch_path('...
30.883721
110
0.758283
191
1,328
4.848168
0.350785
0.12959
0.084233
0.055076
0.110151
0
0
0
0
0
0
0.007086
0.149849
1,328
43
111
30.883721
0.813109
0
0
0
0
0
0.045899
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0.035714
0.321429
0.035714
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
86f2a90daa96d1b00a32e75d50fd040ca01ed705
172
py
Python
pyconde/context_processors.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
5
2015-01-02T14:33:14.000Z
2021-08-03T10:19:07.000Z
pyconde/context_processors.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
null
null
null
pyconde/context_processors.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
3
2015-08-30T09:45:03.000Z
2017-04-08T12:15:22.000Z
from django.conf import settings def less_settings(request): return { 'use_dynamic_less_in_debug': getattr(settings, 'LESS_USE_DYNAMIC_IN_DEBUG', True) }
21.5
89
0.732558
23
172
5.086957
0.652174
0.17094
0
0
0
0
0
0
0
0
0
0
0.180233
172
7
90
24.571429
0.829787
0
0
0
0
0
0.290698
0.290698
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
86f3b70aa2f3c882bdd1f178d6aa80fab1793aab
5,898
py
Python
pmdarima/preprocessing/endog/boxcox.py
tuomijal/pmdarima
5bf84a2a5c42b81b949bd252ad3d4c6c311343f8
[ "MIT" ]
736
2019-12-02T01:33:31.000Z
2022-03-31T21:45:29.000Z
pmdarima/preprocessing/endog/boxcox.py
tuomijal/pmdarima
5bf84a2a5c42b81b949bd252ad3d4c6c311343f8
[ "MIT" ]
186
2019-12-01T18:01:33.000Z
2022-03-31T18:27:56.000Z
pmdarima/preprocessing/endog/boxcox.py
tuomijal/pmdarima
5bf84a2a5c42b81b949bd252ad3d4c6c311343f8
[ "MIT" ]
126
2019-12-07T04:03:19.000Z
2022-03-31T17:40:14.000Z
# -*- coding: utf-8 -*- from scipy import stats import numpy as np import warnings from ...compat import check_is_fitted, pmdarima as pm_compat from .base import BaseEndogTransformer __all__ = ['BoxCoxEndogTransformer'] class BoxCoxEndogTransformer(BaseEndogTransformer): r"""Apply the Box-Cox transformation t...
33.511364
78
0.598847
764
5,898
4.537958
0.231675
0.019037
0.031728
0.043265
0.462359
0.448515
0.417652
0.40525
0.40525
0.366023
0
0.015207
0.308749
5,898
175
79
33.702857
0.835173
0.56375
0
0.232143
0
0
0.059846
0.010618
0
0
0
0.011429
0
1
0.071429
false
0
0.089286
0
0.267857
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
86f3e8f2399f57967d9da67546eaf7a9b7b31fb7
2,139
py
Python
backend/src/baserow/api/user/registries.py
ashishdhngr/baserow
b098678d2165eb7c42930ee24dc6753a3cb520c3
[ "MIT" ]
1
2022-01-24T15:12:02.000Z
2022-01-24T15:12:02.000Z
backend/src/baserow/api/user/registries.py
rasata/baserow
c6e1d7842c53f801e1c96b49f1377da2a06afaa9
[ "MIT" ]
null
null
null
backend/src/baserow/api/user/registries.py
rasata/baserow
c6e1d7842c53f801e1c96b49f1377da2a06afaa9
[ "MIT" ]
null
null
null
from baserow.core.registry import Instance, Registry class UserDataType(Instance): """ The user data type can be used to inject an additional payload to the API JWT response. This is the response when a user authenticates or refreshes his token. The returned dict of the `get_user_data` method is added...
28.905405
85
0.633006
259
2,139
5.15444
0.305019
0.083895
0.041199
0.047191
0.318352
0.265169
0.224719
0.182772
0.182772
0.182772
0
0.000663
0.29453
2,139
73
86
29.30137
0.884029
0.614306
0
0
0
0
0.131261
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
86f4958fe557f64425c53fe4dff977306ba95b20
17,197
py
Python
Week 2/code.py
aklsh/EE2703
546b70c9adac4a4de294d83affbb74e480c2f65d
[ "MIT" ]
null
null
null
Week 2/code.py
aklsh/EE2703
546b70c9adac4a4de294d83affbb74e480c2f65d
[ "MIT" ]
null
null
null
Week 2/code.py
aklsh/EE2703
546b70c9adac4a4de294d83affbb74e480c2f65d
[ "MIT" ]
3
2020-07-15T08:02:05.000Z
2021-03-07T06:50:07.000Z
''' ------------------------------------- Assignment 2 - EE2703 (Jan-May 2020) Done by Akilesh Kannan (EE18B122) Created on 18/01/20 Last Modified on 04/02/20 ------------------------------------- ''' # importing necessary libraries import sys import cmath import numpy as np import pandas as pd # To improve reada...
53.241486
209
0.51823
1,700
17,197
5.214118
0.151176
0.060921
0.047157
0.041968
0.581115
0.562049
0.483529
0.446074
0.407604
0.378384
0
0.032548
0.365761
17,197
322
210
53.406832
0.780141
0.075536
0
0.338521
0
0.003891
0.04532
0
0
0
0
0
0
1
0.042802
false
0
0.015564
0
0.120623
0.011673
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
86f530cec67d3e933cfc6fd5269d65218a8b2c49
880
py
Python
Lib/Co.py
M507/Guessing-passwords-using-machine-learning
da90cfa30ce2e7a5e08ee528f594fa047ecea75c
[ "Apache-2.0" ]
6
2020-05-18T14:20:23.000Z
2021-04-23T16:31:34.000Z
Lib/Co.py
M507/Guessing-passwords-using-machine-learning
da90cfa30ce2e7a5e08ee528f594fa047ecea75c
[ "Apache-2.0" ]
null
null
null
Lib/Co.py
M507/Guessing-passwords-using-machine-learning
da90cfa30ce2e7a5e08ee528f594fa047ecea75c
[ "Apache-2.0" ]
1
2020-05-18T21:19:52.000Z
2020-05-18T21:19:52.000Z
import subprocess import os.path """ Stylish input() """ def s_input(string): return input(string+">").strip("\n") """ Execute command locally """ def execute_command(command): if len(command) > 0: print(command) proc = subprocess.Popen(command.split(" "), stdout=subprocess.PIPE, cwd="/tmp")...
20.952381
87
0.619318
110
880
4.936364
0.481818
0.033149
0.014733
0.018416
0
0
0
0
0
0
0
0.001477
0.230682
880
41
88
21.463415
0.800591
0.088636
0
0
0
0
0.025074
0
0
0
0
0
0
1
0.190476
false
0
0.095238
0.047619
0.52381
0.047619
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
86f661785147d1c962908ad8a5f0840e9e70661d
446
py
Python
project3_code/part_0/main.py
rachelbrown347/CS294-26_code
72a20a9ab75345091d2a743b13857d7a88adf9be
[ "MIT" ]
1
2022-03-12T00:55:52.000Z
2022-03-12T00:55:52.000Z
project3_code/part_0/main.py
rachelbrown347/CS294-26_code
72a20a9ab75345091d2a743b13857d7a88adf9be
[ "MIT" ]
null
null
null
project3_code/part_0/main.py
rachelbrown347/CS294-26_code
72a20a9ab75345091d2a743b13857d7a88adf9be
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt from skimage.exposure import rescale_intensity from unsharp import * # Load file and normalize to 0-1 fname = 'iguana.jpg' im = plt.imread(fname) if im.mean() >= 1: im = im/255. sigma = 5 amplitude = 1.5 imsharp = unsharp_mask(im, sigma, amplitude) imsharp = re...
23.473684
70
0.726457
73
446
4.328767
0.547945
0.018987
0.044304
0
0
0
0
0
0
0
0
0.036842
0.147982
446
19
71
23.473684
0.794737
0.067265
0
0
0
0
0.048193
0
0
0
0
0
0
1
0
false
0
0.285714
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
86f77106c10502d0d37cea800a21ab20ce83f638
1,218
py
Python
meregistro/apps/registro/models/EstablecimientoDomicilio.py
MERegistro/meregistro
6cde3cab2bd1a8e3084fa38147de377d229391e3
[ "BSD-3-Clause" ]
null
null
null
meregistro/apps/registro/models/EstablecimientoDomicilio.py
MERegistro/meregistro
6cde3cab2bd1a8e3084fa38147de377d229391e3
[ "BSD-3-Clause" ]
null
null
null
meregistro/apps/registro/models/EstablecimientoDomicilio.py
MERegistro/meregistro
6cde3cab2bd1a8e3084fa38147de377d229391e3
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from django.db import models from apps.registro.models.TipoDomicilio import TipoDomicilio from apps.registro.models.Localidad import Localidad from apps.registro.models.Establecimiento import Establecimiento from django.core.exceptions import ValidationError from apps.seguridad.audit import audi...
32.918919
85
0.76601
146
1,218
6.212329
0.410959
0.035281
0.079383
0.105843
0
0
0
0
0
0
0
0.010252
0.119048
1,218
36
86
33.833333
0.835042
0.017241
0
0
0
0
0.098745
0.051046
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
86f7b299e6e411fb0020928642f34720d9448cf2
301
py
Python
python_for_everybody/py2_p4i_old/6.5findslicestringextract.py
timothyyu/p4e-prac
f978b71ce147b6e9058372929f2666c2e67d0741
[ "BSD-3-Clause" ]
null
null
null
python_for_everybody/py2_p4i_old/6.5findslicestringextract.py
timothyyu/p4e-prac
f978b71ce147b6e9058372929f2666c2e67d0741
[ "BSD-3-Clause" ]
null
null
null
python_for_everybody/py2_p4i_old/6.5findslicestringextract.py
timothyyu/p4e-prac
f978b71ce147b6e9058372929f2666c2e67d0741
[ "BSD-3-Clause" ]
1
2020-04-18T16:09:04.000Z
2020-04-18T16:09:04.000Z
# 6.5 Write code using find() and string slicing (see section 6.10) to extract # the number at the end of the line below. # Convert the extracted value to a floating point number and print it out. text = "X-DSPAM-Confidence: 0.8475"; pos = text.find(':') text = float(text[pos+1:]) print text
27.363636
79
0.697674
53
301
3.962264
0.735849
0
0
0
0
0
0
0
0
0
0
0.045267
0.192691
301
11
80
27.363636
0.81893
0.637874
0
0
0
0
0.283019
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
86f7e1041ab1f4accc4c1f71bcc457ad4e75b7b3
6,672
py
Python
tools/lucid/engine.py
Petr-By/qtpyvis
0b9a151ee6b9a56b486c2bece9c1f03414629efc
[ "MIT" ]
3
2017-10-04T14:51:26.000Z
2017-10-22T09:35:50.000Z
tools/lucid/engine.py
CogSciUOS/DeepLearningToolbox
bf07578b9486d8c48e25df357bc4b9963b513b46
[ "MIT" ]
13
2017-09-05T12:56:11.000Z
2017-11-22T10:38:27.000Z
tools/lucid/engine.py
CogSciUOS/DeepLearningToolbox
bf07578b9486d8c48e25df357bc4b9963b513b46
[ "MIT" ]
2
2017-09-24T21:39:42.000Z
2017-10-04T15:29:54.000Z
import logging logger = logging.getLogger(__name__) print(f"!!!!!!!!!! getEffectiveLevel: {logger.getEffectiveLevel()} !!!!!!!!!!!!!") from dltb.base.observer import Observable, change from network import Network, loader from network.lucid import Network as LucidNetwork # lucid.modelzoo.vision_models: # A module ...
30.190045
82
0.590528
821
6,672
4.669915
0.16687
0.053991
0.067814
0.040167
0.370631
0.340636
0.284559
0.23422
0.214919
0.159624
0
0.000435
0.310402
6,672
220
83
30.327273
0.832862
0.22482
0
0.351563
0
0
0.078839
0.016056
0
0
0
0.004545
0
1
0.140625
false
0
0.085938
0
0.34375
0.007813
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
86f8485704c303133a8ffd7f513a5c4076214c94
87,649
py
Python
synapse/storage/events.py
natamelo/synapse
3d870ecfc5353e455917166cb5c2bb8ba48a6ebd
[ "Apache-2.0" ]
null
null
null
synapse/storage/events.py
natamelo/synapse
3d870ecfc5353e455917166cb5c2bb8ba48a6ebd
[ "Apache-2.0" ]
null
null
null
synapse/storage/events.py
natamelo/synapse
3d870ecfc5353e455917166cb5c2bb8ba48a6ebd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2014-2016 OpenMarket Ltd # Copyright 2018-2019 New Vector Ltd # Copyright 2019 The Matrix.org Foundation C.I.C. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the Licens...
39.339767
89
0.578455
10,183
87,649
4.718943
0.087892
0.022725
0.035731
0.007908
0.385616
0.307639
0.250328
0.200882
0.168501
0.147608
0
0.003698
0.355235
87,649
2,227
90
39.357432
0.846602
0.24686
0
0.312454
0
0
0.157629
0.024721
0
0
0
0.000449
0.000737
1
0.043478
false
0.000737
0.021371
0.000737
0.091378
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
86f92c20143e35ec634b684ad280aeb864a0957c
3,074
py
Python
dev/buildtool/metrics.py
premm1983/Spinnaker
535f78b8f5402eea942c260cb9ca26682772a3e6
[ "Apache-2.0" ]
null
null
null
dev/buildtool/metrics.py
premm1983/Spinnaker
535f78b8f5402eea942c260cb9ca26682772a3e6
[ "Apache-2.0" ]
null
null
null
dev/buildtool/metrics.py
premm1983/Spinnaker
535f78b8f5402eea942c260cb9ca26682772a3e6
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
39.410256
77
0.754717
357
3,074
6.285714
0.420168
0.049911
0.037879
0.042781
0.15508
0.096702
0
0
0
0
0
0.003896
0.164932
3,074
77
78
39.922078
0.870277
0.278139
0
0.204082
0
0
0.165901
0.011949
0
0
0
0
0
1
0.081633
false
0
0.102041
0
0.265306
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
86f9d5c800a3592d64ffbc26d845ced72a00288c
4,005
py
Python
src/python/pants/backend/android/tasks/aapt_builder.py
hythloday/pants
107e9b0957f6949ac4bd535fbef8d2d8cba05c5c
[ "Apache-2.0" ]
11
2015-01-20T01:39:41.000Z
2019-08-08T07:27:44.000Z
src/python/pants/backend/android/tasks/aapt_builder.py
hythloday/pants
107e9b0957f6949ac4bd535fbef8d2d8cba05c5c
[ "Apache-2.0" ]
1
2016-03-15T20:35:18.000Z
2016-03-15T20:35:18.000Z
src/python/pants/backend/android/tasks/aapt_builder.py
fakeNetflix/square-repo-pants
28a018c7f47900aec4f576c81a52e0e4b41d9fec
[ "Apache-2.0" ]
5
2015-03-30T02:46:53.000Z
2018-03-08T20:10:43.000Z
# coding=utf-8 # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (nested_scopes, generators, division, absolute_import, with_statement, print_function, unicode_literals) import os import sub...
41.71875
106
0.698127
530
4,005
5.154717
0.403774
0.029283
0.01757
0.025256
0.044656
0.027086
0
0
0
0
0
0.00373
0.196754
4,005
95
107
42.157895
0.845508
0.30437
0
0
0
0
0.048657
0
0
0
0
0.010526
0
1
0.118644
false
0
0.186441
0.033898
0.372881
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
1
0
0
0
0
0
0
0
0
0
0
1
86fafa9c771d30389c672ab69f2d0d2991d82592
4,967
py
Python
fat/fat_bert_nq/ppr/apr_lib.py
kiss2u/google-research
2cd66234656f9e2f4218ed90a2d8aa9cf3139093
[ "Apache-2.0" ]
1
2020-05-27T15:40:17.000Z
2020-05-27T15:40:17.000Z
fat/fat_bert_nq/ppr/apr_lib.py
kiss2u/google-research
2cd66234656f9e2f4218ed90a2d8aa9cf3139093
[ "Apache-2.0" ]
7
2021-08-25T16:15:53.000Z
2022-02-10T03:26:55.000Z
fat/fat_bert_nq/ppr/apr_lib.py
kiss2u/google-research
2cd66234656f9e2f4218ed90a2d8aa9cf3139093
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
35.478571
80
0.684518
725
4,967
4.514483
0.32
0.050412
0.023831
0.025665
0.158265
0.150932
0.134128
0.117324
0.05194
0.05194
0
0.007849
0.230521
4,967
139
81
35.733813
0.848509
0.342259
0
0.16
0
0
0.065802
0
0
0
0
0
0
1
0.04
false
0
0.106667
0
0.186667
0.026667
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
86fc7c6a00ab6863dd9ce69648b4b5568994e8af
6,941
py
Python
src/optimal_gardening.py
evanlynch/optimal-gardening
447ca8575efac1ad5cdd975091f3cbb67721e167
[ "MIT" ]
null
null
null
src/optimal_gardening.py
evanlynch/optimal-gardening
447ca8575efac1ad5cdd975091f3cbb67721e167
[ "MIT" ]
null
null
null
src/optimal_gardening.py
evanlynch/optimal-gardening
447ca8575efac1ad5cdd975091f3cbb67721e167
[ "MIT" ]
null
null
null
import os import sys import time from IPython.display import Image import matplotlib.pyplot as plt import numpy as np import pandas as pd import seaborn as sb sb.set_style("dark") #### Initial Setup #### #plant info plant_info = pd.read_csv('../data/plant_data.csv') plant_info.index.name = 'plant_index' plants = pla...
39.662857
168
0.711713
1,089
6,941
4.341598
0.264463
0.02665
0.010998
0.020305
0.090102
0.018613
0
0
0
0
0
0.013751
0.172309
6,941
175
169
39.662857
0.809225
0.285406
0
0.018182
0
0
0.077034
0.004544
0
0
0
0
0
1
0.081818
false
0
0.072727
0
0.218182
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
86fca5740e3caf795c7b7090059ab5992cec0e59
9,453
py
Python
adv_lib/utils/attack_utils.py
Daulbaev/adversarial-library
6f979a511ad78908374cd55855a9e2c5a874be7d
[ "BSD-3-Clause" ]
55
2020-11-25T10:47:48.000Z
2022-03-21T12:11:31.000Z
adv_lib/utils/attack_utils.py
Daulbaev/adversarial-library
6f979a511ad78908374cd55855a9e2c5a874be7d
[ "BSD-3-Clause" ]
4
2021-03-10T19:25:31.000Z
2021-08-06T00:10:49.000Z
adv_lib/utils/attack_utils.py
Daulbaev/adversarial-library
6f979a511ad78908374cd55855a9e2c5a874be7d
[ "BSD-3-Clause" ]
8
2020-11-26T08:42:04.000Z
2022-01-13T02:55:47.000Z
import warnings from collections import OrderedDict from distutils.version import LooseVersion from functools import partial from inspect import isclass from typing import Callable, Optional, Dict, Union import numpy as np import torch import tqdm from torch import Tensor, nn from torch.nn import functional as F from...
41.643172
117
0.66307
1,226
9,453
4.914356
0.200653
0.012946
0.010954
0.014108
0.243651
0.190207
0.157344
0.13195
0.108382
0.075021
0
0.00965
0.210727
9,453
226
118
41.827434
0.797882
0.102507
0
0.086957
0
0.006211
0.091116
0
0
0
0
0
0
1
0.031056
false
0
0.080745
0
0.136646
0.049689
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
86fd1a571a9b46918806e9e8e71337c7e3431481
2,559
py
Python
thawSlumpChangeDet/polygons_compare.py
Summer0328/ChangeDet_DL-1
f2474ee4200d9ad093c0e5a27a94bfbd3bd038e7
[ "MIT" ]
3
2021-07-03T14:33:37.000Z
2021-08-03T20:35:32.000Z
thawSlumpChangeDet/polygons_compare.py
Summer0328/ChangeDet_DL-1
f2474ee4200d9ad093c0e5a27a94bfbd3bd038e7
[ "MIT" ]
null
null
null
thawSlumpChangeDet/polygons_compare.py
Summer0328/ChangeDet_DL-1
f2474ee4200d9ad093c0e5a27a94bfbd3bd038e7
[ "MIT" ]
2
2021-07-29T01:45:33.000Z
2021-08-10T09:13:58.000Z
#!/usr/bin/env python # Filename: polygons_cd """ introduction: compare two polygons in to shape file authors: Huang Lingcao email:huanglingcao@gmail.com add time: 26 February, 2020 """ import sys,os from optparse import OptionParser # added path of DeeplabforRS sys.path.insert(0, os.path.expanduser('~/codes/Pychar...
30.105882
108
0.709261
359
2,559
4.740947
0.350975
0.041128
0.029377
0.022914
0.199177
0.166863
0.058754
0.058754
0.058754
0.058754
0
0.014648
0.199687
2,559
84
109
30.464286
0.816406
0.208284
0
0
0
0
0.175412
0.031984
0
0
0
0
0.05
1
0.025
false
0
0.2
0
0.225
0.025
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
86fdb0073cd3ede47fd363784958394b48bca5e1
919
py
Python
andela_labs/Car Class Lab (OOP)/car.py
brotich/andela_bootcamp_X
19fc5bb66d3c930d4e6b9afeb45abc00bbc4c2ea
[ "MIT" ]
null
null
null
andela_labs/Car Class Lab (OOP)/car.py
brotich/andela_bootcamp_X
19fc5bb66d3c930d4e6b9afeb45abc00bbc4c2ea
[ "MIT" ]
null
null
null
andela_labs/Car Class Lab (OOP)/car.py
brotich/andela_bootcamp_X
19fc5bb66d3c930d4e6b9afeb45abc00bbc4c2ea
[ "MIT" ]
null
null
null
class Car(object): """ Car class that can be used to instantiate various vehicles. It takes in arguments that depict the type, model, and name of the vehicle """ def __init__(self, name="General", model="GM", car_type="saloon"): num_of_wheels = 4 num_of_doors = 4 ...
24.837838
70
0.553863
122
919
3.97541
0.418033
0.082474
0.090722
0
0
0
0
0
0
0
0
0.021739
0.349293
919
36
71
25.527778
0.789298
0.145811
0
0
0
0
0.076101
0
0
0
0
0
0
1
0.136364
false
0
0
0.045455
0.272727
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
86ff60feba2c3198cb1453cbf355794a3010628a
195
py
Python
CV Model/Model - JupyterNotebook/mrcnn/tfliteconverter.py
fcsiba/Smart-Cart
7d45b9f2a2be2015936c2a61068b2fd8b6c95fe5
[ "MIT" ]
null
null
null
CV Model/Model - JupyterNotebook/mrcnn/tfliteconverter.py
fcsiba/Smart-Cart
7d45b9f2a2be2015936c2a61068b2fd8b6c95fe5
[ "MIT" ]
null
null
null
CV Model/Model - JupyterNotebook/mrcnn/tfliteconverter.py
fcsiba/Smart-Cart
7d45b9f2a2be2015936c2a61068b2fd8b6c95fe5
[ "MIT" ]
null
null
null
import tensorflow as tf # Convert the model. converter = tf.lite.TFLiteConverter.from_saved_model('model.py') tflite_model = converter.convert() open("trash_ai.tflite", "wb").write(tflite_model)
32.5
64
0.784615
28
195
5.285714
0.678571
0.189189
0
0
0
0
0
0
0
0
0
0
0.082051
195
6
65
32.5
0.826816
0.092308
0
0
0
0
0.142045
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
86ffc174e23653c3f067117004b1a24f8234310f
711
py
Python
basicapp/cron.py
shivamsinghal212/Url-Shortener
4127a993272744f6f8592415314c8e8514d43153
[ "MIT" ]
null
null
null
basicapp/cron.py
shivamsinghal212/Url-Shortener
4127a993272744f6f8592415314c8e8514d43153
[ "MIT" ]
8
2020-06-05T18:23:15.000Z
2022-03-11T23:23:57.000Z
basicapp/cron.py
shivamsinghal212/Url-Shortener
4127a993272744f6f8592415314c8e8514d43153
[ "MIT" ]
null
null
null
from django_cron import CronJobBase, Schedule from .models import Link from django.utils import timezone class MyCronJob(CronJobBase): RUN_EVERY_MINS = 1 # every 2 hours schedule = Schedule(run_every_mins=RUN_EVERY_MINS) code = 'basicapp.cron' # a unique code def do(self): current_time = t...
30.913043
65
0.610408
90
711
4.711111
0.577778
0.056604
0.084906
0
0
0
0
0
0
0
0
0.008114
0.30661
711
22
66
32.318182
0.851927
0.037975
0
0
0
0
0.164706
0
0
0
0
0
0
1
0.055556
false
0
0.166667
0
0.444444
0.166667
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
810028e77fa49197f58461ee88815f3bf00eba42
2,029
py
Python
weasyprint/tests/test_stacking.py
Smylers/WeasyPrint
25ce91a34755386b3350d898aa1638c349723b57
[ "BSD-3-Clause" ]
null
null
null
weasyprint/tests/test_stacking.py
Smylers/WeasyPrint
25ce91a34755386b3350d898aa1638c349723b57
[ "BSD-3-Clause" ]
null
null
null
weasyprint/tests/test_stacking.py
Smylers/WeasyPrint
25ce91a34755386b3350d898aa1638c349723b57
[ "BSD-3-Clause" ]
null
null
null
# coding: utf8 """ weasyprint.tests.stacking ------------------------- :copyright: Copyright 2011-2012 Simon Sapin and contributors, see AUTHORS. :license: BSD, see LICENSE for details. """ from __future__ import division, unicode_literals from ..stacking import StackingContext from .test_boxes impo...
25.683544
78
0.556925
234
2,029
4.679487
0.376068
0.029224
0.076712
0.041096
0.231963
0.096804
0.096804
0.049315
0
0
0
0.01222
0.274027
2,029
78
79
26.012821
0.731161
0.126663
0
0.259259
0
0
0.239679
0
0
0
0
0
0.12963
1
0.092593
false
0
0.092593
0.037037
0.240741
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
8100832c0d5bc42056a44079c84eec3ee522ecd0
1,143
py
Python
django-magic-link/customers/views.py
industrydive/sourcelist
9db4ec5c9cb9246a644615ca401a3c8f8d560b6e
[ "MIT" ]
5
2017-10-28T17:17:35.000Z
2020-06-24T21:43:22.000Z
django-magic-link/customers/views.py
greglinch/sourcelist
8267bb060e55f036d6d2dd9648698a5b8e48c0b3
[ "MIT" ]
2
2020-02-11T21:50:49.000Z
2021-04-08T18:25:26.000Z
django-magic-link/customers/views.py
industrydive/sourcelist
9db4ec5c9cb9246a644615ca401a3c8f8d560b6e
[ "MIT" ]
2
2017-11-02T02:14:25.000Z
2019-05-28T15:35:44.000Z
from django.shortcuts import render from django.contrib.auth.models import User from django.contrib.auth.decorators import login_required from sesame import utils from django.core.mail import send_mail def login_page(request): if request.method == "POST": email = request.POST.get("emailId") user =...
31.75
107
0.630796
145
1,143
4.848276
0.441379
0.056899
0.081081
0.059744
0.079659
0
0
0
0
0
0
0.011561
0.24322
1,143
36
108
31.75
0.801156
0
0
0
0
0
0.271853
0.018357
0
0
0
0
0
1
0.066667
false
0
0.166667
0.033333
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
81014d9aa2fe1551a160b448cdc227329bca693d
3,079
py
Python
python-lib/config/dss_parameter.py
dataiku/dss-plugin-nlp-analysis
ff9dce56500dc8f28f83158afbdf7db01074ee38
[ "Apache-2.0" ]
1
2021-03-12T10:45:53.000Z
2021-03-12T10:45:53.000Z
python-lib/config/dss_parameter.py
dataiku/dss-plugin-nlp-analysis
ff9dce56500dc8f28f83158afbdf7db01074ee38
[ "Apache-2.0" ]
22
2021-03-01T18:49:54.000Z
2021-06-08T15:16:30.000Z
python-lib/config/dss_parameter.py
dataiku/dss-plugin-nlp-analysis
ff9dce56500dc8f28f83158afbdf7db01074ee38
[ "Apache-2.0" ]
1
2021-02-22T15:19:43.000Z
2021-02-22T15:19:43.000Z
from .custom_check import CustomCheck, CustomCheckError from typing import Any, List import logging logger = logging.getLogger(__name__) class DSSParameterError(Exception): """Exception raised when at least one CustomCheck fails.""" pass class DSSParameter: """Object related to one parameter. It is m...
33.835165
104
0.618383
358
3,079
5.231844
0.304469
0.025627
0.029899
0.014949
0.275494
0.275494
0.275494
0.275494
0.275494
0.275494
0
0
0.284183
3,079
90
105
34.211111
0.849819
0.363105
0
0.044444
0
0
0.106576
0.02381
0
0
0
0
0
1
0.177778
false
0.022222
0.066667
0.044444
0.355556
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
0
0
0
0
0
0
0
0
0
0
1
0
81017170c94b85c3925c1875676b310a658ce79c
21,868
py
Python
misc/import_ch_zurich.py
mstarikov/transitfeed
c018d7b14f6fccaa670629c00c83a390b5461fc1
[ "Apache-2.0" ]
null
null
null
misc/import_ch_zurich.py
mstarikov/transitfeed
c018d7b14f6fccaa670629c00c83a390b5461fc1
[ "Apache-2.0" ]
null
null
null
misc/import_ch_zurich.py
mstarikov/transitfeed
c018d7b14f6fccaa670629c00c83a390b5461fc1
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python2.4 # Copyright (C) 2008 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
42.62768
94
0.559813
2,779
21,868
4.24937
0.222022
0.01321
0.019561
0.007621
0.104751
0.076721
0.055805
0.047676
0.036752
0.029469
0
0.02959
0.313838
21,868
512
95
42.710938
0.757414
0.171163
0
0.080808
0
0.002525
0.160013
0.035714
0
0
0
0
0.010101
1
0.063131
false
0.012626
0.090909
0.002525
0.181818
0.012626
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
8101825b7fae5806f4a1d2d670c101bc508918db
5,681
py
Python
modules/documents.py
rotsee/protokollen
a001a1db86df57adcf5c53c95c4c2fae426340f1
[ "MIT", "Apache-2.0", "CC0-1.0", "Unlicense" ]
4
2015-03-22T20:23:36.000Z
2015-12-09T14:31:34.000Z
modules/documents.py
rotsee/protokollen
a001a1db86df57adcf5c53c95c4c2fae426340f1
[ "MIT", "Apache-2.0", "CC0-1.0", "Unlicense" ]
4
2015-03-24T10:42:00.000Z
2016-06-21T08:44:01.000Z
modules/documents.py
rotsee/protokollen
a001a1db86df57adcf5c53c95c4c2fae426340f1
[ "MIT", "Apache-2.0", "CC0-1.0", "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- """This module contains classes for documents, and lists of documents. Documents are defined by the document rules in settings.py A file can contain one or more document. However, a document can not be constructed from more than one file. This is a limitation, obvious in cases like ...
33.417647
80
0.582996
686
5,681
4.603499
0.246356
0.019949
0.018999
0.026916
0.141862
0.096897
0.065231
0.051298
0.051298
0.027866
0
0.003908
0.324415
5,681
169
81
33.615385
0.818916
0.037141
0
0.149533
0
0
0.041942
0
0
0
0
0
0
0
null
null
0.009346
0.037383
null
null
0.009346
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
8101888cafdd6d738a67d105df6945c67e4d48e2
773
py
Python
tools/amp_segment/ina_speech_segmenter.py
saratkumar/galaxy
35cd0987239c1b006d6eaf70b4a03a58fb857a12
[ "CC-BY-3.0" ]
1
2020-03-11T15:17:32.000Z
2020-03-11T15:17:32.000Z
tools/amp_segment/ina_speech_segmenter.py
saratkumar/galaxy
35cd0987239c1b006d6eaf70b4a03a58fb857a12
[ "CC-BY-3.0" ]
72
2019-06-06T18:52:41.000Z
2022-02-17T02:53:18.000Z
tools/done/amp_segment/ina_speech_segmenter.py
AudiovisualMetadataPlatform/amp_mgms
593d4f4d40b597a7753cd152cd233976e6b28c75
[ "Apache-2.0" ]
1
2022-03-01T08:07:54.000Z
2022-03-01T08:07:54.000Z
#!/usr/bin/env python3 import os import os.path import shutil import subprocess import sys import tempfile import uuid import mgm_utils def main(): (root_dir, input_file, json_file) = sys.argv[1:4] tmpName = str(uuid.uuid4()) tmpdir = "/tmp" temp_input_file = f"{tmpdir}/{tmpName}.dat" temp_output_file = f"{tmpd...
21.472222
83
0.742561
122
773
4.385246
0.385246
0.117757
0.121495
0.06729
0.082243
0.082243
0
0
0
0
0
0.005908
0.124191
773
35
84
22.085714
0.784343
0.027167
0
0
0
0
0.122503
0.087883
0
0
0
0
0
1
0.04
false
0
0.32
0
0.36
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
0
0
0
1
8102b4059df75e35791f0dfa9ba091b4276e3aff
12,313
py
Python
test/tracerEq/test_steady_adv-diff_mms.py
jhill1/thetis
1be5d28d5d0d7248f2bbce4986b3e886116e103a
[ "MIT" ]
null
null
null
test/tracerEq/test_steady_adv-diff_mms.py
jhill1/thetis
1be5d28d5d0d7248f2bbce4986b3e886116e103a
[ "MIT" ]
null
null
null
test/tracerEq/test_steady_adv-diff_mms.py
jhill1/thetis
1be5d28d5d0d7248f2bbce4986b3e886116e103a
[ "MIT" ]
null
null
null
""" Testing 3D tracer advection-diffusion equation with method of manufactured solution (MMS). """ from thetis import * import numpy from scipy import stats import pytest class Setup1: """ Constant bathymetry and u velocty, zero diffusivity, non-trivial tracer """ def bath(self, x, y, lx, ly): ...
37.769939
1,095
0.559165
2,119
12,313
3.14252
0.134969
0.031837
0.025229
0.018772
0.436702
0.398108
0.384292
0.384292
0.377985
0.377985
0
0.070536
0.252741
12,313
325
1,096
37.886154
0.65319
0.069114
0
0.402655
0
0
0.036333
0
0.004425
0
0
0
0.004425
1
0.150442
false
0.004425
0.022124
0.132743
0.331858
0.022124
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
810397b3d3caaed833502145ab5542c3eb653710
723
py
Python
csat/django/fields.py
GaretJax/csat
db63441136369436140a91c9657444353c8944e6
[ "MIT" ]
null
null
null
csat/django/fields.py
GaretJax/csat
db63441136369436140a91c9657444353c8944e6
[ "MIT" ]
7
2020-06-05T17:15:29.000Z
2022-02-11T03:38:15.000Z
csat/django/fields.py
GaretJax/csat
db63441136369436140a91c9657444353c8944e6
[ "MIT" ]
null
null
null
from lxml import etree from django import forms from django.db import models class XMLFileField(models.FileField): def __init__(self, *args, **kwargs): self.schema = kwargs.pop('schema') super(XMLFileField, self).__init__(*args, **kwargs) def clean(self, *args, **kwargs): data = supe...
28.92
74
0.60166
85
723
5.023529
0.482353
0.093677
0.065574
0
0
0
0
0
0
0
0
0
0.29184
723
24
75
30.125
0.833984
0
0
0
0
0
0.091286
0
0
0
0
0
0
1
0.117647
false
0
0.176471
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
8104cf1d7fdf7aff507bf4b2cd4aa7b19708a446
15,658
py
Python
keras_cv_attention_models/yolox/yolox.py
RishabhSehgal/keras_cv_attention_models
c1e20e45815339d70a987ec7dd9e6f926b4eb21d
[ "MIT" ]
null
null
null
keras_cv_attention_models/yolox/yolox.py
RishabhSehgal/keras_cv_attention_models
c1e20e45815339d70a987ec7dd9e6f926b4eb21d
[ "MIT" ]
null
null
null
keras_cv_attention_models/yolox/yolox.py
RishabhSehgal/keras_cv_attention_models
c1e20e45815339d70a987ec7dd9e6f926b4eb21d
[ "MIT" ]
null
null
null
import tensorflow as tf from tensorflow import keras from keras_cv_attention_models.attention_layers import ( activation_by_name, batchnorm_with_activation, conv2d_no_bias, depthwise_conv2d_no_bias, add_pre_post_process, ) from keras_cv_attention_models import model_surgery from keras_cv_attention_m...
54.940351
156
0.709158
2,273
15,658
4.609327
0.120106
0.050396
0.067195
0.056123
0.484872
0.424454
0.406223
0.366517
0.338074
0.304858
0
0.042312
0.154745
15,658
284
157
55.133803
0.746505
0.090305
0
0.089552
0
0
0.061245
0.015187
0
0
0
0
0
1
0.089552
false
0
0.029851
0.029851
0.21393
0.00995
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
8104ee7a90ab52a7bdf79ad5abbc624a2b356482
4,064
py
Python
robot-server/tests/service/json_api/test_response.py
mrod0101/opentrons
6450edb0421f1c2484c292f8583602d8f6fd13b8
[ "Apache-2.0" ]
null
null
null
robot-server/tests/service/json_api/test_response.py
mrod0101/opentrons
6450edb0421f1c2484c292f8583602d8f6fd13b8
[ "Apache-2.0" ]
2
2022-02-15T03:28:35.000Z
2022-02-28T01:34:18.000Z
robot-server/tests/service/json_api/test_response.py
mrod0101/opentrons
6450edb0421f1c2484c292f8583602d8f6fd13b8
[ "Apache-2.0" ]
null
null
null
from pytest import raises from pydantic import ValidationError from robot_server.service.json_api.response import ( ResponseDataModel, ResponseModel, MultiResponseModel, ) from tests.service.helpers import ItemResponseModel def test_attributes_as_dict() -> None: MyResponse = ResponseModel[ResponseDat...
26.913907
78
0.483514
369
4,064
5.162602
0.189702
0.051969
0.054593
0.062992
0.685564
0.578478
0.52231
0.456693
0.456693
0.286614
0
0.037308
0.360236
4,064
150
79
27.093333
0.695385
0
0
0.407407
0
0
0.135335
0
0
0
0
0
0.044444
1
0.044444
false
0
0.02963
0
0.074074
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
81050df4590617cea7e0daedc54d45bd783c7cfa
367
py
Python
stickmanZ/__main__.py
MichaelMcFarland98/cse210-project
9e5a45a75f465fe123e33712d3c19dd88e98246a
[ "MIT" ]
1
2021-07-24T00:40:14.000Z
2021-07-24T00:40:14.000Z
stickmanZ/__main__.py
MichaelMcFarland98/cse210-project
9e5a45a75f465fe123e33712d3c19dd88e98246a
[ "MIT" ]
null
null
null
stickmanZ/__main__.py
MichaelMcFarland98/cse210-project
9e5a45a75f465fe123e33712d3c19dd88e98246a
[ "MIT" ]
null
null
null
from game.game_view import GameView from game.menu_view import menu_view from game import constants import arcade SCREEN_WIDTH = constants.SCREEN_WIDTH SCREEN_HEIGHT = constants.SCREEN_HEIGHT SCREEN_TITLE = constants.SCREEN_TITLE window = arcade.Window(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_TITLE) start_view = menu_vi...
22.9375
65
0.836512
54
367
5.388889
0.296296
0.082474
0.116838
0.158076
0
0
0
0
0
0
0
0
0.100817
367
15
66
24.466667
0.881818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.363636
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
1
0
0
0
0
1
81053c6c0f8dac07d6cae3bc4a12cf5b1f575105
2,300
py
Python
neutron/db/migration/alembic_migrations/versions/mitaka/contract/c6c112992c9_rbac_qos_policy.py
congnt95/neutron
6a73a362c5ff5b7c28c15a49f47a9900c0d2b4e1
[ "Apache-2.0" ]
1,080
2015-01-04T08:35:00.000Z
2022-03-27T09:15:52.000Z
neutron/db/migration/alembic_migrations/versions/mitaka/contract/c6c112992c9_rbac_qos_policy.py
congnt95/neutron
6a73a362c5ff5b7c28c15a49f47a9900c0d2b4e1
[ "Apache-2.0" ]
24
2015-02-21T01:48:28.000Z
2021-11-26T02:38:56.000Z
neutron/db/migration/alembic_migrations/versions/mitaka/contract/c6c112992c9_rbac_qos_policy.py
congnt95/neutron
6a73a362c5ff5b7c28c15a49f47a9900c0d2b4e1
[ "Apache-2.0" ]
1,241
2015-01-02T10:47:10.000Z
2022-03-27T09:42:23.000Z
# Copyright 2015 OpenStack Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
33.333333
78
0.665652
309
2,300
4.854369
0.466019
0.042667
0.065333
0.053333
0.186
0.180667
0.180667
0.16
0.109333
0.109333
0
0.048199
0.215217
2,300
68
79
33.823529
0.782825
0.309565
0
0.060606
0
0
0.119863
0
0
0
0
0
0
1
0.060606
false
0
0.121212
0
0.212121
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
8105a101c915deb0c3d41bd2462e33e9a3a8584e
1,200
py
Python
chapter5/ch5_gcp_subscriber.py
ericchou1/network-devops-kafka-up-and-running
c128cf7359ba40c3005a02d3033b16b67c196779
[ "Apache-2.0" ]
1
2021-12-30T08:55:09.000Z
2021-12-30T08:55:09.000Z
chapter5/ch5_gcp_subscriber.py
ericchou1/network-devops-kafka-up-and-running
c128cf7359ba40c3005a02d3033b16b67c196779
[ "Apache-2.0" ]
null
null
null
chapter5/ch5_gcp_subscriber.py
ericchou1/network-devops-kafka-up-and-running
c128cf7359ba40c3005a02d3033b16b67c196779
[ "Apache-2.0" ]
2
2021-11-22T09:56:30.000Z
2022-02-06T22:55:55.000Z
from concurrent.futures import TimeoutError from google.cloud import pubsub_v1 project_id = "pubsub-testing-331300" subscription_id = "test-sub" # Number of seconds the subscriber should listen for messages timeout = 5.0 subscriber = pubsub_v1.SubscriberClient() # The `subscription_path` method creates a fully qualif...
38.709677
82
0.766667
151
1,200
5.94702
0.543046
0.089087
0.084633
0.055679
0
0
0
0
0
0
0
0.010763
0.148333
1,200
30
83
40
0.867906
0.360833
0
0
0
0
0.128137
0.058124
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.166667
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8107dd8d87df5ce3c83ed8d4993880ee03266544
2,136
py
Python
odoo-13.0/addons/google_drive/models/res_config_settings.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
null
null
null
odoo-13.0/addons/google_drive/models/res_config_settings.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
null
null
null
odoo-13.0/addons/google_drive/models/res_config_settings.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import api, fields, models, _ class ResConfigSettings(models.TransientModel): _inherit = "res.config.settings" google_drive_authorization_code = fields.Char(string='Authorization Code', config_parame...
45.446809
142
0.69382
258
2,136
5.410853
0.344961
0.126075
0.094556
0.100287
0.17765
0.098854
0
0
0
0
0
0.000585
0.199438
2,136
46
143
46.434783
0.815789
0.044007
0
0
0
0
0.251103
0.102011
0
0
0
0
0
1
0.111111
false
0
0.027778
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
81081edbfb2a07d5868f34f5440db42fe2a2e90a
17,308
py
Python
dataloaders/loader.py
sanger640/attMPTI
a2784b784e0900f3603baa3779631da67bcd0562
[ "MIT" ]
93
2021-03-18T13:56:42.000Z
2022-03-30T03:31:35.000Z
dataloaders/loader.py
sanger640/attMPTI
a2784b784e0900f3603baa3779631da67bcd0562
[ "MIT" ]
20
2021-03-30T12:36:05.000Z
2022-03-28T09:01:34.000Z
dataloaders/loader.py
sanger640/attMPTI
a2784b784e0900f3603baa3779631da67bcd0562
[ "MIT" ]
14
2021-04-17T17:19:19.000Z
2022-03-09T13:49:30.000Z
""" Data Loader for Generating Tasks Author: Zhao Na, 2020 """ import os import random import math import glob import numpy as np import h5py as h5 import transforms3d from itertools import combinations import torch from torch.utils.data import Dataset def sample_K_pointclouds(data_path, num_point, pc_attribs, pc_...
46.526882
129
0.621389
2,140
17,308
4.68972
0.120561
0.021523
0.026305
0.014348
0.459845
0.371762
0.311379
0.26933
0.205161
0.172579
0
0.014474
0.273515
17,308
372
130
46.526882
0.783681
0.035475
0
0.19244
0
0
0.043093
0.004309
0
0
0
0
0
1
0.058419
false
0
0.041237
0.010309
0.158076
0.013746
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
8109517cd2448992084aac4cf51be9ed93b5e56f
467
py
Python
greendoge/types/condition_with_args.py
grayfallstown/greendoge-blockchain
31e325913374d694dc0859140d006a642e7f95ac
[ "Apache-2.0" ]
44
2021-07-06T10:09:06.000Z
2022-02-09T04:30:14.000Z
greendoge/types/condition_with_args.py
grayfallstown/greendoge-blockchain
31e325913374d694dc0859140d006a642e7f95ac
[ "Apache-2.0" ]
67
2021-07-06T11:57:18.000Z
2022-02-02T16:14:15.000Z
greendoge/types/condition_with_args.py
grayfallstown/greendoge-blockchain
31e325913374d694dc0859140d006a642e7f95ac
[ "Apache-2.0" ]
16
2021-07-06T10:36:37.000Z
2022-03-15T08:35:16.000Z
from dataclasses import dataclass from typing import List from greendoge.types.condition_opcodes import ConditionOpcode from greendoge.util.streamable import Streamable, streamable @dataclass(frozen=True) @streamable class ConditionWithArgs(Streamable): """ This structure is used to store parsed CLVM conditi...
25.944444
83
0.770878
56
467
6.410714
0.660714
0.072423
0
0
0
0
0
0
0
0
0
0.007692
0.164882
467
17
84
27.470588
0.912821
0.286938
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.444444
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
810978ce9b3f6467c879457442fbbbac1342a8e8
3,065
py
Python
homeassistant/components/hunterdouglas_powerview/entity.py
pp81381/home-assistant
23e362faf387c1535be0abab81b30d8e4631df4b
[ "Apache-2.0" ]
null
null
null
homeassistant/components/hunterdouglas_powerview/entity.py
pp81381/home-assistant
23e362faf387c1535be0abab81b30d8e4631df4b
[ "Apache-2.0" ]
31
2020-07-23T07:13:38.000Z
2021-06-07T13:21:18.000Z
homeassistant/components/hunterdouglas_powerview/entity.py
pp81381/home-assistant
23e362faf387c1535be0abab81b30d8e4631df4b
[ "Apache-2.0" ]
null
null
null
"""The nexia integration base entity.""" from aiopvapi.resources.shade import ATTR_TYPE from homeassistant.const import ATTR_MODEL, ATTR_SW_VERSION import homeassistant.helpers.device_registry as dr from homeassistant.helpers.entity import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEnt...
32.606383
114
0.669494
347
3,065
5.54755
0.210375
0.109091
0.050909
0.072727
0.326753
0.300779
0.25039
0.210909
0.210909
0.161039
0
0
0.239152
3,065
93
115
32.956989
0.825472
0.085808
0
0.19403
0
0
0.065194
0.065194
0
0
0
0
0
1
0.074627
false
0
0.089552
0
0.253731
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
810a3b9f5eeaf3e888067a624f744f48f465345b
9,244
py
Python
keycast_env/lib/python3.8/site-packages/Xlib/ext/res.py
daxter-army/key-cast
cadc88c6760839b37b7fef969294800d4c38fb1b
[ "MIT" ]
10
2021-09-15T16:29:59.000Z
2022-01-15T11:51:56.000Z
lib/Xlib/ext/res.py
ITZProGamerDieYT/SpeedrunningTimerLinux
4383c8fdfff476fdb81a99a1d6271218e6e9eee3
[ "CC-BY-3.0" ]
7
2021-09-16T06:21:44.000Z
2022-03-18T03:11:25.000Z
lib/Xlib/ext/res.py
ITZProGamerDieYT/SpeedrunningTimerLinux
4383c8fdfff476fdb81a99a1d6271218e6e9eee3
[ "CC-BY-3.0" ]
3
2021-09-20T13:08:43.000Z
2022-03-18T03:09:08.000Z
# Xlib.ext.res -- X-Resource extension module # # Copyright (C) 2021 Aleksei Bavshin <alebastr89@gmail.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 ...
31.986159
83
0.609801
1,051
9,244
5.249286
0.253092
0.027551
0.032626
0.025014
0.344571
0.321914
0.295813
0.25358
0.217147
0.217147
0
0.019081
0.291324
9,244
288
84
32.097222
0.82308
0.268066
0
0.434286
0
0
0.095877
0.012478
0
0
0
0
0
1
0.051429
false
0
0.005714
0.005714
0.205714
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
810a45957301a3d3e19c056d8cdd8e9cf5349711
1,690
py
Python
rubra/cmdline_args.py
scwatts/rubra
0be2c1e8d56badf134954baab9705f3aeb38d426
[ "MIT" ]
14
2015-04-13T04:10:43.000Z
2022-03-28T08:42:43.000Z
rubra/cmdline_args.py
afcarl/rubra
82905bbbd7077d201363b96ffbbc78c099095764
[ "MIT" ]
3
2016-12-27T17:24:04.000Z
2018-12-21T17:43:36.000Z
rubra/cmdline_args.py
afcarl/rubra
82905bbbd7077d201363b96ffbbc78c099095764
[ "MIT" ]
9
2015-04-29T03:00:16.000Z
2020-01-30T00:56:52.000Z
# Process the unix command line of the pipeline. import argparse from version import rubra_version def get_cmdline_args(): return parser.parse_args() parser = argparse.ArgumentParser( description='A bioinformatics pipeline system.') parser.add_argument( 'pipeline', metavar='PIPELINE_FILE', type=...
26.825397
84
0.657396
203
1,690
5.399015
0.463054
0.065693
0.124088
0.040146
0.063869
0.063869
0
0
0
0
0
0.005966
0.206509
1,690
62
85
27.258065
0.811335
0.027219
0
0.403509
0
0
0.289281
0
0
0
0
0
0
1
0.017544
false
0
0.035088
0.017544
0.070175
0.052632
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
810ae31f2bd87d1c18d17e372bfc5f6a1cddf8a3
268
py
Python
main.py
KH241/Geohashing
d5d51278776c4dc0e3d6e6c39cbd31c1f4442fc1
[ "CC0-1.0" ]
null
null
null
main.py
KH241/Geohashing
d5d51278776c4dc0e3d6e6c39cbd31c1f4442fc1
[ "CC0-1.0" ]
null
null
null
main.py
KH241/Geohashing
d5d51278776c4dc0e3d6e6c39cbd31c1f4442fc1
[ "CC0-1.0" ]
null
null
null
import webbrowser import config from Generator import Generator def main(): generator = Generator() latitude, longitude = generator.getCoordinates() webbrowser.open(config.api_request.format(latitude, longitude)) if __name__ == '__main__': main()
17.866667
67
0.735075
28
268
6.714286
0.571429
0.180851
0
0
0
0
0
0
0
0
0
0
0.16791
268
14
68
19.142857
0.843049
0
0
0
0
0
0.029851
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
810b128cc1280e3c864be85f0fd7db633ecb097d
35,104
py
Python
knx-test.py
WAvdBeek/CoAPthon3
5aa9d6a6d9a2903d86b113da538df9bd970e6b44
[ "MIT" ]
1
2021-11-05T08:04:33.000Z
2021-11-05T08:04:33.000Z
knx-test.py
WAvdBeek/CoAPthon3
5aa9d6a6d9a2903d86b113da538df9bd970e6b44
[ "MIT" ]
1
2021-07-21T12:40:54.000Z
2021-07-21T14:42:42.000Z
knx-test.py
WAvdBeek/CoAPthon3
5aa9d6a6d9a2903d86b113da538df9bd970e6b44
[ "MIT" ]
1
2021-07-20T10:18:17.000Z
2021-07-20T10:18:17.000Z
#!/usr/bin/env python import getopt import socket import sys import cbor #from cbor2 import dumps, loads import json import time import traceback from coapthon.client.helperclient import HelperClient from coapthon.utils import parse_uri from coapthon import defines client = None paths = {} paths_extend = {} my_base ...
33.786333
149
0.546206
4,538
35,104
4.065668
0.078669
0.066992
0.080217
0.076314
0.758753
0.732358
0.681843
0.643089
0.602764
0.575285
0
0.040155
0.269998
35,104
1,038
150
33.818882
0.679817
0.097425
0
0.574555
0
0.001368
0.177289
0.022312
0
0
0
0
0
1
0.053352
false
0.00684
0.01368
0
0.093023
0.199726
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
810b43515d14811ec32c14454930c4b55606640a
210
py
Python
SWIM-Executables/Windows/pyinstaller-2.0 for windows/PyInstaller/hooks/hook-PyQt4.phonon.py
alexsigaras/SWIM
1a35df8acb26bdcb307a1b8f60e9feba68ed1715
[ "MIT" ]
47
2020-03-08T08:43:28.000Z
2022-03-18T18:51:55.000Z
SWIM-Executables/Windows/pyinstaller-2.0 for windows/PyInstaller/hooks/hook-PyQt4.phonon.py
alexsigaras/SWIM
1a35df8acb26bdcb307a1b8f60e9feba68ed1715
[ "MIT" ]
null
null
null
SWIM-Executables/Windows/pyinstaller-2.0 for windows/PyInstaller/hooks/hook-PyQt4.phonon.py
alexsigaras/SWIM
1a35df8acb26bdcb307a1b8f60e9feba68ed1715
[ "MIT" ]
16
2020-03-08T08:43:30.000Z
2022-01-10T22:05:57.000Z
hiddenimports = ['sip', 'PyQt4.QtGui', 'PyQt4._qt'] from PyInstaller.hooks.hookutils import qt4_plugins_binaries def hook(mod): mod.binaries.extend(qt4_plugins_binaries('phonon_backend')) return mod
23.333333
63
0.757143
27
210
5.666667
0.740741
0.130719
0.235294
0
0
0
0
0
0
0
0
0.021622
0.119048
210
8
64
26.25
0.805405
0
0
0
0
0
0.17619
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
810b6e9e54a3c45eed3b42ac6920a9d12535f63c
6,579
py
Python
PyTradier/data.py
zlopez101/PyTradier
83397cf38bd636c471993b57fb71a12885affcb7
[ "MIT" ]
1
2021-04-30T23:59:20.000Z
2021-04-30T23:59:20.000Z
PyTradier/data.py
zlopez101/PyTradier
83397cf38bd636c471993b57fb71a12885affcb7
[ "MIT" ]
7
2021-05-08T00:47:59.000Z
2021-05-12T01:45:37.000Z
PyTradier/data.py
zlopez101/PyTradier
83397cf38bd636c471993b57fb71a12885affcb7
[ "MIT" ]
null
null
null
from PyTradier.base import BasePyTradier from typing import Union from datetime import datetime class MarketData(BasePyTradier): """All Methods currently only support string API calls, no datetime, bools, etc """ def quotes(self, symbols: Union[str, list], greeks: bool = False) -> dict: """Get a ...
42.173077
289
0.637635
815
6,579
5.10184
0.28589
0.023088
0.015152
0.026936
0.345358
0.303271
0.294372
0.181578
0.1633
0.140212
0
0.006038
0.26995
6,579
155
290
42.445161
0.859671
0.577899
0
0.274194
0
0
0.106649
0.058456
0
0
0
0
0
1
0.112903
false
0
0.064516
0
0.306452
0.032258
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
810c05c71eb3fa5c73eabbeb8e2c1122faa7ac10
3,528
py
Python
joulescope_ui/meter_widget.py
Axel-Jacobsen/pyjoulescope_ui
7d296b1ead0d36c6524dc399372f7888a340e9fa
[ "Apache-2.0" ]
1
2019-08-08T21:10:26.000Z
2019-08-08T21:10:26.000Z
joulescope_ui/meter_widget.py
Axel-Jacobsen/pyjoulescope_ui
7d296b1ead0d36c6524dc399372f7888a340e9fa
[ "Apache-2.0" ]
null
null
null
joulescope_ui/meter_widget.py
Axel-Jacobsen/pyjoulescope_ui
7d296b1ead0d36c6524dc399372f7888a340e9fa
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Jetperch LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
40.090909
122
0.693311
385
3,528
6.264935
0.425974
0.033168
0.026119
0.013267
0.067993
0
0
0
0
0
0
0.007379
0.193311
3,528
87
123
40.551724
0.840126
0.178571
0
0
0
0
0.089417
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.160714
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
810c343fb0a1f912fe6668116ca4d1081009f872
7,677
py
Python
rpyc/core/service.py
bbonf/rpyc
2c66dd6936a0d9e6e36c1ba0cda1139676acf95c
[ "MIT" ]
null
null
null
rpyc/core/service.py
bbonf/rpyc
2c66dd6936a0d9e6e36c1ba0cda1139676acf95c
[ "MIT" ]
null
null
null
rpyc/core/service.py
bbonf/rpyc
2c66dd6936a0d9e6e36c1ba0cda1139676acf95c
[ "MIT" ]
null
null
null
""" Services are the heart of RPyC: each side of the connection exposes a *service*, which define the capabilities available to the other side. Note that the services by both parties need not be symmetric, e.g., one side may exposed *service A*, while the other may expose *service B*. As long as the two can interopera...
34.426009
86
0.64804
917
7,677
5.237732
0.2988
0.022902
0.021237
0.009994
0.096814
0.082657
0.060379
0.034145
0.034145
0.034145
0
0.001753
0.256871
7,677
222
87
34.581081
0.84014
0.441188
0
0.13913
0
0
0.019369
0
0
0
0
0
0
1
0.165217
false
0.017391
0.069565
0.008696
0.565217
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
810c8d17b4b4f09855fad0d286b79401e57777c2
307
py
Python
tests/task/manager_test.py
altenia/taskmator
4090d414125614a57649c5c92a017c12a231a2ef
[ "MIT" ]
2
2015-06-06T04:59:53.000Z
2020-08-15T22:45:01.000Z
tests/task/manager_test.py
altenia/taskmator
4090d414125614a57649c5c92a017c12a231a2ef
[ "MIT" ]
1
2015-06-06T05:02:24.000Z
2015-06-06T05:02:24.000Z
tests/task/manager_test.py
altenia/taskmator
4090d414125614a57649c5c92a017c12a231a2ef
[ "MIT" ]
null
null
null
import unittest from testbase import TaskmatorTestBase from taskmator.task import core, util from taskmator import context class ManagerTest(TaskmatorTestBase): def testManager(self): print ("Pending") def main(): unittest.main() if __name__ == '__main__': unittest.main()
17.055556
38
0.710098
33
307
6.363636
0.606061
0.12381
0.152381
0
0
0
0
0
0
0
0
0
0.205212
307
17
39
18.058824
0.860656
0
0
0.181818
0
0
0.04886
0
0
0
0
0
0
1
0.181818
false
0
0.363636
0
0.636364
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
810ccb8df33ca9c859d68156c3d23f37b798cbf1
1,301
py
Python
tests/components/zwave_js/test_discovery.py
tbarbette/core
8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c
[ "Apache-2.0" ]
1
2020-12-18T12:23:04.000Z
2020-12-18T12:23:04.000Z
tests/components/zwave_js/test_discovery.py
tbarbette/core
8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c
[ "Apache-2.0" ]
60
2020-07-06T15:10:30.000Z
2022-03-31T06:01:46.000Z
tests/components/zwave_js/test_discovery.py
tbarbette/core
8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c
[ "Apache-2.0" ]
4
2017-01-10T04:17:33.000Z
2021-09-02T16:37:24.000Z
"""Test discovery of entities for device-specific schemas for the Z-Wave JS integration.""" async def test_iblinds_v2(hass, client, iblinds_v2, integration): """Test that an iBlinds v2.0 multilevel switch value is discovered as a cover.""" node = iblinds_v2 assert node.device_class.specific.label == "Unus...
34.236842
91
0.731745
186
1,301
4.946237
0.317204
0.058696
0.097826
0.117391
0.438043
0.343478
0.206522
0.136957
0.136957
0.136957
0
0.034291
0.170638
1,301
37
92
35.162162
0.81835
0.065334
0
0.333333
0
0
0.209544
0.170124
0
0
0
0
0.428571
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
1
0
0
0
0
0
0
0
0
0
1
810dcd1a1c119a6c004be66c020243fbafedf1ee
5,229
py
Python
boto3_type_annotations/boto3_type_annotations/guardduty/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
119
2018-12-01T18:20:57.000Z
2022-02-02T10:31:29.000Z
boto3_type_annotations/boto3_type_annotations/guardduty/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
15
2018-11-16T00:16:44.000Z
2021-11-13T03:44:18.000Z
boto3_type_annotations/boto3_type_annotations/guardduty/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
11
2019-05-06T05:26:51.000Z
2021-09-28T15:27:59.000Z
from typing import Optional from botocore.client import BaseClient from typing import Dict from typing import Union from botocore.paginate import Paginator from botocore.waiter import Waiter from typing import List class Client(BaseClient): def accept_invitation(self, DetectorId: str, InvitationId: str, MasterId:...
35.331081
175
0.669344
632
5,229
5.420886
0.143987
0.091944
0.13164
0.083187
0.701985
0.627262
0.518973
0.444542
0.380035
0.265908
0
0
0.229681
5,229
147
176
35.571429
0.850546
0
0
0.46
0
0
0
0
0
0
0
0
0
1
0.46
false
0.46
0.07
0
0.54
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
810e20d4bc8d21dc6f3aae023a1133ca2d856392
1,218
py
Python
test/workload/tpch_loop_workload_test.py
ChenYi015/Raven
e732e03f8dd118ed805a143fc6916f0e5fc53c2c
[ "Apache-2.0" ]
1
2022-03-03T05:54:25.000Z
2022-03-03T05:54:25.000Z
test/workload/tpch_loop_workload_test.py
ChenYi015/Raven
e732e03f8dd118ed805a143fc6916f0e5fc53c2c
[ "Apache-2.0" ]
null
null
null
test/workload/tpch_loop_workload_test.py
ChenYi015/Raven
e732e03f8dd118ed805a143fc6916f0e5fc53c2c
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Raven Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
26.478261
74
0.705255
157
1,218
5.363057
0.592357
0.071259
0.030879
0.038005
0
0
0
0
0
0
0
0.008359
0.214286
1,218
45
75
27.066667
0.871473
0.46798
0
0.086957
0
0
0.053628
0
0
0
0
0
0
1
0.043478
false
0
0.130435
0
0.173913
0.26087
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
810e3e3e48092c408dee59bf8a6eb974e84689eb
1,475
py
Python
Final-Project/server/art/serializers.py
wendy006/Web-Dev-Course
2f0cfddb7ab4db88ffb4483c7cd4a00abf36c720
[ "MIT" ]
null
null
null
Final-Project/server/art/serializers.py
wendy006/Web-Dev-Course
2f0cfddb7ab4db88ffb4483c7cd4a00abf36c720
[ "MIT" ]
null
null
null
Final-Project/server/art/serializers.py
wendy006/Web-Dev-Course
2f0cfddb7ab4db88ffb4483c7cd4a00abf36c720
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import * class CollectionSerializer(serializers.ModelSerializer): class Meta: model = Collection fields = ('collectionID', 'name', 'display_name', 'description', 'img_url') class ArtSerializer(serializers.ModelSerializer): img_url = ...
35.97561
124
0.626441
136
1,475
6.698529
0.5
0.059276
0.076839
0.115258
0.215148
0
0
0
0
0
0
0
0.247458
1,475
41
124
35.97561
0.820721
0
0
0.142857
0
0
0.168524
0
0
0
0
0
0
1
0.028571
false
0.142857
0.057143
0
0.485714
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
810f24ca6e713fb7958aa28861ebd60291bab8c3
2,089
bzl
Python
google/cloud/google_cloud_cpp_common_unit_tests.bzl
joezqren/google-cloud-cpp
325d312b0a21569f3c57515aec7d91f3540d3b48
[ "Apache-2.0" ]
null
null
null
google/cloud/google_cloud_cpp_common_unit_tests.bzl
joezqren/google-cloud-cpp
325d312b0a21569f3c57515aec7d91f3540d3b48
[ "Apache-2.0" ]
null
null
null
google/cloud/google_cloud_cpp_common_unit_tests.bzl
joezqren/google-cloud-cpp
325d312b0a21569f3c57515aec7d91f3540d3b48
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
34.245902
79
0.727621
297
2,089
4.845118
0.464646
0.166782
0.233495
0.037526
0
0
0
0
0
0
0
0.007959
0.15797
2,089
60
80
34.816667
0.810119
0.326472
0
0
0
0
0.726748
0.603461
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8111119b844622ccdb3004ede98c4e13a46f452c
398
py
Python
api/tests/ver1/test_base.py
codacy-badger/politico-api
10d926bf34f12631cb19bb9c82ccded36557c790
[ "MIT" ]
null
null
null
api/tests/ver1/test_base.py
codacy-badger/politico-api
10d926bf34f12631cb19bb9c82ccded36557c790
[ "MIT" ]
null
null
null
api/tests/ver1/test_base.py
codacy-badger/politico-api
10d926bf34f12631cb19bb9c82ccded36557c790
[ "MIT" ]
null
null
null
import unittest from api import create_app class TestBase(unittest.TestCase): """Default super class for api ver 1 tests""" # setup testing def setUp(self): self.app = create_app('testing') self.client = self.app.test_client() self.item_list = [] # deconstructs test elements ...
23.411765
49
0.640704
51
398
4.901961
0.54902
0.084
0.088
0
0
0
0
0
0
0
0
0.00339
0.258794
398
16
50
24.875
0.844068
0.203518
0
0
0
0
0.022581
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
811134f08b2c67534a9093ee9d1a20f045af6b48
865
py
Python
socialdistribution/app/templatetags/filters.py
CMPUT404-Project-Group/CMPUT404-Group-Project
e541cc609f260d7221fe0be8975c5b2444d74af0
[ "W3C-20150513" ]
null
null
null
socialdistribution/app/templatetags/filters.py
CMPUT404-Project-Group/CMPUT404-Group-Project
e541cc609f260d7221fe0be8975c5b2444d74af0
[ "W3C-20150513" ]
44
2021-10-14T15:44:46.000Z
2021-12-05T00:57:23.000Z
socialdistribution/app/templatetags/filters.py
CMPUT404-Project-Group/Social-Distribution-CMPUT404-Group-Project
e541cc609f260d7221fe0be8975c5b2444d74af0
[ "W3C-20150513" ]
1
2021-12-07T01:14:14.000Z
2021-12-07T01:14:14.000Z
from django import template from django.template.defaultfilters import stringfilter from django.utils.safestring import SafeString import markdown import urllib register = template.Library() @register.filter def strip_space(value): return value.replace(' ', '') @register.filter @stringfilter def commonmark(value...
23.378378
76
0.721387
117
865
5.25641
0.418803
0.136585
0.078049
0.068293
0
0
0
0
0
0
0
0.005405
0.144509
865
37
76
23.378378
0.825676
0.048555
0
0.111111
0
0
0.030941
0
0
0
0
0
0
1
0.222222
false
0
0.185185
0.148148
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
81118158b2fe646b1e3b2899f2e0b74a521117c9
3,234
py
Python
alipay/aop/api/domain/MetroOdItem.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/domain/MetroOdItem.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/domain/MetroOdItem.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.CloudbusUserInfo import CloudbusUserInfo class MetroOdItem(object): def __init__(self): self._dest_geo = None self._od = None self._time = None ...
26.95
70
0.548856
421
3,234
3.945368
0.114014
0.077062
0.093919
0.065021
0.267911
0.216135
0
0
0
0
0
0.000471
0.343847
3,234
119
71
27.176471
0.782281
0.012987
0
0.128713
0
0
0.072773
0
0
0
0
0
0
1
0.148515
false
0
0.029703
0.059406
0.277228
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
81145bece0e3560e4fd661b7085c6a1e4f6811f2
910
py
Python
djangocms_redirect/migrations/0003_auto_20190810_1009.py
vsalat/djangocms-redirect
a2577f08430b6b65ae4a51293f861b697bf4ab9d
[ "BSD-3-Clause" ]
null
null
null
djangocms_redirect/migrations/0003_auto_20190810_1009.py
vsalat/djangocms-redirect
a2577f08430b6b65ae4a51293f861b697bf4ab9d
[ "BSD-3-Clause" ]
null
null
null
djangocms_redirect/migrations/0003_auto_20190810_1009.py
vsalat/djangocms-redirect
a2577f08430b6b65ae4a51293f861b697bf4ab9d
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.2.4 on 2019-08-10 08:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('djangocms_redirect', '0002_auto_20170321_1807'), ] operations = [ migrations.AddField( model_name='redirect', name='...
37.916667
239
0.679121
109
910
5.559633
0.504587
0.034653
0.075908
0.089109
0.478548
0.478548
0.349835
0.349835
0.349835
0.349835
0
0.044476
0.234066
910
23
240
39.565217
0.824964
0.049451
0
0.352941
1
0.058824
0.418308
0.026651
0
0
0
0
0
1
0
false
0
0.058824
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
811898bc6c0124ca8489662af03fc5f7195a1876
5,191
py
Python
octopart/scrape_octopart.py
nicholaschiang/dl-datasheets
1c5ab2545a85c1ea7643fc655005259544617d90
[ "MIT" ]
null
null
null
octopart/scrape_octopart.py
nicholaschiang/dl-datasheets
1c5ab2545a85c1ea7643fc655005259544617d90
[ "MIT" ]
null
null
null
octopart/scrape_octopart.py
nicholaschiang/dl-datasheets
1c5ab2545a85c1ea7643fc655005259544617d90
[ "MIT" ]
1
2019-12-07T20:13:06.000Z
2019-12-07T20:13:06.000Z
#! /usr/bin/env python import sys import json import urllib import urllib2 import time import argparse import re # Category ID for Discrete Semiconductors > Transistors > BJTs TRANSISTOR_ID = b814751e89ff63d3 def find_total_hits(search_query): """ Function: find_total_hits -------------------- Return...
38.169118
97
0.571374
569
5,191
5.115993
0.363796
0.034009
0.019237
0.013054
0.231536
0.176572
0.138097
0.138097
0.138097
0.138097
0
0.014171
0.306685
5,191
135
98
38.451852
0.794665
0.199961
0
0.204545
0
0
0.191288
0
0
0
0
0
0
0
null
null
0
0.079545
null
null
0.136364
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
811909fd3d9bc00f5888c3293282a4df3cefdd8c
14,970
py
Python
extras/python/fogbench/__main__.py
foglamp/FogLAMP
918dff88b440e6ad580efdaa5f0fbdf4143a73d4
[ "Apache-2.0" ]
65
2017-05-15T21:55:04.000Z
2022-01-19T01:30:42.000Z
extras/python/fogbench/__main__.py
foglamp/FogLAMP
918dff88b440e6ad580efdaa5f0fbdf4143a73d4
[ "Apache-2.0" ]
576
2017-05-22T05:41:07.000Z
2020-02-13T07:48:58.000Z
extras/python/fogbench/__main__.py
foglamp/FogLAMP
918dff88b440e6ad580efdaa5f0fbdf4143a73d4
[ "Apache-2.0" ]
52
2017-05-09T22:45:47.000Z
2022-03-10T18:49:02.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # FOGLAMP_BEGIN # See: http://foglamp.readthedocs.io/ # FOGLAMP_END """ fogbench -- a Python script used to test FogLAMP. The objective is to simulate payloads for input, REST and other requests against one or more FogLAMP instances. This version of fogbench is meant ...
36.601467
122
0.638277
1,919
14,970
4.763418
0.205315
0.019692
0.020457
0.013128
0.213215
0.159611
0.118696
0.086314
0.082923
0.05076
0
0.026688
0.234068
14,970
408
123
36.691176
0.770539
0.167001
0
0.102439
0
0
0.169304
0.002327
0
0
0
0.004902
0
1
0.039024
false
0
0.068293
0
0.146341
0.029268
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
81197e9fdd38be14f8210f08e7cec2020796f260
19,888
py
Python
qiskit/ignis/mitigation/measurement/filters.py
paulineollitrault/qiskit-ignis
99f24ea6533cd284be4c44a48d43e54f62f05674
[ "Apache-2.0" ]
182
2019-02-19T22:52:42.000Z
2022-02-28T05:48:07.000Z
qiskit/ignis/mitigation/measurement/filters.py
paulineollitrault/qiskit-ignis
99f24ea6533cd284be4c44a48d43e54f62f05674
[ "Apache-2.0" ]
384
2019-02-19T21:30:18.000Z
2021-12-02T21:13:34.000Z
qiskit/ignis/mitigation/measurement/filters.py
paulineollitrault/qiskit-ignis
99f24ea6533cd284be4c44a48d43e54f62f05674
[ "Apache-2.0" ]
203
2019-02-19T21:06:27.000Z
2022-03-02T14:16:50.000Z
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modif...
40.422764
100
0.569389
2,404
19,888
4.493344
0.158486
0.022033
0.026662
0.013886
0.455934
0.408998
0.374097
0.288002
0.233753
0.233753
0
0.012043
0.352826
19,888
491
101
40.505092
0.827208
0.332864
0
0.336032
0
0
0.031934
0
0
0
0
0.002037
0
1
0.080972
false
0
0.036437
0.004049
0.190283
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
811a461fc321525abd67f11d9522903e94b00815
3,067
py
Python
2017/adv2017-1.py
fcharlier/AdventOfCode
6b2765da9e4d6f6b1f201897bb56043482a65bb2
[ "WTFPL" ]
null
null
null
2017/adv2017-1.py
fcharlier/AdventOfCode
6b2765da9e4d6f6b1f201897bb56043482a65bb2
[ "WTFPL" ]
null
null
null
2017/adv2017-1.py
fcharlier/AdventOfCode
6b2765da9e4d6f6b1f201897bb56043482a65bb2
[ "WTFPL" ]
null
null
null
#!/usr/bin/python def meh(captcha): """Returns the sum of the digits which match the next one in the captcha input string. >>> meh('1122') 3 >>> meh('1111') 4 >>> meh('1234') 0 >>> meh('91212129') 9 """ result = 0 for n in range(len(captcha)): if captcha[n]...
61.34
2,134
0.852625
125
3,067
20.856
0.384
0.018412
0.013042
0.015343
0.121979
0.121979
0.121979
0.121979
0.09206
0.09206
0
0.790824
0.097489
3,067
49
2,135
62.591837
0.151012
0.005217
0
0.5
0
0
0.818462
0.815385
0
1
0
0
0
0
null
null
0
0
null
null
0.125
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
1
1
null
1
0
0
0
1
0
0
0
0
0
0
0
0
8
811bbfb3266a619b867f934c6f82a6ecb7783e88
111,660
py
Python
pymatgen/analysis/graphs.py
Roy027/pymatgen
a4aa91d011033c1151b82335abd080e2b1a310d5
[ "MIT" ]
null
null
null
pymatgen/analysis/graphs.py
Roy027/pymatgen
a4aa91d011033c1151b82335abd080e2b1a310d5
[ "MIT" ]
null
null
null
pymatgen/analysis/graphs.py
Roy027/pymatgen
a4aa91d011033c1151b82335abd080e2b1a310d5
[ "MIT" ]
null
null
null
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. """ Module for graph representations of crystals. """ import copy import logging import os.path import subprocess import warnings from collections import defaultdict, namedtuple from itertools import combinati...
37.748479
118
0.579393
13,644
111,660
4.59528
0.079962
0.003445
0.010144
0.013015
0.679033
0.65538
0.635299
0.623082
0.608074
0.597068
0
0.006777
0.33791
111,660
2,957
119
37.761245
0.841307
0.33225
0
0.573937
0
0
0.062088
0
0
0
0
0.001015
0
1
0.049966
false
0.000675
0.01553
0.002701
0.113437
0.004051
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
811be09e8efd00c1aea606c4e23d536a962dbfd3
65
py
Python
maple/backend/singularity/__init__.py
akashdhruv/maple
11e562f51b18b2251ea507c629a1981b031d2f35
[ "MIT" ]
null
null
null
maple/backend/singularity/__init__.py
akashdhruv/maple
11e562f51b18b2251ea507c629a1981b031d2f35
[ "MIT" ]
5
2021-12-24T08:55:42.000Z
2022-02-13T16:59:30.000Z
maple/backend/singularity/__init__.py
akashdhruv/maple
11e562f51b18b2251ea507c629a1981b031d2f35
[ "MIT" ]
null
null
null
from . import image from . import container from . import system
16.25
23
0.769231
9
65
5.555556
0.555556
0.6
0
0
0
0
0
0
0
0
0
0
0.184615
65
3
24
21.666667
0.943396
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
811c0a3b1e48996b84a2d4750219f62c35f29d83
1,064
py
Python
articles/views.py
Ahmed-skb/blogyfy
2cfa3d9503f1846ccd89c2bf1934293eb97ad44a
[ "MIT" ]
null
null
null
articles/views.py
Ahmed-skb/blogyfy
2cfa3d9503f1846ccd89c2bf1934293eb97ad44a
[ "MIT" ]
null
null
null
articles/views.py
Ahmed-skb/blogyfy
2cfa3d9503f1846ccd89c2bf1934293eb97ad44a
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.http import HttpResponse from .models import Article from django.contrib.auth.decorators import login_required from . import forms def Articles(request): articles = Article.objects.all().order_by('date') return render(request, 'articles/article_list.htm...
34.322581
81
0.693609
125
1,064
5.824
0.408
0.082418
0.120879
0.111264
0.14011
0
0
0
0
0
0
0
0.190789
1,064
30
82
35.466667
0.845528
0.041353
0
0
0
0
0.135693
0.081613
0
0
0
0
0
1
0.130435
false
0
0.217391
0
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
811c9730165b0d65d78610ed7c5cc6d9f073addc
5,039
py
Python
sifter/grammar/grammar.py
russell/sifter
03e85349fd2329439ae3f7eb3c1f484ba2ebf807
[ "BSD-2-Clause" ]
null
null
null
sifter/grammar/grammar.py
russell/sifter
03e85349fd2329439ae3f7eb3c1f484ba2ebf807
[ "BSD-2-Clause" ]
null
null
null
sifter/grammar/grammar.py
russell/sifter
03e85349fd2329439ae3f7eb3c1f484ba2ebf807
[ "BSD-2-Clause" ]
1
2020-08-19T06:30:47.000Z
2020-08-19T06:30:47.000Z
# Parser based on RFC 5228, especially the grammar as defined in section 8. All # references are to sections in RFC 5228 unless stated otherwise. import ply.yacc import sifter.grammar from sifter.grammar.lexer import tokens import sifter.handler import logging __all__ = ('parser',) def parser(**kwargs): return...
29.467836
81
0.581663
695
5,039
4.14964
0.164029
0.017337
0.010402
0.078017
0.460125
0.407767
0.388696
0.345007
0.333911
0.29577
0
0.024494
0.254614
5,039
170
82
29.641176
0.743344
0.227228
0
0.352381
0
0
0.169852
0
0
0
0
0
0
1
0.209524
false
0
0.047619
0.009524
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
1
0
0
0
0
0
0
0
1
811ce2660d66f66cb91158b2b6a72ae00e0a02c5
3,904
py
Python
multidoc_mnb.py
dropofwill/author-attr-experiments
a90e2743591358a6253f3b3664f5e398517f84bc
[ "Unlicense" ]
2
2015-01-06T12:53:39.000Z
2018-02-01T13:57:09.000Z
multidoc_mnb.py
dropofwill/author-attr-experiments
a90e2743591358a6253f3b3664f5e398517f84bc
[ "Unlicense" ]
null
null
null
multidoc_mnb.py
dropofwill/author-attr-experiments
a90e2743591358a6253f3b3664f5e398517f84bc
[ "Unlicense" ]
null
null
null
from sklearn import datasets from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.feature_extraction.text import CountVectorizer from sklearn.cross_validation import train_test_split from sklearn.cross_validation import cross_val_score from sklearn.cross_validation import ShuffleSplit from sklearn....
27.111111
175
0.733863
636
3,904
4.323899
0.319182
0.018182
0.022909
0.037818
0.159273
0.104727
0.042909
0.018909
0
0
0
0.017748
0.119621
3,904
144
176
27.111111
0.782368
0.157018
0
0.04
0
0
0.072816
0
0
0
0
0
0
0
null
null
0
0.226667
null
null
0.053333
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
811e73ee0c3fc584081650f0224040703f26ea00
386
py
Python
tabular/__init__.py
yamins81/tabular
1caf091c8c395960a9ad7078f95158b533cc52dd
[ "MIT" ]
6
2015-05-24T20:59:31.000Z
2021-05-31T14:34:18.000Z
tabular/__init__.py
yamins81/tabular
1caf091c8c395960a9ad7078f95158b533cc52dd
[ "MIT" ]
3
2016-06-17T20:02:27.000Z
2020-02-13T19:20:40.000Z
tabular/__init__.py
yamins81/tabular
1caf091c8c395960a9ad7078f95158b533cc52dd
[ "MIT" ]
8
2015-08-22T17:09:40.000Z
2022-02-10T14:47:40.000Z
import io import fast import spreadsheet import tab import utils import web from io import * from fast import * from spreadsheet import * from tab import * from utils import * from web import * __all__ = [] __all__.extend(io.__all__) __all__.extend(fast.__all__) __all__.extend(spreadsheet.__all__) __all__.extend(tab....
18.380952
35
0.795337
55
386
4.636364
0.181818
0.141176
0.282353
0
0
0
0
0
0
0
0
0
0.119171
386
21
36
18.380952
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.631579
0
0.631579
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
811eb205fb191ad48270915e49e393d586962cb9
26,184
py
Python
smipyping/_targetstable.py
KSchopmeyer/smipyping
9c60b3489f02592bd9099b8719ca23ae43a9eaa5
[ "MIT" ]
null
null
null
smipyping/_targetstable.py
KSchopmeyer/smipyping
9c60b3489f02592bd9099b8719ca23ae43a9eaa5
[ "MIT" ]
19
2017-10-18T15:31:25.000Z
2020-03-04T19:31:59.000Z
smipyping/_targetstable.py
KSchopmeyer/smipyping
9c60b3489f02592bd9099b8719ca23ae43a9eaa5
[ "MIT" ]
null
null
null
# (C) Copyright 2017 Inova Development Inc. # All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
37.512894
80
0.588718
3,079
26,184
4.871387
0.169211
0.018335
0.012801
0.010667
0.185812
0.146343
0.133009
0.114874
0.099073
0.078539
0
0.004404
0.323595
26,184
697
81
37.566714
0.842471
0.331424
0
0.230986
0
0
0.143384
0
0
0
0
0.015782
0
1
0.084507
false
0.002817
0.03662
0
0.208451
0.016901
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
811f8f9936b98c79ae19160b05e347adf2265632
1,131
py
Python
dev/Code/Framework/AzFramework/CodeGen/AzEBusInline.py
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Code/Framework/AzFramework/CodeGen/AzEBusInline.py
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Code/Framework/AzFramework/CodeGen/AzEBusInline.py
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
# # All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or # its licensors. # # For complete copyright and license terms please see the LICENSE at the root of this # distribution (the "License"). All use of this software is governed by the License, # or, if provided, by the license below or th...
39
95
0.763042
162
1,131
5.166667
0.580247
0.059737
0.028674
0
0
0
0
0
0
0
0
0
0.16534
1,131
28
96
40.392857
0.886653
0.480106
0
0
0
0
0.060764
0
0
0
0
0
0
1
0.25
false
0
0.25
0.083333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
812066ffbcb9013a2cc703f8d57626a63964c5af
9,057
py
Python
QUANTAXIS/QASU/crawl_eastmoney.py
QUANTAXISER/QUANTAXIS
6ebd727b2900e8910fa45814bf45eeffca395250
[ "MIT" ]
1
2018-09-09T02:55:10.000Z
2018-09-09T02:55:10.000Z
QUANTAXIS/QASU/crawl_eastmoney.py
frosthaoz/QUANTAXIS
f5f482418e5f6e23ac3530089b8d17300d931b48
[ "MIT" ]
null
null
null
QUANTAXIS/QASU/crawl_eastmoney.py
frosthaoz/QUANTAXIS
f5f482418e5f6e23ac3530089b8d17300d931b48
[ "MIT" ]
3
2018-11-29T07:07:56.000Z
2021-02-09T17:24:56.000Z
import os from QUANTAXIS.QASetting import QALocalize #from QUANTAXIS_CRAWLY.run_selenium_alone import (read_east_money_page_zjlx_to_sqllite, open_chrome_driver, close_chrome_dirver) from QUANTAXIS_CRAWLY.run_selenium_alone import * import urllib import pandas as pd import time from QUANTAXIS.QAUtil import (DATABASE) ...
30.392617
128
0.510765
891
9,057
4.98541
0.259259
0.02679
0.019811
0.027015
0.110311
0.086898
0.069338
0.037371
0.037371
0.020261
0
0.034689
0.372971
9,057
298
129
30.392617
0.745026
0.25207
0
0.072581
0
0
0.088015
0.007803
0
0
0
0.010067
0
1
0.016129
false
0.008065
0.056452
0
0.08871
0.064516
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
8120aa4d76824186b0ed660869921ca64f9eaede
667
py
Python
wsgi.py
javicacheiro/salt-git-synchronizer-proxy
c93de5c0b26afe2b9ec72156497894df7f15d692
[ "Apache-2.0" ]
null
null
null
wsgi.py
javicacheiro/salt-git-synchronizer-proxy
c93de5c0b26afe2b9ec72156497894df7f15d692
[ "Apache-2.0" ]
null
null
null
wsgi.py
javicacheiro/salt-git-synchronizer-proxy
c93de5c0b26afe2b9ec72156497894df7f15d692
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import logging import sys from app import app as application def setup_flask_logging(): # Log to stdout handler = logging.StreamHandler(sys.stdout) # Log to a file #handler = logging.FileHandler('./application.log') handler.setLevel(logging.INFO) handler.setFormatter(logg...
24.703704
64
0.721139
84
667
5.583333
0.583333
0.042644
0.072495
0
0
0
0
0
0
0
0
0
0.169415
667
26
65
25.653846
0.84657
0.290855
0
0
0
0
0.132762
0
0
0
0
0
0
1
0.071429
false
0
0.214286
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
8120c7633f5990d446bca4c8a9b2275a25f1de63
202
py
Python
game/base/enemy.py
PythonixCoders/PyWeek29
5c7492466481dec40619272a3da7fa4b9a72c1d6
[ "MIT" ]
8
2020-03-15T14:58:46.000Z
2020-04-26T13:44:10.000Z
game/base/enemy.py
flipcoder/Butterfly-Destroyers
855b1981ea67796e0ce0d82b525a1cb75a9e358b
[ "MIT" ]
null
null
null
game/base/enemy.py
flipcoder/Butterfly-Destroyers
855b1981ea67796e0ce0d82b525a1cb75a9e358b
[ "MIT" ]
4
2020-03-23T12:38:55.000Z
2021-12-25T16:32:54.000Z
#!/usr/bin/env python from game.base.being import Being class Enemy(Being): def __init__(self, app, scene, **kwargs): super().__init__(app, scene, **kwargs) self.friendly = False
20.2
46
0.648515
27
202
4.555556
0.740741
0.130081
0.227642
0
0
0
0
0
0
0
0
0
0.207921
202
9
47
22.444444
0.76875
0.09901
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
8120d71f9f5dd96debf5a9a973a1d872ce6a5597
561
py
Python
main/rates/migrations/0002_auto_20170625_1510.py
Hawk94/coin_tracker
082909e17308a8dd460225c1b035751d12a27106
[ "MIT" ]
null
null
null
main/rates/migrations/0002_auto_20170625_1510.py
Hawk94/coin_tracker
082909e17308a8dd460225c1b035751d12a27106
[ "MIT" ]
null
null
null
main/rates/migrations/0002_auto_20170625_1510.py
Hawk94/coin_tracker
082909e17308a8dd460225c1b035751d12a27106
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-06-25 15:10 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('rates', '0001_initial'), ] operations = [ migrations.RenameField( model...
21.576923
48
0.568627
60
561
5.05
0.633333
0.138614
0.171617
0.19802
0.270627
0.270627
0.270627
0
0
0
0
0.054545
0.313725
561
25
49
22.44
0.732468
0.121212
0
0.333333
1
0
0.12449
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8120ff16ad9dc50c24922ea0574196c48067cace
2,357
py
Python
setup.py
dojeda/quetzal-openapi-client
d9d4dc99bb425a3f89dcbb80d5096f554bc42fff
[ "BSD-3-Clause" ]
null
null
null
setup.py
dojeda/quetzal-openapi-client
d9d4dc99bb425a3f89dcbb80d5096f554bc42fff
[ "BSD-3-Clause" ]
1
2019-09-17T09:11:01.000Z
2019-09-17T09:11:01.000Z
setup.py
dojeda/quetzal-openapi-client
d9d4dc99bb425a3f89dcbb80d5096f554bc42fff
[ "BSD-3-Clause" ]
1
2021-04-28T13:06:38.000Z
2021-04-28T13:06:38.000Z
# coding: utf-8 """ Quetzal API Quetzal: an API to manage data files and their associated metadata. OpenAPI spec version: 0.5.0 Contact: support@quetz.al Generated by: https://openapi-generator.tech """ from setuptools import setup, find_packages # noqa: H301 NAME = "quetzal-openapi-client" V...
32.287671
85
0.666101
283
2,357
5.5053
0.477032
0.026958
0.077022
0.050064
0.148909
0.114249
0.114249
0.114249
0.061617
0.061617
0
0.014041
0.184132
2,357
72
86
32.736111
0.796152
0.142554
0
0
1
0
0.646526
0.033233
0
0
0
0
0
1
0
false
0
0.020833
0
0.020833
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
81229a54be34a90af845ce0b0f142321ea5ad691
11,115
py
Python
youtube_dl/extractor/turner.py
jonyg80/youtube-dl
ef3a87fb77891329de1d3dbebfee53bf50645261
[ "Unlicense" ]
66,635
2019-03-10T21:34:18.000Z
2022-03-31T23:50:31.000Z
youtube_dl/extractor/turner.py
jonyg80/youtube-dl
ef3a87fb77891329de1d3dbebfee53bf50645261
[ "Unlicense" ]
10,936
2019-03-10T21:35:47.000Z
2022-03-31T23:46:52.000Z
youtube_dl/extractor/turner.py
jonyg80/youtube-dl
ef3a87fb77891329de1d3dbebfee53bf50645261
[ "Unlicense" ]
15,194
2019-03-10T21:09:27.000Z
2022-03-31T22:13:49.000Z
# coding: utf-8 from __future__ import unicode_literals import re from .adobepass import AdobePassIE from ..compat import compat_str from ..utils import ( fix_xml_ampersands, xpath_text, int_or_none, determine_ext, float_or_none, parse_duration, xpath_attr, update_url_query, Extrac...
42.586207
134
0.506163
1,173
11,115
4.499574
0.197783
0.045472
0.03183
0.040925
0.14172
0.056461
0.034862
0.025009
0
0
0
0.007947
0.377328
11,115
260
135
42.75
0.75466
0.087449
0
0.171296
0
0.00463
0.106288
0.011568
0
0
0
0.003846
0
1
0.018519
false
0.009259
0.023148
0.00463
0.078704
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
81231c1bf7b40bb3a00ed96fce4e7257f1de32c5
1,188
py
Python
ml/sandbox/00-data.py
robk-dev/algo-trading
aa8d76ee739431ab24407fe094e0753c588dc8c6
[ "MIT" ]
1
2021-03-14T23:52:04.000Z
2021-03-14T23:52:04.000Z
ml/sandbox/00-data.py
robk-dev/algo-trading
aa8d76ee739431ab24407fe094e0753c588dc8c6
[ "MIT" ]
null
null
null
ml/sandbox/00-data.py
robk-dev/algo-trading
aa8d76ee739431ab24407fe094e0753c588dc8c6
[ "MIT" ]
null
null
null
from alpha_vantage.timeseries import TimeSeries from pprint import pprint import json import argparse def save_dataset(symbol='MSFT', time_window='daily_adj'): credentials = json.load(open('creds.json', 'r')) api_key = credentials['av_api_key'] print(symbol, time_window) ts = TimeSeries(key=api_key, o...
34.941176
125
0.683502
156
1,188
4.961538
0.435897
0.090439
0.05814
0.054264
0.164083
0.142119
0
0
0
0
0
0.003099
0.185185
1,188
33
126
36
0.796488
0
0
0
0
0
0.208754
0.023569
0
0
0
0
0
1
0.04
false
0
0.16
0
0.2
0.12
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
8123847da358e93698586a58b0a106958f59df07
12,570
py
Python
tests/zpill.py
al3pht/cloud-custodian
ce6613d1b716f336384c5e308eee300389e6bf50
[ "Apache-2.0" ]
2,415
2018-12-04T00:37:58.000Z
2022-03-31T12:28:56.000Z
tests/zpill.py
al3pht/cloud-custodian
ce6613d1b716f336384c5e308eee300389e6bf50
[ "Apache-2.0" ]
3,272
2018-12-03T23:58:17.000Z
2022-03-31T21:15:32.000Z
tests/zpill.py
al3pht/cloud-custodian
ce6613d1b716f336384c5e308eee300389e6bf50
[ "Apache-2.0" ]
773
2018-12-06T09:43:23.000Z
2022-03-30T20:44:43.000Z
# Copyright The Cloud Custodian Authors. # SPDX-License-Identifier: Apache-2.0 import fnmatch from io import StringIO import json import os import shutil import zipfile import re from datetime import datetime, timedelta, tzinfo from distutils.util import strtobool import boto3 import placebo from botocore.response imp...
33.699732
93
0.605091
1,510
12,570
4.872848
0.235099
0.014678
0.012232
0.011416
0.249796
0.194618
0.184697
0.143789
0.098396
0.098396
0
0.005536
0.281464
12,570
372
94
33.790323
0.809123
0.127765
0
0.155642
0
0
0.058994
0
0
0
0
0
0.003891
1
0.093385
false
0.003891
0.058366
0.015564
0.291829
0.007782
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
8123d51391f52c37336172ab4d3305871857e10f
16,865
py
Python
flexget/tests/test_next_series_seasons.py
metaMMA/Flexget
a38986422461d7935ead1e2b4ed4c88bcd0a90f5
[ "MIT" ]
null
null
null
flexget/tests/test_next_series_seasons.py
metaMMA/Flexget
a38986422461d7935ead1e2b4ed4c88bcd0a90f5
[ "MIT" ]
1
2017-10-09T23:06:44.000Z
2017-10-09T23:06:44.000Z
flexget/tests/test_next_series_seasons.py
metaMMA/Flexget
a38986422461d7935ead1e2b4ed4c88bcd0a90f5
[ "MIT" ]
null
null
null
from __future__ import unicode_literals, division, absolute_import from builtins import * # noqa pylint: disable=unused-import, redefined-builtin import pytest from flexget.entry import Entry # TODO Add more standard tests class TestNextSeriesSeasonSeasonsPack(object): _config = """ templates: ...
37.645089
116
0.520308
1,771
16,865
4.528515
0.083569
0.198254
0.135661
0.144015
0.653865
0.623691
0.578429
0.545885
0.500998
0.449127
0
0.062229
0.411147
16,865
447
117
37.729306
0.745343
0.017729
0
0.415704
0
0
0.720904
0.238449
0
0
0
0.002237
0.009238
1
0.009238
false
0
0.009238
0
0.025404
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8123dd148da3e7a93c319e5be784b12da6c27afd
22,630
py
Python
pymatgen/analysis/wulff.py
hpatel1567/pymatgen
8304b25464206c74305214e45935df90bab95500
[ "MIT" ]
1
2020-02-08T08:20:45.000Z
2020-02-08T08:20:45.000Z
pymatgen/analysis/wulff.py
hpatel1567/pymatgen
8304b25464206c74305214e45935df90bab95500
[ "MIT" ]
null
null
null
pymatgen/analysis/wulff.py
hpatel1567/pymatgen
8304b25464206c74305214e45935df90bab95500
[ "MIT" ]
null
null
null
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. """ This module define a WulffShape class to generate the Wulff shape from a lattice, a list of indices and their corresponding surface energies, and the total area and volume of the wulff shape,the weighted su...
35.194401
107
0.576712
3,024
22,630
4.115741
0.164683
0.024747
0.008436
0.014462
0.186405
0.127029
0.102925
0.070946
0.063555
0.052627
0
0.015858
0.328458
22,630
642
108
35.249221
0.803119
0.315068
0
0.088816
1
0
0.021338
0
0
0
0
0
0
1
0.078947
false
0
0.039474
0
0.197368
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
8124c6b98bb9251fb25a500d047b7426b2a988cd
2,721
py
Python
ccg/supertagger/any2int.py
stanojevic/ccgtools
d87521d66fcd1b3110fbecc6b78b15a60e5095a3
[ "MIT" ]
null
null
null
ccg/supertagger/any2int.py
stanojevic/ccgtools
d87521d66fcd1b3110fbecc6b78b15a60e5095a3
[ "MIT" ]
null
null
null
ccg/supertagger/any2int.py
stanojevic/ccgtools
d87521d66fcd1b3110fbecc6b78b15a60e5095a3
[ "MIT" ]
null
null
null
class Any2Int: def __init__(self, min_count: int, include_UNK: bool, include_PAD: bool): self.min_count = min_count self.include_UNK = include_UNK self.include_PAD = include_PAD self.frozen = False self.UNK_i = -1 self.UNK_s = "<UNK>" self.PAD_i = -2 ...
30.573034
118
0.529585
373
2,721
3.646113
0.19571
0.061765
0.061765
0.039706
0.172794
0.060294
0.060294
0.041176
0
0
0
0.02926
0.359427
2,721
88
119
30.920455
0.751004
0
0
0.146667
0
0
0.037882
0
0
0
0
0
0.053333
1
0.146667
false
0
0
0.053333
0.28
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
812522326c06afbf43f1bd6cee31bd8b7b273277
6,805
py
Python
app/sensor.py
sosprz/nettemp
334b3124263267c931bd7dc5c1bd8eb70614b4ef
[ "MIT" ]
51
2015-01-03T01:37:25.000Z
2021-11-03T18:07:42.000Z
app/sensor.py
sosprz/nettemp
334b3124263267c931bd7dc5c1bd8eb70614b4ef
[ "MIT" ]
18
2015-03-06T18:46:51.000Z
2021-04-02T08:02:01.000Z
app/sensor.py
sosprz/nettemp
334b3124263267c931bd7dc5c1bd8eb70614b4ef
[ "MIT" ]
51
2015-02-04T18:53:54.000Z
2022-02-16T20:40:45.000Z
from app import app from flask import Flask, request, jsonify, g import sqlite3 import os import json from random import randint from flask_jwt_extended import jwt_required import datetime from flask_mysqldb import MySQL mysql = MySQL() def get_db(rom): db = getattr(g, '_database', None) if db is None: ...
27.439516
246
0.603527
1,032
6,805
3.898256
0.175388
0.029828
0.022371
0.023863
0.429779
0.331842
0.311956
0.272931
0.216008
0.209545
0
0.020147
0.24144
6,805
247
247
27.550607
0.759202
0.001763
0
0.306977
0
0.027907
0.288218
0.02651
0
0
0
0
0
1
0.055814
false
0
0.04186
0
0.162791
0.055814
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