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
e0e8c16c149b3f2baa19710b2d63b573fc6e0276
15,268
py
Python
maya_utils/file_utils.py
AlexGaida/Python
b524946608ce6d77b24f79a7cd48da497d48dea8
[ "MIT" ]
7
2020-06-08T19:12:04.000Z
2022-02-07T23:01:18.000Z
maya_utils/file_utils.py
AlexGaida/Python
b524946608ce6d77b24f79a7cd48da497d48dea8
[ "MIT" ]
null
null
null
maya_utils/file_utils.py
AlexGaida/Python
b524946608ce6d77b24f79a7cd48da497d48dea8
[ "MIT" ]
3
2020-06-20T14:31:09.000Z
2022-01-24T06:40:16.000Z
""" Creating and reading file objects, as well as manipulating the maya files. """ # import standard modules import posixpath import re import os import xml.etree.cElementTree as ET import json import glob import ast import shutil # import maya modules from maya import cmds # define local variables # re_slash = re.co...
27.810565
108
0.611737
2,038
15,268
4.390579
0.130029
0.088511
0.024139
0.022798
0.273916
0.194122
0.131985
0.109298
0.102369
0.077559
0
0.002966
0.271286
15,268
548
109
27.861314
0.801276
0.016964
0
0.128514
0
0
0.045756
0.015462
0
0
0
0
0
0
null
null
0
0.036145
null
null
0.004016
0
0
0
null
0
0
0
0
0
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
e0ed295e865435dce742967ee38f7f161d09612c
744
py
Python
examples/doc-example-4.py
jeeftor/hyperion-py
5d59085a20fa8eca944314547613b5aabc17647e
[ "MIT" ]
8
2020-09-07T06:31:15.000Z
2022-03-11T19:30:04.000Z
examples/doc-example-4.py
jeeftor/hyperion-py
5d59085a20fa8eca944314547613b5aabc17647e
[ "MIT" ]
82
2020-09-24T07:37:22.000Z
2022-03-18T02:12:23.000Z
examples/doc-example-4.py
jeeftor/hyperion-py
5d59085a20fa8eca944314547613b5aabc17647e
[ "MIT" ]
7
2020-12-01T19:01:27.000Z
2022-03-03T12:59:16.000Z
#!/usr/bin/env python """Simple Threaded Hyperion client demonstration.""" from hyperion import client, const HOST = "hyperion" if __name__ == "__main__": hyperion_client = client.ThreadedHyperionClient(HOST) # Start the asyncio loop in a new thread. hyperion_client.start() # Wait for the client to...
24.8
83
0.716398
92
744
5.554348
0.456522
0.246575
0.156556
0.09002
0.113503
0
0
0
0
0
0
0.001653
0.186828
744
29
84
25.655172
0.842975
0.357527
0
0
0
0
0.06867
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.090909
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0edeb6025dadc2582bad5553cf7283f380e5db0
1,827
py
Python
deregister_from_elb.py
SaschaMoellering/aws-docker-scripts
50f1fdd857bd12376398a5353b9f0e2eaef65fcf
[ "Apache-2.0" ]
4
2015-04-15T20:51:05.000Z
2019-06-27T07:54:14.000Z
deregister_from_elb.py
SaschaMoellering/aws-docker-scripts
50f1fdd857bd12376398a5353b9f0e2eaef65fcf
[ "Apache-2.0" ]
null
null
null
deregister_from_elb.py
SaschaMoellering/aws-docker-scripts
50f1fdd857bd12376398a5353b9f0e2eaef65fcf
[ "Apache-2.0" ]
null
null
null
import sys import getopt import boto import boto.ec2.elb import aws_library __author__ = 'sascha.moellering' def main(argv): image = '' tag = '' elb_name = '' stage = '' mode = '' try: opts, args = getopt.getopt(argv, "hi:t:e:s:g:m:", ["image=", "ta...
27.681818
100
0.547345
254
1,827
3.779528
0.248032
0.04375
0.05625
0.0625
0.10625
0.10625
0.10625
0.10625
0.10625
0.10625
0
0.011503
0.286262
1,827
66
101
27.681818
0.724693
0
0
0
0
0.038462
0.209519
0.02407
0
0
0
0
0
0
null
null
0
0.096154
null
null
0.173077
0
0
0
null
0
0
0
0
0
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
e0f58bb4308675dba221a84653d7a2b9b59bbb5a
927
py
Python
tests/test_printable.py
4577/Jawa
23f93020ef6687567e45a9afa09bfd6e0faf6f0a
[ "MIT" ]
1
2021-12-30T10:53:57.000Z
2021-12-30T10:53:57.000Z
tests/test_printable.py
GiantTreeLP/jawa-fixed
dbdd1cb6ef2439bf6496adef8732775c792036ec
[ "MIT" ]
null
null
null
tests/test_printable.py
GiantTreeLP/jawa-fixed
dbdd1cb6ef2439bf6496adef8732775c792036ec
[ "MIT" ]
1
2021-01-21T12:17:39.000Z
2021-01-21T12:17:39.000Z
from jawa.cf import ClassFile from jawa.constants import ConstantPool def test_printable_constants(): # Ensure we can successfully repr valid constants without crashing. pool = ConstantPool() repr(pool.create_utf8('HelloWorld')) repr(pool.create_class('HelloWorld')) repr(pool.create_double(1)) ...
31.965517
71
0.686084
118
927
5.211864
0.398305
0.143089
0.250407
0.097561
0.126829
0.126829
0.126829
0.126829
0.126829
0
0
0.010336
0.165049
927
28
72
33.107143
0.784238
0.070119
0
0
0
0
0.174419
0.025581
0
0
0
0
0.086957
1
0.086957
false
0
0.086957
0
0.173913
0.086957
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0fa85803b1a071cafdd7effeb2aed8c23b5742b
11,579
py
Python
diofant/functions/special/tensor_functions.py
rajkk1/diofant
6b361334569e4ec2e8c7d30dc324387a4ad417c2
[ "BSD-3-Clause" ]
null
null
null
diofant/functions/special/tensor_functions.py
rajkk1/diofant
6b361334569e4ec2e8c7d30dc324387a4ad417c2
[ "BSD-3-Clause" ]
null
null
null
diofant/functions/special/tensor_functions.py
rajkk1/diofant
6b361334569e4ec2e8c7d30dc324387a4ad417c2
[ "BSD-3-Clause" ]
null
null
null
import math from ...core import Function, Integer from ...utilities import default_sort_key, has_dups ############################################################################### # #################### Kronecker Delta, Levi-Civita etc. #################### # #######################################################...
27.308962
88
0.564643
1,332
11,579
4.758258
0.12988
0.058378
0.06532
0.077785
0.672767
0.614232
0.583307
0.494478
0.418586
0.379142
0
0.00829
0.302012
11,579
423
89
27.373522
0.775922
0.536229
0
0.421569
0
0
0.055952
0
0
0
0
0
0
1
0.147059
false
0
0.039216
0.019608
0.54902
0.009804
0
0
0
null
0
0
0
0
0
0
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
46023ddc96a323ea7066a2335ae05c6595e6c553
1,345
py
Python
clyther/test/test_builtins.py
srossross/Clyther
3540952ef2da2dbbc55bc71bee9b34c43a058edb
[ "BSD-3-Clause" ]
17
2015-02-02T21:47:18.000Z
2021-06-28T04:18:47.000Z
clyther/test/test_builtins.py
srossross/Clyther
3540952ef2da2dbbc55bc71bee9b34c43a058edb
[ "BSD-3-Clause" ]
null
null
null
clyther/test/test_builtins.py
srossross/Clyther
3540952ef2da2dbbc55bc71bee9b34c43a058edb
[ "BSD-3-Clause" ]
4
2017-03-21T17:54:33.000Z
2022-03-06T22:22:17.000Z
''' Created on Dec 24, 2011 @author: sean ''' import clyther as cly from clyther.array import CLArrayContext import opencl as cl import unittest import math import os import numpy as np ca = None def setUpModule(): global ca DEVICE_TYPE_ATTR = os.environ.get('DEVICE_TYPE', 'DEFAULT') DEVICE_TY...
20.692308
63
0.548699
186
1,345
3.833333
0.354839
0.084151
0.039271
0.039271
0.440393
0.440393
0.440393
0.440393
0.440393
0.440393
0
0.017505
0.320446
1,345
64
64
21.015625
0.762582
0.03197
0
0.486486
0
0
0.023904
0
0
0
0
0
0.054054
0
null
null
0
0.189189
null
null
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
460bb06ccd8be022522ec4c7987eff10dfcec091
526
py
Python
ServidorPython/python32_web/Lib/site-packages/jsonschema/benchmarks/issue232.py
mak213k/Servidor_automatizado_python
4403ef8027a2f814220baacc95856cf5fbf01d21
[ "MIT" ]
4
2019-07-26T11:32:22.000Z
2019-09-11T05:34:59.000Z
ServidorPython/python32_web/Lib/site-packages/jsonschema/benchmarks/issue232.py
mak213k/Servidor_automatizado_python
4403ef8027a2f814220baacc95856cf5fbf01d21
[ "MIT" ]
9
2019-12-05T00:49:12.000Z
2021-09-08T01:31:25.000Z
backend/env/lib/python3.7/site-packages/jsonschema/benchmarks/issue232.py
US579/Seddit
116a676efd0fa31c8cc6fe4c723b739203d9428b
[ "MIT" ]
2
2021-05-02T13:40:20.000Z
2021-09-16T22:36:14.000Z
#!/usr/bin/env python """ A performance benchmark using the example from issue #232: https://github.com/Julian/jsonschema/pull/232 """ from twisted.python.filepath import FilePath from perf import Runner from pyrsistent import m from jsonschema.tests._suite import Collection import jsonschema collection = Collecti...
20.230769
58
0.750951
63
526
6.063492
0.619048
0
0
0
0
0
0
0
0
0
0
0.028634
0.136882
526
25
59
21.04
0.812775
0.239544
0
0
0
0
0.061381
0
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
460cdfd07d95457cd8ce066fd6e8cf5c393cbe19
261
py
Python
hatchet/version.py
TauferLab/llnl-hatchet
c7d12888d71d2b23058facd3025e7dcfa12cbb39
[ "MIT" ]
null
null
null
hatchet/version.py
TauferLab/llnl-hatchet
c7d12888d71d2b23058facd3025e7dcfa12cbb39
[ "MIT" ]
null
null
null
hatchet/version.py
TauferLab/llnl-hatchet
c7d12888d71d2b23058facd3025e7dcfa12cbb39
[ "MIT" ]
null
null
null
# Copyright 2017-2022 Lawrence Livermore National Security, LLC and other # Hatchet Project Developers. See the top-level LICENSE file for details. # # SPDX-License-Identifier: MIT __version_info__ = ("2022", "1", "0") __version__ = ".".join(__version_info__)
32.625
73
0.754789
34
261
5.382353
0.852941
0.120219
0
0
0
0
0
0
0
0
0
0.061674
0.130268
261
7
74
37.285714
0.744493
0.659004
0
0
0
0
0.083333
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
460f9c02ecf5b75d8c81586171d1407a69b13930
517
py
Python
restful/server_get_urlctv.py
mexuaz/net_examples
4760f01e47bef08d98bf2b0472d45e5a940b6b4f
[ "BSD-3-Clause" ]
null
null
null
restful/server_get_urlctv.py
mexuaz/net_examples
4760f01e47bef08d98bf2b0472d45e5a940b6b4f
[ "BSD-3-Clause" ]
null
null
null
restful/server_get_urlctv.py
mexuaz/net_examples
4760f01e47bef08d98bf2b0472d45e5a940b6b4f
[ "BSD-3-Clause" ]
null
null
null
from flask import Flask, json, jsonify, make_response api = Flask(__name__) @api.route('/users/<username>', methods=['GET']) def get_userinfo(username): with open('./db/users.json') as f: users = json.load(f)['users'] for u in users: if u['username'] == username: del u['username'] del u['pass_sh1'] ret...
27.210526
61
0.676983
80
517
4.175
0.6
0.017964
0.071856
0
0
0
0
0
0
0
0
0.027149
0.145068
517
18
62
28.722222
0.728507
0.071567
0
0
0
0
0.202929
0
0
0
0
0
0
1
0.071429
false
0.071429
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
461334779ffef5196adba46ab78f8915f5b7d8c0
520
py
Python
Refinement_based_extraction/LinearTransform.py
DES-Lab/Extracting-FSM-From-RNNs
bc418b4b90d2f313d3d7083a69ce562f46a2e126
[ "MIT" ]
9
2021-05-03T09:08:25.000Z
2022-03-17T02:41:38.000Z
Refinement_based_extraction/LinearTransform.py
DES-Lab/Extracting-FSM-From-RNNs
bc418b4b90d2f313d3d7083a69ce562f46a2e126
[ "MIT" ]
null
null
null
Refinement_based_extraction/LinearTransform.py
DES-Lab/Extracting-FSM-From-RNNs
bc418b4b90d2f313d3d7083a69ce562f46a2e126
[ "MIT" ]
1
2021-05-25T07:49:42.000Z
2021-05-25T07:49:42.000Z
import dynet as dy class LinearTransform: def __init__(self,input_dim,output_dim,pc): self.W_param = pc.add_parameters((output_dim, input_dim)) #parameter object self.b_param = pc.add_parameters((output_dim)) #parameter object self.store_expressions() def store_expressions(self...
37.142857
83
0.686538
71
520
4.732394
0.380282
0.059524
0.059524
0.119048
0.172619
0.172619
0
0
0
0
0
0
0.217308
520
14
84
37.142857
0.825553
0.061538
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.090909
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4615a89c0974111e50c51feb702aa8e1ed2570ba
3,911
py
Python
qlib/backtest/signal.py
SunsetWolf/qlib
89972f6c6f9fa629b4f74093d4ba1e93c9f7a5e5
[ "MIT" ]
null
null
null
qlib/backtest/signal.py
SunsetWolf/qlib
89972f6c6f9fa629b4f74093d4ba1e93c9f7a5e5
[ "MIT" ]
null
null
null
qlib/backtest/signal.py
SunsetWolf/qlib
89972f6c6f9fa629b4f74093d4ba1e93c9f7a5e5
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. import abc from typing import Dict, List, Text, Tuple, Union import pandas as pd from qlib.utils import init_instance_by_config from ..data.dataset import Dataset from ..data.dataset.utils import convert_index_format from ..model.base import Ba...
37.247619
140
0.661979
511
3,911
4.966732
0.362035
0.034673
0.023641
0.044917
0.082742
0.082742
0.044129
0.044129
0.044129
0.044129
0
0.028374
0.261059
3,911
104
141
37.605769
0.849827
0.453337
0
0
0
0
0.043339
0
0
0
0
0.009615
0
1
0.15
false
0
0.2
0
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
461be7c29fb032b5182bec805055a9fb05599ece
4,172
py
Python
test/test_functional.py
marrow/script
1729884df208040c28058f6088b9a5cd16208871
[ "MIT" ]
null
null
null
test/test_functional.py
marrow/script
1729884df208040c28058f6088b9a5cd16208871
[ "MIT" ]
null
null
null
test/test_functional.py
marrow/script
1729884df208040c28058f6088b9a5cd16208871
[ "MIT" ]
null
null
null
# encoding: utf-8 from __future__ import unicode_literals, print_function from unittest import TestCase from marrow.script.core import Parser from marrow.script import script, annotate from helper import capture class TestFunctionalInterface(TestCase): def test__example__called_with_explicit_help(self): @scrip...
26.075
84
0.681448
531
4,172
5.045198
0.173258
0.116461
0.087346
0.047032
0.466592
0.365062
0.246361
0.246361
0.246361
0.208287
0
0.018727
0.168025
4,172
160
85
26.075
0.753097
0.014861
0
0.207207
0
0
0.057205
0
0
0
0
0
0.378378
1
0.252252
false
0.018018
0.045045
0.045045
0.387387
0.063063
0
0
0
null
0
0
0
0
0
0
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
1ca45a48a35041f51aec657c31a310b59f389769
511
py
Python
criterions.py
davidphun/Secure-Recommender-System
af6dddc09c3c3901361f8810d1b4b55060757390
[ "MIT" ]
null
null
null
criterions.py
davidphun/Secure-Recommender-System
af6dddc09c3c3901361f8810d1b4b55060757390
[ "MIT" ]
null
null
null
criterions.py
davidphun/Secure-Recommender-System
af6dddc09c3c3901361f8810d1b4b55060757390
[ "MIT" ]
1
2022-02-27T08:45:26.000Z
2022-02-27T08:45:26.000Z
import torch.nn as nn import torch from torch.nn.modules.loss import BCELoss class BPR(nn.Module): def __init__(self): super(BPR, self).__init__() self.bce_loss = nn.BCELoss(reduction='sum') def forward(self, score_l_items, score_r_items, labels): diffs = score_l_items - score_r_items ...
34.066667
120
0.688845
79
511
4.202532
0.531646
0.066265
0.066265
0.096386
0.13253
0.13253
0
0
0
0
0
0.005025
0.221135
511
14
121
36.5
0.829146
0.158513
0
0
0
0
0.007026
0
0
0
0
0
0
1
0.166667
false
0
0.25
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1cababb30b69ce92484ab853b02727e0fa85d639
5,333
py
Python
tests/test_multicast/test_loopflowablesmulticast.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
24
2018-11-22T21:04:49.000Z
2021-11-08T11:18:09.000Z
tests/test_multicast/test_loopflowablesmulticast.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
1
2019-02-06T15:58:46.000Z
2019-02-12T20:31:50.000Z
tests/test_multicast/test_loopflowablesmulticast.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
1
2021-01-26T12:41:37.000Z
2021-01-26T12:41:37.000Z
import unittest import rxbp from rxbp.flowable import Flowable from rxbp.multicast.multicast import MultiCast from rxbp.multicast.multicastsubscriber import MultiCastSubscriber from rxbp.multicast.multicasts.loopflowablemulticast import LoopFlowableMultiCast from rxbp.multicast.testing.testmulticast import TestMultiCa...
39.798507
87
0.68123
585
5,333
5.988034
0.147009
0.068513
0.081359
0.053954
0.711676
0.686269
0.686269
0.675992
0.652013
0.640023
0
0.011756
0.218451
5,333
133
88
40.097744
0.828695
0.458466
0
0.254545
0
0
0
0
0
0
0
0
0.036364
1
0.054545
false
0
0.236364
0
0.309091
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cae0dcd0434be128aac8eeb1c25e2ebd020d8ab
11,775
py
Python
Question1.py
hklhfong/CAB420Assignment-1B
50127f08a8c29e47c9674a7334969f77648e7092
[ "MIT" ]
null
null
null
Question1.py
hklhfong/CAB420Assignment-1B
50127f08a8c29e47c9674a7334969f77648e7092
[ "MIT" ]
null
null
null
Question1.py
hklhfong/CAB420Assignment-1B
50127f08a8c29e47c9674a7334969f77648e7092
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Q1.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1niBRKXab_9x1fCmDsAqyRql3t1rJQvXa """ import random import numpy import numpy.matlib import scipy import matplotlib.pyplot as plt import os import glob import cv2 fro...
32.438017
130
0.656051
1,834
11,775
4.009269
0.139586
0.017952
0.02856
0.025432
0.488236
0.428397
0.393853
0.389501
0.385421
0.385149
0
0.031283
0.18828
11,775
362
131
32.527624
0.738021
0.02327
0
0.338403
1
0.015209
0.062729
0.02565
0
0
0
0
0
1
0.038023
false
0
0.064639
0
0.136882
0.034221
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
1cae9e893a36cae42c5027e7294b756c3a28b626
2,002
py
Python
individuals/ali/Word Replacement/wordnet.py
periode/software-art-text
bc512345bb8e293f165077587b343407fba61d71
[ "Unlicense" ]
2
2019-01-02T17:58:24.000Z
2019-09-15T16:26:00.000Z
individuals/ali/Word Replacement/wordnet.py
periode/software-art-text
bc512345bb8e293f165077587b343407fba61d71
[ "Unlicense" ]
null
null
null
individuals/ali/Word Replacement/wordnet.py
periode/software-art-text
bc512345bb8e293f165077587b343407fba61d71
[ "Unlicense" ]
null
null
null
from textblob import TextBlob import random print '\n' print 'Original Paragraph' paragraph = """Tell me where you want to strike, Whether its here or there, You can really strike me everywhere, But know this you wretched fool, If it is big, it amounts to the suffering, And if it is small, it is of how little you car...
23.833333
58
0.664336
282
2,002
4.684397
0.336879
0.088569
0.029523
0.047691
0.485238
0.485238
0.485238
0.485238
0.485238
0.485238
0
0.001854
0.191808
2,002
84
59
23.833333
0.814586
0.001499
0
0.507463
0
0
0.292646
0
0
0
0
0
0
0
null
null
0
0.029851
null
null
0.089552
0
0
0
null
0
0
0
0
0
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
1cb72a80f0f592cf723ffbc99f75b89cfa7d8aab
1,878
py
Python
toontown/suit/DistributedStageSuit.py
LittleNed/toontown-stride
1252a8f9a8816c1810106006d09c8bdfe6ad1e57
[ "Apache-2.0" ]
1
2018-06-16T23:06:38.000Z
2018-06-16T23:06:38.000Z
toontown/suit/DistributedStageSuit.py
NoraTT/Historical-Commits-Project-Altis-Source
fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179
[ "Apache-2.0" ]
null
null
null
toontown/suit/DistributedStageSuit.py
NoraTT/Historical-Commits-Project-Altis-Source
fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179
[ "Apache-2.0" ]
4
2019-06-20T23:45:23.000Z
2020-10-14T20:30:15.000Z
from toontown.suit import DistributedFactorySuit from toontown.suit.Suit import * from direct.directnotify import DirectNotifyGlobal from direct.actor import Actor from otp.avatar import Avatar from toontown.suit import SuitDNA from toontown.toonbase import ToontownGlobals from panda3d.core import * from panda3d.direct...
37.56
99
0.668797
186
1,878
6.752688
0.354839
0.066879
0.038217
0.035032
0.227707
0.227707
0.227707
0.227707
0.13535
0.13535
0
0.002072
0.228967
1,878
49
100
38.326531
0.865331
0
0
0.217391
0
0
0.055911
0
0
0
0
0
0
1
0.043478
false
0
0.304348
0
0.391304
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1cb7fd293c535177a2c45606c4b6b9e3ff97c35f
3,957
py
Python
catalog-sync/sync.py
tintoy/cmp-rancher-demo
e65f233ce73fce803f209caea7a2d5156b6edb70
[ "MIT" ]
null
null
null
catalog-sync/sync.py
tintoy/cmp-rancher-demo
e65f233ce73fce803f209caea7a2d5156b6edb70
[ "MIT" ]
null
null
null
catalog-sync/sync.py
tintoy/cmp-rancher-demo
e65f233ce73fce803f209caea7a2d5156b6edb70
[ "MIT" ]
null
null
null
""" Scans the rancher community catalog, creating corresponding entries in the CMP service catalog. For now, all this script does is clone the community catalog and enumerate its contents. """ import json import os from cmp_client import CMPClient from git import Repo from os import path from template import Catalog...
29.095588
108
0.634824
438
3,957
5.417808
0.251142
0.085967
0.03287
0.050569
0.107459
0.076696
0
0
0
0
0
0.001038
0.269649
3,957
135
109
29.311111
0.820069
0
0
0.151515
0
0
0.0983
0
0
0
0
0
0
0
null
null
0
0.060606
null
null
0.070707
0
0
0
null
0
0
0
0
0
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
1cb865f08e8809bd4f8369e25f9f05bde3cb9d6a
272
py
Python
ARC_A/ARC032_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
ARC_A/ARC032_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
ARC_A/ARC032_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
n = int(input()) nsum = 0 for i in range(1, n+1): nsum += i if nsum == 1: print('BOWWOW') elif nsum <= 3: print('WANWAN') else: for i in range(2, n+1): if n % i == 0: print('BOWWOW') break else: print('WANWAN')
16
27
0.459559
42
272
2.97619
0.452381
0.064
0.096
0.176
0
0
0
0
0
0
0
0.046784
0.371324
272
16
28
17
0.684211
0
0
0.4
0
0
0.088235
0
0
0
0
0
0
1
0
false
0
0
0
0
0.266667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cbd44e21b2d1db684b018ab7a48c8539b6611ca
599
py
Python
cardboardcam/extensions.py
IxxyXR/cardboardcam
e2a3bd97ff0075a413d5ac893fdb26a8880c8075
[ "BSD-2-Clause" ]
null
null
null
cardboardcam/extensions.py
IxxyXR/cardboardcam
e2a3bd97ff0075a413d5ac893fdb26a8880c8075
[ "BSD-2-Clause" ]
1
2021-08-16T15:43:25.000Z
2021-08-16T15:43:25.000Z
cardboardcam/extensions.py
IxxyXR/cardboardcam
e2a3bd97ff0075a413d5ac893fdb26a8880c8075
[ "BSD-2-Clause" ]
null
null
null
# from flask_cache import Cache from flask_caching import Cache from flask_login import LoginManager from flask_assets import Environment # from flask_wtf.csrf import CsrfProtect from flask_thumbnails import Thumbnail from cardboardcam.models import User # Setup flask cache cache = Cache() # init flask assets asse...
19.966667
48
0.801336
79
599
5.873418
0.417722
0.116379
0.064655
0.086207
0
0
0
0
0
0
0
0
0.131886
599
29
49
20.655172
0.892308
0.208681
0
0
0
0
0.036325
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0.071429
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1cc19803404ba991a00968408fcb6d887ba4b40a
3,462
py
Python
web/transiq/owner/admin.py
manibhushan05/transiq
763fafb271ce07d13ac8ce575f2fee653cf39343
[ "Apache-2.0" ]
null
null
null
web/transiq/owner/admin.py
manibhushan05/transiq
763fafb271ce07d13ac8ce575f2fee653cf39343
[ "Apache-2.0" ]
14
2020-06-05T23:06:45.000Z
2022-03-12T00:00:18.000Z
web/transiq/owner/admin.py
manibhushan05/transiq
763fafb271ce07d13ac8ce575f2fee653cf39343
[ "Apache-2.0" ]
null
null
null
import json from django.contrib import admin from django.utils.html import format_html from django.utils.safestring import mark_safe from pygments import highlight from pygments.formatters.html import HtmlFormatter from pygments.lexers.data import JsonLexer from owner.vehicle_util import display_format from .models i...
37.630435
115
0.710861
404
3,462
5.804455
0.299505
0.023881
0.043497
0.055437
0.214499
0.136887
0.136887
0.120256
0.120256
0.120256
0
0.000346
0.1658
3,462
91
116
38.043956
0.811634
0.059214
0
0.087719
0
0
0.239063
0.060998
0
0
0
0
0
1
0.087719
false
0
0.157895
0.052632
0.649123
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
1ccaa8f7ea1d9df1a54b12bb80551207b6916eb9
3,535
py
Python
ifutr/scripts/localization/reports/generate_graphs.py
Chase1325/IFUTR
f1e9bc241ff5878d32bc6420b8f7d8d28ee93292
[ "MIT" ]
1
2019-01-31T02:34:13.000Z
2019-01-31T02:34:13.000Z
ifutr/scripts/localization/reports/generate_graphs.py
Chase1325/IPAS-Ros
f1e9bc241ff5878d32bc6420b8f7d8d28ee93292
[ "MIT" ]
2
2019-02-05T00:17:10.000Z
2019-02-06T04:19:15.000Z
ifutr/scripts/localization/reports/generate_graphs.py
Chase1325/IFUTR
f1e9bc241ff5878d32bc6420b8f7d8d28ee93292
[ "MIT" ]
null
null
null
import csv as csv import matplotlib as m import pandas as pd import math as math from matplotlib.backends.backend_pdf import PdfPages as pdf import datetime import tkFileDialog from generate_DataMap import dataMap from generate_Heat import heat from generate_Table import dataTable class SampleData(object): #In...
31.5625
118
0.554455
442
3,535
4.400452
0.316742
0.124422
0.158355
0.039075
0.31054
0.104884
0.104884
0.074036
0.074036
0.074036
0
0.025115
0.324187
3,535
111
119
31.846847
0.789033
0.116832
0
0.147727
1
0
0.013822
0.009322
0
0
0
0
0
1
0.079545
false
0
0.113636
0.068182
0.272727
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
1ccb2d7ddb6146a3630c0c4e59d901b827572426
427
py
Python
tests/test_user.py
chinese-bbb/web-backend
635d9021b5d375b782b71c947877cf461b982997
[ "MIT" ]
4
2019-06-16T21:14:14.000Z
2019-08-30T09:29:25.000Z
tests/test_user.py
chinese-bbb/web-backend
635d9021b5d375b782b71c947877cf461b982997
[ "MIT" ]
8
2019-06-11T15:55:20.000Z
2021-06-01T23:43:20.000Z
tests/test_user.py
chinese-bbb/web-backend
635d9021b5d375b782b71c947877cf461b982997
[ "MIT" ]
4
2019-04-23T08:54:54.000Z
2019-07-31T02:47:12.000Z
from flask import session from flask.testing import FlaskClient def test_get_me_not_loggedin(client: FlaskClient, auth): resp = client.get('/api/users/me') # TODO: needs to be better tuned up assert resp.status_code == 302 def test_get_me(client, auth): with client: auth.login() res...
23.722222
56
0.674473
62
427
4.5
0.548387
0.064516
0.071685
0.086022
0.164875
0.164875
0
0
0
0
0
0.018182
0.227166
427
17
57
25.117647
0.827273
0.077283
0
0.181818
0
0
0.084184
0
0
0
0
0.058824
0.272727
1
0.181818
false
0
0.181818
0
0.363636
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
1cccb5ef9431d2f8859dd5050929a2c65f7041c2
1,566
py
Python
tracker/migrations/0017_fix_missing_migrations.py
TreZc0/donation-tracker
3a833a5eba3c0b7cedd8249b44b1435f526095ba
[ "Apache-2.0" ]
39
2016-01-04T04:13:27.000Z
2022-01-18T19:17:24.000Z
tracker/migrations/0017_fix_missing_migrations.py
TreZc0/donation-tracker
3a833a5eba3c0b7cedd8249b44b1435f526095ba
[ "Apache-2.0" ]
140
2015-11-01T01:19:54.000Z
2022-03-10T13:00:33.000Z
tracker/migrations/0017_fix_missing_migrations.py
TreZc0/donation-tracker
3a833a5eba3c0b7cedd8249b44b1435f526095ba
[ "Apache-2.0" ]
35
2016-01-20T12:42:21.000Z
2022-01-20T07:06:47.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.23 on 2019-11-23 21:57 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('tracker', '0016_merge_20190914_1249'), ] operatio...
37.285714
353
0.644955
163
1,566
6.067485
0.533742
0.101112
0.12639
0.146613
0.308392
0.308392
0.235592
0.235592
0.235592
0.16178
0
0.028838
0.247126
1,566
41
354
38.195122
0.810008
0.044061
0
0.5
1
0
0.24498
0.072959
0
0
0
0
0
1
0
false
0
0.088235
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cd1e171c0e34a6471d50c2da7202b693b449857
1,171
py
Python
tests/test_utils.py
alex-oleshkevich/kupala
1c45b537846cec23480396ce7afac05baf83300d
[ "MIT" ]
8
2021-05-26T00:17:21.000Z
2022-03-28T13:15:22.000Z
tests/test_utils.py
alex-oleshkevich/kupala
1c45b537846cec23480396ce7afac05baf83300d
[ "MIT" ]
10
2021-11-06T16:56:43.000Z
2022-03-28T13:15:02.000Z
tests/test_utils.py
alex-oleshkevich/kupala
2cbf566fb601631afc4fc1ec90384502ef546ce8
[ "MIT" ]
null
null
null
import os import pathlib import pytest from kupala.utils import camel_to_snake, import_string, resolve_path, run_async def test_resolve_path(tmp_path: pathlib.Path) -> None: assert os.path.dirname(os.__file__) in resolve_path('@os') assert 'kupala/requests' in resolve_path('@kupala/requests') assert 'kup...
30.025641
112
0.700256
170
1,171
4.564706
0.258824
0.099227
0.083763
0.046392
0.353093
0.353093
0.206186
0.206186
0.206186
0.097938
0
0
0.169086
1,171
38
113
30.815789
0.797533
0
0
0.16
0
0
0.198975
0.067464
0
0
0
0
0.4
1
0.16
false
0
0.28
0.04
0.52
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
1cd3f9a90dbfca1a967d9d543be82abb9fac5b62
422
py
Python
Python_Ex_vazio/ex036.py
matheusmiguelsa/Exerc-cios-de-Python
53387266b747f79e67964356993b38c2267ac04a
[ "MIT" ]
null
null
null
Python_Ex_vazio/ex036.py
matheusmiguelsa/Exerc-cios-de-Python
53387266b747f79e67964356993b38c2267ac04a
[ "MIT" ]
null
null
null
Python_Ex_vazio/ex036.py
matheusmiguelsa/Exerc-cios-de-Python
53387266b747f79e67964356993b38c2267ac04a
[ "MIT" ]
null
null
null
v = float(input('Valor da casa a ser comprada: R$')) s = float(input('Salário do comprador: R$')) qa = float(input('Quantos anos irá pagar: ')) print('Para pagar uma casa de R${:.2f} em {:.0f} anos'.format(v, qa), end='') print(' a prestação sera de R${:.2f}'.format(v / (qa * 12))) if v / (qa* 12) >= s * 0.3: prin...
42.2
77
0.627962
71
422
3.732394
0.605634
0.113208
0.037736
0.158491
0
0
0
0
0
0
0
0.025714
0.170616
422
10
78
42.2
0.731429
0
0
0
0
0
0.548463
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1cd4fcabd4bc312f64e9221d270de1b4675e1a70
516
py
Python
python/learn/PythonDataVisualizationCookbookSE_Code/Chapter 02/ch02-tabread.py
flyingwjw/Documentation
567608f388ca369b864c2d75a94647801b5dfa1e
[ "Unlicense" ]
26
2016-08-25T01:33:36.000Z
2022-03-20T11:33:31.000Z
python/learn/PythonDataVisualizationCookbookSE_Code/Chapter 02/ch02-tabread.py
flyingwjw/Documentation
567608f388ca369b864c2d75a94647801b5dfa1e
[ "Unlicense" ]
null
null
null
python/learn/PythonDataVisualizationCookbookSE_Code/Chapter 02/ch02-tabread.py
flyingwjw/Documentation
567608f388ca369b864c2d75a94647801b5dfa1e
[ "Unlicense" ]
31
2016-08-16T15:32:46.000Z
2021-01-26T19:16:48.000Z
import csv filename = 'ch02-data.tab' data = [] try: with open(filename) as f: reader = csv.reader(f, dialect=csv.excel_tab) c = 0 for row in reader: if c == 0: header = row else: data.append(row) c += 1 except csv.Error a...
19.846154
72
0.505814
70
516
3.7
0.528571
0.015444
0
0
0
0
0
0
0
0
0
0.018127
0.358527
516
25
73
20.64
0.76435
0
0
0
0
0
0.133721
0
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.190476
0
0
0
null
0
0
0
0
0
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
1cd85e9f5fb131ccd0ec0e386ad0037c620b1431
11,355
py
Python
InplusTrader/ctaAlgo/strategy/strategyPairTrading.py
zhengwsh/InplusTrader_Linux
5f7eb17004da0b76ceafb93cb314de7a6009cd04
[ "MIT" ]
17
2017-04-20T05:17:25.000Z
2020-09-30T08:58:03.000Z
InplusTrader/ctaAlgo/strategy/strategyPairTrading.py
vladhj38/InplusTrader_Linux
5f7eb17004da0b76ceafb93cb314de7a6009cd04
[ "MIT" ]
1
2017-11-12T01:24:06.000Z
2019-09-19T08:50:38.000Z
InplusTrader/ctaAlgo/strategy/strategyPairTrading.py
vladhj38/InplusTrader_Linux
5f7eb17004da0b76ceafb93cb314de7a6009cd04
[ "MIT" ]
17
2017-04-17T08:17:00.000Z
2020-10-25T01:56:49.000Z
# encoding: UTF-8 """ created by vinson zheng """ from ..ctaBase import * from ..ctaTemplate import CtaTemplate import numpy as np ######################################################################## class PairTradingStrategy(CtaTemplate): """期货配对交易策略Demo""" className = 'PairTradingStrategy' author ...
37.475248
153
0.467723
1,105
11,355
4.642534
0.197285
0.019493
0.032749
0.026511
0.402339
0.331384
0.28577
0.196686
0.161014
0.149708
0
0.009691
0.372963
11,355
303
154
37.475248
0.710815
0.174901
0
0.212291
0
0
0.062378
0.002408
0
0
0
0
0
0
null
null
0.011173
0.01676
null
null
0.083799
0
0
0
null
0
0
0
0
0
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
1cdb46b07435d7e93632f7c4859122edf5780261
1,300
py
Python
entertainment_center.py
npmarrin/entertainment_center
98b3a2ae8081ecc5f491bce36c96572643ffb8d4
[ "MIT" ]
null
null
null
entertainment_center.py
npmarrin/entertainment_center
98b3a2ae8081ecc5f491bce36c96572643ffb8d4
[ "MIT" ]
null
null
null
entertainment_center.py
npmarrin/entertainment_center
98b3a2ae8081ecc5f491bce36c96572643ffb8d4
[ "MIT" ]
null
null
null
#!/usr/bin/python # This program generates and html file that shows movies and trailers based on IMDb's Top 250 list # Sample usage: # python entertainment_center.py --key={DEVELOPER_KEY} --max-results=10 # NOTE: To use this program, you must provide a developer key obtained # in the Google APIs Console. impo...
33.333333
98
0.742308
178
1,300
5.185393
0.5
0.065005
0.028169
0.054171
0
0
0
0
0
0
0
0.010166
0.167692
1,300
38
99
34.210526
0.842884
0.254615
0
0
1
0
0.0842
0
0
0
0
0
0
1
0.05
false
0
0.25
0
0.3
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
1cdcf0c62d4a9036e51ad3c0f6d4482635199107
5,269
py
Python
indra/assemblers/cx/hub_layout.py
johnbachman/belpy
1f8052c294fa05b3cd471c544b725f6f0adf9869
[ "BSD-2-Clause" ]
136
2016-02-11T22:06:37.000Z
2022-03-31T17:26:20.000Z
indra/assemblers/cx/hub_layout.py
johnbachman/belpy
1f8052c294fa05b3cd471c544b725f6f0adf9869
[ "BSD-2-Clause" ]
748
2016-02-03T16:27:56.000Z
2022-03-09T14:27:54.000Z
indra/assemblers/cx/hub_layout.py
johnbachman/belpy
1f8052c294fa05b3cd471c544b725f6f0adf9869
[ "BSD-2-Clause" ]
56
2015-08-28T14:03:44.000Z
2022-02-04T06:15:55.000Z
"""This module allows adding a semantic hub layout to NDEx CX networkx. This is useful when a network is centered around a single hub node. The layout generated here allocates different classes of nodes into segments around the hub and then gives them random coordinates within that segment.""" import json import math ...
34.437908
77
0.609983
745
5,269
4.162416
0.224161
0.036117
0.017736
0.015479
0.141245
0.078039
0.059336
0.059336
0.036117
0.036117
0
0.011114
0.265705
5,269
152
78
34.664474
0.790385
0.211425
0
0.091743
1
0
0.069353
0
0
0
0
0
0
1
0.091743
false
0
0.045872
0
0.266055
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
1ce3048545d6c16340dc10c0b00062c65c0f2028
366
py
Python
my_project/my_project/common/migrations/0003_alter_notification_options.py
Govedarski/World-of-books
d270b72600a7986387a277dbe01ac8c6d747f662
[ "MIT" ]
null
null
null
my_project/my_project/common/migrations/0003_alter_notification_options.py
Govedarski/World-of-books
d270b72600a7986387a277dbe01ac8c6d747f662
[ "MIT" ]
null
null
null
my_project/my_project/common/migrations/0003_alter_notification_options.py
Govedarski/World-of-books
d270b72600a7986387a277dbe01ac8c6d747f662
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-03-29 08:33 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('common', '0002_notification_is_answered'), ] operations = [ migrations.AlterModelOptions( name='notification', options={'ord...
20.333333
53
0.60929
36
366
6.083333
0.861111
0
0
0
0
0
0
0
0
0
0
0.070896
0.26776
366
17
54
21.529412
0.746269
0.122951
0
0
1
0
0.216301
0.090909
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
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
1ce38526268dc96b890d312eeefdd98a840dea96
1,150
py
Python
experiments/messaging/pyuv/pyuv_server.py
chartbeat-labs/wade
91923ed10bee4b2f084b156b31d4e4700bf2326c
[ "Apache-2.0" ]
16
2016-01-27T22:07:51.000Z
2020-04-26T01:23:05.000Z
experiments/messaging/pyuv/pyuv_server.py
chartbeat-labs/wade
91923ed10bee4b2f084b156b31d4e4700bf2326c
[ "Apache-2.0" ]
4
2016-02-03T22:00:39.000Z
2016-02-29T18:33:02.000Z
experiments/messaging/pyuv/pyuv_server.py
chartbeat-labs/wade
91923ed10bee4b2f084b156b31d4e4700bf2326c
[ "Apache-2.0" ]
4
2016-01-27T22:30:09.000Z
2019-02-17T02:02:18.000Z
import time import signal import pyuv import msgpack count = 0 st_time = 0 packer = msgpack.Packer() unpacker = msgpack.Unpacker() def on_read(client, data, error): if data is None: client.close() clients.remove(client) return unpacker.feed(data) try: msg = unpacker.u...
17.164179
43
0.648696
158
1,150
4.582278
0.386076
0.033149
0.008287
0
0
0
0
0
0
0
0
0.024915
0.232174
1,150
66
44
17.424242
0.795017
0
0
0.086957
0
0
0.02611
0
0
0
0
0
0
0
null
null
0
0.086957
null
null
0.065217
0
0
0
null
0
0
0
0
0
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
1ce5160fed64ef5f7d27a51ebd87fae23bb73e1b
920
py
Python
python-fundamentals/day-5-Tuples/python-tuples-basics.py
laminsawo/python-365-days
7d63e88ad2bbaa7b9bd0475f078e0164cc9b485c
[ "MIT" ]
null
null
null
python-fundamentals/day-5-Tuples/python-tuples-basics.py
laminsawo/python-365-days
7d63e88ad2bbaa7b9bd0475f078e0164cc9b485c
[ "MIT" ]
1
2020-01-06T00:28:32.000Z
2020-01-06T00:28:32.000Z
python-fundamentals/day-5-Tuples/python-tuples-basics.py
laminsawo/python-365-days
7d63e88ad2bbaa7b9bd0475f078e0164cc9b485c
[ "MIT" ]
1
2020-06-11T19:01:53.000Z
2020-06-11T19:01:53.000Z
# A tuple operates like a list but it's initial values can't be modified # Tuples are declared using the () # Use case examples of using Tuple - Dates of the week, Months of the Year, Hours of the clock # we can create a tuple like this... monthsOfTheYear = ("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug...
30.666667
103
0.658696
143
920
4.237762
0.629371
0.033003
0.066007
0.049505
0.135314
0
0
0
0
0
0
0.005472
0.205435
920
30
104
30.666667
0.823529
0.556522
0
0
0
0
0.217391
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1ce8d2829b430b0f8d1296ced8ea3622c45536f4
305
py
Python
setup.py
nparley/signal_to_noise_ccd
acc325ad8f4727df86026b72611b4c5285287c77
[ "MIT" ]
null
null
null
setup.py
nparley/signal_to_noise_ccd
acc325ad8f4727df86026b72611b4c5285287c77
[ "MIT" ]
null
null
null
setup.py
nparley/signal_to_noise_ccd
acc325ad8f4727df86026b72611b4c5285287c77
[ "MIT" ]
null
null
null
""" Can be used to build the cython code. However, this should be done for you when imported using pyximport """ __author__ = 'Neil Parley' from distutils.core import setup from Cython.Build import cythonize setup( ext_modules=cythonize("aperture_sum.pyx"), requires=['Cython', 'flask', 'wtforms'] )
25.416667
94
0.747541
43
305
5.162791
0.813953
0
0
0
0
0
0
0
0
0
0
0
0.144262
305
12
95
25.416667
0.850575
0.340984
0
0
0
0
0.231959
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1ced9e34e7cd3c81f2291f9b71e2f38d4f1f5f61
462
py
Python
session6/DweePy.py
rezafari/raspberry
e6720780f3c65ee1809040fc538f793fe44f0111
[ "MIT" ]
19
2017-09-26T04:37:55.000Z
2021-12-15T05:39:57.000Z
session6/DweePy.py
rezafari/raspberry
e6720780f3c65ee1809040fc538f793fe44f0111
[ "MIT" ]
44
2017-11-22T04:56:26.000Z
2018-03-17T14:30:00.000Z
session6/DweePy.py
rezafari/raspberry
e6720780f3c65ee1809040fc538f793fe44f0111
[ "MIT" ]
21
2017-09-23T05:25:59.000Z
2021-05-31T10:24:49.000Z
import time import dweepy import RPi.GPIO as GPIO KEY = 'tweet_about_me' OUTPUT_PIN = 18 OUTPUT_DURATION = 10 GPIO.setmode(GPIO.BCM) GPIO.setup(OUTPUT_PIN, GPIO.OUT) while True: try: for dweet in dweepy.listen_for_dweets_from(KEY): print('Tweet: ' + dweet['content']['text']) GPIO.o...
23.1
56
0.65368
63
462
4.619048
0.571429
0.123711
0.109966
0.130584
0
0
0
0
0
0
0
0.011461
0.244589
462
19
57
24.315789
0.82235
0
0
0
0
0
0.069264
0
0
0
0
0
0
1
0
false
0.058824
0.176471
0
0.176471
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1cf196fa0c8b3b7177fb62262dd67c304455e116
1,124
py
Python
jocn/test3.py
lrodrin/netopeer
4d9831c3a5481d99cb26b41d02577f53ed93cee1
[ "MIT" ]
1
2018-05-09T09:56:00.000Z
2018-05-09T09:56:00.000Z
jocn/test3.py
lrodrin/netopeer2
4d9831c3a5481d99cb26b41d02577f53ed93cee1
[ "MIT" ]
null
null
null
jocn/test3.py
lrodrin/netopeer2
4d9831c3a5481d99cb26b41d02577f53ed93cee1
[ "MIT" ]
null
null
null
""" This module implements execution test 3 Copyright (c) 2018 Laura Rodriguez Navas <laura.rodriguez.navas@cttc.cat> """ import time import jocn.get_state as get import jocn.startup as startup hostTX = '10.1.7.65' hostRX = '10.1.7.66' port = 830 login = 'root' password = 'netlabN.' filter = "<transceiver-connectiv...
26.139535
89
0.774021
153
1,124
5.562092
0.444444
0.029377
0.052879
0.061105
0.141011
0.077556
0
0
0
0
0
0.030907
0.107651
1,124
42
90
26.761905
0.817547
0.124555
0
0
0
0
0.277492
0.027749
0
0
0
0
0
1
0
false
0.12
0.12
0
0.12
0.28
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1cfbe58f3dc3d838b3c9c4204bd823b017f8b625
555
py
Python
app/migrations/0002_auto_20170707_1910.py
codemonkey49/runescapev6
01656b9992e117c0f87296f4ecbef34f04d303c8
[ "MIT" ]
null
null
null
app/migrations/0002_auto_20170707_1910.py
codemonkey49/runescapev6
01656b9992e117c0f87296f4ecbef34f04d303c8
[ "MIT" ]
null
null
null
app/migrations/0002_auto_20170707_1910.py
codemonkey49/runescapev6
01656b9992e117c0f87296f4ecbef34f04d303c8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-07-07 19:10 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] oper...
24.130435
110
0.641441
65
555
5.369231
0.676923
0.022923
0
0
0
0
0
0
0
0
0
0.092417
0.23964
555
22
111
25.227273
0.734597
0.122523
0
0
1
0
0.066116
0
0
0
0
0
0
1
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cfdfd2077833f2e57842627245df5c1916047f9
463
py
Python
src/order/migrations/0002_alter_line_item_order_order.py
NamHDT/Django-HDT
1d7803e522fe1962b55a5e68c6208e6ec8562a74
[ "MIT" ]
null
null
null
src/order/migrations/0002_alter_line_item_order_order.py
NamHDT/Django-HDT
1d7803e522fe1962b55a5e68c6208e6ec8562a74
[ "MIT" ]
null
null
null
src/order/migrations/0002_alter_line_item_order_order.py
NamHDT/Django-HDT
1d7803e522fe1962b55a5e68c6208e6ec8562a74
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-02-25 20:55 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('order', '0001_initial'), ] operations = [ migrations.AlterField( model_name='line_item_order', ...
23.15
99
0.632829
54
463
5.333333
0.648148
0.083333
0.097222
0.152778
0
0
0
0
0
0
0
0.054441
0.24622
463
19
100
24.368421
0.770774
0.097192
0
0
1
0
0.115385
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e80070d0410a35806b5147f5c80ec56784b55ac0
1,541
py
Python
djdoop/bin/get_ens.py
carthage-college/django-djdoop
1b412e1b54a3631ea5a9877c692b5b354bc79393
[ "BSD-3-Clause" ]
null
null
null
djdoop/bin/get_ens.py
carthage-college/django-djdoop
1b412e1b54a3631ea5a9877c692b5b354bc79393
[ "BSD-3-Clause" ]
null
null
null
djdoop/bin/get_ens.py
carthage-college/django-djdoop
1b412e1b54a3631ea5a9877c692b5b354bc79393
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import os, sys # env sys.path.append('/usr/local/lib/python2.7/dist-packages/') sys.path.append('/usr/lib/python2.7/dist-packages/') sys.path.append('/usr/lib/python2.7/') sys.path.append('/data2/django_projects/') sys.path.append('/data2/django_third/') os.environ.setdefault("DJANGO_SETTINGS_M...
23.707692
74
0.582738
204
1,541
4.269608
0.534314
0.040184
0.074627
0.055109
0.15729
0.102181
0.102181
0.102181
0.102181
0.102181
0
0.01304
0.203764
1,541
64
75
24.078125
0.696822
0.046723
0
0
0
0
0.331855
0.105691
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.102564
0
0
0
null
0
0
0
0
0
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
e802cb3e6b58817241625ee8607038ffbf73b55a
1,429
py
Python
300_LIS.py
stuti-rastogi/leetcode-python-solutions
73593fe642a06a83cde974ba5e6de3a7b396ec84
[ "MIT" ]
4
2018-07-24T08:36:42.000Z
2019-08-25T17:48:47.000Z
300_LIS.py
stuti-rastogi/leetcodesolutions
73593fe642a06a83cde974ba5e6de3a7b396ec84
[ "MIT" ]
null
null
null
300_LIS.py
stuti-rastogi/leetcodesolutions
73593fe642a06a83cde974ba5e6de3a7b396ec84
[ "MIT" ]
null
null
null
# class Solution: # def lengthOfLIS(self, nums): # """ # :type nums: List[int] # :rtype: int # """ # O(n^2) complexity # if not nums: # return 0 # n = len(nums) # aux = [1] * n # for i in range(n): # for j in range(i): ...
23.816667
65
0.386984
149
1,429
3.711409
0.328859
0.047016
0.057866
0.097649
0.216998
0.126582
0
0
0
0
0
0.019635
0.50105
1,429
59
66
24.220339
0.755961
0.331001
0
0.074074
0
0
0
0
0
0
0
0
0
1
0.074074
false
0
0
0
0.296296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e802e0c766b0ef583c8761f580c3b6bb948f8701
485
py
Python
LaundrIT-Project/Pedido/migrations/0039_auto_20191117_1417.py
linikerunk/laundr-it
79d5403d897233e9354db2d6ec91393117eac24f
[ "MIT" ]
1
2019-11-17T22:28:01.000Z
2019-11-17T22:28:01.000Z
LaundrIT-Project/Pedido/migrations/0039_auto_20191117_1417.py
linikerunk/laundr-it
79d5403d897233e9354db2d6ec91393117eac24f
[ "MIT" ]
4
2021-04-08T18:43:19.000Z
2021-06-10T17:57:30.000Z
LaundrIT-Project/Pedido/migrations/0039_auto_20191117_1417.py
linikerunk/laundr-it
79d5403d897233e9354db2d6ec91393117eac24f
[ "MIT" ]
1
2019-11-24T04:47:45.000Z
2019-11-24T04:47:45.000Z
# Generated by Django 2.2.7 on 2019-11-17 17:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Pedido', '0038_auto_20191117_1344'), ] operations = [ migrations.AlterField( model_name='pedido', name='valor_total'...
24.25
109
0.624742
55
485
5.345455
0.709091
0.027211
0.095238
0
0
0
0
0
0
0
0
0.095238
0.263918
485
19
110
25.526316
0.728291
0.092784
0
0
1
0
0.130137
0.052511
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e80b7d578d91bfc058f9ac2d788f740898650c73
2,809
py
Python
train.py
eculiat/ImageClassifier
7eba0f89e12dec42db78ff48cd9164863190cda6
[ "MIT" ]
null
null
null
train.py
eculiat/ImageClassifier
7eba0f89e12dec42db78ff48cd9164863190cda6
[ "MIT" ]
null
null
null
train.py
eculiat/ImageClassifier
7eba0f89e12dec42db78ff48cd9164863190cda6
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np import time import torch from torch import nn from torch import tensor from torch import optim import torch.nn.functional as F from torch.autograd import Variable from torchvision import datasets, transforms import torchvision.models as models import argpars...
34.679012
96
0.645781
339
2,809
5.241888
0.277286
0.073157
0.06753
0.023635
0
0
0
0
0
0
0
0.009256
0.115344
2,809
80
97
35.1125
0.705835
0.0356
0
0.111111
0
0
0.318841
0.149123
0
0
0
0
0
1
0
false
0
0.206349
0
0.206349
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
e81685b512a19e29cee240431f8607ba55cd83ff
4,116
py
Python
api/api_messages.py
jdelaney44/fsndp4-tic-tac-toe-01
c53f5f526ba05abbe11c85c069f6a4708d694fea
[ "Apache-2.0" ]
null
null
null
api/api_messages.py
jdelaney44/fsndp4-tic-tac-toe-01
c53f5f526ba05abbe11c85c069f6a4708d694fea
[ "Apache-2.0" ]
13
2016-09-11T17:03:57.000Z
2016-10-02T19:24:48.000Z
api/api_messages.py
jdelaney44/fsndp4-tic-tac-toe-01
c53f5f526ba05abbe11c85c069f6a4708d694fea
[ "Apache-2.0" ]
null
null
null
""" ProtoRPC message class definitions for TicTicToe API. """ from protorpc import messages, message_types import endpoints """Resource containers used for passing to the API from requester""" """Hopefully these names are self explanatory, nothing special here""" GAME_REQUEST = endpoints.ResourceContainer( game_k...
29.4
72
0.749514
470
4,116
6.480851
0.240426
0.110309
0.091924
0.110309
0.385424
0.290217
0.21241
0.157255
0.08306
0.08306
0
0.010774
0.1431
4,116
139
73
29.611511
0.852849
0.15622
0
0.064516
0
0
0
0
0
0
0
0
0
1
0
false
0.016129
0.032258
0
0.758065
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
e81dd3062f2a8db0563ed745bbc474be5a7d0297
1,876
py
Python
src/saas/bkuser_shell/bkiam/constants.py
Chace-wang/bk-user
057f270d66a1834312306c9fba1f4e95521f10b1
[ "MIT" ]
null
null
null
src/saas/bkuser_shell/bkiam/constants.py
Chace-wang/bk-user
057f270d66a1834312306c9fba1f4e95521f10b1
[ "MIT" ]
null
null
null
src/saas/bkuser_shell/bkiam/constants.py
Chace-wang/bk-user
057f270d66a1834312306c9fba1f4e95521f10b1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ TencentBlueKing is pleased to support the open source community by making 蓝鲸智云-用户管理(Bk-User) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the Lic...
31.266667
115
0.721748
234
1,876
5.649573
0.542735
0.06354
0.040847
0.024206
0
0
0
0
0
0
0
0.007338
0.200959
1,876
59
116
31.79661
0.874583
0.39339
0
0
0
0
0.008007
0
0
0
0
0
0
1
0.033333
false
0
0.1
0
0.833333
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
e81f2d659cfa22e0e0ecd4f9f1f07a2de88cc07d
1,346
py
Python
odd_glue_adapter/mappers/columns/glue_field_type_transformer.py
opendatadiscovery/odd-glue-adapter
d54aff8517bdb3f0643290bf3d3b8494b551703f
[ "Apache-2.0" ]
null
null
null
odd_glue_adapter/mappers/columns/glue_field_type_transformer.py
opendatadiscovery/odd-glue-adapter
d54aff8517bdb3f0643290bf3d3b8494b551703f
[ "Apache-2.0" ]
1
2021-12-29T15:55:49.000Z
2022-01-05T21:22:44.000Z
odd_glue_adapter/mappers/columns/glue_field_type_transformer.py
opendatadiscovery/odd-glue-adapter
d54aff8517bdb3f0643290bf3d3b8494b551703f
[ "Apache-2.0" ]
1
2021-10-04T15:57:14.000Z
2021-10-04T15:57:14.000Z
from lark import Transformer, Token class GlueFieldTypeTransformer(Transformer): def field_definition(self, items): return items[1] | { 'field_name': str(items[0]) } def struct_type(self, items): return { 'type': 'struct', 'children': items ...
23.206897
69
0.475483
134
1,346
4.679104
0.291045
0.143541
0.145136
0.121212
0.261563
0.114833
0.114833
0.114833
0.114833
0
0
0.009674
0.385587
1,346
57
70
23.614035
0.748489
0
0
0.23913
0
0
0.162704
0
0
0
0
0
0
1
0.173913
false
0
0.021739
0.108696
0.434783
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
0
0
0
1
e81f3beaef0460340adf80110f1e58e34051372f
455
py
Python
insomniac/globals.py
shifenis/Insomniac
7c9d572b83c29049bc3075073be5549fe821a739
[ "MIT" ]
533
2020-06-01T10:40:11.000Z
2022-03-29T17:05:50.000Z
insomniac/globals.py
shifenis/Insomniac
7c9d572b83c29049bc3075073be5549fe821a739
[ "MIT" ]
399
2020-06-01T22:01:55.000Z
2022-03-29T20:39:29.000Z
insomniac/globals.py
shifenis/Insomniac
7c9d572b83c29049bc3075073be5549fe821a739
[ "MIT" ]
166
2020-06-01T21:51:52.000Z
2022-03-12T14:14:44.000Z
# These constants can be set by the external UI-layer process, don't change them manually is_ui_process = False execution_id = '' task_id = '' executable_name = 'insomniac' do_location_permission_dialog_checks = True # no need in these checks if location permission is denied beforehand def callback(profile_name): ...
23.947368
114
0.78022
63
455
5.380952
0.698413
0.064897
0.141593
0
0
0
0
0
0
0
0
0
0.158242
455
18
115
25.277778
0.885117
0.340659
0
0
0
0
0.030303
0
0
0
0
0
0
1
0.181818
false
0.090909
0
0.090909
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e81fb8882a61d07dbf1c1439967d253cedd7f6a7
1,014
py
Python
GmailWrapper_JE/venv/Lib/site-packages/pyasn1_modules/rfc8410.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
2
2022-01-06T11:52:57.000Z
2022-01-09T01:53:56.000Z
GmailWrapper_JE/venv/Lib/site-packages/pyasn1_modules/rfc8410.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
GmailWrapper_JE/venv/Lib/site-packages/pyasn1_modules/rfc8410.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
# This file is being contributed to pyasn1-modules software. # # Created by Russ Housley. # # Copyright (c) 2019, Vigil Security, LLC # License: http://snmplabs.com/pyasn1/license.html # # Algorithm Identifiers for Ed25519, Ed448, X25519, and X448 # # ASN.1 source from: # https://www.rfc-editor.org/rfc/rfc841...
23.045455
69
0.749507
132
1,014
5.628788
0.515152
0.069987
0.113055
0.118439
0.13459
0
0
0
0
0
0
0.150877
0.156805
1,014
43
70
23.581395
0.718129
0.288955
0
0.176471
0
0
0.066066
0
0
0
0
0
0
1
0
false
0.176471
0.235294
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e825fac6d159205326dba3e3cca30665ab3bceb8
1,535
py
Python
windows/version.py
Timmy-B/ComicStreamer
b82acc9a76be10f4afd1cd46575d7284f2d9dfd4
[ "Apache-2.0" ]
1
2020-02-24T05:27:28.000Z
2020-02-24T05:27:28.000Z
windows/version.py
Timmy-B/ComicStreamer
b82acc9a76be10f4afd1cd46575d7284f2d9dfd4
[ "Apache-2.0" ]
null
null
null
windows/version.py
Timmy-B/ComicStreamer
b82acc9a76be10f4afd1cd46575d7284f2d9dfd4
[ "Apache-2.0" ]
null
null
null
# UTF-8 # # For more details about fixed file info 'ffi' see: # http://msdn.microsoft.com/en-us/library/ms646997.aspx VSVersionInfo( ffi=FixedFileInfo( # filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4) # Set not needed items to zero 0. filevers=(0, 5, 0, 0), prodvers=(0, 5...
34.886364
85
0.648208
203
1,535
4.906404
0.576355
0.104418
0.078313
0.081325
0.064257
0.064257
0
0
0
0
0
0.055225
0.233225
1,535
43
86
35.697674
0.790144
0.399349
0
0
0
0
0.288079
0
0
0
0.022075
0
0
1
0
true
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
1
0
0
0
0
0
0
1
e8276d3f067cd919ec0c9d58f01db8f31cc0d8e0
13,273
py
Python
aiida/manage/configuration/profile.py
aiace9/aiida-core
09ac91654648adb684a58d5d2d7b1c11a503dae8
[ "MIT", "BSD-3-Clause" ]
1
2020-12-20T08:41:52.000Z
2020-12-20T08:41:52.000Z
aiida/manage/configuration/profile.py
blokhin/aiida-core
29331b558b45ba74acf1ca633a2d8bfabc1bdd05
[ "MIT", "BSD-3-Clause" ]
17
2020-03-11T17:04:05.000Z
2020-05-01T09:34:45.000Z
aiida/manage/configuration/profile.py
blokhin/aiida-core
29331b558b45ba74acf1ca633a2d8bfabc1bdd05
[ "MIT", "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- ########################################################################### # Copyright (c), The AiiDA team. All rights reserved. # # This file is part of the AiiDA code. # # ...
34.38601
117
0.65524
1,550
13,273
5.343226
0.151613
0.065926
0.073895
0.086211
0.404612
0.292804
0.231707
0.096716
0.063753
0.054818
0
0.000401
0.248926
13,273
385
118
34.475325
0.830374
0.166202
0
0.112403
0
0
0.098569
0.004425
0
0
0
0
0
1
0.193798
false
0.05814
0.034884
0.065891
0.422481
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e8294a3d6f674eaada1c971ccd1f507e5b718465
1,025
py
Python
setup.py
cenkalti/kuyruk-sentry
3f0a9981758edb413629f29284d1f133f1af5d20
[ "MIT" ]
1
2017-03-30T13:39:38.000Z
2017-03-30T13:39:38.000Z
setup.py
cenkalti/kuyruk-sentry
3f0a9981758edb413629f29284d1f133f1af5d20
[ "MIT" ]
null
null
null
setup.py
cenkalti/kuyruk-sentry
3f0a9981758edb413629f29284d1f133f1af5d20
[ "MIT" ]
1
2020-04-27T15:42:15.000Z
2020-04-27T15:42:15.000Z
# coding=utf8 from setuptools import setup setup( name='Kuyruk-Sentry', version="1.1.4", author=u'Cenk Altı', author_email='cenkalti@gmail.com', keywords='kuyruk sentry', url='https://github.com/cenkalti/kuyruk-sentry', py_modules=["kuyruk_sentry"], install_requires=[ 'kuyruk>=8...
33.064516
68
0.63122
112
1,025
5.6875
0.678571
0.094192
0.117739
0
0
0
0
0
0
0
0
0.018727
0.218537
1,025
30
69
34.166667
0.776529
0.010732
0
0.071429
0
0
0.551383
0
0
0
0
0
0
1
0
true
0
0.035714
0
0.035714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e82c202e518268ac452dbc3775ae21db38c1cc5c
1,655
py
Python
nested_admin/tests/gfk/models.py
mionch/django-nested-admin
35c00b4e3eedbd7b5895bedb2efe87fdf3737b07
[ "BSD-2-Clause" ]
null
null
null
nested_admin/tests/gfk/models.py
mionch/django-nested-admin
35c00b4e3eedbd7b5895bedb2efe87fdf3737b07
[ "BSD-2-Clause" ]
null
null
null
nested_admin/tests/gfk/models.py
mionch/django-nested-admin
35c00b4e3eedbd7b5895bedb2efe87fdf3737b07
[ "BSD-2-Clause" ]
null
null
null
from __future__ import unicode_literals from django.contrib.contenttypes.fields import GenericRelation, GenericForeignKey from django.contrib.contenttypes.models import ContentType from django.db import models from django.db.models import ForeignKey, CASCADE from django.utils.encoding import python_2_unicode_compatibl...
30.648148
81
0.711782
191
1,655
5.91623
0.293194
0.069027
0.049558
0.084956
0.661947
0.636283
0.636283
0.636283
0.585841
0.585841
0
0.011103
0.183686
1,655
53
82
31.226415
0.825315
0
0
0.634146
0
0
0.03142
0
0
0
0
0
0
1
0.073171
false
0
0.146341
0.02439
0.731707
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
e82e252611bfa87c088d178764a6680f569d4404
11,252
py
Python
game/sprites.py
clay3899/Freestyle
c8eaa885df0f7363f99986f75e601f77756c6346
[ "MIT" ]
1
2020-05-14T00:51:34.000Z
2020-05-14T00:51:34.000Z
game/sprites.py
clay3899/Freestyle
c8eaa885df0f7363f99986f75e601f77756c6346
[ "MIT" ]
2
2020-04-25T01:40:09.000Z
2020-05-01T16:43:56.000Z
game/sprites.py
clay3899/Freestyle
c8eaa885df0f7363f99986f75e601f77756c6346
[ "MIT" ]
9
2020-04-22T04:18:34.000Z
2020-05-14T00:51:36.000Z
import pygame as pg from settings import * from os import path vec = pg.math.Vector2 class Player(pg.sprite.Sprite): """ Creates the Player class to provide a template for players in the game. """ def __init__(self, game, img): """ Initializes (sets up) the player class. Para...
31.875354
150
0.57652
1,475
11,252
4.338305
0.141017
0.019534
0.033755
0.046882
0.740897
0.701828
0.660572
0.645101
0.625254
0.585091
0
0.01075
0.338606
11,252
353
151
31.875354
0.8491
0.460274
0
0.429752
0
0
0.006238
0.004783
0
0
0
0
0
1
0.099174
false
0
0.024793
0
0.173554
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c0256251915c057e1b434d6f94c9d6be544c73c
5,418
py
Python
GeneralTools/run_args.py
frhrdr/MMD-GAN
7522093498b658026344541ddd5c248095763fb6
[ "Apache-2.0" ]
null
null
null
GeneralTools/run_args.py
frhrdr/MMD-GAN
7522093498b658026344541ddd5c248095763fb6
[ "Apache-2.0" ]
null
null
null
GeneralTools/run_args.py
frhrdr/MMD-GAN
7522093498b658026344541ddd5c248095763fb6
[ "Apache-2.0" ]
null
null
null
import argparse from GeneralTools.architectures import get_mnist_architectures, cifar_default def parse_run_args(): parser = argparse.ArgumentParser() parser.add_argument('--filename', '-file', type=str, default=None) parser.add_argument('--dataset', '-data', type=str, default='mnist') parser.add_argument('...
45.529412
116
0.70192
797
5,418
4.612296
0.219573
0.132209
0.249728
0.097933
0.448313
0.385473
0.383841
0.213003
0.093308
0.067193
0
0.01473
0.110373
5,418
118
117
45.915254
0.747925
0.097453
0
0.049383
0
0
0.212134
0.009018
0
0
0
0
0.037037
1
0.049383
false
0
0.024691
0
0.111111
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c04d7807e753177a12c97665b549db21962672f
1,718
py
Python
RL/Oanda/READONLY-oanda-api-v20/oandapyV20 - Copy/definitions/orders.py
Poppins001/Projects
386b741c2a8361289d73af658c8c6779ec8315b2
[ "MIT" ]
1
2018-06-01T14:40:49.000Z
2018-06-01T14:40:49.000Z
RL/Oanda/READONLY-oanda-api-v20/oandapyV20 - Copy/definitions/orders.py
Poppins001/Projects
386b741c2a8361289d73af658c8c6779ec8315b2
[ "MIT" ]
null
null
null
RL/Oanda/READONLY-oanda-api-v20/oandapyV20 - Copy/definitions/orders.py
Poppins001/Projects
386b741c2a8361289d73af658c8c6779ec8315b2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Order related definitions.""" definitions = { "OrderType": { "MARKET": "A Market Order", "LIMIT": "A Limit Order", "STOP": "A Stop Order", "MARKET_IF_TOUCHED": "A Market-if-touched Order", "TAKE_PROFIT": "A Take Profit Order", "STOP_LOSS": ...
41.902439
78
0.573341
201
1,718
4.845771
0.38806
0.106776
0.082136
0.057495
0.229979
0.057495
0.057495
0
0
0
0
0.001692
0.311991
1,718
40
79
42.95
0.822335
0.028522
0
0
0
0
0.660854
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c12f7df4b6d2144169dc05b61bcefcde2ae644c
2,001
py
Python
archived_lectures/Fall_2019/common_python/common_python/statistics/density.py
ModelEngineering/topics-course
cd0d73e4056663d170465669ecd699e8e74e35a0
[ "MIT" ]
2
2018-10-24T21:31:30.000Z
2019-10-23T20:29:22.000Z
archived_lectures/Fall_2019/common_python/common_python/statistics/density.py
ModelEngineering/topics-course
cd0d73e4056663d170465669ecd699e8e74e35a0
[ "MIT" ]
1
2019-05-31T21:59:30.000Z
2019-05-31T21:59:30.000Z
archived_lectures/Fall_2019/common_python/common_python/statistics/density.py
ModelEngineering/topics-course
cd0d73e4056663d170465669ecd699e8e74e35a0
[ "MIT" ]
9
2018-10-31T20:48:42.000Z
2019-11-20T21:47:43.000Z
"""Creation, Analysis, and Manipulation of Discrete Distributions.""" """ TODO 1. Bar plot of density """ import common_python.constants as cn from common_python.plots import util_plots import collections import pandas as pd import matplotlib.pyplot as plt import numpy as np INDEX_MULT = 100 class Density(objec...
24.108434
70
0.648176
274
2,001
4.631387
0.354015
0.070922
0.077226
0.050433
0.070922
0.070922
0.070922
0.070922
0.070922
0.070922
0
0.005948
0.243878
2,001
82
71
24.402439
0.832783
0.255372
0
0.047619
0
0
0
0
0
0
0
0.02439
0
1
0.119048
false
0
0.142857
0.02381
0.380952
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
1c15cfddfa0c4c0821642455a6343da16b775be7
1,308
py
Python
py_solutions_51-60/Euler_51.py
tijko/Project-Euler
d953a2bf6932c2c4e1235409fedf760add65a0ba
[ "MIT" ]
null
null
null
py_solutions_51-60/Euler_51.py
tijko/Project-Euler
d953a2bf6932c2c4e1235409fedf760add65a0ba
[ "MIT" ]
1
2022-03-15T02:49:09.000Z
2022-03-15T02:49:09.000Z
py_solutions_51-60/Euler_51.py
tijko/Project-Euler
d953a2bf6932c2c4e1235409fedf760add65a0ba
[ "MIT" ]
null
null
null
# smallest prime for which replacing part of the number you can form 8 different primes # Example: 189-00-37, 189-33-37, 189-44-37, 189-55-37, 189-66-37, 189-77-37, 189-88-37, 189-99-37 # the replacement digits do not have to be adjacent or consecutive but, have to be the same import timeit import math start = ti...
28.434783
98
0.60474
212
1,308
3.65566
0.391509
0.045161
0.023226
0.028387
0
0
0
0
0
0
0
0.087607
0.284404
1,308
45
99
29.066667
0.740385
0.208716
0
0.235294
0
0
0.017476
0
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1c22f76153c031c55fd620d087c5855d49f54dc9
646
py
Python
pages/application.py
Memirex/qacoursemoddle_tests
7c1454f1bf1622419eb89c64d36b25d2a35baf92
[ "Apache-2.0" ]
null
null
null
pages/application.py
Memirex/qacoursemoddle_tests
7c1454f1bf1622419eb89c64d36b25d2a35baf92
[ "Apache-2.0" ]
null
null
null
pages/application.py
Memirex/qacoursemoddle_tests
7c1454f1bf1622419eb89c64d36b25d2a35baf92
[ "Apache-2.0" ]
null
null
null
from pages.administration_page import AdminPage from pages.course_page import CreateCoursePage from pages.login_page import LoginPage from pages.profile_page import ProfilePage class Application: def __init__(self, driver, url): self.driver = driver self.url = url self.login = LoginPage(se...
26.916667
54
0.685759
82
646
5.256098
0.329268
0.111369
0.097448
0.083527
0.12993
0.12993
0.12993
0
0
0
0
0
0.22291
646
23
55
28.086957
0.858566
0
0
0
0
0
0.024768
0
0
0
0
0
0
1
0.222222
false
0
0.222222
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
1
0
0
0
0
0
0
0
1
1c23ea9e0236dedec527347b6f2fb639145e18d0
2,429
py
Python
models.py
anthill-gaming/promo
7f1f0fed76b08fce8778e5cedc29eb1eecda752d
[ "MIT" ]
null
null
null
models.py
anthill-gaming/promo
7f1f0fed76b08fce8778e5cedc29eb1eecda752d
[ "MIT" ]
null
null
null
models.py
anthill-gaming/promo
7f1f0fed76b08fce8778e5cedc29eb1eecda752d
[ "MIT" ]
null
null
null
# For more details, see # http://docs.sqlalchemy.org/en/latest/orm/tutorial.html#declare-a-mapping from anthill.framework.db import db from anthill.framework.utils import timezone from anthill.framework.utils.translation import translate as _ from anthill.framework.utils.asynchronous import as_future, thread_pool_exec ...
32.824324
91
0.715521
322
2,429
5.26087
0.36646
0.03778
0.041322
0.059032
0.049587
0.049587
0.049587
0.049587
0
0
0
0.011564
0.181145
2,429
73
92
33.273973
0.840121
0.051873
0
0.055556
0
0
0.050914
0.014795
0
0
0
0
0
1
0.12963
false
0
0.185185
0.074074
0.62963
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
1c2775697d4310b0e7e50b737b6f4c453bddec47
356
py
Python
setup.py
IntheGrass/citeomatic_learning
b0fee3c2c9b6462e1878eb5aa3060bee8c86f923
[ "Apache-2.0" ]
162
2018-02-26T18:13:55.000Z
2022-02-25T05:14:06.000Z
setup.py
zhoufn/citeomatic
aa0f5add68000232db299e340d114bd03586752f
[ "Apache-2.0" ]
9
2019-03-14T16:16:31.000Z
2021-03-15T19:50:21.000Z
setup.py
zhoufn/citeomatic
aa0f5add68000232db299e340d114bd03586752f
[ "Apache-2.0" ]
24
2018-06-30T10:37:01.000Z
2022-02-15T08:34:25.000Z
#!/usr/bin/python import setuptools setuptools.setup( name='citeomatic', version='0.01', url='http://github.com/allenai/s2-research', packages=setuptools.find_packages(), install_requires=[ ], tests_require=[ ], zip_safe=False, test_suite='py.test', entry_points='', pyro...
19.777778
48
0.648876
40
356
5.6
0.875
0
0
0
0
0
0
0
0
0
0
0.013793
0.185393
356
17
49
20.941176
0.758621
0.044944
0
0.133333
0
0
0.218289
0
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1c27c7c1054492c085f21273b2abe4c7e81698f2
1,165
py
Python
script/AnnoyinBot.py
MathewsDuarte/AnnoyingBot-Whatsapp-Web
18ac523332714e57644c756d5c33dcf5b7388158
[ "MIT" ]
null
null
null
script/AnnoyinBot.py
MathewsDuarte/AnnoyingBot-Whatsapp-Web
18ac523332714e57644c756d5c33dcf5b7388158
[ "MIT" ]
null
null
null
script/AnnoyinBot.py
MathewsDuarte/AnnoyingBot-Whatsapp-Web
18ac523332714e57644c756d5c33dcf5b7388158
[ "MIT" ]
null
null
null
from selenium import webdriver import sys driver = webdriver.Chrome(executable_path="YOUR PATH/DIR/chromedriver.exe") driver.get("https://web.whatsapp.com/") while True: print ("Welcome to Annoying Bot, take a sit, please.") print ("--------------------------------------------") print("# \n # \n...
31.486486
85
0.586266
152
1,165
4.388158
0.592105
0.014993
0.013493
0.085457
0.083958
0.083958
0
0
0
0
0
0.007865
0.236052
1,165
36
86
32.361111
0.740449
0
0
0
0
0.038462
0.402482
0.06117
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.230769
0
0
0
null
0
0
0
0
0
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
1c28f77129fd6a7fe81e559198a0b7b7b48720e7
11,092
py
Python
tensorkit/distributions/categorical.py
lizeyan/tensorkit
2997a5914ec3c3ec72f91eb5906b5ee878fdc020
[ "MIT" ]
null
null
null
tensorkit/distributions/categorical.py
lizeyan/tensorkit
2997a5914ec3c3ec72f91eb5906b5ee878fdc020
[ "MIT" ]
null
null
null
tensorkit/distributions/categorical.py
lizeyan/tensorkit
2997a5914ec3c3ec72f91eb5906b5ee878fdc020
[ "MIT" ]
null
null
null
from typing import * from .. import tensor as T from ..stochastic import StochasticTensor from ..typing_ import * from .base import Distribution from .utils import copy_distribution, check_tensor_arg_types __all__ = ['BaseCategorical', 'Categorical', 'OneHotCategorical'] class BaseCategorical(Distribution): co...
37.6
84
0.577804
1,170
11,092
5.299145
0.138462
0.033871
0.015968
0.022258
0.674516
0.657097
0.636613
0.629194
0.614677
0.614677
0
0.003234
0.330869
11,092
294
85
37.727891
0.832121
0.237378
0
0.549451
0
0
0.057864
0
0
0
0
0
0.005495
1
0.087912
false
0
0.032967
0.038462
0.247253
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c29795ca24db6e46e8e39c06d0a5b049e208751
937
py
Python
web/app/sapl/app/config.py
fumiya-kubota/sapl
1b1f58e9d1dcb5ba913cfc11820d3465cfb45525
[ "Apache-2.0" ]
null
null
null
web/app/sapl/app/config.py
fumiya-kubota/sapl
1b1f58e9d1dcb5ba913cfc11820d3465cfb45525
[ "Apache-2.0" ]
null
null
null
web/app/sapl/app/config.py
fumiya-kubota/sapl
1b1f58e9d1dcb5ba913cfc11820d3465cfb45525
[ "Apache-2.0" ]
null
null
null
import os class BaseConfig: DATABASE_URI = '' REDIS_HOST = '' REDIS_PORT = 0 class DevelopmentConfig(BaseConfig): DATABASE_SERVER = 'postgresql+asyncpg://sapl@127.0.0.1:5432' DATABASE_NAME = 'sapl' REDIS_HOST = '127.0.0.1' REDIS_PORT = 16379 class ProductionConfig(BaseConfig): DATA...
24.025641
69
0.689434
108
937
5.75
0.333333
0.115942
0.067633
0.028986
0.355878
0.355878
0.070853
0
0
0
0
0.058278
0.194237
937
38
70
24.657895
0.764238
0
0
0.214286
0
0
0.233725
0.116329
0
0
0
0
0
1
0.035714
false
0
0.035714
0
0.857143
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
1c33a85214b18127e3cd53a3c1cb7390dd0fa6e1
1,566
py
Python
flags/migrations/0003_rename_variant_classification.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
5
2021-01-14T03:34:42.000Z
2022-03-07T15:34:18.000Z
flags/migrations/0003_rename_variant_classification.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
551
2020-10-19T00:02:38.000Z
2022-03-30T02:18:22.000Z
flags/migrations/0003_rename_variant_classification.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
null
null
null
# Generated by Django 3.1 on 2020-10-01 07:38 from django.db import migrations def rename_variant_classification(apps, schema_editor): FlagTypeContext = apps.get_model("flags", "FlagTypeContext") FlagType = apps.get_model("flags", "FlagType") FlagTypeResolution = apps.get_model("flags", "FlagTypeResoluti...
40.153846
119
0.742656
179
1,566
6.24581
0.324022
0.057245
0.053667
0.076029
0.318426
0.289803
0.289803
0.193202
0.193202
0.078712
0
0.013383
0.141124
1,566
38
120
41.210526
0.817844
0.027458
0
0
1
0
0.165023
0.057857
0
0
0
0
0
1
0.038462
false
0
0.038462
0
0.192308
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
1c3c567cb1666d4b50d5ad26b75b422c2ec15f81
1,449
py
Python
mirumon/services/wmi_api/hardware.py
mirumon/mirumon-windows-client
8d21726288478174467a436fe94e1c1831bda9e7
[ "MIT" ]
1
2021-09-15T09:17:32.000Z
2021-09-15T09:17:32.000Z
mirumon/services/wmi_api/hardware.py
mirumon/mirumon-windows-client
8d21726288478174467a436fe94e1c1831bda9e7
[ "MIT" ]
6
2019-09-14T18:15:19.000Z
2019-12-03T22:27:45.000Z
mirumon/services/wmi_api/hardware.py
mirumon/mirumon-win-client
8d21726288478174467a436fe94e1c1831bda9e7
[ "MIT" ]
null
null
null
from typing import Any, List import wmi from mirumon.schemas.computer.hardware import ( HardwareModel, MotherBoardModel, NetworkAdapterModel, PhysicalDiskModel, ProcessorModel, VideoControllerModel, ) def get_motherboard(computer: wmi.WMI, *_: Any) -> MotherBoardModel: mother = computer....
27.865385
86
0.717736
155
1,449
6.496774
0.264516
0.03575
0.083416
0.101291
0.083416
0
0
0
0
0
0
0.010135
0.182885
1,449
51
87
28.411765
0.840372
0
0
0.081081
0
0
0
0
0
0
0
0
0
1
0.162162
false
0
0.081081
0.135135
0.405405
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
0
0
0
1
1c3d429ce96193c8040bc15c6e5e2e7e65bdeacf
1,788
py
Python
pygly/examples/run_demo.py
adamlwgriffiths/PyGLy
929d50e2bd8b24f079e6c43d6a54b2ff8e572d5f
[ "BSD-2-Clause-FreeBSD" ]
25
2015-02-19T15:48:18.000Z
2021-06-25T04:36:53.000Z
pygly/examples/run_demo.py
adamlwgriffiths/PyGLy
929d50e2bd8b24f079e6c43d6a54b2ff8e572d5f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
pygly/examples/run_demo.py
adamlwgriffiths/PyGLy
929d50e2bd8b24f079e6c43d6a54b2ff8e572d5f
[ "BSD-2-Clause-FreeBSD" ]
4
2015-12-12T03:56:07.000Z
2017-10-19T10:43:06.000Z
import argparse import importlib profiles = { "core": True, "legacy": False, } applications = { "pyglet": "application_pyglet", "pyglfw": "application_pyglfw", "glut": "application_glut", } demos = { "basic": "scene_basic", "texturing": "scene_texture", "...
26.686567
75
0.600112
178
1,788
5.769663
0.342697
0.063291
0.049659
0
0
0
0
0
0
0
0
0
0.263982
1,788
66
76
27.090909
0.780395
0
0
0.053571
0
0
0.271812
0.013423
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.053571
0
0
0
null
0
0
0
0
0
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
1c3fea7ec6376c09b265b6fd7238ec2962f0cb87
866
py
Python
scripts/deployment/deploy_multisig_keyholders.py
JohnAllerdyce/Sovryn-smart-contracts
e0dc44582b4e4ae2fc1bc3f9a7d775384c69d169
[ "Apache-2.0" ]
108
2020-08-30T17:52:32.000Z
2022-02-26T00:00:15.000Z
scripts/deployment/deploy_multisig_keyholders.py
JohnAllerdyce/Sovryn-smart-contracts
e0dc44582b4e4ae2fc1bc3f9a7d775384c69d169
[ "Apache-2.0" ]
181
2020-08-24T09:28:53.000Z
2022-02-11T13:22:22.000Z
scripts/deployment/deploy_multisig_keyholders.py
JohnAllerdyce/Sovryn-smart-contracts
e0dc44582b4e4ae2fc1bc3f9a7d775384c69d169
[ "Apache-2.0" ]
36
2020-09-10T07:53:41.000Z
2022-03-26T00:35:30.000Z
from brownie import * import json def main(): thisNetwork = network.show_active() if thisNetwork == "development": acct = accounts[0] # configFile = open('./scripts/contractInteraction/testnet_contracts.json') elif thisNetwork == "testnet" or thisNetwork == "rsk-mainnet": acct = a...
36.083333
84
0.700924
76
866
7.934211
0.486842
0.086235
0.104478
0.199005
0.293532
0.199005
0.199005
0
0
0
0
0.001425
0.189376
866
23
85
37.652174
0.85755
0.08545
0
0
0
0
0.248101
0.131646
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.166667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c444d318a36178d6e5513e846e17f7a823e3ccb
931
py
Python
esphome/components/binary_sensor/homeassistant.py
pi4homez/esphome
697e9b0c28bb690719fa1d16ca8198ce5fd1d2be
[ "MIT" ]
5
2019-04-14T09:43:29.000Z
2021-07-17T06:36:44.000Z
esphome/components/binary_sensor/homeassistant.py
pi4homez/esphome
697e9b0c28bb690719fa1d16ca8198ce5fd1d2be
[ "MIT" ]
null
null
null
esphome/components/binary_sensor/homeassistant.py
pi4homez/esphome
697e9b0c28bb690719fa1d16ca8198ce5fd1d2be
[ "MIT" ]
4
2019-07-08T08:58:44.000Z
2021-12-18T21:56:22.000Z
import voluptuous as vol from esphome.components import binary_sensor import esphome.config_validation as cv from esphome.const import CONF_ENTITY_ID, CONF_ID, CONF_NAME from esphome.cpp_generator import Pvariable from esphome.cpp_types import App DEPENDENCIES = ['api'] HomeassistantBinarySensor = binary_sensor.bina...
34.481481
94
0.762621
114
931
5.894737
0.412281
0.178571
0.053571
0.071429
0
0
0
0
0
0
0
0
0.161117
931
26
95
35.807692
0.860435
0
0
0
0
0
0.065521
0.062299
0
0
0
0
0
1
0.055556
false
0
0.333333
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1c4ad283daf0722e256ef228e2048c6cc80b222e
1,485
py
Python
new_package/seed/rename_sync_file.py
ziyixi/SeisScripts
a484bc1747eae52b2441f0bfd47ac7e093150f1d
[ "MIT" ]
null
null
null
new_package/seed/rename_sync_file.py
ziyixi/SeisScripts
a484bc1747eae52b2441f0bfd47ac7e093150f1d
[ "MIT" ]
null
null
null
new_package/seed/rename_sync_file.py
ziyixi/SeisScripts
a484bc1747eae52b2441f0bfd47ac7e093150f1d
[ "MIT" ]
null
null
null
""" rename generated sync asdf file based on the cmt solution files. (relocation) """ import subprocess import click import obspy from os.path import join from glob import glob def rename_single(mapper, filepath): # filename = filepath.split("/")[-1] # filename_new = mapper[filename] # filepath_new = join...
30.306122
86
0.657239
205
1,485
4.546341
0.312195
0.038627
0.045064
0.055794
0.11588
0.062232
0.062232
0
0
0
0
0.010604
0.174411
1,485
48
87
30.9375
0.749592
0.137374
0
0
1
0
0.088906
0
0
0
0
0
0
1
0.090909
false
0
0.151515
0
0.272727
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
1c4f5c7c68d581ecd4a64ffcefdb70ace4f833c5
10,021
py
Python
gitime/commands.py
jongoodnow/gitime
f29ae3c04b572ca652b8547b006f548028763745
[ "MIT" ]
3
2016-11-25T14:32:40.000Z
2017-11-17T17:49:03.000Z
gitime/commands.py
jongoodnow/gitime
f29ae3c04b572ca652b8547b006f548028763745
[ "MIT" ]
null
null
null
gitime/commands.py
jongoodnow/gitime
f29ae3c04b572ca652b8547b006f548028763745
[ "MIT" ]
null
null
null
from __future__ import unicode_literals, print_function from gitime import fprintf from gitime.user import User from gitime.commit import Commit, parse_hours_flag, parse_commit_message from gitime.invoice import Invoice, InvoiceNotFound import gitime.database as db import sys import textwrap import os import csv from d...
37.815094
80
0.552939
1,233
10,021
4.415247
0.185726
0.033431
0.028655
0.038391
0.357825
0.310066
0.271124
0.235489
0.171749
0.158707
0
0.008931
0.329608
10,021
265
81
37.815094
0.801429
0
0
0.36
0
0
0.251688
0
0
0
0
0
0
0
null
null
0
0.052
null
null
0.112
0
0
0
null
0
0
0
0
0
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
1c4f722cb5e28ca807792faac3a2c54a55e68221
350
py
Python
bpe_reverse.py
bugii/atmt
f99ccc7a8dcd081ef6ed36313185cd6b785e9a32
[ "MIT" ]
null
null
null
bpe_reverse.py
bugii/atmt
f99ccc7a8dcd081ef6ed36313185cd6b785e9a32
[ "MIT" ]
null
null
null
bpe_reverse.py
bugii/atmt
f99ccc7a8dcd081ef6ed36313185cd6b785e9a32
[ "MIT" ]
null
null
null
with open('model_translations_bpe_dropout.txt', 'r') as f: data = f.read().split("\n") with open('model_translations_bpe_dropout_decoded.txt', 'w') as f: for sentence in data: word_list = sentence.split(" ") detokenized = ''.join(word_list).replace('▁', ' ').strip() ...
31.818182
70
0.588571
45
350
4.4
0.6
0.080808
0.131313
0.252525
0.353535
0.353535
0
0
0
0
0
0
0.24
350
10
71
35
0.740602
0
0
0
0
0
0.243553
0.217765
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c50103128081861e2acde9e889049b66ca074c1
5,292
py
Python
src/cpapi/OpenMaya.py
cpcgskill/cpapi
50ebd86637aec5aab47dff5561f1f1b54e967d64
[ "Apache-2.0" ]
1
2021-09-11T08:06:59.000Z
2021-09-11T08:06:59.000Z
src/cpapi/OpenMaya.py
cpcgskill/cpapi
50ebd86637aec5aab47dff5561f1f1b54e967d64
[ "Apache-2.0" ]
null
null
null
src/cpapi/OpenMaya.py
cpcgskill/cpapi
50ebd86637aec5aab47dff5561f1f1b54e967d64
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*-coding:utf-8 -*- u""" :创建时间: 2020/5/18 23:57 :作者: 苍之幻灵 :我的主页: https://cpcgskill.com :QQ: 2921251087 :爱发电: https://afdian.net/@Phantom_of_the_Cang :aboutcg: https://www.aboutcg.org/teacher/54335 :bilibili: https://space.bilibili.com/351598127 """ from .__OpenMaya__ import * from .__OpenMaya_it__ i...
23.008696
120
0.652683
295
5,292
11.637288
0.833898
0.010486
0
0
0
0
0
0
0
0
0
0.011508
0.211829
5,292
229
121
23.10917
0.811556
0.048375
0
0
0
0
0.538293
0.052317
0
0
0
0
0
1
0
false
0.009174
0.013761
0
0.013761
0
0
0
1
null
0
0
0
0
0
0
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
1c53f794a205220e7cd1cc4c70b4eb69e79e0642
1,096
py
Python
requestbin/storage/memory.py
team-telnyx/requestbin
6c38e147ff6d22ac85a746365e6a8fa361b187c9
[ "MIT" ]
null
null
null
requestbin/storage/memory.py
team-telnyx/requestbin
6c38e147ff6d22ac85a746365e6a8fa361b187c9
[ "MIT" ]
1
2021-03-20T05:32:49.000Z
2021-03-20T05:32:49.000Z
requestbin/storage/memory.py
team-telnyx/requestbin
6c38e147ff6d22ac85a746365e6a8fa361b187c9
[ "MIT" ]
null
null
null
import time import operator from ..models import Bin from requestbin import config class MemoryStorage(): cleanup_interval = config.CLEANUP_INTERVAL def __init__(self): self.bins = {} self.request_count = 0 def do_start(self): self.spawn(self._cleanup_loop) def _cleanup_loo...
22.833333
56
0.618613
143
1,096
4.559441
0.342657
0.08589
0.07362
0.046012
0
0
0
0
0
0
0
0.002541
0.281934
1,096
47
57
23.319149
0.825921
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.117647
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1c573c7e930982bf07562bbc84118f276f68331d
781
py
Python
source/music/player/player_messages.py
khodand/DiscordHalvaBot
c187d1688edbcde08cc8ee12fc26464edc442d48
[ "Apache-2.0" ]
3
2021-07-27T20:35:20.000Z
2022-03-26T13:29:09.000Z
source/music/player/player_messages.py
khodand/DiscordHalvaBot
c187d1688edbcde08cc8ee12fc26464edc442d48
[ "Apache-2.0" ]
16
2020-08-23T19:27:10.000Z
2021-12-22T16:06:27.000Z
source/music/player/player_messages.py
HalvaPovidlo/DiscordHalvaBot
c187d1688edbcde08cc8ee12fc26464edc442d48
[ "Apache-2.0" ]
5
2020-08-23T18:38:51.000Z
2022-03-19T20:57:32.000Z
RADIO_ENABLED = ":white_check_mark: **Radio enabled**" RADIO_DISABLED = ":x: **Radio disabled**" SKIPPED = ":fast_forward: **Skipped** :thumbsup:" NO_MATCH = ":x: **No matches**" SEARCHING = ":trumpet: **Searching** :mag_right:" PAUSE = "**Paused** :pause_button:" STOP = "**Stopped** :stop_button:" LOOP_ENABLED =...
26.931034
98
0.658131
98
781
5.061224
0.591837
0.048387
0.060484
0
0
0
0
0
0
0
0
0
0.140845
781
28
99
27.892857
0.739195
0
0
0
0
0
0.642766
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c58a729973a4cd2c9645dce385c9b682dd338ee
281
py
Python
log.py
rutgersmit/vacci-watcher
e74cd64e4af0378136e18ecb30cda9efca1f6b17
[ "MIT" ]
null
null
null
log.py
rutgersmit/vacci-watcher
e74cd64e4af0378136e18ecb30cda9efca1f6b17
[ "MIT" ]
null
null
null
log.py
rutgersmit/vacci-watcher
e74cd64e4af0378136e18ecb30cda9efca1f6b17
[ "MIT" ]
null
null
null
import datetime def log_msg(msg): now = datetime.datetime.now() msg = '{} - {}'.format(now.strftime('%d/%m/%Y %H:%M:%S'), msg) f = open('log/log-{}.txt'.format(now.strftime('%Y-%m-%d')), "a") f.writelines(msg + '\n') f.close() print(msg, flush=True)
25.545455
68
0.537367
43
281
3.488372
0.534884
0.12
0.226667
0
0
0
0
0
0
0
0
0
0.19573
281
11
69
25.545455
0.663717
0
0
0
0
0
0.177305
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0.125
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c593d3876f0345c2f7ff1306cad8c3a91b8e9cb
1,637
py
Python
python-package/learn2clean/__init__.py
yuancz/Learn2Clean
89374a6e631770afb8c6fda827852d84b59bbbc2
[ "BSD-3-Clause" ]
26
2019-04-26T04:00:17.000Z
2022-02-02T15:11:51.000Z
python-package/learn2clean/__init__.py
yuancz/Learn2Clean
89374a6e631770afb8c6fda827852d84b59bbbc2
[ "BSD-3-Clause" ]
4
2019-04-03T16:13:35.000Z
2019-04-03T16:19:28.000Z
python-package/learn2clean/__init__.py
LaureBerti/Learn2Clean
8a83b3d0641c815b8dee4611a65a20877940fd3d
[ "BSD-3-Clause" ]
7
2019-05-06T06:27:55.000Z
2022-03-03T14:28:44.000Z
# coding: utf-8 __author__ = """Laure Berti-Equille""" __email__ = 'laure.berti@ird.fr' __version__ = '0.2.1' __name__ = 'Learn2Clean' import pandas as pd import numpy as np from .loading.reader import Reader from .normalization.normalizer import Normalizer from .feature_selection.feature_selector import Feature_sele...
38.97619
74
0.808797
176
1,637
7.306818
0.397727
0.119751
0.152411
0.111975
0.269051
0.094868
0.094868
0
0
0
0
0.003344
0.086744
1,637
41
75
39.926829
0.856856
0.007941
0
0.060606
0
0
0.180641
0
0
0
0
0
0
1
0
false
0
0.484848
0
0.484848
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1c6264e301620d42ed935f72486388de94aa90fa
8,789
py
Python
percolate/Subfunctions/IdentifyPeaks.py
AlistairChild/Percolate
064ef1d16b6bc50f2ebab251c439b30386378235
[ "MIT" ]
1
2022-02-08T17:34:44.000Z
2022-02-08T17:34:44.000Z
percolate/Subfunctions/IdentifyPeaks.py
AlistairChild/Percolate
064ef1d16b6bc50f2ebab251c439b30386378235
[ "MIT" ]
1
2021-04-29T16:18:00.000Z
2021-05-04T07:01:59.000Z
percolate/Subfunctions/IdentifyPeaks.py
AlistairChild/Percolate
064ef1d16b6bc50f2ebab251c439b30386378235
[ "MIT" ]
null
null
null
"""Copyright (c) 2021 Alistair Child Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, ...
35.297189
210
0.642508
1,082
8,789
4.992606
0.189464
0.068678
0.067382
0.093299
0.705294
0.676971
0.663643
0.648093
0.648093
0.639578
0
0.008829
0.265445
8,789
248
211
35.439516
0.827912
0.18216
0
0.048193
0
0
0.061594
0
0
0
0
0.008065
0
1
0.060241
false
0
0.26506
0.024096
0.373494
0.012048
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c6bb237a2fa95fa68107ca5937a72a5c1673491
2,066
py
Python
lib/exabgp/bgp/message/update/nlri/evpn/multicast.py
lochiiconnectivity/exabgp
2cb8a99af89969ff4b0b5561de6168a18179b704
[ "BSD-3-Clause" ]
null
null
null
lib/exabgp/bgp/message/update/nlri/evpn/multicast.py
lochiiconnectivity/exabgp
2cb8a99af89969ff4b0b5561de6168a18179b704
[ "BSD-3-Clause" ]
null
null
null
lib/exabgp/bgp/message/update/nlri/evpn/multicast.py
lochiiconnectivity/exabgp
2cb8a99af89969ff4b0b5561de6168a18179b704
[ "BSD-3-Clause" ]
null
null
null
""" multicast.py Created by Thomas Morin on 2014-06-23. Copyright (c) 2014-2015 Orange. All rights reserved. """ from exabgp.protocol.ip import IP from exabgp.bgp.message.update.nlri.qualifier.rd import RouteDistinguisher from exabgp.bgp.message.update.nlri.qualifier.etag import EthernetTag from exabgp.bgp.message.u...
25.195122
96
0.548887
267
2,066
4.146067
0.370787
0.019874
0.02168
0.018067
0.173442
0.164408
0.112014
0
0
0
0
0.025105
0.190223
2,066
81
97
25.506173
0.636581
0.314134
0
0.08
0
0
0.095136
0
0
0
0
0.012346
0
1
0.12
false
0
0.08
0.04
0.46
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
1c7a3bc276a9a1e9956156ca3c51b01a649de121
4,338
py
Python
tests/MenderAPI/deployments.py
kjaskiewiczz/integration
8cdb174368e5a4e2e94e2e20c84c56421ac76c5c
[ "Apache-2.0" ]
null
null
null
tests/MenderAPI/deployments.py
kjaskiewiczz/integration
8cdb174368e5a4e2e94e2e20c84c56421ac76c5c
[ "Apache-2.0" ]
null
null
null
tests/MenderAPI/deployments.py
kjaskiewiczz/integration
8cdb174368e5a4e2e94e2e20c84c56421ac76c5c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright 2016 Mender Software AS # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
38.389381
136
0.656524
540
4,338
5.094444
0.325926
0.061069
0.032715
0.039985
0.181752
0.153399
0.143584
0.115594
0.077063
0.042166
0
0.005134
0.236745
4,338
112
137
38.732143
0.825732
0.148686
0
0.028986
0
0
0.108211
0.014682
0
0
0
0
0.072464
0
null
null
0
0.115942
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1c7e78e6c6025f993da5d4c963037dfc2fce559f
2,811
py
Python
Login System Python/subscipher.py
khrisRa/Python-login-system
fe2af7ff77356ef7330a50df07c384c2c72acdfa
[ "MIT" ]
null
null
null
Login System Python/subscipher.py
khrisRa/Python-login-system
fe2af7ff77356ef7330a50df07c384c2c72acdfa
[ "MIT" ]
null
null
null
Login System Python/subscipher.py
khrisRa/Python-login-system
fe2af7ff77356ef7330a50df07c384c2c72acdfa
[ "MIT" ]
null
null
null
import sqlite3 import re import sys def encrypt(txt): x = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789' y = 'TIMEODANSFRBCGHJKLPQUVWXYZtimeodansfrbcghjklpquvwxyz9876543210' table = str.maketrans(x, y) transl = txt.translate(table) return transl def decrypt(txt): ...
28.979381
99
0.600854
314
2,811
5.33758
0.43949
0.019093
0.03222
0.046539
0.165274
0.124105
0.124105
0.124105
0.124105
0.124105
0
0.02812
0.278904
2,811
96
100
29.28125
0.798717
0
0
0.337662
0
0.025974
0.363536
0.110129
0
0
0
0
0
1
0.103896
false
0.077922
0.051948
0
0.220779
0.103896
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1c7f9ea1530fede51201de4fe61ed0f3fcc9cdbb
1,034
py
Python
bluebrain/repo-bluebrain/packages/psp-validation/package.py
BlueBrain/Spack
dc328512c70e182f3c24bb0ce64fa3586482bdf1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
9
2018-04-18T07:51:40.000Z
2021-09-10T03:56:57.000Z
bluebrain/repo-bluebrain/packages/psp-validation/package.py
BlueBrain/Spack
dc328512c70e182f3c24bb0ce64fa3586482bdf1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
907
2018-04-18T11:17:57.000Z
2022-03-31T13:20:25.000Z
bluebrain/repo-bluebrain/packages/psp-validation/package.py
BlueBrain/Spack
dc328512c70e182f3c24bb0ce64fa3586482bdf1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
29
2018-11-05T16:14:23.000Z
2022-02-03T16:07:09.000Z
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class PspValidation(PythonPackage): """PSP analysis tools""" homepage = "https://bbpgitlab....
34.466667
73
0.656673
166
1,034
4.024096
0.475904
0.148204
0.164671
0.188623
0.338323
0.284431
0.101796
0
0
0
0
0.067492
0.140232
1,034
29
74
35.655172
0.683915
0.201161
0
0
0
0
0.421053
0.107711
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c7fbd3699c67aa962a157abdbfcedfc342124c7
24,435
py
Python
compat-tool/compat.py
shekelator/amazon-documentdb-tools
67df6ccf8c2b6e74e3e77dfd80949ccbf287aa97
[ "Apache-2.0" ]
null
null
null
compat-tool/compat.py
shekelator/amazon-documentdb-tools
67df6ccf8c2b6e74e3e77dfd80949ccbf287aa97
[ "Apache-2.0" ]
null
null
null
compat-tool/compat.py
shekelator/amazon-documentdb-tools
67df6ccf8c2b6e74e3e77dfd80949ccbf287aa97
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 import glob import pathlib import os import sys import re import argparse versions = ['3.6', '4.0'] processingFeedbackLines = 10000 issuesDict = {} detailedIssuesDict = {} supportedDict = {} skippedFileList = [] exceptionFileList = [] numProcessedFiles = 0 def double_check(checkOperator, checkLin...
57.224824
193
0.509229
3,165
24,435
3.922591
0.133649
0.067177
0.045912
0.245107
0.593395
0.554168
0.549174
0.537737
0.526138
0.043012
0
0.074258
0.194271
24,435
426
194
57.359155
0.556329
0.01858
0
0.066313
0
0
0.403446
0.001752
0
0
0
0
0
1
0.01061
false
0
0.015915
0
0.03183
0.06366
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c7fee0d92a60398769b7235b1d582495c2e534b
1,737
py
Python
wally/suits/io/rpc_plugin.py
Mirantis/rally-results-processor
aaad8b81218d0907e9aa1425e18b1a044f06960d
[ "Apache-2.0" ]
41
2015-05-15T09:48:06.000Z
2020-04-27T07:16:42.000Z
wally/suits/io/rpc_plugin.py
Mirantis/rally-results-processor
aaad8b81218d0907e9aa1425e18b1a044f06960d
[ "Apache-2.0" ]
7
2017-05-20T16:15:03.000Z
2021-02-10T12:28:02.000Z
wally/suits/io/rpc_plugin.py
sergeygalkin/disk_perf_test_tool
ad150b8e01f52339f832ad0c29a9352239f013a9
[ "Apache-2.0" ]
25
2015-03-16T12:55:35.000Z
2021-02-10T12:11:31.000Z
import os import time import stat import random import logging import subprocess mod_name = "fio" __version__ = (0, 1) logger = logging.getLogger("agent.fio") # TODO: fix this in case if file is block device def check_file_prefilled(path, used_size_mb, blocks_to_check=16): used_size = used_size_mb * 1024 ** 2...
27.140625
106
0.64882
253
1,737
4.288538
0.418972
0.04424
0.058065
0.02765
0
0
0
0
0
0
0
0.031532
0.233161
1,737
63
107
27.571429
0.783033
0.026482
0
0.136364
0
0.022727
0.105388
0
0
0
0
0.015873
0.022727
1
0.068182
false
0
0.136364
0
0.340909
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
1c84472ed5d9ea6e495d42a49ec52d2c81e78464
1,144
py
Python
begameshopapp/games/migrations/0003_review.py
krissrobert12/be-game-shop-app
abbccfa3b739e0891dacf3e503a99b8e9767a0bc
[ "MIT" ]
null
null
null
begameshopapp/games/migrations/0003_review.py
krissrobert12/be-game-shop-app
abbccfa3b739e0891dacf3e503a99b8e9767a0bc
[ "MIT" ]
null
null
null
begameshopapp/games/migrations/0003_review.py
krissrobert12/be-game-shop-app
abbccfa3b739e0891dacf3e503a99b8e9767a0bc
[ "MIT" ]
null
null
null
# Generated by Django 3.1.10 on 2021-05-11 23:51 from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
40.857143
175
0.671329
127
1,144
5.92126
0.535433
0.042553
0.079787
0.087766
0.194149
0.194149
0.194149
0.194149
0.194149
0.194149
0
0.040393
0.199301
1,144
27
176
42.37037
0.780568
0.04021
0
0
1
0
0.07938
0.020985
0
0
0
0
0
1
0
false
0
0.190476
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
1c87c482d6c30bdb300fffbd8c54e7bc9dfb00cd
1,135
py
Python
py_v2/WeiboSession.py
SykieChen/WeiboBlackList
bccfd1bb69161d52abdc30abd46179f3dcbce6d0
[ "MIT" ]
394
2017-10-10T13:11:26.000Z
2022-02-20T03:27:44.000Z
py_v2/WeiboSession.py
SykieChen/WeiboBlackList
bccfd1bb69161d52abdc30abd46179f3dcbce6d0
[ "MIT" ]
15
2017-10-10T14:12:17.000Z
2017-10-25T11:54:50.000Z
py_v2/WeiboSession.py
SykieChen/WeiboBlackList
bccfd1bb69161d52abdc30abd46179f3dcbce6d0
[ "MIT" ]
70
2017-10-10T14:18:36.000Z
2021-08-30T14:18:44.000Z
import requests class WeiboSession(requests.Session): def __init__(self, username, password): super(WeiboSession, self).__init__() self.__username = username self.__password = password def __del__(self): self.close() def login(self): loginURL = "http://passport.wei...
32.428571
160
0.552423
119
1,135
5.033613
0.487395
0.070117
0.075125
0.063439
0
0
0
0
0
0
0
0.028465
0.288106
1,135
34
161
33.382353
0.712871
0
0
0
0
0.033333
0.261674
0
0
0
0
0
0
1
0.1
false
0.166667
0.033333
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1c881e39702005bf7adc3cd0ae43a734f611ccca
2,225
py
Python
core/kerr_effect.py
VasilyevEvgeny/self-focusing_3D
c90b4d78d2d72365566f8a49b325bd48127b1e44
[ "MIT" ]
null
null
null
core/kerr_effect.py
VasilyevEvgeny/self-focusing_3D
c90b4d78d2d72365566f8a49b325bd48127b1e44
[ "MIT" ]
null
null
null
core/kerr_effect.py
VasilyevEvgeny/self-focusing_3D
c90b4d78d2d72365566f8a49b325bd48127b1e44
[ "MIT" ]
null
null
null
from abc import ABCMeta, abstractmethod from numba import jit from numpy import exp, multiply class KerrExecutor(metaclass=ABCMeta): """ Abstract class for Kerr effect object. The class takes on the input in the constructor a beam object, which contains all the necessary beam parameters for further ca...
27.8125
119
0.655281
262
2,225
5.305344
0.339695
0.034532
0.031655
0.048921
0.307914
0.307914
0.307914
0.307914
0.307914
0.307914
0
0.003028
0.257978
2,225
79
120
28.164557
0.838886
0.346966
0
0.411765
0
0
0.038432
0
0
0
0
0
0
1
0.294118
false
0
0.088235
0.088235
0.617647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1c88c24580f4d4b843df2777be2b537480c6cf55
4,946
py
Python
web/settings.py
okfn-brasil/pedidosanonimos
25935346be655f60bb5648d164e781ccf4c65bbb
[ "MIT" ]
33
2018-11-06T12:37:00.000Z
2022-01-23T02:12:52.000Z
web/settings.py
okfn-brasil/pedidosanonimos
25935346be655f60bb5648d164e781ccf4c65bbb
[ "MIT" ]
15
2018-11-07T11:49:37.000Z
2020-07-08T23:30:33.000Z
web/settings.py
okfn-brasil/pedidosanonimos
25935346be655f60bb5648d164e781ccf4c65bbb
[ "MIT" ]
11
2018-11-18T13:36:10.000Z
2020-06-20T21:36:27.000Z
""" Django settings for web project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os import ...
27.325967
97
0.710473
600
4,946
5.671667
0.373333
0.061123
0.045254
0.051425
0.167793
0.138407
0.092565
0.07846
0.035263
0
0
0.015137
0.158512
4,946
180
98
27.477778
0.802499
0.269511
0
0
1
0
0.447111
0.320402
0
0
0
0.005556
0
1
0
false
0.044643
0.035714
0
0.035714
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
1c8a957e9463488a9dd0ba39ccc16bfb1eec7206
466
py
Python
backend/flask/auth/decorators.py
Darky2020/SauerDemos
27474ab922ac6bacb6c6a549b9dc42c93802ba88
[ "MIT" ]
1
2022-03-05T06:08:35.000Z
2022-03-05T06:08:35.000Z
backend/flask/auth/decorators.py
Darky2020/SauerDemos
27474ab922ac6bacb6c6a549b9dc42c93802ba88
[ "MIT" ]
null
null
null
backend/flask/auth/decorators.py
Darky2020/SauerDemos
27474ab922ac6bacb6c6a549b9dc42c93802ba88
[ "MIT" ]
null
null
null
from backend.services import AuthTokenService from flask import request import functools def token_required(func): @functools.wraps(func) def wrapper(*args, **kwarg): token = request.cookies.get('AuthToken') if not token: return "Invalid token", 400 if not AuthTokenService...
23.3
51
0.652361
52
466
5.807692
0.5
0.059603
0.119205
0.152318
0.172185
0
0
0
0
0
0
0.017442
0.261803
466
19
52
24.526316
0.860465
0
0
0.142857
0
0
0.075107
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0
0.642857
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
1c8d8088d79488bc1668382e6533d13d7e6c3710
391
py
Python
tests/unit/testpyspark.py
guangie88/pyspark-stubs
8232435171f10ebb86d56e15a5c48c80d2900872
[ "Apache-2.0" ]
null
null
null
tests/unit/testpyspark.py
guangie88/pyspark-stubs
8232435171f10ebb86d56e15a5c48c80d2900872
[ "Apache-2.0" ]
null
null
null
tests/unit/testpyspark.py
guangie88/pyspark-stubs
8232435171f10ebb86d56e15a5c48c80d2900872
[ "Apache-2.0" ]
null
null
null
from mypy.test.data import DataDrivenTestCase, DataSuite from mypy.test.testcheck import TypeCheckSuite TypeCheckSuite.files = [ "context.test", "ml-classification.test", "ml-evaluation.test", "ml-feature.test", "ml-param.test", "ml-readable.test", "resultiterab...
24.4375
56
0.611253
40
391
5.975
0.525
0.125523
0.100418
0
0
0
0
0
0
0
0
0
0.255754
391
15
57
26.066667
0.821306
0
0
0
0
0
0.373402
0.056266
0
0
0
0
0
1
0
true
0
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1c93004753ac6ba764b05d7b92ddc4a97b5390a1
872
py
Python
moai/monads/object_pose/rotational_conversions.py
tzole1155/moai
d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180
[ "Apache-2.0" ]
10
2021-04-02T11:21:33.000Z
2022-01-18T18:32:32.000Z
moai/monads/object_pose/rotational_conversions.py
tzole1155/moai
d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180
[ "Apache-2.0" ]
1
2022-03-22T20:10:55.000Z
2022-03-24T13:11:02.000Z
moai/monads/object_pose/rotational_conversions.py
tzole1155/moai
d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180
[ "Apache-2.0" ]
3
2021-05-16T20:47:40.000Z
2021-12-01T21:15:36.000Z
import torch import logging import kornia as kn log = logging.getLogger(__name__) __all__ = ["AngleAxis"] #TODO: make_from, convert_to class AngleAxis(torch.nn.Module): def __init__(self, convert_to: str = "rot_mat", #"quat" , "ortho6d", "euler_angles" , etc. ): super(AngleAxis,sel...
36.333333
129
0.667431
113
872
4.823009
0.584071
0.082569
0.082569
0.062385
0.172477
0.172477
0.172477
0.172477
0.172477
0
0
0.001486
0.228211
872
24
130
36.333333
0.808321
0.125
0
0
0
0
0.170828
0
0
0
0
0.041667
0
1
0.111111
false
0
0.166667
0.055556
0.388889
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
1c945d334f6e755459d563547fd936cbdff3f0a8
1,502
py
Python
2019/08/08/Flask REST API Example With Pluggable Views and MethodView/api_demo/app.py
kenjitagawa/youtube_video_code
ef3c48b9e136b3745d10395d94be64cb0a1f1c97
[ "Unlicense" ]
492
2019-06-25T12:54:31.000Z
2022-03-30T12:38:28.000Z
2019/08/08/Flask REST API Example With Pluggable Views and MethodView/api_demo/app.py
kenjitagawa/youtube_video_code
ef3c48b9e136b3745d10395d94be64cb0a1f1c97
[ "Unlicense" ]
23
2019-10-01T01:36:08.000Z
2022-02-10T12:46:16.000Z
2019/08/08/Flask REST API Example With Pluggable Views and MethodView/api_demo/app.py
kenjitagawa/youtube_video_code
ef3c48b9e136b3745d10395d94be64cb0a1f1c97
[ "Unlicense" ]
1,734
2019-06-03T06:25:13.000Z
2022-03-31T23:57:53.000Z
from flask import Flask, jsonify, request from flask.views import MethodView app = Flask(__name__) languages = [{'name' : 'JavaScript'}, {'name' : 'Python'}, {'name' : 'Ruby'}] def get_language(name): return [language for language in languages if language['name'] == name][0] class Language(MethodView)...
38.512821
107
0.663116
177
1,502
5.367232
0.242938
0.24
0.094737
0.075789
0.5
0.487368
0.450526
0.404211
0.206316
0.12
0
0.005843
0.202397
1,502
39
108
38.512821
0.787145
0
0
0.133333
0
0
0.117406
0.017065
0
0
0
0
0
1
0.166667
false
0
0.066667
0.033333
0.466667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c94cb0d16261376aaccc3f528306220b0c6e32b
1,224
py
Python
droidlet/interpreter/craftassist/block_helpers.py
adamlerer/droidlet
ada38d191dadcea9aba12330e35e8e7d6d1663d9
[ "MIT" ]
null
null
null
droidlet/interpreter/craftassist/block_helpers.py
adamlerer/droidlet
ada38d191dadcea9aba12330e35e8e7d6d1663d9
[ "MIT" ]
null
null
null
droidlet/interpreter/craftassist/block_helpers.py
adamlerer/droidlet
ada38d191dadcea9aba12330e35e8e7d6d1663d9
[ "MIT" ]
null
null
null
""" Copyright (c) Facebook, Inc. and its affiliates. """ import random import Levenshtein from droidlet.lowlevel.minecraft.craftassist_cuberite_utils import block_data from droidlet.lowlevel.minecraft.mc_util import IDM # TODO FILTERS! def get_block_type(s, block_data_info) -> IDM: """string -> (id, meta) or ...
34.971429
97
0.589869
173
1,224
3.936416
0.358382
0.070485
0.052863
0.123348
0.370044
0.370044
0.370044
0.370044
0.370044
0.370044
0
0.013652
0.281863
1,224
34
98
36
0.761092
0.096405
0
0.16
0
0
0.046832
0
0
0
0
0.029412
0
1
0.04
false
0
0.16
0
0.24
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
1c965210c3842a59eabaa9dc84fa0125cdf4bc7b
680
py
Python
stories/migrations/0015_location_to_locations.py
City-of-Helsinki/aggregaattori
be38b167220ab371975b705dd7f3bbe494afc9e9
[ "MIT" ]
1
2017-08-11T06:50:20.000Z
2017-08-11T06:50:20.000Z
stories/migrations/0015_location_to_locations.py
City-of-Helsinki/aggregaattori
be38b167220ab371975b705dd7f3bbe494afc9e9
[ "MIT" ]
37
2017-08-11T06:38:06.000Z
2020-06-05T17:07:47.000Z
stories/migrations/0015_location_to_locations.py
City-of-Helsinki/aggregaattori
be38b167220ab371975b705dd7f3bbe494afc9e9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-08-17 13:50 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('munigeo', '0003_add_modified_time_to_address_and_street'), ('stories', '0014_story_t...
26.153846
114
0.620588
70
680
5.785714
0.742857
0.044444
0.069136
0.088889
0
0
0
0
0
0
0
0.049603
0.258824
680
25
115
27.2
0.753968
0.1
0
0.222222
1
0
0.224959
0.121511
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c97ee0398c9f0f7d4a0ef85b0b2363b0e880458
9,775
py
Python
src/mcedit2/worldview/viewaction.py
elcarrion06/mcedit2
4bb98da521447b6cf43d923cea9f00acf2f427e9
[ "BSD-3-Clause" ]
673
2015-01-02T02:08:13.000Z
2022-03-24T19:38:14.000Z
src/mcedit2/worldview/viewaction.py
ozzhates/mcedit2
4bb98da521447b6cf43d923cea9f00acf2f427e9
[ "BSD-3-Clause" ]
526
2015-01-01T02:10:53.000Z
2022-02-06T16:24:21.000Z
src/mcedit2/worldview/viewaction.py
ozzhates/mcedit2
4bb98da521447b6cf43d923cea9f00acf2f427e9
[ "BSD-3-Clause" ]
231
2015-01-01T16:47:30.000Z
2022-03-31T21:51:55.000Z
""" viewaction """ from __future__ import absolute_import, division, print_function import logging from PySide import QtGui, QtCore from PySide.QtCore import Qt from mceditlib.util.lazyprop import weakrefprop from mcedit2.util.settings import Settings log = logging.getLogger(__name__) class ViewAction(QtCore....
31.330128
125
0.601944
1,067
9,775
5.448922
0.22493
0.027864
0.01806
0.01634
0.353457
0.278982
0.232886
0.156863
0.146543
0.095975
0
0.003936
0.29821
9,775
312
126
31.330128
0.843586
0.048389
0
0.319588
0
0
0.063658
0.009958
0
0
0.001261
0
0
0
null
null
0
0.030928
null
null
0.005155
0
0
0
null
0
0
0
0
0
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
1c9c462a80ce158b2a35b593cb010a0d64693bfa
1,318
py
Python
src/cmakeincludes/includer.py
bozzzzo/cmake-c-includes
b3ee7d753c076b32381fe90e68704dc5400c45f4
[ "Apache-2.0" ]
null
null
null
src/cmakeincludes/includer.py
bozzzzo/cmake-c-includes
b3ee7d753c076b32381fe90e68704dc5400c45f4
[ "Apache-2.0" ]
null
null
null
src/cmakeincludes/includer.py
bozzzzo/cmake-c-includes
b3ee7d753c076b32381fe90e68704dc5400c45f4
[ "Apache-2.0" ]
null
null
null
import cmakeast from . import hdr class CMakeAnalysis: def __init__(self, *, cmakefile): self.hdr = hdr.HeaderIncluder(cmakefile) def _function_call(self, node_name, node, depth): handler_name = f"analyze_{node.name}" handler = getattr(self, handler_name, None) if handler is ...
32.95
78
0.609256
149
1,318
5.201342
0.308725
0.058065
0.050323
0.065806
0.251613
0.251613
0.162581
0.162581
0.162581
0.162581
0
0.005371
0.293627
1,318
39
79
33.794872
0.827068
0
0
0.137931
0
0
0.014416
0
0
0
0
0
0
1
0.241379
false
0
0.068966
0
0.413793
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
98bf7076cd48da1a78112477adf205373f897f2e
4,262
py
Python
cct/core2/devices/motor/trinamic/frontend.py
awacha/cct
be1adbed2533df15c778051f3f4f9da0749c873a
[ "BSD-3-Clause" ]
1
2015-11-04T16:37:39.000Z
2015-11-04T16:37:39.000Z
cct/core2/devices/motor/trinamic/frontend.py
awacha/cct
be1adbed2533df15c778051f3f4f9da0749c873a
[ "BSD-3-Clause" ]
null
null
null
cct/core2/devices/motor/trinamic/frontend.py
awacha/cct
be1adbed2533df15c778051f3f4f9da0749c873a
[ "BSD-3-Clause" ]
1
2020-03-05T02:50:43.000Z
2020-03-05T02:50:43.000Z
from typing import Tuple, Any from .backend import TMCM351Backend, TMCM6110Backend, TrinamicMotorControllerBackend from .conversion import UnitConverter from ..generic.frontend import MotorController class TrinamicMotor(MotorController): _converters: Tuple[UnitConverter, ...] backendclass: TrinamicMotorContro...
42.19802
107
0.666354
455
4,262
6.142857
0.246154
0.042934
0.055814
0.065832
0.365295
0.322719
0.290161
0.276565
0.247943
0.247943
0
0.020719
0.229939
4,262
100
108
42.62
0.830896
0
0
0.101266
0
0
0.129751
0.02229
0
0
0
0
0
1
0.202532
false
0.012658
0.050633
0.050633
0.43038
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
98c32b8fad785c592392c97908ff01fda45781cb
25,396
py
Python
scaffold/consul/consul_template.py
mccormickmichael/laurel
6222d8d2dea6fa18cfe3b031434154003e8a125b
[ "Unlicense" ]
1
2018-08-20T13:49:46.000Z
2018-08-20T13:49:46.000Z
scaffold/consul/consul_template.py
mccormickmichael/laurel
6222d8d2dea6fa18cfe3b031434154003e8a125b
[ "Unlicense" ]
null
null
null
scaffold/consul/consul_template.py
mccormickmichael/laurel
6222d8d2dea6fa18cfe3b031434154003e8a125b
[ "Unlicense" ]
null
null
null
#!/usr/bin/python # Define a stack to host a Consul cluster. # # Template Parameters (provided at templat creation time): # - name # Name of the stack, of course. Required. # - description # Description of the stack. Please provide one. # - region # The AWS region in which this template will be executed # - buck...
45.188612
154
0.499409
2,441
25,396
4.956985
0.188447
0.016364
0.01719
0.010992
0.399669
0.356116
0.318512
0.307603
0.278264
0.264793
0
0.015701
0.400614
25,396
561
155
45.269162
0.779201
0.089857
0
0.321199
0
0.010707
0.157765
0.024081
0
0
0
0.001783
0
0
null
null
0
0.023555
null
null
0.002141
0
0
0
null
0
0
0
0
0
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
98c6a90ffdef7624ea074ec75ddf0fd0be81e4f3
3,498
py
Python
eval.py
XIN-von-SUN/SummaRuNNer
bc23f451ced178423817b1dcb7e12449dad6e277
[ "MIT" ]
45
2018-06-26T15:16:59.000Z
2022-02-24T09:37:18.000Z
eval.py
XIN-von-SUN/SummaRuNNer
bc23f451ced178423817b1dcb7e12449dad6e277
[ "MIT" ]
6
2018-10-14T20:56:34.000Z
2020-09-14T12:29:32.000Z
eval.py
XIN-von-SUN/SummaRuNNer
bc23f451ced178423817b1dcb7e12449dad6e277
[ "MIT" ]
10
2018-08-23T07:56:03.000Z
2020-11-24T10:46:56.000Z
#!/usr/bin/env python #coding:utf8 import numpy import argparse import logging import sys import cPickle as pkl from helper import Config from helper import Dataset from helper import DataLoader from helper import prepare_data from helper import test import data_reader as dr import codecs import time import tensorflow ...
34.294118
91
0.60263
457
3,498
4.413567
0.334792
0.035697
0.067427
0.016857
0.051562
0.028756
0.028756
0
0
0
0
0.026159
0.278731
3,498
101
92
34.633663
0.773286
0.041452
0
0
0
0
0.129187
0.035287
0
0
0
0
0
0
null
null
0
0.195122
null
null
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
1
0
0
0
0
0
0
0
0
1
98c7422b4574126b685892dd3b72927818731fb0
905
py
Python
diy_gym/addons/controllers/external_force.py
ktlichkid/diy-gym
8783f15e2cb203829f0f1e1eac06c3310065e7f9
[ "MIT" ]
22
2019-07-22T11:56:57.000Z
2022-01-07T09:16:20.000Z
diy_gym/addons/controllers/external_force.py
ktlichkid/diy-gym
8783f15e2cb203829f0f1e1eac06c3310065e7f9
[ "MIT" ]
6
2019-08-05T00:55:16.000Z
2021-03-11T19:45:23.000Z
diy_gym/addons/controllers/external_force.py
ktlichkid/diy-gym
8783f15e2cb203829f0f1e1eac06c3310065e7f9
[ "MIT" ]
5
2019-07-29T00:56:51.000Z
2021-01-22T19:16:09.000Z
import pybullet as p from gym import spaces from diy_gym.addons.addon import Addon class ExternalForce(Addon): """ExternalForce defines a addon that can be used to apply an external force to the base a model. """ def __init__(self, parent, config): super(ExternalForce, self).__init__(parent, confi...
36.2
101
0.660773
140
905
4.192857
0.485714
0.02385
0.025554
0.020443
0.010221
0
0
0
0
0
0
0.027697
0.241989
905
24
102
37.708333
0.827988
0.4
0
0
0
0
0.018868
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
98d1773c37c856cadee1954b589539093de2d791
3,799
py
Python
istr/__init__.py
andy-maier/istr
b0116939545ed418533d501f13fce61e65e65376
[ "Apache-2.0" ]
null
null
null
istr/__init__.py
andy-maier/istr
b0116939545ed418533d501f13fce61e65e65376
[ "Apache-2.0" ]
null
null
null
istr/__init__.py
andy-maier/istr
b0116939545ed418533d501f13fce61e65e65376
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' istr.py ~~~~~~~ Case insensitive string implementation. Based on https://code.activestate.com/recipes/194371/ and https://stackoverflow.com/a/29247821/1258307 ''' # Metadata __author__ = 'Pedro Algarvio' __email__ = 'pedro@algarvio.me' __version__ = '1.0.1' __version_i...
31.139344
74
0.606739
420
3,799
5.314286
0.242857
0.112903
0.175627
0.125448
0.59095
0.59095
0.478047
0.478047
0.478047
0.478047
0
0.009191
0.284022
3,799
121
75
31.396694
0.811397
0.133719
0
0.345679
0
0
0.020396
0
0
0
0
0
0
1
0.222222
false
0
0.012346
0.037037
0.469136
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
98d56e681661233f96746b917dc92815ffd2d089
236
py
Python
Aula10/app.py
refatorando/curso_python_iniciantes
6b5de0217c630edb594e7b898a9d817446b4210a
[ "MIT" ]
3
2021-02-08T22:29:57.000Z
2022-03-28T21:36:23.000Z
Aula10/app.py
refatorando/curso_python_iniciantes
6b5de0217c630edb594e7b898a9d817446b4210a
[ "MIT" ]
1
2021-12-22T17:21:12.000Z
2021-12-22T17:21:12.000Z
Aula10/app.py
refatorando/curso_python_iniciantes
6b5de0217c630edb594e7b898a9d817446b4210a
[ "MIT" ]
null
null
null
frutas = {"maça","Laranja","Abacaxi"} frutas.add("Pera") frutas.remove("maça") frutas.pop() print(frutas) set1 = {"maça","Laranja","Abacaxi"} set2 = {0,3,50,-74} set3 = {True,False,False,False} set4 = {"Roger",34,True} print(set4)
14.75
37
0.644068
34
236
4.470588
0.617647
0.144737
0.236842
0
0
0
0
0
0
0
0
0.061611
0.105932
236
16
38
14.75
0.658768
0
0
0
0
0
0.206751
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1