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 1 LOAD_CONST ('__version__', '__release_date__') IMPORT_NAME VERSION IMPORT_FROM __version__ STORE_NAME __version__ IMPORT_FROM __release_date__ STORE_NAME __release_date__ POP_TOP LOAD_CONST 1 LOAD_CONST ('Events',) IMPORT_NAME IMPORT_FROM Events STORE_NAME Events POP_TOP LOAD_CONST 1 LOAD_CONST ('create_...
from .VERSION import __version__, __release_date__ from . import Events from .base import create_app, create_app_wsgi from . import panel __all__ = ["create_app", "create_app_wsgi"]
data/hiddifypanel-8.8.96/hiddifypanel/__init__.py
176
61
215,128
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME client IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME extractors IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME device IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME key_value_pairs IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME parser IMPOR...
from .client import * from .extractors import * from .device import * from .key_value_pairs import * from .parser import * from .operating_system import * from .os_fragment import * from .settings import *
data/device_detector-5.0.1/device_detector/parser/__init__.py
142
61
336,757
LOAD_CONST 0 LOAD_CONST ('Module',) IMPORT_NAME allennlp.nn.module IMPORT_FROM Module STORE_NAME Module POP_TOP LOAD_CONST 0 LOAD_CONST ('Activation',) IMPORT_NAME allennlp.nn.activations IMPORT_FROM Activation STORE_NAME Activation POP_TOP LOAD_CONST 0 LOAD_CONST ('Initializer', 'InitializerApplicator') IMPORT_NAME ...
from allennlp.nn.module import Module from allennlp.nn.activations import Activation from allennlp.nn.initializers import Initializer, InitializerApplicator from allennlp.nn.regularizers import RegularizerApplicator
data/allennlp-2.10.1/allennlp/nn/__init__.py
160
61
82,556
LOAD_CONST 0 LOAD_CONST ('RunInfo',) IMPORT_NAME tidy3d.web.core.task_info IMPORT_FROM RunInfo STORE_NAME RunInfo POP_TOP LOAD_CONST <code object test_run_info_display at 0x7fa9c8600c00, file "f.py", line 4> LOAD_CONST 'test_run_info_display' MAKE_FUNCTION STORE_NAME test_run_info_display LOAD_CONST None RETURN_VALUE ...
from tidy3d.web.core.task_info import RunInfo def test_run_info_display(): ri = RunInfo(perc_done=50, field_decay=1e-3) ri.display()
data/tidy3d-2.5.2/tests/test_web/test_task.py
154
61
206,190
LOAD_CONST '\nFlytekit Error Type\n==========================================================\n.. currentmodule:: flytekit.types.error\n\n.. autosummary::\n :toctree: generated/\n\n FlyteError\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('FlyteError',) IMPORT_NAME error IMPORT_FROM FlyteError STORE_NAME FlyteError P...
""" Flytekit Error Type ========================================================== .. currentmodule:: flytekit.types.error .. autosummary:: :toctree: generated/ FlyteError """ from .error import FlyteError
data/flytekit-1.10.7/flytekit/types/error/__init__.py
96
61
52,462
LOAD_CONST 1 LOAD_CONST ('Enumerator', 'Monitor') IMPORT_NAME common IMPORT_FROM Enumerator STORE_NAME Enumerator IMPORT_FROM Monitor STORE_NAME Monitor POP_TOP LOAD_CONST 1 LOAD_CONST ('ScreenInfoError', 'get_monitors') IMPORT_NAME screeninfo IMPORT_FROM ScreenInfoError STORE_NAME ScreenInfoError IMPORT_FROM get_moni...
from .common import Enumerator, Monitor from .screeninfo import ScreenInfoError, get_monitors __all__ = [ "Enumerator", "Monitor", "ScreenInfoError", "get_monitors", ]
data/screeninfo-0.8.1/screeninfo/__init__.py
124
61
391,927
LOAD_CONST 0 LOAD_CONST ('routers',) IMPORT_NAME rest_framework IMPORT_FROM routers STORE_NAME routers POP_TOP LOAD_CONST 1 LOAD_CONST ('UserModelViewSet',) IMPORT_NAME views IMPORT_FROM UserModelViewSet STORE_NAME UserModelViewSet POP_TOP LOAD_NAME routers LOAD_METHOD DefaultRouter CALL_METHOD STORE_NAME viewset_rou...
from rest_framework import routers from .views import UserModelViewSet viewset_router = routers.DefaultRouter() viewset_router.register("users", UserModelViewSet) urlpatterns = viewset_router.urls
data/drf-extensions-0.7.1/tests_app/tests/functional/key_constructor/bits/urls.py
121
61
68,865
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 CoreMedia STORE_NAME CoreMedia LOAD_BUILD_CLASS LOAD_CONST <code object TestCallableMetadata at 0x7fab42ba9420, file "f.py", line 6> LOAD_CONST 'TestCalla...
from PyObjCTools.TestSupport import TestCase import CoreMedia class TestCallableMetadata(TestCase): def test_callable_metadata_is_sane(self): self.assertCallableMetadataIsSane(CoreMedia)
data/pyobjc-framework-CoreMedia-10.1/PyObjCTest/test_coremedia.py
250
61
93,349
LOAD_CONST 2 LOAD_CONST ('Object',) IMPORT_NAME object IMPORT_FROM Object STORE_NAME Object POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object CallbackGame at 0x7faa7c277150, file "f.py", line 4> LOAD_CONST 'CallbackGame' MAKE_FUNCTION LOAD_CONST 'CallbackGame' LOAD_NAME Object CALL_FUNCTION STORE_NAME CallbackGame LOAD...
from ..object import Object class CallbackGame(Object): """Placeholder, currently holds no information. Use BotFather to set up your game. """ def __init__(self): super().__init__()
data/Pyrogram-2.0.106/pyrogram/types/bots_and_keyboards/callback_game.py
236
61
273,109
LOAD_CONST 2 LOAD_CONST ('Object',) IMPORT_NAME object IMPORT_FROM Object STORE_NAME Object POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object VideoChatStarted at 0x7faac0322150, file "f.py", line 4> LOAD_CONST 'VideoChatStarted' MAKE_FUNCTION LOAD_CONST 'VideoChatStarted' LOAD_NAME Object CALL_FUNCTION STORE_NAME Video...
from ..object import Object class VideoChatStarted(Object): """A service message about a voice chat started in the chat. Currently holds no information. """ def __init__(self): super().__init__()
data/Pyrogram-2.0.106/pyrogram/types/user_and_chats/video_chat_started.py
243
61
273,028
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME __cmd_group IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _available_region 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 I...
from .__cmd_group import * from ._available_region import * from ._create import * from ._delete import * from ._list import * from ._show import * from ._update import * from ._wait import *
data/azure-cli-2.57.0/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/cluster/__init__.py
144
61
374,738
LOAD_CONST 1 LOAD_CONST ('_Firebase',) IMPORT_NAME IMPORT_FROM _Firebase STORE_NAME _Firebase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object _Base at 0x7fab702466f0, file "f.py", line 4> LOAD_CONST '_Base' MAKE_FUNCTION LOAD_CONST '_Base' LOAD_NAME _Firebase CALL_FUNCTION STORE_NAME _Base LOAD_BUILD_CLASS LOAD_CONS...
from . import _Firebase class _Base(_Firebase): _type = "base" _icon_dir = "resources/firebase/base" class Firebase(_Base): _icon = "firebase.png"
data/diagrams-0.23.4/diagrams/firebase/base.py
245
61
205,911
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 EventKit STORE_NAME EventKit LOAD_BUILD_CLASS LOAD_CONST <code object TestCallableMetadata at 0x7fab8228c390, file "f.py", line 6> LOAD_CONST 'TestCallabl...
from PyObjCTools.TestSupport import TestCase import EventKit class TestCallableMetadata(TestCase): def test_callable_metadata_is_sane(self): self.assertCallableMetadataIsSane(EventKit)
data/pyobjc-framework-EventKit-10.1/PyObjCTest/test_eventkit.py
252
61
233,003
LOAD_CONST b'\x00' LOAD_CONST 10000 BINARY_MULTIPLY POP_TOP LOAD_CONST b'\x00' LOAD_CONST 10000 BINARY_MULTIPLY POP_JUMP_IF_TRUE LOAD_NAME print LOAD_CONST 5 CALL_FUNCTION POP_TOP LOAD_CONST None RETURN_VALUE
b"\x00" * 10000 if not b"\0" * 10000: print(5) if not b"\0" * 4000: print(5)
data/executing-2.0.1/tests/small_samples/deadcode_string.py
59
61
331,161
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('get_data_handler',) IMPORT_NAME tf_keras.src.engine.data_adapter IMPORT_FROM get_data_handler STORE_NAME get_data_handler POP_TOP LOAD_CONST 0 LOAD_CONST ('register_symbolic_tensor_type',) IMPORT_NAME tf_keras.src.utils.tf_utils IMP...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.engine.data_adapter import get_data_handler from tf_keras.src.utils.tf_utils import register_symbolic_tensor_type
data/tf_keras-nightly-2.17.0.dev2024022110/tf_keras/__internal__/utils/__init__.py
126
61
164,769
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys SETUP_LOOP to 74 LOAD_NAME os LOAD_METHOD listdir LOAD_CONST '.' CALL_METHOD GET_ITER FOR_ITER to 72 STORE_NAME fh LOAD_NAME os LOAD_ATTR path LOAD_METHOD isfile LOAD_NAME fh CALL_METHOD POP_JUMP_IF_...
import os import sys for fh in os.listdir("."): if os.path.isfile(fh): if fh.endswith(".c"): sys.stdout.write(fh + "\0")
data/meson-1.3.2/test cases/common/179 escape and unicode/find.py
134
61
82,008
LOAD_CONST 'AutoImport module for rope.' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('AutoImport',) IMPORT_NAME pickle IMPORT_FROM AutoImport STORE_NAME _PickleAutoImport POP_TOP LOAD_CONST 1 LOAD_CONST ('AutoImport',) IMPORT_NAME sqlite IMPORT_FROM AutoImport STORE_NAME _SqliteAutoImport POP_TOP LOAD_NAME _PickleAu...
"""AutoImport module for rope.""" from .pickle import AutoImport as _PickleAutoImport from .sqlite import AutoImport as _SqliteAutoImport AutoImport = _PickleAutoImport __all__ = ["AutoImport"]
data/rope-1.12.0/rope/contrib/autoimport/__init__.py
105
61
190,588
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 _migrate IMPORT_STA...
from .__cmd_group import * from ._create import * from ._delete import * from ._list import * from ._migrate import * from ._show import * from ._update import * from ._wait import *
data/azure-cli-2.57.0/azure/cli/command_modules/monitor/aaz/latest/monitor/log_analytics/workspace/table/__init__.py
144
61
374,973
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('get_data_handler',) IMPORT_NAME tf_keras.src.engine.data_adapter IMPORT_FROM get_data_handler STORE_NAME get_data_handler POP_TOP LOAD_CONST 0 LOAD_CONST ('register_symbolic_tensor_type',) IMPORT_NAME tf_keras.src.utils.tf_utils IMP...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.engine.data_adapter import get_data_handler from tf_keras.src.utils.tf_utils import register_symbolic_tensor_type
data/tf_keras-2.15.0/tf_keras/__internal__/utils/__init__.py
126
61
353,619
LOAD_CONST 1 LOAD_CONST ('DjangoMessageLaunch',) IMPORT_NAME message_launch IMPORT_FROM DjangoMessageLaunch STORE_NAME DjangoMessageLaunch POP_TOP LOAD_CONST 1 LOAD_CONST ('DjangoOIDCLogin',) IMPORT_NAME oidc_login IMPORT_FROM DjangoOIDCLogin STORE_NAME DjangoOIDCLogin POP_TOP LOAD_CONST 1 LOAD_CONST ('DjangoCacheDat...
from .message_launch import DjangoMessageLaunch from .oidc_login import DjangoOIDCLogin from .launch_data_storage.cache import DjangoCacheDataStorage from .lti1p3_tool_config import DjangoDbToolConf
data/PyLTI1p3-2.0.0/pylti1p3/contrib/django/__init__.py
163
61
131,140
LOAD_CONST 2 LOAD_CONST ('ShopifyResource',) IMPORT_NAME base IMPORT_FROM ShopifyResource STORE_NAME ShopifyResource POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object CollectionListing at 0x7fa954a8c540, file "f.py", line 4> LOAD_CONST 'CollectionListing' MAKE_FUNCTION LOAD_CONST 'CollectionListing' LOAD_NAME ShopifyRe...
from ..base import ShopifyResource class CollectionListing(ShopifyResource): _primary_key = "collection_id" def product_ids(cls, **kwargs): return cls.get("product_ids", **kwargs)
data/ShopifyAPI-12.4.0/shopify/resources/collection_listing.py
218
61
216,671
LOAD_CONST 1 LOAD_CONST ('AutoscaleConditionLexer',) IMPORT_NAME AutoscaleConditionLexer IMPORT_FROM AutoscaleConditionLexer STORE_NAME AutoscaleConditionLexer POP_TOP LOAD_CONST 1 LOAD_CONST ('AutoscaleConditionParser',) IMPORT_NAME AutoscaleConditionParser IMPORT_FROM AutoscaleConditionParser STORE_NAME AutoscaleCon...
from .AutoscaleConditionLexer import AutoscaleConditionLexer from .AutoscaleConditionParser import AutoscaleConditionParser from .AutoscaleConditionListener import AutoscaleConditionListener from .AutoscaleConditionValidator import AutoscaleConditionValidator
data/azure-cli-2.57.0/azure/cli/command_modules/monitor/grammar/autoscale/__init__.py
164
61
374,902
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 MenusConfig at 0x7fab8013b390, file "f...
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ class MenusConfig(AppConfig): name = "menus" verbose_name = _("django CMS menus system")
data/django-cms-4.1.0/menus/apps.py
192
61
86,846
LOAD_CONST '\nThis module provides the XMLTestRunner class, which is heavily based on the\ndefault TextTestRunner.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('__version__',) IMPORT_NAME version IMPORT_FROM __version__ STORE_NAME __version__ POP_TOP LOAD_CONST 1 LOAD_CONST ('XMLTestRunner',) IMPORT_NAME runner IMP...
""" This module provides the XMLTestRunner class, which is heavily based on the default TextTestRunner. """ from .version import __version__ from .runner import XMLTestRunner __all__ = ("__version__", "XMLTestRunner")
data/unittest-xml-reporting-3.2.0/xmlrunner/__init__.py
112
61
233,078
LOAD_CONST '3.3.0' STORE_NAME __version__ LOAD_CONST '\nContainer for constants. Hardly used!\n' STORE_NAME __doc__ LOAD_CONST 0 STORE_NAME TA_LEFT LOAD_CONST 1 STORE_NAME TA_CENTER LOAD_CONST 2 STORE_NAME TA_RIGHT LOAD_CONST 4 STORE_NAME TA_JUSTIFY LOAD_CONST None RETURN_VALUE
__version__ = "3.3.0" __doc__ = """ Container for constants. Hardly used! """ TA_LEFT = 0 TA_CENTER = 1 TA_RIGHT = 2 TA_JUSTIFY = 4
data/reportlab-4.1.0/src/reportlab/lib/enums.py
90
61
9,510
LOAD_CONST <code object _read at 0x7fab4106c780, file "f.py", line 1> LOAD_CONST '_read' MAKE_FUNCTION STORE_NAME _read LOAD_CONST None RETURN_VALUE SETUP_LOOP to 64 LOAD_FAST fp GET_ITER FOR_ITER to 62 STORE_FAST line SETUP_LOOP to 30 LOAD_FAST a GET_ITER FOR_ITER to 28 STORE_FAST prefix LOAD_FAST fp CALL_FUNCTION ...
def _read(self, fp, a, value, f): for line in fp: for prefix in a: fp() if value and fp and prefix > 5: f() else: f()
data/xdis-6.0.5/test/simple_source/bug36/05-for-ifelse.py
156
61
85,348
LOAD_CONST '\nElastic provides a set of general elastic services.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Node',) IMPORT_NAME diagrams IMPORT_FROM Node STORE_NAME Node POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object _Elastic at 0x7fab81fc6e40, file "f.py", line 8> LOAD_CONST '_Elastic' MAKE_FUNCTION LOAD_CON...
""" Elastic provides a set of general elastic services. """ from diagrams import Node class _Elastic(Node): _provider = "elastic" _icon_dir = "resources/elastic" fontcolor = "#ffffff"
data/diagrams-0.23.4/diagrams/elastic/__init__.py
170
61
206,008
LOAD_CONST ' Illustrates how to place a dictionary-like facade on top of a\n"dynamic" relation, so that dictionary operations (assuming simple\nstring keys) can operate upon a large collection without loading the\nfull collection at once.\n\n.. autosource::\n\n' STORE_NAME __doc__ LOAD_CONST None RETURN_VALUE
""" Illustrates how to place a dictionary-like facade on top of a "dynamic" relation, so that dictionary operations (assuming simple string keys) can operate upon a large collection without loading the full collection at once. .. autosource:: """
data/SQLAlchemy-2.0.27/examples/dynamic_dict/__init__.py
77
61
362,120
LOAD_CONST 0 LOAD_CONST ('fixtures',) IMPORT_NAME ovsdbapp.tests.functional.schema IMPORT_FROM fixtures STORE_NAME fixtures POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BridgeFixture at 0x7fab8237fc00, file "f.py", line 4> LOAD_CONST 'BridgeFixture' MAKE_FUNCTION LOAD_CONST 'BridgeFixture' LOAD_NAME fixtures LOAD_...
from ovsdbapp.tests.functional.schema import fixtures class BridgeFixture(fixtures.ImplIdlFixture): create = "add_br" delete = "del_br" delete_id = "name"
data/ovsdbapp-2.5.1/ovsdbapp/tests/functional/schema/open_vswitch/fixtures.py
175
61
69,473
LOAD_CONST 0 LOAD_CONST ('SQLServerAdapter',) IMPORT_NAME dbt.adapters.sqlserver IMPORT_FROM SQLServerAdapter STORE_NAME SQLServerAdapter POP_TOP LOAD_CONST 0 LOAD_CONST ('SynapseConnectionManager',) IMPORT_NAME dbt.adapters.synapse.synapse_connection_manager IMPORT_FROM SynapseConnectionManager STORE_NAME SynapseConn...
from dbt.adapters.sqlserver import SQLServerAdapter from dbt.adapters.synapse.synapse_connection_manager import SynapseConnectionManager class SynapseAdapter(SQLServerAdapter): ConnectionManager = SynapseConnectionManager
data/dbt-synapse-1.4.0/dbt/adapters/synapse/synapse_adapter.py
193
61
92,491
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME rx STORE_NAME rx LOAD_CONST 0 LOAD_CONST ('operators',) IMPORT_NAME rx IMPORT_FROM operators STORE_NAME ops POP_TOP LOAD_CONST 0 LOAD_CONST ('Observable',) IMPORT_NAME rx.core IMPORT_FROM Observable STORE_NAME Observable POP_TOP LOAD_NAME Observable LOAD_NAME Observable LOAD_...
import rx from rx import operators as ops from rx.core import Observable def _merge(*sources: Observable) -> Observable: return rx.from_iterable(sources).pipe(ops.merge_all())
data/Rx-3.2.0/rx/core/observable/merge.py
169
61
187,122
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 MapKit STORE_NAME MapKit LOAD_BUILD_CLASS LOAD_CONST <code object TestCallableMetadata at 0x7f8e2faf8d20, file "f.py", line 6> LOAD_CONST 'TestCallableMet...
from PyObjCTools.TestSupport import TestCase import MapKit class TestCallableMetadata(TestCase): def test_callable_metadata_is_sane(self): self.assertCallableMetadataIsSane(MapKit)
data/pyobjc-framework-MapKit-10.1/PyObjCTest/test_mapkit.py
252
61
405,956
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object InternetSiteSecurityLevel at 0x7fab70027660, file "f.py", line 4> LOAD_CONST 'InternetSiteSecurityLevel' MAKE_FUNCTION LOAD_CONST 'InternetSiteSecurityLevel' LOAD_NAME str LOAD_NAME Enum...
from enum import Enum class InternetSiteSecurityLevel(str, Enum): UserDefined = ("userDefined",) Medium = ("medium",) MediumHigh = ("mediumHigh",) High = ("high",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/internet_site_security_level.py
180
61
260,322
LOAD_CONST "\nDummy conftest.py for etos_lib.\n\nIf you don't know what this is for, just leave it empty.\nRead more about conftest.py under:\nhttps://pytest.org/latest/plugins.html\n" STORE_NAME __doc__ LOAD_CONST None RETURN_VALUE
""" Dummy conftest.py for etos_lib. If you don't know what this is for, just leave it empty. Read more about conftest.py under: https://pytest.org/latest/plugins.html """
data/etos_lib-4.0.0/tests/conftest.py
73
61
223,876
LOAD_CONST ('r', None, None, None, None, True) LOAD_CONST 'IOBase' LOAD_CONST ('return',) BUILD_CONST_KEY_MAP LOAD_CONST <code object open at 0x7fab4106cd20, file "f.py", line 1> LOAD_CONST 'open' MAKE_FUNCTION STORE_NAME open LOAD_CONST None RETURN_VALUE LOAD_GLOBAL text RETURN_VALUE
def open( file, mode="r", buffering=None, encoding=None, errors=None, newline=None, closefd=True, ) -> "IOBase": return text
data/xdis-6.0.5/test/simple_source/bug3.1/03_extendedarg.py
82
61
85,323
LOAD_CONST 0 STORE_NAME NOT_SPECIFIED LOAD_CONST 1 STORE_NAME INVALID_JSON LOAD_CONST 2 STORE_NAME UNKNOWN_COMMAND LOAD_CONST 3 STORE_NAME MESSAGE_ERROR LOAD_CONST 4 STORE_NAME OS_ERROR LOAD_CONST 5 STORE_NAME COMMAND_ERROR LOAD_CONST 6 STORE_NAME BAD_MSG_DATA_ERROR LOAD_CONST None RETURN_VALUE
NOT_SPECIFIED = 0 INVALID_JSON = 1 UNKNOWN_COMMAND = 2 MESSAGE_ERROR = 3 OS_ERROR = 4 COMMAND_ERROR = 5 BAD_MSG_DATA_ERROR = 6
data/circus-0.18.0/circus/commands/errors.py
93
61
388,497
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 SecurityInterface STORE_NAME SecurityInterface LOAD_BUILD_CLASS LOAD_CONST <code object TestCallableMetadata at 0x7fab64179ed0, file "f.py", line 6> LOAD_...
from PyObjCTools.TestSupport import TestCase import SecurityInterface class TestCallableMetadata(TestCase): def test_callable_metadata_is_sane(self): self.assertCallableMetadataIsSane(SecurityInterface)
data/pyobjc-framework-SecurityInterface-10.1/PyObjCTest/test_securityinterface.py
251
61
192,426
LOAD_BUILD_CLASS LOAD_CONST <code object TorchMetricsUserError at 0x7fab640fae40, file "f.py", line 1> LOAD_CONST 'TorchMetricsUserError' MAKE_FUNCTION LOAD_CONST 'TorchMetricsUserError' LOAD_NAME Exception CALL_FUNCTION STORE_NAME TorchMetricsUserError LOAD_BUILD_CLASS LOAD_CONST <code object TorchMetricsUserWarning ...
class TorchMetricsUserError(Exception): """Error used to inform users of a wrong combination of Metric API calls.""" class TorchMetricsUserWarning(Warning): """Error used to inform users of specific warnings due to the torchmetrics API."""
data/torchmetrics-1.3.1/src/torchmetrics/utilities/exceptions.py
257
61
193,060
LOAD_CONST 0 LOAD_CONST ('collect_submodules', 'collect_data_files') IMPORT_NAME PyInstaller.utils.hooks IMPORT_FROM collect_submodules STORE_NAME collect_submodules IMPORT_FROM collect_data_files STORE_NAME collect_data_files POP_TOP LOAD_NAME collect_submodules LOAD_CONST 'pyi_test_nspkg' CALL_FUNCTION STORE_NAME hi...
from PyInstaller.utils.hooks import collect_submodules, collect_data_files hiddenimports = collect_submodules("pyi_test_nspkg") datas = collect_data_files("pyi_test_nspkg")
data/pyinstaller-6.4.0/tests/functional/modules/pyi_namespace_package_with_data/hooks/hook-pyi_test_nspkg.py
113
61
184,836
LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME scipy.misc IMPORT_FROM misc STORE_NAME osp_misc POP_TOP LOAD_CONST 2 LOAD_CONST ('special',) IMPORT_NAME scipy IMPORT_FROM special STORE_NAME spec...
from __future__ import absolute_import import scipy.misc as osp_misc from ..scipy import special if hasattr(osp_misc, "logsumexp"): logsumexp = special.logsumexp
data/autograd-1.6.2/autograd/scipy/misc.py
125
61
173,118
LOAD_CONST 1 LOAD_CONST ('ProfileAttributeBase',) IMPORT_NAME profile_attribute_base IMPORT_FROM ProfileAttributeBase STORE_NAME ProfileAttributeBase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ProfileAttribute at 0x7fab80297660, file "f.py", line 4> LOAD_CONST 'ProfileAttribute' MAKE_FUNCTION LOAD_CONST 'Profile...
from .profile_attribute_base import ProfileAttributeBase class ProfileAttribute(ProfileAttributeBase): """ProfileAttribute.""" _attribute_map = {} def __init__(self): super(ProfileAttribute, self).__init__()
data/vsts-0.1.25/vsts/profile/v4_1/models/profile_attribute.py
241
61
67,267
LOAD_CONST 0 LOAD_CONST ('absolute_import', 'unicode_literals') IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM unicode_literals STORE_NAME unicode_literals POP_TOP LOAD_CONST 1 LOAD_CONST ('get_best_match', 'parse_header', 'AcceptableType') IMPORT_NAME accept_types IMPORT_FRO...
from __future__ import absolute_import, unicode_literals from .accept_types import get_best_match, parse_header, AcceptableType __all__ = ["get_best_match", "parse_header", "AcceptableType"]
data/accept-types-0.4.1/accept_types/__init__.py
153
61
41,386
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME client IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME dataset IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME datasets IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME report IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME reports IMPORT_STAR L...
from .client import * from .dataset import * from .datasets import * from .report import * from .reports import * from .imports import * from .groups import * from .gateways import * from .gateway import *
data/pypowerbi-0.27/pypowerbi/__init__.py
150
61
140,882
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 0 LOAD_CONST ('contextmanager',) IMPORT_NAME contextlib IMPORT_FROM contextmanager STORE_NAME contextmanager POP_TOP LOAD_NAME contextmanager LOAD_CONST <code object push_argv at 0x7fab823bedb0, file "f.py", line 5> LOAD_CONST 'push_argv' MAKE_FUN...
import sys from contextlib import contextmanager @contextmanager def push_argv(argv): old_argv = sys.argv sys.argv = argv yield sys.argv = old_argv
data/cmake-3.28.3/tests/__init__.py
153
61
366,186
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 HealthKit STORE_NAME HealthKit LOAD_BUILD_CLASS LOAD_CONST <code object TestHKCategorySample at 0x7fab82363f60, file "f.py", line 5> LOAD_CONST 'TestHKCat...
from PyObjCTools.TestSupport import TestCase import HealthKit class TestHKCategorySample(TestCase): def test_constants(self): self.assertIsInstance(HealthKit.HKPredicateKeyPathCategoryValue, str)
data/pyobjc-framework-HealthKit-10.1/PyObjCTest/test_hkcategorysample.py
245
61
385,341
LOAD_CONST 1 LOAD_CONST ('Decoder', 'DecoderStreamError', 'DecompressionFailed', 'Encoder', 'EncoderStreamError', 'StreamBlocked') IMPORT_NAME _binding IMPORT_FROM Decoder STORE_NAME Decoder IMPORT_FROM DecoderStreamError STORE_NAME DecoderStreamError IMPORT_FROM DecompressionFailed STORE_NAME DecompressionFailed IMPOR...
from ._binding import ( Decoder, DecoderStreamError, DecompressionFailed, Encoder, EncoderStreamError, StreamBlocked, ) __version__ = "0.3.18"
data/pylsqpack-0.3.18/src/pylsqpack/__init__.py
126
61
362,892
LOAD_CONST 'Reference test without ordering from the quick start chapter.\nSee https://pytest-order.readthedocs.io/en/stable/#quickstart\n' STORE_NAME __doc__ LOAD_CONST <code object test_foo at 0x7f8ab706f930, file "f.py", line 6> LOAD_CONST 'test_foo' MAKE_FUNCTION STORE_NAME test_foo LOAD_CONST <code object test_b...
"""Reference test without ordering from the quick start chapter. See https://pytest-order.readthedocs.io/en/stable/#quickstart """ def test_foo(): assert True def test_bar(): assert True
data/pytest-order-1.2.0/example/test.py
181
61
115,093
LOAD_CONST 0 LOAD_CONST ('public',) IMPORT_NAME public IMPORT_FROM public STORE_NAME public POP_TOP LOAD_CONST 0 LOAD_CONST ('Schema', 'SchemaCollection', 'SchemaResource') IMPORT_NAME snowflake.core.schema._schema IMPORT_FROM Schema STORE_NAME Schema IMPORT_FROM SchemaCollection STORE_NAME SchemaCollection IMPORT_FRO...
from public import public from snowflake.core.schema._schema import Schema, SchemaCollection, SchemaResource public( Schema=Schema, SchemaCollection=SchemaCollection, SchemaResource=SchemaResource, )
data/snowflake_core-0.6.0/src/snowflake/core/schema/__init__.py
123
61
400,283
LOAD_CONST 0 LOAD_CONST ('models',) IMPORT_NAME django.db IMPORT_FROM models STORE_NAME models POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Foo at 0x7f8af04b81e0, file "f.py", line 4> LOAD_CONST 'Foo' MAKE_FUNCTION LOAD_CONST 'Foo' LOAD_NAME models LOAD_ATTR Model CALL_FUNCTION STORE_NAME Foo LOAD_CONST None RETUR...
from django.db import models class Foo(models.Model): name = models.CharField(max_length=255) class Meta: app_label = "another_app_waiting_migration"
data/Django-5.0.2/tests/admin_scripts/another_app_waiting_migration/models.py
249
61
326,408
LOAD_CONST '\nPycdlib is a pure python library to parse, write (master), and create ISO9660\nfiles. These files are suitable for writing to a CD or USB.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('PyCdlib',) IMPORT_NAME pycdlib IMPORT_FROM PyCdlib STORE_NAME PyCdlib POP_TOP LOAD_CONST None RETURN_VALUE
""" Pycdlib is a pure python library to parse, write (master), and create ISO9660 files. These files are suitable for writing to a CD or USB. """ from .pycdlib import PyCdlib # NOQA
data/pycdlib-1.14.0/pycdlib/__init__.py
87
61
423,975
LOAD_CONST 0 LOAD_CONST ('SearchDepth', 'TavilySearchAPIRetriever') IMPORT_NAME langchain_community.retrievers.tavily_search_api IMPORT_FROM SearchDepth STORE_NAME SearchDepth IMPORT_FROM TavilySearchAPIRetriever STORE_NAME TavilySearchAPIRetriever POP_TOP LOAD_CONST 'SearchDepth' LOAD_CONST 'TavilySearchAPIRetriever'...
from langchain_community.retrievers.tavily_search_api import ( SearchDepth, TavilySearchAPIRetriever, ) __all__ = ["SearchDepth", "TavilySearchAPIRetriever"]
data/langchain-0.1.8/langchain/retrievers/tavily_search_api.py
103
61
369,446
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 LocalAuthentication STORE_NAME LocalAuthentication LOAD_BUILD_CLASS LOAD_CONST <code object TestCallableMetadata at 0x7fab702b9c00, file "f.py", line 6> L...
from PyObjCTools.TestSupport import TestCase import LocalAuthentication class TestCallableMetadata(TestCase): def test_callable_metadata_is_sane(self): self.assertCallableMetadataIsSane(LocalAuthentication)
data/pyobjc-framework-LocalAuthentication-10.1/PyObjCTest/test_localauthentication.py
252
61
204,726
LOAD_CONST 0 LOAD_CONST ('FastAPI',) IMPORT_NAME fastapi IMPORT_FROM FastAPI STORE_NAME FastAPI POP_TOP LOAD_NAME FastAPI LOAD_CONST '/api/v1/openapi.json' LOAD_CONST ('openapi_url',) CALL_FUNCTION STORE_NAME app LOAD_NAME app LOAD_METHOD get LOAD_CONST '/items/' CALL_METHOD LOAD_CONST <code object read_items at 0x7f...
from fastapi import FastAPI app = FastAPI(openapi_url="/api/v1/openapi.json") @app.get("/items/") async def read_items(): return [{"name": "Foo"}]
data/fastapi-0.109.2/docs_src/metadata/tutorial002.py
144
61
142,456
LOAD_CONST 0 LOAD_CONST ('Warehouse',) IMPORT_NAME warehouse IMPORT_FROM Warehouse STORE_NAME Warehouse POP_TOP LOAD_CONST 0 LOAD_CONST ('Person',) IMPORT_NAME person IMPORT_FROM Person STORE_NAME Person POP_TOP LOAD_NAME Warehouse CALL_FUNCTION STORE_NAME warehouse LOAD_NAME Person LOAD_CONST 'Janet' CALL_FUNCTION ...
from warehouse import Warehouse from person import Person warehouse = Warehouse() janet = Person("Janet") henry = Person("Henry") janet.visit(warehouse) henry.visit(warehouse)
data/Pyro4-4.82/examples/warehouse/phase1/visit.py
135
61
52,582
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 Virtualization STORE_NAME Virtualization LOAD_BUILD_CLASS LOAD_CONST <code object TestCallableMetadata at 0x7fab541051e0, file "f.py", line 6> LOAD_CONST ...
from PyObjCTools.TestSupport import TestCase import Virtualization class TestCallableMetadata(TestCase): def test_callable_metadata_is_sane(self): self.assertCallableMetadataIsSane(Virtualization)
data/pyobjc-framework-Virtualization-10.1/PyObjCTest/test_virtualization.py
252
61
187,833
LOAD_CONST 'Constants for the Blue Current integration.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME logging STORE_NAME logging LOAD_CONST 'blue_current' STORE_NAME DOMAIN LOAD_NAME logging LOAD_METHOD getLogger LOAD_NAME __package__ CALL_METHOD STORE_NAME LOGGER LOAD_CONST 'evse_id' STORE_NAME EVSE...
"""Constants for the Blue Current integration.""" import logging DOMAIN = "blue_current" LOGGER = logging.getLogger(__package__) EVSE_ID = "evse_id" MODEL_TYPE = "model_type"
data/homeassistant-2024.2.2/homeassistant/components/blue_current/const.py
95
61
294,904
LOAD_CONST 0 LOAD_CONST ('path',) IMPORT_NAME os IMPORT_FROM path STORE_NAME path POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME rootpath STORE_NAME rootpath LOAD_NAME rootpath LOAD_METHOD append CALL_METHOD POP_TOP LOAD_CONST 0 LOAD_CONST ('helper',) IMPORT_NAME attributedict.tests IMPORT_FROM helper STORE_NAME h...
from os import path import rootpath rootpath.append() from attributedict.tests import helper suite = helper.suite(path.abspath(path.dirname(__file__))) helper.run(suite)
data/attributedict-0.3.0/attributedict/tests/__main__.py
129
61
224,769
LOAD_CONST 0 LOAD_CONST ('K8sRunLauncher',) IMPORT_NAME dagster_k8s IMPORT_FROM K8sRunLauncher STORE_NAME K8sRunLauncher POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object CloudK8sRunLauncher at 0x7fab802480c0, file "f.py", line 4> LOAD_CONST 'CloudK8sRunLauncher' MAKE_FUNCTION LOAD_CONST 'CloudK8sRunLauncher' LOAD_NAME...
from dagster_k8s import K8sRunLauncher class CloudK8sRunLauncher(K8sRunLauncher): @property def supports_run_worker_crash_recovery(self): return False
data/dagster-cloud-1.6.5/dagster_cloud/execution/cloud_run_launcher/k8s.py
256
61
214,325
LOAD_CONST '\nProvides modules for creation anonymous variables to help minimize the setup/arrange phase when writing unit tests\n' STORE_NAME __doc__ LOAD_CONST '0.1.0' STORE_NAME __version__ LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME autofaker.autodata IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME autofak...
""" Provides modules for creation anonymous variables to help minimize the setup/arrange phase when writing unit tests """ __version__ = "0.1.0" from autofaker.autodata import * from autofaker.decorators import *
data/autofaker-1.0.19/src/autofaker/__init__.py
95
61
248,796
LOAD_CONST <code object pre_save_test at 0x7fab820978a0, file "f.py", line 1> LOAD_CONST 'pre_save_test' MAKE_FUNCTION STORE_NAME pre_save_test LOAD_CONST <code object post_save_test at 0x7fab82097300, file "f.py", line 5> LOAD_CONST 'post_save_test' MAKE_FUNCTION STORE_NAME post_save_test LOAD_CONST None RETURN_VALUE...
def pre_save_test(instance, *args, **kwargs): instance.pre_save_runned = True def post_save_test(instance, created, *args, **kwargs): instance.post_save_runned = True
data/django-model-utils-4.4.0/tests/signals.py
154
61
106,347
LOAD_CONST <code object extra_set_tenant_stuff at 0x7fab703068a0, file "f.py", line 1> LOAD_CONST 'extra_set_tenant_stuff' MAKE_FUNCTION STORE_NAME extra_set_tenant_stuff LOAD_CONST None RETURN_VALUE LOAD_GLOBAL print LOAD_CONST 'changing tenant: ' LOAD_FAST tenant LOAD_ATTR schema_name BINARY_ADD CALL_FUNCTION POP_TO...
def extra_set_tenant_stuff(wrapper_class, tenant): """ you can add stuff when the connection is set such as read replica :return: """ print("changing tenant: " + tenant.schema_name)
data/django-tenants-3.6.1/examples/tenant_multi_types/tenant_multi_types_tutorial/set_tenant_utils.py
101
61
224,865
LOAD_CONST 0 LOAD_CONST ('decorator',) IMPORT_NAME tests.fixtures IMPORT_FROM decorator STORE_NAME decorator POP_TOP LOAD_NAME decorator LOAD_CONST True LOAD_CONST ('class_',) CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object ClassWithMethod at 0x7fab802ddf60, file "f.py", line 4> LOAD_CONST 'ClassWithMethod' MAK...
from tests.fixtures import decorator @decorator(class_=True) class ClassWithMethod(object): @decorator(method=True) def method_on_class(self): # pragma: no cover pass
data/venusian-3.1.0/tests/fixtures/class_and_method.py
223
61
76,621
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 1 LOAD_CONST ('compute_component_slice_modes', 'compute_cross_section_modes') IMPORT_NAME mode_solver IMPORT_FROM compute_component_slice_modes STORE_NAME compute_component_slice_modes IMPO...
from __future__ import annotations from .mode_solver import compute_component_slice_modes, compute_cross_section_modes __all__ = ("compute_cross_section_modes", "compute_component_slice_modes")
data/gplugins-0.9.13/gplugins/femwell/__init__.py
134
61
211,605
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 AdSupport STORE_NAME AdSupport LOAD_BUILD_CLASS LOAD_CONST <code object TestCallableMetadata at 0x7fab80234c90, file "f.py", line 6> LOAD_CONST 'TestCalla...
from PyObjCTools.TestSupport import TestCase import AdSupport class TestCallableMetadata(TestCase): def test_callable_metadata_is_sane(self): self.assertCallableMetadataIsSane(AdSupport)
data/pyobjc-framework-AdSupport-10.1/PyObjCTest/test_adsupport.py
252
61
156,503
LOAD_CONST 0 LOAD_CONST ('TestCase',) IMPORT_NAME django.test IMPORT_FROM TestCase STORE_NAME TestCase POP_TOP LOAD_CONST 0 LOAD_CONST ('SessionStorage',) IMPORT_NAME formtools.wizard.storage.session IMPORT_FROM SessionStorage STORE_NAME SessionStorage POP_TOP LOAD_CONST 1 LOAD_CONST ('TestStorage',) IMPORT_NAME stor...
from django.test import TestCase from formtools.wizard.storage.session import SessionStorage from .storage import TestStorage class TestSessionStorage(TestStorage, TestCase): def get_storage(self): return SessionStorage
data/django-formtools-2.5.1/tests/wizard/test_sessionstorage.py
244
61
204,690
LOAD_CONST 0 LOAD_CONST ('view_config',) IMPORT_NAME pyramid.view IMPORT_FROM view_config STORE_NAME view_config POP_TOP LOAD_NAME view_config LOAD_CONST 'hello' LOAD_CONST 'hello_world.pt' LOAD_CONST ('route_name', 'renderer') CALL_FUNCTION LOAD_CONST <code object hello_world at 0x7faa51f69c90, file "f.py", line 4> L...
from pyramid.view import view_config @view_config(route_name="hello", renderer="hello_world.pt") def hello_world(request): return dict(name=request.matchdict["name"])
data/pyramid-2.0.2/docs/quick_tour/templating/views.py
149
61
20,002
LOAD_CONST 0 LOAD_CONST ('absolute_import', 'division', 'print_function') IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM division STORE_NAME division IMPORT_FROM print_function STORE_NAME print_function POP_TOP LOAD_NAME type STORE_NAME __metaclass__ LOAD_BUILD_CLASS LOAD_CO...
from __future__ import absolute_import, division, print_function __metaclass__ = type class ModuleDocFragment(object): DOCUMENTATION = r""" options: url: required: true """
data/ansible-9.2.0/ansible_collections/telekom_mms/icinga_director/plugins/doc_fragments/common_options.py
185
61
5,735
LOAD_CONST 1 LOAD_CONST ('mask_message',) IMPORT_NAME helpers IMPORT_FROM mask_message STORE_NAME mask_message POP_TOP LOAD_CONST 1 LOAD_CONST ('Interceptor',) IMPORT_NAME interceptor IMPORT_FROM Interceptor STORE_NAME Interceptor POP_TOP LOAD_CONST 1 LOAD_CONST ('MetadataInterceptor',) IMPORT_NAME metadata_intercept...
from .helpers import mask_message from .interceptor import Interceptor from .metadata_interceptor import MetadataInterceptor from .exception_interceptor import ExceptionInterceptor from .logging_interceptor import LoggingInterceptor
data/google-ads-23.0.0/google/ads/googleads/interceptors/__init__.py
173
61
75,007
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_nic IMPORT_ST...
from .__cmd_group import * from ._create import * from ._delete import * from ._list import * from ._list_nic import * from ._show import * from ._update import * from ._wait import *
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/profile_2020_09_01_hybrid/network/lb/__init__.py
144
61
378,684
LOAD_CONST '\nVisualizers for Cluster analysis and diagnostics, particularly visualizations\nrelated to evaluating Scikit-Learn clustering models.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME base IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME elbow IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*...
""" Visualizers for Cluster analysis and diagnostics, particularly visualizations related to evaluating Scikit-Learn clustering models. """ from .base import * from .elbow import * from .silhouette import * from .icdm import *
data/yellowbrick-1.5/yellowbrick/cluster/__init__.py
110
61
156,359
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 ColorSync STORE_NAME ColorSync LOAD_BUILD_CLASS LOAD_CONST <code object TestCallableMetadata at 0x7fab423bdd20, file "f.py", line 6> LOAD_CONST 'TestCalla...
from PyObjCTools.TestSupport import TestCase import ColorSync class TestCallableMetadata(TestCase): def test_callable_metadata_is_sane(self): self.assertCallableMetadataIsSane(ColorSync)
data/pyobjc-framework-ColorSync-10.1/PyObjCTest/test_colorsync.py
250
61
313,254
LOAD_CONST 0 LOAD_CONST ('DeterministicFakeEmbedding', 'FakeEmbeddings') IMPORT_NAME langchain_community.embeddings.fake IMPORT_FROM DeterministicFakeEmbedding STORE_NAME DeterministicFakeEmbedding IMPORT_FROM FakeEmbeddings STORE_NAME FakeEmbeddings POP_TOP LOAD_CONST 'FakeEmbeddings' LOAD_CONST 'DeterministicFakeEmb...
from langchain_community.embeddings.fake import ( DeterministicFakeEmbedding, FakeEmbeddings, ) __all__ = ["FakeEmbeddings", "DeterministicFakeEmbedding"]
data/langchain-0.1.8/langchain/embeddings/fake.py
110
61
368,861
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST <code object is_windows at 0x7fab823a7540, file "f.py", line 4> LOAD_CONST 'is_windows' MAKE_FUNCTION STORE_NAME is_windows LOAD_CONST None RETURN_VALUE LOAD_GLOBAL os LOAD_ATTR name LOAD_CONST 'nt' COMPARE_OP == RETURN_VALUE
import os def is_windows(): """ Returns true if the local system/OS name is Windows. Returns: True if the local system/OS name is Windows. """ return os.name == "nt"
data/mlflow-2.10.2/mlflow/utils/os.py
84
61
43,781
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Win32LobAppMsiPackageType at 0x7fab4298eed0, file "f.py", line 4> LOAD_CONST 'Win32LobAppMsiPackageType' MAKE_FUNCTION LOAD_CONST 'Win32LobAppMsiPackageType' LOAD_NAME str LOAD_NAME Enum...
from enum import Enum class Win32LobAppMsiPackageType(str, Enum): PerMachine = ("perMachine",) PerUser = ("perUser",) DualPurpose = ("dualPurpose",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/win32_lob_app_msi_package_type.py
197
61
260,280
LOAD_CONST '\nThis sub-package contains classes and functions for creating distributions that\nwork similar to `~astropy.units.Quantity` or array objects, but can propagate\nuncertainties.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME core IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME dist...
""" This sub-package contains classes and functions for creating distributions that work similar to `~astropy.units.Quantity` or array objects, but can propagate uncertainties. """ from .core import * from .distributions import *
data/astropy-6.0.0/astropy/uncertainty/__init__.py
90
61
21,008
LOAD_CONST '\n pyudev._os\n ==========\n\n Extras to compensate for deficiencies in python os module.\n\n .. moduleauthor:: mulhern <amulhern@redhat.com>\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('pipe', 'poll') IMPORT_NAME IMPORT_FROM pipe STORE_NAME pipe IMPORT_FROM poll STORE_NAME poll POP_TOP LOAD_CONST None ...
""" pyudev._os ========== Extras to compensate for deficiencies in python os module. .. moduleauthor:: mulhern <amulhern@redhat.com> """ from . import pipe, poll
data/pyudev-0.24.1/src/pyudev/_os/__init__.py
93
61
25,951
LOAD_CONST 1 LOAD_CONST ('AuthorizationServer',) IMPORT_NAME authorization_server IMPORT_FROM AuthorizationServer STORE_NAME AuthorizationServer POP_TOP LOAD_CONST 1 LOAD_CONST ('ResourceProtector', 'BearerTokenValidator') IMPORT_NAME resource_protector IMPORT_FROM ResourceProtector STORE_NAME ResourceProtector IMPORT...
from .authorization_server import AuthorizationServer from .resource_protector import ResourceProtector, BearerTokenValidator from .endpoints import RevocationEndpoint from .signals import client_authenticated, token_authenticated, token_revoked
data/Authlib-1.3.0/authlib/integrations/django_oauth2/__init__.py
188
61
116,484
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 _show IMPORT_STAR ...
from .__cmd_group import * from ._create import * from ._delete import * from ._list import * from ._show import * from ._show_status import * from ._stop import * from ._wait import *
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/latest/network/watcher/packet_capture/__init__.py
144
61
377,723
SETUP_ANNOTATIONS LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ast STORE_NAME ast LOAD_CONST 0 LOAD_CONST ('Union',) IMPORT_NAME typing IMPORT_FROM Union STORE_NAME Union POP_TOP LOAD_CONST 0 LOAD_CONST ('TypeAlias',) IMPORT_NAME typing_extensions IMPORT_FROM TypeAlias STORE_NAME TypeAlias POP_TOP LOAD_CONST 0 LOAD_CONS...
import ast from typing import Union from typing_extensions import TypeAlias from wemake_python_styleguide.types import AnyAssign AnyAssignWithWalrus: TypeAlias = Union[AnyAssign, ast.NamedExpr]
data/wemake_python_styleguide-0.18.0/wemake_python_styleguide/compat/types.py
164
61
214,898
LOAD_CONST 1 LOAD_CONST ('xandy', 'affine', 'ascii_shift', 'caesar', 'rot47', 'soundex', 'vigenere', 'xor_single', 'xorcrypt') IMPORT_NAME IMPORT_FROM xandy STORE_NAME xandy IMPORT_FROM affine STORE_NAME affine IMPORT_FROM ascii_shift STORE_NAME ascii_shift IMPORT_FROM caesar STORE_NAME caesar IMPORT_FROM rot47 STORE_N...
from . import ( xandy, affine, ascii_shift, caesar, rot47, soundex, vigenere, xor_single, xorcrypt, )
data/ciphey-5.14.0/ciphey/basemods/Crackers/__init__.py
147
61
330,959
LOAD_CONST 2 LOAD_CONST ('Provider',) IMPORT_NAME de_DE IMPORT_FROM Provider STORE_NAME GermanProvider POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Provider at 0x7fab823c2f60, file "f.py", line 4> LOAD_CONST 'Provider' MAKE_FUNCTION LOAD_CONST 'Provider' LOAD_NAME GermanProvider CALL_FUNCTION STORE_NAME Provider L...
from ..de_DE import Provider as GermanProvider class Provider(GermanProvider): """Implement lorem provider for ``de_DE`` locale. Using the same as in ```de_DE```. """ pass
data/Faker-23.2.1/faker/providers/lorem/de_AT/__init__.py
153
61
16,959
SETUP_EXCEPT to 18 LOAD_CONST 1 LOAD_CONST ('myotherpackage',) IMPORT_NAME IMPORT_FROM myotherpackage STORE_NAME myotherpackage POP_TOP POP_BLOCK JUMP_FORWARD to 38 DUP_TOP LOAD_NAME ImportError COMPARE_OP exception match POP_JUMP_IF_FALSE POP_TOP POP_TOP POP_TOP POP_EXCEPT JUMP_FORWARD to 38 END_FINALLY SETUP_EXCE...
try: from . import myotherpackage # noqa: F401 except ImportError: pass try: from .myotherpackage import something # noqa: F401 except ImportError: pass
data/pyinstaller-6.4.0/tests/functional/modules/pyi_missing_relative_import/mypackage/__init__.py
145
61
184,839
LOAD_CONST 0 LOAD_CONST ('Mapping',) IMPORT_NAME collections.abc IMPORT_FROM Mapping STORE_NAME Mapping POP_TOP LOAD_CONST 0 LOAD_CONST ('wraps',) IMPORT_NAME functools IMPORT_FROM wraps STORE_NAME wraps POP_TOP LOAD_CONST 0 LOAD_CONST ('getfullargspec',) IMPORT_NAME inspect IMPORT_FROM getfullargspec STORE_NAME get_...
from collections.abc import Mapping # noqa: F401 from functools import wraps # noqa: F401 from inspect import getfullargspec as get_function_spec # noqa: F401
data/bravado-core-6.1.1/bravado_core/_compat.py
89
61
374,592
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_types IMPORT_...
from .__cmd_group import * from ._create import * from ._delete import * from ._list import * from ._list_types 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_endpoint/__init__.py
144
61
378,163
LOAD_CONST '\nMock module of the same name as _and_ shadowed by a global variable defined by the `__init__` submodule of this package.\n\nThis module is exercised by the `test_import_submodule_global_shadowed` functional test.\n' STORE_NAME __doc__ LOAD_CONST None RETURN_VALUE
""" Mock module of the same name as _and_ shadowed by a global variable defined by the `__init__` submodule of this package. This module is exercised by the `test_import_submodule_global_shadowed` functional test. """
data/pyinstaller-6.4.0/tests/functional/modules/pyi_testmod_submodule_global_shadowed/submodule.py
72
61
184,841
LOAD_CONST 0 LOAD_CONST ('setup',) IMPORT_NAME setuptools IMPORT_FROM setup STORE_NAME setup POP_TOP LOAD_NAME setup LOAD_CONST 'Jinja2' LOAD_CONST 'MarkupSafe>=2.0' BUILD_LIST LOAD_CONST 'i18n' LOAD_CONST 'Babel>=2.7' BUILD_LIST BUILD_MAP LOAD_CONST ('name', 'install_requires', 'extras_require') CALL_FUNCTION POP_...
from setuptools import setup setup( name="Jinja2", install_requires=["MarkupSafe>=2.0"], extras_require={"i18n": ["Babel>=2.7"]}, )
data/Jinja2-3.1.3/setup.py
98
61
356,976
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 _get_stats IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _list IMPORT_S...
from .__cmd_group import * from ._create import * from ._delete import * from ._get_stats import * from ._list import * from ._show import * from ._update import * from ._wait import *
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/latest/network/express_route/peering/__init__.py
144
61
377,869
LOAD_CONST 0 LOAD_CONST ('optimizers',) IMPORT_NAME keras_core.src IMPORT_FROM optimizers STORE_NAME optimizers POP_TOP LOAD_CONST 0 LOAD_CONST ('torch_adam',) IMPORT_NAME keras_core.src.backend.torch.optimizers IMPORT_FROM torch_adam STORE_NAME torch_adam POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AdamW at 0x7...
from keras_core.src import optimizers from keras_core.src.backend.torch.optimizers import torch_adam class AdamW(torch_adam.Adam, optimizers.AdamW): pass
data/keras-core-0.1.7/keras_core/src/backend/torch/optimizers/torch_adamw.py
188
61
385,930
LOAD_CONST 0 LOAD_CONST ('warns_deprecated_sympy',) IMPORT_NAME sympy.testing.pytest IMPORT_FROM warns_deprecated_sympy STORE_NAME warns_deprecated_sympy POP_TOP LOAD_CONST <code object test_compatibility_submodule at 0x7fab703b0420, file "f.py", line 4> LOAD_CONST 'test_compatibility_submodule' MAKE_FUNCTION STORE_NA...
from sympy.testing.pytest import warns_deprecated_sympy def test_compatibility_submodule(): with warns_deprecated_sympy(): import sympy.core.compatibility # noqa:F401
data/sympy-1.12/sympy/core/tests/test_compatibility.py
168
61
228,981
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR asyncio LOAD_CONST <code object test_system_info at 0x7fae471296f0, file "f.py", line 4> LOAD_CONST 'test_system_info' MAKE_FUNCTION CALL_FUNCTION STORE_NAME test_system_info LOAD_CONST None RETURN_VALUE LOAD_F...
import pytest @pytest.mark.asyncio async def test_system_info(docker): docker_info = await docker.system.info() assert "ID" in docker_info assert "ServerVersion" in docker_info
data/aiodocker-0.21.0/tests/test_system.py
164
61
214,668
LOAD_CONST 0 LOAD_CONST ('capture_checkin',) IMPORT_NAME sentry_sdk.crons.api IMPORT_FROM capture_checkin STORE_NAME capture_checkin POP_TOP LOAD_CONST 0 LOAD_CONST ('MonitorStatus',) IMPORT_NAME sentry_sdk.crons.consts IMPORT_FROM MonitorStatus STORE_NAME MonitorStatus POP_TOP LOAD_CONST 0 LOAD_CONST ('monitor',) IM...
from sentry_sdk.crons.api import capture_checkin # noqa from sentry_sdk.crons.consts import MonitorStatus # noqa from sentry_sdk.crons.decorator import monitor # noqa
data/sentry-sdk-1.40.5/sentry_sdk/crons/__init__.py
109
61
45,385
LOAD_CONST 0 LOAD_CONST ('views',) IMPORT_NAME django.contrib.contenttypes IMPORT_FROM views STORE_NAME views POP_TOP LOAD_CONST 0 LOAD_CONST ('re_path',) IMPORT_NAME django.urls IMPORT_FROM re_path STORE_NAME re_path POP_TOP LOAD_NAME re_path LOAD_CONST '^shortcut/([0-9]+)/(.*)/$' LOAD_NAME views LOAD_ATTR shortcut ...
from django.contrib.contenttypes import views from django.urls import re_path urlpatterns = [ re_path(r"^shortcut/([0-9]+)/(.*)/$", views.shortcut), ]
data/Django-5.0.2/tests/contenttypes_tests/urls.py
104
61
325,256
LOAD_CONST 0 LOAD_CONST ('absolute_import', 'division', 'print_function') IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM division STORE_NAME division IMPORT_FROM print_function STORE_NAME print_function POP_TOP LOAD_NAME type STORE_NAME __metaclass__ LOAD_BUILD_CLASS LOAD_CO...
from __future__ import absolute_import, division, print_function __metaclass__ = type class ModuleDocFragment(object): DOCUMENTATION = r""" options: url: required: true """
data/ansible-9.2.0/ansible_collections/t_systems_mms/icinga_director/plugins/doc_fragments/common_options.py
185
61
277,731
LOAD_CONST 0 LOAD_CONST ('GitLabProvider',) IMPORT_NAME allauth.socialaccount.providers.gitlab.provider IMPORT_FROM GitLabProvider STORE_NAME GitLabProvider POP_TOP LOAD_CONST 0 LOAD_CONST ('default_urlpatterns',) IMPORT_NAME allauth.socialaccount.providers.oauth2.urls IMPORT_FROM default_urlpatterns STORE_NAME defaul...
from allauth.socialaccount.providers.gitlab.provider import GitLabProvider from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns urlpatterns = default_urlpatterns(GitLabProvider)
data/django-allauth-0.61.1/allauth/socialaccount/providers/gitlab/urls.py
113
61
336,468
LOAD_CONST 'reno.sphinxext' LOAD_CONST 'openstackdocstheme' BUILD_LIST STORE_NAME extensions LOAD_CONST 'index' STORE_NAME master_doc LOAD_CONST 'openstackdocs' STORE_NAME html_theme LOAD_CONST 'locale/' BUILD_LIST STORE_NAME locale_dirs LOAD_CONST None RETURN_VALUE
extensions = [ "reno.sphinxext", "openstackdocstheme", ] master_doc = "index" html_theme = "openstackdocs" locale_dirs = ["locale/"]
data/python-novaclient-18.4.0/releasenotes/source/conf.py
71
61
392,601
LOAD_CONST 0 LOAD_CONST ('connection',) IMPORT_NAME django.db IMPORT_FROM connection STORE_NAME connection POP_TOP LOAD_CONST 0 LOAD_CONST ('SimpleTestCase',) IMPORT_NAME django.test IMPORT_FROM SimpleTestCase STORE_NAME SimpleTestCase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TestDatabaseFeatures at 0x7f8e2fe...
from django.db import connection from django.test import SimpleTestCase class TestDatabaseFeatures(SimpleTestCase): def test_nonexistent_feature(self): self.assertFalse(hasattr(connection.features, "nonexistent"))
data/Django-5.0.2/tests/backends/base/test_features.py
251
61
325,377
LOAD_CONST <code object _read at 0x7fab700b45d0, file "f.py", line 1> LOAD_CONST '_read' MAKE_FUNCTION STORE_NAME _read LOAD_CONST None RETURN_VALUE SETUP_LOOP to 64 LOAD_FAST fp GET_ITER FOR_ITER to 62 STORE_FAST line SETUP_LOOP to 30 LOAD_FAST a GET_ITER FOR_ITER to 28 STORE_FAST prefix LOAD_FAST fp CALL_FUNCTION ...
def _read(self, fp, a, value, f): for line in fp: for prefix in a: fp() if value and fp and prefix > 5: f() else: f()
data/uncompyle6-3.9.0/test/simple_source/bug36/05-for-ifelse.py
156
61
441,989
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST ('get_version',) IMPORT_NAME wemake_python_styleguide.compat.packaging IMPORT_FROM get_version STORE_NAME get_version POP_TOP LOAD_NAME os LOAD_ATTR path LOAD_METHOD basename LOAD_NAME os LOAD_ATTR path LOAD_METHOD dirname LOAD_NAME __f...
import os from wemake_python_styleguide.compat.packaging import get_version pkg_name = os.path.basename(os.path.dirname(__file__)) pkg_version = get_version(pkg_name)
data/wemake_python_styleguide-0.18.0/wemake_python_styleguide/version.py
114
61
214,819
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME requests.adapters STORE_NAME requests LOAD_BUILD_CLASS LOAD_CONST <code object BaseHTTPAdapter at 0x7fab8231bf60, file "f.py", line 4> LOAD_CONST 'BaseHTTPAdapter' MAKE_FUNCTION LOAD_CONST 'BaseHTTPAdapter' LOAD_NAME requests LOAD_ATTR adapters LOAD_ATTR HTTPAdapter CALL_FUNCTI...
import requests.adapters class BaseHTTPAdapter(requests.adapters.HTTPAdapter): def close(self): super().close() if hasattr(self, "pools"): self.pools.clear()
data/docker-7.0.0/docker/transport/basehttpadapter.py
235
61
132,567
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 CloudKit STORE_NAME CloudKit LOAD_BUILD_CLASS LOAD_CONST <code object TestCallableMetadata at 0x7f8e44712ed0, file "f.py", line 6> LOAD_CONST 'TestCallabl...
from PyObjCTools.TestSupport import TestCase import CloudKit class TestCallableMetadata(TestCase): def test_callable_metadata_is_sane(self): self.assertCallableMetadataIsSane(CloudKit)
data/pyobjc-framework-CloudKit-10.1/PyObjCTest/test_cloudkit.py
252
61
397,656