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
4070c2df45bf1b67591bb6aba566f9e634de3043
12,130
py
Python
test/python/quantum_info/operators/channel/test_adjoint.py
ajavadia/qiskit-sdk-py
a59e8e6be1793197e19998c1f7dcfc45e6f2f3af
[ "Apache-2.0" ]
11
2019-06-27T09:53:29.000Z
2021-03-02T04:40:30.000Z
test/python/quantum_info/operators/channel/test_adjoint.py
ajavadia/qiskit-sdk-py
a59e8e6be1793197e19998c1f7dcfc45e6f2f3af
[ "Apache-2.0" ]
35
2019-03-07T02:09:22.000Z
2022-03-22T19:55:15.000Z
test/python/quantum_info/operators/channel/test_adjoint.py
ajavadia/qiskit-sdk-py
a59e8e6be1793197e19998c1f7dcfc45e6f2f3af
[ "Apache-2.0" ]
4
2019-08-05T15:35:33.000Z
2020-09-18T18:55:02.000Z
# This code is part of Qiskit. # # (C) Copyright IBM 2017, 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
40.165563
77
0.67263
1,593
12,130
4.926554
0.091023
0.061162
0.077982
0.09633
0.820974
0.812309
0.748598
0.74605
0.741463
0.729358
0
0.007058
0.229101
12,130
301
78
40.299003
0.83221
0.197527
0
0.59375
0
0
0.000842
0
0
0
0
0
0.015625
1
0.203125
false
0
0.052083
0
0.286458
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
7
40e008254a74c9a5cd9560af912372d8058e533c
162
py
Python
hydroDL/data/modis.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
null
null
null
hydroDL/data/modis.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
null
null
null
hydroDL/data/modis.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
2
2021-04-04T02:45:59.000Z
2022-03-19T09:41:39.000Z
import h5py fileName = r'C:\Users\geofk\work\database\MODIS\MCD15A2H.006\2010.01.01\MCD15A2H.A2010001.h08v05.006.2015198120641.hdf' f = h5py.File(fileName, 'r')
32.4
119
0.771605
26
162
4.807692
0.769231
0.144
0
0
0
0
0
0
0
0
0
0.302632
0.061728
162
4
120
40.5
0.519737
0
0
0
0
0.333333
0.654321
0.648148
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
7
dc027ce22c1c8c0c5f1371489cad8eabf26ec8eb
75
py
Python
magpie/one_d/__init__.py
knaidoo29/magpie
efab3c2666aab2c928ca12a631758bc1b43c149c
[ "MIT" ]
null
null
null
magpie/one_d/__init__.py
knaidoo29/magpie
efab3c2666aab2c928ca12a631758bc1b43c149c
[ "MIT" ]
null
null
null
magpie/one_d/__init__.py
knaidoo29/magpie
efab3c2666aab2c928ca12a631758bc1b43c149c
[ "MIT" ]
null
null
null
from .one_d import rebin_1d_single_bin_weights from .one_d import rebin_1d
25
46
0.866667
15
75
3.866667
0.6
0.241379
0.275862
0.482759
0.724138
0.724138
0
0
0
0
0
0.029851
0.106667
75
2
47
37.5
0.835821
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
9
dc02cc0b9f383e66d73d293ecedacc19ec0023ee
36,703
py
Python
swagger_client/api/imports_api.py
idaholab/Deep-Lynx-Python-Package
99927cc877eba8e2ee396feec807da1c48c64893
[ "MIT" ]
3
2021-06-16T20:34:41.000Z
2021-06-16T23:54:36.000Z
swagger_client/api/imports_api.py
idaholab/Deep-Lynx-Python-Package
99927cc877eba8e2ee396feec807da1c48c64893
[ "MIT" ]
null
null
null
swagger_client/api/imports_api.py
idaholab/Deep-Lynx-Python-Package
99927cc877eba8e2ee396feec807da1c48c64893
[ "MIT" ]
null
null
null
# coding: utf-8 """ Deep Lynx The construction of megaprojects has consistently demonstrated challenges for project managers in regard to meeting cost, schedule, and performance requirements. Megaproject construction challenges are common place within megaprojects with many active projects in the United State...
44.380895
1,455
0.629703
4,403
36,703
4.995458
0.071542
0.048011
0.036326
0.036281
0.905297
0.898341
0.896749
0.891157
0.889248
0.88702
0
0.015751
0.282157
36,703
826
1,456
44.434625
0.819069
0.346538
0
0.774554
0
0
0.235944
0.050002
0
0
0
0
0
1
0.033482
false
0
0.223214
0
0.305804
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
90992180660cda6bd1307945e41e82863a3fcc29
4,266
py
Python
axelrod/tests/unit/test_prober.py
lipingzhu/Zero-determinant
6e30aa72358d5dfc3975abe433d0d13cc3a750a1
[ "MIT" ]
null
null
null
axelrod/tests/unit/test_prober.py
lipingzhu/Zero-determinant
6e30aa72358d5dfc3975abe433d0d13cc3a750a1
[ "MIT" ]
null
null
null
axelrod/tests/unit/test_prober.py
lipingzhu/Zero-determinant
6e30aa72358d5dfc3975abe433d0d13cc3a750a1
[ "MIT" ]
null
null
null
"""Tests for prober strategies.""" import random import axelrod from .test_player import TestPlayer C, D = axelrod.Actions.C, axelrod.Actions.D class TestProber(TestPlayer): name = "Prober" player = axelrod.Prober expected_classifier = { 'memory_depth': float('inf'), # Long memory 's...
32.564885
69
0.54196
616
4,266
3.633117
0.113636
0.068811
0.060322
0.265416
0.838248
0.836014
0.831546
0.828865
0.809205
0.777927
0
0.010718
0.278247
4,266
130
70
32.815385
0.716142
0.116971
0
0.449438
0
0
0.102145
0
0
0
0
0
0
1
0.089888
false
0
0.033708
0
0.303371
0
0
0
0
null
0
0
1
1
1
1
1
1
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
7
90d1c80d21d5c88ecf7f688b9f7f9c065f9d92be
143
py
Python
keras/layers/local.py
ikingye/keras
1a3ee8441933fc007be6b2beb47af67998d50737
[ "MIT" ]
5
2020-11-30T22:26:03.000Z
2020-12-01T22:34:25.000Z
keras/layers/local.py
ikingye/keras
1a3ee8441933fc007be6b2beb47af67998d50737
[ "MIT" ]
10
2020-12-01T22:55:29.000Z
2020-12-11T18:31:46.000Z
keras/layers/local.py
ikingye/keras
1a3ee8441933fc007be6b2beb47af67998d50737
[ "MIT" ]
15
2020-11-30T22:12:22.000Z
2020-12-09T01:32:48.000Z
"""Locally-connected layers.""" from tensorflow.keras.layers import LocallyConnected1D from tensorflow.keras.layers import LocallyConnected2D
28.6
54
0.839161
15
143
8
0.6
0.233333
0.316667
0.416667
0.516667
0
0
0
0
0
0
0.015152
0.076923
143
4
55
35.75
0.893939
0.174825
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
90e7e51c36da7e66e3fc9ab79dfcc39d9241210c
3,026
py
Python
fec/home/migrations/0078_auto_20170404_2137.py
rds0751/fec-cms
833cdac7240d056ed234ed5b503a2407e1fee1ce
[ "CC0-1.0" ]
47
2015-09-09T14:23:30.000Z
2019-12-29T13:58:41.000Z
fec/home/migrations/0078_auto_20170404_2137.py
rds0751/fec-cms
833cdac7240d056ed234ed5b503a2407e1fee1ce
[ "CC0-1.0" ]
3,183
2018-03-09T20:30:55.000Z
2022-03-30T21:27:49.000Z
fec/home/migrations/0078_auto_20170404_2137.py
rds0751/fec-cms
833cdac7240d056ed234ed5b503a2407e1fee1ce
[ "CC0-1.0" ]
27
2015-08-20T02:10:13.000Z
2021-02-14T10:51:18.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-04-04 21:37 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0077_auto_20170331_1711'), ] operations = [ migrations.AlterField( ...
116.384615
1,285
0.693325
333
3,026
6.261261
0.279279
0.04988
0.034532
0.047962
0.848921
0.799041
0.799041
0.799041
0.799041
0.799041
0
0.015081
0.145406
3,026
25
1,286
121.04
0.791183
0.022472
0
0.333333
1
0
0.645008
0.007783
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
29395d03d7c7e74425169f584ec87cd3d77c40cc
40
py
Python
app/modules/authentication/schema/__init__.py
sanjaykhanal/FastAPIStarter
13ed63dd25e2df6ff9f5a757b75a9366df565d26
[ "MIT" ]
null
null
null
app/modules/authentication/schema/__init__.py
sanjaykhanal/FastAPIStarter
13ed63dd25e2df6ff9f5a757b75a9366df565d26
[ "MIT" ]
null
null
null
app/modules/authentication/schema/__init__.py
sanjaykhanal/FastAPIStarter
13ed63dd25e2df6ff9f5a757b75a9366df565d26
[ "MIT" ]
null
null
null
from . import users from . import roles
13.333333
19
0.75
6
40
5
0.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.2
40
2
20
20
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
295bfcbd35b9b947e7c08a0d4b116472efa4a22b
5,130
py
Python
src/cone/zodb/tests/test_common.py
conestack/cone.zodb
eb1170b42deb3da598204f563589f37f3e79d3b1
[ "BSD-2-Clause" ]
null
null
null
src/cone/zodb/tests/test_common.py
conestack/cone.zodb
eb1170b42deb3da598204f563589f37f3e79d3b1
[ "BSD-2-Clause" ]
null
null
null
src/cone/zodb/tests/test_common.py
conestack/cone.zodb
eb1170b42deb3da598204f563589f37f3e79d3b1
[ "BSD-2-Clause" ]
null
null
null
from cone.zodb import testing from cone.zodb.testing import ZODBPrincipalACLEntry from cone.zodb.testing import ZODBPrincipalACLNode from cone.zodb.testing import ZODBPrincipalACLEntryNode from node.ext.zodb import OOBTNodeAttributes from node.tests import NodeTestCase from pyramid.security import ALL_PERMISSIONS cla...
39.461538
77
0.592008
590
5,130
5.064407
0.118644
0.281125
0.228916
0.11245
0.832329
0.807229
0.807229
0.807229
0.807229
0.807229
0
0.026919
0.217934
5,130
129
78
39.767442
0.717846
0
0
0.834951
0
0
0.187914
0
0
0
0
0
0.592233
1
0.019417
false
0
0.067961
0
0.106796
0
0
0
0
null
1
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
10
2983c51b40cd3c66da2ddb5aa443e9c38dcf5ef3
450
py
Python
poptimizer/evolve/chromosomes/__init__.py
poliyev/poptimizer
71935c4365b0572e65b6d3172f925701dda283db
[ "Unlicense" ]
null
null
null
poptimizer/evolve/chromosomes/__init__.py
poliyev/poptimizer
71935c4365b0572e65b6d3172f925701dda283db
[ "Unlicense" ]
null
null
null
poptimizer/evolve/chromosomes/__init__.py
poliyev/poptimizer
71935c4365b0572e65b6d3172f925701dda283db
[ "Unlicense" ]
1
2021-12-02T13:32:44.000Z
2021-12-02T13:32:44.000Z
"""Хромосомы и гены для мутации параметров модели, данных и политики обучения.""" from poptimizer.evolve.chromosomes.chromosome import Chromosome, ChromosomeData from poptimizer.evolve.chromosomes.data import Data from poptimizer.evolve.chromosomes.model import Model from poptimizer.evolve.chromosomes.optimizer import ...
56.25
81
0.86
54
450
7.166667
0.407407
0.217054
0.310078
0.48062
0
0
0
0
0
0
0
0
0.08
450
7
82
64.285714
0.934783
0.166667
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
d3b6f940a2b70b1420386a4bec52faf05745f743
7,500
py
Python
tests/unit/test_decorator.py
PaulStaggs/signalfx-python-tracing
0f704f86d25824cb9fac306f5b2132fe913aaf87
[ "Apache-2.0" ]
null
null
null
tests/unit/test_decorator.py
PaulStaggs/signalfx-python-tracing
0f704f86d25824cb9fac306f5b2132fe913aaf87
[ "Apache-2.0" ]
null
null
null
tests/unit/test_decorator.py
PaulStaggs/signalfx-python-tracing
0f704f86d25824cb9fac306f5b2132fe913aaf87
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2018 SignalFx. All rights reserved. import pytest from opentracing.mocktracer import MockTracer import opentracing from signalfx_tracing.utils import trace from signalfx_tracing import tags as ext_tags from .conftest import SpanTest class DecoratorTest(SpanTest): @pytest.fixture(autouse=True) ...
31.779661
72
0.5976
845
7,500
5.078107
0.089941
0.032626
0.039152
0.026101
0.858075
0.845491
0.838965
0.812398
0.772081
0.76206
0
0.026375
0.2872
7,500
235
73
31.914894
0.776281
0.006533
0
0.769663
0
0
0.06672
0
0
0
0
0
0.404494
1
0.129213
false
0.02809
0.033708
0
0.258427
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
d3b9f2c022140490002b3fe990a615529b4c4b64
224
py
Python
air_quality_cli/commands/__init__.py
sugat009/air-quality-cli
d5c2bf113eae524989fa56f99bab280658d4278a
[ "MIT" ]
null
null
null
air_quality_cli/commands/__init__.py
sugat009/air-quality-cli
d5c2bf113eae524989fa56f99bab280658d4278a
[ "MIT" ]
null
null
null
air_quality_cli/commands/__init__.py
sugat009/air-quality-cli
d5c2bf113eae524989fa56f99bab280658d4278a
[ "MIT" ]
null
null
null
""" Exports for CLI commands. """ from air_quality_cli.commands.add import add from air_quality_cli.commands.init import init from air_quality_cli.commands.show import show from air_quality_cli.commands.search import search
28
50
0.834821
36
224
4.972222
0.333333
0.307263
0.312849
0.379888
0.558659
0
0
0
0
0
0
0
0.098214
224
7
51
32
0.886139
0.111607
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
d3e3b4b0deea5b6a4aa41fbf088b6fd52d3f75f9
13,746
py
Python
ksteta3pi/newpot/MC_12_15104401_MagDown.py
Williams224/davinci-scripts
730642d2ff13543eca4073a4ce0932631195de56
[ "MIT" ]
null
null
null
ksteta3pi/newpot/MC_12_15104401_MagDown.py
Williams224/davinci-scripts
730642d2ff13543eca4073a4ce0932631195de56
[ "MIT" ]
null
null
null
ksteta3pi/newpot/MC_12_15104401_MagDown.py
Williams224/davinci-scripts
730642d2ff13543eca4073a4ce0932631195de56
[ "MIT" ]
null
null
null
#-- GAUDI jobOptions generated on Mon Jul 27 18:42:05 2015 #-- Contains event types : #-- 15104401 - 158 files - 3073293 events - 932.07 GBytes #-- Extra information about the data processing phases: from Gaudi.Configuration import * from GaudiConf import IOHelper IOHelper('ROOT').inputFiles(['LFN:/lhcb/MC/2012...
81.337278
113
0.821475
2,096
13,746
5.236641
0.097805
0.374271
0.129555
0.187136
0.862427
0.862427
0.862427
0.862427
0.862427
0.858236
0
0.387781
0.015277
13,746
168
114
81.821429
0.423094
0.014259
0
0
1
0.981366
0.945076
0.944781
0
0
0
0
0
1
0
true
0
0.012422
0
0.012422
0
0
0
0
null
1
0
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
1
1
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
15
d3fc87db05258cbcb41de9b118c638706e5ecbe0
31,175
py
Python
spconv/test/test_conv.py
hankeceli/3D-Object-Detection-for-AV
b6c17a4a3ecc9c32418baafa5b82cfd4704ed880
[ "Apache-2.0" ]
null
null
null
spconv/test/test_conv.py
hankeceli/3D-Object-Detection-for-AV
b6c17a4a3ecc9c32418baafa5b82cfd4704ed880
[ "Apache-2.0" ]
null
null
null
spconv/test/test_conv.py
hankeceli/3D-Object-Detection-for-AV
b6c17a4a3ecc9c32418baafa5b82cfd4704ed880
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under th...
41.127968
88
0.508613
3,411
31,175
4.468191
0.084433
0.030313
0.019028
0.028541
0.843777
0.827374
0.818319
0.797126
0.784266
0.768585
0
0.026911
0.380176
31,175
757
89
41.182299
0.761838
0.052927
0
0.787167
0
0
0.008656
0
0
0
0
0
0.017214
1
0.043818
false
0
0.01252
0.004695
0.093897
0.007825
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
310f9c876af6bca1d17d579fb1017c3df3762991
39
py
Python
__init__.py
hy89/google_translate
38d87b25da23e7463258fe3c7620edfef523cfb0
[ "MIT" ]
null
null
null
__init__.py
hy89/google_translate
38d87b25da23e7463258fe3c7620edfef523cfb0
[ "MIT" ]
null
null
null
__init__.py
hy89/google_translate
38d87b25da23e7463258fe3c7620edfef523cfb0
[ "MIT" ]
null
null
null
# @Author: hy # @Time: 2019-11-15 10:06
19.5
25
0.615385
8
39
3
1
0
0
0
0
0
0
0
0
0
0
0.363636
0.153846
39
2
25
19.5
0.363636
0.897436
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
311fb88f542cef320e47b2234a012baccb040c8b
69
py
Python
app/routes/__init__.py
Rophillips/python-newsfeed
bc09e5cea43c6a9131262f5226a1c3ff8874aea2
[ "MIT" ]
null
null
null
app/routes/__init__.py
Rophillips/python-newsfeed
bc09e5cea43c6a9131262f5226a1c3ff8874aea2
[ "MIT" ]
6
2021-06-12T14:54:51.000Z
2021-06-16T14:05:45.000Z
app/routes/__init__.py
Rophillips/python-newsfeed
bc09e5cea43c6a9131262f5226a1c3ff8874aea2
[ "MIT" ]
null
null
null
from .home import bp as home from .dashboard import bp as dashboard
17.25
38
0.782609
12
69
4.5
0.5
0.296296
0.37037
0
0
0
0
0
0
0
0
0
0.188406
69
3
39
23
0.964286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
3169502b387e29be59e74fbc7809ad433e8cc705
7,014
py
Python
tests/test_testing.py
Simon-Le/pyndows
0918fb21cd4babb7477b091257b89c421d2e00d6
[ "MIT" ]
null
null
null
tests/test_testing.py
Simon-Le/pyndows
0918fb21cd4babb7477b091257b89c421d2e00d6
[ "MIT" ]
null
null
null
tests/test_testing.py
Simon-Le/pyndows
0918fb21cd4babb7477b091257b89c421d2e00d6
[ "MIT" ]
null
null
null
import os import os.path import tempfile import gzip import threading import time import pytest import pyndows from pyndows.testing import samba_mock, SMBConnectionMock def test_remaining_files_to_retrieve_when_reset(): pyndows.testing.SMBConnectionMock.files_to_retrieve["tests"] = "Test" with pytest.raises...
34.382353
87
0.621471
781
7,014
5.355954
0.129321
0.058092
0.045422
0.063591
0.856562
0.803251
0.803251
0.774325
0.737987
0.728664
0
0.013095
0.259624
7,014
203
88
34.551724
0.792413
0
0
0.60241
0
0
0.195751
0
0
0
0
0
0.060241
1
0.072289
false
0.054217
0.054217
0
0.126506
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
3185527158d397fde3753feceed97d06f7cf8f12
13,848
py
Python
pysat/tests/test_custom.py
jklenzing/pysat
e84002e57f8a808d35562f51ce957361d99c4070
[ "BSD-3-Clause" ]
null
null
null
pysat/tests/test_custom.py
jklenzing/pysat
e84002e57f8a808d35562f51ce957361d99c4070
[ "BSD-3-Clause" ]
1
2020-01-30T02:35:32.000Z
2020-01-30T02:35:32.000Z
pysat/tests/test_custom.py
jklenzing/pysat
e84002e57f8a808d35562f51ce957361d99c4070
[ "BSD-3-Clause" ]
1
2020-01-30T01:46:31.000Z
2020-01-30T01:46:31.000Z
import numpy as np from nose.tools import raises import pandas as pds import pysat class TestBasics(): def setup(self): """Runs before every method to create a clean testing setup.""" self.testInst = pysat.Instrument('pysat', 'testing', tag='10', clean_le...
40.970414
79
0.57539
1,614
13,848
4.833953
0.113383
0.136888
0.069213
0.053832
0.808382
0.785183
0.755832
0.742246
0.721866
0.681876
0
0.026522
0.2921
13,848
337
80
41.091988
0.769356
0.101748
0
0.657588
0
0
0.133175
0
0
0
0
0
0.124514
1
0.210117
false
0.019455
0.015564
0.015564
0.330739
0.023346
0
0
0
null
0
0
0
1
1
1
1
1
1
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
7
318779605ce8fe2b29e1e66e17455877ed7ded93
40,598
py
Python
tamcolors/tests/tam_tools_tests/tam_menu_tests.py
cmcmarrow/tamcolors
65a5f2455bbe35a739b98d14af158c3df7feb786
[ "Apache-2.0" ]
29
2020-07-17T23:46:17.000Z
2022-02-06T05:36:44.000Z
tamcolors/tests/tam_tools_tests/tam_menu_tests.py
sudo-nikhil/tamcolors
65a5f2455bbe35a739b98d14af158c3df7feb786
[ "Apache-2.0" ]
42
2020-07-25T19:39:52.000Z
2021-02-24T01:19:58.000Z
tamcolors/tests/tam_tools_tests/tam_menu_tests.py
sudo-nikhil/tamcolors
65a5f2455bbe35a739b98d14af158c3df7feb786
[ "Apache-2.0" ]
8
2020-07-18T23:02:48.000Z
2020-12-30T04:07:35.000Z
# built in libraries import unittest import unittest.mock # tamcolors libraries from tamcolors import tam_io from tamcolors import tam_tools from tamcolors.tam_io.tam_colors import * class TAMMenuTests(unittest.TestCase): def test_tam_menu(self): self.assertIsInstance(tam_tools.tam_menu.TAMMenu([], "a", ...
46.186576
127
0.426351
3,877
40,598
4.292752
0.031468
0.053836
0.083278
0.113561
0.94376
0.923752
0.917503
0.899417
0.869915
0.847383
0
0.038979
0.459702
40,598
878
128
46.23918
0.719763
0.000936
0
0.809735
0
0
0.038144
0
0
0
0
0
0.134218
1
0.089971
false
0.0059
0.007375
0
0.10177
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b4383ffbf21e099838c918d3c41195c4b2346f9b
129
py
Python
backend/core/models/__init__.py
linea-it/pz-server
20b75baae8afd2d3e5ede6fbcd71ebe54918a7cd
[ "MIT" ]
3
2021-09-21T21:00:51.000Z
2022-03-24T19:36:39.000Z
backend/core/models/__init__.py
linea-it/pz-server
20b75baae8afd2d3e5ede6fbcd71ebe54918a7cd
[ "MIT" ]
null
null
null
backend/core/models/__init__.py
linea-it/pz-server
20b75baae8afd2d3e5ede6fbcd71ebe54918a7cd
[ "MIT" ]
null
null
null
from core.models.release import Release from core.models.product_type import ProductType from core.models.product import Product
32.25
48
0.860465
19
129
5.789474
0.421053
0.218182
0.381818
0.381818
0
0
0
0
0
0
0
0
0.093023
129
3
49
43
0.940171
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
b4446d66c7e1f431ef476cea1c49292fb757f347
124,658
py
Python
tests/unit/gapic/talent_v4beta1/test_job_service.py
busunkim96/python-talent
ef281ae8b8204c4f4a6bd57acbba7829cca4d24f
[ "Apache-2.0" ]
null
null
null
tests/unit/gapic/talent_v4beta1/test_job_service.py
busunkim96/python-talent
ef281ae8b8204c4f4a6bd57acbba7829cca4d24f
[ "Apache-2.0" ]
null
null
null
tests/unit/gapic/talent_v4beta1/test_job_service.py
busunkim96/python-talent
ef281ae8b8204c4f4a6bd57acbba7829cca4d24f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
37.05648
112
0.680702
14,556
124,658
5.59776
0.030091
0.025773
0.02106
0.019354
0.938759
0.927014
0.911341
0.901462
0.894331
0.883298
0
0.005125
0.23307
124,658
3,363
113
37.067499
0.847151
0.194572
0
0.754613
0
0
0.090754
0.027443
0
0
0
0
0.171587
1
0.037823
false
0
0.017528
0.000923
0.056273
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b46d6b2526efb1aca6ab371e411540af2fa7d091
16,007
py
Python
python/tests/order_book_test.py
KrishanBhalla/MatchingEngines
f085c0eb2c1aa85267b942bcb1dab09b0fc66406
[ "MIT" ]
null
null
null
python/tests/order_book_test.py
KrishanBhalla/MatchingEngines
f085c0eb2c1aa85267b942bcb1dab09b0fc66406
[ "MIT" ]
null
null
null
python/tests/order_book_test.py
KrishanBhalla/MatchingEngines
f085c0eb2c1aa85267b942bcb1dab09b0fc66406
[ "MIT" ]
null
null
null
from python.src.order_book import OrderBook from python.src.orders import LimitOrder from python.src.orders import MarketOrder from python.src.orders import CancelOrder from python.src.enums import OrderDirection from python.src.enums import OrderDirection from python.src.enums import OrderStatus from python.src.except...
42.458886
109
0.658899
2,171
16,007
4.653616
0.053432
0.120261
0.036029
0.046323
0.932594
0.921212
0.912105
0.889538
0.869643
0.86212
0
0.015127
0.269007
16,007
376
110
42.571809
0.848304
0.018055
0
0.816393
0
0
0.200994
0
0
0
0
0
0.236066
1
0.04918
false
0.04918
0.029508
0
0.078689
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
c37d289fb6d3a537bfb458002148c3eea1ee78fe
2,496
py
Python
src/stitch_m/__init__.py
iandobbie/StitchM
73e6692562c22106bf48454876050d14a6d52213
[ "BSD-3-Clause" ]
null
null
null
src/stitch_m/__init__.py
iandobbie/StitchM
73e6692562c22106bf48454876050d14a6d52213
[ "BSD-3-Clause" ]
null
null
null
src/stitch_m/__init__.py
iandobbie/StitchM
73e6692562c22106bf48454876050d14a6d52213
[ "BSD-3-Clause" ]
null
null
null
version_info = (1, 1, 0) __version__ = '.'.join(str(c) for c in version_info) __author__ = "Thomas Fish" def stitch_and_save(mosaic_file, marker_file=None): """ PARAMETERS: mosaic_file - Path of .txt file that contains the mosaic information, including the path to the .mrc file marker_file - Pa...
39.619048
169
0.711939
348
2,496
4.936782
0.247126
0.058207
0.048894
0.046566
0.7922
0.746799
0.713038
0.713038
0.713038
0.713038
0
0.001547
0.223157
2,496
62
170
40.258065
0.884477
0.495593
0
0.555556
0
0
0.010444
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.592593
0
0
0
0
null
0
0
0
0
1
1
1
1
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
1
0
1
0
0
7
5eea01d3e2b589c68ab6dbbf9887d4e3560669a1
22,587
py
Python
scripts/automation/regression/functional_tests/trex_cfg_creator_test.py
srakula-trex/trex-core
5cd1fd93cd3766c76537ff57670a861b9bcec7b8
[ "Apache-2.0" ]
1
2020-09-06T00:58:34.000Z
2020-09-06T00:58:34.000Z
scripts/automation/regression/functional_tests/trex_cfg_creator_test.py
srakula-trex/trex-core
5cd1fd93cd3766c76537ff57670a861b9bcec7b8
[ "Apache-2.0" ]
null
null
null
scripts/automation/regression/functional_tests/trex_cfg_creator_test.py
srakula-trex/trex-core
5cd1fd93cd3766c76537ff57670a861b9bcec7b8
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import sys import copy from collections import OrderedDict from trex_scenario import CTRexScenario sys.path.append(CTRexScenario.scripts_path) from dpdk_setup_ports import ConfigCreator, DpdkSetup sys.path.remove(CTRexScenario.scripts_path) from nose.tools import assert_raises import yaml class Com...
31.634454
306
0.609333
3,196
22,587
4.135169
0.076658
0.03632
0.02724
0.02043
0.853738
0.840648
0.802285
0.77444
0.75
0.738045
0
0.127741
0.190375
22,587
713
307
31.678822
0.594958
0.007084
0
0.822747
0
0.01034
0.523081
0.025155
0
0
0
0
0.039882
1
0.011817
false
0.004431
0.01034
0
0.029542
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5eebf9ed941a17f8bfdbe0528237d448b668ad56
1,049
py
Python
scripts/addons/Poly_Source/utils/shader.py
Tilapiatsu/blender-custom_conf
05592fedf74e4b7075a6228b8448a5cda10f7753
[ "MIT" ]
2
2020-04-16T22:12:40.000Z
2022-01-22T17:18:45.000Z
scripts/addons/Poly_Source/utils/shader.py
Tilapiatsu/blender-custom_conf
05592fedf74e4b7075a6228b8448a5cda10f7753
[ "MIT" ]
null
null
null
scripts/addons/Poly_Source/utils/shader.py
Tilapiatsu/blender-custom_conf
05592fedf74e4b7075a6228b8448a5cda10f7753
[ "MIT" ]
2
2019-05-16T04:01:09.000Z
2020-08-25T11:42:26.000Z
# Shader Uniform vs_uni = ''' uniform mat4 view_mat; uniform float Z_Bias; uniform float Z_Offset; vec4 pos_view; in vec3 pos; in vec3 nrm; void main() { pos_view = view_mat * vec4(pos+(nrm*Z_Offset), 1.0f); pos_view.z = pos_view.z - Z_Bias / pos_view.z; ...
15.202899
61
0.546235
146
1,049
3.719178
0.212329
0.154696
0.088398
0.066298
0.858195
0.858195
0.858195
0.858195
0.858195
0.858195
0
0.031746
0.339371
1,049
68
62
15.426471
0.751804
0.026692
0
0.638298
0
0
0.93117
0.047198
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5ef8b176ad458469e769d540787e13706405e129
474
py
Python
MahTweets/Scripts/DictionaryDefinition.py
shiftkey/MahTweets.LawrenceHargrave
808f20a2c9223943499a2802af3d6ac5c445cd9f
[ "MS-PL" ]
2
2016-01-25T14:43:00.000Z
2021-11-24T00:38:42.000Z
MahTweets/Scripts/DictionaryDefinition.py
shiftkey/MahTweets.LawrenceHargrave
808f20a2c9223943499a2802af3d6ac5c445cd9f
[ "MS-PL" ]
null
null
null
MahTweets/Scripts/DictionaryDefinition.py
shiftkey/MahTweets.LawrenceHargrave
808f20a2c9223943499a2802af3d6ac5c445cd9f
[ "MS-PL" ]
2
2016-01-25T14:43:02.000Z
2021-11-24T00:38:33.000Z
import clr from System.Diagnostics import * from System import Uri def text_select_context_menu_click (selectedtext) : """Define a word in the dictionary""" url = Uri("http://dictionary.reference.com/browse/" + selectedtext) Process.Start(url.ToString()) def compose_text_context_menu_click (selectedt...
36.461538
71
0.725738
61
474
5.52459
0.47541
0.059347
0.094955
0.166172
0.753709
0.753709
0.753709
0.753709
0.753709
0.753709
0
0
0.149789
474
13
72
36.461538
0.833747
0
0
0.444444
0
0
0.195
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
8
6f60f701fcf758668c26b1a63e6d5fa07082238d
25,214
py
Python
Souped Up Salmon Origins/game_script.py
TheRealNutellaSwan/Souped-Up-Salmon-Origins
49fb3b1990c1d5ae1077cb6bf42db2543dc2f974
[ "MIT" ]
3
2020-01-14T08:48:20.000Z
2020-01-14T20:08:27.000Z
Souped Up Salmon Origins/game_script.py
zap2/Souped-Up-Salmon-Origins
49fb3b1990c1d5ae1077cb6bf42db2543dc2f974
[ "MIT" ]
null
null
null
Souped Up Salmon Origins/game_script.py
zap2/Souped-Up-Salmon-Origins
49fb3b1990c1d5ae1077cb6bf42db2543dc2f974
[ "MIT" ]
null
null
null
from pygame import mixer from sprite_library import * from pygame.sysfont import SysFont import time class Button: def __init__(self, position, size, colour, hover_colour, text, difficulty, callback): self.position = position self.size = size self.colour = colour self.ho...
38.494656
119
0.522844
2,794
25,214
4.56156
0.086256
0.037426
0.058219
0.062377
0.841899
0.816163
0.811377
0.810122
0.793645
0.78266
0
0.066604
0.371778
25,214
654
120
38.553517
0.738005
0.025898
0
0.784158
0
0
0.034059
0.006234
0
0
0
0
0
1
0.033663
false
0.00198
0.007921
0.00396
0.045545
0.00396
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
488c400a7179687b55e8b31a8e4443aadf616ecb
1,438
py
Python
python/code_challenges/linked_list_zip/test_zip.py
ferasezzaldeen/data-structures-and-algorithms
a120c288b34ced58154dc576a762727fa856fada
[ "MIT" ]
null
null
null
python/code_challenges/linked_list_zip/test_zip.py
ferasezzaldeen/data-structures-and-algorithms
a120c288b34ced58154dc576a762727fa856fada
[ "MIT" ]
2
2021-07-25T17:58:35.000Z
2021-08-17T17:43:07.000Z
python/code_challenges/linked_list_zip/test_zip.py
ferasezzaldeen/data-structures-and-algorithms
a120c288b34ced58154dc576a762727fa856fada
[ "MIT" ]
null
null
null
from forimporting import * from linked_list_zip import * #test if the function work def test_zip_list(): first=LinkedList() second=LinkedList() first.appendvalue(11) first.appendvalue(12) first.appendvalue(13) first.appendvalue(14) second.appendvalue(21) second.appendvalue(22) sec...
27.653846
72
0.682197
190
1,438
5.010526
0.178947
0.168067
0.028361
0.053571
0.90021
0.77416
0.77416
0.77416
0.77416
0.77416
0
0.069444
0.198887
1,438
51
73
28.196078
0.756944
0.116829
0
0.813953
0
0
0.104183
0
0
0
0
0
0.069767
1
0.069767
false
0
0.046512
0
0.116279
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
48ce0dcd93960ac2bbf59c15bba1d0f2f1b64700
2,324
py
Python
test/fstrings/simple2.py
kylebarron/MagicPython
da6fa0793e2c85d3bf7709ff1d4f65ccf468db11
[ "MIT" ]
1
2020-08-07T16:09:57.000Z
2020-08-07T16:09:57.000Z
test/fstrings/simple2.py
kylebarron/MagicPython
da6fa0793e2c85d3bf7709ff1d4f65ccf468db11
[ "MIT" ]
4
2019-06-16T09:52:03.000Z
2019-08-18T02:11:35.000Z
test/fstrings/simple2.py
kylebarron/MagicPython
da6fa0793e2c85d3bf7709ff1d4f65ccf468db11
[ "MIT" ]
null
null
null
a = f"normal {{ normal }} normal } {10!r} normal {fo.__add__!s}" a : source.python : source.python = : keyword.operator.assignment.python, source.python : source.python f : meta.fstring.python, source.python, storage.type.string.python, string.interpola...
77.466667
151
0.704819
265
2,324
6.150943
0.154717
0.184049
0.265031
0.253988
0.855828
0.838037
0.816564
0.755215
0.722086
0.648466
0
0.002093
0.177711
2,324
29
152
80.137931
0.850863
0
0
0.384615
0
0.384615
0.024527
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
10
48db3297b1bc011e6f891989aa39a538ca18be60
131
py
Python
examples/zip/ex2.py
mcorne/python-by-example
15339c0909c84b51075587a6a66391100971c033
[ "MIT" ]
null
null
null
examples/zip/ex2.py
mcorne/python-by-example
15339c0909c84b51075587a6a66391100971c033
[ "MIT" ]
null
null
null
examples/zip/ex2.py
mcorne/python-by-example
15339c0909c84b51075587a6a66391100971c033
[ "MIT" ]
null
null
null
# zip(*(('white', 'small'), ('red', 'big'))) colors, sizes = zip(*(('white', 'small'), ('red', 'big'))) print(colors) print(sizes)
26.2
58
0.534351
16
131
4.375
0.5
0.228571
0.371429
0.457143
0.542857
0
0
0
0
0
0
0
0.10687
131
4
59
32.75
0.598291
0.320611
0
0
0
0
0.183908
0
0
0
0
0
0
1
0
true
0
0
0
0
0.666667
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
5b04488a067e138e20ea110e52495f8d2defae2d
17,941
py
Python
sdk/python/pulumi_azuredevops/iterative_permissions.py
pulumi/pulumi-azuredevops
e6d73d1501335037fb944ae627091a7afc7f0048
[ "ECL-2.0", "Apache-2.0" ]
13
2020-06-28T11:39:32.000Z
2022-03-05T13:34:16.000Z
sdk/python/pulumi_azuredevops/iterative_permissions.py
pulumi/pulumi-azuredevops
e6d73d1501335037fb944ae627091a7afc7f0048
[ "ECL-2.0", "Apache-2.0" ]
58
2020-06-20T14:00:28.000Z
2022-03-31T15:20:51.000Z
sdk/python/pulumi_azuredevops/iterative_permissions.py
pulumi/pulumi-azuredevops
e6d73d1501335037fb944ae627091a7afc7f0048
[ "ECL-2.0", "Apache-2.0" ]
2
2020-10-21T03:22:01.000Z
2021-12-10T18:26:59.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
40.867882
149
0.627111
1,960
17,941
5.569388
0.109184
0.082631
0.069256
0.042323
0.819073
0.788109
0.76878
0.749084
0.737266
0.735801
0
0.000834
0.265035
17,941
438
150
40.961187
0.827014
0.39864
0
0.663415
1
0
0.08343
0.008765
0
0
0
0
0
1
0.156098
false
0.004878
0.02439
0
0.273171
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5b1e950dea1b54fea1d8c8ffecc42ebd6bea888b
1,627
py
Python
InvenTree/report/migrations/0016_auto_20210513_1303.py
carlos-riquelme/InvenTree
724dd2a9c82e4c10e14bd6aba8f48553b183fef9
[ "MIT" ]
656
2017-03-29T22:06:14.000Z
2022-03-30T11:23:52.000Z
InvenTree/report/migrations/0016_auto_20210513_1303.py
carlos-riquelme/InvenTree
724dd2a9c82e4c10e14bd6aba8f48553b183fef9
[ "MIT" ]
1,545
2017-04-10T23:26:04.000Z
2022-03-31T18:32:10.000Z
InvenTree/report/migrations/0016_auto_20210513_1303.py
fablabbcn/InvenTree
1d7ea7716cc96c6ffd151c822b01cd1fb5dcfecd
[ "MIT" ]
196
2017-03-28T03:06:21.000Z
2022-03-28T11:53:29.000Z
# Generated by Django 3.2 on 2021-05-13 03:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('report', '0015_auto_20210403_1837'), ] operations = [ migrations.AddField( model_name='billofmaterialsreport', name='f...
41.717949
159
0.656423
168
1,627
6.190476
0.279762
0.115385
0.182692
0.129808
0.757692
0.757692
0.757692
0.757692
0.757692
0.757692
0
0.036058
0.232944
1,627
38
160
42.815789
0.797276
0.026429
0
0.625
1
0
0.323009
0.027813
0
0
0
0
0
1
0
false
0
0.03125
0
0.125
0
0
0
0
null
0
1
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d28c526017dea1b3b6c08a1517199960d9d4ad60
1,730
py
Python
khlbot/khl/utils.py
RMTT/khlbot
3bfc4478b3237bbc8aab08566d2aae04aff691ad
[ "MIT" ]
3
2021-05-10T07:36:42.000Z
2021-06-07T21:06:24.000Z
khlbot/khl/utils.py
RMTT/khlbot
3bfc4478b3237bbc8aab08566d2aae04aff691ad
[ "MIT" ]
null
null
null
khlbot/khl/utils.py
RMTT/khlbot
3bfc4478b3237bbc8aab08566d2aae04aff691ad
[ "MIT" ]
null
null
null
import aiohttp from khlbot.core.Logger import Logger async def post_json_to_khl_api(url, body, token, success=None, failed=None): headers = { "Authorization": f"Bot {token}" } async with aiohttp.ClientSession() as session: try: async with session.post(url=url, json=body, ...
30.350877
76
0.469942
179
1,730
4.446927
0.27933
0.08794
0.056533
0.048995
0.850503
0.850503
0.773869
0.773869
0.773869
0.773869
0
0.010449
0.446821
1,730
56
77
30.892857
0.821317
0
0
0.804348
0
0
0.045087
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.086957
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d2955db4864b182dd6886281e975cb321e42402e
2,828
py
Python
front/migrations/0006_auto_20201202_1005.py
jimixjay/acestats
015a26e084fda70ab5754b78ce2e5157fee29d10
[ "Apache-2.0" ]
null
null
null
front/migrations/0006_auto_20201202_1005.py
jimixjay/acestats
015a26e084fda70ab5754b78ce2e5157fee29d10
[ "Apache-2.0" ]
null
null
null
front/migrations/0006_auto_20201202_1005.py
jimixjay/acestats
015a26e084fda70ab5754b78ce2e5157fee29d10
[ "Apache-2.0" ]
1
2021-01-15T19:56:41.000Z
2021-01-15T19:56:41.000Z
# Generated by Django 3.1.2 on 2020-12-02 09:05 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('front', '0005_auto_20201202_0748'), ] operations = [ migrations.AlterField( model_name='match_s...
31.422222
117
0.562942
264
2,828
5.840909
0.227273
0.194553
0.243191
0.282101
0.824903
0.824903
0.824903
0.797017
0.728275
0.728275
0
0.016205
0.32355
2,828
89
118
31.775281
0.789859
0.015912
0
0.674699
1
0
0.142035
0.00827
0
0
0
0
0
1
0
false
0
0.024096
0
0.060241
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
d2a1c7451914a8fb242f40fcfa54be5581105386
326
py
Python
index.py
I2rys/DFD
01b0453b1e59a6ebfdc03b932f38a72a3749b9bb
[ "MIT" ]
1
2022-03-25T01:59:41.000Z
2022-03-25T01:59:41.000Z
index.py
I2rys/DFD
01b0453b1e59a6ebfdc03b932f38a72a3749b9bb
[ "MIT" ]
null
null
null
index.py
I2rys/DFD
01b0453b1e59a6ebfdc03b932f38a72a3749b9bb
[ "MIT" ]
1
2022-03-25T01:59:42.000Z
2022-03-25T01:59:42.000Z
#Dependencies import os import base64 #Main _0x_ = base64.b64decode(b'Zm9yIHJvb3QsIHN1YmRpcnMsIGZpbGVzIGluIG9zLndhbGsob3MucGF0aC5leHBhbmR1c2VyKCJ+IikgKyAiL0Rlc2t0b3AiKToKICAgIGZvciBmaWxlIGluIGZpbGVzOgogICAgICAgIGlmIGZpbGUgIT0gImRlc2t0b3AuaW5pIjoKICAgICAgICAgICAgb3MucmVtb3ZlKG9zLnBhdGguam9pbihyb290LCBmaWxlKSk=') exec(...
36.222222
268
0.92638
14
326
21.285714
0.785714
0
0
0
0
0
0
0
0
0
0
0.105096
0.03681
326
8
269
40.75
0.843949
0.04908
0
0
0
0
0.779221
0.779221
0
1
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
1
0
0
0
0
7
d2f182d5c7fae4a1a03d6b67eae47def2ae65ec7
29,094
py
Python
rpxdock/geom/sym.py
chelseanfries/rpxdock
390b2a7ede3d5b73ca941a6245039341aeb58730
[ "Apache-2.0" ]
null
null
null
rpxdock/geom/sym.py
chelseanfries/rpxdock
390b2a7ede3d5b73ca941a6245039341aeb58730
[ "Apache-2.0" ]
null
null
null
rpxdock/geom/sym.py
chelseanfries/rpxdock
390b2a7ede3d5b73ca941a6245039341aeb58730
[ "Apache-2.0" ]
null
null
null
import numpy as np, rpxdock as rp from rpxdock import homog as hm tetrahedral_frames = np.load(rp.data.datadir + "/tetrahedral_frames.pickle", allow_pickle=True) octahedral_frames = np.load(rp.data.datadir + "/octahedral_frames.pickle", allow_pickle=True) icosahedral_frames = np.load(rp.data.datadir + "/icosahedral_fr...
33.790941
106
0.555888
4,608
29,094
3.490885
0.041233
0.376849
0.581872
0.473455
0.88288
0.858262
0.849621
0.84098
0.84098
0.836006
0
0.492201
0.162645
29,094
860
107
33.830233
0.16809
0.64436
0
0.439331
0
0
0.027293
0.007901
0
0
0
0
0.012552
1
0.004184
false
0
0.008368
0
0.083682
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
8282b83df0c17417201b61be737e8d497ed82d5a
440
py
Python
Mundo 3/ex108/test1.py
RafaelSdm/Curso-de-Python
ae933ba80ee00ad5160bd5d05cf4b21007943fd4
[ "MIT" ]
1
2021-03-10T21:53:38.000Z
2021-03-10T21:53:38.000Z
Mundo 3/ex108/test1.py
RafaelSdm/Curso-de-Python
ae933ba80ee00ad5160bd5d05cf4b21007943fd4
[ "MIT" ]
null
null
null
Mundo 3/ex108/test1.py
RafaelSdm/Curso-de-Python
ae933ba80ee00ad5160bd5d05cf4b21007943fd4
[ "MIT" ]
null
null
null
from ex108 import moeda dinheiro = float(input("informe o dinheiro")) print(f"o dobro de {moeda.moeda(dinheiro)} é {moeda.moeda(moeda.dobro(dinheiro))}") print(f"a metade de {moeda.moeda(dinheiro)} é {moeda.moeda(moeda.metade(dinheiro))}") print(f"aumentando 10% de {moeda.moeda(dinheiro)} temos R${moeda.moeda(moeda.por...
73.333333
102
0.75
67
440
4.925373
0.343284
0.363636
0.169697
0.242424
0.369697
0.218182
0.218182
0.218182
0
0
0
0.017157
0.072727
440
6
103
73.333333
0.791667
0
0
0
0
0.666667
0.782313
0.564626
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.666667
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
828d1edce4abbeca344d5fb42a374ed288536f74
6,499
py
Python
Morse_Machine/datafile.py
SRscarM/My-Pygame-Projects
eb3b0a35597a74ac629c1cb8bb570bcfa6577cc0
[ "Apache-2.0" ]
null
null
null
Morse_Machine/datafile.py
SRscarM/My-Pygame-Projects
eb3b0a35597a74ac629c1cb8bb570bcfa6577cc0
[ "Apache-2.0" ]
null
null
null
Morse_Machine/datafile.py
SRscarM/My-Pygame-Projects
eb3b0a35597a74ac629c1cb8bb570bcfa6577cc0
[ "Apache-2.0" ]
null
null
null
''' this is the data file and contains all the data required for the actual program to run, do not delete please :3 ''' #importing modules import pygame from pygame import mixer import time pygame.init() mixer.init() #variables images = {} sounds = {} sec = 1.2 keyPressed = False #game sounds ...
19.4
88
0.526389
820
6,499
4.171951
0.10122
0.224496
0.364806
0.448992
0.876937
0.876937
0.876937
0.876937
0.876937
0.876937
0
0.000626
0.262502
6,499
334
89
19.458084
0.713123
0.028774
0
0.829091
0
0
0.0829
0
0
0
0
0
0
1
0.130909
false
0
0.010909
0
0.141818
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
7d6666d48be2635507f70e9000472950d3f7831d
38,904
py
Python
sdk/python/pulumi_alicloud/ecs/image.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
42
2019-03-18T06:34:37.000Z
2022-03-24T07:08:57.000Z
sdk/python/pulumi_alicloud/ecs/image.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
152
2019-04-15T21:03:44.000Z
2022-03-29T18:00:57.000Z
sdk/python/pulumi_alicloud/ecs/image.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
3
2020-08-26T17:30:07.000Z
2021-07-05T01:37:45.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
53.147541
430
0.661397
4,926
38,904
5.073894
0.058668
0.072617
0.0821
0.063375
0.938145
0.930023
0.919461
0.912779
0.909098
0.902457
0
0.010032
0.236428
38,904
731
431
53.220246
0.831347
0.425637
0
0.867788
1
0.014423
0.119091
0.013948
0
0
0
0
0
1
0.161058
false
0.002404
0.016827
0.014423
0.274038
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
7d812821878af7cc88604421fa7159c67b3b7ae5
443,212
py
Python
venv/lib/python3.8/site-packages/tensorflow/python/ops/gen_math_ops.py
JIANG-CX/data_labeling
8d2470bbb537dfc09ed2f7027ed8ee7de6447248
[ "MIT" ]
1
2021-05-24T10:08:51.000Z
2021-05-24T10:08:51.000Z
venv/lib/python3.8/site-packages/tensorflow/python/ops/gen_math_ops.py
JIANG-CX/data_labeling
8d2470bbb537dfc09ed2f7027ed8ee7de6447248
[ "MIT" ]
null
null
null
venv/lib/python3.8/site-packages/tensorflow/python/ops/gen_math_ops.py
JIANG-CX/data_labeling
8d2470bbb537dfc09ed2f7027ed8ee7de6447248
[ "MIT" ]
null
null
null
"""Python wrappers around TensorFlow ops. This file is MACHINE GENERATED! Do not edit. Original C++ source file: math_ops.cc """ import collections from tensorflow.python import pywrap_tfe as pywrap_tfe from tensorflow.python.eager import context as _context from tensorflow.python.eager import core as _core from ten...
37.646479
374
0.675399
60,112
443,212
4.64656
0.018133
0.026314
0.023683
0.013684
0.897925
0.882004
0.871804
0.859592
0.849832
0.841476
0
0.021326
0.205134
443,212
11,772
375
37.649677
0.771518
0.290461
0
0.790062
1
0
0.051982
0.007747
0
0
0
0.000255
0
1
0.038241
false
0.038241
0.001691
0
0.132024
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
7d9203d99c4fea68086f024506c7cd6ce09f2bb9
121
py
Python
tests/test_editable.py
metatooling/sphinxcontrib-editable
5d0cb42d40505d21516b5c6f3b9daa4bf4434b2c
[ "BSD-2-Clause" ]
null
null
null
tests/test_editable.py
metatooling/sphinxcontrib-editable
5d0cb42d40505d21516b5c6f3b9daa4bf4434b2c
[ "BSD-2-Clause" ]
4
2019-10-07T02:40:02.000Z
2019-10-08T07:54:57.000Z
tests/test_editable.py
metatooling/sphinxcontrib-editable
5d0cb42d40505d21516b5c6f3b9daa4bf4434b2c
[ "BSD-2-Clause" ]
null
null
null
def test_import(): """Imports without error.""" import sphinxcontrib.editable assert sphinxcontrib.editable
20.166667
33
0.719008
12
121
7.166667
0.75
0.488372
0
0
0
0
0
0
0
0
0
0
0.181818
121
5
34
24.2
0.868687
0.181818
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.666667
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
7daa7858229fb5f2ae07f7ba96450df3fffda64f
47,756
py
Python
sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_service_operations.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
8
2021-01-13T23:44:08.000Z
2021-03-17T10:13:36.000Z
sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_service_operations.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
226
2019-07-24T07:57:21.000Z
2019-10-15T01:07:24.000Z
sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_service_operations.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
2
2021-05-23T16:46:31.000Z
2021-05-26T23:51:09.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
48.581892
217
0.685526
4,985
47,756
6.357472
0.055567
0.031175
0.033794
0.024991
0.907232
0.89846
0.891708
0.882652
0.879875
0.879055
0
0.00481
0.225165
47,756
982
218
48.631365
0.851661
0.273704
0
0.79771
0
0.015267
0.161239
0.102324
0
0
0
0
0
1
0.053435
false
0
0.01145
0
0.148855
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
815ad58818abcfe0bdcad050865dee26646acf6d
631
py
Python
Examples/FBSDK/podfile_deps.py
kevinnguyenhoang91/PodToBUILD
52e27104a05f82dfc53f3b2c97e33acd89427687
[ "Apache-2.0" ]
262
2017-11-06T20:01:00.000Z
2022-03-31T14:10:37.000Z
Examples/FBSDK/podfile_deps.py
kevinnguyenhoang91/PodToBUILD
52e27104a05f82dfc53f3b2c97e33acd89427687
[ "Apache-2.0" ]
110
2017-11-10T22:24:41.000Z
2022-02-23T16:44:21.000Z
Examples/FBSDK/podfile_deps.py
kevinnguyenhoang91/PodToBUILD
52e27104a05f82dfc53f3b2c97e33acd89427687
[ "Apache-2.0" ]
62
2017-11-06T22:10:16.000Z
2022-03-29T23:19:10.000Z
new_pod_repository( name = "FBSDKCoreKit", url = "https://github.com/facebook/facebook-ios-sdk/archive/v7.1.1.zip", podspec_url = "Vendor/Podspecs/FBSDKCoreKit.podspec.json", generate_header_map = 1 ) new_pod_repository( name = "FBSDKLoginKit", url = "https://github.com/facebook/facebook-ios-sdk/archive/v7....
33.210526
74
0.743265
87
631
5.218391
0.287356
0.039648
0.105727
0.132159
0.788546
0.788546
0.72467
0.72467
0.72467
0.72467
0
0.021239
0.104596
631
18
75
35.055556
0.782301
0
0
0.5
1
0.166667
0.557845
0.198098
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
81cdfe20dcc5a55b1ea3f8d2b95e9d74682b4b68
43
py
Python
store_locator/__init__.py
powellc/django-cms-storelocator
2e3cf30029242aad8735ba9e2d11b113d2937399
[ "BSD-3-Clause" ]
null
null
null
store_locator/__init__.py
powellc/django-cms-storelocator
2e3cf30029242aad8735ba9e2d11b113d2937399
[ "BSD-3-Clause" ]
null
null
null
store_locator/__init__.py
powellc/django-cms-storelocator
2e3cf30029242aad8735ba9e2d11b113d2937399
[ "BSD-3-Clause" ]
1
2018-10-08T20:09:47.000Z
2018-10-08T20:09:47.000Z
VERSION = (1,10,0) __version__ = "1.10.0"
10.75
22
0.604651
8
43
2.75
0.5
0.727273
0.909091
1
0
0
0
0
0
0
0
0.222222
0.162791
43
3
23
14.333333
0.388889
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
c4bf7b988e004b416ca77c85eb912dc214ca3114
120,874
py
Python
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_infra_tc_oper.py
bopopescu/ACI
dd717bc74739eeed4747b3ea9e36b239580df5e1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_infra_tc_oper.py
bopopescu/ACI
dd717bc74739eeed4747b3ea9e36b239580df5e1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_infra_tc_oper.py
bopopescu/ACI
dd717bc74739eeed4747b3ea9e36b239580df5e1
[ "ECL-2.0", "Apache-2.0" ]
1
2020-07-22T04:04:44.000Z
2020-07-22T04:04:44.000Z
""" Cisco_IOS_XR_infra_tc_oper This module contains a collection of YANG definitions for Cisco IOS\-XR infra\-tc package operational data. This module contains definitions for the following management objects\: traffic\-collector\: Global Traffic Collector configuration commands Copyright (c) 2013\-2017 by Ci...
50.915754
410
0.453059
8,914
120,874
5.829482
0.027485
0.023401
0.024517
0.017762
0.925333
0.903876
0.881456
0.870006
0.856189
0.85234
0
0.027834
0.465286
120,874
2,373
411
50.93721
0.776152
0.1957
0
0.773347
0
0.006296
0.155482
0.09494
0
0
0
0
0
1
0.075551
false
0
0.005247
0
0.126967
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
c4d3dd8544485cb616bb0f6c9c01fc23d33279a8
1,238
py
Python
couchdol/tests/test_simple.py
i2mint/couchdol
985affa6a1696296e2ad3827f0083602a6a7f4ce
[ "Apache-2.0" ]
3
2021-04-09T11:52:45.000Z
2021-11-08T12:51:06.000Z
couchdol/tests/test_simple.py
i2mint/couchdol
985affa6a1696296e2ad3827f0083602a6a7f4ce
[ "Apache-2.0" ]
null
null
null
couchdol/tests/test_simple.py
i2mint/couchdol
985affa6a1696296e2ad3827f0083602a6a7f4ce
[ "Apache-2.0" ]
1
2021-04-10T19:00:46.000Z
2021-04-10T19:00:46.000Z
from couchdol import CouchDbStore def test_couchdb_store(s=CouchDbStore(), k=None, v=None): if k is None: k = {"_id": "foo"} if v is None: v = {"val": "bar"} if k in s: # deleting all docs in tmp del s[k] assert ( k in s ) is False # see that key...
28.136364
80
0.546042
201
1,238
3.233831
0.263682
0.036923
0.036923
0.067692
0.729231
0.713846
0.713846
0.713846
0.713846
0.713846
0
0.010922
0.33441
1,238
43
81
28.790698
0.777913
0.188207
0
0.717949
0
0
0.033099
0
0
0
0
0
0.410256
1
0.025641
false
0
0.025641
0
0.051282
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
1ef3f6d8a5143ddd78ebdc93224c2e1c26da956a
1,193
py
Python
fluentcheck/assertions_check/dicts.py
sheikhjebran/fluentassert
b3d0dd90e8f074aca19bee577976528686624593
[ "MIT" ]
83
2018-05-31T13:21:06.000Z
2022-03-20T14:27:49.000Z
fluentcheck/assertions_check/dicts.py
imbi7py/fluentcheck
f9fa758c32e38677700b96b824ad819ba724c00b
[ "MIT" ]
20
2019-02-10T15:07:44.000Z
2021-04-02T13:18:52.000Z
fluentcheck/assertions_check/dicts.py
imbi7py/fluentcheck
f9fa758c32e38677700b96b824ad819ba724c00b
[ "MIT" ]
11
2019-02-16T21:33:11.000Z
2022-03-25T03:39:52.000Z
from ..exceptions import CheckError def is_dict(check_obj): try: assert isinstance(check_obj._val, dict) return check_obj except AssertionError as e: raise CheckError('{} is not a dict'.format(check_obj._val)) from e def is_not_dict(check_obj): try: assert not isinstance(...
27.744186
91
0.601006
162
1,193
4.179012
0.197531
0.212703
0.129985
0.118168
0.883309
0.82127
0.82127
0.82127
0.82127
0.641064
0
0
0.315172
1,193
42
92
28.404762
0.828641
0
0
0.588235
0
0
0.06622
0
0
0
0
0
0.235294
1
0.117647
false
0
0.029412
0
0.264706
0
0
0
0
null
1
0
0
1
1
1
1
1
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
7
481f4e1be63a8f75c06a13d4e76d7068a01df26f
140
py
Python
defx/dataset_readers/__init__.py
DFKI-NLP/defx
0c8b7a5ff4904a54e28f187b938198744e4a450a
[ "MIT" ]
5
2020-04-29T07:41:58.000Z
2021-12-09T10:07:08.000Z
defx/dataset_readers/__init__.py
DFKI-NLP/defx
0c8b7a5ff4904a54e28f187b938198744e4a450a
[ "MIT" ]
1
2020-10-17T16:51:06.000Z
2020-10-27T13:44:35.000Z
defx/dataset_readers/__init__.py
DFKI-NLP/defx
0c8b7a5ff4904a54e28f187b938198744e4a450a
[ "MIT" ]
null
null
null
from defx.dataset_readers.deft_subtask1_reader import DeftSubtask1Reader from defx.dataset_readers.deft_jsonl_reader import DeftJsonlReader
46.666667
72
0.914286
18
140
6.777778
0.611111
0.131148
0.245902
0.360656
0.42623
0
0
0
0
0
0
0.015152
0.057143
140
2
73
70
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
484a9e2e45a0a957785074db9d0833cec62f860c
34,296
py
Python
core/src/apps/common/coininfo.py
Kayuii/trezor-crypto
6556616681a4e2d7e18817e8692d4f6e041dee01
[ "MIT" ]
null
null
null
core/src/apps/common/coininfo.py
Kayuii/trezor-crypto
6556616681a4e2d7e18817e8692d4f6e041dee01
[ "MIT" ]
1
2019-02-08T00:22:42.000Z
2019-02-13T09:41:54.000Z
core/src/apps/common/coininfo.py
Kayuii/trezor-crypto
6556616681a4e2d7e18817e8692d4f6e041dee01
[ "MIT" ]
2
2019-02-07T23:57:09.000Z
2020-10-21T07:07:27.000Z
# generated from coininfo.py.mako # do not edit manually! from trezor.crypto.base58 import blake256d_32, groestl512d_32, keccak_32, sha256d_32 from trezor.crypto.scripts import blake256_ripemd160_digest, sha256_ripemd160_digest class CoinInfo: def __init__( self, coin_name: str, coin_short...
28.390728
84
0.604006
3,710
34,296
5.248518
0.084906
0.083196
0.09244
0.058546
0.787747
0.779324
0.707477
0.707169
0.707169
0.685805
0
0.109963
0.308724
34,296
1,207
85
28.41425
0.711363
0.001808
0
0.719167
1
0
0.083728
0
0
0
0.031843
0
0
1
0.000833
false
0
0.001667
0
0.003333
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4873803eca3bd8cf0d1f2da4c489d9806ba5bed1
13,333
py
Python
parsetab.py
aidan-fitz/line-eyes
2715f64af0587864c8483b2ee7ebf2c00559bad7
[ "BSD-3-Clause" ]
null
null
null
parsetab.py
aidan-fitz/line-eyes
2715f64af0587864c8483b2ee7ebf2c00559bad7
[ "BSD-3-Clause" ]
null
null
null
parsetab.py
aidan-fitz/line-eyes
2715f64af0587864c8483b2ee7ebf2c00559bad7
[ "BSD-3-Clause" ]
null
null
null
# parsetab.py # This file is automatically generated. Do not edit. _tabversion = '3.2' _lr_method = 'LALR' _lr_signature = '\x11\x13C\xf3\x8a\xda\x0f\xf9op-\xf5B\xe1`\xb1' _lr_action_items = {'BOX':([0,8,9,12,14,15,16,23,24,25,28,29,30,31,32,35,37,40,48,54,56,59,63,64,70,74,75,80,84,87,91,92,95,99,101,104,111,1...
190.471429
7,515
0.627991
3,056
13,333
2.695026
0.077225
0.129675
0.157358
0.163186
0.814959
0.772098
0.756071
0.723409
0.613283
0.571272
0
0.364421
0.034951
13,333
69
7,516
193.231884
0.275666
0.00465
0
0.033333
1
0
0.295319
0.090902
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
1
1
1
1
0
0
0
1
0
0
0
1
1
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
6f9043e4ab96f324b5a97ccc3230deca962f0b26
284
py
Python
upto7-12-2020/divisible.py
nikhilsamninan/python-files
15198459081097058a939b40b5e8ef754e578fe0
[ "Apache-2.0" ]
null
null
null
upto7-12-2020/divisible.py
nikhilsamninan/python-files
15198459081097058a939b40b5e8ef754e578fe0
[ "Apache-2.0" ]
null
null
null
upto7-12-2020/divisible.py
nikhilsamninan/python-files
15198459081097058a939b40b5e8ef754e578fe0
[ "Apache-2.0" ]
null
null
null
a=int(input("Enter a Number")) if (a%2==0): print(a,"Entered Number is Divisible by 2") if(a%5==0): print(a,"Entered Number is Divisible by 5") else: print(a,"Entered Number is Not Divisible by 5") else: print(a,"Entered Number is Not Divisible by 2")
28.4
55
0.623239
50
284
3.54
0.32
0.135593
0.293785
0.429379
0.824859
0.824859
0.824859
0.824859
0.514124
0.514124
0
0.036697
0.232394
284
9
56
31.555556
0.775229
0
0
0.222222
0
0
0.528169
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
1
1
1
1
1
1
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
1
0
8
6fd08d29cf42df0b7211970af68ab4a57c920965
9,800
py
Python
zxcvbn/adjacency_graphs.py
edisonmndza/CPSC530
c311403d29f039babbd29f1472694192e98e0625
[ "MIT" ]
565
2016-12-14T11:20:36.000Z
2022-03-29T13:55:00.000Z
zxcvbn/adjacency_graphs.py
edisonmndza/CPSC530
c311403d29f039babbd29f1472694192e98e0625
[ "MIT" ]
53
2016-12-29T12:53:44.000Z
2022-03-14T07:46:25.000Z
zxcvbn/adjacency_graphs.py
edisonmndza/CPSC530
c311403d29f039babbd29f1472694192e98e0625
[ "MIT" ]
70
2016-12-29T13:13:13.000Z
2022-03-17T21:54:42.000Z
# generated by scripts/build_keyboard_adjacency_graphs.py ADJACENCY_GRAPHS = { "qwerty": {"!": ["`~", None, None, "2@", "qQ", None], "\"": [";:", "[{", "]}", None, None, "/?"], "#": ["2@", None, None, "4$", "eE", "wW"], "$": ["3#", None, None, "5%", "rR", "eE"], "%": ["4$", None, None, "6^", "tT", "rR"], "&": ["6^"...
1,400
4,069
0.308776
1,328
9,800
2.261295
0.056476
0.527473
0.303696
0.255744
0.934399
0.857143
0.701632
0.667
0.640027
0.640027
0
0.038273
0.16551
9,800
7
4,070
1,400
0.328931
0.005612
0
0
1
1
0.41954
0
0.166667
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
1
1
1
0
0
1
0
0
0
0
1
1
1
1
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
13
6ff1b31694710a12522aa1102c1f814be8b1882b
91
py
Python
mnsim_noc/utils/__init__.py
godfather991/MNSIM_NoC
402680ad72c46c2a0b040b5fa52232807d554aec
[ "MIT" ]
null
null
null
mnsim_noc/utils/__init__.py
godfather991/MNSIM_NoC
402680ad72c46c2a0b040b5fa52232807d554aec
[ "MIT" ]
3
2021-11-01T15:43:20.000Z
2021-11-09T03:49:06.000Z
mnsim_noc/utils/__init__.py
ILTShade/MNSIM_NoC
8fa4580cce0ef113b473dd22662748846ec6b45a
[ "MIT" ]
null
null
null
from mnsim_noc.utils.log import getLogger from mnsim_noc.utils.registry import RegistryMeta
45.5
49
0.879121
14
91
5.571429
0.642857
0.230769
0.307692
0.435897
0
0
0
0
0
0
0
0
0.076923
91
2
49
45.5
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
b508a80c74a139862c92b521f36701c33d90cec2
13,374
py
Python
test/unit/test_archive.py
Bouni/github-archive
dba336160c669fe96aaf5519af2c4b9cdc2b7ae9
[ "MIT" ]
null
null
null
test/unit/test_archive.py
Bouni/github-archive
dba336160c669fe96aaf5519af2c4b9cdc2b7ae9
[ "MIT" ]
null
null
null
test/unit/test_archive.py
Bouni/github-archive
dba336160c669fe96aaf5519af2c4b9cdc2b7ae9
[ "MIT" ]
null
null
null
import mock import pytest import subprocess from github_archive import GithubArchive GITHUB_TOKEN = '123' ORG_NAME = 'my_org' @mock.patch('github_archive.archive.GITHUB_TOKEN', None) @mock.patch('github_archive.archive.LOGGER') def test_initialize_project_no_github_token(mock_logger): message = 'GITHUB_TOKEN mu...
39.803571
115
0.78017
1,800
13,374
5.432778
0.060556
0.073627
0.101237
0.148481
0.928111
0.895286
0.884139
0.857041
0.830248
0.812558
0
0.001429
0.110289
13,374
335
116
39.922388
0.820405
0
0
0.703971
0
0
0.271721
0.193061
0
0
0
0
0.158845
1
0.101083
false
0
0.01444
0
0.115523
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d20076bc3afe3591aa32a851b43a72a15288da7a
19,540
py
Python
ontask/scheduler/tests/test_api.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
33
2017-12-02T04:09:24.000Z
2021-11-07T08:41:57.000Z
ontask/scheduler/tests/test_api.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
189
2017-11-16T04:06:29.000Z
2022-03-11T23:35:59.000Z
ontask/scheduler/tests/test_api.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
30
2017-11-30T03:35:44.000Z
2022-01-31T03:08:08.000Z
# -*- coding: utf-8 -*- """Test scheduler API.""" import os from django.conf import settings from django.shortcuts import reverse from rest_framework import status from rest_framework.authtoken.models import Token from ontask import models, tests class ScheduleApiCreate(tests.OnTaskApiTestCase): """Test schedu...
35.919118
77
0.505322
1,784
19,540
5.331278
0.097534
0.061508
0.072548
0.058879
0.889917
0.889496
0.854484
0.844811
0.8364
0.828409
0
0.010299
0.383828
19,540
543
78
35.985267
0.779651
0.057421
0
0.761364
0
0
0.229383
0.065756
0
0
0
0
0.120455
1
0.011364
false
0
0.013636
0
0.038636
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d2025871fa0395d6da85ed653ef5125eac2fc4d3
8,383
py
Python
rdmo/projects/tests/test_viewset_project.py
berkerY/rdmo
c0500f9b6caff9106a254a05e0d0e8018fc8db28
[ "Apache-2.0" ]
1
2021-12-13T16:32:25.000Z
2021-12-13T16:32:25.000Z
rdmo/projects/tests/test_viewset_project.py
MSpenger/rdmo
c0500f9b6caff9106a254a05e0d0e8018fc8db28
[ "Apache-2.0" ]
null
null
null
rdmo/projects/tests/test_viewset_project.py
MSpenger/rdmo
c0500f9b6caff9106a254a05e0d0e8018fc8db28
[ "Apache-2.0" ]
1
2021-05-20T09:31:49.000Z
2021-05-20T09:31:49.000Z
import pytest from django.urls import reverse from ..models import Project users = ( ('owner', 'owner'), ('manager', 'manager'), ('author', 'author'), ('guest', 'guest'), ('api', 'api'), ('user', 'user'), ('site', 'site'), ('anonymous', None), ) view_project_permission_map = { 'ow...
33.003937
104
0.649529
1,020
8,383
5.205882
0.111765
0.067797
0.101695
0.122034
0.834652
0.812429
0.80904
0.791902
0.745763
0.704896
0
0.023694
0.214601
8,383
253
105
33.134387
0.782807
0
0
0.632353
0
0
0.110581
0.015865
0
0
0
0
0.240196
1
0.044118
false
0.176471
0.014706
0
0.058824
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
d246ca77f808ea275b2c34ba70e1bf1e9ce5fdd2
6,743
py
Python
tests/http/test_url.py
fisabiliyusri/proxy
29934503251b704813ef3e7ed8c2a5ae69448c8a
[ "BSD-3-Clause" ]
null
null
null
tests/http/test_url.py
fisabiliyusri/proxy
29934503251b704813ef3e7ed8c2a5ae69448c8a
[ "BSD-3-Clause" ]
8
2022-01-23T10:51:59.000Z
2022-03-29T22:11:57.000Z
tests/http/test_url.py
fisabiliyusri/proxy
29934503251b704813ef3e7ed8c2a5ae69448c8a
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ proxy.py ~~~~~~~~ ⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging. :copyright: (c) 2013-present by Abhinav Singh and contributors. :license: BSD, see LICENSE...
41.368098
86
0.64541
908
6,743
4.704846
0.123348
0.28441
0.311798
0.080758
0.833099
0.8125
0.792837
0.780431
0.758661
0.711376
0
0.018598
0.20258
6,743
162
87
41.623457
0.774224
0.045825
0
0.618321
0
0.022901
0.141518
0.020931
0
0
0
0
0.633588
1
0.137405
false
0.068702
0.022901
0
0.167939
0
0
0
0
null
1
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
10
d2495282ea7cf3f12ab470680bbe08185a22a2fd
452
py
Python
src/python/WMCore/WMBS/Oracle/WorkUnit/ExistsByTaskFileLumi.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
21
2015-11-19T16:18:45.000Z
2021-12-02T18:20:39.000Z
src/python/WMCore/WMBS/Oracle/WorkUnit/ExistsByTaskFileLumi.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
5,671
2015-01-06T14:38:52.000Z
2022-03-31T22:11:14.000Z
src/python/WMCore/WMBS/Oracle/WorkUnit/ExistsByTaskFileLumi.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
67
2015-01-21T15:55:38.000Z
2022-02-03T19:53:13.000Z
""" _WorkUnit.ExistsByTaskFileLumi_ Oracle implementation of WorkUnit.ExistsByTaskFileLumi """ from __future__ import absolute_import, division, print_function from WMCore.WMBS.MySQL.WorkUnit.ExistsByTaskFileLumi import ExistsByTaskFileLumi as ExistsByTaskFileLumiMySQL class ExistsByTaskFileLumi(ExistsByTaskFileLu...
22.6
109
0.820796
36
452
10.027778
0.527778
0.387812
0.188366
0.265928
0.432133
0.432133
0.432133
0
0
0
0
0
0.123894
452
19
110
23.789474
0.911616
0.387168
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.5
0
0.75
0.25
0
0
1
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
8
d2725828c5057cf096e53830b10b395cd68ac6a9
12,972
py
Python
angular_binning/posterior.py
robinupham/angular_binning
da3f6bf32efd8bad1a7f61a9a457f521ed8ebe87
[ "MIT" ]
null
null
null
angular_binning/posterior.py
robinupham/angular_binning
da3f6bf32efd8bad1a7f61a9a457f521ed8ebe87
[ "MIT" ]
null
null
null
angular_binning/posterior.py
robinupham/angular_binning
da3f6bf32efd8bad1a7f61a9a457f521ed8ebe87
[ "MIT" ]
null
null
null
""" Functions for plotting posterior distributions. """ import gaussian_cl_likelihood.python.posteriors # https://github.com/robinupham/gaussian_cl_likelihood import matplotlib.patches import matplotlib.pyplot as plt import numpy as np import scipy.interpolate import scipy.ndimage import scipy.special import scipy.sta...
49.323194
120
0.605612
1,781
12,972
4.240876
0.173498
0.022243
0.015888
0.007944
0.926122
0.900569
0.881769
0.863763
0.845227
0.835959
0
0.017824
0.299337
12,972
262
121
49.51145
0.813181
0.369951
0
0.8
0
0
0.03076
0
0
0
0
0
0.030769
1
0.015385
false
0
0.061538
0
0.076923
0.030769
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
96647703f25964a13ebe725b95312e605e2e13fb
151
py
Python
spylib/shopify/oauth/__init__.py
SatelCreative/spylib
d7f5129c4f0bba3cbc7a2925fdee389dbbde75f1
[ "MIT" ]
1
2022-03-11T18:19:32.000Z
2022-03-11T18:19:32.000Z
spylib/shopify/oauth/__init__.py
SatelCreative/spylib
d7f5129c4f0bba3cbc7a2925fdee389dbbde75f1
[ "MIT" ]
32
2020-08-14T19:49:09.000Z
2022-03-31T22:18:09.000Z
spylib/shopify/oauth/__init__.py
SatelCreative/spylib
d7f5129c4f0bba3cbc7a2925fdee389dbbde75f1
[ "MIT" ]
null
null
null
from .config import conf # noqa: F401 from .tokens import OfflineToken, OnlineToken # noqa: F401 from .router import init_oauth_router # noqa: F401
37.75
59
0.768212
21
151
5.428571
0.571429
0.210526
0.210526
0
0
0
0
0
0
0
0
0.071429
0.165563
151
3
60
50.333333
0.833333
0.211921
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
969057ec6d2d51f355a04641106df2bbfee192ab
43,766
py
Python
xero_python/finance/api/finance_api.py
dupski/xero-python
66856a7f88975a2991732a1c58e6326dbdcb3468
[ "MIT" ]
null
null
null
xero_python/finance/api/finance_api.py
dupski/xero-python
66856a7f88975a2991732a1c58e6326dbdcb3468
[ "MIT" ]
null
null
null
xero_python/finance/api/finance_api.py
dupski/xero-python
66856a7f88975a2991732a1c58e6326dbdcb3468
[ "MIT" ]
null
null
null
# coding: utf-8 """ Xero Finance API The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital. # noqa: E501 Contact: api@xero.com Generated by: https://openapi-generator.tech...
42.450048
1,099
0.633026
5,047
43,766
5.232812
0.090153
0.031806
0.038167
0.032715
0.793525
0.769178
0.758236
0.739341
0.733018
0.717039
0
0.004692
0.308527
43,766
1,030
1,100
42.491262
0.867991
0.371087
0
0.749275
0
0
0.129452
0.058987
0
0
0
0
0
1
0.021739
false
0
0.010145
0.001449
0.057971
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
73fdbd7f56f67315a9aa802623e641594a6f90ca
4,939
py
Python
tests/test_net.py
tommilligan/rethinkdb-python
ecf1dd6a4ccbec2c57dc73aaf711a148095f9be4
[ "Apache-2.0" ]
56
2018-10-08T11:41:09.000Z
2022-01-28T23:52:34.000Z
tests/test_net.py
tommilligan/rethinkdb-python
ecf1dd6a4ccbec2c57dc73aaf711a148095f9be4
[ "Apache-2.0" ]
166
2018-09-07T18:27:05.000Z
2022-03-01T21:38:55.000Z
tests/test_net.py
tommilligan/rethinkdb-python
ecf1dd6a4ccbec2c57dc73aaf711a148095f9be4
[ "Apache-2.0" ]
44
2018-10-11T17:40:03.000Z
2022-03-01T21:48:13.000Z
import pytest from mock import ANY, Mock from rethinkdb.net import DEFAULT_PORT, DefaultConnection, make_connection @pytest.mark.unit class TestMakeConnection(object): def setup_method(self): self.reconnect = Mock() self.conn_type = Mock() self.conn_type.return_value.reconnect.return_valu...
25.328205
87
0.504556
508
4,939
4.694882
0.112205
0.067086
0.080503
0.061635
0.758071
0.74717
0.74717
0.700629
0.700629
0.700629
0
0.007571
0.411622
4,939
194
88
25.458763
0.813145
0
0
0.734104
0
0
0.023284
0.014375
0
0
0
0
0.080925
1
0.046243
false
0.086705
0.017341
0
0.069364
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
fba706d62a29afe9fe293b39513b9f889dfc2e5c
69
py
Python
handlers/__init__.py
psxzz/dls-nst-bot
4886f3520e78cf657bb065647f8ae87d160523d5
[ "MIT" ]
null
null
null
handlers/__init__.py
psxzz/dls-nst-bot
4886f3520e78cf657bb065647f8ae87d160523d5
[ "MIT" ]
null
null
null
handlers/__init__.py
psxzz/dls-nst-bot
4886f3520e78cf657bb065647f8ae87d160523d5
[ "MIT" ]
null
null
null
from handlers import messages from handlers import style_transfering
23
38
0.884058
9
69
6.666667
0.666667
0.4
0.6
0
0
0
0
0
0
0
0
0
0.115942
69
2
39
34.5
0.983607
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
836d92f6d13ae4cfc756a964ca64e4fee3f2cf66
3,980
py
Python
2019/05/test_common.py
SabatierBoris/adventofcode
19849a209e4e6d9d73ef5a5458c1831061a3ea42
[ "MIT" ]
null
null
null
2019/05/test_common.py
SabatierBoris/adventofcode
19849a209e4e6d9d73ef5a5458c1831061a3ea42
[ "MIT" ]
null
null
null
2019/05/test_common.py
SabatierBoris/adventofcode
19849a209e4e6d9d73ef5a5458c1831061a3ea42
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import unittest from common import execute_add, execute_mult, get_mode class TestGetMode(unittest.TestCase): def test_default(self): mode = get_mode(1, 3) self.assertEqual(mode, [0, 0, 0]) def test_setted(self): mode = get_mode(1001, 3) self.assertEqu...
28.84058
55
0.568593
539
3,980
4.083488
0.12616
0.204453
0.032712
0.031804
0.868242
0.819627
0.816447
0.788732
0.736029
0.716038
0
0.08231
0.30402
3,980
137
56
29.051095
0.712274
0.005276
0
0.706422
0
0
0.002021
0
0
0
0
0
0.330275
1
0.165138
false
0
0.018349
0
0.211009
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
8385f3f0cc322b91e3b90ec7108b4a5956591cfe
10,054
py
Python
fkausality/utils.py
AlanGanem/kausality
2956f29bf60ca5f6ea54662d8b9af50c8f3aea37
[ "Apache-2.0" ]
null
null
null
fkausality/utils.py
AlanGanem/kausality
2956f29bf60ca5f6ea54662d8b9af50c8f3aea37
[ "Apache-2.0" ]
null
null
null
fkausality/utils.py
AlanGanem/kausality
2956f29bf60ca5f6ea54662d8b9af50c8f3aea37
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: notebooks_dev/utils.ipynb (unless otherwise specified). __all__ = ['parallel_apply', 'get_default_args', 'inherit_docstrings', 'make_batches', 'sim_matrix_to_idx_and_score', 'cosine_similarity', 'cosine_distance', 'similarity_plot', 'sparsify', 'hstack', 'vstack',...
30.192192
157
0.667893
1,310
10,054
4.957252
0.172519
0.019403
0.009239
0.027102
0.987373
0.987373
0.987373
0.987373
0.987373
0.987373
0
0.010948
0.218719
10,054
333
158
30.192192
0.815532
0.175055
0
0.953368
1
0
0.062965
0.006693
0
0
0
0.006006
0
1
0.165803
false
0
0.093264
0.031088
0.42487
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
83affa2a55a43da036a7efed08b56a5b8a7f6cd0
56,140
py
Python
lttnganalyses/cli/phptop.py
naser/lttnganalysis-lamp
a13fbaade08a6aaa43129f5066f88a659bafdba5
[ "MIT" ]
null
null
null
lttnganalyses/cli/phptop.py
naser/lttnganalysis-lamp
a13fbaade08a6aaa43129f5066f88a659bafdba5
[ "MIT" ]
null
null
null
lttnganalyses/cli/phptop.py
naser/lttnganalysis-lamp
a13fbaade08a6aaa43129f5066f88a659bafdba5
[ "MIT" ]
null
null
null
# The MIT License (MIT) # # Copyright (C) 2015 - Julien Desfossez <jdesfossez@efficios.com> # 2015 - Antoine Busque <abusque@efficios.com> # 2015 - Philippe Proulx <pproulx@efficios.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and a...
41.188555
150
0.485055
5,630
56,140
4.636767
0.06341
0.019
0.019307
0.017813
0.835817
0.812028
0.78847
0.779238
0.757748
0.74185
0
0.018138
0.398005
56,140
1,362
151
41.218796
0.75429
0.125721
0
0.777778
0
0.014141
0.099503
0
0
0
0
0.000734
0
1
0.023232
false
0
0.009091
0.00101
0.063636
0.10101
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
83ddac53d7e3bb8d4a1680abc15cab0282e5b5a3
205
py
Python
nipype/interfaces/semtools/testing/__init__.py
demianw/nipype
52d64c30d96ecd94f1833156e28dce32c4f05ebe
[ "BSD-3-Clause" ]
null
null
null
nipype/interfaces/semtools/testing/__init__.py
demianw/nipype
52d64c30d96ecd94f1833156e28dce32c4f05ebe
[ "BSD-3-Clause" ]
2
2017-10-05T21:08:38.000Z
2018-10-09T23:01:23.000Z
nipype/interfaces/semtools/testing/__init__.py
effigies/nipype
18fe222557cf3b9627e06b2a66fba589feaca581
[ "Apache-2.0" ]
1
2016-10-11T19:18:53.000Z
2016-10-11T19:18:53.000Z
from __future__ import absolute_import from .featuredetection import SphericalCoordinateGeneration from .landmarkscompare import LandmarksCompare from .generateaveragelmkfile import GenerateAverageLmkFile
41
59
0.907317
17
205
10.647059
0.470588
0
0
0
0
0
0
0
0
0
0
0
0.078049
205
4
60
51.25
0.957672
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
860064f9298706cf8d37d939317cce0a0e4a175d
11,802
py
Python
test/legacy/nli.py
parmeet/text
1fb2aedb48b5ecc5e81741e7c8504486b91655c6
[ "BSD-3-Clause" ]
1
2021-04-16T08:31:30.000Z
2021-04-16T08:31:30.000Z
test/legacy/nli.py
parmeet/text
1fb2aedb48b5ecc5e81741e7c8504486b91655c6
[ "BSD-3-Clause" ]
3
2021-02-24T22:51:20.000Z
2021-03-05T02:38:15.000Z
test/legacy/nli.py
parmeet/text
1fb2aedb48b5ecc5e81741e7c8504486b91655c6
[ "BSD-3-Clause" ]
1
2021-06-21T07:13:53.000Z
2021-06-21T07:13:53.000Z
import torch from ..common.torchtext_test_case import TorchtextTestCase from torchtext.legacy.datasets import SNLI, MultiNLI, XNLI from torchtext.legacy.datasets.nli import ParsedTextField, ShiftReduceField from torchtext.legacy.data import Field, LabelField, Iterator import shutil class TestNLI(TorchtextTestCase):...
38.695082
80
0.632944
1,302
11,802
5.652842
0.08679
0.097826
0.056522
0.052989
0.845652
0.824864
0.812228
0.802717
0.784239
0.77663
0
0.008127
0.270208
11,802
304
81
38.822368
0.846395
0.144552
0
0.710526
0
0
0.053365
0.013142
0
0
0
0
0.626316
1
0.015789
false
0
0.031579
0
0.052632
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
f7b3f3c43e240b47dd573bee2f50dbeae5c3364d
95
py
Python
stable_baselines3/c51/__init__.py
mjyoo2/stable-baselines3
ef7a580219df6d977b56fb99e503890bd5211195
[ "MIT" ]
null
null
null
stable_baselines3/c51/__init__.py
mjyoo2/stable-baselines3
ef7a580219df6d977b56fb99e503890bd5211195
[ "MIT" ]
null
null
null
stable_baselines3/c51/__init__.py
mjyoo2/stable-baselines3
ef7a580219df6d977b56fb99e503890bd5211195
[ "MIT" ]
null
null
null
from stable_baselines3.c51.c51 import C51 from stable_baselines3.c51.policies import MlpPolicy
31.666667
52
0.873684
14
95
5.785714
0.5
0.246914
0.493827
0.567901
0
0
0
0
0
0
0
0.114943
0.084211
95
2
53
47.5
0.816092
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
f7f2ec7ce3d30ccdca5cb8c4147c16152ea5f8a4
23,716
py
Python
trcopo_optim/trcopo.py
manish-pra/trcopo
df8730f07ef554970c7a0aa653cc42d4886948ec
[ "MIT" ]
5
2020-06-22T17:13:51.000Z
2021-11-02T14:19:58.000Z
trcopo_optim/trcopo.py
manish-pra/trcopo
df8730f07ef554970c7a0aa653cc42d4886948ec
[ "MIT" ]
null
null
null
trcopo_optim/trcopo.py
manish-pra/trcopo
df8730f07ef554970c7a0aa653cc42d4886948ec
[ "MIT" ]
1
2020-09-14T06:41:03.000Z
2020-09-14T06:41:03.000Z
import math import time import torch import torch.autograd as autograd from torch.distributions import Categorical from trcopo_optim.utils import zero_grad, conjugate_gradient, general_conjugate_gradient, conjugate_gradient_2trpo, conjugate_gradient_trpo import scipy.sparse.linalg as lin from scipy.sparse.linalg impo...
39.526667
155
0.55861
3,339
23,716
3.743037
0.061995
0.012482
0.031205
0.024964
0.903345
0.887662
0.87502
0.855097
0.830213
0.807009
0
0.033963
0.319658
23,716
599
156
39.592654
0.740626
0.088463
0
0.796253
0
0
0.019088
0
0
0
0
0
0
1
0.044496
false
0
0.018735
0
0.098361
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f74ff4ec3691a51dd5960faea3a0c854ecc62463
29,814
py
Python
eeauditor/auditors/aws/Amazon_EKS_Auditor.py
kbhagi/ElectricEye
31960e1e1cfb75c5d354844ea9e07d5295442823
[ "Apache-2.0" ]
442
2020-03-15T20:56:36.000Z
2022-03-31T22:13:07.000Z
eeauditor/auditors/aws/Amazon_EKS_Auditor.py
kbhagi/ElectricEye
31960e1e1cfb75c5d354844ea9e07d5295442823
[ "Apache-2.0" ]
57
2020-03-15T22:09:56.000Z
2022-03-31T13:17:06.000Z
eeauditor/auditors/aws/Amazon_EKS_Auditor.py
kbhagi/ElectricEye
31960e1e1cfb75c5d354844ea9e07d5295442823
[ "Apache-2.0" ]
59
2020-03-15T21:19:10.000Z
2022-03-31T15:01:31.000Z
#This file is part of ElectricEye. #SPDX-License-Identifier: Apache-2.0 #Licensed to the Apache Software Foundation (ASF) under one #or more contributor license agreements. See the NOTICE file #distributed with this work for additional information #regarding copyright ownership. The ASF licenses this file #to you un...
54.405109
331
0.432884
2,269
29,814
5.674306
0.136183
0.014913
0.022369
0.02734
0.882408
0.876971
0.871689
0.870757
0.866796
0.866796
0
0.047525
0.472094
29,814
548
332
54.405109
0.770506
0.049909
0
0.806324
0
0.039526
0.35389
0.034194
0
0
0
0
0
1
0.007905
false
0.007905
0.005929
0
0.013834
0.007905
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f755ec826fbacf271a2847136bb1d1a1b21654ae
3,864
py
Python
exotica_core/test/test_box_qp.py
maxspahn/exotica
f748a5860939b870ab522a1bd553d2fa0da56f8e
[ "BSD-3-Clause" ]
null
null
null
exotica_core/test/test_box_qp.py
maxspahn/exotica
f748a5860939b870ab522a1bd553d2fa0da56f8e
[ "BSD-3-Clause" ]
null
null
null
exotica_core/test/test_box_qp.py
maxspahn/exotica
f748a5860939b870ab522a1bd553d2fa0da56f8e
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import pyexotica as exo import unittest from numpy import testing as nptest from scipy.optimize import minimize class TestBoxQP(unittest.TestCase): """Tests BoxQP implementation against scipy.""" def test_zero_q(self): np.random.seed(100) # check against 100 state,cont...
32.2
105
0.471532
599
3,864
2.90818
0.138564
0.036739
0.022962
0.041332
0.860505
0.850746
0.846728
0.846728
0.846728
0.846728
0
0.072853
0.36413
3,864
119
106
32.470588
0.636142
0.050207
0
0.75
0
0
0.030593
0
0
0
0
0
0.047619
1
0.095238
false
0
0.059524
0.047619
0.214286
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f785ddc65856ebe3745bf7ae814755e6688f1afa
10,037
py
Python
tests/zeus/web/test_auth_github.py
edgerepo/zeus
aea557bde167e95b505a42877422a652baee14c9
[ "Apache-2.0" ]
null
null
null
tests/zeus/web/test_auth_github.py
edgerepo/zeus
aea557bde167e95b505a42877422a652baee14c9
[ "Apache-2.0" ]
null
null
null
tests/zeus/web/test_auth_github.py
edgerepo/zeus
aea557bde167e95b505a42877422a652baee14c9
[ "Apache-2.0" ]
null
null
null
from urllib.parse import parse_qs from zeus import factories from zeus.constants import GITHUB_AUTH_URI, GITHUB_TOKEN_URI, Permission from zeus.models import Email, Identity, RepositoryAccess, User def test_login(client): resp = client.get("/auth/github") assert resp.status_code == 302 location, querystr...
31.267913
82
0.5947
1,164
10,037
5.02921
0.106529
0.039289
0.037752
0.046464
0.833789
0.807995
0.804066
0.800307
0.800307
0.791083
0
0.004776
0.248979
10,037
320
83
31.365625
0.771823
0.068945
0
0.706564
0
0
0.254501
0.028933
0
0
0
0
0.19305
1
0.023166
false
0
0.015444
0
0.03861
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f7861da908874f18ca37467fd75bb48ab6a96fe9
13,918
py
Python
tests/plugins/product/sync/test_actions.py
cloudblue/product-sync
0e1754967830b19673c1625b82ae1535658ec3bc
[ "Apache-2.0" ]
null
null
null
tests/plugins/product/sync/test_actions.py
cloudblue/product-sync
0e1754967830b19673c1625b82ae1535658ec3bc
[ "Apache-2.0" ]
null
null
null
tests/plugins/product/sync/test_actions.py
cloudblue/product-sync
0e1754967830b19673c1625b82ae1535658ec3bc
[ "Apache-2.0" ]
null
null
null
from connect.cli.plugins.shared.sync_stats import SynchronizerStats from connect.cli.plugins.product.sync.actions import ActionsSynchronizer from connect.client import ConnectClient def test_skipped(get_sync_actions_env): stats = SynchronizerStats() synchronizer = ActionsSynchronizer( client=ConnectCl...
30.52193
95
0.618192
1,644
13,918
5.017032
0.081509
0.068016
0.084869
0.103055
0.919496
0.914767
0.914525
0.913555
0.908705
0.908705
0
0.038968
0.23114
13,918
455
96
30.589011
0.731801
0
0
0.791892
0
0.016216
0.267639
0.047277
0
0
0
0
0.056757
1
0.037838
false
0
0.008108
0
0.045946
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f796ada807302fa6d57c1e9a8b7befc9050db037
170
py
Python
dgp/lib/transform/etc.py
DynamicGravitySystems/DGP
5c0b566b846eb25f1e5ede64b2caaaa6a3352a29
[ "Apache-2.0" ]
7
2017-08-15T21:51:40.000Z
2020-10-28T00:40:23.000Z
dgp/lib/transform/etc.py
DynamicGravitySystems/DGP
5c0b566b846eb25f1e5ede64b2caaaa6a3352a29
[ "Apache-2.0" ]
63
2017-08-11T15:12:03.000Z
2020-05-23T19:03:46.000Z
dgp/lib/transform/etc.py
cbertinato/DGP
5bb8a30895365eccdd452970c45e248903fca8af
[ "Apache-2.0" ]
4
2018-03-29T21:30:26.000Z
2020-10-27T20:15:23.000Z
# coding: utf-8 import pandas as pd def named_series(*args, **kwargs): def wrapper(*args, **kwargs): return pd.Series(*args, **kwargs) return wrapper
15.454545
41
0.635294
23
170
4.652174
0.608696
0.280374
0.299065
0
0
0
0
0
0
0
0
0.007576
0.223529
170
10
42
17
0.80303
0.076471
0
0
0
0
0
0
0
0
0
0
0
1
0.4
true
0
0.2
0.2
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
e3bfcbf280303a7ed260321d4bf936ecadfc4b0d
922
py
Python
s56.py
glcrazier/LeetCodePlay
cf951a079d458e02000d170529cb1e3b049da023
[ "MIT" ]
1
2018-02-20T13:56:02.000Z
2018-02-20T13:56:02.000Z
s56.py
glcrazier/LeetCodePlay
cf951a079d458e02000d170529cb1e3b049da023
[ "MIT" ]
null
null
null
s56.py
glcrazier/LeetCodePlay
cf951a079d458e02000d170529cb1e3b049da023
[ "MIT" ]
null
null
null
from solution import Solution from util import Interval if __name__ == '__main__': sol = Solution() intervals = [] intervals.append(Interval(1,3)) intervals.append(Interval(8,10)) intervals.append(Interval(2,6)) intervals.append(Interval(15,18)) print sol.merge(intervals) intervals = [...
25.611111
37
0.670282
113
922
5.39823
0.185841
0.344262
0.527869
0.354098
0.881967
0.881967
0.881967
0.881967
0.880328
0.619672
0
0.044236
0.190889
922
36
38
25.611111
0.773458
0
0
0.833333
0
0
0.008667
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.2
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
11
e3c3bd6fb03304a055e8bfd9b40fab78ad417a94
859,622
py
Python
ns-3-dev/src/internet/bindings/modulegen__gcc_LP64.py
maxvonhippel/snake
0805773dc34e1480dffaae40174aa1f82d1c6ce8
[ "BSD-3-Clause" ]
11
2015-11-24T11:07:28.000Z
2021-12-23T04:10:29.000Z
ns-3-dev/src/internet/bindings/modulegen__gcc_LP64.py
maxvonhippel/snake
0805773dc34e1480dffaae40174aa1f82d1c6ce8
[ "BSD-3-Clause" ]
null
null
null
ns-3-dev/src/internet/bindings/modulegen__gcc_LP64.py
maxvonhippel/snake
0805773dc34e1480dffaae40174aa1f82d1c6ce8
[ "BSD-3-Clause" ]
6
2016-03-01T06:32:21.000Z
2022-03-24T19:31:41.000Z
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers import pybindgen.settings import warnings class ErrorHandler(pybindgen.settings.ErrorHandler): def handle_error(self, wrapper, exception, traceback_): warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) ...
66.771943
944
0.625647
89,730
859,622
5.86465
0.02201
0.040318
0.06826
0.080306
0.888172
0.840398
0.799878
0.768543
0.703651
0.623239
0
0.033502
0.218892
859,622
12,873
945
66.77713
0.750218
0.430323
0
0.767512
0
0.011483
0.280243
0.0522
0
0
0
0.000078
0
1
0.026203
false
0
0.015659
0.000104
0.067857
0.000418
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e3c86860eb34a6013c6996de4935d896b69a46d1
50,655
py
Python
api/generated/python/azure-iiot-opc-history/azure_opc_history_client.py
jaz230/Industrial-IoT
bd4c5abfe579cbb7086a621e8381978e6c70a563
[ "MIT" ]
1
2020-01-22T12:03:08.000Z
2020-01-22T12:03:08.000Z
api/generated/python/azure-iiot-opc-history/azure_opc_history_client.py
likithadt/Industrial-IoT
d4ea7b330eff08455ca0556fed76aa74d2034da5
[ "MIT" ]
null
null
null
api/generated/python/azure-iiot-opc-history/azure_opc_history_client.py
likithadt/Industrial-IoT
d4ea7b330eff08455ca0556fed76aa74d2034da5
[ "MIT" ]
null
null
null
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator 2.3.33.0 # ...
41.182927
116
0.681256
5,067
50,655
6.641603
0.042826
0.026744
0.021395
0.020325
0.880516
0.869878
0.858319
0.851692
0.851692
0.851692
0
0.004034
0.241556
50,655
1,229
117
41.216436
0.871912
0.386892
0
0.770791
0
0
0.134644
0.096123
0
0
0
0
0
1
0.040568
false
0
0.01217
0
0.129817
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e3d0b5dc1ec3508fd73a699865984f4889e81bc0
309
py
Python
callisto/libs/domains/consts.py
isabella232/callisto
182b9c3a56d13fbb3f8f199a984b4c4be6c17e9f
[ "MIT" ]
84
2020-02-18T14:58:35.000Z
2022-03-04T22:34:46.000Z
callisto/libs/domains/consts.py
wrike/callisto
182b9c3a56d13fbb3f8f199a984b4c4be6c17e9f
[ "MIT" ]
6
2020-07-13T19:31:07.000Z
2022-03-30T15:35:23.000Z
callisto/libs/domains/consts.py
isabella232/callisto
182b9c3a56d13fbb3f8f199a984b4c4be6c17e9f
[ "MIT" ]
9
2021-03-08T10:17:29.000Z
2022-03-04T12:21:53.000Z
from __future__ import annotations HEALTH_CHECK_USE_CASE_KEY = '__health_check_use_case_key__' METRICS_USE_CASE_KEY = '__metrics_use_case_key__' SESSION_USE_CASE_KEY = '__session_use_case_key__' STATUS_USE_CASE_KEY = '__status_use_case_key__' WEBDRIVER_LOGS_USE_CASE_KEY = '__webdriver_logs_use_case_key__'
34.333333
63
0.883495
48
309
4.479167
0.291667
0.325581
0.465116
0.167442
0.874419
0.725581
0.725581
0.260465
0
0
0
0
0.067961
309
8
64
38.625
0.746528
0
0
0
0
0
0.423948
0.423948
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
58152fde5158abf3c4a45922eb29dfcf7ea47284
155,789
py
Python
eve_db/migrations/0001_initial.py
caot/django-eve-db
425a84de4fde2b14ab17cfb81c2c2609fa427381
[ "BSD-3-Clause" ]
6
2015-04-07T15:03:15.000Z
2020-03-01T07:35:35.000Z
eve_db/migrations/0001_initial.py
caot/django-eve-db
425a84de4fde2b14ab17cfb81c2c2609fa427381
[ "BSD-3-Clause" ]
2
2015-03-07T17:56:03.000Z
2015-09-28T16:35:28.000Z
eve_db/migrations/0001_initial.py
caot/django-eve-db
425a84de4fde2b14ab17cfb81c2c2609fa427381
[ "BSD-3-Clause" ]
8
2015-03-16T12:50:19.000Z
2019-06-07T15:19:37.000Z
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'EveName' db.create_table('eve_db_evename', ( ('id', self.gf('django.db.models.fields.I...
80.469525
238
0.620352
17,385
155,789
5.406672
0.023814
0.090303
0.157881
0.225544
0.883047
0.838459
0.828576
0.821001
0.793074
0.761072
0
0.003113
0.166976
155,789
1,935
239
80.511111
0.721173
0.050241
0
0.377454
0
0
0.539314
0.359554
0
0
0
0
0
1
0.001267
false
0
0.0038
0
0.006966
0.006966
0
0
0
null
0
0
1
1
1
1
1
1
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
7
58495cc27a022b295227fbb4bdba7f03119b28f9
999
py
Python
tool/segmenter.py
napoler/rime-idf-dict
02653a05bcf90040cb11aac48029dbf6cb9ea5be
[ "MIT" ]
14
2019-04-15T06:46:33.000Z
2022-01-28T02:11:26.000Z
tool/segmenter.py
napoler/rime-idf-dict
02653a05bcf90040cb11aac48029dbf6cb9ea5be
[ "MIT" ]
null
null
null
tool/segmenter.py
napoler/rime-idf-dict
02653a05bcf90040cb11aac48029dbf6cb9ea5be
[ "MIT" ]
2
2020-10-02T02:03:21.000Z
2021-08-18T07:28:18.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import jieba import re def segment(sentence, cut_all=True): # jieba.load_userdict(file_name) sentence = sentence.replace('\n', '').replace('\u3000', '').replace('\u00A0', '') # sentence = ' '.join(jieba.cut(sentence, cut_all=cut_all)) # sentence = ' ...
45.409091
86
0.614615
130
999
4.569231
0.284615
0.10101
0.141414
0.20202
0.885522
0.885522
0.885522
0.885522
0.885522
0.885522
0
0.022379
0.15015
999
21
87
47.571429
0.677267
0.436436
0
0.444444
0
0
0.163842
0.109228
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
9
5864dd20fafc7799c74f67e7ade0df382d651df8
157
py
Python
typistry/util/path.py
kyprifog/typistry
aab285d909791106154874eb5331b65fc03849ae
[ "Apache-2.0" ]
null
null
null
typistry/util/path.py
kyprifog/typistry
aab285d909791106154874eb5331b65fc03849ae
[ "Apache-2.0" ]
null
null
null
typistry/util/path.py
kyprifog/typistry
aab285d909791106154874eb5331b65fc03849ae
[ "Apache-2.0" ]
null
null
null
from os import path def root(): d = path.dirname(path.dirname(path.abspath(__file__))) return d def from_root(path: str): return root() + path
17.444444
58
0.66879
24
157
4.166667
0.5
0.22
0.3
0
0
0
0
0
0
0
0
0
0.203822
157
8
59
19.625
0.8
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
589382a372477ce0621ac6a0f44430e2d41679ea
2,680
py
Python
src/nrnpython/examples/test0.py
niltonlk/nrn
464541abbf72fe58de77b16bf0e1df425a280b89
[ "BSD-3-Clause" ]
203
2018-05-03T11:02:11.000Z
2022-03-31T14:18:31.000Z
src/nrnpython/examples/test0.py
niltonlk/nrn
464541abbf72fe58de77b16bf0e1df425a280b89
[ "BSD-3-Clause" ]
1,228
2018-04-25T09:00:48.000Z
2022-03-31T21:42:21.000Z
src/nrnpython/examples/test0.py
niltonlk/nrn
464541abbf72fe58de77b16bf0e1df425a280b89
[ "BSD-3-Clause" ]
134
2018-04-23T09:14:13.000Z
2022-03-16T08:57:11.000Z
from mpi4py import MPI from neuron import h import sys pc = h.ParallelContext() s = "mpi4py thinks I am %d of %d\ \nNEURON thinks I am %d of %d" cw = MPI.COMM_WORLD print s % (cw.rank, cw.size, pc.id(), pc.nhost()) pc.done() # Desired behaviour: ## emuller@drishti ~/hg/nrn_neurens_hg/src/nrnpython/examples $ mpie...
34.358974
105
0.715672
450
2,680
4.215556
0.208889
0.073801
0.094887
0.079072
0.826568
0.826568
0.800738
0.796521
0.796521
0.764365
0
0.077397
0.151493
2,680
77
106
34.805195
0.756816
0.855597
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.111111
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
9
589c0494fc3bbef1bdb0299fa93a7ee6e8ecae6f
13,693
py
Python
platform/software/test/test_taskmanager.py
oika/connect
2486b97256d7adcd130f90d5c3e665d90ef1a39d
[ "Apache-2.0" ]
null
null
null
platform/software/test/test_taskmanager.py
oika/connect
2486b97256d7adcd130f90d5c3e665d90ef1a39d
[ "Apache-2.0" ]
null
null
null
platform/software/test/test_taskmanager.py
oika/connect
2486b97256d7adcd130f90d5c3e665d90ef1a39d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from TaskManager import TaskManager from multiprocessing import Process from Stream import * import logging import unittest import multiprocessing class TestTaskManager(unittest.TestCase): def setUp(self): logging.basicConfig(filename='TaskManager.log', level=logging.DEBUG) ...
49.078853
86
0.634339
2,025
13,693
4.067654
0.044938
0.101979
0.046619
0.093481
0.928129
0.91866
0.918296
0.910404
0.884424
0.839262
0
0.06537
0.200102
13,693
278
87
49.255396
0.686661
0.001534
0
0.670732
0
0
0.088881
0.042502
0
0
0
0
0.49187
1
0.109756
false
0.01626
0.02439
0
0.142276
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
54428dc6c2f021f7e1e0d351ae8de7d30dd16519
15,800
py
Python
gandlf/layers/attention.py
codekansas/gandlf
f3cd5e6885ffd13b5547ead88632b9e81718735b
[ "MIT" ]
51
2017-01-01T09:03:21.000Z
2020-07-12T20:55:44.000Z
gandlf/layers/attention.py
codekansas/gandlf
f3cd5e6885ffd13b5547ead88632b9e81718735b
[ "MIT" ]
5
2017-02-22T09:08:28.000Z
2020-11-13T17:29:56.000Z
gandlf/layers/attention.py
codekansas/gandlf
f3cd5e6885ffd13b5547ead88632b9e81718735b
[ "MIT" ]
9
2017-01-02T09:57:01.000Z
2019-08-27T14:17:15.000Z
import keras import keras.backend as K class RecurrentAttention1D(keras.layers.Wrapper): """Makes a recurrent layer pay attention to an attention tensor. This implementation takes an attention tensor with shape (batch_size, num_features). On each recurrent step, the hidden state is weighted by the a ...
45.402299
79
0.585253
1,883
15,800
4.715879
0.117897
0.048649
0.015203
0.025338
0.853378
0.838063
0.833671
0.826351
0.814077
0.798086
0
0.003015
0.328354
15,800
347
80
45.533141
0.833773
0.218861
0
0.739726
0
0
0.125269
0
0
0
0
0
0.009132
1
0.077626
false
0.018265
0.009132
0
0.155251
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
54561e302f6ea70471fa782e59f0039f4fc6a2b7
12,130
py
Python
tests/providers/google/cloud/sensors/test_dataflow.py
emilioego/airflow
3457c7847cd24413ff5b622e65c27d8370f94502
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
79
2021-10-15T07:32:27.000Z
2022-03-28T04:10:19.000Z
tests/providers/google/cloud/sensors/test_dataflow.py
emilioego/airflow
3457c7847cd24413ff5b622e65c27d8370f94502
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
153
2021-10-15T05:23:46.000Z
2022-02-23T06:07:10.000Z
tests/providers/google/cloud/sensors/test_dataflow.py
emilioego/airflow
3457c7847cd24413ff5b622e65c27d8370f94502
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
23
2021-10-15T02:36:37.000Z
2022-03-17T02:59:27.000Z
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
40.433333
110
0.700247
1,463
12,130
5.350649
0.10663
0.046755
0.034492
0.033725
0.83048
0.817067
0.805187
0.776444
0.768906
0.750766
0
0.000856
0.229514
12,130
299
111
40.568562
0.836722
0.061995
0
0.715447
0
0
0.079754
0.046391
0
0
0
0
0.109756
1
0.028455
false
0
0.02439
0
0.069106
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
545eecc1642180f4b6160931210a780cbf492a2c
3,818
py
Python
system/t12_api/files.py
kchida/aptly
07165efc9d4bcd7018031787f27e70c2d8ecb8b9
[ "MIT" ]
1
2018-03-05T16:42:00.000Z
2018-03-05T16:42:00.000Z
system/t12_api/files.py
kchida/aptly
07165efc9d4bcd7018031787f27e70c2d8ecb8b9
[ "MIT" ]
null
null
null
system/t12_api/files.py
kchida/aptly
07165efc9d4bcd7018031787f27e70c2d8ecb8b9
[ "MIT" ]
2
2019-04-23T14:57:16.000Z
2021-04-10T23:51:20.000Z
from api_lib import APITest class FilesAPITestUpload(APITest): """ POST /files/:dir """ def check(self): d = self.random_name() resp = self.upload("/api/files/" + d, "pyspi_0.6.1-1.3.dsc") self.check_equal(resp.status_code, 200) self.check_equal(resp.json(), [d + '/pys...
38.565657
122
0.597695
589
3,818
3.726655
0.086587
0.143508
0.197722
0.083827
0.83918
0.815034
0.810478
0.767198
0.742597
0.711617
0
0.062419
0.194343
3,818
98
123
38.959184
0.65117
0.037716
0
0.45614
0
0
0.226515
0.052251
0
0
0
0
0
1
0.087719
false
0
0.017544
0
0.192982
0
0
0
0
null
0
1
0
1
1
1
1
1
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
7
545f53919d21a691b8d4ff743689b87b24c56beb
676,960
py
Python
tests/test_nist_meta_4000.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
tests/test_nist_meta_4000.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
tests/test_nist_meta_4000.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from tests.utils import assert_bindings def test_list_date_time_min_length_1_nistxml_sv_iv_list_date_time_min_length_2_1(mode, save_output, output_format): """ Type list/dateTime is restricted by facet minLength with value 6. """ assert_bindings( schema="nistData/list/dateTime/Schema+Instance/...
41.147581
131
0.719976
87,031
676,960
5.337857
0.004516
0.025831
0.051662
0.064577
0.999927
0.999927
0.998259
0.998259
0.997774
0.997774
0
0.023129
0.169093
676,960
16,451
132
41.150082
0.802767
0.123292
0
0.714222
0
0.178555
0.391446
0.370638
0
0
0
0
0.089367
1
0.089278
false
0
0.000089
0
0.089367
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
54c22a4a89d49d681a3084b3fcfbf5b1bbae65c2
89
py
Python
blueqat/photonqat/__init__.py
minatoyuichiro/Blueqat
1be0150ca48bf40527936561d1bf4687dbf435b4
[ "Apache-2.0" ]
25
2018-09-16T22:54:48.000Z
2019-02-22T01:21:30.000Z
blueqat/photonqat/__init__.py
mdrft/blueqat
6c5f26b377bc3ce0d02adec8b9132d70870b3d95
[ "Apache-2.0" ]
22
2018-09-20T02:47:56.000Z
2019-02-08T05:25:30.000Z
blueqat/photonqat/__init__.py
mdrft/blueqat
6c5f26b377bc3ce0d02adec8b9132d70870b3d95
[ "Apache-2.0" ]
5
2019-12-14T08:39:03.000Z
2021-06-30T06:51:24.000Z
from photonqat.Gaussian import * from photonqat.Fock import * from photonqat.opt import *
29.666667
32
0.808989
12
89
6
0.5
0.541667
0.527778
0
0
0
0
0
0
0
0
0
0.123596
89
3
33
29.666667
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
b73926421442db6df078da8a88ff2ecf727e2a81
8,303
py
Python
tests/chainerx_tests/unit_tests/routines_tests/test_explog.py
zaltoprofen/chainer
3b03f9afc80fd67f65d5e0395ef199e9506b6ee1
[ "MIT" ]
3,705
2017-06-01T07:36:12.000Z
2022-03-30T10:46:15.000Z
tests/chainerx_tests/unit_tests/routines_tests/test_explog.py
zaltoprofen/chainer
3b03f9afc80fd67f65d5e0395ef199e9506b6ee1
[ "MIT" ]
5,998
2017-06-01T06:40:17.000Z
2022-03-08T01:42:44.000Z
tests/chainerx_tests/unit_tests/routines_tests/test_explog.py
zaltoprofen/chainer
3b03f9afc80fd67f65d5e0395ef199e9506b6ee1
[ "MIT" ]
1,150
2017-06-02T03:39:46.000Z
2022-03-29T02:29:32.000Z
import chainer import chainerx import numpy from chainerx_tests import math_utils from chainerx_tests import op_utils @op_utils.op_test(['native:0', 'cuda:0']) @chainer.testing.parameterize(*( chainer.testing.product([ chainer.testing.from_pytest_parameterize( 'shape', [ (2, 2...
31.570342
77
0.592196
1,042
8,303
4.456814
0.086372
0.096469
0.099483
0.075797
0.875108
0.851852
0.851852
0.851852
0.851852
0.851852
0
0.029783
0.235698
8,303
262
78
31.69084
0.702017
0.05215
0
0.77619
0
0
0.172018
0.049057
0
0
0
0
0
1
0.052381
false
0
0.02381
0.033333
0.166667
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
3fe430dbf2b597b291fce0d83e69b38cabba3459
8,068
py
Python
src/cosmosdb-preview/azext_cosmosdb_preview/_help.py
ConnectionMaster/azure-cli-extensions
08d184f4efeac397c1ffcd21a83d651f4fad2782
[ "MIT" ]
2
2021-06-05T17:51:26.000Z
2021-11-17T11:17:56.000Z
src/cosmosdb-preview/azext_cosmosdb_preview/_help.py
ConnectionMaster/azure-cli-extensions
08d184f4efeac397c1ffcd21a83d651f4fad2782
[ "MIT" ]
1
2020-06-12T01:39:40.000Z
2020-06-12T01:39:40.000Z
src/cosmosdb-preview/azext_cosmosdb_preview/_help.py
ConnectionMaster/azure-cli-extensions
08d184f4efeac397c1ffcd21a83d651f4fad2782
[ "MIT" ]
null
null
null
# coding=utf-8 # -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -----------------------------------------------------...
54.513514
381
0.746282
1,039
8,068
5.794033
0.184793
0.043854
0.032392
0.045847
0.80598
0.760299
0.737375
0.734718
0.700831
0.66196
0
0.017745
0.154809
8,068
147
382
54.884354
0.865083
0.046976
0
0.557377
0
0.180328
0.94741
0.118589
0
0
0
0
0
1
0
true
0
0.008197
0
0.008197
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
8
b767b807e1f902dbac9b58afc5f854bc3ba952b3
9,333
py
Python
bg_api/views/page.py
sluggard6/bgirl
3c9fa895189ef16442694830d0c05cf60ee5187b
[ "Apache-2.0" ]
null
null
null
bg_api/views/page.py
sluggard6/bgirl
3c9fa895189ef16442694830d0c05cf60ee5187b
[ "Apache-2.0" ]
null
null
null
bg_api/views/page.py
sluggard6/bgirl
3c9fa895189ef16442694830d0c05cf60ee5187b
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- from flask import Blueprint, request, g, render_template from bg_biz.service.pic_service import pic_build from bg_biz.orm.page import PageModule, PageContent __author__ = [ 'sluggrd' ] PageView = Blueprint('page', __name__) @PageView.route('/<page>', methods=['GET', 'POST']) def page(page...
44.232227
155
0.355834
828
9,333
3.937198
0.109903
0.101227
0.134969
0.15184
0.824233
0.824233
0.824233
0.816258
0.816258
0.816258
0
0.200256
0.498661
9,333
211
156
44.232227
0.496474
0.002143
0
0
0
0
0.042289
0
0
0
0
0
0
1
0.047619
false
0
0.142857
0
0.238095
0.095238
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
4d0f7c49714f332f1b20230e496b191a6841b5c8
130
py
Python
skl2onnx/algebra/_cache/__init__.py
xiaowuhu/sklearn-onnx
e85674a67a0a043e19c2ffe181e5d31eca8ce40b
[ "Apache-2.0" ]
1
2021-12-13T18:00:56.000Z
2021-12-13T18:00:56.000Z
skl2onnx/algebra/_cache/__init__.py
xiaowuhu/sklearn-onnx
e85674a67a0a043e19c2ffe181e5d31eca8ce40b
[ "Apache-2.0" ]
null
null
null
skl2onnx/algebra/_cache/__init__.py
xiaowuhu/sklearn-onnx
e85674a67a0a043e19c2ffe181e5d31eca8ce40b
[ "Apache-2.0" ]
2
2020-08-20T06:27:36.000Z
2021-09-06T09:09:50.000Z
# SPDX-License-Identifier: Apache-2.0 import os def cache_folder(): return os.path.abspath(os.path.dirname(__file__))
18.571429
54
0.707692
19
130
4.578947
0.842105
0.137931
0
0
0
0
0
0
0
0
0
0.018349
0.161538
130
6
55
21.666667
0.779817
0.269231
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
4d24a7cbe2d51988a0a151d719ef295d32b818e7
2,431
py
Python
project/application/views.py
vicinityh2020/vicinity-vas-energy-monitoring
1ffb51868abcc1b5b52ef27a056ba278cd0f7f65
[ "MIT" ]
null
null
null
project/application/views.py
vicinityh2020/vicinity-vas-energy-monitoring
1ffb51868abcc1b5b52ef27a056ba278cd0f7f65
[ "MIT" ]
3
2020-06-05T19:06:48.000Z
2021-06-10T20:58:13.000Z
project/application/views.py
vicinityh2020/vicinity-vas-energy-monitoring
1ffb51868abcc1b5b52ef27a056ba278cd0f7f65
[ "MIT" ]
null
null
null
import pendulum from django.http import JsonResponse # Create your views here. from application.models import SensorUsage def water_usage(request, **kwargs): response_obj = { "units": "l", "data": [], "labels": [] } period = kwargs['period'] dt = pendulum.from_timestamp(kwarg...
30.012346
87
0.580831
248
2,431
5.596774
0.241935
0.063401
0.095101
0.060519
0.907061
0.907061
0.907061
0.902017
0.902017
0.902017
0
0
0.290004
2,431
81
88
30.012346
0.804171
0.009461
0
0.80597
0
0
0.162858
0.034067
0
0
0
0
0
1
0.029851
false
0
0.044776
0
0.164179
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4d42c11b7be8e1585a2e43c15c476b556a5ecfcf
114,899
py
Python
sdk/python/pulumi_aws/emr/outputs.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/emr/outputs.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/emr/outputs.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
49.891012
594
0.69233
13,266
114,899
5.784788
0.038369
0.014047
0.021514
0.031443
0.863645
0.844334
0.832267
0.802648
0.801358
0.792419
0
0.004362
0.225885
114,899
2,302
595
49.912685
0.858429
0.362753
0
0.778547
1
0.018685
0.222148
0.120808
0
0
0
0
0
1
0.165398
false
0.015917
0.004152
0.002768
0.316263
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
4d8093a7d7df0ff498e32e1fcd3e16da77190084
11,687
py
Python
cpims/cpovc_dashboard/queries.py
sizler20/cpims_update
23b86e40ca779b751383e268ad4fbf6a321ab211
[ "MIT" ]
null
null
null
cpims/cpovc_dashboard/queries.py
sizler20/cpims_update
23b86e40ca779b751383e268ad4fbf6a321ab211
[ "MIT" ]
null
null
null
cpims/cpovc_dashboard/queries.py
sizler20/cpims_update
23b86e40ca779b751383e268ad4fbf6a321ab211
[ "MIT" ]
1
2022-02-27T13:36:47.000Z
2022-02-27T13:36:47.000Z
QUERIES = {} QUERIES['1A'] = ''' SELECT count(distinct(cpims_ovc_id)) as dcount, gender as sex_id, agerange from vw_cpims_registration {ocbos} {oareas} {odate} group by gender, agerange ''' QUERIES['1B'] = ''' SELECT count(distinct(cpims_ovc_id)) as dcount, gender as sex_id, CASE exit_status WHEN 'ACTIVE' THEN 'Activ...
33.973837
78
0.786772
1,933
11,687
4.51164
0.072944
0.066965
0.083706
0.060544
0.901617
0.875817
0.85942
0.845545
0.83878
0.836487
0
0.009225
0.11885
11,687
343
79
34.072886
0.837638
0
0
0.675926
0
0
0.963121
0.242492
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4dcc1c95e3f1d9c3c8ffa56288eb95a0bb6375ac
28,754
py
Python
jet-python/build/lib.linux-x86_64-2.7/jnpr/jet/routing_prpd_common/ttypes.py
Juniper/vmx-docker-lwaftr
ebbedad67d8acd74f4a305a0a4ad6bf2ed716e7e
[ "Apache-2.0" ]
31
2016-11-22T06:17:37.000Z
2022-01-10T05:41:02.000Z
jet-python/build/lib.linux-x86_64-2.7/jnpr/jet/routing_prpd_common/ttypes.py
Juniper/vmx-docker-lwaftr
ebbedad67d8acd74f4a305a0a4ad6bf2ed716e7e
[ "Apache-2.0" ]
2
2016-12-20T13:53:57.000Z
2017-03-27T20:10:07.000Z
jet-python/lib/jnpr/jet/routing_prpd_common/ttypes.py
Juniper/vmx-docker-lwaftr
ebbedad67d8acd74f4a305a0a4ad6bf2ed716e7e
[ "Apache-2.0" ]
8
2017-01-31T22:18:18.000Z
2020-02-05T10:33:23.000Z
# # Autogenerated by Thrift Compiler (0.9.1) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # from thrift.Thrift import TType, TMessageType, TException, TApplicationException import jnpr.jet.jnxBase_jnx_addr.ttypes from thrift.transport import TTransport from thrift.prot...
30.818864
188
0.662864
3,394
28,754
5.334708
0.044785
0.041423
0.034795
0.033801
0.823263
0.794046
0.763172
0.735668
0.725229
0.718712
0
0.009584
0.219796
28,754
932
189
30.851931
0.797495
0.020728
0
0.708049
1
0
0.035647
0.004259
0
0
0
0
0
1
0.114598
false
0
0.006821
0.049113
0.279673
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
12a31b413096175ef7c81cf887753da52716db4d
51,065
py
Python
sdk/python/pulumi_gcp/diagflow/agent.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
121
2018-06-18T19:16:42.000Z
2022-03-31T06:06:48.000Z
sdk/python/pulumi_gcp/diagflow/agent.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
492
2018-06-22T19:41:03.000Z
2022-03-31T15:33:53.000Z
sdk/python/pulumi_gcp/diagflow/agent.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
43
2018-06-19T01:43:13.000Z
2022-03-23T22:43:37.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
53.248175
192
0.666895
6,505
51,065
5.065488
0.05565
0.059755
0.058633
0.050742
0.951534
0.942035
0.929896
0.922096
0.919608
0.902097
0
0.004672
0.249741
51,065
958
193
53.303758
0.855398
0.518222
0
0.795294
1
0
0.106375
0.037947
0
0
0
0
0
1
0.164706
false
0.002353
0.011765
0
0.275294
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
12a4671f1e6b3546be9c5d3619c48024a0d61c20
22,684
py
Python
tests/ip_show_routes_multi_asic_test.py
sumanbrcm/sonic-utilities
9a17108ac0ca55cde9a3e274a328e7d358902d23
[ "Apache-2.0" ]
null
null
null
tests/ip_show_routes_multi_asic_test.py
sumanbrcm/sonic-utilities
9a17108ac0ca55cde9a3e274a328e7d358902d23
[ "Apache-2.0" ]
null
null
null
tests/ip_show_routes_multi_asic_test.py
sumanbrcm/sonic-utilities
9a17108ac0ca55cde9a3e274a328e7d358902d23
[ "Apache-2.0" ]
null
null
null
import os import pytest from click.testing import CliRunner test_path = os.path.dirname(os.path.abspath(__file__)) modules_path = os.path.dirname(test_path) scripts_path = os.path.join(modules_path, "scripts") show_ip_route_multi_asic_display_all_expected_output = """\ Codes: K - kernel route, C - connected, S - sta...
52.027523
97
0.62414
3,308
22,684
4.166566
0.06318
0.030472
0.042951
0.069578
0.928245
0.912138
0.896684
0.87383
0.856708
0.826888
0
0.248115
0.245768
22,684
435
98
52.147126
0.557484
0
0
0.624691
0
0.217284
0.743828
0.037736
0
0
0
0
0.039506
1
0.024691
false
0
0.019753
0
0.046914
0.024691
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
12a59c9b1d0175b81516368bb206b201258aa83d
40
py
Python
audfprint/__init__.py
PurpleMyst/audfprint
98a529e0dffb1529fdc32695d13173d1e6cfab73
[ "MIT" ]
null
null
null
audfprint/__init__.py
PurpleMyst/audfprint
98a529e0dffb1529fdc32695d13173d1e6cfab73
[ "MIT" ]
null
null
null
audfprint/__init__.py
PurpleMyst/audfprint
98a529e0dffb1529fdc32695d13173d1e6cfab73
[ "MIT" ]
null
null
null
# coding=utf-8 from .audfprint import *
13.333333
24
0.725
6
40
4.833333
1
0
0
0
0
0
0
0
0
0
0
0.029412
0.15
40
2
25
20
0.823529
0.3
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
7