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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73dcb6c8c5d49c84782ac4c64a6c11a4a3c60914 | 570 | py | Python | src/prisma/__init__.py | RobertCraigie/prisma-client-py | 0539d9b1ed3581acbaf151124d5cd35cfd38e828 | [
"Apache-2.0"
] | 518 | 2021-08-28T01:57:06.000Z | 2022-03-30T15:44:45.000Z | src/prisma/__init__.py | RobertCraigie/prisma-client-py | 0539d9b1ed3581acbaf151124d5cd35cfd38e828 | [
"Apache-2.0"
] | 288 | 2021-08-28T04:15:27.000Z | 2022-03-29T16:54:51.000Z | src/prisma/__init__.py | yezz123/prisma-client-py | 0b79bf824e4d776e821c972c5a9bfe8d7e4e3820 | [
"Apache-2.0"
] | 19 | 2021-11-16T15:16:19.000Z | 2022-03-14T09:59:34.000Z | # -*- coding: utf-8 -*-
__title__ = 'prisma'
__author__ = 'RobertCraigie'
__license__ = 'APACHE'
__copyright__ = 'Copyright 2020-2021 RobertCraigie'
__version__ = '0.5.0a'
from .utils import setup_logging
from . import errors as errors
from .validator import *
try:
from .client import *
from .fields import ... | 19.655172 | 51 | 0.678947 | 66 | 570 | 5.530303 | 0.666667 | 0.065753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0.236842 | 570 | 28 | 52 | 20.357143 | 0.811494 | 0.168421 | 0 | 0 | 0 | 0 | 0.13617 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0 | false | 0.052632 | 0.315789 | 0 | 0.315789 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
73f83cda1e846589922a807418e21454fd42ffcc | 3,016 | py | Python | tests/test_html__find_wiki_url.py | radiac/django-powerwiki | 3df80384261bdef8d25b1df9459073f0ae928a86 | [
"BSD-3-Clause"
] | 4 | 2020-09-10T20:36:02.000Z | 2021-11-03T17:09:11.000Z | tests/test_html__find_wiki_url.py | radiac/django-powerwiki | 3df80384261bdef8d25b1df9459073f0ae928a86 | [
"BSD-3-Clause"
] | null | null | null | tests/test_html__find_wiki_url.py | radiac/django-powerwiki | 3df80384261bdef8d25b1df9459073f0ae928a86 | [
"BSD-3-Clause"
] | null | null | null | """
Test conversion functions in html.py
"""
from model_bakery import baker
from powerwiki.constants import SCHEME_WIKI
from powerwiki.html import find_wiki_url
from powerwiki.models import Page
def test_find_wiki_url__absolute_url__unchanged(wiki, page):
url = "https://example.com"
parsed = find_wiki_url(ur... | 30.77551 | 86 | 0.732759 | 438 | 3,016 | 4.618721 | 0.125571 | 0.096886 | 0.146812 | 0.096392 | 0.782007 | 0.769649 | 0.715274 | 0.661394 | 0.656451 | 0.605042 | 0 | 0 | 0.158488 | 3,016 | 97 | 87 | 31.092784 | 0.797084 | 0.032825 | 0 | 0.492308 | 0 | 0 | 0.102476 | 0.015475 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.061538 | 0 | 0.261538 | 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 |
fb43186454433ed29fb5ef004b22e5c1a8c8680b | 205 | py | Python | shortcuts/actions/numbers.py | maximejf42/python-shortcuts | addde7732e88d250aaea75c228241ed182fca850 | [
"MIT"
] | 588 | 2018-09-23T20:39:15.000Z | 2022-03-27T13:02:48.000Z | shortcuts/actions/numbers.py | yy/python-shortcuts | 025c54be965600fbe7ff6ec96f594efea503cbc3 | [
"MIT"
] | 63 | 2018-09-27T20:13:56.000Z | 2022-03-29T03:22:32.000Z | shortcuts/actions/numbers.py | yy/python-shortcuts | 025c54be965600fbe7ff6ec96f594efea503cbc3 | [
"MIT"
] | 35 | 2018-09-24T03:37:49.000Z | 2021-07-05T07:32:04.000Z | from shortcuts.actions.base import BaseAction, FloatField
class NumberAction(BaseAction):
itype = 'is.workflow.actions.number'
keyword = 'number'
number = FloatField('WFNumberActionNumber')
| 22.777778 | 57 | 0.75122 | 20 | 205 | 7.7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15122 | 205 | 8 | 58 | 25.625 | 0.885057 | 0 | 0 | 0 | 0 | 0 | 0.253659 | 0.126829 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
fb49447aeb85e13d6baffd78f090600ca2252dba | 73 | py | Python | matroska_cache/exc.py | kolypto/py-matroska-cache | b40030f97d463aac8e3a6f4b0e0e9f081dfc92b1 | [
"MIT"
] | null | null | null | matroska_cache/exc.py | kolypto/py-matroska-cache | b40030f97d463aac8e3a6f4b0e0e9f081dfc92b1 | [
"MIT"
] | null | null | null | matroska_cache/exc.py | kolypto/py-matroska-cache | b40030f97d463aac8e3a6f4b0e0e9f081dfc92b1 | [
"MIT"
] | null | null | null |
class NotInCache(KeyError):
""" No item in cache under this key """
| 18.25 | 43 | 0.657534 | 10 | 73 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219178 | 73 | 3 | 44 | 24.333333 | 0.842105 | 0.424658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fb5683b6fac6908870d667cefbb189b5d10b4c4f | 794 | py | Python | tests/test_user.py | ndanu-josy/Pitches | bfa9b2b7acc186b4f3e9ced8495bbc5a1381681b | [
"MIT"
] | null | null | null | tests/test_user.py | ndanu-josy/Pitches | bfa9b2b7acc186b4f3e9ced8495bbc5a1381681b | [
"MIT"
] | null | null | null | tests/test_user.py | ndanu-josy/Pitches | bfa9b2b7acc186b4f3e9ced8495bbc5a1381681b | [
"MIT"
] | null | null | null |
import unittest
from app.models import User
from os import urandom
class UserModelTest(unittest.TestCase):
"""
Test class to test the behaviour of the user class
"""
def setUp(self):
"""
Set up method that will run before every Test
"""
self.new_user = User(username='... | 22.685714 | 65 | 0.643577 | 98 | 794 | 5.112245 | 0.520408 | 0.055888 | 0.087824 | 0.087824 | 0.115768 | 0.115768 | 0 | 0 | 0 | 0 | 0 | 0.013559 | 0.256927 | 794 | 35 | 66 | 22.685714 | 0.835593 | 0.120907 | 0 | 0 | 0 | 0 | 0.034901 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.294118 | false | 0.411765 | 0.176471 | 0 | 0.529412 | 0.058824 | 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 |
fb7da454c946e85341969f557212471adb4752e2 | 799 | py | Python | pyforkurento/hubs.py | kelvingakuo/pyforkurento | 1271f9af387989d7a45258db1637cbdf92dad5f7 | [
"MIT"
] | 11 | 2020-03-05T16:28:34.000Z | 2022-01-22T09:53:59.000Z | pyforkurento/hubs.py | kelvingakuo/pyforkurento | 1271f9af387989d7a45258db1637cbdf92dad5f7 | [
"MIT"
] | 3 | 2021-06-09T18:13:25.000Z | 2021-09-22T19:36:41.000Z | pyforkurento/hubs.py | kelvingakuo/pyforkurento | 1271f9af387989d7a45258db1637cbdf92dad5f7 | [
"MIT"
] | 4 | 2020-04-06T01:56:26.000Z | 2021-08-04T05:39:25.000Z | from .media_element import MediaElement
class Hub(MediaElement):
""" All hubs base class
"""
def __init__(self, sess_id, hub_id, pipeline_class):
super().__init__(sess_id, hub_id, pipeline_class)
# =============== ENDPOINTS =====================
class Composite(Hub):
""" A hub ... | 23.5 | 120 | 0.60826 | 96 | 799 | 4.78125 | 0.53125 | 0.061002 | 0.095861 | 0.071895 | 0.191721 | 0.104575 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266583 | 799 | 34 | 121 | 23.5 | 0.783276 | 0.426783 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.230769 | 0.076923 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
fb7e671f770984bbd619f2a329093d5e2f5147c3 | 9,783 | py | Python | reegis_phd/alternative_scenarios.py | uvchik/reegis_phd | cb09a18f2bb8c4c51d464e5ca59780c48f2f1419 | [
"MIT"
] | null | null | null | reegis_phd/alternative_scenarios.py | uvchik/reegis_phd | cb09a18f2bb8c4c51d464e5ca59780c48f2f1419 | [
"MIT"
] | null | null | null | reegis_phd/alternative_scenarios.py | uvchik/reegis_phd | cb09a18f2bb8c4c51d464e5ca59780c48f2f1419 | [
"MIT"
] | null | null | null | # Python libraries
import copy
import os
from datetime import datetime
import deflex
from deflex import geometries
from deflex.scenario_tools import Scenario
from reegis_phd import main
from reegis import config as cfg
from reegis import inhabitants
def stopwatch():
if not hasattr(stopwatch, "start"):
st... | 31.660194 | 79 | 0.611469 | 1,347 | 9,783 | 4.236823 | 0.144024 | 0.056422 | 0.137025 | 0.03925 | 0.7843 | 0.756089 | 0.742947 | 0.684773 | 0.678991 | 0.620992 | 0 | 0.046754 | 0.223858 | 9,783 | 308 | 80 | 31.762987 | 0.70486 | 0.092303 | 0 | 0.555556 | 0 | 0 | 0.151057 | 0.008525 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060185 | false | 0.00463 | 0.041667 | 0 | 0.106481 | 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 |
fb8490447528c80ff5358a4a2c03d8d2061aebc9 | 189 | py | Python | watpi/apps/gallery/urls.py | WatPi/WatPi | 60c77e12b2a28c3cc5cef894fae3b9089322db23 | [
"MIT"
] | 1 | 2021-01-02T23:48:19.000Z | 2021-01-02T23:48:19.000Z | watpi/apps/gallery/urls.py | WatPi/WatPi | 60c77e12b2a28c3cc5cef894fae3b9089322db23 | [
"MIT"
] | 47 | 2017-10-07T00:56:04.000Z | 2017-12-10T11:03:58.000Z | watpi/apps/gallery/urls.py | WatPi/WatPi | 60c77e12b2a28c3cc5cef894fae3b9089322db23 | [
"MIT"
] | 2 | 2017-10-09T03:56:02.000Z | 2017-10-16T01:24:14.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.conf.urls import include, url
from . import views
urlpatterns = [
url(r'^$', views.index, name='index'),
]
| 18.9 | 42 | 0.68254 | 25 | 189 | 4.96 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.164021 | 189 | 9 | 43 | 21 | 0.778481 | 0.111111 | 0 | 0 | 0 | 0 | 0.042169 | 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 |
fb91e28e7278df193a4cb86b07cb82592a363fb4 | 249 | py | Python | python/qbeastdriver/__init__.py | Qbeast-io/delta-rs | cd6d87ef405a7776ab1725847c94379a343bdef8 | [
"Apache-2.0"
] | null | null | null | python/qbeastdriver/__init__.py | Qbeast-io/delta-rs | cd6d87ef405a7776ab1725847c94379a343bdef8 | [
"Apache-2.0"
] | null | null | null | python/qbeastdriver/__init__.py | Qbeast-io/delta-rs | cd6d87ef405a7776ab1725847c94379a343bdef8 | [
"Apache-2.0"
] | null | null | null | from .data_catalog import DataCatalog
from .qbeastdriver import PyDeltaTableError, RawDeltaTable, rust_core_version
from .schema import DataType, Field, Schema
from .table import QbeastTable, Metadata
from .api import read_sample, read_sample_pandas | 49.8 | 77 | 0.855422 | 32 | 249 | 6.46875 | 0.65625 | 0.096618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100402 | 249 | 5 | 78 | 49.8 | 0.924107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fbb39545261d110627271aea340cca45dffc5f48 | 659 | py | Python | hope-python-script/generator/generate_dir.py | Hope6537/hope-battlepack | 503ba3a42c5899130d496a4693d05fca27136e9b | [
"Apache-2.0"
] | 5 | 2015-01-27T02:52:48.000Z | 2015-10-26T11:38:59.000Z | hope-python-script/generator/generate_dir.py | Hope6537/hope-battlepack | 503ba3a42c5899130d496a4693d05fca27136e9b | [
"Apache-2.0"
] | null | null | null | hope-python-script/generator/generate_dir.py | Hope6537/hope-battlepack | 503ba3a42c5899130d496a4693d05fca27136e9b | [
"Apache-2.0"
] | 2 | 2016-06-19T09:21:37.000Z | 2017-03-13T04:30:51.000Z | # encoding:UTF-8
import os
def generate():
if not os.path.exists("./dao"):
os.mkdir("./dao")
if not os.path.exists("./dataobject"):
os.mkdir("./dataobject")
if not os.path.exists("./datamapper"):
os.mkdir("./datamapper")
if not os.path.exists("./dto"):
os.mkdir("./dto")... | 27.458333 | 42 | 0.54173 | 88 | 659 | 4.056818 | 0.227273 | 0.12605 | 0.176471 | 0.277311 | 0.512605 | 0.27451 | 0.27451 | 0.27451 | 0.27451 | 0.27451 | 0 | 0.001972 | 0.230653 | 659 | 23 | 43 | 28.652174 | 0.70217 | 0.021244 | 0 | 0.2 | 1 | 0 | 0.227061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | true | 0 | 0.05 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fbca42480ec8854fff1fa4adecc4f5b76d352e83 | 1,093 | py | Python | flights_planner/Flight.py | tbielski/flights-planner | ad2f7a6ef4ef80b71a1d71d1655c4101131b54a6 | [
"MIT"
] | null | null | null | flights_planner/Flight.py | tbielski/flights-planner | ad2f7a6ef4ef80b71a1d71d1655c4101131b54a6 | [
"MIT"
] | null | null | null | flights_planner/Flight.py | tbielski/flights-planner | ad2f7a6ef4ef80b71a1d71d1655c4101131b54a6 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class Flight(ABC):
def __init__(self, flight_id, price, departure, arrival, date):
self.__flight_id = flight_id
self.__passenger_set = set()
self.__departure = departure
self.__arrival = arrival
self.__date = date
self.__price = ... | 20.240741 | 67 | 0.63312 | 120 | 1,093 | 5.375 | 0.208333 | 0.11938 | 0.151938 | 0.058915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001294 | 0.292772 | 1,093 | 53 | 68 | 20.622642 | 0.833118 | 0 | 0 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275 | false | 0.25 | 0.025 | 0.175 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
836f947d806d811a6ee23d0e137beef39009004d | 8,375 | gyp | Python | athena/athena.gyp | 7kbird/chrome | f56688375530f1003e34c34f441321977c5af3c3 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | athena/athena.gyp | 7kbird/chrome | f56688375530f1003e34c34f441321977c5af3c3 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | athena/athena.gyp | 7kbird/chrome | f56688375530f1003e34c34f441321977c5af3c3 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:23:37.000Z | 2020-11-04T07:23:37.000Z | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'targets': [
{
'target_name': 'athena_lib',
'type': '<(component)',
'dependencies': [... | 37.556054 | 94 | 0.632716 | 964 | 8,375 | 5.16805 | 0.155602 | 0.019269 | 0.018266 | 0.023083 | 0.365315 | 0.200321 | 0.11662 | 0.060016 | 0.037334 | 0.031714 | 0 | 0.000769 | 0.223761 | 8,375 | 222 | 95 | 37.725225 | 0.765575 | 0.023642 | 0 | 0.259259 | 0 | 0 | 0.694162 | 0.631379 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8375ce0464dd3d3d35a72c5ff5a62d4ee3df4ac3 | 484 | py | Python | py2http/examples/example_service.py | i2mint/py2http | ba4c33cbd2cdc6506408078488e2ecf7fa0322be | [
"MIT"
] | 5 | 2020-08-14T19:53:42.000Z | 2021-11-08T12:51:06.000Z | py2http/examples/example_service.py | i2mint/py2http | ba4c33cbd2cdc6506408078488e2ecf7fa0322be | [
"MIT"
] | 6 | 2020-06-14T20:19:19.000Z | 2022-01-28T23:16:37.000Z | py2http/examples/example_service.py | i2mint/py2http | ba4c33cbd2cdc6506408078488e2ecf7fa0322be | [
"MIT"
] | null | null | null | from py2http import run_http_service
def add(a, b: int = 0):
return a + b
def no_args():
return 'no args'
class MultiplierClass:
def __init__(self, multiplicand):
self.multiplicand = multiplicand
def multiply(self, multiplier):
return self.multiplicand * multiplier
multiplier_in... | 17.285714 | 64 | 0.716942 | 58 | 484 | 5.603448 | 0.5 | 0.055385 | 0.086154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007732 | 0.198347 | 484 | 27 | 65 | 17.925926 | 0.829897 | 0 | 0 | 0 | 0 | 0 | 0.030992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.214286 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
838da2f68df51173b61c5a4f15ce2cc684d6d4ec | 343 | py | Python | aiochat/helpers/test_case.py | samael500/aiochat | 90a350d79d65d5b290eb12a37191164b6750bfab | [
"MIT"
] | 12 | 2017-10-18T20:53:38.000Z | 2022-01-28T09:47:30.000Z | aiochat/helpers/test_case.py | Samael500/aiochat | 90a350d79d65d5b290eb12a37191164b6750bfab | [
"MIT"
] | 1 | 2019-04-11T07:07:46.000Z | 2019-04-11T07:07:46.000Z | aiochat/helpers/test_case.py | Samael500/aiochat | 90a350d79d65d5b290eb12a37191164b6750bfab | [
"MIT"
] | 13 | 2017-09-27T19:41:14.000Z | 2021-11-28T14:36:16.000Z | from aiohttp.test_utils import AioHTTPTestCase, unittest_run_loop # noqa
from app import create_app
class AioChatTestCase(AioHTTPTestCase):
""" Base test case for aiochat """
async def get_application(self, loop):
""" Return current app """
serv_generator, handler, app = await create_app(lo... | 26.384615 | 73 | 0.705539 | 42 | 343 | 5.595238 | 0.690476 | 0.076596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215743 | 343 | 12 | 74 | 28.583333 | 0.873606 | 0.09621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
83b5557bfd9d8e9b9e45a6b747d8f6f1d3e2d1be | 108 | py | Python | benders-decomposition/src/input/customer.py | grzegorz-siekaniec/benders-decomposition-gurobi | 5435e82c7ef4fe14fc53ff07b8eaa1516208b57c | [
"MIT"
] | 6 | 2021-05-31T10:23:18.000Z | 2022-02-15T08:45:30.000Z | benders-decomposition/src/input/customer.py | grzegorz-siekaniec/benders-decomposition-gurobi | 5435e82c7ef4fe14fc53ff07b8eaa1516208b57c | [
"MIT"
] | null | null | null | benders-decomposition/src/input/customer.py | grzegorz-siekaniec/benders-decomposition-gurobi | 5435e82c7ef4fe14fc53ff07b8eaa1516208b57c | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass(frozen=True)
class Customer:
name: str
demand: float
| 13.5 | 33 | 0.740741 | 13 | 108 | 6.153846 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 108 | 7 | 34 | 15.428571 | 0.91954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
83bd8341c4afa270103128fb6d8123221a71a62b | 1,508 | py | Python | rlo/src/rlo/regenerator.py | tomjaguarpaw/knossos-ksc | 8fa75e67c0db8f632b135379740051cd10ff31f2 | [
"MIT"
] | 31 | 2021-09-09T16:09:55.000Z | 2022-02-20T02:15:19.000Z | rlo/src/rlo/regenerator.py | tomjaguarpaw/knossos-ksc | 8fa75e67c0db8f632b135379740051cd10ff31f2 | [
"MIT"
] | 40 | 2021-08-06T14:30:08.000Z | 2022-01-19T08:49:52.000Z | rlo/src/rlo/regenerator.py | tomjaguarpaw/knossos-ksc | 8fa75e67c0db8f632b135379740051cd10ff31f2 | [
"MIT"
] | 5 | 2021-08-06T11:20:31.000Z | 2022-01-07T19:39:40.000Z | """
Regenerators are generators that can be called multiple times.
The outputs may be different e.g. due to shuffling or non-deterministic mappings.
There are direct equivalents in tf.data and will be superseded by those operations once
eager-mode is the norm.
"""
from typing import Callable, Generic, Iterable, Itera... | 25.133333 | 87 | 0.642573 | 206 | 1,508 | 4.543689 | 0.383495 | 0.08547 | 0.042735 | 0.048077 | 0.101496 | 0.101496 | 0.074786 | 0 | 0 | 0 | 0 | 0 | 0.230106 | 1,508 | 59 | 88 | 25.559322 | 0.806202 | 0.183024 | 0 | 0.151515 | 0 | 0 | 0.04758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.030303 | 0.151515 | 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 |
83ed86d7699cc1489a1c7dc31f44a759a32a7de7 | 958 | py | Python | src/zabbix_enums/common/__init__.py | szuro/zabbix-enums | f2ef3b9ea630f678c336d4fc58b5401771a0e4d1 | [
"MIT"
] | 1 | 2022-02-07T01:21:34.000Z | 2022-02-07T01:21:34.000Z | src/zabbix_enums/common/__init__.py | szuro/zabbix-enums | f2ef3b9ea630f678c336d4fc58b5401771a0e4d1 | [
"MIT"
] | null | null | null | src/zabbix_enums/common/__init__.py | szuro/zabbix-enums | f2ef3b9ea630f678c336d4fc58b5401771a0e4d1 | [
"MIT"
] | null | null | null | from enum import IntEnum
class _ZabbixEnum(IntEnum):
@classmethod
def _missing_(cls, value):
if isinstance(value, str):
return cls(int(value))
from .alert import *
from .audit_log import *
from .dashboard import *
from .discovered_host import *
from .discovered_service import *
from .dis... | 23.365854 | 34 | 0.741127 | 129 | 958 | 5.356589 | 0.356589 | 0.434153 | 0.109986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177453 | 958 | 41 | 35 | 23.365854 | 0.876904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.864865 | 0 | 0.945946 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
86062d610e6ad878c3ecea4363be25d11a679588 | 92 | py | Python | 04_datacamp/solutions/28_solutions.py | HirahTang/datascience_starter_course | a4429db9ae1795eaf52b795d16897466d769c40c | [
"CC0-1.0"
] | 3 | 2020-09-06T06:01:41.000Z | 2020-09-23T19:03:04.000Z | 04_datacamp/solutions/28_solutions.py | HirahTang/datascience_starter_course | a4429db9ae1795eaf52b795d16897466d769c40c | [
"CC0-1.0"
] | 4 | 2019-02-22T21:37:20.000Z | 2019-03-12T13:20:29.000Z | 04_datacamp/solutions/28_solutions.py | HirahTang/datascience_starter_course | a4429db9ae1795eaf52b795d16897466d769c40c | [
"CC0-1.0"
] | 5 | 2020-10-26T05:03:09.000Z | 2022-03-24T04:22:09.000Z | df_departments = pd.read_csv(os.path.join('data', 'departments.csv'))
df_departments.head()
| 30.666667 | 69 | 0.76087 | 14 | 92 | 4.785714 | 0.714286 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054348 | 92 | 2 | 70 | 46 | 0.770115 | 0 | 0 | 0 | 0 | 0 | 0.206522 | 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 |
f7a7c554b5bbc515b92c37fe20076053a686c11e | 31 | py | Python | plugins/ping/__init__.py | Tikido/tikido_agent | b2ae70614601fe0fcf5df8784f8694aab0b29ece | [
"BSD-3-Clause"
] | null | null | null | plugins/ping/__init__.py | Tikido/tikido_agent | b2ae70614601fe0fcf5df8784f8694aab0b29ece | [
"BSD-3-Clause"
] | null | null | null | plugins/ping/__init__.py | Tikido/tikido_agent | b2ae70614601fe0fcf5df8784f8694aab0b29ece | [
"BSD-3-Clause"
] | null | null | null | meta = dict(
name='ping'
)
| 7.75 | 15 | 0.516129 | 4 | 31 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290323 | 31 | 3 | 16 | 10.333333 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 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 |
f7b6afbe0e7956a5f2911881b3b223b9164446c7 | 51 | py | Python | tests/roots/test-ext-viewcode/spam/mod3.py | sebhub/sphinx | 47cd262b3e50ed650a82f272ba128a1f872cda4d | [
"BSD-2-Clause"
] | 3 | 2019-06-11T09:42:08.000Z | 2020-03-10T15:57:09.000Z | tests/roots/test-ext-viewcode/spam/mod3.py | JoeyCluett/sphinx | ff5031c96e90027510ad2d0251972e12da46402c | [
"BSD-2-Clause"
] | 12 | 2019-01-09T15:43:57.000Z | 2020-01-21T10:46:30.000Z | tests/roots/test-ext-viewcode/spam/mod3.py | JoeyCluett/sphinx | ff5031c96e90027510ad2d0251972e12da46402c | [
"BSD-2-Clause"
] | 10 | 2019-02-04T11:49:35.000Z | 2020-03-21T13:32:20.000Z | from spam.mod1 import Class3
__all__ = ('Class3',)
| 17 | 28 | 0.72549 | 7 | 51 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0.137255 | 51 | 2 | 29 | 25.5 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 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 |
f7e0f2134c7f6ca4e8da45f71591aa68408d6824 | 364 | py | Python | tubee/models/__init__.py | tomy0000000/Tubee | 1bfbd3cde118cd8a31499b8255b311602fde85bc | [
"MIT"
] | 8 | 2020-12-09T13:01:41.000Z | 2022-01-09T10:06:25.000Z | tubee/models/__init__.py | tomy0000000/Tubee | 1bfbd3cde118cd8a31499b8255b311602fde85bc | [
"MIT"
] | 141 | 2019-08-21T20:23:07.000Z | 2022-03-29T14:02:27.000Z | tubee/models/__init__.py | tomy0000000/Tubee | 1bfbd3cde118cd8a31499b8255b311602fde85bc | [
"MIT"
] | 7 | 2020-07-28T08:52:06.000Z | 2021-07-26T02:15:36.000Z | """Model Package
Collect models for import
"""
# flake8: noqa
from .action import Action, ActionType
from .callback import Callback
from .channel import Channel
from .notification import Notification, Service
from .subscription import Subscription
from .subscription_tag import SubscriptionTag
from .tag import Tag
from... | 24.266667 | 47 | 0.813187 | 47 | 364 | 6.276596 | 0.425532 | 0.108475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003175 | 0.134615 | 364 | 14 | 48 | 26 | 0.933333 | 0.148352 | 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 |
f7e417038d3274e73c8a0d06e98c4b8febd70a6b | 219 | py | Python | final/data2/script_trainData.py | sheabrown/faraday_complexity | 49f5ead79d53bc62f41e5e8450316c03d25ccdef | [
"MIT"
] | 4 | 2017-03-10T04:32:41.000Z | 2019-05-24T02:04:24.000Z | final/data2/script_trainData.py | sheabrown/faraday_complexity | 49f5ead79d53bc62f41e5e8450316c03d25ccdef | [
"MIT"
] | null | null | null | final/data2/script_trainData.py | sheabrown/faraday_complexity | 49f5ead79d53bc62f41e5e8450316c03d25ccdef | [
"MIT"
] | 3 | 2017-03-10T18:59:23.000Z | 2018-03-12T12:55:52.000Z | import sys
sys.path.append('../')
from possum import *
spec = possum()
spec._generateParams(N=100000, fluxMin=0.01, noiseMax=1./3, pcomplex=0.5, seed=493483)
spec._simulateNspec(save=True, dir='./train/', timeit=True)
| 27.375 | 86 | 0.721461 | 33 | 219 | 4.727273 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095 | 0.086758 | 219 | 7 | 87 | 31.285714 | 0.685 | 0 | 0 | 0 | 1 | 0 | 0.050228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f7e9423cc5060e83c8e856edff1a59a179bf91e4 | 271 | py | Python | test/integration/test_database.py | forskolan-natet/natet-sos-generator | 0062aa49ed134af7de8bf04a1bb4b058b445e4d3 | [
"MIT"
] | null | null | null | test/integration/test_database.py | forskolan-natet/natet-sos-generator | 0062aa49ed134af7de8bf04a1bb4b058b445e4d3 | [
"MIT"
] | 1 | 2021-04-05T20:36:28.000Z | 2021-04-05T20:36:28.000Z | test/integration/test_database.py | forskolan-natet/natet-sos-generator | 0062aa49ed134af7de8bf04a1bb4b058b445e4d3 | [
"MIT"
] | null | null | null | from unittest import TestCase
from unittest import skip
from generator.integration.database import *
class TestScheduleLiveDAO(TestCase):
@skip
def test_get_last_scheduled_date(self):
dao = ScheduleLiveDAO()
print(dao.get_last_scheduled_date())
| 24.636364 | 44 | 0.760148 | 32 | 271 | 6.21875 | 0.625 | 0.120603 | 0.180905 | 0.201005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173432 | 271 | 10 | 45 | 27.1 | 0.888393 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
79006ae664ef405a71cf1ed65d120de34a6647ad | 4,060 | py | Python | burclar/__init__.py | The-Special/Burclar | 3f36085ff887bdd49c1838e03a8335079dee0e2d | [
"MIT"
] | 14 | 2021-04-04T12:20:35.000Z | 2021-11-10T23:59:49.000Z | burclar/__init__.py | The-Special/Burclar | 3f36085ff887bdd49c1838e03a8335079dee0e2d | [
"MIT"
] | 1 | 2021-04-03T18:56:21.000Z | 2021-04-03T18:56:21.000Z | burclar/__init__.py | The-Special/Burclar | 3f36085ff887bdd49c1838e03a8335079dee0e2d | [
"MIT"
] | 4 | 2021-04-04T12:36:40.000Z | 2021-09-17T09:18:16.000Z | import requests
from bs4 import BeautifulSoup
"""
Bu modül burçlar ile ilgilenen arkadaşlarımın işine yarayacaktır.
Çok basit bir kullanımı mevcuttur.
Bir sorunuz olursa seve seve yardım etmek isterim profilimdeki linklerden bana ulaşabilirsiniz.
"""
def makeAPIRequest(path: str, type: str) -> str:
... | 31.71875 | 96 | 0.619704 | 444 | 4,060 | 5.662162 | 0.25 | 0.066826 | 0.067224 | 0.090692 | 0.634049 | 0.127287 | 0.127287 | 0.127287 | 0.127287 | 0.102625 | 0 | 0.002577 | 0.235468 | 4,060 | 127 | 97 | 31.968504 | 0.807345 | 0 | 0 | 0.049383 | 0 | 0.024691 | 0.203082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.345679 | false | 0 | 0.024691 | 0.296296 | 0.740741 | 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 |
79322a6e777dc8228f9658150c272b1242554256 | 177 | py | Python | zabby/examples/items/90_overrides.py | blin/zabby | 0f9358ca435ea7368202a6d0fc20cea749f896e1 | [
"MIT"
] | 4 | 2016-04-23T13:26:43.000Z | 2017-11-19T14:07:36.000Z | zabby/examples/items/90_overrides.py | blin/zabby | 0f9358ca435ea7368202a6d0fc20cea749f896e1 | [
"MIT"
] | null | null | null | zabby/examples/items/90_overrides.py | blin/zabby | 0f9358ca435ea7368202a6d0fc20cea749f896e1 | [
"MIT"
] | 4 | 2015-09-07T05:55:57.000Z | 2022-02-14T13:54:14.000Z | # You can override item definitions here
items = {
# Uncomment the following line and reload zabby to make agent.ping return 2 instead of 1
#'agent.ping': lambda: 2,
}
| 25.285714 | 92 | 0.706215 | 27 | 177 | 4.62963 | 0.888889 | 0.144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.220339 | 177 | 6 | 93 | 29.5 | 0.884058 | 0.841808 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7935503168f1917bd6ca62ce880acac665ddc57c | 836 | py | Python | tests/assembler/expanders/test_helpers.py | FKD13/RCPU | 1f27246494f60eaa2432470b2d218bb3f63578c7 | [
"MIT"
] | 17 | 2017-07-26T13:08:34.000Z | 2022-02-19T20:44:02.000Z | tests/assembler/expanders/test_helpers.py | FKD13/RCPU | 1f27246494f60eaa2432470b2d218bb3f63578c7 | [
"MIT"
] | 4 | 2017-10-12T20:56:39.000Z | 2020-05-04T09:19:44.000Z | tests/assembler/expanders/test_helpers.py | FKD13/RCPU | 1f27246494f60eaa2432470b2d218bb3f63578c7 | [
"MIT"
] | 4 | 2017-10-16T16:24:16.000Z | 2022-03-21T19:07:06.000Z | from RCPU.assembler.expanders.helpers import get_free_register, fill_instructions, generate_label
from RCPU.assembler.parser import is_label
def test_get_free_register():
assert get_free_register(["A", "B", "C"]) == "D"
assert get_free_register(["B", "A", "D"]) == "C"
assert get_free_register(["B", "D"]) ... | 27.866667 | 97 | 0.584928 | 117 | 836 | 3.948718 | 0.273504 | 0.106061 | 0.227273 | 0.227273 | 0.261905 | 0.160173 | 0.160173 | 0.108225 | 0 | 0 | 0 | 0 | 0.223684 | 836 | 29 | 98 | 28.827586 | 0.711864 | 0 | 0 | 0 | 1 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0.347826 | 1 | 0.130435 | false | 0 | 0.086957 | 0 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
79372d958dbfb7d91c9d554c13b26ce71abaa557 | 1,287 | py | Python | todos/models.py | safouh94/django-todolist | 06013dd957f811474504b253814103c87de2be35 | [
"MIT"
] | null | null | null | todos/models.py | safouh94/django-todolist | 06013dd957f811474504b253814103c87de2be35 | [
"MIT"
] | 3 | 2021-03-18T20:23:45.000Z | 2022-03-11T23:16:37.000Z | todos/models.py | safouh94/django-todolist | 06013dd957f811474504b253814103c87de2be35 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from datetime import datetime
from django.contrib.auth.models import Permission, User
from django.db import models
from django.core.urlresolvers import reverse
# Token-based Authentication
# from django.db.models.signals import post_save
# from django.di... | 33.868421 | 89 | 0.749806 | 172 | 1,287 | 5.465116 | 0.534884 | 0.06383 | 0.025532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004566 | 0.149184 | 1,287 | 37 | 90 | 34.783784 | 0.853881 | 0.398601 | 0 | 0 | 0 | 0 | 0.022339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.3125 | 0.125 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
793a2ce91925d68dfcfe6276b27a6381bca359e4 | 140 | py | Python | expense_record/settings/production.py | vieirafrancisco/InvoiceRegister | e98baf8db85c1ed17a69c0930c4e07e23814972b | [
"MIT"
] | null | null | null | expense_record/settings/production.py | vieirafrancisco/InvoiceRegister | e98baf8db85c1ed17a69c0930c4e07e23814972b | [
"MIT"
] | 5 | 2020-07-23T22:54:45.000Z | 2021-09-16T19:58:47.000Z | expense_record/settings/production.py | vieirafrancisco/InvoiceRegister | e98baf8db85c1ed17a69c0930c4e07e23814972b | [
"MIT"
] | null | null | null | from .base import * # noqa
from decouple import config
DEBUG = False
SERVER = config("SERVER", default="")
ALLOWED_HOSTS.append(SERVER)
| 15.555556 | 37 | 0.728571 | 18 | 140 | 5.611111 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 140 | 8 | 38 | 17.5 | 0.855932 | 0.028571 | 0 | 0 | 0 | 0 | 0.044776 | 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 |
f70939b28be639a86193981881a264d901c31701 | 481 | py | Python | tests/test_signal/test_generator.py | mcanatalay/SIMULOC | af32c522887dec08a0815052a5878b5a595b8d44 | [
"MIT"
] | null | null | null | tests/test_signal/test_generator.py | mcanatalay/SIMULOC | af32c522887dec08a0815052a5878b5a595b8d44 | [
"MIT"
] | null | null | null | tests/test_signal/test_generator.py | mcanatalay/SIMULOC | af32c522887dec08a0815052a5878b5a595b8d44 | [
"MIT"
] | null | null | null | import unittest
from simuloc.signal import Generator
class GeneratorTestCase(unittest.TestCase):
"""GeneratorTestCase tests the generator class."""
def setUp(self):
"""Creates a instance of the generator class."""
self.cinst = Generator()
def tearDown(self):
pass
def test_noi... | 24.05 | 56 | 0.656965 | 56 | 481 | 5.482143 | 0.553571 | 0.136808 | 0.110749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.226611 | 481 | 19 | 57 | 25.315789 | 0.817204 | 0.259875 | 0 | 0 | 0 | 0 | 0.023529 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.272727 | false | 0.090909 | 0.181818 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f71e38c13ec8321f0a922bfca3d6d3b50576bfd0 | 2,147 | py | Python | import_export/results.py | michelekihiu/superintendence_tracking | 325513059eeec25fdffd5ccb36befc0a9e8235ac | [
"BSD-2-Clause"
] | 1 | 2017-10-31T02:37:37.000Z | 2017-10-31T02:37:37.000Z | import_export/results.py | michelekihiu/superintendence_tracking | 325513059eeec25fdffd5ccb36befc0a9e8235ac | [
"BSD-2-Clause"
] | 2 | 2021-06-01T22:03:20.000Z | 2022-01-13T00:43:38.000Z | import_export/results.py | michelekihiu/superintendence_tracking | 325513059eeec25fdffd5ccb36befc0a9e8235ac | [
"BSD-2-Clause"
] | 1 | 2020-11-04T08:39:52.000Z | 2020-11-04T08:39:52.000Z | from __future__ import unicode_literals
try:
from collections import OrderedDict
except ImportError:
from django.utils.datastructures import SortedDict as OrderedDict
from tablib import Dataset
class Error(object):
def __init__(self, error, traceback=None, row=None):
self.error = error
s... | 29.819444 | 69 | 0.620401 | 258 | 2,147 | 4.860465 | 0.251938 | 0.103668 | 0.075758 | 0.063796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005191 | 0.282254 | 2,147 | 71 | 70 | 30.239437 | 0.808566 | 0.004658 | 0 | 0 | 0 | 0 | 0.013583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.203704 | false | 0 | 0.333333 | 0.055556 | 0.740741 | 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 |
f71f6d9f3398355ffe923f131ddebd4aceaed71f | 8,876 | py | Python | tests/conftest.py | forestriveral/floris | 02c31e121283ad6ccae987cfa3aa1bf1e4b43014 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | forestriveral/floris | 02c31e121283ad6ccae987cfa3aa1bf1e4b43014 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | forestriveral/floris | 02c31e121283ad6ccae987cfa3aa1bf1e4b43014 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 NREL
# 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
# distri... | 32.512821 | 82 | 0.305994 | 658 | 8,876 | 4.028875 | 0.431611 | 0.009808 | 0.007922 | 0.007544 | 0.06375 | 0.021124 | 0.021124 | 0.021124 | 0.021124 | 0 | 0 | 0.3002 | 0.605566 | 8,876 | 272 | 83 | 32.632353 | 0.457012 | 0.068612 | 0 | 0.049587 | 0 | 0 | 0.098398 | 0.016744 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016529 | false | 0 | 0.004132 | 0.008264 | 0.033058 | 0.008264 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f73d9e918e4201fec3820bd47fa3fc21170831aa | 67,103 | py | Python | ultracart/models/coupon.py | UltraCart/rest_api_v2_sdk_python | d734ea13fabc7a57872ff68bac06861edb8fd882 | [
"Apache-2.0"
] | 1 | 2018-03-15T16:56:23.000Z | 2018-03-15T16:56:23.000Z | ultracart/models/coupon.py | UltraCart/rest_api_v2_sdk_python | d734ea13fabc7a57872ff68bac06861edb8fd882 | [
"Apache-2.0"
] | null | null | null | ultracart/models/coupon.py | UltraCart/rest_api_v2_sdk_python | d734ea13fabc7a57872ff68bac06861edb8fd882 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
UltraCart Rest API V2
UltraCart REST API Version 2 # noqa: E501
OpenAPI spec version: 2.0.0
Contact: support@ultracart.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
import six
class Coupon(object):
"""N... | 40.133373 | 1,910 | 0.718373 | 8,361 | 67,103 | 5.323885 | 0.031216 | 0.067396 | 0.063622 | 0.072383 | 0.799205 | 0.717453 | 0.625817 | 0.530272 | 0.428953 | 0.331813 | 0 | 0.013608 | 0.220244 | 67,103 | 1,671 | 1,911 | 40.157391 | 0.837111 | 0.35213 | 0 | 0.086648 | 1 | 0 | 0.15827 | 0.119008 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176136 | false | 0 | 0.004261 | 0 | 0.276989 | 0.002841 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f75caf80a1f4fab95ba5bc1638e9f612881c3ec3 | 499 | py | Python | Lists/List_Assignement_And_List_copy.py | obareau/python_travaux_pratiques | 2205f4c253e96e409b56f5c23d6e23387ab46524 | [
"MIT"
] | 1 | 2021-11-01T12:45:50.000Z | 2021-11-01T12:45:50.000Z | Lists/List_Assignement_And_List_copy.py | obareau/python_travaux_pratiques | 2205f4c253e96e409b56f5c23d6e23387ab46524 | [
"MIT"
] | null | null | null | Lists/List_Assignement_And_List_copy.py | obareau/python_travaux_pratiques | 2205f4c253e96e409b56f5c23d6e23387ab46524 | [
"MIT"
] | null | null | null | x = ['apple', 'bob', 'cat', 'drone']
y = x
x[0] = 'qqrq'
print(x) # ['qqrq', 'bob', 'cat', 'drone']
print(y) # ['qqrq', 'bob', 'cat', 'drone']
# • There is one list in the memory and two pointers to it.
# • If you really want to make a copy the pythonic way is to use the slice syntax.
# • It creates a shallow copy
fro... | 27.722222 | 82 | 0.581162 | 86 | 499 | 3.406977 | 0.453488 | 0.122867 | 0.225256 | 0.163823 | 0.354949 | 0.354949 | 0.232082 | 0.232082 | 0.232082 | 0.232082 | 0 | 0.004951 | 0.190381 | 499 | 18 | 83 | 27.722222 | 0.712871 | 0.591182 | 0 | 0.727273 | 0 | 0 | 0.203046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0.363636 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f7928a3173b0cb719e4f5657831f47e2f1ae8296 | 11,360 | py | Python | modules/bitmap.py | armbennett/PythonAdventures | 394a41ac3d8a1f517a3913926528cb2b149d9ea2 | [
"BSD-3-Clause"
] | null | null | null | modules/bitmap.py | armbennett/PythonAdventures | 394a41ac3d8a1f517a3913926528cb2b149d9ea2 | [
"BSD-3-Clause"
] | null | null | null | modules/bitmap.py | armbennett/PythonAdventures | 394a41ac3d8a1f517a3913926528cb2b149d9ea2 | [
"BSD-3-Clause"
] | null | null | null | import turtle, textwrap, document, time
#defines bitmap patterns for letters
A='2,0000000:0011100:0100010:0100010:0111110:0100010:0100010:0100010:0000000'
B='2,0000000:0111100:0100010:0100010:0111100:0100010:0100010:0111100:0000000'
C='2,0000000:0011100:0100010:0100000:0100000:0100000:0100010:0011100:0000000'
D='2,000... | 47.731092 | 364 | 0.644718 | 1,569 | 11,360 | 4.664117 | 0.239006 | 0.109046 | 0.07748 | 0.045914 | 0.374693 | 0.272206 | 0.144438 | 0.092238 | 0.055753 | 0.041815 | 0 | 0.497697 | 0.197359 | 11,360 | 238 | 365 | 47.731092 | 0.304891 | 0.057042 | 0 | 0.165049 | 0 | 0.009709 | 0.470368 | 0.434006 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048544 | false | 0 | 0.004854 | 0.004854 | 0.07767 | 0.009709 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e38b1e822ced10ea96e84c929d109a5a5e98c71e | 360 | py | Python | app/core/config.py | mystic-ai/pipeline-docker | c5a4aabcafd4d9673c627dddf14a013170ce40b2 | [
"Apache-2.0"
] | 1 | 2022-01-15T12:51:53.000Z | 2022-01-15T12:51:53.000Z | app/core/config.py | mystic-ai/pipeline-docker | c5a4aabcafd4d9673c627dddf14a013170ce40b2 | [
"Apache-2.0"
] | null | null | null | app/core/config.py | mystic-ai/pipeline-docker | c5a4aabcafd4d9673c627dddf14a013170ce40b2 | [
"Apache-2.0"
] | null | null | null | from pydantic import BaseSettings
from functools import lru_cache
class Settings(BaseSettings):
DATABASE_HOSTNAME: str
DATABASE_PORT: str
DATABASE_USERNAME: str
DATABASE_PASSWORD: str
DATABASE_NAME: str
DATABASE_CREATE_TABLES: int
class Config:
env_file = ".env"
@lru_cache()
de... | 17.142857 | 33 | 0.722222 | 43 | 360 | 5.790698 | 0.581395 | 0.220884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 360 | 20 | 34 | 18 | 0.882979 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.071429 | 0.142857 | 0.071429 | 0.857143 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
e3b2913037f2f7f703d4e2e933dd58f22ddb433a | 21 | py | Python | cirq-core/cirq/testing/_compat_test_data/module_a/sub/subsub/dupe.py | Saibaba-Alapati/Cirq | 782efcd04c3bbf73a0d630306a3d1cfd9966521d | [
"Apache-2.0"
] | 3,326 | 2018-07-18T23:17:21.000Z | 2022-03-29T22:28:24.000Z | cirq-core/cirq/testing/_compat_test_data/module_a/sub/subsub/dupe.py | resduo/Cirq | 680f897345eb1c71c9242515edda8f04b8594319 | [
"Apache-2.0"
] | 3,443 | 2018-07-18T21:07:28.000Z | 2022-03-31T20:23:21.000Z | cirq-core/cirq/testing/_compat_test_data/module_a/sub/subsub/dupe.py | resduo/Cirq | 680f897345eb1c71c9242515edda8f04b8594319 | [
"Apache-2.0"
] | 865 | 2018-07-18T23:30:24.000Z | 2022-03-30T11:43:23.000Z | DUPE_CONSTANT = True
| 10.5 | 20 | 0.809524 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e3ed42f765e8d02f0f90b30255fa4fecbc38d00e | 140 | py | Python | darwin/types.py | hal9000-swarm/darwin-py | 8f0d596e2ae816b5fff0e95f0b3af76ebcf6bbe3 | [
"MIT"
] | null | null | null | darwin/types.py | hal9000-swarm/darwin-py | 8f0d596e2ae816b5fff0e95f0b3af76ebcf6bbe3 | [
"MIT"
] | null | null | null | darwin/types.py | hal9000-swarm/darwin-py | 8f0d596e2ae816b5fff0e95f0b3af76ebcf6bbe3 | [
"MIT"
] | null | null | null | from typing import Dict, List
Point = Dict[str, float]
BoundingBox = Dict[str, float]
Polygon = List[Point]
ComplexPolygon = List[Polygon]
| 20 | 30 | 0.75 | 19 | 140 | 5.526316 | 0.578947 | 0.171429 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 140 | 6 | 31 | 23.333333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 |
5400f0beebba692e803964988a276316bffe01eb | 350 | py | Python | scrits/base/tools.py | juliomrqz/scrits-django | 715d35ad446462e6c20f5b79f7bf952d01551222 | [
"Apache-2.0"
] | 9 | 2018-03-19T16:08:12.000Z | 2020-02-24T22:03:59.000Z | scrits/base/tools.py | juliomrqz/scrits-django | 715d35ad446462e6c20f5b79f7bf952d01551222 | [
"Apache-2.0"
] | 51 | 2018-03-22T12:07:18.000Z | 2018-11-17T00:38:54.000Z | scrits/base/tools.py | juliomrqz/scrits | 715d35ad446462e6c20f5b79f7bf952d01551222 | [
"Apache-2.0"
] | 2 | 2018-03-20T17:39:11.000Z | 2018-04-06T03:03:14.000Z | # -*- coding: utf-8 -*-
from django.utils.encoding import force_text
from django.utils.safestring import mark_safe
from slugify import slugify
def custom_slugify(value):
return slugify(value).decode('ascii')
def markdown_to_html(text):
from markdown2 import markdown
return mark_safe(markdown(force_tex... | 21.875 | 68 | 0.76 | 49 | 350 | 5.265306 | 0.530612 | 0.077519 | 0.116279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.137143 | 350 | 15 | 69 | 23.333333 | 0.847682 | 0.06 | 0 | 0 | 0 | 0 | 0.033639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.125 | 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 | 1 | 1 | 0 | 0 | 0 | 3 |
541f2899dd09a76983db1f1c23439fe2c2b251dc | 109 | py | Python | django_rest_github_oauth/apps.py | mabdullahadeel/django-rest-github-oauth | 8e05bc861db98fe2aa82e67d5068bec1af2a4de2 | [
"MIT"
] | null | null | null | django_rest_github_oauth/apps.py | mabdullahadeel/django-rest-github-oauth | 8e05bc861db98fe2aa82e67d5068bec1af2a4de2 | [
"MIT"
] | 1 | 2022-01-31T13:16:22.000Z | 2022-02-02T13:36:45.000Z | django_rest_github_oauth/apps.py | mabdullahadeel/django-rest-github-oauth | 8e05bc861db98fe2aa82e67d5068bec1af2a4de2 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class GitHubAuthConfig(AppConfig):
name = "django_rest_github_oauth"
| 18.166667 | 37 | 0.798165 | 13 | 109 | 6.461538 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 5 | 38 | 21.8 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0.220183 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
54278dba29ee2d71af2c3b7b7d419aa028cb0aa1 | 7,179 | py | Python | bin/utils/bitvectors.py | shraddhabarke/euphony | 8e9c588a5b547b0bf6c406fb52d608b96d89e657 | [
"BSD-4-Clause"
] | 18 | 2018-05-25T03:16:11.000Z | 2022-01-25T01:41:20.000Z | bin/utils/bitvectors.py | shraddhabarke/euphony | 8e9c588a5b547b0bf6c406fb52d608b96d89e657 | [
"BSD-4-Clause"
] | 1 | 2020-05-25T22:08:35.000Z | 2020-05-25T22:08:35.000Z | bin/utils/bitvectors.py | shraddhabarke/euphony | 8e9c588a5b547b0bf6c406fb52d608b96d89e657 | [
"BSD-4-Clause"
] | 9 | 2019-11-12T05:42:08.000Z | 2022-02-18T01:09:53.000Z | #!/usr/bin/env python3
# bitvectors.py ---
# Filename: bitvectors.py
# Author: Abhishek Udupa
# Created: Mon Jan 25 01:04:51 2016 (-0500)
#
# Copyright (c) 2013, Abhishek Udupa, University of Pennsylvania
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are p... | 32.931193 | 80 | 0.617774 | 930 | 7,179 | 4.621505 | 0.255914 | 0.061424 | 0.040949 | 0.06631 | 0.431596 | 0.354118 | 0.335272 | 0.298744 | 0.247092 | 0.247092 | 0 | 0.013094 | 0.255328 | 7,179 | 217 | 81 | 33.082949 | 0.790872 | 0.273436 | 0 | 0.160305 | 0 | 0 | 0.030971 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 1 | 0.259542 | false | 0 | 0.007634 | 0.160305 | 0.580153 | 0.038168 | 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 |
5808c9d4912a86862223de71886abe0e092ba8b6 | 723 | py | Python | src/arch/x86/isa/insts/simd512/floating_point/arithmetic/vsubss.py | jyhuang91/gem5-avx | f988da46080f8db49beb39e20af437219f3aa4cb | [
"BSD-3-Clause"
] | 2 | 2021-01-15T17:32:18.000Z | 2021-12-21T02:53:58.000Z | src/arch/x86/isa/insts/simd512/floating_point/arithmetic/vsubss.py | jyhuang91/gem5-avx | f988da46080f8db49beb39e20af437219f3aa4cb | [
"BSD-3-Clause"
] | 3 | 2021-03-26T20:33:59.000Z | 2022-01-24T22:54:03.000Z | src/arch/x86/isa/insts/simd512/floating_point/arithmetic/vsubss.py | jyhuang91/gem5-avx | f988da46080f8db49beb39e20af437219f3aa4cb | [
"BSD-3-Clause"
] | 3 | 2021-03-27T16:36:19.000Z | 2022-03-28T18:32:57.000Z |
microcode = '''
def macroop VSUBSS_XMM_XMM {
msubf xmm0, xmm0v, xmm0m, size=4, ext=Scalar
movfph2h dest=xmm0, src1=xmm0v, dataSize=4
movfp dest=xmm1, src1=xmm1v, dataSize=8
vclear dest=xmm2, destVL=16
};
def macroop VSUBSS_XMM_M {
movfp dest=xmm0, src1=xmm0v, dataSize=8
movfp dest=xmm1, src1=x... | 25.821429 | 48 | 0.680498 | 113 | 723 | 4.300885 | 0.309735 | 0.092593 | 0.098765 | 0.117284 | 0.769547 | 0.718107 | 0.718107 | 0.654321 | 0.654321 | 0.530864 | 0 | 0.088696 | 0.204703 | 723 | 27 | 49 | 26.777778 | 0.756522 | 0 | 0 | 0.565217 | 0 | 0 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
580986b8876304e8504bf1396cc7331be7de9fbf | 2,043 | py | Python | src/sima/workflow/blueprints/textinput.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | src/sima/workflow/blueprints/textinput.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | src/sima/workflow/blueprints/textinput.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | #
# Generated with TextInputBlueprint
from dmt.blueprint import Blueprint
from dmt.dimension import Dimension
from dmt.attribute import Attribute
from dmt.enum_attribute import EnumAttribute
from dmt.blueprint_attribute import BlueprintAttribute
from .valueinputnode import ValueInputNodeBlueprint
class TextInputBluep... | 65.903226 | 142 | 0.72002 | 201 | 2,043 | 7.253731 | 0.313433 | 0.163237 | 0.233196 | 0.258573 | 0.442387 | 0.442387 | 0.090535 | 0 | 0 | 0 | 0 | 0.002192 | 0.106706 | 2,043 | 31 | 143 | 65.903226 | 0.796712 | 0.016153 | 0 | 0 | 1 | 0 | 0.208896 | 0.066467 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.230769 | 0 | 0.307692 | 0.307692 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
580a41cf09758546cacf9060d43d96aa46c6b421 | 687 | py | Python | impl/recommender/vector/vectormanager.py | dustywind/bachelor-thesis | be06aaeb1b4d73f727a19029a3416a9b8043194d | [
"MIT"
] | null | null | null | impl/recommender/vector/vectormanager.py | dustywind/bachelor-thesis | be06aaeb1b4d73f727a19029a3416a9b8043194d | [
"MIT"
] | null | null | null | impl/recommender/vector/vectormanager.py | dustywind/bachelor-thesis | be06aaeb1b4d73f727a19029a3416a9b8043194d | [
"MIT"
] | null | null | null |
import sqlite3
from ..dependency import Dependency
from ..dbconnection import DbConnection
class VectorManager(Dependency):
def __init__(self, database_manager):
super(VectorManager, self).__init__(database_manager)
self._db_connection_str = database_manager.get_db_connection_str()
pass
... | 25.444444 | 74 | 0.720524 | 72 | 687 | 6.458333 | 0.430556 | 0.103226 | 0.096774 | 0.08172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001835 | 0.206696 | 687 | 26 | 75 | 26.423077 | 0.851376 | 0.03639 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | 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 |
58149e1f76eb526128abac0859b2ead716175537 | 191 | py | Python | Weekly Topics/tuesday.py | SimonMcLain/ProgrammingandScriptingGMIT | f6e299ae755059f08042c8b2d71dcc6e0766aa3c | [
"Apache-2.0"
] | null | null | null | Weekly Topics/tuesday.py | SimonMcLain/ProgrammingandScriptingGMIT | f6e299ae755059f08042c8b2d71dcc6e0766aa3c | [
"Apache-2.0"
] | null | null | null | Weekly Topics/tuesday.py | SimonMcLain/ProgrammingandScriptingGMIT | f6e299ae755059f08042c8b2d71dcc6e0766aa3c | [
"Apache-2.0"
] | null | null | null | # Simon McLain, 2018-02-11
# Is it Tuesdday?
import datetime
if datetime.datetime.today().weekday() == 1:
print("Yes! Today is Tuesday.")
else:
print("No! Today is not Tuesday.") | 23.875 | 44 | 0.659686 | 28 | 191 | 4.5 | 0.714286 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058065 | 0.188482 | 191 | 8 | 45 | 23.875 | 0.754839 | 0.209424 | 0 | 0 | 0 | 0 | 0.315436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 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 |
58234856b9c79fe2ee5c6f4664ec087f4b157ff8 | 365 | py | Python | py4e/Ch8/ex_08_01.py | tofritz/ExampleWork | 6779cce3148f1595fd062e4941aa2697c0a8248d | [
"MIT"
] | null | null | null | py4e/Ch8/ex_08_01.py | tofritz/ExampleWork | 6779cce3148f1595fd062e4941aa2697c0a8248d | [
"MIT"
] | 8 | 2020-02-05T00:44:39.000Z | 2020-02-18T23:11:16.000Z | py4e/Ch8/ex_08_01.py | tofritz/ExampleWork | 6779cce3148f1595fd062e4941aa2697c0a8248d | [
"MIT"
] | null | null | null | def chop(t):
del t[0]
del t[-1:]
return None
def middle(t):
return t[1:-1]
a = [1, 2, 3, 4, 5, 6]
b = [1, 2, 3, 4, 5, 6]
print("This is the 'a' list:", a)
print('Chop chop chop')
chop(a)
print("This is the 'a' list:", a)
print("This is the 'b' list:", b)
print("This is the middle of the 'b' list:", ... | 18.25 | 55 | 0.547945 | 77 | 365 | 2.597403 | 0.285714 | 0.225 | 0.275 | 0.35 | 0.565 | 0.485 | 0.425 | 0.25 | 0 | 0 | 0 | 0.057143 | 0.232877 | 365 | 19 | 56 | 19.210526 | 0.657143 | 0 | 0 | 0.266667 | 0 | 0 | 0.364384 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0 | 0.066667 | 0.266667 | 0.4 | 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 |
5823bb3a4e79bd75fe99e3704154850d17635b83 | 577 | py | Python | fp_py/src/main/fruitpunch/native/common/number_event.py | submain/fruitpunch | 31773128238830d3d335c1915877dc0db56836cd | [
"MIT"
] | null | null | null | fp_py/src/main/fruitpunch/native/common/number_event.py | submain/fruitpunch | 31773128238830d3d335c1915877dc0db56836cd | [
"MIT"
] | null | null | null | fp_py/src/main/fruitpunch/native/common/number_event.py | submain/fruitpunch | 31773128238830d3d335c1915877dc0db56836cd | [
"MIT"
] | 1 | 2020-08-14T02:51:47.000Z | 2020-08-14T02:51:47.000Z | import libfp_core
from fruitpunch.native.native_class import NativeClass
from fruitpunch.native.common.event import Event
class NumberEvent(Event):
def __init__(self, name="undefined"):
NativeClass.__init__(self)
self.store(libfp_core.NumberEvent(name))
def get_number(se... | 27.47619 | 59 | 0.701906 | 69 | 577 | 5.565217 | 0.347826 | 0.070313 | 0.104167 | 0.098958 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209705 | 577 | 21 | 59 | 27.47619 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.050173 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.230769 | 0.153846 | 0.769231 | 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 |
585cd493b8475476ef99363564a5591ba8040399 | 119 | py | Python | vumi/transports/infobip/__init__.py | hnec-vr/vumi | b9c1100176a46774b502d5a0db225930a2d298c7 | [
"BSD-3-Clause"
] | null | null | null | vumi/transports/infobip/__init__.py | hnec-vr/vumi | b9c1100176a46774b502d5a0db225930a2d298c7 | [
"BSD-3-Clause"
] | null | null | null | vumi/transports/infobip/__init__.py | hnec-vr/vumi | b9c1100176a46774b502d5a0db225930a2d298c7 | [
"BSD-3-Clause"
] | 2 | 2018-03-05T18:01:45.000Z | 2019-11-02T19:34:18.000Z | """Infobip transport."""
from vumi.transports.infobip.infobip import InfobipTransport
__all__ = ['InfobipTransport']
| 19.833333 | 60 | 0.781513 | 11 | 119 | 8.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092437 | 119 | 5 | 61 | 23.8 | 0.824074 | 0.151261 | 0 | 0 | 0 | 0 | 0.168421 | 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 |
587f9044f8a17a7011905b394ef636a4fa0a4d59 | 2,182 | py | Python | 054.py | zlsun/ProjectEuler | 813ec545484924a052f1bd7fd90a4c676eea3bba | [
"MIT"
] | null | null | null | 054.py | zlsun/ProjectEuler | 813ec545484924a052f1bd7fd90a4c676eea3bba | [
"MIT"
] | null | null | null | 054.py | zlsun/ProjectEuler | 813ec545484924a052f1bd7fd90a4c676eea3bba | [
"MIT"
] | null | null | null | #-*- encoding: utf-8 -*-
"""
Poker hands
In the card game poker, a hand consists of five cards and are ranked, from lowest to highest, in the following way:
High Card: Highest value card.
One Pair: Two cards of the same value.
Two Pairs: Two different pairs.
Three of a Kind: Three cards of the same value.
Straight: A... | 49.590909 | 394 | 0.701192 | 405 | 2,182 | 3.777778 | 0.402469 | 0.027451 | 0.026144 | 0.036601 | 0.113072 | 0.035294 | 0 | 0 | 0 | 0 | 0 | 0.039457 | 0.256645 | 2,182 | 43 | 395 | 50.744186 | 0.903822 | 0.983501 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
589e0bc7d26948cda2873c8da3b93f976e5a82c4 | 146 | py | Python | Start.py | lavenduale/GarfieldBot | a5dbdf1713cb3a92a9a5c4b612231048c6fdc7e0 | [
"MIT"
] | null | null | null | Start.py | lavenduale/GarfieldBot | a5dbdf1713cb3a92a9a5c4b612231048c6fdc7e0 | [
"MIT"
] | 3 | 2019-03-02T19:03:49.000Z | 2020-11-05T17:15:33.000Z | Start.py | lavenduale/GarfieldBot | a5dbdf1713cb3a92a9a5c4b612231048c6fdc7e0 | [
"MIT"
] | 3 | 2019-03-02T17:37:52.000Z | 2019-03-31T16:54:23.000Z | import os
from dotenv import load_dotenv
from GarfieldBot import Bot
load_dotenv()
bot = Bot(os.environ["GARFIELDBOT_SLACK_TOKEN"])
bot.start() | 16.222222 | 48 | 0.794521 | 22 | 146 | 5.090909 | 0.5 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116438 | 146 | 9 | 49 | 16.222222 | 0.868217 | 0 | 0 | 0 | 0 | 0 | 0.156463 | 0.156463 | 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 |
5440262972b89a342f37c91ca3e5b8dfdaf72e8a | 960 | py | Python | profit/util/variable_kinds.py | michad1111/profit | ef8ab8c61a7cf3d4bd555fa2c3964a4576652f93 | [
"MIT"
] | null | null | null | profit/util/variable_kinds.py | michad1111/profit | ef8ab8c61a7cf3d4bd555fa2c3964a4576652f93 | [
"MIT"
] | null | null | null | profit/util/variable_kinds.py | michad1111/profit | ef8ab8c61a7cf3d4bd555fa2c3964a4576652f93 | [
"MIT"
] | null | null | null | from .halton import halton as _halton_base
from .util import check_ndim
import numpy as np
def halton(size=(1, 1)):
if isinstance(size, (tuple, list, np.ndarray)):
return _halton_base(*size)
else:
return check_ndim(_halton_base(size, 1))
def uniform(start=0, end=1, size=None):
return che... | 24.615385 | 93 | 0.683333 | 158 | 960 | 4.063291 | 0.278481 | 0.11215 | 0.163551 | 0.17757 | 0.41433 | 0.353583 | 0.299065 | 0.299065 | 0.196262 | 0 | 0 | 0.021223 | 0.165625 | 960 | 38 | 94 | 25.263158 | 0.780275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.136364 | 0.318182 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
5449041574e43ce693f49e0b483efb4a12f5f1d6 | 211 | py | Python | src/Requirements.py | ingmarinho/csgo-tts | 77d70984495e4692f9bb550fcaf6a8bc131ccc73 | [
"BSL-1.0"
] | null | null | null | src/Requirements.py | ingmarinho/csgo-tts | 77d70984495e4692f9bb550fcaf6a8bc131ccc73 | [
"BSL-1.0"
] | null | null | null | src/Requirements.py | ingmarinho/csgo-tts | 77d70984495e4692f9bb550fcaf6a8bc131ccc73 | [
"BSL-1.0"
] | null | null | null | try:
import file_read_backwards
import gtts
import keyboard
import pygame
except ModuleNotFoundError as e:
print(f"Please install the {str(e)[16:]} using: pip install {str(e)[17:-1]}")
| 21.1 | 81 | 0.672986 | 30 | 211 | 4.666667 | 0.766667 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030488 | 0.222749 | 211 | 10 | 82 | 21.1 | 0.823171 | 0 | 0 | 0 | 0 | 0.142857 | 0.316038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0.142857 | 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 |
544a8714de6d62cf7fbb058ee7d65691458c4fe6 | 112 | py | Python | src/alphaimpute2-script.py | sgavril/AlphaImpute2 | 2711b5bc42359fa059c5d2381d9a6241b9881577 | [
"MIT"
] | null | null | null | src/alphaimpute2-script.py | sgavril/AlphaImpute2 | 2711b5bc42359fa059c5d2381d9a6241b9881577 | [
"MIT"
] | null | null | null | src/alphaimpute2-script.py | sgavril/AlphaImpute2 | 2711b5bc42359fa059c5d2381d9a6241b9881577 | [
"MIT"
] | null | null | null | from alphaimpute2 import alphaimpute2
def main():
alphaimpute2.main()
if __name__ == "__main__":
main() | 18.666667 | 37 | 0.705357 | 12 | 112 | 5.916667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0.178571 | 112 | 6 | 38 | 18.666667 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5468d532f49e3b8f8e567788582657dfa4707277 | 926 | py | Python | Scripts/simulation/distributor/rollback.py | velocist/TS4CheatsInfo | b59ea7e5f4bd01d3b3bd7603843d525a9c179867 | [
"Apache-2.0"
] | null | null | null | Scripts/simulation/distributor/rollback.py | velocist/TS4CheatsInfo | b59ea7e5f4bd01d3b3bd7603843d525a9c179867 | [
"Apache-2.0"
] | null | null | null | Scripts/simulation/distributor/rollback.py | velocist/TS4CheatsInfo | b59ea7e5f4bd01d3b3bd7603843d525a9c179867 | [
"Apache-2.0"
] | null | null | null | # uncompyle6 version 3.7.4
# Python bytecode 3.7 (3394)
# Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)]
# Embedded file name: T:\InGame\Gameplay\Scripts\Server\distributor\rollback.py
# Compiled at: 2014-12-11 21:07:16
# Size of source mod 2**32: 1176 bytes
fr... | 35.615385 | 107 | 0.710583 | 129 | 926 | 4.906977 | 0.666667 | 0.14376 | 0.134281 | 0.034755 | 0.044234 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088949 | 0.198704 | 926 | 26 | 108 | 35.615385 | 0.764151 | 0.329374 | 0 | 0 | 0 | 0 | 0.105691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.071429 | 0.071429 | 0.071429 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
5477ebe1892f7c882640b1f758dea3846867dc60 | 1,194 | py | Python | check_limits.py | clean-code-craft-tcq-1/functional-python-AkshayUHegde | 575ac9f721fbb13ca0afc152c1fa4a1e795c3ea1 | [
"MIT"
] | null | null | null | check_limits.py | clean-code-craft-tcq-1/functional-python-AkshayUHegde | 575ac9f721fbb13ca0afc152c1fa4a1e795c3ea1 | [
"MIT"
] | null | null | null | check_limits.py | clean-code-craft-tcq-1/functional-python-AkshayUHegde | 575ac9f721fbb13ca0afc152c1fa4a1e795c3ea1 | [
"MIT"
] | null | null | null | from battery_safety_tester import check_battery_param_safety, check_overall_battery_safety
from sensor_value_handler import snap_limits_to_sensor_accuracy
if __name__ == '__main__':
assert (check_overall_battery_safety(cell_temperature_in_celsius=25,
soc_in_percent=70.12345... | 74.625 | 119 | 0.648241 | 140 | 1,194 | 4.964286 | 0.385714 | 0.094964 | 0.122302 | 0.165468 | 0.520863 | 0.36259 | 0.310791 | 0.310791 | 0.310791 | 0 | 0 | 0.032621 | 0.255444 | 1,194 | 16 | 119 | 74.625 | 0.749156 | 0 | 0 | 0 | 0 | 0 | 0.180753 | 0.063598 | 0 | 0 | 0 | 0 | 0.466667 | 1 | 0 | true | 0 | 0.133333 | 0 | 0.133333 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
547f633ee208059132d1177c6a5f73c19bbc45cc | 899 | py | Python | scripts/quest/q20870s.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | 2 | 2020-08-25T06:55:19.000Z | 2021-03-15T14:37:34.000Z | scripts/quest/q20870s.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | scripts/quest/q20870s.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | 3 | 2020-08-25T06:55:25.000Z | 2020-12-01T13:07:43.000Z | # WA - End of Knight-in-Training - Start
sm.setSpeakerID(1101002)
if not sm.getFieldID() == 130000000:
response = sm.sendAskYesNo("#h #, you have done surprisingly well. Do you wish to take the #b Knighthood Exam#k? If you pass, you will become a full-fledged knight. #b\r\n(Note, if you accept, you will be ported t... | 64.214286 | 259 | 0.71079 | 147 | 899 | 4.346939 | 0.598639 | 0.023474 | 0.028169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034626 | 0.196885 | 899 | 13 | 260 | 69.153846 | 0.850416 | 0.042269 | 0 | 0 | 0 | 0.25 | 0.642608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
548e64202b0ab49a101e465db8c234ef8e1ad2b6 | 215 | py | Python | korona/templates/html/tags/dialog.py | bharadwajyarlagadda/korona | ee4662b6a29907495e31ed2581dc5484bb03eadc | [
"MIT"
] | 2 | 2016-10-11T03:57:30.000Z | 2018-01-19T20:13:47.000Z | korona/templates/html/tags/dialog.py | iskodirajga/korona | ee4662b6a29907495e31ed2581dc5484bb03eadc | [
"MIT"
] | 16 | 2016-08-19T04:08:45.000Z | 2016-09-27T03:26:39.000Z | korona/templates/html/tags/dialog.py | iskodirajga/korona | ee4662b6a29907495e31ed2581dc5484bb03eadc | [
"MIT"
] | 1 | 2016-10-11T03:57:33.000Z | 2016-10-11T03:57:33.000Z | # -*- coding: utf-8 -*-
"""<dialog> template"""
from ..environment import env
dialog = env.from_string("""\
<dialog {% if open -%} open {% endif -%}>
{%- if text -%} {{ text }} {%- endif -%}</dialog>
""")
| 21.5 | 57 | 0.511628 | 23 | 215 | 4.73913 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.204651 | 215 | 9 | 58 | 23.888889 | 0.631579 | 0.186047 | 0 | 0 | 0 | 0 | 0.60355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 |
549e99d229920e5ed57357d1d6a53c8be49c6277 | 1,390 | py | Python | guest/models.py | dnychennnn/IRS | e3603a5ace318b4e165217a87d9d634837e4fee4 | [
"MIT"
] | null | null | null | guest/models.py | dnychennnn/IRS | e3603a5ace318b4e165217a87d9d634837e4fee4 | [
"MIT"
] | null | null | null | guest/models.py | dnychennnn/IRS | e3603a5ace318b4e165217a87d9d634837e4fee4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
reload(sys)
sys.setdefaultencoding("utf-8")
import datetime
from django.db import models
from django.utils import timezone
class Agent(models.Model):
name = models.CharField(max_length=200)
is_banned = models.BooleanField(default=False)
def __str__(self): # __unicod... | 26.730769 | 129 | 0.733813 | 192 | 1,390 | 5.0625 | 0.40625 | 0.108025 | 0.12963 | 0.17284 | 0.1893 | 0.13786 | 0.13786 | 0.065844 | 0 | 0 | 0 | 0.012521 | 0.13813 | 1,390 | 51 | 130 | 27.254902 | 0.798831 | 0.064748 | 0 | 0.117647 | 0 | 0 | 0.033411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.117647 | 0.117647 | 0.941176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
54a91233eb016fa5f113838cdfc064540e5e960e | 564 | py | Python | mousedb/timed_mating/__init__.py | BridgesLab/mousedb | 7e423991f72c89468010c99865e3c70c22044df3 | [
"BSD-3-Clause"
] | 2 | 2016-01-18T06:49:35.000Z | 2016-12-16T17:00:27.000Z | mousedb/timed_mating/__init__.py | davebridges/mousedb | 2a33f6d15d88b1540b05f7232b154fdbf8568580 | [
"BSD-3-Clause"
] | 12 | 2016-03-07T14:47:09.000Z | 2019-06-07T17:11:33.000Z | mousedb/timed_mating/__init__.py | BridgesLab/mousedb | 7e423991f72c89468010c99865e3c70c22044df3 | [
"BSD-3-Clause"
] | 1 | 2019-08-19T14:53:28.000Z | 2019-08-19T14:53:28.000Z | """This package defines the timed_mating app.
Timed matings are a specific type of breeding set.
Generally, for these experiments a mating cage is set up and pregnancy is defined by a plug event.
Based on this information, the age of an embryo can be estimated.
When a breeding cage is defined, one option is to s... | 62.666667 | 112 | 0.769504 | 102 | 564 | 4.235294 | 0.529412 | 0.076389 | 0.046296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195035 | 564 | 8 | 113 | 70.5 | 0.951542 | 0.987589 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
54b9e2dcb919114eb673f54fb9864f4f3f5a7d6e | 1,527 | py | Python | cms/migrations/0025_add_wagtailmetadata.py | mitodl/mit-xpro | 981d6c87d963837f0b9ccdd996067fe81394dba4 | [
"BSD-3-Clause"
] | 10 | 2019-02-20T18:41:32.000Z | 2021-07-26T10:39:58.000Z | cms/migrations/0025_add_wagtailmetadata.py | mitodl/mit-xpro | 981d6c87d963837f0b9ccdd996067fe81394dba4 | [
"BSD-3-Clause"
] | 2,226 | 2019-02-20T20:03:57.000Z | 2022-03-31T11:18:56.000Z | cms/migrations/0025_add_wagtailmetadata.py | mitodl/mit-xpro | 981d6c87d963837f0b9ccdd996067fe81394dba4 | [
"BSD-3-Clause"
] | 4 | 2020-08-26T19:26:02.000Z | 2021-03-09T17:46:47.000Z | # Generated by Django 2.1.7 on 2019-05-27 09:18
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
("wagtailimages", "0001_squashed_0021"),
("cms", "0024_courseware_carousel_manual_contents"),
]
operations = ... | 29.365385 | 61 | 0.512115 | 135 | 1,527 | 5.614815 | 0.37037 | 0.079156 | 0.118734 | 0.116095 | 0.637203 | 0.637203 | 0.637203 | 0.637203 | 0.637203 | 0.637203 | 0 | 0.028662 | 0.383104 | 1,527 | 51 | 62 | 29.941176 | 0.776008 | 0.02947 | 0 | 0.733333 | 1 | 0 | 0.158784 | 0.027027 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.044444 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
54be150e78bd544d852a1abf393cbfaa167c0a99 | 210 | py | Python | lesson-5/read_csv.py | LindsayYoung/python-class | 63821805dab826ab4c8b030c3cbdd6835435a3ce | [
"MIT"
] | 18 | 2015-01-08T14:59:55.000Z | 2021-03-01T16:11:12.000Z | lesson-5/read_csv.py | nickom/python-class | b9c6ae7e4292857b861613a2d6b0bfb2dffc7f36 | [
"MIT"
] | null | null | null | lesson-5/read_csv.py | nickom/python-class | b9c6ae7e4292857b861613a2d6b0bfb2dffc7f36 | [
"MIT"
] | 16 | 2015-03-20T12:21:51.000Z | 2020-10-21T15:40:44.000Z | import csv
# we are using U so that it can read from excel
with open('sheet.csv', 'rU') as csvfile:
reader = csv.reader(csvfile)
for row in reader:
print(row)
print(row[0])
print(row[1])
print(row[2]) | 23.333333 | 47 | 0.67619 | 39 | 210 | 3.641026 | 0.692308 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.185714 | 210 | 9 | 48 | 23.333333 | 0.812866 | 0.214286 | 0 | 0 | 0 | 0 | 0.067073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
54c0bca413922c2b4600f3f20153cf9c12917d3c | 73 | py | Python | ujugu.py | tarunbodapati/sum.c | c343d6ac530b7f433093138ac52474df4c9c4441 | [
"MIT"
] | null | null | null | ujugu.py | tarunbodapati/sum.c | c343d6ac530b7f433093138ac52474df4c9c4441 | [
"MIT"
] | null | null | null | ujugu.py | tarunbodapati/sum.c | c343d6ac530b7f433093138ac52474df4c9c4441 | [
"MIT"
] | null | null | null | x=input()
txt=x[::-1]
if(txt==x):
print("yes")
else:
print("no")
| 10.428571 | 16 | 0.493151 | 13 | 73 | 2.769231 | 0.692308 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.191781 | 73 | 6 | 17 | 12.166667 | 0.59322 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 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 |
49ee0f8ed732b543ec92ee96d5527457ea6f1382 | 93 | py | Python | python/tkinter-test/test_sys.py | seekindark/helloworld | 00fe439fdbd98add53f3bec7eac2b1ba1dc817a7 | [
"BSD-2-Clause"
] | null | null | null | python/tkinter-test/test_sys.py | seekindark/helloworld | 00fe439fdbd98add53f3bec7eac2b1ba1dc817a7 | [
"BSD-2-Clause"
] | 2 | 2019-06-24T00:56:52.000Z | 2019-06-24T01:28:29.000Z | python/tkinter-test/test_sys.py | seekindark/helloworld | 00fe439fdbd98add53f3bec7eac2b1ba1dc817a7 | [
"BSD-2-Clause"
] | null | null | null | import sys
print(sys.path)
print("Input parameters:")
for x in sys.argv:
print(x)
| 13.285714 | 27 | 0.645161 | 15 | 93 | 4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 93 | 6 | 28 | 15.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.195402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 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 |
3f84fde046310c48b7072f5668eb98ae7c208164 | 152 | py | Python | test/static_analysis/class_simple.py | rosslannen/jedi | b8d2757cdbe8ece6778031d0536a759b3273d15e | [
"MIT"
] | 4,213 | 2015-01-02T15:43:22.000Z | 2022-03-31T16:15:01.000Z | test/static_analysis/class_simple.py | rosslannen/jedi | b8d2757cdbe8ece6778031d0536a759b3273d15e | [
"MIT"
] | 1,392 | 2015-01-02T18:43:39.000Z | 2022-03-27T18:43:59.000Z | test/static_analysis/class_simple.py | PeterJCLaw/jedi | 070f191f550990c23220d7f209df076178307cf6 | [
"MIT"
] | 525 | 2015-01-02T19:07:31.000Z | 2022-03-13T02:03:20.000Z | class Base(object):
class Nested():
def foo():
pass
class X(Base.Nested):
pass
X().foo()
#! 4 attribute-error
X().bar()
| 10.857143 | 21 | 0.519737 | 20 | 152 | 3.95 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.309211 | 152 | 13 | 22 | 11.692308 | 0.742857 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0.25 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3f89ecd1b69a6979114be0b8fc20913724d2108d | 850 | py | Python | ProgramacaoOOAvancado/heranca_multipla.py | VictorMello1993/CursoPythonUdemy | d3e2e542a7c3d3f9635f2b88d0e75ab4fa84236d | [
"MIT"
] | null | null | null | ProgramacaoOOAvancado/heranca_multipla.py | VictorMello1993/CursoPythonUdemy | d3e2e542a7c3d3f9635f2b88d0e75ab4fa84236d | [
"MIT"
] | 4 | 2021-04-08T21:54:09.000Z | 2022-02-10T14:35:13.000Z | ProgramacaoOOAvancado/heranca_multipla.py | VictorMello1993/CursoPythonUdemy | d3e2e542a7c3d3f9635f2b88d0e75ab4fa84236d | [
"MIT"
] | null | null | null | #Herança múltipla: classes que herdam de várias classes pai
class Animal:
@property
def capacidades(self):
return ('dormir', 'comer', 'beber')
class Homem(Animal):
@property
def capacidades(self):
return super().capacidades + ('amar', 'falar', 'estudar')
class Aranha(Animal):
@p... | 24.285714 | 88 | 0.657647 | 94 | 850 | 5.840426 | 0.478723 | 0.080146 | 0.160291 | 0.189435 | 0.35337 | 0.35337 | 0.284153 | 0.196721 | 0 | 0 | 0 | 0 | 0.208235 | 850 | 35 | 89 | 24.285714 | 0.81575 | 0.087059 | 0 | 0.347826 | 0 | 0 | 0.263226 | 0.033548 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0 | 0.173913 | 0.521739 | 0.130435 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3fa49df2404fd26e0340ce7df406831e7383831e | 184 | py | Python | environments/simple-road/simple_road/__init__.py | KarlRong/Safe-RL-for-Driving | 67484911ca8ad9f1476e96043c379c01cd5ced8c | [
"Apache-2.0"
] | null | null | null | environments/simple-road/simple_road/__init__.py | KarlRong/Safe-RL-for-Driving | 67484911ca8ad9f1476e96043c379c01cd5ced8c | [
"Apache-2.0"
] | null | null | null | environments/simple-road/simple_road/__init__.py | KarlRong/Safe-RL-for-Driving | 67484911ca8ad9f1476e96043c379c01cd5ced8c | [
"Apache-2.0"
] | null | null | null | from gym.envs.registration import register
register(
id='road-v0',
entry_point='simple_road.envs:SimpleRoad',
# kwargs={'m': 9, 'n': 9, 'magicSquares': {18: 54, 63: 14}}
) | 26.285714 | 63 | 0.646739 | 26 | 184 | 4.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.163043 | 184 | 7 | 64 | 26.285714 | 0.688312 | 0.309783 | 0 | 0 | 0 | 0 | 0.269841 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 |
3fc5aa33d9601865af96dc1d09d5168a8eca613e | 469 | py | Python | src/aioswitcher/errors.py | OrBin/aioswitcher | 114911d63985f80333e40295b460b4eaef554b90 | [
"MIT"
] | 1 | 2021-04-02T17:23:43.000Z | 2021-04-02T17:23:43.000Z | src/aioswitcher/errors.py | fabaff/aioswitcher | e88462c2f490f90ddda6962791ffcd116004d5f6 | [
"MIT"
] | null | null | null | src/aioswitcher/errors.py | fabaff/aioswitcher | e88462c2f490f90ddda6962791ffcd116004d5f6 | [
"MIT"
] | null | null | null | """Switcher water heater unofficial API and bridge, Exception classes.
.. codeauthor:: Tomer Figenblat <tomer.figenblat@gmail.com>
"""
class CalculationError(Exception):
"""Exception to be raised when cpu bound calculation is failing."""
class DecodingError(Exception):
"""Exception to be raise... | 26.055556 | 72 | 0.712154 | 55 | 469 | 6.072727 | 0.527273 | 0.161677 | 0.179641 | 0.197605 | 0.359281 | 0.359281 | 0.359281 | 0.359281 | 0 | 0 | 0 | 0 | 0.187633 | 469 | 17 | 73 | 27.588235 | 0.87664 | 0.656716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3fcdc46fcfef68be56b80113e1a84cc936401538 | 109 | py | Python | nifstd/nifstd_tools/ontree_server.py | tmsincomb/pyontutils | dad24e7178d8d8cd3bd60d53b9039952fa7a5a1e | [
"MIT"
] | 11 | 2017-05-12T08:50:03.000Z | 2022-01-22T20:23:25.000Z | nifstd/nifstd_tools/ontree_server.py | tmsincomb/pyontutils | dad24e7178d8d8cd3bd60d53b9039952fa7a5a1e | [
"MIT"
] | 81 | 2016-02-25T07:39:15.000Z | 2022-02-17T20:20:27.000Z | nifstd/nifstd_tools/ontree_server.py | tmsincomb/pyontutils | dad24e7178d8d8cd3bd60d53b9039952fa7a5a1e | [
"MIT"
] | 257 | 2017-07-18T19:32:22.000Z | 2022-02-03T17:26:18.000Z | from pyontutils.utils import setPS1
from nifstd_tools.ontree import server
setPS1('ontree')
app = server()
| 15.571429 | 38 | 0.788991 | 15 | 109 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.12844 | 109 | 6 | 39 | 18.166667 | 0.873684 | 0 | 0 | 0 | 0 | 0 | 0.055046 | 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 |
3ff4f2c81ce88a4e04baf64db002d24350db0a66 | 161 | py | Python | demo/urls.py | sondrelg/django-ls-logger | 11fa498be6ec4bbd16563c8c11619109ff3140ec | [
"BSD-3-Clause"
] | 2 | 2020-10-22T19:48:57.000Z | 2020-11-11T13:57:58.000Z | demo/urls.py | sondrelg/django-ls-logger | 11fa498be6ec4bbd16563c8c11619109ff3140ec | [
"BSD-3-Clause"
] | 8 | 2020-05-25T20:50:28.000Z | 2021-12-13T09:50:47.000Z | demo/urls.py | snok/django-js-logger | 11fa498be6ec4bbd16563c8c11619109ff3140ec | [
"BSD-3-Clause"
] | null | null | null | from django.urls import path, include
from . import views
urlpatterns = [
path('', views.index),
path('js-logs/', include('django_js_logger.urls')),
]
| 17.888889 | 55 | 0.670807 | 21 | 161 | 5.047619 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167702 | 161 | 8 | 56 | 20.125 | 0.791045 | 0 | 0 | 0 | 0 | 0 | 0.180124 | 0.130435 | 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 |
3ffe71285fccbb2e5a2f55f40b0fe81a9ee60431 | 5,289 | py | Python | env/Lib/site-packages/OpenGL/GLES2/EXT/tessellation_shader.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 210 | 2016-04-09T14:26:00.000Z | 2022-03-25T18:36:19.000Z | env/Lib/site-packages/OpenGL/GLES2/EXT/tessellation_shader.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 72 | 2016-09-04T09:30:19.000Z | 2022-03-27T17:06:53.000Z | env/Lib/site-packages/OpenGL/GLES2/EXT/tessellation_shader.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 64 | 2016-04-09T14:26:49.000Z | 2022-03-21T11:19:47.000Z | '''OpenGL extension EXT.tessellation_shader
This module customises the behaviour of the
OpenGL.raw.GLES2.EXT.tessellation_shader to provide a more
Python-friendly API
Overview (from the spec)
This extension introduces new tessellation stages and two new shader types
to the OpenGL ES primitive processing pipelin... | 52.89 | 75 | 0.811874 | 775 | 5,289 | 5.52 | 0.339355 | 0.044413 | 0.040907 | 0.011921 | 0.099579 | 0.061477 | 0.040673 | 0.021038 | 0 | 0 | 0 | 0.001125 | 0.159387 | 5,289 | 100 | 76 | 52.89 | 0.961089 | 1.020609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b764c4e739913a8299dc0d0b02da7617274acc3b | 156 | py | Python | weejee/__init__.py | ungood/gamelib | cf2813d5925dec43176fa4c6bc0871a062fd819f | [
"MIT"
] | null | null | null | weejee/__init__.py | ungood/gamelib | cf2813d5925dec43176fa4c6bc0871a062fd819f | [
"MIT"
] | null | null | null | weejee/__init__.py | ungood/gamelib | cf2813d5925dec43176fa4c6bc0871a062fd819f | [
"MIT"
] | null | null | null | import boardgamegeek as bgg
# Cache BGG requests for 15 minutes
cache = bgg.CacheBackendSqlite('cache.db', ttl=15 * 60)
client = bgg.BGGClient(cache=cache) | 31.2 | 55 | 0.769231 | 23 | 156 | 5.217391 | 0.652174 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0.128205 | 156 | 5 | 56 | 31.2 | 0.838235 | 0.211538 | 0 | 0 | 0 | 0 | 0.065574 | 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 |
b783cab1dd92cd8a0f4a21814538fdcdb8397072 | 283 | py | Python | bug/bugviews.py | ericsz0/autotest | 6010b58a9f8d19644e2b185f24639e0caf81c538 | [
"MIT"
] | null | null | null | bug/bugviews.py | ericsz0/autotest | 6010b58a9f8d19644e2b185f24639e0caf81c538 | [
"MIT"
] | null | null | null | bug/bugviews.py | ericsz0/autotest | 6010b58a9f8d19644e2b185f24639e0caf81c538 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from bug.models import Bug
# Create your views here.
#bug管理
def bug_manage(request):
username = request.session.get('user', '')
bug_list = Bug.objects.all()
return render(request,"bug_manage.html", {"user": username,"bugs": bug_list}) | 31.444444 | 81 | 0.720848 | 40 | 283 | 5 | 0.625 | 0.09 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141343 | 283 | 9 | 81 | 31.444444 | 0.823045 | 0.09894 | 0 | 0 | 0 | 0 | 0.106719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b7af3ef754c495a346c83a6fdcf34da7b3b8e116 | 1,349 | py | Python | src/ingest-pipeline/md/data_collection.py | AustinHartman/ingest-pipeline | 788d9310792c9396a38650deda3dad11483b368c | [
"MIT"
] | 6 | 2020-02-18T19:09:59.000Z | 2021-10-07T20:38:46.000Z | src/ingest-pipeline/md/data_collection.py | AustinHartman/ingest-pipeline | 788d9310792c9396a38650deda3dad11483b368c | [
"MIT"
] | 324 | 2020-02-06T22:08:50.000Z | 2022-03-24T20:44:33.000Z | src/ingest-pipeline/md/data_collection.py | AustinHartman/ingest-pipeline | 788d9310792c9396a38650deda3dad11483b368c | [
"MIT"
] | 2 | 2020-07-20T14:43:49.000Z | 2021-10-29T18:24:36.000Z | #! /usr/bin/env python
import os
import json
from metadata_file import MetadataFile
import data_file_types
_MD_TYPE_TBL = None # lazy initialization
class DataCollection(object):
category_name = 'Base'
match_priority = -1.0 # normally >= 0.0, higher is better
@classmethod
def test_match(cls,... | 24.981481 | 75 | 0.605634 | 167 | 1,349 | 4.60479 | 0.461078 | 0.046814 | 0.070221 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004292 | 0.309118 | 1,349 | 53 | 76 | 25.45283 | 0.820815 | 0.172721 | 0 | 0 | 0 | 0 | 0.036827 | 0.021719 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225806 | false | 0 | 0.129032 | 0.129032 | 0.645161 | 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 |
4d0ad33950cb603791d017fe065c4035ce128a5b | 7,786 | py | Python | tests/gcp/operators/test_pubsub.py | kpathak13/airflow-1 | 02b478ef8a7e1c1f890e5eb89842333a53654a70 | [
"Apache-2.0"
] | 1 | 2019-10-02T13:33:48.000Z | 2019-10-02T13:33:48.000Z | tests/gcp/operators/test_pubsub.py | kpathak13/airflow-1 | 02b478ef8a7e1c1f890e5eb89842333a53654a70 | [
"Apache-2.0"
] | null | null | null | tests/gcp/operators/test_pubsub.py | kpathak13/airflow-1 | 02b478ef8a7e1c1f890e5eb89842333a53654a70 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
#... | 34 | 83 | 0.64616 | 810 | 7,786 | 5.935802 | 0.202469 | 0.037438 | 0.045965 | 0.066556 | 0.700291 | 0.700291 | 0.700291 | 0.679701 | 0.654742 | 0.633319 | 0 | 0.002143 | 0.28076 | 7,786 | 228 | 84 | 34.149123 | 0.856429 | 0.099409 | 0 | 0.690217 | 0 | 0 | 0.063778 | 0.044616 | 0 | 0 | 0 | 0 | 0.059783 | 1 | 0.043478 | false | 0 | 0.016304 | 0 | 0.086957 | 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 |
4d14349dff519886f35f4e903e508ef623504130 | 1,600 | py | Python | Credentials.py | nancy88199488/Password_Generator | bbd997903c63c0f4bdf994e37d13d5e28b72bbd3 | [
"MIT"
] | null | null | null | Credentials.py | nancy88199488/Password_Generator | bbd997903c63c0f4bdf994e37d13d5e28b72bbd3 | [
"MIT"
] | null | null | null | Credentials.py | nancy88199488/Password_Generator | bbd997903c63c0f4bdf994e37d13d5e28b72bbd3 | [
"MIT"
] | null | null | null | class Credentials:
'''
Created class for credentials
'''
def __init__(self, account_name, account_password):
self.account_name = account_name
self.account_password = account_password
credentials_list = []
def save_credentials(self):
'''
Method that saves creden... | 28.070175 | 94 | 0.620625 | 173 | 1,600 | 5.572254 | 0.323699 | 0.102697 | 0.056017 | 0.045643 | 0.116183 | 0.116183 | 0.116183 | 0.116183 | 0.116183 | 0.116183 | 0 | 0 | 0.31875 | 1,600 | 57 | 95 | 28.070175 | 0.884404 | 0.326875 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0.086957 | 0 | 0 | 0.521739 | 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 |
4d16ec14a425945463f819a511b44ef817365501 | 2,196 | py | Python | feedreader/fallback/rss091.py | webos-goodies/feedreader | 42f44a98980af3a9bc39fa5c436a48fc31733d0f | [
"BSD-2-Clause"
] | 1 | 2015-11-15T18:45:50.000Z | 2015-11-15T18:45:50.000Z | feedreader/fallback/rss091.py | webos-goodies/feedreader | 42f44a98980af3a9bc39fa5c436a48fc31733d0f | [
"BSD-2-Clause"
] | null | null | null | feedreader/fallback/rss091.py | webos-goodies/feedreader | 42f44a98980af3a9bc39fa5c436a48fc31733d0f | [
"BSD-2-Clause"
] | null | null | null | """
RSS 0.91 Support
"""
from feedreader.fallback.base import (Feed, Item, get_element_text, get_attribute, search_child,
get_xpath_node, get_xpath_text, get_xpath_datetime,
safe_strip, normalize_spaces, unescape_html)
class RSS091Fallback(F... | 23.115789 | 96 | 0.688069 | 272 | 2,196 | 5.290441 | 0.235294 | 0.137596 | 0.066713 | 0.077832 | 0.52606 | 0.455177 | 0.33287 | 0.275886 | 0.275886 | 0.209173 | 0 | 0.011442 | 0.204007 | 2,196 | 94 | 97 | 23.361702 | 0.811785 | 0.007286 | 0 | 0.537313 | 0 | 0 | 0.0907 | 0.010589 | 0 | 0 | 0 | 0 | 0 | 1 | 0.283582 | false | 0 | 0.014925 | 0.253731 | 0.61194 | 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 |
4d284b1c1c1e5949674763f03e80bcd52a3b8c61 | 777 | py | Python | job/filters.py | WillieIlus/jobscorner | ed3734468ea0e88a306a1d29bc876562e940f4fb | [
"bzip2-1.0.6"
] | 2 | 2020-04-12T13:18:35.000Z | 2021-04-02T04:18:17.000Z | job/filters.py | WillieIlus/jobscorner | ed3734468ea0e88a306a1d29bc876562e940f4fb | [
"bzip2-1.0.6"
] | 3 | 2020-02-11T23:58:53.000Z | 2020-09-06T18:46:17.000Z | job/filters.py | WillieIlus/jobscorner | ed3734468ea0e88a306a1d29bc876562e940f4fb | [
"bzip2-1.0.6"
] | 1 | 2020-08-17T08:29:41.000Z | 2020-08-17T08:29:41.000Z | import django_filters
from django import forms
from .models import Job
class JobFilter(django_filters.FilterSet):
title = django_filters.CharFilter(lookup_expr='icontains', label='', required=False,
widget=forms.TextInput(attrs={'placeholder': 'Job Title'}))
salary = djan... | 43.166667 | 105 | 0.621622 | 73 | 777 | 6.506849 | 0.369863 | 0.136842 | 0.145263 | 0.183158 | 0.606316 | 0.606316 | 0.606316 | 0.606316 | 0.606316 | 0.606316 | 0 | 0 | 0.254826 | 777 | 17 | 106 | 45.705882 | 0.82038 | 0 | 0 | 0 | 0 | 0 | 0.138996 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.230769 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 3 |
4d31b9dc45a1ffafd5228a641c75c3d9e29348fa | 3,584 | py | Python | intensio/test/python/basic/output/Intensio-Obfuscator-example/intensio/core/utils/intensio_usage.py | vflanker/py-confuser | a96ea578b94605a6a9c90e8c7402930b7cee7a06 | [
"MIT"
] | null | null | null | intensio/test/python/basic/output/Intensio-Obfuscator-example/intensio/core/utils/intensio_usage.py | vflanker/py-confuser | a96ea578b94605a6a9c90e8c7402930b7cee7a06 | [
"MIT"
] | null | null | null | intensio/test/python/basic/output/Intensio-Obfuscator-example/intensio/core/utils/intensio_usage.py | vflanker/py-confuser | a96ea578b94605a6a9c90e8c7402930b7cee7a06 | [
"MIT"
] | 1 | 2021-07-20T03:02:26.000Z | 2021-07-20T03:02:26.000Z | # -*- coding: utf-8 -*-
import argparse
class kELxtlFQarZwsCcVdpHHCgDyYTSEeUWT:
def __init__(self):
self.oyScjNKuiaOTGYLDxgdBWIevCAqQsBrI = argparse.ArgumentParser(
prog="intensio_obfuscator.py"
)
self.oyScjNKuia... | 57.806452 | 222 | 0.467076 | 209 | 3,584 | 7.909091 | 0.421053 | 0.261343 | 0.212341 | 0.255898 | 0.332123 | 0.332123 | 0.15608 | 0.15608 | 0 | 0 | 0 | 0.00052 | 0.463728 | 3,584 | 61 | 223 | 58.754098 | 0.859521 | 0.005859 | 0 | 0.3 | 0 | 0.016667 | 0.24656 | 0.051109 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.016667 | 0.033333 | 0.116667 | 0.05 | 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 |
4d44fff6b52ba02594e73609cdfcb1e3c1869db9 | 1,906 | py | Python | dimensionalquantity/tests/test_dimquant_comparisons.py | stefantkeller/dimensionalquantity | 544c5804dc415629056793ea691ece645adf9695 | [
"MIT"
] | null | null | null | dimensionalquantity/tests/test_dimquant_comparisons.py | stefantkeller/dimensionalquantity | 544c5804dc415629056793ea691ece645adf9695 | [
"MIT"
] | null | null | null | dimensionalquantity/tests/test_dimquant_comparisons.py | stefantkeller/dimensionalquantity | 544c5804dc415629056793ea691ece645adf9695 | [
"MIT"
] | null | null | null | #! /usr/bin/python3
# -*- coding: utf-8 -*-
import pytest
from dimensionalquantity import Dimensional as D
from dimensionalquantity import DimQuant as DQ
def test_eq():
q0 = DQ(1, D({'a':1, 'b':0, 'c':0}))
q1 = DQ(1, D({'a':1, 'b':0, 'c':0}))
assert(q0 == q1)
def test_eq_non_dimensional_DQ():
q0 = ... | 21.908046 | 48 | 0.513641 | 299 | 1,906 | 3.240803 | 0.133779 | 0.043344 | 0.198142 | 0.122807 | 0.765738 | 0.737874 | 0.698658 | 0.657379 | 0.657379 | 0.656347 | 0 | 0.09058 | 0.275971 | 1,906 | 86 | 49 | 22.162791 | 0.611594 | 0.020986 | 0 | 0.418919 | 0 | 0 | 0.012339 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 1 | 0.094595 | false | 0 | 0.040541 | 0 | 0.135135 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4d6825557255d7fb9b280057c3a07938b9aa054e | 48 | py | Python | transferit/version.py | sorenlind/transferit | c77ecb23a2fb6f571cba66155b0b99e4f359fa68 | [
"MIT"
] | 1 | 2021-07-28T09:39:46.000Z | 2021-07-28T09:39:46.000Z | transferit/version.py | sorenlind/transferit | c77ecb23a2fb6f571cba66155b0b99e4f359fa68 | [
"MIT"
] | null | null | null | transferit/version.py | sorenlind/transferit | c77ecb23a2fb6f571cba66155b0b99e4f359fa68 | [
"MIT"
] | null | null | null | """Package version number."""
VERSION = "0.1.0"
| 16 | 29 | 0.625 | 7 | 48 | 4.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.125 | 48 | 2 | 30 | 24 | 0.642857 | 0.479167 | 0 | 0 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4d688bd09f100b84b204753265d46c1668605c54 | 276 | py | Python | virtual/lib/python3.6/site-packages/rating/urls.py | DennisKipkirui/Awards | 9e693f51ee8e9e9835876c8d9e791927814047fe | [
"Unlicense"
] | null | null | null | virtual/lib/python3.6/site-packages/rating/urls.py | DennisKipkirui/Awards | 9e693f51ee8e9e9835876c8d9e791927814047fe | [
"Unlicense"
] | null | null | null | virtual/lib/python3.6/site-packages/rating/urls.py | DennisKipkirui/Awards | 9e693f51ee8e9e9835876c8d9e791927814047fe | [
"Unlicense"
] | null | null | null | from rest_framework.routers import DefaultRouter
from .views import ObjectRatingViewSet, RatingElementViewSet
router = DefaultRouter()
router.register(r'objectratings', ObjectRatingViewSet)
router.register(r'ratingelements', RatingElementViewSet)
urlpatterns = router.urls
| 27.6 | 60 | 0.847826 | 26 | 276 | 8.961538 | 0.615385 | 0.120172 | 0.128755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07971 | 276 | 9 | 61 | 30.666667 | 0.917323 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 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 |
4d6e98bc29b056f78184ec1baaa5ce630174a780 | 259 | py | Python | djangodemo/home/views.py | chrissmejia/jsConfirm | f15cc3e5696c82540e20d02f5aee61986e54bcca | [
"MIT"
] | null | null | null | djangodemo/home/views.py | chrissmejia/jsConfirm | f15cc3e5696c82540e20d02f5aee61986e54bcca | [
"MIT"
] | null | null | null | djangodemo/home/views.py | chrissmejia/jsConfirm | f15cc3e5696c82540e20d02f5aee61986e54bcca | [
"MIT"
] | null | null | null | from django.views.generic import TemplateView
# Create your views here.
'''
Index view.
'''
class IndexView(TemplateView):
template_name = "home/index.html"
'''
Gallery view.
'''
class GalleryView(TemplateView):
template_name = "home/gallery.html"
| 16.1875 | 45 | 0.722008 | 30 | 259 | 6.166667 | 0.633333 | 0.097297 | 0.259459 | 0.302703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146718 | 259 | 15 | 46 | 17.266667 | 0.837104 | 0.088803 | 0 | 0 | 0 | 0 | 0.164948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4d82622655e78a4ca6b3338a4005acafe41202d3 | 2,836 | py | Python | diofant/domains/quotientring.py | rajkk1/diofant | 6b361334569e4ec2e8c7d30dc324387a4ad417c2 | [
"BSD-3-Clause"
] | 57 | 2016-09-13T23:16:26.000Z | 2022-03-29T06:45:51.000Z | diofant/domains/quotientring.py | rajkk1/diofant | 6b361334569e4ec2e8c7d30dc324387a4ad417c2 | [
"BSD-3-Clause"
] | 402 | 2016-05-11T11:11:47.000Z | 2022-03-31T14:27:02.000Z | diofant/domains/quotientring.py | rajkk1/diofant | 6b361334569e4ec2e8c7d30dc324387a4ad417c2 | [
"BSD-3-Clause"
] | 20 | 2016-05-11T08:17:37.000Z | 2021-09-10T09:15:51.000Z | import numbers
from ..polys.polyerrors import CoercionFailed
from .domainelement import DomainElement
class QuotientRingElement(DomainElement):
"""A class representing an element of the quotent ring."""
@property
def parent(self):
return self._parent
def __init__(self, rep):
if isin... | 26.504673 | 74 | 0.599436 | 312 | 2,836 | 5.035256 | 0.211538 | 0.095481 | 0.053469 | 0.075748 | 0.513686 | 0.49077 | 0.49077 | 0.452578 | 0.452578 | 0.452578 | 0 | 0.001521 | 0.304654 | 2,836 | 106 | 75 | 26.754717 | 0.795132 | 0.018336 | 0 | 0.365854 | 0 | 0 | 0.015119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243902 | false | 0 | 0.036585 | 0.134146 | 0.609756 | 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 |
4d840c0deef0229f7cdcb37e7e70241f5e24003b | 121 | py | Python | setup.py | utsavdrolia/AndroidUtils | 2094317c5ab3985c29b4fad395029744e163c699 | [
"Apache-2.0"
] | 1 | 2016-04-08T21:24:45.000Z | 2016-04-08T21:24:45.000Z | setup.py | utsavdrolia/AndroidUtils | 2094317c5ab3985c29b4fad395029744e163c699 | [
"Apache-2.0"
] | null | null | null | setup.py | utsavdrolia/AndroidUtils | 2094317c5ab3985c29b4fad395029744e163c699 | [
"Apache-2.0"
] | null | null | null | from distutils.core import setup
setup(name='AndroidUtils',
version='1.0',
packages=['AndroidUtils'],
) | 24.2 | 32 | 0.644628 | 13 | 121 | 6 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.206612 | 121 | 5 | 33 | 24.2 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.221311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 |
4d8cd57dcb518823146b878487a6f4712556f0cd | 16,538 | py | Python | src/mac_system_auditor.py | mikefeneley/stig-mac | 31da22050a4e22355286a9be6759d49b194e4328 | [
"MIT"
] | null | null | null | src/mac_system_auditor.py | mikefeneley/stig-mac | 31da22050a4e22355286a9be6759d49b194e4328 | [
"MIT"
] | null | null | null | src/mac_system_auditor.py | mikefeneley/stig-mac | 31da22050a4e22355286a9be6759d49b194e4328 | [
"MIT"
] | null | null | null |
import subprocess
from subprocess import call
from mac_system_logger import MacSystemLogger
class MacSystemAuditor:
"""
Check the system configuartion of the operating system
to see if any aspect of the setup violates the requirements of the
DIA Mac 10.11 STIG.
"""
def __init__(self, holder_... | 33.958932 | 101 | 0.595114 | 1,896 | 16,538 | 5.05116 | 0.128165 | 0.092931 | 0.05012 | 0.046988 | 0.752741 | 0.723191 | 0.678709 | 0.645505 | 0.628172 | 0.600292 | 0 | 0.02405 | 0.298525 | 16,538 | 487 | 102 | 33.958932 | 0.801483 | 0.001572 | 0 | 0.688136 | 0 | 0 | 0.13337 | 0.064262 | 0 | 0 | 0 | 0.002053 | 0 | 0 | null | null | 0.00678 | 0.010169 | null | null | 0.023729 | 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 |
4db28eeec02033e9fad1cfb62a9a78cb57b6d48d | 731 | py | Python | Source/BusPiratePy/interface/BPSpi.py | ASoftTech/Py.BusPiratePy3 | 279f932504d687145bb03208d8bb32c7b9493334 | [
"MIT"
] | null | null | null | Source/BusPiratePy/interface/BPSpi.py | ASoftTech/Py.BusPiratePy3 | 279f932504d687145bb03208d8bb32c7b9493334 | [
"MIT"
] | null | null | null | Source/BusPiratePy/interface/BPSpi.py | ASoftTech/Py.BusPiratePy3 | 279f932504d687145bb03208d8bb32c7b9493334 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
from enum import Enum
from .BPBase import BPBase
from BusPiratePy.util.Logger import Logger
from BusPiratePy.BPConnection import BPConnection, BPMode
class BPSpi(BPBase):
"""Represents a SPI interface for the Bus Pirate"""
def __init__(self, conn: BPConnection):
"""Cla... | 27.074074 | 65 | 0.640219 | 85 | 731 | 5.352941 | 0.529412 | 0.065934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005505 | 0.254446 | 731 | 26 | 66 | 28.115385 | 0.829358 | 0.191518 | 0 | 0 | 0 | 0 | 0.008457 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 1 | 0.181818 | false | 0 | 0.363636 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
4dc0917f8312c5076e4b2ae0048a7222160b5cf5 | 167 | py | Python | tabuada.py | PauloHSNeto/Ciencia-de-Computa-o-CourseEra | 230281ba7227348ed2d27bb20039aed223244d94 | [
"bzip2-1.0.6"
] | null | null | null | tabuada.py | PauloHSNeto/Ciencia-de-Computa-o-CourseEra | 230281ba7227348ed2d27bb20039aed223244d94 | [
"bzip2-1.0.6"
] | null | null | null | tabuada.py | PauloHSNeto/Ciencia-de-Computa-o-CourseEra | 230281ba7227348ed2d27bb20039aed223244d94 | [
"bzip2-1.0.6"
] | null | null | null | linha = 1
coluna = 1
while linha <11:
while coluna<11:
print (linha * coluna, end ="\t")
coluna+=1
linha = linha +1
print()
coluna = 1
| 16.7 | 41 | 0.526946 | 23 | 167 | 3.826087 | 0.347826 | 0.238636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082569 | 0.347305 | 167 | 9 | 42 | 18.555556 | 0.724771 | 0 | 0 | 0.222222 | 0 | 0 | 0.011976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.222222 | 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 |
4dc7060073e66566ba1559cb00492b5710fab82c | 4,087 | py | Python | pynepcord/base/sharp.py | NellyD3v/pynepcord | 5378c188e4c9b53a77785361babad7d3cb25c73c | [
"MIT"
] | 5 | 2020-12-12T18:32:55.000Z | 2020-12-13T07:39:50.000Z | pynepcord/base/sharp.py | NellyD3v/pynepcord | 5378c188e4c9b53a77785361babad7d3cb25c73c | [
"MIT"
] | 1 | 2021-01-29T14:48:01.000Z | 2021-01-29T20:17:56.000Z | pynepcord/base/sharp.py | NellyD3v/pynepcord | 5378c188e4c9b53a77785361babad7d3cb25c73c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# MIT License
#
# Copyright (c) 2020 NellyD3v
#
# 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 use,... | 28.985816 | 80 | 0.62711 | 497 | 4,087 | 5.122736 | 0.364185 | 0.023566 | 0.024745 | 0.015318 | 0.339356 | 0.339356 | 0.339356 | 0.321681 | 0.258052 | 0.219167 | 0 | 0.002787 | 0.297773 | 4,087 | 140 | 81 | 29.192857 | 0.884321 | 0.676046 | 0 | 0.1875 | 0 | 0 | 0.104839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.4375 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
4dc7b14c176a8fede92e29e34d6f6962db9eedaf | 295 | py | Python | effects/solid.py | alexge50/lightfx | 286ff0cc2bffdf26a2758e3c686f20a6b2211c9a | [
"BSD-3-Clause-Clear"
] | null | null | null | effects/solid.py | alexge50/lightfx | 286ff0cc2bffdf26a2758e3c686f20a6b2211c9a | [
"BSD-3-Clause-Clear"
] | null | null | null | effects/solid.py | alexge50/lightfx | 286ff0cc2bffdf26a2758e3c686f20a6b2211c9a | [
"BSD-3-Clause-Clear"
] | null | null | null | from core.effects import Effect
from collections import namedtuple
SolidOptions = namedtuple('SolidOptions', 'color')
class Solid(Effect):
OPTIONS_TYPE = SolidOptions
DEFAULT_OPTIONS = SolidOptions((255, 0, 255))
def run(self, delta_time, options):
return options.color
| 21.071429 | 50 | 0.732203 | 34 | 295 | 6.264706 | 0.647059 | 0.206573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028926 | 0.179661 | 295 | 13 | 51 | 22.692308 | 0.85124 | 0 | 0 | 0 | 0 | 0 | 0.057823 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0.125 | 0.875 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4dd9642b3af08fc3a7b73823d1b98c49af552653 | 285 | py | Python | 001146StepikPyBegin/Stepik001146PyBeginсh05p01st02C02_ekz_chessBoardy_20200419.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001146StepikPyBegin/Stepik001146PyBeginсh05p01st02C02_ekz_chessBoardy_20200419.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001146StepikPyBegin/Stepik001146PyBeginсh05p01st02C02_ekz_chessBoardy_20200419.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | square1 = [int(input()), int(input())]
square2 = [int(input()), int(input())]
if ((square1[0] + square1[1]) % 2 == 0 and (square2[0] + square2[1]) % 2 == 0) or (
(square1[0] + square1[1]) % 2 != 0 and (square2[0] + square2[1]) % 2 != 0):
print("YES")
else:
print("NO")
| 35.625 | 83 | 0.515789 | 43 | 285 | 3.418605 | 0.325581 | 0.217687 | 0.081633 | 0.217687 | 0.530612 | 0.530612 | 0.530612 | 0.530612 | 0.530612 | 0.530612 | 0 | 0.115556 | 0.210526 | 285 | 7 | 84 | 40.714286 | 0.537778 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 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 |
4de9a466dda6fe69fbd8cec4ff429e16aa8d0500 | 2,555 | py | Python | deephyper/contrib/layers/evonorm.py | Z223I/deephyper | 4fd1054dc22f15197567bdd93c6e7a95a614b8e2 | [
"BSD-3-Clause"
] | 185 | 2018-11-06T18:49:47.000Z | 2022-03-31T22:10:41.000Z | deephyper/contrib/layers/evonorm.py | Z223I/deephyper | 4fd1054dc22f15197567bdd93c6e7a95a614b8e2 | [
"BSD-3-Clause"
] | 108 | 2018-12-17T17:58:05.000Z | 2022-03-16T10:22:08.000Z | deephyper/contrib/layers/evonorm.py | Z223I/deephyper | 4fd1054dc22f15197567bdd93c6e7a95a614b8e2 | [
"BSD-3-Clause"
] | 50 | 2018-12-11T20:41:41.000Z | 2022-02-25T19:50:47.000Z | """
https://arxiv.org/pdf/2004.02967.pdf
"""
import tensorflow as tf
def group_std_2d(x, groups=32, eps=1e-5):
N, H, W, C = tf.shape(x)
x = tf.reshape(x, [N, H, W, groups, C // groups])
_, var = tf.nn.moments(x, [1, 2, 4], keepdims=True)
std = tf.sqrt(var + eps)
std = tf.broadcast_to(std, x.shape)... | 32.341772 | 79 | 0.516243 | 321 | 2,555 | 3.990654 | 0.208723 | 0.014052 | 0.06089 | 0.043716 | 0.782201 | 0.735363 | 0.735363 | 0.676034 | 0.647931 | 0.647931 | 0 | 0.030048 | 0.348728 | 2,555 | 78 | 80 | 32.75641 | 0.739784 | 0.01409 | 0 | 0.52381 | 0 | 0 | 0.007965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.126984 | false | 0 | 0.015873 | 0 | 0.269841 | 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 |
4dec0d7ac5248a04d8c971de8c520cb1aab465c2 | 46,698 | py | Python | GraphicsFrame.py | BraedonWooding/CalculatorPy | 3cfb2527d1aceb010768d5aab93c670a4232cdd7 | [
"MIT"
] | null | null | null | GraphicsFrame.py | BraedonWooding/CalculatorPy | 3cfb2527d1aceb010768d5aab93c670a4232cdd7 | [
"MIT"
] | null | null | null | GraphicsFrame.py | BraedonWooding/CalculatorPy | 3cfb2527d1aceb010768d5aab93c670a4232cdd7 | [
"MIT"
] | null | null | null | import subprocess
import wx
import wx.adv
import wx.lib.plot as plot
import UIConstants
selfV = None
allGraphs = []
colours = [
"FIREBRICK","MEDIUM FOREST GREEN","RED",
"BLACK","FOREST GREEN","MEDIUM GOLDENROD","SALMON",
"BLUE","GOLD","MEDIUM ORCHID", "SEA GREEN",
"BLUE VIOLET","GOLDENROD", "MEDIUM SEA GREEN", "SIE... | 78.352349 | 19,527 | 0.615744 | 6,143 | 46,698 | 4.646101 | 0.111672 | 0.00925 | 0.00946 | 0.011562 | 0.660138 | 0.628815 | 0.574892 | 0.536737 | 0.510984 | 0.503696 | 0 | 0.35115 | 0.21033 | 46,698 | 596 | 19,528 | 78.352349 | 0.422822 | 0.062637 | 0 | 0.291577 | 0 | 0.00216 | 0.05713 | 0 | 0 | 0 | 0 | 0 | 0.00432 | 1 | 0.058315 | false | 0.00216 | 0.010799 | 0 | 0.105832 | 0.00432 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4dec4683fe5029759e131a743e786848b436be8c | 44,430 | py | Python | tests/test_wikidata_stuff.py | lokal-profil/wikidata-stuff | f2985dcd04867708feb9ffc91d260627006845c2 | [
"MIT"
] | 5 | 2015-09-21T15:42:36.000Z | 2017-08-13T16:21:28.000Z | tests/test_wikidata_stuff.py | lokal-profil/wikidata-stuff | f2985dcd04867708feb9ffc91d260627006845c2 | [
"MIT"
] | 26 | 2015-07-03T09:27:17.000Z | 2019-02-17T23:14:46.000Z | tests/test_wikidata_stuff.py | lokal-profil/wikidata-stuff | f2985dcd04867708feb9ffc91d260627006845c2 | [
"MIT"
] | 3 | 2016-04-01T09:23:46.000Z | 2018-01-11T03:02:40.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""Unit tests for WikidataStuff."""
from __future__ import unicode_literals
import json
import mock
import os
import unittest
import pywikibot
from wikidatastuff import wikidata_stuff
from wikidatastuff.reference import Reference # replace with mocks
from wikidatastuff.stat... | 39.634255 | 84 | 0.656561 | 5,702 | 44,430 | 4.778499 | 0.06261 | 0.04272 | 0.036701 | 0.02826 | 0.797079 | 0.747422 | 0.708739 | 0.672845 | 0.633171 | 0.61794 | 0 | 0.019267 | 0.241841 | 44,430 | 1,120 | 85 | 39.669643 | 0.78961 | 0.065136 | 0 | 0.582192 | 0 | 0 | 0.088927 | 0.035038 | 0 | 0 | 0 | 0 | 0.184932 | 1 | 0.111872 | false | 0 | 0.011416 | 0 | 0.136986 | 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 |
4df8d441742021eb0b748371479cccd40e7ea53d | 367 | py | Python | auc_util.py | ShenDezhou/icme2019 | 45d68c47adfd44744aa234006516c14242cdd773 | [
"MIT"
] | 78 | 2019-02-21T12:44:11.000Z | 2022-03-30T11:42:33.000Z | auc_util.py | rightnowandholdon/icme2019 | fe9b31db7bf19b08d5e5d41a259f0a297eb21766 | [
"MIT"
] | 6 | 2019-04-11T13:14:46.000Z | 2021-05-19T14:36:07.000Z | auc_util.py | rightnowandholdon/icme2019 | fe9b31db7bf19b08d5e5d41a259f0a297eb21766 | [
"MIT"
] | 22 | 2019-02-21T02:51:54.000Z | 2021-12-10T02:04:28.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
'''
Created on 2019年2月20日
@author: BD-PC50
'''
import numpy as np
import tensorflow as tf
from sklearn.metrics import log_loss, roc_auc_score
from keras.callbacks import Callback
from keras.backend import backend
def auroc(y_true, y_pred):
return tf.py_func(... | 21.588235 | 66 | 0.713896 | 58 | 367 | 4.344828 | 0.672414 | 0.047619 | 0.087302 | 0.079365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033113 | 0.177112 | 367 | 16 | 67 | 22.9375 | 0.801325 | 0.212534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.714286 | 0.142857 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
4dfd0424a2471589db6cbd80ea22bd742b016396 | 9,396 | py | Python | pytorch_toolbelt/inference/tta.py | malk271828/pytorch-toolbelt | d5fa695b7267ab2c968447391853207e2bedbef5 | [
"MIT"
] | 1 | 2020-07-02T00:22:16.000Z | 2020-07-02T00:22:16.000Z | pytorch_toolbelt/inference/tta.py | preheatedKD/pytorch-toolbelt | d8a7d25c887c5f1c9a6c8e07e8b887bc6fc4617c | [
"MIT"
] | null | null | null | pytorch_toolbelt/inference/tta.py | preheatedKD/pytorch-toolbelt | d8a7d25c887c5f1c9a6c8e07e8b887bc6fc4617c | [
"MIT"
] | null | null | null | """Implementation of GPU-friendly test-time augmentation for image segmentation and classification tasks.
Despite this is called test-time augmentation, these method can be used at training time as well since all
transformation written in PyTorch and respect gradients flow.
"""
from functools import partial
from typin... | 35.456604 | 123 | 0.675926 | 1,305 | 9,396 | 4.63908 | 0.132567 | 0.031715 | 0.017839 | 0.024777 | 0.760159 | 0.732408 | 0.708788 | 0.682689 | 0.679386 | 0.663198 | 0 | 0.020728 | 0.22467 | 9,396 | 264 | 124 | 35.590909 | 0.810295 | 0.236377 | 0 | 0.522876 | 0 | 0 | 0.037107 | 0 | 0 | 0 | 0 | 0 | 0.169935 | 1 | 0.065359 | false | 0 | 0.03268 | 0.006536 | 0.163399 | 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 |
150640d5ef6ad7869699f68a94449e95bd964f23 | 1,390 | py | Python | src/lr/multiple-features-linear-regression-sample.py | del680202/MachineLearning-memo | 29284ca24041969eeb59851a43ab6c28c685fae5 | [
"Apache-2.0"
] | 4 | 2017-04-24T15:01:55.000Z | 2019-11-03T11:11:54.000Z | src/lr/multiple-features-linear-regression-sample.py | aasd145tw/MachineLearning-memo | 29284ca24041969eeb59851a43ab6c28c685fae5 | [
"Apache-2.0"
] | null | null | null | src/lr/multiple-features-linear-regression-sample.py | aasd145tw/MachineLearning-memo | 29284ca24041969eeb59851a43ab6c28c685fae5 | [
"Apache-2.0"
] | 12 | 2017-05-10T13:39:17.000Z | 2019-12-15T14:01:05.000Z | import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
x = [45.9, 41.3, 10.8, 48.9, 32.8, 19.6, 2.1, 2.6, 5.8, 24, 35.1, 7.6, 32.9, 39.6, 20.5, 23.9, 27.7, 5.1, 15.9, 16.9, 12.6, 3.5, 29.3, 16.7, 27.1, 16, 28.3, 17.4, 1.5, 20, 1.4, 4.1, 43.8, 49.4, 26.7, 37.7, 22.3, 33.4, 27.7, 8.4,... | 40.882353 | 263 | 0.539568 | 397 | 1,390 | 1.874055 | 0.269521 | 0.016129 | 0.008065 | 0.013441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.34612 | 0.17482 | 1,390 | 33 | 264 | 42.121212 | 0.302528 | 0.014388 | 0 | 0 | 0 | 0 | 0.016801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.130435 | 0 | 0.130435 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1516aa1fcc50fb9bee9e2f99e766bfedd6886604 | 25,135 | py | Python | Lib/site-packages/OCC/AppCont.py | JWerbrouck/RWTH_M1_Projekt | 7ae63a2277361fa3273cf0677b297379482b8240 | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/OCC/AppCont.py | JWerbrouck/RWTH_M1_Projekt | 7ae63a2277361fa3273cf0677b297379482b8240 | [
"bzip2-1.0.6"
] | 1 | 2022-03-17T16:46:04.000Z | 2022-03-17T16:46:04.000Z | Lib/site-packages/OCC/AppCont.py | JWerbrouck/RWTH_M1_Projekt | 7ae63a2277361fa3273cf0677b297379482b8240 | [
"bzip2-1.0.6"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.1
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (3,0,0):
new_instancemethod = lambda func, inst, cls: _AppCon... | 28.5625 | 132 | 0.667316 | 2,791 | 25,135 | 5.723755 | 0.079541 | 0.063099 | 0.050078 | 0.027543 | 0.76313 | 0.620657 | 0.604883 | 0.603005 | 0.593239 | 0.580344 | 0 | 0.014518 | 0.240899 | 25,135 | 879 | 133 | 28.594994 | 0.822746 | 0.299105 | 0 | 0.475694 | 1 | 0 | 0.02427 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.211806 | false | 0.027778 | 0.059028 | 0.006944 | 0.552083 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
127628d0ba6d99811d19ab4596844833a885dd72 | 128 | py | Python | plugins/__init__.py | arkhon7/ena | b406226cba57b64f8b3773b000497c9918fe2f2b | [
"MIT"
] | null | null | null | plugins/__init__.py | arkhon7/ena | b406226cba57b64f8b3773b000497c9918fe2f2b | [
"MIT"
] | null | null | null | plugins/__init__.py | arkhon7/ena | b406226cba57b64f8b3773b000497c9918fe2f2b | [
"MIT"
] | null | null | null | import os
PLUGINS = [
name
for name in os.listdir("./plugins")
if os.path.isdir(os.path.join("./plugins", name))
]
| 16 | 53 | 0.609375 | 19 | 128 | 4.105263 | 0.578947 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210938 | 128 | 7 | 54 | 18.285714 | 0.772277 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
1288ff90613fa34daa31bd5acec40bb34aa12ee4 | 114 | py | Python | cmd/test_argparse.py | dineshkumar2509/learning-python | e8af11ff0b396da4c3f2cfe21d14131bae4b2adb | [
"MIT"
] | 86 | 2015-06-13T16:53:55.000Z | 2022-03-24T20:56:42.000Z | cmd/test_argparse.py | pei-zheng-yi/learning-python | 55e350dfe44cf04f7d4408e76e72d2f467bd42ce | [
"MIT"
] | 9 | 2015-05-27T07:52:44.000Z | 2022-03-29T21:52:40.000Z | cmd/test_argparse.py | pei-zheng-yi/learning-python | 55e350dfe44cf04f7d4408e76e72d2f467bd42ce | [
"MIT"
] | 124 | 2015-12-10T01:17:18.000Z | 2021-11-08T04:03:38.000Z |
import argparse
parser = argparse.ArgumentParser(description="some information here")
args = parser.parse_args()
| 22.8 | 69 | 0.807018 | 13 | 114 | 7 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096491 | 114 | 4 | 70 | 28.5 | 0.883495 | 0 | 0 | 0 | 0 | 0 | 0.185841 | 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 |
1294d7ad00ff7871914f5f7837a2468be7acd8bf | 2,326 | py | Python | var/spack/repos/builtin/packages/py-pyflakes/package.py | player1537-forks/spack | 822b7632222ec5a91dc7b7cda5fc0e08715bd47c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 11 | 2015-10-04T02:17:46.000Z | 2018-02-07T18:23:00.000Z | var/spack/repos/builtin/packages/py-pyflakes/package.py | player1537-forks/spack | 822b7632222ec5a91dc7b7cda5fc0e08715bd47c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 22 | 2017-08-01T22:45:10.000Z | 2022-03-10T07:46:31.000Z | var/spack/repos/builtin/packages/py-pyflakes/package.py | player1537-forks/spack | 822b7632222ec5a91dc7b7cda5fc0e08715bd47c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 4 | 2016-06-10T17:57:39.000Z | 2018-09-11T04:59:38.000Z | # Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyPyflakes(PythonPackage):
"""A simple program which checks Python source files for errors... | 62.864865 | 95 | 0.797077 | 201 | 2,326 | 9.21393 | 0.477612 | 0.041577 | 0.019438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.376125 | 0.092433 | 2,326 | 36 | 96 | 64.611111 | 0.501184 | 0.16767 | 0 | 0 | 0 | 0 | 0.667013 | 0.580779 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
12bbfba7059de89943cd0e40888e9a4407c281c0 | 752 | py | Python | python/mp3/initializeDB.py | quasarbright/quasarbright.github.io | 942710adf4a2531d033023a6f750efeddf3e9050 | [
"MIT"
] | 1 | 2021-01-23T13:50:34.000Z | 2021-01-23T13:50:34.000Z | python/mp3/initializeDB.py | quasarbright/quasarbright.github.io | 942710adf4a2531d033023a6f750efeddf3e9050 | [
"MIT"
] | 40 | 2018-02-19T19:37:24.000Z | 2022-03-25T18:34:22.000Z | python/mp3/initializeDB.py | quasarbright/quasarbright.github.io | 942710adf4a2531d033023a6f750efeddf3e9050 | [
"MIT"
] | 1 | 2018-12-07T03:07:21.000Z | 2018-12-07T03:07:21.000Z | '''this is before switching to sqlalchemy. IGNORE'''
import sqlite3
connection = sqlite3.connect('media.db')
cursor = connection.cursor()
cursor.execute('create table Song (id integer primary key not null, name text not null, bangericity real not null)')
cursor.execute('create table Tag (id integer primary key not null... | 57.846154 | 136 | 0.776596 | 114 | 752 | 5.052632 | 0.298246 | 0.133681 | 0.164931 | 0.208333 | 0.53125 | 0.461806 | 0.407986 | 0.407986 | 0.296875 | 0.296875 | 0 | 0.00303 | 0.12234 | 752 | 12 | 137 | 62.666667 | 0.869697 | 0.06117 | 0 | 0 | 0 | 0.272727 | 0.675714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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.