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
b4148e67be6824e01ba97baea225f230e740a0ba
24,740
py
Python
src/Wizard-button/main.py
Creeperererer/PygameProjects
07f36e6c517663e27bb32cf7e5a1e8be91171232
[ "Apache-2.0" ]
null
null
null
src/Wizard-button/main.py
Creeperererer/PygameProjects
07f36e6c517663e27bb32cf7e5a1e8be91171232
[ "Apache-2.0" ]
null
null
null
src/Wizard-button/main.py
Creeperererer/PygameProjects
07f36e6c517663e27bb32cf7e5a1e8be91171232
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'main.ui' # # Created by: PyQt5 UI code generator 5.15.6 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtGui, ...
53.434125
104
0.672878
2,643
24,740
6.097616
0.07151
0.23306
0.165053
0.051378
0.777798
0.756143
0.639675
0.236535
0.231323
0.231323
0
0.035395
0.181205
24,740
462
105
53.549784
0.760182
0.010873
0
0.357143
1
0
0.091158
0
0
0
0
0
0
1
0.004464
false
0
0.002232
0
0.008929
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b43948c15a216901113e7151514c55351084c6a3
60,235
py
Python
arch/tests/univariate/test_volatility.py
ahmeddeladly/arch
20774dce296af3716c44ecd50716d368634acbba
[ "NCSA" ]
1
2022-03-29T22:12:54.000Z
2022-03-29T22:12:54.000Z
arch/tests/univariate/test_volatility.py
ahmeddeladly/arch
20774dce296af3716c44ecd50716d368634acbba
[ "NCSA" ]
null
null
null
arch/tests/univariate/test_volatility.py
ahmeddeladly/arch
20774dce296af3716c44ecd50716d368634acbba
[ "NCSA" ]
null
null
null
import types from typing import NamedTuple import warnings import numpy as np from numpy.random import RandomState from numpy.testing import ( assert_allclose, assert_almost_equal, assert_array_equal, assert_equal, ) import pytest from scipy.special import gamma, gammaln from arch.univariate import Ze...
33.334256
88
0.631294
8,991
60,235
4.067734
0.036147
0.010773
0.008777
0.005906
0.798075
0.745085
0.70481
0.673147
0.652038
0.61272
0
0.054202
0.218345
60,235
1,806
89
33.352713
0.722575
0.002009
0
0.600128
0
0
0.017917
0.000732
0
0
0
0.000554
0.228407
1
0.024312
false
0
0.009597
0
0.039028
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b44f7d5afa1b771e253c03f23491eed6ec00a07d
512
py
Python
Scripts/isotope_reference.py
dblyon/protover
67b4003c7a59e50f852d2d49058bf2c1447b80a4
[ "MIT" ]
null
null
null
Scripts/isotope_reference.py
dblyon/protover
67b4003c7a59e50f852d2d49058bf2c1447b80a4
[ "MIT" ]
null
null
null
Scripts/isotope_reference.py
dblyon/protover
67b4003c7a59e50f852d2d49058bf2c1447b80a4
[ "MIT" ]
null
null
null
isotope_reference={"C": {'12C': (0.989, 12.0), '13C': (0.011, 13.003355)}, "H": {'1H': (0.999885, 1.007825), '2H': (0.000115, 2.014102)}, "N": {'14N': (0.99634, 14.003074), '15N': (0.00366, 15.000109)}, "O": {'16O': (0.99762, 15.994915), "17O": (0.00038, 16.99913...
73.142857
136
0.445313
72
512
3.152778
0.805556
0
0
0
0
0
0
0
0
0
0
0.518817
0.273438
512
6
137
85.333333
0.091398
0
0
0
0
0
0.082031
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
3
b45d0f61d35fdf0afacf5b1c5d6c046631bed2e9
340
py
Python
tests/test/o2jam/test_hit.py
Eve-ning/reamber_base_py
6d19c84f2c110b60e633b82b73e0516396466f56
[ "MIT" ]
10
2020-06-28T11:16:36.000Z
2021-08-09T21:41:43.000Z
tests/test/o2jam/test_hit.py
Eve-ning/reamberPy
6d19c84f2c110b60e633b82b73e0516396466f56
[ "MIT" ]
35
2020-06-18T13:05:50.000Z
2022-02-18T10:13:35.000Z
tests/test/o2jam/test_hit.py
Eve-ning/reamber_base_py
6d19c84f2c110b60e633b82b73e0516396466f56
[ "MIT" ]
2
2021-05-26T17:05:06.000Z
2021-06-12T18:42:13.000Z
import pandas as pd from reamber.o2jam import O2JHit from tests.test.o2jam.test_fixture import o2j_mapset def test_type(o2j_mapset): assert isinstance(o2j_mapset[0].hits[0], O2JHit) def test_from_series(): hit = O2JHit.from_series(pd.Series(dict(offset=1000, column=1, volume=2, pan=3))) assert O2JHit(10...
26.153846
85
0.738235
57
340
4.263158
0.526316
0.111111
0
0
0
0
0
0
0
0
0
0.085616
0.141176
340
12
86
28.333333
0.746575
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
b46222500e2012e80304b0a50902d8baa1dade55
933
py
Python
version-check.py
kmille/proxy.py
8d2168d73ce55ccfe04f4bba738cbb56f30e9b8c
[ "BSD-3-Clause" ]
null
null
null
version-check.py
kmille/proxy.py
8d2168d73ce55ccfe04f4bba738cbb56f30e9b8c
[ "BSD-3-Clause" ]
null
null
null
version-check.py
kmille/proxy.py
8d2168d73ce55ccfe04f4bba738cbb56f30e9b8c
[ "BSD-3-Clause" ]
null
null
null
""" proxy.py ~~~~~~~~ ⚡⚡⚡ Fast, Lightweight, Programmable, TLS interception capable proxy server for Application debugging, testing and development. :copyright: (c) 2013-present by Abhinav Singh and contributors. :license: BSD, see LICENSE for more details. """ import sys from proxy.common.vers...
35.884615
93
0.726688
136
933
4.875
0.683824
0.045249
0.045249
0.060332
0
0
0
0
0
0
0
0.013228
0.189711
933
25
94
37.32
0.859788
0.669882
0
0
0
0
0.175373
0
0
0
0
0.04
0
1
0
true
0
0.5
0
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
1
0
0
0
0
3
b489c47df41beaa19b9adbb66127214480630241
294
py
Python
chi/server_api_examples.py
ChameleonCloud/python-chi
82c926f5dd50501b6d893ed33ebd48ed7f1565a1
[ "Apache-2.0" ]
null
null
null
chi/server_api_examples.py
ChameleonCloud/python-chi
82c926f5dd50501b6d893ed33ebd48ed7f1565a1
[ "Apache-2.0" ]
13
2021-01-25T19:47:06.000Z
2021-09-02T16:03:31.000Z
chi/server_api_examples.py
ChameleonCloud/python-chi
82c926f5dd50501b6d893ed33ebd48ed7f1565a1
[ "Apache-2.0" ]
1
2020-03-16T17:02:24.000Z
2020-03-16T17:02:24.000Z
# DEPRECATED # This module is an alias to the server module and should not be used. # It is temporarily left in place so that existing references do not break. from .server import * print(""" The 'server_api_examples' module is deprecated! Use the 'server' module directly going forward. """)
29.4
75
0.758503
46
294
4.804348
0.73913
0.122172
0.135747
0
0
0
0
0
0
0
0
0
0.170068
294
9
76
32.666667
0.905738
0.520408
0
0
0
0
0.708029
0.153285
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
81eaecccabfa7735516255ad2c126acbead89516
1,339
py
Python
fastrl/agents/dqn/double.py
josiahls/fastrl
5608cd2c9e1126b7dfa733f76016cd2973fb14d5
[ "Apache-2.0" ]
20
2021-02-26T23:57:26.000Z
2022-02-05T20:42:56.000Z
fastrl/agents/dqn/double.py
josiahls/fastrl
5608cd2c9e1126b7dfa733f76016cd2973fb14d5
[ "Apache-2.0" ]
1
2022-02-19T20:54:37.000Z
2022-02-19T20:54:37.000Z
fastrl/agents/dqn/double.py
josiahls/fastrl
5608cd2c9e1126b7dfa733f76016cd2973fb14d5
[ "Apache-2.0" ]
1
2021-02-13T04:06:06.000Z
2021-02-13T04:06:06.000Z
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/10c_agents.dqn.double.ipynb (unless otherwise specified). __all__ = ['DoubleDQNTrainer'] # Cell # Python native modules import os from collections import deque # Third party libs import torch from torch.nn import * from fastcore.all import * from fastai.learner import *...
35.236842
108
0.707244
204
1,339
4.514706
0.397059
0.108578
0.06949
0.060803
0.193268
0.06949
0.06949
0.06949
0
0
0
0.008772
0.148618
1,339
38
109
35.236842
0.799123
0.123973
0
0
1
0
0.048843
0
0
0
0
0
0
1
0.034483
false
0
0.517241
0
0.586207
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
c305323de370b64ca0e190fc479bf575d8e40d00
4,860
py
Python
app/app/settings.py
mydjangoprojects/recipe-app-api
95f402e825b3bd22d1f2c63bf3de113e8c9044d7
[ "MIT" ]
1
2020-04-28T00:11:09.000Z
2020-04-28T00:11:09.000Z
app/app/settings.py
mydjangoprojects/recipe-app-api
95f402e825b3bd22d1f2c63bf3de113e8c9044d7
[ "MIT" ]
null
null
null
app/app/settings.py
mydjangoprojects/recipe-app-api
95f402e825b3bd22d1f2c63bf3de113e8c9044d7
[ "MIT" ]
null
null
null
""" Django settings for app project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Bui...
25.851064
91
0.707202
544
4,860
6.154412
0.384191
0.06601
0.040621
0.05227
0.135902
0.126344
0.079749
0.079749
0.035842
0
0
0.007622
0.163169
4,860
188
92
25.851064
0.815589
0.254321
0
0.017391
1
0
0.510147
0.410064
0
0
0
0
0
1
0
false
0.06087
0.008696
0
0.008696
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
c30a6a93b2c73bae0c26d42000533141987e2911
96
py
Python
pyslave/drivers/keithley/__init__.py
NS2LPS/pyslave
adc30a4f762f42811587be1f10b08f1d2865098e
[ "MIT" ]
1
2020-10-01T15:12:12.000Z
2020-10-01T15:12:12.000Z
pyslave/drivers/keithley/__init__.py
NS2LPS/pyslave
adc30a4f762f42811587be1f10b08f1d2865098e
[ "MIT" ]
null
null
null
pyslave/drivers/keithley/__init__.py
NS2LPS/pyslave
adc30a4f762f42811587be1f10b08f1d2865098e
[ "MIT" ]
null
null
null
__drivers__ = {'KEITHLEY INSTRUMENTS INC. MODEL 2700' : 'keithley.Keithley2700.Keithley2700',}
32
94
0.770833
9
96
7.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0.139535
0.104167
96
2
95
48
0.674419
0
0
0
0
0
0.736842
0.357895
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c30b94798b6a89cdb539b97d313606632cc537f6
730
py
Python
datadog_checks_dev/datadog_checks/dev/tooling/commands/meta/__init__.py
nicbono/integrations-core
82d2e7600328a0e7b4fd1f1c9365596a5a4e27a2
[ "BSD-3-Clause" ]
null
null
null
datadog_checks_dev/datadog_checks/dev/tooling/commands/meta/__init__.py
nicbono/integrations-core
82d2e7600328a0e7b4fd1f1c9365596a5a4e27a2
[ "BSD-3-Clause" ]
null
null
null
datadog_checks_dev/datadog_checks/dev/tooling/commands/meta/__init__.py
nicbono/integrations-core
82d2e7600328a0e7b4fd1f1c9365596a5a4e27a2
[ "BSD-3-Clause" ]
null
null
null
# (C) Datadog, Inc. 2018-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import click from ..console import CONTEXT_SETTINGS from .changes import changes from .dashboard import dash from .prometheus import prom from .scripts import scripts from .snmp import snmp ALL_COMMANDS ...
26.071429
92
0.761644
102
730
5.382353
0.647059
0.081967
0
0
0
0
0
0
0
0
0
0.008237
0.168493
730
27
93
27.037037
0.896211
0.383562
0
0
0
0
0.06993
0
0
0
0
0
0
1
0.076923
false
0.076923
0.538462
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
c30ef19eb424d012a02237ef089278e09f6e3e5d
187
py
Python
setup.py
EOMMINHO/RLlib_TF2.0
d07be56f095a9dfa0176dc2e411440ddc6a3ca18
[ "MIT" ]
3
2019-11-08T11:43:37.000Z
2019-12-29T09:46:24.000Z
setup.py
EOMMINHO/RLlib_TF2.0
d07be56f095a9dfa0176dc2e411440ddc6a3ca18
[ "MIT" ]
1
2021-08-25T15:41:40.000Z
2021-08-25T15:41:40.000Z
setup.py
EOMMINHO/RLlib_TF2.0
d07be56f095a9dfa0176dc2e411440ddc6a3ca18
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="tf2.0_rllib", py_modules=['tf2rl'], version='0.0.1', description="Deep RL library for tensorflow 2.0", author="Minho Eom", )
20.777778
53
0.652406
27
187
4.444444
0.851852
0
0
0
0
0
0
0
0
0
0
0.053333
0.197861
187
9
54
20.777778
0.746667
0
0
0
0
0
0.340426
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c3189903f6a41406ec19587736c851d124a0f1b8
104
py
Python
acclist/lib/definitions/common.py
ko-naka-3010527/accup-python
e10ff96111be889573d830f4b710d9b8b19e1828
[ "MIT" ]
null
null
null
acclist/lib/definitions/common.py
ko-naka-3010527/accup-python
e10ff96111be889573d830f4b710d9b8b19e1828
[ "MIT" ]
null
null
null
acclist/lib/definitions/common.py
ko-naka-3010527/accup-python
e10ff96111be889573d830f4b710d9b8b19e1828
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- COMMON_STRING = { 'link_go_back_to_acclist': "Go back to account list", }
14.857143
57
0.625
15
104
4
0.8
0.2
0.266667
0
0
0
0
0
0
0
0
0.012048
0.201923
104
6
58
17.333333
0.710843
0.201923
0
0
0
0
0.575
0.2875
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c3205d79fc75727ab3b3ab4b46912aa3cfcf12b4
1,301
py
Python
symphony/cli/pyworkforce/graphql/input/survey_cell_scan_data.py
kyaaqba/magma
fdb7be22a2076f9a9b158c9670a9af6cad68b85f
[ "BSD-3-Clause" ]
null
null
null
symphony/cli/pyworkforce/graphql/input/survey_cell_scan_data.py
kyaaqba/magma
fdb7be22a2076f9a9b158c9670a9af6cad68b85f
[ "BSD-3-Clause" ]
10
2021-03-31T20:19:00.000Z
2022-02-19T07:09:57.000Z
symphony/cli/pyworkforce/graphql/input/survey_cell_scan_data.py
kyaaqba/magma
fdb7be22a2076f9a9b158c9670a9af6cad68b85f
[ "BSD-3-Clause" ]
3
2020-08-20T18:45:34.000Z
2020-08-20T20:18:42.000Z
#!/usr/bin/env python3 # @generated AUTOGENERATED file. Do not Change! from dataclasses import dataclass from datetime import datetime from functools import partial from gql.gql.datetime_utils import DATETIME_FIELD from numbers import Number from typing import Any, Callable, List, Mapping, Optional from dataclasses_j...
33.358974
70
0.75711
145
1,301
6.737931
0.413793
0.123849
0.168884
0
0
0
0
0
0
0
0
0.000921
0.165257
1,301
38
71
34.236842
0.898711
0.051499
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0.290323
0
0.967742
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
c3288635ebcbccaae4035c82351c394bdc022ae3
1,089
py
Python
9-5.py
Holaplace/path_to_python
8fae2aca8d6da04c39a67514948fdf50e883750a
[ "MIT" ]
1
2019-02-06T01:49:18.000Z
2019-02-06T01:49:18.000Z
9-5.py
Holaplace/path_to_python
8fae2aca8d6da04c39a67514948fdf50e883750a
[ "MIT" ]
null
null
null
9-5.py
Holaplace/path_to_python
8fae2aca8d6da04c39a67514948fdf50e883750a
[ "MIT" ]
null
null
null
class User(): def __init__(self,first_name,last_name): self.first_name = first_name self.last_name = last_name self.login_attempts =0 def describe_user(self): print('User_name: ' + self.first_name.title() + ' ' + self.last_name...
28.657895
66
0.625344
127
1,089
5.015748
0.204724
0.326531
0.310832
0.326531
0.66719
0.66719
0.472527
0.472527
0.472527
0.353218
0
0.003745
0.264463
1,089
38
67
28.657895
0.791511
0
0
0.516129
0
0
0.059829
0
0
0
0
0
0
1
0.16129
false
0
0
0
0.193548
0.129032
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c3380c5102c72861c1a6c97524a0d96d5895e14e
101
py
Python
wonsplash/collects/apps.py
chiwon99881/wonsplash
17d5191296e1a05968ad3fa2bc551269745e8a5a
[ "MIT" ]
null
null
null
wonsplash/collects/apps.py
chiwon99881/wonsplash
17d5191296e1a05968ad3fa2bc551269745e8a5a
[ "MIT" ]
null
null
null
wonsplash/collects/apps.py
chiwon99881/wonsplash
17d5191296e1a05968ad3fa2bc551269745e8a5a
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CollectsConfig(AppConfig): name = 'wonsplash.collects'
16.833333
33
0.772277
11
101
7.090909
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.148515
101
5
34
20.2
0.906977
0
0
0
0
0
0.178218
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c3460309fb4d34128aafac02fd1f42e75857b99b
3,192
py
Python
python/responder.py
xpsurgery/wiki-search
457e595ed4d2ad9104add99b02470d8940efa279
[ "MIT" ]
null
null
null
python/responder.py
xpsurgery/wiki-search
457e595ed4d2ad9104add99b02470d8940efa279
[ "MIT" ]
null
null
null
python/responder.py
xpsurgery/wiki-search
457e595ed4d2ad9104add99b02470d8940efa279
[ "MIT" ]
5
2015-12-21T21:22:38.000Z
2021-05-19T22:41:23.000Z
from request_response import Request, Response from wiki import WikiPage from traverse import DepthFirstTraverser def responder_for(request): if request.request_type == "GET": return WikiPageResponder() elif request.request_type == "POST": if request.data.get("search_text"): if req...
32.571429
116
0.639411
363
3,192
5.493113
0.201102
0.049649
0.03009
0.047643
0.316449
0.215647
0.055166
0.055166
0.055166
0
0
0.004687
0.264724
3,192
98
117
32.571429
0.844908
0.035088
0
0.266667
0
0
0.063394
0
0
0
0
0
0
1
0.226667
false
0.026667
0.04
0.133333
0.626667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c38272c1654114641d9e52cb79cce0b8969c24dc
235
py
Python
models/downloader.py
notapresent/yukata
ca318502f517b0f51236d6fbaf57a1db9a632503
[ "Apache-2.0" ]
null
null
null
models/downloader.py
notapresent/yukata
ca318502f517b0f51236d6fbaf57a1db9a632503
[ "Apache-2.0" ]
null
null
null
models/downloader.py
notapresent/yukata
ca318502f517b0f51236d6fbaf57a1db9a632503
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import from google.appengine.api import urlfetch class Downloader(object): def html(self, url, timeout=5): result = urlfetch.fetch(url=url, deadline=timeout) return result.content
23.5
58
0.73617
30
235
5.6
0.733333
0
0
0
0
0
0
0
0
0
0
0.005208
0.182979
235
9
59
26.111111
0.869792
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
6f21a4bfab01067ffc5b7e9a13a8d150c0a8c462
508
py
Python
tests/conftest.py
barskern/Watson
84f19e8d06ea72db74833c38fb1a0ae8cb531d96
[ "MIT" ]
2,148
2015-03-17T18:16:07.000Z
2022-03-31T21:20:54.000Z
tests/conftest.py
barskern/Watson
84f19e8d06ea72db74833c38fb1a0ae8cb531d96
[ "MIT" ]
402
2015-03-18T22:24:42.000Z
2022-03-28T14:55:40.000Z
tests/conftest.py
barskern/Watson
84f19e8d06ea72db74833c38fb1a0ae8cb531d96
[ "MIT" ]
281
2015-09-17T14:07:43.000Z
2022-03-25T02:20:20.000Z
"""Provide fixtures for pytest-based unit tests.""" from click.testing import CliRunner import pytest from watson import Watson @pytest.fixture def config_dir(tmpdir): return str(tmpdir.mkdir('config')) @pytest.fixture def watson(config_dir): return Watson(config_dir=config_dir) @pytest.fixture def runn...
18.142857
69
0.748031
68
508
5.5
0.441176
0.120321
0.171123
0.117647
0
0
0
0
0
0
0
0
0.147638
508
27
70
18.814815
0.863741
0.206693
0
0.266667
0
0
0.015306
0
0
0
0
0
0
1
0.266667
false
0
0.2
0.2
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6f2416ede4f0d8fa6107415a4a81f67fe3ad7976
946
py
Python
blaze/compute/dynd.py
vitan/blaze
0cddb630ad1cf6be3967943337529adafa006ef5
[ "BSD-3-Clause" ]
1
2015-11-06T00:46:56.000Z
2015-11-06T00:46:56.000Z
blaze/compute/dynd.py
vitan/blaze
0cddb630ad1cf6be3967943337529adafa006ef5
[ "BSD-3-Clause" ]
null
null
null
blaze/compute/dynd.py
vitan/blaze
0cddb630ad1cf6be3967943337529adafa006ef5
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import, division, print_function from dynd import nd from ..expr import * from .core import base, compute from ..dispatch import dispatch from ..api.into import into __all__ = 'nd', @dispatch(Slice, nd.array) def compute_up(expr, data, **kwargs): return data[expr.index] @dispa...
20.12766
73
0.686047
151
946
4.152318
0.298013
0.089314
0.133971
0.162679
0.437002
0.437002
0.425837
0.425837
0.382775
0.15311
0
0.001261
0.161734
946
46
74
20.565217
0.789407
0
0
0.310345
0
0
0.002114
0
0
0
0
0
0
1
0.241379
false
0
0.206897
0.206897
0.689655
0.034483
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
6f25055bf675b283cc3376ad86a0c9a6b4728dd2
170
py
Python
plugins/scripting/python3/data/signature.py
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
5
2018-05-16T14:09:34.000Z
2019-10-24T19:01:15.000Z
plugins/scripting/python3/data/signature.py
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
71
2017-06-20T06:41:42.000Z
2021-01-11T11:18:53.000Z
plugins/scripting/python3/data/signature.py
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
2
2018-05-16T13:57:25.000Z
2018-05-16T13:57:51.000Z
import inspect def get(fn): sign = inspect.signature(fn) pars = sign.parameters return ({pars[k].name : pars[k].annotation for k in pars}, sign.return_annotation)
21.25
83
0.717647
26
170
4.653846
0.576923
0.132231
0
0
0
0
0
0
0
0
0
0
0.152941
170
8
84
21.25
0.840278
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6f5ff41dee0c32b8fb3f39ba2806d4ae91c299eb
246
py
Python
setup.py
fladi/mock
7a9cba1d47a6ef32ddb5e2b744c21c12eec3a2ab
[ "BSD-2-Clause" ]
554
2015-07-10T05:30:06.000Z
2022-03-23T14:04:14.000Z
setup.py
fladi/mock
7a9cba1d47a6ef32ddb5e2b744c21c12eec3a2ab
[ "BSD-2-Clause" ]
294
2015-07-10T08:58:14.000Z
2021-12-19T12:41:47.000Z
setup.py
fladi/mock
7a9cba1d47a6ef32ddb5e2b744c21c12eec3a2ab
[ "BSD-2-Clause" ]
132
2015-04-26T09:46:07.000Z
2022-02-28T16:43:26.000Z
import re from os.path import join import setuptools setuptools.setup( version=re.search("__version__ = '([^']+)'", open(join('mock', '__init__.py')).read()).group(1), long_description=open('README.rst').read(), )
22.363636
73
0.609756
29
246
4.862069
0.724138
0
0
0
0
0
0
0
0
0
0
0.005051
0.195122
246
10
74
24.6
0.707071
0
0
0
0
0
0.195122
0
0
0
0
0
0
1
0
true
0
0.375
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
6f605d57188b8f59365bbc1dece18c352afac809
126
py
Python
envs/__init__.py
johannesruetten/ChargingEnvironment
5624e2cf33681704f366e852d0ee9ed0908c7e61
[ "MIT" ]
3
2021-03-22T14:00:37.000Z
2022-03-26T13:39:09.000Z
envs/__init__.py
johannesruetten/ChargingEnvironment
5624e2cf33681704f366e852d0ee9ed0908c7e61
[ "MIT" ]
null
null
null
envs/__init__.py
johannesruetten/ChargingEnvironment
5624e2cf33681704f366e852d0ee9ed0908c7e61
[ "MIT" ]
null
null
null
from gym.envs.registration import register register(id='ChargingEnv-v0', entry_point='envs.custom_env_dir:ChargingEnv' )
21
49
0.793651
17
126
5.705882
0.823529
0
0
0
0
0
0
0
0
0
0
0.008772
0.095238
126
5
50
25.2
0.842105
0
0
0
0
0
0.357143
0.246032
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
489725ff6982ee9630c996391a7ab9a188f7f807
898
py
Python
app.py
deljuven/TimeseriesPlot-py
27de6fc6875cdc5ff429ffb533b75d2c376d7250
[ "Apache-2.0" ]
null
null
null
app.py
deljuven/TimeseriesPlot-py
27de6fc6875cdc5ff429ffb533b75d2c376d7250
[ "Apache-2.0" ]
null
null
null
app.py
deljuven/TimeseriesPlot-py
27de6fc6875cdc5ff429ffb533b75d2c376d7250
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import sys from preprocess import pre_process from process import process if __name__ == '__main__': args = sys.argv if len(args) < 4: print 'wtf' else: if args[1] == 'pre': if len(args) > 5: pre_process(args[2], args[3], args[4], int(arg...
32.071429
85
0.471047
123
898
3.341463
0.235772
0.097324
0.20438
0.272506
0.540146
0.540146
0.430657
0.430657
0.170316
0.170316
0
0.056995
0.355234
898
27
86
33.259259
0.65285
0.023385
0
0.083333
0
0
0.020571
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.041667
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
48c37277e1095f083596ef7e5fc1450fac603e63
374
py
Python
superset/migrations/versions/979c03af3341_.py
sssswangzi/superset
3ff53b20bbe8ecc80d7dd3bf91d5d7af7c6c43cb
[ "Apache-2.0" ]
18
2018-11-21T16:38:55.000Z
2020-11-26T07:38:24.000Z
superset/migrations/versions/979c03af3341_.py
7nRyan/incubator-superset
5616d7bdd72cb6d41caaf8733823d5d7dbe26abb
[ "Apache-2.0" ]
16
2019-12-30T04:58:10.000Z
2022-03-08T23:41:14.000Z
superset/migrations/versions/979c03af3341_.py
7nRyan/incubator-superset
5616d7bdd72cb6d41caaf8733823d5d7dbe26abb
[ "Apache-2.0" ]
16
2018-09-25T08:16:52.000Z
2020-11-11T05:12:17.000Z
# -*- coding: utf-8 -*- """empty message Revision ID: 979c03af3341 Revises: ('db527d8c4c78', 'ea033256294a') Create Date: 2017-03-21 15:41:34.383808 """ # revision identifiers, used by Alembic. revision = '979c03af3341' down_revision = ('db527d8c4c78', 'ea033256294a') from alembic import op import sqlalchemy as sa ...
15.583333
48
0.703209
45
374
5.822222
0.777778
0.183206
0
0
0
0
0
0
0
0
0
0.226837
0.163102
374
23
49
16.26087
0.610224
0.491979
0
0.25
0
0
0.198895
0
0
0
0
0
0
1
0.25
false
0.25
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
48c63d2cb8b0eabf797384f8fa5699561b6d79e6
1,681
py
Python
IntroProPython/listagem/capitulo 10/10.16 - Classe Nome com propriedades.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
IntroProPython/listagem/capitulo 10/10.16 - Classe Nome com propriedades.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
IntroProPython/listagem/capitulo 10/10.16 - Classe Nome com propriedades.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
############################################################################## # Parte do livro Introdução à Programação com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2017 # Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8 # Primeira reimpressão - Outubro/2011 # Segunda reimpressão - ...
30.017857
78
0.606187
201
1,681
4.890547
0.512438
0.065107
0.09766
0.02645
0.065107
0.065107
0.065107
0
0
0
0
0.060583
0.20464
1,681
55
79
30.563636
0.674645
0.377751
0
0
0
0.038462
0.091848
0
0
0
0
0
0
1
0.307692
false
0
0.038462
0.230769
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
48c88ad168e4c05698123c0ce7b46c0d62ddf5ba
533
py
Python
snakeoil/admin.py
wbcsmarteezgithub/django-snakeoil
ae1a8dab9e14194e48963101ff3349f45aee0ccf
[ "BSD-2-Clause" ]
1
2020-07-03T15:52:25.000Z
2020-07-03T15:52:25.000Z
snakeoil/admin.py
wbcsmarteezgithub/django-snakeoil
ae1a8dab9e14194e48963101ff3349f45aee0ccf
[ "BSD-2-Clause" ]
null
null
null
snakeoil/admin.py
wbcsmarteezgithub/django-snakeoil
ae1a8dab9e14194e48963101ff3349f45aee0ccf
[ "BSD-2-Clause" ]
null
null
null
from __future__ import unicode_literals from django.contrib import admin from .models import SeoUrl from .utils import get_seo_model class SeoAdmin(admin.ModelAdmin): def get_fields(self, request, obj=None): fields = list(super(SeoAdmin, self).get_fields(request, obj)) seo_fields = [field.name f...
26.65
75
0.733583
75
533
5.013333
0.48
0.071809
0.058511
0
0
0
0
0
0
0
0
0
0.187617
533
19
76
28.052632
0.86836
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0.076923
0.307692
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
5b0ded1f26dcbace504ace42687b5de7ffe23073
188
py
Python
OKR/urls.py
krishnashenoy123/sushiksha-website
472038e3934438bcdf2f197e8030a316f0f68687
[ "Apache-2.0" ]
null
null
null
OKR/urls.py
krishnashenoy123/sushiksha-website
472038e3934438bcdf2f197e8030a316f0f68687
[ "Apache-2.0" ]
null
null
null
OKR/urls.py
krishnashenoy123/sushiksha-website
472038e3934438bcdf2f197e8030a316f0f68687
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.view_data, name="okr-view-data"), path('entries/<int:pk>/', views.load_okr, name="okr-view-id"), ]
23.5
66
0.664894
28
188
4.392857
0.571429
0.130081
0.178862
0
0
0
0
0
0
0
0
0
0.143617
188
7
67
26.857143
0.763975
0
0
0
0
0
0.218085
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d28b64657b8ac02acdd454cdc4a9adeef1fbecc2
833
py
Python
examples/color/dims_test.py
dsrim/mats
0a2105f5e05a10785c6936c832a7ace98c8a4b3f
[ "BSD-3-Clause" ]
1
2020-12-05T00:16:20.000Z
2020-12-05T00:16:20.000Z
examples/color/dims_test.py
dsrim/mats
0a2105f5e05a10785c6936c832a7ace98c8a4b3f
[ "BSD-3-Clause" ]
null
null
null
examples/color/dims_test.py
dsrim/mats
0a2105f5e05a10785c6936c832a7ace98c8a4b3f
[ "BSD-3-Clause" ]
null
null
null
# comment out N00,N01,Nt assignments in run_rom.py # replace with N00 += a, N01 += b, Nt += c combs = [(-1,-1,0),(-1,-1,-1),(-1,-1,-2),(-1,-1,-3),\ (-2,-1,0),(-2,-1,-1),(-2,-1,-2),(-2,-1,-3),\ (-2,-2,0),(-2,-2,-1),(-2,-2,-2),(-2,-2,-3),\ (-2,-3,0),(-2,-3,-1),(-2,-3,-2),(-2,-3,-3),\ ...
41.65
53
0.316927
167
833
1.568862
0.191617
0.061069
0.045802
0.030534
0.038168
0
0
0
0
0
0
0.200306
0.214886
833
19
54
43.842105
0.200306
0.106843
0
0
0
0
0.05668
0
0
0
0
0
0
1
0
false
0
0
0
0
0.066667
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d28fc4e4da33678c03835de175ff68adc5c70f2b
902
py
Python
projects/PointRend/point_rend/config.py
tkhe/tkdetection
54e6c112ef2930e755f457e38449736f5743a9ea
[ "MIT" ]
1
2020-10-09T02:27:13.000Z
2020-10-09T02:27:13.000Z
projects/PointRend/point_rend/config.py
tkhe/tkdetection
54e6c112ef2930e755f457e38449736f5743a9ea
[ "MIT" ]
null
null
null
projects/PointRend/point_rend/config.py
tkhe/tkdetection
54e6c112ef2930e755f457e38449736f5743a9ea
[ "MIT" ]
null
null
null
from fvcore.common.config import CfgNode as CN def add_pointrend_config(cfg): cfg.MODEL.ROI_MASK_HEAD.IN_FEATURES = ("p2",) cfg.MODEL.ROI_MASK_HEAD.FC_DIM = 1024 cfg.MODEL.ROI_MASK_HEAD.NUM_FC = 2 cfg.MODEL.ROI_MASK_HEAD.OUTPUT_SIDE_RESOLUTION = 7 cfg.MODEL.ROI_MASK_HEAD.POINT_HEAD_ON = False ...
23.736842
57
0.736142
145
902
4.255172
0.37931
0.220421
0.252836
0.330632
0.432739
0.077796
0
0
0
0
0
0.033201
0.165188
902
37
58
24.378378
0.786189
0
0
0
0
0
0.023282
0
0
0
0
0
0
1
0.052632
false
0
0.105263
0
0.157895
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d29b7217672ba7951f2ef6755fff92e2a88856d5
3,282
py
Python
deps/lib/python3.5/site-packages/mutagen/_senf/_temp.py
jfarmer08/hassio
792a6071a97bb33857c14c9937946233c620035c
[ "MIT" ]
21
2018-12-12T11:19:02.000Z
2021-05-28T05:26:36.000Z
deps/lib/python3.5/site-packages/mutagen/_senf/_temp.py
jfarmer08/hassio
792a6071a97bb33857c14c9937946233c620035c
[ "MIT" ]
4
2017-07-26T20:09:43.000Z
2020-03-06T17:50:43.000Z
deps/lib/python3.5/site-packages/mutagen/_senf/_temp.py
jfarmer08/hassio
792a6071a97bb33857c14c9937946233c620035c
[ "MIT" ]
4
2017-05-01T07:30:08.000Z
2019-07-16T00:31:12.000Z
# -*- coding: utf-8 -*- # Copyright 2016 Christoph Reiter # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify...
33.835052
79
0.691956
449
3,282
5.055679
0.340757
0.031718
0.037004
0.029075
0.412335
0.412335
0.329515
0.329515
0.329515
0.329515
0
0.00704
0.220902
3,282
96
80
34.1875
0.88072
0.686167
0
0.375
0
0
0
0
0
0
0
0.010417
0
1
0.25
false
0
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
d2a9155d17692fde7e44d2396570ce19142ec6da
340
py
Python
scgv/models/model_delegate.py
lchorbadjiev/SCGV
7b2fd1fbada7bea49166e37bcb82bd742617fe51
[ "MIT" ]
8
2017-03-31T19:55:36.000Z
2021-01-22T09:11:40.000Z
scgv/models/model_delegate.py
lchorbadjiev/SCGV
7b2fd1fbada7bea49166e37bcb82bd742617fe51
[ "MIT" ]
null
null
null
scgv/models/model_delegate.py
lchorbadjiev/SCGV
7b2fd1fbada7bea49166e37bcb82bd742617fe51
[ "MIT" ]
2
2019-06-11T09:07:01.000Z
2020-09-25T02:30:22.000Z
''' Created on Feb 28, 2017 @author: lubo ''' # import traceback class ModelDelegate(object): def __init__(self, model): self.model = model def __getattr__(self, name): # print("getattr: ", name, type(getattr(self.model, name))) # traceback.print_stack(limit=5) return getatt...
18.888889
67
0.632353
41
340
5.02439
0.585366
0.174757
0.15534
0.194175
0
0
0
0
0
0
0
0.02682
0.232353
340
17
68
20
0.762452
0.426471
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
d2b51635adcfd3475bf8b4a16799f4879268bada
75
py
Python
PhotoProcessing/main.py
SongToSoft/PhotoProcessing
92401247df6ae5dadc35a210bbc343655330eef7
[ "MIT" ]
2
2019-11-08T00:59:59.000Z
2019-11-25T12:42:29.000Z
PhotoProcessing/main.py
TakingAway/PhotoProcessing
92401247df6ae5dadc35a210bbc343655330eef7
[ "MIT" ]
null
null
null
PhotoProcessing/main.py
TakingAway/PhotoProcessing
92401247df6ae5dadc35a210bbc343655330eef7
[ "MIT" ]
null
null
null
from Window import Window if __name__ == "__main__": window = Window()
18.75
26
0.693333
9
75
4.888889
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.2
75
4
27
18.75
0.733333
0
0
0
0
0
0.105263
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d2b6c937764225487ae63325eabdfbcff2054f10
1,183
py
Python
learning/zhangcheng_web/flask_Learning1.py
Hubert51/AutoGrading
e811722cc8c9e22941272da568a0f42509d60c76
[ "MIT" ]
1
2019-04-20T03:37:11.000Z
2019-04-20T03:37:11.000Z
learning/zhangcheng_web/flask_Learning1.py
Hubert51/AutoGrading
e811722cc8c9e22941272da568a0f42509d60c76
[ "MIT" ]
1
2017-09-22T01:01:53.000Z
2017-10-08T14:57:30.000Z
learning/zhangcheng_web/flask_Learning1.py
Hubert51/AutoGrading
e811722cc8c9e22941272da568a0f42509d60c76
[ "MIT" ]
2
2018-01-30T21:30:52.000Z
2018-11-02T04:17:23.000Z
import flask from flask import Flask, url_for app = Flask(__name__) #the '/*****' tell flask which part trigers the module # if we define the route with a slash in the end, even we enter the URL with without Slash, it direct the user to the page we defined with slash @app.route('/zhangcheng') def noSlash(): return '<...
28.166667
172
0.702451
206
1,183
3.932039
0.417476
0.049383
0.024691
0.032099
0.041975
0
0
0
0
0
0
0.022495
0.173288
1,183
41
173
28.853659
0.805726
0.508876
0
0
0
0
0.264808
0
0
0
0
0
0
1
0.227273
false
0.045455
0.090909
0.227273
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d2cd14d4d7497aa7123c71e1165f67959bb75c9e
16,371
py
Python
visitors.py
ameerwasi001/SocratesPy
3f64e5926aeba21ea60acf9c8183ec9ebaf2ebe4
[ "MIT" ]
null
null
null
visitors.py
ameerwasi001/SocratesPy
3f64e5926aeba21ea60acf9c8183ec9ebaf2ebe4
[ "MIT" ]
null
null
null
visitors.py
ameerwasi001/SocratesPy
3f64e5926aeba21ea60acf9c8183ec9ebaf2ebe4
[ "MIT" ]
null
null
null
import ast import utils from nodes import Var, Term, Fact, BinOp, Conjuction, Goals, Rule, Rules from exceptions import SocraticSyntaxError from functools import * def make_expr(env): return UniqueUnderscore().visit(TermCreator().visit(env)) def make_code_and_validate_nodes(target_name, body, solver_path): valida...
41.340909
131
0.646387
2,174
16,371
4.764029
0.089236
0.060828
0.03138
0.021628
0.53278
0.454765
0.408419
0.36555
0.329922
0.31988
0
0.002591
0.221978
16,371
396
132
41.340909
0.810552
0
0
0.398754
0
0.003115
0.10127
0.028952
0
0
0
0
0
1
0.239875
false
0.006231
0.037383
0.11215
0.501558
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9604452acc76915b6bbd6b5d253b45231502e2e9
200
py
Python
PythonExercicios/Mundo1/ex005.py
leonardocsrod/Python-Curso-em-Video
d61e4f1f0779050d176419de2cec0ef539e48cb3
[ "MIT" ]
null
null
null
PythonExercicios/Mundo1/ex005.py
leonardocsrod/Python-Curso-em-Video
d61e4f1f0779050d176419de2cec0ef539e48cb3
[ "MIT" ]
null
null
null
PythonExercicios/Mundo1/ex005.py
leonardocsrod/Python-Curso-em-Video
d61e4f1f0779050d176419de2cec0ef539e48cb3
[ "MIT" ]
null
null
null
print('=' * 15 + 'Desafio 5' + '=' * 15) number = int(input('Write a number: ')) print('You wrote the number {}, its predecessor is {}, and its successor is {}'.format(number, number - 1, number + 1))
66.666667
119
0.62
29
200
4.275862
0.655172
0.112903
0
0
0
0
0
0
0
0
0
0.042424
0.175
200
3
119
66.666667
0.709091
0
0
0
0
0
0.487562
0
0.333333
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
96079180deabb2eb438e09dbb57382cca57f1a68
2,462
py
Python
renameat2_test.py
jordemort/python-renameat2
2cb7f9ee872652ecca96fc73b961cd2d10b96c1c
[ "MIT" ]
4
2021-05-14T01:25:48.000Z
2021-12-17T14:06:33.000Z
renameat2_test.py
jordemort/python-renameat2
2cb7f9ee872652ecca96fc73b961cd2d10b96c1c
[ "MIT" ]
86
2021-04-21T20:11:10.000Z
2022-03-28T13:13:53.000Z
renameat2_test.py
jordemort/python-renameat2
2cb7f9ee872652ecca96fc73b961cd2d10b96c1c
[ "MIT" ]
null
null
null
import pytest import tempfile from pathlib import Path import renameat2 def test_exchange(): with tempfile.TemporaryDirectory() as tmp: tmp = Path(tmp) apple_path = tmp.joinpath("apple") with open(apple_path, "w") as apple_out: apple_out.write("apple") orange_path = ...
28.627907
88
0.621446
307
2,462
4.758958
0.136808
0.110883
0.082136
0.065708
0.735113
0.731006
0.707734
0.657769
0.657769
0.657769
0
0.002784
0.270512
2,462
85
89
28.964706
0.81069
0
0
0.633333
0
0
0.06905
0
0
0
0
0
0.133333
1
0.066667
false
0
0.066667
0
0.133333
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
960d69f7af77ae4d8878140a3d0dd6728efd1471
194
py
Python
usage.py
kenevil1/fakerlocationer
91f7e930e2c3f6a1fc90e02193d6bf6d811235ab
[ "MIT" ]
null
null
null
usage.py
kenevil1/fakerlocationer
91f7e930e2c3f6a1fc90e02193d6bf6d811235ab
[ "MIT" ]
null
null
null
usage.py
kenevil1/fakerlocationer
91f7e930e2c3f6a1fc90e02193d6bf6d811235ab
[ "MIT" ]
null
null
null
from fakerlocationer import FakerLocationer from selenium import webdriver driver = webdriver.Chrome() driver.get("http://www.mylocation.org") f = FakerLocationer(driver) f.setLocation(50, 50)
24.25
43
0.798969
24
194
6.458333
0.625
0
0
0
0
0
0
0
0
0
0
0.022727
0.092784
194
7
44
27.714286
0.857955
0
0
0
0
0
0.128866
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8253cda263048b4930f54169a6515d1cb057337c
290
py
Python
admitad/client.py
fonar/admitad-python-api
584b1032edb8c6c3b785d07f58a6480fcc0a698d
[ "MIT" ]
28
2016-10-18T15:02:46.000Z
2021-11-11T20:47:44.000Z
admitad/client.py
fonar/admitad-python-api
584b1032edb8c6c3b785d07f58a6480fcc0a698d
[ "MIT" ]
1
2017-10-26T15:34:38.000Z
2017-10-26T15:34:38.000Z
admitad/client.py
fonar/admitad-python-api
584b1032edb8c6c3b785d07f58a6480fcc0a698d
[ "MIT" ]
20
2016-07-01T20:08:22.000Z
2022-02-15T09:28:10.000Z
# coding: utf-8 from __future__ import unicode_literals from admitad import items class Client(object): """The API client.""" def __init__(self, transport): self.transport = transport def __getattr__(self, name): return getattr(items, name)(self.transport)
19.333333
51
0.689655
35
290
5.342857
0.628571
0.208556
0
0
0
0
0
0
0
0
0
0.004367
0.210345
290
14
52
20.714286
0.812227
0.103448
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
825a344c7b432502072c066152869f4b3e62ba6d
107
py
Python
blog/urls.py
GreatRaksin/Django_school_site
1a73f5a31addbcb766362d4eb4cfbf257f0b5f1f
[ "MIT" ]
null
null
null
blog/urls.py
GreatRaksin/Django_school_site
1a73f5a31addbcb766362d4eb4cfbf257f0b5f1f
[ "MIT" ]
null
null
null
blog/urls.py
GreatRaksin/Django_school_site
1a73f5a31addbcb766362d4eb4cfbf257f0b5f1f
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.news, name='blog'), ]
15.285714
38
0.663551
14
107
5.071429
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.186916
107
7
39
15.285714
0.816092
0
0
0
0
0
0.037037
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
827cd233c18d511c63a74ef2630ce78c434b708e
10,978
py
Python
source/gui/test/test_options.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
source/gui/test/test_options.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
1
2022-03-12T12:19:59.000Z
2022-03-12T12:19:59.000Z
source/gui/test/test_options.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
''' Created on May 7, 2014 @author: pascale ''' import unittest import rmodel import logging import glob import rttovgui_unittest_class class Test(rttovgui_unittest_class.RttovGuiUnitTest): def setUp(self): level_logging = logging.DEBUG self.p = rmodel.project.Project() logging.basicCon...
40.810409
78
0.563582
1,189
10,978
5.100084
0.117746
0.109664
0.141491
0.118734
0.824208
0.74192
0.66062
0.622032
0.541062
0.481201
0
0.014964
0.263436
10,978
268
79
40.962687
0.734974
0.002824
0
0.602679
0
0
0.186909
0.06876
0
0
0
0
0.285714
0
null
null
0
0.022321
null
null
0.120536
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
828b081d30ff2dae941fb29ebdc45b00b67a7d68
123
py
Python
Cklib/__init__.py
kamphaus/HPCGrunner
1885ee87bf02bab51cc71d560d86217c79c5f46b
[ "MIT" ]
null
null
null
Cklib/__init__.py
kamphaus/HPCGrunner
1885ee87bf02bab51cc71d560d86217c79c5f46b
[ "MIT" ]
null
null
null
Cklib/__init__.py
kamphaus/HPCGrunner
1885ee87bf02bab51cc71d560d86217c79c5f46b
[ "MIT" ]
null
null
null
# # Init this module # # Set prefix for __all__ # import Workflow import Serie # Provide scope __all__ = ["Cklib"]
10.25
26
0.666667
15
123
4.933333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.243902
123
11
27
11.181818
0.795699
0.463415
0
0
0
0
0.089286
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
828cc6ae148c171b449570b7e07ca40a0fb7755b
20,606
py
Python
tests/test_fchl.py
mikstr/qml
552e273da080a3a1fb9f8c466e4562b7d64ed6bd
[ "MIT" ]
185
2017-04-26T19:57:43.000Z
2022-03-22T03:50:14.000Z
tests/test_fchl.py
FarnazH/qml
552e273da080a3a1fb9f8c466e4562b7d64ed6bd
[ "MIT" ]
61
2017-06-04T11:28:20.000Z
2021-08-02T15:36:07.000Z
tests/test_fchl.py
FarnazH/qml
552e273da080a3a1fb9f8c466e4562b7d64ed6bd
[ "MIT" ]
78
2017-04-25T10:10:17.000Z
2022-03-31T06:51:47.000Z
from __future__ import print_function import os import numpy as np import qml import qml from qml.math import cho_solve from qml.fchl import generate_representation from qml.fchl import get_local_symmetric_kernels from qml.fchl import get_local_kernels from qml.fchl import get_global_symmetric_kernels from qml.fchl...
45.287912
285
0.632874
2,994
20,606
4.276219
0.185371
0.03796
0.032805
0.016246
0.615871
0.582051
0.564321
0.533234
0.52886
0.511755
0
0.434791
0.217461
20,606
454
286
45.387665
0.359194
0.070902
0
0.226115
1
0
0.045543
0
0
0
0
0
0.05414
1
0.019108
false
0
0.041401
0
0.063694
0.006369
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
829daa046e43ab13c0c4357f01bb3071bd434043
761
py
Python
core/dynamics/affine_residual_dynamics.py
PastorD/ensemblempc
e0e7999399368f140c6cc2776860b2087a3fb7f7
[ "MIT" ]
2
2020-12-14T17:16:11.000Z
2021-07-23T09:34:08.000Z
core/dynamics/affine_residual_dynamics.py
PastorD/ensemblempc
e0e7999399368f140c6cc2776860b2087a3fb7f7
[ "MIT" ]
null
null
null
core/dynamics/affine_residual_dynamics.py
PastorD/ensemblempc
e0e7999399368f140c6cc2776860b2087a3fb7f7
[ "MIT" ]
null
null
null
from .affine_dynamics import AffineDynamics from .scalar_dynamics import ScalarDynamics class AffineResidualDynamics(AffineDynamics): def __init__(self, affine_dynamics, drift_res, act_res): self.dynamics = affine_dynamics self.drift_res = drift_res self.act_res = act_res def eval(self...
36.238095
82
0.716163
101
761
5.09901
0.19802
0.031068
0.069903
0.11068
0.32233
0.279612
0.139806
0.139806
0
0
0
0
0.187911
761
21
82
36.238095
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.125
0.1875
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
82d31acf9197dad1e566703c46082bbfa6e6af06
12,661
py
Python
ibmcloud_python_sdk/power/image.py
mor120/ibmcloud-python-sdk
a828c67dd47a12e743774632b923985768e3e21b
[ "Apache-2.0" ]
2
2021-05-31T23:41:34.000Z
2021-09-08T13:49:30.000Z
ibmcloud_python_sdk/power/image.py
jamesregis/ibmcloud-python-sdk
90d00d9ac903c68b1e3084f4aab5f58614cea89b
[ "Apache-2.0" ]
5
2021-07-22T01:31:37.000Z
2022-03-13T08:29:54.000Z
ibmcloud_python_sdk/power/image.py
jamesregis/ibmcloud-python-sdk
90d00d9ac903c68b1e3084f4aab5f58614cea89b
[ "Apache-2.0" ]
4
2021-06-11T15:38:47.000Z
2022-02-27T16:03:27.000Z
import json from ibmcloud_python_sdk.config import params from ibmcloud_python_sdk.utils.common import query_wrapper as qw from ibmcloud_python_sdk.utils.common import resource_not_found from ibmcloud_python_sdk.utils.common import resource_deleted from ibmcloud_python_sdk.utils.common import check_args from ibmcloud_p...
33.9437
78
0.552089
1,419
12,661
4.811135
0.093023
0.021972
0.020507
0.029002
0.788487
0.775743
0.718471
0.691226
0.67233
0.654607
0
0.001223
0.354158
12,661
372
79
34.034946
0.83368
0.288682
0
0.602273
0
0
0.154909
0.023964
0
0
0
0
0
1
0.068182
false
0
0.045455
0
0.289773
0.051136
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
82d3acd3b0aa8075512aecdd1edc0070487d255b
782
py
Python
ADVENT/advent/utils/serialization.py
BinBrent/IntraDA
8acba3671462808cc831bc9da842513b9f742540
[ "MIT" ]
261
2020-04-16T15:34:10.000Z
2022-03-30T08:56:31.000Z
ADVENT/advent/utils/serialization.py
I-Hope-Peace/IntraDA
65a118754b063285f2d93cc66e15b3bb4166328d
[ "MIT" ]
14
2020-05-14T09:03:58.000Z
2021-11-02T05:53:47.000Z
ADVENT/advent/utils/serialization.py
I-Hope-Peace/IntraDA
65a118754b063285f2d93cc66e15b3bb4166328d
[ "MIT" ]
32
2020-04-16T15:35:02.000Z
2021-05-27T07:18:05.000Z
import pickle import json import yaml from pathlib import Path import os def make_parent(file_path): file_path = Path(file_path) os.makedirs(file_path.parent, exist_ok=True) def pickle_dump(python_object, file_path): make_parent(file_path) with open(file_path, 'wb') as f: pickle.dump(python_...
20.578947
61
0.694373
128
782
4
0.265625
0.25
0.117188
0.15625
0.402344
0.402344
0.402344
0.347656
0.347656
0.226563
0
0
0.200767
782
37
62
21.135135
0.8192
0
0
0.08
0
0
0.008951
0
0
0
0
0
0
1
0.24
false
0
0.2
0
0.56
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
82e26316869a230bc93f106cda83a925ba6deb67
72
py
Python
tiktokpy/__init__.py
kingking888/tiktokpy
677d8f9d4d7e2637e106d975171a381c2ce5e022
[ "MIT" ]
1
2021-01-09T07:08:56.000Z
2021-01-09T07:08:56.000Z
tiktokpy/__init__.py
kingking888/tiktokpy
677d8f9d4d7e2637e106d975171a381c2ce5e022
[ "MIT" ]
null
null
null
tiktokpy/__init__.py
kingking888/tiktokpy
677d8f9d4d7e2637e106d975171a381c2ce5e022
[ "MIT" ]
null
null
null
from .bot import TikTokPy __version__ = "0.8.6" __all__ = ["TikTokPy"]
14.4
25
0.694444
10
72
4.2
0.9
0
0
0
0
0
0
0
0
0
0
0.04918
0.152778
72
4
26
18
0.639344
0
0
0
0
0
0.180556
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7d59ebc17a7a5f264292251be4bf0293709480c1
814
py
Python
ecommerce/orders/filters.py
Naoiss/bootcamp
69af141aac8665fcc6eef62d34ea016509fe2e96
[ "MIT" ]
null
null
null
ecommerce/orders/filters.py
Naoiss/bootcamp
69af141aac8665fcc6eef62d34ea016509fe2e96
[ "MIT" ]
null
null
null
ecommerce/orders/filters.py
Naoiss/bootcamp
69af141aac8665fcc6eef62d34ea016509fe2e96
[ "MIT" ]
null
null
null
from django_filters import rest_framework as filters from orders.models import OrderItem, Order, OrderBankAccount, ShippingAddress, BillingAddress class OrderItemFilter(filters.FilterSet): class Meta: model = OrderItem fields = ("order", "product") class OrderFilter(filters.FilterSet): cl...
21.421053
93
0.676904
76
814
7.184211
0.407895
0.14652
0.192308
0.228938
0.358974
0
0
0
0
0
0
0
0.227273
814
38
94
21.421053
0.868045
0
0
0.318182
0
0
0.08589
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.545455
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
7d6b830241194659be2859a9e3da7b2a58b1afb7
871
py
Python
dp_tornado/helper/misc/type/__init__.py
donghak-shin/dp-tornado
095bb293661af35cce5f917d8a2228d273489496
[ "MIT" ]
18
2015-04-07T14:28:39.000Z
2020-02-08T14:03:38.000Z
dp_tornado/helper/misc/type/__init__.py
donghak-shin/dp-tornado
095bb293661af35cce5f917d8a2228d273489496
[ "MIT" ]
7
2016-10-05T05:14:06.000Z
2021-05-20T02:07:22.000Z
dp_tornado/helper/misc/type/__init__.py
donghak-shin/dp-tornado
095bb293661af35cce5f917d8a2228d273489496
[ "MIT" ]
11
2015-12-15T09:49:39.000Z
2021-09-06T18:38:21.000Z
# -*- coding: utf-8 -*- from dp_tornado.engine.helper import Helper as dpHelper class TypeHelper(dpHelper): @property def int(self): return int @property def long(self): if self.helper.misc.system.py_version <= 2: return long else: return int @pr...
18.145833
55
0.552239
100
871
4.77
0.36
0.184486
0.062893
0.100629
0.264151
0.264151
0.264151
0.264151
0.264151
0.264151
0
0.007168
0.359357
871
47
56
18.531915
0.84767
0.02411
0
0.457143
0
0
0
0
0
0
0
0
0
1
0.228571
false
0
0.028571
0.142857
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7d721a466e981c7ca771d620ceff1141766e2f59
176
py
Python
python/main.py
ofbear/cotoha_api
179467927084825383ed1632bc5422131907eaf0
[ "MIT" ]
null
null
null
python/main.py
ofbear/cotoha_api
179467927084825383ed1632bc5422131907eaf0
[ "MIT" ]
null
null
null
python/main.py
ofbear/cotoha_api
179467927084825383ed1632bc5422131907eaf0
[ "MIT" ]
null
null
null
import json import os from cotoha import Cotoha c = Cotoha("clientId", "clientSecret") result = c.similarity("test", "test") print("{}".format(json.dumps(result,indent=4)))
17.6
47
0.710227
24
176
5.208333
0.666667
0
0
0
0
0
0
0
0
0
0
0.00641
0.113636
176
9
48
19.555556
0.794872
0
0
0
0
0
0.170455
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7d764be73d511b2ccaea1bd5a7bc06729110b7c7
15,957
py
Python
tempest/tests/cmd/test_account_generator.py
ssundari/tempest
205ce1e686ca9f90d8c1fcb63c8337dd233cb2aa
[ "Apache-2.0" ]
254
2015-01-05T19:22:52.000Z
2022-03-29T08:14:54.000Z
tempest/tests/cmd/test_account_generator.py
ssundari/tempest
205ce1e686ca9f90d8c1fcb63c8337dd233cb2aa
[ "Apache-2.0" ]
13
2015-03-02T15:53:04.000Z
2022-02-16T02:28:14.000Z
tempest/tests/cmd/test_account_generator.py
ssundari/tempest
205ce1e686ca9f90d8c1fcb63c8337dd233cb2aa
[ "Apache-2.0" ]
367
2015-01-07T15:05:39.000Z
2022-03-04T09:50:35.000Z
# Copyright (c) 2016 Hewlett-Packard Enterprise Development Company, L.P. # # 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 # # ...
44.202216
78
0.655512
1,791
15,957
5.607482
0.140704
0.03495
0.032162
0.043214
0.741512
0.722593
0.718212
0.683063
0.66504
0.66036
0
0.006867
0.242589
15,957
360
79
44.325
0.824094
0.069938
0
0.690972
0
0
0.113923
0.033003
0
0
0
0
0.274306
1
0.076389
false
0.010417
0.024306
0
0.180556
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7d7c571c70ffe9aa5a94eb635a4e9ad21ab4a9c0
603
py
Python
src/domain/buildinghive.py
beehive-spg/beehive-order-generator
b5a17c3809f57c472968012a317817572fe474c1
[ "Apache-2.0" ]
null
null
null
src/domain/buildinghive.py
beehive-spg/beehive-order-generator
b5a17c3809f57c472968012a317817572fe474c1
[ "Apache-2.0" ]
null
null
null
src/domain/buildinghive.py
beehive-spg/beehive-order-generator
b5a17c3809f57c472968012a317817572fe474c1
[ "Apache-2.0" ]
1
2018-03-02T11:07:22.000Z
2018-03-02T11:07:22.000Z
from schematics.models import Model from schematics.types import IntType, StringType, FloatType from schematics.types.compound import ModelType from domain.hive import Hive class BuildingHive(Model): id = IntType(required=True, serialized_name='db/id') address = StringType(serialize_when_none=False, serialized...
50.25
87
0.804312
75
603
6.293333
0.386667
0.148305
0.144068
0.186441
0.411017
0.411017
0.411017
0.224576
0
0
0
0
0.102819
603
11
88
54.818182
0.872458
0
0
0
0
0
0.106136
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
7d84443602db18d7f9a6e6d8472fb20021878211
413
py
Python
python/util/MapReduce.py
gdsglgf/tutorials
bacb2b901cca778e8d4439a363bca25981074fed
[ "MIT" ]
null
null
null
python/util/MapReduce.py
gdsglgf/tutorials
bacb2b901cca778e8d4439a363bca25981074fed
[ "MIT" ]
null
null
null
python/util/MapReduce.py
gdsglgf/tutorials
bacb2b901cca778e8d4439a363bca25981074fed
[ "MIT" ]
null
null
null
def square(x): return x * x l = [1, 2, 3, 4, 5] print(map(square, l)) # [1, 4, 9, 16, 25] print([x*x for x in range(1, 6)]) # [1, 4, 9, 16, 25] def add(x,y): return x + y print(reduce(add, [x*x for x in range(1, 6)])) # 55 print(sum([x*x for x in range(1, 6)])) # 55 def even(x): return (x >> 1) << 1 == x ...
19.666667
53
0.51816
90
413
2.377778
0.333333
0.140187
0.130841
0.084112
0.294393
0.228972
0.228972
0.228972
0.158879
0
0
0.126183
0.232446
413
21
54
19.666667
0.548896
0.164649
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0
0.230769
0.461538
0.461538
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
1
0
3
7db696a5424a5b477f0887a45508f34bd71e3040
177
py
Python
streamtools/df/__init__.py
webbjj/streamtools
ee50e1e8fde84c3f97d5e2caed865490a3de1e78
[ "MIT" ]
1
2020-08-23T19:47:16.000Z
2020-08-23T19:47:16.000Z
streamtools/df/__init__.py
webbjj/streamtools
ee50e1e8fde84c3f97d5e2caed865490a3de1e78
[ "MIT" ]
5
2020-06-25T00:45:04.000Z
2021-08-01T17:29:57.000Z
streamtools/df/__init__.py
webbjj/streamtools
ee50e1e8fde84c3f97d5e2caed865490a3de1e78
[ "MIT" ]
3
2020-06-24T00:42:29.000Z
2021-04-27T14:44:36.000Z
from . import streampepperdf from . import streamspraydf # # Functions # # # Classes # streampepperdf= streampepperdf.streampepperdf streamspraydf= streamspraydf.streamspraydf
14.75
45
0.813559
14
177
10.285714
0.428571
0.138889
0
0
0
0
0
0
0
0
0
0
0.118644
177
11
46
16.090909
0.923077
0.096045
0
0
0
0
0
0
0
0
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7dbf86bce6e4fd0cecf78a03043c3428f4d7ccb5
43
py
Python
paraphraser/constants.py
martabarroso/Paraphrase-generator
e6d82e442d924207f0b2ee340c6edab1b918de13
[ "MIT" ]
1
2021-05-06T05:45:35.000Z
2021-05-06T05:45:35.000Z
paraphraser/constants.py
martabarroso/Paraphrase-generator
e6d82e442d924207f0b2ee340c6edab1b918de13
[ "MIT" ]
null
null
null
paraphraser/constants.py
martabarroso/Paraphrase-generator
e6d82e442d924207f0b2ee340c6edab1b918de13
[ "MIT" ]
1
2021-03-25T10:29:42.000Z
2021-03-25T10:29:42.000Z
SYSTEM_LANGUAGE = 'en' BEAM = 5 BATCH = 16
10.75
22
0.674419
7
43
4
1
0
0
0
0
0
0
0
0
0
0
0.088235
0.209302
43
3
23
14.333333
0.735294
0
0
0
0
0
0.046512
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7de557480d43b764c82fba9f8f53fc8c7094fe79
390
py
Python
backend/intake/admin.py
elviktor/intake-tool
f330dd0b0dc4e7423afad246d522631c8e74028c
[ "MIT" ]
null
null
null
backend/intake/admin.py
elviktor/intake-tool
f330dd0b0dc4e7423afad246d522631c8e74028c
[ "MIT" ]
null
null
null
backend/intake/admin.py
elviktor/intake-tool
f330dd0b0dc4e7423afad246d522631c8e74028c
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Entity, Issue, Keyword, Rating, Move, Script, Sequence, SequenceRecord, Area admin.site.register(Entity) admin.site.register(Issue) admin.site.register(Keyword) admin.site.register(Rating) admin.site.register(Move) admin.site.register(Script) admin.site.register(Se...
27.857143
96
0.812821
53
390
5.981132
0.320755
0.255521
0.48265
0
0
0
0
0
0
0
0
0
0.069231
390
13
97
30
0.873278
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.181818
0
0.181818
0
0
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
0
1
0
0
0
0
0
0
3
81ad8148af858d83bf2a5aa5e27ed4c8ebc33036
724
py
Python
src/rastervision/core/crs_transformer.py
nholeman/raster-vision
f3e1e26c555feed6fa018183c3fa04d7858d91bd
[ "Apache-2.0" ]
null
null
null
src/rastervision/core/crs_transformer.py
nholeman/raster-vision
f3e1e26c555feed6fa018183c3fa04d7858d91bd
[ "Apache-2.0" ]
null
null
null
src/rastervision/core/crs_transformer.py
nholeman/raster-vision
f3e1e26c555feed6fa018183c3fa04d7858d91bd
[ "Apache-2.0" ]
null
null
null
class CRSTransformer(object): """Transforms map points in some CRS into pixel coordinates. Each transformer is associated with a particular RasterSource.""" def map_to_pixel(self, map_point): """Transform point from map to pixel-based coordinates. Args: map_point: (x, y) tuple...
26.814815
69
0.600829
90
724
4.744444
0.4
0.018735
0.065574
0.084309
0.318501
0.262295
0.145199
0.145199
0.145199
0
0
0
0.314917
724
26
70
27.846154
0.860887
0.63674
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0.4
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
81b6d43da278068cd199c2f0f0fc1230b6b03c57
566
py
Python
my_linear_regression.py
maumauuu/Dashboard_Heroku
770a32b6191e64acabbe5ba997fa9c71234b4aee
[ "MIT" ]
1
2020-10-16T13:56:58.000Z
2020-10-16T13:56:58.000Z
my_linear_regression.py
maumauuu/Dashboard_Heroku
770a32b6191e64acabbe5ba997fa9c71234b4aee
[ "MIT" ]
null
null
null
my_linear_regression.py
maumauuu/Dashboard_Heroku
770a32b6191e64acabbe5ba997fa9c71234b4aee
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt class Linear_Regression: def __init__(self): return def fit(self, X, Y): X_ = sum(X) / len(X) Y_ = sum(Y) / len(Y) Xi_Yi = sum([(x - X_) * (y - Y_) for x, y in zip(X, Y)]) Xi_2 = sum([(x - X_) ** 2 for x in X]) ...
21.769231
64
0.531802
94
566
3.031915
0.308511
0.035088
0.115789
0.049123
0
0
0
0
0
0
0
0.026525
0.333922
566
25
65
22.64
0.729443
0
0
0
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0.117647
0.176471
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
81ca4b479481a8ab7e4c0a826173e002a36c685d
880
py
Python
app/app_data/app_data_manager.py
SabaunT/bot-motivator
6b80b8d47f9ed0d071195c1f312a419093665994
[ "MIT" ]
null
null
null
app/app_data/app_data_manager.py
SabaunT/bot-motivator
6b80b8d47f9ed0d071195c1f312a419093665994
[ "MIT" ]
4
2019-12-15T13:39:22.000Z
2020-02-20T14:07:55.000Z
app/app_data/app_data_manager.py
SabaunT/bot-motivator
6b80b8d47f9ed0d071195c1f312a419093665994
[ "MIT" ]
2
2019-12-12T22:13:35.000Z
2020-03-08T18:37:06.000Z
import os import pickle class FileDataOperator: def __init__(self, file_name: str): self._file: str = os.path.join(os.path.dirname(__file__), file_name) def save_data(self, data): with open(self._file, 'wb') as cur_f: pickle.dump(data, cur_f) def data_load(self): with...
22.564103
76
0.623864
113
880
4.39823
0.380531
0.064386
0.066398
0.04829
0.189135
0.108652
0.108652
0
0
0
0
0
0.245455
880
38
77
23.157895
0.748494
0.0625
0
0.095238
0
0
0.041562
0
0
0
0
0.026316
0
1
0.238095
false
0
0.095238
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
81d7021bf1f1e1fb4baa4f220f35eb1364378372
122
py
Python
test/resources/inspectors/python/case3_redefining_builtin.py
nihalshetty-boop/hyperstyle
9a6d53cd1ca220d97d296c0087056b5885b26281
[ "Apache-2.0" ]
null
null
null
test/resources/inspectors/python/case3_redefining_builtin.py
nihalshetty-boop/hyperstyle
9a6d53cd1ca220d97d296c0087056b5885b26281
[ "Apache-2.0" ]
null
null
null
test/resources/inspectors/python/case3_redefining_builtin.py
nihalshetty-boop/hyperstyle
9a6d53cd1ca220d97d296c0087056b5885b26281
[ "Apache-2.0" ]
null
null
null
a = int(input()) b = int(input()) list = list(filter(lambda x: x % 3 == 0, range(a, b + 1))) print(sum(list) / len(list))
24.4
58
0.565574
23
122
3
0.652174
0.231884
0
0
0
0
0
0
0
0
0
0.03
0.180328
122
4
59
30.5
0.66
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
0
0
0
0
0
0
0
0
3
c4a1882b1255c7ed32fbc4da92adb2cf14df3b72
132
py
Python
src/run_experiment.py
chrisgarcia001/Crisis-Volunteer-Resource-Allocation
d181327d9f077aa40f817ec066bfc2324d1bf01b
[ "MIT" ]
null
null
null
src/run_experiment.py
chrisgarcia001/Crisis-Volunteer-Resource-Allocation
d181327d9f077aa40f817ec066bfc2324d1bf01b
[ "MIT" ]
null
null
null
src/run_experiment.py
chrisgarcia001/Crisis-Volunteer-Resource-Allocation
d181327d9f077aa40f817ec066bfc2324d1bf01b
[ "MIT" ]
null
null
null
from os import sys from experiment_runner import * param_path = sys.argv[1] ex = ProblemExecutor(param_path) ex.solve_problem_set()
22
32
0.80303
21
132
4.809524
0.714286
0.178218
0
0
0
0
0
0
0
0
0
0.008547
0.113636
132
6
33
22
0.854701
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c4a47fbd4096747ec3d6ec60e7b2ca3478f50018
183
py
Python
pyramid_profiler/pyramid_profiler.py
fearless-spider/pyramid_profiler
9b70d8fdc08f2aa429ab08df5ab4da81208a4daa
[ "BSD-3-Clause" ]
null
null
null
pyramid_profiler/pyramid_profiler.py
fearless-spider/pyramid_profiler
9b70d8fdc08f2aa429ab08df5ab4da81208a4daa
[ "BSD-3-Clause" ]
null
null
null
pyramid_profiler/pyramid_profiler.py
fearless-spider/pyramid_profiler
9b70d8fdc08f2aa429ab08df5ab4da81208a4daa
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf8 -*- import functools import re import time from pprint import pprint as pp import logging from . import storage logger = logging.getLogger("pyramid-profiler")
13.071429
46
0.743169
24
183
5.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.006579
0.169399
183
13
47
14.076923
0.888158
0.10929
0
0
0
0
0.099379
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
c4c98bb4d8317fe923d717ac649bce87710eec8c
124
py
Python
IntervalArithmetic.py
argoopjmc/BasicFuzzyLogic
6d2bfe961fd439f274ddc56c878be09c29b086b6
[ "MIT" ]
null
null
null
IntervalArithmetic.py
argoopjmc/BasicFuzzyLogic
6d2bfe961fd439f274ddc56c878be09c29b086b6
[ "MIT" ]
null
null
null
IntervalArithmetic.py
argoopjmc/BasicFuzzyLogic
6d2bfe961fd439f274ddc56c878be09c29b086b6
[ "MIT" ]
null
null
null
from interval import interval, inf, imath class IntervalArithmetic: def add(): def sub(): def mult(): def divide():
17.714286
41
0.685484
16
124
5.3125
0.75
0
0
0
0
0
0
0
0
0
0
0
0.193548
124
6
42
20.666667
0.85
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
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
1
0
0
0
0
0
0
0
0
3
c4faeee182d444ad1b78f897e0c5469187c10af3
664
py
Python
generateattckdocs/generateattckdocs/generatedocs.py
Neo23x0/pyattck
de5b80c653384ce0f1fb7b8ba077bb8890fa72fa
[ "MIT" ]
7
2020-06-30T16:58:16.000Z
2021-10-01T01:50:41.000Z
generateattckdocs/generateattckdocs/generatedocs.py
Neo23x0/pyattck
de5b80c653384ce0f1fb7b8ba077bb8890fa72fa
[ "MIT" ]
null
null
null
generateattckdocs/generateattckdocs/generatedocs.py
Neo23x0/pyattck
de5b80c653384ce0f1fb7b8ba077bb8890fa72fa
[ "MIT" ]
1
2020-08-15T17:31:24.000Z
2020-08-15T17:31:24.000Z
from generateattackdocs.actordocs import ActorDocs from generateattackdocs.techniquedocs import TechniqueDocs from generateattackdocs.tooldocs import ToolDocs from generateattackdocs.tacticdocs import TacticDocs from generateattackdocs.malwaredocs import MalwareDocs from generateattackdocs.mitigationdocs import Mitigat...
34.947368
60
0.759036
67
664
7.462687
0.253731
0.16
0.144
0
0
0
0
0
0
0
0
0
0.159639
664
19
61
34.947368
0.896057
0
0
0
1
0
0
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
480e2a6af19a3b16e6c9d7bc587f26107ba76836
625
py
Python
account/migrations/0002_auto_20161026_1912.py
coseasonruby/Gluu-Ecommerce-djagno-project
d196309bbd76571ee7793bd3de4342eb81f789e1
[ "MIT" ]
null
null
null
account/migrations/0002_auto_20161026_1912.py
coseasonruby/Gluu-Ecommerce-djagno-project
d196309bbd76571ee7793bd3de4342eb81f789e1
[ "MIT" ]
null
null
null
account/migrations/0002_auto_20161026_1912.py
coseasonruby/Gluu-Ecommerce-djagno-project
d196309bbd76571ee7793bd3de4342eb81f789e1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-26 19:12 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('account', '0001_initial'), ] operations = [ migrations.RemoveField( mod...
22.321429
48
0.5776
57
625
6.140351
0.649123
0.18
0.222857
0.257143
0.402857
0.402857
0
0
0
0
0
0.048724
0.3104
625
27
49
23.148148
0.763341
0.1088
0
0.45
1
0
0.166065
0
0
0
0
0
0
1
0
false
0
0.1
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
482fd63e82ac8c0c6be9156329ea56cbc8f77ba8
118
py
Python
funcao_Soma_AB.py
undersonrs/PYTHON_Projetos
1a4f61eb8e3c767c7b2daa993b9f70ddcfbfbb22
[ "MIT" ]
null
null
null
funcao_Soma_AB.py
undersonrs/PYTHON_Projetos
1a4f61eb8e3c767c7b2daa993b9f70ddcfbfbb22
[ "MIT" ]
null
null
null
funcao_Soma_AB.py
undersonrs/PYTHON_Projetos
1a4f61eb8e3c767c7b2daa993b9f70ddcfbfbb22
[ "MIT" ]
null
null
null
def soma(a,b): soma = a + b print (' A soma de {} com {} é igual a {}'.format(a,b,soma)) soma(3,7) soma(5,9)
16.857143
64
0.516949
25
118
2.44
0.56
0.098361
0.196721
0
0
0
0
0
0
0
0
0.045455
0.254237
118
6
65
19.666667
0.647727
0
0
0
0
0
0.279661
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.2
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
48674e0cd67ffa2382b577df87ee02742182b0c9
1,243
py
Python
app/controllers/base_controller.py
jattoabdul/vanhack-cms
ab2cb054e35765531833afd98051027d891baf10
[ "MIT" ]
15
2018-11-06T03:01:55.000Z
2020-10-17T04:24:54.000Z
app/controllers/base_controller.py
jattoabdul/vanhack-cms
ab2cb054e35765531833afd98051027d891baf10
[ "MIT" ]
2
2021-06-02T00:26:52.000Z
2021-12-13T20:19:11.000Z
app/controllers/base_controller.py
Maxcutex/web_scraping
3e14398285b6eeb72163683ef4a52caaa1cdf327
[ "MIT" ]
1
2018-11-06T10:48:49.000Z
2018-11-06T10:48:49.000Z
from app.utils.auth import Auth from flask import jsonify, make_response class BaseController: def __init__(self, request): self.request = request def user(self, *keys): return Auth.user(*keys) def request_params(self, *keys): _json = self.get_json() if keys: values = list() for key in keys: ...
24.372549
89
0.713596
182
1,243
4.736264
0.318681
0.051044
0.032483
0.039443
0.088167
0.088167
0.088167
0.088167
0.088167
0
0
0.005964
0.190668
1,243
50
90
24.86
0.850895
0.067578
0
0.166667
0
0
0.033708
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0.111111
0.527778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
486c690d2ec75c48619b4b301b76eacb54bb9a8b
276
py
Python
script.service.hue/service.py
toupeira/script.service.hue
c2811ef792b67084ab2e82c91aaa0947d9cb90d3
[ "MIT" ]
null
null
null
script.service.hue/service.py
toupeira/script.service.hue
c2811ef792b67084ab2e82c91aaa0947d9cb90d3
[ "MIT" ]
null
null
null
script.service.hue/service.py
toupeira/script.service.hue
c2811ef792b67084ab2e82c91aaa0947d9cb90d3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import xbmc from resources.lib import core from resources.lib import reporting try: core.core() #Run Hue service except Exception as exc: xbmc.log("[script.service.hue] Core service exception") reporting.process_exception(exc)
23
60
0.699275
37
276
5.189189
0.567568
0.135417
0.166667
0.229167
0
0
0
0
0
0
0
0.004505
0.195652
276
11
61
25.090909
0.86036
0.130435
0
0
0
0
0.190265
0
0
0
0
0
0
1
0
true
0
0.375
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
6f90eaf4863e2960d936777f3ec6df568fb85d74
12,019
py
Python
apigee/keystores/commands.py
darumatic/apigeex-cli
7313d66055a35c1942b78891c65facca44c17323
[ "Apache-2.0" ]
2
2021-12-09T04:47:43.000Z
2022-03-24T19:16:48.000Z
apigee/keystores/commands.py
darumatic/apigeex-cli
7313d66055a35c1942b78891c65facca44c17323
[ "Apache-2.0" ]
null
null
null
apigee/keystores/commands.py
darumatic/apigeex-cli
7313d66055a35c1942b78891c65facca44c17323
[ "Apache-2.0" ]
null
null
null
import click from apigee import console from apigee.auth import common_auth_options, gen_auth from apigee.keystores.keystores import Keystores from apigee.prefix import common_prefix_options from apigee.silent import common_silent_options from apigee.verbose import common_verbose_options @click.group(help='A list of...
27.130926
198
0.712705
1,507
12,019
5.396151
0.086264
0.050418
0.052263
0.070708
0.815667
0.746557
0.711633
0.689867
0.644614
0.536153
0
0.001175
0.150428
12,019
442
199
27.192308
0.795221
0
0
0.653005
0
0
0.155504
0.009651
0
0
0
0
0
1
0.101093
false
0.027322
0.019126
0.035519
0.155738
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6f910086c057f5495aa02956846fa7422788cf76
262
py
Python
src/bubble_sort.py
aphawkins/useful-python
e5b4ffbaba1a283114133a58d9d58a3d5aebb47e
[ "MIT" ]
null
null
null
src/bubble_sort.py
aphawkins/useful-python
e5b4ffbaba1a283114133a58d9d58a3d5aebb47e
[ "MIT" ]
null
null
null
src/bubble_sort.py
aphawkins/useful-python
e5b4ffbaba1a283114133a58d9d58a3d5aebb47e
[ "MIT" ]
null
null
null
def bubble_sort(unsorted): i = 0 while i < len(unsorted) - 1: x = 1 while x < len(unsorted) - i: if (unsorted[x - 1] > unsorted[x]): temp = unsorted[x - 1] unsorted[x - 1] = unsorted[x] unsorted[x] = temp x += 1 i += 1 return unsorted
20.153846
38
0.561069
42
262
3.47619
0.309524
0.369863
0.205479
0.369863
0.328767
0
0
0
0
0
0
0.042553
0.282443
262
13
39
20.153846
0.734043
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.166667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6f9a7b2151d1553d3b7918addb6f184a8f4670a6
2,242
py
Python
mindspore/ops/_op_impl/_custom_op/__init__.py
Greatpanc/mindspore_zhb
c2511f7d6815b9232ac4427e27e2c132ed03e0d9
[ "Apache-2.0" ]
5
2021-06-04T02:23:01.000Z
2021-12-13T10:41:07.000Z
mindspore/ops/_op_impl/_custom_op/__init__.py
LaiYongqiang/mindspore
1b7a38ccd86b55af50a0ea55c7f2f43813ed3e0e
[ "Apache-2.0" ]
null
null
null
mindspore/ops/_op_impl/_custom_op/__init__.py
LaiYongqiang/mindspore
1b7a38ccd86b55af50a0ea55c7f2f43813ed3e0e
[ "Apache-2.0" ]
1
2021-12-14T06:22:31.000Z
2021-12-14T06:22:31.000Z
# Copyright 2020 Huawei Technologies Co., Ltd # # 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...
56.05
115
0.848796
335
2,242
5.179104
0.280597
0.076657
0.110663
0.145245
0.41902
0.293372
0.238617
0.189049
0
0
0
0.006836
0.08653
2,242
39
116
57.487179
0.840332
0.28992
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
6fa638703d06dd2b21c715d6aed1ea4e19dd9636
280
py
Python
ch1/UglyCode.py
chunhua2017/pythonprogrammingdemo
64e4ac2b33c54cde4671291a6203e94cd96de4ba
[ "MIT" ]
4
2020-05-18T05:25:44.000Z
2021-07-30T01:02:39.000Z
ch1/UglyCode.py
chunhua2017/pythonprogrammingdemo
64e4ac2b33c54cde4671291a6203e94cd96de4ba
[ "MIT" ]
null
null
null
ch1/UglyCode.py
chunhua2017/pythonprogrammingdemo
64e4ac2b33c54cde4671291a6203e94cd96de4ba
[ "MIT" ]
2
2021-09-15T05:41:05.000Z
2022-01-25T05:44:43.000Z
x = {'a': 37, 'b': 42, 'c': 927} y = 'hello ' 'world' z = 'hello ' + 'world' a = 'hello {}'.format('world') class foo ( object ): def f (self): return 37 * -2 def g(self, x, y=42): return y def f( a ): return 37 - a[42 - x:y **3]
11.666667
30
0.425
44
280
2.704545
0.5
0.168067
0
0
0
0
0
0
0
0
0
0.095506
0.364286
280
23
31
12.173913
0.573034
0
0
0
0
0
0.137184
0
0.076923
0
0
0
0
1
0.230769
false
0
0
0.230769
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6fb7e1f7513b4c3d83dca832e7971b3a9b5bd5b6
813
py
Python
raocp/core/dynamics.py
smokinmirror/raocp-toolbox
56c45c1a720897c6cb241b6db74ca956adff7aa5
[ "Apache-2.0" ]
1
2022-03-02T13:34:07.000Z
2022-03-02T13:34:07.000Z
raocp/core/dynamics.py
smokinmirror/rampc-toolbox
56c45c1a720897c6cb241b6db74ca956adff7aa5
[ "Apache-2.0" ]
7
2022-03-03T23:36:03.000Z
2022-03-15T12:15:47.000Z
raocp/core/dynamics.py
smokinmirror/rampc-toolbox
56c45c1a720897c6cb241b6db74ca956adff7aa5
[ "Apache-2.0" ]
null
null
null
import numpy as np class Dynamics: """ A pair of state (A) and control (B) dynamics matrices """ def __init__(self, state_dynamics, control_dynamics): """ :param state_dynamics: matrix A, describing the state dynamics :param control_dynamics: matrix B, describing control dynam...
30.111111
74
0.676507
96
813
5.458333
0.375
0.198473
0.097328
0.083969
0
0
0
0
0
0
0
0.0033
0.254613
813
26
75
31.269231
0.861386
0.296433
0
0.153846
0
0
0.08
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.153846
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6fc2ae33f492936cc2c0fd35e9e6511bedaf6328
101
py
Python
api/api/main.py
soroushalinia/Blog-App
813ab5cf8aa5b06106e2a57b6d6e224320437089
[ "MIT" ]
null
null
null
api/api/main.py
soroushalinia/Blog-App
813ab5cf8aa5b06106e2a57b6d6e224320437089
[ "MIT" ]
null
null
null
api/api/main.py
soroushalinia/Blog-App
813ab5cf8aa5b06106e2a57b6d6e224320437089
[ "MIT" ]
null
null
null
from fastapi import FastAPI app = FastAPI() @app.get('/ping') async def ping(): return "Pong"
11.222222
27
0.653465
14
101
4.714286
0.714286
0.30303
0
0
0
0
0
0
0
0
0
0
0.19802
101
8
28
12.625
0.814815
0
0
0
0
0
0.089109
0
0
0
0
0
0
1
0
false
0
0.2
0
0.4
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
0
0
0
0
0
0
0
0
3
6fd2b99ac4f33c8a755daf847506757b84128e7a
2,434
py
Python
slick_dnn/variable.py
kaszperro/deepy
bde02fee830e322a42f053589966778d8fec9db7
[ "Unlicense" ]
85
2019-01-21T18:02:44.000Z
2019-02-01T20:56:14.000Z
slick_dnn/variable.py
kaszperro/deepy
bde02fee830e322a42f053589966778d8fec9db7
[ "Unlicense" ]
2
2019-01-24T10:56:12.000Z
2019-01-31T11:13:52.000Z
slick_dnn/variable.py
kaszperro/deepy
bde02fee830e322a42f053589966778d8fec9db7
[ "Unlicense" ]
7
2019-01-21T21:20:35.000Z
2019-01-30T15:55:20.000Z
import numpy as np from slick_dnn.autograd.mathematical import Add from slick_dnn.autograd.mathematical import MatMul from slick_dnn.autograd.mathematical import Mul from slick_dnn.autograd.mathematical import Sub from slick_dnn.autograd.tensor_modifications import Reshape, GetItem from slick_dnn.autograd.tenso...
31.205128
79
0.638044
313
2,434
4.71885
0.239617
0.042654
0.048747
0.081246
0.268111
0.238321
0.13541
0.074475
0.074475
0.074475
0
0.00667
0.260887
2,434
77
80
31.61039
0.814341
0.032046
0
0
0
0
0.005272
0
0
0
0
0
0
1
0.269231
false
0
0.134615
0.192308
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6fde7e5ca5d520bbf16b8aad2eb752a5dc3aae52
2,151
py
Python
api/test_helpers.py
gradut/cardboard
b3bb585f287506934a7016408dbce0d3fbe84e62
[ "MIT" ]
10
2021-12-25T04:06:35.000Z
2022-02-06T10:54:40.000Z
api/test_helpers.py
gradut/cardboard
b3bb585f287506934a7016408dbce0d3fbe84e62
[ "MIT" ]
102
2021-11-25T21:14:02.000Z
2022-01-29T02:25:32.000Z
api/test_helpers.py
gradut/cardboard
b3bb585f287506934a7016408dbce0d3fbe84e62
[ "MIT" ]
9
2022-01-02T22:18:06.000Z
2022-01-20T10:52:56.000Z
from rest_framework import status from accounts.models import Puzzler from hunts.models import Hunt from puzzles.models import PuzzleTag TEST_SHEET_TEMPLATE_ID = "12345abcde" class CardboardTestCase: def setUp(self): self._user = Puzzler.objects.create_user( username="test", email="test@ing.c...
31.173913
85
0.674105
304
2,151
4.615132
0.233553
0.078403
0.114041
0.039202
0.42124
0.404134
0.404134
0.393443
0.310763
0.225232
0
0.010292
0.18689
2,151
68
86
31.632353
0.791881
0.034868
0
0
0
0
0.21256
0.179227
0
0
0
0
0.025
1
0.325
false
0.05
0.1
0.25
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6fe92dcb8687b4e189a2288b2904c793e751f09d
399
py
Python
processing/batch_processing/run.py
ostapViniavskyi/MeetupsBigData
a179f3ba6816067912caac8becee7040fffbc1d8
[ "MIT" ]
null
null
null
processing/batch_processing/run.py
ostapViniavskyi/MeetupsBigData
a179f3ba6816067912caac8becee7040fffbc1d8
[ "MIT" ]
1
2021-05-04T12:20:39.000Z
2021-05-04T12:20:39.000Z
processing/batch_processing/run.py
ostapViniavskyi/MeetupsBigData
a179f3ba6816067912caac8becee7040fffbc1d8
[ "MIT" ]
1
2022-01-15T11:48:25.000Z
2022-01-15T11:48:25.000Z
import os import time MASTER = "spark://ip-172-31-65-164.ec2.internal:7077" if __name__ == "__main__": while True: os.system(f"$SPARK_PATH/bin/spark-submit --master {MASTER} --conf 'spark.blockManager.port=10025' --conf 'spark.driver.port=10026' --packages org.apache.spark:spark-sql-kafka-0-10_2.11:2.4.0 ...
39.9
252
0.706767
64
399
4.234375
0.734375
0.066421
0
0
0
0
0
0
0
0
0
0.108262
0.120301
399
9
253
44.333333
0.663818
0
0
0
0
0.142857
0.701754
0.508772
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6fe93310d5a6039f94e1c3989955fe6af7c9ee93
171
py
Python
output/models/ms_data/datatypes/facets/language/language_length002_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/datatypes/facets/language/language_length002_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/datatypes/facets/language/language_length002_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.datatypes.facets.language.language_length002_xsd.language_length002 import ( FooType, Test, ) __all__ = [ "FooType", "Test", ]
17.1
103
0.707602
19
171
5.947368
0.736842
0.300885
0
0
0
0
0
0
0
0
0
0.042553
0.175439
171
9
104
19
0.758865
0
0
0
0
0
0.064327
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
0
0
0
0
0
0
0
0
3
6feb8a354a43b41ceea3bd289a8778f046fd31a7
337
py
Python
test_data/readpointcloud.py
vikasTmz/texture_fields
7732bc63cc0dd04393e805ef5c6219bcc926c426
[ "MIT" ]
null
null
null
test_data/readpointcloud.py
vikasTmz/texture_fields
7732bc63cc0dd04393e805ef5c6219bcc926c426
[ "MIT" ]
null
null
null
test_data/readpointcloud.py
vikasTmz/texture_fields
7732bc63cc0dd04393e805ef5c6219bcc926c426
[ "MIT" ]
null
null
null
import numpy as np oldpts = np.load('cc067578ad92517bbe25370c898e25a5/pointcloud_old.npz') newpts = np.load('cc067578ad92517bbe25370c898e25a5/pointcloud.npz') print(newpts["normals"][0:5]) print(oldpts["normals"][0:5]) print("==================================") print(newpts["points"][0:5]) print(oldpts[...
25.923077
72
0.64095
38
337
5.657895
0.421053
0.037209
0.097674
0.446512
0
0
0
0
0
0
0
0.169935
0.091988
337
12
73
28.083333
0.53268
0
0
0
0
0
0.486154
0.406154
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.625
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
6feba85c79b96055f7cf7ce67c73b105420dd307
180
py
Python
demo2/Main.py
philipgold/replace-nested-conditional-with-polymorphism-demo
c0a530e7c69a8946338a46fde8c67ea8fe85a77e
[ "MIT" ]
null
null
null
demo2/Main.py
philipgold/replace-nested-conditional-with-polymorphism-demo
c0a530e7c69a8946338a46fde8c67ea8fe85a77e
[ "MIT" ]
null
null
null
demo2/Main.py
philipgold/replace-nested-conditional-with-polymorphism-demo
c0a530e7c69a8946338a46fde8c67ea8fe85a77e
[ "MIT" ]
null
null
null
from Event import Event from MainHandler import MainHandler nav_event = Event('nav','Nav data event') gps_event = Event('gps', 'GPS data event') MainHandler().handle(gps_event)
20
42
0.755556
26
180
5.115385
0.307692
0.150376
0
0
0
0
0
0
0
0
0
0
0.127778
180
8
43
22.5
0.847134
0
0
0
0
0
0.188889
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6ff24ba1ab48f592ca1d823f042a17c79ba8f5c3
171
py
Python
berth/site/urls.py
joealcorn/berth.cc
9cba1355d49705a13ae58cfdffa26ee6a3fb9e31
[ "MIT" ]
null
null
null
berth/site/urls.py
joealcorn/berth.cc
9cba1355d49705a13ae58cfdffa26ee6a3fb9e31
[ "MIT" ]
null
null
null
berth/site/urls.py
joealcorn/berth.cc
9cba1355d49705a13ae58cfdffa26ee6a3fb9e31
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', url(r'^$', 'berth.site.views.index', name='index'), )
24.428571
55
0.707602
23
171
5.26087
0.73913
0.165289
0
0
0
0
0
0
0
0
0
0
0.128655
171
6
56
28.5
0.812081
0
0
0
0
0
0.169591
0.128655
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6ff6db0509ccbc8d8027537775dc42e48a361228
4,440
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ARB/pixel_buffer_object.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ARB/pixel_buffer_object.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ARB/pixel_buffer_object.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''OpenGL extension ARB.pixel_buffer_object This module customises the behaviour of the OpenGL.raw.GL.ARB.pixel_buffer_object to provide a more Python-friendly API Overview (from the spec) This extension expands on the interface provided by the ARB_vertex_buffer_object extension (and later integrated i...
49.88764
72
0.780631
657
4,440
5.223744
0.394216
0.06993
0.026515
0.029138
0.081294
0.053904
0.053904
0.044872
0.044872
0.020979
0
0.000836
0.191667
4,440
89
73
49.88764
0.955419
0.98964
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.777778
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
6ff7e41bfbfd74ddcb52806817d87195abbe54c2
742
py
Python
Src/StdLib/Lib/site-packages/win32/lib/winxptheme.py
cwensley/ironpython2
f854444e1e08afc8850cb7c1a739a7dd2d10d32a
[ "Apache-2.0" ]
1,078
2016-07-19T02:48:30.000Z
2022-03-30T21:22:34.000Z
Src/StdLib/Lib/site-packages/win32/lib/winxptheme.py
cwensley/ironpython2
f854444e1e08afc8850cb7c1a739a7dd2d10d32a
[ "Apache-2.0" ]
576
2017-05-21T12:36:48.000Z
2022-03-30T13:47:03.000Z
Src/StdLib/Lib/site-packages/win32/lib/winxptheme.py
cwensley/ironpython2
f854444e1e08afc8850cb7c1a739a7dd2d10d32a
[ "Apache-2.0" ]
269
2017-05-21T04:44:47.000Z
2022-03-31T16:18:13.000Z
"""A useful wrapper around the "_winxptheme" module. Unlike _winxptheme, this module will load on any version of Windows. If _winxptheme is not available, then this module will have only 2 functions - IsAppThemed() and IsThemeActive, which will both always return False. If _winxptheme is available, this module will h...
30.916667
78
0.749326
95
742
5.8
0.610526
0.054446
0.076225
0.065336
0
0
0
0
0
0
0
0.018212
0.185984
742
23
79
32.26087
0.89404
0.649596
0
0.2
0
0
0.043651
0
0
0
0
0
0
1
0.2
true
0
0.2
0.2
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
1
1
0
0
3
b511ca835223cfbeec9671bf37c409634c0753a8
1,951
py
Python
precis-gen/generate-json-tests.py
NineFX/bs-precis
2093e5be22d318864756a4b6501474d2015f2041
[ "MIT" ]
1
2021-12-11T05:45:39.000Z
2021-12-11T05:45:39.000Z
precis-gen/generate-json-tests.py
NineFX/bs-precis
2093e5be22d318864756a4b6501474d2015f2041
[ "MIT" ]
6
2019-07-25T20:16:15.000Z
2019-09-06T18:37:24.000Z
precis-gen/generate-json-tests.py
NineFX/bs-precis
2093e5be22d318864756a4b6501474d2015f2041
[ "MIT" ]
1
2021-01-12T09:55:28.000Z
2021-01-12T09:55:28.000Z
# Copyright 2019 # NineFX Inc. # generate-json-tests.py # Justin Baum # 22 July 2019 import json import precis_i18n as precis import sys import random def byte_range(first, last): return list(range(first, last+1)) first_values = byte_range(0x00, 0x7F) + byte_range(0xC2, 0xF4) trailing_values = byte_range(0x80, 0...
34.839286
132
0.686315
250
1,951
5.232
0.316
0.155963
0.183486
0.238532
0.441896
0.43578
0.375382
0.286697
0.184251
0.184251
0
0.03935
0.179395
1,951
55
133
35.472727
0.777639
0.037929
0
0
1
0
0.051309
0.011224
0
0
0.047034
0
0
1
0.071429
false
0
0.095238
0.047619
0.404762
0.02381
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
82f244b9d6fb92ca3191bb439df95bd83cf7d802
106
py
Python
modules/2.79/bpy/types/VisibilityActuator.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.79/bpy/types/VisibilityActuator.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.79/bpy/types/VisibilityActuator.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
class VisibilityActuator: apply_to_children = None use_occlusion = None use_visible = None
13.25
28
0.716981
12
106
6
0.75
0.194444
0
0
0
0
0
0
0
0
0
0
0.245283
106
7
29
15.142857
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d22e9202a2a57fac314b1fee26a9a88d68db6c26
242
py
Python
content-security-policy/navigate-to/support/redirect_to_post_message_to_frame_owner.py
ziransun/wpt
ab8f451eb39eb198584d547f5d965ef54df2a86a
[ "BSD-3-Clause" ]
8
2019-04-09T21:13:05.000Z
2021-11-23T17:25:18.000Z
content-security-policy/navigate-to/support/redirect_to_post_message_to_frame_owner.py
ziransun/wpt
ab8f451eb39eb198584d547f5d965ef54df2a86a
[ "BSD-3-Clause" ]
21
2021-03-31T19:48:22.000Z
2022-03-12T00:24:53.000Z
content-security-policy/navigate-to/support/redirect_to_post_message_to_frame_owner.py
ziransun/wpt
ab8f451eb39eb198584d547f5d965ef54df2a86a
[ "BSD-3-Clause" ]
11
2019-04-12T01:20:16.000Z
2021-11-23T17:25:02.000Z
def main(request, response): response.status = 302 if "location" in request.GET: response.headers.set("Location", request.GET["location"]) else: response.headers.set("Location", "post_message_to_frame_owner.html")
34.571429
76
0.68595
30
242
5.4
0.633333
0.123457
0.222222
0.320988
0
0
0
0
0
0
0
0.015075
0.177686
242
6
77
40.333333
0.798995
0
0
0
0
0
0.264463
0.132231
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0
0
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
0
0
0
0
0
0
0
3
d25afe184cb0bb5eff8b8a767cc6d9541306e4b2
43,744
py
Python
tests/test_resolve.py
Trentonoliphant/conda
50000e443ff4d60904faf59c1ea04cf269ec42c3
[ "BSD-3-Clause" ]
null
null
null
tests/test_resolve.py
Trentonoliphant/conda
50000e443ff4d60904faf59c1ea04cf269ec42c3
[ "BSD-3-Clause" ]
null
null
null
tests/test_resolve.py
Trentonoliphant/conda
50000e443ff4d60904faf59c1ea04cf269ec42c3
[ "BSD-3-Clause" ]
null
null
null
from __future__ import print_function, absolute_import import json import unittest from os.path import dirname, join from conda.resolve import ver_eval, VersionSpec, MatchSpec, Package, Resolve, NoPackagesFound from tests.helpers import raises with open(join(dirname(__file__), 'index.json')) as fi: index = json...
38.17103
108
0.517785
7,403
43,744
2.977847
0.056734
0.178
0.136539
0.06895
0.806351
0.76548
0.704695
0.627671
0.49653
0.446405
0
0.167582
0.259281
43,744
1,145
109
38.204367
0.512777
0.033285
0
0.445525
0
0
0.46708
0.360913
0
0
0
0
0.116732
1
0.035019
false
0
0.005837
0
0.04572
0.000973
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d25de51220f600aacb4f3129e98acbab8da2d6dc
245
py
Python
conlangdev/urls/language.py
zeeonbees/conlangdev
3ee2fbd9f893e16634417d13278823bff9bd6127
[ "BSD-2-Clause" ]
null
null
null
conlangdev/urls/language.py
zeeonbees/conlangdev
3ee2fbd9f893e16634417d13278823bff9bd6127
[ "BSD-2-Clause" ]
null
null
null
conlangdev/urls/language.py
zeeonbees/conlangdev
3ee2fbd9f893e16634417d13278823bff9bd6127
[ "BSD-2-Clause" ]
null
null
null
from django.urls import path, include from ..views.language import IndexLanguageView, NewLanguageView, ShowLanguageView from ..views.word import IndexWordView urlpatterns = [ path('new', NewLanguageView.as_view(), name='language.new'), ]
24.5
81
0.771429
27
245
6.962963
0.666667
0.095745
0
0
0
0
0
0
0
0
0
0
0.118367
245
9
82
27.222222
0.87037
0
0
0
0
0
0.061224
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
96409602f9648348e991084e86a5ee4869208da2
146
py
Python
python_scripts_youtube/desafio_14.py
diegocarloni/python
232e3f40f8096854bfc8da0820808fbda8797387
[ "MIT" ]
null
null
null
python_scripts_youtube/desafio_14.py
diegocarloni/python
232e3f40f8096854bfc8da0820808fbda8797387
[ "MIT" ]
null
null
null
python_scripts_youtube/desafio_14.py
diegocarloni/python
232e3f40f8096854bfc8da0820808fbda8797387
[ "MIT" ]
null
null
null
c = float(input('Informe a temperatura em °C: ')) f = ((9 * c) / 5) + 32 print('\nA temperatura em {:.1f}°C corresponde a {:.2f}°F'.format(c, f))
36.5
72
0.582192
29
146
3.034483
0.62069
0.295455
0
0
0
0
0
0
0
0
0
0.049587
0.171233
146
3
73
48.666667
0.652893
0
0
0
0
0
0.541096
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
0
0
0
0
0
0
0
0
3
964dadd8351ddaaf345f52a96e521370fc6735b5
265
py
Python
pyflick/const.py
ZephireNZ/PyFlick
3c4fae7380bcfcea9b1e0cb02444a07626261998
[ "MIT" ]
null
null
null
pyflick/const.py
ZephireNZ/PyFlick
3c4fae7380bcfcea9b1e0cb02444a07626261998
[ "MIT" ]
null
null
null
pyflick/const.py
ZephireNZ/PyFlick
3c4fae7380bcfcea9b1e0cb02444a07626261998
[ "MIT" ]
2
2021-06-15T14:17:07.000Z
2021-11-18T07:16:04.000Z
DEFAULT_CLIENT_ID = "le37iwi3qctbduh39fvnpevt1m2uuvz" DEFAULT_CLIENT_SECRET = "ignwy9ztnst3azswww66y9vd9zt6qnt" DEFAULT_API_HOST = "https://api.flick.energy" DEFAULT_PRICE_ENDPOINT = "/customer/mobile_provider/price" DEFAULT_AUTH_ENDPOINT = "/identity/oauth/token"
44.166667
58
0.845283
28
265
7.607143
0.714286
0.122066
0
0
0
0
0
0
0
0
0
0.056
0.056604
265
6
59
44.166667
0.796
0
0
0
0
0
0.518797
0.428571
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
967eedea91b942ac0980d377b413aaf08b49c307
1,655
py
Python
account.py
erhic/Password_Locker
0fada1c97e48fc689b7665dfd135b3815877ce00
[ "MIT" ]
null
null
null
account.py
erhic/Password_Locker
0fada1c97e48fc689b7665dfd135b3815877ce00
[ "MIT" ]
null
null
null
account.py
erhic/Password_Locker
0fada1c97e48fc689b7665dfd135b3815877ce00
[ "MIT" ]
null
null
null
class Account: """ Class that generates new instances of account details. """ account_list = [] # Empty account list # saving account method def save_account(self): ''' save_account method saves account objects into account_list ''' Account.account_list.append(self) # deleting...
22.364865
82
0.646526
204
1,655
5.102941
0.308824
0.116234
0.040346
0.048031
0.222863
0.167147
0.111431
0.111431
0.111431
0.111431
0
0
0.285196
1,655
74
83
22.364865
0.879966
0.393958
0
0.269231
1
0
0
0
0
0
0
0
0
1
0.230769
false
0.076923
0
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
967fd47f5be30d7571792f074edc7ec00e35b8fb
44
py
Python
spatialpooch/version.py
achapkowski/spatial-pooch
e2525678d1b5f6acadfb53de43d8a10cf30d6ec9
[ "Apache-2.0" ]
1
2020-04-02T16:44:03.000Z
2020-04-02T16:44:03.000Z
spatialpooch/version.py
achapkowski/spatial-pooch
e2525678d1b5f6acadfb53de43d8a10cf30d6ec9
[ "Apache-2.0" ]
null
null
null
spatialpooch/version.py
achapkowski/spatial-pooch
e2525678d1b5f6acadfb53de43d8a10cf30d6ec9
[ "Apache-2.0" ]
null
null
null
__version__ = "0.0.1" version = __version__
14.666667
21
0.727273
6
44
4
0.5
0
0
0
0
0
0
0
0
0
0
0.078947
0.136364
44
3
22
14.666667
0.552632
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
96828bf0036e5610b0d466937793a8959d883b05
267
py
Python
bsts/sentry.py
HDI-Project/ballet-study-telemetry-server
2c8b13cd48d9f992cde602ebb57a86ff834062cf
[ "MIT" ]
null
null
null
bsts/sentry.py
HDI-Project/ballet-study-telemetry-server
2c8b13cd48d9f992cde602ebb57a86ff834062cf
[ "MIT" ]
null
null
null
bsts/sentry.py
HDI-Project/ballet-study-telemetry-server
2c8b13cd48d9f992cde602ebb57a86ff834062cf
[ "MIT" ]
null
null
null
from os import getenv import sentry_sdk from sentry_sdk.integrations.flask import FlaskIntegration def init_sentry(): sentry_sdk.init( dsn=getenv('SENTRY_DSN'), environment=getenv('ENVIRONMENT'), integrations=[FlaskIntegration()] )
20.538462
58
0.71161
29
267
6.37931
0.448276
0.145946
0
0
0
0
0
0
0
0
0
0
0.194757
267
12
59
22.25
0.860465
0
0
0
0
0
0.078652
0
0
0
0
0
0
1
0.111111
true
0
0.333333
0
0.444444
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
968f4e53e93db1370524ab26afff0060f86a68de
227
py
Python
getting_started/locals.py
AoEiuV020/LearningPython
aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70
[ "MIT" ]
null
null
null
getting_started/locals.py
AoEiuV020/LearningPython
aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70
[ "MIT" ]
null
null
null
getting_started/locals.py
AoEiuV020/LearningPython
aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- assert locals() == globals() assert type(locals()) == dict def foo(): a = 0 assert locals() != globals() assert 'a' in locals() assert not 'a' in globals() foo()
17.461538
32
0.568282
31
227
4.16129
0.580645
0.186047
0.294574
0.387597
0
0
0
0
0
0
0
0.017143
0.229075
227
12
33
18.916667
0.72
0.189427
0
0
0
0
0.010989
0
0
0
0
0
0.625
1
0.125
false
0
0
0
0.125
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
96b38e7981652d074d00887031a1b0d431e16c57
1,529
py
Python
kumaoche/exec_env/shell.py
kumak1/kumaoche
4421670bd8db5654fd33378ffe298bb8f0e12788
[ "MIT" ]
null
null
null
kumaoche/exec_env/shell.py
kumak1/kumaoche
4421670bd8db5654fd33378ffe298bb8f0e12788
[ "MIT" ]
null
null
null
kumaoche/exec_env/shell.py
kumak1/kumaoche
4421670bd8db5654fd33378ffe298bb8f0e12788
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .exec_env import ExecEnv from ..runner import Runner from ..config import ShellConfig class Shell(ExecEnv): def __init__(self, config: ShellConfig, variable: {}, runner: Runner): if variable is None: variable = {} self.__config = config self.__def...
29.403846
92
0.629169
201
1,529
4.432836
0.223881
0.14927
0.074074
0.094276
0.426487
0.37486
0.300786
0.265993
0.265993
0.222222
0
0.001738
0.24722
1,529
51
93
29.980392
0.772372
0.013734
0
0.088235
0
0
0.029216
0
0
0
0
0
0
1
0.235294
false
0
0.088235
0.147059
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
96bea7af53ec9695c695d611963de2fc406a7130
849
py
Python
qhmode/utilities.py
PlasmaControl/bes-edge-ml
a6540df4f0bdb7d39c24f23de36fbeba4c1aeb18
[ "MIT" ]
1
2021-05-23T11:04:34.000Z
2021-05-23T11:04:34.000Z
qhmode/utilities.py
PlasmaControl/bes-edgeml-datasets
a6540df4f0bdb7d39c24f23de36fbeba4c1aeb18
[ "MIT" ]
null
null
null
qhmode/utilities.py
PlasmaControl/bes-edgeml-datasets
a6540df4f0bdb7d39c24f23de36fbeba4c1aeb18
[ "MIT" ]
null
null
null
from bes_data_tools.package_h5 import package_bes, package_8x8_signals def get_metadata(): package_bes( input_csvfile='data/lh_shotlist.csv', max_shots=4, output_hdf5file='data/sample_lh_metadata.hdf5', verbose=True, ) package_bes( input_csvfile='data/qh_shotlist.c...
23.583333
70
0.671378
107
849
4.841122
0.28972
0.138996
0.208494
0.185328
0.725869
0.625483
0.324324
0.169884
0.169884
0
0
0.041221
0.228504
849
36
71
23.583333
0.749618
0
0
0.357143
0
0
0.263529
0.207059
0
0
0
0
0
1
0.071429
true
0
0.035714
0
0.107143
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
739ed657fabd23c2703a67d967db37594ea1096b
121
py
Python
cmd/env/gym/baselines/setup.py
pbarker/sphere
e3d087afe2264ed6c6aab484e6db5b383869a38f
[ "Apache-2.0" ]
4
2020-06-12T08:40:24.000Z
2021-03-25T08:50:09.000Z
cmd/env/gym/baselines/setup.py
pbarker/sphere
e3d087afe2264ed6c6aab484e6db5b383869a38f
[ "Apache-2.0" ]
5
2021-04-30T21:05:10.000Z
2022-03-12T00:19:55.000Z
cmd/env/gym/baselines/setup.py
pbarker/sphere
e3d087afe2264ed6c6aab484e6db5b383869a38f
[ "Apache-2.0" ]
1
2020-04-01T14:56:32.000Z
2020-04-01T14:56:32.000Z
from setuptools import setup setup(name='baselines_ext', version='0.0.1', install_requires=['gym>=0.15.4'] )
20.166667
38
0.661157
18
121
4.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.069307
0.165289
121
6
39
20.166667
0.70297
0
0
0
0
0
0.237705
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
73a8e0d87ebbf38ad296e3f6caa6d0b5c3cdc9ce
200
py
Python
old/truco/admin.py
emmanuel-santos/GEM
ee04c652a623550581f95579c80bc4f9d084c3cd
[ "MIT" ]
1
2015-10-28T14:11:49.000Z
2015-10-28T14:11:49.000Z
old/truco/admin.py
emmanuel-santos/GEM
ee04c652a623550581f95579c80bc4f9d084c3cd
[ "MIT" ]
null
null
null
old/truco/admin.py
emmanuel-santos/GEM
ee04c652a623550581f95579c80bc4f9d084c3cd
[ "MIT" ]
null
null
null
from django.contrib import admin from truco.models import Perfiles class LoginAdmin(admin.ModelAdmin): fieldsets = [ ('Nombre', {'fields': ['name']}) ] admin.site.register(Perfiles)
20
40
0.685
22
200
6.227273
0.772727
0
0
0
0
0
0
0
0
0
0
0
0.18
200
9
41
22.222222
0.835366
0
0
0
0
0
0.08
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
73b3481a8f7d19cc9be676a214ff7e23bd619276
828
py
Python
env/Lib/site-packages/testfixtures/__init__.py
beblount/Steer-Clear-Backend-Web
2aca521bad5f9a09c912f8e546f46bd39610544f
[ "MIT" ]
null
null
null
env/Lib/site-packages/testfixtures/__init__.py
beblount/Steer-Clear-Backend-Web
2aca521bad5f9a09c912f8e546f46bd39610544f
[ "MIT" ]
null
null
null
env/Lib/site-packages/testfixtures/__init__.py
beblount/Steer-Clear-Backend-Web
2aca521bad5f9a09c912f8e546f46bd39610544f
[ "MIT" ]
null
null
null
# Copyright (c) 2008-2014 Simplistix Ltd # See license.txt for license details. class singleton(object): def __init__(self, name): self.name = name def __repr__(self): return '<%s>' % self.name __str__ = __repr__ not_there = singleton('not_there') from testfixtures.comparison import C...
37.636364
96
0.799517
97
828
6.587629
0.536082
0.225352
0
0
0
0
0
0
0
0
0
0.011204
0.137681
828
21
97
39.428571
0.883754
0.09058
0
0
0
0
0.017333
0
0
0
0
0
0
1
0.125
false
0
0.5625
0.0625
0.875
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
73b90c42959fa8f597d7817983f7fd4ec92fcee8
608
py
Python
src/test_functions/test_function.py
vanitas-vanitatum/swarm-intelligence
97bf985f545c612016fd6830092a6cd4ebd93cbe
[ "MIT" ]
null
null
null
src/test_functions/test_function.py
vanitas-vanitatum/swarm-intelligence
97bf985f545c612016fd6830092a6cd4ebd93cbe
[ "MIT" ]
null
null
null
src/test_functions/test_function.py
vanitas-vanitatum/swarm-intelligence
97bf985f545c612016fd6830092a6cd4ebd93cbe
[ "MIT" ]
null
null
null
class Function: def __init__(self): # , constraints): pass # self.constraints = constraints def minimal_value(self, nb_dimensions): raise NotImplementedError def fitness_function_implementation(self, x, axis=1): raise NotImplementedError def fitness_function(self, x,...
28.952381
87
0.662829
67
608
5.820896
0.432836
0.115385
0.082051
0.107692
0.358974
0
0
0
0
0
0
0.015152
0.240132
608
20
88
30.4
0.829004
0.180921
0
0.25
0
0
0
0
0
0
0
0
0
1
0.416667
false
0.083333
0
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
73c613a79648ff75ca64fabd6a7cd9008ff207cf
718
py
Python
tests/test_user.py
stephane-evrard/flask-blog
15a827bdeb1644acd6f6de9d11dbd5cfc1a66c04
[ "MIT" ]
null
null
null
tests/test_user.py
stephane-evrard/flask-blog
15a827bdeb1644acd6f6de9d11dbd5cfc1a66c04
[ "MIT" ]
null
null
null
tests/test_user.py
stephane-evrard/flask-blog
15a827bdeb1644acd6f6de9d11dbd5cfc1a66c04
[ "MIT" ]
null
null
null
import unittest from app.models import User class UserModelTest(unittest.TestCase): def setUp(self): self.new_user = User(id = 1, password = 'emmawatson', username = 'James', email="jamesgkimari@gmail.com", bio = 'i love all things premium', profile_pic_path='/photos/login.jpg') def test_instance(sel...
34.190476
186
0.71727
93
718
5.354839
0.548387
0.070281
0.110442
0.060241
0.116466
0.116466
0
0
0
0
0
0.001689
0.175487
718
20
187
35.9
0.839527
0
0
0
0
0
0.123955
0.030641
0
0
0
0
0.285714
1
0.357143
false
0.5
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3