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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
82b835b03e1686161cf6e45a16ab2696997a06b7 | 1,075 | py | Python | actualPlanner/models.py | OneUne/weltrip-web | b0557a83a6798d75cf7a3504db0a9f8952803d5b | [
"MIT"
] | 1 | 2020-05-05T08:17:44.000Z | 2020-05-05T08:17:44.000Z | actualPlanner/models.py | OneUne/weltrip-web | b0557a83a6798d75cf7a3504db0a9f8952803d5b | [
"MIT"
] | 1 | 2020-10-19T07:34:39.000Z | 2020-10-19T07:34:39.000Z | actualPlanner/models.py | OneUne/weltrip-web | b0557a83a6798d75cf7a3504db0a9f8952803d5b | [
"MIT"
] | 1 | 2021-02-28T04:53:15.000Z | 2021-02-28T04:53:15.000Z | import datetime
from django.db import models
from django.utils import timezone
class Planner(models.Model):
date = models.DateTimeField('date last modified')
user = models.CharField(max_length=20)
title = models.CharField(max_length=30, default='새 일정')
contents = models.TextField()
rating = models... | 34.677419 | 97 | 0.706047 | 130 | 1,075 | 5.7 | 0.4 | 0.161943 | 0.194332 | 0.259109 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019123 | 0.173023 | 1,075 | 30 | 98 | 35.833333 | 0.814398 | 0 | 0 | 0.083333 | 0 | 0 | 0.084651 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 0.958333 | 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 |
82c55816d91fe9186d1e0661b12e356d61a49658 | 200 | py | Python | synergine/display/TestDisplay.py | buxx/synergine | da05d762cdbc993362807d4851e1ca74784438ae | [
"Apache-2.0"
] | 6 | 2015-04-03T08:04:22.000Z | 2016-11-13T22:47:11.000Z | synergine/display/TestDisplay.py | buxx/synergine | da05d762cdbc993362807d4851e1ca74784438ae | [
"Apache-2.0"
] | 2 | 2019-10-21T15:41:39.000Z | 2021-06-10T14:15:27.000Z | synergine/display/TestDisplay.py | buxx/synergine | da05d762cdbc993362807d4851e1ca74784438ae | [
"Apache-2.0"
] | 2 | 2015-02-27T12:05:51.000Z | 2016-05-11T07:25:20.000Z | from synergine.core.connection.Display import Display
class TestDisplay(Display):
_name = "test"
def draw_objects(self, objects, point):
pass
def terminate(self):
pass | 16.666667 | 53 | 0.67 | 23 | 200 | 5.73913 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245 | 200 | 12 | 54 | 16.666667 | 0.874172 | 0 | 0 | 0.285714 | 0 | 0 | 0.019901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
82dbc32788584b2edc609e9051be75816d04c671 | 72 | py | Python | __init__.py | Baisal89/sprint_3 | 21a8dae68d5e92970263680a84dc6a5309e88559 | [
"MIT"
] | null | null | null | __init__.py | Baisal89/sprint_3 | 21a8dae68d5e92970263680a84dc6a5309e88559 | [
"MIT"
] | null | null | null | __init__.py | Baisal89/sprint_3 | 21a8dae68d5e92970263680a84dc6a5309e88559 | [
"MIT"
] | null | null | null | from .app import create_app
#APP is global variable
APP = create_app()
| 14.4 | 27 | 0.763889 | 12 | 72 | 4.416667 | 0.583333 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 4 | 28 | 18 | 0.883333 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
82e408d993750a54af1479f053b890f6c8af5dd1 | 314 | py | Python | src/core/res/endToEnd/runtime_main.py | dslab-epfl/svshi | 0b0f62931698bfd670dae3117078889d966688de | [
"MIT"
] | 1 | 2022-02-11T14:54:49.000Z | 2022-02-11T14:54:49.000Z | src/core/res/endToEnd/runtime_main.py | dslab-epfl/svshi | 0b0f62931698bfd670dae3117078889d966688de | [
"MIT"
] | null | null | null | src/core/res/endToEnd/runtime_main.py | dslab-epfl/svshi | 0b0f62931698bfd670dae3117078889d966688de | [
"MIT"
] | null | null | null | import time
import sys
with open("../input/ok.txt", "w"):
print("this a line of text printed by the runtime module on stdout")
print("this a line of text printed by the runtime module on stderr", file=sys.stderr)
time.sleep(3)
print("this is a line of text printed by runtime module on stdout after 3 sec") | 44.857143 | 87 | 0.726115 | 58 | 314 | 3.931034 | 0.5 | 0.118421 | 0.092105 | 0.144737 | 0.5 | 0.5 | 0.412281 | 0.412281 | 0.412281 | 0.412281 | 0 | 0.007722 | 0.175159 | 314 | 7 | 88 | 44.857143 | 0.872587 | 0 | 0 | 0 | 0 | 0 | 0.647619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0.428571 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
82e79adb691a8d848517b68604ef8f34d57aaebd | 157 | py | Python | oop_practice/user.py | leonhmi75/learning-materials | 7342bf14e41ee2d1bf1b0b9b52f626318597a75e | [
"MIT"
] | 1 | 2019-05-01T05:25:22.000Z | 2019-05-01T05:25:22.000Z | oop_practice/user.py | leon-lei/learning-materials | 7342bf14e41ee2d1bf1b0b9b52f626318597a75e | [
"MIT"
] | null | null | null | oop_practice/user.py | leon-lei/learning-materials | 7342bf14e41ee2d1bf1b0b9b52f626318597a75e | [
"MIT"
] | null | null | null | from library import Base
assert hasattr(Base, 'foo'), 'foo does not exist in Base class'
class Derived(Base):
def bar(self):
return self.foo() | 19.625 | 63 | 0.675159 | 24 | 157 | 4.416667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216561 | 157 | 8 | 64 | 19.625 | 0.861789 | 0 | 0 | 0 | 0 | 0 | 0.221519 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7d54fe92d1f7148f3594f1ee741611c89dc58a77 | 364 | py | Python | rapidnlp_datasets/tf/__init__.py | luozhouyang/smile_datasets | c614314b2e2d83896b252670c6e3d8bd158f055b | [
"Apache-2.0"
] | 1 | 2021-11-21T15:05:32.000Z | 2021-11-21T15:05:32.000Z | rapidnlp_datasets/tf/__init__.py | luozhouyang/smile_datasets | c614314b2e2d83896b252670c6e3d8bd158f055b | [
"Apache-2.0"
] | null | null | null | rapidnlp_datasets/tf/__init__.py | luozhouyang/smile_datasets | c614314b2e2d83896b252670c6e3d8bd158f055b | [
"Apache-2.0"
] | null | null | null | from .dataset import TFDataset
from .masked_lm_dataset import TFDatasetForMaksedLanguageModel
from .question_answering_dataset import TFDatasetForQuestionAnswering
from .sequence_classification_dataset import TFDatasetForSequenceClassifiation
from .simcse_dataset import TFDatasetForSimCSE
from .token_classification_dat... | 52 | 78 | 0.917582 | 33 | 364 | 9.848485 | 0.515152 | 0.24 | 0.166154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065934 | 364 | 6 | 79 | 60.666667 | 0.955882 | 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 | 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 |
7d6689590c3bdd127d4712c37ea0415170079498 | 220 | py | Python | tests/middleware/urls.py | xavfernandez/django | daaeb8415823444a9020460cf825efc3fae866a2 | [
"BSD-3-Clause"
] | 2 | 2016-07-23T18:08:37.000Z | 2016-07-24T09:54:34.000Z | tests/middleware/urls.py | xavfernandez/django | daaeb8415823444a9020460cf825efc3fae866a2 | [
"BSD-3-Clause"
] | null | null | null | tests/middleware/urls.py | xavfernandez/django | daaeb8415823444a9020460cf825efc3fae866a2 | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls import url
urlpatterns = [
url(r'^noslash$', 'middleware.views.empty_view'),
url(r'^slash/$', 'middleware.views.empty_view'),
url(r'^needsquoting#/$', 'middleware.views.empty_view'),
]
| 27.5 | 60 | 0.677273 | 28 | 220 | 5.214286 | 0.535714 | 0.082192 | 0.410959 | 0.493151 | 0.383562 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122727 | 220 | 7 | 61 | 31.428571 | 0.756477 | 0 | 0 | 0 | 0 | 0 | 0.518182 | 0.368182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7d925d1d2151a613670cd33fd1a37a85f62c9d53 | 4,150 | py | Python | tests/test_async_decorator.py | risboo6909/emulate_tornado_server | 894598c0525c2fc2dfb61d8921f6da669bfedcc2 | [
"MIT"
] | null | null | null | tests/test_async_decorator.py | risboo6909/emulate_tornado_server | 894598c0525c2fc2dfb61d8921f6da669bfedcc2 | [
"MIT"
] | null | null | null | tests/test_async_decorator.py | risboo6909/emulate_tornado_server | 894598c0525c2fc2dfb61d8921f6da669bfedcc2 | [
"MIT"
] | null | null | null | import mock
from tornado.testing import AsyncHTTPTestCase, gen_test
from tests.tornado_client import AsyncCrawler
from tornado_async_server import async_server, get_hdlr_helper
@async_server([('/emulate_host1/ping', 'pong', {'response_delay_sec': 1}),
('/emulate_host2/ping', 'pong', {}),
... | 46.629213 | 135 | 0.610843 | 487 | 4,150 | 4.997947 | 0.180698 | 0.049712 | 0.024651 | 0.029581 | 0.769515 | 0.718159 | 0.703369 | 0.703369 | 0.667625 | 0.667625 | 0 | 0.018021 | 0.264578 | 4,150 | 88 | 136 | 47.159091 | 0.779489 | 0.186024 | 0 | 0.54386 | 0 | 0.017544 | 0.231548 | 0.049107 | 0 | 0 | 0 | 0 | 0.070175 | 1 | 0.157895 | false | 0 | 0.070175 | 0 | 0.280702 | 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 |
7d97b67b85e4bc683148735b497d1643ae13d8fe | 2,006 | py | Python | tests/ModalTest.py | lakhman/restructuredBootstrap | 57002c6db2d3b5b97dc23820b91711db4f00c07e | [
"MIT"
] | 1 | 2020-08-30T08:58:46.000Z | 2020-08-30T08:58:46.000Z | tests/ModalTest.py | lakhman/restructuredBootstrap | 57002c6db2d3b5b97dc23820b91711db4f00c07e | [
"MIT"
] | null | null | null | tests/ModalTest.py | lakhman/restructuredBootstrap | 57002c6db2d3b5b97dc23820b91711db4f00c07e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .BaseTest import BaseTest
class ModalTest(BaseTest):
def test_modal(self):
"""
Test modal complete
"""
self.do_component_fixture_test('modal', 'modal')
def test_modal_class_arg(self):
"""
Test modal class arg
"""
sel... | 26.051948 | 88 | 0.594217 | 232 | 2,006 | 4.840517 | 0.172414 | 0.26447 | 0.128228 | 0.235085 | 0.498664 | 0.464826 | 0.386465 | 0.22618 | 0 | 0 | 0 | 0.000701 | 0.288634 | 2,006 | 76 | 89 | 26.394737 | 0.786265 | 0.154038 | 0 | 0 | 0 | 0 | 0.164789 | 0.016901 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0.038462 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7dabc2d2d0a5eaaba0be549e9c2ad6736cf66d46 | 82 | py | Python | readthedocs/organizations/__init__.py | mforbes/readthedocs.org | 92f6224a67648a6d27e7a295973c2718d07cee11 | [
"MIT"
] | 2,092 | 2019-06-29T07:47:30.000Z | 2022-03-31T14:54:59.000Z | readthedocs/organizations/__init__.py | mforbes/readthedocs.org | 92f6224a67648a6d27e7a295973c2718d07cee11 | [
"MIT"
] | 2,389 | 2019-06-29T04:22:55.000Z | 2022-03-31T22:57:49.000Z | readthedocs/organizations/__init__.py | mforbes/readthedocs.org | 92f6224a67648a6d27e7a295973c2718d07cee11 | [
"MIT"
] | 1,185 | 2019-06-29T21:49:31.000Z | 2022-03-30T09:57:15.000Z | default_app_config = 'readthedocs.organizations.apps.OrganizationsConfig' # noqa
| 41 | 81 | 0.841463 | 8 | 82 | 8.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 82 | 1 | 82 | 82 | 0.881579 | 0.04878 | 0 | 0 | 0 | 0 | 0.657895 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7dc8dc57ace7f8b77bc8a72ab9fe0aeb79e6147f | 71 | py | Python | apt_config_tool/__init__.py | kelleyk/apt-config-tool | 9f79a2cfb2d2892c7fbc92bb7953f47e38ce0aca | [
"BSD-3-Clause"
] | null | null | null | apt_config_tool/__init__.py | kelleyk/apt-config-tool | 9f79a2cfb2d2892c7fbc92bb7953f47e38ce0aca | [
"BSD-3-Clause"
] | null | null | null | apt_config_tool/__init__.py | kelleyk/apt-config-tool | 9f79a2cfb2d2892c7fbc92bb7953f47e38ce0aca | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
from .apt_config_tool import *
| 17.75 | 38 | 0.84507 | 10 | 71 | 5.3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 71 | 3 | 39 | 23.666667 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7dd51d5740ce441f9342a3b82a56901d5e76682f | 50 | py | Python | API/ProPublica/ProPublica_Nonprofit.py | Nick1517/Spicy_nuts | 9761690b26e474f9b5abdaa507f804790af77b76 | [
"MIT"
] | null | null | null | API/ProPublica/ProPublica_Nonprofit.py | Nick1517/Spicy_nuts | 9761690b26e474f9b5abdaa507f804790af77b76 | [
"MIT"
] | null | null | null | API/ProPublica/ProPublica_Nonprofit.py | Nick1517/Spicy_nuts | 9761690b26e474f9b5abdaa507f804790af77b76 | [
"MIT"
] | null | null | null | ###This will call the ProPublica Nonprofit API###
| 25 | 49 | 0.74 | 7 | 50 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 1 | 50 | 50 | 0.860465 | 0.86 | 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 |
814bc7d247288c5229487d3ebc245020850065a9 | 272 | py | Python | python/p045.py | ericdahl/project-euler | 4757e2c44ca9423471b2938fc1e3dd1796f000b3 | [
"BSD-3-Clause"
] | null | null | null | python/p045.py | ericdahl/project-euler | 4757e2c44ca9423471b2938fc1e3dd1796f000b3 | [
"BSD-3-Clause"
] | 1 | 2016-01-18T02:02:50.000Z | 2016-01-18T02:02:50.000Z | python/p045.py | ericdahl/project-euler | 4757e2c44ca9423471b2938fc1e3dd1796f000b3 | [
"BSD-3-Clause"
] | null | null | null | tn = set(map(lambda n: n * (n + 1) / 2, xrange(2, 100000)))
pn = set(map(lambda n: n * (3 * n - 1) / 2, xrange(2, 100000)))
hn = set(map(lambda n: n * (2 * n - 1), xrange(2, 100000)))
common = tn.intersection(pn).intersection(hn)
common.discard(40755)
print common.pop()
| 34 | 63 | 0.606618 | 49 | 272 | 3.367347 | 0.367347 | 0.048485 | 0.218182 | 0.236364 | 0.448485 | 0.193939 | 0 | 0 | 0 | 0 | 0 | 0.147321 | 0.176471 | 272 | 7 | 64 | 38.857143 | 0.589286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
815e7fa2b77b58423ebe66d922dc70587bb17be5 | 242 | py | Python | Desafios/Ex-001.py | LuckyCards/Curso-Python3 | b39c7b2645220c71c35012f16c102428053fee25 | [
"MIT"
] | 1 | 2021-04-06T16:14:43.000Z | 2021-04-06T16:14:43.000Z | Desafios/Ex-001.py | LuckyCards/Curso-Python3 | b39c7b2645220c71c35012f16c102428053fee25 | [
"MIT"
] | null | null | null | Desafios/Ex-001.py | LuckyCards/Curso-Python3 | b39c7b2645220c71c35012f16c102428053fee25 | [
"MIT"
] | null | null | null | print(f'\033[33m{"—"*30:^30}\033[m')
print(f'\033[36m{"EXERCÍCIO Nº 1":^30}\033[m')
print(f'\033[33m{"—"*30:^30}\033[m')
print("Gerador de boas vindas")
nome = input("Digite seu nome de usuário: ")
print (f"Olá {nome}! Bem-vindo ao VS Code")
| 34.571429 | 46 | 0.636364 | 49 | 242 | 3.183673 | 0.530612 | 0.153846 | 0.173077 | 0.211538 | 0.397436 | 0.397436 | 0.333333 | 0.333333 | 0.333333 | 0.333333 | 0 | 0.16055 | 0.099174 | 242 | 6 | 47 | 40.333333 | 0.545872 | 0 | 0 | 0.333333 | 0 | 0 | 0.702479 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.833333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
818217d540a43e834245d209f44c7df294eefcff | 3,977 | py | Python | test/test_router.py | maysse17/falcon-openapi | 2379402a3412041933bd539708117944499f1ed5 | [
"MIT"
] | 6 | 2018-12-11T09:35:05.000Z | 2020-06-01T03:55:26.000Z | test/test_router.py | maysse17/falcon-openapi | 2379402a3412041933bd539708117944499f1ed5 | [
"MIT"
] | 16 | 2018-11-26T21:59:47.000Z | 2021-06-01T23:07:17.000Z | test/test_router.py | maysse17/falcon-openapi | 2379402a3412041933bd539708117944499f1ed5 | [
"MIT"
] | 6 | 2018-12-15T15:02:47.000Z | 2021-12-21T10:25:41.000Z | import json
import os
import sys
import pytest
import yaml
sys.path.insert(0, "..")
from falcon_openapi import OpenApiRouter # isort:skip
abspath = os.path.abspath(__file__)
dname = os.path.dirname(abspath)
os.chdir(dname)
class TestResponse:
json = ""
status = ""
class TestRouter:
def test_file_pat... | 28.611511 | 109 | 0.587377 | 489 | 3,977 | 4.570552 | 0.141104 | 0.116779 | 0.05906 | 0.053244 | 0.759284 | 0.739597 | 0.702461 | 0.688143 | 0.672931 | 0.672931 | 0 | 0.01204 | 0.269047 | 3,977 | 138 | 110 | 28.818841 | 0.756794 | 0.002514 | 0 | 0.602041 | 0 | 0 | 0.14628 | 0.02623 | 0 | 0 | 0 | 0 | 0.418367 | 1 | 0.05102 | false | 0 | 0.061224 | 0 | 0.153061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8185a8bf55c6c022228fdf0cd51a904c1fd1703c | 142 | py | Python | pcaspy/__init__.py | ISISComputingGroup/pcaspy | 753daef31842e3eb8e0f7372aef66868bf9a26fc | [
"BSD-3-Clause"
] | 29 | 2015-05-15T11:20:44.000Z | 2022-02-07T16:55:08.000Z | pcaspy/__init__.py | ISISComputingGroup/pcaspy | 753daef31842e3eb8e0f7372aef66868bf9a26fc | [
"BSD-3-Clause"
] | 57 | 2015-05-08T07:46:28.000Z | 2022-03-25T13:32:20.000Z | pcaspy/__init__.py | ISISComputingGroup/pcaspy | 753daef31842e3eb8e0f7372aef66868bf9a26fc | [
"BSD-3-Clause"
] | 23 | 2015-05-19T01:21:27.000Z | 2022-03-01T23:42:34.000Z | from .driver import Driver, SimpleServer, PVInfo, SimplePV
from ._version import __version__, version_info
from .alarm import Severity, Alarm
| 35.5 | 58 | 0.823944 | 18 | 142 | 6.166667 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119718 | 142 | 3 | 59 | 47.333333 | 0.888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
81a56793e99ad3b62c7c1b715c87207b57f9cbaf | 1,004 | py | Python | tools/valgrind/tsan/PRESUBMIT.py | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 212 | 2015-01-31T11:55:58.000Z | 2022-02-22T06:35:11.000Z | tools/valgrind/tsan/PRESUBMIT.py | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 5 | 2015-03-27T14:29:23.000Z | 2019-09-25T13:23:12.000Z | tools/valgrind/tsan/PRESUBMIT.py | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 221 | 2015-01-07T06:21:24.000Z | 2022-02-11T02:51:12.000Z | # Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import re
import sys
"""
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details on the presubmit API bui... | 30.424242 | 78 | 0.773904 | 145 | 1,004 | 5.234483 | 0.6 | 0.073781 | 0.110672 | 0.134387 | 0.205534 | 0.142292 | 0.142292 | 0.142292 | 0.142292 | 0.142292 | 0 | 0.004619 | 0.13745 | 1,004 | 32 | 79 | 31.375 | 0.871824 | 0.342629 | 0 | 0.142857 | 0 | 0 | 0.023392 | 0 | 0 | 0 | 0 | 0.03125 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.214286 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
81af6a6157add013aa603839243e5979b5962c07 | 279 | py | Python | Exercices/Secao05/exercicio01.py | Guilt-tech/PythonExercices | e59bffae997a1974d3e3cdcfff7700afbed65e6e | [
"MIT"
] | null | null | null | Exercices/Secao05/exercicio01.py | Guilt-tech/PythonExercices | e59bffae997a1974d3e3cdcfff7700afbed65e6e | [
"MIT"
] | null | null | null | Exercices/Secao05/exercicio01.py | Guilt-tech/PythonExercices | e59bffae997a1974d3e3cdcfff7700afbed65e6e | [
"MIT"
] | null | null | null | print('Digite dois números, para ver qual é o maior deles')
n1 = int(input('Número 1: '))
n2 = int(input('Número 2: '))
if n1 > n2:
print(f'O primeiro número {n1} é maior que o segundo número {n2}')
else:
print(f'O primeiro número {n2} é maior que o segundo número {n1}') | 39.857143 | 70 | 0.663082 | 51 | 279 | 3.627451 | 0.470588 | 0.086486 | 0.151351 | 0.162162 | 0.475676 | 0.248649 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.193548 | 279 | 7 | 71 | 39.857143 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
81b6b0bd288085701f085ddd318bfde89a78cf87 | 3,587 | py | Python | source_server/vestel_panel/app/models.py | caganselim/thermal-camera-assisted-baby-monitor | 7d1d948eb4c029777d1359ad9c53b5918e9753dd | [
"MIT"
] | null | null | null | source_server/vestel_panel/app/models.py | caganselim/thermal-camera-assisted-baby-monitor | 7d1d948eb4c029777d1359ad9c53b5918e9753dd | [
"MIT"
] | null | null | null | source_server/vestel_panel/app/models.py | caganselim/thermal-camera-assisted-baby-monitor | 7d1d948eb4c029777d1359ad9c53b5918e9753dd | [
"MIT"
] | 1 | 2019-08-15T00:24:08.000Z | 2019-08-15T00:24:08.000Z | from app import db,login
from flask_login import UserMixin
from werkzeug.security import generate_password_hash, check_password_hash
from datetime import datetime
import json
class User(UserMixin,db.Model):
id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.String(254), unique=True, nullable=F... | 39.417582 | 163 | 0.703373 | 523 | 3,587 | 4.686424 | 0.183556 | 0.091391 | 0.114239 | 0.044064 | 0.481436 | 0.370869 | 0.329253 | 0.308446 | 0.284782 | 0.284782 | 0 | 0.009677 | 0.135768 | 3,587 | 90 | 164 | 39.855556 | 0.780968 | 0 | 0 | 0.275362 | 1 | 0.057971 | 0.201029 | 0.020589 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15942 | false | 0.086957 | 0.072464 | 0.101449 | 0.855072 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
81bbc151fed4241ab198c077081ffebd7a03768a | 85 | py | Python | entity.py | lumierra/smart_news | d73773b9d54fa520297a4dd222fff1b8ea3497ec | [
"MIT"
] | null | null | null | entity.py | lumierra/smart_news | d73773b9d54fa520297a4dd222fff1b8ea3497ec | [
"MIT"
] | null | null | null | entity.py | lumierra/smart_news | d73773b9d54fa520297a4dd222fff1b8ea3497ec | [
"MIT"
] | null | null | null | from Entity.entity import Entity
ent = Entity()
# ## GET TOP ENTITY
ent.topEntity() | 14.166667 | 32 | 0.717647 | 12 | 85 | 5.083333 | 0.583333 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 85 | 6 | 33 | 14.166667 | 0.859155 | 0.164706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
81c20ef66665d311df28622ab6a154e702c6b8ec | 209 | py | Python | owcli/template/yourapp/commands/cmd2/subcmd3/main.py | tadashi-aikawa/owcli | 1c2f2ada146b671e37947ff1dfe25babaaf38094 | [
"MIT"
] | 1 | 2020-01-21T05:19:03.000Z | 2020-01-21T05:19:03.000Z | owcli/template/yourapp/commands/cmd2/subcmd3/main.py | tadashi-aikawa/owcli | 1c2f2ada146b671e37947ff1dfe25babaaf38094 | [
"MIT"
] | 3 | 2019-05-11T02:32:48.000Z | 2019-06-26T23:05:52.000Z | owcli/template/yourapp/commands/cmd2/subcmd3/main.py | tadashi-aikawa/owcli | 1c2f2ada146b671e37947ff1dfe25babaaf38094 | [
"MIT"
] | null | null | null | """Subcommand3
Usage:
{cli}
{cli} (-h | --help)
Options:
-h --help Show this screen.
"""
from owlmixin import OwlMixin, TList
def run():
# No args
print("No args")
| 13.0625 | 56 | 0.511962 | 24 | 209 | 4.458333 | 0.75 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.339713 | 209 | 15 | 57 | 13.933333 | 0.768116 | 0.598086 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
81c364be23edbfd4fbe4ca793bf50b29ec4f0848 | 149 | py | Python | vatcompliance/__init__.py | LOVAT-compliance/vatcompliance-python-library | f6f225783d7afc9ca4796f895b50b1b99a9338c0 | [
"MIT"
] | null | null | null | vatcompliance/__init__.py | LOVAT-compliance/vatcompliance-python-library | f6f225783d7afc9ca4796f895b50b1b99a9338c0 | [
"MIT"
] | null | null | null | vatcompliance/__init__.py | LOVAT-compliance/vatcompliance-python-library | f6f225783d7afc9ca4796f895b50b1b99a9338c0 | [
"MIT"
] | null | null | null | from vatcompliance.client import Client
OMP_API_URL = 'https://omp.vatcompliance.co/api'
MERCHANT_API_URL = 'https://merchant.vatcompliance.co/api'
| 29.8 | 58 | 0.798658 | 21 | 149 | 5.47619 | 0.47619 | 0.104348 | 0.191304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073826 | 149 | 4 | 59 | 37.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.463087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
81c401ef209d19ee0d980afadfb628cc70a9d4a9 | 25 | py | Python | ceph_deploy/__init__.py | hl10502/ceph-deploy | 4a3560be2ce5d64a8eeee1d503877c12ea2272ef | [
"MIT"
] | 1 | 2017-04-07T21:32:18.000Z | 2017-04-07T21:32:18.000Z | ceph_deploy/__init__.py | Acidburn0zzz/ceph-deploy | c22764725eb1a588d7db6889e20006a954a0616a | [
"MIT"
] | null | null | null | ceph_deploy/__init__.py | Acidburn0zzz/ceph-deploy | c22764725eb1a588d7db6889e20006a954a0616a | [
"MIT"
] | null | null | null |
__version__ = '1.5.37'
| 6.25 | 22 | 0.6 | 4 | 25 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.2 | 25 | 3 | 23 | 8.333333 | 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 |
81c74242ee22c31c2727eaa901b80a9c862ded81 | 8,169 | py | Python | etl/parsers/etw/Microsoft_Windows_QoS_qWAVE.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_QoS_qWAVE.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_QoS_qWAVE.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-QoS-qWAVE
GUID : 6ba132c4-da49-415b-a7f4-31870dc9fe25
"""
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 etl.p... | 33.207317 | 123 | 0.663974 | 828 | 8,169 | 6.405797 | 0.128019 | 0.045626 | 0.062217 | 0.078808 | 0.847097 | 0.847097 | 0.815045 | 0.675528 | 0.666101 | 0.666101 | 0 | 0.111094 | 0.212143 | 8,169 | 245 | 124 | 33.342857 | 0.713021 | 0.011507 | 0 | 0.567839 | 0 | 0 | 0.273866 | 0.097818 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020101 | 0 | 0.221106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81ce5814172d40d8fbae333d50a3438a233b4252 | 18,333 | py | Python | tests/tests_admin.py | rterehov/Spirit | 515894001da9d499852b7ebde25892d290e26c38 | [
"MIT"
] | null | null | null | tests/tests_admin.py | rterehov/Spirit | 515894001da9d499852b7ebde25892d290e26c38 | [
"MIT"
] | null | null | null | tests/tests_admin.py | rterehov/Spirit | 515894001da9d499852b7ebde25892d290e26c38 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.test import TestCase, RequestFactory
from django.core.urlresolvers import reverse
from django.core.cache import cache
from django.core.exceptions import PermissionDenied
from django.contrib.auth.models import User as UserModel
from django.con... | 39.173077 | 120 | 0.638957 | 2,042 | 18,333 | 5.56905 | 0.081293 | 0.039659 | 0.056982 | 0.048013 | 0.811643 | 0.77981 | 0.714474 | 0.688533 | 0.624077 | 0.609655 | 0 | 0.005931 | 0.236677 | 18,333 | 467 | 121 | 39.256959 | 0.806703 | 0.040637 | 0 | 0.575251 | 0 | 0 | 0.097318 | 0.049429 | 0 | 0 | 0 | 0 | 0.214047 | 1 | 0.113712 | false | 0 | 0.043478 | 0 | 0.16388 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81d65d362b6c766fbc19f5e168419ce073273ad7 | 42 | py | Python | code/abc076_a_03.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc076_a_03.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc076_a_03.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | r=int(input())
g=int(input())
print(2*g-r) | 14 | 14 | 0.619048 | 10 | 42 | 2.6 | 0.6 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.047619 | 42 | 3 | 15 | 14 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c4c93975b29603aff9191fb8f281310dc20e0039 | 546 | py | Python | database/write_to_db.py | linda-oranya/web_scrapper_to_db | 916a629b85585a37f1eeef3b5e7b654fe30a9d3a | [
"MIT"
] | null | null | null | database/write_to_db.py | linda-oranya/web_scrapper_to_db | 916a629b85585a37f1eeef3b5e7b654fe30a9d3a | [
"MIT"
] | null | null | null | database/write_to_db.py | linda-oranya/web_scrapper_to_db | 916a629b85585a37f1eeef3b5e7b654fe30a9d3a | [
"MIT"
] | null | null | null | import pandas as pd
from io import StringIO
from sqlalchemy import create_engine
def get_csv(data):
"""
Gets scrapped data saved in csv and converts to Pandas DataFrame
Parameter:
.csv file
"""
df = pd.read_csv(data)
return df
def write_csv_to_db(df):
"""... | 20.222222 | 75 | 0.624542 | 68 | 546 | 4.897059 | 0.573529 | 0.072072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296703 | 546 | 26 | 76 | 21 | 0.867188 | 0.315018 | 0 | 0 | 0 | 0 | 0.166102 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
c4e8109aaea5ba45f58b4b1aee564ce4fa388389 | 4,543 | py | Python | old_tests/core/code-stream/test_code_stream.py | hyperevo/py-helios-node | ff417fe3fe90f85c9f95b3d8a5f0dd4c80532ee8 | [
"MIT"
] | null | null | null | old_tests/core/code-stream/test_code_stream.py | hyperevo/py-helios-node | ff417fe3fe90f85c9f95b3d8a5f0dd4c80532ee8 | [
"MIT"
] | null | null | null | old_tests/core/code-stream/test_code_stream.py | hyperevo/py-helios-node | ff417fe3fe90f85c9f95b3d8a5f0dd4c80532ee8 | [
"MIT"
] | null | null | null | import pytest
from eth_utils import (
ValidationError,
)
from hvm.vm import opcode_values
from hvm.vm.code_stream import (
CodeStream,
)
def test_code_stream_accepts_bytes():
code_stream = CodeStream(b'\x01')
assert len(code_stream.stream.getvalue()) == 1
@pytest.mark.parametrize("code_bytes", (10... | 37.545455 | 100 | 0.74136 | 723 | 4,543 | 4.320885 | 0.153527 | 0.233675 | 0.276569 | 0.207426 | 0.678297 | 0.641485 | 0.567862 | 0.552497 | 0.322983 | 0.322983 | 0 | 0.053445 | 0.159806 | 4,543 | 120 | 101 | 37.858333 | 0.764999 | 0.040942 | 0 | 0.336957 | 0 | 0 | 0.040901 | 0 | 0 | 0 | 0 | 0 | 0.608696 | 1 | 0.119565 | false | 0 | 0.043478 | 0 | 0.163043 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f21e67462a52993133df45e7d34f48d3a892cb78 | 117 | py | Python | app/home/__init__.py | Sea-Monster/flask_movie_project | 3c55018624fbda1017836f9bd201bc98471bca2d | [
"MIT"
] | 8 | 2018-05-24T08:46:37.000Z | 2020-10-11T14:57:38.000Z | app/home/__init__.py | Sea-Monster/flask_movie_project | 3c55018624fbda1017836f9bd201bc98471bca2d | [
"MIT"
] | null | null | null | app/home/__init__.py | Sea-Monster/flask_movie_project | 3c55018624fbda1017836f9bd201bc98471bca2d | [
"MIT"
] | 1 | 2020-03-24T14:58:32.000Z | 2020-03-24T14:58:32.000Z | # -*- coding: utf-8 -*-
from flask import Blueprint
# 定义蓝图
home = Blueprint('home', __name__)
import app.home.views | 16.714286 | 34 | 0.692308 | 16 | 117 | 4.8125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.153846 | 117 | 7 | 35 | 16.714286 | 0.767677 | 0.222222 | 0 | 0 | 0 | 0 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
1eeeddb26f2ad5e1474b55aa8d0b5afbb06b0d78 | 92,914 | py | Python | src/google/appengine/datastore/datastore_v4_pb2.py | asriniva/appengine-python-standard | 8a5abedfe99b27a4dcb31fd47d3ba7b62fd0e47c | [
"Apache-2.0"
] | 28 | 2021-01-06T19:55:21.000Z | 2022-03-28T09:41:08.000Z | src/google/appengine/datastore/datastore_v4_pb2.py | asriniva/appengine-python-standard | 8a5abedfe99b27a4dcb31fd47d3ba7b62fd0e47c | [
"Apache-2.0"
] | 13 | 2021-06-17T09:38:17.000Z | 2022-03-11T01:12:33.000Z | src/google/appengine/datastore/datastore_v4_pb2.py | asriniva/appengine-python-standard | 8a5abedfe99b27a4dcb31fd47d3ba7b62fd0e47c | [
"Apache-2.0"
] | 28 | 2021-03-09T19:27:37.000Z | 2022-01-21T21:18:52.000Z | #!/usr/bin/env python
#
# Copyright 2007 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 42.778085 | 9,361 | 0.768054 | 11,271 | 92,914 | 5.994056 | 0.052524 | 0.041801 | 0.075652 | 0.071197 | 0.750914 | 0.725692 | 0.708936 | 0.647005 | 0.622922 | 0.602658 | 0 | 0.039141 | 0.11487 | 92,914 | 2,171 | 9,362 | 42.797789 | 0.782335 | 0.006458 | 0 | 0.691654 | 0 | 0.002499 | 0.231927 | 0.18967 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002499 | 0 | 0.002499 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1ef87832f83665e5da05dd31804eab0fedcd48a1 | 15 | py | Python | data/studio21_generated/introductory/3699/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3699/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3699/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def ranks(a):
| 7.5 | 13 | 0.6 | 3 | 15 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 15 | 2 | 14 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
482100dd1cce10470e1af6ab3b7a0f4b9616a86f | 106 | py | Python | deepclaw/driver/arms/franka/__init__.py | Nokkxz/ME336-Yellow-Team-Project | 5b6d65ecb134049ba3c5d27c37f521ada79a913f | [
"MIT"
] | 2 | 2021-12-01T15:32:33.000Z | 2021-12-28T05:44:45.000Z | deepclaw/driver/arms/franka/__init__.py | Nokkxz/ME336-Yellow-Team-Project | 5b6d65ecb134049ba3c5d27c37f521ada79a913f | [
"MIT"
] | null | null | null | deepclaw/driver/arms/franka/__init__.py | Nokkxz/ME336-Yellow-Team-Project | 5b6d65ecb134049ba3c5d27c37f521ada79a913f | [
"MIT"
] | 2 | 2021-03-26T01:57:21.000Z | 2021-03-27T07:18:47.000Z | import os
import sys
_root_path = os.path.dirname(os.path.abspath(__file__))
sys.path.append(_root_path)
| 17.666667 | 55 | 0.792453 | 18 | 106 | 4.222222 | 0.5 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 106 | 5 | 56 | 21.2 | 0.783505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
483a0459d66397e6e16584e7a6e4bffad297351f | 110 | py | Python | Models/Lead.py | annamatveev/redditGoldenContent | e1676a031c3549275187c6f7e6d674f309c3bb73 | [
"MIT"
] | 5 | 2017-11-08T02:52:22.000Z | 2020-09-29T11:24:05.000Z | Models/Lead.py | annamatveev/redditGoldenContent | e1676a031c3549275187c6f7e6d674f309c3bb73 | [
"MIT"
] | 3 | 2017-11-09T20:01:23.000Z | 2017-11-12T02:44:56.000Z | Models/Lead.py | annamatveev/redditGoldenContent | e1676a031c3549275187c6f7e6d674f309c3bb73 | [
"MIT"
] | null | null | null | class Lead:
def __init__(self, activity, user):
self.activity = activity
self.user = user
| 22 | 39 | 0.618182 | 13 | 110 | 4.923077 | 0.538462 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290909 | 110 | 4 | 40 | 27.5 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
484687e707688fa3a64bfbd5a6ba84f30568d06c | 106 | py | Python | ficsit/items/Components/SteelIngot.py | SHI3DO/Tennessine | bfbd660126c284b8e412f434b2f86f75e8c96c56 | [
"MIT"
] | 1 | 2021-12-12T16:20:48.000Z | 2021-12-12T16:20:48.000Z | ficsit/items/Components/SteelIngot.py | SHI3DO/Tennessine | bfbd660126c284b8e412f434b2f86f75e8c96c56 | [
"MIT"
] | null | null | null | ficsit/items/Components/SteelIngot.py | SHI3DO/Tennessine | bfbd660126c284b8e412f434b2f86f75e8c96c56 | [
"MIT"
] | 1 | 2021-12-12T04:21:32.000Z | 2021-12-12T04:21:32.000Z | def prod(amount):
A = [["IronOre", "Coal"], "Foundry", [amount, amount], [amount/45], 0]
return A
| 26.5 | 74 | 0.566038 | 14 | 106 | 4.285714 | 0.714286 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.198113 | 106 | 3 | 75 | 35.333333 | 0.670588 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
484aeeae8d65f3709f638b6b51b472f1d788f6eb | 7,746 | py | Python | scvi/dataset/MouseBrain.py | chenlingantelope/HarmonizationSCANVI | 1b19cf4054e9aa6d0f4fd60dba9727a68e440f79 | [
"MIT"
] | 12 | 2019-03-01T07:46:52.000Z | 2022-02-26T03:47:12.000Z | scvi/dataset/MouseBrain.py | chenlingantelope/HarmonizationSCANVI | 1b19cf4054e9aa6d0f4fd60dba9727a68e440f79 | [
"MIT"
] | 3 | 2019-02-12T19:57:47.000Z | 2021-11-15T17:48:05.000Z | scvi/dataset/MouseBrain.py | chenlingantelope/HarmonizationSCANVI | 1b19cf4054e9aa6d0f4fd60dba9727a68e440f79 | [
"MIT"
] | 2 | 2019-01-04T03:45:22.000Z | 2021-03-08T07:58:53.000Z | from scvi.dataset.dataset import GeneExpressionDataset
from sklearn.datasets import dump_svmlight_file, load_svmlight_file
import numpy as np
import loompy
import os
class ZeiselMoleArchData(GeneExpressionDataset):
def __init__(self, save_path='/data/yosef2/scratch/chenling/scanvi_data/',coarse=True):
sel... | 54.93617 | 99 | 0.6504 | 956 | 7,746 | 5.058577 | 0.122385 | 0.067825 | 0.091811 | 0.064516 | 0.838503 | 0.820926 | 0.766956 | 0.717122 | 0.666667 | 0.598842 | 0 | 0.007573 | 0.232894 | 7,746 | 140 | 100 | 55.328571 | 0.806294 | 0.039633 | 0 | 0.496124 | 0 | 0 | 0.133396 | 0.084937 | 0 | 0 | 0 | 0 | 0.023256 | 1 | 0.062016 | false | 0 | 0.03876 | 0 | 0.162791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6f91c256e568f6821c52c1d5e42eb8f8aca751a4 | 929 | py | Python | jvm/native/implementation/ct.py | mcpython4-coding/JVMBridge | a7652d04a77bba8c465fb5ac2255ea311c1d1b27 | [
"MIT"
] | 1 | 2021-06-22T08:27:04.000Z | 2021-06-22T08:27:04.000Z | jvm/native/implementation/ct.py | mcpython4-coding/JVMBridge | a7652d04a77bba8c465fb5ac2255ea311c1d1b27 | [
"MIT"
] | null | null | null | jvm/native/implementation/ct.py | mcpython4-coding/JVMBridge | a7652d04a77bba8c465fb5ac2255ea311c1d1b27 | [
"MIT"
] | null | null | null | import jvm.api
from jvm.api import AbstractMethod
from jvm.api import AbstractStack
from jvm.natives import bind_native, bind_annotation
class Annotations:
@staticmethod
@bind_annotation("stanhebben/zenscript/annotations/ZenClass")
@bind_annotation("crafttweaker/annotations/ZenRegister")
@bind_annotat... | 42.227273 | 79 | 0.795479 | 95 | 929 | 7.652632 | 0.4 | 0.211829 | 0.165062 | 0.22696 | 0.429161 | 0.126547 | 0.126547 | 0 | 0 | 0 | 0 | 0 | 0.100108 | 929 | 21 | 80 | 44.238095 | 0.869617 | 0 | 0 | 0 | 0 | 0 | 0.461207 | 0.461207 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.055556 | 0.222222 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6fa3cf2f3dc852acb6ff374694ff91d2cd93427f | 26,035 | py | Python | sdk/python/pulumi_aws/iam/_enums.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | 260 | 2018-06-18T14:57:00.000Z | 2022-03-29T11:41:03.000Z | sdk/python/pulumi_aws/iam/_enums.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | 1,154 | 2018-06-19T20:38:20.000Z | 2022-03-31T19:48:16.000Z | sdk/python/pulumi_aws/iam/_enums.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | 115 | 2018-06-28T03:20:27.000Z | 2022-03-29T11:41:06.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from enum import Enum
__all__ = [
'ManagedPolicy',
]
class ManagedPolicy(str, Enum):
AWS_ACCOUNT_ACTIVITY_ACCESS = "arn:aws:... | 90.714286 | 147 | 0.823046 | 3,178 | 26,035 | 6.400252 | 0.172435 | 0.080826 | 0.121239 | 0.161652 | 0.408309 | 0.38884 | 0.361701 | 0.204523 | 0.046018 | 0.004425 | 0 | 0.002701 | 0.075744 | 26,035 | 286 | 148 | 91.031469 | 0.84258 | 0.006799 | 0 | 0 | 1 | 0 | 0.56908 | 0.568577 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.003584 | 0.014337 | 0 | 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 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6fccc474297f503ee3c27c64154ba3b5cf5f4f84 | 305 | py | Python | tests/test_crypto.py | Kace-Chege/bigchaindb-driver | 6608b68cea7e4ee54dfabbffadbb62ff3bad1e27 | [
"Apache-2.0"
] | null | null | null | tests/test_crypto.py | Kace-Chege/bigchaindb-driver | 6608b68cea7e4ee54dfabbffadbb62ff3bad1e27 | [
"Apache-2.0"
] | null | null | null | tests/test_crypto.py | Kace-Chege/bigchaindb-driver | 6608b68cea7e4ee54dfabbffadbb62ff3bad1e27 | [
"Apache-2.0"
] | null | null | null | def test_generate_keypair():
from bigchaindb_driver.crypto import CryptoKeypair, generate_keypair
keypair = generate_keypair()
assert len(keypair) == 2
assert isinstance(keypair, CryptoKeypair)
assert isinstance(keypair.private_key, str)
assert isinstance(keypair.public_key, str)
| 38.125 | 72 | 0.770492 | 35 | 305 | 6.514286 | 0.514286 | 0.197368 | 0.302632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003876 | 0.154098 | 305 | 7 | 73 | 43.571429 | 0.879845 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6fe2c243782988447fdbd00162455786f42df85e | 468 | py | Python | employees/serializers.py | rafpires/mybakery | 25e12641416e51e10597a05401af48b19c486cde | [
"Apache-2.0"
] | null | null | null | employees/serializers.py | rafpires/mybakery | 25e12641416e51e10597a05401af48b19c486cde | [
"Apache-2.0"
] | null | null | null | employees/serializers.py | rafpires/mybakery | 25e12641416e51e10597a05401af48b19c486cde | [
"Apache-2.0"
] | null | null | null |
from rest_framework import serializers
from employees.models import Department, Employee, Role
class EmployeeSerializer(serializers.ModelSerializer):
class Meta:
model = Employee
fields = '__all__'
class DepartmentSerializer(serializers.ModelSerializer):
class Meta:
model = Departm... | 20.347826 | 56 | 0.705128 | 42 | 468 | 7.547619 | 0.452381 | 0.246057 | 0.293375 | 0.33123 | 0.378549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 468 | 22 | 57 | 21.272727 | 0.880556 | 0 | 0 | 0.428571 | 0 | 0 | 0.044968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6fe4412c53e516c69f36e28dbd739b68c3b9542a | 222 | py | Python | mathics/builtin/assignments/__init__.py | tirkarthi/mathics-core | 6b07500b935f23dc332f4ec3fac1d71ac4c8fc04 | [
"Apache-2.0"
] | 90 | 2021-09-11T14:14:00.000Z | 2022-03-29T02:08:29.000Z | mathics/builtin/assignments/__init__.py | tirkarthi/mathics-core | 6b07500b935f23dc332f4ec3fac1d71ac4c8fc04 | [
"Apache-2.0"
] | 187 | 2021-09-13T01:00:41.000Z | 2022-03-31T11:52:52.000Z | mathics/builtin/assignments/__init__.py | tirkarthi/mathics-core | 6b07500b935f23dc332f4ec3fac1d71ac4c8fc04 | [
"Apache-2.0"
] | 10 | 2021-10-05T15:44:26.000Z | 2022-03-21T12:34:33.000Z | """
Assignments
Assigments allow you to set or clear variables, indexed variables, structure elements, functions, and general transformations.
You can also get assignment and documentation information about symbols.
"""
| 27.75 | 126 | 0.806306 | 27 | 222 | 6.62963 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13964 | 222 | 7 | 127 | 31.714286 | 0.937173 | 0.959459 | 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 |
6fe5a762491d7aa6bd44aca7dce52dfd0babfef8 | 82 | py | Python | ssidstat/__init__.py | putrasattvika/ssidstat | 90bc4a52702ec314a0385f669d68446fa46fe153 | [
"Apache-2.0"
] | null | null | null | ssidstat/__init__.py | putrasattvika/ssidstat | 90bc4a52702ec314a0385f669d68446fa46fe153 | [
"Apache-2.0"
] | null | null | null | ssidstat/__init__.py | putrasattvika/ssidstat | 90bc4a52702ec314a0385f669d68446fa46fe153 | [
"Apache-2.0"
] | null | null | null | import common
import ssidstatcli
import ssidstatd
from version import __version__
| 16.4 | 31 | 0.878049 | 10 | 82 | 6.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 82 | 4 | 32 | 20.5 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b5065cfaa9348c2017914a740aaf7887f81ee421 | 112 | py | Python | beginner/1097.py | JoaoMisutaniAlves/URI_problems | 18bdbec5f3c3e315c035fc0d89c41722098e3f79 | [
"MIT"
] | null | null | null | beginner/1097.py | JoaoMisutaniAlves/URI_problems | 18bdbec5f3c3e315c035fc0d89c41722098e3f79 | [
"MIT"
] | null | null | null | beginner/1097.py | JoaoMisutaniAlves/URI_problems | 18bdbec5f3c3e315c035fc0d89c41722098e3f79 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
i=[1,3,5,7,9]
j=[6,5,4]
for I in i:
for J in j:
print("I=%i J=%i"%(I,I+J)) | 14 | 34 | 0.410714 | 29 | 112 | 1.586207 | 0.517241 | 0.130435 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 0.267857 | 112 | 8 | 34 | 14 | 0.45122 | 0.1875 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 1 | 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 |
b51646c6f134d279cd48644e65191348cb0eb6dc | 219 | py | Python | __init__.py | Zashel/zrest | 54b554e6641b5d839ee592087e81d69db59fee4a | [
"Apache-2.0"
] | null | null | null | __init__.py | Zashel/zrest | 54b554e6641b5d839ee592087e81d69db59fee4a | [
"Apache-2.0"
] | 1 | 2017-03-26T08:34:39.000Z | 2017-03-27T09:12:15.000Z | __init__.py | Zashel/zrest | 54b554e6641b5d839ee592087e81d69db59fee4a | [
"Apache-2.0"
] | null | null | null | import os
__path__[0] = os.path.join(__path__[0], "zrest/")
#from .zrest import basedatamodel
#from .zrest import exceptions
#from .zrest import server
#from .zrest import statuscodes
#from .zrest import datamodels
#
| 19.909091 | 49 | 0.757991 | 30 | 219 | 5.266667 | 0.4 | 0.28481 | 0.474684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.13242 | 219 | 10 | 50 | 21.9 | 0.821053 | 0.6621 | 0 | 0 | 0 | 0 | 0.089552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d22152cfba2b76c025369a599b6e431f32135e78 | 646 | py | Python | maintenance_mode/decorators.py | OndrejIT/django-maintenance-mode | 54c724a982ea57ad322710be3d304635415db8c5 | [
"MIT"
] | null | null | null | maintenance_mode/decorators.py | OndrejIT/django-maintenance-mode | 54c724a982ea57ad322710be3d304635415db8c5 | [
"MIT"
] | null | null | null | maintenance_mode/decorators.py | OndrejIT/django-maintenance-mode | 54c724a982ea57ad322710be3d304635415db8c5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from maintenance_mode.http import get_maintenance_response
def force_maintenance_mode_off(view_func):
def wrap(request, *args, **kwargs):
return view_func(request, *args, **kwargs)
wrap.__dict__['force_maintenance_mode_off'] = True
wrap.__doc__ = view_func.__doc__
wrap... | 29.363636 | 58 | 0.729102 | 84 | 646 | 4.845238 | 0.297619 | 0.137592 | 0.19656 | 0.113022 | 0.579853 | 0.44226 | 0.44226 | 0.44226 | 0.255528 | 0.255528 | 0 | 0.001866 | 0.170279 | 646 | 21 | 59 | 30.761905 | 0.757463 | 0.032508 | 0 | 0.533333 | 0 | 0 | 0.081862 | 0.081862 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0.133333 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d23fc19f529f7d5d49eaf5c870f0ca100c959484 | 362 | py | Python | simstring/measure/base.py | brightgems/simstring | 666e93ea947a76b9bbb83c955077646455ddbccf | [
"MIT"
] | 100 | 2015-03-01T02:49:15.000Z | 2022-02-21T09:11:51.000Z | simstring/measure/base.py | brightgems/simstring | 666e93ea947a76b9bbb83c955077646455ddbccf | [
"MIT"
] | 4 | 2020-12-11T20:08:52.000Z | 2021-07-14T15:09:49.000Z | simstring/measure/base.py | brightgems/simstring | 666e93ea947a76b9bbb83c955077646455ddbccf | [
"MIT"
] | 14 | 2015-06-08T01:41:49.000Z | 2021-11-02T10:42:07.000Z | class BaseMeasure:
def min_feature_size(self, _query_size, _alpha):
raise 'Not Implemented'
def max_feature_size(self, _query_size, _alpha):
raise 'Not Implemented'
def minimum_common_feature_count(self, _query_size, _y_size, _alpha):
raise 'Not Implemented'
def similarity(sel... | 27.846154 | 73 | 0.690608 | 46 | 362 | 5.043478 | 0.413043 | 0.137931 | 0.327586 | 0.219828 | 0.573276 | 0.573276 | 0.439655 | 0.439655 | 0.439655 | 0.439655 | 0 | 0 | 0.226519 | 362 | 12 | 74 | 30.166667 | 0.828571 | 0 | 0 | 0.444444 | 0 | 0 | 0.165746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0 | 0.555556 | 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 |
96473f97440374fee5de55c7c8d5df95292443fb | 53 | py | Python | tests/__init__.py | Viktor-Omelianchuk/flask_based_weather_app | d7f839e897a6a27f71ef6aea78bbd1f0e37bd4ba | [
"MIT"
] | null | null | null | tests/__init__.py | Viktor-Omelianchuk/flask_based_weather_app | d7f839e897a6a27f71ef6aea78bbd1f0e37bd4ba | [
"MIT"
] | null | null | null | tests/__init__.py | Viktor-Omelianchuk/flask_based_weather_app | d7f839e897a6a27f71ef6aea78bbd1f0e37bd4ba | [
"MIT"
] | null | null | null | """Unit test package for flask_based_weather_app."""
| 26.5 | 52 | 0.773585 | 8 | 53 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 53 | 1 | 53 | 53 | 0.791667 | 0.867925 | 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 |
966efd1c2d338c2895e425fe5ca30974c4a81480 | 194 | py | Python | robottutor/forms.py | UffaModey/robottutor_tech | 2f548b2658d524dce495eeec11bc56bb87b9ba3d | [
"MIT"
] | null | null | null | robottutor/forms.py | UffaModey/robottutor_tech | 2f548b2658d524dce495eeec11bc56bb87b9ba3d | [
"MIT"
] | null | null | null | robottutor/forms.py | UffaModey/robottutor_tech | 2f548b2658d524dce495eeec11bc56bb87b9ba3d | [
"MIT"
] | null | null | null |
from django import forms
#from robottutor.models import Program
#class ProgramForm(forms.ModelForm):
#class Meta:
#model = Program
# fields = ['editorCode', 'robotAPI']
| 14.923077 | 44 | 0.664948 | 20 | 194 | 6.45 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231959 | 194 | 12 | 45 | 16.166667 | 0.865772 | 0.690722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9673c1cedda2df25abb97e7fa74ad55744523bbf | 123 | py | Python | pythonavancado/exercicios/secao04/ex024.py | mrqssjeff/project-python | b3b08f2acfe825640a5ee92cf9d6fa45ab580384 | [
"MIT"
] | null | null | null | pythonavancado/exercicios/secao04/ex024.py | mrqssjeff/project-python | b3b08f2acfe825640a5ee92cf9d6fa45ab580384 | [
"MIT"
] | null | null | null | pythonavancado/exercicios/secao04/ex024.py | mrqssjeff/project-python | b3b08f2acfe825640a5ee92cf9d6fa45ab580384 | [
"MIT"
] | null | null | null | metro = float(input('Qual o valor da área? [em m²]: '))
acre = metro * 0.000247
print(f'O valor da área em Acres é {acre}') | 41 | 55 | 0.658537 | 24 | 123 | 3.375 | 0.708333 | 0.148148 | 0.197531 | 0.296296 | 0.345679 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 0.178862 | 123 | 3 | 56 | 41 | 0.722772 | 0 | 0 | 0 | 0 | 0 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9685dd98ae655f5ce6e5508a9ea32fce35fa017e | 416 | py | Python | views/__init__.py | reganto/Forum | 6f39d7b84254c63c4d6a365c477a7bf95e4dfce0 | [
"Apache-2.0"
] | null | null | null | views/__init__.py | reganto/Forum | 6f39d7b84254c63c4d6a365c477a7bf95e4dfce0 | [
"Apache-2.0"
] | null | null | null | views/__init__.py | reganto/Forum | 6f39d7b84254c63c4d6a365c477a7bf95e4dfce0 | [
"Apache-2.0"
] | null | null | null | from .home import HomePageHandler # noqa 401
from .threads import (ThreadsManager, CreateAThread, # noqa 401
ThreadsHandler)
from .replies import AddAReply, RepliesPagination # noqa 401
from .auth import AuthHandler, Logout ... | 52 | 77 | 0.617788 | 36 | 416 | 7.138889 | 0.555556 | 0.108949 | 0.128405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.34375 | 416 | 7 | 78 | 59.428571 | 0.897436 | 0.086538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
969dbe56918e735dcc1893ae0a59b11361bacde4 | 177 | py | Python | server/main.py | peter-tank/bmsxmlrpc | aead43f30399fa58dc9c6cae95e328ff9a6f8d52 | [
"MIT"
] | 1 | 2018-12-18T21:56:15.000Z | 2018-12-18T21:56:15.000Z | server/main.py | peter-tank/bmsxmlrpc | aead43f30399fa58dc9c6cae95e328ff9a6f8d52 | [
"MIT"
] | 4 | 2019-11-30T14:01:12.000Z | 2020-01-03T13:20:57.000Z | server/main.py | peter-tank/bmsxmlrpc | aead43f30399fa58dc9c6cae95e328ff9a6f8d52 | [
"MIT"
] | 1 | 2019-11-25T13:30:09.000Z | 2019-11-25T13:30:09.000Z | """This module is for thread start."""
from bitmessagemain import main
import state
if __name__ == '__main__':
state.kivy = True
print("Kivy Loading......")
main()
| 19.666667 | 38 | 0.655367 | 22 | 177 | 4.909091 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19774 | 177 | 8 | 39 | 22.125 | 0.760563 | 0.180791 | 0 | 0 | 0 | 0 | 0.18705 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 |
96a22d2445b007111feb2dece04a8904cec670c1 | 6,126 | py | Python | tests/test_filter.py | PetrDlouhy/django-isnull-list-filter | 0c757030fcde1c087843554e7089e9b0809ea982 | [
"MIT"
] | 1 | 2017-04-27T20:08:33.000Z | 2017-04-27T20:08:33.000Z | tests/test_filter.py | PetrDlouhy/django-isnull-list-filter | 0c757030fcde1c087843554e7089e9b0809ea982 | [
"MIT"
] | 3 | 2018-07-25T17:40:58.000Z | 2021-11-17T15:30:16.000Z | tests/test_filter.py | PetrDlouhy/django-isnull-list-filter | 0c757030fcde1c087843554e7089e9b0809ea982 | [
"MIT"
] | 3 | 2018-07-25T16:50:10.000Z | 2018-07-25T17:34:42.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_django-isnull-list-filter
------------
Tests for `django-isnull-list-filter` models module.
"""
import datetime
from itertools import cycle
from django.core.exceptions import FieldError
from django.test import RequestFactory, TestCase
from model_mommy import mom... | 40.302632 | 110 | 0.64414 | 774 | 6,126 | 4.909561 | 0.113695 | 0.112895 | 0.116316 | 0.138947 | 0.770263 | 0.712105 | 0.704211 | 0.704211 | 0.704211 | 0.6 | 0 | 0.00679 | 0.20666 | 6,126 | 151 | 111 | 40.569536 | 0.775103 | 0.022853 | 0 | 0.426087 | 0 | 0 | 0.101891 | 0.007027 | 0 | 0 | 0 | 0 | 0.191304 | 1 | 0.2 | false | 0 | 0.06087 | 0 | 0.269565 | 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 |
736af6e3541bf4e8d4f062fad125c5dcd75c1861 | 50 | py | Python | snippets/python/django/get_model.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | snippets/python/django/get_model.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | snippets/python/django/get_model.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | from django.apps import apps
apps.get_model(...)
| 12.5 | 28 | 0.74 | 8 | 50 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 50 | 3 | 29 | 16.666667 | 0.818182 | 0 | 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 |
736b8a7e5e2dbf50ad177442fb369609a352c6ad | 4,800 | py | Python | grid_space/models.py | topd333/Xlab | 28d89b3b18717957229ca52cb2cbbbc20bd31eae | [
"Unlicense"
] | null | null | null | grid_space/models.py | topd333/Xlab | 28d89b3b18717957229ca52cb2cbbbc20bd31eae | [
"Unlicense"
] | null | null | null | grid_space/models.py | topd333/Xlab | 28d89b3b18717957229ca52cb2cbbbc20bd31eae | [
"Unlicense"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
class DjangoSite(models.Model):
id = models.IntegerField(primary_key=True)
domain = models.CharField(max_length=100L)
name = models.CharField(max_length=50L)
class Meta:
db_table = 'django_site'
class GridSpaceConfigversi... | 34.782609 | 69 | 0.748542 | 589 | 4,800 | 5.855688 | 0.210526 | 0.221803 | 0.266164 | 0.354885 | 0.6686 | 0.538127 | 0.432879 | 0.392288 | 0.291969 | 0.266454 | 0 | 0.026459 | 0.1575 | 4,800 | 137 | 70 | 35.036496 | 0.82641 | 0.005417 | 0 | 0.314286 | 0 | 0 | 0.046312 | 0.029128 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.009524 | 0.019048 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
73b3f1ce57d41a6897ef7bf04aa48bcdd7b4b2b7 | 55 | py | Python | login.py | zhang1157665679/test27 | ec1dd797b7454cf19913748371f9b23b79f3286f | [
"MIT"
] | null | null | null | login.py | zhang1157665679/test27 | ec1dd797b7454cf19913748371f9b23b79f3286f | [
"MIT"
] | null | null | null | login.py | zhang1157665679/test27 | ec1dd797b7454cf19913748371f9b23b79f3286f | [
"MIT"
] | null | null | null | num1 = 1
num2 = 2
num3 = 3333
num3 = 33
num4 = 444
| 5.5 | 11 | 0.563636 | 10 | 55 | 3.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0.345455 | 55 | 9 | 12 | 6.111111 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
73c6b6a0dd212b163bd5e0c7616c58dc01e4ddb3 | 282 | py | Python | unittesting/core/__init__.py | guillermooo/UnitTesting | 04802c56d5ccea44043a241050d6fe331c6ff694 | [
"MIT"
] | null | null | null | unittesting/core/__init__.py | guillermooo/UnitTesting | 04802c56d5ccea44043a241050d6fe331c6ff694 | [
"MIT"
] | null | null | null | unittesting/core/__init__.py | guillermooo/UnitTesting | 04802c56d5ccea44043a241050d6fe331c6ff694 | [
"MIT"
] | null | null | null | from .st3.runner import DeferringTextTestRunner
from .st3.case import DeferrableTestCase
from .st3.suite import DeferrableTestSuite
from .loader import UnitTestingLoader as TestLoader
__all__ = ["TestLoader", "DeferringTextTestRunner", "DeferrableTestCase", "DeferrableTestSuite"]
| 40.285714 | 96 | 0.836879 | 26 | 282 | 8.923077 | 0.538462 | 0.090517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011673 | 0.088652 | 282 | 6 | 97 | 47 | 0.891051 | 0 | 0 | 0 | 0 | 0 | 0.248227 | 0.08156 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
73e08b33711fe4bc140dc197529d1ec8b846227c | 158 | py | Python | jrnl/__main__.py | jprof/jrnl | 04811405dc0007dcf1184b885b89bc5c965ddaac | [
"MIT"
] | 2 | 2017-12-08T19:06:55.000Z | 2017-12-09T00:45:20.000Z | jrnl/__main__.py | jprof/jrnl | 04811405dc0007dcf1184b885b89bc5c965ddaac | [
"MIT"
] | 2 | 2017-12-24T01:37:08.000Z | 2021-05-08T02:23:30.000Z | jrnl/__main__.py | jprof/jrnl | 04811405dc0007dcf1184b885b89bc5c965ddaac | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
from __future__ import absolute_import, unicode_literals
from . import cli
if __name__ == "__main__":
cli.run()
| 17.555556 | 56 | 0.727848 | 22 | 158 | 4.590909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.158228 | 158 | 8 | 57 | 19.75 | 0.75188 | 0.227848 | 0 | 0 | 0 | 0 | 0.066667 | 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 |
83754d4f3ccfb6106b31c83ca34797a80497820d | 95 | py | Python | functions/modules/import_alias.py | nv-krishna/python-crash-course | d481faeb2196712cd52ca1d34dc1fe967d13712f | [
"Apache-2.0"
] | 2 | 2020-11-02T05:52:33.000Z | 2021-06-09T01:28:22.000Z | functions/modules/import_alias.py | nv-krishna/python-crash-course | d481faeb2196712cd52ca1d34dc1fe967d13712f | [
"Apache-2.0"
] | null | null | null | functions/modules/import_alias.py | nv-krishna/python-crash-course | d481faeb2196712cd52ca1d34dc1fe967d13712f | [
"Apache-2.0"
] | 2 | 2021-04-08T05:26:04.000Z | 2021-06-09T01:28:23.000Z | from pizza import make_pizza as mp
mp(12,"sausages")
mp(16,"extra-cheese","garlic","tomatoes") | 23.75 | 41 | 0.736842 | 16 | 95 | 4.3125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 0.084211 | 95 | 4 | 41 | 23.75 | 0.747126 | 0 | 0 | 0 | 0 | 0 | 0.354167 | 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 |
83918dd4959b6af3ca2524cd82bceb2025e668d7 | 182 | py | Python | modules/extract.py | StaticallyTypedRice/recursive-extract | cef608c8534a0353eef8108868edd49157e4e0ea | [
"MIT"
] | null | null | null | modules/extract.py | StaticallyTypedRice/recursive-extract | cef608c8534a0353eef8108868edd49157e4e0ea | [
"MIT"
] | null | null | null | modules/extract.py | StaticallyTypedRice/recursive-extract | cef608c8534a0353eef8108868edd49157e4e0ea | [
"MIT"
] | null | null | null | class ExtractionError(Exception):
'''The exception that is raised when there is an error when extracting.'''
def extract_7z(path:str):
'''Extract a file using 7zip.
''' | 26 | 78 | 0.692308 | 25 | 182 | 5 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013605 | 0.192308 | 182 | 7 | 79 | 26 | 0.836735 | 0.521978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8393b4b764862da372e0ce938e98d58498bf83bc | 884 | py | Python | python-analysis/plotter.py | fyodordev/starthack2019-drivesmooth | 2109e28e6108bb1de812fb3d04065ded5edb7822 | [
"MIT"
] | null | null | null | python-analysis/plotter.py | fyodordev/starthack2019-drivesmooth | 2109e28e6108bb1de812fb3d04065ded5edb7822 | [
"MIT"
] | null | null | null | python-analysis/plotter.py | fyodordev/starthack2019-drivesmooth | 2109e28e6108bb1de812fb3d04065ded5edb7822 | [
"MIT"
] | null | null | null | import os
import matplotlib.pyplot as plt
import numpy as np
import sys
rootfolder = sys.argv[1]
for rootdir, dirs, filenames in os.walk(rootfolder):
for filename in filenames:
if ".csv" in filename and "Radgeschw" in filename:
data = np.genfromtxt(os.path.join(rootfolder, filename), delimiter=... | 40.181818 | 83 | 0.635747 | 117 | 884 | 4.803419 | 0.324786 | 0.071174 | 0.071174 | 0.142349 | 0.715302 | 0.715302 | 0.715302 | 0.715302 | 0.715302 | 0.572954 | 0 | 0.007225 | 0.217195 | 884 | 22 | 84 | 40.181818 | 0.804913 | 0 | 0 | 0.47619 | 0 | 0 | 0.063277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.190476 | 0 | 0.190476 | 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 |
8396859807ee940e0cb42d1b65427d4e6073d95d | 154 | py | Python | tradssat/genotype/vars_/tmgro.py | shreyayadav/traDSSAT | cc9650f896910c0d0a7a382aff36bef89aba70f2 | [
"MIT"
] | 6 | 2020-10-05T11:50:37.000Z | 2022-02-24T08:36:22.000Z | tradssat/genotype/vars_/tmgro.py | shreyayadav/traDSSAT | cc9650f896910c0d0a7a382aff36bef89aba70f2 | [
"MIT"
] | 23 | 2018-11-08T19:16:36.000Z | 2021-07-20T23:34:18.000Z | tradssat/genotype/vars_/tmgro.py | shreyayadav/traDSSAT | cc9650f896910c0d0a7a382aff36bef89aba70f2 | [
"MIT"
] | 9 | 2018-11-06T21:04:07.000Z | 2021-06-19T05:43:24.000Z | from tradssat.genotype.vars_._cropgro import cropgro_cul_vars, cropgro_eco_vars
cul_vars_TMGRO = cropgro_cul_vars()
eco_vars_TMGRO = cropgro_eco_vars()
| 25.666667 | 79 | 0.850649 | 24 | 154 | 4.875 | 0.375 | 0.179487 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084416 | 154 | 5 | 80 | 30.8 | 0.829787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8396df4bca4762f4191ea4b6fa3c43f653c9076e | 132 | py | Python | djangomom/modeller/apps.py | emiamar/d | abfd0ca81224a1259fdfac92ed21ad771d901e18 | [
"BSD-3-Clause"
] | null | null | null | djangomom/modeller/apps.py | emiamar/d | abfd0ca81224a1259fdfac92ed21ad771d901e18 | [
"BSD-3-Clause"
] | 2 | 2018-02-27T07:56:18.000Z | 2018-03-09T12:45:48.000Z | djangomom/modeller/apps.py | emiamar/d | abfd0ca81224a1259fdfac92ed21ad771d901e18 | [
"BSD-3-Clause"
] | 2 | 2018-02-21T07:43:04.000Z | 2018-11-10T18:09:26.000Z | from __future__ import unicode_literals
from django.apps import AppConfig
class ModellerConfig(AppConfig):
name = 'modeller'
| 16.5 | 39 | 0.795455 | 15 | 132 | 6.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 7 | 40 | 18.857143 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 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 |
f7bc420dc4e3bbaab862529a9e85906a778386f7 | 122 | py | Python | colour_analysis/cameras/__init__.py | colour-science/colour-vispy | 79c6b6687711b4bf85245407c0305ac7d273cf5c | [
"BSD-3-Clause"
] | 37 | 2015-05-29T19:50:20.000Z | 2021-09-28T14:51:12.000Z | colour_analysis/cameras/__init__.py | colour-science/colour-vispy | 79c6b6687711b4bf85245407c0305ac7d273cf5c | [
"BSD-3-Clause"
] | 1 | 2015-10-07T23:25:49.000Z | 2018-03-11T02:32:21.000Z | colour_analysis/cameras/__init__.py | colour-science/colour-vispy | 79c6b6687711b4bf85245407c0305ac7d273cf5c | [
"BSD-3-Clause"
] | 8 | 2016-01-18T17:30:12.000Z | 2021-10-05T07:30:53.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from .orbit import OrbitCamera
__all__ = ['OrbitCamera'] | 17.428571 | 38 | 0.729508 | 14 | 122 | 5.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.147541 | 122 | 7 | 39 | 17.428571 | 0.759615 | 0.172131 | 0 | 0 | 0 | 0 | 0.11 | 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 |
f7eddc8addd1284eb83937038441b24d30864301 | 1,350 | py | Python | phonetic-dict/lookup_tables (copy).py | JRMeyer/asr | 212d093ddfbcf0bb5d0d7ab0a77667049ac2b360 | [
"MIT"
] | null | null | null | phonetic-dict/lookup_tables (copy).py | JRMeyer/asr | 212d093ddfbcf0bb5d0d7ab0a77667049ac2b360 | [
"MIT"
] | null | null | null | phonetic-dict/lookup_tables (copy).py | JRMeyer/asr | 212d093ddfbcf0bb5d0d7ab0a77667049ac2b360 | [
"MIT"
] | 3 | 2016-11-27T10:49:42.000Z | 2019-01-24T02:44:04.000Z | # these are the letter to phone definitions I'm using to create a
# phonetic dictionary
kazakh_table = {"б" => "b ",
"в" => "v ",
"г" => "g ",
"д" => "d ",
"з" => "z ",
"к" => "k ",
"л" => "l ",
"м" => "m... | 28.125 | 66 | 0.143704 | 105 | 1,350 | 1.838095 | 0.838095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.632593 | 1,350 | 47 | 67 | 28.723404 | 0.389113 | 0.078519 | 0 | 0 | 0 | 0 | 0.112187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
790b3dcead80e5e0b06be7a487cb1e8db6cf319d | 10,880 | py | Python | bot.py | XMYSTERlOUSX/ssh-creator-bot | 68452adac6dfcc81629cd8d23d7631827e12c6b6 | [
"Apache-2.0"
] | null | null | null | bot.py | XMYSTERlOUSX/ssh-creator-bot | 68452adac6dfcc81629cd8d23d7631827e12c6b6 | [
"Apache-2.0"
] | null | null | null | bot.py | XMYSTERlOUSX/ssh-creator-bot | 68452adac6dfcc81629cd8d23d7631827e12c6b6 | [
"Apache-2.0"
] | null | null | null | import random
import string
import time
import os
try:
import telepot
from telepot.loop import MessageLoop
except:
os.system('pip install telepot --user')
try:
import requests
except:
os.system('pip install requests --user')
class host:
def __init__(self, host):
h = ho... | 44.048583 | 1,093 | 0.536581 | 1,397 | 10,880 | 4.121689 | 0.198998 | 0.031261 | 0.075026 | 0.062522 | 0.721431 | 0.709795 | 0.703196 | 0.690344 | 0.672282 | 0.621917 | 0 | 0.039284 | 0.312132 | 10,880 | 246 | 1,094 | 44.227642 | 0.730091 | 0.004688 | 0 | 0.568807 | 0 | 0.03211 | 0.342312 | 0.061336 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050459 | false | 0.036697 | 0.03211 | 0 | 0.119266 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f73398ac99bb6ad76208a2cc03425876fd1c766b | 521 | py | Python | app/tests.py | Sergey-59/magnit_test | f769642deed3d6c92b641a348311104c6bb23b93 | [
"Apache-2.0"
] | null | null | null | app/tests.py | Sergey-59/magnit_test | f769642deed3d6c92b641a348311104c6bb23b93 | [
"Apache-2.0"
] | null | null | null | app/tests.py | Sergey-59/magnit_test | f769642deed3d6c92b641a348311104c6bb23b93 | [
"Apache-2.0"
] | null | null | null | '''
Base test
'''
def test_index(client):
assert client.get('/').status_code == 302
def test_registration(client):
assert client.post('/registration',
json={"email": "test4@gmail.com", "password": "12345", "name": "PyTest"}).status_code == 200
assert client.post('/registratio... | 28.944444 | 115 | 0.591171 | 58 | 521 | 5.206897 | 0.413793 | 0.15894 | 0.15894 | 0.18543 | 0.60596 | 0.407285 | 0.231788 | 0 | 0 | 0 | 0 | 0.07056 | 0.211132 | 521 | 17 | 116 | 30.647059 | 0.664234 | 0.017274 | 0 | 0.25 | 0 | 0 | 0.264 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | false | 0.375 | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f7387d930bdd97e3958f65e51d15d7f34375a30d | 154 | py | Python | dataservices/utils/config_funcs.py | jmaddocks-microstrategy/dataservices | b6a0ea4a7096f492a0e39f80668c9aa243ff5310 | [
"MIT"
] | null | null | null | dataservices/utils/config_funcs.py | jmaddocks-microstrategy/dataservices | b6a0ea4a7096f492a0e39f80668c9aa243ff5310 | [
"MIT"
] | null | null | null | dataservices/utils/config_funcs.py | jmaddocks-microstrategy/dataservices | b6a0ea4a7096f492a0e39f80668c9aa243ff5310 | [
"MIT"
] | null | null | null |
def read_config_value(section, key):
from dataservices.utils.file_funcs import get_config
config = get_config()
return config[section][key] | 22 | 56 | 0.746753 | 21 | 154 | 5.238095 | 0.666667 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 154 | 7 | 57 | 22 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f743b49a55885cd5c9cebb6410b29970d84e54d8 | 90 | py | Python | retinanet/model/backbone/__init__.py | lchen-wyze/retinanet-tensorflow2.x | 86404a2da6ec636d4b1aef768ac52f018c127798 | [
"Apache-2.0"
] | 36 | 2020-09-23T13:32:47.000Z | 2022-03-29T18:53:58.000Z | retinanet/model/backbone/__init__.py | lchen-wyze/retinanet-tensorflow2.x | 86404a2da6ec636d4b1aef768ac52f018c127798 | [
"Apache-2.0"
] | 12 | 2020-10-25T09:07:58.000Z | 2021-11-17T12:53:50.000Z | retinanet/model/backbone/__init__.py | lchen-wyze/retinanet-tensorflow2.x | 86404a2da6ec636d4b1aef768ac52f018c127798 | [
"Apache-2.0"
] | 9 | 2020-11-12T20:03:06.000Z | 2022-01-03T12:40:48.000Z | from retinanet.model.backbone.builder import build_backbone
__all__ = ['build_backbone']
| 22.5 | 59 | 0.822222 | 11 | 90 | 6.181818 | 0.727273 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 3 | 60 | 30 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 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 |
f780144a8205c8c3b4bf4e5662052e512f4345f3 | 743 | py | Python | tests/conf/conf.py | meitu/twemproxy | e5a25559532ec34c45ddb4b1f53e67a965a8d2dd | [
"Apache-2.0"
] | 129 | 2018-05-09T04:09:37.000Z | 2020-02-28T01:55:42.000Z | tests/conf/conf.py | meitu/twemproxy | e5a25559532ec34c45ddb4b1f53e67a965a8d2dd | [
"Apache-2.0"
] | 9 | 2018-05-11T02:48:02.000Z | 2019-09-16T01:51:40.000Z | tests/conf/conf.py | meitu/twemproxy | e5a25559532ec34c45ddb4b1f53e67a965a8d2dd | [
"Apache-2.0"
] | 19 | 2018-05-09T04:09:38.000Z | 2020-03-28T03:30:37.000Z | #coding: utf-8
import os
import sys
redis_passwd = "foobared"
nc_servers = {
'redis-ms': {'host': '127.0.0.1', 'port': 32121},
'redis-shards': {'host': '127.0.0.1', 'port': 32122},
'mc-shards': {'host': '127.0.0.1', 'port': 32123}
}
redis_servers = {
'redis-master': {'host'... | 29.72 | 62 | 0.483176 | 106 | 743 | 3.349057 | 0.320755 | 0.197183 | 0.225352 | 0.253521 | 0.495775 | 0.495775 | 0.338028 | 0 | 0 | 0 | 0 | 0.194296 | 0.244953 | 743 | 24 | 63 | 30.958333 | 0.438503 | 0.017497 | 0 | 0 | 0 | 0 | 0.389575 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.052632 | 0.105263 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f78c426f142be556555c9981c38e0938f2d9a3b5 | 33 | py | Python | Autokey/CapsKeybinds/ctrl/up.py | MisaghM/Capslock-Keybindings | 00332c7d39cf776c43fe13aa08e1c2969747425d | [
"MIT"
] | 1 | 2021-11-05T19:39:36.000Z | 2021-11-05T19:39:36.000Z | Autokey/CapsKeybinds/ctrl/up.py | MisaghM/Capslock-Keybindings | 00332c7d39cf776c43fe13aa08e1c2969747425d | [
"MIT"
] | null | null | null | Autokey/CapsKeybinds/ctrl/up.py | MisaghM/Capslock-Keybindings | 00332c7d39cf776c43fe13aa08e1c2969747425d | [
"MIT"
] | null | null | null | keyboard.send_keys("<ctrl>+<up>") | 33 | 33 | 0.69697 | 5 | 33 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 33 | 1 | 33 | 33 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f795c16ae36a5d63fbab725797a6aa089b8b893b | 42 | py | Python | python/testData/completion/reCompileMatch.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/reCompileMatch.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/reCompileMatch.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import re
p = re.compile('foo')
p.match()
| 10.5 | 21 | 0.642857 | 8 | 42 | 3.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 3 | 22 | 14 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f79adca45f6b56418b411ecb66649aa9ef6b3b92 | 19 | py | Python | python/testData/completion/builtinOpenStringPath/a.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/builtinOpenStringPath/a.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/completion/builtinOpenStringPath/a.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | open('foo<caret>')
| 9.5 | 18 | 0.631579 | 3 | 19 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 19 | 1 | 19 | 19 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e39fcd787c7d342b494887832c6cdda1ac3473e6 | 28 | py | Python | ethereum_helpers/restrictions.py | lycantropos/ethereum_helpers | 8b7375d18398c94f97628903f562d7d6c354c418 | [
"MIT"
] | null | null | null | ethereum_helpers/restrictions.py | lycantropos/ethereum_helpers | 8b7375d18398c94f97628903f562d7d6c354c418 | [
"MIT"
] | null | null | null | ethereum_helpers/restrictions.py | lycantropos/ethereum_helpers | 8b7375d18398c94f97628903f562d7d6c354c418 | [
"MIT"
] | null | null | null | R_LENGTH = 64
S_LENGTH = 64
| 9.333333 | 13 | 0.714286 | 6 | 28 | 3 | 0.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.214286 | 28 | 2 | 14 | 14 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3a945b1a82bdb1859ab28d5956d56e78812e67f | 277 | py | Python | steppy/list_interfaces.py | ygravrand/steppy | f1663da562243912afa7c016cf2aa517c20ed937 | [
"BSD-3-Clause"
] | 34 | 2016-12-13T14:46:53.000Z | 2021-05-03T17:24:35.000Z | steppy/list_interfaces.py | ygravrand/steppy | f1663da562243912afa7c016cf2aa517c20ed937 | [
"BSD-3-Clause"
] | 3 | 2016-12-15T11:07:08.000Z | 2022-01-23T10:09:04.000Z | steppy/list_interfaces.py | ygravrand/steppy | f1663da562243912afa7c016cf2aa517c20ed937 | [
"BSD-3-Clause"
] | 4 | 2017-02-11T14:02:45.000Z | 2018-11-11T16:42:18.000Z | # -*- coding: utf-8 -*-
"""
StepPy
:copyright: (c) 2016-2017 by Yann Gravrand.
:license: BSD, see LICENSE for more details.
"""
import mido
def list_interfaces():
return 'Inputs: %s\nOutputs: %s' % \
(mido.get_input_names(), mido.get_output_names())
| 19.785714 | 57 | 0.617329 | 36 | 277 | 4.611111 | 0.833333 | 0.084337 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041475 | 0.216607 | 277 | 13 | 58 | 21.307692 | 0.723502 | 0.425993 | 0 | 0 | 0 | 0 | 0.165468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
e3cba7f578d0c0c6dd8c5aa0efe33940f5c57043 | 399 | bzl | Python | third_party/aopalliance.bzl | or-shachar/exodus | b28bf8f4c2330de47b8aac21c2bf3c40fda7cbdc | [
"MIT"
] | null | null | null | third_party/aopalliance.bzl | or-shachar/exodus | b28bf8f4c2330de47b8aac21c2bf3c40fda7cbdc | [
"MIT"
] | null | null | null | third_party/aopalliance.bzl | or-shachar/exodus | b28bf8f4c2330de47b8aac21c2bf3c40fda7cbdc | [
"MIT"
] | null | null | null | load("//:import_external.bzl", import_external = "safe_wix_scala_maven_import_external")
def dependencies():
import_external(
name = "aopalliance_aopalliance",
artifact = "aopalliance:aopalliance:1.0",
jar_sha256 = "0addec670fedcd3f113c5c8091d783280d23f75e3acb841b61a9cdb079376a08",
srcjar_sh... | 36.272727 | 89 | 0.784461 | 30 | 399 | 10.066667 | 0.666667 | 0.18543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255014 | 0.125313 | 399 | 10 | 90 | 39.9 | 0.610315 | 0 | 0 | 0 | 0 | 0 | 0.591479 | 0.591479 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.25 | 0 | 0.375 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3d8df6c6b753df57db63395b28c2365bbfaf40a | 130 | py | Python | dsb3_networks/lung_wings_segmentation/net/subscripts/__init__.py | NDKoehler/DataScienceBowl2017_7th_place | 638542c3cde5af45bf34d0391695ab0e54ce78b8 | [
"MIT"
] | 8 | 2017-05-19T10:30:20.000Z | 2022-03-12T05:17:19.000Z | dsb3_networks/lung_wings_segmentation/net/subscripts/__init__.py | NDKoehler/DataScienceBowl2017_7th_place | 638542c3cde5af45bf34d0391695ab0e54ce78b8 | [
"MIT"
] | 5 | 2017-07-03T10:55:29.000Z | 2018-09-10T18:05:14.000Z | dsb3_networks/lung_wings_segmentation/net/subscripts/__init__.py | NDKoehler/DataScienceBowl2017_7th_place | 638542c3cde5af45bf34d0391695ab0e54ce78b8 | [
"MIT"
] | 6 | 2017-05-12T00:58:05.000Z | 2019-01-22T05:08:09.000Z | __all__ = ['architectures','basic_logging','image_summaries','iterator','metrics','proto_iterator_segmentation','train_singlegpu'] | 130 | 130 | 0.807692 | 13 | 130 | 7.384615 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 130 | 1 | 130 | 130 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.748092 | 0.206107 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3d98e59b79795f10f48f862919c1e6b29f195a6 | 28 | py | Python | lib/python3.5/ntpath.py | knowsWhereHisTowelIs/pi-pyth-serv-socketio | 91f85439ac7a33dc723e0614d7ebdfd3c8260ad4 | [
"MIT"
] | 38 | 2017-02-28T05:39:40.000Z | 2019-01-16T04:39:04.000Z | lib/python3.5/ntpath.py | knowsWhereHisTowelIs/pi-pyth-serv-socketio | 91f85439ac7a33dc723e0614d7ebdfd3c8260ad4 | [
"MIT"
] | 197 | 2016-02-24T14:33:31.000Z | 2020-12-30T07:16:23.000Z | lib/python3.5/ntpath.py | knowsWhereHisTowelIs/pi-pyth-serv-socketio | 91f85439ac7a33dc723e0614d7ebdfd3c8260ad4 | [
"MIT"
] | 8 | 2019-07-16T12:35:18.000Z | 2019-12-04T12:07:53.000Z | /usr/lib/python3.5/ntpath.py | 28 | 28 | 0.785714 | 6 | 28 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 28 | 1 | 28 | 28 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3def4c5b5bca301974649029b182a3d5b640563 | 124 | py | Python | ChessDRF/server/models/__init__.py | Pythongor/Chess-DRF | d8dedd9fa6db85c00e6e3ee4c63729448a9bfba5 | [
"MIT"
] | null | null | null | ChessDRF/server/models/__init__.py | Pythongor/Chess-DRF | d8dedd9fa6db85c00e6e3ee4c63729448a9bfba5 | [
"MIT"
] | 3 | 2021-09-08T03:38:52.000Z | 2022-01-13T03:57:08.000Z | ChessDRF/server/models/__init__.py | Pythongor/Chess-DRF | d8dedd9fa6db85c00e6e3ee4c63729448a9bfba5 | [
"MIT"
] | null | null | null | from .figure import Figure
from .game import Game
from .profile import ChessUser
__all__ = ('Game', 'Figure', 'ChessUser')
| 20.666667 | 41 | 0.741935 | 16 | 124 | 5.5 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 124 | 5 | 42 | 24.8 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 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 |
e3e0dbafe7a6af30924450a38a3320103c3ed4b5 | 50,186 | py | Python | tests/tests.py | vladserkoff/magnitude | db761d81ae9bc3e2cb1831e7f99882e6b70e6638 | [
"MIT"
] | null | null | null | tests/tests.py | vladserkoff/magnitude | db761d81ae9bc3e2cb1831e7f99882e6b70e6638 | [
"MIT"
] | null | null | null | tests/tests.py | vladserkoff/magnitude | db761d81ae9bc3e2cb1831e7f99882e6b70e6638 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import argparse
import gc
import numpy as np
import os
import sys
import tempfile
import unittest
from pymagnitude import Magnitude, FeaturizerMagnitude, MagnitudeUtils
from numpy import isclose, asarray
try:... | 46.084481 | 80 | 0.525425 | 5,408 | 50,186 | 4.723743 | 0.066753 | 0.130471 | 0.139748 | 0.087372 | 0.831441 | 0.796955 | 0.748297 | 0.709504 | 0.64742 | 0.595631 | 0 | 0.067619 | 0.327542 | 50,186 | 1,088 | 81 | 46.126838 | 0.689345 | 0.002331 | 0 | 0.549495 | 0 | 0 | 0.05891 | 0.005573 | 0 | 0 | 0 | 0 | 0.315152 | 1 | 0.079798 | false | 0 | 0.012121 | 0 | 0.10202 | 0.00101 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
54158906586b34799a3c7b7dca092b72b56ec397 | 27,911 | py | Python | sdk/python/pulumi_azure_native/cdn/origin.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/cdn/origin.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/cdn/origin.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from... | 49.752228 | 791 | 0.669521 | 3,487 | 27,911 | 5.106108 | 0.071408 | 0.066723 | 0.056613 | 0.046953 | 0.842572 | 0.774839 | 0.715136 | 0.658017 | 0.633305 | 0.589834 | 0 | 0.009239 | 0.236036 | 27,911 | 560 | 792 | 49.841071 | 0.825775 | 0.313855 | 0 | 0.417867 | 1 | 0 | 0.14296 | 0.062476 | 0 | 0 | 0 | 0 | 0 | 1 | 0.152738 | false | 0.002882 | 0.017291 | 0 | 0.270893 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
582a354c73edb3985858f4508a596bb41e3cefa3 | 139 | py | Python | SWIM-Executables/Windows/pyinstaller-2.0 for windows/PyInstaller/hooks/hook-h5py.py | alexsigaras/SWIM | 1a35df8acb26bdcb307a1b8f60e9feba68ed1715 | [
"MIT"
] | 47 | 2020-03-08T08:43:28.000Z | 2022-03-18T18:51:55.000Z | SWIM-Executables/Windows/pyinstaller-2.0 for windows/PyInstaller/hooks/hook-h5py.py | alexsigaras/SWIM | 1a35df8acb26bdcb307a1b8f60e9feba68ed1715 | [
"MIT"
] | null | null | null | SWIM-Executables/Windows/pyinstaller-2.0 for windows/PyInstaller/hooks/hook-h5py.py | alexsigaras/SWIM | 1a35df8acb26bdcb307a1b8f60e9feba68ed1715 | [
"MIT"
] | 16 | 2020-03-08T08:43:30.000Z | 2022-01-10T22:05:57.000Z | # Hook for http://pypi.python.org/pypi/h5py/
# Author: dhyams
# Date: 2011-10-14
# Ticket: #437
hiddenimports = ['_proxy','utils','defs']
| 19.857143 | 44 | 0.669065 | 20 | 139 | 4.6 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 0.122302 | 139 | 6 | 45 | 23.166667 | 0.655738 | 0.618705 | 0 | 0 | 0 | 0 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
582c9de672d27869e633b840694dba9a9a363b27 | 131 | py | Python | slackblocks/errors.py | thosieucoi/slackblocks | ec11a86408c36e16ebad733ce501ed2d4714d96a | [
"BSD-3-Clause"
] | 29 | 2020-04-05T22:06:28.000Z | 2022-01-09T02:12:24.000Z | slackblocks/errors.py | thosieucoi/slackblocks | ec11a86408c36e16ebad733ce501ed2d4714d96a | [
"BSD-3-Clause"
] | 10 | 2020-04-22T10:47:21.000Z | 2021-05-12T04:09:43.000Z | slackblocks/errors.py | thosieucoi/slackblocks | ec11a86408c36e16ebad733ce501ed2d4714d96a | [
"BSD-3-Clause"
] | 10 | 2020-04-21T17:49:22.000Z | 2022-01-28T23:20:57.000Z | class InvalidUsageError(Exception):
def __init__(self, message: str):
super(InvalidUsageError, self).__init__(message)
| 32.75 | 56 | 0.740458 | 13 | 131 | 6.846154 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152672 | 131 | 3 | 57 | 43.666667 | 0.801802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
584b8f15d36c74dfc1e5aaad6a4b87534330b248 | 313 | py | Python | cleansio/audio/accuracy.py | PatrickDuncan/cleansio | eb2be14d486cc14b32ceb7bd3f87dfb1f08417fa | [
"MIT"
] | 13 | 2018-10-12T17:04:06.000Z | 2022-01-13T06:53:21.000Z | cleansio/audio/accuracy.py | PatrickDuncan/cleansio | eb2be14d486cc14b32ceb7bd3f87dfb1f08417fa | [
"MIT"
] | 81 | 2018-10-07T02:27:24.000Z | 2019-04-27T04:44:05.000Z | cleansio/audio/accuracy.py | PatrickDuncan/cleansio | eb2be14d486cc14b32ceb7bd3f87dfb1f08417fa | [
"MIT"
] | 2 | 2019-05-28T14:59:01.000Z | 2020-03-02T18:34:12.000Z | """ Functions which preprocess an audio chunk to improve the accuracy of speech
recognition. """
def __maximize_volume(chunk):
return chunk - chunk.max_dBFS
def improve_accuracy(chunk):
""" Filter chunk through various functions to improve speech recognition """
return __maximize_volume(chunk)
| 31.3 | 80 | 0.753994 | 39 | 313 | 5.846154 | 0.564103 | 0.078947 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172524 | 313 | 9 | 81 | 34.777778 | 0.880309 | 0.504792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5861f2bc94c4b78272cc7bf87fbe8e506f0c2607 | 342 | py | Python | tests/user/test_init.py | constructpm/pysyncgateway | 653db702b2f872e18fa15ab41920276ffc07aa45 | [
"Apache-2.0"
] | 2 | 2018-04-04T17:13:25.000Z | 2018-07-21T13:30:42.000Z | tests/user/test_init.py | constructpm/pysyncgateway | 653db702b2f872e18fa15ab41920276ffc07aa45 | [
"Apache-2.0"
] | 14 | 2018-03-22T11:35:28.000Z | 2021-11-12T17:46:54.000Z | tests/user/test_init.py | constructpm/pysyncgateway | 653db702b2f872e18fa15ab41920276ffc07aa45 | [
"Apache-2.0"
] | 1 | 2018-06-15T13:37:00.000Z | 2018-06-15T13:37:00.000Z | from pysyncgateway import User
def test(database):
result = User(database, 'test-user')
assert result.database == database
assert result.name == 'test-user'
assert result.password is None
assert result.retrieved is False
assert result.url.startswith(database.url)
assert result.url.endswit... | 26.307692 | 50 | 0.719298 | 44 | 342 | 5.568182 | 0.409091 | 0.293878 | 0.114286 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178363 | 342 | 12 | 51 | 28.5 | 0.871886 | 0 | 0 | 0 | 0 | 0 | 0.099415 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.111111 | false | 0.111111 | 0.111111 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
587494b0d69b4b99e2bf83cb8951658077a145b3 | 172 | py | Python | src/schedules/models.py | Talengi/phase | 60ff6f37778971ae356c5b2b20e0d174a8288bfe | [
"MIT"
] | 8 | 2016-01-29T11:53:40.000Z | 2020-03-02T22:42:02.000Z | src/schedules/models.py | Talengi/phase | 60ff6f37778971ae356c5b2b20e0d174a8288bfe | [
"MIT"
] | 289 | 2015-03-23T07:42:52.000Z | 2022-03-11T23:26:10.000Z | src/schedules/models.py | Talengi/phase | 60ff6f37778971ae356c5b2b20e0d174a8288bfe | [
"MIT"
] | 7 | 2015-12-08T09:03:20.000Z | 2020-05-11T15:36:51.000Z | class ScheduleMixin(object):
"""Add behavior of a document with a "Schedule" section.
This is use to filter document classes in signal handling.
"""
pass
| 21.5 | 62 | 0.686047 | 23 | 172 | 5.130435 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238372 | 172 | 7 | 63 | 24.571429 | 0.900763 | 0.656977 | 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 |
5880e260f918aec74451196c8952aca9ba320c27 | 41 | py | Python | __init__.py | mracine/emote | 075069715ab510540e25148d049bcb1b279f3730 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | mracine/emote | 075069715ab510540e25148d049bcb1b279f3730 | [
"BSD-3-Clause"
] | 4 | 2016-10-25T15:01:38.000Z | 2017-10-03T23:32:51.000Z | __init__.py | mracine/emote | 075069715ab510540e25148d049bcb1b279f3730 | [
"BSD-3-Clause"
] | 1 | 2018-10-18T23:20:30.000Z | 2018-10-18T23:20:30.000Z | from .emote import Emote
Default = Emote
| 13.666667 | 24 | 0.780488 | 6 | 41 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 2 | 25 | 20.5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
544675f76bd6c5771f3e3d8359bfe27b7f76bfaa | 62 | py | Python | h2o-py/tests/testdir_generic_model/__init__.py | ahmedengu/h2o-3 | ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11 | [
"Apache-2.0"
] | 6,098 | 2015-05-22T02:46:12.000Z | 2022-03-31T16:54:51.000Z | h2o-py/tests/testdir_generic_model/__init__.py | ahmedengu/h2o-3 | ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11 | [
"Apache-2.0"
] | 2,517 | 2015-05-23T02:10:54.000Z | 2022-03-30T17:03:39.000Z | h2o-py/tests/testdir_generic_model/__init__.py | ahmedengu/h2o-3 | ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11 | [
"Apache-2.0"
] | 2,199 | 2015-05-22T04:09:55.000Z | 2022-03-28T22:20:45.000Z | from .common import compare_output, Capturing, compare_params
| 31 | 61 | 0.854839 | 8 | 62 | 6.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 62 | 1 | 62 | 62 | 0.910714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5468aea59cd52b1d7a0cf8ee98ca8583575623a1 | 62 | py | Python | tests/__init__.py | verginer/disamby | b8b91ed915fa312ad34e803924d5c2d0c314f579 | [
"MIT"
] | 18 | 2017-11-21T21:11:15.000Z | 2021-05-09T06:58:11.000Z | tests/__init__.py | verginer/disamby | b8b91ed915fa312ad34e803924d5c2d0c314f579 | [
"MIT"
] | 274 | 2017-07-28T21:30:06.000Z | 2020-05-27T14:02:11.000Z | tests/__init__.py | verginer/disamby | b8b91ed915fa312ad34e803924d5c2d0c314f579 | [
"MIT"
] | 1 | 2017-06-25T10:16:59.000Z | 2017-06-25T10:16:59.000Z | # -*- coding: utf-8 -*-
"""Unit test package for disamby."""
| 15.5 | 36 | 0.564516 | 8 | 62 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.177419 | 62 | 3 | 37 | 20.666667 | 0.666667 | 0.854839 | 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 |
54a167fac430a5b9e59b3d7e10b25abda6bdbdbc | 99 | py | Python | python/testData/refactoring/extractsuperclass/moveFields.before.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/extractsuperclass/moveFields.before.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/extractsuperclass/moveFields.before.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class FromClass(object):
CLASS_FIELD = 42
def __init__(self):
self.instance_field = 100500
| 19.8 | 32 | 0.727273 | 13 | 99 | 5.076923 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 0.181818 | 99 | 4 | 33 | 24.75 | 0.716049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
49b3c41a41b1a97dcd9e21f0876cb7d647b41149 | 1,798 | py | Python | takeCommand.py | RAVIKANT-YADAV/AI-based-Digital-Voice.-assistance | 426983996cab6794034d4d930e5cf621f38852a0 | [
"MIT"
] | null | null | null | takeCommand.py | RAVIKANT-YADAV/AI-based-Digital-Voice.-assistance | 426983996cab6794034d4d930e5cf621f38852a0 | [
"MIT"
] | null | null | null | takeCommand.py | RAVIKANT-YADAV/AI-based-Digital-Voice.-assistance | 426983996cab6794034d4d930e5cf621f38852a0 | [
"MIT"
] | null | null | null | import speech_recognition as sr
import speak_Function as sf
#import check_exetion_time as check_time
#import numba
def TakeCommand():
r = sr.Recognizer()
with sr.Microphone() as source:
print("\nListening....")
r.pause_threshold = 0.5
r.phrase_threshold = 0.2 # minimum seco... | 33.924528 | 185 | 0.589544 | 225 | 1,798 | 4.604444 | 0.395556 | 0.03861 | 0.025097 | 0.032819 | 0.747104 | 0.747104 | 0.747104 | 0.747104 | 0.681467 | 0.681467 | 0 | 0.010375 | 0.303115 | 1,798 | 53 | 186 | 33.924528 | 0.816441 | 0.194661 | 0 | 0.634146 | 0 | 0 | 0.202441 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.04878 | 0 | 0.195122 | 0.243902 | 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 |
49c927e3067268fd168dd9edf799351fc778c933 | 102 | py | Python | python_experiments/data_analysis/figures_icde19/play/common.py | mexuaz/AccTrussDecomposition | 15a9e8fd2f123f5acace5f3b40b94f1a74eb17d4 | [
"MIT"
] | 9 | 2020-03-30T13:00:15.000Z | 2022-03-17T13:40:17.000Z | python_experiments/data_analysis/figures_icde19/play/common.py | mexuaz/AccTrussDecomposition | 15a9e8fd2f123f5acace5f3b40b94f1a74eb17d4 | [
"MIT"
] | null | null | null | python_experiments/data_analysis/figures_icde19/play/common.py | mexuaz/AccTrussDecomposition | 15a9e8fd2f123f5acace5f3b40b94f1a74eb17d4 | [
"MIT"
] | 2 | 2020-08-17T10:05:51.000Z | 2020-08-30T22:57:55.000Z | import os
os.system('mkdir -p varying_parameters')
varying_parameter_json_dir = 'varying_parameters'
| 20.4 | 49 | 0.823529 | 14 | 102 | 5.642857 | 0.714286 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 102 | 4 | 50 | 25.5 | 0.849462 | 0 | 0 | 0 | 0 | 0 | 0.441176 | 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 |
49e734af4a9bb84f3bf60164384d916018e67c4d | 507 | py | Python | web/rest_api/views/tracking_log.py | shawnyang610/project-onesteward | 4165379adb9caa7253070251dda85fe96e527642 | [
"MIT"
] | null | null | null | web/rest_api/views/tracking_log.py | shawnyang610/project-onesteward | 4165379adb9caa7253070251dda85fe96e527642 | [
"MIT"
] | null | null | null | web/rest_api/views/tracking_log.py | shawnyang610/project-onesteward | 4165379adb9caa7253070251dda85fe96e527642 | [
"MIT"
] | null | null | null | from flask import Blueprint, render_template
trk_log_bp = Blueprint("tracking_log", __name__)
@trk_log_bp.route("/new")
def tracking_log_new():
return render_template("tracking_log.html")
@trk_log_bp.route("/info")
def tracking_log_info():
return render_template("tracking_log.html")
@trk_log_bp.route("/up... | 23.045455 | 48 | 0.765286 | 73 | 507 | 4.876712 | 0.260274 | 0.27809 | 0.11236 | 0.146067 | 0.502809 | 0.502809 | 0.404494 | 0.404494 | 0.404494 | 0.404494 | 0 | 0 | 0.102564 | 507 | 22 | 49 | 23.045455 | 0.782418 | 0 | 0 | 0.285714 | 0 | 0 | 0.202756 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.285714 | 0.642857 | 0.142857 | 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 |
49f2256eaba61382937c59b86436d6d26d5278bb | 66 | py | Python | makahiki/apps/widgets/help/faq/__init__.py | justinslee/Wai-Not-Makahiki | 4b7dd685012ec64758affe0ecee3103596d16aa7 | [
"MIT"
] | 1 | 2015-07-22T11:31:20.000Z | 2015-07-22T11:31:20.000Z | makahiki/apps/widgets/help/faq/__init__.py | justinslee/Wai-Not-Makahiki | 4b7dd685012ec64758affe0ecee3103596d16aa7 | [
"MIT"
] | null | null | null | makahiki/apps/widgets/help/faq/__init__.py | justinslee/Wai-Not-Makahiki | 4b7dd685012ec64758affe0ecee3103596d16aa7 | [
"MIT"
] | null | null | null | """Implements the widget providing the FAQ for this challenge."""
| 33 | 65 | 0.757576 | 9 | 66 | 5.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 66 | 1 | 66 | 66 | 0.877193 | 0.893939 | 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 |
b7003d99e44f228f08953488232699a37aa0fe98 | 968 | py | Python | src/objects/LIDAR.py | remi2257/little-car-ai | 006f2f515d46dd9e94457c191f017a9f3d749fa8 | [
"MIT"
] | 2 | 2020-11-07T15:29:42.000Z | 2022-01-18T08:59:00.000Z | src/objects/LIDAR.py | remi2257/little-car-ai | 006f2f515d46dd9e94457c191f017a9f3d749fa8 | [
"MIT"
] | null | null | null | src/objects/LIDAR.py | remi2257/little-car-ai | 006f2f515d46dd9e94457c191f017a9f3d749fa8 | [
"MIT"
] | null | null | null | import numpy as np
from src.const import width_grid_LIDAR, height_grid_LIDAR
class LIDAR:
def __init__(self):
self._road_mat = np.zeros((height_grid_LIDAR, width_grid_LIDAR), dtype=object)
self._filtered_mat = np.zeros((height_grid_LIDAR, width_grid_LIDAR), dtype=bool)
self._true_pos_mat =... | 32.266667 | 90 | 0.686983 | 150 | 968 | 4.073333 | 0.326667 | 0.11784 | 0.040917 | 0.07856 | 0.315876 | 0.260229 | 0.207856 | 0.207856 | 0.207856 | 0.144026 | 0 | 0.001311 | 0.211777 | 968 | 29 | 91 | 33.37931 | 0.799476 | 0.066116 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 1 | 0.285714 | false | 0 | 0.095238 | 0.190476 | 0.619048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b704224be0bffe77aeb4eefbe4714dae305d5573 | 71 | py | Python | neuralnetwork/Layers/__init__.py | prateekbhat91/Neural-Network | 1bbda82027bf7227a7dbec2062deb43ac03de13f | [
"BSD-3-Clause"
] | 6 | 2016-11-23T03:01:42.000Z | 2019-04-05T14:58:08.000Z | neuralnetwork/Layers/__init__.py | prateekbhat91/Neural-Network | 1bbda82027bf7227a7dbec2062deb43ac03de13f | [
"BSD-3-Clause"
] | 1 | 2021-11-14T09:00:33.000Z | 2021-11-14T09:09:34.000Z | neuralnetwork/Layers/__init__.py | prateekbhat91/Neural-Network | 1bbda82027bf7227a7dbec2062deb43ac03de13f | [
"BSD-3-Clause"
] | 3 | 2016-11-06T23:54:47.000Z | 2021-05-22T16:17:24.000Z | from layers import Sigmoid_Layer,Tanh_Layer, ReLU_Layer,LeakyReLU_Layer | 71 | 71 | 0.901408 | 11 | 71 | 5.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 71 | 1 | 71 | 71 | 0.895522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b71839a05c464025c715310ac9a000df17ad5094 | 141,076 | py | Python | examples_obsolete/dataflow_fft4/test_dataflow_fft4.py | akmaru/veriloggen | 74f998139e8cf613f7703fa4cffd571bbf069bbc | [
"Apache-2.0"
] | 232 | 2015-09-01T16:07:48.000Z | 2022-03-28T14:53:28.000Z | examples_obsolete/dataflow_fft4/test_dataflow_fft4.py | akmaru/veriloggen | 74f998139e8cf613f7703fa4cffd571bbf069bbc | [
"Apache-2.0"
] | 34 | 2015-08-21T09:13:03.000Z | 2022-03-21T23:52:44.000Z | examples_obsolete/dataflow_fft4/test_dataflow_fft4.py | akmaru/veriloggen | 74f998139e8cf613f7703fa4cffd571bbf069bbc | [
"Apache-2.0"
] | 46 | 2015-09-24T14:39:57.000Z | 2022-02-23T21:59:56.000Z | from __future__ import absolute_import
from __future__ import print_function
import veriloggen
import dataflow_fft4
expected_verilog = """
module test
(
);
reg CLK;
reg RST;
reg signed [16-1:0] din0re;
reg signed [16-1:0] din0im;
reg signed [16-1:0] din1re;
reg signed [16-1:0] din1im;
reg signed [16-1... | 35.145989 | 267 | 0.720803 | 20,187 | 141,076 | 4.297469 | 0.011839 | 0.216085 | 0.142335 | 0.039837 | 0.833954 | 0.682466 | 0.617627 | 0.594366 | 0.464434 | 0.442486 | 0 | 0.088152 | 0.199509 | 141,076 | 4,013 | 268 | 35.154747 | 0.68005 | 0 | 0 | 0.502973 | 0 | 0.004595 | 0.995917 | 0.522428 | 0 | 0 | 0 | 0 | 0.00027 | 1 | 0.00027 | false | 0 | 0.001622 | 0 | 0.001892 | 0.00027 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b71bc1c9af2b54235132638bd6911ee840c69824 | 136 | py | Python | problemtools/run/errors.py | Tyilo/problemtools | 307bcbf2c90e75db6513ee6e4daa41590d988906 | [
"MIT"
] | 84 | 2015-03-25T19:13:38.000Z | 2022-03-20T18:19:01.000Z | problemtools/run/errors.py | godmar/problemtools | 4e2b2d7797d8f15e5536a9d2b35d251476bef79c | [
"MIT"
] | 151 | 2015-03-29T18:28:28.000Z | 2021-12-10T21:35:04.000Z | problemtools/run/errors.py | godmar/problemtools | 4e2b2d7797d8f15e5536a9d2b35d251476bef79c | [
"MIT"
] | 60 | 2015-01-20T21:50:46.000Z | 2022-03-27T10:00:07.000Z | """
Error handling.
"""
class ProgramError(Exception):
"""Base exception class for errors within the run package.
"""
pass
| 15.111111 | 62 | 0.654412 | 15 | 136 | 5.933333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220588 | 136 | 8 | 63 | 17 | 0.839623 | 0.558824 | 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 |
b730fbfd823d025beb7c3fee3b4b41b8ce3c2e28 | 762 | py | Python | igloo/models/__init__.py | IglooCloud/igloo-python | a1a72db136309dcc85bd0f1bdb6579eb55665855 | [
"MIT"
] | 1 | 2020-10-22T17:25:49.000Z | 2020-10-22T17:25:49.000Z | igloo/models/__init__.py | IglooCloud/igloo-python | a1a72db136309dcc85bd0f1bdb6579eb55665855 | [
"MIT"
] | null | null | null | igloo/models/__init__.py | IglooCloud/igloo-python | a1a72db136309dcc85bd0f1bdb6579eb55665855 | [
"MIT"
] | null | null | null | from igloo.models.user import User
from igloo.models.access_token import AccessToken
from igloo.models.pending_share import PendingShare
from igloo.models.collection import Collection
from igloo.models.thing import Thing
from igloo.models.float_variable import FloatVariable
from igloo.models.pending_transfer import Pen... | 50.8 | 72 | 0.889764 | 98 | 762 | 6.77551 | 0.306122 | 0.189759 | 0.316265 | 0.090361 | 0.165663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073491 | 762 | 14 | 73 | 54.428571 | 0.94051 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b7347ff945ec2242d656be9850bb001ac5ec0a57 | 237 | py | Python | ProjectApplication/project_core/templatetags/in_management.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | 5 | 2020-07-29T10:00:11.000Z | 2022-02-19T11:00:34.000Z | ProjectApplication/project_core/templatetags/in_management.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | 471 | 2019-09-20T14:37:28.000Z | 2022-03-25T14:16:34.000Z | ProjectApplication/project_core/templatetags/in_management.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | 5 | 2020-03-15T12:42:47.000Z | 2022-02-15T18:06:52.000Z | from django import template
register = template.Library()
from django.conf import settings
@register.filter(name='in_management')
def in_management(request):
return request and request.path.startswith(settings.LOGIN_REDIRECT_URL)
| 23.7 | 75 | 0.810127 | 31 | 237 | 6.064516 | 0.677419 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105485 | 237 | 9 | 76 | 26.333333 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0.054852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
b73b83fe892f0e3d3685e44c3a4cd989ee60b319 | 151 | py | Python | winontop-runner.py | swordysrepo/winontop | 0033e450a529877cd0bb1aedc48236123f0f1233 | [
"MIT"
] | 15 | 2016-10-26T09:10:48.000Z | 2022-02-07T13:33:14.000Z | winontop-runner.py | swordysrepo/winontop | 0033e450a529877cd0bb1aedc48236123f0f1233 | [
"MIT"
] | 1 | 2021-09-10T11:37:24.000Z | 2021-09-10T11:37:24.000Z | winontop-runner.py | swordysrepo/winontop | 0033e450a529877cd0bb1aedc48236123f0f1233 | [
"MIT"
] | 4 | 2016-09-25T13:35:45.000Z | 2021-05-29T10:32:26.000Z | """Convenience wrapper for running winontop directly from source tree."""
from winontop.winontop import main
if __name__ == '__main__':
main()
| 16.777778 | 73 | 0.728477 | 18 | 151 | 5.666667 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172185 | 151 | 8 | 74 | 18.875 | 0.816 | 0.443709 | 0 | 0 | 0 | 0 | 0.102564 | 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 |
b7449bc97b2a2a315125b4cc982c49aed745b322 | 269 | py | Python | pi/tcp/config.py | maxschwe/PiCar | 81d83cd0f8a32d4c0faf8c36a13e09da732244d3 | [
"MIT"
] | null | null | null | pi/tcp/config.py | maxschwe/PiCar | 81d83cd0f8a32d4c0faf8c36a13e09da732244d3 | [
"MIT"
] | null | null | null | pi/tcp/config.py | maxschwe/PiCar | 81d83cd0f8a32d4c0faf8c36a13e09da732244d3 | [
"MIT"
] | null | null | null | class Config:
# ==================================================================
# SERVER configuration
# ==================================================================
SERVER = ""
PORT = 4000, 10
ENCODING = "utf-8"
MSG_LENGTH = 1024
| 26.9 | 72 | 0.267658 | 14 | 269 | 5.071429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050459 | 0.189591 | 269 | 9 | 73 | 29.888889 | 0.275229 | 0.572491 | 0 | 0 | 0 | 0 | 0.045045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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.