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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
162fc7dd93638ec5fe98277d336961116226924c | 408 | py | Python | .history/award/serializers_20201129160732.py | Nyash-Mauro/awwards | aa8200a4d2a26a9d022f0ebda280379c1b3761c3 | [
"MIT"
] | null | null | null | .history/award/serializers_20201129160732.py | Nyash-Mauro/awwards | aa8200a4d2a26a9d022f0ebda280379c1b3761c3 | [
"MIT"
] | null | null | null | .history/award/serializers_20201129160732.py | Nyash-Mauro/awwards | aa8200a4d2a26a9d022f0ebda280379c1b3761c3 | [
"MIT"
] | null | null | null | from .models import Post,Profile
from rest_framework import serializers
class PostSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Post
fields = ('title','image','description','link')
class ProfileSeralizer(serializers.HyperlinkedModelSerializer):
class Meta:
mod... | 34 | 75 | 0.710784 | 40 | 408 | 7.15 | 0.625 | 0.258741 | 0.293706 | 0.321678 | 0.356643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178922 | 408 | 12 | 75 | 34 | 0.853731 | 0 | 0 | 0.2 | 0 | 0 | 0.163814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
163174da5b682d33915f2cafa6bb9737cd39f415 | 2,209 | py | Python | maya/app/renderSetup/model/initialize.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | maya/app/renderSetup/model/initialize.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | maya/app/renderSetup/model/initialize.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | from maya.app.renderSetup.model.applyOverride import *
from maya.app.renderSetup.model.dragAndDropBehavior import *
from maya.app.renderSetup.model.modelCmds import getMembersAsLongNames
from maya.app.renderSetup.model.override import RelOverrideComputeClass
from maya.app.renderSetup.model.override import AbsOverride
... | 32.014493 | 78 | 0.840199 | 249 | 2,209 | 7.453815 | 0.220884 | 0.12069 | 0.165948 | 0.331897 | 0.61153 | 0.582435 | 0.561422 | 0 | 0 | 0 | 0 | 0 | 0.08737 | 2,209 | 68 | 79 | 32.485294 | 0.920635 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0.086957 | 0.608696 | 0 | 0.695652 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
163c84fe8d93e45a6d1e4fc6375dcf9e6a19f3b4 | 1,412 | py | Python | froide/publicbody/migrations/0033_auto_20210203_1554.py | xenein/froide | 59bd3eeded3c3ed00fbc858fe20bfea99c8dbefa | [
"MIT"
] | 198 | 2016-12-03T22:42:55.000Z | 2022-03-25T15:08:36.000Z | froide/publicbody/migrations/0033_auto_20210203_1554.py | xenein/froide | 59bd3eeded3c3ed00fbc858fe20bfea99c8dbefa | [
"MIT"
] | 264 | 2016-11-30T18:53:17.000Z | 2022-03-17T11:34:18.000Z | froide/publicbody/migrations/0033_auto_20210203_1554.py | xenein/froide | 59bd3eeded3c3ed00fbc858fe20bfea99c8dbefa | [
"MIT"
] | 42 | 2016-12-22T04:08:27.000Z | 2022-02-26T08:30:38.000Z | # Generated by Django 3.1.4 on 2021-02-03 14:54
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("publicbody", "0032_auto_20201221_1953"),
]
operations = [
migrations.RenameField(
model_name="foilaw",
old_name="description... | 26.148148 | 50 | 0.531161 | 126 | 1,412 | 5.595238 | 0.325397 | 0.238298 | 0.295035 | 0.340426 | 0.53617 | 0.53617 | 0.53617 | 0.231206 | 0 | 0 | 0 | 0.03433 | 0.360482 | 1,412 | 53 | 51 | 26.641509 | 0.746401 | 0.03187 | 0 | 0.510638 | 1 | 0 | 0.188278 | 0.01685 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
163e13c28e42ab8be315f2aa8ebec1540b903b68 | 653 | py | Python | bin/server/requests.py | vyahello/uah-ex-rate-bot | 352b1954d5e53104816852d1f5f34b90bb5b02c7 | [
"MIT"
] | null | null | null | bin/server/requests.py | vyahello/uah-ex-rate-bot | 352b1954d5e53104816852d1f5f34b90bb5b02c7 | [
"MIT"
] | null | null | null | bin/server/requests.py | vyahello/uah-ex-rate-bot | 352b1954d5e53104816852d1f5f34b90bb5b02c7 | [
"MIT"
] | 2 | 2019-10-30T16:47:08.000Z | 2020-01-01T18:45:46.000Z | from abc import ABC, ABCMeta, abstractmethod
from typing import Dict, Any
from flask import request
from werkzeug.local import LocalProxy
class Request(ABC):
"""Abstraction of a request."""
__metaclass__: type = ABCMeta
@abstractmethod
def method(self) -> str:
pass
@abstractmethod
d... | 20.40625 | 44 | 0.653905 | 77 | 653 | 5.38961 | 0.428571 | 0.050602 | 0.062651 | 0.077108 | 0.096386 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24196 | 653 | 31 | 45 | 21.064516 | 0.838384 | 0.07657 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0.105263 | 0.210526 | 0.105263 | 0.736842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
16470f3ad6b3ac681c7d776e0796696e77bda58d | 3,669 | py | Python | tests/test_service_catalog/test_api/test_request/test_request_delete.py | LaudateCorpus1/squest | 98304f20c1d966fb3678d348ffd7c5be438bb6be | [
"Apache-2.0"
] | null | null | null | tests/test_service_catalog/test_api/test_request/test_request_delete.py | LaudateCorpus1/squest | 98304f20c1d966fb3678d348ffd7c5be438bb6be | [
"Apache-2.0"
] | null | null | null | tests/test_service_catalog/test_api/test_request/test_request_delete.py | LaudateCorpus1/squest | 98304f20c1d966fb3678d348ffd7c5be438bb6be | [
"Apache-2.0"
] | 1 | 2022-03-24T03:37:12.000Z | 2022-03-24T03:37:12.000Z | from rest_framework import status
from rest_framework.reverse import reverse
from service_catalog.models import Request, RequestState
from tests.test_service_catalog.base_test_request import BaseTestRequest
class TestApiRequestDelete(BaseTestRequest):
def setUp(self):
super(TestApiRequestDelete, self).s... | 48.92 | 116 | 0.738893 | 471 | 3,669 | 5.388535 | 0.167728 | 0.07565 | 0.059102 | 0.090623 | 0.807329 | 0.774626 | 0.750985 | 0.750985 | 0.631994 | 0.591017 | 0 | 0.010909 | 0.175525 | 3,669 | 74 | 117 | 49.581081 | 0.828099 | 0 | 0 | 0.515625 | 0 | 0 | 0.033797 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 1 | 0.109375 | false | 0 | 0.0625 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
164bf4a5b8487e53a451476177d50a18da86d0be | 119 | py | Python | tcgplayer_api/utils.py | ZaxR/tcgplayer-api-client-python | 2ff2cad4eef334a20ba24ad0688bae496115f187 | [
"CNRI-Python"
] | 4 | 2020-07-12T12:25:34.000Z | 2022-03-05T05:11:38.000Z | tcgplayer_api/utils.py | ZaxR/tcgplayer-api-client-python | 2ff2cad4eef334a20ba24ad0688bae496115f187 | [
"CNRI-Python"
] | 1 | 2021-07-03T11:18:44.000Z | 2021-07-03T11:18:44.000Z | tcgplayer_api/utils.py | ZaxR/tcgplayer-api-client-python | 2ff2cad4eef334a20ba24ad0688bae496115f187 | [
"CNRI-Python"
] | 1 | 2021-04-10T17:57:52.000Z | 2021-04-10T17:57:52.000Z | """ """
def words_to_snake_case(s):
components = s.split(' ')
return '_'.join(x.lower() for x in components)
| 17 | 50 | 0.605042 | 17 | 119 | 4 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201681 | 119 | 6 | 51 | 19.833333 | 0.715789 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
165d7306c367302c5b0c4c42453516d93a6ae210 | 582 | py | Python | allennlp_models/structured_prediction/dataset_readers/__init__.py | zhiyangxu-umass/allennlp-models | d922f7a8075387ebed1a3e38e588345f706d3f02 | [
"Apache-2.0"
] | null | null | null | allennlp_models/structured_prediction/dataset_readers/__init__.py | zhiyangxu-umass/allennlp-models | d922f7a8075387ebed1a3e38e588345f706d3f02 | [
"Apache-2.0"
] | null | null | null | allennlp_models/structured_prediction/dataset_readers/__init__.py | zhiyangxu-umass/allennlp-models | d922f7a8075387ebed1a3e38e588345f706d3f02 | [
"Apache-2.0"
] | null | null | null | from allennlp_models.structured_prediction.dataset_readers.penn_tree_bank import (
PennTreeBankConstituencySpanDatasetReader,
)
from allennlp_models.structured_prediction.dataset_readers.semantic_dependencies import (
SemanticDependenciesDatasetReader,
)
from allennlp_models.structured_prediction.dataset_reader... | 48.5 | 105 | 0.893471 | 56 | 582 | 8.910714 | 0.392857 | 0.12024 | 0.180361 | 0.280561 | 0.533066 | 0.533066 | 0.533066 | 0.220441 | 0 | 0 | 0 | 0 | 0.065292 | 582 | 11 | 106 | 52.909091 | 0.917279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.454545 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
16b592fd8ff38aaacb77b3bed0c8907139b5b5b7 | 567 | py | Python | models/user.py | yanchen01/movie-recommendation-api | 1e661cebeda5e49bb868728b70901f548e72bea2 | [
"MIT"
] | null | null | null | models/user.py | yanchen01/movie-recommendation-api | 1e661cebeda5e49bb868728b70901f548e72bea2 | [
"MIT"
] | null | null | null | models/user.py | yanchen01/movie-recommendation-api | 1e661cebeda5e49bb868728b70901f548e72bea2 | [
"MIT"
] | null | null | null | import mongoengine as me
class User(me.Document):
email = me.StringField(required=True, unique=True)
username = me.StringField(required=True, unique=True)
password_hash = me.StringField(required=True)
name = me.StringField(required=True)
# def __init__(self, email=None, password=None, name=None):... | 27 | 63 | 0.613757 | 65 | 567 | 5.261538 | 0.338462 | 0.152047 | 0.245614 | 0.292398 | 0.204678 | 0.204678 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269841 | 567 | 20 | 64 | 28.35 | 0.826087 | 0.238095 | 0 | 0 | 0 | 0 | 0.039813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.083333 | 0.083333 | 0.083333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
16c4fe89d83d6189e083f25a284bcb23e9a0f937 | 102 | py | Python | io_utils.py | nicolay-r/frame-based-attitude-extraction-workflow | f20e6d17a9eb6613028545b889c74626a8260ccd | [
"MIT"
] | null | null | null | io_utils.py | nicolay-r/frame-based-attitude-extraction-workflow | f20e6d17a9eb6613028545b889c74626a8260ccd | [
"MIT"
] | 6 | 2020-10-03T13:45:38.000Z | 2021-07-13T18:31:57.000Z | io_utils.py | nicolay-r/frame-based-attitude-extraction-workflow | f20e6d17a9eb6613028545b889c74626a8260ccd | [
"MIT"
] | null | null | null | import os
def create_dir(out_dir):
if not os.path.exists(out_dir):
os.makedirs(out_dir)
| 14.571429 | 35 | 0.676471 | 18 | 102 | 3.611111 | 0.611111 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 102 | 6 | 36 | 17 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
16d44925a7934ecd12abb1036f7b55f8facf8402 | 196 | py | Python | input_parameter.py | freyzor/efficacy | b40e52620b1fe3eb641fdfeb2d9a9d4daeb52d48 | [
"MIT"
] | null | null | null | input_parameter.py | freyzor/efficacy | b40e52620b1fe3eb641fdfeb2d9a9d4daeb52d48 | [
"MIT"
] | null | null | null | input_parameter.py | freyzor/efficacy | b40e52620b1fe3eb641fdfeb2d9a9d4daeb52d48 | [
"MIT"
] | null | null | null | class InputBroker:
"""Abstract class responsible for providing raw values when considering scores"""
def get_input_value(self, consideration, context):
raise NotImplementedError()
| 39.2 | 85 | 0.755102 | 21 | 196 | 6.952381 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173469 | 196 | 4 | 86 | 49 | 0.901235 | 0.382653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
bc4358302fde6593dce984178824a1bda8686951 | 1,558 | py | Python | tests/test_components.py | cropsinsilico/yggdrasil | 466a4f77605a6f461d57ef7b165a6db7eec4d1fd | [
"BSD-3-Clause"
] | 22 | 2019-02-05T15:20:07.000Z | 2022-02-25T09:00:40.000Z | tests/test_components.py | cropsinsilico/yggdrasil | 466a4f77605a6f461d57ef7b165a6db7eec4d1fd | [
"BSD-3-Clause"
] | 48 | 2019-02-15T20:41:24.000Z | 2022-03-16T20:52:02.000Z | tests/test_components.py | cropsinsilico/yggdrasil | 466a4f77605a6f461d57ef7b165a6db7eec4d1fd | [
"BSD-3-Clause"
] | 16 | 2019-04-27T03:36:40.000Z | 2021-12-02T09:47:06.000Z | import pytest
from yggdrasil import components
def test_import_component():
r"""Test dynamic import of component."""
# Test use of default
components.import_component('serializer')
components.import_component('serializer')
# Test explict type (but still new to registry)
components.import_compo... | 42.108108 | 70 | 0.741335 | 164 | 1,558 | 6.902439 | 0.317073 | 0.159011 | 0.242933 | 0.278269 | 0.514134 | 0.34894 | 0.227032 | 0.227032 | 0.134276 | 0 | 0 | 0 | 0.14249 | 1,558 | 36 | 71 | 43.277778 | 0.847305 | 0.179718 | 0 | 0.384615 | 0 | 0 | 0.181458 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.076923 | false | 0 | 0.538462 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bc4c7d2cb5095be39ea53ead06b37246c4c5d7a9 | 26 | py | Python | tests/__init__.py | nialov/nialog | bcaed0df1b4c9d0843aab51ca2911e273dd70fcd | [
"MIT"
] | null | null | null | tests/__init__.py | nialov/nialog | bcaed0df1b4c9d0843aab51ca2911e273dd70fcd | [
"MIT"
] | null | null | null | tests/__init__.py | nialov/nialog | bcaed0df1b4c9d0843aab51ca2911e273dd70fcd | [
"MIT"
] | null | null | null | """
Tests for nialog.
"""
| 6.5 | 17 | 0.538462 | 3 | 26 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 3 | 18 | 8.666667 | 0.666667 | 0.653846 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bc682fba85fd557ac9eb915abcd32338e336a895 | 220 | py | Python | src/inmediag/apps.py | TechFitU/MDSOM | 01f58277ec99051cc857de65ce6b240a177da19c | [
"MIT"
] | null | null | null | src/inmediag/apps.py | TechFitU/MDSOM | 01f58277ec99051cc857de65ce6b240a177da19c | [
"MIT"
] | null | null | null | src/inmediag/apps.py | TechFitU/MDSOM | 01f58277ec99051cc857de65ce6b240a177da19c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.apps import AppConfig
class MDSOMConfig(AppConfig):
name = 'inmediag'
label = 'inmediag'
verbose_name = u"Diagnóstico Médico Mante" | 27.5 | 46 | 0.727273 | 26 | 220 | 5.923077 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005495 | 0.172727 | 220 | 8 | 46 | 27.5 | 0.840659 | 0.095455 | 0 | 0 | 0 | 0 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bcbbc982f94709092ab0ce4dd440d060c92f44be | 91 | py | Python | eshopper/apps.py | vaidgaurav7/quasar-burst | 1e283783db79092e0ce04437418a42920dd1e0ae | [
"MIT"
] | null | null | null | eshopper/apps.py | vaidgaurav7/quasar-burst | 1e283783db79092e0ce04437418a42920dd1e0ae | [
"MIT"
] | null | null | null | eshopper/apps.py | vaidgaurav7/quasar-burst | 1e283783db79092e0ce04437418a42920dd1e0ae | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class EshopperConfig(AppConfig):
name = 'eshopper'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bcc29ca4e93c597c49343c60f8e7908a2ffa8322 | 200 | py | Python | tensorflow/csv_test/date_test.py | cateto/python4NLP | 1d2d5086f907bf75be01762bf0b384c76d8f704e | [
"MIT"
] | 2 | 2021-12-16T22:38:27.000Z | 2021-12-17T13:09:49.000Z | tensorflow/csv_test/date_test.py | cateto/python4NLP | 1d2d5086f907bf75be01762bf0b384c76d8f704e | [
"MIT"
] | null | null | null | tensorflow/csv_test/date_test.py | cateto/python4NLP | 1d2d5086f907bf75be01762bf0b384c76d8f704e | [
"MIT"
] | null | null | null | import datetime
start_date = datetime.date(2021,6,1)
end_date = datetime.date(2021,6,30)
delta = datetime.timedelta(days=1)
while start_date <= end_date:
print(start_date)
start_date += delta | 25 | 36 | 0.745 | 32 | 200 | 4.46875 | 0.4375 | 0.251748 | 0.223776 | 0.27972 | 0.293706 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080925 | 0.135 | 200 | 8 | 37 | 25 | 0.745665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.142857 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bcd738c07170cda466d727e037766a7b10c89b23 | 724 | py | Python | build/navigation-melodic-devel/dwa_local_planner/catkin_generated/pkg.develspace.context.pc.py | Louis-AD-git/racecar_ws | 3c5cb561d1aee11d80a7f3847e0334e93f345513 | [
"MIT"
] | null | null | null | build/navigation-melodic-devel/dwa_local_planner/catkin_generated/pkg.develspace.context.pc.py | Louis-AD-git/racecar_ws | 3c5cb561d1aee11d80a7f3847e0334e93f345513 | [
"MIT"
] | null | null | null | build/navigation-melodic-devel/dwa_local_planner/catkin_generated/pkg.develspace.context.pc.py | Louis-AD-git/racecar_ws | 3c5cb561d1aee11d80a7f3847e0334e93f345513 | [
"MIT"
] | null | null | null | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/lzh/racecar_ws/devel/include;/home/lzh/racecar_ws/src/navigation-melodic-devel/dwa_local_planner/include".split(';') if "/home/lzh/racecar_ws/devel/include;/home/lzh/racecar_ws/src/navigation-mel... | 80.444444 | 287 | 0.794199 | 106 | 724 | 5.075472 | 0.481132 | 0.133829 | 0.130112 | 0.148699 | 0.377323 | 0.33829 | 0.33829 | 0.33829 | 0.33829 | 0.33829 | 0 | 0.008759 | 0.053867 | 724 | 8 | 288 | 90.5 | 0.776642 | 0.074586 | 0 | 0 | 1 | 0.285714 | 0.597305 | 0.5 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bcf8f5f073874501e2a9ac4c33d485571a7109ce | 23 | py | Python | orf_annotate/__init__.py | camillaugolini-iit/ORF_annotate-1 | 60b6090c3569e07909deb8769d95ecc0da035832 | [
"MIT"
] | null | null | null | orf_annotate/__init__.py | camillaugolini-iit/ORF_annotate-1 | 60b6090c3569e07909deb8769d95ecc0da035832 | [
"MIT"
] | null | null | null | orf_annotate/__init__.py | camillaugolini-iit/ORF_annotate-1 | 60b6090c3569e07909deb8769d95ecc0da035832 | [
"MIT"
] | 1 | 2020-04-30T20:52:47.000Z | 2020-04-30T20:52:47.000Z | __version__ = '0.1.0a'
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.130435 | 23 | 1 | 23 | 23 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4c1724a9ffb0b547be84db37f7a84deec4848293 | 762 | py | Python | mosqito/sound_level_meter/noct_spectrum/_nominal_frequency.py | MitchellAcoustics/MoSQITo | 15e45888d08b2932909f50fd6af0ef9d5595a588 | [
"Apache-2.0"
] | 1 | 2022-02-20T15:09:32.000Z | 2022-02-20T15:09:32.000Z | mosqito/sound_level_meter/noct_spectrum/_nominal_frequency.py | MitchellAcoustics/MoSQITo | 15e45888d08b2932909f50fd6af0ef9d5595a588 | [
"Apache-2.0"
] | 1 | 2022-02-22T09:13:20.000Z | 2022-02-22T09:13:20.000Z | mosqito/sound_level_meter/noct_spectrum/_nominal_frequency.py | MitchellAcoustics/MoSQITo | 15e45888d08b2932909f50fd6af0ef9d5595a588 | [
"Apache-2.0"
] | null | null | null | from numpy import array
NOMINAL_OCTAVE_CENTER_FREQUENCIES = array(
[
31.5,
63.0,
125.0,
250.0,
500.0,
1000.0,
2000.0,
4000.0,
8000.0,
16000.0,
]
)
NOMINAL_THIRD_OCTAVE_CENTER_FREQUENCIES = array(
[
25.0,
31.5,
... | 14.653846 | 48 | 0.364829 | 95 | 762 | 2.852632 | 0.431579 | 0.088561 | 0.169742 | 0.206642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.478261 | 0.51706 | 762 | 51 | 49 | 14.941176 | 0.258152 | 0 | 0 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020408 | 0 | 0.020408 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 4 |
4c22820b09c44b3f70a8c6f5eae96997ab2c71d3 | 546 | py | Python | awaard/serializer.py | Uomar7/awaards | 0648be23bda2132730a01b4f3da7f8e24ffa1447 | [
"MIT"
] | null | null | null | awaard/serializer.py | Uomar7/awaards | 0648be23bda2132730a01b4f3da7f8e24ffa1447 | [
"MIT"
] | 3 | 2020-06-05T21:40:28.000Z | 2021-06-10T21:40:06.000Z | awaard/serializer.py | Uomar7/awaards | 0648be23bda2132730a01b4f3da7f8e24ffa1447 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Profile,Project,Comment
class ProfileSerializer(serializers.ModelSerializer):
class Meta:
model = Profile
fields = ("id","first_name","last_name","bio","profile_pic")
class ProjectSerializer(serializers.ModelSerializer):
class Meta:
... | 32.117647 | 76 | 0.701465 | 55 | 546 | 6.854545 | 0.509091 | 0.206897 | 0.246684 | 0.278515 | 0.318302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18315 | 546 | 17 | 77 | 32.117647 | 0.845291 | 0 | 0 | 0.214286 | 0 | 0 | 0.157221 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4c40087a3ecd3df493fb7de11484ce2ca6a5fadf | 255 | py | Python | stack.py | AishwaryaNair687/Py-Programs | cc5774e74f4a85cb76a337f0c63aadfc4e818eb7 | [
"MIT"
] | 4 | 2020-11-14T21:12:59.000Z | 2020-12-12T17:29:12.000Z | stack.py | Bhavyakalra-13/Py-Programs | 715b366718b45c45c1bdb8ab83d83e99d4876c5b | [
"MIT"
] | 1 | 2020-09-28T06:06:48.000Z | 2021-09-30T16:22:18.000Z | stack.py | Bhavyakalra-13/Py-Programs | 715b366718b45c45c1bdb8ab83d83e99d4876c5b | [
"MIT"
] | 4 | 2020-09-30T17:59:57.000Z | 2021-10-03T17:26:27.000Z | stack = []
stack.append('a')
stack.append('b')
stack.append('c')
print('Initial stack')
print(stack)
print('\nElements poped from stack:')
print(stack.pop())
print(stack.pop())
print(stack.pop())
print('\nStack after elements are poped:')
print(stack)
| 15.9375 | 42 | 0.694118 | 37 | 255 | 4.783784 | 0.405405 | 0.282486 | 0.220339 | 0.305085 | 0.248588 | 0.248588 | 0.248588 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 255 | 15 | 43 | 17 | 0.769565 | 0 | 0 | 0.416667 | 0 | 0 | 0.301961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 4 |
4c7a912cab5266eb01fa779f1ff8ac7d9a9cea4a | 1,026 | py | Python | DailyProgrammer/DP20120808A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20120808A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20120808A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[8/8/2012] Challenge #86 [easy] (run-length encoding)
https://www.reddit.com/r/dailyprogrammer/comments/xxbbo/882012_challenge_86_easy_runlength_encoding/
Run-Length encoding is a simple form of compression that detects 'runs' of repeated instances of a symbol in a string
and compresses them to a list of pairs of... | 41.04 | 119 | 0.722222 | 176 | 1,026 | 4.136364 | 0.539773 | 0.049451 | 0.093407 | 0.032967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034924 | 0.162768 | 1,026 | 24 | 120 | 42.75 | 0.812573 | 0.929825 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d5b2f361aa42459762f0369a2c01907b217d8d5a | 241 | py | Python | pygeostat/statistics/__init__.py | MHadavand/pygeostat | 020f1781e073ab7721d9181e04b9c63240b0121e | [
"MIT"
] | 22 | 2020-08-04T15:13:53.000Z | 2022-03-31T00:15:07.000Z | pygeostat/statistics/__init__.py | MHadavand/pygeostat | 020f1781e073ab7721d9181e04b9c63240b0121e | [
"MIT"
] | 15 | 2020-08-04T15:40:21.000Z | 2021-12-22T15:18:01.000Z | pygeostat/statistics/__init__.py | MHadavand/pygeostat | 020f1781e073ab7721d9181e04b9c63240b0121e | [
"MIT"
] | 59 | 2020-08-04T17:09:26.000Z | 2022-03-25T23:19:44.000Z | """
The :mod:`pygslib.statistics` module includes statistics functions.
"""
from __future__ import absolute_import, division, print_function
from .kde import *
from .cdf import *
from .utils import *
from .postsim import postsim_multfiles
| 24.1 | 67 | 0.780083 | 30 | 241 | 6.033333 | 0.633333 | 0.165746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13278 | 241 | 9 | 68 | 26.777778 | 0.866029 | 0.278008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d5d6414d6b768410c443c3c15e03b2b059bce8e2 | 10,402 | py | Python | env/lib/python3.6/site-packages/openpyxl/writer/theme.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | 34 | 2018-07-13T11:30:46.000Z | 2022-01-05T13:48:10.000Z | env/lib/python3.6/site-packages/openpyxl/writer/theme.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | 4 | 2021-03-11T04:02:00.000Z | 2022-03-27T08:31:56.000Z | env/lib/python3.6/site-packages/openpyxl/writer/theme.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | 22 | 2018-07-13T11:30:48.000Z | 2021-09-25T13:30:08.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
# Copyright (c) 2010-2018 openpyxl
"""Write the theme xml based on a fixed string."""
# package imports
theme_xml = """<?xml version="1.0"?>
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">
<a:themeElements... | 35.141892 | 100 | 0.489617 | 1,164 | 10,402 | 4.368557 | 0.215636 | 0.05703 | 0.125467 | 0.056637 | 0.73058 | 0.718387 | 0.718387 | 0.681023 | 0.665683 | 0.653097 | 0 | 0.075113 | 0.321669 | 10,402 | 295 | 101 | 35.261017 | 0.64555 | 0.008844 | 0 | 0.596491 | 0 | 0.010526 | 0.989075 | 0.054233 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003509 | false | 0 | 0.003509 | 0 | 0.010526 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d5e3c989b4c127bb887c556c07eca254cdbe3985 | 128 | py | Python | examples/login.py | Alert-Aigul/Amino.ed | f126135f6b10010c6b4356199b5cfe5cf2f1124d | [
"MIT"
] | 9 | 2021-10-01T18:23:59.000Z | 2022-03-31T20:02:45.000Z | examples/login.py | Alert-Aigul/Amino.ed | f126135f6b10010c6b4356199b5cfe5cf2f1124d | [
"MIT"
] | 2 | 2021-10-30T05:40:03.000Z | 2021-12-08T12:35:38.000Z | examples/login.py | Alert-Aigul/Amino.ed | f126135f6b10010c6b4356199b5cfe5cf2f1124d | [
"MIT"
] | null | null | null | import aminoed
@aminoed.run_with_client()
async def main(client: aminoed.Client):
await client.login("email", "password")
| 18.285714 | 43 | 0.742188 | 17 | 128 | 5.470588 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 128 | 6 | 44 | 21.333333 | 0.830357 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d5e82948502b516ce0b316af3aed67691afe1ec8 | 20,919 | py | Python | server/launch/sample/main_machine/main_instance/experiment_gpib/fake_linker.py | zstars/weblabdeusto | 09bd9d93d483671bca67ee5c70a9c412eb5d352f | [
"BSD-2-Clause"
] | 15 | 2015-03-12T12:15:41.000Z | 2021-12-20T17:53:24.000Z | server/launch/sample/main_machine/main_instance/experiment_gpib/fake_linker.py | zstars/weblabdeusto | 09bd9d93d483671bca67ee5c70a9c412eb5d352f | [
"BSD-2-Clause"
] | 44 | 2015-01-07T09:22:05.000Z | 2017-01-31T22:44:21.000Z | server/launch/sample/main_machine/main_instance/experiment_gpib/fake_linker.py | zstars/weblabdeusto | 09bd9d93d483671bca67ee5c70a9c412eb5d352f | [
"BSD-2-Clause"
] | 22 | 2015-01-13T13:55:48.000Z | 2021-12-16T17:07:00.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2005 onwards University of Deusto
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
#
# This software consists of contributions made by many individuals,
# lis... | 36.635727 | 131 | 0.547397 | 2,751 | 20,919 | 4.15667 | 0.412941 | 0.063839 | 0.139484 | 0.002099 | 0.002274 | 0 | 0 | 0 | 0 | 0 | 0 | 0.731094 | 0.315407 | 20,919 | 570 | 132 | 36.7 | 0.067384 | 0.021846 | 0 | 0.003683 | 0 | 0.001842 | 0.946684 | 0.004794 | 0 | 0 | 0 | 0 | 0.020258 | 0 | null | null | 0.001842 | 0.009208 | null | null | 0.003683 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d5ea7df96a8ed90fa652ffe0d82da280d0eb9668 | 239 | py | Python | core/auth/local/group_management.py | sdklfjkjdf/yeti | c3639884963464bc2c3dd76f694ea20c4ef49068 | [
"Apache-2.0"
] | 1 | 2021-11-16T01:31:29.000Z | 2021-11-16T01:31:29.000Z | core/auth/local/group_management.py | sdklfjkjdf/yeti | c3639884963464bc2c3dd76f694ea20c4ef49068 | [
"Apache-2.0"
] | 3 | 2020-12-04T21:17:20.000Z | 2022-01-15T02:39:23.000Z | core/auth/local/group_management.py | sdklfjkjdf/yeti | c3639884963464bc2c3dd76f694ea20c4ef49068 | [
"Apache-2.0"
] | null | null | null | from core.logger import userLogger
from core.group import Group
from mongoengine import NotUniqueError
def create_group(groupname):
try:
return Group(groupname=groupname).save()
except NotUniqueError:
return False
| 23.9 | 48 | 0.753138 | 28 | 239 | 6.392857 | 0.571429 | 0.089385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192469 | 239 | 9 | 49 | 26.555556 | 0.927461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
911a7c36682727bde661f01bcae72cce13e13137 | 193 | py | Python | src/TrRosetta/feature/main.py | ruiyangsong/mCNN | 889f182245f919fb9c7a8d97965b11576b01a96c | [
"MIT"
] | null | null | null | src/TrRosetta/feature/main.py | ruiyangsong/mCNN | 889f182245f919fb9c7a8d97965b11576b01a96c | [
"MIT"
] | null | null | null | src/TrRosetta/feature/main.py | ruiyangsong/mCNN | 889f182245f919fb9c7a8d97965b11576b01a96c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
os.system('./retrieve_pdb_chain.py')
os.system('./map_pos.py')
os.system('./TMalign.py')
os.system('./CalSA.py')
os.system('./coord.py') | 21.444444 | 36 | 0.647668 | 32 | 193 | 3.8125 | 0.59375 | 0.327869 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005587 | 0.072539 | 193 | 9 | 37 | 21.444444 | 0.675978 | 0.217617 | 0 | 0 | 0 | 0 | 0.446667 | 0.153333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
912be562c4955754686bc0124903f643f94e0789 | 976 | py | Python | cohorts_proj/datasets/mymodels/raw_dictionary.py | gellerjulia/harmonization-website | c47b109d9110e34520ef43469b6b5ccac01cc178 | [
"MIT"
] | null | null | null | cohorts_proj/datasets/mymodels/raw_dictionary.py | gellerjulia/harmonization-website | c47b109d9110e34520ef43469b6b5ccac01cc178 | [
"MIT"
] | null | null | null | cohorts_proj/datasets/mymodels/raw_dictionary.py | gellerjulia/harmonization-website | c47b109d9110e34520ef43469b6b5ccac01cc178 | [
"MIT"
] | null | null | null | from django.db import models
CAT_FLO_TYPE = (
('iris-setosa', 'Iris-setosa'),
('iris-virginica', 'Iris-virginica'),
('iris-versicolor', 'Iris-versicolor'),
)
class FlowerTypeField(models.CharField):
def __init__(self, *args, **kwargs):
super(FlowerTypeField, self).__init__(*args, **kwargs)
... | 32.533333 | 72 | 0.715164 | 125 | 976 | 5.32 | 0.352 | 0.225564 | 0.180451 | 0.324812 | 0.421053 | 0.33985 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.159836 | 976 | 29 | 73 | 33.655172 | 0.77439 | 0.08709 | 0 | 0 | 0 | 0 | 0.09009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.047619 | 0.047619 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
91519cb7674871a52428b5127ab4151498042145 | 3,738 | py | Python | resources/clients.py | axonepro/sdk-ooti | 146ba758f571352d02daa56349e8b3affd8ca5a9 | [
"Unlicense"
] | 1 | 2021-03-13T16:04:54.000Z | 2021-03-13T16:04:54.000Z | resources/clients.py | axonepro/sdk-ooti | 146ba758f571352d02daa56349e8b3affd8ca5a9 | [
"Unlicense"
] | 7 | 2021-07-21T12:42:39.000Z | 2022-01-06T10:34:04.000Z | resources/clients.py | axonepro/sdk-ooti | 146ba758f571352d02daa56349e8b3affd8ca5a9 | [
"Unlicense"
] | 2 | 2021-06-22T08:10:48.000Z | 2021-09-01T09:16:41.000Z | import requests
import json
from .helper import Helper
class Clients(Helper):
def __init__(self, base_url, org_pk, teams_pk, access_token, _csrf_token, headers, pagination):
super().__init__(base_url, org_pk, teams_pk, access_token, _csrf_token, headers, pagination)
def get_clients_list(self, team_p... | 29.433071 | 118 | 0.59069 | 471 | 3,738 | 4.549894 | 0.159236 | 0.096594 | 0.058796 | 0.117592 | 0.759683 | 0.734484 | 0.671489 | 0.544564 | 0.474102 | 0.313579 | 0 | 0.01173 | 0.270198 | 3,738 | 127 | 119 | 29.433071 | 0.773827 | 0.43633 | 0 | 0.333333 | 0 | 0 | 0.076966 | 0.017847 | 0 | 0 | 0 | 0.015748 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 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 | 4 |
e67821f267879245a88e03936e8dac826a09b8d2 | 196 | py | Python | kita_friends/admin.py | FelixTheC/beak_emailer_list | 8bb34681f1d6b35a8d0cc8a81e03d1044cf74f06 | [
"MIT"
] | null | null | null | kita_friends/admin.py | FelixTheC/beak_emailer_list | 8bb34681f1d6b35a8d0cc8a81e03d1044cf74f06 | [
"MIT"
] | null | null | null | kita_friends/admin.py | FelixTheC/beak_emailer_list | 8bb34681f1d6b35a8d0cc8a81e03d1044cf74f06 | [
"MIT"
] | null | null | null | from django.contrib import admin
from kita_friends.models import KitaFriends
@admin.register(KitaFriends)
class KitaFriendsAdmin(admin.ModelAdmin):
list_display = ('name', 'email', 'kita')
| 21.777778 | 44 | 0.77551 | 23 | 196 | 6.521739 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117347 | 196 | 8 | 45 | 24.5 | 0.867052 | 0 | 0 | 0 | 0 | 0 | 0.066327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e687d064b1f15f8654e3b07bc99a16f26dc76104 | 9,687 | py | Python | test/test_special.py | Sauci/pysvd | 6ddfb606a47d3cb688b1041d0ed6058f90f144b9 | [
"MIT"
] | 2 | 2020-12-09T08:03:31.000Z | 2021-07-02T08:53:19.000Z | test/test_special.py | Sauci/pysvd | 6ddfb606a47d3cb688b1041d0ed6058f90f144b9 | [
"MIT"
] | 3 | 2019-09-05T10:41:32.000Z | 2021-06-12T21:45:44.000Z | test/test_special.py | Sauci/pysvd | 6ddfb606a47d3cb688b1041d0ed6058f90f144b9 | [
"MIT"
] | 1 | 2019-09-26T07:51:31.000Z | 2019-09-26T07:51:31.000Z | import unittest
import xml.etree.ElementTree as ET
import pysvd
class TestSpecialCluster(unittest.TestCase):
@classmethod
def setUpClass(cls):
node = ET.parse("test/specialCluster.xml").getroot()
cls.peripheral = pysvd.element.Peripheral(None, node)
def test_general(self):
perip... | 37.257692 | 98 | 0.619387 | 922 | 9,687 | 6.450108 | 0.136659 | 0.277451 | 0.290062 | 0.081722 | 0.739869 | 0.699512 | 0.665378 | 0.650412 | 0.582142 | 0.532201 | 0 | 0.028373 | 0.286879 | 9,687 | 259 | 99 | 37.401544 | 0.832513 | 0 | 0 | 0.605128 | 0 | 0 | 0.060081 | 0.002374 | 0 | 0 | 0.010736 | 0 | 0.564103 | 1 | 0.097436 | false | 0.051282 | 0.015385 | 0 | 0.14359 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e69383cb65f2a918d451002a11b8ee6ac7a14f8e | 231 | py | Python | gapipy/models/associated_service.py | wmak/gapipy | b6849606d4f6af24b9f871f65e87aaf0d0c013cc | [
"MIT"
] | 4 | 2015-03-19T02:10:35.000Z | 2018-10-22T19:51:44.000Z | gapipy/models/associated_service.py | wmak/gapipy | b6849606d4f6af24b9f871f65e87aaf0d0c013cc | [
"MIT"
] | 69 | 2015-03-11T20:58:04.000Z | 2021-10-12T18:39:15.000Z | gapipy/models/associated_service.py | wmak/gapipy | b6849606d4f6af24b9f871f65e87aaf0d0c013cc | [
"MIT"
] | 1 | 2016-08-31T15:22:43.000Z | 2016-08-31T15:22:43.000Z | from .base import BaseModel
class AssociatedService(BaseModel):
"""
Represent an associated service. Each service can be associated
to other services within the same booking.
"""
_as_is_fields = ['id', 'href']
| 25.666667 | 67 | 0.701299 | 28 | 231 | 5.678571 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 231 | 8 | 68 | 28.875 | 0.873626 | 0.458874 | 0 | 0 | 0 | 0 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e69ee0c351b3290fcfedc07394e71995e2b3e46b | 91 | py | Python | backend/apps/entities/apps.py | gabrielmbmb/intry4.0-backend | 1ac28ad333c93ed6069dc2db4d9fe3a12b8a1b24 | [
"MIT"
] | 1 | 2020-09-19T11:00:31.000Z | 2020-09-19T11:00:31.000Z | musicbrainz/entities/apps.py | tourdownunder/musicbrainz-django | bd8f8767ca0144dc10fd9ba2b59beb9de9788640 | [
"BSD-3-Clause"
] | 8 | 2019-12-30T14:30:13.000Z | 2021-09-22T18:03:10.000Z | backend/apps/entities/apps.py | gabrielmbmb/intry4.0-backend | 1ac28ad333c93ed6069dc2db4d9fe3a12b8a1b24 | [
"MIT"
] | 1 | 2021-10-03T10:06:29.000Z | 2021-10-03T10:06:29.000Z | from django.apps import AppConfig
class EntitiesConfig(AppConfig):
name = "entities"
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e6a51d6f29698ab8325adcb3e32abe6570af534b | 6,077 | py | Python | generate.py | LordRonz/LordRonz | a8ab0f24376c8899f56a36a29650a010cc23fcca | [
"WTFPL"
] | 3 | 2021-10-13T09:10:15.000Z | 2022-02-12T16:29:48.000Z | generate.py | LordRonz/LordRonz | a8ab0f24376c8899f56a36a29650a010cc23fcca | [
"WTFPL"
] | 9 | 2021-05-04T11:47:11.000Z | 2022-03-02T00:46:51.000Z | generate.py | LordRonz/LordRonz | a8ab0f24376c8899f56a36a29650a010cc23fcca | [
"WTFPL"
] | 9 | 2021-05-31T18:05:39.000Z | 2022-03-16T05:58:22.000Z | from datetime import datetime
with open("./README.md", "w") as f:
f.write(f'''<p align="center">
<img src="https://readme-typing-svg.herokuapp.com?color=%23EB2754&size=40¢er=true&width=600&height=69&lines=Henlo;Sussy+baka" alt="Typing SVG">
<img src="./shrek.gif" alt="Vibin Greenies"/>
</p>
<p align="... | 89.367647 | 2,791 | 0.697384 | 885 | 6,077 | 4.760452 | 0.227119 | 0.042725 | 0.075718 | 0.080703 | 0.582008 | 0.54854 | 0.51436 | 0.479231 | 0.417755 | 0.347971 | 0 | 0.023449 | 0.087708 | 6,077 | 68 | 2,792 | 89.367647 | 0.736111 | 0 | 0 | 0.440678 | 0 | 0.322034 | 0.987496 | 0.014808 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.016949 | 0 | 0.016949 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e6b0717eb0c6ffcf32cfe7cc30c4e486c531c221 | 434 | py | Python | PwnTheBox/Hacking For Vodka.py | Don2025/CTFwriteUp | 41e0a5bf87a1a02dd1548e621853c145ff64cedb | [
"MIT"
] | 2 | 2022-03-20T02:27:59.000Z | 2022-03-20T02:28:02.000Z | PwnTheBox/Hacking For Vodka.py | Don2025/CTFwriteUp | 41e0a5bf87a1a02dd1548e621853c145ff64cedb | [
"MIT"
] | null | null | null | PwnTheBox/Hacking For Vodka.py | Don2025/CTFwriteUp | 41e0a5bf87a1a02dd1548e621853c145ff64cedb | [
"MIT"
] | null | null | null | a = [0x77, 0x60, 0x76, 0x66, 0x72, 0x77, 0x7D, 0x73, 0x60, 0x3D, 0x64, 0x60, 0x39, 0x52, 0x66, 0x3B, 0x73, 0x7A, 0x23, 0x7D, 0x73, 0x4A, 0x70, 0x78, 0x6A, 0x46, 0x69, 0x2B, 0x76, 0x68, 0x41, 0x77, 0x41, 0x42, 0x49, 0x4A, 0x4A, 0x42, 0x40, 0x48, 0x5A, 0x5A, 0x45, 0x41, 0x59, 0x03, 0x5A, 0x4A, 0x51, 0x5C, 0x4F]
flag = ''... | 86.8 | 310 | 0.670507 | 73 | 434 | 3.931507 | 0.671233 | 0.055749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.389041 | 0.158986 | 434 | 5 | 311 | 86.8 | 0.39726 | 0.117512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.534031 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e6ba5cb32c8c9200c90c0b7e93702166a725c3e6 | 11,888 | py | Python | main.py | Carlos-Bonfim/Aplicar_filtros_imagens | a49468b82fefb1b60f5ac3d5b4a0b7d8a7e8e5d6 | [
"MIT"
] | null | null | null | main.py | Carlos-Bonfim/Aplicar_filtros_imagens | a49468b82fefb1b60f5ac3d5b4a0b7d8a7e8e5d6 | [
"MIT"
] | null | null | null | main.py | Carlos-Bonfim/Aplicar_filtros_imagens | a49468b82fefb1b60f5ac3d5b4a0b7d8a7e8e5d6 | [
"MIT"
] | null | null | null | # import bibliotecas
from typing import List
import streamlit as st
import numpy as np
import cv2
from PIL import Image, ImageEnhance
from io import BytesIO
import base64
st.set_option('deprecation.showfileUploaderEncoding', False)
def get_image_download_link(img):
# Generates a link allowing the PIL image to b... | 45.201521 | 127 | 0.652759 | 1,699 | 11,888 | 4.395527 | 0.125956 | 0.08677 | 0.104446 | 0.124264 | 0.735806 | 0.735806 | 0.735806 | 0.719068 | 0.699518 | 0.664837 | 0 | 0.040625 | 0.209034 | 11,888 | 263 | 128 | 45.201521 | 0.753589 | 0.044499 | 0 | 0.488636 | 0 | 0.005682 | 0.130059 | 0.009258 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011364 | false | 0 | 0.039773 | 0 | 0.056818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e6c45c18d5a068957105efbc00418b636df5d6a5 | 141 | py | Python | AIXOR/Utils/Utils.py | scando1993/MLPXORGate | 0a1eefe32941f45be3c28b40d4f0637b23446fca | [
"BSD-3-Clause"
] | null | null | null | AIXOR/Utils/Utils.py | scando1993/MLPXORGate | 0a1eefe32941f45be3c28b40d4f0637b23446fca | [
"BSD-3-Clause"
] | null | null | null | AIXOR/Utils/Utils.py | scando1993/MLPXORGate | 0a1eefe32941f45be3c28b40d4f0637b23446fca | [
"BSD-3-Clause"
] | null | null | null | import json
def save_file(filename, obj):
with open(filename,'w') as fp:
json.dump(obj, fp)
def read_file(filename):
pass | 14.1 | 34 | 0.64539 | 22 | 141 | 4.045455 | 0.681818 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 141 | 10 | 35 | 14.1 | 0.824074 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e6d972dedf63ed5eda159191889e6b094358c096 | 209 | py | Python | src/__init__.py | transhapHigsn/neo4jFastAPI | 03edd6cd49d104f74fd3f220d9d2cf8d0551fe1e | [
"Apache-2.0"
] | 8 | 2020-08-17T20:12:03.000Z | 2022-03-18T05:15:43.000Z | src/__init__.py | transhapHigsn/neo4jFastAPI | 03edd6cd49d104f74fd3f220d9d2cf8d0551fe1e | [
"Apache-2.0"
] | 1 | 2020-08-17T20:11:28.000Z | 2020-08-31T05:40:29.000Z | src/__init__.py | transhapHigsn/neo4jFastAPI | 03edd6cd49d104f74fd3f220d9d2cf8d0551fe1e | [
"Apache-2.0"
] | 2 | 2020-08-17T20:12:06.000Z | 2020-09-09T07:31:54.000Z | from neo4j import GraphDatabase
from src.config import get_config
driver = GraphDatabase.driver(
get_config('neo4j', 'uri'),
auth=(
get_config('neo4j', 'username'),
get_config('neo4j', 'password')
)
)
| 19 | 34 | 0.717703 | 26 | 209 | 5.615385 | 0.461538 | 0.246575 | 0.287671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022099 | 0.133971 | 209 | 10 | 35 | 20.9 | 0.78453 | 0 | 0 | 0 | 0 | 0 | 0.162679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.222222 | 0 | 0.222222 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e6fea186748fb91e3c2bf23506a0adaae3ab65ff | 239 | py | Python | setup.py | jeremyadavis/crdc-api | 0539d2ac8cd50d855928b5fc18cc57ecb020c65a | [
"MIT"
] | null | null | null | setup.py | jeremyadavis/crdc-api | 0539d2ac8cd50d855928b5fc18cc57ecb020c65a | [
"MIT"
] | null | null | null | setup.py | jeremyadavis/crdc-api | 0539d2ac8cd50d855928b5fc18cc57ecb020c65a | [
"MIT"
] | null | null | null | # from setuptools import setup
# setup(
# name='crdc_api',
# version='0.1.0',
# packages=['crdc_api'],
# entry_points={
# 'console_scripts': [
# 'crdc_api = crdc_api.__main__:main'
# ]
# })
| 19.916667 | 49 | 0.514644 | 25 | 239 | 4.52 | 0.64 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018293 | 0.313808 | 239 | 11 | 50 | 21.727273 | 0.670732 | 0.90795 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fc064455be36cfe26117121448bf6429ea90d838 | 1,242 | py | Python | TaobaoCrawler(new)/test/postman测试.py | Twentyfour2021/ECommerceCrawlers | 901d1393382a6a121d476074586da2b994e1d4dd | [
"MIT"
] | 3,469 | 2019-04-09T12:06:38.000Z | 2022-03-31T14:06:43.000Z | TaobaoCrawler(new)/test/postman测试.py | Twentyfour2021/ECommerceCrawlers | 901d1393382a6a121d476074586da2b994e1d4dd | [
"MIT"
] | 48 | 2019-06-16T09:24:01.000Z | 2022-03-12T00:03:32.000Z | TaobaoCrawler(new)/test/postman测试.py | Twentyfour2021/ECommerceCrawlers | 901d1393382a6a121d476074586da2b994e1d4dd | [
"MIT"
] | 1,069 | 2019-04-30T14:17:18.000Z | 2022-03-31T07:12:48.000Z | import requests
url = "https://h5api.m.taobao.com/h5/mtop.alimama.union.sem.landing.pc.items/1.0/?jsv=2.4.0&appKey=12574478&t=1582716745850&sign=1b91fff529136fed287df8f0056cecd6&api=mtop.alimama.union.sem.landing.pc.items&v=1.0&AntiCreep=true&dataType=jsonp&type=jsonp&ecode=0&callback=mtopjsonp2&data=%7B%22keyword%22%... | 95.538462 | 983 | 0.788245 | 228 | 1,242 | 4.254386 | 0.434211 | 0.090722 | 0.11134 | 0.140206 | 0.23299 | 0.068041 | 0.068041 | 0 | 0 | 0 | 0 | 0.30198 | 0.024155 | 1,242 | 12 | 984 | 103.5 | 0.49835 | 0 | 0 | 0 | 0 | 0.125 | 0.874396 | 0.08132 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fc3f71be83dd0e8341c5927688c47a87f47fd4ee | 29 | py | Python | feedback/tests/__init__.py | everyvoter/everyvoter | 65d9b8bdf9b5c64057135c279f6e03b6c207e0fa | [
"MIT"
] | 5 | 2019-07-01T17:50:44.000Z | 2022-02-20T02:44:42.000Z | feedback/tests/__init__.py | everyvoter/everyvoter | 65d9b8bdf9b5c64057135c279f6e03b6c207e0fa | [
"MIT"
] | 3 | 2020-06-05T21:44:33.000Z | 2021-06-10T21:39:26.000Z | feedback/tests/__init__.py | everyvoter/everyvoter | 65d9b8bdf9b5c64057135c279f6e03b6c207e0fa | [
"MIT"
] | 1 | 2021-12-09T06:32:40.000Z | 2021-12-09T06:32:40.000Z | """Tests for feedback app"""
| 14.5 | 28 | 0.655172 | 4 | 29 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.76 | 0.758621 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fc419b40610b35f9c4e9d26a70769ace5e041d58 | 1,832 | py | Python | test/test_ezsigndocument_get_ezsignpages_v1_response.py | ezmaxinc/eZmax-SDK-python | 6794b8001abfb7d9ae18a3b87aba164839b925a0 | [
"MIT"
] | null | null | null | test/test_ezsigndocument_get_ezsignpages_v1_response.py | ezmaxinc/eZmax-SDK-python | 6794b8001abfb7d9ae18a3b87aba164839b925a0 | [
"MIT"
] | null | null | null | test/test_ezsigndocument_get_ezsignpages_v1_response.py | ezmaxinc/eZmax-SDK-python | 6794b8001abfb7d9ae18a3b87aba164839b925a0 | [
"MIT"
] | null | null | null | """
eZmax API Definition (Full)
This API expose all the functionnalities for the eZmax and eZsign applications. # noqa: E501
The version of the OpenAPI document: 1.1.7
Contact: support-api@ezmax.ca
Generated by: https://openapi-generator.tech
"""
import sys
import unittest
import eZmaxApi
from... | 38.978723 | 126 | 0.819323 | 159 | 1,832 | 9.238994 | 0.465409 | 0.049013 | 0.069435 | 0.046971 | 0.186521 | 0.165419 | 0.165419 | 0.112321 | 0 | 0 | 0 | 0.014879 | 0.119541 | 1,832 | 46 | 127 | 39.826087 | 0.895846 | 0.258188 | 0 | 0.130435 | 0 | 0 | 0.12282 | 0.106141 | 0 | 0 | 0 | 0.021739 | 0 | 1 | 0.130435 | false | 0.130435 | 0.391304 | 0 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
fc42cf4f99e3e989028ee858ef73a6d7e1a753c2 | 7,615 | py | Python | scanners/udp-probe.py | dev-zzo/pwn-tools | bb7a6ff42ec6945da3373e53d35836b22ce38413 | [
"Unlicense"
] | 7 | 2015-12-21T19:04:54.000Z | 2020-05-14T12:12:03.000Z | scanners/udp-probe.py | dev-zzo/pwn-tools | bb7a6ff42ec6945da3373e53d35836b22ce38413 | [
"Unlicense"
] | null | null | null | scanners/udp-probe.py | dev-zzo/pwn-tools | bb7a6ff42ec6945da3373e53d35836b22ce38413 | [
"Unlicense"
] | null | null | null | #!/usr/bin/python
"""
UDP Service Scanner version 0.1 by dev_zzo
This work has largely been inspired by:
https://github.com/portcullislabs/udp-proto-scanner
As is, this is more like a prober than scanner;
it operates using predefined probes for each known protocol.
"""
import argparse
import socket
import struct
im... | 41.38587 | 457 | 0.601838 | 1,222 | 7,615 | 3.685761 | 0.279869 | 0.342362 | 0.453597 | 0.55151 | 0.285968 | 0.271758 | 0.260213 | 0.234458 | 0.212478 | 0.188499 | 0 | 0.225561 | 0.222193 | 7,615 | 183 | 458 | 41.612022 | 0.534864 | 0.098096 | 0 | 0.069767 | 0 | 0.100775 | 0.4407 | 0.367949 | 0 | 0 | 0.001157 | 0 | 0 | 1 | 0.062016 | false | 0.007752 | 0.031008 | 0.031008 | 0.139535 | 0.085271 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fc4bf91c20a190907ea0d89defa2cfc6731d05ba | 138 | py | Python | stellar/__init__.py | kevinjqiu/stellar | 32cd40723b481cbd52722f73749b5d1f3e3971bd | [
"MIT"
] | 932 | 2015-01-01T16:51:32.000Z | 2022-03-14T05:12:52.000Z | stellar/__init__.py | orf/stellar | 2d0630f005186bab207c104d14f3430e176ca2a5 | [
"MIT"
] | 43 | 2015-01-05T13:31:30.000Z | 2021-10-12T17:24:07.000Z | stellar/__init__.py | orf/stellar | 2d0630f005186bab207c104d14f3430e176ca2a5 | [
"MIT"
] | 64 | 2015-01-02T14:44:22.000Z | 2021-12-10T18:47:44.000Z | from . import app
from . import command
from . import config
from . import models
from . import operations
__version__ = app.__version__
| 17.25 | 29 | 0.775362 | 18 | 138 | 5.5 | 0.444444 | 0.505051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 138 | 7 | 30 | 19.714286 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fc86d035eb620c343578585696eef3ed77ff8e13 | 163 | py | Python | shoottikala/models/__init__.py | conikuvat/shootti-ilmo | bf5ab15e20173994bac25e6b5cd3aec42f671f05 | [
"MIT"
] | null | null | null | shoottikala/models/__init__.py | conikuvat/shootti-ilmo | bf5ab15e20173994bac25e6b5cd3aec42f671f05 | [
"MIT"
] | 9 | 2017-02-15T20:36:49.000Z | 2017-05-26T12:10:43.000Z | shoottikala/models/__init__.py | conikuvat/shootti-ilmo | bf5ab15e20173994bac25e6b5cd3aec42f671f05 | [
"MIT"
] | null | null | null | # flake8: noqa
from .day import Day
from .event import Event
from .cosplayer import Cosplayer
from .photographer import Photographer
from .message import Message
| 20.375 | 38 | 0.809816 | 22 | 163 | 6 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.147239 | 163 | 7 | 39 | 23.285714 | 0.942446 | 0.07362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fc8fd82de6f6b33469ee774334b88eaa9a0c5baf | 843 | py | Python | shop/migrations/0004_orders.py | bpmaurya/Ecom-website | 6fd166918be254214069ad3fe3c81537cd5d5392 | [
"MIT"
] | 2 | 2020-11-02T11:00:22.000Z | 2020-12-30T19:01:32.000Z | shop/migrations/0004_orders.py | bpmaurya/Ecom-website | 6fd166918be254214069ad3fe3c81537cd5d5392 | [
"MIT"
] | 10 | 2020-12-30T17:38:13.000Z | 2022-01-13T03:26:42.000Z | shop/migrations/0004_orders.py | bpmaurya/Ecom-website | 6fd166918be254214069ad3fe3c81537cd5d5392 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.7 on 2020-07-14 12:30
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('shop', '0003_contact'),
]
operations = [
migrations.CreateModel(
name='Orders',
fields=[
('order_id'... | 31.222222 | 82 | 0.553974 | 85 | 843 | 5.352941 | 0.588235 | 0.230769 | 0.276923 | 0.369231 | 0.296703 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068143 | 0.303677 | 843 | 26 | 83 | 32.423077 | 0.706985 | 0.053381 | 0 | 0 | 1 | 0 | 0.091709 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fca5589b5b38cb6a5ee7907622c07015a84392d7 | 122 | py | Python | 2. Backend/2.2. Django/django-mysql-integration-with-custom-validation-and-errors/my_app/admin.py | noreply-developers-pdm/Codesnipp | 126f39b24e5f3b39862c38cd55c946ce5f9f9af8 | [
"MIT"
] | 1 | 2018-12-25T21:10:02.000Z | 2018-12-25T21:10:02.000Z | 2. Backend/2.2. Django/django-mysql-integration-with-custom-validation-and-errors/my_app/admin.py | noreply-developers-pdm/Codesnipp | 126f39b24e5f3b39862c38cd55c946ce5f9f9af8 | [
"MIT"
] | 2 | 2019-10-01T16:07:46.000Z | 2019-10-01T16:07:47.000Z | 2. Backend/2.2. Django/django-mysql-integration-with-custom-validation-and-errors/my_app/admin.py | noreply-developers-pdm/Codesnipp | 126f39b24e5f3b39862c38cd55c946ce5f9f9af8 | [
"MIT"
] | 4 | 2020-09-01T02:22:44.000Z | 2020-10-07T12:14:58.000Z | from django.contrib import admin
from .models import InfoModel
# Register your models here.
admin.site.register(InfoModel) | 30.5 | 32 | 0.827869 | 17 | 122 | 5.941176 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 122 | 4 | 33 | 30.5 | 0.926606 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5d7e5aac4a6856a85625b8a64480cac6299c5dab | 313 | py | Python | updater/reports/repository/ReportRepository.py | steffen/hubble | eff5fcacfa8b4776b0a198eb324dd6df65df83e6 | [
"MIT"
] | null | null | null | updater/reports/repository/ReportRepository.py | steffen/hubble | eff5fcacfa8b4776b0a198eb324dd6df65df83e6 | [
"MIT"
] | null | null | null | updater/reports/repository/ReportRepository.py | steffen/hubble | eff5fcacfa8b4776b0a198eb324dd6df65df83e6 | [
"MIT"
] | null | null | null | from ..Report import *
# Abstract base class for all repository reports
class ReportRepository(Report):
def metaName(self):
return self.repository + "/" + self.name()
def fileName(self):
return os.path.join(self.dataDirectory, "repository", self.repositoryOwner, self.repositoryName, self.name() + ".tsv") | 34.777778 | 120 | 0.741214 | 38 | 313 | 6.105263 | 0.631579 | 0.086207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124601 | 313 | 9 | 120 | 34.777778 | 0.846715 | 0.146965 | 0 | 0 | 0 | 0 | 0.056391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5dc55546919e7a44a4e49ea26a4b32c227b2dc28 | 173 | py | Python | Python/fizz-buzz.py | kuanhungchen/leetcode-practice | b75e773ada60b685da1576ae5f2234b70bc27842 | [
"CNRI-Python"
] | 1 | 2020-04-29T06:19:44.000Z | 2020-04-29T06:19:44.000Z | Python/fizz-buzz.py | kuanhungchen/leetcode-practice | b75e773ada60b685da1576ae5f2234b70bc27842 | [
"CNRI-Python"
] | null | null | null | Python/fizz-buzz.py | kuanhungchen/leetcode-practice | b75e773ada60b685da1576ae5f2234b70bc27842 | [
"CNRI-Python"
] | null | null | null | class Solution:
def fizzBuzz(self, n):
return ["FizzBuzz" if i % 15 == 0 else "Fizz" if i % 3 == 0 else "Buzz" if i % 5 == 0 else str(i) for i in range(1, n+1)]
| 43.25 | 129 | 0.560694 | 34 | 173 | 2.852941 | 0.617647 | 0.092784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072 | 0.277457 | 173 | 3 | 130 | 57.666667 | 0.704 | 0 | 0 | 0 | 0 | 0 | 0.092486 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5dc7e9c11c71b6bafd6a35afdfaf4728bcc51ae5 | 5,577 | py | Python | exot/channel/covertchannels.py | ETHZ-TEC/exot_eengine | 7b7ce6cb949e1b0a02e716b03f2f9af751713b29 | [
"BSD-3-Clause"
] | null | null | null | exot/channel/covertchannels.py | ETHZ-TEC/exot_eengine | 7b7ce6cb949e1b0a02e716b03f2f9af751713b29 | [
"BSD-3-Clause"
] | null | null | null | exot/channel/covertchannels.py | ETHZ-TEC/exot_eengine | 7b7ce6cb949e1b0a02e716b03f2f9af751713b29 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2015-2020, Swiss Federal Institute of Technology (ETH Zurich)
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright... | 25.819444 | 96 | 0.649632 | 682 | 5,577 | 5.249267 | 0.368035 | 0.052235 | 0.035196 | 0.035196 | 0.291899 | 0.256983 | 0.217039 | 0.200279 | 0.188268 | 0.164804 | 0 | 0.011985 | 0.251928 | 5,577 | 215 | 97 | 25.939535 | 0.846117 | 0.389815 | 0 | 0.565657 | 0 | 0 | 0.064048 | 0.032684 | 0 | 0 | 0 | 0.009302 | 0 | 1 | 0.20202 | false | 0.060606 | 0.121212 | 0.121212 | 0.606061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
5de24e04dbbbef7978da870bbb4db1ceea80cf8d | 132 | py | Python | main.py | tobiassernhede/MixxTape | e87c626e5a8503a0cbf6ac478b88b49a3053ea40 | [
"MIT"
] | null | null | null | main.py | tobiassernhede/MixxTape | e87c626e5a8503a0cbf6ac478b88b49a3053ea40 | [
"MIT"
] | null | null | null | main.py | tobiassernhede/MixxTape | e87c626e5a8503a0cbf6ac478b88b49a3053ea40 | [
"MIT"
] | null | null | null | from lib import setup # import the setup.py in lib
if __name__ == '__main__':
setup.runServer() # if is mainfile run the server | 33 | 53 | 0.719697 | 21 | 132 | 4.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 132 | 4 | 53 | 33 | 0.820755 | 0.424242 | 0 | 0 | 0 | 0 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b90a217df4cc62da936ddef4f956def17a71d5b8 | 146 | py | Python | cardflip/card/forms.py | themillennialkingdom/framework | 7d25702f6a69fdcc3dd384599b3495bdb0418477 | [
"MIT"
] | null | null | null | cardflip/card/forms.py | themillennialkingdom/framework | 7d25702f6a69fdcc3dd384599b3495bdb0418477 | [
"MIT"
] | null | null | null | cardflip/card/forms.py | themillennialkingdom/framework | 7d25702f6a69fdcc3dd384599b3495bdb0418477 | [
"MIT"
] | 1 | 2019-10-22T15:04:38.000Z | 2019-10-22T15:04:38.000Z | from django import forms
from .models import User
class Signup_form(forms.ModelForm):
class Meta:
model=User
fields='__all__' | 20.857143 | 35 | 0.69863 | 19 | 146 | 5.105263 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232877 | 146 | 7 | 36 | 20.857143 | 0.866071 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b911137f8cf4ba6598e87be12e94a4ebe3e76e7e | 92 | py | Python | webapp/naccbisapp/apps.py | troymoench/naccbis | 87fd79a79e9ae189236781fa4682811c1da6480f | [
"MIT"
] | 1 | 2019-02-28T18:46:40.000Z | 2019-02-28T18:46:40.000Z | webapp/naccbisapp/apps.py | troymoench/naccbis | 87fd79a79e9ae189236781fa4682811c1da6480f | [
"MIT"
] | 19 | 2018-04-17T04:47:40.000Z | 2022-02-10T10:40:07.000Z | webapp/naccbisapp/apps.py | troymoench/naccbis | 87fd79a79e9ae189236781fa4682811c1da6480f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class NaccbisConfig(AppConfig):
name = 'naccbisapp'
| 15.333333 | 33 | 0.76087 | 10 | 92 | 7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f8dc48daaa59b3d3be347f4b8f11220153088839 | 627 | py | Python | courses/backend/django-for-everybody/Web Application Technologies and Django/resources/dj4e-samples/crispy/forms.py | Nahid-Hassan/fullstack-software-development | 892ffb33e46795061ea63378279a6469de317b1a | [
"CC0-1.0"
] | 297 | 2019-01-25T08:44:08.000Z | 2022-03-29T18:46:08.000Z | courses/backend/django-for-everybody/Web Application Technologies and Django/resources/dj4e-samples/crispy/forms.py | Nahid-Hassan/fullstack-software-development | 892ffb33e46795061ea63378279a6469de317b1a | [
"CC0-1.0"
] | 22 | 2019-05-06T14:21:04.000Z | 2022-02-21T10:05:25.000Z | courses/backend/django-for-everybody/Web Application Technologies and Django/resources/dj4e-samples/crispy/forms.py | Nahid-Hassan/fullstack-software-development | 892ffb33e46795061ea63378279a6469de317b1a | [
"CC0-1.0"
] | 412 | 2019-02-12T20:44:43.000Z | 2022-03-30T04:23:25.000Z | from django import forms
from django.core.exceptions import ValidationError
from django.core import validators
class BasicForm(forms.Form):
title = forms.CharField(validators=[
validators.MinLengthValidator(2, "Please enter 2 or more characters")
])
mileage = forms.IntegerField()
purchase_date ... | 33 | 90 | 0.752791 | 84 | 627 | 5.607143 | 0.47619 | 0.076433 | 0.186837 | 0.212314 | 0.303609 | 0.303609 | 0.303609 | 0.303609 | 0.235669 | 0 | 0 | 0.017953 | 0.111643 | 627 | 18 | 91 | 34.833333 | 0.827648 | 0.432217 | 0 | 0 | 0 | 0 | 0.095101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f8fccc4f7c7526a5302f464393c5bcadc01e6c82 | 83 | py | Python | shet/apps.py | SurajPatidar201198/Assignment-2 | 628d0774419ced312cf2b79d3de883fa48774a9c | [
"MIT"
] | null | null | null | shet/apps.py | SurajPatidar201198/Assignment-2 | 628d0774419ced312cf2b79d3de883fa48774a9c | [
"MIT"
] | null | null | null | shet/apps.py | SurajPatidar201198/Assignment-2 | 628d0774419ced312cf2b79d3de883fa48774a9c | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ShetConfig(AppConfig):
name = 'shet'
| 13.833333 | 33 | 0.73494 | 10 | 83 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 34 | 16.6 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5d0716217c00bd34e0efbbc174e31d7552bee275 | 50 | py | Python | signals.py | BontaVlad/jira-cli | 263473400e6b1842af531002d23af1ed4b56bfba | [
"MIT"
] | null | null | null | signals.py | BontaVlad/jira-cli | 263473400e6b1842af531002d23af1ed4b56bfba | [
"MIT"
] | null | null | null | signals.py | BontaVlad/jira-cli | 263473400e6b1842af531002d23af1ed4b56bfba | [
"MIT"
] | null | null | null | from blinker import signal
echo = signal('echo')
| 12.5 | 26 | 0.74 | 7 | 50 | 5.285714 | 0.714286 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 3 | 27 | 16.666667 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5d0f4cf01f04f55b63f3ad5fed7904b4ef89a735 | 1,268 | py | Python | pymitblod/institution.py | slimcdk/pymitblod | 8bae9401abec73e53a0687a5429b215722076b39 | [
"Apache-2.0"
] | null | null | null | pymitblod/institution.py | slimcdk/pymitblod | 8bae9401abec73e53a0687a5429b215722076b39 | [
"Apache-2.0"
] | null | null | null | pymitblod/institution.py | slimcdk/pymitblod | 8bae9401abec73e53a0687a5429b215722076b39 | [
"Apache-2.0"
] | null | null | null | '''
All model classes for pymitblod
'''
from .url import Url
class Institution():
'''
Class representing an institution.
'''
def __init__(
self,
id:int,
name:str,
domain:Url,
login_form:dict=None
):
self._domain = domain
... | 23.054545 | 85 | 0.620662 | 149 | 1,268 | 4.959732 | 0.295302 | 0.097429 | 0.105548 | 0.11502 | 0.301759 | 0.301759 | 0.301759 | 0.301759 | 0.159675 | 0.159675 | 0 | 0 | 0.263407 | 1,268 | 55 | 86 | 23.054545 | 0.791221 | 0.05205 | 0 | 0 | 0 | 0 | 0.083051 | 0.019492 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.066667 | 0.033333 | 0.233333 | 0.633333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
5d28b79b30c42f5bafe9bf5a3b38e50fa013b6b5 | 1,016 | py | Python | telemetry/telemetry/internal/platform/tracing_agent/chrome_report_events_tracing_agent.py | BearerPipelineTest/catapult | 3800a67cd916200046a50748893bbd0dcf3d7f4a | [
"BSD-3-Clause"
] | null | null | null | telemetry/telemetry/internal/platform/tracing_agent/chrome_report_events_tracing_agent.py | BearerPipelineTest/catapult | 3800a67cd916200046a50748893bbd0dcf3d7f4a | [
"BSD-3-Clause"
] | null | null | null | telemetry/telemetry/internal/platform/tracing_agent/chrome_report_events_tracing_agent.py | BearerPipelineTest/catapult | 3800a67cd916200046a50748893bbd0dcf3d7f4a | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from __future__ import absolute_import
from telemetry.internal.platform.tracing_agent import chrome_tracing_agent
# A class that uses ReportEvents mode for... | 35.034483 | 78 | 0.772638 | 126 | 1,016 | 6.063492 | 0.666667 | 0.062827 | 0.070681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01308 | 0.172244 | 1,016 | 28 | 79 | 36.285714 | 0.895363 | 0.38189 | 0 | 0 | 0 | 0 | 0.030645 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.266667 | false | 0.066667 | 0.133333 | 0.133333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
5d297340cfadfeecc22a429a2495b60ce37bdc0a | 159 | py | Python | cm/html/attachment/__init__.py | likwoka/ak | e6ac14e202e5a0d8f1b57e3e1a5c5a1ed9ecc14b | [
"Apache-2.0"
] | null | null | null | cm/html/attachment/__init__.py | likwoka/ak | e6ac14e202e5a0d8f1b57e3e1a5c5a1ed9ecc14b | [
"Apache-2.0"
] | null | null | null | cm/html/attachment/__init__.py | likwoka/ak | e6ac14e202e5a0d8f1b57e3e1a5c5a1ed9ecc14b | [
"Apache-2.0"
] | null | null | null | from cm.html.attachment.index import browse, _q_index, \
download, upload, _q_lookup, attach_to
_q_exports = ['browse', 'download', 'upload', 'attach_to']
| 19.875 | 58 | 0.72956 | 22 | 159 | 4.909091 | 0.636364 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125786 | 159 | 7 | 59 | 22.714286 | 0.776978 | 0 | 0 | 0 | 0 | 0 | 0.185897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5d369dcd0785c398e2d42af0494afc3ae8273d15 | 103 | py | Python | simplemfa/admin.py | mwhawkins/django-simple-mfa | 58b5188473a776f5fcebda9843e2147123dce59f | [
"MIT"
] | 3 | 2020-07-17T09:14:09.000Z | 2020-12-15T09:26:56.000Z | simplemfa/admin.py | mwhawkins/django-simple-mfa | 58b5188473a776f5fcebda9843e2147123dce59f | [
"MIT"
] | 1 | 2020-11-25T10:41:02.000Z | 2020-11-25T10:41:02.000Z | simplemfa/admin.py | mwhawkins/django-simple-mfa | 58b5188473a776f5fcebda9843e2147123dce59f | [
"MIT"
] | 2 | 2020-11-25T10:47:20.000Z | 2021-11-04T15:41:21.000Z | from django.contrib import admin
from simplemfa.models import AuthCode
admin.site.register(AuthCode)
| 17.166667 | 37 | 0.834951 | 14 | 103 | 6.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106796 | 103 | 5 | 38 | 20.6 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5d36cb216c3680d2a0444496897bbd952d449285 | 601 | py | Python | test/unit/v0/deps.py | KernelErr/b2-sdk-python | 5310ebdf29f073895f34ffe58893fc50ebdd8c83 | [
"MIT"
] | 128 | 2019-02-02T17:53:23.000Z | 2022-03-28T09:28:35.000Z | test/unit/v0/deps.py | KernelErr/b2-sdk-python | 5310ebdf29f073895f34ffe58893fc50ebdd8c83 | [
"MIT"
] | 168 | 2019-02-26T22:14:16.000Z | 2022-03-27T06:25:28.000Z | test/unit/v0/deps.py | KernelErr/b2-sdk-python | 5310ebdf29f073895f34ffe58893fc50ebdd8c83 | [
"MIT"
] | 52 | 2019-01-28T16:40:56.000Z | 2022-03-14T19:55:05.000Z | ######################################################################
#
# File: test/unit/v0/deps.py
#
# Copyright 2019 Backblaze Inc. All Rights Reserved.
#
# License https://www.backblaze.com/using_b2_code.html
#
######################################################################
# TODO: This module is used in o... | 35.352941 | 95 | 0.572379 | 76 | 601 | 4.473684 | 0.789474 | 0.070588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015123 | 0.1198 | 601 | 16 | 96 | 37.5625 | 0.627599 | 0.678869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5d3e64ead213de4d83cf483a3eff27875f5f549b | 2,473 | py | Python | tensorflow_probability/python/__init__.py | bolcom/probability | 4a11efad1ecd8a1336e4c9fdb0105efbf2375ad7 | [
"Apache-2.0"
] | 1 | 2019-10-10T06:15:42.000Z | 2019-10-10T06:15:42.000Z | tensorflow_probability/python/__init__.py | bolcom/probability | 4a11efad1ecd8a1336e4c9fdb0105efbf2375ad7 | [
"Apache-2.0"
] | null | null | null | tensorflow_probability/python/__init__.py | bolcom/probability | 4a11efad1ecd8a1336e4c9fdb0105efbf2375ad7 | [
"Apache-2.0"
] | 1 | 2019-10-10T06:15:44.000Z | 2019-10-10T06:15:44.000Z | # Copyright 2018 The TensorFlow Probability Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 36.910448 | 109 | 0.763445 | 286 | 2,473 | 6.402098 | 0.381119 | 0.206445 | 0.250683 | 0.25396 | 0.356636 | 0.093938 | 0 | 0 | 0 | 0 | 0 | 0.005642 | 0.139911 | 2,473 | 66 | 110 | 37.469697 | 0.855195 | 0.317428 | 0 | 0 | 0 | 0 | 0.170966 | 0.106179 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 0.022222 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5d5abaf28a41e21ff0840bc3deec07e68068d370 | 63 | py | Python | .history/postImages/index_20201005142229.py | Lambda-School-Labs/Labs27-C-Bridges-To-Prosperity-BE | 9a8289d8550115362c46dea3ed8570b789c09a10 | [
"MIT"
] | 2 | 2020-10-21T22:14:15.000Z | 2020-10-21T22:14:16.000Z | .history/postImages/index_20201005142229.py | Lambda-School-Labs/Labs27-C-Bridges-To-Prosperity-BE | 9a8289d8550115362c46dea3ed8570b789c09a10 | [
"MIT"
] | null | null | null | .history/postImages/index_20201005142229.py | Lambda-School-Labs/Labs27-C-Bridges-To-Prosperity-BE | 9a8289d8550115362c46dea3ed8570b789c09a10 | [
"MIT"
] | null | null | null | import pandas as pd
df = pd.read_excel("bridgeData2.xlsx")
\ | 12.6 | 38 | 0.714286 | 10 | 63 | 4.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.15873 | 63 | 5 | 39 | 12.6 | 0.811321 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5d5c64188639376bb08391268139af88ec2ee44a | 706 | py | Python | docs/user_guide/operation/scripts/examples/argus/post_equilibration/jan/PumpMicrobone.py | ASUPychron/pychron | dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76 | [
"Apache-2.0"
] | 31 | 2016-03-07T02:38:17.000Z | 2022-02-14T18:23:43.000Z | docs/user_guide/operation/scripts/examples/argus/post_equilibration/jan/PumpMicrobone.py | ASUPychron/pychron | dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76 | [
"Apache-2.0"
] | 1,626 | 2015-01-07T04:52:35.000Z | 2022-03-25T19:15:59.000Z | docs/user_guide/operation/scripts/examples/argus/post_equilibration/jan/PumpMicrobone.py | UIllinoisHALPychron/pychron | f21b79f4592a9fb9dc9a4cb2e4e943a3885ededc | [
"Apache-2.0"
] | 26 | 2015-05-23T00:10:06.000Z | 2022-03-07T16:51:57.000Z | '''
'''
def main():
info('Pump Microbone')
close(description="Jan Inlet")
if is_closed('F'):
open(description= 'Microbone to CO2 Laser')
else:
close(name="T", description="Microbone to CO2 Laser")
sleep(1)
close(description= 'CO2 Laser to Roughing')
#close(description... | 30.695652 | 61 | 0.63881 | 82 | 706 | 5.47561 | 0.45122 | 0.356347 | 0.391982 | 0.347439 | 0.36971 | 0.302895 | 0 | 0 | 0 | 0 | 0 | 0.025783 | 0.230878 | 706 | 23 | 62 | 30.695652 | 0.801105 | 0.126062 | 0 | 0.125 | 0 | 0 | 0.34647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | true | 0 | 0 | 0 | 0.0625 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
538642e57be9fbd568f1bb61a054a68216db8c72 | 1,245 | py | Python | PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/clear_buffer_object.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/clear_buffer_object.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/clear_buffer_object.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | '''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p, constants as _cs, arrays
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_ARB_clear_buffer_object'
def _f( function ):
return _p.createFunction( function,_p.GL,'GL_ARB_clear_buffer_object',False)
@_f
@_p.... | 46.111111 | 114 | 0.804016 | 175 | 1,245 | 5.44 | 0.342857 | 0.117647 | 0.115546 | 0.151261 | 0.409664 | 0.340336 | 0.340336 | 0.338235 | 0.338235 | 0.261555 | 0 | 0 | 0.075502 | 1,245 | 26 | 115 | 47.884615 | 0.827107 | 0.093976 | 0 | 0.190476 | 1 | 0 | 0.046553 | 0.046553 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.190476 | 0.190476 | 0.047619 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
539d9252ef49499068ac188b1f90466bf0595b40 | 863 | py | Python | eth_utils/functional.py | TokenMarketNet/ethereum-utils | d58ff2d7151b80b41ef0b79bfe2c780b186f024c | [
"MIT"
] | 1 | 2018-02-09T01:30:27.000Z | 2018-02-09T01:30:27.000Z | eth_utils/functional.py | TokenMarketNet/ethereum-utils | d58ff2d7151b80b41ef0b79bfe2c780b186f024c | [
"MIT"
] | null | null | null | eth_utils/functional.py | TokenMarketNet/ethereum-utils | d58ff2d7151b80b41ef0b79bfe2c780b186f024c | [
"MIT"
] | 2 | 2017-06-13T15:17:09.000Z | 2021-06-17T11:09:32.000Z | import functools
import itertools
import collections
def identity(value):
return value
def combine(f, g):
return lambda x: f(g(x))
def compose(*functions):
return functools.reduce(combine, reversed(functions), identity)
def apply_to_return_value(callback):
def outer(fn):
@functools.wraps... | 24.657143 | 88 | 0.754345 | 121 | 863 | 5.07438 | 0.305785 | 0.161238 | 0.169381 | 0.234528 | 0.254072 | 0.18241 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150637 | 863 | 34 | 89 | 25.382353 | 0.837653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.130435 | 0.173913 | 0.652174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
53bede9bc9da4dee03a1936c07d3bdedacb1192e | 145 | py | Python | app_polls/graphql/__types.py | Audiotuete/backend_wagtail_api | 3c5a4a610ffdbb75d45a57fc670e2ae3b7178c62 | [
"MIT"
] | null | null | null | app_polls/graphql/__types.py | Audiotuete/backend_wagtail_api | 3c5a4a610ffdbb75d45a57fc670e2ae3b7178c62 | [
"MIT"
] | null | null | null | app_polls/graphql/__types.py | Audiotuete/backend_wagtail_api | 3c5a4a610ffdbb75d45a57fc670e2ae3b7178c62 | [
"MIT"
] | null | null | null | from graphene_django import DjangoObjectType
#Models
from ..models import Poll
class PollType(DjangoObjectType):
class Meta:
model = Poll | 18.125 | 44 | 0.786207 | 17 | 145 | 6.647059 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158621 | 145 | 8 | 45 | 18.125 | 0.92623 | 0.041379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
53e124cc2df21f290360a84d40875219de4b6ac1 | 215 | py | Python | joint_teapot/__main__.py | BoYanZh/joint-teapot | 9eefd8bc01024a2dd74df10295c5b4411aad0645 | [
"MIT"
] | 2 | 2021-06-10T15:40:25.000Z | 2021-06-12T14:24:28.000Z | joint_teapot/__main__.py | BoYanZh/joint-teapot | 9eefd8bc01024a2dd74df10295c5b4411aad0645 | [
"MIT"
] | null | null | null | joint_teapot/__main__.py | BoYanZh/joint-teapot | 9eefd8bc01024a2dd74df10295c5b4411aad0645 | [
"MIT"
] | 2 | 2021-09-15T16:09:59.000Z | 2021-09-15T16:11:32.000Z | from joint_teapot.app import app
from joint_teapot.utils.logger import logger as logger
if __name__ == "__main__":
try:
app()
except Exception:
logger.exception("Unexpected error:")
| 23.888889 | 55 | 0.669767 | 26 | 215 | 5.153846 | 0.615385 | 0.134328 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246512 | 215 | 8 | 56 | 26.875 | 0.82716 | 0 | 0 | 0 | 0 | 0 | 0.120773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
54cbc24981d5a2d2130c8388e8a1a941fcac1878 | 233 | py | Python | podmena/parser.py | bmwant/podmena | cb3a6f6e9a3882f0ff5c081f226d93607fbbd1c9 | [
"Unlicense"
] | 50 | 2018-04-10T22:26:09.000Z | 2021-12-02T16:14:24.000Z | podmena/parser.py | bmwant/podmena | cb3a6f6e9a3882f0ff5c081f226d93607fbbd1c9 | [
"Unlicense"
] | 1 | 2018-04-11T15:37:36.000Z | 2018-04-25T14:06:57.000Z | podmena/parser.py | bmwant/podmena | cb3a6f6e9a3882f0ff5c081f226d93607fbbd1c9 | [
"Unlicense"
] | 3 | 2019-02-28T11:43:55.000Z | 2019-11-26T14:07:03.000Z | import re
class RegexParser(object):
def __init__(self):
self.pattern = re.compile(
r'<span .+></span>:<span .+>([\w_]+)</span>:</div>')
def parse(self, text):
return self.pattern.findall(text)
| 21.181818 | 64 | 0.562232 | 28 | 233 | 4.5 | 0.642857 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240343 | 233 | 10 | 65 | 23.3 | 0.711864 | 0 | 0 | 0 | 0 | 0 | 0.206009 | 0.107296 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
54f3689d553f827f8afa1e2b6fa3dbb0578a13c7 | 96 | py | Python | src/gs_shipping/apps.py | pygaur/gsshop | 87a25239ebd3d15f67057865b66d07d6857f6084 | [
"Apache-2.0"
] | 2 | 2020-04-14T19:22:13.000Z | 2020-08-18T17:08:33.000Z | src/gs_shipping/apps.py | pygaur/gsshop | 87a25239ebd3d15f67057865b66d07d6857f6084 | [
"Apache-2.0"
] | 8 | 2020-05-25T14:05:45.000Z | 2022-03-12T00:46:30.000Z | src/gs_shipping/apps.py | pygaur/gsshop | 87a25239ebd3d15f67057865b66d07d6857f6084 | [
"Apache-2.0"
] | 1 | 2020-04-14T19:22:18.000Z | 2020-04-14T19:22:18.000Z | from django.apps import AppConfig
class GsShippingConfig(AppConfig):
name = 'gs_shipping'
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
07152a05d819e3daf7d6bdfd326e84d25e92ec54 | 117 | py | Python | src/orders/tests/pay_signals/conftest.py | denkasyanov/education-backend | c796b6f2f1cc1cd09f83cab2ca0cc45344906ef5 | [
"MIT"
] | 151 | 2020-04-21T09:58:57.000Z | 2021-09-12T09:01:21.000Z | src/orders/tests/pay_signals/conftest.py | denkasyanov/education-backend | c796b6f2f1cc1cd09f83cab2ca0cc45344906ef5 | [
"MIT"
] | 163 | 2020-05-29T20:52:00.000Z | 2021-09-11T12:44:56.000Z | src/orders/tests/pay_signals/conftest.py | boochamoocha/education-backend | c6ffb0c00bc066c8f1e0a8c0ffe4d0215c7c416a | [
"MIT"
] | 39 | 2020-04-21T12:28:16.000Z | 2021-09-12T15:33:47.000Z | import pytest
pytestmark = [pytest.mark.django_db]
@pytest.fixture
def order(factory):
return factory.order()
| 13 | 36 | 0.74359 | 15 | 117 | 5.733333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 117 | 8 | 37 | 14.625 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
072126377674f45929d30eddcc206e471edf8ac3 | 329 | py | Python | Round 1B/fair-fight.test-generator.py | enigma-pattern/GoogleCodeJam-2019 | 558c57209a90319d31da13a58f8da60ca56d9f0a | [
"MIT"
] | 54 | 2019-04-07T06:19:19.000Z | 2022-01-19T10:58:00.000Z | Round 1B/fair-fight.test-generator.py | Escapist-007/GoogleCodeJam-2019 | bfa4f2a9585c710f3bbc176b9f8aa4d2ee0a4ce4 | [
"MIT"
] | 1 | 2019-06-02T18:20:30.000Z | 2019-06-02T18:40:32.000Z | Round 1B/fair-fight.test-generator.py | Escapist-007/GoogleCodeJam-2019 | bfa4f2a9585c710f3bbc176b9f8aa4d2ee0a4ce4 | [
"MIT"
] | 21 | 2019-04-10T04:32:03.000Z | 2021-07-22T22:38:53.000Z | import random
B = 100000
N = 100000
T = 10
print T
for _ in xrange(T):
n = random.randint(1, N)
k = random.randint(0, B)
print n, k
C, D = [], []
for _ in xrange(n):
C.append(random.randint(0, B))
D.append(random.randint(0, B))
print " ".join(map(str, C))
print " ".join(map(... | 19.352941 | 38 | 0.541033 | 55 | 329 | 3.2 | 0.381818 | 0.295455 | 0.238636 | 0.255682 | 0.380682 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076596 | 0.285714 | 329 | 16 | 39 | 20.5625 | 0.67234 | 0 | 0 | 0 | 0 | 0 | 0.006079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.066667 | null | null | 0.266667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
072942cb5db41747a65be7199756b5a27613ed0a | 124 | py | Python | code/models/__init__.py | hiyouga/Cuisine_Prediction | e23900e5b2b7f4143e1cdb3eab8a227ddd8baf61 | [
"MIT"
] | 2 | 2021-12-31T04:24:04.000Z | 2021-12-31T06:34:03.000Z | code/models/__init__.py | hiyouga/Cuisine_Prediction | e23900e5b2b7f4143e1cdb3eab8a227ddd8baf61 | [
"MIT"
] | null | null | null | code/models/__init__.py | hiyouga/Cuisine_Prediction | e23900e5b2b7f4143e1cdb3eab8a227ddd8baf61 | [
"MIT"
] | null | null | null | from .textcnn import textcnn
from .textrnn import textrnn
from .restext import restext
from .dualtextcnn import dualtextcnn
| 24.8 | 36 | 0.83871 | 16 | 124 | 6.5 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 124 | 4 | 37 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
07556d9c7fe39d34c30315cb9099524522054463 | 15,422 | py | Python | tests/ut/python/dataset/test_generator.py | TommyLike/mindspore | 401dabb786a9097d6dd84f391657d266b04e9a37 | [
"Apache-2.0"
] | 1 | 2020-05-23T07:08:46.000Z | 2020-05-23T07:08:46.000Z | tests/ut/python/dataset/test_generator.py | liyong126/mindspore | 930a1fb0a8fa9432025442c4f4732058bb7af592 | [
"Apache-2.0"
] | 7 | 2020-03-30T08:31:56.000Z | 2020-04-01T09:54:39.000Z | tests/ut/python/dataset/test_generator.py | liyong126/mindspore | 930a1fb0a8fa9432025442c4f4732058bb7af592 | [
"Apache-2.0"
] | 1 | 2020-03-30T17:07:43.000Z | 2020-03-30T17:07:43.000Z | # Copyright 2019 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 33.453362 | 118 | 0.606277 | 2,220 | 15,422 | 4.077928 | 0.096847 | 0.051033 | 0.032696 | 0.044847 | 0.799183 | 0.7698 | 0.754888 | 0.717663 | 0.685077 | 0.650834 | 0 | 0.049033 | 0.248865 | 15,422 | 460 | 119 | 33.526087 | 0.732476 | 0.173583 | 0 | 0.564103 | 0 | 0 | 0.107123 | 0.001683 | 0 | 0 | 0 | 0 | 0.139194 | 1 | 0.102564 | false | 0.014652 | 0.018315 | 0 | 0.120879 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0764ee73ee29d54312a2ebb3b984fa9fb4550ed5 | 1,505 | py | Python | netbox/exceptions.py | austinjhunt/python-netbox | 0fced40eb40389f11f45e6b70748dd2169fd7e2b | [
"Apache-2.0"
] | 1 | 2019-01-16T22:35:07.000Z | 2019-01-16T22:35:07.000Z | netbox/exceptions.py | jixianbo/python-netbox | b893492653b99865981ebec566b37cd0f9bab0c3 | [
"Apache-2.0"
] | null | null | null | netbox/exceptions.py | jixianbo/python-netbox | b893492653b99865981ebec566b37cd0f9bab0c3 | [
"Apache-2.0"
] | null | null | null | class BaseExceptions(Exception):
pass
class DeleteException(BaseException):
"""Raised when delete failed"""
def __init__(self, resp_data):
if isinstance(resp_data, dict):
self.err = ''.join('Failed with reason {}'.format(val) for key, val in resp_data.items())
else:
... | 27.363636 | 101 | 0.620598 | 183 | 1,505 | 4.879781 | 0.289617 | 0.080627 | 0.128779 | 0.071669 | 0.515118 | 0.515118 | 0.515118 | 0.515118 | 0.515118 | 0.515118 | 0 | 0.001771 | 0.249834 | 1,505 | 54 | 102 | 27.87037 | 0.789194 | 0.10897 | 0 | 0.606061 | 0 | 0 | 0.117871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242424 | false | 0.060606 | 0 | 0.121212 | 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 | 1 | 1 | 0 | 0 | 4 |
076a45091932bf0f7855476b1c2625393fb16180 | 57 | py | Python | {{ cookiecutter.project_slug }}/settings/dev.py | ibrag8998/cookiecutter-chaban | ffd513afe2d82fa21246f8efb99f357699127b2c | [
"MIT"
] | null | null | null | {{ cookiecutter.project_slug }}/settings/dev.py | ibrag8998/cookiecutter-chaban | ffd513afe2d82fa21246f8efb99f357699127b2c | [
"MIT"
] | null | null | null | {{ cookiecutter.project_slug }}/settings/dev.py | ibrag8998/cookiecutter-chaban | ffd513afe2d82fa21246f8efb99f357699127b2c | [
"MIT"
] | null | null | null | from .base import env
ADMIN_ID = env.int("ADMIN_ID", 0)
| 14.25 | 33 | 0.701754 | 11 | 57 | 3.454545 | 0.727273 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.157895 | 57 | 3 | 34 | 19 | 0.770833 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4aea2535cfa938b19d10e997bfc7725a0943f127 | 1,197 | py | Python | commands.py | lukepetrolekas/selene | f7a411279747d69a3e3eb7ee9e9e29b0c51e3826 | [
"MIT"
] | null | null | null | commands.py | lukepetrolekas/selene | f7a411279747d69a3e3eb7ee9e9e29b0c51e3826 | [
"MIT"
] | null | null | null | commands.py | lukepetrolekas/selene | f7a411279747d69a3e3eb7ee9e9e29b0c51e3826 | [
"MIT"
] | null | null | null | class CommandBuilder():
def __init__(self, cindex):
self.cindex = cindex
class CodeBuilder(CommandBuilder):
def __init__(self, cindex, cmd):
super().__init__(cindex)
self.cmd = cmd
def __str__(self):
return self.cmd
class SlugBuilder(CommandBuilder):
def __init__(self,... | 29.925 | 109 | 0.619048 | 132 | 1,197 | 5.219697 | 0.25 | 0.087083 | 0.152395 | 0.181422 | 0.298984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254804 | 1,197 | 40 | 110 | 29.925 | 0.772422 | 0 | 0 | 0.3125 | 0 | 0 | 0.097663 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28125 | false | 0 | 0 | 0.125 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
4aea5cf91d94441afc3f3253e0ecdf90e1f667b3 | 64 | py | Python | python/utir/ast/__init__.py | ChanTsune/Unit-Test-IR | 201b5171b6abe600d4f6acf869fbe02ee6e18a3d | [
"MIT"
] | 2 | 2021-01-21T05:57:07.000Z | 2021-03-08T15:18:21.000Z | python/utir/ast/__init__.py | ChanTsune/Unit-Test-IR | 201b5171b6abe600d4f6acf869fbe02ee6e18a3d | [
"MIT"
] | 2 | 2020-11-18T07:53:30.000Z | 2020-12-28T08:40:18.000Z | python/utir/ast/__init__.py | ChanTsune/Unit-Test-IR | 201b5171b6abe600d4f6acf869fbe02ee6e18a3d | [
"MIT"
] | null | null | null | from .base import AST
from .nodes import *
from .suite import *
| 16 | 21 | 0.734375 | 10 | 64 | 4.7 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 22 | 21.333333 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ab01b8ca14ad0f5ba4b9c410af856f303d8f25eb | 5,160 | py | Python | python/controls/text_control.py | mikaelho/examples | 2efc52d841b5b9bdfb3ad83d023c978c02d51700 | [
"MIT"
] | null | null | null | python/controls/text_control.py | mikaelho/examples | 2efc52d841b5b9bdfb3ad83d023c978c02d51700 | [
"MIT"
] | null | null | null | python/controls/text_control.py | mikaelho/examples | 2efc52d841b5b9bdfb3ad83d023c978c02d51700 | [
"MIT"
] | null | null | null | import pglet
from pglet import Stack, Text
def main(page):
page.add(
Text("Squares", size="large"),
Stack(
horizontal=True,
controls=[
Text(
"left top",
align="left",
vertical_align="top",
... | 27.446809 | 62 | 0.325388 | 326 | 5,160 | 5.104294 | 0.214724 | 0.099159 | 0.100962 | 0.122596 | 0.721755 | 0.706731 | 0.694111 | 0.628005 | 0.628005 | 0.628005 | 0 | 0.054412 | 0.576163 | 5,160 | 187 | 63 | 27.593583 | 0.706447 | 0 | 0 | 0.849057 | 0 | 0 | 0.113664 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006289 | false | 0 | 0.012579 | 0 | 0.018868 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
db4d10edd5dfeead283fded317ee4b1d51fc9cd7 | 90 | py | Python | apps.py | AileenLumina/dwarf | 5fc3b1b532290a474d17f84694dae1d0d53be7b4 | [
"MIT"
] | null | null | null | apps.py | AileenLumina/dwarf | 5fc3b1b532290a474d17f84694dae1d0d53be7b4 | [
"MIT"
] | null | null | null | apps.py | AileenLumina/dwarf | 5fc3b1b532290a474d17f84694dae1d0d53be7b4 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DwarfConfig(AppConfig):
name = 'dwarf'
| 15 | 34 | 0.7 | 10 | 90 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 90 | 5 | 35 | 18 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
db540b9be4659914c537188852f374bf372b23cc | 134 | py | Python | mtaa/apps.py | tgalvinjr/majirani-IP | c4fb852130c3e4e6b9b6ff9707c125a3c964a67f | [
"MIT"
] | null | null | null | mtaa/apps.py | tgalvinjr/majirani-IP | c4fb852130c3e4e6b9b6ff9707c125a3c964a67f | [
"MIT"
] | 4 | 2020-06-05T21:45:44.000Z | 2021-06-10T21:39:38.000Z | mtaa/apps.py | tgalvinjr/majirani-IP | c4fb852130c3e4e6b9b6ff9707c125a3c964a67f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MtaaConfig(AppConfig):
name = 'mtaa'
def ready(self):
import mtaa.signals
| 13.4 | 33 | 0.671642 | 16 | 134 | 5.625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246269 | 134 | 9 | 34 | 14.888889 | 0.891089 | 0 | 0 | 0 | 0 | 0 | 0.030075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
db8576a751b510395c7791eb66f7379e94b858d4 | 189 | py | Python | python/testData/quickFixes/PyTypeHintsQuickFixTest/instanceCheckOnCallable.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/quickFixes/PyTypeHintsQuickFixTest/instanceCheckOnCallable.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/quickFixes/PyTypeHintsQuickFixTest/instanceCheckOnCallable.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from typing import Callable
class A:
pass
assert isinstance(A(), <error descr="Parameterized generics cannot be used with instance and class checks">Callable<caret>[..., str]</error>) | 31.5 | 141 | 0.746032 | 26 | 189 | 5.423077 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137566 | 189 | 6 | 141 | 31.5 | 0.865031 | 0 | 0 | 0 | 0 | 0 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | null | null | 0.25 | 0.25 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
db8bad619e798a005e405e27c036e2f84460d837 | 231 | py | Python | apps/xfzauth/serializers.py | NAZBIN/web | cc9289dc5973e1041c0ed5df802d99b7efcf4d18 | [
"MIT"
] | 3 | 2019-08-26T11:11:31.000Z | 2020-11-30T17:16:14.000Z | apps/xfzauth/serializers.py | NAZBIN/web | cc9289dc5973e1041c0ed5df802d99b7efcf4d18 | [
"MIT"
] | 7 | 2021-03-19T03:06:26.000Z | 2022-03-11T23:57:45.000Z | apps/xfzauth/serializers.py | NAZBIN/web | cc9289dc5973e1041c0ed5df802d99b7efcf4d18 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .forms import User
class UserSerializers(serializers.ModelSerializer):
class Meta:
model = User
fields = ('uid','telephone','username','email','is_active','is_staff') | 33 | 78 | 0.718615 | 26 | 231 | 6.269231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164502 | 231 | 7 | 78 | 33 | 0.84456 | 0 | 0 | 0 | 0 | 0 | 0.181034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
dba347baa6c07f3e8f9bab237f4b6d14547be283 | 513 | py | Python | apero/science/calib/__init__.py | njcuk9999/apero-drs | 83b043e9f277a011b03e0227c77307961b200901 | [
"MIT"
] | 1 | 2021-03-09T17:49:31.000Z | 2021-03-09T17:49:31.000Z | apero/science/calib/__init__.py | njcuk9999/apero-drs | 83b043e9f277a011b03e0227c77307961b200901 | [
"MIT"
] | 43 | 2020-10-06T18:42:24.000Z | 2022-03-28T21:23:10.000Z | apero/science/calib/__init__.py | njcuk9999/apero-drs | 83b043e9f277a011b03e0227c77307961b200901 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
# CODE NAME HERE
# CODE DESCRIPTION HERE
Created on 2019-01-17 at 14:31
@author: cook
"""
__all__ = []
# =============================================================================
# Define functions
# =============================================================... | 22.304348 | 79 | 0.233918 | 29 | 513 | 4 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028017 | 0.095517 | 513 | 22 | 80 | 23.318182 | 0.221983 | 0.920078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dbb63f86d1ddff187c07cafbc7115125230dfde5 | 169 | py | Python | bakery/custom_filebrowser/apps.py | yoniLavi/bobr_ru-bakery | 4ae9b5de2bfd8462a515bd0685d8c6c38913c47f | [
"MIT"
] | null | null | null | bakery/custom_filebrowser/apps.py | yoniLavi/bobr_ru-bakery | 4ae9b5de2bfd8462a515bd0685d8c6c38913c47f | [
"MIT"
] | null | null | null | bakery/custom_filebrowser/apps.py | yoniLavi/bobr_ru-bakery | 4ae9b5de2bfd8462a515bd0685d8c6c38913c47f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CustomAdminConfig(AppConfig):
name = 'bakery.custom_filebrowser'
def ready(self):
from . import forms # noqa
| 18.777778 | 38 | 0.704142 | 19 | 169 | 6.210526 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218935 | 169 | 8 | 39 | 21.125 | 0.893939 | 0.023669 | 0 | 0 | 0 | 0 | 0.153374 | 0.153374 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
dbd281fbb978887f616b5c1ff675e0e580ab6de4 | 61 | py | Python | throttle/storage/base.py | Hanaasagi/throttle | c80aa6266e36f8ff0b99fbedac1c4e28e305f91d | [
"MIT"
] | null | null | null | throttle/storage/base.py | Hanaasagi/throttle | c80aa6266e36f8ff0b99fbedac1c4e28e305f91d | [
"MIT"
] | null | null | null | throttle/storage/base.py | Hanaasagi/throttle | c80aa6266e36f8ff0b99fbedac1c4e28e305f91d | [
"MIT"
] | null | null | null | class BaseStorage:
"""Abstract Storage Class"""
pass
| 15.25 | 32 | 0.655738 | 6 | 61 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229508 | 61 | 3 | 33 | 20.333333 | 0.851064 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
915776791016162ecf151351fa76ec290cff203e | 235 | py | Python | common/data.py | kollad/turbo-ninja | 9c3f66b2af64aec01f522d19b309cfdd723e67cf | [
"MIT"
] | null | null | null | common/data.py | kollad/turbo-ninja | 9c3f66b2af64aec01f522d19b309cfdd723e67cf | [
"MIT"
] | 1 | 2017-12-14T05:35:38.000Z | 2017-12-14T05:35:38.000Z | common/data.py | kollad/turbo-ninja | 9c3f66b2af64aec01f522d19b309cfdd723e67cf | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
__author__ = 'kollad'
class DataObjectAbstract(metaclass=ABCMeta):
@abstractmethod
def reload_cache(self, key):
pass
@abstractmethod
def drop_cache(self):
pass | 18.076923 | 44 | 0.697872 | 24 | 235 | 6.583333 | 0.708333 | 0.265823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229787 | 235 | 13 | 45 | 18.076923 | 0.872928 | 0 | 0 | 0.444444 | 0 | 0 | 0.025424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.111111 | 0 | 0.444444 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
916df208b078621ca1c231c8872b3e92cd1518e6 | 2,536 | py | Python | modules/dbnd/src/dbnd/_core/tracking/backends/channels/abstract_channel.py | dmytrostriletskyi/dbnd | d4a5f5167523e80439c9d64182cdc87b40cbc48f | [
"Apache-2.0"
] | null | null | null | modules/dbnd/src/dbnd/_core/tracking/backends/channels/abstract_channel.py | dmytrostriletskyi/dbnd | d4a5f5167523e80439c9d64182cdc87b40cbc48f | [
"Apache-2.0"
] | null | null | null | modules/dbnd/src/dbnd/_core/tracking/backends/channels/abstract_channel.py | dmytrostriletskyi/dbnd | d4a5f5167523e80439c9d64182cdc87b40cbc48f | [
"Apache-2.0"
] | null | null | null | import logging
from abc import ABCMeta
import six
logger = logging.getLogger(__name__)
@six.add_metaclass(ABCMeta)
class TrackingChannel(object):
def _handle(self, name, data):
logger.info("Tracking %s.%s is not implemented", self.__class__.__name__, name)
def init_scheduled_job(self, data):
... | 32.512821 | 87 | 0.738565 | 321 | 2,536 | 5.286604 | 0.193146 | 0.08957 | 0.17914 | 0.347083 | 0.449028 | 0.449028 | 0.380083 | 0.055392 | 0 | 0 | 0 | 0 | 0.172319 | 2,536 | 77 | 88 | 32.935065 | 0.80848 | 0 | 0 | 0 | 0 | 0 | 0.013013 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.44 | false | 0.02 | 0.06 | 0.38 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
9181131f7790bfdbf1b203f21d944628f5219a78 | 544 | py | Python | src/type.py | hieunv495/backuptools | 962a3719cfa306c85834aef74a19cb832200a13d | [
"MIT"
] | 1 | 2021-07-27T11:23:17.000Z | 2021-07-27T11:23:17.000Z | src/type.py | hieunv495/backuptools | 962a3719cfa306c85834aef74a19cb832200a13d | [
"MIT"
] | null | null | null | src/type.py | hieunv495/backuptools | 962a3719cfa306c85834aef74a19cb832200a13d | [
"MIT"
] | null | null | null |
from typing import Any, Dict
FileMeta = Dict[str, Any]
class ParentNotFoundException(Exception):
def __init__(self, message="Parent not found"):
self.message = message
super().__init__(self.message)
class FileNotFoundException(Exception):
def __init__(self, message="File not found"):
... | 23.652174 | 51 | 0.691176 | 59 | 544 | 5.966102 | 0.372881 | 0.28125 | 0.255682 | 0.170455 | 0.650568 | 0.573864 | 0.397727 | 0.289773 | 0.289773 | 0.289773 | 0 | 0 | 0.200368 | 544 | 22 | 52 | 24.727273 | 0.809195 | 0 | 0 | 0.428571 | 0 | 0 | 0.077348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
91a8e79f44493d453f1057af4955c2775a43ba46 | 104 | py | Python | src/biblishelf_main/apps.py | x007007007/biblishelf | a79b105f6929ecc9df41b1e74a92713212cd06fa | [
"MIT"
] | null | null | null | src/biblishelf_main/apps.py | x007007007/biblishelf | a79b105f6929ecc9df41b1e74a92713212cd06fa | [
"MIT"
] | 3 | 2018-01-28T15:17:55.000Z | 2018-01-31T09:21:01.000Z | src/biblishelf_main/apps.py | x007007007/biblishelf | a79b105f6929ecc9df41b1e74a92713212cd06fa | [
"MIT"
] | 1 | 2018-01-27T13:49:51.000Z | 2018-01-27T13:49:51.000Z | from django.apps import AppConfig
class BiblishelfMainConfig(AppConfig):
name = 'biblishelf_main'
| 17.333333 | 38 | 0.788462 | 11 | 104 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 5 | 39 | 20.8 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
91b9059197cb6a954f639cfe3773f40982c651ff | 98 | py | Python | RL_Toy/base/__init__.py | Bobobert/RL_Toy | 34d5955525aa761b3180181168b8a9b83061623f | [
"MIT"
] | null | null | null | RL_Toy/base/__init__.py | Bobobert/RL_Toy | 34d5955525aa761b3180181168b8a9b83061623f | [
"MIT"
] | null | null | null | RL_Toy/base/__init__.py | Bobobert/RL_Toy | 34d5955525aa761b3180181168b8a9b83061623f | [
"MIT"
] | null | null | null | from RL_Toy.base.basics import Environment, Policy, ActionSpace, ObservationSpace, Agent, AgentToy | 98 | 98 | 0.846939 | 12 | 98 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 98 | 1 | 98 | 98 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
91cc74c18f882a413f121876ebbcc3f5035f6360 | 43 | py | Python | utils/data/processing/_abstract.py | m-zayan/deeplearning_utils | cc40636f46d13a81cb1020fdcfae84e52456fa06 | [
"MIT"
] | null | null | null | utils/data/processing/_abstract.py | m-zayan/deeplearning_utils | cc40636f46d13a81cb1020fdcfae84e52456fa06 | [
"MIT"
] | null | null | null | utils/data/processing/_abstract.py | m-zayan/deeplearning_utils | cc40636f46d13a81cb1020fdcfae84e52456fa06 | [
"MIT"
] | null | null | null |
__all__ = ['Meta']
class Meta:
pass
| 6.142857 | 18 | 0.55814 | 5 | 43 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302326 | 43 | 6 | 19 | 7.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
37d038f91aaa246d15d5c61e62f9f0881f39043c | 476 | py | Python | src/arbies/__init__.py | broiledmeat/arbies | 29f3ce498dbd3265b1181dde62629df3deda0440 | [
"MIT"
] | null | null | null | src/arbies/__init__.py | broiledmeat/arbies | 29f3ce498dbd3265b1181dde62629df3deda0440 | [
"MIT"
] | null | null | null | src/arbies/__init__.py | broiledmeat/arbies | 29f3ce498dbd3265b1181dde62629df3deda0440 | [
"MIT"
] | null | null | null | import importlib
from typing import Type, Dict
_import_class_cache: Dict[str, Type] = {}
def import_module_class_from_fullname(name) -> Type:
if name not in _import_class_cache:
name_index: int = name.rindex('.')
module_name: str = name[:name_index]
class_name: str = name[name_index + 1:]... | 31.733333 | 63 | 0.705882 | 65 | 476 | 4.8 | 0.338462 | 0.141026 | 0.205128 | 0.192308 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002625 | 0.19958 | 476 | 14 | 64 | 34 | 0.816273 | 0 | 0 | 0 | 0 | 0 | 0.002101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.727273 | 0 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
37e756f9e12aea68d8c736176a9a3e6c2cd5fee9 | 71 | py | Python | src/utils.py | aman313/SCAN | 2819bfe7e5b3da0fd3bcceb68c67ff87b343f6e9 | [
"BSD-3-Clause"
] | null | null | null | src/utils.py | aman313/SCAN | 2819bfe7e5b3da0fd3bcceb68c67ff87b343f6e9 | [
"BSD-3-Clause"
] | null | null | null | src/utils.py | aman313/SCAN | 2819bfe7e5b3da0fd3bcceb68c67ff87b343f6e9 | [
"BSD-3-Clause"
] | null | null | null | def create_paired_scan_dataset(instance_file, reference_file):
pass | 35.5 | 62 | 0.84507 | 10 | 71 | 5.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 71 | 2 | 63 | 35.5 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
37f69fb2c73a3280f8e050080b9aea5d461bff6a | 97 | py | Python | dealsengine/apps.py | lh15/dealscore_django | 0f17cc5c399d28d89ea1db9b4f978515d8f29334 | [
"MIT"
] | null | null | null | dealsengine/apps.py | lh15/dealscore_django | 0f17cc5c399d28d89ea1db9b4f978515d8f29334 | [
"MIT"
] | 3 | 2021-03-19T11:32:01.000Z | 2022-02-10T11:43:56.000Z | dealsengine/apps.py | lh15/dealscore_django | 0f17cc5c399d28d89ea1db9b4f978515d8f29334 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DealsengineConfig(AppConfig):
name = 'dealsengine'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5308d29cfed8808640991b0a13bdf4ac39960f35 | 39 | py | Python | Bronze/Bronze_V/18108.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Bronze/Bronze_V/18108.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Bronze/Bronze_V/18108.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | year = int(input())
print(year - 543)
| 9.75 | 19 | 0.615385 | 6 | 39 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.179487 | 39 | 3 | 20 | 13 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5319e8ef45b4465b2db575a82bd9713034c1231d | 223 | py | Python | src/logits.py | hankyul2/KnowledgeDistillation | f019dfc17886f40339f13421bfb452b364e302f3 | [
"Apache-2.0"
] | null | null | null | src/logits.py | hankyul2/KnowledgeDistillation | f019dfc17886f40339f13421bfb452b364e302f3 | [
"Apache-2.0"
] | 1 | 2021-08-30T00:22:02.000Z | 2021-08-30T00:22:11.000Z | src/logits.py | hankyul2/KnowledgeDistillation | f019dfc17886f40339f13421bfb452b364e302f3 | [
"Apache-2.0"
] | null | null | null | from torch import nn
import torch.nn.functional as F
class Logits(nn.Module):
def __init__(self):
super(Logits, self).__init__()
def forward(self, s_feat, t_feat):
return F.mse_loss(s_feat, t_feat) | 24.777778 | 41 | 0.686099 | 36 | 223 | 3.888889 | 0.583333 | 0.071429 | 0.085714 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206278 | 223 | 9 | 41 | 24.777778 | 0.79096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
53221716448bba0fa996200170d76d60bcb6257c | 58 | py | Python | Codeforces/ACMSGURU/112-a^b-b^a.py | Pankajcoder1/Competitive_programming | 72ee0d41f3f72f43a5c2a232255eb84a04b14df9 | [
"MIT"
] | null | null | null | Codeforces/ACMSGURU/112-a^b-b^a.py | Pankajcoder1/Competitive_programming | 72ee0d41f3f72f43a5c2a232255eb84a04b14df9 | [
"MIT"
] | null | null | null | Codeforces/ACMSGURU/112-a^b-b^a.py | Pankajcoder1/Competitive_programming | 72ee0d41f3f72f43a5c2a232255eb84a04b14df9 | [
"MIT"
] | 1 | 2020-10-02T04:51:22.000Z | 2020-10-02T04:51:22.000Z | a,b=[int(x) for x in input().split()]
print((a**b)-(b**a)) | 29 | 37 | 0.534483 | 14 | 58 | 2.214286 | 0.642857 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 58 | 2 | 38 | 29 | 0.584906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5341cf30131c2a96e4f9818ef4e0bcc0ce7bfc37 | 40 | py | Python | vox/__init__.py | BastienLaby/vox | 07ec972315f1714d3791d3e55e59e7b3fadff338 | [
"MIT"
] | null | null | null | vox/__init__.py | BastienLaby/vox | 07ec972315f1714d3791d3e55e59e7b3fadff338 | [
"MIT"
] | 1 | 2021-06-08T22:05:06.000Z | 2021-06-08T22:05:06.000Z | vox/__init__.py | BastienLaby/vox | 07ec972315f1714d3791d3e55e59e7b3fadff338 | [
"MIT"
] | null | null | null | # vox/__init__.py
__version__ = "0.1.0" | 13.333333 | 21 | 0.675 | 7 | 40 | 2.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.125 | 40 | 3 | 21 | 13.333333 | 0.457143 | 0.375 | 0 | 0 | 0 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
534a223855036c4342853825e5f0f6fb379d15d1 | 48 | py | Python | Interface.py | ijtodorov/Python_aksiom16 | 6242a5a164c0366fb3d48eed9b2182575cf59194 | [
"MIT"
] | null | null | null | Interface.py | ijtodorov/Python_aksiom16 | 6242a5a164c0366fb3d48eed9b2182575cf59194 | [
"MIT"
] | null | null | null | Interface.py | ijtodorov/Python_aksiom16 | 6242a5a164c0366fb3d48eed9b2182575cf59194 | [
"MIT"
] | null | null | null | __author__ = 'Cib'
class interface():
pass
| 9.6 | 18 | 0.645833 | 5 | 48 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 48 | 4 | 19 | 12 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.