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
896ccdee096faa75f037665b2b0f87f93f06154a
1,815
py
Python
autogoal/contrib/streamlit/__init__.py
gmijenes/autogoal
916b0eb4d1aa1a222d0ff1b0f6f202bf56458ef5
[ "MIT" ]
null
null
null
autogoal/contrib/streamlit/__init__.py
gmijenes/autogoal
916b0eb4d1aa1a222d0ff1b0f6f202bf56458ef5
[ "MIT" ]
null
null
null
autogoal/contrib/streamlit/__init__.py
gmijenes/autogoal
916b0eb4d1aa1a222d0ff1b0f6f202bf56458ef5
[ "MIT" ]
null
null
null
try: import streamlit as st except ImportError: print( "(!) The code inside `autogoal.contrib.streamlit` requires `streamlit>=0.55`." ) print("(!) Fix it by running `pip install autogoal[streamlit]`.") raise from autogoal.search import Logger class StreamlitLogger(Logger): ...
32.410714
87
0.6
218
1,815
4.87156
0.33945
0.060264
0.037665
0.020716
0.056497
0
0
0
0
0
0
0.014537
0.27989
1,815
55
88
33
0.79648
0
0
0.086957
0
0.021739
0.221023
0.073864
0
0
0
0
0
1
0.130435
false
0
0.065217
0
0.217391
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
0
0
0
0
0
0
0
0
1
0
896d186eab4c273d1fcc4a39b1e7daa5cc6508b0
3,179
py
Python
lib/Shade/storage/Completer.py
maarons/Shade
34a223f2121664df3fc0834b32e13a84797e1084
[ "MIT" ]
null
null
null
lib/Shade/storage/Completer.py
maarons/Shade
34a223f2121664df3fc0834b32e13a84797e1084
[ "MIT" ]
null
null
null
lib/Shade/storage/Completer.py
maarons/Shade
34a223f2121664df3fc0834b32e13a84797e1084
[ "MIT" ]
null
null
null
# Copyright (c) 2011, 2012, 2013 Marek Sapota # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation # files (the "Software"), to deal in the Software without # restriction, including without limitation the rights to use, # copy, modify, merge, p...
38.768293
79
0.595156
382
3,179
4.850785
0.5
0.058284
0.026983
0
0
0
0
0
0
0
0
0.007016
0.327461
3,179
81
80
39.246914
0.859682
0.468701
0
0.086957
0
0
0.033173
0
0
0
0
0
0
1
0.086957
false
0.021739
0.021739
0
0.173913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
896d5d0ada4c6f624396d6861f892d9e9cc3434d
1,701
py
Python
dm_page/migrations/0029_auto_20210827_1452.py
AlexanderHalsey/Donation-Manager
5655d1eb6394f7db9a178c081039c4e149ef6998
[ "Unlicense" ]
null
null
null
dm_page/migrations/0029_auto_20210827_1452.py
AlexanderHalsey/Donation-Manager
5655d1eb6394f7db9a178c081039c4e149ef6998
[ "Unlicense" ]
null
null
null
dm_page/migrations/0029_auto_20210827_1452.py
AlexanderHalsey/Donation-Manager
5655d1eb6394f7db9a178c081039c4e149ef6998
[ "Unlicense" ]
null
null
null
# Generated by Django 3.1.7 on 2021-08-27 14:52 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dm_page', '0028_contact_is_facilitator'), ] operations = [ migrations.AlterField( model_name='c...
37.8
132
0.629042
193
1,701
5.388601
0.243523
0.061538
0.094231
0.148077
0.671154
0.671154
0.513462
0.513462
0.513462
0.513462
0
0.014786
0.244562
1,701
44
133
38.659091
0.794553
0.026455
0
0.526316
1
0
0.149335
0.016324
0
0
0
0
0
1
0
false
0
0.052632
0
0.131579
0
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
8972396cf9b6b7c254bf9de4a9b69db47d733679
2,414
py
Python
examples/interface/CP.py
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
1
2015-12-08T22:54:37.000Z
2015-12-08T22:54:37.000Z
examples/interface/CP.py
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
null
null
null
examples/interface/CP.py
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
null
null
null
# # Copyright (c) 2009-2015, Jack Poulson # All rights reserved. # # This file is part of Elemental and is under the BSD 2-Clause License, # which can be found in the LICENSE file in the root directory, or at # http://opensource.org/licenses/BSD-2-Clause # import El import time m = 4000 n = 2000 display = True ...
25.956989
73
0.630075
373
2,414
4.042895
0.337802
0.023873
0.083554
0.086207
0.18634
0.127321
0.092838
0.092838
0
0
0
0.02496
0.219967
2,414
92
74
26.23913
0.77589
0.157829
0
0.097222
0
0
0.083168
0
0
0
0
0
0
0
null
null
0
0.027778
null
null
0.097222
0
0
0
null
0
0
0
0
0
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
897282b1225402f34c02a3d173efb231094cfc04
1,062
py
Python
ealgebra.py
LiDReSaR/algebra
ecf6a27439f3f7dcdb088bcb27c46122125fcd9d
[ "MIT" ]
2
2020-01-13T19:57:42.000Z
2020-01-14T18:42:11.000Z
ealgebra.py
LiDReSaR/algebra
ecf6a27439f3f7dcdb088bcb27c46122125fcd9d
[ "MIT" ]
null
null
null
ealgebra.py
LiDReSaR/algebra
ecf6a27439f3f7dcdb088bcb27c46122125fcd9d
[ "MIT" ]
null
null
null
__version__ = '0.0.4' def phi(n: int) -> int: """Euler function Parameters: n (int): Number Returns: int: Result """ res, i = n, 2 while i * i <= n: if n % i == 0: while n % i == 0: n //= i res -= res // i i += 1 if n >...
12.795181
34
0.431262
142
1,062
3.197183
0.246479
0.052863
0.140969
0.125551
0.306167
0.202643
0.202643
0.202643
0.202643
0.202643
0
0.023064
0.428437
1,062
82
35
12.95122
0.724876
0.323917
0
0.076923
0
0
0.008319
0
0
0
0
0
0
1
0.153846
false
0
0
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89734318911678f29e1f240cbaf0439095d72eff
1,016
py
Python
old/bisenetv2/meters.py
khsily/BiSeNet
7373cbb76f893c698dab8865306264fc2a3ca0a4
[ "MIT" ]
966
2018-12-13T12:11:18.000Z
2022-03-31T14:13:55.000Z
old/bisenetv2/meters.py
khsily/BiSeNet
7373cbb76f893c698dab8865306264fc2a3ca0a4
[ "MIT" ]
214
2019-01-25T10:06:24.000Z
2022-03-22T01:55:28.000Z
old/bisenetv2/meters.py
khsily/BiSeNet
7373cbb76f893c698dab8865306264fc2a3ca0a4
[ "MIT" ]
247
2019-03-04T11:39:06.000Z
2022-03-30T05:45:56.000Z
import time import datetime class TimeMeter(object): def __init__(self, max_iter): self.iter = 0 self.max_iter = max_iter self.st = time.time() self.global_st = self.st self.curr = self.st def update(self): self.iter += 1 def get(self): self.curr ...
23.090909
78
0.574803
137
1,016
4.10219
0.240876
0.106762
0.092527
0.060498
0.067616
0
0
0
0
0
0
0.004237
0.30315
1,016
43
79
23.627907
0.789548
0
0
0.125
0
0
0
0
0
0
0
0
0
1
0.1875
false
0
0.0625
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
0
0
0
0
0
0
1
0
89737894de02186c1f7503654873acb36fbc2267
6,556
py
Python
QFT_ram_reader_writer_metafied.py
woodrush/QFT-devkit
8a2789c89e526a593fb56edab508ed56a6321c20
[ "MIT" ]
null
null
null
QFT_ram_reader_writer_metafied.py
woodrush/QFT-devkit
8a2789c89e526a593fb56edab508ed56a6321c20
[ "MIT" ]
null
null
null
QFT_ram_reader_writer_metafied.py
woodrush/QFT-devkit
8a2789c89e526a593fb56edab508ed56a6321c20
[ "MIT" ]
null
null
null
from glife import * import golly as g s1 = g.getstring("Enter stack size:", "233") s2 = g.getstring("Enter stdin buffer starting address:", "290") s3 = g.getstring("Enter stdout buffer starting address:", "790") # calc.c RAM_NEGATIVE_BUFFER_SIZE = int(s1) QFTASM_RAMSTDIN_BUF_STARTPOSITION = int(s2) + RAM_NEGATIVE_BU...
31.825243
141
0.623703
1,017
6,556
3.747296
0.187807
0.012595
0.035686
0.062976
0.25059
0.196536
0.16741
0.13461
0.12254
0.110732
0
0.057956
0.244661
6,556
205
142
31.980488
0.711632
0.061318
0
0.163399
0
0.013072
0.125081
0
0
0
0
0.004878
0
1
0.071895
false
0
0.013072
0.006536
0.130719
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8973de1b669b61e0aa3358d6ae11021869cf1108
844
py
Python
app/meda_sync_search/models/equipment.py
DEV3L/meda-sync-search
c67feb2f2b54ba153dc50e9aba5058d4e7948c92
[ "Beerware" ]
null
null
null
app/meda_sync_search/models/equipment.py
DEV3L/meda-sync-search
c67feb2f2b54ba153dc50e9aba5058d4e7948c92
[ "Beerware" ]
null
null
null
app/meda_sync_search/models/equipment.py
DEV3L/meda-sync-search
c67feb2f2b54ba153dc50e9aba5058d4e7948c92
[ "Beerware" ]
null
null
null
from app.meda_sync_search.models.model import Model class Equipment(Model): def __init__(self, *, description='', hcpcs='', average_cost=0, category='', modifier=''): super().__init__(description=description) sel...
29.103448
64
0.545024
81
844
5.320988
0.345679
0.12761
0.069606
0
0
0
0
0
0
0
0
0.001852
0.36019
844
28
65
30.142857
0.796296
0
0
0
0
0
0
0
0
0
0
0
0
1
0.136364
false
0
0.045455
0.045455
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8974ddb734130878e03e5d77f48d49024373a773
1,649
py
Python
src/tf/cluster/train.py
juanprietob/gan-brain
5783514427e0f08bb06116bc3b09e38d13216483
[ "Apache-2.0" ]
1
2018-01-10T23:59:20.000Z
2018-01-10T23:59:20.000Z
src/tf/cluster/train.py
juanprietob/gan-brain
5783514427e0f08bb06116bc3b09e38d13216483
[ "Apache-2.0" ]
null
null
null
src/tf/cluster/train.py
juanprietob/gan-brain
5783514427e0f08bb06116bc3b09e38d13216483
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf cluster = tf.train.ClusterSpec({ "worker": [ "localhost:2223", ], "ps": [ "152.19.32.251:2222" ]}) server = tf.train.Server(cluster, job_name='worker', task_index=0) with tf.device("/job:ps/task:0"): image = tf.get_variable("images", shape=[5,5], dt...
38.348837
147
0.671922
231
1,649
4.632035
0.398268
0.03271
0.048598
0.056075
0.293458
0.293458
0.293458
0.293458
0.293458
0.293458
0
0.051111
0.181322
1,649
43
148
38.348837
0.741481
0
0
0
0
0
0.082424
0.017576
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
897553789aacbc17dcfc8919505f6b267a51d7e1
5,780
py
Python
aleph_message/tests/test_models.py
leirbag95/aleph-message
3b942e761a253126fb0240a3bce342db0a7333d2
[ "MIT" ]
null
null
null
aleph_message/tests/test_models.py
leirbag95/aleph-message
3b942e761a253126fb0240a3bce342db0a7333d2
[ "MIT" ]
null
null
null
aleph_message/tests/test_models.py
leirbag95/aleph-message
3b942e761a253126fb0240a3bce342db0a7333d2
[ "MIT" ]
null
null
null
import json import os.path from hashlib import sha256 from os import listdir from os.path import join, isdir from pprint import pprint import pytest import requests from pydantic import ValidationError from aleph_message.models import MessagesResponse, Message, ProgramMessage, ForgetMessage, \ PostContent from al...
33.410405
177
0.690311
671
5,780
5.731744
0.211624
0.080603
0.024961
0.039522
0.51222
0.478419
0.436557
0.404576
0.380135
0.369995
0
0.071719
0.191869
5,780
172
178
33.604651
0.751659
0.048616
0
0.47619
0
0
0.21774
0.153495
0
0
0.025552
0
0.111111
1
0.079365
false
0
0.087302
0
0.166667
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8976eae594b4584e64e8e97c683b3a1f51871c22
3,767
py
Python
19-python/BeaconScanner.py
kmolski/aoc-2021
59288c5deca1d65208573123c972fea37fbb3f9e
[ "MIT" ]
1
2022-01-06T22:22:28.000Z
2022-01-06T22:22:28.000Z
19-python/BeaconScanner.py
kmolski/aoc-2021
59288c5deca1d65208573123c972fea37fbb3f9e
[ "MIT" ]
null
null
null
19-python/BeaconScanner.py
kmolski/aoc-2021
59288c5deca1d65208573123c972fea37fbb3f9e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from io import StringIO from itertools import groupby, permutations, product from math import cos, sin, radians from sys import argv import numpy as np INTERSECTION_SIZE = 12 MATCHING_DIST_COUNT = (INTERSECTION_SIZE * (INTERSECTION_SIZE - 1)) / 2 SIN_90 = sin(radians(90)) COS_90 = cos(radians...
29.429688
87
0.664454
576
3,767
4.107639
0.237847
0.009298
0.010144
0.018597
0.220203
0.11623
0.082418
0.082418
0.048183
0.030431
0
0.026771
0.216618
3,767
127
88
29.661417
0.774992
0.005575
0
0.034884
0
0
0.021629
0.00721
0
0
0
0
0
1
0.162791
false
0
0.05814
0.05814
0.383721
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
897a254918d1fb162762d25214144081e7c6e2d7
39
py
Python
androidframer/__init__.py
abc22413/androidframer
67cb721964f1a27ecbda5b6e84ccb49e75b0c458
[ "Apache-2.0" ]
80
2019-08-03T12:26:22.000Z
2020-06-13T11:43:55.000Z
androidframer/__init__.py
abc22413/androidframer
67cb721964f1a27ecbda5b6e84ccb49e75b0c458
[ "Apache-2.0" ]
7
2019-08-03T09:50:28.000Z
2020-07-01T17:10:10.000Z
androidframer/__init__.py
abc22413/androidframer
67cb721964f1a27ecbda5b6e84ccb49e75b0c458
[ "Apache-2.0" ]
7
2020-07-06T11:27:08.000Z
2021-02-24T11:45:47.000Z
from androidframer.framer import Framer
39
39
0.897436
5
39
7
0.8
0
0
0
0
0
0
0
0
0
0
0
0.076923
39
1
39
39
0.972222
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
897a3cad9732f828a836a54ac4bd026a55f0492c
1,024
py
Python
server/test/exception_test.py
cwh98/calendar
5d13f0dd8047a065cabc62503177f39f429567e7
[ "MIT" ]
4
2019-07-15T04:31:18.000Z
2021-04-29T17:56:44.000Z
server/test/exception_test.py
cwh98/calendar
5d13f0dd8047a065cabc62503177f39f429567e7
[ "MIT" ]
4
2019-05-14T12:04:12.000Z
2019-06-04T09:59:23.000Z
server/test/exception_test.py
cwh98/calendar
5d13f0dd8047a065cabc62503177f39f429567e7
[ "MIT" ]
7
2019-05-15T03:13:06.000Z
2019-08-12T05:12:30.000Z
#!/usr/bin/python # This file includes test cases for calendar # author:makdon # # # # # Life is short, i use Python. import unittest import json import copy from .util import get_status_code_by_request from .util import get_login_cookie from .util import get_response from .util import get_a_calendarId from .util impo...
27.675676
77
0.722656
136
1,024
5.213235
0.441176
0.108604
0.118477
0.09591
0.149506
0
0
0
0
0
0
0.026066
0.175781
1,024
36
78
28.444444
0.813981
0.099609
0
0
0
0
0.108315
0.068928
0
0
0
0
0.090909
1
0.090909
false
0
0.409091
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
897b8decb81a9ceb7fa7fbc4dcdf34ceb70ae499
7,487
py
Python
des2.py
101guptaji/Cryptography
70e52f80f4cbb609d42bd714256ed228f994e57f
[ "MIT" ]
null
null
null
des2.py
101guptaji/Cryptography
70e52f80f4cbb609d42bd714256ed228f994e57f
[ "MIT" ]
null
null
null
des2.py
101guptaji/Cryptography
70e52f80f4cbb609d42bd714256ed228f994e57f
[ "MIT" ]
null
null
null
PC1 = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4] PC2 = [14, 17, 11, 24, 1, 5, 3, 28, 15, ...
29.476378
64
0.467343
1,469
7,487
2.322668
0.100749
0.032825
0.021102
0.025791
0.346717
0.319754
0.291325
0.256448
0.176436
0.176436
0
0.269389
0.316282
7,487
253
65
29.592885
0.397148
0.119941
0
0.166667
0
0
0.025743
0
0
0
0
0
0
1
0.046875
false
0
0
0
0.083333
0.020833
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
897cee4247148463acee605a8d5251ae9c74fc0e
1,518
py
Python
logaspect/groundtruth/split_xml_format.py
studiawan/logaspect
adeb4a5f802ef22329cacb50ea00b090f12f6ebb
[ "MIT" ]
null
null
null
logaspect/groundtruth/split_xml_format.py
studiawan/logaspect
adeb4a5f802ef22329cacb50ea00b090f12f6ebb
[ "MIT" ]
null
null
null
logaspect/groundtruth/split_xml_format.py
studiawan/logaspect
adeb4a5f802ef22329cacb50ea00b090f12f6ebb
[ "MIT" ]
1
2021-11-11T11:41:18.000Z
2021-11-11T11:41:18.000Z
from xml.dom import minidom import xml.etree.ElementTree as Et class SplitXMLFormat(object): def __init__(self, data, output_file): self.data = data self.output_file = output_file @staticmethod def __prettify(elements): """Return a pretty-printed XML string for the Element. ...
33.733333
71
0.583663
172
1,518
5.017442
0.424419
0.057937
0.060255
0
0
0
0
0
0
0
0
0.005703
0.306983
1,518
44
72
34.5
0.814639
0.083004
0
0
0
0
0.068592
0
0
0
0
0
0
1
0.096774
false
0
0.064516
0
0.225806
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
897d8a1a4cebed6675e8d257d5a7f5e1a6d7eaf2
1,510
py
Python
app/Search/schema.py
psyphore/flask-phone-book
cceec3caabdeb03f260d37f3b55d5aa7a52c30c2
[ "MIT" ]
null
null
null
app/Search/schema.py
psyphore/flask-phone-book
cceec3caabdeb03f260d37f3b55d5aa7a52c30c2
[ "MIT" ]
2
2021-03-19T03:39:56.000Z
2021-06-08T20:28:03.000Z
app/Search/schema.py
psyphore/flask-phone-book
cceec3caabdeb03f260d37f3b55d5aa7a52c30c2
[ "MIT" ]
null
null
null
import graphene from graphql import GraphQLError from app.People.models import Person from .service import SearchService from app.People.graphql_types import PersonType from .graphql_types import SearchType, SearchResultType service = SearchService() class SearchQuery(graphene.ObjectType): '''Search Query, ...
33.555556
110
0.686755
187
1,510
5.497326
0.385027
0.021401
0.025292
0.046693
0.289883
0.289883
0.289883
0.227626
0.227626
0.227626
0
0.001672
0.207947
1,510
44
111
34.318182
0.85786
0.043046
0
0.357143
0
0
0.07784
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.464286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
897dc8f53189925ee767800d270c182c2df50742
7,463
py
Python
geonames/migrations/0001_initial.py
fmalina/django-geonames
fe9191629be4b3c400f5c763476428a08f05304a
[ "BSD-2-Clause-FreeBSD" ]
1
2021-11-09T05:27:59.000Z
2021-11-09T05:27:59.000Z
geonames/migrations/0001_initial.py
fmalina/django-geonames
fe9191629be4b3c400f5c763476428a08f05304a
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
geonames/migrations/0001_initial.py
fmalina/django-geonames
fe9191629be4b3c400f5c763476428a08f05304a
[ "BSD-2-Clause-FreeBSD" ]
3
2021-11-09T05:27:46.000Z
2022-03-29T16:44:07.000Z
# Generated by Django 2.2.3 on 2019-08-12 16:17 # import django.contrib.gis.db.models.fields import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( ...
47.234177
169
0.557417
681
7,463
5.976505
0.17768
0.051597
0.034398
0.054054
0.680098
0.634398
0.573219
0.559214
0.547666
0.524079
0
0.031009
0.287016
7,463
157
170
47.535032
0.733885
0.021171
0
0.547297
1
0
0.162444
0
0
0
0
0
0
1
0
false
0
0.013514
0
0.040541
0
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
897fa0ec09d0c1f6b4067a68206a8ac3cfab5cb6
1,180
py
Python
initialization/bustype.py
rwl/rapid
c7c6592327e045f1828b351c498f6cb93b218a21
[ "BSD-3-Clause" ]
4
2021-10-30T02:18:21.000Z
2021-11-02T12:39:05.000Z
initialization/bustype.py
rwl/rapid
c7c6592327e045f1828b351c498f6cb93b218a21
[ "BSD-3-Clause" ]
null
null
null
initialization/bustype.py
rwl/rapid
c7c6592327e045f1828b351c498f6cb93b218a21
[ "BSD-3-Clause" ]
1
2021-10-30T02:18:24.000Z
2021-10-30T02:18:24.000Z
''' MATPOWER Copyright (c) 1996-2016 by Power System Engineering Research Center (PSERC) by Ray Zimmerman, PSERC Cornell This code follows part of MATPOWER. See http://www.pserc.cornell.edu/matpower/ for more info. Modified by Oak Ridge National Laboratory (Byungkwon Park) to be used in the parareal algorithm. ''' imp...
31.052632
107
0.650847
188
1,180
4.005319
0.489362
0.039841
0.063745
0.051793
0.055777
0
0
0
0
0
0
0.029412
0.19322
1,180
37
108
31.891892
0.761555
0.299153
0
0
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0.105263
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
898014b2091b7e026bfe9dfaf15324a72ffbbf12
437
py
Python
blogapp/migrations/0006_auto_20210314_1244.py
NitinPSingh/blogprojlive
769685f22218d31b8eb2195d65d9c3c351e02772
[ "MIT" ]
1
2021-04-06T15:10:09.000Z
2021-04-06T15:10:09.000Z
blogapp/migrations/0006_auto_20210314_1244.py
NitinPSingh/blogprojlive
769685f22218d31b8eb2195d65d9c3c351e02772
[ "MIT" ]
null
null
null
blogapp/migrations/0006_auto_20210314_1244.py
NitinPSingh/blogprojlive
769685f22218d31b8eb2195d65d9c3c351e02772
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-03-14 07:14 import ckeditor.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blogapp', '0005_auto_20210313_1746'), ] operations = [ migrations.AlterField( model_name='post', ...
21.85
72
0.590389
46
437
5.521739
0.782609
0.110236
0
0
0
0
0
0
0
0
0
0.101639
0.30206
437
19
73
23
0.731148
0.102975
0
0
1
0
0.102426
0.061995
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
89806ba532f974ea2b7559062fecb83230464dd3
10,431
py
Python
cheshire3/grid/srboo.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
3
2015-08-02T09:03:28.000Z
2017-12-06T09:26:14.000Z
cheshire3/grid/srboo.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
5
2015-08-17T01:16:35.000Z
2015-09-16T21:51:27.000Z
cheshire3/grid/srboo.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
6
2015-05-17T15:32:20.000Z
2020-04-22T08:43:16.000Z
"""Object Oriented wrapper to Python SRB Interface. Description: Object Oriented wrapper to Python SRB Interface Author: Rob Sanderson (azaroth@liv.ac.uk) Date: 2005-05-12 Version: 0.8 Copyright: (c) University of Liverpool Licence: GPL """ import srb import types import socket import atexit ...
28.735537
81
0.53178
1,215
10,431
4.497942
0.195062
0.04355
0.042818
0.025618
0.249954
0.224703
0.214456
0.187374
0.121134
0.071729
0
0.009959
0.364682
10,431
363
82
28.735537
0.814697
0.070655
0
0.285714
0
0
0.065171
0
0
0
0
0.002755
0.021978
0
null
null
0.032967
0.018315
null
null
0.003663
0
0
0
null
0
0
0
0
0
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
89815f9fce2325c06f32e8ded32f06fbf3f4c405
2,599
py
Python
mllib/utility/logger.py
a4rcvv/mllib
7817abf4cebe6ab859be5927aef09fdaefc82a4d
[ "Unlicense" ]
null
null
null
mllib/utility/logger.py
a4rcvv/mllib
7817abf4cebe6ab859be5927aef09fdaefc82a4d
[ "Unlicense" ]
null
null
null
mllib/utility/logger.py
a4rcvv/mllib
7817abf4cebe6ab859be5927aef09fdaefc82a4d
[ "Unlicense" ]
null
null
null
import logging import os from slack_log_handler import SlackLogHandler STOP_LOG = 100 def make_root_logger(console_loglevel: int = logging.DEBUG, file_loglevel: int = STOP_LOG, slack_loglevel: int = STOP_LOG, log_file_path: str = None) -> logging.Logger: """Generate the root logger, includi...
32.4875
106
0.660639
309
2,599
5.326861
0.297735
0.072904
0.030377
0.04192
0.045565
0
0
0
0
0
0
0.002597
0.259331
2,599
79
107
32.898734
0.852468
0.184686
0
0.044444
0
0.022222
0.121832
0.012183
0
0
0
0
0
1
0.044444
false
0
0.066667
0
0.155556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
898338757509f355846c2cf187edc5ea7c636b57
9,820
py
Python
test_one_image.py
zhouxiaoxu/pytorch-retinanet
72013ee0f46d2da08dd141f143a7a094477aa5e4
[ "Apache-2.0" ]
null
null
null
test_one_image.py
zhouxiaoxu/pytorch-retinanet
72013ee0f46d2da08dd141f143a7a094477aa5e4
[ "Apache-2.0" ]
null
null
null
test_one_image.py
zhouxiaoxu/pytorch-retinanet
72013ee0f46d2da08dd141f143a7a094477aa5e4
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 import numpy as np import torchvision import time import os import copy import pdb import time import argparse from PIL import Image import sys import cv2 import torch from torch.utils.data import Dataset, DataLoader from torchvision import datasets, models, transforms from retinanet.dataloader impo...
36.236162
160
0.582383
1,173
9,820
4.692242
0.236147
0.039244
0.008721
0.011628
0.42351
0.395167
0.386265
0.37391
0.367369
0.356831
0
0.045349
0.299389
9,820
271
161
36.236162
0.754651
0.156314
0
0.378882
0
0.006211
0.052392
0.009514
0
0
0
0
0
1
0.043478
false
0
0.118012
0
0.204969
0.018634
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89837c95dfd6f41782d792b3614567e32b3938f5
13,424
py
Python
prop/algorithms/dqn.py
abstractpaper/prop
f2ca127119ffbfb3f7d2855eff7e7473e0bb3a80
[ "MIT" ]
null
null
null
prop/algorithms/dqn.py
abstractpaper/prop
f2ca127119ffbfb3f7d2855eff7e7473e0bb3a80
[ "MIT" ]
null
null
null
prop/algorithms/dqn.py
abstractpaper/prop
f2ca127119ffbfb3f7d2855eff7e7473e0bb3a80
[ "MIT" ]
null
null
null
import torch import torch.optim as optim import torch.nn.functional as F import numpy as np import random import math import copy import time from collections import namedtuple from itertools import count, compress from tensorboardX import SummaryWriter from prop.buffers.priority_replay_buffer import PrioritizedReplay...
45.659864
143
0.617253
1,691
13,424
4.702543
0.195151
0.021504
0.032067
0.013581
0.171026
0.119593
0.096454
0.096454
0.087399
0.082746
0
0.009393
0.302071
13,424
294
144
45.659864
0.839364
0.228024
0
0.161458
0
0
0.019267
0.002163
0
0
0
0
0
1
0.052083
false
0
0.0625
0.005208
0.161458
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8983a9be22a3861d8eb7b176eda31942d58d222f
3,631
py
Python
plugins/lookup/kube.py
dlwhitehurst/rustic-beast
23fffb40b05f48fec5c6308f1ec36de48e387d40
[ "Apache-2.0" ]
48
2021-02-05T01:24:04.000Z
2022-02-03T02:40:32.000Z
plugins/lookup/kube.py
dlwhitehurst/rustic-beast
23fffb40b05f48fec5c6308f1ec36de48e387d40
[ "Apache-2.0" ]
48
2021-02-04T21:59:27.000Z
2022-01-18T15:54:57.000Z
plugins/lookup/kube.py
dlwhitehurst/rustic-beast
23fffb40b05f48fec5c6308f1ec36de48e387d40
[ "Apache-2.0" ]
18
2021-02-16T15:19:27.000Z
2022-01-18T17:26:17.000Z
# https://docs.ansible.com/ansible/latest/dev_guide/developing_plugins.html#lookup-plugins from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = """ lookup: kube author: Jose Montoya <jmontoya@ms3-inc.com> version_added: "0.6.0" short_description: Looku...
38.221053
115
0.662352
431
3,631
5.450116
0.350348
0.038314
0.064708
0.03576
0.235419
0.235419
0.235419
0.165177
0.102171
0.045126
0
0.004871
0.264941
3,631
94
116
38.62766
0.875234
0.02396
0
0.1625
0
0.0375
0.590229
0.049421
0
0
0
0
0
1
0.0375
false
0
0.075
0.0125
0.1875
0.0125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8983e6cd68b9d8c7ccabefd09bef779c29996094
6,289
py
Python
cabot/cabotapp/tests/tests_jenkins.py
boringusername99/cabot
56cfed43c006e145931f46cb68e316fbaccf75cd
[ "MIT" ]
3,865
2015-01-01T11:37:14.000Z
2022-03-30T01:02:50.000Z
cabot/cabotapp/tests/tests_jenkins.py
boringusername99/cabot
56cfed43c006e145931f46cb68e316fbaccf75cd
[ "MIT" ]
550
2015-01-02T18:06:08.000Z
2021-11-04T23:39:47.000Z
cabot/cabotapp/tests/tests_jenkins.py
boringusername99/cabot
56cfed43c006e145931f46cb68e316fbaccf75cd
[ "MIT" ]
598
2015-01-22T12:17:53.000Z
2022-03-25T17:32:21.000Z
# -*- coding: utf-8 -*- import unittest from datetime import timedelta import jenkins from cabot.cabotapp import jenkins as cabot_jenkins from cabot.cabotapp.models import JenkinsConfig from cabot.cabotapp.models.jenkins_check_plugin import JenkinsStatusCheck from django.utils import timezone from freezegun import fr...
32.251282
84
0.582605
680
6,289
5.139706
0.164706
0.064092
0.05608
0.050072
0.66867
0.66867
0.639199
0.60372
0.572532
0.507296
0
0.020843
0.305772
6,289
194
85
32.417526
0.779661
0.003339
0
0.527273
0
0
0.192467
0.04692
0
0
0
0
0.048485
1
0.048485
false
0.012121
0.054545
0
0.109091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8983fdeeef769de4d9c254fb60b07b53f7a140f9
2,101
py
Python
Machine Learning A-Z/Part 2 - Regression/Section 4 - Simple Linear Regression/simple_linear_regression.py
AnubhavMadhav/Learn-Machine-Learning
233a59c4c5ad9c0467ed732de881b61cbec72360
[ "MIT" ]
1
2020-11-29T08:33:57.000Z
2020-11-29T08:33:57.000Z
Machine Learning A-Z/Part 2 - Regression/Section 4 - Simple Linear Regression/simple_linear_regression.py
AnubhavMadhav/Learn-Machine-Learning
233a59c4c5ad9c0467ed732de881b61cbec72360
[ "MIT" ]
null
null
null
Machine Learning A-Z/Part 2 - Regression/Section 4 - Simple Linear Regression/simple_linear_regression.py
AnubhavMadhav/Learn-Machine-Learning
233a59c4c5ad9c0467ed732de881b61cbec72360
[ "MIT" ]
null
null
null
# Simple Linear Regression Model # Data Preprocessing Template # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Salary_Data.csv') X = dataset.iloc[:, :-1].values Y = dataset.iloc[:, 1].values # Splitting the Dataset into ...
36.859649
203
0.743931
337
2,101
4.522255
0.335312
0.035433
0.020997
0.028871
0.285433
0.213911
0.213911
0.213911
0.213911
0.156168
0
0.004023
0.171823
2,101
57
204
36.859649
0.871839
0.405045
0
0.24
0
0
0.143415
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89841453ed436b530631f15af4fe9a72ed553857
1,062
py
Python
onadata/apps/logger/migrations/0034_auto_20170814_0432.py
childhelpline/myhelpline
d72120ee31b6713cbaec79f299f5ee8bcb7ea429
[ "BSD-3-Clause" ]
1
2018-07-15T13:13:43.000Z
2018-07-15T13:13:43.000Z
onadata/apps/logger/migrations/0034_auto_20170814_0432.py
aondiaye/myhelpline
d72120ee31b6713cbaec79f299f5ee8bcb7ea429
[ "BSD-3-Clause" ]
14
2018-07-10T12:48:46.000Z
2022-03-11T23:24:51.000Z
onadata/apps/logger/migrations/0034_auto_20170814_0432.py
aondiaye/myhelpline
d72120ee31b6713cbaec79f299f5ee8bcb7ea429
[ "BSD-3-Clause" ]
5
2018-07-04T07:59:14.000Z
2020-01-28T07:50:18.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-08-14 08:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('logger', '0033_auto_20170705_0159'), ] operations = [ migrations.AddField( ...
26.55
60
0.545198
93
1,062
6.032258
0.505376
0.096257
0.122995
0.144385
0.467023
0.404635
0.335116
0
0
0
0
0.048529
0.359699
1,062
39
61
27.230769
0.776471
0.06403
0
0.53125
1
0
0.172553
0.023209
0
0
0
0
0
1
0
false
0
0.0625
0
0.15625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8984723b36e886451beb99246f287ee4f2ba6b7f
248
py
Python
your_health/urls.py
JakubWolak/blood_pressure_monitor
6ff4d6eeac29543c245b7f18568ead092063b778
[ "CC0-1.0" ]
null
null
null
your_health/urls.py
JakubWolak/blood_pressure_monitor
6ff4d6eeac29543c245b7f18568ead092063b778
[ "CC0-1.0" ]
8
2021-03-30T13:48:07.000Z
2022-03-12T00:41:54.000Z
your_health/urls.py
JakubWolak/blood_pressure_monitor
6ff4d6eeac29543c245b7f18568ead092063b778
[ "CC0-1.0" ]
null
null
null
from django.urls import path from . import views app_name = "your_health" urlpatterns = [ path("add_data", views.UserDataCreateView.as_view(), name="add_data"), path("edit_data", views.UserDataUpdateView.as_view(), name="edit_data"), ]
20.666667
76
0.721774
33
248
5.181818
0.545455
0.081871
0.116959
0
0
0
0
0
0
0
0
0
0.133065
248
11
77
22.545455
0.795349
0
0
0
0
0
0.181452
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
898849fe81b6ae5ad41948570e4b00db9cbfbae5
10,265
py
Python
src/bot.py
andlehma/Margery
1d3cb44684f663e42753f60f0a82321c3601b046
[ "MIT" ]
null
null
null
src/bot.py
andlehma/Margery
1d3cb44684f663e42753f60f0a82321c3601b046
[ "MIT" ]
null
null
null
src/bot.py
andlehma/Margery
1d3cb44684f663e42753f60f0a82321c3601b046
[ "MIT" ]
null
null
null
import math import time from rlbot.agents.base_agent import BaseAgent, SimpleControllerState from rlbot.utils.structures.game_data_struct import GameTickPacket from utils.vec3 import vec3 SIN45 = math.sin(0.785398) def normalize_location(location: vec3): """ take any location and normalize it to be within ...
35.642361
76
0.606624
1,298
10,265
4.55624
0.168721
0.0558
0.067467
0.03348
0.37352
0.255157
0.198174
0.187014
0.187014
0.167738
0
0.021195
0.315149
10,265
287
77
35.766551
0.820057
0.135314
0
0.231959
0
0
0.00986
0
0
0
0
0.003484
0
1
0.056701
false
0
0.025773
0
0.108247
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89886a336e20fe2ed1bc7535f8a97dba9bde0006
3,969
py
Python
cross_val_splitter.py
SebastianQuispeNaola/PruebaDeConcepto
52da536c834955750711ab1f132801f47cd3e7be
[ "MIT" ]
null
null
null
cross_val_splitter.py
SebastianQuispeNaola/PruebaDeConcepto
52da536c834955750711ab1f132801f47cd3e7be
[ "MIT" ]
null
null
null
cross_val_splitter.py
SebastianQuispeNaola/PruebaDeConcepto
52da536c834955750711ab1f132801f47cd3e7be
[ "MIT" ]
null
null
null
import os import argparse import numpy as np import shutil class CrossValSplitter: def __init__(self, num_folds, data_dir, output_dir): self.num_folds = num_folds self.data_dir = data_dir self.output_dir = output_dir def split_dataset(self): # Creamos los directorios ...
44.1
108
0.525573
486
3,969
4.121399
0.27572
0.029955
0.03994
0.041937
0.335996
0.189715
0.189715
0.174239
0.112332
0.112332
0
0.008029
0.372386
3,969
90
109
44.1
0.796066
0.176619
0
0.136364
0
0
0.019517
0
0
0
0
0
0.015152
1
0.045455
false
0
0.060606
0
0.121212
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
0
0
0
1
0
8988936e2c4a16ed8dc2c0ae76734b697c4c8441
686
py
Python
app/core/migrations/0001_initial.py
danish21752/audio_apis
932a74c51e67394b1c3cba0bcd22a636ea11aeb1
[ "MIT" ]
null
null
null
app/core/migrations/0001_initial.py
danish21752/audio_apis
932a74c51e67394b1c3cba0bcd22a636ea11aeb1
[ "MIT" ]
null
null
null
app/core/migrations/0001_initial.py
danish21752/audio_apis
932a74c51e67394b1c3cba0bcd22a636ea11aeb1
[ "MIT" ]
null
null
null
# Generated by Django 2.1.15 on 2021-04-14 18:29 import core.services from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Song', fields=[ ('id'...
27.44
156
0.606414
72
686
5.680556
0.736111
0.05868
0
0
0
0
0
0
0
0
0
0.04008
0.272595
686
24
157
28.583333
0.779559
0.067055
0
0
1
0
0.048589
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8988f618f6884ba9859e27e0406209aa497f8589
7,697
py
Python
ldt/utils/usaf/bcsd_preproc/lib_bcsd_metrics/bias_correction_nmme_modulefast.py
andrewsoong/LISF
20e3b00a72b6b348c567d0703550f290881679b4
[ "Apache-2.0" ]
67
2018-11-13T21:40:54.000Z
2022-02-23T08:11:56.000Z
ldt/utils/usaf/bcsd_preproc/lib_bcsd_metrics/bias_correction_nmme_modulefast.py
andrewsoong/LISF
20e3b00a72b6b348c567d0703550f290881679b4
[ "Apache-2.0" ]
679
2018-11-13T20:10:29.000Z
2022-03-30T19:55:25.000Z
ldt/utils/usaf/bcsd_preproc/lib_bcsd_metrics/bias_correction_nmme_modulefast.py
andrewsoong/LISF
20e3b00a72b6b348c567d0703550f290881679b4
[ "Apache-2.0" ]
119
2018-11-08T15:53:35.000Z
2022-03-28T10:16:01.000Z
#!/usr/bin/env python """ # Author: Shrad Shukla # coding: utf-8 #Author: Shrad Shukla #Usage: This is a module for the BCSD code. #This module bias corrects a forecasts following #probability mapping approach as described in Wood et al. 2002 #Date: August 06, 2015 # In[28]: """ from __future__ import division #import...
36.306604
95
0.701832
1,171
7,697
4.385141
0.260461
0.035443
0.029211
0.013632
0.128335
0.065433
0.035833
0.035833
0.025316
0.025316
0
0.019002
0.17955
7,697
211
96
36.478673
0.794141
0.291152
0
0.017391
0
0
0.085904
0.018921
0
0
0
0
0
1
0.017391
false
0
0.095652
0
0.130435
0.147826
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8989902473136427aab6e0c005da613605c34629
10,472
py
Python
tests/test_siginfo.py
anergictcell/siginfo
d3c2690574c12ba62cc8cd8867c4ec79004dc4bf
[ "MIT" ]
null
null
null
tests/test_siginfo.py
anergictcell/siginfo
d3c2690574c12ba62cc8cd8867c4ec79004dc4bf
[ "MIT" ]
null
null
null
tests/test_siginfo.py
anergictcell/siginfo
d3c2690574c12ba62cc8cd8867c4ec79004dc4bf
[ "MIT" ]
null
null
null
import unittest from siginfo import siginfoclass as si import sys OLD_OUT = sys.stdout class MockOutput(object): def __init__(self): self.lines = [] def write(self, line): self.lines.append(line) def flush(self): pass class MockSignal(object): def __init__(self, info=True,...
30.005731
83
0.592628
1,292
10,472
4.608359
0.139319
0.052906
0.058448
0.063487
0.698522
0.672657
0.619248
0.601948
0.576755
0.537454
0
0.027231
0.291635
10,472
348
84
30.091954
0.775411
0.02034
0
0.585821
0
0
0.060348
0.01829
0
0
0
0
0.216418
1
0.115672
false
0.014925
0.011194
0.003731
0.175373
0.052239
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89899204c69d8a7489b0f58b06bb9c244ae7764a
3,775
py
Python
Code/classification_acc.py
prasys/textanalyzer
fd14454d073c8571ddaa40f6ac668842e8aef726
[ "MIT" ]
null
null
null
Code/classification_acc.py
prasys/textanalyzer
fd14454d073c8571ddaa40f6ac668842e8aef726
[ "MIT" ]
null
null
null
Code/classification_acc.py
prasys/textanalyzer
fd14454d073c8571ddaa40f6ac668842e8aef726
[ "MIT" ]
null
null
null
import sys from ast import literal_eval import nltk #below function requires a run flag (runf) (1-4) for the four folds, and tf is flag for feature combination (1-17) def getr(runf,tf): f1=open('classification_tweets/run'+str(runf)+'/test_sents.txt','r') f2=open('classification_tweets/run'+str(runf)+'/test_tar...
29.960317
125
0.527682
554
3,775
3.527076
0.263538
0.035824
0.030706
0.055271
0.134084
0.110542
0.038895
0
0
0
0
0.025671
0.329272
3,775
125
126
30.2
0.746051
0.273642
0
0.144578
0
0
0.081731
0.036982
0
0
0
0
0
1
0.012048
false
0
0.036145
0
0.048193
0.012048
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8989e651dce56fb52bcfb6da9e177d2736fe5dbb
1,108
py
Python
binary_counter_exercise/binary_counter.py
madness007/algorithms-python-intro-exercise
ca0181d160b21422d177569ea00f7b6c482def23
[ "Apache-2.0" ]
null
null
null
binary_counter_exercise/binary_counter.py
madness007/algorithms-python-intro-exercise
ca0181d160b21422d177569ea00f7b6c482def23
[ "Apache-2.0" ]
null
null
null
binary_counter_exercise/binary_counter.py
madness007/algorithms-python-intro-exercise
ca0181d160b21422d177569ea00f7b6c482def23
[ "Apache-2.0" ]
1
2021-10-14T07:32:46.000Z
2021-10-14T07:32:46.000Z
class BinaryCounter: def __init__(self, led4, led3, led2, led1): self.__led1 = led1 self.__led2 = led2 self.__led3 = led3 self.__led4 = led4 def asBinary(self): return str(self.__led4) + " " + str(self.__led3) + " " + str(self.__led2) + " " + str(self.__led1) d...
22.16
106
0.453069
114
1,108
4.157895
0.307018
0.139241
0.063291
0
0
0
0
0
0
0
0
0.068581
0.434116
1,108
49
107
22.612245
0.6874
0
0
0
0
0
0.00813
0
0
0
0
0
0
1
0.108108
false
0
0
0.027027
0.216216
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
898a588ad7df97ad04629bf1e3d9464b0c069554
4,678
py
Python
recorded_failures/aoc2020/day_11_seating_system/invalid_state_change_caught_by_contracts.py
mristin/python-by-contract-corpus
c96ed00389c3811d7d63560ac665d410a7ee8493
[ "MIT" ]
8
2021-05-07T17:37:37.000Z
2022-02-26T15:08:42.000Z
recorded_failures/aoc2020/day_11_seating_system/invalid_state_change_caught_by_contracts.py
mristin/python-by-contract-corpus
c96ed00389c3811d7d63560ac665d410a7ee8493
[ "MIT" ]
22
2021-04-28T21:55:48.000Z
2022-03-04T07:41:37.000Z
recorded_failures/aoc2020/day_11_seating_system/invalid_state_change_caught_by_contracts.py
mristin/aocdbc
c96ed00389c3811d7d63560ac665d410a7ee8493
[ "MIT" ]
3
2021-03-26T22:29:12.000Z
2021-04-11T20:45:45.000Z
import dataclasses import enum import re from typing import Tuple, Mapping, List, Optional, Set, Iterable from icontract import require, ensure # crosshair: on @require(lambda i, height: 0 <= i <= height) @require(lambda j, width: 0 <= j <= width) @ensure( lambda height, width, result: all( 0 <= i <= h...
30.180645
88
0.579521
666
4,678
3.993994
0.160661
0.024436
0.02406
0.031579
0.33609
0.309774
0.286466
0.286466
0.242857
0.184211
0
0.012673
0.27469
4,678
154
89
30.376623
0.771294
0.063061
0
0.260163
0
0
0.024256
0
0
0
0
0
0
1
0.04065
false
0
0.04065
0.00813
0.121951
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
898c2fa200064dde9d5f9f7743769291f662c8c6
30,086
py
Python
plugin/CustomerSupportArchive/Lane_Diagnostics/tools/debug_reader.py
iontorrent/TS
7591590843c967435ee093a3ffe9a2c6dea45ed8
[ "Apache-2.0" ]
125
2015-01-22T05:43:23.000Z
2022-03-22T17:15:59.000Z
plugin/CustomerSupportArchive/NucStepSpatialV2/tools/debug_reader.py
iontorrent/TS
7591590843c967435ee093a3ffe9a2c6dea45ed8
[ "Apache-2.0" ]
59
2015-02-10T09:13:06.000Z
2021-11-11T02:32:38.000Z
plugin/CustomerSupportArchive/autoCal/tools/debug_reader.py
iontorrent/TS
7591590843c967435ee093a3ffe9a2c6dea45ed8
[ "Apache-2.0" ]
98
2015-01-17T01:25:10.000Z
2022-03-18T17:29:42.000Z
import datetime, re, subprocess import numpy as np import matplotlib import matplotlib.pyplot as plt TODAY = datetime.datetime.today() WF_REGEX = re.compile( r""".*working directory: (?P<wd>[\w/.]+), workflowVersion: (?P<version>[\w/.=\s\-]+)""" ) GIT_RE = re.compile( r"""git branch\s+=\s+(?P<branch>[\w\...
46.286154
210
0.533039
3,288
30,086
4.791058
0.179136
0.03466
0.007998
0.006602
0.291817
0.247762
0.22491
0.199771
0.19171
0.17584
0
0.009011
0.365552
30,086
649
211
46.357473
0.816272
0.236156
0
0.376499
0
0.007194
0.156099
0.021858
0
0
0
0
0
1
0.043165
false
0
0.009592
0
0.115108
0.06235
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
898c3e48331e030f060a5395594833520b8e7dfc
15,973
py
Python
challtools/cli.py
mateuszdrwal/challtools
62ebd7e10762131eb6024da77fad050de653d9dc
[ "MIT" ]
3
2021-01-17T16:16:10.000Z
2022-02-23T21:40:51.000Z
challtools/cli.py
mateuszdrwal/challtools
62ebd7e10762131eb6024da77fad050de653d9dc
[ "MIT" ]
null
null
null
challtools/cli.py
mateuszdrwal/challtools
62ebd7e10762131eb6024da77fad050de653d9dc
[ "MIT" ]
null
null
null
import sys import time import argparse import os import uuid import hashlib from pathlib import Path import requests import yaml from google.cloud import storage from .validator import ConfigValidator from .utils import ( process_messages, load_ctf_config, load_config_or_exit, get_ctf_config_path, ...
31.381139
169
0.61942
1,878
15,973
5.129925
0.188498
0.021175
0.017438
0.02076
0.239568
0.183724
0.164833
0.142412
0.135354
0.109197
0
0.004859
0.265573
15,973
508
170
31.442913
0.816384
0.034934
0
0.218593
0
0.012563
0.288237
0.026227
0
0
0
0.001969
0.012563
1
0.022613
false
0.002513
0.032663
0
0.125628
0.09799
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
898eda22192d326a096fa0229a432d881d990666
861
py
Python
src/main.py
TaylorCoons/fiscus
a5f705d66f0d545e75e8b7ffc11ac3bd7a3d2577
[ "MIT" ]
null
null
null
src/main.py
TaylorCoons/fiscus
a5f705d66f0d545e75e8b7ffc11ac3bd7a3d2577
[ "MIT" ]
null
null
null
src/main.py
TaylorCoons/fiscus
a5f705d66f0d545e75e8b7ffc11ac3bd7a3d2577
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 ''' Script to check for price movements of desired stocks and sent a price notification ''' import argparse def main(): '''Main entrypoint for the script''' parser = argparse.ArgumentParser( description='Check stocks for price movements', epilog='example usage: ./main.p...
23.916667
83
0.602787
102
861
4.970588
0.588235
0.053254
0.100592
0
0
0
0
0
0
0
0
0.004823
0.277584
861
35
84
24.6
0.810289
0.157956
0
0.192308
0
0
0.359551
0
0
0
0
0
0
1
0.038462
false
0
0.038462
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
898f6e51ff46c19a7cf1ada1c6928da2e1ca42db
1,375
py
Python
scaaml/capture/crypto_input.py
kralka/scaaml
f47e028dad6bc74eb480cbfae83724c1057caf39
[ "Apache-2.0" ]
null
null
null
scaaml/capture/crypto_input.py
kralka/scaaml
f47e028dad6bc74eb480cbfae83724c1057caf39
[ "Apache-2.0" ]
null
null
null
scaaml/capture/crypto_input.py
kralka/scaaml
f47e028dad6bc74eb480cbfae83724c1057caf39
[ "Apache-2.0" ]
null
null
null
# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
34.375
79
0.714909
182
1,375
5.313187
0.593407
0.062048
0.026887
0.033092
0.037229
0
0
0
0
0
0
0.007214
0.193455
1,375
39
80
35.25641
0.864743
0.656727
0
0.2
0
0
0.150485
0.063107
0
0
0
0
0
1
0.4
false
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
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
8992b5f93842836b9d76a43b1ddc1b921a49a818
3,977
py
Python
assignment2.py
tommasodeangeli97/assignment1
c65915b65f3fbff602127dfbb30a436e75dc3314
[ "MIT" ]
null
null
null
assignment2.py
tommasodeangeli97/assignment1
c65915b65f3fbff602127dfbb30a436e75dc3314
[ "MIT" ]
null
null
null
assignment2.py
tommasodeangeli97/assignment1
c65915b65f3fbff602127dfbb30a436e75dc3314
[ "MIT" ]
null
null
null
from __future__ import print_function import time from sr.robot import * a_th = 2.0 """ float: Threshold for the control of the orientation""" d_th = 0.4 """ float: Threshold for the control of the linear distance""" d_min = 1.0 """ float: Threshold for the minimum distance from the golden token""" angl2 = 0.0 """F...
23.25731
105
0.499371
537
3,977
3.625698
0.24581
0.013867
0.032871
0.020544
0.45095
0.396507
0.319979
0.231125
0.194145
0.194145
0
0.060805
0.387981
3,977
170
106
23.394118
0.739113
0.116922
0
0.201923
0
0
0.063735
0
0
0
0
0
0
1
0.048077
false
0
0.028846
0
0.076923
0.182692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
899312eeaa648d3cf1dc32eea72213d9bebf6345
4,587
py
Python
bin/pcnaDeep/evaluate.py
Jeff-Gui/PCNAdeep
ed4effc07e330155905b73064435d444ac857c1d
[ "Apache-2.0" ]
null
null
null
bin/pcnaDeep/evaluate.py
Jeff-Gui/PCNAdeep
ed4effc07e330155905b73064435d444ac857c1d
[ "Apache-2.0" ]
null
null
null
bin/pcnaDeep/evaluate.py
Jeff-Gui/PCNAdeep
ed4effc07e330155905b73064435d444ac857c1d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os import subprocess from pcnaDeep.data.annotate import relabel_trackID, label_by_track, get_lineage_txt, break_track, save_seq class pcna_ctcEvaluator: def __init__(self, root, dt_id, digit_num=3, t_base=0, path_ctc_software=None, init_dir=True): """Evaluation of tracking ...
41.324324
130
0.572051
616
4,587
4.060065
0.228896
0.047981
0.067973
0.044782
0.338265
0.338265
0.313475
0.203519
0.189924
0.138345
0
0.006978
0.281448
4,587
110
131
41.7
0.75182
0.19032
0
0.230769
0
0
0.119581
0.028903
0
0
0
0
0
1
0.107692
false
0
0.046154
0
0.246154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8993a61ba9d5f7f78947b3558ba1b503cf322e2a
3,065
py
Python
wampnado/transports/tcp/__init__.py
rexlunae/tornwamp
881538c6ae7909e06a15a838a0d84ebb94a2aed2
[ "Apache-2.0" ]
null
null
null
wampnado/transports/tcp/__init__.py
rexlunae/tornwamp
881538c6ae7909e06a15a838a0d84ebb94a2aed2
[ "Apache-2.0" ]
null
null
null
wampnado/transports/tcp/__init__.py
rexlunae/tornwamp
881538c6ae7909e06a15a838a0d84ebb94a2aed2
[ "Apache-2.0" ]
null
null
null
""" Methods common to all TCP transports. """ from enum import Enum from warnings import warn from datetime import datetime from wampnado.serializer import JSON_PROTOCOL, BINARY_PROTOCOL, NONE_PROTOCOL from wampnado.messages import Message class HandshakeError(Enum): NoError=0 SerializerUnsupported=1 Mess...
29.471154
167
0.614356
362
3,065
5.074586
0.337017
0.043549
0.039194
0.039194
0.1546
0.054437
0
0
0
0
0
0.021033
0.28646
3,065
103
168
29.757282
0.81893
0.103752
0
0.089552
0
0
0.067797
0
0
0
0.012806
0
0
1
0.074627
false
0
0.074627
0
0.373134
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89949a0d7e5905c915a24c9c907a6109e2e0c7e4
2,008
py
Python
kvcd/config.py
lrivallain/kvcd
625f4d4d944015d25f092269ad197afaf5eeeae9
[ "MIT" ]
2
2021-08-24T09:42:27.000Z
2021-08-24T10:02:02.000Z
kvcd/config.py
lrivallain/kvcd
625f4d4d944015d25f092269ad197afaf5eeeae9
[ "MIT" ]
6
2021-08-06T13:24:06.000Z
2021-11-24T16:12:55.000Z
kvcd/config.py
lrivallain/kvcd
625f4d4d944015d25f092269ad197afaf5eeeae9
[ "MIT" ]
null
null
null
"""This Submodules contains the definition of the expected configuration to setup to use kvcd. The main configuration is handled by `environ-config` module. """ import environ import logging from kvcd import _available_modules logger = logging.getLogger(__name__) @environ.config(prefix="KVCD") class KvcdConfig: ...
31.873016
87
0.624502
225
2,008
5.493333
0.422222
0.080906
0.110032
0.107605
0.063916
0.045307
0
0
0
0
0
0.009091
0.287849
2,008
62
88
32.387097
0.855245
0.103586
0
0.163265
0
0
0.270331
0
0
0
0
0
0
1
0
false
0.040816
0.061224
0
0.204082
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8995bddb98552d642fc694543bcd58329e9a0cf7
3,078
py
Python
fixture/orm.py
DmitriyYa/python_training
e8cbb729eaf59ae19ce97c67532a5e0154ca5ca3
[ "Apache-2.0" ]
null
null
null
fixture/orm.py
DmitriyYa/python_training
e8cbb729eaf59ae19ce97c67532a5e0154ca5ca3
[ "Apache-2.0" ]
null
null
null
fixture/orm.py
DmitriyYa/python_training
e8cbb729eaf59ae19ce97c67532a5e0154ca5ca3
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from pony.orm import * from datetime import datetime from model.group import Group from model.myuser import MyUser from pymysql.converters import decoders class ORMFixture: db = Database() class ORMGroup(db.Entity): _table_ = 'group_list' id = PrimaryKey(int, column='g...
43.352113
204
0.673164
412
3,078
4.866505
0.218447
0.076808
0.118703
0.029925
0.254364
0.179551
0.179551
0.16409
0.16409
0.16409
0
0.006191
0.212801
3,078
71
205
43.352113
0.821296
0.024691
0
0.105263
0
0
0.065355
0
0
0
0
0
0
1
0.157895
false
0.035088
0.087719
0.070175
0.45614
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89974218a6dc419bd7f56f7782b26f754696ba88
1,316
py
Python
python/fastKnapSackSearchTree.py
SaadAhmad123/myCodeRepo
e63632a3851eb8cfb8a7a65002b65e86321d69ed
[ "Apache-2.0" ]
null
null
null
python/fastKnapSackSearchTree.py
SaadAhmad123/myCodeRepo
e63632a3851eb8cfb8a7a65002b65e86321d69ed
[ "Apache-2.0" ]
null
null
null
python/fastKnapSackSearchTree.py
SaadAhmad123/myCodeRepo
e63632a3851eb8cfb8a7a65002b65e86321d69ed
[ "Apache-2.0" ]
null
null
null
''' This function implements the memoization approach in the searchTree algorithm in knapSackSearchTree.py To use the implementation below the list should be a list of objects with following functions. - getValue() -----> this function will be maximized for all the elements in the ...
36.555556
105
0.617021
134
1,316
6.059701
0.41791
0.044335
0.044335
0.039409
0
0
0
0
0
0
0
0.01875
0.270517
1,316
36
106
36.555556
0.827083
0.31079
0
0.1
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8998590cb40538f31155d83c4fe0126a9ca17c93
574
py
Python
src/haarcascade/static.py
rafaelscariot/face-detection
cd7e82a0133daac605d6d1384560439829fb002d
[ "MIT" ]
null
null
null
src/haarcascade/static.py
rafaelscariot/face-detection
cd7e82a0133daac605d6d1384560439829fb002d
[ "MIT" ]
1
2021-11-08T12:15:29.000Z
2021-11-08T12:15:29.000Z
src/haarcascade/static.py
rafaelscariot/facial-detection
cd7e82a0133daac605d6d1384560439829fb002d
[ "MIT" ]
null
null
null
import cv2 image_path = '../../images/person.jpg' cascade_path = '../../resources/haarcascade_frontalface_default.xml' def main(): clf = cv2.CascadeClassifier(cascade_path) img = cv2.imread(image_path) faces = clf.detectMultiScale(img, 1.3, 10) for (x, y, h, w) in faces: cv2.rectangle(img, (x...
27.333333
97
0.620209
84
574
4.047619
0.559524
0.017647
0
0
0
0
0
0
0
0
0
0.060345
0.191638
574
20
98
28.7
0.672414
0
0
0
0
0
0.175958
0.12892
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89987bdf2033d7fc645b19e40cfe6505bcc8f8f5
9,714
py
Python
src/benchmark/plot_benchmark.py
robertu94/ndzip
5b3c34991005c0924a339f2ec06750729ebbf015
[ "MIT" ]
21
2021-03-04T11:45:37.000Z
2022-02-24T03:38:41.000Z
src/benchmark/plot_benchmark.py
robertu94/ndzip
5b3c34991005c0924a339f2ec06750729ebbf015
[ "MIT" ]
5
2022-01-19T08:05:26.000Z
2022-03-05T16:01:53.000Z
src/benchmark/plot_benchmark.py
robertu94/ndzip
5b3c34991005c0924a339f2ec06750729ebbf015
[ "MIT" ]
5
2021-06-07T07:12:49.000Z
2022-03-02T13:46:03.000Z
#!/usr/bin/env python3 # pipe input from benchmark binary into this script to plot throughput vs. compression ratio import csv import sys from collections import defaultdict from operator import itemgetter from argparse import ArgumentParser from math import floor, ceil, log10 import numpy as np import scipy.stats a...
43.954751
120
0.607268
1,249
9,714
4.55004
0.221777
0.039416
0.022171
0.0183
0.515925
0.451522
0.412106
0.398733
0.386768
0.361077
0
0.024679
0.261684
9,714
220
121
44.154545
0.767429
0.020692
0
0.395604
0
0
0.09675
0
0
0
0
0.004545
0
1
0.038462
false
0
0.054945
0.005495
0.10989
0.032967
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89993688fedbe2f0628f63817147515cb76bd3bd
165
py
Python
rick_db/__init__.py
oddbit-project/rick_db
02910c071f3ad58fdd88b2a27bfdd2bc61497d42
[ "MIT" ]
null
null
null
rick_db/__init__.py
oddbit-project/rick_db
02910c071f3ad58fdd88b2a27bfdd2bc61497d42
[ "MIT" ]
null
null
null
rick_db/__init__.py
oddbit-project/rick_db
02910c071f3ad58fdd88b2a27bfdd2bc61497d42
[ "MIT" ]
null
null
null
from .version import get_version from .mapper import Record, fieldmapper, RecordError from .repository import Repository, RepositoryError from .dbgrid import DbGrid
33
52
0.842424
20
165
6.9
0.55
0
0
0
0
0
0
0
0
0
0
0
0.115152
165
4
53
41.25
0.945205
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
89998d70c706b83396aaecba89ebc188e6a073e0
1,558
py
Python
27_remove_elements/remove_elements.py
daniel-hocking/leetcode
62f881642f3e6ccdeef48f03e5f3f0c2aa7bad9c
[ "MIT" ]
null
null
null
27_remove_elements/remove_elements.py
daniel-hocking/leetcode
62f881642f3e6ccdeef48f03e5f3f0c2aa7bad9c
[ "MIT" ]
null
null
null
27_remove_elements/remove_elements.py
daniel-hocking/leetcode
62f881642f3e6ccdeef48f03e5f3f0c2aa7bad9c
[ "MIT" ]
null
null
null
''' Description: Given an array nums and a value val, remove all instances of that value in-place and return the new length. Do not allocate extra space for another array, you must do this by modifying the input array in-place with O(1) extra memory. eg. Input: [3,2,2,3], val = 3 Output: 2 and array = [2, 2] Written b...
27.333333
73
0.558408
235
1,558
3.591489
0.344681
0.026066
0.140995
0.056872
0.159953
0.06872
0.016588
0
0
0
0
0.070979
0.285623
1,558
56
74
27.821429
0.687332
0.50706
0
0
0
0
0.01194
0
0
0
0
0
0
1
0.105263
false
0
0.052632
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
899a16141300dc61abb244c3174df70a20cf5c7a
3,885
py
Python
rostran/core/parameters.py
aliyun/alibabacloud-ros-tool-transformer
f30b2cf3a7855e7d59a6657f32ee02a5c0c0109c
[ "Apache-2.0" ]
9
2020-06-11T11:50:29.000Z
2022-03-25T13:16:07.000Z
rostran/core/parameters.py
aliyun/alibabacloud-ros-tool-transformer
f30b2cf3a7855e7d59a6657f32ee02a5c0c0109c
[ "Apache-2.0" ]
7
2020-09-09T12:50:52.000Z
2021-09-10T02:33:58.000Z
rostran/core/parameters.py
aliyun/alibabacloud-ros-tool-transformer
f30b2cf3a7855e7d59a6657f32ee02a5c0c0109c
[ "Apache-2.0" ]
4
2020-06-16T07:07:23.000Z
2022-02-07T19:37:16.000Z
import re from openpyxl.cell.cell import Cell from .exceptions import InvalidTemplateParameter from .utils import get_and_validate_cell class Parameter: TYPES = (STRING, NUMBER, LIST, MAP, BOOLEAN) = ( "String", "Number", "CommaDelimitedList", "Json", "Boolean", ) ...
38.465347
110
0.607465
442
3,885
5.169683
0.190045
0.042888
0.047265
0.073523
0.189059
0.113786
0
0
0
0
0
0.000368
0.301158
3,885
100
111
38.85
0.841252
0
0
0.034884
0
0
0.093436
0.005405
0
0
0
0
0
1
0.05814
false
0
0.046512
0
0.162791
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
899b6653b64c0d95ab249abc168b2a37a76ba7d3
3,730
py
Python
src/notification/notification.py
FrancoisChastel/DD2480_Software-Engineering_CI
26424af8a349cc0abdc9a256bf91b161d989c702
[ "BSD-2-Clause" ]
1
2018-02-04T22:02:01.000Z
2018-02-04T22:02:01.000Z
src/notification/notification.py
FrancoisChastel/DD2480_Software-Engineering_CI
26424af8a349cc0abdc9a256bf91b161d989c702
[ "BSD-2-Clause" ]
4
2018-02-04T13:43:40.000Z
2018-02-07T00:25:33.000Z
src/notification/notification.py
FrancoisChastel/DD2480_Software-Engineering_CI
26424af8a349cc0abdc9a256bf91b161d989c702
[ "BSD-2-Clause" ]
null
null
null
import email.message as e import smtplib # !/usr/bin/env python # -*- coding: utf-8 -*- import configs import communication def send_notifications(result): """ Function that will send by e-mail a notification of the state of the testing and compiling process :param result: communication-object (see commu...
42.873563
114
0.555764
398
3,730
5.145729
0.346734
0.038086
0.067383
0.039063
0.339355
0.322754
0.307617
0.307617
0.275391
0.275391
0
0.015319
0.369973
3,730
86
115
43.372093
0.85617
0.260858
0
0.280702
0
0
0.092022
0
0
0
0
0
0
1
0.035088
false
0.035088
0.070175
0
0.140351
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
899c2dd325cf4c564e8808ea1ba5f680b670182e
428
py
Python
Lib/site-packages/spyder/plugins/maininterpreter/__init__.py
hirorin-demon/hirorin-streamlit
03fbb6f03ec94f909d451e708a3b30b177607695
[ "0BSD" ]
1
2021-06-20T14:52:40.000Z
2021-06-20T14:52:40.000Z
spyder/plugins/maininterpreter/__init__.py
Pancakerr/spyder
34a9878bba97f427fbdd7b4a6d77ac0651327565
[ "MIT" ]
1
2021-04-30T21:16:55.000Z
2021-04-30T21:16:55.000Z
spyder/plugins/maininterpreter/__init__.py
Pancakerr/spyder
34a9878bba97f427fbdd7b4a6d77ac0651327565
[ "MIT" ]
1
2020-06-14T07:03:50.000Z
2020-06-14T07:03:50.000Z
# -*- coding: utf-8 -*- # # Copyright © Spyder Project Contributors # Licensed under the terms of the MIT License # (see spyder/__init__.py for details) """ spyder.plugins.maininterpreter ============================== Main interpreter Plugin. """ from spyder.plugins.maininterpreter.plugin import MainInterpreter # ...
23.777778
74
0.714953
50
428
6.04
0.74
0.086093
0.18543
0
0
0
0
0
0
0
0
0.002695
0.133178
428
17
75
25.176471
0.808625
0.71028
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
899c649ad362d748354372855604277acccc2bd6
8,909
py
Python
dataset.py
xuweigogogo/DSACA
7b7de22bd770c3cc2856fcb6dc58ff07cd2a3571
[ "MIT" ]
8
2021-04-12T08:54:48.000Z
2022-03-14T06:27:12.000Z
dataset.py
xuweigogogo/DSACA
7b7de22bd770c3cc2856fcb6dc58ff07cd2a3571
[ "MIT" ]
null
null
null
dataset.py
xuweigogogo/DSACA
7b7de22bd770c3cc2856fcb6dc58ff07cd2a3571
[ "MIT" ]
null
null
null
import torch from torch.utils.data import Dataset import os from image import * import random import time import torch from config import args from torchvision import datasets, transforms import numpy as np from PIL import Image, ImageEnhance import numbers from torch.multiprocessing import Pool, Process,...
37.590717
134
0.547536
1,140
8,909
4.022807
0.10614
0.076319
0.042739
0.032708
0.863934
0.863934
0.834278
0.822503
0.822503
0.822503
0
0.033265
0.338646
8,909
236
135
37.75
0.745078
0.192502
0
0.748201
0
0
0.005683
0
0
0
0
0
0.014388
1
0.043165
false
0.007194
0.093525
0.014388
0.179856
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
899c6a5e5c9be0abc578e848dc68228baf0cd293
482
py
Python
rescvae/__init__.py
myinxd/rescvae
3f8025e2924b8bb643d6c2b4925b8d78f5d6dd07
[ "MIT" ]
1
2018-11-27T13:15:02.000Z
2018-11-27T13:15:02.000Z
rescvae/__init__.py
myinxd/rescvae
3f8025e2924b8bb643d6c2b4925b8d78f5d6dd07
[ "MIT" ]
null
null
null
rescvae/__init__.py
myinxd/rescvae
3f8025e2924b8bb643d6c2b4925b8d78f5d6dd07
[ "MIT" ]
1
2021-03-24T02:50:26.000Z
2021-03-24T02:50:26.000Z
# Copyright (C) 2018 Zhixian MA <zx@mazhixian.me> # MIT liscence # Argument for setup() __pkgname__ = "rescvae" __version__ = "0.1.0" __author__ = "Zhixian MA" __author_email__ = "zx@mazhixian.me" __license__ = "MIT" __keywords__ = "ResCVAE: residual conditional variational autoencoder" __copyright__ = "Copyright (C) ...
34.428571
98
0.76556
57
482
5.824561
0.631579
0.081325
0.084337
0.126506
0.138554
0
0
0
0
0
0
0.026005
0.122407
482
13
99
37.076923
0.758865
0.16805
0
0
0
0
0.581864
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
899d4a64b2918938934e81a5ab447dceadb839ae
306
py
Python
config.py
abhinayy0/DQRCG
141b3963577ba780a887345e17224f841122cfb1
[ "MIT" ]
2
2022-01-31T05:04:42.000Z
2022-02-01T17:08:09.000Z
config.py
red-elka/DQRCG
4a8fd9e11bbc3775fc532999f0100a5ff2c42d6c
[ "MIT" ]
7
2022-01-29T22:38:31.000Z
2022-02-06T17:29:43.000Z
config.py
red-elka/DQRCG
4a8fd9e11bbc3775fc532999f0100a5ff2c42d6c
[ "MIT" ]
1
2022-01-30T00:35:20.000Z
2022-01-30T00:35:20.000Z
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config(object): SECRET_KEY = os.environ.get("SECRET_KEY","Notsecret") QR_FOLDER = os.path.join(basedir, "generatedqrs") if not os.path.exists(QR_FOLDER): os.mkdir(QR_FOLDER) DEBUG= os.environ.get("DEBUG", False)
30.6
57
0.699346
45
306
4.555556
0.555556
0.117073
0.117073
0
0
0
0
0
0
0
0
0
0.150327
306
10
58
30.6
0.788462
0
0
0
1
0
0.117264
0
0
0
0
0
0
1
0
false
0
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
899e83412ff2fa1525c82aac7177cf47f340579c
295
py
Python
deepr/config/__init__.py
Mbompr/deepr
1fb28e15aeeac6ef2d8e5b678feb380f2b1951f2
[ "Apache-2.0" ]
null
null
null
deepr/config/__init__.py
Mbompr/deepr
1fb28e15aeeac6ef2d8e5b678feb380f2b1951f2
[ "Apache-2.0" ]
null
null
null
deepr/config/__init__.py
Mbompr/deepr
1fb28e15aeeac6ef2d8e5b678feb380f2b1951f2
[ "Apache-2.0" ]
null
null
null
# pylint: disable=unused-import,missing-docstring from deepr.config.base import parse_config, from_config from deepr.config.macros import ismacro, fill_macros, find_macro_params, assert_no_macros from deepr.config.references import isreference, fill_references import deepr.config.experimental
42.142857
89
0.857627
41
295
5.97561
0.536585
0.179592
0.183673
0
0
0
0
0
0
0
0
0
0.077966
295
6
90
49.166667
0.900735
0.159322
0
0
0
0
0
0
0
0
0
0
0.25
1
0
true
0
1
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
89a15ae5b3476a944decb384c8b33df59fc5d498
880
py
Python
src/Utilities/iterateIdealHInst.cc.py
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Utilities/iterateIdealHInst.cc.py
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Utilities/iterateIdealHInst.cc.py
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
text = """ //------------------------------------------------------------------------------ // Explicit instantiation. //------------------------------------------------------------------------------ #include "Utilities/iterateIdealH.cc" #include "Geometry/Dimension.hh" namespace Spheral { template void iterateIdeal...
44
83
0.314773
49
880
5.653061
0.530612
0.126354
0.144404
0.187726
0
0
0
0
0
0
0
0
0.418182
880
19
84
46.315789
0.541016
0
0
0.222222
0
0.055556
0.984091
0.265909
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
89a1bfc4acc2d83b6cc53fb4e7cfbb3bdd5c6936
7,407
py
Python
Benchmark_2/Speaker.py
MarkFzp/ToM-Pragmatics
3de1956c36ea40f29a41e4c153c4b8cdc73afc15
[ "MIT" ]
null
null
null
Benchmark_2/Speaker.py
MarkFzp/ToM-Pragmatics
3de1956c36ea40f29a41e4c153c4b8cdc73afc15
[ "MIT" ]
null
null
null
Benchmark_2/Speaker.py
MarkFzp/ToM-Pragmatics
3de1956c36ea40f29a41e4c153c4b8cdc73afc15
[ "MIT" ]
null
null
null
import tensorflow as tf from VisualEncoder import ConvAsFcEncoder # from vgg16 import vgg16 import numpy as np class Agnostic_Speaker: @property def message(self): return self.message_ @property def log_prob(self): return self.log_prob_ def __init__(self, encode_type, input_len, d...
64.408696
225
0.663697
1,005
7,407
4.619901
0.170149
0.029291
0.030153
0.03446
0.701917
0.667241
0.639457
0.621581
0.593151
0.559121
0
0.021747
0.217767
7,407
114
226
64.973684
0.7796
0.171189
0
0.561644
0
0
0.051668
0
0
0
0
0
0.027397
1
0.09589
false
0
0.041096
0.068493
0.232877
0.013699
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89a27cde42ba1214ef5e6dbdbf06c3bb09fd9643
263
py
Python
scripts/src/report_parsers/base_parser.py
APotyomkin/awesome-bugs
3b28c6acf91cc70db8f38ee01b5f502416011db5
[ "MIT" ]
1
2022-01-08T08:55:56.000Z
2022-01-08T08:55:56.000Z
scripts/src/report_parsers/base_parser.py
APotyomkin/awesome-bugs
3b28c6acf91cc70db8f38ee01b5f502416011db5
[ "MIT" ]
17
2021-11-29T17:33:43.000Z
2022-03-21T15:44:56.000Z
scripts/src/report_parsers/base_parser.py
APotyomkin/awesome-bugs
3b28c6acf91cc70db8f38ee01b5f502416011db5
[ "MIT" ]
10
2021-11-21T21:21:18.000Z
2022-02-13T18:27:03.000Z
from abc import abstractmethod from scripts.src.analyze_reports import AnalyzerReport class Parser: ANALYZER_NAME: str SOURCE_PATH: str REPORT_PATH: str @abstractmethod def parse(self) -> AnalyzerReport: raise NotImplementedError()
20.230769
54
0.741445
29
263
6.586207
0.758621
0.073298
0
0
0
0
0
0
0
0
0
0
0.205323
263
12
55
21.916667
0.913876
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.777778
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
89a363fe1159744b8b9978656efa4f210d11eee9
1,704
py
Python
CaptchaBreaker_cmd/CaptchaBreaker.py
alstjgg/captcha_image_preprocess
5ecbf8eab3ce65e0a92c5e0ff10c51fd0de26cb5
[ "MIT" ]
2
2019-12-06T14:19:09.000Z
2021-12-10T07:47:27.000Z
CaptchaBreaker_cmd/CaptchaBreaker.py
alstjgg/captcha_image_preprocess
5ecbf8eab3ce65e0a92c5e0ff10c51fd0de26cb5
[ "MIT" ]
5
2021-03-18T21:59:16.000Z
2022-03-11T23:38:47.000Z
CaptchaBreaker_cmd/CaptchaBreaker.py
alstjgg/captcha_image_preprocess
5ecbf8eab3ce65e0a92c5e0ff10c51fd0de26cb5
[ "MIT" ]
1
2020-11-24T16:05:37.000Z
2020-11-24T16:05:37.000Z
from load import get_image from Preprocessing import bw import process_manage import testProcess import argparse def menu(args): if args.option == 1: res = process_manage.process(get_image(args.path), args.order) res.show() elif args.option == 2: process_manage.show_rate(args.path, arg...
33.411765
79
0.603286
198
1,704
5.075758
0.393939
0.039801
0.047761
0.063682
0.115423
0.075622
0.075622
0.075622
0
0
0
0.016142
0.272887
1,704
51
80
33.411765
0.794996
0.014085
0
0.047619
0
0
0.221097
0
0
0
0
0
0
1
0.02381
false
0
0.119048
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89a50781df307585317def9fc6141f6123c76bac
872
py
Python
generate_index.py
AnonyKagamine/MessengerDataIndex
2059ac7a82e2b2549a1c6ccf11c06f35851a9853
[ "MIT" ]
null
null
null
generate_index.py
AnonyKagamine/MessengerDataIndex
2059ac7a82e2b2549a1c6ccf11c06f35851a9853
[ "MIT" ]
null
null
null
generate_index.py
AnonyKagamine/MessengerDataIndex
2059ac7a82e2b2549a1c6ccf11c06f35851a9853
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import sys import json from urllib.request import urljoin GH_PAGES_PREFIX = "https://anonykagamine.github.io" OUTPUT_FILENAME = "index.json" def main(): index_list = [] for filename in sys.stdin.readlines(): filename = filename.strip("\n") with open(filename, "r") as f: ...
31.142857
70
0.619266
102
872
5.019608
0.5
0.150391
0.054688
0.078125
0
0
0
0
0
0
0
0.00303
0.243119
872
27
71
32.296296
0.772727
0.084862
0
0
0
0
0.138191
0
0
0
0
0
0
1
0.047619
false
0
0.142857
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89a5950f80b35d5043804d663edeba3303f53a0e
869
py
Python
pioreactor/plugin_management/__init__.py
Pioreactor/pioreactor
63288a2b7ef90b663ff19b85f19586ac0b42bc1b
[ "MIT" ]
32
2021-01-01T01:56:04.000Z
2022-03-31T21:23:22.000Z
pioreactor/plugin_management/__init__.py
Pioreactor/pioreactor
63288a2b7ef90b663ff19b85f19586ac0b42bc1b
[ "MIT" ]
222
2020-11-28T18:21:56.000Z
2022-03-30T19:23:32.000Z
pioreactor/plugin_management/__init__.py
Pioreactor/pioreactor
63288a2b7ef90b663ff19b85f19586ac0b42bc1b
[ "MIT" ]
3
2021-02-12T17:50:22.000Z
2022-02-18T18:53:21.000Z
# -*- coding: utf-8 -*- """ How do plugins work? There are a few patterns we use to "register" plugins with the core app. 1. All plugins should use entry_points in the setup, pointing to "pioreactor.plugins" 2. Automations are defined by a subclassing the respective XXXAutomationContrib. There is a hook in this pa...
39.5
108
0.785961
133
869
4.947368
0.609023
0.059271
0.051672
0
0
0
0
0
0
0
0
0.005435
0.153049
869
21
109
41.380952
0.888587
0.718067
0
0
0
0
0.25641
0.094017
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
89a624d75795630a0a33b81f16f5fb33f23b6c5a
1,480
py
Python
wav_reader.py
Acemyzoe/voiceclassifier-vggvox
035f6553f85d51f1b60983acc425e6a926bf6ca9
[ "MIT" ]
3
2020-06-17T12:57:24.000Z
2021-07-20T14:19:11.000Z
wav_reader.py
Acemyzoe/voiceclassifier-vggvox
035f6553f85d51f1b60983acc425e6a926bf6ca9
[ "MIT" ]
1
2021-05-14T11:40:09.000Z
2021-05-14T11:40:09.000Z
wav_reader.py
Acemyzoe/voiceclassifier-vggvox
035f6553f85d51f1b60983acc425e6a926bf6ca9
[ "MIT" ]
null
null
null
import librosa import numpy as np from scipy.signal import lfilter, butter import sigproc import constants as c def load_wav(filename, sample_rate): audio, sr = librosa.load(filename, sr=sample_rate, mono=True) audio = audio.flatten() return audio def normalize_frames(m,epsilon=1e-12): return np.array([(v - np...
28.461538
130
0.731757
251
1,480
4.171315
0.410359
0.095511
0.042025
0.032474
0.049666
0.049666
0
0
0
0
0
0.02502
0.135811
1,480
51
131
29.019608
0.793589
0.084459
0
0
0
0
0.028127
0
0
0
0
0
0
1
0.111111
false
0
0.138889
0.027778
0.361111
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89a998ffaac4df7af10d76701e5a83608039387b
229
py
Python
python/scrutiny/server/protocol/commands/__init__.py
scrutinydebugger/scrutiny
7530790ae40f20c3008fe196e39cab07c4b73445
[ "MIT" ]
1
2021-04-18T02:58:59.000Z
2021-04-18T02:58:59.000Z
python/scrutiny/server/protocol/commands/__init__.py
scrutinydebugger/scrutiny
7530790ae40f20c3008fe196e39cab07c4b73445
[ "MIT" ]
null
null
null
python/scrutiny/server/protocol/commands/__init__.py
scrutinydebugger/scrutiny
7530790ae40f20c3008fe196e39cab07c4b73445
[ "MIT" ]
null
null
null
from .base_command import DatalogControl from .base_command import GetInfo from .base_command import MemoryControl from .base_command import CommControl from .base_command import UserCommand from .base_command import DummyCommand
38.166667
40
0.873362
30
229
6.466667
0.333333
0.247423
0.463918
0.649485
0
0
0
0
0
0
0
0
0.100437
229
6
41
38.166667
0.941748
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
89aa0eabff1f378770268ce311b51506d1dea0f7
822
py
Python
pyfmtdf/rules/python.py
elijahsd/pyformatter
a25f54aeb2f4e10552899cd0a3c5aad17cd52230
[ "MIT" ]
null
null
null
pyfmtdf/rules/python.py
elijahsd/pyformatter
a25f54aeb2f4e10552899cd0a3c5aad17cd52230
[ "MIT" ]
null
null
null
pyfmtdf/rules/python.py
elijahsd/pyformatter
a25f54aeb2f4e10552899cd0a3c5aad17cd52230
[ "MIT" ]
1
2021-02-14T03:51:00.000Z
2021-02-14T03:51:00.000Z
class rules(object): spaces = [" ", "\t"] reserved = ["pass", "break", "continue", \ "global", "nonlocal", \ "assert", "del", "import", \ "from", "as", "if", "elif", "else", "while", "for", "in", \ "with", "try", "except", "finally", "return", "raise", \ "def", "class", ...
32.88
76
0.413625
57
822
5.929825
0.912281
0.047337
0
0
0
0
0
0
0
0
0
0.032841
0.259124
822
24
77
34.25
0.522167
0
0
0
0
0
0.34592
0.076736
0
0
0
0
0.043478
1
0
false
0.043478
0.043478
0
0.695652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
89aa8fb88d06975a11ab90766b62f3f73699496f
4,393
py
Python
scripts/preprocess_snli.py
jabalazs/gating
713f954656bea127ea331ab85aa83f6aaad21954
[ "MIT" ]
10
2019-04-08T02:09:37.000Z
2021-05-04T10:30:44.000Z
scripts/preprocess_snli.py
lizezhonglaile/gating
713f954656bea127ea331ab85aa83f6aaad21954
[ "MIT" ]
null
null
null
scripts/preprocess_snli.py
lizezhonglaile/gating
713f954656bea127ea331ab85aa83f6aaad21954
[ "MIT" ]
4
2019-09-24T14:24:25.000Z
2021-09-02T14:41:38.000Z
#!/usr/bin/env python import argparse import random import os import sys import pandas as pd import colored_traceback # This script is supposed to be executed from the project's top-level directory sys.path.append(os.path.abspath(os.curdir)) from src.utils.io import load_or_create from src.corpus.lang import Lang i...
30.089041
82
0.698156
602
4,393
4.833887
0.274086
0.037113
0.028866
0.043299
0.382131
0.148454
0.10378
0.075601
0.075601
0.075601
0
0.009063
0.171181
4,393
145
83
30.296552
0.790168
0.091964
0
0.067961
0
0
0.262563
0.034925
0
0
0
0
0
1
0.019417
false
0
0.087379
0.009709
0.116505
0.058252
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89ab7da14054cf4a431067013622a1db7ca142cd
218
py
Python
Chapter7/Exercise8.py
NoahNacho/Python-project-tests
38e43f011159232fab29d2bb1be969cb5000e635
[ "MIT" ]
2
2021-07-02T03:07:38.000Z
2021-07-21T14:47:20.000Z
Chapter7/Exercise8.py
NoahNacho/python-solving-problems-examples
38e43f011159232fab29d2bb1be969cb5000e635
[ "MIT" ]
null
null
null
Chapter7/Exercise8.py
NoahNacho/python-solving-problems-examples
38e43f011159232fab29d2bb1be969cb5000e635
[ "MIT" ]
null
null
null
def print_multiples(n, high): for i in range(1, high+1): print(n * i, end=" ") print() def print_mult_table(high): for i in range(1, high+1): print_multiples(i, high) print_mult_table(5)
21.8
32
0.605505
37
218
3.405405
0.378378
0.126984
0.126984
0.15873
0.412698
0.412698
0.412698
0.412698
0.412698
0
0
0.030675
0.252294
218
10
33
21.8
0.742331
0
0
0.25
0
0
0.013699
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.75
0
0
0
null
0
0
0
0
0
0
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
1
0
2
89adb232f0752b63ce120de811bab5e524b68d21
2,136
py
Python
recommender_template.py
jairNeto/ibm-recommender-system
e57493ef28623d187f8431b6c756569fdb3fd0e3
[ "MIT" ]
null
null
null
recommender_template.py
jairNeto/ibm-recommender-system
e57493ef28623d187f8431b6c756569fdb3fd0e3
[ "MIT" ]
null
null
null
recommender_template.py
jairNeto/ibm-recommender-system
e57493ef28623d187f8431b6c756569fdb3fd0e3
[ "MIT" ]
null
null
null
import pandas as pd from recommender_functions import format_df, create_user_item_matrix, \ get_top_articles, user_user_recs_part2, make_content_recs, tokenize class Recommender(): ''' This class implements a recommender system for the best ibm articles for each specific user. At this class you ca...
34.451613
76
0.639513
286
2,136
4.517483
0.332168
0.051084
0.032508
0.03096
0.111455
0.111455
0.05418
0.05418
0
0
0
0.001971
0.287453
2,136
61
77
35.016393
0.846912
0.409176
0
0.090909
0
0
0.029779
0
0
0
0
0
0
1
0.136364
false
0
0.090909
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89ae3151e34cd933a8d475aab9fdeb8b89601173
5,910
py
Python
dip.py
chenhsiu48/PytorchWCT
c3346ebaec95358ad1d4d5a519d5d0e7de73bc75
[ "MIT" ]
null
null
null
dip.py
chenhsiu48/PytorchWCT
c3346ebaec95358ad1d4d5a519d5d0e7de73bc75
[ "MIT" ]
null
null
null
dip.py
chenhsiu48/PytorchWCT
c3346ebaec95358ad1d4d5a519d5d0e7de73bc75
[ "MIT" ]
1
2020-12-30T03:28:31.000Z
2020-12-30T03:28:31.000Z
import os from PIL import Image import cv2 import numpy as np from scipy.ndimage import gaussian_filter def join_path(*dirs): if len(dirs) == 0: return '' path = dirs[0] for d in dirs[1:]: path = os.path.join(path, d) return path def make_filepath(fpath, dir_name=None, ext_name=None,...
29.257426
101
0.654315
941
5,910
3.892667
0.166844
0.05733
0.042588
0.034398
0.54955
0.54955
0.54955
0.54955
0.54955
0.54955
0
0.018606
0.208799
5,910
201
102
29.402985
0.764756
0.022166
0
0.453333
0
0
0.034632
0
0
0
0
0
0
1
0.073333
false
0
0.046667
0
0.18
0.026667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89aea7abb874db77f8b63e1a8ce25a8837c79c14
739
py
Python
ifitwala_ed/utilities/transaction_base.py
nbhatti/ifitwala_ed
3e38ebb94c9e7d551b5404344076d6053f2fee21
[ "MIT" ]
null
null
null
ifitwala_ed/utilities/transaction_base.py
nbhatti/ifitwala_ed
3e38ebb94c9e7d551b5404344076d6053f2fee21
[ "MIT" ]
null
null
null
ifitwala_ed/utilities/transaction_base.py
nbhatti/ifitwala_ed
3e38ebb94c9e7d551b5404344076d6053f2fee21
[ "MIT" ]
null
null
null
# Copyright (c) 2021, ifitwala and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe import frappe.share from frappe import _ from frappe.utils import cstr, now_datetime, cint, flt, get_time, get_datetime, get_link_to_form, date_diff, nowdate def ...
29.56
116
0.756428
99
739
5.414141
0.585859
0.149254
0.037313
0.052239
0
0
0
0
0
0
0
0.006339
0.146143
739
24
117
30.791667
0.843106
0.125846
0
0
0
0
0.399689
0.096423
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
89af0db8460aec85b4aa8863bfaf4d79688eaa92
20,638
py
Python
mda/app/database.py
5GZORRO/mda
2f3bbb058b3017cf7cd720b9003c4c20155e3163
[ "Apache-2.0" ]
2
2021-03-11T11:08:35.000Z
2022-03-15T14:23:35.000Z
mda/app/database.py
5GZORRO/mda
2f3bbb058b3017cf7cd720b9003c4c20155e3163
[ "Apache-2.0" ]
15
2021-03-05T16:16:26.000Z
2021-10-11T16:42:22.000Z
mda/app/database.py
5GZORRO/mda
2f3bbb058b3017cf7cd720b9003c4c20155e3163
[ "Apache-2.0" ]
3
2021-03-22T05:44:49.000Z
2022-01-13T14:50:47.000Z
from .main import * engine = create_engine('postgresql+psycopg2://' + POSTGRES_USER + ':' + POSTGRES_PASSWORD + '@' + POSTGRES_HOST + ':' + POSTGRES_PORT + '/' + POSTGRES_DB, pool_size=num_fetch_threads+num_fetch_threads_agg, convert_unicode=True) # Create database if it does not exist. if not database_exists(engine.u...
42.728778
416
0.682334
2,670
20,638
4.997753
0.082022
0.029676
0.022482
0.020234
0.647857
0.567071
0.501649
0.469649
0.44327
0.416667
0
0.007193
0.198372
20,638
482
417
42.817427
0.799383
0.039636
0
0.488127
0
0.002639
0.089484
0.002594
0
0
0
0
0
1
0.058047
false
0.002639
0.002639
0.007916
0.261214
0.036939
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89b1cfef1322d6b2e732c4b840d36971f5ab1c90
1,829
py
Python
src/spaceone/board/manager/post_manager.py
spaceone-dev/board
1733756344240b1498bca85b6e1b88d741425ea0
[ "Apache-2.0" ]
null
null
null
src/spaceone/board/manager/post_manager.py
spaceone-dev/board
1733756344240b1498bca85b6e1b88d741425ea0
[ "Apache-2.0" ]
1
2022-03-23T06:44:15.000Z
2022-03-23T06:52:39.000Z
src/spaceone/board/manager/post_manager.py
spaceone-dev/board
1733756344240b1498bca85b6e1b88d741425ea0
[ "Apache-2.0" ]
1
2022-03-22T08:59:01.000Z
2022-03-22T08:59:01.000Z
import logging from spaceone.core.manager import BaseManager from spaceone.board.model import Post _LOGGER = logging.getLogger(__name__) class PostManager(BaseManager): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.post_model: Post = self.locator.get_model('Post') ...
29.983607
115
0.645708
243
1,829
4.514403
0.234568
0.092981
0.059253
0.038286
0.198724
0.134913
0.134913
0
0
0
0
0
0.241115
1,829
60
116
30.483333
0.790346
0
0
0.095238
0
0
0.091307
0.039913
0
0
0
0
0
1
0.261905
false
0
0.071429
0.047619
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
1
0
0
0
0
0
0
0
1
89b1f8a6a9a4624639e3d660ae0e8c94693d43c4
117
py
Python
loopsAndFunctions/function.py
Oritsegbubemi/python-backend
bfd2d9c5ed13829317feb64edecf4bf17fc5f937
[ "Apache-2.0" ]
null
null
null
loopsAndFunctions/function.py
Oritsegbubemi/python-backend
bfd2d9c5ed13829317feb64edecf4bf17fc5f937
[ "Apache-2.0" ]
null
null
null
loopsAndFunctions/function.py
Oritsegbubemi/python-backend
bfd2d9c5ed13829317feb64edecf4bf17fc5f937
[ "Apache-2.0" ]
null
null
null
def textRepeater(name): return name + ' called something inside a function \n' print(textRepeater('Seyi') * 4)
19.5
58
0.700855
15
117
5.466667
0.866667
0
0
0
0
0
0
0
0
0
0
0.010417
0.179487
117
5
59
23.4
0.84375
0
0
0
0
0
0.358974
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
0.666667
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
89b23d33768aa828cc8feab70ac5533232ecfe68
1,125
py
Python
junction/tickets/migrations/0005_auto_20200322_1904.py
theSage21/junction
ac713edcf56c41eb3f066da776a0a5d24e55b46a
[ "MIT" ]
192
2015-01-12T06:21:24.000Z
2022-03-10T09:57:37.000Z
junction/tickets/migrations/0005_auto_20200322_1904.py
theSage21/junction
ac713edcf56c41eb3f066da776a0a5d24e55b46a
[ "MIT" ]
621
2015-01-01T09:19:17.000Z
2021-05-28T09:27:35.000Z
junction/tickets/migrations/0005_auto_20200322_1904.py
theSage21/junction
ac713edcf56c41eb3f066da776a0a5d24e55b46a
[ "MIT" ]
207
2015-01-05T16:39:06.000Z
2022-02-15T13:18:15.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2020-03-22 13:34 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("tickets", "0004_merge"), ] operations = [ mig...
27.439024
51
0.537778
109
1,125
5.311927
0.46789
0.056995
0.086356
0.100173
0.559585
0.559585
0.42487
0.42487
0.42487
0.276339
0
0.026685
0.367111
1,125
40
52
28.125
0.786517
0.057778
0
0.545455
1
0
0.10123
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.181818
0
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
89b2a3595871424dae7d42c0fd9b506509d71eea
410
py
Python
turbulette/apps/base/__init__.py
turbulette/turbulette
32e2d0c18e4dd679a8bf9a3aa72eabe113328015
[ "BSD-3-Clause" ]
31
2020-12-21T23:55:14.000Z
2022-03-04T12:57:10.000Z
turbulette/apps/base/__init__.py
turbulette/turbulette
32e2d0c18e4dd679a8bf9a3aa72eabe113328015
[ "BSD-3-Clause" ]
57
2020-12-06T16:51:06.000Z
2022-02-14T22:10:40.000Z
turbulette/apps/base/__init__.py
gazorby/turbulette
32e2d0c18e4dd679a8bf9a3aa72eabe113328015
[ "BSD-3-Clause" ]
3
2020-09-26T17:26:46.000Z
2020-11-02T22:57:52.000Z
"""Provides GraphQL root types. - `query` - `mutation` - `subscription` And custom scalars : - `datetime_scalar` - `date_scalar` - `json_scalar` !!! info The base app is always loaded, as it should be needed by any other app wanting to bind resolvers to the GraphQL schema. """ from .resolvers.root_types im...
16.4
74
0.685366
52
410
5.288462
0.692308
0.065455
0.181818
0
0
0
0
0
0
0
0
0
0.217073
410
24
75
17.083333
0.856698
0.687805
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
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
1
0
0
0
0
0
0
2
89b3d9bc6b5d43822983d256ef5a1dde3cbecc59
97
py
Python
python3/PipeLikeInput.py
christianpopescu/PythonHelper
e6e647075dffeefc1c4375d25a604a2ae80bdd4d
[ "MIT" ]
null
null
null
python3/PipeLikeInput.py
christianpopescu/PythonHelper
e6e647075dffeefc1c4375d25a604a2ae80bdd4d
[ "MIT" ]
null
null
null
python3/PipeLikeInput.py
christianpopescu/PythonHelper
e6e647075dffeefc1c4375d25a604a2ae80bdd4d
[ "MIT" ]
null
null
null
import sys for line in sys.stdin: sys.stdout.write(line) sys.stdout.write("x\n")
16.166667
29
0.618557
16
97
3.75
0.625
0.3
0.466667
0
0
0
0
0
0
0
0
0
0.247423
97
5
30
19.4
0.821918
0
0
0
0
0
0.032609
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
89b501b387e90046414f18562a546e79e3957067
2,620
py
Python
mqtt_panel/web/widget/light.py
joseph-tobin/mqtt-panel
df203af5bd5b7e0dd32be1cc5b9deea8400d102a
[ "MIT" ]
null
null
null
mqtt_panel/web/widget/light.py
joseph-tobin/mqtt-panel
df203af5bd5b7e0dd32be1cc5b9deea8400d102a
[ "MIT" ]
null
null
null
mqtt_panel/web/widget/light.py
joseph-tobin/mqtt-panel
df203af5bd5b7e0dd32be1cc5b9deea8400d102a
[ "MIT" ]
null
null
null
import logging from mqtt_panel.web.widget.widget import Widget class Light(Widget): widget_type = 'light' def __init__(self, *args, **kwargs): super(Light, self).__init__(*args, **kwargs) # self._value = self._c['values'][0].get('payload') self._payload_map = {} for blob in se...
29.772727
85
0.516031
295
2,620
4.420339
0.298305
0.027607
0.025307
0.03911
0.194785
0.150307
0.082822
0.059816
0.059816
0
0
0.003423
0.330916
2,620
87
86
30.114943
0.740445
0.018702
0
0.239437
0
0
0.271312
0.071234
0
0
0
0
0
1
0.112676
false
0
0.028169
0.042254
0.267606
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89b6dd98d28c57ba3f0ec9763862fdf9de99608d
8,464
py
Python
mqtty/config.py
masayukig/mqtty
7b2439959bb1d308e0cb4f0e98316e8ee8df6aa2
[ "Apache-2.0" ]
null
null
null
mqtty/config.py
masayukig/mqtty
7b2439959bb1d308e0cb4f0e98316e8ee8df6aa2
[ "Apache-2.0" ]
9
2017-08-23T08:34:55.000Z
2017-12-16T13:39:50.000Z
mqtty/config.py
masayukig/mqtty
7b2439959bb1d308e0cb4f0e98316e8ee8df6aa2
[ "Apache-2.0" ]
1
2019-06-04T17:48:15.000Z
2019-06-04T17:48:15.000Z
# Copyright 2014 OpenStack Foundation # Copyright 2014 Hewlett-Packard Development Company, L.P. # # 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/LICENS...
36.32618
79
0.560964
950
8,464
4.917895
0.238947
0.044949
0.044521
0.012842
0.158604
0.090325
0.056935
0.024401
0.024401
0.024401
0
0.008477
0.303166
8,464
232
80
36.482759
0.783655
0.072661
0
0.076923
0
0
0.16288
0
0
0
0
0
0
1
0.029586
false
0.011834
0.053254
0
0.266272
0.017751
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89b75853bd9b72ee4f01dc2003303db7a80ac078
422
py
Python
wafw00f/plugins/viettel.py
84KaliPleXon3/EnableSecurity-wafw00f
7fb9d5c9ddd222377a935724c66977e2e9c97c78
[ "BSD-3-Clause" ]
3,069
2016-05-23T16:08:31.000Z
2022-03-31T16:27:40.000Z
wafw00f/plugins/viettel.py
marcelovff/wafw00f
e3e6147d5d0dbb89030a9902e47170f15e95dd31
[ "BSD-3-Clause" ]
98
2016-06-06T16:43:54.000Z
2022-03-18T12:30:19.000Z
wafw00f/plugins/viettel.py
marcelovff/wafw00f
e3e6147d5d0dbb89030a9902e47170f15e95dd31
[ "BSD-3-Clause" ]
734
2016-05-25T02:17:46.000Z
2022-03-31T11:43:37.000Z
#!/usr/bin/env python ''' Copyright (C) 2020, WAFW00F Developers. See the LICENSE file for copying permission. ''' NAME = 'Viettel (Cloudrity)' def is_waf(self): schemes = [ self.matchContent(r"Access Denied.{0,10}?Viettel WAF"), self.matchContent(r"cloudrity\.com\.(vn)?/"), self.matchCon...
23.444444
63
0.637441
56
422
4.785714
0.714286
0.179104
0.190299
0
0
0
0
0
0
0
0
0.027356
0.220379
422
18
64
23.444444
0.787234
0.248815
0
0
0
0
0.293548
0.13871
0
0
0
0
0
1
0.1
false
0
0
0
0.3
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
89b77ef30272c6810340d56b530f449b5d7fbb5a
1,458
py
Python
project/com/dao/MedicineDAO.py
soham2512/Agripedia
bc9fd31cb7a080ceccbf4fb6d189b27d398f9e33
[ "MIT" ]
null
null
null
project/com/dao/MedicineDAO.py
soham2512/Agripedia
bc9fd31cb7a080ceccbf4fb6d189b27d398f9e33
[ "MIT" ]
null
null
null
project/com/dao/MedicineDAO.py
soham2512/Agripedia
bc9fd31cb7a080ceccbf4fb6d189b27d398f9e33
[ "MIT" ]
null
null
null
from project import db from project.com.vo.CropTypeVO import CropTypeVO from project.com.vo.CropVO import CropVO from project.com.vo.ImageVO import ImageVO from project.com.vo.MedicineVO import MedicineVO class MedicineDAO: def insertMedicine(self, MedicineVO): db.session.add(MedicineVO) db.sessio...
38.368421
91
0.709191
148
1,458
6.952703
0.27027
0.069971
0.054422
0.062196
0.367347
0.287658
0.287658
0.287658
0.287658
0.287658
0
0
0.194787
1,458
37
92
39.405405
0.876491
0
0
0.233333
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89b7b256a8fbc4ac824033e18daa6a97bbd3501a
18,182
py
Python
djangoProject1/venv/Lib/site-packages/owlready2/editor.py
meddhafer97/Risk-management-khnowledge-based-system
aba86734801a9e0313071e2c9931295e0da08ed0
[ "MIT" ]
null
null
null
djangoProject1/venv/Lib/site-packages/owlready2/editor.py
meddhafer97/Risk-management-khnowledge-based-system
aba86734801a9e0313071e2c9931295e0da08ed0
[ "MIT" ]
null
null
null
djangoProject1/venv/Lib/site-packages/owlready2/editor.py
meddhafer97/Risk-management-khnowledge-based-system
aba86734801a9e0313071e2c9931295e0da08ed0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Owlready2 # Copyright (C) 2013-2019 Jean-Baptiste LAMY # LIMICS (Laboratoire d'informatique médicale et d'ingénierie des connaissances en santé), UMR_S 1142 # University Paris 13, Sorbonne paris-Cité, Bobigny, France # This program is free software: you can redistribute it and/or modify # it ...
47.103627
183
0.702948
2,164
18,182
5.665896
0.151109
0.023978
0.039149
0.024794
0.391893
0.334883
0.275671
0.257483
0.251774
0.241253
0
0.002786
0.210483
18,182
385
184
47.225974
0.851341
0.210923
0
0.160156
0
0
0.010783
0
0
0
0
0
0
1
0.089844
false
0.015625
0.023438
0.015625
0.175781
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89b8b28842383544b2dc122f5e744290238f974d
51
py
Python
tests/__init__.py
drinksober/django-impala-backend
8d8d44211905dd92a721acc9c3e24dd743ae6d75
[ "MIT" ]
1
2020-09-02T08:36:41.000Z
2020-09-02T08:36:41.000Z
tests/__init__.py
me-drinks/django-impala-backend
8d8d44211905dd92a721acc9c3e24dd743ae6d75
[ "MIT" ]
null
null
null
tests/__init__.py
me-drinks/django-impala-backend
8d8d44211905dd92a721acc9c3e24dd743ae6d75
[ "MIT" ]
null
null
null
"""Unit test package for django_impala_backend."""
25.5
50
0.764706
7
51
5.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.098039
51
1
51
51
0.804348
0.862745
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
89ba5ce833b0a601793d4f7d9acdb30891d0b377
240
py
Python
hybrid_markov/test.py
pengyuan/markov2tensor
4bcdcba6273dc7b671d81953da934188135dbca3
[ "MIT" ]
1
2018-03-20T08:28:25.000Z
2018-03-20T08:28:25.000Z
hybrid_markov/test.py
pengyuan/markov2tensor
4bcdcba6273dc7b671d81953da934188135dbca3
[ "MIT" ]
null
null
null
hybrid_markov/test.py
pengyuan/markov2tensor
4bcdcba6273dc7b671d81953da934188135dbca3
[ "MIT" ]
2
2015-12-16T07:21:15.000Z
2018-03-20T08:28:27.000Z
#!/usr/bin/env python # coding: UTF-8 from pymatbridge import Matlab mlab = Matlab(executable='/Applications/MATLAB_R2014a.app/bin/matlab') mlab.start() results = mlab.run_code('a=1;') var = mlab.get_variable('a') print var mlab.stop()
17.142857
70
0.729167
37
240
4.648649
0.72973
0.116279
0
0
0
0
0
0
0
0
0
0.028037
0.108333
240
14
71
17.142857
0.775701
0.141667
0
0
0
0
0.229268
0.204878
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
0
0
0
null
0
0
0
0
0
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
89bbd494317a7f8427b80bab008bf35ed4c4ea9c
347
py
Python
config/database.py
amin-gholizad/todolist
375d54ea74de5d0cc03bd7ecaf898c2d39b386bd
[ "MIT" ]
null
null
null
config/database.py
amin-gholizad/todolist
375d54ea74de5d0cc03bd7ecaf898c2d39b386bd
[ "MIT" ]
null
null
null
config/database.py
amin-gholizad/todolist
375d54ea74de5d0cc03bd7ecaf898c2d39b386bd
[ "MIT" ]
null
null
null
from fastapi import FastAPI from tortoise.contrib.fastapi import register_tortoise from models.base import model_list from config.secrets import db_url def register(app: FastAPI): register_tortoise( app, db_url=db_url, modules={'models': model_list}, generate_schemas=True, add_exc...
23.133333
54
0.731988
45
347
5.422222
0.511111
0.061475
0
0
0
0
0
0
0
0
0
0
0.201729
347
14
55
24.785714
0.880866
0
0
0
0
0
0.017291
0
0
0
0
0
0
1
0.090909
false
0
0.363636
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
0
1
0
0
0
0
1
89bcbdc18d626d05c6643c94a638ed633b84861b
7,965
py
Python
bitfeeds/exchange.py
bopo/bitfeeds
bc525386418061aa4cac11852b1cf28d3b29dea3
[ "Apache-2.0" ]
1
2018-02-25T04:27:07.000Z
2018-02-25T04:27:07.000Z
bitfeeds/exchange.py
bopo/bitfeeds
bc525386418061aa4cac11852b1cf28d3b29dea3
[ "Apache-2.0" ]
null
null
null
bitfeeds/exchange.py
bopo/bitfeeds
bc525386418061aa4cac11852b1cf28d3b29dea3
[ "Apache-2.0" ]
null
null
null
#!/bin/python from bitfeeds.storage.zeromq import ZmqStorage from bitfeeds.storage.file import FileStorage from bitfeeds.market import L2Depth, Trade, Snapshot from datetime import datetime from threading import Lock class ExchangeGateway: #########################################################################...
44.005525
137
0.473572
720
7,965
4.975
0.166667
0.057789
0.037968
0.031267
0.539363
0.491625
0.462032
0.435232
0.401731
0.375489
0
0.003785
0.436033
7,965
180
138
44.25
0.793633
0.113748
0
0.469565
0
0
0.01369
0
0
0
0
0
0
1
0.104348
false
0
0.043478
0.026087
0.234783
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
89be4dfeca24b0b7fe4dc1175ac5c5f0f9c555c3
467
py
Python
utilities/simulator/virtual_sensor.py
gauravmm/Remote-Temperature-Monitor
e3695a44dc30e5c013871e303ae8f6fdf481bf04
[ "MIT" ]
null
null
null
utilities/simulator/virtual_sensor.py
gauravmm/Remote-Temperature-Monitor
e3695a44dc30e5c013871e303ae8f6fdf481bf04
[ "MIT" ]
null
null
null
utilities/simulator/virtual_sensor.py
gauravmm/Remote-Temperature-Monitor
e3695a44dc30e5c013871e303ae8f6fdf481bf04
[ "MIT" ]
null
null
null
import serial import math import numpy as np import time with serial.Serial("COM15", 9600) as ser: period = 120; while True: for x in np.arange(1, 2*math.pi, 2*math.pi/period): s = "%.1f\n\n" % (math.sin(x) * 80 + 100); print s; ser.write(s); ...
24.578947
60
0.479657
59
467
3.79661
0.576271
0.044643
0.0625
0
0
0
0
0
0
0
0
0.068592
0.406852
467
19
61
24.578947
0.740072
0
0
0
0
0
0.028889
0
0
0
0
0
0
0
null
null
0
0.266667
null
null
0.2
0
0
0
null
0
0
0
0
0
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
981f440bf776ae3b4ce703b0a1e6144d61b2992a
831
py
Python
summary/models.py
suesuhyoonjin/kkp
0918cd3cc33be33744c30d7820712841d7a12cb5
[ "MIT" ]
1
2020-11-07T02:27:46.000Z
2020-11-07T02:27:46.000Z
summary/models.py
suesuhyoonjin/kkp
0918cd3cc33be33744c30d7820712841d7a12cb5
[ "MIT" ]
null
null
null
summary/models.py
suesuhyoonjin/kkp
0918cd3cc33be33744c30d7820712841d7a12cb5
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone class Summary(models.Model): author = models.ForeignKey('auth.User', on_delete=models.CASCADE) section_name = models.CharField(max_length=1000, null=True) category_name = models.CharField(max_length=1000, null=True) summary_name = models....
36.130435
69
0.696751
106
831
5.273585
0.509434
0.085868
0.128801
0.171735
0.214669
0.214669
0.214669
0.214669
0
0
0
0.023704
0.187726
831
22
70
37.772727
0.804444
0
0
0
0
0
0.038601
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.823529
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
981fabdb0ce384e116d81de9570573bc722147f3
6,468
py
Python
test/func_test.py
estheruary/dynomite-deb
601367cfb6b298a1d460ba5891e8254edf974686
[ "Apache-2.0" ]
null
null
null
test/func_test.py
estheruary/dynomite-deb
601367cfb6b298a1d460ba5891e8254edf974686
[ "Apache-2.0" ]
null
null
null
test/func_test.py
estheruary/dynomite-deb
601367cfb6b298a1d460ba5891e8254edf974686
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import redis import argparse import random import string import sys import time from utils import string_generator, number_generator from dyno_node import DynoNode from redis_node import RedisNode from dyno_cluster import DynoCluster from dual_run import dual_run, ResultMismatchError def parse_a...
32.34
87
0.649505
971
6,468
4.098867
0.223481
0.026131
0.057789
0.038442
0.351759
0.261558
0.212563
0.166332
0.129648
0.11407
0
0.033878
0.233302
6,468
199
88
32.502513
0.768703
0.176716
0
0.227273
0
0
0.070577
0
0
0
0
0
0.022727
1
0.068182
false
0
0.083333
0.007576
0.189394
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9820ddd02fc57ce99f82b5e80b5558efc6e3e333
7,212
py
Python
frontend/pages/admin_portal/download_data.py
zagaran/instant-census
62dd5bbc62939f43776a10708ef663722ead98af
[ "MIT" ]
1
2021-06-01T17:03:47.000Z
2021-06-01T17:03:47.000Z
frontend/pages/admin_portal/download_data.py
zagaran/instant-census
62dd5bbc62939f43776a10708ef663722ead98af
[ "MIT" ]
null
null
null
frontend/pages/admin_portal/download_data.py
zagaran/instant-census
62dd5bbc62939f43776a10708ef663722ead98af
[ "MIT" ]
null
null
null
import time import zipfile from io import BytesIO from flask import Blueprint, send_file, request from mongolia import ID_KEY from backend.admin_portal.common_helpers import validate_cohort, validate_user, raise_404_error from backend.admin_portal.download_data_helpers import (generate_messages_csv, gene...
49.737931
160
0.707571
937
7,212
5.125934
0.197439
0.020404
0.033729
0.016656
0.507391
0.452009
0.428274
0.378305
0.32792
0.32792
0
0.017227
0.195092
7,212
145
161
49.737931
0.810164
0.186772
0
0.352941
0
0
0.164061
0.10188
0
0
0
0.006897
0
1
0.039216
false
0
0.117647
0
0.196078
0.019608
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
98211d0bec5a62e16e0f6aca7fb7de15284eb727
4,819
py
Python
security_monkey/watchers/vpc/subnet.py
bungoume/security_monkey
90c02638a315c78535869ab71a8859d17e011a6a
[ "Apache-2.0" ]
null
null
null
security_monkey/watchers/vpc/subnet.py
bungoume/security_monkey
90c02638a315c78535869ab71a8859d17e011a6a
[ "Apache-2.0" ]
1
2021-03-26T00:43:03.000Z
2021-03-26T00:43:03.000Z
security_monkey/watchers/vpc/subnet.py
cxmcc/security_monkey
ae4c4b5b278505a97f0513f5ae44db3eb23c175c
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 Netflix, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
39.826446
110
0.566923
510
4,819
5.154902
0.362745
0.034234
0.034234
0.026246
0.038798
0
0
0
0
0
0
0.00436
0.333679
4,819
120
111
40.158333
0.814388
0.229508
0
0
0
0
0.113213
0.015351
0
0
0
0.008333
0
1
0.070423
false
0
0.070423
0
0.253521
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
98239f7c5579754d650e0fc77e6f345a387dabfe
715
py
Python
review-sentiment/sentiment-backend/tests/test_api.py
aldeeb/xai-demonstrator
45b600bd326923a21dc2c6e2659b58ab3c7b9bd4
[ "Apache-2.0" ]
8
2021-05-03T13:05:49.000Z
2022-01-11T02:57:33.000Z
review-sentiment/sentiment-backend/tests/test_api.py
aldeeb/xai-demonstrator
45b600bd326923a21dc2c6e2659b58ab3c7b9bd4
[ "Apache-2.0" ]
467
2021-01-22T16:58:56.000Z
2022-03-28T11:15:09.000Z
review-sentiment/sentiment-backend/tests/test_api.py
aldeeb/xai-demonstrator
45b600bd326923a21dc2c6e2659b58ab3c7b9bd4
[ "Apache-2.0" ]
8
2021-05-25T16:10:18.000Z
2022-02-28T13:21:31.000Z
import pytest from sentiment import api def test_that_the_explainer_availability_check_works(mocker): mocker.patch.object(api, 'EXPLAINERS', ["existing"]) good_exp_req = api.ExplanationRequest(text="some text", target=3, met...
29.791667
66
0.562238
72
715
5.347222
0.583333
0.036364
0.057143
0.103896
0.27013
0.27013
0.27013
0.27013
0.27013
0.27013
0
0.006452
0.34965
715
23
67
31.086957
0.821505
0
0
0.133333
0
0
0.082517
0
0
0
0
0
0.066667
1
0.133333
false
0
0.133333
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
982716784cfedb3163df81545e6a24d0137dcca9
85
py
Python
socceraction/atomic/__init__.py
pientist/socceraction
7f8e666ee5da7c1890c72a2c72042d4c73b90fda
[ "MIT" ]
371
2019-07-25T07:35:00.000Z
2022-03-25T11:13:56.000Z
socceraction/atomic/__init__.py
pientist/socceraction
7f8e666ee5da7c1890c72a2c72042d4c73b90fda
[ "MIT" ]
145
2019-08-29T12:49:55.000Z
2022-03-31T09:35:05.000Z
socceraction/atomic/__init__.py
denisov-vlad/socceraction
0b03bc230bebb7e830d65aa231d961b879b828fb
[ "MIT" ]
101
2019-08-20T21:07:34.000Z
2022-03-26T10:00:00.000Z
# -*- coding: utf-8 -*- """Implements Atomic-SPADL and the Atomic-VAEP framework."""
28.333333
60
0.658824
11
85
5.090909
0.909091
0
0
0
0
0
0
0
0
0
0
0.013514
0.129412
85
2
61
42.5
0.743243
0.905882
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
9828ac6d8a360aa1bdc1678784f726c48d1506dc
1,199
py
Python
ckanext/nhm/lib/resource_view.py
pribadihcr/ckanext-nhm
8b01a0294a809fde491094cb6928b57fee90a9a6
[ "MIT" ]
18
2015-07-05T23:27:37.000Z
2021-11-25T06:54:50.000Z
ckanext/nhm/lib/resource_view.py
pribadihcr/ckanext-nhm
8b01a0294a809fde491094cb6928b57fee90a9a6
[ "MIT" ]
285
2015-01-08T14:36:06.000Z
2022-03-23T14:45:53.000Z
ckanext/nhm/lib/resource_view.py
pribadihcr/ckanext-nhm
8b01a0294a809fde491094cb6928b57fee90a9a6
[ "MIT" ]
1
2021-07-11T11:28:18.000Z
2021-07-11T11:28:18.000Z
# !/usr/bin/env python # encoding: utf-8 # # This file is part of ckanext-nhm # Created by the Natural History Museum in London, UK import ckanext.nhm.views as nhm_views def resource_view_get_view(resource): '''Retrieve the controller for a resource. Try and match on resource ID, or on format so we can provi...
26.065217
82
0.694746
168
1,199
4.833333
0.452381
0.039409
0.055419
0.044335
0.066502
0
0
0
0
0
0
0.001087
0.232694
1,199
45
83
26.644444
0.881522
0.511259
0
0.307692
0
0
0.014925
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
9828b45924c30d21484d0de726dd951478e26894
1,157
py
Python
tests/queues_test.py
Cormen-Lib-Developers/Cormen-Lib
7877f1180cb76b56c909b70a35d85af8a83e530a
[ "MIT" ]
8
2022-01-24T00:34:59.000Z
2022-03-15T01:34:51.000Z
tests/queues_test.py
Cormen-Lib-Developers/Cormen-Lib
7877f1180cb76b56c909b70a35d85af8a83e530a
[ "MIT" ]
8
2022-02-09T22:07:35.000Z
2022-03-17T16:23:08.000Z
tests/queues_test.py
Cormen-Lib-Developers/Cormen-Lib
7877f1180cb76b56c909b70a35d85af8a83e530a
[ "MIT" ]
null
null
null
import unittest from dalpy.queues import Queue, QueueUnderflowError class QueueTest(unittest.TestCase): def test_init(self): q = Queue() self.assertTrue(q.is_empty()) self.assertEqual(q.size(), 0) def test_empty_ops(self): q = Queue() self.assertRaises(QueueUnderflowE...
26.295455
67
0.581677
143
1,157
4.573427
0.272727
0.206422
0.220183
0.122324
0.470948
0.107034
0.107034
0.107034
0.107034
0
0
0.01444
0.281763
1,157
43
68
26.906977
0.772563
0
0
0.382353
0
0
0.006914
0
0
0
0
0
0.411765
1
0.147059
false
0
0.058824
0
0.235294
0
0
0
0
null
1
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
1
0
0
0
0
0
0
0
0
0
3
9829d3ad257c08e3dc462e67d577f5f1b8009c27
1,138
py
Python
tests/test_parsers/test_markdown.py
mjpieters/flakehell
56b2ac7f9a2895546ac742b7bfa70babe2730971
[ "MIT" ]
1
2020-08-30T10:58:20.000Z
2020-08-30T10:58:20.000Z
tests/test_parsers/test_markdown.py
mjpieters/flakehell
56b2ac7f9a2895546ac742b7bfa70babe2730971
[ "MIT" ]
6
2020-08-30T10:58:32.000Z
2020-08-30T11:11:13.000Z
tests/test_parsers/test_markdown.py
mjpieters/flakehell
56b2ac7f9a2895546ac742b7bfa70babe2730971
[ "MIT" ]
null
null
null
import ast from pathlib import Path from flakehell.parsers import MarkdownParser GIVEN = """ # Example This is example of markdown file ```python a = 1 print('oh hi mark') ``` Emphasized: ```python hl_lines="1" emphasized_imaginary_function() ``` PyCon: ```pycon >>> print("Hello") 'Hello' >>> banana = "banana" ...
13.547619
49
0.625659
143
1,138
4.902098
0.405594
0.034237
0.03709
0.057061
0.624822
0.624822
0.624822
0.624822
0.624822
0.624822
0
0.006623
0.203866
1,138
83
50
13.710843
0.767108
0.037786
0
0.40678
0
0
0.693504
0.056725
0
0
0
0
0.016949
1
0.016949
false
0
0.050847
0
0.067797
0.135593
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9829ebb5e417a18b7799bdd5ca28cb967d50275a
4,298
py
Python
redcap_bridge/test_redcap/test_server_interface.py
killianrochet/DigLabTools
e015a80b0668f94d1c7c0f91e55afb6fb50787e1
[ "MIT" ]
2
2021-11-02T09:26:20.000Z
2021-12-06T10:45:01.000Z
redcap_bridge/test_redcap/test_server_interface.py
killianrochet/DigLabTools
e015a80b0668f94d1c7c0f91e55afb6fb50787e1
[ "MIT" ]
28
2021-04-10T17:09:01.000Z
2022-03-22T13:49:15.000Z
redcap_bridge/test_redcap/test_server_interface.py
killianrochet/DigLabTools
e015a80b0668f94d1c7c0f91e55afb6fb50787e1
[ "MIT" ]
2
2021-04-12T11:28:14.000Z
2021-04-13T10:39:51.000Z
import json import pandas as pd import pytest import redcap from redcap_bridge.server_interface import (upload_datadict, download_records, download_datadict) from redcap_bridge.test_redcap.test_utils import (test_directory, ...
38.720721
86
0.683574
515
4,298
5.454369
0.293204
0.054824
0.039872
0.0356
0.312211
0.218939
0.166607
0.135279
0.11036
0.11036
0
0.001521
0.235226
4,298
110
87
39.072727
0.853058
0.259423
0
0.074074
0
0
0.099548
0.016484
0
0
0
0.018182
0.055556
1
0.074074
false
0
0.203704
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
982ad0f9ccac820b137e7234becb236db7c159ad
961
py
Python
git_analyzers/gituser.py
Telefonica/packagedna
3b3a18c95d651d85095438de5e9084cc21567865
[ "MIT" ]
52
2021-08-06T15:17:33.000Z
2022-02-03T13:45:44.000Z
git_analyzers/gituser.py
bruno-rodrigues-bitsight/packagedna
3b3a18c95d651d85095438de5e9084cc21567865
[ "MIT" ]
1
2021-08-23T09:15:33.000Z
2021-11-08T11:31:55.000Z
git_analyzers/gituser.py
bruno-rodrigues-bitsight/packagedna
3b3a18c95d651d85095438de5e9084cc21567865
[ "MIT" ]
11
2021-08-08T04:16:12.000Z
2021-11-09T05:36:15.000Z
#!/usr/bin/env python3 # Detect repos of user en GIT # %%%%%%%%%%% Libraries %%%%%%%%%%%# import json import urllib.request from auxiliar_functions.globals import url_git_user # %%%%%%%%%%% Functions %%%%%%%%%%%# def git_user(username): try: user_info = json.loads(urllib.request.urlopen(url_git_user...
25.289474
78
0.532778
104
961
4.740385
0.432692
0.070994
0.060852
0.089249
0.190669
0.190669
0.190669
0.190669
0.190669
0
0
0.004425
0.294485
961
37
79
25.972973
0.722714
0.121748
0
0.1
0
0
0.124402
0
0
0
0
0
0
1
0.05
false
0
0.15
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
982afcb70f3962008c7930849e69e44a06c6f4d3
57
py
Python
app/__init__.py
martyni/jenkins_test
5e941d025531f6c3d2eaab99433a35b4d3561dfd
[ "MIT" ]
null
null
null
app/__init__.py
martyni/jenkins_test
5e941d025531f6c3d2eaab99433a35b4d3561dfd
[ "MIT" ]
null
null
null
app/__init__.py
martyni/jenkins_test
5e941d025531f6c3d2eaab99433a35b4d3561dfd
[ "MIT" ]
null
null
null
__version__="v.0.0.1" def main(): print("I'm an app")
14.25
22
0.596491
12
57
2.5
0.916667
0
0
0
0
0
0
0
0
0
0
0.0625
0.157895
57
3
23
19
0.5625
0
0
0
0
0
0.298246
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
982b583404e17569522eb8d5cb12cb7330c30af5
132
py
Python
platform/msb430/buildscripts/jtag/pyjtag/setup.py
s3lsensor/CEE155_SensorDeployLab_b
ad2d9ccf13ecfacb0a73115548fccfee3120f2a1
[ "Apache-2.0" ]
5
2016-05-20T10:40:23.000Z
2019-11-04T20:46:58.000Z
platform/msb430/buildscripts/jtag/pyjtag/setup.py
s3lsensor/CEE155_SensorDeployLab_b
ad2d9ccf13ecfacb0a73115548fccfee3120f2a1
[ "Apache-2.0" ]
6
2016-02-18T22:29:26.000Z
2016-02-18T22:31:54.000Z
platform/msb430/buildscripts/jtag/pyjtag/setup.py
s3lsensor/CEE155_SensorDeployLab_b
ad2d9ccf13ecfacb0a73115548fccfee3120f2a1
[ "Apache-2.0" ]
7
2015-11-24T23:09:12.000Z
2022-02-18T07:56:02.000Z
# setup.py from distutils.core import setup import glob import py2exe setup( name="msp430-jtag", scripts=["jtag.py"], )
14.666667
32
0.674242
18
132
4.944444
0.666667
0
0
0
0
0
0
0
0
0
0
0.037736
0.19697
132
9
33
14.666667
0.801887
0.060606
0
0
0
0
0.146341
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4