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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
471d1b188d910549e91d819995fe38aa8ba0edcd | 809 | py | Python | Tests/ChoreStartTime.py | lapstue/tm1py | a71886b0f96a3e270d5a39ef999e45b413ba4232 | [
"MIT"
] | null | null | null | Tests/ChoreStartTime.py | lapstue/tm1py | a71886b0f96a3e270d5a39ef999e45b413ba4232 | [
"MIT"
] | null | null | null | Tests/ChoreStartTime.py | lapstue/tm1py | a71886b0f96a3e270d5a39ef999e45b413ba4232 | [
"MIT"
] | null | null | null | import unittest
from TM1py import ChoreStartTime
class TestChoreStartTime(unittest.TestCase):
def test_start_time_string_happy_case(self):
chore_start_time = ChoreStartTime(year=2020, month=11, day=26, hour=10, minute=11, second=2)
self.assertEqual(chore_start_time.start_time_string, "2020-11-26... | 42.578947 | 100 | 0.757726 | 121 | 809 | 4.77686 | 0.305785 | 0.186851 | 0.155709 | 0.083045 | 0.807958 | 0.769896 | 0.690311 | 0.690311 | 0.690311 | 0.690311 | 0 | 0.110157 | 0.13597 | 809 | 18 | 101 | 44.944444 | 0.716738 | 0 | 0 | 0 | 0 | 0 | 0.066749 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.166667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5b661a4cf2786a6eea1f2601c3dbb8569290c20d | 1,130 | py | Python | alembic/versions/452902fab185_added_auth_related_f.py | go-lab/appcomposer | c2468f11b8398edc9b16e1552ac8d609d8347677 | [
"BSD-2-Clause"
] | 1 | 2018-01-20T14:56:01.000Z | 2018-01-20T14:56:01.000Z | alembic/versions/452902fab185_added_auth_related_f.py | go-lab/appcomposer | c2468f11b8398edc9b16e1552ac8d609d8347677 | [
"BSD-2-Clause"
] | 25 | 2015-01-21T09:16:26.000Z | 2021-12-13T20:01:21.000Z | alembic/versions/452902fab185_added_auth_related_f.py | go-lab/appcomposer | c2468f11b8398edc9b16e1552ac8d609d8347677 | [
"BSD-2-Clause"
] | 3 | 2015-07-28T18:40:05.000Z | 2017-03-28T08:14:37.000Z | """Added auth-related fields to User
Revision ID: 452902fab185
Revises: 501404b36cef
Create Date: 2013-09-24 12:42:04.461000
"""
# revision identifiers, used by Alembic.
revision = '452902fab185'
down_revision = '501404b36cef'
from alembic import op
import sqlalchemy as sa
def upgrade():
### ... | 1,130 | 1,130 | 0.678761 | 142 | 1,130 | 5.309859 | 0.457746 | 0.058355 | 0.055703 | 0.061008 | 0.498674 | 0.360743 | 0.360743 | 0.289125 | 0.172414 | 0.172414 | 0 | 0.064309 | 0.174336 | 1,130 | 1 | 1,130 | 1,130 | 0.743837 | 0.344248 | 0 | 0 | 0 | 0.181818 | 0.469417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0.272727 | 0.181818 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
5b7ceb722e2e31b6203402c457d5bed34c5fdffb | 458 | py | Python | src/python/pants/backend/experimental/kotlin/lint/ktlint/register.py | wonlay/pants | 53c66503b6898e83c9c9596e56cde5ad9ed6a0d3 | [
"Apache-2.0"
] | null | null | null | src/python/pants/backend/experimental/kotlin/lint/ktlint/register.py | wonlay/pants | 53c66503b6898e83c9c9596e56cde5ad9ed6a0d3 | [
"Apache-2.0"
] | null | null | null | src/python/pants/backend/experimental/kotlin/lint/ktlint/register.py | wonlay/pants | 53c66503b6898e83c9c9596e56cde5ad9ed6a0d3 | [
"Apache-2.0"
] | null | null | null | # Copyright 2022 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from pants.backend.experimental.scala.register import rules as all_kotlin_rules
from pants.backend.kotlin.lint.ktlint import rules as ktlint_rules
from pants.backend.kotlin.lint.ktlint imp... | 30.533333 | 79 | 0.740175 | 62 | 458 | 5.33871 | 0.5 | 0.081571 | 0.145015 | 0.126888 | 0.259819 | 0.259819 | 0.259819 | 0.259819 | 0 | 0 | 0 | 0.015748 | 0.168122 | 458 | 14 | 80 | 32.714286 | 0.853018 | 0.275109 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.333333 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
5b8e269dde11dc9a9d324b928887d8730e695956 | 90 | py | Python | project/models.py | Gerhut/minimal-django-project | 0c07b84859640e53c27487b76cfd5a36c71365aa | [
"Unlicense"
] | null | null | null | project/models.py | Gerhut/minimal-django-project | 0c07b84859640e53c27487b76cfd5a36c71365aa | [
"Unlicense"
] | 10 | 2019-08-06T01:52:33.000Z | 2020-09-28T00:27:59.000Z | project/models.py | Gerhut/minimal-django-project | 0c07b84859640e53c27487b76cfd5a36c71365aa | [
"Unlicense"
] | null | null | null | from django.db import models
class Post(models.Model):
content = models.TextField()
| 15 | 32 | 0.733333 | 12 | 90 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 5 | 33 | 18 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5bba148c43da1cc1a22e73d90ffca7960d363f40 | 180 | py | Python | examples/debugging_api_calls.py | nguyandy/userapp-python | 96b8b96049a467774b5273ee73ccb62da09fb85b | [
"MIT"
] | null | null | null | examples/debugging_api_calls.py | nguyandy/userapp-python | 96b8b96049a467774b5273ee73ccb62da09fb85b | [
"MIT"
] | null | null | null | examples/debugging_api_calls.py | nguyandy/userapp-python | 96b8b96049a467774b5273ee73ccb62da09fb85b | [
"MIT"
] | null | null | null | import config, userapp
api = userapp.API(app_id=config.USERAPP_APP_ID, debug=True, throw_errors=False)
user_result = api.user.login(login="epicrawbot", password="play_withBitz!") | 36 | 79 | 0.794444 | 27 | 180 | 5.074074 | 0.666667 | 0.189781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072222 | 180 | 5 | 80 | 36 | 0.820359 | 0 | 0 | 0 | 0 | 0 | 0.132597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
7520daaefeeb0c9c5796df3c4843be9297dde1df | 30,800 | py | Python | etl/parsers/etw/Microsoft_AppV_SharedPerformance.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_AppV_SharedPerformance.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_AppV_SharedPerformance.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-AppV-SharedPerformance
GUID : fb4a19ee-eb5a-47a4-bc52-e71aac6d0859
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dtyp import Sid
from ... | 28.025478 | 123 | 0.717305 | 3,765 | 30,800 | 5.663479 | 0.056574 | 0.063781 | 0.218074 | 0.145383 | 0.925198 | 0.925198 | 0.610655 | 0.610655 | 0.610655 | 0.610655 | 0 | 0.168409 | 0.155 | 30,800 | 1,098 | 124 | 28.051002 | 0.650888 | 0.003214 | 0 | 0.405612 | 0 | 0 | 0.21504 | 0.180633 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005102 | 0 | 0.397959 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7543dea3c9674d80aef0a63052820d06eac3ab3f | 79 | py | Python | src/bp/apps.py | elifesciences/bioprotocol-service | 18db037852b9ae3520b29b4430f92e870f65fd89 | [
"MIT"
] | 1 | 2021-09-15T04:48:14.000Z | 2021-09-15T04:48:14.000Z | src/bp/apps.py | elifesciences/bioprotocol-service | 18db037852b9ae3520b29b4430f92e870f65fd89 | [
"MIT"
] | 6 | 2019-08-06T15:34:28.000Z | 2021-10-12T01:08:23.000Z | src/bp/apps.py | elifesciences/bioprotocol-service | 18db037852b9ae3520b29b4430f92e870f65fd89 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BpConfig(AppConfig):
name = "bp"
| 13.166667 | 33 | 0.721519 | 10 | 79 | 5.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189873 | 79 | 5 | 34 | 15.8 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 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 |
75494ce77726f66356676a03e189e192a5e91884 | 72 | py | Python | tests/roots/test-extensions/write_serial.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 4,973 | 2015-01-03T15:44:00.000Z | 2022-03-31T03:11:51.000Z | tests/roots/test-extensions/write_serial.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 7,850 | 2015-01-02T08:09:25.000Z | 2022-03-31T18:57:40.000Z | tests/roots/test-extensions/write_serial.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 2,179 | 2015-01-03T15:26:53.000Z | 2022-03-31T12:22:44.000Z | def setup(app):
return {
'parallel_write_safe': False
}
| 14.4 | 36 | 0.569444 | 8 | 72 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.319444 | 72 | 4 | 37 | 18 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0.263889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
f32db992fe4b60b3413127ecc2439e2e3dfbd02f | 1,276 | py | Python | model/base/vgg_base.py | lizhaoliu-Lec/ImageAestheticAssessmentPyTorch | 3ddb8408d978543b9609bdb4976b8e944057d449 | [
"Apache-2.0"
] | 7 | 2021-04-17T06:57:50.000Z | 2022-03-15T08:12:11.000Z | model/base/vgg_base.py | lizhaoliu-Lec/ImageAestheticAssessmentPyTorch | 3ddb8408d978543b9609bdb4976b8e944057d449 | [
"Apache-2.0"
] | null | null | null | model/base/vgg_base.py | lizhaoliu-Lec/ImageAestheticAssessmentPyTorch | 3ddb8408d978543b9609bdb4976b8e944057d449 | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
from torchvision.models import vgg11
from torchvision.models import vgg13
from torchvision.models import vgg16
from torchvision.models import vgg19
from torchvision.models import vgg11_bn
from torchvision.models import vgg13_bn
from torchvision.models import vgg16_bn
from torchvision... | 26.040816 | 91 | 0.668495 | 178 | 1,276 | 4.522472 | 0.325843 | 0.149068 | 0.208696 | 0.268323 | 0.362733 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050968 | 0.231191 | 1,276 | 48 | 92 | 26.583333 | 0.769623 | 0 | 0 | 0 | 0 | 0 | 0.047022 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0 | 0.342857 | 0 | 0.514286 | 0.028571 | 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 |
f336821713a91066ae6212929dccb33669ef98c9 | 60 | py | Python | app/settings.py | tomcrane/wikipedia-to-iiif | 69f2fc2239622c9e9e267ff8283baf79fa613eed | [
"MIT"
] | 7 | 2017-12-11T14:10:45.000Z | 2019-05-30T08:41:13.000Z | app/settings.py | tomcrane/wikipedia-to-iiif | 69f2fc2239622c9e9e267ff8283baf79fa613eed | [
"MIT"
] | null | null | null | app/settings.py | tomcrane/wikipedia-to-iiif | 69f2fc2239622c9e9e267ff8283baf79fa613eed | [
"MIT"
] | null | null | null | import os
EXAMPLE_VARIABLE = os.getenv("EXAMPLE_VARIABLE")
| 15 | 48 | 0.8 | 8 | 60 | 5.75 | 0.625 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 60 | 3 | 49 | 20 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 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 |
f381bd0ed659abf2b17d985bc390fcf1f738ae82 | 134 | py | Python | comment/urls.py | shunpochang/connect_love_demo | 2d556399b50eae3d991b1ed8ea58f48396aec4db | [
"BSD-3-Clause"
] | 8 | 2016-07-03T01:18:46.000Z | 2019-12-14T21:02:41.000Z | comment/urls.py | shunpochang/connect_love_demo | 2d556399b50eae3d991b1ed8ea58f48396aec4db | [
"BSD-3-Clause"
] | null | null | null | comment/urls.py | shunpochang/connect_love_demo | 2d556399b50eae3d991b1ed8ea58f48396aec4db | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^list/$', views.comment_list, name='comment_list'),
]
| 19.142857 | 61 | 0.701493 | 19 | 134 | 4.842105 | 0.631579 | 0.23913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 134 | 6 | 62 | 22.333333 | 0.807018 | 0 | 0 | 0 | 0 | 0 | 0.141791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
45e94553d7262708a9d8b0c6857461c9dd9b8f64 | 186 | py | Python | catch/utils/tests/input/test_module.py | broadinstitute/catch | 2fedca15f921116f580de8b2ae7ac9972932e59e | [
"MIT"
] | 58 | 2018-01-24T16:31:37.000Z | 2022-02-25T07:46:35.000Z | catch/utils/tests/input/test_module.py | broadinstitute/catch | 2fedca15f921116f580de8b2ae7ac9972932e59e | [
"MIT"
] | 29 | 2018-04-17T17:36:06.000Z | 2022-02-25T11:48:58.000Z | catch/utils/tests/input/test_module.py | broadinstitute/catch | 2fedca15f921116f580de8b2ae7ac9972932e59e | [
"MIT"
] | 16 | 2018-05-23T12:19:41.000Z | 2021-08-09T04:16:00.000Z | """Module to test dynamic loading."""
# Define a variable to check its value
testvar = 'testval'
# Define a function to check its loading and execution
def sum(a, b):
return a + b
| 20.666667 | 54 | 0.698925 | 30 | 186 | 4.333333 | 0.666667 | 0.107692 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209677 | 186 | 8 | 55 | 23.25 | 0.884354 | 0.655914 | 0 | 0 | 0 | 0 | 0.122807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 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 |
45fe34a873777b10ba086961e0f5ee495277a01f | 128 | py | Python | setup.py | tamuhey/catalogue | 346c7e9baf06e01e6161171a4ab6f5bff6cfa24c | [
"MIT"
] | null | null | null | setup.py | tamuhey/catalogue | 346c7e9baf06e01e6161171a4ab6f5bff6cfa24c | [
"MIT"
] | null | null | null | setup.py | tamuhey/catalogue | 346c7e9baf06e01e6161171a4ab6f5bff6cfa24c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
if __name__ == "__main__":
from setuptools import setup
setup(name="catalogue")
| 16 | 32 | 0.671875 | 17 | 128 | 4.588235 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.1875 | 128 | 7 | 33 | 18.285714 | 0.740385 | 0.265625 | 0 | 0 | 0 | 0 | 0.184783 | 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 |
340699a64c90a2586bf773ce6e1dbfc3c237f72c | 2,013 | py | Python | src/Lib/_imp.py | martinphellwig/brython_wf | e169afc1e048cba0c12118b4cd6f109df6fe67c9 | [
"BSD-3-Clause"
] | 3 | 2017-04-04T06:18:16.000Z | 2020-01-17T02:03:39.000Z | src/Lib/_imp.py | martinphellwig/brython_wf | e169afc1e048cba0c12118b4cd6f109df6fe67c9 | [
"BSD-3-Clause"
] | 1 | 2019-07-08T05:28:59.000Z | 2021-01-14T10:44:49.000Z | src/Lib/_imp.py | martinphellwig/brython_wf | e169afc1e048cba0c12118b4cd6f109df6fe67c9 | [
"BSD-3-Clause"
] | 8 | 2017-06-27T05:38:52.000Z | 2021-06-19T16:00:03.000Z | """(Extremely) low-level import machinery bits as used by importlib and imp."""
class __loader__(object):pass
def _fix_co_filename(*args,**kw):
raise NotImplementedError("%s:not implemented" % ('_imp.py:_fix_co_filename'))
def acquire_lock(*args,**kw):
"""acquire_lock() -> None Acquires the interpreter's... | 38.711538 | 122 | 0.71237 | 267 | 2,013 | 5.17603 | 0.303371 | 0.052098 | 0.180897 | 0.202605 | 0.476122 | 0.439942 | 0.439942 | 0.408104 | 0.408104 | 0.299566 | 0 | 0 | 0.143567 | 2,013 | 51 | 123 | 39.470588 | 0.801624 | 0.336314 | 0 | 0 | 0 | 0 | 0.30155 | 0.057364 | 0 | 0 | 0 | 0 | 0 | 1 | 0.48 | false | 0.04 | 0.04 | 0.04 | 0.64 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
340cbfe68b1c13b7a09c6a2e2168a22416b91746 | 462 | py | Python | Largest_Number.py | Taizul1579/Pythonbasic | a197e1d8fa7f74bc9bff5ae2d5cf6bf7010e884c | [
"Apache-2.0"
] | null | null | null | Largest_Number.py | Taizul1579/Pythonbasic | a197e1d8fa7f74bc9bff5ae2d5cf6bf7010e884c | [
"Apache-2.0"
] | null | null | null | Largest_Number.py | Taizul1579/Pythonbasic | a197e1d8fa7f74bc9bff5ae2d5cf6bf7010e884c | [
"Apache-2.0"
] | null | null | null | # largest number
a = int(input("Enter The First Number : "))
b = int(input("Enter The Seceond Number : "))
c = int(input("Enter The Thard Number : "))
Max = max(a, b, c)
print("Largest Number Is :", Max)
print('################## Seceond Program #################################')
if a >= b and a >= c:
... | 27.176471 | 79 | 0.512987 | 64 | 462 | 3.703125 | 0.3125 | 0.274262 | 0.303797 | 0.337553 | 0.274262 | 0.185654 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 462 | 16 | 80 | 28.875 | 0.663866 | 0.030303 | 0 | 0 | 0 | 0 | 0.516279 | 0.076744 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.416667 | 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 |
34677864834974b9a397731f965ed9f1bea99403 | 172 | py | Python | python/ql/test/3/query-tests/Classes/inconsistent-mro/inconsistent_mro.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/test/3/query-tests/Classes/inconsistent-mro/inconsistent_mro.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/test/3/query-tests/Classes/inconsistent-mro/inconsistent_mro.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | #Inconsistent MRO
class X(object):
pass
class Y(X):
pass
class Z(X, Y):
pass
class O:
pass
#This is OK in Python 2
class N(object, O):
pass | 10.117647 | 23 | 0.569767 | 29 | 172 | 3.37931 | 0.551724 | 0.27551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.331395 | 172 | 17 | 24 | 10.117647 | 0.843478 | 0.22093 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
346ed50bb3dcfc85f8134663cc902a2f1607219f | 84 | py | Python | examples/team-fullmetal/dockerComp/src/client/app/wsgi.py | connectthefuture/docker-hacks | d7ea13522188233d5e8a97179d2b0a872239f58d | [
"MIT"
] | null | null | null | examples/team-fullmetal/dockerComp/src/client/app/wsgi.py | connectthefuture/docker-hacks | d7ea13522188233d5e8a97179d2b0a872239f58d | [
"MIT"
] | 1 | 2021-03-20T04:49:20.000Z | 2021-03-20T04:49:20.000Z | examples/team-fullmetal/dockerComp/src/client/app/wsgi.py | connectthefuture/docker-hacks | d7ea13522188233d5e8a97179d2b0a872239f58d | [
"MIT"
] | null | null | null | # if gunicorn is used
from run import app
if __name__ == "__main__":
app.run()
| 14 | 26 | 0.666667 | 13 | 84 | 3.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22619 | 84 | 5 | 27 | 16.8 | 0.738462 | 0.22619 | 0 | 0 | 0 | 0 | 0.126984 | 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 |
cabf215598b0ef86cd55eda9871b7fe1d2891171 | 1,464 | py | Python | EulerEight.py | vanigupta20024/Programming-Challenges | 578dba33e9f6b04052a503bcb5de9b32f33494a5 | [
"MIT"
] | 14 | 2020-10-15T21:47:18.000Z | 2021-12-01T06:06:51.000Z | EulerEight.py | vanigupta20024/Programming-Challenges | 578dba33e9f6b04052a503bcb5de9b32f33494a5 | [
"MIT"
] | null | null | null | EulerEight.py | vanigupta20024/Programming-Challenges | 578dba33e9f6b04052a503bcb5de9b32f33494a5 | [
"MIT"
] | 4 | 2020-06-15T14:40:45.000Z | 2021-06-15T06:22:03.000Z | # Project Euler - Problem 7
# What is the 10 001st prime number?
import time
start = time.time()
s = "73167176531330624919225119674426574742355349194934\
9698352031277450632623957831801698480186947885184385861560789112949495459501737958331952853208805511\
12540698747158523863050715693290963295227443043557668966489504... | 37.538462 | 101 | 0.846311 | 105 | 1,464 | 11.8 | 0.47619 | 0.008071 | 0.009685 | 0.01937 | 0.041969 | 0.041969 | 0 | 0 | 0 | 0 | 0 | 0.76298 | 0.092213 | 1,464 | 38 | 102 | 38.526316 | 0.1693 | 0.040984 | 0 | 0 | 0 | 0 | 0.002141 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.033333 | 0 | 0.1 | 0.066667 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cadfb2d6ce0426383623ded5f2662bc9dd5dd1ea | 220 | py | Python | app/main/__init__.py | Amukozoberit/Quotes2 | 80795a5208f9442bf954170a0e4b22d71c53eb81 | [
"MIT"
] | null | null | null | app/main/__init__.py | Amukozoberit/Quotes2 | 80795a5208f9442bf954170a0e4b22d71c53eb81 | [
"MIT"
] | null | null | null | app/main/__init__.py | Amukozoberit/Quotes2 | 80795a5208f9442bf954170a0e4b22d71c53eb81 | [
"MIT"
] | null | null | null | from flask import Blueprint
from ..models import Permission
main=Blueprint('main',__name__)
from . import views,errors
@main.app_context_processor
def inject_permissions():
return dict(Permission=Permission)
| 14.666667 | 38 | 0.781818 | 27 | 220 | 6.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 220 | 14 | 39 | 15.714286 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.714286 | 0.285714 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
cae4941b80862b24ca4349b8e21a5e0aa4ef9345 | 68 | py | Python | VERSION_INFO_SAMPLE.py | CubeZeero/AE_SpotifyCtrl | 8635fa46800010a9ea4c9d6a6eb8c9baf942e117 | [
"MIT"
] | null | null | null | VERSION_INFO_SAMPLE.py | CubeZeero/AE_SpotifyCtrl | 8635fa46800010a9ea4c9d6a6eb8c9baf942e117 | [
"MIT"
] | null | null | null | VERSION_INFO_SAMPLE.py | CubeZeero/AE_SpotifyCtrl | 8635fa46800010a9ea4c9d6a6eb8c9baf942e117 | [
"MIT"
] | null | null | null | def VERSION():
VERSION = 'YOUR_VERSION_HERE'
return VERSION
| 17 | 33 | 0.691176 | 8 | 68 | 5.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220588 | 68 | 3 | 34 | 22.666667 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0.25 | 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 |
1b09c96060e99d69a41efe3615e2a630b16fe7b1 | 18,056 | py | Python | guestbook.py | Wangchl2016/Music-Library | 0351d36b98a45e689ce2ec1c014e9f7ac88ff6ce | [
"Apache-2.0"
] | null | null | null | guestbook.py | Wangchl2016/Music-Library | 0351d36b98a45e689ce2ec1c014e9f7ac88ff6ce | [
"Apache-2.0"
] | null | null | null | guestbook.py | Wangchl2016/Music-Library | 0351d36b98a45e689ce2ec1c014e9f7ac88ff6ce | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from __future__ import unicode_literals
# Copyright 2016 Google Inc.
#
# 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/LICEN... | 32.829091 | 79 | 0.562528 | 2,037 | 18,056 | 4.769269 | 0.117329 | 0.046938 | 0.028821 | 0.035203 | 0.743181 | 0.72352 | 0.710036 | 0.702625 | 0.674627 | 0.639424 | 0 | 0.006787 | 0.339056 | 18,056 | 549 | 80 | 32.888889 | 0.807273 | 0.188414 | 0 | 0.672783 | 0 | 0 | 0.061674 | 0.003016 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042813 | false | 0 | 0.030581 | 0 | 0.149847 | 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 |
1b458cdaf161556fb4cbf9570138d9627368aeef | 184 | py | Python | HW8/SoKKoS/CW_8_1.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | null | null | null | HW8/SoKKoS/CW_8_1.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | null | null | null | HW8/SoKKoS/CW_8_1.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | 6 | 2022-02-22T22:30:49.000Z | 2022-03-28T12:51:19.000Z | def summation(num):
return int(num * (num+1) / 2)
number = int(input('The number will always be a positive integer greater than 0.'))
print(f'summation = {summation(number)}')
| 20.444444 | 83 | 0.679348 | 28 | 184 | 4.464286 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019737 | 0.173913 | 184 | 8 | 84 | 23 | 0.802632 | 0 | 0 | 0 | 0 | 0 | 0.497268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
1b4f6ccef0c1d6b2b1fa0a7bb0b5e40174688ca4 | 108 | py | Python | flaim/product_search/apps.py | bfssi-forest-dussault/flaime | 7c898f07e0d7c16b63a59d2c0c56290e32a2df47 | [
"MIT"
] | null | null | null | flaim/product_search/apps.py | bfssi-forest-dussault/flaime | 7c898f07e0d7c16b63a59d2c0c56290e32a2df47 | [
"MIT"
] | 11 | 2020-11-09T19:55:58.000Z | 2022-02-13T19:43:03.000Z | flaim/product_search/apps.py | BFSSI-Bioinformatics-Lab/flaime | 1feedf3974114c16724bfbd235ce4637983a3f5e | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ProductSearchConfig(AppConfig):
name = 'flaim.product_search'
| 18 | 37 | 0.787037 | 12 | 108 | 7 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 108 | 5 | 38 | 21.6 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 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 |
1b826e8ff98cc01f8b74d6759239a1116b02fa42 | 245 | py | Python | modules/gdscript_transpiler/config.py | ppiecuch/gd_goost | 93a3a28b8555310c6fbe44c009b905a57046290b | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | modules/gdscript_transpiler/config.py | ppiecuch/gd_goost | 93a3a28b8555310c6fbe44c009b905a57046290b | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | modules/gdscript_transpiler/config.py | ppiecuch/gd_goost | 93a3a28b8555310c6fbe44c009b905a57046290b | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | #!/usr/bin/env python
def can_build(env, platform):
# Editor only module
return env["tools"]
def configure(env):
pass
def is_enabled():
# Enable manually with `module_gdscript_transpiler_enabled=yes` option.
return True
| 16.333333 | 75 | 0.697959 | 33 | 245 | 5.030303 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 245 | 14 | 76 | 17.5 | 0.846939 | 0.444898 | 0 | 0 | 0 | 0 | 0.037594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.166667 | 0 | 0.333333 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
1bd491cad9869a11fddfbdfbb033b0459fbd192f | 352 | py | Python | src/tarski/syntax/transform/__init__.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 29 | 2018-11-26T20:31:04.000Z | 2021-12-29T11:08:40.000Z | src/tarski/syntax/transform/__init__.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 101 | 2018-06-07T13:10:01.000Z | 2022-03-11T11:54:00.000Z | src/tarski/syntax/transform/__init__.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 18 | 2018-11-01T22:44:39.000Z | 2022-02-28T04:57:15.000Z |
from .nnf import NNFTransformation, to_negation_normal_form
from .cnf import CNFTransformation, to_conjunctive_normal_form
from .prenex import PrenexTransformation, to_prenex_negation_normal_form
from .quantifier_elimination import QuantifierElimination, QuantifierEliminationMode, remove_quantifiers
from .neg_builtin ... | 50.285714 | 104 | 0.897727 | 38 | 352 | 7.973684 | 0.578947 | 0.09901 | 0.138614 | 0.145215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073864 | 352 | 6 | 105 | 58.666667 | 0.929448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9421063687d5c674de82454a24f2a06d3bbc10f3 | 172 | py | Python | Web dev/Django/Projects/Hospital Management Systems/venv/Scripts/django-admin.py | prathimacode-hub/WIE-WoC | f412f297a57249af98213bf4a747c897f2d4c035 | [
"MIT"
] | 8 | 2022-03-01T09:09:20.000Z | 2022-03-03T05:36:01.000Z | Web dev/Django/Projects/Hospital Management Systems/venv/Scripts/django-admin.py | prathimacode-hub/WIE-WoC | f412f297a57249af98213bf4a747c897f2d4c035 | [
"MIT"
] | 52 | 2022-03-02T13:52:46.000Z | 2022-03-04T03:03:17.000Z | Web dev/Django/Projects/Hospital Management Systems/venv/Scripts/django-admin.py | prathimacode-hub/WIE-WoC | f412f297a57249af98213bf4a747c897f2d4c035 | [
"MIT"
] | 23 | 2022-03-01T06:39:34.000Z | 2022-03-03T09:24:40.000Z | #!C:\Users\INDIA\PycharmProjects\patient5\venv\Scripts\python.exe
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 28.666667 | 65 | 0.796512 | 22 | 172 | 5.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.087209 | 172 | 5 | 66 | 34.4 | 0.796178 | 0.372093 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
943a6e918a39fde29903bdaa2b2cdab7804a8d42 | 203 | py | Python | mamba/__init__.py | jaimegildesagredo/mamba | f7cdb231b5eec036edba05752ae90d174751aa10 | [
"MIT"
] | null | null | null | mamba/__init__.py | jaimegildesagredo/mamba | f7cdb231b5eec036edba05752ae90d174751aa10 | [
"MIT"
] | null | null | null | mamba/__init__.py | jaimegildesagredo/mamba | f7cdb231b5eec036edba05752ae90d174751aa10 | [
"MIT"
] | null | null | null | from mamba.loader import describe, context
from mamba.hooks import before, after
from mamba.decorators import pending
__all__ = ['describe', 'context', 'before', 'after', 'pending']
__version__ = '0.6'
| 29 | 63 | 0.748768 | 26 | 203 | 5.538462 | 0.576923 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.123153 | 203 | 6 | 64 | 33.833333 | 0.797753 | 0 | 0 | 0 | 0 | 0 | 0.17734 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9459bb0f03aa50504d4105c581de763700f9c2e2 | 445 | py | Python | plugin/python/libraries/numpy/v1_x/methods.py | deqode/CodeAnalyser | 253488e3f54772010c92d159cd7a9808e13f45e1 | [
"MIT"
] | 3 | 2021-07-13T12:48:48.000Z | 2021-07-21T07:57:21.000Z | plugin/python/libraries/numpy/v1_x/methods.py | deqode/code-analyser | 253488e3f54772010c92d159cd7a9808e13f45e1 | [
"MIT"
] | null | null | null | plugin/python/libraries/numpy/v1_x/methods.py | deqode/code-analyser | 253488e3f54772010c92d159cd7a9808e13f45e1 | [
"MIT"
] | null | null | null | from protos.plugin import library_pb2_grpc, common_pb2
class Methods(library_pb2_grpc.LibraryServiceServicer):
def Detect(self, request, context):
return common_pb2.ServiceOutputBool(value=True, error=None)
def IsUsed(self, request, context):
return common_pb2.ServiceOutputBool(value=True, er... | 34.230769 | 67 | 0.759551 | 54 | 445 | 6.111111 | 0.481481 | 0.109091 | 0.163636 | 0.218182 | 0.530303 | 0.530303 | 0.430303 | 0.430303 | 0.430303 | 0.430303 | 0 | 0.02122 | 0.152809 | 445 | 12 | 68 | 37.083333 | 0.854111 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.375 | 1 | 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 |
9465004e65aa4a1c46ff0c353a22bdc9a36dbb13 | 4,740 | py | Python | temboo/core/Library/Utilities/Callback/RegisterCallback.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Utilities/Callback/RegisterCallback.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Utilities/Callback/RegisterCallback.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | # -*- coding: utf-8 -*-
###############################################################################
#
# RegisterCallback
# Allows you to generate a unique URL that can "listen" for incoming data from web request.
#
# Python versions 2.6, 2.7, 3.x
#
# Copyright 2014, Temboo Inc.
#
# Licensed under the Apache Licens... | 46.019417 | 280 | 0.700633 | 598 | 4,740 | 5.489967 | 0.326087 | 0.021322 | 0.017058 | 0.031678 | 0.293634 | 0.217484 | 0.18215 | 0.128541 | 0.128541 | 0.128541 | 0 | 0.004192 | 0.194726 | 4,740 | 102 | 281 | 46.470588 | 0.855908 | 0.540506 | 0 | 0 | 1 | 0 | 0.063652 | 0.024567 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.151515 | 0.151515 | 0.848485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
946d934aac033af47877b5f2809432c42624515e | 124 | py | Python | xmca/__init__.py | NiclasRieger/mca | 579f4d8be90062bec57ed88cb7b4c6f1e1bc3da9 | [
"MIT"
] | 23 | 2021-05-14T11:05:02.000Z | 2022-03-26T15:40:26.000Z | xmca/__init__.py | NiclasRieger/mca | 579f4d8be90062bec57ed88cb7b4c6f1e1bc3da9 | [
"MIT"
] | 13 | 2021-03-22T11:05:05.000Z | 2022-02-25T17:47:28.000Z | xmca/__init__.py | NiclasRieger/mca | 579f4d8be90062bec57ed88cb7b4c6f1e1bc3da9 | [
"MIT"
] | 11 | 2021-03-22T03:04:37.000Z | 2022-02-24T03:54:25.000Z | from .version import __version__
# __version__ = version
__author__ = 'Niclas Rieger'
__email__ = 'niclasrieger@gmail.com'
| 20.666667 | 36 | 0.782258 | 13 | 124 | 6.230769 | 0.769231 | 0.345679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 124 | 5 | 37 | 24.8 | 0.75 | 0.169355 | 0 | 0 | 0 | 0 | 0.346535 | 0.217822 | 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 |
847c619b59a80ff4f78080c906715a33d7fa95e3 | 14,327 | py | Python | 05/solution.py | AlecRosenbaum/adventofcode2017 | 9214a64db77492790d30bbd22e835535d05abb25 | [
"MIT"
] | null | null | null | 05/solution.py | AlecRosenbaum/adventofcode2017 | 9214a64db77492790d30bbd22e835535d05abb25 | [
"MIT"
] | null | null | null | 05/solution.py | AlecRosenbaum/adventofcode2017 | 9214a64db77492790d30bbd22e835535d05abb25 | [
"MIT"
] | null | null | null | """
Day 5 challenge
"""
import attr
def solution_part_one(arg):
instructions = arg[:]
n = 0
pos = 0
while pos < len(instructions):
idx = pos
pos += instructions[idx]
instructions[idx] += 1
n += 1
return n
def solution_part_two(arg):
instructions = arg[:]
... | 13.710048 | 42 | 0.209046 | 1,087 | 14,327 | 2.73781 | 0.478381 | 0.040323 | 0.016129 | 0.012769 | 0.064516 | 0.064516 | 0.064516 | 0.047715 | 0.047715 | 0.047715 | 0 | 0.517207 | 0.6471 | 14,327 | 1,044 | 43 | 13.72318 | 0.0714 | 0.001047 | 0 | 0.742248 | 0 | 0 | 0.000559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001938 | false | 0 | 0.000969 | 0 | 0.004845 | 0.001938 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
84dd31cbf0da03f0ef4963eb4fc603ec03fcce39 | 169 | py | Python | pycrostates/utils/__init__.py | mscheltienne/pycrostates | be87adf69c94b2b179064f337acd8a49d01c305d | [
"BSD-3-Clause"
] | 1 | 2021-12-14T09:58:57.000Z | 2021-12-14T09:58:57.000Z | pycrostates/utils/__init__.py | mscheltienne/pycrostates | be87adf69c94b2b179064f337acd8a49d01c305d | [
"BSD-3-Clause"
] | null | null | null | pycrostates/utils/__init__.py | mscheltienne/pycrostates | be87adf69c94b2b179064f337acd8a49d01c305d | [
"BSD-3-Clause"
] | null | null | null | """Utils module for utilities."""
from ._config import get_config
from .utils import _compare_infos, _copy_info, _corr_vectors # noqa: F401
__all__ = ("get_config",)
| 24.142857 | 74 | 0.751479 | 23 | 169 | 4.956522 | 0.73913 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020548 | 0.136095 | 169 | 6 | 75 | 28.166667 | 0.760274 | 0.230769 | 0 | 0 | 0 | 0 | 0.080645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
84e17acc54a7c04765942b57041fe49ffee8eae2 | 180 | py | Python | Common/Loger.py | aoii103/EarthquakeSpy | 437228128dbe40bd7976013d4187c062109360bc | [
"MIT"
] | 3 | 2018-09-19T10:57:27.000Z | 2019-05-08T02:10:41.000Z | Common/Loger.py | aoii103/EarthquakeSpy | 437228128dbe40bd7976013d4187c062109360bc | [
"MIT"
] | null | null | null | Common/Loger.py | aoii103/EarthquakeSpy | 437228128dbe40bd7976013d4187c062109360bc | [
"MIT"
] | 1 | 2020-08-31T11:33:54.000Z | 2020-08-31T11:33:54.000Z | import logging
logging.basicConfig(
format="[%(asctime)s] >>> %(levelname)s %(name)s: %(message)s", level=logging.INFO)
def GetLoger(Name):
return logging.getLogger(Name) | 30 | 88 | 0.694444 | 23 | 180 | 5.434783 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 180 | 6 | 89 | 30 | 0.791139 | 0 | 0 | 0 | 0 | 0 | 0.298343 | 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 |
84e265f70fc5288f1bd0bfec111a051b8a3777eb | 149 | py | Python | tests/cpydiff/core_fstring_raw.py | rxchen/micropython | 037b2c72a1d5b54a5508a58ab2044628a7a39fa4 | [
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | tests/cpydiff/core_fstring_raw.py | rxchen/micropython | 037b2c72a1d5b54a5508a58ab2044628a7a39fa4 | [
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | tests/cpydiff/core_fstring_raw.py | rxchen/micropython | 037b2c72a1d5b54a5508a58ab2044628a7a39fa4 | [
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | """
categories: Core
description: Raw f-strings are not supported
cause: MicroPython is optimised for code space.
workaround: Unknown
"""
rf"hello"
| 16.555556 | 47 | 0.765101 | 20 | 149 | 5.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14094 | 149 | 8 | 48 | 18.625 | 0.890625 | 0.865772 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
84f49df4b54fc586d59781fc882e6884c4c5d19d | 1,365 | py | Python | importer/base.py | czfshine/MarkAll | 0b3d0ccf5cf0da9957273024bc942cae7441a026 | [
"MIT"
] | 2 | 2016-09-16T02:24:30.000Z | 2018-03-07T04:48:27.000Z | importer/base.py | czfshine/MarkAll | 0b3d0ccf5cf0da9957273024bc942cae7441a026 | [
"MIT"
] | null | null | null | importer/base.py | czfshine/MarkAll | 0b3d0ccf5cf0da9957273024bc942cae7441a026 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from treelib import *
import urlparse
class bkdata(object):
''' the bookmark data '''
def __init__(self,data):
for k in data :
setattr(self,k,data[k])#then it can getattr :(
def to_dict(self):
return self.__dict__
class importer(object):
'''im... | 25.754717 | 63 | 0.522344 | 167 | 1,365 | 4.149701 | 0.413174 | 0.103896 | 0.025974 | 0.040404 | 0.248196 | 0.193362 | 0.193362 | 0.193362 | 0.118326 | 0.118326 | 0 | 0.001121 | 0.34652 | 1,365 | 53 | 64 | 25.754717 | 0.775785 | 0.153114 | 0 | 0.242424 | 0 | 0 | 0.000901 | 0 | 0 | 0 | 0 | 0.018868 | 0 | 1 | 0.333333 | false | 0.121212 | 0.090909 | 0.060606 | 0.575758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
84fdd9af6928df02db0ff0754cd7c640c4ac0ead | 2,030 | py | Python | netbuilder/__init__.py | zinph/NetBuilder | 273f845db4cb821b4cf0a4c03770a0b909fbb560 | [
"MIT"
] | 1 | 2021-02-03T11:23:55.000Z | 2021-02-03T11:23:55.000Z | netbuilder/__init__.py | zinph/NetBuilder | 273f845db4cb821b4cf0a4c03770a0b909fbb560 | [
"MIT"
] | null | null | null | netbuilder/__init__.py | zinph/NetBuilder | 273f845db4cb821b4cf0a4c03770a0b909fbb560 | [
"MIT"
] | null | null | null | """Create fully connected neural networks.
Examples
-------
To use the package, it has to be imported first like:
>>> import netbuilder
or
>>> import netbuilder as nb
With the following lines, you can create a neural network for
a binary gate:
>>> net = nb.Network()
>>> net.init(topo... | 29.42029 | 81 | 0.691626 | 308 | 2,030 | 4.493506 | 0.386364 | 0.065029 | 0.046243 | 0.021676 | 0.093931 | 0.040462 | 0.040462 | 0 | 0 | 0 | 0 | 0.022886 | 0.225123 | 2,030 | 68 | 82 | 29.852941 | 0.856961 | 0.8133 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
17053b0c1f9eaf2fd0b24a87a69a088f2ca7cbcd | 200 | py | Python | agronet_be/AgronetApp/models/departament.py | lauraC4MP0/Prueba-github | 291fc266fc0a8efc80ab36dd6eb4bff3e98e7c1f | [
"MIT"
] | 1 | 2021-10-06T00:39:08.000Z | 2021-10-06T00:39:08.000Z | agronet_be/AgronetApp/models/departament.py | lauraC4MP0/Prueba-github | 291fc266fc0a8efc80ab36dd6eb4bff3e98e7c1f | [
"MIT"
] | null | null | null | agronet_be/AgronetApp/models/departament.py | lauraC4MP0/Prueba-github | 291fc266fc0a8efc80ab36dd6eb4bff3e98e7c1f | [
"MIT"
] | 1 | 2021-10-03T13:39:31.000Z | 2021-10-03T13:39:31.000Z | from django.db import models
class Departament(models.Model):
id_departament = models.IntegerField(primary_key=True)
name_departament = models.CharField('Departamento', max_length = 15)
| 33.333333 | 73 | 0.765 | 24 | 200 | 6.208333 | 0.791667 | 0.342282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0.145 | 200 | 5 | 74 | 40 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ca0785af7063963b58fdaae8f471025888b8b46f | 1,361 | py | Python | src/xSACdb/roles/decorators.py | minyiky/xSACdb | 8c407e9a9da196750a66ad53613ad67c8c56e1c3 | [
"MIT"
] | 2 | 2017-08-14T14:40:17.000Z | 2019-02-07T13:10:23.000Z | src/xSACdb/roles/decorators.py | minyiky/xSACdb | 8c407e9a9da196750a66ad53613ad67c8c56e1c3 | [
"MIT"
] | 19 | 2016-02-07T18:02:53.000Z | 2019-11-03T17:48:13.000Z | src/xSACdb/roles/decorators.py | minyiky/xSACdb | 8c407e9a9da196750a66ad53613ad67c8c56e1c3 | [
"MIT"
] | 4 | 2015-10-19T17:24:35.000Z | 2021-05-12T07:30:32.000Z | from django.core.exceptions import PermissionDenied
from .functions import *
class require_group:
def __init__(self, f):
self.f=f
def is_allowed(self,user):
return False
def __call__(self,request, *args, **kwargs):
if self.is_allowed(request.user):
return self.f(reque... | 28.354167 | 51 | 0.714181 | 179 | 1,361 | 5.134078 | 0.212291 | 0.107726 | 0.163221 | 0.174102 | 0.478781 | 0.478781 | 0.45049 | 0.45049 | 0.45049 | 0.319913 | 0 | 0 | 0.198384 | 1,361 | 47 | 52 | 28.957447 | 0.842346 | 0 | 0 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.051282 | 0.25641 | 0.897436 | 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 |
ca44c4b4a922ee4c322f05fad403519e416a4479 | 93 | py | Python | core/plugin/__init__.py | Holzhaus/jasper-plugin-draft | 5d3f89abf9b2799731079596978dbd0de49fbb0e | [
"JasPer-2.0",
"MIT"
] | 1 | 2015-03-11T14:19:24.000Z | 2015-03-11T14:19:24.000Z | core/plugin/__init__.py | Holzhaus/jasper-plugin-draft | 5d3f89abf9b2799731079596978dbd0de49fbb0e | [
"JasPer-2.0",
"MIT"
] | null | null | null | core/plugin/__init__.py | Holzhaus/jasper-plugin-draft | 5d3f89abf9b2799731079596978dbd0de49fbb0e | [
"JasPer-2.0",
"MIT"
] | null | null | null | from . import types
from .manager import PluginManager
__all__ = ['PluginManager', 'types']
| 18.6 | 36 | 0.752688 | 10 | 93 | 6.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 93 | 4 | 37 | 23.25 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ca705b4d66574b3cbb4b789138782fb79432f6ae | 9,048 | py | Python | Data Gen/relgen.py | selinozdas/ObsCo | 296c0fbac97612b50bca03ccb24b8851781952ac | [
"MIT"
] | 1 | 2018-10-22T18:44:31.000Z | 2018-10-22T18:44:31.000Z | Data Gen/relgen.py | selinozdas/epsikon | 296c0fbac97612b50bca03ccb24b8851781952ac | [
"MIT"
] | null | null | null | Data Gen/relgen.py | selinozdas/epsikon | 296c0fbac97612b50bca03ccb24b8851781952ac | [
"MIT"
] | null | null | null | from pymongo import MongoClient
#change url
mongo_url = 'mongodb://127.0.0.1:27017/'
client = MongoClient()
db = client['obsco']
db.relations.insert_many([
{
'voter':12345671,
'voted':12345672,
'votes':[1,1,1,1,1,0,0,1,1]
},
{
'voter':12345671,
'voted':12345673,
... | 19.542117 | 44 | 0.383842 | 1,014 | 9,048 | 3.423077 | 0.036489 | 0.077211 | 0.049265 | 0.03342 | 0.845866 | 0.702679 | 0.467589 | 0.333045 | 0.158744 | 0.034572 | 0 | 0.370857 | 0.403073 | 9,048 | 463 | 45 | 19.542117 | 0.271802 | 0.001105 | 0 | 0.498915 | 0 | 0 | 0.154459 | 0.002877 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002169 | 0 | 0.002169 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ca7506243947fc032fb70e7910e132594139685a | 43 | py | Python | libs/pyexcel/__version__.py | rocketbot-cl/PivotTableExcel | 041c8db2bbcd9655d30bf4c37aca4902b3d1db7a | [
"MIT"
] | null | null | null | libs/pyexcel/__version__.py | rocketbot-cl/PivotTableExcel | 041c8db2bbcd9655d30bf4c37aca4902b3d1db7a | [
"MIT"
] | 3 | 2020-02-24T03:41:18.000Z | 2021-12-13T20:45:52.000Z | pyexcel/__version__.py | heholek/pyexcel | bf111f20b51eeb10bf6020af84156fde3cb26b38 | [
"BSD-3-Clause"
] | null | null | null | __version__ = '0.5.15'
__author__ = 'C.W.'
| 14.333333 | 22 | 0.627907 | 7 | 43 | 2.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0.139535 | 43 | 2 | 23 | 21.5 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 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 |
ca75fcb3c8515832e54adfde75adb4f6c4ec10df | 98 | py | Python | tutorials/class_2/apps.py | MeGustas-5427/SQL_Tutorials | 627372c2d5d8656d72645830c9a1fae1df278fc7 | [
"Apache-2.0"
] | 13 | 2020-11-05T04:22:51.000Z | 2022-02-27T08:44:50.000Z | tutorials/class_2/apps.py | MeGustas-5427/SQL_Tutorials | 627372c2d5d8656d72645830c9a1fae1df278fc7 | [
"Apache-2.0"
] | null | null | null | tutorials/class_2/apps.py | MeGustas-5427/SQL_Tutorials | 627372c2d5d8656d72645830c9a1fae1df278fc7 | [
"Apache-2.0"
] | 2 | 2020-11-10T10:01:20.000Z | 2021-04-07T02:33:29.000Z | from django.apps import AppConfig
class Class2Config(AppConfig):
name = 'tutorials.class_2'
| 16.333333 | 33 | 0.765306 | 12 | 98 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.153061 | 98 | 5 | 34 | 19.6 | 0.86747 | 0 | 0 | 0 | 0 | 0 | 0.173469 | 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 |
0471e20c45f11d47b6540524d445d34d138a76b6 | 1,925 | py | Python | packages/director-sdk/python/test/test_users_api.py | oetiker/osparc-simcore | 00918bf8f000840cc70cc49458780a55858d52ea | [
"MIT"
] | null | null | null | packages/director-sdk/python/test/test_users_api.py | oetiker/osparc-simcore | 00918bf8f000840cc70cc49458780a55858d52ea | [
"MIT"
] | 2 | 2018-05-13T09:10:57.000Z | 2019-03-06T08:10:40.000Z | packages/director-sdk/python/test/test_users_api.py | oetiker/osparc-simcore | 00918bf8f000840cc70cc49458780a55858d52ea | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Director API
This is the oSparc's director API # noqa: E501
OpenAPI spec version: 0.1.0
Contact: support@simcore.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import simcore_director_sdk
from simcore_director_s... | 25 | 101 | 0.677922 | 244 | 1,925 | 5.106557 | 0.348361 | 0.057785 | 0.05297 | 0.072231 | 0.430979 | 0.394864 | 0.276083 | 0.150883 | 0 | 0 | 0 | 0.021618 | 0.255065 | 1,925 | 76 | 102 | 25.328947 | 0.84728 | 0.481039 | 0 | 0.291667 | 1 | 0 | 0.009615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.291667 | 0.208333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
047a04459c8afd589d167d2faedd9e21c93130bd | 420 | py | Python | language_bert/losses/__init__.py | gazalpatel/Language_BERT | 92e4068c5c7c7e77244fb7f6158bb36bf1b61eed | [
"Apache-2.0"
] | 31 | 2021-04-06T16:20:30.000Z | 2022-02-16T08:29:24.000Z | language_bert/losses/__init__.py | gazalpatel/Language_BERT | 92e4068c5c7c7e77244fb7f6158bb36bf1b61eed | [
"Apache-2.0"
] | 3 | 2021-05-18T03:49:27.000Z | 2022-01-05T01:50:22.000Z | language_bert/losses/__init__.py | gazalpatel/Language_BERT | 92e4068c5c7c7e77244fb7f6158bb36bf1b61eed | [
"Apache-2.0"
] | 5 | 2021-04-07T08:35:06.000Z | 2022-03-08T08:33:05.000Z | from .CosineSimilarityLoss import *
from .SoftmaxLoss import *
from .MultipleNegativesRankingLoss import *
from .TripletLoss import *
from .MSELoss import *
from .ContrastiveLoss import *
from .OnlineContrastiveLoss import *
from .BatchHardTripletLoss import *
from .BatchHardSoftMarginTripletLoss import *
from .BatchS... | 30 | 45 | 0.82619 | 36 | 420 | 9.638889 | 0.388889 | 0.317003 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 420 | 13 | 46 | 32.307692 | 0.93531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
04a74e30d5419ee313811575840ab17653f5c839 | 43 | py | Python | ctfcli/__init__.py | MilyMilo/ctfcli | 335d7b74b8b24924e42f5d96a9a68d9327e11ceb | [
"Apache-2.0"
] | null | null | null | ctfcli/__init__.py | MilyMilo/ctfcli | 335d7b74b8b24924e42f5d96a9a68d9327e11ceb | [
"Apache-2.0"
] | null | null | null | ctfcli/__init__.py | MilyMilo/ctfcli | 335d7b74b8b24924e42f5d96a9a68d9327e11ceb | [
"Apache-2.0"
] | null | null | null | __version__ = "0.0.10"
__name__ = "ctfcli"
| 14.333333 | 22 | 0.674419 | 6 | 43 | 3.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0.139535 | 43 | 2 | 23 | 21.5 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 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 |
04d58a3b8bdcb33915a4e22cab618ef1009c63e7 | 247 | py | Python | tests/obj/business_response_test.py | ruchir594/messenger-bot-yelp-aws | 757d9e3e599432954a1acbf477b2f40e5c2d247c | [
"MIT"
] | 1 | 2016-08-09T21:28:26.000Z | 2016-08-09T21:28:26.000Z | tests/obj/business_response_test.py | ruchir594/messenger-bot-yelp-aws | 757d9e3e599432954a1acbf477b2f40e5c2d247c | [
"MIT"
] | null | null | null | tests/obj/business_response_test.py | ruchir594/messenger-bot-yelp-aws | 757d9e3e599432954a1acbf477b2f40e5c2d247c | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
from yelp.obj.business import Business
from yelp.obj.business_response import BusinessResponse
def test_make_business_response():
biz_response = BusinessResponse({})
assert type(biz_response.business) is Business
| 27.444444 | 55 | 0.773279 | 31 | 247 | 5.967742 | 0.548387 | 0.086486 | 0.118919 | 0.205405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004651 | 0.129555 | 247 | 8 | 56 | 30.875 | 0.855814 | 0.08502 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
04e54898e0b86a46980499b94c96db2931de15a5 | 113 | py | Python | theseus/base/metrics/__init__.py | kaylode/Custom-Template | b2f11bfacf2b03b793476a19781f9046fab6fd82 | [
"MIT"
] | 2 | 2022-02-18T04:41:29.000Z | 2022-03-12T09:04:14.000Z | theseus/base/metrics/__init__.py | kaylode/mediaeval21-vsa | 8c5e7d612393d511331124931843c2ed07192c1b | [
"MIT"
] | 8 | 2022-02-16T17:01:28.000Z | 2022-03-28T02:53:45.000Z | theseus/base/metrics/__init__.py | lannguyen0910/theseus | 5c08fb2f4a9c7ffa395788e6a0ade43780e8bd7d | [
"MIT"
] | 3 | 2022-02-13T05:00:13.000Z | 2022-03-02T00:11:27.000Z | from theseus.registry import Registry
from .metric_template import Metric
METRIC_REGISTRY = Registry('METRIC')
| 18.833333 | 37 | 0.823009 | 14 | 113 | 6.5 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 113 | 5 | 38 | 22.6 | 0.91 | 0 | 0 | 0 | 0 | 0 | 0.053097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
04ed3a31ba03c3f597496c93d4309dbd599f0a3e | 1,915 | py | Python | untitled/precaritorazor/models.py | NDI-ICE-2019/NDI-main-subject-backend | 5628e36b414599e75eace6acea6536131c4126fa | [
"MIT"
] | null | null | null | untitled/precaritorazor/models.py | NDI-ICE-2019/NDI-main-subject-backend | 5628e36b414599e75eace6acea6536131c4126fa | [
"MIT"
] | null | null | null | untitled/precaritorazor/models.py | NDI-ICE-2019/NDI-main-subject-backend | 5628e36b414599e75eace6acea6536131c4126fa | [
"MIT"
] | null | null | null | from django.db import models
class Question(models.Model):
question_text = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
class Choice(models.Model):
question = models.ForeignKey(Question, on_delete=models.CASCADE)
choice_text = models.CharField(max_length=200)
... | 27.357143 | 76 | 0.721671 | 241 | 1,915 | 5.526971 | 0.215768 | 0.191441 | 0.22973 | 0.306306 | 0.567568 | 0.425676 | 0.375375 | 0.323574 | 0.291291 | 0.22973 | 0 | 0.0347 | 0.172324 | 1,915 | 69 | 77 | 27.753623 | 0.805678 | 0.076762 | 0 | 0.318182 | 0 | 0 | 0.007937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.022727 | 0.136364 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b6ddbe7c2cabd5e9f6c3a2acc63484a224906441 | 702 | py | Python | careapi/models.py | Framinus/transgendercare | 3c5fc53774fb5e808a5f33faa1f7a288d9f33d56 | [
"MIT"
] | null | null | null | careapi/models.py | Framinus/transgendercare | 3c5fc53774fb5e808a5f33faa1f7a288d9f33d56 | [
"MIT"
] | null | null | null | careapi/models.py | Framinus/transgendercare | 3c5fc53774fb5e808a5f33faa1f7a288d9f33d56 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Office(models.Model):
name = models.CharField(max_length=200)
staff_rating = models.IntegerField(default=0)
forms_language = models.IntegerField(default=0)
class Provider(models.Model):
name = models.CharField(max_length=200)
zip_code =... | 30.521739 | 52 | 0.716524 | 89 | 702 | 5.505618 | 0.460674 | 0.110204 | 0.183673 | 0.244898 | 0.281633 | 0.171429 | 0.171429 | 0.171429 | 0 | 0 | 0 | 0.033101 | 0.182336 | 702 | 23 | 53 | 30.521739 | 0.820557 | 0.034188 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.052632 | 0.052632 | 0 | 0.736842 | 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 |
8e0d07e6ae3069591aee66b7e572a4f8ae9db266 | 191 | py | Python | nac/plotter/tests/test_plotter.py | NaleRaphael/nac | 205e81502a6bb963bfca47793e3e2b5bc1d582c8 | [
"MIT"
] | 1 | 2019-10-08T07:50:39.000Z | 2019-10-08T07:50:39.000Z | nac/plotter/tests/test_plotter.py | NaleRaphael/nac | 205e81502a6bb963bfca47793e3e2b5bc1d582c8 | [
"MIT"
] | null | null | null | nac/plotter/tests/test_plotter.py | NaleRaphael/nac | 205e81502a6bb963bfca47793e3e2b5bc1d582c8 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
import unittest
import numpy as np
from nac.plotter import LogPlotter
class TestLogPlotter(unittest.TestCase):
def test_plot(self):
pass
| 17.363636 | 40 | 0.780105 | 25 | 191 | 5.72 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17801 | 191 | 10 | 41 | 19.1 | 0.910828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.571429 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
8e1efde181bc7ecf4280c02509459ae898ca2dfa | 23 | py | Python | horch/_version.py | sbl1996/pytorch-hrvvi-ext | f19abcbedd844a700b2e2596dd817ea80cbb6287 | [
"MIT"
] | 17 | 2019-05-14T10:47:25.000Z | 2021-06-09T05:39:47.000Z | horch/_version.py | sbl1996/pytorch-hrvvi-ext | f19abcbedd844a700b2e2596dd817ea80cbb6287 | [
"MIT"
] | null | null | null | horch/_version.py | sbl1996/pytorch-hrvvi-ext | f19abcbedd844a700b2e2596dd817ea80cbb6287 | [
"MIT"
] | 5 | 2019-08-08T07:04:38.000Z | 2020-07-04T08:58:32.000Z | __version__ = "1.4.14"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 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 |
8e4dfeb28c1428a1a26134bdf83eecff4fc5db13 | 153 | py | Python | form/email_parser/forms.py | LL06-Reports-Analysis-Dowell/100043-exhibitorlist | 036a9f4f826cb7ebd8615c237a23c792edd18f9f | [
"Apache-2.0"
] | null | null | null | form/email_parser/forms.py | LL06-Reports-Analysis-Dowell/100043-exhibitorlist | 036a9f4f826cb7ebd8615c237a23c792edd18f9f | [
"Apache-2.0"
] | 2 | 2021-09-22T20:11:17.000Z | 2021-11-04T05:37:51.000Z | form/email_parser/forms.py | LL06-Reports-Analysis-Dowell/100043-exhibitorlist | 036a9f4f826cb7ebd8615c237a23c792edd18f9f | [
"Apache-2.0"
] | null | null | null | from django import forms
from .models import Event
class EventForm(forms.ModelForm):
class Meta:
model = Event
fields = '__all__'
| 15.3 | 33 | 0.666667 | 18 | 153 | 5.444444 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267974 | 153 | 9 | 34 | 17 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.045752 | 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 |
f3f6c330726703c29f916def57634b16201374b3 | 61 | py | Python | tests/integration/__init__.py | hotenov/playlist-along | fad876ebf907571abb58766e0d51a18d4cc50a67 | [
"MIT"
] | null | null | null | tests/integration/__init__.py | hotenov/playlist-along | fad876ebf907571abb58766e0d51a18d4cc50a67 | [
"MIT"
] | 71 | 2021-04-18T05:29:22.000Z | 2022-03-15T15:41:28.000Z | tests/integration/__init__.py | hotenov/playlist-along | fad876ebf907571abb58766e0d51a18d4cc50a67 | [
"MIT"
] | 1 | 2021-05-29T02:25:25.000Z | 2021-05-29T02:25:25.000Z | """Integration test suite for the playlist_along package."""
| 30.5 | 60 | 0.770492 | 8 | 61 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 1 | 61 | 61 | 0.851852 | 0.885246 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
edbf18d39a72d2ddd9cc6e7041f08d4b4cebe521 | 302 | py | Python | DesignPatterns/05_iterator/1_no_iterator/department_collection.py | eduardormonteiro/PythonPersonalLibrary | 561733bb8305c4e25a08f99c28b60ec77251ad67 | [
"MIT"
] | null | null | null | DesignPatterns/05_iterator/1_no_iterator/department_collection.py | eduardormonteiro/PythonPersonalLibrary | 561733bb8305c4e25a08f99c28b60ec77251ad67 | [
"MIT"
] | null | null | null | DesignPatterns/05_iterator/1_no_iterator/department_collection.py | eduardormonteiro/PythonPersonalLibrary | 561733bb8305c4e25a08f99c28b60ec77251ad67 | [
"MIT"
] | null | null | null | class Departments(object):
_departments = []
def add_department(self, department):
self._departments.append(department)
def get_department(self, i):
return self._departments[i]
@property
def departments_range(self):
return (0, len(self._departments) - 1)
| 23.230769 | 46 | 0.665563 | 33 | 302 | 5.878788 | 0.484848 | 0.216495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008584 | 0.228477 | 302 | 12 | 47 | 25.166667 | 0.824034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
61141cae8d0e62946e4aed085cc2f4ed83c66240 | 156 | py | Python | src/apps/analytics/urls.py | binfeng1018/competitions-v2 | 173ea6053b7eda5de3a9f1a687dfb0d43bfc4e9c | [
"Apache-2.0"
] | 19 | 2018-07-27T19:14:10.000Z | 2021-12-08T16:34:42.000Z | src/apps/analytics/urls.py | binfeng1018/competitions-v2 | 173ea6053b7eda5de3a9f1a687dfb0d43bfc4e9c | [
"Apache-2.0"
] | 516 | 2017-07-27T15:45:43.000Z | 2022-02-10T07:57:46.000Z | src/apps/analytics/urls.py | binfeng1018/competitions-v2 | 173ea6053b7eda5de3a9f1a687dfb0d43bfc4e9c | [
"Apache-2.0"
] | 16 | 2018-01-01T19:07:01.000Z | 2021-09-17T07:59:59.000Z | from django.urls import path
from . import views
app_name = "analytics"
urlpatterns = [
path('', views.AnalyticsView.as_view(), name="analytics"),
]
| 15.6 | 62 | 0.698718 | 19 | 156 | 5.631579 | 0.684211 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160256 | 156 | 9 | 63 | 17.333333 | 0.816794 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 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 |
b62f88e0203b50c17277370c79cdacb1a42f5adc | 181 | py | Python | Statistics/Mean.py | Ra654/Stats-Calculator | 039ecaba3f8bb3ef69bb29e27f9c32d0fe2096b0 | [
"MIT"
] | null | null | null | Statistics/Mean.py | Ra654/Stats-Calculator | 039ecaba3f8bb3ef69bb29e27f9c32d0fe2096b0 | [
"MIT"
] | null | null | null | Statistics/Mean.py | Ra654/Stats-Calculator | 039ecaba3f8bb3ef69bb29e27f9c32d0fe2096b0 | [
"MIT"
] | null | null | null | from Calculator.Addition import addition
from Calculator.Division import division
def mean(num):
values = len(num)
total = sum(num)
return division(values, total)
| 13.923077 | 40 | 0.718232 | 23 | 181 | 5.652174 | 0.565217 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20442 | 181 | 12 | 41 | 15.083333 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b68c139c4d416b8f2d10a173958a63102486e538 | 133 | py | Python | coupons/urls.py | ihfazhillah/myshop-django | ccfc079da073f2872a3aac0f632f581025bb4c2c | [
"MIT"
] | null | null | null | coupons/urls.py | ihfazhillah/myshop-django | ccfc079da073f2872a3aac0f632f581025bb4c2c | [
"MIT"
] | 9 | 2020-06-05T19:01:16.000Z | 2022-03-11T23:29:05.000Z | coupons/urls.py | ihfazhillah/myshop-django | ccfc079da073f2872a3aac0f632f581025bb4c2c | [
"MIT"
] | null | null | null | from django.conf.urls import url
from .views import coupon_apply
urlpatterns = [
url('^apply/$', coupon_apply, name='apply')
]
| 16.625 | 47 | 0.706767 | 18 | 133 | 5.111111 | 0.611111 | 0.23913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 133 | 7 | 48 | 19 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.097744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b694c70150e53ff40a0cf24561577bb8a2d5de91 | 1,720 | py | Python | addBinary.py | ZhouLihua/leetcode | 7a711e450756fb7b5648e938879d690e583f5957 | [
"MIT"
] | 2 | 2019-05-16T03:11:44.000Z | 2019-10-25T03:20:05.000Z | addBinary.py | ZhouLihua/leetcode | 7a711e450756fb7b5648e938879d690e583f5957 | [
"MIT"
] | null | null | null | addBinary.py | ZhouLihua/leetcode | 7a711e450756fb7b5648e938879d690e583f5957 | [
"MIT"
] | null | null | null | class Solution:
def addBinary(self, a, b):
result_reversed = ""
m, n = len(a), len(b)
if m > n:
a, b = b, a
m, n = n, m
diff = n - m
flag = False
for i in range(m - 1, -1, -1):
if a[i] == "1" and b[diff + i] == "1":
... | 29.152542 | 61 | 0.348256 | 172 | 1,720 | 3.360465 | 0.232558 | 0.314879 | 0.181661 | 0.207612 | 0.584775 | 0.474048 | 0.458478 | 0.458478 | 0.401384 | 0.401384 | 0 | 0.043646 | 0.547093 | 1,720 | 58 | 62 | 29.655172 | 0.698331 | 0.029651 | 0 | 0.653846 | 0 | 0 | 0.020396 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0 | 0 | 0 | 0.057692 | 0.019231 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fcc4668a5e3fb2d85a205fdd37ec707eb380eabd | 142 | py | Python | server/core/schema/__init__.py | orbit7ch/creativeday | 67f3e91f3c2c9396c17131ad03e93a1707d26e2b | [
"MIT"
] | 1 | 2020-12-25T03:41:59.000Z | 2020-12-25T03:41:59.000Z | server/core/schema/__init__.py | orbit7ch/creativeday | 67f3e91f3c2c9396c17131ad03e93a1707d26e2b | [
"MIT"
] | 7 | 2020-07-21T12:57:18.000Z | 2022-02-26T19:16:06.000Z | server/core/schema/__init__.py | orbit7ch/creativeday | 67f3e91f3c2c9396c17131ad03e93a1707d26e2b | [
"MIT"
] | null | null | null | import graphene
from core.schema.mutations import StoreEvent
class CoreMutation(graphene.ObjectType):
store_event = StoreEvent.Field()
| 17.75 | 44 | 0.802817 | 16 | 142 | 7.0625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 142 | 7 | 45 | 20.285714 | 0.91129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fccaf2f4d3d6f7c59cec4ee5700bfdb021bb5807 | 855 | py | Python | user/permissions.py | arabindamahato/CanteenMS | 3e7b592798f62fba2c12405ab0d9b4f2fe89a248 | [
"MIT"
] | null | null | null | user/permissions.py | arabindamahato/CanteenMS | 3e7b592798f62fba2c12405ab0d9b4f2fe89a248 | [
"MIT"
] | 6 | 2021-03-19T03:34:04.000Z | 2021-09-22T19:03:24.000Z | user/permissions.py | arabindamahato/CanteenMS | 3e7b592798f62fba2c12405ab0d9b4f2fe89a248 | [
"MIT"
] | null | null | null | from rest_framework import permissions
class IsLoggedInUserOrAdmin(permissions.BasePermission):
def has_object_permission(self, request, view, obj):
return obj == request.user or request.user.is_admin
class IsAdminUser(permissions.BasePermission):
def has_permission(self, request, view):
r... | 27.580645 | 59 | 0.736842 | 102 | 855 | 6.039216 | 0.362745 | 0.125 | 0.170455 | 0.202922 | 0.646104 | 0.646104 | 0.646104 | 0.646104 | 0.350649 | 0.275974 | 0 | 0 | 0.17076 | 855 | 30 | 60 | 28.5 | 0.868829 | 0.253801 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.083333 | 0.333333 | 1 | 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 |
fcd4786f27f6a842e4576395961babc0a8399812 | 19 | py | Python | data/external/repositories/136086/kaggle-master/hierarchical-text/tree_structure/constants.py | Keesiu/meta-kaggle | 87de739aba2399fd31072ee81b391f9b7a63f540 | [
"MIT"
] | null | null | null | data/external/repositories/136086/kaggle-master/hierarchical-text/tree_structure/constants.py | Keesiu/meta-kaggle | 87de739aba2399fd31072ee81b391f9b7a63f540 | [
"MIT"
] | null | null | null | data/external/repositories/136086/kaggle-master/hierarchical-text/tree_structure/constants.py | Keesiu/meta-kaggle | 87de739aba2399fd31072ee81b391f9b7a63f540 | [
"MIT"
] | 1 | 2019-12-04T08:23:33.000Z | 2019-12-04T08:23:33.000Z | TRAIN_SIZE = 23654
| 9.5 | 18 | 0.789474 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 0.157895 | 19 | 1 | 19 | 19 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 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 |
fcdd8fbbacd99d5950045aa9617eefdf52b571c4 | 345 | py | Python | calibration_tool/trajectory/trajectory.py | liwen-deepmotion/map_based_lidar_camera_calibration_tool | d260380729b05b153c2efd1e76d4ae077c48c4b1 | [
"MIT"
] | 26 | 2021-04-24T08:07:20.000Z | 2022-03-13T15:21:02.000Z | calibration_tool/trajectory/trajectory.py | Grandzxw/map_based_lidar_camera_calibration_tool | d260380729b05b153c2efd1e76d4ae077c48c4b1 | [
"MIT"
] | null | null | null | calibration_tool/trajectory/trajectory.py | Grandzxw/map_based_lidar_camera_calibration_tool | d260380729b05b153c2efd1e76d4ae077c48c4b1 | [
"MIT"
] | 9 | 2021-04-19T23:32:21.000Z | 2022-03-03T06:31:19.000Z |
from typing import List
from trajectory.trajectory_node import TrajectoryNode
class Trajectory(object):
def __init__(self):
self._trajectory_nodes = [] # type: List[TrajectoryNode]
def trajectory_nodes(self) -> List[TrajectoryNode]:
return self._trajectory_nodes
def load(self, file_... | 19.166667 | 65 | 0.704348 | 39 | 345 | 5.948718 | 0.512821 | 0.193966 | 0.163793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214493 | 345 | 17 | 66 | 20.294118 | 0.856089 | 0.075362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.111111 | 0.222222 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
fce08866ab83bbd7410f4a2c43e3cbea905390f5 | 209 | py | Python | cmake/CMakeBuild/bin/cmake_docutil.py | kevleyski/VVCSoftware_VTM | 693b6b263a6e643189a8977ff2f2ef2d2c0f5d25 | [
"BSD-3-Clause"
] | 3 | 2021-05-29T00:05:42.000Z | 2022-03-17T00:11:29.000Z | cmake/CMakeBuild/bin/cmake_docutil.py | kevleyski/VVCSoftware_VTM | 693b6b263a6e643189a8977ff2f2ef2d2c0f5d25 | [
"BSD-3-Clause"
] | 7 | 2021-09-18T14:48:01.000Z | 2021-09-21T13:16:13.000Z | cmake/CMakeBuild/bin/cmake_docutil.py | kevleyski/VVCSoftware_VTM | 693b6b263a6e643189a8977ff2f2ef2d2c0f5d25 | [
"BSD-3-Clause"
] | 5 | 2019-10-07T17:31:42.000Z | 2022-02-19T14:07:29.000Z | #!/usr/bin/python
#
# cmake_docutil.py
#
import pyhhi.build.app.cmkdocapp
import pyhhi.build.common.util
app = pyhhi.build.app.cmkdocapp.CMakeDocUtilApp()
pyhhi.build.common.util.exec_main_default_try(app)
| 17.416667 | 50 | 0.789474 | 31 | 209 | 5.193548 | 0.580645 | 0.248447 | 0.198758 | 0.273292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076555 | 209 | 11 | 51 | 19 | 0.834197 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1e01397b0e0b55041950595176edcb92e499b82c | 169 | py | Python | mtd/__init__.py | jbernhard/mtd | 6326fdb44f071311ace7862371e658d609f43d08 | [
"MIT"
] | 4 | 2017-02-21T21:20:07.000Z | 2020-11-03T15:54:13.000Z | mtd/__init__.py | jbernhard/mtd | 6326fdb44f071311ace7862371e658d609f43d08 | [
"MIT"
] | null | null | null | mtd/__init__.py | jbernhard/mtd | 6326fdb44f071311ace7862371e658d609f43d08 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
__version__ = '0.1.dev0'
from .multigp import MultiGP
from .pca import PCA
from .util import *
from . import priors
from george import kernels
| 16.9 | 28 | 0.710059 | 25 | 169 | 4.64 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028777 | 0.177515 | 169 | 9 | 29 | 18.777778 | 0.805755 | 0.12426 | 0 | 0 | 0 | 0 | 0.054795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1e10bd551541e3f85348ce7df075595f398b1a18 | 193 | py | Python | Learn_Python_the_Hard_Way/ex13.py | XC-Li/old_python_programs | 8f9b10120c94cf06978aec3f47be4517f463ca76 | [
"MIT"
] | null | null | null | Learn_Python_the_Hard_Way/ex13.py | XC-Li/old_python_programs | 8f9b10120c94cf06978aec3f47be4517f463ca76 | [
"MIT"
] | null | null | null | Learn_Python_the_Hard_Way/ex13.py | XC-Li/old_python_programs | 8f9b10120c94cf06978aec3f47be4517f463ca76 | [
"MIT"
] | null | null | null | #LPHW ex13
from sys import argv
script, first, second, third = argv
print "The script is called:", script
print "First Var:", first
print "Second Var:", second
print "Third Var:", third | 24.125 | 38 | 0.699482 | 29 | 193 | 4.655172 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.19171 | 193 | 8 | 39 | 24.125 | 0.852564 | 0.046632 | 0 | 0 | 0 | 0 | 0.293785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1e13707a70a02716acbba14e0252bf893cec27b1 | 179 | py | Python | engine/render/__init__.py | TWoolhouse/Libraries | 26079ed387cb800cb97f20980720ae094008c7bf | [
"MIT"
] | 1 | 2020-10-11T15:34:56.000Z | 2020-10-11T15:34:56.000Z | engine/render/__init__.py | TWoolhouse/Libraries | 26079ed387cb800cb97f20980720ae094008c7bf | [
"MIT"
] | null | null | null | engine/render/__init__.py | TWoolhouse/Libraries | 26079ed387cb800cb97f20980720ae094008c7bf | [
"MIT"
] | null | null | null | from .primitive import Primitive
from .shape import Polygon
from .text import Text, Font
from .colour import Colour
__all__ = ["Primitive",
"Polygon", "Text", "Font", "Colour"
]
| 19.888889 | 35 | 0.731844 | 23 | 179 | 5.521739 | 0.391304 | 0.125984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145251 | 179 | 8 | 36 | 22.375 | 0.830065 | 0 | 0 | 0 | 0 | 0 | 0.167598 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 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 |
1e57b3a6e4d96a119f56fc088803962c5fcf3de7 | 114 | py | Python | Models/instances/refresh_from_db()/models.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | Models/instances/refresh_from_db()/models.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | Models/instances/refresh_from_db()/models.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
from django.db import models
class MyModel(models.Model):
val = models.IntegerField()
| 16.285714 | 31 | 0.72807 | 16 | 114 | 5.1875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149123 | 114 | 6 | 32 | 19 | 0.85567 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1e7c1315048b3f514dcb2e813d265bec04841e19 | 293 | py | Python | demos/instance_occlsegm/instance_occlsegm_lib/__init__.py | pazeshun/jsk_apc | 0ff42000ad5992f8a31e719a5360a39cf4fa1fde | [
"BSD-3-Clause"
] | null | null | null | demos/instance_occlsegm/instance_occlsegm_lib/__init__.py | pazeshun/jsk_apc | 0ff42000ad5992f8a31e719a5360a39cf4fa1fde | [
"BSD-3-Clause"
] | 2 | 2019-04-11T05:36:23.000Z | 2019-08-19T12:58:10.000Z | demos/instance_occlsegm/instance_occlsegm_lib/__init__.py | pazeshun/jsk_apc | 0ff42000ad5992f8a31e719a5360a39cf4fa1fde | [
"BSD-3-Clause"
] | null | null | null | # flake8: noqa
# set of functions
from . import aug
from . import data
from . import geometry
from . import func
from . import image
from . import utils
from . import _io as io
# set of classes
from . import datasets
from . import models
# set of experimental modules
from . import contrib
| 16.277778 | 29 | 0.740614 | 44 | 293 | 4.909091 | 0.477273 | 0.462963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00431 | 0.208191 | 293 | 17 | 30 | 17.235294 | 0.926724 | 0.245734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1eb9591fd39a90fbd8bda4b94d081bf78a89b3dc | 213,087 | py | Python | 3algo/homo/c6_7_7datap.py | allengrr/deadlock_project | 933878077c45a7df04daa087407bb2620c064617 | [
"MIT"
] | null | null | null | 3algo/homo/c6_7_7datap.py | allengrr/deadlock_project | 933878077c45a7df04daa087407bb2620c064617 | [
"MIT"
] | null | null | null | 3algo/homo/c6_7_7datap.py | allengrr/deadlock_project | 933878077c45a7df04daa087407bb2620c064617 | [
"MIT"
] | 1 | 2021-03-21T17:54:26.000Z | 2021-03-21T17:54:26.000Z |
timely6_7_7 = 2972
untimely6_7_7 = 52
record7 = [[({'t4.110.126.0': {'wcet': 1, 'period': 10, 'deadline': 9}, 't2.110.126.0': {'wcet': 1, 'period': 5, 'deadline': 4}}, {'t4.110.126.0': [0.326, 1.6], 't2.110.126.0': [0.415, 1.6]}), 'osboxes-0'], [({'t5.113.126.1': {'wcet': 3, 'period': 15, 'deadline': 12}}, {'t5.113.1... | 16,391.307692 | 175,533 | 0.558786 | 39,373 | 213,087 | 3.023442 | 0.099535 | 0.029385 | 0.128627 | 0.055695 | 0.67099 | 0.578922 | 0.559433 | 0.440282 | 0.440282 | 0 | 0 | 0.421754 | 0.100658 | 213,087 | 13 | 175,534 | 16,391.307692 | 0.199428 | 0 | 0 | 0 | 0 | 0 | 0.398931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1ed5accf155e250073bc7bdf2bd30e6dea3370a8 | 428 | py | Python | src/infi/app_repo/errors.py | pombredanne/infi.app_repo | 6ef53d2b33080dd2a187fbb52b932440646ca05c | [
"BSD-3-Clause"
] | null | null | null | src/infi/app_repo/errors.py | pombredanne/infi.app_repo | 6ef53d2b33080dd2a187fbb52b932440646ca05c | [
"BSD-3-Clause"
] | null | null | null | src/infi/app_repo/errors.py | pombredanne/infi.app_repo | 6ef53d2b33080dd2a187fbb52b932440646ca05c | [
"BSD-3-Clause"
] | 2 | 2016-02-12T14:52:40.000Z | 2020-08-18T12:53:39.000Z | from infi.rpc.errors import RPCUserException
class AppRepoBaseException(RPCUserException):
pass
class FileAlreadyExists(AppRepoBaseException):
pass
class FileRejected(AppRepoBaseException):
pass
class FilenameParsingFailed(FileRejected):
pass
class FileProcessingFailed(FileRejected):
pass
... | 14.266667 | 46 | 0.78972 | 34 | 428 | 9.941176 | 0.470588 | 0.159763 | 0.186391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156542 | 428 | 29 | 47 | 14.758621 | 0.936288 | 0 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.466667 | 0.066667 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
1ee06c159a5190fe153a2a3803927439c25c1fef | 116 | py | Python | chat/exceptions.py | arseniybanayev/chatapi | b9af139e4572f3b5206fcfe709c78575509a5966 | [
"MIT"
] | 8 | 2020-05-26T19:58:49.000Z | 2021-11-17T13:51:33.000Z | chat/exceptions.py | arseniybanayev/chatapi | b9af139e4572f3b5206fcfe709c78575509a5966 | [
"MIT"
] | 1 | 2021-06-01T07:20:34.000Z | 2021-06-01T14:17:26.000Z | chat/exceptions.py | arseniybanayev/chatapi | b9af139e4572f3b5206fcfe709c78575509a5966 | [
"MIT"
] | 2 | 2021-02-05T20:32:59.000Z | 2021-06-17T15:21:51.000Z | class Rejected(Exception):
"""
Raised when the server rejects with a ctrl.code of 400-499.
"""
pass | 19.333333 | 63 | 0.62931 | 16 | 116 | 4.5625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 0.267241 | 116 | 6 | 64 | 19.333333 | 0.788235 | 0.508621 | 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 |
94aaa566c7e8105c57c524e1fcc4322e548e50a4 | 364 | py | Python | tests/conftest.py | goodeggs/dayforce-client | 0e994509482061e7bbde1c602dd1e6c339245d44 | [
"MIT"
] | 3 | 2020-08-05T23:46:45.000Z | 2022-03-14T22:12:23.000Z | tests/conftest.py | goodeggs/dayforce-client | 0e994509482061e7bbde1c602dd1e6c339245d44 | [
"MIT"
] | 5 | 2020-01-29T14:38:00.000Z | 2022-03-14T21:44:03.000Z | tests/conftest.py | goodeggs/dayforce-client | 0e994509482061e7bbde1c602dd1e6c339245d44 | [
"MIT"
] | 1 | 2021-04-03T21:21:53.000Z | 2021-04-03T21:21:53.000Z | import pytest
from dayforce_client.client import Dayforce, DayforceSFTP
@pytest.fixture(scope="session")
def client():
return Dayforce(username="foo", password="bar", client_namespace="foobar")
@pytest.fixture(scope="session")
def sftpclient():
return DayforceSFTP(
hostname="sftp://foo.bar.com", us... | 22.75 | 78 | 0.714286 | 43 | 364 | 6 | 0.534884 | 0.100775 | 0.139535 | 0.193798 | 0.217054 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006349 | 0.134615 | 364 | 15 | 79 | 24.266667 | 0.812698 | 0 | 0 | 0.2 | 0 | 0 | 0.137363 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.2 | 0.2 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
94b613e3ba422d9c83b2ae27a15a0f42577f4efe | 124 | py | Python | zemfrog/tasks.py | aprilahijriyan/zemfrog | 0a4ebc303caa8fadf89ca0cc8569de60c61f3252 | [
"MIT"
] | null | null | null | zemfrog/tasks.py | aprilahijriyan/zemfrog | 0a4ebc303caa8fadf89ca0cc8569de60c61f3252 | [
"MIT"
] | 5 | 2021-03-08T05:07:37.000Z | 2021-03-12T08:00:41.000Z | zemfrog/tasks.py | aprilahijriyan/zemfrog | 0a4ebc303caa8fadf89ca0cc8569de60c61f3252 | [
"MIT"
] | null | null | null | from zemfrog.globals import celery, mail
@celery.task
def send_email(*args, **kwds):
mail.send_message(*args, **kwds)
| 17.714286 | 40 | 0.717742 | 18 | 124 | 4.833333 | 0.722222 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137097 | 124 | 6 | 41 | 20.666667 | 0.813084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
94c1ced1ea38485e911b3147cf9aaf5954001d87 | 429 | py | Python | 2020/examples-in-class-2020-11-12/helper_numbers.py | ati-ozgur/course-python | 38237d120043c07230658b56dc3aeb01c3364933 | [
"Apache-2.0"
] | 1 | 2021-02-04T16:59:11.000Z | 2021-02-04T16:59:11.000Z | 2020/examples-in-class-2020-11-12/helper_numbers.py | ati-ozgur/course-python | 38237d120043c07230658b56dc3aeb01c3364933 | [
"Apache-2.0"
] | null | null | null | 2020/examples-in-class-2020-11-12/helper_numbers.py | ati-ozgur/course-python | 38237d120043c07230658b56dc3aeb01c3364933 | [
"Apache-2.0"
] | 1 | 2019-10-30T14:37:48.000Z | 2019-10-30T14:37:48.000Z | def get_first_digit(number):
return int(str(number)[0])
def get_last_digit(number):
return number % 10
def remove_first_last_digit(number):
s_number = str(number)
s_number = s_number[1:-1]
return s_number
assert get_first_digit(12021) == 1
assert get_first_digit(92021) == 9
assert get_first_digit(72003443) == ... | 20.428571 | 37 | 0.759907 | 73 | 429 | 4.150685 | 0.287671 | 0.178218 | 0.171617 | 0.188119 | 0.224422 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125668 | 0.128205 | 429 | 20 | 38 | 21.45 | 0.684492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.214286 | false | 0 | 0 | 0.142857 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
94c6b1592bca5f3373def4f76b7cbd242408647d | 263 | py | Python | get_api_token.py | maksimbulva/sc2streamhelper_info | e99fd0e86b4b9ba3bb5495d2e3c5184f60f7160e | [
"MIT"
] | null | null | null | get_api_token.py | maksimbulva/sc2streamhelper_info | e99fd0e86b4b9ba3bb5495d2e3c5184f60f7160e | [
"MIT"
] | null | null | null | get_api_token.py | maksimbulva/sc2streamhelper_info | e99fd0e86b4b9ba3bb5495d2e3c5184f60f7160e | [
"MIT"
] | null | null | null | from subprocess import call
from sc2streamhelper.passwords import *
call([
"curl",
"--user " + SC2STREAMHELPER_APIKEY + ":" + SC2STREAMHELPER_APISECRET,
"--data-urlencode ""grant_type=client_credentials"" ""http://us.battle.net/oauth/token"""
])
| 29.222222 | 93 | 0.695817 | 27 | 263 | 6.62963 | 0.814815 | 0.111732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013393 | 0.148289 | 263 | 8 | 94 | 32.875 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.346008 | 0.110266 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.285714 | 0 | 0.285714 | 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 |
94d910ff228a053d83d0e7d3ff441bc16db11713 | 88 | py | Python | frictionless_dfour/__main__.py | cividi/frictionless-dfour | 02e2a3720f980ca31ad5d5443980f8d9d399868b | [
"MIT"
] | 2 | 2021-09-27T07:52:40.000Z | 2021-12-13T12:56:18.000Z | frictionless_dfour/__main__.py | cividi/frictionless-dfour | 02e2a3720f980ca31ad5d5443980f8d9d399868b | [
"MIT"
] | 7 | 2021-07-30T09:56:33.000Z | 2021-08-20T11:43:04.000Z | frictionless_dfour/__main__.py | cividi/frictionless-dfour | 02e2a3720f980ca31ad5d5443980f8d9d399868b | [
"MIT"
] | null | null | null | from .program import program
if __name__ == "__main__":
program(prog_name="dfour")
| 17.6 | 30 | 0.715909 | 11 | 88 | 4.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 4 | 31 | 22 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0.147727 | 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 |
a2151a048539906496fa27e828dec6baba159d3b | 97 | py | Python | PythonCode/debugging_example.py | Spstolar/BMachine | 319e5efb72cd3ab07b8538b7c43bd93e75f2e38a | [
"MIT"
] | null | null | null | PythonCode/debugging_example.py | Spstolar/BMachine | 319e5efb72cd3ab07b8538b7c43bd93e75f2e38a | [
"MIT"
] | 3 | 2017-04-02T15:41:22.000Z | 2017-04-03T06:43:06.000Z | PythonCode/debugging_example.py | Spstolar/BMachine | 319e5efb72cd3ab07b8538b7c43bd93e75f2e38a | [
"MIT"
] | null | null | null | def double_it(num):
return num*2
start = 3
for i in range(6):
start = double_it(start)
| 12.125 | 28 | 0.639175 | 18 | 97 | 3.333333 | 0.722222 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.247423 | 97 | 7 | 29 | 13.857143 | 0.780822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
bfb1e55075a8b67cd215ee8a1df39ac77cfeba01 | 2,922 | py | Python | pages/forms.py | Mannuel25/Cheqqit | 8f2b2447fcd00e4951d16580267de2930cc42253 | [
"MIT"
] | 11 | 2022-01-05T11:54:23.000Z | 2022-03-25T08:47:02.000Z | pages/forms.py | Mannuel25/Cheqqit | 8f2b2447fcd00e4951d16580267de2930cc42253 | [
"MIT"
] | null | null | null | pages/forms.py | Mannuel25/Cheqqit | 8f2b2447fcd00e4951d16580267de2930cc42253 | [
"MIT"
] | null | null | null | from django import forms
from .models import UserTasks
class AddTaskForm(forms.ModelForm):
"""
this form will be used to create or update a task
"""
title = forms.CharField(max_length=100, widget= forms.TextInput
(attrs={'placeholder':"Enter the task's title"}))
description = forms.CharFiel... | 41.15493 | 97 | 0.667009 | 351 | 2,922 | 5.461538 | 0.179487 | 0.074596 | 0.109025 | 0.137715 | 0.769953 | 0.753782 | 0.703182 | 0.703182 | 0.649974 | 0.619197 | 0 | 0.006353 | 0.191992 | 2,922 | 71 | 98 | 41.15493 | 0.805591 | 0.050308 | 0 | 0.545455 | 0 | 0 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.036364 | 0 | 0.418182 | 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 |
bfc050097243e7b2091975c40a2359b3639deda4 | 78 | py | Python | tests/parameters/secret.py | yehonadav/bunbun | 3703c837859ee27bb87604a236d051601c830c9b | [
"Apache-2.0"
] | 1 | 2019-08-04T17:31:06.000Z | 2019-08-04T17:31:06.000Z | tests/parameters/secret.py | yehonadav/bunbun | 3703c837859ee27bb87604a236d051601c830c9b | [
"Apache-2.0"
] | 5 | 2021-03-18T21:18:21.000Z | 2022-03-11T23:32:06.000Z | tests/parameters/secret.py | yehonadav/bunbun | 3703c837859ee27bb87604a236d051601c830c9b | [
"Apache-2.0"
] | null | null | null | hub = 'http://18.216.225.173:4444/wd/hub'
user = 'user'
password = 'password'
| 19.5 | 41 | 0.653846 | 13 | 78 | 3.923077 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0.115385 | 78 | 3 | 42 | 26 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
44abe0da4aed5d12f6ff0fc73008b9641dec2d50 | 335 | py | Python | sqltricks/__init__.py | jiyulongxu/sql-tricks | 6eee96849ce09d46dd15ec0f48b6022bd5738fff | [
"Apache-2.0"
] | 1 | 2022-02-21T03:09:26.000Z | 2022-02-21T03:09:26.000Z | sqltricks/__init__.py | jiyulongxu/sql-tricks | 6eee96849ce09d46dd15ec0f48b6022bd5738fff | [
"Apache-2.0"
] | null | null | null | sqltricks/__init__.py | jiyulongxu/sql-tricks | 6eee96849ce09d46dd15ec0f48b6022bd5738fff | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
文档教程
https://sqxccdy.github.io/odpc/sql_build_model.html
"""
from sqltricks.create import *
from sqltricks.fields import *
from sqltricks.insert import *
from sqltricks.query import *
from sqltricks.drop import *
FORMAT = '%(asctime)-15s %(levelname)s::::%(message)s'
logging.basicConfig(f... | 19.705882 | 54 | 0.725373 | 44 | 335 | 5.477273 | 0.659091 | 0.26971 | 0.315353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.113433 | 335 | 16 | 55 | 20.9375 | 0.801347 | 0.238806 | 0 | 0 | 0 | 0 | 0.174797 | 0.113821 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
44bccdf59785819826e9ae489afe64a4d019ae2c | 253 | py | Python | mlrun/frameworks/_common/__init__.py | zjzh/mlrun | 2f367b29838222663b1a7c6deeacbe26156071b3 | [
"Apache-2.0"
] | 1 | 2021-02-17T08:12:33.000Z | 2021-02-17T08:12:33.000Z | mlrun/frameworks/_common/__init__.py | zjzh/mlrun | 2f367b29838222663b1a7c6deeacbe26156071b3 | [
"Apache-2.0"
] | null | null | null | mlrun/frameworks/_common/__init__.py | zjzh/mlrun | 2f367b29838222663b1a7c6deeacbe26156071b3 | [
"Apache-2.0"
] | 1 | 2021-08-30T21:43:38.000Z | 2021-08-30T21:43:38.000Z | # flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .mlrun_interface import MLRunInterface
from .model_handler import ModelHandler
from .types import ExtraDataType, IOSampleType, ModelType, PathType
| 50.6 | 100 | 0.818182 | 34 | 253 | 5.911765 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018433 | 0.142292 | 253 | 4 | 101 | 63.25 | 0.907834 | 0.387352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
44d2734bfe7281ba6062b53a0dd208cf424d41c5 | 142 | py | Python | servers/apps.py | shubhamdipt/monitoring-dashboard | ae4524f1c179cf735fdc17673865bdbdb463ee3e | [
"MIT"
] | 1 | 2021-08-08T14:40:09.000Z | 2021-08-08T14:40:09.000Z | servers/apps.py | shubhamdipt/monitoring-dashboard | ae4524f1c179cf735fdc17673865bdbdb463ee3e | [
"MIT"
] | null | null | null | servers/apps.py | shubhamdipt/monitoring-dashboard | ae4524f1c179cf735fdc17673865bdbdb463ee3e | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ServersConfig(AppConfig):
name = 'servers'
def ready(self):
import servers.signals
| 15.777778 | 33 | 0.697183 | 16 | 142 | 6.1875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225352 | 142 | 8 | 34 | 17.75 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.049296 | 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 |
44e7490f9c6966672bb9ea8fc88ef245604797cd | 182 | py | Python | sdk/decorators.py | morais90/sdk.py | 97fcb6f7079ae9ae7606265a13c4d7d9670e176c | [
"MIT"
] | null | null | null | sdk/decorators.py | morais90/sdk.py | 97fcb6f7079ae9ae7606265a13c4d7d9670e176c | [
"MIT"
] | 8 | 2021-11-17T20:30:21.000Z | 2022-03-29T02:23:32.000Z | sdk/decorators.py | morais90/sdk.py | 97fcb6f7079ae9ae7606265a13c4d7d9670e176c | [
"MIT"
] | null | null | null | import functools
def chaining(func):
@functools.wraps(func)
def wrapper(self, *args, **kwargs):
func(self, *args, **kwargs)
return self
return wrapper
| 16.545455 | 39 | 0.620879 | 21 | 182 | 5.380952 | 0.52381 | 0.141593 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258242 | 182 | 10 | 40 | 18.2 | 0.837037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
44f73375d6020d1969aa41be0a796b01b2e269b6 | 143 | py | Python | nipy/algorithms/statistics/formula/__init__.py | bpinsard/nipy | d49e8292adad6619e3dac710752131b567efe90e | [
"BSD-3-Clause"
] | 236 | 2015-01-09T21:28:37.000Z | 2022-03-27T11:51:58.000Z | nipy/algorithms/statistics/formula/__init__.py | bpinsard/nipy | d49e8292adad6619e3dac710752131b567efe90e | [
"BSD-3-Clause"
] | 171 | 2015-03-23T00:31:43.000Z | 2021-11-22T12:43:00.000Z | nipy/algorithms/statistics/formula/__init__.py | bpinsard/nipy | d49e8292adad6619e3dac710752131b567efe90e | [
"BSD-3-Clause"
] | 94 | 2015-02-01T12:39:47.000Z | 2022-01-27T06:38:19.000Z | """ Formula and related objects """
from .formulae import (Formula, Term, terms, Factor, make_recarray,
natural_spline)
| 35.75 | 67 | 0.636364 | 15 | 143 | 5.933333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265734 | 143 | 3 | 68 | 47.666667 | 0.847619 | 0.188811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
44fd0f9e7f12ff8da71ca85c28bc5c71ce7aba00 | 2,289 | py | Python | ParamSklearn/components/__init__.py | automl/paramsklearn | 0466802aad28bfc6df945f874b4b81a3f337009d | [
"BSD-3-Clause"
] | 8 | 2015-10-09T08:23:51.000Z | 2020-07-06T01:49:37.000Z | ParamSklearn/components/__init__.py | automl/paramsklearn | 0466802aad28bfc6df945f874b4b81a3f337009d | [
"BSD-3-Clause"
] | 2 | 2015-10-31T12:57:23.000Z | 2015-11-24T12:54:04.000Z | ParamSklearn/components/__init__.py | automl/paramsklearn | 0466802aad28bfc6df945f874b4b81a3f337009d | [
"BSD-3-Clause"
] | 8 | 2015-12-03T17:28:35.000Z | 2021-06-26T17:32:29.000Z | """ParamSklearn can be easily extended with new classification and
preprocessing methods. At import time, ParamSklearn checks the directory
``ParamSklearn/components/classification`` for classification algorithms and
``ParamSklearn/components/preprocessing`` for preprocessing algorithms. To be
found, the algorithm must... | 49.76087 | 155 | 0.811271 | 273 | 2,289 | 6.717949 | 0.410256 | 0.047983 | 0.098146 | 0.087241 | 0.263359 | 0.18157 | 0.09651 | 0.09651 | 0.073064 | 0.073064 | 0 | 0 | 0.091306 | 2,289 | 45 | 156 | 50.866667 | 0.881731 | 0.887724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
781e80e46d0d877cb49f27c6269ade3d9039f890 | 174 | py | Python | examples/python/simple/datastruct_print_tuple.py | airgiser/ucb | d03e62a17f35a9183ed36662352f603f0f673194 | [
"MIT"
] | 1 | 2022-01-08T14:59:44.000Z | 2022-01-08T14:59:44.000Z | examples/python/simple/datastruct_print_tuple.py | airgiser/just-for-fun | d03e62a17f35a9183ed36662352f603f0f673194 | [
"MIT"
] | null | null | null | examples/python/simple/datastruct_print_tuple.py | airgiser/just-for-fun | d03e62a17f35a9183ed36662352f603f0f673194 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# Filename: datastruct_print_tuple.py
age = 25
name = 'Airgis'
print '%s is %d years old.' %(name, age)
print 'Why is %s playing with the python?' % name
| 19.333333 | 49 | 0.678161 | 29 | 174 | 4 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.172414 | 174 | 8 | 50 | 21.75 | 0.791667 | 0.298851 | 0 | 0 | 0 | 0 | 0.491667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
78556b4b51cbe376c3830238e0401b6707b4b355 | 87 | py | Python | decision_record/record/apps.py | scotthsieh0503/decision-record | a868f5c8b94d621453b330eefad1045b7afb55d4 | [
"MIT"
] | 3 | 2020-02-05T06:42:15.000Z | 2020-02-17T14:39:58.000Z | yet-another-timelogger/record/apps.py | MarkWh1te/yet-another-timelogger | b3518db9b85ee45a547bc2556e3700f7aab695c6 | [
"MIT"
] | 17 | 2020-03-24T17:30:33.000Z | 2022-03-11T23:58:34.000Z | record/apps.py | souper-streetwise/charity_data | 6d91d4b3d635dad868a5eabab94bbb20eea3d082 | [
"MIT"
] | 1 | 2020-06-13T02:25:42.000Z | 2020-06-13T02:25:42.000Z | from django.apps import AppConfig
class RecordConfig(AppConfig):
name = 'record'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 |
785857077b4350d54dda9d398a5eaff19132e288 | 820 | py | Python | tabular/tests/unittests/models/test_tabular_nn_fastai.py | zhiqiangdon/autogluon | 71ee7ef0f05d8f0aad112d8c1719174aa33194d9 | [
"Apache-2.0"
] | 4,462 | 2019-12-09T17:41:07.000Z | 2022-03-31T22:00:41.000Z | tabular/tests/unittests/models/test_tabular_nn_fastai.py | zhiqiangdon/autogluon | 71ee7ef0f05d8f0aad112d8c1719174aa33194d9 | [
"Apache-2.0"
] | 1,408 | 2019-12-09T17:48:59.000Z | 2022-03-31T20:24:12.000Z | tabular/tests/unittests/models/test_tabular_nn_fastai.py | zhiqiangdon/autogluon | 71ee7ef0f05d8f0aad112d8c1719174aa33194d9 | [
"Apache-2.0"
] | 623 | 2019-12-10T02:04:18.000Z | 2022-03-20T17:11:01.000Z |
from autogluon.tabular.models.fastainn.tabular_nn_fastai import NNFastAiTabularModel
def test_tabular_nn_fastai_binary(fit_helper):
fit_args = dict(
hyperparameters={NNFastAiTabularModel: {}},
)
dataset_name = 'adult'
fit_helper.fit_and_validate_dataset(dataset_name=dataset_name, fit_args=fit... | 30.37037 | 85 | 0.765854 | 100 | 820 | 5.81 | 0.26 | 0.108434 | 0.123924 | 0.082616 | 0.795181 | 0.757315 | 0.757315 | 0.757315 | 0.757315 | 0.416523 | 0 | 0 | 0.14878 | 820 | 26 | 86 | 31.538462 | 0.832378 | 0 | 0 | 0.473684 | 0 | 0 | 0.021978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.052632 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 |
786736d9f2365d02c0ef89f14817a4203397cc30 | 165 | py | Python | plotsearch/apps.py | City-of-Helsinki/mvj | 6f786047805a968317ecc37b38c2262ada2c3805 | [
"MIT"
] | 1 | 2021-01-12T08:14:10.000Z | 2021-01-12T08:14:10.000Z | plotsearch/apps.py | City-of-Helsinki/mvj | 6f786047805a968317ecc37b38c2262ada2c3805 | [
"MIT"
] | 249 | 2017-04-18T14:00:13.000Z | 2022-03-30T12:18:03.000Z | plotsearch/apps.py | City-of-Helsinki/mvj | 6f786047805a968317ecc37b38c2262ada2c3805 | [
"MIT"
] | 7 | 2017-04-18T08:43:54.000Z | 2021-07-28T07:29:30.000Z | from django.apps import AppConfig
class PlotsearchConfig(AppConfig):
name = "plotsearch"
def ready(self):
import plotsearch.signals # noqa: F401
| 18.333333 | 47 | 0.70303 | 18 | 165 | 6.444444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.218182 | 165 | 8 | 48 | 20.625 | 0.875969 | 0.060606 | 0 | 0 | 0 | 0 | 0.065359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
788278de32ad2471d9489fe9c2247f9241b25b2a | 262 | py | Python | thenewboston_node/business_logic/models/mixins/metadata.py | nishp77/thenewboston-node | 158b1f1739b2c6c9c21c80e9da854ca141f1cf8f | [
"MIT"
] | 30 | 2021-03-05T22:08:17.000Z | 2021-09-23T02:45:45.000Z | thenewboston_node/business_logic/models/mixins/metadata.py | nishp77/thenewboston-node | 158b1f1739b2c6c9c21c80e9da854ca141f1cf8f | [
"MIT"
] | 148 | 2021-03-05T23:37:50.000Z | 2021-11-02T02:18:58.000Z | thenewboston_node/business_logic/models/mixins/metadata.py | nishp77/thenewboston-node | 158b1f1739b2c6c9c21c80e9da854ca141f1cf8f | [
"MIT"
] | 14 | 2021-03-05T21:58:46.000Z | 2021-10-15T17:27:52.000Z | from dataclasses import dataclass
from thenewboston_node.core.utils.dataclass import cover_docstring, revert_docstring
from .serializable import SerializableMixin
@revert_docstring
@dataclass
@cover_docstring
class MetadataMixin(SerializableMixin):
pass
| 20.153846 | 84 | 0.854962 | 28 | 262 | 7.821429 | 0.571429 | 0.127854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103053 | 262 | 12 | 85 | 21.833333 | 0.931915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.375 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
789058adc310f2219139e2b3fcb62604800cf282 | 1,249 | py | Python | babybuddy/migrations/0003_add_refresh_help_text.py | Gitoffomalawn/babybuddy | 3fc147c2f16167858284e2bbec657b1756157fd3 | [
"BSD-2-Clause"
] | 922 | 2017-10-26T13:15:40.000Z | 2020-02-05T19:06:13.000Z | babybuddy/migrations/0003_add_refresh_help_text.py | Gitoffomalawn/babybuddy | 3fc147c2f16167858284e2bbec657b1756157fd3 | [
"BSD-2-Clause"
] | 109 | 2017-10-26T14:00:30.000Z | 2020-02-05T23:37:11.000Z | babybuddy/migrations/0003_add_refresh_help_text.py | Gitoffomalawn/babybuddy | 3fc147c2f16167858284e2bbec657b1756157fd3 | [
"BSD-2-Clause"
] | 87 | 2017-10-26T13:15:54.000Z | 2020-01-25T12:49:46.000Z | # Generated by Django 2.0.5 on 2018-07-15 14:16
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("babybuddy", "0002_add_settings"),
]
operations = [
migrations.AlterField(
model_name="settings",
nam... | 33.756757 | 109 | 0.491593 | 123 | 1,249 | 4.934959 | 0.585366 | 0.252059 | 0.266886 | 0.242175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083979 | 0.380304 | 1,249 | 36 | 110 | 34.694444 | 0.700258 | 0.036029 | 0 | 0.066667 | 1 | 0 | 0.172213 | 0.018303 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.166667 | 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 |
7895bdd07a7517b3b9e9dfa70984e814010bc677 | 114 | py | Python | winter/routing/query_parameters/query_parameter.py | EvgenySmekalin/winter | 24b6a02f958478547a4a120324823743a1f7e1a1 | [
"MIT"
] | 9 | 2019-01-24T11:50:19.000Z | 2019-07-05T07:58:46.000Z | winter/routing/query_parameters/query_parameter.py | EvgenySmekalin/winter | 24b6a02f958478547a4a120324823743a1f7e1a1 | [
"MIT"
] | 100 | 2019-01-29T08:11:38.000Z | 2020-04-03T12:00:42.000Z | winter/routing/query_parameters/query_parameter.py | EvgenySmekalin/winter | 24b6a02f958478547a4a120324823743a1f7e1a1 | [
"MIT"
] | 8 | 2020-07-16T13:56:50.000Z | 2021-12-27T03:33:23.000Z | import dataclasses
@dataclasses.dataclass
class QueryParameter:
name: str
map_to: str
explode: bool
| 12.666667 | 22 | 0.72807 | 13 | 114 | 6.307692 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219298 | 114 | 8 | 23 | 14.25 | 0.921348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
789e80d561984bf5a1ebb8afe7abe71ef6eeb87f | 296 | py | Python | utils.py | debater-coder/py-simple-tracer | ac8ccfd1830be9072502fb27faced180ed893390 | [
"MIT"
] | null | null | null | utils.py | debater-coder/py-simple-tracer | ac8ccfd1830be9072502fb27faced180ed893390 | [
"MIT"
] | null | null | null | utils.py | debater-coder/py-simple-tracer | ac8ccfd1830be9072502fb27faced180ed893390 | [
"MIT"
] | null | null | null | import numpy as np
def lerp(a, b, t):
return a * (1 - t) + b * t
def normalize(vector):
return vector / np.linalg.norm(vector)
def random_unit_vector():
point = np.random.rand(3)
while np.dot(point, point) >= 1:
point = np.random.rand(3)
return normalize(point)
| 17.411765 | 42 | 0.614865 | 47 | 296 | 3.829787 | 0.468085 | 0.022222 | 0.144444 | 0.188889 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017937 | 0.246622 | 296 | 16 | 43 | 18.5 | 0.789238 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.2 | 0.7 | 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 |
78a496b2a0070c4f4f9eaf3fbeda74f89fbfda56 | 110 | py | Python | gdbcat/__init__.py | mcdeid/gdb-cat | 2a861eaa3ee0360f26266397f47c2a5c16c0281f | [
"MIT"
] | null | null | null | gdbcat/__init__.py | mcdeid/gdb-cat | 2a861eaa3ee0360f26266397f47c2a5c16c0281f | [
"MIT"
] | null | null | null | gdbcat/__init__.py | mcdeid/gdb-cat | 2a861eaa3ee0360f26266397f47c2a5c16c0281f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Sep 25 15:06:49 2019
@author: smcdeid
"""
from .cat import Gdbcat | 13.75 | 35 | 0.627273 | 18 | 110 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 0.190909 | 110 | 8 | 36 | 13.75 | 0.629213 | 0.690909 | 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 |
78a7a55aa4340aef048d0c56e138e8fbbb85d556 | 102 | py | Python | net_automation/apps.py | Nikolas-01/Lesson_21- | 025ff91547465a57e6a8d5911896fcdfb8c7e3f8 | [
"MIT"
] | null | null | null | net_automation/apps.py | Nikolas-01/Lesson_21- | 025ff91547465a57e6a8d5911896fcdfb8c7e3f8 | [
"MIT"
] | 4 | 2021-03-30T14:19:21.000Z | 2021-09-22T19:33:36.000Z | net_automation/apps.py | Nikolas-01/Lesson_21- | 025ff91547465a57e6a8d5911896fcdfb8c7e3f8 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class NetAutomationConfig(AppConfig):
name = 'net_automation'
| 17 | 37 | 0.784314 | 11 | 102 | 7.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 38 | 20.4 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 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 |
78c5f95d9ee1374a6eed04e598b5352269b67477 | 78 | py | Python | gym-minigrid/__init__.py | kebaek/minigrid | 3808c1401ea7846febf88d0a2fb2aa39e4a4913f | [
"MIT"
] | 5 | 2021-09-29T18:53:37.000Z | 2022-03-01T08:03:42.000Z | gym-minigrid/__init__.py | kebaek/minigrid | 3808c1401ea7846febf88d0a2fb2aa39e4a4913f | [
"MIT"
] | null | null | null | gym-minigrid/__init__.py | kebaek/minigrid | 3808c1401ea7846febf88d0a2fb2aa39e4a4913f | [
"MIT"
] | null | null | null | # Import the envs module so that envs register themselves
import gym_minigrid
| 26 | 57 | 0.833333 | 12 | 78 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 2 | 58 | 39 | 0.969697 | 0.705128 | 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 |
153de60f15200b47d13663f570f455c6ffc287dc | 9,297 | py | Python | packings_list.py | kilimetr/zkouska | 859a3b7918d76a70cf794e06c08390a2ae807880 | [
"BSD-3-Clause-Attribution"
] | null | null | null | packings_list.py | kilimetr/zkouska | 859a3b7918d76a70cf794e06c08390a2ae807880 | [
"BSD-3-Clause-Attribution"
] | null | null | null | packings_list.py | kilimetr/zkouska | 859a3b7918d76a70cf794e06c08390a2ae807880 | [
"BSD-3-Clause-Attribution"
] | null | null | null | # author Dominik Capkovic
# contact: domcapkovic@gmail.com; https://www.linkedin.com/in/dominik-čapkovič-b0ab8575/
# GitHub: https://github.com/kilimetr
packings_str = '''
Raschig Super-Ring | metal | 0.3 | 180000 | 315.0 | 0.960 | 3.560 | 2.340 | 0.750 | 0.760 | 1.500 | 0.450
Raschig Super-Ring | met... | 75.585366 | 116 | 0.482414 | 1,650 | 9,297 | 2.704242 | 0.326061 | 0.02779 | 0.021963 | 0.016136 | 0.125728 | 0.068579 | 0.048857 | 0.026894 | 0.009413 | 0.009413 | 0 | 0.427981 | 0.349575 | 9,297 | 122 | 117 | 76.204918 | 0.309906 | 0.040443 | 0 | 0 | 0 | 0.704082 | 0.908295 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.010204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
158cb87ad35efa016b99c8fb5b1cdbee7b0b7b73 | 81 | py | Python | coca/coco_caption/pycocoevalcap/tokenizer/__init__.py | CISiPLab/cisip-GreenCap | 74c3f8461772016eec49840822f1407db4abe2b2 | [
"BSD-3-Clause"
] | 12 | 2021-03-06T13:33:51.000Z | 2022-03-09T06:38:14.000Z | caption_vae/coco_caption/pycocoevalcap/tokenizer/__init__.py | jiahuei/test-caption-actions | cbf68dc29a0fdafe92730bf4881319bcbd41eb7f | [
"BSD-3-Clause"
] | null | null | null | caption_vae/coco_caption/pycocoevalcap/tokenizer/__init__.py | jiahuei/test-caption-actions | cbf68dc29a0fdafe92730bf4881319bcbd41eb7f | [
"BSD-3-Clause"
] | 4 | 2021-12-05T07:26:22.000Z | 2022-03-31T08:36:31.000Z | # -*- coding: utf-8 -*-
"""
Created on 09 Jul 2020 23:36:50
@author: jiahuei
"""
| 13.5 | 31 | 0.580247 | 13 | 81 | 3.615385 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 0.185185 | 81 | 5 | 32 | 16.2 | 0.515152 | 0.876543 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1591d3f76921a6a6ee9967b46e2b782a59eb50ee | 449 | py | Python | marathon/models/__init__.py | missingcharacter/marathon-python | e1a42642c42716ef074e5b2523408bc1aa6025e2 | [
"MIT"
] | 202 | 2015-01-07T06:55:14.000Z | 2021-11-30T12:05:50.000Z | marathon/models/__init__.py | missingcharacter/marathon-python | e1a42642c42716ef074e5b2523408bc1aa6025e2 | [
"MIT"
] | 213 | 2015-03-04T12:54:09.000Z | 2022-02-28T11:36:28.000Z | marathon/models/__init__.py | missingcharacter/marathon-python | e1a42642c42716ef074e5b2523408bc1aa6025e2 | [
"MIT"
] | 169 | 2015-02-06T16:48:05.000Z | 2022-01-18T16:20:56.000Z | from .app import MarathonApp, MarathonHealthCheck
from .base import MarathonResource, MarathonObject
from .constraint import MarathonConstraint
from .deployment import MarathonDeployment, MarathonDeploymentAction, MarathonDeploymentStep
from .endpoint import MarathonEndpoint
from .group import MarathonGroup
from .info ... | 44.9 | 92 | 0.873051 | 42 | 449 | 9.333333 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093541 | 449 | 9 | 93 | 49.888889 | 0.963145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
159ed2ae1919b29a27330c6655a49f89f57d7ede | 158 | py | Python | zplconvert/__init__.py | Karimerto/zplconvert | 5b953acc098261f711a65c50480ee1b00bded40d | [
"MIT"
] | 4 | 2020-03-21T05:50:55.000Z | 2022-01-22T20:06:58.000Z | zplconvert/__init__.py | Karimerto/zplconvert | 5b953acc098261f711a65c50480ee1b00bded40d | [
"MIT"
] | null | null | null | zplconvert/__init__.py | Karimerto/zplconvert | 5b953acc098261f711a65c50480ee1b00bded40d | [
"MIT"
] | 1 | 2022-03-03T11:04:41.000Z | 2022-03-03T11:04:41.000Z | #!/usr/bin/env python
from .zplconvert import ZPLConvert
from .zplparser import zpl_parse
from .zpltools import Printer, PrinterError
__version__ = '0.0.4'
| 19.75 | 43 | 0.78481 | 22 | 158 | 5.409091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.126582 | 158 | 7 | 44 | 22.571429 | 0.84058 | 0.126582 | 0 | 0 | 0 | 0 | 0.036496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.