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
48ba4f165b3430e0ef9885d29722f28bf1be64bd
687
py
Python
chapter2-5-your-code-in-multiple-servers/packer/webapp.py
andrecp/devops-fundamentals-to-k8s
9ea1cfdcfcc07faf195bd26faa5917628385cdfc
[ "MIT" ]
null
null
null
chapter2-5-your-code-in-multiple-servers/packer/webapp.py
andrecp/devops-fundamentals-to-k8s
9ea1cfdcfcc07faf195bd26faa5917628385cdfc
[ "MIT" ]
null
null
null
chapter2-5-your-code-in-multiple-servers/packer/webapp.py
andrecp/devops-fundamentals-to-k8s
9ea1cfdcfcc07faf195bd26faa5917628385cdfc
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import json from http.server import HTTPServer, BaseHTTPRequestHandler num_requests = 0 class Handler(BaseHTTPRequestHandler): def _set_headers(self): self.send_response(200) self.send_header("Content-type", "application/json") self.end_headers() def do_GET(self...
27.48
75
0.678311
89
687
4.966292
0.539326
0.027149
0.027149
0.099548
0.036199
0
0
0
0
0
0
0.041818
0.199418
687
24
76
28.625
0.761818
0.030568
0
0
0
0
0.144361
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.277778
0.055556
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
48bb6abe88059d9888226636da8508d01f476cba
3,896
py
Python
retarget/make_data.py
EggPool/rx-experiments
a8659a94e1b0822a9e7f4121407fb2b5ededa192
[ "MIT" ]
1
2021-06-20T16:58:21.000Z
2021-06-20T16:58:21.000Z
retarget/make_data.py
EggPool/rx-experiments
a8659a94e1b0822a9e7f4121407fb2b5ededa192
[ "MIT" ]
null
null
null
retarget/make_data.py
EggPool/rx-experiments
a8659a94e1b0822a9e7f4121407fb2b5ededa192
[ "MIT" ]
2
2019-11-26T12:18:18.000Z
2022-03-28T19:22:55.000Z
""" Create data for simulations (c) 2019 - EggdraSyl """ import json # from mockup import Blockchain, Block from minersimulator import MinerSimulator from math import sin, pi SPECIAL_MIN_TIME = 5 * 60 def init_stable( start, end, block_time=60, target="0000000000000028acfa28a803d200000000000000000...
30.4375
91
0.641427
492
3,896
4.869919
0.20122
0.041319
0.035058
0.027129
0.376878
0.351419
0.321369
0.31177
0.31177
0.31177
0
0.182911
0.231006
3,896
127
92
30.677165
0.616822
0.028234
0
0.421569
0
0
0.216044
0.131056
0
0
0
0
0
1
0.04902
false
0
0.029412
0
0.078431
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
48bb8a2d0cac5d726a9c18529c0114315a34c2c3
13,473
py
Python
software/pynguin/tests/testcase/statements/test_primitivestatements.py
se2p/artifact-pynguin-ssbse2020
32b5f4d27ef1b81e5c541471e98fa6e50f5ce8a6
[ "CC-BY-4.0" ]
3
2020-08-20T10:27:13.000Z
2021-11-02T20:28:16.000Z
software/pynguin/tests/testcase/statements/test_primitivestatements.py
se2p/artifact-pynguin-ssbse2020
32b5f4d27ef1b81e5c541471e98fa6e50f5ce8a6
[ "CC-BY-4.0" ]
null
null
null
software/pynguin/tests/testcase/statements/test_primitivestatements.py
se2p/artifact-pynguin-ssbse2020
32b5f4d27ef1b81e5c541471e98fa6e50f5ce8a6
[ "CC-BY-4.0" ]
null
null
null
# This file is part of Pynguin. # # Pynguin 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 3 of the License, or # (at your option) any later version. # # Pynguin is distributed in the ho...
34.724227
88
0.720255
1,574
13,473
5.899619
0.113723
0.06289
0.062029
0.040706
0.766638
0.697717
0.616627
0.51583
0.477385
0.429464
0
0.011713
0.188896
13,473
387
89
34.813953
0.838031
0.047948
0
0.514754
0
0
0.061895
0.049407
0
0
0
0
0.114754
1
0.108197
false
0
0.02623
0
0.134426
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
48bbe200dfeacc3fe42e8fdff56e3de41ac32c2b
725
py
Python
src/data/download/datasets/download_tencent_test.py
lcn-kul/conferencing-speech-2022
1089b2baaf2fcf3ac8ef44c65b80da2e5b2c331b
[ "MIT" ]
1
2022-03-30T15:06:18.000Z
2022-03-30T15:06:18.000Z
src/data/download/datasets/download_tencent_test.py
lcn-kul/conferencing-speech-2022
1089b2baaf2fcf3ac8ef44c65b80da2e5b2c331b
[ "MIT" ]
null
null
null
src/data/download/datasets/download_tencent_test.py
lcn-kul/conferencing-speech-2022
1089b2baaf2fcf3ac8ef44c65b80da2e5b2c331b
[ "MIT" ]
null
null
null
from pathlib import Path from src import constants from src.data.download.utils.download_dataset_zip import download_dataset_zip def download_tencent_test( tmp_dir: Path = None, tqdm_name: str = None, tqdm_idx: int = None, ): """Download the test set of the Tencent Corpus and extract it to the ap...
25.892857
77
0.714483
100
725
4.78
0.39
0.138075
0.112971
0
0
0
0
0
0
0
0
0.001742
0.208276
725
27
78
26.851852
0.83101
0.121379
0
0
0
0
0.043062
0
0
0
0
0
0
1
0.052632
false
0
0.157895
0
0.210526
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
48bc6e9f0498c16dbcd64706a2f744500361365e
8,516
py
Python
ga4gh/search/compliance/util/local_server.py
ga4gh-discovery/ga4gh-search-compliance
58c693ca2f96d145f4ccba08aec23e4ebe1f7599
[ "Apache-2.0" ]
null
null
null
ga4gh/search/compliance/util/local_server.py
ga4gh-discovery/ga4gh-search-compliance
58c693ca2f96d145f4ccba08aec23e4ebe1f7599
[ "Apache-2.0" ]
null
null
null
ga4gh/search/compliance/util/local_server.py
ga4gh-discovery/ga4gh-search-compliance
58c693ca2f96d145f4ccba08aec23e4ebe1f7599
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """Module compliance_suite.report_server.py This module contains class definition of small web server utility. Serves final report results as HTML. """ import datetime import time import http.server import socketserver import os import logging import inspect import socket import webbrowser imp...
33.136187
83
0.516557
918
8,516
4.638344
0.298475
0.014796
0.014091
0.012682
0.091592
0.041334
0.026773
0.026773
0.026773
0
0
0.006591
0.376468
8,516
256
84
33.265625
0.795292
0.207727
0
0.063584
0
0
0.151115
0.005534
0
0
0
0
0
1
0.052023
false
0.028902
0.092486
0
0.16185
0.00578
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
48bd4369d1643a3a728218455de1ea42bfd683e8
8,084
py
Python
lectures/extensions/hyperbolic_discounting/replication_code/.mywaflib/waflib/extras/rst.py
loikein/ekw-lectures
a2f5436f10515ab26eab323fca8c37c91bdc5dcd
[ "MIT" ]
4
2019-11-15T15:21:27.000Z
2020-07-08T15:04:30.000Z
lectures/extensions/hyperbolic_discounting/replication_code/.mywaflib/waflib/extras/rst.py
loikein/ekw-lectures
a2f5436f10515ab26eab323fca8c37c91bdc5dcd
[ "MIT" ]
9
2019-11-18T15:54:36.000Z
2020-07-14T13:56:53.000Z
lectures/extensions/hyperbolic_discounting/replication_code/.mywaflib/waflib/extras/rst.py
loikein/ekw-lectures
a2f5436f10515ab26eab323fca8c37c91bdc5dcd
[ "MIT" ]
3
2021-01-25T15:41:30.000Z
2021-09-21T08:51:36.000Z
#!/usr/bin/env python # Jérôme Carretero, 2013 (zougloub) """ reStructuredText support (experimental) Example:: def configure(conf): conf.load('rst') if not conf.env.RST2HTML: conf.fatal('The program rst2html is required') def build(bld): bld( features = 'rst', type = 'rst2html', # rst2html, rst...
29.289855
114
0.593147
1,067
8,084
4.407685
0.240862
0.030406
0.020413
0.023815
0.244737
0.217946
0.179247
0.179247
0.152881
0.125452
0
0.009557
0.2881
8,084
275
115
29.396364
0.807646
0.185304
0
0.254545
0
0.012121
0.123154
0.005176
0
0
0
0.003636
0.006061
1
0.078788
false
0.006061
0.048485
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
48bf7ed2085cdea54fbe4837b4e8e76a67b7373c
1,339
py
Python
mofa/analytics/tests/test_participationAnalytics/test_quizParticipation.py
BoxInABoxICT/BoxPlugin
ad351978faa37ab867a86d2f4023a2b3e5a2ce19
[ "Apache-2.0" ]
null
null
null
mofa/analytics/tests/test_participationAnalytics/test_quizParticipation.py
BoxInABoxICT/BoxPlugin
ad351978faa37ab867a86d2f4023a2b3e5a2ce19
[ "Apache-2.0" ]
null
null
null
mofa/analytics/tests/test_participationAnalytics/test_quizParticipation.py
BoxInABoxICT/BoxPlugin
ad351978faa37ab867a86d2f4023a2b3e5a2ce19
[ "Apache-2.0" ]
null
null
null
import unittest import json import os from unittest.mock import MagicMock, patch from analytics.src.participationAnalytics import quizParticipation class TestQuizParticipation(unittest.TestCase): @patch("analytics.src.participationAnalytics.quizParticipation.runQuery") def test_generateData(self, lrs_mock):...
32.658537
77
0.657207
153
1,339
5.640523
0.418301
0.032445
0.118192
0.069525
0.413673
0.371958
0.293163
0.192352
0.192352
0
0
0.00782
0.235997
1,339
40
78
33.475
0.835777
0.128454
0
0.086957
0
0
0.24709
0.112802
0
0
0
0
0.086957
1
0.086957
false
0
0.217391
0
0.347826
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
48bf9da5843cf6858ec4f1074f331bc92553a1cd
1,171
py
Python
visualize_cam.py
mhamdan91/Gradcam_eager
ee732ff65256ef1692caf94c8c0b4bdbe22d2d1d
[ "MIT" ]
2
2019-09-19T18:08:26.000Z
2019-10-11T12:42:22.000Z
visualize_cam.py
mhamdan91/Gradcam_eager
ee732ff65256ef1692caf94c8c0b4bdbe22d2d1d
[ "MIT" ]
null
null
null
visualize_cam.py
mhamdan91/Gradcam_eager
ee732ff65256ef1692caf94c8c0b4bdbe22d2d1d
[ "MIT" ]
null
null
null
# from utils import Sample_main import gradcam_main import numpy as np import tensorflow as tf import argparse import os tf.logging.set_verbosity(tf.logging.ERROR) # disable to see tensorflow warnings def cam(in_path='sample.bmp', out_path = 'sample.png',): gradcam_main.cam_vis(in_path, out_path) def main(): ...
34.441176
150
0.64304
161
1,171
4.459627
0.36646
0.068245
0.058496
0.041783
0.189415
0.147632
0.089136
0.089136
0
0
0
0
0.237404
1,171
33
151
35.484848
0.804031
0.085397
0
0.086957
0
0
0.229616
0
0
0
0
0
0
1
0.086957
false
0
0.217391
0
0.304348
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
48bfa7e063bfbe3193516ebfca7f4a3ae8dc8a0a
9,512
py
Python
tests/master/test_master.py
bk-mtg/piwheels
67152dd1cfd5bd03ea90a8f0255103a9ee9c71d6
[ "BSD-3-Clause" ]
null
null
null
tests/master/test_master.py
bk-mtg/piwheels
67152dd1cfd5bd03ea90a8f0255103a9ee9c71d6
[ "BSD-3-Clause" ]
null
null
null
tests/master/test_master.py
bk-mtg/piwheels
67152dd1cfd5bd03ea90a8f0255103a9ee9c71d6
[ "BSD-3-Clause" ]
null
null
null
# The piwheels project # Copyright (c) 2017 Ben Nuttall <https://github.com/bennuttall> # Copyright (c) 2017 Dave Jones <dave@waveform.org.uk> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistribution...
38.983607
107
0.678616
1,219
9,512
5.130435
0.247744
0.040294
0.024624
0.03198
0.445635
0.409178
0.350656
0.321714
0.31276
0.298209
0
0.007375
0.215938
9,512
243
108
39.144033
0.831188
0.206371
0
0.380117
0
0
0.124168
0.027682
0
0
0
0
0.210526
1
0.105263
false
0.011696
0.046784
0
0.157895
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
48c0042b454fab2f52a5d4277d95dcb8ccdc7da6
1,254
py
Python
dibase/rpi/gpio/test/pinid-platformtests.py
ralph-mcardell/dibase-rpi-python
724c18d1f3c6745b3dddf582ea2272ed4e2df8ac
[ "BSD-3-Clause" ]
null
null
null
dibase/rpi/gpio/test/pinid-platformtests.py
ralph-mcardell/dibase-rpi-python
724c18d1f3c6745b3dddf582ea2272ed4e2df8ac
[ "BSD-3-Clause" ]
null
null
null
dibase/rpi/gpio/test/pinid-platformtests.py
ralph-mcardell/dibase-rpi-python
724c18d1f3c6745b3dddf582ea2272ed4e2df8ac
[ "BSD-3-Clause" ]
null
null
null
''' Part of the dibase.rpi.gpio.test package. GPIO pin id support classes' platform tests. Underlying GPIO pin ids are those used by the Linux gpiolib and used to identify a device's GPIO pins in the Linux sys filesystem GPIO sub-tree. Developed by R.E. McArdell / Dibase Limited. ...
33.891892
83
0.719298
182
1,254
4.593407
0.461538
0.057416
0.076555
0.068182
0.129187
0.100478
0.100478
0.100478
0.100478
0
0
0.023762
0.194577
1,254
36
84
34.833333
0.80396
0.320574
0
0.117647
0
0
0.037371
0
0
0
0
0
0.235294
1
0.117647
false
0
0.176471
0
0.352941
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
48c34cc81742111643982bd0d218ec0140e5a1a0
7,503
py
Python
analysis.py
tj294/2.5D-RB
f72f79d349ff27a058f503ccca58d63babb298e2
[ "MIT" ]
null
null
null
analysis.py
tj294/2.5D-RB
f72f79d349ff27a058f503ccca58d63babb298e2
[ "MIT" ]
null
null
null
analysis.py
tj294/2.5D-RB
f72f79d349ff27a058f503ccca58d63babb298e2
[ "MIT" ]
null
null
null
""" Analysis code for plotting vertical flux transport and/or a gif of temperature, velocity and KE from the merged output of a Dedalus Rayleigh-Bérnard code. Author: Tom Joshi-Cale """ # ==================== # IMPORTS # ==================== import numpy as np import h5py import argparse import matplotlib.pyplot as plt...
31.52521
88
0.53432
1,079
7,503
3.538462
0.225209
0.028811
0.028811
0.029335
0.277108
0.231273
0.11891
0.072289
0.057098
0.057098
0
0.020461
0.276956
7,503
237
89
31.658228
0.683318
0.052112
0
0.15873
0
0
0.143381
0.02298
0
0
0
0
0
1
0
false
0.005291
0.063492
0
0.063492
0.05291
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
48c5df022af8f3cc4834d472772e95a600e0b3cc
3,804
py
Python
sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_publisher_client_async.py
conniey/azure-sdk-for-python
f779de8e53dbec033f98f976284e6d9491fd60b3
[ "MIT" ]
2
2019-05-17T21:24:53.000Z
2020-02-12T11:13:42.000Z
sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_publisher_client_async.py
conniey/azure-sdk-for-python
f779de8e53dbec033f98f976284e6d9491fd60b3
[ "MIT" ]
null
null
null
sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_publisher_client_async.py
conniey/azure-sdk-for-python
f779de8e53dbec033f98f976284e6d9491fd60b3
[ "MIT" ]
2
2020-05-21T22:51:22.000Z
2020-05-26T20:53:01.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
49.402597
137
0.701367
430
3,804
6.055814
0.360465
0.059908
0.013825
0.02765
0.167051
0.120584
0.107527
0.107527
0.079109
0.040707
0
0.001292
0.18612
3,804
76
138
50.052632
0.839793
0.262355
0
0
0
0
0.05906
0.01566
0
0
0
0
0
1
0.02439
false
0
0.243902
0
0.292683
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
48c82cf824c0f047f355b4e4cd11359596e54a76
5,037
py
Python
multi_tool.py
zbigos/multi_project_tools
cb9996d0fea0c2c763054ad5f78e904a68b9c80e
[ "Apache-2.0" ]
null
null
null
multi_tool.py
zbigos/multi_project_tools
cb9996d0fea0c2c763054ad5f78e904a68b9c80e
[ "Apache-2.0" ]
null
null
null
multi_tool.py
zbigos/multi_project_tools
cb9996d0fea0c2c763054ad5f78e904a68b9c80e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import logging, sys, argparse from collect import Collection if __name__ == '__main__': parser = argparse.ArgumentParser(description="test a project repo") parser.add_argument('--force-delete', help='instead of aborting on existing files, delete them', action='store_const', const=True) ...
59.258824
157
0.728608
711
5,037
5.029536
0.281294
0.072987
0.13311
0.129195
0.326622
0.312919
0.286074
0.286074
0.250839
0.088367
0
0.00093
0.14592
5,037
84
158
59.964286
0.830311
0.074251
0
0
0
0
0.427865
0.014621
0
0
0
0
0
1
0
false
0
0.035714
0
0.035714
0.017857
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
48c98054b3a6ea0035473ed0534ee80b41dcebb8
4,327
py
Python
benchbuild/projects/benchbuild/bots.py
ognarb/benchbuild
ad93ae0666e3100fd36c697793c0db1ba52938d0
[ "MIT" ]
null
null
null
benchbuild/projects/benchbuild/bots.py
ognarb/benchbuild
ad93ae0666e3100fd36c697793c0db1ba52938d0
[ "MIT" ]
null
null
null
benchbuild/projects/benchbuild/bots.py
ognarb/benchbuild
ad93ae0666e3100fd36c697793c0db1ba52938d0
[ "MIT" ]
null
null
null
from plumbum import local from benchbuild import project from benchbuild.utils import compiler, download, run, wrapping from benchbuild.utils.cmd import make, mkdir @download.with_git("https://github.com/bsc-pm/bots", limit=5) class BOTSGroup(project.Project): """ Barcelona OpenMP Task Suite. Barcelona ...
28.655629
79
0.580079
478
4,327
5.177824
0.361925
0.06303
0.022222
0.025859
0.067071
0.050909
0.032323
0.032323
0
0
0
0.015255
0.287959
4,327
150
80
28.846667
0.788056
0.164086
0
0
0
0
0.282297
0.006755
0
0
0
0
0
1
0.02
false
0
0.04
0
0.35
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
48c9b882f54e25efdd1d54210cde93be6398663c
668
py
Python
clients/python/setup.py
timtadh/queued
9c46a49a73103de9a929718c223326149cb9accd
[ "BSD-3-Clause" ]
4
2015-12-29T05:07:50.000Z
2022-02-10T20:27:40.000Z
clients/python/setup.py
timtadh/queued
9c46a49a73103de9a929718c223326149cb9accd
[ "BSD-3-Clause" ]
1
2015-04-16T15:56:26.000Z
2015-04-16T15:56:26.000Z
clients/python/setup.py
timtadh/queued
9c46a49a73103de9a929718c223326149cb9accd
[ "BSD-3-Clause" ]
8
2015-02-24T12:05:16.000Z
2022-02-10T20:27:41.000Z
try: from setuptools import setup setup # quiet "redefinition of unused ..." warning from pyflakes # arguments that distutils doesn't understand setuptools_kwargs = { 'install_requires': [ ], 'provides': ['queued'], 'zip_safe': False } except ImportError: fro...
23.034483
69
0.586826
66
668
5.848485
0.727273
0.124352
0
0
0
0
0
0
0
0
0
0.004211
0.288922
668
28
70
23.857143
0.808421
0.149701
0
0
0
0
0.193262
0
0
0
0
0
0
1
0
false
0
0.12
0
0.12
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
48ca956ecd40df08896e125936a630042abd2d96
2,228
py
Python
apim-migration-testing-tool/Python/venv/lib/python3.6/site-packages/pymysql/constants/CR.py
tharindu1st/apim-migration-resources
dd68aa8c53cf310392bb72e699dd24c57b109cfb
[ "Apache-2.0" ]
1,573
2015-01-01T07:19:06.000Z
2022-03-30T09:06:06.000Z
apim-migration-testing-tool/Python/venv/lib/python3.6/site-packages/pymysql/constants/CR.py
tharindu1st/apim-migration-resources
dd68aa8c53cf310392bb72e699dd24c57b109cfb
[ "Apache-2.0" ]
1,691
2015-01-03T11:03:23.000Z
2022-03-30T07:27:28.000Z
apim-migration-testing-tool/Python/venv/lib/python3.6/site-packages/pymysql/constants/CR.py
tharindu1st/apim-migration-resources
dd68aa8c53cf310392bb72e699dd24c57b109cfb
[ "Apache-2.0" ]
895
2015-01-03T19:56:15.000Z
2022-03-18T18:30:57.000Z
# flake8: noqa # errmsg.h CR_ERROR_FIRST = 2000 CR_UNKNOWN_ERROR = 2000 CR_SOCKET_CREATE_ERROR = 2001 CR_CONNECTION_ERROR = 2002 CR_CONN_HOST_ERROR = 2003 CR_IPSOCK_ERROR = 2004 CR_UNKNOWN_HOST = 2005 CR_SERVER_GONE_ERROR = 2006 CR_VERSION_ERROR = 2007 CR_OUT_OF_MEMORY = 2008 CR_WRONG_HOST_INFO = 2009 CR_LOCALHOST_...
32.289855
47
0.745063
319
2,228
4.617555
0.501567
0.054311
0.095044
0.08554
0
0
0
0
0
0
0
0.148727
0.224417
2,228
68
48
32.764706
0.703704
0.009425
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
48cccf1158ee9bcd15cefd678338ca10d4234710
992
py
Python
check-challenge.py
gjaiswal108/Check-if-Challenge-problem-added-in-codechef
74b29725ad38bdf0dc210dbdb67fccf056ec6d8c
[ "Apache-2.0" ]
null
null
null
check-challenge.py
gjaiswal108/Check-if-Challenge-problem-added-in-codechef
74b29725ad38bdf0dc210dbdb67fccf056ec6d8c
[ "Apache-2.0" ]
null
null
null
check-challenge.py
gjaiswal108/Check-if-Challenge-problem-added-in-codechef
74b29725ad38bdf0dc210dbdb67fccf056ec6d8c
[ "Apache-2.0" ]
null
null
null
import requests,smtplib,time from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart r =requests.get('https://www.codechef.com/JUNE19B/') while(1): if('(Challenge)' in r.text): s = smtplib.SMTP('smtp.gmail.com', 587) s.starttls() s.login("sender_gmail_id", "passwo...
41.333333
164
0.647177
135
992
4.674074
0.496296
0.055468
0.061807
0.060222
0.193344
0.193344
0.193344
0.193344
0.193344
0.193344
0
0.015094
0.198589
992
23
165
43.130435
0.778616
0
0
0
0
0.043478
0.452621
0.021169
0
0
0
0
0
1
0
false
0.043478
0.130435
0
0.130435
0.130435
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
48cd5f2495ad481cbf1d4200796edf478513850e
2,840
py
Python
applications/tensorflow/click_through_rate/din/test/test_attention_fcn.py
kew96/GraphcoreExamples
22dc0d7e3755b0a7f16cdf694c6d10c0f91ee8eb
[ "MIT" ]
null
null
null
applications/tensorflow/click_through_rate/din/test/test_attention_fcn.py
kew96/GraphcoreExamples
22dc0d7e3755b0a7f16cdf694c6d10c0f91ee8eb
[ "MIT" ]
null
null
null
applications/tensorflow/click_through_rate/din/test/test_attention_fcn.py
kew96/GraphcoreExamples
22dc0d7e3755b0a7f16cdf694c6d10c0f91ee8eb
[ "MIT" ]
null
null
null
# Copyright (c) 2020 Graphcore Ltd. 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 la...
34.216867
116
0.669366
426
2,840
4.342723
0.359155
0.038919
0.023784
0.045405
0.209189
0.151351
0.107027
0.107027
0.107027
0.07027
0
0.053459
0.216197
2,840
82
117
34.634146
0.777628
0.251761
0
0.083333
0
0
0.013346
0
0
0
0
0
0.083333
1
0.0625
false
0
0.166667
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
48cf0852e6ab6d1a0771fbc1bfea6839386062de
1,287
py
Python
tests/test_cmdline.py
lin-zone/scrapyu
abcb8eed2ea02121b74017e007c57c0d3762342d
[ "MIT" ]
1
2021-01-05T09:11:42.000Z
2021-01-05T09:11:42.000Z
tests/test_cmdline.py
lin-zone/scrapyu
abcb8eed2ea02121b74017e007c57c0d3762342d
[ "MIT" ]
null
null
null
tests/test_cmdline.py
lin-zone/scrapyu
abcb8eed2ea02121b74017e007c57c0d3762342d
[ "MIT" ]
null
null
null
import sys import subprocess from tempfile import mkdtemp, TemporaryFile from path import Path from tests import TEST_DIR args = (sys.executable, '-m', 'scrapyu.cmdline') def test_genspider_list(): new_args = args + ('genspider', '-l') res = subprocess.check_output(new_args) assert res.split() == [b'A...
33.868421
97
0.688423
176
1,287
4.823864
0.278409
0.113074
0.038869
0.070671
0.532391
0.47821
0.47821
0.47821
0.289753
0.289753
0
0
0.168609
1,287
38
98
33.868421
0.793458
0
0
0.285714
0
0
0.186335
0
0
0
0
0
0.178571
1
0.107143
false
0
0.178571
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
48cf85efc52b96d39ed18f6149964691786778a9
3,257
py
Python
src/olympia/amo/cron.py
dante381/addons-server
9702860a19ecca1cb4e4998f37bc43c1b2dd3aa7
[ "BSD-3-Clause" ]
null
null
null
src/olympia/amo/cron.py
dante381/addons-server
9702860a19ecca1cb4e4998f37bc43c1b2dd3aa7
[ "BSD-3-Clause" ]
null
null
null
src/olympia/amo/cron.py
dante381/addons-server
9702860a19ecca1cb4e4998f37bc43c1b2dd3aa7
[ "BSD-3-Clause" ]
null
null
null
from datetime import datetime, timedelta from django.core.files.storage import default_storage as storage import olympia.core.logger from olympia import amo from olympia.activity.models import ActivityLog from olympia.addons.models import Addon from olympia.addons.tasks import delete_addons from olympia.amo.utils imp...
34.648936
88
0.684986
425
3,257
5.014118
0.32
0.039418
0.026279
0.02534
0.062881
0.023463
0
0
0
0
0
0.009091
0.223212
3,257
93
89
35.021505
0.833202
0.078293
0
0.028571
0
0
0.054479
0
0
0
0
0
0
1
0.042857
false
0.014286
0.185714
0.014286
0.242857
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
48d562ad3234975315fbded1821628c64f55b9d7
4,461
py
Python
streamlitfront/tests/common.py
i2mint/streamlitfront
6fbc03a42cdb7436dcda3da00fb9b42965bbb582
[ "Apache-2.0" ]
null
null
null
streamlitfront/tests/common.py
i2mint/streamlitfront
6fbc03a42cdb7436dcda3da00fb9b42965bbb582
[ "Apache-2.0" ]
1
2022-02-03T15:21:57.000Z
2022-02-05T00:51:33.000Z
streamlitfront/tests/common.py
i2mint/streamlitfront
6fbc03a42cdb7436dcda3da00fb9b42965bbb582
[ "Apache-2.0" ]
null
null
null
from contextlib import contextmanager from functools import partial from inspect import Parameter from random import choice, randint, uniform import string from typing import Any from i2 import Sig from numbers import Number from sys import platform from selenium.common.exceptions import NoSuchElementException from sel...
33.795455
87
0.68998
585
4,461
5.011966
0.302564
0.048772
0.035471
0.038199
0.190314
0.165075
0.091405
0.028649
0.028649
0
0
0.008369
0.223268
4,461
131
88
34.053435
0.837807
0.095046
0
0.069307
0
0.019802
0.084606
0.044556
0
0
0
0
0
1
0.108911
false
0
0.19802
0.009901
0.415842
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
48d584fffe50d5a164a634c7bdeab43a85e1c776
16,094
py
Python
Python_files/analyse.py
Deniz-shelby/goodreads_webscrap
80be6eb85f8a128eeeef2f845726557852991463
[ "Apache-2.0" ]
null
null
null
Python_files/analyse.py
Deniz-shelby/goodreads_webscrap
80be6eb85f8a128eeeef2f845726557852991463
[ "Apache-2.0" ]
1
2021-04-14T07:41:49.000Z
2021-04-14T10:02:45.000Z
Python_files/analyse.py
Deniz-shelby/goodreads_webscrap
80be6eb85f8a128eeeef2f845726557852991463
[ "Apache-2.0" ]
2
2021-04-14T05:31:24.000Z
2021-04-19T08:00:40.000Z
import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt from matplotlib import rcParams from sklearn.preprocessing import MinMaxScaler import warnings import scipy.stats as st import statsmodels as sm def analyse(df_input,df_all_input): df = df_input fig, ax = plt.subplo...
36.494331
122
0.626942
2,278
16,094
4.333187
0.154522
0.03647
0.052882
0.058758
0.584338
0.549792
0.529227
0.508864
0.492554
0.478776
0
0.051991
0.229154
16,094
441
123
36.494331
0.743672
0.081956
0
0.573209
0
0
0.142916
0.00579
0
0
0
0
0
1
0.009346
false
0.006231
0.028037
0
0.043614
0.024922
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
48da48030860d7cf05ae6d06f45e092b1b0c01b7
1,229
py
Python
tests/test_quil.py
stjordanis/quantumflow
bf965f0ca70cd69b387f9ca8407ab38da955e925
[ "Apache-2.0" ]
99
2018-12-03T20:41:39.000Z
2022-02-21T13:56:08.000Z
tests/test_quil.py
stjordanis/quantumflow
bf965f0ca70cd69b387f9ca8407ab38da955e925
[ "Apache-2.0" ]
1
2021-06-25T15:18:31.000Z
2021-06-25T15:18:31.000Z
tests/test_quil.py
stjordanis/quantumflow
bf965f0ca70cd69b387f9ca8407ab38da955e925
[ "Apache-2.0" ]
24
2018-12-03T20:41:41.000Z
2022-01-03T01:11:45.000Z
# Copyright 2016-2018, Rigetti Computing # # This source code is licensed under the Apache License, Version 2.0 found in # the LICENSE.txt file in the root directory of this source tree. import pytest import quantumflow as qf QUIL_FILES = [ 'hello_world.quil', 'empty.quil', 'classical_logic.quil', ...
23.188679
77
0.613507
157
1,229
4.66879
0.420382
0.061392
0.069577
0.069577
0.420191
0.34925
0.315143
0.315143
0.315143
0.315143
0
0.012009
0.254679
1,229
52
78
23.634615
0.78821
0.157852
0
0.4
0
0
0.151751
0.025292
0
0
0
0
0
1
0.085714
false
0
0.057143
0
0.142857
0.114286
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
48daec9dcfb1b92e90a94069bc6dece79afb65a2
1,254
py
Python
gitool/util.py
eikendev/gitool
9bfa248093d4ee3caf25fde1a59f4f0fc66994af
[ "MIT" ]
1
2022-03-17T06:26:20.000Z
2022-03-17T06:26:20.000Z
gitool/util.py
eikendev/gitool
9bfa248093d4ee3caf25fde1a59f4f0fc66994af
[ "MIT" ]
null
null
null
gitool/util.py
eikendev/gitool
9bfa248093d4ee3caf25fde1a59f4f0fc66994af
[ "MIT" ]
null
null
null
import itertools import logging from git import Repo, InvalidGitRepositoryError from .repository import Repository logger = logging.getLogger("gitool") def _list_repositories(path): subdirectories = [p for p in path.iterdir() if p.is_dir()] names = [p.name for p in subdirectories] if '.git' not in nam...
24.115385
68
0.633174
142
1,254
5.514085
0.380282
0.020434
0.030651
0.01788
0
0
0
0
0
0
0
0.00432
0.261563
1,254
51
69
24.588235
0.841253
0
0
0.055556
0
0
0.060606
0
0
0
0
0
0
1
0.083333
false
0
0.111111
0
0.305556
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
48dbc9d4daecd2cf1d72d63509bbaa3a2bffe8c4
2,178
py
Python
src/TMDbApi/TMTranslationUnit.py
shasha79/nectm
600044a6fe2c3a73e0d9327bc85883831a26dcae
[ "Apache-2.0" ]
3
2020-02-28T21:42:44.000Z
2021-03-12T13:56:16.000Z
src/TMDbApi/TMTranslationUnit.py
Pangeamt/nectm
6b84f048698f2530b9fdbb30695f2e2217c3fbfe
[ "Apache-2.0" ]
2
2020-11-06T14:40:10.000Z
2020-12-29T19:03:11.000Z
src/TMDbApi/TMTranslationUnit.py
Pangeamt/nectm
6b84f048698f2530b9fdbb30695f2e2217c3fbfe
[ "Apache-2.0" ]
2
2020-03-26T16:05:11.000Z
2020-08-06T16:35:39.000Z
# # Copyright (c) 2020 Pangeanic SL. # # This file is part of NEC TM # (see https://github.com/shasha79/nectm). # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright owne...
36.915254
138
0.674472
294
2,178
4.860544
0.452381
0.041987
0.025192
0.022393
0.082575
0.046186
0.046186
0.046186
0.046186
0.046186
0
0.006425
0.213958
2,178
58
139
37.551724
0.828271
0.410009
0
0
0
0
0.267673
0
0
0
0
0
0
1
0.185185
false
0
0.037037
0.074074
0.37037
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
48deb6f756807dc27d051aa0715208fc6f52b020
1,513
py
Python
tests/test_capstone.py
GrammaTech/gtirb-capstone
f46d90e9cd733c632620e5d8c921a4b9f011020a
[ "MIT" ]
6
2020-04-10T15:19:30.000Z
2021-04-13T22:54:17.000Z
tests/test_capstone.py
GrammaTech/gtirb-capstone
f46d90e9cd733c632620e5d8c921a4b9f011020a
[ "MIT" ]
null
null
null
tests/test_capstone.py
GrammaTech/gtirb-capstone
f46d90e9cd733c632620e5d8c921a4b9f011020a
[ "MIT" ]
3
2020-07-10T22:52:32.000Z
2021-02-13T19:52:22.000Z
# Copyright (C) 2020 GrammaTech, Inc. # # This code is licensed under the MIT license. See the LICENSE file in # the project root for license terms. # # This project is sponsored by the Office of Naval Research, One Liberty # Center, 875 N. Randolph Street, Arlington, VA 22203 under contract # # N68335-17-C-0700. The ...
30.877551
72
0.68341
231
1,513
4.424242
0.510823
0.03229
0.061644
0.029354
0.064579
0
0
0
0
0
0
0.078595
0.209518
1,513
48
73
31.520833
0.77592
0.29544
0
0
0
0
0.08452
0.068376
0
0
0.011396
0
0.264706
1
0.029412
false
0
0.088235
0
0.117647
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
48df4ad454aad4847f1d7ce4f347d3747f7148ed
2,552
py
Python
python/paddle/fluid/tests/unittests/npu/test_update_loss_scaling_min_op_npu.py
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
null
null
null
python/paddle/fluid/tests/unittests/npu/test_update_loss_scaling_min_op_npu.py
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
null
null
null
python/paddle/fluid/tests/unittests/npu/test_update_loss_scaling_min_op_npu.py
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
1
2021-12-09T08:59:17.000Z
2021-12-09T08:59:17.000Z
# Copyright (c) 2021 PaddlePaddle 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 app...
32.303797
75
0.647727
344
2,552
4.636628
0.462209
0.037618
0.028213
0.030094
0.026332
0.026332
0
0
0
0
0
0.037056
0.238636
2,552
78
76
32.717949
0.783839
0.228448
0
0
0
0
0.104967
0.023041
0
0
0
0
0
1
0.037736
false
0
0.169811
0
0.226415
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
48df99695d0c2e85858fd3010b30aa03fd644e15
1,031
py
Python
Examples/WorkingWithMimeMessages/SetEmailHeaders.py
Muzammil-khan/Aspose.Email-Python-Dotnet
04ca3a6f440339f3ddf316218f92d15d66f24e7e
[ "MIT" ]
5
2019-01-28T05:17:12.000Z
2020-04-14T14:31:34.000Z
Examples/WorkingWithMimeMessages/SetEmailHeaders.py
Muzammil-khan/Aspose.Email-Python-Dotnet
04ca3a6f440339f3ddf316218f92d15d66f24e7e
[ "MIT" ]
1
2019-01-28T16:07:26.000Z
2021-11-25T10:59:52.000Z
Examples/WorkingWithMimeMessages/SetEmailHeaders.py
Muzammil-khan/Aspose.Email-Python-Dotnet
04ca3a6f440339f3ddf316218f92d15d66f24e7e
[ "MIT" ]
6
2018-07-16T14:57:34.000Z
2020-08-30T05:59:52.000Z
import aspose.email as ae import datetime def run(): # The path to the File directory. dataDir = "Data/" #ExStart: SetEmailHeaders # Create an instance of MailMessage class eml = ae.MailMessage() # Specify ReplyTo, From, To field, Cc and Bcc Addresses eml.reply_to_list.Add("reply@repl...
33.258065
81
0.681862
141
1,031
4.893617
0.510638
0.046377
0.110145
0.037681
0.069565
0
0
0
0
0
0
0.018913
0.179437
1,031
30
82
34.366667
0.79669
0.239573
0
0
0
0
0.268041
0.029639
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.166667
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
48e0a28c89b1ce15b99aa2daf6b83acba8204f1b
4,316
py
Python
matplotlib-3.4.3/matplotlib-3.4.3/examples/images_contours_and_fields/image_transparency_blend.py
JohnLauFoo/clc_packages_Yu
259f01d9b5c02154ce258734d519ae8995cd0991
[ "MIT" ]
1
2021-11-13T17:21:44.000Z
2021-11-13T17:21:44.000Z
matplotlib-3.4.3/matplotlib-3.4.3/examples/images_contours_and_fields/image_transparency_blend.py
JohnLauFoo/clc_packages_Yu
259f01d9b5c02154ce258734d519ae8995cd0991
[ "MIT" ]
null
null
null
matplotlib-3.4.3/matplotlib-3.4.3/examples/images_contours_and_fields/image_transparency_blend.py
JohnLauFoo/clc_packages_Yu
259f01d9b5c02154ce258734d519ae8995cd0991
[ "MIT" ]
null
null
null
""" ========================================== Blend transparency with color in 2D images ========================================== Blend transparency with color to highlight parts of data with imshow. A common use for `matplotlib.pyplot.imshow` is to plot a 2D statistical map. The function makes it easy to visualiz...
34.528
79
0.657322
635
4,316
4.393701
0.348032
0.010036
0.017921
0.017204
0.187814
0.152688
0.139785
0.139785
0.139785
0.113978
0
0.021739
0.147359
4,316
124
80
34.806452
0.736413
0.566497
0
0.297872
0
0
0.017599
0
0
0
0
0
0
1
0.021277
false
0
0.06383
0.021277
0.106383
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
48e429fb8eb61c10b1ad429f9b2db275e7f48ee3
2,307
py
Python
Models/utils.py
weslai/ecg_classification
61cb45849485129cf04ee97f458fdf731353fd4b
[ "MIT" ]
1
2020-12-03T13:34:04.000Z
2020-12-03T13:34:04.000Z
Models/utils.py
weslai/ecg_classification
61cb45849485129cf04ee97f458fdf731353fd4b
[ "MIT" ]
null
null
null
Models/utils.py
weslai/ecg_classification
61cb45849485129cf04ee97f458fdf731353fd4b
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import itertools import numpy as np from sklearn.metrics import confusion_matrix ## be used to evaluate the model def evaluate_model(history, X_test, y_test, model): scores = model.evaluate((X_test), y_test, verbose=0) print("Accuracy: %.2f%%" % (scores[1] *100)) print(hist...
32.041667
91
0.640225
303
2,307
4.785479
0.412541
0.093103
0.038621
0.057931
0.106207
0
0
0
0
0
0
0.012195
0.218032
2,307
71
92
32.492958
0.791574
0.08756
0
0.092593
0
0
0.13667
0
0
0
0
0
0
1
0.055556
false
0
0.074074
0
0.148148
0.092593
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
48e43797c38281b4f9c9d4f57ea6a962850d4cc0
44,206
py
Python
evapotranspiration/penman_monteith_daily.py
JRoehrig/evapotranspiration
aeec040273e15f93bb25ff850b33a90a41c65291
[ "MIT" ]
2
2021-08-07T10:38:41.000Z
2022-03-02T07:34:11.000Z
evapotranspiration/penman_monteith_daily.py
JRoehrig/evapotranspiration
aeec040273e15f93bb25ff850b33a90a41c65291
[ "MIT" ]
null
null
null
evapotranspiration/penman_monteith_daily.py
JRoehrig/evapotranspiration
aeec040273e15f93bb25ff850b33a90a41c65291
[ "MIT" ]
null
null
null
import math import numpy as np import pandas as pd class PenmanMonteithDaily(object): r"""The class *PenmanMonteithDaily* calculates daily potential evapotranspiration according to the Penman-Monteith method as described in `FAO 56 <http://www.fao.org/tempref/SD/Reserved/Agromet/PET/FAO_Irrigation_Drainag...
46.14405
120
0.58474
6,328
44,206
3.968394
0.091814
0.018955
0.019353
0.025088
0.496456
0.427565
0.382407
0.3304
0.289861
0.255057
0
0.041052
0.264353
44,206
957
121
46.192268
0.730351
0.61745
0
0.285714
0
0
0.034974
0
0
0
0
0
0
1
0.068323
false
0.003106
0.009317
0
0.149068
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
48e75715f9ebbd7bc9cad087839a0b649f005b70
1,312
py
Python
tcc_server/emulatorRPi.py
MegaNo0body/tcc
469824a8afc1cf846793212d42f6c8c43ee4b0bf
[ "MIT" ]
1
2016-09-29T22:39:31.000Z
2016-09-29T22:39:31.000Z
tcc_server/emulatorRPi.py
MegaNo0body/tcc
469824a8afc1cf846793212d42f6c8c43ee4b0bf
[ "MIT" ]
null
null
null
tcc_server/emulatorRPi.py
MegaNo0body/tcc
469824a8afc1cf846793212d42f6c8c43ee4b0bf
[ "MIT" ]
null
null
null
import sys from time import sleep from random import randint from urllib.request import urlopen from urllib.parse import urlencode if len(sys.argv) != 2: print('Por favor, usar: ' + sys.argv[0] + ' {idSensor}') print('Exemplo: ' + sys.argv[0] + ' 8') else: sensorId = sys.argv[1] URL_SERVICO = 'http://1...
31.238095
77
0.51753
164
1,312
4.109756
0.408537
0.106825
0.026706
0.041543
0
0
0
0
0
0
0
0.059633
0.335366
1,312
41
78
32
0.713303
0
0
0.051282
0
0
0.108232
0
0
0
0
0
0
1
0
false
0
0.128205
0
0.128205
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
48e7717d4dc4d7ba6b003ee81bea9813e26ea8e2
1,487
py
Python
sayn/logging/file_logger.py
robin-173/sayn
d1cf36b92fad6a1798b57ad80abb22e8386e0e86
[ "Apache-2.0" ]
105
2020-04-23T17:04:34.000Z
2022-03-18T15:47:52.000Z
sayn/logging/file_logger.py
robin-173/sayn
d1cf36b92fad6a1798b57ad80abb22e8386e0e86
[ "Apache-2.0" ]
53
2020-06-12T14:41:12.000Z
2022-01-24T13:04:58.000Z
sayn/logging/file_logger.py
robin-173/sayn
d1cf36b92fad6a1798b57ad80abb22e8386e0e86
[ "Apache-2.0" ]
9
2020-04-23T16:56:23.000Z
2021-08-16T10:54:48.000Z
from pathlib import Path import logging from .logger import Logger from .log_formatter import LogFormatter class FileLogger(Logger): fmt = LogFormatter(use_colour=False, output_ts=False) logger = None def __init__(self, folder, format=None): if format is None: format = ("%(asctime)s|...
28.056604
63
0.543376
170
1,487
4.664706
0.394118
0.063052
0.070618
0
0
0
0
0
0
0
0
0.002041
0.340955
1,487
52
64
28.596154
0.807143
0
0
0
0
0
0.078009
0.024882
0
0
0
0
0
1
0.05
false
0
0.1
0
0.225
0.05
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
48e92b16767155e8dc5662502fba6db4a07dc542
71,657
py
Python
neutra/vae.py
dieterichlawson/google-research
7ca9a612aa4239533c6ed8ef98543f9780d19f2b
[ "Apache-2.0" ]
4
2020-02-04T16:23:45.000Z
2021-08-30T11:56:01.000Z
neutra/vae.py
lceustc/google-research
bf793f31022db2636f42e132198ffe8bd9631b58
[ "Apache-2.0" ]
10
2020-09-26T00:19:12.000Z
2022-03-12T00:04:29.000Z
neutra/vae.py
lceustc/google-research
bf793f31022db2636f42e132198ffe8bd9631b58
[ "Apache-2.0" ]
1
2020-02-29T05:06:38.000Z
2020-02-29T05:06:38.000Z
# coding=utf-8 # Copyright 2019 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.057241
124
0.651744
10,170
71,657
4.333235
0.07296
0.009803
0.009258
0.008532
0.648483
0.595974
0.553428
0.533618
0.496812
0.47201
0
0.022635
0.21762
71,657
2,043
125
35.0744
0.763427
0.059296
0
0.519385
0
0
0.04774
0.001726
0
0
0
0.000979
0.001846
1
0.047385
false
0.001846
0.010462
0.006154
0.105846
0.000615
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
48ea7b107947ea8206fa8a2bda41ca826b065a52
7,530
py
Python
segmentation/utils/transforms.py
voldemortX/DST-CBC
e392313c129f6814c1a1c0f20c0abbd5505c3d7d
[ "BSD-3-Clause" ]
103
2020-04-21T01:25:16.000Z
2022-03-24T07:45:45.000Z
segmentation/utils/transforms.py
voldemortX/DST-CBC
e392313c129f6814c1a1c0f20c0abbd5505c3d7d
[ "BSD-3-Clause" ]
13
2021-03-24T06:52:21.000Z
2022-01-18T08:17:50.000Z
segmentation/utils/transforms.py
voldemortX/DST-CBC
e392313c129f6814c1a1c0f20c0abbd5505c3d7d
[ "BSD-3-Clause" ]
12
2020-04-29T02:33:11.000Z
2021-12-28T07:59:20.000Z
# Mostly copied and modified from torch/vision/references/segmentation to support unlabeled data # Copied functions from fmassa/vision-1 to support multi-dimensional masks loaded from numpy ndarray import numpy as np from PIL import Image import random import torch import utils.functional as F # For 2/3 dimensional t...
34.541284
114
0.6
1,060
7,530
4.085849
0.196226
0.071115
0.030016
0.039252
0.307088
0.213115
0.176403
0.155391
0.120526
0.102055
0
0.013346
0.293493
7,530
217
115
34.700461
0.800752
0.145286
0
0.227273
0
0
0.002493
0
0
0
0
0
0
1
0.162338
false
0
0.032468
0.006494
0.383117
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
48ea83dadb4e88f0d593497119582f4e6d402985
9,036
py
Python
server.py
drunkHatch/CMPUT404-assignment-webserver
37336241ae790509804569834e2063893d37db44
[ "Apache-2.0" ]
null
null
null
server.py
drunkHatch/CMPUT404-assignment-webserver
37336241ae790509804569834e2063893d37db44
[ "Apache-2.0" ]
null
null
null
server.py
drunkHatch/CMPUT404-assignment-webserver
37336241ae790509804569834e2063893d37db44
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 import socketserver import re import socket import datetime import os import mimetypes as MT import sys # Copyright 2013 Abram Hindle, Eddie Antonio Santos # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may o...
34.888031
129
0.623174
1,111
9,036
4.843384
0.267327
0.061327
0.023416
0.018956
0.219476
0.202379
0.164096
0.164096
0.097566
0.084557
0
0.021509
0.289951
9,036
258
130
35.023256
0.81702
0.214365
0
0.143713
0
0
0.077655
0
0
0
0
0
0
1
0.05988
false
0.005988
0.041916
0.005988
0.173653
0.005988
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
48ec30ea94720d1931e1f3786be697d0ca01359f
8,431
py
Python
.test/test/task2/Aufgabe1/python-lib/cuddlefish/docs/webdocs.py
sowinski/testsubtree
d09b72e6b366e8e29e038445a1fa6987b2456625
[ "MIT" ]
null
null
null
.test/test/task2/Aufgabe1/python-lib/cuddlefish/docs/webdocs.py
sowinski/testsubtree
d09b72e6b366e8e29e038445a1fa6987b2456625
[ "MIT" ]
null
null
null
.test/test/task2/Aufgabe1/python-lib/cuddlefish/docs/webdocs.py
sowinski/testsubtree
d09b72e6b366e8e29e038445a1fa6987b2456625
[ "MIT" ]
null
null
null
import os, re, errno import markdown import cgi from cuddlefish import packaging from cuddlefish.docs import apirenderer from cuddlefish._version import get_versions INDEX_PAGE = '/doc/static-files/base.html' BASE_URL_INSERTION_POINT = '<base ' VERSION_INSERTION_POINT = '<div id="version">' THIRD_PARTY_PACKAGE_SUMMAR...
44.373684
94
0.632428
1,007
8,431
4.948361
0.158888
0.064018
0.034116
0.03231
0.241622
0.162352
0.126029
0.092515
0.075256
0.06462
0
0.002841
0.248488
8,431
189
95
44.608466
0.783617
0.007591
0
0.071429
0
0
0.087268
0.015421
0.005952
0
0
0
0
1
0.107143
false
0
0.035714
0.017857
0.255952
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
48edc6b7f87e0875d85de78f96a9bd1a71a88a84
9,827
py
Python
coax/experience_replay/_prioritized.py
sleepy-owl/coax
37c3e667b81537768beb25bb59d0f05124624128
[ "MIT" ]
null
null
null
coax/experience_replay/_prioritized.py
sleepy-owl/coax
37c3e667b81537768beb25bb59d0f05124624128
[ "MIT" ]
null
null
null
coax/experience_replay/_prioritized.py
sleepy-owl/coax
37c3e667b81537768beb25bb59d0f05124624128
[ "MIT" ]
null
null
null
# ------------------------------------------------------------------------------------------------ # # MIT License # # # # Copyright (c) 2...
38.996032
100
0.596418
1,168
9,827
4.889555
0.280822
0.042024
0.021012
0.019611
0.125547
0.103134
0.094029
0.092453
0.092453
0.066538
0
0.00901
0.288491
9,827
251
101
39.151394
0.807637
0.476239
0
0.073395
0
0
0.093565
0.009949
0
0
0
0
0.036697
1
0.155963
false
0
0.055046
0.082569
0.321101
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
48eeffaa35d544f23807d7f9663c5e18d1819a1f
16,332
py
Python
test/python/testworkflow.py
kokizzu/txtai
1a3848bac006e9963ad2eef466405f8da644fecb
[ "Apache-2.0" ]
null
null
null
test/python/testworkflow.py
kokizzu/txtai
1a3848bac006e9963ad2eef466405f8da644fecb
[ "Apache-2.0" ]
47
2021-10-02T22:48:03.000Z
2021-12-29T02:36:20.000Z
test/python/testworkflow.py
kokizzu/txtai
1a3848bac006e9963ad2eef466405f8da644fecb
[ "Apache-2.0" ]
null
null
null
""" Workflow module tests """ import contextlib import glob import io import os import tempfile import sys import unittest import numpy as np import torch from txtai.api import API from txtai.embeddings import Documents, Embeddings from txtai.pipeline import Nop, Segmentation, Summary, Translation, Textractor from t...
30.873346
146
0.558903
1,776
16,332
5.128941
0.184685
0.051048
0.05006
0.030739
0.486442
0.418048
0.390712
0.374465
0.334065
0.323965
0
0.023198
0.308474
16,332
528
147
30.931818
0.783336
0.137399
0
0.396491
0
0
0.213951
0.006916
0
0
0
0
0.161404
1
0.101754
false
0
0.049123
0.007018
0.164912
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
48f68e5109bfeba6516e554517563cbef752a170
519
py
Python
ex082.py
favitoria/python123
99074c309b700f48ddc6aa0811a1891145281af7
[ "MIT" ]
null
null
null
ex082.py
favitoria/python123
99074c309b700f48ddc6aa0811a1891145281af7
[ "MIT" ]
null
null
null
ex082.py
favitoria/python123
99074c309b700f48ddc6aa0811a1891145281af7
[ "MIT" ]
null
null
null
resposta = 'Ss' numeros = 0 listaTODOS = [] listaPAR = [] listaIMPAR = [] while resposta != 'N': numeros = int(input('Digite um número: ')) resposta = str(input('Deseja continuar [S/N]? ')) if numeros % 2 == 0: listaPAR.append(numeros) elif numeros % 2 == 1: listaIMPAR.append(numeros) ...
30.529412
58
0.660886
64
519
5.359375
0.53125
0.113703
0.046647
0.087464
0
0
0
0
0
0
0
0.011876
0.188825
519
17
59
30.529412
0.80285
0
0
0
0
0
0.317308
0
0
0
0
0
0
1
0
false
0
0
0
0
0.176471
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
48f6af2a7976b7669c6376018cbf7149ae87451d
2,218
py
Python
CodingInterview2/29_PrintMatrix/print_matrix.py
hscspring/TheAlgorithms-Python
5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f
[ "MIT" ]
10
2020-07-06T11:00:58.000Z
2022-01-29T09:25:24.000Z
CodingInterview2/29_PrintMatrix/print_matrix.py
hscspring/TheAlgorithms-Python
5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f
[ "MIT" ]
null
null
null
CodingInterview2/29_PrintMatrix/print_matrix.py
hscspring/TheAlgorithms-Python
5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f
[ "MIT" ]
3
2020-07-13T06:39:23.000Z
2020-08-15T16:29:48.000Z
""" 面试题 29:顺时针打印矩阵 题目:输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字。 """ def make_matrix(rows: int, cols: int) -> list: res = [] k = 0 for i in range(rows): tmp = [] for j in range(cols): k += 1 tmp.append(k) res.append(tmp) return res def print_matrix_clockwisely(m...
21.533981
77
0.540126
302
2,218
3.910596
0.188742
0.030483
0.045724
0.046571
0.54276
0.54276
0.517358
0.517358
0.517358
0.517358
0
0.017893
0.319657
2,218
102
78
21.745098
0.764745
0.151939
0
0.518519
0
0
0.00444
0
0
0
0
0
0
1
0.074074
false
0
0
0
0.148148
0.12963
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
48f6c64933693697a368fb1d2ae925d6fe4cb255
1,170
py
Python
migrations/versions/ee5315dcf3e1_.py
wildintellect/tasking-manager
373fb231404628e6ae9a1838539b9c3cb23ad73c
[ "BSD-2-Clause" ]
3
2018-04-24T08:12:31.000Z
2020-09-02T18:11:21.000Z
migrations/versions/ee5315dcf3e1_.py
wildintellect/tasking-manager
373fb231404628e6ae9a1838539b9c3cb23ad73c
[ "BSD-2-Clause" ]
28
2019-01-04T17:39:00.000Z
2021-05-06T23:06:24.000Z
migrations/versions/ee5315dcf3e1_.py
wildintellect/tasking-manager
373fb231404628e6ae9a1838539b9c3cb23ad73c
[ "BSD-2-Clause" ]
3
2020-02-29T20:46:09.000Z
2020-11-20T19:44:04.000Z
"""empty message Revision ID: ee5315dcf3e1 Revises: 9f5b73af01db Create Date: 2017-05-24 10:39:46.586986 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'ee5315dcf3e1' down_revision = '9f5b73af01db' branch_labels = None depends_on = None def upgrade(): # ...
31.621622
87
0.694017
156
1,170
5.044872
0.358974
0.139771
0.069886
0.101652
0.458704
0.358323
0.330368
0.330368
0.172808
0.172808
0
0.044
0.145299
1,170
36
88
32.5
0.743
0.252137
0
0
0
0
0.236277
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.222222
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
5b0340e8c87e83abc062cbdb7773314cbba482e5
2,633
py
Python
flexget/plugins/input/input_csv.py
metaMMA/Flexget
a38986422461d7935ead1e2b4ed4c88bcd0a90f5
[ "MIT" ]
null
null
null
flexget/plugins/input/input_csv.py
metaMMA/Flexget
a38986422461d7935ead1e2b4ed4c88bcd0a90f5
[ "MIT" ]
1
2017-10-09T23:06:44.000Z
2017-10-09T23:06:44.000Z
flexget/plugins/input/input_csv.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 from future.utils import PY3 import logging import csv from requests import RequestException from flexget import plugin from flexget.entry import Entry from flexget.event...
29.255556
87
0.565515
298
2,633
4.959732
0.496644
0.02977
0.02977
0.023004
0.024357
0
0
0
0
0
0
0.007312
0.324725
2,633
89
88
29.58427
0.82396
0.254083
0
0.150943
0
0
0.128844
0
0
0
0
0
0
1
0.037736
false
0
0.188679
0
0.283019
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
5b03dd11f975d3847001932de43a5378848ce948
2,043
py
Python
gdget.py
tienfuc/gdcmdtools
357ada27cdb6ef0cc155b8fb52b6f6368cd1f277
[ "BSD-2-Clause" ]
29
2015-09-10T08:00:30.000Z
2021-12-24T01:15:53.000Z
gdget.py
tienfuc/gdcmdtools
357ada27cdb6ef0cc155b8fb52b6f6368cd1f277
[ "BSD-2-Clause" ]
56
2015-09-10T02:56:16.000Z
2020-10-06T13:17:21.000Z
gdget.py
tienfuc/gdcmdtools
357ada27cdb6ef0cc155b8fb52b6f6368cd1f277
[ "BSD-2-Clause" ]
4
2015-09-30T03:35:33.000Z
2019-07-07T14:19:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import re from gdcmdtools.base import BASE_INFO from gdcmdtools.base import DEBUG_LEVEL from gdcmdtools.get import GDGet from gdcmdtools.get import export_format import argparse from argparse import RawTextHelpFormatter from pprint import pprint import logg...
24.614458
93
0.603035
240
2,043
4.875
0.395833
0.092308
0.041026
0.068376
0
0
0
0
0
0
0
0.002738
0.284875
2,043
82
94
24.914634
0.798084
0.02839
0
0.050847
0
0
0.177598
0.014127
0
0
0
0
0.016949
1
0.016949
false
0
0.169492
0
0.186441
0.016949
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5b062f73819a8130b2460252ff5ee938a80ac7e2
8,261
py
Python
src/retrocookie/git.py
cjolowicz/retrocookie
bc15dd46070ce50df21eeb016a385529d601f2b0
[ "MIT" ]
15
2020-06-21T14:35:42.000Z
2022-03-30T15:48:55.000Z
src/retrocookie/git.py
cjolowicz/retrocookie
bc15dd46070ce50df21eeb016a385529d601f2b0
[ "MIT" ]
223
2020-05-22T14:35:05.000Z
2022-03-28T00:19:23.000Z
src/retrocookie/git.py
cjolowicz/retrocookie
bc15dd46070ce50df21eeb016a385529d601f2b0
[ "MIT" ]
4
2020-11-19T12:55:01.000Z
2022-03-15T14:24:25.000Z
"""Git interface.""" from __future__ import annotations import contextlib import functools import operator import re import subprocess # noqa: S404 from dataclasses import dataclass from dataclasses import field from pathlib import Path from typing import Any from typing import cast from typing import Iterator from t...
30.824627
86
0.587459
968
8,261
4.944215
0.232438
0.030088
0.015044
0.01191
0.118471
0.113038
0.097367
0.097367
0.075219
0.052236
0
0.004699
0.278659
8,261
267
87
30.940075
0.798456
0.125651
0
0.145946
0
0
0.048906
0.008437
0
0
0
0
0.005405
1
0.145946
false
0
0.086486
0
0.362162
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
5b08fda32750d87556f3ccf00e2fba375865e05c
2,666
py
Python
heatzy/pilote_v1.py
Devotics/heatzy-home-hassistant
34ef71604d10b1d45be4cfb17d811bdd33042ce7
[ "MIT" ]
22
2019-03-07T22:51:12.000Z
2021-03-06T12:14:50.000Z
heatzy/pilote_v1.py
Devotics/heatzy-home-hassistant
34ef71604d10b1d45be4cfb17d811bdd33042ce7
[ "MIT" ]
15
2019-03-07T13:04:11.000Z
2021-03-11T21:34:34.000Z
heatzy/pilote_v1.py
Devotics/heatzy-home-hassistant
34ef71604d10b1d45be4cfb17d811bdd33042ce7
[ "MIT" ]
7
2019-11-17T11:01:50.000Z
2021-02-24T18:13:28.000Z
from homeassistant.components.climate import ClimateEntity from homeassistant.components.climate.const import (HVAC_MODE_AUTO, PRESET_AWAY, PRESET_COMFORT, PRESET_ECO, ...
27.484536
79
0.577269
303
2,666
4.815182
0.287129
0.06854
0.046607
0.046607
0.146676
0.039753
0
0
0
0
0
0.019542
0.328207
2,666
96
80
27.770833
0.795087
0.162041
0
0.196721
0
0
0.0342
0
0
0
0
0
0
1
0.147541
false
0
0.04918
0.016393
0.344262
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
5b0b336675387a3e79e4c5c116c3b8865c4ef0c0
9,024
py
Python
polling_stations/apps/councils/management/commands/import_councils.py
DemocracyClub/UK-Polling-Stations
d5c428fc7fbccf0c13a84fa0045dfd332b2879e7
[ "BSD-3-Clause" ]
29
2015-03-10T08:41:34.000Z
2022-01-12T08:51:38.000Z
polling_stations/apps/councils/management/commands/import_councils.py
DemocracyClub/UK-Polling-Stations
d5c428fc7fbccf0c13a84fa0045dfd332b2879e7
[ "BSD-3-Clause" ]
4,112
2015-04-01T21:27:38.000Z
2022-03-31T19:22:11.000Z
polling_stations/apps/councils/management/commands/import_councils.py
DemocracyClub/UK-Polling-Stations
d5c428fc7fbccf0c13a84fa0045dfd332b2879e7
[ "BSD-3-Clause" ]
31
2015-03-18T14:52:50.000Z
2022-02-24T10:31:07.000Z
import json from html import unescape import requests from django.apps import apps from django.contrib.gis.geos import GEOSGeometry, MultiPolygon, Polygon from django.conf import settings from django.core.management.base import BaseCommand from requests.exceptions import HTTPError from retry import retry from councils...
37.6
275
0.614251
970
9,024
5.542268
0.31134
0.060082
0.016741
0.010045
0.049293
0.026042
0.012649
0
0
0
0
0.008268
0.289672
9,024
239
276
37.757322
0.830421
0.098404
0
0.053254
0
0.017751
0.209593
0.050723
0
0
0
0
0
1
0.053254
false
0
0.094675
0.005917
0.207101
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
5b0e8250fd1078639a824b073c3ab62b92fe28cf
4,537
py
Python
NMTK_apps/NMTK_server/wms/djpaste.py
bhargavasana/nmtk
9bebfcc4b43c28a1f2b2574060ea3195fca2c7dd
[ "Unlicense" ]
null
null
null
NMTK_apps/NMTK_server/wms/djpaste.py
bhargavasana/nmtk
9bebfcc4b43c28a1f2b2574060ea3195fca2c7dd
[ "Unlicense" ]
null
null
null
NMTK_apps/NMTK_server/wms/djpaste.py
bhargavasana/nmtk
9bebfcc4b43c28a1f2b2574060ea3195fca2c7dd
[ "Unlicense" ]
null
null
null
# (c) 2013 Chander Ganesan and contributors; written to work with Django and Paste (http://pythonpaste.org) # Paste CGI "middleware" for Django by Chander Ganesan <chander@otg-nc.com> # Open Technology Group, Inc <http://www.otg-nc.com> # Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.ph...
36.007937
107
0.561384
500
4,537
5.004
0.34
0.047962
0.017986
0.02518
0.023981
0.023981
0
0
0
0
0
0.009309
0.337007
4,537
125
108
36.296
0.822473
0.111087
0
0.090909
0
0
0.037764
0
0
0
0
0
0
1
0.045455
false
0
0.118182
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
5b0faab2d16278cb33dcd52c6711c4e057f78b52
7,424
py
Python
build/piman.app/pysnmp/carrier/asyncore/dgram/base.py
jackgisel/team-athens
91e2aa810c0064f8b6b39ee53c3b05f037e0aeb0
[ "Apache-2.0" ]
null
null
null
build/piman.app/pysnmp/carrier/asyncore/dgram/base.py
jackgisel/team-athens
91e2aa810c0064f8b6b39ee53c3b05f037e0aeb0
[ "Apache-2.0" ]
null
null
null
build/piman.app/pysnmp/carrier/asyncore/dgram/base.py
jackgisel/team-athens
91e2aa810c0064f8b6b39ee53c3b05f037e0aeb0
[ "Apache-2.0" ]
null
null
null
# # This file is part of pysnmp software. # # Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com> # License: http://snmplabs.com/pysnmp/license.html # import socket import errno import sys from pysnmp.carrier.asyncore.base import AbstractSocketTransport from pysnmp.carrier import sockfix, sockmsg, error from pysn...
40.791209
237
0.630119
823
7,424
5.591738
0.227218
0.045632
0.026076
0.028683
0.420035
0.359192
0.343981
0.310517
0.299
0.234463
0
0.009358
0.265894
7,424
181
238
41.016575
0.835046
0.04472
0
0.28777
0
0
0.133192
0
0
0
0
0
0
1
0.115108
false
0.014388
0.043165
0.014388
0.302158
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
5b10e569de8510acb457502268786c36584d12b7
5,539
py
Python
src/coreclr/scripts/superpmi-replay.py
JimmyCushnie/runtime
b7eb82871f1d742efb444873e11dd6241cea73d2
[ "MIT" ]
2
2021-05-04T11:27:27.000Z
2021-06-18T14:04:08.000Z
src/coreclr/scripts/superpmi-replay.py
JimmyCushnie/runtime
b7eb82871f1d742efb444873e11dd6241cea73d2
[ "MIT" ]
18
2019-12-03T00:21:59.000Z
2022-01-30T04:45:58.000Z
src/coreclr/scripts/superpmi-replay.py
JimmyCushnie/runtime
b7eb82871f1d742efb444873e11dd6241cea73d2
[ "MIT" ]
2
2022-01-23T12:24:04.000Z
2022-02-07T15:44:03.000Z
#!/usr/bin/env python3 # # Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the MIT license. # ## # Title : superpmi_setup.py # # Notes: # # Script to run "superpmi replay" for various collections under various COMPlus_JitStressRegs value....
37.938356
118
0.609677
629
5,539
5.09539
0.27027
0.068643
0.04493
0.052418
0.217161
0.195632
0.166303
0.086739
0.050858
0.025273
0
0.007024
0.228922
5,539
145
119
38.2
0.743386
0.106156
0
0.10989
0
0
0.225745
0.024096
0
0
0.002959
0
0
1
0.021978
false
0
0.065934
0
0.10989
0.043956
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
5b110f22e3b74f1f108abb0d9e76465e1a151a75
2,234
py
Python
neuralgym/callbacks/model_saver.py
pancookie/SNPGAN_TECcompletion
2245179db9d9c64da20a6dd7098795a1cf724ad3
[ "MIT" ]
1
2022-02-06T07:38:43.000Z
2022-02-06T07:38:43.000Z
neuralgym/callbacks/model_saver.py
pancookie/SNPGAN_TECcompletion
2245179db9d9c64da20a6dd7098795a1cf724ad3
[ "MIT" ]
null
null
null
neuralgym/callbacks/model_saver.py
pancookie/SNPGAN_TECcompletion
2245179db9d9c64da20a6dd7098795a1cf724ad3
[ "MIT" ]
null
null
null
"""model_saver""" import os from . import PeriodicCallback, CallbackLoc from ..utils.logger import callback_log class ModelSaver(PeriodicCallback): """Save model to file at every pstep step_start. Args: pstep (int): Save to model every pstep. saver: Tensorflow saver. dump_prefix (str...
37.864407
115
0.606088
320
2,234
3.975
0.228125
0.08805
0.07783
0.034591
0.29717
0.139151
0.139151
0.139151
0.073113
0
0
0.007912
0.264548
2,234
58
116
38.517241
0.766281
0.256491
0
0
0
0
0.073663
0
0
0
0
0
0
1
0.117647
false
0
0.176471
0
0.352941
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
5b1186da0e35b3ea68ef672cbd4ad76ad6086353
1,352
py
Python
rower_monitor/boat_metrics.py
sergiomo/diy-rower-monitor
32730025874f32015b8a582175db36cdd351ce1e
[ "Unlicense" ]
null
null
null
rower_monitor/boat_metrics.py
sergiomo/diy-rower-monitor
32730025874f32015b8a582175db36cdd351ce1e
[ "Unlicense" ]
null
null
null
rower_monitor/boat_metrics.py
sergiomo/diy-rower-monitor
32730025874f32015b8a582175db36cdd351ce1e
[ "Unlicense" ]
null
null
null
from .time_series import TimeSeries class BoatModel: def __init__(self, workout): self.workout = workout self.position = TimeSeries() self.speed = TimeSeries() def update(self): """This function gets called on every flywheel encoder tick.""" pass class RotatingWheel...
35.578947
118
0.647929
164
1,352
5.20122
0.445122
0.09027
0.10551
0.091442
0.109027
0
0
0
0
0
0
0.011033
0.262574
1,352
37
119
36.540541
0.844534
0.235947
0
0.08
0
0
0
0
0
0
0
0
0
1
0.12
false
0.04
0.04
0
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
5b14c2ff1b60260805608d9bdfcac0cbbde63652
5,613
py
Python
pytorch/GPT.py
lyq628/NLP-Tutorials
7c9d117a3542695e79419c835ba9e98ef80800b8
[ "MIT" ]
643
2018-11-30T09:14:29.000Z
2022-03-28T14:04:15.000Z
pytorch/GPT.py
lyq628/NLP-Tutorials
7c9d117a3542695e79419c835ba9e98ef80800b8
[ "MIT" ]
22
2019-01-03T17:58:12.000Z
2022-02-10T01:56:00.000Z
pytorch/GPT.py
lyq628/NLP-Tutorials
7c9d117a3542695e79419c835ba9e98ef80800b8
[ "MIT" ]
258
2018-12-03T17:15:04.000Z
2022-03-30T07:45:49.000Z
from transformer import Encoder from torch import nn,optim from torch.nn.functional import cross_entropy,softmax, relu from torch.utils.data import DataLoader from torch.utils.data.dataloader import default_collate import torch import utils import os import pickle class GPT(nn.Module): def __init__(self, model_d...
43.176923
136
0.637983
820
5,613
4.163415
0.220732
0.031634
0.030756
0.01406
0.173697
0.124194
0.083773
0.07147
0.056239
0.056239
0
0.014973
0.21468
5,613
129
137
43.511628
0.759528
0.045074
0
0.019048
0
0
0.046024
0.017587
0
0
0
0
0
1
0.07619
false
0
0.085714
0.009524
0.219048
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
5b14e976757ac56925070b1b4efc08dd156d8a00
22,691
py
Python
skyportal/plot.py
dannygoldstein/skyportal
3f3518136530fcf5bd1787a4c890782164627fce
[ "BSD-3-Clause" ]
null
null
null
skyportal/plot.py
dannygoldstein/skyportal
3f3518136530fcf5bd1787a4c890782164627fce
[ "BSD-3-Clause" ]
null
null
null
skyportal/plot.py
dannygoldstein/skyportal
3f3518136530fcf5bd1787a4c890782164627fce
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import pandas as pd from bokeh.core.json_encoder import serialize_json from bokeh.core.properties import List, String from bokeh.document import Document from bokeh.layouts import row, column from bokeh.models import CustomJS, HoverTool, Range1d, Slider, Button from bokeh.models.widgets import Check...
30.335561
88
0.534441
2,662
22,691
4.435763
0.222014
0.023628
0.018293
0.011009
0.460112
0.428692
0.374322
0.367632
0.358232
0.341887
0
0.059065
0.31356
22,691
747
89
30.376171
0.699024
0.106518
0
0.381944
0
0.001736
0.17745
0.028026
0
0
0
0.004016
0
1
0.006944
false
0.008681
0.034722
0
0.060764
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
5b15f03a9e21ad9e630b8c38b2ac80ff1cf06549
4,625
py
Python
lib/session.py
Hiteshsuhas/err-stackstorm
7579350ac50d9324b64a73b86d57e094270cb275
[ "Apache-2.0" ]
15
2016-09-19T12:06:12.000Z
2021-11-30T12:04:44.000Z
lib/session.py
Hiteshsuhas/err-stackstorm
7579350ac50d9324b64a73b86d57e094270cb275
[ "Apache-2.0" ]
22
2017-06-19T18:13:54.000Z
2021-05-28T09:25:01.000Z
lib/session.py
Hiteshsuhas/err-stackstorm
7579350ac50d9324b64a73b86d57e094270cb275
[ "Apache-2.0" ]
7
2017-06-19T17:03:59.000Z
2021-09-27T11:06:31.000Z
# coding:utf-8 import uuid import string import hashlib import logging from lib.errors import SessionExpiredError, SessionConsumedError from datetime import datetime as dt from random import SystemRandom LOG = logging.getLogger("errbot.plugin.st2.session") def generate_password(length=8): rnd = SystemRandom() ...
34.774436
99
0.611676
576
4,625
4.756944
0.263889
0.040146
0.040876
0.035037
0.266423
0.157664
0.09927
0.087591
0.038686
0.038686
0
0.006137
0.295351
4,625
132
100
35.037879
0.834612
0.236108
0
0.105882
0
0
0.06928
0.007596
0
0
0
0
0
1
0.129412
false
0.023529
0.082353
0.023529
0.341176
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
5b16bf8ef2577dbc0fa8123ec5c7829b61cd4d77
700
py
Python
junopy/entities/bill.py
robertons/junopy
1acc64ab99d8ea49bb0dac979cd34da43541f243
[ "MIT" ]
3
2021-07-12T15:05:13.000Z
2022-01-31T03:35:43.000Z
junopy/entities/bill.py
robertons/junopy
1acc64ab99d8ea49bb0dac979cd34da43541f243
[ "MIT" ]
2
2022-01-29T20:14:51.000Z
2022-02-07T16:16:24.000Z
junopy/entities/bill.py
robertons/junopy
1acc64ab99d8ea49bb0dac979cd34da43541f243
[ "MIT" ]
1
2022-02-01T18:36:10.000Z
2022-02-01T18:36:10.000Z
# -*- coding: utf-8 -*- from .lib import * class Bill(JunoEntity): def __init__(cls, **kw): cls.__route__ = '/bill-payments' cls.__metadata__ = {} # FIELDS cls.id = String(max=80) cls.digitalAccountId = String(max=100) cls.billType = ObjList(context=cls, key='status', name='str') cls.numericalBarCode...
26.923077
63
0.674286
91
700
5.010989
0.505495
0.098684
0.105263
0.131579
0.232456
0.232456
0.144737
0
0
0
0
0.025
0.142857
700
25
64
28
0.735
0.04
0
0
0
0
0.076233
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.166667
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
5b18bfb17e1557ac4b871c78c2b1715de071b1e0
881
py
Python
accounts/signals.py
julesc00/challenge
0f991d07c3fa959e254d1b97d4d393fde13844a9
[ "MIT" ]
null
null
null
accounts/signals.py
julesc00/challenge
0f991d07c3fa959e254d1b97d4d393fde13844a9
[ "MIT" ]
null
null
null
accounts/signals.py
julesc00/challenge
0f991d07c3fa959e254d1b97d4d393fde13844a9
[ "MIT" ]
null
null
null
from django.db.models.signals import post_save from django.contrib.auth.signals import user_logged_in, user_logged_out, user_login_failed from django.contrib.auth.models import User from django.contrib.auth.models import Group from django.dispatch import receiver from .models import Usuario, LoginLog def user_profil...
24.472222
90
0.715096
117
881
5.239316
0.367521
0.081566
0.083197
0.102773
0.107667
0.107667
0
0
0
0
0
0
0.190692
881
35
91
25.171429
0.859748
0
0
0
0
0
0.084187
0
0
0
0
0
0
1
0.086957
false
0
0.26087
0
0.347826
0.086957
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
5b190f68d89adb80d4fc9ec36ff5f159161ba327
2,166
py
Python
Python Scripting/Python - POC-3/DvdApp.py
vaibhavkrishna-bhosle/Trendnxt-Projects
6c8a31be2f05ec79cfc5086ee09adff161b836ad
[ "MIT" ]
null
null
null
Python Scripting/Python - POC-3/DvdApp.py
vaibhavkrishna-bhosle/Trendnxt-Projects
6c8a31be2f05ec79cfc5086ee09adff161b836ad
[ "MIT" ]
null
null
null
Python Scripting/Python - POC-3/DvdApp.py
vaibhavkrishna-bhosle/Trendnxt-Projects
6c8a31be2f05ec79cfc5086ee09adff161b836ad
[ "MIT" ]
null
null
null
import mysql.connector from mysql.connector.errors import ProgrammingError from mysql.connector import Error from DvdOperations import DvdStore database = "db4" def CreateDatabase(database): mydb = mysql.connector.connect( host="localhost", user="Vaibhav", passwd="Vaibhav@007", ) m...
24.066667
171
0.60711
235
2,166
5.578723
0.446809
0.085431
0.045767
0.057208
0.21434
0.171625
0.171625
0.171625
0.171625
0.171625
0
0.031888
0.276085
2,166
90
172
24.066667
0.804209
0
0
0.357143
0
0.028571
0.243655
0
0
0
0
0
0
1
0.057143
false
0.042857
0.057143
0
0.114286
0.114286
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
5b1919573f3036459523134660e1cde252b7f5d5
8,689
py
Python
cloudshell/rest/api.py
QualiSystems/cloudshell-rest-api
70d09262c81b8dae55053aae162a7265cf67865f
[ "Apache-2.0" ]
1
2021-11-26T22:52:42.000Z
2021-11-26T22:52:42.000Z
cloudshell/rest/api.py
katzy687/cloudshell-rest-api
70d09262c81b8dae55053aae162a7265cf67865f
[ "Apache-2.0" ]
11
2019-01-08T06:37:34.000Z
2021-06-09T17:39:50.000Z
cloudshell/rest/api.py
katzy687/cloudshell-rest-api
70d09262c81b8dae55053aae162a7265cf67865f
[ "Apache-2.0" ]
7
2016-09-27T13:14:00.000Z
2021-11-23T14:02:06.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import os import json try: import urllib2 except: import urllib.request as urllib2 from requests import delete, get, post, put from cloudshell.rest.exceptions import ShellNotFoundException, FeatureUnavailable class PackagingRestApiClient(object): def __init__(se...
36.662447
140
0.579008
973
8,689
5.080164
0.206578
0.042484
0.054623
0.0526
0.442646
0.396925
0.361117
0.329152
0.272911
0.254704
0
0.017857
0.297503
8,689
236
141
36.817797
0.79194
0.12464
0
0.367742
0
0
0.129789
0.01513
0
0
0
0
0
1
0.090323
false
0.019355
0.070968
0.012903
0.219355
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
5b1aad312b8c27483bc4147a2754724cb8c715fb
1,039
py
Python
learn_pyqt5/checkable_bar.py
liusong-cn/python
f67933f0879021a595258e09c4cde5ca1f9f6aed
[ "Apache-2.0" ]
1
2019-11-12T13:38:54.000Z
2019-11-12T13:38:54.000Z
learn_pyqt5/checkable_bar.py
liusong-cn/python
f67933f0879021a595258e09c4cde5ca1f9f6aed
[ "Apache-2.0" ]
null
null
null
learn_pyqt5/checkable_bar.py
liusong-cn/python
f67933f0879021a595258e09c4cde5ca1f9f6aed
[ "Apache-2.0" ]
null
null
null
# _*_ coding:utf-8 _*_ # author:ls # time:2020/3/19 0019 import sys from PyQt5.QtWidgets import QApplication,QAction,QMainWindow from PyQt5.QtGui import QIcon class Example(QMainWindow): def __init__(self): super().__init__() self.setui() def setui(self): self.statusbar = self.statusB...
25.341463
60
0.627526
116
1,039
5.439655
0.568966
0.103011
0.053883
0.082409
0
0
0
0
0
0
0
0.033505
0.253128
1,039
41
61
25.341463
0.779639
0.07411
0
0
0
0
0.073069
0
0
0
0
0
0
1
0.103448
false
0
0.103448
0
0.241379
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
5b20baf76a7bc453b189c49cad4f4c0139f19706
5,154
py
Python
tests/scanner/test_data/fake_retention_scanner_data.py
ogreface/forseti-security
a7a3573183fa1416c605dad683587717795fe13b
[ "Apache-2.0" ]
null
null
null
tests/scanner/test_data/fake_retention_scanner_data.py
ogreface/forseti-security
a7a3573183fa1416c605dad683587717795fe13b
[ "Apache-2.0" ]
null
null
null
tests/scanner/test_data/fake_retention_scanner_data.py
ogreface/forseti-security
a7a3573183fa1416c605dad683587717795fe13b
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 The Forseti Security 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 ap...
34.13245
85
0.684517
599
5,154
5.661102
0.265442
0.038337
0.040106
0.047184
0.119434
0.108228
0.108228
0.108228
0.071955
0
0
0.032242
0.21168
5,154
150
86
34.36
0.802363
0.119519
0
0.034783
0
0
0.17323
0.064823
0
0
0
0
0
1
0.052174
false
0
0.06087
0
0.156522
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
5b22463c2df2d021f347bc17bcb98562b99edb54
4,298
py
Python
libsonyapi/camera.py
BugsForDays/libsonyapi
c6482b4ad90f199b7fb4e344f8e61d4ed0f9466f
[ "MIT" ]
13
2019-04-19T16:44:58.000Z
2021-09-20T05:33:10.000Z
libsonyapi/camera.py
BugsForDays/libsonyapi
c6482b4ad90f199b7fb4e344f8e61d4ed0f9466f
[ "MIT" ]
3
2021-04-23T17:21:50.000Z
2022-01-06T17:21:28.000Z
libsonyapi/camera.py
BugsForDays/libsonyapi
c6482b4ad90f199b7fb4e344f8e61d4ed0f9466f
[ "MIT" ]
5
2019-04-11T20:24:47.000Z
2021-10-17T22:02:56.000Z
import socket import requests import json import xml.etree.ElementTree as ET class Camera(object): def __init__(self): """ create camera object """ self.xml_url = self.discover() self.name, self.api_version, self.services = self.connect(self.xml_url) self.camera_end...
37.051724
156
0.578176
513
4,298
4.721248
0.302144
0.045417
0.040462
0.049133
0.229975
0.216763
0.193642
0.147812
0.147812
0.112304
0
0.0185
0.308283
4,298
115
157
37.373913
0.796165
0.119823
0
0.095238
0
0.035714
0.233516
0.148626
0
0
0
0.008696
0
1
0.071429
false
0.011905
0.047619
0
0.202381
0.02381
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
5b231e5f06d51cf2896d5d0d0db4095473d26007
11,961
py
Python
utility_functions_flu.py
neherlab/treetime_validation
c9760194712396ea5f5c33a9215eddbd3d13bfc1
[ "MIT" ]
4
2019-01-28T06:47:48.000Z
2021-04-22T16:31:37.000Z
utility_functions_flu.py
neherlab/treetime_validation
c9760194712396ea5f5c33a9215eddbd3d13bfc1
[ "MIT" ]
1
2020-04-03T14:42:11.000Z
2020-04-03T14:42:11.000Z
utility_functions_flu.py
neherlab/treetime_validation
c9760194712396ea5f5c33a9215eddbd3d13bfc1
[ "MIT" ]
1
2020-03-25T06:58:45.000Z
2020-03-25T06:58:45.000Z
#!/usr/bin/env python """ This module defines functions to facilitate operations with data specific to Flu trees and alignments. """ import numpy as np from Bio import AlignIO, Phylo from Bio.Align import MultipleSeqAlignment import random import subprocess import datetime import os, copy import matplotlib.pyplot as ...
32.239892
157
0.664995
1,641
11,961
4.675807
0.202925
0.008471
0.006256
0.009775
0.296364
0.227551
0.194969
0.173856
0.111821
0.092532
0
0.008522
0.234763
11,961
370
158
32.327027
0.829783
0.288103
0
0.298343
0
0
0.058969
0.011473
0
0
0
0
0.01105
1
0.077348
false
0.022099
0.093923
0
0.259669
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
5b24576277ff90503d0b77ea45447ed2cd207807
3,443
py
Python
add_label.py
Mause/pull_requests
6c3aa3feb8ec775c184eaa70d09b944ba753125b
[ "MIT" ]
null
null
null
add_label.py
Mause/pull_requests
6c3aa3feb8ec775c184eaa70d09b944ba753125b
[ "MIT" ]
39
2021-02-10T05:59:09.000Z
2022-03-18T07:21:29.000Z
add_label.py
Mause/pull_requests
6c3aa3feb8ec775c184eaa70d09b944ba753125b
[ "MIT" ]
null
null
null
from asyncio import get_event_loop from dataclasses import dataclass, field from typing import Dict, List, Optional, Union from aiohttp import ClientSession from pydantic import BaseModel from sgqlc.endpoint.base import BaseEndpoint from sgqlc.operation import Operation from sgqlc_schemas.github.schema import ( Ad...
27.544
88
0.652338
390
3,443
5.558974
0.346154
0.023063
0.020295
0.0369
0.072878
0.021218
0
0
0
0
0
0.001889
0.231194
3,443
124
89
27.766129
0.817151
0
0
0.021053
0
0
0.057508
0
0
0
0
0
0
1
0.010526
false
0
0.084211
0
0.294737
0.010526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5b24e7eb961669dcd20e501b760778d98a071d8b
851
py
Python
DataEngineering/Chapter7/7.6/financialdata/financialdata/scheduler.py
yz830620/FinMindBook
1ffda3541eb73e6d4cb47798bf9d28b66a49939b
[ "MIT" ]
5
2021-12-13T12:03:22.000Z
2022-03-30T08:51:19.000Z
DataEngineering/Chapter7/7.6/financialdata/financialdata/scheduler.py
yz830620/FinMindBook
1ffda3541eb73e6d4cb47798bf9d28b66a49939b
[ "MIT" ]
1
2022-01-26T05:42:56.000Z
2022-03-12T08:24:57.000Z
DataEngineering/Chapter7/7.6/financialdata/financialdata/scheduler.py
yz830620/FinMindBook
1ffda3541eb73e6d4cb47798bf9d28b66a49939b
[ "MIT" ]
6
2021-12-14T04:32:01.000Z
2022-03-31T17:15:11.000Z
import time import datetime from apscheduler.schedulers.background import BackgroundScheduler from financialdata.producer import Update from loguru import logger def sent_crawler_task(): # 將此段,改成發送任務的程式碼 # logger.info(f"sent_crawler_task {dataset}") today = datetime.datetime.today().date().strftime("%Y-%...
24.314286
74
0.679201
105
851
5.266667
0.638095
0.099458
0.135624
0
0
0
0
0
0
0
0
0.008785
0.197415
851
34
75
25.029412
0.800878
0.118684
0
0
0
0
0.124665
0
0
0
0
0
0
1
0.083333
false
0
0.208333
0
0.291667
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
d289828efb378099de1d3d6011a5a3e50df04330
2,692
py
Python
openmc_plasma_source/plotting/plot_tokamak_source.py
mdfaisal98/openmc-plasma-source
e55d61ce6d641f4d382ce298b6f6335cd46bc507
[ "MIT" ]
null
null
null
openmc_plasma_source/plotting/plot_tokamak_source.py
mdfaisal98/openmc-plasma-source
e55d61ce6d641f4d382ce298b6f6335cd46bc507
[ "MIT" ]
null
null
null
openmc_plasma_source/plotting/plot_tokamak_source.py
mdfaisal98/openmc-plasma-source
e55d61ce6d641f4d382ce298b6f6335cd46bc507
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt from matplotlib import cm import numpy as np def scatter_tokamak_source(source, quantity=None, **kwargs): """Create a 2D scatter plot of the tokamak source. See https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.scatter.html for more arguments. Args: s...
33.65
103
0.658247
351
2,692
4.937322
0.321937
0.034622
0.065782
0.039815
0.602424
0.588575
0.50779
0.50779
0.40854
0.40854
0
0.00878
0.238484
2,692
79
104
34.075949
0.836585
0.348068
0
0.357143
0
0
0.072551
0.026602
0
0
0
0
0
1
0.047619
false
0
0.071429
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
d28b5d6c386f989e7b581b7ea7ba92a93a7470b3
1,959
py
Python
nets/static/conv_rnn_convT.py
MaximilienLC/nevo
c701a1202bc18d89a622472918733bf78ba5e304
[ "Apache-2.0" ]
null
null
null
nets/static/conv_rnn_convT.py
MaximilienLC/nevo
c701a1202bc18d89a622472918733bf78ba5e304
[ "Apache-2.0" ]
null
null
null
nets/static/conv_rnn_convT.py
MaximilienLC/nevo
c701a1202bc18d89a622472918733bf78ba5e304
[ "Apache-2.0" ]
1
2022-03-31T20:44:09.000Z
2022-03-31T20:44:09.000Z
# Copyright 2022 Maximilien Le Clei. # # 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 w...
26.472973
74
0.598264
292
1,959
3.965753
0.383562
0.036269
0.060449
0.084629
0.143351
0.075993
0.075993
0
0
0
0
0.060028
0.277182
1,959
74
75
26.472973
0.757768
0.283818
0
0.111111
0
0
0.002158
0
0
0
0
0
0
1
0.138889
false
0
0.083333
0
0.277778
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
d28b646d833333371908e74411b14fa7d1f681ca
3,306
py
Python
ors2bryton.py
andbue/ors2bryton
7a843cbf2e4d1fc4ca85497cb23919431d8d3843
[ "Unlicense" ]
null
null
null
ors2bryton.py
andbue/ors2bryton
7a843cbf2e4d1fc4ca85497cb23919431d8d3843
[ "Unlicense" ]
1
2021-02-02T13:11:23.000Z
2021-09-10T16:38:16.000Z
ors2bryton.py
andbue/ors2bryton
7a843cbf2e4d1fc4ca85497cb23919431d8d3843
[ "Unlicense" ]
null
null
null
from sys import argv from os.path import splitext from lxml import etree from struct import pack def main(): print(argv) gpx = argv[1] """ bryton: 1: go ahead 2: right 3: left 4: slight right 5: slight left 6: close right 7: close left ...
31.485714
151
0.468845
398
3,306
3.839196
0.341709
0.021597
0.045812
0.066754
0.11322
0.08966
0.066754
0.036649
0
0
0
0.045455
0.354507
3,306
104
152
31.788462
0.670572
0
0
0
0
0
0.213966
0.081916
0
0
0
0
0
1
0.016949
false
0
0.067797
0
0.084746
0.050847
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
d28c6e3b8a94c187af7ae1ba6acb241b56167d9b
1,916
py
Python
grAdapt/sampling/initializer/Vertices.py
mkduong-ai/grAdapt
94c2659b0f6ff9a2984a9dc58e3c83213313bf90
[ "Apache-2.0" ]
25
2020-11-13T05:57:01.000Z
2021-06-18T11:16:03.000Z
grAdapt/sampling/initializer/Vertices.py
mkduong-ai/grAdapt
94c2659b0f6ff9a2984a9dc58e3c83213313bf90
[ "Apache-2.0" ]
null
null
null
grAdapt/sampling/initializer/Vertices.py
mkduong-ai/grAdapt
94c2659b0f6ff9a2984a9dc58e3c83213313bf90
[ "Apache-2.0" ]
null
null
null
# python # import warnings # Third party imports import numpy as np # grAdapt from .base import Initial from grAdapt.utils.sampling import sample_corner_bounds class Vertices(Initial): """ Samples vertices if n_evals >= 2 ** len(bounds). Else low discrepancy sequences are sampled. """ def __ini...
34.214286
97
0.581942
217
1,916
4.963134
0.37788
0.050139
0.03714
0.01857
0.05571
0
0
0
0
0
0
0.007764
0.327766
1,916
55
98
34.836364
0.828416
0.38309
0
0.1
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.15
0
0.45
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
d28e9a15ec55f39d2fbe7a6ba1ac7924e04991a1
6,456
py
Python
thirdweb/modules/base.py
princetonwong/python-sdk
f35181d97620e29d055498fca75f3702f3bb2449
[ "Apache-2.0" ]
1
2022-02-18T16:59:12.000Z
2022-02-18T16:59:12.000Z
thirdweb/modules/base.py
princetonwong/python-sdk
f35181d97620e29d055498fca75f3702f3bb2449
[ "Apache-2.0" ]
null
null
null
thirdweb/modules/base.py
princetonwong/python-sdk
f35181d97620e29d055498fca75f3702f3bb2449
[ "Apache-2.0" ]
null
null
null
"""Base Module.""" from abc import ABC, abstractmethod from typing import Callable, Dict, List, Optional, Union, cast from eth_account.account import LocalAccount from thirdweb_web3 import Web3 from thirdweb_web3.types import TxReceipt from zero_ex.contract_wrappers import TxParams import json from ..abi.coin import ...
33.278351
95
0.623296
779
6,456
4.952503
0.182285
0.059876
0.025402
0.024883
0.301452
0.268274
0.218507
0.195956
0.187144
0.187144
0
0.011047
0.270911
6,456
193
96
33.450777
0.808583
0.07311
0
0.222222
0
0
0.012575
0
0
0
0
0
0
1
0.119048
false
0.031746
0.150794
0
0.436508
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
d291c41a3b15e20796ea46ca106a1298d83274c2
17,356
py
Python
data_util.py
shiyu-wangbyte/leadopt
ef289ab349a19ba1f8aa581638ef7e8e3810cb41
[ "Apache-2.0" ]
null
null
null
data_util.py
shiyu-wangbyte/leadopt
ef289ab349a19ba1f8aa581638ef7e8e3810cb41
[ "Apache-2.0" ]
null
null
null
data_util.py
shiyu-wangbyte/leadopt
ef289ab349a19ba1f8aa581638ef7e8e3810cb41
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Jacob Durrant # 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, sof...
33.441233
93
0.589191
2,280
17,356
4.27807
0.140351
0.037831
0.037216
0.044495
0.422083
0.361288
0.313615
0.299877
0.270248
0.252819
0
0.010759
0.298456
17,356
518
94
33.505792
0.790325
0.222862
0
0.30897
0
0
0.075052
0
0
0
0
0
0.006645
1
0.079734
false
0
0.019934
0.023256
0.179402
0.063123
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
d291cc8632d543ebd26c04ae26559da840755d11
4,181
py
Python
add_socket_response_event.py
Kur0den/kur0bot
d36722617bb4094bdf636779b20a799f9bd3b419
[ "MIT" ]
1
2021-09-09T11:17:17.000Z
2021-09-09T11:17:17.000Z
add_socket_response_event.py
Kur0den/kur0bot
d36722617bb4094bdf636779b20a799f9bd3b419
[ "MIT" ]
1
2021-09-18T15:46:59.000Z
2021-09-18T15:46:59.000Z
add_socket_response_event.py
Kur0den/kur0bot
d36722617bb4094bdf636779b20a799f9bd3b419
[ "MIT" ]
1
2021-09-09T02:34:17.000Z
2021-09-09T02:34:17.000Z
from discord.gateway import DiscordWebSocket, utils, _log, KeepAliveHandler, ReconnectWebSocket async def received_message(self, msg, /): if type(msg) is bytes: self._buffer.extend(msg) if len(msg) < 4 or msg[-4:] != b'\x00\x00\xff\xff': return msg = self._zlib.decompre...
32.664063
100
0.566611
490
4,181
4.655102
0.295918
0.058308
0.048224
0.015783
0.196843
0.130644
0.107847
0.083297
0.04121
0.04121
0
0.005747
0.334131
4,181
127
101
32.92126
0.813578
0.069122
0
0.268817
0
0
0.10623
0
0
0
0
0
0
1
0
false
0
0.010753
0
0.064516
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
d2936347651280722332cf187a2ad771feb61ab8
2,207
py
Python
Image_detection_codes/Keras_training/test2.py
pasadyash/CitizenServiceApp
01a0389d70624f04f6df25c1eb842b3bbce652da
[ "MIT" ]
null
null
null
Image_detection_codes/Keras_training/test2.py
pasadyash/CitizenServiceApp
01a0389d70624f04f6df25c1eb842b3bbce652da
[ "MIT" ]
null
null
null
Image_detection_codes/Keras_training/test2.py
pasadyash/CitizenServiceApp
01a0389d70624f04f6df25c1eb842b3bbce652da
[ "MIT" ]
null
null
null
import numpy as np np.random.seed(123) # for reproducibility from keras.models import Sequential from keras.layers import Dense, Dropout, Activation, Flatten from keras.layers import Convolution2D, MaxPooling2D from keras.utils import np_utils from dataset_pothole import pothole from keras.models import model_from_j...
27.5875
68
0.7372
351
2,207
4.464387
0.324786
0.061264
0.013401
0.042119
0.130185
0.103382
0.085514
0.053606
0.053606
0
0
0.040676
0.142275
2,207
79
69
27.936709
0.78711
0.178976
0
0.075472
0
0
0.074527
0.013348
0
0
0
0
0
1
0
false
0
0.132075
0
0.132075
0.132075
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
d29572229651c45d1ad6870cb96992f7e8dc3c59
9,754
py
Python
src/statemachine.py
CEOAI-ABM/SIR-Modelling
02ab89d64040b09ddce820a1ecbbc0cfc9b13f29
[ "MIT" ]
1
2021-06-13T11:50:08.000Z
2021-06-13T11:50:08.000Z
src/statemachine.py
CEOAI-ABM/SIR-Modelling
02ab89d64040b09ddce820a1ecbbc0cfc9b13f29
[ "MIT" ]
null
null
null
src/statemachine.py
CEOAI-ABM/SIR-Modelling
02ab89d64040b09ddce820a1ecbbc0cfc9b13f29
[ "MIT" ]
null
null
null
import transitions from functools import partial # from transitions import transitions.Machine # TODO: whenever there is a state chage store the following # (DAY,function_called) -> Stored for every person for agent status, state and Testing state class AgentStatusA(object): """The Statemachine of the agent""" stat...
28.190751
159
0.705454
1,293
9,754
5.116009
0.146172
0.086168
0.033409
0.061678
0.490098
0.43613
0.307181
0.294785
0.255178
0.226153
0
0.00803
0.170084
9,754
345
160
28.272464
0.809141
0.204019
0
0.334862
0
0
0.076466
0
0
0
0
0.002899
0.045872
1
0.165138
false
0
0.009174
0.050459
0.288991
0.009174
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d2965c42b4aa6f52d9c6e78125bcdb00950f4d9f
6,608
py
Python
library_samples/Python3/ocs_sample_library_preview/Dataview/Dataview.py
osi-awoodall/OSI-Samples-OCS
1995ccda20e4fe2ae66f3b67afbc1127d638a6fc
[ "Apache-2.0" ]
null
null
null
library_samples/Python3/ocs_sample_library_preview/Dataview/Dataview.py
osi-awoodall/OSI-Samples-OCS
1995ccda20e4fe2ae66f3b67afbc1127d638a6fc
[ "Apache-2.0" ]
null
null
null
library_samples/Python3/ocs_sample_library_preview/Dataview/Dataview.py
osi-awoodall/OSI-Samples-OCS
1995ccda20e4fe2ae66f3b67afbc1127d638a6fc
[ "Apache-2.0" ]
null
null
null
# Dataview.py # import json from .DataviewQuery import DataviewQuery from .DataviewMapping import DataviewMapping from .DataviewIndexConfig import DataviewIndexConfig from .DataviewGroupRule import DataviewGroupRule class Dataview(object): """ Dataview definition """ def __init__( self, ...
25.513514
87
0.575969
569
6,608
6.594025
0.128295
0.042644
0.03838
0.051173
0.196962
0.121002
0.097015
0.044776
0.022388
0
0
0.000228
0.337621
6,608
259
88
25.513514
0.85698
0.202179
0
0.21875
0
0
0.057434
0
0
0
0
0
0
1
0.164063
false
0
0.039063
0.015625
0.3125
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
d297adc463629ff967a82e11d0f42bb013364af4
2,354
py
Python
handlers/play.py
AftahBagas/AlphaMusik
c8c3804a26ad393b6f666fecd4d3464727ce2544
[ "MIT" ]
null
null
null
handlers/play.py
AftahBagas/AlphaMusik
c8c3804a26ad393b6f666fecd4d3464727ce2544
[ "MIT" ]
null
null
null
handlers/play.py
AftahBagas/AlphaMusik
c8c3804a26ad393b6f666fecd4d3464727ce2544
[ "MIT" ]
1
2021-06-22T08:08:43.000Z
2021-06-22T08:08:43.000Z
from os import path from telethon import Client from telethon.types import Message, Voice from callsmusic import callsmusic, queues import converter from downloaders import youtube from config import BOT_NAME as bn, DURATION_LIMIT from helpers.filters import command, other_filters from helpers.decorators import err...
34.115942
116
0.658454
285
2,354
5.315789
0.414035
0.031683
0.036964
0.055446
0.038284
0
0
0
0
0
0
0.007955
0.252336
2,354
68
117
34.617647
0.848864
0
0
0.035714
0
0
0.136788
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d29a434df89a3b05d94919b3e887c98d5f6aef26
8,240
py
Python
algorithms/randcommuns.py
eXascaleInfolab/clubmark
5c329a5308a39d53f77db790a31d621245a7c693
[ "Apache-2.0" ]
14
2018-11-20T08:32:30.000Z
2022-03-14T02:46:35.000Z
algorithms/randcommuns.py
eXascaleInfolab/clubmark
5c329a5308a39d53f77db790a31d621245a7c693
[ "Apache-2.0" ]
null
null
null
algorithms/randcommuns.py
eXascaleInfolab/clubmark
5c329a5308a39d53f77db790a31d621245a7c693
[ "Apache-2.0" ]
1
2019-05-22T08:39:00.000Z
2019-05-22T08:39:00.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ :Brief: Produces rand disjoint communities (clusters) for the given network with sizes similar in the ground truth. :Description: Takes number of the resulting communities and their sizes from the specified groundtruth (actually any sample of the community structure, ...
40.392157
116
0.701942
1,181
8,240
4.859441
0.298053
0.016553
0.015682
0.01394
0.123192
0.077365
0.056107
0.056107
0.056107
0.040077
0
0.010533
0.181917
8,240
203
117
40.591133
0.840825
0.377063
0
0.146154
0
0.030769
0.284788
0.008648
0
0
0
0
0.015385
1
0.023077
false
0
0.053846
0
0.092308
0.046154
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
d29d26d475e134ec64d93b0a0c67aac73b58249e
453
py
Python
integration/config/service_names.py
hawflau/serverless-application-model
d2cf4b7e23d26cdf677c564d53bb58e6a5b6cac2
[ "Apache-2.0" ]
null
null
null
integration/config/service_names.py
hawflau/serverless-application-model
d2cf4b7e23d26cdf677c564d53bb58e6a5b6cac2
[ "Apache-2.0" ]
1
2020-03-03T01:46:46.000Z
2020-03-03T01:46:46.000Z
integration/config/service_names.py
hawflau/serverless-application-model
d2cf4b7e23d26cdf677c564d53bb58e6a5b6cac2
[ "Apache-2.0" ]
null
null
null
COGNITO = "Cognito" SERVERLESS_REPO = "ServerlessRepo" MODE = "Mode" XRAY = "XRay" LAYERS = "Layers" HTTP_API = "HttpApi" IOT = "IoT" CODE_DEPLOY = "CodeDeploy" ARM = "ARM" GATEWAY_RESPONSES = "GatewayResponses" MSK = "MSK" KMS = "KMS" CWE_CWS_DLQ = "CweCwsDlq" CODE_SIGN = "CodeSign" MQ = "MQ" USAGE_PLANS = "UsagePlans...
19.695652
38
0.708609
55
453
5.636364
0.763636
0
0
0
0
0
0
0
0
0
0
0
0.145695
453
22
39
20.590909
0.801034
0
0
0
0
0
0.342163
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
d29e1b642a0cdbe5b86c0d36bda20ce0cce1d92a
2,373
py
Python
tools/onnx_utilis/export_vfe_weight.py
neolixcn/OpenPCDet
32bae37db13711a4fb35ad2980068470bb6cee1c
[ "Apache-2.0" ]
null
null
null
tools/onnx_utilis/export_vfe_weight.py
neolixcn/OpenPCDet
32bae37db13711a4fb35ad2980068470bb6cee1c
[ "Apache-2.0" ]
null
null
null
tools/onnx_utilis/export_vfe_weight.py
neolixcn/OpenPCDet
32bae37db13711a4fb35ad2980068470bb6cee1c
[ "Apache-2.0" ]
null
null
null
import onnx import onnxruntime import torch import onnx.numpy_helper # added by huxi, load rpn config from pcdet.pointpillar_quantize_config import load_rpn_config_json # ======================================== config_dict = load_rpn_config_json.get_config() onnx_model_file = config_dict["vfe_onnx_file"] onnx_mode...
28.25
93
0.702908
384
2,373
3.986979
0.182292
0.104507
0.058785
0.027433
0.492489
0.479425
0.479425
0.460483
0.359242
0.359242
0
0.001008
0.163928
2,373
83
94
28.590361
0.770665
0.073325
0
0.28
0
0
0.04838
0.010954
0
0
0
0
0
1
0.02
false
0
0.1
0.02
0.14
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
d29e58f5104bd6d4a19025c66f8dbd6cd3fc3f1a
1,825
py
Python
color_extractor/cluster.py
hcoura/color-extractor
a69fc4a9a8b7c90d292f954d289c84a38323eda6
[ "MIT" ]
276
2016-07-25T10:00:06.000Z
2022-03-10T16:56:26.000Z
color_extractor/cluster.py
hcoura/color-extractor
a69fc4a9a8b7c90d292f954d289c84a38323eda6
[ "MIT" ]
13
2017-05-25T12:45:30.000Z
2022-03-11T23:16:30.000Z
color_extractor/cluster.py
hcoura/color-extractor
a69fc4a9a8b7c90d292f954d289c84a38323eda6
[ "MIT" ]
74
2016-12-14T07:31:18.000Z
2022-03-12T18:36:57.000Z
from sklearn.cluster import KMeans from .exceptions import KMeansException from .task import Task class Cluster(Task): """ Use the K-Means algorithm to group pixels by clusters. The algorithm tries to determine the optimal number of clusters for the given pixels. """ def __init__(self, settings=N...
26.838235
78
0.572603
202
1,825
4.970297
0.391089
0.047809
0.027888
0.059761
0
0
0
0
0
0
0
0.007359
0.329863
1,825
67
79
27.238806
0.813573
0.076712
0
0.040816
0
0
0.051051
0
0
0
0
0
0
1
0.122449
false
0
0.061224
0.040816
0.306122
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
d29f3df5f35ab4781444eaf48243bf8b792bb433
1,154
py
Python
django_india/conf.py
k-mullapudi/django-india
662a5fb363ac4360b573f5864df65619f2794dc8
[ "MIT" ]
null
null
null
django_india/conf.py
k-mullapudi/django-india
662a5fb363ac4360b573f5864df65619f2794dc8
[ "MIT" ]
null
null
null
django_india/conf.py
k-mullapudi/django-india
662a5fb363ac4360b573f5864df65619f2794dc8
[ "MIT" ]
null
null
null
import django.conf url_bases = { 'geonames': { 'dump': 'http://download.geonames.org/export/dump/', 'zip': 'http://download.geonames.org/export/zip/', }, } india_country_code = 'IN' files = { 'state': { 'filename': '', 'urls': [ url_bases['geonames']['dump'] + ...
19.233333
73
0.47747
96
1,154
5.583333
0.572917
0.059701
0.119403
0.149254
0.365672
0.257463
0.257463
0.257463
0
0
0
0
0.356153
1,154
59
74
19.559322
0.7214
0.080589
0
0.340909
0
0
0.225744
0
0
0
0
0
0
1
0.022727
false
0.022727
0.022727
0
0.113636
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
d29f77fa5fac3eb65fe044b9f6c664cd6a9d69a3
1,588
py
Python
src/dao/evaluation_dao.py
Asconius/trading-bot
df544f058d12c5378a0f8c110e28d49d983e0393
[ "Apache-2.0" ]
2
2021-06-04T11:27:02.000Z
2021-12-19T03:24:51.000Z
src/dao/evaluation_dao.py
Asconius/trading-bot
df544f058d12c5378a0f8c110e28d49d983e0393
[ "Apache-2.0" ]
22
2020-08-24T05:16:11.000Z
2021-12-13T20:51:25.000Z
src/dao/evaluation_dao.py
Asconius/trading-bot
df544f058d12c5378a0f8c110e28d49d983e0393
[ "Apache-2.0" ]
null
null
null
from decimal import Decimal from typing import List from src.dao.dao import DAO from src.dto.attempt_dto import AttemptDTO from src.entity.evaluation_entity import EvaluationEntity from src.utils.utils import Utils class EvaluationDAO: @staticmethod def create(summation: Decimal, funds: str, attempt: Attempt...
40.717949
116
0.706549
182
1,588
5.950549
0.236264
0.064635
0.036011
0.119114
0
0
0
0
0
0
0
0
0.20466
1,588
38
117
41.789474
0.857482
0
0
0.125
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.1875
0.09375
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d29fef12d764089bdcfe8679c802e9724d8f9325
1,031
py
Python
src/lib/others/info_gathering/finder/finding_comment.py
nahuelhm17/vault_scanner
574da226db5d274794d751d9d7959cd785bc9990
[ "MIT" ]
230
2019-01-10T07:43:01.000Z
2022-03-25T03:16:07.000Z
src/lib/others/info_gathering/finder/finding_comment.py
nahuelhm17/vault_scanner
574da226db5d274794d751d9d7959cd785bc9990
[ "MIT" ]
65
2018-11-18T12:48:27.000Z
2019-01-05T22:40:07.000Z
src/lib/others/info_gathering/finder/finding_comment.py
nahuelhm17/vault_scanner
574da226db5d274794d751d9d7959cd785bc9990
[ "MIT" ]
64
2019-01-16T11:56:18.000Z
2022-01-12T17:28:37.000Z
#! /usr/bin/python import requests import re from bs4 import BeautifulSoup import colors class FindingComments(object): def __init__(self, url): self.url = url self.comment_list = ['<!--(.*)-->'] self.found_comments = {} def get_soure_code(self): resp_text = requests.get(sel...
27.131579
69
0.596508
117
1,031
5.025641
0.367521
0.061224
0.115646
0
0
0
0
0
0
0
0
0.002778
0.301649
1,031
37
70
27.864865
0.813889
0.016489
0
0
0
0
0.043435
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.392857
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
d2a35e41a7de7ed1c211d10b17e2843c3afc87ce
2,753
py
Python
scripts/link_assignment.py
metagenomics/antibio
ac79c64417c749ed40263fc97d22498097f2e9b9
[ "MIT" ]
4
2015-11-03T22:00:33.000Z
2017-10-21T06:57:35.000Z
scripts/link_assignment.py
metagenomics/antibio
ac79c64417c749ed40263fc97d22498097f2e9b9
[ "MIT" ]
49
2015-09-28T11:32:38.000Z
2016-04-11T14:05:00.000Z
scripts/link_assignment.py
metagenomics/antibio
ac79c64417c749ed40263fc97d22498097f2e9b9
[ "MIT" ]
2
2018-08-27T15:15:45.000Z
2020-03-31T01:50:48.000Z
#!/usr/bin/python # This program revises the existing overview file. # If a keyword is found in an Abstract of an accession of a gene, the url of the abstract is added to the overview file # The revised overview.txt is created in the same directory of the old one and named overview_new.txt """ Usage: link_assignment.py...
35.753247
119
0.694878
388
2,753
4.667526
0.278351
0.036444
0.033131
0.037548
0.176698
0.06847
0.037548
0
0
0
0
0.00137
0.204867
2,753
76
120
36.223684
0.825948
0.263349
0
0
0
0
0.029111
0
0
0
0
0
0
1
0.095238
false
0
0.119048
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
d2a6ca53031a949367ecbf3f9d3bfdb61563f697
5,421
py
Python
app/views.py
LauretteMongina/Instagram-clone
617135bcebcf6b73f2de7af73a66c177718d338c
[ "MIT" ]
null
null
null
app/views.py
LauretteMongina/Instagram-clone
617135bcebcf6b73f2de7af73a66c177718d338c
[ "MIT" ]
null
null
null
app/views.py
LauretteMongina/Instagram-clone
617135bcebcf6b73f2de7af73a66c177718d338c
[ "MIT" ]
null
null
null
from django.shortcuts import render,redirect,get_object_or_404 from django.contrib.auth.decorators import login_required from .models import * import cloudinary import cloudinary.uploader import cloudinary.api from django.http import HttpResponseRedirect, JsonResponse from .forms import RegistrationForm, UpdateUserForm...
34.310127
98
0.642317
625
5,421
5.44
0.1888
0.038824
0.039118
0.037059
0.299118
0.247647
0.129118
0.097647
0.027647
0
0
0.003913
0.245711
5,421
158
99
34.310127
0.827586
0.051651
0
0.312977
0
0
0.079486
0.005845
0
0
0
0
0
1
0.053435
false
0.015267
0.10687
0
0.267176
0.015267
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
d2a7333fba6a0b271b7f3ddd6746591c934cb750
1,557
py
Python
at_export_config.py
Fmstrat/FreeCAD-ArchTextures
e3af6198ea5e07848602a3b8ba01ebab2335d6b1
[ "MIT" ]
21
2018-11-16T05:56:31.000Z
2021-11-09T13:21:53.000Z
at_export_config.py
Fmstrat/FreeCAD-ArchTextures
e3af6198ea5e07848602a3b8ba01ebab2335d6b1
[ "MIT" ]
39
2018-10-02T18:16:18.000Z
2022-02-11T13:45:50.000Z
at_export_config.py
Fmstrat/FreeCAD-ArchTextures
e3af6198ea5e07848602a3b8ba01ebab2335d6b1
[ "MIT" ]
10
2019-07-15T16:34:51.000Z
2022-01-25T23:57:03.000Z
import FreeCAD, FreeCADGui from arch_texture_utils.resource_utils import iconPath import arch_texture_utils.qtutils as qtutils from arch_texture_utils.selection_utils import findSelectedTextureConfig class ExportTextureConfigCommand: toolbarName = 'ArchTexture_Tools' commandName = 'Export_Config' def Get...
33.12766
122
0.689788
153
1,557
6.882353
0.51634
0.031339
0.045584
0.037987
0
0
0
0
0
0
0
0
0.236994
1,557
47
123
33.12766
0.886364
0.033398
0
0.121212
0
0
0.207333
0
0
0
0
0
0
1
0.090909
false
0
0.151515
0.030303
0.454545
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
d2a835bc55a30790d6234339c5e466df15a50aed
2,787
py
Python
Sushant_Boosting/code.py
sushant-bahekar/ga-learner-dsmp-repo
1087bec60382c2b3156f26cb87629a3b931fc41f
[ "MIT" ]
null
null
null
Sushant_Boosting/code.py
sushant-bahekar/ga-learner-dsmp-repo
1087bec60382c2b3156f26cb87629a3b931fc41f
[ "MIT" ]
null
null
null
Sushant_Boosting/code.py
sushant-bahekar/ga-learner-dsmp-repo
1087bec60382c2b3156f26cb87629a3b931fc41f
[ "MIT" ]
null
null
null
# -------------- import pandas as pd from sklearn.model_selection import train_test_split #path - Path of file # Code starts here df = pd.read_csv(path) df.head(5) X = df.drop(['customerID','Churn'],1) y = df['Churn'] X_train,X_test,y_train,y_test = train_test_split(X, y, test_size = 0.3, random_state = 0) # --...
24.663717
89
0.742375
447
2,787
4.371365
0.259508
0.04913
0.027636
0.040942
0.427329
0.32958
0.293756
0.145855
0.032753
0
0
0.010196
0.120201
2,787
112
90
24.883929
0.786705
0.178328
0
0.074074
0
0
0.077195
0
0
0
0
0
0
1
0
false
0
0.148148
0
0.148148
0.092593
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
d2a9213337ceeb22964f6608d3d20eb1d939ae74
16,566
py
Python
slsgd.py
xcgoner/ecml2019-slsgd
e4856b2015d4c7c39e28743dab2222ef8e0131fa
[ "MIT" ]
3
2019-09-10T15:46:04.000Z
2020-09-21T17:53:10.000Z
slsgd.py
xcgoner/ecml2019-slsgd
e4856b2015d4c7c39e28743dab2222ef8e0131fa
[ "MIT" ]
null
null
null
slsgd.py
xcgoner/ecml2019-slsgd
e4856b2015d4c7c39e28743dab2222ef8e0131fa
[ "MIT" ]
null
null
null
import argparse, time, logging, os, math, random os.environ["MXNET_USE_OPERATOR_TUNING"] = "0" import numpy as np from scipy import stats import mxnet as mx from mxnet import gluon, nd from mxnet import autograd as ag from mxnet.gluon import nn from mxnet.gluon.data.vision import transforms from gluoncv.model_zoo im...
40.306569
253
0.650247
2,369
16,566
4.356268
0.127058
0.016279
0.037888
0.028973
0.581105
0.505329
0.454264
0.41124
0.403101
0.390019
0
0.023108
0.211095
16,566
410
254
40.404878
0.766547
0.118556
0
0.420495
0
0.007067
0.066263
0.001718
0
0
0
0
0
1
0.014134
false
0
0.053004
0
0.081272
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
d2a9e60639815c6fa23b7d5054d4eac994971146
59,644
py
Python
predictor.py
MIC-DKFZ/DetectionAndRegression
40f3cb92ec6447767bd85b62a015b0d50e32ad26
[ "Apache-2.0" ]
40
2019-09-24T08:11:35.000Z
2022-02-23T13:49:01.000Z
predictor.py
MIC-DKFZ/MedicalDetectionRegression
40f3cb92ec6447767bd85b62a015b0d50e32ad26
[ "Apache-2.0" ]
13
2019-11-04T10:52:40.000Z
2022-03-11T23:57:14.000Z
predictor.py
MIC-DKFZ/MedicalDetectionRegression
40f3cb92ec6447767bd85b62a015b0d50e32ad26
[ "Apache-2.0" ]
22
2019-08-28T15:32:25.000Z
2022-02-18T11:27:30.000Z
#!/usr/bin/env python # Copyright 2019 Division of Medical Image Computing, German Cancer Research Center (DKFZ). # # 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...
59.229394
192
0.598803
8,188
59,644
4.159013
0.103688
0.017971
0.01389
0.005638
0.438598
0.378751
0.341076
0.304135
0.284254
0.262377
0
0.015194
0.293793
59,644
1,006
193
59.28827
0.793286
0.300181
0
0.278049
0
0
0.092716
0.00521
0
0
0
0.001988
0.026016
1
0.022764
false
0
0.019512
0
0.065041
0.001626
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
d2aa498a5dc13b5e44bb5a53742aa0908d8d79da
2,766
py
Python
src/config.py
La-tale/MessyTable
42ae08294f1a576d2477a4b4c12b2aec047c2ba9
[ "MIT" ]
32
2020-07-13T04:30:00.000Z
2022-03-17T12:04:32.000Z
src/config.py
La-tale/MessyTable
42ae08294f1a576d2477a4b4c12b2aec047c2ba9
[ "MIT" ]
12
2020-08-31T02:58:37.000Z
2022-03-26T04:05:27.000Z
src/config.py
La-tale/MessyTable
42ae08294f1a576d2477a4b4c12b2aec047c2ba9
[ "MIT" ]
8
2020-07-27T05:20:33.000Z
2022-02-04T06:58:37.000Z
import yaml import os def parse_config(args): """ prepare configs """ file_dir = os.path.dirname(os.path.realpath('__file__')) messytable_dir = os.path.realpath(os.path.join(file_dir, '..')) config_pathname = os.path.join(messytable_dir,'models',args.config_dir,'train.yaml') config = yaml....
56.44898
181
0.713304
413
2,766
4.48184
0.237288
0.051864
0.077796
0.032415
0.206915
0.116153
0.045381
0.045381
0.045381
0
0
0.01268
0.144613
2,766
48
182
57.625
0.769653
0.035069
0
0
0
0
0.331071
0.072398
0
0
0
0
0
1
0.026316
false
0
0.052632
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d2aee573a11ac0e4ec731ba7feda47d776f90ea2
995
py
Python
custom/icds_reports/dashboard_utils.py
tstalka/commcare-hq
902412b0f97ba0daac173fe284f3adc4c01bcd76
[ "BSD-3-Clause" ]
null
null
null
custom/icds_reports/dashboard_utils.py
tstalka/commcare-hq
902412b0f97ba0daac173fe284f3adc4c01bcd76
[ "BSD-3-Clause" ]
null
null
null
custom/icds_reports/dashboard_utils.py
tstalka/commcare-hq
902412b0f97ba0daac173fe284f3adc4c01bcd76
[ "BSD-3-Clause" ]
null
null
null
from corehq.apps.locations.util import location_hierarchy_config from custom.icds_reports.utils import icds_pre_release_features def get_dashboard_template_context(domain, couch_user): context = {} context['location_hierarchy'] = location_hierarchy_config(domain) context['user_location_id'] = couch_user.g...
34.310345
78
0.729648
129
995
5.186047
0.372093
0.09417
0.06278
0.085202
0.182362
0.182362
0
0
0
0
0
0
0.176884
995
28
79
35.535714
0.81685
0
0
0.086957
0
0
0.20402
0.079397
0
0
0
0
0
1
0.043478
false
0
0.086957
0
0.173913
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
d2af5783fc08617f08a4edb9dc33a39579f11d65
1,401
py
Python
examples/python/test_dict.py
SmartEconomyWorkshop/workshop
5961dcc8832f60b3a0407cb9a8361ba5485ac280
[ "MIT" ]
79
2017-10-22T03:35:06.000Z
2021-12-02T10:28:06.000Z
examples/python/test_dict.py
SmartEconomyWorkshop/workshop
5961dcc8832f60b3a0407cb9a8361ba5485ac280
[ "MIT" ]
122
2017-10-19T12:34:08.000Z
2020-08-20T12:38:17.000Z
examples/python/test_dict.py
SmartEconomyWorkshop/workshop
5961dcc8832f60b3a0407cb9a8361ba5485ac280
[ "MIT" ]
76
2017-10-19T05:09:55.000Z
2020-12-08T12:03:59.000Z
from boa_test.tests.boa_test import BoaTest from boa.compiler import Compiler from neo.Settings import settings from neo.Prompt.Commands.BuildNRun import TestBuild class TestContract(BoaTest): def test_dict1(self): output = Compiler.instance().load('%s/boa_test/example/DictTest1.py' % TestContract.dirna...
36.868421
108
0.666667
168
1,401
5.47619
0.327381
0.038043
0.058696
0.084783
0.621739
0.621739
0.621739
0.576087
0.576087
0.429348
0
0.021108
0.188437
1,401
37
109
37.864865
0.788039
0
0
0.423077
0
0
0.072805
0.068522
0
0
0
0
0.307692
1
0.115385
false
0
0.153846
0
0.307692
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
d2b08bd5689396a0415385c35a4d92cedae61e22
520
py
Python
deployment_classifier/setup.py
m-santh/VayuAnukulani
d1b881ac6268c24761dc0ef6db296d7e5ee1a22e
[ "MIT" ]
1
2021-04-19T17:04:03.000Z
2021-04-19T17:04:03.000Z
deployment_classifier/setup.py
m-santh/VayuAnukulani
d1b881ac6268c24761dc0ef6db296d7e5ee1a22e
[ "MIT" ]
18
2020-01-28T22:36:26.000Z
2020-07-28T17:01:35.000Z
deployment_classifier/setup.py
m-santh/VayuAnukulani
d1b881ac6268c24761dc0ef6db296d7e5ee1a22e
[ "MIT" ]
3
2019-04-01T10:33:20.000Z
2020-10-23T23:29:09.000Z
from setuptools import find_packages from setuptools import setup REQUIRED_PACKAGES = ['tensorflow==1.8.0','pandas==0.23.1','setuptools==38.7.0','numpy==1.14.1','Keras==2.1.4','scikit_learn==0.19.1','h5py'] setup( name='classifier', version='0.1', install_requires=REQUIRED_PACKAGES, packages=find_pack...
28.888889
140
0.701923
72
520
4.930556
0.680556
0.078873
0.112676
0
0
0
0
0
0
0
0
0.064302
0.132692
520
17
141
30.588235
0.722838
0
0
0
0
0
0.344231
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
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
d2b26b4fc46e989fc34f786c463f49d76b84289c
4,949
py
Python
pycudasirecon/_recon_params.py
tlambert03/pycudasirecon
17ca242b1cfed14216d97df480ca2c7f3471d770
[ "MIT" ]
2
2021-06-09T15:35:50.000Z
2021-06-10T05:33:11.000Z
pycudasirecon/_recon_params.py
tlambert03/pycudasirecon
17ca242b1cfed14216d97df480ca2c7f3471d770
[ "MIT" ]
null
null
null
pycudasirecon/_recon_params.py
tlambert03/pycudasirecon
17ca242b1cfed14216d97df480ca2c7f3471d770
[ "MIT" ]
null
null
null
import os from contextlib import contextmanager from tempfile import NamedTemporaryFile from typing import Optional, Sequence from pydantic import BaseModel, Field, FilePath @contextmanager def temp_config(**kwargs): """A context manager that creates a temporary config file for SIMReconstructor. `**kwargs` ...
40.235772
88
0.658921
605
4,949
5.37686
0.442975
0.052259
0.030433
0.061482
0.097756
0.070089
0.026437
0
0
0
0
0.016922
0.235805
4,949
122
89
40.565574
0.843205
0.033744
0
0.054054
0
0
0.335711
0
0
0
0
0.008197
0
1
0.018018
false
0
0.045045
0
0.441441
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
d2b2f379a4dedf2bd69de6e708c00763f4c5952f
4,098
py
Python
tesseract_converters/tesseract_to_sa_converter.py
superannotateai/annotateonline-input-converters
753211f48676d06718bb2d32501ba1df3ace9121
[ "Apache-2.0" ]
10
2020-04-30T08:36:08.000Z
2021-02-27T21:46:45.000Z
tesseract_converters/tesseract_to_sa_converter.py
superannotateai/input_converters
753211f48676d06718bb2d32501ba1df3ace9121
[ "Apache-2.0" ]
5
2020-03-27T07:16:36.000Z
2020-07-06T04:45:47.000Z
tesseract_converters/tesseract_to_sa_converter.py
superannotateai/annotateonline-input-converters
753211f48676d06718bb2d32501ba1df3ace9121
[ "Apache-2.0" ]
2
2020-06-26T20:02:10.000Z
2020-06-30T20:56:04.000Z
import os import json import argparse def main(): parser = argparse.ArgumentParser() parser.add_argument( '--input', help='Path to input files or folder\ with tesseract dict format.\ File name structure \ [IMAGE_NAME]___te...
32.784
80
0.476086
417
4,098
4.434053
0.280576
0.092482
0.075717
0.051379
0.296376
0.225527
0.177393
0.07788
0.03894
0
0
0.011662
0.414104
4,098
125
81
32.784
0.758434
0
0
0.137615
0
0
0.078068
0
0
0
0
0
0
1
0.036697
false
0
0.027523
0
0.082569
0.036697
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
d2b34796cb7b21344e2370533fa5aa6227ece2be
9,978
py
Python
evaluation/evaluation.py
Ennosigaeon/xautoml
6e49ee8b2ffb6d19dcfd9cbe8b3397416c9b5ded
[ "BSD-3-Clause" ]
4
2022-02-27T08:54:08.000Z
2022-03-30T21:19:29.000Z
evaluation/evaluation.py
Ennosigaeon/xautoml
6e49ee8b2ffb6d19dcfd9cbe8b3397416c9b5ded
[ "BSD-3-Clause" ]
1
2022-02-28T09:41:00.000Z
2022-03-02T07:44:17.000Z
evaluation/evaluation.py
Ennosigaeon/xautoml
6e49ee8b2ffb6d19dcfd9cbe8b3397416c9b5ded
[ "BSD-3-Clause" ]
2
2022-03-01T00:38:09.000Z
2022-03-21T09:38:49.000Z
import math import matplotlib.pyplot as plt import numpy as np import pandas as pd import seaborn as sns from scipy.stats import ttest_ind from sklearn.preprocessing import LabelEncoder def load_data(): questionnaire = pd.read_excel('XAutoML.xlsx') encoder = LabelEncoder() encoder.classes_ = np.array([...
35.763441
173
0.538785
1,354
9,978
3.894387
0.239291
0.017068
0.013275
0.015172
0.272141
0.203869
0.145268
0.145268
0.132372
0.105443
0
0.048894
0.243636
9,978
278
174
35.892086
0.649795
0.001804
0
0.164384
0
0.027397
0.250527
0.039176
0
0
0
0
0
1
0.045662
false
0.004566
0.050228
0.004566
0.114155
0.141553
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
d2b462f25f6094199e7adc2a1e6de5c3e66fd2f5
4,941
py
Python
matplotlib/tutorials_python/colors/colors.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
13
2020-01-04T07:37:38.000Z
2021-08-31T05:19:58.000Z
matplotlib/tutorials_python/colors/colors.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
3
2020-06-05T22:42:53.000Z
2020-08-24T07:18:54.000Z
matplotlib/tutorials_python/colors/colors.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
9
2020-10-19T04:53:06.000Z
2021-08-31T05:20:01.000Z
""" ***************** Specifying Colors ***************** Matplotlib recognizes the following formats to specify a color: * an RGB or RGBA (red, green, blue, alpha) tuple of float values in closed interval ``[0, 1]`` (e.g., ``(0.1, 0.2, 0.5)`` or ``(0.1, 0.2, 0.5, 0.3)``); * a hex RGB or RGBA string (e.g., ``'#0f0f...
36.330882
79
0.646225
800
4,941
3.965
0.36375
0.01261
0.011349
0.011349
0.042245
0.003783
0
0
0
0
0
0.028494
0.176078
4,941
135
80
36.6
0.750676
0.717264
0
0
0
0
0.07154
0
0
0
0
0
0
1
0.027027
false
0
0.135135
0
0.162162
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
d2b6b250831a7174cf7989d9fc42a91268a025cd
1,313
py
Python
12-listComprehensions.py
pgiardiniere/notes-WhirlwindTourOfPython
10f483ea4452f0a45f2103886992fd77c2f3ac7c
[ "CC0-1.0" ]
null
null
null
12-listComprehensions.py
pgiardiniere/notes-WhirlwindTourOfPython
10f483ea4452f0a45f2103886992fd77c2f3ac7c
[ "CC0-1.0" ]
null
null
null
12-listComprehensions.py
pgiardiniere/notes-WhirlwindTourOfPython
10f483ea4452f0a45f2103886992fd77c2f3ac7c
[ "CC0-1.0" ]
null
null
null
# List Comprehensions ######################### ### Basic List Comprehensions ######################### # allow us to circumvent constructing lists with for loops l = [] # The Old Way for n in range(12): l.append(n**2) [n ** 2 for n in range(12)] # Comprehension way # General Syntax: # [ ...
26.795918
61
0.545316
201
1,313
3.567164
0.353234
0.107392
0.041841
0.076709
0.252441
0.142259
0.142259
0.058577
0
0
0
0.046559
0.247525
1,313
49
62
26.795918
0.678138
0.498096
0
0.111111
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
d2b6cbdba4cdbf4de3ed032d08f889932f594f92
1,515
py
Python
src/chemical_roles/export/cli.py
bgyori/chemical-roles
31a917e911075e3be7eea509e143d3ff48e942cc
[ "MIT" ]
5
2021-02-05T01:27:53.000Z
2021-07-12T15:47:08.000Z
src/chemical_roles/export/cli.py
bgyori/chemical-roles
31a917e911075e3be7eea509e143d3ff48e942cc
[ "MIT" ]
8
2019-10-10T13:02:18.000Z
2020-05-11T18:41:56.000Z
src/chemical_roles/export/cli.py
bgyori/chemical-roles
31a917e911075e3be7eea509e143d3ff48e942cc
[ "MIT" ]
5
2020-06-07T13:11:34.000Z
2021-07-12T14:24:01.000Z
# -*- coding: utf-8 -*- """CLI for Chemical Roles exporters.""" import os import click from ..constants import DATA @click.group() def export(): """Export the database.""" @export.command(name='all') @click.pass_context def export_all(ctx): """Export all.""" ctx.invoke(summary) ctx.invoke(obo) ...
21.041667
106
0.684488
208
1,515
4.807692
0.365385
0.065
0.04
0.076
0.345
0.15
0.094
0.094
0.094
0.094
0
0.002381
0.168317
1,515
71
107
21.338028
0.79127
0.122112
0
0.255814
0
0
0.075734
0.01932
0
0
0
0
0
1
0.139535
false
0.023256
0.232558
0
0.372093
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
d2b7475246a09fa72d42e65c0defb8588ba3890e
4,681
py
Python
gdsfactory/geometry/write_drc.py
jorgepadilla19/gdsfactory
68e1c18257a75d4418279851baea417c8899a165
[ "MIT" ]
42
2020-05-25T09:33:45.000Z
2022-03-29T03:41:19.000Z
gdsfactory/geometry/write_drc.py
jorgepadilla19/gdsfactory
68e1c18257a75d4418279851baea417c8899a165
[ "MIT" ]
133
2020-05-28T18:29:04.000Z
2022-03-31T22:21:42.000Z
gdsfactory/geometry/write_drc.py
jorgepadilla19/gdsfactory
68e1c18257a75d4418279851baea417c8899a165
[ "MIT" ]
17
2020-06-30T07:07:50.000Z
2022-03-17T15:45:27.000Z
"""Write DRC rule decks in klayout. TODO: - add min area - define derived layers (composed rules) """ import pathlib from dataclasses import asdict, is_dataclass from typing import List, Optional try: from typing import Literal except ImportError: from typing_extensions import Literal from gdsfactory.confi...
26.902299
85
0.654134
632
4,681
4.719937
0.273734
0.040228
0.018773
0.025478
0.28763
0.240027
0.184378
0.164264
0.164264
0.164264
0
0.013878
0.19953
4,681
173
86
27.057803
0.782226
0.179876
0
0.132075
0
0.009434
0.378837
0.135433
0
0
0
0.00578
0
1
0.066038
false
0
0.09434
0
0.226415
0.009434
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