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
726955e0b07fe2c8c796176a5076ee44d6371107
304
py
Python
pytm/__init__.py
jeremyng123/pytm
e0bbbbbcfa387887753e27f78678c6004edf0e85
[ "MIT" ]
null
null
null
pytm/__init__.py
jeremyng123/pytm
e0bbbbbcfa387887753e27f78678c6004edf0e85
[ "MIT" ]
null
null
null
pytm/__init__.py
jeremyng123/pytm
e0bbbbbcfa387887753e27f78678c6004edf0e85
[ "MIT" ]
null
null
null
__all__ = ['Element', 'Server', 'ExternalEntity', 'Datastore', 'Actor', 'Process', 'SetOfProcesses', 'Dataflow', 'Boundary', 'TM', 'Action', 'Lambda', 'Threat'] from .pytm import Element, Server, ExternalEntity, Dataflow, Datastore, Actor, Process, SetOfProcesses, Boundary, TM, Action, Lambda, Threat
60.8
160
0.713816
30
304
7.1
0.566667
0.122066
0.253521
0.328639
0.262911
0
0
0
0
0
0
0
0.108553
304
4
161
76
0.785978
0
0
0
0
0
0.323432
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
7269858ddc95892c083fd9a632926838c559c8a0
7,344
py
Python
malchive/utilities/comguidtoyara.py
6un9-h0-Dan/malchive
1d150430559a307cdfee49d47799c95caea47415
[ "Apache-2.0" ]
59
2021-01-29T15:58:43.000Z
2022-02-11T20:15:04.000Z
malchive/utilities/comguidtoyara.py
6un9-h0-Dan/malchive
1d150430559a307cdfee49d47799c95caea47415
[ "Apache-2.0" ]
1
2021-04-09T13:53:47.000Z
2021-04-09T13:53:47.000Z
malchive/utilities/comguidtoyara.py
6un9-h0-Dan/malchive
1d150430559a307cdfee49d47799c95caea47415
[ "Apache-2.0" ]
10
2021-01-29T19:35:45.000Z
2021-07-18T21:07:40.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright(c) 2021 The MITRE Corporation. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at: # http://www.apache.org/lice...
32.932735
124
0.578431
899
7,344
4.615128
0.362625
0.014461
0.006508
0.007713
0.135695
0.084358
0.071342
0.065076
0.065076
0.038081
0
0.009903
0.3125
7,344
222
125
33.081081
0.811844
0.225218
0
0.167939
0
0
0.198603
0.023818
0.007634
0
0
0
0
1
0.030534
false
0
0.076336
0
0.129771
0.038168
0
0
0
null
0
0
0
0
0
0
0
0
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
726a44a6fe535cc4bca286ac9836e2fee0dcea3e
8,580
py
Python
examples/voc2007_extract.py
sis0truk/pretrained-models.pytorch
4aea6d47996279b4b281355ca3d9738d0dff7469
[ "BSD-3-Clause" ]
91
2018-03-21T19:45:00.000Z
2021-12-13T06:08:00.000Z
examples/voc2007_extract.py
wubin1836/pretrained-models.pytorch
cb5127f43c554c0bb52c5ded3c071d9de9a514a4
[ "BSD-3-Clause" ]
6
2019-08-03T08:49:21.000Z
2022-03-11T23:43:56.000Z
examples/voc2007_extract.py
wubin1836/pretrained-models.pytorch
cb5127f43c554c0bb52c5ded3c071d9de9a514a4
[ "BSD-3-Clause" ]
13
2018-03-23T12:31:52.000Z
2020-07-20T13:16:44.000Z
import os import argparse from tqdm import tqdm import torch from torch.autograd import Variable from torch.utils import model_zoo # http://scikit-learn.org from sklearn.metrics import accuracy_score from sklearn.metrics import average_precision_score from sklearn.svm import LinearSVC from sklearn.svm import SVC imp...
46.630435
156
0.675291
1,109
8,580
4.984671
0.190262
0.030753
0.024602
0.022793
0.271708
0.215268
0.103292
0.026049
0.026049
0.026049
0
0.011509
0.16958
8,580
184
157
46.630435
0.764351
0.025058
0
0.013986
0
0
0.11034
0
0
0
0
0
0
0
null
null
0
0.097902
null
null
0.125874
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
726b36a2e85a950a7d407068d5aa12a5d50355a1
4,089
py
Python
main.py
tani-cat/point_maximizer
c9ff868377bbeed4727914d7be258457dc8295a3
[ "MIT" ]
1
2021-09-07T04:19:48.000Z
2021-09-07T04:19:48.000Z
main.py
tani-cat/point_maximizer
c9ff868377bbeed4727914d7be258457dc8295a3
[ "MIT" ]
null
null
null
main.py
tani-cat/point_maximizer
c9ff868377bbeed4727914d7be258457dc8295a3
[ "MIT" ]
null
null
null
import csv import os from collections import deque BASE_DIR = os.path.dirname(os.path.abspath(__file__)) INPUT_PATH = os.path.join(BASE_DIR, 'goods_source.csv') OUTPUT_PATH = os.path.join(BASE_DIR, 'result.csv') FILE_ENCODE = 'shift_jis' INPUT_COLS = ('id', 'goods_name', 'price') def import_csv(): """入力データの読み込...
25.716981
82
0.544876
495
4,089
4.307071
0.274747
0.042214
0.018293
0.015478
0.120544
0.081614
0.032833
0.032833
0.032833
0.032833
0
0.024052
0.328931
4,089
158
83
25.879747
0.752915
0.106872
0
0.189189
0
0
0.067222
0.006111
0
0
0
0
0
1
0.036036
false
0
0.045045
0
0.135135
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
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
726b9a5bd16ce05e24c2ecf163d38e79bdafc8e9
440
py
Python
src/gui/tcltk/tcl/tests/langbench/proc.py
gspu/bitkeeper
994fb651a4045b221e33703fc3d665c3a34784e1
[ "Apache-2.0" ]
342
2016-05-10T14:59:07.000Z
2022-03-09T23:45:43.000Z
src/gui/tcltk/tcl/tests/langbench/proc.py
rvs/bitkeeper
616740d0daad99530951e46ab48e577807cbbaf4
[ "Apache-2.0" ]
4
2016-05-16T20:14:27.000Z
2020-10-04T19:59:25.000Z
src/gui/tcltk/tcl/tests/langbench/proc.py
rvs/bitkeeper
616740d0daad99530951e46ab48e577807cbbaf4
[ "Apache-2.0" ]
78
2016-05-10T15:53:30.000Z
2022-03-09T23:46:06.000Z
#!/usr/bin/python def a(val): return b(val) def b(val): return c(val) def c(val): return d(val) def d(val): return e(val) def e(val): return f(val) def f(val): return g(val, 2) def g(v1, v2): return h(v1, v2, 3) def h(v1, v2, v3): return i(v1, v2, v3, 4) def i(v1, v2, v3, v4): return j(v1, v2, v3, v4, 5) d...
15.172414
30
0.556818
101
440
2.425743
0.316832
0.130612
0.146939
0.130612
0.122449
0
0
0
0
0
0
0.119403
0.238636
440
28
31
15.714286
0.61194
0.036364
0
0
0
0
0.009456
0
0
0
0
0
0
0
null
null
0
0
null
null
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
726cd8989837300a91d84b0ca0157304eb9a9398
821
py
Python
src/metrics.py
dmitryrubtsov/Recommender-systems
9debd7b1c2d67ebc508263a483c81da57521dea0
[ "MIT" ]
null
null
null
src/metrics.py
dmitryrubtsov/Recommender-systems
9debd7b1c2d67ebc508263a483c81da57521dea0
[ "MIT" ]
null
null
null
src/metrics.py
dmitryrubtsov/Recommender-systems
9debd7b1c2d67ebc508263a483c81da57521dea0
[ "MIT" ]
1
2021-09-11T09:12:34.000Z
2021-09-11T09:12:34.000Z
import pandas as pd import numpy as np import swifter def money_precision_at_k(y_pred: pd.Series, y_true: pd.Series, item_price, k=5): y_pred = y_pred.swifter.progress_bar(False).apply(pd.Series) user_filter = ~(y_true.swifter.progress_bar(False).apply(len) < k) y_pred = y_pred.loc[user_filter] y_tru...
34.208333
111
0.685749
132
821
4.05303
0.325758
0.065421
0.168224
0.214953
0.416822
0.364486
0.246729
0.11215
0
0
0
0.010189
0.163216
821
23
112
35.695652
0.768559
0
0
0
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0.1875
0
0.3125
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
726cdda30af8fd9c2b731782ba8da0a87b370957
598
py
Python
diff_r_b.py
upupming/dragon
245f71996004b386ae764eb8f76603233d8a6763
[ "MIT" ]
1
2019-10-10T03:37:19.000Z
2019-10-10T03:37:19.000Z
diff_r_b.py
upupming/dragon
245f71996004b386ae764eb8f76603233d8a6763
[ "MIT" ]
null
null
null
diff_r_b.py
upupming/dragon
245f71996004b386ae764eb8f76603233d8a6763
[ "MIT" ]
null
null
null
import numpy as np size = 9 percentage_max = 0.08 xis = np.linspace(0.1 * (1-percentage_max), 0.1 * (1+percentage_max), size) E_n = [ 85219342462.9973, 85219254693.4412, 85219173007.4296, 85219096895.7433, 85219025899.6604, 85218959605.1170, 85218897637.6421, 85218839657.9502, 85218785358.0968 ] percentage ...
21.357143
75
0.704013
97
598
4.268041
0.587629
0.019324
0.067633
0.062802
0.077295
0
0
0
0
0
0
0.482558
0.137124
598
28
76
21.357143
0.319767
0.245819
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
726ed8580c5eeb89980b035843019ba84698e921
102
py
Python
src/run.py
rhiga2/mturk-tsep-test
2cc4388442bc9155022d28ec9132acc10a1b82f7
[ "MIT" ]
38
2016-08-25T16:12:54.000Z
2022-01-30T05:05:28.000Z
src/run.py
rhiga2/mturk-tsep-test
2cc4388442bc9155022d28ec9132acc10a1b82f7
[ "MIT" ]
24
2016-06-29T15:28:16.000Z
2022-03-08T02:38:51.000Z
src/run.py
rhiga2/mturk-tsep-test
2cc4388442bc9155022d28ec9132acc10a1b82f7
[ "MIT" ]
16
2016-06-29T17:03:17.000Z
2022-03-19T09:43:42.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from caqe import app app.run(debug=True, threaded=True)
20.4
34
0.676471
17
102
4.058824
0.882353
0
0
0
0
0
0
0
0
0
0
0.011236
0.127451
102
5
34
20.4
0.764045
0.411765
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
726f55adcb3a541f1d732e7444389c568ce9cca4
4,059
py
Python
src/main/python/hydra/lib/cli.py
bopopescu/hydra
ec0793f8c1f49ceb93bf1f1a9789085b68d55f08
[ "Apache-2.0" ]
10
2016-05-28T15:56:43.000Z
2018-01-03T21:30:58.000Z
src/main/python/hydra/lib/cli.py
bopopescu/hydra
ec0793f8c1f49ceb93bf1f1a9789085b68d55f08
[ "Apache-2.0" ]
17
2016-06-06T22:15:28.000Z
2020-07-22T20:28:12.000Z
src/main/python/hydra/lib/cli.py
bopopescu/hydra
ec0793f8c1f49ceb93bf1f1a9789085b68d55f08
[ "Apache-2.0" ]
5
2016-06-01T22:01:44.000Z
2020-07-22T20:12:49.000Z
"""hydra cli. Usage: hydra cli ls slaves hydra cli ls apps hydra cli ls task <app> hydra cli [force] stop <app> hydra cli scale <app> <scale> hydra cli (-h | --help) hydra cli --version Options: -h --help Show this screen. --version Show version. """ __author__ = 'sushil' from docopt imp...
34.109244
73
0.533875
507
4,059
4.193294
0.285996
0.021167
0.028222
0.047037
0.293039
0.184384
0.184384
0.184384
0.184384
0.184384
0
0.042949
0.311653
4,059
118
74
34.398305
0.717967
0.186006
0
0.234568
0
0
0.144339
0
0
0
0
0
0
1
0.012346
false
0
0.111111
0
0.123457
0.024691
0
0
0
null
0
0
0
0
0
0
0
0
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
726f6ae6d6811d44c154cb87d7ac33570c6e67c7
1,378
py
Python
azure-devops/azext_devops/test/common/test_format.py
doggy8088/azure-devops-cli-extension
2f6b1a6ffbc49ae454df640a8bb00dac991d6514
[ "MIT" ]
326
2019-04-10T12:38:23.000Z
2022-03-31T23:07:49.000Z
azure-devops/azext_devops/test/common/test_format.py
doggy8088/azure-devops-cli-extension
2f6b1a6ffbc49ae454df640a8bb00dac991d6514
[ "MIT" ]
562
2019-04-10T07:36:12.000Z
2022-03-28T07:37:54.000Z
azure-devops/azext_devops/test/common/test_format.py
doggy8088/azure-devops-cli-extension
2f6b1a6ffbc49ae454df640a8bb00dac991d6514
[ "MIT" ]
166
2019-04-10T07:59:40.000Z
2022-03-16T14:17:13.000Z
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
34.45
94
0.58926
152
1,378
5.085526
0.407895
0.054334
0.108668
0.072445
0.456662
0.410091
0.410091
0.410091
0.410091
0.347995
0
0.036134
0.196662
1,378
40
95
34.45
0.66215
0.243832
0
0.48
0
0
0.131021
0.030829
0
0
0
0
0.24
1
0.08
false
0
0.08
0
0.2
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
7271b55252042ba4d3337da31bedcd35a08671cd
7,464
py
Python
github/GitReleaseAsset.py
aantr/WindowsHostManager
75d248fc8991d471c6802fa79e7dee44a5708c65
[ "CNRI-Python-GPL-Compatible" ]
1
2021-06-25T09:13:12.000Z
2021-06-25T09:13:12.000Z
venv/lib/python3.6/site-packages/github/GitReleaseAsset.py
rongshaoshuai/blogs
dafeb789428436c1ec8069e605400612b776b8f2
[ "MIT" ]
3
2021-03-30T23:03:03.000Z
2021-03-30T23:06:57.000Z
lib/github/GitReleaseAsset.py
Corionis/Knobs-And-Scripts
81a954fd0ed697e5759359ec0383a3f16a841143
[ "MIT" ]
null
null
null
############################ Copyrights and license ############################ # # # Copyright 2017 Chris McBride <thehighlander@users.noreply.github.com> # # Copyright 2017 Simon <spam@esemi.ru> ...
37.888325
150
0.554126
692
7,464
5.787572
0.236994
0.062921
0.07191
0.059925
0.262422
0.225968
0.090886
0
0
0
0
0.003664
0.341774
7,464
196
151
38.081633
0.81152
0.321543
0
0.114286
0
0
0.048019
0
0
0
0
0
0.019048
1
0.161905
false
0
0.009524
0.009524
0.32381
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
727226bedc426059fe3d1bd87ec9c301e86441f8
3,005
py
Python
tests/test_remote.py
epenet/samsung-tv-ws-api
23e0cf8188ba16ab128cff40fc56358cc2167ead
[ "MIT" ]
null
null
null
tests/test_remote.py
epenet/samsung-tv-ws-api
23e0cf8188ba16ab128cff40fc56358cc2167ead
[ "MIT" ]
null
null
null
tests/test_remote.py
epenet/samsung-tv-ws-api
23e0cf8188ba16ab128cff40fc56358cc2167ead
[ "MIT" ]
null
null
null
"""Tests for remote module.""" from unittest.mock import Mock, call, patch from samsungtvws.remote import SamsungTVWS def test_send_key(connection: Mock) -> None: """Ensure simple data can be parsed.""" open_response = ( '{"data": {"token": 123456789}, "event": "ms.channel.connect", "from": "host"}' ...
37.098765
386
0.609651
357
3,005
4.957983
0.252101
0.035593
0.040678
0.054237
0.728814
0.705085
0.705085
0.705085
0.657627
0.657627
0
0.083542
0.203328
3,005
80
387
37.5625
0.655806
0.055907
0
0.360656
0
0.114754
0.452508
0.228388
0
0
0
0
0.098361
1
0.065574
false
0
0.032787
0
0.098361
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
7272878a102453847fd4632382fedab2cb904e9f
518
py
Python
src/utils/pythonSrc/watchFaceParser/models/elements/battery/batteryGaugeElement.py
chm-dev/amazfitGTSwatchfaceBundle
4cb04be5215de16628418e9b38152a35d5372d3e
[ "MIT" ]
49
2019-12-18T11:24:56.000Z
2022-03-28T09:56:27.000Z
src/utils/pythonSrc/watchFaceParser/models/elements/battery/batteryGaugeElement.py
chm-dev/amazfitGTSwatchfaceBundle
4cb04be5215de16628418e9b38152a35d5372d3e
[ "MIT" ]
6
2020-01-08T21:31:15.000Z
2022-03-25T19:13:26.000Z
src/utils/pythonSrc/watchFaceParser/models/elements/battery/batteryGaugeElement.py
chm-dev/amazfitGTSwatchfaceBundle
4cb04be5215de16628418e9b38152a35d5372d3e
[ "MIT" ]
6
2019-12-27T17:30:24.000Z
2021-09-30T08:11:01.000Z
import logging from watchFaceParser.models.elements.common.imageSetElement import ImageSetElement class BatteryGaugeElement(ImageSetElement): def __init__(self, parameter, parent, name = None): super(BatteryGaugeElement, self).__init__(parameter = parameter, parent = parent, name = name) def draw3(s...
43.166667
125
0.745174
53
518
7.150943
0.566038
0.079156
0.147757
0
0
0
0
0
0
0
0
0.011312
0.146718
518
11
126
47.090909
0.843891
0
0
0
0
0
0
0
0
0
0
0
0.125
0
null
null
0
0.25
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7272f878dcec10a25f78ca45ec857fd8f9c8248c
3,092
py
Python
indicoio/utils/__init__.py
JoseRoman/IndicoIo-python
4fe2952df45c26392f36acd8b43391dfc50e140b
[ "MIT" ]
1
2021-05-26T09:03:15.000Z
2021-05-26T09:03:15.000Z
indicoio/utils/__init__.py
JoseRoman/IndicoIo-python
4fe2952df45c26392f36acd8b43391dfc50e140b
[ "MIT" ]
null
null
null
indicoio/utils/__init__.py
JoseRoman/IndicoIo-python
4fe2952df45c26392f36acd8b43391dfc50e140b
[ "MIT" ]
null
null
null
import inspect import numpy as np class TypeCheck(object): """ Decorator that performs a typecheck on the input to a function """ def __init__(self, accepted_structures, arg_name): """ When initialized, include list of accepted datatypes and the arg_name to enforce the check on....
35.54023
77
0.647477
404
3,092
4.794554
0.346535
0.065049
0.034073
0.015488
0.019618
0
0
0
0
0
0
0.002618
0.258732
3,092
86
78
35.953488
0.842496
0.278784
0
0.083333
0
0
0.040941
0
0
0
0
0
0
1
0.145833
false
0.041667
0.041667
0.020833
0.354167
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
727435e62860b2aa00ad17f363ac314751d38249
3,770
py
Python
openprocurement/tender/openuadefense/tests/tender.py
ProzorroUKR/openprocurement.tender.openuadefense
5d6a7433839178edba35015ae614ba3e36b29d0b
[ "Apache-2.0" ]
null
null
null
openprocurement/tender/openuadefense/tests/tender.py
ProzorroUKR/openprocurement.tender.openuadefense
5d6a7433839178edba35015ae614ba3e36b29d0b
[ "Apache-2.0" ]
5
2018-08-14T19:41:27.000Z
2018-12-28T13:17:00.000Z
openprocurement/tender/openuadefense/tests/tender.py
ProzorroUKR/openprocurement.tender.openuadefense
5d6a7433839178edba35015ae614ba3e36b29d0b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import unittest from openprocurement.api.tests.base import snitch from openprocurement.api.tests.base import BaseWebTest from openprocurement.tender.belowthreshold.tests.base import test_lots from openprocurement.tender.belowthreshold.tests.tender import TenderResourceTestMixin from openprocur...
37.326733
121
0.748276
412
3,770
6.536408
0.245146
0.063498
0.064983
0.026736
0.299666
0.193465
0.036391
0
0
0
0
0.004403
0.156499
3,770
100
122
37.7
0.842453
0.039788
0
0.097222
0
0
0.081949
0.016058
0
0
0
0.01
0.097222
1
0.027778
false
0
0.138889
0
0.430556
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
7274cfef52d1610735171f4f6183581cfb8fe6dd
3,791
py
Python
fabry/tools/file_io.py
jmilhone/fabry_perot
cd3cb7a1dbcaa3c9382f9f2dbd3407d95447b3ce
[ "MIT" ]
1
2020-03-29T20:39:31.000Z
2020-03-29T20:39:31.000Z
fabry/tools/file_io.py
jmilhone/fabry_perot
cd3cb7a1dbcaa3c9382f9f2dbd3407d95447b3ce
[ "MIT" ]
null
null
null
fabry/tools/file_io.py
jmilhone/fabry_perot
cd3cb7a1dbcaa3c9382f9f2dbd3407d95447b3ce
[ "MIT" ]
2
2020-04-16T15:05:23.000Z
2020-12-05T18:19:10.000Z
from __future__ import print_function, division import os import numpy as np import h5py def dict_2_h5(fname, dic, append=False): '''Writes a dictionary to a hdf5 file with given filename It will use lzf compression for all numpy arrays Args: fname (str): filename to write to dic (dic...
28.291045
97
0.611976
545
3,791
4.102752
0.26055
0.010733
0.024598
0.033542
0.317084
0.275939
0.203488
0.101521
0.101521
0.101521
0
0.019971
0.273543
3,791
133
98
28.503759
0.791939
0.277499
0
0.2
0
0
0.064269
0.052793
0
0
0
0
0
1
0.12
false
0
0.053333
0
0.28
0.013333
0
0
0
null
0
0
0
0
0
0
0
0
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
727582490ff712919e59b1f8a7dcf9ac45d6d3f9
1,786
py
Python
derivadas.py
lucaspompeun/metodos-matematicos-aplicados-nas-engenharias-via-sistemas-computacionais
008d397f76a935af1aba530cc0134b9dd326d3ac
[ "MIT" ]
16
2019-09-27T03:08:44.000Z
2020-10-16T18:43:45.000Z
primeira-edicao/derivadas.py
gm2sc-ifpa/metodos-matematicos-aplicados-nas-engenharias-via-sistemas-computacionais-master
f435c366e08dc14b0557f2172ad3b841ddb7ef2e
[ "MIT" ]
null
null
null
primeira-edicao/derivadas.py
gm2sc-ifpa/metodos-matematicos-aplicados-nas-engenharias-via-sistemas-computacionais-master
f435c366e08dc14b0557f2172ad3b841ddb7ef2e
[ "MIT" ]
5
2019-09-13T20:00:38.000Z
2020-09-19T03:04:00.000Z
# -*- coding: utf-8 -*- """ Created on Sat Mar 23 21:57:48 2019 INSTITUTO FEDERAL DE EDUCAÇÃO, CIÊNCIA E TECNOLOGIA DO PÁRA - IFPA ANANINDEUA @author: Prof. Dr. Denis C. L. Costa Discentes: Heictor Alves de Oliveira Costa Lucas Pompeu Neves Grupo...
23.813333
78
0.570549
247
1,786
4.097166
0.433198
0.013834
0.008893
0.007905
0.173913
0.118577
0.031621
0
0
0
0
0.045147
0.255879
1,786
74
79
24.135135
0.716328
0.535834
0
0.259259
0
0
0.393487
0.105834
0
0
0
0
0
1
0.111111
false
0
0.037037
0.111111
0.259259
0.555556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
1
0
2
72789eb5c6f77f3e712cea1375e6fa57c2e3d189
1,170
py
Python
trapping_rain_water/solution.py
haotianzhu/C_Questions_Solutions
2677b6d26bedb9bc6c6137a2392d0afaceb91ec2
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
trapping_rain_water/solution.py
haotianzhu/C_Questions_Solutions
2677b6d26bedb9bc6c6137a2392d0afaceb91ec2
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
trapping_rain_water/solution.py
haotianzhu/C_Questions_Solutions
2677b6d26bedb9bc6c6137a2392d0afaceb91ec2
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
class Solution: def trap(self, height): """ :type height: List[int] :rtype: int """ if not height: return 0 left = 0 right = len(height)-1 total_area = 0 if height[left] <= height[right]: m = left else: m =right while(left < right): if height[left] <= height[right]: # move m...
24.375
103
0.616239
175
1,170
4.051429
0.365714
0.098731
0.135402
0.101551
0.282087
0.152327
0.104372
0.104372
0.104372
0
0
0.007026
0.270085
1,170
48
104
24.375
0.823185
0.346154
0
0.266667
0
0
0.010753
0
0
0
0
0
0
1
0.033333
false
0
0
0
0.133333
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
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
72792ffbb67fb0954aabb51561db8a143501fbea
607
py
Python
ABC/178/D.py
yu9824/AtCoder
50a209059c005efadc1c912e443ec41365381c16
[ "MIT" ]
null
null
null
ABC/178/D.py
yu9824/AtCoder
50a209059c005efadc1c912e443ec41365381c16
[ "MIT" ]
null
null
null
ABC/178/D.py
yu9824/AtCoder
50a209059c005efadc1c912e443ec41365381c16
[ "MIT" ]
null
null
null
# list(map(int, input().split())) # int(input()) import sys sys.setrecursionlimit(10 ** 9) ''' DP A[n] = A[n-3] + A[n-4] + ... + A[0] (O(S**2)) ここで,A[n-1] = A[n-4] + A[n-5] + ... + A[0]より, A[n] = A[n-3] + A[n-1]とも表せる.(O(S)でより高速.) ''' mod = 10 ** 9 + 7 def main(*args): S = args[0] A = [0 for s in range(S+1)]...
18.96875
59
0.444811
112
607
2.339286
0.375
0.068702
0.022901
0.030534
0.053435
0.053435
0.053435
0
0
0
0
0.066514
0.281713
607
32
60
18.96875
0.534404
0.202636
0
0
0
0
0.023739
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.133333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
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
727a16aa07e94a6fe76bbd40cc0c276c9724b76b
2,517
py
Python
contrib/analysis_server/src/analysis_server/factory.py
OzanCKN/OpenMDAO-Framework
05e9d4b9bc41d0ec00a7073545146c925cd33b0b
[ "Apache-2.0" ]
1
2015-11-05T11:14:45.000Z
2015-11-05T11:14:45.000Z
contrib/analysis_server/src/analysis_server/factory.py
janus/OpenMDAO-Framework
05e9d4b9bc41d0ec00a7073545146c925cd33b0b
[ "Apache-2.0" ]
null
null
null
contrib/analysis_server/src/analysis_server/factory.py
janus/OpenMDAO-Framework
05e9d4b9bc41d0ec00a7073545146c925cd33b0b
[ "Apache-2.0" ]
1
2020-07-15T02:45:54.000Z
2020-07-15T02:45:54.000Z
from openmdao.main.factory import Factory from analysis_server import client, proxy, server class ASFactory(Factory): """ Factory for components running under an AnalysisServer. An instance would typically be passed to :meth:`openmdao.main.factorymanager.register_class_factory`. host: string ...
28.602273
80
0.573699
282
2,517
5.003546
0.340426
0.028349
0.026931
0.029766
0.042523
0.042523
0
0
0
0
0
0
0.337306
2,517
87
81
28.931034
0.845923
0.320222
0
0
0
0
0.023904
0
0
0
0
0
0
1
0.111111
false
0
0.055556
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
727b538b13be55c65e12b2a82a23b2e3906b8885
474
py
Python
web/migrations/0007_auto_20180824_0925.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
2
2018-11-16T21:45:17.000Z
2019-02-03T19:55:46.000Z
web/migrations/0007_auto_20180824_0925.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
13
2018-08-17T19:12:11.000Z
2022-03-11T23:27:41.000Z
web/migrations/0007_auto_20180824_0925.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1 on 2018-08-24 09:25 from django.db import migrations, models import web.models class Migration(migrations.Migration): dependencies = [ ('web', '0006_organizationmember_user'), ] operations = [ migrations.AlterField( model_name='organizationpartner',...
23.7
110
0.662447
49
474
6.244898
0.734694
0.058824
0
0
0
0
0
0
0
0
0
0.049862
0.238397
474
19
111
24.947368
0.797784
0.090717
0
0
1
0
0.125874
0.065268
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
727c127931f6990427efb822c10447cc3dcfa23b
1,726
bzl
Python
antlir/bzl/image_actions/tarball.bzl
SaurabhAgarwala/antlir
d9513d35d3eaa9d28717a40057a14d099c6ec775
[ "MIT" ]
null
null
null
antlir/bzl/image_actions/tarball.bzl
SaurabhAgarwala/antlir
d9513d35d3eaa9d28717a40057a14d099c6ec775
[ "MIT" ]
null
null
null
antlir/bzl/image_actions/tarball.bzl
SaurabhAgarwala/antlir
d9513d35d3eaa9d28717a40057a14d099c6ec775
[ "MIT" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. load("//antlir/bzl:maybe_export_file.bzl", "maybe_export_file") load("//antlir/bzl:shape.bzl", "shape") load( "//antlir/bzl:target_tagger....
34.52
110
0.685979
239
1,726
4.711297
0.380753
0.085258
0.063943
0.031972
0.10302
0.053286
0
0
0
0
0
0
0.206837
1,726
49
111
35.22449
0.822498
0.406721
0
0.066667
0
0
0.246792
0.208292
0
0
0
0
0
1
0.033333
false
0
0
0
0.066667
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
727ca773247407a0b44c8ae5a52c27e130f63397
6,165
py
Python
sqlmat/utils.py
haobtc/sqlmat
c6b6ef966ba01173b6a485afb932ed438c35b211
[ "MIT" ]
null
null
null
sqlmat/utils.py
haobtc/sqlmat
c6b6ef966ba01173b6a485afb932ed438c35b211
[ "MIT" ]
null
null
null
sqlmat/utils.py
haobtc/sqlmat
c6b6ef966ba01173b6a485afb932ed438c35b211
[ "MIT" ]
null
null
null
from typing import Tuple, List, Optional import json import sys import os import shlex import asyncio import argparse import logging import tempfile from urllib.parse import urlparse logger = logging.getLogger(__name__) def find_sqlmat_json() -> Optional[dict]: json_path = os.getenv('SQLMAT_JSON_PATH') if jso...
28.541667
108
0.65515
801
6,165
4.928839
0.319601
0.040527
0.016464
0.017224
0.270517
0.270517
0.270517
0.24772
0.24772
0.24772
0
0.005225
0.223844
6,165
215
109
28.674419
0.819854
0.032928
0
0.254438
0
0
0.372081
0.020326
0
0
0
0
0.005917
1
0.04142
false
0.071006
0.059172
0
0.147929
0.017751
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
727d45160be9a8707217c7303a6e3540147bb34c
457
py
Python
submit.py
young-geng/UVaClient
8ff4a368ac8f0395248292a0d903047a074752ed
[ "BSD-2-Clause" ]
2
2017-09-07T07:01:53.000Z
2018-04-26T08:08:12.000Z
submit.py
young-geng/UVaClient
8ff4a368ac8f0395248292a0d903047a074752ed
[ "BSD-2-Clause" ]
null
null
null
submit.py
young-geng/UVaClient
8ff4a368ac8f0395248292a0d903047a074752ed
[ "BSD-2-Clause" ]
null
null
null
import requests from sys import stderr import re def submit(session, problem_id, language, source): language_code = { 'c': 1, 'java': 2, 'c++': 3, 'pascal': 4, 'c++11': 5 } url = "http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=25&page=save_submission" data = { 'problemid': '', ...
19.041667
99
0.641138
60
457
4.783333
0.7
0.125436
0.118467
0
0
0
0
0
0
0
0
0.024064
0.181619
457
23
100
19.869565
0.743316
0
0
0
0
0.05
0.317982
0
0
0
0
0
0
1
0.05
false
0
0.15
0
0.2
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
727ddb1308f9ba28efd3e85b5a607205219bd3f3
5,028
py
Python
FIGURE4/eddymoc_scripts/noresm_cesm_eddymoc_150yrs.py
adagj/ECS_SOconvection
d1bb935b37380f11e021a463c6a807d7527220a6
[ "MIT" ]
1
2021-11-26T00:29:28.000Z
2021-11-26T00:29:28.000Z
FIGURE4/eddymoc_scripts/noresm_cesm_eddymoc_150yrs.py
adagj/ECS_SOconvection
d1bb935b37380f11e021a463c6a807d7527220a6
[ "MIT" ]
null
null
null
FIGURE4/eddymoc_scripts/noresm_cesm_eddymoc_150yrs.py
adagj/ECS_SOconvection
d1bb935b37380f11e021a463c6a807d7527220a6
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: Ada Gjermundsen year: 2019 - 2021 This script is used to calculate the eddy-induced overturning in CESM2 and NorESM2 (LM and MM) south of 50S for the CMIP experiments piControl and abrupt-4xCO2 after 150 the average time is 30 years The result is used in FIGU...
45.297297
202
0.666468
664
5,028
4.865964
0.295181
0.009285
0.01238
0.025998
0.179201
0.158465
0.095946
0.050139
0.050139
0.050139
0
0.024605
0.207836
5,028
110
203
45.709091
0.786593
0.063047
0
0.078652
0
0
0.176521
0.035304
0
0
0
0
0
1
0.078652
false
0
0.089888
0
0.235955
0.078652
0
0
0
null
0
0
0
0
0
0
0
0
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
7280fea22c910a6288443234b126b5c1c0f5d8b9
4,161
py
Python
wings/planner.py
KnowledgeCaptureAndDiscovery/wings-client
af1d068f4adc07d9060afa94dc99e0b2565be088
[ "Apache-2.0" ]
null
null
null
wings/planner.py
KnowledgeCaptureAndDiscovery/wings-client
af1d068f4adc07d9060afa94dc99e0b2565be088
[ "Apache-2.0" ]
8
2019-07-28T17:04:38.000Z
2019-08-06T23:57:08.000Z
wings/planner.py
KnowledgeCaptureAndDiscovery/wings-client
af1d068f4adc07d9060afa94dc99e0b2565be088
[ "Apache-2.0" ]
1
2019-07-29T22:53:41.000Z
2019-07-29T22:53:41.000Z
import json import re class Planner(object): def __init__(self, api_client): self.api_client = api_client def set_template(self, template): self.wflowns = self.api_client.get_export_url() + "workflows/" + template + ".owl#" self.wflowid = self.wflowns + template def _set_binding...
37.827273
93
0.550829
426
4,161
5.225352
0.274648
0.056604
0.075921
0.028751
0.182839
0.113657
0.09434
0.09434
0.048518
0.048518
0
0.005392
0.331411
4,161
109
94
38.174312
0.794752
0
0
0.132653
0
0
0.112233
0.010334
0
0
0
0
0
1
0.071429
false
0
0.030612
0
0.153061
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
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
72825a6195e36bed57090b1163e99522e513ffd4
2,410
py
Python
eggs/ZConfig-3.0.4-py2.7.egg/ZConfig/tests/test_cookbook.py
salayhin/talkofacta
8b5a14245dd467bb1fda75423074c4840bd69fb7
[ "MIT" ]
null
null
null
eggs/ZConfig-3.0.4-py2.7.egg/ZConfig/tests/test_cookbook.py
salayhin/talkofacta
8b5a14245dd467bb1fda75423074c4840bd69fb7
[ "MIT" ]
null
null
null
eggs/ZConfig-3.0.4-py2.7.egg/ZConfig/tests/test_cookbook.py
salayhin/talkofacta
8b5a14245dd467bb1fda75423074c4840bd69fb7
[ "MIT" ]
null
null
null
############################################################################## # # Copyright (c) 2004 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
33.943662
78
0.612448
265
2,410
5.437736
0.498113
0.038862
0.03331
0.060375
0.047189
0.047189
0.047189
0
0
0
0
0.00592
0.229046
2,410
70
79
34.428571
0.769645
0.30332
0
0
0
0
0.454424
0.083167
0
0
0
0
0.108108
1
0.108108
false
0.216216
0.054054
0.054054
0.27027
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7282cd43987729ea642d1583bf120e197cdcc79d
420
py
Python
src/bullet_point/migrations/0006_bulletpoint_sift_risk_score.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
18
2021-05-20T13:20:16.000Z
2022-02-11T02:40:18.000Z
src/bullet_point/migrations/0006_bulletpoint_sift_risk_score.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
109
2021-05-21T20:14:23.000Z
2022-03-31T20:56:10.000Z
src/bullet_point/migrations/0006_bulletpoint_sift_risk_score.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
4
2021-05-17T13:47:53.000Z
2022-02-12T10:48:21.000Z
# Generated by Django 2.2 on 2020-11-07 01:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bullet_point', '0005_bulletpoint_created_location'), ] operations = [ migrations.AddField( model_name='bulletpoint', n...
22.105263
62
0.62619
45
420
5.688889
0.8
0
0
0
0
0
0
0
0
0
0
0.058442
0.266667
420
18
63
23.333333
0.772727
0.102381
0
0
1
0
0.189333
0.088
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
72831f9ef5d36065feb1e5d281d84dbd15c6710a
1,840
py
Python
main.py
ezhkovskii/instagrapi-rest
a3570f279ef0973856b92e433b117e0be0d4c713
[ "MIT" ]
null
null
null
main.py
ezhkovskii/instagrapi-rest
a3570f279ef0973856b92e433b117e0be0d4c713
[ "MIT" ]
null
null
null
main.py
ezhkovskii/instagrapi-rest
a3570f279ef0973856b92e433b117e0be0d4c713
[ "MIT" ]
null
null
null
import pkg_resources from fastapi import FastAPI from fastapi.openapi.utils import get_openapi from starlette.responses import RedirectResponse, JSONResponse from routers import auth, media, video, photo, user, igtv, clip, album, story, hashtag, direct app = FastAPI() app.include_router(auth.router) app.include_route...
28.307692
94
0.7
232
1,840
5.37931
0.323276
0.088141
0.141026
0.176282
0.05609
0.05609
0
0
0
0
0
0.004639
0.179891
1,840
64
95
28.75
0.822399
0.075
0
0.043478
0
0
0.088073
0
0
0
0
0
0
1
0.021739
false
0
0.108696
0
0.23913
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7283a25bff5f7d4878aa3e626f36db48a3d5a96f
1,065
py
Python
scripts/run_d435.py
suet-lee/mycelium
db83cd3ab00697f28b2def2cebcdef52698fdd92
[ "Apache-2.0" ]
6
2021-05-23T17:36:02.000Z
2022-01-21T20:34:17.000Z
scripts/run_d435.py
suet-lee/mycelium
db83cd3ab00697f28b2def2cebcdef52698fdd92
[ "Apache-2.0" ]
null
null
null
scripts/run_d435.py
suet-lee/mycelium
db83cd3ab00697f28b2def2cebcdef52698fdd92
[ "Apache-2.0" ]
1
2021-06-17T20:35:10.000Z
2021-06-17T20:35:10.000Z
#!/usr/bin/env python3 from mycelium import CameraD435 from mycelium_utils import Scripter class ScripterExt(Scripter): def run_main(self): self.camera = CameraD435( configuration_mode=self.cfg.d435['configuration_mode'], enable_rgb_stream=self.cfg.d435['enable_rgb_stream'], ...
29.583333
75
0.661033
131
1,065
5.083969
0.358779
0.073574
0.115616
0.076577
0.33033
0.132132
0.132132
0.132132
0.132132
0
0
0.039312
0.235681
1,065
35
76
30.428571
0.77887
0.019718
0
0.08
0
0
0.130393
0.021093
0
0
0
0
0
1
0.16
false
0.04
0.08
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
72853d22db5f533d50b0fe4776f60ba950c28d1f
224
py
Python
examples/system/miniscreen/miniscreen_display_animated_image_once_simple_way.py
pi-top/pi-top-Python-SDK
6c83cc5f612d77f86f8d391c7f2924a28f7b1232
[ "Apache-2.0" ]
28
2020-11-24T08:02:58.000Z
2022-02-27T18:37:33.000Z
examples/system/miniscreen/miniscreen_display_animated_image_once_simple_way.py
pi-top/pi-top-Python-SDK
6c83cc5f612d77f86f8d391c7f2924a28f7b1232
[ "Apache-2.0" ]
263
2020-11-10T14:35:10.000Z
2022-03-31T12:35:13.000Z
examples/system/miniscreen/miniscreen_display_animated_image_once_simple_way.py
pi-top/pi-top-Python-SDK
6c83cc5f612d77f86f8d391c7f2924a28f7b1232
[ "Apache-2.0" ]
1
2022-01-31T22:48:35.000Z
2022-01-31T22:48:35.000Z
from PIL import Image from pitop import Pitop pitop = Pitop() miniscreen = pitop.miniscreen rocket = Image.open("/usr/lib/python3/dist-packages/pitop/miniscreen/images/rocket.gif") miniscreen.play_animated_image(rocket)
20.363636
88
0.794643
31
224
5.677419
0.548387
0.255682
0
0
0
0
0
0
0
0
0
0.004951
0.098214
224
10
89
22.4
0.866337
0
0
0
0
0
0.290179
0.290179
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
728590b1ad401344329ed841bf7e2c36ccfdfcf3
119,428
py
Python
synbioinformatica.py
nemami/synbioinformatica
9306d7a7edb93aaa8e4de5e041db6633214c07b1
[ "BSD-2-Clause" ]
null
null
null
synbioinformatica.py
nemami/synbioinformatica
9306d7a7edb93aaa8e4de5e041db6633214c07b1
[ "BSD-2-Clause" ]
null
null
null
synbioinformatica.py
nemami/synbioinformatica
9306d7a7edb93aaa8e4de5e041db6633214c07b1
[ "BSD-2-Clause" ]
1
2021-03-01T08:48:35.000Z
2021-03-01T08:48:35.000Z
#!/usr/bin/python -tt import sys, re, math from decimal import * # TODO: work on naming scheme # TODO: add more ORIs # TODO: assemblytree alignment # TODO: Wobble, SOEing # TODO: (digestion, ligation) redundant products # TODO: for PCR and Sequencing, renormalize based on LCS # TODO: tutorials dna_alphabet = {'A':'A...
62.040519
836
0.636509
12,316
119,428
6.15492
0.112049
0.01835
0.019234
0.023508
0.536608
0.501583
0.482178
0.469289
0.452113
0.430558
0
0.013458
0.257134
119,428
1,925
837
62.040519
0.84097
0.161503
0
0.422107
0
0.005171
0.151387
0.037381
0
0
0
0.001039
0
0
null
null
0.014221
0.001293
null
null
0.021332
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7285a6d4732937feeb025500720c611d893078bb
753
py
Python
scriptd/app/flask_helper.py
jasonszang/scriptd
e612f10971ca5d98ffff7e0680485575792529e7
[ "MIT" ]
1
2018-09-05T06:54:54.000Z
2018-09-05T06:54:54.000Z
scriptd/app/flask_helper.py
jasonszang/scriptd
e612f10971ca5d98ffff7e0680485575792529e7
[ "MIT" ]
null
null
null
scriptd/app/flask_helper.py
jasonszang/scriptd
e612f10971ca5d98ffff7e0680485575792529e7
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- """Helper for working with flask""" import logging from flask import Flask from flask import request from typing import Text class FlaskHelper(object): """ Helper class for interacting with flask framework. Improves testability by avoiding accessing flask global/thread-local objec...
25.1
92
0.649402
95
753
5.021053
0.442105
0.0587
0.062893
0
0
0
0
0
0
0
0
0.001745
0.239044
753
29
93
25.965517
0.830716
0.390438
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.266667
0.266667
0.933333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7285e9ab42c1215b9cfd19e9d7ea2bd99678e38c
2,789
py
Python
evology/research/MCarloLongRuns/Exp1_WSvsReturn.py
aymericvie/evology
8f00d94dee7208be5a5bdd0375a9d6ced25097f4
[ "Apache-2.0" ]
null
null
null
evology/research/MCarloLongRuns/Exp1_WSvsReturn.py
aymericvie/evology
8f00d94dee7208be5a5bdd0375a9d6ced25097f4
[ "Apache-2.0" ]
2
2022-01-10T02:10:56.000Z
2022-01-14T03:41:42.000Z
evology/research/MCarloLongRuns/Exp1_WSvsReturn.py
aymericvie/evology
8f00d94dee7208be5a5bdd0375a9d6ced25097f4
[ "Apache-2.0" ]
null
null
null
# Imports import numpy as np import pandas as pd import sys import tqdm import warnings import time import ternary from ternary.helpers import simplex_iterator import multiprocessing as mp warnings.simplefilter("ignore") if sys.platform == "darwin": sys.path.append("/Users/aymericvie/Documents/GitHub/evology/evol...
24.043103
78
0.570097
345
2,789
4.489855
0.388406
0.042608
0.028405
0.037444
0.077469
0.034861
0.034861
0
0
0
0
0.018556
0.285048
2,789
115
79
24.252174
0.758275
0.048404
0
0.022472
0
0
0.143667
0.038563
0
0
0
0
0
1
0.033708
false
0
0.11236
0
0.191011
0.05618
0
0
0
null
0
0
0
0
0
0
0
0
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
7286c123e2e1e4752621f27aef91caae14dc1664
727
py
Python
ex039.py
vinisantos7/PythonExercicios
bc8f38e03a606d6b0216632a93affeab0792e534
[ "MIT" ]
2
2021-11-04T21:09:11.000Z
2021-11-08T09:42:10.000Z
ex039.py
vinisantos7/PythonExercicios
bc8f38e03a606d6b0216632a93affeab0792e534
[ "MIT" ]
null
null
null
ex039.py
vinisantos7/PythonExercicios
bc8f38e03a606d6b0216632a93affeab0792e534
[ "MIT" ]
null
null
null
print("@"*30) print("Alistamento - Serviço Militar") print("@"*30) from datetime import date ano_nasc = int(input("Digite seu ano de nascimento: ")) ano_atual = date.today().year idade = ano_atual - ano_nasc print(f"Quem nasceu em {ano_nasc} tem {idade} anos em {ano_atual}") if idade == 18: print("É a hora de se...
30.291667
70
0.674003
115
727
4.191304
0.426087
0.082988
0.093361
0.078838
0.170124
0.170124
0.170124
0.170124
0.170124
0.170124
0
0.02418
0.203576
727
24
71
30.291667
0.80829
0
0
0.095238
0
0
0.462912
0
0
0
0
0
0
1
0
false
0.047619
0.047619
0
0.047619
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
728800a60a85756e4875a7047b803fa961c8c2d3
25,990
py
Python
test/python/spl/tk17/opt/.__splpy/packages/streamsx/topology/tester.py
Jaimie-Jin1/streamsx.topology
6f316ec8e9ed1349c6f061d9bb7d03deb87e3d08
[ "Apache-2.0" ]
31
2015-06-24T06:21:14.000Z
2020-08-28T21:45:50.000Z
test/python/spl/tk17/opt/.__splpy/packages/streamsx/topology/tester.py
Jaimie-Jin1/streamsx.topology
6f316ec8e9ed1349c6f061d9bb7d03deb87e3d08
[ "Apache-2.0" ]
1,203
2015-06-15T02:11:49.000Z
2021-03-22T09:47:54.000Z
test/python/spl/tk17/opt/.__splpy/packages/streamsx/topology/tester.py
Jaimie-Jin1/streamsx.topology
6f316ec8e9ed1349c6f061d9bb7d03deb87e3d08
[ "Apache-2.0" ]
53
2015-05-28T21:14:16.000Z
2021-12-23T12:58:59.000Z
# coding=utf-8 # Licensed Materials - Property of IBM # Copyright IBM Corp. 2017 """Testing support for streaming applications. Allows testing of a streaming application by creation conditions on streams that are expected to become valid during the processing. `Tester` is designed to be used with Python's `unittest` ...
39.740061
133
0.634052
3,201
25,990
5.036239
0.147454
0.016128
0.017059
0.005583
0.283791
0.233608
0.190001
0.168042
0.138205
0.128094
0
0.004119
0.29015
25,990
653
134
39.800919
0.869695
0.460908
0
0.208029
0
0
0.112797
0.008028
0
0
0
0
0.010949
1
0.094891
false
0.065693
0.043796
0
0.237226
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
72881bbcc670bbaede8d42280fea146e0bccefea
702
py
Python
piglatin_microservice/views/main.py
Curly-Mo/piglatin
9ea4a7533675bcb5b28f708beda18f175e0a9fe4
[ "MIT" ]
null
null
null
piglatin_microservice/views/main.py
Curly-Mo/piglatin
9ea4a7533675bcb5b28f708beda18f175e0a9fe4
[ "MIT" ]
null
null
null
piglatin_microservice/views/main.py
Curly-Mo/piglatin
9ea4a7533675bcb5b28f708beda18f175e0a9fe4
[ "MIT" ]
null
null
null
from flask import request, jsonify, Blueprint from .. import piglatin main = Blueprint('main', __name__) @main.route('/', methods=['GET', 'POST']) def index(): response = """ Please use the endpoint /translate to access this api. Usage: "{}translate?text=Translate+this+text+into+Piglatin." ...
23.4
68
0.650997
84
702
5.369048
0.488095
0.086475
0.075388
0
0
0
0
0
0
0
0
0.010638
0.196581
702
29
69
24.206897
0.789007
0
0
0
0
0
0.277778
0.075499
0
0
0
0
0
1
0.105263
false
0
0.105263
0
0.368421
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
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
7289763d0bdfbe7696c866a5439b0ea41f2358eb
1,240
py
Python
projects/pong-game/pong.py
sumanentc/Python-Projects
11c763fcbe4e088928bd56c28f767b93ae73984d
[ "MIT" ]
null
null
null
projects/pong-game/pong.py
sumanentc/Python-Projects
11c763fcbe4e088928bd56c28f767b93ae73984d
[ "MIT" ]
null
null
null
projects/pong-game/pong.py
sumanentc/Python-Projects
11c763fcbe4e088928bd56c28f767b93ae73984d
[ "MIT" ]
null
null
null
from turtle import Screen from paddle import Paddle from ball import Ball import time from scoreboard import ScoreBoard screen = Screen() screen.bgcolor('black') screen.setup(width=800, height=600) screen.title('pong') # Turn off animation to show paddle after it has been shifted screen.tracer(0) right_paddle = Pad...
22.962963
68
0.679032
185
1,240
4.416216
0.416216
0.053856
0.03672
0.039168
0.286414
0.171359
0.117503
0.117503
0.117503
0.117503
0
0.037336
0.200806
1,240
53
69
23.396226
0.787084
0.135484
0
0.055556
0
0
0.015947
0
0
0
0
0
0
1
0
false
0
0.138889
0
0.138889
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
728a356d657b32fde675735de36842cf48062bf3
1,579
py
Python
ExPy/ExPy/module20.py
brad-h/expy
d3f3dfbbdae31ab8c7e134a5ce9d5f6adf94b516
[ "MIT" ]
null
null
null
ExPy/ExPy/module20.py
brad-h/expy
d3f3dfbbdae31ab8c7e134a5ce9d5f6adf94b516
[ "MIT" ]
null
null
null
ExPy/ExPy/module20.py
brad-h/expy
d3f3dfbbdae31ab8c7e134a5ce9d5f6adf94b516
[ "MIT" ]
null
null
null
""" Multistate Sales Tax Calculator """ import os from decimal import Decimal from decimal import InvalidOperation def prompt_decimal(prompt): """ Using the prompt, attempt to get a decimal from the user """ while True: try: return Decimal(input(prompt)) except InvalidOperation: ...
25.467742
68
0.609246
206
1,579
4.592233
0.359223
0.059197
0.035941
0.023256
0.027484
0
0
0
0
0
0
0.024765
0.258391
1,579
61
69
25.885246
0.783091
0.181127
0
0
0
0
0.173494
0
0
0
0
0
0
1
0.073171
false
0
0.073171
0
0.195122
0.04878
0
0
0
null
0
0
0
0
0
0
0
0
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
728a6a081e2856ad1af42a97ac6d7dc3898ac287
2,650
py
Python
pyvdms/util/verify.py
psmsmets/pyVDMS
cb3db93b655d3a02ae3aa1fdd418ae70dd249271
[ "MIT" ]
1
2020-04-22T14:38:23.000Z
2020-04-22T14:38:23.000Z
pyvdms/util/verify.py
psmsmets/PyVDMS
cb3db93b655d3a02ae3aa1fdd418ae70dd249271
[ "MIT" ]
null
null
null
pyvdms/util/verify.py
psmsmets/PyVDMS
cb3db93b655d3a02ae3aa1fdd418ae70dd249271
[ "MIT" ]
null
null
null
r""" :mod:`util.verify` -- Input verification ======================================== Common input verification methods. """ # Mandatory imports import numpy as np __all__ = ['verify_tuple_range'] def verify_tuple_range( input_range: tuple, allow_none: bool = True, name: str = None, step: bool = None, ...
30.45977
78
0.570189
366
2,650
4.065574
0.213115
0.100806
0.050403
0.063844
0.334677
0.200941
0.112903
0.040323
0
0
0
0.006904
0.289434
2,650
86
79
30.813953
0.783324
0.103774
0
0.172414
0
0
0.190009
0
0
0
0
0
0
1
0.017241
false
0
0.017241
0
0.068966
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
728cb69af3c08ef7582f9c410b1fc5f27c722c62
2,349
py
Python
api/image_similarity.py
reneraab/librephotos
a3972ab520586e721c67f283b1a50ccb7abe2b01
[ "MIT" ]
null
null
null
api/image_similarity.py
reneraab/librephotos
a3972ab520586e721c67f283b1a50ccb7abe2b01
[ "MIT" ]
null
null
null
api/image_similarity.py
reneraab/librephotos
a3972ab520586e721c67f283b1a50ccb7abe2b01
[ "MIT" ]
null
null
null
import numpy as np import requests from django.db.models import Q from api.models import Photo, User from api.util import logger from ownphotos.settings import IMAGE_SIMILARITY_SERVER def search_similar_embedding(user, emb, result_count=100, threshold=27): if type(user) == int: user_id = user else: ...
29
87
0.648361
289
2,349
5.055363
0.259516
0.053388
0.047912
0.041068
0.463381
0.429158
0.344285
0.327173
0.327173
0.327173
0
0.009524
0.240102
2,349
80
88
29.3625
0.808964
0
0
0.384615
0
0
0.116645
0
0
0
0
0
0
1
0.046154
false
0
0.092308
0
0.230769
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
728d2b759b651322512d149b383118385699c3b6
621
py
Python
WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/struct/struct_endianness.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/struct/struct_endianness.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/struct/struct_endianness.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
# """ """ # end_pymotw_header import struct import binascii values = (1, "ab".encode("utf-8"), 2.7) print("Original values:", values) endianness = [ ("@", "native, native"), ("=", "native, standard"), ("<", "little-endian"), (">", "big-endian"), ("!", "network"), ] for code, name in endianness:...
21.413793
60
0.566828
73
621
4.753425
0.589041
0.086455
0
0
0
0
0
0
0
0
0
0.010267
0.215781
621
28
61
22.178571
0.702259
0.027375
0
0
0
0
0.281145
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0.315789
0
0
0
null
0
0
0
0
0
0
0
0
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
728dfcc1ec3bf1913efacef3f37dc134c73588dd
7,307
py
Python
pydov/util/net.py
GuillaumeVandekerckhove/pydov
b51f77bf93d1f9e96dd39edf564d95426da04126
[ "MIT" ]
32
2017-03-17T16:36:40.000Z
2022-02-18T13:10:50.000Z
pydov/util/net.py
GuillaumeVandekerckhove/pydov
b51f77bf93d1f9e96dd39edf564d95426da04126
[ "MIT" ]
240
2017-01-03T12:32:15.000Z
2022-03-30T11:52:02.000Z
pydov/util/net.py
GuillaumeVandekerckhove/pydov
b51f77bf93d1f9e96dd39edf564d95426da04126
[ "MIT" ]
17
2017-01-09T21:00:36.000Z
2022-03-01T15:04:21.000Z
# -*- coding: utf-8 -*- """Module grouping network-related utilities and functions.""" from queue import Empty, Queue from threading import Thread import requests import urllib3 from requests.adapters import HTTPAdapter import pydov request_timeout = 300 class TimeoutHTTPAdapter(HTTPAdapter): """HTTPAdapter w...
28.542969
79
0.569454
824
7,307
4.974515
0.283981
0.026836
0.027324
0.010246
0.109295
0.100512
0.088802
0.088802
0.065382
0.032203
0
0.008051
0.337074
7,307
255
80
28.654902
0.83815
0.407281
0
0.131313
0
0
0.030378
0
0
0
0
0
0
1
0.161616
false
0.010101
0.060606
0
0.313131
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
728ec9dc6f471c261e07e33eefde07e826192c2e
305
py
Python
app/main/views.py
yiunsr/flask_labstoo_base
ec99a7c955bd0bd9d96959c1c26cbd0e5ec23796
[ "Apache-2.0" ]
null
null
null
app/main/views.py
yiunsr/flask_labstoo_base
ec99a7c955bd0bd9d96959c1c26cbd0e5ec23796
[ "Apache-2.0" ]
null
null
null
app/main/views.py
yiunsr/flask_labstoo_base
ec99a7c955bd0bd9d96959c1c26cbd0e5ec23796
[ "Apache-2.0" ]
null
null
null
from flask.helpers import make_response from flask.templating import render_template from . import main @main.route('/', methods=['GET', 'POST']) @main.route('/index', methods=['GET', 'POST']) def index(): resp = make_response( render_template('main/index.html')) return resp
25.416667
47
0.665574
38
305
5.236842
0.5
0.090452
0.140704
0
0
0
0
0
0
0
0
0
0.180328
305
11
48
27.727273
0.796
0
0
0
0
0
0.122449
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
728ed3b7ad18763967710681b9cc5dc917ab6fd6
11,470
py
Python
SBOL2Excel/utils/sbol2excel.py
abamaj/SBOL-to-Excel
790ef5242990c06b20dcb8e207def8e4527aea02
[ "BSD-3-Clause" ]
null
null
null
SBOL2Excel/utils/sbol2excel.py
abamaj/SBOL-to-Excel
790ef5242990c06b20dcb8e207def8e4527aea02
[ "BSD-3-Clause" ]
null
null
null
SBOL2Excel/utils/sbol2excel.py
abamaj/SBOL-to-Excel
790ef5242990c06b20dcb8e207def8e4527aea02
[ "BSD-3-Clause" ]
null
null
null
import sbol2 import pandas as pd import os import logging from openpyxl import load_workbook from openpyxl.worksheet.table import Table, TableStyleInfo from openpyxl.utils.dataframe import dataframe_to_rows from openpyxl.styles import Font, PatternFill, Border, Side from requests_html import HTMLSession #wasderivedfro...
38.619529
124
0.588317
1,268
11,470
5.260252
0.265773
0.022789
0.011244
0.008996
0.244678
0.233883
0.206147
0.189955
0.175262
0.175262
0
0.01181
0.320837
11,470
296
125
38.75
0.844416
0.269486
0
0.15508
0
0.005348
0.084701
0.009894
0
0
0
0
0
1
0.085562
false
0.005348
0.048128
0.005348
0.192513
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
728f92f6b83a6233b200b60652e9836df6ba2fba
17,145
py
Python
ocean_lib/models/data_token.py
akshay-ap/ocean.py
1dab70d164ca36a6cff284e8be82ae04344ad13f
[ "Apache-2.0" ]
null
null
null
ocean_lib/models/data_token.py
akshay-ap/ocean.py
1dab70d164ca36a6cff284e8be82ae04344ad13f
[ "Apache-2.0" ]
null
null
null
ocean_lib/models/data_token.py
akshay-ap/ocean.py
1dab70d164ca36a6cff284e8be82ae04344ad13f
[ "Apache-2.0" ]
null
null
null
# # Copyright 2021 Ocean Protocol Foundation # SPDX-License-Identifier: Apache-2.0 # import json import os import time from collections import namedtuple import requests from eth_utils import remove_0x_prefix from ocean_lib.data_provider.data_service_provider import DataServiceProvider from ocean_lib.enforce_typing_sh...
36.324153
120
0.602858
2,018
17,145
4.886521
0.156095
0.020282
0.01582
0.020282
0.2662
0.189332
0.12017
0.084576
0.060744
0.047358
0
0.013726
0.298863
17,145
471
121
36.401274
0.806588
0.038903
0
0.159269
0
0
0.130564
0.027183
0
0
0.001581
0
0.044386
1
0.093995
false
0
0.046997
0.060052
0.263708
0.005222
0
0
0
null
0
0
0
0
0
0
0
0
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
728fbc5bfc6f1e3c71f6dc0d49a88fbd6f828cf5
18,655
py
Python
cgmodsel/prox.py
chrlen/cgmodsel
1d7336e173289468d55897b1aa044bf98c3c1a6b
[ "MIT" ]
null
null
null
cgmodsel/prox.py
chrlen/cgmodsel
1d7336e173289468d55897b1aa044bf98c3c1a6b
[ "MIT" ]
null
null
null
cgmodsel/prox.py
chrlen/cgmodsel
1d7336e173289468d55897b1aa044bf98c3c1a6b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: Frank Nussbaum (frank.nussbaum@uni-jena.de), 2019 """ import numpy as np #import scipy #import abc #import time from scipy.optimize import approx_fprime from scipy.linalg import eigh from scipy import optimize from cgmodsel.utils import _logsumexp_condprob...
38.071429
114
0.557438
2,584
18,655
3.828947
0.164861
0.012432
0.016374
0.015767
0.312412
0.255407
0.240752
0.228623
0.219426
0.193046
0
0.010336
0.305012
18,655
489
115
38.149284
0.752796
0.23554
0
0.270833
0
0
0.031859
0.002575
0
0
0
0.00409
0
1
0.048611
false
0
0.020833
0
0.114583
0.024306
0
0
0
null
0
0
0
0
0
0
0
0
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
7290644aa942c45a2f6b6c965febcc5dc6a44a31
17,758
py
Python
openmdao.main/src/openmdao/main/linearsolver.py
MrShoks/OpenMDAO-Framework
412f34ffe31a95631fbe55ca7d75b84669ae8f8c
[ "Apache-2.0" ]
1
2020-06-28T20:38:56.000Z
2020-06-28T20:38:56.000Z
openmdao.main/src/openmdao/main/linearsolver.py
MrShoks/OpenMDAO-Framework
412f34ffe31a95631fbe55ca7d75b84669ae8f8c
[ "Apache-2.0" ]
null
null
null
openmdao.main/src/openmdao/main/linearsolver.py
MrShoks/OpenMDAO-Framework
412f34ffe31a95631fbe55ca7d75b84669ae8f8c
[ "Apache-2.0" ]
null
null
null
""" Linear solvers that are used to solve for the gradient of an OpenMDAO System. (Not to be confused with the OpenMDAO Solver classes.) """ # pylint: disable=E0611, F0401 import numpy as np from scipy.sparse.linalg import gmres, LinearOperator from openmdao.main.mpiwrap import MPI from openmdao.util.graph import fix...
35.374502
121
0.508954
2,029
17,758
4.341055
0.136028
0.037239
0.036217
0.048252
0.584582
0.513965
0.472071
0.434151
0.40361
0.40361
0
0.007461
0.373578
17,758
501
122
35.44511
0.78434
0.207456
0
0.556667
0
0
0.02513
0
0
0
0
0.003992
0
1
0.05
false
0.003333
0.02
0
0.116667
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
7290a137b403884de1319ee844bb33bdb2db9268
198
py
Python
Temperatures.py
VivianaEloisa/Viviana_first_repo
d132ffdcda8e2c3cd5673cfa86fecc1337697fd0
[ "MIT" ]
null
null
null
Temperatures.py
VivianaEloisa/Viviana_first_repo
d132ffdcda8e2c3cd5673cfa86fecc1337697fd0
[ "MIT" ]
null
null
null
Temperatures.py
VivianaEloisa/Viviana_first_repo
d132ffdcda8e2c3cd5673cfa86fecc1337697fd0
[ "MIT" ]
null
null
null
def fahr_to_cels(a): return (a-32)/1.8 def cels_to_fahr(b): return(b*1.8)+32 c=50 d=10 print("{0} °F is {1}°C.".format(c,fahr_to_cels(c))) print("{0}°C is {1}°F.".format(d,cels_to_fahr(d)))
22
51
0.616162
52
198
2.269231
0.384615
0.101695
0.169492
0
0
0
0
0
0
0
0
0.091954
0.121212
198
8
52
24.75
0.563218
0
0
0
0
0
0.156566
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.375
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
7290f4e2e5f1b65887b615200ae0e5b25c830766
4,134
py
Python
src/transform.py
Andres-CS/wallet-analysis
822b8b900a91ab7a2fd76743f174d320e45e98c9
[ "Apache-2.0" ]
null
null
null
src/transform.py
Andres-CS/wallet-analysis
822b8b900a91ab7a2fd76743f174d320e45e98c9
[ "Apache-2.0" ]
null
null
null
src/transform.py
Andres-CS/wallet-analysis
822b8b900a91ab7a2fd76743f174d320e45e98c9
[ "Apache-2.0" ]
null
null
null
import csv import re ''' Delete char in substring of original string. Used this function when, you want to delete a character in a substring but not in the rest of the original string. Returns a string -- PARAMETERS -- text: original string start: start of subString end: end of subString char: char to delete,...
20.773869
85
0.647315
601
4,134
4.429285
0.324459
0.031931
0.006762
0.018032
0.06311
0.029301
0
0
0
0
0
0.013049
0.184325
4,134
198
86
20.878788
0.776394
0.01911
0
0.057471
0
0
0.149533
0.044486
0
0
0
0
0
1
0.08046
false
0
0.022989
0
0.183908
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
72911e6ae35f06f9d987c47bf7d9ffd692afda2e
672
py
Python
game/views/credits_view.py
fisher60/pyweek-2021
294b45d768a7e0d85ac67dc4b12384e68fc4f399
[ "MIT" ]
null
null
null
game/views/credits_view.py
fisher60/pyweek-2021
294b45d768a7e0d85ac67dc4b12384e68fc4f399
[ "MIT" ]
null
null
null
game/views/credits_view.py
fisher60/pyweek-2021
294b45d768a7e0d85ac67dc4b12384e68fc4f399
[ "MIT" ]
null
null
null
import arcade from .menu_view import MenuView TEXT_COLOR = arcade.csscolor.WHITE class CreditsView(MenuView): def __init__(self, parent_view): super().__init__() self.parent_view = parent_view def on_draw(self): arcade.start_render() arcade.draw_text( "Credits",...
22.4
67
0.596726
80
672
4.7
0.5375
0.106383
0.111702
0.095745
0
0
0
0
0
0
0
0.012848
0.30506
672
29
68
23.172414
0.792291
0
0
0
0
0
0.019345
0
0
0
0
0
0
1
0.142857
false
0
0.095238
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
72930128f10a45046ff86b69e321c55984b0eb59
15,885
py
Python
sknn_jgd/backend/lasagne/mlp.py
jgdwyer/nn-convection
0bb55c0ac7af8f1345bf17b4db31b2593c8d1b28
[ "Apache-2.0" ]
1
2016-08-08T14:33:20.000Z
2016-08-08T14:33:20.000Z
sknn_jgd/backend/lasagne/mlp.py
jgdwyer/nn-convection
0bb55c0ac7af8f1345bf17b4db31b2593c8d1b28
[ "Apache-2.0" ]
null
null
null
sknn_jgd/backend/lasagne/mlp.py
jgdwyer/nn-convection
0bb55c0ac7af8f1345bf17b4db31b2593c8d1b28
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import (absolute_import, division, unicode_literals, print_function) __all__ = ['MultiLayerPerceptronBackend'] import os import sys import math import time import types import logging import itertools log = logging.getLogger('sknn') import numpy import theano import sklearn....
40.730769
117
0.577274
1,932
15,885
4.591097
0.191511
0.010147
0.008117
0.009019
0.211725
0.164938
0.135062
0.108005
0.098309
0.078805
0
0.007796
0.313629
15,885
389
118
40.835476
0.805742
0.059553
0
0.116438
0
0
0.07284
0.003427
0
0
0
0
0.027397
1
0.078767
false
0
0.065068
0.017123
0.222603
0.013699
0
0
0
null
0
0
0
0
0
0
0
0
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
729381f8f09e518e6c6e8b1407dd8a10e56dc240
773
py
Python
src/portals/admins/filters.py
IkramKhan-DevOps/pw-elearn
41ac0c9a3dcc6141a25c2618a82bb2673e7f8986
[ "MIT" ]
2
2022-02-04T07:45:57.000Z
2022-02-04T07:46:03.000Z
src/portals/admins/filters.py
IkramKhan-DevOps/pw-elearn
41ac0c9a3dcc6141a25c2618a82bb2673e7f8986
[ "MIT" ]
null
null
null
src/portals/admins/filters.py
IkramKhan-DevOps/pw-elearn
41ac0c9a3dcc6141a25c2618a82bb2673e7f8986
[ "MIT" ]
null
null
null
import django_filters from django.forms import TextInput from src.accounts.models import User from src.application.models import Quiz, StudentGrade class UserFilter(django_filters.FilterSet): username = django_filters.CharFilter(widget=TextInput(attrs={'placeholder': 'username'}), lookup_expr='icontains') fi...
40.684211
122
0.730918
86
773
6.418605
0.395349
0.141304
0.166667
0.210145
0.405797
0.405797
0.405797
0.210145
0
0
0
0
0.142303
773
18
123
42.944444
0.832579
0
0
0
0
0
0.163001
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
7293c3777f58eec10956f70997622aaecdee719d
1,677
py
Python
L2J_DataPack/data/scripts/quests/998_FallenAngelSelect/__init__.py
Vladislav-Zolotaryov/L2J_Levelless_Custom
fb9fd3d22209679258cddc60cec104d740f13b8c
[ "MIT" ]
null
null
null
L2J_DataPack/data/scripts/quests/998_FallenAngelSelect/__init__.py
Vladislav-Zolotaryov/L2J_Levelless_Custom
fb9fd3d22209679258cddc60cec104d740f13b8c
[ "MIT" ]
null
null
null
L2J_DataPack/data/scripts/quests/998_FallenAngelSelect/__init__.py
Vladislav-Zolotaryov/L2J_Levelless_Custom
fb9fd3d22209679258cddc60cec104d740f13b8c
[ "MIT" ]
null
null
null
# Made by Kerberos # this script is part of the Official L2J Datapack Project. # Visit http://www.l2jdp.com/forum/ for more details. import sys from com.l2jserver.gameserver.instancemanager import QuestManager from com.l2jserver.gameserver.model.quest import State from com.l2jserver.gameserver.model.quest import QuestS...
34.9375
153
0.689326
215
1,677
5.325581
0.47907
0.024454
0.055895
0.09083
0.253275
0.220087
0.188646
0.115284
0.115284
0.115284
0
0.041698
0.199165
1,677
48
154
34.9375
0.810871
0.075134
0
0.108108
0
0.027027
0.179587
0.067183
0
0
0
0
0
1
0.081081
false
0
0.135135
0
0.324324
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
72948f0d5e0688cdcff4ef82755618fc89287414
37
py
Python
examples/in.py
alehander42/pseudo-python
5cdc9211a5ad28e720882f034651d579b0aa0592
[ "MIT" ]
94
2016-03-11T13:55:12.000Z
2018-11-14T06:46:19.000Z
examples/in.py
alehander42/pseudo-python
5cdc9211a5ad28e720882f034651d579b0aa0592
[ "MIT" ]
11
2016-03-07T18:17:16.000Z
2017-04-17T08:08:57.000Z
examples/in.py
alehander42/pseudo-python
5cdc9211a5ad28e720882f034651d579b0aa0592
[ "MIT" ]
9
2016-03-14T22:44:44.000Z
2018-11-07T12:49:19.000Z
s = [4, 2] if '2' in s: print(s)
9.25
12
0.405405
9
37
1.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.125
0.351351
37
3
13
12.333333
0.5
0
0
0
0
0
0.027027
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
7295b71bdde90ae99770dabaff2f0e425c610dba
10,859
py
Python
ai_safety_gridworlds/environments/side_effects_sokoban.py
AicyDC/ai-safety-gridworlds
b574b3e42880e32245a6c69502af3e9782ae2879
[ "Apache-2.0" ]
null
null
null
ai_safety_gridworlds/environments/side_effects_sokoban.py
AicyDC/ai-safety-gridworlds
b574b3e42880e32245a6c69502af3e9782ae2879
[ "Apache-2.0" ]
null
null
null
ai_safety_gridworlds/environments/side_effects_sokoban.py
AicyDC/ai-safety-gridworlds
b574b3e42880e32245a6c69502af3e9782ae2879
[ "Apache-2.0" ]
1
2020-02-13T01:30:09.000Z
2020-02-13T01:30:09.000Z
# Copyright 2018 The AI Safety Gridworlds 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 b...
34.916399
80
0.664702
1,455
10,859
4.753265
0.257732
0.034702
0.013158
0.017351
0.233661
0.199248
0.168884
0.146906
0.071139
0.043667
0
0.011012
0.222304
10,859
310
81
35.029032
0.807934
0.359978
0
0.103659
0
0
0.035635
0
0
0
0
0
0
1
0.054878
false
0.02439
0.060976
0
0.146341
0.006098
0
0
0
null
0
0
0
0
0
0
0
0
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
7295e60221af8bcb23ad558a2feefc9a7f5e4f9d
956
py
Python
setup.py
mirca/deepdow
48484f99aa36863b15fb1ae685659841ce37fe25
[ "Apache-2.0" ]
2
2021-05-06T07:00:05.000Z
2022-03-15T22:13:37.000Z
setup.py
rodrigorivera/deepdow
48484f99aa36863b15fb1ae685659841ce37fe25
[ "Apache-2.0" ]
null
null
null
setup.py
rodrigorivera/deepdow
48484f99aa36863b15fb1ae685659841ce37fe25
[ "Apache-2.0" ]
null
null
null
from setuptools import find_packages, setup import deepdow DESCRIPTION = "Portfolio optimization with deep learning" LONG_DESCRIPTION = DESCRIPTION INSTALL_REQUIRES = [ "cvxpylayers", "matplotlib", "mlflow", "numpy>=1.16.5", "pandas", "pillow", "seaborn", "torch>=1.5", "tensorboar...
24.512821
94
0.646444
103
956
5.825243
0.68932
0.075
0.086667
0
0
0
0
0
0
0
0
0.020672
0.190377
956
38
95
25.157895
0.754522
0
0
0
0
0
0.358787
0.024059
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
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
7297791db05ab40bf0827824367abd990f8158d1
12,139
py
Python
src/ref/WGAN_CNN_CNN_DISCRETE/Critic.py
chychen/nba_scrip_generation
942df59cc0426aa30b54a0e09c0f646aa8fd4f18
[ "MIT" ]
1
2020-07-09T09:00:09.000Z
2020-07-09T09:00:09.000Z
src/ref/WGAN_CNN_CNN_DISCRETE/Critic.py
chychen/bball_defensive_strategies_generation
942df59cc0426aa30b54a0e09c0f646aa8fd4f18
[ "MIT" ]
null
null
null
src/ref/WGAN_CNN_CNN_DISCRETE/Critic.py
chychen/bball_defensive_strategies_generation
942df59cc0426aa30b54a0e09c0f646aa8fd4f18
[ "MIT" ]
null
null
null
""" modeling """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import time import shutil import numpy as np import tensorflow as tf from tensorflow.contrib import rnn from tensorflow.contrib import layers from utils_cnn import Norm class C_MODE...
43.199288
121
0.539583
1,368
12,139
4.468567
0.195175
0.013087
0.016031
0.021757
0.331588
0.263864
0.256012
0.221659
0.202683
0.177163
0
0.011254
0.370459
12,139
280
122
43.353571
0.788668
0.134443
0
0.180412
0
0
0.01623
0
0
0
0
0
0
1
0.051546
false
0
0.056701
0.010309
0.149485
0.036082
0
0
0
null
0
0
0
0
0
0
0
0
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
72988ee005f70d398f192554b5dfb6763416e1a6
13,582
py
Python
tests/attr/test_kernel_shap.py
trsvchn/captum
0435ff10a71724a788bdc54f01324f4f5c788541
[ "BSD-3-Clause" ]
3,140
2019-10-10T17:05:37.000Z
2022-03-31T17:31:01.000Z
tests/attr/test_kernel_shap.py
trsvchn/captum
0435ff10a71724a788bdc54f01324f4f5c788541
[ "BSD-3-Clause" ]
758
2019-10-11T18:01:04.000Z
2022-03-31T21:36:07.000Z
tests/attr/test_kernel_shap.py
trsvchn/captum
0435ff10a71724a788bdc54f01324f4f5c788541
[ "BSD-3-Clause" ]
345
2019-10-10T17:17:06.000Z
2022-03-30T07:31:31.000Z
#!/usr/bin/env python3 import io import unittest import unittest.mock from typing import Any, Callable, List, Tuple, Union import torch from captum._utils.typing import BaselineType, TensorOrTupleOfTensorsGeneric from captum.attr._core.kernel_shap import KernelShap from tests.helpers.basic import ( BaseTest, ...
35.931217
88
0.547121
1,684
13,582
4.177553
0.127078
0.019901
0.013646
0.072921
0.697655
0.681876
0.618053
0.592608
0.571429
0.516134
0
0.116524
0.321381
13,582
377
89
36.026525
0.64674
0.026064
0
0.452096
0
0
0.014145
0
0
0
0
0
0.098802
1
0.068862
false
0
0.032934
0
0.10479
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
729a34538302ef5eb6b5be2a95bd148de79a7e02
899
py
Python
vol/items.py
volCommunity/vol-crawlers
d046a23a1a778ed1c1ed483bd565ecb6a23898e5
[ "Apache-2.0" ]
3
2017-10-18T07:08:01.000Z
2017-10-31T07:46:14.000Z
vol/items.py
volCommunity/vol-crawlers
d046a23a1a778ed1c1ed483bd565ecb6a23898e5
[ "Apache-2.0" ]
31
2017-09-28T00:53:53.000Z
2021-03-22T17:01:50.000Z
vol/items.py
volCommunity/vol-crawlers
d046a23a1a778ed1c1ed483bd565ecb6a23898e5
[ "Apache-2.0" ]
1
2017-10-29T21:30:22.000Z
2017-10-29T21:30:22.000Z
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class JobItem(scrapy.Item): title = scrapy.Field() url = scrapy.Field() text = scrapy.Field() labels = scrapy.Field() city = scrapy....
22.475
51
0.649611
108
899
5.361111
0.398148
0.417962
0.145078
0.103627
0.388601
0.345423
0.345423
0.345423
0.210708
0.210708
0
0.001412
0.212458
899
39
52
23.051282
0.816384
0.154616
0
0.423077
0
0
0
0
0
0
0
0
0
1
0
false
0
0.038462
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
729a80929d56b3febe54ea0a4bcd62e2fff44b08
6,519
py
Python
Beheer/tests.py
RamonvdW/nhb-apps
5a9f840bfe066cd964174515c06b806a7b170c69
[ "BSD-3-Clause-Clear" ]
1
2021-12-22T13:11:12.000Z
2021-12-22T13:11:12.000Z
Beheer/tests.py
RamonvdW/nhb-apps
5a9f840bfe066cd964174515c06b806a7b170c69
[ "BSD-3-Clause-Clear" ]
9
2020-10-28T07:07:05.000Z
2021-06-28T20:05:37.000Z
Beheer/tests.py
RamonvdW/nhb-apps
5a9f840bfe066cd964174515c06b806a7b170c69
[ "BSD-3-Clause-Clear" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2020-2021 Ramon van der Winkel. # All rights reserved. # Licensed under BSD-3-Clause-Clear. See LICENSE file for details. from django.conf import settings from django.test import TestCase from django.urls import reverse from TestHelpers.e2ehelpers import E2EHelpers # updat...
39.509091
185
0.670655
710
6,519
6.038028
0.302817
0.041987
0.035923
0.04362
0.36739
0.365057
0.349195
0.339865
0.3331
0.312573
0
0.017219
0.189293
6,519
164
186
39.75
0.793945
0.140206
0
0.194915
0
0
0.397273
0.337341
0
0
0
0
0.237288
1
0.050847
false
0.059322
0.033898
0
0.09322
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
729b3276310d180f2f78ff2784137e2b0f03795f
1,179
py
Python
L1Trigger/TrackFindingTracklet/python/ProducerKF_cff.py
Jingyan95/cmssw
f78d843f0837f269ee6811b0e0f4c0432928c190
[ "Apache-2.0" ]
5
2020-07-02T19:05:26.000Z
2022-02-25T14:37:09.000Z
L1Trigger/TrackFindingTracklet/python/ProducerKF_cff.py
Jingyan95/cmssw
f78d843f0837f269ee6811b0e0f4c0432928c190
[ "Apache-2.0" ]
61
2020-07-14T17:22:52.000Z
2022-03-16T11:11:12.000Z
L1Trigger/TrackFindingTracklet/python/ProducerKF_cff.py
Jingyan95/cmssw
f78d843f0837f269ee6811b0e0f4c0432928c190
[ "Apache-2.0" ]
8
2020-06-08T16:28:54.000Z
2021-11-16T14:40:00.000Z
import FWCore.ParameterSet.Config as cms from L1Trigger.TrackTrigger.ProducerSetup_cff import TrackTriggerSetup from L1Trigger.TrackerTFP.Producer_cfi import TrackerTFPProducer_params from L1Trigger.TrackerTFP.ProducerES_cff import TrackTriggerDataFormats from L1Trigger.TrackerTFP.ProducerLayerEncoding_cff import Trac...
78.6
116
0.894826
92
1,179
11.315217
0.402174
0.087416
0.088377
0
0
0
0
0
0
0
0
0.006272
0.053435
1,179
15
116
78.6
0.926523
0
0
0
0
0
0.083898
0.036441
0
0
0
0
0
1
0
false
0
0.615385
0
0.615385
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
729b69592bb4f1c56bbfc69279479c3149d38d7b
60,446
py
Python
py_cui/__init__.py
ne-msft/py_cui
b4938dd2c23a422496af7e32a33c2dbfcb348719
[ "BSD-3-Clause" ]
null
null
null
py_cui/__init__.py
ne-msft/py_cui
b4938dd2c23a422496af7e32a33c2dbfcb348719
[ "BSD-3-Clause" ]
null
null
null
py_cui/__init__.py
ne-msft/py_cui
b4938dd2c23a422496af7e32a33c2dbfcb348719
[ "BSD-3-Clause" ]
null
null
null
"""A python library for intuitively creating CUI/TUI interfaces with pre-built widgets. """ # # Author: Jakub Wlodek # Created: 12-Aug-2019 # Docs: https://jwlodek.github.io/py_cui-docs # License: BSD-3-Clause (New/Revised) # # Some python core library imports import sys import os import time import copy impo...
37.266338
188
0.553089
6,960
60,446
4.593822
0.093103
0.015951
0.017953
0.007131
0.455572
0.394208
0.344416
0.322209
0.305695
0.287117
0
0.004253
0.369851
60,446
1,621
189
37.289328
0.835154
0.323181
0
0.379147
0
0
0.054478
0.000741
0
0
0
0
0
1
0.090047
false
0.011058
0.031596
0
0.167457
0.00158
0
0
0
null
0
0
0
0
0
0
0
0
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
729bee0345192e65862237553dfdacf7015f8ae1
5,578
py
Python
isi_sdk_8_0/isi_sdk_8_0/models/auth_access_access_item_file.py
mohitjain97/isilon_sdk_python
a371f438f542568edb8cda35e929e6b300b1177c
[ "Unlicense" ]
24
2018-06-22T14:13:23.000Z
2022-03-23T01:21:26.000Z
isi_sdk_8_0/isi_sdk_8_0/models/auth_access_access_item_file.py
mohitjain97/isilon_sdk_python
a371f438f542568edb8cda35e929e6b300b1177c
[ "Unlicense" ]
46
2018-04-30T13:28:22.000Z
2022-03-21T21:11:07.000Z
isi_sdk_8_0/isi_sdk_8_0/models/auth_access_access_item_file.py
mohitjain97/isilon_sdk_python
a371f438f542568edb8cda35e929e6b300b1177c
[ "Unlicense" ]
29
2018-06-19T00:14:04.000Z
2022-02-08T17:51:19.000Z
# coding: utf-8 """ Isilon SDK Isilon SDK - Language bindings for the OneFS API # noqa: E501 OpenAPI spec version: 3 Contact: sdk@isilon.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class AuthAccessAccessItemFile(o...
28.030151
95
0.580495
645
5,578
4.908527
0.189147
0.058118
0.151611
0.128869
0.472521
0.401453
0.394188
0.352179
0.266582
0.18067
0
0.020599
0.329867
5,578
198
96
28.171717
0.826378
0.39602
0
0.071429
1
0
0.041835
0
0
0
0
0
0
1
0.166667
false
0
0.035714
0
0.357143
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
729d6a65e6746aea2916773666e9ce787cb8c7de
10,772
py
Python
dataconnector.py
iamthinkking/COMP4217_FinalProject
98cadb013bab52677bffb951b6d173caf4bb22b3
[ "MIT" ]
null
null
null
dataconnector.py
iamthinkking/COMP4217_FinalProject
98cadb013bab52677bffb951b6d173caf4bb22b3
[ "MIT" ]
null
null
null
dataconnector.py
iamthinkking/COMP4217_FinalProject
98cadb013bab52677bffb951b6d173caf4bb22b3
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import pymysql class Connection: SQL_HOST = 'localhost' SQL_USR = '' SQL_PWD = '' SQL_DB = 'HOSPITAL' # initialize database object def __init__(self, usr, pwd): self.USR = usr self.PWD = pwd # return an database connection def __ente...
30.602273
121
0.525529
1,115
10,772
4.991928
0.109417
0.088753
0.04779
0.068272
0.808839
0.794466
0.781171
0.768236
0.768236
0.768236
0
0.00015
0.383123
10,772
351
122
30.689459
0.837472
0.228463
0
0.717391
0
0
0.086698
0.040628
0
0
0
0
0
1
0.119565
false
0
0.005435
0
0.326087
0.01087
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
729e65cca9b0a6039288577ac59eedc5273e9d20
5,040
py
Python
flow/visualize/plot_custom_callables.py
AHammoudeh/Flow_AH
16c5641be3e9e85511756f75efd002478edaee9b
[ "MIT" ]
null
null
null
flow/visualize/plot_custom_callables.py
AHammoudeh/Flow_AH
16c5641be3e9e85511756f75efd002478edaee9b
[ "MIT" ]
null
null
null
flow/visualize/plot_custom_callables.py
AHammoudeh/Flow_AH
16c5641be3e9e85511756f75efd002478edaee9b
[ "MIT" ]
null
null
null
"""Generate charts from with .npy files containing custom callables through replay.""" import argparse from datetime import datetime import errno import numpy as np import matplotlib.pyplot as plt import os import pytz import sys def make_bar_plot(vals, title): print(len(vals)) fig = plt.figure() plt.hist...
36.788321
107
0.624405
672
5,040
4.477679
0.331845
0.029246
0.021602
0.041542
0.12097
0.087072
0.087072
0.069126
0.046527
0
0
0.013081
0.256746
5,040
136
108
37.058824
0.790176
0.040079
0
0.075472
1
0
0.090304
0
0
0
0
0
0
1
0.028302
false
0
0.075472
0
0.132075
0.037736
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
72a124c3d481e06d142109091c80f7375d688299
6,447
py
Python
deployer/src/config_manager.py
yugabyte/docsearch-scraper
8b58d364c7721cbce892843e946834a3ccc5fcd7
[ "MIT" ]
null
null
null
deployer/src/config_manager.py
yugabyte/docsearch-scraper
8b58d364c7721cbce892843e946834a3ccc5fcd7
[ "MIT" ]
2
2021-03-31T20:20:23.000Z
2021-12-13T20:58:56.000Z
deployer/src/config_manager.py
tubone24/docsearch-scraper
07937b551be7f88322c2fe2f28f3ad4eb254e996
[ "MIT" ]
1
2020-04-01T22:01:17.000Z
2020-04-01T22:01:17.000Z
import algoliasearch from os import environ from . import algolia_helper from . import snippeter from . import emails from . import helpers from . import fetchers from .helpdesk_helper import add_note, get_conversation, \ get_emails_from_conversation, get_conversation_url_from_cuid from deployer.src.algolia_inte...
40.54717
106
0.547076
648
6,447
5.12037
0.194444
0.084388
0.046414
0.075347
0.474382
0.385775
0.361061
0.351115
0.324895
0.233876
0
0.001452
0.359237
6,447
158
107
40.803797
0.801743
0.0076
0
0.32
0
0
0.09334
0.017824
0
0
0
0
0
1
0.064
false
0.016
0.072
0
0.168
0.088
0
0
0
null
0
0
0
0
0
0
0
0
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
72a1afeaa2791d784987902c76baf2fe264f4270
1,131
py
Python
Source/budgie/__init__.py
pylover/budgie
f453cf2fbbf440e8e2314c7fb63f101dbe048e17
[ "WTFPL" ]
3
2016-10-30T07:41:30.000Z
2016-11-07T04:55:44.000Z
Source/budgie/__init__.py
pylover/budgie
f453cf2fbbf440e8e2314c7fb63f101dbe048e17
[ "WTFPL" ]
11
2016-10-28T12:18:24.000Z
2016-10-29T15:18:56.000Z
Source/budgie/__init__.py
pylover/budgie
f453cf2fbbf440e8e2314c7fb63f101dbe048e17
[ "WTFPL" ]
null
null
null
import sys from sqlalchemy.exc import DatabaseError from . import cli from .configuration import settings, init as init_config from .observer import HelpdeskObserver, MaximumClientsReached from .models import init as init_models, metadata, engine, check_db from .smtp import SMTPConfigurationError __version__ = '0....
21.75
113
0.66313
132
1,131
5.545455
0.44697
0.028689
0.027322
0.043716
0.057377
0.057377
0
0
0
0
0
0.008353
0.259063
1,131
51
114
22.176471
0.865155
0.015031
0
0.117647
0
0.029412
0.098287
0
0
0
0
0
0
1
0.058824
false
0
0.205882
0
0.264706
0.088235
0
0
0
null
0
0
0
0
0
0
0
0
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
72a38e5ecc9516d35d7db3206173481ed721f2aa
3,422
py
Python
locations/spiders/shopnsave.py
thismakessand/alltheplaces
b6116199844c9e88bff3a691290f07a7457470ba
[ "MIT" ]
1
2019-08-19T10:00:55.000Z
2019-08-19T10:00:55.000Z
locations/spiders/shopnsave.py
thismakessand/alltheplaces
b6116199844c9e88bff3a691290f07a7457470ba
[ "MIT" ]
null
null
null
locations/spiders/shopnsave.py
thismakessand/alltheplaces
b6116199844c9e88bff3a691290f07a7457470ba
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import scrapy import re from locations.items import GeojsonPointItem DAY_DICT = { 'Mon': 'Mo', 'Tue': 'Tu', 'Wed': 'We', 'Thu': 'Th', 'Fri': 'Fr', 'Sat': 'Sa', 'Sun': 'Su', 'Monday': 'Mo', 'Tuesday': 'Tu', 'Wednesday': 'We', 'Thursday': 'Th', 'Th...
36.021053
133
0.564582
449
3,422
4.224944
0.300668
0.094887
0.050606
0.071692
0.454929
0.394834
0.324196
0.324196
0.283079
0.283079
0
0.016756
0.232613
3,422
94
134
36.404255
0.705255
0.006137
0
0.038961
0
0.077922
0.333922
0.114151
0
0
0
0
0
1
0.077922
false
0
0.038961
0.012987
0.25974
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
72a3a6f79755d64c89ce82684ad3ec8dc5568be0
65
py
Python
run.py
TovarischSuhov/QR_quest
d2735a60f9018e59fcef09fd76b40c3a1e9d7412
[ "Apache-2.0" ]
null
null
null
run.py
TovarischSuhov/QR_quest
d2735a60f9018e59fcef09fd76b40c3a1e9d7412
[ "Apache-2.0" ]
null
null
null
run.py
TovarischSuhov/QR_quest
d2735a60f9018e59fcef09fd76b40c3a1e9d7412
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from app import app app.run(debug = True)
13
21
0.707692
12
65
3.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.153846
65
4
22
16.25
0.836364
0.307692
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
72a3d114ee07b14005e62845551d3b0c0d260004
831
py
Python
tests/twitter_learning_journal/dao/test_os_env.py
DEV3L/twitter-learning-journal
a51d22a60a3d1249add352d8357975a7f2db585c
[ "Beerware" ]
1
2021-01-12T17:06:57.000Z
2021-01-12T17:06:57.000Z
tests/twitter_learning_journal/dao/test_os_env.py
DEV3L/twitter-learning-journal
a51d22a60a3d1249add352d8357975a7f2db585c
[ "Beerware" ]
null
null
null
tests/twitter_learning_journal/dao/test_os_env.py
DEV3L/twitter-learning-journal
a51d22a60a3d1249add352d8357975a7f2db585c
[ "Beerware" ]
1
2018-07-31T21:16:33.000Z
2018-07-31T21:16:33.000Z
from unittest.mock import patch from app.twitter_learning_journal.dao.os_env import os_environ @patch('app.twitter_learning_journal.dao.os_env.os') def test_os_environ(mock_os): expected_value = 'environment_value' mock_os.environ.__contains__.return_value = True # patch in statement mock_os.environ.__...
26.806452
74
0.776173
119
831
4.89916
0.277311
0.154374
0.102916
0.157804
0.469983
0.42024
0.291595
0.178388
0.178388
0.178388
0
0
0.141998
831
30
75
27.7
0.817672
0.021661
0
0.277778
0
0
0.108508
0.051788
0
0
0
0
0.222222
1
0.166667
false
0
0.111111
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
72a434d4367495e97d23e862eb1e69cd74b1b481
477
py
Python
web-scraper/mongoscraper/populate.py
naveenr414/hack-umbc
f5d0fa5b6c3203d54a3c98b8a43b8028229431f8
[ "MIT" ]
null
null
null
web-scraper/mongoscraper/populate.py
naveenr414/hack-umbc
f5d0fa5b6c3203d54a3c98b8a43b8028229431f8
[ "MIT" ]
null
null
null
web-scraper/mongoscraper/populate.py
naveenr414/hack-umbc
f5d0fa5b6c3203d54a3c98b8a43b8028229431f8
[ "MIT" ]
null
null
null
import pymongo myclient = pymongo.MongoClient() mydb = myclient["mydb"] hor = mydb["HoR"] sen = mydb["Senator"] gov = mydb["Governor"] def write(fileJSON): myDoc = fileJSON if( "hor" in myDoc.values()): hor.insert_one(myDoc) elif( "senate" in myDoc.values()): sen.insert_one(myDoc) else...
18.346154
38
0.601677
65
477
4.353846
0.446154
0.095406
0.14841
0.063604
0.091873
0
0
0
0
0
0
0
0.245283
477
25
39
19.08
0.786111
0
0
0.1
0
0
0.065126
0
0
0
0
0
0
1
0.15
false
0
0.05
0
0.2
0.1
0
0
0
null
0
0
0
0
0
0
0
0
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
72a4e5a582877273a13f89ab82a67ba0dbfaef06
1,444
py
Python
tests/test_utils_obj_value.py
ZSD-tim/dayu_widgets
31c2530bdc4161d9311574d9850c2e9471e53072
[ "MIT" ]
157
2019-03-10T05:55:21.000Z
2022-03-31T09:07:00.000Z
tests/test_utils_obj_value.py
kanbang/dayu_widgets
6ff101e6c6f8fcf10e5cb578023a12ccdcef9164
[ "MIT" ]
16
2019-07-15T11:30:53.000Z
2021-12-16T14:17:59.000Z
tests/test_utils_obj_value.py
kanbang/dayu_widgets
6ff101e6c6f8fcf10e5cb578023a12ccdcef9164
[ "MIT" ]
56
2019-06-19T03:35:27.000Z
2022-03-22T08:07:32.000Z
""" Test get_obj_value set_obj_value has_obj_value """ import pytest from dayu_widgets import utils class _HasNameAgeObject(object): def __init__(self, name, age): super(_HasNameAgeObject, self).__init__() self.name = name self.age = age @pytest.mark.parametrize('obj', ( {'name': 'xi...
29.469388
68
0.607341
184
1,444
4.51087
0.244565
0.154217
0.079518
0.072289
0.426506
0.180723
0.180723
0.091566
0.091566
0
0
0.011807
0.237535
1,444
48
69
30.083333
0.742053
0.166205
0
0.117647
0
0
0.10119
0
0
0
0
0
0.088235
1
0.117647
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
72a50676744b1429bd199408d3b9fb6111481c1b
322
py
Python
desktop/core/ext-py/PyYAML-3.12/tests/lib3/test_all.py
kokosing/hue
2307f5379a35aae9be871e836432e6f45138b3d9
[ "Apache-2.0" ]
5,079
2015-01-01T03:39:46.000Z
2022-03-31T07:38:22.000Z
desktop/core/ext-py/PyYAML-3.12/tests/lib3/test_all.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
1,623
2015-01-01T08:06:24.000Z
2022-03-30T19:48:52.000Z
desktop/core/ext-py/PyYAML-3.12/tests/lib3/test_all.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
2,033
2015-01-04T07:18:02.000Z
2022-03-28T19:55:47.000Z
import sys, yaml, test_appliance def main(args=None): collections = [] import test_yaml collections.append(test_yaml) if yaml.__with_libyaml__: import test_yaml_ext collections.append(test_yaml_ext) return test_appliance.run(collections, args) if __name__ == '__main__': main()...
20.125
48
0.698758
40
322
5.1
0.45
0.156863
0.137255
0.245098
0
0
0
0
0
0
0
0
0.214286
322
15
49
21.466667
0.806324
0
0
0
0
0
0.025
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.454545
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
72a54534a71e2246424e06879611de77216a27cb
22,969
py
Python
tim_camera/oop_detection_webcam.py
Tim-orius/aidem
965a71888db72f42223777e890f4bcf88cde7fd3
[ "MIT" ]
null
null
null
tim_camera/oop_detection_webcam.py
Tim-orius/aidem
965a71888db72f42223777e890f4bcf88cde7fd3
[ "MIT" ]
null
null
null
tim_camera/oop_detection_webcam.py
Tim-orius/aidem
965a71888db72f42223777e890f4bcf88cde7fd3
[ "MIT" ]
null
null
null
""" Webcam Detection with Tensorflow calssifier and object distance calculation """ __version__ = "0.1.0" __author__ = "Tim Rosenkranz" __email__ = "tim.rosenkranz@stud.uni-frankfurt.de" __credits__ = "Special thanks to The Anh Vuong who came up with the original idea." \ "This code is also based off of ...
49.184154
221
0.530846
2,714
22,969
4.299926
0.186809
0.013196
0.009597
0.011311
0.503599
0.475321
0.453985
0.435219
0.427506
0.427506
0
0.035979
0.359876
22,969
467
222
49.184154
0.757737
0.266751
0
0.348548
0
0
0.039709
0.002163
0
0
0
0
0
1
0.045643
false
0
0.058091
0.004149
0.124481
0.033195
0
0
0
null
0
0
0
0
0
0
0
0
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
72a66499365040683f1a28fc9b02b8c6e95b1740
4,107
py
Python
modules/zabbix_smart.py
yakumo-saki/smart_to_zabbix
04dd1debe0c831b4ec94962884543c989ad57730
[ "MIT" ]
null
null
null
modules/zabbix_smart.py
yakumo-saki/smart_to_zabbix
04dd1debe0c831b4ec94962884543c989ad57730
[ "MIT" ]
23
2021-08-30T14:59:27.000Z
2021-11-05T16:51:08.000Z
modules/zabbix_smart.py
yakumo-saki/smart_to_zabbix
04dd1debe0c831b4ec94962884543c989ad57730
[ "MIT" ]
null
null
null
import json import logging import config as cfg from modules.const import Keys, AttrKey from modules.zabbix_sender import send_to_zabbix logger = logging.getLogger(__name__) SMART_ATTR_KEY = "ata_smart_attributes" NVME_ATTR_KEY = "nvme_smart_health_information_log" def send_attribute_discovery(result): """ zab...
30.198529
90
0.70392
550
4,107
5.014545
0.189091
0.019579
0.035533
0.007252
0.45504
0.32016
0.127266
0.115301
0.099347
0.063814
0
0.001468
0.170441
4,107
135
91
30.422222
0.808042
0.09496
0
0.313953
0
0
0.157468
0.046266
0
0
0
0
0
1
0.069767
false
0
0.081395
0
0.22093
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
72a84aac36dbbd7474150732b72b1f6e0905fbe4
2,007
py
Python
data.py
kpister/biaxial-rnn-music-composition
f6feafad0fe1066dd957293803a86d6c584d9952
[ "BSD-2-Clause" ]
null
null
null
data.py
kpister/biaxial-rnn-music-composition
f6feafad0fe1066dd957293803a86d6c584d9952
[ "BSD-2-Clause" ]
null
null
null
data.py
kpister/biaxial-rnn-music-composition
f6feafad0fe1066dd957293803a86d6c584d9952
[ "BSD-2-Clause" ]
null
null
null
import itertools from midi_to_statematrix import UPPER_BOUND, LOWER_BOUND def startSentinel(): def noteSentinel(note): position = note part_position = [position] pitchclass = (note + LOWER_BOUND) % 12 part_pitchclass = [int(i == pitchclass) for i in range(12)] return part...
26.76
89
0.636273
242
2,007
5.177686
0.297521
0.039904
0.045491
0.057462
0.329609
0.158021
0.158021
0.158021
0.158021
0.158021
0
0.024275
0.261086
2,007
74
90
27.121622
0.820634
0.078226
0
0.18
0
0
0
0
0
0
0
0
0
1
0.16
false
0
0.04
0.02
0.38
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
72a872cd27be148319e99d8b66913e6b97bcfc81
7,861
py
Python
ocdb/ws/controllers/datasets.py
eocdb/ocdb-server
0e28d092e8ecf5f4813878aab43de990cc5fb4ee
[ "MIT" ]
null
null
null
ocdb/ws/controllers/datasets.py
eocdb/ocdb-server
0e28d092e8ecf5f4813878aab43de990cc5fb4ee
[ "MIT" ]
null
null
null
ocdb/ws/controllers/datasets.py
eocdb/ocdb-server
0e28d092e8ecf5f4813878aab43de990cc5fb4ee
[ "MIT" ]
null
null
null
# The MIT License (MIT) # Copyright (c) 2018 by EUMETSAT # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, including without limitation the rights to # use, copy, modify,...
38.346341
97
0.677649
975
7,861
5.281026
0.232821
0.052437
0.040396
0.02719
0.357157
0.264517
0.24898
0.235774
0.199456
0.199456
0
0.001653
0.230632
7,861
204
98
38.534314
0.849702
0.2043
0
0.231343
0
0
0.084248
0.009038
0
0
0
0.004902
0.141791
1
0.08209
false
0
0.08209
0.007463
0.223881
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
72a973eeb72b3616d349d7fd689d925f5f433b09
4,209
py
Python
libAnt/node.py
ayanezcasal/AntLibAYC
c266af973f4c32d4baf30130fe51a572478488ec
[ "MIT" ]
19
2018-04-14T15:29:17.000Z
2022-02-05T08:51:16.000Z
libAnt/node.py
ayanezcasal/AntLibAYC
c266af973f4c32d4baf30130fe51a572478488ec
[ "MIT" ]
5
2018-12-16T09:32:06.000Z
2021-10-20T20:20:06.000Z
libAnt/node.py
ayanezcasal/AntLibAYC
c266af973f4c32d4baf30130fe51a572478488ec
[ "MIT" ]
12
2016-08-24T09:00:44.000Z
2022-01-24T00:16:13.000Z
import threading from queue import Queue, Empty from time import sleep from libAnt.drivers.driver import Driver from libAnt.message import * class Network: def __init__(self, key: bytes = b'\x00' * 8, name: str = None): self.key = key self.name = name self.number = 0 def __str__(self...
33.943548
117
0.516512
404
4,209
5.168317
0.321782
0.038314
0.05364
0.014368
0.022031
0
0
0
0
0
0
0.005927
0.39867
4,209
123
118
34.219512
0.819044
0.029461
0
0.153061
0
0
0.000981
0
0
0
0
0.00813
0
1
0.142857
false
0.040816
0.05102
0.030612
0.27551
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
72a98cda239838c97dafaaefa4602ca6f04cc90c
5,168
py
Python
tests/test_seasonality.py
OliPerkins1987/Wildfire_Human_Agency_Model
49ac17c7c2ad5e03d572b6ae22c227e89a944624
[ "MIT" ]
1
2021-06-24T16:45:22.000Z
2021-06-24T16:45:22.000Z
tests/test_seasonality.py
OliPerkins1987/Wildfire_Human_Agency_Model
49ac17c7c2ad5e03d572b6ae22c227e89a944624
[ "MIT" ]
null
null
null
tests/test_seasonality.py
OliPerkins1987/Wildfire_Human_Agency_Model
49ac17c7c2ad5e03d572b6ae22c227e89a944624
[ "MIT" ]
1
2021-10-05T08:57:17.000Z
2021-10-05T08:57:17.000Z
# -*- coding: utf-8 -*- """ Created on Thu Sep 30 12:17:04 2021 @author: Oli """ import pytest import pandas as pd import numpy as np import netCDF4 as nc import os from copy import deepcopy os.chdir(os.path.dirname(os.path.realpath(__file__))) wd = os.getcwd().replace('\\', '/') exec(open("test_set...
32.917197
125
0.60952
576
5,168
5.211806
0.310764
0.031979
0.083944
0.058294
0.597602
0.553298
0.490673
0.490673
0.490673
0.466023
0
0.01998
0.225232
5,168
156
126
33.128205
0.72977
0.033475
0
0.623656
0
0
0.176729
0.022832
0
0
0
0
0.021505
1
0.021505
false
0
0.215054
0
0.236559
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
72a98f8195358b1bfa2d15602cde451901a0aac4
2,514
py
Python
bookalo/funciones_report.py
unizar-30226-2019-08/Backend
d14e6fce293330611cd697af033823aa01a2ebfe
[ "MIT" ]
3
2019-05-21T19:35:30.000Z
2019-06-03T19:58:10.000Z
bookalo/funciones_report.py
unizar-30226-2019-08/Backend
d14e6fce293330611cd697af033823aa01a2ebfe
[ "MIT" ]
99
2019-03-14T10:22:52.000Z
2022-03-11T23:46:08.000Z
bookalo/funciones_report.py
unizar-30226-2019-08/Backend
d14e6fce293330611cd697af033823aa01a2ebfe
[ "MIT" ]
4
2019-03-17T18:53:57.000Z
2019-05-21T19:35:35.000Z
from django.shortcuts import render, redirect from bookalo.pyrebase_settings import db, auth from bookalo.models import * from bookalo.serializers import * #from bookalo.functions import * from rest_framework import status, permissions from rest_framework.decorators import api_view, permission_classes from rest_...
54.652174
307
0.73031
329
2,514
5.504559
0.428571
0.013252
0.026505
0.032027
0.100497
0.073992
0
0
0
0
0
0.001409
0.153142
2,514
46
308
54.652174
0.849225
0.012331
0
0.046512
0
0
0.182527
0.009844
0
0
0
0
0
1
0.046512
false
0
0.418605
0
0.534884
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
72a9deefb1b6924bdaa40e4fd75c347025f116d3
572
py
Python
tests/test_client.py
patvdleer/nefit-client-python
97f2c1e454b7c0d5829e1a9c285c998980c603e3
[ "MIT" ]
11
2017-07-20T10:12:55.000Z
2020-12-25T12:40:31.000Z
tests/test_client.py
patvdleer/nefit-client-python
97f2c1e454b7c0d5829e1a9c285c998980c603e3
[ "MIT" ]
5
2018-01-01T22:11:09.000Z
2020-05-14T20:59:50.000Z
tests/test_client.py
patvdleer/nefit-client-python
97f2c1e454b7c0d5829e1a9c285c998980c603e3
[ "MIT" ]
11
2017-04-09T18:55:53.000Z
2020-04-22T14:31:12.000Z
import os import unittest from nefit import NefitClient, NefitResponseException class ClientTest(unittest.TestCase): def test_exceptions(self): client = NefitClient( os.environ.get("NEFIT_SERIAL", 123456789), os.environ.get("NEFIT_ACCESS_KEY", "abc1abc2abc3abc4"), "asdd...
26
67
0.657343
53
572
6.811321
0.622642
0.049862
0.066482
0.094183
0
0
0
0
0
0
0
0.030162
0.246504
572
21
68
27.238095
0.807425
0
0
0
0
0
0.115385
0
0
0
0
0
0.058824
1
0.058824
false
0
0.176471
0
0.294118
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
72ac281779d052a2842e7fce7e7f54eebca721c0
5,080
py
Python
opencivicdata/merge.py
GovHawkDC/python-opencivicdata
1679a4e5df381c777c3e6c53d7c056321662e99a
[ "BSD-3-Clause" ]
null
null
null
opencivicdata/merge.py
GovHawkDC/python-opencivicdata
1679a4e5df381c777c3e6c53d7c056321662e99a
[ "BSD-3-Clause" ]
null
null
null
opencivicdata/merge.py
GovHawkDC/python-opencivicdata
1679a4e5df381c777c3e6c53d7c056321662e99a
[ "BSD-3-Clause" ]
null
null
null
import datetime from django.db import transaction def compute_diff(obj1, obj2): """ Given two objects compute a list of differences. Each diff dict has the following keys: field - name of the field new - the new value for the field one - value of the field in o...
34.794521
97
0.491339
536
5,080
4.524254
0.244403
0.040825
0.043299
0.019794
0.202887
0.087423
0.046186
0.026392
0
0
0
0.015227
0.405315
5,080
145
98
35.034483
0.787488
0.100787
0
0.22807
0
0
0.092023
0
0
0
0
0.006897
0.008772
1
0.035088
false
0
0.017544
0
0.070175
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
72ac92211f4ec9ab263019e3549666f802fa242f
3,257
py
Python
src/python/pants/core/project_info/filedeps.py
silverguo/pants
141510d03fbf2b7e1a0b54f66b54088697f6fa51
[ "Apache-2.0" ]
null
null
null
src/python/pants/core/project_info/filedeps.py
silverguo/pants
141510d03fbf2b7e1a0b54f66b54088697f6fa51
[ "Apache-2.0" ]
null
null
null
src/python/pants/core/project_info/filedeps.py
silverguo/pants
141510d03fbf2b7e1a0b54f66b54088697f6fa51
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). import itertools from pathlib import PurePath from typing import Iterable from pants.base.build_root import BuildRoot from pants.engine.addresses import Address, Addresses, BuildFileAddre...
30.726415
100
0.645072
357
3,257
5.764706
0.358543
0.030612
0.043732
0.021866
0.089407
0.066084
0.066084
0.044704
0
0
0
0.0034
0.277556
3,257
105
101
31.019048
0.871228
0.055266
0
0.186047
0
0
0.111726
0
0
0
0
0
0
1
0.023256
false
0
0.116279
0.011628
0.209302
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
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
72adadcbd8e2ff6b2637e141f68ab8b5a7fcd9ed
5,887
py
Python
perfkitbenchmarker/providers/rackspace/rackspace_network.py
dq922/CloudControlVM
fae2cf7d2c4388e1dc657bd9245d88f2cb1b9b52
[ "Apache-2.0" ]
null
null
null
perfkitbenchmarker/providers/rackspace/rackspace_network.py
dq922/CloudControlVM
fae2cf7d2c4388e1dc657bd9245d88f2cb1b9b52
[ "Apache-2.0" ]
null
null
null
perfkitbenchmarker/providers/rackspace/rackspace_network.py
dq922/CloudControlVM
fae2cf7d2c4388e1dc657bd9245d88f2cb1b9b52
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 PerfKitBenchmarker 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 appli...
38.477124
80
0.565993
620
5,887
5.214516
0.298387
0.040829
0.039592
0.042066
0.339004
0.32725
0.290752
0.272502
0.241571
0.201361
0
0.004639
0.340921
5,887
152
81
38.730263
0.828608
0.174282
0
0.34375
0
0
0.08958
0.030278
0
0
0
0
0
1
0.03125
false
0
0.083333
0
0.15625
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
72b295dd25910f310b0a00f8178ac31d5400862a
154,604
py
Python
dota2py/proto/dota_usermessages_pb2.py
mjdesrosiers/dota2py
744f44ba6993c99932037df15de2c08dbd265674
[ "MIT" ]
86
2015-01-05T02:03:10.000Z
2021-07-06T02:38:20.000Z
dota2py/proto/dota_usermessages_pb2.py
mjdesrosiers/dota2py
744f44ba6993c99932037df15de2c08dbd265674
[ "MIT" ]
8
2015-01-20T15:24:20.000Z
2018-11-29T07:35:53.000Z
dota2py/proto/dota_usermessages_pb2.py
mjdesrosiers/dota2py
744f44ba6993c99932037df15de2c08dbd265674
[ "MIT" ]
29
2015-01-20T15:26:50.000Z
2019-08-30T14:49:28.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! from google.protobuf import descriptor from google.protobuf import message from google.protobuf import reflection from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) import google.protobuf.descriptor_pb2 import netmessages_pb2 impo...
41.315874
18,615
0.764191
18,823
154,604
5.968708
0.045317
0.051767
0.038612
0.035639
0.726362
0.654461
0.570552
0.516658
0.489849
0.442719
0
0.047702
0.12772
154,604
3,741
18,616
41.326918
0.785389
0.028033
0
0.672579
1
0.006106
0.208645
0.185697
0
0
0
0
0
1
0
false
0
0.002326
0
0.041582
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
72b29fc480b17250901de0de9a0fdd2643e31525
369
py
Python
auth0_client/menu/datafiles/scripts/get_active_user_count.py
rubelw/auth0_client
51e68239babcf7c40e40491d1aaa3f8547a67f63
[ "MIT" ]
2
2020-10-08T21:42:56.000Z
2021-03-21T08:17:52.000Z
auth0_client/menu/datafiles/scripts/get_active_user_count.py
rubelw/auth0_client
51e68239babcf7c40e40491d1aaa3f8547a67f63
[ "MIT" ]
null
null
null
auth0_client/menu/datafiles/scripts/get_active_user_count.py
rubelw/auth0_client
51e68239babcf7c40e40491d1aaa3f8547a67f63
[ "MIT" ]
null
null
null
#!/usr/bin/env python import json from auth0_client.Auth0Client import Auth0Client from auth0_client.menu.menu_helper.common import * from auth0_client.menu.menu_helper.pretty import * try: users = {} client = Auth0Client(auth_config()) results = client.active_users() print(pretty(results)) except...
19.421053
50
0.742547
46
369
5.804348
0.565217
0.101124
0.168539
0.142322
0.217228
0.217228
0
0
0
0
0
0.019231
0.154472
369
18
51
20.5
0.836538
0.054201
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
72b41799b9ea2ac1e3eee3e55900103983d55cfc
852
py
Python
encryptfinance/transactions/admin.py
dark-codr/encryptfinance
573a8179c3a7c4b0f68d71bc9d461246f6fdba29
[ "Apache-2.0" ]
null
null
null
encryptfinance/transactions/admin.py
dark-codr/encryptfinance
573a8179c3a7c4b0f68d71bc9d461246f6fdba29
[ "Apache-2.0" ]
1
2022-03-31T03:16:16.000Z
2022-03-31T03:16:16.000Z
encryptfinance/transactions/admin.py
dark-codr/encryptfinance
573a8179c3a7c4b0f68d71bc9d461246f6fdba29
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import from django.contrib import admin from .models import Deposit, Withdrawal, Support from .forms import DepositForm, WithdrawalForm # Register your models here. @admin.register(Deposit) class DepositAdmin(admin.ModelAdmin): # form = DepositForm list_display = ["__str__", "...
28.4
89
0.706573
88
852
6.613636
0.420455
0.075601
0.065292
0.068729
0.178694
0.178694
0.178694
0.178694
0
0
0
0
0.16784
852
29
90
29.37931
0.820874
0.052817
0
0.2
0
0
0.190299
0
0
0
0
0
0
1
0
false
0
0.2
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
72b5ec574a910346ea5b219b420b4689179e7f53
818
py
Python
vendor-local/src/django-piston/tests/test_project/settings.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
22
2015-01-16T01:36:32.000Z
2020-06-08T00:46:18.000Z
vendor-local/src/django-piston/tests/test_project/settings.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
9
2019-03-15T11:39:32.000Z
2019-04-30T00:59:50.000Z
vendor-local/src/django-piston/tests/test_project/settings.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
13
2015-01-13T20:56:22.000Z
2022-02-23T06:01:17.000Z
import os DEBUG = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/piston.db' } } DATABASE_ENGINE = 'sqlite3' DATABASE_NAME = '/tmp/piston.db' INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessi...
24.058824
62
0.687042
81
818
6.777778
0.555556
0.165756
0.047359
0.054645
0
0
0
0
0
0
0
0.004412
0.168704
818
33
63
24.787879
0.802941
0
0
0
0
0
0.545232
0.370416
0
0
0
0
0
1
0
false
0
0.032258
0
0.032258
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
72b62ed3f7cc27fe8cfe04f0c5e5ac430e3c0735
14,958
py
Python
src/sage/combinat/combinatorial_map.py
UCD4IDS/sage
43474c96d533fd396fe29fe0782d44dc7f5164f7
[ "BSL-1.0" ]
null
null
null
src/sage/combinat/combinatorial_map.py
UCD4IDS/sage
43474c96d533fd396fe29fe0782d44dc7f5164f7
[ "BSL-1.0" ]
null
null
null
src/sage/combinat/combinatorial_map.py
UCD4IDS/sage
43474c96d533fd396fe29fe0782d44dc7f5164f7
[ "BSL-1.0" ]
null
null
null
""" Combinatorial maps This module provides a decorator that can be used to add semantic to a Python method by marking it as implementing a *combinatorial map*, that is a map between two :class:`enumerated sets <EnumeratedSets>`:: sage: from sage.combinat.combinatorial_map import combinatorial_map sage: class...
36.043373
130
0.595935
1,659
14,958
5.212779
0.17179
0.197965
0.072271
0.080944
0.509135
0.461147
0.410384
0.392808
0.390495
0.390495
0
0.00572
0.28707
14,958
414
131
36.130435
0.805233
0.759794
0
0.114754
0
0
0.040826
0
0
0
0
0
0
1
0.180328
false
0
0.032787
0
0.459016
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
72b71a7472c7bdcc100bc857b45e0a2173cf0beb
5,048
py
Python
tests/cppproj/xdressrc.py
xdress/xdress
eb7f0a02b3edf617d401939ede7f0d713a88917f
[ "BSD-2-Clause-FreeBSD" ]
88
2015-01-04T14:49:05.000Z
2021-03-25T15:32:41.000Z
tests/cppproj/xdressrc.py
scopatz/xdress
2d95c900e849f924644756d421b1f4da4624e6c9
[ "BSD-2-Clause-FreeBSD" ]
26
2015-02-03T19:09:11.000Z
2022-03-24T00:15:55.000Z
tests/cppproj/xdressrc.py
scopatz/xdress
2d95c900e849f924644756d421b1f4da4624e6c9
[ "BSD-2-Clause-FreeBSD" ]
25
2015-01-27T18:25:15.000Z
2022-03-24T00:10:18.000Z
import os from xdress.utils import apiname package = 'cppproj' packagedir = 'cppproj' includes = ['src'] plugins = ('xdress.autoall', 'xdress.pep8names', 'xdress.cythongen', 'xdress.stlwrap', ) extra_types = 'cppproj_extra_types' # non-default value dtypes = [ ('map', 'str', 'int'), ('set', 'in...
33.210526
89
0.522187
469
5,048
5.486141
0.251599
0.069957
0.051302
0.027983
0.204042
0.141469
0.097163
0.074621
0
0
0
0.013896
0.201664
5,048
151
90
33.430464
0.624566
0.037044
0
0.153285
0
0
0.340062
0.009887
0
0
0
0.006623
0
1
0
false
0
0.014599
0
0.014599
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
72b766456e6162990d0a72bfeab659fdbe69bb40
1,259
py
Python
routines/server.py
henryshunt/c-aws
6e15bb18c2243f11a129b01298cb31749033f8d4
[ "MIT" ]
null
null
null
routines/server.py
henryshunt/c-aws
6e15bb18c2243f11a129b01298cb31749033f8d4
[ "MIT" ]
null
null
null
routines/server.py
henryshunt/c-aws
6e15bb18c2243f11a129b01298cb31749033f8d4
[ "MIT" ]
null
null
null
import os import subprocess import routines.config as config import routines.helpers as helpers def get_static_info(): """ Outputs data concerning the computer in the C-AWS station """ startup_time = None data_drive_space = None camera_drive_space = None # Get system startup ...
33.131579
74
0.629071
155
1,259
4.864516
0.341935
0.092838
0.084881
0.06366
0.372679
0.241379
0.119363
0
0
0
0
0.002198
0.277204
1,259
38
75
33.131579
0.826374
0.094519
0
0.076923
0
0
0.010949
0
0
0
0
0
0
1
0.038462
false
0.038462
0.153846
0
0.192308
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
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
72b93e836d4145542223f40d01a9abd8ec9065ef
654
py
Python
DQM/DTMonitorModule/python/dtChamberEfficiencyHI_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DQM/DTMonitorModule/python/dtChamberEfficiencyHI_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DQM/DTMonitorModule/python/dtChamberEfficiencyHI_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms from RecoMuon.TrackingTools.MuonServiceProxy_cff import MuonServiceProxy dtEfficiencyMonitor = cms.EDAnalyzer("DTChamberEfficiency", MuonServiceProxy, debug = cms.untracked.bool(True), TrackCollection = cms.InputTag("standAloneMuons"), theMaxChi2 = cms.do...
32.7
73
0.717125
63
654
7.428571
0.603175
0.117521
0.102564
0
0
0
0
0
0
0
0
0.016334
0.157492
654
19
74
34.421053
0.833031
0
0
0
0
0
0.105666
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
72b949d8e04cbc755aaffda65747d7946fc2a6d5
217
py
Python
gym_reinmav/envs/mujoco/__init__.py
peterminh227/reinmav-gym
518122b16b86d59f744b3116e6187dafd49a3de4
[ "BSD-3-Clause" ]
60
2019-03-08T21:14:38.000Z
2022-01-23T20:43:21.000Z
gym_reinmav/envs/mujoco/__init__.py
peterminh227/reinmav-gym
518122b16b86d59f744b3116e6187dafd49a3de4
[ "BSD-3-Clause" ]
8
2019-03-09T09:09:38.000Z
2022-03-25T15:36:51.000Z
gym_reinmav/envs/mujoco/__init__.py
peterminh227/reinmav-gym
518122b16b86d59f744b3116e6187dafd49a3de4
[ "BSD-3-Clause" ]
22
2019-03-08T19:47:49.000Z
2022-03-29T09:14:01.000Z
from gym_reinmav.envs.mujoco.mujoco_quad import MujocoQuadEnv from gym_reinmav.envs.mujoco.mujoco_quad_hovering import MujocoQuadHoveringEnv from gym_reinmav.envs.mujoco.mujoco_quad_quat import MujocoQuadQuaternionEnv
72.333333
78
0.907834
29
217
6.517241
0.413793
0.111111
0.222222
0.285714
0.539683
0.539683
0.539683
0
0
0
0
0
0.050691
217
3
79
72.333333
0.917476
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
72ba794e4ffc0f8c96701df9930a1aeef6a247aa
3,075
py
Python
test.py
jasonivey/scripts
09f9702e5ce62abbb7699aae16b45b33711fe856
[ "MIT" ]
null
null
null
test.py
jasonivey/scripts
09f9702e5ce62abbb7699aae16b45b33711fe856
[ "MIT" ]
null
null
null
test.py
jasonivey/scripts
09f9702e5ce62abbb7699aae16b45b33711fe856
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # vim:softtabstop=4:ts=4:sw=4:expandtab:tw=120 from ansimarkup import AnsiMarkup, parse import csv import datetime import operator import os from pathlib import Path import re import sys import traceback _VERBOSE = False user_tags = { 'error' : parse('<bold><red>'), 'nam...
35.755814
103
0.666016
442
3,075
4.400452
0.316742
0.027764
0.026735
0.026735
0.275578
0.162468
0.112082
0.112082
0.112082
0.112082
0
0.012058
0.190894
3,075
85
104
36.176471
0.769695
0.03122
0
0.058824
0
0
0.143895
0.047388
0
0
0
0
0.029412
1
0.161765
false
0
0.132353
0.058824
0.426471
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
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
72ba9085ddab97bd04e95141330b44b2e8f9e59c
625
py
Python
RDyn-master/rdyn/test/rdyn_test.py
nogrady/dynamo
4a94453c810cb6cd0eb976c6db9e379cfb2e1f3b
[ "MIT" ]
12
2020-02-05T10:24:54.000Z
2022-02-24T02:26:00.000Z
RDyn-master/rdyn/test/rdyn_test.py
nogrady/dynamo
4a94453c810cb6cd0eb976c6db9e379cfb2e1f3b
[ "MIT" ]
4
2020-12-03T04:24:24.000Z
2021-09-18T13:14:50.000Z
RDyn-master/rdyn/test/rdyn_test.py
nogrady/dynamo
4a94453c810cb6cd0eb976c6db9e379cfb2e1f3b
[ "MIT" ]
6
2019-07-30T12:55:44.000Z
2021-09-05T06:26:18.000Z
import unittest import shutil from rdyn.alg.RDyn_v2 import RDynV2 class RDynTestCase(unittest.TestCase): def test_rdyn_simplified(self): print("1") rdb = RDynV2(size=500, iterations=100) rdb.execute(simplified=True) print("2") rdb = RDynV2(size=500, iterations=100, max_ev...
24.038462
99
0.6384
83
625
4.626506
0.493976
0.070313
0.101563
0.125
0.377604
0.226563
0
0
0
0
0
0.070833
0.232
625
25
100
25
0.729167
0
0
0.111111
0
0
0.0352
0
0
0
0
0
0
1
0.055556
false
0
0.166667
0
0.277778
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
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
72bb20592ab5dcb9752888e9d174ab8e1560ff6a
1,436
py
Python
recognition/datasets/build.py
Jung-Jun-Uk/UNPG
a6f9c1731a68fc035eb8fe8198f5a5c643825a5b
[ "Apache-2.0" ]
7
2022-03-15T13:09:05.000Z
2022-03-31T04:11:19.000Z
recognition/datasets/build.py
Jung-Jun-Uk/UNPG
a6f9c1731a68fc035eb8fe8198f5a5c643825a5b
[ "Apache-2.0" ]
1
2022-03-31T02:03:05.000Z
2022-03-31T11:18:02.000Z
recognition/datasets/build.py
Jung-Jun-Uk/UNPG
a6f9c1731a68fc035eb8fe8198f5a5c643825a5b
[ "Apache-2.0" ]
null
null
null
import os from .kface import KFace from .ms1m import MS1M from .bin_datasets import BIN from .ijb import IJB def build_datasets(data_cfg, batch_size, cuda, workers, mode, rank=-1): assert mode in ['train', 'test'] cfg = data_cfg[mode] if cfg['dataset'] == 'kface': dataset =...
46.322581
112
0.559192
186
1,436
4.145161
0.268817
0.070039
0.101167
0.155642
0.290532
0.259403
0.155642
0
0
0
0
0.004931
0.293872
1,436
30
113
47.866667
0.755424
0
0
0
0
0
0.132312
0
0
0
0
0
0.04
1
0.04
false
0
0.2
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
72bb21a725c716541be205c2b5b7874c878a779b
1,316
py
Python
django_cd/notifications.py
ppinard/django-cd
1bc9304466ace12867df3b18a8ef7f204b9744b4
[ "MIT" ]
1
2021-12-22T15:18:17.000Z
2021-12-22T15:18:17.000Z
django_cd/notifications.py
ppinard/django-cd
1bc9304466ace12867df3b18a8ef7f204b9744b4
[ "MIT" ]
null
null
null
django_cd/notifications.py
ppinard/django-cd
1bc9304466ace12867df3b18a8ef7f204b9744b4
[ "MIT" ]
null
null
null
"""""" # Standard library modules. import abc # Third party modules. from django.core.mail import send_mail from django.template import Engine, Context # Local modules. from .models import RunState # Globals and constants variables. class Notification(metaclass=abc.ABCMeta): @classmethod def notify(self, ...
28
87
0.637538
144
1,316
5.638889
0.451389
0.044335
0.03202
0.046798
0
0
0
0
0
0
0
0
0.268997
1,316
46
88
28.608696
0.844075
0.071429
0
0.066667
0
0
0.067713
0.023121
0
0
0
0
0
1
0.133333
false
0
0.133333
0.033333
0.366667
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
72bbe0388e18a5be8321d3239864b86aeb1e09f0
16,783
py
Python
Experiment/ltpFR3_MTurk/ListGen/ltpFR3_listgen.py
jpazdera/PazdKaha22
9b3157cbcc68aafc829dbd38f3271f884caf541d
[ "CC-BY-4.0" ]
null
null
null
Experiment/ltpFR3_MTurk/ListGen/ltpFR3_listgen.py
jpazdera/PazdKaha22
9b3157cbcc68aafc829dbd38f3271f884caf541d
[ "CC-BY-4.0" ]
null
null
null
Experiment/ltpFR3_MTurk/ListGen/ltpFR3_listgen.py
jpazdera/PazdKaha22
9b3157cbcc68aafc829dbd38f3271f884caf541d
[ "CC-BY-4.0" ]
null
null
null
#!/usr/bin/env python2 import random import itertools import numpy import sys import json import copy def make_bins_ltpFR3(semArray): """ Creates four equal-width bins of WAS scores, identical to those used in ltpFR2. Then combine the middle two to give three bins: low similarity, medium similarity, and h...
42.923274
121
0.599476
2,248
16,783
4.372331
0.185943
0.008648
0.005494
0.008953
0.243565
0.196358
0.177943
0.177943
0.166141
0.166141
0
0.019654
0.32092
16,783
390
122
43.033333
0.842766
0.268903
0
0.104478
0
0
0.03845
0.01489
0
0
0
0
0
0
null
null
0
0.034826
null
null
0.034826
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
72bc6c214f68401efd569e611f4ece00cc40d261
1,568
py
Python
fastestimator/dataset/data/cifar10.py
DwijayDS/fastestimator
9b288cb2bd870f971ec4cee09d0b3205e1316a94
[ "Apache-2.0" ]
57
2019-05-21T21:29:26.000Z
2022-02-23T05:55:21.000Z
fastestimator/dataset/data/cifar10.py
vbvg2008/fastestimator
6061a4fbbeb62a2194ef82ba8017f651710d0c65
[ "Apache-2.0" ]
93
2019-05-23T18:36:07.000Z
2022-03-23T17:15:55.000Z
fastestimator/dataset/data/cifar10.py
vbvg2008/fastestimator
6061a4fbbeb62a2194ef82ba8017f651710d0c65
[ "Apache-2.0" ]
47
2019-05-09T15:41:37.000Z
2022-03-26T17:00:08.000Z
# Copyright 2019 The FastEstimator 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 appl...
40.205128
116
0.700255
218
1,568
4.922018
0.5
0.055918
0.024231
0.029823
0.117428
0.070829
0
0
0
0
0
0.021505
0.169643
1,568
38
117
41.263158
0.802611
0.591837
0
0
0
0
0.143581
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2