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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a6870ef697845a6d221a465dab252d39ff5a19cd | 371 | py | Python | tests/test_plugin_rstBootstrap3.py | rohieb/flamingo | 5212a1c201144715ff47c94e8e7724f5304be5c1 | [
"Apache-2.0"
] | null | null | null | tests/test_plugin_rstBootstrap3.py | rohieb/flamingo | 5212a1c201144715ff47c94e8e7724f5304be5c1 | [
"Apache-2.0"
] | null | null | null | tests/test_plugin_rstBootstrap3.py | rohieb/flamingo | 5212a1c201144715ff47c94e8e7724f5304be5c1 | [
"Apache-2.0"
] | null | null | null | def test_rstBootstrap3(flamingo_env):
flamingo_env.settings.PLUGINS = ['flamingo.plugins.rstBootstrap3']
flamingo_env.write('/content/test.rst', """
.. div::
.. alert:: info
info
.. youtube:: foo
.. row::
.. col:: md-6
foo
.. col:: md-6
... | 13.740741 | 70 | 0.493261 | 36 | 371 | 4.944444 | 0.583333 | 0.247191 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016736 | 0.355795 | 371 | 26 | 71 | 14.269231 | 0.728033 | 0 | 0 | 0.142857 | 0 | 0 | 0.619946 | 0.080863 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.071429 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a699fa27b76c4dda450fb0649b577f6c10d1a8f6 | 98 | py | Python | ident/cdr/config.py | AlexShander/Grafana_Asterisk | 1f8b20e2d3e6960c13d223baf9ce134fca402b1f | [
"Apache-2.0"
] | null | null | null | ident/cdr/config.py | AlexShander/Grafana_Asterisk | 1f8b20e2d3e6960c13d223baf9ce134fca402b1f | [
"Apache-2.0"
] | null | null | null | ident/cdr/config.py | AlexShander/Grafana_Asterisk | 1f8b20e2d3e6960c13d223baf9ce134fca402b1f | [
"Apache-2.0"
] | 1 | 2021-04-22T05:47:13.000Z | 2021-04-22T05:47:13.000Z | import os
class Config(object):
dst_channels = str(os.environ.get('DST_CHANNEL')).split(',')
| 19.6 | 64 | 0.693878 | 14 | 98 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 4 | 65 | 24.5 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 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 |
a69b6728dca4a695592e8aa575950961a6684b92 | 51 | py | Python | Aulas/aula09a.py | yurixf/Python | d1f91d52235dcba73deff281d80af0b44f028735 | [
"MIT"
] | null | null | null | Aulas/aula09a.py | yurixf/Python | d1f91d52235dcba73deff281d80af0b44f028735 | [
"MIT"
] | null | null | null | Aulas/aula09a.py | yurixf/Python | d1f91d52235dcba73deff281d80af0b44f028735 | [
"MIT"
] | null | null | null | frase = 'curso em curso'
print(frase.find('curso')) | 25.5 | 26 | 0.705882 | 8 | 51 | 4.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 51 | 2 | 26 | 25.5 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.365385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 |
a69f0422d35d76c6513af8b37251194463f304cb | 222 | py | Python | soccer/leagueids.py | elimt/soccer-cli | 400665812bbe2d29b8ead7627713f38fa688bd75 | [
"MIT"
] | null | null | null | soccer/leagueids.py | elimt/soccer-cli | 400665812bbe2d29b8ead7627713f38fa688bd75 | [
"MIT"
] | null | null | null | soccer/leagueids.py | elimt/soccer-cli | 400665812bbe2d29b8ead7627713f38fa688bd75 | [
"MIT"
] | 1 | 2019-07-22T14:26:34.000Z | 2019-07-22T14:26:34.000Z | LEAGUE_IDS = {
"BL": 430,
"BL2": 431,
"FL": 434 ,
"FL2": 435,
"EPL": 426,
"EL1": 428,
"ECH": 427,
"LLIGA": 436,
"SD": 437,
"SA": 438,
"PPL": 439,
"DED": 433,
"CL": 405
}
| 13.875 | 17 | 0.382883 | 28 | 222 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302158 | 0.373874 | 222 | 15 | 18 | 14.8 | 0.302158 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a6aa1aceeaac0775184ca6c48c87e7acba760698 | 1,023 | py | Python | setup.py | explody/AttrDict | 57332f9122e062d7d1aa14a1bb003d4fd49fdd50 | [
"MIT"
] | null | null | null | setup.py | explody/AttrDict | 57332f9122e062d7d1aa14a1bb003d4fd49fdd50 | [
"MIT"
] | null | null | null | setup.py | explody/AttrDict | 57332f9122e062d7d1aa14a1bb003d4fd49fdd50 | [
"MIT"
] | 1 | 2020-01-26T23:36:18.000Z | 2020-01-26T23:36:18.000Z | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="attrdict",
version="1.2.0",
author="Brendan Curran-Johnson",
author_email="brendan@bcjbcj.ca",
packages=["attrdict"],
url="https://github.com/bcj/AttrDict",
license="MIT License",
... | 34.1 | 70 | 0.620723 | 104 | 1,023 | 6.086538 | 0.605769 | 0.240126 | 0.315956 | 0.123223 | 0.085308 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01788 | 0.234604 | 1,023 | 29 | 71 | 35.275862 | 0.790549 | 0 | 0 | 0 | 0 | 0 | 0.577713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.107143 | 0 | 0.107143 | 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 |
a6b40a94495bdc7266ed44ba06a9b647d22e54dc | 276 | py | Python | examples/mrcounter_example.py | nlintz/ETLCookbook | 9da0225eaffcc2dd08281441e63249ab9e2840e8 | [
"MIT"
] | null | null | null | examples/mrcounter_example.py | nlintz/ETLCookbook | 9da0225eaffcc2dd08281441e63249ab9e2840e8 | [
"MIT"
] | null | null | null | examples/mrcounter_example.py | nlintz/ETLCookbook | 9da0225eaffcc2dd08281441e63249ab9e2840e8 | [
"MIT"
] | null | null | null | from etlcookbook.recipes.counter import MRCounter
class CounterInstance(MRCounter):
def __init__(self, *args, **kwargs):
super(CounterInstance, self).__init__(*args, **kwargs)
def countby(self, line):
return line["name"]
if __name__=="__main__":
CounterInstance.run() | 27.6 | 56 | 0.753623 | 32 | 276 | 6 | 0.65625 | 0.104167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105072 | 276 | 10 | 57 | 27.6 | 0.777328 | 0 | 0 | 0 | 0 | 0 | 0.043321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
a6c1dc98a660d54dd840f26d73e79b52d30fcb35 | 3,989 | py | Python | hysterical-horses/code_jam/code_jam/settings.py | Vthechamp22/summer-code-jam-2021 | 0a8bf1f22f6c73300891fd779da36efd8e1304c1 | [
"MIT"
] | 40 | 2020-08-02T07:38:22.000Z | 2021-07-26T01:46:50.000Z | hysterical-horses/code_jam/code_jam/settings.py | Vthechamp22/summer-code-jam-2021 | 0a8bf1f22f6c73300891fd779da36efd8e1304c1 | [
"MIT"
] | 134 | 2020-07-31T12:15:45.000Z | 2020-12-13T04:42:19.000Z | hysterical-horses/code_jam/code_jam/settings.py | Vthechamp22/summer-code-jam-2021 | 0a8bf1f22f6c73300891fd779da36efd8e1304c1 | [
"MIT"
] | 101 | 2020-07-31T12:00:47.000Z | 2021-11-01T09:06:58.000Z | """
Django settings for code_jam project.
Generated by 'django-admin startproject' using Django 3.0.8.
For more information on this file, see
https://docs.djangoproject.com/en/3.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.0/ref/settings/
"""
import os
... | 25.570513 | 91 | 0.710203 | 451 | 3,989 | 6.146341 | 0.392461 | 0.070346 | 0.042929 | 0.054113 | 0.207792 | 0.158369 | 0.08189 | 0.08189 | 0.02886 | 0 | 0 | 0.007454 | 0.159188 | 3,989 | 155 | 92 | 25.735484 | 0.819022 | 0.288794 | 0 | 0 | 1 | 0 | 0.534022 | 0.442822 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.060241 | 0.036145 | 0 | 0.036145 | 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 |
47105555185f09c18aa71dd87d631712969e8965 | 485 | py | Python | example/sampleapp/urlstwo.py | LUKKIEN/django-cms-2.0 | 0600cc1a3f3636a867faf0afe3719539fee36d69 | [
"BSD-3-Clause"
] | 1 | 2019-01-12T12:17:23.000Z | 2019-01-12T12:17:23.000Z | example/sampleapp/urlstwo.py | LUKKIEN/django-cms-2.0 | 0600cc1a3f3636a867faf0afe3719539fee36d69 | [
"BSD-3-Clause"
] | null | null | null | example/sampleapp/urlstwo.py | LUKKIEN/django-cms-2.0 | 0600cc1a3f3636a867faf0afe3719539fee36d69 | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls.defaults import *
urlpatterns = patterns('sampleapp.views',
(r'^$', 'sample_view', {'message': 'urlstwo.py => root'}),
url(r'^sublevel/$', 'sample_view', {'message': 'urlstwo.py => sublevel1'}, name='sample-app-sublevel'),
url(r'^sublevel2/$', 'sample_view', {'message': 'urlstwo.py =>... | 53.888889 | 118 | 0.651546 | 57 | 485 | 5.473684 | 0.421053 | 0.128205 | 0.217949 | 0.307692 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016166 | 0.107216 | 485 | 8 | 119 | 60.625 | 0.704388 | 0 | 0 | 0 | 0 | 0 | 0.575258 | 0.043299 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 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 |
471ac000f19bc1321fe806baa29ee02043a057af | 253 | py | Python | config/custom_components/denon_aios/const.py | jazeya/core | 5e15c516f2cd46b5d8cbc4340e2c92360ac438b0 | [
"Apache-2.0"
] | null | null | null | config/custom_components/denon_aios/const.py | jazeya/core | 5e15c516f2cd46b5d8cbc4340e2c92360ac438b0 | [
"Apache-2.0"
] | null | null | null | config/custom_components/denon_aios/const.py | jazeya/core | 5e15c516f2cd46b5d8cbc4340e2c92360ac438b0 | [
"Apache-2.0"
] | null | null | null | DOMAIN = "denon_aios"
CONF_MODEL = "model"
CONF_MANUFACTURER = "manufacturer"
CONF_SERIAL_NUMBER = "serial_number"
CONF_DEVICE = "device"
CONF_VOLUME_CONTROL = "volume_control"
VOLUME_CONTROL_INTERNAL = "internal"
VOLUME_CONTROL_EXTERNAL = "external"
| 23 | 38 | 0.802372 | 30 | 253 | 6.3 | 0.433333 | 0.275132 | 0.201058 | 0.275132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102767 | 253 | 10 | 39 | 25.3 | 0.832599 | 0 | 0 | 0 | 0 | 0 | 0.300395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
471cdde6a2cb4795a73ff3238361859b5b3617a0 | 176 | py | Python | aplus_client/__init__.py | apluslms/a-plus-client | 21cf1575ef70baf6ece70d6ae99f7bcee554e9b1 | [
"MIT"
] | 1 | 2019-10-13T10:21:51.000Z | 2019-10-13T10:21:51.000Z | aplus_client/__init__.py | apluslms/a-plus-client | 21cf1575ef70baf6ece70d6ae99f7bcee554e9b1 | [
"MIT"
] | null | null | null | aplus_client/__init__.py | apluslms/a-plus-client | 21cf1575ef70baf6ece70d6ae99f7bcee554e9b1 | [
"MIT"
] | 1 | 2018-08-28T18:32:20.000Z | 2018-08-28T18:32:20.000Z |
# Make it possible to define only `aplus_client` in django settings.py INSTALLED_APPS
default_app_config = 'aplus_client.django.apps.AplusClientConfig'
__version__ = '1.1.0'
| 29.333333 | 85 | 0.801136 | 26 | 176 | 5.076923 | 0.807692 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.113636 | 176 | 5 | 86 | 35.2 | 0.826923 | 0.471591 | 0 | 0 | 0 | 0 | 0.522222 | 0.466667 | 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 |
472347a4ef9e3c3f554248f2d0608e1aa67e4654 | 583 | py | Python | analysis_files/percellloop.py | mcmorre/placerg | 743e89ff5fe7e9466ef65efe46fb60867272979e | [
"MIT"
] | 3 | 2021-05-03T02:37:46.000Z | 2022-02-10T21:20:16.000Z | analysis_files/percellloop.py | mcmorre/placerg | 743e89ff5fe7e9466ef65efe46fb60867272979e | [
"MIT"
] | null | null | null | analysis_files/percellloop.py | mcmorre/placerg | 743e89ff5fe7e9466ef65efe46fb60867272979e | [
"MIT"
] | 3 | 2021-03-23T13:15:40.000Z | 2021-11-12T04:00:14.000Z | # import stuff
from placerg.funcs import *
from placerg.funcsrg import *
from placerg.funcsall import *
from placerg.objects import *
from placerg.funcsboot import *
from placerg.runfunc import *
name_all='variables/loop_stim10e-16.0et6.0ph1.0pvaryt0.1plNonebp0.5.pkl'
name_sum='variables/sum_stim10e-16.0et6.0ph1.0pvar... | 30.684211 | 82 | 0.795883 | 90 | 583 | 5.066667 | 0.4 | 0.144737 | 0.186404 | 0.149123 | 0.324561 | 0.324561 | 0.324561 | 0.324561 | 0.153509 | 0 | 0 | 0.096296 | 0.073756 | 583 | 18 | 83 | 32.388889 | 0.748148 | 0.020583 | 0 | 0 | 0 | 0.166667 | 0.479718 | 0.467372 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5b25cceceb10a958544396c7ef03bca3f710e914 | 607,134 | py | Python | tests/examples/minlplib/arki0010.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 2 | 2021-07-03T13:19:10.000Z | 2022-02-06T10:48:13.000Z | tests/examples/minlplib/arki0010.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 1 | 2021-07-04T14:52:14.000Z | 2021-07-15T10:17:11.000Z | tests/examples/minlplib/arki0010.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | null | null | null | # NLP written by GAMS Convert at 04/21/18 13:50:57
#
# Equation counts
# Total E G L N X C B
# 3428 1466 684 1278 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 50.577641 | 120 | 0.653567 | 105,089 | 607,134 | 3.775876 | 0.086565 | 0.032429 | 0.146209 | 0.208869 | 0.500329 | 0.388515 | 0.38127 | 0.379768 | 0.341872 | 0.051071 | 0 | 0.320119 | 0.148374 | 607,134 | 12,003 | 121 | 50.581855 | 0.447316 | 0.001117 | 0 | 0.007483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000117 | 0 | 0.000117 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 |
5b2721e263bb795a6c6ffaf7f8e9c6d1469490f7 | 1,248 | py | Python | tests/test_blockchain_info.py | ilmesi/bitlo | d9fec6f16b9d1bc409e25cc1824f76c9c9089522 | [
"MIT"
] | 1 | 2017-08-21T08:19:23.000Z | 2017-08-21T08:19:23.000Z | tests/test_blockchain_info.py | ilmesi/bitlo | d9fec6f16b9d1bc409e25cc1824f76c9c9089522 | [
"MIT"
] | null | null | null | tests/test_blockchain_info.py | ilmesi/bitlo | d9fec6f16b9d1bc409e25cc1824f76c9c9089522 | [
"MIT"
] | null | null | null | import mock
import unittest
from bitlo.services.blockchain_info import BlockchainInfo
from bitlo.tx import Tx
class BlockchainInfoTest(unittest.TestCase):
def test_balance_implemented(self):
class DummyBalance(object):
def json(self):
return 123
with mock.patch('bit... | 31.2 | 73 | 0.626603 | 119 | 1,248 | 6.411765 | 0.319328 | 0.068152 | 0.120577 | 0.141547 | 0.342071 | 0.311927 | 0.311927 | 0.311927 | 0.311927 | 0.311927 | 0 | 0.013453 | 0.285256 | 1,248 | 40 | 74 | 31.2 | 0.841928 | 0 | 0 | 0.285714 | 0 | 0 | 0.1249 | 0.103283 | 0 | 0 | 0 | 0 | 0.107143 | 1 | 0.214286 | false | 0 | 0.142857 | 0.107143 | 0.607143 | 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 |
5b2b7d9f30b76473496f95b39b3d19aaf3af5c6b | 223 | py | Python | doepy/__init__.py | forgi86/doepy | 1ecf074c0decebecacd4a655163e02a49ee91cce | [
"MIT"
] | null | null | null | doepy/__init__.py | forgi86/doepy | 1ecf074c0decebecacd4a655163e02a49ee91cce | [
"MIT"
] | null | null | null | doepy/__init__.py | forgi86/doepy | 1ecf074c0decebecacd4a655163e02a49ee91cce | [
"MIT"
] | null | null | null | from pyDOE import *
from .pydoe_corrected import fullfact_corrected, fracfact_corrected, fracfact_by_res, bbdesign_corrected, ccdesign_corrected
from diversipy import *
import pandas as pd
import numpy as np
name = "doepy" | 31.857143 | 124 | 0.834081 | 31 | 223 | 5.774194 | 0.580645 | 0.100559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121076 | 223 | 7 | 125 | 31.857143 | 0.913265 | 0 | 0 | 0 | 0 | 0 | 0.022321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 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 |
5b44dbbf8dabee5ae38c8cd4bfa4d0fbe43fd4c6 | 1,439 | py | Python | python/tests/test_find_maximum_value.py | HishamKhalil1990/data-structures-and-algorithms | 6e63791a6c0f943de7feea91859b81e0f2630f32 | [
"MIT"
] | null | null | null | python/tests/test_find_maximum_value.py | HishamKhalil1990/data-structures-and-algorithms | 6e63791a6c0f943de7feea91859b81e0f2630f32 | [
"MIT"
] | 3 | 2021-05-04T23:58:30.000Z | 2021-06-28T22:02:19.000Z | python/tests/test_find_maximum_value.py | HishamKhalil1990/data-structures-and-algorithms | 6e63791a6c0f943de7feea91859b81e0f2630f32 | [
"MIT"
] | 1 | 2021-06-15T21:21:03.000Z | 2021-06-15T21:21:03.000Z | # import pytest
# from code_challenges.tree.tree.tree import Tree_Node,BinaryTree,EmptyTreeException
# def test_find_maximum_value_1():
# expected = 11
# node1 = Tree_Node(2)
# node1.left = Tree_Node(7)
# node1.right = Tree_Node(5)
# node1.left.left = Tree_Node(2)
# node1.left.right = Tree_Node... | 35.097561 | 84 | 0.674774 | 204 | 1,439 | 4.519608 | 0.176471 | 0.190889 | 0.143167 | 0.110629 | 0.710412 | 0.657267 | 0.657267 | 0.657267 | 0.657267 | 0.657267 | 0 | 0.046552 | 0.193885 | 1,439 | 40 | 85 | 35.975 | 0.748276 | 0.945796 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5b59430fadadeef5377c5f9018422b058e006312 | 1,001 | py | Python | phoible/maps.py | ltxom/phoible | 7ce6f5e62d885f142dba61937d920e68fa7f9fca | [
"Apache-2.0"
] | 31 | 2015-01-20T01:36:22.000Z | 2022-03-11T16:47:30.000Z | phoible/maps.py | ltxom/phoible | 7ce6f5e62d885f142dba61937d920e68fa7f9fca | [
"Apache-2.0"
] | 22 | 2015-03-09T11:11:31.000Z | 2022-03-07T14:08:29.000Z | phoible/maps.py | ltxom/phoible | 7ce6f5e62d885f142dba61937d920e68fa7f9fca | [
"Apache-2.0"
] | 12 | 2015-11-16T18:28:43.000Z | 2021-05-20T21:55:49.000Z | from clld.web.adapters.geojson import GeoJson, get_lonlat
from clld.web.maps import Map, ParameterMap, Layer
class LanguagesMap(Map):
def get_options(self):
return {'icon_size': 20, 'no_showlabels': True}
class SegmentMap(ParameterMap):
def get_options(self):
return {'icon_size': 20}
class... | 26.342105 | 78 | 0.63037 | 121 | 1,001 | 5.07438 | 0.438017 | 0.04886 | 0.110749 | 0.083062 | 0.17101 | 0.17101 | 0.17101 | 0.17101 | 0.117264 | 0 | 0 | 0.011921 | 0.245754 | 1,001 | 37 | 79 | 27.054054 | 0.801325 | 0 | 0 | 0.185185 | 0 | 0 | 0.101898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.074074 | 0.148148 | 0.555556 | 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 |
5b596eabe28c1ad6e5851dfffcaeffa2f78cde99 | 241 | py | Python | clock.py | bhavul/Gre-Words-Twitter-Bot | dad949774782dfcafac9a2af662290a21527a06a | [
"MIT"
] | 3 | 2019-04-15T07:53:54.000Z | 2021-11-22T06:34:28.000Z | clock.py | bhavul/Gre-Words-Twitter-Bot | dad949774782dfcafac9a2af662290a21527a06a | [
"MIT"
] | null | null | null | clock.py | bhavul/Gre-Words-Twitter-Bot | dad949774782dfcafac9a2af662290a21527a06a | [
"MIT"
] | 2 | 2020-08-31T23:11:33.000Z | 2021-12-06T15:48:50.000Z | from apscheduler.schedulers.blocking import BlockingScheduler
from AwesomeGreBot import tweetANewWord
sched = BlockingScheduler()
sched.add_job(tweetANewWord, 'cron', hour='1-23', minute='0,30')
print("Starting scheduler!")
sched.start()
| 24.1 | 64 | 0.792531 | 28 | 241 | 6.785714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0.087137 | 241 | 9 | 65 | 26.777778 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0.128631 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
5b7f41485aa1e0cf0e565d86c3eb5a31cd2251b9 | 421 | py | Python | tests/dao/redis/test_schema.py | 4heck/ru102py | 1961965f283b014b46e9618464ec1df6d9e6b03b | [
"MIT"
] | 43 | 2020-08-04T12:07:23.000Z | 2022-03-03T06:10:31.000Z | tests/dao/redis/test_schema.py | 4heck/ru102py | 1961965f283b014b46e9618464ec1df6d9e6b03b | [
"MIT"
] | 15 | 2020-08-20T21:05:03.000Z | 2022-02-27T02:37:42.000Z | tests/dao/redis/test_schema.py | 4heck/ru102py | 1961965f283b014b46e9618464ec1df6d9e6b03b | [
"MIT"
] | 94 | 2020-07-31T16:55:07.000Z | 2022-03-24T12:19:34.000Z | from redisolar.dao.redis.key_schema import KeySchema
def test_configurable_prefix(app):
key_schema = KeySchema('prefix-test')
assert key_schema.site_hash_key(1) == "prefix-test:sites:info:1"
def test_site_hash_key(app, key_schema):
assert key_schema.site_hash_key(1) == "ru102py-test:sites:info:1"
def ... | 28.066667 | 69 | 0.760095 | 68 | 421 | 4.397059 | 0.308824 | 0.210702 | 0.120401 | 0.190635 | 0.511706 | 0.511706 | 0.511706 | 0.227425 | 0 | 0 | 0 | 0.026882 | 0.11639 | 421 | 14 | 70 | 30.071429 | 0.776882 | 0 | 0 | 0 | 0 | 0 | 0.194774 | 0.168646 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 3 |
5b8fd01a52ccdc6d013a46000b602bf2b1bd56a7 | 194 | py | Python | hrm_api/community/factories/feed.py | unknowncoder05/HRM | 2a0ad62373fdaefafe533727b2d586d8f6327e87 | [
"MIT"
] | null | null | null | hrm_api/community/factories/feed.py | unknowncoder05/HRM | 2a0ad62373fdaefafe533727b2d586d8f6327e87 | [
"MIT"
] | null | null | null | hrm_api/community/factories/feed.py | unknowncoder05/HRM | 2a0ad62373fdaefafe533727b2d586d8f6327e87 | [
"MIT"
] | null | null | null | # Models
from hrm_api.community.models import Feed
# Utils
from factory.django import DjangoModelFactory
# Factory
class FeedFactory(DjangoModelFactory):
class Meta:
model = Feed | 16.166667 | 45 | 0.757732 | 22 | 194 | 6.636364 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185567 | 194 | 12 | 46 | 16.166667 | 0.924051 | 0.103093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 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 |
5baae723d4c6d976a11a6a7176d58071d1034f9f | 144 | py | Python | about/urls.py | iiostefanos/honeyshopstef | 1e59f4ac38c4bbabbc8d2961bd09ba37a1f537fc | [
"BSD-Source-Code"
] | null | null | null | about/urls.py | iiostefanos/honeyshopstef | 1e59f4ac38c4bbabbc8d2961bd09ba37a1f537fc | [
"BSD-Source-Code"
] | 12 | 2021-03-30T13:53:22.000Z | 2022-01-13T12:35:30.000Z | about/urls.py | iiostefanos/honeyshopstef | 1e59f4ac38c4bbabbc8d2961bd09ba37a1f537fc | [
"BSD-Source-Code"
] | 1 | 2020-07-30T20:27:18.000Z | 2020-07-30T20:27:18.000Z | from django.contrib import admin
from django.urls import path
from . import views
urlpatterns = [
path('', views.about, name='about')
]
| 16 | 40 | 0.701389 | 19 | 144 | 5.315789 | 0.578947 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 144 | 8 | 41 | 18 | 0.863248 | 0 | 0 | 0 | 0 | 0 | 0.034722 | 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 |
5bb3cb3b77ec56268db753ec050aba254bf51f12 | 107 | py | Python | telegram_rss/__init__.py | pentatester/telegram-rss | de96efde83fa62abb112e9a37945f6e065e541d3 | [
"MIT"
] | 8 | 2021-02-01T15:19:31.000Z | 2021-05-30T17:11:14.000Z | telegram_rss/__init__.py | pentatester/telegram-rss | de96efde83fa62abb112e9a37945f6e065e541d3 | [
"MIT"
] | 5 | 2021-02-01T09:28:33.000Z | 2022-03-07T23:24:03.000Z | telegram_rss/__init__.py | pentatester/telegram-rss | de96efde83fa62abb112e9a37945f6e065e541d3 | [
"MIT"
] | 3 | 2021-02-10T17:45:39.000Z | 2021-04-18T14:22:31.000Z | #!/usr/bin/env python
from .version import __version__ # NOQA
__author__ = "hexatester@protonmail.com"
| 15.285714 | 40 | 0.747664 | 13 | 107 | 5.538462 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 6 | 41 | 17.833333 | 0.782609 | 0.233645 | 0 | 0 | 0 | 0 | 0.3125 | 0.3125 | 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 |
750244e3c11321b2a24bd6f617b7505aaa8206f8 | 70 | py | Python | config.py | ticibi/networking-socket-chat | 03693a1470b7519608aac5e00c47c60cfa995a5c | [
"MIT"
] | 1 | 2021-12-05T23:04:47.000Z | 2021-12-05T23:04:47.000Z | config.py | ticibi/networking-socket-chat | 03693a1470b7519608aac5e00c47c60cfa995a5c | [
"MIT"
] | null | null | null | config.py | ticibi/networking-socket-chat | 03693a1470b7519608aac5e00c47c60cfa995a5c | [
"MIT"
] | null | null | null | LOCALHOST = "127.0.0.1"
PORT = 55555
BUFFER = 2048
ENCODING = "utf-8"
| 14 | 23 | 0.657143 | 12 | 70 | 3.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 0.171429 | 70 | 4 | 24 | 17.5 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
7534f878011069a24b97af82430900b7e02ecafc | 13,652 | py | Python | django_server/feedback_map/rest/tests/map_data_points_tests.py | ForumViriumHelsinki/FVHFeedbackMap | cfbf3dd8715e34351fb1ba628ebb0c5eb82e78e0 | [
"MIT"
] | null | null | null | django_server/feedback_map/rest/tests/map_data_points_tests.py | ForumViriumHelsinki/FVHFeedbackMap | cfbf3dd8715e34351fb1ba628ebb0c5eb82e78e0 | [
"MIT"
] | null | null | null | django_server/feedback_map/rest/tests/map_data_points_tests.py | ForumViriumHelsinki/FVHFeedbackMap | cfbf3dd8715e34351fb1ba628ebb0c5eb82e78e0 | [
"MIT"
] | null | null | null | import os
from django.contrib.auth.models import Group, User
from django.core.files.uploadedfile import SimpleUploadedFile
from django.urls import reverse
from django.utils import timezone
from rest_framework import status
from .base import FVHAPITestCase
from feedback_map import models
from feedback_map.rest.permiss... | 42.266254 | 118 | 0.642616 | 1,707 | 13,652 | 5.024605 | 0.12478 | 0.023668 | 0.027982 | 0.067623 | 0.757258 | 0.73394 | 0.723213 | 0.699079 | 0.667949 | 0.653375 | 0 | 0.042323 | 0.247143 | 13,652 | 322 | 119 | 42.397516 | 0.792177 | 0.228172 | 0 | 0.566667 | 0 | 0 | 0.142284 | 0.022551 | 0 | 0 | 0 | 0 | 0.227778 | 1 | 0.061111 | false | 0 | 0.05 | 0 | 0.122222 | 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 |
7537885ec1ba7b59d32c992a30f9ac36e3476c32 | 87 | py | Python | casspy/apps.py | Joshua-Prince/Cassoundra | ee489546c7455bab1ee3433fb65da675a459b487 | [
"MIT"
] | 3 | 2017-12-21T13:40:59.000Z | 2021-11-14T20:00:58.000Z | casspy/apps.py | Joshua-Prince/Cassoundra | ee489546c7455bab1ee3433fb65da675a459b487 | [
"MIT"
] | 11 | 2017-07-24T07:45:19.000Z | 2017-08-29T22:28:36.000Z | casspy/apps.py | Joshua-Prince/Cassoundra | ee489546c7455bab1ee3433fb65da675a459b487 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CassPyConfig(AppConfig):
name = 'casspy'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 |
754639696c6e30f7441d9e8c18e1c69abc9ee710 | 275 | py | Python | components/samples/notifier_sample_sysout_notifier.py | microsoft/Guardinel | bc49c4fe051c3e533064c7043e1cee39cfb25d3a | [
"MIT"
] | 2 | 2022-01-26T07:34:44.000Z | 2022-03-29T19:51:45.000Z | components/samples/notifier_sample_sysout_notifier.py | microsoft/Guardinel | bc49c4fe051c3e533064c7043e1cee39cfb25d3a | [
"MIT"
] | null | null | null | components/samples/notifier_sample_sysout_notifier.py | microsoft/Guardinel | bc49c4fe051c3e533064c7043e1cee39cfb25d3a | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
from core.interfaces.notifier import Notifier
class CommandLineNotifier(Notifier):
def notify(self, entity, result):
print(result)
def name(self):
return 'cmdline_notifier'
| 19.642857 | 45 | 0.716364 | 31 | 275 | 6.322581 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 275 | 13 | 46 | 21.153846 | 0.890909 | 0.247273 | 0 | 0 | 0 | 0 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f338aa276fd09087d30cecbba978da951acc5180 | 138 | py | Python | 04-Use-Modules/challenges/challenges-1-5-24.py | upALX/CEV-pythonWorld-One | 166ee9c22833763daf5ffd6a951ef357dabf4172 | [
"MIT"
] | null | null | null | 04-Use-Modules/challenges/challenges-1-5-24.py | upALX/CEV-pythonWorld-One | 166ee9c22833763daf5ffd6a951ef357dabf4172 | [
"MIT"
] | null | null | null | 04-Use-Modules/challenges/challenges-1-5-24.py | upALX/CEV-pythonWorld-One | 166ee9c22833763daf5ffd6a951ef357dabf4172 | [
"MIT"
] | null | null | null | from pygame import mixer
mixer.init()
mixer.music.load('Monolink-Return-To-Oz.mp3')
mixer.music.play()
input('Toca MONOLINK nessa porra!') | 27.6 | 45 | 0.768116 | 22 | 138 | 4.818182 | 0.772727 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.072464 | 138 | 5 | 46 | 27.6 | 0.820313 | 0 | 0 | 0 | 0 | 0 | 0.366906 | 0.179856 | 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 |
f341df5e788e325a14be7e4e4229e66436fe4368 | 443 | py | Python | tests/large_graph/generate_topo.py | apanda/modeling | e032abd413bb3325ad6e5995abadeef74314f383 | [
"BSD-3-Clause"
] | 3 | 2017-08-30T05:24:11.000Z | 2021-02-25T12:17:19.000Z | tests/large_graph/generate_topo.py | apanda/modeling | e032abd413bb3325ad6e5995abadeef74314f383 | [
"BSD-3-Clause"
] | null | null | null | tests/large_graph/generate_topo.py | apanda/modeling | e032abd413bb3325ad6e5995abadeef74314f383 | [
"BSD-3-Clause"
] | 2 | 2017-11-15T07:00:48.000Z | 2020-12-13T17:29:03.000Z | import networkx as nx
import itertools
import mcnet.graphtools
""" Generate a large graph which is fully connected. Assign them to tenants (and hence equivalence class) at random.
This is really just for testing"""
def FirewallEhGenerator (num_nodes, num_tennants):
""" Generate a large graph where nodes are connec... | 40.272727 | 117 | 0.758465 | 67 | 443 | 4.985075 | 0.671642 | 0.053892 | 0.083832 | 0.113772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182844 | 443 | 10 | 118 | 44.3 | 0.922652 | 0.30474 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0 | 0.8 | 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 |
f357821dccd01d0eb7956cde6a1900ee78f24779 | 198 | py | Python | example-config.py | CristieNordic/Rubrik-ART | 99fb881bea9905572ab00276786a5e92bd252f75 | [
"MIT"
] | null | null | null | example-config.py | CristieNordic/Rubrik-ART | 99fb881bea9905572ab00276786a5e92bd252f75 | [
"MIT"
] | null | null | null | example-config.py | CristieNordic/Rubrik-ART | 99fb881bea9905572ab00276786a5e92bd252f75 | [
"MIT"
] | null | null | null | ## Base64 encoded admin:Strangep4assw0rd
#auth = {'Authorization': 'Basic YWRtaW46U3RyYW5nZXA0YXNzdzByZA=='}
RUBRIK_AUTH = 'YWRtaW46U3RyYW5nZXA0YXNzdzByZA=='
RUBRIK_URL = 'rubrik.company.com'
| 33 | 68 | 0.772727 | 16 | 198 | 9.4375 | 0.75 | 0.476821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079096 | 0.106061 | 198 | 5 | 69 | 39.6 | 0.774011 | 0.520202 | 0 | 0 | 0 | 0 | 0.581395 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
f36688f03395f3e7a040971b68bf4c44d7013c99 | 158 | py | Python | app.py | robdyke/cdkgoat | f6994848dd80e2b4acdaa27bcd6f0b71fecaac2a | [
"Apache-2.0"
] | 26 | 2020-09-02T08:01:15.000Z | 2022-02-16T14:16:40.000Z | app.py | robdyke/cdkgoat | f6994848dd80e2b4acdaa27bcd6f0b71fecaac2a | [
"Apache-2.0"
] | null | null | null | app.py | robdyke/cdkgoat | f6994848dd80e2b4acdaa27bcd6f0b71fecaac2a | [
"Apache-2.0"
] | 14 | 2020-11-06T22:40:44.000Z | 2022-03-16T04:39:28.000Z | #!/usr/bin/env python3
from aws_cdk import core
from cdkgoat.cdkgoat_stack import CdkGoatStack
app = core.App()
CdkGoatStack(app, "cdkgoat")
app.synth()
| 13.166667 | 46 | 0.753165 | 23 | 158 | 5.086957 | 0.608696 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.132911 | 158 | 11 | 47 | 14.363636 | 0.846715 | 0.132911 | 0 | 0 | 0 | 0 | 0.051471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 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 | 0 | 0 | 0 | 3 |
f371aae739291aa9e510fa3911c3df784746e7a1 | 239 | py | Python | application/admin/tasks.py | oceanio/flask-boot | df115a7591218d69b4d5b71617e922a516b88df9 | [
"Apache-2.0"
] | null | null | null | application/admin/tasks.py | oceanio/flask-boot | df115a7591218d69b4d5b71617e922a516b88df9 | [
"Apache-2.0"
] | null | null | null | application/admin/tasks.py | oceanio/flask-boot | df115a7591218d69b4d5b71617e922a516b88df9 | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
from application import celery, mail
from . import security
@celery.task
def send_security_email(msg):
mail.send(msg)
@security.send_mail_task
def delay_security_email(msg):
send_security_email.delay(msg) | 18.384615 | 36 | 0.753138 | 35 | 239 | 4.914286 | 0.428571 | 0.226744 | 0.197674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004831 | 0.133891 | 239 | 13 | 37 | 18.384615 | 0.826087 | 0.083682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f3b0a50175f71492dd698a8d6e94f9910caffb98 | 1,544 | py | Python | cracking_the_coding_interview_qs/4.8/find_first_ancestor_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | cracking_the_coding_interview_qs/4.8/find_first_ancestor_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | cracking_the_coding_interview_qs/4.8/find_first_ancestor_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | import unittest
from find_first_ancestor import Node, find_first_ancestor
class Test_Case_Find_First_Ancestor(unittest.TestCase):
def test_find_first_ancestor(self):
root = Node(1)
# build left
root.left_child = Node(2)
root.left_child.parent = root
root.left_child.left_chil... | 46.787879 | 166 | 0.720855 | 232 | 1,544 | 4.478448 | 0.172414 | 0.294514 | 0.336862 | 0.242541 | 0.595765 | 0.485082 | 0.422522 | 0.286814 | 0.264678 | 0.247353 | 0 | 0.01035 | 0.186529 | 1,544 | 33 | 167 | 46.787879 | 0.816879 | 0.014249 | 0 | 0 | 0 | 0 | 0.001316 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 1 | 0.068966 | false | 0 | 0.068966 | 0 | 0.206897 | 0.172414 | 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 |
f3bf0419527bd45862b752bdaae36809661b1a0c | 150 | py | Python | splunkapi3/__init__.py | swimlane/splunkapi3 | 9b12f58f17ea97a1fe8c6ff41e4da466b5e13e32 | [
"MIT"
] | null | null | null | splunkapi3/__init__.py | swimlane/splunkapi3 | 9b12f58f17ea97a1fe8c6ff41e4da466b5e13e32 | [
"MIT"
] | null | null | null | splunkapi3/__init__.py | swimlane/splunkapi3 | 9b12f58f17ea97a1fe8c6ff41e4da466b5e13e32 | [
"MIT"
] | 3 | 2019-05-31T02:20:05.000Z | 2021-02-22T00:45:53.000Z | from splunkapi3.client import Client
# version as tuple for simple comparisons
VERSION = (0, 1, 1)
__version__ = ".".join([str(x) for x in VERSION])
| 25 | 49 | 0.72 | 23 | 150 | 4.521739 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.16 | 150 | 5 | 50 | 30 | 0.793651 | 0.26 | 0 | 0 | 0 | 0 | 0.009259 | 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 |
34000fe3d9bd577770cb8c6941e4062fc99a35ee | 999 | py | Python | fastapi_mvc/generators/__init__.py | rszamszur/fastapi-mvc | 98670eda3b485cfe25850773dcc1ae7ae5feced9 | [
"MIT"
] | 98 | 2021-12-21T18:45:07.000Z | 2022-03-27T08:48:37.000Z | fastapi_mvc/generators/__init__.py | rszamszur/fastapi-mvc | 98670eda3b485cfe25850773dcc1ae7ae5feced9 | [
"MIT"
] | 48 | 2021-12-21T16:06:56.000Z | 2022-03-26T17:28:57.000Z | fastapi_mvc/generators/__init__.py | rszamszur/fastapi-mvc | 98670eda3b485cfe25850773dcc1ae7ae5feced9 | [
"MIT"
] | 16 | 2022-01-05T14:21:50.000Z | 2022-02-13T17:55:07.000Z | """Fastapi-mvc generators.
Fastapi-mvc comes with a number of scripts called generators that are designed
to make your development life easier by creating everything that’s necessary to
start working on a particular task.
Each generator is build of the following:
* A cookiecutter template.
* Click options and... | 32.225806 | 79 | 0.777778 | 133 | 999 | 5.766917 | 0.533835 | 0.078227 | 0.130378 | 0.125163 | 0.08605 | 0.08605 | 0.08605 | 0.08605 | 0 | 0 | 0 | 0.01171 | 0.145145 | 999 | 30 | 80 | 33.3 | 0.886417 | 0.750751 | 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 |
340bb63bd0af04db0773b896805309910e3894d9 | 125 | py | Python | Python/input_output.py | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 215 | 2021-10-01T08:18:16.000Z | 2022-03-29T04:12:03.000Z | Python/input_output.py | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 51 | 2021-10-01T08:16:42.000Z | 2021-10-31T13:51:51.000Z | Python/input_output.py | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 807 | 2021-10-01T08:11:45.000Z | 2021-11-21T18:57:09.000Z | #input
name = input("Your Name: ")
age = input("Your Age: ")
#output
print ("Hello",name,"Your age is",age,"years old") | 20.833333 | 50 | 0.616 | 19 | 125 | 4.052632 | 0.526316 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176 | 125 | 6 | 50 | 20.833333 | 0.747573 | 0.088 | 0 | 0 | 0 | 0 | 0.425926 | 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 |
3415c760708e4e1933f20e8a2390a07602389f2f | 593 | py | Python | tests/binary_search/test_square_root.py | davjohnst/fundamentals | f8aff4621432c3187305dd04563425f54ea08495 | [
"Apache-2.0"
] | null | null | null | tests/binary_search/test_square_root.py | davjohnst/fundamentals | f8aff4621432c3187305dd04563425f54ea08495 | [
"Apache-2.0"
] | null | null | null | tests/binary_search/test_square_root.py | davjohnst/fundamentals | f8aff4621432c3187305dd04563425f54ea08495 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from unittest import TestCase
from fundamentals.binary_search.square_root import SquareRoot
class TestSquareRoot(TestCase):
def test_sqrt_gt_one(self):
self.assertAlmostEqual(10, SquareRoot.sqrt(100))
def test_sqrt_lt_one(self):
self.assertAlmostEqual(0.1, SquareRoot.sq... | 21.962963 | 61 | 0.701518 | 76 | 593 | 5.197368 | 0.513158 | 0.070886 | 0.083544 | 0.212658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02714 | 0.192243 | 593 | 27 | 62 | 21.962963 | 0.797495 | 0.033727 | 0 | 0 | 0 | 0 | 0.013962 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.3125 | false | 0.0625 | 0.125 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
341cca693ff2e45424c1a6e5a3f9b2df36af10f5 | 109 | py | Python | 005/5.py | sar009/project-euler | e0ed66fea0e09e7d15d977ed09bf6e2b3b0dfe59 | [
"MIT"
] | null | null | null | 005/5.py | sar009/project-euler | e0ed66fea0e09e7d15d977ed09bf6e2b3b0dfe59 | [
"MIT"
] | null | null | null | 005/5.py | sar009/project-euler | e0ed66fea0e09e7d15d977ed09bf6e2b3b0dfe59 | [
"MIT"
] | null | null | null | num=1
for i in range(1, 20, 1):
j=1
while (num%i!=0):
num*=j
if (num%i!=0):
num/=j
j+=1
print(num) | 12.111111 | 25 | 0.513761 | 27 | 109 | 2.074074 | 0.444444 | 0.071429 | 0.178571 | 0.285714 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 0.238532 | 109 | 9 | 26 | 12.111111 | 0.566265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0 | 0 | null | 0 | 0 | 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 |
341ee4dec5b5f08387e83888c8db2db1d2059ac5 | 1,556 | py | Python | analyzer/ResultsCollector/CTestResults.py | FreekDS/git-ci-analyzer | 33e179ea2e569a9df3aefee40b96e5ff6d70da1f | [
"MIT"
] | 1 | 2022-01-16T16:18:59.000Z | 2022-01-16T16:18:59.000Z | analyzer/ResultsCollector/CTestResults.py | FreekDS/git-ci-analyzer | 33e179ea2e569a9df3aefee40b96e5ff6d70da1f | [
"MIT"
] | null | null | null | analyzer/ResultsCollector/CTestResults.py | FreekDS/git-ci-analyzer | 33e179ea2e569a9df3aefee40b96e5ff6d70da1f | [
"MIT"
] | null | null | null | import re
from analyzer.utils.TestResultCommand import TestResultCommand
class CTestResults(TestResultCommand):
# Repo to test: NCAR/ParallelIO
def _get_summary(self):
summary = re.findall(r'\d+% tests passed.*\n', self.log)
if summary:
return summary[0]
else:
... | 30.509804 | 107 | 0.587404 | 204 | 1,556 | 4.25 | 0.303922 | 0.048443 | 0.089965 | 0.073818 | 0.151096 | 0.089965 | 0.089965 | 0.089965 | 0.089965 | 0.089965 | 0 | 0.010157 | 0.303985 | 1,556 | 50 | 108 | 31.12 | 0.790397 | 0.018638 | 0 | 0.076923 | 0 | 0 | 0.056393 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205128 | false | 0.025641 | 0.051282 | 0.102564 | 0.589744 | 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 |
34237c914d0b67053b072b0ab51835dc7d4a82f4 | 405 | py | Python | ancilla/ancilla/foundation/api/resources/__init__.py | frenzylabs/ancilla | 3469272f17e1a5092d033cdc099f86f3052e744f | [
"Apache-2.0"
] | 7 | 2020-03-31T19:52:59.000Z | 2021-05-21T08:38:47.000Z | ancilla/ancilla/foundation/api/resources/__init__.py | frenzylabs/ancilla | 3469272f17e1a5092d033cdc099f86f3052e744f | [
"Apache-2.0"
] | 15 | 2020-04-01T13:52:07.000Z | 2020-04-01T13:52:11.000Z | ancilla/ancilla/foundation/api/resources/__init__.py | frenzylabs/ancilla | 3469272f17e1a5092d033cdc099f86f3052e744f | [
"Apache-2.0"
] | null | null | null | '''
__init__.py
ancilla
Created by Wess Cope (me@wess.io) on 10/04/19
Copyright 2019 Wess Cope
'''
from .ports import PortsResource
from .document import DocumentResource
from .file import FileResource
from .webcam import WebcamHandler
from .layerkeep import LayerkeepResource
from .static impor... | 21.315789 | 46 | 0.765432 | 50 | 405 | 6.12 | 0.66 | 0.052288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030211 | 0.182716 | 405 | 19 | 47 | 21.315789 | 0.89426 | 0.224691 | 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 |
342f703f191fa966e4611d86a776bfe25a785ae1 | 424 | py | Python | sdk/python/pulumi_azure_nextgen/documentdb/__init__.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_nextgen/documentdb/__init__.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_nextgen/documentdb/__init__.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
# Make subpackages available:
from . import (
latest,
v20150401,
v20150408,
v20151106,
v20160319,
v20160331,
v20190801,
... | 19.272727 | 80 | 0.653302 | 46 | 424 | 6.021739 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.306962 | 0.254717 | 424 | 21 | 81 | 20.190476 | 0.56962 | 0.445755 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
34347b805849212473e1554232a183fbd845d5c6 | 2,083 | py | Python | yt_dlp_nao/extractor/gorin.py | sheerluck/ytdl-patched | 3242cc80a420fc1c4433dba680c84b1b5820ec68 | [
"Unlicense"
] | 80 | 2021-05-25T11:33:49.000Z | 2022-03-29T20:36:53.000Z | yt_dlp_nao/extractor/gorin.py | sheerluck/ytdl-patched | 3242cc80a420fc1c4433dba680c84b1b5820ec68 | [
"Unlicense"
] | 22 | 2021-05-08T13:44:12.000Z | 2022-03-30T01:27:23.000Z | yt_dlp_nao/extractor/gorin.py | sheerluck/ytdl-patched | 3242cc80a420fc1c4433dba680c84b1b5820ec68 | [
"Unlicense"
] | 22 | 2021-05-07T05:01:27.000Z | 2022-03-26T19:10:54.000Z | # coding: utf-8
from __future__ import unicode_literals
from .common import InfoExtractor
from ..utils import unescapeHTML
class GorinLiveIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?gorin\.jp/live/(?P<id>[A-Za-z0-9_-]+)'
_TESTS = [{
'url': 'https://gorin.jp/live/BSBWSBLTEAM9----------GP--000... | 31.560606 | 102 | 0.590975 | 249 | 2,083 | 4.658635 | 0.321285 | 0.05431 | 0.072414 | 0.037931 | 0.787931 | 0.753448 | 0.708621 | 0.708621 | 0.644828 | 0.581034 | 0 | 0.032861 | 0.254921 | 2,083 | 65 | 103 | 32.046154 | 0.714562 | 0.027364 | 0 | 0.693878 | 0 | 0.020408 | 0.274975 | 0.050445 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0.061224 | 0 | 0.306122 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 |
343bcafd3f077067e42b61dd1e597e4ba566e0cf | 626 | py | Python | src/sequence_jacobian/classes/steady_state_dict.py | gboehl/sequence-jacobian | 01d177cc254a2ccee57a3ed273117bea58554be2 | [
"MIT"
] | null | null | null | src/sequence_jacobian/classes/steady_state_dict.py | gboehl/sequence-jacobian | 01d177cc254a2ccee57a3ed273117bea58554be2 | [
"MIT"
] | null | null | null | src/sequence_jacobian/classes/steady_state_dict.py | gboehl/sequence-jacobian | 01d177cc254a2ccee57a3ed273117bea58554be2 | [
"MIT"
] | null | null | null | from copy import deepcopy
from .result_dict import ResultDict
from ..utilities.misc import dict_diff
from ..utilities.ordered_set import OrderedSet
from ..utilities.bijection import Bijection
import numpy as np
from numbers import Real
from typing import Any, Dict, Union
Array = Any
class SteadyStateDict(ResultDict... | 28.454545 | 98 | 0.765176 | 88 | 626 | 5.329545 | 0.522727 | 0.083156 | 0.051173 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00188 | 0.15016 | 626 | 21 | 99 | 29.809524 | 0.879699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.533333 | 0.133333 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
34470c8b17cdc2b0fe960ca443f84f0dd2aad22f | 695 | py | Python | archai/algos/manual/manual_exp_runner.py | shatadru99/archai | 8501080f8ecc73327979c02387e02011efb4c335 | [
"MIT"
] | 1 | 2020-01-29T18:45:42.000Z | 2020-01-29T18:45:42.000Z | archai/algos/manual/manual_exp_runner.py | shatadru99/archai | 8501080f8ecc73327979c02387e02011efb4c335 | [
"MIT"
] | null | null | null | archai/algos/manual/manual_exp_runner.py | shatadru99/archai | 8501080f8ecc73327979c02387e02011efb4c335 | [
"MIT"
] | 1 | 2020-01-31T15:51:53.000Z | 2020-01-31T15:51:53.000Z | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from typing import Optional, Type
from overrides import overrides
from archai.common.config import Config
from archai.nas import nas_utils
from archai.nas.exp_runner import ExperimentRunner
from archai.nas.arch_trainer import ArchTr... | 25.740741 | 62 | 0.746763 | 82 | 695 | 6.256098 | 0.54878 | 0.097466 | 0.101365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194245 | 695 | 26 | 63 | 26.730769 | 0.916071 | 0.189928 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.5 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
3449c5f90af7483b4638c7608ef282e763e7e1ed | 205 | py | Python | tests/search_filters_test.py | sphericalcow/okcupyd | ae0a99d248c515eea9a6d21a9c89f51e299b33f5 | [
"MIT"
] | 89 | 2015-01-09T19:58:07.000Z | 2022-03-03T21:56:50.000Z | tests/search_filters_test.py | sphericalcow/okcupyd | ae0a99d248c515eea9a6d21a9c89f51e299b33f5 | [
"MIT"
] | 51 | 2015-01-18T23:09:35.000Z | 2017-04-24T03:16:03.000Z | tests/search_filters_test.py | sphericalcow/okcupyd | ae0a99d248c515eea9a6d21a9c89f51e299b33f5 | [
"MIT"
] | 24 | 2015-01-16T17:43:21.000Z | 2020-09-18T12:19:15.000Z | from okcupyd.json_search import search_filters
def test_gentation():
assert set(search_filters.build(
gentation=['women who like men', 'gay men only']
)['gentation']) == set(['4', '34'])
| 25.625 | 56 | 0.663415 | 27 | 205 | 4.888889 | 0.740741 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.180488 | 205 | 7 | 57 | 29.285714 | 0.767857 | 0 | 0 | 0 | 0 | 0 | 0.204878 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3452ca2e408d30e0fb6289fbdc3b3578747ffc2e | 990 | py | Python | frozendict.py | bmintz/python-snippets | 982861c173bf4bcd5d908514a9e8b1914a580a5d | [
"CC0-1.0"
] | 2 | 2018-11-12T10:33:13.000Z | 2019-02-24T05:01:40.000Z | frozendict.py | LyricLy/python-snippets | 9d868b7bbccd793ea1dc513f51290963584a1dee | [
"CC0-1.0"
] | null | null | null | frozendict.py | LyricLy/python-snippets | 9d868b7bbccd793ea1dc513f51290963584a1dee | [
"CC0-1.0"
] | 2 | 2018-11-24T08:16:59.000Z | 2019-02-24T04:41:30.000Z | from collections import Mapping
# https://github.com/slezica/python-frozendict/blob/7e078bf084ee734367dde8db2c8a2f00ec37375f/frozendict/__init__.py
class FrozenDict(Mapping):
__slots__ = frozenset({'_dict', '_hash'})
def __init__(self, *args, **kwargs):
self._dict = dict(*args, **kwargs)
self._hash = None
de... | 20.204082 | 115 | 0.691919 | 141 | 990 | 4.35461 | 0.347518 | 0.078176 | 0.053746 | 0.052117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032887 | 0.170707 | 990 | 48 | 116 | 20.625 | 0.714982 | 0.114141 | 0 | 0.117647 | 0 | 0 | 0.051429 | 0.04 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.029412 | 0.176471 | 0.676471 | 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 |
347e388759098fef7f8f037498444af6f087479a | 2,541 | py | Python | lib/twisted/test/test_abstract.py | Kagami/kisa | 2597f67e519b8d66fec2684ff5a7726436bb029b | [
"CC0-1.0"
] | 7 | 2015-04-28T13:26:11.000Z | 2020-02-09T17:01:04.000Z | lib/twisted/test/test_abstract.py | Kagami/kisa | 2597f67e519b8d66fec2684ff5a7726436bb029b | [
"CC0-1.0"
] | null | null | null | lib/twisted/test/test_abstract.py | Kagami/kisa | 2597f67e519b8d66fec2684ff5a7726436bb029b | [
"CC0-1.0"
] | 3 | 2015-03-10T20:56:17.000Z | 2021-08-21T02:44:24.000Z | # Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
"""
Tests for generic file descriptor based reactor support code.
"""
from twisted.trial.unittest import TestCase
from twisted.internet.abstract import isIPAddress
class AddressTests(TestCase):
"""
Tests for address-related functionali... | 30.25 | 74 | 0.62928 | 292 | 2,541 | 5.452055 | 0.294521 | 0.188442 | 0.326633 | 0.135678 | 0.416457 | 0.388819 | 0.26696 | 0.26696 | 0.197236 | 0.173367 | 0 | 0.047101 | 0.239669 | 2,541 | 83 | 75 | 30.614458 | 0.776915 | 0.310901 | 0 | 0 | 0 | 0 | 0.092398 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 1 | 0.21875 | false | 0 | 0.0625 | 0 | 0.3125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
347f6fa40be74e0af6375fdf3f336503b8d6ea0d | 1,065 | py | Python | mtgproxy/api.py | adamburns/mtgproxy | c52a896c3a322ddaade5232dc871fc098e56dab9 | [
"MIT"
] | null | null | null | mtgproxy/api.py | adamburns/mtgproxy | c52a896c3a322ddaade5232dc871fc098e56dab9 | [
"MIT"
] | null | null | null | mtgproxy/api.py | adamburns/mtgproxy | c52a896c3a322ddaade5232dc871fc098e56dab9 | [
"MIT"
] | null | null | null | from mtgsdk import Card
from datetime import datetime as dt
from mtgsdk import Set
from io import BytesIO
import requests
from PIL import Image
def datify(date):
return dt.strptime(date, '%Y-%m-%d')
def get_newest_set(card_list):
return max(card_list, key=lambda
card: datify(get_date(card.... | 19.722222 | 61 | 0.65446 | 154 | 1,065 | 4.331169 | 0.331169 | 0.062969 | 0.047976 | 0.050975 | 0.173913 | 0.173913 | 0.173913 | 0.173913 | 0.173913 | 0.173913 | 0 | 0 | 0.23662 | 1,065 | 53 | 62 | 20.09434 | 0.820418 | 0 | 0 | 0.058824 | 0 | 0 | 0.047887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.264706 | false | 0 | 0.176471 | 0.205882 | 0.705882 | 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 |
cac24377ed49419a126da3e30a03190c78071504 | 152 | py | Python | app.py | aws-samples/regulated-mlops-using-amazon-sagemaker | a6e212a2adae39a092ca6ed01f6f997a91e167d2 | [
"MIT-0"
] | null | null | null | app.py | aws-samples/regulated-mlops-using-amazon-sagemaker | a6e212a2adae39a092ca6ed01f6f997a91e167d2 | [
"MIT-0"
] | null | null | null | app.py | aws-samples/regulated-mlops-using-amazon-sagemaker | a6e212a2adae39a092ca6ed01f6f997a91e167d2 | [
"MIT-0"
] | null | null | null | #!/usr/bin/env python3
from aws_cdk import core
from infra.regml_stack import RegMLStack
app = core.App()
RegMLStack(app, "regml-stack")
app.synth()
| 16.888889 | 40 | 0.75 | 24 | 152 | 4.666667 | 0.625 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.125 | 152 | 8 | 41 | 19 | 0.834586 | 0.138158 | 0 | 0 | 0 | 0 | 0.084615 | 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 |
cac668877428cd39e40466fa8d3efdf7a5b0f523 | 1,307 | py | Python | python/misc/parenthesis_checker.py | christopher-burke/warmups | 140c96ada87ec5e9faa4622504ddee18840dce4a | [
"MIT"
] | null | null | null | python/misc/parenthesis_checker.py | christopher-burke/warmups | 140c96ada87ec5e9faa4622504ddee18840dce4a | [
"MIT"
] | 2 | 2022-03-10T03:49:14.000Z | 2022-03-14T00:49:54.000Z | python/misc/parenthesis_checker.py | christopher-burke/warmups | 140c96ada87ec5e9faa4622504ddee18840dce4a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""Parenthesis Checker.
Given an expression string exp.
Examine whether the pairs and the orders of
“{“,”}”,”(“,”)”,”[“,”]” are correct in exp.
For example, the program should print 'balanced' for
exp = “[()]{}{[()()]()}” and 'not balanced' for exp = “[(])”
"""
from collections import namedtup... | 27.808511 | 75 | 0.551645 | 144 | 1,307 | 4.888889 | 0.444444 | 0.204545 | 0.196023 | 0.198864 | 0.25142 | 0.25142 | 0.196023 | 0.196023 | 0.196023 | 0.196023 | 0 | 0.007187 | 0.254782 | 1,307 | 46 | 76 | 28.413043 | 0.715606 | 0.313695 | 0 | 0.074074 | 0 | 0 | 0.087302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.037037 | 0 | 0.148148 | 0.222222 | 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 |
cac68d5c270590f49d23431e4b9df73bc6f303d0 | 87 | py | Python | enrich/apps.py | acdh-oeaw/gnapp | 8f6b25e1c63279d234ab35a779efa8647256a02b | [
"MIT"
] | 4 | 2018-07-02T13:56:42.000Z | 2019-03-03T00:22:53.000Z | enrich/apps.py | acdh-oeaw/spacyapp | b77d7fb22da468a87db4a09a500dae9e9cf7b6be | [
"MIT"
] | 23 | 2018-04-09T08:32:41.000Z | 2021-12-13T19:48:44.000Z | enrich/apps.py | acdh-oeaw/gnapp | 8f6b25e1c63279d234ab35a779efa8647256a02b | [
"MIT"
] | 1 | 2019-01-02T14:52:11.000Z | 2019-01-02T14:52:11.000Z | from django.apps import AppConfig
class enrichConfig(AppConfig):
name = 'enrich'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 |
cad0b35379b6bb54687158ad14166521fc852288 | 524 | py | Python | base_wx/icon.py | adrianopls/UIManager | 7f2da489cd4cddcc1cbe0433552d1edf8280495f | [
"Apache-2.0"
] | null | null | null | base_wx/icon.py | adrianopls/UIManager | 7f2da489cd4cddcc1cbe0433552d1edf8280495f | [
"Apache-2.0"
] | 6 | 2021-05-14T14:34:11.000Z | 2021-05-26T00:16:35.000Z | base_wx/icon.py | adrianopls/UIManager | 7f2da489cd4cddcc1cbe0433552d1edf8280495f | [
"Apache-2.0"
] | null | null | null |
import wx
from pathlib import Path
import app
class UIIcon(wx.Icon):
def __init__(self, path_to_bitmap=None, type_=wx.BITMAP_TYPE_ANY):
if path_to_bitmap is not None:
if Path(path_to_bitmap).exists():
pass
elif Path(app.ICONS_PATH, path_to_bitmap).exists():
... | 29.111111 | 70 | 0.618321 | 71 | 524 | 4.169014 | 0.43662 | 0.141892 | 0.283784 | 0.162162 | 0.283784 | 0.189189 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0.291985 | 524 | 18 | 71 | 29.111111 | 0.797844 | 0 | 0 | 0 | 0 | 0 | 0.04771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.076923 | 0.230769 | 0 | 0.384615 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
caf2fa5fcaf4f7fb7861254391cd7237e217454e | 417 | py | Python | skintervals/datetime_interval.py | Marcnuth/scikit-intervals | a58ede99166b9477d85b11fdfffd63c10a826f56 | [
"Apache-2.0"
] | 1 | 2018-02-22T18:58:26.000Z | 2018-02-22T18:58:26.000Z | skintervals/datetime_interval.py | Marcnuth/scikit-intervals | a58ede99166b9477d85b11fdfffd63c10a826f56 | [
"Apache-2.0"
] | 1 | 2019-10-05T11:32:55.000Z | 2019-10-05T11:32:55.000Z | skintervals/datetime_interval.py | Marcnuth/scikit-intervals | a58ede99166b9477d85b11fdfffd63c10a826f56 | [
"Apache-2.0"
] | null | null | null | from .basic_interval import Interval
from datetime import datetime
import arrow
class DatetimeInterval(Interval):
value_type = datetime
def _is_element_valid(self, ele):
return isinstance(ele, datetime)
def _element_to_str(self, ele):
return arrow.get(ele).format('YYYY-MM-DD HH:mm:ss ZZ')... | 26.0625 | 62 | 0.717026 | 59 | 417 | 4.847458 | 0.525424 | 0.097902 | 0.090909 | 0.118881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194245 | 417 | 16 | 63 | 26.0625 | 0.85119 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.916667 | 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 |
1b13ea538951ae871c6b198bb7e65dcb22840f3b | 79 | py | Python | app.py | quantum-apps/Primer_Repo | 9e92b338cd07811572667de155fba8b1add8f128 | [
"MIT"
] | null | null | null | app.py | quantum-apps/Primer_Repo | 9e92b338cd07811572667de155fba8b1add8f128 | [
"MIT"
] | null | null | null | app.py | quantum-apps/Primer_Repo | 9e92b338cd07811572667de155fba8b1add8f128 | [
"MIT"
] | null | null | null | import streamlit as st
st.title('Hello')
st.button('Click aqui')
st.balloons()
| 15.8 | 23 | 0.734177 | 13 | 79 | 4.461538 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 4 | 24 | 19.75 | 0.816901 | 0 | 0 | 0 | 0 | 0 | 0.189873 | 0 | 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 |
1b1d4724ee2e795e8529951b105a314a443bb78d | 125 | py | Python | Chapter06/src/fizzbuzz/testing/fixtures.py | ibiscum/Crafting-Test-Driven-Software-with-Python | 23df0bfb8d526e9920e619513021eefa531a8d30 | [
"MIT"
] | 37 | 2021-03-02T16:46:33.000Z | 2022-03-30T21:08:12.000Z | Chapter06/src/fizzbuzz/testing/fixtures.py | ibiscum/Crafting-Test-Driven-Software-with-Python | 23df0bfb8d526e9920e619513021eefa531a8d30 | [
"MIT"
] | 3 | 2021-06-19T15:28:08.000Z | 2022-01-27T06:22:58.000Z | Chapter06/src/fizzbuzz/testing/fixtures.py | ibiscum/Crafting-Test-Driven-Software-with-Python | 23df0bfb8d526e9920e619513021eefa531a8d30 | [
"MIT"
] | 23 | 2021-02-18T21:48:20.000Z | 2022-02-05T12:21:11.000Z | import pytest
@pytest.fixture(scope="function", autouse=True)
def announce(request):
print("RUNNING", request.function) | 20.833333 | 47 | 0.752 | 15 | 125 | 6.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104 | 125 | 6 | 48 | 20.833333 | 0.839286 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1b228bb32183e9e1e07a4408351577faacb5c7db | 32 | py | Python | caldera_agent/__init__.py | mitre/caldera-agent | 8d3d3de67480a54e62a5184cb1a893c98b5c1310 | [
"PSF-2.0",
"Apache-2.0"
] | 18 | 2017-12-05T18:29:03.000Z | 2021-06-28T02:21:59.000Z | caldera_agent/__init__.py | mitre/caldera-agent | 8d3d3de67480a54e62a5184cb1a893c98b5c1310 | [
"PSF-2.0",
"Apache-2.0"
] | 5 | 2017-12-18T23:48:08.000Z | 2021-04-10T21:15:49.000Z | caldera_agent/__init__.py | mitre/caldera-agent | 8d3d3de67480a54e62a5184cb1a893c98b5c1310 | [
"PSF-2.0",
"Apache-2.0"
] | 7 | 2017-12-05T18:44:42.000Z | 2021-06-28T02:22:12.000Z | PIPE_PATH = r"\\.\pipe\caldera"
| 16 | 31 | 0.65625 | 5 | 32 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 |
1b7a3c3125d6c281638284eafcffb80509280a60 | 1,625 | py | Python | registers/blob.py | arnau/registers-cli | 503175734b22e0f98381979cfe86ba95a0b9ada3 | [
"MIT"
] | 4 | 2019-07-09T13:16:26.000Z | 2019-09-26T12:11:17.000Z | registers/blob.py | arnau/registers-cli | 503175734b22e0f98381979cfe86ba95a0b9ada3 | [
"MIT"
] | 4 | 2019-04-11T08:06:42.000Z | 2019-05-08T07:25:20.000Z | registers/blob.py | arnau/registers-cli | 503175734b22e0f98381979cfe86ba95a0b9ada3 | [
"MIT"
] | 2 | 2019-04-08T16:15:53.000Z | 2021-04-11T08:26:08.000Z | # -*- coding: utf-8 -*-
"""
This module implements the Blob representation.
:copyright: © 2019 Crown Copyright (Government Digital Service)
:license: MIT, see LICENSE for more details.
"""
from typing import Dict, Union, List, Optional
from hashlib import sha256
import json
from .hash import Hash
Value = Union[str... | 24.253731 | 76 | 0.600615 | 208 | 1,625 | 4.548077 | 0.4375 | 0.05074 | 0.02537 | 0.031712 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01594 | 0.266462 | 1,625 | 66 | 77 | 24.621212 | 0.776846 | 0.298462 | 0 | 0 | 0 | 0 | 0.013527 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.346154 | false | 0 | 0.153846 | 0.153846 | 0.846154 | 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 |
1b9eeb39eb999e535baab99845f587fe33de4da8 | 9,360 | py | Python | server/opendp_apps/dataverses/testing/test_file_view.py | opendp/opendp-ux | e9f591f1722f8aece022c790506381f13a728305 | [
"MIT"
] | 6 | 2021-05-25T18:50:58.000Z | 2022-03-23T19:52:15.000Z | server/opendp_apps/dataverses/testing/test_file_view.py | opendp/dpcreator | 6ba3c58ecdcd81ca1f4533a14ce7604eccf6a646 | [
"MIT"
] | 298 | 2021-05-19T17:34:09.000Z | 2022-03-29T18:45:22.000Z | server/opendp_apps/dataverses/testing/test_file_view.py | opendp/dpcreator | 6ba3c58ecdcd81ca1f4533a14ce7604eccf6a646 | [
"MIT"
] | null | null | null | import requests_mock
from django.contrib.auth import get_user_model
from django.test import TestCase
from opendp_apps.dataverses.dataverse_manifest_params import DataverseManifestParams
from opendp_apps.dataverses.models import ManifestTestParams
from opendp_apps.dataverses.testing import schema_test_data
from opendp... | 48.497409 | 108 | 0.655876 | 1,165 | 9,360 | 4.95794 | 0.16309 | 0.05367 | 0.041205 | 0.055402 | 0.765582 | 0.723338 | 0.700485 | 0.665512 | 0.648719 | 0.639889 | 0 | 0.040743 | 0.252671 | 9,360 | 192 | 109 | 48.75 | 0.784989 | 0.156624 | 0 | 0.55 | 0 | 0.025 | 0.141361 | 0.085685 | 0 | 0 | 0 | 0 | 0.225 | 1 | 0.066667 | false | 0 | 0.058333 | 0 | 0.141667 | 0.008333 | 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 |
1bb7f2f75f7760d799f79149da64e5a26a1737d8 | 372 | py | Python | main.py | gbanegas/codes | 7e10dd3f9ecb109d4cfbf44d0dd04d919bd1e949 | [
"Apache-2.0"
] | null | null | null | main.py | gbanegas/codes | 7e10dd3f9ecb109d4cfbf44d0dd04d919bd1e949 | [
"Apache-2.0"
] | null | null | null | main.py | gbanegas/codes | 7e10dd3f9ecb109d4cfbf44d0dd04d919bd1e949 | [
"Apache-2.0"
] | null | null | null | from karatsuba_pol import *
def main():
kara = Karatsuba()
pol_1 = [1,1,1]
kara.print_pol(pol_1)
pol_2 = [1,1,0]
kara.print_pol(pol_2)
result= kara.karatsuba(pol_1, pol_2)
kara.print_pol(result)
print "Degree: ", len(pol_1)
print "XORS: ", kara.get_nr_xor()
print "ANDs: ", kara.... | 21.882353 | 40 | 0.61828 | 60 | 372 | 3.45 | 0.366667 | 0.077295 | 0.173913 | 0.164251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045139 | 0.225806 | 372 | 16 | 41 | 23.25 | 0.673611 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.071429 | null | null | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
1bc7a0d923a35c5bf5628967de3b45cd0e44e481 | 495 | py | Python | PropertyTax.py | ChrisCraddock/PythonSchoolWork | 8d4ecdb05ce4273c840a0cf1988e833a220ec380 | [
"MIT"
] | null | null | null | PropertyTax.py | ChrisCraddock/PythonSchoolWork | 8d4ecdb05ce4273c840a0cf1988e833a220ec380 | [
"MIT"
] | null | null | null | PropertyTax.py | ChrisCraddock/PythonSchoolWork | 8d4ecdb05ce4273c840a0cf1988e833a220ec380 | [
"MIT"
] | null | null | null | # property tax is 0.72 for each $100. $6000 will be $43.20 in taxes
def main():
property_value = int(input('What is the value of the property? : '))
print('The assessed value is $', format(assValue(property_value), '.2f'))
print('The property tax is $', format(propTax(assValue(property_value)), '.2f'... | 24.75 | 85 | 0.630303 | 71 | 495 | 4.323944 | 0.450704 | 0.211726 | 0.205212 | 0.149837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066138 | 0.236364 | 495 | 19 | 86 | 26.052632 | 0.746032 | 0.133333 | 0 | 0 | 0 | 0 | 0.213235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0 | 0.454545 | 0.181818 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
94021aac4df3e1356b2b2c69b812502b3bc1fd4a | 1,145 | py | Python | tutorials/string_escaping.py | shiblon/pytour | 71a181ec16fd38b0af62f55e28a50e91790733b9 | [
"Apache-2.0"
] | 2 | 2016-04-30T00:12:50.000Z | 2018-11-14T20:47:55.000Z | tutorials/string_escaping.py | shiblon/pytour | 71a181ec16fd38b0af62f55e28a50e91790733b9 | [
"Apache-2.0"
] | 2 | 2020-02-17T22:31:09.000Z | 2020-02-18T04:31:55.000Z | tutorials/string_escaping.py | shiblon/pytour | 71a181ec16fd38b0af62f55e28a50e91790733b9 | [
"Apache-2.0"
] | 3 | 2018-03-26T17:41:40.000Z | 2019-06-28T12:53:47.000Z | # vim:tw=50
"""String Escaping
There is no difference between |'| and |"| - they both form
equivalent strings. People usually pick one based on preference,
changing only to include quotes inside, like this:
"Don't touch my quoting."
'I need to "work", now.'
Occasionally, you need to include both kinds of
quotes... | 25.444444 | 72 | 0.733624 | 181 | 1,145 | 4.59116 | 0.607735 | 0.021661 | 0.043321 | 0.046931 | 0.057762 | 0.057762 | 0 | 0 | 0 | 0 | 0 | 0.003185 | 0.177293 | 1,145 | 44 | 73 | 26.022727 | 0.878981 | 0.028821 | 0 | 0 | 0 | 0 | 0.752044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
9436625508fd64148491cd705183750cff19a7a0 | 1,370 | py | Python | CURSOEMVIDEO/ex044.py | souzasnp/PrimeiroProjeto | e88bde45df14d9c584b24caabb5186cb98141291 | [
"MIT"
] | null | null | null | CURSOEMVIDEO/ex044.py | souzasnp/PrimeiroProjeto | e88bde45df14d9c584b24caabb5186cb98141291 | [
"MIT"
] | null | null | null | CURSOEMVIDEO/ex044.py | souzasnp/PrimeiroProjeto | e88bde45df14d9c584b24caabb5186cb98141291 | [
"MIT"
] | null | null | null | #Elabore um programa que calcule o valor a ser pago por um produto, considerando o seu preço normal e condição de pagamento. -Avista dinheiro/cheque 10% de desconto. -Avista no cartão 5% de desconto. -Em até 2x no cartão preço normal. -3x ou mais no cartão 20% de juros.
print('xxxxxxxxxx PROGRAMA DE DESCONTO xxxxxxxxxx... | 97.857143 | 270 | 0.708759 | 223 | 1,370 | 4.35426 | 0.264574 | 0.049434 | 0.072091 | 0.07724 | 0.520082 | 0.520082 | 0.254377 | 0.254377 | 0.254377 | 0.254377 | 0 | 0.039931 | 0.159124 | 1,370 | 14 | 271 | 97.857143 | 0.802951 | 0.19635 | 0 | 0 | 0 | 0.384615 | 0.688465 | 0.035422 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.538462 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
94811030065a69b5efd95dc0240409da898c1f8c | 829 | py | Python | oj/8E.py | ntdgy/python_study | c3511846a89ea72418937de4cc3edf1595a46ec5 | [
"MIT"
] | null | null | null | oj/8E.py | ntdgy/python_study | c3511846a89ea72418937de4cc3edf1595a46ec5 | [
"MIT"
] | null | null | null | oj/8E.py | ntdgy/python_study | c3511846a89ea72418937de4cc3edf1595a46ec5 | [
"MIT"
] | null | null | null | import random
for i2 in range(1, 22, 1):
writer = open("W:\\oj\\8E\\" + str(i2) + ".in", 'w')
if i2 <= 5:
k = random.randint(10, 20)
elif i2 <= 10:
k = random.randint(100, 1000)
elif i2 <= 15:
k = random.randint(10000, 20000)
elif i2 <= 19:
k = random.randint(20000, ... | 30.703704 | 66 | 0.493366 | 111 | 829 | 3.684685 | 0.315315 | 0.286064 | 0.205379 | 0.244499 | 0.342298 | 0.342298 | 0 | 0 | 0 | 0 | 0 | 0.181982 | 0.330519 | 829 | 26 | 67 | 31.884615 | 0.554955 | 0 | 0 | 0.4 | 0 | 0 | 0.027744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 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 |
8483693380dc94dd3f6a946640e1cf4d42e45847 | 426 | py | Python | challenge/test.py | florianletsch/kinect-juggling | f320cc0b55adf65d338d25986a03106a7e3f46ef | [
"Unlicense",
"MIT"
] | 7 | 2015-11-27T09:53:32.000Z | 2021-01-13T17:35:54.000Z | challenge/test.py | florianletsch/kinect-juggling | f320cc0b55adf65d338d25986a03106a7e3f46ef | [
"Unlicense",
"MIT"
] | null | null | null | challenge/test.py | florianletsch/kinect-juggling | f320cc0b55adf65d338d25986a03106a7e3f46ef | [
"Unlicense",
"MIT"
] | null | null | null | import timeit
# import pyximport; pyximport.install()
# import doit
# import cy_sum_arrays as flo
# import numpy as np
setup = '''
import pyximport;
import numpy as np
pyximport.install(setup_args={'include_dirs': np.get_include()})
import doit
a = np.random.random_integers(0,255, (10,10)).astype(np.uint8)
'''
print... | 23.666667 | 85 | 0.730047 | 68 | 426 | 4.441176 | 0.485294 | 0.099338 | 0.086093 | 0.099338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037234 | 0.117371 | 426 | 18 | 86 | 23.666667 | 0.765957 | 0.279343 | 0 | 0 | 0 | 0.111111 | 0.688742 | 0.337748 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.555556 | null | null | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8485030032585bb022e236c336cd5d2d24d4cc4a | 1,040 | py | Python | misc/observer.py | dpazel/music_rep | 2f9de9b98b13df98f1a0a2120b84714725ce527e | [
"MIT"
] | 1 | 2021-05-06T19:45:54.000Z | 2021-05-06T19:45:54.000Z | misc/observer.py | dpazel/music_rep | 2f9de9b98b13df98f1a0a2120b84714725ce527e | [
"MIT"
] | null | null | null | misc/observer.py | dpazel/music_rep | 2f9de9b98b13df98f1a0a2120b84714725ce527e | [
"MIT"
] | null | null | null | """
Created on Jul 7, 2016
File: observer.py
Purpose: Observer in an observer pattern. In short, a client to an observable
that receives notification of event based on something 'happening' to the observable.
@author: donald p pazel
"""
from abc import ABCMeta, abstractmethod
class Observer(object):
"... | 28.888889 | 105 | 0.649038 | 122 | 1,040 | 5.45082 | 0.508197 | 0.058647 | 0.030075 | 0.06015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006676 | 0.279808 | 1,040 | 36 | 106 | 28.888889 | 0.881175 | 0.630769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0 | 0.714286 | 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 |
84a04a59508f0b1cb79752856a76b09929e5e4db | 305 | py | Python | instagram/forms.py | markmumba/instagram | 76aa0d317dd82ddd5ea63edb9df173024039388f | [
"MIT"
] | null | null | null | instagram/forms.py | markmumba/instagram | 76aa0d317dd82ddd5ea63edb9df173024039388f | [
"MIT"
] | 5 | 2020-06-05T22:45:49.000Z | 2021-09-08T01:16:17.000Z | instagram/forms.py | markmumba/instagram | 76aa0d317dd82ddd5ea63edb9df173024039388f | [
"MIT"
] | null | null | null | from django import forms
from .models import Image,Comments
class NewsStatusForm(forms.ModelForm):
class Meta:
model = Image
fields = ('image' , 'image_caption')
class NewCommentForm(forms.ModelForm):
class Meta:
model = Comments
fields = ('comment' ,)
| 20.333333 | 44 | 0.636066 | 31 | 305 | 6.225806 | 0.516129 | 0.145078 | 0.196891 | 0.238342 | 0.290155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272131 | 305 | 15 | 45 | 20.333333 | 0.869369 | 0 | 0 | 0.2 | 0 | 0 | 0.081699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 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 |
84c64cca568276e6589312915d81a395d42ee878 | 374 | py | Python | python_oop/Getter_and_Setter.py | annapegt/barancev_course | 2d5438ee532c89c5d4d091dd4ef1a1d838877e45 | [
"Apache-2.0"
] | null | null | null | python_oop/Getter_and_Setter.py | annapegt/barancev_course | 2d5438ee532c89c5d4d091dd4ef1a1d838877e45 | [
"Apache-2.0"
] | null | null | null | python_oop/Getter_and_Setter.py | annapegt/barancev_course | 2d5438ee532c89c5d4d091dd4ef1a1d838877e45 | [
"Apache-2.0"
] | null | null | null | class Age(object):
def set_age(self, age_val):
try:
age_val = int(age_val)
except ValueError:
return
self.age_val = age_val
def get_val(self):
return print(self.age_val)
def increment_val(self):
self.age_val = self.age_val + 1
my_age = Age(... | 17.809524 | 39 | 0.593583 | 56 | 374 | 3.678571 | 0.321429 | 0.23301 | 0.242718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011538 | 0.304813 | 374 | 20 | 40 | 18.7 | 0.780769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0 | 0.071429 | 0.428571 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
84c843c3ea15e31c867a1d6a0146e54665d34a6d | 1,128 | py | Python | 02-collections/coll.py | svalgaard/python-workshop | e69998fdf43c4575612a79d86c1afc7ad63fd185 | [
"MIT"
] | null | null | null | 02-collections/coll.py | svalgaard/python-workshop | e69998fdf43c4575612a79d86c1afc7ad63fd185 | [
"MIT"
] | null | null | null | 02-collections/coll.py | svalgaard/python-workshop | e69998fdf43c4575612a79d86c1afc7ad63fd185 | [
"MIT"
] | null | null | null | #! /usr/bin/env python3
# encoding: UTF-8
#
# Python Workshop - Collections
#
import random
#
# Shared variables
#
N = 11
xs = list(range(1, N+1)) * 2 # The numbers 1 to N repeated twice
random.shuffle(xs) # shuffle the list
print(f'xs = {xs}')
#
# findMin
#
def findMin(xs):
'''findMin returns the SMALLEST nu... | 15.666667 | 65 | 0.633865 | 169 | 1,128 | 4.230769 | 0.426036 | 0.078322 | 0.08951 | 0.123077 | 0.220979 | 0.151049 | 0.151049 | 0.151049 | 0.151049 | 0.151049 | 0 | 0.027842 | 0.235816 | 1,128 | 71 | 66 | 15.887324 | 0.801624 | 0.547872 | 0 | 0.125 | 0 | 0 | 0.229213 | 0 | 0 | 0 | 0 | 0.028169 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0 | 0.5625 | 0.1875 | 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 |
84e094a24f3fc6f460eb7dcbe19e4f2fcff0551a | 535 | py | Python | secretsauce/apps/portal/migrations/0002_auto_20200720_1810.py | sutd-rms/secret_sauce | de49eb4cb8e6bdc92209e9f4c6c53b1b4c2c465f | [
"MIT"
] | null | null | null | secretsauce/apps/portal/migrations/0002_auto_20200720_1810.py | sutd-rms/secret_sauce | de49eb4cb8e6bdc92209e9f4c6c53b1b4c2c465f | [
"MIT"
] | 16 | 2020-03-28T14:54:45.000Z | 2022-03-12T00:36:23.000Z | secretsauce/apps/portal/migrations/0002_auto_20200720_1810.py | sutd-rms/secret_sauce | de49eb4cb8e6bdc92209e9f4c6c53b1b4c2c465f | [
"MIT"
] | null | null | null | # Generated by Django 3.0.6 on 2020-07-20 10:10
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('portal', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='constraintparameter',
name='name',
... | 22.291667 | 49 | 0.57757 | 50 | 535 | 6.08 | 0.7 | 0.059211 | 0.184211 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054496 | 0.314019 | 535 | 23 | 50 | 23.26087 | 0.773842 | 0.084112 | 0 | 0.235294 | 1 | 0 | 0.137295 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 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 |
84e37db51c01a18ea981e3f0266423967334de2f | 260 | py | Python | app/errors/__init__.py | superwongo/flask-mega-tutorial | 984e7691c03720d2c128492053261acd808c8edb | [
"MIT"
] | 2 | 2019-11-05T08:02:23.000Z | 2021-09-22T19:10:36.000Z | app/errors/__init__.py | superwongo/flask-mega-tutorial | 984e7691c03720d2c128492053261acd808c8edb | [
"MIT"
] | 6 | 2021-03-19T00:40:53.000Z | 2022-03-11T23:47:35.000Z | app/errors/__init__.py | superwongo/flask-mega-tutorial | 984e7691c03720d2c128492053261acd808c8edb | [
"MIT"
] | 1 | 2021-04-13T09:25:03.000Z | 2021-04-13T09:25:03.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Project : flask-mega-tutorial
# @Author : wangc
# @CreateTime : 2019/5/8 9:49
# @File : __init__.py
from flask import Blueprint
bp = Blueprint('errors', __name__)
from app.errors import handlers
| 20 | 35 | 0.65 | 35 | 260 | 4.6 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048077 | 0.2 | 260 | 12 | 36 | 21.666667 | 0.725962 | 0.576923 | 0 | 0 | 0 | 0 | 0.057692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 3 |
84e4b9a754d65b9f4937a662c702b2df0ee33705 | 134 | py | Python | libptmalloc/frontend/__init__.py | nccgroup/libptmalloc | e9011393db1ea79b769dcf5f52bd1170a367b304 | [
"MIT"
] | 36 | 2017-09-14T14:39:34.000Z | 2022-01-11T15:14:21.000Z | libptmalloc/frontend/__init__.py | nccgroup/libptmalloc | e9011393db1ea79b769dcf5f52bd1170a367b304 | [
"MIT"
] | 11 | 2018-02-01T12:36:58.000Z | 2021-07-28T12:42:35.000Z | libptmalloc/frontend/__init__.py | nccgroup/libptmalloc | e9011393db1ea79b769dcf5f52bd1170a367b304 | [
"MIT"
] | 5 | 2017-10-08T12:51:36.000Z | 2021-04-22T12:29:59.000Z | # -*- coding: future_fstrings -*-
import logging
log = logging.getLogger("libptmalloc")
log.trace("libptmalloc/frontend/__init__.py") | 26.8 | 45 | 0.753731 | 15 | 134 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08209 | 134 | 5 | 45 | 26.8 | 0.780488 | 0.231343 | 0 | 0 | 0 | 0 | 0.421569 | 0.313725 | 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 |
84e6c51edb4d3a9903debb8c913ce6164a50324a | 6,497 | py | Python | t/moxi_mock_auth.py | trondn/moxi | 24ebab46b8df2fcc96ab2de4de7017528b52620a | [
"BSD-3-Clause"
] | 30 | 2015-09-28T09:49:07.000Z | 2020-09-23T17:55:58.000Z | t/moxi_mock_auth.py | trondn/moxi | 24ebab46b8df2fcc96ab2de4de7017528b52620a | [
"BSD-3-Clause"
] | null | null | null | t/moxi_mock_auth.py | trondn/moxi | 24ebab46b8df2fcc96ab2de4de7017528b52620a | [
"BSD-3-Clause"
] | 11 | 2015-03-08T07:49:55.000Z | 2019-06-14T01:08:40.000Z | import sys
import string
import socket
import select
import unittest
import threading
import time
import re
import struct
from memcacheConstants import REQ_MAGIC_BYTE, RES_MAGIC_BYTE
from memcacheConstants import REQ_PKT_FMT, RES_PKT_FMT, MIN_RECV_PACKET
from memcacheConstants import SET_PKT_FMT, DEL_PKT_FMT, INCRDECR... | 38.904192 | 101 | 0.578575 | 739 | 6,497 | 4.871448 | 0.188092 | 0.053333 | 0.04 | 0.094722 | 0.726667 | 0.718611 | 0.705278 | 0.6675 | 0.639722 | 0.6125 | 0 | 0.01791 | 0.321071 | 6,497 | 166 | 102 | 39.138554 | 0.798232 | 0.146067 | 0 | 0.572727 | 0 | 0 | 0.084348 | 0.019815 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0.036364 | 0.127273 | 0 | 0.181818 | 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 |
84e84388e1a99875bbb5a2c1f60c3bcbb63eb9a0 | 825 | py | Python | src/CBOR_Deserializer.py | leeway64/LWDirectoryScanner | 53526a0a6a00ad8fcd2fb95becef9577329de36c | [
"MIT"
] | null | null | null | src/CBOR_Deserializer.py | leeway64/LWDirectoryScanner | 53526a0a6a00ad8fcd2fb95becef9577329de36c | [
"MIT"
] | null | null | null | src/CBOR_Deserializer.py | leeway64/LWDirectoryScanner | 53526a0a6a00ad8fcd2fb95becef9577329de36c | [
"MIT"
] | null | null | null | import cbor2
class CBOR_deserializer:
def __init__(self, file_name=None):
self._CBOR_file_name = file_name
self._deserialized_data = None
@property
def deserialized_data(self):
# Lazily load the deserialized data
if not self._deserialized_data:
self._deserialize... | 26.612903 | 58 | 0.648485 | 101 | 825 | 4.851485 | 0.287129 | 0.195918 | 0.195918 | 0.163265 | 0.077551 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003401 | 0.287273 | 825 | 30 | 59 | 27.5 | 0.829932 | 0.04 | 0 | 0.086957 | 0 | 0 | 0.002532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.043478 | 0.043478 | 0.478261 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ca185c1ea7ef75cae750e270e05ac4811c74a48b | 227 | py | Python | feet_meters.py | VivianaEloisa/Viviana_first_repo | d132ffdcda8e2c3cd5673cfa86fecc1337697fd0 | [
"MIT"
] | null | null | null | feet_meters.py | VivianaEloisa/Viviana_first_repo | d132ffdcda8e2c3cd5673cfa86fecc1337697fd0 | [
"MIT"
] | null | null | null | feet_meters.py | VivianaEloisa/Viviana_first_repo | d132ffdcda8e2c3cd5673cfa86fecc1337697fd0 | [
"MIT"
] | null | null | null | def feets_to_meters(a):
return (a*0.3048)
def meters_to_feet(b):
return(b/0.3048)
c=50
d=10
print("{0} feets are {1} meters.".format(c,feets_to_meters(c)))
print("{0} meters are {1} feets.".format(d,meters_to_feet(d)))
| 25.222222 | 63 | 0.678414 | 46 | 227 | 3.173913 | 0.391304 | 0.09589 | 0.178082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09 | 0.118943 | 227 | 8 | 64 | 28.375 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0.220264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.375 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
ca5bced13516c462ab8a111fdbbff575dcb173c6 | 1,131 | py | Python | src/sca3s/backend/acquire/repo/git.py | scarv/sca3s-backend | 62659fcd6986481698df53b99d14d15c6421cf9b | [
"MIT"
] | null | null | null | src/sca3s/backend/acquire/repo/git.py | scarv/sca3s-backend | 62659fcd6986481698df53b99d14d15c6421cf9b | [
"MIT"
] | null | null | null | src/sca3s/backend/acquire/repo/git.py | scarv/sca3s-backend | 62659fcd6986481698df53b99d14d15c6421cf9b | [
"MIT"
] | null | null | null | # Copyright (C) 2018 SCARV project <info@scarv.org>
#
# Use of this source code is restricted per the MIT license, a copy of which
# can be found at https://opensource.org/licenses/MIT (or should be included
# as LICENSE.txt within the associated archive or repository).
from sca3s import backend as sca3s_be
from ... | 32.314286 | 106 | 0.704686 | 174 | 1,131 | 4.471264 | 0.436782 | 0.092545 | 0.123393 | 0.177378 | 0.22365 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.190981 | 1,131 | 34 | 107 | 33.264706 | 0.83388 | 0.231653 | 0 | 0 | 0 | 0 | 0.023175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.473684 | 0.052632 | 0.736842 | 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 |
ca62bdfbc6a65fab73f276fb6aae7c10b58c6a54 | 1,657 | py | Python | demo/log.py | wynn5a/openstack_beginner | 4c2cf13d6f5d4592900483f3af10cdb4a724bce7 | [
"Apache-2.0"
] | null | null | null | demo/log.py | wynn5a/openstack_beginner | 4c2cf13d6f5d4592900483f3af10cdb4a724bce7 | [
"Apache-2.0"
] | null | null | null | demo/log.py | wynn5a/openstack_beginner | 4c2cf13d6f5d4592900483f3af10cdb4a724bce7 | [
"Apache-2.0"
] | null | null | null | from webob.dec import wsgify
from webob.request import Request
def log_auth_factory(global_conf, **local_conf):
"""
简单的 filter factory- 记录请求基本信息,并且校验用户名密码
"""
def log_auth(app):
# 绑定了一个具体的 filter
return LogFilter(app, global_conf, local_conf)
return log_auth
def log_unauth_fact... | 25.492308 | 87 | 0.610139 | 203 | 1,657 | 4.807882 | 0.374384 | 0.07377 | 0.066598 | 0.077869 | 0.194672 | 0.14959 | 0.14959 | 0.102459 | 0.102459 | 0 | 0 | 0.002492 | 0.273386 | 1,657 | 64 | 88 | 25.890625 | 0.80814 | 0.17924 | 0 | 0 | 0 | 0 | 0.149881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.071429 | 0.071429 | 0.035714 | 0.535714 | 0.142857 | 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 |
ca63f8dc5b632aa1ff47c0889236d6818166d8df | 2,236 | py | Python | tests/test_custom_consistency.py | occipital/django-consistency-model | b0521dda2323c8158254a774aee0d4aa3e88d659 | [
"BSD-3-Clause"
] | 12 | 2022-01-11T19:27:57.000Z | 2022-03-31T08:20:05.000Z | tests/test_custom_consistency.py | occipital/django-consistency-model | b0521dda2323c8158254a774aee0d4aa3e88d659 | [
"BSD-3-Clause"
] | null | null | null | tests/test_custom_consistency.py | occipital/django-consistency-model | b0521dda2323c8158254a774aee0d4aa3e88d659 | [
"BSD-3-Clause"
] | null | null | null | from django.test import TestCase
from consistency_model import (
gen_consistency_errors,
)
from tests.custom_consistency.models import OrderWithLastCheck, OrderWithSkipCheck
class TestOrderWithLastCheck(TestCase):
def setUp(self) -> None:
OrderWithLastCheck.objects.create(name="First", total_items=1... | 30.630137 | 82 | 0.679338 | 231 | 2,236 | 6.316017 | 0.199134 | 0.054832 | 0.065798 | 0.106923 | 0.755997 | 0.723098 | 0.7183 | 0.671693 | 0.671693 | 0.671693 | 0 | 0.009368 | 0.236136 | 2,236 | 72 | 83 | 31.055556 | 0.844848 | 0 | 0 | 0.571429 | 0 | 0 | 0.11136 | 0.099284 | 0 | 0 | 0 | 0 | 0.107143 | 1 | 0.142857 | false | 0 | 0.053571 | 0 | 0.232143 | 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 |
ca8dd005879ff56080f42f694d3ef8168b5bc28f | 384 | py | Python | skype_chatsync_reader/__init__.py | cuongnv/SkypeChatSyncReader | 5ffbf64dde2b0ad6dc273bf13ef86d6cf917631d | [
"MIT"
] | null | null | null | skype_chatsync_reader/__init__.py | cuongnv/SkypeChatSyncReader | 5ffbf64dde2b0ad6dc273bf13ef86d6cf917631d | [
"MIT"
] | null | null | null | skype_chatsync_reader/__init__.py | cuongnv/SkypeChatSyncReader | 5ffbf64dde2b0ad6dc273bf13ef86d6cf917631d | [
"MIT"
] | null | null | null | '''
skype-chatsync-reader: Main module
Copyright 2015, Konstantin Tretyakov
Licensed under MIT.
'''
def main():
'''
Main function of the boilerplate code is the entry point of the 'skypechatsyncreader' executable script (defined in setup.py).
Use doctests, those are very helpful.
>>> main()... | 16.695652 | 130 | 0.622396 | 46 | 384 | 5.195652 | 0.826087 | 0.041841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.270833 | 384 | 22 | 131 | 17.454545 | 0.828571 | 0.75 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
ca94a7d56e5fcbe0ab80331bb6c94b6fac6b6e66 | 20 | py | Python | mpesapy/migrations/__init__.py | wanderijames/django-mpesapy | d304f3ab4c23d9d2f130d78b424196837ca82066 | [
"MIT"
] | null | null | null | mpesapy/migrations/__init__.py | wanderijames/django-mpesapy | d304f3ab4c23d9d2f130d78b424196837ca82066 | [
"MIT"
] | 7 | 2020-01-06T11:44:17.000Z | 2021-09-22T18:20:08.000Z | mpesapy/migrations/__init__.py | wanderijames/django-mpesapy | d304f3ab4c23d9d2f130d78b424196837ca82066 | [
"MIT"
] | null | null | null | __author__ = 'juan'
| 10 | 19 | 0.7 | 2 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0.2 | 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 |
ca9b74c313de5d96a573085a6820b57977eeab5c | 1,416 | py | Python | code/nowtime.py | JonTheWong/pySnippets | dd59bd151280945bb590a59da0eaa7cd706194ce | [
"Linux-OpenIB"
] | null | null | null | code/nowtime.py | JonTheWong/pySnippets | dd59bd151280945bb590a59da0eaa7cd706194ce | [
"Linux-OpenIB"
] | null | null | null | code/nowtime.py | JonTheWong/pySnippets | dd59bd151280945bb590a59da0eaa7cd706194ce | [
"Linux-OpenIB"
] | null | null | null | import time
from datetime import datetime
import pytz
# Documentation
# https://docs.python.org/3.7/library/time.html
# Based on
# https://nrc.canada.ca/en/web-clock/ 24 hr format
# Use tztime instead? https://docs.python.org/3.7/library/time.html#time.tzset as to minimize dependency
def nowtime(format):
'''
... | 35.4 | 135 | 0.693503 | 213 | 1,416 | 4.591549 | 0.43662 | 0.01227 | 0.018405 | 0.07362 | 0.402863 | 0.402863 | 0.402863 | 0.286299 | 0.286299 | 0.250511 | 0 | 0.019119 | 0.150424 | 1,416 | 39 | 136 | 36.307692 | 0.793849 | 0.737994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.777778 | 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 |
045f03bf8c6198f66094ea5efea0f279407bd73e | 10,937 | py | Python | pysnmp/DMTF-SERVICE-LAYER-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/DMTF-SERVICE-LAYER-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/DMTF-SERVICE-LAYER-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module DMTF-SERVICE-LAYER-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DMTF-SERVICE-LAYER-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 18:36:17 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (d... | 110.474747 | 1,565 | 0.765658 | 1,169 | 10,937 | 7.161677 | 0.156544 | 0.01075 | 0.014692 | 0.015289 | 0.440158 | 0.394171 | 0.363593 | 0.35571 | 0.268753 | 0.2371 | 0 | 0.061436 | 0.081741 | 10,937 | 98 | 1,566 | 111.602041 | 0.77218 | 0.030904 | 0 | 0.083333 | 0 | 0 | 0.193673 | 0.071199 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0.083333 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0464d7f4e48521495db1fd69d62b7b14e78c1126 | 298 | py | Python | sentry/utils/auth.py | adamgogogo/glitchtip-backend | 53af8e56f4d49a9e05f3616568f14acdc891d5f3 | [
"MIT"
] | null | null | null | sentry/utils/auth.py | adamgogogo/glitchtip-backend | 53af8e56f4d49a9e05f3616568f14acdc891d5f3 | [
"MIT"
] | null | null | null | sentry/utils/auth.py | adamgogogo/glitchtip-backend | 53af8e56f4d49a9e05f3616568f14acdc891d5f3 | [
"MIT"
] | null | null | null | def _make_key_value(val):
return val.strip().split("=", 1)
def parse_auth_header(header):
if isinstance(header, bytes):
header = header.decode("latin1")
try:
return dict(map(_make_key_value, header.split(" ", 1)[1].split(",")))
except Exception:
return {}
| 24.833333 | 77 | 0.61745 | 38 | 298 | 4.631579 | 0.578947 | 0.079545 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017167 | 0.218121 | 298 | 11 | 78 | 27.090909 | 0.738197 | 0 | 0 | 0 | 0 | 0 | 0.030201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.555556 | 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 |
04662de659a56757d78c65f794a9866c87603bfb | 6,368 | py | Python | path_coverage_ros/scripts/libs/trapezoidal_coverage.py | guanjie0618/mir_robot | 997b96f06545151ce44d35dd7cd32708dc587bb6 | [
"BSD-3-Clause"
] | 1 | 2022-02-16T04:24:34.000Z | 2022-02-16T04:24:34.000Z | path_coverage_ros/scripts/libs/trapezoidal_coverage.py | alan303138/mir_robot | 997b96f06545151ce44d35dd7cd32708dc587bb6 | [
"BSD-3-Clause"
] | null | null | null | path_coverage_ros/scripts/libs/trapezoidal_coverage.py | alan303138/mir_robot | 997b96f06545151ce44d35dd7cd32708dc587bb6 | [
"BSD-3-Clause"
] | 1 | 2022-02-16T04:24:36.000Z | 2022-02-16T04:24:36.000Z | #!/usr/bin/env python
# -*- coding: iso-8859-15 -*-
import numpy as np
import shapely
from shapely.geometry import LineString, Polygon
from math import *
if __name__ == "__main__":
import matplotlib.pyplot as plt
import matplotlib.patches
def calc_path(poly, robot_width, bStartTop=False):
"""
Takes in a monotone ... | 54.896552 | 1,057 | 0.636778 | 1,044 | 6,368 | 3.783525 | 0.362069 | 0.018734 | 0.012911 | 0.010633 | 0.158987 | 0.089114 | 0.089114 | 0.087342 | 0.068354 | 0.068354 | 0 | 0.310806 | 0.154209 | 6,368 | 115 | 1,058 | 55.373913 | 0.422577 | 0.076005 | 0 | 0.095238 | 0 | 0 | 0.00597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.071429 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
047abba9d552a9fed9f4752b81495e8581f9c2b6 | 20,964 | py | Python | _temp/scrape_tistory_com_stock79.py | hopelife/mp_scraper | b3e227573647ca49b3c6c4bd9995a5d4b0d18b20 | [
"MIT"
] | null | null | null | _temp/scrape_tistory_com_stock79.py | hopelife/mp_scraper | b3e227573647ca49b3c6c4bd9995a5d4b0d18b20 | [
"MIT"
] | null | null | null | _temp/scrape_tistory_com_stock79.py | hopelife/mp_scraper | b3e227573647ca49b3c6c4bd9995a5d4b0d18b20 | [
"MIT"
] | null | null | null | # [파이썬 크롤러 만들기](https://jione-e.tistory.com/28)
# [Source Code for Package lxml.html](https://lxml.de/api/lxml.html-pysrc.html)
import os, sys
import json
import time
import re
import requests
import lxml.html as etree
import lxml.etree as et
import chardet
from urllib import parse
sys.path.append('../_public') ##... | 70.348993 | 10,428 | 0.770607 | 1,916 | 20,964 | 8.329854 | 0.372129 | 0.011842 | 0.005514 | 0.008145 | 0.162218 | 0.140977 | 0.129261 | 0.11485 | 0.089348 | 0.085025 | 0 | 0.087082 | 0.110427 | 20,964 | 297 | 10,429 | 70.585859 | 0.768674 | 0.726293 | 0 | 0.094828 | 0 | 0.017241 | 0.231758 | 0.13815 | 0 | 1 | 0 | 0.010101 | 0 | 1 | 0.060345 | false | 0.025862 | 0.086207 | 0 | 0.181034 | 0.008621 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
047ba278a20e8b11b85f16086105bc96b6ec31ee | 996 | py | Python | Python3/453.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | Python3/453.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | Python3/453.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
sample 264 ms submission
# class Solution:
# def minMoves(self, nums: List[int]) -> int:
# nums = sorted(nums)
# output = 0
# target = nums[0]
# for x in nums[1:]:
# ... | 33.2 | 98 | 0.690763 | 94 | 996 | 4.191489 | 0.457447 | 0.098985 | 0.121827 | 0.182741 | 0.370558 | 0.370558 | 0.370558 | 0.370558 | 0.370558 | 0.263959 | 0 | 0.018397 | 0.235944 | 996 | 29 | 99 | 34.344828 | 0.499343 | 0.329317 | 0 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
04a2cbd772cf47090c478cfa241d51e597b9ff30 | 657 | py | Python | Tests/test_solver_knuth.py | Eberhofer/MasterMind | 321838fed4ffed002468dbbe4fef55c2db8da3ed | [
"MIT"
] | 1 | 2020-02-29T14:48:39.000Z | 2020-02-29T14:48:39.000Z | Tests/test_solver_knuth.py | Eberhofer/MasterMind | 321838fed4ffed002468dbbe4fef55c2db8da3ed | [
"MIT"
] | null | null | null | Tests/test_solver_knuth.py | Eberhofer/MasterMind | 321838fed4ffed002468dbbe4fef55c2db8da3ed | [
"MIT"
] | 1 | 2021-04-28T06:01:50.000Z | 2021-04-28T06:01:50.000Z | import pytest
from MasterMind.game import Game
from MasterMind.solvers import knuth
@pytest.fixture
def g():
return Game()
@pytest.fixture
def small_g():
return Game(3,"one two three")
# @unittest.skip("********** knuth test takes too long - only run when knuth is changed **********")
def test_solution_is_co... | 32.85 | 103 | 0.69863 | 104 | 657 | 4.269231 | 0.394231 | 0.081081 | 0.072072 | 0.072072 | 0.306306 | 0.198198 | 0.121622 | 0 | 0 | 0 | 0 | 0.005348 | 0.146119 | 657 | 19 | 104 | 34.578947 | 0.786096 | 0.149163 | 0 | 0.142857 | 0 | 0 | 0.16158 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.285714 | false | 0 | 0.214286 | 0.142857 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
04a7c3770e75f93347430a0904dfc9b37248df8f | 12,660 | py | Python | automol/graph/__init__.py | kevinmooreiii/autochem | 87f50adc09c3f1170459c629697aadd74154c769 | [
"Apache-2.0"
] | null | null | null | automol/graph/__init__.py | kevinmooreiii/autochem | 87f50adc09c3f1170459c629697aadd74154c769 | [
"Apache-2.0"
] | null | null | null | automol/graph/__init__.py | kevinmooreiii/autochem | 87f50adc09c3f1170459c629697aadd74154c769 | [
"Apache-2.0"
] | null | null | null | """ molecular graph
"""
# getters
from automol.graph._graph_base import atoms
from automol.graph._graph_base import bonds
from automol.graph._graph_base import atom_keys
from automol.graph._graph_base import bond_keys
from automol.graph._graph_base import atom_symbols
from automol.graph._graph_base import atom_implicit... | 32.544987 | 77 | 0.787362 | 1,674 | 12,660 | 5.555556 | 0.103943 | 0.141935 | 0.206452 | 0.167097 | 0.641183 | 0.538925 | 0.355806 | 0.185914 | 0.080538 | 0.026022 | 0 | 0.000184 | 0.143049 | 12,660 | 388 | 78 | 32.628866 | 0.857038 | 0.147709 | 0 | 0.022814 | 0 | 0 | 0.214711 | 0.112643 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015209 | false | 0 | 0.463878 | 0 | 0.494297 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
04caf8eac3be634d731497bde2b3c3cfebf982d1 | 4,193 | py | Python | PyObjCTest/test_nstextfinder.py | Khan/pyobjc-framework-Cocoa | f8b015ea2a72d8d78be6084fb12925c4785b8f1f | [
"MIT"
] | 132 | 2015-01-01T10:02:42.000Z | 2022-03-09T12:51:01.000Z | mac/pyobjc-framework-Cocoa/PyObjCTest/test_nstextfinder.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 6 | 2015-01-06T08:23:19.000Z | 2019-03-14T12:22:06.000Z | mac/pyobjc-framework-Cocoa/PyObjCTest/test_nstextfinder.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 27 | 2015-02-23T11:51:43.000Z | 2022-03-07T02:34:18.000Z | from PyObjCTools.TestSupport import *
import AppKit
try:
unicode
except NameError:
unicode = str
class FindHelper (AppKit.NSObject):
def isSelectable(self): pass
def allowsMultipleSelection(self): pass
def isEditable(self): pass
def stringAtIndex_effectiveRange_endswithSearchBoundary_(self, a... | 51.765432 | 133 | 0.786549 | 348 | 4,193 | 9.255747 | 0.287356 | 0.079168 | 0.110835 | 0.037256 | 0.252096 | 0.179758 | 0.094381 | 0.032909 | 0.032909 | 0 | 0 | 0.014096 | 0.137133 | 4,193 | 80 | 134 | 52.4125 | 0.876175 | 0 | 0 | 0.044776 | 0 | 0 | 0.006201 | 0 | 0 | 0 | 0 | 0 | 0.597015 | 1 | 0.208955 | false | 0.149254 | 0.029851 | 0.014925 | 0.268657 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8e263e8a9d7afa0ceea287ce66d07aebd528bb4e | 149 | py | Python | beta/models.py | sentyaev/drf-versioning | 40caa5d3c1b40f0eb945a813bb9eecdd4640bf0e | [
"MIT"
] | 7 | 2021-01-01T05:48:11.000Z | 2022-01-11T15:41:49.000Z | beta/models.py | sentyaev/drf-versioning | 40caa5d3c1b40f0eb945a813bb9eecdd4640bf0e | [
"MIT"
] | 5 | 2021-03-19T00:58:49.000Z | 2021-09-22T18:45:34.000Z | beta/models.py | sentyaev/drf-versioning | 40caa5d3c1b40f0eb945a813bb9eecdd4640bf0e | [
"MIT"
] | null | null | null | from django.db import models
class Beta(models.Model):
version1 = models.CharField(max_length=10)
version2 = models.PositiveIntegerField()
| 21.285714 | 46 | 0.758389 | 18 | 149 | 6.222222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0.147651 | 149 | 6 | 47 | 24.833333 | 0.850394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f3ea4bf1a2aa62602c060d85ba4edcc6883e0cab | 786 | py | Python | python/misc/solving_exponential_equations_with_logarithms.py | christopher-burke/warmups | 140c96ada87ec5e9faa4622504ddee18840dce4a | [
"MIT"
] | null | null | null | python/misc/solving_exponential_equations_with_logarithms.py | christopher-burke/warmups | 140c96ada87ec5e9faa4622504ddee18840dce4a | [
"MIT"
] | 2 | 2022-03-10T03:49:14.000Z | 2022-03-14T00:49:54.000Z | python/misc/solving_exponential_equations_with_logarithms.py | christopher-burke/warmups | 140c96ada87ec5e9faa4622504ddee18840dce4a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""Solving Exponential Equations With Logarithms.
Create a function that takes a number a and finds the missing exponent
x so that a when raised to the power of x is equal to b.
Source:
https://edabit.com/challenge/MhQbon8XzsG3wJHdP
"""
from math import log
def solve_for_exp(a, b):
"""F... | 21.833333 | 70 | 0.681934 | 124 | 786 | 4.129032 | 0.572581 | 0.125 | 0.171875 | 0.232422 | 0.111328 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121406 | 0.203562 | 786 | 35 | 71 | 22.457143 | 0.696486 | 0.377863 | 0 | 0 | 0 | 0 | 0.031983 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.142857 | false | 0.071429 | 0.071429 | 0 | 0.285714 | 0.071429 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6d06849ec75bd3a44bbbe05e6be2bb35c7ffed1e | 133 | py | Python | whatstrending/slack/__init__.py | Pholey/Whats-Trending | 34be481388f56e60378944199f09bf7b0f57cb4e | [
"MIT"
] | null | null | null | whatstrending/slack/__init__.py | Pholey/Whats-Trending | 34be481388f56e60378944199f09bf7b0f57cb4e | [
"MIT"
] | null | null | null | whatstrending/slack/__init__.py | Pholey/Whats-Trending | 34be481388f56e60378944199f09bf7b0f57cb4e | [
"MIT"
] | null | null | null | from .slack import SlackAPI
from whatstrending import settings
api = SlackAPI(settings.SLACK_ACCESS_TOKEN)
__all__ = [
"api"
]
| 14.777778 | 43 | 0.759398 | 16 | 133 | 5.9375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165414 | 133 | 8 | 44 | 16.625 | 0.855856 | 0 | 0 | 0 | 0 | 0 | 0.022556 | 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 |
6d0f9ef5e9509ab814cf1c21f9b1163395d7fa56 | 379 | py | Python | pycromanager/__init__.py | ilyasdc/pycro-manager | 5f0153e8a90104eb8715348c6eb22c4d8fdee477 | [
"BSD-3-Clause"
] | null | null | null | pycromanager/__init__.py | ilyasdc/pycro-manager | 5f0153e8a90104eb8715348c6eb22c4d8fdee477 | [
"BSD-3-Clause"
] | null | null | null | pycromanager/__init__.py | ilyasdc/pycro-manager | 5f0153e8a90104eb8715348c6eb22c4d8fdee477 | [
"BSD-3-Clause"
] | null | null | null | name = "pycromanager"
from pycromanager.acquisitions import Acquisition, MagellanAcquisition, XYTiledAcquisition
from pycromanager.core_util import CoreCallback
from pycromanager.acq_util import start_headless, multi_d_acquisition_events
from pycromanager.zmq import Bridge, JavaObjectShadow
from pycromanager.data impo... | 42.111111 | 90 | 0.875989 | 43 | 379 | 7.44186 | 0.55814 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087071 | 379 | 8 | 91 | 47.375 | 0.924855 | 0 | 0 | 0 | 0 | 0 | 0.031662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
6d11b5434c4bbf9bba2afb6c1d86fea0a80c2a3e | 6,072 | py | Python | service/resolver_base.py | LemonITCN/presolver | b6e7da0698f525206fb0b8906a6bb8a84c29d1de | [
"Apache-2.0"
] | 1 | 2021-07-01T01:02:48.000Z | 2021-07-01T01:02:48.000Z | service/resolver_base.py | LemonITCN/presolver | b6e7da0698f525206fb0b8906a6bb8a84c29d1de | [
"Apache-2.0"
] | null | null | null | service/resolver_base.py | LemonITCN/presolver | b6e7da0698f525206fb0b8906a6bb8a84c29d1de | [
"Apache-2.0"
] | null | null | null | import copy
import time
from model.question_data import QuestionData
class ResolverBase:
question_data = QuestionData()
def get_answer_range(self) -> []:
return []
pass
def __init__(self, question_data: QuestionData) -> None:
super().__init__()
self.question_data = quest... | 47.4375 | 111 | 0.643775 | 722 | 6,072 | 5.092798 | 0.131579 | 0.208866 | 0.265434 | 0.065271 | 0.609192 | 0.465053 | 0.422899 | 0.285287 | 0.210498 | 0.182214 | 0 | 0.006208 | 0.257246 | 6,072 | 127 | 112 | 47.811024 | 0.809091 | 0.026021 | 0 | 0.259259 | 0 | 0 | 0.019634 | 0.003555 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092593 | false | 0.055556 | 0.027778 | 0 | 0.203704 | 0.074074 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6d1e17c9c2bd20253ac58b9fa957aa9e59feac24 | 467 | py | Python | two_factor/gateways/__init__.py | ercpe/django-two-factor-auth | 76866dd310903b3a34526becaa0a5012dea7debe | [
"MIT"
] | null | null | null | two_factor/gateways/__init__.py | ercpe/django-two-factor-auth | 76866dd310903b3a34526becaa0a5012dea7debe | [
"MIT"
] | null | null | null | two_factor/gateways/__init__.py | ercpe/django-two-factor-auth | 76866dd310903b3a34526becaa0a5012dea7debe | [
"MIT"
] | null | null | null | from django.conf import settings
from ..compat import import_by_path
def get_gateway_class(import_path):
return import_by_path(import_path)
def make_call(device, token):
gateway = get_gateway_class(getattr(settings, 'TWO_FACTOR_CALL_GATEWAY'))()
gateway.make_call(device=device, token=token)
def send_s... | 27.470588 | 79 | 0.777302 | 67 | 467 | 5.089552 | 0.328358 | 0.129032 | 0.131965 | 0.123167 | 0.334311 | 0.334311 | 0.334311 | 0.334311 | 0.334311 | 0.334311 | 0 | 0 | 0.119914 | 467 | 16 | 80 | 29.1875 | 0.829684 | 0 | 0 | 0 | 0 | 0 | 0.09636 | 0.09636 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.4 | 0.1 | 0.8 | 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 |
6d5e9c7985b2b25922bae8f19a92af3f5dcd1dd6 | 191 | py | Python | client/chatapp/mainfolders/mainchat.py | TheOfficalPro69/ChatApp | dd9733d92123840690fb3a29d62ea07a43409afe | [
"MIT"
] | null | null | null | client/chatapp/mainfolders/mainchat.py | TheOfficalPro69/ChatApp | dd9733d92123840690fb3a29d62ea07a43409afe | [
"MIT"
] | null | null | null | client/chatapp/mainfolders/mainchat.py | TheOfficalPro69/ChatApp | dd9733d92123840690fb3a29d62ea07a43409afe | [
"MIT"
] | null | null | null | import socket
import threading
from tkinter import *
from rooms import Window1
from mainUI import mainClass
def rooms():
root = Tk()
window1 = Window1(root)
rooms()
| 6.821429 | 28 | 0.670157 | 23 | 191 | 5.565217 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021429 | 0.267016 | 191 | 27 | 29 | 7.074074 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.555556 | 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 |
ed949e16a2c44a792c0309187a6efb679ddee901 | 63 | py | Python | example_data/__init__.py | Aksei/imucal | 6f316e4e370181892b987d7300e966cba1329a69 | [
"MIT"
] | 10 | 2020-10-27T10:56:25.000Z | 2022-03-08T22:34:43.000Z | example_data/__init__.py | Aksei/imucal | 6f316e4e370181892b987d7300e966cba1329a69 | [
"MIT"
] | 11 | 2020-10-25T17:35:28.000Z | 2022-03-08T14:01:46.000Z | example_data/__init__.py | Aksei/imucal | 6f316e4e370181892b987d7300e966cba1329a69 | [
"MIT"
] | 2 | 2021-03-20T17:43:11.000Z | 2021-06-24T09:05:23.000Z | from pathlib import Path
EXAMPLE_PATH = Path(__file__).parent
| 15.75 | 36 | 0.809524 | 9 | 63 | 5.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 3 | 37 | 21 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ed9f0e0cc1e9e1ae93a417849c6734e1b7e37b93 | 11,363 | py | Python | ggp/kif.py | amandeepgautam/ggp_montecarlo_implementation | 21b702494d014f56dd3c0b90484fa7b53cea7ef3 | [
"Apache-2.0"
] | null | null | null | ggp/kif.py | amandeepgautam/ggp_montecarlo_implementation | 21b702494d014f56dd3c0b90484fa7b53cea7ef3 | [
"Apache-2.0"
] | 1 | 2017-11-13T13:50:05.000Z | 2017-11-13T13:50:05.000Z | ggp/kif.py | amandeepgautam/ggp_montecarlo_implementation | 21b702494d014f56dd3c0b90484fa7b53cea7ef3 | [
"Apache-2.0"
] | null | null | null | import ggp.util as util
import tpg
import string
import traceback
GDL_KEYWORDS = set(['role', 'init', 'true', 'next', 'legal', 'does', 'goal', 'terminal', 'distinct'])
GDL_OPS = set(['not', 'or', 'and', '<='])
class Message:
def __init__(self, msgType):
self.msgType = msgType
self.lastMoves = None... | 30.060847 | 101 | 0.436856 | 1,120 | 11,363 | 4.279464 | 0.129464 | 0.048404 | 0.035051 | 0.015648 | 0.333612 | 0.233465 | 0.1884 | 0.155226 | 0.147298 | 0.13019 | 0 | 0.002339 | 0.435624 | 11,363 | 377 | 102 | 30.140584 | 0.745049 | 0.313386 | 0 | 0.296875 | 0 | 0 | 0.044633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.260417 | false | 0 | 0.020833 | 0.166667 | 0.614583 | 0.005208 | 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 |
edc2e3d59f80ae1152224f5ea4080a3851bcb1cc | 521 | py | Python | test/utils/test_random.py | HansBug/treevalue | 6f2f5b2de00b04a06201a87ccee678ade9deff57 | [
"Apache-2.0"
] | null | null | null | test/utils/test_random.py | HansBug/treevalue | 6f2f5b2de00b04a06201a87ccee678ade9deff57 | [
"Apache-2.0"
] | 1 | 2021-07-24T13:30:14.000Z | 2021-07-24T13:30:14.000Z | test/utils/test_random.py | HansBug/treevalue | 6f2f5b2de00b04a06201a87ccee678ade9deff57 | [
"Apache-2.0"
] | null | null | null | import re
import pytest
from treevalue.utils import random_hex, random_hex_with_timestamp
@pytest.mark.unittest
class TestUtilsRandom:
def test_random_hex(self):
assert re.fullmatch(r'^[a-f0-9]{32}$', random_hex())
assert re.fullmatch(r'^[a-f0-9]{48}$', random_hex(48))
def test_random_hex_w... | 30.647059 | 90 | 0.690979 | 85 | 521 | 3.976471 | 0.329412 | 0.213018 | 0.153846 | 0.260355 | 0.378698 | 0.35503 | 0.289941 | 0.159763 | 0.159763 | 0.159763 | 0 | 0.058036 | 0.140115 | 521 | 16 | 91 | 32.5625 | 0.696429 | 0 | 0 | 0 | 0 | 0.181818 | 0.15739 | 0.103647 | 0 | 0 | 0 | 0 | 0.363636 | 1 | 0.181818 | false | 0 | 0.272727 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
edd2165cfbd40fcff930b160e653ca49cc7c0d46 | 364 | py | Python | NumPy/array/analyseArrays.py | PascalS86/icts-python | 7dde59d7b5284c190aeeaa89e217132b6fa65703 | [
"MIT"
] | null | null | null | NumPy/array/analyseArrays.py | PascalS86/icts-python | 7dde59d7b5284c190aeeaa89e217132b6fa65703 | [
"MIT"
] | null | null | null | NumPy/array/analyseArrays.py | PascalS86/icts-python | 7dde59d7b5284c190aeeaa89e217132b6fa65703 | [
"MIT"
] | null | null | null | import numpy as np
#create random array
a = np.random.rand(100)
print("Mean height: ", a.mean())
print("Standard deviation:", a.std())
print("Minimum height: ", a.min())
print("Maximum height: ", a.max())
print("25th percentile: ", np.percentile(a, 25))
print("Median: ", np.median(a))
print(... | 28 | 50 | 0.620879 | 51 | 364 | 4.431373 | 0.509804 | 0.09292 | 0.19469 | 0.20354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.184066 | 364 | 13 | 51 | 28 | 0.723906 | 0.052198 | 0 | 0 | 0 | 0 | 0.385507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.777778 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
edfffa43d1a7db0cabf0d2a806225b08c6d045c7 | 119 | py | Python | pycran/typings.py | imanhodjaev/pycran | 3cb1fec67f94a9cac0085c74ec188faa2cd65df3 | [
"Apache-2.0"
] | 1 | 2020-03-19T09:50:10.000Z | 2020-03-19T09:50:10.000Z | pycran/typings.py | imanhodjaev/pycran | 3cb1fec67f94a9cac0085c74ec188faa2cd65df3 | [
"Apache-2.0"
] | 1 | 2020-03-23T14:46:31.000Z | 2020-03-23T16:38:06.000Z | pycran/typings.py | imanhodjaev/pycran | 3cb1fec67f94a9cac0085c74ec188faa2cd65df3 | [
"Apache-2.0"
] | null | null | null | import tarfile
from typing import Union
PathOrTarFile = Union[tarfile.TarFile, str]
BytesOrString = Union[bytes, str]
| 19.833333 | 43 | 0.798319 | 15 | 119 | 6.333333 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 119 | 5 | 44 | 23.8 | 0.913462 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
61144ef3bfd17e3a4ba1ead0f24dbd341f6c5b16 | 86,069 | py | Python | src/commercetools/schemas/_cart.py | BramKaashoek/commercetools-python-sdk | 4a4191d7816c921401b782d8ae37626cb32791a1 | [
"MIT"
] | null | null | null | src/commercetools/schemas/_cart.py | BramKaashoek/commercetools-python-sdk | 4a4191d7816c921401b782d8ae37626cb32791a1 | [
"MIT"
] | null | null | null | src/commercetools/schemas/_cart.py | BramKaashoek/commercetools-python-sdk | 4a4191d7816c921401b782d8ae37626cb32791a1 | [
"MIT"
] | null | null | null | # DO NOT EDIT! This file is automatically generated
import marshmallow
import marshmallow_enum
from commercetools import helpers, types
from commercetools.schemas._common import (
BaseResourceSchema,
LocalizedStringField,
ReferenceSchema,
ResourceIdentifierSchema,
)
from commercetools.schemas._type im... | 36.042295 | 163 | 0.711476 | 7,296 | 86,069 | 8.234512 | 0.064282 | 0.0379 | 0.054745 | 0.073403 | 0.727692 | 0.722898 | 0.715108 | 0.642088 | 0.604837 | 0.5949 | 0 | 0 | 0.19489 | 86,069 | 2,387 | 164 | 36.057394 | 0.867003 | 0.078181 | 0 | 0.647289 | 1 | 0 | 0.295613 | 0.232126 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041036 | false | 0 | 0.002443 | 0.012213 | 0.299951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 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 |
b61f28f14f5b73634047a5148518f1c27c53b42d | 172 | py | Python | src/release_artifacts_resources/ios/cdk/cdk/credential_rotation/lambda_functions/src/models/destination_type.py | jhockett/amplify-ci-support | 3d93278063762fe5c8a9241a6fe4d593b70dd6eb | [
"Apache-2.0"
] | 9 | 2020-06-09T21:59:02.000Z | 2021-06-27T07:15:18.000Z | src/release_artifacts_resources/ios/cdk/cdk/credential_rotation/lambda_functions/src/models/destination_type.py | jhockett/amplify-ci-support | 3d93278063762fe5c8a9241a6fe4d593b70dd6eb | [
"Apache-2.0"
] | 27 | 2020-05-06T13:48:06.000Z | 2022-02-14T10:10:33.000Z | src/release_artifacts_resources/ios/cdk/cdk/credential_rotation/lambda_functions/src/models/destination_type.py | jhockett/amplify-ci-support | 3d93278063762fe5c8a9241a6fe4d593b70dd6eb | [
"Apache-2.0"
] | 12 | 2020-05-15T11:51:41.000Z | 2022-02-11T18:07:15.000Z | from enum import Enum
class DestinationType(str, Enum):
"""A destination that rotated values are pushed to"""
CIRCLECI_ENVIRONMENT_VARIABLE = "cci_env_variable"
| 21.5 | 57 | 0.755814 | 22 | 172 | 5.727273 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168605 | 172 | 7 | 58 | 24.571429 | 0.881119 | 0.273256 | 0 | 0 | 0 | 0 | 0.134454 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.