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
0c088d42dc13276d3cae52e2c22bc80a2059c898
662
py
Python
introduction_to_machine_learning_with_python/5.2/gridsearch.py
HuangStomach/machine-learning
47689469c431e2a833437b38832d3fdceda7b2b2
[ "MIT" ]
null
null
null
introduction_to_machine_learning_with_python/5.2/gridsearch.py
HuangStomach/machine-learning
47689469c431e2a833437b38832d3fdceda7b2b2
[ "MIT" ]
null
null
null
introduction_to_machine_learning_with_python/5.2/gridsearch.py
HuangStomach/machine-learning
47689469c431e2a833437b38832d3fdceda7b2b2
[ "MIT" ]
null
null
null
from sklearn.datasets import load_iris from sklearn.model_selection import GridSearchCV from sklearn.svm import SVC from sklearn.linear_model import LogisticRegression from sklearn.model_selection import ShuffleSplit from sklearn.model_selection import cross_val_score iris = load_iris() param_grid = [ { 'k...
26.48
53
0.648036
99
662
4.191919
0.373737
0.159036
0.115663
0.180723
0.366265
0.098795
0.077108
0.077108
0.077108
0.077108
0
0.091429
0.206949
662
24
54
27.583333
0.699048
0
0
0
0
0
0.042296
0
0
0
0
0
0
1
0
false
0
0.26087
0
0.26087
0.043478
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0c0e1656d5c9a13416498c115e6a251acac75de3
77,408
py
Python
lib/client/gnt_cluster.py
yiannist/pkg-ganeti
26704f530a70d585fa576971cbe2612b1ebb0d76
[ "BSD-2-Clause" ]
null
null
null
lib/client/gnt_cluster.py
yiannist/pkg-ganeti
26704f530a70d585fa576971cbe2612b1ebb0d76
[ "BSD-2-Clause" ]
null
null
null
lib/client/gnt_cluster.py
yiannist/pkg-ganeti
26704f530a70d585fa576971cbe2612b1ebb0d76
[ "BSD-2-Clause" ]
null
null
null
# # # Copyright (C) 2006, 2007, 2010, 2011, 2012, 2013, 2014 Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # 1. Redistributions of source code must retain the above copyright no...
33.136986
80
0.682281
9,864
77,408
5.187348
0.121553
0.013211
0.007915
0.006234
0.346291
0.27955
0.225825
0.195591
0.171298
0.154843
0
0.003971
0.225713
77,408
2,335
81
33.151178
0.84974
0.055111
0
0.27044
0
0
0.158059
0.006745
0
0
0
0
0.000699
0
null
null
0
0.015374
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0c11f9a818f9ffe6fa6852e444aa8ffdda3597df
11,310
py
Python
ulutil/seqtools.py
churchlab/ulutil
7f9a427274acd99ae4d2dfe35123feb7c2dc9625
[ "Apache-2.0" ]
1
2021-10-04T13:50:01.000Z
2021-10-04T13:50:01.000Z
ulutil/seqtools.py
churchlab/ulutil
7f9a427274acd99ae4d2dfe35123feb7c2dc9625
[ "Apache-2.0" ]
null
null
null
ulutil/seqtools.py
churchlab/ulutil
7f9a427274acd99ae4d2dfe35123feb7c2dc9625
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 Uri Laserson # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
32.687861
231
0.660035
1,416
11,310
5.148305
0.245057
0.010562
0.006584
0.013169
0.185734
0.143621
0.114952
0.114952
0.10096
0.083402
0
0.01469
0.205482
11,310
345
232
32.782609
0.796572
0.110964
0
0.122727
0
0
0.066267
0
0
0
0
0
0.004545
0
null
null
0.004545
0.068182
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0c18ce65d16a4c0ba5f23e83b425945373ec4e0e
12,567
py
Python
test/qe/rate-limiting/test_rate_limiting.py
sharwell/repose
5d169ccad00ec4518d01379990d4e44e4e55e90e
[ "Apache-2.0" ]
null
null
null
test/qe/rate-limiting/test_rate_limiting.py
sharwell/repose
5d169ccad00ec4518d01379990d4e44e4e55e90e
[ "Apache-2.0" ]
null
null
null
test/qe/rate-limiting/test_rate_limiting.py
sharwell/repose
5d169ccad00ec4518d01379990d4e44e4e55e90e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from narwhal import repose import unittest from narwhal import conf from narwhal import pathutil import xmlrunner as _xmlrunner import logging import time import argparse import os import deproxy logger = logging.getLogger(__name__) config_dir = pathutil.join(os.getcwd(), 'etc/repose') deploym...
35.005571
79
0.614944
1,509
12,567
4.941683
0.171637
0.044254
0.024407
0.031916
0.664745
0.633231
0.62961
0.625453
0.625453
0.625453
0
0.012233
0.27795
12,567
358
80
35.103352
0.809566
0.083552
0
0.55814
0
0
0.106435
0.023138
0
0
0
0
0.108527
1
0.05814
false
0.003876
0.03876
0
0.127907
0.007752
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0c22499bcda59b9da4ccc0b8de901e2b039b5bc4
1,538
py
Python
api/krenak_api/apps/accounts/tests/test_api/test_user_profile_api.py
bacuarabrasil/krenak
ad6a3af5ff162783ec9bd40d07a82f09bf35071b
[ "MIT" ]
null
null
null
api/krenak_api/apps/accounts/tests/test_api/test_user_profile_api.py
bacuarabrasil/krenak
ad6a3af5ff162783ec9bd40d07a82f09bf35071b
[ "MIT" ]
26
2021-03-10T22:07:57.000Z
2021-03-11T12:13:35.000Z
api/krenak_api/apps/accounts/tests/test_api/test_user_profile_api.py
bacuarabrasil/krenak
ad6a3af5ff162783ec9bd40d07a82f09bf35071b
[ "MIT" ]
null
null
null
from django.urls import reverse from rest_framework import status import pytest @pytest.mark.django_db def test_user_profile_api_get_success(user_account, api_client): email = "john@example.com" first_name = "John" last_name = "Doe" birthdate = "2021-04-01" user = user_account(email=email, firs...
32.041667
120
0.709363
213
1,538
4.802817
0.225352
0.131965
0.070381
0.074291
0.797654
0.776149
0.668622
0.668622
0.668622
0.437928
0
0.018883
0.173602
1,538
47
121
32.723404
0.785995
0.250975
0
0.416667
0
0
0.119298
0.049123
0
0
0
0
0.083333
1
0.083333
false
0
0.125
0
0.208333
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0c24cf78dc9bbe65c4768acf4e0a838a66a9db01
278
py
Python
setup.py
allan-simon/http-zendesk-mock
704b3ce1e3bac0c21c46b9a850abefd1acf33da2
[ "MIT" ]
4
2020-02-17T08:48:41.000Z
2021-05-04T01:32:49.000Z
setup.py
allan-simon/http-zendesk-mock
704b3ce1e3bac0c21c46b9a850abefd1acf33da2
[ "MIT" ]
1
2020-09-10T13:04:45.000Z
2020-09-10T13:04:45.000Z
setup.py
allan-simon/http-zendesk-mock
704b3ce1e3bac0c21c46b9a850abefd1acf33da2
[ "MIT" ]
1
2020-09-10T10:33:56.000Z
2020-09-10T10:33:56.000Z
#!/usr/bin/env python from distutils.core import setup from setuptools import find_packages setup( name="mock_zendesk", version="0.1", description="Mock zendesk.com service and related utilities", install_requires=["requests"], packages=find_packages(), )
21.384615
65
0.726619
35
278
5.657143
0.771429
0.121212
0
0
0
0
0
0
0
0
0
0.008547
0.158273
278
12
66
23.166667
0.837607
0.071942
0
0
0
0
0.268482
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0c359bd615dfad5ee5c996716aa7376a5d2ca591
345
py
Python
common_resources/__main__.py
MD-Studio/common_resources
54081e69669c133e5ce67dc411adca6a106058e1
[ "Apache-2.0" ]
null
null
null
common_resources/__main__.py
MD-Studio/common_resources
54081e69669c133e5ce67dc411adca6a106058e1
[ "Apache-2.0" ]
null
null
null
common_resources/__main__.py
MD-Studio/common_resources
54081e69669c133e5ce67dc411adca6a106058e1
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import sys import os modulepath = os.path.abspath(os.path.join(os.path.dirname(__file__), '../')) if modulepath not in sys.path: sys.path.insert(0, modulepath) from mdstudio.runner import main from common_resources.resources_endpoints import Common_resources if __name__ == '__main__': ...
23
76
0.742029
48
345
5
0.520833
0.075
0
0
0
0
0
0
0
0
0
0.006667
0.130435
345
14
77
24.642857
0.793333
0.06087
0
0
0
0
0.034161
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0c369db82e4ebbef55acfbe207e35bbb16833b73
473
py
Python
bbpyp/lexicomb/parser/arithmetic_unary_operator.py
BloggerBust/tag_script
985a4b6b8c026431842d608ba8feafe8751dd425
[ "Apache-2.0" ]
null
null
null
bbpyp/lexicomb/parser/arithmetic_unary_operator.py
BloggerBust/tag_script
985a4b6b8c026431842d608ba8feafe8751dd425
[ "Apache-2.0" ]
null
null
null
bbpyp/lexicomb/parser/arithmetic_unary_operator.py
BloggerBust/tag_script
985a4b6b8c026431842d608ba8feafe8751dd425
[ "Apache-2.0" ]
null
null
null
from bbpyp.lexicomb.parser.unary_operator import UnaryOperator from bbpyp.lexicomb.parser.model.operator_enum import OperatorEnum class ArithmeticUnaryOperator(UnaryOperator): def __repr__(self): return f"({self.operator} {self.operand})" def _eval(self, frame): operand_value = self.operand....
26.277778
66
0.710359
53
473
6.150943
0.509434
0.055215
0.104294
0.141104
0
0
0
0
0
0
0
0
0.209302
473
17
67
27.823529
0.871658
0
0
0
0
0
0.067653
0
0
0
0
0
0
1
0.181818
false
0
0.181818
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
0
0
0
0
0
1
0
0
1
0c38728f78b5006ffcc1c10b1ec88c35730cde28
781
py
Python
nexus_constructor/json/helpers.py
trnielsen/nexus-constructor
65efb6eedca30250b75f142dd29a46bc909958df
[ "BSD-2-Clause" ]
null
null
null
nexus_constructor/json/helpers.py
trnielsen/nexus-constructor
65efb6eedca30250b75f142dd29a46bc909958df
[ "BSD-2-Clause" ]
null
null
null
nexus_constructor/json/helpers.py
trnielsen/nexus-constructor
65efb6eedca30250b75f142dd29a46bc909958df
[ "BSD-2-Clause" ]
null
null
null
import json import numpy as np def handle_non_std_types(value): if type(value) is np.bool_: return bool(value) elif type(value) is np.ndarray: return list(value) elif type(value) is np.int8 or type(value) is np.int64: return int(value) try: return int(value) except...
26.033333
87
0.672215
121
781
4.223141
0.528926
0.088063
0.086106
0.101761
0.086106
0.086106
0
0
0
0
0
0.010101
0.239437
781
29
88
26.931034
0.850168
0.265045
0
0.125
0
0
0.029304
0
0
0
0
0
0
1
0.125
false
0.0625
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0c3b97c07454d6ef6e55fc005cda5451e5a94bbc
756
py
Python
题源分类/LeetCode/LeetCode日刷/python/347.前-k-个高频元素.py
ZhengyangXu/Algorithm-Daily-Practice
3017a3d476fc9a857026190ea4fae2911058df59
[ "MIT" ]
null
null
null
题源分类/LeetCode/LeetCode日刷/python/347.前-k-个高频元素.py
ZhengyangXu/Algorithm-Daily-Practice
3017a3d476fc9a857026190ea4fae2911058df59
[ "MIT" ]
null
null
null
题源分类/LeetCode/LeetCode日刷/python/347.前-k-个高频元素.py
ZhengyangXu/Algorithm-Daily-Practice
3017a3d476fc9a857026190ea4fae2911058df59
[ "MIT" ]
null
null
null
# # @lc app=leetcode.cn id=347 lang=python3 # # [347] 前 K 个高频元素 # # https://leetcode-cn.com/problems/top-k-frequent-elements/description/ # # algorithms # Medium (62.11%) # Likes: 764 # Dislikes: 0 # Total Accepted: 165.7K # Total Submissions: 266.8K # Testcase Example: '[1,1,1,2,2,3]\n2' # # 给你一个整数数组 nums 和一个整数...
14
71
0.580688
121
756
3.628099
0.628099
0.018223
0.013667
0.018223
0.027335
0.027335
0
0
0
0
0
0.078498
0.224868
756
53
72
14.264151
0.670648
0.757937
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0c3d8ca6c73640d4539cfaec2bfc7747f81c631b
8,328
py
Python
app/mlp/test_mlp_evaluate-race.py
jingjieli95/UnarySim
775b38fa2d6b05a69fd73acb4766e50200a5cc37
[ "MIT" ]
17
2020-04-26T19:38:03.000Z
2022-02-23T02:05:08.000Z
app/mlp/test_mlp_evaluate-race.py
pan185/UnarySim
c03386efdbb8151f3c33f34b44d1d6a6fc960434
[ "MIT" ]
3
2021-11-03T18:20:29.000Z
2022-02-11T16:30:16.000Z
app/mlp/test_mlp_evaluate-race.py
pan185/UnarySim
c03386efdbb8151f3c33f34b44d1d6a6fc960434
[ "MIT" ]
9
2019-12-03T05:08:55.000Z
2022-01-04T20:24:55.000Z
# %% %load_ext autoreload %autoreload 2 # %% import torch import torch.nn as nn import torch.nn.functional as F import torchvision import torchvision.transforms as transforms from torchsummaryX import summary import matplotlib.pyplot as plt import time import os from UnarySim.kernel.utils import * from UnarySim.kerne...
36.687225
109
0.614553
1,091
8,328
4.47846
0.179652
0.051167
0.04912
0.022923
0.37106
0.267704
0.228203
0.222677
0.164961
0.143676
0
0.028151
0.240754
8,328
226
110
36.849558
0.744583
0.307517
0
0.177966
0
0
0.05831
0.010877
0
0
0
0
0
0
null
null
0
0.118644
null
null
0.059322
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0c45c82708bb0cda4c74df9838a341ce07c2d2fc
1,103
py
Python
projects/migrations/0004_auto_20200607_1346.py
kangangi/ProjectsIP
85529a4f12046d296c1776388cffa91b59ae7cd6
[ "MIT" ]
null
null
null
projects/migrations/0004_auto_20200607_1346.py
kangangi/ProjectsIP
85529a4f12046d296c1776388cffa91b59ae7cd6
[ "MIT" ]
7
2021-03-30T13:41:41.000Z
2022-01-13T02:50:12.000Z
projects/migrations/0004_auto_20200607_1346.py
kangangi/ProjectsIP
85529a4f12046d296c1776388cffa91b59ae7cd6
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-06-07 10:46 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('projects', '0003_project_scores'), ] operations ...
27.575
92
0.582049
104
1,103
6.019231
0.451923
0.071885
0.127796
0.159744
0.415335
0.415335
0.354633
0.354633
0.354633
0.354633
0
0.028834
0.30825
1,103
39
93
28.282051
0.791612
0.040798
0
0.515152
1
0
0.112689
0
0
0
0
0
0
1
0
false
0
0.060606
0
0.151515
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0c46b4debe58ef90f2f05d78494073151d98748f
3,100
py
Python
lm_eval/models/gpt2.py
nicholaskross/lm-evaluation-harness
ba9c13b2a9a1a2328a16740e4120f6809c5d8489
[ "MIT" ]
1
2021-01-05T22:41:36.000Z
2021-01-05T22:41:36.000Z
lm_eval/models/gpt2.py
nicholaskross/lm-evaluation-harness
ba9c13b2a9a1a2328a16740e4120f6809c5d8489
[ "MIT" ]
null
null
null
lm_eval/models/gpt2.py
nicholaskross/lm-evaluation-harness
ba9c13b2a9a1a2328a16740e4120f6809c5d8489
[ "MIT" ]
null
null
null
import transformers import torch import torch.nn.functional as F from lm_eval.base import LM from lm_eval import utils from tqdm import tqdm class GPT2LM(LM): MAX_GEN_TOKS = 256 def __init__(self, device="cpu", pretrained='gpt2'): self.device = torch.device(device) self.gpt2 = transformers.GP...
36.904762
115
0.587097
361
3,100
4.900277
0.382271
0.050876
0.053703
0.024873
0
0
0
0
0
0
0
0.02729
0.302581
3,100
83
116
37.349398
0.790934
0.105484
0
0.074074
0
0
0.02063
0
0
0
0
0.012048
0.018519
1
0.074074
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0c53869b28a4b87a5c347236b22ef00687f078ac
470
py
Python
Curso_de_Python_ Curso_em_Video/PythonTeste/funçãoParte(1).py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
null
null
null
Curso_de_Python_ Curso_em_Video/PythonTeste/funçãoParte(1).py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
null
null
null
Curso_de_Python_ Curso_em_Video/PythonTeste/funçãoParte(1).py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
null
null
null
# def soma (a, b): # print(f'A = {a} e B = {b}') # s = a + b # print(f'A soma de A + B = {s}') # # # soma(4, 5) # def contador(* num): # tam = len(num) # print(f'Recebi os valores {num} e são ao todo {tam} números') # # # contador(1, 2, 3) # contador(4, 5, 1, 4, 5) # contador(9, 1, 8, 8, 7, 5, 6) de...
19.583333
67
0.485106
86
470
2.651163
0.395349
0.026316
0.061404
0.070175
0.078947
0
0
0
0
0
0
0.079027
0.3
470
24
68
19.583333
0.613982
0.610638
0
0
0
0
0
0
0
0
0
0.041667
0
1
0.125
false
0
0
0
0.125
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0c56e572dbe6b04dc2051589d614c06160a2f254
569
py
Python
ecsite/urls.py
ao1neko/django-ecsite
e1b925d0c6a475dfd0d83c1ca65a1d881db6cc64
[ "Apache-2.0" ]
null
null
null
ecsite/urls.py
ao1neko/django-ecsite
e1b925d0c6a475dfd0d83c1ca65a1d881db6cc64
[ "Apache-2.0" ]
null
null
null
ecsite/urls.py
ao1neko/django-ecsite
e1b925d0c6a475dfd0d83c1ca65a1d881db6cc64
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from django.contrib.staticfiles.urls import static from django.urls import path, include from . import settings #プロジェクトURL urlpatterns = [ path('admin/', admin.site.urls), path('', include('ecsitecore.urls')), path('accounts/', include('accounts.urls')), ] # 開発サーバーでメディアを配信...
25.863636
76
0.732865
64
569
6.375
0.390625
0.073529
0.083333
0
0
0
0
0
0
0
0
0
0.14587
569
21
77
27.095238
0.839506
0.089631
0
0.133333
0
0
0.103113
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0c56f49cf0f0ea63d00aa97ba17d2f514b4acdfb
737
py
Python
examples/dict/simple/ex_gaussian_1.py
carnot-shailesh/cr-sparse
989ebead8a8ac37ade643093e1caa31ae2a3eda1
[ "Apache-2.0" ]
42
2021-06-11T17:11:29.000Z
2022-03-29T11:51:44.000Z
examples/dict/simple/ex_gaussian_1.py
carnot-shailesh/cr-sparse
989ebead8a8ac37ade643093e1caa31ae2a3eda1
[ "Apache-2.0" ]
19
2021-06-04T11:36:11.000Z
2022-01-22T20:13:39.000Z
examples/dict/simple/ex_gaussian_1.py
carnot-shailesh/cr-sparse
989ebead8a8ac37ade643093e1caa31ae2a3eda1
[ "Apache-2.0" ]
5
2021-11-21T21:01:11.000Z
2022-02-28T07:20:03.000Z
from jax import random import cr.sparse.dict as crdict from cr.nimble import norms_l2_rw from cr.sparse.data import sparse_normal_representations D = 10 N = 6 K = 3 S = 6 key = random.PRNGKey(0) dictionary = crdict.gaussian_mtx(key, N, D) print("Sample Dictionary:") print(dictionary) print (f"Dictionary shape: {dict...
21.676471
68
0.761194
105
737
5.257143
0.390476
0.043478
0.032609
0
0
0
0
0
0
0
0
0.012327
0.119403
737
33
69
22.333333
0.838213
0
0
0
0
0
0.282225
0.031208
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
0
0
0
0
0
0
0
1
0
1
0c5f13add607018fef05b47437bedb35dc047e46
776
py
Python
tmp/db_init_info.py
JiangWenPL/Stock-Admin
16a84649705a12d57a4dd16f1a611cd0451b19d2
[ "MIT" ]
1
2018-10-20T03:57:47.000Z
2018-10-20T03:57:47.000Z
tmp/db_init_info.py
JiangWenPL/Stock-Admin
16a84649705a12d57a4dd16f1a611cd0451b19d2
[ "MIT" ]
null
null
null
tmp/db_init_info.py
JiangWenPL/Stock-Admin
16a84649705a12d57a4dd16f1a611cd0451b19d2
[ "MIT" ]
null
null
null
f = open ( 'tmp/db_init.json', 'w' ) import json init_dict = {} init_dict['admin'] = [('Alice', 'a'), ('Bob', 'b'), ('Curry', 'c'), ('王二狗', 'w'), ('李三蛋', 'l'), ('陈鸿宇', 'c')] init_dict['buy'] = [("HK_TENCENT", 10.2, 100), ("APPLE", 1.2, 24), ("APPLE", 1.2, 24), ("BMW", 1.2, 24), ("爱康科技", 2.3, 30000)...
51.733333
120
0.463918
125
776
2.816
0.424
0.045455
0.090909
0.127841
0.505682
0.505682
0.505682
0.505682
0.505682
0.505682
0
0.171474
0.195876
776
14
121
55.428571
0.392628
0.005155
0
0
0
0
0.194805
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
1
0c6190a3fe9633befe1a3b35339b0189bf2e8152
2,402
py
Python
python_packages/mutperiod/mutperiodpy/input_parsing/IdentifyMutSigs.py
bmorledge-hampton19/mutperiod
5eeee9a9c258b8cf9159c4ded343ffb262814dbc
[ "MIT" ]
null
null
null
python_packages/mutperiod/mutperiodpy/input_parsing/IdentifyMutSigs.py
bmorledge-hampton19/mutperiod
5eeee9a9c258b8cf9159c4ded343ffb262814dbc
[ "MIT" ]
null
null
null
python_packages/mutperiod/mutperiodpy/input_parsing/IdentifyMutSigs.py
bmorledge-hampton19/mutperiod
5eeee9a9c258b8cf9159c4ded343ffb262814dbc
[ "MIT" ]
null
null
null
# This script takes stratified mutation data and uses it to generate an input file for the deconstructSigs R package which # then assigns the most prominent mutation signature(s) for each cohort. import subprocess, os from mutperiodpy.helper_scripts.UsefulFileSystemFunctions import rScriptsDirectory class MutSigIden...
40.711864
130
0.694421
235
2,402
7.042553
0.476596
0.063444
0.01571
0.04713
0.140181
0.080967
0
0
0
0
0
0.001074
0.224396
2,402
59
131
40.711864
0.887279
0.165279
0
0.193548
1
0
0.13964
0
0
0
0
0
0
1
0.193548
false
0
0.064516
0.032258
0.290323
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a73dd60b5a84d5fbf762242ac6870c1f0f732798
2,119
py
Python
permabots/models/messenger_api.py
jlmadurga/permabots
f1bfb3081ed0da2a4cb4b0537e625ccfbab58ee1
[ "BSD-3-Clause" ]
81
2016-05-18T02:34:10.000Z
2021-08-28T17:25:13.000Z
permabots/models/messenger_api.py
jlmadurga/permabots
f1bfb3081ed0da2a4cb4b0537e625ccfbab58ee1
[ "BSD-3-Clause" ]
15
2016-05-27T08:51:46.000Z
2021-03-19T21:42:21.000Z
permabots/models/messenger_api.py
jlmadurga/permabots
f1bfb3081ed0da2a4cb4b0537e625ccfbab58ee1
[ "BSD-3-Clause" ]
34
2016-05-29T14:37:01.000Z
2022-03-24T17:16:53.000Z
# -*- coding: utf-8 -*- from django.db import models from django.utils.encoding import python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ from permabots.models.base import PermabotsModel @python_2_unicode_compatible class MessengerMessage(PermabotsModel): bot = models.ForeignKey('...
33.109375
101
0.621992
228
2,119
5.583333
0.298246
0.039277
0.037706
0.042419
0.092694
0.040848
0
0
0
0
0
0.009579
0.260972
2,119
64
102
33.109375
0.803321
0.00991
0
0.153846
0
0
0.101097
0
0
0
0
0
0
1
0.115385
false
0
0.076923
0.076923
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a7401ad732837867f435a77f6595166811097f5b
804
py
Python
tests/browser/elements/lis_tests.py
harsh183/nerodia
69c5e4408432e85b5af0b2da03015f729809dac4
[ "MIT" ]
83
2017-11-20T08:41:09.000Z
2022-02-09T21:01:47.000Z
tests/browser/elements/lis_tests.py
harsh183/nerodia
69c5e4408432e85b5af0b2da03015f729809dac4
[ "MIT" ]
28
2017-11-21T02:25:03.000Z
2021-04-15T15:26:30.000Z
tests/browser/elements/lis_tests.py
harsh183/nerodia
69c5e4408432e85b5af0b2da03015f729809dac4
[ "MIT" ]
14
2017-11-29T06:44:12.000Z
2021-09-06T04:53:44.000Z
import pytest pytestmark = pytest.mark.page('non_control_elements.html') class TestLis(object): def test_with_selectors_returns_the_matching_elements(self, browser): assert list(browser.lis(class_name='nonlink')) == \ [browser.li(class_name='nonlink')] def test_returns_the_correct_number...
30.923077
73
0.670398
109
804
4.66055
0.458716
0.055118
0.100394
0.074803
0
0
0
0
0
0
0
0.011129
0.217662
804
25
74
32.16
0.796502
0
0
0
0
0
0.060945
0.031095
0
0
0
0
0.352941
1
0.235294
false
0
0.058824
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a7413f9962131ba51ef677ccb367a409b5e9ff7b
1,600
py
Python
rulewerk-synthesis/src/main/data/input/deleter.py
RidhwanD/rulewerk
bce844e89febaf559c96b3f1b529548426bcb7c6
[ "Apache-2.0" ]
null
null
null
rulewerk-synthesis/src/main/data/input/deleter.py
RidhwanD/rulewerk
bce844e89febaf559c96b3f1b529548426bcb7c6
[ "Apache-2.0" ]
null
null
null
rulewerk-synthesis/src/main/data/input/deleter.py
RidhwanD/rulewerk
bce844e89febaf559c96b3f1b529548426bcb7c6
[ "Apache-2.0" ]
null
null
null
import os cases = ["sql-01","sql-02","sql-03","sql-04","sql-05","sql-06","sql-07","sql-08","sql-09", "sql-10","sql-11","sql-12","sql-13","sql-14","sql-15","traffic","small","abduce","ship", "inflamation","animals","rvcheck","path","union-find","cliquer","rsg","1-object-1-type", "1-type","1-object","escape","modref","a...
48.484848
90
0.629375
293
1,600
3.43686
0.228669
0.099305
0.258193
0.139027
0.689176
0.686197
0.686197
0.629593
0.562066
0.268123
0
0.039392
0.095625
1,600
33
91
48.484848
0.656531
0
0
0
0
0
0.491568
0.274828
0
0
0
0
0
1
0
false
0
0.033333
0
0.033333
0.033333
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a7486e589a564929b83ea3dd8ac979a1c4be3c1a
2,645
py
Python
lib/taniumpy/object_types/package_spec.py
c1rdan/pytan
5e537a6dcf4136e3b9c3905a39f073396e7f044f
[ "MIT" ]
1
2019-01-29T21:22:06.000Z
2019-01-29T21:22:06.000Z
lib/taniumpy/object_types/package_spec.py
c1rdan/pytan
5e537a6dcf4136e3b9c3905a39f073396e7f044f
[ "MIT" ]
null
null
null
lib/taniumpy/object_types/package_spec.py
c1rdan/pytan
5e537a6dcf4136e3b9c3905a39f073396e7f044f
[ "MIT" ]
null
null
null
# Copyright (c) 2015 Tanium Inc # # Generated from console.wsdl version 0.0.1 # # from .base import BaseType class PackageSpec(BaseType): _soap_tag = 'package_spec' def __init__(self): BaseType.__init__( self, simple_properties={'id': int, 'name...
32.654321
66
0.524386
244
2,645
5.405738
0.295082
0.15163
0.030326
0.031842
0
0
0
0
0
0
0
0.004422
0.401512
2,645
80
67
33.0625
0.828806
0.026843
0
0
1
0
0.123389
0.0082
0
0
0
0
0
1
0.015152
false
0
0.106061
0
0.151515
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a74a22027fe70a6eab9fbe62d9f714859f126d6e
786
py
Python
backend/counter_app/main.py
lironhl/count-app
f6ace380394d585c27666587cb65b191e5e1bac7
[ "MIT" ]
null
null
null
backend/counter_app/main.py
lironhl/count-app
f6ace380394d585c27666587cb65b191e5e1bac7
[ "MIT" ]
null
null
null
backend/counter_app/main.py
lironhl/count-app
f6ace380394d585c27666587cb65b191e5e1bac7
[ "MIT" ]
null
null
null
from typing import Optional, Tuple import uvicorn from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware from counter_app.database import Base, engine from counter_app.routers import count from counter_app.utils.constants import COMMIT_SHA, ENV, ApiTags Base.metadata.create_all(bind=engine) ...
23.117647
64
0.739186
108
786
5.166667
0.518519
0.05914
0.075269
0
0
0
0
0
0
0
0
0.011765
0.13486
786
33
65
23.818182
0.808824
0
0
0
0
0
0.029262
0
0
0
0
0
0
1
0
false
0
0.304348
0
0.347826
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a74d138ee8a1a598bfe16d43551b946d94badee5
176
py
Python
Training/MOOC Tensorflow 2.0/BeiDa/class2/p4_where.py
church06/Pythons
87271619abb2dd6398fbe08d746d4b03c54bcd4d
[ "MIT" ]
177
2020-05-16T00:22:37.000Z
2022-03-13T15:44:27.000Z
Training/MOOC Tensorflow 2.0/BeiDa/class2/p4_where.py
church06/Pythons
87271619abb2dd6398fbe08d746d4b03c54bcd4d
[ "MIT" ]
1
2020-07-09T12:42:53.000Z
2020-07-09T12:42:53.000Z
Training/MOOC Tensorflow 2.0/BeiDa/class2/p4_where.py
church06/Pythons
87271619abb2dd6398fbe08d746d4b03c54bcd4d
[ "MIT" ]
123
2020-05-15T18:31:49.000Z
2022-02-10T09:20:06.000Z
import tensorflow as tf a = tf.constant([1, 2, 3, 1, 1]) b = tf.constant([0, 1, 3, 4, 5]) c = tf.where(tf.greater(a, b), a, b) # 若a>b,返回a对应位置的元素,否则返回b对应位置的元素 print("c:", c)
22
68
0.596591
36
176
2.916667
0.555556
0.190476
0
0
0
0
0
0
0
0
0
0.068966
0.176136
176
7
69
25.142857
0.655172
0.159091
0
0
0
0
0.013793
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a74d728bffa1426d1cc3199fac59bc1666017066
906
py
Python
blockapi/api/btc.py
jendis/blockapi
c886cef954a504fc926c132b30acddc71abe5f12
[ "MIT" ]
null
null
null
blockapi/api/btc.py
jendis/blockapi
c886cef954a504fc926c132b30acddc71abe5f12
[ "MIT" ]
null
null
null
blockapi/api/btc.py
jendis/blockapi
c886cef954a504fc926c132b30acddc71abe5f12
[ "MIT" ]
null
null
null
from blockapi.services import BlockchainAPI class BtcAPI(BlockchainAPI): """ coins: bitcoin-cash API docs: https://bch.btc.com/api-doc#API Explorer: https://btc.com """ active = True symbol = 'BCH' base_url = 'https://bch-chain.api.btc.com/v3' rate_limit = 0 coef = 1e-8 m...
22.65
61
0.569536
103
906
4.893204
0.572816
0.035714
0.06746
0.063492
0
0
0
0
0
0
0
0.006462
0.316777
906
39
62
23.230769
0.807754
0.096026
0
0.12
0
0
0.12956
0
0
0
0
0
0
1
0.04
false
0
0.04
0
0.64
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a75abe9ec7e04a3390c903a13f251914e80d2a9b
12,427
py
Python
demo/src/main/jython/jtkdemo/dsp/LocalSmoothingFilterDemo.py
wmheigl/jtk
ca8291d93d26c48390ecbadddb5025dfde9d5cde
[ "Apache-2.0" ]
54
2015-01-11T19:18:08.000Z
2022-01-24T21:04:54.000Z
demo/src/main/jython/jtkdemo/dsp/LocalSmoothingFilterDemo.py
xinwucwp/jtk-1
03bbcaf962885882a267411a937d92fce9cf4851
[ "Apache-2.0" ]
20
2015-06-10T18:28:48.000Z
2018-03-15T22:27:57.000Z
demo/src/main/jython/jtkdemo/dsp/LocalSmoothingFilterDemo.py
xinwucwp/jtk-1
03bbcaf962885882a267411a937d92fce9cf4851
[ "Apache-2.0" ]
44
2015-01-20T13:38:42.000Z
2021-08-18T08:42:32.000Z
#/**************************************************************************** # Copyright 2010, Colorado School of Mines and others. # 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 # # htt...
28.699769
78
0.617044
1,908
12,427
4.01782
0.213836
0.021393
0.014871
0.004566
0.392512
0.322202
0.268458
0.232585
0.193843
0.17245
0
0.071606
0.190875
12,427
432
79
28.766204
0.690801
0.075964
0
0.275229
0
0
0.019539
0
0
0
0
0
0
0
null
null
0.024465
0.036697
null
null
0.003058
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a761087eb48a86cb47efc0b8bd78c1a629aef2ba
1,373
py
Python
models/shorturl.py
RaenonX/Jelly-Bot-API
c7da1e91783dce3a2b71b955b3a22b68db9056cf
[ "MIT" ]
5
2020-08-26T20:12:00.000Z
2020-12-11T16:39:22.000Z
models/shorturl.py
RaenonX/Jelly-Bot
c7da1e91783dce3a2b71b955b3a22b68db9056cf
[ "MIT" ]
234
2019-12-14T03:45:19.000Z
2020-08-26T18:55:19.000Z
models/shorturl.py
RaenonX/Jelly-Bot-API
c7da1e91783dce3a2b71b955b3a22b68db9056cf
[ "MIT" ]
2
2019-10-23T15:21:15.000Z
2020-05-22T09:35:55.000Z
"""Models for Short URL service.""" import os from datetime import datetime from models import ModelDefaultValueExt, Model from models.field import ( TextField, UrlField, ArrayField, ObjectIDField, BooleanField ) from strres.models import ShortUrl class ShortUrlRecordModel(Model): """Model for a short URL re...
31.204545
92
0.684632
169
1,373
5.497041
0.47929
0.068891
0.051668
0.036598
0.053821
0.053821
0
0
0
0
0
0
0.226511
1,373
43
93
31.930233
0.874765
0.278223
0
0.090909
0
0
0.053435
0.023991
0
0
0
0
0
1
0.090909
false
0
0.227273
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
0
0
0
0
0
1
0
0
1
a7758c4233e5123ec04699cafb187f6766f4fdeb
934
py
Python
web_aaaaaaaa/common/fakerdata.py
15008477526/-
e58e4879bd9001b4b27eafcbddce9daeadd5aa51
[ "bzip2-1.0.6" ]
null
null
null
web_aaaaaaaa/common/fakerdata.py
15008477526/-
e58e4879bd9001b4b27eafcbddce9daeadd5aa51
[ "bzip2-1.0.6" ]
null
null
null
web_aaaaaaaa/common/fakerdata.py
15008477526/-
e58e4879bd9001b4b27eafcbddce9daeadd5aa51
[ "bzip2-1.0.6" ]
null
null
null
''' @author:魏江霖 @time:2019/9/15 ''' from faker import Faker # f=Faker(locale="zh_CN") # # print(f.name()) # 随机生成用户名 # print(f.address()) # print(f.email()) # print(f.phone_number()) # print(f.random_int(min=0,max=999999999)) class RegisterData: def __init__(self): self.fk = Faker(locale="zh_CN") #...
20.755556
89
0.566381
116
934
4.344828
0.405172
0.107143
0.095238
0.059524
0
0
0
0
0
0
0
0.024113
0.245182
934
44
90
21.227273
0.69078
0.48394
0
0
0
0
0.029148
0
0
0
0
0
0
1
0.2
false
0.1
0.1
0
0.5
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a77e95699b41b36795b0471f5dcb889f2bd78e91
2,921
py
Python
home/hairygael/InMoov2.minimalTorso.py
rv8flyboy/pyrobotlab
4e04fb751614a5cb6044ea15dcfcf885db8be65a
[ "Apache-2.0" ]
63
2015-02-03T18:49:43.000Z
2022-03-29T03:52:24.000Z
home/hairygael/InMoov2.minimalTorso.py
hirwaHenryChristian/pyrobotlab
2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9
[ "Apache-2.0" ]
16
2016-01-26T19:13:29.000Z
2018-11-25T21:20:51.000Z
home/hairygael/InMoov2.minimalTorso.py
hirwaHenryChristian/pyrobotlab
2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9
[ "Apache-2.0" ]
151
2015-01-03T18:55:54.000Z
2022-03-04T07:04:23.000Z
#file : InMoov2.minimalTorso.py # this will run with versions of MRL 1.0.107 # a very minimal script for InMoov # although this script is very short you can still # do voice control of a right Arm # for any command which you say - you will be required to say a confirmation # e.g. you say -> test stomach, InMoov will a...
31.074468
96
0.714824
433
2,921
4.819861
0.427252
0.019166
0.046957
0.038333
0.127456
0.127456
0.094873
0.061332
0.061332
0.044082
0
0.073535
0.129408
2,921
93
97
31.408602
0.747149
0.288257
0
0.206897
0
0.017241
0.292551
0.041934
0
0
0
0
0
0
null
null
0
0.068966
null
null
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a79442a553f5781b9dac9acebd222dc2c8f220e8
1,305
py
Python
PreflopMonteCarlo.py
Orpheon/All-in
016901953904250226f388422318ef2f739bf82e
[ "MIT" ]
null
null
null
PreflopMonteCarlo.py
Orpheon/All-in
016901953904250226f388422318ef2f739bf82e
[ "MIT" ]
null
null
null
PreflopMonteCarlo.py
Orpheon/All-in
016901953904250226f388422318ef2f739bf82e
[ "MIT" ]
null
null
null
import json from time import time from agent.allin.allinAgentNP import AllinAgentNP from league.game import GameEngine from league.logger import GenericLogger from logPlotter import LogfileCollector def save_winrates_to_file(winrates): with open('preflop_monte_carlo_winrates.json', 'w') as f: f.write(json.dump...
29.659091
95
0.737931
189
1,305
4.798942
0.444444
0.022051
0.061742
0.079383
0
0
0
0
0
0
0
0.024771
0.164751
1,305
44
96
29.659091
0.807339
0.397701
0
0
0
0
0.076031
0.042526
0
0
0
0.022727
0
1
0.047619
false
0
0.285714
0
0.333333
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a7a0cb09f1ddd7390384974b375c5e9a2d8dfb56
5,531
py
Python
python/random_matrices.py
tripatheea/Riemann-Zeta
661b74526786d9395f986e2baf61b03a2de34040
[ "MIT" ]
null
null
null
python/random_matrices.py
tripatheea/Riemann-Zeta
661b74526786d9395f986e2baf61b03a2de34040
[ "MIT" ]
null
null
null
python/random_matrices.py
tripatheea/Riemann-Zeta
661b74526786d9395f986e2baf61b03a2de34040
[ "MIT" ]
null
null
null
from __future__ import division from subprocess import call from matplotlib.ticker import AutoMinorLocator from matplotlib.ticker import MultipleLocator from matplotlib.ticker import FixedLocator from matplotlib.ticker import LogLocator from matplotlib.ticker import FormatStrFormatter from sets import Set import sy...
26.21327
139
0.788465
732
5,531
5.688525
0.230874
0.067243
0.038425
0.040346
0.415466
0.323247
0.191403
0.169308
0.145533
0.123919
0
0.012934
0.119327
5,531
210
140
26.338095
0.841922
0.104502
0
0.1
0
0
0.053824
0.012343
0
0
0
0
0
1
0.08
false
0
0.31
0
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a7a0fa2335c83f1ea3fe7d14acd66ea26aeb7e24
692
py
Python
submissions/migrations/0004_auto_20180309_1501.py
kgdunn/django-peer-review-system
8d013961e00d189fbbade5283128e956a27954f8
[ "BSD-2-Clause" ]
null
null
null
submissions/migrations/0004_auto_20180309_1501.py
kgdunn/django-peer-review-system
8d013961e00d189fbbade5283128e956a27954f8
[ "BSD-2-Clause" ]
2
2020-03-20T11:50:04.000Z
2020-03-20T11:50:06.000Z
submissions/migrations/0004_auto_20180309_1501.py
kgdunn/django-peer-review-system
8d013961e00d189fbbade5283128e956a27954f8
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-03-09 14:01 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('submissions', '0003_auto_20170821_1735'), ] operations = [ migrations.Alter...
32.952381
283
0.617052
79
692
5.278481
0.848101
0
0
0
0
0
0
0
0
0
0
0.062157
0.209538
692
20
284
34.6
0.700183
0.098266
0
0
1
0
0.309179
0.037037
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a7acaf6b512bb0a309d9b1da51a757891c13700b
1,885
py
Python
namecheap_dydns.py
esbozos/namecheap-dydns
31be89b4b052e3111892f50d0fcfbcf4dc9eb88c
[ "MIT" ]
null
null
null
namecheap_dydns.py
esbozos/namecheap-dydns
31be89b4b052e3111892f50d0fcfbcf4dc9eb88c
[ "MIT" ]
null
null
null
namecheap_dydns.py
esbozos/namecheap-dydns
31be89b4b052e3111892f50d0fcfbcf4dc9eb88c
[ "MIT" ]
null
null
null
import requests import sys import getopt import xml.etree.ElementTree as ET url = 'https://dynamicdns.park-your-domain.com/update' def print_usage(): print('\n') print('Usage:') print('namecheap_dydns.py -H <host> -d <yourdomain.com> -p <yourpassword>') print('namecheap_dydns.py --host=<host> --domai...
22.440476
97
0.559151
247
1,885
4.165992
0.331984
0.058309
0.050535
0.066084
0.052478
0
0
0
0
0
0
0.004438
0.282759
1,885
83
98
22.710843
0.756657
0
0
0.258065
0
0
0.270557
0.058886
0
0
0
0
0
1
0.064516
false
0.145161
0.064516
0
0.145161
0.306452
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a7aec91e5effdf0e10b15ce842b60f32eb264edb
854
py
Python
setup.py
vmvz/ssdb3
0a75842318d7e1ee6df436113eee6b1433d6b2a4
[ "BSD-2-Clause" ]
null
null
null
setup.py
vmvz/ssdb3
0a75842318d7e1ee6df436113eee6b1433d6b2a4
[ "BSD-2-Clause" ]
null
null
null
setup.py
vmvz/ssdb3
0a75842318d7e1ee6df436113eee6b1433d6b2a4
[ "BSD-2-Clause" ]
null
null
null
from setuptools import setup import pyssdb import re import os import sys setup( name='ssdb3', version=pyssdb.__version__, author=re.sub(r'\s+<.*', r'', pyssdb.__author__), author_email=re.sub(r'(^.*<)|(>.*$)', r'', pyssdb.__author__), url=pyssdb.__url__, description=('A SSDB Client Library for...
29.448276
70
0.608899
91
854
5.505495
0.615385
0.01996
0.023952
0
0
0
0
0
0
0
0
0.009091
0.227166
854
28
71
30.5
0.75
0
0
0
0
0
0.4274
0
0
0
0
0
0
1
0
true
0
0.185185
0
0.185185
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
a7aedf96c16a9b94f3ed7251240995d378bd99b3
2,109
py
Python
LandMatrix_Importer/main.py
landportal/landbook-importers
f0e246f493329b9c5741c50f3a0495d27ee5c54b
[ "MIT" ]
null
null
null
LandMatrix_Importer/main.py
landportal/landbook-importers
f0e246f493329b9c5741c50f3a0495d27ee5c54b
[ "MIT" ]
8
2016-02-16T13:05:37.000Z
2017-01-04T14:38:03.000Z
LandMatrix_Importer/main.py
landportal/landbook-importers
f0e246f493329b9c5741c50f3a0495d27ee5c54b
[ "MIT" ]
null
null
null
''' Created on 13/01/2014 @author: Dani ''' import os import sys import traceback sys.path.append(os.path.dirname(os.path.realpath(__file__))) sys.path.append(os.path.join(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir), 'CountryReconciler')) sys.path.append(os.path.join(os.path.join(os.path.dirn...
34.016129
121
0.694168
260
2,109
5.465385
0.369231
0.059113
0.042224
0.050669
0.315271
0.306122
0.306122
0.228008
0.228008
0.228008
0
0.006901
0.175439
2,109
61
122
34.57377
0.810236
0.072546
0
0.302326
0
0.023256
0.17077
0.039288
0
0
0
0
0
0
null
null
0.023256
0.162791
null
null
0.139535
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a7b178488e1bd5423d91d96fd5e4350b6f445f15
3,213
py
Python
src/GUIfasttick.py
JevinJ/Bittrex-Notify
ea1057fa2fd59d191893eb7a4c31f35db789ba29
[ "MIT" ]
12
2017-08-15T08:40:44.000Z
2018-01-30T20:55:20.000Z
src/GUIfasttick.py
alimogh/BittrexNotify
ea1057fa2fd59d191893eb7a4c31f35db789ba29
[ "MIT" ]
5
2017-08-30T15:46:03.000Z
2018-02-16T09:18:27.000Z
src/GUIfasttick.py
alimogh/BittrexNotify
ea1057fa2fd59d191893eb7a4c31f35db789ba29
[ "MIT" ]
3
2017-08-28T17:58:03.000Z
2017-12-05T02:05:18.000Z
import tkinter as tk from time import sleep from playsound import playsound import config import fasttick from helpmessage import fasttick_help_message import misc from tickerwindow import TickerWindow class GUIfasttick(TickerWindow): def __init__(self, app): super().__init__(app) misc.delete_anci...
36.931034
87
0.610955
410
3,213
4.695122
0.285366
0.069091
0.072727
0.050909
0.231169
0
0
0
0
0
0
0.029857
0.259882
3,213
87
88
36.931034
0.779647
0
0
0.082192
0
0
0.043559
0.015868
0
0
0
0
0
0
null
null
0
0.109589
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a7b4ee147ba1fba09cfc4637f157cc78f1bcd8bb
1,477
py
Python
server/utils/date_utils.py
Georgi2704/vidpit-authentication
521505a3b4e77db512227688558dab5605822626
[ "Apache-2.0" ]
16
2021-06-08T05:47:59.000Z
2022-01-29T22:39:16.000Z
server/utils/date_utils.py
Georgi2704/vidpit-authentication
521505a3b4e77db512227688558dab5605822626
[ "Apache-2.0" ]
70
2021-02-24T17:59:23.000Z
2022-03-31T08:24:56.000Z
server/utils/date_utils.py
Georgi2704/vidpit-authentication
521505a3b4e77db512227688558dab5605822626
[ "Apache-2.0" ]
6
2021-02-23T18:10:15.000Z
2022-02-15T16:07:38.000Z
# Copyright 2019-2020 SURF. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, soft...
25.033898
93
0.696005
211
1,477
4.85782
0.526066
0.058537
0.00878
0.011707
0
0
0
0
0
0
0
0.018868
0.210562
1,477
58
94
25.465517
0.860206
0.691943
0
0
0
0.1
0.113821
0.094851
0
0
0
0
0
1
0.3
false
0
0.3
0
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
1
0
0
0
0
0
0
0
1
a7b85383a39d5c03beb68a3e06325662b1c3a057
1,118
py
Python
src/eukalypse_now/views.py
ScholzVolkmer/eukalypse_now
e7923457d85fd1ae9253b562a21fb6915b07451f
[ "BSD-3-Clause" ]
null
null
null
src/eukalypse_now/views.py
ScholzVolkmer/eukalypse_now
e7923457d85fd1ae9253b562a21fb6915b07451f
[ "BSD-3-Clause" ]
4
2018-04-04T07:52:30.000Z
2022-02-05T07:41:45.000Z
src/eukalypse_now/views.py
kinkerl/eukalypse_now
3780898fa7c0ea59a71e60e044572ec03ac852bf
[ "BSD-3-Clause" ]
null
null
null
from django.shortcuts import render from models import Testrun, Testresult, Project from django.shortcuts import get_object_or_404 from django.utils import simplejson from django.http import HttpResponse def testrun_list(request): projects = Project.objects.filter(active=True) return render(request, 'eukalypse...
36.064516
85
0.764758
138
1,118
5.963768
0.311594
0.048603
0.053463
0.068044
0.471446
0.471446
0.379101
0.379101
0.379101
0.379101
0
0.01241
0.135063
1,118
30
86
37.266667
0.838676
0
0
0.285714
0
0
0.118962
0.057245
0
0
0
0
0
1
0.190476
false
0
0.238095
0
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
0
1
0
0
1
a7b9e3c59be70e5b1430704668aa4daa21aac038
2,341
py
Python
src/compas_plotters/artists/__init__.py
funkchaser/compas
b58de8771484aa0c6068d43df78b1679503215de
[ "MIT" ]
235
2017-11-07T07:33:22.000Z
2022-03-25T16:20:00.000Z
src/compas_plotters/artists/__init__.py
funkchaser/compas
b58de8771484aa0c6068d43df78b1679503215de
[ "MIT" ]
770
2017-09-22T13:42:06.000Z
2022-03-31T21:26:45.000Z
src/compas_plotters/artists/__init__.py
funkchaser/compas
b58de8771484aa0c6068d43df78b1679503215de
[ "MIT" ]
99
2017-11-06T23:15:28.000Z
2022-03-25T16:05:36.000Z
""" ******************************************************************************** compas_plotters.artists ******************************************************************************** .. currentmodule:: compas_plotters.artists Primitive Artists ================= .. autosummary:: :toctree: generated/ :...
24.134021
80
0.691585
203
2,341
7.940887
0.231527
0.068238
0.099256
0.138958
0.162531
0.105459
0.105459
0
0
0
0
0
0.14182
2,341
96
81
24.385417
0.802389
0.299018
0
0
0
0
0.124387
0
0
0
0
0
0
1
0.022727
false
0
0.477273
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a7bc3c7e1d67fe619cd1ba19590d4f4e8ba61388
5,143
py
Python
luigi/process.py
mschober/luigi
78bf663b80d8ba7e86353b240f99a9cc7790fb1c
[ "Apache-2.0" ]
null
null
null
luigi/process.py
mschober/luigi
78bf663b80d8ba7e86353b240f99a9cc7790fb1c
[ "Apache-2.0" ]
null
null
null
luigi/process.py
mschober/luigi
78bf663b80d8ba7e86353b240f99a9cc7790fb1c
[ "Apache-2.0" ]
1
2020-05-07T02:14:29.000Z
2020-05-07T02:14:29.000Z
# Copyright (c) 2012 Spotify AB # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.728324
123
0.632899
670
5,143
4.758209
0.344776
0.017566
0.016311
0.015997
0.138959
0.107591
0.099122
0.079046
0.079046
0.079046
0
0.007513
0.275326
5,143
172
124
29.901163
0.847867
0.162745
0
0.162393
0
0.008547
0.083247
0.020488
0
0
0
0.005814
0.008547
0
null
null
0.008547
0.059829
null
null
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a7bc859c16e40ed3bfb401a345d927625798a6bd
198
py
Python
task_2_findmax.py
bmstu-iu9/qd-python-tracer
bb2503bae72b3713d83ba79bfd1511fac2d35196
[ "MIT" ]
null
null
null
task_2_findmax.py
bmstu-iu9/qd-python-tracer
bb2503bae72b3713d83ba79bfd1511fac2d35196
[ "MIT" ]
null
null
null
task_2_findmax.py
bmstu-iu9/qd-python-tracer
bb2503bae72b3713d83ba79bfd1511fac2d35196
[ "MIT" ]
null
null
null
def findmax(items): if len(items) == 0: return None m = items[0] i = 1 while i < len(items): if m < items[i]: m = items[i] i = i + 1 return m
18
25
0.429293
30
198
2.833333
0.4
0.211765
0.164706
0
0
0
0
0
0
0
0
0.036364
0.444444
198
10
26
19.8
0.736364
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.3
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a7bda3987ab1967da4009b05bc606024ae445841
1,912
py
Python
business/migrations/0001_initial.py
hhdMrLion/crm_api
66df068821be36a17c3b0e0e9660b7f8408fa1bd
[ "Apache-2.0" ]
1
2021-06-18T03:03:38.000Z
2021-06-18T03:03:38.000Z
business/migrations/0001_initial.py
hhdMrLion/crm_api
66df068821be36a17c3b0e0e9660b7f8408fa1bd
[ "Apache-2.0" ]
null
null
null
business/migrations/0001_initial.py
hhdMrLion/crm_api
66df068821be36a17c3b0e0e9660b7f8408fa1bd
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.4 on 2021-06-28 14:46 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('customer', '0002_auto_20210628_1444'), migrations....
47.8
164
0.595188
206
1,912
5.334951
0.475728
0.120109
0.068244
0.060055
0.185623
0.134668
0.134668
0.134668
0.134668
0.134668
0
0.038435
0.251569
1,912
39
165
49.025641
0.72956
0.023536
0
0
1
0
0.146221
0.012596
0
0
0
0
0
1
0
false
0
0.09375
0
0.21875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a7cb670331cffc2f9dabe1bb54bae9438c6f40b2
3,301
py
Python
tests/deprecated/fastplt.py
davtoh/RRTools
6dde2d4622719d9031bf21ffbf7723231a0e2003
[ "BSD-3-Clause" ]
1
2019-07-16T03:54:22.000Z
2019-07-16T03:54:22.000Z
tests/deprecated/fastplt.py
davtoh/RRTools
6dde2d4622719d9031bf21ffbf7723231a0e2003
[ "BSD-3-Clause" ]
null
null
null
tests/deprecated/fastplt.py
davtoh/RRTools
6dde2d4622719d9031bf21ffbf7723231a0e2003
[ "BSD-3-Clause" ]
1
2019-07-09T02:49:06.000Z
2019-07-09T02:49:06.000Z
# -*- coding: utf-8 -*- from __future__ import division from __future__ import print_function import matplotlib.pyplot as plt import matplotlib.axes import matplotlib.figure from multiprocessing import Process from RRtoolbox.lib.config import FLAG_DEBUG wins = [0] # keeps track of image number through different process...
41.78481
111
0.616177
421
3,301
4.731591
0.365796
0.040663
0.044177
0.064257
0.092369
0.071285
0.071285
0.045181
0.045181
0
0
0.003243
0.252651
3,301
78
112
42.320513
0.804216
0.188125
0
0.086207
0
0
0.167872
0
0
0
0
0.012821
0
1
0.034483
false
0
0.155172
0
0.189655
0.137931
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a7d33fe89195990e404ba60105b43586732f33ab
1,746
py
Python
bin/simple-mock-server.py
voiski/simple-mock-server
822df1d974aa2825821693ecc2714a4e8cbfc535
[ "MIT" ]
null
null
null
bin/simple-mock-server.py
voiski/simple-mock-server
822df1d974aa2825821693ecc2714a4e8cbfc535
[ "MIT" ]
null
null
null
bin/simple-mock-server.py
voiski/simple-mock-server
822df1d974aa2825821693ecc2714a4e8cbfc535
[ "MIT" ]
null
null
null
#!/usr/bin/env python from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer import yaml, re, os def get_dictionary(path): yaml_dict = yaml.load(open(path)) return yaml_dict[os.getenv('MOCK_PROFILE',yaml_dict.keys()[0])] dictionary = get_dictionary(os.path.dirname(os.path.abspath(__file__))+'/../share/...
32.943396
95
0.648339
227
1,746
4.762115
0.396476
0.07123
0.049954
0.046253
0
0
0
0
0
0
0
0.010302
0.221649
1,746
53
96
32.943396
0.785136
0.011455
0
0.046512
0
0
0.082271
0.012167
0
0
0
0
0
0
null
null
0
0.069767
null
null
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a7dda7acfd426fbf439d235e8afd8323e8a23925
416
py
Python
awokado/exceptions/__init__.py
5783354/awokado
9454067f005fd8905409902fb955de664ba3d5b6
[ "MIT" ]
6
2019-02-08T16:21:24.000Z
2019-03-13T13:00:05.000Z
awokado/exceptions/__init__.py
5783354/awokado
9454067f005fd8905409902fb955de664ba3d5b6
[ "MIT" ]
10
2019-05-21T10:29:16.000Z
2021-05-21T12:09:49.000Z
awokado/exceptions/__init__.py
5783354/awokado
9454067f005fd8905409902fb955de664ba3d5b6
[ "MIT" ]
1
2020-02-26T06:47:41.000Z
2020-02-26T06:47:41.000Z
from .auth import AuthError from .base import BaseApiException from .not_found import NotFound, RelationNotFound, ResourceNotFound from .bad_request import ( BadFilter, BadLimitOffset, BadRequest, MethodNotAllowed, IdFieldMissingError, ) from .forbidden import ( CreateResourceForbidden, De...
20.8
67
0.766827
32
416
9.90625
0.71875
0
0
0
0
0
0
0
0
0
0
0
0.182692
416
19
68
21.894737
0.932353
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.294118
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
38f2b723d782f9672c88d37c5ef8795f20ab6ca6
12,003
py
Python
src/CTK_trunk/CTK/Server.py
helix84/activae
0e40bd71577f829b597bbf0931bbeb2c581ac410
[ "BSD-3-Clause" ]
null
null
null
src/CTK_trunk/CTK/Server.py
helix84/activae
0e40bd71577f829b597bbf0931bbeb2c581ac410
[ "BSD-3-Clause" ]
null
null
null
src/CTK_trunk/CTK/Server.py
helix84/activae
0e40bd71577f829b597bbf0931bbeb2c581ac410
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2010 CENATIC: Centro Nacional de Referencia de # Aplicacion de las TIC basadas en Fuentes Abiertas, Spain. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # Redistribution...
28.443128
84
0.578605
1,379
12,003
4.833938
0.253807
0.028803
0.028053
0.049505
0.227873
0.189019
0.171317
0.158116
0.158116
0.158116
0
0.002871
0.332584
12,003
421
85
28.510689
0.829235
0.202866
0
0.268939
0
0
0.029796
0
0
0
0
0
0
0
null
null
0.003788
0.049242
null
null
0.011364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
38ff503a90b57843ea6faccbe9627af9fd982571
424
py
Python
wildlifecompliance/migrations/0081_remove_applicationgrouptype_display_name.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
1
2020-12-07T17:12:40.000Z
2020-12-07T17:12:40.000Z
wildlifecompliance/migrations/0081_remove_applicationgrouptype_display_name.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
14
2020-01-08T08:08:26.000Z
2021-03-19T22:59:46.000Z
wildlifecompliance/migrations/0081_remove_applicationgrouptype_display_name.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
15
2020-01-08T08:02:28.000Z
2021-11-03T06:48:32.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2018-09-18 02:07 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('wildlifecompliance', '0080_auto_20180912_0932'), ] operations = [ migrations.Remove...
21.2
58
0.641509
44
424
5.954545
0.795455
0
0
0
0
0
0
0
0
0
0
0.103774
0.25
424
19
59
22.315789
0.720126
0.160377
0
0
1
0
0.206799
0.065156
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
38ff71c7b0d8a037e1b1f7edd270295d213a2ddd
6,545
py
Python
Software/videoplayer/videoplayer.py
arnljot/a314
cd45d458396bad3198fa59ded358ea22548c1cab
[ "CC0-1.0" ]
2
2020-08-21T08:47:23.000Z
2020-12-31T00:24:33.000Z
Software/videoplayer/videoplayer.py
nonarkitten/a314
653d8c7bee428050bf21874107c95aec1ac7e108
[ "CC0-1.0" ]
null
null
null
Software/videoplayer/videoplayer.py
nonarkitten/a314
653d8c7bee428050bf21874107c95aec1ac7e108
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (c) 2018 Niklas Ekström import glob import os import select import struct import socket import sys import time MSG_REGISTER_REQ = 1 MSG_REGISTER_RES = 2 MSG_DEREGISTER_REQ = 3 MSG_DEREGISTER_RES = 4 MSG_READ_MEM_REQ = 5 MSG_READ_MEM_RES = 6 MSG_WRITE_MEM_RE...
27.5
81
0.587166
896
6,545
4.047991
0.205357
0.088227
0.033085
0.046319
0.272677
0.20182
0.108078
0.074442
0.018748
0.018748
0
0.01709
0.302674
6,545
237
82
27.616034
0.777607
0.011001
0
0.1875
0
0
0.031066
0.0051
0
0
0
0
0
0
null
null
0
0.036458
null
null
0.010417
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ac05ce2ca60e49b33aaafc3c79ca9a56a29a9572
224
py
Python
Python/Programming Fundamentals/Regex/04. Extract Emails.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
Python/Programming Fundamentals/Regex/04. Extract Emails.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
Python/Programming Fundamentals/Regex/04. Extract Emails.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
import re text = input() pattern = r'(( |^)[a-zA-Z0-9]+([\.\-_][a-zA-Z0-9]+)*@[a-zA-Z0-9]+([\-][a-zA-Z0-9]+)*([\.][a-z]+)+)' matches = re.finditer(pattern, text) for match in matches: print(match.group(0))
20.363636
100
0.504464
37
224
3.027027
0.513514
0.107143
0.178571
0.214286
0.223214
0.223214
0.223214
0.223214
0.223214
0.223214
0
0.047872
0.160714
224
10
101
22.4
0.547872
0
0
0
0
0.166667
0.403756
0.389671
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac061220d0d1bb6e5d764b6d4d2d24a2fc7cffd2
2,442
py
Python
backend_services/backend/burdy/blueprints/users/routes.py
moomoolive/burdy
4f3ad2b8aca5e50f373fcc4219088520354ed204
[ "MIT" ]
null
null
null
backend_services/backend/burdy/blueprints/users/routes.py
moomoolive/burdy
4f3ad2b8aca5e50f373fcc4219088520354ed204
[ "MIT" ]
1
2020-10-01T18:15:27.000Z
2020-10-01T18:15:27.000Z
backend_services/backend/burdy/blueprints/users/routes.py
moomoolive/burdy
4f3ad2b8aca5e50f373fcc4219088520354ed204
[ "MIT" ]
1
2020-10-01T03:54:29.000Z
2020-10-01T03:54:29.000Z
from flask import Blueprint, request, jsonify from burdy.utils import check_user, token_required, create_jwt from burdy.models import User from burdy import database, bcrypt users = Blueprint('users', __name__) @users.route('/sign_up', methods=['POST']) def sign_up(): try: data = request.get_json() ...
30.911392
77
0.653153
291
2,442
5.329897
0.271478
0.045132
0.036106
0.043843
0.322373
0.295293
0.295293
0.268859
0.268859
0.212121
0
0.010096
0.22932
2,442
79
78
30.911392
0.814028
0
0
0.426471
0
0
0.136717
0
0
0
0
0
0
1
0.058824
false
0.088235
0.058824
0
0.264706
0.044118
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ac0bf95a22c015cb5d74feb929634d910b1239f9
327
py
Python
Ch5/adderListFunction.py
PacktPublishing/Learn-Computer-Science-and-Python
d72cf401cfd9edc1d93ebf3c2c629072a88f3289
[ "MIT" ]
1
2020-01-26T13:19:12.000Z
2020-01-26T13:19:12.000Z
Ch5/adderListFunction.py
PacktPublishing/Learn-Computer-Science-and-Python
d72cf401cfd9edc1d93ebf3c2c629072a88f3289
[ "MIT" ]
null
null
null
Ch5/adderListFunction.py
PacktPublishing/Learn-Computer-Science-and-Python
d72cf401cfd9edc1d93ebf3c2c629072a88f3289
[ "MIT" ]
3
2019-12-25T17:54:03.000Z
2020-11-27T22:41:31.000Z
import sys import functools def adder(x,y): return (x+y) if(len(sys.argv) >= 3): inputs = list(map(int, sys.argv[1:])) print ("Sum = ", functools.reduce(adder, inputs) ) else: print ("You need to include at least 2 numbers you want me to add. For example:") print ("python.py " + sys.argv[0], " ...
29.727273
85
0.614679
55
327
3.654545
0.727273
0.104478
0
0
0
0
0
0
0
0
0
0.027451
0.220183
327
11
86
29.727273
0.760784
0
0
0
0
0
0.292453
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
ac0e342dd4f7838f2a33aa5c522f53534586696a
1,413
py
Python
hyperledger/api/network.py
Global19-atlassian-net/hyperledger-py
f24e9cc409b50628b911950466786be6fe74f09f
[ "Apache-2.0" ]
73
2016-04-19T06:49:59.000Z
2020-04-24T16:55:53.000Z
hyperledger/api/network.py
Global19-atlassian-net/hyperledger-py
f24e9cc409b50628b911950466786be6fe74f09f
[ "Apache-2.0" ]
12
2016-06-01T03:46:25.000Z
2018-01-11T02:35:13.000Z
hyperledger/api/network.py
yeasy/hyperledger-py
f24e9cc409b50628b911950466786be6fe74f09f
[ "Apache-2.0" ]
45
2016-04-19T03:24:35.000Z
2020-07-31T17:10:02.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # dist...
30.06383
78
0.591649
168
1,413
4.946429
0.619048
0.072202
0.031288
0.038508
0
0
0
0
0
0
0
0.013934
0.339703
1,413
46
79
30.717391
0.876742
0.737438
0
0
0
0
0.081871
0
0
0
0
0
0
1
0.25
false
0
0
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
1
0
0
0
0
0
0
0
1
ac18b683582b4daad6d0ff2ebdf8853f6d365076
993
py
Python
Python/Exercícios_Python/060_criando_um_menu_de_opções.py
vdonoladev/aprendendo-programacao
83abbcd6701b2105903b28fd549738863418cfb8
[ "MIT" ]
null
null
null
Python/Exercícios_Python/060_criando_um_menu_de_opções.py
vdonoladev/aprendendo-programacao
83abbcd6701b2105903b28fd549738863418cfb8
[ "MIT" ]
null
null
null
Python/Exercícios_Python/060_criando_um_menu_de_opções.py
vdonoladev/aprendendo-programacao
83abbcd6701b2105903b28fd549738863418cfb8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """060 - Criando um Menu de Opções Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1ZRWz8qDYyffRbOffElSZ19QOPh6WqCEY """ from time import sleep v=0 op='4' while v!=5: while op=='4': n1=int(input('Digite Um Valor: ')) n2=int...
22.568182
77
0.623364
157
993
3.942675
0.484076
0.045234
0.048465
0.042003
0.151858
0.087237
0.087237
0.087237
0.087237
0.087237
0
0.057247
0.173212
993
44
78
22.568182
0.696711
0.204431
0
0.057143
1
0
0.408163
0
0
0
0
0
0
1
0
false
0
0.028571
0
0.028571
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac18c3ad816bcda9ceabc57b51e5aecd803e5e77
1,865
py
Python
app.py
aabele/octa-latvija
e845b9fbef2d6375dc4f7f6508c113b1ae8112a8
[ "BSD-3-Clause" ]
1
2017-01-10T06:29:35.000Z
2017-01-10T06:29:35.000Z
app.py
aabele/octa-latvija
e845b9fbef2d6375dc4f7f6508c113b1ae8112a8
[ "BSD-3-Clause" ]
null
null
null
app.py
aabele/octa-latvija
e845b9fbef2d6375dc4f7f6508c113b1ae8112a8
[ "BSD-3-Clause" ]
null
null
null
# -*- coding:utf8 -*- from __future__ import unicode_literals import random from flask import Flask from flask import render_template from flask import send_from_directory from flask.json import jsonify from flask_cache import Cache from scrapers import query_octa_providers DEBUG = True CACHE_PERIOD = 60 * 60 * 2...
20.271739
88
0.664879
237
1,865
5.025316
0.383966
0.037783
0.037783
0.060453
0.065491
0
0
0
0
0
0
0.010922
0.214477
1,865
91
89
20.494505
0.802048
0.250402
0
0.051282
0
0
0.106532
0.044323
0
0
0
0
0
1
0.128205
false
0.025641
0.25641
0
0.512821
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ac20a8eae322ecba8eceecd13855fe58e64d8b54
18,058
py
Python
PSP/ParseEventHandler.py
PeaceWorksTechnologySolutions/w4py
74f5a03a63f1a93563502b908474aefaae2abda2
[ "MIT" ]
18
2016-08-01T20:15:59.000Z
2019-12-24T16:00:03.000Z
PSP/ParseEventHandler.py
WebwareForPython/w4py
bba08f5974d49f5da7e88abe3eeda1037d0824a3
[ "MIT" ]
6
2016-09-13T05:48:45.000Z
2020-01-09T18:29:12.000Z
PSP/ParseEventHandler.py
WebwareForPython/w4py
bba08f5974d49f5da7e88abe3eeda1037d0824a3
[ "MIT" ]
6
2016-09-16T14:32:29.000Z
2020-01-03T18:52:16.000Z
"""Event handler for parsing PSP tokens. This module is called when the Parser encounters psp tokens. It creates a generator to handle the PSP token. When the PSP source file is fully parsed, this module calls all of the generators in turn to output their source code. (c) Copyright by Jay Love, 2000 (mailto:jsliv@js...
39.600877
89
0.620058
1,988
18,058
5.535714
0.2334
0.078146
0.075693
0.026988
0.25652
0.239437
0.200818
0.163835
0.138028
0.097047
0
0.002134
0.273508
18,058
455
90
39.687912
0.836725
0.056208
0
0.281457
0
0
0.102809
0.009641
0
0
0
0
0
0
null
null
0.006623
0.066225
null
null
0.195364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ac25fa133f8c9467a834a626cbcedb390bc438db
1,476
py
Python
Random Prime.py
LukeBridges123/number-theory-algorithms
e0bdf62d8086be8df76b1e9dbd474f4627b486ed
[ "MIT" ]
null
null
null
Random Prime.py
LukeBridges123/number-theory-algorithms
e0bdf62d8086be8df76b1e9dbd474f4627b486ed
[ "MIT" ]
null
null
null
Random Prime.py
LukeBridges123/number-theory-algorithms
e0bdf62d8086be8df76b1e9dbd474f4627b486ed
[ "MIT" ]
null
null
null
#A function for randomly generating prime numbers, including very large primes. The function does this by generating random odd numbers #and testing their primality using the Fermat primality test. Note that the Fermat test is a probabilistic test which incorrectly labels #some composite numbers ("pseudoprimes") as pri...
64.173913
137
0.729675
221
1,476
4.873303
0.515837
0.033426
0.036212
0.035283
0.129991
0.129991
0
0
0
0
0
0.019541
0.202575
1,476
23
138
64.173913
0.895497
0.651762
0
0.133333
0
0
0.177515
0
0
0
0
0
0
1
0.066667
false
0.066667
0.066667
0
0.266667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ac26caabaafbea433d080d4f629eccaef2ea0350
6,485
py
Python
cs15211/DesignPhoneDirectory.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2021-07-05T01:53:30.000Z
2021-07-05T01:53:30.000Z
cs15211/DesignPhoneDirectory.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
null
null
null
cs15211/DesignPhoneDirectory.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2018-01-08T07:14:08.000Z
2018-01-08T07:14:08.000Z
__source__ = 'https://leetcode.com/problems/design-phone-directory/' # https://github.com/kamyu104/LeetCode/blob/master/Python/design-phone-directory.py # init: Time: O(n), Space: O(n) # get: Time: O(1), Space: O(1) # check: Time: O(1), Space: O(1) # release: Time: O(1), Space: O(1) # # Description: Leetco...
27.952586
93
0.611874
794
6,485
4.923174
0.196474
0.026861
0.017907
0.024303
0.513686
0.484267
0.462011
0.462011
0.435917
0.425684
0
0.014983
0.279568
6,485
232
94
27.952586
0.821704
0.324595
0
0.275862
0
0
0.649328
0.04455
0
0
0
0
0.008621
1
0.077586
false
0
0.008621
0
0.198276
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac2d72f5e4d1b825eba779b4d7d8953b9b916f3f
726
py
Python
predictFun.py
VeriticalAxis/Project-Bilibili
d1541aa6e141f2f589f573ab21301a2daa63a1c3
[ "MIT" ]
null
null
null
predictFun.py
VeriticalAxis/Project-Bilibili
d1541aa6e141f2f589f573ab21301a2daa63a1c3
[ "MIT" ]
null
null
null
predictFun.py
VeriticalAxis/Project-Bilibili
d1541aa6e141f2f589f573ab21301a2daa63a1c3
[ "MIT" ]
null
null
null
from pspnet import PSPNet from PIL import Image import cv2 import time # #def process(sourcepath, storepath, name): # pspnet = PSPNet() # img = sourcepath # image = Image.open(img) # print('Open Error! Try again!') # start = time.process_time() # #中间写上代码块 # r_image = pspnet.detect_ima...
25.928571
51
0.633609
92
726
4.891304
0.326087
0.088889
0.133333
0.088889
0.346667
0.346667
0.346667
0.346667
0.346667
0.346667
0
0.003578
0.230028
726
27
52
26.888889
0.801431
0.495868
0
0
0
0
0.068182
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.416667
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ac2e568f2b2bc736d8143727e7283b29cfc886fd
996
py
Python
alipay/aop/api/response/MybankCreditLoanapplyQrcodeCreateResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/response/MybankCreditLoanapplyQrcodeCreateResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/response/MybankCreditLoanapplyQrcodeCreateResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class MybankCreditLoanapplyQrcodeCreateResponse(AlipayResponse): def __init__(self): super(MybankCreditLoanapplyQrcodeCreateResponse, self).__init__() self._encrypt_token =...
27.666667
114
0.687751
106
996
6.188679
0.311321
0.164634
0.097561
0.057927
0
0
0
0
0
0
0
0.001292
0.222892
996
35
115
28.457143
0.846253
0.042169
0
0.08
0
0
0.033613
0
0
0
0
0
0
1
0.24
false
0
0.08
0.08
0.44
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ac2fd980cedce419a31ef1d964d4620a7f8b8704
3,778
py
Python
textanalysis.py
mannprerak2/TextAnalysis
4cbcfffefb4ab1ea6b5f741217dd5f39075c9a57
[ "MIT" ]
null
null
null
textanalysis.py
mannprerak2/TextAnalysis
4cbcfffefb4ab1ea6b5f741217dd5f39075c9a57
[ "MIT" ]
null
null
null
textanalysis.py
mannprerak2/TextAnalysis
4cbcfffefb4ab1ea6b5f741217dd5f39075c9a57
[ "MIT" ]
null
null
null
# Know your file from os.path import exists '''constants''' total_options = 8 my_file = file operations = [ "Word Count", "Line Count", "Byte size", "word list and occurence number", "sort alphabetical", "sort reverse alphabetical", ...
24.217949
88
0.571731
486
3,778
4.3107
0.281893
0.040095
0.02864
0.042959
0.163723
0.158473
0.157995
0.149881
0.093556
0.093556
0
0.011914
0.311276
3,778
155
89
24.374194
0.793236
0.087348
0
0.352459
0
0
0.160134
0
0
0
0
0
0
0
null
null
0
0.008197
null
null
0.213115
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ac3cbd64dfbd6ff45142f414eff4c33b595d983c
450
py
Python
resnet_rs/__init__.py
sebastian-sz/resnet-rs-keras
e6680612ab717db260b93d32f39701e7a6a4b5e3
[ "Apache-2.0" ]
18
2021-11-16T09:38:45.000Z
2022-03-13T10:54:58.000Z
resnet_rs/__init__.py
sebastian-sz/resnet-rs-keras
e6680612ab717db260b93d32f39701e7a6a4b5e3
[ "Apache-2.0" ]
3
2022-01-08T16:38:59.000Z
2022-02-03T10:29:59.000Z
resnet_rs/__init__.py
sebastian-sz/resnet-rs-keras
e6680612ab717db260b93d32f39701e7a6a4b5e3
[ "Apache-2.0" ]
1
2021-11-16T02:08:33.000Z
2021-11-16T02:08:33.000Z
"""Package for importing ResNet-RS models.""" from resnet_rs.preprocessing_layer import get_preprocessing_layer from resnet_rs.resnet_rs_model import ( ResNetRS50, ResNetRS101, ResNetRS152, ResNetRS200, ResNetRS270, ResNetRS350, ResNetRS420, ) __all__ = [ "ResNetRS50", "ResNetRS101"...
19.565217
65
0.688889
40
450
7.425
0.5
0.107744
0.080808
0.289562
0.511785
0.511785
0.511785
0
0
0
0
0.11236
0.208889
450
22
66
20.454545
0.72191
0.086667
0
0
0
0
0.244444
0.05679
0
0
0
0
0
1
0
false
0
0.1
0
0.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
0
0
0
1
ac53b939f84e3ad7db1087e4917a89356680e879
17,180
py
Python
classes_and_tests/srcTest/TemplateFileCreatorTest.py
anconaesselmann/LiveUnit
8edebb49cb02fa898550cbafdf87af7fc22f106b
[ "MIT" ]
null
null
null
classes_and_tests/srcTest/TemplateFileCreatorTest.py
anconaesselmann/LiveUnit
8edebb49cb02fa898550cbafdf87af7fc22f106b
[ "MIT" ]
null
null
null
classes_and_tests/srcTest/TemplateFileCreatorTest.py
anconaesselmann/LiveUnit
8edebb49cb02fa898550cbafdf87af7fc22f106b
[ "MIT" ]
null
null
null
import unittest import os if __name__ == '__main__' and __package__ is None: from os import sys, path sys.path.append(path.abspath(path.join(__file__, "..", ".."))) from src.MirroredDirectory import MirroredDirectory from src.TemplateFileCreator import TemplateFileCreator from src.mocking.MockFileSystem import...
49.367816
539
0.571828
1,555
17,180
6.18328
0.13119
0.012689
0.064483
0.074155
0.637025
0.605512
0.560478
0.538118
0.519189
0.49246
0
0.007022
0.278813
17,180
348
540
49.367816
0.769007
0.001688
0
0.529825
0
0.024561
0.293511
0.086467
0.007018
0
0
0
0.070175
0
null
null
0
0.035088
null
null
0.010526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ac54cd1585ea54096ba81803254de68d5adfeca8
1,740
py
Python
python/emnes/mappers/nrom_switch.py
xorllc/emnes
91c3e98c9d6fb9f8608c8eef31060998d10183c7
[ "MIT" ]
9
2019-09-23T13:15:03.000Z
2022-02-09T01:34:46.000Z
python/emnes/mappers/nrom_switch.py
xorllc/emnes
91c3e98c9d6fb9f8608c8eef31060998d10183c7
[ "MIT" ]
null
null
null
python/emnes/mappers/nrom_switch.py
xorllc/emnes
91c3e98c9d6fb9f8608c8eef31060998d10183c7
[ "MIT" ]
2
2021-06-25T00:21:14.000Z
2021-11-04T05:34:22.000Z
# -*- coding: utf-8 -*- # MIT License # # Copyright (c) 2019 Jean-François Boismenu # # See LICENSE at the root of this project for more info. from emnes.mappers.mapper_base import MapperBase class NROMSwitch(MapperBase): """ NROM Switch Memory mapper. Supports: - 16k of memory mapped twice - 32...
26.769231
83
0.591379
214
1,740
4.654206
0.53271
0.044177
0.045181
0.03012
0
0
0
0
0
0
0
0.012637
0.317816
1,740
64
84
27.1875
0.826453
0.433333
0
0.1
0
0.05
0.097356
0
0
0
0.014423
0.015625
0
1
0.2
false
0
0.05
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ac5ff7deb83bf99470919ae86e3a1c60538d8856
334
py
Python
Aula 02 - POO com Python/professor.py
G-ilian/S202-Repositorio
d2d00d892c818c6e76b5b5cbcc6bec0eec48ca57
[ "MIT" ]
null
null
null
Aula 02 - POO com Python/professor.py
G-ilian/S202-Repositorio
d2d00d892c818c6e76b5b5cbcc6bec0eec48ca57
[ "MIT" ]
null
null
null
Aula 02 - POO com Python/professor.py
G-ilian/S202-Repositorio
d2d00d892c818c6e76b5b5cbcc6bec0eec48ca57
[ "MIT" ]
null
null
null
#Importando a classe em questão from pessoa import Pessoa class Professor(Pessoa): def __init__(self,nome,especialidade): super().__init__(nome) self.especialidade=especialidade def toString(self): return f''' Professor: {self.nome} Especialidade: {self.especialidade} ...
19.647059
43
0.646707
34
334
6.117647
0.558824
0.076923
0.201923
0
0
0
0
0
0
0
0
0
0.254491
334
16
44
20.875
0.835341
0.08982
0
0
0
0
0.28
0
0
0
0
0
0
1
0.2
false
0
0.1
0.1
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac60eb0a523e12f3ab1e7c2884fc87d3e0dc4be0
4,556
py
Python
community/tests.py
kasparov-creat/Neighborhood-Watch
9d1ee930adaf640155fea27f686c0b231989ff1a
[ "MIT" ]
null
null
null
community/tests.py
kasparov-creat/Neighborhood-Watch
9d1ee930adaf640155fea27f686c0b231989ff1a
[ "MIT" ]
null
null
null
community/tests.py
kasparov-creat/Neighborhood-Watch
9d1ee930adaf640155fea27f686c0b231989ff1a
[ "MIT" ]
null
null
null
from django.test import TestCase from django.contrib.auth.models import User from .models import * # Create your tests here. class NeighborHoodTestClass(TestCase): # Set up method def setUp(self): self.neighborhood = Neighborhood(name = 'name', location = 'location', ...
37.04065
82
0.551361
416
4,556
5.930288
0.141827
0.048642
0.090799
0.023105
0.678557
0.600324
0.550061
0.550061
0.420754
0.286988
0
0.003067
0.356014
4,556
122
83
37.344262
0.837764
0.070676
0
0.571429
0
0
0.035613
0
0
0
0
0
0.107143
1
0.214286
false
0
0.035714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ac63961fe5f5fde64f57ff090679d1387a7b0ce2
2,416
py
Python
src/probflow/distributions/multivariate_normal.py
chiragnagpal/probflow
1ba0619cd4f482a015cd25633d2f113d5d0f3476
[ "MIT" ]
134
2019-02-18T09:45:35.000Z
2022-03-26T22:17:34.000Z
src/probflow/distributions/multivariate_normal.py
chiragnagpal/probflow
1ba0619cd4f482a015cd25633d2f113d5d0f3476
[ "MIT" ]
44
2019-04-18T17:41:33.000Z
2021-09-14T00:40:55.000Z
src/probflow/distributions/multivariate_normal.py
chiragnagpal/probflow
1ba0619cd4f482a015cd25633d2f113d5d0f3476
[ "MIT" ]
18
2019-10-17T05:45:16.000Z
2022-03-03T11:58:02.000Z
from probflow.utils.base import BaseDistribution from probflow.utils.settings import get_backend from probflow.utils.validation import ensure_tensor_like class MultivariateNormal(BaseDistribution): r"""The multivariate Normal distribution. The `multivariate normal distribution <https://en.wikipedia.org/w...
31.376623
104
0.610099
275
2,416
5.272727
0.374545
0.086897
0.124138
0.091034
0.067586
0.067586
0.067586
0
0
0
0
0.004489
0.262417
2,416
76
105
31.789474
0.809203
0.571192
0
0
0
0
0.028058
0
0
0
0
0.013158
0
1
0.095238
false
0
0.285714
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ac78d1df725087aedf52854c4e5160e23686ae3e
316
py
Python
Python/Hash_Table/medium_fruit_into_baskets.py
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
Python/Hash_Table/medium_fruit_into_baskets.py
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
Python/Hash_Table/medium_fruit_into_baskets.py
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
def totalFruit(self, tree): count = {} i = res = 0 for j, v in enumerate(tree): count[v] = count.get(v, 0) + 1 while len(count) > 2: count[tree[i]] -= 1 if count[tree[i]] == 0: del count[tree[i]] i += 1 res = max(res, j - i + 1) return res
26.333333
54
0.449367
48
316
2.958333
0.458333
0.190141
0.211268
0
0
0
0
0
0
0
0
0.041667
0.392405
316
11
55
28.727273
0.697917
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac78dd06f29e5cd03dd69680b3a23f1c9354b42b
609
py
Python
CodeUp/1281_홀수는더하고짝수는빼고3.py
woorimlee/cpp_CTCI_6E_APSS
ff1d42e871ba853ac3de726df0c609885ba07573
[ "MIT" ]
2
2020-12-30T03:35:51.000Z
2021-02-28T20:39:09.000Z
CodeUp/1281_홀수는더하고짝수는빼고3.py
woorimlee/cpp_CTCI_6E_APSS
ff1d42e871ba853ac3de726df0c609885ba07573
[ "MIT" ]
1
2020-12-08T08:48:40.000Z
2021-04-09T04:58:57.000Z
CodeUp/1281_홀수는더하고짝수는빼고3.py
woorimlee/Algorithm-Repository
ff1d42e871ba853ac3de726df0c609885ba07573
[ "MIT" ]
null
null
null
a, b = input().split() st = '' num_a = int(a) num_b = int(b) if num_a % 2 == 0 : answer = -num_a st += str(-num_a) else : answer = num_a st += str(num_a) if a == b : if int(a) % 2 == 0 : print("-", a, "=-", a, sep='') else : print(a, "=+", a, sep='') exit() while ...
16.916667
38
0.407225
95
609
2.442105
0.189474
0.224138
0.172414
0.155172
0.396552
0.327586
0.327586
0
0
0
0
0.026316
0.376026
609
35
39
17.4
0.584211
0
0
0.133333
0
0
0.014778
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac7e9ed227dd0478a1d6138b62d01082850307bd
3,889
py
Python
equation.py
wangzqzero/calculator
94bf0c454672b88262ed87d090908a5ed1518fd3
[ "MIT" ]
null
null
null
equation.py
wangzqzero/calculator
94bf0c454672b88262ed87d090908a5ed1518fd3
[ "MIT" ]
null
null
null
equation.py
wangzqzero/calculator
94bf0c454672b88262ed87d090908a5ed1518fd3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'equation.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtG...
40.510417
83
0.656981
485
3,889
5.193814
0.284536
0.078603
0.09607
0.045653
0.165939
0.110361
0.068281
0.068281
0.068281
0.068281
0
0.058785
0.212651
3,889
95
84
40.936842
0.76388
0.070198
0
0.075
1
0
0.052106
0
0
0
0
0
0
1
0.075
false
0
0.025
0.0375
0.15
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac82813171a348246a0f8143824aa10a23188d4e
1,715
py
Python
adv/summer_sinoa.py
dl-stuff/dl
185cc8a16339c47ed873768ff30804f8d06090a2
[ "Apache-2.0" ]
22
2020-04-04T17:34:16.000Z
2021-09-25T00:22:23.000Z
adv/summer_sinoa.py
dl-stuff/dl
185cc8a16339c47ed873768ff30804f8d06090a2
[ "Apache-2.0" ]
92
2020-04-04T15:30:34.000Z
2022-03-24T01:43:11.000Z
adv/summer_sinoa.py
dl-stuff/dl
185cc8a16339c47ed873768ff30804f8d06090a2
[ "Apache-2.0" ]
37
2020-04-16T02:47:07.000Z
2021-03-28T23:18:50.000Z
from core.advbase import * class Summer_Sinoa(Adv): def prerun(self): self.overload = 0 self.overload_sp = Modifier("overload_sp", "sp_s1", "passive", 0.0) self.overload_sp.get = self.overload_sp_mod self.ssinoa_determination = Modifier("determination", "s", "passive", 0.0) ...
35.729167
86
0.549271
206
1,715
4.427184
0.373786
0.157895
0.057018
0.032895
0.116228
0.116228
0.116228
0.116228
0.116228
0
0
0.043066
0.323032
1,715
47
87
36.489362
0.742463
0
0
0.051282
0
0
0.086297
0
0
0
0
0
0
1
0.128205
false
0.051282
0.025641
0
0.282051
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3ba4589d449250add7b126d3aa827371f1265c24
288
py
Python
Data/External/Gencode/fix_gtf_chrom_names.py
MPIIB-Department-TFMeyer/Dziubanska-Kusibab_et_al._Colibactin
6dc1cce199f172395c26f7f3d2f0b664ad69fc39
[ "MIT" ]
3
2020-06-02T11:32:27.000Z
2021-02-10T13:05:11.000Z
Data/External/Gencode/fix_gtf_chrom_names.py
MPIIB-Department-TFMeyer/Dziubanska-Kusibab_et_al._Colibactin
6dc1cce199f172395c26f7f3d2f0b664ad69fc39
[ "MIT" ]
null
null
null
Data/External/Gencode/fix_gtf_chrom_names.py
MPIIB-Department-TFMeyer/Dziubanska-Kusibab_et_al._Colibactin
6dc1cce199f172395c26f7f3d2f0b664ad69fc39
[ "MIT" ]
2
2020-06-04T17:51:29.000Z
2021-11-10T12:57:51.000Z
import fileinput for line in fileinput.input(): if line[0]=="#": print line.strip("\n\r") continue fields = line.strip("\n\r").split("\t",-1) fields[0] = fields[0].replace("chr","") if fields[0]=="M": fields[0]="MT" print "\t".join(fields)
20.571429
46
0.527778
41
288
3.707317
0.536585
0.184211
0.131579
0.144737
0
0
0
0
0
0
0
0.027523
0.243056
288
13
47
22.153846
0.669725
0
0
0
0
0
0.066434
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3ba79b88f0e208bb2d40b95329e0e99669bf237e
418
py
Python
songxin/P2/using_sys.py
qsyPython/Python_play_now
278b6d5d30082f8f93b26902c854737c4919405a
[ "MIT" ]
2
2018-03-29T08:26:17.000Z
2019-06-17T10:56:19.000Z
songxin/P2/using_sys.py
qsyPython/Python_play_now
278b6d5d30082f8f93b26902c854737c4919405a
[ "MIT" ]
1
2022-03-22T20:26:08.000Z
2022-03-22T20:26:08.000Z
songxin/P2/using_sys.py
qsyPython/Python_play_now
278b6d5d30082f8f93b26902c854737c4919405a
[ "MIT" ]
1
2019-02-18T10:44:20.000Z
2019-02-18T10:44:20.000Z
# 在前面的几个章节中我们脚本上是用 python 解释器来编程, # 如果你从 Python 解释器退出再进入,那么你定义的所有的方法和变量就都消失了。 # 为此 Python 提供了一个办法,把这些定义存放在文件中, # 为一些脚本或者交互式的解释器实例使用,这个文件被称为模块。 # 模块是一个包含所有你定义的函数和变量的文件,其后缀名是.py。 # 模块可以被别的程序引入,以使用该模块中的函数等功能。这也是使用 python 标准库的方法。 from songxin.P2 import FileIO import sys print('命令行参数如下:') for i in sys.argv: print(i) pr...
24.588235
48
0.758373
51
418
6.196078
0.72549
0.050633
0
0
0
0
0
0
0
0
0
0.010782
0.11244
418
16
49
26.125
0.84097
0.602871
0
0
0
0
0.158228
0
0
0
0
0
0
1
0
false
0
0.285714
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
0
0
0
0
0
1
0
1
3ba9ad4d2c427f10e3ee223beb852ca6881ae4cd
1,602
py
Python
molo/yourwords/migrations/0008_add_can_view_entry_permission.py
praekelt/molo.yourwords
1286572eae79dce17e4a53e584bff57c7f4d0aab
[ "BSD-2-Clause" ]
null
null
null
molo/yourwords/migrations/0008_add_can_view_entry_permission.py
praekelt/molo.yourwords
1286572eae79dce17e4a53e584bff57c7f4d0aab
[ "BSD-2-Clause" ]
44
2015-11-03T09:39:10.000Z
2018-06-11T19:48:45.000Z
molo/yourwords/migrations/0008_add_can_view_entry_permission.py
praekeltfoundation/molo.yourwords
1286572eae79dce17e4a53e584bff57c7f4d0aab
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-06-11 19:44 from __future__ import unicode_literals from django.db import migrations, models import molo.core.blocks import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): dependencie...
47.117647
477
0.695381
174
1,602
6.275862
0.528736
0.082418
0.108974
0.071429
0.261905
0.216117
0.119048
0.119048
0.119048
0.119048
0
0.016529
0.169164
1,602
33
478
48.545455
0.803907
0.043071
0
0.269231
1
0
0.273203
0.057516
0
0
0
0
0
1
0
false
0
0.230769
0
0.346154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bb208ca8ff65df3ce6324c3461fe16df1da5963
984
py
Python
practiceCR/restAPI/migrations/0004_layouting.py
faisaladisoe/learn-python-rest-API
d597f38eea4aff54889c241303df5136dc9278ae
[ "MIT" ]
null
null
null
practiceCR/restAPI/migrations/0004_layouting.py
faisaladisoe/learn-python-rest-API
d597f38eea4aff54889c241303df5136dc9278ae
[ "MIT" ]
null
null
null
practiceCR/restAPI/migrations/0004_layouting.py
faisaladisoe/learn-python-rest-API
d597f38eea4aff54889c241303df5136dc9278ae
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-11-10 09:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('restAPI', '0003_auto_20201110_1356'), ] operations = [ migrations.CreateModel( name='Layouting', field...
44.727273
344
0.551829
128
984
4.179688
0.453125
0.149533
0.082243
0.029907
0.237383
0
0
0
0
0
0
0.11869
0.255081
984
21
345
46.857143
0.611187
0.045732
0
0
1
0
0.276201
0.025109
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bb4c21dfff1004e6442c8c70d4e36f7ca0d4a00
2,890
py
Python
scraper/request.py
hibetterheyj/swiss-webcam-scraper
95d31db68d70222d7d17d45229074b61e5f3e909
[ "MIT" ]
null
null
null
scraper/request.py
hibetterheyj/swiss-webcam-scraper
95d31db68d70222d7d17d45229074b61e5f3e909
[ "MIT" ]
null
null
null
scraper/request.py
hibetterheyj/swiss-webcam-scraper
95d31db68d70222d7d17d45229074b61e5f3e909
[ "MIT" ]
null
null
null
import os import time from requests import get from pathlib import Path from threading import Thread from datetime import datetime from shutil import copyfileobj # url is formatted as follows # https://storage.roundshot.com/5595515f75aba9.83008277/2021-10-11/10-10-00/2021-10-11-10-10-00_full.jpg def create_url(pre_ur...
37.532468
105
0.547751
351
2,890
4.413105
0.396011
0.056811
0.030988
0.012912
0.06714
0.050355
0
0
0
0
0
0.050736
0.317993
2,890
76
106
38.026316
0.73516
0.132872
0
0.035714
0
0
0.217548
0.078926
0
0
0
0.013158
0
1
0.053571
false
0
0.125
0
0.214286
0.089286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3bb6b70978473690a57d1fee75069faca2f9a70a
208
py
Python
eurekaClientShare/constant/http_code.py
santiagoMeloMedina/eurekaClientShare
0c7360d80699be30a2adb26de9ff6f8570c52d8a
[ "MIT" ]
null
null
null
eurekaClientShare/constant/http_code.py
santiagoMeloMedina/eurekaClientShare
0c7360d80699be30a2adb26de9ff6f8570c52d8a
[ "MIT" ]
null
null
null
eurekaClientShare/constant/http_code.py
santiagoMeloMedina/eurekaClientShare
0c7360d80699be30a2adb26de9ff6f8570c52d8a
[ "MIT" ]
null
null
null
### SATISFACTORY RESPONSE ## Not found code OK = 200 OK_NOCONTENT = 204 ### CLIENT ERROR ## Not found code NOT_FOUND = 404 UNAUTHORIZED = 401 ### SERVER ERROR ## Internal server error INTERNAL_ERROR = 500
13.866667
25
0.716346
28
208
5.214286
0.607143
0.164384
0.164384
0
0
0
0
0
0
0
0
0.088757
0.1875
208
14
26
14.857143
0.775148
0.475962
0
0
0
0
0
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bbdbf8887a60f9490eb92828e464c3fbb070353
1,117
py
Python
packages/augur-core/tests/reporting/test_stake_calculations.py
peachbits/augur
2b4c5938f04cdef33f2d4f9144132070f968feff
[ "MIT" ]
null
null
null
packages/augur-core/tests/reporting/test_stake_calculations.py
peachbits/augur
2b4c5938f04cdef33f2d4f9144132070f968feff
[ "MIT" ]
null
null
null
packages/augur-core/tests/reporting/test_stake_calculations.py
peachbits/augur
2b4c5938f04cdef33f2d4f9144132070f968feff
[ "MIT" ]
null
null
null
from eth_tester.exceptions import TransactionFailed from utils import captureFilteredLogs, AssertLog, TokenDelta, longToHexString from pytest import raises from reporting_utils import proceedToNextRound def test_initial_report_bond_size(contractsFixture, market, universe): reputationToken = contractsFixture.applyS...
48.565217
103
0.80573
107
1,117
8.35514
0.579439
0.058166
0.053691
0
0
0
0
0
0
0
0
0.004111
0.128917
1,117
22
104
50.772727
0.914697
0.193375
0
0
0
0
0.037946
0
0
0
0
0
0.307692
1
0.076923
false
0
0.307692
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3bc6d2dbeb526f936202f9ef7f7b49c6ed9e89d0
4,043
py
Python
shared/models.py
KorkyMonster/kal-explorer
bdee7ebc0d593385d292cabbb93f275c4931a76b
[ "MIT" ]
null
null
null
shared/models.py
KorkyMonster/kal-explorer
bdee7ebc0d593385d292cabbb93f275c4931a76b
[ "MIT" ]
null
null
null
shared/models.py
KorkyMonster/kal-explorer
bdee7ebc0d593385d292cabbb93f275c4931a76b
[ "MIT" ]
null
null
null
import struct from shared import settings from peewee import Model, PostgresqlDatabase, IntegerField, CharField, DateTimeField, \ FloatField, BigIntegerField, BlobField, TextField, BooleanField, UUIDField, ForeignKeyField from playhouse.postgres_ext import BinaryJSONField from shared.settings import POOLS from bitcoin....
32.604839
137
0.671284
416
4,043
6.435096
0.302885
0.053792
0.026896
0.029884
0.17034
0.130743
0.119537
0.07994
0.050803
0.050803
0
0.023727
0.218155
4,043
123
138
32.869919
0.823157
0.024239
0
0.116505
0
0
0.042618
0.014206
0
0
0
0
0
1
0.029126
false
0.009709
0.067961
0.009709
0.679612
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3bc70198cf0030ba6d80e3791e9fed719a94e2ad
2,083
py
Python
gui/api_plugins/aff4_test.py
strcrzy/grr
60d113069b8016c3eba8bc735a3acbc5c738fda4
[ "Apache-2.0" ]
6
2015-04-03T02:25:28.000Z
2021-11-17T21:42:59.000Z
gui/api_plugins/aff4_test.py
defaultnamehere/grr
ba1648b97a76f844ffb8e1891cc9e2680f9b1c6e
[ "Apache-2.0" ]
null
null
null
gui/api_plugins/aff4_test.py
defaultnamehere/grr
ba1648b97a76f844ffb8e1891cc9e2680f9b1c6e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """This modules contains tests for AFF4 API renderers.""" from grr.gui.api_plugins import aff4 as aff4_plugin from grr.lib import aff4 from grr.lib import flags from grr.lib import test_lib from grr.lib import utils class ApiAff4RendererTest(test_lib.GRRBaseTest): """Test for ApiAff4Render...
31.089552
75
0.635622
235
2,083
5.519149
0.319149
0.037008
0.046261
0.049345
0.347726
0.309175
0.238242
0.214341
0.214341
0.214341
0
0.041614
0.238598
2,083
66
76
31.560606
0.776166
0.06385
0
0.27907
0
0
0.118407
0
0
0
0
0
0.116279
1
0.116279
false
0.069767
0.116279
0
0.27907
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3bcabfbd50ff81835e201d673c8538f5fbbffe1f
2,815
py
Python
resources/site-packages/projectx/util.py
projectx13/plugin.video.projectx
554664c27eb6433f189ea06b1e647992a7a7ea1b
[ "BSD-3-Clause" ]
null
null
null
resources/site-packages/projectx/util.py
projectx13/plugin.video.projectx
554664c27eb6433f189ea06b1e647992a7a7ea1b
[ "BSD-3-Clause" ]
null
null
null
resources/site-packages/projectx/util.py
projectx13/plugin.video.projectx
554664c27eb6433f189ea06b1e647992a7a7ea1b
[ "BSD-3-Clause" ]
null
null
null
import platform import re from kodi_six import xbmc, xbmcgui from kodi_six.utils import py2_encode from projectx.logger import log from projectx.osarch import PLATFORM from projectx.addon import ADDON, ADDON_NAME, ADDON_ICON def notify(message, header=ADDON_NAME, time=5000, image=ADDON_ICON): sound = ADDON.getS...
31.277778
104
0.655773
322
2,815
5.68323
0.357143
0.032787
0.032787
0.060656
0.064481
0.030601
0
0
0
0
0
0.017882
0.225222
2,815
89
105
31.629213
0.821183
0.024512
0
0.222222
0
0
0.075885
0
0
0
0
0
0
1
0.138889
false
0
0.125
0.013889
0.513889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3bd1f64f6b693d800ddc9725a5f1770f9a8b2a42
3,613
py
Python
Tools/Scripts/webkitpy/common/lru_cache_unittest.py
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
Tools/Scripts/webkitpy/common/lru_cache_unittest.py
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
Tools/Scripts/webkitpy/common/lru_cache_unittest.py
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
# Copyright (C) 2011 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the ...
38.43617
117
0.667036
538
3,613
4.299257
0.288104
0.069607
0.047557
0.06658
0.386511
0.315175
0.287938
0.276265
0.194553
0.194553
0
0.028159
0.194022
3,613
93
118
38.849462
0.76614
0.356767
0
0.163265
0
0
0.152174
0
0
0
0
0
0.306122
1
0.285714
false
0
0.040816
0
0.346939
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3bdd8b634adf8a8a92327b3d15ae1d6dd03fa7fa
10,976
py
Python
nowcasting_dataset/data_sources/fake.py
vnshanmukh/nowcasting_dataset
168305ba62abb035c4dbb2cf2089722b952e7311
[ "MIT" ]
null
null
null
nowcasting_dataset/data_sources/fake.py
vnshanmukh/nowcasting_dataset
168305ba62abb035c4dbb2cf2089722b952e7311
[ "MIT" ]
null
null
null
nowcasting_dataset/data_sources/fake.py
vnshanmukh/nowcasting_dataset
168305ba62abb035c4dbb2cf2089722b952e7311
[ "MIT" ]
null
null
null
""" To make fake Datasets Wanted to keep this out of the testing frame works, as other repos, might want to use this """ from typing import List import numpy as np import pandas as pd import xarray as xr from nowcasting_dataset.consts import NWP_VARIABLE_NAMES, SAT_VARIABLE_NAMES from nowcasting_dataset.data_sources...
28
100
0.648506
1,478
10,976
4.491204
0.133288
0.046098
0.042935
0.018078
0.557397
0.478457
0.420759
0.405092
0.366074
0.342121
0
0.018685
0.249089
10,976
391
101
28.071611
0.786702
0.144497
0
0.420849
0
0
0.049082
0.002389
0
0
0
0.01023
0
1
0.054054
false
0
0.050193
0
0.158301
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3bee78521a82d7cf9438790e450d474e64a66cc2
5,469
py
Python
gRPC/python/video_streaming/src/image_streaming_pb2.py
kaka-lin/Notes
c22e1d5ba14b94653c644448edb1d775913b05ec
[ "MIT" ]
null
null
null
gRPC/python/video_streaming/src/image_streaming_pb2.py
kaka-lin/Notes
c22e1d5ba14b94653c644448edb1d775913b05ec
[ "MIT" ]
6
2020-06-10T02:56:37.000Z
2022-02-27T10:13:12.000Z
gRPC/python/video_streaming/src/image_streaming_pb2.py
kaka-lin/Notes
c22e1d5ba14b94653c644448edb1d775913b05ec
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: image_streaming.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google...
34.613924
445
0.762845
648
5,469
6.112654
0.223765
0.045443
0.062358
0.068165
0.493815
0.472103
0.472103
0.472103
0.462509
0.448119
0
0.031627
0.121229
5,469
157
446
34.834395
0.792551
0.062717
0
0.553846
1
0.007692
0.188307
0.14079
0
0
0
0
0
1
0
false
0
0.030769
0
0.030769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bf24151473442e922825b7c34b0f8edd423c905
89,561
py
Python
basinmaker/hymodin/raveninput.py
dustming/basinmaker
9a49f4aa3daabf98fb1af61423e4c54309bd1417
[ "Artistic-2.0" ]
4
2021-04-07T19:26:55.000Z
2022-03-26T01:03:54.000Z
basinmaker/hymodin/raveninput.py
dustming/basinmaker
9a49f4aa3daabf98fb1af61423e4c54309bd1417
[ "Artistic-2.0" ]
4
2021-04-08T04:31:06.000Z
2021-04-09T15:02:50.000Z
basinmaker/hymodin/raveninput.py
dustming/basinmaker
9a49f4aa3daabf98fb1af61423e4c54309bd1417
[ "Artistic-2.0" ]
null
null
null
import copy import os import sqlite3 import urllib import shutil import urllib.request import numpy as np import pandas as pd from basinmaker.utilities.utilities import * def GenerateRavenInput( Path_final_hru_info="#", lenThres=1, iscalmanningn=-1, Startyear=-1, EndYear=-1, CA_HYDAT="#", ...
40.67257
208
0.569924
10,516
89,561
4.619152
0.078927
0.022234
0.03228
0.026989
0.639382
0.578096
0.523911
0.486444
0.43545
0.409079
0
0.017408
0.313049
89,561
2,201
209
40.69105
0.772121
0.383962
0
0.35067
1
0.000788
0.11228
0.020553
0
0
0
0
0
1
0.013396
false
0
0.012608
0
0.037037
0.007092
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce04fd90e3170ef585a254a2cb95f2180d3602a2
793
py
Python
flatblocks/admin.py
ixc/django-flatblocks
9dc0b29eb76f7b14a6c6153a94c60ded4022bdd3
[ "BSD-3-Clause" ]
null
null
null
flatblocks/admin.py
ixc/django-flatblocks
9dc0b29eb76f7b14a6c6153a94c60ded4022bdd3
[ "BSD-3-Clause" ]
null
null
null
flatblocks/admin.py
ixc/django-flatblocks
9dc0b29eb76f7b14a6c6153a94c60ded4022bdd3
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from django.utils.html import strip_tags from django.utils.text import Truncator from django.template.defaultfilters import striptags from flatblocks.models import FlatBlock class FlatBlockAdmin(admin.ModelAdmin): """ Project-specific alterations -- no headers, no adding, fixed s...
29.37037
79
0.702396
92
793
5.956522
0.586957
0.072993
0.054745
0
0
0
0
0
0
0
0
0.00311
0.189155
793
26
80
30.5
0.849145
0.084489
0
0
0
0
0.068245
0
0
0
0
0
0
1
0.105263
false
0
0.263158
0.052632
0.894737
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ce07e41778d9a8451983eda80466b0e51dd1876b
2,391
py
Python
examples/mod_branin/run_doe.py
OneraHub/WhatsOpt-Tutorial
12d14e04defa1d44e43c47486801af4bf1284987
[ "MIT" ]
4
2019-03-29T20:36:27.000Z
2021-09-14T23:34:30.000Z
examples/mod_branin/run_doe.py
OneraHub/WhatsOpt-Tutorial
12d14e04defa1d44e43c47486801af4bf1284987
[ "MIT" ]
null
null
null
examples/mod_branin/run_doe.py
OneraHub/WhatsOpt-Tutorial
12d14e04defa1d44e43c47486801af4bf1284987
[ "MIT" ]
1
2021-07-01T09:10:56.000Z
2021-07-01T09:10:56.000Z
# -*- coding: utf-8 -*- """ run_doe.py generated by WhatsOpt. """ # DO NOT EDIT unless you know what you are doing # analysis_id: 49 import numpy as np # import matplotlib # matplotlib.use('Agg') import matplotlib.pyplot as plt from openmdao.api import Problem, SqliteRecorder, CaseReader from whatsopt.smt_doe_drive...
25.98913
67
0.65161
362
2,391
4.207182
0.320442
0.059094
0.03283
0.023638
0.312541
0.270519
0.206172
0.206172
0.206172
0.206172
0
0.032181
0.129235
2,391
91
68
26.274725
0.699328
0.066918
0
0.196721
1
0
0.098782
0.009472
0
0
0
0
0
1
0
false
0
0.098361
0
0.098361
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce08922fdc939c9f381a264704e328dfa48493ad
922
py
Python
testing/vcs/test_vcs_put_png_on_canvas.py
xylar/cdat
8a5080cb18febfde365efc96147e25f51494a2bf
[ "BSD-3-Clause" ]
62
2018-03-30T15:46:56.000Z
2021-12-08T23:30:24.000Z
testing/vcs/test_vcs_put_png_on_canvas.py
xylar/cdat
8a5080cb18febfde365efc96147e25f51494a2bf
[ "BSD-3-Clause" ]
114
2018-03-21T01:12:43.000Z
2021-07-05T12:29:54.000Z
testing/vcs/test_vcs_put_png_on_canvas.py
CDAT/uvcdat
5133560c0c049b5c93ee321ba0af494253b44f91
[ "BSD-3-Clause" ]
14
2018-06-06T02:42:47.000Z
2021-11-26T03:27:00.000Z
import vcs import sys import argparse import vcs.testing.regression as regression import os p =argparse.ArgumentParser() p.add_argument("-H","--fitToHeight",default=True,action="store_false") p.add_argument("-u","--units",default="percent") p.add_argument("-x","--xoffset",default=0,type=float) p.add_argument("-y","--...
35.461538
117
0.745119
153
922
4.333333
0.424837
0.036199
0.108597
0.058824
0.282051
0.250377
0.250377
0.162896
0.162896
0.162896
0
0.014806
0.047722
922
25
118
36.88
0.740319
0
0
0
0
0
0.191974
0.044469
0
0
0
0
0
0
null
null
0
0.227273
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ce0a4e58a217ae7ec6fe3f92fc98c2489bfe5b64
1,964
py
Python
src/deeprace/models/tf_details/utils/misc/model_helpers.py
psteinb/deeprace
a3e6cbc83e466f86a76d91c2077349e4d69495c2
[ "BSD-3-Clause" ]
11
2018-03-02T15:21:26.000Z
2020-02-13T20:38:15.000Z
src/deeprace/models/tf_details/utils/misc/model_helpers.py
psteinb/deeprace
a3e6cbc83e466f86a76d91c2077349e4d69495c2
[ "BSD-3-Clause" ]
13
2018-03-23T16:45:27.000Z
2019-10-11T12:54:29.000Z
src/deeprace/models/tf_details/utils/misc/model_helpers.py
psteinb/deeprace
a3e6cbc83e466f86a76d91c2077349e4d69495c2
[ "BSD-3-Clause" ]
1
2018-11-26T23:20:10.000Z
2018-11-26T23:20:10.000Z
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
35.071429
84
0.689409
256
1,964
5.175781
0.488281
0.088302
0.036226
0.024151
0.087547
0.043774
0.043774
0
0
0
0
0.005185
0.214358
1,964
55
85
35.709091
0.853532
0.551426
0
0.105263
0
0
0.214634
0
0
0
0
0
0
1
0.052632
false
0.052632
0.263158
0
0.473684
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ce11d15367c8c6fbec8c90b614dc04d3b618c4d6
1,108
py
Python
src/expense/migrations/0004_auto_20210328_1725.py
dev-nislam2020/Expense-Manager
9dd1313f1c4073995d4fca2713dfbdb29f2dc8a7
[ "MIT" ]
null
null
null
src/expense/migrations/0004_auto_20210328_1725.py
dev-nislam2020/Expense-Manager
9dd1313f1c4073995d4fca2713dfbdb29f2dc8a7
[ "MIT" ]
null
null
null
src/expense/migrations/0004_auto_20210328_1725.py
dev-nislam2020/Expense-Manager
9dd1313f1c4073995d4fca2713dfbdb29f2dc8a7
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-28 11:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('expense', '0003_auto_20210310_0910'), ] operations = [ migrations.CreateModel( name='Budget', fields=[ ...
34.625
119
0.549639
112
1,108
5.303571
0.580357
0.075758
0.037037
0.080808
0.188552
0.107744
0
0
0
0
0
0.048469
0.292419
1,108
31
120
35.741935
0.709184
0.040614
0
0.08
1
0
0.111216
0.021678
0
0
0
0
0
1
0
false
0
0.04
0
0.16
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce11f9ed8c80a2aef52a1ddcde934d74d62fe00e
13,656
py
Python
visualisation/plot_date_list.py
DamienIrving/climate-analysis
4b9911101f85bde30ac6e7764119e6410d7f633d
[ "MIT" ]
37
2016-04-24T09:05:06.000Z
2021-11-08T08:47:40.000Z
visualisation/plot_date_list.py
YonSci/climate-analysis
4b9911101f85bde30ac6e7764119e6410d7f633d
[ "MIT" ]
35
2015-02-18T23:42:34.000Z
2017-03-12T01:33:48.000Z
visualisation/plot_date_list.py
YonSci/climate-analysis
4b9911101f85bde30ac6e7764119e6410d7f633d
[ "MIT" ]
16
2015-02-18T23:38:01.000Z
2022-02-17T08:39:29.000Z
# Import general Python modules import os, sys, pdb from datetime import datetime import argparse, numpy, pandas, calendar from pandas.tseries.resample import TimeGrouper from scipy import stats from itertools import groupby import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import seaborn seabo...
37.516484
167
0.657733
1,888
13,656
4.545551
0.209746
0.027966
0.015731
0.013983
0.21079
0.142275
0.112095
0.092286
0.06735
0.046376
0
0.01799
0.21031
13,656
363
168
37.619835
0.777819
0.023213
0
0.056277
0
0
0.118475
0.002478
0
0
0
0
0.012987
0
null
null
0
0.051948
null
null
0.025974
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ce16660f124b7cd8d6db00534495515b37f7baff
1,522
py
Python
explorer/basic_demos/relay_demo.py
JBerny/astroplant_explorer
09828599a7e0cc555685e12d31466029a29e6ae0
[ "BSD-2-Clause" ]
9
2019-09-14T05:58:23.000Z
2020-03-11T17:58:47.000Z
explorer/basic_demos/relay_demo.py
JBerny/astroplant_explorer
09828599a7e0cc555685e12d31466029a29e6ae0
[ "BSD-2-Clause" ]
10
2019-11-14T07:48:03.000Z
2020-04-29T12:12:08.000Z
explorer/basic_demos/relay_demo.py
JBerny/astroplant_explorer
09828599a7e0cc555685e12d31466029a29e6ae0
[ "BSD-2-Clause" ]
11
2019-09-19T14:30:33.000Z
2020-05-07T09:33:38.000Z
""" Demo/test program for the AE_Relay driver. See https://github.com/sensemakersamsterdam/astroplant_explorer """ # # (c) Sensemakersams.org and others. See https://github.com/sensemakersamsterdam/astroplant_explorer # Author: Gijs Mos # # Warning: if import of ae_* modules fails, then you need to set up PYTHONPATH. #...
27.672727
100
0.70565
246
1,522
4.284553
0.394309
0.075901
0.049336
0.032258
0.278937
0.212524
0.212524
0.053131
0
0
0
0.021374
0.13929
1,522
54
101
28.185185
0.783206
0.277924
0
0.235294
0
0
0.410517
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0.470588
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
ce1ff5ddbd33c5b98e3b629c84164f2bdd7f9204
548
py
Python
python-algorithm/leetcode/problem_680.py
isudox/leetcode-solution
60085e64deaf396a171367affc94b18114565c43
[ "MIT" ]
5
2017-06-11T09:19:34.000Z
2019-01-16T16:58:31.000Z
python-algorithm/leetcode/problem_680.py
isudox/leetcode-solution
60085e64deaf396a171367affc94b18114565c43
[ "MIT" ]
null
null
null
python-algorithm/leetcode/problem_680.py
isudox/leetcode-solution
60085e64deaf396a171367affc94b18114565c43
[ "MIT" ]
1
2019-03-02T15:50:43.000Z
2019-03-02T15:50:43.000Z
"""680. Valid Palindrome II https://leetcode.com/problems/valid-palindrome-ii/ """ class Solution: def validPalindrome(self, s: str) -> bool: def helper(i: int, j: int, flag: bool) -> bool: while i < j: if s[i] == s[j]: i += 1 j -= 1 ...
27.4
77
0.445255
67
548
3.641791
0.492537
0.086066
0.139344
0
0
0
0
0
0
0
0
0.029032
0.434307
548
19
78
28.842105
0.758065
0.136861
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ce21a405dcd732f6aeeac7f5018830f3c96c8287
14,763
py
Python
year-2021/day-19/part-1.py
sdatko/advent-of-code
04b53d9550b5a5bdd7d680607b03d6fca4b8f11e
[ "MIT" ]
4
2021-12-10T23:31:12.000Z
2021-12-15T23:10:05.000Z
year-2021/day-19/part-1.py
sdatko/advent-of-code-2020
04b53d9550b5a5bdd7d680607b03d6fca4b8f11e
[ "MIT" ]
1
2021-12-02T14:14:48.000Z
2021-12-02T14:14:48.000Z
year-2021/day-19/part-1.py
sdatko/advent-of-code-2020
04b53d9550b5a5bdd7d680607b03d6fca4b8f11e
[ "MIT" ]
1
2021-12-02T12:42:28.000Z
2021-12-02T12:42:28.000Z
#!/usr/bin/env python3 # # --- Day 19: Beacon Scanner --- # # As your probe drifted down through this area, it released an assortment # of beacons and scanners into the water. It's difficult to navigate in the # pitch black open waters of the ocean trench, but if you can build a map # of the trench using data from the ...
26.315508
79
0.601233
2,322
14,763
3.810939
0.352713
0.016273
0.015369
0.016273
0.090858
0.075828
0.051079
0.051079
0.051079
0.038987
0
0.23453
0.254555
14,763
560
80
26.3625
0.569287
0.711644
0
0.210526
0
0
0.032663
0
0
0
0
0
0
1
0.094737
false
0
0
0.052632
0.221053
0.021053
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce258a9f820fb140405def7d504a375084f602e1
7,517
py
Python
h1/models/billing_charges.py
hyperonecom/h1-client-python
4ce355852ba3120ec1b8f509ab5894a5c08da730
[ "MIT" ]
null
null
null
h1/models/billing_charges.py
hyperonecom/h1-client-python
4ce355852ba3120ec1b8f509ab5894a5c08da730
[ "MIT" ]
null
null
null
h1/models/billing_charges.py
hyperonecom/h1-client-python
4ce355852ba3120ec1b8f509ab5894a5c08da730
[ "MIT" ]
null
null
null
# coding: utf-8 """ HyperOne HyperOne API # noqa: E501 The version of the OpenAPI document: 0.1.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from h1.configuration import Configuration class BillingCharges(object): """NOTE: This class i...
24.808581
168
0.553678
879
7,517
4.612059
0.128555
0.047361
0.157869
0.142082
0.445979
0.377405
0.362605
0.242723
0.134188
0.043414
0
0.018741
0.346947
7,517
302
169
24.890728
0.807089
0.328855
0
0.089552
1
0
0.04284
0
0
0
0
0
0
1
0.164179
false
0
0.029851
0
0.328358
0.014925
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce25d37aafbc97fec22a0309c650f575f70cbab7
1,674
py
Python
tests/test_standard_definition.py
Kokitis/pyregions
c7da230128f1edb81ec1c6af39cbfdb27ffc049d
[ "MIT" ]
null
null
null
tests/test_standard_definition.py
Kokitis/pyregions
c7da230128f1edb81ec1c6af39cbfdb27ffc049d
[ "MIT" ]
null
null
null
tests/test_standard_definition.py
Kokitis/pyregions
c7da230128f1edb81ec1c6af39cbfdb27ffc049d
[ "MIT" ]
null
null
null
import pytest from pyregions import standard_definition @pytest.fixture def default_required_columns()->standard_definition.RequiredColumns: return standard_definition.RequiredColumns() def test_required_columns_using_default_values(default_required_columns): default_columns = [ 'regionCode', 'regionName', 'serie...
40.829268
136
0.801673
185
1,674
6.897297
0.318919
0.152821
0.189655
0.122257
0.568966
0.501567
0.501567
0.501567
0.463166
0.463166
0
0.005256
0.0908
1,674
41
137
40.829268
0.833114
0.058542
0
0.148148
0
0
0.221869
0
0
0
0
0
0.148148
1
0.111111
false
0
0.074074
0.037037
0.222222
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce2e20900251cbc56b88869673694627ee239ab8
11,173
py
Python
netapp/santricity/models/v2/device_asup_delivery.py
NetApp/santricity-webapi-pythonsdk
1d3df4a00561192f4cdcdd1890f4d27547ed2de2
[ "BSD-3-Clause-Clear" ]
5
2016-08-23T17:52:22.000Z
2019-05-16T08:45:30.000Z
netapp/santricity/models/v2/device_asup_delivery.py
NetApp/santricity-webapi-pythonsdk
1d3df4a00561192f4cdcdd1890f4d27547ed2de2
[ "BSD-3-Clause-Clear" ]
2
2016-11-10T05:30:21.000Z
2019-04-05T15:03:37.000Z
netapp/santricity/models/v2/device_asup_delivery.py
NetApp/santricity-webapi-pythonsdk
1d3df4a00561192f4cdcdd1890f4d27547ed2de2
[ "BSD-3-Clause-Clear" ]
7
2016-08-25T16:11:44.000Z
2021-02-22T05:31:25.000Z
# coding: utf-8 """ DeviceAsupDelivery.py The Clear BSD License Copyright (c) – 2016, NetApp, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are me...
32.291908
844
0.61756
1,274
11,173
5.229984
0.193093
0.033318
0.129671
0.075642
0.483566
0.426685
0.385412
0.289959
0.263845
0.166291
0
0.0013
0.311555
11,173
345
845
32.385507
0.864795
0.46317
0
0.12782
0
0
0.107582
0
0
0
0
0
0
1
0.180451
false
0.06015
0.015038
0
0.323308
0.007519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ce3cb03a715e8102f2185844a841b8969871321e
1,480
py
Python
zhihu/forms.py
guojy1314/stw1209
043889688c2ed55884b8ddde9cdf6949ee52f905
[ "MIT" ]
85
2018-07-15T06:45:59.000Z
2021-06-26T06:51:38.000Z
zhihu/forms.py
guojy1314/stw1209
043889688c2ed55884b8ddde9cdf6949ee52f905
[ "MIT" ]
8
2020-02-12T02:26:58.000Z
2022-03-12T00:08:05.000Z
zhihu/forms.py
guojy1314/stw1209
043889688c2ed55884b8ddde9cdf6949ee52f905
[ "MIT" ]
26
2019-01-26T18:05:11.000Z
2021-06-26T06:51:39.000Z
# -*- coding: utf-8 -*- from ckeditor_uploader.widgets import CKEditorUploadingWidget from django import forms from .models import Topic class CommentForm(forms.Form): '''回答评论表单''' comment = forms.CharField(label='评论', widget=forms.Textarea( attrs={'class': 'form-control', 'rows': '3'}), required=Tr...
41.111111
85
0.552027
134
1,480
6.067164
0.470149
0.068881
0.093481
0.077491
0.130381
0.130381
0.130381
0.130381
0.130381
0.130381
0
0.005871
0.309459
1,480
35
86
42.285714
0.789628
0.026351
0
0
0
0
0.107368
0
0
0
0
0
0
1
0
false
0
0.130435
0
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ce3e72818d6efb03fd7df954f67543558033613c
1,009
py
Python
wagtailmenus/migrations/0014_auto_20160423_1339.py
pierremanceaux/wagtailmenus
8e2e81e74fa37a9d4139c6be7158cd3d1429ac1d
[ "MIT" ]
329
2016-01-28T16:20:16.000Z
2022-01-31T03:43:54.000Z
wagtailmenus/migrations/0014_auto_20160423_1339.py
pierremanceaux/wagtailmenus
8e2e81e74fa37a9d4139c6be7158cd3d1429ac1d
[ "MIT" ]
337
2016-04-15T11:09:44.000Z
2022-01-31T10:01:32.000Z
wagtailmenus/migrations/0014_auto_20160423_1339.py
pierremanceaux/wagtailmenus
8e2e81e74fa37a9d4139c6be7158cd3d1429ac1d
[ "MIT" ]
105
2016-06-17T15:45:07.000Z
2022-01-21T21:23:56.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-04-23 12:39 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('wagtailmenus', '0013_auto_20160423_1124'), ] operations = [ migrations.Alter...
38.807692
239
0.670961
131
1,009
5.045802
0.534351
0.054463
0.075643
0.087746
0.565809
0.565809
0.565809
0.429652
0.429652
0.429652
0
0.041237
0.230922
1,009
25
240
40.36
0.810567
0.066402
0
0.333333
1
0.111111
0.41853
0.024494
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce3eb569a04f94a076944825cae356502fb311de
5,180
py
Python
swagger_client/models/get_characters_character_id_stats_character.py
rseichter/bootini-star
a80258f01a05e4df38748b8cb47dfadabd42c20d
[ "MIT" ]
null
null
null
swagger_client/models/get_characters_character_id_stats_character.py
rseichter/bootini-star
a80258f01a05e4df38748b8cb47dfadabd42c20d
[ "MIT" ]
null
null
null
swagger_client/models/get_characters_character_id_stats_character.py
rseichter/bootini-star
a80258f01a05e4df38748b8cb47dfadabd42c20d
[ "MIT" ]
null
null
null
# coding: utf-8 """ EVE Swagger Interface An OpenAPI for EVE Online # noqa: E501 OpenAPI spec version: 0.8.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class GetCharactersCharacterIdStatsCharacter(object): """NO...
30.292398
115
0.621622
557
5,180
5.574506
0.202873
0.042512
0.099195
0.13913
0.482448
0.365539
0.317874
0.243478
0.142029
0.024477
0
0.017563
0.296525
5,180
170
116
30.470588
0.834523
0.368919
0
0.068493
1
0
0.054424
0
0
0
0
0
0
1
0.164384
false
0
0.041096
0
0.369863
0.027397
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce3fb0aab527141c48636ba411c715d17636eb47
891
py
Python
go/bj.py
Abuzz1/janith
44a7b70a8f8acdffe0029b817b12864c2fcbcf73
[ "BSD-3-Clause" ]
1
2021-11-13T06:55:28.000Z
2021-11-13T06:55:28.000Z
go/bj.py
Abuzz1/janith
44a7b70a8f8acdffe0029b817b12864c2fcbcf73
[ "BSD-3-Clause" ]
2
2021-11-29T18:56:35.000Z
2022-03-31T03:41:08.000Z
go/bj.py
Abuzz1/edith
44a7b70a8f8acdffe0029b817b12864c2fcbcf73
[ "BSD-3-Clause" ]
null
null
null
class Blackjack(): def __init__(self, cards): self.cards = cards def hand(self): """makes a list of your card values Returns: list: e.g. [1, 12] """ deck = { 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, ...
18.5625
45
0.365881
99
891
3.242424
0.474747
0.11215
0.068536
0
0
0
0
0
0
0
0
0.087264
0.52413
891
47
46
18.957447
0.669811
0.14927
0
0.066667
0
0
0.007184
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1