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
df1ad8100dcd1599aeac7293650084668701e832
2,765
py
Python
tests/test_metadata.py
knownboyofno/PySIPmath
22521d0acaa74250fb7684b8eedbb3e6d044b4af
[ "MIT" ]
2
2021-11-11T03:47:58.000Z
2021-11-19T07:46:24.000Z
tests/test_metadata.py
knownboyofno/PySIPmath
22521d0acaa74250fb7684b8eedbb3e6d044b4af
[ "MIT" ]
null
null
null
tests/test_metadata.py
knownboyofno/PySIPmath
22521d0acaa74250fb7684b8eedbb3e6d044b4af
[ "MIT" ]
3
2021-11-11T18:14:04.000Z
2021-11-22T07:53:30.000Z
import unittest from unittest.mock import ANY, patch from tests.fixtures.fit import fit_fixture from pandas import DataFrame from .context import PySIP class MetadataTestSuite(unittest.TestCase): """Metadata test cases.""" @patch("metalog.metalog.fit") @patch("json.dump") @patch("builtins.open") ...
35.909091
89
0.600362
276
2,765
5.894928
0.402174
0.024585
0.031346
0.027044
0.398279
0.398279
0.398279
0.398279
0.398279
0.360172
0
0.392335
0.282821
2,765
76
90
36.381579
0.428139
0.053888
0
0.268657
0
0
0.080107
0
0
0
0
0
0.029851
1
0.029851
false
0
0.074627
0
0.119403
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
df1b51fe6d72128fafb48b80c98baaeec85bd5b2
2,643
py
Python
Tools/BlenderPlugins/scripts/addons/zmey_properties/ui.py
nikoladimitroff/Zmey
4bcea8d66cd3452c532fa68286aa03ad8528a3b4
[ "MIT" ]
22
2017-05-06T18:08:48.000Z
2022-01-12T02:10:22.000Z
Tools/BlenderPlugins/scripts/addons/zmey_properties/ui.py
nikoladimitroff/Zmey
4bcea8d66cd3452c532fa68286aa03ad8528a3b4
[ "MIT" ]
21
2017-12-11T18:42:49.000Z
2018-08-27T23:13:47.000Z
Tools/BlenderPlugins/scripts/addons/zmey_properties/ui.py
nikoladimitroff/Zmey
4bcea8d66cd3452c532fa68286aa03ad8528a3b4
[ "MIT" ]
null
null
null
import bpy # Lists class ZmeySceneTypeList(bpy.types.UIList): def draw_item(self, context, layout, data, item, icon, active_data, active_propname): if item: layout.prop(item, "name", text="", emboss=False) # Panels class ZmeyWorldPropertyPanel(bpy.types.Panel): """Zmey Scene Type...
33.884615
98
0.631858
306
2,643
5.281046
0.228758
0.033416
0.044554
0.029703
0.17698
0.132426
0.101485
0.059406
0.059406
0.059406
0
0
0.248203
2,643
78
99
33.884615
0.813286
0.023837
0
0.135593
0
0
0.106742
0.008828
0
0
0
0
0
1
0.118644
false
0
0.016949
0.016949
0.372881
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df1c101105dbb3aa73b19593c5a7ea69af113861
3,710
py
Python
models/base_model.py
weigq/UDA-1
4f97980980cafd0a2d02a77211ac7dbaf3e331f6
[ "MIT" ]
32
2021-11-08T15:45:30.000Z
2022-03-30T09:08:57.000Z
models/base_model.py
weigq/UDA-1
4f97980980cafd0a2d02a77211ac7dbaf3e331f6
[ "MIT" ]
3
2021-11-16T02:38:51.000Z
2022-02-21T13:29:58.000Z
models/base_model.py
weigq/UDA-1
4f97980980cafd0a2d02a77211ac7dbaf3e331f6
[ "MIT" ]
4
2021-11-09T02:53:18.000Z
2021-12-21T22:11:35.000Z
# -------------------------------------------------------- # Copyright (c) 2021 Microsoft # Licensed under The MIT License # -------------------------------------------------------- import torch.nn as nn from utils.torch_funcs import init_weights_fc, init_weights_fc0, init_weights_fc1, init_weights_fc2 __all__ = ['B...
33.125
99
0.523181
473
3,710
3.902748
0.238901
0.029252
0.045504
0.03467
0.191766
0.145179
0.145179
0.128927
0.050921
0
0
0.026656
0.332615
3,710
111
100
33.423423
0.718901
0.093531
0
0.098765
0
0
0.044277
0
0
0
0
0
0.024691
1
0.098765
false
0
0.024691
0.024691
0.246914
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df1dccd9ff34ca962f5ad0f1937db2627fe3e1bb
955
py
Python
amaascore/parties/fund.py
amaas-fintech/amaas-core-sdk-python
bd77884de6e5ab05d864638addeb4bb338a51183
[ "Apache-2.0" ]
null
null
null
amaascore/parties/fund.py
amaas-fintech/amaas-core-sdk-python
bd77884de6e5ab05d864638addeb4bb338a51183
[ "Apache-2.0" ]
8
2017-06-06T09:42:41.000Z
2018-01-16T10:16:16.000Z
amaascore/parties/fund.py
amaas-fintech/amaas-core-sdk-python
bd77884de6e5ab05d864638addeb4bb338a51183
[ "Apache-2.0" ]
8
2017-01-18T04:14:01.000Z
2017-12-01T08:03:10.000Z
from __future__ import absolute_import, division, print_function, unicode_literals from amaascore.parties.company import Company class Fund(Company): def __init__(self, asset_manager_id, party_id, base_currency, description='', party_status='Active', display_name='', legal_name='', url='', ...
53.055556
117
0.60733
96
955
5.666667
0.40625
0.066176
0.077206
0.069853
0.134191
0
0
0
0
0
0
0
0.303665
955
17
118
56.176471
0.818045
0
0
0
0
0
0.006283
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.307692
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df1f7424ab7fa292579e8d0035b5a3d3e34ed234
1,127
py
Python
django_flex_user/tests/serializers/test_phone_token_serializer.py
ebenh/django-flex-user
efffb21e4ce33d2ea8665756334e2a391f4b5a72
[ "MIT" ]
1
2021-09-13T20:26:02.000Z
2021-09-13T20:26:02.000Z
django_flex_user/tests/serializers/test_phone_token_serializer.py
ebenh/django-flex-user
efffb21e4ce33d2ea8665756334e2a391f4b5a72
[ "MIT" ]
null
null
null
django_flex_user/tests/serializers/test_phone_token_serializer.py
ebenh/django-flex-user
efffb21e4ce33d2ea8665756334e2a391f4b5a72
[ "MIT" ]
null
null
null
from django.test import TestCase class TestPhoneTokenSerializer(TestCase): """ This class is designed to test django_flex_user.serializers.PhoneTokenSerializer """ def setUp(self): from django_flex_user.models.user import FlexUser self.user = FlexUser.objects.create_user(phone='+1202...
33.147059
102
0.652174
121
1,127
5.950413
0.504132
0.069444
0.058333
0.069444
0.061111
0
0
0
0
0
0
0.015458
0.253771
1,127
33
103
34.151515
0.840666
0.19787
0
0
0
0
0.129797
0.08465
0
0
0
0
0.052632
1
0.105263
false
0
0.263158
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df2229a266aa3449cafdcf8c1cb50cc3ad9193bc
367
py
Python
validation_messages.py
PaulinaKomorek/Order-Form
7c56852e4367d6dd80fd9b500bf4e4ae4d4e06f6
[ "MIT" ]
1
2020-04-13T12:25:53.000Z
2020-04-13T12:25:53.000Z
validation_messages.py
PaulinaKomorek/Order-Form
7c56852e4367d6dd80fd9b500bf4e4ae4d4e06f6
[ "MIT" ]
null
null
null
validation_messages.py
PaulinaKomorek/Order-Form
7c56852e4367d6dd80fd9b500bf4e4ae4d4e06f6
[ "MIT" ]
null
null
null
validation_messages = { "en": { "e-mail": "Invalid e-mail address.", "telephone": "Invalid telephone number.", "code": "Invalid postal code." }, "pl": { "e-mail": "Niewłaściwy adres e-mail.", "telephone": "Niewłaściwy format numeru telefonu.", "code": ...
22.9375
59
0.544959
34
367
5.852941
0.558824
0.100503
0
0
0
0
0
0
0
0
0
0
0.297003
367
15
60
24.466667
0.771318
0
0
0
0
0
0.558583
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df227861def510f0f5f06f374d8f1e4544483d6a
44
py
Python
redistrib/exceptions.py
sunyi00/redis-trib.py
6b25af25d691b7578cc4c683c044905401b3e870
[ "MIT" ]
null
null
null
redistrib/exceptions.py
sunyi00/redis-trib.py
6b25af25d691b7578cc4c683c044905401b3e870
[ "MIT" ]
null
null
null
redistrib/exceptions.py
sunyi00/redis-trib.py
6b25af25d691b7578cc4c683c044905401b3e870
[ "MIT" ]
1
2018-09-27T09:52:53.000Z
2018-09-27T09:52:53.000Z
class RedisStatusError(Exception): pass
14.666667
34
0.772727
4
44
8.5
1
0
0
0
0
0
0
0
0
0
0
0
0.159091
44
2
35
22
0.918919
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
df22cf9c0f6508e6a9593a1891b29ac8e1818c64
637
py
Python
python/1021_remove_outermost_parentheses.py
liaison/LeetCode
8b10a1f6bbeb3ebfda99248994f7c325140ee2fd
[ "MIT" ]
17
2016-03-01T22:40:53.000Z
2021-04-19T02:15:03.000Z
python/1021_remove_outermost_parentheses.py
liaison/LeetCode
8b10a1f6bbeb3ebfda99248994f7c325140ee2fd
[ "MIT" ]
null
null
null
python/1021_remove_outermost_parentheses.py
liaison/LeetCode
8b10a1f6bbeb3ebfda99248994f7c325140ee2fd
[ "MIT" ]
3
2019-03-07T03:48:43.000Z
2020-04-05T01:11:36.000Z
class Solution: def removeOuterParentheses(self, s: str) -> str: stack = [] start = 0 primitives = [] # retrieve all the primitives for index, letter in enumerate(s): if letter == "(": stack.append(letter) else: stack.p...
26.541667
55
0.486656
60
637
5.166667
0.533333
0.070968
0.070968
0
0
0
0
0
0
0
0
0.016043
0.412873
637
23
56
27.695652
0.812834
0.092622
0
0
0
0
0.001742
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df234c85802f9c15bc9466661d8b752a7a594bd0
8,009
py
Python
edkrepo/commands/checkout_pin_command.py
nate-desimone/edk2-edkrepo
a3f30d275afce0467a38b3d2e3194a710f8c0e22
[ "BSD-2-Clause-Patent" ]
4
2021-04-18T22:04:59.000Z
2022-03-31T03:59:17.000Z
edkrepo/commands/checkout_pin_command.py
nate-desimone/edk2-edkrepo
a3f30d275afce0467a38b3d2e3194a710f8c0e22
[ "BSD-2-Clause-Patent" ]
19
2021-04-06T21:07:29.000Z
2022-03-25T17:17:25.000Z
edkrepo/commands/checkout_pin_command.py
nate-desimone/edk2-edkrepo
a3f30d275afce0467a38b3d2e3194a710f8c0e22
[ "BSD-2-Clause-Patent" ]
9
2021-03-16T23:13:09.000Z
2021-11-20T09:19:38.000Z
#!/usr/bin/env python3 # ## @file # checkout_pin_command.py # # Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.<BR> # SPDX-License-Identifier: BSD-2-Clause-Patent # import os from git import Repo from edkrepo.commands.edkrepo_command import EdkrepoCommand, OverrideArgument, SourceMani...
55.618056
164
0.710326
972
8,009
5.547325
0.169753
0.025593
0.022255
0.024666
0.393361
0.301187
0.259829
0.217915
0.188242
0.125556
0
0.001747
0.213635
8,009
143
165
56.006993
0.854398
0.038457
0
0.083333
0
0
0.021071
0
0
0
0
0
0
1
0.041667
false
0
0.141667
0
0.25
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df24d31f00fafdf9649aee8146b7fac334d4cd87
634
py
Python
multiple_futures_prediction/cmd/train_carla_cmd.py
cpacker/multiple-futures-prediction-carla
dfc97ab6d55976f86509883c7541b0920266472e
[ "AML" ]
6
2021-07-29T03:36:50.000Z
2022-03-07T21:13:25.000Z
multiple_futures_prediction/cmd/train_carla_cmd.py
cpacker/multiple-futures-prediction-carla
dfc97ab6d55976f86509883c7541b0920266472e
[ "AML" ]
1
2021-11-04T14:31:58.000Z
2021-11-25T07:42:54.000Z
multiple_futures_prediction/cmd/train_carla_cmd.py
cpacker/multiple-futures-prediction-carla
dfc97ab6d55976f86509883c7541b0920266472e
[ "AML" ]
1
2021-08-11T08:36:54.000Z
2021-08-11T08:36:54.000Z
from typing import List, Set, Dict, Tuple, Optional, Union, Any from multiple_futures_prediction.train_carla import train, Params import gin import argparse def parse_args() -> Any: parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument('--config', type=str, de...
31.7
119
0.774448
82
634
5.682927
0.52439
0.096567
0.160944
0
0
0
0
0
0
0
0
0.001783
0.115142
634
19
120
33.368421
0.828877
0.184543
0
0
0
0
0.031068
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df25072fc6ba2811f192af90776038fc94d1abb2
2,215
py
Python
conformalmapping/mobiusbase.py
TorbenFricke/cmtoolkit
f1bf1ec191fd9b20e6edcd3385c8b9fee1d638ca
[ "BSD-3-Clause" ]
16
2017-10-14T17:13:48.000Z
2022-01-11T22:19:45.000Z
conformalmapping/mobiusbase.py
TorbenFricke/cmtoolkit
f1bf1ec191fd9b20e6edcd3385c8b9fee1d638ca
[ "BSD-3-Clause" ]
11
2015-05-11T08:02:42.000Z
2020-05-21T16:13:45.000Z
conformalmapping/mobiusbase.py
TorbenFricke/cmtoolkit
f1bf1ec191fd9b20e6edcd3385c8b9fee1d638ca
[ "BSD-3-Clause" ]
3
2019-12-31T23:07:29.000Z
2021-03-08T02:05:38.000Z
# This file is a part of the CMToolbox. # It is licensed under the BSD 3-clause license. # (See LICENSE.) # # Copyright Toby Driscoll, 2014. # (Re)written by Everett Kropf, 2014, # adapted from code by Toby Driscoll, originally 20??. # Python Port Copyright Andrew Walker, 2015 import numpy as np from .conformalmap impo...
27.6875
76
0.528217
331
2,215
3.438066
0.338369
0.039543
0.057118
0.017575
0.142355
0.084359
0.056239
0
0
0
0
0.037698
0.317381
2,215
79
77
28.037975
0.714947
0.186907
0
0.150943
0
0
0.052809
0
0
0
0
0.012658
0.018868
1
0.132075
false
0
0.056604
0.018868
0.415094
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
df250a4194a7dab451b6efac9277905f30e795d0
9,263
py
Python
DynamicETLDashboard/DynamicETL_Dashboard/Database/postgres.py
BRutan/DynamicETLDashboard
8a40e6f51e53f084d6103ba41cd675916505652f
[ "MIT" ]
null
null
null
DynamicETLDashboard/DynamicETL_Dashboard/Database/postgres.py
BRutan/DynamicETLDashboard
8a40e6f51e53f084d6103ba41cd675916505652f
[ "MIT" ]
null
null
null
DynamicETLDashboard/DynamicETL_Dashboard/Database/postgres.py
BRutan/DynamicETLDashboard
8a40e6f51e53f084d6103ba41cd675916505652f
[ "MIT" ]
null
null
null
##################################### # Database/postgres.py ##################################### # Description: # * Objects related to interacting # with SQL database that uses PostGres # as SQL flavor language. from Database.base import DBInterface, TableObject from Database.columnattributes import ColumnAttributes...
37.052
142
0.542049
916
9,263
5.429039
0.257642
0.016087
0.02413
0.013071
0.207722
0.139151
0.11301
0.086065
0.063141
0.063141
0
0.004979
0.327864
9,263
250
143
37.052
0.793768
0.175861
0
0.290541
0
0.006757
0.143497
0.020376
0
0
0
0
0
1
0.060811
false
0.033784
0.040541
0
0.162162
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df28edb21e9e2817d36879bcf07649fe6ff3f212
1,492
py
Python
CNN/Pooling/pooling_fig.py
Anfany/Machine-Learning-for-Beginner
1022ee7ce4d387da5e5fd8c3b66ac9b1bfc1974c
[ "MIT" ]
397
2018-05-28T02:07:32.000Z
2022-03-30T09:53:37.000Z
CNN/Pooling/pooling_fig.py
976634681/Machine-Learning-for-Beginner-by-Python3
d9effcbb1b390dc608a0f4c0a28f0ad03892047a
[ "MIT" ]
4
2019-01-14T16:41:02.000Z
2021-03-11T13:23:06.000Z
CNN/Pooling/pooling_fig.py
976634681/Machine-Learning-for-Beginner-by-Python3
d9effcbb1b390dc608a0f4c0a28f0ad03892047a
[ "MIT" ]
235
2018-06-28T05:31:40.000Z
2022-03-11T03:20:07.000Z
# -*- coding:utf-8 -*- # &Author AnFany # 不同池化得到的图片对比 import pooling as p from skimage import io from PIL import Image import numpy as np def generate_fig(fig, file, func): """ # 首先读取图片的矩阵,然各三个通道各自池化,将得到的结果合成为图片矩阵,最后根据矩阵显示图片 :param fig: 需要处理的图片的路径 :param file: 最周保存图片的路径 :retur...
19.893333
71
0.571716
197
1,492
4.167513
0.456853
0.06821
0.136419
0.043849
0.121803
0.077954
0
0
0
0
0
0.041985
0.297587
1,492
74
72
20.162162
0.741412
0.202413
0
0
1
0
0.076056
0.062911
0
0
0
0
0
1
0.032258
false
0
0.129032
0
0.193548
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
df2a420e9ab168f15ae231c9d5d4b6cf8fdecd25
2,406
py
Python
tpot/built_in_operators.py
ensemblr/hacking-sklearn
9168bd5fcfc8a50cffa3dfdbb5050addcc8e173b
[ "MIT" ]
null
null
null
tpot/built_in_operators.py
ensemblr/hacking-sklearn
9168bd5fcfc8a50cffa3dfdbb5050addcc8e173b
[ "MIT" ]
null
null
null
tpot/built_in_operators.py
ensemblr/hacking-sklearn
9168bd5fcfc8a50cffa3dfdbb5050addcc8e173b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Copyright 2015-Present Randal S. Olson This file is part of the TPOT library. TPOT is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your...
31.657895
176
0.66251
342
2,406
4.523392
0.435673
0.069813
0.023271
0.036846
0.218487
0.197802
0.144796
0.10084
0.047835
0
0
0.006753
0.26143
2,406
75
177
32.08
0.863815
0.540316
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.173913
false
0.043478
0.130435
0.043478
0.521739
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
df2cb546e59d1e0f0b0e034c6d5c8d0552eb31b0
148
py
Python
FATS/__init__.py
cridonoso/FATS-slim
a79429d87bb74f430bcbf72a5b3cf1bfb12908c1
[ "MIT" ]
68
2015-07-08T06:39:53.000Z
2022-03-31T16:34:16.000Z
FATS/__init__.py
cridonoso/FATS-slim
a79429d87bb74f430bcbf72a5b3cf1bfb12908c1
[ "MIT" ]
7
2017-04-01T04:03:57.000Z
2020-02-27T02:50:21.000Z
FATS/__init__.py
cridonoso/FATS-slim
a79429d87bb74f430bcbf72a5b3cf1bfb12908c1
[ "MIT" ]
45
2015-08-06T20:11:05.000Z
2022-03-31T16:34:26.000Z
from .import_lightcurve import ReadLC_MACHO from .Feature import FeatureSpace from .alignLC import Align_LC from .PreprocessLC import Preprocess_LC
29.6
43
0.864865
20
148
6.2
0.6
0
0
0
0
0
0
0
0
0
0
0
0.108108
148
4
44
37
0.939394
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
df2cdfceefa5a4090e5ad33a71db056311e13ea0
25,217
py
Python
mods/Protection.py
VinMannie/BombSquad-Community-Mod-Manager
d80d8bfe5c9bae422990df0df78e6098f379b27d
[ "Unlicense" ]
3
2018-12-31T01:34:57.000Z
2020-08-12T18:50:40.000Z
mods/Protection.py
EternalARK/BombSquad-Community-Mod-Manager
aa9318217a5bd86d2b897208536a8caf69fda939
[ "Unlicense" ]
null
null
null
mods/Protection.py
EternalARK/BombSquad-Community-Mod-Manager
aa9318217a5bd86d2b897208536a8caf69fda939
[ "Unlicense" ]
2
2021-02-03T06:43:01.000Z
2021-05-09T09:23:34.000Z
import bs import random import bsUtils def bsGetAPIVersion(): # see bombsquadgame.com/apichanges return 4 def bsGetGames(): return [ProtectionGame] class SpazClone(bs.SpazBot): def __init__(self, player): self.character = player.character self.color = player.color self.hi...
46.016423
140
0.511679
2,480
25,217
5.158871
0.212903
0.041582
0.025246
0.014069
0.25723
0.200016
0.157418
0.136314
0.12162
0.12162
0
0.024905
0.386961
25,217
547
141
46.100548
0.802704
0.101558
0
0.286713
0
0
0.07109
0.000929
0
0
0
0
0
0
null
null
0
0.006993
null
null
0.011655
0
0
0
null
0
0
0
0
0
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
df2df1da0ca98a017a823acaaefd712f2d812056
2,612
py
Python
scripts/write_NAICS_07_to_17_Crosswalk.py
cchiq/flowsa
fc21e8da7c3ba66ca4ae4a0c72f568af7ef5e6c0
[ "CC0-1.0" ]
null
null
null
scripts/write_NAICS_07_to_17_Crosswalk.py
cchiq/flowsa
fc21e8da7c3ba66ca4ae4a0c72f568af7ef5e6c0
[ "CC0-1.0" ]
null
null
null
scripts/write_NAICS_07_to_17_Crosswalk.py
cchiq/flowsa
fc21e8da7c3ba66ca4ae4a0c72f568af7ef5e6c0
[ "CC0-1.0" ]
null
null
null
# write_NAICS_from_Census.py (scripts) # !/usr/bin/env python3 # coding=utf-8 """ Uses a csv file manually loaded, originally from USEEIOR (4/18/2020), to form base NAICS crosswalk from 2007-2017 Loops through the source crosswalks to find any NAICS not in offical Census NAICS Code list. Adds the additional NAICS to ...
37.855072
118
0.761103
395
2,612
4.848101
0.344304
0.075196
0.073107
0.028198
0.098172
0.098172
0.06893
0.037598
0
0
0
0.026257
0.13974
2,612
68
119
38.411765
0.82599
0.484686
0
0
0
0
0.157895
0.060259
0
0
0
0
0
1
0
false
0
0.130435
0
0.130435
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df2e85e1bf6d4c5bdffa79943cdcf80beaa21932
4,662
py
Python
lwtestsuite/bvttest/xlwt-0.7.2/tests/RKbug.py
kbore/pbis-open
a05eb9309269b6402b4d6659bc45961986ea5eab
[ "Apache-2.0" ]
372
2016-10-28T10:50:35.000Z
2022-03-18T19:54:37.000Z
lwtestsuite/bvttest/xlwt-0.7.2/tests/RKbug.py
kbore/pbis-open
a05eb9309269b6402b4d6659bc45961986ea5eab
[ "Apache-2.0" ]
317
2016-11-02T17:41:48.000Z
2021-11-08T20:28:19.000Z
contrib/xlwt/tests/RKbug.py
RyanBalfanz/Django-Bingo
0ba9f893c78fae1a5fb5eb45e43b36783d930e25
[ "BSD-3-Clause" ]
107
2016-11-03T19:25:16.000Z
2022-03-20T21:15:22.000Z
from xlwt import * import sys from struct import pack, unpack def cellname(rowx, colx): # quick kludge, works up to 26 cols :-) return chr(ord('A') + colx) + str(rowx + 1) def RK_pack_check(num, anint, case=None): if not(-0x7fffffff - 1 <= anint <= 0x7fffffff): print "RK_pack_check: not ...
31.5
90
0.51287
624
4,662
3.698718
0.270833
0.035095
0.042894
0.030329
0.248267
0.227036
0.227036
0.201906
0.177643
0.135182
0
0.122483
0.360789
4,662
147
91
31.714286
0.652013
0.16731
0
0.080357
0
0.008929
0.076987
0
0
0
0.050402
0
0
0
null
null
0
0.026786
null
null
0.098214
0
0
0
null
0
0
0
0
0
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
df30c65c005e4996721841cf4d4cd23814b2376e
7,843
py
Python
tools/include_tracer.py
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-04T02:36:53.000Z
2016-06-25T11:22:17.000Z
tools/include_tracer.py
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
tools/include_tracer.py
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2015-02-09T08:49:30.000Z
2017-08-26T02:03:34.000Z
#!/usr/bin/env python # Copyright (c) 2011 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # based on an almost identical script by: jyrki@google.com (Jyrki Alakuijala) """Prints out include dependencies in chrome. Since ...
38.635468
77
0.740405
1,061
7,843
5.351555
0.235627
0.179641
0.245157
0.337091
0.576964
0.518845
0.339204
0.109017
0.017964
0.017964
0
0.003873
0.111182
7,843
202
78
38.826733
0.810644
0.076246
0
0.055556
0
0
0.689248
0.658362
0
0
0
0.004951
0
0
null
null
0
0.018519
null
null
0.030864
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
1
0
0
0
0
0
0
0
0
5
df3131e54cecde3ec2464b9bff8f0efb877b6437
50
py
Python
gaft/operators/selection/__init__.py
lizhaofu/gaft
883ce7d5b7b48e9cb3d1d4819570c42b69f3f679
[ "MIT" ]
null
null
null
gaft/operators/selection/__init__.py
lizhaofu/gaft
883ce7d5b7b48e9cb3d1d4819570c42b69f3f679
[ "MIT" ]
null
null
null
gaft/operators/selection/__init__.py
lizhaofu/gaft
883ce7d5b7b48e9cb3d1d4819570c42b69f3f679
[ "MIT" ]
null
null
null
''' Package for built-in selection operators '''
16.666667
48
0.7
6
50
5.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.16
50
2
49
25
0.833333
0.8
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
df3143b0672c260639f676129c3bf8201d95041c
10,098
py
Python
posttologmet.py
ibm-cloud-architecture/MonitorOpenWhiskActivations
a8fae2304a4bb51a6ed7c4eec4b1817662873dc2
[ "Apache-2.0" ]
2
2018-01-19T19:26:24.000Z
2018-08-14T12:55:30.000Z
posttologmet.py
ibm-cloud-architecture/MonitorOpenWhiskActivations
a8fae2304a4bb51a6ed7c4eec4b1817662873dc2
[ "Apache-2.0" ]
null
null
null
posttologmet.py
ibm-cloud-architecture/MonitorOpenWhiskActivations
a8fae2304a4bb51a6ed7c4eec4b1817662873dc2
[ "Apache-2.0" ]
2
2018-01-19T19:25:47.000Z
2019-10-23T16:35:04.000Z
import sys, requests, json def main(dict): print 'Received data' print dict missing_values = [] required_values = ['logmet_host', 'logmet_port', 'space_id', 'logmet_token'] for key in required_values: if not key in dict: missing_values.append(key) if len(missing_values) > 0: return {'re...
29.526316
111
0.553674
1,164
10,098
4.627148
0.2311
0.031563
0.026736
0.015782
0.344783
0.293353
0.235797
0.206647
0.206647
0.206647
0
0.013489
0.339275
10,098
341
112
29.612903
0.793765
0.091899
0
0.328947
0
0
0.103813
0
0
0
0
0
0.013158
0
null
null
0
0.030702
null
null
0.030702
0
0
0
null
0
0
0
0
0
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
df317360fd387a84ff0e026f66ae71e5d980bda4
495
py
Python
djexperience/crm/tests/test_model_phoneemployee.py
rg3915/django-experience-2016
76adaa55c537f3b9fa48b601d4a97fd6e04371c0
[ "MIT" ]
1
2022-01-01T22:19:49.000Z
2022-01-01T22:19:49.000Z
djexperience/crm/tests/test_model_phoneemployee.py
rg3915/django-experience-2016
76adaa55c537f3b9fa48b601d4a97fd6e04371c0
[ "MIT" ]
null
null
null
djexperience/crm/tests/test_model_phoneemployee.py
rg3915/django-experience-2016
76adaa55c537f3b9fa48b601d4a97fd6e04371c0
[ "MIT" ]
null
null
null
from django.test import TestCase from djexperience.crm.models import PhoneEmployee, Employee from .data import EMPLOYEE_DICT class PhoneEmployeeTest(TestCase): def setUp(self): self.employee = Employee.objects.create(**EMPLOYEE_DICT) phone = PhoneEmployee( phone='11 98765-4321', ...
26.052632
64
0.664646
53
495
6.132075
0.528302
0.073846
0
0
0
0
0
0
0
0
0
0.029333
0.242424
495
18
65
27.5
0.837333
0
0
0
0
0
0.032323
0
0
0
0
0
0.071429
1
0.142857
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df32ca1463cd1cb6d8d2a34bb9db9fda93314381
1,008
py
Python
esk/secrets/main.py
esk8s/esk
0e559fbec7e70be140afac0c8961700f8145e704
[ "Apache-2.0" ]
1
2021-04-08T13:07:18.000Z
2021-04-08T13:07:18.000Z
esk/secrets/main.py
esk8s/esk
0e559fbec7e70be140afac0c8961700f8145e704
[ "Apache-2.0" ]
null
null
null
esk/secrets/main.py
esk8s/esk
0e559fbec7e70be140afac0c8961700f8145e704
[ "Apache-2.0" ]
null
null
null
import base64 import json import random import string from os import remove from hashlib import sha256 from cryptography.hazmat.primitives.ciphers.aead import AESGCM def get_nonce(): chars = string.ascii_letters + string.digits result_str = "".join(random.choice(chars) for _ in range(12)) return result_str ...
22.909091
88
0.696429
143
1,008
4.783217
0.41958
0.023392
0.04386
0.052632
0.160819
0.160819
0.160819
0.160819
0.160819
0.160819
0
0.024823
0.160714
1,008
43
89
23.44186
0.783688
0
0
0.074074
0
0
0.02381
0
0
0
0
0
0
1
0.259259
false
0
0.259259
0.037037
0.703704
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
df3432d6e2a094c4246fd08ba4fe7e3f3b600158
369
py
Python
Day 25 - CSVs, Pandas and US States Game/CSV & Pandas Intro/testing_stuff.py
ArielMAJ/100-days-of-code
995f5ca092c2cf345a500cbd70fdb25f4361f183
[ "MIT" ]
null
null
null
Day 25 - CSVs, Pandas and US States Game/CSV & Pandas Intro/testing_stuff.py
ArielMAJ/100-days-of-code
995f5ca092c2cf345a500cbd70fdb25f4361f183
[ "MIT" ]
null
null
null
Day 25 - CSVs, Pandas and US States Game/CSV & Pandas Intro/testing_stuff.py
ArielMAJ/100-days-of-code
995f5ca092c2cf345a500cbd70fdb25f4361f183
[ "MIT" ]
null
null
null
# with open('./weather_data.csv') as f: # data = [line.split(',') for line in f.read().split('\n')] # print(data) # # import csv # # with open('weather_data.csv') as f: # data = csv.reader(f) # temperature = [] # for row in data: # try: # temperature.append(int(row[1])) # exc...
23.0625
63
0.533875
47
369
4.148936
0.510638
0.107692
0.153846
0.194872
0.297436
0.297436
0.297436
0.297436
0
0
0
0.003774
0.281843
369
15
64
24.6
0.732075
0.915989
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
df3496517f3326067454cbe31d1f7cc89ddd076e
4,519
py
Python
src/parse_RAF.py
vtt-project/VTT_vid_emotion-1
e142d7dcab5343de217088face2127d5cb9add07
[ "MIT" ]
4
2019-04-29T02:20:21.000Z
2021-05-03T00:03:04.000Z
src/parse_RAF.py
vtt-project/VTT_vid_emotion-1
e142d7dcab5343de217088face2127d5cb9add07
[ "MIT" ]
null
null
null
src/parse_RAF.py
vtt-project/VTT_vid_emotion-1
e142d7dcab5343de217088face2127d5cb9add07
[ "MIT" ]
1
2019-12-16T05:02:55.000Z
2019-12-16T05:02:55.000Z
# preliminaries import sys,os,time,cv2 import numpy as np import matplotlib.pyplot as plt from utils import imread_to_rgb, img_rgb2bw DB_PATH = '/home/jhchoi/datasets4/RAF/' raf_dict = dict() #FER: 0=angry, 1=disgust, 2=fear, 3=happy, 4=sad, 5=surprise, 6=neutral #RAF-basic and RAF-multi: # 1:Surprise, 2:Fear, 3:Disg...
30.952055
118
0.639079
784
4,519
3.533163
0.178571
0.020217
0.016245
0.045487
0.488087
0.411191
0.262094
0.262094
0.23574
0.201083
0
0.049578
0.187652
4,519
145
119
31.165517
0.704985
0.205134
0
0.152941
0
0
0.10242
0.046708
0
0
0
0
0
0
null
null
0
0.047059
null
null
0.023529
0
0
0
null
0
0
0
0
0
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
df354d4ab04d9b072a1e9fda28e845b051ee73fc
5,322
py
Python
lib/interactiveBrokers/handlers.py
alexanu/trading-with-python
e6d6f6daea3089aebcd0f48c2e69c8bfe23c332c
[ "BSD-3-Clause" ]
318
2015-04-07T01:44:35.000Z
2022-03-18T07:39:36.000Z
lib/interactiveBrokers/handlers.py
alexanu/trading-with-python
e6d6f6daea3089aebcd0f48c2e69c8bfe23c332c
[ "BSD-3-Clause" ]
10
2015-03-19T21:31:29.000Z
2020-11-26T12:46:53.000Z
lib/interactiveBrokers/handlers.py
alexanu/trading-with-python
e6d6f6daea3089aebcd0f48c2e69c8bfe23c332c
[ "BSD-3-Clause" ]
137
2015-04-07T01:33:47.000Z
2022-03-18T07:40:08.000Z
# -*- coding: utf-8 -*- """ Common handlers for ibpy Created on Thu Mar 19 22:34:20 2015 @author: Jev Kuznetsov License: BSD """ import pandas as pd from ib.ext.Order import Order class Logger(object): """ class for logging and displaying icoming messages """ def __init__(self,tws): tws.registerAll...
30.067797
95
0.560691
595
5,322
4.904202
0.334454
0.035984
0.035984
0.045579
0.150788
0.123372
0.107608
0.082248
0.082248
0.082248
0
0.005321
0.329012
5,322
177
96
30.067797
0.811817
0.278843
0
0.289157
0
0
0.068638
0
0
0
0
0
0.012048
1
0.216867
false
0
0.024096
0
0.337349
0.012048
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
df36df1446411e1738debdb04d767ff908e75d73
1,149
py
Python
comparer/migrations/0017_auto_20210824_1239.py
dzejkobi/institution-comparisoner
3f7ff16bd2b5065a95607bf895c9d28f8e9182a4
[ "MIT" ]
null
null
null
comparer/migrations/0017_auto_20210824_1239.py
dzejkobi/institution-comparisoner
3f7ff16bd2b5065a95607bf895c9d28f8e9182a4
[ "MIT" ]
null
null
null
comparer/migrations/0017_auto_20210824_1239.py
dzejkobi/institution-comparisoner
3f7ff16bd2b5065a95607bf895c9d28f8e9182a4
[ "MIT" ]
null
null
null
# Generated by Django 3.1.12 on 2021-08-24 12:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('comparer', '0016_auto_20210820_1328'), ] operations = [ migrations.AddField( model_name='rankingbrowserpluginmodel', ...
39.62069
183
0.671018
124
1,149
6.064516
0.532258
0.037234
0.135638
0.151596
0.388298
0.388298
0.106383
0
0
0
0
0.041761
0.228895
1,149
28
184
41.035714
0.806998
0.040035
0
0.363636
1
0
0.348774
0.08901
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
df385247bc18a2e45e873a4d2488d523dd1ffa7f
2,294
py
Python
PE011-Largest product in a grid/PE011.py
christosg88/ProjectEuler
6fe131b03b0f81b12a219d5c7d6fe17d9a91eeee
[ "MIT" ]
null
null
null
PE011-Largest product in a grid/PE011.py
christosg88/ProjectEuler
6fe131b03b0f81b12a219d5c7d6fe17d9a91eeee
[ "MIT" ]
null
null
null
PE011-Largest product in a grid/PE011.py
christosg88/ProjectEuler
6fe131b03b0f81b12a219d5c7d6fe17d9a91eeee
[ "MIT" ]
null
null
null
# In the 20*20 grid below, four numbers along a diagonal line # have been marked in red. # The product of these numbers is 26 * 63 * 78 * 14 = 1788696. # What is the greatest product of four adjacent numbers in the same direction # (up, down, left, right, or diagonally) in the 20*20 grid? rows = 20 columns = 20 grid =...
38.233333
131
0.527899
362
2,294
3.301105
0.187845
0.117155
0.170711
0.060251
0.580753
0.487029
0.408368
0.377406
0.340586
0.340586
0
0.051447
0.322145
2,294
60
132
38.233333
0.717042
0.195728
0
0.575
0
0
0.006554
0
0
0
0
0
0
0
null
null
0
0
null
null
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
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
df38658053445855800c66fb717ebfdb22768f78
128
py
Python
snippets - pandas/plotting-pandas.py
bjfisica/MachineLearning
20349301ae7f82cd5048410b0cf1f7a5f7d7e5a2
[ "MIT" ]
52
2019-02-15T16:37:13.000Z
2022-02-17T18:34:30.000Z
snippets - pandas/plotting-pandas.py
RodeoBlues/Complete-Data-Science-Toolkits
c5e83889e24af825ec3baed6e8198debb135f1ff
[ "MIT" ]
null
null
null
snippets - pandas/plotting-pandas.py
RodeoBlues/Complete-Data-Science-Toolkits
c5e83889e24af825ec3baed6e8198debb135f1ff
[ "MIT" ]
22
2017-11-25T23:42:16.000Z
2019-01-07T09:22:35.000Z
import pandas as pd #histogram for each column df.plot.hist() #scatter chart using pairs of points df.plot.scatter(x='w',y='h')
25.6
36
0.742188
24
128
3.958333
0.875
0.126316
0
0
0
0
0
0
0
0
0
0
0.125
128
5
37
25.6
0.848214
0.46875
0
0
0
0
0.029851
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
df39262f139c78a5d2f3f0a8df730229c9791e7e
636
py
Python
src/models/__init__.py
leeesangwon/CNN_sentence.pytorch
512a1fe1de359f01557b6441a0571d7d98335716
[ "MIT" ]
null
null
null
src/models/__init__.py
leeesangwon/CNN_sentence.pytorch
512a1fe1de359f01557b6441a0571d7d98335716
[ "MIT" ]
null
null
null
src/models/__init__.py
leeesangwon/CNN_sentence.pytorch
512a1fe1de359f01557b6441a0571d7d98335716
[ "MIT" ]
null
null
null
from .cnn import CNN, CNNMultiChannel MODELS = ('random', 'static', 'non-static', 'multi-channel') def get_model(model_type, num_classes, pretrained_word2vec): if model_type not in MODELS: raise ValueError("Invalid model type: %s" % model_type) if model_type == 'random': return CNN(num_clas...
33.473684
66
0.70283
79
636
5.443038
0.379747
0.146512
0.232558
0.325581
0.304651
0.304651
0.218605
0.218605
0
0
0
0.009747
0.193396
636
18
67
35.333333
0.82846
0
0
0
0
0
0.124214
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.461538
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
df39fdc57b5a830b3a9e319ad857dd37de453a65
680
py
Python
examples/miniapps/movie-lister/movies/__main__.py
JarnoRFB/python-dependency-injector
39f3f3a6232d846980cdf7fd106490751210d4f0
[ "BSD-3-Clause" ]
null
null
null
examples/miniapps/movie-lister/movies/__main__.py
JarnoRFB/python-dependency-injector
39f3f3a6232d846980cdf7fd106490751210d4f0
[ "BSD-3-Clause" ]
null
null
null
examples/miniapps/movie-lister/movies/__main__.py
JarnoRFB/python-dependency-injector
39f3f3a6232d846980cdf7fd106490751210d4f0
[ "BSD-3-Clause" ]
null
null
null
"""Main module.""" import sys from dependency_injector.wiring import Provide from .listers import MovieLister from .containers import Container def main(lister: MovieLister = Provide[Container.lister]) -> None: print('Francis Lawrence movies:') for movie in lister.movies_directed_by('Francis Lawrence'): ...
24.285714
66
0.704412
83
680
5.518072
0.457831
0.065502
0.061135
0.069869
0.122271
0.122271
0
0
0
0
0
0.014109
0.166176
680
27
67
25.185185
0.793651
0.017647
0
0.117647
0
0
0.140483
0
0
0
0
0
0
1
0.058824
false
0
0.235294
0
0.294118
0.235294
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df3a80c657f7daf93c46d3e63b16bbedbda7ac9e
16,502
py
Python
captcha/base.py
Kami-DiscordBot/Predeactor-Cogs
a3b6a38a7440b58c6b229e5aa07d66f52d128eae
[ "Apache-2.0" ]
18
2020-06-19T22:46:19.000Z
2022-01-30T12:59:16.000Z
captcha/base.py
Kami-DiscordBot/Predeactor-Cogs
a3b6a38a7440b58c6b229e5aa07d66f52d128eae
[ "Apache-2.0" ]
39
2020-03-09T13:36:25.000Z
2021-08-19T00:41:39.000Z
captcha/base.py
Kami-DiscordBot/Predeactor-Cogs
a3b6a38a7440b58c6b229e5aa07d66f52d128eae
[ "Apache-2.0" ]
17
2020-08-06T21:47:19.000Z
2021-11-04T20:42:57.000Z
import logging from contextlib import suppress from datetime import datetime from typing import Optional, Union import discord from redbot.core import Config, commands from redbot.core.bot import Red from redbot.core.utils.chat_formatting import bold, error, humanize_list from .abc import CompositeMetaClass from .api...
40.64532
102
0.574536
1,762
16,502
5.237798
0.212259
0.019504
0.017878
0.011377
0.352693
0.30545
0.263626
0.238054
0.232528
0.222993
0
0.003247
0.346746
16,502
405
103
40.745679
0.852597
0.081202
0
0.292169
0
0
0.138282
0.012565
0
0
0
0
0
1
0.01506
false
0.006024
0.045181
0
0.114458
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df3bf899638da406b7123ee13fad1b04c0a2568e
59
py
Python
python/dataingest/patents/svc/__init__.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
python/dataingest/patents/svc/__init__.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
python/dataingest/patents/svc/__init__.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
from .generate_src_collection import GenerateSrcCollection
29.5
58
0.915254
6
59
8.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.067797
59
1
59
59
0.945455
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
df3d918094e9cfb4767b18d9d9e86fe852bc2e66
607
py
Python
servicesapp/tests.py
heyylateef/lateeflab
4d7cdf3232eb22fe1151bd92beb04b7789cf9f71
[ "MIT" ]
null
null
null
servicesapp/tests.py
heyylateef/lateeflab
4d7cdf3232eb22fe1151bd92beb04b7789cf9f71
[ "MIT" ]
null
null
null
servicesapp/tests.py
heyylateef/lateeflab
4d7cdf3232eb22fe1151bd92beb04b7789cf9f71
[ "MIT" ]
null
null
null
from django.test import TestCase from django.core.mail import send_mail from django.conf import settings from .views import email_inquiry from .forms import ContactForm # Create your tests here. class EmailTesting(TestCase): def test_send_mail(self): print("\nTesting email sending functionality...") ...
37.9375
152
0.747941
80
607
5.575
0.5125
0.067265
0
0
0
0
0
0
0
0
0
0
0.14827
607
15
153
40.466667
0.862669
0.164745
0
0
0
0
0.294821
0
0
0
0
0
0
1
0.1
false
0
0.5
0
0.7
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
0
0
0
0
1
0
0
0
0
1
df3df25b4492d882101df69a106581e2eacb1d2f
2,392
py
Python
frappe-bench/env/lib/python2.7/site-packages/plaid/api/sandbox.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
null
null
null
frappe-bench/env/lib/python2.7/site-packages/plaid/api/sandbox.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
null
null
null
frappe-bench/env/lib/python2.7/site-packages/plaid/api/sandbox.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
null
null
null
from plaid.api.api import API class Item(API): '''Sandbox item endpoints.''' def reset_login(self, access_token): ''' Put an item into an ITEM_LOGIN_REQUIRED error state. :param str access_token: ''' return self.client.post('/sandbox/item/reset_login', { ...
27.813953
76
0.589465
247
2,392
5.433198
0.279352
0.065574
0.035768
0.044709
0.092399
0.092399
0
0
0
0
0
0
0.313127
2,392
85
77
28.141176
0.816799
0.231187
0
0.121951
0
0
0.119643
0.047024
0
0
0
0
0
1
0.097561
false
0
0.02439
0
0.268293
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df3e3ee51a546d9823688523e9951c6bf395670b
483
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/envs/pact.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/envs/pact.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/envs/pact.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2019-01-02T14:38:50.000Z
2019-01-02T14:38:50.000Z
""" Settings for Pact Verification Tests. """ from .test import * # pylint: disable=wildcard-import, unused-wildcard-import #### Allow Pact Provider States URL #### PROVIDER_STATES_URL = True #### Default User name for Pact Requests Authentication ##### MOCK_USERNAME = 'Mock User' ######################### Add Aut...
32.2
109
0.677019
49
483
6.612245
0.612245
0.064815
0.117284
0
0
0
0
0
0
0
0
0
0.120083
483
14
110
34.5
0.762353
0.488613
0
0
0
0
0.362573
0.309942
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df3ec7382f03ff1dc0f4c5ebdc2543927a15d2f3
249
py
Python
Python/Collections/Collections.OrderedDict()/solution.py
rawat9/HackerRank
1483eee58c717ebf45fe749de6b1ad899edc13d7
[ "MIT" ]
null
null
null
Python/Collections/Collections.OrderedDict()/solution.py
rawat9/HackerRank
1483eee58c717ebf45fe749de6b1ad899edc13d7
[ "MIT" ]
null
null
null
Python/Collections/Collections.OrderedDict()/solution.py
rawat9/HackerRank
1483eee58c717ebf45fe749de6b1ad899edc13d7
[ "MIT" ]
null
null
null
from collections import OrderedDict n = int(input()) d = OrderedDict() for _ in range(n): items = input() item_name, price = items.rsplit(" ", 1) d[item_name] = d.get(item_name, 0) + int(price) for k, v in d.items(): print(k, v)
17.785714
51
0.614458
40
249
3.725
0.55
0.161074
0
0
0
0
0
0
0
0
0
0.010363
0.2249
249
13
52
19.153846
0.761658
0
0
0
0
0
0.004016
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df3eca2afb67a03da3e9f98bd54037bb4d43d7a7
123
py
Python
trading/apps.py
DarkoR12/dafi-system
f923ea4273b04f7acc7016b2f7d03e51eb00b85b
[ "MIT" ]
7
2019-08-03T12:25:18.000Z
2021-11-02T12:51:33.000Z
trading/apps.py
DarkoR12/dafi-system
f923ea4273b04f7acc7016b2f7d03e51eb00b85b
[ "MIT" ]
11
2019-08-20T17:07:37.000Z
2021-11-23T14:26:07.000Z
trading/apps.py
DarkoR12/dafi-system
f923ea4273b04f7acc7016b2f7d03e51eb00b85b
[ "MIT" ]
4
2020-04-06T11:33:02.000Z
2021-10-31T09:10:53.000Z
from django.apps import AppConfig class TradingConfig(AppConfig): name = 'trading' verbose_name = 'Intercambios'
17.571429
33
0.739837
13
123
6.923077
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.178862
123
6
34
20.5
0.891089
0
0
0
0
0
0.154472
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
df4032134b57e6ab6f700535ca97fb4a7c423b73
4,048
py
Python
classes/data_screen.py
johnyburd/glucometer
075a48cff38e0570960fc2b8968bcb8b5ddd647f
[ "MIT" ]
12
2016-11-02T09:15:32.000Z
2021-04-08T18:42:01.000Z
classes/data_screen.py
johnyburd/glucometer
075a48cff38e0570960fc2b8968bcb8b5ddd647f
[ "MIT" ]
null
null
null
classes/data_screen.py
johnyburd/glucometer
075a48cff38e0570960fc2b8968bcb8b5ddd647f
[ "MIT" ]
3
2018-10-18T15:59:57.000Z
2021-01-20T21:03:48.000Z
# Class for the data_screen. Manages displaying data stored by the meter. from kivy.clock import Clock from kivy.uix.screenmanager import Screen from kivy.uix.button import Button from kivy.uix.popup import Popup from kivy.uix.label import Label from kivy.core.window import Window from kivy.uix.boxlayout import BoxLa...
29.547445
103
0.590168
497
4,048
4.663984
0.2334
0.031061
0.023727
0.023296
0.145815
0.124245
0.100086
0.043141
0.043141
0.043141
0
0.003148
0.293725
4,048
136
104
29.764706
0.807625
0.030879
0
0.141509
0
0
0.018377
0.005615
0
0
0
0
0
0
null
null
0
0.09434
null
null
0.009434
0
0
0
null
0
0
0
0
0
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
df40520ca3659cc22f496aa644d7242d8e66e927
2,104
py
Python
aoc24.py
juestr/aoc-2021
11e31f9dafd234cf4617ff596546cd7a17189f79
[ "MIT" ]
null
null
null
aoc24.py
juestr/aoc-2021
11e31f9dafd234cf4617ff596546cd7a17189f79
[ "MIT" ]
null
null
null
aoc24.py
juestr/aoc-2021
11e31f9dafd234cf4617ff596546cd7a17189f79
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys # This was very hard, but I attempted a blackbox general solution without # analyzing the code by hand first. # Trying to solve this with sympy hangs while building and simplifying # expressions far from the required depth, and I didn't want to mess with # better solvers. # I had to ...
32.875
81
0.548954
327
2,104
3.529052
0.461774
0.036395
0.010399
0.015598
0
0
0
0
0
0
0
0.039971
0.334125
2,104
63
82
33.396825
0.783726
0.343156
0
0.046512
0
0
0.030059
0
0
0
0
0
0.116279
1
0.046512
false
0
0.023256
0
0.116279
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df407fe8640cf539470badf0dde920be1eef1a59
359
py
Python
app/schemas/image.py
sz3lbi/classifieds_service_backend
5977eedb7b9cb243142c021355211144df53cd1d
[ "MIT" ]
1
2022-01-24T12:46:56.000Z
2022-01-24T12:46:56.000Z
app/schemas/image.py
sz3lbi/classifieds_service_backend
5977eedb7b9cb243142c021355211144df53cd1d
[ "MIT" ]
1
2022-01-24T12:51:16.000Z
2022-01-26T18:25:11.000Z
app/schemas/image.py
sz3lbi/classifieds_service_backend
5977eedb7b9cb243142c021355211144df53cd1d
[ "MIT" ]
null
null
null
from pydantic import BaseModel, Field from uuid import UUID class Image(BaseModel): id: int classified_id: int class Config: orm_mode = True class ImageCreate(BaseModel): classified_id: int class ImageDB(Image): id: int filename: UUID extension: str = Field(max_length=8) cla...
14.36
40
0.685237
46
359
5.26087
0.521739
0.103306
0.115702
0.165289
0
0
0
0
0
0
0
0.003676
0.24234
359
24
41
14.958333
0.886029
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.933333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
df41555b18281e7b1b5ce196861c57f7bd6e3924
6,471
py
Python
string-method/src/stringprocessor/processing_utils.py
delemottelab/gpcr-string-method-2019
b50786a4a8747d56ad04ede525592eb31f1890fd
[ "MIT" ]
null
null
null
string-method/src/stringprocessor/processing_utils.py
delemottelab/gpcr-string-method-2019
b50786a4a8747d56ad04ede525592eb31f1890fd
[ "MIT" ]
null
null
null
string-method/src/stringprocessor/processing_utils.py
delemottelab/gpcr-string-method-2019
b50786a4a8747d56ad04ede525592eb31f1890fd
[ "MIT" ]
3
2020-03-16T04:33:50.000Z
2021-03-19T17:25:59.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import logging import sys logging.basicConfig( stream=sys.stdout, level=logging.DEBUG, format='%(asctime)s %(name)s-%(levelname)s: %(message)s', datefmt='%Y-%m-%d %H:%M:%S') from os.path import...
41.748387
156
0.684593
838
6,471
5.036993
0.186158
0.052357
0.072495
0.034115
0.497276
0.444681
0.400142
0.36271
0.344705
0.344705
0
0.001421
0.238912
6,471
154
157
42.019481
0.855635
0.222686
0
0.267327
0
0
0.085019
0.010423
0
0
0
0
0
1
0.069307
false
0
0.108911
0
0.267327
0.009901
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df4222a6ed7b73ffb1dc9e9798f1e7e335b7d1bc
3,893
py
Python
examples/reporter/main.py
run-ai/runai
c73bf522d4b2cdd2ecc6c065ab56330718a97566
[ "MIT" ]
86
2020-01-23T18:56:41.000Z
2022-02-14T22:32:08.000Z
examples/reporter/main.py
Raghvender1205/runai
c73bf522d4b2cdd2ecc6c065ab56330718a97566
[ "MIT" ]
18
2020-01-24T17:55:18.000Z
2021-12-01T01:01:32.000Z
examples/reporter/main.py
Raghvender1205/runai
c73bf522d4b2cdd2ecc6c065ab56330718a97566
[ "MIT" ]
12
2020-02-03T14:30:44.000Z
2022-01-08T16:06:59.000Z
import os import time import keras import numpy as np import scipy # scipy.misc.imresize() is was removed in scipy-1.3.0 import runai.reporter.keras BATCH_SIZE = 64 IMAGE_SIZE = 224 def resize_images(src, shape): resized = [scipy.misc.imresize(img, shape, 'bilinear', 'RGB') for img in src] return np.stack(r...
33.273504
86
0.63627
554
3,893
4.203971
0.247292
0.046372
0.02705
0.025762
0.218978
0.134822
0.068699
0.068699
0.024045
0
0
0.029422
0.231698
3,893
116
87
33.560345
0.749248
0.0131
0
0.022989
0
0
0.090885
0.014323
0
0
0
0
0
1
0.091954
false
0
0.068966
0
0.206897
0.091954
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df4298272da458e0f589b035ae3fc918347212f9
393
py
Python
expense/migrations/0006_auto_20200617_1927.py
Aasess/ExpenseTracker
9feb83b2b66d5d87a994bf6997d9cc33ca6ec066
[ "MIT" ]
9
2020-06-23T05:55:30.000Z
2020-07-09T10:07:25.000Z
expense/migrations/0006_auto_20200617_1927.py
Aasess/ExpenseTracker
9feb83b2b66d5d87a994bf6997d9cc33ca6ec066
[ "MIT" ]
3
2020-06-17T16:36:26.000Z
2021-02-16T06:29:23.000Z
expense/migrations/0006_auto_20200617_1927.py
Aasess/ExpenseTracker
9feb83b2b66d5d87a994bf6997d9cc33ca6ec066
[ "MIT" ]
5
2020-06-23T03:27:33.000Z
2020-08-16T19:37:53.000Z
# Generated by Django 3.0.5 on 2020-06-17 13:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('expense', '0005_auto_20200617_1820'), ] operations = [ migrations.AlterField( model_name='expense', name='date', ...
20.684211
58
0.605598
43
393
5.395349
0.813953
0
0
0
0
0
0
0
0
0
0
0.109929
0.282443
393
18
59
21.833333
0.712766
0.114504
0
0
1
0
0.118497
0.066474
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
df42c1291223df4ac6ea851f4e2bb09a53f3fd63
430
py
Python
server/python-asgi/app/models/foo.py
shortcut/cloud-native-templates
023b0a09137bcc763d7c0f0e48c325320fdc93af
[ "MIT" ]
null
null
null
server/python-asgi/app/models/foo.py
shortcut/cloud-native-templates
023b0a09137bcc763d7c0f0e48c325320fdc93af
[ "MIT" ]
null
null
null
server/python-asgi/app/models/foo.py
shortcut/cloud-native-templates
023b0a09137bcc763d7c0f0e48c325320fdc93af
[ "MIT" ]
null
null
null
from pydantic import BaseModel, Field from typing import Optional class FooRequest(BaseModel): foo: Optional[str] = Field( None, description='foo', example='foo', min_length=1, regex='^[a-zA-Z0-9]+$', ) class FooResponse(BaseModel): foo: str = Field( ..., ...
18.695652
37
0.537209
47
430
4.87234
0.489362
0.104803
0.183406
0.209607
0.393013
0.393013
0.393013
0.393013
0.393013
0.393013
0
0.020202
0.309302
430
22
38
19.545455
0.750842
0
0
0.444444
0
0
0.093023
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
df42f047afc68d8acf41529e0ed7a856bd1edd70
748
py
Python
quasimodo/data_structures/predicate.py
Aunsiels/CSK
c88609bc76d865b4987aaf30ddf1247a2031b1a6
[ "MIT" ]
16
2019-11-28T13:26:37.000Z
2022-02-09T09:53:10.000Z
quasimodo/data_structures/predicate.py
Aunsiels/CSK
c88609bc76d865b4987aaf30ddf1247a2031b1a6
[ "MIT" ]
1
2021-03-26T20:31:48.000Z
2021-07-15T08:52:47.000Z
quasimodo/data_structures/predicate.py
Aunsiels/CSK
c88609bc76d865b4987aaf30ddf1247a2031b1a6
[ "MIT" ]
3
2020-08-14T23:23:25.000Z
2021-12-24T14:02:35.000Z
from quasimodo.serializable import Serializable from .predicate_interface import PredicateInterface class Predicate(PredicateInterface, Serializable): """Predicate Default implementation of a PredicateInterface """ def to_dict(self): res = dict() res["type"] = "Predicate" res[...
26.714286
51
0.606952
77
748
5.688312
0.441558
0.09589
0.061644
0.086758
0
0
0
0
0
0
0
0.001842
0.274064
748
27
52
27.703704
0.804788
0.074866
0
0
0
0
0.072378
0
0
0
0
0
0
1
0.157895
false
0
0.105263
0
0.578947
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
df448b1fe5980f6ff5ca821f44dfced35dad6d97
7,134
py
Python
tests/test_soft_impute.py
cs224/sparseMF
39fbede77eceb5231db875820da94b68a5227e0d
[ "Apache-2.0" ]
10
2017-10-16T18:50:53.000Z
2021-11-07T05:34:58.000Z
tests/test_soft_impute.py
cs224/sparseMF
39fbede77eceb5231db875820da94b68a5227e0d
[ "Apache-2.0" ]
null
null
null
tests/test_soft_impute.py
cs224/sparseMF
39fbede77eceb5231db875820da94b68a5227e0d
[ "Apache-2.0" ]
5
2018-05-30T06:19:35.000Z
2021-05-29T20:55:28.000Z
import numpy as np from sparse_soft_impute import SoftImpute, SPLR from scipy.sparse import coo_matrix, csr_matrix, csc_matrix, lil_matrix from sklearn.utils.testing import assert_raises, assert_equal, assert_array_equal import unittest class TestPredict(unittest.TestCase): ''' Unit Tests for the Sparse implement...
40.765714
305
0.543454
1,034
7,134
3.610251
0.22824
0.049826
0.024109
0.024377
0.321993
0.260113
0.250469
0.236003
0.209483
0.198232
0
0.087036
0.309083
7,134
174
306
41
0.670319
0.160499
0
0.163043
0
0
0.001906
0
0
0
0
0
0.369565
1
0.141304
false
0
0.054348
0
0.206522
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df44da4ef35197d7d9945d76216ec30f27d1d9a7
501
py
Python
web_programming/current_stock_price.py
JB1959/Python
b6ca263983933c3ecc06ed0083dd11b6faf870c8
[ "MIT" ]
145,614
2016-07-21T05:40:05.000Z
2022-03-31T22:17:22.000Z
web_programming/current_stock_price.py
Agha-Muqarib/Python
04f156a8973d6156a4357e0717d9eb0aa264d086
[ "MIT" ]
3,987
2016-07-28T17:31:25.000Z
2022-03-30T23:07:46.000Z
web_programming/current_stock_price.py
Agha-Muqarib/Python
04f156a8973d6156a4357e0717d9eb0aa264d086
[ "MIT" ]
40,014
2016-07-26T15:14:41.000Z
2022-03-31T22:23:03.000Z
import requests from bs4 import BeautifulSoup def stock_price(symbol: str = "AAPL") -> str: url = f"https://in.finance.yahoo.com/quote/{symbol}?s={symbol}" soup = BeautifulSoup(requests.get(url).text, "html.parser") class_ = "My(6px) Pos(r) smartphone_Mt(6px)" return soup.find("div", class_=class_).fi...
33.4
77
0.674651
74
501
4.378378
0.689189
0.092593
0.098765
0
0
0
0
0
0
0
0
0.011848
0.157685
501
14
78
35.785714
0.755924
0
0
0
0
0
0.407186
0.047904
0
0
0
0
0
1
0.1
false
0
0.2
0
0.4
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df44f6107463c12a6376b5f9f8eb4b96683a6ba1
2,006
py
Python
setup.py
jacobic/spiders
287dcf041ba248dd369646236cdbf07ecf32d4e8
[ "MIT" ]
null
null
null
setup.py
jacobic/spiders
287dcf041ba248dd369646236cdbf07ecf32d4e8
[ "MIT" ]
null
null
null
setup.py
jacobic/spiders
287dcf041ba248dd369646236cdbf07ecf32d4e8
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = ['Click>=6.0', 'colossus', 'astropy', ...
37.849057
80
0.641077
231
2,006
5.467532
0.536797
0.105305
0.138559
0.10293
0
0
0
0
0
0
0
0.013741
0.201894
2,006
52
81
38.576923
0.775141
0.089731
0
0
0
0.027778
0.460309
0.048512
0
0
0
0
0
1
0
false
0
0.027778
0
0.027778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df45960db91c2753ebf54796d5923cb3020270a4
13,091
py
Python
local_fel_simulated_env.py
MathPhysSim/FERMI_RL_Paper
4529fcbfa0cc35e5fa59463df2c423a497736eba
[ "MIT" ]
7
2021-02-05T18:02:43.000Z
2022-02-22T13:54:30.000Z
local_fel_simulated_env.py
MathPhysSim/FERMI_RL_Paper
4529fcbfa0cc35e5fa59463df2c423a497736eba
[ "MIT" ]
3
2021-01-16T17:08:17.000Z
2021-01-19T13:38:42.000Z
local_fel_simulated_env.py
MathPhysSim/FERMI_RL_Paper
4529fcbfa0cc35e5fa59463df2c423a497736eba
[ "MIT" ]
2
2021-01-15T11:08:36.000Z
2021-11-22T06:26:42.000Z
import pickle import numpy as np import gym # import pybobyqa import tensorflow as tf import matplotlib.pyplot as plt import pandas as pd from simulated_tango import SimTangoConnection class FelLocalEnv(gym.Env): def __init__(self, tango, **kwargs): self.max_steps = 10 print('init env ' * 20) ...
34.632275
112
0.567489
1,545
13,091
4.649191
0.165049
0.03383
0.018794
0.018934
0.243213
0.18335
0.150494
0.106362
0.088542
0.079354
0
0.016072
0.306088
13,091
378
113
34.632275
0.774659
0.22038
0
0.226852
0
0
0.016162
0
0
0
0
0
0
1
0.111111
false
0.00463
0.037037
0
0.240741
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df45e549a1af4f02c178b91f5b88e8159e693bb4
220
py
Python
06_Array1D/Step06/6_6_sang.py
StudyForCoding/BEAKJOON
84e1c5e463255e919ccf6b6a782978c205420dbf
[ "MIT" ]
null
null
null
06_Array1D/Step06/6_6_sang.py
StudyForCoding/BEAKJOON
84e1c5e463255e919ccf6b6a782978c205420dbf
[ "MIT" ]
3
2020-11-04T05:38:53.000Z
2021-03-02T02:15:19.000Z
06_Array1D/Step06/6_6_sang.py
StudyForCoding/BEAKJOON
84e1c5e463255e919ccf6b6a782978c205420dbf
[ "MIT" ]
null
null
null
t = int(input()) for i in range(t): count = 0 score = 0 s = input() for j in s: if j == 'O': count += 1 score += count else: count = 0 print(score)
16.923077
26
0.390909
30
220
2.866667
0.566667
0.186047
0
0
0
0
0
0
0
0
0
0.035398
0.486364
220
12
27
18.333333
0.725664
0
0
0.166667
0
0
0.004545
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
1
0
df4783c82e2a310e7871ee16fb7207f64651b42a
13,710
py
Python
src/bxcommon/messages/eth/serializers/transaction.py
sasha00123/bxcommon
4d65c48daacb63bfdf5d121aa4dbf3501cf0516b
[ "MIT" ]
12
2019-11-06T17:39:10.000Z
2022-03-01T11:26:19.000Z
src/bxcommon/messages/eth/serializers/transaction.py
sasha00123/bxcommon
4d65c48daacb63bfdf5d121aa4dbf3501cf0516b
[ "MIT" ]
8
2019-11-06T21:31:11.000Z
2021-06-02T00:46:50.000Z
src/bxcommon/messages/eth/serializers/transaction.py
sasha00123/bxcommon
4d65c48daacb63bfdf5d121aa4dbf3501cf0516b
[ "MIT" ]
5
2019-11-14T18:08:11.000Z
2022-02-08T09:36:22.000Z
from typing import Optional, Dict, Any, List import blxr_rlp as rlp from bxcommon.messages.eth.serializers.transaction_type import EthTransactionType from bxcommon.messages.eth.serializers.unsigned_transaction import UnsignedTransaction from bxcommon.utils import convert from bxcommon.utils.blockchain_utils.eth impor...
36.462766
104
0.613713
1,587
13,710
5.110271
0.173283
0.022688
0.020345
0.031443
0.368927
0.290012
0.24476
0.208385
0.199014
0.167941
0
0.010204
0.278045
13,710
375
105
36.56
0.809153
0.156018
0
0.369811
0
0
0.053559
0.004603
0
0
0.000266
0
0
1
0.09434
false
0.011321
0.030189
0.030189
0.309434
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df4845df44a2ce964a86def84f39985731180a50
3,425
py
Python
simulator/lab11_data/gen_event_curve.py
lab11/Task2
3c3451599dd303cd1e2469e5b9e36e1b4ca49fa6
[ "Apache-2.0" ]
21
2018-08-29T18:58:26.000Z
2022-01-12T09:08:04.000Z
simulator/lab11_data/gen_event_curve.py
lab11/permamote
3c3451599dd303cd1e2469e5b9e36e1b4ca49fa6
[ "Apache-2.0" ]
9
2017-11-08T03:22:58.000Z
2020-05-02T18:23:12.000Z
simulator/lab11_data/gen_event_curve.py
lab11/Task2
3c3451599dd303cd1e2469e5b9e36e1b4ca49fa6
[ "Apache-2.0" ]
8
2018-10-28T23:44:23.000Z
2021-07-11T05:18:02.000Z
#! /usr/bin/env python3 import os import numpy as np import scipy.stats as stats import matplotlib.pyplot as plt import matplotlib.dates as mdates from multiprocessing import Pool from datetime import datetime import arrow data_dir = 'clean_data/' out_dir = 'curves/' out_dir = os.path.dirname(out_dir) + '/' if out_d...
36.43617
121
0.68146
486
3,425
4.62963
0.27572
0.056889
0.032
0.028444
0.448889
0.387111
0.387111
0.373333
0.373333
0.373333
0
0.028329
0.175474
3,425
93
122
36.827957
0.768414
0.268029
0
0.349206
0
0
0.080755
0.022499
0
0
0
0
0
1
0.063492
false
0
0.126984
0
0.206349
0.031746
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df48b1fab3b025fdb0b881f82648c4854093fd0e
1,185
py
Python
platformio/commands/home/web.py
ysoyipek/platformio-core
1b2e410f12bd7770d6415264d750e2fd63f697b7
[ "Apache-2.0" ]
null
null
null
platformio/commands/home/web.py
ysoyipek/platformio-core
1b2e410f12bd7770d6415264d750e2fd63f697b7
[ "Apache-2.0" ]
1
2021-06-02T00:23:58.000Z
2021-06-02T00:23:58.000Z
platformio/commands/home/web.py
ysoyipek/platformio-core
1b2e410f12bd7770d6415264d750e2fd63f697b7
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2014-present PlatformIO <contact@platformio.org> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
38.225806
74
0.704641
160
1,185
5.18125
0.63125
0.072376
0.031363
0.038601
0
0
0
0
0
0
0
0.009514
0.201688
1,185
30
75
39.5
0.866808
0.540928
0
0
0
0
0.198864
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df493625da55eaea97ae29d15d245add1cb4e501
39
py
Python
pipeline/src/enrich/__init__.py
wellcomecollection/concepts
fcdb23d47ea841bb3b8d2826a8bd8640dc639ccb
[ "MIT" ]
null
null
null
pipeline/src/enrich/__init__.py
wellcomecollection/concepts
fcdb23d47ea841bb3b8d2826a8bd8640dc639ccb
[ "MIT" ]
52
2020-04-21T09:13:45.000Z
2022-01-31T09:43:16.000Z
pipeline/src/enrich/__init__.py
wellcomecollection/concepts
fcdb23d47ea841bb3b8d2826a8bd8640dc639ccb
[ "MIT" ]
null
null
null
from ..utils import clean, http_client
19.5
38
0.794872
6
39
5
1
0
0
0
0
0
0
0
0
0
0
0
0.128205
39
1
39
39
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
df49a60668055e5fddda30538086675d22b98c78
1,474
py
Python
task01.py
ryandhjeon/ncdc-analysis
ebeefe329dfe0c5eff73e242a9868ebd29515856
[ "MIT" ]
null
null
null
task01.py
ryandhjeon/ncdc-analysis
ebeefe329dfe0c5eff73e242a9868ebd29515856
[ "MIT" ]
null
null
null
task01.py
ryandhjeon/ncdc-analysis
ebeefe329dfe0c5eff73e242a9868ebd29515856
[ "MIT" ]
null
null
null
from mrjob.job import MRJob from mrjob.step import MRStep from datetime import datetime class MRTask01(MRJob): def steps(self): return [ MRStep(mapper=self.mapper1, reducer=self.reducer1), MRStep(reducer=self.reducer2) ] def mapper1(self, _, line): ...
25.859649
75
0.545455
185
1,474
4.162162
0.345946
0.063636
0.1
0.054545
0.188312
0.146753
0
0
0
0
0
0.043478
0.34464
1,474
56
76
26.321429
0.753623
0
0
0
0
0
0.008141
0
0
0
0
0
0
1
0.093023
false
0.023256
0.069767
0.023256
0.209302
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df4a26ff3ff45ae362bf9dfb4da8f35474ae51c2
2,595
py
Python
server.py
ryanbloom/gan-explorer
e3f0412b4e204af2035721a16e33f0bfdc14f3ac
[ "MIT" ]
null
null
null
server.py
ryanbloom/gan-explorer
e3f0412b4e204af2035721a16e33f0bfdc14f3ac
[ "MIT" ]
null
null
null
server.py
ryanbloom/gan-explorer
e3f0412b4e204af2035721a16e33f0bfdc14f3ac
[ "MIT" ]
null
null
null
import os import sys import io import pickle import torch import functools from PIL import Image from starlette.applications import Starlette from starlette.responses import Response, FileResponse from starlette.exceptions import HTTPException from starlette.staticfiles import StaticFiles from starlette.routing impor...
28.833333
83
0.670906
359
2,595
4.713092
0.398329
0.058511
0.042553
0.027187
0.017731
0
0
0
0
0
0
0.023923
0.194605
2,595
89
84
29.157303
0.785646
0.014258
0
0.028169
0
0
0.092404
0.008222
0
0
0
0
0
1
0.028169
false
0.014085
0.183099
0.014085
0.267606
0.028169
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df4af87ae35f03a39ee054e5b6298723ceaa70df
15,866
py
Python
MasterServer/MasterServer_pb2_grpc.py
wangtl175/Distributed-Key-Value-Store-System
c6661686474ef2660a6c4e62c2db6d1f924ebf29
[ "MIT" ]
1
2021-03-13T12:43:12.000Z
2021-03-13T12:43:12.000Z
MasterServer/MasterServer_pb2_grpc.py
wangtl175/Distributed-Key-Value-Store-System
c6661686474ef2660a6c4e62c2db6d1f924ebf29
[ "MIT" ]
null
null
null
MasterServer/MasterServer_pb2_grpc.py
wangtl175/Distributed-Key-Value-Store-System
c6661686474ef2660a6c4e62c2db6d1f924ebf29
[ "MIT" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc import MasterServer_pb2 as MasterServer__pb2 class MasterServerStub(object): """Missing associated documentation comment in .proto file.""" def __init...
43.587912
107
0.645279
1,408
15,866
6.983665
0.072443
0.094579
0.050849
0.048917
0.87664
0.854978
0.798434
0.779111
0.708634
0.687278
0
0.005415
0.278331
15,866
363
108
43.707989
0.853362
0.0612
0
0.657051
1
0
0.090583
0.05239
0
0
0
0
0
1
0.070513
false
0
0.00641
0.032051
0.11859
0
0
0
0
null
0
0
0
1
1
1
1
1
1
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
7
df4c96ccb340b9ae5841e6add1a11590553d1c14
6,569
py
Python
tests/module_definition/parameter_test.py
BjoernLange/C-Mock-Generator
91f0e331abf54dc5b6706796c02341e23b2e06d7
[ "MIT" ]
null
null
null
tests/module_definition/parameter_test.py
BjoernLange/C-Mock-Generator
91f0e331abf54dc5b6706796c02341e23b2e06d7
[ "MIT" ]
3
2020-06-07T12:48:17.000Z
2020-07-26T12:52:45.000Z
tests/module_definition/parameter_test.py
BjoernLange/C-Mock-Generator
91f0e331abf54dc5b6706796c02341e23b2e06d7
[ "MIT" ]
null
null
null
from typing import Optional import pytest from c_mock_generator.module_definition.exceptions import MockGeneratorError from c_mock_generator.module_definition.parameter_documentation import \ ParameterDocumentation, ActiveAttributions from c_mock_generator.module_definition.parameter import Parameter from c_mock_g...
31.581731
79
0.732379
763
6,569
5.982962
0.121887
0.069003
0.074918
0.063089
0.717415
0.632202
0.531873
0.475575
0.459584
0.40701
0
0.00334
0.179479
6,569
207
80
31.7343
0.843599
0.030294
0
0.401575
0
0
0.038188
0
0
0
0
0
0.338583
1
0.110236
false
0
0.055118
0
0.188976
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df4cacbacbdeb4898039b31d1011f446d0d5370d
7,496
py
Python
python/airi/twisted_bluetooth/win.py
manuelnaranjo/AIRi
84c4afa9bfb078970c485ad87a86c431ac2a7cc8
[ "Apache-2.0" ]
1
2021-03-29T00:08:35.000Z
2021-03-29T00:08:35.000Z
python/airi/twisted_bluetooth/win.py
manuelnaranjo/AIRi
84c4afa9bfb078970c485ad87a86c431ac2a7cc8
[ "Apache-2.0" ]
1
2017-05-18T09:35:19.000Z
2017-05-18T09:35:19.000Z
python/airi/twisted_bluetooth/win.py
manuelnaranjo/AIRi
84c4afa9bfb078970c485ad87a86c431ac2a7cc8
[ "Apache-2.0" ]
2
2017-05-18T05:02:47.000Z
2020-11-26T18:49:58.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2011 Naranjo Manuel Francisco <manuel@aircable.net> # Copyright (c) 2001-2009 Twisted Matrix Laboratories. # See Twisted LICENSE for details. """ Various Bluetooth Socket classes """ # System Imports import os import types import socket import sys import operator import bluetoo...
30.721311
112
0.639941
846
7,496
5.614657
0.326241
0.022737
0.012632
0.022105
0.191158
0.155789
0.155789
0.136421
0.136421
0.133474
0
0.006387
0.268943
7,496
243
113
30.847737
0.860401
0.086713
0
0.283465
0
0
0.029634
0
0
0
0
0
0
0
null
null
0.015748
0.07874
null
null
0.023622
0
0
0
null
0
0
0
0
0
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
df4ccadd48ef65ce73e0ea13f4e72f45bf8f773d
381
py
Python
INBa/2015/RotkinAM/Zadacha_2_21.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
INBa/2015/RotkinAM/Zadacha_2_21.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
INBa/2015/RotkinAM/Zadacha_2_21.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
# Задача 2. Вариант 21. # Напишите программу, которая будет выводить на экран наиболее понравившееся вам высказывание, автором которого является Леонардо да Винчи. Не забудьте о том, что автор должен быть упомянут на отдельной строке. # Rotkin A.M. # 02.04.2016 print ('За сладкое приходтся горько расплачиваться') prin...
42.333333
210
0.779528
54
381
5.5
0.925926
0.047138
0
0
0
0
0
0
0
0
0
0.033846
0.146982
381
8
211
47.625
0.88
0.664042
0
0
0
0
0.691057
0
0
0
0
0
0
1
0
true
0
0
0
0
0.666667
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
df4d2925d7d80db583bc0844ba5d1903f8ecf247
959
py
Python
ex17.py
munyamunya/python-excercise
afb217e4cac74c98a41d3c255acb28a61941ee9d
[ "MIT" ]
null
null
null
ex17.py
munyamunya/python-excercise
afb217e4cac74c98a41d3c255acb28a61941ee9d
[ "MIT" ]
null
null
null
ex17.py
munyamunya/python-excercise
afb217e4cac74c98a41d3c255acb28a61941ee9d
[ "MIT" ]
null
null
null
# 練習17 借金を返済しよう (ex17.py) # 借金をして月々、定額を返済していくと借金はどうなっていくのかを調べるプログラムを作成しよう。 # 借金の金額と、利息の年利率(%)、月々の返済額を入力すると、毎月、借金がなくなるまで月数と借金の金額を表示するものとする。 # 月々の借金は、借金の利息年利率/12(月割り)分増加するが、返済分だけ減る。 # 実行結果 # 借金> 100000 # 年利率(%)> 14.0 # 返済額> 20000 # 1月: 返済額 20000 円 残り 81166 円 # 2月: 返済額 20000 円 残り 62113 円 # 3月: 返済額 20000 円 残り 42838 円 # 4月:...
27.4
103
0.625652
140
959
4.257143
0.442857
0.080537
0.075503
0.092282
0
0
0
0
0
0
0
0.151272
0.221064
959
34
104
28.205882
0.646586
0.466111
0
0
0
0
0.139959
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df4e88b22df96ecbcb9f90cb520cfd038c2e0125
2,531
py
Python
src/generate_data.py
tang-jh/excel_merge
3f2963d80e92a500807a1283a17c5c14c9336351
[ "MIT" ]
null
null
null
src/generate_data.py
tang-jh/excel_merge
3f2963d80e92a500807a1283a17c5c14c9336351
[ "MIT" ]
null
null
null
src/generate_data.py
tang-jh/excel_merge
3f2963d80e92a500807a1283a17c5c14c9336351
[ "MIT" ]
null
null
null
''' Module to generate a demo folder structure for testing purpose. This demo takes the structure of individual Excel files based on an assessor of the test candidate. Each candidate is assigned 3 assessors and will be assessed on 3 criteria ''' # Import libraries import os import numpy as np import pandas as...
37.776119
126
0.657843
377
2,531
4.267905
0.328912
0.034804
0.034804
0.014916
0.136731
0.10317
0.065879
0.029832
0
0
0
0.0315
0.209799
2,531
67
127
37.776119
0.773
0.233109
0
0
1
0
0.091787
0
0
0
0
0
0
1
0.019608
false
0
0.058824
0
0.098039
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
df4ef40b9556d5e1414528509023eea2581d7185
22,715
py
Python
OfflineAnomalyDetector/Detectors.py
mxbhsa/Heimdall
485976e3fdcaf2f8b98f0ef95e73067e67e9e9e4
[ "Apache-2.0" ]
null
null
null
OfflineAnomalyDetector/Detectors.py
mxbhsa/Heimdall
485976e3fdcaf2f8b98f0ef95e73067e67e9e9e4
[ "Apache-2.0" ]
null
null
null
OfflineAnomalyDetector/Detectors.py
mxbhsa/Heimdall
485976e3fdcaf2f8b98f0ef95e73067e67e9e9e4
[ "Apache-2.0" ]
null
null
null
import pandas as pd import numpy as np from sklearn.base import BaseEstimator from luminol.anomaly_detector import AnomalyDetector from luminol.modules.anomaly import Anomaly from luminol.modules.time_series import TimeSeries from AnomalyAlgorithms import anomaly_detect_ts from Utils import * from abc import abstract...
35.217054
172
0.682324
2,991
22,715
4.936476
0.111334
0.063325
0.039824
0.007315
0.691907
0.652489
0.628852
0.615374
0.598578
0.590315
0
0.019791
0.2081
22,715
644
173
35.271739
0.801034
0.024389
0
0.568233
0
0
0.03926
0.00365
0
0
0
0
0
0
null
null
0.008949
0.029083
null
null
0.051454
0
0
0
null
0
0
0
0
0
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
df5034fa78cbb9988aa4d1002234629ac70f8650
1,722
py
Python
onnx/test/tools_test.py
cnheider/onnx
8e9c7d57f7c5aa6f6eb7ee7abb0ba2a243781933
[ "MIT" ]
137
2020-04-28T12:28:32.000Z
2022-03-18T10:48:25.000Z
onnx/test/tools_test.py
cnheider/onnx
8e9c7d57f7c5aa6f6eb7ee7abb0ba2a243781933
[ "MIT" ]
24
2020-05-06T08:06:42.000Z
2021-12-31T07:46:13.000Z
onnx/test/tools_test.py
cnheider/onnx
8e9c7d57f7c5aa6f6eb7ee7abb0ba2a243781933
[ "MIT" ]
24
2020-05-06T11:43:22.000Z
2022-03-18T10:50:35.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import unittest import onnx from onnx.tools import update_model_dims from onnx import helper, TensorProto class TestToolsFunctions(unittest.TestCase): def test_upda...
36.638298
100
0.606272
224
1,722
4.321429
0.263393
0.016529
0.066116
0.103306
0.356405
0.278926
0.278926
0.278926
0.278926
0.241736
0
0.031348
0.259001
1,722
46
101
37.434783
0.727273
0.009292
0
0
0
0
0.024648
0
0
0
0
0
0.097561
1
0.02439
false
0
0.195122
0
0.243902
0.02439
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df5093399be491b1e4faa393720b9b653870b11a
91
py
Python
powerspot/__init__.py
theolamayo/spotify-scripts
d464e7ab631d1dd46957396d4a8802fe8482bbca
[ "MIT" ]
1
2020-11-23T22:45:50.000Z
2020-11-23T22:45:50.000Z
powerspot/__init__.py
theolamayo/spotify-scripts
d464e7ab631d1dd46957396d4a8802fe8482bbca
[ "MIT" ]
null
null
null
powerspot/__init__.py
theolamayo/spotify-scripts
d464e7ab631d1dd46957396d4a8802fe8482bbca
[ "MIT" ]
null
null
null
from . import io, operations, ui __version__ = "0.2" __all__ = ["io", "operations", "ui"]
18.2
36
0.637363
12
91
4.166667
0.75
0.48
0.56
0
0
0
0
0
0
0
0
0.026316
0.164835
91
4
37
22.75
0.631579
0
0
0
0
0
0.186813
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
df50c3432b15ea04d712fd237733f2cc20205308
2,551
py
Python
StripeCaller/caller/mat_ops.py
seanpatrickmoran/StripeCaller
1a6de26cd20570087f18da09228cf714eae81f2d
[ "MIT" ]
null
null
null
StripeCaller/caller/mat_ops.py
seanpatrickmoran/StripeCaller
1a6de26cd20570087f18da09228cf714eae81f2d
[ "MIT" ]
null
null
null
StripeCaller/caller/mat_ops.py
seanpatrickmoran/StripeCaller
1a6de26cd20570087f18da09228cf714eae81f2d
[ "MIT" ]
null
null
null
import numpy as np import scipy.sparse as sp def subsetNpMatrix(matrix, row_bounds, column_bounds): rows = np.array([x for x in range(row_bounds[0], row_bounds[1]) if 0 <= int(x) < matrix.shape[0]]) cols = np.array([y for y in range(column_bounds[0], column_bounds[1]) if 0 <= int(y) < matrix.shape[1]]) if...
30.73494
119
0.592317
405
2,551
3.641975
0.219753
0.085424
0.024407
0.044746
0.330847
0.252203
0.24678
0.169492
0.111186
0.111186
0
0.036555
0.21717
2,551
82
120
31.109756
0.702053
0.196786
0
0.0625
0
0
0.005497
0
0
0
0
0
0
1
0.145833
false
0
0.041667
0.020833
0.354167
0.020833
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df51fe0f9d20bf758783a9a4f440b2cf9b340b01
114
py
Python
app/model.py
Fenghaze/ImageSegmentation
3f7e78fc8129241fd8090c9a67190c85e06fb5a1
[ "MIT" ]
null
null
null
app/model.py
Fenghaze/ImageSegmentation
3f7e78fc8129241fd8090c9a67190c85e06fb5a1
[ "MIT" ]
null
null
null
app/model.py
Fenghaze/ImageSegmentation
3f7e78fc8129241fd8090c9a67190c85e06fb5a1
[ "MIT" ]
null
null
null
import torch model = torch.hub.load('pytorch/vision:v0.10.0', 'deeplabv3_resnet101', pretrained=True) model.eval()
38
88
0.77193
17
114
5.117647
0.882353
0
0
0
0
0
0
0
0
0
0
0.074766
0.061404
114
3
89
38
0.738318
0
0
0
0
0
0.356522
0.191304
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
df537c7d1965860dc5f281c2d604983d7a1c14ee
2,003
py
Python
gym_modular/sensors/part/fixed_number_placed_parts_velocity_sensor.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
gym_modular/sensors/part/fixed_number_placed_parts_velocity_sensor.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
gym_modular/sensors/part/fixed_number_placed_parts_velocity_sensor.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
import math from typing import Optional, Sequence from assembly_gym.environment.generic import Object from ..object_velocity_sensor import ObjectVelocitySensor from task import StackingTask class FixedNumberPlacedPartsVelocitySensor(ObjectVelocitySensor[StackingTask]): """ A sensor that provides the velocit...
51.358974
118
0.725911
262
2,003
5.270992
0.343511
0.095583
0.063722
0.092686
0.272266
0.127444
0.088342
0.050688
0
0
0
0.001896
0.210185
2,003
38
119
52.710526
0.871049
0.333001
0
0
0
0
0.042419
0
0
0
0
0
0.05
1
0.15
false
0
0.25
0.05
0.55
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
df5436be0a12452c30865bd01579f7384844eda4
1,888
py
Python
01/task14.py
omartrinidad/pattern-recognition-bit
ba3eb4e541fff2b1aedbaa4420d7a8cea8100dc7
[ "MIT" ]
null
null
null
01/task14.py
omartrinidad/pattern-recognition-bit
ba3eb4e541fff2b1aedbaa4420d7a8cea8100dc7
[ "MIT" ]
null
null
null
01/task14.py
omartrinidad/pattern-recognition-bit
ba3eb4e541fff2b1aedbaa4420d7a8cea8100dc7
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ task 1.4 Unit circles # ToDo: Implement it in three dimensions # L_p norm # https://www.youtube.com/watch?v=SXEYIGqXSxk # unit circle: # https://www.youtube.com/watch?v=qTbDQ9gkKJg """ import pylab import matplotlib.pyplot as plt import numpy as np from auxiliar import * @save_figure("out...
26.222222
80
0.573093
354
1,888
3.011299
0.361582
0.020638
0.0197
0.026266
0.100375
0.073171
0
0
0
0
0
0.08339
0.225106
1,888
71
81
26.591549
0.645249
0.416314
0
0
0
0
0.079365
0
0
0
0
0.014085
0
1
0.029412
false
0
0.117647
0
0.176471
0.088235
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
df56b842f640e25a4f3079105b09af9465ab1377
2,388
py
Python
toolchain/plugins/measure_jaeger.py
the-redback/pptam-tool
52b9cbd591f82d9ecc68dea1bbeac33701f08a21
[ "MIT" ]
null
null
null
toolchain/plugins/measure_jaeger.py
the-redback/pptam-tool
52b9cbd591f82d9ecc68dea1bbeac33701f08a21
[ "MIT" ]
null
null
null
toolchain/plugins/measure_jaeger.py
the-redback/pptam-tool
52b9cbd591f82d9ecc68dea1bbeac33701f08a21
[ "MIT" ]
null
null
null
import logging import requests import json import os import time def after(current_configuration, output, test_id): jaeger_host = current_configuration["jaeger_host_url"] jaeger_services = current_configuration["jaeger_services"].split(" ") service_to_test = current_configuration["jaeger_test_if_service_i...
44.222222
111
0.581658
267
2,388
5.022472
0.303371
0.07308
0.058166
0.03132
0.170022
0.085011
0.046234
0
0
0
0
0.004302
0.318677
2,388
54
112
44.222222
0.819914
0
0
0.133333
0
0
0.237756
0.049393
0
0
0
0
0
1
0.022222
false
0
0.111111
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df587411f65d34db40c86a1eb7e3c422a977c673
229
py
Python
pycopa/result.py
advaita-krishna-das/pycopa
ed681f86c9c3b418605dbf6b0aee6a63db48458a
[ "MIT" ]
null
null
null
pycopa/result.py
advaita-krishna-das/pycopa
ed681f86c9c3b418605dbf6b0aee6a63db48458a
[ "MIT" ]
null
null
null
pycopa/result.py
advaita-krishna-das/pycopa
ed681f86c9c3b418605dbf6b0aee6a63db48458a
[ "MIT" ]
null
null
null
class ParserResult: def __init__(self, value): self.__value = value def get(self, name): return self.__value.get(name, None) def __getattr__(self, item): return self.__value.get(item, None)
20.818182
43
0.633188
29
229
4.517241
0.413793
0.274809
0.229008
0.274809
0
0
0
0
0
0
0
0
0.257642
229
10
44
22.9
0.770588
0
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0
0.285714
0.857143
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
6
df595ad0cfc3a641ef7ea3f543a93e038717fbf9
1,757
py
Python
status/status/items.py
jesiqueira/scrapyinvestingacoes
df19e9994335a2bcfdc15a9f2a7daefb08830d02
[ "MIT" ]
null
null
null
status/status/items.py
jesiqueira/scrapyinvestingacoes
df19e9994335a2bcfdc15a9f2a7daefb08830d02
[ "MIT" ]
null
null
null
status/status/items.py
jesiqueira/scrapyinvestingacoes
df19e9994335a2bcfdc15a9f2a7daefb08830d02
[ "MIT" ]
null
null
null
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class StatusItem(scrapy.Item): # define the fields for your item here like: indice = scrapy.Field() ticker = scrapy.Field() empresa = scrapy.Field() empres...
29.779661
53
0.667046
179
1,757
6.541899
0.418994
0.450897
0
0
0
0
0
0
0
0
0
0
0.211725
1,757
58
54
30.293103
0.845487
0.092203
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.02
0.02
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
df59942cf5238e3df7d6dc436a218c907b8213f5
249
py
Python
polls_cms_integration/models.py
sandilukez/news-project
fcd91edd6b7d6941b77a6390aa86efe3e2b0c3a1
[ "MIT" ]
null
null
null
polls_cms_integration/models.py
sandilukez/news-project
fcd91edd6b7d6941b77a6390aa86efe3e2b0c3a1
[ "MIT" ]
null
null
null
polls_cms_integration/models.py
sandilukez/news-project
fcd91edd6b7d6941b77a6390aa86efe3e2b0c3a1
[ "MIT" ]
null
null
null
from django.db import models from cms.models import CMSPlugin from polls.models import Poll class PollPluginModel(CMSPlugin): poll = models.ForeignKey(Poll, on_delete="models.CASCADE") def __str__(self): return self.poll.question
22.636364
62
0.75502
33
249
5.545455
0.606061
0.131148
0
0
0
0
0
0
0
0
0
0
0.164659
249
10
63
24.9
0.879808
0
0
0
0
0
0.056225
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
df59e95731903dc924bbf2b74288527f5c9aeccf
984
py
Python
utils/queue_viewer.py
VDL-PRISM/dylos
16bfcc9925d4e18793b4b004bd3ba55d243de450
[ "Apache-2.0" ]
null
null
null
utils/queue_viewer.py
VDL-PRISM/dylos
16bfcc9925d4e18793b4b004bd3ba55d243de450
[ "Apache-2.0" ]
11
2017-12-07T22:45:41.000Z
2018-01-26T20:44:21.000Z
utils/queue_viewer.py
VDL-PRISM/dylos
16bfcc9925d4e18793b4b004bd3ba55d243de450
[ "Apache-2.0" ]
null
null
null
import argparse from datetime import datetime import msgpack from persistent_queue import PersistentQueue import pytz from tabulate import tabulate parser = argparse.ArgumentParser(description='View data from a queue') parser.add_argument('queue') parser.add_argument('start', type=int) parser.add_argument('end', typ...
26.594595
119
0.688008
117
984
5.74359
0.435897
0.040179
0.075893
0.065476
0
0
0
0
0
0
0
0.001267
0.198171
984
36
120
27.333333
0.850444
0
0
0
0
0
0.08435
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df59f4730e20867d4ca7c619bfd2bad305c5e7b7
4,002
py
Python
Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/fromnumeric.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
1
2022-01-08T12:30:44.000Z
2022-01-08T12:30:44.000Z
Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/fromnumeric.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/fromnumeric.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
1
2021-04-26T22:41:56.000Z
2021-04-26T22:41:56.000Z
"""Tests for :mod:`numpy.core.fromnumeric`.""" import numpy as np A = np.array(True, ndmin=2, dtype=bool) B = np.array(1.0, ndmin=2, dtype=np.float32) A.setflags(write=False) B.setflags(write=False) a = np.bool_(True) b = np.float32(1.0) c = 1.0 d = np.array(1.0, dtype=np.float32) # writeable np.take...
15.333333
49
0.601949
876
4,002
2.748858
0.077626
0.061047
0.06686
0.039867
0.608804
0.501246
0.467193
0.31603
0.165282
0.101329
0
0.033954
0.168416
4,002
260
50
15.392308
0.689603
0.012744
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.004566
0
0.004566
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df5b982315dc9d3757badb58ec19ad64ecbb9cf6
871
py
Python
Bugscan_exploits-master/exp_list/exp-1799.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
11
2020-05-30T13:53:49.000Z
2021-03-17T03:20:59.000Z
Bugscan_exploits-master/exp_list/exp-1799.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-13T03:25:18.000Z
2020-07-21T06:24:16.000Z
Bugscan_exploits-master/exp_list/exp-1799.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-30T13:53:51.000Z
2020-12-01T21:44:26.000Z
#!/usr/bin/python #-*- encoding:utf-8 -*- #title:workyi_Talent system SQL injection #author: xx00 #ref: http://www.wooyun.org/bugs/wooyun-2010-0148657 import urlparse def assign(service, arg): if service == 'ruijie_router': arr = urlparse.urlparse(arg) return True, '%s://%s/' % (arr.sch...
32.259259
106
0.652124
119
871
4.647059
0.647059
0.025316
0.047016
0.057866
0.133816
0.133816
0.133816
0.133816
0
0
0
0.074543
0.183697
871
27
107
32.259259
0.703235
0.161883
0
0
0
0.071429
0.358571
0.037143
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df5be020af94bab9e82de5a99d0b4ee436cb2749
2,716
py
Python
core/tests/test_models.py
kaedroho/dit-directory-cms
67c15eeed19e7b3583f1fce1969230ddf83b6813
[ "MIT" ]
null
null
null
core/tests/test_models.py
kaedroho/dit-directory-cms
67c15eeed19e7b3583f1fce1969230ddf83b6813
[ "MIT" ]
null
null
null
core/tests/test_models.py
kaedroho/dit-directory-cms
67c15eeed19e7b3583f1fce1969230ddf83b6813
[ "MIT" ]
null
null
null
import pytest from django.conf import settings from django.core.exceptions import ValidationError from django.utils import translation from wagtail.core.models import Page from find_a_supplier.tests.factories import IndustryPageFactory from invest.tests.factories import InvestAppFactory, \ SectorLandingPageFactor...
31.218391
64
0.768778
387
2,716
5.108527
0.281654
0.052605
0.072838
0.081942
0.35913
0.347496
0.320182
0.286292
0.198786
0.133536
0
0.00128
0.136966
2,716
86
65
31.581395
0.84215
0.042342
0
0.327586
0
0
0.054243
0
0
0
0
0
0.241379
1
0.155172
false
0
0.137931
0
0.293103
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df5c62e88857a20ae95ab8ff976f6b9308f5cbf7
1,315
py
Python
htmldatatables/__init__.py
juhajokela/htmldatatables
298467e6256fc1c1c16c0af9f1d2de8782935715
[ "MIT" ]
null
null
null
htmldatatables/__init__.py
juhajokela/htmldatatables
298467e6256fc1c1c16c0af9f1d2de8782935715
[ "MIT" ]
null
null
null
htmldatatables/__init__.py
juhajokela/htmldatatables
298467e6256fc1c1c16c0af9f1d2de8782935715
[ "MIT" ]
null
null
null
import os from collections.abc import Iterable DIRECTORY = os.path.dirname(os.path.realpath(__file__)) TEMPLATES = os.path.join(DIRECTORY, 'templates') def load_template(path): with open(os.path.join(TEMPLATES, path)) as f: return f.read() def render_html(template, table): return template.replace(...
26.3
65
0.661597
179
1,315
4.715084
0.312849
0.053318
0.023697
0.049763
0.037915
0
0
0
0
0
0
0
0.190875
1,315
49
66
26.836735
0.793233
0
0
0
0
0
0.158175
0.023574
0
0
0
0
0.060606
1
0.181818
false
0
0.060606
0.030303
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df5d14417de1e8123f6427664b0bb96e2cca8f09
1,562
py
Python
bitcoinstore/api/handlers/put_non_fungible.py
0x1a8008/bitcoin-store
7a490d81de4e874e6e455b62b406ba9059c1fb55
[ "MIT" ]
null
null
null
bitcoinstore/api/handlers/put_non_fungible.py
0x1a8008/bitcoin-store
7a490d81de4e874e6e455b62b406ba9059c1fb55
[ "MIT" ]
null
null
null
bitcoinstore/api/handlers/put_non_fungible.py
0x1a8008/bitcoin-store
7a490d81de4e874e6e455b62b406ba9059c1fb55
[ "MIT" ]
null
null
null
""" Handles the validation and loading of a non-fungible item and its associated parent type to the db. """ from bitcoinstore.extensions import db from bitcoinstore.api.models.NonFungibleItem import NonFungibleItem from bitcoinstore.api.models.NonFungibleType import NonFungibleType def put_non_fungible(sku, sn, prope...
29.471698
76
0.608195
174
1,562
5.33908
0.350575
0.094726
0.038751
0.053821
0.101184
0
0
0
0
0
0
0
0.286172
1,562
52
77
30.038462
0.833184
0.109475
0
0.111111
0
0
0.101302
0.030391
0
0
0
0
0
1
0.027778
false
0
0.083333
0
0.166667
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df5e00c77743d2aff34d948eb698d91075fa4344
955
py
Python
AnimeList/admin.py
habelash/AnimeView
893620c318b25a549479c781f002e6eed326705c
[ "CC0-1.0" ]
null
null
null
AnimeList/admin.py
habelash/AnimeView
893620c318b25a549479c781f002e6eed326705c
[ "CC0-1.0" ]
7
2021-03-30T14:17:35.000Z
2022-01-13T02:55:42.000Z
AnimeList/admin.py
habelash/AnimeView
893620c318b25a549479c781f002e6eed326705c
[ "CC0-1.0" ]
null
null
null
from django.contrib import admin from .models import onepiece, naruto, afrosamurai, aot, bleach, \ bnha, deathnote, fairytail, fmab, haikyu, hxh, kny, onepunchman admin.site.site_header = 'Anime View' # Register your models here. class AnimeListAdmin(admin.ModelAdmin): list_display = ('Episode', 'EpisodeLin...
34.107143
67
0.8
109
955
6.972477
0.311927
0.165789
0.290789
0.489474
0
0
0
0
0
0
0
0
0.087958
955
27
68
35.37037
0.87256
0.027225
0
0
0
0
0.049622
0
0
0
0
0
0
1
0
false
0
0.1
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
df5f2416c3d993516e7f533b137098736ce6b338
1,565
py
Python
setup.py
sysid/kneed
f5a22df8281e00c62f9ee7c947b62a8aaa07f8be
[ "BSD-3-Clause" ]
1
2021-10-03T07:33:34.000Z
2021-10-03T07:33:34.000Z
setup.py
deysn/kneed
d7b75a184a86e4ac146acee09ed61d42554b048b
[ "BSD-3-Clause" ]
null
null
null
setup.py
deysn/kneed
d7b75a184a86e4ac146acee09ed61d42554b048b
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup, find_packages from codecs import open as copen from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with copen(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() # get the dependencies and ins...
31.938776
86
0.688818
201
1,565
5.19403
0.522388
0.071839
0.024904
0.032567
0.153257
0.084291
0
0
0
0
0
0.003067
0.166773
1,565
48
87
32.604167
0.797546
0.050479
0
0
0
0
0.29265
0.014835
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df60a01c096b111236fb6420b1ef0f4f34a0a4bc
5,800
py
Python
apps/contact/views.py
gurnitha/django-contact-manager
58d0e1680aa8f778d4e0adb21c868058af70e502
[ "Unlicense" ]
null
null
null
apps/contact/views.py
gurnitha/django-contact-manager
58d0e1680aa8f778d4e0adb21c868058af70e502
[ "Unlicense" ]
null
null
null
apps/contact/views.py
gurnitha/django-contact-manager
58d0e1680aa8f778d4e0adb21c868058af70e502
[ "Unlicense" ]
null
null
null
# apps/contact/urls.py # Django modules from django.shortcuts import render, get_object_or_404, redirect from django.views.generic import ListView, DetailView from django.db.models import Q from django.views.generic.edit import ( CreateView, UpdateView, DeleteView ) from django.contrib.auth.forms import User...
25.108225
71
0.696724
676
5,800
5.837278
0.174556
0.068424
0.032438
0.040547
0.680182
0.653573
0.653573
0.653573
0.64445
0.64445
0
0.00554
0.159655
5,800
231
72
25.108225
0.804062
0.591207
0
0.177419
0
0
0.101164
0.010743
0
0
0
0
0
1
0.048387
false
0
0.145161
0
0.645161
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
df6219cbe0277768d92d5d74c2d4bb86b688c418
1,808
py
Python
src/tox_ansible/tox_lint_case.py
greg-hellings/tox-ansible-collection
174ade3a634ce21c757e5e0efa1d5fbc8e0ede72
[ "MIT" ]
null
null
null
src/tox_ansible/tox_lint_case.py
greg-hellings/tox-ansible-collection
174ade3a634ce21c757e5e0efa1d5fbc8e0ede72
[ "MIT" ]
null
null
null
src/tox_ansible/tox_lint_case.py
greg-hellings/tox-ansible-collection
174ade3a634ce21c757e5e0efa1d5fbc8e0ede72
[ "MIT" ]
null
null
null
from copy import copy from pathlib import Path from .tox_base_case import ToxBaseCase from .tox_helper import Tox BASH = "cd {} && molecule {} lint -s {}" class ToxLintCase(ToxBaseCase): description = "Auto-generated lint for ansible cases" def __init__(self, cases, name_parts=None): self._cases =...
28.25
73
0.57135
199
1,808
5.020101
0.371859
0.099099
0.026026
0.034034
0
0
0
0
0
0
0
0.004003
0.309181
1,808
63
74
28.698413
0.795837
0.09292
0
0.159091
0
0
0.120074
0.014163
0
0
0
0
0
1
0.136364
false
0
0.090909
0.045455
0.386364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df6252908a12c49e3d5354f06eb6a587268a5913
421
py
Python
minpair/__init__.py
brandonlim-hs/minpair
f8ea7fcab0bfc4a6b9bc45dd2b1f0aeb089b365e
[ "MIT" ]
1
2020-12-29T04:25:55.000Z
2020-12-29T04:25:55.000Z
minpair/__init__.py
brandonlim-hs/minpair
f8ea7fcab0bfc4a6b9bc45dd2b1f0aeb089b365e
[ "MIT" ]
null
null
null
minpair/__init__.py
brandonlim-hs/minpair
f8ea7fcab0bfc4a6b9bc45dd2b1f0aeb089b365e
[ "MIT" ]
null
null
null
from minpair.generator import Generator def generator(**args): return Generator(**args) def vowel_minpair(vowels: list): return generator().vowel_minpair(vowels) __all__ = ['__version__'] try: from minpair._version import version as __version__ except ImportError: # broken installation, we don't e...
22.157895
64
0.738717
52
421
5.615385
0.576923
0.075342
0.123288
0
0
0
0
0
0
0
0
0
0.180523
421
18
65
23.388889
0.846377
0.230404
0
0
0
0
0.056075
0
0
0
0
0
0
1
0.2
false
0
0.3
0.2
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
df63b5b68fd38bb5792b3f99329d5814e6454f21
3,498
py
Python
simplads/simplad_monad/simplad_base_helper.py
Cogmob/simplads
8731c4a02273109187cfe601058ce797e32ba1ae
[ "MIT" ]
null
null
null
simplads/simplad_monad/simplad_base_helper.py
Cogmob/simplads
8731c4a02273109187cfe601058ce797e32ba1ae
[ "MIT" ]
null
null
null
simplads/simplad_monad/simplad_base_helper.py
Cogmob/simplads
8731c4a02273109187cfe601058ce797e32ba1ae
[ "MIT" ]
null
null
null
from .delta_type import DeltaType from .namedtuples.bind_args import BindArgs from .namedtuples.bound import Bound from .simplad_base import SimpladBase from .simplad_monad import WrappedDelta import abc ''' bind process input (~bound~, []) extract unbound and annotation from ~bound~ call bind until lowest lay...
30.417391
92
0.609777
384
3,498
5.427083
0.221354
0.074856
0.043186
0.018714
0.216891
0.127639
0.099808
0.023992
0
0
0
0.000824
0.306461
3,498
114
93
30.684211
0.858203
0.06518
0
0.205479
0
0
0.006205
0
0
0
0
0
0
1
0.136986
false
0
0.082192
0.013699
0.438356
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df63b9ef1ff1a335dfc085e74333df01240dbbac
5,215
py
Python
zubio/gym/views.py
tejesh0/Zubio.in
a0a71d2fafd21e97b5a5062215149a9756d46e0b
[ "MIT" ]
1
2016-03-20T18:32:23.000Z
2016-03-20T18:32:23.000Z
zubio/gym/views.py
tejesh0/Zubio.in
a0a71d2fafd21e97b5a5062215149a9756d46e0b
[ "MIT" ]
9
2020-06-05T17:18:43.000Z
2022-03-11T23:15:04.000Z
zubio/gym/views.py
tejesh0/Zubio.in
a0a71d2fafd21e97b5a5062215149a9756d46e0b
[ "MIT" ]
null
null
null
from django.shortcuts import render_to_response, HttpResponse from django.http import HttpRequest from django.template import RequestContext from django.http import HttpResponseRedirect from django.core.urlresolvers import reverse from gym.models import FitnessListing, FitnessListingForm # from gym.forms import Docume...
27.020725
96
0.629338
588
5,215
5.469388
0.292517
0.031095
0.049751
0.054726
0.217351
0.135572
0.084577
0.084577
0.059701
0.059701
0
0.00129
0.256951
5,215
192
97
27.161458
0.828645
0.089166
0
0.176
0
0
0.125166
0.00575
0
0
0
0
0
0
null
null
0.008
0.12
null
null
0.048
0
0
0
null
0
0
0
0
0
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
df659d906d53b0c61e9d3171a0f7de7260a4b059
3,381
py
Python
algofi/v1/mint.py
zhengxunWu3/algofi-py-sdk
8388d71d55eae583ac3579286b5f870aa3db2913
[ "MIT" ]
38
2021-12-30T02:32:57.000Z
2022-03-23T22:09:16.000Z
algofi/v1/mint.py
zhengxunWu3/algofi-py-sdk
8388d71d55eae583ac3579286b5f870aa3db2913
[ "MIT" ]
4
2021-11-03T00:14:46.000Z
2022-03-28T02:17:33.000Z
algofi/v1/mint.py
zhengxunWu3/algofi-py-sdk
8388d71d55eae583ac3579286b5f870aa3db2913
[ "MIT" ]
8
2021-12-15T05:29:55.000Z
2022-02-08T03:45:11.000Z
from algosdk.future.transaction import ApplicationNoOpTxn, PaymentTxn, AssetTransferTxn from .prepend import get_init_txns from ..utils import Transactions, TransactionGroup from ..contract_strings import algofi_manager_strings as manager_strings def prepare_mint_transactions(sender, suggested_params, storage_accoun...
42.2625
210
0.725525
421
3,381
5.565321
0.232779
0.032864
0.035851
0.044814
0.325224
0.237729
0.212548
0.16816
0.050363
0.050363
0
0.00264
0.215617
3,381
80
211
42.2625
0.880845
0.44898
0
0.23913
0
0
0
0
0
0
0
0
0
1
0.021739
false
0
0.086957
0
0.130435
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df66ab464b13a513e66e9302a7958b1b756ed3c8
1,627
py
Python
src/spotify/migrations/0002_auto_20210413_1733.py
rryanburton/kwmgt
0e8f9657d48ed5b9021d6316caa55c982f9e2800
[ "MIT" ]
null
null
null
src/spotify/migrations/0002_auto_20210413_1733.py
rryanburton/kwmgt
0e8f9657d48ed5b9021d6316caa55c982f9e2800
[ "MIT" ]
null
null
null
src/spotify/migrations/0002_auto_20210413_1733.py
rryanburton/kwmgt
0e8f9657d48ed5b9021d6316caa55c982f9e2800
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-04-13 17:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('spotify', '0001_initial'), ] operations = [ migrations.AlterField( model_name='artist', name='external_urls', ...
27.576271
62
0.531039
145
1,627
5.855172
0.324138
0.212014
0.265018
0.30742
0.737338
0.737338
0.691402
0.691402
0.588928
0.588928
0
0.025544
0.350338
1,627
58
63
28.051724
0.777673
0.026429
0
0.673077
1
0
0.087231
0
0
0
0
0
0
1
0
false
0
0.019231
0
0.076923
0
0
0
0
null
1
1
1
0
1
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
5
df66daaa9747f0019148015d719b4599c2bca06f
1,794
py
Python
app/users/notification.py
AniaPeszek/ReclamationAndTicketSystem
42551732dcc9af42dc7401fbc13b8fdb6e3c132f
[ "MIT" ]
null
null
null
app/users/notification.py
AniaPeszek/ReclamationAndTicketSystem
42551732dcc9af42dc7401fbc13b8fdb6e3c132f
[ "MIT" ]
null
null
null
app/users/notification.py
AniaPeszek/ReclamationAndTicketSystem
42551732dcc9af42dc7401fbc13b8fdb6e3c132f
[ "MIT" ]
null
null
null
from app import db from flask_login import current_user from app.models import Ticket, Reclamation, User, Message from flask import url_for def send_message(EventClass, event_id, recipient): if EventClass == Ticket: content = create_msg_body_for_new_ticket(event_id) msg = Message(author=current_us...
46
109
0.746934
244
1,794
5.213115
0.245902
0.049528
0.040881
0.050314
0.515723
0.5
0.407233
0.36478
0.267296
0.267296
0
0
0.143813
1,794
38
110
47.210526
0.828125
0.039576
0
0.258065
0
0.032258
0.237071
0.112144
0
0
0
0
0
1
0.096774
false
0
0.129032
0
0.290323
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df6719fc088a3a0aaec2c43c101efb49c9214882
40
py
Python
test/tests/test_environments/python_src/foo.py
jithindevasia/fission
4a4ba9d36d92c61c9f22b07e10ec08580957b520
[ "Apache-2.0" ]
6,891
2016-12-24T05:54:27.000Z
2022-03-31T15:55:08.000Z
test/tests/test_environments/python_src/foo.py
jithindevasia/fission
4a4ba9d36d92c61c9f22b07e10ec08580957b520
[ "Apache-2.0" ]
1,840
2016-12-24T18:50:37.000Z
2022-03-31T08:22:23.000Z
test/tests/test_environments/python_src/foo.py
jithindevasia/fission
4a4ba9d36d92c61c9f22b07e10ec08580957b520
[ "Apache-2.0" ]
839
2017-01-13T12:40:55.000Z
2022-03-29T14:44:02.000Z
def bar(): return 'THIS_IS_FOO_BAR'
13.333333
28
0.675
7
40
3.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.2
40
2
29
20
0.75
0
0
0
0
0
0.375
0
0
0
0
0
0
1
0.5
true
0
0
0.5
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
0
0
0
6
df67adfbfcad2c99ac76305f2b4d17fc4dc56088
1,891
py
Python
setup.py
yutongD/Player2Vec
22b72d75f81dd057762f0c7225a4558a25095b8f
[ "Apache-2.0" ]
447
2020-05-02T05:29:04.000Z
2022-03-30T12:48:56.000Z
setup.py
lzz-hub-dev/DGFraud
ee74ce55c9206e6c194aef01ee43246ecf226254
[ "Apache-2.0" ]
11
2020-05-03T16:36:04.000Z
2022-02-26T22:31:00.000Z
setup.py
lzz-hub-dev/DGFraud
ee74ce55c9206e6c194aef01ee43246ecf226254
[ "Apache-2.0" ]
115
2020-05-06T01:41:36.000Z
2022-03-30T12:15:05.000Z
from setuptools import find_packages, setup # read the contents of README file from os import path from io import open # for Python 2 and 3 compatibility this_directory = path.abspath(path.dirname(__file__)) # read the contents of requirements.txt with open(path.join(this_directory, 'requirements.txt'), e...
41.108696
79
0.611846
213
1,891
5.342723
0.605634
0.070299
0.026362
0.029877
0.057996
0.057996
0.057996
0
0
0
0
0.025605
0.256478
1,891
45
80
42.022222
0.783784
0.054469
0
0.051282
0
0
0.455157
0.037556
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df67b484bc799e1c36c9aac365dd46cca21d5596
7,200
py
Python
main.py
ojsindher/Computer-Pointer-Controller-OPENVINO
7e6c286d0eb90005cc5fc881439f09776c31755e
[ "MIT" ]
null
null
null
main.py
ojsindher/Computer-Pointer-Controller-OPENVINO
7e6c286d0eb90005cc5fc881439f09776c31755e
[ "MIT" ]
null
null
null
main.py
ojsindher/Computer-Pointer-Controller-OPENVINO
7e6c286d0eb90005cc5fc881439f09776c31755e
[ "MIT" ]
null
null
null
import os import cv2 import time import numpy as np import pyautogui import matplotlib.pyplot as plt from input_feeder import InputFeeder from mouse_controller import MouseController from face_detection import Model_fd from gaze_estimation import Model_ge from facial_landmarks_detection import Model_fld from head_pose_...
47.368421
279
0.647778
1,005
7,200
4.410945
0.230846
0.029777
0.025716
0.025716
0.213174
0.163997
0.100383
0.087751
0.053012
0.044665
0
0.008059
0.241667
7,200
152
280
47.368421
0.803846
0
0
0.033333
0
0.016667
0.247721
0.045145
0
0
0.001447
0
0
1
0.016667
false
0
0.116667
0
0.141667
0.075
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df6859e42b7787e019db751ab64cf0c502a0c439
425
py
Python
forumsweats/commands/unmoot.py
duckiecousingaming/forum-sweats
6addf3159e59902a6905c25240bf54f8a7a00e76
[ "MIT" ]
10
2020-10-15T18:08:53.000Z
2021-12-11T13:15:05.000Z
forumsweats/commands/unmoot.py
duckiecousingaming/forum-sweats
6addf3159e59902a6905c25240bf54f8a7a00e76
[ "MIT" ]
59
2020-10-06T23:19:25.000Z
2022-03-06T14:16:31.000Z
forumsweats/commands/unmoot.py
duckiecousingaming/forum-sweats
6addf3159e59902a6905c25240bf54f8a7a00e76
[ "MIT" ]
13
2020-10-19T20:46:47.000Z
2022-03-05T20:17:40.000Z
from ..commandparser import Member from ..discordbot import unmoot_user import discord name = 'unmoot' channels = None roles = ('helper', 'trialhelper') args = '<member>' async def run(message, member: Member): 'Removes a moot from a member' await unmoot_user( member.id, reason=f'Unmooted by {str(message.autho...
20.238095
50
0.717647
57
425
5.315789
0.614035
0.066007
0
0
0
0
0
0
0
0
0
0
0.148235
425
20
51
21.25
0.837017
0
0
0
0
0
0.294118
0.049412
0
0
0
0
0
1
0
false
0
0.1875
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df69316b0035a262181610684f3b3f628ccdb9dd
1,531
py
Python
datareduction/TestPCA_MNIST.py
andresmasegosa/PRML-CoreSets
fb768debb15e3ff6f5b65b7224915a41c1493f3d
[ "MIT" ]
null
null
null
datareduction/TestPCA_MNIST.py
andresmasegosa/PRML-CoreSets
fb768debb15e3ff6f5b65b7224915a41c1493f3d
[ "MIT" ]
null
null
null
datareduction/TestPCA_MNIST.py
andresmasegosa/PRML-CoreSets
fb768debb15e3ff6f5b65b7224915a41c1493f3d
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt from sklearn.cluster import KMeans from sklearn import datasets from datareduction.bayesian_pca_DR import BayesianPCA_DR from prml.feature_extractions import BayesianPCA, PCA from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets...
27.339286
70
0.70934
268
1,531
3.973881
0.272388
0.026291
0.061972
0.067606
0.548357
0.547418
0.547418
0.547418
0.513615
0.513615
0
0.054195
0.120183
1,531
55
71
27.836364
0.736451
0.006532
0
0.5
0
0
0.032895
0
0
0
0
0
0
1
0
false
0
0.152174
0
0.152174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df6968e55d2d2269a343f9563ee32b10b7d73c51
1,525
py
Python
research/adversarial_text/pretrain.py
hjkim-haga/TF-OD-API
22ac477ff4dfb93fe7a32c94b5f0b1e74330902b
[ "Apache-2.0" ]
1
2019-09-11T09:41:11.000Z
2019-09-11T09:41:11.000Z
research/adversarial_text/pretrain.py
hjkim-haga/TF-OD-API
22ac477ff4dfb93fe7a32c94b5f0b1e74330902b
[ "Apache-2.0" ]
null
null
null
research/adversarial_text/pretrain.py
hjkim-haga/TF-OD-API
22ac477ff4dfb93fe7a32c94b5f0b1e74330902b
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. 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 applicable ...
32.446809
81
0.699672
209
1,525
4.92823
0.617225
0.058252
0.046602
0.031068
0.040777
0
0
0
0
0
0
0.023923
0.177705
1,525
46
82
33.152174
0.797448
0.598689
0
0
0
0
0.014815
0
0
0
0
0
0
1
0.066667
false
0
0.4
0
0.466667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
df6a3a82390987ac2500ff7fb4289e4ffe93a4b6
5,520
py
Python
Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/Apps/SA/Time.py
sparkslabs/kamaelia_orig
24b5f855a63421a1f7c6c7a35a7f4629ed955316
[ "Apache-2.0" ]
12
2015-10-20T10:22:01.000Z
2021-07-19T10:09:44.000Z
Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/Apps/SA/Time.py
sparkslabs/kamaelia_orig
24b5f855a63421a1f7c6c7a35a7f4629ed955316
[ "Apache-2.0" ]
2
2015-10-20T10:22:55.000Z
2017-02-13T11:05:25.000Z
Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/Apps/SA/Time.py
sparkslabs/kamaelia_orig
24b5f855a63421a1f7c6c7a35a7f4629ed955316
[ "Apache-2.0" ]
6
2015-03-09T12:51:59.000Z
2020-03-01T13:06:21.000Z
# -*- coding: utf-8 -*- # Copyright 2010 British Broadcasting Corporation and Kamaelia Contributors(1) # # (1) Kamaelia Contributors are listed in the AUTHORS file and at # http://www.kamaelia.org/AUTHORS - please extend this file, # not this notice. # # Licensed under the Apache License, Version 2.0 (the "Lice...
37.297297
104
0.655978
681
5,520
5.22467
0.323054
0.062114
0.04778
0.023609
0.433671
0.418775
0.35638
0.304666
0.304666
0.304666
0
0.007522
0.253442
5,520
147
105
37.55102
0.85586
0.368297
0
0.65
0
0
0.154642
0
0
0
0
0.006803
0
1
0.05
false
0
0.075
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df6a3f97128cd0432d6dd7f8b604aa0b9b234860
4,180
py
Python
p3iv_utils_polyline/src/p3iv_utils_polyline/interpolated_polyline_segment.py
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
4
2021-07-27T06:56:22.000Z
2022-03-22T11:21:30.000Z
p3iv_utils_polyline/src/p3iv_utils_polyline/interpolated_polyline_segment.py
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
null
null
null
p3iv_utils_polyline/src/p3iv_utils_polyline/interpolated_polyline_segment.py
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
1
2021-10-10T01:56:44.000Z
2021-10-10T01:56:44.000Z
# This file is part of the P3IV Simulator (https://github.com/fzi-forschungszentrum-informatik/P3IV), # copyright by FZI Forschungszentrum Informatik, licensed under the BSD-3 license (see LICENSE file in main directory) import numpy as np import warnings def hypot(a, b): # do not use np.hypot(a, b); may not wor...
30.735294
118
0.539952
548
4,180
4.076642
0.315693
0.019696
0.013429
0.007162
0.055506
0.025067
0
0
0
0
0
0.013643
0.351196
4,180
135
119
30.962963
0.810103
0.267703
0
0.171053
0
0
0.014676
0
0
0
0
0
0
1
0.144737
false
0
0.026316
0.039474
0.328947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df6adfda0b85c502e51e06f22cd6229fd0a3053b
118
py
Python
Others/paken/pakencamp-2020-day1/b/main.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
2
2020-06-12T09:54:23.000Z
2021-05-04T01:34:07.000Z
Others/paken/pakencamp-2020-day1/b/main.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
961
2020-06-23T07:26:22.000Z
2022-03-31T21:34:52.000Z
Others/paken/pakencamp-2020-day1/b/main.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- def main(): x = list(input()) print(max(x)) if __name__ == "__main__": main()
10.727273
26
0.491525
15
118
3.333333
0.8
0
0
0
0
0
0
0
0
0
0
0.011628
0.271186
118
10
27
11.8
0.569767
0.177966
0
0
0
0
0.084211
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.2
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
df6ca557f603a97a74f408033965ff6cad9e9699
6,901
py
Python
python/build/lib/sts/sts.py
BrandoZhang/qcloud-cos-sts-sdk
84b5fdfaaba00ed7eb1c35146e693b22a07fc877
[ "MIT" ]
1
2019-07-09T09:35:44.000Z
2019-07-09T09:35:44.000Z
python/build/lib/sts/sts.py
BrandoZhang/qcloud-cos-sts-sdk
84b5fdfaaba00ed7eb1c35146e693b22a07fc877
[ "MIT" ]
null
null
null
python/build/lib/sts/sts.py
BrandoZhang/qcloud-cos-sts-sdk
84b5fdfaaba00ed7eb1c35146e693b22a07fc877
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- import hashlib import hmac import time try: from urllib import quote # Python 2.X except ImportError: from urllib.parse import quote # Python 3+ from functools import reduce import json import base64 import requests import random class Sts: def __init__(self, config={}): ...
31.655963
118
0.555282
733
6,901
5.061392
0.218281
0.049057
0.038814
0.032345
0.15903
0.08841
0.07655
0.0469
0.025876
0
0
0.011457
0.329662
6,901
217
119
31.801843
0.790532
0.021011
0
0.122807
0
0
0.099466
0.025348
0
0
0
0
0
1
0.093567
false
0
0.076023
0.017544
0.274854
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0