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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3d9b8b3fbaac22bc380eb573f5bbe797df86dcba | 799 | py | Python | src/icemac/ab/calexport/masterdata/tests/test_menu.py | icemac/icemac.ab.calexport | ae16aa6d3c7f15b5bc386f135c018f9d552d8d5c | [
"BSD-2-Clause"
] | null | null | null | src/icemac/ab/calexport/masterdata/tests/test_menu.py | icemac/icemac.ab.calexport | ae16aa6d3c7f15b5bc386f135c018f9d552d8d5c | [
"BSD-2-Clause"
] | null | null | null | src/icemac/ab/calexport/masterdata/tests/test_menu.py | icemac/icemac.ab.calexport | ae16aa6d3c7f15b5bc386f135c018f9d552d8d5c | [
"BSD-2-Clause"
] | null | null | null | from __future__ import unicode_literals
import pytest
@pytest.fixture(scope='function')
def master_data_menu(address_book, browser, sitemenu):
"""Fixture to test the calendar export master data menu."""
browser.login('cal-export-editor')
return sitemenu(browser, 1, 'Master data', browser.CALENDAR_MASTERDA... | 36.318182 | 79 | 0.772215 | 116 | 799 | 4.913793 | 0.387931 | 0.263158 | 0.245614 | 0.073684 | 0.192982 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.14393 | 799 | 21 | 80 | 38.047619 | 0.827485 | 0.222778 | 0 | 0 | 0 | 0 | 0.059504 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.25 | false | 0 | 0.166667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3da712cea70a15d6820b617e75fc627f05f2bdcf | 85 | py | Python | python/8kyu/Sum Mixed Array/solution.py | abfarah/codewars | 5aa41a36a6255cb559d23c62f75679e4f3818692 | [
"MIT"
] | null | null | null | python/8kyu/Sum Mixed Array/solution.py | abfarah/codewars | 5aa41a36a6255cb559d23c62f75679e4f3818692 | [
"MIT"
] | null | null | null | python/8kyu/Sum Mixed Array/solution.py | abfarah/codewars | 5aa41a36a6255cb559d23c62f75679e4f3818692 | [
"MIT"
] | null | null | null | def sum_mix(arr):
sum = 0
for i in arr:
sum += int(i)
return sum
| 14.166667 | 21 | 0.494118 | 15 | 85 | 2.733333 | 0.666667 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.4 | 85 | 5 | 22 | 17 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3daf9c8a21309b9d6f35fb975e7b0ac607b28701 | 1,567 | py | Python | exercises/en/test_05_20.py | hfboyce/MCL-DSCI-571-machine-learning | 25757369491ac547daa94ff1143ca7389d433a6e | [
"MIT"
] | 1 | 2020-09-12T15:40:11.000Z | 2020-09-12T15:40:11.000Z | exercises/en/test_05_20.py | hfboyce/MCL-DSCI-571-machine-learning | 25757369491ac547daa94ff1143ca7389d433a6e | [
"MIT"
] | 13 | 2020-10-02T16:48:24.000Z | 2020-12-09T18:58:21.000Z | exercises/en/test_05_20.py | hfboyce/MCL-DSCI-571-machine-learning | 25757369491ac547daa94ff1143ca7389d433a6e | [
"MIT"
] | 2 | 2020-10-28T19:43:42.000Z | 2021-03-30T22:57:47.000Z | def test():
# Here we can either check objects created in the solution code, or the
# string value of the solution, available as __solution__. A helper for
# printing formatted messages is available as __msg__. See the testTemplate
# in the meta.json for details.
# If an assertion fails, the messag... | 82.473684 | 142 | 0.746011 | 239 | 1,567 | 4.631799 | 0.41841 | 0.063234 | 0.088528 | 0.113821 | 0.285456 | 0.285456 | 0.133695 | 0.133695 | 0.074074 | 0 | 0 | 0.00858 | 0.181876 | 1,567 | 18 | 143 | 87.055556 | 0.854914 | 0.188896 | 0 | 0 | 0 | 0 | 0.66087 | 0 | 0 | 0 | 0 | 0 | 0.833333 | 1 | 0.083333 | true | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3dcfca7e7c0ede0556922ff402e8f941d00b62f6 | 256 | py | Python | 1009-SalaryWithBonus.py | OrianaCadavid/uri-oj | 256c811007712e85f636ae5b9357a59cf608daa8 | [
"MIT"
] | null | null | null | 1009-SalaryWithBonus.py | OrianaCadavid/uri-oj | 256c811007712e85f636ae5b9357a59cf608daa8 | [
"MIT"
] | null | null | null | 1009-SalaryWithBonus.py | OrianaCadavid/uri-oj | 256c811007712e85f636ae5b9357a59cf608daa8 | [
"MIT"
] | null | null | null | def main():
seller_name = str(raw_input())
salary = float(raw_input())
total_sales = float(raw_input())
total_salary = salary + (total_sales * 0.15)
print 'TOTAL = R$ {:.2f}'.format(total_salary)
if __name__ == '__main__':
main()
| 23.272727 | 50 | 0.625 | 34 | 256 | 4.235294 | 0.529412 | 0.166667 | 0.180556 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.210938 | 256 | 10 | 51 | 25.6 | 0.693069 | 0 | 0 | 0 | 0 | 0 | 0.097656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3ded282ee744eb6f6c3f9f7f19213716cb205283 | 5,900 | py | Python | app/middleware/tracers/utils/trace_wrappers.py | domdomegg/coronavirus-dashboard-frontend-server | f08a7928b1b87aeea701924e8e5d2687fa6e3fab | [
"MIT"
] | 17 | 2020-10-29T20:24:32.000Z | 2022-01-23T19:11:41.000Z | app/middleware/tracers/utils/trace_wrappers.py | domdomegg/coronavirus-dashboard-frontend-server | f08a7928b1b87aeea701924e8e5d2687fa6e3fab | [
"MIT"
] | 74 | 2020-11-02T09:02:16.000Z | 2022-03-29T09:05:20.000Z | app/middleware/tracers/utils/trace_wrappers.py | domdomegg/coronavirus-dashboard-frontend-server | f08a7928b1b87aeea701924e8e5d2687fa6e3fab | [
"MIT"
] | 7 | 2021-01-11T09:21:30.000Z | 2022-02-28T16:20:20.000Z | #!/usr/bin python3
# Imports
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Python:
from logging import getLogger
from functools import wraps
from inspect import signature
from datetime import datetime
# 3rd party:
from opencensus.trace.execution_context import get_opence... | 34.911243 | 107 | 0.557119 | 646 | 5,900 | 4.900929 | 0.176471 | 0.106128 | 0.085913 | 0.080543 | 0.745736 | 0.745736 | 0.705938 | 0.676563 | 0.676563 | 0.676563 | 0 | 0.000724 | 0.297966 | 5,900 | 168 | 108 | 35.119048 | 0.763641 | 0.039322 | 0 | 0.62069 | 0 | 0 | 0.137785 | 0.086557 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051724 | false | 0 | 0.051724 | 0 | 0.181034 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3dfdbabbf971fa33fbe01165d4f734326a2f6b4a | 302 | py | Python | Docker/settings/routing.py | osscat/YaKan | 0b1f6d957d0ba564e67821bd989cc5e188b1f422 | [
"MIT"
] | 3 | 2018-07-04T00:49:40.000Z | 2019-06-12T05:16:46.000Z | Docker/settings/routing.py | osscat/YaKan | 0b1f6d957d0ba564e67821bd989cc5e188b1f422 | [
"MIT"
] | null | null | null | Docker/settings/routing.py | osscat/YaKan | 0b1f6d957d0ba564e67821bd989cc5e188b1f422 | [
"MIT"
] | 1 | 2019-06-12T05:16:48.000Z | 2019-06-12T05:16:48.000Z | from django.urls import path
from . import consumers
from django.conf.urls import url
websocket_urlpatterns = [
# 元のコードは→url(r'^ws/chat/(?P<room_name>[^/]+)/$', consumers.ChatConsumer),
path('Django/ws/chat/echo/', consumers.EchoConsumer),
path('ws/chat/echo/', consumers.EchoConsumer),
]
| 30.2 | 77 | 0.708609 | 40 | 302 | 5.325 | 0.525 | 0.084507 | 0.093897 | 0.178404 | 0.29108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119205 | 302 | 9 | 78 | 33.555556 | 0.796992 | 0.235099 | 0 | 0 | 0 | 0 | 0.144105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 3 |
9a7319a8c3ee0656e949aea41bd01f46ce8978b5 | 143 | py | Python | 1113.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | 6 | 2021-04-13T00:33:43.000Z | 2022-02-10T10:23:59.000Z | 1113.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | null | null | null | 1113.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | 3 | 2021-03-23T18:42:24.000Z | 2022-02-10T10:24:07.000Z | while True:
x, y = [int(z) for z in input().split()]
if x > y: print('Decrescente')
elif x < y: print('Crescente')
else: break
| 23.833333 | 44 | 0.559441 | 23 | 143 | 3.478261 | 0.73913 | 0.075 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265734 | 143 | 5 | 45 | 28.6 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.13986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a7542f950aad5e47e8f799caa87842309929b6d | 261 | py | Python | arekit/contrib/bert/output/eval_helper.py | nicolay-r/AREk | 19c39ec0dc9a17464cade03b9c4da0c6d1d21191 | [
"MIT"
] | null | null | null | arekit/contrib/bert/output/eval_helper.py | nicolay-r/AREk | 19c39ec0dc9a17464cade03b9c4da0c6d1d21191 | [
"MIT"
] | null | null | null | arekit/contrib/bert/output/eval_helper.py | nicolay-r/AREk | 19c39ec0dc9a17464cade03b9c4da0c6d1d21191 | [
"MIT"
] | null | null | null | class EvalHelper(object):
""" Specific provide for results evaluation.
"""
def get_results_dir(self, target_dir):
raise NotImplementedError()
def get_results_filename(self, iter_index, epoch_index):
raise NotImplementedError()
| 26.1 | 60 | 0.704981 | 28 | 261 | 6.321429 | 0.678571 | 0.067797 | 0.146893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 261 | 9 | 61 | 29 | 0.855072 | 0.153257 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a7e8c3a7ba190ddf297176ab748bc337b5947c5 | 583 | bzl | Python | source/bazel/deps/com_grail_bazel_toolchain/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 33 | 2019-05-30T07:43:32.000Z | 2021-12-30T13:12:32.000Z | source/bazel/deps/com_grail_bazel_toolchain/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 371 | 2019-05-16T15:23:50.000Z | 2021-09-04T15:45:27.000Z | source/bazel/deps/com_grail_bazel_toolchain/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 6 | 2019-08-22T17:37:36.000Z | 2020-11-07T07:15:32.000Z | # Do not edit this file directly.
# It was auto-generated by: code/programs/reflexivity/reflexive_refresh
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def comGrailBazelToolchain():
http_archive(
name="com_grail_bazel_toolchain" ,
sha256="6bf2b30c8ab190eee44e1843f0cff457a53... | 36.4375 | 113 | 0.73928 | 54 | 583 | 7.814815 | 0.777778 | 0.099526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173469 | 0.15952 | 583 | 15 | 114 | 38.866667 | 0.687755 | 0.173242 | 0 | 0 | 1 | 0 | 0.624217 | 0.394572 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | true | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a7f8445466a23712b6fee4b3af1fd5b47ac3b6a | 381 | py | Python | ciri/abstract.py | patrick-ryan/ciri | f11f198a26465db513694f4c94e90e5ea6773ba7 | [
"MIT"
] | 5 | 2019-08-08T18:32:09.000Z | 2021-06-03T14:43:14.000Z | ciri/abstract.py | patrick-ryan/ciri | f11f198a26465db513694f4c94e90e5ea6773ba7 | [
"MIT"
] | 18 | 2018-06-22T14:47:04.000Z | 2021-06-04T13:57:12.000Z | ciri/abstract.py | patrick-ryan/ciri | f11f198a26465db513694f4c94e90e5ea6773ba7 | [
"MIT"
] | 2 | 2019-07-19T16:06:39.000Z | 2021-06-02T17:26:17.000Z | # Type Definitions
AbstractField = type('AbstractField', (object,), {})
AbstractSchema = type('AbstractSchema', (object,), {})
AbstractPolySchema = type('AbstractPolySchema', (AbstractSchema,), {})
SchemaFieldDefault = type('SchemaFieldDefault', (object,), {})
SchemaFieldMissing = type('SchemaFieldMissing', (object,), ... | 47.625 | 70 | 0.721785 | 26 | 381 | 10.576923 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086614 | 381 | 7 | 71 | 54.428571 | 0.79023 | 0.041995 | 0 | 0 | 0 | 0 | 0.264463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a98241a9b27fa9483f63e5b17bbc82d42115ba4 | 261 | py | Python | util/page_object.py | kenoc1/BI2-backend | d3c7dc23da2bb741e20ec8e69164250a694b223d | [
"MIT"
] | 1 | 2022-01-25T13:27:48.000Z | 2022-01-25T13:27:48.000Z | util/page_object.py | kenoc1/BI2-backend | d3c7dc23da2bb741e20ec8e69164250a694b223d | [
"MIT"
] | 1 | 2022-03-01T08:27:41.000Z | 2022-03-08T09:39:22.000Z | util/page_object.py | kenoc1/BI2-backend | d3c7dc23da2bb741e20ec8e69164250a694b223d | [
"MIT"
] | null | null | null | class Page_object:
objects = []
total_page_number = None
current_page = None
def __init__(self, page, page_number):
self.objects = page.object_list
self.total_page_number = page_number
self.current_page = page.number
| 20.076923 | 44 | 0.666667 | 33 | 261 | 4.848485 | 0.363636 | 0.3125 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260536 | 261 | 12 | 45 | 21.75 | 0.829016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.625 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9aab8098d90a59a7b8e865f8f74065370d2b83d5 | 262 | py | Python | src/publicholiday/services.py | ApetEat/Public-Holidays-API | 01fb19a1c2d48fa572bf42eae3712e417e32643c | [
"Apache-2.0"
] | null | null | null | src/publicholiday/services.py | ApetEat/Public-Holidays-API | 01fb19a1c2d48fa572bf42eae3712e417e32643c | [
"Apache-2.0"
] | null | null | null | src/publicholiday/services.py | ApetEat/Public-Holidays-API | 01fb19a1c2d48fa572bf42eae3712e417e32643c | [
"Apache-2.0"
] | 1 | 2018-02-06T19:19:17.000Z | 2018-02-06T19:19:17.000Z |
class DateConverter(object):
regex = '(20[1-9]{2})[-/.](0?[1-9]|1[0-2])[-/.](0?[1-9]|1[0-9]|2[0-9]|3[0-1])'
def to_python(self, value):
return int(value)
def to_url(self, value):
return '%d/%d/%d' % (value[1], value[2], value[3])
| 23.818182 | 82 | 0.503817 | 49 | 262 | 2.653061 | 0.387755 | 0.046154 | 0.046154 | 0.061538 | 0.092308 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0.123223 | 0.194656 | 262 | 10 | 83 | 26.2 | 0.492891 | 0 | 0 | 0 | 0 | 0.166667 | 0.292308 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 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 | 0 | 0 | 0 | 3 |
9ab3591c79086f19e7adfc0d86ef525d8b5147f9 | 291 | py | Python | GUI Project/Filehandler.py | PiecePaperCode/Projekt | 524996cdb9fa08e6e83c289dd124c49e35886820 | [
"MIT"
] | null | null | null | GUI Project/Filehandler.py | PiecePaperCode/Projekt | 524996cdb9fa08e6e83c289dd124c49e35886820 | [
"MIT"
] | null | null | null | GUI Project/Filehandler.py | PiecePaperCode/Projekt | 524996cdb9fa08e6e83c289dd124c49e35886820 | [
"MIT"
] | null | null | null | import os
from pathlib import Path
Basisroutine = Path(os.path.dirname(__file__)) / 'Basisroutine.txt'
def read_Basisroutine():
with open(Basisroutine) as file:
return file.read()
def write_Basisroutine(text):
with open(Basisroutine, 'w') as file:
file.write(text) | 24.25 | 67 | 0.707904 | 38 | 291 | 5.263158 | 0.473684 | 0.08 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182131 | 291 | 12 | 68 | 24.25 | 0.840336 | 0 | 0 | 0 | 0 | 0 | 0.058219 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9aef91db1c8b26dbe79c27a1117a072dab204646 | 161 | py | Python | TFC/testapi.py | Jemena/TFC | 4d25370084b9d08e989b8a3642ba036fc6f27212 | [
"MIT"
] | null | null | null | TFC/testapi.py | Jemena/TFC | 4d25370084b9d08e989b8a3642ba036fc6f27212 | [
"MIT"
] | null | null | null | TFC/testapi.py | Jemena/TFC | 4d25370084b9d08e989b8a3642ba036fc6f27212 | [
"MIT"
] | null | null | null | import requests
import json
url = 'http://127.0.0.1:5000/'
response = requests.get(url)
#response = requests.post(url)
print(response)
print(response.json()) | 14.636364 | 30 | 0.720497 | 24 | 161 | 4.833333 | 0.541667 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06993 | 0.111801 | 161 | 11 | 31 | 14.636364 | 0.741259 | 0.180124 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9af4ab831640f55bdc1c768cfb79acc31a359694 | 145 | py | Python | kissofdm.py | devang/OFDM | 95e585ae93dd0c429d58ea15df7776ec4dc3369f | [
"MIT"
] | 1 | 2021-03-06T07:00:40.000Z | 2021-03-06T07:00:40.000Z | kissofdm.py | devang/OFDM | 95e585ae93dd0c429d58ea15df7776ec4dc3369f | [
"MIT"
] | null | null | null | kissofdm.py | devang/OFDM | 95e585ae93dd0c429d58ea15df7776ec4dc3369f | [
"MIT"
] | null | null | null | # this module will be imported in the into your flowgraph
OFDM_frame_length = 80 # fft_len
N = 64 # fft_len+(fft_len/5)
M = OFDM_frame_length
| 24.166667 | 57 | 0.744828 | 27 | 145 | 3.740741 | 0.740741 | 0.178218 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042373 | 0.186207 | 145 | 5 | 58 | 29 | 0.813559 | 0.572414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b1007869d36ffcffd145174c3d34848e063c01bf | 65 | py | Python | lifelines/version.py | jstoxrocky/lifelines | 2b457c824a3d9e2a3defa8fcb23da838a03c9100 | [
"MIT"
] | null | null | null | lifelines/version.py | jstoxrocky/lifelines | 2b457c824a3d9e2a3defa8fcb23da838a03c9100 | [
"MIT"
] | null | null | null | lifelines/version.py | jstoxrocky/lifelines | 2b457c824a3d9e2a3defa8fcb23da838a03c9100 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
__version__ = '0.8.0.1'
| 16.25 | 39 | 0.784615 | 10 | 65 | 4.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0.123077 | 65 | 3 | 40 | 21.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b1176f7d332431d0ff7e93093c86edfd9f685405 | 711 | py | Python | app/http/controllers/ControllerTest.py | Abeautifulsnow/masonite | f0ebb5ca05f5d88f21264e1cd0934435bd0a8791 | [
"MIT"
] | 1 | 2022-02-24T06:21:18.000Z | 2022-02-24T06:21:18.000Z | app/http/controllers/ControllerTest.py | Abeautifulsnow/masonite | f0ebb5ca05f5d88f21264e1cd0934435bd0a8791 | [
"MIT"
] | 1 | 2020-10-26T12:33:05.000Z | 2020-10-26T12:33:05.000Z | app/http/controllers/ControllerTest.py | Abeautifulsnow/masonite | f0ebb5ca05f5d88f21264e1cd0934435bd0a8791 | [
"MIT"
] | null | null | null | from src.masonite.request import Request
from src.masonite.view import View
class ControllerTest:
def __init__(self, request: Request):
self.request = request
def show(self):
return self.request
def test(self):
return 'test'
def returns_a_view(self, view: View):
ret... | 21.545455 | 54 | 0.634318 | 92 | 711 | 4.771739 | 0.282609 | 0.225513 | 0.154897 | 0.095672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001923 | 0.268636 | 711 | 32 | 55 | 22.21875 | 0.842308 | 0 | 0 | 0.227273 | 0 | 0 | 0.018284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0.227273 | 0.818182 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
b13ad6c86872abfb3010cffddd381bb7519a5fbf | 3,880 | py | Python | L1Trigger/L1TTrackMatch/python/L1TrackerEtMissProducer_cfi.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2021-11-30T16:24:46.000Z | 2021-11-30T16:24:46.000Z | L1Trigger/L1TTrackMatch/python/L1TrackerEtMissProducer_cfi.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 4 | 2021-11-29T13:57:56.000Z | 2022-03-29T06:28:36.000Z | L1Trigger/L1TTrackMatch/python/L1TrackerEtMissProducer_cfi.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2021-11-30T16:16:05.000Z | 2021-11-30T16:16:05.000Z | import FWCore.ParameterSet.Config as cms
from L1Trigger.VertexFinder.VertexProducer_cff import VertexProducer
L1TrackerEtMiss = cms.EDProducer('L1TrackerEtMissProducer',
L1TrackInputTag = cms.InputTag("TTTracksFromTrackletEmulation", "Level1TTTracks"),
L1VertexInputTag = cms.InputTag("VertexProducer", VertexPr... | 71.851852 | 110 | 0.639175 | 489 | 3,880 | 5.06953 | 0.243354 | 0.058088 | 0.038725 | 0.053247 | 0.765228 | 0.740621 | 0.723679 | 0.687374 | 0.687374 | 0.649455 | 0 | 0.051049 | 0.262887 | 3,880 | 53 | 111 | 73.207547 | 0.815734 | 0.386082 | 0 | 0.465116 | 0 | 0 | 0.094283 | 0.057594 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046512 | 0 | 0.046512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b13e94b4438f73055adcddf25912666ad6090be7 | 456 | py | Python | symptoms/admin.py | sjsafranek/symptom_tracker | 2e7d9ff3ed946ebbf18b366bbe79deb3b3c94a5c | [
"MIT"
] | null | null | null | symptoms/admin.py | sjsafranek/symptom_tracker | 2e7d9ff3ed946ebbf18b366bbe79deb3b3c94a5c | [
"MIT"
] | null | null | null | symptoms/admin.py | sjsafranek/symptom_tracker | 2e7d9ff3ed946ebbf18b366bbe79deb3b3c94a5c | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.Agency)
admin.site.register(models.Therapist)
admin.site.register(models.Client)
admin.site.register(models.ClientSymptom)
admin.site.register(models.Session)
admin.site.register(models.SymptomScore)
# from guardian.admin import Guard... | 24 | 61 | 0.811404 | 53 | 456 | 6.981132 | 0.358491 | 0.17027 | 0.321622 | 0.435135 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 456 | 18 | 62 | 25.333333 | 0.885167 | 0.344298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b1402d775788b75954223d0c6fcfbc6ec6d3301a | 209 | py | Python | Maya/cicd/python/libMayaExtended/setup.py | Mu-L/Exporters | 235ad02230791351d7a0440d9568641d28e2e77e | [
"Apache-2.0"
] | 445 | 2017-10-18T01:54:00.000Z | 2022-03-31T16:27:54.000Z | Maya/cicd/python/libMayaExtended/setup.py | Mu-L/Exporters | 235ad02230791351d7a0440d9568641d28e2e77e | [
"Apache-2.0"
] | 646 | 2017-10-16T00:46:17.000Z | 2022-03-31T17:40:36.000Z | Maya/cicd/python/libMayaExtended/setup.py | Mu-L/Exporters | 235ad02230791351d7a0440d9568641d28e2e77e | [
"Apache-2.0"
] | 313 | 2017-10-15T09:20:45.000Z | 2022-03-31T09:11:34.000Z | from distutils.core import setup
setup(
name='libMayaExtended',
version='0.1',
author='Robert Durnin',
description='Wrapper scripts for maya python modules',
packages=['libMayaExtended']
) | 23.222222 | 58 | 0.703349 | 23 | 209 | 6.391304 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.177033 | 209 | 9 | 59 | 23.222222 | 0.843023 | 0 | 0 | 0 | 0 | 0 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b151785b19e08411a938ae6372b0bd901960c309 | 13,207 | py | Python | tests/test_client.py | jurieotto/ksql-python | 29238e293fd19f32ccc8c0aa3760a6400ba98b4e | [
"MIT"
] | null | null | null | tests/test_client.py | jurieotto/ksql-python | 29238e293fd19f32ccc8c0aa3760a6400ba98b4e | [
"MIT"
] | null | null | null | tests/test_client.py | jurieotto/ksql-python | 29238e293fd19f32ccc8c0aa3760a6400ba98b4e | [
"MIT"
] | null | null | null | import json
import unittest
import requests
from copy import copy
import telnetlib
from confluent_kafka import Producer, Consumer
import vcr
import ksql
from ksql import KSQLAPI
from ksql import SQLBuilder
from ksql.errors import CreateError
def check_kafka_available(bootstrap_servers):
host, port = bootstrap_... | 43.731788 | 110 | 0.560157 | 1,323 | 13,207 | 5.222978 | 0.100529 | 0.063676 | 0.043271 | 0.036469 | 0.783647 | 0.745007 | 0.722287 | 0.692475 | 0.678582 | 0.654269 | 0 | 0.003788 | 0.360339 | 13,207 | 301 | 111 | 43.877076 | 0.814157 | 0.009616 | 0 | 0.626556 | 0 | 0 | 0.17887 | 0.098214 | 0 | 0 | 0 | 0 | 0.070539 | 1 | 0.078838 | false | 0.020747 | 0.045643 | 0 | 0.136929 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b159af94282245365d5a9d0b98ea27be9b7c7267 | 288 | py | Python | pychoir/__version__.py | kajaste/pychoir | 4c2498943c5d00b090dc4605735db2757d4bae7f | [
"MIT"
] | 12 | 2020-12-09T00:15:04.000Z | 2022-02-27T16:39:15.000Z | pychoir/__version__.py | Kajaste/pychoir | 55cd93f8651b6504f6f4b2cf3e328e4ab77517c2 | [
"MIT"
] | 1 | 2021-01-09T23:01:03.000Z | 2021-01-15T00:39:48.000Z | pychoir/__version__.py | Kajaste/pychoir | 55cd93f8651b6504f6f4b2cf3e328e4ab77517c2 | [
"MIT"
] | 2 | 2021-06-01T12:17:12.000Z | 2021-06-22T00:55:12.000Z | # type: ignore
from typing import Optional
_DUMMY_VERSION = '0.0.0-test'
def version_from_package() -> Optional[str]:
try:
from ._version import version
return version
except ImportError:
return None
version = version_from_package() or _DUMMY_VERSION
| 18 | 50 | 0.694444 | 36 | 288 | 5.305556 | 0.527778 | 0.125654 | 0.188482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013575 | 0.232639 | 288 | 15 | 51 | 19.2 | 0.850679 | 0.041667 | 0 | 0 | 0 | 0 | 0.036496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b1655d305716f0dd15c1f97f682659d2ee68dfb0 | 112 | py | Python | job-queue-portal/postgres_django_queue/djangoenv/lib/python3.8/site-packages/_generics/defended.py | Sruthi-Ganesh/postgres-django-queue | 4ea8412c073ff8ceb0efbac48afc29456ae11346 | [
"Apache-2.0"
] | 6 | 2020-09-09T07:35:49.000Z | 2021-10-07T12:49:38.000Z | job-queue-portal/postgres_django_queue/djangoenv/lib/python3.8/site-packages/_generics/defended.py | Sruthi-Ganesh/postgres-django-queue | 4ea8412c073ff8ceb0efbac48afc29456ae11346 | [
"Apache-2.0"
] | 219 | 2020-06-17T20:33:13.000Z | 2021-08-18T13:41:43.000Z | job-queue-portal/postgres_django_queue/djangoenv/lib/python3.8/site-packages/_generics/defended.py | Sruthi-Ganesh/postgres-django-queue | 4ea8412c073ff8ceb0efbac48afc29456ae11346 | [
"Apache-2.0"
] | null | null | null | def defended(cls):
"""Create class validating constructor arguments based on their usage."""
return cls
| 28 | 77 | 0.723214 | 14 | 112 | 5.785714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 112 | 3 | 78 | 37.333333 | 0.89011 | 0.598214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4922d87fae2e5952e7ac467d5cbba269c7a6c196 | 699 | py | Python | appScripts.py | rdclif/GCloud-WebProject | 5e548cce536ed71ae5f0a1641c95e9ce3b08a912 | [
"CNRI-Python"
] | null | null | null | appScripts.py | rdclif/GCloud-WebProject | 5e548cce536ed71ae5f0a1641c95e9ce3b08a912 | [
"CNRI-Python"
] | null | null | null | appScripts.py | rdclif/GCloud-WebProject | 5e548cce536ed71ae5f0a1641c95e9ce3b08a912 | [
"CNRI-Python"
] | null | null | null | import uuid
import socket
# generate ID
def idGen():
nid = str(uuid.uuid4())
nid = nid[:6]
return nid
# bad request
def badRequest(self):
self.response.clear()
self.response.set_status(400)
self.response.out.write('Bad Request')
# forbidden request
def forbidRequest(self):
self.respons... | 17.923077 | 55 | 0.660944 | 93 | 699 | 4.913978 | 0.494624 | 0.157549 | 0.070022 | 0.091904 | 0.183807 | 0.183807 | 0.183807 | 0.183807 | 0 | 0 | 0 | 0.03125 | 0.221745 | 699 | 39 | 56 | 17.923077 | 0.808824 | 0.125894 | 0 | 0.083333 | 1 | 0 | 0.066225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.083333 | 0.541667 | 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 | 0 | 1 | 0 | 0 | 3 |
49422a2446736e811957b08d9e2c90a30d556418 | 440 | py | Python | 10 Days of Statistics/Normal Distribution II.py | adi-797/10-Days-of-Statistics-Hackerrank | f603db45ad1485fdcac5488557f51a793d950b54 | [
"MIT"
] | 2 | 2018-08-29T13:51:11.000Z | 2018-08-31T17:06:38.000Z | 10 Days of Statistics/Normal Distribution II.py | adi-797/10-Days-of-Statistics-Hackerrank | f603db45ad1485fdcac5488557f51a793d950b54 | [
"MIT"
] | null | null | null | 10 Days of Statistics/Normal Distribution II.py | adi-797/10-Days-of-Statistics-Hackerrank | f603db45ad1485fdcac5488557f51a793d950b54 | [
"MIT"
] | null | null | null | # Enter your code here. Read input from STDIN. Print output to STDOUT.
import math
def normal(x, mu, sigma):
return 0.500 * ( 1 + math.erf( (x - mu) / ( sigma * math.sqrt(2) ) ) )
mu = 70.000
sigma = 10.000
x = 80.000
y = 60.000
pB = normal(100, mu, sigma) - normal(x, mu, sigma)
print "%.3f" % (pB*100)
pB = n... | 20 | 74 | 0.593182 | 78 | 440 | 3.346154 | 0.461538 | 0.187739 | 0.091954 | 0.16092 | 0.413793 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0.127536 | 0.215909 | 440 | 21 | 75 | 20.952381 | 0.628986 | 0.154545 | 0 | 0.153846 | 0 | 0 | 0.032432 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | null | null | 0 | 0.076923 | null | null | 0.230769 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4952faf4b52b9aa02c35033bad7120577a0300af | 138 | py | Python | service2/application/__init__.py | Ashley-Edge/DnD_character_generator | 7804b2cbc9def9fad8993ba8af0ae4c94da01c01 | [
"MIT"
] | 1 | 2021-04-21T10:59:45.000Z | 2021-04-21T10:59:45.000Z | service2/application/__init__.py | Ashley-Edge/DnD_character_generator | 7804b2cbc9def9fad8993ba8af0ae4c94da01c01 | [
"MIT"
] | null | null | null | service2/application/__init__.py | Ashley-Edge/DnD_character_generator | 7804b2cbc9def9fad8993ba8af0ae4c94da01c01 | [
"MIT"
] | 1 | 2021-04-21T10:59:48.000Z | 2021-04-21T10:59:48.000Z | #!/usr/bin/python3
# __init__.py file
from flask import Flask
app = Flask(__name__)
from application import routes
| 15.333333 | 36 | 0.652174 | 17 | 138 | 4.823529 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.275362 | 138 | 8 | 37 | 17.25 | 0.81 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
495e842e3e2d62e986aac8e1ff0b7ba772201f93 | 425 | py | Python | PyRssReader/outputter/outputwriterinterface.py | mohi/PyRssReader | 9c1b07fa7574af9acd827946702e69e0ab2c5fab | [
"MIT"
] | 4 | 2021-05-24T12:10:12.000Z | 2021-08-04T14:29:47.000Z | PyRssReader/outputter/outputwriterinterface.py | mohi/PyRssReader | 9c1b07fa7574af9acd827946702e69e0ab2c5fab | [
"MIT"
] | null | null | null | PyRssReader/outputter/outputwriterinterface.py | mohi/PyRssReader | 9c1b07fa7574af9acd827946702e69e0ab2c5fab | [
"MIT"
] | null | null | null | import abc
class OutputWriterInterface(metaclass=abc.ABCMeta):
"""
Defines interface for specification to write outputs
"""
@classmethod
def __subclasshook__(cls, subclass):
return ((hasattr(subclass, 'write') and callable(subclass.write))
or NotImplemented)
@abc.abstr... | 25 | 73 | 0.663529 | 40 | 425 | 6.95 | 0.75 | 0.093525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244706 | 425 | 16 | 74 | 26.5625 | 0.866044 | 0.183529 | 0 | 0 | 0 | 0 | 0.015337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4967d2f4ac93f2734b52a536e5463296f3712535 | 445 | py | Python | mymoney/core/tests/utils/test_l10n.py | ychab/mymoney | 9ee665d40648fd0b95f6e90d82ccf2bfc791e8af | [
"BSD-3-Clause"
] | 67 | 2015-12-22T10:27:34.000Z | 2022-03-10T21:33:18.000Z | mymoney/core/tests/utils/test_l10n.py | clebercarmo/mymoney | 9ee665d40648fd0b95f6e90d82ccf2bfc791e8af | [
"BSD-3-Clause"
] | null | null | null | mymoney/core/tests/utils/test_l10n.py | clebercarmo/mymoney | 9ee665d40648fd0b95f6e90d82ccf2bfc791e8af | [
"BSD-3-Clause"
] | 35 | 2016-08-07T11:43:51.000Z | 2022-02-21T21:20:06.000Z | from django.test import SimpleTestCase
from ...utils.l10n import get_language_upper
class UtilsTestCase(SimpleTestCase):
def test_language_upper(self):
with self.settings(LANGUAGE_CODE='fr'):
self.assertEqual(get_language_upper(), 'fr')
with self.settings(LANGUAGE_CODE='fr-fr'):
... | 27.8125 | 66 | 0.68764 | 55 | 445 | 5.345455 | 0.381818 | 0.221088 | 0.217687 | 0.204082 | 0.547619 | 0.547619 | 0.357143 | 0 | 0 | 0 | 0 | 0.00554 | 0.188764 | 445 | 15 | 67 | 29.666667 | 0.808864 | 0 | 0 | 0 | 0 | 0 | 0.053933 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.111111 | false | 0 | 0.222222 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
496b67ea1efa28695354671244b40a64d005aa93 | 45 | py | Python | src/external/config/__init__.py | atonlife/aTeam | fac686c3a746e80f1978fee72d1c0c346f620f85 | [
"Apache-2.0"
] | null | null | null | src/external/config/__init__.py | atonlife/aTeam | fac686c3a746e80f1978fee72d1c0c346f620f85 | [
"Apache-2.0"
] | 1 | 2021-04-09T07:20:04.000Z | 2021-04-23T08:18:39.000Z | src/external/config/__init__.py | atonlife/ateam | fac686c3a746e80f1978fee72d1c0c346f620f85 | [
"Apache-2.0"
] | null | null | null | __all__ = [
'connect',
'metadata',
]
| 9 | 15 | 0.488889 | 3 | 45 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.311111 | 45 | 4 | 16 | 11.25 | 0.580645 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
49746e96bc8272cf85a790bb6c8dd0a8cc1e4cc3 | 1,232 | py | Python | setup.py | NyanKiyoshi/django-positions | 82293094e445b2733e89bcdf6ba1c4316918fac6 | [
"BSD-3-Clause"
] | null | null | null | setup.py | NyanKiyoshi/django-positions | 82293094e445b2733e89bcdf6ba1c4316918fac6 | [
"BSD-3-Clause"
] | null | null | null | setup.py | NyanKiyoshi/django-positions | 82293094e445b2733e89bcdf6ba1c4316918fac6 | [
"BSD-3-Clause"
] | 1 | 2018-10-27T16:47:44.000Z | 2018-10-27T16:47:44.000Z | from setuptools import setup, find_packages
setup(
name='django-positions-2',
version='0.6.0rc0',
description='A Django field for custom model ordering',
author='Joel Watts',
author_email='joel@joelwatts.com',
maintainer='NyanKiyoshi',
maintainer_email='hello@vanille.bid',
url='https:/... | 33.297297 | 59 | 0.595779 | 128 | 1,232 | 5.671875 | 0.578125 | 0.157025 | 0.206612 | 0.179063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030468 | 0.254058 | 1,232 | 36 | 60 | 34.222222 | 0.759521 | 0 | 0 | 0.057143 | 0 | 0 | 0.565747 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.028571 | 0 | 0.028571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
498cedc1637f2bd861875d8f19e503fe5c3facf2 | 244 | py | Python | ExerciciosPython/Desafios/desafio038.py | xaviergthiago/PycharmProjects | 191e645223036fa800b32102f37e182eabe0e35c | [
"MIT"
] | null | null | null | ExerciciosPython/Desafios/desafio038.py | xaviergthiago/PycharmProjects | 191e645223036fa800b32102f37e182eabe0e35c | [
"MIT"
] | null | null | null | ExerciciosPython/Desafios/desafio038.py | xaviergthiago/PycharmProjects | 191e645223036fa800b32102f37e182eabe0e35c | [
"MIT"
] | null | null | null | a=(int(input('Digite um número: ')))
b=(int(input('Digite um número: ')))
if a>b:
print('O primeiro número é maior: {}' .format(a))
elif b>a:
print('O segundo número é maior: {}' .format(b))
else:
print('Os dois números são iguais') | 30.5 | 53 | 0.622951 | 41 | 244 | 3.707317 | 0.536585 | 0.105263 | 0.184211 | 0.210526 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17623 | 244 | 8 | 54 | 30.5 | 0.756219 | 0 | 0 | 0 | 0 | 0 | 0.485714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
498dfe060752eda4071f8a8ee1dc01a568c3ccf5 | 674 | py | Python | backend/pokemon/migrations/0001_initial.py | DeborahAlmeida/pokebattle | c8cf741eaca2372cd3aca02709c65b12e237fe11 | [
"MIT"
] | null | null | null | backend/pokemon/migrations/0001_initial.py | DeborahAlmeida/pokebattle | c8cf741eaca2372cd3aca02709c65b12e237fe11 | [
"MIT"
] | 5 | 2021-04-08T17:52:40.000Z | 2021-08-16T13:46:15.000Z | backend/pokemon/migrations/0001_initial.py | DeborahAlmeida/pokebattle | c8cf741eaca2372cd3aca02709c65b12e237fe11 | [
"MIT"
] | null | null | null | # Generated by Django 3.2 on 2021-05-04 19:01
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Pokemon',
fields=[
('id', models.AutoField(pr... | 26.96 | 76 | 0.563798 | 70 | 674 | 5.357143 | 0.571429 | 0.16 | 0.192 | 0.256 | 0.373333 | 0.373333 | 0.373333 | 0 | 0 | 0 | 0 | 0.055319 | 0.302671 | 674 | 24 | 77 | 28.083333 | 0.742553 | 0.063798 | 0 | 0 | 1 | 0 | 0.044515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
49942891386870fdde4e3612b653deab364ec627 | 237 | py | Python | SRC/Chapter_03-Structured-Data/02_dict_01.py | archeranimesh/HeadFirstPython | 8e0c84871328a6bf3a8d723341be56298440f29b | [
"MIT"
] | 1 | 2020-12-26T19:37:14.000Z | 2020-12-26T19:37:14.000Z | SRC/Chapter_03-Structured-Data/02_dict_01.py | archeranimesh/HeadFirstPython | 8e0c84871328a6bf3a8d723341be56298440f29b | [
"MIT"
] | null | null | null | SRC/Chapter_03-Structured-Data/02_dict_01.py | archeranimesh/HeadFirstPython | 8e0c84871328a6bf3a8d723341be56298440f29b | [
"MIT"
] | null | null | null | import pprint
person = {
"Name": "Ford Prefect",
"Gender": "Male",
"Occupation": "Researcher",
"Home Planet": "Betelgeuse Seven",
}
pprint.pprint(person)
print(person["Name"])
person["Age"] = 33
pprint.pprint(person)
| 14.8125 | 38 | 0.632911 | 26 | 237 | 5.769231 | 0.653846 | 0.24 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.181435 | 237 | 15 | 39 | 15.8 | 0.762887 | 0 | 0 | 0.181818 | 0 | 0 | 0.337553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0.363636 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
b8d54c592e78ac61a683385a6b88bb3dae31348f | 203 | py | Python | examples/using_freq_of_alt.py | akki2825/CorpusTools | ba236f55266eceb7e719fa36545985d8453953d3 | [
"BSD-3-Clause"
] | 97 | 2015-07-06T18:58:43.000Z | 2022-03-10T23:00:07.000Z | examples/using_freq_of_alt.py | akki2825/CorpusTools | ba236f55266eceb7e719fa36545985d8453953d3 | [
"BSD-3-Clause"
] | 443 | 2015-03-10T21:24:39.000Z | 2022-03-22T22:20:13.000Z | examples/using_freq_of_alt.py | akki2825/CorpusTools | ba236f55266eceb7e719fa36545985d8453953d3 | [
"BSD-3-Clause"
] | 22 | 2015-07-19T18:56:24.000Z | 2020-09-17T17:58:12.000Z | #!/usr/bin/env python
import freq_of_alt
freq = freq_of_alt.Freqor('iphod', 4000)
freq.calc_freq_of_alt('s', 'ʃ', 'khorsi', 'transcription', 'type', 'ess_esh_alt_with_min_pairs_1000.txt', -5, 20, 1, 1) | 33.833333 | 119 | 0.719212 | 37 | 203 | 3.594595 | 0.72973 | 0.135338 | 0.203008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070652 | 0.093596 | 203 | 6 | 119 | 33.833333 | 0.652174 | 0.098522 | 0 | 0 | 0 | 0 | 0.355191 | 0.191257 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 3 |
b8d99a261441c2c980df352ace5abe961750c662 | 41,819 | py | Python | test/test_keycode.py | pyokagan/pycsdl2 | 4bd77699d753e53dc01f3f488f924e3262a3bd26 | [
"Zlib"
] | null | null | null | test/test_keycode.py | pyokagan/pycsdl2 | 4bd77699d753e53dc01f3f488f924e3262a3bd26 | [
"Zlib"
] | null | null | null | test/test_keycode.py | pyokagan/pycsdl2 | 4bd77699d753e53dc01f3f488f924e3262a3bd26 | [
"Zlib"
] | null | null | null | """test bindings in src/keycode.h"""
import distutils.util
import os.path
import sys
import unittest
tests_dir = os.path.dirname(os.path.abspath(__file__))
if __name__ == '__main__':
plat_specifier = 'lib.{0}-{1}'.format(distutils.util.get_platform(),
sys.version[0:3])
... | 36.175606 | 79 | 0.673522 | 5,504 | 41,819 | 4.724382 | 0.051054 | 0.140445 | 0.156905 | 0.192286 | 0.565127 | 0.313925 | 0.094989 | 0.005076 | 0.002615 | 0 | 0 | 0.011077 | 0.229346 | 41,819 | 1,155 | 80 | 36.206926 | 0.795768 | 0.003156 | 0 | 0.002255 | 0 | 0 | 0.004955 | 0.000598 | 0 | 0 | 0.001867 | 0 | 0.574972 | 1 | 0.287486 | false | 0 | 0.005637 | 0 | 0.295378 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b8ea3347972f6b075dc3884b90768b1bb0e75212 | 259 | py | Python | mk42/apps/core/models/__init__.py | vint21h/mk42 | 1574d1143ea829212203f2be0b11b44de1e7c722 | [
"WTFPL"
] | 5 | 2017-06-18T17:04:49.000Z | 2017-11-02T11:44:36.000Z | mk42/apps/core/models/__init__.py | vint21h/mk42 | 1574d1143ea829212203f2be0b11b44de1e7c722 | [
"WTFPL"
] | 13 | 2017-07-05T06:35:42.000Z | 2017-09-06T02:04:04.000Z | mk42/apps/core/models/__init__.py | vint21h/mk42 | 1574d1143ea829212203f2be0b11b44de1e7c722 | [
"WTFPL"
] | 10 | 2017-06-29T05:31:52.000Z | 2017-10-27T09:31:32.000Z | # -*- coding: utf-8 -*-
# mk42
# mk42/apps/core/models/__init__.py
from __future__ import unicode_literals
from mk42.apps.core.models.group import Group
from mk42.apps.core.models.membership import Membership
__all__ = [
"Group",
"Membership",
]
| 16.1875 | 55 | 0.718147 | 34 | 259 | 5.088235 | 0.5 | 0.138728 | 0.208092 | 0.312139 | 0.254335 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.15444 | 259 | 15 | 56 | 17.266667 | 0.748858 | 0.23166 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b8f5d0485a844e8c47f52fbbe604e0267be8b5a6 | 11,294 | py | Python | learning/tests/models/test_objective.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | learning/tests/models/test_objective.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | learning/tests/models/test_objective.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | #
# Copyright (C) 2020 Louis Barbier <louis.barbier@outlook.fr>
#
# This file is part of Koala LMS (Learning Management system)
# Koala LMS is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of ... | 52.046083 | 117 | 0.591907 | 1,160 | 11,294 | 5.600862 | 0.151724 | 0.028013 | 0.048022 | 0.073111 | 0.754348 | 0.721564 | 0.712944 | 0.674003 | 0.637987 | 0.635832 | 0 | 0.009974 | 0.325305 | 11,294 | 216 | 118 | 52.287037 | 0.842651 | 0.071542 | 0 | 0.490909 | 0 | 0 | 0.099073 | 0.004586 | 0 | 0 | 0 | 0 | 0.115152 | 1 | 0.078788 | false | 0 | 0.024242 | 0 | 0.127273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b8ff0d0d3074e5f8fc8f2406942c794a7c5520a0 | 1,377 | py | Python | tigerforecast/methods/registration.py | danielsuo/TigerForecast | ae18b169d96dd81db88ab27a8b055036845d3a8f | [
"Apache-2.0"
] | 1 | 2020-07-28T09:07:29.000Z | 2020-07-28T09:07:29.000Z | tigerforecast/methods/registration.py | danielsuo/TigerForecast | ae18b169d96dd81db88ab27a8b055036845d3a8f | [
"Apache-2.0"
] | null | null | null | tigerforecast/methods/registration.py | danielsuo/TigerForecast | ae18b169d96dd81db88ab27a8b055036845d3a8f | [
"Apache-2.0"
] | 1 | 2021-04-12T22:39:26.000Z | 2021-04-12T22:39:26.000Z | import re
import importlib
import warnings
from tigerforecast import error
from tigerforecast.utils import Spec, Registry
import copy
# This format is true today, but it's *not* an official spec.
# [username/](method-name) - Note: Method name must start with a capital letter!
method_id_re = re.compile(r'^(?:[\w:-]+\/... | 27 | 104 | 0.696442 | 188 | 1,377 | 4.994681 | 0.441489 | 0.089457 | 0.063898 | 0.034079 | 0.138445 | 0.078807 | 0.078807 | 0 | 0 | 0 | 0 | 0 | 0.195352 | 1,377 | 50 | 105 | 27.54 | 0.847473 | 0.466231 | 0 | 0.1 | 0 | 0 | 0.132743 | 0.047198 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.3 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
770b4a92be258877a66e3a6885944e3b76a77eda | 116 | py | Python | api/service/notify.py | guisteglich/EasyPay | 378f03d16606516e1d1afed2de03cd95fcf7d3a0 | [
"MIT"
] | null | null | null | api/service/notify.py | guisteglich/EasyPay | 378f03d16606516e1d1afed2de03cd95fcf7d3a0 | [
"MIT"
] | null | null | null | api/service/notify.py | guisteglich/EasyPay | 378f03d16606516e1d1afed2de03cd95fcf7d3a0 | [
"MIT"
] | null | null | null | from urllib import response
import requests
r = requests.get('http://o4d9z.mocklab.io/notify')
response = r.json() | 19.333333 | 50 | 0.75 | 17 | 116 | 5.117647 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.112069 | 116 | 6 | 51 | 19.333333 | 0.825243 | 0 | 0 | 0 | 0 | 0 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
770da7fd863c0433cc1e91f506427ec1a515a54a | 933 | py | Python | hulk/broker/oanda/common/convertor.py | lorne-luo/hulk | de326ca1554dc743e225cef4e4b1e2fd4f5090c6 | [
"BSD-3-Clause"
] | null | null | null | hulk/broker/oanda/common/convertor.py | lorne-luo/hulk | de326ca1554dc743e225cef4e4b1e2fd4f5090c6 | [
"BSD-3-Clause"
] | null | null | null | hulk/broker/oanda/common/convertor.py | lorne-luo/hulk | de326ca1554dc743e225cef4e4b1e2fd4f5090c6 | [
"BSD-3-Clause"
] | 1 | 2021-09-10T17:54:16.000Z | 2021-09-10T17:54:16.000Z | from falcon.base.timeframe import (PERIOD_M1, PERIOD_M5, PERIOD_M15, PERIOD_M30, PERIOD_H1, PERIOD_H4, PERIOD_D1,
PERIOD_W1, PERIOD_MN1)
def get_symbol(symbol):
'''MT4 symbol to Oanda V20 symbol name'''
symbol = symbol.replace("/", "_").upper()
if '_' not in symbol:
... | 27.441176 | 113 | 0.601286 | 111 | 933 | 4.837838 | 0.306306 | 0.251397 | 0.283054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054463 | 0.291533 | 933 | 33 | 114 | 28.272727 | 0.757943 | 0.037513 | 0 | 0 | 0 | 0 | 0.024664 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.037037 | 0 | 0.555556 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7738c42039712ce8c8a4ad814bd1763a2e5da20b | 325 | py | Python | Misc/dont-be-so-brutal/crypto/urls.py | IEEE-VIT/IEEE-CTF-Questions | eb33b4ba0beeaaa0bf2708dbacf7c7a5c040cbea | [
"MIT"
] | 9 | 2021-04-05T18:29:01.000Z | 2022-03-23T13:22:01.000Z | Misc/dont-be-so-brutal/crypto/urls.py | IEEE-VIT/IEEE-CTF-Questions | eb33b4ba0beeaaa0bf2708dbacf7c7a5c040cbea | [
"MIT"
] | 11 | 2021-06-05T00:09:11.000Z | 2022-03-31T01:50:45.000Z | Misc/dont-be-so-brutal/crypto/urls.py | IEEE-VIT/IEEE-CTF-Questions | eb33b4ba0beeaaa0bf2708dbacf7c7a5c040cbea | [
"MIT"
] | 3 | 2021-05-06T11:43:17.000Z | 2021-10-30T20:18:42.000Z |
from django.contrib import admin
from django.urls import path,include
from django.conf.urls.static import static
from django.conf import settings
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from . import views
urlpatterns = [
path('admin/', admin.site.urls),
path('',include('ctf.urls')... | 25 | 67 | 0.769231 | 44 | 325 | 5.659091 | 0.363636 | 0.200803 | 0.136546 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126154 | 325 | 12 | 68 | 27.083333 | 0.876761 | 0 | 0 | 0 | 0 | 0 | 0.04321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
773a260bf0afc07f1a7b87edd9f54e2bff7d2e36 | 722 | py | Python | twindb_backup/configuration/destinations/gcs.py | ardabeyazoglu/twindb-mysql-backup | edfe785a59caa33adfdf822ba5a7601fd0136f32 | [
"Apache-2.0"
] | 1 | 2019-03-22T00:04:40.000Z | 2019-03-22T00:04:40.000Z | twindb_backup/configuration/destinations/gcs.py | ardabeyazoglu/twindb-mysql-backup | edfe785a59caa33adfdf822ba5a7601fd0136f32 | [
"Apache-2.0"
] | null | null | null | twindb_backup/configuration/destinations/gcs.py | ardabeyazoglu/twindb-mysql-backup | edfe785a59caa33adfdf822ba5a7601fd0136f32 | [
"Apache-2.0"
] | 1 | 2019-03-21T16:03:11.000Z | 2019-03-21T16:03:11.000Z | """Google Cloud Storage destination configuration"""
class GCSConfig(object):
"""Google Cloud Storage configuration."""
def __init__(self,
gc_credentials_file,
gc_encryption_key,
bucket):
self._gc_credentials_file = gc_credentials_file
self._... | 24.896552 | 55 | 0.631579 | 76 | 722 | 5.552632 | 0.263158 | 0.099526 | 0.241706 | 0.199052 | 0.21327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283934 | 722 | 28 | 56 | 25.785714 | 0.816248 | 0.18144 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0 | 0 | 0.470588 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
773af1653c5977773fedad4489aedf5b92822fba | 751 | py | Python | core/customization/refObject.py | qazbnm456/VWGen | 1a7cca50009c7f230f72c8eb2bd1b2ff70672905 | [
"Apache-2.0"
] | 85 | 2015-11-04T20:25:15.000Z | 2021-11-12T11:20:17.000Z | core/customization/refObject.py | qazbnm456/VWGen | 1a7cca50009c7f230f72c8eb2bd1b2ff70672905 | [
"Apache-2.0"
] | 2 | 2016-07-22T23:58:24.000Z | 2017-12-10T05:27:02.000Z | core/customization/refObject.py | qazbnm456/VWGen | 1a7cca50009c7f230f72c8eb2bd1b2ff70672905 | [
"Apache-2.0"
] | 19 | 2016-04-20T12:58:32.000Z | 2021-04-20T13:38:39.000Z | from __future__ import unicode_literals
from abc import ABCMeta, abstractmethod
from six import with_metaclass
class refObject(with_metaclass(ABCMeta, object)):
"""Base class for VWGen instance munipulations."""
def __init__(self, gen_instance):
self.gen_instance = gen_instance
self.gen_insta... | 31.291667 | 76 | 0.691079 | 93 | 751 | 5.322581 | 0.494624 | 0.177778 | 0.212121 | 0.20202 | 0.307071 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008432 | 0.210386 | 751 | 23 | 77 | 32.652174 | 0.826307 | 0.058589 | 0 | 0.235294 | 0 | 0 | 0.164051 | 0.038516 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0.117647 | 0.176471 | 0 | 0.411765 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
773e6ceb1c92794eaa3177eaf66f6fd68f9f3130 | 848 | py | Python | doc/CyberSecurity/Security_Principles/passwords/LockedFile2.py | tanducmai/.dotfiles | 13cad9bc7fcecff6108eb5df34635d4748712532 | [
"Unlicense"
] | null | null | null | doc/CyberSecurity/Security_Principles/passwords/LockedFile2.py | tanducmai/.dotfiles | 13cad9bc7fcecff6108eb5df34635d4748712532 | [
"Unlicense"
] | null | null | null | doc/CyberSecurity/Security_Principles/passwords/LockedFile2.py | tanducmai/.dotfiles | 13cad9bc7fcecff6108eb5df34635d4748712532 | [
"Unlicense"
] | null | null | null | import hashlib
msg = [84, 104, 101, 115, 101, 32, 112, 97, 115, 115, 119, 111, 114, 100, 115, 32, 97, 114, 101, 32, 103, 101, 116, 116, 105, 110, 103, 32, 104, 97, 114, 100, 101, 114, 46, 46, 46, 32, 73, 32, 97, 109, 32, 105, 109, 112, 114, 101, 115, 115, 101, 100, 32, 119, 105, 116, 104, 32, 121, 111, 117, 114, 32, 99... | 40.380952 | 404 | 0.589623 | 129 | 848 | 3.875969 | 0.372093 | 0.03 | 0.036 | 0.044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.391509 | 0.25 | 848 | 20 | 405 | 42.4 | 0.394654 | 0 | 0 | 0 | 0 | 0 | 0.079009 | 0.037736 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.466667 | 0.066667 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
77489b4ea5f10c09f70cc286652fc7c9329774a3 | 184 | py | Python | __init__.py | Sal0hc1n/Chain | 6ec96bb7be280932cb80c088c8263062922c9671 | [
"MIT"
] | null | null | null | __init__.py | Sal0hc1n/Chain | 6ec96bb7be280932cb80c088c8263062922c9671 | [
"MIT"
] | null | null | null | __init__.py | Sal0hc1n/Chain | 6ec96bb7be280932cb80c088c8263062922c9671 | [
"MIT"
] | null | null | null | '''
__init__.py
@author: Nicholas Sollazzo
@mail: sollsharp@gmail.com
@version: 1.0
@date: 28/06/17
@status: WRK
'''
from modules.CLI import CLI
if __name__ == '__main__':
CLI()
| 13.142857 | 27 | 0.679348 | 27 | 184 | 4.185185 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051613 | 0.157609 | 184 | 13 | 28 | 14.153846 | 0.677419 | 0.586957 | 0 | 0 | 0 | 0 | 0.117647 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
775110d345ffe80fa88c9c5114708a89bb912477 | 254 | py | Python | lib/vpsmate/__init__.py | doudoudzj/VPSMate-v1.0-b10 | 810ff70576bd26f579b1725f0239c5f7d79e2d26 | [
"Apache-2.0"
] | 1 | 2020-09-13T03:32:32.000Z | 2020-09-13T03:32:32.000Z | lib/vpsmate/__init__.py | doudoudzj/VPSMate-v1.0-b10 | 810ff70576bd26f579b1725f0239c5f7d79e2d26 | [
"Apache-2.0"
] | null | null | null | lib/vpsmate/__init__.py | doudoudzj/VPSMate-v1.0-b10 | 810ff70576bd26f579b1725f0239c5f7d79e2d26 | [
"Apache-2.0"
] | null | null | null | #-*- coding: utf-8 -*-
#
# Copyright (c) 2012, VPSMate development team
# All rights reserved.
#
# VPSMate is distributed under the terms of the (new) BSD License.
# The full license can be found in 'LICENSE.txt'.
"""The VPSMate web server and tools.""" | 28.222222 | 66 | 0.69685 | 38 | 254 | 4.657895 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.173228 | 254 | 9 | 67 | 28.222222 | 0.819048 | 0.92126 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
91f3f7173639b1ac5a68ae2101b76c3d2d02ac94 | 155 | py | Python | 09/02-lectura.py | nogand/py0122 | 05d8b00bb1b8018ae6e616599adf4ef07196121a | [
"CC0-1.0"
] | null | null | null | 09/02-lectura.py | nogand/py0122 | 05d8b00bb1b8018ae6e616599adf4ef07196121a | [
"CC0-1.0"
] | null | null | null | 09/02-lectura.py | nogand/py0122 | 05d8b00bb1b8018ae6e616599adf4ef07196121a | [
"CC0-1.0"
] | null | null | null | filename="/etc/passwd"
k=1
with open(filename, 'r') as fp:
for line in fp:
print("{0:03} {1}".format(k,line[:35].rstrip("\n")))
k+=1
| 19.375 | 61 | 0.529032 | 27 | 155 | 3.037037 | 0.740741 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 0.232258 | 155 | 7 | 62 | 22.142857 | 0.621849 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
91f436467444462091a8556f77db63c1ac5dc618 | 1,222 | py | Python | utils/threadsafe.py | Oushesh/SegCaps | cf33a4ff5514826e1d58409a7f7b3cd86b470591 | [
"Apache-2.0"
] | 65 | 2018-06-21T19:48:24.000Z | 2021-07-24T09:33:18.000Z | utils/threadsafe.py | Oushesh/SegCaps | cf33a4ff5514826e1d58409a7f7b3cd86b470591 | [
"Apache-2.0"
] | 24 | 2018-07-23T13:45:13.000Z | 2021-10-02T05:49:58.000Z | utils/threadsafe.py | Oushesh/SegCaps | cf33a4ff5514826e1d58409a7f7b3cd86b470591 | [
"Apache-2.0"
] | 32 | 2018-06-27T04:07:09.000Z | 2021-06-29T10:42:53.000Z | '''
Capsules for Object Segmentation (SegCaps)
Original Paper by Rodney LaLonde and Ulas Bagci (https://arxiv.org/abs/1804.04241)
Code written by: Rodney LaLonde
If you use significant portions of this code or the ideas from our paper, please cite it :)
If you have any questions, please email me at lalonde@knights.ucf.... | 30.55 | 91 | 0.705401 | 179 | 1,222 | 4.709497 | 0.608939 | 0.021352 | 0.035587 | 0.03796 | 0.04745 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011411 | 0.211129 | 1,222 | 39 | 92 | 31.333333 | 0.863071 | 0.610475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0.071429 | 0.142857 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
62250da4f38b270c034f59753420b2a56aa23c68 | 472 | py | Python | basics/2.Symbol.2.Basic_Calc.py | YellowTulipShow/PythonScripts | 09bf756f08e6b66fe3b13206c3b972c3434e53ee | [
"Apache-2.0"
] | 1 | 2020-01-16T01:40:58.000Z | 2020-01-16T01:40:58.000Z | basics/2.Symbol.2.Basic_Calc.py | YellowTulipShow/PythonScripts | 09bf756f08e6b66fe3b13206c3b972c3434e53ee | [
"Apache-2.0"
] | null | null | null | basics/2.Symbol.2.Basic_Calc.py | YellowTulipShow/PythonScripts | 09bf756f08e6b66fe3b13206c3b972c3434e53ee | [
"Apache-2.0"
] | null | null | null | # coding: UTF-8
a = 6
b = 2
print("init value:")
print("a : {} | b : {}".format(a, b))
print("Arithmetic Symbol:")
print("a + b : {}".format(a + b)) #加 - 两个对象相加
print("a - b : {}".format(a - b)) #减 - 得到负数或是一个数减去另一个数
print("a * b : {}".format(a * b)) #乘 - 两个数相乘或是返回一个被重复若干次的字符串
print("a / b : {}".format(a / b)) #除 - x除... | 29.5 | 60 | 0.523305 | 75 | 472 | 3.293333 | 0.36 | 0.129555 | 0.226721 | 0.421053 | 0.48583 | 0.48583 | 0 | 0 | 0 | 0 | 0 | 0.007916 | 0.197034 | 472 | 15 | 61 | 31.466667 | 0.643799 | 0.237288 | 0 | 0 | 0 | 0 | 0.330484 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.833333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6229faf0984d87e8581c813647cc34de5ce33e72 | 454 | py | Python | lcarmq/exceptions.py | GianCarloMilanese/lcarmq | 93b12b1edb6e0cddcb8d30a56d9601eabe9f7320 | [
"MIT"
] | null | null | null | lcarmq/exceptions.py | GianCarloMilanese/lcarmq | 93b12b1edb6e0cddcb8d30a56d9601eabe9f7320 | [
"MIT"
] | null | null | null | lcarmq/exceptions.py | GianCarloMilanese/lcarmq | 93b12b1edb6e0cddcb8d30a56d9601eabe9f7320 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
Classes implementing custom exceptions.
"""
class NodeNameNotAllowed(Exception):
"""Exception raised if a node name of the input is not allowed.
An integer 'RESERVEDNODE' is reserved as the label of the root node in a tree/DAG.
"""
class NotATree(Exception):
"""Exception ... | 20.636364 | 86 | 0.685022 | 63 | 454 | 4.936508 | 0.555556 | 0.173633 | 0.231511 | 0.250804 | 0.270096 | 0.270096 | 0.270096 | 0.270096 | 0.270096 | 0 | 0 | 0.002801 | 0.213656 | 454 | 21 | 87 | 21.619048 | 0.868347 | 0.680617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
622bd2d3fb2495f28611f80cc76df52222df8fcc | 32 | py | Python | MainApp/web/views/__init__.py | praveenjindal62/medihome-flask | 0f23287e0ca3998398bd587779501aaf0aa52b4a | [
"MIT"
] | null | null | null | MainApp/web/views/__init__.py | praveenjindal62/medihome-flask | 0f23287e0ca3998398bd587779501aaf0aa52b4a | [
"MIT"
] | null | null | null | MainApp/web/views/__init__.py | praveenjindal62/medihome-flask | 0f23287e0ca3998398bd587779501aaf0aa52b4a | [
"MIT"
] | null | null | null | __all__=["MainView","AbortView"] | 32 | 32 | 0.75 | 3 | 32 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 32 | 1 | 32 | 32 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6231e3bc9b8506efa1ab46460d4e9a91479a6a07 | 1,248 | py | Python | python/src/main/python/pygw/store/__init__.py | Maxar-Corp/sh-geowave | 675781d3898b50c09ee66f57e74cf788286b05d5 | [
"Apache-2.0"
] | null | null | null | python/src/main/python/pygw/store/__init__.py | Maxar-Corp/sh-geowave | 675781d3898b50c09ee66f57e74cf788286b05d5 | [
"Apache-2.0"
] | null | null | null | python/src/main/python/pygw/store/__init__.py | Maxar-Corp/sh-geowave | 675781d3898b50c09ee66f57e74cf788286b05d5 | [
"Apache-2.0"
] | null | null | null | #
# Copyright (c) 2013-2020 Contributors to the Eclipse Foundation
#
# See the NOTICE file distributed with this work for additional information regarding copyright
# ownership. All rights reserved. This program and the accompanying materials are made available
# under the terms of the Apache License, Version 2.0 whic... | 52 | 407 | 0.748397 | 165 | 1,248 | 5.618182 | 0.545455 | 0.03452 | 0.056095 | 0.061489 | 0.032362 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011009 | 0.126603 | 1,248 | 23 | 408 | 54.26087 | 0.83945 | 0.873397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
623ea2a8d61a4a7ade25739c2dbad4dcace2117d | 5,558 | py | Python | geo/migrations/0001_initial.py | A-jha383/Charity_backend | 2f985dac9de41af80b593210e74bd1890022a435 | [
"MIT"
] | 1 | 2021-06-10T03:36:22.000Z | 2021-06-10T03:36:22.000Z | geo/migrations/0001_initial.py | A-jha383/Charity_backend | 2f985dac9de41af80b593210e74bd1890022a435 | [
"MIT"
] | null | null | null | geo/migrations/0001_initial.py | A-jha383/Charity_backend | 2f985dac9de41af80b593210e74bd1890022a435 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.1 on 2020-10-01 11:32
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name="Postcode",
fields=[
(
... | 51.943925 | 136 | 0.4552 | 509 | 5,558 | 4.903733 | 0.292731 | 0.126202 | 0.232372 | 0.278846 | 0.577324 | 0.577324 | 0.482372 | 0.454327 | 0.454327 | 0 | 0 | 0.025202 | 0.421734 | 5,558 | 106 | 137 | 52.433962 | 0.751089 | 0.008096 | 0 | 0.161616 | 1 | 0 | 0.137465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010101 | 0 | 0.050505 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6246e56a390d9aaac374054eb430e46fea0c4d21 | 3,243 | py | Python | python-exercises/braziliandocuments.py | forkd/jam | fd17bf5a961d5b52fc52988fea8787d48aaa140e | [
"MIT"
] | null | null | null | python-exercises/braziliandocuments.py | forkd/jam | fd17bf5a961d5b52fc52988fea8787d48aaa140e | [
"MIT"
] | null | null | null | python-exercises/braziliandocuments.py | forkd/jam | fd17bf5a961d5b52fc52988fea8787d48aaa140e | [
"MIT"
] | null | null | null | from modulus import *
# CPF
def check_cpf(cpf):
if cpf[9] == mod11(cpf[:9], 10) and cpf[10] == mod11(cpf[:10], 11):
return True
else:
return False
def generate_cpf(cpf):
cpf.append(mod11(cpf, 10))
cpf.append(mod11(cpf, 11))
return cpf
def format_cpf(cpf, flag=0... | 31.182692 | 78 | 0.374036 | 458 | 3,243 | 2.60262 | 0.085153 | 0.114094 | 0.15604 | 0.187919 | 0.569631 | 0.51594 | 0.493289 | 0.463087 | 0.401007 | 0.401007 | 0 | 0.107325 | 0.456984 | 3,243 | 104 | 79 | 31.182692 | 0.569563 | 0.072155 | 0 | 0.560606 | 1 | 0.090909 | 0.052017 | 0.052017 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.015152 | null | null | 0.030303 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
624aa5a3afec3e376fd18dbd120f1b8e5796473d | 234 | py | Python | src/python/qeqiskit/noise/__init__.py | zapatacomputing/qe-qisk | 7b0cb0ee7dfc2e93c6b7e0198bf9703c08943cf6 | [
"Apache-2.0"
] | 8 | 2020-10-06T13:54:36.000Z | 2022-03-03T23:22:31.000Z | src/python/qeqiskit/noise/__init__.py | zapatacomputing/qe-qisk | 7b0cb0ee7dfc2e93c6b7e0198bf9703c08943cf6 | [
"Apache-2.0"
] | 39 | 2020-11-26T14:46:52.000Z | 2022-03-31T12:39:09.000Z | src/python/qeqiskit/noise/__init__.py | zapatacomputing/qe-qisk | 7b0cb0ee7dfc2e93c6b7e0198bf9703c08943cf6 | [
"Apache-2.0"
] | 2 | 2021-01-14T22:26:46.000Z | 2021-09-30T13:40:59.000Z | from .basic import (
create_amplitude_damping_noise,
create_phase_and_amplitude_damping_error,
create_phase_damping_noise,
create_pta_channel,
get_kraus_matrices_from_ibm_noise_model,
get_qiskit_noise_model,
)
| 26 | 45 | 0.811966 | 31 | 234 | 5.419355 | 0.580645 | 0.190476 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149573 | 234 | 8 | 46 | 29.25 | 0.844221 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
626ba531ea31a12ee8e6aaf48502211b2d9bf954 | 104 | py | Python | ShopkeeperUI/apps.py | imsubhams/ProdCheck | bc85b273b465c758799a5956bb066feeb993b23f | [
"MIT"
] | null | null | null | ShopkeeperUI/apps.py | imsubhams/ProdCheck | bc85b273b465c758799a5956bb066feeb993b23f | [
"MIT"
] | 3 | 2019-10-06T11:45:58.000Z | 2019-10-14T07:41:03.000Z | ShopkeeperUI/apps.py | imsubhams/ProdCheck | bc85b273b465c758799a5956bb066feeb993b23f | [
"MIT"
] | 6 | 2019-10-06T12:19:06.000Z | 2019-10-08T13:02:49.000Z | from django.apps import AppConfig
class ShopkeeperuiConfig(AppConfig):
name = 'ShopkeeperUI'
| 17.333333 | 37 | 0.740385 | 10 | 104 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 104 | 5 | 38 | 20.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6270059123bdce6f359ce87416137c3bc26c40cf | 42 | py | Python | portal/__init__.py | dragetd/LambdaCast | a8227d8d19a2fdb1ff1d5e8ad7366d60a1e253f7 | [
"BSD-2-Clause"
] | 6 | 2015-04-05T01:28:23.000Z | 2022-02-06T17:29:47.000Z | portal/__init__.py | dragetd/LambdaCast | a8227d8d19a2fdb1ff1d5e8ad7366d60a1e253f7 | [
"BSD-2-Clause"
] | 2 | 2022-01-05T23:07:10.000Z | 2022-03-30T17:52:45.000Z | portal/__init__.py | dragetd/LambdaCast | a8227d8d19a2fdb1ff1d5e8ad7366d60a1e253f7 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T17:29:53.000Z | 2022-02-26T17:23:09.000Z | default_app_config = 'portal.apps.Portal'
| 21 | 41 | 0.809524 | 6 | 42 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
627299ced35fb202ebc41162ff52013781205c44 | 505 | py | Python | src/facade/python/test.py | oxnz/design-patterns | 6fe3b4e7a2f524a5c1ebac7f4d3eed0b0f955c59 | [
"MIT"
] | 117 | 2015-01-31T13:01:02.000Z | 2022-02-02T19:55:19.000Z | src/facade/python/test.py | addisonlynch/design-patterns | e9e0f6029ac427a8c81847e8df4a2720b03ce918 | [
"MIT"
] | 1 | 2018-01-10T13:06:51.000Z | 2018-01-10T13:06:51.000Z | src/facade/python/test.py | addisonlynch/design-patterns | e9e0f6029ac427a8c81847e8df4a2720b03ce918 | [
"MIT"
] | 34 | 2015-08-17T13:54:30.000Z | 2020-03-23T19:35:13.000Z | #coding: utf-8
class KillVirus:
def operation(self):
print "killing virus"
class ZipFile:
def operation(self):
print "zipping"
class EncryptFile:
def operation(self):
print "encrypting"
# Facade
class Filesys:
def __init__(self):
self._kv = KillVirus()
self._zf = ZipFile()
self._ef = EncryptFile()
... | 17.413793 | 57 | 0.687129 | 67 | 505 | 4.910448 | 0.492537 | 0.145897 | 0.194529 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002398 | 0.174257 | 505 | 28 | 58 | 18.035714 | 0.786571 | 0.039604 | 0 | 0.210526 | 0 | 0 | 0.086168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.157895 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
65633c0b965a678ce76f90f1863f59d7df492ac9 | 414 | py | Python | combination/scored_combination.py | leodenault/mhw_optimizer | 3478ea07361291c6fa0bbd9fc0b9906914321772 | [
"MIT"
] | null | null | null | combination/scored_combination.py | leodenault/mhw_optimizer | 3478ea07361291c6fa0bbd9fc0b9906914321772 | [
"MIT"
] | null | null | null | combination/scored_combination.py | leodenault/mhw_optimizer | 3478ea07361291c6fa0bbd9fc0b9906914321772 | [
"MIT"
] | 1 | 2020-03-31T01:51:56.000Z | 2020-03-31T01:51:56.000Z | from combination.data_structures import Comparable
from combination.equipment_combination import EquipmentCombination
class ScoredCombination(Comparable["ScoredCombination"]):
def __init__(self, score: int, combination: EquipmentCombination):
self.score = score
self.combination = combination
... | 34.5 | 70 | 0.76087 | 40 | 414 | 7.625 | 0.475 | 0.088525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161836 | 414 | 11 | 71 | 37.636364 | 0.878963 | 0 | 0 | 0 | 0 | 0 | 0.082126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
657b657174d7e76f83ef27065a76c1c94e3793a2 | 2,712 | py | Python | flink-python/pyflink/common/serializer.py | tamirsagi/flink | 778483a0a387251bc8b78f23b41352a1fbf146a2 | [
"Apache-2.0"
] | null | null | null | flink-python/pyflink/common/serializer.py | tamirsagi/flink | 778483a0a387251bc8b78f23b41352a1fbf146a2 | [
"Apache-2.0"
] | null | null | null | flink-python/pyflink/common/serializer.py | tamirsagi/flink | 778483a0a387251bc8b78f23b41352a1fbf146a2 | [
"Apache-2.0"
] | 2 | 2022-02-15T07:05:13.000Z | 2022-03-18T07:08:20.000Z | ################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this... | 31.172414 | 95 | 0.632006 | 314 | 2,712 | 5.283439 | 0.433121 | 0.036166 | 0.015672 | 0.019289 | 0.037372 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001936 | 0.238201 | 2,712 | 86 | 96 | 31.534884 | 0.801065 | 0.389381 | 0 | 0.135135 | 0 | 0 | 0.003541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.297297 | false | 0.081081 | 0.081081 | 0.135135 | 0.675676 | 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 | 0 | 0 | 0 | 3 |
657d55c10c3b173cb7a886b5f3ccc14dc686638d | 162 | py | Python | rectangle.py | carlok/quiver_shapely | 5a9016f13c0e366c24a2c220d395c66532f8fda6 | [
"Apache-2.0"
] | null | null | null | rectangle.py | carlok/quiver_shapely | 5a9016f13c0e366c24a2c220d395c66532f8fda6 | [
"Apache-2.0"
] | null | null | null | rectangle.py | carlok/quiver_shapely | 5a9016f13c0e366c24a2c220d395c66532f8fda6 | [
"Apache-2.0"
] | null | null | null | verts = [
(70., 10.), # left, bottom
(70., 12.), # left, top
(72., 12.), # right, top
(72., 10.), # right, bottom
(70., 10.), # ignored
] | 23.142857 | 32 | 0.419753 | 20 | 162 | 3.4 | 0.5 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.320988 | 162 | 7 | 33 | 23.142857 | 0.436364 | 0.339506 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
65897f0874f6dd3591214e99c5e03eef62d62271 | 390 | py | Python | simulator/Animals/Animal.py | BenMiller3/sap_simulator | 1ee72a59a735c80e4db82c8806897ae14d663acf | [
"MIT"
] | null | null | null | simulator/Animals/Animal.py | BenMiller3/sap_simulator | 1ee72a59a735c80e4db82c8806897ae14d663acf | [
"MIT"
] | null | null | null | simulator/Animals/Animal.py | BenMiller3/sap_simulator | 1ee72a59a735c80e4db82c8806897ae14d663acf | [
"MIT"
] | null | null | null | class Animal:
def __init__(self, attack, health, tier):
self.attack = attack
self.health = health
self.tier = tier
def attacks(self):
# add attack modifiers here
return self.attack
def take_damage(self, damage):
# add defense modifiers here
self.hea... | 21.666667 | 45 | 0.597436 | 47 | 390 | 4.829787 | 0.404255 | 0.132159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003788 | 0.323077 | 390 | 17 | 46 | 22.941176 | 0.856061 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
65a4a2de16a00f875ea62b4e42e6015933c48b6e | 213,814 | py | Python | vivisect/impapi/winkern/i386.py | cmaruti/vivisect | 828a9af1b662d6417cf4c78f20a4ba37a1b3b670 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-12-23T19:23:17.000Z | 2020-12-23T19:23:17.000Z | vivisect/impapi/winkern/i386.py | cmaruti/vivisect | 828a9af1b662d6417cf4c78f20a4ba37a1b3b670 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | vivisect/impapi/winkern/i386.py | cmaruti/vivisect | 828a9af1b662d6417cf4c78f20a4ba37a1b3b670 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-12-23T19:23:58.000Z | 2020-12-23T19:23:58.000Z | apitypes = {
}
api = {
# ntoskrnl.exe xpsp3x86
'ntoskrnl.main_entry':( 'int', None, 'cdecl', 'ntoskrnl.main_entry', (('int', None),) ),
'ntoskrnl.cccaniwrite':( 'int', None, 'stdcall', 'ntoskrnl.CcCanIWrite', (('int', None), ('int', None), ('int', None), ('int', None)) ),
'ntoskrnl.cccopyread':( 'int', N... | 142.828323 | 704 | 0.624239 | 18,747 | 213,814 | 7.111271 | 0.08028 | 0.248464 | 0.140869 | 0.197217 | 0.263204 | 0.208656 | 0.207013 | 0.148115 | 0.146525 | 0.10896 | 0 | 0.001397 | 0.113 | 213,814 | 1,496 | 705 | 142.923797 | 0.701544 | 0.000098 | 0 | 0 | 0 | 0 | 0.55779 | 0.380364 | 0 | 0 | 0 | 0 | 0.00067 | 1 | 0 | false | 0 | 0.00067 | 0 | 0.00067 | 0.008713 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
65b5630129b9910269706da86c86ee198e05e59b | 514 | py | Python | accounts/admin.py | Hamed-D3/Mahi-Goli | 7cfea8a84e70a5f0c8140e9e8fe97d3b3eec204c | [
"MIT"
] | null | null | null | accounts/admin.py | Hamed-D3/Mahi-Goli | 7cfea8a84e70a5f0c8140e9e8fe97d3b3eec204c | [
"MIT"
] | null | null | null | accounts/admin.py | Hamed-D3/Mahi-Goli | 7cfea8a84e70a5f0c8140e9e8fe97d3b3eec204c | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from .models import CustomUser
from .forms import CustomUserCreationForm, CustomUserChangeForm
# Register your models here.
class CustomUserAdmin(UserAdmin):
model = CustomUser
add_form = CustomUserCreationForm
form = CustomUs... | 34.266667 | 103 | 0.752918 | 52 | 514 | 7.365385 | 0.596154 | 0.052219 | 0.088773 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004566 | 0.14786 | 514 | 15 | 104 | 34.266667 | 0.869863 | 0.050584 | 0 | 0 | 0 | 0 | 0.11499 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0.333333 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
65b66e1abbd5995d0af0c8df7d2968c3f2baef6a | 192 | py | Python | backend/barista/constraints/session_run/__init__.py | anglebinbin/Barista-tool | 2d51507fb3566881923f0b273127f59d23ed317f | [
"MIT"
] | 1 | 2020-02-11T19:05:17.000Z | 2020-02-11T19:05:17.000Z | backend/barista/constraints/session_run/__init__.py | anglebinbin/Barista-tool | 2d51507fb3566881923f0b273127f59d23ed317f | [
"MIT"
] | null | null | null | backend/barista/constraints/session_run/__init__.py | anglebinbin/Barista-tool | 2d51507fb3566881923f0b273127f59d23ed317f | [
"MIT"
] | null | null | null | """
This subpackage contains all constraints that need to be ensured before/during a new session run.
So the given methods need to be called each time a new session is about to be started.
""" | 48 | 97 | 0.776042 | 34 | 192 | 4.382353 | 0.764706 | 0.080537 | 0.107383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177083 | 192 | 4 | 98 | 48 | 0.943038 | 0.958333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
65b7eeb2f260bcfa8a3a592636b8266d61a9ae46 | 1,220 | py | Python | api/api_legal_entities.py | YTXIRE/able_crm_concrete_accounting_python_tests | c708bfb973a19499e0b04da5c219d924b295d74e | [
"Apache-2.0"
] | 1 | 2022-03-06T17:30:38.000Z | 2022-03-06T17:30:38.000Z | api/api_legal_entities.py | YTXIRE/able_crm_concrete_accounting_python_tests | c708bfb973a19499e0b04da5c219d924b295d74e | [
"Apache-2.0"
] | null | null | null | api/api_legal_entities.py | YTXIRE/able_crm_concrete_accounting_python_tests | c708bfb973a19499e0b04da5c219d924b295d74e | [
"Apache-2.0"
] | null | null | null | from api.api import API
class ApiLegalEntities(API):
def get_all(self, data):
return self.send_get(url=f'legal-entities/get-all?token={data["token"]}&limit={data["limit"]}'
f'&offset={data["offset"]}&archive={data["archive"]}&user_id={data["user_id"]}')
def get_all_me... | 34.857143 | 113 | 0.67377 | 171 | 1,220 | 4.637427 | 0.181287 | 0.126103 | 0.176545 | 0.113493 | 0.609079 | 0.535939 | 0.481715 | 0.370744 | 0.370744 | 0.267339 | 0 | 0 | 0.181148 | 1,220 | 34 | 114 | 35.882353 | 0.793794 | 0 | 0 | 0 | 0 | 0 | 0.279508 | 0.279508 | 0 | 0 | 0 | 0 | 0 | 1 | 0.434783 | false | 0 | 0.043478 | 0.434783 | 0.956522 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
65d77a747113b2740aba8beccd552fefe3a9c62a | 1,127 | py | Python | tests/test_settings_path.py | alekseyr/django-before | f1981ea332a7caf8bdcb9d214a27a3c1555b4f39 | [
"MIT"
] | 1 | 2016-05-20T09:37:39.000Z | 2016-05-20T09:37:39.000Z | tests/test_settings_path.py | alekseyr/django-before | f1981ea332a7caf8bdcb9d214a27a3c1555b4f39 | [
"MIT"
] | null | null | null | tests/test_settings_path.py | alekseyr/django-before | f1981ea332a7caf8bdcb9d214a27a3c1555b4f39 | [
"MIT"
] | null | null | null | import unittest
from django_before.settings_path import make_subpather
from django_before.exceptions import DjangoBeforeImproperlyConfigured
class TestMakeSubpather(unittest.TestCase):
def test_common_empty(self):
subpath = make_subpather('/home/notrealuser/notrealproject/notrealpath/somesubpath', 2)
... | 46.958333 | 97 | 0.75244 | 110 | 1,127 | 7.563636 | 0.309091 | 0.144231 | 0.278846 | 0.240385 | 0.52524 | 0.498798 | 0.402644 | 0.325721 | 0.325721 | 0.235577 | 0 | 0.004119 | 0.138421 | 1,127 | 23 | 98 | 49 | 0.852729 | 0 | 0 | 0.117647 | 0 | 0 | 0.356699 | 0.346051 | 0 | 0 | 0 | 0 | 0.294118 | 1 | 0.235294 | false | 0 | 0.176471 | 0 | 0.470588 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
65de7390b293bb1663b753699799f2a8f0b0f983 | 1,159 | py | Python | nlproar/model/select.py | AndreasMadsen/nlp-roar-interpretability | ad30f756cd744dfb05d1b57de744c5ff60d9f20c | [
"MIT"
] | 17 | 2021-11-04T02:15:30.000Z | 2021-12-26T16:31:27.000Z | nlproar/model/select.py | AndreasMadsen/nlp-roar-interpretability | ad30f756cd744dfb05d1b57de744c5ff60d9f20c | [
"MIT"
] | null | null | null | nlproar/model/select.py | AndreasMadsen/nlp-roar-interpretability | ad30f756cd744dfb05d1b57de744c5ff60d9f20c | [
"MIT"
] | 1 | 2021-11-04T10:45:25.000Z | 2021-11-04T10:45:25.000Z |
from .rnn_single_sequence_to_class import RNNSingleSequenceToClass
from .rnn_multiple_sequence_to_class import RNNMultipleSequenceToClass
from .roberta_single_sequence_to_class import RobertaSingleSequenceToClass
from .roberta_multiple_sequence_to_class import RobertaMultipleSequenceToClass
from .longformer_single_seq... | 44.576923 | 84 | 0.830026 | 102 | 1,159 | 9 | 0.235294 | 0.108932 | 0.163399 | 0.183007 | 0.315904 | 0.071895 | 0.071895 | 0 | 0 | 0 | 0 | 0 | 0.121657 | 1,159 | 25 | 85 | 46.36 | 0.901768 | 0 | 0 | 0.181818 | 0 | 0 | 0.043178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.363636 | 0.090909 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
029c20666aa86204e7b846cae766c3cb98f7528e | 6,011 | py | Python | sewar/tests/test_sewar.py | parampavar/sewar | e802924c20135ade79d22335be3a1f2cb92457dd | [
"MIT"
] | 406 | 2018-09-23T18:16:20.000Z | 2022-03-31T04:39:30.000Z | sewar/tests/test_sewar.py | parampavar/sewar | e802924c20135ade79d22335be3a1f2cb92457dd | [
"MIT"
] | 28 | 2019-02-27T00:22:29.000Z | 2022-03-28T14:15:05.000Z | sewar/tests/test_sewar.py | parampavar/sewar | e802924c20135ade79d22335be3a1f2cb92457dd | [
"MIT"
] | 58 | 2019-01-02T01:00:38.000Z | 2022-03-13T01:22:15.000Z | from .tester import Tester
import sewar
import numpy as np
class TestMse(Tester):
def test_color(self):
mse = sewar.mse(self.read('clr'),self.read('clr'))
self.assertTrue(mse == 0.0)
def test_gray(self):
mse = sewar.mse(self.read('gry'),self.read('gry'))
self.assertTrue(mse == 0.0)
def test_color_noise(se... | 30.358586 | 146 | 0.689902 | 973 | 6,011 | 4.156218 | 0.110997 | 0.166172 | 0.125124 | 0.122404 | 0.802918 | 0.717606 | 0.654303 | 0.576657 | 0.425569 | 0.378586 | 0 | 0.037079 | 0.120612 | 6,011 | 197 | 147 | 30.51269 | 0.727961 | 0.035934 | 0 | 0.447368 | 0 | 0 | 0.063202 | 0 | 0 | 0 | 0 | 0 | 0.269737 | 1 | 0.269737 | false | 0 | 0.019737 | 0 | 0.368421 | 0.085526 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02acde4577ea13654cc4010b1eb25f4fa818af8f | 1,534 | py | Python | src/ezcode/list/queue.py | zheng-gao/ez_code | fbf48990291aa57d6436d4548b0a6c25dfb8f82d | [
"MIT"
] | null | null | null | src/ezcode/list/queue.py | zheng-gao/ez_code | fbf48990291aa57d6436d4548b0a6c25dfb8f82d | [
"MIT"
] | null | null | null | src/ezcode/list/queue.py | zheng-gao/ez_code | fbf48990291aa57d6436d4548b0a6c25dfb8f82d | [
"MIT"
] | null | null | null | from ezcode.list.const import BACKWARD_LINK
from ezcode.list.linked_list import DoublyLinkedList
class Queue:
def __init__(self):
self.doubly_linked_list = DoublyLinkedList()
def __len__(self):
return len(self.doubly_linked_list)
def __str__(self):
return self.doubly_linked_list.... | 28.407407 | 79 | 0.632986 | 193 | 1,534 | 4.699482 | 0.26943 | 0.132304 | 0.194046 | 0.242558 | 0.426681 | 0.385888 | 0.385888 | 0.32194 | 0.16538 | 0.16538 | 0 | 0.003613 | 0.278357 | 1,534 | 53 | 80 | 28.943396 | 0.815718 | 0.047588 | 0 | 0.216216 | 0 | 0 | 0.031513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243243 | false | 0 | 0.054054 | 0.054054 | 0.459459 | 0.054054 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02b80b920c705e6cc852da5ac538b3de20f4ea1f | 297 | py | Python | outros/test.py | caiocampos/Python-Random-Stuff | 5e9005e7dec776e9af0c407d063624d041d3c84c | [
"MIT"
] | null | null | null | outros/test.py | caiocampos/Python-Random-Stuff | 5e9005e7dec776e9af0c407d063624d041d3c84c | [
"MIT"
] | null | null | null | outros/test.py | caiocampos/Python-Random-Stuff | 5e9005e7dec776e9af0c407d063624d041d3c84c | [
"MIT"
] | null | null | null | def cheeseshop(kind, *arguments, **keywords):
print("-- Do you have any", kind, "?")
print("-- I'm sorry, we're all out of", kind)
for arg in arguments:
print(arg)
print("-" * 40)
keys = sorted(keywords.keys())
for kw in keys:
print(kw, ":", keywords[kw])
| 29.7 | 49 | 0.555556 | 42 | 297 | 3.952381 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.259259 | 297 | 9 | 50 | 33 | 0.740909 | 0 | 0 | 0 | 0 | 0 | 0.172297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.555556 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
02d7645b17d731fdf135614579bcfaed9106a51b | 269 | py | Python | volman/charity/admin.py | hack-the-hub/volunteer-management | 4dc5341bf788c97d82d371736545c43aefd5bb7a | [
"MIT"
] | null | null | null | volman/charity/admin.py | hack-the-hub/volunteer-management | 4dc5341bf788c97d82d371736545c43aefd5bb7a | [
"MIT"
] | null | null | null | volman/charity/admin.py | hack-the-hub/volunteer-management | 4dc5341bf788c97d82d371736545c43aefd5bb7a | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Classification, Client, Organisation, Service, Followers
admin.site.register(Classification)
admin.site.register(Client)
admin.site.register(Organisation)
admin.site.register(Service)
admin.site.register(Followers) | 29.888889 | 76 | 0.836431 | 33 | 269 | 6.818182 | 0.393939 | 0.2 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066915 | 269 | 9 | 77 | 29.888889 | 0.896414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02dcd6c000ecff235fb83b48c754d74d4586cd8c | 3,684 | py | Python | com_positions.py | jabbershort/KinovaGen3 | b5aedf6f3433c9010fae4f63e194aa5c228555f3 | [
"MIT"
] | 1 | 2021-10-14T20:03:20.000Z | 2021-10-14T20:03:20.000Z | com_positions.py | jabbershort/KinovaGen3 | b5aedf6f3433c9010fae4f63e194aa5c228555f3 | [
"MIT"
] | null | null | null | com_positions.py | jabbershort/KinovaGen3 | b5aedf6f3433c9010fae4f63e194aa5c228555f3 | [
"MIT"
] | 1 | 2021-10-15T07:17:07.000Z | 2021-10-15T07:17:07.000Z | from numpy import array, cos, sin
def com_positions(q):
'''
Centre of mass positions of the Kinova Gen3 robot
Arguments
---------
q : array_like
The joint angles of the robot
Returns
-------
ndarray
The centre of mass positions
'''
q1 = q[0]
... | 29.472 | 1,322 | 0.523887 | 693 | 3,684 | 2.782107 | 0.227994 | 0.018672 | 0.024896 | 0.021784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.492595 | 0.303474 | 3,684 | 124 | 1,323 | 29.709677 | 0.258769 | 0.049131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009434 | false | 0 | 0.009434 | 0 | 0.028302 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02fa8a8b902d7a186856e2a1f1d2f99621ee3bf0 | 1,091 | py | Python | eNMS/controller/custom.py | PseudotsugaMenziesii/e-napalm | 23655d92173760cec3b3f7a9195fca4498b3bd99 | [
"MIT"
] | null | null | null | eNMS/controller/custom.py | PseudotsugaMenziesii/e-napalm | 23655d92173760cec3b3f7a9195fca4498b3bd99 | [
"MIT"
] | null | null | null | eNMS/controller/custom.py | PseudotsugaMenziesii/e-napalm | 23655d92173760cec3b3f7a9195fca4498b3bd99 | [
"MIT"
] | null | null | null | from os import environ
from warnings import warn
try:
from ldap3 import Connection, Server
except ImportError as exc:
warn(f"Couldn't import ldap3 module ({exc})")
try:
from tacacs_plus.client import TACACSClient
except ImportError as exc:
warn(f"Couldn't import tacacs_plus module ({exc})")
class Cus... | 37.62069 | 83 | 0.676444 | 141 | 1,091 | 5.12766 | 0.361702 | 0.049793 | 0.058091 | 0.060858 | 0.367911 | 0.367911 | 0.367911 | 0.367911 | 0.367911 | 0.118949 | 0 | 0.004662 | 0.213566 | 1,091 | 28 | 84 | 38.964286 | 0.837995 | 0 | 0 | 0.25 | 0 | 0 | 0.173236 | 0.025665 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.208333 | 0.333333 | 0 | 0.541667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
f30dbe145d5ad9fad09a02751d7dfd5dfe34269c | 1,960 | py | Python | helpers.py | nataligracia/sqlalchemy_vacationplanning | 7cf914177778373ef52da7e900fd0446617f1487 | [
"Apache-2.0"
] | null | null | null | helpers.py | nataligracia/sqlalchemy_vacationplanning | 7cf914177778373ef52da7e900fd0446617f1487 | [
"Apache-2.0"
] | null | null | null | helpers.py | nataligracia/sqlalchemy_vacationplanning | 7cf914177778373ef52da7e900fd0446617f1487 | [
"Apache-2.0"
] | null | null | null | #Import dependencies
from sqlalchemy import func, asc, desc
#App.py tobs: Find and return temp for most recent year with station information
def trip_tobs (trip_start, trip_end, session, Measurement, Station):
return (session
.query(Measurement.station,
Station.name,
... | 49 | 80 | 0.575 | 201 | 1,960 | 5.487562 | 0.248756 | 0.130553 | 0.108794 | 0.090662 | 0.824116 | 0.735267 | 0.622847 | 0.622847 | 0.622847 | 0.622847 | 0 | 0 | 0.312755 | 1,960 | 40 | 81 | 49 | 0.818857 | 0.087245 | 0 | 0.457143 | 0 | 0 | 0.059877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.028571 | 0.057143 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f3109da45a5e97db3b31a62aa00fb0d628c65f83 | 604 | py | Python | scripts/iv_curve_from_model.py | joebowen/channelwormdjango | b5d940c5ca3c48afaac328de75971f2dc9f35956 | [
"MIT"
] | null | null | null | scripts/iv_curve_from_model.py | joebowen/channelwormdjango | b5d940c5ca3c48afaac328de75971f2dc9f35956 | [
"MIT"
] | null | null | null | scripts/iv_curve_from_model.py | joebowen/channelwormdjango | b5d940c5ca3c48afaac328de75971f2dc9f35956 | [
"MIT"
] | null | null | null | import subprocess, os
if os.path.basename(os.getcwd()) != 'scripts':
print("Run this from the scripts directory")
exit()
#make a "sandox" for the large number of files being generated
try:
os.mkdir('simfiles')
except OSError:
pass
os.chdir('simfiles')
subprocess.call(['pynml-channelanalysis', '-temp... | 35.529412 | 330 | 0.640728 | 71 | 604 | 5.450704 | 0.830986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051429 | 0.130795 | 604 | 16 | 331 | 37.75 | 0.685714 | 0.100993 | 0 | 0 | 1 | 0 | 0.497227 | 0.092421 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.1 | 0.1 | 0 | 0.1 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f3142057ad46b2d590a6a80e0d3cbdfb598418b4 | 340 | py | Python | aot/model/enums/player.py | jaycheungchunman/age-of-triggers | f2a75685a0b0cc9e26132d4f52b6ed2c4798f6b4 | [
"MIT"
] | 8 | 2019-11-19T07:13:14.000Z | 2020-05-30T05:19:11.000Z | aot/model/enums/player.py | jaycheungchunman/age-of-triggers | f2a75685a0b0cc9e26132d4f52b6ed2c4798f6b4 | [
"MIT"
] | null | null | null | aot/model/enums/player.py | jaycheungchunman/age-of-triggers | f2a75685a0b0cc9e26132d4f52b6ed2c4798f6b4 | [
"MIT"
] | 1 | 2020-07-28T10:24:11.000Z | 2020-07-28T10:24:11.000Z | from enum import Enum
ePlayerColor = {
0: (0, 0, 255),
1: (255, 0, 0),
2: (0, 255, 0),
3: (255, 255, 0),
4: (0, 255, 255),
5: (255, 0, 255),
6: (185, 185, 185),
7: (255, 130, 1)
}
class PlayerEnum(Enum):
GAIA = 0
P1 = 1
P2 = 2
P3 = 3
P4 = 4
P5 = 5
P6 = 6
... | 13.6 | 23 | 0.405882 | 58 | 340 | 2.37931 | 0.465517 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.385 | 0.411765 | 340 | 24 | 24 | 14.166667 | 0.305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f31f06276be1e55e50da2ed77d2775800ee99250 | 3,971 | py | Python | tests/apps/django_app/echo/views.py | kochab/webargs | 79e13865cff0329e10bbc9875ac5960fd4e70c3f | [
"MIT"
] | null | null | null | tests/apps/django_app/echo/views.py | kochab/webargs | 79e13865cff0329e10bbc9875ac5960fd4e70c3f | [
"MIT"
] | null | null | null | tests/apps/django_app/echo/views.py | kochab/webargs | 79e13865cff0329e10bbc9875ac5960fd4e70c3f | [
"MIT"
] | null | null | null | import json
from django.http import HttpResponse
from django.views.generic import View
import marshmallow as ma
from webargs import fields, ValidationError
from webargs.djangoparser import parser, use_args, use_kwargs
from webargs.core import MARSHMALLOW_VERSION_INFO
hello_args = {"name": fields.Str(missing="World", ... | 27.19863 | 85 | 0.704608 | 510 | 3,971 | 5.313725 | 0.201961 | 0.097417 | 0.139483 | 0.061993 | 0.561993 | 0.545387 | 0.477491 | 0.389299 | 0.389299 | 0.389299 | 0 | 0.003347 | 0.172249 | 3,971 | 145 | 86 | 27.386207 | 0.821113 | 0 | 0 | 0.364583 | 0 | 0 | 0.04558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0.072917 | 0.114583 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f32219035e72c84e05c3b52a186bc708ef207566 | 93 | py | Python | Python Fundamentals/Text Processing/Caesar Cipher.py | bvoytash/Software-University | f2c6940cde093cea7b1c38bd88305206564c9947 | [
"MIT"
] | null | null | null | Python Fundamentals/Text Processing/Caesar Cipher.py | bvoytash/Software-University | f2c6940cde093cea7b1c38bd88305206564c9947 | [
"MIT"
] | null | null | null | Python Fundamentals/Text Processing/Caesar Cipher.py | bvoytash/Software-University | f2c6940cde093cea7b1c38bd88305206564c9947 | [
"MIT"
] | null | null | null | data = input()
for el in data:
el_numb = ord(el)
print(chr(el_numb + 3), end="") | 18.6 | 35 | 0.548387 | 16 | 93 | 3.0625 | 0.6875 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.27957 | 93 | 5 | 35 | 18.6 | 0.716418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f3279da9f4704c4a6d7d8be4bbf57ce9dd23fe13 | 157 | py | Python | sagemaker_tidymodels/__init__.py | tmastny/sagemaker-tidymodels | fdb6a71d2ca54b7ffce7c5bab12067413ebb4026 | [
"MIT"
] | 3 | 2020-11-23T18:16:05.000Z | 2021-03-23T16:48:24.000Z | sagemaker_tidymodels/__init__.py | tmastny/sagemaker-tidymodels | fdb6a71d2ca54b7ffce7c5bab12067413ebb4026 | [
"MIT"
] | 4 | 2020-07-25T21:49:55.000Z | 2020-08-03T15:37:49.000Z | sagemaker_tidymodels/__init__.py | tmastny/sagemaker-tidymodels | fdb6a71d2ca54b7ffce7c5bab12067413ebb4026 | [
"MIT"
] | null | null | null | from sagemaker_tidymodels.tidymodels import (
Tidymodels,
TidymodelsModel,
TidymodelsPredictor,
get_account,
get_region,
get_role,
)
| 17.444444 | 45 | 0.719745 | 14 | 157 | 7.785714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22293 | 157 | 8 | 46 | 19.625 | 0.893443 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b867d4eeace944b1611bc3d693ef41d799bde510 | 2,261 | py | Python | test/test_quality_assurance_api.py | unofficial-memsource/memsource-cli-client | a6639506b74e95476da87f4375953448b76ea90c | [
"Apache-2.0"
] | 16 | 2019-09-25T00:20:38.000Z | 2021-05-04T05:56:10.000Z | test/test_quality_assurance_api.py | zerodayz/memsource-cli-client | c2574f1467539a49e6637c874e88d75c7ef789b3 | [
"Apache-2.0"
] | 26 | 2019-09-30T14:00:03.000Z | 2021-05-12T11:15:18.000Z | test/test_quality_assurance_api.py | zerodayz/memsource-cli-client | c2574f1467539a49e6637c874e88d75c7ef789b3 | [
"Apache-2.0"
] | 1 | 2021-05-24T16:19:14.000Z | 2021-05-24T16:19:14.000Z | # coding: utf-8
"""
Memsource REST API
Welcome to Memsource's API documentation. To view our legacy APIs please [visit our documentation](https://wiki.memsource.com/wiki/Memsource_API) and for more information about our new APIs, [visit our blog](https://www.memsource.com/blog/2017/10/24/introducing-rest-apis... | 26.916667 | 421 | 0.678019 | 293 | 2,261 | 4.969283 | 0.334471 | 0.054945 | 0.052885 | 0.072115 | 0.326236 | 0.26511 | 0.162088 | 0.115385 | 0.07967 | 0 | 0 | 0.026148 | 0.238832 | 2,261 | 83 | 422 | 27.240964 | 0.819872 | 0.509951 | 0 | 0.307692 | 0 | 0 | 0.008705 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.346154 | false | 0.307692 | 0.192308 | 0 | 0.576923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b8853b47724db439d300dde8596a67d75694a594 | 1,874 | py | Python | grimer/decontam.py | pirovc/grimer | 169f8d3009004d6d2f4ca4d3e7dfec819078cb34 | [
"MIT"
] | 5 | 2021-06-24T03:19:47.000Z | 2021-12-18T22:33:04.000Z | grimer/decontam.py | pirovc/grimer | 169f8d3009004d6d2f4ca4d3e7dfec819078cb34 | [
"MIT"
] | 1 | 2022-02-04T14:52:40.000Z | 2022-03-07T10:04:54.000Z | grimer/decontam.py | pirovc/grimer | 169f8d3009004d6d2f4ca4d3e7dfec819078cb34 | [
"MIT"
] | null | null | null | import pandas as pd
class Decontam:
cols_rank = ["freq", "prev", "p.freq", "p.prev", "p", "contaminant"]
def __init__(self, df_concentration_controls):
self.data = df_concentration_controls
self.rank = {}
def __repr__(self):
args = ['{}={}'.format(k, repr(v)) for (k, v) in vars(s... | 39.87234 | 141 | 0.626467 | 272 | 1,874 | 4.154412 | 0.356618 | 0.113274 | 0.084956 | 0.047788 | 0.238938 | 0.238938 | 0.19115 | 0.19115 | 0.19115 | 0.058407 | 0 | 0.017591 | 0.211313 | 1,874 | 46 | 142 | 40.73913 | 0.746955 | 0.083244 | 0 | 0 | 0 | 0 | 0.063631 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.035714 | 0.107143 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b8911de65a42fd6df4b017ca62be132046ffcbad | 1,650 | py | Python | txdav/base/propertystore/none.py | backwardn/ccs-calendarserver | 13c706b985fb728b9aab42dc0fef85aae21921c3 | [
"Apache-2.0"
] | 462 | 2016-08-14T17:43:24.000Z | 2022-03-17T07:38:16.000Z | txdav/base/propertystore/none.py | backwardn/ccs-calendarserver | 13c706b985fb728b9aab42dc0fef85aae21921c3 | [
"Apache-2.0"
] | 72 | 2016-09-01T23:19:35.000Z | 2020-02-05T02:09:26.000Z | txdav/base/propertystore/none.py | backwardn/ccs-calendarserver | 13c706b985fb728b9aab42dc0fef85aae21921c3 | [
"Apache-2.0"
] | 171 | 2016-08-16T03:50:30.000Z | 2022-03-26T11:49:55.000Z | # -*- test-case-name: txdav.base.propertystore.test.test_none,txdav.caldav.datastore,txdav.carddav.datastore -*-
##
# Copyright (c) 2010-2017 Apple Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may o... | 25 | 112 | 0.690909 | 206 | 1,650 | 5.441748 | 0.582524 | 0.053524 | 0.042819 | 0.028546 | 0.066012 | 0.066012 | 0.066012 | 0.066012 | 0 | 0 | 0 | 0.009295 | 0.217576 | 1,650 | 65 | 113 | 25.384615 | 0.859024 | 0.518788 | 0 | 0.304348 | 0 | 0 | 0.055108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0.043478 | 0.086957 | 0.130435 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b89e6162a6aced4885bbb7a8827e438eff469052 | 154 | py | Python | twosheds/kernel.py | Ceasar/twosheds | 55b0a207e3a06b85e9a9567069b3822a651501a7 | [
"MIT"
] | 28 | 2015-01-08T13:58:28.000Z | 2021-12-17T03:15:55.000Z | twosheds/kernel.py | Ceasar/twosheds | 55b0a207e3a06b85e9a9567069b3822a651501a7 | [
"MIT"
] | 8 | 2015-01-04T07:46:15.000Z | 2015-09-28T02:58:03.000Z | twosheds/kernel.py | Ceasar/twosheds | 55b0a207e3a06b85e9a9567069b3822a651501a7 | [
"MIT"
] | 8 | 2015-01-04T07:23:55.000Z | 2018-07-20T17:34:44.000Z | import subprocess
class Kernel(object):
def respond(self, text):
process = subprocess.Popen(text, shell=True)
process.communicate()
| 19.25 | 52 | 0.675325 | 17 | 154 | 6.117647 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220779 | 154 | 7 | 53 | 22 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b8a13e949b63584a855d3f90f677d5e9fba0a509 | 1,448 | py | Python | stats/sample/frescogo-2021_09_26_15_43_39-patricia-didi.py | frescogo/analise | bae048a6ac3d759b65eba13103ba839caaf161f4 | [
"Unlicense"
] | null | null | null | stats/sample/frescogo-2021_09_26_15_43_39-patricia-didi.py | frescogo/analise | bae048a6ac3d759b65eba13103ba839caaf161f4 | [
"Unlicense"
] | null | null | null | stats/sample/frescogo-2021_09_26_15_43_39-patricia-didi.py | frescogo/analise | bae048a6ac3d759b65eba13103ba839caaf161f4 | [
"Unlicense"
] | null | null | null | GAME = {
'versao' : 'v4.1',
'timestamp' : '2021_09_26_15_43_39',
'final' : 16930,
'm300' : 62.826666666667,
'm150' : 72.9,
'golpes' : 300,
'quedas' : 13,
0 : {
'nome' : 'patricia',
'golpes' : 131,
'pontos' : 11173,
'm150' : 62.826666666667,
'm50' : 70.04,
'hits' ... | 45.25 | 465 | 0.574586 | 359 | 1,448 | 2.303621 | 0.197772 | 0.087062 | 0.116082 | 0.135429 | 0.590085 | 0.548972 | 0.474002 | 0.382104 | 0.353083 | 0.290206 | 0 | 0.57508 | 0.135359 | 1,448 | 31 | 466 | 46.709677 | 0.085463 | 0 | 0 | 0 | 0 | 0 | 0.097376 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b8a50343869d1d663a72c6d3d279cfa2292bee1a | 410 | py | Python | src/bitmessageqt/widgets.py | libercoinproject/LMessage | d284a450f52ad6e98d4ec18379542405d766c854 | [
"MIT",
"BSD-2-Clause-FreeBSD"
] | 1 | 2018-08-13T15:42:27.000Z | 2018-08-13T15:42:27.000Z | src/bitmessageqt/widgets.py | libercoinproject/LMessage | d284a450f52ad6e98d4ec18379542405d766c854 | [
"MIT",
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/bitmessageqt/widgets.py | libercoinproject/LMessage | d284a450f52ad6e98d4ec18379542405d766c854 | [
"MIT",
"BSD-2-Clause-FreeBSD"
] | null | null | null | from PyQt4 import uic
import os.path
import paths
import sys
def resource_path(resFile):
baseDir = paths.codePath()
for subDir in ["ui", "lmessageqt"]:
if os.path.isdir(os.path.join(baseDir, subDir)) and os.path.isfile(os.path.join(baseDir, subDir, resFile)):
return os.path.join(baseDir, su... | 29.285714 | 115 | 0.702439 | 59 | 410 | 4.847458 | 0.457627 | 0.125874 | 0.104895 | 0.178322 | 0.29021 | 0.20979 | 0 | 0 | 0 | 0 | 0 | 0.002941 | 0.170732 | 410 | 13 | 116 | 31.538462 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0.029268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.363636 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b8afdb37ad81954ee6564425572780d62b1ee746 | 390 | py | Python | predavanje3/logicki_operatori.py | Miillky/uvod_u_programiranje | 209611e38c8fe84c727649df4b868a4278eb77c3 | [
"MIT"
] | null | null | null | predavanje3/logicki_operatori.py | Miillky/uvod_u_programiranje | 209611e38c8fe84c727649df4b868a4278eb77c3 | [
"MIT"
] | null | null | null | predavanje3/logicki_operatori.py | Miillky/uvod_u_programiranje | 209611e38c8fe84c727649df4b868a4278eb77c3 | [
"MIT"
] | null | null | null | 2.4<-3.12 # False
3<=3 # True
4.5>13.12 # False
67>=44 # True
12 == 12 # True
8!=8 # False
not True # False
not False # True
True and False # False
False and True # False
True and False # False
True and True # True
False or False # False
False or True # True
True or False # True
True or True # True
True or False and... | 17.727273 | 31 | 0.682051 | 77 | 390 | 3.454545 | 0.181818 | 0.240602 | 0.135338 | 0.191729 | 0.458647 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0.076667 | 0.230769 | 390 | 22 | 32 | 17.727273 | 0.81 | 0.264103 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b8bad3be7fc6b3d1dfcacdb59d0b63e963577097 | 522 | py | Python | fHDHR_web/pages/playlists_html.py | alexmerm/fHDHR | 586ffe5540a69da1430bec3dbbdcc8e86232fd03 | [
"WTFPL"
] | 39 | 2021-01-23T22:04:59.000Z | 2022-03-13T11:30:00.000Z | fHDHR_web/pages/playlists_html.py | alexmerm/fHDHR | 586ffe5540a69da1430bec3dbbdcc8e86232fd03 | [
"WTFPL"
] | 124 | 2021-02-01T14:41:35.000Z | 2022-03-19T04:06:57.000Z | fHDHR_web/pages/playlists_html.py | alexmerm/fHDHR | 586ffe5540a69da1430bec3dbbdcc8e86232fd03 | [
"WTFPL"
] | 12 | 2021-01-22T15:06:08.000Z | 2022-02-18T21:54:36.000Z | from flask import request, render_template, session
class Playlists_HTML():
endpoints = ["/playlists", "/playlists.html"]
endpoint_name = "page_playlists_html"
endpoint_access_level = 1
endpoint_category = "pages"
pretty_name = "M3U/W3U"
def __init__(self, fhdhr):
self.fhdhr = fhdhr
... | 26.1 | 111 | 0.680077 | 63 | 522 | 5.349206 | 0.492063 | 0.154303 | 0.124629 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007212 | 0.203065 | 522 | 19 | 112 | 27.473684 | 0.802885 | 0 | 0 | 0 | 0 | 0 | 0.1341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.153846 | 0.923077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b8bf1199cf7b98359d80abb6b1e23fed92e05ef5 | 6,934 | py | Python | tester.py | shivjeetbhullar/pi7db | 1215d849d1ffb0670fdb3fcc4f35602fe7963e51 | [
"MIT"
] | 4 | 2020-05-30T05:32:57.000Z | 2021-02-15T03:29:08.000Z | tester.py | shivjeetbhullar/pi7db | 1215d849d1ffb0670fdb3fcc4f35602fe7963e51 | [
"MIT"
] | null | null | null | tester.py | shivjeetbhullar/pi7db | 1215d849d1ffb0670fdb3fcc4f35602fe7963e51 | [
"MIT"
] | null | null | null | from pi7db import pi7db,GET,OR,increment,decrement,dsc,asc,GT,LT,LET
#db = pi7db("BLOGDB","pi7/DATABASE/")
db = pi7db('Students','Web/DATABASE')
#db.key("Shivjeet")
from datetime import datetime
data = {'examsa': {"name":"sa"}, 'exams': {"name":"saa"},'easa': {"name":"sass"}}
db.temp_limt = 3
#print(db.read(I... | 31.953917 | 1,035 | 0.610903 | 1,045 | 6,934 | 4.040191 | 0.288038 | 0.092847 | 0.028423 | 0.010422 | 0.108479 | 0.06774 | 0.047845 | 0.047845 | 0.047845 | 0.028423 | 0 | 0.03959 | 0.085665 | 6,934 | 216 | 1,036 | 32.101852 | 0.626183 | 0.893135 | 0 | 0 | 0 | 0 | 0.093489 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b2377a8c2bc5423d96aa507ec0be48db831db903 | 144 | py | Python | 1.py | staser12/watchtowertest | fb0fe46dc14739c96a0a156e81768c2d14fbcfec | [
"MIT"
] | null | null | null | 1.py | staser12/watchtowertest | fb0fe46dc14739c96a0a156e81768c2d14fbcfec | [
"MIT"
] | null | null | null | 1.py | staser12/watchtowertest | fb0fe46dc14739c96a0a156e81768c2d14fbcfec | [
"MIT"
] | null | null | null | import time
if __name__ == '__main__':
while True:
print('HELLO watchtower!!! --- {}'.format('0.0.6'))
time.sleep(2)
| 20.571429 | 60 | 0.527778 | 17 | 144 | 4 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.277778 | 144 | 6 | 61 | 24 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0.282609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b26de3b5aaa3f00bc45825d3690181c92288e5be | 398 | py | Python | tests/basic_example.py | siebrand/dataknead | 4bedc3d6f3039d7312dc9d254676d951dfd6fda3 | [
"MIT"
] | 92 | 2018-02-12T05:32:08.000Z | 2022-03-05T17:34:49.000Z | tests/basic_example.py | siebrand/dataknead | 4bedc3d6f3039d7312dc9d254676d951dfd6fda3 | [
"MIT"
] | 16 | 2018-03-23T18:36:52.000Z | 2021-03-12T11:08:40.000Z | tests/basic_example.py | siebrand/dataknead | 4bedc3d6f3039d7312dc9d254676d951dfd6fda3 | [
"MIT"
] | 6 | 2018-03-20T09:26:37.000Z | 2021-08-10T17:28:28.000Z | from dataknead import Knead
import logging
logging.basicConfig(level=logging.DEBUG)
# Convert csv to json
Knead("input/cities.csv").write("output/cities.json")
# Get city names and write to csv
Knead("input/cities.csv").map("city").write("output/city-names.csv")
# Get only cities located in Italy
Knead("input/citie... | 30.615385 | 96 | 0.743719 | 62 | 398 | 4.774194 | 0.483871 | 0.101351 | 0.162162 | 0.192568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090452 | 398 | 13 | 96 | 30.615385 | 0.81768 | 0.211055 | 0 | 0 | 0 | 0 | 0.395498 | 0.141479 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b28881e4b3683b465c1826ec2d1143312cfa3743 | 917 | py | Python | tests/models/test_val_instance_status_model.py | Neoklosch/fog_node_prototype | d3f07d9d161d97ec2c19f66167dfb26eb9c6e616 | [
"Apache-2.0"
] | null | null | null | tests/models/test_val_instance_status_model.py | Neoklosch/fog_node_prototype | d3f07d9d161d97ec2c19f66167dfb26eb9c6e616 | [
"Apache-2.0"
] | null | null | null | tests/models/test_val_instance_status_model.py | Neoklosch/fog_node_prototype | d3f07d9d161d97ec2c19f66167dfb26eb9c6e616 | [
"Apache-2.0"
] | 1 | 2017-08-29T20:37:12.000Z | 2017-08-29T20:37:12.000Z | import unittest
from motey.models.valinstancestatus import VALInstanceStatus
class TestVALInstanceStatus(unittest.TestCase):
def test_val_instance_status_construction(self):
resulting_val_instance_status = VALInstanceStatus()
self.assertTrue(resulting_val_instance_status.name == None and
... | 50.944444 | 79 | 0.661941 | 99 | 917 | 5.707071 | 0.333333 | 0.214159 | 0.330973 | 0.460177 | 0.499115 | 0.499115 | 0.382301 | 0 | 0 | 0 | 0 | 0.012232 | 0.286805 | 917 | 17 | 80 | 53.941176 | 0.851682 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.071429 | false | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b28feb18f40224e16802065460141d3674264b70 | 2,633 | py | Python | agents_playground/agents/agent.py | sholloway/agents-playground | f4da7acf9b410b4c01c5afc1aa45233960bea861 | [
"MIT"
] | null | null | null | agents_playground/agents/agent.py | sholloway/agents-playground | f4da7acf9b410b4c01c5afc1aa45233960bea861 | [
"MIT"
] | 37 | 2021-11-25T14:40:49.000Z | 2022-02-23T23:09:28.000Z | agents_playground/agents/agent.py | sholloway/agents-playground | f4da7acf9b410b4c01c5afc1aa45233960bea861 | [
"MIT"
] | null | null | null | from collections.abc import Callable
from agents_playground.agents.direction import Direction, Vector2D
from agents_playground.agents.structures import Point
from agents_playground.renderers.color import Color, Colors
from agents_playground.simulation.tag import Tag
class Agent:
"""A generic, autonomous agent."""
... | 28.934066 | 93 | 0.706419 | 352 | 2,633 | 5.059659 | 0.244318 | 0.04548 | 0.050533 | 0.074116 | 0.229646 | 0.168445 | 0.101067 | 0.065132 | 0.065132 | 0.065132 | 0 | 0.002854 | 0.201671 | 2,633 | 90 | 94 | 29.255556 | 0.844434 | 0.191037 | 0 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0 | 1 | 0.241935 | false | 0 | 0.080645 | 0.129032 | 0.467742 | 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 | 0 | 0 | 0 | 3 |
b297ca3514983517fc6f01d7376b43e9c2399bb4 | 161 | py | Python | PatternPrinting.py | Yukthi-C/python_learing | 340579e2bb767e8fdb209f705fdf12058e8e150f | [
"MIT"
] | null | null | null | PatternPrinting.py | Yukthi-C/python_learing | 340579e2bb767e8fdb209f705fdf12058e8e150f | [
"MIT"
] | null | null | null | PatternPrinting.py | Yukthi-C/python_learing | 340579e2bb767e8fdb209f705fdf12058e8e150f | [
"MIT"
] | null | null | null | # To print the * pattern
print('Triangle pattern\n')
n = int(input('Enter the number of lines : '))
for i in range(0, n, +1):
print(i * '' + (n - i) * '*')
| 23 | 46 | 0.559006 | 27 | 161 | 3.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.229814 | 161 | 6 | 47 | 26.833333 | 0.709677 | 0.136646 | 0 | 0 | 0 | 0 | 0.343066 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b29fd6bd71e8f820d956490ac238fc60c9b6a031 | 176 | py | Python | codegame/misc/constant.py | pyrustic/codegame | 8de000d2c859909fe19d6ebe56d35b42cee41bad | [
"MIT"
] | 2 | 2021-09-30T09:27:52.000Z | 2021-10-07T18:20:57.000Z | codegame/misc/constant.py | pyrustic/codegame | 8de000d2c859909fe19d6ebe56d35b42cee41bad | [
"MIT"
] | null | null | null | codegame/misc/constant.py | pyrustic/codegame | 8de000d2c859909fe19d6ebe56d35b42cee41bad | [
"MIT"
] | null | null | null | import os.path
# User agent
USER_AGENT = ("User-Agent", "codegame")
#
PYRUSTIC_DATA = os.path.join(os.path.expanduser("~"), "PyrusticData")
# COMMANDS
COMMANDS = ("about", ) | 17.6 | 69 | 0.681818 | 22 | 176 | 5.363636 | 0.590909 | 0.152542 | 0.220339 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 176 | 10 | 70 | 17.6 | 0.766234 | 0.107955 | 0 | 0 | 0 | 0 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a2538578b19fdd6dd9c27f7b223ecd14bfba8b94 | 2,910 | py | Python | hail_scripts/v01/utils/fam_file_utils_tests.py | NLSVTN/hail-elasticsearch-pipelines | 8b895a2e46a33d347dd2a1024101a6d515027a03 | [
"MIT"
] | null | null | null | hail_scripts/v01/utils/fam_file_utils_tests.py | NLSVTN/hail-elasticsearch-pipelines | 8b895a2e46a33d347dd2a1024101a6d515027a03 | [
"MIT"
] | null | null | null | hail_scripts/v01/utils/fam_file_utils_tests.py | NLSVTN/hail-elasticsearch-pipelines | 8b895a2e46a33d347dd2a1024101a6d515027a03 | [
"MIT"
] | null | null | null | import unittest
from hail_scripts.v01.utils.fam_file_utils import \
_compute_sample_groups, \
_check_for_extra_sample_ids_in_fam_file, \
_check_for_extra_sample_ids_in_vds
class TestElasticsearchUtils(unittest.TestCase):
def setUp(self):
self.vds_sample_ids = ["a", "b", "d", "c", "e", "f", "g... | 42.173913 | 135 | 0.616495 | 390 | 2,910 | 4.146154 | 0.169231 | 0.163265 | 0.098949 | 0.111317 | 0.813234 | 0.795918 | 0.692641 | 0.675943 | 0.656772 | 0.624613 | 0 | 0.014612 | 0.247423 | 2,910 | 68 | 136 | 42.794118 | 0.723744 | 0.014777 | 0 | 0.37037 | 0 | 0 | 0.025838 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 1 | 0.055556 | false | 0 | 0.037037 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a262b1eaea1e302bfa6a19003e3c3d519416f0e9 | 503 | py | Python | Ene-Jun-2021/cazares-martinez-luis-enrique/Primer Parcial/Ejercicio 1/SitioWeb.py | bryanbalderas/DAS_Sistemas | 1e31f088c0de7134471025a5730b0abfc19d936e | [
"MIT"
] | 41 | 2017-09-26T09:36:32.000Z | 2022-03-19T18:05:25.000Z | Ene-Jun-2021/cazares-martinez-luis-enrique/Primer Parcial/Ejercicio 1/SitioWeb.py | bryanbalderas/DAS_Sistemas | 1e31f088c0de7134471025a5730b0abfc19d936e | [
"MIT"
] | 67 | 2017-09-11T05:06:12.000Z | 2022-02-14T04:44:04.000Z | Ene-Jun-2021/cazares-martinez-luis-enrique/Primer Parcial/Ejercicio 1/SitioWeb.py | bryanbalderas/DAS_Sistemas | 1e31f088c0de7134471025a5730b0abfc19d936e | [
"MIT"
] | 210 | 2017-09-01T00:10:08.000Z | 2022-03-19T18:05:12.000Z | #Se crea la clase Sitio web con sus respectivos atributos
class SitioWeb:
def __init__(self, dominio, categoria, paginas=[]):
self.dominio = dominio
self.categoria = categoria
self.paginas = paginas
#Metodo al cual le crearemos un decorador de manera nativa
def buscar(self, paginas):
... | 26.473684 | 58 | 0.61829 | 60 | 503 | 5.05 | 0.566667 | 0.108911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282306 | 503 | 18 | 59 | 27.944444 | 0.839335 | 0.224652 | 0 | 0 | 0 | 0 | 0.215026 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 1 | 0.272727 | false | 0.090909 | 0 | 0.090909 | 0.454545 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a26b0ba270ed84d954ab2446b9fe559597586570 | 708 | py | Python | ve/fwrisc_decode_formal/formal/tests/fwrisc_decode_formal_tests.py | Kamran-10xe/fwrisc | 5c742c60ba620944ba19741c02782fb6b45d514e | [
"Apache-2.0"
] | 10 | 2020-12-23T07:55:03.000Z | 2022-03-01T07:20:39.000Z | ve/fwrisc_decode_formal/formal/tests/fwrisc_decode_formal_tests.py | Kamran-10xe/fwrisc | 5c742c60ba620944ba19741c02782fb6b45d514e | [
"Apache-2.0"
] | 1 | 2021-12-04T06:12:19.000Z | 2022-02-18T13:20:55.000Z | ve/fwrisc_decode_formal/formal/tests/fwrisc_decode_formal_tests.py | Kamran-10xe/fwrisc | 5c742c60ba620944ba19741c02782fb6b45d514e | [
"Apache-2.0"
] | 8 | 2021-02-08T02:25:24.000Z | 2022-03-01T05:13:44.000Z | from unittest.case import TestCase
import vsr
def add_common_options(test):
test.add_runarg("+MODE=cover")
test.add_runarg("+DEPTH=64")
@vsr.test
def i32_btype(test):
# TODO: append test-specific run options, etc
add_common_options(test)
test.add_runarg("+CHECKER=fwrisc_decode_formal_i32_btype_che... | 22.83871 | 70 | 0.764124 | 106 | 708 | 4.726415 | 0.283019 | 0.083832 | 0.155689 | 0.199601 | 0.698603 | 0.592814 | 0.592814 | 0.526946 | 0.526946 | 0.526946 | 0 | 0.029079 | 0.125706 | 708 | 30 | 71 | 23.6 | 0.780291 | 0.060734 | 0 | 0.47619 | 0 | 0 | 0.309091 | 0.278788 | 0 | 0 | 0 | 0.033333 | 0 | 1 | 0.238095 | false | 0 | 0.095238 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a2735599c55e921619b61458eeaca70ab279f7e7 | 1,559 | py | Python | ch06/oop/cached.property.py | ibiscum/Learn-Python-Programming-Third-Edition | c8e0061e97b16c9b55250cc720a8bc7613cb6cca | [
"MIT"
] | null | null | null | ch06/oop/cached.property.py | ibiscum/Learn-Python-Programming-Third-Edition | c8e0061e97b16c9b55250cc720a8bc7613cb6cca | [
"MIT"
] | null | null | null | ch06/oop/cached.property.py | ibiscum/Learn-Python-Programming-Third-Edition | c8e0061e97b16c9b55250cc720a8bc7613cb6cca | [
"MIT"
] | null | null | null | # oop/cached.property.py
from functools import cached_property
class Client:
def __init__(self):
print("Setting up the client...")
def query(self, **kwargs):
print(f"Performing a query: {kwargs}")
class Manager:
@property
def client(self):
return Client()
def perform_qu... | 22.926471 | 65 | 0.631174 | 184 | 1,559 | 5.173913 | 0.277174 | 0.094538 | 0.063025 | 0.056723 | 0.302521 | 0.302521 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0.006914 | 0.257858 | 1,559 | 67 | 66 | 23.268657 | 0.815903 | 0.038486 | 0 | 0.5 | 0 | 0 | 0.058618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.289474 | false | 0 | 0.026316 | 0.131579 | 0.578947 | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a27e74a9c9c48b08798c06fd37325f63342e1f5b | 185 | py | Python | zad3_3.py | kamilhabrych/python-semestr5-lista3 | 3c89be598d3c92283553c0e9f3a93c3c7269a225 | [
"MIT"
] | null | null | null | zad3_3.py | kamilhabrych/python-semestr5-lista3 | 3c89be598d3c92283553c0e9f3a93c3c7269a225 | [
"MIT"
] | null | null | null | zad3_3.py | kamilhabrych/python-semestr5-lista3 | 3c89be598d3c92283553c0e9f3a93c3c7269a225 | [
"MIT"
] | null | null | null | square = [[' '] * 10 for x in range(10)]
for x in range(10):
for y in range(10):
square[x][y] = '*'
for row in square:
print(' '.join([str(elem) for elem in row])) | 23.125 | 48 | 0.524324 | 32 | 185 | 3.03125 | 0.375 | 0.154639 | 0.278351 | 0.164948 | 0.319588 | 0.319588 | 0.319588 | 0 | 0 | 0 | 0 | 0.06015 | 0.281081 | 185 | 8 | 48 | 23.125 | 0.669173 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.