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 0 LOAD_CONST ('BaseConverter', 'Converter', 'GenConverter', 'UnstructureStrategy') IMPORT_NAME cattrs.converters IMPORT_FROM BaseConverter STORE_NAME BaseConverter IMPORT_FROM Converter STORE_NAME Converter IMPORT_FROM GenConverter STORE_NAME GenConverter IMPORT_FROM UnstructureStrategy STORE_NAME Unstructur...
from cattrs.converters import ( BaseConverter, Converter, GenConverter, UnstructureStrategy, ) __all__ = ["BaseConverter", "Converter", "GenConverter", "UnstructureStrategy"]
data/cattrs-23.2.3/src/cattr/converters.py
104
57
194,754
LOAD_CONST 'Historical phenological data for cherry tree flowering at Kyoto City.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('CherryBlossoms',) IMPORT_NAME tensorflow_datasets.structured.cherry_blossoms.cherry_blossoms IMPORT_FROM CherryBlossoms STORE_NAME CherryBlossoms POP_TOP LOAD_CONST None RETURN_VALUE
"""Historical phenological data for cherry tree flowering at Kyoto City.""" from tensorflow_datasets.structured.cherry_blossoms.cherry_blossoms import ( CherryBlossoms, )
data/tensorflow-datasets-4.9.4/tensorflow_datasets/structured/cherry_blossoms/__init__.py
86
57
255,247
LOAD_BUILD_CLASS LOAD_CONST <code object DocumentSettings at 0x7faa3c39ded0, file "f.py", line 1> LOAD_CONST 'DocumentSettings' MAKE_FUNCTION LOAD_CONST 'DocumentSettings' LOAD_NAME object CALL_FUNCTION STORE_NAME DocumentSettings LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST 'Docume...
class DocumentSettings(object): """Current Settings""" element_separator = "*" segment_terminator = "~" sub_element_separator = ">" version = "00501"
data/badx12-0.2.2/badx12/_settings.py
152
57
136,908
LOAD_CONST 0 LOAD_CONST ('Resource',) IMPORT_NAME intercom.traits.api_resource IMPORT_FROM Resource STORE_NAME Resource POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Job at 0x7f8e2fe14300, file "f.py", line 4> LOAD_CONST 'Job' MAKE_FUNCTION LOAD_CONST 'Job' LOAD_NAME Resource CALL_FUNCTION STORE_NAME Job LOAD_CONST...
from intercom.traits.api_resource import Resource class Job(Resource): """A Bulk API Job. Ref: https://developers.intercom.io/reference#bulk-job-model """
data/python-intercom-3.1.0/intercom/job.py
157
57
396,817
LOAD_CONST 0 LOAD_CONST ('settings',) IMPORT_NAME django.conf IMPORT_FROM settings STORE_NAME settings POP_TOP LOAD_NAME getattr LOAD_NAME settings LOAD_CONST 'MPTT_DEFAULT_LEVEL_INDICATOR' LOAD_CONST '---' CALL_FUNCTION STORE_NAME DEFAULT_LEVEL_INDICATOR LOAD_CONST None RETURN_VALUE
from django.conf import settings """Default level indicator. By default is `'---'`.""" DEFAULT_LEVEL_INDICATOR = getattr(settings, "MPTT_DEFAULT_LEVEL_INDICATOR", "---")
data/django_mptt-0.16.0/mptt/settings.py
69
57
157,450
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object OperationStatus at 0x7fab70027420, file "f.py", line 4> LOAD_CONST 'OperationStatus' MAKE_FUNCTION LOAD_CONST 'OperationStatus' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_NAME Oper...
from enum import Enum class OperationStatus(str, Enum): NotStarted = ("NotStarted",) Running = ("Running",) Completed = ("Completed",) Failed = ("Failed",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/operation_status.py
165
57
261,774
LOAD_CONST 1 LOAD_CONST ('ArtificialFunction',) IMPORT_NAME functionlib IMPORT_FROM ArtificialFunction STORE_NAME ArtificialFunction POP_TOP LOAD_CONST 1 LOAD_CONST ('FarOptimumFunction',) IMPORT_NAME functionlib IMPORT_FROM FarOptimumFunction STORE_NAME FarOptimumFunction POP_TOP LOAD_CONST 1 LOAD_CONST ('Multiobjec...
from .functionlib import ArtificialFunction as ArtificialFunction from .functionlib import FarOptimumFunction as FarOptimumFunction from .multiobjective import MultiobjectiveFunction as MultiobjectiveFunction from .base import ExperimentFunction as ExperimentFunction
data/nevergrad-1.0.2/nevergrad/functions/__init__.py
127
57
448,828
LOAD_CONST 'Zope configuration support\n\nSoftware that wants to provide new config directives calls\nzope.configuration.meta.register.\n' STORE_NAME __doc__ LOAD_CONST <code object namespace at 0x7fa6f14ba1e0, file "f.py", line 8> LOAD_CONST 'namespace' MAKE_FUNCTION STORE_NAME namespace LOAD_CONST None RETURN_VALUE ...
"""Zope configuration support Software that wants to provide new config directives calls zope.configuration.meta.register. """ def namespace(suffix): return "http://namespaces.zope.org/" + suffix
data/zope.configuration-5.0.1/src/zope/configuration/__init__.py
109
57
47,224
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME logging STORE_NAME logging LOAD_CONST 0 LOAD_CONST ('Logger',) IMPORT_NAME logging IMPORT_FROM Logger STORE_NAME Logger POP_TOP LOAD_NAME str LOAD_NAME Logger LOAD_CONST ('name', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object get_logger at 0x7f8e2f98cc90, file "f.py", l...
import logging from logging import Logger def get_logger(name: str) -> Logger: logger: Logger = logging.getLogger(name) logger.addHandler(logging.NullHandler()) return logger
data/fiddler-client-2.4.0/fiddler/utils/logger.py
151
57
422,705
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object PrintQuality at 0x7fab70027660, file "f.py", line 4> LOAD_CONST 'PrintQuality' MAKE_FUNCTION LOAD_CONST 'PrintQuality' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_NAME PrintQuality ...
from enum import Enum class PrintQuality(str, Enum): Low = ("low",) Medium = ("medium",) High = ("high",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/print_quality.py
169
57
261,846
LOAD_CONST 1 LOAD_CONST ('ZoeDepthNK',) IMPORT_NAME zoedepth_nk_v1 IMPORT_FROM ZoeDepthNK STORE_NAME ZoeDepthNK POP_TOP LOAD_CONST 'v1' LOAD_NAME ZoeDepthNK BUILD_MAP STORE_NAME all_versions LOAD_CONST <code object <lambda> at 0x7faa75f5df60, file "f.py", line 7> LOAD_CONST '<lambda>' MAKE_FUNCTION STORE_NAME get_ver...
from .zoedepth_nk_v1 import ZoeDepthNK all_versions = { "v1": ZoeDepthNK, } get_version = lambda v: all_versions[v]
data/controlnet_aux-0.0.7/src/controlnet_aux/zoe/zoedepth/models/zoedepth_nk/__init__.py
130
57
153,629
LOAD_CONST 'sphinxcontrib.bibtex' BUILD_LIST STORE_NAME extensions LOAD_CONST 'sources.bib' BUILD_LIST STORE_NAME bibtex_bibfiles LOAD_CONST ('index', 'test.tex', 'Test', 'Mr. Test', 'manual') BUILD_LIST STORE_NAME latex_documents LOAD_CONST None RETURN_VALUE
extensions = ["sphinxcontrib.bibtex"] bibtex_bibfiles = ["sources.bib"] latex_documents = [ ("index", "test.tex", "Test", "Mr. Test", "manual"), ]
data/sphinxcontrib-bibtex-2.6.2/test/roots/test-latex_multidoc/conf.py
71
57
136,729
LOAD_CONST 0 LOAD_CONST ('path',) IMPORT_NAME django.urls IMPORT_FROM path STORE_NAME path POP_TOP LOAD_CONST 0 LOAD_CONST ('exports',) IMPORT_NAME django_prometheus IMPORT_FROM exports STORE_NAME exports POP_TOP LOAD_NAME path LOAD_CONST 'metrics' LOAD_NAME exports LOAD_ATTR ExportToDjangoView LOAD_CONST 'prometheus...
from django.urls import path from django_prometheus import exports urlpatterns = [ path("metrics", exports.ExportToDjangoView, name="prometheus-django-metrics") ]
data/django-prometheus-2.3.1/django_prometheus/urls.py
105
57
347,428
LOAD_CONST '\nCross-specification, implementation-agnostic JSON referencing.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Anchor', 'Registry', 'Resource', 'Specification') IMPORT_NAME referencing._core IMPORT_FROM Anchor STORE_NAME Anchor IMPORT_FROM Registry STORE_NAME Registry IMPORT_FROM Resource STORE_NAME Reso...
""" Cross-specification, implementation-agnostic JSON referencing. """ from referencing._core import Anchor, Registry, Resource, Specification __all__ = ["Anchor", "Registry", "Resource", "Specification"]
data/referencing-0.33.0/referencing/__init__.py
118
57
196,667
LOAD_CONST <code object foo at 0x7f8af13ad150, file "f.py", line 1> LOAD_CONST 'foo' MAKE_FUNCTION STORE_NAME foo LOAD_CONST None RETURN_VALUE LOAD_FAST aaaaa RETURN_VALUE
def foo(aaaaa, bbbbb, ccccc, ddddd, eeeee, fffff, ggggg, hhhhh, iiiii, jjjjj, kkkkk): return aaaaa # noqa
data/python-lsp-black-2.0.0/tests/fixtures/unformatted-line-length.py
53
57
329,368
LOAD_CONST 0 LOAD_CONST ('AsyncHTTPTestCase',) IMPORT_NAME tests.unit IMPORT_FROM AsyncHTTPTestCase STORE_NAME AsyncHTTPTestCase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ErrorTests at 0x7fab700cb660, file "f.py", line 4> LOAD_CONST 'ErrorTests' MAKE_FUNCTION LOAD_CONST 'ErrorTests' LOAD_NAME AsyncHTTPTestCase ...
from tests.unit import AsyncHTTPTestCase class ErrorTests(AsyncHTTPTestCase): def test_404(self): r = self.get("/unknown") self.assertEqual(404, r.code)
data/flower-2.0.1/tests/unit/views/test_error.py
228
57
70,010
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST ('get_channel_layer',) IMPORT_NAME channels.asgi IMPORT_FROM get_channel_layer STORE_NAME get_channel_layer POP_TOP LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'DJANGO_SETTINGS_MODULE' LOAD_CONST 'django_subscriptio...
import os from channels.asgi import get_channel_layer os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_subscriptions.settings") channel_layer = get_channel_layer()
data/graphql-ws-0.4.4/examples/django_subscriptions/django_subscriptions/asgi.py
110
57
108,507
LOAD_CONST 0 LOAD_CONST ('ClientValue',) IMPORT_NAME office365.runtime.client_value IMPORT_FROM ClientValue STORE_NAME ClientValue POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AnnouncementsData at 0x7fab81f0b9c0, file "f.py", line 4> LOAD_CONST 'AnnouncementsData' MAKE_FUNCTION LOAD_CONST 'AnnouncementsData' LOAD_...
from office365.runtime.client_value import ClientValue class AnnouncementsData(ClientValue): @property def entity_type_name(self): return "SP.Publishing.AnnouncementsData"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/publishing/announcements/data.py
217
57
189,112
LOAD_CONST 'fernet_fields.test' BUILD_LIST STORE_NAME INSTALLED_APPS LOAD_CONST 'secret' STORE_NAME SECRET_KEY LOAD_CONST '1_7.W001' BUILD_LIST STORE_NAME SILENCED_SYSTEM_CHECKS LOAD_CONST None RETURN_VALUE
INSTALLED_APPS = [ "fernet_fields.test", ] SECRET_KEY = "secret" SILENCED_SYSTEM_CHECKS = ["1_7.W001"]
data/django-fernet-fields-0.6/fernet_fields/test/settings/base.py
67
57
290,410
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 'metadata' BUILD_LIST STORE_NAME __all__ LOAD_NAME sys LOAD_ATTR version_info LOAD_CONST (3, 12) COMPARE_OP > POP_JUMP_IF_FALSE LOAD_CONST 0 LOAD_CONST None IMPORT_NAME importlib.metadata IMPORT_FROM metadata STORE_NAME metadata POP_TOP JUMP_FORW...
import sys __all__ = ["metadata"] if sys.version_info > (3, 12): import importlib.metadata as metadata else: import importlib_metadata as metadata # type: ignore
data/keyring-24.3.0/keyring/py312compat.py
99
57
443,197
LOAD_CONST 0 LOAD_CONST ('DynamicOutputDefinition', 'InputDefinition', 'OutputDefinition', 'build_assets_job') IMPORT_NAME dagster._core.definitions IMPORT_FROM DynamicOutputDefinition STORE_NAME DynamicOutputDefinition IMPORT_FROM InputDefinition STORE_NAME InputDefinition IMPORT_FROM OutputDefinition STORE_NAME Outpu...
from dagster._core.definitions import ( DynamicOutputDefinition as DynamicOutputDefinition, InputDefinition as InputDefinition, OutputDefinition as OutputDefinition, build_assets_job as build_assets_job, )
data/dagster-1.6.5/dagster/_legacy/__init__.py
85
57
54,917
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 0 LOAD_CONST ('Path',) IMPORT_NAME pathlib IMPORT_FROM Path STORE_NAME Path POP_TOP LOAD_NAME Path LOAD_NAME sys LOAD_ATTR argv LOAD_CONST 1 BINARY_SUBSCR CALL_FUNCTION LOAD_METHOD read_text CALL_METHOD LOAD_CONST 'stage2\n' COMPARE_OP == POP_JUMP...
import sys from pathlib import Path assert Path(sys.argv[1]).read_text() == "stage2\n" Path(sys.argv[2]).write_text("int main(void){}\n")
data/numpy-1.26.4/vendored-meson/meson/test cases/common/262 generator chain/stage2.py
126
57
363,740
LOAD_CONST 0 LOAD_CONST ('LineModuleAttach',) IMPORT_NAME linebot.v3.moduleattach.api.line_module_attach IMPORT_FROM LineModuleAttach STORE_NAME LineModuleAttach POP_TOP LOAD_CONST 0 LOAD_CONST ('AsyncLineModuleAttach',) IMPORT_NAME linebot.v3.moduleattach.api.async_line_module_attach IMPORT_FROM AsyncLineModuleAttach...
from linebot.v3.moduleattach.api.line_module_attach import LineModuleAttach from linebot.v3.moduleattach.api.async_line_module_attach import AsyncLineModuleAttach
data/line-bot-sdk-3.9.0/linebot/v3/moduleattach/api/__init__.py
107
57
49,083
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object SynchronizationTaskExecutionResult at 0x7fab4298e270, file "f.py", line 4> LOAD_CONST 'SynchronizationTaskExecutionResult' MAKE_FUNCTION LOAD_CONST 'SynchronizationTaskExecutionResult' L...
from enum import Enum class SynchronizationTaskExecutionResult(str, Enum): Succeeded = ("Succeeded",) Failed = ("Failed",) EntryLevelErrors = ("EntryLevelErrors",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/synchronization_task_execution_result.py
179
57
261,030
LOAD_CONST 0 LOAD_CONST ('Extension',) IMPORT_NAME setuptools IMPORT_FROM Extension STORE_NAME Extension POP_TOP LOAD_NAME Extension LOAD_CONST 'extended.extended' LOAD_CONST 'extended/extended.c' BUILD_LIST CALL_FUNCTION BUILD_LIST STORE_NAME extensions LOAD_CONST <code object build at 0x7fab42351150, file "f.py", l...
from setuptools import Extension extensions = [Extension("extended.extended", ["extended/extended.c"])] def build(setup_kwargs): setup_kwargs.update({"ext_modules": extensions})
data/poetry_core-1.9.0/tests/masonry/builders/fixtures/extended/build.py
133
57
306,985
LOAD_CONST 0 LOAD_CONST ('OpenAPIToolkit', 'RequestsToolkit') IMPORT_NAME langchain_community.agent_toolkits.openapi.toolkit IMPORT_FROM OpenAPIToolkit STORE_NAME OpenAPIToolkit IMPORT_FROM RequestsToolkit STORE_NAME RequestsToolkit POP_TOP LOAD_CONST 'RequestsToolkit' LOAD_CONST 'OpenAPIToolkit' BUILD_LIST STORE_NAME...
from langchain_community.agent_toolkits.openapi.toolkit import ( OpenAPIToolkit, RequestsToolkit, ) __all__ = ["RequestsToolkit", "OpenAPIToolkit"]
data/langchain-0.1.8/langchain/agents/agent_toolkits/openapi/toolkit.py
95
57
368,415
LOAD_CONST '\nCopyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.\nSPDX-License-Identifier: MIT-0\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Transform',) IMPORT_NAME cfnlint.template.transforms.transform IMPORT_FROM Transform STORE_NAME Transform POP_TOP LOAD_CONST None RETURN_VALUE
""" Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0 """ from cfnlint.template.transforms.transform import Transform
data/cfn-lint-0.85.2/src/cfnlint/template/transforms/__init__.py
85
57
415,202
LOAD_CONST 0 LOAD_CONST ('check_dependencies',) IMPORT_NAME pyspark.sql.connect.utils IMPORT_FROM check_dependencies STORE_NAME check_dependencies POP_TOP LOAD_NAME check_dependencies LOAD_NAME __name__ CALL_FUNCTION POP_TOP LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME pyspark.sql.connect.client.core IMPORT_STAR LOAD_C...
from pyspark.sql.connect.utils import check_dependencies check_dependencies(__name__) from pyspark.sql.connect.client.core import * # noqa: F401,F403
data/pyspark-3.5.0/pyspark/sql/connect/client/__init__.py
85
57
382,701
LOAD_CONST 1 LOAD_CONST ('INDEX_NAME', 'INDEX_URL', 'encode_header', 'load_config', 'resolve_authconfig', 'resolve_repository_name') IMPORT_NAME auth IMPORT_FROM INDEX_NAME STORE_NAME INDEX_NAME IMPORT_FROM INDEX_URL STORE_NAME INDEX_URL IMPORT_FROM encode_header STORE_NAME encode_header IMPORT_FROM load_config STORE_N...
from .auth import ( INDEX_NAME, INDEX_URL, encode_header, load_config, resolve_authconfig, resolve_repository_name, ) # flake8: noqa
data/docker-py-1.10.6/docker/auth/__init__.py
115
57
196,223
LOAD_CONST 0 LOAD_CONST ('use_app',) IMPORT_NAME magicgui IMPORT_FROM use_app STORE_NAME use_app POP_TOP LOAD_CONST 0 LOAD_CONST ('APPLICATION_NAME',) IMPORT_NAME magicgui.application IMPORT_FROM APPLICATION_NAME STORE_NAME APPLICATION_NAME POP_TOP LOAD_CONST <code object test_app_name at 0x7f8e2fec3b70, file "f.py",...
from magicgui import use_app from magicgui.application import APPLICATION_NAME def test_app_name(): app = use_app("qt") assert app.native.applicationName() == APPLICATION_NAME
data/magicgui-0.8.1/tests/test_application.py
178
57
328,039
LOAD_CONST <code object test at 0x7fab427a6300, file "f.py", line 1> LOAD_CONST 'test' MAKE_FUNCTION STORE_NAME test LOAD_CONST <code object test at 0x7fab427a66f0, file "f.py", line 7> LOAD_CONST 'test' MAKE_FUNCTION STORE_NAME test LOAD_CONST None RETURN_VALUE LOAD_CONST None RETURN_VALUE LOAD_GLOBAL and_this LOAD...
def test(): """ This docstring does not get formatted """ # fmt: skip def test(): """This docstring gets formatted""" # trailing comment and_this + gets + formatted + too
data/ruff-0.2.2/crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/docstrings.py
124
57
342,255
LOAD_CONST '1.3.0' STORE_NAME __version__ LOAD_NAME str LOAD_CONST ('return',) BUILD_CONST_KEY_MAP LOAD_CONST <code object get_version at 0x7fab417eee40, file "f.py", line 4> LOAD_CONST 'get_version' MAKE_FUNCTION STORE_NAME get_version LOAD_CONST None RETURN_VALUE LOAD_GLOBAL __version__ RETURN_VALUE
__version__ = "1.3.0" def get_version() -> str: """ Returns a PEP 386-compliant version number from __version__. """ return __version__
data/logging-azure-rest-1.3.0/logging_azure/__init__.py
86
57
80,735
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME abc STORE_NAME abc LOAD_BUILD_CLASS LOAD_CONST <code object Atomic at 0x7faa75831030, file "f.py", line 4> LOAD_CONST 'Atomic' MAKE_FUNCTION LOAD_CONST 'Atomic' LOAD_NAME abc LOAD_ATTR ABCMeta LOAD_CONST ('metaclass',) CALL_FUNCTION STORE_NAME Atomic LOAD_NAME Atomic LOAD_METH...
import abc class Atomic(metaclass=abc.ABCMeta): """ABC for objects that can be RLP encoded as is.""" Atomic.register(bytes) Atomic.register(bytearray)
data/rlp-4.0.0/rlp/atomic.py
173
57
163,436
LOAD_CONST 1 LOAD_CONST ('URL', 'cache_clear', 'cache_configure', 'cache_info') IMPORT_NAME _url IMPORT_FROM URL STORE_NAME URL IMPORT_FROM cache_clear STORE_NAME cache_clear IMPORT_FROM cache_configure STORE_NAME cache_configure IMPORT_FROM cache_info STORE_NAME cache_info POP_TOP LOAD_CONST '1.9.4' STORE_NAME __vers...
from ._url import URL, cache_clear, cache_configure, cache_info __version__ = "1.9.4" __all__ = ("URL", "cache_clear", "cache_configure", "cache_info")
data/yarl-1.9.4/yarl/__init__.py
112
57
111,628
LOAD_CONST 1 LOAD_CONST ('AbstractSchemaRepository', 'SchemaRepositoryError') IMPORT_NAME base IMPORT_FROM AbstractSchemaRepository STORE_NAME AbstractSchemaRepository IMPORT_FROM SchemaRepositoryError STORE_NAME SchemaRepositoryError POP_TOP LOAD_CONST 1 LOAD_CONST ('FlatDictRepository',) IMPORT_NAME flat_dict IMPORT...
from .base import AbstractSchemaRepository, SchemaRepositoryError from .flat_dict import FlatDictRepository __all__ = [ "AbstractSchemaRepository", "FlatDictRepository", "SchemaRepositoryError", ]
data/fastavro-1.9.4/fastavro/repository/__init__.py
115
57
210,078
LOAD_CONST 2 LOAD_CONST ('try_import_graphviz',) IMPORT_NAME utils.autoai.utils IMPORT_FROM try_import_graphviz STORE_NAME try_import_graphviz POP_TOP LOAD_NAME try_import_graphviz CALL_FUNCTION POP_TOP LOAD_CONST 1 LOAD_CONST ('DataJoinGraph',) IMPORT_NAME multiple_files_preprocessor IMPORT_FROM DataJoinGraph STORE_...
from ..utils.autoai.utils import try_import_graphviz try_import_graphviz() from .multiple_files_preprocessor import DataJoinGraph from .data_join_pipeline import DataJoinPipeline
data/ibm_watson_machine_learning-1.0.347/ibm_watson_machine_learning/preprocessing/__init__.py
133
57
251,859
LOAD_CONST 0 LOAD_CONST ('urlsafe_b64encode',) IMPORT_NAME base64 IMPORT_FROM urlsafe_b64encode STORE_NAME urlsafe_b64encode POP_TOP LOAD_CONST 0 LOAD_CONST ('urandom',) IMPORT_NAME os IMPORT_FROM urandom STORE_NAME urandom POP_TOP LOAD_CONST <code object get_random_venv_name at 0x7fab701ac540, file "f.py", line 5> L...
from base64 import urlsafe_b64encode from os import urandom def get_random_venv_name(): return urlsafe_b64encode(urandom(3)).decode("ascii")
data/hatch-1.9.3/src/hatch/venv/utils.py
175
57
183,845
LOAD_CONST 1 LOAD_CONST ('SegmentationPredictor',) IMPORT_NAME predict IMPORT_FROM SegmentationPredictor STORE_NAME SegmentationPredictor POP_TOP LOAD_CONST 1 LOAD_CONST ('SegmentationTrainer',) IMPORT_NAME train IMPORT_FROM SegmentationTrainer STORE_NAME SegmentationTrainer POP_TOP LOAD_CONST 1 LOAD_CONST ('Segmenta...
from .predict import SegmentationPredictor from .train import SegmentationTrainer from .val import SegmentationValidator __all__ = "SegmentationPredictor", "SegmentationTrainer", "SegmentationValidator"
data/ultralytics-8.1.17/ultralytics/models/yolo/segment/__init__.py
133
57
144,596
LOAD_CONST 1 LOAD_CONST ('versioned_api_route',) IMPORT_NAME routing IMPORT_FROM versioned_api_route STORE_NAME versioned_api_route POP_TOP LOAD_CONST 1 LOAD_CONST ('VersionedFastAPI', 'version') IMPORT_NAME versioning IMPORT_FROM VersionedFastAPI STORE_NAME VersionedFastAPI IMPORT_FROM version STORE_NAME version POP_...
from .routing import versioned_api_route from .versioning import VersionedFastAPI, version __all__ = [ "VersionedFastAPI", "versioned_api_route", "version", ]
data/fastapi_versioning-0.10.0/fastapi_versioning/__init__.py
114
57
62,196
LOAD_CONST 1 LOAD_CONST ('DummySearcher',) IMPORT_NAME dummy_searcher IMPORT_FROM DummySearcher STORE_NAME DummySearcher POP_TOP LOAD_CONST 1 LOAD_CONST ('LocalGridSearcher',) IMPORT_NAME local_grid_searcher IMPORT_FROM LocalGridSearcher STORE_NAME LocalGridSearcher POP_TOP LOAD_CONST 1 LOAD_CONST ('LocalRandomSearch...
from .dummy_searcher import DummySearcher from .local_grid_searcher import LocalGridSearcher from .local_random_searcher import LocalRandomSearcher from .searcher_factory import searcher_factory
data/autogluon.core-1.0.0/src/autogluon/core/searcher/__init__.py
154
57
209,995
LOAD_CONST False LOAD_CONST False LOAD_CONST ('valid_oof', 'can_refit_full') BUILD_CONST_KEY_MAP STORE_NAME _DEFAULT_TAGS LOAD_CONST 'handles_text' LOAD_CONST False BUILD_MAP STORE_NAME _DEFAULT_CLASS_TAGS LOAD_CONST None RETURN_VALUE
_DEFAULT_TAGS = { "valid_oof": False, "can_refit_full": False, } _DEFAULT_CLASS_TAGS = { "handles_text": False, }
data/autogluon.core-1.0.0/src/autogluon/core/models/abstract/_tags.py
60
57
209,967
LOAD_CONST 'DO NOT EDIT.\n\nThis file was autogenerated. Do not edit it by hand,\nsince your modifications would be overwritten.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('load_data',) IMPORT_NAME keras.src.datasets.cifar10 IMPORT_FROM load_data STORE_NAME load_data POP_TOP LOAD_CONST None RETURN_VALUE
"""DO NOT EDIT. This file was autogenerated. Do not edit it by hand, since your modifications would be overwritten. """ from keras.src.datasets.cifar10 import load_data
data/keras-nightly-3.1.0.dev2024022103/keras/_tf_keras/keras/datasets/cifar10/__init__.py
88
57
285,378
LOAD_CONST 'DO NOT EDIT.\n\nThis file was autogenerated. Do not edit it by hand,\nsince your modifications would be overwritten.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('load_data',) IMPORT_NAME keras.src.datasets.boston_housing IMPORT_FROM load_data STORE_NAME load_data POP_TOP LOAD_CONST None RETURN_VALUE
"""DO NOT EDIT. This file was autogenerated. Do not edit it by hand, since your modifications would be overwritten. """ from keras.src.datasets.boston_housing import load_data
data/keras-nightly-3.1.0.dev2024022103/keras/_tf_keras/keras/datasets/boston_housing/__init__.py
88
57
285,373
SETUP_EXCEPT to 24 LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pkg_resources STORE_NAME pkg_resources LOAD_NAME pkg_resources LOAD_METHOD declare_namespace LOAD_NAME __name__ CALL_METHOD POP_TOP POP_BLOCK JUMP_FORWARD to 64 DUP_TOP LOAD_NAME ImportError COMPARE_OP exception match POP_JUMP_IF_FALSE POP_TOP POP_TOP POP_T...
try: import pkg_resources pkg_resources.declare_namespace(__name__) except ImportError: import pkgutil __path__ = pkgutil.extend_path(__path__, __name__)
data/hurry.filesize-0.9/src/hurry/__init__.py
135
57
333,470
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab8204a390, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandGroup CALL_FUNCTION STORE_NAME __CMDGroup LOAD_CONST '__CMDGroup' BUIL...
from azure.cli.core.aaz import * class __CMDGroup(AAZCommandGroup): """Manage address pools in an IP configuration.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/profile_2020_09_01_hybrid/network/nic/ip_config/ag_pool/__cmd_group.py
164
57
378,777
LOAD_CONST 0 LOAD_CONST ('denoms',) IMPORT_NAME eth_utils IMPORT_FROM denoms STORE_NAME denoms POP_TOP LOAD_CONST 400 STORE_NAME GAS_EXTCODEHASH_EIP1052 LOAD_CONST 2 LOAD_NAME denoms LOAD_ATTR ether BINARY_MULTIPLY STORE_NAME EIP1234_BLOCK_REWARD LOAD_CONST None RETURN_VALUE
from eth_utils import ( denoms, ) GAS_EXTCODEHASH_EIP1052 = 400 EIP1234_BLOCK_REWARD = 2 * denoms.ether
data/py-evm-0.9.0b1/eth/vm/forks/petersburg/constants.py
83
57
106,985
LOAD_CONST 0 LOAD_CONST ('surrogate',) IMPORT_NAME surrogate.surrogate IMPORT_FROM surrogate STORE_NAME surrogate POP_TOP LOAD_CONST ('surrogate', 'VERSION') STORE_NAME __all__ LOAD_CONST '0.1' STORE_NAME VERSION LOAD_CONST 'Kostia Balitsky aka ikostia' STORE_NAME AUTHOR LOAD_CONST None RETURN_VALUE
from surrogate.surrogate import surrogate __all__ = ("surrogate", "VERSION") VERSION = "0.1" AUTHOR = "Kostia Balitsky aka ikostia"
data/surrogate-0.1/surrogate/__init__.py
89
57
316,010
LOAD_CONST 0 LOAD_CONST ('SearxSearchResults', 'SearxSearchRun') IMPORT_NAME langchain_community.tools.searx_search.tool IMPORT_FROM SearxSearchResults STORE_NAME SearxSearchResults IMPORT_FROM SearxSearchRun STORE_NAME SearxSearchRun POP_TOP LOAD_CONST 'SearxSearchRun' LOAD_CONST 'SearxSearchResults' BUILD_LIST STORE...
from langchain_community.tools.searx_search.tool import ( SearxSearchResults, SearxSearchRun, ) __all__ = ["SearxSearchRun", "SearxSearchResults"]
data/langchain-0.1.8/langchain/tools/searx_search/tool.py
97
57
369,339
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pathlib STORE_NAME pathlib LOAD_CONST 0 LOAD_CONST ('web',) IMPORT_NAME aiohttp IMPORT_FROM web STORE_NAME web POP_TOP LOAD_NAME web LOAD_METHOD Application CALL_METHOD STORE_NAME app LOAD_NAME app LOAD_ATTR router LOAD_ATTR add_static LOAD_CONST '/' LOAD_NAME pathlib LOAD_ME...
import pathlib from aiohttp import web app = web.Application() app.router.add_static("/", pathlib.Path(__file__).parent, show_index=True) web.run_app(app)
data/aiohttp-3.9.3/examples/static_files.py
120
57
316,121
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME blosc2 STORE_NAME blosc2 LOAD_NAME blosc2 LOAD_ATTR full LOAD_CONST (4, 4) LOAD_CONST 9 LOAD_CONST ('fill_value',) CALL_FUNCTION STORE_NAME a LOAD_NAME a LOAD_METHOD resize LOAD_CONST (5, 7) CALL_METHOD POP_TOP LOAD_CONST 8 LOAD_NAME a LOAD_CONST 3 LOAD_CONST 5 BUILD_SLICE LO...
import blosc2 a = blosc2.full((4, 4), fill_value=9) a.resize((5, 7)) a[3:5, 2:7] = 8 print(a[:])
data/blosc2-2.5.1/examples/ndarray/resize_.py
128
57
115,682
LOAD_CONST 0 LOAD_CONST ('pformat',) IMPORT_NAME pprint IMPORT_FROM pformat STORE_NAME pformat POP_TOP LOAD_CONST 0 LOAD_CONST ('partial',) IMPORT_NAME functools IMPORT_FROM partial STORE_NAME partial POP_TOP LOAD_NAME partial LOAD_NAME pformat LOAD_CONST 0 LOAD_CONST ('indent',) CALL_FUNCTION STORE_NAME dump LOAD_CO...
from pprint import pformat if False: def dump(obj, file, protocol=None): pass else: from functools import partial dump = partial(pformat, indent=0)
data/astroid-3.0.3/tests/testdata/python3/data/conditional_import/__init__.py
77
57
388,650
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME graphene STORE_NAME graphene LOAD_CONST 0 LOAD_CONST ('UnmountedType',) IMPORT_NAME graphene.types.unmountedtype IMPORT_FROM UnmountedType STORE_NAME UnmountedType POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object DictType at 0x7fab82309660, file "f.py", line 5> LOAD_CONST 'Dic...
import graphene from graphene.types.unmountedtype import UnmountedType class DictType(UnmountedType): key = graphene.String() value = graphene.String()
data/graphene-django-3.2.0/graphene_django/rest_framework/types.py
185
57
173,779
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME builtins STORE_NAME builtins LOAD_BUILD_CLASS LOAD_CONST <code object KiotaAuthenticationError at 0x7fab823988a0, file "f.py", line 4> LOAD_CONST 'KiotaAuthenticationError' MAKE_FUNCTION LOAD_CONST 'KiotaAuthenticationError' LOAD_NAME builtins LOAD_ATTR Exception CALL_FUNCTION ...
import builtins class KiotaAuthenticationError(builtins.Exception): """Base class for all Kiota Authentication Azure errors.""" class HTTPError(KiotaAuthenticationError): """Error raised when the scheme fails https validation."""
data/microsoft_kiota_authentication_azure-1.0.0/kiota_authentication_azure/_exceptions.py
248
57
340,622
LOAD_CONST "Sample tests with a layer that can't be torn down\n" STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST <code object test_suite at 0x7f8e447b29c0, file "f.py", line 7> LOAD_CONST 'test_suite' MAKE_FUNCTION STORE_NAME test_suite LOAD_CONST None RETURN_VALUE ...
"""Sample tests with a layer that can't be torn down """ import unittest def test_suite(): suite = unittest.TestSuite() suite.addTest(None) return suite
data/zope.testrunner-6.3.1/src/zope/testrunner/tests/testrunner-ex/sample1/sampletests_none_test.py
136
57
115,773
LOAD_CONST 0 LOAD_CONST ('Study',) IMPORT_NAME google.cloud.aiplatform.vizier.study IMPORT_FROM Study STORE_NAME Study POP_TOP LOAD_CONST 0 LOAD_CONST ('Trial',) IMPORT_NAME google.cloud.aiplatform.vizier.trial IMPORT_FROM Trial STORE_NAME Trial POP_TOP LOAD_CONST ('Study', 'Trial') STORE_NAME __all__ LOAD_CONST None...
from google.cloud.aiplatform.vizier.study import Study from google.cloud.aiplatform.vizier.trial import Trial __all__ = ( "Study", "Trial", )
data/google-cloud-aiplatform-1.42.1/google/cloud/aiplatform/vizier/__init__.py
92
57
168,437
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('__version__',) IMPORT_NAME tests.masonry.builders.fixtures.excluded_subpackage.example IMPORT_FROM __version__ STORE_NAME __version__ POP_TOP LOAD_CONST <code object test_ve...
from __future__ import annotations from tests.masonry.builders.fixtures.excluded_subpackage.example import __version__ def test_version(): assert __version__ == "0.1.0"
data/poetry-1.7.1/tests/masonry/builders/fixtures/excluded_subpackage/example/test/excluded.py
158
57
331,315
LOAD_CONST 'Google Cloud Platform library - Generic SQL Helpers.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 0 LOAD_CONST ('unicode_literals',) IMPORT_NAME __future__ IMPORT_FROM unicode_literals STOR...
"""Google Cloud Platform library - Generic SQL Helpers.""" from __future__ import absolute_import from __future__ import unicode_literals from ._csv_file import CsvFile __all__ = ["CsvFile"]
data/datalab-1.2.1/google/datalab/data/__init__.py
137
57
141,121
LOAD_CONST 'DO NOT EDIT.\n\nThis file was autogenerated. Do not edit it by hand,\nsince your modifications would be overwritten.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('load_data',) IMPORT_NAME keras.src.datasets.cifar10 IMPORT_FROM load_data STORE_NAME load_data POP_TOP LOAD_CONST None RETURN_VALUE
"""DO NOT EDIT. This file was autogenerated. Do not edit it by hand, since your modifications would be overwritten. """ from keras.src.datasets.cifar10 import load_data
data/keras-3.0.5/keras/datasets/cifar10/__init__.py
88
57
349,143
LOAD_CONST 0 LOAD_CONST ('Attacker',) IMPORT_NAME allennlp.interpret.attackers.attacker IMPORT_FROM Attacker STORE_NAME Attacker POP_TOP LOAD_CONST 0 LOAD_CONST ('InputReduction',) IMPORT_NAME allennlp.interpret.attackers.input_reduction IMPORT_FROM InputReduction STORE_NAME InputReduction POP_TOP LOAD_CONST 0 LOAD_C...
from allennlp.interpret.attackers.attacker import Attacker from allennlp.interpret.attackers.input_reduction import InputReduction from allennlp.interpret.attackers.hotflip import Hotflip
data/allennlp-2.10.1/allennlp/interpret/attackers/__init__.py
121
57
82,800
LOAD_CONST 0 LOAD_CONST ('AppConfig',) IMPORT_NAME server.apps IMPORT_FROM AppConfig STORE_NAME AppConfig POP_TOP LOAD_CONST 0 LOAD_CONST ('gettext_lazy',) IMPORT_NAME server.utils.translation IMPORT_FROM gettext_lazy STORE_NAME _ POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object MessagesConfig at 0x7faa74450390, file...
from server.apps import AppConfig from server.utils.translation import gettext_lazy as _ class MessagesConfig(AppConfig): name = "server.contrib.messages" verbose_name = _("Messages")
data/os_sys-2.1.4/server/contrib/messages/apps.py
185
57
247,517
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_NAME pytest LOAD_ATTR fixture LOAD_CONST <code object render_context at 0x7fab4278a810, file "f.py", line 4> LOAD_CONST 'render_context' MAKE_FUNCTION CALL_FUNCTION STORE_NAME render_context LOAD_CONST None RETURN_VALUE LOAD_CONST '/D' LOAD_CONST ...
import pytest @pytest.fixture def render_context(): return { "opts": {"cachedir": "/D", "__cli": "salt"}, "saltenv": None, }
data/salt-3006.6/tests/pytests/unit/utils/templates/conftest.py
122
57
95,980
LOAD_CONST 0 LOAD_CONST ('Sanic',) IMPORT_NAME sanic IMPORT_FROM Sanic STORE_NAME Sanic POP_TOP LOAD_CONST 0 LOAD_CONST ('Config',) IMPORT_NAME sanic.config IMPORT_FROM Config STORE_NAME Config POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object CustomConfig at 0x7fab64179030, file "f.py", line 5> LOAD_CONST 'CustomConf...
from sanic import Sanic from sanic.config import Config class CustomConfig(Config): pass app = Sanic("test", config=CustomConfig()) reveal_type(app) # noqa
data/sanic-23.12.1/tests/typing/samples/app_custom_config.py
183
57
186,603
LOAD_CONST 'a' STORE_NAME name LOAD_CONST 2 STORE_NAME _bla LOAD_CONST 'o' STORE_NAME other LOAD_BUILD_CLASS LOAD_CONST <code object Aaa at 0x7fab82363ed0, file "f.py", line 6> LOAD_CONST 'Aaa' MAKE_FUNCTION LOAD_CONST 'Aaa' CALL_FUNCTION STORE_NAME Aaa LOAD_CONST <code object func at 0x7fab82334390, file "f.py", l...
name = "a" _bla = 2 other = "o" class Aaa: pass def func(): print("yo") __all__ = "Aaa", "_bla", "name"
data/astroid-3.0.3/tests/testdata/python3/data/all.py
195
57
388,598
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME warnings STORE_NAME warnings LOAD_CONST 1 LOAD_CONST ('train',) IMPORT_NAME IMPORT_FROM train STORE_NAME train POP_TOP LOAD_CONST 1 LOAD_CONST ('losses',) IMPORT_NAME IMPORT_FROM losses STORE_NAME losses POP_TOP LOAD_CONST 1 LOAD_CONST ('metrics',) IMPORT_NAME IMPORT_FROM met...
import warnings from . import train from . import losses from . import metrics warnings.warn( "`smp.utils` module is deprecated and will be removed in future releases.", DeprecationWarning, )
data/segmentation_models_pytorch-0.3.3/segmentation_models_pytorch/utils/__init__.py
123
57
81,717
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 1 LOAD_CONST ('OpRunUnaryNum',) IMPORT_NAME _op IMPORT_FROM OpRunUnaryNum STORE_NAME OpRunUnaryNum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Sign at 0x7fab4278a9c0, file "f.py", line 6> LOAD_CONST 'Sign' MAKE_FUNCTION LOAD_CONST 'Sign' LOA...
import numpy as np from ._op import OpRunUnaryNum class Sign(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.sign(x),)
data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_sign.py
202
57
85,637
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST <code object main at 0x7f8ece8a8390, 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_NAME main CALL_FUNCTION POP_TOP LOAD_CONST None RETURN_VALUE ...
import sys def main(): for line in sys.stdin: print(line.replace(" ", "").replace("|", " ").strip()) if __name__ == "__main__": main()
data/fairseq-0.12.2/fairseq/examples/wav2vec/unsupervised/scripts/ltr_to_wrd.py
163
57
120,239
LOAD_CONST 1 LOAD_CONST ('SegmentationModel',) IMPORT_NAME model IMPORT_FROM SegmentationModel STORE_NAME SegmentationModel POP_TOP LOAD_CONST 1 LOAD_CONST ('Conv2dReLU', 'Attention') IMPORT_NAME modules IMPORT_FROM Conv2dReLU STORE_NAME Conv2dReLU IMPORT_FROM Attention STORE_NAME Attention POP_TOP LOAD_CONST 1 LOAD_...
from .model import SegmentationModel from .modules import ( Conv2dReLU, Attention, ) from .heads import ( SegmentationHead, ClassificationHead, )
data/segmentation_models_pytorch-0.3.3/segmentation_models_pytorch/base/__init__.py
129
57
81,759
LOAD_CONST 'EvaluateBatchLoop' LOAD_CONST 'Loop' LOAD_CONST 'TrainBatchLoop' BUILD_LIST STORE_NAME __all__ LOAD_CONST 1 LOAD_CONST ('Loop',) IMPORT_NAME loop IMPORT_FROM Loop STORE_NAME Loop POP_TOP LOAD_CONST 1 LOAD_CONST ('EvaluateBatchLoop',) IMPORT_NAME evaluate_batch_loop IMPORT_FROM EvaluateBatchLoop STORE_NAME...
__all__ = ["EvaluateBatchLoop", "Loop", "TrainBatchLoop"] from .loop import Loop from .evaluate_batch_loop import EvaluateBatchLoop from .train_batch_loop import TrainBatchLoop
data/FastNLP-1.0.1/fastNLP/core/controllers/loops/__init__.py
129
57
367,523
LOAD_NAME __import__ LOAD_CONST 'pkgutil' CALL_FUNCTION LOAD_METHOD extend_path LOAD_NAME __path__ LOAD_NAME __name__ CALL_METHOD STORE_NAME __path__ LOAD_CONST 1 LOAD_CONST ('ArmDeploymentExecutor',) IMPORT_NAME arm_deployment_executor IMPORT_FROM ArmDeploymentExecutor STORE_NAME ArmDeploymentExecutor POP_TOP LOAD_C...
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore from .arm_deployment_executor import ArmDeploymentExecutor __all__ = ["ArmDeploymentExecutor"]
data/azure-ai-ml-1.13.0/azure/ai/ml/_arm_deployments/__init__.py
93
57
426,223
LOAD_CONST 2 LOAD_CONST ('_utilities',) IMPORT_NAME IMPORT_FROM _utilities STORE_NAME _utilities POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typing STORE_NAME typing LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME get_policy_store IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME policy_store IMPORT_STAR LOAD_...
from .. import _utilities import typing from .get_policy_store import * from .policy_store import * from .policy_template import * from .schema import * from ._inputs import * from . import outputs
data/pulumi_aws-6.22.2/pulumi_aws/verifiedpermissions/__init__.py
157
57
226,658
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 1 LOAD_CONST ('OpRunUnaryNum',) IMPORT_NAME _op IMPORT_FROM OpRunUnaryNum STORE_NAME OpRunUnaryNum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Tan at 0x7fab4278aa50, file "f.py", line 6> LOAD_CONST 'Tan' MAKE_FUNCTION LOAD_CONST 'Tan' LOAD_N...
import numpy as np from ._op import OpRunUnaryNum class Tan(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.tan(x),)
data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_tan.py
206
57
85,565
LOAD_CONST 0 LOAD_CONST ('patcher',) IMPORT_NAME eventlet IMPORT_FROM patcher STORE_NAME patcher POP_TOP LOAD_CONST 0 LOAD_CONST ('socket',) IMPORT_NAME eventlet.green IMPORT_FROM socket STORE_NAME socket POP_TOP LOAD_NAME patcher LOAD_METHOD inject LOAD_CONST 'ftplib' LOAD_NAME globals CALL_FUNCTION LOAD_CONST 'sock...
from eventlet import patcher from eventlet.green import socket patcher.inject("ftplib", globals(), ("socket", socket)) del patcher if __name__ == "__main__": test()
data/eventlet-0.35.1/eventlet/green/ftplib.py
120
57
361,933
LOAD_BUILD_CLASS LOAD_CONST <code object TestImport at 0x7faa74f75d20, file "f.py", line 1> LOAD_CONST 'TestImport' MAKE_FUNCTION LOAD_CONST 'TestImport' CALL_FUNCTION STORE_NAME TestImport LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST 'TestImport' STORE_NAME __qualname__ LOAD_CONST...
class TestImport: """Tests that gapic library can be imported.""" def test_import_aiplatform_v1(self): from google.cloud import aiplatform_v1 # noqa: F401
data/google-cloud-aiplatform-1.42.1/tests/unit/aiplatform/test_imports.py
219
57
168,350
LOAD_CONST 'Trogon' STORE_NAME APP_TITLE LOAD_CONST 'trogon' STORE_NAME PACKAGE_NAME LOAD_CONST 'https://github.com/textualize/textual' STORE_NAME TEXTUAL_URL LOAD_CONST 'T' STORE_NAME ORGANIZATION_NAME LOAD_CONST None RETURN_VALUE
APP_TITLE = "Trogon" PACKAGE_NAME = "trogon" TEXTUAL_URL = "https://github.com/textualize/textual" ORGANIZATION_NAME = "T"
data/trogon-0.5.0/trogon/constants.py
74
57
171,695
LOAD_CONST 'Tool to generate an image.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('SteamshipImageGenerationTool',) IMPORT_NAME langchain_community.tools.steamship_image_generation.tool IMPORT_FROM SteamshipImageGenerationTool STORE_NAME SteamshipImageGenerationTool POP_TOP LOAD_CONST 'SteamshipImageGenerationTool' ...
"""Tool to generate an image.""" from langchain_community.tools.steamship_image_generation.tool import ( SteamshipImageGenerationTool, ) __all__ = ["SteamshipImageGenerationTool"]
data/langchain_community-0.0.21/langchain_community/tools/steamship_image_generation/__init__.py
92
57
15,502
LOAD_CONST 2 LOAD_CONST ('ShopifyResource',) IMPORT_NAME base IMPORT_FROM ShopifyResource STORE_NAME ShopifyResource POP_TOP LOAD_CONST 1 LOAD_CONST ('Customer',) IMPORT_NAME customer IMPORT_FROM Customer STORE_NAME Customer POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object CustomerSavedSearch at 0x7fa954a8c540, file ...
from ..base import ShopifyResource from .customer import Customer class CustomerSavedSearch(ShopifyResource): def customers(cls, **kwargs): return Customer._build_collection(cls.get("customers", **kwargs))
data/ShopifyAPI-12.4.0/shopify/resources/customer_saved_search.py
237
57
216,668
LOAD_CONST 2 LOAD_CONST ('Provider',) IMPORT_NAME IMPORT_FROM Provider STORE_NAME BankProvider POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Provider at 0x7faa5dbc1390, file "f.py", line 4> LOAD_CONST 'Provider' MAKE_FUNCTION LOAD_CONST 'Provider' LOAD_NAME BankProvider CALL_FUNCTION STORE_NAME Provider LOAD_CONST ...
from .. import Provider as BankProvider class Provider(BankProvider): """Implement bank provider for ``de_CH`` locale.""" bban_format = "#################" country_code = "CH"
data/Faker-23.2.1/faker/providers/bank/de_CH/__init__.py
155
57
16,546
LOAD_CONST 'Audit Logs API is a set of APIs for monitoring what’s happening in your Enterprise Grid organization.\n\nRefer to https://slack.dev/python-slack-sdk/audit-logs/ for details.\n' STORE_NAME __doc__ LOAD_CONST None RETURN_VALUE
"""Audit Logs API is a set of APIs for monitoring what’s happening in your Enterprise Grid organization. Refer to https://slack.dev/python-slack-sdk/audit-logs/ for details. """
data/slack_sdk-3.27.0/slack_sdk/audit_logs/v1/__init__.py
68
57
206,882
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 1 LOAD_CONST ('BoundVolume', 'VolumesClient', 'VolumesPageResult') IMPORT_NAME client IMPORT_FROM BoundVolume STORE_NAME BoundVolume IMPORT_FROM VolumesClient STORE_NAME VolumesClient IMPOR...
from __future__ import annotations from .client import BoundVolume, VolumesClient, VolumesPageResult # noqa: F401 from .domain import CreateVolumeResponse, Volume # noqa: F401
data/ansible-9.2.0/ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/volumes/__init__.py
126
57
280,160
LOAD_CONST 0 LOAD_CONST ('AzureCogsTextAnalyticsHealthTool',) IMPORT_NAME langchain_community.tools.azure_cognitive_services.text_analytics_health IMPORT_FROM AzureCogsTextAnalyticsHealthTool STORE_NAME AzureCogsTextAnalyticsHealthTool POP_TOP LOAD_CONST 'AzureCogsTextAnalyticsHealthTool' BUILD_LIST STORE_NAME __all__...
from langchain_community.tools.azure_cognitive_services.text_analytics_health import ( AzureCogsTextAnalyticsHealthTool, ) __all__ = ["AzureCogsTextAnalyticsHealthTool"]
data/langchain-0.1.8/langchain/tools/azure_cognitive_services/text_analytics_health.py
90
57
369,386
LOAD_CONST 2 LOAD_CONST ('Provider',) IMPORT_NAME IMPORT_FROM Provider STORE_NAME BankProvider POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Provider at 0x7faa8c0174b0, file "f.py", line 4> LOAD_CONST 'Provider' MAKE_FUNCTION LOAD_CONST 'Provider' LOAD_NAME BankProvider CALL_FUNCTION STORE_NAME Provider LOAD_CONST ...
from .. import Provider as BankProvider class Provider(BankProvider): """Implement bank provider for ``no_NO`` locale.""" bban_format = "###########" country_code = "NO"
data/Faker-23.2.1/faker/providers/bank/no_NO/__init__.py
157
57
16,537
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 pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST None IMPORT_NAME awkward STORE_NAME ak LOAD_CONST <code object test at 0x7fab8231be40, file "f.py", line 8> ...
from __future__ import annotations import pytest # noqa: F401 import awkward as ak def test(): result = ak.broadcast_arrays() assert result == []
data/awkward-2.6.1/tests/test_2407_broadcast_no_arrays.py
143
57
137,519
LOAD_CONST 0 LOAD_CONST ('RedditSearchRun', 'RedditSearchSchema') IMPORT_NAME langchain_community.tools.reddit_search.tool IMPORT_FROM RedditSearchRun STORE_NAME RedditSearchRun IMPORT_FROM RedditSearchSchema STORE_NAME RedditSearchSchema POP_TOP LOAD_CONST 'RedditSearchSchema' LOAD_CONST 'RedditSearchRun' BUILD_LIST ...
from langchain_community.tools.reddit_search.tool import ( RedditSearchRun, RedditSearchSchema, ) __all__ = ["RedditSearchSchema", "RedditSearchRun"]
data/langchain-0.1.8/langchain/tools/reddit_search/tool.py
97
57
369,377
LOAD_CONST 'Tool to generate an image.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('SteamshipImageGenerationTool',) IMPORT_NAME langchain_community.tools.steamship_image_generation.tool IMPORT_FROM SteamshipImageGenerationTool STORE_NAME SteamshipImageGenerationTool POP_TOP LOAD_CONST 'SteamshipImageGenerationTool' ...
"""Tool to generate an image.""" from langchain_community.tools.steamship_image_generation.tool import ( SteamshipImageGenerationTool, ) __all__ = ["SteamshipImageGenerationTool"]
data/langchain-0.1.8/langchain/tools/steamship_image_generation/__init__.py
92
57
369,375
LOAD_CONST 0 LOAD_CONST ('ModelName', 'SteamshipImageGenerationTool') IMPORT_NAME langchain_community.tools.steamship_image_generation.tool IMPORT_FROM ModelName STORE_NAME ModelName IMPORT_FROM SteamshipImageGenerationTool STORE_NAME SteamshipImageGenerationTool POP_TOP LOAD_CONST 'ModelName' LOAD_CONST 'SteamshipIma...
from langchain_community.tools.steamship_image_generation.tool import ( ModelName, SteamshipImageGenerationTool, ) __all__ = ["ModelName", "SteamshipImageGenerationTool"]
data/langchain-0.1.8/langchain/tools/steamship_image_generation/tool.py
94
57
369,374
LOAD_CONST 0 LOAD_CONST ('Dict',) IMPORT_NAME typing IMPORT_FROM Dict STORE_NAME Dict POP_TOP LOAD_NAME Dict LOAD_NAME str LOAD_NAME float BUILD_TUPLE BINARY_SUBSCR LOAD_CONST ('prices',) BUILD_CONST_KEY_MAP LOAD_CONST <code object process_items at 0x7fab5434bc00, file "f.py", line 4> LOAD_CONST 'process_items' MAKE_F...
from typing import Dict def process_items(prices: Dict[str, float]): for item_name, item_price in prices.items(): print(item_name) print(item_price)
data/fastapi-0.109.2/docs_src/python_types/tutorial008.py
170
57
142,355
LOAD_CONST <code object test_err at 0x7f8af15c2780, file "f.py", line 1> LOAD_CONST 'test_err' MAKE_FUNCTION STORE_NAME test_err LOAD_CONST <code object test_fail at 0x7f8af15c2030, file "f.py", line 5> LOAD_CONST 'test_fail' MAKE_FUNCTION STORE_NAME test_fail LOAD_CONST <code object test_ok at 0x7f8af15c2f60, file "...
def test_err(): raise TypeError("I can't type") def test_fail(): a = 2 assert a == 4, "a is not 4" def test_ok(): pass
data/nose-1.3.7/functional_tests/support/fdp/test_fdp_no_capt.py
225
57
401,799
LOAD_CONST 2 LOAD_CONST ('Provider',) IMPORT_NAME IMPORT_FROM Provider STORE_NAME BankProvider POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Provider at 0x7faa5dbc1b70, file "f.py", line 4> LOAD_CONST 'Provider' MAKE_FUNCTION LOAD_CONST 'Provider' LOAD_NAME BankProvider CALL_FUNCTION STORE_NAME Provider LOAD_CONST ...
from .. import Provider as BankProvider class Provider(BankProvider): """Implement bank provider for ``es_ES`` locale.""" bban_format = "####################" country_code = "ES"
data/Faker-23.2.1/faker/providers/bank/es_ES/__init__.py
155
57
16,521
LOAD_CONST 0 LOAD_CONST ('setup', 'find_packages') IMPORT_NAME setuptools IMPORT_FROM setup STORE_NAME setup IMPORT_FROM find_packages STORE_NAME find_packages POP_TOP LOAD_NAME setup LOAD_CONST 'databricks' LOAD_CONST '0.2' LOAD_CONST 'databricks pypi library' LOAD_NAME find_packages CALL_FUNCTION LOAD_CONST ('na...
from setuptools import setup, find_packages setup( name="databricks", version="0.2", decription="databricks pypi library", packages=find_packages(), )
data/databricks-0.2/setup.py
100
57
27,172
LOAD_CONST 1 LOAD_CONST ('VERSION',) IMPORT_NAME _version IMPORT_FROM VERSION STORE_NAME __version__ POP_TOP LOAD_CONST 1 LOAD_CONST ('KustoClient',) IMPORT_NAME client IMPORT_FROM KustoClient STORE_NAME KustoClient POP_TOP LOAD_CONST 1 LOAD_CONST ('ClientRequestProperties',) IMPORT_NAME client_request_properties IMP...
from ._version import VERSION as __version__ from .client import KustoClient from .client_request_properties import ClientRequestProperties from .kcsb import KustoConnectionStringBuilder from .data_format import DataFormat
data/azure-kusto-data-4.3.1/azure/kusto/data/__init__.py
160
57
178,093
LOAD_CONST 0 LOAD_CONST ('url',) IMPORT_NAME django.conf.urls IMPORT_FROM url STORE_NAME url POP_TOP LOAD_CONST 1 LOAD_CONST ('MyView',) IMPORT_NAME views IMPORT_FROM MyView STORE_NAME MyView POP_TOP LOAD_NAME url LOAD_CONST '^remove-etag-gzip-postfix/$' LOAD_NAME MyView LOAD_METHOD as_view CALL_METHOD CALL_FUNCTION ...
from django.conf.urls import url from .views import MyView urlpatterns = [ url(r"^remove-etag-gzip-postfix/$", MyView.as_view()), ]
data/drf-extensions-0.7.1/tests_app/tests/functional/_examples/etags/remove_etag_gzip_postfix/urls.py
98
57
68,871
LOAD_CONST 0 LOAD_CONST ('nlmsg',) IMPORT_NAME pyroute2.netlink IMPORT_FROM nlmsg STORE_NAME nlmsg POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object errmsg at 0x7fa90ecf4b70, file "f.py", line 4> LOAD_CONST 'errmsg' MAKE_FUNCTION LOAD_CONST 'errmsg' LOAD_NAME nlmsg CALL_FUNCTION STORE_NAME errmsg LOAD_CONST None RETURN...
from pyroute2.netlink import nlmsg class errmsg(nlmsg): """ Custom message type Error ersatz-message """ fields = (("code", "i"),)
data/pyroute2-0.7.12/pyroute2/netlink/rtnl/errmsg.py
165
57
137,171
LOAD_CONST 'TensorFlow Models Vision Libraries.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('configs',) IMPORT_NAME official.vision IMPORT_FROM configs STORE_NAME configs POP_TOP LOAD_CONST 0 LOAD_CONST ('serving',) IMPORT_NAME official.vision IMPORT_FROM serving STORE_NAME serving POP_TOP LOAD_CONST 0 LOAD_CONST (...
"""TensorFlow Models Vision Libraries.""" from official.vision import configs from official.vision import serving from official.vision.modeling import * from official.vision.ops import * from official.vision.tasks import *
data/tf-models-official-2.15.0/tensorflow_models/vision/__init__.py
137
57
355,088
SETUP_EXCEPT to 24 LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pkg_resources STORE_NAME pkg_resources LOAD_NAME pkg_resources LOAD_METHOD declare_namespace LOAD_NAME __name__ CALL_METHOD POP_TOP POP_BLOCK JUMP_FORWARD to 64 DUP_TOP LOAD_NAME ImportError COMPARE_OP exception match POP_JUMP_IF_FALSE POP_TOP POP_TOP POP_T...
try: import pkg_resources pkg_resources.declare_namespace(__name__) except ImportError: import pkgutil __path__ = pkgutil.extend_path(__path__, __name__)
data/appengine-python-standard-1.1.6/src/google/__init__.py
135
57
115,396
LOAD_CONST 'Playwright browser toolkit.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('PlayWrightBrowserToolkit',) IMPORT_NAME langchain_community.agent_toolkits.playwright.toolkit IMPORT_FROM PlayWrightBrowserToolkit STORE_NAME PlayWrightBrowserToolkit POP_TOP LOAD_CONST 'PlayWrightBrowserToolkit' BUILD_LIST STORE_NA...
"""Playwright browser toolkit.""" from langchain_community.agent_toolkits.playwright.toolkit import ( PlayWrightBrowserToolkit, ) __all__ = ["PlayWrightBrowserToolkit"]
data/langchain_community-0.0.21/langchain_community/agent_toolkits/playwright/__init__.py
91
57
15,578
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 1 LOAD_CONST ('OpRunUnaryNum',) IMPORT_NAME _op IMPORT_FROM OpRunUnaryNum STORE_NAME OpRunUnaryNum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Round at 0x7fab700780c0, file "f.py", line 6> LOAD_CONST 'Round' MAKE_FUNCTION LOAD_CONST 'Round' ...
import numpy as np from ._op import OpRunUnaryNum class Round(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.round(x),)
data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_round.py
207
57
85,649
LOAD_CONST '\nTODO: add a docstring.\n\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('rot',) IMPORT_NAME pystache.tests.examples.lambdas IMPORT_FROM rot STORE_NAME rot POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object PartialsWithLambdas at 0x7fab822eaa50, file "f.py", line 9> LOAD_CONST 'PartialsWithLambdas' MAKE_FU...
""" TODO: add a docstring. """ from pystache.tests.examples.lambdas import rot class PartialsWithLambdas(object): def rot(self): return rot
data/pystache-0.6.5/pystache/tests/examples/partials_with_lambdas.py
227
57
366,305
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 1 LOAD_CONST ('OpRunUnaryNum',) IMPORT_NAME _op IMPORT_FROM OpRunUnaryNum STORE_NAME OpRunUnaryNum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Log at 0x7fab700785d0, file "f.py", line 6> LOAD_CONST 'Log' MAKE_FUNCTION LOAD_CONST 'Log' LOAD_N...
import numpy as np from ._op import OpRunUnaryNum class Log(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.log(x),)
data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_log.py
203
57
85,650
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('get_word_index',) IMPORT_NAME tf_keras.src.datasets.imdb IMPORT_FROM get_word_index STORE_NAME get_word_index POP_TOP LOAD_CONST 0 LOAD_CONST ('load_data',) IMPORT_NAME tf_keras.src.datasets.imdb IMPORT_FROM load_data STORE_NAME loa...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.datasets.imdb import get_word_index from tf_keras.src.datasets.imdb import load_data
data/tf_keras-2.15.0/tf_keras/datasets/imdb/__init__.py
112
57
353,631
LOAD_CONST 1 LOAD_CONST ('AirbyteSpec', 'Connector') IMPORT_NAME connector IMPORT_FROM AirbyteSpec STORE_NAME AirbyteSpec IMPORT_FROM Connector STORE_NAME Connector POP_TOP LOAD_CONST 1 LOAD_CONST ('AirbyteEntrypoint',) IMPORT_NAME entrypoint IMPORT_FROM AirbyteEntrypoint STORE_NAME AirbyteEntrypoint POP_TOP LOAD_CON...
from .connector import AirbyteSpec, Connector from .entrypoint import AirbyteEntrypoint from .logger import AirbyteLogger __all__ = ["AirbyteEntrypoint", "AirbyteLogger", "AirbyteSpec", "Connector"]
data/airbyte-cdk-0.64.0/airbyte_cdk/__init__.py
139
57
51,809