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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0ac5835a7237edad7ba4e979b1d5f896fb7b0fe3 | 3,696 | py | Python | example/tests/integration/test_pagination.py | rafasis1986/django-rest-framework-json-api | 435106a5e8ba6417c7d406d5db5c63dbe5122fd2 | [
"BSD-2-Clause"
] | null | null | null | example/tests/integration/test_pagination.py | rafasis1986/django-rest-framework-json-api | 435106a5e8ba6417c7d406d5db5c63dbe5122fd2 | [
"BSD-2-Clause"
] | null | null | null | example/tests/integration/test_pagination.py | rafasis1986/django-rest-framework-json-api | 435106a5e8ba6417c7d406d5db5c63dbe5122fd2 | [
"BSD-2-Clause"
] | null | null | null | import pytest
from django.urls import reverse
try:
from unittest import mock
except ImportError: # pragma: no cover
import mock
pytestmark = pytest.mark.django_db
@mock.patch(
'rest_framework_json_api.utils'
'.get_default_included_resources_from_serializer',
new=lambda s: [])
def test_paginati... | 33.908257 | 100 | 0.354167 | 222 | 3,696 | 5.801802 | 0.387387 | 0.130435 | 0.195652 | 0.170807 | 0.395186 | 0.367236 | 0.197205 | 0.141304 | 0.141304 | 0.141304 | 0 | 0.014673 | 0.520563 | 3,696 | 108 | 101 | 34.222222 | 0.71219 | 0.004329 | 0 | 0.14 | 0 | 0 | 0.290647 | 0.030451 | 0 | 0 | 0 | 0 | 0.01 | 1 | 0.01 | false | 0 | 0.05 | 0 | 0.06 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0ac7ff960fbd1d88045b3b58fc6914a2bda44c72 | 6,290 | py | Python | src/prefect/tasks/github/repos.py | mattalhonte/prefect | aa4f0a42d721c9d926265f761a47ccfd8e4e7393 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/prefect/tasks/github/repos.py | mattalhonte/prefect | aa4f0a42d721c9d926265f761a47ccfd8e4e7393 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2022-02-14T11:25:57.000Z | 2022-02-27T16:25:14.000Z | src/prefect/tasks/github/repos.py | mattalhonte/prefect | aa4f0a42d721c9d926265f761a47ccfd8e4e7393 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-05-31T04:42:56.000Z | 2020-05-31T04:42:56.000Z | from typing import Any, List
from prefect import Task
from prefect.utilities.tasks import defaults_from_attrs
class GetRepoInfo(Task):
"""
Task for retrieving GitHub repository information using the v3 version of the GitHub REST API.
Args:
- repo (str, optional): the name of the repository to op... | 40.063694 | 137 | 0.61256 | 823 | 6,290 | 4.603888 | 0.194411 | 0.015835 | 0.029559 | 0.038005 | 0.74901 | 0.735022 | 0.707311 | 0.688308 | 0.656902 | 0.642914 | 0 | 0.002693 | 0.291574 | 6,290 | 156 | 138 | 40.320513 | 0.847621 | 0.521781 | 0 | 0.397059 | 0 | 0 | 0.15139 | 0.022539 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.073529 | 0 | 0.191176 | 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 |
0add12f5538378ca70081a00b3215df26c9ce03c | 52 | py | Python | mundo 1/ex text.py | jorgeduartejr/Ex-PYTHON | 266b656ad94065e77ece7cdbc9e09062c5933100 | [
"MIT"
] | null | null | null | mundo 1/ex text.py | jorgeduartejr/Ex-PYTHON | 266b656ad94065e77ece7cdbc9e09062c5933100 | [
"MIT"
] | null | null | null | mundo 1/ex text.py | jorgeduartejr/Ex-PYTHON | 266b656ad94065e77ece7cdbc9e09062c5933100 | [
"MIT"
] | null | null | null | frase = input('Digite aqui seu nome completo: ')
| 10.4 | 48 | 0.673077 | 7 | 52 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 52 | 4 | 49 | 13 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0.632653 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0ae2b14b3752abf3dc96f299ba161504b7e3cda9 | 120 | py | Python | locale/pot/api/core/_autosummary/pyvista-MultiBlock-actual_memory_size-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 4 | 2020-08-07T08:19:19.000Z | 2020-12-04T09:51:11.000Z | locale/pot/api/core/_autosummary/pyvista-UnstructuredGrid-actual_memory_size-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 19 | 2020-08-06T00:24:30.000Z | 2022-03-30T19:22:24.000Z | locale/pot/api/core/_autosummary/pyvista-StructuredGrid-actual_memory_size-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 1 | 2021-03-09T07:50:40.000Z | 2021-03-09T07:50:40.000Z | from pyvista import examples
mesh = examples.load_airplane()
mesh.actual_memory_size # doctest:+SKIP
# Expected:
## 93
| 20 | 40 | 0.775 | 16 | 120 | 5.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.125 | 120 | 5 | 41 | 24 | 0.838095 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0af444122ab11fe0966f56edaf2dbda184e9db50 | 234 | py | Python | tinyipam/model/__init__.py | marcsello/tinyipam | 6a8dff9609015a7c5138ee3985d5a5aa163474bc | [
"MIT"
] | null | null | null | tinyipam/model/__init__.py | marcsello/tinyipam | 6a8dff9609015a7c5138ee3985d5a5aa163474bc | [
"MIT"
] | null | null | null | tinyipam/model/__init__.py | marcsello/tinyipam | 6a8dff9609015a7c5138ee3985d5a5aa163474bc | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from .db import db
# Administration stuff
from .user import User
# DNS stuff
from .dns_zone import DNSZone
from .dns_record import DNSRecord
# IP stuff
from .subnet import Subnet
from .address import Address
| 16.714286 | 33 | 0.777778 | 36 | 234 | 5 | 0.5 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005102 | 0.162393 | 234 | 13 | 34 | 18 | 0.913265 | 0.260684 | 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 |
e405ffbbb14f01ceeeacc2f18ae019844c4dded1 | 811 | py | Python | problems/design/Solution297.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | problems/design/Solution297.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | problems/design/Solution297.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | """ Serialization is the process of converting a data structure or object into a
sequence of bits so that it can be stored in a file or memory buffer, or
transmitted across a network connection link to be reconstructed later in the
same or another computer environment.
Design an algorithm to serialize... | 42.684211 | 90 | 0.75709 | 125 | 811 | 4.912 | 0.68 | 0.02443 | 0.035831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007862 | 0.215783 | 811 | 18 | 91 | 45.055556 | 0.957547 | 0.901356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
7c61e3d31c1cba40f9abdb31120ce2150f9c3364 | 292 | py | Python | ScheduleApp/schedule/serializers.py | msamunetogetoge/VueCalendarwithDRF | aec7b4803d60385cdd86559631cc087c3950497a | [
"MIT"
] | null | null | null | ScheduleApp/schedule/serializers.py | msamunetogetoge/VueCalendarwithDRF | aec7b4803d60385cdd86559631cc087c3950497a | [
"MIT"
] | null | null | null | ScheduleApp/schedule/serializers.py | msamunetogetoge/VueCalendarwithDRF | aec7b4803d60385cdd86559631cc087c3950497a | [
"MIT"
] | null | null | null | from rest_framework import serializers
from schedule.models import Schedule
class ScheduleSerializer(serializers.ModelSerializer):
class Meta:
model = Schedule
fields = ["PlanID", "UserID", "PlanFrom", "Color",
"PlanTo", "Title", "PlanAbout"]
| 29.2 | 59 | 0.64726 | 26 | 292 | 7.230769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 292 | 9 | 60 | 32.444444 | 0.858447 | 0 | 0 | 0 | 0 | 0 | 0.159011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7c65a5395d345bd61d261626d44c731f8cc9e16e | 608 | py | Python | pypolka/orders/updatedefinition.py | piotrmaslanka/polka | fab7f2acc8cd2f8028313fd84fea34c795ff35c9 | [
"MIT"
] | 1 | 2015-02-04T16:26:17.000Z | 2015-02-04T16:26:17.000Z | pypolka/orders/updatedefinition.py | piotrmaslanka/polka | fab7f2acc8cd2f8028313fd84fea34c795ff35c9 | [
"MIT"
] | null | null | null | pypolka/orders/updatedefinition.py | piotrmaslanka/polka | fab7f2acc8cd2f8028313fd84fea34c795ff35c9 | [
"MIT"
] | null | null | null | from pypolka.orders import BaseOrder
from pypolka.exceptions import IOException
class UpdateDefinition(BaseOrder):
def __init__(self, sd):
BaseOrder.__init__(self)
self.sd = sd
def __str__(self):
return '\x01' + self.sd.toINTP()
def on_data(self, buffer):
self.is_c... | 25.333333 | 48 | 0.557566 | 67 | 608 | 4.850746 | 0.492537 | 0.073846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017588 | 0.345395 | 608 | 23 | 49 | 26.434783 | 0.798995 | 0.026316 | 0 | 0 | 0 | 0 | 0.006791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.117647 | 0.117647 | 0.529412 | 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 |
7c6ea0d11ff2e7b9d5ac351fba2cf4356b4aa6cc | 12,621 | py | Python | pydoop/mapreduce/api.py | timgates42/pydoop | 438c92ed34e2d4f12db7cc1ea3a7ed094206c3a5 | [
"Apache-2.0"
] | 203 | 2015-01-02T05:52:49.000Z | 2022-03-25T00:05:50.000Z | pydoop/mapreduce/api.py | timgates42/pydoop | 438c92ed34e2d4f12db7cc1ea3a7ed094206c3a5 | [
"Apache-2.0"
] | 209 | 2015-01-16T14:14:20.000Z | 2022-01-20T16:19:24.000Z | pydoop/mapreduce/api.py | timgates42/pydoop | 438c92ed34e2d4f12db7cc1ea3a7ed094206c3a5 | [
"Apache-2.0"
] | 63 | 2015-01-29T08:44:25.000Z | 2021-12-24T03:25:15.000Z | # BEGIN_COPYRIGHT
#
# Copyright 2009-2021 CRS4.
#
# 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 ... | 27.799559 | 78 | 0.623564 | 1,626 | 12,621 | 4.800123 | 0.242312 | 0.01845 | 0.015375 | 0.017937 | 0.186803 | 0.16656 | 0.146573 | 0.122486 | 0.105061 | 0.083792 | 0 | 0.002465 | 0.292845 | 12,621 | 453 | 79 | 27.860927 | 0.872045 | 0.583076 | 0 | 0.395522 | 0 | 0 | 0.023297 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.261194 | false | 0.156716 | 0.029851 | 0.022388 | 0.514925 | 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 |
7c926314a21424310803bd6db033361f729bd553 | 784 | py | Python | erpnext/hr/doctype/salary_component/salary_component.py | nagendrarawat/erpnext_custom | 1b94ecc3e66eae402347c302cd1663b690fb1ade | [
"MIT"
] | 2 | 2019-10-01T13:07:39.000Z | 2019-10-03T03:52:19.000Z | erpnext/hr/doctype/salary_component/salary_component.py | nagendrarawat/erpnext_custom | 1b94ecc3e66eae402347c302cd1663b690fb1ade | [
"MIT"
] | null | null | null | erpnext/hr/doctype/salary_component/salary_component.py | nagendrarawat/erpnext_custom | 1b94ecc3e66eae402347c302cd1663b690fb1ade | [
"MIT"
] | 3 | 2019-09-30T19:17:44.000Z | 2019-10-23T18:59:12.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
from frappe.model.document import Document
from frappe.model.naming import append_number_if_name_exists
class SalaryComponent(Document)... | 37.333333 | 107 | 0.772959 | 106 | 784 | 5.424528 | 0.45283 | 0.234783 | 0.231304 | 0.24 | 0.243478 | 0.16 | 0.16 | 0.16 | 0 | 0 | 0 | 0.008621 | 0.112245 | 784 | 20 | 108 | 39.2 | 0.817529 | 0.173469 | 0 | 0 | 0 | 0 | 0.068323 | 0.032609 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.230769 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c97d7be985a9ff8e01c53aa200ae24c80910687 | 59 | py | Python | hello.py | abhishekanand/leetcode | f1f86d20312561ec599f076587d696d126e88bdd | [
"MIT"
] | null | null | null | hello.py | abhishekanand/leetcode | f1f86d20312561ec599f076587d696d126e88bdd | [
"MIT"
] | null | null | null | hello.py | abhishekanand/leetcode | f1f86d20312561ec599f076587d696d126e88bdd | [
"MIT"
] | null | null | null | import pandas as pd
import os
x = 5
print("Hello world!")
| 9.833333 | 21 | 0.694915 | 11 | 59 | 3.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.20339 | 59 | 5 | 22 | 11.8 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7c997821d7df9594c5c0f978abb3e0d9c93f1de7 | 380 | py | Python | crawling_scraping/lib/python3.7/site-packages/mechanicalsoup/__version__.py | litteletips/crawling_scraping-scrapy_tool | 6d70b4d2a91f2d2bebcc5266ed43ad9be4723bc0 | [
"MIT"
] | null | null | null | crawling_scraping/lib/python3.7/site-packages/mechanicalsoup/__version__.py | litteletips/crawling_scraping-scrapy_tool | 6d70b4d2a91f2d2bebcc5266ed43ad9be4723bc0 | [
"MIT"
] | 16 | 2021-03-19T09:44:52.000Z | 2022-03-12T00:22:14.000Z | crawling_scraping/lib/python3.7/site-packages/mechanicalsoup/__version__.py | litteletips/crawling_scraping | 6d70b4d2a91f2d2bebcc5266ed43ad9be4723bc0 | [
"MIT"
] | null | null | null | __title__ = 'MechanicalSoup'
__description__ = 'A Python library for automating interaction with websites'
__url__ = 'https://mechanicalsoup.readthedocs.io/'
__github_url__ = 'https://github.com/MechanicalSoup/MechanicalSoup'
__version__ = '0.12.0'
__license__ = 'MIT'
__github_assets_absoluteURL__ = """\
https://raw.gi... | 42.222222 | 77 | 0.797368 | 39 | 380 | 6.974359 | 0.692308 | 0.058824 | 0.227941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011396 | 0.076316 | 380 | 8 | 78 | 47.5 | 0.763533 | 0 | 0 | 0 | 0 | 0 | 0.626316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
7c9fc56feaf7bdf47a50434b171c055788594efc | 898 | py | Python | Phase-1/Python Basic 1/Day-15.py | elifbayindir/python-challenges | dde6f3cc7891c75ff3bb75f9f9ded85e03dce413 | [
"MIT"
] | 3 | 2020-05-21T20:19:40.000Z | 2022-02-27T08:20:10.000Z | Phase-1/Python Basic 1/Day-15.py | elifbayindir/python-challenges | dde6f3cc7891c75ff3bb75f9f9ded85e03dce413 | [
"MIT"
] | null | null | null | Phase-1/Python Basic 1/Day-15.py | elifbayindir/python-challenges | dde6f3cc7891c75ff3bb75f9f9ded85e03dce413 | [
"MIT"
] | 4 | 2020-05-12T16:41:52.000Z | 2020-05-21T20:17:22.000Z | """
1. Write a Python program to split a variable length string into variables.
2. Write a Python program to list home directory without absolute path.
3. Write a Python program to calculate the time runs (difference between start and current time) of a program.
4. Write a Python program to input two integers in a ... | 32.071429 | 110 | 0.766147 | 157 | 898 | 4.382166 | 0.503185 | 0.087209 | 0.174419 | 0.276163 | 0.325581 | 0.081395 | 0 | 0 | 0 | 0 | 0 | 0.051034 | 0.19265 | 898 | 27 | 111 | 33.259259 | 0.897931 | 0.987751 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7cb0eba29f5e6326feffe869158074864fb9ddc8 | 647 | py | Python | sagify/template/sagify_base/training/training.py | kevinbuchanjr/sagify | 867bd007bebbe82fd80d8214b6c40bfc3aa0aaaf | [
"MIT"
] | 352 | 2018-05-03T11:55:23.000Z | 2022-03-28T22:30:03.000Z | sagify/template/sagify_base/training/training.py | kevinbuchanjr/sagify | 867bd007bebbe82fd80d8214b6c40bfc3aa0aaaf | [
"MIT"
] | 70 | 2018-06-22T07:20:16.000Z | 2022-03-02T19:08:12.000Z | sagify/template/sagify_base/training/training.py | kevinbuchanjr/sagify | 867bd007bebbe82fd80d8214b6c40bfc3aa0aaaf | [
"MIT"
] | 52 | 2018-05-09T04:35:40.000Z | 2022-03-16T07:47:53.000Z | def train(input_data_path, model_save_path, hyperparams_path=None):
"""
The function to execute the training.
:param input_data_path: [str], input directory path where all the training file(s) reside in
:param model_save_path: [str], directory path to save your model(s)
:param hyperparams_path: [op... | 34.052632 | 96 | 0.667697 | 89 | 647 | 4.685393 | 0.494382 | 0.064748 | 0.093525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.242658 | 647 | 18 | 97 | 35.944444 | 0.840816 | 0.783617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 1 | 1 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7cc3edf770c89ee2c2dcaefb036f81e582d26cf2 | 466 | py | Python | tests/core_execution/test_default_executor.py | defrex/graphql-core | 9c8450fa5b2e3dd0a8ea015ac3b9b5f24028ac91 | [
"MIT"
] | null | null | null | tests/core_execution/test_default_executor.py | defrex/graphql-core | 9c8450fa5b2e3dd0a8ea015ac3b9b5f24028ac91 | [
"MIT"
] | null | null | null | tests/core_execution/test_default_executor.py | defrex/graphql-core | 9c8450fa5b2e3dd0a8ea015ac3b9b5f24028ac91 | [
"MIT"
] | 1 | 2019-08-23T12:52:58.000Z | 2019-08-23T12:52:58.000Z | from graphql.core.execution import get_default_executor, set_default_executor, Executor
def test_get_and_set_default_executor():
e1 = get_default_executor()
e2 = get_default_executor()
assert e1 is e2
new_executor = Executor()
set_default_executor(new_executor)
assert get_default_executor() ... | 27.411765 | 87 | 0.776824 | 65 | 466 | 5.153846 | 0.292308 | 0.447761 | 0.322388 | 0.232836 | 0.250746 | 0.173134 | 0 | 0 | 0 | 0 | 0 | 0.012887 | 0.167382 | 466 | 16 | 88 | 29.125 | 0.850515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 1 | 0.090909 | false | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7ccca306a126b971053983112aba43ef0680b641 | 259,908 | py | Python | py-ups/pyups/time_in_transit_web_service_schema.py | QwadwoNyamekye/purplship-carriers | ce34e3054de246e3d85ddf6928b607193d061ae2 | [
"MIT"
] | 2 | 2021-04-12T22:40:28.000Z | 2021-04-21T18:28:31.000Z | py-ups/pyups/time_in_transit_web_service_schema.py | QwadwoNyamekye/purplship-carriers | ce34e3054de246e3d85ddf6928b607193d061ae2 | [
"MIT"
] | 2 | 2021-01-29T07:14:31.000Z | 2021-02-18T18:29:23.000Z | py-ups/pyups/time_in_transit_web_service_schema.py | QwadwoNyamekye/purplship-carriers | ce34e3054de246e3d85ddf6928b607193d061ae2 | [
"MIT"
] | 3 | 2020-09-09T17:04:46.000Z | 2021-03-05T00:32:32.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated Sat Mar 7 09:07:28 2020 by generateDS.py version 2.35.15.
# Python 3.8.1 (v3.8.1:1b293b6006, Dec 18 2019, 14:08:53) [Clang 6.0 (clang-600.0.57)]
#
# Command line options:
# ('--no-namespace-defs', '')
# ('-o', './python/time_in_transit_web_service_schem... | 48.662797 | 418 | 0.653216 | 25,920 | 259,908 | 6.211883 | 0.028742 | 0.026849 | 0.018725 | 0.019825 | 0.764912 | 0.719213 | 0.698414 | 0.670931 | 0.655485 | 0.628593 | 0 | 0.00266 | 0.253647 | 259,908 | 5,340 | 419 | 48.67191 | 0.827371 | 0.02088 | 0 | 0.671894 | 1 | 0.000397 | 0.062894 | 0.025738 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0.012306 | 0.02362 | 0.034141 | 0.276499 | 0.066296 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 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 |
7cd1af376d341b6cfbf657ec7b9f2e2301ddb5a2 | 119 | py | Python | apps/operation/apps.py | vannesspeng/EducationPlatform | 70200a124cd79701a3a7d3a9bf4f3fae934833b3 | [
"Apache-2.0"
] | 1 | 2019-05-07T02:38:11.000Z | 2019-05-07T02:38:11.000Z | apps/operation/apps.py | vannesspeng/EducationPlatform | 70200a124cd79701a3a7d3a9bf4f3fae934833b3 | [
"Apache-2.0"
] | null | null | null | apps/operation/apps.py | vannesspeng/EducationPlatform | 70200a124cd79701a3a7d3a9bf4f3fae934833b3 | [
"Apache-2.0"
] | 1 | 2018-10-23T08:45:55.000Z | 2018-10-23T08:45:55.000Z | from django.apps import AppConfig
class OperationConfig(AppConfig):
name = 'operation'
verbose_name = u'用户操作' | 19.833333 | 33 | 0.739496 | 14 | 119 | 6.214286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 119 | 6 | 34 | 19.833333 | 0.887755 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7cd2ef1738fe0230c2927c0749e8b66418e9af02 | 165 | py | Python | graphite_feeder/handler/event/enum/courtesy.py | majamassarini/automate-graphite-feeder | 0f17f99bbdaab86e10e0b7d424d055ff44fc4ca0 | [
"MIT"
] | null | null | null | graphite_feeder/handler/event/enum/courtesy.py | majamassarini/automate-graphite-feeder | 0f17f99bbdaab86e10e0b7d424d055ff44fc4ca0 | [
"MIT"
] | null | null | null | graphite_feeder/handler/event/enum/courtesy.py | majamassarini/automate-graphite-feeder | 0f17f99bbdaab86e10e0b7d424d055ff44fc4ca0 | [
"MIT"
] | null | null | null | import home
from graphite_feeder.handler.event.enum import Handler as Parent
class Handler(Parent):
KLASS = home.event.courtesy.Event
TITLE = "Courtesy"
| 16.5 | 64 | 0.751515 | 22 | 165 | 5.590909 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169697 | 165 | 9 | 65 | 18.333333 | 0.89781 | 0 | 0 | 0 | 0 | 0 | 0.048485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6b18ce82ea73a34ef488d1017ae012bd1225dced | 142 | py | Python | src/simmate/database/local_calculations/evolution.py | sionab/simmate | 6dedea7310829aae425bf3393e7923e454a0129f | [
"BSD-3-Clause"
] | null | null | null | src/simmate/database/local_calculations/evolution.py | sionab/simmate | 6dedea7310829aae425bf3393e7923e454a0129f | [
"BSD-3-Clause"
] | null | null | null | src/simmate/database/local_calculations/evolution.py | sionab/simmate | 6dedea7310829aae425bf3393e7923e454a0129f | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from simmate.toolkit.structure_prediction.evolution.database import (
EvolutionarySearch,
StructureSource,
)
| 20.285714 | 69 | 0.732394 | 13 | 142 | 7.923077 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.147887 | 142 | 6 | 70 | 23.666667 | 0.842975 | 0.147887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b1f9daeb1c78211c485c71fcd51bba54a1a06b6 | 575 | py | Python | tests/utils.py | Arussil/salesmanago-python-api | d4e69a8356e98f5cf46b3e104abe8034ce99fc13 | [
"MIT"
] | 1 | 2021-04-20T17:19:13.000Z | 2021-04-20T17:19:13.000Z | tests/utils.py | Arussil/salesmanago-python-api | d4e69a8356e98f5cf46b3e104abe8034ce99fc13 | [
"MIT"
] | 1 | 2021-02-18T14:25:34.000Z | 2021-10-14T09:52:56.000Z | tests/utils.py | Arussil/salesmanago-python-api | d4e69a8356e98f5cf46b3e104abe8034ce99fc13 | [
"MIT"
] | 2 | 2021-02-18T11:40:38.000Z | 2021-10-14T09:56:39.000Z | import random
import string
def gen_string(length, characters=None):
if not characters:
characters = string.ascii_letters+string.digits
fn=''
for i in range(length):
fn+=random.choice(characters)
return fn
def gen_list_of_strings(length):
return [gen_string(random.randint(4,... | 25 | 101 | 0.702609 | 87 | 575 | 4.517241 | 0.390805 | 0.061069 | 0.045802 | 0.083969 | 0.412214 | 0.368957 | 0.368957 | 0.368957 | 0.244275 | 0.244275 | 0 | 0.03212 | 0.187826 | 575 | 23 | 102 | 25 | 0.809422 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6b20ac47188206dd48332aca9d62e6de14b2ef8f | 840 | py | Python | venv/lib/python3.8/site-packages/PyInstaller/hooks/hook-PIL.SpiderImagePlugin.py | avrumnoor/NewsSummarizer | a963497ef9bc62d2148aa28e624ea32955992f57 | [
"MIT"
] | 3 | 2021-03-08T14:40:02.000Z | 2022-01-26T20:42:00.000Z | venv/lib/python3.8/site-packages/PyInstaller/hooks/hook-PIL.SpiderImagePlugin.py | avrumnoor/NewsSummarizer | a963497ef9bc62d2148aa28e624ea32955992f57 | [
"MIT"
] | 20 | 2021-05-03T18:02:23.000Z | 2022-03-12T12:01:04.000Z | venv/lib/python3.8/site-packages/PyInstaller/hooks/hook-PIL.SpiderImagePlugin.py | avrumnoor/NewsSummarizer | a963497ef9bc62d2148aa28e624ea32955992f57 | [
"MIT"
] | 4 | 2018-06-04T20:40:37.000Z | 2020-10-13T22:38:40.000Z | #-----------------------------------------------------------------------------
# Copyright (c) 2005-2021, PyInstaller Development Team.
#
# Distributed under the terms of the GNU General Public License (version 2
# or later) with exception for distributing the bootloader.
#
# The full license is in the file COPYING.txt... | 42 | 78 | 0.635714 | 97 | 840 | 5.484536 | 0.773196 | 0.026316 | 0.041353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014885 | 0.120238 | 840 | 19 | 79 | 44.210526 | 0.705007 | 0.853571 | 0 | 0 | 0 | 0 | 0.045872 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6b25ddd62f14af20e8240985d2c0eb58b4a70cc1 | 154 | py | Python | Sorting/Bogosort/bogosort.py | wizh/algorithms | 95345f607bf9d8be7b5ac5e6059e421c3377adb0 | [
"MIT"
] | null | null | null | Sorting/Bogosort/bogosort.py | wizh/algorithms | 95345f607bf9d8be7b5ac5e6059e421c3377adb0 | [
"MIT"
] | 1 | 2017-04-12T05:15:37.000Z | 2017-04-12T05:16:07.000Z | Sorting/Bogosort/bogosort.py | wizh/algorithms | 95345f607bf9d8be7b5ac5e6059e421c3377adb0 | [
"MIT"
] | null | null | null | from random import shuffle
def bogosort(seq):
while(not all(seq[i] <= seq[i + 1] for i in range(len(seq) - 1))):
shuffle(seq)
return seq | 22 | 70 | 0.61039 | 26 | 154 | 3.615385 | 0.653846 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.246753 | 154 | 7 | 71 | 22 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6b2805bb0719be348245391a2df7a4d4ca80530d | 152 | py | Python | app/plugin.py | Brok-Bucholtz/CloneTube | b9f4b8036db6628da28abe7c0c8524bae753468c | [
"MIT"
] | 2 | 2016-08-03T12:47:22.000Z | 2017-05-28T16:47:14.000Z | app/plugin.py | Brok-Bucholtz/Project-CloneTube | b9f4b8036db6628da28abe7c0c8524bae753468c | [
"MIT"
] | 14 | 2016-07-09T06:05:08.000Z | 2016-07-10T22:46:20.000Z | app/plugin.py | Brok-Bucholtz/CloneTube | b9f4b8036db6628da28abe7c0c8524bae753468c | [
"MIT"
] | 1 | 2019-05-25T04:51:26.000Z | 2019-05-25T04:51:26.000Z | from flask_login import LoginManager
from flask_pymongo import PyMongo
from app.app import app
mongo = PyMongo(app)
login_manager = LoginManager(app)
| 19 | 36 | 0.822368 | 22 | 152 | 5.545455 | 0.409091 | 0.147541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 152 | 7 | 37 | 21.714286 | 0.924242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
860e499fcdfaa1f9bc2dd14ae97ab479642669b7 | 1,865 | py | Python | tests/test_memtable_state_machine.py | anarmanafov1/kvs | 07ef1d9dc6db64c7b24861bbadf6f556c88f1674 | [
"MIT"
] | 1 | 2020-10-07T16:47:07.000Z | 2020-10-07T16:47:07.000Z | tests/test_memtable_state_machine.py | anarmanafov1/kvs | 07ef1d9dc6db64c7b24861bbadf6f556c88f1674 | [
"MIT"
] | 7 | 2020-10-07T17:42:13.000Z | 2020-12-15T00:43:41.000Z | tests/test_memtable_state_machine.py | anarmanafov1/kvs | 07ef1d9dc6db64c7b24861bbadf6f556c88f1674 | [
"MIT"
] | 1 | 2020-10-07T16:49:06.000Z | 2020-10-07T16:49:06.000Z | import os
import tempfile
from typing import Dict
import hypothesis.strategies as st
from hypothesis.stateful import Bundle, RuleBasedStateMachine, rule
from common import TOMBSTONE, Value
from memtable import Memtable
class MemtableDictComparison(RuleBasedStateMachine):
def __init__(self):
super().__in... | 28.257576 | 79 | 0.617158 | 226 | 1,865 | 4.964602 | 0.318584 | 0.074866 | 0.035651 | 0.02139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002182 | 0.262735 | 1,865 | 65 | 80 | 28.692308 | 0.813818 | 0.241287 | 0 | 0.052632 | 0 | 0 | 0.007143 | 0 | 0 | 0 | 0 | 0.015385 | 0.052632 | 1 | 0.210526 | false | 0 | 0.184211 | 0.052632 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
860fecc6e428ffff3135674603da240a7639e82b | 9,409 | py | Python | prepare_data/gen_tfdata_48net.py | marcomerc/MTCNN-Tensorflow-1 | 4ae3a720dc08aebb107f9ed0335c7b0b5e3e22c6 | [
"MIT"
] | 178 | 2018-02-10T05:34:50.000Z | 2021-05-02T17:41:30.000Z | prepare_data/gen_tfdata_48net.py | SeifMostafa/MTCNN-Tensorflow | 4ae3a720dc08aebb107f9ed0335c7b0b5e3e22c6 | [
"MIT"
] | 24 | 2018-06-05T11:48:22.000Z | 2021-02-12T05:00:35.000Z | prepare_data/gen_tfdata_48net.py | SeifMostafa/MTCNN-Tensorflow | 4ae3a720dc08aebb107f9ed0335c7b0b5e3e22c6 | [
"MIT"
] | 107 | 2018-03-03T05:29:20.000Z | 2021-05-25T17:16:05.000Z | """Generate tfrecords file for pnet training,
which has input size of 48*48*3.
Notice this script will use the data generated from
gen_shuffle_data.py and tf_gen_24net_hard_example.py."""
# MIT License
#
# Copyright (c) 2017 Baoming Wang
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
... | 34.591912 | 79 | 0.58646 | 1,276 | 9,409 | 4.165361 | 0.163009 | 0.036124 | 0.039135 | 0.019567 | 0.701223 | 0.682973 | 0.655503 | 0.629163 | 0.624459 | 0.624459 | 0 | 0.02733 | 0.280582 | 9,409 | 271 | 80 | 34.719557 | 0.757867 | 0.132533 | 0 | 0.79646 | 1 | 0 | 0.076696 | 0.006637 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004425 | false | 0 | 0.030973 | 0 | 0.035398 | 0.088496 | 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 |
8636130b7b954aca2e2be07941b238ed0cdd5d8c | 81 | py | Python | bdc_oauth/auth/__init__.py | betonr/oauth | 36285cc538ae0c333f7c8152273283930eb141e8 | [
"MIT"
] | null | null | null | bdc_oauth/auth/__init__.py | betonr/oauth | 36285cc538ae0c333f7c8152273283930eb141e8 | [
"MIT"
] | null | null | null | bdc_oauth/auth/__init__.py | betonr/oauth | 36285cc538ae0c333f7c8152273283930eb141e8 | [
"MIT"
] | null | null | null | from flask_restplus import Namespace
ns = Namespace('auth', description='auth')
| 20.25 | 42 | 0.777778 | 10 | 81 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 81 | 3 | 43 | 27 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 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 |
86385d508cf1e782c0f9d73746662755b0fb87f5 | 239 | py | Python | job_board/search_form.py | DeanBiton/Beyond-07-team-4 | 53ae7af7329d1321e5b48625d05cbf2d12da05f3 | [
"MIT"
] | 1 | 2022-03-03T18:19:25.000Z | 2022-03-03T18:19:25.000Z | job_board/search_form.py | DeanBiton/Beyond-07-team-4 | 53ae7af7329d1321e5b48625d05cbf2d12da05f3 | [
"MIT"
] | 39 | 2022-03-07T16:19:08.000Z | 2022-03-31T19:21:13.000Z | job_board/search_form.py | DeanBiton/Beyond-07-team-4 | 53ae7af7329d1321e5b48625d05cbf2d12da05f3 | [
"MIT"
] | 5 | 2022-03-02T15:48:34.000Z | 2022-03-03T21:27:19.000Z | from django import forms
from job_board.models.preference import Preference
class SearchForm(forms.ModelForm):
class Meta:
model = Preference
fields = ('job_type', 'location', 'years_of_experience', 'work_schedule')
| 23.9 | 81 | 0.723849 | 28 | 239 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1841 | 239 | 9 | 82 | 26.555556 | 0.861538 | 0 | 0 | 0 | 0 | 0 | 0.200837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
863f61b0fabacbd1d06fd4fdf3b83eb0e96cc617 | 316 | py | Python | ejercicios/ejercicio_01.py | jorgemauricio/python-basics | 3e5cc34109ceb2c3396371e13f3ccf45d6557719 | [
"MIT"
] | null | null | null | ejercicios/ejercicio_01.py | jorgemauricio/python-basics | 3e5cc34109ceb2c3396371e13f3ccf45d6557719 | [
"MIT"
] | null | null | null | ejercicios/ejercicio_01.py | jorgemauricio/python-basics | 3e5cc34109ceb2c3396371e13f3ccf45d6557719 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Jul 17 16:17:25 2017
@author: jorgemauricio
Instrucciones
1. Solicita al usuario las variables x y y, las cuales posteriormente utilizaras
para comparar en un método si son: ==, > o <
2. Se debe de imprimir los resultados dentro del método
""" | 26.333333 | 81 | 0.708861 | 50 | 316 | 4.48 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062257 | 0.186709 | 316 | 12 | 82 | 26.333333 | 0.809339 | 1.031646 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.166667 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8641522a167a31041ec7c794d92b86231384e9c2 | 207 | py | Python | videostore/user.py | kannercollege/videostore | d02e91f97bbf9d257ddc40ce387e1154f8277cd2 | [
"Unlicense"
] | null | null | null | videostore/user.py | kannercollege/videostore | d02e91f97bbf9d257ddc40ce387e1154f8277cd2 | [
"Unlicense"
] | null | null | null | videostore/user.py | kannercollege/videostore | d02e91f97bbf9d257ddc40ce387e1154f8277cd2 | [
"Unlicense"
] | 1 | 2022-01-27T15:55:16.000Z | 2022-01-27T15:55:16.000Z | from flask_login import UserMixin
class User(UserMixin):
def __init__(self, is_admin: bool = False, *args, **kwargs) -> None:
self.is_admin = is_admin
super().__init__(*args, **kwargs)
| 25.875 | 72 | 0.661836 | 27 | 207 | 4.62963 | 0.666667 | 0.168 | 0.176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207729 | 207 | 7 | 73 | 29.571429 | 0.762195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
864637eb0728a54273b598a0b0bf2d204bd5dfd2 | 1,188 | py | Python | caer/video/videostream.py | fossabot/caer | 9151a8f3f6a04d2551454969767331a6c1a7bbde | [
"MIT"
] | null | null | null | caer/video/videostream.py | fossabot/caer | 9151a8f3f6a04d2551454969767331a6c1a7bbde | [
"MIT"
] | null | null | null | caer/video/videostream.py | fossabot/caer | 9151a8f3f6a04d2551454969767331a6c1a7bbde | [
"MIT"
] | null | null | null | # Copyright 2020 The Caer Authors. All Rights Reserved.
#
# Licensed under the MIT License (see LICENSE);
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at <https://opensource.org/licenses/MIT>
#
# ===============================================================... | 27.627907 | 91 | 0.636364 | 142 | 1,188 | 5.176056 | 0.5 | 0.119728 | 0.142857 | 0.114286 | 0.068027 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005429 | 0.224747 | 1,188 | 43 | 92 | 27.627907 | 0.792617 | 0.436027 | 0 | 0 | 0 | 0 | 0.016692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.368421 | false | 0 | 0.052632 | 0.210526 | 0.684211 | 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 |
86600b2db50227abbb98fe96fbd286250657cccb | 526 | py | Python | backend/app/main/errors.py | obrien-k/yacht-vue | a28a13dfe968c17fb398d0a68c4079e8be636372 | [
"MIT"
] | 6 | 2020-07-08T05:33:22.000Z | 2021-08-22T20:19:54.000Z | backend/app/main/errors.py | obrien-k/yacht-vue | a28a13dfe968c17fb398d0a68c4079e8be636372 | [
"MIT"
] | 2 | 2021-06-02T02:22:42.000Z | 2022-02-27T07:46:10.000Z | backend/app/main/errors.py | obrien-k/yacht-vue | a28a13dfe968c17fb398d0a68c4079e8be636372 | [
"MIT"
] | 4 | 2020-07-08T05:33:24.000Z | 2021-09-23T15:31:25.000Z | # from flask import render_template
# from app.main.views import main
# import traceback
# @main.app_errorhandler(403)
# def forbidden(_):
# return render_template('errors/403.html'), 403
# @main.app_errorhandler(404)
# def page_not_found(_):
# return render_template('errors/404.html'), 404
# @main.app_e... | 23.909091 | 73 | 0.695817 | 71 | 526 | 4.901408 | 0.464789 | 0.16092 | 0.163793 | 0.224138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060403 | 0.15019 | 526 | 21 | 74 | 25.047619 | 0.718121 | 0.931559 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86788c41fcc5dc9a797a4fce084322983320eed9 | 213 | py | Python | noxfile.py | pyapp-org/pyapp.elasticsearch | 6d16c906a0048aed20fb657ba5b92885853d6172 | [
"BSD-3-Clause"
] | null | null | null | noxfile.py | pyapp-org/pyapp.elasticsearch | 6d16c906a0048aed20fb657ba5b92885853d6172 | [
"BSD-3-Clause"
] | 51 | 2020-08-10T08:08:20.000Z | 2022-03-28T09:01:48.000Z | noxfile.py | pyapp-org/pyapp.elasticsearch | 6d16c906a0048aed20fb657ba5b92885853d6172 | [
"BSD-3-Clause"
] | null | null | null | import nox
from nox.sessions import Session
@nox.session(python=("3.6", "3.7", "3.8"), reuse_venv=True)
def tests(session: Session):
session.run("poetry", "install", "-E", "async")
session.run("pytest")
| 23.666667 | 59 | 0.657277 | 32 | 213 | 4.34375 | 0.65625 | 0.201439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032432 | 0.131455 | 213 | 8 | 60 | 26.625 | 0.718919 | 0 | 0 | 0 | 0 | 0 | 0.164319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8681ac604e3a5f4ecdd5a6f8961717156a7537b2 | 201 | py | Python | components/security/common.py | nikitosboroda/theme | f2e1bd8a4662f7d82ad22f9b03bea740518c1771 | [
"Apache-2.0"
] | null | null | null | components/security/common.py | nikitosboroda/theme | f2e1bd8a4662f7d82ad22f9b03bea740518c1771 | [
"Apache-2.0"
] | null | null | null | components/security/common.py | nikitosboroda/theme | f2e1bd8a4662f7d82ad22f9b03bea740518c1771 | [
"Apache-2.0"
] | null | null | null | from flask import request, render_template
def findings_processing(context, slot, payload):
return render_template(
f"security/app/findings-processing.html",
config=payload
)
| 22.333333 | 49 | 0.721393 | 23 | 201 | 6.173913 | 0.782609 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199005 | 201 | 8 | 50 | 25.125 | 0.881988 | 0 | 0 | 0 | 0 | 0 | 0.18408 | 0.18408 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 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 | 0 | 1 | 0 | 0 | 0 | 3 |
869ff65f535711da3bcc10735369d191d4684775 | 195 | py | Python | Pattern/37_pattern.py | manish1822510059/Python-1000-program | d03c1920fe63a7e32ac5bd9a13e2766d7a25756c | [
"Apache-2.0"
] | 1 | 2021-03-06T03:33:42.000Z | 2021-03-06T03:33:42.000Z | Pattern/37_pattern.py | manish1822510059/Python-1000-programs | d03c1920fe63a7e32ac5bd9a13e2766d7a25756c | [
"Apache-2.0"
] | null | null | null | Pattern/37_pattern.py | manish1822510059/Python-1000-programs | d03c1920fe63a7e32ac5bd9a13e2766d7a25756c | [
"Apache-2.0"
] | null | null | null | n = 5
for x in range(1,n+1):
for y in range(1,n+1):
if(x==y or x+y==n+1):
print(" o ",end="")
else:
print(" x ",end="")
print() | 24.375 | 32 | 0.34359 | 32 | 195 | 2.09375 | 0.4375 | 0.089552 | 0.238806 | 0.268657 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.45641 | 195 | 8 | 33 | 24.375 | 0.575472 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86b440b82f8888143051fff7f4b52c9ccdbc894e | 249 | py | Python | src/makingAnagrams/makingAnagramsTests.py | JohnWebb4/toy_problems | 7d7351bdfbc95205f65b6a6b5f730acbd3bdf171 | [
"MIT"
] | null | null | null | src/makingAnagrams/makingAnagramsTests.py | JohnWebb4/toy_problems | 7d7351bdfbc95205f65b6a6b5f730acbd3bdf171 | [
"MIT"
] | 1 | 2021-08-30T04:27:24.000Z | 2021-08-30T04:27:24.000Z | src/makingAnagrams/makingAnagramsTests.py | JohnWebb4/toy-problems | d0691f8eb7cde31c8e6df15502357d6a9492a0ea | [
"MIT"
] | null | null | null | import unittest
from src.makingAnagrams.makingAnagrams import get_deletions_to_make_anagram
class TestMakingAnagrams(unittest.TestCase):
def test_make_anagram_cde(self):
self.assertEqual(get_deletions_to_make_anagram("cde", "abc"), 4)
| 31.125 | 75 | 0.811245 | 32 | 249 | 5.96875 | 0.625 | 0.172775 | 0.146597 | 0.188482 | 0.26178 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004505 | 0.108434 | 249 | 7 | 76 | 35.571429 | 0.855856 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
86c7af46e6f21642789cc35f6e02cbc4d54712a7 | 4,349 | py | Python | aliyun-python-sdk-devops-rdc/aliyunsdkdevops_rdc/request/v20200303/UpdateTaskDetailRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 1,001 | 2015-07-24T01:32:41.000Z | 2022-03-25T01:28:18.000Z | aliyun-python-sdk-devops-rdc/aliyunsdkdevops_rdc/request/v20200303/UpdateTaskDetailRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 363 | 2015-10-20T03:15:00.000Z | 2022-03-08T12:26:19.000Z | aliyun-python-sdk-devops-rdc/aliyunsdkdevops_rdc/request/v20200303/UpdateTaskDetailRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 682 | 2015-09-22T07:19:02.000Z | 2022-03-22T09:51:46.000Z | # 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
# "License"); you may not u... | 36.855932 | 76 | 0.742929 | 576 | 4,349 | 5.40625 | 0.199653 | 0.115607 | 0.075145 | 0.098266 | 0.338471 | 0.206808 | 0.206808 | 0.206808 | 0 | 0 | 0 | 0.003228 | 0.145091 | 4,349 | 117 | 77 | 37.17094 | 0.83432 | 0.229478 | 0 | 0 | 0 | 0 | 0.11739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.480519 | false | 0 | 0.012987 | 0.233766 | 0.74026 | 0.051948 | 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 |
86e77167e9ee85ce0cda0649863df52f5f5a3b84 | 228 | py | Python | thefuck/rules/man_no_space.py | HiteshMah-Jan/thefuck | 132c62262246824470934c2c6f46919ef6f00203 | [
"MIT"
] | 75,504 | 2015-04-08T18:22:19.000Z | 2022-03-31T23:59:52.000Z | thefuck/rules/man_no_space.py | parulgarg123/thefuck | d10fc80fa5da5724ec945aec12720ef41be9551f | [
"MIT"
] | 1,160 | 2015-04-17T18:47:12.000Z | 2022-03-30T20:42:26.000Z | thefuck/rules/man_no_space.py | parulgarg123/thefuck | d10fc80fa5da5724ec945aec12720ef41be9551f | [
"MIT"
] | 4,399 | 2015-04-17T18:36:04.000Z | 2022-03-31T07:01:03.000Z | def match(command):
return (command.script.startswith(u'man')
and u'command not found' in command.output.lower())
def get_new_command(command):
return u'man {}'.format(command.script[3:])
priority = 2000
| 20.727273 | 63 | 0.675439 | 32 | 228 | 4.75 | 0.625 | 0.171053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026882 | 0.184211 | 228 | 10 | 64 | 22.8 | 0.790323 | 0 | 0 | 0 | 0 | 0 | 0.114035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
81272bca1f57aba3b8388eee13e5baabe75f950c | 98 | py | Python | aula01/continue_pass.py | Doni-zete/Praticas-Python | 36a877a9f22f9992550fb6e3bdb89c751d6299ef | [
"MIT"
] | null | null | null | aula01/continue_pass.py | Doni-zete/Praticas-Python | 36a877a9f22f9992550fb6e3bdb89c751d6299ef | [
"MIT"
] | null | null | null | aula01/continue_pass.py | Doni-zete/Praticas-Python | 36a877a9f22f9992550fb6e3bdb89c751d6299ef | [
"MIT"
] | null | null | null | for x in range(10):
if x == 3:
pass
print(x)
if x == 5:
pass
print("Ola mundo")
| 9.8 | 19 | 0.489796 | 18 | 98 | 2.666667 | 0.666667 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0.357143 | 98 | 9 | 20 | 10.888889 | 0.698413 | 0 | 0 | 0.285714 | 0 | 0 | 0.091837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.285714 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
81299ac2d6b24b8376c195c30344f5225ccee99a | 167 | py | Python | functions exerscise/02. Add and Subtract.py | nrgxtra/fundamentals | d9f35eb040c0e1009aad2f7305c035fda207a147 | [
"MIT"
] | null | null | null | functions exerscise/02. Add and Subtract.py | nrgxtra/fundamentals | d9f35eb040c0e1009aad2f7305c035fda207a147 | [
"MIT"
] | null | null | null | functions exerscise/02. Add and Subtract.py | nrgxtra/fundamentals | d9f35eb040c0e1009aad2f7305c035fda207a147 | [
"MIT"
] | null | null | null | n = int(input())
n1 = int(input())
n2 = int(input())
def add_and_subtract(a, b, c):
r = (a + b) - c
return r
print(add_and_subtract(n, n1, n2))
| 13.916667 | 35 | 0.526946 | 29 | 167 | 2.896552 | 0.517241 | 0.285714 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033613 | 0.287425 | 167 | 11 | 36 | 15.181818 | 0.672269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
813a473249e0b405d46ea7e6b770572cff0da09e | 2,199 | py | Python | maggtomic/util.py | polyneme/maggtomic | 7c05aaacaab52c07b69483ba5d52fccbe50aaa7d | [
"BSD-3-Clause"
] | 3 | 2020-10-29T19:46:35.000Z | 2021-07-30T13:11:02.000Z | maggtomic/util.py | polyneme/maggtomic | 7c05aaacaab52c07b69483ba5d52fccbe50aaa7d | [
"BSD-3-Clause"
] | null | null | null | maggtomic/util.py | polyneme/maggtomic | 7c05aaacaab52c07b69483ba5d52fccbe50aaa7d | [
"BSD-3-Clause"
] | null | null | null | import base32_lib as base32
def generate_id(length=10, split_every=5, checksum=True) -> str:
"""Generate random base32 string: a user-shareable ID for a database entity.
Uses Douglas Crockford Base32 encoding: <https://www.crockford.com/base32.html>
Default is 8 characters (5-bits each) plus 2 digit cha... | 42.288462 | 91 | 0.721237 | 305 | 2,199 | 5.140984 | 0.442623 | 0.057398 | 0.042092 | 0.02551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033504 | 0.199181 | 2,199 | 51 | 92 | 43.117647 | 0.856899 | 0.713961 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d4a119d2e8da1330d42fb1bd2165532e0d7eee53 | 512 | py | Python | figpptx/separators/__init__.py | Sillte/figpptx | bf5539b09eeef4e6a17bb4483f62f29d286138b2 | [
"MIT"
] | null | null | null | figpptx/separators/__init__.py | Sillte/figpptx | bf5539b09eeef4e6a17bb4483f62f29d286138b2 | [
"MIT"
] | null | null | null | figpptx/separators/__init__.py | Sillte/figpptx | bf5539b09eeef4e6a17bb4483f62f29d286138b2 | [
"MIT"
] | null | null | null | """ You have to clarify import here.
"""
from . import default_separator # NOQA
from figpptx.separator import SeparatorManager, get_leaf_artists
@SeparatorManager.register("rasterize")
def separator(target):
"""All of the artist are given to ``rasterize``."""
def matchfunc(artist):
return False
... | 23.272727 | 70 | 0.708984 | 62 | 512 | 5.774194 | 0.645161 | 0.039106 | 0.078212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169922 | 512 | 21 | 71 | 24.380952 | 0.842353 | 0.164063 | 0 | 0 | 0 | 0 | 0.033088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
d4b55319674f9fd19c2d245c0d7c2f78c3aec8e6 | 1,037 | py | Python | lexicon/tests/providers/test_pointhq.py | Skeen/lexicon | 0b0721fba7138019b5b0311598bb714f30ccb6a1 | [
"MIT"
] | null | null | null | lexicon/tests/providers/test_pointhq.py | Skeen/lexicon | 0b0721fba7138019b5b0311598bb714f30ccb6a1 | [
"MIT"
] | null | null | null | lexicon/tests/providers/test_pointhq.py | Skeen/lexicon | 0b0721fba7138019b5b0311598bb714f30ccb6a1 | [
"MIT"
] | 1 | 2021-01-06T16:04:36.000Z | 2021-01-06T16:04:36.000Z | """Integration tests for PointHq"""
from unittest import TestCase
import pytest
from lexicon.tests.providers.integration_tests import IntegrationTests
from lexicon.providers.pointhq import Provider
# Hook into testing framework by inheriting unittest.TestCase and reuse
# the tests which *each and every* implementati... | 35.758621 | 91 | 0.775313 | 129 | 1,037 | 6.054264 | 0.589147 | 0.038412 | 0.035851 | 0.051216 | 0.066581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157184 | 1,037 | 28 | 92 | 37.035714 | 0.893593 | 0.293153 | 0 | 0.125 | 0 | 0 | 0.147427 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.1875 | false | 0 | 0.25 | 0.1875 | 0.875 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
d4ee97fa1f286447af7c042f255e1e2c951f131a | 1,527 | py | Python | epages_client/dataobjects/cart_create.py | vilkasgroup/epages_client | 10e63d957ee45dc5d4df741064806f724fb1be1f | [
"MIT"
] | 3 | 2018-01-26T13:44:26.000Z | 2020-05-13T13:58:19.000Z | epages_client/dataobjects/cart_create.py | vilkasgroup/epages_client | 10e63d957ee45dc5d4df741064806f724fb1be1f | [
"MIT"
] | 53 | 2018-02-05T10:59:22.000Z | 2022-01-01T19:31:08.000Z | epages_client/dataobjects/cart_create.py | vilkasgroup/epages_client | 10e63d957ee45dc5d4df741064806f724fb1be1f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from .data_object import DataObject
from .list_of_objects import ListOfObjects
from .product_line_item_create import ProductLineItemCreate
class CartCreate(DataObject):
'''Data object for creating a new cart to ePages webshop'''
def __init__(se... | 29.941176 | 89 | 0.663392 | 193 | 1,527 | 5.093264 | 0.404145 | 0.040692 | 0.056968 | 0.024415 | 0.054934 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00439 | 0.254093 | 1,527 | 50 | 90 | 30.54 | 0.858648 | 0.229862 | 0 | 0.090909 | 0 | 0 | 0.086621 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242424 | false | 0 | 0.121212 | 0.121212 | 0.515152 | 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 |
be02b3fefb023a8ac45f33f709e3e2cb798de081 | 236 | py | Python | learn_if.py | GeorgeHY/learn_python | ad5de58852443ddb6d5b15e4398f1508e270ba41 | [
"MIT"
] | 1 | 2017-05-02T10:38:00.000Z | 2017-05-02T10:38:00.000Z | learn_if.py | GeorgeHY/learn_python | ad5de58852443ddb6d5b15e4398f1508e270ba41 | [
"MIT"
] | null | null | null | learn_if.py | GeorgeHY/learn_python | ad5de58852443ddb6d5b15e4398f1508e270ba41 | [
"MIT"
] | null | null | null |
bmi = 80.5 /(1.75 * 1.75)
if bmi < 18.5:
print('过轻')
elif bmi > 18.5 and bmi < 25:
print('正常')
elif bmi > 25 and bmi < 28:
print('过重')
elif bmi > 28 and bmi < 32:
print('肥胖')
elif bmi > 32:
print('严重肥胖')
else:
print('数据错误')
pass | 15.733333 | 29 | 0.572034 | 47 | 236 | 2.87234 | 0.446809 | 0.207407 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 0.224576 | 236 | 15 | 30 | 15.733333 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0 | 0 | 0 | 0.428571 | 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 | 0 | 1 | 0 | 3 |
be0812236b88c3393c0456d2c8c9493c5bfe4540 | 517 | py | Python | stripe_modern/api_resources/webhook_endpoint.py | photocrowd/stripe-python | 7c705e3d41f38f8524e419eb7ea18c1425a4ad89 | [
"MIT"
] | null | null | null | stripe_modern/api_resources/webhook_endpoint.py | photocrowd/stripe-python | 7c705e3d41f38f8524e419eb7ea18c1425a4ad89 | [
"MIT"
] | null | null | null | stripe_modern/api_resources/webhook_endpoint.py | photocrowd/stripe-python | 7c705e3d41f38f8524e419eb7ea18c1425a4ad89 | [
"MIT"
] | null | null | null | from __future__ import absolute_import, division, print_function
from stripe_modern.api_resources.abstract import CreateableAPIResource
from stripe_modern.api_resources.abstract import DeletableAPIResource
from stripe_modern.api_resources.abstract import ListableAPIResource
from stripe_modern.api_resources.abstract im... | 32.3125 | 70 | 0.854932 | 50 | 517 | 8.52 | 0.44 | 0.093897 | 0.150235 | 0.178404 | 0.394366 | 0.394366 | 0.394366 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 517 | 15 | 71 | 34.466667 | 0.922078 | 0 | 0 | 0 | 0 | 0 | 0.030948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.583333 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
be1044341b3565493cee8017240eb3326424bd1b | 43 | py | Python | NearBeach/__init__.py | raulrusu88/NearBeach | e65c8c27aa3969ac6f56a2f970776994a65771b5 | [
"MIT"
] | 94 | 2017-02-11T01:06:21.000Z | 2022-03-04T06:17:22.000Z | NearBeach/__init__.py | raulrusu88/NearBeach | e65c8c27aa3969ac6f56a2f970776994a65771b5 | [
"MIT"
] | 37 | 2017-02-21T12:07:57.000Z | 2022-02-23T10:45:20.000Z | NearBeach/__init__.py | raulrusu88/NearBeach | e65c8c27aa3969ac6f56a2f970776994a65771b5 | [
"MIT"
] | 26 | 2018-09-11T00:33:21.000Z | 2022-02-09T10:38:07.000Z | name = "NearBeach"
__version__ = "0.28.15"
| 14.333333 | 23 | 0.674419 | 6 | 43 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0.139535 | 43 | 2 | 24 | 21.5 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0.372093 | 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 |
be110373451976068b63cf1375b649bb483cb7aa | 116 | py | Python | examples/run_centillion_gh.py | chmreid/centillion | 91e64330ad2881ff19253d54992ae989bc3a67ff | [
"MIT"
] | 6 | 2019-03-09T18:32:55.000Z | 2020-06-29T15:38:36.000Z | examples/run_centillion_gh.py | chmreid/centillion | 91e64330ad2881ff19253d54992ae989bc3a67ff | [
"MIT"
] | 20 | 2020-02-27T06:54:22.000Z | 2020-07-11T21:38:06.000Z | examples/run_centillion_gh.py | chmreid/centillion | 91e64330ad2881ff19253d54992ae989bc3a67ff | [
"MIT"
] | 2 | 2019-08-20T01:49:15.000Z | 2020-01-19T09:25:58.000Z | import centillion
app = centillion.webapp.get_flask_app(config_file='../config/config_centillion_gh.py')
app.run()
| 23.2 | 86 | 0.801724 | 17 | 116 | 5.176471 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060345 | 116 | 4 | 87 | 29 | 0.807339 | 0 | 0 | 0 | 0 | 0 | 0.284483 | 0.284483 | 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 |
078341b10355df1cd38e3aa178b935329b2e4dcf | 2,570 | py | Python | release/stubs.min/System/__init___parts/ConsoleKeyInfo.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/System/__init___parts/ConsoleKeyInfo.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/System/__init___parts/ConsoleKeyInfo.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | class ConsoleKeyInfo(object):
"""
Describes the console key that was pressed,including the character represented by the console key and the state of the SHIFT,ALT,and CTRL modifier keys.
ConsoleKeyInfo(keyChar: Char,key: ConsoleKey,shift: bool,alt: bool,control: bool)
"""
def ZZZ(self):
"""hardcoded/m... | 36.197183 | 155 | 0.715175 | 328 | 2,570 | 5.52439 | 0.27439 | 0.13245 | 0.157837 | 0.149007 | 0.479029 | 0.479029 | 0.455298 | 0.455298 | 0.350442 | 0.29415 | 0 | 0.00096 | 0.189105 | 2,570 | 70 | 156 | 36.714286 | 0.868522 | 0.514008 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.277778 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
07a30e64f1d5a718628677530f1bead012febf00 | 624 | py | Python | test/integration_test/tools/lib/ofp/ofp_queue_get_config_request.py | ryoon/lagopus | 624b27b28121c913764cb8de8f14e8f586651442 | [
"Apache-2.0"
] | 281 | 2015-01-06T13:36:14.000Z | 2022-03-14T03:29:46.000Z | test/integration_test/tools/lib/ofp/ofp_queue_get_config_request.py | ryoon/lagopus | 624b27b28121c913764cb8de8f14e8f586651442 | [
"Apache-2.0"
] | 115 | 2015-01-06T11:09:21.000Z | 2020-11-26T11:44:23.000Z | test/integration_test/tools/lib/ofp/ofp_queue_get_config_request.py | ryoon/lagopus | 624b27b28121c913764cb8de8f14e8f586651442 | [
"Apache-2.0"
] | 108 | 2015-01-06T05:12:01.000Z | 2022-01-02T03:28:50.000Z | import os
import sys
import copy
import logging
from checker import *
from .ofp import register_ofp_creators
from .ofp import OfpBase
# YAML:
# queue_get_config_request:
# port: 0
SCE_QUEUE_GET_CONFIG_REQUEST = "queue_get_config_request"
@register_ofp_creators(SCE_QUEUE_GET_CONFIG_REQUEST)
class OfpQueueGetConfi... | 21.517241 | 68 | 0.751603 | 75 | 624 | 5.96 | 0.506667 | 0.071588 | 0.12528 | 0.187919 | 0.107383 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001957 | 0.18109 | 624 | 28 | 69 | 22.285714 | 0.872798 | 0.150641 | 0 | 0 | 0 | 0 | 0.045802 | 0.045802 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.466667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
07b5cb059bf79f6a26d2df9a67cd84e202706645 | 10,106 | py | Python | tests/components/updater/test_init.py | lkollar/home-assistant | f4f7c25f744c0678b12acb2cc905894cca9f46ef | [
"Apache-2.0"
] | 5 | 2020-09-17T10:48:51.000Z | 2021-11-22T00:08:17.000Z | tests/components/updater/test_init.py | lkollar/home-assistant | f4f7c25f744c0678b12acb2cc905894cca9f46ef | [
"Apache-2.0"
] | 7 | 2016-04-09T20:56:30.000Z | 2016-04-19T21:28:46.000Z | tests/components/updater/test_init.py | lkollar/home-assistant | f4f7c25f744c0678b12acb2cc905894cca9f46ef | [
"Apache-2.0"
] | 6 | 2019-12-01T19:06:52.000Z | 2020-09-17T00:57:06.000Z | """The tests for the Updater component."""
import asyncio
from datetime import timedelta
from unittest.mock import Mock, patch
import pytest
from homeassistant.components import updater
from homeassistant.setup import async_setup_component
import homeassistant.util.dt as dt_util
from tests.common import (
MockDe... | 35.836879 | 88 | 0.725411 | 1,366 | 10,106 | 5.062225 | 0.108346 | 0.031381 | 0.057845 | 0.046276 | 0.793059 | 0.740564 | 0.718583 | 0.69154 | 0.675777 | 0.642082 | 0 | 0.004287 | 0.169107 | 10,106 | 281 | 89 | 35.964413 | 0.819221 | 0.016525 | 0 | 0.597015 | 0 | 0 | 0.1862 | 0.125433 | 0 | 0 | 0 | 0 | 0.159204 | 1 | 0.019901 | false | 0 | 0.039801 | 0 | 0.059701 | 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 |
07cd4555a89b873077116bf501f3cf1d9fc141e3 | 1,946 | py | Python | stubs.min/System/ComponentModel/__init___parts/RecommendedAsConfigurableAttribute.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/System/ComponentModel/__init___parts/RecommendedAsConfigurableAttribute.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/ComponentModel/__init___parts/RecommendedAsConfigurableAttribute.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class RecommendedAsConfigurableAttribute(Attribute,_Attribute):
"""
Specifies that the property can be used as an application setting.
RecommendedAsConfigurableAttribute(recommendedAsConfigurable: bool)
"""
def Equals(self,obj):
"""
Equals(self: RecommendedAsConfigurableAttribute,obj: object) -> bo... | 33.551724 | 215 | 0.717883 | 218 | 1,946 | 6.12844 | 0.348624 | 0.04491 | 0.035928 | 0.042665 | 0.166916 | 0.130988 | 0.130988 | 0.084581 | 0.084581 | 0.084581 | 0 | 0 | 0.188592 | 1,946 | 57 | 216 | 34.140351 | 0.846105 | 0.571942 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0.35 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
07e683718dfc74e427480fd118c6f647d0758ad9 | 579 | py | Python | rxneqn/utils.py | djinnome/rxneqn | 357b2caf3ba7081f79a6c3356431b1ed5fca4b20 | [
"MIT"
] | 1 | 2019-02-12T22:56:50.000Z | 2019-02-12T22:56:50.000Z | rxneqn/utils.py | djinnome/rxneqn | 357b2caf3ba7081f79a6c3356431b1ed5fca4b20 | [
"MIT"
] | null | null | null | rxneqn/utils.py | djinnome/rxneqn | 357b2caf3ba7081f79a6c3356431b1ed5fca4b20 | [
"MIT"
] | null | null | null | from fractions import gcd
from fractions import Fraction
import numpy as np
from functools import reduce
import warnings
warnings.filterwarnings('ignore') # Otherwise python3.5 says that the Fraction gcd is deprecated.
def LCM(fractions):
try:
x = reduce(lambda x, y: (x*y)/gcd(x,y), [n for n in fract... | 28.95 | 97 | 0.694301 | 87 | 579 | 4.62069 | 0.45977 | 0.019901 | 0.094527 | 0.069652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010893 | 0.207254 | 579 | 19 | 98 | 30.473684 | 0.864924 | 0.105354 | 0 | 0.125 | 0 | 0 | 0.011628 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.3125 | 0.125 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
ed0ec834105e9fba8f63e4ef5f9964d89777877d | 220 | py | Python | agenda/api/urls.py | kynamd/elearning | 7d16fb1f2965538031c8c2061c558a970ff37d6c | [
"MIT"
] | 1 | 2020-01-26T13:06:54.000Z | 2020-01-26T13:06:54.000Z | agenda/api/urls.py | DevHoot/elearning | 5d479c03a608c54545c2d1daa747694cf0ec56f7 | [
"MIT"
] | 10 | 2020-06-05T22:39:45.000Z | 2022-02-26T17:13:14.000Z | agenda/api/urls.py | sutariyh/eLearningWebsite | 22696ae3b33b32491e6c7ec21f7169dba59bced5 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.EventListView.as_view(), name='event_list'),
url(r'^(?P<pk>\d+)/$', views.EventDetailView.as_view(), name='event_detail'),
]
| 27.5 | 81 | 0.668182 | 31 | 220 | 4.612903 | 0.645161 | 0.055944 | 0.13986 | 0.20979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122727 | 220 | 7 | 82 | 31.428571 | 0.740933 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ed3028ff2c4cae40b79c71d3c6b79a16014af7cc | 56,498 | py | Python | CellTypesDatabase/tune/tuneAllen.py | sanjayankur31/AllenInstituteNeuroML | fc80bda8132508d11f1fcc80df7effa5c94e39af | [
"MIT"
] | 11 | 2015-05-10T21:29:19.000Z | 2020-12-15T20:29:51.000Z | CellTypesDatabase/tune/tuneAllen.py | sanjayankur31/AllenInstituteNeuroML | fc80bda8132508d11f1fcc80df7effa5c94e39af | [
"MIT"
] | 10 | 2015-10-07T09:02:19.000Z | 2021-02-17T17:24:36.000Z | CellTypesDatabase/tune/tuneAllen.py | sanjayankur31/AllenInstituteNeuroML | fc80bda8132508d11f1fcc80df7effa5c94e39af | [
"MIT"
] | 10 | 2016-04-10T08:45:16.000Z | 2022-01-21T18:02:49.000Z | '''
Still under developemnt!!
Subject to change without notice!!
'''
from pyneuroml.tune.NeuroMLTuner import run_optimisation, run_2stage_optimization
from pyneuroml.tune.NeuroMLController import NeuroMLController
import neuroml
import sys
from collections import OrderedDict
import json
import os
impo... | 41.695941 | 260 | 0.516779 | 6,228 | 56,498 | 4.449101 | 0.078035 | 0.016024 | 0.010105 | 0.016457 | 0.788986 | 0.75914 | 0.71161 | 0.677145 | 0.642968 | 0.61554 | 0 | 0.083805 | 0.378013 | 56,498 | 1,354 | 261 | 41.726736 | 0.704704 | 0.0494 | 0 | 0.628635 | 0 | 0.001119 | 0.172322 | 0.07561 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010067 | false | 0.004474 | 0.016779 | 0 | 0.030201 | 0.038031 | 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 |
ed32999552665926b7616f70e60fab04298e56d8 | 281 | py | Python | CPU/__init__.py | Microshak/AI_Benchtest_Device | c4427e3720fcb1da13164f61bd54029937485843 | [
"Apache-2.0"
] | null | null | null | CPU/__init__.py | Microshak/AI_Benchtest_Device | c4427e3720fcb1da13164f61bd54029937485843 | [
"Apache-2.0"
] | null | null | null | CPU/__init__.py | Microshak/AI_Benchtest_Device | c4427e3720fcb1da13164f61bd54029937485843 | [
"Apache-2.0"
] | null | null | null | """
The flask application package.
"""
from flask import Flask
cpu = Flask(__name__)
print(__name__)
from CPU.HAAR import haar
from CPU.Yolo import yolo
from CPU.manifest import manifest
cpu.register_blueprint(haar)
cpu.register_blueprint(yolo)
cpu.register_blueprint(manifest) | 17.5625 | 33 | 0.800712 | 40 | 281 | 5.35 | 0.35 | 0.098131 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113879 | 281 | 16 | 34 | 17.5625 | 0.859438 | 0.106762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 0.444444 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
ed4ea5ded12237b51fd8d109789b5775e56a35ad | 41 | py | Python | python/coursera_python/MICHIGAN/DataStructures/test/for.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 16 | 2018-11-26T08:39:42.000Z | 2019-05-08T10:09:52.000Z | python/coursera_python/MICHIGAN/DataStructures/test/for.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 8 | 2020-05-04T06:29:26.000Z | 2022-02-12T05:33:16.000Z | python/coursera_python/MICHIGAN/DataStructures/test/for.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 5 | 2020-02-11T16:02:21.000Z | 2021-02-05T07:48:30.000Z | s='kxskxlkxokxlox'
for i in s:
print(i)
| 10.25 | 18 | 0.682927 | 8 | 41 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 3 | 19 | 13.666667 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
ed576f462fd9f3f8afbc6f3fbce7f9eab0f27cd4 | 173 | py | Python | app/parent/celeryconfig.py | ss-github-code/stock_prediction | 8b10bddb6bf8a4ff0fe0467e5f30feb9d6bc36b0 | [
"MIT"
] | null | null | null | app/parent/celeryconfig.py | ss-github-code/stock_prediction | 8b10bddb6bf8a4ff0fe0467e5f30feb9d6bc36b0 | [
"MIT"
] | null | null | null | app/parent/celeryconfig.py | ss-github-code/stock_prediction | 8b10bddb6bf8a4ff0fe0467e5f30feb9d6bc36b0 | [
"MIT"
] | 1 | 2022-03-27T02:10:24.000Z | 2022-03-27T02:10:24.000Z | broker_url = 'pyamqp://'
result_backend = 'rpc://'
task_serializer = 'json'
result_serializer = 'json'
accept_content = ['json']
timezone = 'Europe/Oslo'
enable_utc = True
| 19.222222 | 26 | 0.710983 | 21 | 173 | 5.571429 | 0.809524 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127168 | 173 | 8 | 27 | 21.625 | 0.774834 | 0 | 0 | 0 | 0 | 0 | 0.219653 | 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 |
ed6091d1619f29a6af075546c4bc6e12ae8cd402 | 187 | py | Python | SinaBlog2e-book.py | knarfeh/SinaBlog2e-book | 2c4890852c0d6fe3f6f255c10e36a1ccdda272e2 | [
"MIT"
] | 9 | 2016-03-19T13:25:34.000Z | 2016-10-15T02:45:48.000Z | SinaBlog2e-book.py | knarfeh/SinaBlog2ebook | 2c4890852c0d6fe3f6f255c10e36a1ccdda272e2 | [
"MIT"
] | 3 | 2016-05-14T08:06:10.000Z | 2017-02-09T10:00:44.000Z | SinaBlog2e-book.py | knarfeh/SinaBlog2ebook | 2c4890852c0d6fe3f6f255c10e36a1ccdda272e2 | [
"MIT"
] | 4 | 2017-06-07T02:38:05.000Z | 2017-12-24T07:24:33.000Z | # -*- coding: utf-8 -*-
import sys
reload(sys)
# 修改系统(终端输出)默认的编码,文件格式、处理格式
sys.setdefaultencoding('utf-8')
from src.main import SinaBlog
sina_crawler = SinaBlog()
sina_crawler.start()
| 15.583333 | 31 | 0.727273 | 27 | 187 | 4.962963 | 0.703704 | 0.059701 | 0.283582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012121 | 0.117647 | 187 | 11 | 32 | 17 | 0.8 | 0.251337 | 0 | 0 | 0 | 0 | 0.036496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ed60b91c52209afd6f2b5cfd914f5ad1868d9b0a | 1,393 | py | Python | setup.py | ozendelait/at-python | 6a4817e258c3786a1ce982bf6a3e5cf4bcac65d9 | [
"MIT"
] | 7 | 2020-06-22T04:58:16.000Z | 2021-05-20T03:50:24.000Z | setup.py | ozendelait/at-python | 6a4817e258c3786a1ce982bf6a3e5cf4bcac65d9 | [
"MIT"
] | 6 | 2021-03-02T14:06:02.000Z | 2021-11-17T20:32:55.000Z | setup.py | ozendelait/at-python | 6a4817e258c3786a1ce982bf6a3e5cf4bcac65d9 | [
"MIT"
] | 3 | 2021-05-01T19:12:08.000Z | 2021-12-12T00:58:56.000Z | from setuptools import setup, find_packages
exec(open("academictorrents/version.py").read())
with open("README.md") as f:
readme = f.read()
with open("LICENSE") as f:
license = f.read()
setup(
name="academictorrents",
version=__version__,
description="Academic Torrents Python API",
author="M... | 30.955556 | 80 | 0.595836 | 154 | 1,393 | 5.318182 | 0.474026 | 0.23199 | 0.30525 | 0.253968 | 0.065934 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033803 | 0.235463 | 1,393 | 44 | 81 | 31.659091 | 0.735211 | 0 | 0 | 0 | 0 | 0 | 0.528356 | 0.039483 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025 | 0 | 0.025 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed65545f4ffc2fd870a71d5e131fcfcae41e2d77 | 1,035 | py | Python | odoo/base-addons/l10n_il/__manifest__.py | LucasBorges-Santos/docker-odoo | 53987bbd61f6119669b5f801ee2ad54695084a21 | [
"MIT"
] | null | null | null | odoo/base-addons/l10n_il/__manifest__.py | LucasBorges-Santos/docker-odoo | 53987bbd61f6119669b5f801ee2ad54695084a21 | [
"MIT"
] | null | null | null | odoo/base-addons/l10n_il/__manifest__.py | LucasBorges-Santos/docker-odoo | 53987bbd61f6119669b5f801ee2ad54695084a21 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'Israel - Accounting',
'version': '1.0',
'category': 'Localization',
'description': """
This is the latest basic Israelian localisation necessary to run Odoo in Israel:
=========================... | 32.34375 | 80 | 0.607729 | 117 | 1,035 | 5.188034 | 0.529915 | 0.144975 | 0.108731 | 0.14827 | 0.171334 | 0.102142 | 0 | 0 | 0 | 0 | 0 | 0.004773 | 0.190338 | 1,035 | 31 | 81 | 33.387097 | 0.71957 | 0.090821 | 0 | 0 | 0 | 0 | 0.763326 | 0.406183 | 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 |
ed73ce7d2c5987b119d50956aba268a619700b4c | 926 | py | Python | opyoid/providers/providers_factories/jit_provider_factory.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 37 | 2020-08-25T07:22:41.000Z | 2022-03-18T03:05:53.000Z | opyoid/providers/providers_factories/jit_provider_factory.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 18 | 2020-10-04T17:33:24.000Z | 2021-12-16T16:28:35.000Z | opyoid/providers/providers_factories/jit_provider_factory.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 2 | 2021-01-26T19:58:15.000Z | 2021-11-30T01:10:25.000Z | from opyoid.bindings import RegisteredBinding, SelfBinding, SelfBindingToProviderAdapter
from opyoid.injection_context import InjectionContext
from opyoid.provider import Provider
from opyoid.utils import EMPTY, InjectedT
from .provider_factory import ProviderFactory
class JitProviderFactory(ProviderFactory):
def... | 44.095238 | 101 | 0.75594 | 94 | 926 | 7.297872 | 0.414894 | 0.058309 | 0.055394 | 0.104956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171706 | 926 | 20 | 102 | 46.3 | 0.894394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.3125 | 0.125 | 0.6875 | 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 |
ed79f3430864d957b462e5c878e649538fcaaf01 | 271 | py | Python | tests/spam/ham.py | jorenham/exports | 1dcc93f3c56abdafacf8d2a334d1988b7cb3c9af | [
"MIT"
] | null | null | null | tests/spam/ham.py | jorenham/exports | 1dcc93f3c56abdafacf8d2a334d1988b7cb3c9af | [
"MIT"
] | null | null | null | tests/spam/ham.py | jorenham/exports | 1dcc93f3c56abdafacf8d2a334d1988b7cb3c9af | [
"MIT"
] | null | null | null | __all__ = ('public_all', )
from exports import export
from .external import external, external as external_alt
def public_all():
return True
@export
def public_export():
return True
def private():
return False
export(external)
export('external_alt')
| 12.318182 | 56 | 0.723247 | 35 | 271 | 5.342857 | 0.4 | 0.096257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188192 | 271 | 21 | 57 | 12.904762 | 0.85 | 0 | 0 | 0.166667 | 0 | 0 | 0.081181 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.25 | 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 |
ed7f8bbdad7ae397f370cdaa3edcfb086188c210 | 12,446 | py | Python | Algorithm.Python/stubs/QuantConnect/Data/____init___1.py | gaoxiaojun/Lean | 9dca43bccb720d0df91e4bfc1d363b71e3a36cb5 | [
"Apache-2.0"
] | 2 | 2020-12-08T11:27:20.000Z | 2021-04-06T13:21:15.000Z | Algorithm.Python/stubs/QuantConnect/Data/____init___1.py | gaoxiaojun/Lean | 9dca43bccb720d0df91e4bfc1d363b71e3a36cb5 | [
"Apache-2.0"
] | null | null | null | Algorithm.Python/stubs/QuantConnect/Data/____init___1.py | gaoxiaojun/Lean | 9dca43bccb720d0df91e4bfc1d363b71e3a36cb5 | [
"Apache-2.0"
] | 1 | 2020-12-08T11:27:21.000Z | 2020-12-08T11:27:21.000Z | from .____init___2 import *
import typing
import System.Reflection
import System.Linq.Expressions
import System.IO
import System.Dynamic
import System.Collections.Generic
import System
import QuantConnect.Securities
import QuantConnect.Packets
import QuantConnect.Interfaces
import QuantConnect.Data.UniverseSelection
im... | 40.409091 | 615 | 0.750522 | 1,232 | 12,446 | 7.550325 | 0.165584 | 0.151365 | 0.063857 | 0.058697 | 0.58396 | 0.441948 | 0.335949 | 0.311868 | 0.270264 | 0.241346 | 0 | 0.000095 | 0.152258 | 12,446 | 307 | 616 | 40.540717 | 0.881528 | 0.134581 | 0 | 0.457711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243781 | false | 0.243781 | 0.094527 | 0 | 0.58209 | 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 |
ed80d7dd3b16cc2316bf05c5869a48ba047bfd75 | 715 | py | Python | git-hook/git.py | jbrower95/github-stories | 4f0a26498ed0bc69c09487c1706489f35f901477 | [
"MIT"
] | 24 | 2017-04-05T21:27:30.000Z | 2021-02-09T19:58:57.000Z | git-hook/git.py | jbrower95/github-stories | 4f0a26498ed0bc69c09487c1706489f35f901477 | [
"MIT"
] | null | null | null | git-hook/git.py | jbrower95/github-stories | 4f0a26498ed0bc69c09487c1706489f35f901477 | [
"MIT"
] | null | null | null | import os
import subprocess
# Returns the commit hash of the most recent commit
def getMostRecentCommitHashAndMessage():
output = subprocess.check_output(['git', 'log', '-1', 'HEAD'])
lines = output.split("\n")
commit_msg = "\n".join(lines[4:]).strip()
commit_hash = output.split("\n")[0].split(" ")[1].strip() # ta... | 34.047619 | 80 | 0.686713 | 93 | 715 | 5.182796 | 0.473118 | 0.155602 | 0.217842 | 0.19917 | 0.124481 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006299 | 0.111888 | 715 | 21 | 81 | 34.047619 | 0.752756 | 0.096504 | 0 | 0 | 0 | 0 | 0.141304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed897b1edb4acb46943f26983f595ab0ca0adb97 | 1,379 | py | Python | harness/determined/tensorboard/metric_writers/pytorch.py | RAbraham/determined | 1161b667ed6d0242f70f9f15d58600f910c8d7f9 | [
"Apache-2.0"
] | 1,729 | 2020-04-27T17:36:40.000Z | 2022-03-31T05:48:39.000Z | harness/determined/tensorboard/metric_writers/pytorch.py | ChrisW09/determined | 5c37bfe9cfcc69174ba29a3f1a115c3e9e3632e0 | [
"Apache-2.0"
] | 1,940 | 2020-04-27T17:34:14.000Z | 2022-03-31T23:02:28.000Z | harness/determined/tensorboard/metric_writers/pytorch.py | ChrisW09/determined | 5c37bfe9cfcc69174ba29a3f1a115c3e9e3632e0 | [
"Apache-2.0"
] | 214 | 2020-04-27T19:57:28.000Z | 2022-03-29T08:17:16.000Z | from typing import Any, Union
import numpy as np
from torch.utils.tensorboard import SummaryWriter
from determined import tensorboard
class TorchWriter(tensorboard.MetricWriter):
"""
TorchWriter uses PyTorch file writers and summary operations to write
out tfevent files containing scalar batch metrics. ... | 32.069767 | 95 | 0.672951 | 168 | 1,379 | 5.380952 | 0.535714 | 0.044248 | 0.04646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234228 | 1,379 | 42 | 96 | 32.833333 | 0.856061 | 0.53227 | 0 | 0 | 0 | 0 | 0.008666 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0 | 0.615385 | 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 |
71f00a57606d460a51b29ed38fc3173797ad1b80 | 570 | py | Python | libra_client/error.py | yuan-xy/libra-client-grpc | 49bc777c99dcc5ddf7cac49d3a1a60e09cf70e18 | [
"MIT"
] | 1 | 2021-01-21T02:48:26.000Z | 2021-01-21T02:48:26.000Z | libra_client/error.py | yuan-xy/libra-client-grpc | 49bc777c99dcc5ddf7cac49d3a1a60e09cf70e18 | [
"MIT"
] | null | null | null | libra_client/error.py | yuan-xy/libra-client-grpc | 49bc777c99dcc5ddf7cac49d3a1a60e09cf70e18 | [
"MIT"
] | null | null | null |
class LibraError(Exception):
pass
class AccountError(LibraError):
pass
class TransactionError(LibraError):
@property
def error_code(self):
code, _ = self.args
return code
@property
def error_msg(self):
_, msg = self.args
return msg
class Adm... | 16.764706 | 47 | 0.652632 | 51 | 570 | 7.215686 | 0.372549 | 0.146739 | 0.203804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280702 | 570 | 33 | 48 | 17.272727 | 0.897561 | 0 | 0 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0.304348 | 0 | 0 | 0.521739 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
71fe834fa82ab90e87cdeb0eb5b7ec590a9a99b8 | 15,125 | py | Python | GUIScripts/Age On Different Planet/age_on_different_planet.py | tanujadasari/Awesome_Python_Scripts | 7c5f7cfd40475cd02cbc0db966044a7d530861e6 | [
"MIT"
] | 1 | 2021-12-07T12:12:37.000Z | 2021-12-07T12:12:37.000Z | GUIScripts/Age On Different Planet/age_on_different_planet.py | tanujadasari/Awesome_Python_Scripts | 7c5f7cfd40475cd02cbc0db966044a7d530861e6 | [
"MIT"
] | null | null | null | GUIScripts/Age On Different Planet/age_on_different_planet.py | tanujadasari/Awesome_Python_Scripts | 7c5f7cfd40475cd02cbc0db966044a7d530861e6 | [
"MIT"
] | 2 | 2021-10-03T16:22:08.000Z | 2021-10-03T17:35:14.000Z |
# Age On Different Planet
# imported necessary library
from tkinter import *
import tkinter as tk
from PIL import Image, ImageTk
import tkinter.messagebox as mbox # for displaying the dialog box
from datetime import datetime
# Main Window & Configuration
window = tk.Tk() # created a tkinter gui window frame
window.t... | 37.718204 | 152 | 0.584661 | 2,140 | 15,125 | 4.074299 | 0.108411 | 0.044386 | 0.030967 | 0.03716 | 0.721413 | 0.718431 | 0.701801 | 0.697213 | 0.697213 | 0.69102 | 0 | 0.077374 | 0.243769 | 15,125 | 400 | 153 | 37.8125 | 0.68491 | 0.082116 | 0 | 0.649057 | 0 | 0 | 0.142444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049057 | false | 0 | 0.018868 | 0 | 0.071698 | 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 |
9c07f3f29f80cbf5f71ded875c82b61a6c93e3db | 11,258 | py | Python | submission_lib/tests/testsubmissions_aux.py | allankellynet/mimas | 10025d43bba9e84f502a266760786842e7158a05 | [
"MIT"
] | null | null | null | submission_lib/tests/testsubmissions_aux.py | allankellynet/mimas | 10025d43bba9e84f502a266760786842e7158a05 | [
"MIT"
] | 1 | 2020-02-05T13:00:29.000Z | 2020-02-05T13:00:29.000Z | submission_lib/tests/testsubmissions_aux.py | allankellynet/mimas | 10025d43bba9e84f502a266760786842e7158a05 | [
"MIT"
] | null | null | null | #-----------------------------------------------------
# Mimas: conference submission and review system
# (c) Allan Kelly 2016-2020 http://www.allankelly.net
# Licensed under MIT License, see LICENSE file
# -----------------------------------------------------
import unittest
from google.appengine.ext import testbed
... | 43.805447 | 122 | 0.674276 | 1,377 | 11,258 | 5.27451 | 0.102397 | 0.038552 | 0.057277 | 0.027261 | 0.775024 | 0.734545 | 0.705356 | 0.665014 | 0.653036 | 0.618477 | 0 | 0.02119 | 0.19515 | 11,258 | 256 | 123 | 43.976563 | 0.780377 | 0.031355 | 0 | 0.471503 | 0 | 0 | 0.089199 | 0 | 0 | 0 | 0 | 0 | 0.284974 | 1 | 0.046632 | false | 0 | 0.031088 | 0 | 0.082902 | 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 |
9c0bcae545363b12a2f39fa5bc5dd3e85ea7c977 | 354 | py | Python | arquivos-py/CursoEmVideo_Python3_DESAFIOS/desafio74.py | oliveiralecca/cursoemvideo-python3 | e0a3e27d73a49ce0e72ae4faa9ac0c6da9811d2e | [
"MIT"
] | 2 | 2021-07-14T13:22:36.000Z | 2021-07-18T01:28:21.000Z | arquivos-py/CursoEmVideo_Python3_DESAFIOS/desafio74.py | oliveiralecca/cursoemvideo-python3 | e0a3e27d73a49ce0e72ae4faa9ac0c6da9811d2e | [
"MIT"
] | 2 | 2021-07-18T01:09:26.000Z | 2021-07-18T01:30:23.000Z | arquivos-py/CursoEmVideo_Python3_DESAFIOS/desafio74.py | oliveiralecca/cursoemvideo-python3 | e0a3e27d73a49ce0e72ae4faa9ac0c6da9811d2e | [
"MIT"
] | null | null | null | from random import randint
print('-=-=-=-= DESAFIO 74 -=-=-=-=')
print()
num = (randint(0, 10), randint(0, 10), randint(0, 10), randint(0, 10),
randint(0, 10))
print('Os números sorteados foram: ', end='')
for n in num:
print(n, end=' ')
print()
print(f'O maior valor sorteado foi {max(num)}')
print(f'O meno... | 27.230769 | 70 | 0.612994 | 56 | 354 | 3.875 | 0.482143 | 0.184332 | 0.230415 | 0.313364 | 0.230415 | 0.230415 | 0.230415 | 0.230415 | 0.230415 | 0.230415 | 0 | 0.057627 | 0.166667 | 354 | 12 | 71 | 29.5 | 0.677966 | 0 | 0 | 0.181818 | 0 | 0 | 0.370057 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0.636364 | 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 | 0 | 1 | 0 | 3 |
9c266239a93d2acdc678d58736b48c9467f91632 | 2,919 | py | Python | tests/web/iqr_service/stubs.py | joshanderson-kw/SMQTK | 594e7c733fe7f4e514a1a08a7343293a883a41fc | [
"BSD-3-Clause"
] | 82 | 2015-01-07T15:33:29.000Z | 2021-08-11T18:34:05.000Z | tests/web/iqr_service/stubs.py | joshanderson-kw/SMQTK | 594e7c733fe7f4e514a1a08a7343293a883a41fc | [
"BSD-3-Clause"
] | 230 | 2015-04-08T14:36:51.000Z | 2022-03-14T17:55:30.000Z | tests/web/iqr_service/stubs.py | joshanderson-kw/SMQTK | 594e7c733fe7f4e514a1a08a7343293a883a41fc | [
"BSD-3-Clause"
] | 65 | 2015-01-04T15:00:16.000Z | 2021-11-19T18:09:11.000Z | """
Stub abstract class implementations.
"""
from typing import Hashable, Sequence, Tuple
from numpy import ndarray
from smqtk.algorithms import SupervisedClassifier, DescriptorGenerator, \
NearestNeighborsIndex, RankRelevancyWithFeedback
from smqtk.representation import DescriptorSet
STUB_MODULE_PATH = __name_... | 18.954545 | 76 | 0.614594 | 292 | 2,919 | 5.962329 | 0.321918 | 0.092476 | 0.082137 | 0.063182 | 0.357266 | 0.283171 | 0.226881 | 0.210224 | 0.188397 | 0.188397 | 0 | 0.000498 | 0.312093 | 2,919 | 153 | 77 | 19.078431 | 0.866534 | 0.085646 | 0 | 0.544444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.377778 | false | 0.3 | 0.044444 | 0.066667 | 0.544444 | 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 |
9c30b6e14037aef29d06c790d9c840ac5e8c9254 | 2,479 | py | Python | app/models.py | jusinam/Pitch | aa21c6e435e8a2e01aa01929950af56e600a1b67 | [
"MIT",
"Unlicense"
] | null | null | null | app/models.py | jusinam/Pitch | aa21c6e435e8a2e01aa01929950af56e600a1b67 | [
"MIT",
"Unlicense"
] | null | null | null | app/models.py | jusinam/Pitch | aa21c6e435e8a2e01aa01929950af56e600a1b67 | [
"MIT",
"Unlicense"
] | null | null | null | from . import db, login_manager
from werkzeug.security import generate_password_hash, check_password_hash
from flask_login import UserMixin
from datetime import datetime
class User(UserMixin,db.Model):
__tablename__ = 'users'
id = db.Column(db.Integer,primary_key= True)
username = db.Column(db.String(255),... | 32.194805 | 78 | 0.665591 | 325 | 2,479 | 4.929231 | 0.249231 | 0.099875 | 0.124844 | 0.099875 | 0.463795 | 0.332709 | 0.332709 | 0.293383 | 0.166042 | 0.113608 | 0 | 0.010682 | 0.206938 | 2,479 | 77 | 79 | 32.194805 | 0.804171 | 0 | 0 | 0.275862 | 1 | 0 | 0.063306 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.155172 | false | 0.155172 | 0.068966 | 0.051724 | 0.775862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
9c3450a1c9c5b5c8c59f4c058d2b0c658e551beb | 4,377 | py | Python | azext_iot/monitor/parsers/strings.py | YingXue/azure-iot-cli-extension | efe7897b1ae1d2a9953f501abe7654b84d69372d | [
"MIT"
] | null | null | null | azext_iot/monitor/parsers/strings.py | YingXue/azure-iot-cli-extension | efe7897b1ae1d2a9953f501abe7654b84d69372d | [
"MIT"
] | 1 | 2020-09-02T23:25:39.000Z | 2020-09-09T14:18:33.000Z | azext_iot/monitor/parsers/strings.py | YingXue/azure-iot-cli-extension | efe7897b1ae1d2a9953f501abe7654b84d69372d | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -----------------------------------------------------... | 31.042553 | 125 | 0.694768 | 512 | 4,377 | 5.728516 | 0.283203 | 0.057961 | 0.034777 | 0.023525 | 0.12956 | 0.070917 | 0.03955 | 0.03955 | 0.03955 | 0.03955 | 0 | 0.001384 | 0.174549 | 4,377 | 140 | 126 | 31.264286 | 0.810407 | 0.117432 | 0 | 0.151899 | 0 | 0.012658 | 0.402709 | 0.008075 | 0 | 0 | 0 | 0 | 0 | 1 | 0.265823 | false | 0 | 0 | 0.240506 | 0.506329 | 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 |
9c4a0c4ae205eeb52247d9c607901e6e2e25f642 | 150 | py | Python | djangodb/authapp/urls.py | Inclementia/django-db | afd9b40eca0d92f0c1fadd2488c329ead933932c | [
"MIT"
] | null | null | null | djangodb/authapp/urls.py | Inclementia/django-db | afd9b40eca0d92f0c1fadd2488c329ead933932c | [
"MIT"
] | null | null | null | djangodb/authapp/urls.py | Inclementia/django-db | afd9b40eca0d92f0c1fadd2488c329ead933932c | [
"MIT"
] | null | null | null | import authapp.views as authapp
from django.urls import path
app_name = 'authapp'
urlpatterns = [
path('login/', authapp.login, name='login'),
] | 18.75 | 48 | 0.713333 | 20 | 150 | 5.3 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153333 | 150 | 8 | 49 | 18.75 | 0.834646 | 0 | 0 | 0 | 0 | 0 | 0.119205 | 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 |
9c503346577dc734f5c8df759d6e79a25a99e16c | 163 | py | Python | src/models/genre.py | XavierJordaMurria/Fyyur | 4157ec1c776b140954177debc1701129dcb79b7d | [
"MIT"
] | null | null | null | src/models/genre.py | XavierJordaMurria/Fyyur | 4157ec1c776b140954177debc1701129dcb79b7d | [
"MIT"
] | null | null | null | src/models/genre.py | XavierJordaMurria/Fyyur | 4157ec1c776b140954177debc1701129dcb79b7d | [
"MIT"
] | null | null | null | from models.database import db
class Genre(db.Model):
__tablename__ = 'Genre'
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String) | 27.166667 | 48 | 0.705521 | 24 | 163 | 4.583333 | 0.708333 | 0.145455 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171779 | 163 | 6 | 49 | 27.166667 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.030488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 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 |
92c5ff7f1cd1fa6288dde5ede85d7bc075696977 | 33 | py | Python | live/settings/settings.py | LvanArkel/sbzwebsite | a26efbb050585312c53010f14f86c23616a8071f | [
"BSD-3-Clause"
] | 1 | 2017-01-08T13:21:43.000Z | 2017-01-08T13:21:43.000Z | live/settings/settings.py | LvanArkel/sbzwebsite | a26efbb050585312c53010f14f86c23616a8071f | [
"BSD-3-Clause"
] | 17 | 2018-12-03T14:22:14.000Z | 2021-07-14T15:15:12.000Z | live/settings/settings.py | LvanArkel/sbzwebsite | a26efbb050585312c53010f14f86c23616a8071f | [
"BSD-3-Clause"
] | 2 | 2018-12-03T14:58:49.000Z | 2019-12-01T13:24:42.000Z | SOCKETIO_NAMESPACE = '/sbz/flow'
| 16.5 | 32 | 0.757576 | 4 | 33 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 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 |
92c693a63068eb789c2003fbe194881cd3ccce24 | 2,870 | py | Python | efax/_src/distributions/logarithmic.py | NeilGirdhar/efax | 3a0f1ea3fafb456b024137dc5a20a9e7f9806a9f | [
"MIT"
] | 34 | 2020-03-24T06:21:08.000Z | 2022-03-19T04:48:17.000Z | efax/_src/distributions/logarithmic.py | NeilGirdhar/efax | 3a0f1ea3fafb456b024137dc5a20a9e7f9806a9f | [
"MIT"
] | 8 | 2020-03-30T11:27:48.000Z | 2021-07-05T06:10:06.000Z | efax/_src/distributions/logarithmic.py | NeilGirdhar/efax | 3a0f1ea3fafb456b024137dc5a20a9e7f9806a9f | [
"MIT"
] | 1 | 2022-03-17T01:34:07.000Z | 2022-03-17T01:34:07.000Z | from __future__ import annotations
from typing import Type
import jax.numpy as jnp
from jax.nn import softplus
from tjax import RealArray, Shape
from tjax.dataclasses import dataclass
from ..exp_to_nat import ExpToNat
from ..natural_parametrization import NaturalParametrization
from ..parameter import ScalarSupport,... | 37.272727 | 100 | 0.596167 | 279 | 2,870 | 5.967742 | 0.286738 | 0.075676 | 0.064865 | 0.051652 | 0.147748 | 0.087688 | 0.087688 | 0.063664 | 0.063664 | 0 | 0 | 0.006909 | 0.243554 | 2,870 | 76 | 101 | 37.763158 | 0.760018 | 0.134843 | 0 | 0.117647 | 0 | 0 | 0.015751 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.215686 | false | 0 | 0.176471 | 0.176471 | 0.686275 | 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 |
1302bd1a56fb7689752eb031974eab6b0376f006 | 294 | py | Python | harnessed_jobs/ts8_pump_down/v0/producer_ts8_pump_down.py | lsst-camera-dh/IandT-jobs | f62f9f796208d23a4f775752c084f8ef3dd6cf35 | [
"BSD-3-Clause-LBNL"
] | 1 | 2017-05-22T20:53:12.000Z | 2017-05-22T20:53:12.000Z | harnessed_jobs/ts8_pump_down/v0/producer_ts8_pump_down.py | lsst-camera-dh/IandT-jobs | f62f9f796208d23a4f775752c084f8ef3dd6cf35 | [
"BSD-3-Clause-LBNL"
] | 21 | 2016-10-12T22:42:16.000Z | 2020-09-29T05:37:54.000Z | harnessed_jobs/ts8_pump_down/v0/producer_ts8_pump_down.py | lsst-camera-dh/IandT-jobs | f62f9f796208d23a4f775752c084f8ef3dd6cf35 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #!/usr/bin/env python
import os
import numpy as np
import matplotlib.pyplot as plt
from ccsTools import ccsProducer, CcsRaftSetup
# Check that CCS_PUMP_OUTLET is set.
os.environ['CCS_PUMP_OUTLET']
ccsProducer('ts8_pump_down', 'ccs_ts8_pump_down.py',
ccs_setup_class=CcsRaftSetup)
| 24.5 | 52 | 0.778912 | 45 | 294 | 4.844444 | 0.644444 | 0.06422 | 0.119266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007905 | 0.139456 | 294 | 11 | 53 | 26.727273 | 0.853755 | 0.187075 | 0 | 0 | 0 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
13129d1ab01783f089603e8d0b5fc17bd40d010e | 249 | py | Python | core/utils.py | SimenKH/DataDrivenModelling | 88dd79f3b937e40b03dad9500ceccbcf11a89907 | [
"Apache-2.0"
] | null | null | null | core/utils.py | SimenKH/DataDrivenModelling | 88dd79f3b937e40b03dad9500ceccbcf11a89907 | [
"Apache-2.0"
] | null | null | null | core/utils.py | SimenKH/DataDrivenModelling | 88dd79f3b937e40b03dad9500ceccbcf11a89907 | [
"Apache-2.0"
] | null | null | null | import datetime as dt
class Timer():
def __init__(self):
self.start_dt = None
def start(self):
self.start_dt = dt.datetime.now()
def stop(self):
end_dt = dt.datetime.now()
print('Time taken: %s' % (end_dt - self.start_dt)) | 19.153846 | 52 | 0.638554 | 39 | 249 | 3.846154 | 0.461538 | 0.18 | 0.22 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216867 | 249 | 13 | 52 | 19.153846 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0 | 0.555556 | 0.111111 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
132f27433d3f380da6793ea060f52d65f9a2a2b2 | 1,646 | py | Python | spacy/tests/tokenizer/test_exceptions.py | cmgreivel/spaCy | a31506e06060c559abfeda043503935691af2e98 | [
"MIT"
] | 88 | 2018-05-06T17:28:23.000Z | 2022-03-06T20:19:16.000Z | spacy/tests/tokenizer/test_exceptions.py | cmgreivel/spaCy | a31506e06060c559abfeda043503935691af2e98 | [
"MIT"
] | 12 | 2018-07-19T15:11:57.000Z | 2021-08-05T11:58:29.000Z | spacy/tests/tokenizer/test_exceptions.py | cmgreivel/spaCy | a31506e06060c559abfeda043503935691af2e98 | [
"MIT"
] | 10 | 2018-07-28T22:43:04.000Z | 2020-11-22T22:58:21.000Z | # coding: utf-8
from __future__ import unicode_literals
import sys
import pytest
def test_tokenizer_handles_emoticons(tokenizer):
# Tweebo challenge (CMU)
text = """:o :/ :'( >:o (: :) >.< XD -__- o.O ;D :-) @_@ :P 8D :1 >:( :D =| ") :> ...."""
tokens = tokenizer(text)
assert tokens[0].text == ":o"
... | 34.291667 | 93 | 0.565614 | 208 | 1,646 | 4.399038 | 0.379808 | 0.288525 | 0.227322 | 0.081967 | 0.155191 | 0.087432 | 0.087432 | 0 | 0 | 0 | 0 | 0.042868 | 0.220535 | 1,646 | 47 | 94 | 35.021277 | 0.665627 | 0.052855 | 0 | 0.131579 | 0 | 0.026316 | 0.131833 | 0 | 0 | 0 | 0 | 0 | 0.631579 | 1 | 0.078947 | false | 0 | 0.078947 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
134890bc3387f55859ac1534302c4bd3237c6646 | 131 | py | Python | falmer/slack/apps.py | sussexstudent/services-api | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 2 | 2017-04-27T19:35:59.000Z | 2017-06-13T16:19:33.000Z | falmer/slack/apps.py | sussexstudent/falmer | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 975 | 2017-04-13T11:31:07.000Z | 2022-02-10T07:46:18.000Z | falmer/slack/apps.py | sussexstudent/services-api | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 3 | 2018-05-09T06:42:25.000Z | 2020-12-10T18:29:30.000Z | from django.apps import AppConfig
class SlackConfig(AppConfig):
name = 'falmer.slack'
verbose_name = 'Slack integration'
| 18.714286 | 38 | 0.740458 | 15 | 131 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175573 | 131 | 6 | 39 | 21.833333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.221374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
13737df6ce00394b1271453a38566d56bceb3823 | 1,635 | py | Python | src/types/pose.py | vhgnguyen/occlusion_behavior_planning | 33dea1fb9c5e3274e4482ca0d9eeb56f9beaa11e | [
"MIT"
] | 1 | 2021-08-12T02:09:54.000Z | 2021-08-12T02:09:54.000Z | src/types/pose.py | vhgnguyen/occlusion_behavior_planning | 33dea1fb9c5e3274e4482ca0d9eeb56f9beaa11e | [
"MIT"
] | null | null | null | src/types/pose.py | vhgnguyen/occlusion_behavior_planning | 33dea1fb9c5e3274e4482ca0d9eeb56f9beaa11e | [
"MIT"
] | 1 | 2021-08-12T02:09:57.000Z | 2021-08-12T02:09:57.000Z | import numpy as np
import math
class Pose(object):
"""
Class define vehicle pose (in global UTM coordinate)
Args:
x_m, y_m, yaw_rad: x,y position and heading
cov_m: (2,2) matrix of pose uncertainty in vehicle coordinate
vdy: current vehicle dynamic
timestamp_s: time stamp i... | 29.196429 | 72 | 0.606116 | 239 | 1,635 | 3.912134 | 0.305439 | 0.037433 | 0.058824 | 0.051337 | 0.191444 | 0.151872 | 0.130481 | 0.130481 | 0.101604 | 0.057754 | 0 | 0.003401 | 0.280734 | 1,635 | 55 | 73 | 29.727273 | 0.791667 | 0.230581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0.0625 | 0.125 | 0.53125 | 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 |
1380afb9df1ba170c1ed03192cee7e713179afe1 | 1,474 | py | Python | tests/test_config.py | mlipper/bray | e711021a6c5e6555f96bad78b980b68b699c3c58 | [
"Apache-2.0"
] | 1 | 2020-11-23T16:01:02.000Z | 2020-11-23T16:01:02.000Z | tests/test_config.py | mlipper/bray | e711021a6c5e6555f96bad78b980b68b699c3c58 | [
"Apache-2.0"
] | null | null | null | tests/test_config.py | mlipper/bray | e711021a6c5e6555f96bad78b980b68b699c3c58 | [
"Apache-2.0"
] | null | null | null | import os
from bray import logger
from bray.config import settings
class TestConfig:
def test_defaults(self):
for k, v in sorted(os.environ.items()):
logger.info("[ENV] %s=%s", k, v)
assert settings.default.etl_dir == "etl"
assert settings.default.data_dir == "etl/data"
... | 38.789474 | 126 | 0.67232 | 197 | 1,474 | 4.908629 | 0.294416 | 0.2606 | 0.214064 | 0.093071 | 0.282316 | 0.241986 | 0.241986 | 0.091003 | 0 | 0 | 0 | 0 | 0.21981 | 1,474 | 37 | 127 | 39.837838 | 0.84087 | 0 | 0 | 0 | 0 | 0 | 0.083446 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.133333 | false | 0 | 0.1 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13a77a54d186e9e85bc8288adf2ba0ca35c0128e | 268 | py | Python | Workshops/25.11.2017 - Python. The Basics - Volume 1 -/Python Codes/4/2_typecast.py | Act862/PyLam-Edu | c53114a56da8e5803495acc3c82da1b36ddd452b | [
"MIT"
] | null | null | null | Workshops/25.11.2017 - Python. The Basics - Volume 1 -/Python Codes/4/2_typecast.py | Act862/PyLam-Edu | c53114a56da8e5803495acc3c82da1b36ddd452b | [
"MIT"
] | 3 | 2018-11-30T08:30:49.000Z | 2018-11-30T08:38:02.000Z | Workshops/25.11.2017 - Python. The Basics - Volume 1 -/Python Codes/4/2_typecast.py | Act862/PyLam-Edu | c53114a56da8e5803495acc3c82da1b36ddd452b | [
"MIT"
] | 2 | 2018-07-01T14:11:47.000Z | 2018-11-04T01:06:55.000Z | x = 5
y = str(x)
# The function type returns the 'type' of a variable
# Examples:
# int: ... -3, -2, -1, 0, 1, 2, 3 ...
# float: ... 3.14 , 5.23, -5.68932, 3.2342
# str: "George", "Hello There"
print("The type of x is: ", type(x))
print("The type of y is: ", type(y))
| 26.8 | 52 | 0.559701 | 52 | 268 | 2.884615 | 0.519231 | 0.14 | 0.18 | 0.186667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117925 | 0.208955 | 268 | 9 | 53 | 29.777778 | 0.589623 | 0.619403 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
13ca707931beecd85a715a5386dc631505906d2f | 130 | py | Python | User/apps.py | n3trob3/WebProjects | 03ba375fb9b4b00a5467e536c7f6cfb854072343 | [
"Apache-2.0"
] | null | null | null | User/apps.py | n3trob3/WebProjects | 03ba375fb9b4b00a5467e536c7f6cfb854072343 | [
"Apache-2.0"
] | null | null | null | User/apps.py | n3trob3/WebProjects | 03ba375fb9b4b00a5467e536c7f6cfb854072343 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class UserConfig(AppConfig):
name = 'User'
def ready(self):
import User.signals
| 14.444444 | 33 | 0.692308 | 16 | 130 | 5.625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223077 | 130 | 8 | 34 | 16.25 | 0.891089 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
13cddfca9910edf303a15b083d7d9ce4f8730264 | 266 | py | Python | mmdet/datasets/my_dataset.py | aelaelita/mmdetection | e8bf53d970e4b97c3606e5390219ae6ece2d6d3e | [
"Apache-2.0"
] | null | null | null | mmdet/datasets/my_dataset.py | aelaelita/mmdetection | e8bf53d970e4b97c3606e5390219ae6ece2d6d3e | [
"Apache-2.0"
] | null | null | null | mmdet/datasets/my_dataset.py | aelaelita/mmdetection | e8bf53d970e4b97c3606e5390219ae6ece2d6d3e | [
"Apache-2.0"
] | null | null | null | from .coco import CocoDataset
from .registry import DATASETS
from .xml_style import XMLDataset
from .voc import VOCDataset
@DATASETS.register_module
class MyDataset(XMLDataset):
# CLASSES =('Dent', 'Scratch_or_spot')#, 'Shatter', 'Tear')
CLASSES = ['plant'] | 29.555556 | 63 | 0.74812 | 32 | 266 | 6.09375 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135338 | 266 | 9 | 64 | 29.555556 | 0.847826 | 0.210526 | 0 | 0 | 0 | 0 | 0.024038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
13cf398ece217c062bcebb7a1c9fb66219bdbb06 | 2,037 | py | Python | main/models.py | zypangpang/pubgsite | 234b3fe39239ed6d292032a2882feba58a275a6b | [
"MIT"
] | null | null | null | main/models.py | zypangpang/pubgsite | 234b3fe39239ed6d292032a2882feba58a275a6b | [
"MIT"
] | 6 | 2021-03-19T08:42:58.000Z | 2022-02-10T14:15:09.000Z | main/models.py | zypangpang/pubgsite | 234b3fe39239ed6d292032a2882feba58a275a6b | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
# Create your models here.
class Box(models.Model):
password = models.IntegerField(default=None, null=True)
position_x = models.IntegerField(default=None, null=True)
position_y = models.IntegerField(default=None, null=True)
size ... | 34.525424 | 72 | 0.733922 | 269 | 2,037 | 5.405204 | 0.249071 | 0.158872 | 0.206327 | 0.261348 | 0.695323 | 0.638239 | 0.48762 | 0.302613 | 0.243466 | 0.243466 | 0 | 0.007549 | 0.154639 | 2,037 | 58 | 73 | 35.12069 | 0.836818 | 0.011782 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0.02381 | 0.047619 | 0.095238 | 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 |
13ee851206d8f9de82c928c774fb1cf3569a12ab | 984 | py | Python | src/structures/vocab.py | longodj/T-CVAE-MolGen | adfea2c51466970aab6d15c3e875bc80430c08f6 | [
"BSD-3-Clause"
] | null | null | null | src/structures/vocab.py | longodj/T-CVAE-MolGen | adfea2c51466970aab6d15c3e875bc80430c08f6 | [
"BSD-3-Clause"
] | null | null | null | src/structures/vocab.py | longodj/T-CVAE-MolGen | adfea2c51466970aab6d15c3e875bc80430c08f6 | [
"BSD-3-Clause"
] | 1 | 2019-12-15T19:56:23.000Z | 2019-12-15T19:56:23.000Z | import copy
from rdkit import Chem
from typing import List,Tuple
def get_slots(smiles: str) -> List[Tuple[str,int,int]]:
mol = Chem.MolFromSmiles(smiles)
return [(atom.GetSymbol(),
atom.GetFormalCharge(),
atom.GetTotalNumHs())
for atom in mol.GetAtoms()]
class Vocab(ob... | 30.75 | 65 | 0.609756 | 140 | 984 | 4.207143 | 0.328571 | 0.137521 | 0.101868 | 0.11545 | 0.139219 | 0.071307 | 0 | 0 | 0 | 0 | 0 | 0.01084 | 0.25 | 984 | 32 | 66 | 30.75 | 0.787263 | 0 | 0 | 0 | 0 | 0 | 0.052792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.115385 | 0.153846 | 0.576923 | 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 |
13f331fd6b5d046614fb2c09877f2630e9496d0d | 52 | py | Python | frontegg/flask/__init__.py | amitripshtos/python-sdk | d8897c6be1eb730b563a08243b03d9df2c73c20e | [
"MIT"
] | 1 | 2020-12-31T07:09:13.000Z | 2020-12-31T07:09:13.000Z | frontegg/flask/__init__.py | amitripshtos/python-sdk | d8897c6be1eb730b563a08243b03d9df2c73c20e | [
"MIT"
] | 9 | 2020-11-09T13:02:57.000Z | 2022-01-19T03:41:51.000Z | frontegg/flask/__init__.py | amitripshtos/python-sdk | d8897c6be1eb730b563a08243b03d9df2c73c20e | [
"MIT"
] | 3 | 2020-11-04T08:36:47.000Z | 2021-07-29T08:55:33.000Z | from .frontegg import frontegg
__all__ = 'frontegg' | 17.333333 | 30 | 0.788462 | 6 | 52 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 3 | 31 | 17.333333 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 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 |
b926a2b3eef61a949bdb24326b57593b95125ec1 | 581 | py | Python | WMIAdventure/backend/WMIAdventure_backend/battle/businesslogic/effects/SkipCardEffect.py | emkarcinos/WMIAdventure | 7ca057bb4e4d462b8626d53b66bed86e0125059a | [
"Apache-2.0"
] | 2 | 2021-05-26T15:12:33.000Z | 2021-12-09T17:17:19.000Z | WMIAdventure/backend/WMIAdventure_backend/battle/businesslogic/effects/SkipCardEffect.py | emkarcinos/WMIAdventure | 7ca057bb4e4d462b8626d53b66bed86e0125059a | [
"Apache-2.0"
] | 558 | 2021-05-27T05:41:23.000Z | 2022-02-27T21:50:54.000Z | WMIAdventure/backend/WMIAdventure_backend/battle/businesslogic/effects/SkipCardEffect.py | emkarcinos/WMIAdventure | 7ca057bb4e4d462b8626d53b66bed86e0125059a | [
"Apache-2.0"
] | 4 | 2021-05-26T15:09:29.000Z | 2022-03-13T15:28:07.000Z | from battle.businesslogic.effects.Effect import Effect
from battle.businesslogic.recorder.effects_impacts.DeckOrderChangedEffectImpact import DeckOrderChangedEffectImpact
class SkipCardEffect(Effect):
def on_activation(self, target, turns_queue):
# To skip a card, we simply need to dequeue it using Deck's... | 41.5 | 115 | 0.774527 | 71 | 581 | 6.239437 | 0.591549 | 0.045147 | 0.103837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151463 | 581 | 13 | 116 | 44.692308 | 0.89858 | 0.122203 | 0 | 0 | 0 | 0 | 0.104331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.875 | 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 |
b9272b5ab66a9b8cd7747c684100255213b4bb8a | 228 | py | Python | main.py | soun1920/generate-python-file | 15fec05eacfa114cb3dfbfe4277ecf7e92b8925b | [
"MIT"
] | null | null | null | main.py | soun1920/generate-python-file | 15fec05eacfa114cb3dfbfe4277ecf7e92b8925b | [
"MIT"
] | null | null | null | main.py | soun1920/generate-python-file | 15fec05eacfa114cb3dfbfe4277ecf7e92b8925b | [
"MIT"
] | null | null | null | import os,sys
i = 1
if not os.path.exists(f"NewFile.py") :
with open(f"NewFile.py","w") as f:
sys.exit()
while os.path.exists(f"NewFile({i}).py"):
i += 1
with open(f"NewFile({i}).py","w") as f:
sys.exit()
| 17.538462 | 41 | 0.565789 | 44 | 228 | 2.931818 | 0.409091 | 0.248062 | 0.186047 | 0.20155 | 0.511628 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0.01105 | 0.20614 | 228 | 12 | 42 | 19 | 0.701657 | 0 | 0 | 0.222222 | 0 | 0 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b9279303702afe8775c11cc875c38341414e6425 | 276 | py | Python | rfhub/blueprints/api/__init__.py | bli74/robotframework-hub | 47e3a1bcf3fa3f384c3b95db15cd2bdfb4dcb5e6 | [
"Apache-2.0"
] | 2 | 2021-08-03T06:28:19.000Z | 2021-09-28T08:28:08.000Z | rfhub/blueprints/api/__init__.py | bli74/robotframework-hub | 47e3a1bcf3fa3f384c3b95db15cd2bdfb4dcb5e6 | [
"Apache-2.0"
] | 1 | 2021-05-28T04:47:19.000Z | 2021-05-28T04:47:19.000Z | rfhub/blueprints/api/__init__.py | bli74/robotframework-hub | 47e3a1bcf3fa3f384c3b95db15cd2bdfb4dcb5e6 | [
"Apache-2.0"
] | 1 | 2022-02-02T13:17:23.000Z | 2022-02-02T13:17:23.000Z | """
API blueprint
This blueprint provides the /api interface.
"""
from flask import Blueprint
from . import keywords
from . import libraries
blueprint = Blueprint('api', __name__)
endpoints = [
keywords.ApiEndpoint(blueprint),
libraries.ApiEndpoint(blueprint)
]
| 14.526316 | 43 | 0.73913 | 29 | 276 | 6.896552 | 0.482759 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 276 | 18 | 44 | 15.333333 | 0.869565 | 0.210145 | 0 | 0 | 0 | 0 | 0.014354 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
b9541cc121ce76755974da7af0a3decc1d107665 | 5,825 | py | Python | rapidAligner/ED/stream_dists_fft.py | NVIDIA/rapidAligner | 4d5bb51f3abf278b6ac94168d71345e628802064 | [
"Apache-2.0"
] | 19 | 2021-05-02T11:29:32.000Z | 2022-02-01T10:20:32.000Z | rapidAligner/ED/stream_dists_fft.py | NVIDIA/cuseries | 4d5bb51f3abf278b6ac94168d71345e628802064 | [
"Apache-2.0"
] | null | null | null | rapidAligner/ED/stream_dists_fft.py | NVIDIA/cuseries | 4d5bb51f3abf278b6ac94168d71345e628802064 | [
"Apache-2.0"
] | 1 | 2022-03-22T13:03:05.000Z | 2022-03-22T13:03:05.000Z | # Copyright (c) 2020, NVIDIA CORPORATION.
# 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 ... | 35.736196 | 94 | 0.538884 | 1,098 | 5,825 | 2.826958 | 0.145719 | 0.026418 | 0.034794 | 0.042526 | 0.760631 | 0.759343 | 0.736147 | 0.690399 | 0.690077 | 0.688466 | 0 | 0.028846 | 0.250129 | 5,825 | 162 | 95 | 35.95679 | 0.681777 | 0.639828 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 1 | 0.066667 | false | 0 | 0.088889 | 0 | 0.222222 | 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 |
b958076ec860c9f99bb30a0a0f4dce3f5d8e8c71 | 494 | py | Python | zx/_utils.py | kosarev/zx | 6f72f45438e03f97be975bab1a36889aca16cee4 | [
"MIT"
] | 6 | 2018-09-09T16:38:41.000Z | 2020-11-10T11:25:55.000Z | zx/_utils.py | kosarev/zx | 6f72f45438e03f97be975bab1a36889aca16cee4 | [
"MIT"
] | 24 | 2019-10-16T14:08:31.000Z | 2021-11-07T13:36:10.000Z | zx/_utils.py | kosarev/zx | 6f72f45438e03f97be975bab1a36889aca16cee4 | [
"MIT"
] | 1 | 2020-05-02T11:41:47.000Z | 2020-05-02T11:41:47.000Z | # -*- coding: utf-8 -*-
# ZX Spectrum Emulator.
# https://github.com/kosarev/zx
#
# Copyright (C) 2017-2019 Ivan Kosarev.
# ivan@kosarev.info
#
# Published under the MIT license.
MASK16 = 0xffff
def div_ceil(a, b):
return (a + b - 1) // b
def make16(hi, lo):
return ((hi << 8) | lo) & MASK16
d... | 14.969697 | 41 | 0.566802 | 72 | 494 | 3.861111 | 0.583333 | 0.079137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064246 | 0.275304 | 494 | 32 | 42 | 15.4375 | 0.712291 | 0.348178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044728 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b95c9dbc7989abdacaa6dafd7a2b9b0be0755a25 | 1,232 | py | Python | mlinspect/inspections/__init__.py | JinyangLi01/mlinspect | 87725d599db63b89907bc71071d6de66b40a33b7 | [
"Apache-2.0"
] | 40 | 2020-10-20T15:56:35.000Z | 2022-02-22T14:48:09.000Z | mlinspect/inspections/__init__.py | JinyangLi01/mlinspect | 87725d599db63b89907bc71071d6de66b40a33b7 | [
"Apache-2.0"
] | 55 | 2020-10-21T15:37:44.000Z | 2022-02-10T02:44:18.000Z | mlinspect/inspections/__init__.py | JinyangLi01/mlinspect | 87725d599db63b89907bc71071d6de66b40a33b7 | [
"Apache-2.0"
] | 9 | 2021-01-15T15:53:25.000Z | 2022-03-31T23:42:12.000Z | """
Packages and classes we want to expose to users
"""
from ._arg_capturing import ArgumentCapturing
from ._completeness_of_columns import CompletenessOfColumns
from ._count_distinct_of_columns import CountDistinctOfColumns
from ._inspection import Inspection
from ._inspection_result import InspectionResult
from ._ins... | 38.5 | 118 | 0.830357 | 94 | 1,232 | 10.542553 | 0.510638 | 0.052472 | 0.030272 | 0.215943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11526 | 1,232 | 31 | 119 | 39.741935 | 0.909174 | 0.080357 | 0 | 0 | 0 | 0 | 0.265125 | 0.185943 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.44 | 0 | 0.44 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b970e2de2c1bff69b971dcf496868d8f482865b0 | 213 | py | Python | test.py | yi64/nightmare | 863e311f6a75d35388759054ce0b0e1ef4e36dd7 | [
"MIT"
] | 1 | 2022-02-10T09:02:51.000Z | 2022-02-10T09:02:51.000Z | test.py | yi64/nightmare | 863e311f6a75d35388759054ce0b0e1ef4e36dd7 | [
"MIT"
] | null | null | null | test.py | yi64/nightmare | 863e311f6a75d35388759054ce0b0e1ef4e36dd7 | [
"MIT"
] | null | null | null | import sdk.memory
import sdk.offsets
csgo = sdk.memory.getProcess("csgo.exe")
client = sdk.memory.getModuleHandle(csgo.process_handle, "client.dll")
print(csgo.read_int(client + sdk.offsets.dwGlowObjectManager)) | 30.428571 | 70 | 0.798122 | 29 | 213 | 5.793103 | 0.551724 | 0.160714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 213 | 7 | 71 | 30.428571 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.084112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b9848a1802e00775e990d27b526de95df40b1fbc | 730 | py | Python | src/unix_accounts/format/users_asciitable.py | 1nfiniteloop/unix-accounts | 9b4dc6f07e203610ea58698f982727daa3389d20 | [
"MIT"
] | null | null | null | src/unix_accounts/format/users_asciitable.py | 1nfiniteloop/unix-accounts | 9b4dc6f07e203610ea58698f982727daa3389d20 | [
"MIT"
] | null | null | null | src/unix_accounts/format/users_asciitable.py | 1nfiniteloop/unix-accounts | 9b4dc6f07e203610ea58698f982727daa3389d20 | [
"MIT"
] | null | null | null | from typing import (
Tuple,
)
from terminaltables import AsciiTable
from user import UnixUser
def _fmt_members(members: Tuple[str]):
return ",".join(members)
def _fmt_users(users: Tuple[UnixUser]):
return list([user.name, user.uid, user.group.name, user.gecos or "", user.home_dir, user.shell, _fmt_memb... | 26.071429 | 155 | 0.675342 | 94 | 730 | 5.010638 | 0.393617 | 0.057325 | 0.055202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19863 | 730 | 27 | 156 | 27.037037 | 0.805128 | 0 | 0 | 0 | 0 | 0 | 0.069863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.166667 | 0.111111 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b996524e9a49aaf5684187f1a139231f3dea2d7d | 729 | py | Python | 00_Datset_Generator_images/Python_scripts/000_image_augmentator.py | FreeworkEarth/AI-for-object-detection-and-OCR-objective-character-recognition-for-UAV-s-drones | ed5b6da5cf381435e2cb411e171d2215ab5de814 | [
"MIT"
] | null | null | null | 00_Datset_Generator_images/Python_scripts/000_image_augmentator.py | FreeworkEarth/AI-for-object-detection-and-OCR-objective-character-recognition-for-UAV-s-drones | ed5b6da5cf381435e2cb411e171d2215ab5de814 | [
"MIT"
] | null | null | null | 00_Datset_Generator_images/Python_scripts/000_image_augmentator.py | FreeworkEarth/AI-for-object-detection-and-OCR-objective-character-recognition-for-UAV-s-drones | ed5b6da5cf381435e2cb411e171d2215ab5de814 | [
"MIT"
] | null | null | null | from matplotlib import pyplot as plt
import numpy as np
import cv2
import random
import string
import os
from PIL import ImageFont, ImageDraw, Image
from pathlib import Path, PurePath
import pathlib
import Augmentor
path_to_training_images = Path(r"C:\Users\chari\Google Drive\00_Masterthesis\Masterarbeit\10_MA_COde\D... | 30.375 | 183 | 0.840878 | 114 | 729 | 5.114035 | 0.508772 | 0.044597 | 0.048027 | 0.068611 | 0.428816 | 0.428816 | 0.428816 | 0.428816 | 0.428816 | 0.428816 | 0 | 0.037594 | 0.087792 | 729 | 23 | 184 | 31.695652 | 0.839098 | 0.045267 | 0 | 0 | 0 | 0.133333 | 0.428986 | 0.423188 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.133333 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b99b990b628a3a9e01623c09c3c2b9f1b5fe19ed | 335 | py | Python | src/automlstreams/helpers/__init__.py | AlexImb/automl-streams | 0e12a66a7086749d5241f6e71221a5baa374ee1a | [
"MIT"
] | 9 | 2020-01-16T18:25:23.000Z | 2022-01-12T08:05:10.000Z | src/automlstreams/helpers/__init__.py | Sanyam07/automl-streams | f730918f2a006def405b4c8c96b7849adc23eb2a | [
"MIT"
] | 1 | 2020-03-12T14:47:39.000Z | 2020-03-18T21:15:38.000Z | src/automlstreams/helpers/__init__.py | Sanyam07/automl-streams | f730918f2a006def405b4c8c96b7849adc23eb2a | [
"MIT"
] | 4 | 2020-09-24T22:42:18.000Z | 2021-11-15T16:14:47.000Z | """
The :mod:`automlstreams.evaluators` module contains evaluators implementations
for the `StreamEvaluator` abstract class from the :mod:`skmultiflow.evaluation`
module
"""
from .kafka_publishers import publish_dataframe
from .kafka_publishers import publish_openml_dataset
__all__ = ['publish_dataframe', 'publish_op... | 30.454545 | 79 | 0.823881 | 38 | 335 | 6.947368 | 0.578947 | 0.045455 | 0.143939 | 0.189394 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092537 | 335 | 10 | 80 | 33.5 | 0.868421 | 0.492537 | 0 | 0 | 0 | 0 | 0.240741 | 0.135802 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b99e4e2e28b7c27ae741433359e3cb38f6a5039a | 346 | py | Python | CaveOfSpongeBob/apps/blog/admin.py | MengZumeng/CaveOfSpongeBob | 2f5003416658b01aa870796c23b88fedb956ff2f | [
"MIT"
] | null | null | null | CaveOfSpongeBob/apps/blog/admin.py | MengZumeng/CaveOfSpongeBob | 2f5003416658b01aa870796c23b88fedb956ff2f | [
"MIT"
] | null | null | null | CaveOfSpongeBob/apps/blog/admin.py | MengZumeng/CaveOfSpongeBob | 2f5003416658b01aa870796c23b88fedb956ff2f | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Keyword,Tag,Category,Article,Carousel,TestClass,AboutBlog
admin.site.register(Keyword)
admin.site.register(Tag)
admin.site.register(Category)
admin.site.register(Article)
admin.site.register(Carousel)
admin.site.register(TestClass)
admi... | 28.833333 | 77 | 0.82948 | 47 | 346 | 6.106383 | 0.361702 | 0.219512 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060694 | 346 | 12 | 78 | 28.833333 | 0.883077 | 0.075145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b99f0e7f964448defd29e641c17c319f965090c3 | 282 | py | Python | bot/db/utils.py | hoihoi07/telegram-bombsweeper-bot | a4eeea1251fce2f262bedbec2bd31217944caa0a | [
"MIT"
] | 12 | 2021-09-01T10:16:36.000Z | 2022-02-28T07:19:05.000Z | bot/db/utils.py | hoihoi07/telegram-bombsweeper-bot | a4eeea1251fce2f262bedbec2bd31217944caa0a | [
"MIT"
] | 1 | 2021-09-27T14:34:53.000Z | 2021-09-27T20:45:41.000Z | bot/db/utils.py | hoihoi07/telegram-bombsweeper-bot | a4eeea1251fce2f262bedbec2bd31217944caa0a | [
"MIT"
] | 6 | 2021-09-09T02:10:54.000Z | 2022-03-02T11:34:01.000Z | from bot.config_reader import DB
def make_connection_string(db: DB, async_fallback: bool = False) -> str:
result = f"postgresql+asyncpg://{db.login}:{db.password}@{db.host}:{db.port}/{db.name}"
if async_fallback:
result += "?async_fallback=True"
return result
| 31.333333 | 91 | 0.687943 | 40 | 282 | 4.7 | 0.675 | 0.207447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 282 | 8 | 92 | 35.25 | 0.793249 | 0 | 0 | 0 | 0 | 0.166667 | 0.336879 | 0.265957 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.166667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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.