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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c95357bcd8db8b33b7e75eb98c8dffd8c5022725 | 1,188 | py | Python | src/responsibility/normalization.py | pik-gane/pyresponsibility | e0f43be1a9712754832bb97b3797851cdb24842d | [
"BSD-2-Clause"
] | null | null | null | src/responsibility/normalization.py | pik-gane/pyresponsibility | e0f43be1a9712754832bb97b3797851cdb24842d | [
"BSD-2-Clause"
] | null | null | null | src/responsibility/normalization.py | pik-gane/pyresponsibility | e0f43be1a9712754832bb97b3797851cdb24842d | [
"BSD-2-Clause"
] | null | null | null | # TODO: functions for normalizing trees by uniting nodes and exchanging the order of nodes
"""
Normalization rules:
====================
Draw a possibility node Y with k successors Z1...Zk towards the root:
---------------------------------------------------------------------
- PoN_X––Y ==> PoN_XY (cartesian product)... | 45.692308 | 121 | 0.540404 | 193 | 1,188 | 3.321244 | 0.367876 | 0.037442 | 0.037442 | 0.032761 | 0.143526 | 0.127925 | 0 | 0 | 0 | 0 | 0 | 0.007759 | 0.132155 | 1,188 | 26 | 122 | 45.692308 | 0.590689 | 0.989057 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.038462 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c966611af6a59263b70d53e8fd0eb2377975f402 | 14,856 | py | Python | etl/parsers/etw/Microsoft_Windows_CAPI2.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_CAPI2.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_CAPI2.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-CAPI2
GUID : 5bbca4a8-b209-48dc-a8c7-b23d3e5216fb
"""
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.parse... | 26.481283 | 123 | 0.680735 | 1,873 | 14,856 | 5.207154 | 0.071543 | 0.119758 | 0.157182 | 0.149698 | 0.92146 | 0.92146 | 0.657234 | 0.657234 | 0.657234 | 0.657234 | 0 | 0.165431 | 0.182553 | 14,856 | 560 | 124 | 26.528571 | 0.637681 | 0.006058 | 0 | 0.439024 | 0 | 0 | 0.218269 | 0.175645 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009756 | 0 | 0.360976 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c96905d7bffccb57f8a93a505a5d1d3b9ccb8b1c | 767 | py | Python | cm_custom/config/stock.py | libermatic/cm_custom | e05d17713bb10360bd33f24bbed45d43e3aea7cf | [
"MIT"
] | 1 | 2022-01-10T12:36:17.000Z | 2022-01-10T12:36:17.000Z | cm_custom/config/stock.py | libermatic/cm_custom | e05d17713bb10360bd33f24bbed45d43e3aea7cf | [
"MIT"
] | null | null | null | cm_custom/config/stock.py | libermatic/cm_custom | e05d17713bb10360bd33f24bbed45d43e3aea7cf | [
"MIT"
] | 1 | 2022-01-10T12:36:18.000Z | 2022-01-10T12:36:18.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"label": _("Stock Reports"),
"items": [
{
"type": "report",
"is_query_report": True,
"name": "... | 24.741935 | 69 | 0.350717 | 51 | 767 | 5.019608 | 0.647059 | 0.09375 | 0.125 | 0.171875 | 0.335938 | 0.335938 | 0.335938 | 0.335938 | 0.335938 | 0 | 0 | 0.002717 | 0.520209 | 767 | 30 | 70 | 25.566667 | 0.692935 | 0.027379 | 0 | 0.296296 | 0 | 0 | 0.254032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | true | 0 | 0.074074 | 0.037037 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c974871939ecc635d8f240974f6fb0421ee066f7 | 98 | py | Python | etcd_settings/__init__.py | genisysram/django-etcd-settings | 749fb23728348f580fa44039e9b7976675ba7daa | [
"Apache-2.0"
] | 38 | 2015-12-02T09:17:59.000Z | 2022-02-09T21:27:36.000Z | etcd_settings/__init__.py | genisysram/django-etcd-settings | 749fb23728348f580fa44039e9b7976675ba7daa | [
"Apache-2.0"
] | 23 | 2015-12-14T17:32:12.000Z | 2017-10-03T09:55:58.000Z | etcd_settings/__init__.py | genisysram/django-etcd-settings | 749fb23728348f580fa44039e9b7976675ba7daa | [
"Apache-2.0"
] | 17 | 2015-12-07T08:29:47.000Z | 2020-11-10T08:54:28.000Z | from .proxy import proxy
settings = proxy
default_app_config = 'etcd_settings.apps.EtcdMonitor'
| 16.333333 | 53 | 0.806122 | 13 | 98 | 5.846154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 5 | 54 | 19.6 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0.306122 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a32b816043ba5c9f216ce464f2cd0d4733dad5a4 | 2,387 | py | Python | tests/test_todo_operations_on_filter_all.py | Vgryadushkin/Full_setup_tests_todomvc | 1e95f4e8fc38bd1f9c59a3ccc9407c5efbf32a4c | [
"MIT"
] | 1 | 2021-03-08T15:36:55.000Z | 2021-03-08T15:36:55.000Z | tests/test_todo_operations_on_filter_all.py | Vgryadushkin/Full_setup_tests_todomvc | 1e95f4e8fc38bd1f9c59a3ccc9407c5efbf32a4c | [
"MIT"
] | null | null | null | tests/test_todo_operations_on_filter_all.py | Vgryadushkin/Full_setup_tests_todomvc | 1e95f4e8fc38bd1f9c59a3ccc9407c5efbf32a4c | [
"MIT"
] | null | null | null | # import pytest
# from Full_setup_tests_todomvc.helpers.allure.gherkin import when, given, then
# from Full_setup_tests_todomvc.helpers.pytest.skip import pending
from full_setup_tests_todomvc.model import todos
def test_add_first_todo():
todos.open()
todos.should_be_empty()
todos.add('a')
todos.sh... | 19.25 | 79 | 0.646837 | 368 | 2,387 | 3.888587 | 0.149457 | 0.222921 | 0.263452 | 0.083857 | 0.743536 | 0.644305 | 0.530398 | 0.513627 | 0.412998 | 0.329839 | 0 | 0.005612 | 0.178886 | 2,387 | 123 | 80 | 19.406504 | 0.72449 | 0.065354 | 0 | 0.514286 | 0 | 0 | 0.052986 | 0 | 0 | 0 | 0 | 0.00813 | 0 | 1 | 0.171429 | true | 0 | 0.014286 | 0 | 0.185714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a3345c754fc8d3f7b2bd7437c2239139b6d8e63a | 436 | py | Python | src/items/helpers/categories.py | bonetou/GildedRose-Refactoring-Kata | 564e9d41f9233e60412d550bcef4ba18b4a2ace8 | [
"MIT"
] | null | null | null | src/items/helpers/categories.py | bonetou/GildedRose-Refactoring-Kata | 564e9d41f9233e60412d550bcef4ba18b4a2ace8 | [
"MIT"
] | null | null | null | src/items/helpers/categories.py | bonetou/GildedRose-Refactoring-Kata | 564e9d41f9233e60412d550bcef4ba18b4a2ace8 | [
"MIT"
] | 1 | 2021-08-15T17:00:48.000Z | 2021-08-15T17:00:48.000Z | from enum import Enum
from src.items.aged_brie import AgedBrieItem
from src.items.backstage_passes import BackstagePassesItem
from src.items.conjured import ConjuredItem
from src.items.legendary import LegendaryItem
from src.items.normal import NormalItem
class Categories(Enum):
normal = NormalItem
aged_brie ... | 29.066667 | 58 | 0.81422 | 51 | 436 | 6.882353 | 0.372549 | 0.099715 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144495 | 436 | 14 | 59 | 31.142857 | 0.941019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
a3462d5c04de680a7a95e3755dcc5ab7540abd9d | 833 | py | Python | omtk/core/utils.py | renaudll/omtk | a7740d53a5587529773594bfd7c37e553787028f | [
"MIT"
] | 20 | 2015-09-30T16:07:02.000Z | 2022-03-12T06:57:59.000Z | omtk/core/utils.py | nilouco/omtk | a7740d53a5587529773594bfd7c37e553787028f | [
"MIT"
] | 23 | 2015-12-22T15:41:02.000Z | 2018-04-13T02:52:41.000Z | omtk/core/utils.py | nilouco/omtk | a7740d53a5587529773594bfd7c37e553787028f | [
"MIT"
] | 13 | 2015-07-10T16:06:26.000Z | 2021-08-21T20:09:41.000Z | import functools
class decorator_uiexpose(object):
"""
Use this decorator to expose instance method to the GUI.
"""
def __init__(self, flags=None):
if flags is None:
flags = []
self.flags = flags
def __call__(self, fn, *args, **kwargs):
def wrapped_f(*args, **kwa... | 32.038462 | 63 | 0.59904 | 102 | 833 | 4.421569 | 0.421569 | 0.077605 | 0.093126 | 0.062084 | 0.079823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301321 | 833 | 26 | 64 | 32.038462 | 0.774914 | 0.17407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 1 | 0.263158 | false | 0 | 0.052632 | 0.052632 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a3515fa0d8319930dd3aab568d4e0d8819994223 | 337 | py | Python | mysite/drinks/urls.py | Lee-Geon-Yeong/py_pro | 309e711992f9b8aaf41d0f18f3920c3b31533b9c | [
"MIT"
] | null | null | null | mysite/drinks/urls.py | Lee-Geon-Yeong/py_pro | 309e711992f9b8aaf41d0f18f3920c3b31533b9c | [
"MIT"
] | null | null | null | mysite/drinks/urls.py | Lee-Geon-Yeong/py_pro | 309e711992f9b8aaf41d0f18f3920c3b31533b9c | [
"MIT"
] | null | null | null | from django.urls import path
from drinks.views import list_filter_view,brand_detail_view, drink_detail_view
app_name='drinks'
urlpatterns = [
path('', list_filter_view, name='list_view'),
path('brand/<str:brand_name>/', brand_detail_view,name='brand_detail_view'),
path('<int:pk>/', drink_detail_view, name... | 33.7 | 80 | 0.753709 | 50 | 337 | 4.72 | 0.38 | 0.254237 | 0.190678 | 0.161017 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103858 | 337 | 10 | 81 | 33.7 | 0.781457 | 0 | 0 | 0 | 0 | 0 | 0.221893 | 0.068047 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6e620c9659c78cb9685439cd8475287b4a3d50e8 | 533 | py | Python | mbs/utils/database/postgresql.py | thep0y/mbs | d525375cf3b3824355d2cd9574baf135cc7f7443 | [
"MIT"
] | 1 | 2021-06-22T09:22:15.000Z | 2021-06-22T09:22:15.000Z | mbs/utils/database/postgresql.py | thep0y/mbs | d525375cf3b3824355d2cd9574baf135cc7f7443 | [
"MIT"
] | null | null | null | mbs/utils/database/postgresql.py | thep0y/mbs | d525375cf3b3824355d2cd9574baf135cc7f7443 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author: thepoy
# @Email: thepoy@163.com
# @File Name: postgresql.py
# @Created: 2021-04-07 09:00:26
# @Modified: 2021-07-05 09:41:56
import psycopg2
from psycopg2.extensions import connection, cursor
from mbs.utils.database import Database
class Postgre... | 24.227273 | 54 | 0.65666 | 71 | 533 | 4.84507 | 0.661972 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.212008 | 533 | 21 | 55 | 25.380952 | 0.735714 | 0.315197 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 3 |
6e68c1ddb017d6e53f8f8453428e4bab7c029df9 | 252 | py | Python | step_02.py | shadowsmain/200907_lesson | 66d76fcd97ba31b72091f1d2ff85e5790305ae8a | [
"MIT"
] | 2 | 2020-09-07T05:26:50.000Z | 2020-09-07T05:28:38.000Z | step_02.py | shadowsmain/200907_lesson | 66d76fcd97ba31b72091f1d2ff85e5790305ae8a | [
"MIT"
] | null | null | null | step_02.py | shadowsmain/200907_lesson | 66d76fcd97ba31b72091f1d2ff85e5790305ae8a | [
"MIT"
] | null | null | null | import
import requests
print(random.random())
response = requests.get('https://yan.ru')
print(response)
print(response.content)
# faces_marks = face_recognition.face_encodings()
#dependencies:
#requests
#pillow
#numpy
#pip freeze+ 3 библиотеки | 12 | 49 | 0.757937 | 31 | 252 | 6.064516 | 0.709677 | 0.138298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004484 | 0.115079 | 252 | 21 | 50 | 12 | 0.838565 | 0.40873 | 0 | 0 | 0 | 0 | 0.097902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
6e717a419be8a7ae685670772cafee3103131398 | 132 | py | Python | billing/urls.py | ahmed-belhadj/seek-geek | 93b00f9a50a2be3406e9c3df4c2bd9487850f2b9 | [
"MIT"
] | null | null | null | billing/urls.py | ahmed-belhadj/seek-geek | 93b00f9a50a2be3406e9c3df4c2bd9487850f2b9 | [
"MIT"
] | 1 | 2019-02-11T00:23:17.000Z | 2019-02-11T00:23:17.000Z | billing/urls.py | ahmed-belhadj/seek-geek | 93b00f9a50a2be3406e9c3df4c2bd9487850f2b9 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
# Billing
path('charge/', views.charge, name='charge')
]
| 14.666667 | 48 | 0.666667 | 16 | 132 | 5.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 132 | 8 | 49 | 16.5 | 0.838095 | 0.05303 | 0 | 0 | 0 | 0 | 0.105691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6e75e641e9dc9fa2bcf84f5d1ede2fe5bfdb82a3 | 284 | py | Python | schedule_convert/importers/__init__.py | voc/schedule-convert | 54100d7aef4c99b8d52ebffbe66987e98751a041 | [
"MIT"
] | 3 | 2019-08-22T14:42:11.000Z | 2022-03-27T22:00:23.000Z | schedule_convert/importers/__init__.py | voc/schedule-convert | 54100d7aef4c99b8d52ebffbe66987e98751a041 | [
"MIT"
] | 18 | 2019-08-22T10:09:46.000Z | 2022-01-02T11:34:12.000Z | schedule_convert/importers/__init__.py | voc/schedule-convert | 54100d7aef4c99b8d52ebffbe66987e98751a041 | [
"MIT"
] | 2 | 2021-12-04T22:43:09.000Z | 2022-02-15T23:15:28.000Z | from .frab_xml import FrabXmlImporter
from .sessionize_json import SessionizeJsonImporter
from .conf_data import ConferenceDataImporter
from .csv import CSVImporter
importers = [
FrabXmlImporter(),
SessionizeJsonImporter(),
ConferenceDataImporter(),
CSVImporter(),
]
| 23.666667 | 51 | 0.788732 | 24 | 284 | 9.208333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144366 | 284 | 11 | 52 | 25.818182 | 0.909465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.9 | 0 | 0.9 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6e8c1e968b623eb489be4e5eda751f8c7c573e85 | 420 | py | Python | analyzer/utils/AnalysisCommand.py | FreekDS/git-ci-analyzer | 33e179ea2e569a9df3aefee40b96e5ff6d70da1f | [
"MIT"
] | 1 | 2022-01-16T16:18:59.000Z | 2022-01-16T16:18:59.000Z | analyzer/utils/AnalysisCommand.py | FreekDS/git-ci-analyzer | 33e179ea2e569a9df3aefee40b96e5ff6d70da1f | [
"MIT"
] | null | null | null | analyzer/utils/AnalysisCommand.py | FreekDS/git-ci-analyzer | 33e179ea2e569a9df3aefee40b96e5ff6d70da1f | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from analyzer.utils.Command import Command
from analyzer.Builds import Build
from typing import List, Dict, Any
class AnalysisCommand(Command, ABC):
@abstractmethod
def __init__(self, builds: List[Build], analysis_name):
self.builds: List[Build] = builds
s... | 23.333333 | 59 | 0.709524 | 52 | 420 | 5.615385 | 0.442308 | 0.116438 | 0.09589 | 0.130137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207143 | 420 | 17 | 60 | 24.705882 | 0.876877 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.083333 | 0.333333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
6ea9f8ca62a964f0bc82f196890ea6ccc6f627db | 172 | py | Python | Ex034.py | JeanPauloGarcia/Python-Exercicios | faff4670806c423680ee00a88d3c4c49b437e72e | [
"MIT"
] | null | null | null | Ex034.py | JeanPauloGarcia/Python-Exercicios | faff4670806c423680ee00a88d3c4c49b437e72e | [
"MIT"
] | null | null | null | Ex034.py | JeanPauloGarcia/Python-Exercicios | faff4670806c423680ee00a88d3c4c49b437e72e | [
"MIT"
] | null | null | null | sal = float(input('Digite o salário: R$ '))
if sal >= 1250.00:
print('Seu aumento foi de: R$', (sal*0.1)+sal)
else:
print('Seu aumento foi de: R$', (sal*0.15)+sal)
| 28.666667 | 51 | 0.593023 | 32 | 172 | 3.1875 | 0.59375 | 0.156863 | 0.294118 | 0.352941 | 0.490196 | 0.490196 | 0.490196 | 0.490196 | 0 | 0 | 0 | 0.078571 | 0.186047 | 172 | 5 | 52 | 34.4 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.377907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6ecef574722a080cc8195fa1bd459d815c48f538 | 3,974 | py | Python | skfem/element/discrete_field.py | topikuu/scikit-fem | 3b244831001604bed87e93e88495fba1d950161d | [
"BSD-3-Clause"
] | null | null | null | skfem/element/discrete_field.py | topikuu/scikit-fem | 3b244831001604bed87e93e88495fba1d950161d | [
"BSD-3-Clause"
] | null | null | null | skfem/element/discrete_field.py | topikuu/scikit-fem | 3b244831001604bed87e93e88495fba1d950161d | [
"BSD-3-Clause"
] | null | null | null | from typing import Optional
import numpy as np
from numpy import ndarray
from dataclasses import dataclass
@dataclass
class DiscreteFieldDimensions:
value: tuple
grad: Optional[tuple] = None
div: Optional[tuple] = None
curl: Optional[tuple] = None
hess: Optional[tuple] = None
grad3: Optional[... | 28.589928 | 105 | 0.599396 | 483 | 3,974 | 4.710145 | 0.20911 | 0.067253 | 0.079121 | 0.087912 | 0.284396 | 0.25978 | 0.25978 | 0.217582 | 0.217582 | 0.217582 | 0 | 0.004712 | 0.305737 | 3,974 | 138 | 106 | 28.797101 | 0.819862 | 0.042778 | 0 | 0.113208 | 0 | 0 | 0.010296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.207547 | false | 0 | 0.037736 | 0.103774 | 0.716981 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
42b72f2a189b15f040cc62363b57f30c01433ad7 | 1,370 | py | Python | test_zipcode_app.py | llrocha/tdc2021 | 4fc91bf3098c9160300314dc231d885b19f0908f | [
"MIT"
] | 4 | 2021-06-08T16:28:52.000Z | 2021-06-08T21:33:26.000Z | test_zipcode_app.py | llrocha/flisol21 | baf60c9efadfa74bb4a965e2cc7e0c6ff5481f40 | [
"MIT"
] | null | null | null | test_zipcode_app.py | llrocha/flisol21 | baf60c9efadfa74bb4a965e2cc7e0c6ff5481f40 | [
"MIT"
] | 1 | 2021-06-08T16:38:30.000Z | 2021-06-08T16:38:30.000Z | from fastapi import FastAPI
from fastapi.testclient import TestClient
from main import app
#app = ZipCodeApp()
# @app.get("/")
# async def read_main():
# return {"msg": "Hello World"}
client = TestClient(app)
def test_index():
response = client.get("/")
assert response.status_code == 200
assert ... | 29.782609 | 196 | 0.668613 | 165 | 1,370 | 5.436364 | 0.369697 | 0.187291 | 0.113712 | 0.160535 | 0.474916 | 0.336678 | 0.336678 | 0.336678 | 0.186176 | 0.12932 | 0 | 0.056288 | 0.170073 | 1,370 | 45 | 197 | 30.444444 | 0.73263 | 0.064964 | 0 | 0.214286 | 0 | 0.035714 | 0.270164 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.214286 | false | 0 | 0.107143 | 0 | 0.321429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
42bcd25bf78b267445ff77d8435fd7ed89c81d1e | 302 | py | Python | jd/api/rest/KplOpenCouponSearchSkuRequest.py | fengjinqi/linjuanbang | 8cdc4e81df73ccd737ac547da7f2c7dca545862a | [
"MIT"
] | 5 | 2019-10-30T01:16:30.000Z | 2020-06-14T03:32:19.000Z | jd/api/rest/KplOpenCouponSearchSkuRequest.py | fengjinqi/linjuanbang | 8cdc4e81df73ccd737ac547da7f2c7dca545862a | [
"MIT"
] | 2 | 2020-10-12T07:12:48.000Z | 2021-06-02T03:15:47.000Z | jd/api/rest/KplOpenCouponSearchSkuRequest.py | fengjinqi/linjuanbang | 8cdc4e81df73ccd737ac547da7f2c7dca545862a | [
"MIT"
] | 3 | 2019-12-06T17:33:49.000Z | 2021-03-01T13:24:22.000Z | from jd.api.base import RestApi
class KplOpenCouponSearchSkuRequest(RestApi):
def __init__(self,domain='gw.api.360buy.com',port=80):
RestApi.__init__(self,domain, port)
self.couponBatchId = None
self.pageParam = None
def getapiname(self):
return 'jd.kpl.open.coupon.search.sku'
| 17.764706 | 56 | 0.735099 | 40 | 302 | 5.35 | 0.675 | 0.074766 | 0.130841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01938 | 0.145695 | 302 | 16 | 57 | 18.875 | 0.810078 | 0 | 0 | 0 | 0 | 0 | 0.155405 | 0.097973 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
42e1a5e192dda4b269b46abf95f41116afcb2bbb | 345 | py | Python | __init__.py | trrichard/the-daily-times-skill | 6e99a2428436da8376f5e0bef1d5bd8a1fb8750e | [
"MIT"
] | null | null | null | __init__.py | trrichard/the-daily-times-skill | 6e99a2428436da8376f5e0bef1d5bd8a1fb8750e | [
"MIT"
] | null | null | null | __init__.py | trrichard/the-daily-times-skill | 6e99a2428436da8376f5e0bef1d5bd8a1fb8750e | [
"MIT"
] | null | null | null | from mycroft import MycroftSkill, intent_file_handler
class TheDailyTimes(MycroftSkill):
def __init__(self):
MycroftSkill.__init__(self)
@intent_file_handler('times.daily.the.intent')
def handle_times_daily_the(self, message):
self.speak_dialog('times.daily.the')
def create_skill():
... | 21.5625 | 53 | 0.736232 | 41 | 345 | 5.780488 | 0.536585 | 0.126582 | 0.164557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165217 | 345 | 15 | 54 | 23 | 0.822917 | 0 | 0 | 0 | 0 | 0 | 0.107558 | 0.063953 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
42f5f9745f0bc2bd147aaa0ad600b9646f35d661 | 497 | py | Python | core/m_constants.py | VasilyevEvgeny/self-focusing_3D | c90b4d78d2d72365566f8a49b325bd48127b1e44 | [
"MIT"
] | null | null | null | core/m_constants.py | VasilyevEvgeny/self-focusing_3D | c90b4d78d2d72365566f8a49b325bd48127b1e44 | [
"MIT"
] | null | null | null | core/m_constants.py | VasilyevEvgeny/self-focusing_3D | c90b4d78d2d72365566f8a49b325bd48127b1e44 | [
"MIT"
] | null | null | null | class MathConstants:
"""
Class with mathematical constants
"""
def __init__(self):
self.__h_bar = 1.054571800*10**-34 # constant bar, J * s
self.__c = 2.9979245799999954*10**8 # light speed in vacuum, m/s
self.__e = 1.602176620898*10**-19 # dielectric constant of vacuum, J/kg... | 22.590909 | 80 | 0.595573 | 67 | 497 | 4.134328 | 0.507463 | 0.043321 | 0.151625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145714 | 0.295775 | 497 | 21 | 81 | 23.666667 | 0.645714 | 0.235412 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.214286 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6e061e17880e76cc19699d5d77b7c4172a9d4562 | 602 | py | Python | ddq_1/fol/equality.py | jadnohra/connect | 8eb21e6f122898094447bc3d5edb3053d5a2adf2 | [
"Unlicense"
] | null | null | null | ddq_1/fol/equality.py | jadnohra/connect | 8eb21e6f122898094447bc3d5edb3053d5a2adf2 | [
"Unlicense"
] | 6 | 2021-03-19T12:06:56.000Z | 2022-03-12T00:23:09.000Z | ddq_1/fol/equality.py | jadnohra/connect | 8eb21e6f122898094447bc3d5edb3053d5a2adf2 | [
"Unlicense"
] | null | null | null | '''
References:
- Andrews, p.101
- An Outline of Set Theory, Henle, p.17
'''
from . import lang
from .theorem import Axiom
class EqualSymbol(lang.ImproperSymbol):
def __init__(self):
lang.PrimitiveSymbol.__init__('=')
def symbol_type(self) -> str:
return 'equals'
@staticmethod
def... | 20.758621 | 54 | 0.636213 | 68 | 602 | 5.352941 | 0.558824 | 0.038462 | 0.06044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.23588 | 602 | 28 | 55 | 21.5 | 0.780435 | 0.116279 | 0 | 0.125 | 0 | 0 | 0.03626 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6e1df483088beba591eae3b2b0e4f319f02d6340 | 404 | py | Python | main.py | ArCharons/new_soft_eng | 98ccd993239f7e6fc288ccfd1f64bd22ba5bcdc5 | [
"MIT"
] | null | null | null | main.py | ArCharons/new_soft_eng | 98ccd993239f7e6fc288ccfd1f64bd22ba5bcdc5 | [
"MIT"
] | 2 | 2022-03-08T18:40:22.000Z | 2022-03-08T18:44:15.000Z | main.py | mindestiny19/new_soft_eng | 06ad382ac742e57e546212021ee9a9feb0d2bab9 | [
"MIT"
] | null | null | null | from src.studi_kasus_2 import StudiKasus2
import os
if __name__ == '__main__':
main_class = StudiKasus2('localhost', '3306', 'root', os.environ["MYSQL_PASS"])
df = main_class.import_csv('data/Mall_Customers.csv')
print(main_class.create_db('Mall_Customers'))
print(main_class.create_table('Mall_Custome... | 40.4 | 84 | 0.742574 | 55 | 404 | 5.018182 | 0.509091 | 0.163043 | 0.152174 | 0.144928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019499 | 0.111386 | 404 | 9 | 85 | 44.888889 | 0.749304 | 0 | 0 | 0 | 0 | 0 | 0.292079 | 0.056931 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.375 | 0 | 0.375 | 0.375 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
6e3934103e598797884a4040b81d0af5553fb675 | 549 | py | Python | demo/demoproject/demoapp/management/commands/createsampledata.py | mrc75/django-easy-reports | 5a92e8e1fd199ee3fd0fdfd5b47d84fe72861a0a | [
"BSD-1-Clause"
] | 2 | 2015-05-28T10:35:54.000Z | 2016-11-18T04:33:26.000Z | demo/demoproject/demoapp/management/commands/createsampledata.py | mrc75/django-easy-reports | 5a92e8e1fd199ee3fd0fdfd5b47d84fe72861a0a | [
"BSD-1-Clause"
] | 1 | 2015-10-25T01:50:04.000Z | 2015-10-25T01:50:04.000Z | demo/demoproject/demoapp/management/commands/createsampledata.py | saxix/django-easy-reports | 81679b0c49d728c198601f7ee3a726a66cae49b5 | [
"BSD-1-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.core.management.base import BaseCommand
class Command(BaseCommand):
args = ''
help = 'Help text here....'
"""
option_list = BaseCommand.option_list + (
make_option('--delete',
action='store_true',
dest='delete',
default=Fa... | 23.869565 | 54 | 0.555556 | 57 | 549 | 5.140351 | 0.684211 | 0.068259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002577 | 0.29326 | 549 | 22 | 55 | 24.954545 | 0.752577 | 0.038251 | 0 | 0 | 0 | 0 | 0.063158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.125 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6e3f21a269e9cbc7720c0b0f5f054669b29f13ff | 690 | py | Python | scripts/arguments.py | paschalidoud/hierarchical_primitives | 66341ae9eb94d4f85be0f9ccc3f73c77332afd36 | [
"MIT"
] | 73 | 2020-02-27T11:37:17.000Z | 2022-03-21T21:24:58.000Z | scripts/arguments.py | paschalidoud/hierarchical_primitives | 66341ae9eb94d4f85be0f9ccc3f73c77332afd36 | [
"MIT"
] | 5 | 2020-06-14T19:49:33.000Z | 2022-02-24T02:29:42.000Z | scripts/arguments.py | paschalidoud/hierarchical_primitives | 66341ae9eb94d4f85be0f9ccc3f73c77332afd36 | [
"MIT"
] | 8 | 2020-05-03T04:38:38.000Z | 2022-03-30T17:30:31.000Z | def add_dataset_parameters(parser):
parser.add_argument(
"--model_tags",
type=lambda x: x.split(","),
default=[],
help="Tags to the models to be used"
)
parser.add_argument(
"--category_tags",
type=lambda x: x.split(","),
default=[],
help="Cate... | 26.538462 | 62 | 0.565217 | 83 | 690 | 4.566265 | 0.373494 | 0.094987 | 0.17942 | 0.079156 | 0.717678 | 0.717678 | 0.717678 | 0.717678 | 0.548813 | 0.548813 | 0 | 0.008457 | 0.314493 | 690 | 25 | 63 | 27.6 | 0.792812 | 0 | 0 | 0.48 | 0 | 0 | 0.324638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 3 |
6e4d045a29d4f0809893342967ffe8714e7ba982 | 518 | py | Python | finders/tags/finders_tags.py | netvigator/auctions | f88bcce800b60083a5d1a6f272c51bb540b8342a | [
"MIT"
] | null | null | null | finders/tags/finders_tags.py | netvigator/auctions | f88bcce800b60083a5d1a6f272c51bb540b8342a | [
"MIT"
] | 13 | 2019-12-12T03:07:55.000Z | 2022-03-07T12:59:27.000Z | finders/tags/finders_tags.py | netvigator/auctions | f88bcce800b60083a5d1a6f272c51bb540b8342a | [
"MIT"
] | null | null | null | from django import template
from ..utils import getLastDropped
# ### if you add a tag, you must register it in config/settings.base!!! ###
# ### if you add a tag, you must register it in config/settings.base!!! ###
# ### if you add a tag, you must register it in config/settings.base!!! ###
# ### if you add a t... | 24.666667 | 75 | 0.673745 | 71 | 518 | 4.915493 | 0.338028 | 0.057307 | 0.091691 | 0.103152 | 0.561605 | 0.561605 | 0.561605 | 0.561605 | 0.561605 | 0.561605 | 0 | 0 | 0.194981 | 518 | 20 | 76 | 25.9 | 0.83693 | 0.519305 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
28090f0f8a84678d8bd39ee1e447721bae0a1335 | 708 | py | Python | graphdot/cuda/array.py | yhtang/GraphDot | 3d5ed4fbb2f6912052baa42780b436da76979691 | [
"BSD-3-Clause-LBNL"
] | 9 | 2020-02-14T18:07:39.000Z | 2021-12-15T12:07:31.000Z | graphdot/cuda/array.py | yhtang/graphdot | 3d5ed4fbb2f6912052baa42780b436da76979691 | [
"BSD-3-Clause-LBNL"
] | 3 | 2020-03-19T19:07:26.000Z | 2021-02-24T06:08:51.000Z | graphdot/cuda/array.py | yhtang/graphdot | 3d5ed4fbb2f6912052baa42780b436da76979691 | [
"BSD-3-Clause-LBNL"
] | 3 | 2019-10-17T06:11:18.000Z | 2021-05-07T11:56:33.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import numpy as np
from pycuda.driver import (managed_empty, managed_empty_like, managed_zeros)
from pycuda.driver import mem_attach_flags as ma_flags
class ManagedArray(np.ndarray):
@property
def ptr(self):
return int(self.base.base)
def umempty(size, d... | 22.125 | 76 | 0.694915 | 105 | 708 | 4.52381 | 0.409524 | 0.126316 | 0.109474 | 0.092632 | 0.463158 | 0.463158 | 0.332632 | 0.223158 | 0.223158 | 0.223158 | 0 | 0.008591 | 0.177966 | 708 | 31 | 77 | 22.83871 | 0.80756 | 0.059322 | 0 | 0.315789 | 0 | 0 | 0.003012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.157895 | 0.157895 | 0.736842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
282f0e70638392a93ad189770246c7556c87340b | 73 | py | Python | self_driving/jet_book/jet_book_2.py | zaqwes8811/coordinator-tasks | 7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a | [
"MIT"
] | null | null | null | self_driving/jet_book/jet_book_2.py | zaqwes8811/coordinator-tasks | 7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a | [
"MIT"
] | 15 | 2015-03-07T12:46:41.000Z | 2015-04-11T09:08:36.000Z | self_driving/jet_book/jet_book_2.py | zaqwes8811/micro-apps | 7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# 1.
B = 1
T = [5, 20, -80]
# 2.
| 8.111111 | 21 | 0.479452 | 15 | 73 | 2.333333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.260274 | 73 | 8 | 22 | 9.125 | 0.481481 | 0.547945 | 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 | 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 | 3 |
2843899e6d8db5a009a061b358af21fc19dae893 | 334 | py | Python | login.py | vaibagga/DBMS-Project | c76c2da54b74f30a9530e092f45170b6a0a7973d | [
"MIT"
] | null | null | null | login.py | vaibagga/DBMS-Project | c76c2da54b74f30a9530e092f45170b6a0a7973d | [
"MIT"
] | 8 | 2021-06-08T19:51:03.000Z | 2022-03-12T00:00:01.000Z | login.py | vaibagga/DBMS-Project | c76c2da54b74f30a9530e092f45170b6a0a7973d | [
"MIT"
] | 1 | 2019-10-01T11:13:33.000Z | 2019-10-01T11:13:33.000Z | from flask_wtf import FlaskForm
from wtfrom import StringField, PasswordField
from wtforms.valudators iport DataRequired, Length
class LoginForm(FlaskForm):
email = StringField('Email',
validators = [DataRequired(), Email()])
password = PasswordField('Password', validators = [DataRequired()])
submit = SubmitF... | 37.111111 | 68 | 0.769461 | 33 | 334 | 7.757576 | 0.606061 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122754 | 334 | 9 | 69 | 37.111111 | 0.87372 | 0 | 0 | 0 | 0 | 0 | 0.056716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.25 | 0.25 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
284baab39b7f6bf6de163fa9bc74dc76b752d422 | 368 | py | Python | airtest/webgui/routers/home.py | mierly/airtest | 2329b48011f3f93a5c52c013d9301407eca0e322 | [
"BSD-3-Clause"
] | 98 | 2015-01-16T13:15:39.000Z | 2022-03-08T07:51:37.000Z | airtest/webgui/routers/home.py | mierly/airtest | 2329b48011f3f93a5c52c013d9301407eca0e322 | [
"BSD-3-Clause"
] | 13 | 2015-07-30T06:32:46.000Z | 2016-06-12T16:07:20.000Z | airtest/webgui/routers/home.py | mierly/airtest | 2329b48011f3f93a5c52c013d9301407eca0e322 | [
"BSD-3-Clause"
] | 34 | 2015-01-04T14:52:15.000Z | 2021-02-01T01:01:39.000Z | # coding: utf8
import flask
# from flask import request, flash, redirect, url_for, render_template
from . import utils
bp = flask.Blueprint('home', __name__)
@bp.route('/tmp/<path:path>')
def static_proxy(path):
return flask.send_from_directory(utils.TMPDIR, path)
#@models.db_session
@bp.route('/')
def home():... | 20.444444 | 70 | 0.728261 | 52 | 368 | 4.942308 | 0.615385 | 0.108949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003115 | 0.127717 | 368 | 17 | 71 | 21.647059 | 0.797508 | 0.269022 | 0 | 0 | 0 | 0 | 0.116981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.222222 | 0.666667 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
284e571a8871a546e9637eeed961a2e6c433da8d | 810 | py | Python | cnn_finetune/shims.py | Liang813/pytorch-cnn-finetune | 16ad3632be395694cb4d95e96c7ee922e2c18780 | [
"MIT"
] | 735 | 2018-02-19T11:42:17.000Z | 2022-03-30T06:39:17.000Z | cnn_finetune/shims.py | Liang813/pytorch-cnn-finetune | 16ad3632be395694cb4d95e96c7ee922e2c18780 | [
"MIT"
] | 21 | 2018-03-26T10:01:19.000Z | 2020-12-07T02:35:41.000Z | cnn_finetune/shims.py | Liang813/pytorch-cnn-finetune | 16ad3632be395694cb4d95e96c7ee922e2c18780 | [
"MIT"
] | 126 | 2018-02-19T18:59:34.000Z | 2022-01-19T12:00:14.000Z | import torch
from torch.autograd import Variable
# Polyfill that disables gradient calculation for Variable.
# Previous versions of PyTorch use volatile=True flag for variables
# and the latest version uses torch.no_grad context manager.
try:
class no_grad_variable(torch.no_grad):
def __init__(self, *a... | 24.545455 | 68 | 0.641975 | 92 | 810 | 5.282609 | 0.467391 | 0.102881 | 0.08642 | 0.078189 | 0.209877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265432 | 810 | 32 | 69 | 25.3125 | 0.816807 | 0.224691 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0.055556 | 0.111111 | 0.055556 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
285270499e0864dd9e6a8f719617bfa3f2ccc578 | 850 | py | Python | src/domain/usecases/get_all_normal_images_paths.py | OzielFilho/ProjetoFinalPdi | c9e6fe415f1a985d6eeac204580d3ab623026665 | [
"MIT"
] | null | null | null | src/domain/usecases/get_all_normal_images_paths.py | OzielFilho/ProjetoFinalPdi | c9e6fe415f1a985d6eeac204580d3ab623026665 | [
"MIT"
] | null | null | null | src/domain/usecases/get_all_normal_images_paths.py | OzielFilho/ProjetoFinalPdi | c9e6fe415f1a985d6eeac204580d3ab623026665 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from domain.errors.failure import Failure
from domain.errors.image_failure import ImageFailure
from domain.repositories.image_repository_abstraction import ImageRepositoryAbstraction
class GetAllNormalImagesPathsAbstraction(ABC):
@abstractmethod
def __init__(self, reposito... | 31.481481 | 87 | 0.749412 | 80 | 850 | 7.675 | 0.4375 | 0.091205 | 0.052117 | 0.068404 | 0.247557 | 0.247557 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183529 | 850 | 26 | 88 | 32.692308 | 0.884726 | 0 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.105263 | 0.210526 | 0 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
2856e2f4b92424de8ffa3ed374467664fb4f0c5e | 286 | py | Python | Basic/main.py | jatiinyadav/Python | 4ba8df06780c9543d00b6b9f96e32fbcb5fd5aa4 | [
"MIT"
] | null | null | null | Basic/main.py | jatiinyadav/Python | 4ba8df06780c9543d00b6b9f96e32fbcb5fd5aa4 | [
"MIT"
] | null | null | null | Basic/main.py | jatiinyadav/Python | 4ba8df06780c9543d00b6b9f96e32fbcb5fd5aa4 | [
"MIT"
] | null | null | null | x = 6/3
print(x + x)
y = 6
print(x + y)
x = 5
print(x)
x
name = 'youtube'
print(r"jatin's " + name)
print(name[0])
print(name[-3])
print(name[0:5])
print(name[:5])
name = 'JatinYadav'
print(name[6])
print(name[2:7])
print(name[6])
print('Hii'+ name[0:6])
print('Hello' + name[:10]) | 13.619048 | 26 | 0.597902 | 57 | 286 | 3 | 0.315789 | 0.368421 | 0.081871 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069959 | 0.15035 | 286 | 21 | 26 | 13.619048 | 0.633745 | 0 | 0 | 0.105263 | 0 | 0 | 0.114983 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.684211 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
287277dd00f2f887096a91bf04d420723dbd2c6c | 53 | gyp | Python | test/unit/fixtures/project-binary-modules/node_modules/linked/binding.gyp | PLSV/t2-cli | f52a5e143c4a6b3ffccb3b26e3e1c6ff35dab4ca | [
"MIT"
] | 124 | 2015-03-20T10:14:31.000Z | 2021-11-14T19:44:40.000Z | test/unit/fixtures/project-binary-modules/node_modules/linked/binding.gyp | PLSV/t2-cli | f52a5e143c4a6b3ffccb3b26e3e1c6ff35dab4ca | [
"MIT"
] | 1,671 | 2015-03-20T17:42:01.000Z | 2021-08-14T01:13:42.000Z | test/unit/fixtures/project-binary-modules/node_modules/linked/binding.gyp | PLSV/t2-cli | f52a5e143c4a6b3ffccb3b26e3e1c6ff35dab4ca | [
"MIT"
] | 76 | 2015-04-27T02:53:48.000Z | 2021-02-08T15:50:44.000Z | {
"targets": [{
"target_name": "linked"
}]
}
| 8.833333 | 27 | 0.45283 | 4 | 53 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283019 | 53 | 5 | 28 | 10.6 | 0.605263 | 0 | 0 | 0 | 0 | 0 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
28839ce11a8213c6570cdd0f94b2ce4080d3fcf3 | 98 | py | Python | simple_grpc_chat/frontend/config.py | vdshk/simple-grpc-chat | 09329a95108ea1cc72c901226112fdc65b3c3e76 | [
"MIT"
] | null | null | null | simple_grpc_chat/frontend/config.py | vdshk/simple-grpc-chat | 09329a95108ea1cc72c901226112fdc65b3c3e76 | [
"MIT"
] | null | null | null | simple_grpc_chat/frontend/config.py | vdshk/simple-grpc-chat | 09329a95108ea1cc72c901226112fdc65b3c3e76 | [
"MIT"
] | null | null | null | from pathlib import Path
__all__ = [
"FRONTEND_DIR",
]
FRONTEND_DIR = Path(__file__).parent
| 12.25 | 36 | 0.714286 | 12 | 98 | 5 | 0.75 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 98 | 7 | 37 | 14 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9577c4d7daadf11752102e7c15d383e9e15d9f89 | 177 | py | Python | pyeccodes/defs/mars/grib_enfo_tu_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 7 | 2020-04-14T09:41:17.000Z | 2021-08-06T09:38:19.000Z | pyeccodes/defs/mars/grib_enfo_tu_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | null | null | null | pyeccodes/defs/mars/grib_enfo_tu_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 3 | 2020-04-30T12:44:48.000Z | 2020-12-15T08:40:26.000Z | import pyeccodes.accessors as _
def load(h):
h.alias('mars.number', 'tubeNumber')
h.alias('mars.domain', 'tubeDomain')
h.alias('mars.reference', 'referenceStep')
| 19.666667 | 46 | 0.672316 | 22 | 177 | 5.363636 | 0.681818 | 0.152542 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 177 | 8 | 47 | 22.125 | 0.786667 | 0 | 0 | 0 | 0 | 0 | 0.389831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
958ba7973bc052d73f2e18a6eaf8ecd529ad98d4 | 72 | py | Python | app.py | sauravjaiswalsj/FriendsBook | b4c97803756e11791e0cf32dc7382d3eef1dc98a | [
"MIT"
] | null | null | null | app.py | sauravjaiswalsj/FriendsBook | b4c97803756e11791e0cf32dc7382d3eef1dc98a | [
"MIT"
] | null | null | null | app.py | sauravjaiswalsj/FriendsBook | b4c97803756e11791e0cf32dc7382d3eef1dc98a | [
"MIT"
] | null | null | null | from flask import Flask
app=Flask(__name__)
#add code here
app.run()
| 9 | 23 | 0.736111 | 12 | 72 | 4.083333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 7 | 24 | 10.285714 | 0.816667 | 0.180556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
958ee5b98e5d3f05d103eb4e515cb454770508af | 464 | py | Python | demanage/permissions/filters.py | Egor4ik325/demanage | f5fd1d2ad264f6d2dc3c95322962569dc591f30c | [
"MIT"
] | null | null | null | demanage/permissions/filters.py | Egor4ik325/demanage | f5fd1d2ad264f6d2dc3c95322962569dc591f30c | [
"MIT"
] | 1 | 2022-03-01T11:21:05.000Z | 2022-03-01T11:21:05.000Z | demanage/permissions/filters.py | Egor4ik325/demanage | f5fd1d2ad264f6d2dc3c95322962569dc591f30c | [
"MIT"
] | null | null | null | import django
import django_filters
from django.contrib.auth.models import User
from guardian.models import UserObjectPermission
class UserBoardPermissionFilter(django_filters.FilterSet):
user = django_filters.CharFilter(field_name="user__username", lookup_expr="exact")
permission = django_filters.CharFilter(... | 29 | 86 | 0.762931 | 49 | 464 | 6.979592 | 0.510204 | 0.152047 | 0.134503 | 0.163743 | 0.187135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161638 | 464 | 15 | 87 | 30.933333 | 0.879177 | 0 | 0 | 0 | 0 | 0 | 0.094828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
95bf72958bbd3f811c65d06bdf45b60bfbc5e935 | 1,683 | py | Python | db/scripts/script_create_drop/create_tables.py | LeandroLFE/capmon | 9d1200301628ea4fec0e8ed09d5e9b67a426d923 | [
"MIT"
] | null | null | null | db/scripts/script_create_drop/create_tables.py | LeandroLFE/capmon | 9d1200301628ea4fec0e8ed09d5e9b67a426d923 | [
"MIT"
] | null | null | null | db/scripts/script_create_drop/create_tables.py | LeandroLFE/capmon | 9d1200301628ea4fec0e8ed09d5e9b67a426d923 | [
"MIT"
] | null | null | null | from db.default_data.default_create_table_with_underline_structure import default_create_table_structure_capturados, default_create_table_structure_aventureiros, default_create_table_structure_buddies, default_create_table_structure_capboard_dados, default_create_table_structure_itens_obtidos, default_create_table_stru... | 39.139535 | 374 | 0.744504 | 205 | 1,683 | 5.614634 | 0.131707 | 0.210252 | 0.234579 | 0.32841 | 0.777585 | 0.624674 | 0.495222 | 0.325804 | 0.247611 | 0.078193 | 0 | 0 | 0.150921 | 1,683 | 43 | 375 | 39.139535 | 0.805458 | 0 | 0 | 0.388889 | 0 | 0 | 0.546912 | 0.334917 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027778 | 0 | 0.027778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
95ce8c70626d9d9978dc0170284d0a7981036f60 | 131 | py | Python | conftest.py | brycedrennan/tldextract | 527df5b739e98e2d52701d1f05b043db381799a5 | [
"BSD-3-Clause"
] | 2 | 2020-06-18T12:38:16.000Z | 2020-07-09T14:32:21.000Z | conftest.py | sophoslabs/github-tldextract | 40eaea2edf9970095d26963a86827a4c2cb97aca | [
"BSD-3-Clause"
] | 6 | 2020-03-23T10:40:18.000Z | 2021-06-25T15:32:25.000Z | conftest.py | sophoslabs/github-tldextract | 40eaea2edf9970095d26963a86827a4c2cb97aca | [
"BSD-3-Clause"
] | null | null | null | '''py.test standard config file.'''
# pylint: disable=invalid-name
collect_ignore = ('setup.py',)
# pylint: enable=invalid-name
| 16.375 | 35 | 0.70229 | 17 | 131 | 5.352941 | 0.764706 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122137 | 131 | 7 | 36 | 18.714286 | 0.791304 | 0.664122 | 0 | 0 | 0 | 0 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
95d6bb1c4f196d884bfefb8ad6a9313f4b1973ce | 170 | py | Python | xpy/__main__.py | dbeal/xpy | f3588983429caef2a741ddf28b121404c1c7068c | [
"MIT"
] | null | null | null | xpy/__main__.py | dbeal/xpy | f3588983429caef2a741ddf28b121404c1c7068c | [
"MIT"
] | null | null | null | xpy/__main__.py | dbeal/xpy | f3588983429caef2a741ddf28b121404c1c7068c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
#
# Copyright 2016-2018 David J. Beal, All Rights Reserved
#
import sys
from .Main import *
if __name__ == '__main__':
sys.exit(Main.main())
| 15.454545 | 56 | 0.682353 | 25 | 170 | 4.32 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064286 | 0.176471 | 170 | 10 | 57 | 17 | 0.707143 | 0.447059 | 0 | 0 | 0 | 0 | 0.088889 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
95e4ded120487e830ae06c8fc4c5a18bb83122f2 | 133,649 | py | Python | derpi/asyncrounous/models.py | luckydonald/derpipy | 3220ca13605f97bb5422cfb2975c54028f42f880 | [
"MIT"
] | null | null | null | derpi/asyncrounous/models.py | luckydonald/derpipy | 3220ca13605f97bb5422cfb2975c54028f42f880 | [
"MIT"
] | 1 | 2020-07-27T00:39:46.000Z | 2020-07-27T02:27:42.000Z | derpi/syncrounous/models.py | derpipy/derpi | 3220ca13605f97bb5422cfb2975c54028f42f880 | [
"MIT"
] | 1 | 2020-03-21T14:40:10.000Z | 2020-03-21T14:40:10.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future__ import annotations
import iso8601
from datetime import datetime
from typing import Union, List, Dict, Type, TypeVar, Generic
from luckydonaldUtils.logger import logging
from luckydonaldUtils.typing import JSONType
from luckydonaldUtils.exceptions import a... | 36.229059 | 1,452 | 0.611931 | 17,653 | 133,649 | 4.462414 | 0.024245 | 0.011298 | 0.028372 | 0.004951 | 0.76754 | 0.729381 | 0.699613 | 0.666328 | 0.644164 | 0.627394 | 0 | 0.003555 | 0.280174 | 133,649 | 3,688 | 1,453 | 36.238883 | 0.814904 | 0.306093 | 0 | 0.490975 | 0 | 0.034657 | 0.242199 | 0.106077 | 0 | 0 | 0 | 0 | 0.024549 | 1 | 0.070036 | false | 0 | 0.005054 | 0 | 0.300361 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 3 |
95f43df99d226bb5b8264d936ce0db523c0b4b7a | 245 | py | Python | watchmen/auth/user.py | luke0623/watchmen-matryoshka-doll | 77d7929c2d298ec814dd7e89132861da97a55a26 | [
"MIT"
] | null | null | null | watchmen/auth/user.py | luke0623/watchmen-matryoshka-doll | 77d7929c2d298ec814dd7e89132861da97a55a26 | [
"MIT"
] | null | null | null | watchmen/auth/user.py | luke0623/watchmen-matryoshka-doll | 77d7929c2d298ec814dd7e89132861da97a55a26 | [
"MIT"
] | null | null | null | from watchmen.common.mongo_model import MongoModel
class User(MongoModel):
userId: str = None
name: str = None
nickName: str = None
password: str = None
is_active: bool = True
groupIds: list = None
role: str = None
| 20.416667 | 50 | 0.661224 | 32 | 245 | 5 | 0.6875 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261224 | 245 | 11 | 51 | 22.272727 | 0.883978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.111111 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
25041752e49248dd430437ccfa62647eb004e4f0 | 263 | py | Python | Data Scientist Career Path/3. Python Fundamentals/5. Python List/3. Working with List/8. list count.py | myarist/Codecademy | 2ba0f104bc67ab6ef0f8fb869aa12aa02f5f1efb | [
"MIT"
] | 23 | 2021-06-06T15:35:55.000Z | 2022-03-21T06:53:42.000Z | Data Scientist Career Path/3. Python Fundamentals/5. Python List/3. Working with List/8. list count.py | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | null | null | null | Data Scientist Career Path/3. Python Fundamentals/5. Python List/3. Working with List/8. list count.py | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | 9 | 2021-06-08T01:32:04.000Z | 2022-03-18T15:38:09.000Z | votes = ["Jake", "Jake", "Laurie", "Laurie", "Laurie", "Jake", "Jake", "Jake", "Laurie", "Cassie", "Cassie", "Jake", "Jake", "Cassie", "Laurie", "Cassie", "Jake", "Jake", "Cassie", "Laurie"]
# Your code below:
jake_votes = votes.count("Jake")
print(jake_votes) | 43.833333 | 190 | 0.604563 | 32 | 263 | 4.90625 | 0.28125 | 0.254777 | 0.178344 | 0.254777 | 0.33121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121673 | 263 | 6 | 191 | 43.833333 | 0.679654 | 0.060837 | 0 | 0 | 0 | 0 | 0.432653 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2516690d3b8aebb395044d17940cf7c8ef740c1b | 277 | py | Python | TestJson.py | byterubpay/mininero1 | ea6b8017cdbab82011d7f329e7726cc52d1ef431 | [
"BSD-3-Clause"
] | 64 | 2015-06-12T19:29:51.000Z | 2022-01-03T17:14:56.000Z | TestJson.py | byterubpay/mininero1 | ea6b8017cdbab82011d7f329e7726cc52d1ef431 | [
"BSD-3-Clause"
] | 4 | 2015-11-27T18:49:40.000Z | 2017-12-14T21:32:48.000Z | TestJson.py | byterubpay/mininero1 | ea6b8017cdbab82011d7f329e7726cc52d1ef431 | [
"BSD-3-Clause"
] | 39 | 2016-02-07T08:47:02.000Z | 2022-03-07T06:07:10.000Z | import demjson
a = "{'jsonrpc': '2.0', 'id': '0', 'result': {'address': '44UZVwSGX6mTeKnSBsFT1ZFRjCTjX1EE1DBmBZj9DtTXZEBYXm6xkRJ7r8uD4dWkVeLe5KutxVjZCFxABP1rEAeSJzHutte'}}"
d = demjson.decode(a)
print(d)
print(d['result']['address'])
#results = d['results']
#print(results)
| 25.181818 | 157 | 0.725632 | 26 | 277 | 7.730769 | 0.538462 | 0.129353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 0.083032 | 277 | 10 | 158 | 27.7 | 0.728346 | 0.129964 | 0 | 0 | 0 | 0.2 | 0.686192 | 0.414226 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.4 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
25254b61d054dcba617d76bc602d9843f2679ab2 | 91 | py | Python | test/version.py | www516717402/MQBench | 8519ae6db18c3d09ec5dcc50a7e76349738ee819 | [
"Apache-2.0"
] | 179 | 2021-09-22T08:44:51.000Z | 2022-03-31T08:09:43.000Z | test/version.py | www516717402/MQBench | 8519ae6db18c3d09ec5dcc50a7e76349738ee819 | [
"Apache-2.0"
] | 46 | 2021-09-29T03:04:30.000Z | 2022-03-31T11:53:23.000Z | test/version.py | www516717402/MQBench | 8519ae6db18c3d09ec5dcc50a7e76349738ee819 | [
"Apache-2.0"
] | 42 | 2021-09-24T16:08:26.000Z | 2022-03-30T10:21:34.000Z | TORCHVISION_VERSION = 'v0.9.0'
GITHUB_RES = 'pytorch/vision:{}'.format(TORCHVISION_VERSION) | 45.5 | 60 | 0.78022 | 12 | 91 | 5.666667 | 0.833333 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.054945 | 91 | 2 | 60 | 45.5 | 0.755814 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
25335f8cdcde7434756602182ca469c449e59b21 | 11,427 | py | Python | modules/algorithms/UCB.py | v-i-s-h/banditPy | ad7bb62c6147c83c68a4cce48f697158f6514f00 | [
"MIT"
] | null | null | null | modules/algorithms/UCB.py | v-i-s-h/banditPy | ad7bb62c6147c83c68a4cce48f697158f6514f00 | [
"MIT"
] | null | null | null | modules/algorithms/UCB.py | v-i-s-h/banditPy | ad7bb62c6147c83c68a4cce48f697158f6514f00 | [
"MIT"
] | null | null | null | ################################################################################
# Module : UCB
# Description : Upper Confidence Bound algorithm
# Author : Vishnu Raj
# Email : get_vichu@yahoo.com
# Changelogs
################################################################################
import mat... | 46.640816 | 120 | 0.43756 | 963 | 11,427 | 5.163032 | 0.196262 | 0.031376 | 0.010861 | 0.019912 | 0.740949 | 0.718423 | 0.663717 | 0.643604 | 0.618262 | 0.600161 | 0 | 0.01452 | 0.343047 | 11,427 | 244 | 121 | 46.831967 | 0.647795 | 0.120767 | 0 | 0.639098 | 0 | 0 | 0.062699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.007519 | null | null | 0.090226 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2545780fef38180f1f4babc42891154c6cd84bc6 | 112 | py | Python | 1.Python-101/numbers-string.py | Ruhul12/PostgreSQL | a050f51d9a57c1f79f19a1d9fb6f78cb2a17915e | [
"MIT"
] | 2 | 2021-09-10T07:45:24.000Z | 2021-09-11T19:41:05.000Z | 1.Python-101/numbers-string.py | Ruhul12/PostgreSQL | a050f51d9a57c1f79f19a1d9fb6f78cb2a17915e | [
"MIT"
] | null | null | null | 1.Python-101/numbers-string.py | Ruhul12/PostgreSQL | a050f51d9a57c1f79f19a1d9fb6f78cb2a17915e | [
"MIT"
] | null | null | null | # Numbers and String In Python
#Numbers
number = 12
print(number)
#String
string = "Hello World!"
print(string) | 14 | 30 | 0.741071 | 16 | 112 | 5.1875 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.151786 | 112 | 8 | 31 | 14 | 0.852632 | 0.366071 | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
254e0880e461ec47d24193da24e33e143e5ed7f0 | 53 | py | Python | src/autoxgb/__init__.py | aydinemre/autoxgb | 142ef4b2dd16e47b7cb3fbff17843f2c15d8c1f0 | [
"Apache-2.0"
] | null | null | null | src/autoxgb/__init__.py | aydinemre/autoxgb | 142ef4b2dd16e47b7cb3fbff17843f2c15d8c1f0 | [
"Apache-2.0"
] | null | null | null | src/autoxgb/__init__.py | aydinemre/autoxgb | 142ef4b2dd16e47b7cb3fbff17843f2c15d8c1f0 | [
"Apache-2.0"
] | null | null | null | from .autoxgb import AutoXGB
__version__ = "0.2.1"
| 10.6 | 28 | 0.716981 | 8 | 53 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0.169811 | 53 | 4 | 29 | 13.25 | 0.704545 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2557909d9615beaba95ec55a712d279fbb062b8b | 105 | py | Python | lab_utils/__init__.py | zooliet/tensorflow_exercises | a25fe6ec201c29dd45a959933876626b4c4d2be7 | [
"MIT"
] | null | null | null | lab_utils/__init__.py | zooliet/tensorflow_exercises | a25fe6ec201c29dd45a959933876626b4c4d2be7 | [
"MIT"
] | null | null | null | lab_utils/__init__.py | zooliet/tensorflow_exercises | a25fe6ec201c29dd45a959933876626b4c4d2be7 | [
"MIT"
] | null | null | null |
from .utils import (
tf, os, np, plt, logger, ap, BooleanAction,
debug, toc, auto_increment
)
| 15 | 48 | 0.638095 | 14 | 105 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247619 | 105 | 6 | 49 | 17.5 | 0.835443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c256667e28de19e88a86bae4b63c596cf55afb9d | 540 | py | Python | problem_solving/algorithms/warmup/birthday_cake_candles.py | scouvreur/hackerrank | 93a52ed6a744ce41fd215d8007435a682228fa01 | [
"MIT"
] | 1 | 2021-01-28T14:23:24.000Z | 2021-01-28T14:23:24.000Z | problem_solving/algorithms/warmup/birthday_cake_candles.py | scouvreur/hackerrank | 93a52ed6a744ce41fd215d8007435a682228fa01 | [
"MIT"
] | null | null | null | problem_solving/algorithms/warmup/birthday_cake_candles.py | scouvreur/hackerrank | 93a52ed6a744ce41fd215d8007435a682228fa01 | [
"MIT"
] | null | null | null | #!/bin/python3
def birthday_cake_candles(candles):
"""
Docs
"""
tallest = max(candles)
count = candles.count(tallest)
return count
def test_birthday_cake_candles():
"""Test for birthday_cake_candles function."""
assert birthday_cake_candles(candles=[3, 2, 1, 3]) == 2
assert birth... | 22.5 | 62 | 0.687037 | 72 | 540 | 4.916667 | 0.402778 | 0.237288 | 0.375706 | 0.367232 | 0.180791 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026608 | 0.164815 | 540 | 23 | 63 | 23.478261 | 0.758315 | 0.109259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.25 | 0.083333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c25b5fd5a4fff65f7aa8f9fe65923ec289974219 | 618 | py | Python | app/test/unit/test_bot.py | anderskswanson/xtensible | cd90918b2328d0402675850f83234112a1b82712 | [
"MIT"
] | 1 | 2019-05-30T13:23:54.000Z | 2019-05-30T13:23:54.000Z | app/test/unit/test_bot.py | anderskswanson/xtensible | cd90918b2328d0402675850f83234112a1b82712 | [
"MIT"
] | 1 | 2021-06-01T23:51:34.000Z | 2021-06-01T23:51:34.000Z | app/test/unit/test_bot.py | anderskswanson/xtensible | cd90918b2328d0402675850f83234112a1b82712 | [
"MIT"
] | null | null | null | import unittest
from app.bot.bot import XtensibleBot
from app.bot.command_handler import CommandHandler
class FakeClient:
def run(self, token):
print('stated with token: {}'.format(token))
def event(self, arg):
pass
def send_message(self, arg1, arg2):
pass
class FakeHandler:
... | 19.3125 | 67 | 0.644013 | 74 | 618 | 5.22973 | 0.540541 | 0.036176 | 0.05168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004237 | 0.236246 | 618 | 31 | 68 | 19.935484 | 0.815678 | 0 | 0 | 0.095238 | 0 | 0 | 0.056634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.095238 | 0.142857 | 0.047619 | 0.619048 | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c266f2124fdb45045a38b5b826976e36e812f604 | 112 | py | Python | aldryn_categories/__init__.py | compoundpartners/js-categories | 1890fce08564a54ea1f5475421e9fc77ee2931a6 | [
"BSD-3-Clause"
] | null | null | null | aldryn_categories/__init__.py | compoundpartners/js-categories | 1890fce08564a54ea1f5475421e9fc77ee2931a6 | [
"BSD-3-Clause"
] | null | null | null | aldryn_categories/__init__.py | compoundpartners/js-categories | 1890fce08564a54ea1f5475421e9fc77ee2931a6 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
__version__ = '1.1.2'
default_app_config = 'aldryn_categories.apps.AldrynCategories'
| 16 | 62 | 0.705357 | 14 | 112 | 5.142857 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.125 | 112 | 6 | 63 | 18.666667 | 0.693878 | 0.1875 | 0 | 0 | 0 | 0 | 0.494382 | 0.438202 | 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 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c26e303056497481c46777472248d835b35ab5c6 | 359 | py | Python | Zad_FactoryMethod/ZapytanieOracle.py | Paarzivall/Wzorce-Projektowe | aa4136f140ad02c0fc0de45709b5a01ca42b417f | [
"MIT"
] | null | null | null | Zad_FactoryMethod/ZapytanieOracle.py | Paarzivall/Wzorce-Projektowe | aa4136f140ad02c0fc0de45709b5a01ca42b417f | [
"MIT"
] | null | null | null | Zad_FactoryMethod/ZapytanieOracle.py | Paarzivall/Wzorce-Projektowe | aa4136f140ad02c0fc0de45709b5a01ca42b417f | [
"MIT"
] | null | null | null | from SzablonZapytania import SzablonZapytania
from BazaDanychOracle import BazaDanychOracle
class ZapytanieOracle(SzablonZapytania):
def _formatujConnect(self, nazwaBD):
return "Połączono z bazą danych " + nazwaBD
def _formatujSelect(self, specZapyt):
return specZapyt + ";"
def utworzBD(s... | 29.916667 | 51 | 0.740947 | 32 | 359 | 8.25 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194986 | 359 | 12 | 52 | 29.916667 | 0.913495 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c27eb4c0af01873f28f4c0b4481d89c01bc870de | 143 | py | Python | mmseg/core/hooks/__init__.py | evgeniya-egupova/mmsegmentation | 3857f19321ad6af41c8a6af364898ee050225f4c | [
"Apache-2.0"
] | null | null | null | mmseg/core/hooks/__init__.py | evgeniya-egupova/mmsegmentation | 3857f19321ad6af41c8a6af364898ee050225f4c | [
"Apache-2.0"
] | null | null | null | mmseg/core/hooks/__init__.py | evgeniya-egupova/mmsegmentation | 3857f19321ad6af41c8a6af364898ee050225f4c | [
"Apache-2.0"
] | null | null | null | from .ema import IterBasedEMAHook
from .optimizer import CustomOptimizerHook
__all__ = [
'IterBasedEMAHook',
'CustomOptimizerHook',
]
| 17.875 | 42 | 0.762238 | 11 | 143 | 9.545455 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160839 | 143 | 7 | 43 | 20.428571 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.244755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c2972195c0f3a01861d7b9c4d1b095c3a6fa7823 | 115 | py | Python | ax3_OTP_Auth/apps.py | Axiacore/ax3-OTP-Auth | 8a09cf98a7c12c557b83c2deccbc3bc48c72a6c8 | [
"MIT"
] | null | null | null | ax3_OTP_Auth/apps.py | Axiacore/ax3-OTP-Auth | 8a09cf98a7c12c557b83c2deccbc3bc48c72a6c8 | [
"MIT"
] | null | null | null | ax3_OTP_Auth/apps.py | Axiacore/ax3-OTP-Auth | 8a09cf98a7c12c557b83c2deccbc3bc48c72a6c8 | [
"MIT"
] | null | null | null | from django import apps
class AppConfig(apps.AppConfig):
name = 'ax3_OTP_Auth'
verbose_name = 'OTP Auth'
| 16.428571 | 32 | 0.713043 | 16 | 115 | 4.9375 | 0.6875 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.2 | 115 | 6 | 33 | 19.166667 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c2a5f1468070a2b3ce84b470fc3f61c40cf76e23 | 356 | py | Python | mycroft/tts/remote_tts.py | OpenVoiceOS/mycroft-core | 6c2fe55147ab0ccc31dfa8dda866bacd1e1266a4 | [
"Apache-2.0"
] | 4 | 2021-11-03T22:06:30.000Z | 2021-11-19T08:03:58.000Z | mycroft/tts/remote_tts.py | OpenVoiceOS/mycroft-core | 6c2fe55147ab0ccc31dfa8dda866bacd1e1266a4 | [
"Apache-2.0"
] | 62 | 2021-10-29T21:18:51.000Z | 2022-03-30T07:08:29.000Z | mycroft/tts/remote_tts.py | OpenVoiceOS/mycroft-core | 6c2fe55147ab0ccc31dfa8dda866bacd1e1266a4 | [
"Apache-2.0"
] | null | null | null | """
NOTE: this is dead code! do not use!
This file is only present to ensure backwards compatibility
in case someone is importing from here
This is only meant for 3rd party code expecting ovos-core
to be a drop in replacement for mycroft-core
"""
from ovos_plugin_manager.templates.tts import RemoteTTS, \
RemoteTTSE... | 35.6 | 59 | 0.800562 | 54 | 356 | 5.240741 | 0.759259 | 0.042403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003322 | 0.154494 | 356 | 9 | 60 | 39.555556 | 0.936877 | 0.668539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 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 | 3 |
c2c2be9f8f4ad53d520ac215a01ed40733c8b8b1 | 462 | py | Python | ann/test.py | bongtrop/cilab-python | 13f77a790e6d38bf96214a3fd3c603f96b923629 | [
"BSD-3-Clause"
] | null | null | null | ann/test.py | bongtrop/cilab-python | 13f77a790e6d38bf96214a3fd3c603f96b923629 | [
"BSD-3-Clause"
] | null | null | null | ann/test.py | bongtrop/cilab-python | 13f77a790e6d38bf96214a3fd3c603f96b923629 | [
"BSD-3-Clause"
] | null | null | null | import net
import bp
net = net.randNet([2,2,1])
b = bp.bp(net, 0.5, 0.1)
dataset = [[[0,0],[0]],[[0,1],[1]],[[1,0],[1]],[[1,1],[0]]]
for i in range(0, 10000):
error = 0.0
for d in dataset:
inp = d[0]
outp = d[1]
error = error + b.backPropagate(inp, outp)
#print error
net.process([0,0])
print net.... | 15.931034 | 59 | 0.582251 | 94 | 462 | 2.861702 | 0.244681 | 0.037175 | 0.223048 | 0.237918 | 0.420074 | 0.386617 | 0.315985 | 0.315985 | 0 | 0 | 0 | 0.117493 | 0.170996 | 462 | 28 | 60 | 16.5 | 0.584856 | 0.02381 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.105263 | null | null | 0.210526 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c2c38f47afba84f824e79b5897bd0276c2642356 | 56 | py | Python | try1.py | chetanadhikary/weekday_python_inclass | 12014a87140c5f641a4eb382d5a7206863805f8a | [
"MIT"
] | null | null | null | try1.py | chetanadhikary/weekday_python_inclass | 12014a87140c5f641a4eb382d5a7206863805f8a | [
"MIT"
] | null | null | null | try1.py | chetanadhikary/weekday_python_inclass | 12014a87140c5f641a4eb382d5a7206863805f8a | [
"MIT"
] | null | null | null | grade_in = input('Enter your grade between 0.0 and 1.0') | 56 | 56 | 0.732143 | 12 | 56 | 3.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.142857 | 56 | 1 | 56 | 56 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c2c7a6e500f399d336969a304c2740792eb13e0c | 220 | py | Python | cdf.py | yuankaiz/pyGraphing | 4ae6d41e95843b468960fe93638fbee7fdf2022e | [
"Apache-2.0"
] | null | null | null | cdf.py | yuankaiz/pyGraphing | 4ae6d41e95843b468960fe93638fbee7fdf2022e | [
"Apache-2.0"
] | null | null | null | cdf.py | yuankaiz/pyGraphing | 4ae6d41e95843b468960fe93638fbee7fdf2022e | [
"Apache-2.0"
] | null | null | null | import matlotlib
def cdf(object):
def __init__(self, ln='line_name', lc='r'):
self.data = []
self.line_name = ln
self.line_color = lc
def loadData(self, data):
self.data = data
| 18.333333 | 47 | 0.572727 | 30 | 220 | 3.966667 | 0.5 | 0.201681 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 220 | 11 | 48 | 20 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.045662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c2d9062ca61b2b8b5d09994f8926b58ea02a9d28 | 539 | py | Python | scripts/utils/classes/MavrosState.py | PedroGiacomin/CompeticaoPetrobras2020 | 26c2591dec1bc26f7ca40dd399d067c7b3ad7dc3 | [
"BSD-3-Clause"
] | 1 | 2021-01-23T18:38:55.000Z | 2021-01-23T18:38:55.000Z | scripts/utils/classes/MavrosState.py | PedroGiacomin/CompeticaoPetrobras2020 | 26c2591dec1bc26f7ca40dd399d067c7b3ad7dc3 | [
"BSD-3-Clause"
] | null | null | null | scripts/utils/classes/MavrosState.py | PedroGiacomin/CompeticaoPetrobras2020 | 26c2591dec1bc26f7ca40dd399d067c7b3ad7dc3 | [
"BSD-3-Clause"
] | 1 | 2021-01-19T04:26:02.000Z | 2021-01-19T04:26:02.000Z | import rospy
from mrs_msgs.msg import *
from geometry_msgs.msg import *
from std_msgs.msg import *
from std_srvs.srv import *
from mavros_msgs.srv import *
from mrs_msgs.srv import *
from mrs_msgs.msg import *
from mavros_msgs.msg import *
import time
class MavrosState:
def __init__(self):
self.sub = ros... | 23.434783 | 86 | 0.697588 | 79 | 539 | 4.582278 | 0.341772 | 0.19337 | 0.179558 | 0.187845 | 0.334254 | 0.223757 | 0 | 0 | 0 | 0 | 0 | 0.002342 | 0.207792 | 539 | 22 | 87 | 24.5 | 0.845433 | 0 | 0 | 0.111111 | 0 | 0 | 0.033395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.555556 | 0 | 0.722222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c2db2e83f9bf1a7cbb2dfbffa3beeef1869fbc36 | 230 | py | Python | backend/models/generators/user.py | icerchou/TEST666 | 2f5e51856f65f690675bb8695c0b101e79b161c8 | [
"MIT"
] | 16 | 2020-02-16T08:39:44.000Z | 2021-09-05T05:08:36.000Z | backend/models/generators/user.py | icerchou/mandarin-library-automation | 305d68c1295e6d41a096fe052832cbb02e85c6a6 | [
"MIT"
] | 8 | 2020-02-19T13:50:22.000Z | 2020-03-24T13:45:24.000Z | backend/models/generators/user.py | icerchou/mandarin-library-automation | 305d68c1295e6d41a096fe052832cbb02e85c6a6 | [
"MIT"
] | 10 | 2020-02-22T11:49:36.000Z | 2020-06-11T00:39:17.000Z | from backend.models.user import User
users = [
("admin", "pass", "admin"),
("lib", "pass", "librarian"),
("reader", "pass", "reader"),
]
UsersGenerator = (User.new_user(name, pwd, role) for name, pwd, role in users)
| 23 | 78 | 0.608696 | 29 | 230 | 4.793103 | 0.62069 | 0.100719 | 0.158273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182609 | 230 | 9 | 79 | 25.555556 | 0.739362 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.428571 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c2dfaa0dcc47bc5ccea7cdb452be0c11109c257e | 208 | py | Python | tests/test_ami_parameter.py | FranzForstmayr/PyAMI | 498aae610bd1c6c5e06b23192850dc659c98b4cf | [
"BSD-2-Clause"
] | 15 | 2015-03-10T15:56:40.000Z | 2022-02-24T12:49:24.000Z | tests/test_ami_parameter.py | FranzForstmayr/PyAMI | 498aae610bd1c6c5e06b23192850dc659c98b4cf | [
"BSD-2-Clause"
] | 10 | 2015-05-08T15:08:29.000Z | 2021-12-09T23:54:27.000Z | tests/test_ami_parameter.py | FranzForstmayr/PyAMI | 498aae610bd1c6c5e06b23192850dc659c98b4cf | [
"BSD-2-Clause"
] | 8 | 2015-02-09T06:30:18.000Z | 2021-07-11T12:24:34.000Z | import pytest
from pyibisami.ami_parameter import AMIParamError
class Test_AMI_Parameter(object):
def test_AMIParamError(self):
with pytest.raises(Exception):
raise AMIParamError()
| 20.8 | 49 | 0.740385 | 23 | 208 | 6.521739 | 0.695652 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197115 | 208 | 9 | 50 | 23.111111 | 0.898204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c2e177988ee58d2d080a2154a797044977ed7c17 | 842 | py | Python | rowhammer_tester/scripts/playbook/payload_generators/__init__.py | pjattke/litex-rowhammer-tester | ad9217f03c6c1501ffbd8af927344eaa2ea392b8 | [
"Apache-2.0"
] | null | null | null | rowhammer_tester/scripts/playbook/payload_generators/__init__.py | pjattke/litex-rowhammer-tester | ad9217f03c6c1501ffbd8af927344eaa2ea392b8 | [
"Apache-2.0"
] | null | null | null | rowhammer_tester/scripts/playbook/payload_generators/__init__.py | pjattke/litex-rowhammer-tester | ad9217f03c6c1501ffbd8af927344eaa2ea392b8 | [
"Apache-2.0"
] | null | null | null | class PayloadGenerator():
subclasses = {}
def __init_subclass__(cls, **kwargs):
super().__init_subclass__(**kwargs)
PayloadGenerator.subclasses[cls.__name__] = cls()
def get_by_name(name):
return PayloadGenerator.subclasses[name]
def initialize(self, config):
raise Not... | 33.68 | 85 | 0.713777 | 88 | 842 | 6.568182 | 0.511364 | 0.207612 | 0.107266 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194774 | 842 | 24 | 86 | 35.083333 | 0.852507 | 0 | 0 | 0 | 0 | 0 | 0.195962 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0 | 0.058824 | 0.588235 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c2e471e49fdad78146ded7c418c605b51ad70406 | 243 | py | Python | iot_smart_locker_no_docker/lockers/templatetags/lockers_extras.py | gelbermann/iot-smart-locker | 6ffc990fc16ddfc4ca4d978182d2cdefe11544f8 | [
"MIT"
] | null | null | null | iot_smart_locker_no_docker/lockers/templatetags/lockers_extras.py | gelbermann/iot-smart-locker | 6ffc990fc16ddfc4ca4d978182d2cdefe11544f8 | [
"MIT"
] | null | null | null | iot_smart_locker_no_docker/lockers/templatetags/lockers_extras.py | gelbermann/iot-smart-locker | 6ffc990fc16ddfc4ca4d978182d2cdefe11544f8 | [
"MIT"
] | null | null | null | from django import template
from iot_smart_locker_no_docker.lockers.models import BaseQR
register = template.Library()
@register.filter(name="svg_inline")
def qr_svg_inline(qr: BaseQR, scale: int):
return qr.qr.svg_inline(scale=scale)
| 22.090909 | 60 | 0.790123 | 37 | 243 | 4.972973 | 0.621622 | 0.146739 | 0.119565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 243 | 10 | 61 | 24.3 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.041152 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
c2f2d0fc0ff3ff1c7d613538b1889073a7516dfb | 4,325 | py | Python | xmas4.py | DavidMS51/SMD_GPIO_xmas | 034186a4d34e306d2b26d949d241569cbdb941e7 | [
"MIT"
] | 1 | 2021-06-17T19:03:59.000Z | 2021-06-17T19:03:59.000Z | xmas4.py | DavidMS51/SMD_GPIO_xmas | 034186a4d34e306d2b26d949d241569cbdb941e7 | [
"MIT"
] | null | null | null | xmas4.py | DavidMS51/SMD_GPIO_xmas | 034186a4d34e306d2b26d949d241569cbdb941e7 | [
"MIT"
] | null | null | null | from gpiozero import LEDBoard
from gpiozero import PWMLED
from gpiozero import Button
from time import sleep
import random
import os
#setup switch and put
switch = Button(17, pull_up=True) # used to select beween flashing and fixed glow
push = Button(4, pull_up=True) # shut down and maybe mode change one day
def s... | 35.45082 | 158 | 0.704971 | 807 | 4,325 | 3.659232 | 0.157373 | 0.26854 | 0.289197 | 0.36573 | 0.606502 | 0.586184 | 0.586184 | 0.586184 | 0.586184 | 0.586184 | 0 | 0.098714 | 0.119306 | 4,325 | 121 | 159 | 35.743802 | 0.676556 | 0.095954 | 0 | 0.172043 | 0 | 0 | 0.014121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021505 | false | 0 | 0.064516 | 0.010753 | 0.107527 | 0.021505 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c2fdd0c38984965939f1652c02efe33a5d424e7e | 12,930 | py | Python | 0.1_non_generative_ensemble_methods/0.1.2_stacking_method/0.1.2.1_stacking_for_regression.py | Akshaykumarcp/ML-ensemble-learning | b142d7d2ac32554fe8dba545bfcb0a2fb31e02da | [
"MIT"
] | null | null | null | 0.1_non_generative_ensemble_methods/0.1.2_stacking_method/0.1.2.1_stacking_for_regression.py | Akshaykumarcp/ML-ensemble-learning | b142d7d2ac32554fe8dba545bfcb0a2fb31e02da | [
"MIT"
] | null | null | null | 0.1_non_generative_ensemble_methods/0.1.2_stacking_method/0.1.2.1_stacking_for_regression.py | Akshaykumarcp/ML-ensemble-learning | b142d7d2ac32554fe8dba545bfcb0a2fb31e02da | [
"MIT"
] | null | null | null | """
STACKING
- Although scikit-learn does implement most ensemble methods, stacking is not one of them. We will need to implement
custom stacking solutions for both regression and classification problems
- We will try to create a stacking ensemble for the diabetes regression dataset.
The ensembl... | 46.014235 | 122 | 0.558855 | 1,899 | 12,930 | 3.743023 | 0.194839 | 0.117051 | 0.174733 | 0.231851 | 0.188239 | 0.185003 | 0.167276 | 0.124648 | 0.105515 | 0.085537 | 0 | 0.301457 | 0.283449 | 12,930 | 280 | 123 | 46.178571 | 0.465731 | 0.13952 | 0 | 0.125 | 0 | 0.015625 | 0.045186 | 0.011824 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.109375 | 0 | 0.109375 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c129f1a14d9f19dd813a6e27f94c28e688a780f | 336 | py | Python | bike-sharing-demand/feature_is_2011_transformer.py | Bartosz-D3V/ml-dataset-analysis | cb2458dcb7cecba01f52be5b12e816ca00ce7da4 | [
"MIT"
] | null | null | null | bike-sharing-demand/feature_is_2011_transformer.py | Bartosz-D3V/ml-dataset-analysis | cb2458dcb7cecba01f52be5b12e816ca00ce7da4 | [
"MIT"
] | null | null | null | bike-sharing-demand/feature_is_2011_transformer.py | Bartosz-D3V/ml-dataset-analysis | cb2458dcb7cecba01f52be5b12e816ca00ce7da4 | [
"MIT"
] | null | null | null | from sklearn.base import BaseEstimator, TransformerMixin
class FeatureIs2011Transformer(BaseEstimator, TransformerMixin):
def fit(self, X, y=None):
return self
def transform(self, X, y=None):
X['is_2011'] = X['year'] \
.apply(lambda datetime: datetime == 2011) * 1
... | 28 | 72 | 0.619048 | 37 | 336 | 5.594595 | 0.621622 | 0.280193 | 0.057971 | 0.096618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053498 | 0.276786 | 336 | 11 | 73 | 30.545455 | 0.798354 | 0 | 0 | 0 | 0 | 0 | 0.032738 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
6c13cad0f0a0bd4e0cf92536f327f81610170a93 | 377 | py | Python | sympy/core/interval.py | gnulinooks/sympy | 46f63841f96cd025289b91ba9db3e261138d720a | [
"BSD-3-Clause"
] | 1 | 2016-05-09T10:08:18.000Z | 2016-05-09T10:08:18.000Z | sympy/core/interval.py | gnulinooks/sympy | 46f63841f96cd025289b91ba9db3e261138d720a | [
"BSD-3-Clause"
] | null | null | null | sympy/core/interval.py | gnulinooks/sympy | 46f63841f96cd025289b91ba9db3e261138d720a | [
"BSD-3-Clause"
] | null | null | null |
from basic import Basic
from sympify import _sympify
class Interval(Basic):
def __new__(cls, start, end, **assumptions):
start = _sympify(start)
end = _sympify(end)
return Basic.__new__(cls, start, end, **assumptions)
@property
def start(self):
return self._args[0]
@... | 19.842105 | 60 | 0.628647 | 46 | 377 | 4.869565 | 0.391304 | 0.107143 | 0.098214 | 0.125 | 0.223214 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.267905 | 377 | 18 | 61 | 20.944444 | 0.804348 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6c2c5025c8e835d9adf990f34fb0e4c85d5cb8b5 | 114 | py | Python | Python_Fundamentals/04_Lambda_Functions_And_Exercise/task_lists/06_reverse_list_in_place.py | Dochko0/Python | e9612c4e842cfd3d9a733526cc7485765ef2238f | [
"MIT"
] | null | null | null | Python_Fundamentals/04_Lambda_Functions_And_Exercise/task_lists/06_reverse_list_in_place.py | Dochko0/Python | e9612c4e842cfd3d9a733526cc7485765ef2238f | [
"MIT"
] | null | null | null | Python_Fundamentals/04_Lambda_Functions_And_Exercise/task_lists/06_reverse_list_in_place.py | Dochko0/Python | e9612c4e842cfd3d9a733526cc7485765ef2238f | [
"MIT"
] | null | null | null | number_list = list(map(int, input().split()))
number_list.reverse()
print(" ".join(str(x) for x in number_list)) | 22.8 | 45 | 0.692982 | 19 | 114 | 4 | 0.684211 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 114 | 5 | 46 | 22.8 | 0.745098 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c303ae9dc21b69304c30f7c1c88b3010484b501 | 221 | py | Python | test/test_bot_player.py | MohammadTarek96/Pigdicegame | d2bec3b1228ac657766a8ca291c1e87c115b7e73 | [
"MIT"
] | null | null | null | test/test_bot_player.py | MohammadTarek96/Pigdicegame | d2bec3b1228ac657766a8ca291c1e87c115b7e73 | [
"MIT"
] | null | null | null | test/test_bot_player.py | MohammadTarek96/Pigdicegame | d2bec3b1228ac657766a8ca291c1e87c115b7e73 | [
"MIT"
] | null | null | null | import unittest
from pig.player import BotPlayer, Strategy
class TestBotPlayer(unittest.TestCase):
def test_initialization(self):
bot = BotPlayer("bot")
self.assertIsInstance(bot.strategy, Strategy)
| 24.555556 | 53 | 0.742081 | 24 | 221 | 6.791667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171946 | 221 | 8 | 54 | 27.625 | 0.89071 | 0 | 0 | 0 | 0 | 0 | 0.013575 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6c35de6f6ce183c1560acce3e5edd030369a9313 | 468 | py | Python | 2019/01.py | bernikr/advent-of-code | 331e5257b9f812776d0723c7cdec349770498d34 | [
"MIT"
] | 1 | 2020-12-06T13:07:55.000Z | 2020-12-06T13:07:55.000Z | 2019/01.py | bernikr/advent-of-code | 331e5257b9f812776d0723c7cdec349770498d34 | [
"MIT"
] | null | null | null | 2019/01.py | bernikr/advent-of-code | 331e5257b9f812776d0723c7cdec349770498d34 | [
"MIT"
] | null | null | null | from aocd import get_data
def part1(a):
return sum(m // 3 - 2 for m in a)
def calculate_recursive_fuel(mass):
if mass <= 0:
return 0
else:
return max(0, mass // 3 - 2) + calculate_recursive_fuel(mass // 3 - 2)
def part2(a):
return sum(calculate_recursive_fuel(m) for m in a)
if __... | 19.5 | 78 | 0.619658 | 75 | 468 | 3.653333 | 0.48 | 0.021898 | 0.240876 | 0.051095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051136 | 0.247863 | 468 | 23 | 79 | 20.347826 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.066667 | 0.133333 | 0.533333 | 0.133333 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6c4837eb9e03403456aa6d6b337910c5a0b36cf3 | 666 | py | Python | games/coreminer/__init__.py | tannerJDA/Joueur.py | 23f6c3daac0561fe09257c45fe705298d770dbf3 | [
"MIT"
] | 4 | 2015-12-16T03:38:26.000Z | 2020-11-07T16:16:29.000Z | games/coreminer/__init__.py | JacobFischer/Joueur.py | 02bb5788ed5d88d24eb21869a10c6e7292ee9767 | [
"MIT"
] | 9 | 2016-10-08T08:27:57.000Z | 2020-11-07T19:12:57.000Z | games/coreminer/__init__.py | JacobFischer/Joueur.py | 02bb5788ed5d88d24eb21869a10c6e7292ee9767 | [
"MIT"
] | 40 | 2015-10-23T22:40:44.000Z | 2020-11-07T21:18:00.000Z | # DO NOT MODIFY THESE IMPORTS
from games.coreminer.ai import AI
from games.coreminer.game import Game
from games.coreminer.bomb import Bomb
from games.coreminer.game_object import GameObject
from games.coreminer.miner import Miner
from games.coreminer.player import Player
from games.coreminer.tile import Tile
from game... | 41.625 | 126 | 0.803303 | 93 | 666 | 5.731183 | 0.505376 | 0.135084 | 0.270169 | 0.082552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06701 | 0.126126 | 666 | 15 | 127 | 44.4 | 0.848797 | 0.372372 | 0 | 0 | 0 | 0 | 0.154964 | 0.154964 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6c4bcaa69546513df94ab570be6b4d75b8c24458 | 2,526 | py | Python | bot/groups.py | NightSkyStudios/telegram-defender | 75599bdf0fb10ea541237a679240f2f2b99729d2 | [
"Apache-2.0"
] | 1 | 2020-11-19T11:32:37.000Z | 2020-11-19T11:32:37.000Z | bot/groups.py | NightSkyStudios/telegram-defender | 75599bdf0fb10ea541237a679240f2f2b99729d2 | [
"Apache-2.0"
] | 1 | 2021-06-02T00:35:39.000Z | 2021-06-02T00:35:39.000Z | bot/groups.py | nss-agency/telegram-defender | 75599bdf0fb10ea541237a679240f2f2b99729d2 | [
"Apache-2.0"
] | null | null | null | import json
class Groups:
# Default settings for new chats
default_mode = 0
default_mute = 0
default_bias = 0
dictionary = {}
def __init__(self, file_name):
self.file_name = file_name
self.dictionary = json.load(open(self.file_name, 'r', errors='ignore'))
def __update_fil... | 35.577465 | 97 | 0.616785 | 340 | 2,526 | 4.214706 | 0.161765 | 0.104676 | 0.076762 | 0.058618 | 0.54501 | 0.345429 | 0.27425 | 0.230984 | 0.121424 | 0.066992 | 0 | 0.002156 | 0.265637 | 2,526 | 71 | 98 | 35.577465 | 0.77035 | 0.07601 | 0 | 0.204082 | 0 | 0 | 0.051976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.020408 | 0.102041 | 0.530612 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6c59f11318f8ae8710ce94003cd84e44c4d38dde | 21,294 | py | Python | scenegraph/exp-official/taskographyv3medium10bagslots3_bfws/taskographyv3medium10bagslots3_bfws_test.py | taskography/3dscenegraph-dev | 2c261241230fbea1f1c687ff793478248f25c02c | [
"MIT"
] | 1 | 2022-01-30T22:06:57.000Z | 2022-01-30T22:06:57.000Z | scenegraph/exp-official/taskographyv3medium10bagslots3_bfws/taskographyv3medium10bagslots3_bfws_test.py | taskography/3dscenegraph-dev | 2c261241230fbea1f1c687ff793478248f25c02c | [
"MIT"
] | null | null | null | scenegraph/exp-official/taskographyv3medium10bagslots3_bfws/taskographyv3medium10bagslots3_bfws_test.py | taskography/3dscenegraph-dev | 2c261241230fbea1f1c687ff793478248f25c02c | [
"MIT"
] | null | null | null | STATS = [
{
"num_node_expansions": 3478,
"plan_cost": 158.0,
"plan_length": 158,
"search_time": 0.247916,
"total_time": 0.247916
},
{
"num_node_expansions": 4304,
"plan_cost": 166.0,
"plan_length": 166,
"search_time": 0.251502,
... | 24.170261 | 37 | 0.500188 | 2,385 | 21,294 | 4.150105 | 0.137526 | 0.114164 | 0.21469 | 0.006062 | 0.356335 | 0.356335 | 0.347848 | 0.347848 | 0.347848 | 0.301879 | 0 | 0.225673 | 0.352822 | 21,294 | 880 | 38 | 24.197727 | 0.492562 | 0 | 0 | 0.222727 | 0 | 0 | 0.352212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c6501995235ff7a47049104ed76e351f626a529 | 272 | py | Python | apps/streams/management/commands/live_ticker.py | rangertaha/newslytics | 204561507816c5daf3b8c5b89afd56d487b23311 | [
"MIT"
] | null | null | null | apps/streams/management/commands/live_ticker.py | rangertaha/newslytics | 204561507816c5daf3b8c5b89afd56d487b23311 | [
"MIT"
] | null | null | null | apps/streams/management/commands/live_ticker.py | rangertaha/newslytics | 204561507816c5daf3b8c5b89afd56d487b23311 | [
"MIT"
] | null | null | null | #http://finance.google.com/finance/info?client=ig&q=NSE:HDFC
"""
>>> from yahoo_finance import Share
>>> yahoo = Share('YHOO')
>>> print yahoo.get_open()
'36.60'
>>> print yahoo.get_price()
'36.84'
>>> print yahoo.get_trade_datetime()
'2014-02-05 20:50:00 UTC+0000'
""" | 19.428571 | 60 | 0.672794 | 44 | 272 | 4.045455 | 0.727273 | 0.168539 | 0.219101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 0.102941 | 272 | 14 | 61 | 19.428571 | 0.622951 | 0.955882 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c72d3fb800af4f3819d9cee20696f492d9aac46 | 41 | py | Python | {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/version.py | matthieumarshall/pypackagetemplate | 440ee0410a7c73bd733e638c2d85ae29f0cab197 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/version.py | matthieumarshall/pypackagetemplate | 440ee0410a7c73bd733e638c2d85ae29f0cab197 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/version.py | matthieumarshall/pypackagetemplate | 440ee0410a7c73bd733e638c2d85ae29f0cab197 | [
"MIT"
] | null | null | null | __version__ = "0.0.1"
__commit__ = None
| 10.25 | 21 | 0.682927 | 6 | 41 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.170732 | 41 | 3 | 22 | 13.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c8a5906c757130f1f38128887e25437938df08d | 200 | py | Python | async_pubsub/constants.py | abhinavsingh/async_pubsub | aeea4e2451edf4e45b44d333eb4131353f78ac48 | [
"BSD-3-Clause"
] | 17 | 2015-01-26T12:57:01.000Z | 2022-03-04T09:11:38.000Z | async_pubsub/constants.py | kashyap2108/async_pubsub | aeea4e2451edf4e45b44d333eb4131353f78ac48 | [
"BSD-3-Clause"
] | 2 | 2019-09-01T03:10:36.000Z | 2019-09-30T19:11:36.000Z | async_pubsub/constants.py | kashyap2108/async_pubsub | aeea4e2451edf4e45b44d333eb4131353f78ac48 | [
"BSD-3-Clause"
] | 8 | 2015-03-13T14:48:11.000Z | 2020-07-14T17:04:01.000Z | CALLBACK_TYPE_CONNECTED = 'CONNECTED'
CALLBACK_TYPE_DISCONNECTED = 'DISCONNECTED'
CALLBACK_TYPE_SUBSCRIBED = 'SUBSCRIBED'
CALLBACK_TYPE_UNSUBSCRIBED = 'UNSUBSCRIBED'
CALLBACK_TYPE_MESSAGE = 'MESSAGE'
| 33.333333 | 43 | 0.85 | 20 | 200 | 8 | 0.35 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 200 | 5 | 44 | 40 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
665928495be29ad38878ce1a84be4ae67dd81bb6 | 2,736 | py | Python | utils/bucketing.py | aizuza/cartPole | 94526857ae11b00962dcaa3a00ef3d7d035eec1d | [
"MIT"
] | null | null | null | utils/bucketing.py | aizuza/cartPole | 94526857ae11b00962dcaa3a00ef3d7d035eec1d | [
"MIT"
] | null | null | null | utils/bucketing.py | aizuza/cartPole | 94526857ae11b00962dcaa3a00ef3d7d035eec1d | [
"MIT"
] | 1 | 2019-11-18T15:28:10.000Z | 2019-11-18T15:28:10.000Z | class BuckterInterface:
"""Interface for bucketers."""
def get_bucketed(self, value):
"""Convert a value into a discrete value via bucketing.
Arguments:
value: the value to discretise.
Returns: the bucketed value.
"""
raise NotImplementedError
d... | 35.532468 | 141 | 0.631579 | 371 | 2,736 | 4.471698 | 0.229111 | 0.062688 | 0.0434 | 0.03255 | 0.320675 | 0.277275 | 0.204943 | 0.204943 | 0.204943 | 0.204943 | 0 | 0.004582 | 0.282164 | 2,736 | 77 | 142 | 35.532468 | 0.836049 | 0.389254 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 1 | 0.266667 | false | 0 | 0 | 0.133333 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
667beaf895ae6962b63f87772bc7e913f5d09fe5 | 148 | py | Python | zun_ui/content/container/pods/panel.py | JunyouLiu/zun-ui | d72976ecd108375fe03df4edf3041355c3e65823 | [
"Apache-2.0"
] | null | null | null | zun_ui/content/container/pods/panel.py | JunyouLiu/zun-ui | d72976ecd108375fe03df4edf3041355c3e65823 | [
"Apache-2.0"
] | null | null | null | zun_ui/content/container/pods/panel.py | JunyouLiu/zun-ui | d72976ecd108375fe03df4edf3041355c3e65823 | [
"Apache-2.0"
] | null | null | null | from django.utils.translation import ugettext_lazy as _
import horizon
class Pods(horizon.Panel):
name = _("Pods")
slug = "container.pods" | 21.142857 | 55 | 0.72973 | 19 | 148 | 5.526316 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168919 | 148 | 7 | 56 | 21.142857 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0.120805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6685970ce5f0ff26a2ecf7fa66a55c4bcf236971 | 1,227 | py | Python | python_modules/dagster/dagster/core/storage/config.py | silentsokolov/dagster | 510bf07bf6906294d5a239d60079c88211002ebf | [
"Apache-2.0"
] | null | null | null | python_modules/dagster/dagster/core/storage/config.py | silentsokolov/dagster | 510bf07bf6906294d5a239d60079c88211002ebf | [
"Apache-2.0"
] | null | null | null | python_modules/dagster/dagster/core/storage/config.py | silentsokolov/dagster | 510bf07bf6906294d5a239d60079c88211002ebf | [
"Apache-2.0"
] | null | null | null | from dagster.config import Field, Permissive, Selector
from dagster.config.source import IntSource, StringSource
def mysql_config():
return Selector(
{
"mysql_url": StringSource,
"mysql_db": {
"username": StringSource,
"password": StringSource,
... | 33.162162 | 93 | 0.559902 | 105 | 1,227 | 6.333333 | 0.352381 | 0.105263 | 0.157895 | 0.165414 | 0.565414 | 0.369925 | 0.369925 | 0.369925 | 0.369925 | 0.369925 | 0 | 0.009732 | 0.330073 | 1,227 | 36 | 94 | 34.083333 | 0.79927 | 0 | 0 | 0.25 | 0 | 0 | 0.127139 | 0.01956 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | true | 0.0625 | 0.0625 | 0.0625 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
668676dbc63e4ae354ebe3e2c9d1e3ddeaadfe93 | 800 | py | Python | PasswortFenster/Konfigurationen/__init__.py | heureka-code/PasswortFenster | 18d2ecd151a7997909109944c4a67f7176b848be | [
"MIT"
] | 1 | 2021-03-21T21:10:33.000Z | 2021-03-21T21:10:33.000Z | PasswortFenster/Konfigurationen/__init__.py | heureka-code/PasswortFenster | 18d2ecd151a7997909109944c4a67f7176b848be | [
"MIT"
] | null | null | null | PasswortFenster/Konfigurationen/__init__.py | heureka-code/PasswortFenster | 18d2ecd151a7997909109944c4a67f7176b848be | [
"MIT"
] | null | null | null | from .UserWidgetStrings import UserWidgetStrings
from .SubmitWidgetStrings import SubmitWidgetStrings
from .PasswortWidgetStrings import PasswortWidgetStrings
from .WindowKonfigurationen import WindowKonfiguration
from .UserWidgetStrings import __doc__ as UserWidgetStrings__doc__
from .SubmitWidgetStrings import __doc_... | 47.058824 | 88 | 0.8 | 69 | 800 | 8.521739 | 0.304348 | 0.061224 | 0.07483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004458 | 0.15875 | 800 | 16 | 89 | 50 | 0.869242 | 0 | 0 | 0 | 0 | 0 | 0.108886 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.214286 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
6694f9cfa23adbbf81cbf29403b415a9a25f2cec | 375 | py | Python | xroms0/__init__.py | bjornaa/xroms0 | 736687bd02d00d867d1d2450244b102c3873ed34 | [
"MIT"
] | null | null | null | xroms0/__init__.py | bjornaa/xroms0 | 736687bd02d00d867d1d2450244b102c3873ed34 | [
"MIT"
] | null | null | null | xroms0/__init__.py | bjornaa/xroms0 | 736687bd02d00d867d1d2450244b102c3873ed34 | [
"MIT"
] | 1 | 2022-01-22T07:03:21.000Z | 2022-01-22T07:03:21.000Z | """XROMS – xarray post processing tools for ROMS"""
# ----------------------------------
# Init file for the xroms package
#
# Bjørn Ådlandsvik <bjorn at imr.no>
# Institute of Marine Research
# ----------------------------------
from xroms0.xroms import *
from xroms0.section import section
from xroms0.depth import H... | 26.785714 | 51 | 0.626667 | 44 | 375 | 5.363636 | 0.704545 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018462 | 0.133333 | 375 | 13 | 52 | 28.846154 | 0.704615 | 0.565333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
669a623551c312ad0659287a6a375801058350e3 | 197 | py | Python | central_executive/episodic_LTM/episodic_ltm.py | sarahaguasvivas/open_ended_learning | f23394c026843abca675833b424ce4d8a59036f3 | [
"MIT"
] | null | null | null | central_executive/episodic_LTM/episodic_ltm.py | sarahaguasvivas/open_ended_learning | f23394c026843abca675833b424ce4d8a59036f3 | [
"MIT"
] | 1 | 2019-10-24T23:13:18.000Z | 2019-10-24T23:13:18.000Z | central_executive/episodic_LTM/episodic_ltm.py | sarahaguasvivas/open_ended_learning | f23394c026843abca675833b424ce4d8a59036f3 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class EpisodicLTM(ABC):
"""
Episodic LTM:
This class is interacting with the knowledge.
"""
def __init__(self):
pass
| 9.380952 | 53 | 0.593909 | 21 | 197 | 5.380952 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.329949 | 197 | 20 | 54 | 9.85 | 0.856061 | 0.324873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 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 | 0 | 0 | 0 | 3 |
66b569a54f2e13df6ca09d4b99b28c7276d36600 | 452 | py | Python | src/frontend/tests/conftest.py | gabraganca/quickstar | 141274ba781533bf33aa73765c9dfe96e6429164 | [
"MIT"
] | null | null | null | src/frontend/tests/conftest.py | gabraganca/quickstar | 141274ba781533bf33aa73765c9dfe96e6429164 | [
"MIT"
] | 130 | 2020-07-05T02:20:01.000Z | 2021-08-25T05:01:58.000Z | src/frontend/tests/conftest.py | gabraganca/quickstar | 141274ba781533bf33aa73765c9dfe96e6429164 | [
"MIT"
] | null | null | null | from unittest.mock import patch
from functools import wraps
import pytest
def _mock_decorator(*args, **kwargs):
def decorator(f):
@wraps(f)
def decorated_function(*args, **kwargs):
return f(*args, **kwargs)
return decorated_function
return decorator
@pytest.fixture
def... | 18.833333 | 55 | 0.672566 | 52 | 452 | 5.692308 | 0.461538 | 0.101351 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227876 | 452 | 23 | 56 | 19.652174 | 0.848138 | 0 | 0 | 0 | 0 | 0 | 0.033186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.0625 | 0.1875 | 0.0625 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
66bebde875b58b3a7e4bee8d17d3250ead2944f9 | 152 | py | Python | src/fiesta/apps/common/apps.py | lerooze/django-fiesta | d521f50bcdd3d40e91f0474ec2fa7e256758e0a5 | [
"BSD-3-Clause"
] | null | null | null | src/fiesta/apps/common/apps.py | lerooze/django-fiesta | d521f50bcdd3d40e91f0474ec2fa7e256758e0a5 | [
"BSD-3-Clause"
] | 3 | 2019-10-29T23:31:01.000Z | 2020-03-31T03:08:28.000Z | src/fiesta/apps/common/apps.py | lerooze/django-fiesta | d521f50bcdd3d40e91f0474ec2fa7e256758e0a5 | [
"BSD-3-Clause"
] | null | null | null | # apps.py
from ...core.application import BaseFiestaConfig
class CommonConfig(BaseFiestaConfig):
label = 'common'
name = 'fiesta.apps.common'
| 19 | 48 | 0.730263 | 16 | 152 | 6.9375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 152 | 7 | 49 | 21.714286 | 0.867188 | 0.046053 | 0 | 0 | 0 | 0 | 0.167832 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
66e723ce277bb60619433321f01637d3cbb30885 | 70 | py | Python | HSAHRBNUOJ/P31xx/P3133.py | HeRaNO/OI-ICPC-Codes | 4a4639cd3e347b472520065ca6ab8caadde6906d | [
"MIT"
] | 18 | 2019-01-01T13:16:59.000Z | 2022-02-28T04:51:50.000Z | HSAHRBNUOJ/P31xx/P3133.py | HeRaNO/OI-ICPC-Codes | 4a4639cd3e347b472520065ca6ab8caadde6906d | [
"MIT"
] | null | null | null | HSAHRBNUOJ/P31xx/P3133.py | HeRaNO/OI-ICPC-Codes | 4a4639cd3e347b472520065ca6ab8caadde6906d | [
"MIT"
] | 5 | 2019-09-13T08:48:17.000Z | 2022-02-19T06:59:03.000Z | n=int(raw_input())
ans=1
for i in range (1,n+1):
ans*=i
print ans
| 11.666667 | 23 | 0.614286 | 17 | 70 | 2.470588 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.2 | 70 | 5 | 24 | 14 | 0.696429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
66ea77be39343a49686f9fa304caaef490abc804 | 54 | py | Python | app/booking/__init__.py | mandarhan/mandarhan | 9ce38d10e536e0d3e2f907c3b5c560d66ccf8e40 | [
"MIT"
] | null | null | null | app/booking/__init__.py | mandarhan/mandarhan | 9ce38d10e536e0d3e2f907c3b5c560d66ccf8e40 | [
"MIT"
] | 6 | 2020-02-18T03:49:09.000Z | 2022-03-12T00:10:05.000Z | app/booking/__init__.py | mandarhan/mandarhan | 9ce38d10e536e0d3e2f907c3b5c560d66ccf8e40 | [
"MIT"
] | 1 | 2020-03-25T10:25:43.000Z | 2020-03-25T10:25:43.000Z | default_app_config = "app.booking.apps.BookingConfig"
| 27 | 53 | 0.833333 | 7 | 54 | 6.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 54 | 1 | 54 | 54 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 0.555556 | 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 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dd120bdd3577984017014993397896105bf79970 | 252 | py | Python | danceschool/payments/payatdoor/urls.py | benjwrdill/django-danceschool | 9ecb2754502e62d0f49aa23d08ca6de6cae3c99a | [
"BSD-3-Clause"
] | 1 | 2019-02-04T02:11:32.000Z | 2019-02-04T02:11:32.000Z | danceschool/payments/payatdoor/urls.py | benjwrdill/django-danceschool | 9ecb2754502e62d0f49aa23d08ca6de6cae3c99a | [
"BSD-3-Clause"
] | 2 | 2019-03-26T22:37:49.000Z | 2019-12-02T15:39:35.000Z | danceschool/payments/payatdoor/urls.py | benjwrdill/django-danceschool | 9ecb2754502e62d0f49aa23d08ca6de6cae3c99a | [
"BSD-3-Clause"
] | 1 | 2019-03-19T22:49:01.000Z | 2019-03-19T22:49:01.000Z | from django.conf.urls import url
from .views import handle_payatdoor, handle_willpayatdoor
urlpatterns = [
url(r'^submit/$', handle_willpayatdoor, name='doorWillPayHandler'),
url(r'^process/$', handle_payatdoor, name='doorPaymentHandler'),
]
| 28 | 71 | 0.753968 | 28 | 252 | 6.642857 | 0.607143 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115079 | 252 | 8 | 72 | 31.5 | 0.834081 | 0 | 0 | 0 | 0 | 0 | 0.218254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dd14214b247ebe367bfd7a2ef4dda556392f29ee | 223 | py | Python | task_1/Test_CreateMatrix.py | Hickey3197/educoder | bf45cef420c7b1f1d052cb108e9be8e14a724068 | [
"Apache-2.0"
] | null | null | null | task_1/Test_CreateMatrix.py | Hickey3197/educoder | bf45cef420c7b1f1d052cb108e9be8e14a724068 | [
"Apache-2.0"
] | null | null | null | task_1/Test_CreateMatrix.py | Hickey3197/educoder | bf45cef420c7b1f1d052cb108e9be8e14a724068 | [
"Apache-2.0"
] | null | null | null | from CreateMatrix import createMatrixList
if __name__ == '__main__':
test = input().split(' ')
length,rows,cols=list(map(int, test))
matrix_list = createMatrixList(length,rows,cols)
print(matrix_list) | 31.857143 | 53 | 0.695067 | 26 | 223 | 5.576923 | 0.692308 | 0.137931 | 0.193103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179372 | 223 | 7 | 54 | 31.857143 | 0.79235 | 0 | 0 | 0 | 0 | 0 | 0.041284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dd3682d4fb22e4ae7b0d3ccbd1b3748dcdfa7a9f | 142 | py | Python | A2-神经网络基本原理简明教程/helper_class1/enum_def.py | Tester-JasonWang/AI-learning | b13324f14489e9aa60fb2118f9c066ed3f3ad03b | [
"Apache-2.0"
] | null | null | null | A2-神经网络基本原理简明教程/helper_class1/enum_def.py | Tester-JasonWang/AI-learning | b13324f14489e9aa60fb2118f9c066ed3f3ad03b | [
"Apache-2.0"
] | null | null | null | A2-神经网络基本原理简明教程/helper_class1/enum_def.py | Tester-JasonWang/AI-learning | b13324f14489e9aa60fb2118f9c066ed3f3ad03b | [
"Apache-2.0"
] | null | null | null | from enum import Enum
class NetType(Enum):
Fitting = 1,
BinaryClassifier = 2,
MultipleClassifier = 3
BinaryTanh = 4
| 15.777778 | 27 | 0.626761 | 15 | 142 | 5.933333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.309859 | 142 | 8 | 28 | 17.75 | 0.867347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
dd418ed18547a242b54dd7362c52d79cb600e5b4 | 11,512 | py | Python | espnet_onnx/export/asr/models/decoders/attention.py | Masao-Someki/espnet_onnx | a0f44a087329bdcc292a4479ddf29d299edd92e5 | [
"MIT"
] | 24 | 2022-03-14T00:10:58.000Z | 2022-03-31T09:07:52.000Z | espnet_onnx/export/asr/models/decoders/attention.py | Masao-Someki/espnet_onnx | a0f44a087329bdcc292a4479ddf29d299edd92e5 | [
"MIT"
] | 3 | 2022-03-14T03:01:23.000Z | 2022-03-21T08:47:25.000Z | espnet_onnx/export/asr/models/decoders/attention.py | Masao-Someki/espnet_onnx | a0f44a087329bdcc292a4479ddf29d299edd92e5 | [
"MIT"
] | 1 | 2022-03-18T03:47:20.000Z | 2022-03-18T03:47:20.000Z |
import torch
import torch.nn as nn
import torch.nn.functional as F
from espnet.nets.pytorch_backend.rnn.attentions import (
NoAtt,
AttDot,
AttAdd,
AttLoc,
AttLoc2D,
AttLocRec,
AttCov,
AttCovLoc,
AttMultiHeadDot,
AttMultiHeadAdd,
AttMultiHeadLoc,
AttMultiHeadMultiResLoc
... | 27.47494 | 86 | 0.569319 | 1,648 | 11,512 | 3.761529 | 0.102549 | 0.025811 | 0.036296 | 0.029037 | 0.73657 | 0.718342 | 0.702694 | 0.665269 | 0.639297 | 0.635425 | 0 | 0.016056 | 0.329135 | 11,512 | 418 | 87 | 27.54067 | 0.786611 | 0.31984 | 0 | 0.671053 | 0 | 0 | 0.019585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.017544 | 0.026316 | 0.20614 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dd4a8348093249bbbe4b30093f20cc844a2d6ce7 | 210 | py | Python | python/twisted/web_static_content.py | y2ghost/work | b7f5b02db9dc0df6157bc799ddb4a1ac9d574cf3 | [
"MIT"
] | null | null | null | python/twisted/web_static_content.py | y2ghost/work | b7f5b02db9dc0df6157bc799ddb4a1ac9d574cf3 | [
"MIT"
] | null | null | null | python/twisted/web_static_content.py | y2ghost/work | b7f5b02db9dc0df6157bc799ddb4a1ac9d574cf3 | [
"MIT"
] | null | null | null | from twisted.internet import reactor
from twisted.web.server import Site
from twisted.web.static import File
resource = File('./static')
factory = Site(resource)
reactor.listenTCP(8000, factory)
reactor.run()
| 23.333333 | 36 | 0.790476 | 29 | 210 | 5.724138 | 0.517241 | 0.198795 | 0.168675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.104762 | 210 | 8 | 37 | 26.25 | 0.861702 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dd4c05851804ff9ed03f8d3d9c9f34160aa60131 | 3,778 | py | Python | dlrn/migrations/versions/f38ba3389b85_set_string_length.py | morucci/DLRN | fe92c891d8d3a191371babfa98b6465dbd318877 | [
"Apache-2.0"
] | 9 | 2017-05-11T23:54:42.000Z | 2022-02-23T20:22:08.000Z | dlrn/migrations/versions/f38ba3389b85_set_string_length.py | morucci/DLRN | fe92c891d8d3a191371babfa98b6465dbd318877 | [
"Apache-2.0"
] | 18 | 2017-06-02T11:02:20.000Z | 2022-03-25T14:34:30.000Z | dlrn/migrations/versions/f38ba3389b85_set_string_length.py | morucci/DLRN | fe92c891d8d3a191371babfa98b6465dbd318877 | [
"Apache-2.0"
] | 7 | 2017-06-01T15:54:24.000Z | 2022-02-23T20:22:09.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | 43.930233 | 76 | 0.60217 | 465 | 3,778 | 4.636559 | 0.247312 | 0.122449 | 0.222635 | 0.183673 | 0.690167 | 0.690167 | 0.690167 | 0.660482 | 0.609462 | 0.603896 | 0 | 0.042301 | 0.28666 | 3,778 | 85 | 77 | 44.447059 | 0.757699 | 0.177078 | 0 | 0.607143 | 0 | 0 | 0.08479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.035714 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dd60fd1e344edd2ee30aaa0def1f0d9ba81c7baa | 180 | py | Python | Codes/05. Example 02 Ans.py | mrfoxie/Python-for-beginners | 4aaff536cf4c311fd4fbd6cb913a546c4db66c50 | [
"MIT"
] | null | null | null | Codes/05. Example 02 Ans.py | mrfoxie/Python-for-beginners | 4aaff536cf4c311fd4fbd6cb913a546c4db66c50 | [
"MIT"
] | null | null | null | Codes/05. Example 02 Ans.py | mrfoxie/Python-for-beginners | 4aaff536cf4c311fd4fbd6cb913a546c4db66c50 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
name = input("Write your name: ")
color = input("Enter your favorite color: ")
print('Your Answer is bellow.\n')
print(name + ' likes ' + color + ' color.')
| 30 | 44 | 0.655556 | 26 | 180 | 4.538462 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.161111 | 180 | 5 | 45 | 36 | 0.774834 | 0.116667 | 0 | 0 | 0 | 0 | 0.518987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
06ceb732f7adc7959c6ee9af182edfdf6cc16092 | 946 | py | Python | src/labster/infrastructure/repositories/sqla/demande_repository.py | jean3108/labandco | 4317e7d3875f10d76076ad5fc68c1ba3c12badba | [
"Apache-2.0"
] | 2 | 2019-11-11T22:09:58.000Z | 2020-01-20T19:44:30.000Z | src/labster/infrastructure/repositories/sqla/demande_repository.py | jean3108/labandco | 4317e7d3875f10d76076ad5fc68c1ba3c12badba | [
"Apache-2.0"
] | 15 | 2020-03-31T10:58:37.000Z | 2022-01-22T09:14:49.000Z | src/labster/infrastructure/repositories/sqla/demande_repository.py | jean3108/labandco | 4317e7d3875f10d76076ad5fc68c1ba3c12badba | [
"Apache-2.0"
] | 2 | 2021-05-28T12:20:24.000Z | 2021-09-08T11:27:57.000Z | from __future__ import annotations
from typing import Collection
from flask_sqlalchemy import SQLAlchemy
from injector import inject
from sqlalchemy.orm import Session
from labster.domain2.model.demande import Demande, DemandeRepository
from labster.infrastructure.repositories.sqla.mappers import Mapper
# types_dem... | 25.567568 | 68 | 0.699789 | 113 | 946 | 5.743363 | 0.451327 | 0.067797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001333 | 0.207188 | 946 | 36 | 69 | 26.277778 | 0.864 | 0.121564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.318182 | 0.090909 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
06e0b26ec5dd10139ae3d2a7a3e3dddc3eddb7e7 | 1,204 | py | Python | course-2/week1_basic_data_structures/1_brackets_in_code/check_brackets.py | rushikeshkoli/coursera | a335c2ee110e3f7db906ca89231b360e28764603 | [
"MIT"
] | 1 | 2020-07-23T11:21:45.000Z | 2020-07-23T11:21:45.000Z | course-2/week1_basic_data_structures/1_brackets_in_code/check_brackets.py | rushikeshkoli/coursera | a335c2ee110e3f7db906ca89231b360e28764603 | [
"MIT"
] | null | null | null | course-2/week1_basic_data_structures/1_brackets_in_code/check_brackets.py | rushikeshkoli/coursera | a335c2ee110e3f7db906ca89231b360e28764603 | [
"MIT"
] | null | null | null | # python3
from collections import namedtuple
Bracket = namedtuple("Bracket", ["char", "position"])
def are_matching(left, right):
return (left + right) in ["()", "[]", "{}"]
def find_mismatch(text):
opening_brackets_stack = []
j = 0
for i, next in enumerate(text):
# print(i)[][]
if... | 23.153846 | 63 | 0.536545 | 140 | 1,204 | 4.442857 | 0.35 | 0.144695 | 0.192926 | 0.081994 | 0.110932 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.343023 | 1,204 | 51 | 64 | 23.607843 | 0.768647 | 0.124585 | 0 | 0.176471 | 0 | 0 | 0.043893 | 0 | 0 | 0 | 0 | 0.019608 | 0 | 1 | 0.088235 | false | 0.058824 | 0.029412 | 0.029412 | 0.264706 | 0.058824 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
06e36aa71f850a83789ee716a5ffc432d0f1b21d | 4,307 | py | Python | notcallback/exceptions.py | tonywu7/notcallback | c06c5b1aca369f7998f77a5b9309fba03050f343 | [
"MIT"
] | 1 | 2021-05-31T05:26:53.000Z | 2021-05-31T05:26:53.000Z | notcallback/exceptions.py | tonywu7/notcallback | c06c5b1aca369f7998f77a5b9309fba03050f343 | [
"MIT"
] | null | null | null | notcallback/exceptions.py | tonywu7/notcallback | c06c5b1aca369f7998f77a5b9309fba03050f343 | [
"MIT"
] | null | null | null | # MIT License
#
# Copyright (c) 2020 Tony Wu <tony[dot]wu(at)nyu[dot]edu>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to u... | 36.193277 | 127 | 0.701648 | 551 | 4,307 | 5.290381 | 0.395644 | 0.030189 | 0.022298 | 0.019554 | 0.074099 | 0.054202 | 0.036364 | 0 | 0 | 0 | 0 | 0.001163 | 0.201532 | 4,307 | 118 | 128 | 36.5 | 0.846467 | 0.50801 | 0 | 0.255814 | 0 | 0.023256 | 0.118905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.209302 | false | 0.093023 | 0.023256 | 0.046512 | 0.604651 | 0.046512 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
66095be11aa5b1e32f0069973e289f8fd1618fe5 | 956 | py | Python | architectures/providers/gcp/compute.py | marinmuso/architectures | d824056e6e69cdb06db31562a1fb71af058892c0 | [
"MIT"
] | 15 | 2021-01-18T02:46:12.000Z | 2021-08-23T20:10:22.000Z | architectures/providers/gcp/compute.py | marinmuso/architectures | d824056e6e69cdb06db31562a1fb71af058892c0 | [
"MIT"
] | 77 | 2021-01-11T05:01:30.000Z | 2021-08-15T22:39:19.000Z | architectures/providers/gcp/compute.py | marinmuso/architectures | d824056e6e69cdb06db31562a1fb71af058892c0 | [
"MIT"
] | 2 | 2021-01-10T19:28:13.000Z | 2021-08-12T19:06:45.000Z | # Do not modify this file directly. It is auto-generated with Python.
from architectures.providers import _Gcp
class _Compute(_Gcp):
_service_type = "compute"
_icon_dir = "icons/gcp/compute"
class Functions(_Compute):
_icon = "functions.png"
_default_label = "Functions"
class KubernetesEngine(_Compu... | 24.512821 | 69 | 0.708159 | 114 | 956 | 5.596491 | 0.385965 | 0.155172 | 0.188088 | 0.098746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1841 | 956 | 39 | 70 | 24.512821 | 0.817949 | 0.070084 | 0 | 0 | 1 | 0 | 0.263514 | 0.052928 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035714 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
660b8202651beebbea219aba4d5faa52b68b018d | 1,756 | py | Python | boto3_type_annotations/boto3_type_annotations/transcribe/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations/boto3_type_annotations/transcribe/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations/boto3_type_annotations/transcribe/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Optional
from botocore.client import BaseClient
from typing import Dict
from typing import Union
from botocore.paginate import Paginator
from botocore.waiter import Waiter
from typing import List
class Client(BaseClient):
def can_paginate(self, operation_name: str = None):
pass
def... | 35.836735 | 210 | 0.702733 | 206 | 1,756 | 5.88835 | 0.271845 | 0.080791 | 0.054411 | 0.102226 | 0.396538 | 0.207749 | 0.153339 | 0.153339 | 0.153339 | 0.153339 | 0 | 0 | 0.210137 | 1,756 | 48 | 211 | 36.583333 | 0.874549 | 0 | 0 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.382353 | false | 0.382353 | 0.205882 | 0 | 0.617647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
660f4cae6ce9d17de5e83699be87f2c127f2f182 | 592 | py | Python | extension/setup.py | ajdillhoff/pytorch-mesh-mask | 7f86b2229bce6723666bf4a1494cec79070add32 | [
"MIT"
] | 3 | 2019-07-17T10:10:11.000Z | 2020-10-10T23:57:03.000Z | extension/setup.py | ajdillhoff/pytorch-mesh-mask | 7f86b2229bce6723666bf4a1494cec79070add32 | [
"MIT"
] | null | null | null | extension/setup.py | ajdillhoff/pytorch-mesh-mask | 7f86b2229bce6723666bf4a1494cec79070add32 | [
"MIT"
] | 1 | 2019-07-18T07:34:23.000Z | 2019-07-18T07:34:23.000Z | from setuptools import setup
from torch.utils.cpp_extension import CppExtension, CUDAExtension, BuildExtension
setup(name='compute_mesh_mask',
ext_modules=[
CUDAExtension('compute_mesh_mask_cuda', [
'gpu/compute_mesh_mask_cuda.cpp',
'gpu/compute_mesh_mask.cu'
],
... | 34.823529 | 81 | 0.591216 | 61 | 592 | 5.393443 | 0.459016 | 0.200608 | 0.273556 | 0.115502 | 0.133739 | 0.133739 | 0 | 0 | 0 | 0 | 0 | 0.009569 | 0.293919 | 592 | 16 | 82 | 37 | 0.777512 | 0 | 0 | 0.2 | 0 | 0 | 0.277027 | 0.170608 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.133333 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
662f0d20f1b83e75e7a0bf1ea47082aa35a3504a | 172 | py | Python | src/test_only_plugins/__init__.py | FelixSchwarz/sentry | 7c92c4fa2b6b9f214764f48c82594acae1549e52 | [
"BSD-3-Clause"
] | null | null | null | src/test_only_plugins/__init__.py | FelixSchwarz/sentry | 7c92c4fa2b6b9f214764f48c82594acae1549e52 | [
"BSD-3-Clause"
] | null | null | null | src/test_only_plugins/__init__.py | FelixSchwarz/sentry | 7c92c4fa2b6b9f214764f48c82594acae1549e52 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
try:
VERSION = __import__("pkg_resources").get_distribution("sentry-plugins").version
except Exception:
VERSION = "unknown"
| 24.571429 | 84 | 0.773256 | 19 | 172 | 6.421053 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 172 | 6 | 85 | 28.666667 | 0.813333 | 0 | 0 | 0 | 0 | 0 | 0.197674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.