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
575f308ca44df0bc0002b961cde26faa3b0d31ac
230
py
Python
lesson 2/p1-higher number.py
hamburgcodingschool/L2C-1903
759c273edb4b2e1685c28f932694f7a5a1e2b0a1
[ "MIT" ]
null
null
null
lesson 2/p1-higher number.py
hamburgcodingschool/L2C-1903
759c273edb4b2e1685c28f932694f7a5a1e2b0a1
[ "MIT" ]
null
null
null
lesson 2/p1-higher number.py
hamburgcodingschool/L2C-1903
759c273edb4b2e1685c28f932694f7a5a1e2b0a1
[ "MIT" ]
null
null
null
# # print("What's your name?") # name = input("> ") # # print("Hi " + name) a = 60 b = 7 c = 500 if a > b: if a > c: print(a) else: print(c) else: if b > c: print(b) else: print(c)
11.5
28
0.413043
36
230
2.638889
0.416667
0.063158
0.210526
0
0
0
0
0
0
0
0
0.043796
0.404348
230
20
29
11.5
0.649635
0.282609
0
0.384615
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.307692
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5764beb038aadcf125a9ba158d19efd470174749
847
py
Python
packages/slycat/email.py
sandialabs/slycat
efbb91ce4ea4da08b58399eb820f6d6987408e44
[ "BSD-3-Clause" ]
66
2015-01-06T20:53:50.000Z
2022-03-30T17:25:04.000Z
packages/slycat/email.py
agentdavidjoseph/slycat
690e1cb07a6fa990d7206265e18edb22ae3f62e7
[ "BSD-3-Clause" ]
782
2015-01-05T15:42:30.000Z
2022-03-11T03:27:52.000Z
packages/slycat/email.py
agentdavidjoseph/slycat
690e1cb07a6fa990d7206265e18edb22ae3f62e7
[ "BSD-3-Clause" ]
23
2015-04-29T08:16:27.000Z
2022-01-05T23:21:54.000Z
# Copyright (c) 2013, 2018 National Technology and Engineering Solutions of Sandia, LLC . Under the terms of Contract # DE-NA0003525 with National Technology and Engineering Solutions of Sandia, LLC, the U.S. Government # retains certain rights in this software. import subprocess def send_error(subject, body): impo...
56.466667
257
0.723731
117
847
5.230769
0.42735
0.132353
0.220588
0.137255
0.419935
0.379085
0.379085
0.320261
0.150327
0
0
0.020053
0.116883
847
15
258
56.466667
0.798128
0.302243
0
0
0
0
0.215986
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5772de34682295e4026c02c349c2c79f41951997
906
py
Python
tests/stdlib/test_strings.py
decorator-factory/gurklang-pyimpl-interpreter
bd4275949c094d81a729da6a910b4bbecadaff0f
[ "MIT" ]
4
2020-12-24T21:24:55.000Z
2021-12-02T10:38:04.000Z
tests/stdlib/test_strings.py
decorator-factory/gurklang-pyimpl-interpreter
bd4275949c094d81a729da6a910b4bbecadaff0f
[ "MIT" ]
17
2020-12-21T20:09:18.000Z
2021-12-01T23:24:45.000Z
tests/stdlib/test_strings.py
decorator-factory/gurklang-pyimpl-interpreter
bd4275949c094d81a729da6a910b4bbecadaff0f
[ "MIT" ]
2
2020-12-20T17:23:25.000Z
2020-12-20T21:02:57.000Z
from ..test_examples import run def test_foreach_str(): actual = run(""" :math ( + ) import :boxes ( box <= -> ) import :strings ( ∀s ) import # count the number of `a`s in the string 0 box :count def "nfhagiaaarnghroaafgfdanp" { dup println "a" = { 1 + } { } if c...
22.097561
77
0.536424
111
906
4.333333
0.522523
0.10395
0.066528
0
0
0
0
0
0
0
0
0.004739
0.301325
906
40
78
22.65
0.751975
0.082781
0
0.068966
0
0
0.679131
0.031363
0
0
0
0
0.103448
1
0.103448
false
0
0.206897
0
0.310345
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
577426598282532b4e07d2fb23e74576bfa39605
1,463
py
Python
benchmarks/bench_misc.py
abitrolly/numba-benchmark
4bea9c23276fd0399df26452d19f13810a6496c7
[ "BSD-2-Clause" ]
6
2015-10-19T09:18:50.000Z
2021-11-29T10:37:10.000Z
benchmarks/bench_misc.py
abitrolly/numba-benchmark
4bea9c23276fd0399df26452d19f13810a6496c7
[ "BSD-2-Clause" ]
9
2015-03-03T09:50:56.000Z
2021-10-13T08:34:06.000Z
benchmarks/bench_misc.py
abitrolly/numba-benchmark
4bea9c23276fd0399df26452d19f13810a6496c7
[ "BSD-2-Clause" ]
7
2015-09-09T17:38:11.000Z
2021-09-24T15:06:19.000Z
""" Miscellaneous benchmarks. """ import subprocess import sys import time import numpy as np def setup(): global grouped_sum from numba import jit @jit(nopython=True) def grouped_sum(values, labels, target): for i in range(len(values)): idx = labels[i] target[idx] +...
26.125
87
0.661654
195
1,463
4.830769
0.415385
0.081741
0.059448
0.084926
0.273885
0.259023
0.259023
0.259023
0.197452
0.118896
0
0.016029
0.232399
1,463
55
88
26.6
0.822796
0.123035
0
0.176471
0
0
0.025157
0
0
0
0
0
0
1
0.176471
false
0
0.205882
0
0.529412
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
5774abe513a2bb365fbdbc7fe02a0bf32517ff29
3,994
py
Python
sahara/db/migration/alembic_migrations/versions/015_add_events_objects.py
esikachev/scenario
40a59114c7bac44fea510767a3c07d73649f4caf
[ "Apache-2.0" ]
null
null
null
sahara/db/migration/alembic_migrations/versions/015_add_events_objects.py
esikachev/scenario
40a59114c7bac44fea510767a3c07d73649f4caf
[ "Apache-2.0" ]
null
null
null
sahara/db/migration/alembic_migrations/versions/015_add_events_objects.py
esikachev/scenario
40a59114c7bac44fea510767a3c07d73649f4caf
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 OpenStack Foundation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
40.343434
69
0.494992
386
3,994
5.005181
0.341969
0.086957
0.130435
0.165631
0.50207
0.488613
0.455487
0.391304
0.307453
0.177019
0
0.025406
0.398848
3,994
98
70
40.755102
0.779259
0.172008
0
0.522388
0
0
0.109589
0.021918
0
0
0
0
0
1
0.029851
false
0
0.029851
0
0.059701
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
5776fecda897379043333ff6214c96c77fa84222
3,752
py
Python
shutdownOrReboot.py
Eilerz/shutdownOrRestar
fc988a702f044581192cbd96dfa305ce9f265b63
[ "MIT" ]
null
null
null
shutdownOrReboot.py
Eilerz/shutdownOrRestar
fc988a702f044581192cbd96dfa305ce9f265b63
[ "MIT" ]
null
null
null
shutdownOrReboot.py
Eilerz/shutdownOrRestar
fc988a702f044581192cbd96dfa305ce9f265b63
[ "MIT" ]
null
null
null
import os acceptedValues = [ "shutdown", "shutdownnow", "reboot", "rebootnow", "cancel" ] def shutdown(time): #os.system('shutdown -s -t %a' %(time)) print('shutdown -s -t %a' %(time)) def reboot(time): #os.system('shutdown -t %a -r -f' %(time)) print('shutdown -t...
28.861538
166
0.583689
375
3,752
5.832
0.264
0.030178
0.020576
0.025149
0.208048
0.176497
0.122542
0.122542
0.122542
0.122542
0
0.004157
0.294776
3,752
130
167
28.861538
0.822373
0.469616
0
0.102041
0
0
0.18071
0
0
0
0
0.007692
0
1
0.22449
false
0
0.020408
0.020408
0.367347
0.081633
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
57797fa9dab1b408eb7d029afb02ec3574c38666
282
py
Python
lib/data_structures/coset/ll/snippet.py
likein12/comprog-cffi-pypy-set
7def61fe72f176ec18c80790e99e77999c8d0de8
[ "MIT" ]
null
null
null
lib/data_structures/coset/ll/snippet.py
likein12/comprog-cffi-pypy-set
7def61fe72f176ec18c80790e99e77999c8d0de8
[ "MIT" ]
null
null
null
lib/data_structures/coset/ll/snippet.py
likein12/comprog-cffi-pypy-set
7def61fe72f176ec18c80790e99e77999c8d0de8
[ "MIT" ]
null
null
null
coset_init = lib.coset_init_ll insert = lib.cs_insert_ll remove = lib.cs_remove_ll get_s = lib.cs_get_size_ll clear = lib.cs_clear_ll get_min = lib.cs_min_ll get_max = lib.cs_min_ll upper_bound = lib.cs_upper_bound_ll rupper_bound = lib.cs_rupper_bound_ll get_k = lib.cs_get_k_ll
25.636364
37
0.815603
61
282
3.262295
0.278689
0.226131
0.080402
0.100503
0
0
0
0
0
0
0
0
0.113475
282
11
38
25.636364
0.796
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
1
577b90006f0d70589e50a8ad531e36cad7afcb4b
9,825
py
Python
acrostician.py
bgawalt/acrostician
3c54cc5a83e0c406b202bdbd937a75766aea96d9
[ "Apache-2.0" ]
null
null
null
acrostician.py
bgawalt/acrostician
3c54cc5a83e0c406b202bdbd937a75766aea96d9
[ "Apache-2.0" ]
null
null
null
acrostician.py
bgawalt/acrostician
3c54cc5a83e0c406b202bdbd937a75766aea96d9
[ "Apache-2.0" ]
null
null
null
import random import sqlite3 import sys import tweepy from tweepy.streaming import StreamListener from tweepy import Stream from tweepy.api import API def get_config(config_file): """ :param config_file: Path to configuration file containing Twitter API keys :return: Dictionary of configuration variables...
34.114583
80
0.508193
1,165
9,825
4.169099
0.216309
0.028824
0.016471
0.009883
0.143504
0.102944
0.064649
0.051472
0.033766
0.016883
0
0.015377
0.377812
9,825
287
81
34.233449
0.779159
0.021578
0
0.132743
0
0
0.117983
0
0
0
0
0
0
0
null
null
0
0.030973
null
null
0.048673
0
0
0
null
0
0
0
0
0
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
577dcfb6a83558b737b738bf20bb33f9f8e133a7
4,132
py
Python
devinette-stats.py
ChloeTigre/boolenum
0ea000269d32a7be3d542a3ef5da33017267b4be
[ "MIT" ]
null
null
null
devinette-stats.py
ChloeTigre/boolenum
0ea000269d32a7be3d542a3ef5da33017267b4be
[ "MIT" ]
null
null
null
devinette-stats.py
ChloeTigre/boolenum
0ea000269d32a7be3d542a3ef5da33017267b4be
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Devinette without the time.sleep because here we mean to compute stats. """ import string import random from boolenumeration import * class Devinette: def __init__(self, length = 30): letters = string.ascii_letters + string.digits self._val = "" while (length > 0): self....
25.664596
92
0.650048
576
4,132
4.546875
0.276042
0.050401
0.033601
0.029782
0.231386
0.231386
0.213822
0.181367
0.181367
0.074838
0
0.015669
0.227735
4,132
160
93
25.825
0.805077
0.026864
0
0.141414
0
0
0.014154
0
0
0
0
0
0
1
0.161616
false
0.010101
0.050505
0.131313
0.484848
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
0
0
1
577fa9e7f258f869bd94a2a90598b5fafe33c683
8,821
py
Python
sdk/python/pulumi_aws/glacier/vault.py
mdop-wh/pulumi-aws
05bb32e9d694dde1c3b76d440fd2cd0344d23376
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/glacier/vault.py
mdop-wh/pulumi-aws
05bb32e9d694dde1c3b76d440fd2cd0344d23376
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/glacier/vault.py
mdop-wh/pulumi-aws
05bb32e9d694dde1c3b76d440fd2cd0344d23376
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Dict, List, Mapping, Optional, Tuple, Union from .. import ...
44.77665
227
0.620224
1,022
8,821
5.178082
0.208415
0.062358
0.047619
0.027211
0.554044
0.499055
0.490741
0.490741
0.442177
0.414777
0
0.006241
0.273438
8,821
196
228
45.005102
0.819473
0.449382
0
0.225806
1
0
0.117952
0.021231
0
0
0
0
0
1
0.107527
false
0.010753
0.075269
0.021505
0.290323
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
57889b13b7b6514122a3d8f881538a1913aa7c44
287
py
Python
src/tests/test_strategy.py
gefgu/dqn_mountain_car
1152657eb147f22d240e22277f3b1202f086b8a7
[ "MIT" ]
1
2022-01-27T10:09:01.000Z
2022-01-27T10:09:01.000Z
src/tests/test_strategy.py
gefgu/dqn_mountain_car
1152657eb147f22d240e22277f3b1202f086b8a7
[ "MIT" ]
null
null
null
src/tests/test_strategy.py
gefgu/dqn_mountain_car
1152657eb147f22d240e22277f3b1202f086b8a7
[ "MIT" ]
null
null
null
from src.strategy import EpsilonGreedyStrategy from src import config def test_exceed_min_episilon(): strategy = EpsilonGreedyStrategy() for i in range(int(config.N_FRAMES_TO_TRAIN / 10) + 5): strategy.decrease_epsilon() assert strategy.epsilon == config.MIN_EPSILON
35.875
59
0.763066
37
287
5.702703
0.675676
0.066351
0
0
0
0
0
0
0
0
0
0.012448
0.160279
287
8
60
35.875
0.863071
0
0
0
0
0
0
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
578ec427d142a0e4db1a634447e32074119643e8
2,709
py
Python
acquisition/utils/local.py
akshayinpoint/acquisition
cb11638c19d88a29ad48ec659e6fdac6d8c34f33
[ "MIT" ]
1
2021-01-14T23:52:59.000Z
2021-01-14T23:52:59.000Z
acquisition/utils/local.py
akshayinpoint/acquisition
cb11638c19d88a29ad48ec659e6fdac6d8c34f33
[ "MIT" ]
null
null
null
acquisition/utils/local.py
akshayinpoint/acquisition
cb11638c19d88a29ad48ec659e6fdac6d8c34f33
[ "MIT" ]
null
null
null
"""Utility for simplifying file operations.""" import os import shutil from pathlib import Path from typing import Tuple from acquisition.utils.generate import hash_aa def create_dir_with_same_filename(file: str) -> str: """Create directory with same filename and return it's path. Args: file:...
30.438202
79
0.669989
390
2,709
4.494872
0.235897
0.031945
0.034227
0.032516
0.154592
0.136338
0.103252
0.053622
0.053622
0.053622
0
0.002335
0.209671
2,709
88
80
30.784091
0.816441
0.272425
0
0.047619
1
0
0.040309
0.032027
0
0
0
0
0
1
0.190476
false
0
0.119048
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
578f048d3fc5e4205b0853da6cda9204a71a0134
3,127
py
Python
lib/gstreamer/msdk/encoder.py
tong1wu/vaapi-fits
4d5d01668905ed84d4077e4a7a019d7ced0864e5
[ "BSD-3-Clause" ]
null
null
null
lib/gstreamer/msdk/encoder.py
tong1wu/vaapi-fits
4d5d01668905ed84d4077e4a7a019d7ced0864e5
[ "BSD-3-Clause" ]
null
null
null
lib/gstreamer/msdk/encoder.py
tong1wu/vaapi-fits
4d5d01668905ed84d4077e4a7a019d7ced0864e5
[ "BSD-3-Clause" ]
null
null
null
### ### Copyright (C) 2018-2021 Intel Corporation ### ### SPDX-License-Identifier: BSD-3-Clause ### import os import slash from ....lib.gstreamer.encoderbase import BaseEncoderTest, Encoder as GstEncoder from ....lib.gstreamer.util import have_gst_element from ....lib.gstreamer.msdk.util import using_compatible_drive...
32.915789
106
0.662936
415
3,127
4.93494
0.320482
0.061523
0.065918
0.070313
0.119141
0.022461
0
0
0
0
0
0.007282
0.165654
3,127
94
107
33.265957
0.777693
0.047969
0
0.148649
0
0.013514
0.244932
0.123986
0
0
0
0
0
1
0.162162
false
0
0.094595
0.040541
0.621622
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
5796e7539310dd7256c2a45d154f65fd1b2ed78a
4,239
py
Python
acquire.py
HappyFaceGoettingen/HappyFaceCore
6989b3ff110abbdd49533c42b06ad128ddebf7b8
[ "Apache-2.0" ]
null
null
null
acquire.py
HappyFaceGoettingen/HappyFaceCore
6989b3ff110abbdd49533c42b06ad128ddebf7b8
[ "Apache-2.0" ]
null
null
null
acquire.py
HappyFaceGoettingen/HappyFaceCore
6989b3ff110abbdd49533c42b06ad128ddebf7b8
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2012 Institut für Experimentelle Kernphysik - Karlsruher Institut für Technologie # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the Licens...
39.25
118
0.622788
487
4,239
5.336756
0.431212
0.029627
0.027703
0.021932
0.181608
0.139284
0.112351
0.085417
0.072336
0.072336
0
0.004889
0.276244
4,239
108
119
39.25
0.842243
0.221043
0
0.297297
0
0
0.138593
0
0
0
0
0
0
0
null
null
0
0.094595
null
null
0.027027
0
0
0
null
0
0
0
0
0
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
579773c49c4f5b04bbfccf5359d19d526e3935ef
5,439
py
Python
model_2d/dynamics_2.py
ChristofDubs/DoubleBallBalancer
6869220ed9f8c5234b00fc653bf05bb7e0bf6737
[ "Apache-2.0" ]
3
2018-04-08T13:32:26.000Z
2018-06-29T16:15:50.000Z
model_2d/dynamics_2.py
ChristofDubs/DoubleBallBalancer
6869220ed9f8c5234b00fc653bf05bb7e0bf6737
[ "Apache-2.0" ]
null
null
null
model_2d/dynamics_2.py
ChristofDubs/DoubleBallBalancer
6869220ed9f8c5234b00fc653bf05bb7e0bf6737
[ "Apache-2.0" ]
1
2020-07-18T03:47:41.000Z
2020-07-18T03:47:41.000Z
# Autogenerated using symbolic_dynamics_n.py; don't edit! from enum import IntEnum import numpy as np from numpy import sin, cos from .dynamic_model_n import NBallDynamicModel class StateIndex(IntEnum): ALPHA_1_IDX = 0, PHI_IDX = 1, PSI_0_IDX = 2, ALPHA_DOT_1_IDX = 3, PHI_DOT_IDX = 4, PSI_DOT...
36.503356
111
0.497702
932
5,439
2.656652
0.100858
0.079968
0.045234
0.025848
0.352181
0.256058
0.214863
0.214863
0.186591
0.155897
0
0.151407
0.333333
5,439
148
112
36.75
0.53144
0.010112
0
0.108696
1
0
0.04162
0
0
0
0
0
0
1
0.036232
false
0
0.028986
0
0.15942
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
57a6af9928430878ae4c18b969da39e2fa44cd63
6,046
py
Python
pyplusplus/code_repository/indexing_suite/container_traits_header.py
electronicvisions/pyplusplus
4d88bb8754d22654a61202ae8adc222807953e38
[ "BSL-1.0" ]
null
null
null
pyplusplus/code_repository/indexing_suite/container_traits_header.py
electronicvisions/pyplusplus
4d88bb8754d22654a61202ae8adc222807953e38
[ "BSL-1.0" ]
null
null
null
pyplusplus/code_repository/indexing_suite/container_traits_header.py
electronicvisions/pyplusplus
4d88bb8754d22654a61202ae8adc222807953e38
[ "BSL-1.0" ]
null
null
null
# Copyright 2004-2008 Roman Yakovenko. # Distributed under the Boost Software License, Version 1.0. (See # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) """ This file contains indexing suite v2 code """ file_name = "indexing_suite/container_traits.hpp" code = """// C...
34.747126
85
0.646709
679
6,046
5.480118
0.326951
0.035474
0.040849
0.030906
0.25262
0.230583
0.144585
0.13276
0.074174
0.052674
0
0.018303
0.231889
6,046
173
86
34.947977
0.782946
0.03738
0
0.18797
0
0.007519
0.993439
0.310871
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
57aa29dc2907138bccdaada9bee76ebf2cc5e38e
2,631
py
Python
symmetry/vis.py
ksyang2013/nano106
222f2c6142f43fc4395d9f9ee833ec88c5106e8d
[ "BSD-3-Clause" ]
28
2015-04-19T23:24:25.000Z
2022-02-10T15:21:12.000Z
symmetry/vis.py
materialsvirtuallab/nano106
222f2c6142f43fc4395d9f9ee833ec88c5106e8d
[ "BSD-3-Clause" ]
null
null
null
symmetry/vis.py
materialsvirtuallab/nano106
222f2c6142f43fc4395d9f9ee833ec88c5106e8d
[ "BSD-3-Clause" ]
8
2016-06-30T21:37:14.000Z
2021-02-15T16:36:41.000Z
#!/usr/bin/env python """ TODO: Modify module doc. """ from __future__ import division __author__ = "Shyue Ping Ong" __copyright__ = "Copyright 2013, The Materials Virtual Lab" __version__ = "0.1" __maintainer__ = "Shyue Ping Ong" __email__ = "ongsp@ucsd.edu" __date__ = "4/12/14" import inspect import itertools im...
29.897727
74
0.526036
364
2,631
3.645604
0.425824
0.078372
0.063301
0.045215
0.091937
0.056518
0
0
0
0
0
0.062673
0.314709
2,631
87
75
30.241379
0.673322
0.071076
0
0.046154
0
0
0.062911
0
0
0
0
0.011494
0
1
0.030769
false
0.015385
0.138462
0
0.184615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
57ae341dce4206db52977378c1a6a927cb782627
608
py
Python
lang/Python/write-to-windows-event-log.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
1
2018-11-09T22:08:38.000Z
2018-11-09T22:08:38.000Z
lang/Python/write-to-windows-event-log.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/write-to-windows-event-log.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
import win32api import win32con import win32evtlog import win32security import win32evtlogutil ph = win32api.GetCurrentProcess() th = win32security.OpenProcessToken(ph, win32con.TOKEN_READ) my_sid = win32security.GetTokenInformation(th, win32security.TokenUser)[0] applicationName = "My Application" eventID = 1 catego...
30.4
77
0.809211
69
608
7.057971
0.608696
0.061602
0
0
0
0
0
0
0
0
0
0.051002
0.097039
608
19
78
32
0.836066
0.008224
0
0
0
0
0.116473
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
57b279b7e2a94ad607fefb8ae5b6f438b4dea553
971
py
Python
test/package/test_package_maker.py
core-get/core-get
8fb960e4e51d0d46b5e3b2f4832eb4a39e0e60f7
[ "MIT" ]
null
null
null
test/package/test_package_maker.py
core-get/core-get
8fb960e4e51d0d46b5e3b2f4832eb4a39e0e60f7
[ "MIT" ]
null
null
null
test/package/test_package_maker.py
core-get/core-get
8fb960e4e51d0d46b5e3b2f4832eb4a39e0e60f7
[ "MIT" ]
null
null
null
from pathlib import PurePath from unittest import TestCase from unittest.mock import Mock from core_get.package.manifest import Manifest, VariantManifest from core_get.package.package_maker import PackageMaker class TestPackageMaker(TestCase): def test_package_zips_right_directory(self): project_director...
48.55
118
0.754892
113
971
6.176991
0.380531
0.08596
0.098854
0.051576
0
0
0
0
0
0
0
0
0.140062
971
19
119
51.105263
0.835928
0
0
0
0
0
0.072091
0
0
0
0
0
0.0625
1
0.0625
false
0
0.3125
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
57b9c0e6f65a61d0173293e9b3ff8c649ba69604
268
py
Python
python-codes/m2_curso_em_video_estruturas_de_controle/ex038.0.py
lucasportella/learning_repo
a9449dffd489e7e1f1619e3acef86bc2c64f0f14
[ "MIT" ]
null
null
null
python-codes/m2_curso_em_video_estruturas_de_controle/ex038.0.py
lucasportella/learning_repo
a9449dffd489e7e1f1619e3acef86bc2c64f0f14
[ "MIT" ]
null
null
null
python-codes/m2_curso_em_video_estruturas_de_controle/ex038.0.py
lucasportella/learning_repo
a9449dffd489e7e1f1619e3acef86bc2c64f0f14
[ "MIT" ]
null
null
null
num1=float(input('Primeiro número: ')) num2=float(input('Segundo número: ')) if num1 > num2: print('\033[4;31;42mO primeiro valor é maior.\033[m') elif num2 > num1: print('\033[1;33;45mO segundo valor é maior.\033[m') else: print('Os valores são iguais.')
29.777778
57
0.66791
44
268
4.068182
0.590909
0.111732
0.122905
0.156425
0.167598
0
0
0
0
0
0
0.123348
0.152985
268
8
58
33.5
0.665198
0
0
0
0
0
0.529851
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
57c3609a67b71ba86058a2dbf475c436f3623b49
1,689
py
Python
deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/EXT/texture_snorm.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
210
2016-04-09T14:26:00.000Z
2022-03-25T18:36:19.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/EXT/texture_snorm.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
72
2016-09-04T09:30:19.000Z
2022-03-27T17:06:53.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/EXT/texture_snorm.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
64
2016-04-09T14:26:49.000Z
2022-03-21T11:19:47.000Z
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GL import _types as _cs # End users want this... from OpenGL.raw.GL._types import * from OpenGL.raw.GL import _errors from OpenGL.constant import Constant as _C import ctypes _...
42.225
114
0.835406
283
1,689
4.44523
0.318021
0.059618
0.152623
0.035771
0.051669
0
0
0
0
0
0
0.100499
0.05151
1,689
39
115
43.307692
0.684769
0.059207
0
0
1
0
0.283997
0.049336
0
0
0.094877
0
0
1
0.029412
false
0
0.176471
0.029412
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
57d03bbca71dcc8ad7bf1b61b1af22aa458d9c44
317
py
Python
data/api-servers/pyserv/member/api.py
thingspin/grafana
3e084fae06f92f9ab3b71c816464b0a423075f16
[ "Apache-2.0" ]
null
null
null
data/api-servers/pyserv/member/api.py
thingspin/grafana
3e084fae06f92f9ab3b71c816464b0a423075f16
[ "Apache-2.0" ]
6
2021-03-01T21:05:12.000Z
2022-02-26T01:52:20.000Z
data/api-servers/pyserv/member/api.py
thingspin/grafana
3e084fae06f92f9ab3b71c816464b0a423075f16
[ "Apache-2.0" ]
1
2021-02-04T09:37:15.000Z
2021-02-04T09:37:15.000Z
from .models import Member from rest_framework import serializers, viewsets class MemberSerializer(serializers.ModelSerializer): class Meta: model = Member fields = '__all__' class MemberViewSet(viewsets.ModelViewSet): queryset = Member.objects.all() serializer_class = MemberSerializer
26.416667
52
0.753943
31
317
7.516129
0.645161
0.180258
0
0
0
0
0
0
0
0
0
0
0.179811
317
12
53
26.416667
0.896154
0
0
0
0
0
0.022013
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
57d2f02e90fe230e8b94b8024eb802d9a545c69d
448
py
Python
src/archive-db/init_game_db.py
kwmsmith/bot-rhadamanthus
437b6033f90879d1fff591c11301d45b048a1d68
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2017-03-04T16:56:55.000Z
2017-03-04T16:56:55.000Z
src/archive-db/init_game_db.py
kwmsmith/bot-rhadamanthus
437b6033f90879d1fff591c11301d45b048a1d68
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/archive-db/init_game_db.py
kwmsmith/bot-rhadamanthus
437b6033f90879d1fff591c11301d45b048a1d68
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
from pymongo import MongoClient from arimaa_archive import games_from_archive from glob import glob archived_file = glob('/Users/ksmith/arimaa/archived-games/*') db = MongoClient().game_db.game_db for af in archived_file: print af gmes = games_from_archive(af) while True: try: for gm ...
21.333333
61
0.640625
56
448
4.964286
0.517857
0.064748
0.115108
0
0
0
0
0
0
0
0
0
0.294643
448
20
62
22.4
0.879747
0
0
0
0
0
0.082774
0.082774
0
0
0
0
0
0
null
null
0
0.1875
null
null
0.0625
0
0
0
null
0
0
0
0
0
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
57d6d5ee20c3d0e7cef2784745c140bbdda9847d
2,352
py
Python
app/database/temp_user.py
RobbieSoutham/DanielBCF
7f910e22d1c6c965a087e56be05dce0e108e048a
[ "BSD-3-Clause" ]
null
null
null
app/database/temp_user.py
RobbieSoutham/DanielBCF
7f910e22d1c6c965a087e56be05dce0e108e048a
[ "BSD-3-Clause" ]
null
null
null
app/database/temp_user.py
RobbieSoutham/DanielBCF
7f910e22d1c6c965a087e56be05dce0e108e048a
[ "BSD-3-Clause" ]
null
null
null
#Temp user module. from bcrypt import hashpw, gensalt, checkpw from flask_login import UserMixin from . import Database from app.database.user import User class UserNotFound(Exception): pass class Temp_user(UserMixin): _tablename = "Temp_users" def get_id(self): return(self.email) ...
29.772152
84
0.594813
277
2,352
4.884477
0.277978
0.088692
0.062823
0.044346
0.285292
0.211382
0.211382
0.211382
0.211382
0.211382
0
0.010791
0.290816
2,352
78
85
30.153846
0.80036
0.110969
0
0.2
0
0
0.078253
0
0
0
0
0
0
1
0.127273
false
0.090909
0.072727
0.018182
0.254545
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
57d855716257210276113cda541a984158d6f471
756
py
Python
work_time/new_2.py
UMP-45/Python_Study
75126a432230b226f27f2a7434d848bd0ce5696e
[ "Unlicense" ]
1
2022-03-29T09:20:19.000Z
2022-03-29T09:20:19.000Z
work_time/new_2.py
UMP-45/Python_Study
75126a432230b226f27f2a7434d848bd0ce5696e
[ "Unlicense" ]
null
null
null
work_time/new_2.py
UMP-45/Python_Study
75126a432230b226f27f2a7434d848bd0ce5696e
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from datetime import datetime, date, timedelta import calendar def get_month_range(start_date = None): if start_date is None: start_date = date.today().replace(day = 17) _, days_in_month = calendar.monthrange(start_date.year,start_date.month) end...
25.2
79
0.67328
113
756
4.256637
0.40708
0.130977
0.054054
0.06237
0
0
0
0
0
0
0
0.0301
0.208995
756
29
80
26.068966
0.774247
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
57dff351bfa57f06c776bacacbcb2c093981c244
32,806
py
Python
scripts/MFE_primer.py
nick-youngblut/MFEprimer_linux
ad60e2b8af902e58fcd7c45ab13564e4310a8d64
[ "MIT" ]
3
2017-10-25T04:02:06.000Z
2020-07-23T02:13:49.000Z
scripts/MFE_primer.py
nick-youngblut/MFEprimer_linux
ad60e2b8af902e58fcd7c45ab13564e4310a8d64
[ "MIT" ]
null
null
null
scripts/MFE_primer.py
nick-youngblut/MFEprimer_linux
ad60e2b8af902e58fcd7c45ab13564e4310a8d64
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # from __future__ import division '''MFEprimer: Multiple factor evaluation of the specificity of PCR primers''' Program = 'MFEprimer' Author = 'Wubin Qu, Yang Zhou & Chenggang Zhang, BIRM, China' AuthorEmail = 'Wubin Qu <quwubin@gmail.com>' Date = 'Nov-8-2011' License =...
35.581345
258
0.597817
4,760
32,806
3.906092
0.109874
0.024687
0.004679
0.003012
0.45259
0.369064
0.311676
0.271231
0.253052
0.22132
0
0.019081
0.253947
32,806
921
259
35.619978
0.740592
0.042492
0
0.350801
0
0.017467
0.174912
0.009135
0.001456
0
0
0
0
0
null
null
0.001456
0.027656
null
null
0.03639
0
0
0
null
0
0
0
0
0
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
57e2f2afaea7fbcfa07e0052525827b8ff6473f4
537
py
Python
ap/apps/events/migrations/0021_auto_20181122_0034.py
shacker/ap
9059c5737b0dbef82e968cf8a9a6bf303c7a1688
[ "BSD-3-Clause" ]
1
2020-11-08T03:11:17.000Z
2020-11-08T03:11:17.000Z
ap/apps/events/migrations/0021_auto_20181122_0034.py
shacker/ap
9059c5737b0dbef82e968cf8a9a6bf303c7a1688
[ "BSD-3-Clause" ]
null
null
null
ap/apps/events/migrations/0021_auto_20181122_0034.py
shacker/ap
9059c5737b0dbef82e968cf8a9a6bf303c7a1688
[ "BSD-3-Clause" ]
1
2021-10-20T07:39:04.000Z
2021-10-20T07:39:04.000Z
# Generated by Django 2.1.2 on 2018-11-22 08:34 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('events', '0020_auto_20181122_0033'), ] operations = [ migrations.AlterField( model_name='event'...
26.85
166
0.664804
64
537
5.46875
0.765625
0.057143
0
0
0
0
0
0
0
0
0
0.075426
0.234637
537
19
167
28.263158
0.776156
0.083799
0
0
1
0
0.232653
0.046939
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
57e80a867c1d94ddf8b22b5582a1e7774e74eb19
2,331
py
Python
WHI_long_term_v2_GEOSChem_tests.py
annahs/atmos_research
b5853c9b12e327492f8f8ba5069bca3fd2e981c8
[ "MIT" ]
2
2018-08-17T15:25:26.000Z
2019-04-17T16:50:00.000Z
WHI_long_term_v2_GEOSChem_tests.py
annahs/atmos_research
b5853c9b12e327492f8f8ba5069bca3fd2e981c8
[ "MIT" ]
null
null
null
WHI_long_term_v2_GEOSChem_tests.py
annahs/atmos_research
b5853c9b12e327492f8f8ba5069bca3fd2e981c8
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt from matplotlib import dates import numpy as np import os import sys from pprint import pprint from datetime import datetime from datetime import timedelta import pickle data_dir = 'C:/Users/Sarah Hanna/Documents/Data/WHI long term record/GOES-Chem/sarahWhistlerData' os.chdir(data_dir)...
35.861538
207
0.689404
401
2,331
3.860349
0.436409
0.023256
0.00969
0.010336
0.040052
0.036822
0.036822
0.029716
0
0
0
0.072501
0.1716
2,331
65
208
35.861538
0.729156
0.190476
0
0
0
0.021739
0.117584
0.030999
0
0
0
0
0
0
null
null
0
0.195652
null
null
0.043478
0
0
0
null
0
0
0
0
0
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
57ee77e60376e88bad6d57bbbeb04bef8a9553b5
5,954
py
Python
medtrialextractor/formatting/bio_processing.py
juanmoo/MedTrialExtractor
ea3e386a613a1896dc90853017a1d6377a10b8ab
[ "MIT" ]
null
null
null
medtrialextractor/formatting/bio_processing.py
juanmoo/MedTrialExtractor
ea3e386a613a1896dc90853017a1d6377a10b8ab
[ "MIT" ]
null
null
null
medtrialextractor/formatting/bio_processing.py
juanmoo/MedTrialExtractor
ea3e386a613a1896dc90853017a1d6377a10b8ab
[ "MIT" ]
null
null
null
import json import re from .struct_to_bio import struct_to_bio_dict, struct_to_bio_dict_rd from seqeval.metrics.sequence_labeling import get_entities def make_empty_ner_bio(struct_path, output_path): bio_dir = struct_to_bio_dict(struct_path, 1, use_tags=False) paragraphs = [] for doc_id in bio_dir: ...
33.26257
132
0.628149
853
5,954
4.101993
0.15592
0.048585
0.032009
0.024007
0.722492
0.691055
0.66419
0.66419
0.66419
0.63904
0
0.010204
0.242862
5,954
178
133
33.449438
0.765972
0.182398
0
0.603774
0
0
0.060243
0.014029
0
0
0
0
0.018868
1
0.037736
false
0.04717
0.037736
0
0.075472
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
57f111181278e7851a07d014a688c3b5ffdc4100
1,793
py
Python
edg_core/Exceptions.py
tengisd/PolymorphicBlocks
240a11f813762c4eb5a97c9d9766a0af19cd8f3a
[ "BSD-3-Clause" ]
null
null
null
edg_core/Exceptions.py
tengisd/PolymorphicBlocks
240a11f813762c4eb5a97c9d9766a0af19cd8f3a
[ "BSD-3-Clause" ]
null
null
null
edg_core/Exceptions.py
tengisd/PolymorphicBlocks
240a11f813762c4eb5a97c9d9766a0af19cd8f3a
[ "BSD-3-Clause" ]
null
null
null
from typing import Any, Type, TypeVar, Union, Tuple class EdslUserError(Exception): """Base exception class where user error in writing EDSL is the likely cause.""" def __init__(self, exc: str, resolution: str = ""): super().__init__(exc) AssertedType = TypeVar('AssertedType') def assert_type(elt: Any, expe...
34.480769
132
0.728946
230
1,793
5.526087
0.447826
0.056648
0.025964
0.029898
0.081825
0.04406
0
0
0
0
0
0
0.155047
1,793
51
133
35.156863
0.838944
0.287228
0
0
0
0
0.149351
0
0
0
0
0
0.086957
1
0.173913
false
0.043478
0.043478
0
0.652174
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
57f33d9e20f19176c0be9788991ae7a96cad1444
3,060
py
Python
venv/Lib/site-packages/PySide2/support/deprecated.py
Farhan-Malik/advance-hand-gesture
0ebe21ddd7c8c2eb14746678be57b33d38c47205
[ "MIT" ]
41
2021-06-19T13:57:18.000Z
2021-12-02T17:08:53.000Z
venv/Lib/site-packages/PySide2/support/deprecated.py
Farhan-Malik/advance-hand-gesture
0ebe21ddd7c8c2eb14746678be57b33d38c47205
[ "MIT" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
venvWIN/Lib/site-packages/PySide2/support/deprecated.py
NeroNekro/PortableController
a8bbfc1b6c8cb2c919e48eb0104e42f436059b18
[ "BSD-3-Clause" ]
4
2021-07-02T03:09:51.000Z
2021-11-25T13:00:10.000Z
# This Python file uses the following encoding: utf-8 ############################################################################# ## ## Copyright (C) 2019 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of Qt for Python. ## ## $QT_BEGIN_LICENSE:LGPL$ ## Commercial License Usage ##...
37.777778
81
0.710131
433
3,060
4.949192
0.381062
0.042464
0.065329
0.050397
0.335044
0.321045
0.279981
0.279981
0.24825
0.208119
0
0.009739
0.161111
3,060
80
82
38.25
0.825088
0.551961
0
0
0
0
0.183956
0
0
0
0
0
0
1
0.117647
false
0.058824
0.176471
0
0.411765
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
1
0
0
0
0
0
1
57fc03c663927d95bd04d1a7e71b0c5cdad1a1a4
2,444
py
Python
Utils/Data/Features/Generated/TweetFeature/IsLanguage.py
MaurizioFD/recsys-challenge-2020-twitter
95dc024fb4f8777aa62e1304536daece640428de
[ "Apache-2.0" ]
44
2020-07-09T11:31:17.000Z
2022-03-04T05:50:48.000Z
Utils/Data/Features/Generated/TweetFeature/IsLanguage.py
kiminh/recsys-challenge-2020-twitter
567f0db40be7db3d21c360f2ca6cdf2addc7c698
[ "Apache-2.0" ]
3
2020-10-02T18:55:21.000Z
2020-10-13T22:13:58.000Z
Utils/Data/Features/Generated/TweetFeature/IsLanguage.py
kiminh/recsys-challenge-2020-twitter
567f0db40be7db3d21c360f2ca6cdf2addc7c698
[ "Apache-2.0" ]
9
2020-08-08T14:55:59.000Z
2021-09-06T09:17:03.000Z
from Utils.Data.DatasetUtils import is_test_or_val_set, get_train_set_id_from_test_or_val_set from Utils.Data.Dictionary.MappingDictionary import * from Utils.Data.Features.Generated.GeneratedFeature import GeneratedFeaturePickle, GeneratedFeatureOnlyPickle from Utils.Data.Features.MappedFeatures import MappedFeatureTw...
41.423729
109
0.707856
296
2,444
5.516892
0.283784
0.055113
0.031843
0.029394
0.153092
0.143295
0.124923
0.124923
0.124923
0.089406
0
0.005081
0.194763
2,444
58
110
42.137931
0.824695
0.243863
0
0
1
0
0.123018
0.106069
0
0
0
0
0
1
0.133333
false
0
0.133333
0.033333
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
57fc3e9e022a50fb4611c2f2b085fb7698a51d8d
1,443
py
Python
venv/lib/python3.8/site-packages/azureml/core/compute/__init__.py
amcclead7336/Enterprise_Data_Science_Final
ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28
[ "Unlicense", "MIT" ]
null
null
null
venv/lib/python3.8/site-packages/azureml/core/compute/__init__.py
amcclead7336/Enterprise_Data_Science_Final
ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28
[ "Unlicense", "MIT" ]
null
null
null
venv/lib/python3.8/site-packages/azureml/core/compute/__init__.py
amcclead7336/Enterprise_Data_Science_Final
ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28
[ "Unlicense", "MIT" ]
2
2021-05-23T16:46:31.000Z
2021-05-26T23:51:09.000Z
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- """This package contains classes used to manage compute targets in Azure Machine Learning. For more information about choosing compute...
32.795455
114
0.697159
132
1,443
7.507576
0.515152
0.042381
0.060545
0.042381
0.072654
0.072654
0
0
0
0
0
0
0.160776
1,443
43
115
33.55814
0.818332
0.329868
0
0
0
0
0.206557
0
0
0
0
0
0
1
0
false
0
0.46875
0
0.46875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
17a728cd97735f3c6d7199e9cf84fa278801e05f
175,594
py
Python
src/fitly/pages/home.py
ethanopp/fitly
8ee1c9db840b61424c0eea81b7805aa65f097146
[ "MIT" ]
107
2020-03-03T07:22:53.000Z
2022-03-07T18:45:00.000Z
src/fitly/pages/home.py
ethanopp/fitly
8ee1c9db840b61424c0eea81b7805aa65f097146
[ "MIT" ]
20
2020-03-03T15:43:34.000Z
2021-03-14T03:30:58.000Z
src/fitly/pages/home.py
ethanopp/fitly
8ee1c9db840b61424c0eea81b7805aa65f097146
[ "MIT" ]
22
2020-03-06T11:01:12.000Z
2022-03-04T02:10:48.000Z
import pandas as pd import numpy as np import dash import dash_table import dash_core_components as dcc import dash_html_components as html import plotly.figure_factory as ff import plotly.graph_objs as go from ..app import app from dash.dependencies import Input, Output, State import dash_bootstrap_components as dbc f...
49.421334
1,125
0.451399
16,723
175,594
4.642468
0.072236
0.012623
0.009506
0.005449
0.643091
0.595278
0.553158
0.51726
0.485033
0.461448
0
0.020317
0.435174
175,594
3,552
1,126
49.435248
0.762271
0.036152
0
0.61196
0
0.007641
0.211751
0.02565
0
0
0
0.000282
0
1
0.016611
false
0.000332
0.006645
0.000332
0.049502
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
17adda0bffd629b1cccd6c97869d906c90a26bbb
5,941
py
Python
src/Python/merge_data_mysql.py
charlesdungy/nyc-service-requests-pipeline
b7c7b350e34a4052baadafc146616b81bbcc7adb
[ "MIT" ]
null
null
null
src/Python/merge_data_mysql.py
charlesdungy/nyc-service-requests-pipeline
b7c7b350e34a4052baadafc146616b81bbcc7adb
[ "MIT" ]
null
null
null
src/Python/merge_data_mysql.py
charlesdungy/nyc-service-requests-pipeline
b7c7b350e34a4052baadafc146616b81bbcc7adb
[ "MIT" ]
null
null
null
from pyspark import sql from connect_to_db import ConnectToDB from mysql.connector import Error from local_logging import LocalLogging class MergeDataMySQL(ConnectToDB): def __init__(self, connection_type): """ """ super().__init__(connection_type) self.logger = LocalLogging() def merg...
32.464481
94
0.51658
540
5,941
5.307407
0.218519
0.051291
0.030705
0.056525
0.30321
0.228193
0.179344
0.150035
0.127006
0.127006
0
0.002341
0.424676
5,941
183
95
32.464481
0.836162
0
0
0.272727
0
0
0.053583
0.015576
0
0
0
0
0
1
0.204545
false
0
0.090909
0
0.431818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
17af5143f1456a880a564ad9146543b058b4347f
1,193
py
Python
Robert/script.sage.py
killua4564/2021-Crypto-CTF
37f9a21db92f3bb8de2a88ced8184e5ad36865e6
[ "MIT" ]
null
null
null
Robert/script.sage.py
killua4564/2021-Crypto-CTF
37f9a21db92f3bb8de2a88ced8184e5ad36865e6
[ "MIT" ]
null
null
null
Robert/script.sage.py
killua4564/2021-Crypto-CTF
37f9a21db92f3bb8de2a88ced8184e5ad36865e6
[ "MIT" ]
null
null
null
# This file was *autogenerated* from the file script.sage from sage.all_cmdline import * # import sage library _sage_const_1 = Integer(1) from pwn import remote from Crypto.Util.number import * conn = remote("07.cr.yp.toc.tf", "10101", level="error") """ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...
30.589744
90
0.566639
161
1,193
4.068323
0.546584
0.068702
0.076336
0.058015
0.079389
0.079389
0
0
0
0
0
0.025105
0.198659
1,193
38
91
31.394737
0.660042
0.062867
0
0
1
0
0.049128
0
0
0
0
0
0
1
0.055556
false
0
0.166667
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
17afe13c3ab53c9ecbadb5c5faf0470306f5a84b
4,904
py
Python
examples/alexnet/driver.py
jssmith/ray-legacy
0a4414590677ff518188f035f8dba36927c5d9c5
[ "BSD-3-Clause" ]
12
2016-06-16T07:34:25.000Z
2016-09-12T17:25:05.000Z
examples/alexnet/driver.py
jssmith/ray-legacy
0a4414590677ff518188f035f8dba36927c5d9c5
[ "BSD-3-Clause" ]
121
2016-06-11T19:45:36.000Z
2016-09-17T00:30:13.000Z
examples/alexnet/driver.py
jssmith/ray-legacy
0a4414590677ff518188f035f8dba36927c5d9c5
[ "BSD-3-Clause" ]
13
2016-11-29T22:15:02.000Z
2022-02-06T02:36:34.000Z
import numpy as np import ray import os import argparse import boto3 import alexnet # Arguments to specify where the imagenet data is stored. parser = argparse.ArgumentParser(description="Run the AlexNet example.") parser.add_argument("--node-ip-address", default=None, type=str, help="The IP address of this node.") p...
47.61165
132
0.746533
734
4,904
4.816076
0.30654
0.02942
0.022065
0.006789
0.085997
0.071287
0.058274
0.021499
0.021499
0.021499
0
0.009223
0.159869
4,904
102
133
48.078431
0.848786
0.315253
0
0.035714
0
0
0.125563
0.00751
0
0
0
0
0
0
null
null
0
0.107143
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
17b239cf03c59cb1d6e3564e13dc76c405991147
2,042
py
Python
model/Vocab.py
david-yoon/pytorch-exercise
fa073acbdd71f730a48e5b73279bef21230cba5e
[ "MIT" ]
27
2019-12-03T12:54:09.000Z
2021-12-26T23:42:19.000Z
model/Vocab.py
david-yoon/pytorch-exercise
fa073acbdd71f730a48e5b73279bef21230cba5e
[ "MIT" ]
4
2020-05-15T11:08:41.000Z
2021-09-06T10:27:17.000Z
model/Vocab.py
david-yoon/pytorch-exercise
fa073acbdd71f730a48e5b73279bef21230cba5e
[ "MIT" ]
9
2019-12-04T05:35:31.000Z
2021-02-27T21:44:41.000Z
# coding: utf-8 ''' what: vocabulary class for word2index, index2word & sentence -> index list ''' import numpy as np import operator class Vocab: def __init__(self, dic): self.dic = dic self.index = [] self._create_index() def _create_index(self): ...
24.902439
77
0.495103
235
2,042
4.195745
0.276596
0.056795
0.042596
0.014199
0.263692
0.150101
0.150101
0.150101
0.083164
0
0
0.015164
0.386386
2,042
81
78
25.209877
0.771748
0.29236
0
0.15625
0
0
0.005141
0
0
0
0
0
0
1
0.25
false
0
0.0625
0.0625
0.59375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
17b2f7b612e9aaff7424ecb6677ca288e9681c7a
2,302
py
Python
watcher/app.py
elmiko/bad-apples
b1bfad6138b8e418a50bea3bf0bbeb1ad4694d04
[ "Apache-2.0" ]
3
2018-12-07T19:03:49.000Z
2020-11-07T01:04:56.000Z
watcher/app.py
elmiko/bad-apples
b1bfad6138b8e418a50bea3bf0bbeb1ad4694d04
[ "Apache-2.0" ]
null
null
null
watcher/app.py
elmiko/bad-apples
b1bfad6138b8e418a50bea3bf0bbeb1ad4694d04
[ "Apache-2.0" ]
7
2018-11-09T17:45:17.000Z
2021-06-23T13:51:02.000Z
import argparse import logging import os import flask from flask import json from flask import views import psycopg2 as psy class RootView(views.MethodView): def get(self): return flask.render_template('index.html') class ItemsView(views.MethodView): def __init__(self, args): self.args = ar...
28.073171
77
0.608601
282
2,302
4.836879
0.35461
0.035191
0.049853
0.019062
0.036657
0
0
0
0
0
0
0.006567
0.272372
2,302
81
78
28.419753
0.807761
0.02563
0
0.121212
0
0
0.174341
0
0
0
0
0
0
1
0.090909
false
0.060606
0.106061
0.015152
0.287879
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
17b5e1e32d9370982954422fbaa0b94ff19a4735
5,619
py
Python
test/pytest.py
jeanbez/vol-async
70ad85b4638f1e20483af1ab2944cfdc4d35bc19
[ "BSD-3-Clause-LBNL" ]
null
null
null
test/pytest.py
jeanbez/vol-async
70ad85b4638f1e20483af1ab2944cfdc4d35bc19
[ "BSD-3-Clause-LBNL" ]
null
null
null
test/pytest.py
jeanbez/vol-async
70ad85b4638f1e20483af1ab2944cfdc4d35bc19
[ "BSD-3-Clause-LBNL" ]
null
null
null
#!/usr/bin/env python3 # Arguments: # -h: help, -v: verbose mode -m mpi-tasks import os, sys, argparse, subprocess #------------------------------------------------ def guess_mpi_cmd(mpi_tasks, cpu_allocation, verbose): if verbose: print('os.uname=', os.uname()) node_name = os.uname()[1] if verbose: prin...
35.789809
182
0.580174
698
5,619
4.429799
0.243553
0.046572
0.031048
0.019405
0.436611
0.404269
0.353816
0.335705
0.271669
0.271669
0
0.009332
0.275316
5,619
156
183
36.019231
0.75
0.124933
0
0.407407
0
0.009259
0.207721
0.053105
0.018519
0
0
0
0.018519
1
0.018519
false
0.055556
0.009259
0
0.064815
0.138889
0
0
0
null
0
0
0
0
0
0
0
0
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
17ba33e04bca30d1fa127728937e76083fdf9e07
503
py
Python
kirppu/migrations/0023_box_bundle_size.py
tracon/kirppu
65c926daa6138b14268693eeac6e6e517a3cd96b
[ "MIT" ]
null
null
null
kirppu/migrations/0023_box_bundle_size.py
tracon/kirppu
65c926daa6138b14268693eeac6e6e517a3cd96b
[ "MIT" ]
6
2017-02-03T07:42:57.000Z
2019-12-23T14:25:15.000Z
kirppu/migrations/0023_box_bundle_size.py
tracon/kirppu
65c926daa6138b14268693eeac6e6e517a3cd96b
[ "MIT" ]
6
2015-01-26T22:27:26.000Z
2019-01-20T21:57:51.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2018-08-05 11:13 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('kirppu', '0022_separate_vendor_person'), ] operations = [ migrations.AddFi...
23.952381
98
0.632207
60
503
5.116667
0.816667
0
0
0
0
0
0
0
0
0
0
0.061333
0.254473
503
20
99
25.15
0.757333
0.137177
0
0
1
0
0.190255
0.062645
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
17ba38270bd08c059e05225bfc3bbee2174f0fcf
347
py
Python
publication/migrations/0003_rename_user_post_author.py
pauloaugusto-dmf/blog_django
7374e85dd4f0622aefbbb99d27ceb85f19fd1cd8
[ "MIT" ]
2
2021-12-31T22:14:31.000Z
2021-12-31T22:14:34.000Z
publication/migrations/0003_rename_user_post_author.py
pauloaugusto-dmf/blog_django
7374e85dd4f0622aefbbb99d27ceb85f19fd1cd8
[ "MIT" ]
null
null
null
publication/migrations/0003_rename_user_post_author.py
pauloaugusto-dmf/blog_django
7374e85dd4f0622aefbbb99d27ceb85f19fd1cd8
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2022-01-01 17:23 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('publication', '0002_post'), ] operations = [ migrations.RenameField( model_name='post', old_name='user', new_name=...
18.263158
45
0.567723
36
347
5.361111
0.777778
0
0
0
0
0
0
0
0
0
0
0.075949
0.317003
347
18
46
19.277778
0.738397
0.123919
0
0
1
0
0.112583
0
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
17bd1aae1376166f3696cebf2133d0094e2247a2
3,175
py
Python
viaggiatrenonew.py
nestore/check-trains
a38502234f8b80536b0528f90c6cc69b877d42cc
[ "Unlicense" ]
null
null
null
viaggiatrenonew.py
nestore/check-trains
a38502234f8b80536b0528f90c6cc69b877d42cc
[ "Unlicense" ]
null
null
null
viaggiatrenonew.py
nestore/check-trains
a38502234f8b80536b0528f90c6cc69b877d42cc
[ "Unlicense" ]
null
null
null
import logging import json import re import urllib.parse from urllib.request import urlopen FORMAT = '[%(levelname)s] (%(threadName)-9s) %(message)s' logging.basicConfig(format=FORMAT) # Decoders for API Output - TODO: Proper error handling def _decode_json(s): try: if s == '': logging.info('...
32.070707
91
0.609764
331
3,175
5.63142
0.338369
0.048283
0.025751
0.043455
0.158798
0.158798
0.158798
0.158798
0.158798
0.133047
0
0.001732
0.272756
3,175
98
92
32.397959
0.805544
0.016693
0
0.2
0
0
0.159936
0.019551
0
0
0
0.010204
0
1
0.1125
false
0
0.0625
0.025
0.3625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
17bd65c8f7703f3109d6ed4a23c7541debfef086
6,447
py
Python
examples/python/grpc_api/protos/model/v1/health_pb2.py
FormantIO/formant
869496c753cf0be4b3a10d79016f4384132be3a8
[ "Apache-2.0" ]
5
2021-03-15T17:03:51.000Z
2021-11-27T23:07:15.000Z
examples/python/grpc_api/protos/model/v1/health_pb2.py
FormantIO/formant
869496c753cf0be4b3a10d79016f4384132be3a8
[ "Apache-2.0" ]
2
2020-10-27T23:23:57.000Z
2022-02-07T17:54:29.000Z
examples/python/grpc_api/protos/model/v1/health_pb2.py
FormantIO/formant
869496c753cf0be4b3a10d79016f4384132be3a8
[ "Apache-2.0" ]
2
2021-05-10T19:20:12.000Z
2021-06-05T12:31:14.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: protos/model/v1/health.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message fro...
36.630682
623
0.75477
822
6,447
5.614355
0.186131
0.050704
0.078223
0.076056
0.551896
0.489924
0.482124
0.468689
0.449621
0.449621
0
0.039958
0.122693
6,447
175
624
36.84
0.77599
0.051187
0
0.54
1
0.006667
0.190663
0.14136
0
0
0
0
0
1
0
false
0
0.033333
0
0.033333
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
17c37e9ce71e876708fddf1f44fa323c8f90c953
642
py
Python
village_api/migrations/0006_auto_20210829_2150.py
roseDickinson/dnd-village-api
ddcaf2ab9c1d496f150160ef8638526634752368
[ "MIT" ]
1
2021-08-10T21:40:35.000Z
2021-08-10T21:40:35.000Z
village_api/migrations/0006_auto_20210829_2150.py
roseDickinson/dnd-village-api
ddcaf2ab9c1d496f150160ef8638526634752368
[ "MIT" ]
null
null
null
village_api/migrations/0006_auto_20210829_2150.py
roseDickinson/dnd-village-api
ddcaf2ab9c1d496f150160ef8638526634752368
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-29 20:50 import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("village_api", "0005_person_family_name"), ] operations = [ migrations.RemoveField( model_n...
24.692308
83
0.596573
66
642
5.681818
0.666667
0.069333
0.112
0.144
0.144
0
0
0
0
0
0
0.046358
0.294393
642
25
84
25.68
0.781457
0.070093
0
0.368421
1
0
0.104202
0.038655
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
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
17c6b8a825cf64446e7fe5ba11345db750a0b0a0
648
py
Python
setup.py
microsoft/ATAC
c5c9ab5cda2d94cd8306fda0b989cd8c9489b543
[ "MIT" ]
9
2022-02-08T06:56:24.000Z
2022-03-22T08:41:56.000Z
setup.py
microsoft/ATAC
c5c9ab5cda2d94cd8306fda0b989cd8c9489b543
[ "MIT" ]
2
2022-02-19T07:01:43.000Z
2022-03-20T02:06:42.000Z
setup.py
microsoft/ATAC
c5c9ab5cda2d94cd8306fda0b989cd8c9489b543
[ "MIT" ]
1
2022-03-15T13:39:56.000Z
2022-03-15T13:39:56.000Z
from distutils.core import setup setup( name='ATAC', version='0.1.0', author='Ching-An Cheng', author_email='chinganc@microsoft.com', package_dir={'':'src'}, packages=['atac'], url='https://github.com/chinganc/atac', license='MIT LICENSE', description='ATAC code', long_descripti...
30.857143
108
0.617284
85
648
4.635294
0.647059
0.083756
0.106599
0.111675
0.106599
0
0
0
0
0
0
0.054307
0.175926
648
20
109
32.4
0.683521
0
0
0
0
0.052632
0.46142
0.033951
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
17c75a6c2fba9f08fdef1296206d48a027dafb3a
1,335
py
Python
parser/team08/Tytus_SQLPARSER_G8/Instrucciones/Identificador.py
18SebastianVC/tytus
2b22f4339356b6cf46e3235a5219f68e5ba5573b
[ "MIT" ]
1
2021-01-09T05:32:35.000Z
2021-01-09T05:32:35.000Z
parser/team08/Tytus_SQLPARSER_G8/Instrucciones/Identificador.py
XiomRB/tytus
0873e4bdce5c110bee6ef2aa98240be6a93ae024
[ "MIT" ]
null
null
null
parser/team08/Tytus_SQLPARSER_G8/Instrucciones/Identificador.py
XiomRB/tytus
0873e4bdce5c110bee6ef2aa98240be6a93ae024
[ "MIT" ]
null
null
null
from Instrucciones.Excepcion import Excepcion from lexico import columas from tkinter.constants import FALSE from Instrucciones.Sql_create.ShowDatabases import ShowDatabases from Instrucciones.TablaSimbolos.Instruccion import * from Instrucciones.Tablas.BaseDeDatos import BaseDeDatos from Instrucciones.TablaSimbolos.Si...
40.454545
114
0.697378
149
1,335
6.181208
0.389262
0.110749
0.09772
0.049946
0
0
0
0
0
0
0
0.004753
0.211985
1,335
33
115
40.454545
0.870722
0
0
0.064516
0
0
0.066617
0
0
0
0
0
0
1
0.096774
false
0
0.290323
0
0.516129
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
17ce72d7cf5c4f5bbd0675ca6059e64c73fa3215
1,321
py
Python
api/compliance/migrations/0001_initial.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
null
null
null
api/compliance/migrations/0001_initial.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
null
null
null
api/compliance/migrations/0001_initial.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
null
null
null
# Generated by Django 2.2.13 on 2020-06-16 08:37 from django.db import migrations, models import django.utils.timezone import model_utils.fields import uuid class Migration(migrations.Migration): initial = True dependencies = [ ("licences", "0005_auto_20200616_0837"), ("organisations", "000...
33.025
116
0.56321
115
1,321
6.321739
0.608696
0.022008
0.05227
0
0
0
0
0
0
0
0
0.054749
0.322483
1,321
39
117
33.871795
0.757542
0.034822
0
0.125
1
0
0.167321
0.056559
0
0
0
0
0
1
0
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
17cf5613a94c7744aaf4339a1d1476d3bbf2a72c
6,169
py
Python
train.py
RamitPahwa/Knowledge-Distillation
fc5ed25affc00ac1aa8be300748a4902aa85fb8e
[ "MIT" ]
null
null
null
train.py
RamitPahwa/Knowledge-Distillation
fc5ed25affc00ac1aa8be300748a4902aa85fb8e
[ "MIT" ]
null
null
null
train.py
RamitPahwa/Knowledge-Distillation
fc5ed25affc00ac1aa8be300748a4902aa85fb8e
[ "MIT" ]
null
null
null
import numpy as np import torch import argparse import logging import os import time import json import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torchvision import dataset, transforms from torchvision import models # Data Loading from inbuilt cifar dataset train_loader...
33.166667
135
0.59491
729
6,169
4.853224
0.222222
0.062182
0.063595
0.011306
0.502826
0.445449
0.445449
0.42623
0.42623
0.345393
0
0.012731
0.299724
6,169
185
136
33.345946
0.80625
0.069865
0
0.445545
0
0
0.025166
0
0
0
0
0
0.009901
0
null
null
0
0.118812
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
17cff634514ca22ca7dee12922e849b0b32760af
523
py
Python
6. Geometry Management/place_geo_mngr.py
samujjwaal/Tkinter-GUI-Course
9ed492f49507333eec54b8b9262262def03fe00f
[ "MIT" ]
null
null
null
6. Geometry Management/place_geo_mngr.py
samujjwaal/Tkinter-GUI-Course
9ed492f49507333eec54b8b9262262def03fe00f
[ "MIT" ]
null
null
null
6. Geometry Management/place_geo_mngr.py
samujjwaal/Tkinter-GUI-Course
9ed492f49507333eec54b8b9262262def03fe00f
[ "MIT" ]
null
null
null
from tkinter import * from tkinter import ttk root = Tk() root.geometry("640x480+200+200") ttk.Label(root, text="Orange", background="orange").place( x=100, y=50, width=100, height=50 ) ttk.Label(root, text="Red", background="red").place( relx=0.5, rely=0.5, anchor="center", relwidth=0.5, relheight=0.5 ) t...
21.791667
87
0.665392
88
523
3.954545
0.386364
0.034483
0.137931
0.183908
0.103448
0
0
0
0
0
0
0.091503
0.122371
523
23
88
22.73913
0.666667
0
0
0
0
0
0.120459
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
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
17d40aeaba02dde6b6487b4d85c447d5c26095b9
1,662
py
Python
tests/test_converter.py
DiveWithDamian/ratio-dumper
a0800b04c9be05582fbd6a046ec9007e2811fc0e
[ "MIT" ]
null
null
null
tests/test_converter.py
DiveWithDamian/ratio-dumper
a0800b04c9be05582fbd6a046ec9007e2811fc0e
[ "MIT" ]
18
2021-05-22T08:14:30.000Z
2022-03-13T23:22:02.000Z
tests/test_converter.py
DiveWithDamian/ratio-dumper
a0800b04c9be05582fbd6a046ec9007e2811fc0e
[ "MIT" ]
null
null
null
''' ratio_dumper - Ratio iX5M Log Dumper MIT License Copyright (c) 2021 Damian Zaremba 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 right...
36.933333
78
0.76414
253
1,662
4.928854
0.521739
0.070569
0.02085
0.028869
0.035285
0
0
0
0
0
0
0.005065
0.168472
1,662
44
79
37.772727
0.89725
0.666667
0
0
0
0
0.056777
0
0
0
0
0
0.076923
1
0.076923
false
0
0.307692
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
17d73e75c45fc83955b3c5b5714e3601f18c2b70
332
py
Python
_Template/no_pagination.py
PicoRadia/FastDev
3e21cf7cdc0fd917e67654ca743b7d0f097fc664
[ "MIT" ]
null
null
null
_Template/no_pagination.py
PicoRadia/FastDev
3e21cf7cdc0fd917e67654ca743b7d0f097fc664
[ "MIT" ]
null
null
null
_Template/no_pagination.py
PicoRadia/FastDev
3e21cf7cdc0fd917e67654ca743b7d0f097fc664
[ "MIT" ]
null
null
null
import scrapy,json; (scrapy.Request( url='', method = 'GET', headers={ 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36' , },), [ print(json.dumps( { '': r.css('').get(), '': r.css('').get(), }, indent=2,ensure_ascii=False)) for r in response...
19.529412
125
0.620482
51
332
4
0.784314
0.04902
0.068627
0
0
0
0
0
0
0
0
0.099656
0.123494
332
16
126
20.75
0.601375
0
0
0.125
0
0.0625
0.355422
0
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
17d9e19b89c4dc106e288123ae652ed4a030e9a1
6,271
py
Python
source/scrape.py
sidhantnagpal/algorithmic-progress-visualizer
795a852d9d11decceb8316c36cb015a594b965ab
[ "MIT" ]
2
2018-02-17T13:14:57.000Z
2022-02-24T09:16:31.000Z
source/scrape.py
sidhantnagpal/algorithmic-progress-visualizer
795a852d9d11decceb8316c36cb015a594b965ab
[ "MIT" ]
1
2019-02-14T09:44:54.000Z
2019-02-14T09:44:54.000Z
source/scrape.py
sidhantnagpal/algorithmic-progress-visualizer
795a852d9d11decceb8316c36cb015a594b965ab
[ "MIT" ]
1
2021-02-20T14:36:10.000Z
2021-02-20T14:36:10.000Z
''' Created by Sidhant Nagpal Feb 1, 2018 ''' from sys import stdout import re, json, requests from bs4 import BeautifulSoup from pyvirtualdisplay import Display from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by ...
28.121076
92
0.698772
893
6,271
4.842105
0.260918
0.022895
0.035615
0.033996
0.331175
0.290934
0.290934
0.266651
0.20259
0.20259
0
0.009258
0.121512
6,271
222
93
28.247748
0.77564
0.015787
0
0.32967
0
0
0.235784
0.037909
0.005495
0
0
0
0
0
null
null
0
0.049451
null
null
0.021978
0
0
0
null
0
0
0
0
0
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
17dfa280eecb8a61b5a71e29792771c1a079a965
47,271
py
Python
tests/test_prowler.py
hmrc/platsec-prowler-lambda-worker
81a65d1abb60090ef1114754da992ef0eba0e1f5
[ "Apache-2.0" ]
null
null
null
tests/test_prowler.py
hmrc/platsec-prowler-lambda-worker
81a65d1abb60090ef1114754da992ef0eba0e1f5
[ "Apache-2.0" ]
null
null
null
tests/test_prowler.py
hmrc/platsec-prowler-lambda-worker
81a65d1abb60090ef1114754da992ef0eba0e1f5
[ "Apache-2.0" ]
null
null
null
""" Tests for the MDTP Prowler Implementation """ import json import os import pytest from datetime import datetime from botocore.client import BaseClient # type: ignore from botocore.exceptions import ClientError from src.platsec.compliance.prowler_exceptions import ( AwsBucketPathCreateException, AwsProwlerF...
30.815515
1,005
0.637558
5,173
47,271
5.546878
0.104002
0.026835
0.014045
0.020841
0.679794
0.617725
0.575312
0.535791
0.496062
0.469819
0
0.045426
0.251169
47,271
1,533
1,006
30.835616
0.765184
0.082249
0
0.53
0
0.004
0.23283
0.077167
0
0
0
0
0.08
1
0.079
false
0
0.012
0.001
0.096
0.003
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
17e225a56d3921faf4c8a952c943327fd871405a
1,083
py
Python
ghostwriter/shepherd/migrations/0032_migrate_domain_categories.py
bbhunter/Ghostwriter
1b684ddd119feed9891e83b39c9b314b41d086ca
[ "BSD-3-Clause" ]
1
2022-02-04T20:24:35.000Z
2022-02-04T20:24:35.000Z
ghostwriter/shepherd/migrations/0032_migrate_domain_categories.py
bbhunter/Ghostwriter
1b684ddd119feed9891e83b39c9b314b41d086ca
[ "BSD-3-Clause" ]
null
null
null
ghostwriter/shepherd/migrations/0032_migrate_domain_categories.py
bbhunter/Ghostwriter
1b684ddd119feed9891e83b39c9b314b41d086ca
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.1.13 on 2022-02-01 23:33 # Standard Libraries import json # Django Imports from django.db import migrations def convert_to_jsonfield(apps, schema_editor): # Convert the to-be-deleted fields to JSON for the ``JSONfield`` Domain = apps.get_model("shepherd", "Domain") for entry in D...
27.769231
68
0.624192
127
1,083
5.165354
0.582677
0.027439
0.054878
0
0
0
0
0
0
0
0
0.040151
0.264081
1,083
38
69
28.5
0.782936
0.185596
0
0
1
0
0.121143
0.026286
0
0
0
0
0
1
0.041667
false
0
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
17e7b3032d08c8b35450775e5273d269b045ebdc
659
py
Python
company/migrations/0013_auto_20201028_0939.py
minsystems/minloansng
225f7c553dc1c7180431c5b84250560b74b0e9cc
[ "PostgreSQL", "MIT" ]
null
null
null
company/migrations/0013_auto_20201028_0939.py
minsystems/minloansng
225f7c553dc1c7180431c5b84250560b74b0e9cc
[ "PostgreSQL", "MIT" ]
null
null
null
company/migrations/0013_auto_20201028_0939.py
minsystems/minloansng
225f7c553dc1c7180431c5b84250560b74b0e9cc
[ "PostgreSQL", "MIT" ]
null
null
null
# Generated by Django 3.0.2 on 2020-10-28 16:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('company', '0012_auto_20201027_0103'), ] operations = [ migrations.AddField( model_name='remitamandateactivationdata', ...
27.458333
74
0.632777
66
659
6.166667
0.666667
0.088452
0.113022
0.132678
0.471744
0.471744
0.186732
0
0
0
0
0.075975
0.261002
659
23
75
28.652174
0.759754
0.068285
0
0.352941
1
0
0.212418
0.168301
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
17f3230f0edcc2ccc31e420cc624fdc649eefcd4
919
py
Python
corefgraph/multisieve/filters/nonwordFilter.py
josubg/CorefGraph
83c72386649937aa50c17b7960ba42bf08d39eb8
[ "Apache-2.0" ]
null
null
null
corefgraph/multisieve/filters/nonwordFilter.py
josubg/CorefGraph
83c72386649937aa50c17b7960ba42bf08d39eb8
[ "Apache-2.0" ]
1
2020-04-15T16:10:50.000Z
2020-04-15T16:10:50.000Z
corefgraph/multisieve/filters/nonwordFilter.py
josubg/CorefGraph
83c72386649937aa50c17b7960ba42bf08d39eb8
[ "Apache-2.0" ]
1
2021-03-10T21:54:51.000Z
2021-03-10T21:54:51.000Z
# coding=utf-8 """ Filter to remove mentions that are Non-words.""" from .basefilter import BaseFilter from corefgraph.resources.dictionaries import stopwords from corefgraph.constants import FORM, ID __author__ = "Josu Bermudez <josu.bermudez@deusto.es>" class NonWordFilter(BaseFilter): """Class that filter m...
29.645161
75
0.661589
117
919
5.076923
0.495727
0.035354
0
0
0
0
0
0
0
0
0
0.001439
0.243743
919
30
76
30.633333
0.853237
0.265506
0
0
0
0
0.128205
0.040064
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
17fbfa556686a67e985b81a818973d6c44668f45
865
py
Python
projects/golem_integration/tests/browser/find/find_given_a_webelement.py
kangchenwei/keyautotest2
f980d46cabfc128b2099af3d33968f236923063f
[ "MIT" ]
null
null
null
projects/golem_integration/tests/browser/find/find_given_a_webelement.py
kangchenwei/keyautotest2
f980d46cabfc128b2099af3d33968f236923063f
[ "MIT" ]
null
null
null
projects/golem_integration/tests/browser/find/find_given_a_webelement.py
kangchenwei/keyautotest2
f980d46cabfc128b2099af3d33968f236923063f
[ "MIT" ]
null
null
null
from selenium.webdriver.remote.webelement import WebElement from golem import actions from golem.webdriver.extended_webelement import ExtendedWebElement description = 'Verify that the webdriver.find method returns a ExtendedWebElement when a WebElement or ExtendedWebElement is passed as argument' def test(data): ...
43.25
144
0.798844
112
865
5.946429
0.401786
0.084084
0.156156
0.114114
0.39039
0.354354
0.27027
0.27027
0.27027
0.27027
0
0
0.12948
865
19
145
45.526316
0.884462
0
0
0.266667
0
0
0.250867
0
0
0
0
0
0.2
1
0.066667
false
0.066667
0.2
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
17fdf3fc633ba40085248451657dffc4b52bc332
1,358
py
Python
tdrs-backend/tdpservice/users/test/test_models.py
riatzukiza/TANF-app
e34efc87e9703bab37db76b84cc47a041e3612a1
[ "CC0-1.0" ]
18
2020-03-25T19:57:12.000Z
2021-07-26T15:37:50.000Z
tdrs-backend/tdpservice/users/test/test_models.py
raft-tech/TANF-app
a4ff39ca392591c4c218ad86df3bff5056d73152
[ "CC0-1.0" ]
1,465
2020-07-22T21:16:53.000Z
2022-03-31T16:04:22.000Z
tdrs-backend/tdpservice/users/test/test_models.py
riatzukiza/TANF-app
e34efc87e9703bab37db76b84cc47a041e3612a1
[ "CC0-1.0" ]
15
2020-07-22T14:58:37.000Z
2021-06-22T17:29:55.000Z
"""Module for testing the user model.""" import pytest from django.core.exceptions import ValidationError @pytest.mark.django_db def test_user_string_representation(user): """Test user string representation.""" assert str(user) == user.username @pytest.mark.django_db def test_regional_user_cannot_have_stt(re...
37.722222
88
0.767305
201
1,358
4.945274
0.253731
0.143863
0.080483
0.090543
0.435614
0.365191
0.314889
0.227364
0.169014
0.169014
0
0
0.155376
1,358
35
89
38.8
0.866609
0.274669
0
0.304348
0
0
0
0
0
0
0
0
0.217391
1
0.217391
false
0
0.086957
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
aa0628fbd57e7c700dfc61558498ea8bd7d65969
1,181
py
Python
example/python/model.py
nirgal/xgcalendar
f4d75142de73b7fb9cf7a936f227b04cb0705890
[ "MIT" ]
192
2015-01-08T13:47:17.000Z
2022-02-28T10:24:49.000Z
example/python/model.py
nirgal/xgcalendar
f4d75142de73b7fb9cf7a936f227b04cb0705890
[ "MIT" ]
15
2015-01-06T20:54:17.000Z
2019-08-07T03:21:12.000Z
example/python/model.py
nirgal/xgcalendar
f4d75142de73b7fb9cf7a936f227b04cb0705890
[ "MIT" ]
90
2015-01-14T03:36:41.000Z
2022-02-08T02:18:40.000Z
# -*- coding: utf-8 -*- import datetime from google.appengine.ext import db #Subject 主题 #Location 地点 #TimeZone 时区 #Description 说明 #CalendarType 日程类型,1 个人,2 单位,3 系统 #StartTime 开始时间 #EndTime 结束时间 #IsAllDayEvent 是否全天日程 #HasAttachment 是否有附件 #Category 分类 #Instance...
31.078947
61
0.701948
136
1,181
5.926471
0.558824
0.074442
0.081886
0.069479
0.084367
0.084367
0.084367
0.084367
0
0
0
0.010616
0.202371
1,181
38
62
31.078947
0.845011
0.314141
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.105263
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
aa080b6641020855ec2e7b3ce28732b1007e4c1e
9,027
py
Python
heron/instance/src/python/utils/system_constants.py
Munyola/incubator-heron
4aa106c6eaef9c60ed2d692e41998adda8115e6f
[ "Apache-2.0" ]
2
2016-07-04T07:10:31.000Z
2018-03-28T16:59:02.000Z
heron/instance/src/python/utils/system_constants.py
Munyola/incubator-heron
4aa106c6eaef9c60ed2d692e41998adda8115e6f
[ "Apache-2.0" ]
1
2019-05-08T22:30:16.000Z
2019-05-08T22:30:16.000Z
heron/instance/src/python/utils/system_constants.py
Munyola/incubator-heron
4aa106c6eaef9c60ed2d692e41998adda8115e6f
[ "Apache-2.0" ]
1
2017-06-05T17:55:45.000Z
2017-06-05T17:55:45.000Z
#!/usr/bin/env python # -*- encoding: utf-8 -*- # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache...
57.132911
100
0.739781
1,257
9,027
5.140016
0.175815
0.062374
0.023835
0.024764
0.686581
0.566011
0.427488
0.331528
0.261105
0.253521
0
0.006098
0.109782
9,027
157
101
57.496815
0.797909
0.453528
0
0
0
0
0.454523
0.454523
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aa0a426db61a97aefedd982ff8e35e09b459c40e
11,561
py
Python
DynamicClient/TriggerInput.py
baijund/IntelliDroid
e96e11273ba0e68114721bc515b6641bf8ac8c70
[ "MIT" ]
59
2016-05-27T03:02:17.000Z
2022-03-07T04:07:36.000Z
DynamicClient/TriggerInput.py
baijund/IntelliDroid
e96e11273ba0e68114721bc515b6641bf8ac8c70
[ "MIT" ]
9
2016-06-28T01:27:50.000Z
2021-04-11T06:33:17.000Z
DynamicClient/TriggerInput.py
baijund/IntelliDroid
e96e11273ba0e68114721bc515b6641bf8ac8c70
[ "MIT" ]
30
2016-05-27T06:55:20.000Z
2022-02-25T15:08:23.000Z
#!/usr/bin/python from settings import * import sys import string import math import traceback from datetime import datetime from z3 import * # Variable names used for the Z3 constraint solver are determined by the code that generated them # IFA = IntelliDroid Framework Analysis # IAA = IntelliDroid App Analys...
36.585443
151
0.627454
972
11,561
7.452675
0.304527
0.019879
0.017394
0.021535
0.398399
0.366924
0.266703
0.252623
0.252623
0.252623
0
0.02238
0.234755
11,561
315
152
36.701587
0.796428
0.121529
0
0.334821
0
0
0.337088
0.207765
0
0
0
0
0
0
null
null
0.008929
0.03125
null
null
0.022321
0
0
0
null
0
0
0
0
0
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
aa0c527e4699858b9a0bfc70fdcc52875f3e73e1
1,513
py
Python
python2.7/site-packages/twisted/test/app_qtstub.py
84KaliPleXon3/sslstrip-hsts-openwrt
f875ded48078a3ed84bffef1e69dcbeaf2e77ae3
[ "MIT" ]
19
2015-05-01T19:59:03.000Z
2021-12-09T08:03:16.000Z
python2.7/site-packages/twisted/test/app_qtstub.py
84KaliPleXon3/sslstrip-hsts-openwrt
f875ded48078a3ed84bffef1e69dcbeaf2e77ae3
[ "MIT" ]
1
2018-01-03T15:26:49.000Z
2018-01-03T15:26:49.000Z
python2.7/site-packages/twisted/test/app_qtstub.py
84KaliPleXon3/sslstrip-hsts-openwrt
f875ded48078a3ed84bffef1e69dcbeaf2e77ae3
[ "MIT" ]
30
2015-03-25T19:40:07.000Z
2021-05-28T22:59:26.000Z
# Copyright (c) 2006 Twisted Matrix Laboratories. # See LICENSE for details. """ L{twisted.test.test_application.PluggableReactorTestCase.test_qtStub} uses this helper program to test that when the QT reactor plugin is not available, an attempt to select it via the deprecated name C{qt} fails appropriately. When inst...
28.018519
76
0.673496
192
1,513
5.244792
0.583333
0.00993
0.017875
0.03575
0
0
0
0
0
0
0
0.004374
0.244547
1,513
53
77
28.54717
0.87664
0.068738
0
0.1
0
0
0.172144
0
0
0
0
0
0
0
null
null
0.05
0.25
null
null
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
1
0
0
0
0
0
0
0
0
1
aa13cfb3c64dfd2451d8d56fd756732dce97d312
265
py
Python
mathy_envs/about.py
mathy/mathy_envs
41d82cca881ff9d3d3fe576d0e75100116a0e4da
[ "MIT" ]
1
2021-12-06T10:29:40.000Z
2021-12-06T10:29:40.000Z
mathy_envs/about.py
mathy/mathy_envs
41d82cca881ff9d3d3fe576d0e75100116a0e4da
[ "MIT" ]
8
2020-09-06T17:17:22.000Z
2021-08-11T20:35:26.000Z
mathy_envs/about.py
mathy/mathy_envs
41d82cca881ff9d3d3fe576d0e75100116a0e4da
[ "MIT" ]
null
null
null
__title__ = "mathy_envs" __version__ = "0.11.0" __summary__ = "Learning environments for solving math problems step-by-step" __uri__ = "https://mathy.ai" __author__ = "Justin DuJardin" __email__ = "justin@dujardinconsulting.com" __license__ = "All rights reserved"
33.125
76
0.769811
32
265
5.46875
0.875
0
0
0
0
0
0
0
0
0
0
0.017021
0.113208
265
7
77
37.857143
0.72766
0
0
0
0
0
0.584906
0.109434
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
1
aa15ffc77c7a8697ad0cdf263217b53280c1d416
463
py
Python
tests/util.py
mattstruble/furcate
2acec812f10a6d543fed661a9b1c493e67214c70
[ "MIT" ]
null
null
null
tests/util.py
mattstruble/furcate
2acec812f10a6d543fed661a9b1c493e67214c70
[ "MIT" ]
null
null
null
tests/util.py
mattstruble/furcate
2acec812f10a6d543fed661a9b1c493e67214c70
[ "MIT" ]
null
null
null
import json import os import shutil import tempfile def make_tmpfile(config): fd, tmp_path = tempfile.mkstemp(prefix="furcate_tests") with os.fdopen(fd, "w") as tmp: json.dump(config, tmp) return tmp_path def close_tmpfile(tmp_path): if os.path.isdir(tmp_path): shutil.rmtree(tmp_pa...
17.148148
59
0.686825
68
463
4.470588
0.470588
0.184211
0.098684
0
0
0
0
0
0
0
0
0
0.211663
463
26
60
17.807692
0.832877
0
0
0.117647
0
0
0.064795
0
0
0
0
0
0
1
0.176471
false
0
0.235294
0
0.529412
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
aa1640479f911736c94b5da04a0cbd52c4863bbb
8,368
py
Python
sdk/storage/azure-storage-blob/samples/blob_samples_common.py
vbarbaresi/azure-sdk-for-python
397ba46c51d001ff89c66b170f5576cf8f49c05f
[ "MIT" ]
8
2021-01-13T23:44:08.000Z
2021-03-17T10:13:36.000Z
sdk/storage/azure-storage-blob/samples/blob_samples_common.py
vbarbaresi/azure-sdk-for-python
397ba46c51d001ff89c66b170f5576cf8f49c05f
[ "MIT" ]
4
2019-04-17T17:57:49.000Z
2020-04-24T21:11:22.000Z
sdk/storage/azure-storage-blob/samples/blob_samples_common.py
vbarbaresi/azure-sdk-for-python
397ba46c51d001ff89c66b170f5576cf8f49c05f
[ "MIT" ]
2
2020-05-21T22:51:22.000Z
2020-05-26T20:53:01.000Z
# coding: utf-8 # ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # --------------------------------------------------------------------...
37.357143
115
0.683795
928
8,368
5.882543
0.182112
0.065946
0.059168
0.029309
0.525371
0.485071
0.466019
0.431581
0.405202
0.380839
0
0.003883
0.230641
8,368
223
116
37.524664
0.844051
0.320626
0
0.431579
0
0
0.088691
0.034907
0
0
0
0
0
1
0.052632
false
0.052632
0.094737
0
0.168421
0.031579
0
0
0
null
0
0
0
0
0
0
0
0
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
aa164dfef985582db05fea798d9bff3aee29713e
801
py
Python
accounts/backends.py
iamsahar/mysite
2a3635e06cff87d21318aac817dcc09dfef83e5f
[ "MIT" ]
2
2021-12-08T07:43:18.000Z
2022-01-21T20:42:01.000Z
accounts/backends.py
iamsahar/mysite
2a3635e06cff87d21318aac817dcc09dfef83e5f
[ "MIT" ]
null
null
null
accounts/backends.py
iamsahar/mysite
2a3635e06cff87d21318aac817dcc09dfef83e5f
[ "MIT" ]
null
null
null
from django.contrib.auth.backends import BaseBackend from django.contrib.auth.models import User class EmailAuthenticationBackend(BaseBackend): def authenticate(self, request, **kwargs): username = kwargs['username'] password = kwargs['password'] try: if '@' in username: ...
29.666667
70
0.606742
88
801
5.409091
0.409091
0.063025
0.088235
0.088235
0.218487
0
0
0
0
0
0
0
0.313358
801
27
71
29.666667
0.865455
0
0
0.409091
0
0
0.021197
0
0
0
0
0
0
1
0.090909
false
0.090909
0.090909
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
aa1678fea6765344e8882eec0ee87f3ebeb16ef6
2,089
py
Python
exquiro/models/class_diagram/neo4j_internal_classes.py
xhusar2/conceptual_model_parser
63eea4ab8b967a6d2ee612ffb4a06b93e97d0043
[ "MIT" ]
null
null
null
exquiro/models/class_diagram/neo4j_internal_classes.py
xhusar2/conceptual_model_parser
63eea4ab8b967a6d2ee612ffb4a06b93e97d0043
[ "MIT" ]
null
null
null
exquiro/models/class_diagram/neo4j_internal_classes.py
xhusar2/conceptual_model_parser
63eea4ab8b967a6d2ee612ffb4a06b93e97d0043
[ "MIT" ]
null
null
null
from neomodel import StructuredNode, StringProperty, ArrayProperty, Relationship, config, StructuredRel, JSONProperty, \ UniqueIdProperty class BaseNode(StructuredNode): model_metadata = JSONProperty() class BaseRelation(StructuredRel): model_metadata = JSONProperty() class GeneralizationRel(BaseRelat...
27.853333
120
0.73528
171
2,089
8.760234
0.245614
0.085447
0.06008
0.116155
0.443258
0.443258
0.334446
0.334446
0.110814
0.110814
0
0
0.171374
2,089
74
121
28.22973
0.865396
0
0
0.5
0
0
0.041647
0
0
0
0
0
0
1
0
false
0
0.018519
0
0.981481
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
aa1a80f15a1428c641014f5c9da5c6d6101a5ce5
1,039
py
Python
utils.py
nronix/CardManager
a560bba20ff2e4bcfb4888c727569b59427dc0dc
[ "MIT" ]
null
null
null
utils.py
nronix/CardManager
a560bba20ff2e4bcfb4888c727569b59427dc0dc
[ "MIT" ]
null
null
null
utils.py
nronix/CardManager
a560bba20ff2e4bcfb4888c727569b59427dc0dc
[ "MIT" ]
null
null
null
def check_password_hash(hash,password): if hash == password: return True else: return False def get_cards_summary_model(): data = dict() data["used_on_amazon"] = 0 data['used_on_google'] = 0 data['total_used'] = 0 data['expired'] = 0 data['total'] = 0 data['in_progre...
26.641026
48
0.564966
130
1,039
4.384615
0.292308
0.122807
0.17193
0.052632
0.178947
0.084211
0
0
0
0
0
0.008242
0.299326
1,039
38
49
27.342105
0.774725
0.258903
0
0
0
0
0.080475
0
0
0
0
0
0
1
0.111111
false
0.074074
0
0
0.259259
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
aa213eb0d22c6272da89cbc9cfe2cd7bb3f549fd
859
py
Python
mock/mockserver/historialasset/migrations/0001_initial.py
Gabydelgado/Invest-Simulator
120706d0d48146b06e202df58403e5ea23cf53f3
[ "MIT" ]
null
null
null
mock/mockserver/historialasset/migrations/0001_initial.py
Gabydelgado/Invest-Simulator
120706d0d48146b06e202df58403e5ea23cf53f3
[ "MIT" ]
null
null
null
mock/mockserver/historialasset/migrations/0001_initial.py
Gabydelgado/Invest-Simulator
120706d0d48146b06e202df58403e5ea23cf53f3
[ "MIT" ]
null
null
null
# Generated by Django 2.1.2 on 2018-10-24 11:05 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('asset', '0001_initial'), ] operations = [ migrations.CreateModel( name='Ass...
31.814815
130
0.610012
94
859
5.446809
0.574468
0.046875
0.054688
0.085938
0.167969
0.167969
0.167969
0.167969
0
0
0
0.039002
0.253783
859
26
131
33.038462
0.75975
0.052387
0
0
1
0
0.082512
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.315789
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
aa25a0d5ea756f2395134720ea12dadbd0644744
554
py
Python
WebMirror/management/rss_parser_funcs/feed_parse_extractOneManArmy.py
fake-name/ReadableWebProxy
ed5c7abe38706acc2684a1e6cd80242a03c5f010
[ "BSD-3-Clause" ]
193
2016-08-02T22:04:35.000Z
2022-03-09T20:45:41.000Z
WebMirror/management/rss_parser_funcs/feed_parse_extractOneManArmy.py
fake-name/ReadableWebProxy
ed5c7abe38706acc2684a1e6cd80242a03c5f010
[ "BSD-3-Clause" ]
533
2016-08-23T20:48:23.000Z
2022-03-28T15:55:13.000Z
WebMirror/management/rss_parser_funcs/feed_parse_extractOneManArmy.py
rrosajp/ReadableWebProxy
ed5c7abe38706acc2684a1e6cd80242a03c5f010
[ "BSD-3-Clause" ]
19
2015-08-13T18:01:08.000Z
2021-07-12T17:13:09.000Z
def extractOneManArmy(item): """ """ vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol) or 'preview' in item['title'].lower(): return None if 'DBWG – Chapter' in item['title'] or 'Dragon-Blooded War God' in item['tags']: return buildReleaseMessageWithType(item, 'Drag...
42.615385
110
0.723827
76
554
5.289474
0.421053
0.059701
0.074627
0.094527
0.482587
0.373134
0
0
0
0
0
0
0.138989
554
12
111
46.166667
0.840671
0
0
0
0
0
0.256881
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
aa2a8be8bbce5c22b306691ad69df69f6aa4e3ed
666
py
Python
index.py
vinniegarcia/flask-sunrise-api
70b7e958abb82ed4d2c1289cc8433df24a785332
[ "MIT" ]
null
null
null
index.py
vinniegarcia/flask-sunrise-api
70b7e958abb82ed4d2c1289cc8433df24a785332
[ "MIT" ]
null
null
null
index.py
vinniegarcia/flask-sunrise-api
70b7e958abb82ed4d2c1289cc8433df24a785332
[ "MIT" ]
null
null
null
import datetime from astral import Astral from flask import Flask, jsonify, request, render_template app = Flask(__name__, static_url_path='') @app.route('/') @app.route('/<string:page_name>/') def static_page(page_name = 'index'): return render_template('%s.html' % page_name) @app.route('/sunrise') def get_sunr...
27.75
67
0.683183
90
666
4.788889
0.477778
0.055684
0
0
0
0
0
0
0
0
0
0
0.159159
666
24
68
27.75
0.769643
0.024024
0
0
0
0
0.09245
0
0
0
0
0
0
0
null
null
0
0.157895
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
aa2c91be62e7c6ca59e92507e1044d31ea61843c
1,683
py
Python
api.py
varunchitale/Annotator
bdcffee290c22e9e9141a92d4f6670ad88f86209
[ "Apache-2.0" ]
null
null
null
api.py
varunchitale/Annotator
bdcffee290c22e9e9141a92d4f6670ad88f86209
[ "Apache-2.0" ]
null
null
null
api.py
varunchitale/Annotator
bdcffee290c22e9e9141a92d4f6670ad88f86209
[ "Apache-2.0" ]
null
null
null
import json import psycopg2 from flask import Flask,request from flask import jsonify import traceback #import os from flask_cors import CORS conn = '' def connectToDB(): global conn try: params = json.load(open('DBSettings.json')) print "Connecting to database\n ->%s" %(params['dbname']) conn = psyco...
19.125
81
0.682115
225
1,683
5.044444
0.364444
0.052863
0.084582
0.029956
0.535683
0.535683
0.535683
0.535683
0.535683
0.535683
0
0.021552
0.172906
1,683
87
82
19.344828
0.793822
0.077837
0
0.5
0
0
0.238372
0.013566
0
0
0
0
0
0
null
null
0
0.103448
null
null
0.051724
0
0
0
null
0
0
0
0
0
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
aa397de5b08030d7e406a3f75ff6cbb1d3b7079e
634
py
Python
data/migrations/0063_populate_config_workflow.py
Duke-GCB/bespin-api
cea5c20fb2ff592adabe6ebb7ca934939aa11a34
[ "MIT" ]
null
null
null
data/migrations/0063_populate_config_workflow.py
Duke-GCB/bespin-api
cea5c20fb2ff592adabe6ebb7ca934939aa11a34
[ "MIT" ]
137
2016-12-09T18:59:45.000Z
2021-06-10T18:55:47.000Z
data/migrations/0063_populate_config_workflow.py
Duke-GCB/bespin-api
cea5c20fb2ff592adabe6ebb7ca934939aa11a34
[ "MIT" ]
3
2017-11-14T16:05:58.000Z
2018-12-28T18:07:43.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2018-11-14 19:24 from __future__ import unicode_literals from django.db import migrations def populate_workflow_fields(apps, schema_editor): WorkflowConfiguration = apps.get_model("data", "WorkflowConfiguration") for obj in WorkflowConfiguration.objects...
26.416667
82
0.717666
72
634
6.097222
0.680556
0.072893
0.100228
0
0
0
0
0
0
0
0
0.040307
0.178233
634
23
83
27.565217
0.802303
0.107256
0
0
1
0
0.111901
0.097691
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.428571
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
aa3b29230e5a0aa93ca5a9ff7ced6b157e91ffad
765
py
Python
pycon_project/apps/boxes/models.py
mitsuhiko/pycon
73688a82080539a1c0d575cf3248f55fefb6b9ba
[ "BSD-3-Clause" ]
1
2017-09-04T08:19:08.000Z
2017-09-04T08:19:08.000Z
pycon_project/apps/boxes/models.py
mitsuhiko/pycon
73688a82080539a1c0d575cf3248f55fefb6b9ba
[ "BSD-3-Clause" ]
null
null
null
pycon_project/apps/boxes/models.py
mitsuhiko/pycon
73688a82080539a1c0d575cf3248f55fefb6b9ba
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from django.template import Template, Context from django.contrib.auth.models import User class Box(models.Model): label = models.CharField(max_length=100, db_index=True) user = models.ForeignKey(User, null=True, blank=True) content = models.TextField() class Me...
28.333333
70
0.647059
89
765
5.41573
0.516854
0.099585
0.157676
0.103734
0
0
0
0
0
0
0
0.005263
0.254902
765
26
71
29.423077
0.840351
0.081046
0
0.117647
0
0
0.045655
0
0
0
0
0
0
1
0.058824
false
0
0.176471
0
0.647059
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
aa456dcbfb0f238d386030b8201485e5bc3bdbd4
473
py
Python
fepy/fem/fem1d/basic.py
EastMagica/fepy
e5ede0921f887baebde643502f82fceb85a5e9a2
[ "MIT" ]
null
null
null
fepy/fem/fem1d/basic.py
EastMagica/fepy
e5ede0921f887baebde643502f82fceb85a5e9a2
[ "MIT" ]
null
null
null
fepy/fem/fem1d/basic.py
EastMagica/fepy
e5ede0921f887baebde643502f82fceb85a5e9a2
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding:utf-8 -*- # @author : east # @time : 2021/7/13 10:34 # @file : interval.py # @project : fepy # software : PyCharm import numpy as np # Functions # --------- def area(*points): [pl, pr] = np.asarray(points) if (pl.ndim > 1) or (pr.ndim > 1): raise ValueError('Inp...
18.92
65
0.572939
70
473
3.871429
0.757143
0.0369
0.147601
0
0
0
0
0
0
0
0
0.042493
0.2537
473
24
66
19.708333
0.725212
0.334038
0
0
0
0
0.240924
0
0
0
0
0
0
1
0.125
true
0
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
aa469acb70c925f425b22d0077fff192dac91d1c
11,941
py
Python
test_functions/CUTE.py
SupremaLex/UO-test-funcs
418345fdc5b126d6cbdc34ad63bafec68a937e49
[ "MIT" ]
1
2018-08-02T20:35:11.000Z
2018-08-02T20:35:11.000Z
test_functions/CUTE.py
SupremaLex/UO-test-funcs
418345fdc5b126d6cbdc34ad63bafec68a937e49
[ "MIT" ]
null
null
null
test_functions/CUTE.py
SupremaLex/UO-test-funcs
418345fdc5b126d6cbdc34ad63bafec68a937e49
[ "MIT" ]
null
null
null
from .test_function import * from .support_funcs import * from .exceptions import * def FLETCBV3(n): name = "FLETCBV3 function (CUTE)" print(name) p, h = 1e-8, 1 / (n + 1) # move last n-member of second series to f and and create one series from 1 to n-1 f = lambda: 0.5*p*(xi(1) + xi(n))**2 - ((h*...
34.117143
98
0.54652
2,239
11,941
2.815096
0.057168
0.039029
0.055688
0.148501
0.776773
0.720927
0.66508
0.610027
0.58845
0.569887
0
0.073446
0.249728
11,941
350
99
34.117143
0.630093
0.0067
0
0.344444
0
0
0.076476
0
0
0
0
0
0
1
0.148148
false
0
0.011111
0
0.311111
0.003704
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a4b2358c430a280cf2e4d2bd325dcd0371f3c0c0
1,317
py
Python
2link_NN/old/kNN_control_fulltraj.py
DeepakParamkusam/learning-based-RRT
1ca3960c30cacfa86351bf3ebdfa0491589e1d77
[ "MIT" ]
1
2018-06-13T11:36:45.000Z
2018-06-13T11:36:45.000Z
2link_NN/old/kNN_control_fulltraj.py
DeepakParamkusam/learning-based-RRT
1ca3960c30cacfa86351bf3ebdfa0491589e1d77
[ "MIT" ]
null
null
null
2link_NN/old/kNN_control_fulltraj.py
DeepakParamkusam/learning-based-RRT
1ca3960c30cacfa86351bf3ebdfa0491589e1d77
[ "MIT" ]
null
null
null
import sys import numpy from sklearn.neighbors import KNeighborsRegressor from sklearn.externals import joblib from sklearn.metrics import mean_squared_error from numpy.random import seed seed(1) if len(sys.argv) == 4: num_data = str(sys.argv[1]) type_data = str(sys.argv[2]) rep_parameter = str(sys.argv[3...
34.657895
150
0.67426
188
1,317
4.441489
0.382979
0.047904
0.057485
0.033533
0.091018
0.091018
0.091018
0.091018
0.091018
0.091018
0
0.009569
0.20653
1,317
37
151
35.594595
0.789474
0.073652
0
0
0
0
0.16214
0.077366
0
0
0
0
0
0
null
null
0
0.24
null
null
0.12
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a4b2add14ebd56081c364f71484f9ec44a36b26b
879
py
Python
src/model/shared/data/methods/method.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
src/model/shared/data/methods/method.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
src/model/shared/data/methods/method.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 from pydantic import BaseModel import pydantic from typing import List, Optional # from .raises import MethodRaises from .method_arg import MethodArg class Method(BaseModel): name: str returns: str returns_origin: Optional[str] desc: List[str] args: List[MethodArg] # raises: Li...
26.636364
78
0.633675
115
879
4.8
0.4
0.036232
0.039855
0.050725
0.358696
0.358696
0.358696
0.264493
0.264493
0.264493
0
0.004666
0.268487
879
32
79
27.46875
0.85381
0.083049
0
0.32
0
0
0.164589
0.068579
0
0
0
0
0
1
0.08
false
0
0.16
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a4b4a732f192724cee8dad3b9c44095a5048b642
1,384
py
Python
time_and_test_error.py
goodfeli/momentum
e597edecd75401fc9db4358718b43d6aece87c4e
[ "BSD-3-Clause" ]
4
2017-11-03T03:35:56.000Z
2021-12-15T01:38:10.000Z
time_and_test_error.py
goodfeli/momentum
e597edecd75401fc9db4358718b43d6aece87c4e
[ "BSD-3-Clause" ]
null
null
null
time_and_test_error.py
goodfeli/momentum
e597edecd75401fc9db4358718b43d6aece87c4e
[ "BSD-3-Clause" ]
5
2015-04-04T14:33:25.000Z
2021-05-07T09:20:09.000Z
__author__ = "Ian Goodfellow" import gc from matplotlib import pyplot import numpy as np import os import sys from pylearn2.utils import serial _, d1, d2 = sys.argv pyplot.hold(True) for i, d in enumerate([d1, d2]): fs = os.listdir(d) best = np.inf x = [] y = [] assert len(fs) > 0 for f...
23.457627
80
0.574422
199
1,384
3.904523
0.537688
0.034749
0.030888
0
0
0
0
0
0
0
0
0.01506
0.280347
1,384
58
81
23.862069
0.76506
0.08237
0
0
0
0
0.13981
0
0
0
0
0
0.071429
0
null
null
0
0.142857
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a4c196d02615653b523d61393577dcb1b70a2e59
5,028
py
Python
keyrecovery/analysis.py
tonitick/CacheZoom
37e8d4b10b93f6d114f4140c47c9348ea5df1a11
[ "MIT" ]
13
2017-07-07T02:48:57.000Z
2021-12-09T06:32:47.000Z
keyrecovery/analysis.py
tonitick/CacheZoom
37e8d4b10b93f6d114f4140c47c9348ea5df1a11
[ "MIT" ]
null
null
null
keyrecovery/analysis.py
tonitick/CacheZoom
37e8d4b10b93f6d114f4140c47c9348ea5df1a11
[ "MIT" ]
6
2017-10-15T19:23:15.000Z
2022-01-27T08:33:41.000Z
#!/usr/bin/env python import matplotlib.pyplot as plt import numpy as np import operator, sys MAX_MEASUREMENT = 50000 ''' f_csv = open('extracted.csv', 'w+') def export_csv(lst): csv = "" for n in lst: csv += str(n) + ',' f_csv.write(csv); f_csv.write("\r\n"); ''' def get_set(addr): return (addr ...
20.439024
102
0.56961
785
5,028
3.552866
0.205096
0.040158
0.01721
0.034421
0.264611
0.195052
0.125134
0.086052
0.086052
0.086052
0
0.036031
0.260342
5,028
245
103
20.522449
0.713902
0.084129
0
0.216667
0
0
0.011437
0
0
0
0
0
0
0
null
null
0
0.025
null
null
0.008333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a4c43242cc0fb22325bf8bb5a9ee5faed19829c5
20,917
py
Python
system/daisylu_main.py
BillFoland/daisyluAMR
5f59aa7713d98c6ed4fd16cb56af146d7c755e04
[ "MIT" ]
12
2017-10-17T17:01:08.000Z
2022-01-06T09:26:07.000Z
system/daisylu_main.py
BillFoland/daisyluAMR
5f59aa7713d98c6ed4fd16cb56af146d7c755e04
[ "MIT" ]
1
2017-12-13T03:27:15.000Z
2017-12-16T14:18:20.000Z
system/daisylu_main.py
BillFoland/daisyluAMR
5f59aa7713d98c6ed4fd16cb56af146d7c755e04
[ "MIT" ]
3
2017-12-04T10:23:13.000Z
2018-11-06T02:16:26.000Z
import pandas as pd import pickle import re import matplotlib.pyplot as plt import collections from pprint import pprint from daisylu_vectors import * # # merged here: from daisylu_new_dryrun import * from daisylu_config import * from daisylu_system import * from sentences import * import networkx as nx import argp...
48.531323
157
0.546637
1,950
20,917
5.812308
0.212821
0.009264
0.01297
0.024087
0.482883
0.454385
0.408152
0.403565
0.380889
0.372684
0
0.02145
0.342497
20,917
430
158
48.644186
0.802661
0.072668
0
0.347692
0
0
0.116557
0.02432
0
0
0
0
0
0
null
null
0
0.049231
null
null
0.024615
0
0
0
null
0
0
0
0
0
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
a4c5d1f8b0dfb0eda7df93911877aa4b18ca825a
860
py
Python
Sidekick_4.5/PMFTools.py
hallba/Sidekick
2208ee913e6e2c181d0c27bec85495d3595d980c
[ "Apache-2.0" ]
null
null
null
Sidekick_4.5/PMFTools.py
hallba/Sidekick
2208ee913e6e2c181d0c27bec85495d3595d980c
[ "Apache-2.0" ]
3
2015-02-24T23:04:51.000Z
2015-02-24T23:07:15.000Z
Sidekick_4.5/PMFTools.py
hallba/Sidekick
2208ee913e6e2c181d0c27bec85495d3595d980c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/PMFTools from __future__ import with_statement import HAConf, GenerateCGSystem import os gromacs = HAConf.configuration['gromacs_location'] def UmbrellaGenerate(name="umbrella",window=None): #Need to generate 2 files; an index file with a group representing lipids and backbone, and a ppa file lipid_mixtu...
37.391304
134
0.695349
134
860
4.328358
0.544776
0.096552
0.048276
0
0
0
0
0
0
0
0
0.019526
0.166279
860
23
135
37.391304
0.7894
0.138372
0
0
1
0.055556
0.3
0
0
0
0
0
0
1
0.055556
false
0
0.166667
0
0.222222
0.388889
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
a4c6f58e48093854cc05256d0ebaaeb4f2b8e8a4
6,189
py
Python
lio/alg/train_v0.py
woithook/LIO
8ec884ab7134a1ab7d8dd8922d4935e74f607446
[ "MIT" ]
1
2021-11-28T21:34:35.000Z
2021-11-28T21:34:35.000Z
lio/alg/train_v0.py
woithook/LIO
8ec884ab7134a1ab7d8dd8922d4935e74f607446
[ "MIT" ]
null
null
null
lio/alg/train_v0.py
woithook/LIO
8ec884ab7134a1ab7d8dd8922d4935e74f607446
[ "MIT" ]
null
null
null
""" Reproduction of LIO in the Escape Room Version 0.0: Constructed a whole framework consisting of policy network with A2C and reward giving network. policy net works but reward giving net can not learning correctly. ToDo: To fix reward giving net by checking the gradient graph. To rearrange the duplicated code with...
32.403141
137
0.597996
807
6,189
4.297398
0.184634
0.032295
0.025952
0.041522
0.577278
0.517013
0.475779
0.475779
0.475779
0.475779
0
0.008306
0.319115
6,189
190
138
32.573684
0.814665
0.105995
0
0.408
0
0
0.001452
0
0
0
0
0.010526
0
1
0.016
false
0.008
0.072
0
0.096
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a4cf20218a2129969f205db1ff1f461d8db47e40
633
py
Python
app/main.py
WadeBarnes/aries-cloudapi-python
d4d0734b3cc3a62eaf3f7a696d332eec253dea2d
[ "Apache-2.0" ]
null
null
null
app/main.py
WadeBarnes/aries-cloudapi-python
d4d0734b3cc3a62eaf3f7a696d332eec253dea2d
[ "Apache-2.0" ]
null
null
null
app/main.py
WadeBarnes/aries-cloudapi-python
d4d0734b3cc3a62eaf3f7a696d332eec253dea2d
[ "Apache-2.0" ]
null
null
null
from fastapi import Depends, FastAPI from dependencies import get_query_token, get_token_header from admin import admin from routers import holder, issuer, verifier, wallet, schema, governance # app = FastAPI(dependencies=[Depends(get_query_token)]) app = FastAPI() app.include_router(schema.router) app.include_rout...
25.32
72
0.71248
82
633
5.365854
0.512195
0.068182
0.109091
0.1
0
0
0
0
0
0
0
0.005566
0.148499
633
24
73
26.375
0.810761
0.371248
0
0
0
0
0.120823
0
0
0
0
0
0
1
0
false
0
0.4
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a4d7aeb2291b8907e9e4099e542a5021326dcbfe
508
py
Python
main.py
miaoski/seaglass-sim800l
7eb2009a596de933f78ebe48a1781e931b7528fa
[ "MIT" ]
1
2018-02-10T18:02:54.000Z
2018-02-10T18:02:54.000Z
main.py
miaoski/seaglass-sim800l
7eb2009a596de933f78ebe48a1781e931b7528fa
[ "MIT" ]
null
null
null
main.py
miaoski/seaglass-sim800l
7eb2009a596de933f78ebe48a1781e931b7528fa
[ "MIT" ]
null
null
null
# -*- coding: utf8 -*- from time import sleep import gps import gsm import json import sqlite3 db = sqlite3.connect('seaglass.sq3') cur = db.cursor() print 'IMEI =', gsm.getIMEI() while True: xs = gps.readGLL() netscan = gsm.doCNETSCAN() ceng = gsm.getCENG() if netscan: xs['netscan'] = netsca...
20.32
81
0.614173
68
508
4.588235
0.588235
0.057692
0.070513
0
0
0
0
0
0
0
0
0.017812
0.226378
508
24
82
21.166667
0.776081
0.03937
0
0
0
0
0.148148
0
0
0
0
0
0
0
null
null
0
0.25
null
null
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
1
0
0
0
0
0
0
0
0
1
a4db59929ed76600788909ec9cfd8bcecca3dc03
8,051
py
Python
tests/fugue/column/test_expressions.py
kvnkho/fugue
5f3fe8f1fb72632e5b5987d720c1d1ef546e4682
[ "Apache-2.0" ]
547
2020-09-22T08:30:14.000Z
2022-03-30T23:11:05.000Z
tests/fugue/column/test_expressions.py
kvnkho/fugue
5f3fe8f1fb72632e5b5987d720c1d1ef546e4682
[ "Apache-2.0" ]
196
2020-09-22T23:08:26.000Z
2022-03-26T21:22:48.000Z
tests/fugue/column/test_expressions.py
kvnkho/fugue
5f3fe8f1fb72632e5b5987d720c1d1ef546e4682
[ "Apache-2.0" ]
37
2020-09-23T17:05:00.000Z
2022-03-29T18:26:52.000Z
import pyarrow as pa from fugue.column import col, function, lit, null from fugue.column.expressions import _get_column_mentions from fugue.column.functions import coalesce from pytest import raises from triad import Schema, to_uuid def test_named_col(): assert "*" == str(col("*")) assert col("*").wildcard ...
38.89372
83
0.538567
1,303
8,051
3.231005
0.056025
0.074109
0.114014
0.119715
0.722565
0.678147
0.568884
0.484798
0.421853
0.364846
0
0.019803
0.178363
8,051
206
84
39.082524
0.616629
0
0
0.054878
0
0
0.126568
0.024966
0
0
0
0
0.786585
1
0.054878
false
0
0.036585
0
0.091463
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
a4dbc771b69860190038d7c479b2d3b45f5f32ef
1,834
py
Python
python/pool.py
WAdev0/Python_TWS_REST_API_samples
52324dba15f9a99c223b8abcb6bafff197b7953d
[ "Apache-2.0" ]
5
2020-03-08T16:09:22.000Z
2022-02-25T15:17:20.000Z
python/pool.py
WAdev0/Python_TWS_REST_API_samples
52324dba15f9a99c223b8abcb6bafff197b7953d
[ "Apache-2.0" ]
null
null
null
python/pool.py
WAdev0/Python_TWS_REST_API_samples
52324dba15f9a99c223b8abcb6bafff197b7953d
[ "Apache-2.0" ]
1
2021-05-25T16:49:23.000Z
2021-05-25T16:49:23.000Z
#!/usr/bin/python ############################################################################# # Licensed Materials - Property of HCL* # (C) Copyright HCL Technologies Ltd. 2017, 2018 All rights reserved. # * Trademark of HCL Technologies Limited ########################################################################...
33.345455
126
0.627045
230
1,834
4.956522
0.430435
0.028947
0.02807
0.021053
0.057895
0.057895
0.057895
0.057895
0
0
0
0.006966
0.13904
1,834
54
127
33.962963
0.71501
0.128135
0
0
0
0
0.386648
0.021558
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.1875
0
0
0
null
0
0
0
0
0
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
a4e78b7ed89b9a2ff041df1198332678f04bd7e6
401
py
Python
spyder-remote-server/spyder_remote_server/constants.py
goanpeca/spyder-remote
5c4d702c2f1ad0c924e328ca6c32d15e5a9b38d6
[ "MIT" ]
3
2020-09-08T19:47:29.000Z
2022-03-31T19:18:45.000Z
spyder-remote-server/spyder_remote_server/constants.py
goanpeca/spyder-remote
5c4d702c2f1ad0c924e328ca6c32d15e5a9b38d6
[ "MIT" ]
21
2020-08-02T13:20:08.000Z
2021-08-19T12:52:42.000Z
spyder-remote-server/spyder_remote_server/constants.py
goanpeca/spyder-remote
5c4d702c2f1ad0c924e328ca6c32d15e5a9b38d6
[ "MIT" ]
3
2020-07-31T11:36:21.000Z
2022-03-31T19:19:00.000Z
# Copyright (c) Semi-ATE # Distributed under the terms of the MIT License import os SERVICE_TYPE = "_sdk._tcp.local." DISCOVER_SERVICE_TYPE = "_spyder_remote_discover._tcp.local." KERNEL_SERVICE_TYPE = "_spyder_remote_kernel._tcp.local." # Number of cores AUTO = 0 HERE = os.path.abspath(os.path.dirname(__...
26.733333
62
0.745636
61
401
4.52459
0.557377
0.119565
0.123188
0.166667
0
0
0
0
0
0
0
0.002915
0.144638
401
14
63
28.642857
0.801749
0.21197
0
0
0
0
0.315436
0.228188
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
a4e81dcf1258ccf465eeab79930b7fd8fbab83c7
1,008
py
Python
src/utils/reports.py
bonheml/SESAM
22a96eac40a88462221b02c2619ec5eee43566b6
[ "MIT" ]
null
null
null
src/utils/reports.py
bonheml/SESAM
22a96eac40a88462221b02c2619ec5eee43566b6
[ "MIT" ]
3
2020-11-13T18:44:38.000Z
2022-02-10T01:48:35.000Z
src/utils/reports.py
bonheml/SESAM
22a96eac40a88462221b02c2619ec5eee43566b6
[ "MIT" ]
null
null
null
from zipfile import ZipFile import numpy as np def generate_report(task_a, task_b, task_c, save=True, zipname="res.zip"): report = "" task_a = task_a - 1 for i in range(task_a.shape[0]): task_b_str = np.array2string(task_b[i], separator="")[1:-1] task_c_str = np.array2string(task_c[i], sep...
32.516129
116
0.62004
162
1,008
3.580247
0.364198
0.060345
0.056897
0.077586
0.155172
0.1
0.1
0.1
0
0
0
0.010152
0.218254
1,008
30
117
33.6
0.725888
0
0
0
1
0
0.130089
0
0
0
0
0
0
1
0.086957
false
0
0.086957
0
0.26087
0.043478
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
a4ebe669b68dea74e7376ff3453e99eda3ebb40b
5,480
py
Python
src/Get_consensus.py
DanilKrivonos/NanoMet
13fe860fbffae2ace20f893a7bd5eee31d35ff3a
[ "MIT" ]
null
null
null
src/Get_consensus.py
DanilKrivonos/NanoMet
13fe860fbffae2ace20f893a7bd5eee31d35ff3a
[ "MIT" ]
null
null
null
src/Get_consensus.py
DanilKrivonos/NanoMet
13fe860fbffae2ace20f893a7bd5eee31d35ff3a
[ "MIT" ]
null
null
null
import os import numpy as np from os import listdir from tqdm import tqdm from subprocess import call from pandas import read_csv def get_closer_seq(cluster_out, out_dir, threads): output = '{}/FastANI_result/'.format(out_dir) os.mkdir(output) for cluster in tqdm(listdir(cluster_out)): ...
72.105263
243
0.384124
406
5,480
5.019704
0.214286
0.050049
0.100098
0.055937
0.544161
0.430815
0.370952
0.303729
0.264966
0.264966
0
0.003805
0.520438
5,480
75
244
73.066667
0.77169
0.035584
0
0.326923
0
0.076923
0.197695
0.137368
0
0
0
0
0
1
0.038462
false
0
0.115385
0
0.153846
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
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
a4edcffb89f20307edf82dac982cd3cc66728738
1,250
py
Python
var/spack/repos/builtin/packages/r-watermelon/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
11
2015-10-04T02:17:46.000Z
2018-02-07T18:23:00.000Z
var/spack/repos/builtin/packages/r-watermelon/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
22
2017-08-01T22:45:10.000Z
2022-03-10T07:46:31.000Z
var/spack/repos/builtin/packages/r-watermelon/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
4
2016-06-10T17:57:39.000Z
2018-09-11T04:59:38.000Z
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class RWatermelon(RPackage): """Illumina 450 methylation array normalization and metrics. 1...
40.322581
87
0.688
159
1,250
5.345912
0.515723
0.105882
0.117647
0.178824
0.207059
0.207059
0
0
0
0
0
0.118849
0.1384
1,250
30
88
41.666667
0.670381
0.2936
0
0
0
0
0.413395
0.191686
0
0
0
0
0
1
0
false
0
0.0625
0
0.1875
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
a4f278a7571e87ff6768b11043d90d6c835929ba
2,625
py
Python
whoisleak.py
alex14324/whoisleak
513435ebb64061352c0263e5ddbd0932b3838278
[ "MIT" ]
62
2018-05-18T00:33:53.000Z
2021-12-15T00:15:33.000Z
whoisleak.py
alex14324/whoisleak
513435ebb64061352c0263e5ddbd0932b3838278
[ "MIT" ]
2
2018-05-18T06:14:12.000Z
2019-01-15T17:50:55.000Z
whoisleak.py
alex14324/whoisleak
513435ebb64061352c0263e5ddbd0932b3838278
[ "MIT" ]
18
2018-05-18T03:54:47.000Z
2021-07-13T13:57:40.000Z
import whois import argparse import requests import cfscrape import json import Image, ImageFont, ImageDraw import time def searching(url): search = whois.whois(url) return search.email def consult(email): try: r = requests.get('https://hacked-emails.com/api?q='+email) if r.status_code is 200: result ...
23.230088
157
0.663238
368
2,625
4.690217
0.402174
0.032445
0.026072
0.019119
0.205098
0.17613
0.122827
0.122827
0.122827
0.122827
0
0.031925
0.188571
2,625
112
158
23.4375
0.778404
0.034667
0
0.117647
0
0
0.337549
0
0
0
0
0
0
0
null
null
0
0.102941
null
null
0.176471
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a4f2c049b64ddfc3511938661951861647300247
4,274
py
Python
metta/types/ndarray_pb2.py
metta-team/metta-python
84afa745494171d37284ed9dce4ab75dbef8a54a
[ "Apache-2.0" ]
null
null
null
metta/types/ndarray_pb2.py
metta-team/metta-python
84afa745494171d37284ed9dce4ab75dbef8a54a
[ "Apache-2.0" ]
1
2021-07-12T20:48:47.000Z
2021-07-12T20:48:47.000Z
metta/types/ndarray_pb2.py
metta-team/metta-python
84afa745494171d37284ed9dce4ab75dbef8a54a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: proto/ndarray.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.p...
29.475862
277
0.610669
452
4,274
5.455752
0.283186
0.042174
0.069343
0.065693
0.404298
0.383212
0.383212
0.35077
0.319951
0.319951
0
0.037916
0.29036
4,274
144
278
29.680556
0.77514
0.060365
0
0.512
1
0.008
0.108864
0.068414
0
0
0
0
0
1
0
false
0
0.04
0
0.04
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
a4fb7cc16e66dcc048522e9e44f7f5e089f309b5
3,179
py
Python
nordlys/wikipedia/annot_extractor.py
tc64/TAGME-Reproducibility
79011798bb155555b1b164722693a6b9ae487e4f
[ "MIT" ]
47
2016-09-15T21:56:19.000Z
2022-03-17T20:48:44.000Z
nordlys/wikipedia/annot_extractor.py
tc64/TAGME-Reproducibility
79011798bb155555b1b164722693a6b9ae487e4f
[ "MIT" ]
1
2021-05-21T20:16:03.000Z
2021-05-26T09:07:10.000Z
nordlys/wikipedia/annot_extractor.py
tc64/TAGME-Reproducibility
79011798bb155555b1b164722693a6b9ae487e4f
[ "MIT" ]
16
2016-09-10T12:45:08.000Z
2021-06-22T13:05:51.000Z
""" Extracts annotations from processed Wikipedia articles and writes them in .tsv files. author: Faegheh Hasibi """ import argparse import os import re from datetime import datetime tagRE = re.compile(r'(.*?)(<(/?\w+)[^>]*>)(?:([^<]*)(<.*?>)?)?') idRE = re.compile(r'id="([0-9]+)"') titleRE = re.compile(r'title="(.*...
35.322222
114
0.547027
417
3,179
3.997602
0.29976
0.029394
0.023995
0.023395
0.115177
0.115177
0.062388
0.035993
0
0
0
0.00647
0.319283
3,179
89
115
35.719101
0.763863
0.018245
0
0.109375
0
0
0.123191
0.015213
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.078125
0
0
0
null
0
0
0
0
0
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
a4fbd6ac8dc228daa46414e4d78f6781e79f644c
1,150
py
Python
eth_tester/utils/transactions.py
kclowes/eth-tester
e297f6f392c6dad4de93ab27b7519915d303e893
[ "MIT" ]
234
2017-11-29T03:47:48.000Z
2022-03-31T21:45:01.000Z
eth_tester/utils/transactions.py
kclowes/eth-tester
e297f6f392c6dad4de93ab27b7519915d303e893
[ "MIT" ]
138
2017-11-29T04:01:02.000Z
2022-02-23T20:41:13.000Z
eth_tester/utils/transactions.py
kclowes/eth-tester
e297f6f392c6dad4de93ab27b7519915d303e893
[ "MIT" ]
97
2017-11-28T22:29:33.000Z
2022-03-31T21:45:06.000Z
# TODO: Should this be moved to a common package like eth-utils? from eth_utils import ( to_list, ) VALID_TRANSACTION_PARAMS = [ 'type', 'chain_id', 'from', 'to', 'gas', 'gas_price', 'max_fee_per_gas', 'max_priority_fee_per_gas', 'value', 'data', 'nonce', 'access_li...
24.468085
94
0.655652
151
1,150
4.715232
0.410596
0.143258
0.050562
0.050562
0.039326
0
0
0
0
0
0
0.01496
0.244348
1,150
46
95
25
0.804373
0.117391
0
0
0
0
0.163043
0.023715
0
0
0.008893
0.021739
0
1
0.081081
false
0
0.027027
0.054054
0.162162
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
350e43f8a4f68a4c1cd3f57fc2747f8175daad39
444
py
Python
sh_app/migrations/0004_auto_20160514_2316.py
allenkim/skill-huddle
5f2fab44f40df7dec889270ea18308b40b80478e
[ "MIT" ]
null
null
null
sh_app/migrations/0004_auto_20160514_2316.py
allenkim/skill-huddle
5f2fab44f40df7dec889270ea18308b40b80478e
[ "MIT" ]
null
null
null
sh_app/migrations/0004_auto_20160514_2316.py
allenkim/skill-huddle
5f2fab44f40df7dec889270ea18308b40b80478e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-05-15 03:16 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('sh_app', '0003_suggestion_is_achieved'), ] operations = [ migrations.RenameField( ...
21.142857
50
0.619369
50
444
5.22
0.76
0.076628
0
0
0
0
0
0
0
0
0
0.061538
0.268018
444
20
51
22.2
0.741538
0.150901
0
0
1
0
0.173797
0.072193
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
35182251e87297a12ddfde1a6daf6df555404c0e
1,711
py
Python
examples/python/test_account.py
SmartEconomyWorkshop/workshop
5961dcc8832f60b3a0407cb9a8361ba5485ac280
[ "MIT" ]
79
2017-10-22T03:35:06.000Z
2021-12-02T10:28:06.000Z
examples/python/test_account.py
SmartEconomyWorkshop/workshop
5961dcc8832f60b3a0407cb9a8361ba5485ac280
[ "MIT" ]
122
2017-10-19T12:34:08.000Z
2020-08-20T12:38:17.000Z
examples/python/test_account.py
SmartEconomyWorkshop/workshop
5961dcc8832f60b3a0407cb9a8361ba5485ac280
[ "MIT" ]
76
2017-10-19T05:09:55.000Z
2020-12-08T12:03:59.000Z
from boa_test.tests.boa_test import BoaFixtureTest from boa.compiler import Compiler from neo.Core.TX.Transaction import Transaction from neo.Prompt.Commands.BuildNRun import TestBuild class TestContract(BoaFixtureTest): def test_Account(self): output = Compiler.instance().load('%s/boa_test/example/bloc...
43.871795
121
0.676213
212
1,711
5.34434
0.358491
0.132392
0.061783
0.075022
0.536628
0.536628
0.536628
0.536628
0.503089
0.349515
0
0.043847
0.173583
1,711
38
122
45.026316
0.757426
0
0
0.185185
0
0.037037
0.099357
0.055523
0
0
0
0
0.407407
1
0.037037
false
0
0.148148
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
3523a3b8074676aa0229cf03be7ac0abbe2a6781
4,525
py
Python
fabric_cf/actor/core/proxies/local/local_authority.py
fabric-testbed/ActorBase
3c7dd040ee79fef0759e66996c93eeec57c790b2
[ "MIT" ]
null
null
null
fabric_cf/actor/core/proxies/local/local_authority.py
fabric-testbed/ActorBase
3c7dd040ee79fef0759e66996c93eeec57c790b2
[ "MIT" ]
67
2020-12-21T15:39:49.000Z
2022-02-27T17:55:00.000Z
fabric_cf/actor/core/proxies/local/local_authority.py
fabric-testbed/ControlFramework
95ab745e32f15c993bc7a017aa97a5a0f67f210f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # MIT License # # Copyright (c) 2020 FABRIC Testbed # # 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 ...
55.864198
123
0.76442
511
4,525
6.626223
0.35225
0.032487
0.038984
0.055227
0.360898
0.334022
0.318074
0.293266
0.21707
0.21707
0
0.001853
0.165083
4,525
80
124
56.5625
0.894389
0.249945
0
0.209302
0
0
0.003562
0
0
0
0
0
0
1
0.139535
false
0.046512
0.255814
0.093023
0.55814
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
352f2d9902385115972d7ef53a5001a5240d100f
3,158
py
Python
AI_Tower_Defense/src/projectile/rangeProjectile.py
aasquier/AI_Tower_Defense
9430fade5083e61620d6af5e6f09502a671271d9
[ "MIT" ]
null
null
null
AI_Tower_Defense/src/projectile/rangeProjectile.py
aasquier/AI_Tower_Defense
9430fade5083e61620d6af5e6f09502a671271d9
[ "MIT" ]
null
null
null
AI_Tower_Defense/src/projectile/rangeProjectile.py
aasquier/AI_Tower_Defense
9430fade5083e61620d6af5e6f09502a671271d9
[ "MIT" ]
null
null
null
import os import pygame import random import math import enum from .projectile import Projectile from .projectile import DamageType from animations.animation import Animation # base class for ranged projectiles class RangeProjectile(Projectile): def __init__(self, towerPosition, enemy, enemies): super()....
31.58
101
0.630462
365
3,158
5.432877
0.383562
0.042864
0.013616
0.022189
0.022189
0
0
0
0
0
0
0.017731
0.285624
3,158
99
102
31.89899
0.861259
0.200443
0
0.107143
0
0
0
0
0
0
0
0.010101
0
1
0.142857
false
0
0.142857
0.035714
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1