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 ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('TypedDict',) IMPORT_NAME typing_extensions IMPORT_FROM TypedDict STORE_NAME TypedDict POP_TOP LOAD_CONST 'FileListParams' BUILD_LIST STORE_NAME __all__ LOAD_BUILD_CLASS LOA...
from __future__ import annotations from typing_extensions import TypedDict __all__ = ["FileListParams"] class FileListParams(TypedDict, total=False): purpose: str """Only return files with the given purpose."""
data/openai-1.12.0/src/openai/types/file_list_params.py
204
64
63,658
LOAD_CONST <code object raisy at 0x7fab5434bae0, file "f.py", line 1> LOAD_CONST 'raisy' MAKE_FUNCTION STORE_NAME raisy SETUP_EXCEPT to 28 LOAD_NAME print LOAD_CONST "Raising exception in a function 'from None':" CALL_FUNCTION POP_TOP LOAD_NAME raisy CALL_FUNCTION POP_TOP POP_BLOCK JUMP_FORWARD to 80 DUP_TOP LOAD_N...
def raisy(): raise ValueError() from None try: print("Raising exception in a function 'from None':") raisy() except (ValueError, TypeError) as e: print("Caught as", repr(e))
data/Nuitka-2.0.3/tests/basics/ExceptionRaisingTest32.py
194
64
148,422
LOAD_CONST 'InvalidResourceException' LOAD_CONST 'InvalidDocumentException' LOAD_CONST 'InvalidEventException' BUILD_LIST STORE_NAME __all__ LOAD_CONST 0 LOAD_CONST ('InvalidDocumentException', 'InvalidEventException', 'InvalidResourceException') IMPORT_NAME samtranslator.model.exceptions IMPORT_FROM InvalidDocument...
__all__ = [ "InvalidResourceException", "InvalidDocumentException", "InvalidEventException", ] from samtranslator.model.exceptions import ( InvalidDocumentException, InvalidEventException, InvalidResourceException, )
data/aws-sam-translator-1.85.0/samtranslator/public/exceptions.py
100
64
217,020
LOAD_CONST 0 LOAD_CONST ('CheckStream',) IMPORT_NAME airbyte_cdk.sources.declarative.checks.check_stream IMPORT_FROM CheckStream STORE_NAME CheckStream POP_TOP LOAD_CONST 0 LOAD_CONST ('ConnectionChecker',) IMPORT_NAME airbyte_cdk.sources.declarative.checks.connection_checker IMPORT_FROM ConnectionChecker STORE_NAME C...
from airbyte_cdk.sources.declarative.checks.check_stream import CheckStream from airbyte_cdk.sources.declarative.checks.connection_checker import ConnectionChecker __all__ = ["CheckStream", "ConnectionChecker"]
data/airbyte-cdk-0.64.0/airbyte_cdk/sources/declarative/checks/__init__.py
113
64
51,971
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME print LOAD_CONST 'This must be Python3 which no longer needs __init__.py to accept a package.' CALL_FUNCTION POP_TOP LOAD_NAME print LOAD_CONST 'The parent path is' LOAD_NAME sys LOAD_ATTR modules LOAD_CONST 'some_package' BINARY_SUBSCR LOAD_ATTR _...
import sys print("This must be Python3 which no longer needs __init__.py to accept a package.") print("The parent path is", sys.modules["some_package"].__path__) def f(): pass print(f)
data/Nuitka-2.0.3/tests/programs/package_missing_init/some_package/some_module.py
144
64
148,322
LOAD_CONST 0 LOAD_CONST ('TestCase',) IMPORT_NAME PyObjCTools.TestSupport IMPORT_FROM TestCase STORE_NAME TestCase POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ExternalAccessory STORE_NAME ExternalAccessory LOAD_BUILD_CLASS LOAD_CONST <code object TestCallableMetadata at 0x7fab41c961e0, file "f.py", line 6> LOAD_...
from PyObjCTools.TestSupport import TestCase import ExternalAccessory class TestCallableMetadata(TestCase): def test_callable_metadata_is_sane(self): self.assertCallableMetadataIsSane(ExternalAccessory)
data/pyobjc-framework-ExternalAccessory-10.1/PyObjCTest/test_externalaccessory.py
258
64
109,441
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME itertools STORE_NAME itertools LOAD_CONST 2 LOAD_CONST ('Document',) IMPORT_NAME language.ast IMPORT_FROM Document STORE_NAME Document POP_TOP LOAD_CONST <code object concat_ast at 0x7faac03adc00, file "f.py", line 6> LOAD_CONST 'concat_ast' MAKE_FUNCTION STORE_NAME concat_ast...
import itertools from ..language.ast import Document def concat_ast(asts): return Document( definitions=list( itertools.chain.from_iterable(document.definitions for document in asts) ) )
data/wandb-0.16.3/wandb/vendor/graphql-core-1.1/wandb_graphql/utils/concat_ast.py
223
64
361,003
LOAD_CONST <code object _format_path at 0x7f8b2000b540, file "f.py", line 1> LOAD_CONST '_format_path' MAKE_FUNCTION STORE_NAME _format_path LOAD_BUILD_CLASS LOAD_CONST <code object _SafeFormatter at 0x7f8b2000bf60, file "f.py", line 5> LOAD_CONST '_SafeFormatter' MAKE_FUNCTION LOAD_CONST '_SafeFormatter' LOAD_NAME di...
def _format_path(file_path, index): return file_path.format_map(_SafeFormatter(index=index)) class _SafeFormatter(dict): def __missing__(self, key): return f"{{{key}}}"
data/robotframework-seleniumlibrary-6.2.0/src/SeleniumLibrary/utils/path_formatter.py
255
64
332,686
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME __cmd_group IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _create IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _delete IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _list IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _list_server_variab...
from .__cmd_group import * from ._create import * from ._delete import * from ._list import * from ._list_server_variables import * from ._show import * from ._update import * from ._wait import *
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/latest/network/application_gateway/rewrite_rule/condition/__init__.py
147
64
378,466
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME __cmd_group IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _create IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _delete IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _list IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _list_auto_approved...
from .__cmd_group import * from ._create import * from ._delete import * from ._list import * from ._list_auto_approved import * from ._show import * from ._update import * from ._wait import *
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/latest/network/private_link_service/__init__.py
147
64
378,254
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME __cmd_group IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _create IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _delete IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _list IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _list_service_commu...
from .__cmd_group import * from ._create import * from ._delete import * from ._list import * from ._list_service_communities import * from ._show import * from ._update import * from ._wait import *
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/latest/network/route_filter/rule/__init__.py
147
64
377,933
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST ('get_wsgi_application',) IMPORT_NAME django.core.wsgi IMPORT_FROM get_wsgi_application STORE_NAME get_wsgi_application POP_TOP LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'DJANGO_SETTINGS_MODULE' LOAD_CONST 'testpr...
import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS_MODULE", "testproj.settings.local") application = get_wsgi_application()
data/drf-yasg-1.21.7/testproj/testproj/wsgi.py
120
64
352,441
LOAD_CONST 0 LOAD_CONST ('re_path',) IMPORT_NAME django.urls IMPORT_FROM re_path STORE_NAME re_path POP_TOP LOAD_CONST 1 LOAD_CONST ('WizardCreateView',) IMPORT_NAME views IMPORT_FROM WizardCreateView STORE_NAME WizardCreateView POP_TOP LOAD_NAME re_path LOAD_CONST '^create/$' LOAD_NAME WizardCreateView LOAD_METHOD a...
from django.urls import re_path from .views import WizardCreateView urlpatterns = [ re_path(r"^create/$", WizardCreateView.as_view(), name="cms_wizard_create"), ]
data/django-cms-4.1.0/cms/wizards/urls.py
120
64
87,154
LOAD_CONST 1 LOAD_CONST ('SnapshotsV1Beta3AsyncClient',) IMPORT_NAME async_client IMPORT_FROM SnapshotsV1Beta3AsyncClient STORE_NAME SnapshotsV1Beta3AsyncClient POP_TOP LOAD_CONST 1 LOAD_CONST ('SnapshotsV1Beta3Client',) IMPORT_NAME client IMPORT_FROM SnapshotsV1Beta3Client STORE_NAME SnapshotsV1Beta3Client POP_TOP L...
from .async_client import SnapshotsV1Beta3AsyncClient from .client import SnapshotsV1Beta3Client __all__ = ( "SnapshotsV1Beta3Client", "SnapshotsV1Beta3AsyncClient", )
data/google-cloud-dataflow-client-0.8.8/google/cloud/dataflow_v1beta3/services/snapshots_v1_beta3/__init__.py
124
64
346,200
LOAD_CONST 'Collection of Chilean numbers.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('rut',) IMPORT_NAME stdnum.cl IMPORT_FROM rut STORE_NAME vat POP_TOP LOAD_CONST 0 LOAD_CONST ('rut',) IMPORT_NAME stdnum.cl IMPORT_FROM rut STORE_NAME run POP_TOP LOAD_CONST None RETURN_VALUE
"""Collection of Chilean numbers.""" from stdnum.cl import rut as vat # noqa: F401, isort:skip from stdnum.cl import rut as run # noqa: F401, isort:skip
data/python-stdnum-1.19/stdnum/cl/__init__.py
75
64
417,818
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 1 LOAD_CONST ('OpRunBinary',) IMPORT_NAME _op IMPORT_FROM OpRunBinary STORE_NAME OpRunBinary POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BitwiseXor at 0x7fab4106c5d0, file "f.py", line 6> LOAD_CONST 'BitwiseXor' MAKE_FUNCTION LOAD_CONST 'Bit...
import numpy as np from ._op import OpRunBinary class BitwiseXor(OpRunBinary): def _run(self, x, y): # type: ignore return (np.bitwise_xor(x, y),)
data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_bitwise_xor.py
219
64
85,729
LOAD_CONST <code object giveup_on_http_4xx_except_429 at 0x7fadb5811c00, file "f.py", line 1> LOAD_CONST 'giveup_on_http_4xx_except_429' MAKE_FUNCTION STORE_NAME giveup_on_http_4xx_except_429 LOAD_CONST None RETURN_VALUE LOAD_FAST error LOAD_ATTR response STORE_FAST response LOAD_FAST response LOAD_CONST None COMPARE...
def giveup_on_http_4xx_except_429(error): response = error.response if response is None: return False return not (response.status_code == 429 or response.status_code >= 500)
data/pipelinewise-singer-python-2.0.1/singer/requests.py
158
64
190,686
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME __cmd_group IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _delete IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _list IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _list_resize_options IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _resiz...
from .__cmd_group import * from ._delete import * from ._list import * from ._list_resize_options import * from ._resize import * from ._restart import * from ._show import * from ._wait import *
data/azure-cli-2.57.0/azure/cli/command_modules/vm/aaz/latest/vm/host/__init__.py
147
64
376,630
LOAD_CONST '1.0.2' STORE_NAME __version__ LOAD_CONST 0 LOAD_CONST ('CallbackListener', 'Channel') IMPORT_NAME realtime.channel IMPORT_FROM CallbackListener STORE_NAME CallbackListener IMPORT_FROM Channel STORE_NAME Channel POP_TOP LOAD_CONST 0 LOAD_CONST ('Socket',) IMPORT_NAME realtime.connection IMPORT_FROM Socket ...
__version__ = "1.0.2" from realtime.channel import CallbackListener, Channel from realtime.connection import Socket from realtime.exceptions import NotConnectedError from realtime.message import * from realtime.transformers import *
data/realtime-1.0.2/realtime/__init__.py
158
64
362,095
LOAD_CONST 'Google Stackdriver Logging API wrapper.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Client',) IMPORT_NAME gcloud.logging.client IMPORT_FROM Client STORE_NAME Client POP_TOP LOAD_CONST 0 LOAD_CONST ('Connection',) IMPORT_NAME gcloud.logging.connection IMPORT_FROM Connection STORE_NAME Connection POP_TOP ...
"""Google Stackdriver Logging API wrapper.""" from gcloud.logging.client import Client from gcloud.logging.connection import Connection SCOPE = Connection.SCOPE ASCENDING = "timestamp asc" DESCENDING = "timestamp desc"
data/gcloud-0.18.3/gcloud/logging/__init__.py
114
64
192,586
LOAD_CONST 'Constants for the Yardian integration.' STORE_NAME __doc__ LOAD_CONST 'yardian' STORE_NAME DOMAIN LOAD_CONST 'Aeon Matrix' STORE_NAME MANUFACTURER LOAD_CONST 'Yardian Smart Sprinkler' STORE_NAME PRODUCT_NAME LOAD_CONST 6 STORE_NAME DEFAULT_WATERING_DURATION LOAD_CONST None RETURN_VALUE
"""Constants for the Yardian integration.""" DOMAIN = "yardian" MANUFACTURER = "Aeon Matrix" PRODUCT_NAME = "Yardian Smart Sprinkler" DEFAULT_WATERING_DURATION = 6
data/homeassistant-2024.2.2/homeassistant/components/yardian/const.py
85
64
296,689
LOAD_CONST 1 LOAD_CONST ('AItianhuSpace',) IMPORT_NAME AItianhuSpace IMPORT_FROM AItianhuSpace STORE_NAME AItianhuSpace POP_TOP LOAD_CONST 1 LOAD_CONST ('MyShell',) IMPORT_NAME MyShell IMPORT_FROM MyShell STORE_NAME MyShell POP_TOP LOAD_CONST 1 LOAD_CONST ('PerplexityAi',) IMPORT_NAME PerplexityAi IMPORT_FROM Perplex...
from .AItianhuSpace import AItianhuSpace from .MyShell import MyShell from .PerplexityAi import PerplexityAi from .Phind import Phind from .TalkAi import TalkAi from .Bard import Bard
data/g4f-0.2.1.6/g4f/Provider/selenium/__init__.py
189
64
216,576
LOAD_CONST 1 LOAD_CONST ('HStoreRequiredSchemaEditorSideEffect',) IMPORT_NAME hstore_required IMPORT_FROM HStoreRequiredSchemaEditorSideEffect STORE_NAME HStoreRequiredSchemaEditorSideEffect POP_TOP LOAD_CONST 1 LOAD_CONST ('HStoreUniqueSchemaEditorSideEffect',) IMPORT_NAME hstore_unique IMPORT_FROM HStoreUniqueSchema...
from .hstore_required import HStoreRequiredSchemaEditorSideEffect from .hstore_unique import HStoreUniqueSchemaEditorSideEffect __all__ = [ "HStoreUniqueSchemaEditorSideEffect", "HStoreRequiredSchemaEditorSideEffect", ]
data/django-postgres-extra-2.0.8/psqlextra/backend/side_effects/__init__.py
125
64
192,487
LOAD_CONST '\n Cursor constants are used for server side cursors.\n Currently only read only cursor is supported.\n\n Cursor constants are defined in module *mariadb.constants.CURSOR*.\n' STORE_NAME __doc__ LOAD_CONST 0 STORE_NAME NONE LOAD_CONST 1 STORE_NAME READ_ONLY LOAD_CONST None RETURN_VALUE
""" Cursor constants are used for server side cursors. Currently only read only cursor is supported. Cursor constants are defined in module *mariadb.constants.CURSOR*. """ NONE = 0 READ_ONLY = 1
data/mariadb-1.1.10/mariadb/constants/CURSOR.py
80
64
217,695
LOAD_CONST 0 LOAD_CONST ('BotoServerError',) IMPORT_NAME boto.exception IMPORT_FROM BotoServerError STORE_NAME BotoServerError POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object InvalidRequestException at 0x7fab417519c0, file "f.py", line 4> LOAD_CONST 'InvalidRequestException' MAKE_FUNCTION LOAD_CONST 'InvalidRequestEx...
from boto.exception import BotoServerError class InvalidRequestException(BotoServerError): pass class CloudHsmServiceException(BotoServerError): pass class CloudHsmInternalException(BotoServerError): pass
data/boto-2.49.0/boto/cloudhsm/exceptions.py
347
64
346,714
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.segmentation.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.segmentation IMPORT_STAR LOAD_CONST None RETURN_VALUE
"""Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.segmentation.""" from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.segmentation import *
data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/keras/segmentation.py
84
64
401,247
LOAD_CONST 'Configuration file for jupyter-server extensions.' STORE_NAME __doc__ LOAD_CONST '%Y-%m-%d %H:%M:%S Simple_Extensions_Example' LOAD_NAME c LOAD_ATTR Application STORE_ATTR log_datefmt LOAD_CONST None RETURN_VALUE
"""Configuration file for jupyter-server extensions.""" c.Application.log_datefmt = ( # type:ignore[name-defined] "%Y-%m-%d %H:%M:%S Simple_Extensions_Example" )
data/jupyter_server-2.12.5/examples/simple/jupyter_server_config.py
63
64
433,388
LOAD_CONST 0 LOAD_CONST ('TestCase',) IMPORT_NAME unittest IMPORT_FROM TestCase STORE_NAME TestCase POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME hjson STORE_NAME json LOAD_BUILD_CLASS LOAD_CONST <code object TestDefault at 0x7fab700a7f60, file "f.py", line 6> LOAD_CONST 'TestDefault' MAKE_FUNCTION LOAD_CONST 'Tes...
from unittest import TestCase import hjson as json class TestDefault(TestCase): def test_default(self): self.assertEqual(json.dumpsJSON(type, default=repr), json.dumpsJSON(repr(type)))
data/hjson-3.1.0/hjson/tests/test_default.py
244
64
288,807
LOAD_CONST 0 LOAD_CONST ('collect_data_files',) IMPORT_NAME PyInstaller.utils.hooks IMPORT_FROM collect_data_files STORE_NAME collect_data_files POP_TOP LOAD_NAME list LOAD_NAME filter LOAD_CONST <code object <lambda> at 0x7fab700e8c00, file "f.py", line 3> LOAD_CONST '<lambda>' MAKE_FUNCTION LOAD_NAME collect_data_fi...
from PyInstaller.utils.hooks import collect_data_files datas = list(filter(lambda p: p[0].endswith(".xml"), collect_data_files("lensfunpy"))) hiddenimports = ["numpy", "enum"]
data/pyinstaller-hooks-contrib-2024.1/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-lensfunpy.py
163
64
282,262
LOAD_CONST 1 LOAD_CONST ('assert_raises_message',) IMPORT_NAME assertions IMPORT_FROM assert_raises_message STORE_NAME assert_raises_message POP_TOP LOAD_CONST 1 LOAD_CONST ('eq_',) IMPORT_NAME assertions IMPORT_FROM eq_ STORE_NAME eq_ POP_TOP LOAD_CONST 1 LOAD_CONST ('is_',) IMPORT_NAME assertions IMPORT_FROM is_ ST...
from .assertions import assert_raises_message as assert_raises_message from .assertions import eq_ as eq_ from .assertions import is_ as is_ from .assertions import ne_ as ne_ from .assertions import winsleep as winsleep
data/dogpile.cache-1.3.1/dogpile/testing/__init__.py
147
64
394,385
LOAD_CONST 0 LOAD_CONST ('DFTD3',) IMPORT_NAME ase.calculators.dftd3 IMPORT_FROM DFTD3 STORE_NAME DFTD3 POP_TOP LOAD_CONST 0 LOAD_CONST ('bulk',) IMPORT_NAME ase.build IMPORT_FROM bulk STORE_NAME bulk POP_TOP LOAD_NAME bulk LOAD_CONST 'C' CALL_FUNCTION STORE_NAME diamond LOAD_NAME DFTD3 CALL_FUNCTION STORE_NAME d3 ...
from ase.calculators.dftd3 import DFTD3 from ase.build import bulk diamond = bulk("C") d3 = DFTD3() diamond.calc = d3 diamond.get_potential_energy()
data/ase-3.22.1/doc/ase/calculators/dftd3_alone.py
123
64
46,402
LOAD_CONST 'Contour calculations.' 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 1 LOAD_CONST ('numpy_formatter', 'matlab_formatter', 'shapely_formatter') IMPORT_NAME core IMPORT_FROM numpy_formatter STO...
"""Contour calculations.""" from __future__ import absolute_import from .core import numpy_formatter, matlab_formatter, shapely_formatter from .quad import QuadContourGenerator __version__ = "0.0.2"
data/contours-0.0.2/contours/__init__.py
176
64
19,558
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 PremiumSettlementType at 0x7fab701ac780, file "f.py", l...
from enum import unique from ...._base_enum import StrEnum @unique class PremiumSettlementType(StrEnum): FORWARD = "Forward" SCHEDULE = "Schedule" SPOT = "Spot"
data/refinitiv-data-1.6.0/refinitiv/data/content/ipa/_enums/_premium_settlement_type.py
203
64
195,589
LOAD_CONST 0 LOAD_CONST ('Literal',) IMPORT_NAME typing IMPORT_FROM Literal STORE_NAME Literal POP_TOP LOAD_NAME Literal LOAD_CONST ('baseline', 'top', 'middle', 'bottom', 'text-top', 'text-bottom', 'sub', 'super') BINARY_SUBSCR STORE_NAME VerticalAlign LOAD_CONST None RETURN_VALUE
from typing import Literal VerticalAlign = Literal[ "baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", ]
data/nicegui-1.4.15/nicegui/tailwind_types/vertical_align.py
74
64
223,364
LOAD_CONST 0 LOAD_CONST ('absolute_import', 'print_function', 'unicode_literals') IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM print_function STORE_NAME print_function IMPORT_FROM unicode_literals STORE_NAME unicode_literals POP_TOP LOAD_CONST '0.4.3' STORE_NAME __version__...
from __future__ import absolute_import, print_function, unicode_literals __version__ = "0.4.3" __description__ = "SQLAlchemy mock helpers." __author__ = "Miroslav Shubernetskiy"
data/alchemy-mock-0.4.3/alchemy_mock/__init__.py
121
64
222,903
LOAD_CONST 0 LOAD_CONST ('settings',) IMPORT_NAME ninja.conf IMPORT_FROM settings STORE_NAME settings POP_TOP LOAD_CONST <code object test_default_configuration at 0x7faac02bedb0, file "f.py", line 4> LOAD_CONST 'test_default_configuration' MAKE_FUNCTION STORE_NAME test_default_configuration LOAD_CONST None RETURN_VAL...
from ninja.conf import settings def test_default_configuration(): assert settings.PAGINATION_CLASS == "ninja.pagination.LimitOffsetPagination" assert settings.PAGINATION_PER_PAGE == 100
data/django_ninja-1.1.0/tests/test_conf.py
160
64
88,599
LOAD_CONST '\nContains helpers for providing default values\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('get_session',) IMPORT_NAME botocore.session IMPORT_FROM get_session STORE_NAME get_session POP_TOP LOAD_NAME str LOAD_CONST ('return',) BUILD_CONST_KEY_MAP LOAD_CONST <code object get_default_aws_region at 0x7f...
""" Contains helpers for providing default values """ from botocore.session import get_session def get_default_aws_region() -> str: return get_session().get_config_variable("region") or "us-east-1"
data/aws-sam-cli-1.109.0/samcli/lib/utils/defaults.py
161
64
432,244
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 'UNKNOWN' STORE_NAME __version__ LOAD_NAME sys LOAD_ATTR version_info LOAD_CONST (3, 8) COMPARE_OP >= POP_JUMP_IF_FALSE LOAD_CONST 0 LOAD_CONST ('metadata',) IMPORT_NAME importlib IMPORT_FROM metadata STORE_NAME metadata POP_TOP JUMP_FORWARD to 4...
import sys __version__ = "UNKNOWN" if sys.version_info >= (3, 8): from importlib import metadata else: import importlib_metadata as metadata __version__ = metadata.version("ocifs")
data/ocifs-1.3.1/ocifs/utils.py
121
64
54,043
LOAD_CONST 0 LOAD_CONST ('Entity',) IMPORT_NAME office365.entity IMPORT_FROM Entity STORE_NAME Entity POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Artifact at 0x7fab640faae0, file "f.py", line 4> LOAD_CONST 'Artifact' MAKE_FUNCTION LOAD_CONST 'Artifact' LOAD_NAME Entity CALL_FUNCTION STORE_NAME Artifact LOAD_CONST...
from office365.entity import Entity class Artifact(Entity): """Represents an abstract entity found online by Microsoft security services.""" @property def entity_type_name(self): return "microsoft.graph.security.artifact"
data/Office365-REST-Python-Client-2.5.5/office365/directory/security/artifact.py
216
64
188,754
LOAD_CONST 0 LOAD_CONST ('Entity',) IMPORT_NAME office365.entity IMPORT_FROM Entity STORE_NAME Entity POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object EdiscoveryCase at 0x7fab81f0b1e0, file "f.py", line 4> LOAD_CONST 'EdiscoveryCase' MAKE_FUNCTION LOAD_CONST 'EdiscoveryCase' LOAD_NAME Entity CALL_FUNCTION STORE_NAME E...
from office365.entity import Entity class EdiscoveryCase(Entity): """In the context of eDiscovery, contains custodians, searches, review sets. For details, see Overview of Microsoft Purview eDiscovery (Premium)."""
data/Office365-REST-Python-Client-2.5.5/office365/directory/security/cases/ediscovery.py
178
64
188,755
LOAD_CONST 0 LOAD_CONST ('ServiceMaker',) IMPORT_NAME twisted.application.service IMPORT_FROM ServiceMaker STORE_NAME ServiceMaker POP_TOP LOAD_NAME ServiceMaker LOAD_CONST 'Twisted Process Monitor' LOAD_CONST 'twisted.runner.procmontap' LOAD_CONST 'A process watchdog / supervisor' LOAD_CONST 'procmon' CALL_FUNCTI...
from twisted.application.service import ServiceMaker TwistedProcmon = ServiceMaker( "Twisted Process Monitor", "twisted.runner.procmontap", ("A process watchdog / supervisor"), "procmon", )
data/twisted-23.10.0/src/twisted/plugins/twisted_runner.py
93
64
384,045
SETUP_ANNOTATIONS LOAD_CONST 0 LOAD_CONST ('TypeAlias',) IMPORT_NAME typing_extensions IMPORT_FROM TypeAlias STORE_NAME TypeAlias POP_TOP LOAD_CONST 0 LOAD_CONST ('GXCloudStoreBackend',) IMPORT_NAME great_expectations.data_context.store.gx_cloud_store_backend IMPORT_FROM GXCloudStoreBackend STORE_NAME GXCloudStoreBack...
from typing_extensions import TypeAlias from great_expectations.data_context.store.gx_cloud_store_backend import ( GXCloudStoreBackend, ) GeCloudStoreBackend: TypeAlias = GXCloudStoreBackend
data/great_expectations-0.18.9/great_expectations/data_context/store/ge_cloud_store_backend.py
130
64
19,128
LOAD_CONST 1 LOAD_CONST ('AsyncSubject',) IMPORT_NAME asyncsubject IMPORT_FROM AsyncSubject STORE_NAME AsyncSubject POP_TOP LOAD_CONST 1 LOAD_CONST ('BehaviorSubject',) IMPORT_NAME behaviorsubject IMPORT_FROM BehaviorSubject STORE_NAME BehaviorSubject POP_TOP LOAD_CONST 1 LOAD_CONST ('ReplaySubject',) IMPORT_NAME rep...
from .asyncsubject import AsyncSubject from .behaviorsubject import BehaviorSubject from .replaysubject import ReplaySubject from .subject import Subject __all__ = ["Subject", "AsyncSubject", "BehaviorSubject", "ReplaySubject"]
data/reactivex-4.0.4/reactivex/subject/__init__.py
150
64
144,011
LOAD_CONST '\n\nRtree provides Python bindings to libspatialindex for quick\nhyperrectangular intersection queries.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST '1.2.0' STORE_NAME __version__ LOAD_CONST 1 LOAD_...
""" Rtree provides Python bindings to libspatialindex for quick hyperrectangular intersection queries. """ from __future__ import annotations __version__ = "1.2.0" from .index import Index, Rtree # noqa
data/Rtree-1.2.0/rtree/__init__.py
114
64
222,107
LOAD_BUILD_CLASS LOAD_CONST <code object CachingError at 0x7fab821318a0, file "f.py", line 1> LOAD_CONST 'CachingError' MAKE_FUNCTION LOAD_CONST 'CachingError' LOAD_NAME RuntimeError CALL_FUNCTION STORE_NAME CachingError LOAD_BUILD_CLASS LOAD_CONST <code object NanError at 0x7fab82131a50, file "f.py", line 5> LOAD_CON...
class CachingError(RuntimeError): pass class NanError(RuntimeError): pass class NotPSDError(RuntimeError): pass __all__ = ["CachingError", "NanError", "NotPSDError"]
data/linear_operator-0.5.2/linear_operator/utils/errors.py
318
64
300,005
LOAD_CONST '\nLambda Builders-speicific utils\n' STORE_NAME __doc__ LOAD_NAME str LOAD_NAME str LOAD_CONST ('runtime', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object patch_runtime at 0x7f8e2fec2e40, file "f.py", line 6> LOAD_CONST 'patch_runtime' MAKE_FUNCTION STORE_NAME patch_runtime LOAD_CONST None RETURN_VAL...
""" Lambda Builders-speicific utils """ def patch_runtime(runtime: str) -> str: if runtime.startswith("provided"): runtime = "provided" return runtime.replace(".al2", "")
data/aws-sam-cli-1.109.0/samcli/lib/utils/lambda_builders.py
140
64
432,253
LOAD_CONST 0 LOAD_CONST ('FastAPI', 'Header') IMPORT_NAME fastapi IMPORT_FROM FastAPI STORE_NAME FastAPI IMPORT_FROM Header STORE_NAME Header POP_TOP LOAD_NAME FastAPI CALL_FUNCTION STORE_NAME app LOAD_NAME app LOAD_METHOD get LOAD_CONST '/items/' CALL_METHOD LOAD_NAME Header LOAD_CONST None LOAD_CONST ('default',) ...
from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(user_agent: str | None = Header(default=None)): return {"User-Agent": user_agent}
data/fastapi-0.109.2/docs_src/header_params/tutorial001_py310.py
168
64
142,696
LOAD_CONST 0 LOAD_CONST ('EltexSSH',) IMPORT_NAME netmiko.eltex.eltex_ssh IMPORT_FROM EltexSSH STORE_NAME EltexSSH POP_TOP LOAD_CONST 0 LOAD_CONST ('EltexEsrSSH',) IMPORT_NAME netmiko.eltex.eltex_esr_ssh IMPORT_FROM EltexEsrSSH STORE_NAME EltexEsrSSH POP_TOP LOAD_CONST 'EltexSSH' LOAD_CONST 'EltexEsrSSH' BUILD_LIST S...
from netmiko.eltex.eltex_ssh import EltexSSH from netmiko.eltex.eltex_esr_ssh import EltexEsrSSH __all__ = ["EltexSSH", "EltexEsrSSH"]
data/netmiko-4.3.0/netmiko/eltex/__init__.py
123
64
302,360
LOAD_CONST 1 LOAD_CONST ('BackupTokensView', 'LoginView', 'QRGeneratorView', 'SetupCompleteView', 'SetupView') IMPORT_NAME core IMPORT_FROM BackupTokensView STORE_NAME BackupTokensView IMPORT_FROM LoginView STORE_NAME LoginView IMPORT_FROM QRGeneratorView STORE_NAME QRGeneratorView IMPORT_FROM SetupCompleteView STORE_N...
from .core import ( BackupTokensView, LoginView, QRGeneratorView, SetupCompleteView, SetupView, ) from .mixins import OTPRequiredMixin from .profile import DisableView, ProfileView
data/django-two-factor-auth-1.16.0/two_factor/views/__init__.py
171
64
61,600
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRunUnaryNum',) IMPORT_NAME onnx.reference.ops._op IMPORT_FROM OpRunUnaryNum STORE_NAME OpRunUnaryNum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Ceil at 0x7f8ed39ed6f0, file "f.py", line 6> LOAD_CONST 'Ceil' MAKE_FUNCTION LO...
import numpy as np from onnx.reference.ops._op import OpRunUnaryNum class Ceil(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.ceil(x),)
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_ceil.py
219
64
114,172
LOAD_CONST 1 LOAD_CONST ('StepDelegatingExecutor',) IMPORT_NAME step_delegating_executor IMPORT_FROM StepDelegatingExecutor STORE_NAME StepDelegatingExecutor POP_TOP LOAD_CONST 1 LOAD_CONST ('CheckStepHealthResult', 'StepHandler', 'StepHandlerContext') IMPORT_NAME step_handler IMPORT_FROM CheckStepHealthResult STORE_N...
from .step_delegating_executor import StepDelegatingExecutor as StepDelegatingExecutor from .step_handler import ( CheckStepHealthResult as CheckStepHealthResult, StepHandler as StepHandler, StepHandlerContext as StepHandlerContext, )
data/dagster-1.6.5/dagster/_core/executor/step_delegating/__init__.py
104
64
54,846
LOAD_CONST 1 LOAD_CONST ('models',) IMPORT_NAME IMPORT_FROM models STORE_NAME models POP_TOP LOAD_CONST <code object setup at 0x7faa74756b70, file "f.py", line 4> LOAD_CONST 'setup' MAKE_FUNCTION STORE_NAME setup LOAD_CONST None RETURN_VALUE LOAD_FAST env LOAD_CONST 'request' BINARY_SUBSCR STORE_FAST request LOAD_FA...
from . import models def setup(env): request = env["request"] request.tm.begin() env["tm"] = request.tm env["dbsession"] = request.dbsession env["models"] = models
data/pyramid-2.0.2/docs/tutorials/wiki2/src/authentication/tutorial/pshell.py
155
64
19,895
LOAD_CONST 0 LOAD_CONST ('AggregationPrimitive',) IMPORT_NAME featuretools.primitives.base.aggregation_primitive_base IMPORT_FROM AggregationPrimitive STORE_NAME AggregationPrimitive POP_TOP LOAD_CONST 0 LOAD_CONST ('PrimitiveBase',) IMPORT_NAME featuretools.primitives.base.primitive_base IMPORT_FROM PrimitiveBase STO...
from featuretools.primitives.base.aggregation_primitive_base import AggregationPrimitive from featuretools.primitives.base.primitive_base import PrimitiveBase from featuretools.primitives.base.transform_primitive_base import TransformPrimitive
data/featuretools-1.29.0/featuretools/primitives/base/__init__.py
134
64
422,188
LOAD_CONST 1 LOAD_CONST ('models',) IMPORT_NAME IMPORT_FROM models STORE_NAME models POP_TOP LOAD_CONST <code object setup at 0x7faa74756c00, file "f.py", line 4> LOAD_CONST 'setup' MAKE_FUNCTION STORE_NAME setup LOAD_CONST None RETURN_VALUE LOAD_FAST env LOAD_CONST 'request' BINARY_SUBSCR STORE_FAST request LOAD_FA...
from . import models def setup(env): request = env["request"] request.tm.begin() env["tm"] = request.tm env["dbsession"] = request.dbsession env["models"] = models
data/pyramid-2.0.2/docs/tutorials/wiki2/src/authorization/tutorial/pshell.py
155
64
19,878
LOAD_CONST 1 LOAD_CONST ('oauth_authorized', 'oauth_before_login', 'oauth_error') IMPORT_NAME base IMPORT_FROM oauth_authorized STORE_NAME oauth_authorized IMPORT_FROM oauth_before_login STORE_NAME oauth_before_login IMPORT_FROM oauth_error STORE_NAME oauth_error POP_TOP LOAD_CONST 1 LOAD_CONST ('OAuth1ConsumerBluepri...
from .base import oauth_authorized, oauth_before_login, oauth_error from .oauth1 import OAuth1ConsumerBlueprint from .oauth2 import OAuth2ConsumerBlueprint from .requests import OAuth1Session, OAuth2Session
data/flask_dance-7.0.1/flask_dance/consumer/__init__.py
205
64
400,059
LOAD_CONST 'URLs for Patreon Provider' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('default_urlpatterns',) IMPORT_NAME allauth.socialaccount.providers.oauth2.urls IMPORT_FROM default_urlpatterns STORE_NAME default_urlpatterns POP_TOP LOAD_CONST 1 LOAD_CONST ('PatreonProvider',) IMPORT_NAME provider IMPORT_FROM Patreo...
"""URLs for Patreon Provider""" from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns from .provider import PatreonProvider urlpatterns = default_urlpatterns(PatreonProvider)
data/django-allauth-0.61.1/allauth/socialaccount/providers/patreon/urls.py
122
64
336,269
LOAD_CONST 1 LOAD_CONST ('models',) IMPORT_NAME IMPORT_FROM models STORE_NAME models POP_TOP LOAD_CONST <code object setup at 0x7faa51f690c0, file "f.py", line 4> LOAD_CONST 'setup' MAKE_FUNCTION STORE_NAME setup LOAD_CONST None RETURN_VALUE LOAD_FAST env LOAD_CONST 'request' BINARY_SUBSCR STORE_FAST request LOAD_FA...
from . import models def setup(env): request = env["request"] request.tm.begin() env["tm"] = request.tm env["dbsession"] = request.dbsession env["models"] = models
data/pyramid-2.0.2/docs/tutorials/wiki2/src/views/tutorial/pshell.py
155
64
19,862
LOAD_CONST '\nPylibmagic contains data files (libmagic compiled and configurations) required to use the python-magic package.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('collect_data_files',) IMPORT_NAME PyInstaller.utils.hooks IMPORT_FROM collect_data_files STORE_NAME collect_data_files POP_TOP LOAD_NAME collect...
""" Pylibmagic contains data files (libmagic compiled and configurations) required to use the python-magic package. """ from PyInstaller.utils.hooks import collect_data_files datas = collect_data_files("pylibmagic")
data/pyinstaller-hooks-contrib-2024.1/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-pylibmagic.py
103
64
282,120
LOAD_CONST 1 LOAD_CONST ('models',) IMPORT_NAME IMPORT_FROM models STORE_NAME models POP_TOP LOAD_CONST <code object setup at 0x7faa51f69e40, file "f.py", line 4> LOAD_CONST 'setup' MAKE_FUNCTION STORE_NAME setup LOAD_CONST None RETURN_VALUE LOAD_FAST env LOAD_CONST 'request' BINARY_SUBSCR STORE_FAST request LOAD_FA...
from . import models def setup(env): request = env["request"] request.tm.begin() env["tm"] = request.tm env["dbsession"] = request.dbsession env["models"] = models
data/pyramid-2.0.2/docs/tutorials/wiki2/src/models/tutorial/pshell.py
155
64
19,833
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME gettext STORE_NAME gettext LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pbr.version STORE_NAME pbr LOAD_CONST 0 LOAD_CONST ('api',) IMPORT_NAME neutron_lib.db IMPORT_FROM api STORE_NAME api POP_TOP LOAD_NAME gettext LOAD_METHOD install LOAD_CONST 'neutron_lib' CALL_METHOD POP_TOP...
import gettext import pbr.version from neutron_lib.db import api # noqa gettext.install("neutron_lib") __version__ = pbr.version.VersionInfo("neutron_lib").version_string()
data/neutron-lib-3.10.0/neutron_lib/__init__.py
118
64
384,831
LOAD_CONST 0 LOAD_CONST ('collect_data_files', 'collect_submodules') IMPORT_NAME PyInstaller.utils.hooks IMPORT_FROM collect_data_files STORE_NAME collect_data_files IMPORT_FROM collect_submodules STORE_NAME collect_submodules POP_TOP LOAD_NAME collect_data_files LOAD_CONST 'librosa' LOAD_CONST '**/__pycache__' BUILD_...
from PyInstaller.utils.hooks import collect_data_files, collect_submodules datas = collect_data_files("librosa", excludes=["**/__pycache__"]) hiddenimports = collect_submodules("librosa")
data/pyinstaller-hooks-contrib-2024.1/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-librosa.py
122
64
282,124
LOAD_CONST 1 LOAD_CONST ('models',) IMPORT_NAME IMPORT_FROM models STORE_NAME models POP_TOP LOAD_CONST <code object setup at 0x7fab418ece40, file "f.py", line 4> LOAD_CONST 'setup' MAKE_FUNCTION STORE_NAME setup LOAD_CONST None RETURN_VALUE LOAD_FAST env LOAD_CONST 'request' BINARY_SUBSCR STORE_FAST request LOAD_FA...
from . import models def setup(env): request = env["request"] request.tm.begin() env["tm"] = request.tm env["dbsession"] = request.dbsession env["models"] = models
data/pyramid-2.0.2/docs/tutorials/wiki2/src/tests/tutorial/pshell.py
154
64
19,816
LOAD_CONST 1 LOAD_CONST ('models',) IMPORT_NAME IMPORT_FROM models STORE_NAME models POP_TOP LOAD_CONST <code object setup at 0x7faa74756c00, file "f.py", line 4> LOAD_CONST 'setup' MAKE_FUNCTION STORE_NAME setup LOAD_CONST None RETURN_VALUE LOAD_FAST env LOAD_CONST 'request' BINARY_SUBSCR STORE_FAST request LOAD_FA...
from . import models def setup(env): request = env["request"] request.tm.begin() env["tm"] = request.tm env["dbsession"] = request.dbsession env["models"] = models
data/pyramid-2.0.2/docs/tutorials/wiki2/src/basiclayout/tutorial/pshell.py
155
64
19,801
LOAD_CONST 0 LOAD_CONST ('ApresiaAeosSSH', 'ApresiaAeosTelnet') IMPORT_NAME netmiko.apresia.apresia_aeos IMPORT_FROM ApresiaAeosSSH STORE_NAME ApresiaAeosSSH IMPORT_FROM ApresiaAeosTelnet STORE_NAME ApresiaAeosTelnet POP_TOP LOAD_CONST 'ApresiaAeosSSH' LOAD_CONST 'ApresiaAeosTelnet' BUILD_LIST STORE_NAME __all__ LOAD_...
from netmiko.apresia.apresia_aeos import ApresiaAeosSSH, ApresiaAeosTelnet __all__ = ["ApresiaAeosSSH", "ApresiaAeosTelnet"]
data/netmiko-4.3.0/netmiko/apresia/__init__.py
126
64
302,439
LOAD_CONST 1 LOAD_CONST ('models',) IMPORT_NAME IMPORT_FROM models STORE_NAME models POP_TOP LOAD_CONST <code object setup at 0x7faa51f696f0, file "f.py", line 4> LOAD_CONST 'setup' MAKE_FUNCTION STORE_NAME setup LOAD_CONST None RETURN_VALUE LOAD_FAST env LOAD_CONST 'request' BINARY_SUBSCR STORE_FAST request LOAD_FA...
from . import models def setup(env): request = env["request"] request.tm.begin() env["tm"] = request.tm env["dbsession"] = request.dbsession env["models"] = models
data/pyramid-2.0.2/docs/tutorials/wiki2/src/installation/tutorial/pshell.py
155
64
19,848
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRunUnary',) IMPORT_NAME onnx.reference.ops._op IMPORT_FROM OpRunUnary STORE_NAME OpRunUnary POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Not at 0x7f8e447b2c00, file "f.py", line 6> LOAD_CONST 'Not' MAKE_FUNCTION LOAD_CONST 'N...
import numpy as np from onnx.reference.ops._op import OpRunUnary class Not(OpRunUnary): def _run(self, x): # type: ignore return (np.logical_not(x),)
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_not.py
210
64
114,197
LOAD_CONST 0 LOAD_CONST ('Entity',) IMPORT_NAME office365.entity IMPORT_FROM Entity STORE_NAME Entity POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AgreementAcceptance at 0x7fab700ad390, file "f.py", line 4> LOAD_CONST 'AgreementAcceptance' MAKE_FUNCTION LOAD_CONST 'AgreementAcceptance' LOAD_NAME Entity CALL_FUNCTI...
from office365.entity import Entity class AgreementAcceptance(Entity): """ Represents the current status of a user's response to a company's customizable terms of use agreement powered by Azure Active Directory (Azure AD). """
data/Office365-REST-Python-Client-2.5.5/office365/directory/identitygovernance/termsofuse/agreement_acceptance.py
175
64
188,865
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 0 LOAD_CONST ('init_logging',) IMPORT_NAME ufmt.cli IMPORT_FROM init_logging STORE_NAME init_logging POP_TOP LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME init_logging CALL_FUNCTION POP_TOP LOAD_NAM...
import unittest from ufmt.cli import init_logging if __name__ == "__main__": # pragma: no cover init_logging() unittest.main(module="ufmt.tests", verbosity=2)
data/ufmt-2.4.0/ufmt/tests/__main__.py
116
64
438,715
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRunUnaryNum',) IMPORT_NAME onnx.reference.ops._op IMPORT_FROM OpRunUnaryNum STORE_NAME OpRunUnaryNum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Ceil at 0x7fab540c5db0, file "f.py", line 6> LOAD_CONST 'Ceil' MAKE_FUNCTION LO...
import numpy as np from onnx.reference.ops._op import OpRunUnaryNum class Ceil(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.ceil(x),)
data/onnx-1.15.0/onnx/reference/ops/op_ceil.py
220
64
111,089
LOAD_CONST 0 LOAD_CONST ('print_function',) IMPORT_NAME __future__ IMPORT_FROM print_function STORE_NAME print_function POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME platform STORE_NAME platform LOAD_CONST 0 LOAD_CONST None IMPORT_NAME elasticsearch STORE_NAME elasticsearch LOAD_NAME print LOAD_CONST '{} {}; Ela...
from __future__ import print_function import platform import elasticsearch print( "{} {}; ElasticSearch {}".format( platform.python_implementation(), platform.python_version(), elasticsearch.VERSION, ) )
data/ElasticMock-1.8.1/tests/tox_banner.py
121
64
352,982
LOAD_CONST 0 LOAD_CONST ('admin',) IMPORT_NAME intercom IMPORT_FROM admin STORE_NAME admin POP_TOP LOAD_CONST 0 LOAD_CONST ('All',) IMPORT_NAME intercom.api_operations.all IMPORT_FROM All STORE_NAME All POP_TOP LOAD_CONST 0 LOAD_CONST ('BaseService',) IMPORT_NAME intercom.service.base_service IMPORT_FROM BaseService ...
from intercom import admin from intercom.api_operations.all import All from intercom.service.base_service import BaseService class Admin(BaseService, All): @property def collection_class(self): return admin.Admin
data/python-intercom-3.1.0/intercom/service/admin.py
242
64
396,825
LOAD_CONST 0 LOAD_CONST ('annotate', 'enabled', 'pop_range', 'push_range', 'start_range', 'end_range', 'mark') IMPORT_NAME nvtx.nvtx IMPORT_FROM annotate STORE_NAME annotate IMPORT_FROM enabled STORE_NAME enabled IMPORT_FROM pop_range STORE_NAME pop_range IMPORT_FROM push_range STORE_NAME push_range IMPORT_FROM start_r...
from nvtx.nvtx import ( annotate, enabled, pop_range, push_range, start_range, end_range, mark, ) from nvtx._lib.profiler import Profile
data/nvtx-0.2.10/nvtx/__init__.py
142
64
133,934
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME asyncio STORE_NAME asyncio LOAD_NAME asyncio LOAD_ATTR AbstractServer LOAD_CONST None LOAD_CONST ('server', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object cleanup_server at 0x7fab416126f0, file "f.py", line 4> LOAD_CONST 'cleanup_server' MAKE_FUNCTION STORE_NAME cleanup_...
import asyncio async def cleanup_server(server: asyncio.AbstractServer) -> None: try: await asyncio.wait_for(server.wait_closed(), 0.1) except asyncio.TimeoutError: pass
data/aiosmtplib-3.0.1/tests/compat.py
185
64
167,225
LOAD_CONST 0 LOAD_CONST ('utils',) IMPORT_NAME keystoneclient.tests.unit.auth IMPORT_FROM utils STORE_NAME utils POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AuthTests at 0x7f8e2fc371e0, file "f.py", line 4> LOAD_CONST 'AuthTests' MAKE_FUNCTION LOAD_CONST 'AuthTests' LOAD_NAME utils LOAD_ATTR TestCase CALL_FUNCTIO...
from keystoneclient.tests.unit.auth import utils class AuthTests(utils.TestCase): def test_plugin_names_in_available(self): pass def test_plugin_classes_in_available(self): pass
data/python-keystoneclient-5.3.0/keystoneclient/tests/unit/auth/test_auth.py
281
64
421,170
LOAD_CONST 1 LOAD_CONST ('private',) IMPORT_NAME private IMPORT_FROM private STORE_NAME private POP_TOP LOAD_CONST 1 LOAD_CONST ('public',) IMPORT_NAME public IMPORT_FROM public STORE_NAME public POP_TOP LOAD_CONST '4.0' STORE_NAME __version__ LOAD_CONST 'private' LOAD_CONST 'public' BUILD_LIST STORE_NAME __all__ ...
from .private import private from .public import public __version__ = "4.0" __all__ = [ "private", "public", ] public( private=private, public=public, )
data/atpublic-4.0/src/public/__init__.py
104
64
363,530
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRunUnary',) IMPORT_NAME onnx.reference.ops._op IMPORT_FROM OpRunUnary STORE_NAME OpRunUnary POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Not at 0x7fab821a5780, file "f.py", line 6> LOAD_CONST 'Not' MAKE_FUNCTION LOAD_CONST 'N...
import numpy as np from onnx.reference.ops._op import OpRunUnary class Not(OpRunUnary): def _run(self, x): # type: ignore return (np.logical_not(x),)
data/onnx-1.15.0/onnx/reference/ops/op_not.py
208
64
111,115
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 WorkflowInstance at 0x7fab700ad780, file "f.py", line 4> LOAD_CONST 'WorkflowInstance' MAKE_FUNCTION LOAD_CONST 'WorkflowInstance' LOAD_NAME Entity CALL_FUNC...
from office365.sharepoint.entity import Entity class WorkflowInstance(Entity): """Represents a workflow instance.""" @property def entity_type_name(self): return "SP.WorkflowServices.WorkflowInstance"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/workflowservices/instance.py
222
64
189,204
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('loadmat',) IMPORT_NAME scipy.io IMPORT_FROM loadmat STORE_NAME loadmat POP_TOP LOAD_NAME loadmat LOAD_CONST 'test.mat' LOAD_CONST True LOAD_CONST True LOAD_CONST True LOAD_CONST ('squeeze_me', 'struct_as_record', 'mat_dtype') CALL_...
import numpy as np from scipy.io import loadmat m = loadmat("test.mat", squeeze_me=True, struct_as_record=True, mat_dtype=True) np.savez("test.npz", **m)
data/scipy-1.12.0/scipy/fftpack/tests/gendata.py
120
64
245,629
LOAD_CONST 0 LOAD_CONST ('TestCase',) IMPORT_NAME PyObjCTools.TestSupport IMPORT_FROM TestCase STORE_NAME TestCase POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME Quartz STORE_NAME Quartz LOAD_BUILD_CLASS LOAD_CONST <code object TestPDFSelection at 0x7faa3c39d300, file "f.py", line 5> LOAD_CONST 'TestPDFSelection' M...
from PyObjCTools.TestSupport import TestCase import Quartz class TestPDFSelection(TestCase): def testMethods(self): self.assertArgIsBOOL(Quartz.PDFSelection.drawForPage_withBox_active_, 2)
data/pyobjc-framework-Quartz-10.1/PyObjCTest/test_PDFSelection.py
234
64
133,496
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME marshmallow.fields STORE_NAME marshmallow LOAD_CONST 1 LOAD_CONST ('NewType',) IMPORT_NAME IMPORT_FROM NewType STORE_NAME NewType POP_TOP LOAD_NAME NewType LOAD_CONST 'Url' LOAD_NAME str LOAD_NAME marshmallow LOAD_ATTR fields LOAD_ATTR Url LOAD_CONST ('field',) CALL_FUNCTION S...
import marshmallow.fields from . import NewType Url = NewType("Url", str, field=marshmallow.fields.Url) Email = NewType("Email", str, field=marshmallow.fields.Email) URL = Url
data/marshmallow_dataclass-8.6.0/marshmallow_dataclass/typing.py
132
64
347,418
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME warnings STORE_NAME warnings LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME pyroapi IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('__all__',) IMPORT_NAME pyroapi IMPORT_FROM __all__ STORE_NAME __all__ POP_TOP LOAD_NAME warnings LOAD_METHOD warn LOAD_CONST 'pyro.generic has moved to the py...
import warnings from pyroapi import * # noqa F401 from pyroapi import __all__ # noqa F401 warnings.warn("pyro.generic has moved to the pyroapi package", DeprecationWarning)
data/pyro-ppl-1.9.0/pyro/generic.py
99
64
109,810
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 TenantCdnUrl at 0x7fab700add20, file "f.py", line 4> LOAD_CONST 'TenantCdnUrl' MAKE_FUNCTION LOAD_CONST 'TenantCdnUrl' LOAD_NAME ClientValu...
from office365.runtime.client_value import ClientValue class TenantCdnUrl(ClientValue): @property def entity_type_name(self): return "Microsoft.SharePoint.TenantCdn.TenantCdnUrl"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/tenant/cdn_url.py
226
64
189,317
SETUP_ANNOTATIONS LOAD_CONST 'Constants for the Switch as X integration.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Final',) IMPORT_NAME typing IMPORT_FROM Final STORE_NAME Final POP_TOP LOAD_CONST 'switch_as_x' STORE_NAME DOMAIN LOAD_NAME Final LOAD_NAME __annotations__ LOAD_CONST 'DOMAIN' STORE_SUBSCR LOAD_CONS...
"""Constants for the Switch as X integration.""" from typing import Final DOMAIN: Final = "switch_as_x" CONF_INVERT: Final = "invert" CONF_TARGET_DOMAIN: Final = "target_domain"
data/homeassistant-2024.2.2/homeassistant/components/switch_as_x/const.py
155
64
298,292
LOAD_CONST 0 LOAD_CONST ('Char', 'Until') IMPORT_NAME insights.parsr IMPORT_FROM Char STORE_NAME Char IMPORT_FROM Until STORE_NAME Until POP_TOP LOAD_CONST <code object test_until at 0x7fab80248540, file "f.py", line 4> LOAD_CONST 'test_until' MAKE_FUNCTION STORE_NAME test_until LOAD_CONST None RETURN_VALUE LOAD_GLOB...
from insights.parsr import Char, Until def test_until(): a = Char("a") b = Char("b") u = Until(a, b) res = u("aaaab") assert len(res) == 4
data/insights-core-3.3.9/insights/parsr/tests/test_until.py
175
64
212,589
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 OrgNewsSiteInfo at 0x7fab7002bf60, file "f.py", line 4> LOAD_CONST 'OrgNewsSiteInfo' MAKE_FUNCTION LOAD_CONST 'OrgNewsSiteInfo' LOAD_NAME C...
from office365.runtime.client_value import ClientValue class OrgNewsSiteInfo(ClientValue): @property def entity_type_name(self): return "Microsoft.SharePoint.OrgNewsSite.OrgNewsSiteInfo"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/orgnewssite/info.py
227
64
189,205
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 PriceSide at 0x7fab700e4c90, file "f.py", line 5> LOAD_...
from enum import unique from ...._base_enum import StrEnum @unique class PriceSide(StrEnum): ASK = "Ask" BID = "Bid" LAST = "Last" MID = "Mid"
data/refinitiv-data-1.6.0/refinitiv/data/content/ipa/_enums/_price_side.py
191
64
195,513
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRunUnaryNum',) IMPORT_NAME onnx.reference.ops._op IMPORT_FROM OpRunUnaryNum STORE_NAME OpRunUnaryNum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Floor at 0x7fab821a55d0, file "f.py", line 6> LOAD_CONST 'Floor' MAKE_FUNCTION ...
import numpy as np from onnx.reference.ops._op import OpRunUnaryNum class Floor(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.floor(x),)
data/onnx-1.15.0/onnx/reference/ops/op_floor.py
216
64
111,118
LOAD_CONST 'Exception classes for librosa' STORE_NAME __doc__ LOAD_BUILD_CLASS LOAD_CONST <code object LibrosaError at 0x7fab82132b70, file "f.py", line 4> LOAD_CONST 'LibrosaError' MAKE_FUNCTION LOAD_CONST 'LibrosaError' LOAD_NAME Exception CALL_FUNCTION STORE_NAME LibrosaError LOAD_BUILD_CLASS LOAD_CONST <code obje...
"""Exception classes for librosa""" class LibrosaError(Exception): """The root librosa exception class""" pass class ParameterError(LibrosaError): """Exception class for mal-formed inputs""" pass
data/librosa-0.10.1/librosa/util/exceptions.py
246
64
372,969
LOAD_CONST 0 LOAD_CONST ('AuthenticationMethod',) IMPORT_NAME office365.directory.authentication.methods.method IMPORT_FROM AuthenticationMethod STORE_NAME AuthenticationMethod POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Fido2AuthenticationMethod at 0x7fab640faae0, file "f.py", line 4> LOAD_CONST 'Fido2Authentica...
from office365.directory.authentication.methods.method import AuthenticationMethod class Fido2AuthenticationMethod(AuthenticationMethod): """Representation of a FIDO2 security key registered to a user. FIDO2 is a sign-in authentication method."""
data/Office365-REST-Python-Client-2.5.5/office365/directory/authentication/methods/fido.py
182
64
188,922
LOAD_CONST 1 LOAD_CONST ('AppriseURLTester',) IMPORT_NAME rest IMPORT_FROM AppriseURLTester STORE_NAME AppriseURLTester POP_TOP LOAD_CONST 1 LOAD_CONST ('OuterEventLoop',) IMPORT_NAME asyncio IMPORT_FROM OuterEventLoop STORE_NAME OuterEventLoop POP_TOP LOAD_CONST 1 LOAD_CONST ('reload_plugin',) IMPORT_NAME module IMP...
from .rest import AppriseURLTester from .asyncio import OuterEventLoop from .module import reload_plugin __all__ = [ "AppriseURLTester", "OuterEventLoop", "reload_plugin", ]
data/apprise-1.7.2/test/helpers/__init__.py
136
64
438,627
LOAD_CONST 0 LOAD_CONST ('_proxy',) IMPORT_NAME openstack.compute.v2 IMPORT_FROM _proxy STORE_NAME _proxy POP_TOP LOAD_CONST 0 LOAD_CONST ('service_description',) IMPORT_NAME openstack IMPORT_FROM service_description STORE_NAME service_description POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ComputeService at 0x7...
from openstack.compute.v2 import _proxy from openstack import service_description class ComputeService(service_description.ServiceDescription): """The compute service.""" supported_versions = { "2": _proxy.Proxy, }
data/openstacksdk-2.1.0/openstack/compute/compute_service.py
195
64
284,583
LOAD_CONST 0 LOAD_CONST ('_proxy',) IMPORT_NAME openstack.placement.v1 IMPORT_FROM _proxy STORE_NAME _proxy POP_TOP LOAD_CONST 0 LOAD_CONST ('service_description',) IMPORT_NAME openstack IMPORT_FROM service_description STORE_NAME service_description POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object PlacementService at...
from openstack.placement.v1 import _proxy from openstack import service_description class PlacementService(service_description.ServiceDescription): """The placement service.""" supported_versions = { "1": _proxy.Proxy, }
data/openstacksdk-2.1.0/openstack/placement/placement_service.py
196
64
284,621
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.segmentation.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.segmentation IMPORT_STAR LOAD_CONST None RETURN_VALUE
"""Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.segmentation.""" from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.segmentation import *
data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/keras/segmentation.py
84
64
389,340
LOAD_CONST 1 LOAD_CONST ('MapComposite',) IMPORT_NAME maps IMPORT_FROM MapComposite STORE_NAME MapComposite POP_TOP LOAD_CONST 1 LOAD_CONST ('Repeated',) IMPORT_NAME repeated IMPORT_FROM Repeated STORE_NAME Repeated POP_TOP LOAD_CONST 1 LOAD_CONST ('RepeatedComposite',) IMPORT_NAME repeated IMPORT_FROM RepeatedCompos...
from .maps import MapComposite from .repeated import Repeated from .repeated import RepeatedComposite __all__ = ( "MapComposite", "Repeated", "RepeatedComposite", )
data/proto-plus-1.23.0/proto/marshal/collections/__init__.py
119
64
163,223
LOAD_CONST 1 LOAD_CONST ('FileReadBackwards',) IMPORT_NAME file_read_backwards IMPORT_FROM FileReadBackwards STORE_NAME FileReadBackwards POP_TOP LOAD_CONST 'Robin Robin' STORE_NAME __author__ LOAD_CONST 'robinsquare42@gmail.com' STORE_NAME __email__ LOAD_CONST '3.0.0' STORE_NAME __version__ LOAD_CONST None RETURN_V...
from .file_read_backwards import FileReadBackwards # noqa: F401 __author__ = """Robin Robin""" __email__ = "robinsquare42@gmail.com" __version__ = "3.0.0"
data/file_read_backwards-3.0.0/file_read_backwards/__init__.py
87
64
284,851
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np 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 OptionalHasElement at 0x7fab821a5660, file "f.py", line 6> LOAD_CONST 'OptionalHasElement' MAKE_FUNCTION...
import numpy as np from onnx.reference.op_run import OpRun class OptionalHasElement(OpRun): def _run(self, x=None): # type: ignore return (np.array(x is not None),)
data/onnx-1.15.0/onnx/reference/ops/op_optional_has_element.py
222
64
111,156
LOAD_CONST 0 LOAD_CONST ('unique',) IMPORT_NAME enum IMPORT_FROM unique STORE_NAME unique POP_TOP LOAD_CONST 6 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 MainConstituentAssetClass at 0x7fab640fa9c0, file "f.py...
from enum import unique from ......_base_enum import StrEnum @unique class MainConstituentAssetClass(StrEnum): BOND = "Bond" CREDIT_DEFAULT_SWAP = "CreditDefaultSwap"
data/refinitiv-data-1.6.0/refinitiv/data/content/ipa/_curves/_bond_curves/_enums/_main_constituent_asset_class.py
204
64
195,363
LOAD_CONST 1 LOAD_CONST ('BOTSORT',) IMPORT_NAME bot_sort IMPORT_FROM BOTSORT STORE_NAME BOTSORT POP_TOP LOAD_CONST 1 LOAD_CONST ('BYTETracker',) IMPORT_NAME byte_tracker IMPORT_FROM BYTETracker STORE_NAME BYTETracker POP_TOP LOAD_CONST 1 LOAD_CONST ('register_tracker',) IMPORT_NAME track IMPORT_FROM register_tracker...
from .bot_sort import BOTSORT from .byte_tracker import BYTETracker from .track import register_tracker __all__ = "register_tracker", "BOTSORT", "BYTETracker" # allow simpler import
data/ultralytics-8.1.17/ultralytics/trackers/__init__.py
132
64
144,632
LOAD_CONST 0 LOAD_CONST ('StreamingContext',) IMPORT_NAME pyspark.streaming.context IMPORT_FROM StreamingContext STORE_NAME StreamingContext POP_TOP LOAD_CONST 0 LOAD_CONST ('DStream',) IMPORT_NAME pyspark.streaming.dstream IMPORT_FROM DStream STORE_NAME DStream POP_TOP LOAD_CONST 0 LOAD_CONST ('StreamingListener',) ...
from pyspark.streaming.context import StreamingContext from pyspark.streaming.dstream import DStream from pyspark.streaming.listener import StreamingListener __all__ = ["StreamingContext", "DStream", "StreamingListener"]
data/pyspark-3.5.0/pyspark/streaming/__init__.py
136
64
382,807
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME re STORE_NAME re LOAD_CONST 0 LOAD_CONST None IMPORT_NAME requests STORE_NAME requests LOAD_CONST <code object test_httpserver_with_regexp at 0x7fab543e7ed0, file "f.py", line 6> LOAD_CONST 'test_httpserver_with_regexp' MAKE_FUNCTION STORE_NAME test_httpserver_with_regexp LOAD...
import re import requests def test_httpserver_with_regexp(httpserver): httpserver.expect_request(re.compile("^/foo"), method="GET") requests.get(httpserver.url_for("/foobar"))
data/pytest_httpserver-1.0.9/tests/examples/test_howto_regexp.py
172
64
144,679