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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ffcf2443de62fbdd398f685f50aec8f038980e9a | 235 | py | Python | scieio/viscometers/views.py | arnelimperial/scieio | 279a25766f20d074a3df824c0fbc8b2d8e35f272 | [
"MIT"
] | null | null | null | scieio/viscometers/views.py | arnelimperial/scieio | 279a25766f20d074a3df824c0fbc8b2d8e35f272 | [
"MIT"
] | 8 | 2021-03-19T01:56:44.000Z | 2022-03-12T00:24:21.000Z | scieio/viscometers/views.py | arnelimperial/scieio | 279a25766f20d074a3df824c0fbc8b2d8e35f272 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from rest_framework import viewsets
from . import models, serializers
class VRViewSet(viewsets.ModelViewSet):
queryset = models.VR.objects.all()
serializer_class = serializers.VRSerializer
| 26.111111 | 47 | 0.804255 | 27 | 235 | 6.925926 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131915 | 235 | 8 | 48 | 29.375 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ffe70d428f939c11759c7f8fb0be81732b3f9efb | 4,865 | py | Python | app/users/models.py | tuannm-1876/vuln-app | 0f9ce77b16e9767f049af4b45b5fdb6962536f0e | [
"MIT"
] | null | null | null | app/users/models.py | tuannm-1876/vuln-app | 0f9ce77b16e9767f049af4b45b5fdb6962536f0e | [
"MIT"
] | 16 | 2019-11-12T02:18:11.000Z | 2021-06-02T00:40:50.000Z | app/users/models.py | tuannm-1876/vuln-app | 0f9ce77b16e9767f049af4b45b5fdb6962536f0e | [
"MIT"
] | null | null | null | from sqlalchemy.ext.declarative import declarative_base
from app import db
import datetime
from werkzeug.security import generate_password_hash, check_password_hash
from app.users import constants as USER
class Users(db.Model):
__tablename__ = 'users'
id = db.Column(db.Integer, nullable=False, primary_key=True... | 38.611111 | 104 | 0.690442 | 660 | 4,865 | 4.889394 | 0.110606 | 0.094205 | 0.117756 | 0.094825 | 0.713356 | 0.696002 | 0.668733 | 0.569569 | 0.551596 | 0.551596 | 0 | 0.006313 | 0.186023 | 4,865 | 125 | 105 | 38.92 | 0.808586 | 0 | 0 | 0.47619 | 1 | 0 | 0.027749 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.07619 | 0.047619 | 0.047619 | 0.704762 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
fff3b67192c3f5d2219b8a61841c141f1be67cc9 | 265 | py | Python | django_project/project_name/context_processors.py | fiee/generic_django_project | 8dd83326e0b35fdebf7c9ca3f175cad042e0e3b0 | [
"PostgreSQL"
] | 14 | 2015-03-20T13:03:19.000Z | 2018-07-18T12:10:12.000Z | django_project/project_name/context_processors.py | fiee/generic_django_project | 8dd83326e0b35fdebf7c9ca3f175cad042e0e3b0 | [
"PostgreSQL"
] | 7 | 2020-06-05T18:36:16.000Z | 2022-02-10T10:46:08.000Z | django_project/project_name/context_processors.py | fiee/generic_django_project | 8dd83326e0b35fdebf7c9ca3f175cad042e0e3b0 | [
"PostgreSQL"
] | 2 | 2016-08-21T22:00:41.000Z | 2017-03-22T09:46:26.000Z | from django.contrib.sites.shortcuts import get_current_site
from django.utils.functional import SimpleLazyObject
def site(request):
return {
'host': request.META['HTTP_HOST'],
'site': SimpleLazyObject(lambda: get_current_site(request)),
}
| 26.5 | 68 | 0.728302 | 31 | 265 | 6.064516 | 0.612903 | 0.106383 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166038 | 265 | 9 | 69 | 29.444444 | 0.850679 | 0 | 0 | 0 | 0 | 0 | 0.064151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
fff9e33aaa32e01fc1f1fbd0b000c688107ed5ab | 1,131 | py | Python | first_bank_of_change/unit.py | kyclark/playful_python_2 | 75f5f20a80f0a4f28adae1523b64b53d83a8c5cd | [
"MIT"
] | 6 | 2020-04-30T01:42:11.000Z | 2021-11-14T23:52:51.000Z | first_bank_of_change/unit.py | kyclark/playful_python_2 | 75f5f20a80f0a4f28adae1523b64b53d83a8c5cd | [
"MIT"
] | null | null | null | first_bank_of_change/unit.py | kyclark/playful_python_2 | 75f5f20a80f0a4f28adae1523b64b53d83a8c5cd | [
"MIT"
] | 7 | 2020-02-18T16:49:59.000Z | 2020-11-29T13:22:22.000Z | from fboc import fmt_combo, join, figure
# --------------------------------------------------
def test_fmt_combo():
"""Test fmt_combo"""
assert fmt_combo((2, 0, 0, 1)) == '2 quarters and 1 penny'
assert fmt_combo((0, 1, 2, 2)) == '1 dime, 2 nickels, and 2 pennies'
# ------------------------------------... | 30.567568 | 72 | 0.422635 | 173 | 1,131 | 2.716763 | 0.184971 | 0.106383 | 0.076596 | 0.076596 | 0.285106 | 0.078723 | 0 | 0 | 0 | 0 | 0 | 0.102181 | 0.229885 | 1,131 | 36 | 73 | 31.416667 | 0.437428 | 0.167993 | 0 | 0 | 0 | 0 | 0.105092 | 0 | 0 | 0 | 0 | 0 | 0.809524 | 1 | 0.142857 | true | 0 | 0.047619 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fffd8cc2e26063678b58abfaca8a8de079e870d3 | 22 | py | Python | infobip/api/model/sms/mo/logs/__init__.py | bahiamartins/infobip-api-python-client | 88f044901af5690d01fcb7bce90d0ed2ab1ba4d1 | [
"Apache-2.0"
] | null | null | null | infobip/api/model/sms/mo/logs/__init__.py | bahiamartins/infobip-api-python-client | 88f044901af5690d01fcb7bce90d0ed2ab1ba4d1 | [
"Apache-2.0"
] | null | null | null | infobip/api/model/sms/mo/logs/__init__.py | bahiamartins/infobip-api-python-client | 88f044901af5690d01fcb7bce90d0ed2ab1ba4d1 | [
"Apache-2.0"
] | 1 | 2020-04-08T19:03:26.000Z | 2020-04-08T19:03:26.000Z | __author__ = 'nmaric'
| 11 | 21 | 0.727273 | 2 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
08477bec1d58c1abc4256c8d41de63882a0c6e80 | 1,153 | py | Python | model/__init__.py | THU-CVlab/JMedSeg | 1c9c66a1b2c6e4c5e3f70ca9e1ed54447b944755 | [
"MIT"
] | 26 | 2021-08-19T05:22:44.000Z | 2022-03-08T05:44:43.000Z | model/__init__.py | Jittor/JMedSeg | 1c9c66a1b2c6e4c5e3f70ca9e1ed54447b944755 | [
"MIT"
] | null | null | null | model/__init__.py | Jittor/JMedSeg | 1c9c66a1b2c6e4c5e3f70ca9e1ed54447b944755 | [
"MIT"
] | 3 | 2021-08-19T06:12:49.000Z | 2021-08-19T11:41:16.000Z | from .UNet import UNet
from .hrnet import HRNet
from .transformer_seg import SETRModel as SETR
from .jittorsummary import summary
from .UNet import UNet
from .R2UNet import R2UNet, R2AttentionUNet
from .AttentionUNet import AttentionUNet
from .ScseUNet import SCSEUnet
from .ResUNet import ResUNet
from .DenseUNet impor... | 32.027778 | 50 | 0.837814 | 156 | 1,153 | 6.141026 | 0.314103 | 0.016701 | 0.029228 | 0.037578 | 0.19833 | 0.08977 | 0.08977 | 0.08977 | 0 | 0 | 0 | 0.015936 | 0.129228 | 1,153 | 36 | 51 | 32.027778 | 0.938247 | 0 | 0 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f22d343bd08d7115674d8a910c63649dd94ce167 | 1,654 | py | Python | pydrepr/drepr/outputs/array_backend/array_attr.py | scorpio975/d-repr | 1d08024192642233d42d29e1d05f8713ee265bca | [
"MIT"
] | 5 | 2019-10-02T01:04:50.000Z | 2022-03-08T09:39:50.000Z | pydrepr/drepr/outputs/array_backend/array_attr.py | scorpio975/d-repr | 1d08024192642233d42d29e1d05f8713ee265bca | [
"MIT"
] | 3 | 2020-06-13T22:09:48.000Z | 2021-04-23T08:23:49.000Z | pydrepr/drepr/outputs/array_backend/array_attr.py | scorpio975/d-repr | 1d08024192642233d42d29e1d05f8713ee265bca | [
"MIT"
] | 5 | 2019-10-02T03:01:27.000Z | 2021-02-02T13:34:35.000Z | from dataclasses import dataclass
import numpy as np
from typing import Union, List, Tuple, Optional
from drepr.models import Path
@dataclass
class NoData:
value: any
class ArrayAttr:
def __init__(self, id: str, values: np.ndarray, path: Path, step2dim: List[Optional[int]], nodata: Optional[NoData]):
... | 23.295775 | 121 | 0.607013 | 213 | 1,654 | 4.633803 | 0.248826 | 0.141844 | 0.081054 | 0.077001 | 0.3769 | 0.24924 | 0.24924 | 0.180344 | 0.180344 | 0.109422 | 0 | 0.004174 | 0.275695 | 1,654 | 70 | 122 | 23.628571 | 0.8197 | 0 | 0 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.08 | 0.12 | 0.56 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f22f1c6516af2e2e84afdf43bcd817ff5f386c95 | 1,686 | py | Python | challenges/array_binary_search/test_array_binary_search.py | nastinsk/python-data-structures-and-algorithms | 505b26a70fb846f6e9d0681bbe4f77e3797acf2d | [
"MIT"
] | null | null | null | challenges/array_binary_search/test_array_binary_search.py | nastinsk/python-data-structures-and-algorithms | 505b26a70fb846f6e9d0681bbe4f77e3797acf2d | [
"MIT"
] | null | null | null | challenges/array_binary_search/test_array_binary_search.py | nastinsk/python-data-structures-and-algorithms | 505b26a70fb846f6e9d0681bbe4f77e3797acf2d | [
"MIT"
] | 3 | 2020-05-31T03:25:49.000Z | 2020-12-05T21:03:13.000Z | from array_binary_search import binary_search
# "Happy Path" cases
def test_simple():
expected = 3
actual = binary_search([1,2,3,4,5,6],4)
assert actual == expected
def test_original_nums():
expected = 2
actual = binary_search([4,8,15,16,23,42], 15)
assert actual == expected
def test_absence():
expect... | 23.416667 | 61 | 0.691578 | 271 | 1,686 | 4.107011 | 0.214022 | 0.161725 | 0.210243 | 0.206649 | 0.689128 | 0.538185 | 0.538185 | 0.424978 | 0.260557 | 0.260557 | 0 | 0.135943 | 0.166667 | 1,686 | 71 | 62 | 23.746479 | 0.656228 | 0.106762 | 0 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244898 | 1 | 0.244898 | false | 0 | 0.020408 | 0 | 0.265306 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f27e369b32ff50c675fe6b473747040e74392269 | 22 | py | Python | project1/module3/__init__.py | pmitche/it3105-aiprogramming | 79f3b4a5f624d473b461548b263bcf7ecc0846dc | [
"MIT"
] | 3 | 2015-12-12T15:33:39.000Z | 2019-01-17T13:44:09.000Z | project1/module3/__init__.py | pmitche/it3105-aiprogramming | 79f3b4a5f624d473b461548b263bcf7ecc0846dc | [
"MIT"
] | null | null | null | project1/module3/__init__.py | pmitche/it3105-aiprogramming | 79f3b4a5f624d473b461548b263bcf7ecc0846dc | [
"MIT"
] | null | null | null | __author__ = 'paulpm'
| 11 | 21 | 0.727273 | 2 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f29f513a4e49525e95268271a6a42240151bcc2f | 654 | py | Python | qlib/model/task.py | wegamekinglc/qlib | e0f02003c70064712445aa1a67e2cb83220f2b93 | [
"MIT"
] | 18 | 2021-12-17T12:09:53.000Z | 2022-02-03T12:42:43.000Z | qlib/model/task.py | yilunchen27/qlib | 1bab07e419c9a6bc42f4f7bdcf86b6c922a1718b | [
"MIT"
] | 2 | 2021-03-10T16:33:17.000Z | 2022-02-09T23:54:05.000Z | qlib/model/task.py | yilunchen27/qlib | 1bab07e419c9a6bc42f4f7bdcf86b6c922a1718b | [
"MIT"
] | 3 | 2021-03-03T14:20:50.000Z | 2021-12-02T17:08:10.000Z | import abc
import typing
class TaskGen(metaclass=abc.ABCMeta):
@abc.abstractmethod
def __call__(self, *args, **kwargs) -> typing.List[dict]:
"""
generate
Parameters
----------
args, kwargs:
The info for generating tasks
Example 1):
... | 23.357143 | 61 | 0.507645 | 65 | 654 | 5.046154 | 0.615385 | 0.060976 | 0.085366 | 0.109756 | 0.195122 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0.005141 | 0.405199 | 654 | 27 | 62 | 24.222222 | 0.838046 | 0.527523 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
f2ac49dbf2600882116ca5ad159ffdbab69637de | 144 | py | Python | ml_demo/job.py | mmqm4544/rta | 6e34e4f9eace2f58bb7376603de6f144a0b0658b | [
"MIT"
] | 2 | 2019-02-14T02:33:15.000Z | 2019-02-14T02:33:17.000Z | ml_demo/job.py | mmqm4544/rta | 6e34e4f9eace2f58bb7376603de6f144a0b0658b | [
"MIT"
] | null | null | null | ml_demo/job.py | mmqm4544/rta | 6e34e4f9eace2f58bb7376603de6f144a0b0658b | [
"MIT"
] | null | null | null | jobs = {}
class JobInfo(object):
def __init__(self, jobId):
self.jobId = jobId
self.data = None
self.handlers = []
| 18 | 30 | 0.555556 | 16 | 144 | 4.75 | 0.6875 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.319444 | 144 | 7 | 31 | 20.571429 | 0.77551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
f2b75c7488fc09815e36261a155023f77875d4b6 | 400 | py | Python | builder/basedata.py | nagisc007/storybuilder | 54b28934de8acedbe35930ce27e12a7e75f91be0 | [
"MIT"
] | null | null | null | builder/basedata.py | nagisc007/storybuilder | 54b28934de8acedbe35930ce27e12a7e75f91be0 | [
"MIT"
] | 176 | 2019-03-07T13:31:26.000Z | 2019-11-02T12:38:23.000Z | builder/basedata.py | nagisc007/storybuilder | 54b28934de8acedbe35930ce27e12a7e75f91be0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Define base data type class.
"""
from . import assertion
class BaseData(object):
"""Base class for data type.
"""
def __init__(self, name: str):
self._name = assertion.is_str(name)
@property
def name(self): return self._name
class NoData(BaseData):
"""Noth... | 17.391304 | 43 | 0.6025 | 48 | 400 | 4.625 | 0.541667 | 0.108108 | 0.099099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0033 | 0.2425 | 400 | 22 | 44 | 18.181818 | 0.729373 | 0.2525 | 0 | 0 | 0 | 0 | 0.02847 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f2ba1f560015e73c4345e94741f10feb6e3b459f | 22 | py | Python | main/perl-test-deep/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 46 | 2021-06-10T02:27:32.000Z | 2022-03-27T11:33:24.000Z | main/perl-test-deep/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 58 | 2021-07-03T13:58:20.000Z | 2022-03-13T16:45:35.000Z | main/perl-test-deep/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 6 | 2021-07-04T10:46:40.000Z | 2022-01-09T00:03:59.000Z | pkgname = "Test-Deep"
| 11 | 21 | 0.681818 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4b3375cd12f4f0592335a8e2b1110a2ec747e378 | 402 | py | Python | tests/test_xponentialy.py | blurrcat/xponentialy | 1eb761107387dccc8f95c759c8f00e1b111569c8 | [
"BSD-3-Clause"
] | null | null | null | tests/test_xponentialy.py | blurrcat/xponentialy | 1eb761107387dccc8f95c759c8f00e1b111569c8 | [
"BSD-3-Clause"
] | 1 | 2021-01-18T07:01:36.000Z | 2021-01-18T07:01:36.000Z | tests/test_xponentialy.py | blurrcat/xponentialy | 1eb761107387dccc8f95c759c8f00e1b111569c8 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_xponentialy
----------------------------------
Tests for `xponentialy` module.
"""
import unittest
from xponentialy import xponentialy
class TestXponentialy(unittest.TestCase):
def setUp(self):
pass
def test_something(self):
pass
... | 14.357143 | 41 | 0.59204 | 41 | 402 | 5.560976 | 0.658537 | 0.105263 | 0.096491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003165 | 0.21393 | 402 | 28 | 42 | 14.357143 | 0.718354 | 0.31592 | 0 | 0.272727 | 0 | 0 | 0.029963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.181818 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
4b398f69b6869a588b168a41054d32fb61e7275c | 138 | py | Python | fun/apps.py | guettli/funql | 723a09b35deb9654578db381d313c6cd899510fd | [
"MIT"
] | null | null | null | fun/apps.py | guettli/funql | 723a09b35deb9654578db381d313c6cd899510fd | [
"MIT"
] | null | null | null | fun/apps.py | guettli/funql | 723a09b35deb9654578db381d313c6cd899510fd | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class FunConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'fun'
| 19.714286 | 56 | 0.746377 | 17 | 138 | 5.941176 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 138 | 6 | 57 | 23 | 0.87069 | 0 | 0 | 0 | 0 | 0 | 0.231884 | 0.210145 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4b3f6dacb989497e30d20b2c6ece1c737dfdd387 | 2,573 | py | Python | metaL/core/object.py | ponyatov/metaLmin | 6634b67465ea448c4a763d7c035b851579378ffd | [
"MIT"
] | null | null | null | metaL/core/object.py | ponyatov/metaLmin | 6634b67465ea448c4a763d7c035b851579378ffd | [
"MIT"
] | null | null | null | metaL/core/object.py | ponyatov/metaLmin | 6634b67465ea448c4a763d7c035b851579378ffd | [
"MIT"
] | null | null | null |
# ========== base graph node class / generic knowledge representation (AST/ASG)
class Object():
# node constructor with scalar initializer
def __init__(self, V):
# node class/type tag
self.type = self.__class__.__name__.lower()
# node name / scalar value
self.value = V
... | 29.918605 | 79 | 0.511854 | 286 | 2,573 | 4.447552 | 0.342657 | 0.055031 | 0.044025 | 0.028302 | 0.124214 | 0.077044 | 0 | 0 | 0 | 0 | 0 | 0.002139 | 0.273222 | 2,573 | 85 | 80 | 30.270588 | 0.678075 | 0.290711 | 0 | 0.186047 | 0 | 0 | 0.036728 | 0.01892 | 0 | 0 | 0 | 0 | 0.093023 | 1 | 0.325581 | false | 0 | 0 | 0.139535 | 0.55814 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4b541898fe2b923b0b30db3e956f1d76c3b174c7 | 225 | py | Python | src/myproject/wsgi.py | shyam999/hot-food | b9f3f9a20a425c3571677379448df88de2f5454c | [
"MIT"
] | 111 | 2019-09-13T16:47:23.000Z | 2022-03-29T18:59:31.000Z | src/myproject/wsgi.py | shyam999/hot-food | b9f3f9a20a425c3571677379448df88de2f5454c | [
"MIT"
] | 14 | 2020-03-18T09:41:19.000Z | 2022-03-12T00:49:27.000Z | src/myproject/wsgi.py | shyam999/hot-food | b9f3f9a20a425c3571677379448df88de2f5454c | [
"MIT"
] | 29 | 2020-06-15T11:28:33.000Z | 2022-03-13T06:32:45.000Z | """
WSGI config for myproject project.
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myproject.settings')
application = get_wsgi_application()
| 18.75 | 70 | 0.755556 | 27 | 225 | 6.074074 | 0.592593 | 0.085366 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 225 | 11 | 71 | 20.454545 | 0.854167 | 0.151111 | 0 | 0 | 0 | 0 | 0.233918 | 0.128655 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4b5469577a5924a9084066e855bc4903f2e34ce3 | 352 | py | Python | piecewise/error/core_errors.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 3 | 2019-12-04T02:28:08.000Z | 2022-02-02T13:13:36.000Z | piecewise/error/core_errors.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 5 | 2020-01-15T04:33:36.000Z | 2021-03-26T14:58:47.000Z | piecewise/error/core_errors.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 1 | 2020-06-04T08:55:27.000Z | 2020-06-04T08:55:27.000Z | class PiecewiseError(Exception):
"""Base error class for framework."""
def __init__(self, message=""):
self._message = message
def __str__(self):
return self._message
class InternalError(PiecewiseError):
"""Error indicating internal bug or logical flaw, not meant to be raised
unde... | 25.142857 | 76 | 0.681818 | 40 | 352 | 5.75 | 0.725 | 0.143478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221591 | 352 | 13 | 77 | 27.076923 | 0.839416 | 0.355114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
4b7f95924e3d3d419435548781f7a67301cdf5bc | 781 | py | Python | python/konkurs/11.py | albrant/algorithms-templates | 0fbb6ffab309763ccf9855591ce224cd855adc8a | [
"MIT"
] | null | null | null | python/konkurs/11.py | albrant/algorithms-templates | 0fbb6ffab309763ccf9855591ce224cd855adc8a | [
"MIT"
] | null | null | null | python/konkurs/11.py | albrant/algorithms-templates | 0fbb6ffab309763ccf9855591ce224cd855adc8a | [
"MIT"
] | null | null | null | a = [-11, -2, -4, -10, -9, 4, -5, -18, -16, 5, -6, -19, 0, -7, 11, -17, 11, 9, -7, -11, 19, -16, -11, -4, 19,
-6, -6, -15, 1, 11, -1, -16, 12, 0, -15, -13, 11, -19, -15, -18, -20, 7, -8, 17, -4, 16, 6, -5, -3, -8, 17, -2, 2, 1, -2, 19, -6, 13, -7, -8, 9, -13, 4, -19, -4, 20, 20, -10, 9, 13, 18, 15, -15, -16, 20, 15, 1... | 33.956522 | 212 | 0.387964 | 173 | 781 | 1.751445 | 0.213873 | 0.092409 | 0.039604 | 0.072607 | 0.20462 | 0.112211 | 0.112211 | 0.112211 | 0 | 0 | 0 | 0.318015 | 0.303457 | 781 | 23 | 213 | 33.956522 | 0.238971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4b964699956089208a9657291b6e355315008ef7 | 176 | py | Python | src/bitcaster/agents/registry.py | bitcaster-io/bitcaster | 9f1bad96e00e3bc78a22451731e231d30662b166 | [
"BSD-3-Clause"
] | 4 | 2018-03-01T10:22:30.000Z | 2020-04-04T16:31:11.000Z | src/bitcaster/agents/registry.py | bitcaster-io/bitcaster | 9f1bad96e00e3bc78a22451731e231d30662b166 | [
"BSD-3-Clause"
] | 60 | 2018-05-20T04:42:32.000Z | 2022-02-10T17:03:37.000Z | src/bitcaster/agents/registry.py | bitcaster-io/bitcaster | 9f1bad96e00e3bc78a22451731e231d30662b166 | [
"BSD-3-Clause"
] | 1 | 2018-08-04T05:06:45.000Z | 2018-08-04T05:06:45.000Z | from logging import getLogger
from strategy_field.registry import Registry as Registry
logger = getLogger(__name__)
agent_registry = Registry('bitcaster.agents.base.Agent')
| 22 | 56 | 0.823864 | 22 | 176 | 6.318182 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107955 | 176 | 7 | 57 | 25.142857 | 0.88535 | 0 | 0 | 0 | 0 | 0 | 0.153409 | 0.153409 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4ba31fc13bceb49abcf45e70fd6c793c1b5ea309 | 273 | py | Python | pythonExercicios/ex090.py | Yhago-Carvalho/CursoPython | 343ccabb1a61e16c6078de9672c78c56deed2589 | [
"MIT"
] | null | null | null | pythonExercicios/ex090.py | Yhago-Carvalho/CursoPython | 343ccabb1a61e16c6078de9672c78c56deed2589 | [
"MIT"
] | null | null | null | pythonExercicios/ex090.py | Yhago-Carvalho/CursoPython | 343ccabb1a61e16c6078de9672c78c56deed2589 | [
"MIT"
] | null | null | null | dados = {}
dados['Nome'] = input('Nome: ')
dados['Média'] = float(input(f'Média de {dados["Nome"]}: '))
print(f'O nome é igual a {dados["Nome"]}')
print(f'A média é igual a {dados["Média"]}')
if dados['Média'] >= 7:
print('APROVADO!!!!')
else:
print('REPROVADO!!!') | 30.333333 | 60 | 0.586081 | 41 | 273 | 3.902439 | 0.414634 | 0.16875 | 0.175 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004274 | 0.142857 | 273 | 9 | 61 | 30.333333 | 0.679487 | 0 | 0 | 0 | 0 | 0 | 0.49635 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
4bc2693610eda55a27854554f02bc3f9fb41cd31 | 2,415 | py | Python | interviewbit/BinarySearch/findMin.py | zazhang/coding-problems | 704f0ab22ecdc5fca1978ac7791f43258eb441dd | [
"MIT"
] | null | null | null | interviewbit/BinarySearch/findMin.py | zazhang/coding-problems | 704f0ab22ecdc5fca1978ac7791f43258eb441dd | [
"MIT"
] | null | null | null | interviewbit/BinarySearch/findMin.py | zazhang/coding-problems | 704f0ab22ecdc5fca1978ac7791f43258eb441dd | [
"MIT"
] | null | null | null | #!usr/bin/env ipython
"""Coding interview problem (binary search):
Suppose a sorted array `A` is rotated at some pivot unknown to you beforehand.
``(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2)``.
Find the minimum element (or number of rotations of the array).
The array will not contain duplicates.
... | 38.333333 | 767 | 0.542857 | 339 | 2,415 | 3.831858 | 0.578171 | 0.021555 | 0.019246 | 0.009238 | 0.092379 | 0.092379 | 0.058507 | 0.058507 | 0.058507 | 0 | 0 | 0.355117 | 0.328364 | 2,415 | 62 | 768 | 38.951613 | 0.445746 | 0.081159 | 0 | 0.114286 | 0 | 0 | 0.004432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.028571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
29b87252f73f0df6ca20e0517845d360499c015c | 676 | py | Python | task_analyzer.py | hichem2h/task-analyzer | a69902888fed468acae129b83eea4b801b1b3069 | [
"Apache-2.0"
] | null | null | null | task_analyzer.py | hichem2h/task-analyzer | a69902888fed468acae129b83eea4b801b1b3069 | [
"Apache-2.0"
] | null | null | null | task_analyzer.py | hichem2h/task-analyzer | a69902888fed468acae129b83eea4b801b1b3069 | [
"Apache-2.0"
] | null | null | null | class AnalyzerInterface:
def analyze(self):
raise NotImplementedError()
def report(self):
raise NotImplementedError()
def scan_mission(self):
raise NotImplementedError()
def scan_best_practices(self):
raise NotImplementedError()
import traceback
class TaskAnalyzer... | 22.533333 | 61 | 0.612426 | 64 | 676 | 6.28125 | 0.484375 | 0.089552 | 0.278607 | 0.231343 | 0.174129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.306213 | 676 | 30 | 62 | 22.533333 | 0.857143 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.285714 | false | 0 | 0.047619 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
29db853f57491b00816dffcd6d0e7d3503245153 | 22 | py | Python | tools/intogen/runtime/pyenv/lib/python2.7/site-packages/wok/core/db/__init__.py | globusgenomics/galaxy | 7caf74d9700057587b3e3434c64e82c5b16540f1 | [
"CC-BY-3.0"
] | 1 | 2021-02-05T13:19:58.000Z | 2021-02-05T13:19:58.000Z | chapter3/ipnb-utils/ipnb/display/__init__.py | chris-zen/phd-thesis | 1eefdff8e7ca1910304e27ae42551dc64496b101 | [
"Unlicense"
] | null | null | null | chapter3/ipnb-utils/ipnb/display/__init__.py | chris-zen/phd-thesis | 1eefdff8e7ca1910304e27ae42551dc64496b101 | [
"Unlicense"
] | null | null | null | __author__ = 'cperez'
| 11 | 21 | 0.727273 | 2 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
29f913bbf7d7e7a726ca033f9e880073cdef37c4 | 654 | py | Python | src/transformers/models/blenderbot/__init__.py | timpal0l/transformers | d86d57faa3b6511c6e4d9139535d77b695b9af8a | [
"Apache-2.0"
] | 2 | 2020-11-28T12:51:07.000Z | 2020-11-28T12:52:14.000Z | src/transformers/models/blenderbot/__init__.py | timpal0l/transformers | d86d57faa3b6511c6e4d9139535d77b695b9af8a | [
"Apache-2.0"
] | 3 | 2021-06-08T23:15:29.000Z | 2022-01-13T03:40:10.000Z | src/transformers/models/blenderbot/__init__.py | timpal0l/transformers | d86d57faa3b6511c6e4d9139535d77b695b9af8a | [
"Apache-2.0"
] | 1 | 2020-11-17T02:48:00.000Z | 2020-11-17T02:48:00.000Z | # flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
from ...file_utils import is_tf_available, is_torch_available
from .configuration_blenderbot import BLENDERBOT_PRETRAINED_CONFIG_ARCHIVE_MAP, Blender... | 43.6 | 113 | 0.83945 | 79 | 654 | 6.670886 | 0.607595 | 0.121442 | 0.049336 | 0.075901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006861 | 0.108563 | 654 | 14 | 114 | 46.714286 | 0.897084 | 0.249235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
4b0bb10cfed926a0a497aaf99c111dc4d206ed7d | 118 | py | Python | web_scraping/ec2files/ec2file147.py | nikibhatt/Groa | fc2d4ae87cb825e6d54a0831c72be16541eebe61 | [
"MIT"
] | 1 | 2020-04-08T20:11:48.000Z | 2020-04-08T20:11:48.000Z | web_scraping/ec2files/ec2file147.py | cmgospod/Groa | 31b3624bfe61e772b55f8175b4e95d63c9e67966 | [
"MIT"
] | null | null | null | web_scraping/ec2files/ec2file147.py | cmgospod/Groa | 31b3624bfe61e772b55f8175b4e95d63c9e67966 | [
"MIT"
] | 1 | 2020-09-12T07:07:41.000Z | 2020-09-12T07:07:41.000Z | from scraper import *
s = Scraper(start=261954, end=263735, max_iter=30, scraper_instance=147)
s.scrape_letterboxd() | 39.333333 | 73 | 0.779661 | 18 | 118 | 4.944444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 0.101695 | 118 | 3 | 74 | 39.333333 | 0.679245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4b2a36f49655f7fec43d1a6acfab4e2335e506ea | 233 | py | Python | pymatgen/io/__init__.py | cajfisher/pymatgen | 286c304e38102d567723a71f733e0c304b72035d | [
"MIT"
] | 18 | 2019-06-15T18:08:21.000Z | 2022-01-30T05:01:29.000Z | pymatgen/io/__init__.py | darnoceloc/pymatgen | 5cc42912a12a265a603df7e34c856561f76edc1f | [
"MIT"
] | 3 | 2017-07-18T01:13:41.000Z | 2019-04-29T18:17:30.000Z | pymatgen/io/__init__.py | darnoceloc/pymatgen | 5cc42912a12a265a603df7e34c856561f76edc1f | [
"MIT"
] | 11 | 2019-06-05T02:57:55.000Z | 2021-12-29T02:54:25.000Z | # coding: utf-8
# Copyright (c) Pymatgen Development Team.
# Distributed under the terms of the MIT License.
"""
This package provides the packages and modules to perform IO from various
input file formats and pymatgen objects.
"""
| 25.888889 | 73 | 0.763948 | 34 | 233 | 5.235294 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005155 | 0.167382 | 233 | 8 | 74 | 29.125 | 0.912371 | 0.935622 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d99f380bf36a9dc9d972cbe0a9ed392135275b55 | 262 | py | Python | jmath/linearalgebra/__init__.py | JHay0112/jmath | 3bccf7353c07152ff49ec6aa56785918c9f710ed | [
"MIT"
] | 7 | 2021-06-25T12:57:08.000Z | 2021-12-29T21:53:30.000Z | jmath/linearalgebra/__init__.py | JHay0112/jmath | 3bccf7353c07152ff49ec6aa56785918c9f710ed | [
"MIT"
] | 1 | 2021-08-11T02:16:12.000Z | 2021-08-12T06:05:21.000Z | jmath/linearalgebra/__init__.py | JHay0112/jmath | 3bccf7353c07152ff49ec6aa56785918c9f710ed | [
"MIT"
] | 1 | 2021-09-20T21:25:55.000Z | 2021-09-20T21:25:55.000Z | '''
Linear Algebra Tools
Default Packages
----------------
'''
# - Namespace
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
# - Defaults
from .vectors import Vector, Point
from .lines import Line
from .planes import Plane | 14.555556 | 64 | 0.648855 | 27 | 262 | 5.666667 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20229 | 262 | 18 | 65 | 14.555556 | 0.732057 | 0.301527 | 0 | 0 | 0 | 0 | 0.044586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d9a3fb91d4f46bf518cadf6576b97869defaec87 | 92 | py | Python | Solution/36.py | pallavimr12/Python_Levelwise_Exercises | 4090437b537260be2eca06c8d52d3a2bba1f5a5e | [
"BSD-3-Clause"
] | 2 | 2020-10-23T10:55:58.000Z | 2020-11-24T04:26:23.000Z | Solution/36.py | pallavimr12/Python_Levelwise_Exercises | 4090437b537260be2eca06c8d52d3a2bba1f5a5e | [
"BSD-3-Clause"
] | null | null | null | Solution/36.py | pallavimr12/Python_Levelwise_Exercises | 4090437b537260be2eca06c8d52d3a2bba1f5a5e | [
"BSD-3-Clause"
] | 2 | 2020-11-19T06:37:29.000Z | 2022-01-18T14:36:46.000Z | def printList():
li=list()
for i in range(1,21):
li.append(i**2)
print(li)
printList() | 13.142857 | 22 | 0.630435 | 17 | 92 | 3.411765 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.163043 | 92 | 7 | 23 | 13.142857 | 0.701299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d9b02cbeaac1048c2c0b2f7ccdd5cae97bd206ff | 148 | py | Python | pytests/test_sysexit.py | mefsantos/branch-testing | 04c944950fc5d4ebafc32d27f7e08bd760b89e66 | [
"Unlicense"
] | 12 | 2021-01-20T12:02:05.000Z | 2022-03-24T14:22:48.000Z | pytests/test_sysexit.py | mefsantos/branch-testing | 04c944950fc5d4ebafc32d27f7e08bd760b89e66 | [
"Unlicense"
] | 62 | 2021-01-16T21:44:44.000Z | 2022-03-18T08:10:24.000Z | pytests/test_sysexit.py | mefsantos/branch-testing | 04c944950fc5d4ebafc32d27f7e08bd760b89e66 | [
"Unlicense"
] | 6 | 2021-04-29T19:45:31.000Z | 2022-03-16T14:27:52.000Z | # content of test_sysexit.py
import pytest
def f():
raise SystemExit(1)
def test_mytest():
with pytest.raises(SystemExit):
f()
| 11.384615 | 35 | 0.648649 | 20 | 148 | 4.7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.243243 | 148 | 12 | 36 | 12.333333 | 0.830357 | 0.175676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.166667 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d9b608449fd374b246030d773bb34c1a22a80f24 | 25,774 | py | Python | sdk/python/pulumi_acme/certificate.py | rienafairefr/pulumi-acme | a02e5029ea81b278dca737972f601977d52f8179 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_acme/certificate.py | rienafairefr/pulumi-acme | a02e5029ea81b278dca737972f601977d52f8179 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_acme/certificate.py | rienafairefr/pulumi-acme | a02e5029ea81b278dca737972f601977d52f8179 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 48.447368 | 136 | 0.684178 | 2,770 | 25,774 | 6.024549 | 0.074368 | 0.085031 | 0.119547 | 0.057526 | 0.807287 | 0.747843 | 0.687979 | 0.616131 | 0.565197 | 0.431747 | 0 | 0.002694 | 0.208039 | 25,774 | 531 | 137 | 48.538606 | 0.814864 | 0.040855 | 0 | 0.433486 | 1 | 0 | 0.169674 | 0.0962 | 0 | 0 | 0 | 0 | 0 | 1 | 0.149083 | false | 0.041284 | 0.016055 | 0.09633 | 0.268349 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d9cdf128635f49a8f159edaf077e40887f71b663 | 2,733 | py | Python | dataservices/migrations/0027_populationdata.py | uktrade/directory-api | 45a9024a7ecc2842895201cbb51420ba9e57a168 | [
"MIT"
] | 2 | 2017-06-02T09:09:08.000Z | 2021-01-18T10:26:53.000Z | dataservices/migrations/0027_populationdata.py | uktrade/directory-api | 45a9024a7ecc2842895201cbb51420ba9e57a168 | [
"MIT"
] | 629 | 2016-10-10T09:35:52.000Z | 2022-03-25T15:04:04.000Z | dataservices/migrations/0027_populationdata.py | uktrade/directory-api | 45a9024a7ecc2842895201cbb51420ba9e57a168 | [
"MIT"
] | 5 | 2017-06-22T10:02:22.000Z | 2022-03-14T17:55:21.000Z | # Generated by Django 2.2.13 on 2021-03-05 13:13
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('dataservices', '0026_amended_cpi_fields'),
]
operations = [
migrations.CreateModel(
name='Popu... | 55.77551 | 159 | 0.6191 | 285 | 2,733 | 5.747368 | 0.364912 | 0.112332 | 0.423077 | 0.474359 | 0.613553 | 0.613553 | 0.586081 | 0 | 0 | 0 | 0 | 0.04817 | 0.240395 | 2,733 | 48 | 160 | 56.9375 | 0.740848 | 0.016831 | 0 | 0 | 1 | 0 | 0.129609 | 0.008566 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.119048 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d9e88953b252d0ed40f522dca89440f0b195924f | 710 | py | Python | matchzoo/preprocessors/units/__init__.py | aizest/MatchZoo | e73da577b9d4ccd1b81065b62ad99267a319af10 | [
"Apache-2.0"
] | 1 | 2019-05-25T13:57:19.000Z | 2019-05-25T13:57:19.000Z | matchzoo/preprocessors/units/__init__.py | dutyhong/MatchZoo | 2547f9d1b302d0f166508ba39fa659dfa210a276 | [
"Apache-2.0"
] | null | null | null | matchzoo/preprocessors/units/__init__.py | dutyhong/MatchZoo | 2547f9d1b302d0f166508ba39fa659dfa210a276 | [
"Apache-2.0"
] | 1 | 2020-08-14T01:16:32.000Z | 2020-08-14T01:16:32.000Z | from .unit import Unit
from .digit_removal import DigitRemoval
from .fixed_length import FixedLength
from .frequency_filter import FrequencyFilter
from .lemmatization import Lemmatization
from .lowercase import Lowercase
from .matching_histogram import MatchingHistogram
from .ngram_letter import NgramLetter
from .punc_... | 33.809524 | 65 | 0.85493 | 87 | 710 | 6.793103 | 0.471264 | 0.06599 | 0.071066 | 0.104907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 710 | 20 | 66 | 35.5 | 0.938095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | true | 0 | 0.888889 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d9f8feb24f1532eaaedf3ea9aad1a23d245d1696 | 345 | py | Python | cadCAD/__init__.py | NoahEBledsoe/cadCAD | 1dfb39a764471287eebb2cc71fc0afdc75d2d672 | [
"MIT"
] | 5 | 2020-08-11T00:27:59.000Z | 2020-11-06T04:21:59.000Z | cadCAD/__init__.py | NoahEBledsoe/cadCAD | 1dfb39a764471287eebb2cc71fc0afdc75d2d672 | [
"MIT"
] | 2 | 2020-07-09T00:55:13.000Z | 2021-08-03T04:32:52.000Z | cadCAD/__init__.py | NoahEBledsoe/cadCAD | 1dfb39a764471287eebb2cc71fc0afdc75d2d672 | [
"MIT"
] | 200 | 2020-05-08T20:43:12.000Z | 2021-06-26T11:39:00.000Z | import os, dill
name = "cadCAD"
configs = []
global experiment_count
if os.name == 'nt':
dill.settings['recurse'] = True
logo = r'''
___________ ____
________ __ ___/ / ____/ | / __ \
/ ___/ __` / __ / / / /| | / / / /
/ /__/ /_/ / /_/ / /___/ ___ |/ /_/ /
\___/\__,_/\__,_/\____/_/ ... | 19.166667 | 38 | 0.489855 | 21 | 345 | 4.571429 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289855 | 345 | 17 | 39 | 20.294118 | 0.391837 | 0 | 0 | 0 | 0 | 0.071429 | 0.628986 | 0.072464 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a068e177388961e558754b043109ab6f107a769 | 100 | py | Python | beflow/utilities/typing.py | SimonBoothroyd/beflow | 3935ed0360671561624f47284a5310877bb623a5 | [
"MIT"
] | 12 | 2020-08-28T20:49:00.000Z | 2021-11-17T08:50:32.000Z | openff/bespokefit/executor/utilities/typing.py | openforcefield/bespoke-f | 27b072bd09610dc8209429118d739e1f453edd61 | [
"MIT"
] | 95 | 2020-02-19T18:40:54.000Z | 2021-12-02T10:52:23.000Z | openff/bespokefit/executor/utilities/typing.py | openforcefield/openff-bespokefit | 85c92a51055a5a82e5d50fee1668a7de4ce2b1d4 | [
"MIT"
] | 3 | 2021-04-01T04:22:49.000Z | 2021-04-13T03:19:10.000Z | from typing_extensions import Literal
Status = Literal["waiting", "running", "errored", "success"]
| 25 | 60 | 0.75 | 11 | 100 | 6.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11 | 100 | 3 | 61 | 33.333333 | 0.831461 | 0 | 0 | 0 | 0 | 0 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8a085ca1cf8ac52dc08c0b89177ddab31d6a81fe | 3,169 | bzl | Python | third_party/java/arcs/build_defs/build_defs.bzl | sgjesse/arcs | 2154b4ff368c1bb734e2c1add5a134481b9676cc | [
"BSD-Source-Code"
] | null | null | null | third_party/java/arcs/build_defs/build_defs.bzl | sgjesse/arcs | 2154b4ff368c1bb734e2c1add5a134481b9676cc | [
"BSD-Source-Code"
] | null | null | null | third_party/java/arcs/build_defs/build_defs.bzl | sgjesse/arcs | 2154b4ff368c1bb734e2c1add5a134481b9676cc | [
"BSD-Source-Code"
] | null | null | null | """Arcs BUILD rules."""
load(
"//third_party/bazel_rules/rules_kotlin/kotlin/js:js_library.bzl",
_kt_js_library = "kt_js_library",
)
load(
"//third_party/java/arcs/build_defs/internal:kotlin.bzl",
_arcs_kt_android_library = "arcs_kt_android_library",
_arcs_kt_android_test_suite = "arcs_kt_android_t... | 29.073394 | 71 | 0.75639 | 486 | 3,169 | 4.349794 | 0.109054 | 0.164617 | 0.11684 | 0.049669 | 0.842479 | 0.764901 | 0.70246 | 0.699622 | 0.618732 | 0.588458 | 0 | 0.002239 | 0.154307 | 3,169 | 108 | 72 | 29.342593 | 0.786567 | 0.22089 | 0 | 0.152542 | 0 | 0 | 0.262648 | 0.145025 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084746 | false | 0 | 0 | 0 | 0.084746 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a185458ef52e4e0d39eb080a2ca572899d520d7 | 297 | py | Python | Cron_Philip/Assignments/Fundamental_Assignments/stars.py | webguru001/Python-Django-Web | 6264bc4c90ef1432ba0902c76b567cf3caaae221 | [
"MIT"
] | 5 | 2019-05-17T01:30:02.000Z | 2021-06-17T21:02:58.000Z | Cron_Philip/Assignments/Fundamental_Assignments/stars.py | curest0x1021/Python-Django-Web | 6264bc4c90ef1432ba0902c76b567cf3caaae221 | [
"MIT"
] | null | null | null | Cron_Philip/Assignments/Fundamental_Assignments/stars.py | curest0x1021/Python-Django-Web | 6264bc4c90ef1432ba0902c76b567cf3caaae221 | [
"MIT"
] | null | null | null | def draw_stars(input):
for index in range(len(input)):
if type(input[index]) is int:
print input[index] * '*'
else:
print input[index][0].lower() * len(input[index])
x = [4,6,1,3,5,7,25]
y = [4, "Tom", 1, "Michael", 5, 7, "Jimmy Smith"]
draw_stars(y)
| 27 | 61 | 0.538721 | 48 | 297 | 3.291667 | 0.625 | 0.253165 | 0.189873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059633 | 0.265993 | 297 | 10 | 62 | 29.7 | 0.665138 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.222222 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a57486972213877cf499b70984ae2911c76007f | 479 | py | Python | Dataset/Leetcode/train/35/293.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/35/293.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/35/293.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution:
def XXX(self, nums, target):
"""
:type nums: List[int]
:type target: int
:rtype: int
"""
length=len(nums)
for i in range(length):
if nums[i]<target:
continue
if nums[i]==target:
return i
... | 22.809524 | 32 | 0.390397 | 49 | 479 | 3.816327 | 0.44898 | 0.096257 | 0.112299 | 0.208556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.519833 | 479 | 20 | 33 | 23.95 | 0.804348 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a5ad86a1ab49a80e6771b3d2465eb024a4afb41 | 448 | py | Python | src/pysparkbundle/lineage/FileRead.py | daipe-ai/pyspark-bundle | ffbb0f8835b69646a235ae4d7d1f4eaa03a05ea0 | [
"MIT"
] | null | null | null | src/pysparkbundle/lineage/FileRead.py | daipe-ai/pyspark-bundle | ffbb0f8835b69646a235ae4d7d1f4eaa03a05ea0 | [
"MIT"
] | null | null | null | src/pysparkbundle/lineage/FileRead.py | daipe-ai/pyspark-bundle | ffbb0f8835b69646a235ae4d7d1f4eaa03a05ea0 | [
"MIT"
] | null | null | null | from daipecore.lineage.argument.DecoratorInputFunctionInterface import DecoratorInputFunctionInterface
class FileRead(DecoratorInputFunctionInterface):
def __init__(self, path: str, type_: str):
self.__path = path
self.__type = type_
@property
def path(self):
return self.__path
... | 22.4 | 102 | 0.691964 | 44 | 448 | 6.681818 | 0.386364 | 0.108844 | 0.142857 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236607 | 448 | 19 | 103 | 23.578947 | 0.859649 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.214286 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8a737a78c3011d4bdfe43e6dd1516b0ac8690948 | 638 | py | Python | contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_binary.py | lahosken/pants | 1b0340987c9b2eab9411416803c75b80736716e4 | [
"Apache-2.0"
] | 1 | 2021-11-11T14:04:24.000Z | 2021-11-11T14:04:24.000Z | contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_binary.py | lahosken/pants | 1b0340987c9b2eab9411416803c75b80736716e4 | [
"Apache-2.0"
] | 2 | 2016-10-13T21:37:42.000Z | 2018-07-20T20:14:33.000Z | contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_binary.py | lahosken/pants | 1b0340987c9b2eab9411416803c75b80736716e4 | [
"Apache-2.0"
] | 1 | 2021-11-11T14:04:12.000Z | 2021-11-11T14:04:12.000Z | # coding=utf-8
# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from __future__ import (absolute_import, division, generators, nested_scopes, print_function,
unicode_literals, with_statement)
from pants.contrib.n... | 35.444444 | 93 | 0.777429 | 80 | 638 | 6.05 | 0.75 | 0.03719 | 0.066116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013011 | 0.15674 | 638 | 17 | 94 | 37.529412 | 0.886617 | 0.429467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
8a737f479a3f8f3c9df701d5ed72bcdebf495deb | 4,242 | py | Python | loan_payoff_tools/max_payment_determiner.py | phillipgreenii/loan_payoff_tools | 4ffb8a83f7fe6bf7eb37eb7165b3959422d3a515 | [
"MIT"
] | null | null | null | loan_payoff_tools/max_payment_determiner.py | phillipgreenii/loan_payoff_tools | 4ffb8a83f7fe6bf7eb37eb7165b3959422d3a515 | [
"MIT"
] | 3 | 2015-05-03T02:16:49.000Z | 2015-05-08T21:25:01.000Z | loan_payoff_tools/max_payment_determiner.py | phillipgreenii/loan_payoff_tools | 4ffb8a83f7fe6bf7eb37eb7165b3959422d3a515 | [
"MIT"
] | null | null | null | from money import Money
import money
class MaxPaymentDeterminer(object):
@property
def id(self):
return str(self)
def determine_max_payment_for(self, payments_per_year, date):
raise NotImplementedError("implement determine_max_payment_for(payments_per_year, date)")
def __call__(self,... | 46.108696 | 174 | 0.754361 | 530 | 4,242 | 5.581132 | 0.150943 | 0.070994 | 0.085193 | 0.044963 | 0.626775 | 0.602434 | 0.578769 | 0.484787 | 0.457066 | 0.443543 | 0 | 0.012426 | 0.165252 | 4,242 | 91 | 175 | 46.615385 | 0.822931 | 0.021688 | 0 | 0.322581 | 0 | 0 | 0.035439 | 0.027242 | 0 | 0 | 0 | 0.010989 | 0 | 1 | 0.241935 | false | 0 | 0.032258 | 0.096774 | 0.516129 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8aa1b9986076004b024c308c6c47e79610fda8e5 | 368 | py | Python | bitswap/data_structure/block.py | VladislavSufyanov/py-bitswap | 875d15944e485c33b16af9965f24c1d85cb34c55 | [
"MIT"
] | null | null | null | bitswap/data_structure/block.py | VladislavSufyanov/py-bitswap | 875d15944e485c33b16af9965f24c1d85cb34c55 | [
"MIT"
] | null | null | null | bitswap/data_structure/block.py | VladislavSufyanov/py-bitswap | 875d15944e485c33b16af9965f24c1d85cb34c55 | [
"MIT"
] | null | null | null | from typing import Union
from dataclasses import dataclass
from cid import CIDv0, CIDv1
@dataclass
class Block:
_cid: Union[CIDv0, CIDv1]
_data: bytes
def __len__(self) -> int:
return len(self._data)
@property
def data(self):
return self._data
@property
def cid(self) -... | 16 | 41 | 0.646739 | 47 | 368 | 4.87234 | 0.404255 | 0.131004 | 0.131004 | 0.165939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022305 | 0.269022 | 368 | 22 | 42 | 16.727273 | 0.828996 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8aa287ae4a66c6e69845903ebfbf95328e0f5c63 | 456 | py | Python | demanage/boards/urls.py | Egor4ik325/demanage | f5fd1d2ad264f6d2dc3c95322962569dc591f30c | [
"MIT"
] | null | null | null | demanage/boards/urls.py | Egor4ik325/demanage | f5fd1d2ad264f6d2dc3c95322962569dc591f30c | [
"MIT"
] | 1 | 2022-03-01T11:21:05.000Z | 2022-03-01T11:21:05.000Z | demanage/boards/urls.py | Egor4ik325/demanage | f5fd1d2ad264f6d2dc3c95322962569dc591f30c | [
"MIT"
] | null | null | null | from django.urls import path
from demanage.permissions.views import (
board_permission_detail_view,
board_permission_list_view,
)
urlpatterns = [
path(
"boards/<slug:slug>/permissions/",
board_permission_list_view,
name="board-permission-list",
),
path(
"boards/<slu... | 22.8 | 68 | 0.660088 | 49 | 456 | 5.897959 | 0.408163 | 0.311419 | 0.217993 | 0.17301 | 0.200692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217105 | 456 | 19 | 69 | 24 | 0.809524 | 0 | 0 | 0.470588 | 0 | 0 | 0.289474 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8aa3beec0e13289c0058844422f44ce6de2455dd | 407 | py | Python | src/cms/models/pois/__init__.py | S10MC2015/cms-django | b08f2be60a9db6c8079ee923de2cd8912f550b12 | [
"Apache-2.0"
] | 14 | 2020-12-03T07:56:30.000Z | 2021-10-30T13:09:50.000Z | src/cms/models/pois/__init__.py | S10MC2015/cms-django | b08f2be60a9db6c8079ee923de2cd8912f550b12 | [
"Apache-2.0"
] | 367 | 2020-11-20T00:34:20.000Z | 2021-12-14T15:20:42.000Z | src/cms/models/pois/__init__.py | mckinly/cms-django | c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca | [
"Apache-2.0"
] | 3 | 2021-02-09T18:46:52.000Z | 2021-12-07T10:41:39.000Z | """
This package contains both data models related to points of interest (POIs):
:class:`~cms.models.pois.poi.POI` and
:class:`~cms.models.pois.poi_translation.POITranslation`.
POIs can be used to store information which is relevant for one specific location, e.g. a place where local authorities
offer a public service.... | 50.875 | 119 | 0.771499 | 66 | 407 | 4.742424 | 0.69697 | 0.076677 | 0.134185 | 0.115016 | 0.134185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125307 | 407 | 7 | 120 | 58.142857 | 0.879213 | 0.977887 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8ab7ec3b7ef693c663b3ee6e3b752f2a4104b53a | 100 | py | Python | Unit 6/6.2/6.2.6 Adding to a Value.py | shashwat73/cse | 60e49307e57105cf9916c7329f53f891c5e81fdb | [
"MIT"
] | 1 | 2021-04-08T14:02:49.000Z | 2021-04-08T14:02:49.000Z | Unit 6/6.2/6.2.6 Adding to a Value.py | shashwat73/cse | 60e49307e57105cf9916c7329f53f891c5e81fdb | [
"MIT"
] | null | null | null | Unit 6/6.2/6.2.6 Adding to a Value.py | shashwat73/cse | 60e49307e57105cf9916c7329f53f891c5e81fdb | [
"MIT"
] | null | null | null | num1 = 10
num2 = int(input())
def add_sum():
sum = num1+num2
print(sum)
add_sum()
| 11.111111 | 20 | 0.54 | 15 | 100 | 3.466667 | 0.6 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.31 | 100 | 8 | 21 | 12.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8ab84720a7b617d829b34b73b021b3e1092b91d0 | 11,649 | py | Python | test_autolens/simulate/interferometer/makers.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | 1 | 2020-04-06T20:07:56.000Z | 2020-04-06T20:07:56.000Z | test_autolens/simulate/interferometer/makers.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | null | null | null | test_autolens/simulate/interferometer/makers.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | null | null | null | import autofit as af
import autolens as al
import os
def simulator_from_data_resolution(data_resolution, sub_size):
"""Determine the pixel scale from a data_type resolution type based on real observations.
These options are representative of LSST, Euclid, HST, over-sampled HST and Adaptive Optics image.
... | 28.205811 | 109 | 0.617821 | 1,465 | 11,649 | 4.635495 | 0.123549 | 0.013842 | 0.013253 | 0.051833 | 0.748785 | 0.735238 | 0.710057 | 0.686055 | 0.653512 | 0.624503 | 0 | 0.035117 | 0.291098 | 11,649 | 412 | 110 | 28.274272 | 0.787237 | 0.12765 | 0 | 0.673267 | 0 | 0 | 0.036565 | 0.017887 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036304 | false | 0 | 0.009901 | 0 | 0.049505 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8ac1500e9241cb6227da0f171206569e04373daf | 273 | py | Python | print_system.py | siahuat0727/torchio | fc33ea9bd21dc60ba6c5fed46ca96ef63cae2179 | [
"Apache-2.0"
] | 2 | 2020-09-10T12:04:50.000Z | 2020-09-18T19:27:51.000Z | print_system.py | siahuat0727/torchio | fc33ea9bd21dc60ba6c5fed46ca96ef63cae2179 | [
"Apache-2.0"
] | 2 | 2021-05-20T21:23:06.000Z | 2021-05-20T21:23:28.000Z | print_system.py | siahuat0727/torchio | fc33ea9bd21dc60ba6c5fed46ca96ef63cae2179 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
import sys
import platform
import torchio
import torch
import numpy
print('Platform:', platform.platform())
print('TorchIO: ', torchio.__version__)
print('PyTorch: ', torch.__version__)
print('NumPy: ', numpy.__version__)
print('Python: ', sys.version)
| 19.5 | 39 | 0.739927 | 32 | 273 | 5.9375 | 0.375 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004149 | 0.117216 | 273 | 13 | 40 | 21 | 0.784232 | 0.043956 | 0 | 0 | 0 | 0 | 0.173745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
76d63913ace89026ab273c7a60d0829853f7db31 | 490 | py | Python | Python_exercises/ex34.py | StephenTanksley/Python_THW | 0cf34d29cd8c6961385fc2da17ec64edd43c00e9 | [
"MIT"
] | 1 | 2020-05-21T23:20:14.000Z | 2020-05-21T23:20:14.000Z | Python_exercises/ex34.py | StephenTanksley/Python_THW | 0cf34d29cd8c6961385fc2da17ec64edd43c00e9 | [
"MIT"
] | null | null | null | Python_exercises/ex34.py | StephenTanksley/Python_THW | 0cf34d29cd8c6961385fc2da17ec64edd43c00e9 | [
"MIT"
] | null | null | null | animals = ['bear', 'python3.8', 'peacock', 'kangaroo', 'whale', 'platypus']
print("The animal at 1: ", animals[1]) # Python3.8
print("The third animal: ", animals[2]) # Peacock
print("The first animal: ", animals[0]) # bear
print("The animal at 3: ", animals[3]) # kangaroo
print("The fifth (5th) animal: ", animals... | 44.545455 | 75 | 0.638776 | 71 | 490 | 4.408451 | 0.338028 | 0.204473 | 0.178914 | 0.204473 | 0.300319 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043796 | 0.161224 | 490 | 10 | 76 | 49 | 0.717762 | 0.122449 | 0 | 0 | 0 | 0 | 0.458432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.888889 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
76e0cd583d271e44a01529811692ff6c654bd045 | 205 | py | Python | test/test_delete_group.py | ekorolevskaya/zadanie | 183f233cba19cadd7cc46f812689a48b90e8131d | [
"Apache-2.0"
] | null | null | null | test/test_delete_group.py | ekorolevskaya/zadanie | 183f233cba19cadd7cc46f812689a48b90e8131d | [
"Apache-2.0"
] | null | null | null | test/test_delete_group.py | ekorolevskaya/zadanie | 183f233cba19cadd7cc46f812689a48b90e8131d | [
"Apache-2.0"
] | null | null | null | #занятие 2
#задание 6
from model.group import Group
def test_delete_group(app):
if app.group.count() == 0:
app.group.create(Group(name="test_delete_group"))
app.group.delete_first_group()
| 22.777778 | 57 | 0.712195 | 32 | 205 | 4.375 | 0.5625 | 0.171429 | 0.214286 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017442 | 0.160976 | 205 | 8 | 58 | 25.625 | 0.796512 | 0.087805 | 0 | 0 | 0 | 0 | 0.091892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
76e608f0fd23f64a9b109e67089edd53d9ce59c5 | 238 | py | Python | src/rendere/eml/eml_utils.py | PASTAplus/rendere | 63cc5effae4118fa20545339c2f0b0ebbee35271 | [
"Apache-2.0"
] | null | null | null | src/rendere/eml/eml_utils.py | PASTAplus/rendere | 63cc5effae4118fa20545339c2f0b0ebbee35271 | [
"Apache-2.0"
] | 5 | 2021-04-01T02:12:50.000Z | 2022-03-14T01:40:58.000Z | src/rendere/eml/eml_utils.py | PASTAplus/rendere | 63cc5effae4118fa20545339c2f0b0ebbee35271 | [
"Apache-2.0"
] | 1 | 2020-09-22T21:47:31.000Z | 2020-09-22T21:47:31.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
:Mod: eml_utils
:Synopsis:
:Author:
servilla
:Created:
3/25/20
"""
import daiquiri
logger = daiquiri.getLogger(__name__)
def clean(text):
return " ".join(text.split())
| 10.347826 | 37 | 0.617647 | 30 | 238 | 4.733333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.193277 | 238 | 22 | 38 | 10.818182 | 0.708333 | 0.487395 | 0 | 0 | 0 | 0 | 0.00885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
76fa8987fd48aa34a9a6fd856108a21e055a2e30 | 85 | py | Python | templates/django_app_name/api/urls.py | luiscberrocal/django_ansible_config | 0eca2c7a7d7a515efbd143a7b33334f9a0c2f2c5 | [
"MIT"
] | null | null | null | templates/django_app_name/api/urls.py | luiscberrocal/django_ansible_config | 0eca2c7a7d7a515efbd143a7b33334f9a0c2f2c5 | [
"MIT"
] | 8 | 2021-01-04T18:15:53.000Z | 2021-03-14T13:53:31.000Z | templates/django_app_name/api/urls.py | luiscberrocal/django_ansible_config | 0eca2c7a7d7a515efbd143a7b33334f9a0c2f2c5 | [
"MIT"
] | null | null | null | from django.urls import path
app_name = "{{django_app_name}}-api"
urlpatterns = [
] | 14.166667 | 36 | 0.717647 | 12 | 85 | 4.833333 | 0.75 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 6 | 37 | 14.166667 | 0.794521 | 0 | 0 | 0 | 0 | 0 | 0.267442 | 0.267442 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a240244d94cead1460466ffb0a26ebdad798cd1 | 183 | py | Python | junk.py | EdLeafe/image_backup | 8ab6c35a063730327bc01ddf782543e991bb6c21 | [
"MIT"
] | null | null | null | junk.py | EdLeafe/image_backup | 8ab6c35a063730327bc01ddf782543e991bb6c21 | [
"MIT"
] | null | null | null | junk.py | EdLeafe/image_backup | 8ab6c35a063730327bc01ddf782543e991bb6c21 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import pyrax
ctx = pyrax.create_context(env="rax")
ctx.keyring_auth()
comp = ctx.get_client("compute", "DFW")
print "COMP", comp.list()
| 20.333333 | 39 | 0.672131 | 28 | 183 | 4.285714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.114754 | 183 | 8 | 40 | 22.875 | 0.734568 | 0.229508 | 0 | 0 | 0 | 0 | 0.122302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a3e1ff5660ac1c9438889992a80af18a96dad71 | 144 | py | Python | madprops/__init__.py | yola/drf-madprops | 83f1306548506a78fd9b44245691ef5361494ade | [
"MIT"
] | null | null | null | madprops/__init__.py | yola/drf-madprops | 83f1306548506a78fd9b44245691ef5361494ade | [
"MIT"
] | 29 | 2015-04-06T16:48:27.000Z | 2022-02-10T08:51:43.000Z | madprops/__init__.py | yola/drf-madprops | 83f1306548506a78fd9b44245691ef5361494ade | [
"MIT"
] | null | null | null | __doc__ = "DRF library to operate resource's properties as a dictionary"
__version__ = '1.1.0'
__url__ = 'https://github.com/yola/drf-madprops'
| 36 | 72 | 0.75 | 22 | 144 | 4.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023622 | 0.118056 | 144 | 3 | 73 | 48 | 0.732283 | 0 | 0 | 0 | 0 | 0 | 0.701389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a4b871aa0fe093aec04383c76c155ede4a1730b | 1,480 | py | Python | bag/run/6.py | topolphukhanh/kaggle-avazu | eda48cb74d2c38450ecc4af3eb2765b588b5b96e | [
"Apache-2.0"
] | 398 | 2015-02-25T15:13:41.000Z | 2019-04-08T09:58:42.000Z | bag/run/6.py | raincoatrun/kaggle-avazu | eda48cb74d2c38450ecc4af3eb2765b588b5b96e | [
"Apache-2.0"
] | 1 | 2017-01-02T10:57:35.000Z | 2017-01-02T10:57:35.000Z | bag/run/6.py | raincoatrun/kaggle-avazu | eda48cb74d2c38450ecc4af3eb2765b588b5b96e | [
"Apache-2.0"
] | 217 | 2015-02-25T15:19:17.000Z | 2019-03-29T09:06:57.000Z | #!/usr/bin/env python3
import argparse, subprocess, sys, os, time, socket
if len(sys.argv) == 1:
sys.argv.append('-h')
parser = argparse.ArgumentParser()
parser.add_argument('category', type=str)
parser.add_argument('size', type=str)
args = vars(parser.parse_args())
CATEGORY = args['category']
SIZE = args['size... | 40 | 196 | 0.715541 | 244 | 1,480 | 4.29918 | 0.266393 | 0.240229 | 0.185891 | 0.128694 | 0.615825 | 0.577693 | 0.551954 | 0.551954 | 0.551954 | 0.469971 | 0 | 0.010973 | 0.076351 | 1,480 | 36 | 197 | 41.111111 | 0.756401 | 0.014189 | 0 | 0.26087 | 0 | 0.26087 | 0.457476 | 0.306584 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.043478 | 0.043478 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a4c3a35b1646377bc35e2acebd1b6135b329a17 | 19 | py | Python | CS4412Fermat/which_pyqt.py | barlekow/CS4412EB-Projects | b9b90711c10148e0ccaff30ca622f2c6061b3dae | [
"MIT"
] | null | null | null | CS4412Fermat/which_pyqt.py | barlekow/CS4412EB-Projects | b9b90711c10148e0ccaff30ca622f2c6061b3dae | [
"MIT"
] | null | null | null | CS4412Fermat/which_pyqt.py | barlekow/CS4412EB-Projects | b9b90711c10148e0ccaff30ca622f2c6061b3dae | [
"MIT"
] | null | null | null | PYQT_VER = 'PYQT5'
| 9.5 | 18 | 0.684211 | 3 | 19 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.157895 | 19 | 1 | 19 | 19 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a5f8bbfdf47382e9d549641cef1ea2fd27f7b34 | 293 | py | Python | src/utils.py | Desno365/Data-Intelligence-Applications-Project | 01965790b80847f92321651d1d352537bf2859f3 | [
"MIT"
] | null | null | null | src/utils.py | Desno365/Data-Intelligence-Applications-Project | 01965790b80847f92321651d1d352537bf2859f3 | [
"MIT"
] | null | null | null | src/utils.py | Desno365/Data-Intelligence-Applications-Project | 01965790b80847f92321651d1d352537bf2859f3 | [
"MIT"
] | null | null | null | from typing import List
class Utils:
@staticmethod
def print_array(array: List) -> None:
print_string = '[ '
for element in array:
print_string += element.__str__()
print_string += ', '
print_string += ' ]'
print(print_string)
| 22.538462 | 45 | 0.56314 | 30 | 293 | 5.166667 | 0.533333 | 0.354839 | 0.206452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.334471 | 293 | 12 | 46 | 24.416667 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.020478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.3 | 0.6 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0a713851ed402a7fc3eba1e3f228004122a547e3 | 245 | py | Python | setup.py | stephanlachnit/dep5convert | 6ab22ad8cb0d159bf98dacffff3ff6dd7f34f428 | [
"CC0-1.0"
] | 1 | 2022-03-18T11:36:18.000Z | 2022-03-18T11:36:18.000Z | setup.py | stephanlachnit/dep5convert | 6ab22ad8cb0d159bf98dacffff3ff6dd7f34f428 | [
"CC0-1.0"
] | null | null | null | setup.py | stephanlachnit/dep5convert | 6ab22ad8cb0d159bf98dacffff3ff6dd7f34f428 | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/python3
# SPDX-FileCopyrightText: 2022 Stephan Lachnit <stephanlachnit@debian.org>
#
# SPDX-License-Identifier: CC0-1.0
"""
Install script for dep5convert.
"""
import setuptools
if __name__ == '__main__':
setuptools.setup()
| 14.411765 | 74 | 0.722449 | 28 | 245 | 6.035714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042654 | 0.138776 | 245 | 16 | 75 | 15.3125 | 0.758294 | 0.632653 | 0 | 0 | 0 | 0 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6a5fc986a52af8627f0c8bb467d5e6db49e494c4 | 8,077 | py | Python | tests/test_changelog.py | boborot/python-screwdrivercd | c4f1165741c8af7a47c126ee4abc5504c350a77f | [
"Apache-2.0"
] | 6 | 2019-12-31T21:49:07.000Z | 2021-06-22T21:50:32.000Z | tests/test_changelog.py | boborot/python-screwdrivercd | c4f1165741c8af7a47c126ee4abc5504c350a77f | [
"Apache-2.0"
] | 24 | 2019-11-19T00:35:14.000Z | 2021-03-27T16:55:37.000Z | tests/test_changelog.py | boborot/python-screwdrivercd | c4f1165741c8af7a47c126ee4abc5504c350a77f | [
"Apache-2.0"
] | 10 | 2019-12-09T19:14:54.000Z | 2021-10-03T06:17:52.000Z | # Copyright 2019, Oath Inc.
# Licensed under the terms of the Apache 2.0 license. See the LICENSE file in the project root for termsimport copy
import base64
import os
import stat
import unittest
from screwdrivercd.changelog.generate import changelog_contents, create_first_commit_tag_if_missing, git_tag_dates, write_... | 37.742991 | 131 | 0.679336 | 1,013 | 8,077 | 5.219151 | 0.149062 | 0.138264 | 0.111216 | 0.093248 | 0.80575 | 0.733686 | 0.688292 | 0.652355 | 0.615283 | 0.608663 | 0 | 0.015707 | 0.195989 | 8,077 | 213 | 132 | 37.920188 | 0.798429 | 0.017333 | 0 | 0.519737 | 0 | 0.006579 | 0.329846 | 0.121628 | 0 | 0 | 0 | 0 | 0.256579 | 1 | 0.065789 | false | 0 | 0.052632 | 0 | 0.125 | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a63049eb153817b9a5f9a69be149d5a574b5146 | 52 | py | Python | python/testData/intentions/PyAnnotateVariableTypeIntentionTest/notSuggestedForLocalAssignmentTargetWithAheadOfTimeAnnotation.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/PyAnnotateVariableTypeIntentionTest/notSuggestedForLocalAssignmentTargetWithAheadOfTimeAnnotation.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/PyAnnotateVariableTypeIntentionTest/notSuggestedForLocalAssignmentTargetWithAheadOfTimeAnnotation.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def func(x):
var: int
var = x
v<caret>ar | 13 | 14 | 0.5 | 10 | 52 | 2.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.365385 | 52 | 4 | 14 | 13 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a676e0785095538ac864fdfd4f16942fad3e4d5 | 1,390 | py | Python | SRC/common/IO/GUI/mousehandler.py | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 31 | 2015-04-01T15:59:36.000Z | 2022-03-18T20:21:47.000Z | SRC/common/IO/GUI/mousehandler.py | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 3 | 2015-02-06T19:30:24.000Z | 2017-05-25T14:14:31.000Z | SRC/common/IO/GUI/mousehandler.py | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 7 | 2015-01-23T15:19:22.000Z | 2021-06-09T09:03:59.000Z | # -*- python -*-
# This software was produced by NIST, an agency of the U.S. government,
# and by statute is not subject to copyright in the United States.
# Recipients of this software assume all responsibilities associated
# with its operation, modification and maintenance. However, to
# facilitate maintenance we as... | 33.902439 | 75 | 0.7 | 195 | 1,390 | 4.984615 | 0.646154 | 0.037037 | 0.018519 | 0.040123 | 0.058642 | 0.041152 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22446 | 1,390 | 40 | 76 | 34.75 | 0.90167 | 0.644604 | 0 | 0.214286 | 0 | 0 | 0.021186 | 0 | 0 | 0 | 0 | 0.025 | 0 | 0 | null | null | 0.214286 | 0.071429 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6a69479fd5e4376f55366d3a72f50374e0335625 | 442 | py | Python | databases/migrations/2021_06_22_165148_add_remember_token_column_to_one_time_services.py | jrquiles18/Kennedy-Pools | 628375c814c4b4a59fa194739ddab4ab5838d2f2 | [
"MIT"
] | null | null | null | databases/migrations/2021_06_22_165148_add_remember_token_column_to_one_time_services.py | jrquiles18/Kennedy-Pools | 628375c814c4b4a59fa194739ddab4ab5838d2f2 | [
"MIT"
] | null | null | null | databases/migrations/2021_06_22_165148_add_remember_token_column_to_one_time_services.py | jrquiles18/Kennedy-Pools | 628375c814c4b4a59fa194739ddab4ab5838d2f2 | [
"MIT"
] | null | null | null | from orator.migrations import Migration
class AddRememberTokenColumnToOneTimeServices(Migration):
def up(self):
"""
Run the migrations.
"""
with self.schema.table('one_time_services') as table:
table.string('remember_token').nullable()
def down(self):
"""
... | 23.263158 | 61 | 0.60181 | 44 | 442 | 5.931818 | 0.590909 | 0.099617 | 0.130268 | 0.16092 | 0.413793 | 0.413793 | 0.413793 | 0.413793 | 0.413793 | 0.413793 | 0 | 0 | 0.294118 | 442 | 18 | 62 | 24.555556 | 0.836538 | 0.095023 | 0 | 0.25 | 0 | 0 | 0.135977 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6a72211b8348cb21bf7525314ac466a0e748026f | 129 | py | Python | services/sidecar/src/simcore_service_sidecar/boot_mode.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 25 | 2018-04-13T12:44:12.000Z | 2022-03-12T15:01:17.000Z | services/sidecar/src/simcore_service_sidecar/boot_mode.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 2,553 | 2018-01-18T17:11:55.000Z | 2022-03-31T16:26:40.000Z | services/sidecar/src/simcore_service_sidecar/boot_mode.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 20 | 2018-01-18T19:45:33.000Z | 2022-03-29T07:08:47.000Z | # pylint: disable=global-statement
from enum import Enum
class BootMode(Enum):
CPU = "CPU"
GPU = "GPU"
MPI = "MPI"
| 14.333333 | 34 | 0.627907 | 17 | 129 | 4.764706 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248062 | 129 | 8 | 35 | 16.125 | 0.835052 | 0.248062 | 0 | 0 | 0 | 0 | 0.094737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6a785040cb7a77963f634e7e571bc08c60f33597 | 256 | py | Python | grayskull/cli/parser.py | candalfigomoro/grayskull | f35e9af1c6d86c2359387cea8343959e7a8ed34f | [
"Apache-2.0"
] | null | null | null | grayskull/cli/parser.py | candalfigomoro/grayskull | f35e9af1c6d86c2359387cea8343959e7a8ed34f | [
"Apache-2.0"
] | null | null | null | grayskull/cli/parser.py | candalfigomoro/grayskull | f35e9af1c6d86c2359387cea8343959e7a8ed34f | [
"Apache-2.0"
] | null | null | null | import re
from typing import Optional, Tuple
def parse_pkg_name_version(pkg_name: str) -> Tuple[str, Optional[str]]:
pkg = re.match(r"([a-zA-Z0-9\-_\.]+)=+([a-zA-Z0-9\-_\.]+)", pkg_name)
return map(str, pkg.groups()) if pkg else (pkg_name, None)
| 32 | 73 | 0.652344 | 44 | 256 | 3.613636 | 0.545455 | 0.176101 | 0.062893 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0181 | 0.136719 | 256 | 7 | 74 | 36.571429 | 0.701357 | 0 | 0 | 0 | 0 | 0.2 | 0.15625 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6a7f19ef1d0bcd4e19c11698f96aa3f52cf5691c | 631 | py | Python | tests/management/commands/test_generate_password.py | behconsci/django-extensions | 716832fb9fbe78c6970930b378e0c0962beccd2e | [
"MIT"
] | 1 | 2019-04-15T10:28:42.000Z | 2019-04-15T10:28:42.000Z | tests/management/commands/test_generate_password.py | behconsci/django-extensions | 716832fb9fbe78c6970930b378e0c0962beccd2e | [
"MIT"
] | null | null | null | tests/management/commands/test_generate_password.py | behconsci/django-extensions | 716832fb9fbe78c6970930b378e0c0962beccd2e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django_extensions.management.commands.generate_password import Command
def test_without_args(capsys):
generate_password = Command()
generate_password.run_from_argv(['manage.py', 'generate_password'])
out, err = capsys.readouterr()
... | 27.434783 | 75 | 0.681458 | 73 | 631 | 5.589041 | 0.479452 | 0.27451 | 0.112745 | 0.151961 | 0.5 | 0.362745 | 0.362745 | 0.362745 | 0.362745 | 0.362745 | 0 | 0.005941 | 0.199683 | 631 | 22 | 76 | 28.681818 | 0.80198 | 0.033281 | 0 | 0.285714 | 1 | 0 | 0.101974 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0.357143 | 0.142857 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6a83e777a2a7b75199f314a89482658323427266 | 1,810 | py | Python | lambda_function.py | aissa-laribi/bs4-in-lambda | 3e4b65b19aa49eca5269b7ba5ff638b70f927702 | [
"MIT"
] | null | null | null | lambda_function.py | aissa-laribi/bs4-in-lambda | 3e4b65b19aa49eca5269b7ba5ff638b70f927702 | [
"MIT"
] | null | null | null | lambda_function.py | aissa-laribi/bs4-in-lambda | 3e4b65b19aa49eca5269b7ba5ff638b70f927702 | [
"MIT"
] | null | null | null | import json
import urllib.request
from urllib.request import urlopen
from bs4 import BeautifulSoup as soup
import time
def lambda_handler(event, context):
urls = [
'https://www.yell.com/ucs/UcsSearchAction.do?scrambleSeed=631915792&keywords=fitness&location=london&pageNum=1',
'https://www.yell.com/ucs/UcsS... | 60.333333 | 117 | 0.744751 | 235 | 1,810 | 5.706383 | 0.302128 | 0.059657 | 0.089485 | 0.111857 | 0.686055 | 0.686055 | 0.686055 | 0.686055 | 0.686055 | 0.686055 | 0 | 0.069393 | 0.108287 | 1,810 | 29 | 118 | 62.413793 | 0.761462 | 0 | 0 | 0 | 0 | 0.37037 | 0.661326 | 0.01326 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.185185 | 0 | 0.222222 | 0.037037 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 3 |
6a86a67dd776e7819063c7782f6cbb9a3247a2fe | 1,007 | py | Python | mayan/apps/document_signatures/icons.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 4 | 2021-09-02T00:16:30.000Z | 2021-09-09T22:25:15.000Z | mayan/apps/document_signatures/icons.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 86 | 2021-09-01T23:53:02.000Z | 2021-09-20T02:25:10.000Z | mayan/apps/document_signatures/icons.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 70 | 2021-09-01T12:54:51.000Z | 2022-02-16T00:53:18.000Z | from mayan.apps.appearance.classes import Icon
icon_document_file_all_signature_refresh = Icon(
driver_name='fontawesome-dual', primary_symbol='file-signature',
secondary_symbol='recycle'
)
icon_document_file_all_signature_verify = Icon(
driver_name='fontawesome', symbol='file-signature'
)
icon_document_fi... | 32.483871 | 68 | 0.797418 | 121 | 1,007 | 6.214876 | 0.247934 | 0.224734 | 0.191489 | 0.299202 | 0.672872 | 0.474734 | 0.474734 | 0.474734 | 0.474734 | 0.474734 | 0 | 0 | 0.099305 | 1,007 | 30 | 69 | 33.566667 | 0.829107 | 0 | 0 | 0.172414 | 0 | 0 | 0.212512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.034483 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a876cc77a36f71213aac9afecc0ed33769a8b7b | 140 | py | Python | AnsiFmt/__init__.py | khalid151/AnsiFmt | 11e3207abd50c5c0c6e6f141cb497e41e31bc36e | [
"MIT"
] | 1 | 2021-04-21T18:21:26.000Z | 2021-04-21T18:21:26.000Z | AnsiFmt/__init__.py | khalid151/AnsiFmt | 11e3207abd50c5c0c6e6f141cb497e41e31bc36e | [
"MIT"
] | null | null | null | AnsiFmt/__init__.py | khalid151/AnsiFmt | 11e3207abd50c5c0c6e6f141cb497e41e31bc36e | [
"MIT"
] | null | null | null | """
ansifmt
ANSI escape sequence formatting for printed strings.
"""
from .fmt import *
__version__ = "0.1.0"
__author__ = "Khalid Jamal"
| 14 | 52 | 0.714286 | 18 | 140 | 5.111111 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.164286 | 140 | 9 | 53 | 15.555556 | 0.760684 | 0.435714 | 0 | 0 | 0 | 0 | 0.239437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6a9ac41acd5373e827415c42ae07235a28cbbc4b | 147 | py | Python | src/contexts/shared/domain/Response.py | parada3desu/python-ddd-template | 3da506fbef07b18777e15301e8ba94cc314c6895 | [
"MIT"
] | 2 | 2022-02-26T14:09:43.000Z | 2022-03-13T08:48:21.000Z | src/contexts/shared/domain/Response.py | parada3desu/python-ddd-example | 3da506fbef07b18777e15301e8ba94cc314c6895 | [
"MIT"
] | null | null | null | src/contexts/shared/domain/Response.py | parada3desu/python-ddd-example | 3da506fbef07b18777e15301e8ba94cc314c6895 | [
"MIT"
] | 1 | 2021-12-28T15:20:20.000Z | 2021-12-28T15:20:20.000Z | from abc import ABC, abstractmethod
class Response(ABC):
@abstractmethod
def to_primitives(self):
raise NotImplementedError()
| 13.363636 | 35 | 0.707483 | 15 | 147 | 6.866667 | 0.8 | 0.330097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 147 | 10 | 36 | 14.7 | 0.903509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6aa1c4b4be2465ddc189c48a2b7231fcdae5c2d5 | 19,500 | py | Python | nbgrader/tests/nbextensions/test_assignment_list.py | mkzia/nbgrader | 49d2d1f7c222109df8891a33d60f48134ec28724 | [
"BSD-3-Clause"
] | null | null | null | nbgrader/tests/nbextensions/test_assignment_list.py | mkzia/nbgrader | 49d2d1f7c222109df8891a33d60f48134ec28724 | [
"BSD-3-Clause"
] | 2 | 2019-06-01T19:15:14.000Z | 2019-06-03T06:17:15.000Z | nbgrader/tests/nbextensions/test_assignment_list.py | mkzia/nbgrader | 49d2d1f7c222109df8891a33d60f48134ec28724 | [
"BSD-3-Clause"
] | 2 | 2019-05-31T08:53:48.000Z | 2019-05-31T09:42:26.000Z | # -*- coding: utf-8 -*-
import pytest
import io
import os
import shutil
import time
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.common.exceptions import TimeoutException, NoSuchElemen... | 39.795918 | 154 | 0.726 | 2,710 | 19,500 | 4.936162 | 0.109594 | 0.047694 | 0.056365 | 0.044405 | 0.771548 | 0.736712 | 0.715482 | 0.670031 | 0.633774 | 0.631233 | 0 | 0.015503 | 0.156513 | 19,500 | 489 | 155 | 39.877301 | 0.797787 | 0.147487 | 0 | 0.525253 | 0 | 0 | 0.181394 | 0.043544 | 0 | 0 | 0 | 0 | 0.13468 | 1 | 0.090909 | false | 0 | 0.050505 | 0.006734 | 0.175084 | 0.006734 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6aa5b689bfe04052acb0527c36c181f4c53a56c4 | 423 | py | Python | order/migrations/0002_alter_order_table_alter_orderitem_table.py | venky-web/tailors-rest-api2 | e1402d45e8566b172ffcfd1fb4cc8954602f40e4 | [
"MIT"
] | null | null | null | order/migrations/0002_alter_order_table_alter_orderitem_table.py | venky-web/tailors-rest-api2 | e1402d45e8566b172ffcfd1fb4cc8954602f40e4 | [
"MIT"
] | null | null | null | order/migrations/0002_alter_order_table_alter_orderitem_table.py | venky-web/tailors-rest-api2 | e1402d45e8566b172ffcfd1fb4cc8954602f40e4 | [
"MIT"
] | null | null | null | # Generated by Django 4.0 on 2022-01-12 17:06
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('order', '0001_initial'),
]
operations = [
migrations.AlterModelTable(
name='order',
table='t_order',
),
migrat... | 19.227273 | 45 | 0.553191 | 40 | 423 | 5.75 | 0.7 | 0.217391 | 0.252174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.333333 | 423 | 21 | 46 | 20.142857 | 0.751773 | 0.101655 | 0 | 0.266667 | 1 | 0 | 0.132275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6ab79539e8e0f876a6a1c54c927c1f442962bb09 | 392 | py | Python | app/python-scripts/turnoffalllight.py | mathiasostenfeldt/raspi_api | 8f1d54bd7f68b2692be2339cdb7111c130daae49 | [
"MIT"
] | null | null | null | app/python-scripts/turnoffalllight.py | mathiasostenfeldt/raspi_api | 8f1d54bd7f68b2692be2339cdb7111c130daae49 | [
"MIT"
] | null | null | null | app/python-scripts/turnoffalllight.py | mathiasostenfeldt/raspi_api | 8f1d54bd7f68b2692be2339cdb7111c130daae49 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import time
from grovepi import *
# Connect the Grove LED to digital port D4
led = 4
if digitalRead(led) == 1:
pinMode(led,"OUTPUT")
digitalWrite(led,0)
led = 3
if digitalRead(led) == 1:
pinMode(led,"OUTPUT")
digitalWrite(led,0)
led = 2
if digitalRead(led) == 1:
pinMode(led... | 19.6 | 61 | 0.647959 | 59 | 392 | 4.305085 | 0.508475 | 0.153543 | 0.188976 | 0.200787 | 0.602362 | 0.602362 | 0.602362 | 0.602362 | 0.602362 | 0.602362 | 0 | 0.032895 | 0.22449 | 392 | 20 | 61 | 19.6 | 0.802632 | 0.221939 | 0 | 0.642857 | 0 | 0 | 0.059406 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6ab7e67637f4f190c75604d533eba1bb36b09536 | 102 | py | Python | src/test/pythonFiles/terminalExec/sample2_raw.py | ChaseKnowlden/vscode-jupyter | 9bdaf87f0b6dcd717c508e9023350499a6093f97 | [
"MIT"
] | 2,461 | 2016-01-21T16:40:43.000Z | 2022-03-31T12:01:55.000Z | src/test/pythonFiles/terminalExec/sample2_raw.py | ChaseKnowlden/vscode-jupyter | 9bdaf87f0b6dcd717c508e9023350499a6093f97 | [
"MIT"
] | 12,536 | 2019-05-06T21:26:14.000Z | 2022-03-31T23:06:48.000Z | src/test/pythonFiles/terminalExec/sample2_raw.py | vasili8m/vscode-python | 846eee870e8b7bab38172600836faedb5fb80166 | [
"MIT"
] | 871 | 2019-05-15T13:43:55.000Z | 2022-03-31T03:04:35.000Z | def add(x, y):
"""Adds x to y"""
# Some comment
return x + y
v = add(1, 7)
print(v)
| 11.333333 | 21 | 0.460784 | 19 | 102 | 2.473684 | 0.684211 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.362745 | 102 | 8 | 22 | 12.75 | 0.692308 | 0.245098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6ac7d4f8560de448d7c4f6e9a2f32e3ca25b82c5 | 9,636 | py | Python | tests/rule_based_profiler/test_profiler_user_workflows.py | OmriBromberg/great_expectations | 60eb81ebfb08fef5d37d55c316dc962928beb165 | [
"Apache-2.0"
] | 1 | 2021-04-11T20:54:23.000Z | 2021-04-11T20:54:23.000Z | tests/rule_based_profiler/test_profiler_user_workflows.py | OmriBromberg/great_expectations | 60eb81ebfb08fef5d37d55c316dc962928beb165 | [
"Apache-2.0"
] | 6 | 2020-07-16T19:11:07.000Z | 2020-10-27T00:47:01.000Z | tests/rule_based_profiler/test_profiler_user_workflows.py | OmriBromberg/great_expectations | 60eb81ebfb08fef5d37d55c316dc962928beb165 | [
"Apache-2.0"
] | 1 | 2021-12-23T13:37:32.000Z | 2021-12-23T13:37:32.000Z | import datetime
from typing import Any, Dict, List, cast
import numpy as np
import pandas as pd
import pytest
from freezegun import freeze_time
from packaging import version
from ruamel.yaml import YAML
from great_expectations import DataContext
from great_expectations.core import ExpectationSuite
from great_expectat... | 34.661871 | 118 | 0.74616 | 1,149 | 9,636 | 5.753699 | 0.165361 | 0.064892 | 0.051732 | 0.066102 | 0.757223 | 0.72455 | 0.710936 | 0.699743 | 0.645742 | 0.613069 | 0 | 0.019495 | 0.190847 | 9,636 | 277 | 119 | 34.787004 | 0.828396 | 0.091428 | 0 | 0.429245 | 0 | 0 | 0.15351 | 0.110012 | 0 | 0 | 0 | 0 | 0.042453 | 1 | 0.023585 | false | 0 | 0.070755 | 0 | 0.09434 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6ad9da19c90366ebcbf77ae99947d96c1ead96ea | 284 | py | Python | HP Games/start.py | SidneyCodes/textgames | 03df697645fae66732cb406d7b31e1e270415c69 | [
"MIT"
] | null | null | null | HP Games/start.py | SidneyCodes/textgames | 03df697645fae66732cb406d7b31e1e270415c69 | [
"MIT"
] | null | null | null | HP Games/start.py | SidneyCodes/textgames | 03df697645fae66732cb406d7b31e1e270415c69 | [
"MIT"
] | null | null | null | name = 'snape'
print(name+name+str(7))
age = 11
wizard_age_multiplier = 56
final_age = age * wizard_age_multiplier
print(f'You are {age} which means you are {final_age} in wizard years')
print('You are ' + str(age) + ' which means you are ' + str(final_age) + ' in wizard years') | 23.666667 | 92 | 0.697183 | 48 | 284 | 3.979167 | 0.375 | 0.125654 | 0.198953 | 0.167539 | 0.418848 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.172535 | 284 | 12 | 92 | 23.666667 | 0.791489 | 0 | 0 | 0 | 0 | 0 | 0.389474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6ae32b8942e3c8e339e70e95b63b170769849d9a | 26 | py | Python | __init__.py | LandRegistry/mint-api | 4b2bba2df91c0d4d637e8cca8b2f41d9451cd08e | [
"MIT"
] | null | null | null | __init__.py | LandRegistry/mint-api | 4b2bba2df91c0d4d637e8cca8b2f41d9451cd08e | [
"MIT"
] | null | null | null | __init__.py | LandRegistry/mint-api | 4b2bba2df91c0d4d637e8cca8b2f41d9451cd08e | [
"MIT"
] | 1 | 2021-04-11T05:24:54.000Z | 2021-04-11T05:24:54.000Z | __author__ = 'aronjasper'
| 13 | 25 | 0.769231 | 2 | 26 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a75357caefcb565982e153b43631ccbc846db5c | 64 | py | Python | gen/java/__init__.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | gen/java/__init__.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | gen/java/__init__.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | ## @file
## @defgroup java java
## @brief Java
## @ingroup gen
| 10.666667 | 22 | 0.609375 | 8 | 64 | 4.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203125 | 64 | 5 | 23 | 12.8 | 0.764706 | 0.78125 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0aad477ebe0dc50a4b9f10f68d5ec49af5c6d106 | 461 | py | Python | server/chapters/migrations/0014_auto_20200920_0131.py | nickdotreid/opioid-mat-decision-aid | bbc2a0d8931d59cd6ab64b0b845e88c8dc1af5d1 | [
"MIT"
] | null | null | null | server/chapters/migrations/0014_auto_20200920_0131.py | nickdotreid/opioid-mat-decision-aid | bbc2a0d8931d59cd6ab64b0b845e88c8dc1af5d1 | [
"MIT"
] | 27 | 2018-09-30T07:59:21.000Z | 2020-11-05T19:25:41.000Z | server/chapters/migrations/0014_auto_20200920_0131.py | nickdotreid/opioid-mat-decision-aid | bbc2a0d8931d59cd6ab64b0b845e88c8dc1af5d1 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.1 on 2020-09-20 01:31
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('chapters', '0013_auto_20200920_0042'),
]
operations = [
migrations.RemoveField(
model_name='orderablecontent',
name='content... | 20.954545 | 48 | 0.587852 | 44 | 461 | 6 | 0.727273 | 0.159091 | 0.19697 | 0.227273 | 0.378788 | 0.378788 | 0 | 0 | 0 | 0 | 0 | 0.096875 | 0.305857 | 461 | 21 | 49 | 21.952381 | 0.728125 | 0.097614 | 0 | 0.4 | 1 | 0 | 0.202899 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0ab5f0c75defb0a1ff93b21a45295a57c8bfaf0b | 21,030 | py | Python | cloudify_aws/common/tests/test_decorators.py | marrowne/cloudify-aws-plugin | e75506f29048c666aeed20ade8a5a8cdfb6f2adf | [
"Apache-2.0"
] | null | null | null | cloudify_aws/common/tests/test_decorators.py | marrowne/cloudify-aws-plugin | e75506f29048c666aeed20ade8a5a8cdfb6f2adf | [
"Apache-2.0"
] | null | null | null | cloudify_aws/common/tests/test_decorators.py | marrowne/cloudify-aws-plugin | e75506f29048c666aeed20ade8a5a8cdfb6f2adf | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2018 Cloudify Platform Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | 35.583756 | 79 | 0.564622 | 2,093 | 21,030 | 5.267559 | 0.085045 | 0.069841 | 0.045986 | 0.031927 | 0.794467 | 0.763447 | 0.722721 | 0.68127 | 0.65161 | 0.636735 | 0 | 0.000564 | 0.32544 | 21,030 | 590 | 80 | 35.644068 | 0.776611 | 0.055777 | 0 | 0.687646 | 0 | 0 | 0.143434 | 0.011814 | 0 | 0 | 0 | 0 | 0.100233 | 1 | 0.058275 | false | 0.013986 | 0.013986 | 0.004662 | 0.083916 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0ab9a4058746dfbfe05f8161b4d13dccfbe38ea4 | 224 | py | Python | rameniaapp/models/models.py | awlane/ramenia | 6bf8e75a1f279ac584daa4ee19927ffccaa67551 | [
"MIT"
] | null | null | null | rameniaapp/models/models.py | awlane/ramenia | 6bf8e75a1f279ac584daa4ee19927ffccaa67551 | [
"MIT"
] | null | null | null | rameniaapp/models/models.py | awlane/ramenia | 6bf8e75a1f279ac584daa4ee19927ffccaa67551 | [
"MIT"
] | null | null | null | from django.db import models
from .badge import *
from .noodle import *
from .profile import *
from .report import *
from .review import *
from .tag import *
from .edit import *
from .list import *
from .actionhook import *
| 20.363636 | 28 | 0.736607 | 32 | 224 | 5.15625 | 0.4375 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 224 | 10 | 29 | 22.4 | 0.896739 | 0 | 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 | 0 | 0 | 0 | 3 |
0ad1e796aba271c504a0f765c4668f89230e6fba | 773 | py | Python | documentation/pysa_tutorial/exercise2/views.py | joehendrix/pyre-check | 23693455b1e0b4a7287efba9337be6bbfe23ada4 | [
"MIT"
] | 1 | 2022-02-10T10:51:32.000Z | 2022-02-10T10:51:32.000Z | documentation/pysa_tutorial/exercise2/views.py | joehendrix/pyre-check | 23693455b1e0b4a7287efba9337be6bbfe23ada4 | [
"MIT"
] | null | null | null | documentation/pysa_tutorial/exercise2/views.py | joehendrix/pyre-check | 23693455b1e0b4a7287efba9337be6bbfe23ada4 | [
"MIT"
] | null | null | null | # Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import subprocess
from django.http import HttpRequest, HttpResponse
def operate_on_twos(request: HttpRequest) -> HttpResponse:
operat... | 23.424242 | 65 | 0.717982 | 100 | 773 | 5.49 | 0.53 | 0.167577 | 0.065574 | 0.20765 | 0.285975 | 0.204007 | 0.204007 | 0 | 0 | 0 | 0 | 0.019078 | 0.186287 | 773 | 32 | 66 | 24.15625 | 0.853736 | 0.248383 | 0 | 0.357143 | 0 | 0 | 0.139373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0ad7fc55d4940fa15187d67c622b01954677cf27 | 377 | py | Python | nova-core/plugins/command_not_found_plugin.py | jmcrumb/open-virtual-assistant | 6d02d0f61f3d7ae8b8c101c5b8c5b5cafd299ffa | [
"MIT"
] | null | null | null | nova-core/plugins/command_not_found_plugin.py | jmcrumb/open-virtual-assistant | 6d02d0f61f3d7ae8b8c101c5b8c5b5cafd299ffa | [
"MIT"
] | 2 | 2022-02-04T18:44:30.000Z | 2022-03-17T04:04:12.000Z | nova-core/plugins/command_not_found_plugin.py | jmcrumb/open-virtual-assistant | 6d02d0f61f3d7ae8b8c101c5b8c5b5cafd299ffa | [
"MIT"
] | null | null | null | from core.abstract_plugin import NovaPlugin
class CommandNotFoundPlugin(NovaPlugin):
def get_keywords(self) -> list:
return []
def execute(self, command: str) -> str:
return 'I\'m sorry, I don\'t understand'
def help_command(self, command: str) -> str:
return 'This command is use... | 31.416667 | 92 | 0.681698 | 53 | 377 | 4.792453 | 0.679245 | 0.086614 | 0.110236 | 0.133858 | 0.181102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228117 | 377 | 12 | 92 | 31.416667 | 0.872852 | 0 | 0 | 0 | 0 | 0 | 0.23545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0ae123a35de0d81300e3d735e1d64f23727428f9 | 271 | py | Python | backend/models/contact_submission.py | heholek/flask-unchained-react-spa | 56d71f39203edf8226b2a6de6b1f8379eb5c011a | [
"MIT"
] | 5 | 2018-10-15T15:33:32.000Z | 2021-01-13T23:03:48.000Z | backend/models/contact_submission.py | briancappello/flask-unchained-react-spa | 5aaac045f4537660bebd9814c5e91166cdb17ead | [
"MIT"
] | 15 | 2018-10-15T20:14:21.000Z | 2022-03-15T19:15:09.000Z | backend/models/contact_submission.py | heholek/flask-unchained-react-spa | 56d71f39203edf8226b2a6de6b1f8379eb5c011a | [
"MIT"
] | 4 | 2018-10-15T15:59:25.000Z | 2020-04-11T17:48:35.000Z | from flask_unchained.bundles.sqlalchemy import db
class ContactSubmission(db.Model):
name = db.Column(db.String(64), info=dict(required=True))
email = db.Column(db.String(64), info=dict(required=True))
message = db.Column(db.Text, info=dict(required=True))
| 33.875 | 62 | 0.734317 | 40 | 271 | 4.95 | 0.525 | 0.121212 | 0.151515 | 0.30303 | 0.383838 | 0.383838 | 0.383838 | 0.383838 | 0.383838 | 0 | 0 | 0.016736 | 0.118081 | 271 | 7 | 63 | 38.714286 | 0.811715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7c20924ecf823a77847885f4a7e5e708d683144e | 1,414 | py | Python | scienco/indexes/constants.py | amalchuk/scienco | e5e21a09c6e8412aa7b898ceffb05d8a626fe0e7 | [
"MIT"
] | 1 | 2020-09-28T09:34:20.000Z | 2020-09-28T09:34:20.000Z | scienco/indexes/constants.py | amalchuk/scienco | e5e21a09c6e8412aa7b898ceffb05d8a626fe0e7 | [
"MIT"
] | null | null | null | scienco/indexes/constants.py | amalchuk/scienco | e5e21a09c6e8412aa7b898ceffb05d8a626fe0e7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from typing import Final, Tuple
from scienco.types import FloatEnum
__all__: Final[Tuple[str, ...]] = ("ARI_EN", "ARI_RU", "CLI_EN", "CLI_RU", "FRES_EN", "FRES_RU")
class FRES_EN(FloatEnum):
"""
Flesch-Kincaid score constants for english language.
"""
X_GRADE: Final[float] =... | 22.806452 | 96 | 0.638614 | 203 | 1,414 | 4.280788 | 0.315271 | 0.207135 | 0.310702 | 0.131185 | 0.614499 | 0.497123 | 0.319908 | 0.319908 | 0.220944 | 0 | 0 | 0.064722 | 0.224187 | 1,414 | 61 | 97 | 23.180328 | 0.727438 | 0.247525 | 0 | 0 | 0 | 0 | 0.039054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.074074 | 0 | 0.962963 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c2b691598487e99aa50ceab8e852ebee335360e | 4,594 | py | Python | havashi/settings.py | alitayebi/havashi | 7720ffb4ff0db093ea505ff5a64355fd54a7d8e0 | [
"MIT"
] | null | null | null | havashi/settings.py | alitayebi/havashi | 7720ffb4ff0db093ea505ff5a64355fd54a7d8e0 | [
"MIT"
] | null | null | null | havashi/settings.py | alitayebi/havashi | 7720ffb4ff0db093ea505ff5a64355fd54a7d8e0 | [
"MIT"
] | null | null | null | """
Django settings for havashi project.
Generated by 'django-admin startproject' using Django 4.0.4.
For more information on this file, see
https://docs.djangoproject.com/en/4.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/4.0/ref/settings/
"""
import os.pat... | 30.423841 | 118 | 0.71441 | 536 | 4,594 | 6.007463 | 0.416045 | 0.068634 | 0.054658 | 0.062112 | 0.143789 | 0.143789 | 0.095342 | 0.095342 | 0.049689 | 0 | 0 | 0.030334 | 0.153243 | 4,594 | 150 | 119 | 30.626667 | 0.797429 | 0.301263 | 0 | 0 | 1 | 0.011765 | 0.555521 | 0.443536 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.070588 | 0.023529 | 0 | 0.023529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
7c2c4d7aca23708a243592f2dae27253f0b09fb4 | 537 | py | Python | scanpy/preprocessing/__init__.py | mkmkryu/scanpy2 | f3db32a142dc31c1b628380db1c969a6d0b9dc3a | [
"BSD-3-Clause"
] | 1,171 | 2017-01-17T14:01:02.000Z | 2022-03-31T23:02:57.000Z | scanpy/preprocessing/__init__.py | mkmkryu/scanpy2 | f3db32a142dc31c1b628380db1c969a6d0b9dc3a | [
"BSD-3-Clause"
] | 1,946 | 2017-01-22T10:19:04.000Z | 2022-03-31T17:13:03.000Z | scanpy/preprocessing/__init__.py | mkmkryu/scanpy2 | f3db32a142dc31c1b628380db1c969a6d0b9dc3a | [
"BSD-3-Clause"
] | 499 | 2017-01-21T11:39:29.000Z | 2022-03-23T13:57:35.000Z | from ._recipes import recipe_zheng17, recipe_weinreb17, recipe_seurat
from ._simple import filter_cells, filter_genes
from ._deprecated.highly_variable_genes import filter_genes_dispersion
from ._highly_variable_genes import highly_variable_genes
from ._simple import log1p, sqrt, scale, subsample
from ._simple import n... | 41.307692 | 71 | 0.862197 | 73 | 537 | 5.931507 | 0.465753 | 0.069284 | 0.110855 | 0.115473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010331 | 0.098696 | 537 | 12 | 72 | 44.75 | 0.884298 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7c3a1b89602c998d460c9d081310337ca9409174 | 137 | py | Python | python/requests/param_stream.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | null | null | null | python/requests/param_stream.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | 1 | 2016-09-15T07:06:15.000Z | 2016-09-15T07:06:15.000Z | python/requests/param_stream.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import requests
response = requests.get('http://httbin.org/get', stream = True)
print(response.headers)
| 17.125 | 64 | 0.693431 | 18 | 137 | 5.277778 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.153285 | 137 | 7 | 65 | 19.571429 | 0.810345 | 0.153285 | 0 | 0 | 0 | 0 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7c3b44b9ce106226613bfd77ed970f06fe266a13 | 334 | py | Python | djstripe/forms.py | TigerDX/dj-stripe | 2fd4897abaedf2d9faa3dd5af86402dae3ab86a3 | [
"BSD-3-Clause"
] | null | null | null | djstripe/forms.py | TigerDX/dj-stripe | 2fd4897abaedf2d9faa3dd5af86402dae3ab86a3 | [
"BSD-3-Clause"
] | null | null | null | djstripe/forms.py | TigerDX/dj-stripe | 2fd4897abaedf2d9faa3dd5af86402dae3ab86a3 | [
"BSD-3-Clause"
] | 1 | 2021-08-30T10:51:49.000Z | 2021-08-30T10:51:49.000Z | # -*- coding: utf-8 -*-
"""
.. module:: djstripe.forms
:synopsis: dj-stripe Forms.
.. moduleauthor:: Daniel Greenfeld (@pydanny)
"""
from django import forms
from .settings import PLAN_CHOICES
class PlanForm(forms.Form):
plan = forms.ChoiceField(choices=PLAN_CHOICES)
class CancelSubscriptionForm(forms.Fo... | 15.904762 | 50 | 0.706587 | 38 | 334 | 6.157895 | 0.657895 | 0.094017 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003559 | 0.158683 | 334 | 20 | 51 | 16.7 | 0.829181 | 0.38024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
7c3d8c8f718a4e1601df26d5e80173ad316b4e05 | 168 | py | Python | plotly_django_tutorial/home/urls.py | HarishOsthe/ValueStream-Webpage | 9b6a8415ab1ff4a446f6a4d3e84d032a197085a5 | [
"MIT"
] | null | null | null | plotly_django_tutorial/home/urls.py | HarishOsthe/ValueStream-Webpage | 9b6a8415ab1ff4a446f6a4d3e84d032a197085a5 | [
"MIT"
] | 1 | 2020-02-10T02:32:54.000Z | 2020-02-22T13:30:38.000Z | plotly_django_tutorial/home/urls.py | HarishOsthe/ValueStream-Webpage | 9b6a8415ab1ff4a446f6a4d3e84d032a197085a5 | [
"MIT"
] | null | null | null | from django.urls import path, include
from . import views
from home.dash_apps.finished_apps import simpleexample
urlpatterns = [
path('',views.home,name='home'),
] | 24 | 54 | 0.755952 | 23 | 168 | 5.434783 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 168 | 7 | 55 | 24 | 0.856164 | 0 | 0 | 0 | 0 | 0 | 0.023669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7c3f1173f33a475e92135a8d1ee60bbdd6a4ebe4 | 871 | py | Python | token_dictionary/alphabet.py | sobamchan/jp_character_tokenizer | c4684dffc7e98663bf42896fd16de014e784f35d | [
"MIT"
] | null | null | null | token_dictionary/alphabet.py | sobamchan/jp_character_tokenizer | c4684dffc7e98663bf42896fd16de014e784f35d | [
"MIT"
] | 2 | 2017-01-07T04:34:48.000Z | 2017-01-07T10:35:33.000Z | token_dictionary/alphabet.py | sobamchan/jp_character_tokenizer | c4684dffc7e98663bf42896fd16de014e784f35d | [
"MIT"
] | null | null | null | alphabet_dict = {
'a': 1,
'b': 2,
'c': 3,
'd': 4,
'e': 5,
'f': 6,
'g': 7,
'h': 8,
'i': 9,
'j': 10,
'k': 11,
'l': 12,
'm': 13,
'n': 14,
'o': 15,
'p': 16,
'q': 17,
'r': 18,
's': 19,
't': 20,
'u': 21,
'v': 22,
'w': 23,
'x': 24,... | 12.623188 | 17 | 0.197474 | 103 | 871 | 1.650485 | 0.912621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280255 | 0.459242 | 871 | 68 | 18 | 12.808824 | 0.080679 | 0 | 0 | 0 | 0 | 0 | 0.078071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c54822e5cb3ec8b0e152deb40656bc9ccd7967b | 97 | py | Python | pylie/info.py | MD-Studio/MDStudio_pylie | 9ac0ce81fd38d908ad2ff5b06ad8d09ee660337c | [
"Apache-2.0"
] | 1 | 2018-07-08T13:57:09.000Z | 2018-07-08T13:57:09.000Z | pylie/info.py | MD-Studio/MDStudio_pylie | 9ac0ce81fd38d908ad2ff5b06ad8d09ee660337c | [
"Apache-2.0"
] | 1 | 2018-08-09T15:50:29.000Z | 2018-08-10T09:09:28.000Z | pylie/info.py | MD-Studio/MDStudio_pylie | 9ac0ce81fd38d908ad2ff5b06ad8d09ee660337c | [
"Apache-2.0"
] | null | null | null |
info = """
pylie: a Pandas extension for LIE analysis
version: {version}
author: {author}
"""
| 12.125 | 42 | 0.670103 | 12 | 97 | 5.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185567 | 97 | 7 | 43 | 13.857143 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c681a164cf9c486a564344a49848944b627217c | 1,092 | py | Python | cognitive_skills/migrations/0004_auto_20210802_0623.py | rohansroy/cognition | 9784177df13409414a80719abec69ec2dee0beb7 | [
"MIT"
] | null | null | null | cognitive_skills/migrations/0004_auto_20210802_0623.py | rohansroy/cognition | 9784177df13409414a80719abec69ec2dee0beb7 | [
"MIT"
] | null | null | null | cognitive_skills/migrations/0004_auto_20210802_0623.py | rohansroy/cognition | 9784177df13409414a80719abec69ec2dee0beb7 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.5 on 2021-08-02 06:23
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('cognitive_skills', '0003_auto_20210802_0053'),
]
operations = [
migrations.AlterField(
model_name='result',
name='av... | 28 | 58 | 0.583333 | 98 | 1,092 | 6.326531 | 0.438776 | 0.16129 | 0.201613 | 0.233871 | 0.664516 | 0.664516 | 0.601613 | 0.517742 | 0.440323 | 0.440323 | 0 | 0.041169 | 0.31044 | 1,092 | 38 | 59 | 28.736842 | 0.782205 | 0.041209 | 0 | 0.59375 | 1 | 0 | 0.148325 | 0.082297 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c8870b402acca912d8d2453482d9a91251dd009 | 555 | py | Python | qcloudsdkwenzhi/TextSentimentRequest.py | f3n9/qcloudcli | b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19 | [
"Apache-2.0"
] | null | null | null | qcloudsdkwenzhi/TextSentimentRequest.py | f3n9/qcloudcli | b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19 | [
"Apache-2.0"
] | null | null | null | qcloudsdkwenzhi/TextSentimentRequest.py | f3n9/qcloudcli | b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from qcloudsdkcore.request import Request
class TextSentimentRequest(Request):
def __init__(self):
super(TextSentimentRequest, self).__init__(
'wenzhi', 'qcloudcliV1', 'TextSentiment', 'wenzhi.api.qcloud.com')
def get_content(self):
return self.get_params(... | 25.227273 | 78 | 0.65045 | 65 | 555 | 5.307692 | 0.415385 | 0.095652 | 0.081159 | 0.098551 | 0.150725 | 0.150725 | 0 | 0 | 0 | 0 | 0 | 0.004556 | 0.209009 | 555 | 21 | 79 | 26.428571 | 0.781321 | 0.037838 | 0 | 0 | 0 | 0 | 0.137218 | 0.039474 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.076923 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7ca23d16d1b6ccce183f339155be5ba1f192c918 | 11,203 | py | Python | teedoc/plugin.py | tyhdefu/teedoc | 4a4b4f29e4db73a1d03365ce68b7594917f13fc6 | [
"MIT"
] | 29 | 2021-02-05T10:00:45.000Z | 2022-03-30T06:42:15.000Z | teedoc/plugin.py | tyhdefu/teedoc | 4a4b4f29e4db73a1d03365ce68b7594917f13fc6 | [
"MIT"
] | 13 | 2021-08-06T03:39:31.000Z | 2022-03-29T10:39:53.000Z | teedoc/plugin.py | tyhdefu/teedoc | 4a4b4f29e4db73a1d03365ce68b7594917f13fc6 | [
"MIT"
] | 4 | 2021-02-23T08:31:35.000Z | 2022-03-06T20:10:44.000Z | from .logger import Fake_Logger
import os
from collections import OrderedDict
import tempfile
import shutil
class Plugin_Base:
'''
call sequence:
__init__
on_init
(for parse in docs/pages/blog)
on_parse_start
on_add_html_header_items
... | 37.976271 | 135 | 0.460055 | 1,169 | 11,203 | 4.271172 | 0.246364 | 0.018025 | 0.030443 | 0.025235 | 0.347887 | 0.301021 | 0.267975 | 0.248748 | 0.237533 | 0.22151 | 0 | 0.004776 | 0.439257 | 11,203 | 294 | 136 | 38.105442 | 0.786374 | 0.559582 | 0 | 0.214286 | 0 | 0 | 0.025541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.314286 | false | 0.085714 | 0.071429 | 0.028571 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
7ca9cf4750da6f73f201c05a16e3e2a2e0ecb406 | 121 | py | Python | tests/data/mock-psi4-1.4rc2-2e539a93de20c9dd9464f293bb8bcc85/input.py | ltalirz/aiida-psi4 | 637e6b0b29e724a158014269d55d9091c6af48c7 | [
"MIT"
] | 1 | 2021-07-10T00:40:38.000Z | 2021-07-10T00:40:38.000Z | tests/data/mock-psi4-1.4rc2-2e539a93de20c9dd9464f293bb8bcc85/input.py | ltalirz/aiida-psi4 | 637e6b0b29e724a158014269d55d9091c6af48c7 | [
"MIT"
] | null | null | null | tests/data/mock-psi4-1.4rc2-2e539a93de20c9dd9464f293bb8bcc85/input.py | ltalirz/aiida-psi4 | 637e6b0b29e724a158014269d55d9091c6af48c7 | [
"MIT"
] | null | null | null |
import psi4
psi4.geometry("""
Ne
Ne 1 3.0
""")
psi4.set_options({"freeze_core": "True"})
psi4.energy("ccsd(t)/cc-pvtz")
| 13.444444 | 41 | 0.661157 | 21 | 121 | 3.714286 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06422 | 0.099174 | 121 | 8 | 42 | 15.125 | 0.651376 | 0 | 0 | 0 | 0 | 0 | 0.358333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7caade04841b277b85b3699cac28bbf865cff43e | 2,458 | py | Python | lib/exabgp/bgp/message/update/eor.py | criteo-forks/exabgp | 52ad73c53a5f1396dbf8d34c627f21db6906a737 | [
"BSD-3-Clause"
] | 27 | 2015-01-05T17:28:13.000Z | 2021-08-05T01:30:04.000Z | lib/exabgp/bgp/message/update/eor.py | criteo-forks/exabgp | 52ad73c53a5f1396dbf8d34c627f21db6906a737 | [
"BSD-3-Clause"
] | 1 | 2015-05-10T18:02:04.000Z | 2015-05-10T18:07:06.000Z | lib/exabgp/bgp/message/update/eor.py | criteo-forks/exabgp | 52ad73c53a5f1396dbf8d34c627f21db6906a737 | [
"BSD-3-Clause"
] | 2 | 2015-01-26T06:11:38.000Z | 2020-01-09T15:13:12.000Z | # encoding: utf-8
"""
eor.py
Created by Thomas Mangin on 2010-01-16.
Copyright (c) 2009-2017 Exa Networks. All rights reserved.
License: 3-clause BSD. (See the COPYRIGHT file)
"""
# from struct import unpack
import sys
from exabgp.protocol.family import AFI
from exabgp.protocol.family import SAFI
from exabgp.bgp.mes... | 31.512821 | 109 | 0.593979 | 325 | 2,458 | 4.369231 | 0.350769 | 0.049296 | 0.03662 | 0.042254 | 0.235915 | 0.087324 | 0.053521 | 0.053521 | 0.053521 | 0.053521 | 0 | 0.027655 | 0.264443 | 2,458 | 77 | 110 | 31.922078 | 0.757743 | 0.180228 | 0 | 0.083333 | 0 | 0 | 0.053946 | 0.015984 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0 | 0.125 | 0.104167 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7cadc48ee298c7794a23d396b37d4de9c458ac87 | 6,652 | py | Python | pyglet/input/__init__.py | bitcraft/pyglet | 144257c365ca85528c6a4c5bed8141e683d7a9b6 | [
"BSD-3-Clause"
] | 15 | 2015-01-21T12:29:01.000Z | 2018-12-09T09:17:33.000Z | pyglet/input/__init__.py | bitcraft/pyglet | 144257c365ca85528c6a4c5bed8141e683d7a9b6 | [
"BSD-3-Clause"
] | null | null | null | pyglet/input/__init__.py | bitcraft/pyglet | 144257c365ca85528c6a4c5bed8141e683d7a9b6 | [
"BSD-3-Clause"
] | 9 | 2015-12-12T09:12:46.000Z | 2021-12-26T13:29:14.000Z | # ----------------------------------------------------------------------------
# pyglet
# Copyright (c) 2006-2008 Alex Holkner
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributi... | 39.360947 | 78 | 0.714221 | 935 | 6,652 | 5.038503 | 0.350802 | 0.027595 | 0.007429 | 0.006793 | 0.160051 | 0.130121 | 0.116748 | 0.116748 | 0.116748 | 0.116748 | 0 | 0.004175 | 0.207907 | 6,652 | 168 | 79 | 39.595238 | 0.889922 | 0.799308 | 0 | 0.222222 | 0 | 0 | 0.019504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.185185 | false | 0.148148 | 0.37037 | 0.037037 | 0.62963 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
7cca40e48d1b7c595b90fa907ea8dabd21640e8d | 364 | py | Python | util.py | daguar/srtracker | 667b9edeac6b0213ec095e4f1ff0c53bfe5fb5c9 | [
"BSD-3-Clause"
] | 2 | 2015-05-11T22:15:58.000Z | 2017-09-24T13:07:59.000Z | util.py | OpenTechStrategies/srtracker | c1914f36dbb50dcd0ed4b4204dbb1349458a3054 | [
"BSD-3-Clause"
] | null | null | null | util.py | OpenTechStrategies/srtracker | c1914f36dbb50dcd0ed4b4204dbb1349458a3054 | [
"BSD-3-Clause"
] | 1 | 2020-03-04T00:36:30.000Z | 2020-03-04T00:36:30.000Z | # Copyright (C) 2012, Code for America
# This is open source software, released under a standard 3-clause
# BSD-style license; see the file LICENSE for details.
import os
def bool_from_string(value):
return value in (True, 'True', 'true', 'T', 't', '1')
def bool_from_env(envvar, default=False):
return bool_f... | 30.333333 | 66 | 0.725275 | 58 | 364 | 4.448276 | 0.724138 | 0.093023 | 0.085271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019544 | 0.156593 | 364 | 11 | 67 | 33.090909 | 0.820847 | 0.423077 | 0 | 0 | 0 | 0 | 0.053398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7cdb4f6d95d35dec600c83917fe8d21234a574dd | 1,420 | py | Python | setup.py | mgorny/aiodns | cdb33385f46be1e18bc525ccb153c8abc8ac92d4 | [
"MIT"
] | 423 | 2015-01-29T20:39:45.000Z | 2022-03-29T09:12:02.000Z | setup.py | mgorny/aiodns | cdb33385f46be1e18bc525ccb153c8abc8ac92d4 | [
"MIT"
] | 84 | 2015-04-16T00:08:06.000Z | 2022-02-23T20:54:37.000Z | setup.py | mgorny/aiodns | cdb33385f46be1e18bc525ccb153c8abc8ac92d4 | [
"MIT"
] | 67 | 2015-06-05T21:58:16.000Z | 2022-02-24T13:49:43.000Z | # -*- coding: utf-8 -*-
import codecs
import re
import sys
from setuptools import setup
def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version')
setup(name = "aiodns",
version = get_ve... | 35.5 | 140 | 0.552817 | 142 | 1,420 | 5.415493 | 0.584507 | 0.148244 | 0.195059 | 0.169051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014866 | 0.289437 | 1,420 | 39 | 141 | 36.410256 | 0.747275 | 0.014789 | 0 | 0 | 0 | 0 | 0.461704 | 0.042233 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | true | 0 | 0.125 | 0.03125 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7cddd6590995367d4b0a8a83f6099677cbb248c0 | 2,379 | py | Python | models/vgg16.py | OpenGridMap/power-grid-detection | 221fcf0461dc869c8c64b11fa48596f83c20e1c8 | [
"Apache-2.0"
] | null | null | null | models/vgg16.py | OpenGridMap/power-grid-detection | 221fcf0461dc869c8c64b11fa48596f83c20e1c8 | [
"Apache-2.0"
] | 1 | 2018-07-22T22:43:27.000Z | 2018-07-22T22:43:27.000Z | models/vgg16.py | OpenGridMap/power-grid-detection | 221fcf0461dc869c8c64b11fa48596f83c20e1c8 | [
"Apache-2.0"
] | null | null | null | from keras.layers import Input, Convolution2D, MaxPooling2D, Activation, Flatten, Dense
from keras.models import Model
def vgg(input_shape, weights=None, classes=2):
img_input = Input(shape=input_shape)
# Block 1
x = Convolution2D(64, 3, 3, border_mode='same', name='block1_conv1')(img_input)
x = Act... | 37.761905 | 87 | 0.621269 | 351 | 2,379 | 4.108262 | 0.153846 | 0.042996 | 0.156033 | 0.166436 | 0.725381 | 0.709431 | 0.698336 | 0.666436 | 0.644244 | 0.644244 | 0 | 0.078391 | 0.184952 | 2,379 | 62 | 88 | 38.370968 | 0.665291 | 0.031106 | 0 | 0.340909 | 0 | 0 | 0.156291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.045455 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7ce695d407c1877911e28ed509a57ca2d43fcf65 | 421 | py | Python | projects/ide/sublime/src/Bolt/ui/read/settings.py | boltjs/bolt | c2666c876b34b1a61486a432eef3141ca8d1e411 | [
"BSD-3-Clause"
] | 11 | 2015-09-29T19:19:34.000Z | 2020-11-20T09:14:46.000Z | projects/ide/sublime/src/Bolt/ui/read/settings.py | boltjs/bolt | c2666c876b34b1a61486a432eef3141ca8d1e411 | [
"BSD-3-Clause"
] | null | null | null | projects/ide/sublime/src/Bolt/ui/read/settings.py | boltjs/bolt | c2666c876b34b1a61486a432eef3141ca8d1e411 | [
"BSD-3-Clause"
] | null | null | null | import sublime
def load_settings():
return sublime.load_settings('bolt.sublime-settings')
def get_from_lightning_settings():
settings = load_settings()
resources = {'flat': settings.get('flat', []), 'hierarchy': settings.get('hierarchy', []), 'namespaced': []}
return {'resources': resources}
def p... | 26.3125 | 112 | 0.707838 | 47 | 421 | 6.12766 | 0.340426 | 0.125 | 0.111111 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130641 | 421 | 15 | 113 | 28.066667 | 0.786885 | 0 | 0 | 0 | 0 | 0 | 0.185273 | 0.049881 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.