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
74e6f5d9275398f9f21bffa9102ff21f452d23dc
399
py
Python
simple_parser.py
galaxyChen/dl4ir-webnav
09a76395cb414ac2b56cceea06ddb169cefd4f70
[ "BSD-3-Clause" ]
14
2019-07-12T09:53:12.000Z
2022-03-29T07:58:54.000Z
simple_parser.py
galaxyChen/dl4ir-webnav
09a76395cb414ac2b56cceea06ddb169cefd4f70
[ "BSD-3-Clause" ]
null
null
null
simple_parser.py
galaxyChen/dl4ir-webnav
09a76395cb414ac2b56cceea06ddb169cefd4f70
[ "BSD-3-Clause" ]
6
2019-08-15T02:12:22.000Z
2022-02-28T08:59:41.000Z
''' Simple parser that extracts a webpage's content and hyperlinks. ''' import urllib2 import re class Parser(): def __init__(self): pass def parse(self, url): f = urllib2.urlopen(url) text = f.read() # get page's contents. #use re.findall to get all the links ...
19
63
0.568922
51
399
4.372549
0.686275
0.080717
0
0
0
0
0
0
0
0
0
0.007067
0.290727
399
20
64
19.95
0.780919
0.300752
0
0
0
0
0.051852
0
0
0
0
0
0
1
0.2
false
0.1
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
74eb0a92b1cd3c856400db20185c9be23e747dca
470
py
Python
test4~6.py
songgiwoo/python1
a11d3172a82bbde69ab84ae2a28c26a9d3742905
[ "Apache-2.0" ]
null
null
null
test4~6.py
songgiwoo/python1
a11d3172a82bbde69ab84ae2a28c26a9d3742905
[ "Apache-2.0" ]
null
null
null
test4~6.py
songgiwoo/python1
a11d3172a82bbde69ab84ae2a28c26a9d3742905
[ "Apache-2.0" ]
null
null
null
# *을 1부터 5까지 출력 하세요. a = "*" #for i in range(1, 6, 1): # for j in range(1, i+1, 1): # print(a, end="") # print() #for i in range(5, 0, -1): # for j in range(i-1, 0, -1): # print(a, end="") # print() #line = int(input("Diamond 의 길이를 입력하세요(2~30) : ")) #for x in range(1, line * 2, 2): # ...
18.8
57
0.414894
84
470
2.321429
0.345238
0.215385
0.123077
0.112821
0.4
0
0
0
0
0
0
0.092593
0.310638
470
24
58
19.583333
0.509259
0.902128
0
0
0
0
0.033333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
74f521bcc30f151f00624479a034634bed9b8e67
1,135
py
Python
src/sagemaker_huggingface_inference_toolkit/serving.py
oconnoat/sagemaker-huggingface-inference-toolkit
f884fc65d64f2e15637ccf16d2a83e37114cb23f
[ "Apache-2.0" ]
46
2021-06-14T08:48:23.000Z
2022-03-11T17:35:37.000Z
src/sagemaker_huggingface_inference_toolkit/serving.py
oconnoat/sagemaker-huggingface-inference-toolkit
f884fc65d64f2e15637ccf16d2a83e37114cb23f
[ "Apache-2.0" ]
42
2021-06-15T00:46:54.000Z
2022-03-31T01:47:17.000Z
src/sagemaker_huggingface_inference_toolkit/serving.py
oconnoat/sagemaker-huggingface-inference-toolkit
f884fc65d64f2e15637ccf16d2a83e37114cb23f
[ "Apache-2.0" ]
13
2021-06-08T05:49:26.000Z
2022-02-25T18:07:47.000Z
# Copyright 2021 The HuggingFace Team, Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-...
32.428571
95
0.793833
164
1,135
5.29878
0.609756
0.069045
0.029919
0.036824
0.089758
0.089758
0
0
0
0
0
0.014403
0.143612
1,135
34
96
33.382353
0.87963
0.54185
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.272727
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
2d0da53c163d4b7ef0f24007559d40e960004ee7
215
py
Python
Python/IWannaBeTheGuy.py
Zardosh/code-forces-solutions
ea1446b8e4f391f3e9ef63094816c7bdaded1557
[ "MIT" ]
null
null
null
Python/IWannaBeTheGuy.py
Zardosh/code-forces-solutions
ea1446b8e4f391f3e9ef63094816c7bdaded1557
[ "MIT" ]
null
null
null
Python/IWannaBeTheGuy.py
Zardosh/code-forces-solutions
ea1446b8e4f391f3e9ef63094816c7bdaded1557
[ "MIT" ]
null
null
null
n = int(input()) px = list(map(int, input().split())) py = list(map(int, input().split())) x = px[1:] y = py[1:] x.extend(y) if len(set(x)) == n: print('I become the guy.') else: print('Oh, my keyboard!')
16.538462
36
0.548837
39
215
3.025641
0.615385
0.20339
0.169492
0.254237
0.338983
0
0
0
0
0
0
0.011429
0.186047
215
13
37
16.538462
0.662857
0
0
0
0
0
0.152778
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2d1247e7efec77c618af9f534cd39176f230a8f2
259
py
Python
setup.py
vnrvjietlab/vnrlab
472d467a980f26e1976d2d251204ab9e2031ef29
[ "MIT" ]
1
2021-12-28T21:21:07.000Z
2021-12-28T21:21:07.000Z
setup.py
vnrvjietlab/vnrlab
472d467a980f26e1976d2d251204ab9e2031ef29
[ "MIT" ]
null
null
null
setup.py
vnrvjietlab/vnrlab
472d467a980f26e1976d2d251204ab9e2031ef29
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='vnrlab', version='0.1.0', packages=['vnrlab'], license='MIT', include_package_data=True, package_data={ "": ['Data/*.bin'] }, install_requires=[ 'pycryptodome' ], )
17.266667
30
0.559846
26
259
5.423077
0.769231
0.156028
0
0
0
0
0
0
0
0
0
0.015873
0.27027
259
15
31
17.266667
0.730159
0
0
0
0
0
0.161538
0
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
1
0
0
0
0
0
0
2
2d23709ecf826f48b20ad36a3e10ad8c50a1f147
718
py
Python
mysuper/users/forms.py
oreon/mysuper
6f0829c5c5b2e358effaf9e9d904be994668f602
[ "BSD-3-Clause" ]
null
null
null
mysuper/users/forms.py
oreon/mysuper
6f0829c5c5b2e358effaf9e9d904be994668f602
[ "BSD-3-Clause" ]
null
null
null
mysuper/users/forms.py
oreon/mysuper
6f0829c5c5b2e358effaf9e9d904be994668f602
[ "BSD-3-Clause" ]
null
null
null
from django import forms class ActorSearchForm(forms.Form): name = forms.CharField( required = False, label='Search name or surname!', widget=forms.TextInput(attrs={'placeholder': 'search here!'}) ) search_cap_exact = forms....
27.615385
81
0.461003
57
718
5.701754
0.473684
0.16
0.221538
0.276923
0.323077
0
0
0
0
0
0
0
0.458217
718
26
82
27.615385
0.835476
0
0
0.210526
0
0
0.118384
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.315789
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2d240bc77349871e682d97ed64a21e395142d3ac
3,364
py
Python
app/users/models.py
prapeller/blackemployer_api
ae9232773e6e164b22ffccf0b39dd9a4c2a036cf
[ "MIT" ]
null
null
null
app/users/models.py
prapeller/blackemployer_api
ae9232773e6e164b22ffccf0b39dd9a4c2a036cf
[ "MIT" ]
null
null
null
app/users/models.py
prapeller/blackemployer_api
ae9232773e6e164b22ffccf0b39dd9a4c2a036cf
[ "MIT" ]
null
null
null
import datetime import hashlib from random import random from django.conf import settings from django.contrib import auth from django.utils import timezone from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin, BaseUserManager, AbstractUser from django.core.mail import send_mail from django.db impo...
38.227273
104
0.692925
425
3,364
5.322353
0.317647
0.045977
0.019452
0.04244
0.156941
0.114943
0.114943
0.077807
0.043324
0.043324
0
0.006739
0.206005
3,364
87
105
38.666667
0.840135
0.103746
0
0.0625
0
0
0.069783
0
0
0
0
0
0
1
0.109375
false
0.0625
0.171875
0.015625
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
2d2ad2086e8a609503641c7d684694310c11c775
521
py
Python
oop12/lesson12h.py
ay1011/MITx-6.00.1x-Introduction-to-Computer-Science-and-Programming-Using-Python
7c55465ac788fde2a9210d3806a6989b8337a005
[ "MIT" ]
null
null
null
oop12/lesson12h.py
ay1011/MITx-6.00.1x-Introduction-to-Computer-Science-and-Programming-Using-Python
7c55465ac788fde2a9210d3806a6989b8337a005
[ "MIT" ]
null
null
null
oop12/lesson12h.py
ay1011/MITx-6.00.1x-Introduction-to-Computer-Science-and-Programming-Using-Python
7c55465ac788fde2a9210d3806a6989b8337a005
[ "MIT" ]
null
null
null
import math import time def genPrimes(): primes = [] # primes generated so far last = 1 # last number tried while True: last += 1 temp = math.sqrt(last) for p in primes: if p<temp: if last % p == 0 : break else: ...
20.038462
43
0.512476
67
521
3.985075
0.507463
0.037453
0.044944
0
0
0
0
0
0
0
0
0.025157
0.389635
521
25
44
20.84
0.814465
0.138196
0
0
1
0
0
0
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.095238
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
1
0
0
0
0
0
0
0
0
2
2d2c454bf206e68e2a61080648f1f617df4b9d88
754
py
Python
ros_compatibility/src/ros_compatibility/exceptions.py
SebastianHuch/ros-bridge
8a7dae3c75e95200e83f94ec807c37246c417227
[ "MIT" ]
314
2018-11-30T14:00:31.000Z
2022-03-31T08:27:59.000Z
ros_compatibility/src/ros_compatibility/exceptions.py
SebastianHuch/ros-bridge
8a7dae3c75e95200e83f94ec807c37246c417227
[ "MIT" ]
346
2018-11-30T14:15:53.000Z
2022-03-29T05:06:54.000Z
ros_compatibility/src/ros_compatibility/exceptions.py
SebastianHuch/ros-bridge
8a7dae3c75e95200e83f94ec807c37246c417227
[ "MIT" ]
243
2018-11-30T15:13:35.000Z
2022-03-31T12:20:12.000Z
#!/usr/bin/env python # # Copyright (c) 2021 Intel Corporation # # This work is licensed under the terms of the MIT license. # For a copy, see <https://opensource.org/licenses/MIT>. # from ros_compatibility.core import get_ros_version ROS_VERSION = get_ros_version() if ROS_VERSION == 1: import rospy class...
18.85
72
0.709549
84
754
6.27381
0.559524
0.094877
0.049336
0.174573
0
0
0
0
0
0
0
0.010118
0.213528
754
39
73
19.333333
0.878583
0.225464
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
false
0.333333
0.166667
0
0.5
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
1
0
0
0
0
0
2
2d372831c481cabdcaa8c3611d850d9686193763
323
py
Python
algorithms/implementation/taum_and_bday.py
avenet/hackerrank
e522030a023af4ff50d5fc64bd3eba30144e006c
[ "MIT" ]
null
null
null
algorithms/implementation/taum_and_bday.py
avenet/hackerrank
e522030a023af4ff50d5fc64bd3eba30144e006c
[ "MIT" ]
null
null
null
algorithms/implementation/taum_and_bday.py
avenet/hackerrank
e522030a023af4ff50d5fc64bd3eba30144e006c
[ "MIT" ]
null
null
null
t = int( input().strip() ) for a0 in range(t): b, w = input().strip().split(' ') b, w = [int(b),int(w)] x, y, z = input().strip().split(' ') x, y, z = int(x), int(y), int(z) min_black_price = min(b*x, b*(y+z)) min_white_price = min(w*y, w*(x+z)) print(min_black_price + min_white_pric...
20.1875
44
0.520124
60
323
2.666667
0.316667
0.1875
0.1875
0.2
0
0
0
0
0
0
0
0.004082
0.241486
323
15
45
21.533333
0.64898
0
0
0
0
0
0.006192
0
0
0
0
0
0
1
0
false
0
0
0
0
0.090909
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
740d984a3c091d612a0fbedb969c3aebb5cd7746
13,964
py
Python
mapnik-tiler.py
eyeNsky/mapnik-tiler
47919619642aeab065e4b675999fef6f56679eb7
[ "MIT" ]
null
null
null
mapnik-tiler.py
eyeNsky/mapnik-tiler
47919619642aeab065e4b675999fef6f56679eb7
[ "MIT" ]
null
null
null
mapnik-tiler.py
eyeNsky/mapnik-tiler
47919619642aeab065e4b675999fef6f56679eb7
[ "MIT" ]
null
null
null
#!/usr/bin/env python ''' Based on: https://trac.openstreetmap.org/browser/applications/rendering/mapnik/generate_tiles_multiprocess.py With snippet from: http://www.klokan.cz/projects/gdal2tiles/gdal2tiles.py The MIT License (MIT) Copyright (c) 2015 Jon Sellars Permission is hereby granted, free of charge, to any p...
28.673511
239
0.594314
1,929
13,964
4.243131
0.300156
0.024801
0.00672
0.005376
0.092364
0.067074
0.047526
0.024679
0.008797
0
0
0.035728
0.258379
13,964
486
240
28.73251
0.754635
0.116013
0
0.111111
1
0.019048
0.278801
0.03992
0
0
0
0
0
0
null
null
0
0.025397
null
null
0.031746
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
1
0
0
0
0
0
0
0
0
2
742686e0f100462fca545e6e52fbab9081543cca
469
py
Python
src/tf_components/bijector/Bijector.py
YorkUCVIL/Wavelet-Flow
8d6d63fa116ec44299c32f37e66817594510f644
[ "MIT" ]
59
2020-10-28T03:09:05.000Z
2022-01-29T22:10:04.000Z
src/tf_components/bijector/Bijector.py
YorkUCVIL/Wavelet-Flow
8d6d63fa116ec44299c32f37e66817594510f644
[ "MIT" ]
4
2020-12-24T11:00:40.000Z
2021-05-22T06:14:27.000Z
src/tf_components/bijector/Bijector.py
YorkUCVIL/Wavelet-Flow
8d6d63fa116ec44299c32f37e66817594510f644
[ "MIT" ]
2
2020-10-29T01:15:03.000Z
2021-04-20T11:55:51.000Z
import tensorflow as tf from tf_components.Layer import * class Bijector(Layer): def __init__(self,collection=None,name="Layer"): super().__init__(collection=collection,name=name) def __call__(self,*args,**kwargs): ''' default to call forward ''' return self.forward(*args,**kwargs) def forward(self): ...
18.76
51
0.710021
55
469
5.818182
0.509091
0.0625
0.175
0
0
0
0
0
0
0
0
0
0.159915
469
24
52
19.541667
0.812183
0.147122
0
0.181818
0
0
0.013661
0
0
0
0
0
0
1
0.363636
false
0
0.181818
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
742b19429c6fb5b50e4709b43776d85d76137d27
4,884
py
Python
end_to_end/glove_single.py
Bharathgc/Coreference-resolution
6a9f272983802a8cf1d28c51fb8a4c812661f764
[ "MIT" ]
1
2019-02-13T17:13:35.000Z
2019-02-13T17:13:35.000Z
end_to_end/glove_single.py
Bharathgc/Coreference-resolution
6a9f272983802a8cf1d28c51fb8a4c812661f764
[ "MIT" ]
null
null
null
end_to_end/glove_single.py
Bharathgc/Coreference-resolution
6a9f272983802a8cf1d28c51fb8a4c812661f764
[ "MIT" ]
null
null
null
#import tf_glove import os import sys import pickle import subprocess import re import math #pickle_path=sys.argv[1] #path to corpus.pkl file pairs_path=sys.argv[1] #path to pairs folder output_path=sys.argv[2] #path where output folder ''' with open(pickle_path) as f: corpus = pickle.load(f) ''' #path=sys.argv[2...
25.4375
110
0.676085
752
4,884
4.271277
0.192819
0.145704
0.18929
0.07472
0.289851
0.169676
0.126401
0.126401
0.11208
0.11208
0
0.041416
0.149672
4,884
191
111
25.570681
0.732001
0.095209
0
0.198276
0
0
0.040977
0
0
0
0
0
0
0
null
null
0
0.051724
null
null
0.008621
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
1
0
0
0
0
0
0
0
0
2
74512d919862b25c46ccdea1f6dfd14124c8e3e8
892
py
Python
deblur/test/test_support_files.py
TaskeHAMANO/deblur
4b4badccdbac8fe9d8f8b3f1349f3700e31b5d7b
[ "BSD-3-Clause" ]
77
2015-11-10T23:12:57.000Z
2021-11-18T13:16:24.000Z
deblur/test/test_support_files.py
TaskeHAMANO/deblur
4b4badccdbac8fe9d8f8b3f1349f3700e31b5d7b
[ "BSD-3-Clause" ]
200
2015-02-03T18:45:07.000Z
2021-11-30T23:29:15.000Z
deblur/test/test_support_files.py
TaskeHAMANO/deblur
4b4badccdbac8fe9d8f8b3f1349f3700e31b5d7b
[ "BSD-3-Clause" ]
44
2015-01-20T19:36:07.000Z
2021-10-13T07:24:48.000Z
# ----------------------------------------------------------------------------- # Copyright (c) 2015, The Deblur Development Team. # # Distributed under the terms of the BSD 3-clause License. # # The full license is in the file LICENSE, distributed with this software. # -------------------------------------------------...
28.774194
79
0.570628
97
892
5.092784
0.536082
0.036437
0.072874
0.089069
0.178138
0.178138
0.178138
0.178138
0
0
0
0.006916
0.189462
892
30
80
29.733333
0.676349
0.57287
0
0
0
0
0.023188
0
0
0
0
0
0.222222
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
74583550e2501cba5139d9bd7c0359ecab00de69
2,268
py
Python
todocli/tests/test_todo/test_commands.py
BalenD/TODO-cli
a966800d36475c29ed8a3d92dcd0aa0c37018d61
[ "MIT" ]
null
null
null
todocli/tests/test_todo/test_commands.py
BalenD/TODO-cli
a966800d36475c29ed8a3d92dcd0aa0c37018d61
[ "MIT" ]
null
null
null
todocli/tests/test_todo/test_commands.py
BalenD/TODO-cli
a966800d36475c29ed8a3d92dcd0aa0c37018d61
[ "MIT" ]
2
2019-05-13T09:39:27.000Z
2019-05-16T19:41:08.000Z
import pytest from todocli.todo import commands class TestCommandparser(object): successful_user_input = ['-f', 'file1', '-e', '.py', '-m', ] successfully_parsed_args = commands.command_interpreter(successful_user_input) no_args_parsed_args = commands.command_interpreter([]) # successful run def...
36.580645
82
0.712963
272
2,268
5.643382
0.238971
0.09772
0.12899
0.135505
0.52899
0.482085
0.353094
0.071661
0.071661
0
0
0.001659
0.202822
2,268
62
83
36.580645
0.847345
0.079806
0
0.05
0
0
0.036591
0
0
0
0
0
0.325
1
0.375
false
0
0.05
0
0.525
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
746345d899674e8c6a99ac4bd16d40d4696ab2cb
2,960
py
Python
econtools/metrics/tests/data/src_tsls.py
fqueiro/econtools
cae1cfc82e02cb9081c247b530b10dc68ee18820
[ "BSD-3-Clause" ]
93
2018-02-12T17:21:39.000Z
2022-03-11T23:14:18.000Z
econtools/metrics/tests/data/src_tsls.py
fqueiro/econtools
cae1cfc82e02cb9081c247b530b10dc68ee18820
[ "BSD-3-Clause" ]
5
2018-09-05T02:10:05.000Z
2022-01-07T17:07:23.000Z
econtools/metrics/tests/data/src_tsls.py
fqueiro/econtools
cae1cfc82e02cb9081c247b530b10dc68ee18820
[ "BSD-3-Clause" ]
25
2018-06-06T07:35:03.000Z
2021-12-10T06:59:06.000Z
import pandas as pd import numpy as np class regout(object): def __init__(self, **kwargs): self.__dict__.update(kwargs) stat_names=['coeff', 'se', 't', 'p>t', 'CI_low', 'CI_high'] var_names=['mpg', 'length', '_cons'] tsls_std = regout( summary=pd.DataFrame(np.array([ [-1319.865169393102, 1906.786...
17.514793
60
0.719932
332
2,960
6.325301
0.524096
0.028571
0.037143
0.051429
0.287143
0.287143
0.287143
0.287143
0.22
0.22
0
0.571758
0.121959
2,960
168
61
17.619048
0.236245
0
0
0.478528
0
0
0.01361
0
0
0
0
0
0
1
0.006135
false
0
0.01227
0
0.02454
0
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
746c879b74a1339fa04326e014799d55378159bb
190
py
Python
backend/main.py
pauanawat/FookBace
7f44168f910983be02fea03251c3931794d164f1
[ "MIT" ]
null
null
null
backend/main.py
pauanawat/FookBace
7f44168f910983be02fea03251c3931794d164f1
[ "MIT" ]
null
null
null
backend/main.py
pauanawat/FookBace
7f44168f910983be02fea03251c3931794d164f1
[ "MIT" ]
null
null
null
from aiohttp import web from app.config.application import app_config def main(): app = web.Application() app_config(app) web.run_app(app) if __name__ == '__main__': main()
19
45
0.694737
27
190
4.481481
0.444444
0.223141
0
0
0
0
0
0
0
0
0
0
0.194737
190
10
46
19
0.79085
0
0
0
0
0
0.041885
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
746e8d5d618e78bfc42d9ff5d0d481564d4614b9
268
py
Python
utils/logging.py
csalt-research/OpenASR-py
9aea6753689d87d321260d7eb0ea0544e1b3403a
[ "MIT" ]
2
2019-11-29T15:46:14.000Z
2021-05-28T06:54:41.000Z
utils/logging.py
csalt-research/OpenASR-py
9aea6753689d87d321260d7eb0ea0544e1b3403a
[ "MIT" ]
null
null
null
utils/logging.py
csalt-research/OpenASR-py
9aea6753689d87d321260d7eb0ea0544e1b3403a
[ "MIT" ]
null
null
null
import logging logger = logging.getLogger() log_format = logging.Formatter("[%(asctime)s %(levelname)s] %(message)s") logger.setLevel(logging.INFO) console_handler = logging.StreamHandler() console_handler.setFormatter(log_format) logger.handlers = [console_handler]
29.777778
73
0.794776
32
268
6.5
0.5625
0.201923
0
0
0
0
0
0
0
0
0
0
0.070896
268
9
74
29.777778
0.835341
0
0
0
0
0
0.144981
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
747180ad8b2cea62c7640ff6031ac1cd8ecb4f93
104
py
Python
abc/077/B.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
2
2022-01-22T07:56:58.000Z
2022-01-24T00:29:37.000Z
abc/077/B.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
abc/077/B.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
N = int(input()) for i in range(1, 100000): if i * i > N: print((i - 1) ** 2) exit()
20.8
27
0.423077
18
104
2.444444
0.722222
0
0
0
0
0
0
0
0
0
0
0.138462
0.375
104
5
28
20.8
0.538462
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7476a557a935c37c2c20402954b5c0af3ae89f1b
951
py
Python
Ecomm/products/views.py
team-mbm/Ecomm
c3f6db8f773433281fc15ac3df667f63f5f45846
[ "MIT" ]
null
null
null
Ecomm/products/views.py
team-mbm/Ecomm
c3f6db8f773433281fc15ac3df667f63f5f45846
[ "MIT" ]
9
2020-06-05T17:20:51.000Z
2022-03-11T23:14:50.000Z
Ecomm/products/views.py
team-mbm/Ecomm
c3f6db8f773433281fc15ac3df667f63f5f45846
[ "MIT" ]
null
null
null
from django.shortcuts import render, get_object_or_404 from django.http import Http404 from .models import Product # Create your views here. def index(request): items = Product.objects.all() print (request.__dict__) return render(request, 'products/index.html',{'items':items}) def all_products(request): ...
39.625
112
0.744479
127
951
5.409449
0.322835
0.081514
0.110626
0.157205
0.084425
0
0
0
0
0
0
0.010896
0.131441
951
23
113
41.347826
0.820823
0.024185
0
0.105263
0
0
0.137149
0.082073
0
0
0
0
0
1
0.210526
false
0
0.157895
0
0.578947
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
7478abf9035e70af11cefb3e9528f0965cd05448
414
py
Python
Dataset/Leetcode/train/100/536.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/100/536.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/100/536.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution(object): def XXX(self, p, q): """ :type p: TreeNode :type q: TreeNode :rtype: bool """ def ergodic(p, q): if p is None: return q is None if q is None: return p is None return p.val == ...
25.875
91
0.466184
57
414
3.385965
0.368421
0.165803
0.186529
0.134715
0
0
0
0
0
0
0
0
0.429952
414
15
92
27.6
0.817797
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
2
749d8c7a11b2c1ef8e0243807142dfae65f3d24f
94
py
Python
wmt21-multi-low-res/euro_low_res_multiling/data/wiki/remove_short.py
ufal/bergamot
6179daa51432e9cd7f4914364dbf2e45183951cf
[ "BSD-3-Clause" ]
null
null
null
wmt21-multi-low-res/euro_low_res_multiling/data/wiki/remove_short.py
ufal/bergamot
6179daa51432e9cd7f4914364dbf2e45183951cf
[ "BSD-3-Clause" ]
null
null
null
wmt21-multi-low-res/euro_low_res_multiling/data/wiki/remove_short.py
ufal/bergamot
6179daa51432e9cd7f4914364dbf2e45183951cf
[ "BSD-3-Clause" ]
1
2021-09-14T17:37:57.000Z
2021-09-14T17:37:57.000Z
import sys for line in sys.stdin: if len(line.split(' '))>6: print(line.strip())
15.666667
30
0.585106
15
94
3.666667
0.8
0
0
0
0
0
0
0
0
0
0
0.014085
0.244681
94
5
31
18.8
0.760563
0
0
0
0
0
0.010753
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7762431e64426e7c1bedda9c25da148320e4a451
283
py
Python
app/configs/__init__.py
riszkymf/pricefinder_data_endpoint
4fa96e60e8e3bab1862a86c1a1e19af890e0e4cf
[ "MIT" ]
null
null
null
app/configs/__init__.py
riszkymf/pricefinder_data_endpoint
4fa96e60e8e3bab1862a86c1a1e19af890e0e4cf
[ "MIT" ]
1
2021-06-01T23:51:56.000Z
2021-06-01T23:51:56.000Z
app/configs/__init__.py
riszkymf/pricefinder_data_endpoint
4fa96e60e8e3bab1862a86c1a1e19af890e0e4cf
[ "MIT" ]
null
null
null
import os from dotenv import load_dotenv from app.libs import MetaFlaskEnv APP_ROOT = os.path.join(os.path.dirname(__file__), '../..') dotenv_path = os.path.join(APP_ROOT, '.env') load_dotenv(dotenv_path=dotenv_path) class Config(metaclass=MetaFlaskEnv): ENV_PREFIX = "FLASK_"
25.727273
59
0.763251
42
283
4.833333
0.452381
0.08867
0.098522
0
0
0
0
0
0
0
0
0
0.106007
283
11
60
25.727273
0.802372
0
0
0
0
0
0.052817
0
0
0
0
0
0
1
0
false
0
0.375
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
7769caaf43ad1379eb83156a8093b3f72cc73ff9
211
py
Python
Print All Links.py
fatih-iver-2016400264/Search-Engine-with-Python
f7ab88fa5002d26c81ef05da47b34cd2c988b074
[ "MIT" ]
null
null
null
Print All Links.py
fatih-iver-2016400264/Search-Engine-with-Python
f7ab88fa5002d26c81ef05da47b34cd2c988b074
[ "MIT" ]
null
null
null
Print All Links.py
fatih-iver-2016400264/Search-Engine-with-Python
f7ab88fa5002d26c81ef05da47b34cd2c988b074
[ "MIT" ]
null
null
null
def print_all_links(page): while True: url, endpos = get_next_target(page) if url: print(url) page = page[endpos:] else: break
23.444444
44
0.450237
22
211
4.136364
0.681818
0
0
0
0
0
0
0
0
0
0
0
0.473934
211
9
45
23.444444
0.81982
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
776fe7629fcc2f0307a18a2e848a087ff6498cf6
1,997
py
Python
controller_setter.py
lijian2020/NDNAPP
745ec7cfcef5cd8fb1e42961faf567ba481efca7
[ "Apache-2.0" ]
null
null
null
controller_setter.py
lijian2020/NDNAPP
745ec7cfcef5cd8fb1e42961faf567ba481efca7
[ "Apache-2.0" ]
null
null
null
controller_setter.py
lijian2020/NDNAPP
745ec7cfcef5cd8fb1e42961faf567ba481efca7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 # # Copyright (C) 2019 Trinity College of Dublin, the University of Dublin. # Copyright (c) 2019 Li Jian # Author: Li Jian <lij12@tcd.ie> # 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 th...
31.698413
114
0.709564
266
1,997
5.278195
0.518797
0.042735
0.019943
0.022792
0.038462
0.038462
0.038462
0
0
0
0
0.035514
0.196294
1,997
63
115
31.698413
0.839252
0.545318
0
0.08
0
0.04
0.111623
0.097814
0
0
0.020713
0
0
1
0.16
false
0.08
0.56
0
0.76
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
777d6c143b25040f7ae1f0719b5acb7b6af347ed
6,013
py
Python
env_wrapper.py
modanesh/integrated-gradient-pytorch
73e7b1f0b42d69556aea56fc03811a044004329e
[ "MIT" ]
null
null
null
env_wrapper.py
modanesh/integrated-gradient-pytorch
73e7b1f0b42d69556aea56fc03811a044004329e
[ "MIT" ]
null
null
null
env_wrapper.py
modanesh/integrated-gradient-pytorch
73e7b1f0b42d69556aea56fc03811a044004329e
[ "MIT" ]
null
null
null
""" The Atari environment(env) wrapper. Some envs needed some configurations which you can find below. """ import gym import numpy as np from scipy.misc import imresize class AtariWrapper(): def __init__(self, env): self.env = env self.observation_space = self.env.observation_space self.r...
30.065
108
0.640279
757
6,013
4.830911
0.171731
0.07848
0.075198
0.049768
0.61143
0.60432
0.572054
0.489199
0.489199
0.410172
0
0.054329
0.231665
6,013
200
109
30.065
0.737229
0.016298
0
0.409396
0
0
0.021496
0
0
0
0
0
0
1
0.221477
false
0
0.026846
0.100671
0.489933
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
7798d1a492e9535250f47938b7cde83a0064b60e
552
py
Python
students/K33402/Shuginin_Yurii/practical_works/simple_django_web_project/cars/migrations/0002_auto_20220107_2119.py
emina13/ITMO_ICT_WebDevelopment_2021-2022
498a6138e352e7e0ca40d1eb301bc29416158f51
[ "MIT" ]
null
null
null
students/K33402/Shuginin_Yurii/practical_works/simple_django_web_project/cars/migrations/0002_auto_20220107_2119.py
emina13/ITMO_ICT_WebDevelopment_2021-2022
498a6138e352e7e0ca40d1eb301bc29416158f51
[ "MIT" ]
null
null
null
students/K33402/Shuginin_Yurii/practical_works/simple_django_web_project/cars/migrations/0002_auto_20220107_2119.py
emina13/ITMO_ICT_WebDevelopment_2021-2022
498a6138e352e7e0ca40d1eb301bc29416158f51
[ "MIT" ]
1
2022-03-19T09:24:42.000Z
2022-03-19T09:24:42.000Z
# Generated by Django 3.2 on 2022-01-07 21:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cars', '0001_initial'), ] operations = [ migrations.AlterField( model_name='carowneruser', name='birthday', ...
23
58
0.574275
55
552
5.690909
0.654545
0.127796
0.159744
0.185304
0.236422
0.236422
0.236422
0
0
0
0
0.04712
0.307971
552
23
59
24
0.772251
0.077899
0
0.352941
1
0
0.104536
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
77a7d5dd318b748d044d07e82e4a2d7b1227540e
5,218
py
Python
generation/calibrations.py
guodashun/art-force
0a17d166a361dec0b4a9fd7b3e6dbefa3bafbba2
[ "MIT" ]
null
null
null
generation/calibrations.py
guodashun/art-force
0a17d166a361dec0b4a9fd7b3e6dbefa3bafbba2
[ "MIT" ]
null
null
null
generation/calibrations.py
guodashun/art-force
0a17d166a361dec0b4a9fd7b3e6dbefa3bafbba2
[ "MIT" ]
null
null
null
import math import numpy as np ## Real Data: # %% Kinect Color Camera color_cam_matrix = np.array([ 1.0526303338534365e+03, 0., 9.3528526085572480e+02, 0., 1.0534191001014469e+03, 5.2225718970556716e+02, 0., 0., 1. ]).reshape(3,3) color_distortion_coeffs = np.array([ 4.5467150011699140e-02, -7.4470107942918126e-02, -6...
47.87156
263
0.675355
845
5,218
3.947929
0.20355
0.018585
0.05036
0.031175
0.410971
0.371403
0.318945
0.256595
0.219424
0.157674
0
0.304438
0.170947
5,218
108
264
48.314815
0.466713
0.080107
0
0.146667
0
0
0.01652
0
0
0
0
0
0
1
0
false
0
0.026667
0
0.026667
0.066667
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
77a8beed344559e5a8a59364be9708b1d6fdfc13
461
py
Python
tests/scheduler/schemas/examples/test_utils.py
quantify-os/quantify-scheduler
9dee17ca9345560b998b52f956c23b79a9ab287f
[ "BSD-4-Clause" ]
1
2022-03-23T16:55:07.000Z
2022-03-23T16:55:07.000Z
tests/scheduler/schemas/examples/test_utils.py
quantify-os/quantify-scheduler
9dee17ca9345560b998b52f956c23b79a9ab287f
[ "BSD-4-Clause" ]
null
null
null
tests/scheduler/schemas/examples/test_utils.py
quantify-os/quantify-scheduler
9dee17ca9345560b998b52f956c23b79a9ab287f
[ "BSD-4-Clause" ]
null
null
null
# pylint: disable=missing-module-docstring # pylint: disable=missing-class-docstring # pylint: disable=missing-function-docstring import pytest from quantify_scheduler.schemas.examples import utils @pytest.mark.parametrize( "filename", [ "qblox_test_mapping.json", "transmon_test_config.json",...
24.263158
53
0.746204
54
461
6.111111
0.555556
0.118182
0.181818
0.175758
0.175758
0
0
0
0
0
0
0
0.151844
461
18
54
25.611111
0.84399
0.266811
0
0
0
0
0.239521
0.215569
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
77c3269d0d0103abc4c5f162f5e288d77aed39eb
1,837
py
Python
blogSite/blog/templatetags/blog_tags.py
sharafx2qeshta/Django-3-by-example
f846ef46371a1199e52e285e0dd6f00fa42889bd
[ "MIT" ]
null
null
null
blogSite/blog/templatetags/blog_tags.py
sharafx2qeshta/Django-3-by-example
f846ef46371a1199e52e285e0dd6f00fa42889bd
[ "MIT" ]
null
null
null
blogSite/blog/templatetags/blog_tags.py
sharafx2qeshta/Django-3-by-example
f846ef46371a1199e52e285e0dd6f00fa42889bd
[ "MIT" ]
null
null
null
# this file for custom tags from django import template from ..models import Post from django.db.models import Count # these two lines below for custom filters from django.utils.safestring import mark_safe import markdown register = template.Library() ''' Each module that contains template tags needs to defi...
32.22807
115
0.734894
275
1,837
4.825455
0.432727
0.041447
0.0211
0.030143
0.045215
0.045215
0.045215
0
0
0
0
0.004027
0.188895
1,837
57
116
32.22807
0.886577
0.09853
0
0.095238
0
0
0.102362
0.035433
0
0
0
0
0
1
0.190476
false
0
0.238095
0.142857
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
77ea854546e84575d83e5921694e8ac2e8d94012
6,256
py
Python
filter_provider.py
aniloutdo/Fitness-Gadgets
8ce840b3e0cc1da83cab6714388edfab9173e878
[ "MIT" ]
2
2019-01-24T09:00:42.000Z
2019-11-27T14:08:56.000Z
filter_provider.py
JanKrAppel/gadgetbridge_plotter
4b9dd5769c708078ee23dc97b2ad3090d90fd4de
[ "MIT" ]
null
null
null
filter_provider.py
JanKrAppel/gadgetbridge_plotter
4b9dd5769c708078ee23dc97b2ad3090d90fd4de
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from numpy import arange class AcceptanceTester: """Tests data points for acceptance into dataset_container.""" def __init__(self, tester_type): """Initialize with the type of data to test. Parameters ---------- tester_...
31.124378
96
0.514706
624
6,256
5.040064
0.237179
0.033068
0.023847
0.049285
0.326232
0.313514
0.313514
0.313514
0.277901
0.277901
0
0.006692
0.402813
6,256
201
97
31.124378
0.835118
0.485134
0
0.04878
0
0
0.015267
0
0
0
0
0
0
1
0.268293
false
0
0.02439
0
0.536585
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
77eb8a3d8eaf9e40a926f90b0cfa607ca297ef02
207
py
Python
C-logging/logging_example3.py
johnehunt/PythonCleanCode
b0ade446cc98cdc1379f06ad20cc3c6de772a2bb
[ "Apache-2.0" ]
1
2020-05-11T13:58:29.000Z
2020-05-11T13:58:29.000Z
C-logging/logging_example3.py
johnehunt/PythonCleanCode
b0ade446cc98cdc1379f06ad20cc3c6de772a2bb
[ "Apache-2.0" ]
null
null
null
C-logging/logging_example3.py
johnehunt/PythonCleanCode
b0ade446cc98cdc1379f06ad20cc3c6de772a2bb
[ "Apache-2.0" ]
null
null
null
# Using the logger.exception() method import logging logger = logging.getLogger() try: print('starting') x = 1 / 0 print(x) except: logger.exception('an exception message') print('Done')
13.8
44
0.661836
26
207
5.269231
0.692308
0.218978
0
0
0
0
0
0
0
0
0
0.012195
0.207729
207
14
45
14.785714
0.823171
0.169082
0
0
0
0
0.188235
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
77ef79fa32b2cc8f1593c37287f96d8cdf489118
248
py
Python
applications/tenant/fields.py
dev-easyshares/mighty
a6cf473fb8cfbf5b92db68c7b068fc8ae2911b8b
[ "MIT" ]
null
null
null
applications/tenant/fields.py
dev-easyshares/mighty
a6cf473fb8cfbf5b92db68c7b068fc8ae2911b8b
[ "MIT" ]
1
2022-03-12T00:57:37.000Z
2022-03-12T00:57:37.000Z
applications/tenant/fields.py
dev-easyshares/mighty
a6cf473fb8cfbf5b92db68c7b068fc8ae2911b8b
[ "MIT" ]
null
null
null
tenant = ('group', 'user', 'sync', 'invitation', 'roles') #tenant_alternate = ('tenant', 'alternate', 'position') role = ('group', 'name', 'is_immutable', 'number',) tenant_invitation = ('group', 'email', 'by', 'roles', 'tenant', 'status', 'token')
62
82
0.625
26
248
5.846154
0.653846
0.144737
0
0
0
0
0
0
0
0
0
0
0.104839
248
4
82
62
0.684685
0.217742
0
0
0
0
0.458763
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
77f356e3e5b5cf1d2bf8eeee5f1c76e22ebc0da3
1,416
py
Python
reward/batcher/prioritized_replay_batcher.py
lgvaz/torchrl
cfff8acaf70d1fec72169162b95ab5ad3547d17a
[ "MIT" ]
5
2018-06-21T14:33:40.000Z
2018-08-18T02:26:03.000Z
reward/batcher/prioritized_replay_batcher.py
lgvaz/reward
cfff8acaf70d1fec72169162b95ab5ad3547d17a
[ "MIT" ]
null
null
null
reward/batcher/prioritized_replay_batcher.py
lgvaz/reward
cfff8acaf70d1fec72169162b95ab5ad3547d17a
[ "MIT" ]
2
2018-05-08T03:34:49.000Z
2018-06-22T15:04:17.000Z
import reward.utils as U from reward.batcher import ReplayBatcher from reward.utils.buffers import PrReplayBuffer # TODO: Fix args and kwargs class PrReplayBatcher(ReplayBatcher): def __init__( self, *args, min_pr=0.01, pr_factor=0.6, is_factor=1., rbuff_fn=PrReplay...
28.32
69
0.639124
196
1,416
4.321429
0.270408
0.075561
0.051948
0.075561
0.192444
0.066116
0
0
0
0
0
0.005714
0.258475
1,416
49
70
28.897959
0.800952
0.040254
0
0.051282
0
0
0.021386
0
0
0
0
0.020408
0
1
0.179487
false
0
0.076923
0.102564
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
1
0
0
0
2
77f817fdaebf000f18b28f281683bc9ab2b406be
888
py
Python
Python/kepco.py
ultpnml/ult_instruments
3c9dd6b26e993bba3e20c7f91af6510152850cfd
[ "BSD-3-Clause" ]
1
2020-04-13T10:42:46.000Z
2020-04-13T10:42:46.000Z
Python/kepco.py
ultpnml/ult_instruments
3c9dd6b26e993bba3e20c7f91af6510152850cfd
[ "BSD-3-Clause" ]
null
null
null
Python/kepco.py
ultpnml/ult_instruments
3c9dd6b26e993bba3e20c7f91af6510152850cfd
[ "BSD-3-Clause" ]
1
2022-02-06T01:07:12.000Z
2022-02-06T01:07:12.000Z
#Controls KEPCO BHK 2000-0.1MG high voltage power supply #For now, it only reads. It does not set voltage/current. import visa class kepco: #The primary address is assumed to be 6 def __init__(self, address = 6, gpib_num = 1): self.primary_id = 'GPIB' + str(gpib_num) + '::' +str(address) +...
29.6
81
0.603604
115
888
4.53913
0.547826
0.063218
0.074713
0.072797
0.122605
0.122605
0.122605
0
0
0
0
0.015798
0.287162
888
29
82
30.62069
0.808847
0.224099
0
0
0
0
0.065749
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0.117647
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
7acae7f6b4dd9db9aed05f1df1711b8ed58bc769
66
py
Python
techk/apps/base/configs.py
danilovergara/fullstack
7ecff94c0906d78d965d233d206df3d3cec10746
[ "MIT" ]
null
null
null
techk/apps/base/configs.py
danilovergara/fullstack
7ecff94c0906d78d965d233d206df3d3cec10746
[ "MIT" ]
null
null
null
techk/apps/base/configs.py
danilovergara/fullstack
7ecff94c0906d78d965d233d206df3d3cec10746
[ "MIT" ]
null
null
null
scraper_url = "http://books.toscrape.com/" # The URL to be scraped
66
66
0.727273
11
66
4.272727
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.121212
66
1
66
66
0.810345
0.318182
0
0
0
0
0.590909
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7acc62ff42a9ea93b01d71941db6b299966723ff
398
py
Python
Task/Even-or-odd/Python/even-or-odd-1.py
LaudateCorpus1/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
5
2021-01-29T20:08:05.000Z
2022-03-22T06:16:05.000Z
Task/Even-or-odd/Python/even-or-odd-1.py
seanwallawalla-forks/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
null
null
null
Task/Even-or-odd/Python/even-or-odd-1.py
seanwallawalla-forks/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
1
2021-04-13T04:19:31.000Z
2021-04-13T04:19:31.000Z
>>> def is_odd(i): return bool(i & 1) >>> def is_even(i): return not is_odd(i) >>> [(j, is_odd(j)) for j in range(10)] [(0, False), (1, True), (2, False), (3, True), (4, False), (5, True), (6, False), (7, True), (8, False), (9, True)] >>> [(j, is_even(j)) for j in range(10)] [(0, True), (1, False), (2, True), (3, Fal...
39.8
115
0.507538
75
398
2.626667
0.333333
0.076142
0.060914
0.071066
0.152284
0.152284
0.152284
0
0
0
0
0.07622
0.175879
398
9
116
44.222222
0.52439
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
7ace422f2c660d54bdd93383f33dbd2a83c4d190
1,786
py
Python
venv/lib/python3.8/site-packages/azureml/_tracing/_tracer.py
amcclead7336/Enterprise_Data_Science_Final
ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28
[ "Unlicense", "MIT" ]
null
null
null
venv/lib/python3.8/site-packages/azureml/_tracing/_tracer.py
amcclead7336/Enterprise_Data_Science_Final
ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28
[ "Unlicense", "MIT" ]
null
null
null
venv/lib/python3.8/site-packages/azureml/_tracing/_tracer.py
amcclead7336/Enterprise_Data_Science_Final
ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28
[ "Unlicense", "MIT" ]
2
2021-05-23T16:46:31.000Z
2021-05-26T23:51:09.000Z
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- import os from ._constants import USER_FACING_NAME, TRACEPARENT_ENV_VAR from ._span import Span from ._vendored import _execution_co...
34.346154
79
0.640538
198
1,786
5.328283
0.242424
0.085308
0.119431
0.062559
0.303318
0.246446
0.218009
0.218009
0.218009
0.14218
0
0.000724
0.226204
1,786
51
80
35.019608
0.762663
0.096865
0
0.216216
0
0
0.000642
0
0
0
0
0
0
1
0.216216
false
0
0.108108
0.054054
0.567568
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
7ad272ad39cc2493b806aa95ec618225f48830a7
896
py
Python
src/bxcommon/models/blockchain_peer_info.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
12
2019-11-06T17:39:10.000Z
2022-03-01T11:26:19.000Z
src/bxcommon/models/blockchain_peer_info.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
8
2019-11-06T21:31:11.000Z
2021-06-02T00:46:50.000Z
src/bxcommon/models/blockchain_peer_info.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
5
2019-11-14T18:08:11.000Z
2022-02-08T09:36:22.000Z
from dataclasses import dataclass from typing import Optional from bxcommon.utils.blockchain_utils.eth import eth_common_constants @dataclass class BlockchainPeerInfo: ip: str port: int node_public_key: Optional[str] = None blockchain_protocol_version: int = eth_common_constants.ETH_PROTOCOL_VERSION ...
29.866667
82
0.654018
104
896
5.365385
0.375
0.107527
0.069892
0
0
0
0
0
0
0
0
0
0.252232
896
29
83
30.896552
0.832836
0
0
0
0
0
0.208705
0.111607
0
0
0
0
0
1
0.130435
false
0
0.130435
0.130435
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
7ae2c90d3ef1a3dbcd8dab98b09b5fbab1e3066c
1,238
py
Python
src/JaccardWikipediaHeart.py
nik7273/computational-medical-knowledge
03357fc63382bed49509d7860f87a3d010f03018
[ "Apache-2.0" ]
null
null
null
src/JaccardWikipediaHeart.py
nik7273/computational-medical-knowledge
03357fc63382bed49509d7860f87a3d010f03018
[ "Apache-2.0" ]
null
null
null
src/JaccardWikipediaHeart.py
nik7273/computational-medical-knowledge
03357fc63382bed49509d7860f87a3d010f03018
[ "Apache-2.0" ]
1
2019-09-17T18:38:44.000Z
2019-09-17T18:38:44.000Z
# -*- coding: utf-8 -*- #GET JACCARD SIMILARITY OF ALL HEART RELATED ARTICLES ON WIKIPEDIA (BETWEEN THEMSELVES) from utils import jaccard import wikipedia, codecs, nltk from findRelevantArticles import findRelevantArticles from pprint import pprint from nltk.corpus import stopwords from nltk.tokenize import word_toke...
32.578947
87
0.739095
151
1,238
6.02649
0.463576
0.008791
0.01978
0.035165
0
0
0
0
0
0
0
0.001929
0.162359
1,238
38
88
32.578947
0.875603
0.115509
0
0
0
0
0.078755
0
0
0
0
0
0
0
null
null
0
0.321429
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
1
0
0
0
0
2
7ae4438495c57fc62b3c5031d90fa8b503b9578d
259
py
Python
test.py
mu2019/pyrestrecord
477d682e181712aa25f4ebc034e08427b2c8c2cd
[ "MIT" ]
null
null
null
test.py
mu2019/pyrestrecord
477d682e181712aa25f4ebc034e08427b2c8c2cd
[ "MIT" ]
null
null
null
test.py
mu2019/pyrestrecord
477d682e181712aa25f4ebc034e08427b2c8c2cd
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import restrecord a=restrecord.Meta() a.a = 'abc' a.b = 1 print(a['a'],a.a,a.b) del a.a print(a.a) print(dir(a)) print('record') rc = restrecord.Record((['a','b'],[1,2])) print(rc.keys()) print(rc[0],rc.a
11.772727
41
0.583012
51
259
2.960784
0.431373
0.092715
0.059603
0.05298
0
0
0
0
0
0
0
0.022321
0.135135
259
21
42
12.333333
0.651786
0
0
0
0
0
0.055814
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.5
0
0
0
null
0
0
0
0
0
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
1
0
2
7aed571d98d2badc46a66d2231dbab8ad3e75c48
275
py
Python
dumbpm/shared/shared.py
poros/dumbpm
d2454e3adf23bf436a6e163afb0d56afc83e39b1
[ "Apache-2.0" ]
7
2019-01-25T14:23:13.000Z
2021-08-22T11:00:03.000Z
dumbpm/shared/shared.py
poros/dumbpm
d2454e3adf23bf436a6e163afb0d56afc83e39b1
[ "Apache-2.0" ]
2
2019-11-30T17:13:50.000Z
2020-05-26T23:53:46.000Z
dumbpm/shared/shared.py
poros/dumbpm
d2454e3adf23bf436a6e163afb0d56afc83e39b1
[ "Apache-2.0" ]
null
null
null
from pandas import DataFrame def compute_stats(duration: list[int]) -> DataFrame: """Statistics to visualize for the result of a Monte Carlo simulation.""" return DataFrame(duration, columns=["Duration"]).describe( percentiles=[0.5, 0.75, 0.90, 0.99] )
30.555556
77
0.687273
37
275
5.081081
0.810811
0
0
0
0
0
0
0
0
0
0
0.048889
0.181818
275
8
78
34.375
0.786667
0.243636
0
0
0
0
0.039604
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
7af32ef5815fc918c293b5a431fac0558719c16e
825
py
Python
modules/shared/domain/repository/unit_of_work.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
6
2020-08-09T23:41:08.000Z
2021-03-16T22:05:40.000Z
modules/shared/domain/repository/unit_of_work.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
1
2020-10-02T02:59:38.000Z
2020-10-02T02:59:38.000Z
modules/shared/domain/repository/unit_of_work.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
2
2021-03-16T22:05:43.000Z
2021-04-30T06:35:25.000Z
# -*- coding: utf-8 -*- # from __future__ import annotations from typing import Optional, TypeVar from abc import ABC, abstractmethod UnitOfWork = TypeVar('UnitOfWork', bound='UnitOfWork') class UnitOfWork(ABC): """ Unit of work """ @abstractmethod def commit(self): """ Commit ...
20.625
56
0.591515
75
825
6.453333
0.506667
0.105372
0.167355
0.235537
0.365702
0.365702
0.365702
0
0
0
0
0.001745
0.305455
825
39
57
21.153846
0.842932
0.238788
0
0.461538
0
0
0.15098
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0
0.461538
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
1
0
0
0
0
0
0
0
2
7afbff36a4392a9868376b29710235e8c8b1fb4c
415
py
Python
python_cuda/NewVisualization.py
suvam0451/vehicle-counting-toolkit
69b69f544c60c106f014c1a00f58d3ba2651ca6a
[ "Apache-2.0" ]
null
null
null
python_cuda/NewVisualization.py
suvam0451/vehicle-counting-toolkit
69b69f544c60c106f014c1a00f58d3ba2651ca6a
[ "Apache-2.0" ]
null
null
null
python_cuda/NewVisualization.py
suvam0451/vehicle-counting-toolkit
69b69f544c60c106f014c1a00f58d3ba2651ca6a
[ "Apache-2.0" ]
null
null
null
import cv2 import json import math from os import listdir from os.path import isfile, join def pixel_to_screen(coords, size): return (coords[0]/size[0], coords[1]/size[1]) # Converts screen-space position to pixel-space position def screen_to_pixel(coords, size): return (math.floor(coords[0]*...
23.055556
74
0.693976
67
415
4.208955
0.432836
0.042553
0.113475
0.085106
0
0
0
0
0
0
0
0.04386
0.175904
415
17
75
24.411765
0.780702
0.13012
0
0
0
0
0.064327
0.064327
0
0
0
0
0
1
0.2
false
0
0.5
0.1
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
bb0b1b70aea52dd3cf213ab6dd95de5dc676896d
2,863
py
Python
data/upload_waterpoints.py
taarifa/taarifa_backend
de7956b5e91a69ba32e4e9de2a1d8787cdd0e357
[ "BSD-3-Clause" ]
null
null
null
data/upload_waterpoints.py
taarifa/taarifa_backend
de7956b5e91a69ba32e4e9de2a1d8787cdd0e357
[ "BSD-3-Clause" ]
null
null
null
data/upload_waterpoints.py
taarifa/taarifa_backend
de7956b5e91a69ba32e4e9de2a1d8787cdd0e357
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import csv import requests import json CSV_FN = 'waterpoints.csv' REPORTS_URL = 'http://localhost:5000/reports' SERVICES_URL = 'http://localhost:5000/services' class Status(object): FUNCTIONAL, NOT_FUNCTIONAL, IN_PROGRESS, UNKNOWN = range(4) def resolve_status(status): if status.lower...
33.290698
86
0.552917
282
2,863
5.464539
0.35461
0.077872
0.119403
0.140169
0.092148
0.092148
0.044127
0
0
0
0
0.005462
0.296542
2,863
85
87
33.682353
0.759682
0.012225
0
0.030303
0
0
0.246638
0
0
0
0
0.011765
0
0
null
null
0
0.045455
null
null
0.015152
0
0
0
null
0
0
0
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
1
0
0
0
0
0
0
0
0
2
bb4b716df374bbbeafeb60da3b33f3ce8a6ebade
566
py
Python
services/core-api/app/api/securities/models/bond_type.py
bcgov/mds
6c427a66a5edb4196222607291adef8fd6677038
[ "Apache-2.0" ]
25
2018-07-09T19:04:37.000Z
2022-03-15T17:27:10.000Z
services/core-api/app/api/securities/models/bond_type.py
areyeslo/mds
e8c38e593e09b78e2a57009c0d003d6c4bfa32e6
[ "Apache-2.0" ]
983
2018-04-25T20:08:07.000Z
2022-03-31T21:45:20.000Z
services/core-api/app/api/securities/models/bond_type.py
areyeslo/mds
e8c38e593e09b78e2a57009c0d003d6c4bfa32e6
[ "Apache-2.0" ]
58
2018-05-15T22:35:50.000Z
2021-11-29T19:40:52.000Z
from sqlalchemy.schema import FetchedValue from app.extensions import db from app.api.utils.models_mixins import Base, AuditMixin class BondType(Base, AuditMixin): __tablename__ = "bond_type" bond_type_code = db.Column(db.String, nullable=False, primary_key=True) description = db.Column(db.String, nulla...
28.3
85
0.729682
75
566
5.266667
0.573333
0.060759
0.075949
0.081013
0.146835
0.146835
0
0
0
0
0
0
0.167845
566
19
86
29.789474
0.838641
0
0
0
0
0
0.038869
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0.153846
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
bb5a8212644abffb7edeef0cc8eb64786bdf0f53
92
py
Python
ex024-Nome com Silva.py
Mathelzu/PythonExercicios
9bb3f4ce97818fd4f0cb296c262818d7b1c76adb
[ "Apache-2.0" ]
null
null
null
ex024-Nome com Silva.py
Mathelzu/PythonExercicios
9bb3f4ce97818fd4f0cb296c262818d7b1c76adb
[ "Apache-2.0" ]
null
null
null
ex024-Nome com Silva.py
Mathelzu/PythonExercicios
9bb3f4ce97818fd4f0cb296c262818d7b1c76adb
[ "Apache-2.0" ]
null
null
null
nome = input('Nome: ') a = nome.upper() b = 'SILVA' in a print(f'Seu nome tem Silva: {b}')
15.333333
33
0.586957
17
92
3.176471
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.195652
92
5
34
18.4
0.72973
0
0
0
0
0
0.373626
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
249080cd943f7d08ce00f0635ddf970a2788df94
1,010
py
Python
adi_study_watch/nrf5_sdk_15.2.0/adi_study_watch/cli/m2m2/inc/python/temperature_application_interface_def.py
ArrowElectronics/Vital-Signs-Monitoring
ba43fe9a116d94170561433910fd7bffba5726e7
[ "Unlicense" ]
5
2021-06-13T17:11:19.000Z
2021-12-01T18:20:38.000Z
adi_study_watch/nrf5_sdk_15.2.0/adi_study_watch/cli/m2m2/inc/python/temperature_application_interface_def.py
ArrowElectronics/Vital-Signs-Monitoring
ba43fe9a116d94170561433910fd7bffba5726e7
[ "Unlicense" ]
null
null
null
adi_study_watch/nrf5_sdk_15.2.0/adi_study_watch/cli/m2m2/inc/python/temperature_application_interface_def.py
ArrowElectronics/Vital-Signs-Monitoring
ba43fe9a116d94170561433910fd7bffba5726e7
[ "Unlicense" ]
1
2022-01-08T15:01:44.000Z
2022-01-08T15:01:44.000Z
from ctypes import * from common_application_interface_def import * from m2m2_core_def import * class M2M2_TEMPERATURE_APP_CMD_ENUM_t(c_ubyte): _M2M2_TEMPERATURE_APP_CMD_LOWEST = 0x60 M2M2_TEMPERATURE_APP_CMD_SET_FS_REQ = 0x62 M2M2_TEMPERATURE_APP_CMD_SET_FS_RESP = 0x63 class temperature_app_stream_t(S...
25.25
47
0.571287
111
1,010
4.630631
0.396396
0.093385
0.140078
0.163424
0.385214
0.385214
0.284047
0.284047
0.284047
0.284047
0
0.038235
0.326733
1,010
39
48
25.897436
0.717647
0
0
0.387097
0
0
0.089197
0
0
0
0.011893
0
0
1
0
false
0
0.096774
0
0.516129
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
24a32b842595968d77ab893b1c8fa9dea687bee3
1,985
py
Python
hashdd/algorithms/algorithm.py
hashdd/pyhashdd
938366a8c1ff26e074c419d71b09d592730940e9
[ "Apache-2.0", "BSD-3-Clause" ]
20
2017-02-22T11:32:24.000Z
2019-11-25T18:51:41.000Z
hashdd/algorithms/algorithm.py
hashdd/pyhashdd
938366a8c1ff26e074c419d71b09d592730940e9
[ "Apache-2.0", "BSD-3-Clause" ]
11
2017-02-24T15:18:15.000Z
2022-01-13T00:41:29.000Z
hashdd/algorithms/algorithm.py
hashdd/pyhashdd
938366a8c1ff26e074c419d71b09d592730940e9
[ "Apache-2.0", "BSD-3-Clause" ]
4
2017-02-22T14:42:52.000Z
2017-11-26T21:24:04.000Z
""" algorithm.py @brad_anton License: Copyright 2015 hashdd.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
25.126582
80
0.649874
250
1,985
5.072
0.532
0.047319
0.047319
0.025237
0.0347
0
0
0
0
0
0
0.005606
0.281108
1,985
78
81
25.448718
0.882971
0.457431
0
0.125
0
0
0
0
0
0
0
0
0
1
0.28125
false
0.125
0.03125
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
24acdd38fd1d05ffa55e50643b97621fefb055a7
1,678
py
Python
src/arbiter/eicar.py
polyswarm/polyswarm-client
1ce057725d7db59c3582e4cd3cf148cde7ddddeb
[ "MIT" ]
21
2018-09-15T00:12:42.000Z
2020-10-28T00:42:59.000Z
src/arbiter/eicar.py
polyswarm/polyswarm-client
1ce057725d7db59c3582e4cd3cf148cde7ddddeb
[ "MIT" ]
435
2018-09-05T18:53:21.000Z
2021-11-30T17:32:10.000Z
src/arbiter/eicar.py
polyswarm/polyswarm-client
1ce057725d7db59c3582e4cd3cf148cde7ddddeb
[ "MIT" ]
3
2019-07-26T00:14:47.000Z
2021-04-26T10:57:56.000Z
import base64 import logging from polyswarmartifact import ArtifactType from polyswarmclient.abstractarbiter import AbstractArbiter from polyswarmclient.abstractscanner import ScanResult logger = logging.getLogger(__name__) # Initialize logger EICAR = base64.b64decode( b'WDVPIVAlQEFQWzRcUFpYNTQoUF4pN0NDKTd9JEVJ...
38.136364
100
0.690703
187
1,678
6.096257
0.502674
0.068421
0.029825
0
0
0
0
0
0
0
0
0.010196
0.240167
1,678
43
101
39.023256
0.883922
0.205602
0
0
0
0
0.114713
0.114713
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
24db888d5db8f7b39825d1b6e4dd5cebc85d3ac9
1,434
py
Python
examples/mt_model.py
Jincheng-Sun/Kylearn
ba6cd80c97e155d4bb4791b3ae74135bc1365064
[ "Apache-2.0" ]
null
null
null
examples/mt_model.py
Jincheng-Sun/Kylearn
ba6cd80c97e155d4bb4791b3ae74135bc1365064
[ "Apache-2.0" ]
null
null
null
examples/mt_model.py
Jincheng-Sun/Kylearn
ba6cd80c97e155d4bb4791b3ae74135bc1365064
[ "Apache-2.0" ]
3
2019-07-07T06:37:52.000Z
2019-09-10T20:32:34.000Z
from framework.model import Model import tensorflow as tf class Mt_model(Model): def __init__(self, Network, ckpt_path, tsboard_path, x_shape, num_classes): super().__init__(Network, ckpt_path, tsboard_path) with tf.name_scope('inputs'): self.features = tf.placeholder(dtype=tf.float32,...
34.97561
93
0.583682
168
1,434
4.744048
0.386905
0.062735
0.067754
0.075282
0.065245
0
0
0
0
0
0
0.007099
0.312413
1,434
41
94
34.97561
0.801217
0.029986
0
0.15625
0
0
0.046043
0
0
0
0
0
0
1
0.21875
false
0.15625
0.0625
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
24fd64487fdb141be701a25b640c0bf1c923a7d0
607
py
Python
customer/migrations/0003_auto_20210713_1716.py
RFNshare/StraightIntLtd
40b0aecbddeee193a6dd9439fad6c974dee979e0
[ "MIT" ]
null
null
null
customer/migrations/0003_auto_20210713_1716.py
RFNshare/StraightIntLtd
40b0aecbddeee193a6dd9439fad6c974dee979e0
[ "MIT" ]
null
null
null
customer/migrations/0003_auto_20210713_1716.py
RFNshare/StraightIntLtd
40b0aecbddeee193a6dd9439fad6c974dee979e0
[ "MIT" ]
1
2021-07-13T10:14:45.000Z
2021-07-13T10:14:45.000Z
# Generated by Django 3.0.7 on 2021-07-13 11:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('customer', '0002_customer_address'), ] operations = [ migrations.AlterField( model_name='customer', name='id', ...
25.291667
108
0.598023
64
607
5.546875
0.6875
0.112676
0.140845
0.16338
0.230986
0.230986
0
0
0
0
0
0.050575
0.283361
607
23
109
26.391304
0.765517
0.074135
0
0.352941
1
0
0.096429
0.0375
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7001493c31a941961358a4cc769faaa48c18cc6d
3,553
py
Python
database/models.py
Alweezy/ride-my-way-python
9e2fdea609a3d1acfa46ded803a0c8f483e9791c
[ "MIT" ]
null
null
null
database/models.py
Alweezy/ride-my-way-python
9e2fdea609a3d1acfa46ded803a0c8f483e9791c
[ "MIT" ]
null
null
null
database/models.py
Alweezy/ride-my-way-python
9e2fdea609a3d1acfa46ded803a0c8f483e9791c
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta import jwt from flask_bcrypt import Bcrypt from flask import current_app from api.app import db class User(db.Model): """Creates a user model """ __tablename__ = "users" id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(255), n...
29.608333
117
0.619195
430
3,553
4.95814
0.267442
0.052533
0.065666
0.061914
0.402908
0.386961
0.33349
0.31848
0.239212
0.199812
0
0.007288
0.266254
3,553
119
118
29.857143
0.81051
0.086687
0
0.253333
0
0
0.064789
0
0
0
0
0
0
1
0.12
false
0.066667
0.066667
0
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
700e679f944dfde9b544c53f99f69a5aff1af55f
1,565
py
Python
uclasm/utils.py
cfld/uclasm
dbdbe99fa8bd6e85a7e90ac2e666c1e667c62d57
[ "MIT" ]
null
null
null
uclasm/utils.py
cfld/uclasm
dbdbe99fa8bd6e85a7e90ac2e666c1e667c62d57
[ "MIT" ]
null
null
null
uclasm/utils.py
cfld/uclasm
dbdbe99fa8bd6e85a7e90ac2e666c1e667c62d57
[ "MIT" ]
null
null
null
"""Miscellaneous functions and helpers for the uclasm package.""" import numpy as np def one_hot(idx, length): """Return a 1darray of zeros with a single one in the idx'th entry.""" one_hot = np.zeros(length, dtype=np.bool) one_hot[idx] = True return one_hot def index_map(args): """Return a dict...
26.083333
76
0.639617
232
1,565
4.150862
0.383621
0.031153
0.041537
0.029076
0.083074
0
0
0
0
0
0
0.000848
0.246645
1,565
59
77
26.525424
0.815946
0.421725
0
0
0
0
0
0
0
0
0
0.016949
0
1
0.227273
false
0
0.045455
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
1
0
0
1
0
0
0
0
0
0
0
2
702913179654f3748c1774040879e041e6d45504
124
py
Python
Exercises/Exercises Chapter 04/Collect Digits.py
tonysulfaro/CSE-231
0e3ff5422fe42624a90a17d7f33174346662a6fc
[ "MIT" ]
2
2021-09-23T19:17:24.000Z
2021-11-29T09:03:56.000Z
Exercises/Exercises Chapter 04/Collect Digits.py
tonysulfaro/CSE-231
0e3ff5422fe42624a90a17d7f33174346662a6fc
[ "MIT" ]
null
null
null
Exercises/Exercises Chapter 04/Collect Digits.py
tonysulfaro/CSE-231
0e3ff5422fe42624a90a17d7f33174346662a6fc
[ "MIT" ]
1
2020-10-25T13:03:18.000Z
2020-10-25T13:03:18.000Z
s = input("Input a string: ") digits = "" for i,ch in enumerate(s): if ch.isdigit(): digits += ch print(digits)
17.714286
29
0.580645
19
124
3.789474
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.25
124
7
30
17.714286
0.774194
0
0
0
0
0
0.128
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
702f668fa8dabb21d7bb51feb3bf66ebc8077141
109
py
Python
spaghetti/__init__.py
boris-hanin/spaghetti
ec763f86eab6b51b148f9454f62aca5a5db2f0d9
[ "MIT" ]
null
null
null
spaghetti/__init__.py
boris-hanin/spaghetti
ec763f86eab6b51b148f9454f62aca5a5db2f0d9
[ "MIT" ]
null
null
null
spaghetti/__init__.py
boris-hanin/spaghetti
ec763f86eab6b51b148f9454f62aca5a5db2f0d9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = """Boris Hanin""" __email__ = 'bhanin@gmail.com' __version__ = '0.1.0'
18.166667
30
0.614679
14
109
3.928571
0.928571
0
0
0
0
0
0
0
0
0
0
0.043011
0.146789
109
5
31
21.8
0.548387
0.192661
0
0
0
0
0.372093
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
704760ab3d3d477b992f8a90f62bdfe96a1eeb05
708
py
Python
src/snpahoy/utilities.py
asp8200/snpahoy
61f411cb8f87442015bdc828e6e7a53d669eb23f
[ "MIT" ]
5
2020-06-08T12:55:54.000Z
2022-03-30T07:32:19.000Z
src/snpahoy/utilities.py
asp8200/snpahoy
61f411cb8f87442015bdc828e6e7a53d669eb23f
[ "MIT" ]
12
2019-12-26T07:24:03.000Z
2021-09-27T14:11:50.000Z
src/snpahoy/utilities.py
asp8200/snpahoy
61f411cb8f87442015bdc828e6e7a53d669eb23f
[ "MIT" ]
1
2021-07-27T05:57:16.000Z
2021-07-27T05:57:16.000Z
from statistics import mean from typing import List from snpahoy.core import SNP def count_heterozygotes(snps: List[SNP]) -> int: """Exactly as advertized. Counts the number of heterozygote sites.""" return len([snp for snp in snps if snp.is_heterozygote()]) def mean_minor_allele_frequency(snps: List[SNP])...
29.5
73
0.706215
105
708
4.647619
0.371429
0.04918
0.067623
0.07377
0.407787
0.139344
0.139344
0.139344
0.139344
0.139344
0
0.006993
0.19209
708
23
74
30.782609
0.846154
0.224576
0
0.307692
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
704b6c93a8aa19ff9af534dc8a9c4c6ab6813470
1,415
py
Python
generator/storage_spider_template.django.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
null
null
null
generator/storage_spider_template.django.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
10
2020-02-11T23:34:28.000Z
2022-03-11T23:16:12.000Z
generator/storage_spider_template.django.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
3
2018-08-05T14:54:25.000Z
2021-06-07T01:49:59.000Z
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "{{ spider.xpath.name|safe }}", 'price' : "{{ spider.xpath.price|safe }}", 'category' : "{{ spider.xpath.category|safe}}", 'des...
47.166667
119
0.668551
166
1,415
5.5
0.319277
0.13253
0.042716
0.082147
0.134721
0.100767
0.100767
0.100767
0
0
0
0
0.126502
1,415
29
120
48.793103
0.738673
0.052297
0
0
1
0
0.488424
0.336819
0
0
0
0
0
0
null
null
0
0.074074
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
7057971a55aead3ed4b2c854e0fd7bcbbd74372c
1,203
py
Python
Ago-Dic-2021/fernandez-salinas-cristian-alejandro/Practica3/calculator_test.py
CristianF50/DAS_Sistemas
45d9faf06de209b8cd8549ae2accc287e27e979a
[ "MIT" ]
41
2017-09-26T09:36:32.000Z
2022-03-19T18:05:25.000Z
Ago-Dic-2021/fernandez-salinas-cristian-alejandro/Practica3/calculator_test.py
CristianF50/DAS_Sistemas
45d9faf06de209b8cd8549ae2accc287e27e979a
[ "MIT" ]
67
2017-09-11T05:06:12.000Z
2022-02-14T04:44:04.000Z
Ago-Dic-2021/fernandez-salinas-cristian-alejandro/Practica3/calculator_test.py
CristianF50/DAS_Sistemas
45d9faf06de209b8cd8549ae2accc287e27e979a
[ "MIT" ]
210
2017-09-01T00:10:08.000Z
2022-03-19T18:05:12.000Z
import unittest from calculator import * class CalculatorTest(unittest.TestCase): def test_suma_dos_numeros(self): calc = Calculator(5, 10) self.assertEqual(15, calc.suma()) def test_resta_dos_numeros(self): calc = Calculator(19, 8) self.assertEqual(11, calc.resta()) ...
27.976744
51
0.641729
152
1,203
4.828947
0.322368
0.085831
0.220708
0.098093
0.434605
0.171662
0.095368
0
0
0
0
0.04386
0.241895
1,203
43
52
27.976744
0.760965
0
0
0.0625
0
0
0.006645
0
0
0
0
0
0.28125
1
0.28125
false
0
0.0625
0
0.375
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
70692e3e9e3bd023cca9040a93b82b6d24dceb09
52
py
Python
meal_plan_optimizer/__init__.py
ilSommo/meal-plan-optimizer
b8ccb1a1df5f02c85bcf2e60fe3b1605274b0c31
[ "MIT" ]
2
2021-07-19T10:30:44.000Z
2021-07-19T10:37:11.000Z
meal_plan_optimizer/__init__.py
ilSommo/meal-plan-optimizer
b8ccb1a1df5f02c85bcf2e60fe3b1605274b0c31
[ "MIT" ]
null
null
null
meal_plan_optimizer/__init__.py
ilSommo/meal-plan-optimizer
b8ccb1a1df5f02c85bcf2e60fe3b1605274b0c31
[ "MIT" ]
null
null
null
__version__ = '1.3.0' __author__ = 'Martino Pulici'
17.333333
29
0.711538
7
52
4.142857
1
0
0
0
0
0
0
0
0
0
0
0.066667
0.134615
52
2
30
26
0.577778
0
0
0
0
0
0.365385
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
706b3ec0f96daacfa2003387de561c614fd80a6e
204
py
Python
Guizero/05.Widgets.py
sarincr/Python-modules-for-GUI-Dev
0dca4982de99d4f2a305862daf6a2f6fbcc522e6
[ "MIT" ]
null
null
null
Guizero/05.Widgets.py
sarincr/Python-modules-for-GUI-Dev
0dca4982de99d4f2a305862daf6a2f6fbcc522e6
[ "MIT" ]
null
null
null
Guizero/05.Widgets.py
sarincr/Python-modules-for-GUI-Dev
0dca4982de99d4f2a305862daf6a2f6fbcc522e6
[ "MIT" ]
null
null
null
from guizero import App, TextBox, Text def count(): character_count.value = len(entered_text.value) app = App() entered_text = TextBox(app, command=count) character_count = Text(app) app.display()
18.545455
51
0.740196
29
204
5.068966
0.482759
0.190476
0.258503
0
0
0
0
0
0
0
0
0
0.142157
204
10
52
20.4
0.84
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0
1
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
2
709f88e2d94cb5547b0344f514a046fcf51ee14b
1,131
py
Python
Python/Metodo Anova.py
filipeaguiarrod/Formacao-Cientista-de-Dados-com-Python-e-R
c9b72f93b2a6ead49641d765fe2a0f23ffb4b1bf
[ "MIT" ]
null
null
null
Python/Metodo Anova.py
filipeaguiarrod/Formacao-Cientista-de-Dados-com-Python-e-R
c9b72f93b2a6ead49641d765fe2a0f23ffb4b1bf
[ "MIT" ]
null
null
null
Python/Metodo Anova.py
filipeaguiarrod/Formacao-Cientista-de-Dados-com-Python-e-R
c9b72f93b2a6ead49641d765fe2a0f23ffb4b1bf
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sat Feb 15 14:17:40 2020 @author: rodri """ import pandas as pd from scipy import stats import statsmodels.api as sm from statsmodels.formula.api import ols import matplotlib.pyplot as plt # gerar os gráficos from statsmodels.stats.multicomp import MultiComparison tratamento =...
32.314286
137
0.760389
161
1,131
5.298137
0.552795
0.049238
0.03517
0.049238
0.157093
0.093787
0.093787
0.093787
0
0
0
0.020325
0.129973
1,131
34
138
33.264706
0.846545
0.354553
0
0
0
0
0.089762
0
0
0
0
0.029412
0
1
0
false
0
0.352941
0
0.352941
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
2
709fb807d5302f13576e5276b0c43f6c81a35c8a
1,396
py
Python
tracetools_read/tracetools_read/trace.py
paulbovbel/ros2_tracing
cec4b3d17ea6a294eb025d2ab3e0832feb0d3318
[ "Apache-2.0" ]
4
2020-11-27T00:25:28.000Z
2020-11-28T03:01:32.000Z
tracetools_read/tracetools_read/trace.py
paulbovbel/ros2_tracing
cec4b3d17ea6a294eb025d2ab3e0832feb0d3318
[ "Apache-2.0" ]
null
null
null
tracetools_read/tracetools_read/trace.py
paulbovbel/ros2_tracing
cec4b3d17ea6a294eb025d2ab3e0832feb0d3318
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Robert Bosch GmbH # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
29.083333
74
0.724212
206
1,396
4.834951
0.480583
0.11245
0.026104
0.032129
0.056225
0
0
0
0
0
0
0.00713
0.196275
1,396
47
75
29.702128
0.88057
0.627507
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
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
561018c23806d3a6ba54025bf5a074e0db2d8d49
1,054
py
Python
app/user/views.py
PythonDjangoJavascript/advanced_django_rest_api_with_tdd
c647208f4e7a3b40785321bee7963fa64701d8f5
[ "MIT" ]
null
null
null
app/user/views.py
PythonDjangoJavascript/advanced_django_rest_api_with_tdd
c647208f4e7a3b40785321bee7963fa64701d8f5
[ "MIT" ]
null
null
null
app/user/views.py
PythonDjangoJavascript/advanced_django_rest_api_with_tdd
c647208f4e7a3b40785321bee7963fa64701d8f5
[ "MIT" ]
null
null
null
from rest_framework import generics from rest_framework import authentication from rest_framework import permissions from rest_framework.authtoken.views import ObtainAuthToken from rest_framework.settings import api_settings from user.serializers import UserSerializser from user.serializers import AuthTokenSerializer ...
29.277778
66
0.791271
111
1,054
7.36036
0.468468
0.04896
0.104039
0.084455
0
0
0
0
0
0
0
0
0.148956
1,054
35
67
30.114286
0.910814
0.160342
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0.388889
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
5618f477b1e118c1b42cdc21e4e206a2d6229b7f
222
py
Python
utiles/__init__.py
steinvenic/escience
55a6290ea026fba3cdf5f889ef67dfd50e394703
[ "MIT" ]
1
2019-03-28T13:33:30.000Z
2019-03-28T13:33:30.000Z
utiles/__init__.py
steinvenic/escience
55a6290ea026fba3cdf5f889ef67dfd50e394703
[ "MIT" ]
null
null
null
utiles/__init__.py
steinvenic/escience
55a6290ea026fba3cdf5f889ef67dfd50e394703
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 """ @version: python2.7 @author: ‘eric‘ @license: Apache Licence @contact: steinven@qq.com @site: 00123.ml:8000 @software: PyCharm @file: __init__.py.py @time: 18/4/24 下午1:20 """
14.8
25
0.684685
35
222
4.228571
0.971429
0
0
0
0
0
0
0
0
0
0
0.103093
0.126126
222
14
26
15.857143
0.659794
0.936937
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
565056251dec1f740a94df39a46c7876de47d77b
729
py
Python
setup.py
gillenbrown/prettyplot
8551ca3cdb15f26f2c9517765e1abc063ea67242
[ "MIT" ]
3
2017-03-27T07:54:55.000Z
2020-03-25T12:24:06.000Z
setup.py
gillenbrown/prettyplot
8551ca3cdb15f26f2c9517765e1abc063ea67242
[ "MIT" ]
null
null
null
setup.py
gillenbrown/prettyplot
8551ca3cdb15f26f2c9517765e1abc063ea67242
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name="betterplotlib", version="1.5.0", description="Some wrappers for matplotlib to make plotting easier and nicer.", long_description="This module contains wrapper functions for matplotlib. A lot of the matplotlib plots are ugly and not easy to make, so I wrote...
29.16
275
0.754458
104
729
5.240385
0.701923
0.044037
0.022018
0.033028
0
0
0
0
0
0
0
0.004792
0.141289
729
24
276
30.375
0.865815
0
0
0
0
0.071429
0.63786
0.028807
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
565d06627af730e8211809128abd0b302aeaa7a1
416
py
Python
lechef/lechef/qstk_tester.py
r2k0/fe4retail
0a488080a9a3b9a7b50081abc806f9958a2fab8a
[ "MIT" ]
1
2015-03-21T11:44:32.000Z
2015-03-21T11:44:32.000Z
lechef/lechef/qstk_tester.py
r2k0/fe4retail
0a488080a9a3b9a7b50081abc806f9958a2fab8a
[ "MIT" ]
null
null
null
lechef/lechef/qstk_tester.py
r2k0/fe4retail
0a488080a9a3b9a7b50081abc806f9958a2fab8a
[ "MIT" ]
null
null
null
""" QSTK utils """ import QSTK.qstkutil.qsdateutil as du import QSTK.qstkutil.tsutil as tsu import QSTK.qstkutil.DataAccess as da import datetime as dt import matplotlib.pyplot as plt import pandas as pd def main(): ls_symbols = ["SPY"] dt_start = dt.datetime(2013,1,1) dt_end = dt.datetime(2013,12,31) dt_time...
20.8
64
0.754808
68
416
4.5
0.529412
0.098039
0.176471
0
0
0
0
0
0
0
0
0.044693
0.139423
416
19
65
21.894737
0.810056
0.024038
0
0
0
0
0.007538
0
0
0
0
0
0
1
0.083333
false
0
0.5
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
5693a6cb38ba15bc10ee5f5026aa68b94fcd9891
250
py
Python
Basic Progrom python/largest_among_n_digit.py
manish1822510059/Python-1000-program
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
1
2021-03-06T03:33:42.000Z
2021-03-06T03:33:42.000Z
Basic Progrom python/largest_among_n_digit.py
manish1822510059/Python-1000-programs
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
null
null
null
Basic Progrom python/largest_among_n_digit.py
manish1822510059/Python-1000-programs
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
null
null
null
arr = [] num = int(input("Enter the n Number:= \t")) for n in range(num): number = int(input("Enter number:")) arr.append(number) print("Maximum element in the list is :",max(arr)) print("Maximum element in the list is :",min(arr))
35.714286
54
0.624
40
250
3.9
0.5
0.102564
0.166667
0.269231
0.384615
0.384615
0.384615
0
0
0
0
0
0.204
250
7
54
35.714286
0.78392
0
0
0
0
0
0.408163
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
569f85a6867cfd6b1e19bbe12bd37450f51cb867
18,013
py
Python
data/preprocess/ISICPreprocess_2017.py
qgking/CKDNet
bc7273e0f3001e7f07241c842d7c49fff077fe5d
[ "MIT" ]
2
2020-09-28T09:05:40.000Z
2022-01-30T05:04:08.000Z
data/preprocess/ISICPreprocess_2017.py
qgking/CKDNet
bc7273e0f3001e7f07241c842d7c49fff077fe5d
[ "MIT" ]
1
2020-11-19T17:46:43.000Z
2020-11-23T04:36:15.000Z
data/preprocess/ISICPreprocess_2017.py
qgking/CKDNet
bc7273e0f3001e7f07241c842d7c49fff077fe5d
[ "MIT" ]
4
2020-11-23T08:15:15.000Z
2022-01-25T12:49:35.000Z
import numpy as np from tqdm import tqdm from skimage import transform as sktransform import os from skimage import io import inspect def mkdir_if_not_exist(dir_list): for directory in dir_list: if not os.path.exists(directory): os.makedirs(directory) curr_filename = inspect.getfile(inspect....
40.387892
153
0.650752
2,555
18,013
4.24775
0.071624
0.068184
0.027642
0.033171
0.793145
0.734175
0.702294
0.686078
0.592094
0.586382
0
0.027098
0.244046
18,013
445
154
40.478652
0.76992
0.05757
0
0.468468
0
0
0.060615
0.035767
0
0
0
0
0.012012
1
0.054054
false
0
0.018018
0
0.135135
0.015015
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3b0cf254e84996d64feead20ef75a0dde786add0
100
py
Python
py/jpy/ci/appveyor/dump-dlls.py
devinrsmith/deephaven-core
3a6930046faf1cd556f62a914ce1cfd7860147b9
[ "MIT" ]
210
2015-03-19T14:07:16.000Z
2022-03-31T19:28:13.000Z
py/jpy/ci/appveyor/dump-dlls.py
devinrsmith/deephaven-core
3a6930046faf1cd556f62a914ce1cfd7860147b9
[ "MIT" ]
943
2021-05-10T14:00:02.000Z
2022-03-31T21:28:15.000Z
py/jpy/ci/appveyor/dump-dlls.py
devinrsmith/deephaven-core
3a6930046faf1cd556f62a914ce1cfd7860147b9
[ "MIT" ]
40
2015-10-17T13:53:41.000Z
2021-07-18T20:09:11.000Z
import psutil, os p = psutil.Process(os.getpid()) for dll in p.memory_maps(): print(dll.path)
14.285714
31
0.68
17
100
3.941176
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.17
100
6
32
16.666667
0.807229
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3b11bf342ffa0a20192a56f800f84dbb5b0b06bf
11,218
py
Python
curator_api/actions/restore.py
untergeek/curator_api
b53bf99b729488c0b2b05fd6b3d159113d0edc62
[ "Apache-2.0" ]
null
null
null
curator_api/actions/restore.py
untergeek/curator_api
b53bf99b729488c0b2b05fd6b3d159113d0edc62
[ "Apache-2.0" ]
null
null
null
curator_api/actions/restore.py
untergeek/curator_api
b53bf99b729488c0b2b05fd6b3d159113d0edc62
[ "Apache-2.0" ]
3
2018-12-11T04:42:25.000Z
2020-11-19T18:14:29.000Z
# import logging # import re # from curator.actions.parentclasses import ActionClass # from curator.exceptions import CuratorException, SnapshotInProgress, FailedRestore # from curator.helpers.index import get_indices # from curator.helpers.repository import check_repo_fs # from curator.helpers.snapshot import snapshot...
47.533898
140
0.580496
1,233
11,218
5.123277
0.218978
0.028495
0.034985
0.021371
0.157828
0.085325
0.038309
0.01583
0.01583
0.01583
0
0.003401
0.318595
11,218
235
141
47.73617
0.822998
0.955964
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
3b1456b85c12e54b6fd9327f9fcf91aecf98418a
2,331
py
Python
config/hooks/tk-multi-publish2/python/tk_multi_publish2/publish_tree_widget/tree_node_context.py
JoanAzpeitia/lp_sg
e0ee79555e419dd2ae3a5f31e5515b3f40b22a62
[ "MIT" ]
null
null
null
config/hooks/tk-multi-publish2/python/tk_multi_publish2/publish_tree_widget/tree_node_context.py
JoanAzpeitia/lp_sg
e0ee79555e419dd2ae3a5f31e5515b3f40b22a62
[ "MIT" ]
null
null
null
config/hooks/tk-multi-publish2/python/tk_multi_publish2/publish_tree_widget/tree_node_context.py
JoanAzpeitia/lp_sg
e0ee79555e419dd2ae3a5f31e5515b3f40b22a62
[ "MIT" ]
1
2020-02-15T10:42:56.000Z
2020-02-15T10:42:56.000Z
# Copyright (c) 2017 Shotgun Software Inc. # # CONFIDENTIAL AND PROPRIETARY # # This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit # Source Code License included in this distribution package. See LICENSE. # By accessing, using, copying or modifying this work you indicate your # agreement to the S...
25.9
81
0.630202
263
2,331
5.456274
0.51711
0.045993
0.025087
0.027875
0.061324
0.061324
0.061324
0.061324
0
0
0
0.004219
0.288288
2,331
89
82
26.191011
0.860759
0.383097
0
0.09375
0
0
0.050366
0.030057
0
0
0
0
0
1
0.28125
false
0
0.125
0.0625
0.71875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3b1ecc290f284e5f50d2f2c277ddbf268403d05d
273
py
Python
app/utils/decorators.py
AlexLaur/TradeHelper
17c4ba06bb81fb6e6e7be53561effd411092bd67
[ "MIT" ]
2
2021-03-29T15:55:31.000Z
2021-06-20T09:54:28.000Z
app/utils/decorators.py
AlexLaur/TradeHelper
17c4ba06bb81fb6e6e7be53561effd411092bd67
[ "MIT" ]
2
2021-03-28T12:42:38.000Z
2021-06-20T14:27:06.000Z
app/utils/decorators.py
AlexLaur/TradeHelper
17c4ba06bb81fb6e6e7be53561effd411092bd67
[ "MIT" ]
1
2021-06-20T09:54:33.000Z
2021-06-20T09:54:33.000Z
def busyindicator(func): def wrapper(*args, **kwargs): args[0].busy_indicator.show(center_from=args[0]) try: result = func(*args, **kwargs) finally: args[0].busy_indicator.hide() return result return wrapper
24.818182
56
0.575092
31
273
4.967742
0.548387
0.097403
0.116883
0.233766
0
0
0
0
0
0
0
0.015707
0.300366
273
10
57
27.3
0.790576
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.444444
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
1
0
0
0
0
0
0
0
2
3b1f85bcc5d0c44bf24a5db562ebcf37645661f5
107
py
Python
maximum_sum_of_array.py
kasyap1234/codingproblems
7368222c5fb67b4796410597f68401654878fee0
[ "MIT" ]
1
2021-04-15T16:09:52.000Z
2021-04-15T16:09:52.000Z
maximum_sum_of_array.py
kasyap1234/codingproblems
7368222c5fb67b4796410597f68401654878fee0
[ "MIT" ]
null
null
null
maximum_sum_of_array.py
kasyap1234/codingproblems
7368222c5fb67b4796410597f68401654878fee0
[ "MIT" ]
null
null
null
def sum_largest(array): sum=0 for i in array: if i>0: sum=sum+i return sum
15.285714
23
0.504673
18
107
2.944444
0.555556
0
0
0
0
0
0
0
0
0
0
0.031746
0.411215
107
6
24
17.833333
0.809524
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3b3d8935f3b3949fca008e99aae266231c4eb7fd
970
py
Python
grbl/connection.py
pylover/easymove
b80c6a8de376ada702410ef16617a4fb772bd875
[ "MIT" ]
null
null
null
grbl/connection.py
pylover/easymove
b80c6a8de376ada702410ef16617a4fb772bd875
[ "MIT" ]
null
null
null
grbl/connection.py
pylover/easymove
b80c6a8de376ada702410ef16617a4fb772bd875
[ "MIT" ]
null
null
null
import serial from .proxy import ObjectProxy class Connection: current_connection = None _settings = None _serial = None def __init__(self, filename, baudrate=115200, **kw): self.filename = filename self.baudrate = baudrate self.kw = kw @property def settings(self): ...
23.095238
77
0.653608
108
970
5.546296
0.342593
0.113523
0.09015
0.086811
0
0
0
0
0
0
0
0.011096
0.256701
970
41
78
23.658537
0.819695
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3b58529c847f0dd0500e6161893c8880cb2ee5a9
6,171
py
Python
nova/virt/libvirt/volume/smbfs.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/virt/libvirt/volume/smbfs.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/virt/libvirt/volume/smbfs.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n' comment|'# a copy of the License at' nl|'\n' comment|'#' nl|'\n' comment|'# http://www.apache.org/licenses/L...
14.121281
88
0.624534
895
6,171
4.198883
0.159777
0.130921
0.063864
0.07983
0.615487
0.554284
0.456892
0.378393
0.37041
0.314263
0
0.001088
0.106142
6,171
436
89
14.15367
0.680203
0
0
0.848624
0
0
0.425053
0.023821
0
0
0
0
0
0
null
null
0
0.011468
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
3b62660dc420c9227fd7ef256c662f91bb6d34b3
107
py
Python
p3/test.py
aryan-gupta/MATH1165
89491378a6a560a30f46293f8880fa988c934bbb
[ "MIT" ]
null
null
null
p3/test.py
aryan-gupta/MATH1165
89491378a6a560a30f46293f8880fa988c934bbb
[ "MIT" ]
null
null
null
p3/test.py
aryan-gupta/MATH1165
89491378a6a560a30f46293f8880fa988c934bbb
[ "MIT" ]
null
null
null
import os for i in range(28): print("Test case: ", i) os.system(f"echo {i} | ./a.out | grep \"Enter\"")
17.833333
50
0.579439
20
107
3.1
0.85
0
0
0
0
0
0
0
0
0
0
0.022989
0.186916
107
6
50
17.833333
0.689655
0
0
0
0
0
0.35514
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3b6356db6541f3c3f17e48879827f2ebad2b92f4
11,245
py
Python
edmunds/foundation/testing/testcase.py
LowieHuyghe/edmunds-python
236d087746cb8802a8854b2706b8d3ff009e9209
[ "Apache-2.0" ]
4
2017-09-07T13:39:50.000Z
2018-05-31T16:14:50.000Z
edmunds/foundation/testing/testcase.py
LowieHuyghe/edmunds-python
236d087746cb8802a8854b2706b8d3ff009e9209
[ "Apache-2.0" ]
103
2017-03-19T15:58:21.000Z
2018-07-11T20:36:17.000Z
edmunds/foundation/testing/testcase.py
LowieHuyghe/edmunds-python
236d087746cb8802a8854b2706b8d3ff009e9209
[ "Apache-2.0" ]
2
2017-10-14T15:20:11.000Z
2018-04-20T09:55:44.000Z
import os import sys import threading import time import unittest from edmunds.globals import abc, ABC import edmunds.support.helpers as helpers import tempfile import shutil class TestCase(unittest.TestCase, ABC): """ A UnitTest Test Case """ def set_up(self): """ Set up the test ca...
27.360097
126
0.546643
1,386
11,245
4.320346
0.159452
0.016032
0.03173
0.06012
0.438544
0.371075
0.31346
0.226787
0.211423
0.170007
0
0.003509
0.341129
11,245
410
127
27.426829
0.804697
0.194753
0
0.121951
0
0
0.005781
0
0
0
0
0
0.396341
1
0.262195
false
0.012195
0.054878
0
0.554878
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3b643ab49235b96bcb6b1163764492a84379de3a
2,493
py
Python
homeassistant/components/thermostat/proliphix.py
davidedmundson/home-assistant
cd02563552ffc28239fa17c79a5d9bc0013bd5ac
[ "MIT" ]
null
null
null
homeassistant/components/thermostat/proliphix.py
davidedmundson/home-assistant
cd02563552ffc28239fa17c79a5d9bc0013bd5ac
[ "MIT" ]
null
null
null
homeassistant/components/thermostat/proliphix.py
davidedmundson/home-assistant
cd02563552ffc28239fa17c79a5d9bc0013bd5ac
[ "MIT" ]
1
2018-11-20T17:44:08.000Z
2018-11-20T17:44:08.000Z
""" homeassistant.components.thermostat.proliphix ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Proliphix NT10e Thermostat is an ethernet connected thermostat. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/thermostat.proliphix/ """ from homeassistan...
27.395604
74
0.636582
275
2,493
5.603636
0.36
0.045425
0.045425
0.032446
0
0
0
0
0
0
0
0.004818
0.250702
2,493
90
75
27.7
0.820128
0.287204
0
0.173077
0
0
0.011157
0
0
0
0
0
0
1
0.211538
false
0.057692
0.057692
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
3b6a7f4338426f8e4cde811f1ae2a88eb845820d
2,718
py
Python
plot_meta.py
BFYFlorence/RAF
da4bbd32f35c9bf64ef74ead4e4c6793b60a87f9
[ "MIT" ]
null
null
null
plot_meta.py
BFYFlorence/RAF
da4bbd32f35c9bf64ef74ead4e4c6793b60a87f9
[ "MIT" ]
null
null
null
plot_meta.py
BFYFlorence/RAF
da4bbd32f35c9bf64ef74ead4e4c6793b60a87f9
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np target_file = "/Users/erik/Desktop/metadynamics/learn/" def hills(target_file,dictator=None): y = [] with open(target_file) as f: for i in f.readlines(): record = i.strip().split() print(record) if record[0][0]!='#'...
30.539326
60
0.546358
381
2,718
3.808399
0.2021
0.082702
0.082012
0.019297
0.742936
0.678153
0.662991
0.662991
0.641626
0.641626
0
0.04624
0.275938
2,718
88
61
30.886364
0.691057
0.106328
0
0.71831
0
0
0.042957
0.016109
0
0
0
0
0
1
0.056338
false
0
0.028169
0
0.084507
0.042254
0
0
0
null
0
0
0
0
0
0
0
0
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
2
3b74b2cc81435e9608ef241dddc2d36141087d97
3,712
py
Python
social_regexp/processing.py
TezRomacH/social-regexp
7505282bac51f040120d5c72d96ddf95057e9deb
[ "MIT" ]
null
null
null
social_regexp/processing.py
TezRomacH/social-regexp
7505282bac51f040120d5c72d96ddf95057e9deb
[ "MIT" ]
39
2021-01-20T11:53:59.000Z
2022-03-31T09:07:41.000Z
social_regexp/processing.py
TezRomacH/social-regexp
7505282bac51f040120d5c72d96ddf95057e9deb
[ "MIT" ]
null
null
null
from typing import Pattern import re import string from social_regexp.constants import ( HASH_TOKEN, MENTION_TOKEN, NON_RUSSIAN_CYRILLIC_LETTERS, PHONE_TOKEN, URL_TOKEN, _blank_spaces, _hashtags, _mentions, _phones, _single_letter_word, _spaces_before_punctuation, _url_...
28.121212
79
0.704741
476
3,712
5.254202
0.14916
0.043982
0.082767
0.053978
0.405838
0.379048
0.287085
0.197521
0.163135
0.163135
0
0.000328
0.17861
3,712
131
80
28.335878
0.819941
0.238416
0
0
0
0
0.102517
0.045239
0
0
0
0
0
1
0.226667
false
0
0.053333
0
0.506667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3b9ddda656fad46543549ea37e698f2d5cf8c9bd
3,669
py
Python
VTiger_KPI_Dashboard/cases/models.py
roovyshapiro/VTiger_Sales_Dashboard
c20687ed8cd5aea8df6a6868b94389eb3b069d3a
[ "MIT" ]
2
2020-12-15T20:24:14.000Z
2022-01-26T23:56:41.000Z
VTiger_KPI_Dashboard/cases/models.py
roovyshapiro/VTiger_Sales_Dashboard
c20687ed8cd5aea8df6a6868b94389eb3b069d3a
[ "MIT" ]
6
2021-04-08T19:35:25.000Z
2021-10-05T00:45:27.000Z
VTiger_KPI_Dashboard/cases/models.py
roovyshapiro/VTiger_Sales_Dashboard
c20687ed8cd5aea8df6a6868b94389eb3b069d3a
[ "MIT" ]
13
2021-06-09T20:58:10.000Z
2022-03-21T16:02:42.000Z
from django.db import models from django.utils import timezone import json, os class Cases(models.Model): ''' Example Case: { "age": "", "asset_id": "", "assigned_user_id": "19x91", "billable_time": "", "billing_service": "", "case_no": "CC21063", "c...
35.970588
140
0.599073
401
3,669
5.226933
0.406484
0.128817
0.15458
0.206107
0.293416
0.20563
0.121183
0
0
0
0
0.063914
0.240938
3,669
101
141
36.326733
0.688689
0.489234
0
0
0
0.032258
0.080946
0.054172
0
0
0
0
0
1
0.064516
false
0
0.096774
0.064516
1
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
8e574200ec2672c735492534ddda660ca6028156
2,431
py
Python
xlsxtemplater/utils.py
jgunstone/xlsxtemplater
379e0350ed4911a55f0d5569d750396b03fc4768
[ "BSD-3-Clause" ]
null
null
null
xlsxtemplater/utils.py
jgunstone/xlsxtemplater
379e0350ed4911a55f0d5569d750396b03fc4768
[ "BSD-3-Clause" ]
2
2021-04-23T10:07:03.000Z
2021-04-23T10:08:00.000Z
xlsxtemplater/utils.py
gunstonej/xlsxtemplater
379e0350ed4911a55f0d5569d750396b03fc4768
[ "BSD-3-Clause" ]
null
null
null
import sys import os import re import getpass import datetime import re import pandas as pd # mf packages # TODO - remove this dedendency if opensource try: from mf_file_utilities import applauncher_wrapper as aw except: pass def get_user(): return getpass.getuser() def date(): return datetime.datet...
27.314607
96
0.616619
319
2,431
4.595611
0.448276
0.010914
0.012278
0.016371
0.102319
0.102319
0.024557
0.024557
0.024557
0.024557
0
0.011866
0.237351
2,431
88
97
27.625
0.778857
0.325381
0
0.142857
0
0
0.093471
0.015808
0
0
0
0.011364
0
1
0.122449
false
0.061224
0.183673
0.040816
0.44898
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
8e667d964e259b1dbb7a006b76d6e206dadccdd5
7,183
py
Python
figuras/Pycharm_Papoulis_Probability_Report/example_7_15.py
bor9/estudiando_el_papoulis
ef40ac18d7aece3415cd9ce72d1f9684c762d6df
[ "MIT" ]
null
null
null
figuras/Pycharm_Papoulis_Probability_Report/example_7_15.py
bor9/estudiando_el_papoulis
ef40ac18d7aece3415cd9ce72d1f9684c762d6df
[ "MIT" ]
null
null
null
figuras/Pycharm_Papoulis_Probability_Report/example_7_15.py
bor9/estudiando_el_papoulis
ef40ac18d7aece3415cd9ce72d1f9684c762d6df
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np import math from scipy.stats import norm from matplotlib import rc __author__ = 'ernesto' # if use latex or mathtext rc('text', usetex=False) rc('mathtext', fontset='cm') # auxiliar function for plot ticks of equal length in x and y axis despite its scales. def con...
33.409302
100
0.63163
1,223
7,183
3.652494
0.168438
0.037609
0.076561
0.051489
0.73405
0.721737
0.718603
0.679875
0.61876
0.590105
0
0.048717
0.142698
7,183
214
101
33.565421
0.676681
0.167061
0
0.411765
0
0.008403
0.099708
0.014097
0
0
0
0
0
1
0.008403
false
0
0.042017
0
0.058824
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8e701cd732caf2dba829c4cb217450962ccc6a76
374
py
Python
Algorithms/DynamicProgramming/minimum-sum-path-triangle.py
Sangeerththan/pythonDSA
d126b3a7a8acc1e202107e20a21ed96fb4ab144e
[ "MIT" ]
1
2021-09-12T20:40:37.000Z
2021-09-12T20:40:37.000Z
Algorithms/DynamicProgramming/minimum-sum-path-triangle.py
Sangeerththan/pythonDataStructure
d126b3a7a8acc1e202107e20a21ed96fb4ab144e
[ "MIT" ]
null
null
null
Algorithms/DynamicProgramming/minimum-sum-path-triangle.py
Sangeerththan/pythonDataStructure
d126b3a7a8acc1e202107e20a21ed96fb4ab144e
[ "MIT" ]
null
null
null
def minSumPath(A): memo = [None] * len(A) n = len(A) - 1 for i in range(len(A[n])): memo[i] = A[n][i] for i in range(len(A) - 2, -1, -1): for j in range(len(A[i])): memo[j] = A[i][j] + min(memo[j], memo[j + 1]); return memo[0] A = [[...
20.777778
49
0.390374
63
374
2.31746
0.349206
0.136986
0.205479
0.226027
0.205479
0.205479
0
0
0
0
0
0.052863
0.393048
374
17
50
22
0.590308
0
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.142857
0.071429
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8e725b6be8f03dc8ec25729ed0a9fe2f1696c227
242
py
Python
zhsz_api/extensions.py
azhen318x/FormatFa6
9a103e91fa6b1ba99ff30cdf96770f304c968288
[ "MIT" ]
12
2019-12-05T02:12:01.000Z
2021-12-13T14:56:44.000Z
zhsz_api/extensions.py
azhen318x/FormatFa6
9a103e91fa6b1ba99ff30cdf96770f304c968288
[ "MIT" ]
null
null
null
zhsz_api/extensions.py
azhen318x/FormatFa6
9a103e91fa6b1ba99ff30cdf96770f304c968288
[ "MIT" ]
4
2019-12-05T03:18:42.000Z
2021-04-06T06:13:55.000Z
from flask_cors import CORS from flask_login import LoginManager from flask_wtf import CSRFProtect from flask_bcrypt import Bcrypt from flask_openid import OpenID csrfp=CSRFProtect() cors=CORS() lm=LoginManager() bcrypt=Bcrypt() oid=OpenID()
22
36
0.834711
35
242
5.628571
0.371429
0.228426
0
0
0
0
0
0
0
0
0
0
0.103306
242
11
37
22
0.907834
0
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
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
8e78c7b6807392fbcc530e691d07b172e752610a
177
py
Python
Problems/IsHalloweendotcom/wut.py
FredTheDane/Kattis-Problems
260e9567666a5cc67c96e00f747703a7c7100bdb
[ "MIT" ]
null
null
null
Problems/IsHalloweendotcom/wut.py
FredTheDane/Kattis-Problems
260e9567666a5cc67c96e00f747703a7c7100bdb
[ "MIT" ]
null
null
null
Problems/IsHalloweendotcom/wut.py
FredTheDane/Kattis-Problems
260e9567666a5cc67c96e00f747703a7c7100bdb
[ "MIT" ]
null
null
null
import sys for i, x in enumerate(sys.stdin): val = str(x).strip() if (val == "OCT 31" or val == "DEC 25"): print("yup") else: print("nope")
19.666667
45
0.485876
26
177
3.307692
0.807692
0
0
0
0
0
0
0
0
0
0
0.034188
0.338983
177
8
46
22.125
0.700855
0
0
0
0
0
0.112426
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.285714
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8e7c29e99279a20964c742bcf86e89776b459909
261
py
Python
Chapter 05/Chap05_Example5.55.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
Chapter 05/Chap05_Example5.55.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
Chapter 05/Chap05_Example5.55.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
#Kabaddi Package --- defender module from Football import forward def name_defender(): '''Kabaddi defender names are''' print("Defender Function") print("Defender1: Mr. Y") print("Defender2: Mr. Z") print() forward.name_forward()
23.727273
37
0.655172
30
261
5.633333
0.633333
0
0
0
0
0
0
0
0
0
0
0.009756
0.214559
261
10
38
26.1
0.814634
0.237548
0
0
0
0
0.26776
0
0
0
0
0
0
1
0.142857
true
0
0.142857
0
0.285714
0.571429
0
0
0
null
0
0
0
0
0
0
0
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
1
0
2
8e7d81e22120117e67b31ec58ea7baf976fa8a4b
627
py
Python
examples/views.py
jeromelebleu/django-cruditor
da3c9be402ff87014d82ecc9c5abdf68693da4db
[ "MIT" ]
10
2016-04-19T11:12:27.000Z
2020-10-09T04:12:02.000Z
examples/views.py
jeromelebleu/django-cruditor
da3c9be402ff87014d82ecc9c5abdf68693da4db
[ "MIT" ]
26
2018-04-25T12:02:13.000Z
2022-02-10T15:26:07.000Z
examples/views.py
jeromelebleu/django-cruditor
da3c9be402ff87014d82ecc9c5abdf68693da4db
[ "MIT" ]
3
2019-02-28T14:32:26.000Z
2020-06-08T11:06:25.000Z
from django.views.generic import TemplateView from cruditor.mixins import CruditorMixin from cruditor.views import ( Cruditor403View, Cruditor404View, CruditorChangePasswordView, CruditorLogoutView) from .mixins import ExamplesMixin class HomeView(ExamplesMixin, CruditorMixin, TemplateView): title = 'Welcom...
21.62069
85
0.800638
54
627
9.277778
0.5
0.053892
0
0
0
0
0
0
0
0
0
0.022181
0.137161
627
28
86
22.392857
0.903882
0
0
0.25
0
0
0.027113
0
0
0
0
0
0
1
0
false
0.375
0.25
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
8e95e58b1d1caf4006bea6d49b1adb1c469cacb0
429
py
Python
juniper/get_interfaces_interpreter.py
kovarus/practical-network-programmability
0c395dda2642a01f783fc6bd33e5768a22638ec4
[ "Apache-2.0" ]
null
null
null
juniper/get_interfaces_interpreter.py
kovarus/practical-network-programmability
0c395dda2642a01f783fc6bd33e5768a22638ec4
[ "Apache-2.0" ]
null
null
null
juniper/get_interfaces_interpreter.py
kovarus/practical-network-programmability
0c395dda2642a01f783fc6bd33e5768a22638ec4
[ "Apache-2.0" ]
1
2019-06-06T20:57:59.000Z
2019-06-06T20:57:59.000Z
from pprint import pprint from jnpr.junos import Device from jnpr.junos.op.phyport import PhyPortTable import code with Device(host='34.208.13.114', user='pyez', password='Juniperpyez!', gather_facts=False) as dev: intf_status = PhyPortTable(dev) intf_status.get() code.interact(local=locals()) for int...
28.6
99
0.708625
61
429
4.885246
0.606557
0.100671
0.087248
0
0
0
0
0
0
0
0
0.028409
0.179487
429
14
100
30.642857
0.818182
0
0
0
0
0
0.067599
0
0
0
0
0
0
1
0
false
0.083333
0.333333
0
0.333333
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
8e9753c66d3335b0a9e029d854f5ebaf35776f64
771
py
Python
members/migrations/0037_auto_20190902_1517.py
PeoplesMomentum/mxv
3ad06cc8d3db43c63f24a80a5709aed3ade94789
[ "MIT" ]
6
2017-12-13T18:28:16.000Z
2019-12-13T06:06:34.000Z
members/migrations/0037_auto_20190902_1517.py
PeoplesMomentum/mxv
3ad06cc8d3db43c63f24a80a5709aed3ade94789
[ "MIT" ]
159
2017-11-05T16:48:20.000Z
2020-07-17T09:38:18.000Z
members/migrations/0037_auto_20190902_1517.py
PeoplesMomentum/mxv
3ad06cc8d3db43c63f24a80a5709aed3ade94789
[ "MIT" ]
2
2018-06-30T19:34:57.000Z
2018-10-17T11:09:41.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.22 on 2019-09-02 14:17 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('members', '0036_remove_urlparameter_pass_on_name'), ] operations = [ migra...
29.653846
165
0.651102
87
771
5.517241
0.747126
0.0375
0.0875
0
0
0
0
0
0
0
0
0.043029
0.246433
771
25
166
30.84
0.783133
0.089494
0
0.222222
1
0
0.273248
0.110157
0
0
0
0
0
1
0
false
0.055556
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
8eb63cc3cd2b3a51743fdf747cf26ae3f5b1a7d8
2,471
py
Python
bomberman/model/events.py
raphaelreme/bomberman
a6c03e31378dc31d0e5b207dbf2c1c14cf582f1d
[ "MIT" ]
null
null
null
bomberman/model/events.py
raphaelreme/bomberman
a6c03e31378dc31d0e5b207dbf2c1c14cf582f1d
[ "MIT" ]
null
null
null
bomberman/model/events.py
raphaelreme/bomberman
a6c03e31378dc31d0e5b207dbf2c1c14cf582f1d
[ "MIT" ]
null
null
null
"""All the events used by the model based on the observer/observable event.""" from __future__ import annotations from . import entity from ..designpattern.event import Event class MazeStartEvent(Event): """At each new maze""" class MazeEndEvent(Event): """When a maze is released""" class GameEndEvent(E...
20.089431
78
0.69486
303
2,471
5.561056
0.366337
0.04273
0.037982
0.035608
0.156677
0.131751
0.110386
0.045104
0
0
0
0.001013
0.201133
2,471
122
79
20.254098
0.852584
0.373533
0
0.190476
0
0
0.026549
0
0
0
0
0
0
1
0.071429
false
0.095238
0.071429
0
0.738095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
8ed91a38f51489c74f98eee755df7985c29386e7
9,813
py
Python
Classes and Inheritance.py
PiusLucky/python-classes
ecaf9bc7ca4d17641204fcb92a69953cb7ea8445
[ "MIT" ]
1
2020-07-20T11:14:21.000Z
2020-07-20T11:14:21.000Z
Classes and Inheritance.py
PiusLucky/python-classes
ecaf9bc7ca4d17641204fcb92a69953cb7ea8445
[ "MIT" ]
null
null
null
Classes and Inheritance.py
PiusLucky/python-classes
ecaf9bc7ca4d17641204fcb92a69953cb7ea8445
[ "MIT" ]
null
null
null
# Example of a simple class class Car: tire_numbers = 4 sterling_color = "Black" speed = "100–120 km/h" # simple class with one method class Car: tire_numbers = 4 sterling_color = "Black" speed = "100–120 km/h" def check_speed(self): return self.speed # simple class with two metho...
31.964169
425
0.708958
1,383
9,813
4.608821
0.138106
0.02165
0.022592
0.011296
0.601977
0.53326
0.504707
0.46219
0.46219
0.46219
0
0.018559
0.198308
9,813
307
426
31.964169
0.790644
0.460104
0
0.469697
0
0
0.061967
0
0
0
0
0
0
1
0.234848
false
0
0
0.098485
0.560606
0.136364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8eee10affdc15b31bbc6df0db39028783bf7930d
329
py
Python
test/mock_tests/test_markets.py
xelonic-de/iex-data
567c1f13b9cd6cd4819a5544ac5264fac4dcc232
[ "Apache-2.0" ]
2
2020-11-03T06:21:36.000Z
2021-11-15T09:54:58.000Z
test/mock_tests/test_markets.py
aolsux/iex-data
567c1f13b9cd6cd4819a5544ac5264fac4dcc232
[ "Apache-2.0" ]
null
null
null
test/mock_tests/test_markets.py
aolsux/iex-data
567c1f13b9cd6cd4819a5544ac5264fac4dcc232
[ "Apache-2.0" ]
null
null
null
from unittest import TestCase from mock import patch, MagicMock import iexdata.endpoints.markets as markets class TestAll(TestCase): def test_markets(self): with patch('requests.get') as mock: mock.return_value = MagicMock() mock.return_value.status_code = 200 markets....
25.307692
47
0.683891
40
329
5.525
0.625
0.090498
0.135747
0
0
0
0
0
0
0
0
0.012
0.240122
329
12
48
27.416667
0.872
0
0
0
0
0
0.036474
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
8eee98c97a8bfc0e516bf47d88c84e795e37789c
329
py
Python
scorecardpy/describe.py
cuichaosiig/scorecard_improved
96c14bb3c9089be128c94c518d9a55dbd0dc538e
[ "MIT" ]
null
null
null
scorecardpy/describe.py
cuichaosiig/scorecard_improved
96c14bb3c9089be128c94c518d9a55dbd0dc538e
[ "MIT" ]
null
null
null
scorecardpy/describe.py
cuichaosiig/scorecard_improved
96c14bb3c9089be128c94c518d9a55dbd0dc538e
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np def unique_counts(df,cols): ''' # 显示各个列的唯一值个数: df: 需要进行处理的dataframe cols: 需要处理的列 return: 描述信息 ------------------------------- Author: 崔超 ''' uniqC = pd.DataFrame() uniqC = df.apply(lambda x: len(x.value_counts()) ,axis = 0) retur...
15.666667
63
0.537994
38
329
4.605263
0.710526
0
0
0
0
0
0
0
0
0
0
0.004167
0.270517
329
20
64
16.45
0.725
0.319149
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
8ef2284ea3e956f736b71ca329f3cf7d71b79248
376
py
Python
txrest/__init__.py
dr4ke616/txREST
171341f22f8a10a79f2726495a65ffa9fe7699db
[ "MIT" ]
null
null
null
txrest/__init__.py
dr4ke616/txREST
171341f22f8a10a79f2726495a65ffa9fe7699db
[ "MIT" ]
null
null
null
txrest/__init__.py
dr4ke616/txREST
171341f22f8a10a79f2726495a65ffa9fe7699db
[ "MIT" ]
null
null
null
# -*- test-case-name: <INSERT_TEST_MODULE> -*- # Copyright (c) 2014 Adam Drakeford <adam.drakeford@gmail.com> # See LICENSE for more details """ .. module:: controller :platform: Linux :synopsis: Just the __init__.py file .. moduleauthor:: Adam Drakeford <adam.drakeford@gmail.com> """ from txrest.managers.ro...
23.5
62
0.720745
46
376
5.76087
0.73913
0.196226
0.128302
0.196226
0.256604
0.256604
0
0
0
0
0
0.012422
0.143617
376
15
63
25.066667
0.810559
0.74734
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
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
1
0
0
0
0
2
d90150c7ffd4a79a4b117edb04b9bf2feb96fe74
1,020
py
Python
test/nose_test.py
fakeNetflix/uber-repo-doubles
15e68dcf98f709b19a581915fa6af5ef49ebdd8a
[ "MIT" ]
150
2015-01-06T11:40:39.000Z
2022-01-10T10:29:59.000Z
test/nose_test.py
fakeNetflix/uber-repo-doubles
15e68dcf98f709b19a581915fa6af5ef49ebdd8a
[ "MIT" ]
78
2015-01-13T21:04:13.000Z
2022-02-11T13:22:56.000Z
test/nose_test.py
fakeNetflix/uber-repo-doubles
15e68dcf98f709b19a581915fa6af5ef49ebdd8a
[ "MIT" ]
22
2015-03-11T18:33:33.000Z
2022-01-13T01:54:19.000Z
import unittest from nose.plugins import PluginTester from doubles.nose import NoseIntegration from doubles.instance_double import InstanceDouble from doubles.targets.expectation_target import expect def test_nose_plugin(): class TestNosePlugin(PluginTester, unittest.TestCase): activate = '--with-double...
29.142857
68
0.643137
100
1,020
6.49
0.46
0.050847
0.05547
0.05547
0
0
0
0
0
0
0
0.005391
0.272549
1,020
34
69
30
0.869272
0
0
0
0
0
0.104902
0
0
0
0
0
0.166667
1
0.208333
false
0.041667
0.208333
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
d901a7d584301ff50fc336ef1a36d28f177503e6
858
py
Python
ingest/datasets/cifar-10/DataReader.py
ivmfnal/striped
eef1a4d544fa1b97fde39d7ee5ef779071218891
[ "BSD-3-Clause" ]
1
2019-07-01T15:19:43.000Z
2019-07-01T15:19:43.000Z
ingest/datasets/cifar-10/DataReader.py
ivmfnal/striped
eef1a4d544fa1b97fde39d7ee5ef779071218891
[ "BSD-3-Clause" ]
null
null
null
ingest/datasets/cifar-10/DataReader.py
ivmfnal/striped
eef1a4d544fa1b97fde39d7ee5ef779071218891
[ "BSD-3-Clause" ]
1
2020-04-21T21:18:01.000Z
2020-04-21T21:18:01.000Z
import numpy as np from BaseDataReader import BaseDataReader from keras.datasets import cifar10 from keras.utils import to_categorical class DataReader(BaseDataReader): def __init__(self, file_path, schema): (x_train, y_train), _ = cifar10.load_data() self.x_train = np.asarray(x_train, dtype=np.float32)/256. s...
26
67
0.662005
120
858
4.541667
0.45
0.055046
0.055046
0
0
0
0
0
0
0
0
0.018265
0.234266
858
32
68
26.8125
0.811263
0
0
0.08
0
0
0.009324
0
0
0
0
0
0
0
null
null
0.08
0.16
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
d902e659203072b0b871388ac9b7242978526340
54
py
Python
teamleader/__init__.py
rubenvdb/python-teamleader
314de055cbffd35c139b4109fcad1fb3cf906b90
[ "MIT" ]
null
null
null
teamleader/__init__.py
rubenvdb/python-teamleader
314de055cbffd35c139b4109fcad1fb3cf906b90
[ "MIT" ]
1
2016-12-07T20:02:18.000Z
2016-12-07T20:02:18.000Z
teamleader/__init__.py
rubenvdb/python-teamleader
314de055cbffd35c139b4109fcad1fb3cf906b90
[ "MIT" ]
4
2016-11-22T08:43:50.000Z
2020-01-08T15:25:59.000Z
__prog__ = 'python-teamleader' __version__ = u'1.2.1'
18
30
0.722222
8
54
3.875
0.875
0
0
0
0
0
0
0
0
0
0
0.0625
0.111111
54
2
31
27
0.583333
0
0
0
0
0
0.407407
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d910e1ff3a189de94f0cbb22e6875f05d1c46e3f
340
py
Python
web3/utils/functional.py
bellaj/web3py
882335941a0781a3a3a14b7616f727005e88d88d
[ "MIT" ]
null
null
null
web3/utils/functional.py
bellaj/web3py
882335941a0781a3a3a14b7616f727005e88d88d
[ "MIT" ]
null
null
null
web3/utils/functional.py
bellaj/web3py
882335941a0781a3a3a14b7616f727005e88d88d
[ "MIT" ]
null
null
null
import functools from eth_utils import ( compose, ) def apply_formatters_to_return(*formatters): formatter = compose(*formatters) def outer(fn): @functools.wraps(fn) def inner(*args, **kwargs): value = fn(*args, **kwargs) return formatter(value) return inn...
18.888889
44
0.614706
37
340
5.540541
0.513514
0.097561
0
0
0
0
0
0
0
0
0
0
0.285294
340
17
45
20
0.843621
0
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2