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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bc8a206ecfd7cc867b308c26fccd2f2375935c12 | 1,039 | py | Python | examples/groups.py | jhermann/dephell_argparse | eb57b150de18e5858c96481c83b9ab840f059e9d | [
"MIT"
] | 6 | 2019-12-06T06:32:53.000Z | 2020-10-17T16:32:29.000Z | examples/groups.py | jhermann/dephell_argparse | eb57b150de18e5858c96481c83b9ab840f059e9d | [
"MIT"
] | 3 | 2020-01-11T09:51:10.000Z | 2020-05-28T13:19:32.000Z | examples/groups.py | jhermann/dephell_argparse | eb57b150de18e5858c96481c83b9ab840f059e9d | [
"MIT"
] | 2 | 2020-03-24T18:13:00.000Z | 2021-09-28T02:43:57.000Z | # built-in
from functools import reduce
# project
from dephell_argparse import CommandHandler, Parser
parser = Parser()
@parser.add_command
class PingCommand(CommandHandler):
def __call__(self):
self.print('pong')
return 0
@parser.add_command
class MathSumCommand(CommandHandler):
"""Retur... | 20.78 | 62 | 0.651588 | 118 | 1,039 | 5.5 | 0.372881 | 0.20339 | 0.22188 | 0.1849 | 0.594761 | 0.553159 | 0.477658 | 0.477658 | 0.363636 | 0.363636 | 0 | 0.003783 | 0.236766 | 1,039 | 49 | 63 | 21.204082 | 0.814628 | 0.072185 | 0 | 0.633333 | 0 | 0 | 0.029412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.066667 | 0 | 0.5 | 0.1 | 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 |
bc9d49e2609611038aaa25ae36bf4e72b0f03fe6 | 605 | py | Python | django_project/routing/views.py | GudniNatan/Super_Duper_Ultra_Lokaverkefni | 7360c65c854154cb86d8f2e8a0da93e753562de2 | [
"MIT"
] | null | null | null | django_project/routing/views.py | GudniNatan/Super_Duper_Ultra_Lokaverkefni | 7360c65c854154cb86d8f2e8a0da93e753562de2 | [
"MIT"
] | 4 | 2017-12-03T00:09:11.000Z | 2017-12-03T00:21:11.000Z | django_project/routing/views.py | GudniNatan/Super_Duper_Ultra_Lokaverkefni | 7360c65c854154cb86d8f2e8a0da93e753562de2 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
from django.template import loader
# Create your views here.
def index(request):
page = loader.get_template('routing/index.html')
return HttpResponse(page.render(request))
def jobs(request):
page = loader.get_template('routing/jobs.h... | 30.25 | 52 | 0.753719 | 79 | 605 | 5.721519 | 0.303797 | 0.097345 | 0.150442 | 0.176991 | 0.674779 | 0.674779 | 0.278761 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 605 | 20 | 53 | 30.25 | 0.860952 | 0.038017 | 0 | 0.266667 | 0 | 0 | 0.11704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.2 | 0 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
bca0109b4efeeeca706de8ae7a0262f3d2e23c10 | 22 | py | Python | experimental/__init__.py | jaimevp54/experimental.py | 3988806ecf9c5f2a55971fa7dcda0695ccd55f34 | [
"MIT"
] | null | null | null | experimental/__init__.py | jaimevp54/experimental.py | 3988806ecf9c5f2a55971fa7dcda0695ccd55f34 | [
"MIT"
] | null | null | null | experimental/__init__.py | jaimevp54/experimental.py | 3988806ecf9c5f2a55971fa7dcda0695ccd55f34 | [
"MIT"
] | null | null | null | name = "experimental"
| 11 | 21 | 0.727273 | 2 | 22 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 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 |
bca02e1683419ce71848a9d412517f9c17505cef | 1,319 | py | Python | infoblox_netmri/api/remote/models/iprg_network_explorer_summaries_summary_grid_remote.py | infobloxopen/infoblox_netmri | aa1c744df7e439dbe163bb9edd165e4e85a9771b | [
"Apache-2.0"
] | 12 | 2016-02-19T12:37:54.000Z | 2022-03-04T20:11:08.000Z | infoblox_netmri/api/remote/models/iprg_network_explorer_summaries_summary_grid_remote.py | infobloxopen/infoblox_netmri | aa1c744df7e439dbe163bb9edd165e4e85a9771b | [
"Apache-2.0"
] | 18 | 2015-11-12T18:37:00.000Z | 2021-05-19T07:59:55.000Z | infoblox_netmri/api/remote/models/iprg_network_explorer_summaries_summary_grid_remote.py | infobloxopen/infoblox_netmri | aa1c744df7e439dbe163bb9edd165e4e85a9771b | [
"Apache-2.0"
] | 18 | 2016-01-07T12:04:34.000Z | 2022-03-31T11:05:41.000Z | from ..remote import RemoteModel
class IprgNetworkExplorerSummariesSummaryGridRemote(RemoteModel):
"""
| ``id:`` none
| ``attribute type:`` string
| ``DeviceID:`` none
| ``attribute type:`` string
| ``IprgID:`` none
| ``attribute type:`` string
| ``DeviceName:`` none
|... | 21.983333 | 65 | 0.494314 | 80 | 1,319 | 8.15 | 0.2875 | 0.239264 | 0.312883 | 0.423313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.358605 | 1,319 | 59 | 66 | 22.355932 | 0.770686 | 0.513268 | 0 | 0 | 0 | 0 | 0.262264 | 0.054717 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.2 | 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 |
bcb94d3396d2f8dc3a20087a9953e9cf7eb8b3aa | 3,655 | py | Python | src/renault_api/kamereon/schemas.py | PysX/renault-api | 2b62b75bd72aa6acdf38ec90e4d24da583bd4014 | [
"MIT"
] | null | null | null | src/renault_api/kamereon/schemas.py | PysX/renault-api | 2b62b75bd72aa6acdf38ec90e4d24da583bd4014 | [
"MIT"
] | null | null | null | src/renault_api/kamereon/schemas.py | PysX/renault-api | 2b62b75bd72aa6acdf38ec90e4d24da583bd4014 | [
"MIT"
] | null | null | null | """Kamereon schemas."""
import marshmallow_dataclass
from . import models
from renault_api.models import BaseSchema
KamereonResponseSchema = marshmallow_dataclass.class_schema(
models.KamereonResponse, base_schema=BaseSchema
)()
KamereonPersonResponseSchema = marshmallow_dataclass.class_schema(
models.Kame... | 30.458333 | 83 | 0.857729 | 254 | 3,655 | 12.051181 | 0.240157 | 0.163345 | 0.196014 | 0.243058 | 0.290101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080711 | 3,655 | 119 | 84 | 30.714286 | 0.911012 | 0.004651 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 3 |
bcbc5d6aaae83d3bc12582e1006497dca6ca31b3 | 25 | py | Python | dynamic_preferences/management/__init__.py | EliotBerriot/django-dynamic-preferences | 1a4cba7323f5456a3ddb2b9a387775f5fa7e0458 | [
"BSD-3-Clause"
] | 244 | 2015-06-19T15:48:21.000Z | 2020-12-28T21:16:48.000Z | dynamic_preferences/management/commands/__init__.py | EliotBerriot/django-dynamic-preferences | 1a4cba7323f5456a3ddb2b9a387775f5fa7e0458 | [
"BSD-3-Clause"
] | 193 | 2015-07-08T04:55:22.000Z | 2020-12-04T08:59:08.000Z | dynamic_preferences/management/__init__.py | EliotBerriot/django-dynamic-preferences | 1a4cba7323f5456a3ddb2b9a387775f5fa7e0458 | [
"BSD-3-Clause"
] | 81 | 2015-07-12T22:18:47.000Z | 2020-12-12T03:04:29.000Z | __author__ = "agateblue"
| 12.5 | 24 | 0.76 | 2 | 25 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.36 | 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 |
bce2c62545cc5a16302f2a5ca93556cc83e9a2d6 | 1,673 | py | Python | TODO/aes.py | J-SB/ModernCryptoLib | 7f3532933933a4c558d5ba25bdbb8e9cb8d06819 | [
"MIT"
] | 12 | 2018-02-16T21:37:00.000Z | 2022-02-23T03:19:57.000Z | TODO/aes.py | J-SB/ModernCryptoLib | 7f3532933933a4c558d5ba25bdbb8e9cb8d06819 | [
"MIT"
] | 1 | 2020-10-08T14:11:16.000Z | 2020-10-08T14:11:16.000Z | TODO/aes.py | J-SB/ModernCryptoLib | 7f3532933933a4c558d5ba25bdbb8e9cb8d06819 | [
"MIT"
] | 5 | 2018-02-16T21:37:02.000Z | 2020-10-08T05:08:24.000Z | from Crypto.Cipher import AES
from cryptography.fernet import Fernet
from Crypto import Random
class AESChipher:
def __init__(self):
self.CBC = self.CBC()
self.ECB = self.ECB()
self.fernet = self.fernet()
class ECB:
def encrypt(self,key,text):
return AES.n... | 42.897436 | 99 | 0.57621 | 224 | 1,673 | 4.160714 | 0.214286 | 0.118026 | 0.048283 | 0.064378 | 0.305794 | 0.305794 | 0.252146 | 0.207082 | 0.175966 | 0 | 0 | 0.013652 | 0.299462 | 1,673 | 39 | 100 | 42.897436 | 0.78157 | 0 | 0 | 0.157895 | 0 | 0 | 0.004279 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.289474 | false | 0 | 0.078947 | 0.157895 | 0.736842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bcecb49d1fc11aa6126c2e32dc9b2e53d542b632 | 782 | py | Python | tool/bin/mkdir.py | mever/qooxdoo | 2bb08cb6c4ddfaf2425e6efff07deb17e960a050 | [
"MIT"
] | 1 | 2021-02-05T23:00:25.000Z | 2021-02-05T23:00:25.000Z | tool/bin/mkdir.py | mever/qooxdoo | 2bb08cb6c4ddfaf2425e6efff07deb17e960a050 | [
"MIT"
] | 3 | 2019-02-18T04:22:52.000Z | 2021-02-21T15:02:54.000Z | tool/bin/mkdir.py | mever/qooxdoo | 2bb08cb6c4ddfaf2425e6efff07deb17e960a050 | [
"MIT"
] | 1 | 2021-06-03T23:08:44.000Z | 2021-06-03T23:08:44.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
################################################################################
#
# qooxdoo - the new era of web development
#
# http://qooxdoo.org
#
# Copyright:
# 2006-2013 1&1 Internet AG, Germany, http://www.1und1.de
#
# License:
# MIT: https://opensource.org... | 21.722222 | 80 | 0.531969 | 86 | 782 | 4.837209 | 0.767442 | 0.033654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022624 | 0.152174 | 782 | 35 | 81 | 22.342857 | 0.604827 | 0.606138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
bcfb42e46a6f1b6b943e263f614ef840459aaf0c | 708 | py | Python | immp/__init__.py | raveinid/IMMP | 49367296d055600701123ffff61fcd4cb31cfafd | [
"BSD-3-Clause"
] | 12 | 2019-06-28T21:31:07.000Z | 2021-05-28T12:34:04.000Z | immp/__init__.py | raveinid/IMMP | 49367296d055600701123ffff61fcd4cb31cfafd | [
"BSD-3-Clause"
] | 2 | 2020-09-05T07:44:01.000Z | 2021-12-29T09:24:28.000Z | immp/__init__.py | raveinid/IMMP | 49367296d055600701123ffff61fcd4cb31cfafd | [
"BSD-3-Clause"
] | 3 | 2020-09-05T00:38:36.000Z | 2021-12-29T06:28:53.000Z | from .core.channel import Channel, Group
from .core.error import ConfigError, HookError, PlugError
from .core.host import Host
from .core.message import File, Location, Message, Receipt, RichText, Segment, SentMessage, User
from .core.hook import Hook, ResourceHook
from .core.plug import Plug
from .core.schema import (... | 54.461538 | 96 | 0.723164 | 79 | 708 | 6.455696 | 0.607595 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200565 | 708 | 12 | 97 | 59 | 0.90106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
bcfe667a21a43b9aa7daa42a30576542e3d93fbb | 248 | py | Python | devices/sensor/smoke.py | russdan/domoticz-zigbee2mqtt-plugin | d47895eab44bc87fc19ce151698d2afe9554fadc | [
"MIT"
] | 146 | 2018-09-19T11:38:48.000Z | 2022-03-21T11:54:12.000Z | devices/sensor/smoke.py | russdan/domoticz-zigbee2mqtt-plugin | d47895eab44bc87fc19ce151698d2afe9554fadc | [
"MIT"
] | 783 | 2018-09-28T17:07:14.000Z | 2022-03-31T10:18:27.000Z | devices/sensor/smoke.py | russdan/domoticz-zigbee2mqtt-plugin | d47895eab44bc87fc19ce151698d2afe9554fadc | [
"MIT"
] | 147 | 2018-09-25T18:39:51.000Z | 2022-03-01T19:31:27.000Z | from devices.boolean_sensor import BooleanSensor
class SmokeSensor(BooleanSensor):
def __init__(self, alias, value_key, device_name_suffix = ''):
super().__init__(alias, value_key, BooleanSensor.SENSOR_TYPE_SMOKE, device_name_suffix)
| 35.428571 | 95 | 0.78629 | 30 | 248 | 5.933333 | 0.666667 | 0.11236 | 0.146067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 248 | 6 | 96 | 41.333333 | 0.820277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
bcfea53a8f812e71bc0c00508f7b6b9e729b6226 | 8,575 | py | Python | Utils.py | AlbertUnruh/ModularDiscordBot.py | 211528560137e04636b33dd3a320b5864a852767 | [
"MIT"
] | 1 | 2020-12-22T19:12:13.000Z | 2020-12-22T19:12:13.000Z | Utils.py | AlbertUnruh/ModularDiscordBot.py | 211528560137e04636b33dd3a320b5864a852767 | [
"MIT"
] | null | null | null | Utils.py | AlbertUnruh/ModularDiscordBot.py | 211528560137e04636b33dd3a320b5864a852767 | [
"MIT"
] | 1 | 2020-12-22T19:12:15.000Z | 2020-12-22T19:12:15.000Z | from typing import *
from NewClass import AttrDict
'''
You can see all the events in the following URL:
https://discordpy.readthedocs.io/en/latest/api.html#event-reference
'''
EVENT = AttrDict({
"on_connect": 0, # argument(s) --> client: discord.Client, _event: int
"on_sha... | 103.313253 | 200 | 0.6393 | 1,003 | 8,575 | 5.25324 | 0.176471 | 0.100778 | 0.167964 | 0.246347 | 0.722338 | 0.712469 | 0.691023 | 0.670526 | 0.662365 | 0.535965 | 0 | 0.016282 | 0.226472 | 8,575 | 82 | 201 | 104.573171 | 0.778079 | 0.618192 | 0 | 0 | 0 | 0 | 0.363032 | 0.15758 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042857 | false | 0 | 0.028571 | 0.028571 | 0.114286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4c0310174a0461611bc11310545f533930f8ce71 | 4,682 | py | Python | ceph_deploy/tests/parser/test_mon.py | weisongf/ceph-deploy | bcb968a13e0f2643507b06aa8f6249e360e8e742 | [
"MIT"
] | 353 | 2015-01-08T06:25:40.000Z | 2022-03-25T01:13:45.000Z | ceph_deploy/tests/parser/test_mon.py | weisongf/ceph-deploy | bcb968a13e0f2643507b06aa8f6249e360e8e742 | [
"MIT"
] | 218 | 2015-01-02T17:45:33.000Z | 2022-02-06T21:40:52.000Z | ceph_deploy/tests/parser/test_mon.py | weisongf/ceph-deploy | bcb968a13e0f2643507b06aa8f6249e360e8e742 | [
"MIT"
] | 282 | 2015-01-02T23:02:24.000Z | 2021-12-27T02:31:49.000Z | import pytest
from ceph_deploy.cli import get_parser
SUBCMDS_WITH_ARGS = ['add', 'destroy', 'create']
SUBCMDS_WITHOUT_ARGS = ['create', 'create-initial']
class TestParserMON(object):
def setup(self):
self.parser = get_parser()
def test_mon_help(self, capsys):
with pytest.raises(SystemExit)... | 38.065041 | 88 | 0.661256 | 622 | 4,682 | 4.750804 | 0.118971 | 0.066328 | 0.077834 | 0.147885 | 0.822673 | 0.749577 | 0.678511 | 0.668697 | 0.652792 | 0.599662 | 0 | 0.008181 | 0.216788 | 4,682 | 122 | 89 | 38.377049 | 0.797655 | 0 | 0 | 0.319149 | 0 | 0 | 0.147587 | 0 | 0 | 0 | 0 | 0 | 0.223404 | 1 | 0.255319 | false | 0 | 0.021277 | 0 | 0.287234 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 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 |
4c07edc760677d031dda7d8b8aaba57131264901 | 474 | py | Python | .releash.py | hugobuddel/releash | c3c2920481ae4c2637f9adb9c953737265a7eeb9 | [
"MIT"
] | null | null | null | .releash.py | hugobuddel/releash | c3c2920481ae4c2637f9adb9c953737265a7eeb9 | [
"MIT"
] | null | null | null | .releash.py | hugobuddel/releash | c3c2920481ae4c2637f9adb9c953737265a7eeb9 | [
"MIT"
] | null | null | null | from releash import *
myself = add_package(".", "releash")
myself.version_source = VersionSource(myself, 'releash.py')
myself.version_targets.append(VersionTarget(myself, 'releash.py'))
myself.release_targets.append(ReleaseTargetSourceDist(myself))
myself.release_targets.append(ReleaseTargetGitTagVersion(myself.version... | 52.666667 | 89 | 0.835443 | 50 | 474 | 7.76 | 0.4 | 0.167526 | 0.206186 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040084 | 474 | 8 | 90 | 59.25 | 0.852747 | 0.185654 | 0 | 0 | 0 | 0 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 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 |
4c08c196ecec35ff31cf5858c6c4a2c2fd3bdf3f | 1,086 | py | Python | credentials.py | martinmandina/Password_Locker | d257c5f961a9e704472d86ce6adb7a5a10b693fa | [
"Unlicense"
] | null | null | null | credentials.py | martinmandina/Password_Locker | d257c5f961a9e704472d86ce6adb7a5a10b693fa | [
"Unlicense"
] | null | null | null | credentials.py | martinmandina/Password_Locker | d257c5f961a9e704472d86ce6adb7a5a10b693fa | [
"Unlicense"
] | null | null | null | import pyperclip
class Credentials:
'''
This class will generate new instances of credentials
'''
credentials_list = []
'''
Created empty Credentials list
'''
def __init__(self,account,login_name,password):
self.account = account
self.login_name = login_name
s... | 22.625 | 75 | 0.627072 | 111 | 1,086 | 5.972973 | 0.531532 | 0.113122 | 0.117647 | 0.090498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001312 | 0.298343 | 1,086 | 48 | 76 | 22.625 | 0.868766 | 0.209945 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.0625 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4c10046de937f470895f57c336b6f4423af00947 | 298 | py | Python | pyshadowsocks/encrypt/data_encoder.py | FTwOoO/pyShadowsocks | 452323e30c4b97d322cbb67e9bbc7c4549e67b5f | [
"MIT"
] | 21 | 2016-08-01T06:48:01.000Z | 2021-04-05T18:20:53.000Z | pyshadowsocks/encrypt/data_encoder.py | zen-of-proxy/pyShadowsocks | 452323e30c4b97d322cbb67e9bbc7c4549e67b5f | [
"MIT"
] | 2 | 2016-07-23T02:33:17.000Z | 2018-03-13T09:50:02.000Z | pyshadowsocks/encrypt/data_encoder.py | FTwOoO/pyShadowsocks | 452323e30c4b97d322cbb67e9bbc7c4549e67b5f | [
"MIT"
] | 7 | 2017-04-22T16:53:53.000Z | 2021-02-08T06:33:05.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Author: booopooob@gmail.com
#
# Info:
#
#
from abc import abstractmethod
class DataEncoder(object):
@abstractmethod
def encode(self, data, end=False):
pass
@abstractmethod
def decode(self, data, end=False):
pass | 14.9 | 38 | 0.627517 | 35 | 298 | 5.342857 | 0.771429 | 0.181818 | 0.117647 | 0.171123 | 0.213904 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004386 | 0.234899 | 298 | 20 | 39 | 14.9 | 0.815789 | 0.258389 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4c1314a2dd6f7de326ddcb7c70e32e72b39c9065 | 335 | py | Python | QR-App/configuration.py | Collinz4/Quick-Report | 555804f8c4a2920d5f225f6a3213ac1f2d0bc28d | [
"MIT"
] | null | null | null | QR-App/configuration.py | Collinz4/Quick-Report | 555804f8c4a2920d5f225f6a3213ac1f2d0bc28d | [
"MIT"
] | null | null | null | QR-App/configuration.py | Collinz4/Quick-Report | 555804f8c4a2920d5f225f6a3213ac1f2d0bc28d | [
"MIT"
] | 1 | 2019-12-10T00:04:49.000Z | 2019-12-10T00:04:49.000Z | """
Basic Configuration File
"""
version: str = 'Vanilla 0.0.1'
host: str = '0.0.0.0'
port: int = 5000
debug: bool = True
SQLALCHEMY_TRACK_MODIFICATIONS: bool = False
SQLALCHEMY_DATABASE_URI: str = 'mysql+pymysql://QuickReportApp:password@localhost:3306/qr_report_v1'
# TODO: PASSWORD FOR DATABASE SHOULD BE RELOCATED... | 23.928571 | 100 | 0.755224 | 48 | 335 | 5.145833 | 0.770833 | 0.032389 | 0.024292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.128358 | 335 | 13 | 101 | 25.769231 | 0.791096 | 0.259701 | 0 | 0 | 0 | 0 | 0.3625 | 0.279167 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0 | true | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4c23cb3820598ac8e6adb5b12b3e3ddd24f35124 | 1,989 | py | Python | test/sanity/code-smell/use-argspec-type-path.py | Container-Projects/ansible-provider-docs | 100b695b0b0c4d8d08af362069557ffc735d0d7e | [
"PSF-2.0",
"BSD-2-Clause",
"MIT"
] | 37 | 2017-08-15T15:02:43.000Z | 2021-07-23T03:44:31.000Z | test/sanity/code-smell/use-argspec-type-path.py | Container-Projects/ansible-provider-docs | 100b695b0b0c4d8d08af362069557ffc735d0d7e | [
"PSF-2.0",
"BSD-2-Clause",
"MIT"
] | 12 | 2018-01-10T05:25:25.000Z | 2021-11-28T06:55:48.000Z | test/sanity/code-smell/use-argspec-type-path.py | Container-Projects/ansible-provider-docs | 100b695b0b0c4d8d08af362069557ffc735d0d7e | [
"PSF-2.0",
"BSD-2-Clause",
"MIT"
] | 49 | 2017-08-15T09:52:13.000Z | 2022-03-21T17:11:54.000Z | #!/usr/bin/env python
import re
import sys
def main():
skip = set([
# add legitimate uses of expanduser to the following list
'lib/ansible/modules/cloud/docker/docker_container.py', # uses colon-separated paths, can't use type=path
'lib/ansible/modules/cloud/lxc/lxc_container.py',
... | 42.319149 | 116 | 0.657114 | 261 | 1,989 | 4.885057 | 0.402299 | 0.14902 | 0.253333 | 0.238431 | 0.465098 | 0.360784 | 0.323137 | 0.083137 | 0.083137 | 0 | 0 | 0.002559 | 0.214178 | 1,989 | 46 | 117 | 43.23913 | 0.81318 | 0.106586 | 0 | 0 | 0 | 0.028571 | 0.593909 | 0.534687 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.057143 | 0 | 0.085714 | 0.028571 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4c2bf61411c3e14643b2daee9f597167adc99c2a | 1,313 | py | Python | learn2learn/gym/envs/__init__.py | OleguerCanal/learn2learn | 8b8f98a612c66dbe0830371d8ed5e2bee8f95410 | [
"MIT"
] | null | null | null | learn2learn/gym/envs/__init__.py | OleguerCanal/learn2learn | 8b8f98a612c66dbe0830371d8ed5e2bee8f95410 | [
"MIT"
] | null | null | null | learn2learn/gym/envs/__init__.py | OleguerCanal/learn2learn | 8b8f98a612c66dbe0830371d8ed5e2bee8f95410 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from gym.envs.registration import register
from .subproc_vec_env import SubprocVecEnv
# 2D Navigation
# ----------------------------------------
register(
'Collector2D-v0',
entry_point='learn2learn.gym.envs.particles.collector_2d:Collector2DEnv',
max_episode_steps=100
)
register(... | 24.314815 | 105 | 0.727342 | 134 | 1,313 | 6.880597 | 0.358209 | 0.060738 | 0.159436 | 0.182213 | 0.414317 | 0.301518 | 0.219089 | 0.180043 | 0 | 0 | 0 | 0.036942 | 0.113481 | 1,313 | 53 | 106 | 24.773585 | 0.755155 | 0.09444 | 0 | 0.378378 | 0 | 0 | 0.519426 | 0.466216 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.054054 | 0 | 0.054054 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4c5afb8d49c2e733c6b622791a5e1a1f4b5877c3 | 5,108 | py | Python | a2/linear_regression.py | CornellDataScience/IntSys-Education | bcd1e519af59a03a1062b8dc2c538231752147de | [
"MIT"
] | 1 | 2021-12-02T21:23:35.000Z | 2021-12-02T21:23:35.000Z | a2/linear_regression.py | CornellDataScience/IntSys-Education | bcd1e519af59a03a1062b8dc2c538231752147de | [
"MIT"
] | null | null | null | a2/linear_regression.py | CornellDataScience/IntSys-Education | bcd1e519af59a03a1062b8dc2c538231752147de | [
"MIT"
] | 12 | 2020-03-03T00:36:10.000Z | 2021-11-30T19:16:38.000Z | import torch
import torch.nn as nn
import torch.optim as optim
import numpy as np
from data_loader import get_data_loaders
class LinearRegressionModel(nn.Module):
"""LinearRegressionModel is the linear regression regressor.
This class handles only the standard linear regression task.
:param num_param: T... | 33.168831 | 95 | 0.636061 | 710 | 5,108 | 4.490141 | 0.312676 | 0.034504 | 0.016311 | 0.018821 | 0.369511 | 0.369511 | 0.369511 | 0.369511 | 0.350063 | 0.321205 | 0 | 0.003752 | 0.269577 | 5,108 | 153 | 96 | 33.385621 | 0.85071 | 0.777408 | 0 | 0.25 | 0 | 0 | 0.010582 | 0 | 0 | 0 | 0 | 0.026144 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4c7b32c2c76ee47c615149824af3f2ffdd013717 | 4,970 | py | Python | src/python/test/test_reader_utils.py | jmarino/gudhi-devel | b1824e4de6fd1d037af3c1341c3065731472ffc8 | [
"MIT"
] | 2 | 2020-01-27T03:32:18.000Z | 2021-03-14T21:14:14.000Z | src/python/test/test_reader_utils.py | jmarino/gudhi-devel | b1824e4de6fd1d037af3c1341c3065731472ffc8 | [
"MIT"
] | 1 | 2020-08-25T16:03:23.000Z | 2020-08-28T07:36:21.000Z | src/python/test/test_reader_utils.py | jmarino/gudhi-devel | b1824e4de6fd1d037af3c1341c3065731472ffc8 | [
"MIT"
] | 2 | 2019-11-06T12:36:23.000Z | 2020-08-25T14:53:13.000Z | import gudhi
import numpy as np
""" This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
Author(s): Vincent Rouvreau
Copyright (C) 2017 Inria
Modification(s):
-... | 39.133858 | 100 | 0.706439 | 680 | 4,970 | 4.842647 | 0.15 | 0.157911 | 0.102035 | 0.112967 | 0.80747 | 0.730337 | 0.709687 | 0.690859 | 0.655937 | 0.591558 | 0 | 0.051419 | 0.170423 | 4,970 | 126 | 101 | 39.444444 | 0.747271 | 0.026358 | 0 | 0.360825 | 0 | 0.041237 | 0.231916 | 0.178945 | 0 | 0 | 0 | 0 | 0.154639 | 1 | 0.061856 | false | 0 | 0.020619 | 0 | 0.082474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4c7b4b78208ca63fd011035ce7150670216e5f30 | 2,531 | py | Python | scattertext/termsignificance/LogOddsRatioAddOne.py | tigerneil/scattertext | 23351895ada347fae300bf910c2c77f47ac58a35 | [
"Apache-2.0"
] | 1 | 2020-08-11T03:27:28.000Z | 2020-08-11T03:27:28.000Z | scattertext/termsignificance/LogOddsRatioAddOne.py | tigerneil/scattertext | 23351895ada347fae300bf910c2c77f47ac58a35 | [
"Apache-2.0"
] | null | null | null | scattertext/termsignificance/LogOddsRatioAddOne.py | tigerneil/scattertext | 23351895ada347fae300bf910c2c77f47ac58a35 | [
"Apache-2.0"
] | 1 | 2020-01-08T00:25:31.000Z | 2020-01-08T00:25:31.000Z | # -*- coding: utf-8 -*-
import numpy as np
from scipy.special import ndtr
from scattertext.Scalers import scale_neg_1_to_1_with_zero_mean_abs_max
from scattertext.termranking import AbsoluteFrequencyRanker
from scattertext.termsignificance.TermSignificance import TermSignificance
def z_to_p_val(z_scores):
# return ... | 23.220183 | 79 | 0.674437 | 438 | 2,531 | 3.616438 | 0.226027 | 0.057449 | 0.035354 | 0.039773 | 0.589646 | 0.584596 | 0.563131 | 0.541667 | 0.541667 | 0.541667 | 0 | 0.013184 | 0.190834 | 2,531 | 108 | 80 | 23.435185 | 0.760254 | 0.479257 | 0 | 0 | 0 | 0 | 0.028525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.310345 | false | 0 | 0.172414 | 0.103448 | 0.793103 | 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 |
d5c41887adf2b11008ce64c5588ad42d37481883 | 51 | py | Python | smtpc/__init__.py | slawekp/smtpc | 4580f16a0a18ac601e0601e3b617406b65e21f29 | [
"MIT"
] | null | null | null | smtpc/__init__.py | slawekp/smtpc | 4580f16a0a18ac601e0601e3b617406b65e21f29 | [
"MIT"
] | null | null | null | smtpc/__init__.py | slawekp/smtpc | 4580f16a0a18ac601e0601e3b617406b65e21f29 | [
"MIT"
] | null | null | null | __all__ = ('__version__', )
__version__ = '0.7.0'
| 12.75 | 27 | 0.627451 | 6 | 51 | 3.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.156863 | 51 | 3 | 28 | 17 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d5d5f2c793893b7eb49b56f08f0f066f15306325 | 509 | py | Python | boto3facade/s3.py | InnovativeTravel/boto3facade | 9ea61fb07981939340db652b4baa5cd23d15e1f8 | [
"MIT"
] | 1 | 2016-06-20T00:59:53.000Z | 2016-06-20T00:59:53.000Z | boto3facade/s3.py | InnovativeTravel/boto3facade | 9ea61fb07981939340db652b4baa5cd23d15e1f8 | [
"MIT"
] | null | null | null | boto3facade/s3.py | InnovativeTravel/boto3facade | 9ea61fb07981939340db652b4baa5cd23d15e1f8 | [
"MIT"
] | 1 | 2022-03-20T07:46:38.000Z | 2022-03-20T07:46:38.000Z | """S3 facade."""
from .aws import AwsFacade
from .utils import log_exception
from botocore.exceptions import ClientError
class S3(AwsFacade):
@property
def service(self):
return 's3'
@log_exception(ClientError)
def cp(self, local_path, s3_bucket, s3_key):
"""Uploads a local file to ... | 23.136364 | 69 | 0.669941 | 72 | 509 | 4.583333 | 0.486111 | 0.09697 | 0.090909 | 0.118182 | 0.133333 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0.025575 | 0.231827 | 509 | 21 | 70 | 24.238095 | 0.818414 | 0.170923 | 0 | 0 | 0 | 0 | 0.004926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0.25 | 0.083333 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
d5fd175d478befd0ec59ec0d08d9eb60301637b3 | 1,864 | py | Python | chaospy/distributions/collection/frechet.py | krystophny/chaospy | e09f8e3f6dfc26145f15774edd5b03665140712f | [
"MIT"
] | 1 | 2019-12-20T00:32:44.000Z | 2019-12-20T00:32:44.000Z | chaospy/distributions/collection/frechet.py | QianWanghhu/chaospy | 18ff6c4fc56c632825e53fb24e17de51a7febd7d | [
"MIT"
] | null | null | null | chaospy/distributions/collection/frechet.py | QianWanghhu/chaospy | 18ff6c4fc56c632825e53fb24e17de51a7febd7d | [
"MIT"
] | null | null | null | """Frechet or Extreme value distribution type 2."""
import numpy
from scipy import special
from ..baseclass import Dist
from ..operators.addition import Add
class frechet(Dist):
"""Frechet or Extreme value distribution type 2."""
def __init__(self, c=1):
Dist.__init__(self, c=c)
def _pdf(self, ... | 29.587302 | 73 | 0.582618 | 277 | 1,864 | 3.837545 | 0.299639 | 0.011289 | 0.09031 | 0.158043 | 0.14111 | 0.107244 | 0.107244 | 0 | 0 | 0 | 0 | 0.100786 | 0.249464 | 1,864 | 62 | 74 | 30.064516 | 0.659042 | 0.531652 | 0 | 0 | 0 | 0 | 0.019763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.190476 | 0.238095 | 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 |
91025e0e945f4047fb28609d596a402c454965a8 | 3,873 | py | Python | exercises/practice/simple-linked-list/simple_linked_list_test.py | Stigjb/python | cfb620d1603eb9b08511f96f00f872c67cac0d05 | [
"MIT"
] | 1,177 | 2017-06-21T20:24:06.000Z | 2022-03-29T02:30:55.000Z | exercises/practice/simple-linked-list/simple_linked_list_test.py | Stigjb/python | cfb620d1603eb9b08511f96f00f872c67cac0d05 | [
"MIT"
] | 1,890 | 2017-06-18T20:06:10.000Z | 2022-03-31T18:35:51.000Z | exercises/practice/simple-linked-list/simple_linked_list_test.py | Stigjb/python | cfb620d1603eb9b08511f96f00f872c67cac0d05 | [
"MIT"
] | 1,095 | 2017-06-26T23:06:19.000Z | 2022-03-29T03:25:38.000Z | import unittest
from simple_linked_list import LinkedList, EmptyListException
# No canonical data available for this exercise
class SimpleLinkedListTest(unittest.TestCase):
def test_empty_list_has_len_zero(self):
sut = LinkedList()
self.assertEqual(len(sut), 0)
def test_singleton_list_has_l... | 33.678261 | 76 | 0.642654 | 507 | 3,873 | 4.676529 | 0.145957 | 0.202446 | 0.143399 | 0.091101 | 0.704344 | 0.578659 | 0.474483 | 0.425981 | 0.300295 | 0.281738 | 0 | 0.021513 | 0.231862 | 3,873 | 114 | 77 | 33.973684 | 0.775462 | 0.011619 | 0 | 0.455556 | 0 | 0 | 0.014114 | 0 | 0 | 0 | 0 | 0 | 0.411111 | 1 | 0.222222 | false | 0 | 0.022222 | 0 | 0.255556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
911709d23de64acbbfed72df8335d466bd36fc69 | 247 | py | Python | core/urls.py | basiljose1/mediahost | 0d555e5be6cef61213a6004d826310468c04ff93 | [
"MIT"
] | null | null | null | core/urls.py | basiljose1/mediahost | 0d555e5be6cef61213a6004d826310468c04ff93 | [
"MIT"
] | null | null | null | core/urls.py | basiljose1/mediahost | 0d555e5be6cef61213a6004d826310468c04ff93 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from core.views import MediaUploadView, MediaHierarchyView
urlpatterns = [
url(r'^$', MediaUploadView.as_view(), name='media_upload'),
url(r'^files/$', MediaHierarchyView.as_view(), name='media_view'),
]
| 27.444444 | 70 | 0.728745 | 30 | 247 | 5.866667 | 0.6 | 0.045455 | 0.113636 | 0.170455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117409 | 247 | 8 | 71 | 30.875 | 0.807339 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 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 |
91288fe9edd732cf9b23b4e2e5674a583cbc011d | 79 | py | Python | smart_open/version.py | sivchand/smart_open | 35d80d3bec5324c19427ce49fa8284f5b1c2c112 | [
"MIT"
] | 2,047 | 2016-06-16T15:35:45.000Z | 2022-03-31T04:32:57.000Z | smart_open/version.py | sivchand/smart_open | 35d80d3bec5324c19427ce49fa8284f5b1c2c112 | [
"MIT"
] | 524 | 2016-06-16T09:48:14.000Z | 2022-03-30T13:21:25.000Z | smart_open/version.py | sivchand/smart_open | 35d80d3bec5324c19427ce49fa8284f5b1c2c112 | [
"MIT"
] | 308 | 2016-06-16T09:02:51.000Z | 2022-03-24T20:57:52.000Z | __version__ = '5.2.1.dev0'
if __name__ == '__main__':
print(__version__)
| 13.166667 | 26 | 0.658228 | 10 | 79 | 3.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0.177215 | 79 | 5 | 27 | 15.8 | 0.492308 | 0 | 0 | 0 | 0 | 0 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9150b1374bcd66104aaed525138dadb9111335fc | 762 | py | Python | contrib/p4/p4-test-tool.py | SvenUmbricht/benchexec | ac2c3d71f6b390cea4b5da73d7c9013c6f5eb61a | [
"Apache-2.0",
"BSD-3-Clause",
"MIT"
] | 137 | 2016-01-12T08:00:43.000Z | 2022-03-28T20:05:22.000Z | contrib/p4/p4-test-tool.py | SvenUmbricht/benchexec | ac2c3d71f6b390cea4b5da73d7c9013c6f5eb61a | [
"Apache-2.0",
"BSD-3-Clause",
"MIT"
] | 505 | 2015-12-15T09:57:34.000Z | 2022-03-19T13:15:07.000Z | contrib/p4/p4-test-tool.py | SvenUmbricht/benchexec | ac2c3d71f6b390cea4b5da73d7c9013c6f5eb61a | [
"Apache-2.0",
"BSD-3-Clause",
"MIT"
] | 164 | 2015-12-17T20:17:29.000Z | 2022-03-18T02:53:28.000Z | # This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# SPDX-License-Identifier: Apache-2.0
import benchexec.tools.template
class Tool(benchexec.tools.template.BaseTool2):
# N... | 28.222222 | 73 | 0.677165 | 101 | 762 | 5.059406 | 0.623762 | 0.027397 | 0.086106 | 0.105675 | 0.125245 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02226 | 0.233596 | 762 | 26 | 74 | 29.307692 | 0.85274 | 0.427822 | 0 | 0 | 0 | 0 | 0.023419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.166667 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9150d1000f17446312618d97ccb15369e0998f08 | 944 | py | Python | Day01-15/code/Day09/car2.py | EngrSaad2/Python-100-Days | ab0b26714b1df50d02a1433dc82f2a3fb025be5c | [
"Apache-2.0"
] | 6 | 2020-04-22T14:07:51.000Z | 2021-09-07T12:55:23.000Z | Day01-15/code/Day09/car2.py | 2462612540/Python-Language | a676d1274a04ff03f1aea0de9c58019d6ef8f5fe | [
"Apache-2.0"
] | null | null | null | Day01-15/code/Day09/car2.py | 2462612540/Python-Language | a676d1274a04ff03f1aea0de9c58019d6ef8f5fe | [
"Apache-2.0"
] | 4 | 2019-08-25T05:51:00.000Z | 2021-04-16T08:14:16.000Z | """
属性的使用
- 使用已有方法定义访问器/修改器/删除器
Version: 0.1
Author: 骆昊
Date: 2018-03-12
"""
class Car(object):
def __init__(self, brand, max_speed):
self.set_brand(brand)
self.set_max_speed(max_speed)
def get_brand(self):
return self._brand
def set_brand(self, brand):
self._brand = br... | 19.265306 | 71 | 0.652542 | 140 | 944 | 4.114286 | 0.321429 | 0.236111 | 0.083333 | 0.055556 | 0.065972 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02736 | 0.225636 | 944 | 48 | 72 | 19.666667 | 0.760602 | 0.125 | 0 | 0.076923 | 0 | 0 | 0.063725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0 | 0.115385 | 0.461538 | 0.192308 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
e67012e3934c3d1431973fec9113a5d8f4c0cf86 | 145 | py | Python | ControlServer/deploy/urls.py | a523/storagestatck | cea14d5e276af1d90f0fc8c0b00881fa7e2bff9a | [
"MIT"
] | 3 | 2019-11-19T09:38:51.000Z | 2020-12-21T13:23:52.000Z | ControlServer/deploy/urls.py | a523/storagestatck | cea14d5e276af1d90f0fc8c0b00881fa7e2bff9a | [
"MIT"
] | 7 | 2020-01-20T04:02:23.000Z | 2021-06-10T17:54:36.000Z | ControlServer/deploy/urls.py | a523/storagestack | cea14d5e276af1d90f0fc8c0b00881fa7e2bff9a | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
app_name = 'deploy'
urlpatterns = [
path('nodes/', views.Nodes.as_view(), name='nodes')
]
| 16.111111 | 55 | 0.682759 | 20 | 145 | 4.85 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165517 | 145 | 8 | 56 | 18.125 | 0.801653 | 0 | 0 | 0 | 0 | 0 | 0.117241 | 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 |
e6909b7c4cba19fe9577a20997bd52a797639cd1 | 340 | py | Python | test/photo_collection_test.py | shaolin182/photo-workflow | 5096deb6569e951a63927f0a94e5ba14e9478895 | [
"MIT"
] | 1 | 2021-07-14T11:36:09.000Z | 2021-07-14T11:36:09.000Z | test/photo_collection_test.py | shaolin182/photo-workflow | 5096deb6569e951a63927f0a94e5ba14e9478895 | [
"MIT"
] | 1 | 2021-07-12T21:01:56.000Z | 2021-07-12T21:01:56.000Z | test/photo_collection_test.py | shaolin182/photo-workflow | 5096deb6569e951a63927f0a94e5ba14e9478895 | [
"MIT"
] | null | null | null | from photo_collection.photo_collection import PhotoCollection
def test_get_related_collections():
collection = PhotoCollection()
res = list_files("./test/resources/sample_files")
assert len(res) == 2
assert "./test/resources/sample_files/a_file_1.txt" in res
assert "./test/resources/sample_files/... | 34 | 62 | 0.758824 | 47 | 340 | 5.212766 | 0.489362 | 0.159184 | 0.232653 | 0.293878 | 0.285714 | 0.285714 | 0.285714 | 0 | 0 | 0 | 0 | 0.010204 | 0.135294 | 340 | 10 | 63 | 34 | 0.823129 | 0 | 0 | 0 | 0 | 0 | 0.331378 | 0.331378 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e694174237438249ff27a44917898643a984eb7a | 112 | py | Python | Python-Programing-Basics/Conditional Statements/Conditional Statements - Lab/01_excellent_result/excellent_result.py | alexanderivanov2/Softuni-Software-Engineering | 8adb96f445f1da17dbb6eded9e9594319154c7e7 | [
"MIT"
] | null | null | null | Python-Programing-Basics/Conditional Statements/Conditional Statements - Lab/01_excellent_result/excellent_result.py | alexanderivanov2/Softuni-Software-Engineering | 8adb96f445f1da17dbb6eded9e9594319154c7e7 | [
"MIT"
] | null | null | null | Python-Programing-Basics/Conditional Statements/Conditional Statements - Lab/01_excellent_result/excellent_result.py | alexanderivanov2/Softuni-Software-Engineering | 8adb96f445f1da17dbb6eded9e9594319154c7e7 | [
"MIT"
] | null | null | null | def get_result(gra):
if gra >= 5.50:
print("Excellent!")
grade = float(input())
get_result(grade)
| 14 | 27 | 0.607143 | 16 | 112 | 4.125 | 0.75 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.223214 | 112 | 7 | 28 | 16 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0.2 | 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 |
e6948a4d59e5bf7acbc50d348047169e272c067a | 181 | py | Python | brian2/codegen/targets.py | awillats/brian2 | e1107ed0cc4a7d6c69c1e2634b675ba09edfd9fc | [
"BSD-2-Clause"
] | 2 | 2020-03-20T13:30:19.000Z | 2020-03-20T13:30:57.000Z | brian2/codegen/targets.py | awillats/brian2 | e1107ed0cc4a7d6c69c1e2634b675ba09edfd9fc | [
"BSD-2-Clause"
] | 13 | 2015-10-05T15:33:42.000Z | 2015-11-18T08:31:42.000Z | brian2/codegen/targets.py | awillats/brian2 | e1107ed0cc4a7d6c69c1e2634b675ba09edfd9fc | [
"BSD-2-Clause"
] | null | null | null | '''
Module that stores all known code generation targets as `codegen_targets`.
'''
__all__ = ['codegen_targets']
# This should be filled in by subpackages
codegen_targets = set()
| 20.111111 | 74 | 0.745856 | 24 | 181 | 5.333333 | 0.75 | 0.328125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154696 | 181 | 8 | 75 | 22.625 | 0.836601 | 0.635359 | 0 | 0 | 0 | 0 | 0.258621 | 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 |
e6975bcce3eb81c5c96560d5bb9ef02e2c959b2a | 283 | py | Python | model/Company.py | colinmanning/tf_py_utils | c21b9c0c2d52732737e1c57b22c3338bb5fbcf27 | [
"MIT"
] | null | null | null | model/Company.py | colinmanning/tf_py_utils | c21b9c0c2d52732737e1c57b22c3338bb5fbcf27 | [
"MIT"
] | null | null | null | model/Company.py | colinmanning/tf_py_utils | c21b9c0c2d52732737e1c57b22c3338bb5fbcf27 | [
"MIT"
] | null | null | null | from model.TF_Entity import TF_Entity
'''
A TF Company
'''
class Company(TF_Entity):
name = None
def __init__(self):
super(Company, self).__init__('COMPANY', 'COMPANY_ID')
def setData(self, d):
super(Company, self).setData(d)
self.name = d[1]
| 17.6875 | 62 | 0.625442 | 39 | 283 | 4.230769 | 0.461538 | 0.145455 | 0.193939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00463 | 0.236749 | 283 | 15 | 63 | 18.866667 | 0.759259 | 0 | 0 | 0 | 0 | 0 | 0.064886 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e6ac42859bceded442d601fed514e0d36f9f296f | 156 | py | Python | processes/apps.py | cybrvybe/AU7OMA7A-BI | 1895abdd4b1ec0908b08ece65df460fc23925f25 | [
"MIT"
] | null | null | null | processes/apps.py | cybrvybe/AU7OMA7A-BI | 1895abdd4b1ec0908b08ece65df460fc23925f25 | [
"MIT"
] | null | null | null | processes/apps.py | cybrvybe/AU7OMA7A-BI | 1895abdd4b1ec0908b08ece65df460fc23925f25 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ProcessesConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'processes'
| 22.285714 | 57 | 0.737179 | 17 | 156 | 6.647059 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 156 | 6 | 58 | 26 | 0.882813 | 0 | 0 | 0 | 0 | 0 | 0.253333 | 0.193333 | 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 |
e6b6130ac736ab8a82f2de791b615247bbf4e30a | 71,088 | py | Python | large-repo-master/test-3/nb33.py | victorsun123/numpy | 1fb036758b4035ab2c132d26f420e5bc3ffc917e | [
"BSD-3-Clause"
] | null | null | null | large-repo-master/test-3/nb33.py | victorsun123/numpy | 1fb036758b4035ab2c132d26f420e5bc3ffc917e | [
"BSD-3-Clause"
] | null | null | null | large-repo-master/test-3/nb33.py | victorsun123/numpy | 1fb036758b4035ab2c132d26f420e5bc3ffc917e | [
"BSD-3-Clause"
] | null | null | null | # Databricks notebook source
JATBEGRNKMWLU
VHONKOCMSUY
UXHBCQJMZHLEUCCIZHC
MOYVQAADHZV
ZEDEZOMWSGKDBW
ZNRHQLRFERFTCZDA
GHCJMUMLNJX
BTMWRJTLTTYEZIG
VCJIZKTUNAYUTJJ
BXBXIWDRYCH
GBOLDSXKRFZJDONHUMUCJVKKDFCGEURLNEYREJXDATNPQOKDWICLPF
SDUXVXLUAWHJLDGOHWDQRZFENDMUZGTOMOVEHRMCNERXR
KMSWLXKKGCJHSEEZDDSKEDIIGIUJGPOWNVWVJJLWPTWP... | 64.743169 | 361 | 0.977746 | 1,000 | 71,088 | 69.506 | 0.964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016515 | 71,088 | 1,097 | 362 | 64.802188 | 0.994164 | 0.010255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e6b9b1a7a5e43e4d6f57593906102c0be3d7a142 | 122 | py | Python | CursoEmVideo/pythonteste/aula09/aula09b.py | jacksontenorio8/python | a484f019960faa5aa29177eff44a1bb1e3f3b9d0 | [
"MIT"
] | null | null | null | CursoEmVideo/pythonteste/aula09/aula09b.py | jacksontenorio8/python | a484f019960faa5aa29177eff44a1bb1e3f3b9d0 | [
"MIT"
] | null | null | null | CursoEmVideo/pythonteste/aula09/aula09b.py | jacksontenorio8/python | a484f019960faa5aa29177eff44a1bb1e3f3b9d0 | [
"MIT"
] | null | null | null | frase = 'Curso em Vídeo Python'
print(frase[3:13])
#Mostra as letras que estão entre a quarta e a décima segunada posição. | 40.666667 | 71 | 0.762295 | 22 | 122 | 4.227273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029126 | 0.155738 | 122 | 3 | 71 | 40.666667 | 0.873786 | 0.57377 | 0 | 0 | 0 | 0 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
e6c34aa08a59e9f1c5bad02be5f6c479e9c49257 | 56 | py | Python | python/testData/formatter/alignmentInArgumentListWhereFirstArgumentIsEmptyCall_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/formatter/alignmentInArgumentListWhereFirstArgumentIsEmptyCall_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/formatter/alignmentInArgumentListWhereFirstArgumentIsEmptyCall_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def test():
x = foobar(bar(),
z=baz)
| 14 | 21 | 0.375 | 7 | 56 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.446429 | 56 | 3 | 22 | 18.666667 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e6e3301b6b102b48c22348c632d9b3b56fe1442d | 247 | py | Python | design_System/design_System/apps/imageview/serializer.py | Dante-max/Design_System | dcc837588eb72542c6a3ee213b184d49b685bc59 | [
"MIT"
] | null | null | null | design_System/design_System/apps/imageview/serializer.py | Dante-max/Design_System | dcc837588eb72542c6a3ee213b184d49b685bc59 | [
"MIT"
] | null | null | null | design_System/design_System/apps/imageview/serializer.py | Dante-max/Design_System | dcc837588eb72542c6a3ee213b184d49b685bc59 | [
"MIT"
] | null | null | null | # 最是人间留不住,朱颜辞镜花辞树
# -*- coding:utf-8 -*-
from rest_framework import serializers
from imageview.models import Navimage
class NavimageSerializer(serializers.ModelSerializer):
class Meta:
model = Navimage
fields = ("imageurl",) | 22.454545 | 54 | 0.716599 | 25 | 247 | 7.04 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004975 | 0.186235 | 247 | 11 | 55 | 22.454545 | 0.870647 | 0.145749 | 0 | 0 | 0 | 0 | 0.038278 | 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 | 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 |
e6fc77015082ba4fe3ae56a68093fe3995de6e5f | 470 | py | Python | dtech_instagram/pynstagram/client.py | hideki-saito/InstagramAPP_Flask | c3ee6f10d35edb74f0f82f4370faca8f0c25200c | [
"MIT"
] | 1 | 2018-12-03T08:47:47.000Z | 2018-12-03T08:47:47.000Z | dtech_instagram/pynstagram/client.py | hideki-saito/InstagramAPP_Flask | c3ee6f10d35edb74f0f82f4370faca8f0c25200c | [
"MIT"
] | 1 | 2018-12-12T17:31:31.000Z | 2018-12-12T17:31:31.000Z | dtech_instagram/pynstagram/client.py | hideki-saito/InstagramAPP_Flask | c3ee6f10d35edb74f0f82f4370faca8f0c25200c | [
"MIT"
] | null | null | null | from .session import PynstagramSession
class PynstagramClient(object):
def __init__(self, username, password):
self._session = PynstagramSession()
self._session.login(username, password)
def __enter__(self):
return self
def __exit__(self, exc_type, exc_val, exc_tb):
pass
... | 26.111111 | 56 | 0.685106 | 54 | 470 | 5.537037 | 0.518519 | 0.147157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219149 | 470 | 17 | 57 | 27.647059 | 0.814714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.25 | 0.083333 | 0.083333 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
fc07d8de36ef5bafe531316c50e74d178c524eb6 | 189 | py | Python | django_test/users/models.py | MachineLearningIsEasy/python_lesson_23 | d64599d668453ae4928d1609e22a83d0e07d252a | [
"MIT"
] | null | null | null | django_test/users/models.py | MachineLearningIsEasy/python_lesson_23 | d64599d668453ae4928d1609e22a83d0e07d252a | [
"MIT"
] | null | null | null | django_test/users/models.py | MachineLearningIsEasy/python_lesson_23 | d64599d668453ae4928d1609e22a83d0e07d252a | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractUser
# Create your models here.
class ArticlesUser(AbstractUser):
email = models.EmailField(unique = True)
| 23.625 | 51 | 0.78836 | 24 | 189 | 6.208333 | 0.708333 | 0.134228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137566 | 189 | 7 | 52 | 27 | 0.91411 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fc1d20a9daae1c3a7b39398398bbfce71f791507 | 1,444 | py | Python | src/pyapp/checks/__init__.py | pyapp-org/pyapp | 46c9e8e3dbf1a872628fad8224b99b458972c92c | [
"BSD-3-Clause"
] | 5 | 2020-01-09T14:46:33.000Z | 2021-04-23T15:25:11.000Z | src/pyapp/checks/__init__.py | pyapp-org/pyapp | 46c9e8e3dbf1a872628fad8224b99b458972c92c | [
"BSD-3-Clause"
] | 111 | 2019-06-30T05:45:57.000Z | 2022-03-28T11:15:29.000Z | src/pyapp/checks/__init__.py | pyapp-org/pyapp | 46c9e8e3dbf1a872628fad8224b99b458972c92c | [
"BSD-3-Clause"
] | 2 | 2019-05-29T09:01:10.000Z | 2021-04-23T15:25:32.000Z | """
Checks
~~~~~~
*Provides an interface and reports of simple pre-flight sanity checks for*
*your application.*
Checks are executed via the CLI with the `checks` command. This will run all checks
and report the outcome. This is an invaluable tool for operations teams, checks can
be used to diagnose connectivity issu... | 33.581395 | 83 | 0.727147 | 204 | 1,444 | 5.132353 | 0.583333 | 0.017192 | 0.026743 | 0.034384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219529 | 1,444 | 42 | 84 | 34.380952 | 0.929015 | 0.916898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fc383f6866da0489ce74fab8bba78a462721b2de | 1,404 | py | Python | essential/report/generators/conf.py | gaolichuang/py-essential | 9e2b803f878f1cb3686dd365a16b943594a1cd82 | [
"Apache-2.0"
] | 1 | 2015-01-11T06:43:02.000Z | 2015-01-11T06:43:02.000Z | essential/report/generators/conf.py | gaolichuang/py-essential | 9e2b803f878f1cb3686dd365a16b943594a1cd82 | [
"Apache-2.0"
] | null | null | null | essential/report/generators/conf.py | gaolichuang/py-essential | 9e2b803f878f1cb3686dd365a16b943594a1cd82 | [
"Apache-2.0"
] | null | null | null | # Copyright 2013 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | 31.909091 | 78 | 0.729345 | 192 | 1,404 | 5.28125 | 0.567708 | 0.059172 | 0.06213 | 0.073965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007055 | 0.192308 | 1,404 | 43 | 79 | 32.651163 | 0.887125 | 0.76567 | 0 | 0 | 0 | 0 | 0 | 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 |
fc4e3fcf8c2657d36fe34a389ad0393cf1c32b83 | 169 | py | Python | src/plotman/__main__.py | freepai/plotman | bf443148e82eb3b3e48504ff35aaa959e2a408fc | [
"Apache-2.0"
] | null | null | null | src/plotman/__main__.py | freepai/plotman | bf443148e82eb3b3e48504ff35aaa959e2a408fc | [
"Apache-2.0"
] | null | null | null | src/plotman/__main__.py | freepai/plotman | bf443148e82eb3b3e48504ff35aaa959e2a408fc | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from plotman import core
"""Plotman module launcher.
This is a shim that allows you to run plotman via
python3 -m plotman
"""
core.main()
| 15.363636 | 50 | 0.710059 | 27 | 169 | 4.444444 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.195266 | 169 | 10 | 51 | 16.9 | 0.867647 | 0.12426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fc5726295573be74f08670f1573979acf7606473 | 71 | py | Python | pyliter/__init__.py | JnyJny/pyliter | e2e5f170b21c26bed4c3c0b3a83c8fabbc89430f | [
"Apache-2.0"
] | 10 | 2019-12-12T02:19:26.000Z | 2021-07-08T16:27:43.000Z | pyliter/__init__.py | JnyJny/pyliter | e2e5f170b21c26bed4c3c0b3a83c8fabbc89430f | [
"Apache-2.0"
] | 7 | 2019-12-30T02:21:30.000Z | 2020-01-01T14:39:14.000Z | pyliter/__init__.py | JnyJny/pyliter | e2e5f170b21c26bed4c3c0b3a83c8fabbc89430f | [
"Apache-2.0"
] | null | null | null | from .__version__ import __version__ as VERSION
__all__ = ["VERSION"]
| 17.75 | 47 | 0.774648 | 8 | 71 | 5.375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 71 | 3 | 48 | 23.666667 | 0.704918 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 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 |
fc661adbd390eef4f586886d00f870cd0730f5b3 | 107 | py | Python | backend/fms_core/template_importer/row_handlers/project_link_samples/__init__.py | c3g/freezeman | bc4b6c8a2876e888ce41b7d14127cc22bc2b2143 | [
"W3C"
] | 2 | 2021-07-31T13:20:08.000Z | 2021-09-28T13:18:55.000Z | backend/fms_core/template_importer/row_handlers/project_link_samples/__init__.py | c3g/freezeman | bc4b6c8a2876e888ce41b7d14127cc22bc2b2143 | [
"W3C"
] | 71 | 2021-03-12T22:08:19.000Z | 2022-03-25T15:24:40.000Z | backend/fms_core/template_importer/row_handlers/project_link_samples/__init__.py | c3g/freezeman | bc4b6c8a2876e888ce41b7d14127cc22bc2b2143 | [
"W3C"
] | null | null | null | from .project_link_samples import ProjectLinkSamplesHandler
__all__ = [
"ProjectLinkSamplesHandler",
] | 21.4 | 59 | 0.813084 | 8 | 107 | 10.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121495 | 107 | 5 | 60 | 21.4 | 0.861702 | 0 | 0 | 0 | 0 | 0 | 0.231481 | 0.231481 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 1 | 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 |
fc6ae4dc6788926ee0c957a8d4ff766c40d25f46 | 96 | py | Python | app_gallery/apps.py | JeromeMberia/the_gallery | d1e22f71c11803c3271573553f644849299b3798 | [
"MIT"
] | null | null | null | app_gallery/apps.py | JeromeMberia/the_gallery | d1e22f71c11803c3271573553f644849299b3798 | [
"MIT"
] | 7 | 2020-05-26T02:12:46.000Z | 2022-03-12T00:31:27.000Z | app_gallery/apps.py | JeromeMberia/gallery_test | 1ae5991b848cf9b5adab7ebd327664193328ab3b | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AppGalleryConfig(AppConfig):
name = 'app_gallery'
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fc79dc7556c35bdf0ea7587d1ba1129ccdf7bae6 | 5,363 | py | Python | crosshair/libimpl/builtinslib_ch_test.py | mristin/CrossHair | 66a44a0d10021e0b1e2d847a677274e62ddd1e9d | [
"MIT"
] | null | null | null | crosshair/libimpl/builtinslib_ch_test.py | mristin/CrossHair | 66a44a0d10021e0b1e2d847a677274e62ddd1e9d | [
"MIT"
] | null | null | null | crosshair/libimpl/builtinslib_ch_test.py | mristin/CrossHair | 66a44a0d10021e0b1e2d847a677274e62ddd1e9d | [
"MIT"
] | null | null | null | from numbers import Integral
from typing import *
import sys
from crosshair.core_and_libs import analyze_module
from crosshair.core_and_libs import run_checkables
from crosshair.core_and_libs import AnalysisOptions
from crosshair.core_and_libs import MessageType
from crosshair.options import AnalysisOptionSet
from cro... | 24.488584 | 86 | 0.675182 | 693 | 5,363 | 5.060606 | 0.261183 | 0.070716 | 0.135729 | 0.191617 | 0.425435 | 0.37582 | 0.226975 | 0.078415 | 0.078415 | 0.04876 | 0 | 0.000918 | 0.187582 | 5,363 | 218 | 87 | 24.600917 | 0.803994 | 0.304867 | 0 | 0.040541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.013514 | 1 | 0.364865 | false | 0 | 0.148649 | 0 | 0.864865 | 0.027027 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
fc8a3a3aaf439cfdcb9b994e8aa987f62a7261fc | 99 | py | Python | one_crm/img2text/apps.py | lianzhanshu/one_crm | 7320c38416dd05fa95400ef4f5d50b0a35125c33 | [
"MIT"
] | 4 | 2020-08-09T08:47:35.000Z | 2021-12-16T01:27:56.000Z | one_crm/img2text/apps.py | flingjie/one_crm | 7320c38416dd05fa95400ef4f5d50b0a35125c33 | [
"MIT"
] | null | null | null | one_crm/img2text/apps.py | flingjie/one_crm | 7320c38416dd05fa95400ef4f5d50b0a35125c33 | [
"MIT"
] | 4 | 2020-08-09T08:43:01.000Z | 2021-09-29T11:45:33.000Z | from django.apps import AppConfig
class Img2TextConfig(AppConfig):
name = "one_crm.img2text"
| 16.5 | 33 | 0.767677 | 12 | 99 | 6.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.151515 | 99 | 5 | 34 | 19.8 | 0.869048 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fc8c56cbf5545c15c3f139144edde25aa1fb12b4 | 383 | py | Python | main/models.py | karinamargaryan/python_test | d37f5e4af72ae5a31ce174e9c183cf4857e36300 | [
"BSD-3-Clause"
] | null | null | null | main/models.py | karinamargaryan/python_test | d37f5e4af72ae5a31ce174e9c183cf4857e36300 | [
"BSD-3-Clause"
] | null | null | null | main/models.py | karinamargaryan/python_test | d37f5e4af72ae5a31ce174e9c183cf4857e36300 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
class Product(models.Model):
name=models.CharField(max_length=200)
model=models.CharField(max_length=200)
category=models.CharField(max_length=200)
price=models.IntegerField()
status=models.IntegerField()
weight=models.Intege... | 29.461538 | 53 | 0.775457 | 48 | 383 | 5.979167 | 0.5625 | 0.156794 | 0.188153 | 0.250871 | 0.28223 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026946 | 0.127937 | 383 | 12 | 54 | 31.916667 | 0.832335 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
fc9749b6cb70dfe6293fd05e5caeb7d40b0e01eb | 124 | py | Python | django-react/django_react/todos/urls.py | bogdan-veliscu/react-stack-compare | e7d2020ec8177e12d1b1c41bfaed96c2ee87490c | [
"Apache-2.0"
] | null | null | null | django-react/django_react/todos/urls.py | bogdan-veliscu/react-stack-compare | e7d2020ec8177e12d1b1c41bfaed96c2ee87490c | [
"Apache-2.0"
] | 7 | 2021-10-06T14:03:21.000Z | 2022-02-27T02:40:18.000Z | django-react/django_react/todos/urls.py | bogdan-veliscu/react-stack-compare | e7d2020ec8177e12d1b1c41bfaed96c2ee87490c | [
"Apache-2.0"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('api/todos/', views.TodoListCreate.as_view()),
]
| 17.714286 | 55 | 0.709677 | 16 | 124 | 5.4375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 124 | 6 | 56 | 20.666667 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fca0179837a1c59d6f86054436d217301c448001 | 13,292 | py | Python | pysnmp-with-texts/ASCEND-MIBIPFAX-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/ASCEND-MIBIPFAX-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/ASCEND-MIBIPFAX-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module ASCEND-MIBIPFAX-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ASCEND-MIBIPFAX-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:27:32 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default... | 131.60396 | 1,598 | 0.807102 | 1,522 | 13,292 | 6.90276 | 0.121551 | 0.061679 | 0.107938 | 0.11936 | 0.608605 | 0.481058 | 0.298306 | 0.250904 | 0.164287 | 0.16305 | 0 | 0.046759 | 0.066807 | 13,292 | 100 | 1,599 | 132.92 | 0.800226 | 0.024977 | 0 | 0 | 0 | 0 | 0.227164 | 0.081461 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.054348 | 0.076087 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5d82b12e61993289b1f974f8e4d38290dd800f8b | 233 | py | Python | example/schemas.py | abulte/flask-mongorest | b93c8770a13f86367e88d3f51d30f99c668e180b | [
"BSD-3-Clause"
] | 1 | 2018-08-22T12:28:16.000Z | 2018-08-22T12:28:16.000Z | example/schemas.py | abulte/flask-mongorest | b93c8770a13f86367e88d3f51d30f99c668e180b | [
"BSD-3-Clause"
] | null | null | null | example/schemas.py | abulte/flask-mongorest | b93c8770a13f86367e88d3f51d30f99c668e180b | [
"BSD-3-Clause"
] | null | null | null | from cleancat import *
from example import documents
class Language(Schema):
name = String()
class Person(Schema):
name = String()
languages = List(MongoEmbeddedReference(documents.Language, Language), required=False)
| 21.181818 | 90 | 0.742489 | 25 | 233 | 6.92 | 0.64 | 0.115607 | 0.184971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16309 | 233 | 10 | 91 | 23.3 | 0.887179 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
5da8c6c37f3902997a65e9b80f87fa27fbe45f36 | 56 | py | Python | helper.py | Tillman12/cs3240-labdemo | ca4ba93a8e25bf6033e666d833b71973b8faf489 | [
"MIT"
] | null | null | null | helper.py | Tillman12/cs3240-labdemo | ca4ba93a8e25bf6033e666d833b71973b8faf489 | [
"MIT"
] | null | null | null | helper.py | Tillman12/cs3240-labdemo | ca4ba93a8e25bf6033e666d833b71973b8faf489 | [
"MIT"
] | null | null | null | __author__ = 'mst2jd'
def greeting(msg):
print(msg) | 14 | 21 | 0.678571 | 7 | 56 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.178571 | 56 | 4 | 22 | 14 | 0.717391 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5db40646d829304344ad510dec103f4dca19ee6b | 9,470 | py | Python | k8sv1/__init__.py | pearsontechnology/k8sv1 | f9df106a4f2492d35af63b6bb2b1da4ed2b84579 | [
"Apache-2.0"
] | 1 | 2016-08-10T15:06:53.000Z | 2016-08-10T15:06:53.000Z | k8sv1/__init__.py | pearsontechnology/k8sv1 | f9df106a4f2492d35af63b6bb2b1da4ed2b84579 | [
"Apache-2.0"
] | null | null | null | k8sv1/__init__.py | pearsontechnology/k8sv1 | f9df106a4f2492d35af63b6bb2b1da4ed2b84579 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use ... | 52.905028 | 104 | 0.882049 | 1,211 | 9,470 | 6.602808 | 0.28654 | 0.177589 | 0.196598 | 0.027514 | 0.17046 | 0.037394 | 0.009505 | 0 | 0 | 0 | 0 | 0.030801 | 0.081204 | 9,470 | 178 | 105 | 53.202247 | 0.888174 | 0.085428 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.993197 | 0 | 0.993197 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5db71bb5b6d4daa9b83a108c967b900d78afed1a | 367 | py | Python | katar/engine/serializers/base_serializer.py | ashmeet13/katar | bce36e9e648b20f4b6edf3dfaaa5dd67845deb53 | [
"Apache-2.0"
] | null | null | null | katar/engine/serializers/base_serializer.py | ashmeet13/katar | bce36e9e648b20f4b6edf3dfaaa5dd67845deb53 | [
"Apache-2.0"
] | null | null | null | katar/engine/serializers/base_serializer.py | ashmeet13/katar | bce36e9e648b20f4b6edf3dfaaa5dd67845deb53 | [
"Apache-2.0"
] | null | null | null | class BaseSerializer:
def serialize(self, payload):
raise NotImplementedError()
def deserialize(self, payload):
raise NotImplementedError()
def __str__(self) -> str:
"""Returns the specific serializer class used as string
Returns:
str: Serializer class name
... | 26.214286 | 63 | 0.634877 | 35 | 367 | 6.314286 | 0.542857 | 0.099548 | 0.144796 | 0.316742 | 0.343891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288828 | 367 | 13 | 64 | 28.230769 | 0.846743 | 0.250681 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5dbb506fc5cbf8297274a1e8c029a7d48c14722a | 182 | py | Python | tuples.py | mydaytodaywork/Learning-Python | f8bd4d4f411f1742cd57c5e16823a8c80d38d9b5 | [
"Unlicense"
] | null | null | null | tuples.py | mydaytodaywork/Learning-Python | f8bd4d4f411f1742cd57c5e16823a8c80d38d9b5 | [
"Unlicense"
] | null | null | null | tuples.py | mydaytodaywork/Learning-Python | f8bd4d4f411f1742cd57c5e16823a8c80d38d9b5 | [
"Unlicense"
] | null | null | null | #tuple is immutable
tup=("KAMAL","kamal")
print(tup)
#The below line gives error as tuple variables cannot be modified
#tup[1]="Happy"
#The following is Ok.
print(tup[1])
| 18.2 | 66 | 0.686813 | 29 | 182 | 4.310345 | 0.689655 | 0.128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013423 | 0.181319 | 182 | 9 | 67 | 20.222222 | 0.825503 | 0.637363 | 0 | 0 | 0 | 0 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
5dbd5e9ebd7c18b96254059c76190e3c9a709ac2 | 137 | py | Python | SourceCode/backend/check.py | edgeworthZ/handtree | 554df7ae7029c21407e38c73bf846fe03e3faaa8 | [
"CC0-1.0"
] | null | null | null | SourceCode/backend/check.py | edgeworthZ/handtree | 554df7ae7029c21407e38c73bf846fe03e3faaa8 | [
"CC0-1.0"
] | null | null | null | SourceCode/backend/check.py | edgeworthZ/handtree | 554df7ae7029c21407e38c73bf846fe03e3faaa8 | [
"CC0-1.0"
] | null | null | null | from practicum import find_mcu_boards, McuBoard, PeriBoard
devices = find_mcu_boards()
mcu = McuBoard(devices[0])
peri = PeriBoard(mcu)
| 22.833333 | 58 | 0.788321 | 19 | 137 | 5.473684 | 0.578947 | 0.134615 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.116788 | 137 | 5 | 59 | 27.4 | 0.85124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
5dbdfac5b5d75e28674387e7a1cc2baebb42cdc9 | 20 | py | Python | p2016_05_28_python_path_find/__init__.py | zhyq0826/blog-code | 4369d653dea4a7a054dc796d14faea727973258f | [
"MIT"
] | 1 | 2018-07-07T14:35:55.000Z | 2018-07-07T14:35:55.000Z | p2016_05_28_python_path_find/__init__.py | zhyq0826/blog-code | 4369d653dea4a7a054dc796d14faea727973258f | [
"MIT"
] | null | null | null | p2016_05_28_python_path_find/__init__.py | zhyq0826/blog-code | 4369d653dea4a7a054dc796d14faea727973258f | [
"MIT"
] | null | null | null | __all__ = ['public'] | 20 | 20 | 0.65 | 2 | 20 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 20 | 1 | 20 | 20 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 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 |
5dc15c03fb5b5a48cd42f250ee87b695636715f9 | 708 | py | Python | mayan/apps/organizations/patches.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 343 | 2015-01-05T14:19:35.000Z | 2018-12-10T19:07:48.000Z | mayan/apps/organizations/patches.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 191 | 2015-01-03T00:48:19.000Z | 2018-11-30T09:10:25.000Z | mayan/apps/organizations/patches.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 257 | 2019-05-14T10:26:37.000Z | 2022-03-30T03:37:36.000Z | from django.http.request import HttpRequest
from django.utils.functional import cached_property
from .settings import setting_organization_installation_url
def patch_HttpRequest():
class MockClass:
@cached_property
def _patched_current_scheme_host(self):
if setting_organization_instal... | 35.4 | 77 | 0.783898 | 78 | 708 | 6.576923 | 0.371795 | 0.202729 | 0.265107 | 0.194932 | 0.45614 | 0.304094 | 0.304094 | 0.194932 | 0 | 0 | 0 | 0 | 0.180791 | 708 | 19 | 78 | 37.263158 | 0.884483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.214286 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5dcba6b28a6483ddf179e9480faebd00d22e66f1 | 125 | py | Python | visualization/REST_API/lime_REST/run.py | luyuliu/Realizable-Accessibility | 7af253fa5c768e2b614c2e8c1cca9ad74a009033 | [
"MIT"
] | null | null | null | visualization/REST_API/lime_REST/run.py | luyuliu/Realizable-Accessibility | 7af253fa5c768e2b614c2e8c1cca9ad74a009033 | [
"MIT"
] | null | null | null | visualization/REST_API/lime_REST/run.py | luyuliu/Realizable-Accessibility | 7af253fa5c768e2b614c2e8c1cca9ad74a009033 | [
"MIT"
] | null | null | null | import run_scooter
from eve import Eve
app = Eve(settings='setting.py')
if __name__ == '__main__':
app.run(port=50022)
| 15.625 | 32 | 0.712 | 19 | 125 | 4.210526 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.16 | 125 | 7 | 33 | 17.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5dd3d29ce19ec951debfbe9f3a0a6f30ea54ef63 | 12,602 | py | Python | tools/nntool/graph/types/others.py | knmcguire/gap_sdk | 7b0a09a353ab6f0550793d40bd46e98051f4a3d7 | [
"Apache-2.0"
] | null | null | null | tools/nntool/graph/types/others.py | knmcguire/gap_sdk | 7b0a09a353ab6f0550793d40bd46e98051f4a3d7 | [
"Apache-2.0"
] | null | null | null | tools/nntool/graph/types/others.py | knmcguire/gap_sdk | 7b0a09a353ab6f0550793d40bd46e98051f4a3d7 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2019 GreenWaves Technologies
# All rights reserved.
# This software may be modified and distributed under the terms
# of the BSD license. See the LICENSE file for details.
import logging
import sys
from ..dim import Dim
from .base import (FilterParameters, NoSizeChangeParameters, Parameters,
... | 25.103586 | 92 | 0.631566 | 1,521 | 12,602 | 4.941486 | 0.133465 | 0.046301 | 0.023949 | 0.035923 | 0.444385 | 0.398217 | 0.370942 | 0.347924 | 0.327834 | 0.321847 | 0 | 0.004374 | 0.274322 | 12,602 | 501 | 93 | 25.153693 | 0.817496 | 0.052611 | 0 | 0.491429 | 0 | 0 | 0.020478 | 0 | 0 | 0 | 0 | 0 | 0.02 | 1 | 0.265714 | false | 0.002857 | 0.011429 | 0.142857 | 0.542857 | 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 |
5dd4b6f1f6d80a708a5050287806ba9be472202c | 191 | py | Python | canvasapi/__init__.py | Mike-Nahmias/canvasapi | 309210681e28c58256ce5999a513b8a70f8aba31 | [
"MIT"
] | null | null | null | canvasapi/__init__.py | Mike-Nahmias/canvasapi | 309210681e28c58256ce5999a513b8a70f8aba31 | [
"MIT"
] | null | null | null | canvasapi/__init__.py | Mike-Nahmias/canvasapi | 309210681e28c58256ce5999a513b8a70f8aba31 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
from canvasapi.canvas import Canvas
__all__ = ["Canvas"]
__version__ = "0.15.0"
| 19.1 | 82 | 0.743455 | 24 | 191 | 5.291667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.136126 | 191 | 9 | 83 | 21.222222 | 0.739394 | 0.109948 | 0 | 0 | 0 | 0 | 0.071429 | 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 |
5de26c85e2b897c358b67a2895b93d254f01a023 | 295 | py | Python | Module 2 - OOP/2. Inheritance/solutions/1. animal_kingdom.py | codific/Python-course-BFU | 3128da9b53d346946659220763c514e3cca79067 | [
"MIT"
] | 1 | 2020-04-12T03:01:32.000Z | 2020-04-12T03:01:32.000Z | Module 2 - OOP/2. Inheritance/solutions/1. animal_kingdom.py | codific/Python-course-BFU | 3128da9b53d346946659220763c514e3cca79067 | [
"MIT"
] | null | null | null | Module 2 - OOP/2. Inheritance/solutions/1. animal_kingdom.py | codific/Python-course-BFU | 3128da9b53d346946659220763c514e3cca79067 | [
"MIT"
] | 2 | 2018-06-29T07:09:52.000Z | 2019-04-07T16:53:44.000Z | class Animal:
def __init__(self, name, age, gender, color):
self.name = name
self.age = age
self.gender = gender
self.color = color
class Snake(Animal):
pass
class Tiger(Animal):
pass
class Bird(Animal):
pass
class Frog(Animal):
pass
| 12.291667 | 49 | 0.589831 | 37 | 295 | 4.594595 | 0.378378 | 0.235294 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315254 | 295 | 23 | 50 | 12.826087 | 0.841584 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.285714 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5dedfe035e12624c0ea2cfb170b568ddbe8e1a4e | 486 | py | Python | urlbrevity/sitemaps.py | kezabelle/django-urlbrevity | a8b779587986c60c4e0597aead908d954480f0f9 | [
"BSD-2-Clause-FreeBSD"
] | 4 | 2015-02-13T16:20:41.000Z | 2020-07-02T18:45:50.000Z | urlbrevity/sitemaps.py | kezabelle/django-urlbrevity | a8b779587986c60c4e0597aead908d954480f0f9 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | urlbrevity/sitemaps.py | kezabelle/django-urlbrevity | a8b779587986c60c4e0597aead908d954480f0f9 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | # -*- coding: utf-8 -*-
from itertools import chain
from django.contrib.sitemaps import Sitemap
from .utils import short_url
class ShortUrlSitemap(Sitemap):
models = ()
def get_models(self):
return self.models
def get_querysets(self):
for model in self.get_models():
yield mod... | 22.090909 | 63 | 0.664609 | 62 | 486 | 5.096774 | 0.532258 | 0.056962 | 0.075949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002681 | 0.23251 | 486 | 21 | 64 | 23.142857 | 0.844504 | 0.04321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.214286 | 0.214286 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5df10c6a28bfacd2aef4c526a9b7fdc844b38a26 | 314 | py | Python | boxsdk/client/development_client.py | DaveSawyer/box-python-sdk | 6a5134ff9bbbbc0478bb39d7f622fe3829048cbf | [
"Apache-2.0"
] | null | null | null | boxsdk/client/development_client.py | DaveSawyer/box-python-sdk | 6a5134ff9bbbbc0478bb39d7f622fe3829048cbf | [
"Apache-2.0"
] | null | null | null | boxsdk/client/development_client.py | DaveSawyer/box-python-sdk | 6a5134ff9bbbbc0478bb39d7f622fe3829048cbf | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
from .developer_token_client import DeveloperTokenClient
from .logging_client import LoggingClient
class DevelopmentClient(LoggingClient, DeveloperTokenClient):
"""
Client subclass that uses developer token auth and logs requests and responses.
Great for use in development!
"""
| 26.166667 | 83 | 0.780255 | 35 | 314 | 6.914286 | 0.742857 | 0.115702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003817 | 0.165605 | 314 | 11 | 84 | 28.545455 | 0.919847 | 0.394904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 |
5dfd7a25873d9b22a4a2fce5d9e8b3bc3fdeb47f | 58 | py | Python | source/Global.py | duanduan2015/Termine | d0143f78a22392d6f40ae8691cefcb2b55198f95 | [
"MIT"
] | 1 | 2016-08-30T05:53:04.000Z | 2016-08-30T05:53:04.000Z | source/Global.py | duanduan2015/Termine | d0143f78a22392d6f40ae8691cefcb2b55198f95 | [
"MIT"
] | 28 | 2016-08-15T22:45:35.000Z | 2016-09-29T05:48:37.000Z | source/Global.py | duanduan2015/Termine | d0143f78a22392d6f40ae8691cefcb2b55198f95 | [
"MIT"
] | null | null | null | global totalTime
global timer
global panel
global shell
| 11.6 | 16 | 0.827586 | 8 | 58 | 6 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 58 | 4 | 17 | 14.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b9084e663368e19b981192178c92a21373b64f11 | 313 | py | Python | 0-notes/job-search/Cracking the Coding Interview/C13Java/questions/13.7-question.py | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | 0-notes/job-search/Cracking the Coding Interview/C13Java/questions/13.7-question.py | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | 0-notes/job-search/Cracking the Coding Interview/C13Java/questions/13.7-question.py | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | # 13.7 Lambda Expressions
# There is a class Country that has getContinent() and getPopulation().
# Write a function int getPopulation(List<Country> countries, String continent)
# that computes the total population of a given continent, given a list of
# all countries and the name of a continent.
| 39.125 | 79 | 0.744409 | 45 | 313 | 5.177778 | 0.644444 | 0.025751 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011952 | 0.198083 | 313 | 7 | 80 | 44.714286 | 0.916335 | 0.920128 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b908784477a40ff9e9fef21d6df62c2d6a22b0e5 | 3,097 | py | Python | drf_registration/api/reset_password.py | rti/drf-registration | 0d631730e1730a7778398f4c1e811ca0df57e260 | [
"MIT"
] | 1 | 2020-12-07T04:44:51.000Z | 2020-12-07T04:44:51.000Z | drf_registration/api/reset_password.py | cunguyendev/drf-registration | 2a9e5ffbffa23bdc787c8363bdd0ffd170cf6bb6 | [
"MIT"
] | null | null | null | drf_registration/api/reset_password.py | cunguyendev/drf-registration | 2a9e5ffbffa23bdc787c8363bdd0ffd170cf6bb6 | [
"MIT"
] | null | null | null | from django.http import Http404
from django.utils.translation import gettext as _
from django.contrib.auth.views import PasswordResetConfirmView, PasswordResetCompleteView
from django.urls import reverse_lazy
from rest_framework.views import APIView
from rest_framework import serializers
from rest_framework.response i... | 31.927835 | 92 | 0.732322 | 363 | 3,097 | 6.027548 | 0.305785 | 0.101005 | 0.054388 | 0.079982 | 0.159963 | 0.115174 | 0.095064 | 0.053931 | 0.053931 | 0.053931 | 0 | 0.00489 | 0.20762 | 3,097 | 96 | 93 | 32.260417 | 0.886716 | 0.209881 | 0 | 0 | 0 | 0 | 0.033679 | 0.009931 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0.363636 | 0.363636 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
b908b632c8340bd8456112e54bc946570566c171 | 500 | py | Python | erpnext/hr/doctype/employee_separation/employee_separation.py | nagendrarawat/erpnext_custom | 1b94ecc3e66eae402347c302cd1663b690fb1ade | [
"MIT"
] | 2 | 2019-10-01T13:07:39.000Z | 2019-10-03T03:52:19.000Z | erpnext/hr/doctype/employee_separation/employee_separation.py | nagendrarawat/erpnext_custom | 1b94ecc3e66eae402347c302cd1663b690fb1ade | [
"MIT"
] | null | null | null | erpnext/hr/doctype/employee_separation/employee_separation.py | nagendrarawat/erpnext_custom | 1b94ecc3e66eae402347c302cd1663b690fb1ade | [
"MIT"
] | 3 | 2019-09-30T19:17:44.000Z | 2019-10-23T18:59:12.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
from erpnext.hr.utils import EmployeeBoardingController
class EmployeeSeparation(EmployeeBoardingController):
def validate(self):
su... | 29.411765 | 68 | 0.784 | 58 | 500 | 6.603448 | 0.62069 | 0.070496 | 0.211488 | 0.24282 | 0.172324 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011312 | 0.116 | 500 | 16 | 69 | 31.25 | 0.855204 | 0.272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0 | 0.666667 | 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 |
b90f610f7194eba7e9a748a4292408fd53be020d | 303 | py | Python | fractal/core/event_sourcing/event_stream.py | douwevandermeij/fractal | 66b04892b4d6fd8ee6a0c07b6e230f4321165085 | [
"MIT"
] | 2 | 2021-08-12T05:19:08.000Z | 2022-01-29T16:22:37.000Z | fractal/core/event_sourcing/event_stream.py | douwevandermeij/fractal | 66b04892b4d6fd8ee6a0c07b6e230f4321165085 | [
"MIT"
] | null | null | null | fractal/core/event_sourcing/event_stream.py | douwevandermeij/fractal | 66b04892b4d6fd8ee6a0c07b6e230f4321165085 | [
"MIT"
] | null | null | null | import uuid
from dataclasses import dataclass, field
from typing import List
from fractal.core.event_sourcing.event import BasicSendingEvent
@dataclass
class EventStream:
id: str = field(default_factory=lambda: str(uuid.uuid4()))
events: List[BasicSendingEvent] = field(default_factory=list)
| 25.25 | 65 | 0.79538 | 38 | 303 | 6.263158 | 0.578947 | 0.10084 | 0.159664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003774 | 0.125413 | 303 | 11 | 66 | 27.545455 | 0.89434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f8e161b47c5b40be904245580fb5bf1c6c735962 | 110 | py | Python | lantz/drivers/bristol/__init__.py | 0xInfty/lantz-drivers | 8ea49bbe247547356533bbbdb4af09581f9b44b5 | [
"BSD-3-Clause"
] | null | null | null | lantz/drivers/bristol/__init__.py | 0xInfty/lantz-drivers | 8ea49bbe247547356533bbbdb4af09581f9b44b5 | [
"BSD-3-Clause"
] | null | null | null | lantz/drivers/bristol/__init__.py | 0xInfty/lantz-drivers | 8ea49bbe247547356533bbbdb4af09581f9b44b5 | [
"BSD-3-Clause"
] | null | null | null | from .bristol621 import Bristol621
from .bristol671 import Bristol671
__all__ = ['Bristol621', 'Bristol671']
| 22 | 38 | 0.790909 | 11 | 110 | 7.545455 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185567 | 0.118182 | 110 | 4 | 39 | 27.5 | 0.670103 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f8f3a26d76a9d614d55a76b812ae0baad42710b9 | 21,931 | py | Python | cirq/sim/wave_function_test.py | kunalq/Cirq | e73c9bef672e83143ab04e7f169988149055d630 | [
"Apache-2.0"
] | 2 | 2019-04-02T09:16:28.000Z | 2019-05-25T18:35:19.000Z | cirq/sim/wave_function_test.py | rajeshkumarkarra/Cirq | 5ad06cc7a487ca94436715a3c51b6a50dfd10513 | [
"Apache-2.0"
] | 36 | 2019-04-03T23:03:51.000Z | 2019-05-15T23:49:01.000Z | cirq/sim/wave_function_test.py | rajeshkumarkarra/Cirq | 5ad06cc7a487ca94436715a3c51b6a50dfd10513 | [
"Apache-2.0"
] | 2 | 2019-04-03T22:55:05.000Z | 2019-04-24T23:24:53.000Z | # Copyright 2018 The Cirq Developers
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 37.424915 | 80 | 0.651908 | 3,394 | 21,931 | 3.954626 | 0.068945 | 0.016838 | 0.013858 | 0.012219 | 0.833631 | 0.779243 | 0.709134 | 0.656907 | 0.588511 | 0.5488 | 0 | 0.060107 | 0.210296 | 21,931 | 585 | 81 | 37.488889 | 0.71257 | 0.031736 | 0 | 0.407834 | 0 | 0.006912 | 0.017866 | 0 | 0 | 0 | 0 | 0 | 0.237327 | 1 | 0.124424 | false | 0 | 0.009217 | 0.004608 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d01379b782b9e5a92a760fc6b7ad00caee21f37 | 2,030 | py | Python | src/pybel/parser/modifiers/location.py | djinnome/pybel | 6ffc1df662fef51f4d740daf6d7643010a9d5be8 | [
"MIT"
] | 103 | 2016-10-25T05:51:26.000Z | 2022-03-23T02:21:12.000Z | src/pybel/parser/modifiers/location.py | djinnome/pybel | 6ffc1df662fef51f4d740daf6d7643010a9d5be8 | [
"MIT"
] | 444 | 2016-10-22T13:09:10.000Z | 2022-03-21T12:01:39.000Z | src/pybel/parser/modifiers/location.py | djinnome/pybel | 6ffc1df662fef51f4d740daf6d7643010a9d5be8 | [
"MIT"
] | 38 | 2017-01-06T03:32:38.000Z | 2022-03-19T11:27:30.000Z | # -*- coding: utf-8 -*-
"""Locations.
Location data also is added into the information in the edge for the node (subject or object) for which it was
annotated. :code:`p(HGNC:GSK3B, pmod(P, S, 9), loc(GO:lysozome)) pos act(p(HGNC:GSK3B), ma(kin))` becomes:
.. code-block:: python
from pybel.constants import *
... | 32.741935 | 155 | 0.661576 | 259 | 2,030 | 5.100386 | 0.532819 | 0.02271 | 0.043149 | 0.033308 | 0.065102 | 0.03028 | 0 | 0 | 0 | 0 | 0 | 0.010719 | 0.218719 | 2,030 | 61 | 156 | 33.278689 | 0.822194 | 0.817241 | 0 | 0 | 0 | 0 | 0.089136 | 0.058496 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.555556 | 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 |
5d01c10f5351fd4ac1aeb385dcb7c6efae948fe1 | 1,725 | py | Python | sdl2/__init__.py | syntonym/pysdl2 | 25b2b558bfe7587d0e32b0a61a5bc19eeaf395c0 | [
"DOC"
] | null | null | null | sdl2/__init__.py | syntonym/pysdl2 | 25b2b558bfe7587d0e32b0a61a5bc19eeaf395c0 | [
"DOC"
] | null | null | null | sdl2/__init__.py | syntonym/pysdl2 | 25b2b558bfe7587d0e32b0a61a5bc19eeaf395c0 | [
"DOC"
] | 3 | 2018-09-13T09:08:02.000Z | 2021-04-07T18:44:32.000Z | """SDL2 wrapper package"""
from .dll import get_dll_file, _bind
from ctypes import c_int as _cint
from .audio import *
from .blendmode import *
from .clipboard import *
from .cpuinfo import *
from .endian import *
from .error import *
from .events import *
from .filesystem import *
from .gamecontroller import *
from .... | 26.136364 | 78 | 0.744928 | 230 | 1,725 | 5.304348 | 0.334783 | 0.270492 | 0.029508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063194 | 0.165217 | 1,725 | 65 | 79 | 26.538462 | 0.784028 | 0.035362 | 0 | 0 | 0 | 0 | 0.049457 | 0 | 0 | 0 | 0.048251 | 0 | 0 | 1 | 0 | false | 0 | 0.642857 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5d1605fce46fa498a5be0efcc28125f9312f1f33 | 33,024 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/cisco/iosxr/plugins/modules/iosxr_ntp_global.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/cisco/iosxr/plugins/modules/iosxr_ntp_global.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/cisco/iosxr/plugins/modules/iosxr_ntp_global.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2021 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
"""
The module file for iosxr_ntp_global
"""
from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = """
---... | 30.158904 | 127 | 0.557322 | 3,618 | 33,024 | 5.037313 | 0.098121 | 0.017229 | 0.064198 | 0.051084 | 0.705021 | 0.686914 | 0.662003 | 0.649328 | 0.637915 | 0.626667 | 0 | 0.054509 | 0.33948 | 33,024 | 1,094 | 128 | 30.186472 | 0.781002 | 0.008236 | 0 | 0.77362 | 0 | 0.012161 | 0.971456 | 0.061245 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000935 | false | 0.017774 | 0.003742 | 0 | 0.004677 | 0.000935 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d1895ac708e50950956a8765681bff58a6e44c6 | 1,151 | py | Python | venv/lib/python3.7/site-packages/jnpr/junos/utils/util.py | pmorvay/nornir | 6eee093d9a65b690688a3da334a250f6447c5543 | [
"Apache-2.0"
] | 4 | 2020-01-20T06:46:33.000Z | 2021-07-28T21:53:29.000Z | venv/lib/python3.7/site-packages/jnpr/junos/utils/util.py | pmorvay/nornir | 6eee093d9a65b690688a3da334a250f6447c5543 | [
"Apache-2.0"
] | 5 | 2020-03-24T17:00:44.000Z | 2021-12-13T19:59:01.000Z | venv/lib/python3.7/site-packages/jnpr/junos/utils/util.py | pmorvay/nornir | 6eee093d9a65b690688a3da334a250f6447c5543 | [
"Apache-2.0"
] | null | null | null | """
Junos PyEZ Utility Base Class
"""
class Util(object):
"""
Base class for all utility classes
"""
def __init__(self, dev):
self._dev = dev
def __repr__(self):
return "jnpr.junos.utils.%s(%s)" % (
self.__class__.__name__, self._dev.hostname)
# -----------------... | 23.489796 | 79 | 0.38662 | 92 | 1,151 | 4.619565 | 0.358696 | 0.082353 | 0.047059 | 0.089412 | 0.235294 | 0.235294 | 0.235294 | 0.235294 | 0.235294 | 0 | 0 | 0 | 0.260643 | 1,151 | 48 | 80 | 23.979167 | 0.499412 | 0.425717 | 0 | 0.111111 | 0 | 0 | 0.088696 | 0.04 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.055556 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5d1b16c41ba82d38ba36bf9bb51ce49156254791 | 235 | py | Python | test/unit/Buzzer/run.py | rsm31/apama_GPIO | 06da24c5ede5bd036514aa214d8a5e914e0b988e | [
"Apache-2.0"
] | 2 | 2017-12-29T20:36:35.000Z | 2018-02-07T10:31:32.000Z | test/unit/Buzzer/run.py | rsm31/apama_GPIO | 06da24c5ede5bd036514aa214d8a5e914e0b988e | [
"Apache-2.0"
] | 1 | 2018-03-16T11:40:58.000Z | 2019-03-20T12:18:05.000Z | test/unit/Buzzer/run.py | rsm31/apama_GPIO | 06da24c5ede5bd036514aa214d8a5e914e0b988e | [
"Apache-2.0"
] | 2 | 2017-12-29T21:22:59.000Z | 2021-12-16T11:53:33.000Z | from GPIO.BaseTest import GPIOBaseTest
class PySysTest(GPIOBaseTest):
def execute(self):
self.start()
self.correlator.injectMonitorscript(filenames=['tutorial.mon'])
self.wait(10)
def validate(self):
pass
| 16.785714 | 66 | 0.702128 | 26 | 235 | 6.346154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010471 | 0.187234 | 235 | 13 | 67 | 18.076923 | 0.853403 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.125 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5d43607d603c6529f37c19121cd96e89dcbda42f | 3,997 | py | Python | test_bahttext.py | sekz/bahttext | 5dc3a6e9056a81cefb199c49ca69f9a7a9fa835b | [
"BSD-3-Clause"
] | null | null | null | test_bahttext.py | sekz/bahttext | 5dc3a6e9056a81cefb199c49ca69f9a7a9fa835b | [
"BSD-3-Clause"
] | null | null | null | test_bahttext.py | sekz/bahttext | 5dc3a6e9056a81cefb199c49ca69f9a7a9fa835b | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Convert float decimal number to Thai text number
# Copyright (C) 2014, Morange Solution Co.,LTD.
# This file is distributed under the same license as the bahttext package.
# All rights reserved.
# Seksan Poltree <seksan@morange.co.th>, 2014.
from __future__ import unicode_literals
from builtin... | 43.923077 | 87 | 0.691018 | 691 | 3,997 | 4.0767 | 0.295224 | 0.186368 | 0.285765 | 0.102236 | 0.484913 | 0.392261 | 0.282215 | 0.178559 | 0.105786 | 0.080227 | 0 | 0.058964 | 0.164123 | 3,997 | 90 | 88 | 44.411111 | 0.736905 | 0.063798 | 0 | 0.104478 | 0 | 0 | 0.206961 | 0.11004 | 0 | 0 | 0 | 0 | 0.567164 | 1 | 0.208955 | false | 0 | 0.059701 | 0 | 0.283582 | 0.014925 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d43bd1e9286a405a3f840cce5142510fa652070 | 3,621 | gyp | Python | third_party/webrtc/src/chromium/src/device/serial/serial.gyp | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 8 | 2016-02-08T11:59:31.000Z | 2020-05-31T15:19:54.000Z | third_party/webrtc/src/chromium/src/device/serial/serial.gyp | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 1 | 2021-05-05T11:11:31.000Z | 2021-05-05T11:11:31.000Z | third_party/webrtc/src/chromium/src/device/serial/serial.gyp | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 7 | 2016-02-09T09:28:14.000Z | 2020-07-25T19:03:36.000Z | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'targets': [
{
# GN version: //device/serial:serial_mojo
'target_name': 'device_serial_mojo... | 33.220183 | 86 | 0.608119 | 398 | 3,621 | 5.183417 | 0.246231 | 0.110519 | 0.106641 | 0.104702 | 0.304896 | 0.304896 | 0.304896 | 0.304411 | 0.18032 | 0.055259 | 0 | 0.003343 | 0.256559 | 3,621 | 108 | 87 | 33.527778 | 0.763001 | 0.127313 | 0 | 0.285714 | 0 | 0 | 0.631746 | 0.466032 | 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 |
5d4cd3f4573d8cc390c77d1c883ba3b90bfd254d | 287 | py | Python | queue/py/queue.py | taddes/AlgoChallenge | 7e3d5e0cb087f63c09e6dd97ffef566a8ae26850 | [
"MIT"
] | null | null | null | queue/py/queue.py | taddes/AlgoChallenge | 7e3d5e0cb087f63c09e6dd97ffef566a8ae26850 | [
"MIT"
] | null | null | null | queue/py/queue.py | taddes/AlgoChallenge | 7e3d5e0cb087f63c09e6dd97ffef566a8ae26850 | [
"MIT"
] | null | null | null | class Queue:
def __init__(self, data=[]):
self.data = data
def add(self, record):
self.data.append(record)
def remove(self):
return self.data.pop(0)
myq = Queue([1,2,3,4])
print(myq.data)
myq.remove()
print(myq.data)
myq.add(5)
print(myq.data) | 16.882353 | 32 | 0.599303 | 45 | 287 | 3.733333 | 0.444444 | 0.190476 | 0.214286 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0.233449 | 287 | 17 | 33 | 16.882353 | 0.736364 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0 | 0.076923 | 0.384615 | 0.230769 | 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 |
5d50bd5d31a5e0ba47d7c2bb7bb5998401cba271 | 582 | py | Python | {{cookiecutter.slug}}/functional-tests/test_foundations.py | jgonggrijp/cookiecutter-webapp-deluxe | 042a4e4229946e642bf07281e9db69cae01aa237 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.slug}}/functional-tests/test_foundations.py | jgonggrijp/cookiecutter-webapp-deluxe | 042a4e4229946e642bf07281e9db69cae01aa237 | [
"BSD-3-Clause"
] | 29 | 2019-04-17T09:49:07.000Z | 2022-03-24T15:55:35.000Z | {{cookiecutter.slug}}/functional-tests/test_foundations.py | jgonggrijp/cookiecutter-webapp-deluxe | 042a4e4229946e642bf07281e9db69cae01aa237 | [
"BSD-3-Clause"
] | 1 | 2022-02-22T18:17:02.000Z | 2022-02-22T18:17:02.000Z | def test_{{cookiecutter.slug}}_frontend(browser, base_address):
browser.get(base_address)
assert '{{cookiecutter.project_title}}' in browser.title
def test_{{cookiecutter.slug}}_admin(browser, admin_address):
browser.get(admin_address)
assert 'Django' in browser.title
def test_{{cookiecutter.slug}}_... | 30.631579 | 67 | 0.752577 | 77 | 582 | 5.428571 | 0.272727 | 0.066986 | 0.181818 | 0.220096 | 0.279904 | 0.279904 | 0.279904 | 0.191388 | 0 | 0 | 0 | 0 | 0.128866 | 582 | 18 | 68 | 32.333333 | 0.824458 | 0 | 0 | 0 | 0 | 0 | 0.121993 | 0.051546 | 0 | 0 | 0 | 0 | 0.333333 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d538e7d0fe43c60189fb3bd4a3089b58c7a8301 | 7,204 | py | Python | app/scripts/db_update.py | jsolodev/nettemp | e1e9605b853689822f3e9c2a8ae9bf02e266359c | [
"MIT"
] | 51 | 2015-01-03T01:37:25.000Z | 2021-11-03T18:07:42.000Z | app/scripts/db_update.py | jsolodev/nettemp | e1e9605b853689822f3e9c2a8ae9bf02e266359c | [
"MIT"
] | 18 | 2015-03-06T18:46:51.000Z | 2021-04-02T08:02:01.000Z | app/scripts/db_update.py | jsolodev/nettemp | e1e9605b853689822f3e9c2a8ae9bf02e266359c | [
"MIT"
] | 51 | 2015-02-04T18:53:54.000Z | 2022-02-16T20:40:45.000Z | #!/usr/bin/python3
import mysql.connector
import os
from configobj import ConfigObj
dir=(os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..', '..')))
config = ConfigObj(dir+'/data/config.cfg')
mydb = mysql.connector.connect(
host=config.get('MYSQL_HOST'),
user=config.get('MYSQL_USER'),
passwd=config... | 80.044444 | 209 | 0.653387 | 1,072 | 7,204 | 4.352612 | 0.181903 | 0.1003 | 0.135019 | 0.189027 | 0.639734 | 0.615945 | 0.598157 | 0.561723 | 0.546507 | 0.489499 | 0 | 0.041944 | 0.122987 | 7,204 | 89 | 210 | 80.94382 | 0.695948 | 0.00236 | 0 | 0 | 0 | 0.43662 | 0.815032 | 0.123917 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014085 | false | 0.042254 | 0.042254 | 0 | 0.070423 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d5765993323f38899d014c14e4e14fd8f0a324f | 1,015 | py | Python | jacdac/jacscript_cloud/constants.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/jacscript_cloud/constants.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/jacscript_cloud/constants.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated constants for Jacscript Cloud service
from enum import IntEnum
from jacdac.constants import *
from jacdac.system.constants import *
JD_SERVICE_CLASS_JACSCRIPT_CLOUD = const(0x14606e9c)
class JacscriptCloudCommandStatus(IntEnum):
OK = const(0xc8)
NOT_FOUND = const(0x194)
BUSY = const(0x1ad)... | 35 | 63 | 0.813793 | 149 | 1,015 | 5.053691 | 0.328859 | 0.297477 | 0.297477 | 0.151394 | 0.528552 | 0.332005 | 0.090305 | 0 | 0 | 0 | 0 | 0.053512 | 0.116256 | 1,015 | 28 | 64 | 36.25 | 0.785953 | 0.050246 | 0 | 0 | 1 | 0 | 0.039501 | 0 | 0 | 0 | 0.051975 | 0 | 0 | 1 | 0 | false | 0 | 0.130435 | 0 | 0.304348 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d651118f1c3a4c09fdb45c63a957790a2987796 | 314 | py | Python | mozillians/api/tests/__init__.py | divyamoncy/mozillians | d53d1d05d1f05b74f8533541e37083dcb89b29a8 | [
"BSD-3-Clause"
] | 202 | 2015-01-14T10:19:55.000Z | 2021-12-11T06:04:16.000Z | mozillians/api/tests/__init__.py | divyamoncy/mozillians | d53d1d05d1f05b74f8533541e37083dcb89b29a8 | [
"BSD-3-Clause"
] | 2,924 | 2015-01-07T11:27:32.000Z | 2021-01-19T14:05:17.000Z | mozillians/api/tests/__init__.py | divyamoncy/mozillians | d53d1d05d1f05b74f8533541e37083dcb89b29a8 | [
"BSD-3-Clause"
] | 270 | 2015-01-02T18:31:01.000Z | 2021-02-17T20:57:44.000Z | import factory
from mozillians.api.models import APIv2App
class APIv2AppFactory(factory.DjangoModelFactory):
name = factory.Sequence(lambda n: 'App {0}'.format(n))
description = factory.Sequence(lambda n: 'Description for App {0}'.format(n))
enabled = True
class Meta:
model = APIv2App
| 24.153846 | 81 | 0.710191 | 38 | 314 | 5.868421 | 0.605263 | 0.134529 | 0.188341 | 0.197309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019531 | 0.184713 | 314 | 12 | 82 | 26.166667 | 0.851563 | 0 | 0 | 0 | 0 | 0 | 0.095541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.875 | 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 |
5380ef39f73ae32eec937616b7b6e20f4a50baac | 78 | py | Python | clac_12_tt.py | qq453388937/calc_mmd | 3c61dccbcabe2aafbf46c35fdd19fd8e6d717221 | [
"MIT"
] | 1 | 2018-09-12T09:47:37.000Z | 2018-09-12T09:47:37.000Z | clac_12_tt.py | qq453388937/calc_mmd | 3c61dccbcabe2aafbf46c35fdd19fd8e6d717221 | [
"MIT"
] | null | null | null | clac_12_tt.py | qq453388937/calc_mmd | 3c61dccbcabe2aafbf46c35fdd19fd8e6d717221 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
with open('test.txt',"w") as f:
f.writelines() | 11.142857 | 32 | 0.512821 | 12 | 78 | 3.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.217949 | 78 | 7 | 33 | 11.142857 | 0.639344 | 0.25641 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
53a7f399548f042b57b9ce3278b1ee67b39a460f | 776 | py | Python | Models/Scores.py | sumansaurabh/word-learner-gre | cc1801aeac2bc466d7d1098bbd4236a3bccaa913 | [
"MIT"
] | null | null | null | Models/Scores.py | sumansaurabh/word-learner-gre | cc1801aeac2bc466d7d1098bbd4236a3bccaa913 | [
"MIT"
] | null | null | null | Models/Scores.py | sumansaurabh/word-learner-gre | cc1801aeac2bc466d7d1098bbd4236a3bccaa913 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author: perfectus
# @Date: 2018-06-27 16:56:48
# @Last Modified by: perfectus
# @Last Modified time: 2018-06-27 17:02:54
from sqlalchemy import Column, Integer, String, DateTime
from sqlalchemy.ext.declarative import declarative_base
from jwt import DecodeError, ExpiredSignature
from dat... | 25.032258 | 77 | 0.753866 | 104 | 776 | 5.490385 | 0.5 | 0.068301 | 0.028021 | 0.084063 | 0.140105 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043348 | 0.137887 | 776 | 30 | 78 | 25.866667 | 0.810164 | 0.181701 | 0 | 0.117647 | 0 | 0 | 0.038217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.470588 | 0.117647 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
53b48bbeb05e43266ecc3cca18eed32a4b9ac06f | 546 | py | Python | disco/transform/transition.py | lepg/disco | 23658dfd6e9012ddffc3aa8067371973e5f11f6c | [
"MIT"
] | null | null | null | disco/transform/transition.py | lepg/disco | 23658dfd6e9012ddffc3aa8067371973e5f11f6c | [
"MIT"
] | null | null | null | disco/transform/transition.py | lepg/disco | 23658dfd6e9012ddffc3aa8067371973e5f11f6c | [
"MIT"
] | null | null | null | import librosa
class Transition(object):
def __init__(self, frame: int, color: str, sr: int, text: str=None):
self.frame, self.color, self.text, self.sr = frame, color, text, sr
def serialize(self):
return {
'frame': self.frame,
'time': self.time,
'color':... | 23.73913 | 75 | 0.57326 | 68 | 546 | 4.455882 | 0.338235 | 0.118812 | 0.085809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294872 | 546 | 22 | 76 | 24.818182 | 0.787013 | 0 | 0 | 0 | 0 | 0 | 0.09707 | 0.040293 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0.1875 | 0.5625 | 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 |
53b925e65e1b3aed24067b16035da9240ad64c9a | 124 | py | Python | src/pattern/urls.py | maxweaker/Software-Requirements-Analysis | 1ac59e5aad816cce2d43f1a05605d8caef02609d | [
"MIT"
] | 1 | 2021-11-23T13:41:45.000Z | 2021-11-23T13:41:45.000Z | src/pattern/urls.py | maxweaker/Software-Requirements-Analysis | 1ac59e5aad816cce2d43f1a05605d8caef02609d | [
"MIT"
] | null | null | null | src/pattern/urls.py | maxweaker/Software-Requirements-Analysis | 1ac59e5aad816cce2d43f1a05605d8caef02609d | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('UserInfo', views.userinfor, name='UserInfo'),
] | 17.714286 | 55 | 0.709677 | 15 | 124 | 5.866667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 124 | 7 | 56 | 17.714286 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
53badf9c35c8990fda0bc5f557cf8c9722a1ecb3 | 169 | py | Python | app/user/urls.py | alexCollienne/recipe-app-api | 95e70eb99d949f4a5a91d7e47f51a5c11505fb28 | [
"MIT"
] | null | null | null | app/user/urls.py | alexCollienne/recipe-app-api | 95e70eb99d949f4a5a91d7e47f51a5c11505fb28 | [
"MIT"
] | null | null | null | app/user/urls.py | alexCollienne/recipe-app-api | 95e70eb99d949f4a5a91d7e47f51a5c11505fb28 | [
"MIT"
] | null | null | null | from django.urls import path
from .views import CreateUserView
app_name = "user"
urlpatterns = [
path("create/", CreateUserView.as_view(), name="create-user"),
]
| 16.9 | 66 | 0.715976 | 21 | 169 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147929 | 169 | 9 | 67 | 18.777778 | 0.826389 | 0 | 0 | 0 | 0 | 0 | 0.130178 | 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 |
53c37eb35f4c1b006a3b679fd8ea7737ef2cb64d | 634 | py | Python | corehq/apps/linked_domain/auth.py | kkrampa/commcare-hq | d64d7cad98b240325ad669ccc7effb07721b4d44 | [
"BSD-3-Clause"
] | 1 | 2020-05-05T13:10:01.000Z | 2020-05-05T13:10:01.000Z | corehq/apps/linked_domain/auth.py | kkrampa/commcare-hq | d64d7cad98b240325ad669ccc7effb07721b4d44 | [
"BSD-3-Clause"
] | 1 | 2019-12-09T14:00:14.000Z | 2019-12-09T14:00:14.000Z | corehq/apps/linked_domain/auth.py | MaciejChoromanski/commcare-hq | fd7f65362d56d73b75a2c20d2afeabbc70876867 | [
"BSD-3-Clause"
] | 5 | 2015-11-30T13:12:45.000Z | 2019-07-01T19:27:07.000Z | from __future__ import absolute_import
from __future__ import unicode_literals
from requests.auth import AuthBase
class ApiKeyAuth(AuthBase):
def __init__(self, username, apikey):
self.username = username
self.apikey = apikey
def _key(self):
return (self.username, self.apikey)
de... | 24.384615 | 82 | 0.648265 | 77 | 634 | 4.909091 | 0.363636 | 0.126984 | 0.142857 | 0.116402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24448 | 634 | 25 | 83 | 25.36 | 0.789144 | 0 | 0 | 0 | 0 | 0 | 0.039432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.222222 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
53c9d56af52f4c4768804036dc474339eeed39ba | 181 | py | Python | config.py | benvand/simple-api | 80ac7af4aa79b32b02b8ad0bf15f73255a690fb9 | [
"MIT"
] | null | null | null | config.py | benvand/simple-api | 80ac7af4aa79b32b02b8ad0bf15f73255a690fb9 | [
"MIT"
] | null | null | null | config.py | benvand/simple-api | 80ac7af4aa79b32b02b8ad0bf15f73255a690fb9 | [
"MIT"
] | null | null | null | class Config:
DEBUG = True
FLASK_ENV = 'development'
SECRET_KEY = 'test'
SQLALCHEMY_DATABASE_URI = 'sqlite:////tmp/test.db'
SQLALCHEMY_TRACK_MODIFICATIONS = True | 30.166667 | 54 | 0.696133 | 21 | 181 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198895 | 181 | 6 | 55 | 30.166667 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.203297 | 0.120879 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
53cf050e83d8513a706b67100f92bc8d52e78bcd | 1,065 | py | Python | src/restfw/tests/test_method_options.py | Cykooz/restfw | d94db685aa0dcda2eaf3eba24c4a29d5c3eb84e4 | [
"MIT"
] | null | null | null | src/restfw/tests/test_method_options.py | Cykooz/restfw | d94db685aa0dcda2eaf3eba24c4a29d5c3eb84e4 | [
"MIT"
] | null | null | null | src/restfw/tests/test_method_options.py | Cykooz/restfw | d94db685aa0dcda2eaf3eba24c4a29d5c3eb84e4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
:Authors: cykooz
:Date: 28.02.2019
"""
import colander
from ..interfaces import MethodOptions
class Schema1(colander.MappingSchema):
pass
class Schema2(colander.MappingSchema):
pass
class Schema3(colander.MappingSchema):
pass
def test_replace():
options = MethodOptio... | 25.357143 | 100 | 0.753991 | 134 | 1,065 | 5.813433 | 0.298507 | 0.179718 | 0.205392 | 0.092426 | 0.392811 | 0.392811 | 0.355584 | 0.355584 | 0.355584 | 0.355584 | 0 | 0.024636 | 0.161502 | 1,065 | 41 | 101 | 25.97561 | 0.847704 | 0.053521 | 0 | 0.333333 | 0 | 0 | 0.063 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 1 | 0.041667 | false | 0.125 | 0.083333 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
53d190397887e13df7b95f79f18d01ab2dee931e | 999 | py | Python | django/ediaristas_django/web/models.py | angolarti/multistack-ediaristas | b2fa326464b48643347f67d154a51ee7a76573f3 | [
"MIT"
] | 1 | 2021-11-09T15:03:30.000Z | 2021-11-09T15:03:30.000Z | django/ediaristas_django/web/models.py | gioliveirass/multistack-ediaristas | b2fa326464b48643347f67d154a51ee7a76573f3 | [
"MIT"
] | null | null | null | django/ediaristas_django/web/models.py | gioliveirass/multistack-ediaristas | b2fa326464b48643347f67d154a51ee7a76573f3 | [
"MIT"
] | 2 | 2021-06-24T16:43:39.000Z | 2021-11-23T14:28:32.000Z | from django.db import models
# Create your models here.
# Dados da diarista
class Diaristas(models.Model):
nome_completo = models.CharField(max_length=100, null=False, blank=False)
cpf = models.CharField(max_length=12, null=False, blank=False, unique=True)
email = models.EmailField(null=False, blank=False... | 52.578947 | 79 | 0.750751 | 139 | 999 | 5.309353 | 0.345324 | 0.158537 | 0.227642 | 0.257453 | 0.398374 | 0.398374 | 0.219512 | 0.219512 | 0 | 0 | 0 | 0.020713 | 0.13013 | 999 | 19 | 80 | 52.578947 | 0.828539 | 0.042042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
53d4881bc08892c7fa0dcb44e449c8ecb8df9034 | 288 | py | Python | src/phd_qmclib/qmc_exec/dmc/__init__.py | oarodriguez/PhD-QMCLib | c3d0197a92f5c6954839f7e2689b725f72448988 | [
"BSD-3-Clause"
] | null | null | null | src/phd_qmclib/qmc_exec/dmc/__init__.py | oarodriguez/PhD-QMCLib | c3d0197a92f5c6954839f7e2689b725f72448988 | [
"BSD-3-Clause"
] | null | null | null | src/phd_qmclib/qmc_exec/dmc/__init__.py | oarodriguez/PhD-QMCLib | c3d0197a92f5c6954839f7e2689b725f72448988 | [
"BSD-3-Clause"
] | null | null | null | """
phd_qmclib.qmc_exec.dmc
~~~~~~~~~~~~~~~~~~~~~~~
Basic classes and routines to realize a Diffusion Mont Carlo calculation.
"""
#
from .io import HDF5FileHandler
#
from .proc import (
DensityEstSpec, ModelSysConfSpec, Proc, ProcInput, ProcInputError,
SSFEstSpec
)
| 19.2 | 77 | 0.663194 | 29 | 288 | 6.517241 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004274 | 0.1875 | 288 | 14 | 78 | 20.571429 | 0.803419 | 0.423611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
53f3cb0a36843e2eeee5876f4fb9a78d9d8fa3a6 | 341 | py | Python | exercicios/ex022.py | CinatitBR/exercicios-phyton | 16d9c14a83c9dbd6f7bda5477d665848bcd91184 | [
"MIT"
] | null | null | null | exercicios/ex022.py | CinatitBR/exercicios-phyton | 16d9c14a83c9dbd6f7bda5477d665848bcd91184 | [
"MIT"
] | null | null | null | exercicios/ex022.py | CinatitBR/exercicios-phyton | 16d9c14a83c9dbd6f7bda5477d665848bcd91184 | [
"MIT"
] | null | null | null | nome = str(input('Digite seu nome completo: ')).strip()
print(f'Nome com todas as letras maiúsculas: {nome.upper()}')
print(f'Nome com todas as letras minúsculas: {nome.lower()}')
print(f'Total de letras do seu nome: {len(nome) - nome.count(" ")}')
nome = nome.split()
print(f'Seu primeiro nome é {nome[0]} e ele tem {l... | 48.714286 | 71 | 0.683284 | 58 | 341 | 4.017241 | 0.5 | 0.103004 | 0.085837 | 0.111588 | 0.223176 | 0.223176 | 0.223176 | 0 | 0 | 0 | 0 | 0.006734 | 0.129032 | 341 | 7 | 71 | 48.714286 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
53f8bfabdfa3de331ebeef4b010c354939d90a2f | 107 | py | Python | django_docker_example/django_docker_app/apps.py | Ronnasayd/django-docker | ca5fe2b26a4c8fb7e6e1f4fe4b26004c6a9c4380 | [
"MIT"
] | 5 | 2018-08-22T17:57:05.000Z | 2019-03-04T12:48:58.000Z | django_docker_example/django_docker_app/apps.py | Ronnasayd/django-docker | ca5fe2b26a4c8fb7e6e1f4fe4b26004c6a9c4380 | [
"MIT"
] | 28 | 2018-12-06T14:30:00.000Z | 2022-03-11T23:46:47.000Z | django_docker_example/django_docker_app/apps.py | Ronnasayd/django-docker | ca5fe2b26a4c8fb7e6e1f4fe4b26004c6a9c4380 | [
"MIT"
] | 4 | 2018-11-23T13:55:37.000Z | 2020-01-28T05:07:03.000Z | from django.apps import AppConfig
class DjangoDockerAppConfig(AppConfig):
name = 'django_docker_app'
| 17.833333 | 39 | 0.794393 | 12 | 107 | 6.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 5 | 40 | 21.4 | 0.902174 | 0 | 0 | 0 | 0 | 0 | 0.158879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
53fbc0775fe80962e9c25b8aaa01acb1bf12e076 | 299 | py | Python | onyx/models/ButtonsModel.py | OnyxAI/onyx | 52f4bd5c5dd102acc51a83a20f281d7146893c2a | [
"MIT"
] | 2 | 2020-04-14T21:16:07.000Z | 2020-07-09T07:30:44.000Z | onyx/models/ButtonsModel.py | OnyxAI/onyx | 52f4bd5c5dd102acc51a83a20f281d7146893c2a | [
"MIT"
] | 2 | 2020-04-01T12:33:36.000Z | 2020-04-01T12:33:49.000Z | onyx/models/ButtonsModel.py | OnyxAI/onyx | 52f4bd5c5dd102acc51a83a20f281d7146893c2a | [
"MIT"
] | null | null | null | from onyx.extensions import db
class Buttons(db.Model):
__tablename__ = 'buttons'
id = db.Column(db.Integer, primary_key=True)
user = db.Column(db.String(), nullable=False)
buttonNumber = db.Column(db.String(), nullable=False)
icon = db.Column(db.String(), nullable=False)
| 29.9 | 57 | 0.688963 | 40 | 299 | 5.025 | 0.525 | 0.159204 | 0.199005 | 0.238806 | 0.432836 | 0.432836 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170569 | 299 | 9 | 58 | 33.222222 | 0.810484 | 0 | 0 | 0 | 0 | 0 | 0.023411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 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 |
990a19d1d376e0a6a59e67f21759aad89ad8c26a | 7,081 | gyp | Python | android_webview/android_webview.gyp | jianglong0156/chromium.src | d496dfeebb0f282468827654c2b3769b3378c087 | [
"BSD-3-Clause"
] | 5 | 2018-03-10T13:08:42.000Z | 2021-07-26T15:02:11.000Z | android_webview/android_webview.gyp | sanyaade-mobiledev/chromium.src | d496dfeebb0f282468827654c2b3769b3378c087 | [
"BSD-3-Clause"
] | 1 | 2015-07-21T08:02:01.000Z | 2015-07-21T08:02:01.000Z | android_webview/android_webview.gyp | jianglong0156/chromium.src | d496dfeebb0f282468827654c2b3769b3378c087 | [
"BSD-3-Clause"
] | 6 | 2016-11-14T10:13:35.000Z | 2021-01-23T15:29:53.000Z | # Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'targets': [
{
'target_name': 'libwebviewchromium',
'type': 'shared_library',
'and... | 39.780899 | 88 | 0.634232 | 798 | 7,081 | 5.249373 | 0.223058 | 0.038195 | 0.047267 | 0.068751 | 0.680115 | 0.444975 | 0.337312 | 0.265935 | 0.223442 | 0.189783 | 0 | 0.003249 | 0.217483 | 7,081 | 177 | 89 | 40.00565 | 0.752752 | 0.032058 | 0 | 0.317919 | 0 | 0 | 0.6947 | 0.575997 | 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 |
54cd3ca6eef237f2fadd8e788117dfc61c23613b | 289 | py | Python | ims_lti_py/__init__.py | bsulcer/ims_lti_py | 979244d83c2e6420d2c1941f58e52f641c56ad12 | [
"MIT"
] | 18 | 2015-02-04T06:56:02.000Z | 2021-01-14T08:48:05.000Z | ims_lti_py/__init__.py | mitodl/ims_lti_py | d96a6201cf3b63b9e1b33780ef5e29bc65242ceb | [
"MIT"
] | 6 | 2015-01-26T19:00:56.000Z | 2018-03-23T05:52:29.000Z | ims_lti_py/__init__.py | mitodl/ims_lti_py | d96a6201cf3b63b9e1b33780ef5e29bc65242ceb | [
"MIT"
] | 27 | 2015-04-16T12:05:42.000Z | 2020-12-24T00:32:53.000Z | # Classes
from tool_config import ToolConfig
from tool_consumer import ToolConsumer
from tool_provider import ToolProvider
from outcome_request import OutcomeRequest
from outcome_response import OutcomeResponse
# Exceptions
from utils import InvalidLTIConfigError, InvalidLTIRequestError
| 28.9 | 63 | 0.885813 | 32 | 289 | 7.84375 | 0.59375 | 0.095618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103806 | 289 | 9 | 64 | 32.111111 | 0.969112 | 0.062284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.