input
stringlengths
28
198k
output
stringlengths
3
71k
file
stringlengths
19
330
input_tokens
int64
5
159k
output_tokens
int64
3
9.07k
__index_level_0__
int64
2
449k
LOAD_CONST 'flake8-html - a flake8 plugin to generate HTML reports.' STORE_NAME __doc__ LOAD_CONST 'Daniel Pope' STORE_NAME __author__ LOAD_CONST 'mauve@mauveweb.co.uk' STORE_NAME __email__ LOAD_CONST '0.4.3' STORE_NAME __version__ LOAD_CONST 1 LOAD_CONST ('HTMLPlugin',) IMPORT_NAME plugin IMPORT_FROM HTMLPlugin ST...
"""flake8-html - a flake8 plugin to generate HTML reports.""" __author__ = """Daniel Pope""" __email__ = "mauve@mauveweb.co.uk" __version__ = "0.4.3" from .plugin import HTMLPlugin __all__ = ("HTMLPlugin",)
data/flake8-html-0.4.3/flake8_html/__init__.py
117
81
122,118
LOAD_CONST 'AuthFailure' STORE_NAME AUTHFAILURE LOAD_CONST 'InternalError' STORE_NAME INTERNALERROR LOAD_CONST 'InvalidParameter' STORE_NAME INVALIDPARAMETER LOAD_CONST 'InvalidParameterValue' STORE_NAME INVALIDPARAMETERVALUE LOAD_CONST 'ResourceNotFound' STORE_NAME RESOURCENOTFOUND LOAD_CONST 'UnauthorizedOperati...
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
data/tencentcloud-sdk-python-3.0.1092/tencentcloud/cloudhsm/v20191112/errorcodes.py
97
81
118,969
LOAD_CONST 0 LOAD_CONST ('required_torch_version',) IMPORT_NAME deepspeed.runtime.utils IMPORT_FROM required_torch_version STORE_NAME required_torch_version POP_TOP LOAD_CONST <code object is_torch_elastic_compatible at 0x7fab80004810, file "f.py", line 4> LOAD_CONST 'is_torch_elastic_compatible' MAKE_FUNCTION STORE_N...
from deepspeed.runtime.utils import required_torch_version def is_torch_elastic_compatible(): """ Helper to lookup torch version. Elastic training is introduced in 1.11.x """ return required_torch_version(min_version=1.11)
data/deepspeed-0.13.2/deepspeed/elasticity/utils.py
140
81
84,832
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME logging STORE_NAME logging LOAD_NAME logging LOAD_ATTR basicConfig LOAD_NAME logging LOAD_ATTR DEBUG LOAD_CONST ('level',) CALL_FUNCTION POP_TOP LOAD_CONST 0 LOAD_CONST ('print_str',) IMPORT_NAME tests.appsec.iast.fixtures.integration.print_str IMPORT_FROM print_str STORE_NAME...
import logging logging.basicConfig(level=logging.DEBUG) from tests.appsec.iast.fixtures.integration.print_str import print_str # noqa: E402 def main(): print_str() if __name__ == "__main__": main()
data/ddtrace-2.6.3/tests/appsec/iast/fixtures/integration/main.py
170
81
269,712
LOAD_CONST 'duplicated' STORE_NAME project LOAD_CONST '2022, Maximilian Linhoff' STORE_NAME copyright LOAD_CONST 'Maximilian Linhoff' STORE_NAME author LOAD_CONST '0.1' STORE_NAME release LOAD_CONST 'sphinx_automodapi.automodapi' BUILD_LIST STORE_NAME extensions LOAD_CONST 'alabaster' STORE_NAME html_theme LOAD_CO...
project = "duplicated" copyright = "2022, Maximilian Linhoff" author = "Maximilian Linhoff" release = "0.1" extensions = [ "sphinx_automodapi.automodapi", ] html_theme = "alabaster"
data/sphinx-automodapi-0.16.0/sphinx_automodapi/tests/duplicated_warning/docs/conf.py
95
81
58,368
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object FirewallPacketQueueingMethodType at 0x7fab820f4930, file "f.py", line 4> LOAD_CONST 'FirewallPacketQueueingMethodType' MAKE_FUNCTION LOAD_CONST 'FirewallPacketQueueingMethodType' LOAD_NA...
from enum import Enum class FirewallPacketQueueingMethodType(str, Enum): DeviceDefault = ("deviceDefault",) Disabled = ("disabled",) QueueInbound = ("queueInbound",) QueueOutbound = ("queueOutbound",) QueueBoth = ("queueBoth",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/firewall_packet_queueing_method_type.py
215
81
260,777
LOAD_CONST 1 LOAD_CONST ('is_ipv4_address', 'is_unreserved_port') IMPORT_NAME network_validators IMPORT_FROM is_ipv4_address STORE_NAME is_ipv4_address IMPORT_FROM is_unreserved_port STORE_NAME is_unreserved_port POP_TOP LOAD_CONST 1 LOAD_CONST ('is_timedelta', 'is_valid_choice') IMPORT_NAME generic_validators IMPORT_...
from .network_validators import is_ipv4_address, is_unreserved_port from .generic_validators import is_timedelta, is_valid_choice __all__ = ["is_timedelta", "is_valid_choice", "is_ipv4_address", "is_unreserved_port"]
data/python_json_config-1.2.3/python_json_config/validators/__init__.py
178
81
344,302
LOAD_CONST 1 LOAD_CONST ('get_all_items',) IMPORT_NAME transactions IMPORT_FROM get_all_items STORE_NAME get_all_items POP_TOP LOAD_CONST 1 LOAD_CONST ('get_item',) IMPORT_NAME transactions IMPORT_FROM get_item STORE_NAME get_item POP_TOP LOAD_CONST 1 LOAD_CONST ('get_items',) IMPORT_NAME transactions IMPORT_FROM get...
from .transactions import get_all_items from .transactions import get_item from .transactions import get_items from .transactions import put_item from .transactions import put_items __all__ = ["get_all_items", "get_item", "get_items", "put_item", "put_items"]
data/dynamo-pandas-1.3.0/dynamo_pandas/transactions/__init__.py
195
81
58,384
LOAD_CONST 0 LOAD_CONST ('Error', 'RefError') IMPORT_NAME weaviate.collections.classes.data IMPORT_FROM Error STORE_NAME Error IMPORT_FROM RefError STORE_NAME RefError POP_TOP LOAD_CONST 0 LOAD_CONST ('DeleteManyObject', 'DeleteManyReturn') IMPORT_NAME weaviate.collections.classes.batch IMPORT_FROM DeleteManyObject ST...
from weaviate.collections.classes.data import Error, RefError from weaviate.collections.classes.batch import ( DeleteManyObject, DeleteManyReturn, ) __all__ = [ "DeleteManyObject", "DeleteManyReturn", "Error", "RefError", ]
data/weaviate-client-4.4.4/weaviate/outputs/data.py
133
81
448,640
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AttributeFlowType at 0x7fab70027420, file "f.py", line 4> LOAD_CONST 'AttributeFlowType' MAKE_FUNCTION LOAD_CONST 'AttributeFlowType' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_NAM...
from enum import Enum class AttributeFlowType(str, Enum): Always = ("Always",) ObjectAddOnly = ("ObjectAddOnly",) MultiValueAddOnly = ("MultiValueAddOnly",) ValueAddOnly = ("ValueAddOnly",) AttributeAddOnly = ("AttributeAddOnly",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/attribute_flow_type.py
196
81
260,976
LOAD_CONST './scnet_r50_fpn_20e_coco.py' STORE_NAME _base_ LOAD_NAME dict LOAD_NAME dict LOAD_CONST 101 LOAD_NAME dict LOAD_CONST 'Pretrained' LOAD_CONST 'torchvision://resnet101' LOAD_CONST ('type', 'checkpoint') CALL_FUNCTION LOAD_CONST ('depth', 'init_cfg') CALL_FUNCTION LOAD_CONST ('backbone',) CALL_FUNCTION ST...
_base_ = "./scnet_r50_fpn_20e_coco.py" model = dict( backbone=dict( depth=101, init_cfg=dict(type="Pretrained", checkpoint="torchvision://resnet101"), ) )
data/mmdet-3.3.0/mmdet/.mim/configs/scnet/scnet_r101_fpn_20e_coco.py
106
81
151,349
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object SimulationAutomationStatus at 0x7fab820f4780, file "f.py", line 4> LOAD_CONST 'SimulationAutomationStatus' MAKE_FUNCTION LOAD_CONST 'SimulationAutomationStatus' LOAD_NAME str LOAD_NAME E...
from enum import Enum class SimulationAutomationStatus(str, Enum): Unknown = ("unknown",) Draft = ("draft",) NotRunning = ("notRunning",) Running = ("running",) Completed = ("completed",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/simulation_automation_status.py
209
81
260,589
LOAD_CONST '\nA short Python script\n=====================\n\nThis demonstrates an example ``.py`` file that is not executed when gallery is\ngenerated (see :ref:`build_pattern`) but nevertheless gets included as an\nexample. Note that no output is capture as this file is not executed.\n' STORE_NAME __doc__ LOAD_NAME ...
""" A short Python script ===================== This demonstrates an example ``.py`` file that is not executed when gallery is generated (see :ref:`build_pattern`) but nevertheless gets included as an example. Note that no output is capture as this file is not executed. """ print([i for i in range(10)])
data/sphinx-gallery-0.15.0/examples/no_output/just_code.py
175
81
391,201
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('AccessAnalyzer',) IMPORT_NAME prowler.providers.aws.services.accessanalyzer.accessanalyzer_service IMPORT_FROM Acces...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.accessanalyzer.accessanalyzer_service import ( AccessAnalyzer, ) accessanalyzer_client = AccessAnalyzer(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/accessanalyzer/accessanalyzer_client.py
130
81
183,274
LOAD_CONST 1 LOAD_CONST ('AbstractClient',) IMPORT_NAME base IMPORT_FROM AbstractClient STORE_NAME AbstractClient POP_TOP LOAD_CONST 1 LOAD_CONST ('AsyncHTTPClient',) IMPORT_NAME http IMPORT_FROM AsyncHTTPClient STORE_NAME AsyncHTTPClient POP_TOP LOAD_CONST 1 LOAD_CONST ('HTTPClient',) IMPORT_NAME http IMPORT_FROM HT...
from .base import AbstractClient from .http import AsyncHTTPClient from .http import HTTPClient from .http import SyncHTTPClient from .proxy import RemoteProxy __all__ = [ "AsyncHTTPClient", "SyncHTTPClient", "HTTPClient", "AbstractClient", "RemoteProxy", ]
data/bentoml-1.2.4/src/_bentoml_impl/client/__init__.py
183
81
103,954
LOAD_CONST '\nThis subpackage provides a framework for representing models and\nperforming model evaluation and fitting. It supports 1D and 2D models\nand fitting with parameter constraints. It has some predefined models\nand fitting routines.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('fitting', 'models') IMPORT_...
""" This subpackage provides a framework for representing models and performing model evaluation and fitting. It supports 1D and 2D models and fitting with parameter constraints. It has some predefined models and fitting routines. """ from . import fitting, models from .core import * from .parameters import * from .se...
data/astropy-6.0.0/astropy/modeling/__init__.py
146
81
21,600
LOAD_CONST 0 LOAD_CONST ('version',) IMPORT_NAME importlib_metadata IMPORT_FROM version STORE_NAME version POP_TOP LOAD_CONST 'snyk' STORE_NAME __title__ LOAD_CONST 'An API client for the Snyk API.' STORE_NAME __description__ LOAD_CONST 'https://snyk.docs.apiary.io' STORE_NAME __url__ LOAD_CONST 'MIT' STORE_NAME __...
from importlib_metadata import version # type: ignore __title__ = "snyk" __description__ = "An API client for the Snyk API." __url__ = "https://snyk.docs.apiary.io" __license__ = "MIT" __version__ = version("pysnyk")
data/pysnyk-0.9.19/snyk/__version__.py
114
81
420,508
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('NetworkFirewall',) IMPORT_NAME prowler.providers.aws.services.networkfirewall.networkfirewall_service IMPORT_FROM Ne...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.networkfirewall.networkfirewall_service import ( NetworkFirewall, ) networkfirewall_client = NetworkFirewall(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/networkfirewall/networkfirewall_client.py
130
81
183,271
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('Fraction',) IMPORT_NAME fractions IMPORT_FROM Fraction STORE_NAME Fraction POP_TOP LOAD_CONST 0 LOAD_CONST ('NamedTuple',) IMPORT_NAME typing IMPORT_FROM NamedTuple STORE_NA...
from __future__ import annotations from fractions import Fraction from typing import NamedTuple from .geometry import Spacing class BoxModel(NamedTuple): """The result of `get_box_model`.""" width: Fraction height: Fraction margin: Spacing # Additional margin
data/textual-0.52.1/src/textual/box_model.py
284
81
26,548
LOAD_CONST 0 LOAD_CONST ('underscore', 'pluralize') IMPORT_NAME inflection IMPORT_FROM underscore STORE_NAME underscore IMPORT_FROM pluralize STORE_NAME pluralize POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Operation at 0x7fa6f3491e40, file "f.py", line 4> LOAD_CONST 'Operation' MAKE_FUNCTION LOAD_CONST 'Operatio...
from inflection import underscore, pluralize class Operation(object): @classmethod def default_path(cls): return "%s/:id" % cls.lookup_key() @classmethod def lookup_key(cls): return underscore(pluralize(cls.__name__))
data/Quandl-3.7.0/quandl/operations/operation.py
287
81
53,368
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object DeviceManagementPartnerTenantState at 0x7fab4298eed0, file "f.py", line 4> LOAD_CONST 'DeviceManagementPartnerTenantState' MAKE_FUNCTION LOAD_CONST 'DeviceManagementPartnerTenantState' L...
from enum import Enum class DeviceManagementPartnerTenantState(str, Enum): Unknown = ("unknown",) Unavailable = ("unavailable",) Enabled = ("enabled",) Terminated = ("terminated",) Rejected = ("rejected",) Unresponsive = ("unresponsive",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/device_management_partner_tenant_state.py
211
81
261,028
LOAD_CONST 0 LOAD_CONST ('Bleu',) IMPORT_NAME ignite.metrics.nlp.bleu IMPORT_FROM Bleu STORE_NAME Bleu POP_TOP LOAD_CONST 0 LOAD_CONST ('Rouge', 'RougeL', 'RougeN') IMPORT_NAME ignite.metrics.nlp.rouge IMPORT_FROM Rouge STORE_NAME Rouge IMPORT_FROM RougeL STORE_NAME RougeL IMPORT_FROM RougeN STORE_NAME RougeN POP_TOP ...
from ignite.metrics.nlp.bleu import Bleu from ignite.metrics.nlp.rouge import Rouge, RougeL, RougeN __all__ = [ "Bleu", "Rouge", "RougeN", "RougeL", ]
data/pytorch-ignite-0.4.13/ignite/metrics/nlp/__init__.py
150
81
316,958
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME builtins STORE_NAME builtins LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST <code object pytest_configure at 0x7fab40da16f0, file "f.py", line 5> LOAD_CONST 'pytest_configure' MAKE_FUNCTION STORE_NAME pytest_configure LOAD_CONST <code object add_future...
import builtins import sys def pytest_configure(): add_future_flags() def add_future_flags(): # pragma: no cover if sys.version_info > (3, 10): return builtins.EncodingWarning = type("EncodingWarning", (Warning,), {})
data/zipp-3.17.0/conftest.py
218
81
390,999
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pathlib STORE_NAME pathlib LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 'index' STORE_NAME master_doc LOAD_NAME sys LOAD_ATTR path...
from __future__ import annotations import pathlib import sys master_doc = "index" sys.path.insert(0, str(pathlib.Path(__file__).parent)) extensions = [ "sphinx.ext.autodoc", "sphinx_autodoc_typehints", ]
data/sphinx_autodoc_typehints-2.0.0/tests/roots/test-resolve-typing-guard-tmp/conf.py
147
81
185,881
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST None IMPORT_NAME salt.executors.splay IMPORT_FROM executors ROT_TWO POP_TOP IMPORT_FROM splay STORE_NAME splay_exec POP_TOP LOAD_NAME pytest LOAD_ATTR fixture LOAD_CONST <code object configure_loader_modules at 0x7faac02be1e0, f...
import pytest import salt.executors.splay as splay_exec @pytest.fixture def configure_loader_modules(): return {splay_exec: {"__grains__": {"id": "foo"}}} def test__get_hash(): assert splay_exec._get_hash()
data/salt-3006.6/tests/pytests/unit/executors/test_splay.py
236
81
96,125
LOAD_CONST 'Config flow to configure Life360 integration.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('ConfigFlow',) IMPORT_NAME homeassistant.config_entries IMPORT_FROM ConfigFlow STORE_NAME Config...
"""Config flow to configure Life360 integration.""" from __future__ import annotations from homeassistant.config_entries import ConfigFlow from . import DOMAIN class Life360ConfigFlow(ConfigFlow, domain=DOMAIN): """Life360 integration config flow.""" VERSION = 1
data/homeassistant-2024.2.2/homeassistant/components/life360/config_flow.py
251
81
297,737
LOAD_CONST './vfnet_r50_fpn_1x_coco.py' STORE_NAME _base_ LOAD_NAME dict LOAD_NAME dict LOAD_CONST 101 LOAD_NAME dict LOAD_CONST 'Pretrained' LOAD_CONST 'torchvision://resnet101' LOAD_CONST ('type', 'checkpoint') CALL_FUNCTION LOAD_CONST ('depth', 'init_cfg') CALL_FUNCTION LOAD_CONST ('backbone',) CALL_FUNCTION STO...
_base_ = "./vfnet_r50_fpn_1x_coco.py" model = dict( backbone=dict( depth=101, init_cfg=dict(type="Pretrained", checkpoint="torchvision://resnet101"), ) )
data/mmdet-3.3.0/mmdet/.mim/configs/vfnet/vfnet_r101_fpn_1x_coco.py
106
81
151,488
LOAD_CONST 0 LOAD_CONST ('CSVLogger',) IMPORT_NAME lightning.fabric.loggers.csv_logs IMPORT_FROM CSVLogger STORE_NAME CSVLogger POP_TOP LOAD_CONST 0 LOAD_CONST ('Logger',) IMPORT_NAME lightning.fabric.loggers.logger IMPORT_FROM Logger STORE_NAME Logger POP_TOP LOAD_CONST 0 LOAD_CONST ('TensorBoardLogger',) IMPORT_NAM...
from lightning.fabric.loggers.csv_logs import CSVLogger # noqa: F401 from lightning.fabric.loggers.logger import Logger # noqa: F401 from lightning.fabric.loggers.tensorboard import TensorBoardLogger # noqa: F401
data/lightning-2.2.0.post0/src/lightning/fabric/loggers/__init__.py
118
81
121,781
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pathlib STORE_NAME pathlib LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 'index' STORE_NAME master_doc LOAD_NAME sys LOAD_ATTR path...
from __future__ import annotations import pathlib import sys master_doc = "index" sys.path.insert(0, str(pathlib.Path(__file__).parent)) extensions = [ "sphinx.ext.autodoc", "sphinx_autodoc_typehints", ]
data/sphinx_autodoc_typehints-2.0.0/tests/roots/test-resolve-typing-guard/conf.py
147
81
185,879
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object OnPremisesDirectorySynchronizationDeletionPreventionType at 0x7fab4298e420, file "f.py", line 4> LOAD_CONST 'OnPremisesDirectorySynchronizationDeletionPreventionType' MAKE_FUNCTION LOAD_...
from enum import Enum class OnPremisesDirectorySynchronizationDeletionPreventionType(str, Enum): Disabled = ("disabled",) EnabledForCount = ("enabledForCount",) EnabledForPercentage = ("enabledForPercentage",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/on_premises_directory_synchronization_deletion_prevention_type.py
233
81
261,223
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME csv STORE_NAME csv LOAD_CONST 0 LOAD_CONST ('StringIO',) IMPORT_NAME io IMPORT_FROM StringIO STORE_NAME StringIO POP_TOP LOAD_CONST 'csv_to_list' STORE_NAME __all__ LOAD_CONST <code object csv_to_list at 0x7fab42ac9150, file "f.py", line 8> LOAD_CONST 'csv_to_list' MAKE_FUNCT...
import csv from io import StringIO __all__ = "csv_to_list" def csv_to_list(value): if isinstance(value, str) and value: reader = csv.reader(StringIO(value)) parsed = next(reader) return parsed return []
data/setoptconf-tmp-0.3.1/setoptconf/util.py
181
81
317,089
LOAD_CONST './htc_r50_fpn_20e_coco.py' STORE_NAME _base_ LOAD_NAME dict LOAD_NAME dict LOAD_CONST 101 LOAD_NAME dict LOAD_CONST 'Pretrained' LOAD_CONST 'torchvision://resnet101' LOAD_CONST ('type', 'checkpoint') CALL_FUNCTION LOAD_CONST ('depth', 'init_cfg') CALL_FUNCTION LOAD_CONST ('backbone',) CALL_FUNCTION STOR...
_base_ = "./htc_r50_fpn_20e_coco.py" model = dict( backbone=dict( depth=101, init_cfg=dict(type="Pretrained", checkpoint="torchvision://resnet101"), ) )
data/mmdet-3.3.0/mmdet/.mim/configs/htc/htc_r101_fpn_20e_coco.py
106
81
151,585
LOAD_CONST 0 LOAD_CONST ('tools',) IMPORT_NAME tfrecord IMPORT_FROM tools STORE_NAME tools POP_TOP LOAD_CONST 0 LOAD_CONST ('torch',) IMPORT_NAME tfrecord IMPORT_FROM torch STORE_NAME torch POP_TOP LOAD_CONST 0 LOAD_CONST ('example_pb2',) IMPORT_NAME tfrecord IMPORT_FROM example_pb2 STORE_NAME example_pb2 POP_TOP LO...
from tfrecord import tools from tfrecord import torch from tfrecord import example_pb2 from tfrecord import iterator_utils from tfrecord import reader from tfrecord import writer from tfrecord.iterator_utils import * from tfrecord.reader import * from tfrecord.writer import *
data/tfrecord-1.14.4/tfrecord/__init__.py
230
81
213,717
LOAD_CONST 0 LOAD_CONST ('read_ipc', 'read_ipc_schema', 'read_ipc_stream', 'scan_ipc') IMPORT_NAME polars.io.ipc.functions IMPORT_FROM read_ipc STORE_NAME read_ipc IMPORT_FROM read_ipc_schema STORE_NAME read_ipc_schema IMPORT_FROM read_ipc_stream STORE_NAME read_ipc_stream IMPORT_FROM scan_ipc STORE_NAME scan_ipc POP_T...
from polars.io.ipc.functions import read_ipc, read_ipc_schema, read_ipc_stream, scan_ipc __all__ = [ "read_ipc", "read_ipc_stream", "read_ipc_schema", "scan_ipc", ]
data/polars-0.20.10/polars/io/ipc/__init__.py
155
81
333,649
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'DJANGO_SETTINGS_MODULE' LOAD_CONST 'foobar.settings' CALL_ME...
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "foobar.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
data/jedi-0.19.1/test/examples/django/manage.py
155
81
421,010
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME AVFoundation STORE_NAME AVFoundation LOAD_CONST 0 LOAD_CONST ('TestCase', 'min_os_level') IMPORT_NAME PyObjCTools.TestSupport IMPORT_FROM TestCase STORE_NAME TestCase IMPORT_FROM min_os_level STORE_NAME min_os_level POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TestAVUtilit...
import AVFoundation from PyObjCTools.TestSupport import TestCase, min_os_level class TestAVUtilities(TestCase): @min_os_level("10.7") def testFunctions(self): AVFoundation.AVMakeRectWithAspectRatioInsideRect # No further testing needed
data/pyobjc-framework-AVFoundation-10.1/PyObjCTest/test_avutilities.py
265
81
94,974
LOAD_CONST 0 LOAD_CONST ('Column', 'Integer', 'String') IMPORT_NAME sqlalchemy IMPORT_FROM Column STORE_NAME Column IMPORT_FROM Integer STORE_NAME Integer IMPORT_FROM String STORE_NAME String POP_TOP LOAD_CONST 0 LOAD_CONST ('Model',) IMPORT_NAME flask_appbuilder IMPORT_FROM Model STORE_NAME Model POP_TOP LOAD_BUILD_...
from sqlalchemy import Column, Integer, String from flask_appbuilder import Model class ContactGroup(Model): id = Column(Integer, primary_key=True) name = Column(String(50), unique=True, nullable=False) def __repr__(self): return self.name
data/Flask-AppBuilder-4.4.0/examples/quickactions/app/models.py
277
81
317,529
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME polars STORE_NAME pl LOAD_CONST None LOAD_CONST ('return',) BUILD_CONST_KEY_MAP LOAD_CONST <code object test_flatten_alias at 0x7f8b2000bdb0, file "f.py", line 4> LOAD_CONST 'test_flatten_alias' MAKE_FUNCTION STORE_NAME test_flatten_alias LOAD_CONST None RETURN_VALUE LOAD_CONS...
import polars as pl def test_flatten_alias() -> None: assert ( """len().alias("bar")""" in pl.LazyFrame({"a": [1, 2]}) .select(pl.len().alias("foo").alias("bar")) .explain() )
data/polars-0.20.10/py-polars/tests/unit/test_simplify.py
183
81
333,767
LOAD_CONST 0 LOAD_CONST ('TType', 'TMessageType', 'TFrozenDict', 'TException', 'TApplicationException') IMPORT_NAME thrift.Thrift IMPORT_FROM TType STORE_NAME TType IMPORT_FROM TMessageType STORE_NAME TMessageType IMPORT_FROM TFrozenDict STORE_NAME TFrozenDict IMPORT_FROM TException STORE_NAME TException IMPORT_FROM TA...
from thrift.Thrift import ( TType, TMessageType, TFrozenDict, TException, TApplicationException, ) from thrift.protocol.TProtocol import TProtocolException from thrift.TRecursive import fix_spec import sys from .ttypes import *
data/parquet_tools-0.2.15/parquet_tools/gen_py/parquet/constants.py
197
81
235,545
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_NAME str LOAD_CONST ('username',) BUILD_CONST_KEY_MAP LOAD_CONST <code object main at 0x7fab41d24270, file "f.py", line 4> LOAD_CONST 'main' MAKE_FUNCTION STORE_NAME main LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD...
import typer def main(username: str): if username == "root": print("The root user is reserved") raise typer.Exit(code=1) print(f"New user created: {username}") if __name__ == "__main__": typer.run(main)
data/typer-0.9.0/docs_src/terminating/tutorial002.py
189
81
224,526
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'DJANGO_SETTINGS_MODULE' LOAD_CONST 't.proj.settings' CALL_ME...
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "t.proj.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
data/django-celery-beat-2.5.0/manage.py
155
81
117,903
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_CONST 0 LOAD_CONST ('Annotated',) IMPORT_NAME typing_extensions IMPORT_FROM Annotated STORE_NAME Annotated POP_TOP LOAD_NAME Annotated LOAD_NAME typer LOAD_ATTR FileText LOAD_NAME typer LOAD_METHOD Option CALL_METHOD BUILD_TUPLE BINARY_SUBSCR LOAD_C...
import typer from typing_extensions import Annotated def main(config: Annotated[typer.FileText, typer.Option()]): for line in config: print(f"Config line: {line}") if __name__ == "__main__": typer.run(main)
data/typer-0.9.0/docs_src/parameter_types/file/tutorial001_an.py
212
81
224,504
LOAD_CONST 0 LOAD_CONST ('re_path',) IMPORT_NAME django.urls IMPORT_FROM re_path STORE_NAME re_path POP_TOP LOAD_CONST 1 LOAD_CONST ('views',) IMPORT_NAME IMPORT_FROM views STORE_NAME views POP_TOP LOAD_NAME re_path LOAD_CONST '^$' LOAD_NAME views LOAD_ATTR sample_view LOAD_CONST 'message' LOAD_CONST 'sample appho...
from django.urls import re_path from . import views urlpatterns = [ re_path( r"^$", views.sample_view, { "message": "sample apphook2 root page", }, name="sample2-root", ), ]
data/django-cms-4.1.0/cms/test_utils/project/sampleapp/urls2.py
122
81
87,038
LOAD_BUILD_CLASS LOAD_CONST <code object NoUniqueMatch at 0x7fab80234930, file "f.py", line 1> LOAD_CONST 'NoUniqueMatch' MAKE_FUNCTION LOAD_CONST 'NoUniqueMatch' LOAD_NAME RuntimeError CALL_FUNCTION STORE_NAME NoUniqueMatch LOAD_BUILD_CLASS LOAD_CONST <code object NoMatches at 0x7fab80234ed0, file "f.py", line 5> LOA...
class NoUniqueMatch(RuntimeError): """There was more than one extension, or none, that matched the query.""" class NoMatches(NoUniqueMatch): """There were no extensions with the driver name found.""" class MultipleMatches(NoUniqueMatch): """There were multiple matches for the given name."""
data/stevedore-5.1.0/stevedore/exception.py
357
81
162,183
LOAD_CONST 'Molecule Application Module.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Runtime',) IMPORT_NAME ansible_compat.runtime IMPORT_FROM Runtime STORE_NAME Runtime POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object App at 0x7f8e4475cf60, file "f.py", line 6> LOAD_CONST 'App' MAKE_FUNCTION LOAD_CONST 'App' CALL_...
"""Molecule Application Module.""" from ansible_compat.runtime import Runtime class App: """App class that keep runtime status.""" def __init__(self) -> None: """Create a new app instance.""" self.runtime = Runtime(isolated=False) app = App()
data/molecule-24.2.0/src/molecule/app.py
242
81
10,451
LOAD_CONST 0 LOAD_CONST ('absolute_import', 'division', 'print_function') IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM division STORE_NAME division IMPORT_FROM print_function STORE_NAME print_function POP_TOP LOAD_NAME type STORE_NAME __metaclass__ SETUP_EXCEPT to 38 LOAD...
from __future__ import absolute_import, division, print_function __metaclass__ = type try: import __builtin__ except ImportError: BUILTINS = "builtins" else: BUILTINS = "__builtin__" __all__ = ["__builtin__"]
data/ansible-9.2.0/ansible_collections/ansible/posix/tests/unit/compat/builtins.py
177
81
6,620
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_CONST 0 LOAD_CONST ('Annotated',) IMPORT_NAME typing_extensions IMPORT_FROM Annotated STORE_NAME Annotated POP_TOP LOAD_NAME str LOAD_NAME Annotated LOAD_NAME str LOAD_NAME typer LOAD_ATTR Option LOAD_CONST True LOAD_CONST ('prompt',) CALL_FUNCTION ...
import typer from typing_extensions import Annotated def main(name: str, lastname: Annotated[str, typer.Option(prompt=True)]): print(f"Hello {name} {lastname}") if __name__ == "__main__": typer.run(main)
data/typer-0.9.0/docs_src/options/prompt/tutorial001_an.py
206
81
224,407
LOAD_CONST 'your_main_bot_token' STORE_NAME MAIN_BOT_TOKEN LOAD_CONST 'your_domain.com' STORE_NAME WEBHOOK_HOST LOAD_CONST 'telegram_webhook' STORE_NAME WEBHOOK_PATH LOAD_CONST '0.0.0.0' STORE_NAME WEBAPP_HOST LOAD_CONST 3500 STORE_NAME WEBAPP_PORT LOAD_CONST None RETURN_VALUE
MAIN_BOT_TOKEN = "your_main_bot_token" WEBHOOK_HOST = "your_domain.com" WEBHOOK_PATH = "telegram_webhook" WEBAPP_HOST = "0.0.0.0" WEBAPP_PORT = 3500
data/pytelegrambotapi-4.16.1/examples/asynchronous_telebot/multibot/config.py
99
81
419,162
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_CONST <code object callback at 0x7fab641e7030, file "f.py", line 4> LOAD_CONST 'callback' MAKE_FUNCTION STORE_NAME callback LOAD_NAME typer LOAD_ATTR Typer LOAD_NAME callback LOAD_CONST ('callback',) CALL_FUNCTION STORE_NAME app LOAD_NAME app LOAD_...
import typer def callback(): print("Running a command") app = typer.Typer(callback=callback) @app.command() def create(name: str): print(f"Creating user: {name}") if __name__ == "__main__": app()
data/typer-0.9.0/docs_src/commands/callback/tutorial002.py
225
81
224,441
SETUP_ANNOTATIONS LOAD_CONST 0 LOAD_CONST None IMPORT_NAME logging STORE_NAME logging LOAD_CONST 8000 STORE_NAME DEFAULT_SERVER_PORT LOAD_NAME int LOAD_NAME __annotations__ LOAD_CONST 'DEFAULT_SERVER_PORT' STORE_SUBSCR LOAD_CONST 'localhost' STORE_NAME DEFAULT_SERVER_LISTEN_ADDRESS LOAD_NAME str LOAD_NAME __annotatio...
import logging DEFAULT_SERVER_PORT: int = 8000 DEFAULT_SERVER_LISTEN_ADDRESS: str = "localhost" DEFAULT_LOGGING_LEVEL = logging.INFO SERVER_PORT: int = DEFAULT_SERVER_PORT SERVER_LISTEN_ADDRESS: str = DEFAULT_SERVER_LISTEN_ADDRESS
data/anybadge-1.14.0/anybadge/server/config.py
190
81
120,965
LOAD_CONST 0 LOAD_CONST ('select_random_ports',) IMPORT_NAME zmq.ssh.tunnel IMPORT_FROM select_random_ports STORE_NAME select_random_ports POP_TOP LOAD_CONST <code object test_random_ports at 0x7fab823d8b70, file "f.py", line 4> LOAD_CONST 'test_random_ports' MAKE_FUNCTION STORE_NAME test_random_ports LOAD_CONST None ...
from zmq.ssh.tunnel import select_random_ports def test_random_ports(): for i in range(4096): ports = select_random_ports(10) assert len(ports) == 10 for p in ports: assert ports.count(p) == 1
data/pyzmq-25.1.2/zmq/tests/test_ssh.py
237
81
419,560
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_CONST 0 LOAD_CONST ('Annotated',) IMPORT_NAME typing_extensions IMPORT_FROM Annotated STORE_NAME Annotated POP_TOP LOAD_CONST ('Wade Wilson',) LOAD_NAME Annotated LOAD_NAME str LOAD_NAME typer LOAD_ATTR Option LOAD_CONST False LOAD_CONST ('show_defa...
import typer from typing_extensions import Annotated def main(fullname: Annotated[str, typer.Option(show_default=False)] = "Wade Wilson"): print(f"Hello {fullname}") if __name__ == "__main__": typer.run(main)
data/typer-0.9.0/docs_src/options/help/tutorial003_an.py
200
81
224,425
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME polars STORE_NAME pl LOAD_CONST 1 LOAD_CONST ('some_cell_series',) IMPORT_NAME IMPORT_FROM some_cell_series STORE_NAME some_cell_series POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME h3ronpy.polars IMPORT_FROM polars STORE_NAME _ POP_TOP LOAD_CONST <code object test_series_...
import polars as pl from . import some_cell_series import h3ronpy.polars as _ def test_series_cells_resolution(): resolution = some_cell_series().h3.cells_resolution() assert resolution.dtype == pl.UInt8 assert resolution[0] == 8
data/h3ronpy-0.20.0/tests/polars/test_series.py
225
81
364,810
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 0 LOAD_CONST None IMPORT_NAME avro STORE_NAME avro LOAD_BUILD_CLASS LOAD_CONST <code object TestVersion at 0x7fa90e62bb70, file "f.py", line 6> LOAD_CONST 'TestVersion' MAKE_FUNCTION LOAD_CONST 'TestVersion' LOAD_NAME unittest LOAD_ATTR ...
import unittest import avro class TestVersion(unittest.TestCase): def test_import_version(self): self.assertTrue(hasattr(avro, "__version__")) if __name__ == "__main__": # pragma: no coverage unittest.main()
data/avro-1.11.3/avro/test/test_init.py
253
81
127,792
LOAD_CONST 'Generate HTML5 documents directly from Python code.' STORE_NAME __doc__ LOAD_CONST ('Builder', 'Document', 'E', 'HTML') STORE_NAME __all__ LOAD_CONST '1.2.0' STORE_NAME __version__ LOAD_CONST 1 LOAD_CONST ('Builder',) IMPORT_NAME builder IMPORT_FROM Builder STORE_NAME Builder POP_TOP LOAD_CONST 1 LOAD_C...
"""Generate HTML5 documents directly from Python code.""" __all__ = "Builder", "Document", "E", "HTML" __version__ = "1.2.0" from .builder import Builder from .util import HTML from .makebuilder import E from .document import Document from . import builder, document, makebuilder, util
data/html5tagger-1.3.0/html5tagger/__init__.py
197
81
81,689
LOAD_CONST '\n jsonspec.operations.exceptions\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n' STORE_NAME __doc__ LOAD_CONST 'Error' LOAD_CONST 'NonexistentTarget' BUILD_LIST STORE_NAME __all__ LOAD_BUILD_CLASS LOAD_CONST <code object Error at 0x7fab41d24d20, file "f.py", line 9> LOAD_CONST 'Error' MAKE_FUNCTION LOAD_CONST 'Error...
""" jsonspec.operations.exceptions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ """ __all__ = ["Error", "NonexistentTarget"] class Error(LookupError): pass class NonexistentTarget(Error): """Raised when trying to get a non existent target""" pass
data/json_spec-0.11.0/src/jsonspec/operations/exceptions.py
260
81
216,373
LOAD_CONST 0 LOAD_CONST ('Optional',) IMPORT_NAME typing IMPORT_FROM Optional STORE_NAME Optional POP_TOP LOAD_CONST 1 LOAD_CONST ('BaseModel',) IMPORT_NAME base IMPORT_FROM BaseModel STORE_NAME BaseModel POP_TOP LOAD_CONST 'Account' BUILD_LIST STORE_NAME __all__ LOAD_BUILD_CLASS LOAD_CONST <code object Account at 0...
from typing import Optional from .base import BaseModel __all__ = ["Account"] class Account(BaseModel): id: str name: str display_name: str institution: Optional[str] = None pronouns: Optional[str] = None email: Optional[str] = None
data/beaker-py-1.24.0/beaker/data_model/account.py
290
81
120,840
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'cosmosdb postgres configuration coordinator' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7faa5dedb420, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST...
from azure.cli.core.aaz import * @register_command_group( "cosmosdb postgres configuration coordinator", ) class __CMDGroup(AAZCommandGroup): """Manage Azure Cosmos DB for PostgreSQL coordinator configurations.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/configuration/coordinator/__cmd_group.py
189
81
375,148
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME click STORE_NAME click LOAD_CONST 0 LOAD_CONST ('AccountClient',) IMPORT_NAME platformio.account.client IMPORT_FROM AccountClient STORE_NAME AccountClient POP_TOP LOAD_NAME click LOAD_ATTR command LOAD_CONST 'logout' LOAD_CONST 'Log out of PlatformIO Account' LOAD_CONST ('shor...
import click from platformio.account.client import AccountClient @click.command("logout", short_help="Log out of PlatformIO Account") def account_logout_cmd(): client = AccountClient() client.logout() click.secho("Successfully logged out!", fg="green")
data/platformio-6.1.13/platformio/account/commands/logout.py
198
81
344,679
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Sentiment at 0x7fab41ed0150, file "f.py", line 8> LOAD_CONST 'Sentiment' MAKE_FUNCTION LOAD_CONST 'Sentiment' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_NAME Sentiment LOAD_CONST N...
from enum import Enum """ Constants mapping to events from the Deepgram API """ class Sentiment(str, Enum): UNKNOWN: str = "" NEGATIVE: str = "negative" NEUTRAL: str = "neutral" POSITIVE: str = "positive"
data/deepgram-sdk-3.1.4/deepgram/clients/analyze/enums.py
242
81
80,878
LOAD_CONST 1 LOAD_CONST ('PolicyLearner',) IMPORT_NAME policylearner IMPORT_FROM PolicyLearner STORE_NAME PolicyLearner POP_TOP LOAD_CONST 1 LOAD_CONST ('CounterfactualUnitSelector',) IMPORT_NAME unit_selection IMPORT_FROM CounterfactualUnitSelector STORE_NAME CounterfactualUnitSelector POP_TOP LOAD_CONST 1 LOAD_CONS...
from .policylearner import PolicyLearner from .unit_selection import CounterfactualUnitSelector from .utils import get_treatment_costs, get_actual_value, get_uplift_best from .value_optimization import CounterfactualValueEstimator from .pns import get_pns_bounds
data/causalml-0.14.1/causalml/optimize/__init__.py
247
81
196,557
LOAD_CONST 0 LOAD_CONST ('TelegramObject',) IMPORT_NAME aiogram.types IMPORT_FROM TelegramObject STORE_NAME TelegramObject POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object GeneralForumTopicHidden at 0x7fa6f3491810, file "f.py", line 4> LOAD_CONST 'GeneralForumTopicHidden' MAKE_FUNCTION LOAD_CONST 'GeneralForumTopicHid...
from aiogram.types import TelegramObject class GeneralForumTopicHidden(TelegramObject): """ This object represents a service message about General forum topic hidden in the chat. Currently holds no information. Source: https://core.telegram.org/bots/api#generalforumtopichidden """
data/aiogram-3.4.1/aiogram/types/general_forum_topic_hidden.py
208
81
53,995
LOAD_CONST 'Components to provide cryptographic primitives based on JCE Standard Names.\nhttps://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html\n\n.. warning::\n No guarantee is provided on the modules and APIs within this\n namespace staying consistent. Directly reference at your own risk.\...
"""Components to provide cryptographic primitives based on JCE Standard Names. https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html .. warning:: No guarantee is provided on the modules and APIs within this namespace staying consistent. Directly reference at your own risk. """
data/dynamodb-encryption-sdk-3.2.0/src/dynamodb_encryption_sdk/internal/crypto/jce_bridge/__init__.py
93
81
79,885
LOAD_CONST 0 LOAD_CONST ('ErrorCode',) IMPORT_NAME mypy.errorcodes IMPORT_FROM ErrorCode STORE_NAME ErrorCode POP_TOP LOAD_NAME ErrorCode LOAD_CONST 'django-manager' LOAD_CONST 'Untyped manager disallowed' LOAD_CONST 'Django' CALL_FUNCTION STORE_NAME MANAGER_UNTYPED LOAD_NAME ErrorCode LOAD_CONST 'django-manager-mis...
from mypy.errorcodes import ErrorCode MANAGER_UNTYPED = ErrorCode("django-manager", "Untyped manager disallowed", "Django") MANAGER_MISSING = ErrorCode( "django-manager-missing", "Couldn't resolve manager for model", "Django" )
data/django-stubs-4.2.7/mypy_django_plugin/errorcodes.py
120
81
149,395
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME setuptools STORE_NAME setuptools LOAD_CONST 0 LOAD_CONST ('get_distribution',) IMPORT_NAME pkg_resources IMPORT_FROM get_distribution STORE_NAME get_distribution POP_TOP SETUP_EXCEPT to 34 LOAD_NAME get_distribution LOAD_CONST 'setuptools>=39.2.0' CALL_FUNCTION POP_TOP POP_BL...
import setuptools from pkg_resources import get_distribution try: get_distribution("setuptools>=39.2.0") except Exception as e: raise AssertionError( "Please upgrade setuptools by `pip install -U setuptools`: {}".format(e) ) setuptools.setup()
data/wirerope-0.4.7/setup.py
190
81
351,583
LOAD_CONST 1 LOAD_CONST ('TransformerListener',) IMPORT_NAME listener IMPORT_FROM TransformerListener STORE_NAME TransformerListener POP_TOP LOAD_CONST 1 LOAD_CONST ('TransformerModel',) IMPORT_NAME transformer_model IMPORT_FROM TransformerModel STORE_NAME TransformerModel POP_TOP LOAD_CONST 1 LOAD_CONST ('split_trf_...
from .listener import TransformerListener from .transformer_model import TransformerModel from .split_trf import split_trf_batch from .trfs2arrays import trfs2arrays __all__ = ["TransformerListener", "TransformerModel", "split_trf_batch", "trfs2arrays"]
data/spacy-transformers-1.3.4/spacy_transformers/layers/__init__.py
181
81
125,293
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME cairo STORE_NAME cairo LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest SETUP_EXCEPT to 34 LOAD_CONST 1 LOAD_CONST ('cmod',) IMPORT_NAME IMPORT_FROM cmod STORE_NAME cmod POP_TOP POP_BLOCK JUMP_FORWARD to 68 DUP_TOP LOAD_NAME ImportError COMPARE_OP exception ...
import cairo import pytest try: from . import cmod except ImportError: pytest.skip("cmod not built", allow_module_level=True) def test_foo(): surface = cmod.create_image_surface() assert isinstance(surface, cairo.ImageSurface)
data/pycairo-1.26.0/tests/test_cmod.py
237
81
389,001
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Sentiment at 0x7fab417ee4b0, file "f.py", line 8> LOAD_CONST 'Sentiment' MAKE_FUNCTION LOAD_CONST 'Sentiment' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_NAME Sentiment LOAD_CONST N...
from enum import Enum """ Constants mapping to events from the Deepgram API """ class Sentiment(str, Enum): UNKNOWN: str = "" NEGATIVE: str = "negative" NEUTRAL: str = "neutral" POSITIVE: str = "positive"
data/deepgram-sdk-3.1.4/deepgram/clients/prerecorded/enums.py
242
81
80,860
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'eventhubs namespace application-group' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab416c6420, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CM...
from azure.cli.core.aaz import * @register_command_group( "eventhubs namespace application-group", ) class __CMDGroup(AAZCommandGroup): """Manages Application Groups for premium eventhubs namespace.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/application_group/__cmd_group.py
191
81
374,800
LOAD_CONST "Dataset definition for booksum.\n\nDEPRECATED!\nIf you want to use the Booksum dataset builder class, use:\ntfds.builder_cls('booksum')\n" STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('lazy_builder_import',) IMPORT_NAME tensorflow_datasets.core IMPORT_FROM lazy_builder_import STORE_NAME lazy_builder_import ...
"""Dataset definition for booksum. DEPRECATED! If you want to use the Booksum dataset builder class, use: tfds.builder_cls('booksum') """ from tensorflow_datasets.core import lazy_builder_import Booksum = lazy_builder_import.LazyBuilderImport("booksum")
data/tensorflow-datasets-4.9.4/tensorflow_datasets/summarization/booksum/booksum.py
125
81
256,395
LOAD_CONST "Dataset definition for samsum.\n\nDEPRECATED!\nIf you want to use the Samsum dataset builder class, use:\ntfds.builder_cls('samsum')\n" STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('lazy_builder_import',) IMPORT_NAME tensorflow_datasets.core IMPORT_FROM lazy_builder_import STORE_NAME lazy_builder_import POP...
"""Dataset definition for samsum. DEPRECATED! If you want to use the Samsum dataset builder class, use: tfds.builder_cls('samsum') """ from tensorflow_datasets.core import lazy_builder_import Samsum = lazy_builder_import.LazyBuilderImport("samsum")
data/tfds-nightly-4.9.4.dev202402210044/tensorflow_datasets/summarization/samsum.py
125
81
211,340
LOAD_CONST "Dataset definition for newsroom.\n\nDEPRECATED!\nIf you want to use the Newsroom dataset builder class, use:\ntfds.builder_cls('newsroom')\n" STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('lazy_builder_import',) IMPORT_NAME tensorflow_datasets.core IMPORT_FROM lazy_builder_import STORE_NAME lazy_builder_impo...
"""Dataset definition for newsroom. DEPRECATED! If you want to use the Newsroom dataset builder class, use: tfds.builder_cls('newsroom') """ from tensorflow_datasets.core import lazy_builder_import Newsroom = lazy_builder_import.LazyBuilderImport("newsroom")
data/tfds-nightly-4.9.4.dev202402210044/tensorflow_datasets/summarization/newsroom.py
125
81
211,336
LOAD_CONST 'your_main_bot_token' STORE_NAME MAIN_BOT_TOKEN LOAD_CONST 'your_domain.com' STORE_NAME WEBHOOK_HOST LOAD_CONST 'telegram_webhook' STORE_NAME WEBHOOK_PATH LOAD_CONST '0.0.0.0' STORE_NAME WEBAPP_HOST LOAD_CONST 3500 STORE_NAME WEBAPP_PORT LOAD_CONST None RETURN_VALUE
MAIN_BOT_TOKEN = "your_main_bot_token" WEBHOOK_HOST = "your_domain.com" WEBHOOK_PATH = "telegram_webhook" WEBAPP_HOST = "0.0.0.0" WEBAPP_PORT = 3500
data/pytelegrambotapi-4.16.1/examples/multibot/config.py
99
81
419,124
LOAD_CONST 0 LOAD_CONST ('expanduser',) IMPORT_NAME os.path IMPORT_FROM expanduser STORE_NAME expanduser POP_TOP LOAD_CONST 'layouts.json' STORE_NAME LAYOUT_FILE LOAD_CONST '%s/.visdom/' LOAD_NAME expanduser LOAD_CONST '~' CALL_FUNCTION BINARY_MODULO STORE_NAME DEFAULT_ENV_PATH LOAD_CONST 8097 STORE_NAME DEFAULT_POR...
from os.path import expanduser LAYOUT_FILE = "layouts.json" DEFAULT_ENV_PATH = "%s/.visdom/" % expanduser("~") DEFAULT_PORT = 8097 DEFAULT_HOSTNAME = "localhost" DEFAULT_BASE_URL = "/" MAX_SOCKET_WAIT = 15
data/visdom-0.2.4/py/visdom/server/defaults.py
131
81
15,684
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME sys LOAD_ATTR version_info LOAD_CONST (3, 12) COMPARE_OP < POP_JUMP_IF_FALSE LOAD_CONST 0 LOAD_CONST ('patcher',) IMPORT_NAME eventlet IMPORT_FROM patcher STORE_NAME patcher POP_TOP LOAD_CONST 0 LOAD_CONST ('asyncore',) IMPORT_NAME eventlet.green ...
import sys if sys.version_info < (3, 12): from eventlet import patcher from eventlet.green import asyncore from eventlet.green import socket patcher.inject("asynchat", globals(), ("asyncore", asyncore), ("socket", socket)) del patcher
data/eventlet-0.35.1/eventlet/green/asynchat.py
171
81
361,940
LOAD_CONST '@desc\n Exceptions\n' STORE_NAME __doc__ LOAD_BUILD_CLASS LOAD_CONST <code object NoResultsFound at 0x7fab41499f60, file "f.py", line 6> LOAD_CONST 'NoResultsFound' MAKE_FUNCTION LOAD_CONST 'NoResultsFound' LOAD_NAME Exception CALL_FUNCTION STORE_NAME NoResultsFound LOAD_BUILD_CLASS LOAD_CONST <code objec...
"""@desc Exceptions """ class NoResultsFound(Exception): pass class NoResultsOrTrafficError(Exception): """When No results is returned or unusual traffic caused app to return empty results""" class IncorrectKeyWord(Exception): """When a wrong keyword argument is passed to the search function"""
data/search-engine-parser-0.6.8/search_engine_parser/core/exceptions.py
366
81
364,990
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'eventhubs eventhub consumer-group' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab802b9150, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGro...
from azure.cli.core.aaz import * @register_command_group( "eventhubs eventhub consumer-group", ) class __CMDGroup(AAZCommandGroup): """Manage Azure Event Hubs consumergroup.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/consumer_group/__cmd_group.py
191
81
374,765
LOAD_CONST 0 LOAD_CONST ('event_dispatcher',) IMPORT_NAME nameko.standalone.events IMPORT_FROM event_dispatcher STORE_NAME event_dispatcher POP_TOP LOAD_CONST 'AMQP_URI' LOAD_NAME AMQP_URI BUILD_MAP STORE_NAME config LOAD_NAME event_dispatcher LOAD_NAME config CALL_FUNCTION STORE_NAME dispatch LOAD_NAME dispatch LOA...
from nameko.standalone.events import event_dispatcher config = {"AMQP_URI": AMQP_URI} # e.g. "pyamqp://guest:guest@localhost" dispatch = event_dispatcher(config) dispatch("service_a", "event_type", "payløad")
data/nameko-2.14.1/docs/examples/standalone_events.py
108
81
43,618
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TargetedManagedAppGroupType at 0x7fab822db030, file "f.py", line 4> LOAD_CONST 'TargetedManagedAppGroupType' MAKE_FUNCTION LOAD_CONST 'TargetedManagedAppGroupType' LOAD_NAME str LOAD_NAM...
from enum import Enum class TargetedManagedAppGroupType(str, Enum): SelectedPublicApps = ("selectedPublicApps",) AllCoreMicrosoftApps = ("allCoreMicrosoftApps",) AllMicrosoftApps = ("allMicrosoftApps",) AllApps = ("allApps",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/targeted_managed_app_group_type.py
208
81
261,663
LOAD_CONST "Dataset definition for booksum.\n\nDEPRECATED!\nIf you want to use the Booksum dataset builder class, use:\ntfds.builder_cls('booksum')\n" STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('lazy_builder_import',) IMPORT_NAME tensorflow_datasets.core IMPORT_FROM lazy_builder_import STORE_NAME lazy_builder_import ...
"""Dataset definition for booksum. DEPRECATED! If you want to use the Booksum dataset builder class, use: tfds.builder_cls('booksum') """ from tensorflow_datasets.core import lazy_builder_import Booksum = lazy_builder_import.LazyBuilderImport("booksum")
data/tfds-nightly-4.9.4.dev202402210044/tensorflow_datasets/summarization/booksum/booksum.py
125
81
211,353
LOAD_CONST 0 LOAD_CONST ('exceptions',) IMPORT_NAME openstack IMPORT_FROM exceptions STORE_NAME exceptions POP_TOP LOAD_NAME exceptions LOAD_ATTR ConfigException STORE_NAME OpenStackConfigException LOAD_BUILD_CLASS LOAD_CONST <code object OpenStackConfigVersionException at 0x7fab821c54b0, file "f.py", line 6> LOAD_CO...
from openstack import exceptions OpenStackConfigException = exceptions.ConfigException class OpenStackConfigVersionException(OpenStackConfigException): """A version was requested that is different than what was found.""" def __init__(self, version): super(OpenStackConfigVersionException, self).__ini...
data/os-client-config-2.1.0/os_client_config/exceptions.py
279
82
221,742
LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 1 LOAD_CONST ('assert_that', 'assert_warn', 'soft_assertions', 'fail', 'soft_fail', 'add_extension', 'remove_extension', 'WarningLoggingAdapter', '__version__') IMPORT_NAME asse...
from __future__ import absolute_import from .assertpy import ( assert_that, assert_warn, soft_assertions, fail, soft_fail, add_extension, remove_extension, WarningLoggingAdapter, __version__, ) from .file import contents_of
data/assertpy-1.1/assertpy/__init__.py
213
82
206,141
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.faster_rcnn_box_coder.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.faster_rcnn_box_coder IMPORT_STAR LO...
"""Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.faster_rcnn_box_coder.""" from tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.faster_rcnn_box_coder import *
data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/object_detection/faster_rcnn_box_coder.py
102
82
401,242
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST ('pytest_jupyter.jupyter_server',) STORE_NAME pytest_plugins LOAD_NAME pytest LOAD_ATTR fixture LOAD_CONST <code object jp_server_config at 0x7fab8203a1e0, file "f.py", line 6> LOAD_CONST 'jp_server_config' MAKE_FUNCTION CALL_FUNCTION STORE_...
import pytest pytest_plugins = ("pytest_jupyter.jupyter_server",) @pytest.fixture def jp_server_config(jp_server_config): return {"ServerApp": {"jpserver_extensions": {"jupyterlab_code_formatter": True}}}
data/jupyterlab_code_formatter-2.2.1/conftest.py
155
82
110,615
LOAD_CONST 0 LOAD_CONST ('dirname', 'basename', 'isfile', 'join') IMPORT_NAME os.path IMPORT_FROM dirname STORE_NAME dirname IMPORT_FROM basename STORE_NAME basename IMPORT_FROM isfile STORE_NAME isfile IMPORT_FROM join STORE_NAME join POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME glob STORE_NAME glob LOAD_NAME gl...
from os.path import dirname, basename, isfile, join import glob modules = glob.glob(join(dirname(__file__), "*.py")) __all__ = [ basename(f)[:-3] for f in modules if isfile(f) and not f.endswith("__init__.py") ]
data/checkov-3.2.23/checkov/common/bridgecrew/run_metadata/extractors/__init__.py
243
82
160,223
LOAD_CONST 0 LOAD_CONST ('Any',) IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any POP_TOP LOAD_NAME Any LOAD_CONST None LOAD_CONST ('ip', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object load_ipython_extension at 0x7fab82312300, file "f.py", line 4> LOAD_CONST 'load_ipython_extension' MAKE_FUNCTION STORE_NAME lo...
from typing import Any def load_ipython_extension(ip: Any) -> None: # pragma: no cover from pigar._vendor.pip._vendor.rich.pretty import install from pigar._vendor.pip._vendor.rich.traceback import install as tr_install install() tr_install()
data/pigar-2.1.3/pigar/_vendor/pip/_vendor/rich/_extension.py
192
82
241,150
LOAD_CONST 'A Jupyter Server extension providing an implementation of the File ID service.' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('FileIdExtension',) IMPORT_NAME extension IMPORT_FROM FileIdExtension STORE_NAME FileIdExtension POP_TOP LOAD_CONST '0.9.1' STORE_NAME __version__ LOAD_CONST <code object _jupyter_s...
"""A Jupyter Server extension providing an implementation of the File ID service.""" from .extension import FileIdExtension __version__ = "0.9.1" def _jupyter_server_extension_points(): return [{"module": "jupyter_server_fileid", "app": FileIdExtension}]
data/jupyter_server_fileid-0.9.1/jupyter_server_fileid/__init__.py
176
82
444,638
LOAD_CONST 0 LOAD_CONST ('App',) IMPORT_NAME textual.app IMPORT_FROM App STORE_NAME App POP_TOP LOAD_CONST 0 LOAD_CONST ('Widget',) IMPORT_NAME textual.widget IMPORT_FROM Widget STORE_NAME Widget POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object WidthApp at 0x7faa51f69c90, file "f.py", line 5> LOAD_CONST 'WidthApp' MA...
from textual.app import App from textual.widget import Widget class WidthApp(App): CSS_PATH = "width.tcss" def compose(self): yield Widget() if __name__ == "__main__": app = WidthApp() app.run()
data/textual-0.52.1/docs/examples/styles/width.py
263
82
26,528
LOAD_CONST ' The main script ' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'OUTSIDE_OF_THE_INTERNAL_BLENDER_PYTHON_ENVIRONMENT_BUT_IN_RUN_SCRIPT' LOAD_CONST '1' CALL_METHOD POP_TOP LOAD_CONST 0 LOAD_CONST ('cli',) IMPO...
""" The main script """ import os os.environ.setdefault( "OUTSIDE_OF_THE_INTERNAL_BLENDER_PYTHON_ENVIRONMENT_BUT_IN_RUN_SCRIPT", "1" ) from blenderproc.command_line import cli cli()
data/blenderproc-2.7.0/blenderproc/__main__.py
130
82
349,574
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME attrs STORE_NAME attrs LOAD_CONST 2 LOAD_CONST ('Field',) IMPORT_NAME schema IMPORT_FROM Field STORE_NAME Field POP_TOP LOAD_NAME attrs LOAD_ATTR define LOAD...
from __future__ import annotations import attrs from ..schema import Field @attrs.define(kw_only=True, repr=False) class AnyField(Field): type = "any" builtin = True supported_constraints = [ "required", "enum", ]
data/frictionless-5.16.1/frictionless/fields/any.py
222
82
41,678
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('get_label_names',) IMPORT_NAME tf_keras.src.datasets.reuters IMPORT_FROM get_label_names STORE_NAME get_label_names POP_TOP LOAD_CONST 0 LOAD_CONST ('get_word_index',) IMPORT_NAME tf_keras.src.datasets.reuters IMPORT_FROM get_word_i...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.datasets.reuters import get_label_names from tf_keras.src.datasets.reuters import get_word_index from tf_keras.src.datasets.reuters import load_data
data/tf_keras-2.15.0/tf_keras/api/_v2/keras/datasets/reuters/__init__.py
162
82
354,149
LOAD_CONST 'Build phase of Sphinx application.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('IntEnum',) IMPORT_NAME enum IMPORT_FROM IntEnum STORE_NAME IntEnum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BuildPhase at 0x7fae2f37d660, file "f.py", line 6> LOAD_CONST 'BuildPhase' MAKE_FUNCTION LOAD_CONST 'BuildPha...
"""Build phase of Sphinx application.""" from enum import IntEnum class BuildPhase(IntEnum): """Build phase of Sphinx application.""" INITIALIZATION = 1 READING = 2 CONSISTENCY_CHECK = 3 RESOLVING = 3 WRITING = 4
data/sphinx-7.2.6/sphinx/util/build_phase.py
212
82
381,344
LOAD_CONST 0 LOAD_CONST ('print_function', 'division', 'absolute_import', 'annotations') IMPORT_NAME __future__ IMPORT_FROM print_function STORE_NAME print_function IMPORT_FROM division STORE_NAME division IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOA...
from __future__ import print_function, division, absolute_import, annotations from ..message import BackendMessage class NoData(BackendMessage): message_id = b"n" def __init__(self, data): BackendMessage.__init__(self) BackendMessage.register(NoData)
data/vertica-python-1.3.8/vertica_python/vertica/messages/backend_messages/no_data.py
290
82
287,004
LOAD_CONST 0 LOAD_CONST ('print_function', 'division', 'absolute_import', 'annotations') IMPORT_NAME __future__ IMPORT_FROM print_function STORE_NAME print_function IMPORT_FROM division STORE_NAME division IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOA...
from __future__ import print_function, division, absolute_import, annotations from ..message import BackendMessage class CloseComplete(BackendMessage): message_id = b"3" def __init__(self, data): BackendMessage.__init__(self) BackendMessage.register(CloseComplete)
data/vertica-python-1.3.8/vertica_python/vertica/messages/backend_messages/close_complete.py
290
82
287,010
LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 1 LOAD_CONST ('GoldenGateClient',) IMPORT_NAME golden_gate_client IMPORT_FROM GoldenGateClient STORE_NAME GoldenGateClient POP_TOP LOAD_CONST 1 LOAD_CONST ('GoldenGateClientCom...
from __future__ import absolute_import from .golden_gate_client import GoldenGateClient from .golden_gate_client_composite_operations import GoldenGateClientCompositeOperations from . import models __all__ = ["GoldenGateClient", "GoldenGateClientCompositeOperations", "models"]
data/oci-2.122.0/src/oci/golden_gate/__init__.py
181
82
414,741
LOAD_CONST 0 LOAD_CONST ('dirname', 'basename', 'isfile', 'join') IMPORT_NAME os.path IMPORT_FROM dirname STORE_NAME dirname IMPORT_FROM basename STORE_NAME basename IMPORT_FROM isfile STORE_NAME isfile IMPORT_FROM join STORE_NAME join POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME glob STORE_NAME glob LOAD_NAME gl...
from os.path import dirname, basename, isfile, join import glob modules = glob.glob(join(dirname(__file__), "*.py")) __all__ = [ basename(f)[:-3] for f in modules if isfile(f) and not f.endswith("__init__.py") ]
data/checkov-3.2.23/checkov/common/bridgecrew/integration_features/features/__init__.py
243
82
160,233
LOAD_CONST 0 LOAD_CONST ('TestCase',) IMPORT_NAME django.test IMPORT_FROM TestCase STORE_NAME TestCase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object VersionTest at 0x7fab41cb4ed0, file "f.py", line 4> LOAD_CONST 'VersionTest' MAKE_FUNCTION LOAD_CONST 'VersionTest' LOAD_NAME TestCase CALL_FUNCTION STORE_NAME Version...
from django.test import TestCase class VersionTest(TestCase): """Test presence of package version.""" def test_version(self): import bootstrap3 version = bootstrap3.__version__ version_parts = version.split(".") self.assertTrue(len(version_parts) >= 2)
data/django-bootstrap3-23.6/tests/test_version.py
267
82
222,072
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('InceptionV3',) IMPORT_NAME tf_keras.src.applications.inception_v3 IMPORT_FROM InceptionV3 STORE_NAME InceptionV3 POP_TOP LOAD_CONST 0 LOAD_CONST ('decode_predictions',) IMPORT_NAME tf_keras.src.applications.inception_v3 IMPORT_FROM ...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.applications.inception_v3 import InceptionV3 from tf_keras.src.applications.inception_v3 import decode_predictions from tf_keras.src.applications.inception_v3 import preprocess_input
data/tf_keras-nightly-2.17.0.dev2024022110/tf_keras/api/_v2/keras/applications/inception_v3/__init__.py
161
82
165,260
LOAD_CONST 0 LOAD_CONST ('dataclass',) IMPORT_NAME dataclasses IMPORT_FROM dataclass STORE_NAME dataclass POP_TOP LOAD_NAME dataclass LOAD_BUILD_CLASS LOAD_CONST <code object Person at 0x7fa6dbb668a0, file "f.py", line 4> LOAD_CONST 'Person' MAKE_FUNCTION LOAD_CONST 'Person' CALL_FUNCTION CALL_FUNCTION STORE_NAME Pers...
from dataclasses import dataclass @dataclass class Person: """Simple dataclass for a person's information""" name: str age: int = 2 """Field description.""" @dataclass class Empty: """A dataclass without any fields""" pass
data/pytkdocs-0.16.1/tests/fixtures/dataclass.py
291
82
46,834
LOAD_CONST '\nTwisted Pair: The framework of your ethernet.\n\nLow-level networking transports and utilities.\n\nSee also twisted.protocols.ethernet, twisted.protocols.ip,\ntwisted.protocols.raw and twisted.protocols.rawudp.\n\nMaintainer: Tommi Virtanen\n' STORE_NAME __doc__ LOAD_CONST None RETURN_VALUE
""" Twisted Pair: The framework of your ethernet. Low-level networking transports and utilities. See also twisted.protocols.ethernet, twisted.protocols.ip, twisted.protocols.raw and twisted.protocols.rawudp. Maintainer: Tommi Virtanen """
data/twisted-23.10.0/src/twisted/pair/__init__.py
96
82
384,051