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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6ae09662229134a691809d1755bdee92dd2fd4cf | 123 | py | Python | Codeforces/B_Ternary_Logic.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | Codeforces/B_Ternary_Logic.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | Codeforces/B_Ternary_Logic.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | a,b = map(int,input().split())
ans=0
k=1
while a or b:
ans+=k*(((b%3)-(a%3))%3)
a//=3
b//=3
k*=3
print(ans) | 13.666667 | 30 | 0.455285 | 29 | 123 | 1.931034 | 0.482759 | 0.071429 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0.235772 | 123 | 9 | 31 | 13.666667 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 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 |
0a72c49c4d7315a729f28f37919507d17b91cd9e | 3,270 | py | Python | stormpath/client.py | denibertovic/stormpath-sdk-python | e594a1bb48de3fa8eff26558bf4f72bb056e9d00 | [
"Apache-2.0"
] | null | null | null | stormpath/client.py | denibertovic/stormpath-sdk-python | e594a1bb48de3fa8eff26558bf4f72bb056e9d00 | [
"Apache-2.0"
] | null | null | null | stormpath/client.py | denibertovic/stormpath-sdk-python | e594a1bb48de3fa8eff26558bf4f72bb056e9d00 | [
"Apache-2.0"
] | null | null | null | """Stormpath API client."""
from .auth import Auth
from .data_store import DataStore
from .http import HttpExecutor
from .resources.account import AccountList
from .resources.account_store_mapping import AccountStoreMappingList
from .resources.group import GroupList
from .resources.group_membership import GroupMember... | 35.543478 | 140 | 0.719878 | 384 | 3,270 | 6.028646 | 0.364583 | 0.066523 | 0.069546 | 0.02419 | 0.04406 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000376 | 0.185627 | 3,270 | 91 | 141 | 35.934066 | 0.868945 | 0.482569 | 0 | 0.176471 | 0 | 0 | 0.065116 | 0.013953 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205882 | false | 0 | 0.235294 | 0.176471 | 0.676471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0a84ebc36cb214f8619867ddde5fb9fb53351fa7 | 38 | py | Python | twitter/users/urls.py | davidpodrebarac/twitter | 121bd34789baa553c554acb995c8effc70abfaaf | [
"MIT"
] | null | null | null | twitter/users/urls.py | davidpodrebarac/twitter | 121bd34789baa553c554acb995c8effc70abfaaf | [
"MIT"
] | 3 | 2020-02-11T23:26:43.000Z | 2021-03-19T22:13:27.000Z | twitter/users/urls.py | davidpodrebarac/twitter | 121bd34789baa553c554acb995c8effc70abfaaf | [
"MIT"
] | null | null | null | app_name = "users"
urlpatterns = [
]
| 7.6 | 18 | 0.631579 | 4 | 38 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 4 | 19 | 9.5 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 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 |
0a96dc22ee470152a8077ebe15555a29b6f9b8db | 222 | py | Python | python/trifinger_cameras/__init__.py | open-dynamic-robot-initiative/trifinger_cameras | f115aa84862c44f5a09b19eed38117cbdbdaac83 | [
"BSD-3-Clause"
] | 2 | 2020-09-08T05:55:07.000Z | 2021-04-26T03:14:31.000Z | python/trifinger_cameras/__init__.py | open-dynamic-robot-initiative/trifinger_cameras | f115aa84862c44f5a09b19eed38117cbdbdaac83 | [
"BSD-3-Clause"
] | 1 | 2020-12-03T10:06:33.000Z | 2020-12-03T10:06:33.000Z | python/trifinger_cameras/__init__.py | open-dynamic-robot-initiative/trifinger_cameras | f115aa84862c44f5a09b19eed38117cbdbdaac83 | [
"BSD-3-Clause"
] | 2 | 2020-09-04T16:10:39.000Z | 2021-02-27T17:48:07.000Z | # use "noqa" comments to silence flake8 warnings
# F401 = unused import, F403 = complaint about `import *`.
from . import py_camera_types as camera # noqa: F401
from . import py_tricamera_types as tricamera # noqa: F401
| 44.4 | 59 | 0.747748 | 32 | 222 | 5.0625 | 0.59375 | 0.123457 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071038 | 0.175676 | 222 | 4 | 60 | 55.5 | 0.814208 | 0.563063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0a9f11a54b3546a24d02d4f666f9d4882cae24f9 | 134 | py | Python | auctioning_platform/shipping/shipping/domain/value_objects/__init__.py | nhdinh/smp-modulith | 84c31b36e9b449fe3135f3802c1bbc362e7fb459 | [
"MIT"
] | 299 | 2019-09-13T23:03:29.000Z | 2022-03-24T09:20:43.000Z | auctioning_platform/shipping/shipping/domain/value_objects/__init__.py | winston-won/clean-architecture | 95546b29c9a5ff0e16c7f67b9ab736749e87f8ae | [
"MIT"
] | 109 | 2019-11-03T12:16:16.000Z | 2021-07-26T08:32:28.000Z | auctioning_platform/shipping/shipping/domain/value_objects/__init__.py | winston-won/clean-architecture | 95546b29c9a5ff0e16c7f67b9ab736749e87f8ae | [
"MIT"
] | 38 | 2019-09-13T23:03:34.000Z | 2022-03-24T09:21:10.000Z | __all__ = ["ConsigneeId", "PackageStatus"]
from shipping.domain.value_objects.package_status import PackageStatus
ConsigneeId = int
| 22.333333 | 70 | 0.813433 | 14 | 134 | 7.357143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097015 | 134 | 5 | 71 | 26.8 | 0.85124 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0aa19ca5fd9f089959c73c8fd9c769b7814ac57a | 573 | py | Python | example.py | leon92101/FGO-Automata | cc77525b019d5b35d54d1b917e3bb77462b753ae | [
"MIT"
] | 1 | 2020-08-28T16:31:59.000Z | 2020-08-28T16:31:59.000Z | example.py | Tsuasahi/FGO-Automata | d069b6b0da2b8986ac509d90a86a7b1ea6836fb4 | [
"MIT"
] | null | null | null | example.py | Tsuasahi/FGO-Automata | d069b6b0da2b8986ac509d90a86a7b1ea6836fb4 | [
"MIT"
] | null | null | null | # This is only an example of a battle that I used to test.
from core.Automata import Automata
# init
shiki = Automata("assets/Qp4.png", "assets/eg-sp1.png", (248, 0))
# start
shiki.quick_start()
# battle 1
shiki.select_servant_skill(5)
shiki.select_servant_skill(6)
shiki.select_servant_skill(7)
shiki.select_cards([7])
... | 24.913043 | 65 | 0.77836 | 96 | 573 | 4.427083 | 0.4375 | 0.258824 | 0.254118 | 0.324706 | 0.169412 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038536 | 0.094241 | 573 | 22 | 66 | 26.045455 | 0.780347 | 0.225131 | 0 | 0 | 0 | 0 | 0.071264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 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 |
0abb115d5209ce04a4b58d3972c7e50f82836b77 | 12,923 | py | Python | tests/test_js_issues.py | snoopyjc/ssf | b995cae0e90d38e3758d4944fb144831f9bae0a5 | [
"Apache-2.0"
] | 3 | 2020-10-07T18:28:12.000Z | 2020-10-09T15:24:53.000Z | tests/test_js_issues.py | snoopyjc/ssf | b995cae0e90d38e3758d4944fb144831f9bae0a5 | [
"Apache-2.0"
] | 15 | 2020-10-09T15:23:03.000Z | 2020-10-29T04:34:17.000Z | tests/test_js_issues.py | snoopyjc/ssf | b995cae0e90d38e3758d4944fb144831f9bae0a5 | [
"Apache-2.0"
] | null | null | null |
# Test that we fixed all the issues reported for ssf.js
# See https://github.com/SheetJS/ssf/issues
from ssf import SSF
ssf = SSF()
def test_issue_8(): # International support
assert ssf.format('#,###.00', 1000000, locale='de-DE') == '1.000.000,00'
assert ssf.format('#,###.00', 1000000, locale='fr-FR') ... | 44.408935 | 123 | 0.531842 | 2,011 | 12,923 | 3.372949 | 0.136748 | 0.153914 | 0.243255 | 0.066047 | 0.549904 | 0.506708 | 0.444494 | 0.396432 | 0.379183 | 0.368274 | 0 | 0.195783 | 0.188965 | 12,923 | 290 | 124 | 44.562069 | 0.451388 | 0.026542 | 0 | 0.089744 | 0 | 0 | 0.342534 | 0.11797 | 0 | 0 | 0 | 0 | 0.57265 | 1 | 0.179487 | false | 0.008547 | 0.004274 | 0 | 0.183761 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0abc2bf295e01faf9188fba829ca91cf9f97d8f9 | 208 | py | Python | test/test_static.py | cclauss/pdoc | a04cd4c8b12d7b6cab007980728bfa55b50b9c70 | [
"Unlicense"
] | 4 | 2018-09-08T11:07:33.000Z | 2018-09-21T14:17:50.000Z | test/test_static.py | cclauss/pdoc | a04cd4c8b12d7b6cab007980728bfa55b50b9c70 | [
"Unlicense"
] | null | null | null | test/test_static.py | cclauss/pdoc | a04cd4c8b12d7b6cab007980728bfa55b50b9c70 | [
"Unlicense"
] | null | null | null | import tutils
import pdoc.extract
import pdoc.static
def test_static_single(tmpdir):
with tutils.tdir():
m = pdoc.extract.extract_module("./modules/one")
pdoc.static.html_out(tmpdir, m) | 20.8 | 56 | 0.706731 | 29 | 208 | 4.931034 | 0.586207 | 0.13986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177885 | 208 | 10 | 57 | 20.8 | 0.836257 | 0 | 0 | 0 | 0 | 0 | 0.062201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0abf63a81a0196fb64406f12337e071127f93291 | 275 | py | Python | chibi_requests_site/__init__.py | dem4ply/chibi_requests_site | bfd0872f65b6897dfaf786c9eb80dcb3a11a6fe0 | [
"WTFPL"
] | null | null | null | chibi_requests_site/__init__.py | dem4ply/chibi_requests_site | bfd0872f65b6897dfaf786c9eb80dcb3a11a6fe0 | [
"WTFPL"
] | null | null | null | chibi_requests_site/__init__.py | dem4ply/chibi_requests_site | bfd0872f65b6897dfaf786c9eb80dcb3a11a6fe0 | [
"WTFPL"
] | null | null | null | # -*- coding: utf-8 -*-
"""Top-level package for chibi_requests_site."""
from .site import Site
from .site_paginate import Site_paginate_by_url
__all__ = [ 'Site', 'Site_paginate_by_url' ]
__author__ = """dem4ply"""
__email__ = 'dem4ply@gmail.com'
__version__ = '0.0.1'
| 19.642857 | 48 | 0.705455 | 38 | 275 | 4.447368 | 0.631579 | 0.213018 | 0.142012 | 0.201183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0.134545 | 275 | 13 | 49 | 21.153846 | 0.684874 | 0.236364 | 0 | 0 | 0 | 0 | 0.259804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0abffb3f4338a67a86612824c5f6dd766d376a21 | 403 | py | Python | Class and Statick Methods/04_gym/project/customer.py | milenpenev/SoftUni-OOP | 90f730cb37713f7ca93b1c0ecd0d12aa351247d2 | [
"MIT"
] | 1 | 2021-08-03T19:14:24.000Z | 2021-08-03T19:14:24.000Z | Class and Statick Methods/04_gym/project/customer.py | milenpenev/SoftUni-OOP | 90f730cb37713f7ca93b1c0ecd0d12aa351247d2 | [
"MIT"
] | null | null | null | Class and Statick Methods/04_gym/project/customer.py | milenpenev/SoftUni-OOP | 90f730cb37713f7ca93b1c0ecd0d12aa351247d2 | [
"MIT"
] | null | null | null | class Customer:
id = 1
def __init__(self, name, address, email):
self.name = name
self.address = address
self.email = email
self.id = Customer.id
Customer.id += 1
def __repr__(self):
return f"Customer <{self.id}> {self.name}; Address: {self.address}; Email: ... | 23.705882 | 96 | 0.585608 | 50 | 403 | 4.52 | 0.32 | 0.176991 | 0.097345 | 0.123894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.295285 | 403 | 16 | 97 | 25.1875 | 0.788732 | 0 | 0 | 0 | 0 | 0.076923 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0 | 0.153846 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0ac5e8231670419073cabbdb23412cc2aeee8483 | 3,177 | py | Python | tests/api/test_security.py | Drakulix/knex | ab71c243e105b978ad1a3c1879ec1c8eb15e51b3 | [
"MIT"
] | 7 | 2017-05-24T14:25:24.000Z | 2017-08-19T11:04:11.000Z | tests/api/test_security.py | Drakulix/knex | ab71c243e105b978ad1a3c1879ec1c8eb15e51b3 | [
"MIT"
] | 302 | 2017-05-10T10:42:55.000Z | 2017-09-26T18:47:42.000Z | tests/api/test_security.py | Drakulix/knex | ab71c243e105b978ad1a3c1879ec1c8eb15e51b3 | [
"MIT"
] | 7 | 2017-05-11T21:05:11.000Z | 2017-07-27T13:28:51.000Z | import requests
import os
class TestPOST(object):
def test_main_page(self, flask_api_url):
response = requests.get(flask_api_url + '/')
assert response.status_code == 404
def test_login_fake_user(self, flask_api_url):
session = requests.Session()
response = session.post(flask_... | 42.36 | 84 | 0.595845 | 363 | 3,177 | 4.983471 | 0.206612 | 0.088447 | 0.121614 | 0.13267 | 0.814815 | 0.750138 | 0.692648 | 0.571034 | 0.530127 | 0.530127 | 0 | 0.018014 | 0.283601 | 3,177 | 74 | 85 | 42.932432 | 0.776801 | 0 | 0 | 0.587302 | 0 | 0 | 0.123702 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 1 | 0.142857 | false | 0.079365 | 0.031746 | 0 | 0.190476 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0ad25f87ac1056cde4371ef620f6adbb3b19a4b0 | 500 | py | Python | boa3_test/test_sc/interop_test/storage/StorageFindWithOptions.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/interop_test/storage/StorageFindWithOptions.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/interop_test/storage/StorageFindWithOptions.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from typing import Union
from boa3.builtin import public
from boa3.builtin.interop.iterator import Iterator
from boa3.builtin.interop.storage import find, get_context, put
from boa3.builtin.interop.storage.findoptions import FindOptions
@public
def find_by_prefix(prefix: Union[str, bytes]) -> Iterator:
context =... | 27.777778 | 74 | 0.776 | 71 | 500 | 5.366197 | 0.366197 | 0.08399 | 0.15748 | 0.173228 | 0.152231 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.128 | 500 | 17 | 75 | 29.411765 | 0.864679 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.416667 | 0 | 0.666667 | 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 |
0ad27075889deaf88027c2cc49df67a5aac54a5d | 8,631 | py | Python | unit_tests/add_land_charge/test_review.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2019-10-03T13:58:29.000Z | 2019-10-03T13:58:29.000Z | unit_tests/add_land_charge/test_review.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | null | null | null | unit_tests/add_land_charge/test_review.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2021-04-11T05:24:57.000Z | 2021-04-11T05:24:57.000Z | from maintain_frontend import main
from flask import url_for
from flask_testing import TestCase
from unit_tests.utilities import Utilities
from unittest.mock import patch, call
from maintain_frontend.dependencies.session_api.session import Session
from maintain_frontend.constants.permissions import Permissions
from mai... | 50.770588 | 119 | 0.755648 | 1,123 | 8,631 | 5.460374 | 0.127337 | 0.046967 | 0.078278 | 0.109589 | 0.766471 | 0.746575 | 0.702055 | 0.661611 | 0.632583 | 0.609426 | 0 | 0.004792 | 0.153748 | 8,631 | 169 | 120 | 51.071006 | 0.834748 | 0.073456 | 0 | 0.479339 | 0 | 0 | 0.1687 | 0.110077 | 0 | 0 | 0 | 0 | 0.297521 | 1 | 0.082645 | false | 0 | 0.07438 | 0 | 0.173554 | 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 |
0af0ea18e3dfdff309c6a66d76d1b7cb94e69607 | 30,690 | py | Python | haas/plugins/tests/test_discoverer.py | pzahemszky/haas | d124292862b82813d6e22788a5ca477d2e248936 | [
"BSD-3-Clause"
] | null | null | null | haas/plugins/tests/test_discoverer.py | pzahemszky/haas | d124292862b82813d6e22788a5ca477d2e248936 | [
"BSD-3-Clause"
] | null | null | null | haas/plugins/tests/test_discoverer.py | pzahemszky/haas | d124292862b82813d6e22788a5ca477d2e248936 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2013-2014 Simon Jagoe
# All rights reserved.
#
# This software may be modified and distributed under the terms
# of the 3-clause BSD license. See the LICENSE.txt file for details.
from __future__ import absolute_import, unicode_literals
import os
import shutil
import sys
import... | 34.677966 | 79 | 0.622059 | 3,369 | 30,690 | 5.469576 | 0.071535 | 0.056168 | 0.024909 | 0.022467 | 0.791827 | 0.7438 | 0.713627 | 0.681283 | 0.651707 | 0.634178 | 0 | 0.005267 | 0.270055 | 30,690 | 884 | 80 | 34.717195 | 0.817293 | 0.010785 | 0 | 0.623944 | 0 | 0 | 0.066148 | 0.012405 | 0 | 0 | 0 | 0 | 0.15493 | 1 | 0.121127 | false | 0.005634 | 0.047887 | 0 | 0.195775 | 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 |
e40a521ae36a48dfb67886a957c1b93ca5e30862 | 757 | py | Python | helium/planner/managers/eventmanager.py | HeliumEdu/platform | 54b82a40c21fd14d1b7f37d5f2afb51eea2f8cf5 | [
"MIT"
] | 15 | 2018-01-02T00:44:58.000Z | 2022-03-19T21:38:29.000Z | helium/planner/managers/eventmanager.py | HeliumEdu/platform | 54b82a40c21fd14d1b7f37d5f2afb51eea2f8cf5 | [
"MIT"
] | 327 | 2017-11-24T22:36:07.000Z | 2022-02-10T08:09:08.000Z | helium/planner/managers/eventmanager.py | HeliumEdu/platform | 54b82a40c21fd14d1b7f37d5f2afb51eea2f8cf5 | [
"MIT"
] | 3 | 2018-05-04T17:57:58.000Z | 2021-11-18T13:58:46.000Z | import logging
from helium.common.managers.basemanager import BaseManager, BaseQuerySet
__author__ = "Alex Laird"
__copyright__ = "Copyright 2019, Helium Edu"
__version__ = "1.4.38"
logger = logging.getLogger(__name__)
class EventQuerySet(BaseQuerySet):
def exists_for_user(self, id, user_id):
return se... | 26.103448 | 72 | 0.729194 | 106 | 757 | 4.839623 | 0.358491 | 0.128655 | 0.093567 | 0.124756 | 0.331384 | 0.307992 | 0.265107 | 0.265107 | 0.148148 | 0.148148 | 0 | 0.012678 | 0.166447 | 757 | 28 | 73 | 27.035714 | 0.800317 | 0 | 0 | 0.222222 | 0 | 0 | 0.055482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.111111 | 0.277778 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7c154df238873059658beeb529fd9f4157ef6fd4 | 156 | py | Python | peakdetect_delta/version.py | takaakiaoki/peakdetect_delta | e0786d471fa2ea2cdeb7b9921863f856a675f97a | [
"MIT"
] | 1 | 2019-05-03T18:13:10.000Z | 2019-05-03T18:13:10.000Z | peakdetect_delta/version.py | takaakiaoki/peakdetect_delta | e0786d471fa2ea2cdeb7b9921863f856a675f97a | [
"MIT"
] | null | null | null | peakdetect_delta/version.py | takaakiaoki/peakdetect_delta | e0786d471fa2ea2cdeb7b9921863f856a675f97a | [
"MIT"
] | null | null | null | _version_major = 0
_version_minor = 1
_version_micro = 0
__version__ = "{0:d}.{1:d}.{2:d}".format(
_version_major, _version_minor, _version_micro)
| 22.285714 | 55 | 0.705128 | 23 | 156 | 4.086957 | 0.391304 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 156 | 6 | 56 | 26 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.108974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c47cf927cd673062ea20b73561c78ddf86a195d | 222 | py | Python | external_apps/notification/context_processors.py | davemerwin/blue-channel | 67a1a7fcc512574e6522aa57633f9d69c25c8906 | [
"BSD-3-Clause"
] | 4 | 2016-05-08T06:07:50.000Z | 2021-11-21T19:41:40.000Z | apps/external_apps/notification/context_processors.py | indro/t2c | 56482ad4aed150f29353e054db2c97b567243bf8 | [
"MIT"
] | null | null | null | apps/external_apps/notification/context_processors.py | indro/t2c | 56482ad4aed150f29353e054db2c97b567243bf8 | [
"MIT"
] | 3 | 2017-07-09T02:14:54.000Z | 2021-07-13T19:16:59.000Z | from notification.models import Notice
def notification(request):
if request.user.is_authenticated():
return {'notice_unseen_count': Notice.objects.unseen_count_for(request.user),}
else:
return {}
| 27.75 | 86 | 0.720721 | 26 | 222 | 5.961538 | 0.653846 | 0.141935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 222 | 7 | 87 | 31.714286 | 0.846995 | 0 | 0 | 0 | 0 | 0 | 0.085586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7c4f9487bf1965b3195249fdb035cdc1ef8985ac | 116 | py | Python | exercicios/ex014.py | ArthurLopesMagalhaes/Python-CursoEmVideo | de9006f620a7308c3001fa486b1a4bcd789f7a49 | [
"MIT"
] | null | null | null | exercicios/ex014.py | ArthurLopesMagalhaes/Python-CursoEmVideo | de9006f620a7308c3001fa486b1a4bcd789f7a49 | [
"MIT"
] | null | null | null | exercicios/ex014.py | ArthurLopesMagalhaes/Python-CursoEmVideo | de9006f620a7308c3001fa486b1a4bcd789f7a49 | [
"MIT"
] | null | null | null | c = float(input('DIgite a temperatura em ºC:'))
f = c * 1.8 + 32
print(f'A temperatura de {c} ºC é igual a {f} ºF.') | 38.666667 | 51 | 0.62069 | 25 | 116 | 2.88 | 0.68 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0.198276 | 116 | 3 | 51 | 38.666667 | 0.731183 | 0 | 0 | 0 | 0 | 0 | 0.581197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c598708b4d9e384308667d6bb5462f6da2cb545 | 7,259 | py | Python | tests/base/memcache_socket_test.py | RevenueCat/meta-memcache-py | 755ecfc4cfbb029d3435590c5f9aa8a8aa2a36e3 | [
"MIT"
] | null | null | null | tests/base/memcache_socket_test.py | RevenueCat/meta-memcache-py | 755ecfc4cfbb029d3435590c5f9aa8a8aa2a36e3 | [
"MIT"
] | 4 | 2022-01-10T23:06:43.000Z | 2022-03-08T22:49:39.000Z | tests/base/memcache_socket_test.py | RevenueCat/meta-memcache-py | 755ecfc4cfbb029d3435590c5f9aa8a8aa2a36e3 | [
"MIT"
] | null | null | null | import socket
from typing import Callable, List
import pytest
from pytest_mock import MockerFixture
from meta_memcache.base.memcache_socket import MemcacheSocket
from meta_memcache.errors import MemcacheError
from meta_memcache.protocol import (
Conflict,
Flag,
IntFlag,
Miss,
NotStored,
Server... | 31.021368 | 87 | 0.664141 | 1,029 | 7,259 | 4.487852 | 0.139942 | 0.082287 | 0.056301 | 0.078822 | 0.732352 | 0.714162 | 0.708099 | 0.690992 | 0.666739 | 0.656994 | 0 | 0.04141 | 0.218212 | 7,259 | 233 | 88 | 31.154506 | 0.772335 | 0.013087 | 0 | 0.582915 | 0 | 0 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0.256281 | 1 | 0.060302 | false | 0 | 0.035176 | 0.005025 | 0.115578 | 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 |
7c6e408a5d5c34f5615431e0c4c3051cd3459f05 | 36 | py | Python | modules/search/search_config.py | 276793422/attack-website | 9be8abbb8d77c3c73243cae2689f1af9725d19f9 | [
"Apache-2.0"
] | 327 | 2018-11-22T07:01:30.000Z | 2022-03-30T09:25:02.000Z | modules/search/search_config.py | 276793422/attack-website | 9be8abbb8d77c3c73243cae2689f1af9725d19f9 | [
"Apache-2.0"
] | 239 | 2019-02-11T13:47:44.000Z | 2022-03-30T06:20:47.000Z | modules/search/search_config.py | 276793422/attack-website | 9be8abbb8d77c3c73243cae2689f1af9725d19f9 | [
"Apache-2.0"
] | 111 | 2019-01-25T12:58:56.000Z | 2022-03-30T09:25:04.000Z | module_name = "Search"
priority = 17 | 18 | 22 | 0.75 | 5 | 36 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.138889 | 36 | 2 | 23 | 18 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 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 |
7ca964993e4a98ab440156703ea62f28b24c9eee | 163 | py | Python | nales/actions.py | Jojain/Nales | dc1073967ba1a8c5bbc226dbfe7b2fb8afd44bd9 | [
"MIT"
] | 5 | 2022-03-07T23:21:42.000Z | 2022-03-29T17:40:36.000Z | nales/actions.py | Jojain/Nales | dc1073967ba1a8c5bbc226dbfe7b2fb8afd44bd9 | [
"MIT"
] | 3 | 2022-03-29T17:33:27.000Z | 2022-03-29T17:40:10.000Z | nales/actions.py | Jojain/Nales | dc1073967ba1a8c5bbc226dbfe7b2fb8afd44bd9 | [
"MIT"
] | null | null | null | from PyQt5.QtWidgets import QAction
class FitViewAction(QAction):
def __init__(self, parent):
super().__init__(parent)
self.setShortcut("f")
| 20.375 | 35 | 0.687117 | 18 | 163 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.202454 | 163 | 7 | 36 | 23.285714 | 0.792308 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 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 |
7cc267467d3d10f091be2f09fab75bcd505c9b66 | 230 | py | Python | Source_Codes/checking.py | nirajbasnet/dynamics_modeling_of_self_driving_car | 1008a653806a3fa0b8369b6da6464993042d41a3 | [
"MIT"
] | null | null | null | Source_Codes/checking.py | nirajbasnet/dynamics_modeling_of_self_driving_car | 1008a653806a3fa0b8369b6da6464993042d41a3 | [
"MIT"
] | null | null | null | Source_Codes/checking.py | nirajbasnet/dynamics_modeling_of_self_driving_car | 1008a653806a3fa0b8369b6da6464993042d41a3 | [
"MIT"
] | null | null | null | # Created by Aashish Adhikari at 9:56 PM 3/11/2020
import numpy as np
L = 2
N = 5
A = np.random.rand(L,L)
print(A)
print("-----------------")
print(np.tile(A,(N, 1, 1)))
print("-----------------")
print(np.tile(A,(N, 2, 2)))
| 14.375 | 50 | 0.513043 | 43 | 230 | 2.744186 | 0.581395 | 0.169492 | 0.20339 | 0.271186 | 0.305085 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 0.156522 | 230 | 15 | 51 | 15.333333 | 0.525773 | 0.208696 | 0 | 0.222222 | 0 | 0 | 0.188889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.555556 | 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 |
7ce0694732797ad4a5c68c5b00b30351e4d019af | 390 | py | Python | tests/conftest.py | vinitX/mpnum | 92549446687da6366246f64952c65789be3031bf | [
"BSD-3-Clause"
] | 36 | 2016-04-06T10:28:02.000Z | 2019-08-12T00:12:57.000Z | tests/conftest.py | vinitX/mpnum | 92549446687da6366246f64952c65789be3031bf | [
"BSD-3-Clause"
] | 39 | 2016-03-09T15:52:36.000Z | 2019-05-14T03:25:49.000Z | tests/conftest.py | vinitX/mpnum | 92549446687da6366246f64952c65789be3031bf | [
"BSD-3-Clause"
] | 13 | 2016-04-06T10:28:05.000Z | 2018-09-15T04:32:21.000Z | import numpy as np
import pytest
def pytest_namespace():
return dict(
# nr_sites, local_dim, rank
MP_TEST_PARAMETERS=[(1, 7, np.nan), (2, 3, 3), (3, 2, 4), (6, 2, 4),
(4, 3, 5), (5, 2, 1)],
MP_TEST_DTYPES=[np.float_, np.complex_]
)
@pytest.fixture(scope="m... | 22.941176 | 76 | 0.561538 | 57 | 390 | 3.684211 | 0.631579 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 0.276923 | 390 | 16 | 77 | 24.375 | 0.648936 | 0.064103 | 0 | 0 | 0 | 0 | 0.016529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | true | 0 | 0.181818 | 0.181818 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7cf6e386fe292a47fa440d2b34fc1e18285635d1 | 271 | py | Python | PythonExercicios/ex006.py | Luis-Emanuel/Python | 92936dfb005b9755a53425d16c3ff54119eebe78 | [
"MIT"
] | null | null | null | PythonExercicios/ex006.py | Luis-Emanuel/Python | 92936dfb005b9755a53425d16c3ff54119eebe78 | [
"MIT"
] | null | null | null | PythonExercicios/ex006.py | Luis-Emanuel/Python | 92936dfb005b9755a53425d16c3ff54119eebe78 | [
"MIT"
] | null | null | null | #Crie um algoritmo que leia um número e mostre seu dobro, triplo e raiz quadrada.
num = int(input('Digite um número? '))
print('O dobro de {} vale {} \nO triplo de {} vale {} \nA raiz quadrada de {} e igual a {:.2f}'.format(num,(num*2), num, (num*3), num, (num**(1/2))))
| 67.75 | 149 | 0.638376 | 49 | 271 | 3.530612 | 0.612245 | 0.104046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.169742 | 271 | 3 | 150 | 90.333333 | 0.746667 | 0.295203 | 0 | 0 | 0 | 0.5 | 0.552632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6b023a20205d4bd3f76a8d3a425afbcba0c4664d | 273 | py | Python | dxtorchutils/ImageClassification/models/__init__.py | Ian-Dx/DxTorchUtils | af1d522f58f1b7baed8f661757dd45c13343ddcd | [
"MIT"
] | 4 | 2020-12-14T15:35:11.000Z | 2021-05-26T07:16:10.000Z | build/lib/dxtorchutils/ImageClassification/models/__init__.py | Ian-Dx/DxTorchUtils | af1d522f58f1b7baed8f661757dd45c13343ddcd | [
"MIT"
] | null | null | null | build/lib/dxtorchutils/ImageClassification/models/__init__.py | Ian-Dx/DxTorchUtils | af1d522f58f1b7baed8f661757dd45c13343ddcd | [
"MIT"
] | null | null | null | __all__ = [
"AlexNet", "GoogLeNet", "LeNet5", "ResNet", "VGG"
]
from .AlexNet import AlexNet
from .GoogLeNet import GoogLeNet
from .LeNet5 import LeNet5
from .VGG import VGG11, VGG13, VGG16, VGG19
from .ResNet import ResNet18, ResNet34, ResNet50, ResNet101, ResNet152
| 27.3 | 70 | 0.74359 | 33 | 273 | 6.030303 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099138 | 0.150183 | 273 | 9 | 71 | 30.333333 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.113553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6b0c0de919374b09b4737d371897e5598f2292b5 | 4,800 | py | Python | aliyun-python-sdk-hbase/aliyunsdkhbase/request/v20190101/CreateClusterRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 1,001 | 2015-07-24T01:32:41.000Z | 2022-03-25T01:28:18.000Z | aliyun-python-sdk-hbase/aliyunsdkhbase/request/v20190101/CreateClusterRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 363 | 2015-10-20T03:15:00.000Z | 2022-03-08T12:26:19.000Z | aliyun-python-sdk-hbase/aliyunsdkhbase/request/v20190101/CreateClusterRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 682 | 2015-09-22T07:19:02.000Z | 2022-03-22T09:51:46.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 31.578947 | 76 | 0.764167 | 614 | 4,800 | 5.752443 | 0.203583 | 0.033975 | 0.079275 | 0.096263 | 0.175538 | 0.175538 | 0.175538 | 0 | 0 | 0 | 0 | 0.002861 | 0.12625 | 4,800 | 152 | 77 | 31.578947 | 0.839294 | 0.157083 | 0 | 0 | 0 | 0 | 0.134374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.455556 | false | 0 | 0.022222 | 0.222222 | 0.711111 | 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 |
6b315ade9780697cd978b860fea96a1451392525 | 752 | py | Python | blogsite/request.py | Naomi-sigu/blogsite | 2fe4e70bcb4559886b85b76fb84776825f9c22a8 | [
"MIT"
] | null | null | null | blogsite/request.py | Naomi-sigu/blogsite | 2fe4e70bcb4559886b85b76fb84776825f9c22a8 | [
"MIT"
] | null | null | null | blogsite/request.py | Naomi-sigu/blogsite | 2fe4e70bcb4559886b85b76fb84776825f9c22a8 | [
"MIT"
] | null | null | null | import os
import urllib.request
import json
from app.models import Quote
def get_quote():
get_quote_url = 'http://quotes.stormconsultancy.co.uk/random.json'
with urllib.request.urlopen(get_quote_url) as url:
quote_details_data = url.read()
quote_details_response = json.loads(quote_detail... | 30.08 | 70 | 0.664894 | 91 | 752 | 5.21978 | 0.373626 | 0.202105 | 0.252632 | 0.193684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25133 | 752 | 25 | 71 | 30.08 | 0.843694 | 0 | 0 | 0 | 0 | 0 | 0.092961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.222222 | 0 | 0.333333 | 0.055556 | 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 |
6b3fd9a82cf58dde043933e421baa0fc2d31c359 | 305 | py | Python | emrichen/tags/var.py | dkreuer/emrichen | ef2b2ad5cd828a9dfed6d7924cee207e13598b0f | [
"MIT"
] | 62 | 2019-01-17T18:47:45.000Z | 2022-03-23T10:00:09.000Z | emrichen/tags/var.py | dkreuer/emrichen | ef2b2ad5cd828a9dfed6d7924cee207e13598b0f | [
"MIT"
] | 24 | 2019-01-18T10:05:36.000Z | 2022-02-20T17:46:36.000Z | emrichen/tags/var.py | dkreuer/emrichen | ef2b2ad5cd828a9dfed6d7924cee207e13598b0f | [
"MIT"
] | 10 | 2019-02-12T23:58:29.000Z | 2022-02-18T09:42:35.000Z | from ..context import Context
from .base import BaseTag
class Var(BaseTag):
"""
arguments: Variable name
example: "`!Var image_name`"
description: Replaced with the value of the variable.
"""
def enrich(self, context: Context):
return context.enrich(context[self.data])
| 21.785714 | 57 | 0.67541 | 37 | 305 | 5.540541 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219672 | 305 | 13 | 58 | 23.461538 | 0.861345 | 0.35082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
86091851f1a10be1de5e40cec34cd59649ee9939 | 440 | py | Python | tsheets/repos/last_modified_timestamps.py | eturpin/api_python | fac15d06ef2510972ed3c812bb16a675d4e30e3c | [
"MIT"
] | 6 | 2018-12-16T19:53:57.000Z | 2020-11-22T12:36:57.000Z | tsheets/repos/last_modified_timestamps.py | eturpin/api_python | fac15d06ef2510972ed3c812bb16a675d4e30e3c | [
"MIT"
] | 6 | 2019-02-01T13:51:59.000Z | 2020-11-23T22:42:57.000Z | tsheets/repos/last_modified_timestamps.py | eturpin/api_python | fac15d06ef2510972ed3c812bb16a675d4e30e3c | [
"MIT"
] | 8 | 2018-12-16T19:53:48.000Z | 2021-11-24T17:08:04.000Z | from tsheets.repository import Repository
from datetime import date, datetime
import tsheets.models as models
class LastModifiedTimestamps(Repository):
pass
LastModifiedTimestamps.add_me_to_subcls()
LastModifiedTimestamps.add_url("/last_modified_timestamps")
LastModifiedTimestamps.add_model(models.LastModifiedT... | 29.333333 | 79 | 0.852273 | 45 | 440 | 8.155556 | 0.6 | 0.27248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070455 | 440 | 14 | 80 | 31.428571 | 0.897311 | 0 | 0 | 0 | 0 | 0 | 0.086364 | 0.056818 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.1 | 0.3 | 0 | 0.4 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
86392e0625c2adb6a3c31a38fc8064d3e2210d0e | 13,938 | py | Python | tests/mag_compare.py | mattkwiecien/balutils | 9dcd5419a796e23df671fc4dc22c78cf7e2c61fc | [
"MIT"
] | null | null | null | tests/mag_compare.py | mattkwiecien/balutils | 9dcd5419a796e23df671fc4dc22c78cf7e2c61fc | [
"MIT"
] | null | null | null | tests/mag_compare.py | mattkwiecien/balutils | 9dcd5419a796e23df671fc4dc22c78cf7e2c61fc | [
"MIT"
] | 1 | 2021-01-23T17:31:34.000Z | 2021-01-23T17:31:34.000Z | import numpy as np
# import fitsio
# import os
import matplotlib.pyplot as plt
import balutils.stacked_catalogs as sc
# Files for Run1:
#run_name = 'Run1'
#df_file = '/data/des81.a/data/severett/tests/bright_objs/Y3A2_MISC_MOF_V1_COADD_TRUTH_MAGS.fits'
#inj_file = '/data/des81.a/data/severett/tests/bright_objs/BALR... | 36.970822 | 134 | 0.501865 | 1,809 | 13,938 | 3.618574 | 0.114981 | 0.044302 | 0.030553 | 0.038497 | 0.779866 | 0.729606 | 0.687443 | 0.666819 | 0.666819 | 0.653529 | 0 | 0.032524 | 0.355862 | 13,938 | 376 | 135 | 37.069149 | 0.696592 | 0.121682 | 0 | 0.684713 | 0 | 0.009554 | 0.223241 | 0.04111 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.009554 | null | null | 0.070064 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
863c0c02bb99e728169da6f3b2675c093dd3363d | 192 | py | Python | frappe-bench/apps/erpnext/erpnext/patches/v7_2/update_attendance_docstatus.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | null | null | null | frappe-bench/apps/erpnext/erpnext/patches/v7_2/update_attendance_docstatus.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | null | null | null | frappe-bench/apps/erpnext/erpnext/patches/v7_2/update_attendance_docstatus.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | null | null | null | import frappe
def execute():
frappe.reload_doc("education", "doctype", "student_attendance")
frappe.db.sql('''
update `tabStudent Attendance` set
docstatus=0
where
docstatus=1''') | 21.333333 | 64 | 0.713542 | 23 | 192 | 5.869565 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012121 | 0.140625 | 192 | 9 | 65 | 21.333333 | 0.806061 | 0 | 0 | 0 | 0 | 0 | 0.564767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.125 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
864a57d71ecf0e80d9060ea5c4a0b3b0b091efc3 | 167 | py | Python | regression_examples.py | NuriaGutierrez/regression_examples | 8845a7609b6c80889c939983d547b3e97720ca1b | [
"MIT"
] | null | null | null | regression_examples.py | NuriaGutierrez/regression_examples | 8845a7609b6c80889c939983d547b3e97720ca1b | [
"MIT"
] | null | null | null | regression_examples.py | NuriaGutierrez/regression_examples | 8845a7609b6c80889c939983d547b3e97720ca1b | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import scipy as sp
from utils import f
import matplotlib.pyplot as plt
a = np.array([1,2,3])
x,y = f(100,noise=3)
plt.plot(x,y)
| 18.555556 | 31 | 0.724551 | 37 | 167 | 3.27027 | 0.648649 | 0.033058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.161677 | 167 | 8 | 32 | 20.875 | 0.814286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
865064b20e5035dcf188c550dd074b982b1f70f5 | 4,678 | py | Python | app/models.py | qsnocode/a-blog-webapp-based-on-flask | c350da300d3e139d26ab7fca73ae9f1a71606040 | [
"MIT"
] | null | null | null | app/models.py | qsnocode/a-blog-webapp-based-on-flask | c350da300d3e139d26ab7fca73ae9f1a71606040 | [
"MIT"
] | null | null | null | app/models.py | qsnocode/a-blog-webapp-based-on-flask | c350da300d3e139d26ab7fca73ae9f1a71606040 | [
"MIT"
] | null | null | null | import logging; logging.basicConfig(level=logging.INFO)
from datetime import datetime
from . import db, login_manager
from flask_login import UserMixin
from werkzeug.security import generate_password_hash, check_password_hash
from markdown import markdown
import bleach
class Follow(db.Model):
__tablena... | 32.262069 | 137 | 0.695383 | 644 | 4,678 | 4.892857 | 0.218944 | 0.055855 | 0.069819 | 0.043161 | 0.498255 | 0.46271 | 0.439226 | 0.414472 | 0.353221 | 0.268486 | 0 | 0.003834 | 0.163745 | 4,678 | 145 | 138 | 32.262069 | 0.801636 | 0 | 0 | 0.268519 | 1 | 0 | 0.083572 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138889 | false | 0.083333 | 0.064815 | 0.064815 | 0.592593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
865a41678769439035e0a7e9cb3ba6058a4f33f5 | 466 | py | Python | src/yellowdog_client/model/node_run_command_action.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/node_run_command_action.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/node_run_command_action.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass, field
from typing import Dict, List, Optional
from .node_action import NodeAction
from .node_id_filter import NodeIdFilter
@dataclass
class NodeRunCommandAction(NodeAction):
action: str = field(default="RUN_COMMAND", init=False)
path: str
arguments: Optional[List[str]] ... | 29.125 | 58 | 0.753219 | 56 | 466 | 6.196429 | 0.5 | 0.060519 | 0.086455 | 0.10951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156652 | 466 | 15 | 59 | 31.066667 | 0.882952 | 0 | 0 | 0 | 0 | 0 | 0.023605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.916667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
865cc46b62c7cb5383a2e328ecbf1c1a6c18a403 | 2,805 | py | Python | handlers/kbeServer/XREditor/Response/xr_response_mail.py | iamjing66/tornaodo_sdk | 242a852d3231e5798aa357a17e5638c7dc0567b9 | [
"MIT"
] | null | null | null | handlers/kbeServer/XREditor/Response/xr_response_mail.py | iamjing66/tornaodo_sdk | 242a852d3231e5798aa357a17e5638c7dc0567b9 | [
"MIT"
] | null | null | null | handlers/kbeServer/XREditor/Response/xr_response_mail.py | iamjing66/tornaodo_sdk | 242a852d3231e5798aa357a17e5638c7dc0567b9 | [
"MIT"
] | null | null | null | import Global
from methods.DBManager import DBManager
from handlers.kbeServer.XREditor.Interface import xr_interface_mail
#获取邮件列表
def Transactions_Code_6001(self_uid,self_username,languageStr,json_data):
#回调json
json_back = {
"code" : 0,
"msg": "",
"pam": ""
}
#logging.info("get... | 25.044643 | 80 | 0.597148 | 346 | 2,805 | 4.609827 | 0.193642 | 0.105329 | 0.060188 | 0.065204 | 0.774922 | 0.774922 | 0.753605 | 0.689655 | 0.638245 | 0.638245 | 0 | 0.018331 | 0.260963 | 2,805 | 112 | 81 | 25.044643 | 0.751085 | 0.200357 | 0 | 0.676923 | 0 | 0 | 0.051131 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.046154 | 0 | 0.2 | 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 |
865e892e880b964d0491508151be9f9434c7a4ed | 2,037 | py | Python | saspy/sasexceptions.py | metllord/saspy | 324dd76c5769355f4130186c99b5e907350ca205 | [
"Apache-2.0"
] | 317 | 2016-04-01T17:50:29.000Z | 2022-03-04T14:06:38.000Z | saspy/sasexceptions.py | metllord/saspy | 324dd76c5769355f4130186c99b5e907350ca205 | [
"Apache-2.0"
] | 361 | 2016-04-25T16:04:06.000Z | 2022-03-30T13:52:03.000Z | saspy/sasexceptions.py | metllord/saspy | 324dd76c5769355f4130186c99b5e907350ca205 | [
"Apache-2.0"
] | 167 | 2016-04-01T18:45:38.000Z | 2022-02-24T21:24:26.000Z | #
# Copyright SAS Institute
#
# Licensed under the Apache License, Version 2.0 (the License);
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... | 27.90411 | 89 | 0.66323 | 267 | 2,037 | 4.868914 | 0.397004 | 0.059231 | 0.073846 | 0.092308 | 0.226923 | 0.165385 | 0.165385 | 0.145385 | 0.145385 | 0.145385 | 0 | 0.002551 | 0.230241 | 2,037 | 72 | 90 | 28.291667 | 0.826531 | 0.270987 | 0 | 0.361111 | 0 | 0 | 0.158254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.138889 | 0.666667 | 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 |
8661b7c4dcedaa0caf3503fdbb1abdbc231eec78 | 2,895 | py | Python | app/admin/forms.py | biefeng/profile | daa3d4e185db3008e3ad649f4249ed0b3945ad3d | [
"Apache-2.0"
] | null | null | null | app/admin/forms.py | biefeng/profile | daa3d4e185db3008e3ad649f4249ed0b3945ad3d | [
"Apache-2.0"
] | 4 | 2020-07-02T04:14:57.000Z | 2020-07-02T04:17:05.000Z | app/admin/forms.py | biefeng/profile | daa3d4e185db3008e3ad649f4249ed0b3945ad3d | [
"Apache-2.0"
] | null | null | null | # coding:utf-8
from flask_wtf import Form
from wtforms import SelectField, StringField, TextAreaField, SubmitField, \
PasswordField
from wtforms.validators import DataRequired, Length, Email, EqualTo
from ..main.forms import CommentForm
class CommonForm(Form):
types = SelectField(u'博文分类', coerce=int, validato... | 33.275862 | 89 | 0.738515 | 283 | 2,895 | 7.537102 | 0.371025 | 0.278481 | 0.151899 | 0.106892 | 0.129395 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005924 | 0.125389 | 2,895 | 86 | 90 | 33.662791 | 0.836493 | 0.034542 | 0 | 0 | 0 | 0 | 0.035458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.153846 | 0.076923 | 0 | 0.942308 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
866c94fb7941431ec9960a2716d24c526c4fde97 | 162 | py | Python | tests/test_valid_palindrome.py | dhanraj-vedanth/Leetcode | b8b3283fc443b9ead769f8e3c720fc6c5d7633a6 | [
"MIT"
] | null | null | null | tests/test_valid_palindrome.py | dhanraj-vedanth/Leetcode | b8b3283fc443b9ead769f8e3c720fc6c5d7633a6 | [
"MIT"
] | null | null | null | tests/test_valid_palindrome.py | dhanraj-vedanth/Leetcode | b8b3283fc443b9ead769f8e3c720fc6c5d7633a6 | [
"MIT"
] | null | null | null | from valid_palindrome_125.main import Solution
def test_positive_case():
s = Solution()
assert s.isPalindrome("A man, a plan, a canal: Panama") is True
| 23.142857 | 67 | 0.728395 | 25 | 162 | 4.56 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022556 | 0.179012 | 162 | 6 | 68 | 27 | 0.834586 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86a7452921d3ec9af07c2d81adaae203a3764137 | 188 | py | Python | test/test_util.py | westonsteimel/pip-audit | 3b29e66418de9236c92b3ffaa254ae9def2bdcbf | [
"Apache-2.0"
] | 447 | 2021-09-02T17:06:18.000Z | 2022-03-28T20:58:22.000Z | test/test_util.py | westonsteimel/pip-audit | 3b29e66418de9236c92b3ffaa254ae9def2bdcbf | [
"Apache-2.0"
] | 177 | 2021-09-02T16:45:42.000Z | 2022-03-29T14:19:11.000Z | test/test_util.py | westonsteimel/pip-audit | 3b29e66418de9236c92b3ffaa254ae9def2bdcbf | [
"Apache-2.0"
] | 25 | 2021-09-13T16:04:23.000Z | 2022-03-21T17:47:28.000Z | from packaging.version import Version
import pip_audit._util as util
def test_python_version():
v = util.python_version()
assert v is not None
assert isinstance(v, Version)
| 18.8 | 37 | 0.744681 | 28 | 188 | 4.821429 | 0.607143 | 0.192593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 188 | 9 | 38 | 20.888889 | 0.888158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.333333 | 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 |
86bb41a169dca1cafc1fe0ca98e2d8179b03ac36 | 1,614 | py | Python | ibm_watson/websocket/synthesize_callback.py | knishika/watson-developer-cloud-python-sdk | 83370b74e19ebdb851af212ef75f470551b59c94 | [
"Apache-2.0"
] | 1 | 2020-08-31T11:34:32.000Z | 2020-08-31T11:34:32.000Z | ibm_watson/websocket/synthesize_callback.py | johnjdailey/python-sdk | 83370b74e19ebdb851af212ef75f470551b59c94 | [
"Apache-2.0"
] | null | null | null | ibm_watson/websocket/synthesize_callback.py | johnjdailey/python-sdk | 83370b74e19ebdb851af212ef75f470551b59c94 | [
"Apache-2.0"
] | 1 | 2017-07-03T07:30:49.000Z | 2017-07-03T07:30:49.000Z | # coding: utf-8
# (C) Copyright IBM Corp. 2018, 2019.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | 28.315789 | 111 | 0.654895 | 213 | 1,614 | 4.882629 | 0.492958 | 0.033654 | 0.0625 | 0.076923 | 0.051923 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011017 | 0.268897 | 1,614 | 56 | 112 | 28.821429 | 0.870339 | 0.63259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.8 | false | 0.1 | 0 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
86dae7068ce48cce98d5840114eb891a057458ae | 180 | py | Python | pygame/PygameSuperMario/source/setup.py | Tom-Li1/py_modules | 402b2e1ea0cfa5e6e3d8a13f45efdffc7495e91f | [
"MIT"
] | null | null | null | pygame/PygameSuperMario/source/setup.py | Tom-Li1/py_modules | 402b2e1ea0cfa5e6e3d8a13f45efdffc7495e91f | [
"MIT"
] | null | null | null | pygame/PygameSuperMario/source/setup.py | Tom-Li1/py_modules | 402b2e1ea0cfa5e6e3d8a13f45efdffc7495e91f | [
"MIT"
] | null | null | null | import pygame
from . import constants as C
from . import tools
pygame.init()
SCREEN = pygame.display.set_mode(C.SCREEN_SIZE)
GRAPHICS = tools.load_graphics(r'resources/graphics')
| 22.5 | 53 | 0.788889 | 27 | 180 | 5.148148 | 0.62963 | 0.143885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 180 | 7 | 54 | 25.714286 | 0.86875 | 0 | 0 | 0 | 0 | 0 | 0.1 | 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 |
81062df9a39d7a85170204677b0039db741b9e6b | 1,857 | py | Python | tests/test_mongodb_uri.py | jeverling/flask-mongoalchemy | edccc58ab73695a435c653e9f5221f9e4229b143 | [
"BSD-3-Clause"
] | 1 | 2015-02-18T16:55:22.000Z | 2015-02-18T16:55:22.000Z | tests/test_mongodb_uri.py | jeverling/flask-mongoalchemy | edccc58ab73695a435c653e9f5221f9e4229b143 | [
"BSD-3-Clause"
] | null | null | null | tests/test_mongodb_uri.py | jeverling/flask-mongoalchemy | edccc58ab73695a435c653e9f5221f9e4229b143 | [
"BSD-3-Clause"
] | null | null | null | from tests import BaseTestCase
from flask import Flask
from nose.tools import assert_equals
class MongoDBURITestCase(BaseTestCase):
"MongoDB URI generation"
def setup(self):
self.app = Flask(__name__)
self.app.config['MONGOALCHEMY_DATABASE'] = 'test'
def should_use_localhost_for_server_an... | 48.868421 | 107 | 0.756058 | 249 | 1,857 | 5.204819 | 0.240964 | 0.075617 | 0.084877 | 0.154321 | 0.701389 | 0.701389 | 0.701389 | 0.626543 | 0.533951 | 0.533951 | 0 | 0.021465 | 0.147011 | 1,857 | 37 | 108 | 50.189189 | 0.796717 | 0.011847 | 0 | 0.3 | 0 | 0 | 0.225094 | 0.138934 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0.1 | 0.266667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
81090970d3e2ffebd4ddf36f5be01556eb6c9643 | 67 | py | Python | src/tfkerassurgeon/__init__.py | Raukk/tf-keras-surgeon | 4bd5bbee1619970f6eab9fd10baa7a7b95799fa3 | [
"MIT"
] | 33 | 2019-06-24T09:21:28.000Z | 2021-11-02T12:12:23.000Z | src/tfkerassurgeon/__init__.py | Raukk/tf-keras-surgeon | 4bd5bbee1619970f6eab9fd10baa7a7b95799fa3 | [
"MIT"
] | 10 | 2019-06-21T06:24:52.000Z | 2021-09-14T08:42:22.000Z | src/tfkerassurgeon/__init__.py | Raukk/tf-keras-surgeon | 4bd5bbee1619970f6eab9fd10baa7a7b95799fa3 | [
"MIT"
] | 9 | 2019-08-22T16:28:50.000Z | 2022-01-21T17:28:09.000Z | from tfkerassurgeon.surgeon import Surgeon
__version__ = '0.2.01'
| 16.75 | 42 | 0.791045 | 9 | 67 | 5.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.119403 | 67 | 3 | 43 | 22.333333 | 0.762712 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 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 |
810d92e552a55c291876cc122a0763a2a1162c66 | 955 | py | Python | pymagnitude/third_party/allennlp/tests/models/esim_test.py | tpeng/magnitude | aec98628b5547773ca8c4114ec6d1ad51e21b230 | [
"MIT"
] | 1,520 | 2018-03-01T13:37:49.000Z | 2022-03-25T11:40:20.000Z | pymagnitude/third_party/allennlp/tests/models/esim_test.py | tpeng/magnitude | aec98628b5547773ca8c4114ec6d1ad51e21b230 | [
"MIT"
] | 87 | 2018-03-03T15:12:50.000Z | 2022-02-21T15:24:12.000Z | pymagnitude/third_party/allennlp/tests/models/esim_test.py | tpeng/magnitude | aec98628b5547773ca8c4114ec6d1ad51e21b230 | [
"MIT"
] | 121 | 2018-03-03T08:40:53.000Z | 2022-03-16T05:19:38.000Z | # pylint: disable=no-self-use,invalid-name
from __future__ import division
from __future__ import absolute_import
import numpy
from numpy.testing import assert_almost_equal
from allennlp.common.testing import ModelTestCase
class TestESIM(ModelTestCase):
def setUp(self):
super(TestESIM, self).setUp()
... | 34.107143 | 101 | 0.73822 | 131 | 955 | 5.007634 | 0.519084 | 0.032012 | 0.04878 | 0.051829 | 0.085366 | 0.085366 | 0.085366 | 0 | 0 | 0 | 0 | 0.005038 | 0.168586 | 955 | 27 | 102 | 35.37037 | 0.821159 | 0.041885 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0.055556 | 0.277778 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
811e0fca5f51d6509a5f8ac912b9cd4623dc6d90 | 57 | py | Python | homeassistant/components/notify_events/const.py | tbarbette/core | 8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | homeassistant/components/notify_events/const.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | homeassistant/components/notify_events/const.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Const for notify_events."""
DOMAIN = "notify_events"
| 14.25 | 30 | 0.701754 | 7 | 57 | 5.428571 | 0.714286 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 57 | 3 | 31 | 19 | 0.76 | 0.421053 | 0 | 0 | 0 | 0 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d4a75bbde530b12035f7aafaddc4f18130cfe0ad | 377 | py | Python | tembo/utils/__init__.py | tembo-core/tembo-notes | 3905c61b4da1734d256cf993cc1d265e2a072ec4 | [
"0BSD"
] | 1 | 2021-11-11T18:48:53.000Z | 2021-11-11T18:48:53.000Z | tembo/utils/__init__.py | tembo-core/tembo-notes | 3905c61b4da1734d256cf993cc1d265e2a072ec4 | [
"0BSD"
] | 14 | 2021-11-15T22:11:21.000Z | 2021-12-26T19:55:20.000Z | tembo/utils/__init__.py | tembo-core/tembo-notes | 3905c61b4da1734d256cf993cc1d265e2a072ec4 | [
"0BSD"
] | 1 | 2021-11-21T22:35:22.000Z | 2021-11-21T22:35:22.000Z | """Subpackage containing utility objects."""
from dataclasses import dataclass
@dataclass
class Success:
"""
A Tembo success object.
This is returned from [Page][tembo.journal.pages.ScopedPage] methods such as
[save_to_disk()][tembo.journal.pages.ScopedPage.save_to_disk]
Attributes:
mes... | 19.842105 | 80 | 0.69496 | 45 | 377 | 5.733333 | 0.644444 | 0.093023 | 0.131783 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201592 | 377 | 18 | 81 | 20.944444 | 0.857143 | 0.671088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.75 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
d4b6ed4438420c7d991f26816bc2002aa620e515 | 776 | py | Python | disturbance/migrations/0006_auto_20180618_1556.py | wilsonc86/ledger | a60a681e547f37e4ac81cb93dffaf90aea8c8151 | [
"Apache-2.0"
] | null | null | null | disturbance/migrations/0006_auto_20180618_1556.py | wilsonc86/ledger | a60a681e547f37e4ac81cb93dffaf90aea8c8151 | [
"Apache-2.0"
] | null | null | null | disturbance/migrations/0006_auto_20180618_1556.py | wilsonc86/ledger | a60a681e547f37e4ac81cb93dffaf90aea8c8151 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.8 on 2018-06-18 07:56
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('disturbance', '0005_auto_20180618_1123'),
]
operations = [
migrations.RemoveField(
... | 24.25 | 51 | 0.587629 | 64 | 776 | 6.9375 | 0.578125 | 0.189189 | 0.234234 | 0.27027 | 0.540541 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0.061338 | 0.306701 | 776 | 31 | 52 | 25.032258 | 0.763941 | 0.087629 | 0 | 0.666667 | 1 | 0 | 0.215603 | 0.151773 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.208333 | 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 |
d4b8e3aaecd6383f268534ad1f04127b7f6b0adc | 5,483 | py | Python | shellerate/payloads/bind_shellcode.py | thesp0nge/shellerate | a81823bab979a06f4cf937ba24372fc61015ec0f | [
"MIT"
] | 19 | 2019-05-24T13:40:13.000Z | 2022-03-14T20:25:07.000Z | shellerate/payloads/bind_shellcode.py | thesp0nge/shellerate | a81823bab979a06f4cf937ba24372fc61015ec0f | [
"MIT"
] | 1 | 2019-11-11T20:25:52.000Z | 2019-11-11T20:25:52.000Z | shellerate/payloads/bind_shellcode.py | thesp0nge/shellerate | a81823bab979a06f4cf937ba24372fc61015ec0f | [
"MIT"
] | 6 | 2019-07-20T16:08:23.000Z | 2021-01-26T00:10:49.000Z | import socket, binascii, logging
from shellerate import encoder
from shellerate import egg_hunter
class BindShellcode:
def __init__(self, port, arch, os):
self.port = port;
self.arch = arch;
self.os = os;
self.valid = False;
self.debug = False;
self.__shellcode = "";... | 50.768519 | 1,690 | 0.592194 | 884 | 5,483 | 3.521493 | 0.264706 | 0.057822 | 0.054288 | 0.023129 | 0.280437 | 0.23964 | 0.23964 | 0.217154 | 0.217154 | 0.217154 | 0 | 0.177142 | 0.152654 | 5,483 | 107 | 1,691 | 51.242991 | 0.492897 | 0.13095 | 0 | 0 | 0 | 0.058824 | 0.496424 | 0.451199 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147059 | false | 0 | 0.044118 | 0.014706 | 0.264706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d4c73a72e322733e78c96438c5956d0082a7c48f | 319 | py | Python | ListsAdvanced/ZerosToBack.py | mironmiron3/SoftuniPythonFundamentals | 4f2d968250ae5c58c2b60242da013fe319781c6b | [
"MIT"
] | null | null | null | ListsAdvanced/ZerosToBack.py | mironmiron3/SoftuniPythonFundamentals | 4f2d968250ae5c58c2b60242da013fe319781c6b | [
"MIT"
] | null | null | null | ListsAdvanced/ZerosToBack.py | mironmiron3/SoftuniPythonFundamentals | 4f2d968250ae5c58c2b60242da013fe319781c6b | [
"MIT"
] | null | null | null | list_of_numbers_as_strings = input().split(", ")
for index in range(len(list_of_numbers_as_strings)):
number = int(list_of_numbers_as_strings[index])
if number == 0:
list_of_numbers_as_strings.remove(str(0))
list_of_numbers_as_strings.append(str(0))
print(list_of_numbers_as_strings)
| 31.9 | 53 | 0.727273 | 50 | 319 | 4.16 | 0.4 | 0.173077 | 0.375 | 0.432692 | 0.644231 | 0.221154 | 0 | 0 | 0 | 0 | 0 | 0.011278 | 0.166144 | 319 | 9 | 54 | 35.444444 | 0.770677 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 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 |
d4d979767d153a6dd69e371b88ceda20413effad | 56,585 | py | Python | tests/client/test_client.py | sp1thas/prefect | 6cb1b579a4aa6f047583f8583d6de2f4b3ba571f | [
"Apache-2.0"
] | 1 | 2021-08-14T17:05:48.000Z | 2021-08-14T17:05:48.000Z | tests/client/test_client.py | dburkhardt/prefect | d8871db6ee72bb3dbb4328ad9f5ddbb9a77579f6 | [
"Apache-2.0"
] | 6 | 2021-12-18T09:07:37.000Z | 2022-03-26T08:06:09.000Z | tests/client/test_client.py | dburkhardt/prefect | d8871db6ee72bb3dbb4328ad9f5ddbb9a77579f6 | [
"Apache-2.0"
] | null | null | null | import datetime
import json
import uuid
from unittest.mock import MagicMock
import marshmallow
import pendulum
import pytest
import requests
import toml
import prefect
from prefect.client.client import Client, FlowRunInfoResult, TaskRunInfoResult
from prefect.utilities.graphql import GraphQLResult
from prefect.engine... | 30.553456 | 88 | 0.578298 | 6,175 | 56,585 | 5.042429 | 0.06753 | 0.038925 | 0.030061 | 0.036034 | 0.799884 | 0.746411 | 0.703118 | 0.680252 | 0.659344 | 0.630697 | 0 | 0.013825 | 0.284157 | 56,585 | 1,851 | 89 | 30.569962 | 0.754876 | 0.017054 | 0 | 0.572469 | 0 | 0 | 0.209022 | 0.03795 | 0 | 0 | 0 | 0 | 0.09133 | 1 | 0.047651 | false | 0.000662 | 0.013236 | 0 | 0.062872 | 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 |
d4ed2bb11fb8d2db08e5d399434ce191988ea7a0 | 1,723 | py | Python | app/stores.py | maleksal/Flask | 23cdf880bffe8920da9d359b7e31459e2b71c06e | [
"MIT"
] | 3 | 2019-06-08T03:40:02.000Z | 2021-05-21T11:09:00.000Z | app/stores.py | maleksal/1MAC-Workshop2 | 23cdf880bffe8920da9d359b7e31459e2b71c06e | [
"MIT"
] | null | null | null | app/stores.py | maleksal/1MAC-Workshop2 | 23cdf880bffe8920da9d359b7e31459e2b71c06e | [
"MIT"
] | 6 | 2018-03-13T08:06:25.000Z | 2018-05-26T19:39:00.000Z | from app import models, db
from sqlalchemy import desc, func
class BaseStore():
def __init__(self, data_provider):
self.data_provider = data_provider
def get_all(self):
return self.data_provider.query.all()
def add(self, entity):
db.session.add(entity)
db.session.commit(... | 25.716418 | 110 | 0.650029 | 224 | 1,723 | 4.78125 | 0.245536 | 0.112045 | 0.134454 | 0.137255 | 0.459384 | 0.304388 | 0.134454 | 0.069094 | 0 | 0 | 0 | 0 | 0.234475 | 1,723 | 66 | 111 | 26.106061 | 0.811979 | 0 | 0 | 0.272727 | 0 | 0 | 0.019733 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0 | 0.045455 | 0.113636 | 0.681818 | 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 |
d4fe6b1611802ddca9db5e0d5c23135eb13ebbb2 | 2,314 | py | Python | test/python/squarepants_test/test_pom_utils.py | ericzundel/mvn2pants | 59776864939515bc0cae28e1b89944ce55b98b21 | [
"Apache-2.0"
] | 8 | 2015-04-14T22:37:56.000Z | 2021-01-20T19:46:40.000Z | test/python/squarepants_test/test_pom_utils.py | ericzundel/mvn2pants | 59776864939515bc0cae28e1b89944ce55b98b21 | [
"Apache-2.0"
] | 1 | 2016-01-13T23:19:14.000Z | 2016-01-22T22:47:48.000Z | test/python/squarepants_test/test_pom_utils.py | ericzundel/mvn2pants | 59776864939515bc0cae28e1b89944ce55b98b21 | [
"Apache-2.0"
] | 3 | 2015-12-13T08:35:34.000Z | 2018-08-01T17:44:59.000Z | # Tests for code in squarepants/src/main/python/squarepants/pom_utils.py
#
# Run with:
# ./pants test squarepants/src/test/python/squarepants_test:pom_utils
import logging
import unittest2 as unittest
from squarepants.pom_utils import PomUtils
# TODO(Eric Ayers) Refactor PomUtils so we can point it at a dummy direc... | 34.537313 | 89 | 0.772688 | 310 | 2,314 | 5.487097 | 0.303226 | 0.049383 | 0.038213 | 0.047031 | 0.425044 | 0.266314 | 0.055262 | 0 | 0 | 0 | 0 | 0.000498 | 0.131806 | 2,314 | 66 | 90 | 35.060606 | 0.846192 | 0.165082 | 0 | 0 | 0 | 0 | 0.023946 | 0 | 0 | 0 | 0 | 0.015152 | 0.418605 | 1 | 0.27907 | false | 0 | 0.069767 | 0 | 0.372093 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
be046c57d6f602de11e2380f78830f7af77687e1 | 249 | bzl | Python | kotlin.bzl | bbuck/advent-of-code | c06cbc73b6fbb848f3f8a2327a60f40d69a5f4fa | [
"MIT"
] | null | null | null | kotlin.bzl | bbuck/advent-of-code | c06cbc73b6fbb848f3f8a2327a60f40d69a5f4fa | [
"MIT"
] | null | null | null | kotlin.bzl | bbuck/advent-of-code | c06cbc73b6fbb848f3f8a2327a60f40d69a5f4fa | [
"MIT"
] | null | null | null | """
Provide friendlier Kotlin rule exports.
"""
load(
"@io_bazel_rules_kotlin//kotlin:kotlin.bzl",
_kt_jvm_binary = "kt_jvm_binary",
_kt_jvm_library = "kt_jvm_library",
)
kt_jvm_library = _kt_jvm_library
kt_jvm_binary = _kt_jvm_binary
| 19.153846 | 48 | 0.746988 | 37 | 249 | 4.405405 | 0.378378 | 0.245399 | 0.269939 | 0.343558 | 0.564417 | 0.564417 | 0.325153 | 0.325153 | 0.325153 | 0.325153 | 0 | 0 | 0.144578 | 249 | 12 | 49 | 20.75 | 0.765258 | 0.156627 | 0 | 0 | 0 | 0 | 0.336634 | 0.20297 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
be0a4a0c8e0c7829d1f214c65a30090f9f75a73b | 556 | py | Python | application/authors/authors.py | gitjms/Lyriikka-analysaattori | 14a9c70436f3ea83dc48244c0c1641a766fb49a7 | [
"MIT"
] | null | null | null | application/authors/authors.py | gitjms/Lyriikka-analysaattori | 14a9c70436f3ea83dc48244c0c1641a766fb49a7 | [
"MIT"
] | 3 | 2020-06-01T18:42:27.000Z | 2020-06-17T19:21:55.000Z | application/authors/authors.py | gitjms/Lyriikka-analysaattori | 14a9c70436f3ea83dc48244c0c1641a766fb49a7 | [
"MIT"
] | null | null | null | authors = ['Jens Nicolai Ludvig Schjörring', 'H. S. Thompson', 'Abraham Achrenius', 'Toisinto Ylistarosta', 'Lina Sandell-Berg', 'Gunr Wennerberg', 'Georgiana M. Taylor', 'Johnson Jr. Oatman', 'Edwin O. Excell', 'Tuntematon', 'Lewis Hartsoug', 'Chris Tomlin', 'George Crawford Hugg', 'Philip Paul Bliss', 'Ed Cash', 'Ste... | 278 | 555 | 0.715827 | 70 | 556 | 5.685714 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122302 | 556 | 1 | 556 | 556 | 0.815574 | 0 | 0 | 0 | 0 | 0 | 0.793165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
be0e682b8481d027141fe082d79c73d77aa339e2 | 146 | py | Python | python/python_work2/liebiao9.py | lucycore/python | c1c49e52392615851c0efec886d0e947b609681c | [
"Apache-2.0"
] | null | null | null | python/python_work2/liebiao9.py | lucycore/python | c1c49e52392615851c0efec886d0e947b609681c | [
"Apache-2.0"
] | null | null | null | python/python_work2/liebiao9.py | lucycore/python | c1c49e52392615851c0efec886d0e947b609681c | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8-*-
name = ["gyj","dzj","why","zz","wwb","zke","ljx","syb","yxd"]
print(name)
name.reverse()
print(name)
print(len(name))
| 11.230769 | 61 | 0.554795 | 22 | 146 | 3.681818 | 0.727273 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.109589 | 146 | 12 | 62 | 12.166667 | 0.615385 | 0.130137 | 0 | 0.4 | 0 | 0 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
be17b072c6959d87147f01cf37859b2e036cd541 | 38 | py | Python | app/defaults.py | ecradock/wifihawk | ab459e9746bb661968118c7d4f785454f2342ff1 | [
"MIT"
] | 2 | 2018-02-12T19:01:04.000Z | 2019-01-20T03:07:12.000Z | app/defaults.py | ecradock/wifi-hawk | ab459e9746bb661968118c7d4f785454f2342ff1 | [
"MIT"
] | null | null | null | app/defaults.py | ecradock/wifi-hawk | ab459e9746bb661968118c7d4f785454f2342ff1 | [
"MIT"
] | null | null | null | DEFAULT_CONFIG_NAME = ".wifihawk.ini"
| 19 | 37 | 0.789474 | 5 | 38 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.342105 | 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 |
be1fb8b6c2db6d8cc71542da1004e661fb76accc | 1,413 | py | Python | addons/io_scene_gltf2/io/exp/gltf2_io_binary_data.py | xissburg/glTF-Blender-IO | b35e27dcbc0e01fd1cca59255dbf1754eec55eb4 | [
"Apache-2.0"
] | 25 | 2018-10-12T08:45:45.000Z | 2021-02-27T15:29:56.000Z | addons/io_scene_gltf2/io/exp/gltf2_io_binary_data.py | xissburg/glTF-Blender-IO | b35e27dcbc0e01fd1cca59255dbf1754eec55eb4 | [
"Apache-2.0"
] | 1 | 2019-06-03T20:16:21.000Z | 2019-06-03T20:44:41.000Z | addons/io_scene_gltf2/io/exp/gltf2_io_binary_data.py | Svrf/glTF-Blender-IO | c539fcedabdc5c5b77d7919a39f352ac330f6985 | [
"Apache-2.0"
] | 4 | 2019-02-03T12:33:55.000Z | 2021-01-04T11:19:25.000Z | # Copyright 2018-2019 The glTF-Blender-IO authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | 33.642857 | 108 | 0.722576 | 206 | 1,413 | 4.81068 | 0.543689 | 0.060545 | 0.048436 | 0.032291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014097 | 0.196745 | 1,413 | 41 | 109 | 34.463415 | 0.859031 | 0.450106 | 0 | 0 | 0 | 0 | 0.032938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.157895 | 0.157895 | 0.684211 | 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 |
be2853c353e8a487e24ea54f3e801228a5abb9ca | 90 | py | Python | ark_fund/apps.py | ArkHackathon/ARK-Fund | bea1564a782485820475bcd9724b879ad27504a2 | [
"Apache-2.0"
] | 1 | 2018-09-07T14:02:02.000Z | 2018-09-07T14:02:02.000Z | ark_fund/apps.py | ArkHackathon/ARK-Fund | bea1564a782485820475bcd9724b879ad27504a2 | [
"Apache-2.0"
] | null | null | null | ark_fund/apps.py | ArkHackathon/ARK-Fund | bea1564a782485820475bcd9724b879ad27504a2 | [
"Apache-2.0"
] | 1 | 2018-04-13T12:58:06.000Z | 2018-04-13T12:58:06.000Z | from django.apps import AppConfig
class ArkFundConfig(AppConfig):
name = 'ark_fund'
| 15 | 33 | 0.755556 | 11 | 90 | 6.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 5 | 34 | 18 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0776483633632ceba1f0bfecfe71f58b05d35531 | 1,265 | py | Python | Timer/event.py | hc-tec/redis-py | 28172eb4de2bfc61b0ff1023dbf7b52d4f4ba47c | [
"MIT"
] | 1 | 2021-11-24T07:54:17.000Z | 2021-11-24T07:54:17.000Z | Timer/event.py | hc-tec/pydis | 28172eb4de2bfc61b0ff1023dbf7b52d4f4ba47c | [
"MIT"
] | 1 | 2021-11-13T15:08:14.000Z | 2021-11-13T15:08:14.000Z | Timer/event.py | hc-tec/pydis | 28172eb4de2bfc61b0ff1023dbf7b52d4f4ba47c | [
"MIT"
] | 1 | 2021-11-24T07:54:28.000Z | 2021-11-24T07:54:28.000Z |
from Timer.interfaces import ITimestamp, ITimeoutEvent
class TimeoutEvent(ITimeoutEvent):
def __init__(self, timestamp: ITimestamp):
self.__timestamp = timestamp
# self.__callback = None
self.extra_data = None
def get_timestamp(self) -> ITimestamp:
return self.__timestamp
... | 27.5 | 82 | 0.66087 | 149 | 1,265 | 5.127517 | 0.241611 | 0.157068 | 0.176702 | 0.223822 | 0.41623 | 0.340314 | 0.340314 | 0.340314 | 0.340314 | 0.340314 | 0 | 0 | 0.226877 | 1,265 | 45 | 83 | 28.111111 | 0.781186 | 0.158893 | 0 | 0 | 0 | 0 | 0.059772 | 0.04649 | 0 | 0 | 0 | 0 | 0 | 1 | 0.391304 | false | 0.043478 | 0.043478 | 0.26087 | 0.826087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
077d5336d6b91c91e9fbcedea86530a263781db5 | 1,030 | py | Python | mysite/data_2015_fall/models.py | seckcoder/18656-final | d5691bc1f682b35ce68cd27c5a5c67d66693eca5 | [
"Unlicense"
] | null | null | null | mysite/data_2015_fall/models.py | seckcoder/18656-final | d5691bc1f682b35ce68cd27c5a5c67d66693eca5 | [
"Unlicense"
] | null | null | null | mysite/data_2015_fall/models.py | seckcoder/18656-final | d5691bc1f682b35ce68cd27c5a5c67d66693eca5 | [
"Unlicense"
] | null | null | null | from neomodel import (StructuredNode, StringProperty, IntegerProperty, ArrayProperty,
RelationshipTo, RelationshipFrom)
# Create your models here.
class Article(StructuredNode):
title = StringProperty()
journal = StringProperty()
year = IntegerProperty()
volume = IntegerProperty()
authors = Re... | 27.837838 | 85 | 0.626214 | 103 | 1,030 | 6.106796 | 0.495146 | 0.063593 | 0.052464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265049 | 1,030 | 36 | 86 | 28.611111 | 0.830911 | 0.162136 | 0 | 0 | 0 | 0 | 0.063397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.043478 | 0.173913 | 0.869565 | 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 |
079660b7537213e8eb0c54b1e33e001f2274a65b | 1,178 | py | Python | lib/setup_custom.py | curtjen/clither | b62bb663aa75edc189455c5bd857437623fbf691 | [
"MIT"
] | null | null | null | lib/setup_custom.py | curtjen/clither | b62bb663aa75edc189455c5bd857437623fbf691 | [
"MIT"
] | null | null | null | lib/setup_custom.py | curtjen/clither | b62bb663aa75edc189455c5bd857437623fbf691 | [
"MIT"
] | null | null | null | #!/bin/env python
"""Backup current RC files in the HOME directory."""
import os
from helpers import create_directory, copy_file, paths, mk_clither_custom_dirs, clean_dir
def main():
print('-' * 40)
print('Start mk_custom...')
create_directory(paths.custom_path)
copy_file(paths.clither_tmp_config, paths.cust... | 36.8125 | 100 | 0.808998 | 172 | 1,178 | 5.098837 | 0.331395 | 0.175599 | 0.18244 | 0.237172 | 0.58951 | 0.342075 | 0.174458 | 0.174458 | 0.125428 | 0.125428 | 0 | 0.001876 | 0.095076 | 1,178 | 32 | 101 | 36.8125 | 0.820826 | 0.321732 | 0 | 0 | 0 | 0 | 0.058302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | true | 0 | 0.111111 | 0 | 0.166667 | 0.166667 | 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 |
07aa72c8f9d39e0033396c43201feaecacc4587a | 135 | py | Python | org/archive/eval/__init__.py | arita37/ptl2r.github.io | 6bd716c189e54df985062e22926c2d680cac8a8b | [
"MIT"
] | 1 | 2020-03-12T06:28:35.000Z | 2020-03-12T06:28:35.000Z | org/archive/utils/__init__.py | arita37/ptl2r.github.io | 6bd716c189e54df985062e22926c2d680cac8a8b | [
"MIT"
] | null | null | null | org/archive/utils/__init__.py | arita37/ptl2r.github.io | 6bd716c189e54df985062e22926c2d680cac8a8b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Created by Hai-Tao Yu
# 26/09/2018
# https://y-research.github.io
"""Description
""" | 13.5 | 30 | 0.614815 | 21 | 135 | 3.952381 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 0.148148 | 135 | 10 | 31 | 13.5 | 0.643478 | 0.859259 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07ac07a9bb3a47e74d85fdec9323c1f88e664fcf | 117 | py | Python | PythonExercicios/ex013.py | marcoantonio97/Curso-de-Python | b99c6c75e2b845086203b84a71a4013c0658dc44 | [
"MIT"
] | null | null | null | PythonExercicios/ex013.py | marcoantonio97/Curso-de-Python | b99c6c75e2b845086203b84a71a4013c0658dc44 | [
"MIT"
] | null | null | null | PythonExercicios/ex013.py | marcoantonio97/Curso-de-Python | b99c6c75e2b845086203b84a71a4013c0658dc44 | [
"MIT"
] | null | null | null | salario = float(input('Digite o salário atual: '))
print('O salário ajustado será de R${:.2f}'.format(salario*1.15))
| 39 | 65 | 0.700855 | 19 | 117 | 4.315789 | 0.842105 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.111111 | 117 | 2 | 66 | 58.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.504274 | 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 |
07c06bec3c38362706e57bc56d110a6ed8cdf3b5 | 286 | py | Python | bph_pal/bph_pal/__init__.py | MrKevinWeiss/BPH | a14250986ee5e15e405a75e77712411d0aea7686 | [
"MIT"
] | null | null | null | bph_pal/bph_pal/__init__.py | MrKevinWeiss/BPH | a14250986ee5e15e405a75e77712411d0aea7686 | [
"MIT"
] | 19 | 2018-09-28T11:04:16.000Z | 2020-07-17T16:08:31.000Z | bph_pal/bph_pal/__init__.py | MrKevinWeiss/BPH | a14250986ee5e15e405a75e77712411d0aea7686 | [
"MIT"
] | 2 | 2018-09-18T15:20:37.000Z | 2018-10-22T06:45:46.000Z | # Copyright (c) 2019 Kevin Weiss, for HAW Hamburg <kevin.weiss@haw-hamburg.de>
#
# This file is subject to the terms and conditions of the MIT License. See the
# file LICENSE in the top level directory for more details.
# SPDX-License-Identifier: MIT
"""packet init for BPH PAL
"""
| 35.75 | 79 | 0.734266 | 47 | 286 | 4.468085 | 0.723404 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017021 | 0.178322 | 286 | 7 | 80 | 40.857143 | 0.876596 | 0.940559 | 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 |
07c458a1a227f77e37292b2c0ab8ec2cb74e6705 | 8,363 | py | Python | autotest/pyscripts/test_gdalinfo_py.py | trundev/gdal | d5777940975f2784980ef0b7561eeeb655fd0ab5 | [
"MIT"
] | 2 | 2018-03-22T22:31:00.000Z | 2021-07-16T01:34:47.000Z | autotest/pyscripts/test_gdalinfo_py.py | trundev/gdal | d5777940975f2784980ef0b7561eeeb655fd0ab5 | [
"MIT"
] | 1 | 2015-04-14T00:19:57.000Z | 2015-04-14T00:29:29.000Z | autotest/pyscripts/test_gdalinfo_py.py | trundev/gdal | d5777940975f2784980ef0b7561eeeb655fd0ab5 | [
"MIT"
] | 1 | 2021-11-21T02:33:51.000Z | 2021-11-21T02:33:51.000Z | #!/usr/bin/env pytest
###############################################################################
# $Id$
#
# Project: GDAL/OGR Test Suite
# Purpose: gdalinfo.py testing
# Author: Even Rouault <even dot rouault @ spatialys.com>
#
###############################################################################
# C... | 40.795122 | 552 | 0.585436 | 1,458 | 8,363 | 3.233882 | 0.155693 | 0.186638 | 0.257052 | 0.312195 | 0.716013 | 0.671262 | 0.671262 | 0.665111 | 0.665111 | 0.655355 | 0 | 0.105692 | 0.193352 | 8,363 | 204 | 553 | 40.995098 | 0.59324 | 0.18821 | 0 | 0.483871 | 0 | 0.021505 | 0.419129 | 0.118902 | 0 | 0 | 0 | 0 | 0.225806 | 1 | 0.107527 | false | 0.021505 | 0.032258 | 0 | 0.139785 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07c9b5d0c3a07e39963fef6a60e2d42fb54e6203 | 478 | py | Python | test/test_unit_tests/test_decorator/test_extract_settings/test_no_arguments.py | EmilianoJordan/Sejings | d8d35497772b3f48cca88e150ad9d74e3a91af13 | [
"Apache-2.0"
] | 1 | 2019-12-30T22:47:01.000Z | 2019-12-30T22:47:01.000Z | test/test_unit_tests/test_decorator/test_extract_settings/test_no_arguments.py | EmilianoJordan/Sejings | d8d35497772b3f48cca88e150ad9d74e3a91af13 | [
"Apache-2.0"
] | null | null | null | test/test_unit_tests/test_decorator/test_extract_settings/test_no_arguments.py | EmilianoJordan/Sejings | d8d35497772b3f48cca88e150ad9d74e3a91af13 | [
"Apache-2.0"
] | null | null | null | # Created: 10/20/2019
# Author: Emiliano Jordan,
# Project: sejings
from sejings import extract_sejings, sejings as s
s.one = 'kw_one'
s.two = 'kw_two'
s.three = 'three'
s.three.one = 'three.one'
@extract_sejings()
def function_no_args():
return None
def test_no_arguments():
assert function_no_args() is ... | 16.482759 | 49 | 0.736402 | 75 | 478 | 4.386667 | 0.4 | 0.121581 | 0.170213 | 0.121581 | 0.370821 | 0.200608 | 0.200608 | 0.200608 | 0 | 0 | 0 | 0.02 | 0.16318 | 478 | 28 | 50 | 17.071429 | 0.8025 | 0.129707 | 0 | 0.133333 | 0 | 0 | 0.063107 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.266667 | true | 0 | 0.066667 | 0.133333 | 0.466667 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
07cf4282edc8d70b32154c0f30670f1e704ad4a6 | 384 | py | Python | app/movie_ranking/urls.py | thomas5566/django-on-docker | 9314f927df9a256032795e7af4b780569d889360 | [
"MIT"
] | null | null | null | app/movie_ranking/urls.py | thomas5566/django-on-docker | 9314f927df9a256032795e7af4b780569d889360 | [
"MIT"
] | null | null | null | app/movie_ranking/urls.py | thomas5566/django-on-docker | 9314f927df9a256032795e7af4b780569d889360 | [
"MIT"
] | null | null | null | from django.urls import path, include
from . import views
# from rest_framework.routers import DefaultRouter
# router = DefaultRouter()
# router.register('movies-viewset', views.MovieViewSet,
# basename='movies-viewset')
# urlpatterns = [
# path('', include(router.urls)),
# path('api-auth/',... | 27.428571 | 83 | 0.690104 | 41 | 384 | 6.390244 | 0.512195 | 0.148855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164063 | 384 | 14 | 84 | 27.428571 | 0.816199 | 0.796875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
07d3679697d6c5eafd96b823979fbc7e59a2d4b1 | 773 | py | Python | math/variables/pi.py | ginnyTheCat/Simalia | 2d0b26d0f413d16d6a7cb62aa9612d9f346c6fbb | [
"MIT"
] | null | null | null | math/variables/pi.py | ginnyTheCat/Simalia | 2d0b26d0f413d16d6a7cb62aa9612d9f346c6fbb | [
"MIT"
] | null | null | null | math/variables/pi.py | ginnyTheCat/Simalia | 2d0b26d0f413d16d6a7cb62aa9612d9f346c6fbb | [
"MIT"
] | null | null | null | from simalia.math.numbers.integer import Integer
from simalia.math.operators.sum import Sum
from simalia.pymath import Variable
class Pi(Sum, Variable):
def __init__(self, iterations=11):
self.__k = Variable("k", Integer(0))
super().__init__(iterations, self.__k, self.__formular)
self.ite... | 29.730769 | 63 | 0.56533 | 92 | 773 | 4.48913 | 0.380435 | 0.108959 | 0.072639 | 0.082324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041293 | 0.279431 | 773 | 25 | 64 | 30.92 | 0.70018 | 0 | 0 | 0 | 0 | 0 | 0.01423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.157895 | 0.105263 | 0.578947 | 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 |
07d7c4cf6a113530998956b1086a52cec328713f | 20,382 | py | Python | GardenPi/utilities/power_controller.py | rjsears/GardenPi | a7c6e53af358d7786354296fbcd3cc767da2c330 | [
"MIT"
] | 220 | 2020-08-05T03:32:24.000Z | 2022-03-16T03:07:48.000Z | GardenPi/utilities/power_controller.py | francishero/GardenPi | 8e82107f259ee48cdceb6b8016380b26c4895f63 | [
"MIT"
] | 8 | 2020-08-05T21:08:35.000Z | 2020-09-14T01:49:49.000Z | GardenPi/utilities/power_controller.py | francishero/GardenPi | 8e82107f259ee48cdceb6b8016380b26c4895f63 | [
"MIT"
] | 29 | 2020-08-05T10:00:20.000Z | 2021-12-20T11:23:41.000Z | #!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
power_controller.py for usage with neptune/GardenPi V1.0.0
Manages all of our power zones.
"""
VERSION = "V1.0.0 (2020-07-31)"
import sys
sys.path.append('/var/www/gardenpi_control/gardenpi')
from sqlalchemy import update, select, and_, create_engine
import system_in... | 61.577039 | 188 | 0.630507 | 2,596 | 20,382 | 4.711864 | 0.076271 | 0.079791 | 0.065729 | 0.074559 | 0.776897 | 0.750818 | 0.721305 | 0.69261 | 0.674624 | 0.674624 | 0 | 0.003106 | 0.257629 | 20,382 | 331 | 189 | 61.577039 | 0.8053 | 0.080365 | 0 | 0.41573 | 0 | 0.011236 | 0.080771 | 0.001821 | 0 | 0 | 0.000214 | 0 | 0 | 1 | 0.074906 | false | 0 | 0.029963 | 0 | 0.131086 | 0.011236 | 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 |
07dc4dfd5af8092e375107d4158c0376562b7871 | 90 | py | Python | boa_test/example/AddTest3.py | EdgeDLT/neo-boa | d238ffb4264ff62b35066159c7ead7115f3bf78c | [
"MIT"
] | 79 | 2017-10-22T03:35:06.000Z | 2021-12-02T10:28:06.000Z | boa_test/example/AddTest3.py | EdgeDLT/neo-boa | d238ffb4264ff62b35066159c7ead7115f3bf78c | [
"MIT"
] | 122 | 2017-10-19T12:34:08.000Z | 2020-08-20T12:38:17.000Z | boa_test/example/AddTest3.py | EdgeDLT/neo-boa | d238ffb4264ff62b35066159c7ead7115f3bf78c | [
"MIT"
] | 76 | 2017-10-19T05:09:55.000Z | 2020-12-08T12:03:59.000Z |
def Main():
a = 1
b = 2
c = 3
e = 4
d = a + b - c * e
return d
| 8.181818 | 21 | 0.3 | 17 | 90 | 1.588235 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.577778 | 90 | 10 | 22 | 9 | 0.605263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
07eef85ee97c660526a1b7c7eae2dbd4edc75fcc | 409 | py | Python | tests/test_core.py | kyouko-taiga/stew | 6f2186493ae200aab0b9f2a5727fa8da4b11661d | [
"Apache-2.0"
] | 5 | 2016-09-11T06:06:10.000Z | 2018-04-16T15:17:14.000Z | tests/test_core.py | kyouko-taiga/stew | 6f2186493ae200aab0b9f2a5727fa8da4b11661d | [
"Apache-2.0"
] | null | null | null | tests/test_core.py | kyouko-taiga/stew | 6f2186493ae200aab0b9f2a5727fa8da4b11661d | [
"Apache-2.0"
] | null | null | null | import unittest
from stew.core import Sort, generator
class S(Sort):
@generator
def nil() -> S: pass
@generator
def suc(self: S) -> S: pass
class TestSort(unittest.TestCase):
def test_generator_equality(self):
self.assertEqual(S.nil(), S.nil())
self.assertEqual(S.suc(S.nil())... | 19.47619 | 70 | 0.616137 | 62 | 409 | 4.032258 | 0.306452 | 0.096 | 0.12 | 0.128 | 0.296 | 0.296 | 0.268 | 0 | 0 | 0 | 0 | 0 | 0.205379 | 409 | 20 | 71 | 20.45 | 0.769231 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0.166667 | 0.166667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6af3df82857a621a7ea0df46f23b4866e19fd549 | 421 | py | Python | src/grokcore/registries/utils.py | zopefoundation/grokcore.registries | 90c5221867e07c0194df36f13fa4dda5f3a4923c | [
"ZPL-2.1"
] | null | null | null | src/grokcore/registries/utils.py | zopefoundation/grokcore.registries | 90c5221867e07c0194df36f13fa4dda5f3a4923c | [
"ZPL-2.1"
] | null | null | null | src/grokcore/registries/utils.py | zopefoundation/grokcore.registries | 90c5221867e07c0194df36f13fa4dda5f3a4923c | [
"ZPL-2.1"
] | null | null | null | # -*- coding: utf-8 -*-
from zope.component import getSiteManager, getGlobalSiteManager
from zope.component.interfaces import IComponents
def contextualSiteManager():
return getSiteManager() or getGlobalSiteManager()
def query_registry(name, parent_components=None):
if parent_components is None:
pa... | 28.066667 | 63 | 0.783848 | 42 | 421 | 7.738095 | 0.571429 | 0.196923 | 0.104615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002755 | 0.137767 | 421 | 14 | 64 | 30.071429 | 0.892562 | 0.049881 | 0 | 0 | 0 | 0 | 0 | 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 |
ed057db899c557d3a7bfd732b6ec6f56be528c9c | 395 | py | Python | CONTENT/DS-n-Algos/ALGO/_LEETCODE/007_reverse_integer/reverse_integer.py | impastasyndrome/DS-ALGO-OFFICIAL | c85ec9cf0af0009f038b7a571a7ac1fb466b7f3a | [
"Apache-2.0"
] | 13 | 2021-03-11T00:25:22.000Z | 2022-03-19T00:19:23.000Z | CONTENT/DS-n-Algos/ALGO/_LEETCODE/007_reverse_integer/reverse_integer.py | impastasyndrome/DS-ALGO-OFFICIAL | c85ec9cf0af0009f038b7a571a7ac1fb466b7f3a | [
"Apache-2.0"
] | 162 | 2021-03-09T01:52:11.000Z | 2022-03-12T01:09:07.000Z | CONTENT/DS-n-Algos/ALGO/_LEETCODE/007_reverse_integer/reverse_integer.py | impastasyndrome/DS-ALGO-OFFICIAL | c85ec9cf0af0009f038b7a571a7ac1fb466b7f3a | [
"Apache-2.0"
] | 12 | 2021-04-26T19:43:01.000Z | 2022-01-31T08:36:29.000Z | class Solution:
# @param {integer} x
# @return {integer}
def reverse(self, x):
neg = False
if x<0:
neg =True
x = -x
print x
reversed_int = int(''.join(reversed(str(x))))
if reversed_int>(1<<31):
reversed_int = 0
if neg:
... | 23.235294 | 53 | 0.473418 | 46 | 395 | 3.956522 | 0.478261 | 0.302198 | 0.186813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02193 | 0.422785 | 395 | 16 | 54 | 24.6875 | 0.776316 | 0.091139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.071429 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed1760e71170c90d75b5c01a148304f645dedab6 | 180 | py | Python | h2o-docs/src/booklets/v2_2015/source/GBM_Vignette_code_examples/gbm_uploadfile_example.py | ahmedengu/h2o-3 | ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11 | [
"Apache-2.0"
] | 6,098 | 2015-05-22T02:46:12.000Z | 2022-03-31T16:54:51.000Z | h2o-docs/src/booklets/v2_2015/source/GBM_Vignette_code_examples/gbm_uploadfile_example.py | ahmedengu/h2o-3 | ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11 | [
"Apache-2.0"
] | 2,517 | 2015-05-23T02:10:54.000Z | 2022-03-30T17:03:39.000Z | h2o-docs/src/booklets/v2_2015/source/GBM_Vignette_code_examples/gbm_uploadfile_example.py | ahmedengu/h2o-3 | ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11 | [
"Apache-2.0"
] | 2,199 | 2015-05-22T04:09:55.000Z | 2022-03-28T22:20:45.000Z | import h2o
h2o.init()
weather_hex = h2o.import_file("http://h2o-public-test-data.s3.amazonaws.com/smalldata/junit/weather.csv")
# Get a summary of the data
weather_hex.describe()
| 25.714286 | 105 | 0.772222 | 30 | 180 | 4.533333 | 0.733333 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.083333 | 180 | 6 | 106 | 30 | 0.793939 | 0.138889 | 0 | 0 | 0 | 0.25 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ed19c59390009da24990167590bc2aaa03e619dc | 54,038 | py | Python | tests/test_nav_data.py | sprksh/finance-calculator | d118b2d9d286ebf86deadcd50738fe8af0dd4db5 | [
"BSD-2-Clause"
] | 12 | 2020-09-08T15:34:19.000Z | 2022-02-05T06:46:36.000Z | tests/test_nav_data.py | sprksh/finance-calculator | d118b2d9d286ebf86deadcd50738fe8af0dd4db5 | [
"BSD-2-Clause"
] | 1 | 2020-11-09T11:00:31.000Z | 2020-11-16T11:50:51.000Z | tests/test_nav_data.py | sprksh/finance-calculator | d118b2d9d286ebf86deadcd50738fe8af0dd4db5 | [
"BSD-2-Clause"
] | 3 | 2020-11-09T18:16:09.000Z | 2021-12-06T20:21:31.000Z | from tests.data import scheme_data, benchmark_data
benchmark_scheme_code = 'S0089095'
benchmark_scheme_name = 'Nifty Largemidcap 250 (Total Return)'
# benchmark_data = [
# ('2017-06-01', 6249.670000),
# ('2017-06-02', 6283.580000),
# ('2017-06-05', 6312.220000),
# ('2017-06-06', 6287.370000),
# ('... | 34.397199 | 62 | 0.50855 | 7,826 | 54,038 | 3.510222 | 0.202147 | 0.010047 | 0.00131 | 0.000874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.633201 | 0.202617 | 54,038 | 1,570 | 63 | 34.419108 | 0.00434 | 0.937748 | 0 | 0 | 0 | 0 | 0.053859 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed1ce3dc324ce29a5611821e27106dab77adccc4 | 892 | py | Python | coldtype/__init__.py | ruohoruotsi/coldtype | 13993e5a4fa3f99c6800fed2496bd5a374e4f53f | [
"Apache-2.0"
] | null | null | null | coldtype/__init__.py | ruohoruotsi/coldtype | 13993e5a4fa3f99c6800fed2496bd5a374e4f53f | [
"Apache-2.0"
] | null | null | null | coldtype/__init__.py | ruohoruotsi/coldtype | 13993e5a4fa3f99c6800fed2496bd5a374e4f53f | [
"Apache-2.0"
] | null | null | null | import math, sys, os, re
from pathlib import Path
from coldtype.text import *
from coldtype.text.reader import Font
from coldtype.pens.datpen import DATPen, DATPens, DATPenSet, DP, DPS, P, PS
from coldtype.pens.dattext import DATText
from coldtype.geometry import *
from coldtype.color import *
from coldtype.renderable... | 35.68 | 163 | 0.778027 | 133 | 892 | 5.052632 | 0.56391 | 0.196429 | 0.133929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010296 | 0.128924 | 892 | 25 | 164 | 35.68 | 0.854569 | 0.100897 | 0 | 0 | 0 | 0 | 0.022472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.631579 | 0.105263 | 0.842105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
ed2740d2485f6f9f8ac159e5c60a5408bfdae01d | 887 | py | Python | imtoolkit/IdealRayleighChannel.py | ishikawalab/imtoolk | e0b2d06fe734d7084644c1357ba68bd9cf79a309 | [
"MIT"
] | 7 | 2020-10-15T11:28:21.000Z | 2022-01-01T07:46:09.000Z | imtoolkit/IdealRayleighChannel.py | ishikawalab/imtoolk | e0b2d06fe734d7084644c1357ba68bd9cf79a309 | [
"MIT"
] | null | null | null | imtoolkit/IdealRayleighChannel.py | ishikawalab/imtoolk | e0b2d06fe734d7084644c1357ba68bd9cf79a309 | [
"MIT"
] | 3 | 2021-01-15T08:50:24.000Z | 2022-01-19T03:19:17.000Z | # Copyright (c) IMToolkit Development Team
# This toolkit is released under the MIT License, see LICENSE.txt
from .Channel import Channel
from .Util import randn_c
class IdealRayleighChannel(Channel):
"""
A `Channel` class that generates the ideal Rayleigh fading channel coefficients.
"""
def __init_... | 26.088235 | 84 | 0.62345 | 109 | 887 | 5.018349 | 0.495413 | 0.032907 | 0.065814 | 0.076782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295378 | 887 | 33 | 85 | 26.878788 | 0.8752 | 0.436302 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.153846 | 0.153846 | 0.692308 | 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 |
ed34fe6610bf837c17dbe7c951e9f17f2b6817bf | 1,520 | py | Python | project/lib/csv_celery_generator.py | yohayg/python-example-project | fc5f30ccf18fab6a3eb968c6de98c2fe44f48f45 | [
"MIT"
] | 1 | 2018-05-23T09:15:37.000Z | 2018-05-23T09:15:37.000Z | project/lib/csv_celery_generator.py | yohayg/python-generator | fc5f30ccf18fab6a3eb968c6de98c2fe44f48f45 | [
"MIT"
] | null | null | null | project/lib/csv_celery_generator.py | yohayg/python-generator | fc5f30ccf18fab6a3eb968c6de98c2fe44f48f45 | [
"MIT"
] | null | null | null | import logging
import multiprocessing as mp
from concurrent.futures import ProcessPoolExecutor
# from rx import Observable
from project.lib.celery_tasks import generate_task
# from project.lib.rabbit_mq_listener import receive_messages
from project.lib.utils import Utils
logging.basicConfig(format="%(name)s: %(level... | 31.666667 | 101 | 0.679605 | 197 | 1,520 | 5.13198 | 0.558376 | 0.059347 | 0.06726 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026293 | 0.224342 | 1,520 | 47 | 102 | 32.340426 | 0.831213 | 0.457237 | 0 | 0 | 1 | 0 | 0.107807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.052632 | 0.263158 | null | null | 0.157895 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ed51fe25d68fb1c9f6675b78028c7534d9f03218 | 189 | py | Python | tests/functions_test.py | sideround/predict-revenue-new-releases | b6b597cfed328d6b7981917477ceb6f0630aee49 | [
"MIT"
] | null | null | null | tests/functions_test.py | sideround/predict-revenue-new-releases | b6b597cfed328d6b7981917477ceb6f0630aee49 | [
"MIT"
] | 11 | 2020-05-21T17:52:04.000Z | 2020-06-08T03:33:28.000Z | tests/functions_test.py | sideround/predict-revenue-new-releases | b6b597cfed328d6b7981917477ceb6f0630aee49 | [
"MIT"
] | 2 | 2020-06-02T13:14:16.000Z | 2020-06-11T17:46:05.000Z | #!/usr/bin/env python3
import pytest
import numpy as np
import os.path
"""
Check dataset used on tmdb_retriever is the final one
"""
def test_dataset_connection():
assert True == True
| 17.181818 | 53 | 0.740741 | 30 | 189 | 4.566667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.169312 | 189 | 10 | 54 | 18.9 | 0.866242 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ed58f54efb908bcc9ad3c429ff88004418198246 | 299 | py | Python | examples/effects/lens_crop_blocking.py | SimLeek/displayarray | 64fe1e2094448d86d743536eedae0039ca339063 | [
"MIT"
] | 8 | 2019-11-01T19:14:36.000Z | 2021-08-18T17:55:43.000Z | examples/effects/lens_crop_blocking.py | SimLeek/displayarray | 64fe1e2094448d86d743536eedae0039ca339063 | [
"MIT"
] | 12 | 2019-10-01T06:06:48.000Z | 2020-04-29T23:05:58.000Z | examples/effects/lens_crop_blocking.py | SimLeek/displayarray | 64fe1e2094448d86d743536eedae0039ca339063 | [
"MIT"
] | 3 | 2018-04-03T01:29:21.000Z | 2019-06-27T02:52:34.000Z | from displayarray.effects import crop, lens
from displayarray import display
from examples.videos import test_video
# Move the mouse to move where the crop is from on the original image
display(test_video).add_callback(crop.Crop()).add_callback(
lens.Barrel().enable_mouse_control()
).block()
| 29.9 | 69 | 0.795987 | 45 | 299 | 5.155556 | 0.577778 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123746 | 299 | 9 | 70 | 33.222222 | 0.885496 | 0.22408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ed5e669e2c28078d68a0f612e44c05bf82661b36 | 239 | py | Python | other/fenwick_tree.py | zzvsjs1/MyPyScripts | 0b161d8a0096c5253d2c6a9e7d5c9bebcfbe0f07 | [
"MIT"
] | null | null | null | other/fenwick_tree.py | zzvsjs1/MyPyScripts | 0b161d8a0096c5253d2c6a9e7d5c9bebcfbe0f07 | [
"MIT"
] | null | null | null | other/fenwick_tree.py | zzvsjs1/MyPyScripts | 0b161d8a0096c5253d2c6a9e7d5c9bebcfbe0f07 | [
"MIT"
] | null | null | null | class FenwickTree:
data: []
def __init__(self, n: int):
self.data = [0] * (n + 1)
@staticmethod
def __parent__(i: int) -> int:
return i - (i & (-i))
def __str__(self):
return str(self.data) | 15.933333 | 34 | 0.51046 | 30 | 239 | 3.666667 | 0.5 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0.334728 | 239 | 15 | 35 | 15.933333 | 0.679245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ed5f905733a33af77d80c2e15f53e3c798767c82 | 1,320 | py | Python | apetools/commons/errors.py | rsnakamura/oldape | b4d1c77e1d611fe2b30768b42bdc7493afb0ea95 | [
"Apache-2.0"
] | null | null | null | apetools/commons/errors.py | rsnakamura/oldape | b4d1c77e1d611fe2b30768b42bdc7493afb0ea95 | [
"Apache-2.0"
] | null | null | null | apetools/commons/errors.py | rsnakamura/oldape | b4d1c77e1d611fe2b30768b42bdc7493afb0ea95 | [
"Apache-2.0"
] | null | null | null |
from apetools.proletarians.errors import OperatorError
class ConnectionError(OperatorError):
"""
A ConnectionError is raised by connectinos to indicate a problem.
"""
pass
# end class ConnectionError
class ConnectionWarning(OperatorError):
"""
A connection warning is a non-fatal connection-... | 20.307692 | 81 | 0.712879 | 144 | 1,320 | 6.534722 | 0.430556 | 0.068013 | 0.076514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218939 | 1,320 | 64 | 82 | 20.625 | 0.912706 | 0.54697 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.066667 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
ed639ff7d1a8ea063424b4a10c038d493a9e55be | 494 | py | Python | python_fundamentals/party_profit.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | null | null | null | python_fundamentals/party_profit.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | null | null | null | python_fundamentals/party_profit.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | 1 | 2022-01-14T17:12:44.000Z | 2022-01-14T17:12:44.000Z | party_size = int(input())
days = int(input())
coins = 0
for i in range(1, days + 1):
coins += 50
if i % 10 == 0:
party_size -= 2
if i % 15 == 0:
party_size += 5
coins -= party_size * 2
if i % 3 == 0:
coins -= party_size * 3
if i % 5 == 0:
coins += party_size * 2... | 23.52381 | 73 | 0.534413 | 77 | 494 | 3.25974 | 0.350649 | 0.322709 | 0.278884 | 0.179283 | 0.243028 | 0.151394 | 0.151394 | 0 | 0 | 0 | 0 | 0.072727 | 0.331984 | 494 | 20 | 74 | 24.7 | 0.687879 | 0 | 0 | 0.222222 | 0 | 0 | 0.12753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.055556 | 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 |
ed78ec50328d6f6da24c4eec1521f1f548761a7c | 2,661 | py | Python | Exercise_File_D-Getting_SASPy_Environment_Info.py | ilankham/wuss-2019-half-day-class | 7b872e5ee294e62c62a20c5cd7b4e441df63f70a | [
"MIT"
] | 2 | 2019-09-04T03:29:12.000Z | 2021-03-02T07:22:08.000Z | Exercise_File_D-Getting_SASPy_Environment_Info.py | ilankham/wuss-2019-half-day-class | 7b872e5ee294e62c62a20c5cd7b4e441df63f70a | [
"MIT"
] | null | null | null | Exercise_File_D-Getting_SASPy_Environment_Info.py | ilankham/wuss-2019-half-day-class | 7b872e5ee294e62c62a20c5cd7b4e441df63f70a | [
"MIT"
] | 3 | 2019-09-04T05:57:02.000Z | 2019-09-15T21:21:47.000Z | # Everything is better with friends: Executing SAS® code in Python scripts with
# SASPy, and turbocharging your SAS programming with open-source tooling
#
# Half-day class, Western Users of SAS Software (WUSS) 2019
###############################################################################
# Exercise 10: Getting ... | 46.684211 | 79 | 0.58136 | 310 | 2,661 | 4.893548 | 0.46129 | 0.085695 | 0.089651 | 0.052736 | 0.133158 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008526 | 0.250658 | 2,661 | 56 | 80 | 47.517857 | 0.751755 | 0.810973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
71ef9e441963e03a6ac7eab3ae21b45b77386328 | 308 | py | Python | src/lib/base/abstract_task_future.py | SimonDudanski/integration-test-docker-environment | 3ea81172248f770596d81ff378772677ab5656ea | [
"MIT"
] | null | null | null | src/lib/base/abstract_task_future.py | SimonDudanski/integration-test-docker-environment | 3ea81172248f770596d81ff378772677ab5656ea | [
"MIT"
] | null | null | null | src/lib/base/abstract_task_future.py | SimonDudanski/integration-test-docker-environment | 3ea81172248f770596d81ff378772677ab5656ea | [
"MIT"
] | null | null | null | from ...abstract_method_exception import AbstractMethodException
DEFAULT_RETURN_OBJECT_NAME = "default"
class AbstractTaskFuture:
def get_output(self, name: str = DEFAULT_RETURN_OBJECT_NAME):
raise AbstractMethodException()
def list_outputs(self):
raise AbstractMethodException()
| 25.666667 | 65 | 0.775974 | 31 | 308 | 7.387097 | 0.645161 | 0.113537 | 0.165939 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 308 | 11 | 66 | 28 | 0.88417 | 0 | 0 | 0.285714 | 0 | 0 | 0.022727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
71f0d3da98af94e43389ad60e3df3ae209336757 | 11,504 | py | Python | python_baremetrics/client.py | budurli/python-baremetrics | d1191a90ae172f502761449346c8c6380ad9e461 | [
"Apache-2.0"
] | 1 | 2021-11-27T13:39:37.000Z | 2021-11-27T13:39:37.000Z | python_baremetrics/client.py | budurli/python-baremetrics | d1191a90ae172f502761449346c8c6380ad9e461 | [
"Apache-2.0"
] | 201 | 2017-08-07T14:32:20.000Z | 2022-03-28T22:05:10.000Z | python_baremetrics/client.py | budurli/python-baremetrics | d1191a90ae172f502761449346c8c6380ad9e461 | [
"Apache-2.0"
] | 1 | 2017-12-01T09:37:30.000Z | 2017-12-01T09:37:30.000Z | # -*- coding: utf-8 -*-
import logging
try:
from urllib.parse import urlencode
from urllib.parse import urljoin
except Exception:
from urllib import urlencode
from urlparse import urljoin
import requests
from .exceptions import BaremetricsAPIException, APICallNotImplemented
logger = logging.getLogge... | 29.649485 | 92 | 0.54016 | 1,207 | 11,504 | 4.886495 | 0.135874 | 0.074602 | 0.046796 | 0.025432 | 0.564598 | 0.47762 | 0.37979 | 0.313157 | 0.30061 | 0.30061 | 0 | 0.007515 | 0.329103 | 11,504 | 387 | 93 | 29.726098 | 0.756673 | 0.210796 | 0 | 0.271186 | 0 | 0 | 0.085293 | 0.005942 | 0 | 0 | 0 | 0 | 0 | 1 | 0.265537 | false | 0 | 0.039548 | 0.101695 | 0.525424 | 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 |
9c10e42c65347cab6eaf735f50bd5a2ecb190acd | 351 | py | Python | sorting/BubbleSort.py | vipulSharma18/RandomScripts | 22635756303ff474003c96e3b491b43d920f45a2 | [
"MIT"
] | 4 | 2018-10-13T00:30:25.000Z | 2020-04-23T18:06:50.000Z | sorting/BubbleSort.py | vipulSharma18/RandomScripts | 22635756303ff474003c96e3b491b43d920f45a2 | [
"MIT"
] | 14 | 2018-10-13T00:05:23.000Z | 2020-10-02T20:07:09.000Z | sorting/BubbleSort.py | vipulSharma18/RandomScripts | 22635756303ff474003c96e3b491b43d920f45a2 | [
"MIT"
] | 30 | 2018-10-13T00:18:26.000Z | 2019-12-03T13:32:44.000Z |
# coding: utf-8
# In[43]:
alist = [54,26,93,17,77,31,44,55,20]
def bubbleSort(alist):
for passnum in range(len(alist)-1,0,-1):
for i in range(passnum):
if alist[i]>alist[i+1]:
temp = alist[i]
alist[i] = alist[i+1]
alist[i+1] = temp
return a... | 19.5 | 44 | 0.51567 | 55 | 351 | 3.290909 | 0.509091 | 0.198895 | 0.18232 | 0.198895 | 0.143646 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113445 | 0.321937 | 351 | 17 | 45 | 20.647059 | 0.647059 | 0.059829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.2 | 0 | 0 | 0.2 | 0.1 | 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 |
9c30cfb6afd9de0838a6615a1d6c57a347a17885 | 1,146 | py | Python | canvas/tools/sorters.py | SilicalNZ/canvas | 44d1eee02c334aae6b41aeba01ed0ecdf83aed21 | [
"MIT"
] | 7 | 2019-08-04T20:37:55.000Z | 2020-03-05T08:36:10.000Z | canvas/tools/sorters.py | SilicalNZ/canvas | 44d1eee02c334aae6b41aeba01ed0ecdf83aed21 | [
"MIT"
] | 1 | 2019-10-21T05:43:28.000Z | 2019-10-21T05:43:28.000Z | canvas/tools/sorters.py | SilicalNZ/canvas | 44d1eee02c334aae6b41aeba01ed0ecdf83aed21 | [
"MIT"
] | null | null | null | import colorsys as _coloursys
from functools import wraps, partial
import math
import random
_round = round
def _make_sorted(func):
@wraps(func)
def wrapper(iterable, *args, **kwargs):
return sorted(iterable, key=partial(func, *args, **kwargs))
return wrapper
@_make_sorted
def yiq(rgb):
ret... | 18.786885 | 67 | 0.662304 | 165 | 1,146 | 4.339394 | 0.315152 | 0.097765 | 0.072626 | 0.087989 | 0.202514 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028058 | 0.222513 | 1,146 | 61 | 68 | 18.786885 | 0.775533 | 0 | 0 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.219512 | false | 0 | 0.097561 | 0.121951 | 0.536585 | 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 |
9c3172b877f8f87e40fc3f18b9954cc380c92ea4 | 287 | py | Python | galleryfield/apps.py | dzhuang/django-galleryfield | 12bdbd2ee4d036e92e4dd15130b98fbcd25c5991 | [
"MIT"
] | 9 | 2021-08-23T15:49:59.000Z | 2022-03-30T10:18:39.000Z | galleryfield/apps.py | dzhuang/django-galleryfield | 12bdbd2ee4d036e92e4dd15130b98fbcd25c5991 | [
"MIT"
] | 1 | 2021-08-10T19:53:33.000Z | 2021-08-10T19:53:33.000Z | galleryfield/apps.py | dzhuang/django-gallery-widget | 12bdbd2ee4d036e92e4dd15130b98fbcd25c5991 | [
"MIT"
] | 2 | 2021-08-22T11:30:46.000Z | 2021-12-01T00:22:21.000Z | from django.apps import AppConfig
class GalleryConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'galleryfield'
def ready(self):
from .checks import register_galleryfield_settings_checks
register_galleryfield_settings_checks()
| 26.090909 | 65 | 0.759582 | 31 | 287 | 6.774194 | 0.677419 | 0.190476 | 0.266667 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174216 | 287 | 10 | 66 | 28.7 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.101045 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9c423546285091a0dc4881d2d697dc6b6fb781a4 | 280 | py | Python | sm64r/Area.py | andrelikesdogs/sm64-randomizer | 8c8d2f3e3b9f6b69d3595d78669aa120056b6f98 | [
"MIT"
] | 49 | 2019-07-01T16:19:32.000Z | 2022-03-28T16:15:36.000Z | sm64r/Area.py | andrelikesdogs/sm64-randomizer | 8c8d2f3e3b9f6b69d3595d78669aa120056b6f98 | [
"MIT"
] | 44 | 2019-10-19T18:19:56.000Z | 2022-03-25T22:53:20.000Z | sm64r/Area.py | andrelikesdogs/sm64-randomizer | 8c8d2f3e3b9f6b69d3595d78669aa120056b6f98 | [
"MIT"
] | 5 | 2020-03-13T22:56:56.000Z | 2021-12-05T03:37:30.000Z | from typing import Dict
class Area:
def __init__(self, area_id : int, name : str, properties : Dict):
self.id = area_id
self.name = name
self.properties = properties
def __str__(self):
return f'<Area {hex(self.id)}: {self.name}>: {repr(self.properties)}' | 28 | 73 | 0.657143 | 40 | 280 | 4.35 | 0.45 | 0.068966 | 0.114943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207143 | 280 | 10 | 73 | 28 | 0.783784 | 0 | 0 | 0 | 0 | 0.125 | 0.209964 | 0.081851 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9c4318e35181ededa3b58010711b8c7ac6c70164 | 327,655 | py | Python | oscar/lib/python2.7/site-packages/phonenumbers/carrierdata/data1.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/phonenumbers/carrierdata/data1.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/phonenumbers/carrierdata/data1.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | """Per-prefix data, mapping each prefix to a dict of locale:name.
Auto-generated file, do not edit by hand.
"""
from ..util import u
# Copyright (C) 2011-2017 The Libphonenumber Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with t... | 32.690312 | 137 | 0.509914 | 35,728 | 327,655 | 4.667516 | 0.290696 | 0.066526 | 0.038768 | 0.046522 | 0.104671 | 0.104131 | 0.103555 | 0.099544 | 0.099544 | 0.099124 | 0 | 0.286128 | 0.133229 | 327,655 | 10,022 | 138 | 32.693574 | 0.301054 | 0.002063 | 0 | 0 | 1 | 0 | 0.537679 | 0.032467 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0001 | 0 | 0.0001 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c54238c37ebadc434e5462fbea3b756f44c8394 | 753 | py | Python | app/migrations/0013_auto_20210815_1950.py | Satyam-Raj/upload_resume | c2061afadcfe3f2d29abab3aac3c86f2e9c92520 | [
"MIT"
] | 1 | 2021-09-26T11:33:42.000Z | 2021-09-26T11:33:42.000Z | app/migrations/0013_auto_20210815_1950.py | Satyam-Raj/Ultimate | caee13349338062ef1153d9a9292b9bf6a755603 | [
"MIT"
] | null | null | null | app/migrations/0013_auto_20210815_1950.py | Satyam-Raj/Ultimate | caee13349338062ef1153d9a9292b9bf6a755603 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.5 on 2021-08-15 14:20
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('app', '0012_auto_20210815_1941'),
]
operations = [
migrations.RenameField(
model_name='professional',
old_name='First_Exp_Co... | 25.965517 | 50 | 0.605578 | 76 | 753 | 5.644737 | 0.473684 | 0.125874 | 0.181818 | 0.20979 | 0.447552 | 0.447552 | 0.447552 | 0.447552 | 0.447552 | 0.447552 | 0 | 0.058601 | 0.297477 | 753 | 28 | 51 | 26.892857 | 0.752363 | 0.059761 | 0 | 0.409091 | 1 | 0 | 0.280453 | 0.199717 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 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 |
9c5fa5d10dffdbcaa9d717f059d33a45426fcc06 | 884 | py | Python | src/analyzer/backtrader_wrapper/algos/simple_moving_average_strategy.py | super6liu/technical-analysis-julian | dd8868b65d80f78e536f3471d4dc09440de48e62 | [
"MIT"
] | null | null | null | src/analyzer/backtrader_wrapper/algos/simple_moving_average_strategy.py | super6liu/technical-analysis-julian | dd8868b65d80f78e536f3471d4dc09440de48e62 | [
"MIT"
] | null | null | null | src/analyzer/backtrader_wrapper/algos/simple_moving_average_strategy.py | super6liu/technical-analysis-julian | dd8868b65d80f78e536f3471d4dc09440de48e62 | [
"MIT"
] | 1 | 2021-10-03T13:18:09.000Z | 2021-10-03T13:18:09.000Z | from backtrader import indicators
from src.analyzer.backtrader_wrapper.base_screener import BaseScreener
from src.analyzer.backtrader_wrapper.base_strategy import BaseStrategy
from src.analyzer.backtrader_wrapper.interface_algo import AlgoInterface
class SimpleMovingAverageAlgo(AlgoInterface):
params = dict(maper... | 31.571429 | 84 | 0.753394 | 90 | 884 | 7.333333 | 0.433333 | 0.084848 | 0.068182 | 0.113636 | 0.330303 | 0.281818 | 0.172727 | 0.172727 | 0.172727 | 0.172727 | 0 | 0.002692 | 0.159502 | 884 | 27 | 85 | 32.740741 | 0.885599 | 0 | 0 | 0.111111 | 0 | 0 | 0.010181 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.111111 | 0.222222 | 0.166667 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 3 |
9c68d45ebe4ef7213b5886d970e45811efea495d | 275 | py | Python | aiogram/types/web_app_data.py | viuipan/aiogram | bad6d8613a05257a5171f6aa7c7e8f18226d615c | [
"MIT"
] | 1 | 2020-07-26T17:28:10.000Z | 2020-07-26T17:28:10.000Z | aiogram/types/web_app_data.py | viuipan/aiogram | bad6d8613a05257a5171f6aa7c7e8f18226d615c | [
"MIT"
] | 1 | 2022-01-24T09:18:43.000Z | 2022-01-24T09:18:43.000Z | aiogram/types/web_app_data.py | viuipan/aiogram | bad6d8613a05257a5171f6aa7c7e8f18226d615c | [
"MIT"
] | null | null | null | from . import base
from . import fields
class WebAppData(base.TelegramObject):
"""
Contains data sent from a Web App to the bot.
Source: https://core.telegram.org/bots/api#webappdata
"""
data: str = fields.Field()
button_text: str = fields.Field()
| 21.153846 | 57 | 0.669091 | 37 | 275 | 4.945946 | 0.72973 | 0.10929 | 0.153005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214545 | 275 | 12 | 58 | 22.916667 | 0.847222 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9c6d7a39325975c4f92a6cc69c4ddbc983177c93 | 171 | py | Python | boa3_test/test_sc/built_in_methods_test/AppendTuple.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/built_in_methods_test/AppendTuple.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/built_in_methods_test/AppendTuple.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from typing import Tuple
def Main(op: str, args: list) -> Tuple[int]:
a = (1, 2, 3)
a.append(4) # compiler error - cannot append values to a tuple
return a
| 21.375 | 67 | 0.625731 | 29 | 171 | 3.689655 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0.25731 | 171 | 7 | 68 | 24.428571 | 0.811024 | 0.280702 | 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 |
9c83be5e3115fc4980b0280b57273094b667bd27 | 984 | py | Python | mason/operators/operator_response.py | kyprifog/mason | bf45672124ef841bc16216c293034f4ccc506621 | [
"Apache-2.0"
] | 4 | 2021-04-12T17:49:34.000Z | 2022-01-23T19:54:29.000Z | mason/operators/operator_response.py | kyprifog/mason | bf45672124ef841bc16216c293034f4ccc506621 | [
"Apache-2.0"
] | 24 | 2021-04-30T18:40:25.000Z | 2021-05-12T20:52:06.000Z | mason/operators/operator_response.py | kyprifog/mason | bf45672124ef841bc16216c293034f4ccc506621 | [
"Apache-2.0"
] | 3 | 2021-04-12T19:40:43.000Z | 2021-09-07T21:56:36.000Z | from typing import Optional, Union
from mason.clients.responsable import Responsable
from mason.clients.response import Response
from mason.engines.execution.models.jobs import InvalidJob, ExecutedJob
class OperatorResponse:
def __init__(self, resp: Response, object: Optional[Responsable] = None): #TODO:... | 28.114286 | 104 | 0.685976 | 106 | 984 | 6.198113 | 0.349057 | 0.109589 | 0.109589 | 0.082192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231707 | 984 | 35 | 105 | 28.114286 | 0.869048 | 0.023374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.181818 | 0.727273 | 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 |
92bf98fcf0593bd54828240b794162f019b1f8ed | 1,766 | py | Python | main_cli.py | danihodovic/dht | 636f54d70f8c6ca60ab48f2815b3e9e1a336d78f | [
"MIT"
] | 2 | 2021-01-21T15:04:32.000Z | 2021-01-21T16:23:32.000Z | main_cli.py | danihodovic/dht | 636f54d70f8c6ca60ab48f2815b3e9e1a336d78f | [
"MIT"
] | 2 | 2020-12-30T20:34:51.000Z | 2021-01-17T20:02:02.000Z | main_cli.py | danihodovic/dht | 636f54d70f8c6ca60ab48f2815b3e9e1a336d78f | [
"MIT"
] | null | null | null | import click
import pretty_errors # pylint: disable=unused-import
from click_didyoumean import DYMGroup
from src.alertmanager import alertmanager
from src.cloudflare import cloudflare
from src.debug_error import debug_error
from src.django import django
from src.docker_commands import docker
from src.docs import down... | 28.483871 | 81 | 0.842582 | 271 | 1,766 | 5.302583 | 0.258303 | 0.096033 | 0.208072 | 0.029228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.084938 | 1,766 | 61 | 82 | 28.95082 | 0.879332 | 0.07248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018868 | true | 0.018868 | 0.471698 | 0 | 0.490566 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
92e002f68aaf867e4b61faec4df20817c117421f | 760 | py | Python | models/__init__.py | lisadunlap/explainable-nbdt | e045bfd0b55b21fd87c9a233b73a0ca77672efff | [
"MIT"
] | 1 | 2021-08-28T20:17:50.000Z | 2021-08-28T20:17:50.000Z | models/__init__.py | lisadunlap/explainable-nbdt | e045bfd0b55b21fd87c9a233b73a0ca77672efff | [
"MIT"
] | null | null | null | models/__init__.py | lisadunlap/explainable-nbdt | e045bfd0b55b21fd87c9a233b73a0ca77672efff | [
"MIT"
] | null | null | null | from .vgg import *
from .dpn import *
from .lenet import *
from .senet import *
from .pnasnet import *
from .densenet import *
from .googlenet import *
from .shufflenet import *
from .shufflenetv2 import *
from .resnet import *
from .resnext import *
from .preact_resnet import *
from .mobilenet import *
from .mobilenet... | 25.333333 | 72 | 0.744737 | 97 | 760 | 5.773196 | 0.42268 | 0.339286 | 0.101786 | 0.089286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00639 | 0.176316 | 760 | 29 | 73 | 26.206897 | 0.888179 | 0 | 0 | 0 | 0 | 0 | 0.002632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.846154 | 0 | 0.884615 | 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 |
1309e98194d5cecac28fbc8006d49f103d8e5aa1 | 267 | py | Python | notebooks/_solutions/case3_bacterial_resistance_lab_experiment8.py | jonasvdd/DS-python-data-analysis | 835226f562ee0b0631d70e48a17c4526ff58a538 | [
"BSD-3-Clause"
] | 65 | 2017-03-21T09:15:40.000Z | 2022-02-01T23:43:08.000Z | notebooks/_solutions/case3_bacterial_resistance_lab_experiment8.py | jonasvdd/DS-python-data-analysis | 835226f562ee0b0631d70e48a17c4526ff58a538 | [
"BSD-3-Clause"
] | 100 | 2016-12-15T03:44:06.000Z | 2022-03-07T08:14:07.000Z | notebooks/_solutions/case3_bacterial_resistance_lab_experiment8.py | jorisvandenbossche/ICES-python-data | 63864947657f37cb26cb4e2dcd67ff106dffe9cd | [
"BSD-3-Clause"
] | 52 | 2016-12-19T07:48:52.000Z | 2022-02-19T17:53:48.000Z | sns.catplot(data=density_mean, kind="bar",
x='Bacterial_genotype',
y='optical_density',
hue='Phage_t',
row="experiment_time_h",
sharey=False,
aspect=3, height=3,
palette="colorblind") | 33.375 | 42 | 0.524345 | 28 | 267 | 4.785714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.348315 | 267 | 8 | 43 | 33.375 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.261194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1333fcfdbe160ae9b1601a609cb9203c7f316e2d | 1,425 | py | Python | apps/xgds_braille_app/importer/timestamp_extractor_csv.py | juliazchen/xgds_braille | 22d946e4ef305101ff769a9c175f84a03d9d32fd | [
"Apache-2.0"
] | null | null | null | apps/xgds_braille_app/importer/timestamp_extractor_csv.py | juliazchen/xgds_braille | 22d946e4ef305101ff769a9c175f84a03d9d32fd | [
"Apache-2.0"
] | null | null | null | apps/xgds_braille_app/importer/timestamp_extractor_csv.py | juliazchen/xgds_braille | 22d946e4ef305101ff769a9c175f84a03d9d32fd | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import optparse
from csv import DictReader
import sys
import re
import datetime
from dateutil.parser import parse as dateparser
import pytz
def parseTimestampsFromCSV(filename, options):
num_imported = 0
reader = DictReader(open(filename,'r'), delimiter=options.delimiter)
for row in... | 34.756098 | 114 | 0.680702 | 160 | 1,425 | 5.94375 | 0.5 | 0.057834 | 0.047319 | 0.086225 | 0.073607 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004433 | 0.208421 | 1,425 | 40 | 115 | 35.625 | 0.838652 | 0.082105 | 0 | 0 | 0 | 0 | 0.086524 | 0 | 0 | 0 | 0 | 0.025 | 0 | 0 | null | null | 0 | 0.375 | null | null | 0.0625 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.