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 ('debug',) IMPORT_NAME devtools IMPORT_FROM debug STORE_NAME debug POP_TOP LOAD_CONST 'nested' LOAD_CONST 'dict' LOAD_CONST (1, 2) BUILD_CONST_KEY_MAP LOAD_CONST 'apple' LOAD_CONST 'banana' LOAD_CONST 'carrot' LOAD_CONST 'grapefruit' BUILD_LIST LOAD_CONST ('foo', 'bar') BUILD_CONST_KEY_MAP STO...
from devtools import debug v1 = { "foo": {1: "nested", 2: "dict"}, "bar": ["apple", "banana", "carrot", "grapefruit"], } debug(v1, sum(range(5)))
data/devtools-0.12.2/docs/examples/example.py
116
67
423,729
LOAD_CONST 0 LOAD_CONST ('cdf', 'logcdf', 'logpdf', 'logsf', 'pdf', 'sf') IMPORT_NAME jax._src.scipy.stats.beta IMPORT_FROM cdf STORE_NAME cdf IMPORT_FROM logcdf STORE_NAME logcdf IMPORT_FROM logpdf STORE_NAME logpdf IMPORT_FROM logsf STORE_NAME logsf IMPORT_FROM pdf STORE_NAME pdf IMPORT_FROM sf STORE_NAME sf POP_TOP ...
from jax._src.scipy.stats.beta import ( cdf as cdf, logcdf as logcdf, logpdf as logpdf, logsf as logsf, pdf as pdf, sf as sf, )
data/jax-0.4.24/jax/scipy/stats/beta.py
98
67
328,975
LOAD_CONST 0 LOAD_CONST ('ScheduledQueryRun',) IMPORT_NAME stripe.sigma._scheduled_query_run IMPORT_FROM ScheduledQueryRun STORE_NAME ScheduledQueryRun POP_TOP LOAD_CONST 0 LOAD_CONST ('ScheduledQueryRunService',) IMPORT_NAME stripe.sigma._scheduled_query_run_service IMPORT_FROM ScheduledQueryRunService STORE_NAME Sch...
from stripe.sigma._scheduled_query_run import ( ScheduledQueryRun as ScheduledQueryRun, ) from stripe.sigma._scheduled_query_run_service import ( ScheduledQueryRunService as ScheduledQueryRunService, )
data/stripe-8.3.0/stripe/sigma/__init__.py
95
67
12,350
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_NAME pytest LOAD_ATTR fixture LOAD_CONST 'package' LOAD_CONST ('scope',) CALL_FUNCTION LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR core_test LOAD_CONST <code object salt_eauth_account at 0x7fab8013bdb0, file "f.py", line 4> LOAD_CONST 'salt_eauth_ac...
import pytest @pytest.fixture(scope="package") @pytest.mark.core_test def salt_eauth_account(salt_eauth_account_factory): with salt_eauth_account_factory as account: yield account
data/salt-3006.6/tests/pytests/integration/cli/conftest.py
160
67
95,574
LOAD_CONST 0 LOAD_CONST ('Command',) IMPORT_NAME wagtail.management.commands.publish_scheduled IMPORT_FROM Command STORE_NAME PublishScheduledCommand POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Command at 0x7fab000a6e40, file "f.py", line 6> LOAD_CONST 'Command' MAKE_FUNCTION LOAD_CONST 'Command' LOAD_NAME Publis...
from wagtail.management.commands.publish_scheduled import ( Command as PublishScheduledCommand, ) class Command(PublishScheduledCommand): """ Alias for the publish_scheduled management command for backwards-compatibility. """
data/wagtail-6.0.1/wagtail/management/commands/publish_scheduled_pages.py
157
67
200,195
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME tensorflow STORE_NAME tf LOAD_CONST <code object start_trace at 0x7fab82398e40, file "f.py", line 4> LOAD_CONST 'start_trace' MAKE_FUNCTION STORE_NAME start_trace LOAD_CONST <code object stop_trace at 0x7fab823989c0, file "f.py", line 8> LOAD_CONST 'stop_trace' MAKE_FUNCTION S...
import tensorflow as tf def start_trace(logdir): tf.profiler.experimental.start(logdir=logdir) def stop_trace(save): tf.profiler.experimental.stop(save=save)
data/keras-3.0.5/keras/src/backend/tensorflow/tensorboard.py
186
67
349,480
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_NAME pytest LOAD_ATTR fixture LOAD_CONST 'module' LOAD_NAME range LOAD_CONST 966 CALL_FUNCTION LOAD_CONST ('scope', 'params') CALL_FUNCTION LOAD_CONST <code object foo at 0x7f8ab7985c90, file "f.py", line 4> LOAD_CONST 'foo' MAKE_FUNCTION CALL_FUNC...
import pytest @pytest.fixture(scope="module", params=range(966)) def foo(request): return request.param def test_it(foo): pass def test_it2(foo): pass
data/pytest-8.0.1/bench/manyparam.py
222
67
427,566
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRunBinaryComparison',) IMPORT_NAME onnx.reference.ops._op IMPORT_FROM OpRunBinaryComparison STORE_NAME OpRunBinaryComparison POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Greater at 0x7fab823b2ed0, file "f.py", line 6> LOAD_CO...
import numpy as np from onnx.reference.ops._op import OpRunBinaryComparison class Greater(OpRunBinaryComparison): def _run(self, a, b): # type: ignore return (np.greater(a, b),)
data/onnx-simplifier-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_greater.py
214
67
309,532
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME click STORE_NAME click LOAD_CONST 0 LOAD_CONST ('GroupWithAlias',) IMPORT_NAME launchable.utils.click IMPORT_FROM GroupWithAlias STORE_NAME GroupWithAlias POP_TOP LOAD_CONST 1 LOAD_CONST ('test_sessions',) IMPORT_NAME test_sessions IMPORT_FROM test_sessions STORE_NAME test_ses...
import click from launchable.utils.click import GroupWithAlias from .test_sessions import test_sessions @click.group(cls=GroupWithAlias) def stats(): pass stats.add_command(test_sessions)
data/launchable-1.82.4/launchable/commands/stats/__init__.py
177
67
422,362
LOAD_CONST 0 LOAD_CONST ('VectorStoreQATool', 'VectorStoreQAWithSourcesTool') IMPORT_NAME langchain_community.tools.vectorstore.tool IMPORT_FROM VectorStoreQATool STORE_NAME VectorStoreQATool IMPORT_FROM VectorStoreQAWithSourcesTool STORE_NAME VectorStoreQAWithSourcesTool POP_TOP LOAD_CONST 'VectorStoreQATool' LOAD_C...
from langchain_community.tools.vectorstore.tool import ( VectorStoreQATool, VectorStoreQAWithSourcesTool, ) __all__ = [ "VectorStoreQATool", "VectorStoreQAWithSourcesTool", ]
data/langchain-0.1.8/langchain/tools/vectorstore/tool.py
107
67
369,315
LOAD_CONST 0 LOAD_CONST ('DefaultNoiseBackend',) IMPORT_NAME noise.backends.default IMPORT_FROM DefaultNoiseBackend STORE_NAME DefaultNoiseBackend POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ExperimentalNoiseBackend at 0x7fab823caf60, file "f.py", line 4> LOAD_CONST 'ExperimentalNoiseBackend' MAKE_FUNCTION LOAD_C...
from noise.backends.default import DefaultNoiseBackend class ExperimentalNoiseBackend(DefaultNoiseBackend): """ Contains all the default crypto methods, but also methods not directly endorsed by Noise Protocol specification """ pass
data/noiseprotocol-0.3.1/noise/backends/experimental/backend.py
190
67
56,347
LOAD_CONST 0 LOAD_CONST ('settings',) IMPORT_NAME django.conf IMPORT_FROM settings STORE_NAME settings POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 'franki' STORE_NAME __author__ LOAD_CONST 0 LOAD_CONST ('AppConfig',) IMPORT_NAME django.apps IMPORT_FROM AppConfig STORE_NAME AppConfi...
from django.conf import settings import sys __author__ = "franki" from django.apps import AppConfig class ImageConfig(AppConfig): name = "image" label = "image" verbose_name = "Image"
data/image-1.5.33/image/apps.py
201
67
54,481
LOAD_CONST <code object _safe_int at 0x7fab000a6e40, file "f.py", line 1> LOAD_CONST '_safe_int' MAKE_FUNCTION STORE_NAME _safe_int LOAD_CONST '0.0.1' STORE_NAME __version__ LOAD_NAME tuple LOAD_CONST <code object <genexpr> at 0x7fab000a6c00, file "f.py", line 9> LOAD_CONST '<genexpr>' MAKE_FUNCTION LOAD_NAME __versi...
def _safe_int(string): try: return int(string) except ValueError: return string __version__ = "0.0.1" VERSION = tuple(_safe_int(x) for x in __version__.split("."))
data/polygon-geohasher-0.0.1/polygon_geohasher/version.py
230
67
199,647
LOAD_CONST 'The projected Variational Quantum Dynamic (p-VQD) module.' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('PVQDResult',) IMPORT_NAME pvqd_result IMPORT_FROM PVQDResult STORE_NAME PVQDResult POP_TOP LOAD_CONST 1 LOAD_CONST ('PVQD',) IMPORT_NAME pvqd IMPORT_FROM PVQD STORE_NAME PVQD POP_TOP LOAD_CONST 'PVQD' ...
"""The projected Variational Quantum Dynamic (p-VQD) module.""" from .pvqd_result import PVQDResult from .pvqd import PVQD __all__ = ["PVQD", "PVQDResult"]
data/qiskit-terra-0.46.0/qiskit/algorithms/time_evolvers/pvqd/__init__.py
128
67
430,644
LOAD_CONST 0 LOAD_CONST ('UnlessTag',) IMPORT_NAME liquid.builtin.tags.unless_tag IMPORT_FROM UnlessTag STORE_NAME UnlessTag POP_TOP LOAD_CONST 0 LOAD_CONST ('Mode',) IMPORT_NAME liquid.mode IMPORT_FROM Mode STORE_NAME Mode POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object LaxUnlessTag at 0x7f8ab77c36f0, file "f.py", ...
from liquid.builtin.tags.unless_tag import UnlessTag from liquid.mode import Mode class LaxUnlessTag(UnlessTag): """An `unless` tag that is lax in its handling of extra expressions and blocks.""" mode = Mode.LAX
data/python_liquid-1.12.1/liquid/future/tags/_unless_tag.py
204
67
433,691
LOAD_CONST 0 LOAD_CONST ('CliRunner',) IMPORT_NAME click.testing IMPORT_FROM CliRunner STORE_NAME CliRunner POP_TOP LOAD_CONST 0 LOAD_CONST ('cli',) IMPORT_NAME mim.cli IMPORT_FROM cli STORE_NAME mim_cli POP_TOP LOAD_CONST <code object test_version at 0x7faad43c0030, file "f.py", line 6> LOAD_CONST 'test_version' MAK...
from click.testing import CliRunner from mim.cli import cli as mim_cli def test_version(): runner = CliRunner() result = runner.invoke(mim_cli, ["--version"]) assert result.exit_code == 0
data/openmim-0.3.9/tests/test_version.py
175
67
362,899
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME uuid STORE_NAME uuid LOAD_CONST 0 LOAD_CONST ('schemas',) IMPORT_NAME fastapi_users IMPORT_FROM schemas STORE_NAME schemas POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object UserRead at 0x7fab821a5c90, file "f.py", line 6> LOAD_CONST 'UserRead' MAKE_FUNCTION LOAD_CONST 'UserRead...
import uuid from fastapi_users import schemas class UserRead(schemas.BaseUser[uuid.UUID]): pass class UserCreate(schemas.BaseUserCreate): pass class UserUpdate(schemas.BaseUserUpdate): pass
data/fastapi_users-12.1.3/examples/sqlalchemy-oauth/app/schemas.py
339
67
109,493
LOAD_NAME str LOAD_NAME str LOAD_CONST ('first_name', 'last_name') BUILD_CONST_KEY_MAP LOAD_CONST <code object get_full_name at 0x7fab5434b4b0, file "f.py", line 1> LOAD_CONST 'get_full_name' MAKE_FUNCTION STORE_NAME get_full_name LOAD_NAME print LOAD_NAME get_full_name LOAD_CONST 'john' LOAD_CONST 'doe' CALL_FUNCTION...
def get_full_name(first_name: str, last_name: str): full_name = first_name.title() + " " + last_name.title() return full_name print(get_full_name("john", "doe"))
data/fastapi-0.109.2/docs_src/python_types/tutorial002.py
150
67
142,343
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST None IMPORT_NAME kernels STORE_NAME kernels LOAD_NAME pytest LOAD_ATTR mark LOAD_ATTR skip LOAD_CONST 'Unable to generate any tests for kernel' LOAD_CONST ('reason',) CALL_FUNCTION LOAD_CONST <code object test_pyawkward_reduce_c...
import pytest import kernels @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_pyawkward_reduce_count_64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-spec/test_pyawkward_reduce_count_64.py
180
67
220,535
LOAD_CONST 0 LOAD_CONST ('nodes',) IMPORT_NAME jinja2 IMPORT_FROM nodes STORE_NAME nodes POP_TOP LOAD_CONST 0 LOAD_CONST ('Extension',) IMPORT_NAME jinja2.ext IMPORT_FROM Extension STORE_NAME Extension POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TestExtension at 0x7fab82345030, file "f.py", line 5> LOAD_CONST 'T...
from jinja2 import nodes from jinja2.ext import Extension class TestExtension(Extension): tags = {"test_ext"} def parse(self, parser): return nodes.Const("This is test extension") # pragma: nocover
data/pyramid_jinja2-2.10.1/tests/extensions.py
221
67
18,022
LOAD_CONST '1.8.1' DUP_TOP STORE_NAME __version__ STORE_NAME version LOAD_NAME tuple LOAD_NAME map LOAD_CONST <code object <lambda> at 0x7f8e2ff256f0, file "f.py", line 3> LOAD_CONST '<lambda>' MAKE_FUNCTION LOAD_NAME enumerate LOAD_NAME __version__ LOAD_METHOD split LOAD_CONST '.' CALL_METHOD CALL_FUNCTION CALL_FUNC...
__version__ = version = "1.8.1" __version_tuple__ = version_tuple = tuple( map(lambda x: int(x[1]) if x[0] < 3 else x[1], enumerate(__version__.split("."))) )
data/setuptools-rust-1.8.1/setuptools_rust/version.py
161
67
118,522
LOAD_BUILD_CLASS LOAD_CONST <code object Yolov5TestConstants at 0x7fab5431e660, file "f.py", line 1> LOAD_CONST 'Yolov5TestConstants' MAKE_FUNCTION LOAD_CONST 'Yolov5TestConstants' CALL_FUNCTION STORE_NAME Yolov5TestConstants LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST 'Yolov5TestC...
class Yolov5TestConstants: YOLOV_MODEL_URL = ( "zoo:cv/detection/yolov5-s/pytorch/ultralytics/coco/pruned-aggressive_96" )
data/sahi-0.11.15/sahi/utils/sparseyolov5.py
161
67
415,860
LOAD_CONST '0.11.15' STORE_NAME __version__ LOAD_CONST 0 LOAD_CONST ('BoundingBox', 'Category', 'Mask') IMPORT_NAME sahi.annotation IMPORT_FROM BoundingBox STORE_NAME BoundingBox IMPORT_FROM Category STORE_NAME Category IMPORT_FROM Mask STORE_NAME Mask POP_TOP LOAD_CONST 0 LOAD_CONST ('AutoDetectionModel',) IMPORT_NA...
__version__ = "0.11.15" from sahi.annotation import BoundingBox, Category, Mask from sahi.auto_model import AutoDetectionModel from sahi.models.base import DetectionModel from sahi.prediction import ObjectPrediction
data/sahi-0.11.15/sahi/__init__.py
172
67
415,843
LOAD_NAME profile LOAD_CONST <code object test_unicode at 0x7faa74ae3c90, file "f.py", line 1> LOAD_CONST 'test_unicode' MAKE_FUNCTION CALL_FUNCTION STORE_NAME test_unicode LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME test_unicode LOAD_CONST 'ایست' CALL_FUNCTION POP_TOP LOAD_CONS...
@profile def test_unicode(txt): txt = txt.replace("ی", "ي") # Arabic Yah = ي return txt if __name__ == "__main__": test_unicode("ایست")
data/memory_profiler-0.61.0/test/test_unicode.py
127
67
249,409
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME uuid STORE_NAME uuid LOAD_CONST 0 LOAD_CONST ('schemas',) IMPORT_NAME fastapi_users IMPORT_FROM schemas STORE_NAME schemas POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object UserRead at 0x7fab820978a0, file "f.py", line 6> LOAD_CONST 'UserRead' MAKE_FUNCTION LOAD_CONST 'UserRead...
import uuid from fastapi_users import schemas class UserRead(schemas.BaseUser[uuid.UUID]): pass class UserCreate(schemas.BaseUserCreate): pass class UserUpdate(schemas.BaseUserUpdate): pass
data/fastapi_users-12.1.3/examples/sqlalchemy/app/schemas.py
339
67
109,503
LOAD_CONST 0 LOAD_CONST ('collect_dynamic_libs', 'collect_submodules') IMPORT_NAME PyInstaller.utils.hooks IMPORT_FROM collect_dynamic_libs STORE_NAME collect_dynamic_libs IMPORT_FROM collect_submodules STORE_NAME collect_submodules POP_TOP LOAD_NAME collect_dynamic_libs LOAD_CONST 'torchtext' CALL_FUNCTION STORE_NAME...
from PyInstaller.utils.hooks import collect_dynamic_libs, collect_submodules binaries = collect_dynamic_libs("torchtext") hiddenimports = collect_submodules("torchtext.lib") module_collection_mode = "pyz+py"
data/pyinstaller-hooks-contrib-2024.1/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-torchtext.py
122
67
282,086
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 SPOUserSessionRevocationResult at 0x7fab701acdb0, file "f.py", line 4> LOAD_CONST 'SPOUserSessionRevocationResult' MAKE_FUNCTION LOAD_CONST 'SPOUserSessionRe...
from office365.sharepoint.entity import Entity class SPOUserSessionRevocationResult(Entity): @property def entity_type_name(self): return "Microsoft.Online.SharePoint.TenantManagement.SPOUserSessionRevocationResult"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/tenant/management/externalusers/results/session_revocation.py
239
67
189,328
LOAD_CONST 'Pytest Fixtures.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('random_string', 'temp_dir') IMPORT_NAME conftest IMPORT_FROM random_string STORE_NAME random_string IMPORT_FROM temp_dir STORE_NAME temp_dir POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_NAME pytest LOAD_METHO...
"""Pytest Fixtures.""" from conftest import random_string, temp_dir # noqa import pytest @pytest.fixture() def DRIVER(): """Return name of the driver to be tested.""" return "openstack"
data/molecule-plugins-23.5.3/test/openstack/conftest.py
148
67
109,746
LOAD_CONST 'Unit tests.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('api',) IMPORT_NAME molecule IMPORT_FROM api STORE_NAME api POP_TOP LOAD_CONST <code object test_docker_driver_is_detected at 0x7fab821a5270, file "f.py", line 6> LOAD_CONST 'test_docker_driver_is_detected' MAKE_FUNCTION STORE_NAME test_docker_drive...
"""Unit tests.""" from molecule import api def test_docker_driver_is_detected(DRIVER): """Asserts that molecule recognizes the driver.""" assert DRIVER in [str(d) for d in api.drivers()]
data/molecule-plugins-23.5.3/test/docker/test_driver.py
236
67
109,757
LOAD_CONST '\nModule of metrics that measure the quality of detection results against true\nanomalies.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('f1_score', 'iou', 'precision', 'recall') IMPORT_NAME _metrics IMPORT_FROM f1_score STORE_NAME f1_score IMPORT_FROM iou STORE_NAME iou IMPORT_FROM precision STORE_NAME p...
""" Module of metrics that measure the quality of detection results against true anomalies. """ from ._metrics import f1_score, iou, precision, recall __all__ = ["recall", "precision", "f1_score", "iou"]
data/adtk-0.6.2/src/adtk/metrics/__init__.py
132
67
345,459
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_NAME typer LOAD_ATTR Argument LOAD_CONST Ellipsis LOAD_CONST 'The name of the user to greet' LOAD_CONST ('help',) CALL_FUNCTION BUILD_TUPLE LOAD_NAME str LOAD_CONST ('name',) BUILD_CONST_KEY_MAP LOAD_CONST <code object main at 0x7fab41d24270, file "f...
import typer def main(name: str = typer.Argument(..., help="The name of the user to greet")): print(f"Hello {name}") if __name__ == "__main__": typer.run(main)
data/typer-0.9.0/docs_src/arguments/help/tutorial001.py
166
67
224,554
LOAD_CONST 0 LOAD_CONST ('nodes',) IMPORT_NAME blockdiag.utils.rst IMPORT_FROM nodes STORE_NAME nodes POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME packetdiag.builder STORE_NAME packetdiag LOAD_CONST 0 LOAD_CONST None IMPORT_NAME packetdiag.drawer STORE_NAME packetdiag LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pac...
from blockdiag.utils.rst import nodes import packetdiag.builder import packetdiag.drawer import packetdiag.parser class packetdiag(nodes.blockdiag): name = "packetdiag" processor = packetdiag
data/nwdiag-3.0.0/src/packetdiag/utils/rst/nodes.py
215
67
288,118
LOAD_CONST 0 LOAD_CONST ('nodes',) IMPORT_NAME blockdiag.utils.rst IMPORT_FROM nodes STORE_NAME nodes POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME rackdiag.builder STORE_NAME rackdiag LOAD_CONST 0 LOAD_CONST None IMPORT_NAME rackdiag.drawer STORE_NAME rackdiag LOAD_CONST 0 LOAD_CONST None IMPORT_NAME rackdiag.pa...
from blockdiag.utils.rst import nodes import rackdiag.builder import rackdiag.drawer import rackdiag.parser class rackdiag(nodes.blockdiag): name = "rackdiag" processor = rackdiag
data/nwdiag-3.0.0/src/rackdiag/utils/rst/nodes.py
215
67
288,106
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME hist IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME interval IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME lupton_rgb IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME mpl_normalize IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME mpl_style IMPO...
from .hist import * from .interval import * from .lupton_rgb import * from .mpl_normalize import * from .mpl_style import * from .stretch import * from .time import * from .transform import * from .units import *
data/astropy-6.0.0/astropy/visualization/__init__.py
160
67
20,959
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Win32LobAppRestartBehavior at 0x7fab70027660, file "f.py", line 4> LOAD_CONST 'Win32LobAppRestartBehavior' MAKE_FUNCTION LOAD_CONST 'Win32LobAppRestartBehavior' LOAD_NAME str LOAD_NAME E...
from enum import Enum class Win32LobAppRestartBehavior(str, Enum): BasedOnReturnCode = ("basedOnReturnCode",) Allow = ("allow",) Suppress = ("suppress",) Force = ("force",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/win32_lob_app_restart_behavior.py
207
67
261,740
LOAD_CONST 0 LOAD_CONST ('List',) IMPORT_NAME typing IMPORT_FROM List STORE_NAME List POP_TOP LOAD_CONST 0 LOAD_CONST ('BaseModel',) IMPORT_NAME pydantic IMPORT_FROM BaseModel STORE_NAME BaseModel POP_TOP LOAD_CONST ('Category', 'CategoriesResult') STORE_NAME __all__ LOAD_BUILD_CLASS LOAD_CONST <code object Category...
from typing import List from pydantic import BaseModel __all__ = ("Category", "CategoriesResult") class Category(BaseModel): id: str category: str class CategoriesResult(BaseModel): categories: List[Category]
data/pornhub_api-0.3.0/pornhub_api/schemas/category.py
306
67
22,521
LOAD_CONST 0 LOAD_CONST ('GiModuleInfo',) IMPORT_NAME PyInstaller.utils.hooks.gi IMPORT_FROM GiModuleInfo STORE_NAME GiModuleInfo POP_TOP LOAD_NAME GiModuleInfo LOAD_CONST 'GstPlayer' LOAD_CONST '1.0' CALL_FUNCTION STORE_NAME module_info LOAD_NAME module_info LOAD_ATTR available POP_JUMP_IF_FALSE LOAD_NAME module_in...
from PyInstaller.utils.hooks.gi import GiModuleInfo module_info = GiModuleInfo("GstPlayer", "1.0") if module_info.available: binaries, datas, hiddenimports = module_info.collect_typelib_data()
data/pyinstaller-6.4.0/PyInstaller/hooks/hook-gi.repository.GstPlayer.py
111
67
185,131
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'DJANGO_SETTINGS_MODULE' LOAD_CONST 'tests.django_app.settings' CALL_METHOD POP_TOP LOAD_CONST 0 LOAD_CONST ('apps',) IMPORT_NAME django.apps IMPORT_FROM apps STORE_NAME apps POP_TOP LOAD_CONST ...
import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tests.django_app.settings") from django.apps import apps from django.conf import settings apps.populate(settings.INSTALLED_APPS)
data/mixer-7.2.2/tests/django_app/__init__.py
133
67
389,106
LOAD_CONST '\nPynamoDB Library\n^^^^^^^^^^^^^^^^\n\nA simple abstraction over DynamoDB\n\n' STORE_NAME __doc__ LOAD_CONST 'Jharrod LaFon' STORE_NAME __author__ LOAD_CONST 'MIT' STORE_NAME __license__ LOAD_CONST '6.0.0' STORE_NAME __version__ LOAD_CONST None RETURN_VALUE
""" PynamoDB Library ^^^^^^^^^^^^^^^^ A simple abstraction over DynamoDB """ __author__ = "Jharrod LaFon" __license__ = "MIT" __version__ = "6.0.0"
data/pynamodb-6.0.0/pynamodb/__init__.py
90
67
237,488
LOAD_CONST 0 LOAD_CONST ('GiModuleInfo',) IMPORT_NAME PyInstaller.utils.hooks.gi IMPORT_FROM GiModuleInfo STORE_NAME GiModuleInfo POP_TOP LOAD_NAME GiModuleInfo LOAD_CONST 'GstGL' LOAD_CONST '1.0' CALL_FUNCTION STORE_NAME module_info LOAD_NAME module_info LOAD_ATTR available POP_JUMP_IF_FALSE LOAD_NAME module_info L...
from PyInstaller.utils.hooks.gi import GiModuleInfo module_info = GiModuleInfo("GstGL", "1.0") if module_info.available: binaries, datas, hiddenimports = module_info.collect_typelib_data()
data/pyinstaller-6.4.0/PyInstaller/hooks/hook-gi.repository.GstGL.py
111
67
185,161
LOAD_CONST 0 LOAD_CONST ('GiModuleInfo',) IMPORT_NAME PyInstaller.utils.hooks.gi IMPORT_FROM GiModuleInfo STORE_NAME GiModuleInfo POP_TOP LOAD_NAME GiModuleInfo LOAD_CONST 'GstNet' LOAD_CONST '1.0' CALL_FUNCTION STORE_NAME module_info LOAD_NAME module_info LOAD_ATTR available POP_JUMP_IF_FALSE LOAD_NAME module_info ...
from PyInstaller.utils.hooks.gi import GiModuleInfo module_info = GiModuleInfo("GstNet", "1.0") if module_info.available: binaries, datas, hiddenimports = module_info.collect_typelib_data()
data/pyinstaller-6.4.0/PyInstaller/hooks/hook-gi.repository.GstNet.py
111
67
185,180
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 'home' LOAD_CONST 'cc_starter:templates/mytemplate.jinja2' LOAD_CONST ('route_name', 'renderer') CALL_FUNCTION LOAD_CONST <code object my_view at 0x7faa754c68a0, fil...
from pyramid.view import view_config @view_config(route_name="home", renderer="cc_starter:templates/mytemplate.jinja2") def my_view(request): return {"project": "cc_starter"}
data/pyramid-2.0.2/docs/quick_tutorial/cookiecutters/cc_starter/views/default.py
147
67
19,741
LOAD_CONST 'products = [\n { name = "Hammer", sku = 738594937 },\n {},\n { name = "Nail", sku = 284758393, color = "gray" },\n]\n' STORE_NAME DATA LOAD_CONST None RETURN_VALUE
DATA = """\ products = [ { name = "Hammer", sku = 738594937 }, {}, { name = "Nail", sku = 284758393, color = "gray" }, ] """
data/anyconfig-0.14.0/tests/res/1/dumpers/toml.tomllib/10/e/420_array_of_tables.json.py
72
67
390,753
LOAD_CONST 0 LOAD_CONST ('translator', 'TranslationOptions') IMPORT_NAME modeltranslation.translator IMPORT_FROM translator STORE_NAME translator IMPORT_FROM TranslationOptions STORE_NAME TranslationOptions POP_TOP LOAD_CONST 1 LOAD_CONST ('ModeltranslationOne',) IMPORT_NAME models IMPORT_FROM ModeltranslationOne STOR...
from modeltranslation.translator import translator, TranslationOptions from .models import ModeltranslationOne class ModeltranslationOneTranslation(TranslationOptions): fields = ("title", "description") translator.register(ModeltranslationOne, ModeltranslationOneTranslation)
data/django-autoslug-1.9.9/autoslug/tests/translations.py
216
67
384,646
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME sys LOAD_ATTR platform LOAD_CONST 'darwin' COMPARE_OP != POP_JUMP_IF_FALSE LOAD_CONST '_osx_support' BUILD_LIST STORE_NAME excludedimports SETUP_EXCEPT to 48 LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sysconfig STORE_NAME sysconfig LOAD_NAME sysco...
import sys if sys.platform != "darwin": excludedimports = ["_osx_support"] try: import sysconfig hiddenimports = [sysconfig._get_sysconfigdata_name()] except AttributeError: pass
data/pyinstaller-6.4.0/PyInstaller/hooks/hook-sysconfig.py
139
67
185,225
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 JobEntityData at 0x7fadb5811c00, file "f.py", line 4> LOAD_CONST 'JobEntityData' MAKE_FUNCTION LOAD_CONST 'JobEntityData' LOAD_NAME Entity CALL_FUNCTION STOR...
from office365.sharepoint.entity import Entity class JobEntityData(Entity): """""" @property def entity_type_name(self): return "Microsoft.Online.SharePoint.Onboarding.RestService.JobEntityData"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/onboarding/job_entity_data.py
226
67
189,413
LOAD_CONST 0 LOAD_CONST ('unicode_literals',) IMPORT_NAME __future__ IMPORT_FROM unicode_literals STORE_NAME unicode_literals POP_TOP LOAD_CONST 0 LOAD_CONST ('AppConfig',) IMPORT_NAME django.apps IMPORT_FROM AppConfig STORE_NAME AppConfig POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object CustomersConfig at 0x7fab7030...
from __future__ import unicode_literals from django.apps import AppConfig class CustomersConfig(AppConfig): name = "customers" verbose_name = "Customers" def ready(self): import customers.handlers
data/django-tenants-3.6.1/examples/tenant_tutorial/customers/apps.py
254
67
224,932
LOAD_CONST 'This module contains the entry point for the image.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('trainer',) IMPORT_NAME sagemaker_training IMPORT_FROM trainer STORE_NAME trainer POP_TOP LOAD_CONST <code object main at 0x7fadb5811c00, file "f.py", line 5> LOAD_CONST 'main' MAKE_FUNCTION STORE_NAME main L...
"""This module contains the entry point for the image.""" from sagemaker_training import trainer def main(): """Calls the function that runs training in the container.""" trainer.train() if __name__ == "__main__": main()
data/sagemaker_training-4.7.4/src/sagemaker_training/cli/train.py
138
67
127,620
LOAD_CONST 0 LOAD_CONST ('ReportBase',) IMPORT_NAME office365.sharepoint.search.reports.base IMPORT_FROM ReportBase STORE_NAME ReportBase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ReportTopQueries at 0x7fab7002b9c0, file "f.py", line 4> LOAD_CONST 'ReportTopQueries' MAKE_FUNCTION LOAD_CONST 'ReportTopQueries' L...
from office365.sharepoint.search.reports.base import ReportBase class ReportTopQueries(ReportBase): @property def entity_type_name(self): return "Microsoft.Office.Server.Search.REST.ReportTopQueries"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/search/reports/top_queries.py
227
67
189,467
LOAD_CONST '!\n\n@brief Collection of examples devoted to clustering algorithms and methods.\n\n@authors Andrei Novikov (pyclustering@yandex.ru)\n@date 2014-2020\n@copyright BSD-3-Clause\n\n' STORE_NAME __doc__ LOAD_CONST None RETURN_VALUE
"""! @brief Collection of examples devoted to clustering algorithms and methods. @authors Andrei Novikov (pyclustering@yandex.ru) @date 2014-2020 @copyright BSD-3-Clause """
data/pyclustering-0.10.1.2/pyclustering/cluster/examples/__init__.py
82
67
23,117
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object EdgeCookiePolicy at 0x7fab4298e5d0, file "f.py", line 4> LOAD_CONST 'EdgeCookiePolicy' MAKE_FUNCTION LOAD_CONST 'EdgeCookiePolicy' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_NAME E...
from enum import Enum class EdgeCookiePolicy(str, Enum): UserDefined = ("userDefined",) Allow = ("allow",) BlockThirdParty = ("blockThirdParty",) BlockAll = ("blockAll",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/edge_cookie_policy.py
183
67
260,043
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object WindowsMalwareExecutionState at 0x7fab4298ed20, file "f.py", line 4> LOAD_CONST 'WindowsMalwareExecutionState' MAKE_FUNCTION LOAD_CONST 'WindowsMalwareExecutionState' LOAD_NAME str LOAD_...
from enum import Enum class WindowsMalwareExecutionState(str, Enum): Unknown = ("unknown",) Blocked = ("blocked",) Allowed = ("allowed",) Running = ("running",) NotRunning = ("notRunning",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/windows_malware_execution_state.py
188
67
260,056
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRunBinaryComparison',) IMPORT_NAME onnx.reference.ops._op IMPORT_FROM OpRunBinaryComparison STORE_NAME OpRunBinaryComparison POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Greater at 0x7f8ece8a8030, file "f.py", line 6> LOAD_CO...
import numpy as np from onnx.reference.ops._op import OpRunBinaryComparison class Greater(OpRunBinaryComparison): def _run(self, a, b): # type: ignore return (np.greater(a, b),)
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_greater.py
215
67
114,203
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object CalendarSharingAction at 0x7fab4298ed20, file "f.py", line 4> LOAD_CONST 'CalendarSharingAction' MAKE_FUNCTION LOAD_CONST 'CalendarSharingAction' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTI...
from enum import Enum class CalendarSharingAction(str, Enum): Accept = ("accept",) AcceptAndViewCalendar = ("acceptAndViewCalendar",) ViewCalendar = ("viewCalendar",) AddThisCalendar = ("addThisCalendar",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/calendar_sharing_action.py
182
67
260,289
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ClonableTeamParts at 0x7fab4298eed0, file "f.py", line 4> LOAD_CONST 'ClonableTeamParts' MAKE_FUNCTION LOAD_CONST 'ClonableTeamParts' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_NAM...
from enum import Enum class ClonableTeamParts(str, Enum): Apps = ("apps",) Tabs = ("tabs",) Settings = ("settings",) Channels = ("channels",) Members = ("members",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/clonable_team_parts.py
191
67
260,298
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_NAME typer LOAD_METHOD Option LOAD_CONST Ellipsis LOAD_CONST '--name' LOAD_CONST '-n' CALL_METHOD BUILD_TUPLE LOAD_NAME str LOAD_CONST ('user_name',) BUILD_CONST_KEY_MAP LOAD_CONST <code object main at 0x7fab641f2db0, file "f.py", line 4> LOAD_CONST ...
import typer def main(user_name: str = typer.Option(..., "--name", "-n")): print(f"Hello {user_name}") if __name__ == "__main__": typer.run(main)
data/typer-0.9.0/docs_src/options/name/tutorial002.py
162
67
224,431
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Status at 0x7fab820f49c0, file "f.py", line 4> LOAD_CONST 'Status' MAKE_FUNCTION LOAD_CONST 'Status' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_NAME Status LOAD_CONST None RETURN_V...
from enum import Enum class Status(str, Enum): Active = ("active",) Updated = ("updated",) Deleted = ("deleted",) Ignored = ("ignored",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/status.py
173
67
260,432
LOAD_CONST "\nPrint all modules exporting the entry point 'pytest11'.\n" STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pkg_resources STORE_NAME pkg_resources LOAD_NAME sorted LOAD_CONST <code object <genexpr> at 0x7fab701acae0, file "f.py", line 7> LOAD_CONST '<genexpr>' MAKE_FUNCTION LOAD_NAME pkg_reso...
""" Print all modules exporting the entry point 'pytest11'. """ import pkg_resources plugins = sorted(i.module_name for i in pkg_resources.iter_entry_points("pytest11")) print("\n".join(plugins))
data/pyinstaller-6.4.0/tests/functional/scripts/list_pytest11_entry_point.py
184
67
184,842
LOAD_CONST 0 LOAD_CONST ('view_config',) IMPORT_NAME pyramid.view IMPORT_FROM view_config STORE_NAME view_config POP_TOP LOAD_CONST 2 LOAD_CONST ('MyModel',) IMPORT_NAME models IMPORT_FROM MyModel STORE_NAME MyModel POP_TOP LOAD_NAME view_config LOAD_NAME MyModel LOAD_CONST 'tutorial:templates/mytemplate.pt' LOAD_CON...
from pyramid.view import view_config from ..models import MyModel @view_config(context=MyModel, renderer="tutorial:templates/mytemplate.pt") def my_view(request): return {"project": "myproj"}
data/pyramid-2.0.2/docs/tutorials/wiki/src/basiclayout/tutorial/views/default.py
163
67
19,917
SETUP_EXCEPT to 28 LOAD_CONST 0 LOAD_CONST ('VERSION',) IMPORT_NAME pydantic.version IMPORT_FROM VERSION STORE_NAME PYDANTIC_VERSION POP_TOP LOAD_NAME PYDANTIC_VERSION LOAD_METHOD startswith LOAD_CONST '2.' CALL_METHOD STORE_NAME PYDANTIC_V2 POP_BLOCK JUMP_FORWARD to 52 DUP_TOP LOAD_NAME ImportError COMPARE_OP excep...
try: from pydantic.version import VERSION as PYDANTIC_VERSION PYDANTIC_V2 = PYDANTIC_VERSION.startswith("2.") except ImportError: PYDANTIC_V2 = False
data/aws_lambda_powertools-2.34.0/aws_lambda_powertools/event_handler/openapi/pydantic_loader.py
128
67
359,705
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object PayloadComplexity at 0x7fab70027420, file "f.py", line 4> LOAD_CONST 'PayloadComplexity' MAKE_FUNCTION LOAD_CONST 'PayloadComplexity' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_NAM...
from enum import Enum class PayloadComplexity(str, Enum): Unknown = ("unknown",) Low = ("low",) Medium = ("medium",) High = ("high",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/payload_complexity.py
189
67
260,472
LOAD_CONST 'A dummy custom rule module #2.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('AnsibleLintRule',) IMPORT_NAME ansiblelint.rules IMPORT_FROM AnsibleLintRule STORE_NAME AnsibleLintRule POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ExampleComRule at 0x7fab425c3db0, file "f.py", line 6> LOAD_CONST 'ExampleCo...
"""A dummy custom rule module #2.""" from ansiblelint.rules import AnsibleLintRule class ExampleComRule(AnsibleLintRule): """A dummy custom rule class.""" id = "100002"
data/ansible-lint-24.2.0/test/custom_rules/example_com/example_com_rule.py
191
67
290,569
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 VideoSubscriberAccount STORE_NAME VideoSubscriberAccount LOAD_BUILD_CLASS LOAD_CONST <code object TestCallableMetadata at 0x7fab41ed0ae0, file "f.py", lin...
from PyObjCTools.TestSupport import TestCase import VideoSubscriberAccount class TestCallableMetadata(TestCase): def test_callable_metadata_is_sane(self): self.assertCallableMetadataIsSane(VideoSubscriberAccount)
data/pyobjc-framework-VideoSubscriberAccount-10.1/PyObjCTest/test_videosubscriberaccount.py
257
67
80,535
LOAD_CONST 0 LOAD_CONST ('nla',) IMPORT_NAME pr2modules.netlink IMPORT_FROM nla STORE_NAME nla POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object vrf at 0x7fab700db150, file "f.py", line 4> LOAD_CONST 'vrf' MAKE_FUNCTION LOAD_CONST 'vrf' LOAD_NAME nla CALL_FUNCTION STORE_NAME vrf LOAD_CONST None RETURN_VALUE LOAD_NAME ...
from pr2modules.netlink import nla class vrf(nla): prefix = "IFLA_" nla_map = (("IFLA_VRF_UNSPEC", "none"), ("IFLA_VRF_TABLE", "uint32"))
data/pyroute2.core-0.6.13/pr2modules/netlink/rtnl/ifinfmsg/plugins/vrf.py
171
67
220,221
LOAD_CONST 0 LOAD_CONST ('notfound_view_config',) IMPORT_NAME pyramid.view IMPORT_FROM notfound_view_config STORE_NAME notfound_view_config POP_TOP LOAD_NAME notfound_view_config LOAD_CONST 'tutorial:templates/404.pt' LOAD_CONST ('renderer',) CALL_FUNCTION LOAD_CONST <code object notfound_view at 0x7faa74756e40, file ...
from pyramid.view import notfound_view_config @notfound_view_config(renderer="tutorial:templates/404.pt") def notfound_view(request): request.response.status = 404 return {}
data/pyramid-2.0.2/docs/tutorials/wiki/src/basiclayout/tutorial/views/notfound.py
153
67
19,916
LOAD_CONST 0 LOAD_CONST ('nla',) IMPORT_NAME pr2modules.netlink IMPORT_FROM nla STORE_NAME nla POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object team at 0x7fab700db150, file "f.py", line 4> LOAD_CONST 'team' MAKE_FUNCTION LOAD_CONST 'team' LOAD_NAME nla CALL_FUNCTION STORE_NAME team LOAD_CONST None RETURN_VALUE LOAD_N...
from pr2modules.netlink import nla class team(nla): prefix = "IFLA_" nla_map = (("IFLA_TEAM_UNSPEC", "none"), ("IFLA_TEAM_CONFIG", "asciiz"))
data/pyroute2.core-0.6.13/pr2modules/netlink/rtnl/ifinfmsg/plugins/team.py
166
67
220,223
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 RecentAndJoinedTeamsResponse at 0x7fab640fa930, file "f.py", line 4> LOAD_CONST 'RecentAndJoinedTeamsResponse' MAKE_FUNCTION LOAD_CONST 'Re...
from office365.runtime.client_value import ClientValue class RecentAndJoinedTeamsResponse(ClientValue): @property def entity_type_name(self): return "Microsoft.SharePoint.Portal.RecentAndJoinedTeamsResponse"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/portal/teams/recent_and_joined_response.py
242
67
189,560
LOAD_CONST 'Exception types for safety related error.' STORE_NAME __doc__ LOAD_BUILD_CLASS LOAD_CONST <code object SafetyError at 0x7fab81f3b030, file "f.py", line 4> LOAD_CONST 'SafetyError' MAKE_FUNCTION LOAD_CONST 'SafetyError' LOAD_NAME Exception CALL_FUNCTION STORE_NAME SafetyError LOAD_BUILD_CLASS LOAD_CONST <c...
"""Exception types for safety related error.""" class SafetyError(Exception): """The base safety exception.""" pass class OutOfBoundError(SafetyError): """Rasied when values like motor position or velocity is out of bound.""" pass
data/pybullet-3.2.6/examples/pybullet/gym/pybullet_envs/minitaur/robots/safety/safety_error.py
250
67
128,444
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BookingReminderRecipients at 0x7fab70120270, file "f.py", line 4> LOAD_CONST 'BookingReminderRecipients' MAKE_FUNCTION LOAD_CONST 'BookingReminderRecipients' LOAD_NAME str LOAD_NAME Enum...
from enum import Enum class BookingReminderRecipients(str, Enum): AllAttendees = ("allAttendees",) Staff = ("staff",) Customer = ("customer",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/booking_reminder_recipients.py
195
67
260,697
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object WindowsStartMenuAppListVisibilityType at 0x7fab4298e5d0, file "f.py", line 4> LOAD_CONST 'WindowsStartMenuAppListVisibilityType' MAKE_FUNCTION LOAD_CONST 'WindowsStartMenuAppListVisibili...
from enum import Enum class WindowsStartMenuAppListVisibilityType(str, Enum): UserDefined = ("userDefined",) Collapse = ("collapse",) Remove = ("remove",) DisableSettingsApp = ("disableSettingsApp",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/windows_start_menu_app_list_visibility_type.py
199
67
260,729
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_NAME str LOAD_CONST ('name',) BUILD_CONST_KEY_MAP LOAD_CONST <code object main at 0x7fab641e7030, file "f.py", line 4> LOAD_CONST 'main' MAKE_FUNCTION STORE_NAME main LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAM...
import typer def main(name: str): typer.secho(f"Welcome here {name}", fg=typer.colors.MAGENTA) if __name__ == "__main__": typer.run(main)
data/typer-0.9.0/docs_src/printing/tutorial006.py
157
67
224,468
LOAD_CONST 1 LOAD_CONST ('BaseObject',) IMPORT_NAME base_object IMPORT_FROM BaseObject STORE_NAME BaseObject POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object CollaborationAllowlistExemptTarget at 0x7fab82258d20, file "f.py", line 4> LOAD_CONST 'CollaborationAllowlistExemptTarget' MAKE_FUNCTION LOAD_CONST 'Collaboratio...
from .base_object import BaseObject class CollaborationAllowlistExemptTarget(BaseObject): """Represents a user who is exempted from the collaboration allowlist.""" _item_type = "collaboration_whitelist_exempt_target"
data/boxsdk-3.9.2/boxsdk/object/collaboration_allowlist_exempt_target.py
197
67
231,007
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BucketAggregationSortProperty at 0x7fab70027420, file "f.py", line 4> LOAD_CONST 'BucketAggregationSortProperty' MAKE_FUNCTION LOAD_CONST 'BucketAggregationSortProperty' LOAD_NAME str LO...
from enum import Enum class BucketAggregationSortProperty(str, Enum): Count = ("count",) KeyAsString = ("keyAsString",) KeyAsNumber = ("keyAsNumber",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/bucket_aggregation_sort_property.py
191
67
261,088
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST (0.1,) LOAD_CONST <code object obj_fun at 0x7faaac2dc420, file "f.py", line 4> LOAD_CONST 'obj_fun' MAKE_FUNCTION STORE_NAME obj_fun LOAD_CONST None RETURN_VALUE LOAD_GLOBAL np LOAD_METHOD sin LOAD_CONST 5 LOAD_FAST x LOAD_CONST 0 BINARY_SUBSCR B...
import numpy as np def obj_fun(x, noise_level=0.1): return np.sin(5 * x[0]) * (1 - np.tanh(x[0] ** 2)) + np.random.randn() * noise_level
data/scikit-optimize-0.9.0/examples/utils.py
153
67
81,353
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 SiteContentProcessingInfoProvider at 0x7fab82236930, file "f.py", line 4> LOAD_CONST 'SiteContentProcessingInfoProvider' MAKE_FUNCTION LOAD_CONST 'SiteConten...
from office365.sharepoint.entity import Entity class SiteContentProcessingInfoProvider(Entity): @property def entity_type_name(self): return "Microsoft.SharePoint.Client.Search.Administration.SiteContentProcessingInfoProvider"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/search/administration/site_content_processing_info_provider.py
237
67
189,488
LOAD_CONST 0 LOAD_CONST ('download_raw_files',) IMPORT_NAME opendatasets.utils IMPORT_FROM download_raw_files STORE_NAME download_raw_files POP_TOP LOAD_CONST <code object download at 0x7f8e2fe58930, file "f.py", line 4> LOAD_CONST 'download' MAKE_FUNCTION STORE_NAME download LOAD_CONST None RETURN_VALUE LOAD_GLOBAL ...
from opendatasets.utils import download_raw_files def download(dataset_id, data_dir, dry_run, **kwargs): download_raw_files(dataset_id, data_dir, dry_run, ["countries-languages.csv"])
data/opendatasets-0.1.22/opendatasets/datasets/countries-languages-spoken/__init__.py
132
67
405,148
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 1 LOAD_CONST ('mini_toolbox',) IMPORT_NAME IMPORT_FROM mini_toolbox STORE_NAME mini_toolbox POP_TOP LOAD_CONST <code object test_output_capturer_doesnt_swallow_exceptions at 0x7f8a3d6198a0, file "f.py", line 6> LOAD_CONST 'test_output_captur...
import pytest from . import mini_toolbox def test_output_capturer_doesnt_swallow_exceptions(): with pytest.raises(ZeroDivisionError): with mini_toolbox.OutputCapturer(): 1 / 0
data/PySnooper-1.2.0/tests/test_mini_toolbox.py
225
67
334,970
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 CryptoTokenKit STORE_NAME CryptoTokenKit LOAD_BUILD_CLASS LOAD_CONST <code object TestCallableMetadata at 0x7fa6eee90ae0, file "f.py", line 6> LOAD_CONST ...
from PyObjCTools.TestSupport import TestCase import CryptoTokenKit class TestCallableMetadata(TestCase): def test_callable_metadata_is_sane(self): self.assertCallableMetadataIsSane(CryptoTokenKit)
data/pyobjc-framework-CryptoTokenKit-10.1/PyObjCTest/test_cryptotokenkit.py
258
67
47,867
LOAD_CONST 'rlu_atari_checkpoints_ordered dataset.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('RluAtariCheckpointsOrdered',) IMPORT_NAME tensorflow_datasets.rl_unplugged.rlu_atari_checkpoints_ordered.rlu_atari_checkpoints_ordered IMPORT_FROM RluAtariCheckpointsOrdered STORE_NAME RluAtariCheckpointsOrdered POP_TOP LO...
"""rlu_atari_checkpoints_ordered dataset.""" from tensorflow_datasets.rl_unplugged.rlu_atari_checkpoints_ordered.rlu_atari_checkpoints_ordered import ( RluAtariCheckpointsOrdered, )
data/tfds-nightly-4.9.4.dev202402210044/tensorflow_datasets/rl_unplugged/rlu_atari_checkpoints_ordered/__init__.py
101
67
238,162
LOAD_CONST 0 LOAD_CONST ('collect_dynamic_libs', 'collect_submodules') IMPORT_NAME PyInstaller.utils.hooks IMPORT_FROM collect_dynamic_libs STORE_NAME collect_dynamic_libs IMPORT_FROM collect_submodules STORE_NAME collect_submodules POP_TOP LOAD_NAME collect_dynamic_libs LOAD_CONST 'torchaudio' CALL_FUNCTION STORE_NAM...
from PyInstaller.utils.hooks import collect_dynamic_libs, collect_submodules binaries = collect_dynamic_libs("torchaudio") hiddenimports = collect_submodules("torchaudio.lib") module_collection_mode = "pyz+py"
data/pyinstaller-hooks-contrib-2024.1/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-torchaudio.py
122
67
282,196
LOAD_CONST 0 LOAD_CONST ('_proxy',) IMPORT_NAME openstack.object_store.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 ObjectStoreServi...
from openstack.object_store.v1 import _proxy from openstack import service_description class ObjectStoreService(service_description.ServiceDescription): """The object store service.""" supported_versions = { "1": _proxy.Proxy, }
data/openstacksdk-2.1.0/openstack/object_store/object_store_service.py
198
67
284,627
LOAD_CONST 0 LOAD_CONST ('_proxy',) IMPORT_NAME openstack.key_manager.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 KeyManagerService...
from openstack.key_manager.v1 import _proxy from openstack import service_description class KeyManagerService(service_description.ServiceDescription): """The key manager service.""" supported_versions = { "1": _proxy.Proxy, }
data/openstacksdk-2.1.0/openstack/key_manager/key_manager_service.py
199
67
284,573
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typing STORE_NAME typing LOAD_CONST <code object theme at 0x7fab82334ae0, file "f.py", line 4> LOAD_CONST 'theme' MAKE_FUNCTION STORE_NAME theme LOAD_CONST <code object isDark at 0x7fab40da19c0, file "f.py", line 8> LOAD_CONST 'isDark' MAKE_FUNCTION STORE_NAME isDark LOAD_CON...
import typing def theme(): return None def isDark(): return None def isLight(): return None def listener(callback: typing.Callable[[str], None]) -> None: raise NotImplementedError()
data/darkdetect-0.8.0/darkdetect/_dummy.py
264
67
392,912
LOAD_CONST 0 LOAD_CONST ('setup', 'find_packages') IMPORT_NAME setuptools IMPORT_FROM setup STORE_NAME setup IMPORT_FROM find_packages STORE_NAME find_packages POP_TOP LOAD_CONST <code object setup_package at 0x7fab42231030, file "f.py", line 4> LOAD_CONST 'setup_package' MAKE_FUNCTION STORE_NAME setup_package LOAD_N...
from setuptools import setup, find_packages def setup_package(): setup( name="spacy-curated-transformers", packages=find_packages(), ) if __name__ == "__main__": setup_package()
data/spacy-curated-transformers-0.2.2/setup.py
160
67
344,114
LOAD_CONST 'Metrics to assess performance of segmentation task.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('count_error', 'hausdorff_error', 'prediction_ratio') IMPORT_NAME sktime.performance_metrics.annotation.metrics IMPORT_FROM count_error STORE_NAME count_error IMPORT_FROM hausdorff_error STORE_NAME hausdorff_er...
"""Metrics to assess performance of segmentation task.""" from sktime.performance_metrics.annotation.metrics import ( # noqa count_error, hausdorff_error, prediction_ratio, ) __author__ = ["lmmentel"]
data/sktime-0.26.0/sktime/performance_metrics/annotation/__init__.py
113
67
65,645
LOAD_CONST '\nCoralogix Logger handlers package\nAuthor: Coralogix Ltd.\nEmail: info@coralogix.com\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('CoralogixLogger',) IMPORT_NAME coralogix IMPORT_FROM CoralogixLogger STORE_NAME CoralogixLogger POP_TOP LOAD_CONST 1 LOAD_CONST ('DebugLogger',) IMPORT_NAME debug IMPORT_F...
""" Coralogix Logger handlers package Author: Coralogix Ltd. Email: info@coralogix.com """ from .coralogix import CoralogixLogger from .debug import DebugLogger __all__ = ["CoralogixLogger", "DebugLogger"]
data/coralogix_logger-2.0.6/coralogix/handlers/__init__.py
124
67
174,492
LOAD_CONST 'Lists of datasets provided in this directory.' STORE_NAME __doc__ LOAD_CONST 'ACSF1' LOAD_CONST 'ArrowHead' LOAD_CONST 'BasicMotions' LOAD_CONST 'ItalyPowerDemand' LOAD_CONST 'OSULeaf' LOAD_CONST 'PLAID' BUILD_LIST STORE_NAME classification_data LOAD_CONST None RETURN_VALUE
"""Lists of datasets provided in this directory.""" classification_data = [ "ACSF1", "ArrowHead", "BasicMotions", "ItalyPowerDemand", "OSULeaf", "PLAID", ]
data/sktime-0.26.0/sktime/datasets/data/dataset_lists.py
80
67
65,668
LOAD_CONST 'Constants for the Spider integration.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Platform',) IMPORT_NAME homeassistant.const IMPORT_FROM Platform STORE_NAME Platform POP_TOP LOAD_CONST 'spider' STORE_NAME DOMAIN LOAD_CONST 300 STORE_NAME DEFAULT_SCAN_INTERVAL LOAD_NAME Platform LOAD_ATTR CLIMATE LOAD...
"""Constants for the Spider integration.""" from homeassistant.const import Platform DOMAIN = "spider" DEFAULT_SCAN_INTERVAL = 300 PLATFORMS = [Platform.CLIMATE, Platform.SENSOR, Platform.SWITCH]
data/homeassistant-2024.2.2/homeassistant/components/spider/const.py
106
67
406,785
LOAD_CONST 'ntriples_parser' LOAD_CONST 'nquads_parser' LOAD_CONST 'turtle_parser' LOAD_CONST 'jsonld_parser' BUILD_LIST STORE_NAME __all__ LOAD_CONST 1 LOAD_CONST ('jsonld_parser',) IMPORT_NAME jsonld IMPORT_FROM jsonld_parser STORE_NAME jsonld_parser POP_TOP LOAD_CONST 1 LOAD_CONST ('nquads_parser', 'ntriples_parse...
__all__ = ["ntriples_parser", "nquads_parser", "turtle_parser", "jsonld_parser"] from .jsonld import jsonld_parser from .lark import nquads_parser, ntriples_parser, turtle_parser
data/pymantic-1.0.0/src/pymantic/parsers/__init__.py
155
67
167,547
LOAD_CONST 0 LOAD_CONST ('allowlist',) IMPORT_NAME disposable_email_domains IMPORT_FROM allowlist STORE_NAME allowlist POP_TOP LOAD_CONST <code object test_allowlist_inclusion at 0x7fab80248810, file "f.py", line 4> LOAD_CONST 'test_allowlist_inclusion' MAKE_FUNCTION STORE_NAME test_allowlist_inclusion LOAD_CONST <co...
from disposable_email_domains import allowlist def test_allowlist_inclusion(): assert "spamcannon.com" in allowlist def test_allowlist_exclusion(): assert "spamcowboy.com" not in allowlist
data/disposable-email-domains-0.0.96/tests/test_allowlist.py
223
67
223,121
LOAD_CONST 1 LOAD_CONST ('LagTSTModel',) IMPORT_NAME module IMPORT_FROM LagTSTModel STORE_NAME LagTSTModel POP_TOP LOAD_CONST 1 LOAD_CONST ('LagTSTLightningModule',) IMPORT_NAME lightning_module IMPORT_FROM LagTSTLightningModule STORE_NAME LagTSTLightningModule POP_TOP LOAD_CONST 1 LOAD_CONST ('LagTSTEstimator',) IMP...
from .module import LagTSTModel from .lightning_module import LagTSTLightningModule from .estimator import LagTSTEstimator __all__ = ["LagTSTModel", "LagTSTLightningModule", "LagTSTEstimator"]
data/gluonts-0.14.4/src/gluonts/torch/model/lag_tst/__init__.py
153
67
140,292
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME klayout.db IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME klayout.lib IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME klayout.tl IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME klayout.rdb IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME klayout...
from klayout.db import * # noqa from klayout.lib import * # noqa from klayout.tl import * # noqa from klayout.rdb import * # noqa from klayout.lay import * # noqa
data/klayout-0.28.17/src/pymod/distutils_src/pya/__init__.py
100
67
46,919
LOAD_CONST 0 LOAD_CONST ('blocklist',) IMPORT_NAME disposable_email_domains IMPORT_FROM blocklist STORE_NAME blocklist POP_TOP LOAD_CONST <code object test_blocklist_inclusion at 0x7fab80248810, file "f.py", line 4> LOAD_CONST 'test_blocklist_inclusion' MAKE_FUNCTION STORE_NAME test_blocklist_inclusion LOAD_CONST <co...
from disposable_email_domains import blocklist def test_blocklist_inclusion(): assert "spamcowboy.com" in blocklist def test_blocklist_exclusion(): assert "spamcannon.com" not in blocklist
data/disposable-email-domains-0.0.96/tests/test_blocklist.py
223
67
223,120
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_CONST 'ParameterType' BUILD_LIST STORE_NAME __all__ LOAD_BUILD_CLASS LOAD_CONST <code object ParameterType at 0x7fab703064b0, file "f.py", line 8> LOAD_CONST 'ParameterType' MAKE_FUNCTION LOAD_CONST 'ParameterType' LOAD_N...
from enum import Enum __all__ = [ "ParameterType", ] class ParameterType(str, Enum): STRING = "String" STRING_LIST = "StringList" SECURE_STRING = "SecureString"
data/pulumi_aws-6.22.2/pulumi_aws/ssm/_enums.py
173
67
226,006
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME semantic_release.version.declaration IMPORT_FROM version ROT_TWO POP_TOP IMPORT_FROM declaration STORE_NAME declaration POP_TOP LOAD_CONST 0 LOAD_CONST ('next_version', 'tags_and_versions') IMPORT_NAME semantic_release.version.algorithm IMPORT_FROM next_version STORE_NAME next_...
import semantic_release.version.declaration as declaration from semantic_release.version.algorithm import ( next_version, tags_and_versions, ) from semantic_release.version.translator import VersionTranslator from semantic_release.version.version import Version
data/python-semantic-release-9.1.0/semantic_release/version/__init__.py
158
67
143,578
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME Security STORE_NAME Security LOAD_CONST 0 LOAD_CONST ('TestCase',) IMPORT_NAME PyObjCTools.TestSupport IMPORT_FROM TestCase STORE_NAME TestCase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TestCSSMCLI at 0x7f8ab62f5930, file "f.py", line 5> LOAD_CONST 'TestCSSMCLI' MAKE_FU...
import Security from PyObjCTools.TestSupport import TestCase class TestCSSMCLI(TestCase): def test_unsuppported(self): self.assertFalse(hasattr(Security, "CSSM_SPI_CL_FUNCS"))
data/pyobjc-framework-Security-10.1/PyObjCTest/test_cssmcli.py
265
67
335,639
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME Security STORE_NAME Security LOAD_CONST 0 LOAD_CONST ('TestCase',) IMPORT_NAME PyObjCTools.TestSupport IMPORT_FROM TestCase STORE_NAME TestCase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Testcssmcspi at 0x7f8af13ad030, file "f.py", line 5> LOAD_CONST 'Testcssmcspi' MAKE_...
import Security from PyObjCTools.TestSupport import TestCase class Testcssmcspi(TestCase): def test_unsuppported(self): self.assertFalse(hasattr(Security, "CSSM_SPI_CSP_FUNCS"))
data/pyobjc-framework-Security-10.1/PyObjCTest/test_cssmcspi.py
258
67
335,666
LOAD_BUILD_CLASS LOAD_CONST <code object C at 0x7fab703f71e0, file "f.py", line 1> LOAD_CONST 'C' MAKE_FUNCTION LOAD_CONST 'C' CALL_FUNCTION STORE_NAME C LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST 'C' STORE_NAME __qualname__ LOAD_CONST <code object f at 0x7fab703f7780, file "f.py...
class C: def f(self, x): pass def g(self): def f( x, ): # gets ignored by pytype but fixer sees it, generates warning (FIXME?) return 1 return f
data/pytype-2024.2.13/pytype/tools/merge_pyi/test_data/scope.py
244
67
353,319
LOAD_CONST 'ThreadPool' LOAD_CONST 'ProcessPool' LOAD_CONST 'MapFuture' LOAD_CONST 'ProcessMapFuture' BUILD_LIST STORE_NAME __all__ LOAD_CONST 0 LOAD_CONST ('ThreadPool',) IMPORT_NAME pebble.pool.thread IMPORT_FROM ThreadPool STORE_NAME ThreadPool POP_TOP LOAD_CONST 0 LOAD_CONST ('ProcessPool',) IMPORT_NAME pebble.po...
__all__ = ["ThreadPool", "ProcessPool", "MapFuture", "ProcessMapFuture"] from pebble.pool.thread import ThreadPool from pebble.pool.process import ProcessPool from pebble.pool.base_pool import MapFuture, ProcessMapFuture
data/Pebble-5.0.6/pebble/pool/__init__.py
146
67
143,448
LOAD_CONST 0 LOAD_CONST ('TType', 'TMessageType', 'TFrozenDict', 'TException', 'TApplicationException') IMPORT_NAME thrift.Thrift IMPORT_FROM TType STORE_NAME TType IMPORT_FROM TMessageType STORE_NAME TMessageType IMPORT_FROM TFrozenDict STORE_NAME TFrozenDict IMPORT_FROM TException STORE_NAME TException IMPORT_FROM TA...
from thrift.Thrift import ( TType, TMessageType, TFrozenDict, TException, TApplicationException, ) from thrift.protocol.TProtocol import TProtocolException import sys from .ttypes import *
data/opentelemetry_exporter_jaeger_thrift-1.21.0/src/opentelemetry/exporter/jaeger/thrift/gen/agent/constants.py
163
67
246,314