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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
770d76b0c67d8d3df76d65fd75687224997b6057 | 132 | py | Python | vks/__init__.py | geehalel/pyvk | 56737ee4547b3f12bf941dcda74305b739d09cbb | [
"MIT"
] | 1 | 2022-01-09T19:02:00.000Z | 2022-01-09T19:02:00.000Z | vks/__init__.py | geehalel/pyvk | 56737ee4547b3f12bf941dcda74305b739d09cbb | [
"MIT"
] | null | null | null | vks/__init__.py | geehalel/pyvk | 56737ee4547b3f12bf941dcda74305b739d09cbb | [
"MIT"
] | null | null | null | # Copyright (C) 2019 by geehalel@gmail.com
# This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
| 44 | 88 | 0.75 | 21 | 132 | 4.714286 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.128788 | 132 | 2 | 89 | 66 | 0.826087 | 0.962121 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
773bdd481df4a36ffef1571818d15b55f6ab29e9 | 90 | py | Python | char_app/apps.py | czambuk/dnd | a1aaa76c2e5108b6a55fe53a5974f6f584208736 | [
"MIT"
] | null | null | null | char_app/apps.py | czambuk/dnd | a1aaa76c2e5108b6a55fe53a5974f6f584208736 | [
"MIT"
] | 5 | 2021-03-19T03:49:43.000Z | 2021-09-22T19:04:33.000Z | char_app/apps.py | czambuk/dnd | a1aaa76c2e5108b6a55fe53a5974f6f584208736 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CharAppConfig(AppConfig):
name = 'char_app'
| 15 | 33 | 0.755556 | 11 | 90 | 6.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 5 | 34 | 18 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 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 | 1 | 0 | 0 | 4 |
7758c2a552558a2ffdea5f2c9775605b7776384a | 602 | py | Python | test/test_misc.py | akharitonov/salabim | e0de846b042daf2dc71aaf43d8adc6486b57f376 | [
"MIT"
] | 151 | 2017-09-28T13:41:30.000Z | 2022-03-12T20:25:27.000Z | test/test_misc.py | akharitonov/salabim | e0de846b042daf2dc71aaf43d8adc6486b57f376 | [
"MIT"
] | 23 | 2017-09-09T14:42:42.000Z | 2021-12-13T19:48:06.000Z | test/test_misc.py | akharitonov/salabim | e0de846b042daf2dc71aaf43d8adc6486b57f376 | [
"MIT"
] | 55 | 2017-09-09T14:45:08.000Z | 2022-03-19T21:11:08.000Z | import salabim as sim
import pytest
def test_interpolate():
assert sim.interpolate(0.5, 0, 1, 0, 100) == 50
assert sim.interpolate(-1, 0, 1, 0, 100) == 0
assert sim.interpolate(2, 0, 1, 0, 100) == 100
assert sim.interpolate(1, 0, sim.inf, 0, 100) == 0
assert sim.interpolate(0.5, 1, 1, 0, 100) == 1... | 30.1 | 54 | 0.599668 | 103 | 602 | 3.378641 | 0.213592 | 0.114943 | 0.517241 | 0.241379 | 0.70977 | 0.321839 | 0.16092 | 0 | 0 | 0 | 0 | 0.17234 | 0.219269 | 602 | 19 | 55 | 31.684211 | 0.568085 | 0 | 0 | 0 | 0 | 0 | 0.021595 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 1 | 0.071429 | true | 0 | 0.142857 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
620f2ced6d894e94a0ffd6afbbcfea5c72c34031 | 143 | py | Python | python_hiring_test/run.py | yyftfh/python_hiring_test | dd94be9c8f4fa6a009f933d4a6b9e00cd7af6be0 | [
"MIT"
] | null | null | null | python_hiring_test/run.py | yyftfh/python_hiring_test | dd94be9c8f4fa6a009f933d4a6b9e00cd7af6be0 | [
"MIT"
] | null | null | null | python_hiring_test/run.py | yyftfh/python_hiring_test | dd94be9c8f4fa6a009f933d4a6b9e00cd7af6be0 | [
"MIT"
] | null | null | null | """Main script for generating output.csv."""
def main():
# add basic program logic here
pass
if __name__ == '__main__':
main()
| 13 | 44 | 0.622378 | 18 | 143 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244755 | 143 | 10 | 45 | 14.3 | 0.75 | 0.475524 | 0 | 0 | 0 | 0 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6217493cc8a73bfaf85a2eca3c68615b9cdfea09 | 251 | py | Python | MixtureOfExperts/utils/log_binomial.py | cwlgadd/MixtureOfExperts | ca8ba736388e3cbd126b108c564f042d6ee50b41 | [
"MIT"
] | 2 | 2020-08-03T12:13:51.000Z | 2022-01-21T10:37:06.000Z | MixtureOfExperts/utils/log_binomial.py | cwlgadd/MixtureOfExperts | ca8ba736388e3cbd126b108c564f042d6ee50b41 | [
"MIT"
] | null | null | null | MixtureOfExperts/utils/log_binomial.py | cwlgadd/MixtureOfExperts | ca8ba736388e3cbd126b108c564f042d6ee50b41 | [
"MIT"
] | null | null | null | from __future__ import division
import math
__all__ = ['log_binomial', 'log_fac']
def log_fac(n):
sum = 0
for i in range(2, n + 1): sum += math.log(i)
return sum
def log_binomial(n, k): return (log_fac(n) - log_fac(k) - log_fac(n - k)) | 20.916667 | 73 | 0.641434 | 46 | 251 | 3.173913 | 0.456522 | 0.205479 | 0.143836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.211155 | 251 | 12 | 73 | 20.916667 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.075397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
627159df56b11a0ca5be184d289c2a86c5e6e948 | 113 | py | Python | tasks/EPAM/python_course/foundation-python/l8/m8-10-nose-other.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | 2 | 2022-01-19T18:01:35.000Z | 2022-02-06T06:54:38.000Z | tasks/EPAM/python_course/foundation-python/l8/m8-10-nose-other.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | null | null | null | tasks/EPAM/python_course/foundation-python/l8/m8-10-nose-other.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | null | null | null | #2
#
# nosetests --with-coverage --cover-erase --cover-package=flask_encryptedsession --cover-html
# nosetests -v | 28.25 | 93 | 0.752212 | 14 | 113 | 6 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.088496 | 113 | 4 | 94 | 28.25 | 0.805825 | 0.938053 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
628eb3fad2621daf859f84c28ea399813105130b | 282 | py | Python | app/recipe/api/manage_ingredients.py | EgehanGundogdu/drf-test-driven-development-exercies | 6cf1570f573cbc270ea2856b101727664c6843e4 | [
"MIT"
] | null | null | null | app/recipe/api/manage_ingredients.py | EgehanGundogdu/drf-test-driven-development-exercies | 6cf1570f573cbc270ea2856b101727664c6843e4 | [
"MIT"
] | null | null | null | app/recipe/api/manage_ingredients.py | EgehanGundogdu/drf-test-driven-development-exercies | 6cf1570f573cbc270ea2856b101727664c6843e4 | [
"MIT"
] | null | null | null | from ._base import ListCreateViewSet
from ..models import Ingredient
from ..serializers import IngredientSerializer
class ManageIngredient(ListCreateViewSet):
"manage the ingredient objects."
serializer_class = IngredientSerializer
queryset = Ingredient.objects.all()
| 28.2 | 46 | 0.804965 | 26 | 282 | 8.653846 | 0.615385 | 0.151111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134752 | 282 | 9 | 47 | 31.333333 | 0.922131 | 0.106383 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.857143 | 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 | 1 | 0 | 0 | 4 |
659eb7b6d8c13fd5f98d1a2036fd53b98ee836c1 | 135 | py | Python | devices/shared/environment.py | jaycosaur/stupid-simple-sensor-network | a5ff30a26229aa7bee72b2888aac67adb02b4f8f | [
"MIT"
] | null | null | null | devices/shared/environment.py | jaycosaur/stupid-simple-sensor-network | a5ff30a26229aa7bee72b2888aac67adb02b4f8f | [
"MIT"
] | null | null | null | devices/shared/environment.py | jaycosaur/stupid-simple-sensor-network | a5ff30a26229aa7bee72b2888aac67adb02b4f8f | [
"MIT"
] | null | null | null | import sys
def is_micropython():
if sys.implementation.name == 'micropython':
return True
else:
return False
| 15 | 48 | 0.62963 | 15 | 135 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288889 | 135 | 8 | 49 | 16.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.081481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 4 |
65addd39c2c82f526c03b437b10d62e0de89d566 | 153 | py | Python | apps/loader/admin.py | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 8 | 2019-01-30T13:51:59.000Z | 2022-01-08T03:26:53.000Z | apps/loader/admin.py | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 286 | 2019-01-18T21:35:51.000Z | 2022-03-24T18:53:59.000Z | apps/loader/admin.py | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 4 | 2019-02-11T13:38:30.000Z | 2021-03-02T20:59:00.000Z | from django.contrib import admin
from loader.models import PL
@admin.register(PL)
class PlAdmin(admin.ModelAdmin):
list_display = ('name', 'id')
| 15.3 | 33 | 0.732026 | 21 | 153 | 5.285714 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150327 | 153 | 9 | 34 | 17 | 0.853846 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 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 | 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 | 4 |
65cceb688038301b51dddc0d924e3e1ca813b65d | 41 | py | Python | yogiyo/yogiyo/settings/staging.py | Joyykim/YogiYoCloneAPI | 536ce0dc5a9951b1eb56e4c60cfc2a8fdf5e7326 | [
"MIT"
] | null | null | null | yogiyo/yogiyo/settings/staging.py | Joyykim/YogiYoCloneAPI | 536ce0dc5a9951b1eb56e4c60cfc2a8fdf5e7326 | [
"MIT"
] | null | null | null | yogiyo/yogiyo/settings/staging.py | Joyykim/YogiYoCloneAPI | 536ce0dc5a9951b1eb56e4c60cfc2a8fdf5e7326 | [
"MIT"
] | null | null | null | from .base import *
PROFILE = 'staging'
| 10.25 | 19 | 0.682927 | 5 | 41 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 3 | 20 | 13.666667 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
028d203ef1d21ff0fc3f8dbcc8955f6f5ba4561c | 129 | py | Python | app/command/echo.py | monosloth/console | a47e1479320a18a4b5716e87ee275985ebd5825f | [
"MIT"
] | null | null | null | app/command/echo.py | monosloth/console | a47e1479320a18a4b5716e87ee275985ebd5825f | [
"MIT"
] | null | null | null | app/command/echo.py | monosloth/console | a47e1479320a18a4b5716e87ee275985ebd5825f | [
"MIT"
] | null | null | null | from app.command import AbstractCommand
class EchoCommand(AbstractCommand):
def invoke(self, args):
print('Hello, world!')
| 16.125 | 39 | 0.75969 | 15 | 129 | 6.533333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131783 | 129 | 7 | 40 | 18.428571 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.100775 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 4 |
02a21819ed8d3c62cb1526d43fb14f1e5b6c5b1e | 305 | py | Python | WeMory/diary/serializers.py | minsgy/WEMORY-Backend | dd1a81beab5de54008293e5126e54b8ca003778e | [
"MIT"
] | null | null | null | WeMory/diary/serializers.py | minsgy/WEMORY-Backend | dd1a81beab5de54008293e5126e54b8ca003778e | [
"MIT"
] | null | null | null | WeMory/diary/serializers.py | minsgy/WEMORY-Backend | dd1a81beab5de54008293e5126e54b8ca003778e | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Diary, Post
class DiarySerializer(serializers.ModelSerializer):
class Meta:
model = Diary
fields = '__all__'
class PostSerializer(serializers.ModelSerializer):
class Meta:
model = Post
fields = '__all__' | 23.461538 | 51 | 0.701639 | 30 | 305 | 6.833333 | 0.533333 | 0.253659 | 0.302439 | 0.341463 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232787 | 305 | 13 | 52 | 23.461538 | 0.876068 | 0 | 0 | 0.4 | 0 | 0 | 0.045752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 4 |
02c57292ebc62eba08b2f73f2c8f1fe32d1d4bd1 | 67 | py | Python | EduKTM/DKVMN/__init__.py | fannazya/EduKTM | 1ff0b32d6744d487bbbb05be03c56f92bd30b3ef | [
"Apache-2.0"
] | null | null | null | EduKTM/DKVMN/__init__.py | fannazya/EduKTM | 1ff0b32d6744d487bbbb05be03c56f92bd30b3ef | [
"Apache-2.0"
] | null | null | null | EduKTM/DKVMN/__init__.py | fannazya/EduKTM | 1ff0b32d6744d487bbbb05be03c56f92bd30b3ef | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# 2022/3/18 @ ouyangjie
from .DKVMN import DKVMN
| 11.166667 | 24 | 0.686567 | 11 | 67 | 4.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.19403 | 67 | 5 | 25 | 13.4 | 0.703704 | 0.522388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
02eebe1c34b821ee15ae0f2b2b36b8d753b766a0 | 166 | py | Python | fooof/sim/__init__.py | varman-m/fooof | 6046c89bb3c87f30a8a368809a9d321c8c33e1a8 | [
"Apache-2.0"
] | 1 | 2019-03-26T16:30:43.000Z | 2019-03-26T16:30:43.000Z | fooof/sim/__init__.py | varman-m/fooof | 6046c89bb3c87f30a8a368809a9d321c8c33e1a8 | [
"Apache-2.0"
] | null | null | null | fooof/sim/__init__.py | varman-m/fooof | 6046c89bb3c87f30a8a368809a9d321c8c33e1a8 | [
"Apache-2.0"
] | null | null | null | from .gen import gen_freqs, gen_power_spectrum, gen_group_power_spectra
from .params import Stepper, param_iter, param_sampler
from .transform import rotate_spectrum
| 41.5 | 71 | 0.861446 | 25 | 166 | 5.36 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 166 | 3 | 72 | 55.333333 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f31b463dcf2489ad89f9a464143e3327f9b699c6 | 330 | py | Python | _modules/tachyon.py | nokia/saltstack-formulas | 41f46dbb91622dc0eb05bfba5d2d4a0a10d4c130 | [
"Apache-2.0"
] | 9 | 2016-04-12T05:22:55.000Z | 2022-03-01T14:48:07.000Z | _modules/tachyon.py | nokia/saltstack-formulas | 41f46dbb91622dc0eb05bfba5d2d4a0a10d4c130 | [
"Apache-2.0"
] | null | null | null | _modules/tachyon.py | nokia/saltstack-formulas | 41f46dbb91622dc0eb05bfba5d2d4a0a10d4c130 | [
"Apache-2.0"
] | 5 | 2016-02-28T03:45:33.000Z | 2021-11-05T14:55:01.000Z |
def masters():
"""Gets tachyon masters
:return:
"""
return __salt__['search.mine_by_host']('roles:tachyon.master')
def is_primary_master():
"""Checks whether current host is the first one created as tachyon master
:return:
"""
return __salt__['search.is_primary_host']('roles:tachyon... | 20.625 | 77 | 0.672727 | 41 | 330 | 5.073171 | 0.536585 | 0.1875 | 0.153846 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193939 | 330 | 15 | 78 | 22 | 0.781955 | 0.336364 | 0 | 0 | 0 | 0 | 0.428571 | 0.116402 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b82d59d96290ce8c13c1184a0f40b2461df921f5 | 2,037 | py | Python | bootcamp/category/migrations/0003_auto_20220226_1212.py | elbakouchi/bootcamp | 2c7a0cd2ddb7632acb3009f94d728792ddf9644f | [
"MIT"
] | null | null | null | bootcamp/category/migrations/0003_auto_20220226_1212.py | elbakouchi/bootcamp | 2c7a0cd2ddb7632acb3009f94d728792ddf9644f | [
"MIT"
] | null | null | null | bootcamp/category/migrations/0003_auto_20220226_1212.py | elbakouchi/bootcamp | 2c7a0cd2ddb7632acb3009f94d728792ddf9644f | [
"MIT"
] | null | null | null | # Generated by Django 3.2.12 on 2022-02-26 12:12
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('category', '0002_servic... | 35.736842 | 148 | 0.610211 | 213 | 2,037 | 5.671362 | 0.309859 | 0.13245 | 0.165563 | 0.192053 | 0.761589 | 0.72351 | 0.625828 | 0.625828 | 0.625828 | 0.548013 | 0 | 0.017403 | 0.266568 | 2,037 | 56 | 149 | 36.375 | 0.791165 | 0.022582 | 0 | 0.72 | 1 | 0 | 0.108597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.06 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b82edb7ecd798f0470da7e1aaae4112aceb943e2 | 216 | py | Python | examples/test_arguments.py | prestonbrodus/pytest-mocha | 3af4d5f27f7d123b2d832db2435b480aeafc4f7c | [
"MIT"
] | 10 | 2017-05-18T11:34:16.000Z | 2021-09-27T17:24:27.000Z | examples/test_arguments.py | prestonbrodus/pytest-mocha | 3af4d5f27f7d123b2d832db2435b480aeafc4f7c | [
"MIT"
] | 3 | 2017-09-30T22:17:27.000Z | 2020-04-02T17:33:57.000Z | examples/test_arguments.py | prestonbrodus/pytest-mocha | 3af4d5f27f7d123b2d832db2435b480aeafc4f7c | [
"MIT"
] | 5 | 2017-09-30T11:11:51.000Z | 2022-02-17T11:05:03.000Z | import pytest
def foo(arg):
return 'bar'
@pytest.fixture(params=["foo", "bar"])
def stub(request):
return request.param
def test_foo(stub):
'''foo :: test arguments'''
assert foo(stub) == 'bar'
| 13.5 | 38 | 0.62037 | 29 | 216 | 4.586207 | 0.517241 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203704 | 216 | 15 | 39 | 14.4 | 0.773256 | 0.097222 | 0 | 0 | 0 | 0 | 0.063492 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.75 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b84e24874ef6551b171075f49e091c8b8dbbb741 | 806 | py | Python | aiotdlib/api/functions/disable_proxy.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 37 | 2021-05-04T10:41:41.000Z | 2022-03-30T13:48:05.000Z | aiotdlib/api/functions/disable_proxy.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 13 | 2021-07-17T19:54:51.000Z | 2022-02-26T06:50:00.000Z | aiotdlib/api/functions/disable_proxy.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 7 | 2021-09-22T21:27:11.000Z | 2022-02-20T02:33:19.000Z | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | 33.583333 | 83 | 0.408189 | 53 | 806 | 6.113208 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.336228 | 806 | 23 | 84 | 35.043478 | 0.605607 | 0.591811 | 0 | 0 | 1 | 0 | 0.057047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.875 | 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 | 1 | 1 | 0 | 0 | 4 |
b863833c0f171ce46a735039a13e8173fb227d63 | 31 | py | Python | Chapter 09/ch9_28.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 09/ch9_28.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 09/ch9_28.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | dict2={}
print(dict2.keys())
| 10.333333 | 20 | 0.612903 | 4 | 31 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.129032 | 31 | 2 | 21 | 15.5 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 4 |
b885f5d9dd80d64e308c52cf26f51ef6c35f8a9d | 177 | py | Python | isu/ui/comp/__init__.py | pecusys/isutils | 39fa92dc391cc430dcf1864f4c2f0212f0db58b6 | [
"MIT"
] | null | null | null | isu/ui/comp/__init__.py | pecusys/isutils | 39fa92dc391cc430dcf1864f4c2f0212f0db58b6 | [
"MIT"
] | null | null | null | isu/ui/comp/__init__.py | pecusys/isutils | 39fa92dc391cc430dcf1864f4c2f0212f0db58b6 | [
"MIT"
] | null | null | null | """
NOTE: For reactive, purely UI and model-reactivity driven rather than
being driven as a model unto itself
"""
from .op import *
from .prefs import Prefs
from .prog import * | 22.125 | 69 | 0.745763 | 28 | 177 | 4.714286 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175141 | 177 | 8 | 70 | 22.125 | 0.90411 | 0.59322 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b8867787411defef97ece529f2b8f5c91a0b3051 | 461 | py | Python | Exe29_supermercado.py | lucaslk122/Exercicios-python-estrutura-de-repeticao | 1f203918e9bb8415128bb69f515240057b118a14 | [
"MIT"
] | null | null | null | Exe29_supermercado.py | lucaslk122/Exercicios-python-estrutura-de-repeticao | 1f203918e9bb8415128bb69f515240057b118a14 | [
"MIT"
] | null | null | null | Exe29_supermercado.py | lucaslk122/Exercicios-python-estrutura-de-repeticao | 1f203918e9bb8415128bb69f515240057b118a14 | [
"MIT"
] | null | null | null | print("Bem vindo a lojas de artigos do Sr Manoel Joaquim. Todos os produtos desta loja custam R$1.99")
print("A quantidade de itens precia estar compreendida entre 1 e 50")
qtd_itens = int(input("Qual a quantidade de itens?: "))
while qtd_itens < 1 or qtd_itens > 50:
print("Quantidade invalida")
qtd_itens = in... | 57.625 | 102 | 0.73102 | 78 | 461 | 4.24359 | 0.538462 | 0.145015 | 0.117825 | 0.163142 | 0.229607 | 0.229607 | 0.229607 | 0.229607 | 0.229607 | 0 | 0 | 0.033505 | 0.158351 | 461 | 8 | 103 | 57.625 | 0.819588 | 0 | 0 | 0.25 | 0 | 0.125 | 0.623377 | 0.051948 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b8ae05e7734a6ca6d1ae3e260f93073416570508 | 97 | py | Python | tests/write.py | mathdugre/Sea | bc34f95d9653c7d716da80fb24c5b1c9757d7e85 | [
"MIT"
] | null | null | null | tests/write.py | mathdugre/Sea | bc34f95d9653c7d716da80fb24c5b1c9757d7e85 | [
"MIT"
] | 12 | 2020-07-03T15:11:28.000Z | 2022-03-23T17:27:48.000Z | tests/write.py | bendhouseart/Sea | be1674f6d99f5824fd7f33b249e65d16bed81b10 | [
"MIT"
] | 8 | 2020-07-09T23:10:12.000Z | 2021-06-18T14:29:50.000Z | #!/usr/bin/env python
import sys
with open(sys.argv[1], 'w') as f:
f.write('Hello, World!') | 16.166667 | 33 | 0.618557 | 18 | 97 | 3.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.164948 | 97 | 6 | 34 | 16.166667 | 0.728395 | 0.206186 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b8b4b434fe5c13cc68786a9efa1910fe9c80ffed | 94 | py | Python | lookup_api/apps.py | Shaurov05/weather-app-using-API | fdf55db5b5c38ffb7b213f457b33177142975e3a | [
"MIT"
] | null | null | null | lookup_api/apps.py | Shaurov05/weather-app-using-API | fdf55db5b5c38ffb7b213f457b33177142975e3a | [
"MIT"
] | null | null | null | lookup_api/apps.py | Shaurov05/weather-app-using-API | fdf55db5b5c38ffb7b213f457b33177142975e3a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class LookupApiConfig(AppConfig):
name = 'lookup_api'
| 15.666667 | 33 | 0.765957 | 11 | 94 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 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 | 1 | 0 | 0 | 4 |
b8b9f220574936a14004f757b22229eec5b84daf | 61 | py | Python | advent2020/__init__.py | LukasGelbmann/advent-of-code | 886747353dd00ed068fcedd45f0965f2cc433bcb | [
"MIT"
] | 6 | 2020-12-01T11:01:33.000Z | 2020-12-12T15:15:24.000Z | advent2020/__init__.py | LukasGelbmann/advent-of-code | 886747353dd00ed068fcedd45f0965f2cc433bcb | [
"MIT"
] | null | null | null | advent2020/__init__.py | LukasGelbmann/advent-of-code | 886747353dd00ed068fcedd45f0965f2cc433bcb | [
"MIT"
] | 1 | 2020-12-03T08:47:59.000Z | 2020-12-03T08:47:59.000Z | """Puzzle solvers for the 2020 edition of Advent of Code."""
| 30.5 | 60 | 0.721311 | 10 | 61 | 4.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 0.163934 | 61 | 1 | 61 | 61 | 0.784314 | 0.885246 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b8bf6a58755d31ef9591cdeef958a769cbe4f9b4 | 158 | py | Python | Flask/hello_world-assignment/justin.py | justnclrk/Python | 0922961cbd94694a69ae8132a5c33baf552d8d89 | [
"MIT"
] | null | null | null | Flask/hello_world-assignment/justin.py | justnclrk/Python | 0922961cbd94694a69ae8132a5c33baf552d8d89 | [
"MIT"
] | 8 | 2020-06-06T01:02:06.000Z | 2022-03-12T00:24:13.000Z | Flask/hello_world-assignment/justin.py | justnclrk/Python | 0922961cbd94694a69ae8132a5c33baf552d8d89 | [
"MIT"
] | null | null | null | from flask import Flask, render_template
app = Flask(__name__)
@app.route('/hello')
def justin():
return render_template('index.html')
app.run(debug=True) | 26.333333 | 40 | 0.746835 | 23 | 158 | 4.869565 | 0.73913 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107595 | 158 | 6 | 41 | 26.333333 | 0.794326 | 0 | 0 | 0 | 0 | 0 | 0.100629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.5 | 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 | 1 | 0 | 0 | 0 | 4 |
b22091b0a14e39cc53f1a557d1a03c9de0c6a4bd | 738 | py | Python | students/serializers.py | Dimaps716/backend | 42b7d968d1b83ead2200bac4d46e422989ca8d6b | [
"MIT"
] | null | null | null | students/serializers.py | Dimaps716/backend | 42b7d968d1b83ead2200bac4d46e422989ca8d6b | [
"MIT"
] | null | null | null | students/serializers.py | Dimaps716/backend | 42b7d968d1b83ead2200bac4d46e422989ca8d6b | [
"MIT"
] | null | null | null | from rest_framework import serializers
from students.models import studen, technologi, project, courses, milestone
class studenSerializer(serializers.ModelSerializer):
class Meta:
model = studen
fields = '__all__'
class technologiSerializer(serializers.ModelSerializer):
class Meta:
... | 22.363636 | 75 | 0.699187 | 64 | 738 | 7.734375 | 0.359375 | 0.262626 | 0.313131 | 0.353535 | 0.40404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233062 | 738 | 33 | 76 | 22.363636 | 0.874558 | 0 | 0 | 0.454545 | 0 | 0 | 0.047361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.545455 | 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 | 1 | 0 | 0 | 4 |
b226197bc23f50e57a50e35085457ccf4f83a701 | 619 | py | Python | sqlite/sql_tasks/task_2/call_functions.py | Akawi85/Stutern_Projects | bb39688f06b6166022b370b747aba24b4ea15d57 | [
"MIT"
] | null | null | null | sqlite/sql_tasks/task_2/call_functions.py | Akawi85/Stutern_Projects | bb39688f06b6166022b370b747aba24b4ea15d57 | [
"MIT"
] | null | null | null | sqlite/sql_tasks/task_2/call_functions.py | Akawi85/Stutern_Projects | bb39688f06b6166022b370b747aba24b4ea15d57 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# uncomment the lines you wish, to see what it does
import insurance_app
#insurance_app.get_females(n) # returns n rows for just females for the age, bmi, gender and kids column
#insurance_app.delete_one(n) # deletes one item given the n row id
#insurance_app.get_males(n) # returns... | 36.411765 | 105 | 0.74475 | 105 | 619 | 4.266667 | 0.504762 | 0.160714 | 0.060268 | 0.100446 | 0.34375 | 0.34375 | 0.254464 | 0.191964 | 0.191964 | 0.191964 | 0 | 0.001961 | 0.17609 | 619 | 17 | 106 | 36.411765 | 0.876471 | 0.82391 | 0 | 0 | 0 | 0 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
b2282d84d0a7aa53b286016bfd8b3184989d0908 | 170 | py | Python | examples/test.py | DDSystemLab/acmtrans | b3cf206b0aec178405017c77eea4f52b539f902f | [
"MIT"
] | null | null | null | examples/test.py | DDSystemLab/acmtrans | b3cf206b0aec178405017c77eea4f52b539f902f | [
"MIT"
] | null | null | null | examples/test.py | DDSystemLab/acmtrans | b3cf206b0aec178405017c77eea4f52b539f902f | [
"MIT"
] | null | null | null | from acmtrans.Acmtrans import AcmTransSpider
if __name__ == '__main__':
AcmTransSpider("https://dlnext.acm.org/toc/tompecs/2016/1/1", "json").acmtrans_spider_run()
| 28.333333 | 95 | 0.752941 | 22 | 170 | 5.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0.094118 | 170 | 5 | 96 | 34 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b22fa322909bcd20dd6a2c76b7789044e2aeabcf | 67 | py | Python | swag_auth/bitbucket/__init__.py | LikaloLLC/django-swag-auth | 06fd027beca240ff50567a3be4bedee2a7e40a97 | [
"BSD-3-Clause"
] | null | null | null | swag_auth/bitbucket/__init__.py | LikaloLLC/django-swag-auth | 06fd027beca240ff50567a3be4bedee2a7e40a97 | [
"BSD-3-Clause"
] | 6 | 2021-05-10T13:11:24.000Z | 2021-09-08T13:35:46.000Z | swag_auth/bitbucket/__init__.py | LikaloLLC/django-swag-auth | 06fd027beca240ff50567a3be4bedee2a7e40a97 | [
"BSD-3-Clause"
] | 2 | 2021-04-29T20:08:21.000Z | 2021-11-17T19:21:42.000Z | default_app_config = 'swag_auth.bitbucket.apps.BitbucketAppConfig'
| 33.5 | 66 | 0.865672 | 8 | 67 | 6.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 67 | 1 | 67 | 67 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0.641791 | 0.641791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b242900fb6afe092a966a16c9ad1daaaa04c2ba6 | 997 | py | Python | afmt/tests/formatter.py | adzierzanowski/afmt | 671970f3a14d3d0561489eb318f7484a552a6ba4 | [
"MIT"
] | null | null | null | afmt/tests/formatter.py | adzierzanowski/afmt | 671970f3a14d3d0561489eb318f7484a552a6ba4 | [
"MIT"
] | null | null | null | afmt/tests/formatter.py | adzierzanowski/afmt | 671970f3a14d3d0561489eb318f7484a552a6ba4 | [
"MIT"
] | null | null | null | import unittest
from afmt import Formatter
class FormatterTest(unittest.TestCase):
def setUp(self):
self.f = Formatter()
def test_inline_specs(self):
f = self.f
string = f'{f:b i u goto(5,6)}hello{f:e}'
self.assertIn('\033[0m', string)
self.assertIn('\033[1m', string)
self.assertIn('\033[3m', string)... | 25.564103 | 53 | 0.667001 | 165 | 997 | 3.963636 | 0.254545 | 0.256881 | 0.298165 | 0.321101 | 0.625382 | 0.625382 | 0.594801 | 0.530581 | 0.530581 | 0.530581 | 0 | 0.100578 | 0.132397 | 997 | 38 | 54 | 26.236842 | 0.655491 | 0 | 0 | 0.517241 | 0 | 0 | 0.263791 | 0.046138 | 0 | 0 | 0 | 0 | 0.482759 | 1 | 0.137931 | false | 0 | 0.068966 | 0 | 0.241379 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b2608a7e672fd28a6658353614c96162a79be6b3 | 189 | py | Python | config.py | malain96/db_backup | 35afdd28d623eb20f66052db9a5bd7c13f8426b1 | [
"MIT"
] | null | null | null | config.py | malain96/db_backup | 35afdd28d623eb20f66052db9a5bd7c13f8426b1 | [
"MIT"
] | null | null | null | config.py | malain96/db_backup | 35afdd28d623eb20f66052db9a5bd7c13f8426b1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
class Config:
PORT = 465
SMTP_SERVER = 'smtp.gmail.com'
EMAIL = 'mymail@mail.com'
PASSWORD = 'mypassword'
LOG_OUTPUT_FILE = './storage/logs.log'
| 21 | 42 | 0.645503 | 25 | 189 | 4.76 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026846 | 0.21164 | 189 | 8 | 43 | 23.625 | 0.771812 | 0.111111 | 0 | 0 | 0 | 0 | 0.341317 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
b26394838854c80782f56e10d0ed7145bfc5b08e | 106 | py | Python | vanir/core/blockchain/apps.py | guanana/vanir | b0bb9c874795a5803e6437ff0105ea036f1ae7b6 | [
"Apache-2.0"
] | 1 | 2022-01-19T07:11:05.000Z | 2022-01-19T07:11:05.000Z | vanir/core/blockchain/apps.py | guanana/vanir | b0bb9c874795a5803e6437ff0105ea036f1ae7b6 | [
"Apache-2.0"
] | 10 | 2021-11-07T14:17:07.000Z | 2022-03-30T18:24:48.000Z | vanir/core/blockchain/apps.py | guanana/vanir | b0bb9c874795a5803e6437ff0105ea036f1ae7b6 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class BlockchainConfig(AppConfig):
name = "vanir.core.blockchain"
| 17.666667 | 34 | 0.773585 | 12 | 106 | 6.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 5 | 35 | 21.2 | 0.901099 | 0 | 0 | 0 | 0 | 0 | 0.198113 | 0.198113 | 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 | 1 | 0 | 0 | 4 |
b275943f9a258249a5ac7ad2ea18ff74433ba0aa | 153 | py | Python | inheritance_exercise/shop/project/food.py | Veselin-Stoilov/software-university-OOP | 452a77cabf2e7d93f30f629c67c6b22682eb255d | [
"MIT"
] | null | null | null | inheritance_exercise/shop/project/food.py | Veselin-Stoilov/software-university-OOP | 452a77cabf2e7d93f30f629c67c6b22682eb255d | [
"MIT"
] | null | null | null | inheritance_exercise/shop/project/food.py | Veselin-Stoilov/software-university-OOP | 452a77cabf2e7d93f30f629c67c6b22682eb255d | [
"MIT"
] | null | null | null | from inheritance_exercise.shop.project.product import Product
class Food(Product):
def __init__(self, name):
super().__init__(name, 15)
| 15.3 | 61 | 0.712418 | 19 | 153 | 5.263158 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.183007 | 153 | 9 | 62 | 17 | 0.784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b27cfed513a22b4061bb034309f8298e44eed71b | 126 | py | Python | CircuitPython_Hardware_SD_Cards/hello/code.py | claycooper/Adafruit_Learning_System_Guides | 890431bd4b9df929bc601e5886c2a735d89814f9 | [
"MIT"
] | null | null | null | CircuitPython_Hardware_SD_Cards/hello/code.py | claycooper/Adafruit_Learning_System_Guides | 890431bd4b9df929bc601e5886c2a735d89814f9 | [
"MIT"
] | null | null | null | CircuitPython_Hardware_SD_Cards/hello/code.py | claycooper/Adafruit_Learning_System_Guides | 890431bd4b9df929bc601e5886c2a735d89814f9 | [
"MIT"
] | null | null | null | # SPDX-FileCopyrightText: 2018 Jerry Needell for Adafruit Industries
#
# SPDX-License-Identifier: MIT
print('Hello, World!')
| 21 | 68 | 0.769841 | 15 | 126 | 6.466667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.119048 | 126 | 5 | 69 | 25.2 | 0.837838 | 0.753968 | 0 | 0 | 0 | 0 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 4 |
b28f08e5169616a679e865ef371a13f67d2f7fe1 | 418 | py | Python | ebu_tt_live/node/__init__.py | ebu/ebu-tt-live-toolk | 8c67f83010d9fc0af5d3e270c70dce87674ad289 | [
"BSD-3-Clause"
] | 22 | 2016-01-12T10:24:27.000Z | 2022-02-17T15:40:09.000Z | ebu_tt_live/node/__init__.py | ebu/ebu-tt-live-toolk | 8c67f83010d9fc0af5d3e270c70dce87674ad289 | [
"BSD-3-Clause"
] | 532 | 2016-04-22T13:44:11.000Z | 2021-12-21T17:39:36.000Z | ebu_tt_live/node/__init__.py | ebu/ebu-tt-live-toolk | 8c67f83010d9fc0af5d3e270c70dce87674ad289 | [
"BSD-3-Clause"
] | 8 | 2016-04-04T12:38:30.000Z | 2019-09-05T08:01:58.000Z |
from .base import INode, IConsumerNode, IProducerNode, AbstractConsumerNode, AbstractProducerNode, AbstractCombinedNode
from .producer import SimpleProducer
from .consumer import SimpleConsumer, ReSequencer
from .encoder import EBUTTDEncoder
from .delay import BufferDelayNode, RetimingDelayNode
from .distributing impo... | 41.8 | 119 | 0.868421 | 39 | 418 | 9.307692 | 0.641026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095694 | 418 | 9 | 120 | 46.444444 | 0.960317 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b29a7fd07a1ffa7aa50cc195997fbc97ac5de62b | 158 | py | Python | exercicio 3.7.py | LuizCostha/Nilo-Menezes-exercises | 2e2f2de83868c8c02e0149fb81bc9f531c1b064d | [
"MIT"
] | null | null | null | exercicio 3.7.py | LuizCostha/Nilo-Menezes-exercises | 2e2f2de83868c8c02e0149fb81bc9f531c1b064d | [
"MIT"
] | null | null | null | exercicio 3.7.py | LuizCostha/Nilo-Menezes-exercises | 2e2f2de83868c8c02e0149fb81bc9f531c1b064d | [
"MIT"
] | null | null | null | int1 = int(input("Digite o primeiro inteiro: "))
int2 = int(input("Digite o segundo inteiro: "))
print ("A soma dos inteiros é %d." % (int1 + int2))
| 22.571429 | 52 | 0.620253 | 23 | 158 | 4.26087 | 0.695652 | 0.163265 | 0.285714 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.21519 | 158 | 6 | 53 | 26.333333 | 0.758065 | 0 | 0 | 0 | 0 | 0 | 0.52349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a274896c457057e9dcb455e6e8f4b2d3c7fdbd6c | 163 | py | Python | projekt/__init__.py | jarbus/neural-mmo | 7ad02fab50f2781c0a71f7d2afd10c1503110736 | [
"MIT"
] | null | null | null | projekt/__init__.py | jarbus/neural-mmo | 7ad02fab50f2781c0a71f7d2afd10c1503110736 | [
"MIT"
] | null | null | null | projekt/__init__.py | jarbus/neural-mmo | 7ad02fab50f2781c0a71f7d2afd10c1503110736 | [
"MIT"
] | null | null | null | from .cluster import Cluster
from .pantheon import Pantheon
from .god import God
from .sword import Sword
from .ann import Policy
from .evaluator import Evaluator
| 23.285714 | 32 | 0.815951 | 24 | 163 | 5.541667 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147239 | 163 | 6 | 33 | 27.166667 | 0.956835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a2a657804f0a8681e21542cfd5868057544ed2a1 | 80 | py | Python | processing_library/util/__init__.py | ska-telescope/algorithm-reference-library | 1b2c8d6079249202864abf8c60cdea40f0f123cb | [
"Apache-2.0"
] | 22 | 2016-12-14T11:20:07.000Z | 2021-08-13T15:23:41.000Z | processing_library/util/__init__.py | ska-telescope/algorithm-reference-library | 1b2c8d6079249202864abf8c60cdea40f0f123cb | [
"Apache-2.0"
] | 30 | 2017-06-27T09:15:38.000Z | 2020-09-11T18:16:37.000Z | processing_library/util/__init__.py | SKA-ScienceDataProcessor/algorithm-reference-library | 1b2c8d6079249202864abf8c60cdea40f0f123cb | [
"Apache-2.0"
] | 20 | 2017-07-02T03:45:49.000Z | 2019-12-11T17:19:01.000Z | __all__ = ['array_functions', 'compass_bearing', 'coordinate_support', 'sizeof'] | 80 | 80 | 0.7625 | 8 | 80 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 80 | 1 | 80 | 80 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a2b8966edc3d4c6b271380d7421b8d67140a6069 | 23,851 | py | Python | tests/test_fsticuffs.py | daniele-athome/rhasspy-nlu | f779adfa5c82b95aba9341b625d4ab120ae19b3d | [
"MIT"
] | 8 | 2020-01-21T20:54:01.000Z | 2022-02-16T09:35:52.000Z | tests/test_fsticuffs.py | daniele-athome/rhasspy-nlu | f779adfa5c82b95aba9341b625d4ab120ae19b3d | [
"MIT"
] | 13 | 2020-01-01T19:37:15.000Z | 2021-03-01T01:15:28.000Z | tests/test_fsticuffs.py | daniele-athome/rhasspy-nlu | f779adfa5c82b95aba9341b625d4ab120ae19b3d | [
"MIT"
] | 7 | 2020-01-03T12:20:13.000Z | 2022-03-01T09:29:51.000Z | """Test cases for recognition functions."""
import unittest
from pathlib import Path
from rhasspynlu.fsticuffs import recognize
from rhasspynlu.ini_jsgf import parse_ini
from rhasspynlu.intent import Entity, Intent, Recognition
from rhasspynlu.jsgf import Sentence
from rhasspynlu.jsgf_graph import intents_to_graph
c... | 31.674635 | 88 | 0.519769 | 2,353 | 23,851 | 5.172546 | 0.090523 | 0.057185 | 0.064415 | 0.087667 | 0.769041 | 0.746446 | 0.729275 | 0.706844 | 0.694027 | 0.673979 | 0 | 0.010036 | 0.35248 | 23,851 | 752 | 89 | 31.716755 | 0.778037 | 0.094713 | 0 | 0.608434 | 0 | 0.002008 | 0.126589 | 0.003525 | 0 | 0 | 0 | 0 | 0.172691 | 1 | 0.052209 | false | 0 | 0.014056 | 0.002008 | 0.080321 | 0.002008 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
a2bb89872a8eff7b6b3ea97c101f05b38a1fa820 | 1,640 | py | Python | thaniya_server_archive/src/thaniya_server_archive/archive/ProcessingRule.py | jkpubsrc/Thaniya | 4ebdf2854e3d7888af7396adffa22628b4ab2267 | [
"Apache-1.1"
] | 1 | 2021-01-20T18:27:22.000Z | 2021-01-20T18:27:22.000Z | thaniya_server_archive/src/thaniya_server_archive/archive/ProcessingRule.py | jkpubsrc/Thaniya | 4ebdf2854e3d7888af7396adffa22628b4ab2267 | [
"Apache-1.1"
] | null | null | null | thaniya_server_archive/src/thaniya_server_archive/archive/ProcessingRule.py | jkpubsrc/Thaniya | 4ebdf2854e3d7888af7396adffa22628b4ab2267 | [
"Apache-1.1"
] | null | null | null |
import typing
import jk_typing
from .FileNamePattern import FileNamePattern
class ProcessingRule(object):
################################################################################################################################
## Constructors
#################################################... | 25.230769 | 129 | 0.27439 | 51 | 1,640 | 8.54902 | 0.392157 | 0.174312 | 0.155963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07378 | 1,640 | 64 | 130 | 25.625 | 0.287031 | 0.034146 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a2cefa10a6fdd74bbdf50831a42656c1436e3d0a | 193 | py | Python | script.preventscreensaver/program.py | Heckie75/kodi-addon-prevent-screensaver | 3dde2bf7a65f867a883ebe003eb87ce562815564 | [
"MIT"
] | null | null | null | script.preventscreensaver/program.py | Heckie75/kodi-addon-prevent-screensaver | 3dde2bf7a65f867a883ebe003eb87ce562815564 | [
"MIT"
] | null | null | null | script.preventscreensaver/program.py | Heckie75/kodi-addon-prevent-screensaver | 3dde2bf7a65f867a883ebe003eb87ce562815564 | [
"MIT"
] | null | null | null | import xbmc
import xbmcaddon
addon = xbmcaddon.Addon()
if __name__ == "__main__":
addon = xbmcaddon.Addon()
xbmc.executebuiltin("Addon.OpenSettings(%s)" % addon.getAddonInfo("id"))
| 17.545455 | 76 | 0.704663 | 21 | 193 | 6.095238 | 0.571429 | 0.328125 | 0.296875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150259 | 193 | 10 | 77 | 19.3 | 0.780488 | 0 | 0 | 0.333333 | 0 | 0 | 0.165803 | 0.11399 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
a2d831c10c0e3ca8138d729a026a923d291570b6 | 26 | py | Python | pyiArduinoI2Cdsl/__init__.py | tremaru/pyiArduinoI2Cdsl | 7385ab34cff7939d1ac8e2d18d5a28e8f3fe2efc | [
"MIT"
] | null | null | null | pyiArduinoI2Cdsl/__init__.py | tremaru/pyiArduinoI2Cdsl | 7385ab34cff7939d1ac8e2d18d5a28e8f3fe2efc | [
"MIT"
] | null | null | null | pyiArduinoI2Cdsl/__init__.py | tremaru/pyiArduinoI2Cdsl | 7385ab34cff7939d1ac8e2d18d5a28e8f3fe2efc | [
"MIT"
] | null | null | null | name = "pyiArduinoI2Cdsl"
| 13 | 25 | 0.769231 | 2 | 26 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.115385 | 26 | 1 | 26 | 26 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0c290130651ec7746bda59f067d64b2a66747b33 | 28 | py | Python | frappe/__version__.py | Steggur/frappe | be95a19704dd3ac667f7ad64e1694dc5d59856fe | [
"MIT"
] | null | null | null | frappe/__version__.py | Steggur/frappe | be95a19704dd3ac667f7ad64e1694dc5d59856fe | [
"MIT"
] | null | null | null | frappe/__version__.py | Steggur/frappe | be95a19704dd3ac667f7ad64e1694dc5d59856fe | [
"MIT"
] | 1 | 2018-03-22T00:24:53.000Z | 2018-03-22T00:24:53.000Z | __version__ = "5.0.0-alpha"
| 14 | 27 | 0.678571 | 5 | 28 | 3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.107143 | 28 | 1 | 28 | 28 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0.392857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0c62294fce41ebd023c598882c4bbfb78a47f992 | 670 | py | Python | app/api/urls.py | XiyaoWong/a_blog_backend | 4d7a9cdd84f75b48a0c71a4e423d37fc93c48930 | [
"MIT"
] | null | null | null | app/api/urls.py | XiyaoWong/a_blog_backend | 4d7a9cdd84f75b48a0c71a4e423d37fc93c48930 | [
"MIT"
] | null | null | null | app/api/urls.py | XiyaoWong/a_blog_backend | 4d7a9cdd84f75b48a0c71a4e423d37fc93c48930 | [
"MIT"
] | null | null | null | from app.api import api
from app.api.resources.ping import Ping
from app.api.resources.login import Login
from app.api.resources.user import User, UserList
from app.api.resources.post import Post, PostList
from app.api.resources.comment import Comment, CommentList
from app.api.resources.info import Info
api.add_resou... | 35.263158 | 58 | 0.768657 | 101 | 670 | 4.980198 | 0.19802 | 0.107356 | 0.250497 | 0.22664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077612 | 670 | 18 | 59 | 37.222222 | 0.813916 | 0.053731 | 0 | 0 | 0 | 0 | 0.147152 | 0.036392 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.466667 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a740cb2aa3c1291c1d6ee590d0949b0fbe20fd1b | 1,680 | py | Python | webapp/crowdclass/migrations/0008_auto_20160425_1608.py | dorisjlee/crowdclass | 5497c58c84cadfb017669a5f2a3ff020dc1a0d75 | [
"BSD-3-Clause"
] | null | null | null | webapp/crowdclass/migrations/0008_auto_20160425_1608.py | dorisjlee/crowdclass | 5497c58c84cadfb017669a5f2a3ff020dc1a0d75 | [
"BSD-3-Clause"
] | null | null | null | webapp/crowdclass/migrations/0008_auto_20160425_1608.py | dorisjlee/crowdclass | 5497c58c84cadfb017669a5f2a3ff020dc1a0d75 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-04-25 16:08
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('crowdclass', '0007_auto_20160425_0329'),
]
operations = [
migrations.AddFiel... | 27.540984 | 50 | 0.539881 | 145 | 1,680 | 6.137931 | 0.337931 | 0.182022 | 0.232584 | 0.273034 | 0.697753 | 0.697753 | 0.697753 | 0.647191 | 0.647191 | 0.647191 | 0 | 0.037138 | 0.342857 | 1,680 | 60 | 51 | 28 | 0.769022 | 0.039881 | 0 | 0.679245 | 1 | 0 | 0.106211 | 0.014286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037736 | 0 | 0.09434 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a7610dc381a6def799597c921ee3cf66de00ae52 | 83 | py | Python | gals/apps.py | salarx/galleryX | cec1a14b54a16602b01c93df64c8999dd3aa5e8b | [
"Unlicense"
] | null | null | null | gals/apps.py | salarx/galleryX | cec1a14b54a16602b01c93df64c8999dd3aa5e8b | [
"Unlicense"
] | null | null | null | gals/apps.py | salarx/galleryX | cec1a14b54a16602b01c93df64c8999dd3aa5e8b | [
"Unlicense"
] | null | null | null | from django.apps import AppConfig
class GalsConfig(AppConfig):
name = 'gals'
| 13.833333 | 33 | 0.73494 | 10 | 83 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 34 | 16.6 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 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 | 1 | 0 | 0 | 4 |
a76460d09ac165d62da536bf50a63cc69f309779 | 745 | py | Python | plyer/facades/bluetooth.py | EdwardCoventry/plyer | 4002b21fe1a664e80b422547b8ae04d2a2d3037d | [
"MIT"
] | 1,184 | 2015-01-02T23:24:46.000Z | 2022-03-27T16:28:16.000Z | plyer/facades/bluetooth.py | EdwardCoventry/plyer | 4002b21fe1a664e80b422547b8ae04d2a2d3037d | [
"MIT"
] | 469 | 2015-01-02T09:23:15.000Z | 2022-03-17T10:35:58.000Z | plyer/facades/bluetooth.py | EdwardCoventry/plyer | 4002b21fe1a664e80b422547b8ae04d2a2d3037d | [
"MIT"
] | 431 | 2015-01-05T23:00:43.000Z | 2022-03-15T04:20:03.000Z | '''Bluetooth facade.
Returns the following:
* Bluetooth info
Simple Example
--------------
To get the bluetooth status info::
todo: will be extended to get additional bluetooth info
todo: will be extended to allow bluetooth connections etc.
>>> from plyer import bluetooth
>>> bluetooth
'on' or 'off'
S... | 16.931818 | 75 | 0.613423 | 84 | 745 | 5.369048 | 0.5 | 0.062084 | 0.053215 | 0.062084 | 0.10643 | 0.10643 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256376 | 745 | 43 | 76 | 17.325581 | 0.814079 | 0.622819 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0 | 1 | 0.375 | false | 0 | 0 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a777546e2e3c8cc1fedd5d69ac8db3fc5754fcba | 93 | py | Python | tests/conftest.py | vapaee/telos-dex-contract | 4c161b0b13f489d1d62c5fb058a4705af39ac7bf | [
"MIT"
] | null | null | null | tests/conftest.py | vapaee/telos-dex-contract | 4c161b0b13f489d1d62c5fb058a4705af39ac7bf | [
"MIT"
] | null | null | null | tests/conftest.py | vapaee/telos-dex-contract | 4c161b0b13f489d1d62c5fb058a4705af39ac7bf | [
"MIT"
] | null | null | null | import pytest_eosiocdt
pytest_eosiocdt.append_mount(
'/home/user/include',
'src/include'
) | 15.5 | 29 | 0.784946 | 12 | 93 | 5.833333 | 0.75 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 93 | 6 | 30 | 15.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.308511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a77e81db31873fb117328e2dad6fc4f0e66ff27a | 1,653 | py | Python | attorney/case_analyses/doctype/instruction_entity/instruction_entity.py | Athenolabs/attorney | 9858ff5e06d5f9ef1537b5547c3b118792cdd8b4 | [
"MIT"
] | 1 | 2019-01-29T22:33:12.000Z | 2019-01-29T22:33:12.000Z | attorney/case_analyses/doctype/instruction_entity/instruction_entity.py | Athenolabs/attorney | 9858ff5e06d5f9ef1537b5547c3b118792cdd8b4 | [
"MIT"
] | null | null | null | attorney/case_analyses/doctype/instruction_entity/instruction_entity.py | Athenolabs/attorney | 9858ff5e06d5f9ef1537b5547c3b118792cdd8b4 | [
"MIT"
] | 2 | 2019-07-30T14:42:25.000Z | 2021-05-07T15:54:54.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2018, KEA and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
import re
from frappe.model.document import Document
from frappe import utils
import datetime
from frappe.model.naming import make_autoname
# cl... | 27.098361 | 77 | 0.568663 | 196 | 1,653 | 4.617347 | 0.357143 | 0.061878 | 0.116022 | 0.066298 | 0.275138 | 0.161326 | 0.161326 | 0.161326 | 0.161326 | 0.161326 | 0 | 0.005887 | 0.280702 | 1,653 | 60 | 78 | 27.55 | 0.755257 | 0.669691 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.1 | 0.8 | 0 | 0.9 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
a780b4c363eca555452ea6772e6e72d9dca0eac7 | 148 | py | Python | PyCharm/Exercicios/Aula7/ex010.py | fabiodarice/Python | 15ec1c7428f138be875111ac98ba38cf2eec1a93 | [
"MIT"
] | null | null | null | PyCharm/Exercicios/Aula7/ex010.py | fabiodarice/Python | 15ec1c7428f138be875111ac98ba38cf2eec1a93 | [
"MIT"
] | null | null | null | PyCharm/Exercicios/Aula7/ex010.py | fabiodarice/Python | 15ec1c7428f138be875111ac98ba38cf2eec1a93 | [
"MIT"
] | null | null | null | print('\033[33;44mConversor de R$ para US$\033[m')
m = float(input('Digite um valor em R$ '))
print('Valor convertido em US${:.2f}'.format(m/3.27))
| 37 | 53 | 0.662162 | 28 | 148 | 3.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10687 | 0.114865 | 148 | 3 | 54 | 49.333333 | 0.641221 | 0 | 0 | 0 | 0 | 0 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a7cdba7def030bbd15b70f2c044e05f3e8d2fbe1 | 100 | py | Python | test.py | 1163710117/HelloWorld | c4f0e7e8ab6c1ee717b68b9fa575a11db85fdeef | [
"MIT"
] | null | null | null | test.py | 1163710117/HelloWorld | c4f0e7e8ab6c1ee717b68b9fa575a11db85fdeef | [
"MIT"
] | 2 | 2019-07-07T11:44:55.000Z | 2019-10-21T03:14:38.000Z | test.py | 1163710117/hit-1163710117 | 4de45bdf6dd1bd680b8fa0be18f5f3222b11ea9d | [
"MIT"
] | 1 | 2019-07-07T10:32:33.000Z | 2019-07-07T10:32:33.000Z | str = '123'
str2 = '2.3'
str3 = 'a'
print(str.isdigit())
print(str2.isdigit())
print(str3.isdigit()) | 16.666667 | 21 | 0.64 | 16 | 100 | 4 | 0.5625 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 0.11 | 100 | 6 | 22 | 16.666667 | 0.617978 | 0 | 0 | 0 | 0 | 0 | 0.069307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 4 |
ac44664cba245bf7fa90f3c89ca2503ceee6c137 | 570 | py | Python | robomimic/config/__init__.py | akolobov/robomimic | 104f00e84f915b3b618bc0fb9b849cfeb61e8e8e | [
"MIT"
] | 107 | 2021-08-10T05:29:44.000Z | 2022-03-27T13:17:58.000Z | robomimic/config/__init__.py | akolobov/robomimic | 104f00e84f915b3b618bc0fb9b849cfeb61e8e8e | [
"MIT"
] | 16 | 2021-09-10T04:34:31.000Z | 2022-03-29T17:21:54.000Z | robomimic/config/__init__.py | akolobov/robomimic | 104f00e84f915b3b618bc0fb9b849cfeb61e8e8e | [
"MIT"
] | 33 | 2021-08-11T07:04:45.000Z | 2022-03-26T14:05:19.000Z | from robomimic.config.config import Config
from robomimic.config.base_config import config_factory, get_all_registered_configs
# note: these imports are needed to register these classes in the global config registry
from robomimic.config.bc_config import BCConfig
from robomimic.config.bcq_config import BCQConfig
from ... | 51.818182 | 88 | 0.87193 | 83 | 570 | 5.819277 | 0.421687 | 0.242236 | 0.354037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003861 | 0.091228 | 570 | 11 | 89 | 51.818182 | 0.928571 | 0.150877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ac5ecc4649d6fe05229f7cc9d46e2c6f187854d7 | 579 | py | Python | src/groups/migrations/0007_auto_20200803_0807.py | yurdosii/GroupLinks.api | d07e98dda4afe77912df61bdd639f4640ebecce0 | [
"MIT"
] | null | null | null | src/groups/migrations/0007_auto_20200803_0807.py | yurdosii/GroupLinks.api | d07e98dda4afe77912df61bdd639f4640ebecce0 | [
"MIT"
] | null | null | null | src/groups/migrations/0007_auto_20200803_0807.py | yurdosii/GroupLinks.api | d07e98dda4afe77912df61bdd639f4640ebecce0 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.7 on 2020-08-03 08:07
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('groups', '0006_auto_20200731_1659'),
]
operations = [
migrations.AlterModelOptions(
name='customuser',
options={'ordering': ... | 22.269231 | 47 | 0.533679 | 49 | 579 | 6.244898 | 0.653061 | 0.264706 | 0.303922 | 0.176471 | 0.313725 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0.079284 | 0.324698 | 579 | 25 | 48 | 23.16 | 0.703325 | 0.07772 | 0 | 0.473684 | 1 | 0 | 0.146617 | 0.043233 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3bc998bee0e319d5501d8d7bff72481f9b4abeb0 | 47 | py | Python | _solved/solutions/01-introduction-geospatial-data9.py | song-zi/geopandas-tutorial | 5c0012d5747b03233f51d215cd7f74f59823da66 | [
"BSD-3-Clause"
] | 6 | 2019-02-06T14:30:43.000Z | 2019-05-16T08:37:12.000Z | _solved/solutions/01-introduction-geospatial-data31.py | glenn6452/geopandas-philippines | 2153a940ca6e810d96d82198e3f05a0b34c6e2f5 | [
"BSD-3-Clause"
] | null | null | null | _solved/solutions/01-introduction-geospatial-data31.py | glenn6452/geopandas-philippines | 2153a940ca6e810d96d82198e3f05a0b34c6e2f5 | [
"BSD-3-Clause"
] | 5 | 2019-02-07T10:06:05.000Z | 2022-03-21T13:15:49.000Z | districts.loc[districts.geometry.area.idxmax()] | 47 | 47 | 0.829787 | 6 | 47 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 47 | 1 | 47 | 47 | 0.829787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3bfda5fb5aa2908e9bfcd6e3189f9094d16eb3c6 | 96 | py | Python | lib/ttbjson/exceptions.py | WEGFan/Edge-PC-Savefile-Editor | 6e48693d7bfb015509da53499914b906a7bfa4b5 | [
"MIT"
] | 1 | 2020-01-24T19:44:20.000Z | 2020-01-24T19:44:20.000Z | lib/ttbjson/exceptions.py | WEGFan/Edge-PC-Savefile-Editor | 6e48693d7bfb015509da53499914b906a7bfa4b5 | [
"MIT"
] | null | null | null | lib/ttbjson/exceptions.py | WEGFan/Edge-PC-Savefile-Editor | 6e48693d7bfb015509da53499914b906a7bfa4b5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class Error(Exception):
pass
class LoadFileError(Error):
pass
| 12 | 27 | 0.625 | 11 | 96 | 5.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.21875 | 96 | 7 | 28 | 13.714286 | 0.786667 | 0.21875 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
ce12d8e794c196fab0a670dc4d0a516237ccd9d6 | 154 | py | Python | bin/trigs/tritrigs-triangle-2.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/trigs/tritrigs-triangle-2.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/trigs/tritrigs-triangle-2.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | 1 | 2022-01-02T16:54:14.000Z | 2022-01-02T16:54:14.000Z | #!/usr/bin/env python
# $Id$
"""
4 solutions.
"""
import puzzler
from puzzler.puzzles.tritrigs import TritrigsTriangle2
puzzler.run(TritrigsTriangle2)
| 12.833333 | 54 | 0.753247 | 18 | 154 | 6.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022059 | 0.116883 | 154 | 11 | 55 | 14 | 0.830882 | 0.246753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ce367451bc1b699b256634d51a3d5e55d1834bc9 | 54 | py | Python | tests/__init__.py | GenomeTrakrUnofficial/sra-quick-subm | e5c69d3a9fc0298fcd03188abaffb16bcbaa70bb | [
"Unlicense"
] | 2 | 2016-12-17T17:13:53.000Z | 2020-01-31T21:20:18.000Z | tests/__init__.py | GenomeTrakrUnofficial/sra-quick-submit | e5c69d3a9fc0298fcd03188abaffb16bcbaa70bb | [
"Unlicense"
] | null | null | null | tests/__init__.py | GenomeTrakrUnofficial/sra-quick-submit | e5c69d3a9fc0298fcd03188abaffb16bcbaa70bb | [
"Unlicense"
] | null | null | null | """Unit test package for sra_quick_submit_package."""
| 27 | 53 | 0.777778 | 8 | 54 | 4.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 54 | 1 | 54 | 54 | 0.795918 | 0.87037 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ce410e4c1f6467fc01c96776ecea51236105f35a | 45 | py | Python | lib/python/saab_plus/aboss_utils/__init__.py | oxpig/saab_plus | 2cfbf90db8aba7da8ca900feae3ae3b250c6bf08 | [
"BSD-3-Clause"
] | 11 | 2019-09-17T07:28:38.000Z | 2022-03-31T09:33:06.000Z | lib/python/saab_plus/aboss_utils/__init__.py | oxpig/saab_plus | 2cfbf90db8aba7da8ca900feae3ae3b250c6bf08 | [
"BSD-3-Clause"
] | 3 | 2020-07-01T12:21:14.000Z | 2021-03-04T09:54:51.000Z | lib/python/saab_plus/aboss_utils/__init__.py | oxpig/saab_plus | 2cfbf90db8aba7da8ca900feae3ae3b250c6bf08 | [
"BSD-3-Clause"
] | 4 | 2019-12-16T13:33:43.000Z | 2021-08-07T08:26:51.000Z | """
Packages that support SAAB+ pipeline
"""
| 11.25 | 36 | 0.688889 | 5 | 45 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 3 | 37 | 15 | 0.815789 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
cbfdbabc84dc64b265720f898d7c0573fd77ebf6 | 152 | py | Python | src/account/genproto/proto_code_Generater.py | ibso-ml-deep-learnnig/DemoJam2019 | 95ad85789a59e1cbdbf293472a39f199ac77c2bb | [
"Apache-2.0"
] | 2 | 2019-10-25T16:44:26.000Z | 2019-10-28T05:23:40.000Z | src/account/genproto/proto_code_Generater.py | ibso-ml-deep-learnnig/DemoJam2019 | 95ad85789a59e1cbdbf293472a39f199ac77c2bb | [
"Apache-2.0"
] | 3 | 2019-10-08T01:43:32.000Z | 2020-04-06T03:30:02.000Z | src/account/genproto/proto_code_Generater.py | ibso-ml-deep-learnnig/DemoJam2019 | 95ad85789a59e1cbdbf293472a39f199ac77c2bb | [
"Apache-2.0"
] | null | null | null | from grpc_tools import protoc
protoc.main((
'',
'-I../proto',
'--python_out=.',
'--grpc_python_out=.',
'../proto/account.proto',
)) | 16.888889 | 29 | 0.552632 | 17 | 152 | 4.705882 | 0.647059 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203947 | 152 | 9 | 30 | 16.888889 | 0.661157 | 0 | 0 | 0 | 0 | 0 | 0.424837 | 0.143791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0201b96a61e28599771b8008f1b7c60d276a369a | 743 | py | Python | hacker_rank/python_practice/list_comprehensions/cuboid_triple_list_comp/cuboid_triple_list_comp.py | ticotheps/practice_problems | 943c5ab9eebeac4e5cf162adbdc681119603dc36 | [
"MIT"
] | null | null | null | hacker_rank/python_practice/list_comprehensions/cuboid_triple_list_comp/cuboid_triple_list_comp.py | ticotheps/practice_problems | 943c5ab9eebeac4e5cf162adbdc681119603dc36 | [
"MIT"
] | null | null | null | hacker_rank/python_practice/list_comprehensions/cuboid_triple_list_comp/cuboid_triple_list_comp.py | ticotheps/practice_problems | 943c5ab9eebeac4e5cf162adbdc681119603dc36 | [
"MIT"
] | null | null | null | # Brute Force Solution
# def print_coordinates(x, y, z, n):
# possible_coordinates_lst = []
# for i in range(0, x+1):
# for j in range(0, y+1):
# for k in range(0, z+1):
# if i + j + k != n:
# coordinates = [i, j, k]
# possible_coo... | 35.380952 | 139 | 0.500673 | 128 | 743 | 2.835938 | 0.226563 | 0.038567 | 0.132231 | 0.110193 | 0.418733 | 0.391185 | 0.391185 | 0.264463 | 0.264463 | 0.264463 | 0 | 0.085657 | 0.324361 | 743 | 20 | 140 | 37.15 | 0.63745 | 0.685061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 4 |
020c4f0e0611ecec557a31d0c3f57ff314df8e5c | 20 | py | Python | Packs/__init__.py | fossabot/Packs | 35e0946632a0d39c25c9085c2aaf8504d21b3467 | [
"BSD-3-Clause"
] | 5 | 2020-06-24T19:15:38.000Z | 2021-05-03T21:15:36.000Z | Packs/__init__.py | fossabot/Packs | 35e0946632a0d39c25c9085c2aaf8504d21b3467 | [
"BSD-3-Clause"
] | 2 | 2020-06-24T13:59:55.000Z | 2020-09-10T13:06:46.000Z | Packs/__init__.py | fossabot/Packs | 35e0946632a0d39c25c9085c2aaf8504d21b3467 | [
"BSD-3-Clause"
] | 1 | 2020-09-10T13:02:38.000Z | 2020-09-10T13:02:38.000Z | __version__='1.4.2'
| 10 | 19 | 0.7 | 4 | 20 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.05 | 20 | 1 | 20 | 20 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
020e09d0023e0f9f7bd6962929caa6ed6195d27b | 48 | py | Python | fxm/assets/__init__.py | panyuan5056/fx | 24ca8dd57de7534e4d20cfbf2890607a1741dc70 | [
"Apache-2.0"
] | null | null | null | fxm/assets/__init__.py | panyuan5056/fx | 24ca8dd57de7534e4d20cfbf2890607a1741dc70 | [
"Apache-2.0"
] | 11 | 2020-03-24T15:29:46.000Z | 2022-03-11T23:14:48.000Z | fxm/assets/__init__.py | panyuan5056/fx | 24ca8dd57de7534e4d20cfbf2890607a1741dc70 | [
"Apache-2.0"
] | null | null | null | default_app_config = 'assets.apps.AssetsConfig'
| 24 | 47 | 0.833333 | 6 | 48 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
02155184022bb33e79a0dccf1e0c749a25f6dfb8 | 103 | py | Python | src/onlyuserclient/apps.py | tangdyy/onlyuserclient | d93b4e1077afda6b58bba002729f6bc89b988c7a | [
"MIT"
] | 2 | 2021-03-12T00:42:13.000Z | 2021-05-24T06:31:13.000Z | src/onlyuserclient/apps.py | tangdyy/onlyuserclient | d93b4e1077afda6b58bba002729f6bc89b988c7a | [
"MIT"
] | null | null | null | src/onlyuserclient/apps.py | tangdyy/onlyuserclient | d93b4e1077afda6b58bba002729f6bc89b988c7a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class OnlyuserclientConfig(AppConfig):
name = 'onlyuserclient'
| 17.166667 | 38 | 0.786408 | 10 | 103 | 8.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 39 | 20.6 | 0.920455 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 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 | 1 | 0 | 0 | 4 |
02184004dadf6e66754602b7974076519ac447bd | 353 | py | Python | index-power.py | denisbalyko/checkio-solution | fc512b17578df31d8f6f21cd347424d9353b9c77 | [
"MIT"
] | 13 | 2015-07-09T09:56:56.000Z | 2021-12-24T07:14:15.000Z | index-power.py | denisbalyko/checkio-solution | fc512b17578df31d8f6f21cd347424d9353b9c77 | [
"MIT"
] | null | null | null | index-power.py | denisbalyko/checkio-solution | fc512b17578df31d8f6f21cd347424d9353b9c77 | [
"MIT"
] | 8 | 2016-12-07T15:00:14.000Z | 2020-04-14T23:54:09.000Z | def index_power(array, n):
try:
return array[n]**n
except Exception, e:
return -1
def test_function():
assert index_power([1, 2, 3, 4], 2) == 9, "Square"
assert index_power([1, 3, 10, 100], 3) == 1000000, "Cube"
assert index_power([0, 1], 0) == 1, "Zero power"
assert index_powe... | 27.153846 | 61 | 0.569405 | 55 | 353 | 3.545455 | 0.472727 | 0.25641 | 0.328205 | 0.261538 | 0.194872 | 0.194872 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 0.249292 | 353 | 12 | 62 | 29.416667 | 0.622642 | 0 | 0 | 0 | 0 | 0 | 0.084986 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
022e83277acba4dcefb2de4bb5bf8d36c890b25b | 1,446 | py | Python | src/leaderboard/migrations/0009_auto_20210425_0007.py | jtrussell/swindle | 914f9ddc7b155cf895fc233b9f3f0c1804bf23e3 | [
"MIT"
] | 1 | 2021-04-07T20:14:43.000Z | 2021-04-07T20:14:43.000Z | src/leaderboard/migrations/0009_auto_20210425_0007.py | jtrussell/swindle | 914f9ddc7b155cf895fc233b9f3f0c1804bf23e3 | [
"MIT"
] | null | null | null | src/leaderboard/migrations/0009_auto_20210425_0007.py | jtrussell/swindle | 914f9ddc7b155cf895fc233b9f3f0c1804bf23e3 | [
"MIT"
] | null | null | null | # Generated by Django 3.2 on 2021-04-25 00:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('leaderboard', '0008_auto_20210424_1959'),
]
operations = [
migrations.AlterField(
model_name='challenge',
name='id',
... | 29.510204 | 70 | 0.567773 | 133 | 1,446 | 6.045113 | 0.315789 | 0.174129 | 0.217662 | 0.252488 | 0.686567 | 0.686567 | 0.686567 | 0.686567 | 0.686567 | 0.686567 | 0 | 0.030426 | 0.318119 | 1,446 | 48 | 71 | 30.125 | 0.78499 | 0.029737 | 0 | 0.666667 | 1 | 0 | 0.084226 | 0.016417 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0232381ab6367ccd198e6c90d3c93ab59bfa9905 | 272 | py | Python | examples/core/create_model.py | gugarosa/textformer | cccc670d48995fa0bfbdf9fc8013d13a90ea5e84 | [
"Apache-2.0"
] | 3 | 2020-07-26T03:51:56.000Z | 2020-10-04T18:42:18.000Z | examples/core/create_model.py | gugarosa/textformer | cccc670d48995fa0bfbdf9fc8013d13a90ea5e84 | [
"Apache-2.0"
] | null | null | null | examples/core/create_model.py | gugarosa/textformer | cccc670d48995fa0bfbdf9fc8013d13a90ea5e84 | [
"Apache-2.0"
] | null | null | null | from textformer.core.model import Model
from textformer.models.decoders import LSTMDecoder
from textformer.models.encoders import LSTMEncoder
# Creates a template Model class
model = Model(LSTMEncoder(), LSTMDecoder(), ignore_token=None, init_weights=None, device='cpu')
| 38.857143 | 95 | 0.819853 | 35 | 272 | 6.314286 | 0.6 | 0.190045 | 0.180995 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095588 | 272 | 6 | 96 | 45.333333 | 0.898374 | 0.110294 | 0 | 0 | 0 | 0 | 0.0125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
024429bd370bf61ab10213f1fcc59c34826aa07e | 5,797 | py | Python | tests/pitree/test_intervaltree.py | toshipiazza/memsight | 4c5c5db7fa4c674b0d5cc7321f7d5fef56bd3ff9 | [
"BSD-2-Clause"
] | 18 | 2017-11-02T11:04:33.000Z | 2020-12-01T08:39:10.000Z | tests/pitree/test_intervaltree.py | toshipiazza/memsight | 4c5c5db7fa4c674b0d5cc7321f7d5fef56bd3ff9 | [
"BSD-2-Clause"
] | 2 | 2020-04-16T17:24:16.000Z | 2020-04-25T19:36:43.000Z | tests/pitree/test_intervaltree.py | toshipiazza/memsight | 4c5c5db7fa4c674b0d5cc7321f7d5fef56bd3ff9 | [
"BSD-2-Clause"
] | 2 | 2019-06-07T06:24:30.000Z | 2020-03-09T22:53:24.000Z | import os, sys, traceback
from bcolors import bcolors
sys.path.append(os.path.join(os.path.dirname(__file__), '../..'))
from memory.lib.pitree.intervaltree import *
def test_1():
it = IntervalTree()
it.add(Interval(1,5))
it.add(Interval(5,10))
ris = it.search(5)
assert len(ris) == 1 and ris[0] ==... | 28.140777 | 139 | 0.58444 | 842 | 5,797 | 3.95962 | 0.0962 | 0.086383 | 0.122376 | 0.079184 | 0.738152 | 0.718656 | 0.691662 | 0.64817 | 0.604979 | 0.604979 | 0 | 0.043041 | 0.26255 | 5,797 | 206 | 140 | 28.140777 | 0.736842 | 0.029843 | 0 | 0.616667 | 0 | 0 | 0.069291 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | null | null | 0.133333 | 0.016667 | null | null | 0.266667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
02766c57f85575e482f2b57891bc6dbde89ac36c | 10,538 | py | Python | cogs/stonks.py | StvenYun/BBBot | 57420e1b24de70e48c029f6c40c9820005bdd15d | [
"MIT"
] | null | null | null | cogs/stonks.py | StvenYun/BBBot | 57420e1b24de70e48c029f6c40c9820005bdd15d | [
"MIT"
] | null | null | null | cogs/stonks.py | StvenYun/BBBot | 57420e1b24de70e48c029f6c40c9820005bdd15d | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
from bs4 import BeautifulSoup
import aiohttp
class stonks(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.Cog.listener()
async def on_ready(self):
print('stonks.py injected')
@commands.command(name='stock', help='!stoc... | 38.600733 | 103 | 0.516322 | 879 | 10,538 | 6.063709 | 0.229807 | 0.078424 | 0.034146 | 0.063039 | 0.717261 | 0.717261 | 0.710319 | 0.710319 | 0.7 | 0.7 | 0 | 0.027733 | 0.34646 | 10,538 | 273 | 104 | 38.600733 | 0.746188 | 0.079617 | 0 | 0.564706 | 0 | 0.011765 | 0.397774 | 0.006616 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017647 | false | 0 | 0.023529 | 0 | 0.047059 | 0.005882 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
5a28247a9eb83ddab64ba9697777aeffe412eeb7 | 51 | py | Python | botx/models/messages/__init__.py | ExpressApp/pybotx | 97c8b1ce5d45a05567ed01d545cb43174a2dcbb9 | [
"MIT"
] | 13 | 2021-01-21T12:43:10.000Z | 2022-03-23T11:11:59.000Z | botx/models/messages/__init__.py | ExpressApp/pybotx | 97c8b1ce5d45a05567ed01d545cb43174a2dcbb9 | [
"MIT"
] | 259 | 2020-02-26T08:51:03.000Z | 2022-03-23T11:08:36.000Z | botx/models/messages/__init__.py | ExpressApp/pybotx | 97c8b1ce5d45a05567ed01d545cb43174a2dcbb9 | [
"MIT"
] | 5 | 2019-12-02T16:19:22.000Z | 2021-11-22T20:33:34.000Z | """Entities for messages: incoming or outgoing."""
| 25.5 | 50 | 0.72549 | 6 | 51 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 51 | 1 | 51 | 51 | 0.822222 | 0.862745 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5a6aa205ec169bd1d5251678aae4bd46256e3db6 | 117 | py | Python | regions/tasks.py | theirc/IRC-Services-Legacy | 818ffd13fecb8a7f1c29c341d427d0a339809f8b | [
"BSD-3-Clause"
] | 2 | 2020-10-05T14:43:24.000Z | 2020-10-14T12:46:56.000Z | regions/tasks.py | pg-irc/IRC-Services-Legacy | 818ffd13fecb8a7f1c29c341d427d0a339809f8b | [
"BSD-3-Clause"
] | 3 | 2019-02-26T18:21:01.000Z | 2020-06-18T14:56:16.000Z | regions/tasks.py | pg-irc/IRC-Services-Legacy | 818ffd13fecb8a7f1c29c341d427d0a339809f8b | [
"BSD-3-Clause"
] | null | null | null | import logging
from celery.task import task
from django.conf import settings
logger = logging.getLogger(__name__)
| 14.625 | 36 | 0.811966 | 16 | 117 | 5.6875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 117 | 7 | 37 | 16.714286 | 0.90099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 4 |
ce5833b8c12a37d81cb6061c07536a0b4ec411d4 | 178 | py | Python | aioredlock/__init__.py | Zombro/aioredlock | 8db38ec0e917de992ca4151a5619072f1e1306a1 | [
"MIT"
] | 1 | 2021-05-14T12:56:53.000Z | 2021-05-14T12:56:53.000Z | aioredlock/__init__.py | agronholm/aioredlock | 258fbf7790a4e2da2efdb4527a414862471eeee2 | [
"MIT"
] | null | null | null | aioredlock/__init__.py | agronholm/aioredlock | 258fbf7790a4e2da2efdb4527a414862471eeee2 | [
"MIT"
] | 2 | 2017-12-04T22:00:32.000Z | 2017-12-31T17:43:08.000Z | from aioredlock.algorithm import Aioredlock
from aioredlock.errors import LockError
from aioredlock.lock import Lock
__all__ = (
'Aioredlock',
'Lock',
'LockError'
)
| 17.8 | 43 | 0.741573 | 19 | 178 | 6.736842 | 0.421053 | 0.328125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 178 | 9 | 44 | 19.777778 | 0.876712 | 0 | 0 | 0 | 0 | 0 | 0.129213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
ce69543f1681059ab56f369115da38c0faa34926 | 350 | py | Python | tests/helpers.py | Andrewsyl/extremitypathfinder | 7fc27c6ae6a1795220804e320b300f6c056c5cfc | [
"MIT"
] | 2 | 2020-03-22T06:21:39.000Z | 2020-12-29T21:04:59.000Z | tests/test_helpers.py | bballamudi/extremitypathfinder | 5790181af6b75a959c2c239addd36bf6e0336cf1 | [
"MIT"
] | null | null | null | tests/test_helpers.py | bballamudi/extremitypathfinder | 5790181af6b75a959c2c239addd36bf6e0336cf1 | [
"MIT"
] | null | null | null | def proto_test_case(data, fct):
for input, expected_output in data:
# print(input, expected_output, fct(input))
actual_output = fct(input)
if actual_output != expected_output:
print('input: {} expected: {} got: {}'.format(input, expected_output, actual_output))
assert act... | 43.75 | 97 | 0.662857 | 42 | 350 | 5.261905 | 0.404762 | 0.316742 | 0.257919 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225714 | 350 | 7 | 98 | 50 | 0.815498 | 0.117143 | 0 | 0 | 0 | 0 | 0.09772 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ce87da1171bdb77d49f311fdfdb0356a256c280f | 106 | py | Python | pyospf/utils/__init__.py | chenbaolou/pyospf | 6f4f649b6b1b36e8a53c29677bbf10fd15d13427 | [
"Apache-2.0"
] | 11 | 2015-10-20T13:22:06.000Z | 2021-02-14T13:14:22.000Z | pyospf/utils/__init__.py | chenbaolou/pyospf | 6f4f649b6b1b36e8a53c29677bbf10fd15d13427 | [
"Apache-2.0"
] | null | null | null | pyospf/utils/__init__.py | chenbaolou/pyospf | 6f4f649b6b1b36e8a53c29677bbf10fd15d13427 | [
"Apache-2.0"
] | 2 | 2020-04-18T04:32:23.000Z | 2022-01-19T09:33:14.000Z | # !/usr/bin/env python
# -*- coding:utf-8 -*-
# Copyright 2015 Cisco Systems, Inc.
# All rights reserved. | 21.2 | 36 | 0.660377 | 15 | 106 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 0.160377 | 106 | 5 | 37 | 21.2 | 0.730337 | 0.915094 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cea42311a3cb79c86aeb33b8f6c6630e4772db04 | 55 | py | Python | src/__init__.py | bossjones/spotify-leap-hackathon | 0f192a36fdca14b662229c94d628a059d55a5361 | [
"BSD-3-Clause"
] | null | null | null | src/__init__.py | bossjones/spotify-leap-hackathon | 0f192a36fdca14b662229c94d628a059d55a5361 | [
"BSD-3-Clause"
] | 1 | 2015-03-28T19:30:10.000Z | 2015-03-28T19:30:15.000Z | src/__init__.py | bossjones/spotify-leap-hackathon | 0f192a36fdca14b662229c94d628a059d55a5361 | [
"BSD-3-Clause"
] | 1 | 2015-03-27T23:59:35.000Z | 2015-03-27T23:59:35.000Z | # Allow us to call files from source as python modules
| 27.5 | 54 | 0.781818 | 10 | 55 | 4.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 55 | 1 | 55 | 55 | 0.977273 | 0.945455 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cebab9af25bd2040db6988a39d2f43cc544d660d | 246 | py | Python | terrascript/resource/iwarapter/scaffolding.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/resource/iwarapter/scaffolding.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/resource/iwarapter/scaffolding.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/resource/iwarapter/scaffolding.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:26:11 UTC)
import terrascript
class scaffolding_resource(terrascript.Resource):
pass
__all__ = [
"scaffolding_resource",
]
| 18.923077 | 73 | 0.772358 | 29 | 246 | 6.344828 | 0.724138 | 0.206522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 0.130081 | 246 | 12 | 74 | 20.5 | 0.803738 | 0.47561 | 0 | 0 | 1 | 0 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.166667 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
cec0ee99b2ad285d2f47ca70924297ec564e2dd8 | 11,849 | py | Python | test/unit/builtins/test_link.py | jmgao/bfg9000 | 7ffb15aed8ea88ee454821e83aa8c42014ac8e34 | [
"BSD-3-Clause"
] | null | null | null | test/unit/builtins/test_link.py | jmgao/bfg9000 | 7ffb15aed8ea88ee454821e83aa8c42014ac8e34 | [
"BSD-3-Clause"
] | null | null | null | test/unit/builtins/test_link.py | jmgao/bfg9000 | 7ffb15aed8ea88ee454821e83aa8c42014ac8e34 | [
"BSD-3-Clause"
] | null | null | null | import mock
from .common import BuiltinTest
from bfg9000.builtins import compile, default, link
from bfg9000 import file_types
from bfg9000.environment import LibraryMode
from bfg9000.iterutils import listify, unlistify
from bfg9000.path import Path, Root
class LinkTest(BuiltinTest):
def output_file(self, linker... | 41 | 79 | 0.621656 | 1,297 | 11,849 | 5.495759 | 0.077872 | 0.061869 | 0.084175 | 0.082492 | 0.865039 | 0.838103 | 0.799102 | 0.758698 | 0.646745 | 0.578143 | 0 | 0.002917 | 0.2477 | 11,849 | 288 | 80 | 41.142361 | 0.796724 | 0 | 0 | 0.580087 | 0 | 0 | 0.102878 | 0 | 0 | 0 | 0 | 0 | 0.177489 | 1 | 0.147186 | false | 0 | 0.030303 | 0 | 0.225108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 4 |
cec5b321ee368f86158d81f2be0fd8729ca9a809 | 362 | py | Python | api/analysis/interest_management/interest_metrics.py | SmartDuck9000/studnetwork-api | 2010e691ad189019451f3854c65f78a49d198383 | [
"MIT"
] | null | null | null | api/analysis/interest_management/interest_metrics.py | SmartDuck9000/studnetwork-api | 2010e691ad189019451f3854c65f78a49d198383 | [
"MIT"
] | null | null | null | api/analysis/interest_management/interest_metrics.py | SmartDuck9000/studnetwork-api | 2010e691ad189019451f3854c65f78a49d198383 | [
"MIT"
] | null | null | null | def interest_distance(vec1, vec2):
"""equivalent to manhattan distance for 2 interest vectors"""
return sum(abs(vec1[i] - vec2[i]) for i in range(len(vec1)))
def weighed_interest_distance(vec1, vec2, weights):
"""interest distance with weights for each dimension"""
return sum(abs(vec1[i] - vec2[i]) * ... | 40.222222 | 81 | 0.69337 | 56 | 362 | 4.428571 | 0.428571 | 0.193548 | 0.16129 | 0.193548 | 0.326613 | 0.326613 | 0.326613 | 0 | 0 | 0 | 0 | 0.039735 | 0.165746 | 362 | 8 | 82 | 45.25 | 0.781457 | 0.290055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0c869292387a64312924a9fb958801c85ed3d7de | 579 | py | Python | choosemodel.py | thanakijwanavit/flowerai | 46b3c727ee78d49eceb607d1e510196d8cb2adbc | [
"MIT"
] | 1 | 2022-03-30T11:42:01.000Z | 2022-03-30T11:42:01.000Z | choosemodel.py | thanakijwanavit/throatai | 65f413da275164c98c4770c55d63970922075016 | [
"MIT"
] | null | null | null | choosemodel.py | thanakijwanavit/throatai | 65f413da275164c98c4770c55d63970922075016 | [
"MIT"
] | null | null | null |
import torchvision.models as models
def choosemodel(arch):
if arch=='restnet18':
return models.resnet18(pretrained=True)
elif arch=='alexnet':
return models.alexnet(pretrained=True)
elif arch == 'vgg16':
return models.vgg16(pretrained=True)
elif arch == 'squeezenet':
ret... | 32.166667 | 52 | 0.673575 | 64 | 579 | 6.0625 | 0.375 | 0.216495 | 0.231959 | 0.283505 | 0.159794 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03532 | 0.217617 | 579 | 17 | 53 | 34.058824 | 0.821192 | 0 | 0 | 0.125 | 0 | 0 | 0.083045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.5625 | 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 | 1 | 0 | 0 | 4 |
0cb2943565a5e0cc2c458939464590b3e4ff756c | 1,087 | py | Python | dynamicserialize/dstypes/com/raytheon/uf/common/localization/LocalizationContext.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | dynamicserialize/dstypes/com/raytheon/uf/common/localization/LocalizationContext.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | dynamicserialize/dstypes/com/raytheon/uf/common/localization/LocalizationContext.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | ##
##
# File auto-generated against equivalent DynamicSerialize Java class
class LocalizationContext(object):
def __init__(self):
self.localizationType = None
self.localizationLevel = None
self.contextName = None
def getLocalizationType(self):
return self.localizationType
... | 27.175 | 104 | 0.691812 | 94 | 1,087 | 7.829787 | 0.340426 | 0.142663 | 0.076087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226311 | 1,087 | 39 | 105 | 27.871795 | 0.875149 | 0.060718 | 0 | 0 | 1 | 0 | 0.001972 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0cb67f39efff94083e8c987f3b483ca14be40295 | 90 | py | Python | python/exercise/crawler/rand.py | nullne/million | 264ba32e2ba70400bc5971e04baaf5681e4aa839 | [
"MIT"
] | 1 | 2015-10-21T01:36:51.000Z | 2015-10-21T01:36:51.000Z | python/exercise/crawler/rand.py | nullne/million | 264ba32e2ba70400bc5971e04baaf5681e4aa839 | [
"MIT"
] | null | null | null | python/exercise/crawler/rand.py | nullne/million | 264ba32e2ba70400bc5971e04baaf5681e4aa839 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
import random
from time import sleep
sleep(random.randrange(10))
| 12.857143 | 27 | 0.755556 | 14 | 90 | 4.857143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.133333 | 90 | 6 | 28 | 15 | 0.846154 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0cb82be530e62d2c413d6ecce12a2fe8606ff8ca | 306 | py | Python | yandex_checkout/domain/models/confirmation/confirmation_factory.py | tonchik-tm/yandex-checkout-sdk-python | 7680e85a3e3416a1b3d2a6dd6bd3de84ba646d1d | [
"MIT"
] | 1 | 2021-03-19T06:47:48.000Z | 2021-03-19T06:47:48.000Z | yandex_checkout/domain/models/confirmation/confirmation_factory.py | tonchik-tm/yandex-checkout-sdk-python | 7680e85a3e3416a1b3d2a6dd6bd3de84ba646d1d | [
"MIT"
] | null | null | null | yandex_checkout/domain/models/confirmation/confirmation_factory.py | tonchik-tm/yandex-checkout-sdk-python | 7680e85a3e3416a1b3d2a6dd6bd3de84ba646d1d | [
"MIT"
] | null | null | null | from yandex_checkout.domain.common.type_factory import TypeFactory
from yandex_checkout.domain.models.confirmation.confirmation_class_map import ConfirmationClassMap
class ConfirmationFactory(TypeFactory):
def __init__(self):
super(ConfirmationFactory, self).__init__(ConfirmationClassMap())
| 38.25 | 98 | 0.839869 | 31 | 306 | 7.870968 | 0.612903 | 0.081967 | 0.147541 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091503 | 306 | 7 | 99 | 43.714286 | 0.877698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
0cdf253324479e49a8673c2062e738829225e2e3 | 223 | py | Python | pytse/constants.py | emadbagheri96/PyTse | cae34231afe03fdc8bd34f47e8e44923d82b295a | [
"MIT"
] | null | null | null | pytse/constants.py | emadbagheri96/PyTse | cae34231afe03fdc8bd34f47e8e44923d82b295a | [
"MIT"
] | null | null | null | pytse/constants.py | emadbagheri96/PyTse | cae34231afe03fdc8bd34f47e8e44923d82b295a | [
"MIT"
] | null | null | null | BASE_URL = "http://www.tsetmc.com/tsev2/data/MarketWatchInit.aspx?h=0&r=0"
CLIENT_TYPE_URL="http://www.tsetmc.com/tsev2/data/ClientTypeAll.aspx"
SYMBOL_PAGE_URL="http://www.tsetmc.com/loader.aspx?ParTree=151311&i={inscode}" | 74.333333 | 78 | 0.784753 | 38 | 223 | 4.473684 | 0.605263 | 0.123529 | 0.176471 | 0.282353 | 0.441176 | 0.329412 | 0.329412 | 0 | 0 | 0 | 0 | 0.045662 | 0.017937 | 223 | 3 | 78 | 74.333333 | 0.730594 | 0 | 0 | 0 | 0 | 0.333333 | 0.767857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0ce61c2b11277a62081571c5323cbae92ad02571 | 110 | py | Python | {{cookiecutter.package_name}}/tests/test_{{cookiecutter.package_name}}.py | epogrebnyak/impression | 325393a0be4f6452147b19c7d313dd36bc6981cd | [
"MIT"
] | 5 | 2021-01-15T19:29:34.000Z | 2022-01-01T22:45:42.000Z | {{cookiecutter.package_name}}/tests/test_{{cookiecutter.package_name}}.py | epogrebnyak/impression | 325393a0be4f6452147b19c7d313dd36bc6981cd | [
"MIT"
] | 1 | 2021-01-15T11:26:08.000Z | 2021-01-15T15:27:10.000Z | {{cookiecutter.package_name}}/tests/test_{{cookiecutter.package_name}}.py | epogrebnyak/impression | 325393a0be4f6452147b19c7d313dd36bc6981cd | [
"MIT"
] | 2 | 2021-11-09T11:39:00.000Z | 2022-02-16T06:50:02.000Z | from {{cookiecutter.package_name}} import __version__
def test_version():
assert __version__ == '0.0.0'
| 18.333333 | 53 | 0.727273 | 14 | 110 | 5 | 0.714286 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.145455 | 110 | 5 | 54 | 22 | 0.712766 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0cee9714c23548e0a8edd276e055fca093b7d3b4 | 2,126 | py | Python | deep-rl/lib/python2.7/site-packages/OpenGL/GL/ARB/indirect_parameters.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 210 | 2016-04-09T14:26:00.000Z | 2022-03-25T18:36:19.000Z | deep-rl/lib/python2.7/site-packages/OpenGL/GL/ARB/indirect_parameters.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 72 | 2016-09-04T09:30:19.000Z | 2022-03-27T17:06:53.000Z | deep-rl/lib/python2.7/site-packages/OpenGL/GL/ARB/indirect_parameters.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 64 | 2016-04-09T14:26:49.000Z | 2022-03-21T11:19:47.000Z | '''OpenGL extension ARB.indirect_parameters
This module customises the behaviour of the
OpenGL.raw.GL.ARB.indirect_parameters to provide a more
Python-friendly API
Overview (from the spec)
OpenGL 4.3 (with the introduction of the GL_ARB_multi_draw_indirect
extension) enhanced the ability of OpenGL to allow ... | 46.217391 | 75 | 0.80715 | 312 | 2,126 | 5.451923 | 0.50641 | 0.035273 | 0.061728 | 0.024691 | 0.068195 | 0.068195 | 0.049383 | 0.049383 | 0 | 0 | 0 | 0.002222 | 0.15334 | 2,126 | 46 | 76 | 46.217391 | 0.942778 | 0.877705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0cfa418e625539a0f9e35798c00aa5365bf01a78 | 379 | py | Python | src/cltk/phonology/arb/phonology.py | yelircaasi/cltk | 1583aa24682543a1f33434a21918f039ca27d60c | [
"MIT"
] | 757 | 2015-11-20T00:58:52.000Z | 2022-03-31T06:34:24.000Z | src/cltk/phonology/arb/phonology.py | yelircaasi/cltk | 1583aa24682543a1f33434a21918f039ca27d60c | [
"MIT"
] | 950 | 2015-11-17T05:38:29.000Z | 2022-03-14T16:09:34.000Z | src/cltk/phonology/arb/phonology.py | yelircaasi/cltk | 1583aa24682543a1f33434a21918f039ca27d60c | [
"MIT"
] | 482 | 2015-11-22T18:13:02.000Z | 2022-03-20T21:22:02.000Z | """Arabic phonology tools
"""
__author__ = ["Clément Besnier <clem@clementbesnier.fr>"]
class ArabicTranscription:
def __init__(self):
pass
def transcribe(self, word):
# return transcribe(word)
return None
def __repr__(self):
return f"<OldSwedishTranscription>"
def ... | 18.95 | 57 | 0.649077 | 38 | 379 | 6.052632 | 0.605263 | 0.130435 | 0.121739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245383 | 379 | 19 | 58 | 19.947368 | 0.804196 | 0.124011 | 0 | 0 | 0 | 0 | 0.2 | 0.150769 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.1 | 0 | 0.3 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
49015748ebc4d20ec5e8f88bdc78eb6af0c7a998 | 106 | py | Python | ObasiEmmanuel/Phase 1/Python Basic 1/Day 4 task/Question 10.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | ObasiEmmanuel/Phase 1/Python Basic 1/Day 4 task/Question 10.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | ObasiEmmanuel/Phase 1/Python Basic 1/Day 4 task/Question 10.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | def Area_of_triangle(base,height):
area=0.5*base*height
return area
print(Area_of_triangle(8,5))
| 17.666667 | 34 | 0.735849 | 19 | 106 | 3.894737 | 0.578947 | 0.162162 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.141509 | 106 | 5 | 35 | 21.2 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0b2619803776b111991f1cd10f8780482e72cde6 | 22 | py | Python | aliyun-python-sdk-cms/aliyunsdkcms/__init__.py | ankitdobhal/aliyun-openapi-python-sdk | 991b1c2d91adc468480defc23ba790d4369cce7b | [
"Apache-2.0"
] | 1 | 2020-12-05T03:03:46.000Z | 2020-12-05T03:03:46.000Z | aliyun-python-sdk-cms/aliyunsdkcms/__init__.py | hetw/aliyun-openapi-python-sdk | 7443eacee9fbbaa93c7975c6dbec92d3c364c577 | [
"Apache-2.0"
] | null | null | null | aliyun-python-sdk-cms/aliyunsdkcms/__init__.py | hetw/aliyun-openapi-python-sdk | 7443eacee9fbbaa93c7975c6dbec92d3c364c577 | [
"Apache-2.0"
] | null | null | null | __version__ = '7.0.18' | 22 | 22 | 0.681818 | 4 | 22 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.090909 | 22 | 1 | 22 | 22 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0b38f69b618802722bf9c1786bc9164624ca15a1 | 762 | py | Python | make_prg/subcommands/output_type.py | mbhall88/make_prg | 1203fb3022f3b43cfb95ff75d37cc1e4ab51891b | [
"MIT"
] | 10 | 2018-05-14T14:11:05.000Z | 2020-11-22T14:44:03.000Z | make_prg/subcommands/output_type.py | mbhall88/make_prg | 1203fb3022f3b43cfb95ff75d37cc1e4ab51891b | [
"MIT"
] | 16 | 2019-01-09T15:15:26.000Z | 2021-01-27T02:53:00.000Z | make_prg/subcommands/output_type.py | mbhall88/make_prg | 1203fb3022f3b43cfb95ff75d37cc1e4ab51891b | [
"MIT"
] | 6 | 2019-01-09T15:02:43.000Z | 2019-10-26T04:44:19.000Z | class UnknownOutputTypeError(Exception):
pass
class OutputType:
BINARY = "b"
ALL = "a"
PRG = "p"
GFA = "g"
def __init__(self, value: str):
self.type = set(value.lower())
if not self._any():
raise UnknownOutputTypeError(f"{value} is an unknown output type")
de... | 22.411765 | 78 | 0.594488 | 105 | 762 | 4.209524 | 0.333333 | 0.081448 | 0.158371 | 0.20362 | 0.447964 | 0.257919 | 0.257919 | 0.135747 | 0 | 0 | 0 | 0 | 0.288714 | 762 | 33 | 79 | 23.090909 | 0.815498 | 0 | 0 | 0.125 | 0 | 0 | 0.048556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.041667 | 0 | 0.208333 | 0.708333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0b569dbeaf29e3d4a4de28e9f22a65183164e5a4 | 139 | py | Python | Practice/Regex/Repetitions/Matching_One_Or_More_Repetitions.py | alexanderbauer89/HackerRank | 0fb6face083b0183692c9251ffe4bb635591393f | [
"MIT"
] | 1 | 2021-11-17T02:47:11.000Z | 2021-11-17T02:47:11.000Z | Practice/Regex/Repetitions/Matching_One_Or_More_Repetitions.py | alexanderbauer89/HackerRank | 0fb6face083b0183692c9251ffe4bb635591393f | [
"MIT"
] | null | null | null | Practice/Regex/Repetitions/Matching_One_Or_More_Repetitions.py | alexanderbauer89/HackerRank | 0fb6face083b0183692c9251ffe4bb635591393f | [
"MIT"
] | null | null | null | Regex_Pattern = r'^\d{1,}[A-Z]{1,}[a-z]{1,}$' # Do not delete 'r'.
import re
print(str(bool(re.search(Regex_Pattern, input()))).lower())
| 23.166667 | 66 | 0.611511 | 26 | 139 | 3.192308 | 0.692308 | 0.289157 | 0.072289 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024 | 0.100719 | 139 | 5 | 67 | 27.8 | 0.64 | 0.129496 | 0 | 0 | 0 | 0 | 0.218487 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
0b7b61814abd34274763155423731e2b329d37ee | 64 | py | Python | hunter2-lessons/mass-assignment/code/cli.py | ekmixon/appsec-education | e8b50f63ee9c62a2bb9a0944f83a2b636939ffd5 | [
"BSD-3-Clause"
] | 56 | 2019-10-28T15:50:38.000Z | 2022-03-31T18:40:05.000Z | hunter2-lessons/mass-assignment/code/cli.py | misfir3/appsec-education | e6f90fb88e7a2c439e21405526dfaff554c1750e | [
"BSD-3-Clause"
] | 76 | 2021-05-14T23:58:34.000Z | 2022-03-29T22:33:46.000Z | hunter2-lessons/mass-assignment/code/cli.py | misfir3/appsec-education | e6f90fb88e7a2c439e21405526dfaff554c1750e | [
"BSD-3-Clause"
] | 13 | 2019-11-19T11:31:27.000Z | 2021-05-17T12:27:03.000Z | from app import db
if __name__ == '__main__':
db.cli.run()
| 12.8 | 26 | 0.640625 | 10 | 64 | 3.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 64 | 4 | 27 | 16 | 0.66 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0bac312c52fb0b6219d523d3ec6b2cefad24d22a | 284 | py | Python | exercises/exc_E1.py | dataXcode/IPP | c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b | [
"MIT"
] | null | null | null | exercises/exc_E1.py | dataXcode/IPP | c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b | [
"MIT"
] | null | null | null | exercises/exc_E1.py | dataXcode/IPP | c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b | [
"MIT"
] | null | null | null | #1 Comparison of booleans
print(__________________)
#2 Comparison of integers
print(__________________)
#3 Comparison of strings
print(__________________)
#4 Compare a boolean with a numeric
print(__________________)
#5 Comparison of integers
x = -7 * 3
print(__________________)
| 17.75 | 35 | 0.806338 | 31 | 284 | 4.483871 | 0.580645 | 0.345324 | 0.28777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02834 | 0.130282 | 284 | 15 | 36 | 18.933333 | 0.534413 | 0.454225 | 0 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.833333 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e7ea15e55707be78b6137a97f45d4f0e426935eb | 1,785 | py | Python | jobs/serializers.py | zain-Z/humimp | fd7e4e211dce62639e2fce2dd9f9506240a7a3d9 | [
"MIT"
] | null | null | null | jobs/serializers.py | zain-Z/humimp | fd7e4e211dce62639e2fce2dd9f9506240a7a3d9 | [
"MIT"
] | null | null | null | jobs/serializers.py | zain-Z/humimp | fd7e4e211dce62639e2fce2dd9f9506240a7a3d9 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Application, Slider, Contact, VisionMissionValue, WhoWeAre, Volunteer, Index, Donate, WhatWeAreDoingDetail, About, GetInvolved
from django.core.mail import send_mail
class ApplicationSerializer(serializers.ModelSerializer):
class Meta:
model = Ap... | 21.768293 | 146 | 0.685714 | 150 | 1,785 | 7.86 | 0.353333 | 0.242578 | 0.289228 | 0.326548 | 0.373198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231933 | 1,785 | 81 | 147 | 22.037037 | 0.859956 | 0 | 0 | 0.4375 | 0 | 0 | 0.084594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.520833 | 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 | 1 | 0 | 0 | 4 |
e7f016bf8c6251c55b5919236f9a2efe4b60b756 | 62 | py | Python | tests/__init__.py | savvybit/TrueStory | 4b329ee82b07bdcb79947dded7e6d3ede02bf9e6 | [
"MIT"
] | 2 | 2021-06-08T20:05:31.000Z | 2021-12-16T10:41:32.000Z | tests/__init__.py | savvybit/TrueStory | 4b329ee82b07bdcb79947dded7e6d3ede02bf9e6 | [
"MIT"
] | null | null | null | tests/__init__.py | savvybit/TrueStory | 4b329ee82b07bdcb79947dded7e6d3ede02bf9e6 | [
"MIT"
] | null | null | null | """Unit and integration tests for the `truestory` package."""
| 31 | 61 | 0.725806 | 8 | 62 | 5.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 1 | 62 | 62 | 0.833333 | 0.887097 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f00f2c14c6dbb93af1d997d02f83e1c808957124 | 19 | py | Python | key2.py | paulsbrookes/subcipher | 80a8ffe1753af542e76b62080d891a0a982d8d99 | [
"Apache-2.0"
] | null | null | null | key2.py | paulsbrookes/subcipher | 80a8ffe1753af542e76b62080d891a0a982d8d99 | [
"Apache-2.0"
] | null | null | null | key2.py | paulsbrookes/subcipher | 80a8ffe1753af542e76b62080d891a0a982d8d99 | [
"Apache-2.0"
] | null | null | null | class Key2(object)
| 9.5 | 18 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.105263 | 19 | 1 | 19 | 19 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f015f519c83ad78d07fe7b2e6736e12a3fe27035 | 470 | py | Python | HuaweiCloud-openAPI/credentials.py | Victrid/CS236-Cloud-Experiment | 2b6ebc487f9f20ed2ea4b8e15f91304d782a87b7 | [
"MIT"
] | null | null | null | HuaweiCloud-openAPI/credentials.py | Victrid/CS236-Cloud-Experiment | 2b6ebc487f9f20ed2ea4b8e15f91304d782a87b7 | [
"MIT"
] | null | null | null | HuaweiCloud-openAPI/credentials.py | Victrid/CS236-Cloud-Experiment | 2b6ebc487f9f20ed2ea4b8e15f91304d782a87b7 | [
"MIT"
] | null | null | null | #!/bin/python
hw_ak = "<Fill according to README.md>"
hw_sk = "<Fill according to README.md>"
hw_sys_FullAccess = "<Fill according to README.md>"
listPrePaidServerMetadataServer = {
"op_svc_userid": "<Fill according to README.md>",
"admin_pass": "",
"__support_agent_list": "hss,ces... | 26.111111 | 61 | 0.655319 | 62 | 470 | 4.725806 | 0.451613 | 0.31058 | 0.358362 | 0.501706 | 0.569966 | 0.255973 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208511 | 470 | 17 | 62 | 27.647059 | 0.787634 | 0.025532 | 0 | 0 | 0 | 0 | 0.553611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.090909 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f0368bb89da1e13f9c1a4a303e6fc2c20c3cab99 | 8,265 | py | Python | sdk/attestation/azure-security-attestation/samples/sample_collateral.py | ankitarorabit/azure-sdk-for-python | dd90281cbad9400f8080754a5ef2f56791a5a88f | [
"MIT"
] | 3 | 2020-06-23T02:25:27.000Z | 2021-09-07T18:48:11.000Z | sdk/attestation/azure-security-attestation/samples/sample_collateral.py | ankitarorabit/azure-sdk-for-python | dd90281cbad9400f8080754a5ef2f56791a5a88f | [
"MIT"
] | 510 | 2019-07-17T16:11:19.000Z | 2021-08-02T08:38:32.000Z | sdk/attestation/azure-security-attestation/samples/sample_collateral.py | ankitarorabit/azure-sdk-for-python | dd90281cbad9400f8080754a5ef2f56791a5a88f | [
"MIT"
] | 5 | 2019-09-04T12:51:37.000Z | 2020-09-16T07:28:40.000Z | # coding: utf-8
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------... | 65.07874 | 81 | 0.850575 | 228 | 8,265 | 30.763158 | 0.846491 | 0.001426 | 0.002851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082924 | 0.088082 | 8,265 | 126 | 82 | 65.595238 | 0.847685 | 0.093527 | 0 | 0 | 0 | 0 | 0.871538 | 0.86846 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f06948c8e8ebd2151f40b5c0502c5cb321e2d84b | 154 | py | Python | python_modules/libraries/dagster-aws/dagster_aws/athena/__init__.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 4,606 | 2018-06-21T17:45:20.000Z | 2022-03-31T23:39:42.000Z | python_modules/libraries/dagster-aws/dagster_aws/athena/__init__.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 6,221 | 2018-06-12T04:36:01.000Z | 2022-03-31T21:43:05.000Z | python_modules/libraries/dagster-aws/dagster_aws/athena/__init__.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 619 | 2018-08-22T22:43:09.000Z | 2022-03-31T22:48:06.000Z | from .resources import (
AthenaError,
AthenaResource,
AthenaTimeout,
FakeAthenaResource,
athena_resource,
fake_athena_resource,
)
| 17.111111 | 25 | 0.714286 | 12 | 154 | 8.916667 | 0.833333 | 0.261682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 154 | 8 | 26 | 19.25 | 0.89916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f0725c6b373ca6ec53518c1ce56166d9098cc737 | 221 | py | Python | kipy/fileobjs/brd/__init__.py | Arie001/klonor-kicad | c916ae4cdac5072803e12f530ef32230732b30d7 | [
"MIT"
] | 2 | 2016-05-17T13:10:52.000Z | 2018-09-03T15:18:30.000Z | kipy/fileobjs/brd/__init__.py | Arie001/klonor-kicad | c916ae4cdac5072803e12f530ef32230732b30d7 | [
"MIT"
] | 1 | 2016-08-03T09:31:39.000Z | 2016-08-03T11:19:19.000Z | kipy/fileobjs/brd/__init__.py | Arie001/klonor-kicad | c916ae4cdac5072803e12f530ef32230732b30d7 | [
"MIT"
] | 1 | 2018-09-04T16:32:13.000Z | 2018-09-04T16:32:13.000Z | from .brditem import BrdItem
from .brdfile import BrdFile
# Make all the parts of the parser/renderer wire themselves in
def _init():
from ..brd import header, equipot, module, netclass, zone, track, comment
_init()
| 27.625 | 77 | 0.755656 | 32 | 221 | 5.15625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167421 | 221 | 7 | 78 | 31.571429 | 0.896739 | 0.271493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f07385d7417d90c11c015e079d4333cdec5ea922 | 446 | py | Python | modules/RateLimiter/src/exceptions.py | EngineersBox/ansible-test | ab5c4942a523fb28fbaf150ceecfdf4bcd231955 | [
"Apache-2.0"
] | 2 | 2021-02-28T09:51:39.000Z | 2021-07-13T08:40:37.000Z | modules/RateLimiter/src/exceptions.py | EngineersBox/ansible-test | ab5c4942a523fb28fbaf150ceecfdf4bcd231955 | [
"Apache-2.0"
] | 19 | 2021-04-07T13:03:57.000Z | 2021-10-06T14:39:51.000Z | modules/RateLimiter/src/exceptions.py | EngineersBox/ansible-test | ab5c4942a523fb28fbaf150ceecfdf4bcd231955 | [
"Apache-2.0"
] | 3 | 2021-02-28T10:36:48.000Z | 2022-02-24T08:24:33.000Z |
class HTTP_429_TooManyRequests(Exception):
def __init__(self, expiry: int):
self.expiry = expiry
self.message = f"try again in {expiry} ms"
super().__init__(self.message)
def __str__(self):
return self.message
class HTTP_400_BadRequest(Exception):
def __init__(self, messag... | 24.777778 | 50 | 0.650224 | 53 | 446 | 4.943396 | 0.396226 | 0.251908 | 0.122137 | 0.152672 | 0.259542 | 0.259542 | 0.259542 | 0 | 0 | 0 | 0 | 0.01791 | 0.248879 | 446 | 17 | 51 | 26.235294 | 0.764179 | 0 | 0 | 0.307692 | 0 | 0 | 0.053933 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.153846 | 0.615385 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b2b5bb62c0149c7e846d627fa6f333d4f1181f3e | 94 | py | Python | PetShop/apps.py | sifullahrakin/HelloPaw | dc01827076b59bb145ccfb92aa4a5cdda97683e7 | [
"MIT"
] | null | null | null | PetShop/apps.py | sifullahrakin/HelloPaw | dc01827076b59bb145ccfb92aa4a5cdda97683e7 | [
"MIT"
] | null | null | null | PetShop/apps.py | sifullahrakin/HelloPaw | dc01827076b59bb145ccfb92aa4a5cdda97683e7 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PetshopConfig(AppConfig):
name = 'PetShop'
| 15.666667 | 34 | 0.712766 | 10 | 94 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 94 | 5 | 35 | 18.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 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 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.