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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
65fcef1efd1b34aeb02ba8bec5a470d71a7074b8 | 212 | py | Python | python-mundo1/ex031.py | abm-astro/estudos-python | c0dcd71489e528d445efa25d4986bf2fd08f8fe6 | [
"MIT"
] | 1 | 2021-08-15T18:18:43.000Z | 2021-08-15T18:18:43.000Z | python-mundo1/ex031.py | abm-astro/estudos-python | c0dcd71489e528d445efa25d4986bf2fd08f8fe6 | [
"MIT"
] | null | null | null | python-mundo1/ex031.py | abm-astro/estudos-python | c0dcd71489e528d445efa25d4986bf2fd08f8fe6 | [
"MIT"
] | null | null | null | distance = int(input('Qual vai ser a distância da sua viagem? '))
if distance <= 200:
print(f'O preço da passagem será R${distance*0.5:.2f}')
else:
print(f'O preço da passagem será R${distance*0.45:.2f}') | 42.4 | 65 | 0.674528 | 39 | 212 | 3.666667 | 0.641026 | 0.083916 | 0.097902 | 0.167832 | 0.503497 | 0.503497 | 0.503497 | 0.503497 | 0.503497 | 0.503497 | 0 | 0.056497 | 0.165094 | 212 | 5 | 66 | 42.4 | 0.751412 | 0 | 0 | 0 | 0 | 0 | 0.615023 | 0.098592 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
65fd923c5bf60b092e28e50a9f56995a574b69bc | 185 | py | Python | app/core/events.py | panocbik/FastAPI-Redis-example | 085a8d0147700a6f2410db6ead8f8574b1aea578 | [
"MIT"
] | null | null | null | app/core/events.py | panocbik/FastAPI-Redis-example | 085a8d0147700a6f2410db6ead8f8574b1aea578 | [
"MIT"
] | null | null | null | app/core/events.py | panocbik/FastAPI-Redis-example | 085a8d0147700a6f2410db6ead8f8574b1aea578 | [
"MIT"
] | 1 | 2022-02-23T22:40:03.000Z | 2022-02-23T22:40:03.000Z | from typing import Callable
from redis_om import Migrator
def create_start_app_handler() -> Callable:
async def start_app() -> None:
Migrator().run()
return start_app
| 20.555556 | 43 | 0.713514 | 25 | 185 | 5.04 | 0.64 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205405 | 185 | 8 | 44 | 23.125 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5a002b1b1b524ae11f0831fafca44412110bd5a8 | 85 | py | Python | munimap/grid/__init__.py | MrSnyder/bielefeldGEOCLIENT | 17c78b43fc2055d23a1bc4b5091da164756bf767 | [
"Apache-2.0"
] | 2 | 2022-02-07T13:20:45.000Z | 2022-02-14T21:40:06.000Z | munimap/grid/__init__.py | MrSnyder/bielefeldGEOCLIENT | 17c78b43fc2055d23a1bc4b5091da164756bf767 | [
"Apache-2.0"
] | 4 | 2021-06-17T07:53:53.000Z | 2021-12-17T10:55:48.000Z | munimap/grid/__init__.py | MrSnyder/bielefeldGEOCLIENT | 17c78b43fc2055d23a1bc4b5091da164756bf767 | [
"Apache-2.0"
] | 2 | 2021-06-01T09:41:55.000Z | 2022-02-14T17:33:33.000Z | __all__ = ['Grid', 'RefFinder']
from .grid import Grid
from .finder import RefFinder | 21.25 | 31 | 0.741176 | 11 | 85 | 5.363636 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 4 | 32 | 21.25 | 0.808219 | 0 | 0 | 0 | 0 | 0 | 0.151163 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5a141136cac7d802d1898c4ac558a2bede6f5207 | 272 | py | Python | src/lib/debuggers/debugger_factory.py | ivalab/GraspKpNet | d4b6186d74ac82a745d778892742d52a204bd1cf | [
"MIT"
] | 16 | 2021-05-04T23:08:47.000Z | 2022-01-19T08:33:14.000Z | src/lib/debuggers/debugger_factory.py | ivalab/GraspKpNet | d4b6186d74ac82a745d778892742d52a204bd1cf | [
"MIT"
] | 2 | 2021-06-22T22:54:44.000Z | 2021-10-04T19:23:35.000Z | src/lib/debuggers/debugger_factory.py | ivalab/GraspKpNet | d4b6186d74ac82a745d778892742d52a204bd1cf | [
"MIT"
] | 2 | 2021-07-10T12:51:29.000Z | 2022-02-17T06:45:54.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .trictdet import TriCtdetDebugger
from .dbctdet import DbCtdetDebugger
debugger_factory = {
'trictdet': TriCtdetDebugger,
'dbctdet': DbCtdetDebugger,
}
| 22.666667 | 38 | 0.827206 | 28 | 272 | 7.5 | 0.464286 | 0.142857 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 272 | 11 | 39 | 24.727273 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.055147 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.555556 | 0 | 0.555556 | 0.111111 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5a15aa0d95242e4cad1c20c19f088d7b3417b406 | 3,238 | py | Python | tests/SecurityToken/transfer/test_token_country_investor_limits.py | DhruvTheEthDeveloper/SFT-Protocol | 489c0d4cba4f3b302906c366c0e796701c753c48 | [
"Apache-2.0"
] | null | null | null | tests/SecurityToken/transfer/test_token_country_investor_limits.py | DhruvTheEthDeveloper/SFT-Protocol | 489c0d4cba4f3b302906c366c0e796701c753c48 | [
"Apache-2.0"
] | null | null | null | tests/SecurityToken/transfer/test_token_country_investor_limits.py | DhruvTheEthDeveloper/SFT-Protocol | 489c0d4cba4f3b302906c366c0e796701c753c48 | [
"Apache-2.0"
] | 1 | 2021-06-29T19:17:59.000Z | 2021-06-29T19:17:59.000Z | #!/usr/bin/python3
import pytest
from brownie import accounts
@pytest.fixture(scope="module", autouse=True)
def setup(approve_many, issuer, token):
token.mint(issuer, 100000, {'from': accounts[0]})
issuer.setCountry(1, True, 1, (1, 0, 0, 0, 0, 0, 0, 0), {'from': accounts[0]})
token.transfer(accounts[1],... | 43.756757 | 90 | 0.701359 | 441 | 3,238 | 5.004535 | 0.104308 | 0.028092 | 0.033983 | 0.034436 | 0.878568 | 0.846851 | 0.773901 | 0.692796 | 0.671047 | 0.568645 | 0 | 0.059035 | 0.142063 | 3,238 | 73 | 91 | 44.356164 | 0.735421 | 0.193638 | 0 | 0.552632 | 0 | 0 | 0.074219 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.289474 | false | 0 | 0.052632 | 0 | 0.342105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5a1abff98c8498cbe502acee9aefd914a765241e | 76 | py | Python | rothko/__init__.py | collinsgit/rothko | fcb72d837ba31cde36e63b6bbb68390ca9dac04a | [
"MIT"
] | null | null | null | rothko/__init__.py | collinsgit/rothko | fcb72d837ba31cde36e63b6bbb68390ca9dac04a | [
"MIT"
] | null | null | null | rothko/__init__.py | collinsgit/rothko | fcb72d837ba31cde36e63b6bbb68390ca9dac04a | [
"MIT"
] | null | null | null | """Code for performing simulated annealing, applied to various problems."""
| 38 | 75 | 0.776316 | 9 | 76 | 6.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 76 | 1 | 76 | 76 | 0.880597 | 0.907895 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5a21672baf072ac5d4f47aba51a436c03d44f062 | 552 | py | Python | modules/dbnd/test_dbnd/task/parameters/test_parameter_pathlib.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | 224 | 2020-01-02T10:46:37.000Z | 2022-03-02T13:54:08.000Z | modules/dbnd/test_dbnd/task/parameters/test_parameter_pathlib.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | 16 | 2020-03-11T09:37:58.000Z | 2022-01-26T10:22:08.000Z | modules/dbnd/test_dbnd/task/parameters/test_parameter_pathlib.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | 24 | 2020-03-24T13:53:50.000Z | 2022-03-22T11:55:18.000Z | from dbnd import band, task
from targets import target
from targets.types import Path
class _MyObject(object):
pass
@task
def t_Path(path1, path2):
# type: (str, str) -> str
return path1
@band
def t_band_path(path1, path2):
# type: (Path, Path) -> str
return t_Path(path1=path1, path2=path2)
... | 16.727273 | 48 | 0.690217 | 79 | 552 | 4.556962 | 0.329114 | 0.125 | 0.055556 | 0.1 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038724 | 0.20471 | 552 | 32 | 49 | 17.25 | 0.781321 | 0.088768 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.052632 | 0.157895 | 0.105263 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
5a2dd34aedcfccddff304fce9900ae05d9383073 | 575 | py | Python | core/models/forms.py | gabrielloliveira/flaskweet | 0fc21bfb62c1335ee009ceb9cda9071ca13a8c76 | [
"MIT"
] | null | null | null | core/models/forms.py | gabrielloliveira/flaskweet | 0fc21bfb62c1335ee009ceb9cda9071ca13a8c76 | [
"MIT"
] | 5 | 2020-04-03T14:40:27.000Z | 2020-04-05T15:24:49.000Z | core/models/forms.py | gabrielloliveira/flaskweet | 0fc21bfb62c1335ee009ceb9cda9071ca13a8c76 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField
from wtforms.validators import DataRequired, Email
class LoginForm(FlaskForm):
username = StringField('username', validators=[DataRequired()])
password = PasswordField('password', validators=[DataRequired()])
class UserCreationFo... | 35.9375 | 70 | 0.753043 | 51 | 575 | 8.470588 | 0.333333 | 0.25463 | 0.125 | 0.171296 | 0.462963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 575 | 15 | 71 | 38.333333 | 0.855446 | 0 | 0 | 0.363636 | 0 | 0 | 0.071304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.272727 | 0.272727 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
5a7a31155e6a5e47669b604714db667eba2c8511 | 2,548 | py | Python | tests/test_author.py | 5783354/awokado | 9454067f005fd8905409902fb955de664ba3d5b6 | [
"MIT"
] | 6 | 2019-02-08T16:21:24.000Z | 2019-03-13T13:00:05.000Z | tests/test_author.py | 5783354/awokado | 9454067f005fd8905409902fb955de664ba3d5b6 | [
"MIT"
] | 10 | 2019-05-21T10:29:16.000Z | 2021-05-21T12:09:49.000Z | tests/test_author.py | 5783354/awokado | 9454067f005fd8905409902fb955de664ba3d5b6 | [
"MIT"
] | 1 | 2020-02-26T06:47:41.000Z | 2020-02-26T06:47:41.000Z | from unittest.mock import patch
from tests.base import BaseAPITest
from .test_app.routes import api
class AuthorTest(BaseAPITest):
def setUp(self):
super().setUp()
self.app = api
@patch("awokado.resource.Transaction", autospec=True)
def test_create(self, session_patch):
self.patc... | 31.45679 | 78 | 0.586342 | 278 | 2,548 | 5.165468 | 0.197842 | 0.130223 | 0.083565 | 0.086351 | 0.79805 | 0.784819 | 0.751393 | 0.751393 | 0.651114 | 0.651114 | 0 | 0.012466 | 0.275903 | 2,548 | 80 | 79 | 31.85 | 0.765854 | 0 | 0 | 0.409836 | 0 | 0 | 0.16562 | 0.05259 | 0 | 0 | 0 | 0 | 0.147541 | 1 | 0.081967 | false | 0 | 0.04918 | 0 | 0.147541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ce6a8435c676d2d30912b22d417c6a2430f9fce5 | 81 | py | Python | doc/examples/hello_world.py | timgates42/juno | 5d84d23e3fb32deaa61f74958b26f4f6e838e85c | [
"MIT"
] | 22 | 2015-01-11T23:03:10.000Z | 2022-01-06T04:51:46.000Z | doc/examples/hello_world.py | abiczo/juno | 5fa3355d39fe2a62248d3e07b98809001f05ea6c | [
"MIT"
] | 2 | 2015-10-18T17:02:05.000Z | 2021-07-10T22:29:59.000Z | doc/examples/hello_world.py | abiczo/juno | 5fa3355d39fe2a62248d3e07b98809001f05ea6c | [
"MIT"
] | 5 | 2015-01-11T23:04:13.000Z | 2021-07-10T11:47:17.000Z | from juno import *
@route('/')
def index(web):
return 'Hello, World'
run()
| 10.125 | 25 | 0.604938 | 11 | 81 | 4.454545 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209877 | 81 | 7 | 26 | 11.571429 | 0.765625 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 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 | 1 | 1 | 0 | 0 | 4 |
0c6817399c2733e97410876acf79cae09f035662 | 186 | py | Python | tests/datasources/util.py | kevinbazira/revscoring | 625f8b8048eb3c0c1c872ed9c15687c56f125747 | [
"MIT"
] | 49 | 2015-07-15T14:53:06.000Z | 2018-08-20T15:00:31.000Z | tests/datasources/util.py | kevinbazira/revscoring | 625f8b8048eb3c0c1c872ed9c15687c56f125747 | [
"MIT"
] | 224 | 2015-06-14T23:22:43.000Z | 2018-08-08T22:52:46.000Z | tests/datasources/util.py | kevinbazira/revscoring | 625f8b8048eb3c0c1c872ed9c15687c56f125747 | [
"MIT"
] | 36 | 2015-07-03T03:25:01.000Z | 2018-05-25T10:21:08.000Z | import pickle
from revscoring.datasources.datasource import Datasource
def check_datasource(ds):
assert isinstance(ds, Datasource)
assert pickle.loads(pickle.dumps(ds)) == ds
| 20.666667 | 56 | 0.774194 | 23 | 186 | 6.217391 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 186 | 8 | 57 | 23.25 | 0.89375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | false | 0 | 0.4 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
0c704498da471c3609eba8228500ad810c3a8347 | 1,692 | py | Python | test/test_group_operations_api.py | s4v4g3/aio-ketra-api | 1c8fefa2a66d4a66addeefdc33c71b2f0faa1137 | [
"MIT"
] | null | null | null | test/test_group_operations_api.py | s4v4g3/aio-ketra-api | 1c8fefa2a66d4a66addeefdc33c71b2f0faa1137 | [
"MIT"
] | null | null | null | test/test_group_operations_api.py | s4v4g3/aio-ketra-api | 1c8fefa2a66d4a66addeefdc33c71b2f0faa1137 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Ketra Lighting API
Control your Ketra lights # noqa: E501
The version of the OpenAPI document: 1.4.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import aioketraapi
from aioketraapi.api.group_operations_api import Gro... | 22.263158 | 90 | 0.644208 | 222 | 1,692 | 4.671171 | 0.324324 | 0.069431 | 0.063645 | 0.086789 | 0.449373 | 0.323047 | 0.299904 | 0.272903 | 0.145612 | 0.098361 | 0 | 0.026316 | 0.281324 | 1,692 | 75 | 91 | 22.56 | 0.82648 | 0.427896 | 0 | 0.291667 | 1 | 0 | 0.009938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.291667 | 0.208333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
0c7fe1dabf75a9af54dc5fe88283c2c23a6475db | 2,151 | py | Python | ngallery_utils/data.py | jukent/notebook-gallery | c1bf855a897690e7db7b9c9931cdfb98b6bd6f82 | [
"CC0-1.0"
] | 17 | 2019-09-20T20:52:42.000Z | 2021-11-28T15:54:44.000Z | ngallery_utils/data.py | jukent/notebook-gallery | c1bf855a897690e7db7b9c9931cdfb98b6bd6f82 | [
"CC0-1.0"
] | 59 | 2019-02-08T20:02:01.000Z | 2021-09-07T22:02:07.000Z | ngallery_utils/data.py | jukent/notebook-gallery | c1bf855a897690e7db7b9c9931cdfb98b6bd6f82 | [
"CC0-1.0"
] | 9 | 2019-02-12T18:19:11.000Z | 2021-04-23T02:04:58.000Z | import os
import pooch
from .util import identify_host
hostname = identify_host()
data_cache_map = {'cheyenne': '/glade/work/abanihi/aletheia-data/tutorial-data/',
'casper': '/glade/work/abanihi/aletheia-data/tutorial-data/',
'hobart': '/ftp/archive/aletheia-data/tutorial-data/'... | 47.8 | 158 | 0.717341 | 335 | 2,151 | 4.328358 | 0.292537 | 0.190345 | 0.186207 | 0.187586 | 0.648966 | 0.426207 | 0.354483 | 0.27931 | 0.27931 | 0.27931 | 0 | 0.065865 | 0.110646 | 2,151 | 44 | 159 | 48.886364 | 0.692107 | 0 | 0 | 0 | 0 | 0.108108 | 0.691771 | 0.621106 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.081081 | 0 | 0.081081 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0c82840dbf32b3618a29ccaa8fe6554fd1f2cd10 | 5,821 | py | Python | isi_mip/climatemodels/migrations/0073_auto_20170124_1121.py | ISI-MIP/isimip | c2a78c727337e38f3695031e00afd607da7d6dcb | [
"MIT"
] | 4 | 2017-07-05T08:06:18.000Z | 2021-03-01T17:23:18.000Z | isi_mip/climatemodels/migrations/0073_auto_20170124_1121.py | ISI-MIP/isimip | c2a78c727337e38f3695031e00afd607da7d6dcb | [
"MIT"
] | 4 | 2020-01-31T09:02:57.000Z | 2021-04-20T14:04:35.000Z | isi_mip/climatemodels/migrations/0073_auto_20170124_1121.py | ISI-MIP/isimip | c2a78c727337e38f3695031e00afd607da7d6dcb | [
"MIT"
] | 4 | 2017-10-12T01:48:55.000Z | 2020-04-29T13:50:03.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-01-24 10:21
from __future__ import unicode_literals
from django.db import migrations, models
def set_data_sets(apps, schema_editor):
InputDataInformation = apps.get_model('climatemodels', 'InputDataInformation')
for idi in InputDataInformation.obje... | 65.404494 | 287 | 0.727023 | 688 | 5,821 | 5.851744 | 0.12936 | 0.119225 | 0.119225 | 0.06458 | 0.82613 | 0.766518 | 0.700695 | 0.668654 | 0.632389 | 0.494287 | 0 | 0.006908 | 0.179351 | 5,821 | 88 | 288 | 66.147727 | 0.83588 | 0.011682 | 0 | 0.392405 | 1 | 0 | 0.378435 | 0.11287 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012658 | false | 0 | 0.025316 | 0 | 0.075949 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0c879187c36b1179c1858bf472446983059b37f8 | 79 | py | Python | src/setting.py | quochungto/SIIM-COVID19-Detection | 88bc10d7b01d277d223c4dddd4c223a782616611 | [
"MIT"
] | null | null | null | src/setting.py | quochungto/SIIM-COVID19-Detection | 88bc10d7b01d277d223c4dddd4c223a782616611 | [
"MIT"
] | null | null | null | src/setting.py | quochungto/SIIM-COVID19-Detection | 88bc10d7b01d277d223c4dddd4c223a782616611 | [
"MIT"
] | null | null | null | import os
WORKING_BASE = os.getcwd()
DATA_BASE = os.path.abspath('../dataset')
| 19.75 | 41 | 0.721519 | 12 | 79 | 4.583333 | 0.75 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 3 | 42 | 26.333333 | 0.774648 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0cb69448cd24372067ac845eca5862bc3d3a46a9 | 2,368 | py | Python | src/main/python/apache/aurora/client/cli/client.py | zmanji/incubator-aurora | 9f594f1de6bbf46c74863dd3fc4d2708b7a974f2 | [
"Apache-2.0"
] | null | null | null | src/main/python/apache/aurora/client/cli/client.py | zmanji/incubator-aurora | 9f594f1de6bbf46c74863dd3fc4d2708b7a974f2 | [
"Apache-2.0"
] | null | null | null | src/main/python/apache/aurora/client/cli/client.py | zmanji/incubator-aurora | 9f594f1de6bbf46c74863dd3fc4d2708b7a974f2 | [
"Apache-2.0"
] | null | null | null | #
# 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, software
# distributed under ... | 33.352113 | 91 | 0.748733 | 317 | 2,368 | 5.470032 | 0.485804 | 0.048443 | 0.036909 | 0.05075 | 0.11361 | 0.042676 | 0.042676 | 0 | 0 | 0 | 0 | 0.010978 | 0.153716 | 2,368 | 70 | 92 | 33.828571 | 0.854291 | 0.356419 | 0 | 0.222222 | 0 | 0 | 0.147508 | 0 | 0 | 0 | 0 | 0.014286 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.111111 | 0.638889 | 0.055556 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0ccf6fb7dfb97bbcca98e3e63df4c4779fea5079 | 80 | py | Python | examples/debugtalk.py | bbx-winner/hrp | 59f60d94a9bfce146a445eeca602528a4015f2dc | [
"Apache-2.0"
] | null | null | null | examples/debugtalk.py | bbx-winner/hrp | 59f60d94a9bfce146a445eeca602528a4015f2dc | [
"Apache-2.0"
] | null | null | null | examples/debugtalk.py | bbx-winner/hrp | 59f60d94a9bfce146a445eeca602528a4015f2dc | [
"Apache-2.0"
] | null | null | null | from plugin.python.plugin import serve
if __name__ == '__main__':
serve()
| 13.333333 | 38 | 0.7 | 10 | 80 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 80 | 5 | 39 | 16 | 0.738462 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0cd02e03249e1baad94f0a8ebd08e051d41fa7ce | 1,681 | py | Python | 300-/729.py | yshshadow/Leetcode | 5097f69bb0050d963c784d6bc0e88a7e871568ed | [
"MIT"
] | null | null | null | 300-/729.py | yshshadow/Leetcode | 5097f69bb0050d963c784d6bc0e88a7e871568ed | [
"MIT"
] | null | null | null | 300-/729.py | yshshadow/Leetcode | 5097f69bb0050d963c784d6bc0e88a7e871568ed | [
"MIT"
] | null | null | null | # Implement a MyCalendar class to store your events. A new event can be added if adding the event will not cause a double booking.
#
# Your class will have the method, book(int start, int end). Formally, this represents a booking on the half open interval [start, end), the range of real numbers x such that start <= x <... | 42.025 | 213 | 0.701963 | 266 | 1,681 | 4.417293 | 0.454887 | 0.083404 | 0.034043 | 0.025532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02126 | 0.216538 | 1,681 | 39 | 214 | 43.102564 | 0.870919 | 0.868531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.25 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
0cd9d2e60057fc654504e8cd64c4f9f68db07c0d | 136 | py | Python | FunPySearch/settings/production.py | LG-1/mtianyanSearch | 830cdabf52393489a4a0e40eeedaed3040f183f4 | [
"MIT"
] | 235 | 2018-01-29T19:45:28.000Z | 2022-03-29T23:27:34.000Z | FunPySearch/settings/production.py | LG-1/mtianyanSearch | 830cdabf52393489a4a0e40eeedaed3040f183f4 | [
"MIT"
] | 13 | 2018-02-27T05:58:50.000Z | 2021-09-22T17:58:30.000Z | FunPySearch/settings/production.py | LG-1/mtianyanSearch | 830cdabf52393489a4a0e40eeedaed3040f183f4 | [
"MIT"
] | 120 | 2018-02-02T02:18:12.000Z | 2022-03-30T10:47:14.000Z | from .base import *
DEBUG = True
ES_HOST = "mtianyan_elasticsearch"
REDIS_HOST = "mtianyan_redis"
REDIS_PASSWORD = "mtianyanRedisRoot"
| 19.428571 | 36 | 0.786765 | 16 | 136 | 6.375 | 0.75 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 136 | 6 | 37 | 22.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.389706 | 0.161765 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0cfc3351681d4c12a9c246fdb3ddf3c896c937b8 | 57 | py | Python | nephoria/testcases/cloudformation/__init__.py | Corymbia/nephoria | fe8ad7beba479e7a8de70f09cf1fdb4d640b4987 | [
"BSD-2-Clause"
] | 5 | 2016-08-31T06:51:18.000Z | 2018-04-25T20:50:25.000Z | nephoria/testcases/cloudformation/__init__.py | Corymbia/nephoria | fe8ad7beba479e7a8de70f09cf1fdb4d640b4987 | [
"BSD-2-Clause"
] | 49 | 2016-04-19T07:01:46.000Z | 2017-11-17T23:57:18.000Z | nephoria/testcases/cloudformation/__init__.py | Corymbia/nephoria | fe8ad7beba479e7a8de70f09cf1fdb4d640b4987 | [
"BSD-2-Clause"
] | 14 | 2016-04-14T17:01:35.000Z | 2021-07-13T13:35:38.000Z | __author__ = "Harold Spencer, Jr.<hspencer77@gmail.com>"
| 28.5 | 56 | 0.754386 | 7 | 57 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.087719 | 57 | 1 | 57 | 57 | 0.711538 | 0 | 0 | 0 | 0 | 0 | 0.719298 | 0.438596 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0b3a2928aff63b9266b5ab7ef320387ada42d633 | 97 | py | Python | Python/hell-o-world.py | PushpneetSingh/Hello-world | def0f44737e02fb40063cd347e93e456658e2532 | [
"MIT"
] | 1,428 | 2018-10-03T15:15:17.000Z | 2019-03-31T18:38:36.000Z | Python/hell-o-world.py | PushpneetSingh/Hello-world | def0f44737e02fb40063cd347e93e456658e2532 | [
"MIT"
] | 1,162 | 2018-10-03T15:05:49.000Z | 2018-10-18T14:17:52.000Z | Python/hell-o-world.py | PushpneetSingh/Hello-world | def0f44737e02fb40063cd347e93e456658e2532 | [
"MIT"
] | 3,909 | 2018-10-03T15:07:19.000Z | 2019-03-31T18:39:08.000Z | To print in python
your_string = input("enter something you want to print")
print(your_string)
| 16.166667 | 56 | 0.773196 | 16 | 97 | 4.5625 | 0.6875 | 0.191781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 57 | 19.4 | 0.890244 | 0 | 0 | 0 | 0 | 0 | 0.340206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0b3b5f1b6ce20762330d2bf2495595c34357162b | 142 | py | Python | setup.py | scuc/Vantage-API-Batch-Submission | ccdeaa573070b14440b29e14aeb6113568de1206 | [
"MIT"
] | null | null | null | setup.py | scuc/Vantage-API-Batch-Submission | ccdeaa573070b14440b29e14aeb6113568de1206 | [
"MIT"
] | null | null | null | setup.py | scuc/Vantage-API-Batch-Submission | ccdeaa573070b14440b29e14aeb6113568de1206 | [
"MIT"
] | null | null | null | import os
if os.name == 'nt':
os.system('pip install requests')
os.system('pause')
else:
os.system('pip3 install requests') | 20.285714 | 38 | 0.619718 | 20 | 142 | 4.4 | 0.6 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.225352 | 142 | 7 | 39 | 20.285714 | 0.790909 | 0 | 0 | 0 | 0 | 0 | 0.350365 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0b56ae6c6971894339d3b58f03146bdc3a60be92 | 831 | py | Python | tests/test_1967.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_1967.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_1967.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import pytest
"""
Test 1967. Number of Strings That Appear as Substrings in Word
"""
@pytest.fixture(scope="session")
def init_variables_1967():
from src.leetcode_1967_number_of_strings_that_appear_as_substrings_in_word import (
Solution,
)
solution = Solution()
def _... | 25.181818 | 87 | 0.688327 | 109 | 831 | 4.917431 | 0.422018 | 0.218284 | 0.285448 | 0.117537 | 0.494403 | 0.494403 | 0.494403 | 0.494403 | 0.494403 | 0.494403 | 0 | 0.079412 | 0.181709 | 831 | 32 | 88 | 25.96875 | 0.708824 | 0.024067 | 0 | 0 | 0 | 0 | 0.047297 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.294118 | false | 0 | 0.117647 | 0.058824 | 0.529412 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0b61945452a3f9b5835c8bcafc6ac3dff74e8e74 | 59 | py | Python | src/positron_cross_section/__init__.py | ryanstocks00/positron-cross-section | cdfdd1fb9d0456abca7230f53310df9e40dbeb7b | [
"MIT"
] | 1 | 2022-03-26T00:52:56.000Z | 2022-03-26T00:52:56.000Z | src/positron_cross_section/__init__.py | ryanstocks00/positron-cross-section | cdfdd1fb9d0456abca7230f53310df9e40dbeb7b | [
"MIT"
] | null | null | null | src/positron_cross_section/__init__.py | ryanstocks00/positron-cross-section | cdfdd1fb9d0456abca7230f53310df9e40dbeb7b | [
"MIT"
] | null | null | null | """__init__ for positron cross section analysis module."""
| 29.5 | 58 | 0.762712 | 7 | 59 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 59 | 1 | 59 | 59 | 0.788462 | 0.881356 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0ba370c83f7057e49fa9422c390b555c8a0ed4c8 | 3,309 | py | Python | {{cookiecutter.project_slug}}/backend/app/app/tests/crud/test_user.py | StrayDragon/full-stack-fastapi-postgresql | c159739dc50c52b19d8cf22e07543464cd691502 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/backend/app/app/tests/crud/test_user.py | StrayDragon/full-stack-fastapi-postgresql | c159739dc50c52b19d8cf22e07543464cd691502 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/backend/app/app/tests/crud/test_user.py | StrayDragon/full-stack-fastapi-postgresql | c159739dc50c52b19d8cf22e07543464cd691502 | [
"MIT"
] | null | null | null | from fastapi.encoders import jsonable_encoder
from app import crud
from app.core.security import get_password_hash, verify_password
from app.db.session import db_session
from app.schemas.user import UserCreate, UserUpdate
from app.tests.utils.utils import random_lower_string
def test_create_user():
email = rando... | 34.831579 | 78 | 0.751284 | 470 | 3,309 | 4.980851 | 0.112766 | 0.046134 | 0.087142 | 0.106792 | 0.73601 | 0.73601 | 0.722768 | 0.658693 | 0.637334 | 0.637334 | 0 | 0.002149 | 0.156241 | 3,309 | 94 | 79 | 35.202128 | 0.836318 | 0 | 0 | 0.506667 | 0 | 0 | 0.004533 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 1 | 0.12 | false | 0.32 | 0.08 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0bbd04e6b930c045470d8d253a0578138b76fea2 | 205 | py | Python | cookbook/c05/p14_bypass_encode.py | itpubs/python3-cookbook | 140f5e4cc0416b9674edca7f4c901b1f58fc1415 | [
"Apache-2.0"
] | 3 | 2018-09-19T06:44:13.000Z | 2019-03-24T10:07:07.000Z | cookbook/c05/p14_bypass_encode.py | itpubs/python3-cookbook | 140f5e4cc0416b9674edca7f4c901b1f58fc1415 | [
"Apache-2.0"
] | 2 | 2020-09-19T17:10:23.000Z | 2020-10-17T16:43:52.000Z | cookbook/c05/p14_bypass_encode.py | itpubs/python3-cookbook | 140f5e4cc0416b9674edca7f4c901b1f58fc1415 | [
"Apache-2.0"
] | 1 | 2020-07-20T22:10:31.000Z | 2020-07-20T22:10:31.000Z | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
Topic: 忽略文件名编码
Desc :
"""
import sys
def bypass_encoding():
print(sys.getfilesystemencoding())
if __name__ == '__main__':
bypass_encoding()
| 12.8125 | 38 | 0.643902 | 23 | 205 | 5.304348 | 0.826087 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.17561 | 205 | 15 | 39 | 13.666667 | 0.715976 | 0.326829 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.4 | 0.2 | 0 | 0.4 | 0.2 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0bc1edc0e4cbae8e04c0adc8db21d18c95642709 | 688 | py | Python | algorithms/0002-Fibonacci/test_fibonacci.py | ivamluz/Algorithms-and-Data-Structures | cffacd758adf134dabc63cdc107c8b485b00b1c1 | [
"Apache-2.0"
] | 1 | 2018-11-06T22:43:07.000Z | 2018-11-06T22:43:07.000Z | algorithms/0002-Fibonacci/test_fibonacci.py | ivamluz/Algorithms-and-Data-Structures | cffacd758adf134dabc63cdc107c8b485b00b1c1 | [
"Apache-2.0"
] | null | null | null | algorithms/0002-Fibonacci/test_fibonacci.py | ivamluz/Algorithms-and-Data-Structures | cffacd758adf134dabc63cdc107c8b485b00b1c1 | [
"Apache-2.0"
] | null | null | null | import unittest
from fibonacci import build_fibonacci_sequence_up_to
class TestFibonacci(unittest.TestCase):
def test_negative_number(self):
self.assertEqual(build_fibonacci_sequence_up_to(-1), None)
def test_zero(self):
self.assertEqual(build_fibonacci_sequence_up_to(0), None)
def test_single_sequence... | 32.761905 | 100 | 0.752907 | 108 | 688 | 4.398148 | 0.361111 | 0.176842 | 0.277895 | 0.303158 | 0.591579 | 0.536842 | 0.511579 | 0.511579 | 0.416842 | 0.223158 | 0 | 0.055 | 0.127907 | 688 | 21 | 101 | 32.761905 | 0.736667 | 0 | 0 | 0 | 0 | 0 | 0.011611 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.133333 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e7e329a9dbeaa673c206d9c4c6b7714d64a669a9 | 588 | py | Python | fungsi_2.py | rpurnama/pycodes | bc507d9b6eab30e39d69946ee07eebcd538546af | [
"Unlicense"
] | 1 | 2020-07-25T16:57:57.000Z | 2020-07-25T16:57:57.000Z | fungsi_2.py | itbj/PyCodes | 6a3f3a6d4e70882e00991493839a6af0fabeaab4 | [
"Unlicense"
] | null | null | null | fungsi_2.py | itbj/PyCodes | 6a3f3a6d4e70882e00991493839a6af0fabeaab4 | [
"Unlicense"
] | 1 | 2020-07-25T16:58:27.000Z | 2020-07-25T16:58:27.000Z | def fungsi_tanpa_parameter():
temp = 0
for i in range(1,5):
temp = temp + i
return temp
def fungsi_berparameter(batas_akhir):
temp = 0
for i in range(1, batas_akhir):
temp = temp + i
return temp
print "Contoh penggunaan fungsi tanpa parameter:"
print "Hasil: ",fungsi_tanpa_parameter()
print ... | 25.565217 | 50 | 0.710884 | 80 | 588 | 5.05 | 0.3 | 0.148515 | 0.237624 | 0.247525 | 0.462871 | 0.368812 | 0.368812 | 0.284653 | 0.284653 | 0.284653 | 0 | 0.022727 | 0.176871 | 588 | 23 | 51 | 25.565217 | 0.811983 | 0 | 0 | 0.473684 | 0 | 0 | 0.22575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.473684 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f005201127b41fc978483374b122c40f8e43f017 | 91 | py | Python | cureview/apps.py | Culpa-io/culpa.io | 28e33b1c8b979759bb7b5f383a85bbd2bcbf67b5 | [
"MIT"
] | 9 | 2021-11-10T15:51:07.000Z | 2021-12-11T05:27:24.000Z | cureview/apps.py | Culpa-io/culpa.io | 28e33b1c8b979759bb7b5f383a85bbd2bcbf67b5 | [
"MIT"
] | 16 | 2021-11-10T11:11:51.000Z | 2021-12-28T02:08:27.000Z | cureview/apps.py | Culpa-io/culpa.io | 28e33b1c8b979759bb7b5f383a85bbd2bcbf67b5 | [
"MIT"
] | 1 | 2021-11-11T22:04:07.000Z | 2021-11-11T22:04:07.000Z | from django.apps import AppConfig
class CureviewConfig(AppConfig):
name = 'cureview'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f005c7d51ca263b319e547414322c807726c3a3d | 77 | py | Python | core/pattern/__init__.py | YorkSu/deepgo | 2f22ad50d2958a4f1c7dfc0af6fcd448f5e7e18d | [
"Apache-2.0"
] | null | null | null | core/pattern/__init__.py | YorkSu/deepgo | 2f22ad50d2958a4f1c7dfc0af6fcd448f5e7e18d | [
"Apache-2.0"
] | null | null | null | core/pattern/__init__.py | YorkSu/deepgo | 2f22ad50d2958a4f1c7dfc0af6fcd448f5e7e18d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Deep Go Patterns
======
Design Patterns
"""
| 9.625 | 23 | 0.493506 | 8 | 77 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.233766 | 77 | 7 | 24 | 11 | 0.627119 | 0.818182 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f05fc8422260c54952941ff9cb54a3f621e03c7d | 228 | py | Python | starborn/__init__.py | PythonCharmers/starborn | 50dfceb0cf7c47aee9b3139086c49469554dea44 | [
"BSD-3-Clause"
] | 51 | 2018-05-30T23:46:29.000Z | 2022-03-03T04:13:18.000Z | starborn/__init__.py | PythonCharmers/starborn | 50dfceb0cf7c47aee9b3139086c49469554dea44 | [
"BSD-3-Clause"
] | 1 | 2018-09-13T03:09:38.000Z | 2019-03-20T17:24:06.000Z | starborn/__init__.py | PythonCharmers/starborn | 50dfceb0cf7c47aee9b3139086c49469554dea44 | [
"BSD-3-Clause"
] | 6 | 2018-08-15T23:13:25.000Z | 2020-03-24T03:21:58.000Z | """
starborn: statistical data visualization based on Vega and Altair
Plot types available:
- scatterplot
- jointplot
- heatmap
- stripplot
- pairplot
- barplot
- violinplot
"""
from .core import *
| 15.2 | 65 | 0.653509 | 22 | 228 | 6.772727 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27193 | 228 | 14 | 66 | 16.285714 | 0.89759 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b2b9681e0e7bc7d5d539ec42d9c3da87eaca8d7a | 53 | py | Python | utils/cyan_target_ref_moving.py | Dorky-Lever/vpv | 0f156b2ad79cbb7060140434e34b5841ab5b1a26 | [
"Apache-2.0"
] | null | null | null | utils/cyan_target_ref_moving.py | Dorky-Lever/vpv | 0f156b2ad79cbb7060140434e34b5841ab5b1a26 | [
"Apache-2.0"
] | null | null | null | utils/cyan_target_ref_moving.py | Dorky-Lever/vpv | 0f156b2ad79cbb7060140434e34b5841ab5b1a26 | [
"Apache-2.0"
] | null | null | null | """
When pointed to a line directory, open up vpv
""" | 17.666667 | 45 | 0.679245 | 9 | 53 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 53 | 3 | 46 | 17.666667 | 0.837209 | 0.849057 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b2c4088cde21cc832f3fc9a457e3be4133082640 | 338 | py | Python | test/formats/test_brfld.py | duncathan/mercury-engine-data-structures | 1bc4117dba9c7961d9a8f1b7f11b62daaf82b09b | [
"MIT"
] | null | null | null | test/formats/test_brfld.py | duncathan/mercury-engine-data-structures | 1bc4117dba9c7961d9a8f1b7f11b62daaf82b09b | [
"MIT"
] | null | null | null | test/formats/test_brfld.py | duncathan/mercury-engine-data-structures | 1bc4117dba9c7961d9a8f1b7f11b62daaf82b09b | [
"MIT"
] | 2 | 2021-11-07T13:42:13.000Z | 2022-01-08T06:00:40.000Z | from mercury_engine_data_structures.formats.brfld import BRFLD
from mercury_engine_data_structures.game_check import Game
from test.test_lib import parse_and_build_compare
def test_compare_dread(dread_path):
parse_and_build_compare(
BRFLD, Game.DREAD, dread_path.joinpath("packs/maps/s090_skybase/s090_skyb... | 33.8 | 92 | 0.828402 | 50 | 338 | 5.2 | 0.48 | 0.084615 | 0.130769 | 0.161538 | 0.238462 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019934 | 0.109467 | 338 | 9 | 93 | 37.555556 | 0.843854 | 0 | 0 | 0 | 0 | 0 | 0.12426 | 0.12426 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e8dc574c7798992b543a7d36de0fcc289eb16da7 | 165 | py | Python | src/reputation/apps.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 18 | 2021-05-20T13:20:16.000Z | 2022-02-11T02:40:18.000Z | src/reputation/apps.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 109 | 2021-05-21T20:14:23.000Z | 2022-03-31T20:56:10.000Z | src/reputation/apps.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 4 | 2021-05-17T13:47:53.000Z | 2022-02-12T10:48:21.000Z | from django.apps import AppConfig
class ReputationConfig(AppConfig):
name = 'reputation'
def ready(self):
import reputation.signals # noqa: F401
| 18.333333 | 47 | 0.70303 | 18 | 165 | 6.444444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.218182 | 165 | 8 | 48 | 20.625 | 0.875969 | 0.060606 | 0 | 0 | 0 | 0 | 0.065359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e8e3d8af6837089942239a0c83c9354236c9bc85 | 196 | py | Python | tests/tensorflow/utils.py | NRauschmayr/sagemaker-debugger | 24ed65631143fcc0457fb325a102500ebd69adfc | [
"Apache-2.0"
] | 133 | 2019-12-03T18:56:27.000Z | 2022-03-18T19:54:49.000Z | tests/tensorflow/utils.py | NRauschmayr/sagemaker-debugger | 24ed65631143fcc0457fb325a102500ebd69adfc | [
"Apache-2.0"
] | 384 | 2019-12-04T03:04:14.000Z | 2022-03-31T20:42:48.000Z | tests/tensorflow/utils.py | NRauschmayr/sagemaker-debugger | 24ed65631143fcc0457fb325a102500ebd69adfc | [
"Apache-2.0"
] | 64 | 2019-12-05T20:39:51.000Z | 2022-03-25T13:30:54.000Z | # First Party
from smdebug.trials import create_trial
def create_trial_fast_refresh(path, **kwargs):
tr = create_trial(path, **kwargs)
tr.training_end_delay_refresh = 0.01
return tr
| 21.777778 | 46 | 0.744898 | 29 | 196 | 4.758621 | 0.689655 | 0.23913 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018405 | 0.168367 | 196 | 8 | 47 | 24.5 | 0.828221 | 0.056122 | 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 | 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 | 1 | 0 | 0 | 4 |
3300d8938bea59a70f0b1eacd091f9f60236b7ec | 21 | py | Python | tests/test_matrices/__init__.py | paniash/toqito | ab67c2a3fca77b3827be11d1e79531042ea62b82 | [
"MIT"
] | 76 | 2020-01-28T17:02:01.000Z | 2022-02-14T18:02:15.000Z | tests/test_matrices/__init__.py | paniash/toqito | ab67c2a3fca77b3827be11d1e79531042ea62b82 | [
"MIT"
] | 82 | 2020-05-31T20:09:38.000Z | 2022-03-28T17:13:59.000Z | tests/test_matrices/__init__.py | paniash/toqito | ab67c2a3fca77b3827be11d1e79531042ea62b82 | [
"MIT"
] | 30 | 2020-04-02T16:07:11.000Z | 2022-02-05T13:39:22.000Z | """Test matrices."""
| 10.5 | 20 | 0.571429 | 2 | 21 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 21 | 1 | 21 | 21 | 0.631579 | 0.666667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
682cb33f3927c2551f3e93977e4827169859222e | 220 | py | Python | src/sqlfluff/api/__init__.py | netlify/sqlfluff | 6f22eb08a0701f41132ee4847ddf1a64ca79da80 | [
"MIT"
] | 2 | 2021-08-04T08:58:33.000Z | 2021-08-04T18:54:06.000Z | src/sqlfluff/api/__init__.py | netlify/sqlfluff | 6f22eb08a0701f41132ee4847ddf1a64ca79da80 | [
"MIT"
] | null | null | null | src/sqlfluff/api/__init__.py | netlify/sqlfluff | 6f22eb08a0701f41132ee4847ddf1a64ca79da80 | [
"MIT"
] | 1 | 2021-03-07T21:49:52.000Z | 2021-03-07T21:49:52.000Z | """Elements which wrap the sqlfluff core library for public use."""
# flake8: noqa: F401
# Expose the simple api
from sqlfluff.api.simple import lint, fix, parse
from sqlfluff.api.info import list_rules, list_dialects
| 27.5 | 67 | 0.772727 | 34 | 220 | 4.941176 | 0.735294 | 0.142857 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.145455 | 220 | 7 | 68 | 31.428571 | 0.87234 | 0.468182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
683fba1d9b5075e9ba233d70774c34c8cbd2c239 | 104 | py | Python | papermerge/contrib/admin/apps.py | MinchinWeb/papermerge | 8a5f73207413a3ea8989d277e140d448baa35ca4 | [
"Apache-2.0"
] | 1 | 2021-01-24T14:59:52.000Z | 2021-01-24T14:59:52.000Z | papermerge/contrib/admin/apps.py | MinchinWeb/papermerge | 8a5f73207413a3ea8989d277e140d448baa35ca4 | [
"Apache-2.0"
] | null | null | null | papermerge/contrib/admin/apps.py | MinchinWeb/papermerge | 8a5f73207413a3ea8989d277e140d448baa35ca4 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class AdminConfig(AppConfig):
name = 'papermerge.contrib.admin'
| 17.333333 | 37 | 0.769231 | 12 | 104 | 6.666667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 5 | 38 | 20.8 | 0.898876 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
68743f4df63c89c50daf3dd7fe0164103f27e791 | 903 | py | Python | test/strings/format15.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 1,482 | 2015-10-16T21:59:32.000Z | 2022-03-30T11:44:40.000Z | test/strings/format15.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 226 | 2015-10-15T15:53:44.000Z | 2022-03-25T03:08:27.000Z | test/strings/format15.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 129 | 2015-10-20T02:41:49.000Z | 2022-03-22T01:44:36.000Z | a = '''
{{ before detection }}
{# jinja comment #}
{{ after detection }}
'''
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
''' : punctuation.definition.string.begin.python, source.python, string.qu... | 45.15 | 135 | 0.679956 | 98 | 903 | 6.265306 | 0.255102 | 0.214984 | 0.205212 | 0.273616 | 0.662866 | 0.662866 | 0.605863 | 0.442997 | 0.442997 | 0.442997 | 0 | 0 | 0.184939 | 903 | 19 | 136 | 47.526316 | 0.834239 | 0 | 0 | 0.2 | 0 | 0 | 0.198198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d79a6eb637bf83abb56097c5470bda984bc81e11 | 284 | py | Python | scripts/wk/cfg/__init__.py | 2Shirt/WizardK | 82a2e7f85c80a52f892c1553e7a45ec0174e7bc6 | [
"MIT"
] | null | null | null | scripts/wk/cfg/__init__.py | 2Shirt/WizardK | 82a2e7f85c80a52f892c1553e7a45ec0174e7bc6 | [
"MIT"
] | 178 | 2017-11-17T19:14:31.000Z | 2021-12-15T07:43:29.000Z | scripts/wk/cfg/__init__.py | 2Shirt/WizardK | 82a2e7f85c80a52f892c1553e7a45ec0174e7bc6 | [
"MIT"
] | 1 | 2017-11-17T19:32:36.000Z | 2017-11-17T19:32:36.000Z | """WizardKit: cfg module init"""
from . import ddrescue
from . import hw
from . import launchers
from . import log
from . import main
from . import music
from . import net
from . import repairs
from . import setup
from . import sources
from . import ufd
from . import windows_builds
| 18.933333 | 32 | 0.746479 | 41 | 284 | 5.146341 | 0.463415 | 0.56872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18662 | 284 | 14 | 33 | 20.285714 | 0.91342 | 0.091549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d79db252c610183b988a233e001822dae101ce14 | 5,497 | py | Python | etl/parsers/etw/Microsoft_Windows_Folder_Redirection.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_Folder_Redirection.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_Folder_Redirection.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-Folder Redirection
GUID : 7d7b0c39-93f6-4100-bd96-4dda859652c5
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dtyp import Sid
f... | 29.084656 | 123 | 0.689285 | 637 | 5,497 | 5.750392 | 0.120879 | 0.096096 | 0.132132 | 0.198198 | 0.853945 | 0.853945 | 0.835927 | 0.572209 | 0.560197 | 0.560197 | 0 | 0.157331 | 0.184828 | 5,497 | 188 | 124 | 29.239362 | 0.660121 | 0.018737 | 0 | 0.478571 | 0 | 0 | 0.218384 | 0.14039 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.328571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d7aa530ee930c29ecf8bcc8554a13d065349e605 | 87 | py | Python | pkg/win32/mod_tools/tools/scripts/Colour.py | hexgear-studio/ds_mod_tools | 3fe0cad89848c9d0fca8a4139a0491d188497636 | [
"MIT"
] | 112 | 2015-01-15T21:36:02.000Z | 2021-12-28T19:19:01.000Z | pkg/win32/mod_tools/tools/scripts/Colour.py | hexgear-studio/ds_mod_tools | 3fe0cad89848c9d0fca8a4139a0491d188497636 | [
"MIT"
] | 6 | 2017-03-14T00:42:42.000Z | 2022-01-06T23:09:18.000Z | pkg/win32/mod_tools/tools/scripts/Colour.py | hexgear-studio/ds_mod_tools | 3fe0cad89848c9d0fca8a4139a0491d188497636 | [
"MIT"
] | 35 | 2015-01-15T21:34:36.000Z | 2022-01-29T07:42:34.000Z | from collections import namedtuple
Colour = namedtuple( "Colour", "r, g, b, a" )
| 17.4 | 46 | 0.655172 | 11 | 87 | 5.181818 | 0.818182 | 0.561404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218391 | 87 | 4 | 47 | 21.75 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d7c9782d16140bfb64114abc7e9cc89715c70b82 | 94 | py | Python | repos/system_upgrade/common/topics/sctpconfigtopic.py | sm00th/leapp-repository | 1c171ec3a5f9260a3c6f84a9b15cad78a875ac61 | [
"Apache-2.0"
] | 21 | 2018-11-20T15:58:39.000Z | 2022-03-15T19:57:24.000Z | repos/system_upgrade/common/topics/sctpconfigtopic.py | sm00th/leapp-repository | 1c171ec3a5f9260a3c6f84a9b15cad78a875ac61 | [
"Apache-2.0"
] | 732 | 2018-11-21T18:33:26.000Z | 2022-03-31T16:16:24.000Z | repos/system_upgrade/common/topics/sctpconfigtopic.py | sm00th/leapp-repository | 1c171ec3a5f9260a3c6f84a9b15cad78a875ac61 | [
"Apache-2.0"
] | 85 | 2018-11-20T17:55:00.000Z | 2022-03-29T09:40:31.000Z | from leapp.topics import Topic
class SCTPConfigTopic(Topic):
name = 'sctp_config_topic'
| 15.666667 | 30 | 0.765957 | 12 | 94 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 31 | 18.8 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0.180851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d7d9bc27e8d0bc2afbcd040e1cc1596b66b24609 | 288 | py | Python | gql_schema_codegen/utils/pascal_case.py | sauldom102/gql_schema_codegen | f3bb813874760a8495e67c770d4622674fef0632 | [
"MIT"
] | 2 | 2022-03-26T20:33:17.000Z | 2022-03-26T23:15:17.000Z | gql_schema_codegen/utils/pascal_case.py | sauldom102/gql_schema_codegen | f3bb813874760a8495e67c770d4622674fef0632 | [
"MIT"
] | null | null | null | gql_schema_codegen/utils/pascal_case.py | sauldom102/gql_schema_codegen | f3bb813874760a8495e67c770d4622674fef0632 | [
"MIT"
] | null | null | null | import re
def pascal_case(string: str):
cleaned_string = string.replace(" ", "")
first_letter = re.search(r'\w', cleaned_string)
if not first_letter:
return ''
return cleaned_string[:first_letter.start() + 1].upper() + cleaned_string[first_letter.start() + 1:]
| 26.181818 | 104 | 0.666667 | 38 | 288 | 4.815789 | 0.526316 | 0.284153 | 0.196721 | 0.262295 | 0.327869 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.1875 | 288 | 10 | 105 | 28.8 | 0.773504 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d7e24f60942cf45c69466ed028b940dddd1662bf | 176 | py | Python | api/teams/tests/factories.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | null | null | null | api/teams/tests/factories.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | null | null | null | api/teams/tests/factories.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | null | null | null | import factory
from api.teams.models import Team
class TeamFactory(factory.django.DjangoModelFactory):
name = factory.Faker("word")
class Meta:
model = Team
| 17.6 | 53 | 0.715909 | 21 | 176 | 6 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198864 | 176 | 9 | 54 | 19.555556 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d7eb7015ce4d92af8f3c3240b69b93dfbe6383f9 | 538 | py | Python | social-test-setup/config/setup_config.py | ONSdigital/rm-tools | 4fda49bf94e15a0a8a085e1c0e22e6f8cf1b2fc4 | [
"MIT"
] | 1 | 2017-11-09T09:38:29.000Z | 2017-11-09T09:38:29.000Z | social-test-setup/config/setup_config.py | ONSdigital/rm-tools | 4fda49bf94e15a0a8a085e1c0e22e6f8cf1b2fc4 | [
"MIT"
] | 10 | 2017-11-15T10:57:50.000Z | 2018-10-24T07:10:24.000Z | social-test-setup/config/setup_config.py | ONSdigital/rm-tools | 4fda49bf94e15a0a8a085e1c0e22e6f8cf1b2fc4 | [
"MIT"
] | 1 | 2021-04-11T08:02:50.000Z | 2021-04-11T08:02:50.000Z | import os
from requests.auth import HTTPBasicAuth
class Config:
USERNAME = os.getenv('AUTH_USERNAME')
PASSWORD = os.getenv('AUTH_PASSWORD')
AUTH = HTTPBasicAuth(USERNAME, PASSWORD)
SURVEY_SERVICE_URL = os.getenv('SURVEY_SERVICE_URL')
COLLECTION_EXERCISE_SERVICE_URL = os.getenv('COLLECTION_EXERCI... | 33.625 | 86 | 0.782528 | 67 | 538 | 5.895522 | 0.283582 | 0.253165 | 0.151899 | 0.227848 | 0.141772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128253 | 538 | 15 | 87 | 35.866667 | 0.842217 | 0 | 0 | 0 | 0 | 0 | 0.267658 | 0.118959 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.181818 | 0.181818 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
cc084796fb58e74210df0cd6cb39ef350710ed33 | 91 | py | Python | django-postgres-docker/src/dummy/dummyapp/apps.py | ruddra/ship-container-with-db | d6abd104aa647622e690e5e690d55baba82b009d | [
"MIT"
] | 1 | 2020-02-28T14:34:15.000Z | 2020-02-28T14:34:15.000Z | django-postgres-docker/src/dummy/dummyapp/apps.py | ruddra/ship-app-with-db-docker | d6abd104aa647622e690e5e690d55baba82b009d | [
"MIT"
] | null | null | null | django-postgres-docker/src/dummy/dummyapp/apps.py | ruddra/ship-app-with-db-docker | d6abd104aa647622e690e5e690d55baba82b009d | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DummyappConfig(AppConfig):
name = 'dummyapp'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cc143bc34c0d4040bc3d9e7251c21ca1ddaf1e94 | 542 | py | Python | 6 kyu/Vasya - Clerk/Vasya - Clerk.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | 6 kyu/Vasya - Clerk/Vasya - Clerk.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | 6 kyu/Vasya - Clerk/Vasya - Clerk.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | def tickets(people):
twenty_fives = 0
fifties = 0
for p in people:
if p == 25:
twenty_fives += 1
if p == 50:
if twenty_fives == 0:
return 'NO'
twenty_fives -= 1
fifties += 1
if p == 100:
if fifties >= 1 and t... | 25.809524 | 50 | 0.405904 | 59 | 542 | 3.59322 | 0.372881 | 0.415094 | 0.226415 | 0.179245 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071698 | 0.51107 | 542 | 20 | 51 | 27.1 | 0.728302 | 0 | 0 | 0.2 | 0 | 0 | 0.012915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 4 |
cc1f6856df4a98739a9ad483fd5b514a3fa518d7 | 99 | py | Python | sort.py | awesome-archive/awesome-vehicle-security | 08c7dca5dc32d1e3ad0902b9682bd16a5b12eecd | [
"CC0-1.0"
] | 101 | 2016-07-29T07:33:33.000Z | 2022-03-28T13:26:13.000Z | sort.py | plapczyn/awesome-vehicle-security | a04328fdf1b0720e79e7bc7e5f153b5c9f2940d2 | [
"CC0-1.0"
] | null | null | null | sort.py | plapczyn/awesome-vehicle-security | a04328fdf1b0720e79e7bc7e5f153b5c9f2940d2 | [
"CC0-1.0"
] | 29 | 2016-08-21T02:59:18.000Z | 2022-03-27T18:21:02.000Z | #!/use/bin/env python
# -*- coding: utf-8 -*-
# Will put code here to appropriately sort entries.
| 19.8 | 51 | 0.666667 | 15 | 99 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.171717 | 99 | 4 | 52 | 24.75 | 0.792683 | 0.929293 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0bcece38ddd0b0417ffc9c6670fb020fd8bb22fe | 251 | py | Python | platform/hwconf_data/zgm13/upgrade/sdk_2_2_0_GA/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | null | null | null | platform/hwconf_data/zgm13/upgrade/sdk_2_2_0_GA/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T02:36:22.000Z | 2020-08-25T02:36:22.000Z | platform/hwconf_data/zgm13/upgrade/sdk_2_2_0_GA/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T01:56:04.000Z | 2020-08-25T01:56:04.000Z | import os
import glob
ms = glob.glob(os.path.dirname(__file__)+"/*upgrade.py")
__all__ = [os.path.relpath(f, start=os.path.dirname(__file__))[:-3].replace(os.path.sep, ".") for f in ms if os.path.isfile(f) and not os.path.basename(f).startswith('_')] | 50.2 | 171 | 0.705179 | 44 | 251 | 3.727273 | 0.545455 | 0.219512 | 0.158537 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004348 | 0.083665 | 251 | 5 | 171 | 50.2 | 0.708696 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0bd145befc47c68ff30ea98bdd06e2901f3e66f6 | 228 | py | Python | examples/train_demonstration.py | southpawac/AnimalAI-Olympics | efa08a78b2ddad27260c160323a0b20541c13c29 | [
"Apache-2.0"
] | 607 | 2019-04-30T21:10:58.000Z | 2022-03-03T16:36:54.000Z | examples/train_demonstration.py | KacperKazan/AnimalAI-Olympics | c2742dc7344e3907980cf7f1b4fabb1ab09c7062 | [
"Apache-2.0"
] | 75 | 2019-05-02T10:26:28.000Z | 2022-02-07T03:02:44.000Z | examples/train_demonstration.py | KacperKazan/AnimalAI-Olympics | c2742dc7344e3907980cf7f1b4fabb1ab09c7062 | [
"Apache-2.0"
] | 109 | 2019-05-01T10:29:35.000Z | 2022-03-30T07:22:05.000Z | # TODO: for later release, will need to add a recorder within the compiled
# TODO: environment, (if that's feasible at all)
# TODO: https://github.com/Unity-Technologies/ml-agents/blob/master/docs/Training-Imitation-Learning.md
| 57 | 103 | 0.776316 | 36 | 228 | 4.916667 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109649 | 228 | 3 | 104 | 76 | 0.871921 | 0.969298 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0be878688eff94af6cd82c6d127304ff3c9bf872 | 63 | py | Python | utils/constants.py | XinGuoZJU/SPFN | e7fc2fb40e42c39c1a9329b2495127d2b945cef8 | [
"MIT"
] | 85 | 2019-08-18T03:55:20.000Z | 2022-03-31T12:44:58.000Z | utils/constants.py | XinGuoZJU/SPFN | e7fc2fb40e42c39c1a9329b2495127d2b945cef8 | [
"MIT"
] | 11 | 2019-08-13T15:13:44.000Z | 2021-11-25T03:46:24.000Z | utils/constants.py | XinGuoZJU/SPFN | e7fc2fb40e42c39c1a9329b2495127d2b945cef8 | [
"MIT"
] | 19 | 2019-10-09T02:00:18.000Z | 2021-11-30T06:23:08.000Z | DIVISION_EPS = 1e-10
SQRT_EPS = 1e-10
LS_L2_REGULARIZER = 1e-8
| 15.75 | 24 | 0.761905 | 13 | 63 | 3.384615 | 0.692308 | 0.227273 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.142857 | 63 | 3 | 25 | 21 | 0.648148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
041420282cdc2977b700b5628aba229eda92966d | 657 | py | Python | deliveries/david/circular-buffer/circular_buffer.py | mesmacosta/python-ciandt-intership | 65a8941997eee5d683e56de55d33423b2566b7d0 | [
"MIT"
] | 1 | 2020-08-31T23:06:43.000Z | 2020-08-31T23:06:43.000Z | deliveries/david/circular-buffer/circular_buffer.py | mesmacosta/python-ciandt-intership | 65a8941997eee5d683e56de55d33423b2566b7d0 | [
"MIT"
] | null | null | null | deliveries/david/circular-buffer/circular_buffer.py | mesmacosta/python-ciandt-intership | 65a8941997eee5d683e56de55d33423b2566b7d0 | [
"MIT"
] | null | null | null | class BufferFullException(Exception):
def __init__(self, msg):
self.msg = msg
class BufferEmptyException(Exception):
def __init__(self, msg):
self.msg = msg
class CircularBuffer:
def __init__(self, capacity):
self.list_circulator = list()
self.list_circulator.append(','.jo... | 21.193548 | 60 | 0.607306 | 71 | 657 | 5.394366 | 0.408451 | 0.073107 | 0.18799 | 0.104439 | 0.198433 | 0.198433 | 0.198433 | 0.198433 | 0.198433 | 0 | 0 | 0 | 0.295282 | 657 | 30 | 61 | 21.9 | 0.827214 | 0 | 0 | 0.318182 | 0 | 0 | 0.009132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0.136364 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
043cb72f595fe34a6e2af91d4e2fbe7bb2e7f710 | 390 | py | Python | ttr/plugins/templates/__init__.py | dmulyalin/template-text-renderer | f1993b6e8f652d55207b7d0961673dea8e7ffec1 | [
"MIT"
] | 5 | 2021-01-27T03:58:04.000Z | 2022-02-06T14:20:26.000Z | ttr/plugins/templates/__init__.py | dmulyalin/template-text-renderer | f1993b6e8f652d55207b7d0961673dea8e7ffec1 | [
"MIT"
] | 1 | 2021-12-21T15:17:55.000Z | 2021-12-23T07:31:26.000Z | ttr/plugins/templates/__init__.py | dmulyalin/template-text-renderer | f1993b6e8f652d55207b7d0961673dea8e7ffec1 | [
"MIT"
] | null | null | null | from . import base_template_loader
from . import xlsx_template_loader
from . import ttr_template_loader
from . import file_template_loader
from . import dir_template_loader
templates_loaders_plugins = {
"base": base_template_loader.load,
"xlsx": xlsx_template_loader.load,
"ttr": ttr_template_loader.load,
... | 30 | 38 | 0.782051 | 52 | 390 | 5.442308 | 0.25 | 0.4947 | 0.254417 | 0.339223 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 390 | 13 | 39 | 30 | 0.842262 | 0 | 0 | 0 | 0 | 0 | 0.046036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.416667 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
0451eff0728a4d36038a7bd73ccf80f6705bc5c0 | 61 | py | Python | torchbnn/__init__.py | Harry24k/bayesian-neural-network-pytorch | d2272f09e0d08c1abe1f53ce6df56b31494d7020 | [
"MIT"
] | 178 | 2019-12-08T14:46:56.000Z | 2022-03-23T04:12:35.000Z | torchbnn/__init__.py | Harry24k/bayesian-neural-network-pytorch | d2272f09e0d08c1abe1f53ce6df56b31494d7020 | [
"MIT"
] | 8 | 2019-11-07T05:45:37.000Z | 2020-12-07T11:07:05.000Z | torchbnn/__init__.py | Harry24k/bayesian-neural-network-pytorch | d2272f09e0d08c1abe1f53ce6df56b31494d7020 | [
"MIT"
] | 24 | 2020-02-04T12:32:33.000Z | 2022-03-18T13:13:08.000Z | from .modules import *
from . import utils
__version__ = 1.2 | 15.25 | 22 | 0.737705 | 9 | 61 | 4.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.180328 | 61 | 4 | 23 | 15.25 | 0.78 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f0b010d3dc51ee3289bc1dc8a1188f9546cacc22 | 123 | py | Python | Task/Letter-frequency/Python/letter-frequency-5.py | mullikine/RosettaCodeData | 4f0027c6ce83daa36118ee8b67915a13cd23ab67 | [
"Info-ZIP"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | Task/Letter-frequency/Python/letter-frequency-5.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | null | null | null | Task/Letter-frequency/Python/letter-frequency-5.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | lettercounts = countletters(sourcedata)
for letter,count in lettercounts.iteritems():
print "%s=%s" % (letter, count),
| 30.75 | 45 | 0.723577 | 14 | 123 | 6.357143 | 0.714286 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 3 | 46 | 41 | 0.831776 | 0 | 0 | 0 | 0 | 0 | 0.04065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f0d6e638553a36b93ca9db497b6f8e345592c874 | 98 | py | Python | In-Class-Assignments/LibraryBook.py | codewitty/Python | 607d0e3a4c6ad4ca1f120cd8d18e637d7cb59556 | [
"MIT"
] | null | null | null | In-Class-Assignments/LibraryBook.py | codewitty/Python | 607d0e3a4c6ad4ca1f120cd8d18e637d7cb59556 | [
"MIT"
] | null | null | null | In-Class-Assignments/LibraryBook.py | codewitty/Python | 607d0e3a4c6ad4ca1f120cd8d18e637d7cb59556 | [
"MIT"
] | null | null | null | class Book:
def __init__(self, title, bookType):
self.title = title
self.bookType = bookType
| 19.6 | 37 | 0.72449 | 13 | 98 | 5.153846 | 0.538462 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173469 | 98 | 4 | 38 | 24.5 | 0.82716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f0d85524a99b557933261a3b566fba55f044b29c | 194 | py | Python | cartoview/site_management/admin.py | Msalah593/cartoview | 8eea73a7e363ac806dbfca3ca61f7e9d2c839b6b | [
"BSD-2-Clause"
] | null | null | null | cartoview/site_management/admin.py | Msalah593/cartoview | 8eea73a7e363ac806dbfca3ca61f7e9d2c839b6b | [
"BSD-2-Clause"
] | null | null | null | cartoview/site_management/admin.py | Msalah593/cartoview | 8eea73a7e363ac806dbfca3ca61f7e9d2c839b6b | [
"BSD-2-Clause"
] | null | null | null | from django.contrib import admin
from .models import SiteLogo
# Register your models here.
@admin.register(SiteLogo)
class SiteLogoAdmin(admin.ModelAdmin):
list_display = ('site', 'logo')
| 21.555556 | 38 | 0.762887 | 24 | 194 | 6.125 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 194 | 8 | 39 | 24.25 | 0.875 | 0.134021 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f0e9762728a848ef59daa8230b391e4dd09810c9 | 281 | py | Python | ppq/executor/op/__init__.py | xiguadong/ppq | 6c71adb3c2a8ca95967f101724b5e4b3e6f761ff | [
"Apache-2.0"
] | 100 | 2021-12-31T09:34:06.000Z | 2022-03-25T02:54:51.000Z | ppq/executor/op/__init__.py | xiguadong/ppq | 6c71adb3c2a8ca95967f101724b5e4b3e6f761ff | [
"Apache-2.0"
] | 12 | 2021-12-31T10:28:15.000Z | 2022-03-31T07:08:44.000Z | ppq/executor/op/__init__.py | xiguadong/ppq | 6c71adb3c2a8ca95967f101724b5e4b3e6f761ff | [
"Apache-2.0"
] | 21 | 2021-12-31T09:51:02.000Z | 2022-03-30T12:21:55.000Z | from .torch.shape import SOI_BACKEND_TABLE
from .torch import (DEFAULT_BACKEND_TABLE, NXP_BACKEND_TABLE, EXTENSION_BACKEND_TABLE,
PPL_DSP_BACKEND_TABLE, PPL_GPU_BACKEND_TABLE, ONNX_BACKEND_TABLE,
ACADEMIC_BACKEND_TABLE, TorchBackendContext)
| 56.2 | 86 | 0.761566 | 34 | 281 | 5.764706 | 0.470588 | 0.489796 | 0.153061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19573 | 281 | 4 | 87 | 70.25 | 0.867257 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f0ef1ad5025bdfcb487dbf947e1cf77f608472bd | 1,419 | py | Python | LogSystem_JE/venv/Lib/site-packages/pygments/lexers/compiled.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | LogSystem_JE/venv/Lib/site-packages/pygments/lexers/compiled.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | LogSystem_JE/venv/Lib/site-packages/pygments/lexers/compiled.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
pygments.lexers.compiled
~~~~~~~~~~~~~~~~~~~~~~~~
Just export lexer classes previously contained in this module.
:copyright: Copyright 2006-2020 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
from pygments.lexers.jvm import Ja... | 40.542857 | 79 | 0.788584 | 167 | 1,419 | 6.664671 | 0.502994 | 0.264151 | 0.32345 | 0.034142 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00815 | 0.135307 | 1,419 | 34 | 80 | 41.735294 | 0.898941 | 0.171952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.909091 | 0 | 0.909091 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0b0543fec2f37cab76ccf3ec0e2079c1d5606c80 | 177 | py | Python | {{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/settings.py | metya/cookiekaker | 6d6144e1d3c88d15744e4b2c8b33fa49b1cf057b | [
"MIT"
] | 1 | 2019-12-18T07:24:16.000Z | 2019-12-18T07:24:16.000Z | {{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/settings.py | metya/cookiekaker | 6d6144e1d3c88d15744e4b2c8b33fa49b1cf057b | [
"MIT"
] | null | null | null | {{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/settings.py | metya/cookiekaker | 6d6144e1d3c88d15744e4b2c8b33fa49b1cf057b | [
"MIT"
] | null | null | null | import os
import dotenv
import signal
signal.signal(signal.SIGINT, signal.default_int_handler)
dotenv.load_dotenv(dotenv.find_dotenv())
cwd = os.getenv("CWD")
RAND_STATE = 42 | 17.7 | 56 | 0.79661 | 27 | 177 | 5.037037 | 0.555556 | 0.264706 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.096045 | 177 | 10 | 57 | 17.7 | 0.8375 | 0 | 0 | 0 | 0 | 0 | 0.016854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9bdd2310c77fc259e4f434d36d46761247656e0b | 204 | py | Python | my_venv/Scripts/django-admin.py | tayyabsulehri/profiles-rest-api | 42ed72b1e2db2b1d6feb06ca11ea2226a2c567cf | [
"MIT"
] | null | null | null | my_venv/Scripts/django-admin.py | tayyabsulehri/profiles-rest-api | 42ed72b1e2db2b1d6feb06ca11ea2226a2c567cf | [
"MIT"
] | 3 | 2020-02-12T02:36:34.000Z | 2021-06-10T22:28:48.000Z | my_venv/Scripts/django-admin.py | tayyabsulehri/profiles-rest-api | 42ed72b1e2db2b1d6feb06ca11ea2226a2c567cf | [
"MIT"
] | null | null | null | #!c:\amir nawaz\professional\code\python\udemycourse\profiles-rest-api\my_venv\scripts\python.exe
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 34 | 97 | 0.803922 | 28 | 204 | 5.428571 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 204 | 5 | 98 | 40.8 | 0.808511 | 0.470588 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
50118d328650307e021b09275bd267189c0ce750 | 151 | py | Python | python/testData/refactoring/extractmethod/Nonlocal.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/extractmethod/Nonlocal.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/extractmethod/Nonlocal.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo():
x = 1
def bar():
nonlocal x
baz()
print(x)
def baz():
nonlocal x
x = 2
bar()
foo() | 11.615385 | 18 | 0.364238 | 19 | 151 | 2.894737 | 0.473684 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.509934 | 151 | 13 | 19 | 11.615385 | 0.716216 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0 | 0.272727 | 0.090909 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
501f49a9774467ff8a6f1c2cd39aefb5a3bd603f | 23,265 | py | Python | VFF/vgp.py | AaltoML/VFF | 07d77d628f0a7f03fd5727b7c34ac3866c101633 | [
"Apache-2.0"
] | null | null | null | VFF/vgp.py | AaltoML/VFF | 07d77d628f0a7f03fd5727b7c34ac3866c101633 | [
"Apache-2.0"
] | null | null | null | VFF/vgp.py | AaltoML/VFF | 07d77d628f0a7f03fd5727b7c34ac3866c101633 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 James Hensman
#
# 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, so... | 40.744308 | 120 | 0.588738 | 3,629 | 23,265 | 3.601268 | 0.093139 | 0.019512 | 0.028617 | 0.021884 | 0.768919 | 0.743209 | 0.729207 | 0.704262 | 0.685133 | 0.664932 | 0 | 0.015152 | 0.282312 | 23,265 | 570 | 121 | 40.815789 | 0.767563 | 0.132173 | 0 | 0.662198 | 0 | 0 | 0.010013 | 0 | 0 | 0 | 0 | 0 | 0.024129 | 1 | 0.067024 | false | 0 | 0.02681 | 0.005362 | 0.152815 | 0.008043 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
503fb81affa4d8a0ff5ecab9d179c0e6031a48c4 | 593 | py | Python | aoc_2018/day_2/python/test_day2_puzzle2.py | girip11/advent_of_code | b58f9a53d219bb3bef284af6b0ca59d2addd57bb | [
"MIT"
] | null | null | null | aoc_2018/day_2/python/test_day2_puzzle2.py | girip11/advent_of_code | b58f9a53d219bb3bef284af6b0ca59d2addd57bb | [
"MIT"
] | 1 | 2021-09-29T04:20:48.000Z | 2021-09-29T04:20:48.000Z | aoc_2018/day_2/python/test_day2_puzzle2.py | girip11/advent_of_code | b58f9a53d219bb3bef284af6b0ca59d2addd57bb | [
"MIT"
] | null | null | null | from typing import List
from aoc_2018.day_2.python.day2_puzzle2 import find_common_letters
from aoc_2018.day_2.python.test_day2_puzzle1 import get_input
def test_find_common_letters_simple() -> None:
assert find_common_letters(get_input("puzzle2_simple_input.txt")) == "fgij"
def test_find_common_letters_corner... | 32.944444 | 92 | 0.784148 | 85 | 593 | 5.047059 | 0.411765 | 0.16317 | 0.277389 | 0.118881 | 0.428904 | 0.261072 | 0.16317 | 0 | 0 | 0 | 0 | 0.028409 | 0.109612 | 593 | 17 | 93 | 34.882353 | 0.784091 | 0 | 0 | 0 | 0 | 0 | 0.155143 | 0.082631 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.3 | true | 0 | 0.3 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5055627b181357ab311d1650e0cac2e62dfe38c6 | 62 | py | Python | social_auth/backends/yahoo.py | merutak/django-social-auth | 3a6e4414da0e969fcaf625a891852a3b2d7627c0 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 863 | 2015-01-01T00:42:07.000Z | 2022-03-30T02:47:18.000Z | social_auth/backends/yahoo.py | merutak/django-social-auth | 3a6e4414da0e969fcaf625a891852a3b2d7627c0 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 101 | 2015-01-08T00:28:16.000Z | 2022-03-07T03:11:19.000Z | social_auth/backends/yahoo.py | merutak/django-social-auth | 3a6e4414da0e969fcaf625a891852a3b2d7627c0 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 256 | 2015-01-02T16:55:36.000Z | 2022-03-04T11:10:47.000Z | from social.backends.yahoo import YahooOpenId as YahooBackend
| 31 | 61 | 0.870968 | 8 | 62 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 62 | 1 | 62 | 62 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5060493ca6dad06296953238f40e0b94a3c00073 | 163 | py | Python | seahub/invitations/signals.py | weimens/seahub | 5ecf78ed7a2ddc72a23961804ee41be21c24893f | [
"Apache-2.0"
] | 420 | 2015-01-03T11:34:46.000Z | 2022-03-10T07:15:41.000Z | seahub/invitations/signals.py | weimens/seahub | 5ecf78ed7a2ddc72a23961804ee41be21c24893f | [
"Apache-2.0"
] | 735 | 2015-01-04T21:22:51.000Z | 2022-03-31T09:26:07.000Z | seahub/invitations/signals.py | weimens/seahub | 5ecf78ed7a2ddc72a23961804ee41be21c24893f | [
"Apache-2.0"
] | 379 | 2015-01-05T17:08:03.000Z | 2022-03-06T00:11:50.000Z | # Copyright (c) 2012-2016 Seafile Ltd.
import django.dispatch
accept_guest_invitation_successful = django.dispatch.Signal(
providing_args=["invitation_obj"])
| 27.166667 | 60 | 0.797546 | 20 | 163 | 6.25 | 0.85 | 0.224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.104294 | 163 | 5 | 61 | 32.6 | 0.80137 | 0.220859 | 0 | 0 | 0 | 0 | 0.112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
aca80b2e648b80433cf3e7edb850197617de99c0 | 99 | py | Python | especifico/decorators/__init__.py | athenianco/especifico | af8b97868390ba23a2c5e3e8506bd5215ee0084a | [
"Apache-2.0"
] | null | null | null | especifico/decorators/__init__.py | athenianco/especifico | af8b97868390ba23a2c5e3e8506bd5215ee0084a | [
"Apache-2.0"
] | null | null | null | especifico/decorators/__init__.py | athenianco/especifico | af8b97868390ba23a2c5e3e8506bd5215ee0084a | [
"Apache-2.0"
] | null | null | null | """
This module defines decorators which Especifico uses to wrap user provided view functions.
"""
| 24.75 | 90 | 0.777778 | 13 | 99 | 5.923077 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 3 | 91 | 33 | 0.916667 | 0.909091 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
acb71b07311e7d1eb30a0c359e2f1415b89d5b7e | 153 | py | Python | aio_parallel_tools/aio_actor/mixins/id_mixin.py | Python-Tools/aio_parallel_tools | 23589c3ffce6de2748c1c90bd0dae2c414995a65 | [
"MIT"
] | null | null | null | aio_parallel_tools/aio_actor/mixins/id_mixin.py | Python-Tools/aio_parallel_tools | 23589c3ffce6de2748c1c90bd0dae2c414995a65 | [
"MIT"
] | 1 | 2021-12-13T20:26:32.000Z | 2021-12-13T20:26:32.000Z | aio_parallel_tools/aio_actor/mixins/id_mixin.py | Python-Tools/aio_parallel_tools | 23589c3ffce6de2748c1c90bd0dae2c414995a65 | [
"MIT"
] | null | null | null | import uuid
class IdentifyMixin:
def __init__(self):
self._id = str(uuid.uuid4())
@property
def aid(self):
return self._id | 15.3 | 36 | 0.607843 | 19 | 153 | 4.578947 | 0.684211 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.287582 | 153 | 10 | 37 | 15.3 | 0.788991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
acd3555f9e50897ac14be490d1e24c32770cd1d3 | 98 | py | Python | src/failures/none.py | mor1/reckon | 7b40ba79f90b5767430c0b8d90e6ea0c5b2a461b | [
"MIT"
] | 8 | 2021-03-30T12:28:33.000Z | 2022-02-08T06:36:14.000Z | src/failures/none.py | mor1/reckon | 7b40ba79f90b5767430c0b8d90e6ea0c5b2a461b | [
"MIT"
] | 1 | 2021-04-12T16:18:00.000Z | 2021-04-12T16:18:00.000Z | src/failures/none.py | mor1/reckon | 7b40ba79f90b5767430c0b8d90e6ea0c5b2a461b | [
"MIT"
] | 1 | 2021-03-29T21:38:19.000Z | 2021-03-29T21:38:19.000Z | class NoFailure:
def get_failures(self, net, system, restarters, stoppers):
return []
| 24.5 | 62 | 0.673469 | 11 | 98 | 5.909091 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 98 | 3 | 63 | 32.666667 | 0.855263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
acdbb31a34e5d27805f738d149fb5e9f96758f1a | 97 | py | Python | desktop/core/ext-py/future-0.16.0/src/__init__.py | kokosing/hue | 2307f5379a35aae9be871e836432e6f45138b3d9 | [
"Apache-2.0"
] | 908 | 2015-01-01T21:20:45.000Z | 2022-03-29T20:47:16.000Z | desktop/core/ext-py/future-0.16.0/src/__init__.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 402 | 2015-01-04T01:30:19.000Z | 2022-03-24T11:56:38.000Z | desktop/core/ext-py/future-0.16.0/src/__init__.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 305 | 2015-01-18T19:29:37.000Z | 2022-03-24T09:40:09.000Z | # Make this a package only for the sake of importing
# src.future.__version__ etc. from setup.py
| 32.333333 | 52 | 0.773196 | 17 | 97 | 4.176471 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 2 | 53 | 48.5 | 0.876543 | 0.948454 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ace12a11d06d7bf3bc83bbc8c5d297a16e6b53aa | 193 | py | Python | example_native/vistanlp_core/setup.py | berquist/namespace_package_testing | a570bc94f3bc6b773e06afc18d9e19917b978b95 | [
"MIT"
] | null | null | null | example_native/vistanlp_core/setup.py | berquist/namespace_package_testing | a570bc94f3bc6b773e06afc18d9e19917b978b95 | [
"MIT"
] | null | null | null | example_native/vistanlp_core/setup.py | berquist/namespace_package_testing | a570bc94f3bc6b773e06afc18d9e19917b978b95 | [
"MIT"
] | null | null | null | from setuptools import setup, find_namespace_packages
setup(
name="vistanlp-core",
# Not necessary anymore?
# packages=["vistanlp.core"],
packages=find_namespace_packages(),
)
| 21.444444 | 53 | 0.720207 | 21 | 193 | 6.428571 | 0.619048 | 0.192593 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165803 | 193 | 8 | 54 | 24.125 | 0.838509 | 0.259067 | 0 | 0 | 0 | 0 | 0.092857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
681293bde7dd1546eab78ceafb2fcb55d420b25e | 353 | py | Python | Lib/test/bugs/pr112.py | jimmyyu2004/jython | 5b4dc2d54d01a6fda8c55d07b2608167e7a40769 | [
"CNRI-Jython"
] | 332 | 2015-08-22T12:43:56.000Z | 2022-03-17T01:05:43.000Z | Lib/test/bugs/pr112.py | Pandinosaurus/jython3 | def4f8ec47cb7a9c799ea4c745f12badf92c5769 | [
"CNRI-Jython"
] | 36 | 2015-05-30T08:39:19.000Z | 2022-03-04T20:42:33.000Z | Lib/test/bugs/pr112.py | Pandinosaurus/jython3 | def4f8ec47cb7a9c799ea4c745f12badf92c5769 | [
"CNRI-Jython"
] | 74 | 2015-05-29T17:18:53.000Z | 2022-01-15T14:06:44.000Z | # test for PR#112 -- functions should not have __module__ attributes
def f():
pass
if hasattr(f, '__module__'):
print('functions should not have __module__ attributes')
# but make sure classes still do have __module__ attributes
class F:
pass
if not hasattr(F, '__module__'):
print('classes should st... | 23.533333 | 68 | 0.730878 | 48 | 353 | 4.875 | 0.479167 | 0.17094 | 0.34188 | 0.188034 | 0.324786 | 0.324786 | 0 | 0 | 0 | 0 | 0 | 0.010453 | 0.186969 | 353 | 14 | 69 | 25.214286 | 0.804878 | 0.348442 | 0 | 0.25 | 0 | 0 | 0.504425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0.25 | 0 | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a861b1a533e5059d8d08887134874b6329e4f576 | 200 | py | Python | tests/admin.py | Apkawa/django-modeltranslation-rosetta | 568354ceee201f891e1f9f6d1f5987dbdfa8f84a | [
"MIT"
] | null | null | null | tests/admin.py | Apkawa/django-modeltranslation-rosetta | 568354ceee201f891e1f9f6d1f5987dbdfa8f84a | [
"MIT"
] | 14 | 2020-01-06T16:18:37.000Z | 2022-01-20T19:40:56.000Z | tests/admin.py | Apkawa/django-modeltranslation-rosetta | 568354ceee201f891e1f9f6d1f5987dbdfa8f84a | [
"MIT"
] | null | null | null | # coding=utf-8
from __future__ import unicode_literals
from django.contrib import admin
from .models import (
Article
)
@admin.register(Article)
class ArticleAdmin(admin.ModelAdmin):
pass
| 14.285714 | 39 | 0.765 | 25 | 200 | 5.92 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.16 | 200 | 13 | 40 | 15.384615 | 0.875 | 0.06 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.375 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
a86df88cbd7542d2496b38ce2ba89742644a2960 | 192 | py | Python | 1_PythonDataProcessing/0_06_readcsv_exclude.py | hnwarid/DQLabAcademy | e03d82f97536ae103b6abc65db0ae16520fb68c7 | [
"MIT"
] | null | null | null | 1_PythonDataProcessing/0_06_readcsv_exclude.py | hnwarid/DQLabAcademy | e03d82f97536ae103b6abc65db0ae16520fb68c7 | [
"MIT"
] | null | null | null | 1_PythonDataProcessing/0_06_readcsv_exclude.py | hnwarid/DQLabAcademy | e03d82f97536ae103b6abc65db0ae16520fb68c7 | [
"MIT"
] | null | null | null | import pandas as pd
csv_data = pd.read_csv("https//:storage.googleapis.com/dqlab-dataset/shopping_data.csv")
# print(csv_data.describe(include='all'))
print(csv_data.describe(exclude=['O'])) | 32 | 88 | 0.765625 | 30 | 192 | 4.733333 | 0.666667 | 0.147887 | 0.169014 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057292 | 192 | 6 | 89 | 32 | 0.78453 | 0.203125 | 0 | 0 | 0 | 0 | 0.414474 | 0.407895 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a878449bf9c1d7b1f9220ef3a12f292c7a281095 | 133 | py | Python | tests/apps/namespace_package_base/nsapp/apps.py | imjvdn/scratch-game-1 | 5dffd79f17e0b66d3d2e57262749311aca28e850 | [
"PSF-2.0",
"BSD-3-Clause"
] | 19 | 2015-07-07T02:08:59.000Z | 2021-11-08T11:05:40.000Z | tests/apps/namespace_package_base/nsapp/apps.py | imjvdn/scratch-game-1 | 5dffd79f17e0b66d3d2e57262749311aca28e850 | [
"PSF-2.0",
"BSD-3-Clause"
] | 57 | 2018-10-08T12:37:30.000Z | 2018-10-08T17:39:26.000Z | tests/apps/namespace_package_base/nsapp/apps.py | imjvdn/scratch-game-1 | 5dffd79f17e0b66d3d2e57262749311aca28e850 | [
"PSF-2.0",
"BSD-3-Clause"
] | 145 | 2019-03-14T18:54:45.000Z | 2022-03-04T20:25:31.000Z | import os
from django.apps import AppConfig
class NSAppConfig(AppConfig):
name = 'nsapp'
path = os.path.dirname(__file__)
| 14.777778 | 36 | 0.721805 | 17 | 133 | 5.411765 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18797 | 133 | 8 | 37 | 16.625 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.037594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a8a79d677362e681a32ea220db3883d4e7806c71 | 972 | py | Python | fuzzystring/fuzzystring.py | alehpineda/python_morsels | bdcb1c90ec40403f107e7197e0b31b73c54ea818 | [
"MIT"
] | null | null | null | fuzzystring/fuzzystring.py | alehpineda/python_morsels | bdcb1c90ec40403f107e7197e0b31b73c54ea818 | [
"MIT"
] | 1 | 2020-09-24T11:25:45.000Z | 2020-09-28T11:21:30.000Z | fuzzystring/fuzzystring.py | alehpineda/python_morsels | bdcb1c90ec40403f107e7197e0b31b73c54ea818 | [
"MIT"
] | null | null | null | import unicodedata
class FuzzyString(object):
def __init__(self, text):
self.text = text
def __eq__(self, other):
return self._normalize(self.text) == self._normalize(other)
def __lt__(self, other):
return self._normalize(self.text) < self._normalize(other)
def __gt__(self, ... | 26.27027 | 67 | 0.659465 | 117 | 972 | 5.025641 | 0.205128 | 0.163265 | 0.178571 | 0.193878 | 0.532313 | 0.484694 | 0.484694 | 0.484694 | 0.484694 | 0.484694 | 0 | 0 | 0.223251 | 972 | 36 | 68 | 27 | 0.778808 | 0 | 0 | 0 | 0 | 0 | 0.004115 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.458333 | false | 0 | 0.041667 | 0.416667 | 0.958333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a8abbf5ac38cce81197377a0a35910f7e1ed9187 | 245 | py | Python | tuiuiu/contrib/experiments/apps.py | caputomarcos/tuiuiu.io | d8fb57cf95487e7fe1454b2130ef18acc916da46 | [
"BSD-3-Clause"
] | 3 | 2019-08-08T09:09:35.000Z | 2020-12-15T18:04:17.000Z | tuiuiu/contrib/experiments/apps.py | caputomarcos/tuiuiu.io | d8fb57cf95487e7fe1454b2130ef18acc916da46 | [
"BSD-3-Clause"
] | null | null | null | tuiuiu/contrib/experiments/apps.py | caputomarcos/tuiuiu.io | d8fb57cf95487e7fe1454b2130ef18acc916da46 | [
"BSD-3-Clause"
] | 1 | 2017-09-09T20:10:40.000Z | 2017-09-09T20:10:40.000Z | from __future__ import absolute_import, unicode_literals
from django.apps import AppConfig
class TuiuiuExperimentsAppConfig(AppConfig):
name = 'tuiuiu.contrib.experiments'
label = 'experiments'
verbose_name = "Tuiuiu Experiments"
| 24.5 | 56 | 0.787755 | 25 | 245 | 7.44 | 0.68 | 0.107527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146939 | 245 | 9 | 57 | 27.222222 | 0.889952 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 0.106122 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a8c4af889042902edd6a87e200612cdb3ce864b1 | 176 | py | Python | Emmanuel ANENE/Phase 1/Python Basic 1/Day6/task9.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Emmanuel ANENE/Phase 1/Python Basic 1/Day6/task9.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Emmanuel ANENE/Phase 1/Python Basic 1/Day6/task9.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | '''
Write a Python program to list all files in a directory in Python.
'''
import os
print("The list of file(s) in the current directory is/are: ", os.listdir(), sep="\n\n") | 25.142857 | 88 | 0.681818 | 32 | 176 | 3.75 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176136 | 176 | 7 | 88 | 25.142857 | 0.827586 | 0.375 | 0 | 0 | 0 | 0 | 0.553398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
7641544f4509f52242145bcdb6e3cacc715f0c0b | 1,028 | py | Python | tests/test_time_formatting.py | smiszym/manokee | afb63b8ce5ba3f83bb924965b8d5098a6d28c474 | [
"MIT"
] | null | null | null | tests/test_time_formatting.py | smiszym/manokee | afb63b8ce5ba3f83bb924965b8d5098a6d28c474 | [
"MIT"
] | 14 | 2021-03-11T02:05:20.000Z | 2022-03-12T01:05:11.000Z | tests/test_time_formatting.py | smiszym/manokee | afb63b8ce5ba3f83bb924965b8d5098a6d28c474 | [
"MIT"
] | null | null | null | import amio
from manokee.time_formatting import format_frame, parse_frame
def test_format_frame():
interface = amio.create_io_interface("dummy", frame_rate=48000)
assert format_frame(interface, 0) == "0:00.0"
assert format_frame(interface, 48000) == "0:01.0"
assert format_frame(interface, 96000) == "0... | 41.12 | 67 | 0.701362 | 149 | 1,028 | 4.657718 | 0.208054 | 0.322767 | 0.230548 | 0.262248 | 0.530259 | 0.45245 | 0.172911 | 0.172911 | 0.172911 | 0.172911 | 0 | 0.174512 | 0.152724 | 1,028 | 24 | 68 | 42.833333 | 0.622273 | 0 | 0 | 0.1 | 0 | 0 | 0.097276 | 0 | 0 | 0 | 0 | 0 | 0.7 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
766fe43b5814eef79e3d297fbb5ef5a3f147380c | 59 | py | Python | tools/copyright.py | G-Ragghianti/blaspp | 7650db32e9fc4c69bd10388c2dee8865cfcfa36f | [
"BSD-3-Clause"
] | null | null | null | tools/copyright.py | G-Ragghianti/blaspp | 7650db32e9fc4c69bd10388c2dee8865cfcfa36f | [
"BSD-3-Clause"
] | null | null | null | tools/copyright.py | G-Ragghianti/blaspp | 7650db32e9fc4c69bd10388c2dee8865cfcfa36f | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
import release
release.copyright()
| 11.8 | 22 | 0.762712 | 8 | 59 | 5.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.101695 | 59 | 4 | 23 | 14.75 | 0.830189 | 0.355932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7686e376868341bfd898a520f0251b2b1ba8a825 | 35 | py | Python | ivy/functional/frontends/torch/core/other_ops.py | NIkhilbadveli/ivy | 42dc66dd44417102cf0b72d4fc7aea2aaffa75bc | [
"Apache-2.0"
] | 1 | 2022-02-28T03:20:54.000Z | 2022-02-28T03:20:54.000Z | ivy/functional/frontends/torch/core/other_ops.py | NIkhilbadveli/ivy | 42dc66dd44417102cf0b72d4fc7aea2aaffa75bc | [
"Apache-2.0"
] | null | null | null | ivy/functional/frontends/torch/core/other_ops.py | NIkhilbadveli/ivy | 42dc66dd44417102cf0b72d4fc7aea2aaffa75bc | [
"Apache-2.0"
] | null | null | null | """
PyTorch Other Ops Frontend
"""
| 8.75 | 26 | 0.657143 | 4 | 35 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 3 | 27 | 11.666667 | 0.793103 | 0.742857 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
76bcc10e0314d1ef11ac1cd7719cc81b0c4f60c4 | 52 | py | Python | core/api/token.py | oddsome/poroshki | d30b7186ea104f12e5cacf057b8b3ca7c6167420 | [
"MIT"
] | null | null | null | core/api/token.py | oddsome/poroshki | d30b7186ea104f12e5cacf057b8b3ca7c6167420 | [
"MIT"
] | null | null | null | core/api/token.py | oddsome/poroshki | d30b7186ea104f12e5cacf057b8b3ca7c6167420 | [
"MIT"
] | null | null | null | def url(token):
return('access_token=' + token)
| 17.333333 | 35 | 0.653846 | 7 | 52 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 52 | 2 | 36 | 26 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 4 |
4f1fd88a094204d66c91b7bb8687f6fbe9dafcb3 | 736 | py | Python | models/card.py | dbcheng/card-games | 2f1feb4734b2aa50d997d4785b297adab5f6d9a3 | [
"MIT"
] | null | null | null | models/card.py | dbcheng/card-games | 2f1feb4734b2aa50d997d4785b297adab5f6d9a3 | [
"MIT"
] | null | null | null | models/card.py | dbcheng/card-games | 2f1feb4734b2aa50d997d4785b297adab5f6d9a3 | [
"MIT"
] | null | null | null | class Card(object):
"""docstring for Card"""
def __init__(self, rank, suit):
self.rank = rank
self.suit = suit
def is_same_suit(self, card):
return self.suit == card.suit
def is_same_rank(self, card):
return self.rank == card.rank
def __str__(self):
return str(self.rank) + " of " + str(... | 22.30303 | 60 | 0.639946 | 111 | 736 | 3.918919 | 0.189189 | 0.183908 | 0.225287 | 0.289655 | 0.733333 | 0.689655 | 0.689655 | 0.551724 | 0.4 | 0.4 | 0 | 0 | 0.221467 | 736 | 32 | 61 | 23 | 0.759162 | 0.024457 | 0 | 0.181818 | 0 | 0 | 0.011236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0 | 0.409091 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
4f49c7615b5d7e0724d7771abe897d9f12154d7e | 199 | py | Python | src/py_dss_tools/secondary/__init__.py | eniovianna/py_dss_tools | 3057fb0b74facd05a362e4e4a588f79f70aa9dd7 | [
"MIT"
] | 3 | 2021-05-29T00:40:10.000Z | 2021-09-30T17:56:14.000Z | src/py_dss_tools/secondary/__init__.py | eniovianna/py_dss_tools | 3057fb0b74facd05a362e4e4a588f79f70aa9dd7 | [
"MIT"
] | null | null | null | src/py_dss_tools/secondary/__init__.py | eniovianna/py_dss_tools | 3057fb0b74facd05a362e4e4a588f79f70aa9dd7 | [
"MIT"
] | 3 | 2021-05-29T00:40:46.000Z | 2022-01-13T22:04:49.000Z | # -*- encoding: utf-8 -*-
"""
Created by Ênio Viana at 22/09/2021 at 23:01:40
Project: py_dss_tools [set, 2021]
"""
from .Bus import Bus
from .Circuit import Circuit
from .Scenario import Scenario
| 22.111111 | 48 | 0.703518 | 33 | 199 | 4.181818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114458 | 0.165829 | 199 | 8 | 49 | 24.875 | 0.716867 | 0.532663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4f86b25eacaf8ee0d7206cd45fde68ac4b0a28ed | 182 | py | Python | cffi-api-mode-c-source/call_pi.py | TheBigFish/python-cffi | 276ba0709d25f174d5f7e0d7950952c7667aa006 | [
"MIT"
] | null | null | null | cffi-api-mode-c-source/call_pi.py | TheBigFish/python-cffi | 276ba0709d25f174d5f7e0d7950952c7667aa006 | [
"MIT"
] | null | null | null | cffi-api-mode-c-source/call_pi.py | TheBigFish/python-cffi | 276ba0709d25f174d5f7e0d7950952c7667aa006 | [
"MIT"
] | null | null | null | from _pi.lib import pi_approx
approx = pi_approx(10)
assert str(approx).startswith("3.")
print(approx)
approx = pi_approx(10000)
assert str(approx).startswith("3.1")
print(approx)
| 18.2 | 36 | 0.752747 | 29 | 182 | 4.586207 | 0.448276 | 0.180451 | 0.210526 | 0.300752 | 0.390977 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 0.098901 | 182 | 9 | 37 | 20.222222 | 0.75 | 0 | 0 | 0.285714 | 0 | 0 | 0.027473 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.285714 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4f932b29ffc2e0f9d3a655ee83e18d67c99105b8 | 173 | py | Python | p2/api/apps.py | BeryJu/p2 | 80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27 | [
"MIT"
] | null | null | null | p2/api/apps.py | BeryJu/p2 | 80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27 | [
"MIT"
] | null | null | null | p2/api/apps.py | BeryJu/p2 | 80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27 | [
"MIT"
] | null | null | null | """django API AppConfig"""
from django.apps.config import AppConfig
class P2APIConfig(AppConfig):
"""django API AppConfig"""
name = 'p2.api'
label = 'p2_api'
| 17.3 | 40 | 0.67052 | 21 | 173 | 5.47619 | 0.571429 | 0.156522 | 0.313043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021429 | 0.190751 | 173 | 9 | 41 | 19.222222 | 0.8 | 0.236994 | 0 | 0 | 0 | 0 | 0.099174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4f9849a22ccdf30004478f2b9cb21c2605e229ac | 1,996 | py | Python | flask-app/app.py | martapanc/docker-curriculum | c5387472ae00b3acf43f7e78bac0b6f3dc5ff012 | [
"MIT"
] | null | null | null | flask-app/app.py | martapanc/docker-curriculum | c5387472ae00b3acf43f7e78bac0b6f3dc5ff012 | [
"MIT"
] | 1 | 2020-08-01T20:14:05.000Z | 2020-08-01T20:14:05.000Z | flask-app/app.py | martapanc/docker-curriculum | c5387472ae00b3acf43f7e78bac0b6f3dc5ff012 | [
"MIT"
] | null | null | null | from flask import Flask, render_template
import os
import random
app = Flask(__name__)
# list of cat images
images = [
"https://firebasestorage.googleapis.com/v0/b/docker-curriculum.appspot.com/o/catnip%2F0.gif?alt=media&token=0fff4b31-b3d8-44fb-be39-723f040e57fb",
"https://firebasestorage.googleapis.com/v0/b... | 64.387097 | 151 | 0.774549 | 292 | 1,996 | 5.246575 | 0.380137 | 0.143603 | 0.215405 | 0.236945 | 0.495431 | 0.495431 | 0.495431 | 0.495431 | 0.495431 | 0.495431 | 0 | 0.134677 | 0.05511 | 1,996 | 30 | 152 | 66.533333 | 0.677625 | 0.009018 | 0 | 0 | 0 | 0.478261 | 0.812247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.130435 | 0 | 0.217391 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
96dadb8bbc42aec77caf0f7dacbe2396ee889fa6 | 279 | py | Python | unet2d/model/__init__.py | vuhoangminh/medical-segmentation | 4a2a663d1f2d6de5c78bc521f6ed2aa1681a8804 | [
"MIT"
] | 1 | 2018-12-06T09:17:26.000Z | 2018-12-06T09:17:26.000Z | unet2d/model/__init__.py | vuhoangminh/medical-segmentation | 4a2a663d1f2d6de5c78bc521f6ed2aa1681a8804 | [
"MIT"
] | null | null | null | unet2d/model/__init__.py | vuhoangminh/medical-segmentation | 4a2a663d1f2d6de5c78bc521f6ed2aa1681a8804 | [
"MIT"
] | 2 | 2019-05-07T10:07:33.000Z | 2019-05-20T12:50:37.000Z | from .unet_2d import unet_model_2d
from .isensee2d import isensee2d_model
from .proposed import casnet_v1, casnet_v2, casnet_v3, casnet_v4, casnet_v5, casnet_v6, casnet_v7, casnet_v8, casnet_v9, casnet_v10
from .proposed import sepnet_v1, sepnet_v2
from .segnet2d import segnet2d | 55.8 | 131 | 0.842294 | 46 | 279 | 4.76087 | 0.434783 | 0.109589 | 0.164384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076 | 0.103943 | 279 | 5 | 132 | 55.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
96e70e299c223ce8286c48946706ef5dae9df0e6 | 237 | py | Python | Leetcode/0179. Largest Number/0179.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/0179. Largest Number/0179.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/0179. Largest Number/0179.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | class LargerStrKey(str):
def __lt__(x: str, y: str) -> bool:
return x + y > y + x
class Solution:
def largestNumber(self, nums: List[int]) -> str:
return ''.join(sorted(map(str, nums), key=LargerStrKey)).lstrip('0') or '0'
| 26.333333 | 79 | 0.628692 | 36 | 237 | 4.027778 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.189873 | 237 | 8 | 80 | 29.625 | 0.744792 | 0 | 0 | 0 | 0 | 0 | 0.008439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
96eeae571e654757dd06304af9a343cefb6a4ff0 | 51 | py | Python | tests/test_basic.py | PadamSethia/peeps | 4304d96997572972d3701dddabd86dbb2ba05060 | [
"MIT"
] | 2 | 2019-02-06T17:29:43.000Z | 2019-04-20T09:34:36.000Z | tests/test_basic.py | highoncarbs/peep | 4304d96997572972d3701dddabd86dbb2ba05060 | [
"MIT"
] | 10 | 2018-07-10T07:12:02.000Z | 2018-09-14T07:55:00.000Z | tests/test_basic.py | PadamSethia/peep | 4304d96997572972d3701dddabd86dbb2ba05060 | [
"MIT"
] | null | null | null | from app import app , db
import os
import unittest
| 12.75 | 24 | 0.784314 | 9 | 51 | 4.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 51 | 3 | 25 | 17 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8c4b509d4e83a906842919960b0448ca55daf6ca | 62 | py | Python | albumy/forms/__init__.py | 1243726062/albumy | 5b882175dbcdbdb98fca6c1d96553ed5fa2dc192 | [
"MIT"
] | null | null | null | albumy/forms/__init__.py | 1243726062/albumy | 5b882175dbcdbdb98fca6c1d96553ed5fa2dc192 | [
"MIT"
] | 6 | 2021-03-29T19:05:32.000Z | 2022-03-11T23:56:53.000Z | albumy/forms/__init__.py | 1243726062/albumy | 5b882175dbcdbdb98fca6c1d96553ed5fa2dc192 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created by 亥虫 on 2019/5/12
""" | 15.5 | 30 | 0.483871 | 10 | 62 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 0.241935 | 62 | 4 | 31 | 15.5 | 0.468085 | 0.790323 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8b210a4a48930ff67ffa75bbc38debc45294ab8f | 147 | py | Python | example/format-transfer/test-grd2igs.py | swayli94/cst-modeling | 7b1cb681b82a484e842e0f77ee4d5b5f1b49e1e4 | [
"MIT"
] | null | null | null | example/format-transfer/test-grd2igs.py | swayli94/cst-modeling | 7b1cb681b82a484e842e0f77ee4d5b5f1b49e1e4 | [
"MIT"
] | null | null | null | example/format-transfer/test-grd2igs.py | swayli94/cst-modeling | 7b1cb681b82a484e842e0f77ee4d5b5f1b49e1e4 | [
"MIT"
] | null | null | null |
from cst_modeling.basic import plot3d_to_igs
if __name__ == "__main__":
#* Transfer text.grd to test.igs
plot3d_to_igs(fname='test')
| 13.363636 | 44 | 0.707483 | 22 | 147 | 4.136364 | 0.727273 | 0.175824 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016807 | 0.190476 | 147 | 10 | 45 | 14.7 | 0.747899 | 0.210884 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 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 | 4 |
8b21a4d5d3e8a93d5a59f621a6ef9c596ae6adb0 | 106 | py | Python | tests/models.py | briefmnews/django-podle | 124628449b839b8ae3b3e3e5d5c11397fddc960b | [
"MIT"
] | null | null | null | tests/models.py | briefmnews/django-podle | 124628449b839b8ae3b3e3e5d5c11397fddc960b | [
"MIT"
] | 1 | 2021-08-06T04:03:15.000Z | 2021-12-19T19:14:05.000Z | tests/models.py | briefmnews/django-podle | 124628449b839b8ae3b3e3e5d5c11397fddc960b | [
"MIT"
] | null | null | null | from django.db import models
class DummyData(models.Model):
data = models.CharField(max_length=256)
| 17.666667 | 43 | 0.764151 | 15 | 106 | 5.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032967 | 0.141509 | 106 | 5 | 44 | 21.2 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8b2d9c8ad3d45db089e6c08bb58daa7c29a4e09e | 190 | py | Python | web_scraper/server.py | shenoy-anurag/Aggre-Gator | 35b044c67f4e1e4c07c47436b384e720cec050de | [
"MIT"
] | 1 | 2022-03-21T01:38:24.000Z | 2022-03-21T01:38:24.000Z | web_scraper/server.py | shenoy-anurag/Aggre-Gator | 35b044c67f4e1e4c07c47436b384e720cec050de | [
"MIT"
] | 1 | 2022-03-25T04:40:40.000Z | 2022-03-25T04:44:29.000Z | web_scraper/server.py | shenoy-anurag/Aggre-Gator | 35b044c67f4e1e4c07c47436b384e720cec050de | [
"MIT"
] | null | null | null | from web_scraper import app, api
from web_scraper.core.views import core_blueprint
app.register_blueprint(core_blueprint)
if __name__ == "__main__":
app.run(host='0.0.0.0', port=5000)
| 23.75 | 49 | 0.768421 | 31 | 190 | 4.290323 | 0.580645 | 0.045113 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.115789 | 190 | 7 | 50 | 27.142857 | 0.744048 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8c99e06dc94ca2126ea4863c69c6245be2a0b1ae | 79 | py | Python | grpc_python_example/services/definitions/__init__.py | mdzhang/grpc-python-example | d360db39bb10c458ba0133b723108d636021f678 | [
"MIT"
] | 16 | 2017-01-10T14:50:08.000Z | 2022-03-30T12:58:51.000Z | grpc_python_example/services/definitions/__init__.py | mr-aliraza/grpc-python-example | d360db39bb10c458ba0133b723108d636021f678 | [
"MIT"
] | null | null | null | grpc_python_example/services/definitions/__init__.py | mr-aliraza/grpc-python-example | d360db39bb10c458ba0133b723108d636021f678 | [
"MIT"
] | 5 | 2017-07-19T03:40:55.000Z | 2021-10-05T05:55:27.000Z | """Defines grpc_python_example's service interfaces using protocol buffers."""
| 39.5 | 78 | 0.810127 | 10 | 79 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088608 | 79 | 1 | 79 | 79 | 0.861111 | 0.911392 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8cab56ab07884989c0dd8e2acf426ba1ff9c970d | 81 | py | Python | twitoff/__init__.py | murugis/RoseW-Twitoff | f3ed78867e7b2689e337c1bc0d9d851ee5f24a13 | [
"MIT"
] | null | null | null | twitoff/__init__.py | murugis/RoseW-Twitoff | f3ed78867e7b2689e337c1bc0d9d851ee5f24a13 | [
"MIT"
] | null | null | null | twitoff/__init__.py | murugis/RoseW-Twitoff | f3ed78867e7b2689e337c1bc0d9d851ee5f24a13 | [
"MIT"
] | null | null | null | '''Entry point to twitoff app'''
from .app import create_app
APP = create_app() | 16.2 | 32 | 0.716049 | 13 | 81 | 4.307692 | 0.615385 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 5 | 33 | 16.2 | 0.823529 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
508520f3a5d1ed7451df9c31b9fb82b72121a4ab | 78 | py | Python | pyhap_vesync/utils/wrapper/__init__.py | jslay88/pyhap_vesync | d9b6b782a7e4c77d59775bc625ca5929b55ad0dd | [
"MIT"
] | null | null | null | pyhap_vesync/utils/wrapper/__init__.py | jslay88/pyhap_vesync | d9b6b782a7e4c77d59775bc625ca5929b55ad0dd | [
"MIT"
] | 3 | 2018-02-20T01:04:17.000Z | 2020-08-06T08:07:42.000Z | pyhap_vesync/utils/wrapper/__init__.py | jslay88/pyhap_vesync | d9b6b782a7e4c77d59775bc625ca5929b55ad0dd | [
"MIT"
] | null | null | null | from .Outlet import Outlet
from .API import API
from .Bridge import Bridge
| 19.5 | 27 | 0.769231 | 12 | 78 | 5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 78 | 3 | 28 | 26 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
508bf4491406373a8dc4d649ab476d3375481777 | 754 | py | Python | qiling/qiling/os/windows/dlls/mscoree.py | mrTavas/owasp-fstm-auto | 6e9ff36e46d885701c7419db3eca15f12063a7f3 | [
"CC0-1.0"
] | 2 | 2021-05-05T12:03:01.000Z | 2021-06-04T14:27:15.000Z | qiling/qiling/os/windows/dlls/mscoree.py | mrTavas/owasp-fstm-auto | 6e9ff36e46d885701c7419db3eca15f12063a7f3 | [
"CC0-1.0"
] | null | null | null | qiling/qiling/os/windows/dlls/mscoree.py | mrTavas/owasp-fstm-auto | 6e9ff36e46d885701c7419db3eca15f12063a7f3 | [
"CC0-1.0"
] | 2 | 2021-05-05T12:03:09.000Z | 2021-06-04T14:27:21.000Z | #!/usr/bin/env python3
#
# Cross Platform and Multi Architecture Advanced Binary Emulation Framework
#
import struct
import base64
from qiling.os.windows.fncc import *
from qiling.os.const import *
from qiling.os.windows.utils import *
from qiling.os.windows.handle import *
from qiling.os.windows.const import *
dllnam... | 26 | 77 | 0.753316 | 99 | 754 | 5.616162 | 0.565657 | 0.089928 | 0.107914 | 0.136691 | 0.134892 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010786 | 0.139257 | 754 | 28 | 78 | 26.928571 | 0.845917 | 0.303714 | 0 | 0 | 0 | 0 | 0.05814 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.133333 | false | 0.066667 | 0.466667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
50904c7e5b98114a78e54a2544c36e9cfb9e37e9 | 329 | py | Python | tests/remotes/base.py | backwardn/dvc | 83a2afc7b05e38014aca224ab85949b0974d9bec | [
"Apache-2.0"
] | null | null | null | tests/remotes/base.py | backwardn/dvc | 83a2afc7b05e38014aca224ab85949b0974d9bec | [
"Apache-2.0"
] | null | null | null | tests/remotes/base.py | backwardn/dvc | 83a2afc7b05e38014aca224ab85949b0974d9bec | [
"Apache-2.0"
] | null | null | null | from funcy import cached_property
class Base:
@staticmethod
def should_test():
return True
@staticmethod
def get_url():
raise NotImplementedError
@cached_property
def url(self):
return self.get_url()
@cached_property
def config(self):
return {"url": s... | 16.45 | 33 | 0.629179 | 37 | 329 | 5.432432 | 0.513514 | 0.208955 | 0.169154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291793 | 329 | 19 | 34 | 17.315789 | 0.862661 | 0 | 0 | 0.285714 | 0 | 0 | 0.009119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.214286 | 0.642857 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.