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 'standalone_rst_pseudoxml.txt' STORE_NAME test_source LOAD_CONST 'standalone_rst_pseudoxml.txt' STORE_NAME test_destination LOAD_CONST 'pseudoxml' STORE_NAME writer_name LOAD_CONST True LOAD_CONST 1 LOAD_CONST ('sectsubtitle_xform', 'report_level') BUILD_CONST_KEY_MAP STORE_NAME settings_overrides LOAD_C...
test_source = "standalone_rst_pseudoxml.txt" test_destination = "standalone_rst_pseudoxml.txt" writer_name = "pseudoxml" settings_overrides = { "sectsubtitle_xform": True, "report_level": 1, }
data/docutils-0.20.1/test/functional/tests/standalone_rst_pseudoxml.py
99
87
83,263
LOAD_CONST 0 LOAD_CONST ('NestedField',) IMPORT_NAME azure.ai.ml._schema.core.fields IMPORT_FROM NestedField STORE_NAME NestedField POP_TOP LOAD_CONST 0 LOAD_CONST ('MonitorDefinitionSchema',) IMPORT_NAME azure.ai.ml._schema.monitoring.monitor_definition IMPORT_FROM MonitorDefinitionSchema STORE_NAME MonitorDefinition...
from azure.ai.ml._schema.core.fields import NestedField from azure.ai.ml._schema.monitoring.monitor_definition import MonitorDefinitionSchema from azure.ai.ml._schema.schedule.schedule import ScheduleSchema class MonitorScheduleSchema(ScheduleSchema): create_monitor = NestedField(MonitorDefinitionSchema)
data/azure-ai-ml-1.13.0/azure/ai/ml/_schema/monitoring/schedule.py
242
87
426,388
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME re STORE_NAME re LOAD_NAME str LOAD_NAME str LOAD_CONST ('s', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object camel_to_snake at 0x7fa6f5092810, file "f.py", line 4> LOAD_CONST 'camel_to_snake' MAKE_FUNCTION STORE_NAME camel_to_snake LOAD_CONST None RETURN_VALUE LOAD_GLOB...
import re def camel_to_snake(s: str) -> str: s = re.sub("(.)([A-Z][a-z]+)", r"\1_\2", s) return re.sub("([a-z0-9])([A-Z])", r"\1_\2", s).lower()
data/airbyte-cdk-0.64.0/airbyte_cdk/sources/utils/casing.py
181
87
51,891
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 0 LOAD_CONST ('environments',) IMPORT_NAME pdm IMPORT_FROM environments STORE_NAME environments POP_TOP LOAD_CONST 0 LOAD_CONST ('deprecation_warning',) IMPORT_NAME pdm.utils IMPORT_FROM deprecation_warning STORE_NAME deprecation_warning POP_TOP ...
import sys from pdm import environments from pdm.utils import deprecation_warning deprecation_warning( "pdm.models.environment is deprecated, please use pdm.environments instead. " "This module will be removed in the future.", stacklevel=1, ) sys.modules[__name__] = environments
data/pdm-2.12.3/src/pdm/models/environment.py
152
87
354,281
LOAD_CONST 0 LOAD_CONST ('Union',) IMPORT_NAME typing IMPORT_FROM Union STORE_NAME Union POP_TOP LOAD_NAME str LOAD_NAME Union LOAD_NAME int LOAD_NAME str BUILD_TUPLE BINARY_SUBSCR LOAD_CONST ('s', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object _to_int at 0x7f8af04b8810, file "f.py", line 4> LOAD_CONST '_to_int...
from typing import Union def _to_int(s: str) -> Union[int, str]: try: return int(s) except ValueError: return s __version__ = "2.10.0" version_info = tuple(_to_int(s) for s in __version__.split("."))
data/correctionlib-2.5.0/pybind11/pybind11/_version.py
281
87
330,118
LOAD_CONST 0 LOAD_CONST ('datetime',) IMPORT_NAME datetime IMPORT_FROM datetime STORE_NAME datetime POP_TOP LOAD_CONST 0 LOAD_CONST ('Dict', 'Sequence', 'Union') IMPORT_NAME typing IMPORT_FROM Dict STORE_NAME Dict IMPORT_FROM Sequence STORE_NAME Sequence IMPORT_FROM Union STORE_NAME Union POP_TOP LOAD_CONST 0 LOAD_CO...
from datetime import datetime from typing import Dict, Sequence, Union import humanreadable as hr TimeArg = Union[hr.Time, int, str, None] IcmpReplies = Sequence[Dict[str, Union[str, bool, float, int, datetime]]] PingAddOpts = Union[str, Sequence[str]]
data/pingparsing-1.4.1/pingparsing/_typing.py
190
87
399,199
LOAD_CONST '\nrequests_kerberos.exceptions\n~~~~~~~~~~~~~~~~~~~\n\nThis module contains the set of exceptions.\n\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('RequestException',) IMPORT_NAME requests.exceptions IMPORT_FROM RequestException STORE_NAME RequestException POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object...
""" requests_kerberos.exceptions ~~~~~~~~~~~~~~~~~~~ This module contains the set of exceptions. """ from requests.exceptions import RequestException class MutualAuthenticationError(RequestException): """Mutual Authentication Error""" class KerberosExchangeError(RequestException): """Kerberos Exchange Fa...
data/requests-kerberos-0.14.0/requests_kerberos/exceptions.py
316
87
219,369
LOAD_CONST 'Tsuyoshi Hombashi' STORE_NAME __author__ LOAD_CONST 'Copyright 2016, ' LOAD_NAME __author__ FORMAT_VALUE BUILD_STRING STORE_NAME __copyright__ LOAD_CONST 'MIT License' STORE_NAME __license__ LOAD_CONST '1.4.1' STORE_NAME __version__ LOAD_NAME __author__ STORE_NAME __maintainer__ LOAD_CONST 'tsuyoshi.ho...
__author__ = "Tsuyoshi Hombashi" __copyright__ = f"Copyright 2016, {__author__}" __license__ = "MIT License" __version__ = "1.4.1" __maintainer__ = __author__ __email__ = "tsuyoshi.hombashi@gmail.com"
data/pingparsing-1.4.1/pingparsing/__version__.py
112
87
399,196
LOAD_CONST 'Version information for Flake8 2.x and 3.x.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME flake8 STORE_NAME flake8 LOAD_NAME getattr LOAD_NAME flake8 LOAD_CONST '__version_info__' LOAD_CONST None CALL_FUNCTION STORE_NAME version_info LOAD_NAME version_info LOAD_CONST None COMPARE_OP is POP...
"""Version information for Flake8 2.x and 3.x.""" import flake8 version_info = getattr(flake8, "__version_info__", None) if version_info is None: version_info = tuple(int(i) for i in flake8.__version__.split(".") if i.isdigit())
data/flake8-polyfill-1.0.2/src/flake8_polyfill/version.py
214
87
379,656
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ctypes STORE_NAME ctypes LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('lib',) IMPORT_NAME awkward_cpp.cpu_kernels IMPORT_FROM lib STORE_NAME lib POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate...
import ctypes import pytest from awkward_cpp.cpu_kernels import lib @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_cpuawkward_reduce_max_int8_int8_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-cpu-kernels/test_cpuawkward_reduce_max_int8_int8_64.py
229
87
221,547
LOAD_BUILD_CLASS LOAD_CONST <code object LaboratoryException at 0x7fab82053ed0, file "f.py", line 1> LOAD_CONST 'LaboratoryException' MAKE_FUNCTION LOAD_CONST 'LaboratoryException' LOAD_NAME Exception CALL_FUNCTION STORE_NAME LaboratoryException LOAD_BUILD_CLASS LOAD_CONST <code object MismatchException at 0x7fab82053...
class LaboratoryException(Exception): """ Base class for all laboratory exceptions """ def __init__(self, message, *a, **kw): self.message = message super(LaboratoryException, self).__init__(message, *a, **kw) class MismatchException(LaboratoryException): """ """
data/laboratory-1.0.2/laboratory/exceptions.py
348
87
309,277
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('ClientConfig',) IMPORT_NAME cognite.client IMPORT_FROM ClientConfig STORE_NAME ClientConfig POP_TOP LOAD_CONST 0 LOAD_CONST ('CogniteClient',) IMPORT_NAME cognite.client._co...
from __future__ import annotations from cognite.client import ClientConfig from cognite.client._cognite_client import CogniteClient as Client class CogniteClient(Client): def __init__(self, config: ClientConfig) -> None: config.api_subversion = "beta" super().__init__(config)
data/cognite_sdk-7.21.1/cognite/client/beta.py
322
87
78,398
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 sys STORE_NAME sys LOAD_CONST 0 LOAD_CONST ('Path',) IMPORT_NAME pathlib IMPORT_FROM Path STORE_NAME Path POP_TOP LOAD_CONST '1.9.0' STORE_NAME __version__ ...
from __future__ import annotations import sys from pathlib import Path __version__ = "1.9.0" __vendor_site__ = (Path(__file__).parent / "_vendor").as_posix() if __vendor_site__ not in sys.path: sys.path.insert(0, __vendor_site__)
data/poetry_core-1.9.0/src/poetry/core/__init__.py
164
87
307,034
SETUP_ANNOTATIONS LOAD_CONST 'Disconnected graph detected. Is this expected?' STORE_NAME warn_disconnected_graph LOAD_NAME str LOAD_NAME __annotations__ LOAD_CONST 'warn_disconnected_graph' STORE_SUBSCR LOAD_CONST 'No atomic property information stored on nodes. Node matching is not performed...' STORE_NAME warn_no_at...
warn_disconnected_graph: str = "Disconnected graph detected. Is this expected?" warn_no_atomic_properties: str = ( "No atomic property information stored on nodes. Node matching is not performed..." ) error_non_isomorphic_graphs: str = ( "Graphs are not isomorphic.\nMake sure graphs have the same connectivity....
data/spyrmsd-0.6.0/spyrmsd/graphs/_common.py
152
87
244,630
LOAD_CONST 3 LOAD_CONST ('BaseDefaults', 'Language') IMPORT_NAME language IMPORT_FROM BaseDefaults STORE_NAME BaseDefaults IMPORT_FROM Language STORE_NAME Language POP_TOP LOAD_CONST 1 LOAD_CONST ('STOP_WORDS',) IMPORT_NAME stop_words IMPORT_FROM STOP_WORDS STORE_NAME STOP_WORDS POP_TOP LOAD_BUILD_CLASS LOAD_CONST <c...
from ...language import BaseDefaults, Language from .stop_words import STOP_WORDS class MarathiDefaults(BaseDefaults): stop_words = STOP_WORDS class Marathi(Language): lang = "mr" Defaults = MarathiDefaults __all__ = ["Marathi"]
data/spacy-3.7.4/spacy/lang/mr/__init__.py
319
87
147,937
LOAD_CONST 3 LOAD_CONST ('BaseDefaults', 'Language') IMPORT_NAME language IMPORT_FROM BaseDefaults STORE_NAME BaseDefaults IMPORT_FROM Language STORE_NAME Language POP_TOP LOAD_CONST 1 LOAD_CONST ('STOP_WORDS',) IMPORT_NAME stop_words IMPORT_FROM STOP_WORDS STORE_NAME STOP_WORDS POP_TOP LOAD_BUILD_CLASS LOAD_CONST <c...
from ...language import BaseDefaults, Language from .stop_words import STOP_WORDS class LatvianDefaults(BaseDefaults): stop_words = STOP_WORDS class Latvian(Language): lang = "lv" Defaults = LatvianDefaults __all__ = ["Latvian"]
data/spacy-3.7.4/spacy/lang/lv/__init__.py
321
87
147,945
LOAD_CONST 0 LOAD_CONST ('setup',) IMPORT_NAME setuptools IMPORT_FROM setup STORE_NAME setup POP_TOP LOAD_NAME setup LOAD_CONST 'click-example-validation' LOAD_CONST '1.0' LOAD_CONST 'validation' BUILD_LIST LOAD_CONST True LOAD_CONST 'click' BUILD_LIST LOAD_CONST '\n [console_scripts]\n validation=validation:cli...
from setuptools import setup setup( name="click-example-validation", version="1.0", py_modules=["validation"], include_package_data=True, install_requires=["click"], entry_points=""" [console_scripts] validation=validation:cli """, )
data/asyncclick-8.1.7.1/examples/validation/setup.py
123
87
249,520
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_ATTR Option LOAD_CONST 'a' LOAD_CONST ('mode',) CALL_FUNCT...
import typer from typing_extensions import Annotated def main(config: Annotated[typer.FileText, typer.Option(mode="a")]): config.write("This is a single line\n") print("Config line written") if __name__ == "__main__": typer.run(main)
data/typer-0.9.0/docs_src/parameter_types/file/tutorial005_an.py
213
87
224,503
LOAD_CONST 'Tsuyoshi Hombashi' STORE_NAME __author__ LOAD_CONST 'Copyright 2016, ' LOAD_NAME __author__ FORMAT_VALUE BUILD_STRING STORE_NAME __copyright__ LOAD_CONST 'MIT License' STORE_NAME __license__ LOAD_CONST '1.0.1' STORE_NAME __version__ LOAD_NAME __author__ STORE_NAME __maintainer__ LOAD_CONST 'tsuyoshi.ho...
__author__ = "Tsuyoshi Hombashi" __copyright__ = f"Copyright 2016, {__author__}" __license__ = "MIT License" __version__ = "1.0.1" __maintainer__ = __author__ __email__ = "tsuyoshi.hombashi@gmail.com"
data/DataProperty-1.0.1/dataproperty/__version__.py
112
87
269,393
SETUP_ANNOTATIONS LOAD_CONST '``AbstractDataset`` implementation to load/save data from/to a text file.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Any',) IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME lazy_loader STORE_NAME lazy LOAD_NAME Any LOAD_NAME __annotat...
"""``AbstractDataset`` implementation to load/save data from/to a text file.""" from typing import Any import lazy_loader as lazy TextDataset: Any __getattr__, __dir__, __all__ = lazy.attach( __name__, submod_attrs={"text_dataset": ["TextDataset"]} )
data/kedro-datasets-2.0.0/kedro_datasets/text/__init__.py
151
87
61,503
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ctypes STORE_NAME ctypes LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('lib',) IMPORT_NAME awkward_cpp.cpu_kernels IMPORT_FROM lib STORE_NAME lib POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate...
import ctypes import pytest from awkward_cpp.cpu_kernels import lib @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_cpuawkward_reduce_sum_bool_uint16_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-cpu-kernels/test_cpuawkward_reduce_sum_bool_uint16_64.py
229
87
221,549
LOAD_CONST 0 LOAD_CONST ('PolicyBase',) IMPORT_NAME office365.directory.policies.base IMPORT_FROM PolicyBase STORE_NAME PolicyBase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TenantAppManagementPolicy at 0x7fab7002b150, file "f.py", line 4> LOAD_CONST 'TenantAppManagementPolicy' MAKE_FUNCTION LOAD_CONST 'TenantAp...
from office365.directory.policies.base import PolicyBase class TenantAppManagementPolicy(PolicyBase): """ Tenant-wide application authentication method policy to enforce app management restrictions for all applications and service principals. This policy applies to all apps and service principals unless o...
data/Office365-REST-Python-Client-2.5.5/office365/directory/policies/tenant_app_management.py
203
87
188,808
LOAD_NAME int LOAD_CONST ('b',) BUILD_CONST_KEY_MAP LOAD_CONST <code object f1 at 0x7fab703f7f60, file "f.py", line 1> LOAD_CONST 'f1' MAKE_FUNCTION STORE_NAME f1 LOAD_NAME int LOAD_CONST ('return',) BUILD_CONST_KEY_MAP LOAD_CONST <code object f2 at 0x7fab703f7390, file "f.py", line 5> LOAD_CONST 'f2' MAKE_FUNCTION ST...
def f1(a, b: int): pass def f2(a, b) -> int: pass def f3(a) -> r3: pass def f4(a: e4, b): pass def f5(a: e5) -> r5: pass
data/pytype-2024.2.13/pytype/tools/merge_pyi/test_data/partial.pep484.py
330
87
353,308
LOAD_CONST 0 LOAD_CONST ('URIRef',) IMPORT_NAME rdflib IMPORT_FROM URIRef STORE_NAME URIRef POP_TOP LOAD_CONST 0 LOAD_CONST ('Path',) IMPORT_NAME rdflib.paths IMPORT_FROM Path STORE_NAME Path POP_TOP LOAD_CONST 'http://example.org/%s' STORE_NAME uri_tplt LOAD_CONST <code object test_path_div_future at 0x7fab822098a0...
from rdflib import URIRef from rdflib.paths import Path uri_tplt = "http://example.org/%s" def test_path_div_future(): path = URIRef(uri_tplt % "one") / URIRef(uri_tplt % "other") assert isinstance(path, Path)
data/rdflib-7.0.0/test/test_misc/test_path_div_future.py
211
87
416,522
LOAD_CONST 'rinoh.frontend.sphinx' LOAD_CONST 'sphinxcontrib.bibtex' BUILD_LIST STORE_NAME extensions LOAD_CONST '_build' BUILD_LIST STORE_NAME exclude_patterns LOAD_CONST 'test.bib' BUILD_LIST STORE_NAME bibtex_bibfiles LOAD_NAME dict LOAD_CONST 'index' LOAD_CONST 'book' LOAD_CONST False LOAD_CONST 'template.rtt' L...
extensions = ["rinoh.frontend.sphinx", "sphinxcontrib.bibtex"] exclude_patterns = ["_build"] bibtex_bibfiles = ["test.bib"] rinoh_documents = [ dict(doc="index", target="book", toctree_only=False, template="template.rtt"), ]
data/sphinxcontrib-bibtex-2.6.2/test/roots/test-citation_rinoh/conf.py
121
87
136,698
LOAD_CONST 0 LOAD_CONST ('FastAPI',) IMPORT_NAME fastapi IMPORT_FROM FastAPI STORE_NAME FastAPI POP_TOP LOAD_CONST 1 LOAD_CONST ('settings',) IMPORT_NAME config IMPORT_FROM settings STORE_NAME settings POP_TOP LOAD_NAME FastAPI CALL_FUNCTION STORE_NAME app LOAD_NAME app LOAD_METHOD get LOAD_CONST '/info' CALL_METHOD...
from fastapi import FastAPI from .config import settings app = FastAPI() @app.get("/info") async def info(): return { "app_name": settings.app_name, "admin_email": settings.admin_email, "items_per_user": settings.items_per_user, }
data/fastapi-0.109.2/docs_src/settings/app01/main.py
172
87
142,430
LOAD_CONST 0 LOAD_CONST ('ResourcePath',) IMPORT_NAME office365.runtime.paths.resource_path IMPORT_FROM ResourcePath STORE_NAME ResourcePath POP_TOP LOAD_CONST 0 LOAD_CONST ('Entity',) IMPORT_NAME office365.sharepoint.entity IMPORT_FROM Entity STORE_NAME Entity POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Microfe...
from office365.runtime.paths.resource_path import ResourcePath from office365.sharepoint.entity import Entity class MicrofeedManager(Entity): def __init__(self, context): super(MicrofeedManager, self).__init__( context, ResourcePath("SP.Microfeed.MicrofeedManager") )
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/microfeed/manager.py
286
87
189,207
LOAD_CONST 0 LOAD_CONST ('Union',) IMPORT_NAME typing IMPORT_FROM Union STORE_NAME Union POP_TOP LOAD_NAME str LOAD_NAME Union LOAD_NAME int LOAD_NAME str BUILD_TUPLE BINARY_SUBSCR LOAD_CONST ('s', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object _to_int at 0x7fab80234150, file "f.py", line 4> LOAD_CONST '_to_int...
from typing import Union def _to_int(s: str) -> Union[int, str]: try: return int(s) except ValueError: return s __version__ = "2.11.1" version_info = tuple(_to_int(s) for s in __version__.split("."))
data/pybind11_global-2.11.1/pybind11/_version.py
281
87
156,510
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 cloud_formation_type IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME get_cloud_formation_type IM...
from .. import _utilities import typing from .cloud_formation_type import * from .get_cloud_formation_type import * from .get_export import * from .get_stack import * from .stack import * from .stack_set import * from .stack_set_instance import * from ._inputs import * from . import outputs
data/pulumi_aws-6.22.2/pulumi_aws/cloudformation/__init__.py
217
87
226,797
LOAD_CONST 0 LOAD_CONST ('DeprecationRule',) IMPORT_NAME saltlint.linter.rule IMPORT_FROM DeprecationRule STORE_NAME DeprecationRule POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object StateDeprecationVirtRevertedRule at 0x7faa761ee1e0, file "f.py", line 4> LOAD_CONST 'StateDeprecationVirtRevertedRule' MAKE_FUNCTION LOAD...
from saltlint.linter.rule import DeprecationRule class StateDeprecationVirtRevertedRule(DeprecationRule): id = "903" state = "virt.reverted" deprecated_since = "2016.3.0" version_added = "v0.5.0"
data/salt-lint-0.9.2/saltlint/rules/StateDeprecationVirtRevertedRule.py
230
87
436,338
LOAD_CONST 0 LOAD_CONST ('BROADCAST', 'event_handler') IMPORT_NAME nameko.events IMPORT_FROM BROADCAST STORE_NAME BROADCAST IMPORT_FROM event_handler STORE_NAME event_handler POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ListenerService at 0x7fab8002fc00, file "f.py", line 4> LOAD_CONST 'ListenerService' MAKE_FUNCT...
from nameko.events import BROADCAST, event_handler class ListenerService: name = "listener" @event_handler("monitor", "ping", handler_type=BROADCAST, reliable_delivery=False) def ping(self, payload): print("pong from {}".format(self.name))
data/nameko-2.14.1/docs/examples/event_broadcast.py
271
87
43,612
LOAD_CONST 0 LOAD_CONST ('Dict',) IMPORT_NAME typing IMPORT_FROM Dict STORE_NAME Dict POP_TOP LOAD_CONST 0 LOAD_CONST ('Waiter',) IMPORT_NAME botocore.waiter IMPORT_FROM Waiter STORE_NAME Waiter POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TableExists at 0x7fab8025cd20, file "f.py", line 5> LOAD_CONST 'TableExist...
from typing import Dict from botocore.waiter import Waiter class TableExists(Waiter): def wait(self, TableName: str, WaiterConfig: Dict = None): pass class TableNotExists(Waiter): def wait(self, TableName: str, WaiterConfig: Dict = None): pass
data/boto3_type_annotations-0.3.1/boto3_type_annotations/dynamodb/waiter.py
394
87
103,413
LOAD_CONST 0 LOAD_CONST ('List',) IMPORT_NAME typing IMPORT_FROM List STORE_NAME List POP_TOP LOAD_CONST 0 LOAD_CONST ('FastAPI',) IMPORT_NAME fastapi IMPORT_FROM FastAPI STORE_NAME FastAPI POP_TOP LOAD_CONST 0 LOAD_CONST ('BaseModel', 'HttpUrl') IMPORT_NAME pydantic IMPORT_FROM BaseModel STORE_NAME BaseModel IMPORT_...
from typing import List from fastapi import FastAPI from pydantic import BaseModel, HttpUrl app = FastAPI() class Image(BaseModel): url: HttpUrl name: str @app.post("/images/multiple/") async def create_multiple_images(images: List[Image]): return images
data/fastapi-0.109.2/docs_src/body_nested_models/tutorial008.py
319
87
142,510
LOAD_CONST 1 LOAD_CONST ('CeleryLongCallbackManager', 'CeleryManager') IMPORT_NAME managers.celery_manager IMPORT_FROM CeleryLongCallbackManager STORE_NAME CeleryLongCallbackManager IMPORT_FROM CeleryManager STORE_NAME CeleryManager POP_TOP LOAD_CONST 1 LOAD_CONST ('DiskcacheLongCallbackManager', 'DiskcacheManager') I...
from .managers.celery_manager import ( # noqa: F401,E402 CeleryLongCallbackManager, CeleryManager, ) from .managers.diskcache_manager import ( # noqa: F401,E402 DiskcacheLongCallbackManager, DiskcacheManager, )
data/dash-2.15.0/dash/long_callback/__init__.py
112
87
126,619
LOAD_CONST 0 LOAD_CONST ('print_function',) IMPORT_NAME __future__ IMPORT_FROM print_function STORE_NAME print_function POP_TOP LOAD_NAME print LOAD_CONST 'Clash in constants reveals order:' CALL_FUNCTION POP_TOP LOAD_CONST True LOAD_CONST 1 BUILD_SET STORE_NAME x LOAD_NAME print LOAD_NAME x CALL_FUNCTION POP_TOP L...
from __future__ import print_function print("Clash in constants reveals order:") x = {True, 1} print(x) print("Complex constant using sets with clashes at run time:") y = True x = ({1}, {1, True}, {1, 1.0}, {1, y}) print(x)
data/Nuitka-2.0.3/tests/basics/ConstantsTest27.py
159
87
148,363
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ctypes STORE_NAME ctypes LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('lib',) IMPORT_NAME awkward_cpp.cpu_kernels IMPORT_FROM lib STORE_NAME lib POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate...
import ctypes import pytest from awkward_cpp.cpu_kernels import lib @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_cpuawkward_ListOffsetArray64_rpad_length_axis1_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-cpu-kernels/test_cpuawkward_ListOffsetArray64_rpad_length_axis1.py
229
87
221,529
LOAD_CONST 0 LOAD_CONST ('Dict',) IMPORT_NAME typing IMPORT_FROM Dict STORE_NAME Dict POP_TOP LOAD_CONST 0 LOAD_CONST ('Waiter',) IMPORT_NAME botocore.waiter IMPORT_FROM Waiter STORE_NAME Waiter POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ClusterActive at 0x7fab82360420, file "f.py", line 5> LOAD_CONST 'ClusterA...
from typing import Dict from botocore.waiter import Waiter class ClusterActive(Waiter): def wait(self, name: str, WaiterConfig: Dict = None): pass class ClusterDeleted(Waiter): def wait(self, name: str, WaiterConfig: Dict = None): pass
data/boto3_type_annotations-0.3.1/boto3_type_annotations/eks/waiter.py
397
87
103,368
LOAD_CONST 1 LOAD_CONST ('BaseClientParser',) IMPORT_NAME IMPORT_FROM BaseClientParser STORE_NAME BaseClientParser POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object P2P at 0x7f8e2fec3ae0, file "f.py", line 4> LOAD_CONST 'P2P' MAKE_FUNCTION LOAD_CONST 'P2P' LOAD_NAME BaseClientParser CALL_FUNCTION STORE_NAME P2P LOAD_C...
from . import BaseClientParser class P2P(BaseClientParser): fixture_files = [ "local/client/p2p.yml", ] def dtype(self): return self.calculated_dtype or "p2p" __all__ = [ "P2P", ]
data/device_detector-5.0.1/device_detector/parser/client/p2p.py
233
87
336,760
LOAD_CONST "Dataset definition for natural_questions.\n\nDEPRECATED!\nIf you want to use the NaturalQuestions dataset builder class, use:\ntfds.builder_cls('natural_questions')\n" STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('lazy_builder_import',) IMPORT_NAME tensorflow_datasets.core IMPORT_FROM lazy_builder_import ST...
"""Dataset definition for natural_questions. DEPRECATED! If you want to use the NaturalQuestions dataset builder class, use: tfds.builder_cls('natural_questions') """ from tensorflow_datasets.core import lazy_builder_import NaturalQuestions = lazy_builder_import.LazyBuilderImport("natural_questions")
data/tfds-nightly-4.9.4.dev202402210044/tensorflow_datasets/question_answering/natural_questions.py
130
87
238,361
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME json STORE_NAME json LOAD_CONST 0 LOAD_CONST None IMPORT_NAME requests_unixsocket STORE_NAME requests_unixsocket LOAD_NAME requests_unixsocket LOAD_METHOD Session CALL_METHOD STORE_NAME session LOAD_NAME session LOAD_METHOD get LOAD_CONST 'http+unix://%2Fvar%2Frun%2Fdocker.so...
import json import requests_unixsocket session = requests_unixsocket.Session() r = session.get("http+unix://%2Fvar%2Frun%2Fdocker.sock/info") registry_config = r.json()["RegistryConfig"] print(json.dumps(registry_config, indent=4))
data/requests-unixsocket-0.3.0/examples/docker-info.py
148
87
118,938
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 0 LOAD_CONST ('ModuleTaskLoader',) IMPORT_NAME doit.cmd_base IMPORT_FROM ModuleTaskLoader STORE_NAME ModuleTaskLoader POP_TOP LOAD_CONST 0 LOAD_CONST ('DoitMain',) IMPORT_NAME doit.doit_cmd IMPORT_FROM DoitMain STORE_NAME DoitMain POP_TOP LOAD_NA...
import sys from doit.cmd_base import ModuleTaskLoader from doit.doit_cmd import DoitMain if __name__ == "__main__": import my_module_with_tasks sys.exit(DoitMain(ModuleTaskLoader(my_module_with_tasks)).run(sys.argv[1:]))
data/doit-0.36.0/doc/samples/module_loader.py
189
87
109,322
LOAD_CONST './grid-rcnn_r50_fpn_gn-head_2x_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_...
_base_ = "./grid-rcnn_r50_fpn_gn-head_2x_coco.py" model = dict( backbone=dict( depth=101, init_cfg=dict(type="Pretrained", checkpoint="torchvision://resnet101"), ) )
data/mmdet-3.3.0/mmdet/.mim/configs/grid_rcnn/grid-rcnn_r101_fpn_gn-head_2x_coco.py
111
87
151,618
LOAD_CONST 0 LOAD_CONST ('dataclass',) IMPORT_NAME dataclasses IMPORT_FROM dataclass STORE_NAME dataclass POP_TOP LOAD_CONST 0 LOAD_CONST ('AI21BaseModelMixin',) IMPORT_NAME ai21.models.ai21_base_model_mixin IMPORT_FROM AI21BaseModelMixin STORE_NAME AI21BaseModelMixin POP_TOP LOAD_CONST 0 LOAD_CONST ('RoleType',) IMP...
from dataclasses import dataclass from ai21.models.ai21_base_model_mixin import AI21BaseModelMixin from ai21.models.role_type import RoleType @dataclass class ChatMessage(AI21BaseModelMixin): role: RoleType text: str
data/ai21-2.0.4/ai21/models/chat_message.py
266
87
370,663
LOAD_CONST 0 LOAD_CONST ('dataclass',) IMPORT_NAME dataclasses IMPORT_FROM dataclass STORE_NAME dataclass POP_TOP LOAD_CONST 0 LOAD_CONST ('Optional',) IMPORT_NAME typing IMPORT_FROM Optional STORE_NAME Optional POP_TOP LOAD_NAME dataclass LOAD_BUILD_CLASS LOAD_CONST <code object TRVDeviceInfoParams at 0x7fab8234a9c0...
from dataclasses import dataclass from typing import Optional @dataclass class TRVDeviceInfoParams(object): target_temp: Optional[float] = None temp_offset: Optional[int] = None frost_protection_on: Optional[bool] = None child_protection: Optional[bool] = None
data/plugp100-4.0.3/plugp100/requests/set_device_info/set_trv_info_params.py
311
87
144,081
LOAD_CONST 0 LOAD_CONST ('DeprecationRule',) IMPORT_NAME saltlint.linter.rule IMPORT_FROM DeprecationRule STORE_NAME DeprecationRule POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object StateDeprecationDockerVolumeAbsent at 0x7faa761ee660, file "f.py", line 4> LOAD_CONST 'StateDeprecationDockerVolumeAbsent' MAKE_FUNCTION ...
from saltlint.linter.rule import DeprecationRule class StateDeprecationDockerVolumeAbsent(DeprecationRule): id = "914" state = "docker.volume_absent" deprecated_since = "2017.7.0" version_added = "v0.5.0"
data/salt-lint-0.9.2/saltlint/rules/StateDeprecationDockerVolumeAbsent.py
226
87
436,328
SETUP_ANNOTATIONS LOAD_CONST '``AbstractDataset`` implementation to load/save data from/to a JSON file.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Any',) IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME lazy_loader STORE_NAME lazy LOAD_NAME Any LOAD_NAME __annotat...
"""``AbstractDataset`` implementation to load/save data from/to a JSON file.""" from typing import Any import lazy_loader as lazy JSONDataset: Any __getattr__, __dir__, __all__ = lazy.attach( __name__, submod_attrs={"json_dataset": ["JSONDataset"]} )
data/kedro-datasets-2.0.0/kedro_datasets/json/__init__.py
151
87
61,494
LOAD_CONST 0 LOAD_CONST ('OpRun',) IMPORT_NAME onnx.reference.op_run IMPORT_FROM OpRun STORE_NAME OpRun POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Mean at 0x7fab823b2a50, file "f.py", line 4> LOAD_CONST 'Mean' MAKE_FUNCTION LOAD_CONST 'Mean' LOAD_NAME OpRun CALL_FUNCTION STORE_NAME Mean LOAD_CONST None RETURN_VA...
from onnx.reference.op_run import OpRun class Mean(OpRun): def _run(self, *args): # type: ignore res = args[0].copy() for m in args[1:]: res += m return ((res / len(args)).astype(args[0].dtype),)
data/onnx-simplifier-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_mean.py
276
87
309,482
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME AuthenticationServices STORE_NAME AuthenticationServices LOAD_CONST 0 LOAD_CONST ('TestCase', 'min_sdk_level') IMPORT_NAME PyObjCTools.TestSupport IMPORT_FROM TestCase STORE_NAME TestCase IMPORT_FROM min_sdk_level STORE_NAME min_sdk_level POP_TOP LOAD_BUILD_CLASS LOAD_CONST <c...
import AuthenticationServices # noqa: F401 from PyObjCTools.TestSupport import TestCase, min_sdk_level class TestASAuthorizationCredential(TestCase): @min_sdk_level("10.15") def test_protocols(self): self.assertProtocolExists("ASAuthorizationCredential")
data/pyobjc-framework-AuthenticationServices-10.1/PyObjCTest/test_asauthorizationcredential.py
288
87
129,410
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ctypes STORE_NAME ctypes LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('lib',) IMPORT_NAME awkward_cpp.cpu_kernels IMPORT_FROM lib STORE_NAME lib POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate...
import ctypes import pytest from awkward_cpp.cpu_kernels import lib @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_cpuawkward_IndexedArray32_ranges_next_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-cpu-kernels/test_cpuawkward_IndexedArray32_ranges_next_64.py
228
87
221,538
LOAD_CONST 0 LOAD_CONST ('TestFormat', 'FileBasedTest', 'ExecutableTest') IMPORT_NAME lit.formats.base IMPORT_FROM TestFormat STORE_NAME TestFormat IMPORT_FROM FileBasedTest STORE_NAME FileBasedTest IMPORT_FROM ExecutableTest STORE_NAME ExecutableTest POP_TOP LOAD_CONST 0 LOAD_CONST ('GoogleTest',) IMPORT_NAME lit.for...
from lit.formats.base import ( # noqa: F401 TestFormat, FileBasedTest, ExecutableTest, ) from lit.formats.googletest import GoogleTest # noqa: F401 from lit.formats.shtest import ShTest # noqa: F401
data/lit-17.0.6/lit/formats/__init__.py
127
87
299,404
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 len LOAD_NAME sys LOAD_ATTR argv CALL_FUNCTION LOAD_CONST 3 COMPARE_OP == POP_JUMP_IF_TRUE LOAD_GLOBAL AssertionError RAISE_VARARGS LOAD_NAME sys LOAD_ATTR argv LOAD_CONST 1 BINARY_SUBSCR S...
import os import sys assert len(sys.argv) == 3 fname = sys.argv[1] check_str = sys.argv[2] assert os.path.isfile(fname) with open(fname, "r", encoding="utf-8") as f: assert check_str in f.read()
data/numpy-1.26.4/vendored-meson/meson/test cases/frameworks/6 gettext/data3/verify.py
199
87
363,817
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ctypes STORE_NAME ctypes LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('lib',) IMPORT_NAME awkward_cpp.cpu_kernels IMPORT_FROM lib STORE_NAME lib POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate...
import ctypes import pytest from awkward_cpp.cpu_kernels import lib @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_cpuawkward_reduce_prod_bool_float32_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-cpu-kernels/test_cpuawkward_reduce_prod_bool_float32_64.py
229
87
221,539
LOAD_CONST 0 LOAD_CONST ('RegionInfo',) IMPORT_NAME boto.regioninfo IMPORT_FROM RegionInfo STORE_NAME RegionInfo POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object SDBRegionInfo at 0x7fab42231030, file "f.py", line 4> LOAD_CONST 'SDBRegionInfo' MAKE_FUNCTION LOAD_CONST 'SDBRegionInfo' LOAD_NAME RegionInfo CALL_FUNCTION ...
from boto.regioninfo import RegionInfo class SDBRegionInfo(RegionInfo): def __init__(self, connection=None, name=None, endpoint=None, connection_cls=None): from boto.sdb.connection import SDBConnection super(SDBRegionInfo, self).__init__(connection, name, endpoint, SDBConnection)
data/boto-2.49.0/boto/sdb/regioninfo.py
288
87
346,845
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ast STORE_NAME ast LOAD_CONST 0 LOAD_CONST ('Optional',) IMPORT_NAME typing IMPORT_FROM Optional STORE_NAME Optional POP_TOP LOAD_NAME Optional LOAD_NAME ast LOAD_ATTR AST BINARY_SUBSCR LOAD_NAME bool LOAD_CONST ('node', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object is...
import ast from typing import Optional def is_none(node: Optional[ast.AST]) -> bool: return isinstance(node, ast.NameConstant) and node.value is None def is_false(node: Optional[ast.AST]) -> bool: return isinstance(node, ast.NameConstant) and node.value is False
data/flake8-return-1.2.0/flake8_return/utils.py
254
87
368,172
LOAD_CONST 'Constants for the kmtronic integration.' STORE_NAME __doc__ LOAD_CONST 'kmtronic' STORE_NAME DOMAIN LOAD_CONST 'reverse' STORE_NAME CONF_REVERSE LOAD_CONST 'hub' STORE_NAME DATA_HUB LOAD_CONST 'coordinator' STORE_NAME DATA_COORDINATOR LOAD_CONST 'KMtronic' STORE_NAME MANUFACTURER LOAD_CONST 'update_li...
"""Constants for the kmtronic integration.""" DOMAIN = "kmtronic" CONF_REVERSE = "reverse" DATA_HUB = "hub" DATA_COORDINATOR = "coordinator" MANUFACTURER = "KMtronic" UPDATE_LISTENER = "update_listener"
data/homeassistant-2024.2.2/homeassistant/components/kmtronic/const.py
112
87
406,645
LOAD_CONST 0 LOAD_CONST ('unique',) IMPORT_NAME enum IMPORT_FROM unique STORE_NAME unique POP_TOP LOAD_CONST 4 LOAD_CONST ('StrEnum',) IMPORT_NAME _base_enum IMPORT_FROM StrEnum STORE_NAME StrEnum POP_TOP LOAD_NAME unique LOAD_BUILD_CLASS LOAD_CONST <code object FxVolatilityModel at 0x7fab700e4ed0, file "f.py", line ...
from enum import unique from ...._base_enum import StrEnum @unique class FxVolatilityModel(StrEnum): CUBIC_SPLINE = "CubicSpline" SABR = "SABR" SVI = "SVI" TWIN_LOGNORMAL = "TwinLognormal"
data/refinitiv-data-1.6.0/refinitiv/data/content/ipa/_enums/_fx_volatility_model.py
224
87
195,570
LOAD_CONST 0 LOAD_CONST ('DeprecationRule',) IMPORT_NAME saltlint.linter.rule IMPORT_FROM DeprecationRule STORE_NAME DeprecationRule POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object StateDeprecationDockerNetworkAbsent at 0x7faa761ee660, file "f.py", line 4> LOAD_CONST 'StateDeprecationDockerNetworkAbsent' MAKE_FUNCTIO...
from saltlint.linter.rule import DeprecationRule class StateDeprecationDockerNetworkAbsent(DeprecationRule): id = "910" state = "docker.network_absent" deprecated_since = "2017.7.0" version_added = "v0.5.0"
data/salt-lint-0.9.2/saltlint/rules/StateDeprecationDockerNetworkAbsent.py
226
87
436,340
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('DatabaseError', 'connect') IMPORT_NAME pg8000.dbapi IMPORT_FROM DatabaseError STORE_NAME DatabaseError IMPORT_FROM connect STORE_NAME connect POP_TOP LOAD_CONST <code object test_password at 0x7fab82236660, file "f.py", line 6...
import pytest from pg8000.dbapi import DatabaseError, connect def test_password(db_kwargs): db_kwargs["database"] = "pg8000_password" with pytest.raises(DatabaseError, match="3D000"): with connect(**db_kwargs): pass
data/pg8000-1.30.4/test/dbapi/auth/test_password.py
219
87
196,091
LOAD_CONST 'Tsuyoshi Hombashi' STORE_NAME __author__ LOAD_CONST 'Copyright 2017, ' LOAD_NAME __author__ FORMAT_VALUE BUILD_STRING STORE_NAME __copyright__ LOAD_CONST 'MIT License' STORE_NAME __license__ LOAD_CONST '1.3.3' STORE_NAME __version__ LOAD_NAME __author__ STORE_NAME __maintainer__ LOAD_CONST 'tsuyoshi.ho...
__author__ = "Tsuyoshi Hombashi" __copyright__ = f"Copyright 2017, {__author__}" __license__ = "MIT License" __version__ = "1.3.3" __maintainer__ = __author__ __email__ = "tsuyoshi.hombashi@gmail.com"
data/tabledata-1.3.3/tabledata/__version__.py
112
87
133,027
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME webview STORE_NAME webview LOAD_CONST 1 LOAD_CONST ('run_test',) IMPORT_NAME util IMPORT_FROM run_test STORE_NAME run_test POP_TOP LOAD_CONST <code object test_toggle_fullscreen at 0x7fab82375780, file "f.py", line 6> LOAD_CONST 'test_toggle_fullscreen' MAKE_FUNCTION STORE_NAM...
import webview from .util import run_test def test_toggle_fullscreen(): window = webview.create_window("Toggle fullscreen test", "https://www.example.org") run_test(webview, window, toggle_fullscreen) def toggle_fullscreen(window): window.toggle_fullscreen()
data/pywebview-4.4.1/tests/test_toggle_fullscreen.py
240
87
390,107
LOAD_CONST './mask-rcnn_r50_fpn_instaboost-4x_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',) CA...
_base_ = "./mask-rcnn_r50_fpn_instaboost-4x_coco.py" model = dict( backbone=dict( depth=101, init_cfg=dict(type="Pretrained", checkpoint="torchvision://resnet101"), ) )
data/mmdet-3.3.0/mmdet/.mim/configs/instaboost/mask-rcnn_r101_fpn_instaboost-4x_coco.py
112
87
151,779
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME posix_ipc STORE_NAME posix_ipc LOAD_CONST 0 LOAD_CONST None IMPORT_NAME utils STORE_NAME utils SETUP_EXCEPT to 52 LOAD_NAME posix_ipc LOAD_METHOD unlink_message_queue LOAD_NAME utils LOAD_ATTR QUEUE_NAME CALL_METHOD POP_TOP LOAD_CONST 'message queue %s removed' LOAD_NAME uti...
import posix_ipc import utils try: posix_ipc.unlink_message_queue(utils.QUEUE_NAME) s = "message queue %s removed" % utils.QUEUE_NAME print(s) except: print("queue doesn't need cleanup") print("\nAll clean!")
data/posix_ipc-1.1.1/demo3/cleanup.py
176
87
281,606
LOAD_CONST 0 LOAD_CONST ('Posthog',) IMPORT_NAME posthog IMPORT_FROM Posthog STORE_NAME Posthog POP_TOP LOAD_NAME Posthog LOAD_CONST 'phc_Gz6XxldNZIkzW7QnSTGr5HZ28OAYPIfpE7X5A3vUsfO' LOAD_CONST 'https://app.posthog.com' LOAD_CONST ('project_api_key', 'host') CALL_FUNCTION STORE_NAME posthog LOAD_CONST None RETURN_VA...
from posthog import Posthog posthog = Posthog( project_api_key="phc_Gz6XxldNZIkzW7QnSTGr5HZ28OAYPIfpE7X5A3vUsfO", host="https://app.posthog.com", )
data/swarms-4.1.6/swarms/telemetry/posthog_utils.py
118
87
307,726
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME cx_Oracle STORE_NAME cx_Oracle LOAD_CONST 0 LOAD_CONST None IMPORT_NAME db_config STORE_NAME db_config LOAD_NAME cx_Oracle LOAD_METHOD connect LOAD_NAME db_config LOAD_ATTR user LOAD_NAME db_config LOAD_ATTR pw LOAD_NAME db_config LOAD_ATTR dsn CALL_METHOD STORE_NAME con LOAD...
import cx_Oracle import db_config con = cx_Oracle.connect(db_config.user, db_config.pw, db_config.dsn) cur = con.cursor() cur.execute("select * from dept order by deptno") res = cur.fetchmany(numRows=3) print(res)
data/cx_Oracle-8.3.0/samples/tutorial/query_many.py
158
87
335,267
LOAD_CONST 0 LOAD_CONST ('MissingField',) IMPORT_NAME mashumaro.exceptions IMPORT_FROM MissingField STORE_NAME MissingField POP_TOP LOAD_CONST 0 LOAD_CONST ('field_options', 'pass_through') IMPORT_NAME mashumaro.helper IMPORT_FROM field_options STORE_NAME field_options IMPORT_FROM pass_through STORE_NAME pass_through ...
from mashumaro.exceptions import MissingField from mashumaro.helper import field_options, pass_through from mashumaro.mixins.dict import DataClassDictMixin __all__ = [ "MissingField", "DataClassDictMixin", "field_options", "pass_through", ]
data/mashumaro-3.12/mashumaro/__init__.py
170
87
397,986
LOAD_CONST 'sample_file' LOAD_CONST ('file',) BUILD_CONST_KEY_MAP LOAD_CONST <code object x0 at 0x7faa75305030, file "f.py", line 1> LOAD_CONST 'x0' MAKE_FUNCTION STORE_NAME x0 LOAD_CONST None LOAD_CONST ('file',) BUILD_CONST_KEY_MAP LOAD_CONST <code object x1 at 0x7faa75305390, file "f.py", line 5> LOAD_CONST 'x1' MA...
def x0(*, file="sample_file"): pass def x1(a, *, file=None): pass def x2(a=5, *, file="filex2"): pass def x3(a=5, *, file="filex2", stuff=None): pass
data/uncompyle6-3.9.0/test/simple_source/def/03_py3_def.py
285
87
442,192
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST None IMPORT_NAME panel STORE_NAME panel LOAD_CONST <code object test_models_encoding at 0x7fab823a3ae0, file "f.py", line 6> LOAD_CONST 'test_models_encoding' MAKE_FUNCTION STORE_NAME test_models_encoding LOAD_CONST None RETURN_VALUE L...
import os import panel def test_models_encoding(): model_dir = os.path.join(panel.__path__[0], "models") for file in os.listdir(model_dir): if file.endswith(".ts"): open(os.path.join(model_dir, file), "r").read()
data/panel-1.3.8/panel/tests/test_models.py
218
87
443,428
LOAD_BUILD_CLASS LOAD_CONST <code object CoverallsException at 0x7faa7c0044b0, file "f.py", line 1> LOAD_CONST 'CoverallsException' MAKE_FUNCTION LOAD_CONST 'CoverallsException' LOAD_NAME Exception CALL_FUNCTION STORE_NAME CoverallsException LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CO...
class CoverallsException(Exception): def __eq__(self, other): if isinstance(other, self.__class__): return str(self) == str(other) return False def __ne__(self, other): return not self.__eq__(other) def __hash__(self): return hash(str(self))
data/coveralls-3.3.1/coveralls/exception.py
341
87
418,674
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ctypes STORE_NAME ctypes LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('lib',) IMPORT_NAME awkward_cpp.cpu_kernels IMPORT_FROM lib STORE_NAME lib POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate...
import ctypes import pytest from awkward_cpp.cpu_kernels import lib @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_cpuawkward_reduce_countnonzero_int32_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-cpu-kernels/test_cpuawkward_reduce_countnonzero_int32_64.py
228
87
221,606
LOAD_CONST 0 LOAD_CONST ('Client',) IMPORT_NAME lexica.core IMPORT_FROM Client STORE_NAME Client POP_TOP LOAD_CONST 0 LOAD_CONST ('AsyncClient',) IMPORT_NAME lexica.core_async IMPORT_FROM AsyncClient STORE_NAME AsyncClient POP_TOP LOAD_CONST 0 LOAD_CONST ('languageModels',) IMPORT_NAME lexica.constants IMPORT_FROM la...
from lexica.core import Client from lexica.core_async import AsyncClient from lexica.constants import languageModels __all__ = ["Client", "AsyncClient", "languageModels"] __version__ = "1.5.5" __author__ = "Qewertyy <qewertyy.irl@gmail.com>"
data/lexica-api-1.5.5/lexica/__init__.py
159
87
219,528
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ctypes STORE_NAME ctypes LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('lib',) IMPORT_NAME awkward_cpp.cpu_kernels IMPORT_FROM lib STORE_NAME lib POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate...
import ctypes import pytest from awkward_cpp.cpu_kernels import lib @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_cpuawkward_reduce_max_uint8_uint8_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-cpu-kernels/test_cpuawkward_reduce_max_uint8_uint8_64.py
228
87
221,610
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 'IS_TEST' STORE_NAME ENV_FLAG_IS_TEST LOAD_NAME str LOAD_NAME bool LOAD_CONST ('name', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object _env_flag_enabled at 0x7fab823c2660, file "f.py", line 6> LOAD_CONST '_env_flag_enabled' MAKE_FUNCTION STORE...
import os ENV_FLAG_IS_TEST = "IS_TEST" def _env_flag_enabled(name: str) -> bool: return os.getenv(name, default="False") == "True" def is_test() -> bool: return _env_flag_enabled(ENV_FLAG_IS_TEST)
data/feast-0.36.0/sdk/python/feast/flags_helper.py
226
87
281,870
LOAD_CONST 'Constants for the Bluesound HiFi wireless speakers and audio integrations component.' STORE_NAME __doc__ LOAD_CONST 'bluesound' STORE_NAME DOMAIN LOAD_CONST 'clear_sleep_timer' STORE_NAME SERVICE_CLEAR_TIMER LOAD_CONST 'join' STORE_NAME SERVICE_JOIN LOAD_CONST 'set_sleep_timer' STORE_NAME SERVICE_SET_TI...
"""Constants for the Bluesound HiFi wireless speakers and audio integrations component.""" DOMAIN = "bluesound" SERVICE_CLEAR_TIMER = "clear_sleep_timer" SERVICE_JOIN = "join" SERVICE_SET_TIMER = "set_sleep_timer" SERVICE_UNJOIN = "unjoin"
data/homeassistant-2024.2.2/homeassistant/components/bluesound/const.py
111
87
295,640
LOAD_CONST 0 LOAD_CONST ('xsectplotting',) IMPORT_NAME xtgeoviz.frontends IMPORT_FROM xsectplotting STORE_NAME xsectplotting POP_TOP LOAD_CONST 0 LOAD_CONST ('xsectplot',) IMPORT_NAME xtgeoviz.frontends.xsectplotting IMPORT_FROM xsectplot STORE_NAME xsectplot POP_TOP LOAD_CONST 0 LOAD_CONST ('quickplot',) IMPORT_NAME...
from xtgeoviz.frontends import xsectplotting from xtgeoviz.frontends.xsectplotting import xsectplot from xtgeoviz.plot.quickplot import quickplot try: from .version import version __version__ = version except ImportError: __version__ = "0.0.0"
data/xtgeoviz-0.1.0/src/xtgeoviz/__init__.py
206
87
146,029
LOAD_CONST 0 LOAD_CONST ('AppConfig',) IMPORT_NAME django.apps IMPORT_FROM AppConfig STORE_NAME AppConfig POP_TOP LOAD_CONST 0 LOAD_CONST ('gettext_lazy',) IMPORT_NAME django.utils.translation IMPORT_FROM gettext_lazy STORE_NAME _ POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object WagtailRoutablePageTestsAppConfig at 0...
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ class WagtailRoutablePageTestsAppConfig(AppConfig): name = "wagtail.test.routablepage" label = "routablepagetests" verbose_name = _("Wagtail routable page tests")
data/wagtail-6.0.1/wagtail/test/routablepage/apps.py
248
87
200,588
LOAD_CONST 0 LOAD_CONST ('generate_graph_specification', 'get_model_relations', 'render_graph', 'render_model') IMPORT_NAME numpyro.infer.inspect IMPORT_FROM generate_graph_specification STORE_NAME generate_graph_specification IMPORT_FROM get_model_relations STORE_NAME get_model_relations IMPORT_FROM render_graph STORE...
from numpyro.infer.inspect import ( generate_graph_specification, get_model_relations, render_graph, render_model, ) __all__ = [ "generate_graph_specification", "get_model_relations", "render_graph", "render_model", ]
data/numpyro-0.13.2/numpyro/contrib/render.py
143
87
141,039
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ctypes STORE_NAME ctypes LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('lib',) IMPORT_NAME awkward_cpp.cpu_kernels IMPORT_FROM lib STORE_NAME lib POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate...
import ctypes import pytest from awkward_cpp.cpu_kernels import lib @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_cpuawkward_IndexedArray64_reduce_next_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-cpu-kernels/test_cpuawkward_IndexedArray64_reduce_next_64.py
228
87
221,614
LOAD_CONST 0 LOAD_CONST ('Klein',) IMPORT_NAME klein IMPORT_FROM Klein STORE_NAME Klein POP_TOP LOAD_NAME Klein CALL_FUNCTION STORE_NAME app LOAD_NAME app LOAD_METHOD route LOAD_CONST '/' CALL_METHOD LOAD_CONST <code object pg_root at 0x7faa750be9c0, file "f.py", line 7> LOAD_CONST 'pg_root' MAKE_FUNCTION CALL_FUNCTI...
from klein import Klein app = Klein() @app.route("/") def pg_root(request): return "I am the root page!" @app.route("/about") def pg_about(request): return "I am a Klein application!" app.run("localhost", 8080)
data/klein-23.12.0/docs/introduction/codeexamples/moreRoutes.py
214
87
444,918
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ctypes STORE_NAME ctypes LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('lib',) IMPORT_NAME awkward_cpp.cpu_kernels IMPORT_FROM lib STORE_NAME lib POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate...
import ctypes import pytest from awkward_cpp.cpu_kernels import lib @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_cpuawkward_reduce_prod_bool_int16_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-cpu-kernels/test_cpuawkward_reduce_prod_bool_int16_64.py
228
87
221,615
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ctypes STORE_NAME ctypes LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('lib',) IMPORT_NAME awkward_cpp.cpu_kernels IMPORT_FROM lib STORE_NAME lib POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate...
import ctypes import pytest from awkward_cpp.cpu_kernels import lib @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_cpuawkward_reduce_sum_int64_bool_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-cpu-kernels/test_cpuawkward_reduce_sum_int64_bool_64.py
228
87
221,616
LOAD_CONST 1 LOAD_CONST ('entropy',) IMPORT_NAME entropy IMPORT_FROM entropy STORE_NAME entropy POP_TOP LOAD_CONST 1 LOAD_CONST ('kurtosis',) IMPORT_NAME kurtosis IMPORT_FROM kurtosis STORE_NAME kurtosis POP_TOP LOAD_CONST 1 LOAD_CONST ('mad',) IMPORT_NAME mad IMPORT_FROM mad STORE_NAME mad POP_TOP LOAD_CONST 1 LOAD...
from .entropy import entropy from .kurtosis import kurtosis from .mad import mad from .median import median from .quantile import quantile from .skew import skew from .stdev import stdev from .tos_stdevall import tos_stdevall from .variance import variance from .zscore import zscore
data/pandas_ta-0.3.14b/pandas_ta/statistics/__init__.py
272
87
162,341
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ctypes STORE_NAME ctypes LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('lib',) IMPORT_NAME awkward_cpp.cpu_kernels IMPORT_FROM lib STORE_NAME lib POP_TOP LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate...
import ctypes import pytest from awkward_cpp.cpu_kernels import lib @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_cpuawkward_reduce_prod_bool_int32_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-cpu-kernels/test_cpuawkward_reduce_prod_bool_int32_64.py
229
87
221,621
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME Naked.settings STORE_NAME Naked LOAD_CONST 0 LOAD_CONST ('exit_success',) IMPORT_NAME Naked.toolshed.system IMPORT_FROM exit_success STORE_NAME exit_success POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Usage at 0x7fab800c7420, file "f.py", line 5> LOAD_CONST 'Usage' MAKE_F...
import Naked.settings from Naked.toolshed.system import exit_success class Usage: def __init__(self): self.usage = Naked.settings.usage def print_usage(self): print(self.usage) exit_success() if __name__ == "__main__": pass
data/Naked-0.1.32/lib/Naked/commands/usage.py
308
87
178,029
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME plotly.validators STORE_NAME plotly LOAD_BUILD_CLASS LOAD_CONST <code object DataValidator at 0x7fab700f1e40, file "f.py", line 4> LOAD_CONST 'DataValidator' MAKE_FUNCTION LOAD_CONST 'DataValidator' LOAD_NAME plotly LOAD_ATTR validators LOAD_ATTR DataValidator CALL_FUNCTION STO...
import plotly.validators class DataValidator(plotly.validators.DataValidator): def __init__(self, plotly_name="data", parent_name="frame", **kwargs): super(DataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, **kwargs )
data/plotly-5.19.0/plotly/validators/frame/_data.py
258
87
35,196
LOAD_CONST 'rinoh.frontend.sphinx' LOAD_CONST 'sphinxcontrib.bibtex' BUILD_LIST STORE_NAME extensions LOAD_CONST '_build' BUILD_LIST STORE_NAME exclude_patterns LOAD_CONST 'test.bib' BUILD_LIST STORE_NAME bibtex_bibfiles LOAD_NAME dict LOAD_CONST 'index' LOAD_CONST 'book' LOAD_CONST False LOAD_CONST 'template.rtt' L...
extensions = ["rinoh.frontend.sphinx", "sphinxcontrib.bibtex"] exclude_patterns = ["_build"] bibtex_bibfiles = ["test.bib"] rinoh_documents = [ dict(doc="index", target="book", toctree_only=False, template="template.rtt"), ]
data/sphinxcontrib-bibtex-2.6.2/test/roots/test-citation_rinoh_multidoc/conf.py
121
87
136,716
LOAD_CONST '\nBeartype **abstract syntax tree (AST) functionality** (i.e., low-level callables\nand classes instrumenting well-typed third-party modules with runtime\ntype-checking dynamically generated by the :func:`beartype.beartype` decorator).\n\nThis private submodule is *not* intended for importation by downstrea...
""" Beartype **abstract syntax tree (AST) functionality** (i.e., low-level callables and classes instrumenting well-typed third-party modules with runtime type-checking dynamically generated by the :func:`beartype.beartype` decorator). This private submodule is *not* intended for importation by downstream callers. """...
data/beartype-0.17.2/beartype/claw/_ast/__init__.py
101
87
373,125
LOAD_CONST 0 LOAD_CONST ('Union',) IMPORT_NAME typing IMPORT_FROM Union STORE_NAME Union POP_TOP LOAD_NAME str LOAD_NAME Union LOAD_NAME int LOAD_NAME str BUILD_TUPLE BINARY_SUBSCR LOAD_CONST ('s', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object _to_int at 0x7f8ab706f930, file "f.py", line 4> LOAD_CONST '_to_int...
from typing import Union def _to_int(s: str) -> Union[int, str]: try: return int(s) except ValueError: return s __version__ = "2.10.3" version_info = tuple(_to_int(s) for s in __version__.split("."))
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/third_party/pybind11/pybind11/_version.py
282
87
114,668
LOAD_CONST 0 LOAD_CONST ('DeltaCollection',) IMPORT_NAME office365.delta_collection IMPORT_FROM DeltaCollection STORE_NAME DeltaCollection POP_TOP LOAD_CONST 0 LOAD_CONST ('MailFolder',) IMPORT_NAME office365.outlook.mail.folders.folder IMPORT_FROM MailFolder STORE_NAME MailFolder POP_TOP LOAD_BUILD_CLASS LOAD_CONST ...
from office365.delta_collection import DeltaCollection from office365.outlook.mail.folders.folder import MailFolder class MailFolderCollection(DeltaCollection[MailFolder]): def __init__(self, context, resource_path=None): super(MailFolderCollection, self).__init__(context, MailFolder, resource_path)
data/Office365-REST-Python-Client-2.5.5/office365/outlook/mail/folders/collection.py
289
87
189,001
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME urllib IMPORT_STAR DELETE_NAME request LOAD_CONST 1 LOAD_CONST ('request',) IMPORT_NAME IMPORT_FROM request STORE_NAME request POP_TOP LOAD_CONST 2 LOAD_CONST ('passthrough_module',) IMPORT_NAME compat_utils IMPORT_FROM passthrough_module STORE_NAME passthrough_module POP_T...
from urllib import * # noqa: F403 del request # noqa: F821 from . import request # noqa: F401 from ..compat_utils import passthrough_module passthrough_module(__name__, "urllib") del passthrough_module
data/yt-dlp-2023.12.30/yt_dlp/compat/urllib/__init__.py
121
87
158,574
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('Final',) IMPORT_NAME typing IMPORT_FROM Final STORE_NAME Final POP_TOP LOAD_CONST 0 LOAD_CONST ('Cluster',) IMPORT_NAME zigpy.zcl IMPORT_FROM Cluster STORE_NAME Cluster POP_...
from __future__ import annotations from typing import Final from zigpy.zcl import Cluster class ManufacturerSpecificCluster(Cluster): cluster_id_range = (0xFC00, 0xFFFF) ep_attribute: Final = "manufacturer_specific" name: Final = "Manufacturer Specific"
data/zigpy-0.62.3/zigpy/zcl/clusters/manufacturer_specific.py
280
87
130,356
LOAD_CONST '../strongsort/yolox_x_8xb4-80e_crowdhuman-mot17halftrain_test-mot17halfval.py' BUILD_LIST STORE_NAME _base_ LOAD_NAME dict LOAD_CONST 'AmpOptimWrapper' LOAD_CONST 'dynamic' LOAD_CONST ('type', 'loss_scale') CALL_FUNCTION STORE_NAME optim_wrapper LOAD_CONST None RETURN_VALUE
_base_ = [ "../strongsort/yolox_x_8xb4-80e_crowdhuman-mot17halftrain_test-mot17halfval.py" # noqa: E501 ] optim_wrapper = dict(type="AmpOptimWrapper", loss_scale="dynamic")
data/mmdet-3.3.0/mmdet/.mim/configs/bytetrack/yolox_x_8xb4-amp-80e_crowdhuman-mot17halftrain_test-mot17halfval.py
91
87
151,652
LOAD_CONST 'Pipeline maker utility.' STORE_NAME __doc__ LOAD_CONST 'make_pipeline' LOAD_CONST 'sklearn_to_sktime' LOAD_CONST 'Pipeline' BUILD_LIST STORE_NAME __all__ LOAD_CONST 0 LOAD_CONST ('make_pipeline',) IMPORT_NAME sktime.pipeline._make_pipeline IMPORT_FROM make_pipeline STORE_NAME make_pipeline POP_TOP LOAD_C...
"""Pipeline maker utility.""" __all__ = ["make_pipeline", "sklearn_to_sktime", "Pipeline"] from sktime.pipeline._make_pipeline import make_pipeline from sktime.pipeline._sklearn_to_sktime import sklearn_to_sktime from sktime.pipeline.pipeline import Pipeline
data/sktime-0.26.0/sktime/pipeline/__init__.py
175
87
65,515
LOAD_CONST 0 LOAD_CONST ('SitePage',) IMPORT_NAME office365.sharepoint.publishing.pages.page IMPORT_FROM SitePage STORE_NAME SitePage POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TopicSitePage at 0x7fab700ad780, file "f.py", line 4> LOAD_CONST 'TopicSitePage' MAKE_FUNCTION LOAD_CONST 'TopicSitePage' LOAD_NAME Site...
from office365.sharepoint.publishing.pages.page import SitePage class TopicSitePage(SitePage): @property def entity_id(self): return self.properties.get("EntityId", None) @property def entity_type(self): return self.properties.get("EntityType", None)
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/publishing/pages/topics/topic.py
300
87
189,123
LOAD_CONST '\nLoad the system C library. Variables:\n - LIBC_FILENAME: the C library filename\n - libc: the loaded library\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('CDLL',) IMPORT_NAME ctypes IMPORT_FROM CDLL STORE_NAME CDLL POP_TOP LOAD_CONST 0 LOAD_CONST ('find_library',) IMPORT_NAME ctypes.util IMPORT_FROM f...
""" Load the system C library. Variables: - LIBC_FILENAME: the C library filename - libc: the loaded library """ from ctypes import CDLL from ctypes.util import find_library LIBC_FILENAME = find_library("c") libc = CDLL(LIBC_FILENAME, use_errno=True)
data/python-ptrace-0.9.8/ptrace/ctypes_libc.py
154
87
126,112
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 connection_alias IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME directory IMPORT_STAR LOAD_CON...
from .. import _utilities import typing from .connection_alias import * from .directory import * from .get_bundle import * from .get_directory import * from .get_image import * from .get_workspace import * from .ip_group import * from .workspace import * from ._inputs import * from . import outputs
data/pulumi_aws-6.22.2/pulumi_aws/workspaces/__init__.py
227
87
226,281
LOAD_CONST 'Models used in our tests' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('User',) IMPORT_NAME django.contrib.auth.models IMPORT_FROM User STORE_NAME User POP_TOP LOAD_CONST 0 LOAD_CONST ('models',) IMPORT_NAME django.db IMPORT_FROM models STORE_NAME models POP_TOP LOAD_CONST 0 LOAD_CONST ('CredentialsField'...
"""Models used in our tests""" from django.contrib.auth.models import User from django.db import models from oauth2client.contrib.django_util.models import CredentialsField class CredentialsModel(models.Model): user_id = models.OneToOneField(User) credentials = CredentialsField()
data/oauth2client-4.1.3/tests/contrib/django_util/models.py
241
87
80,583
LOAD_CONST '\nAbstract base classes for primitives module.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('BaseSampler', 'BaseSamplerV1', 'BaseSamplerV2') IMPORT_NAME base_sampler IMPORT_FROM BaseSampler STORE_NAME BaseSampler IMPORT_FROM BaseSamplerV1 STORE_NAME BaseSamplerV1 IMPORT_FROM BaseSamplerV2 STORE_NAME Base...
""" Abstract base classes for primitives module. """ from .base_sampler import BaseSampler, BaseSamplerV1, BaseSamplerV2 from .base_estimator import BaseEstimator, BaseEstimatorV1, BaseEstimatorV2 from .estimator_result import EstimatorResult from .sampler_result import SamplerResult
data/qiskit-1.0.0/qiskit/primitives/base/__init__.py
241
87
283,254
LOAD_CONST 'Get version by introspecting package information.\n\nOCRmyPDF uses setuptools_scm to derive version from git tags.\n' 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 ('version',) IMPORT_NAME i...
"""Get version by introspecting package information. OCRmyPDF uses setuptools_scm to derive version from git tags. """ from __future__ import annotations from importlib.metadata import version as _package_version PROGRAM_NAME = "ocrmypdf" __version__ = _package_version("ocrmypdf")
data/ocrmypdf-16.1.1/src/ocrmypdf/_version.py
138
87
136,243
LOAD_CONST 'Errors for the HLK-SW16 component.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('HomeAssistantError',) IMPORT_NAME homeassistant.exceptions IMPORT_FROM HomeAssistantError STORE_NAME HomeAssistantError POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object SW16Exception at 0x7fab703538a0, file "f.py", line 6> LO...
"""Errors for the HLK-SW16 component.""" from homeassistant.exceptions import HomeAssistantError class SW16Exception(HomeAssistantError): """Base class for HLK-SW16 exceptions.""" class CannotConnect(SW16Exception): """Unable to connect to the HLK-SW16."""
data/homeassistant-2024.2.2/homeassistant/components/hlk_sw16/errors.py
296
87
295,983
LOAD_CONST 'dangerous.txt' STORE_NAME test_source LOAD_CONST 'dangerous.html' STORE_NAME test_destination LOAD_CONST 'html4' STORE_NAME writer_name LOAD_CONST False LOAD_CONST False LOAD_CONST 'functional/input/data/html4css1.css' LOAD_CONST ('file_insertion_enabled', 'raw_enabled', 'stylesheet_path') BUILD_CONST_...
test_source = "dangerous.txt" test_destination = "dangerous.html" writer_name = "html4" settings_overrides = { "file_insertion_enabled": False, "raw_enabled": False, "stylesheet_path": "functional/input/data/html4css1.css", }
data/docutils-0.20.1/test/functional/tests/dangerous.py
100
87
83,247