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 None IMPORT_NAME testlib STORE_NAME testlib LOAD_CONST 0 LOAD_CONST ('strings',) IMPORT_NAME mypackage IMPORT_FROM strings STORE_NAME strings POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object StringsCat at 0x7f8af15c2030, file "f.py", line 5> LOAD_CONST 'StringsCat' MAKE_FUNCTION LOAD_CONST 'St...
import testlib from mypackage import strings class StringsCat(testlib.Base): def test_cat(self): self.assertEqual(strings.cat("one", "two"), "onetwo") def test_helper_function(): raise Exception("This test helper function should not be collected")
data/nose-1.3.7/functional_tests/doc_tests/test_selector_plugin/support/tests/strings/cat.py
315
77
401,806
LOAD_CONST 'OpenAPI core contrib django module' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('DjangoOpenAPIRequest',) IMPORT_NAME openapi_core.contrib.django.requests IMPORT_FROM DjangoOpenAPIRequest STORE_NAME DjangoOpenAPIRequest POP_TOP LOAD_CONST 0 LOAD_CONST ('DjangoOpenAPIResponse',) IMPORT_NAME openapi_core.con...
"""OpenAPI core contrib django module""" from openapi_core.contrib.django.requests import DjangoOpenAPIRequest from openapi_core.contrib.django.responses import DjangoOpenAPIResponse __all__ = [ "DjangoOpenAPIRequest", "DjangoOpenAPIResponse", ]
data/openapi_core-0.19.0/openapi_core/contrib/django/__init__.py
136
77
271,217
LOAD_CONST '\nThis module wraps code from the MIT-licensed python-mimeparse project.\n\nThe original project source code may be obtained from GitHub by visiting the\nfollowing URL:\n\n https://github.com/dbtsai/python-mimeparse\n\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME mimeparse IMPORT_STAR LO...
""" This module wraps code from the MIT-licensed python-mimeparse project. The original project source code may be obtained from GitHub by visiting the following URL: https://github.com/dbtsai/python-mimeparse """ from .mimeparse import * # NOQA
data/falcon-3.1.3/falcon/vendor/mimeparse/__init__.py
95
77
204,157
LOAD_CONST 0 LOAD_CONST ('print_function',) IMPORT_NAME __future__ IMPORT_FROM print_function STORE_NAME print_function POP_TOP LOAD_CONST <code object doSomething at 0x7fa6dca248a0, file "f.py", line 4> LOAD_CONST 'doSomething' MAKE_FUNCTION STORE_NAME doSomething LOAD_CONST None RETURN_VALUE LOAD_GLOBAL print LOAD_...
from __future__ import print_function def doSomething(name, number): print("This text is printed from a module whose code was uploaded by the client:") print(" Hello, my name is {0} and my number is {1}.".format(name, number)) return 999
data/Pyro4-4.82/examples/flame/stuff.py
153
77
52,539
LOAD_CONST 0 LOAD_CONST ('StructuredPropertyUrn',) IMPORT_NAME datahub.metadata.urns IMPORT_FROM StructuredPropertyUrn STORE_NAME StructuredPropertyUrn POP_TOP LOAD_NAME str LOAD_NAME str LOAD_CONST ('structured_property_id', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object make_structured_property_urn at 0x7faaa...
from datahub.metadata.urns import StructuredPropertyUrn # noqa: F401 def make_structured_property_urn(structured_property_id: str) -> str: return str(StructuredPropertyUrn.create_from_string(structured_property_id))
data/acryl-datahub-0.12.1.5/src/datahub/utilities/urns/structured_properties_urn.py
160
77
435,741
LOAD_CONST 0 LOAD_CONST ('ContentFile',) IMPORT_NAME django.core.files.base IMPORT_FROM ContentFile STORE_NAME ContentFile POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object NonSeekableContentFile at 0x7faa75c44780, file "f.py", line 4> LOAD_CONST 'NonSeekableContentFile' MAKE_FUNCTION LOAD_CONST 'NonSeekableContentFile...
from django.core.files.base import ContentFile class NonSeekableContentFile(ContentFile): def open(self, mode=None): return self def seekable(self): return False def seek(self, pos, whence=0): raise AttributeError()
data/django-storages-1.14.2/tests/utils.py
335
77
356,189
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pathlib STORE_NAME pathlib LOAD_CONST 0 LOAD_CONST ('Sequence',) IMPORT_NAME typing IMPORT_FROM Sequence STORE_NAME Sequence POP_TOP LOAD_CONST 0 LOAD_CONST ('File',) IMPORT_NAME visions.types.file IMPORT_FROM File STORE_NAME File POP_TOP LOAD_NAME File LOAD_ATTR contains_op ...
import pathlib from typing import Sequence from visions.types.file import File @File.contains_op.register def file_contains(sequence: Sequence, state: dict) -> bool: return all(isinstance(p, pathlib.Path) and p.exists() for p in sequence)
data/visions-0.7.6/src/visions/backends/python/types/file.py
272
77
78,122
LOAD_CONST 1 LOAD_CONST ('MemEffAttention',) IMPORT_NAME attention IMPORT_FROM MemEffAttention STORE_NAME MemEffAttention POP_TOP LOAD_CONST 1 LOAD_CONST ('NestedTensorBlock',) IMPORT_NAME block IMPORT_FROM NestedTensorBlock STORE_NAME NestedTensorBlock POP_TOP LOAD_CONST 1 LOAD_CONST ('DINOHead',) IMPORT_NAME dino_h...
from .attention import MemEffAttention from .block import NestedTensorBlock from .dino_head import DINOHead from .mlp import Mlp from .patch_embed import PatchEmbed from .swiglu_ffn import SwiGLUFFN, SwiGLUFFNFused
data/modelscope-1.12.0/modelscope/models/cv/anydoor/dinov2/dinov2/layers/__init__.py
236
77
315,023
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME AVFoundation STORE_NAME AVFoundation LOAD_CONST 0 LOAD_CONST ('TestCase', 'min_os_level') IMPORT_NAME PyObjCTools.TestSupport IMPORT_FROM TestCase STORE_NAME TestCase IMPORT_FROM min_os_level STORE_NAME min_os_level POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TestAVGeomet...
import AVFoundation from PyObjCTools.TestSupport import TestCase, min_os_level class TestAVGeometry(TestCase): @min_os_level("13.0") def test_funcdtions(self): AVFoundation.AVMakeRectWithAspectRatioInsideRect
data/pyobjc-framework-AVFoundation-10.1/PyObjCTest/test_avgeometry.py
268
77
95,067
LOAD_CONST 'ansible_compat package.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('PackageNotFoundError', 'version') IMPORT_NAME importlib.metadata IMPORT_FROM PackageNotFoundError STORE_NAME PackageNotFoundError IMPORT_FROM version STORE_NAME version POP_TOP SETUP_EXCEPT to 34 LOAD_NAME version LOAD_CONST 'ansible-c...
"""ansible_compat package.""" from importlib.metadata import PackageNotFoundError, version try: __version__ = version("ansible-compat") except PackageNotFoundError: # pragma: no cover __version__ = "0.1.dev1" __all__ = ["__version__"]
data/ansible-compat-4.1.11/src/ansible_compat/__init__.py
153
77
356,168
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _builder IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _helpers IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _manipulate IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME _prune IMPORT_STAR LOAD_CONST 0 LOAD_CONST None IMPORT_NAME warnings STORE_NAM...
from ._builder import * from ._helpers import * from ._manipulate import * from ._prune import * import warnings warnings.warn( f"Importing from {__name__} is deprecated, please import via timm.models", DeprecationWarning, )
data/timm-0.9.16/timm/models/helpers.py
140
77
22,321
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('disable_tf_random_generator',) IMPORT_NAME tf_keras.src.backend IMPORT_FROM disable_tf_random_generator STORE_NAME disable_tf_random_generator POP_TOP LOAD_CONST 0 LOAD_CONST ('enable_tf_random_generator',) IMPORT_NAME tf_keras.src....
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.backend import disable_tf_random_generator from tf_keras.src.backend import enable_tf_random_generator from tf_keras.src.backend import is_tf_random_generator_enabled
data/tf_keras-nightly-2.17.0.dev2024022110/tf_keras/backend/experimental/__init__.py
177
77
165,177
LOAD_CONST 0 LOAD_CONST ('SchemaPath',) IMPORT_NAME jsonschema_path IMPORT_FROM SchemaPath STORE_NAME SchemaPath POP_TOP LOAD_CONST 0 LOAD_CONST ('get_server_url',) IMPORT_NAME openapi_core.schema.servers IMPORT_FROM get_server_url STORE_NAME get_server_url POP_TOP LOAD_CONST (0,) LOAD_NAME SchemaPath LOAD_NAME int L...
from jsonschema_path import SchemaPath from openapi_core.schema.servers import get_server_url def get_spec_url(spec: SchemaPath, index: int = 0) -> str: servers = spec / "servers" return get_server_url(servers / 0)
data/openapi_core-0.19.0/openapi_core/schema/specs.py
194
77
271,288
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 0 LOAD_CONST ('Path',) IMPORT_NAME pathlib IMPORT_FROM Path STORE_NAME Path POP_TOP LOAD_CONST 1 LOAD_CONST ('Controller',) IMPORT_NAME local IMPORT_FROM Controller STORE_NAME Controller POP_TOP LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP...
import sys from pathlib import Path from .local import Controller if __name__ == "__main__": assert len(sys.argv) == 2, "Usage: _local.py <submitit_folder>" controller = Controller(Path(sys.argv[1])) controller.run()
data/submitit-1.5.1/submitit/local/_local.py
166
77
82,423
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME xlwt STORE_NAME xlwt LOAD_NAME xlwt LOAD_ATTR Workbook LOAD_CONST 'cp1251' LOAD_CONST ('encoding',) CALL_FUNCTION STORE_NAME book LOAD_NAME book LOAD_METHOD add_sheet LOAD_CONST 'cp1251-demo' CALL_METHOD STORE_NAME sheet LOAD_NAME sheet LOAD_METHOD write LOAD_CONST 0 LOAD_CON...
import xlwt book = xlwt.Workbook(encoding="cp1251") sheet = book.add_sheet("cp1251-demo") sheet.write(0, 0, "\xce\xeb\xff") book.save("unicode0.xls")
data/xlwt-1.3.0/examples/unicode0.py
126
77
418,208
LOAD_CONST '\nPythonifier for Static route Table/View\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('loadyaml',) IMPORT_NAME jnpr.junos.factory IMPORT_FROM loadyaml STORE_NAME loadyaml POP_TOP LOAD_CONST 0 LOAD_CONST ('splitext',) IMPORT_NAME os.path IMPORT_FROM splitext STORE_NAME splitext POP_TOP LOAD_NAME splite...
""" Pythonifier for Static route Table/View """ from jnpr.junos.factory import loadyaml from os.path import splitext _YAML_ = splitext(__file__)[0] + ".yml" globals().update(loadyaml(_YAML_))
data/junos-eznc-2.7.0/lib/jnpr/junos/resources/staticroutes.py
154
77
209,196
LOAD_CONST 1 LOAD_CONST ('LinearDiscriminantAnalysis',) IMPORT_NAME linear_discriminant_analysis IMPORT_FROM LinearDiscriminantAnalysis STORE_NAME LinearDiscriminantAnalysis POP_TOP LOAD_CONST 1 LOAD_CONST ('PrincipalComponentAnalysis',) IMPORT_NAME principal_component_analysis IMPORT_FROM PrincipalComponentAnalysis S...
from .linear_discriminant_analysis import LinearDiscriminantAnalysis from .principal_component_analysis import PrincipalComponentAnalysis from .rbf_kernel_pca import RBFKernelPCA __all__ = ["PrincipalComponentAnalysis", "LinearDiscriminantAnalysis", "RBFKernelPCA"]
data/mlxtend-0.23.1/mlxtend/feature_extraction/__init__.py
160
77
196,451
LOAD_CONST '\n.. autofunction:: load\n\n.. autofunction:: install\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('absolute_import', 'unicode_literals', 'print_function') IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM unicode_literals STORE_NAME unicode_literals IMPORT_FROM pr...
""" .. autofunction:: load .. autofunction:: install """ from __future__ import absolute_import, unicode_literals, print_function from .loader import load from .loader import install __version__ = "1.9.0" __all__ = ["load", "install"]
data/thriftrw-1.9.0/thriftrw/__init__.py
176
77
374,291
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME logging STORE_NAME logging LOAD_CONST 0 LOAD_CONST ('collect_dynamic_libs',) IMPORT_NAME PyInstaller.utils.hooks IMPORT_FROM collect_dynamic_libs STORE_NAME collect_dynamic_libs POP_TOP LOAD_NAME logging LOAD_METHOD getLogger LOAD_NAME __name__ CALL_METHOD STORE_NAME logger L...
import logging from PyInstaller.utils.hooks import collect_dynamic_libs logger = logging.getLogger(__name__) logger.info("--- libusb1 pyinstaller hook ---") binaries = collect_dynamic_libs("usb1") logger.info("Added libusb binaries: %s", binaries)
data/libusb1-3.1.0/usb1/__pyinstaller/hook-usb1.py
148
77
374,316
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME click STORE_NAME click LOAD_CONST 0 LOAD_CONST ('__version__',) IMPORT_NAME haystack IMPORT_FROM __version__ STORE_NAME __version__ POP_TOP LOAD_CONST 0 LOAD_CONST ('prompt',) IMPORT_NAME haystack.cli.prompt IMPORT_FROM prompt STORE_NAME prompt POP_TOP LOAD_NAME click LOAD_ME...
import click from haystack import __version__ from haystack.cli.prompt import prompt @click.group() @click.version_option(__version__) def main_cli(): pass main_cli.add_command(prompt) def main(): main_cli()
data/farm_haystack-1.24.1/haystack/cli/entry_point.py
236
77
367,178
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME warnings STORE_NAME warnings LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME keras_tuner IMPORT_STAR LOAD_NAME warnings LOAD_ATTR warn LOAD_CONST '`import kerastuner` is deprecated, please use `import keras_tuner`.' LOAD_NAME DeprecationWarning LOAD_CONST 2 LOAD_CONST ('stacklev...
import warnings from keras_tuner import * warnings.warn( "`import kerastuner` is deprecated, please use `import keras_tuner`.", DeprecationWarning, stacklevel=2, ) __version__ = "1.0.5"
data/kt-legacy-1.0.5/kerastuner/__init__.py
112
77
372,387
LOAD_CONST 1 LOAD_CONST ('GenerateFigSpecAction', 'generate_completion_spec', 'add_completion_spec_command') IMPORT_NAME fig IMPORT_FROM GenerateFigSpecAction STORE_NAME GenerateFigSpecAction IMPORT_FROM generate_completion_spec STORE_NAME generate_completion_spec IMPORT_FROM add_completion_spec_command STORE_NAME add_...
from .fig import ( GenerateFigSpecAction, generate_completion_spec, add_completion_spec_command, ) __all__ = [ "GenerateFigSpecAction", "generate_completion_spec", "add_completion_spec_command", ]
data/argparse_complete_fig-1.0.1/argparse_complete_fig/__init__.py
132
77
235,689
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 0 LOAD_CONST ('SummaryWriter',) IMPORT_NAME tensorboardX IMPORT_FROM SummaryWriter STORE_NAME SummaryWriter POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object OPENVINOGraphTest at 0x7fab8212b8a0, file "f.py", line 5> LOAD_CONST 'OPENVINOGr...
import unittest from tensorboardX import SummaryWriter class OPENVINOGraphTest(unittest.TestCase): def test_openvino_graph(self): with SummaryWriter() as w: w.add_openvino_graph("examples/mobilenetv2.xml")
data/tensorboardX-2.6.2.2/tests/test_openvino_graph.py
294
77
177,867
SETUP_ANNOTATIONS LOAD_CONST 0 LOAD_CONST ('Tuple',) IMPORT_NAME typing IMPORT_FROM Tuple STORE_NAME Tuple POP_TOP LOAD_CONST ('UNTRACKED_GENERATOR', 'IF', 'ELSE', 'ASSERT_FAILED', 'BREAK', 'CONTINUE') STORE_NAME UNSCOPED_ELEMENTS LOAD_NAME Tuple LOAD_NAME str LOAD_CONST Ellipsis BUILD_TUPLE BINARY_SUBSCR LOAD_NAME __...
from typing import Tuple UNSCOPED_ELEMENTS: Tuple[str, ...] = ( "UNTRACKED_GENERATOR", "IF", "ELSE", "ASSERT_FAILED", "BREAK", "CONTINUE", )
data/robocorp_log-2.9.0/src/robocorp/log/_constants.py
117
77
82,458
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'vmss extension image' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab82132390, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAM...
from azure.cli.core.aaz import * @register_command_group( "vmss extension image", ) class __CMDGroup(AAZCommandGroup): """Find the available VM extensions for a subscription and region.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/vm/aaz/latest/vmss/extension/image/__cmd_group.py
187
77
376,585
SETUP_EXCEPT to 28 LOAD_CONST 0 LOAD_CONST None IMPORT_NAME django STORE_NAME django LOAD_NAME django LOAD_ATTR VERSION LOAD_CONST (3, 2) COMPARE_OP < POP_JUMP_IF_FALSE LOAD_CONST 'django_admin_inline_paginator.apps.DjangoAdminInlinePaginatorConfig' STORE_NAME default_app_config POP_BLOCK JUMP_FORWARD to 48 DUP_TOP...
try: import django if django.VERSION < (3, 2): # pragma: no cover default_app_config = ( "django_admin_inline_paginator.apps.DjangoAdminInlinePaginatorConfig" ) except ImportError: pass
data/django-admin-inline-paginator-0.4.0/django_admin_inline_paginator/__init__.py
122
77
10,688
LOAD_CONST 'Molecule version information.' STORE_NAME __doc__ SETUP_EXCEPT to 26 LOAD_CONST 1 LOAD_CONST ('__version__', 'version') IMPORT_NAME _version IMPORT_FROM __version__ STORE_NAME __version__ IMPORT_FROM version STORE_NAME version POP_TOP POP_BLOCK JUMP_FORWARD to 54 DUP_TOP LOAD_NAME ImportError COMPARE_OP ...
"""Molecule version information.""" try: from ._version import __version__, version # type: ignore except ImportError: # pragma: no cover __version__ = "0.1.dev1" version = __version__ __all__ = ("__version__", "version")
data/molecule-24.2.0/src/molecule/__init__.py
142
77
10,463
LOAD_CONST <code object OnCompareItems at 0x7fab5433db70, file "f.py", line 1> LOAD_CONST 'OnCompareItems' MAKE_FUNCTION STORE_NAME OnCompareItems LOAD_CONST None RETURN_VALUE LOAD_FAST self LOAD_METHOD GetItemText LOAD_FAST item1 CALL_METHOD STORE_FAST t1 LOAD_FAST self LOAD_METHOD GetItemText LOAD_FAST item2 CALL_M...
def OnCompareItems(self, item1, item2): """Changes the sort order of the items in the tree control.""" t1 = self.GetItemText(item1) t2 = self.GetItemText(item2) return cmp(t1.lower(), t2.lower())
data/wxPython-4.2.1/docs/sphinx/_downloads/TreeCtrl.OnCompareItems.1.py
117
77
300,875
LOAD_CONST 'sphinxext.opengraph' BUILD_LIST STORE_NAME extensions LOAD_CONST 'index' STORE_NAME master_doc LOAD_CONST '_build' BUILD_LIST STORE_NAME exclude_patterns LOAD_CONST 'basic' STORE_NAME html_theme LOAD_CONST 'http://example.org/en/latest/' STORE_NAME ogp_site_url LOAD_CONST "Example's Docs!" STORE_NAME o...
extensions = ["sphinxext.opengraph"] master_doc = "index" exclude_patterns = ["_build"] html_theme = "basic" ogp_site_url = "http://example.org/en/latest/" ogp_site_name = "Example's Docs!"
data/sphinxext-opengraph-0.9.1/tests/roots/test-sitename/conf.py
98
77
346,012
LOAD_BUILD_CLASS LOAD_CONST <code object SingleService at 0x7f8af04b86f0, file "f.py", line 1> LOAD_CONST 'SingleService' MAKE_FUNCTION LOAD_CONST 'SingleService' LOAD_NAME object CALL_FUNCTION STORE_NAME SingleService LOAD_BUILD_CLASS LOAD_CONST <code object SingleClient at 0x7f8a3d619540, file "f.py", line 7> LOAD_C...
class SingleService(object): def __init__(self, host): self.host = host self.endpoints = {} # type: ignore class SingleClient(object): def __init__(self, host): self.host = host self.requests = {} # type: ignore
data/oic-1.6.1/src/oic/extension/single.py
330
77
333,332
LOAD_CONST 'Models used by papermill.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('namedtuple',) IMPORT_NAME collections IMPORT_FROM namedtuple STORE_NAME namedtuple POP_TOP LOAD_NAME namedtuple LOAD_CONST 'Parameter' LOAD_CONST 'name' LOAD_CONST 'inferred_type_name' LOAD_CONST 'default' LOAD_CONST 'help' BUILD...
"""Models used by papermill.""" from collections import namedtuple Parameter = namedtuple( "Parameter", [ "name", "inferred_type_name", # string of type "default", # string representing the default value "help", ], )
data/papermill-2.5.0/papermill/models.py
98
77
272,554
LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 0 LOAD_CONST ('unicode_literals',) IMPORT_NAME __future__ IMPORT_FROM unicode_literals STORE_NAME unicode_literals POP_TOP LOAD_CONST 1 LOAD_CONST ('CommandParser',) IMPORT_NAM...
from __future__ import absolute_import from __future__ import unicode_literals from ._commands import CommandParser from ._html import Html, HtmlBuilder from ._utils import * from . import _chart from . import _chart_data from . import _csv from . import _job
data/datalab-1.2.1/google/datalab/utils/commands/__init__.py
255
77
141,138
LOAD_CONST ' public toolkit API ' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('extensions', 'indexers', 'interchange', 'types', 'typing') IMPORT_NAME pandas.api IMPORT_FROM extensions STORE_NAME extensions IMPORT_FROM indexers STORE_NAME indexers IMPORT_FROM interchange STORE_NAME interchange IMPORT_FROM types STORE_N...
""" public toolkit API """ from pandas.api import ( extensions, indexers, interchange, types, typing, ) __all__ = [ "interchange", "extensions", "indexers", "types", "typing", ]
data/pandas-2.2.0/pandas/api/__init__.py
123
77
171,386
LOAD_BUILD_CLASS LOAD_CONST <code object UniqueIdentifier at 0x7fab8234adb0, file "f.py", line 1> LOAD_CONST 'UniqueIdentifier' MAKE_FUNCTION LOAD_CONST 'UniqueIdentifier' CALL_FUNCTION STORE_NAME UniqueIdentifier LOAD_CONST Ellipsis STORE_NAME infer LOAD_NAME UniqueIdentifier LOAD_CONST 'not_set' CALL_FUNCTION STORE...
class UniqueIdentifier: """A factory for sentinel objects with nice reprs.""" def __init__(self, identifier): self.identifier = identifier def __repr__(self): return self.identifier infer = ... not_set = UniqueIdentifier("not_set")
data/hypothesis-6.98.9/src/hypothesis/utils/conventions.py
274
77
148,022
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('disable_tf_random_generator',) IMPORT_NAME tf_keras.src.backend IMPORT_FROM disable_tf_random_generator STORE_NAME disable_tf_random_generator POP_TOP LOAD_CONST 0 LOAD_CONST ('enable_tf_random_generator',) IMPORT_NAME tf_keras.src....
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.backend import disable_tf_random_generator from tf_keras.src.backend import enable_tf_random_generator from tf_keras.src.backend import is_tf_random_generator_enabled
data/tf_keras-2.15.0/tf_keras/backend/experimental/__init__.py
177
77
354,027
LOAD_CONST 0 LOAD_CONST ('auto',) IMPORT_NAME enum IMPORT_FROM auto STORE_NAME auto POP_TOP LOAD_CONST 0 LOAD_CONST ('JsonProperty',) IMPORT_NAME spdx_tools.spdx.jsonschema.json_property IMPORT_FROM JsonProperty STORE_NAME JsonProperty POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object PackageVerificationCodeProperty a...
from enum import auto from spdx_tools.spdx.jsonschema.json_property import JsonProperty class PackageVerificationCodeProperty(JsonProperty): PACKAGE_VERIFICATION_CODE_EXCLUDED_FILES = auto() PACKAGE_VERIFICATION_CODE_VALUE = auto()
data/spdx-tools-0.8.2/src/spdx_tools/spdx/jsonschema/package_verification_code_properties.py
210
77
286,063
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_CONST 0 LOAD_CONST ('Annotated',) IMPORT_NAME typing_extensions IMPORT_FROM Annotated STORE_NAME Annotated POP_TOP LOAD_NAME Annotated LOAD_NAME str LOAD_NAME typer LOAD_METHOD Option LOAD_CONST '--name' LOAD_CONST '-n' CALL_METHOD BUILD_TUPLE BINAR...
import typer from typing_extensions import Annotated def main(user_name: Annotated[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_an.py
194
77
224,428
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME logging STORE_NAME logging LOAD_NAME logging LOAD_METHOD getLogger LOAD_NAME __name__ CALL_METHOD STORE_NAME logger SETUP_EXCEPT to 32 LOAD_CONST 0 LOAD_CONST None IMPORT_NAME torch STORE_NAME torch POP_BLOCK JUMP_FORWARD to 64 DUP_TOP LOAD_NAME ModuleNotFoundError LOAD_NAME...
import logging logger = logging.getLogger(__name__) try: import torch except (ModuleNotFoundError, ImportError): raise ImportError( "torch not installed, haystack.modeling won't work. Run 'pip install transformers[torch]' to fix this problem." )
data/farm_haystack-1.24.1/haystack/modeling/__init__.py
147
77
367,313
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TaskStatus at 0x7fab4298e540, file "f.py", line 4> LOAD_CONST 'TaskStatus' MAKE_FUNCTION LOAD_CONST 'TaskStatus' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_NAME TaskStatus LOAD_CON...
from enum import Enum class TaskStatus(str, Enum): NotStarted = ("notStarted",) InProgress = ("inProgress",) Completed = ("completed",) WaitingOnOthers = ("waitingOnOthers",) Deferred = ("deferred",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/task_status.py
187
77
260,475
LOAD_BUILD_CLASS LOAD_CONST <code object ELFError at 0x7faa74442b70, file "f.py", line 1> LOAD_CONST 'ELFError' MAKE_FUNCTION LOAD_CONST 'ELFError' LOAD_NAME Exception CALL_FUNCTION STORE_NAME ELFError LOAD_BUILD_CLASS LOAD_CONST <code object ELFRelocationError at 0x7faa74442ae0, file "f.py", line 5> LOAD_CONST 'ELFRe...
class ELFError(Exception): pass class ELFRelocationError(ELFError): pass class ELFParseError(ELFError): pass class ELFCompressionError(ELFError): pass class DWARFError(Exception): pass
data/pyelftools-0.30/elftools/common/exceptions.py
508
77
152,629
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('NamedTuple',) IMPORT_NAME typing IMPORT_FROM NamedTuple STORE_NAME NamedTuple POP_TOP LOAD_CONST 'Point' LOAD_CONST 'Size' BUILD_LIST STORE_NAME __all__ LOAD_BUILD_CLASS L...
from __future__ import annotations from typing import NamedTuple __all__ = [ "Point", "Size", ] class Point(NamedTuple): x: int y: int class Size(NamedTuple): rows: int columns: int
data/prompt_toolkit-3.0.43/src/prompt_toolkit/data_structures.py
329
77
124,667
LOAD_CONST 'Comelit constants.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME logging STORE_NAME logging LOAD_CONST 0 LOAD_CONST ('BRIDGE', 'VEDO') IMPORT_NAME aiocomelit.const IMPORT_FROM BRIDGE STORE_NAME BRIDGE IMPORT_FROM VEDO STORE_NAME VEDO POP_TOP LOAD_NAME logging LOAD_METHOD getLogger LOAD_NAM...
"""Comelit constants.""" import logging from aiocomelit.const import BRIDGE, VEDO _LOGGER = logging.getLogger(__package__) DOMAIN = "comelit" DEFAULT_PORT = 80 DEVICE_TYPE_LIST = [BRIDGE, VEDO]
data/homeassistant-2024.2.2/homeassistant/components/comelit/const.py
144
77
295,115
LOAD_CONST '\nPythonifier for AutoSys Table/View\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('loadyaml',) IMPORT_NAME jnpr.junos.factory IMPORT_FROM loadyaml STORE_NAME loadyaml POP_TOP LOAD_CONST 0 LOAD_CONST ('splitext',) IMPORT_NAME os.path IMPORT_FROM splitext STORE_NAME splitext POP_TOP LOAD_NAME splitext LO...
""" Pythonifier for AutoSys Table/View """ from jnpr.junos.factory import loadyaml from os.path import splitext _YAML_ = splitext(__file__)[0] + ".yml" globals().update(loadyaml(_YAML_))
data/junos-eznc-2.7.0/lib/jnpr/junos/resources/autosys.py
154
77
209,199
LOAD_CONST <code object gamma_corr at 0x7faaac203930, file "f.py", line 1> LOAD_CONST 'gamma_corr' MAKE_FUNCTION STORE_NAME gamma_corr LOAD_CONST None RETURN_VALUE LOAD_CLOSURE gamma BUILD_TUPLE LOAD_CONST <code object fl at 0x7faaac203db0, file "f.py", line 4> LOAD_CONST 'gamma_corr.<locals>.fl' MAKE_FUNCTION STORE_F...
def gamma_corr(clip, gamma): """Gamma-correction of a video clip""" def fl(im): corrected = 255 * (1.0 * im / 255) ** gamma return corrected.astype("uint8") return clip.fl_image(fl)
data/moviepy-1.0.3/moviepy/video/fx/gamma_corr.py
181
77
439,329
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME re STORE_NAME re BUILD_LIST STORE_NAME _pattern_test_data LOAD_CONST <code object _define_pattern at 0x7fa6f5ba8150, file "f.py", line 6> LOAD_CONST '_define_pattern' MAKE_FUNCTION STORE_NAME _define_pattern LOAD_CONST None RETURN_VALUE LOAD_GLOBAL re LOAD_ATTR compile LOAD_F...
import re _pattern_test_data = [] def _define_pattern(pattern, example, *args): """Compile a regex and store an example pattern for testing.""" regex = re.compile(pattern, *args) _pattern_test_data.append((regex, example)) return regex
data/ase-3.22.1/ase/io/nwchem/parser.py
131
77
45,578
LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME numpy_wrapper IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('numpy_boxes',) IMPORT_NAME IMPORT_FROM numpy_boxes STORE_NAME numpy_boxes POP_TOP LOAD_CONS...
from __future__ import absolute_import from .numpy_wrapper import * from . import numpy_boxes from . import numpy_vspaces from . import numpy_vjps from . import numpy_jvps from . import linalg from . import fft from . import random
data/autograd-1.6.2/autograd/numpy/__init__.py
271
77
173,106
LOAD_CONST 0 LOAD_CONST ('HasTraits', 'Str', 'Int') IMPORT_NAME traits.api IMPORT_FROM HasTraits STORE_NAME HasTraits IMPORT_FROM Str STORE_NAME Str IMPORT_FROM Int STORE_NAME Int POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object SimpleEmployee at 0x7fab5408fae0, file "f.py", line 4> LOAD_CONST 'SimpleEmployee' MAKE_FU...
from traits.api import HasTraits, Str, Int class SimpleEmployee(HasTraits): first_name = Str last_name = Str department = Str employee_number = Str salary = Int sam = SimpleEmployee() sam.configure_traits()
data/traits-6.4.3/examples/tutorials/doc_examples/examples/configure_traits.py
216
77
286,817
LOAD_CONST 'pathlib-abc' STORE_NAME project LOAD_CONST '2023' STORE_NAME copyright LOAD_CONST 'Barney Gale' STORE_NAME author LOAD_CONST 'sphinx_copybutton' BUILD_LIST STORE_NAME extensions LOAD_CONST '_build' LOAD_CONST 'Thumbs.db' LOAD_CONST '.DS_Store' BUILD_LIST STORE_NAME exclude_patterns LOAD_CONST 'furo' ST...
project = "pathlib-abc" copyright = "2023" author = "Barney Gale" extensions = [ "sphinx_copybutton", ] exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] html_theme = "furo"
data/pathlib_abc-0.2.0/docs/conf.py
98
77
199,470
LOAD_CONST 0 LOAD_CONST ('TypedDict',) IMPORT_NAME typing IMPORT_FROM TypedDict STORE_NAME TypedDict POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object SphinxParallelSpec at 0x7fab702cd270, file "f.py", line 4> LOAD_CONST 'SphinxParallelSpec' MAKE_FUNCTION LOAD_CONST 'SphinxParallelSpec' LOAD_NAME TypedDict CALL_FUNCTIO...
from typing import TypedDict class SphinxParallelSpec(TypedDict): parallel_read_safe: bool parallel_write_safe: bool PARALLEL_SAFE = SphinxParallelSpec(parallel_read_safe=True, parallel_write_safe=True)
data/bokeh-3.3.4/src/bokeh/sphinxext/__init__.py
230
77
174,140
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_CONST 0 LOAD_CONST ('Annotated',) IMPORT_NAME typing_extensions IMPORT_FROM Annotated STORE_NAME Annotated POP_TOP LOAD_NAME str LOAD_NAME Annotated LOAD_NAME str LOAD_NAME typer LOAD_METHOD Option CALL_METHOD BUILD_TUPLE BINARY_SUBSCR LOAD_CONST ('...
import typer from typing_extensions import Annotated def main(name: str, lastname: Annotated[str, typer.Option()]): print(f"Hello {name} {lastname}") if __name__ == "__main__": typer.run(main)
data/typer-0.9.0/docs_src/options/required/tutorial001_an.py
196
77
224,413
LOAD_CONST 0 LOAD_CONST ('HasTraits', 'Int', 'Str') IMPORT_NAME traits.api IMPORT_FROM HasTraits STORE_NAME HasTraits IMPORT_FROM Int STORE_NAME Int IMPORT_FROM Str STORE_NAME Str POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Person at 0x7fab5408f660, file "f.py", line 4> LOAD_CONST 'Person' MAKE_FUNCTION LOAD_CONS...
from traits.api import HasTraits, Int, Str class Person(HasTraits): name = Str age = Int street = Str city = Str state = Str pcode = Str bill = Person() bill.configure_traits(kind="modal")
data/traits-6.4.3/examples/tutorials/doc_examples/examples/wizard.py
212
77
286,843
LOAD_CONST 'rio_cogeo: Cloud Optimized GeoTIFF creation and validation plugin for rasterio.' STORE_NAME __doc__ LOAD_CONST '5.2.0' STORE_NAME __version__ LOAD_CONST 1 LOAD_CONST ('cog_info', 'cog_translate', 'cog_validate') IMPORT_NAME cogeo IMPORT_FROM cog_info STORE_NAME cog_info IMPORT_FROM cog_translate STORE_NAM...
"""rio_cogeo: Cloud Optimized GeoTIFF creation and validation plugin for rasterio.""" __version__ = "5.2.0" from .cogeo import cog_info, cog_translate, cog_validate # noqa from .profiles import cog_profiles # noqa
data/rio_cogeo-5.2.0/rio_cogeo/__init__.py
148
77
418,525
LOAD_CONST '\nThis module defines developer APIs for defining pluggable execution backends\nfor MLflow projects. See `MLflow Plugins <../../plugins.html>`_ for more information.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('AbstractBackend',) IMPORT_NAME mlflow.projects.backend.abstract_backend IMPORT_FROM AbstractB...
""" This module defines developer APIs for defining pluggable execution backends for MLflow projects. See `MLflow Plugins <../../plugins.html>`_ for more information. """ from mlflow.projects.backend.abstract_backend import AbstractBackend __all__ = ["AbstractBackend"]
data/mlflow-2.10.2/mlflow/projects/backend/__init__.py
112
77
44,045
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 0 LOAD_CONST None IMPORT_NAME simplefix STORE_NAME simplefix LOAD_BUILD_CLASS LOAD_CONST <code object ConstantsTests at 0x7fab4272a4b0, file "f.py", line 5> LOAD_CONST 'ConstantsTests' MAKE_FUNCTION LOAD_CONST 'ConstantsTests' LOAD_NAME ...
import unittest import simplefix class ConstantsTests(unittest.TestCase): def test_35(self): self.assertEqual(b"0", simplefix.MSGTYPE_HEARTBEAT) if __name__ == "__main__": unittest.main()
data/simplefix-1.0.17/test/test_constants.py
256
77
305,130
LOAD_CONST '2.2.0' STORE_NAME __version__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME logging STORE_NAME logging LOAD_NAME logging LOAD_METHOD getLogger LOAD_NAME __name__ CALL_METHOD STORE_NAME logger LOAD_CONST 1 LOAD_CONST ('DataFrameMapper',) IMPORT_NAME dataframe_mapper IMPORT_FROM DataFrameMapper STORE_NAME DataF...
__version__ = "2.2.0" import logging logger = logging.getLogger(__name__) from .dataframe_mapper import DataFrameMapper # NOQA from .features_generator import gen_features # NOQA from .transformers import NumericalTransformer # NOQA
data/sklearn-pandas-2.2.0/sklearn_pandas/__init__.py
147
77
106,514
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object OnlineMeetingPresenters at 0x7fab4298ec00, file "f.py", line 4> LOAD_CONST 'OnlineMeetingPresenters' MAKE_FUNCTION LOAD_CONST 'OnlineMeetingPresenters' LOAD_NAME str LOAD_NAME Enum CALL_...
from enum import Enum class OnlineMeetingPresenters(str, Enum): Everyone = ("everyone",) Organization = ("organization",) RoleIsPresenter = ("roleIsPresenter",) Organizer = ("organizer",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/online_meeting_presenters.py
198
77
260,443
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 1 LOAD_CONST ('BoundFloatingIP', 'FloatingIPsClient', 'FloatingIPsPageResult') IMPORT_NAME client IMPORT_FROM BoundFloatingIP STORE_NAME BoundFloatingIP IMPORT_FROM FloatingIPsClient STORE_...
from __future__ import annotations from .client import ( # noqa: F401 BoundFloatingIP, FloatingIPsClient, FloatingIPsPageResult, ) from .domain import CreateFloatingIPResponse, FloatingIP # noqa: F401
data/ansible-9.2.0/ansible_collections/hetzner/hcloud/plugins/module_utils/vendor/hcloud/floating_ips/__init__.py
156
77
280,163
LOAD_CONST 0 LOAD_CONST ('BaseSettings', 'SettingsConfigDict') IMPORT_NAME pydantic_settings IMPORT_FROM BaseSettings STORE_NAME BaseSettings IMPORT_FROM SettingsConfigDict STORE_NAME SettingsConfigDict POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Settings at 0x7fab5434b660, file "f.py", line 4> LOAD_CONST 'Settin...
from pydantic_settings import BaseSettings, SettingsConfigDict class Settings(BaseSettings): app_name: str = "Awesome API" admin_email: str items_per_user: int = 50 model_config = SettingsConfigDict(env_file=".env")
data/fastapi-0.109.2/docs_src/settings/app03_an/config.py
246
77
142,434
LOAD_CONST 'Core event interfaces.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 1 LOAD_CONST ('ConnectionEvents',) IMPORT_NAME engine.events IMPORT_FROM ConnectionEvents STORE_NAME ConnectionEvents POP_TOP LOAD_C...
"""Core event interfaces.""" from __future__ import annotations from .engine.events import ConnectionEvents from .engine.events import DialectEvents from .pool import PoolResetState from .pool.events import PoolEvents from .sql.base import SchemaEventTarget from .sql.events import DDLEvents
data/SQLAlchemy-2.0.27/lib/sqlalchemy/events.py
226
77
362,178
LOAD_CONST '\nPythonifier for Syslog Table/View\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('loadyaml',) IMPORT_NAME jnpr.junos.factory IMPORT_FROM loadyaml STORE_NAME loadyaml POP_TOP LOAD_CONST 0 LOAD_CONST ('splitext',) IMPORT_NAME os.path IMPORT_FROM splitext STORE_NAME splitext POP_TOP LOAD_NAME splitext LOA...
""" Pythonifier for Syslog Table/View """ from jnpr.junos.factory import loadyaml from os.path import splitext _YAML_ = splitext(__file__)[0] + ".yml" globals().update(loadyaml(_YAML_))
data/junos-eznc-2.7.0/lib/jnpr/junos/resources/syslog.py
154
77
209,197
LOAD_CONST 'Provides the constants needed for the component.' STORE_NAME __doc__ LOAD_CONST 'text' STORE_NAME DOMAIN LOAD_CONST 'max' STORE_NAME ATTR_MAX LOAD_CONST 'min' STORE_NAME ATTR_MIN LOAD_CONST 'mode' STORE_NAME ATTR_MODE LOAD_CONST 'pattern' STORE_NAME ATTR_PATTERN LOAD_CONST 'value' STORE_NAME ATTR_VALU...
"""Provides the constants needed for the component.""" DOMAIN = "text" ATTR_MAX = "max" ATTR_MIN = "min" ATTR_MODE = "mode" ATTR_PATTERN = "pattern" ATTR_VALUE = "value" SERVICE_SET_VALUE = "set_value"
data/homeassistant-2024.2.2/homeassistant/components/text/const.py
110
77
297,490
LOAD_CONST 0 LOAD_CONST ('TestCase',) IMPORT_NAME twisted.trial.unittest IMPORT_FROM TestCase STORE_NAME TestCase POP_TOP LOAD_CONST 0 LOAD_CONST ('_git',) IMPORT_NAME towncrier IMPORT_FROM _git STORE_NAME _git POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TestGit at 0x7fab4272a5d0, file "f.py", line 6> LOAD_CONST...
from twisted.trial.unittest import TestCase from towncrier import _git class TestGit(TestCase): def test_empty_remove(self): """ If remove_files gets an empty list, it returns gracefully. """ _git.remove_files([])
data/towncrier-23.11.0/src/towncrier/test/test_git.py
235
77
305,150
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME duckdb STORE_NAME duckdb LOAD_BUILD_CLASS LOAD_CONST <code object TestContextManager at 0x7f8e2fa0f5d0, file "f.py", line 4> LOAD_CONST 'TestContextManager' MAKE_FUNCTION LOAD_CONST 'TestContextManager' LOAD_NAME object CALL_FUNCTION STORE_NAME TestContextManager LOAD_CONST Non...
import duckdb class TestContextManager(object): def test_context_manager(self, duckdb_cursor): with duckdb.connect(database=":memory:", read_only=False) as con: assert con.execute("select 1").fetchall() == [(1,)]
data/duckdb-0.10.0/tests/fast/test_context_manager.py
267
77
423,494
LOAD_CONST 0 LOAD_CONST ('roles',) IMPORT_NAME docutils.parsers.rst IMPORT_FROM roles STORE_NAME roles POP_TOP BUILD_MAP BUILD_LIST BUILD_TUPLE LOAD_CONST <code object counter_fn at 0x7fab7038a930, file "f.py", line 4> LOAD_CONST 'counter_fn' MAKE_FUNCTION STORE_NAME counter_fn LOAD_CONST False LOAD_NAME counter_fn S...
from docutils.parsers.rst import roles def counter_fn(name, rawtext, text, lineno, inliner, options={}, content=[]): return [], [] counter_fn.content = False roles.register_canonical_role("counter", counter_fn)
data/rst2pdf-0.101/rst2pdf/roles/counter_off.py
137
77
286,981
LOAD_CONST 'Holds all feature types to be part of a FeatureSet.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Feature',) IMPORT_NAME butterfree.transform.features.feature IMPORT_FROM Feature STORE_NAME Feature POP_TOP LOAD_CONST 0 LOAD_CONST ('KeyFeature',) IMPORT_NAME butterfree.transform.features.key_feature IMPORT...
"""Holds all feature types to be part of a FeatureSet.""" from butterfree.transform.features.feature import Feature from butterfree.transform.features.key_feature import KeyFeature from butterfree.transform.features.timestamp_feature import TimestampFeature __all__ = ["Feature", "KeyFeature", "TimestampFeature"]
data/butterfree-1.2.3/butterfree/transform/features/__init__.py
150
77
9,094
LOAD_CONST 'Const file for Rova.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME logging STORE_NAME logging LOAD_NAME logging LOAD_METHOD getLogger LOAD_NAME __package__ CALL_METHOD STORE_NAME LOGGER LOAD_CONST 'zip_code' STORE_NAME CONF_ZIP_CODE LOAD_CONST 'house_number' STORE_NAME CONF_HOUSE_NUMBER ...
"""Const file for Rova.""" import logging LOGGER = logging.getLogger(__package__) CONF_ZIP_CODE = "zip_code" CONF_HOUSE_NUMBER = "house_number" CONF_HOUSE_NUMBER_SUFFIX = "house_number_suffix"
data/homeassistant-2024.2.2/homeassistant/components/rova/const.py
112
77
295,532
LOAD_CONST 'sphinxcontrib.bibtex' BUILD_LIST STORE_NAME extensions LOAD_CONST '_build' BUILD_LIST STORE_NAME exclude_patterns LOAD_CONST 'test.bib' BUILD_LIST STORE_NAME bibtex_bibfiles LOAD_CONST '.. rubric:: Regular Citations' STORE_NAME bibtex_bibliography_header LOAD_CONST '.. rubric:: Footnote Citations' STORE...
extensions = ["sphinxcontrib.bibtex"] exclude_patterns = ["_build"] bibtex_bibfiles = ["test.bib"] bibtex_bibliography_header = ".. rubric:: Regular Citations" bibtex_footbibliography_header = ".. rubric:: Footnote Citations"
data/sphinxcontrib-bibtex-2.6.2/test/roots/test-bibliography_header/conf.py
102
77
136,723
LOAD_CONST '\ntitle: "Quick test"\noutput:\n ioslides_presentation:\n widescreen: true\n smaller: true\neditor_options:\n chunk_output_type console\n' STORE_NAME c LOAD_CONST 0 LOAD_CONST None IMPORT_NAME yaml STORE_NAME yaml LOAD_NAME print LOAD_NAME yaml LOAD_METHOD dump LOAD_NAME yaml LOAD_METHOD load LOAD_NAME c ...
c = """ title: "Quick test" output: ioslides_presentation: widescreen: true smaller: true editor_options: chunk_output_type console """ "" import yaml print(yaml.dump(yaml.load(c))) ""
data/jupytext-1.16.1/tests/data/notebooks/outputs/ipynb_to_sphinx/jupyter_again.py
103
77
312,597
LOAD_CONST 'DO NOT EDIT.\n\nThis file was autogenerated. Do not edit it by hand,\nsince your modifications would be overwritten.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('get_word_index',) IMPORT_NAME keras_core.src.datasets.imdb IMPORT_FROM get_word_index STORE_NAME get_word_index POP_TOP LOAD_CONST 0 LOAD_CON...
"""DO NOT EDIT. This file was autogenerated. Do not edit it by hand, since your modifications would be overwritten. """ from keras_core.src.datasets.imdb import get_word_index from keras_core.src.datasets.imdb import load_data
data/keras-core-0.1.7/keras_core/datasets/imdb/__init__.py
133
77
385,637
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object KubernetesPlatform at 0x7fab4298e8a0, file "f.py", line 4> LOAD_CONST 'KubernetesPlatform' MAKE_FUNCTION LOAD_CONST 'KubernetesPlatform' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_...
from enum import Enum class KubernetesPlatform(str, Enum): Unknown = ("unknown",) Aks = ("aks",) Eks = ("eks",) Gke = ("gke",) Arc = ("arc",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/security/kubernetes_platform.py
197
77
262,119
LOAD_CONST 0 LOAD_CONST ('dns',) IMPORT_NAME google.cloud IMPORT_FROM dns STORE_NAME dns POP_TOP LOAD_CONST <code object test_quota at 0x7f8e447b2c00, file "f.py", line 4> LOAD_CONST 'test_quota' MAKE_FUNCTION STORE_NAME test_quota LOAD_CONST None RETURN_VALUE LOAD_GLOBAL dns LOAD_METHOD Client CALL_METHOD STORE_FAST...
from google.cloud import dns def test_quota(): client = dns.Client() quotas = client.quotas() assert "kind" not in quotas for keyspec in quotas["whitelistedKeySpecs"]: assert "kind" not in keyspec
data/google-cloud-dns-0.35.0/tests/system/test_system.py
202
77
121,895
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_BUILD_CLASS LOAD_CONST <code object Test at 0x7f8e44ccfc00, file "f.py", line 4> LOAD_CONST 'Test' MAKE_FUNCTION LOAD_CONST 'Test' LOAD_NAME unittest LOAD_ATTR TestCase CALL_FUNCTION STORE_NAME Test LOAD_CONST <code object test_suite at 0x7f8e...
import unittest class Test(unittest.TestCase): layer = "samplelayers.Layer111" def test_extra_test_in_products(self): pass def test_suite(): return unittest.defaultTestLoader.loadTestsFromTestCase(Test)
data/zope.testrunner-6.3.1/src/zope/testrunner/tests/testrunner-ex-pp-products/sampletests.py
275
77
115,748
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_BUILD_CLASS LOAD_CONST <code object Test at 0x7f8ab706f930, file "f.py", line 4> LOAD_CONST 'Test' MAKE_FUNCTION LOAD_CONST 'Test' LOAD_NAME unittest LOAD_ATTR TestCase CALL_FUNCTION STORE_NAME Test LOAD_CONST <code object test_suite at 0x7f8e...
import unittest class Test(unittest.TestCase): layer = "samplelayers.Layer111" def test_another_test_in_products(self): pass def test_suite(): return unittest.defaultTestLoader.loadTestsFromTestCase(Test)
data/zope.testrunner-6.3.1/src/zope/testrunner/tests/testrunner-ex-pp-products/more/sampletests.py
275
77
115,749
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 SPMachineLearningPublicationsResult at 0x7fab700e4030, file "f.py", line 4> LOAD_CONST 'SPMachineLearningPublicationsResult' MAKE_FUNCTION LOAD_CONST 'SPMach...
from office365.sharepoint.entity import Entity class SPMachineLearningPublicationsResult(Entity): """""" @property def entity_type_name(self): return ( "Microsoft.Office.Server.ContentCenter.SPMachineLearningPublicationResult" )
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/contentcenter/machinelearning/publications/result.py
251
77
189,707
LOAD_CONST 3 LOAD_CONST ('GmpGetAggregatesTestMixin',) IMPORT_NAME gmpv208.system.aggregates IMPORT_FROM GmpGetAggregatesTestMixin STORE_NAME GmpGetAggregatesTestMixin POP_TOP LOAD_CONST 3 LOAD_CONST ('Gmpv225TestCase',) IMPORT_NAME gmpv225 IMPORT_FROM Gmpv225TestCase STORE_NAME Gmpv225TestCase POP_TOP LOAD_BUILD_CLA...
from ...gmpv208.system.aggregates import GmpGetAggregatesTestMixin from ...gmpv225 import Gmpv225TestCase class Gmpv225GetAggregatesTestCase(GmpGetAggregatesTestMixin, Gmpv225TestCase): pass
data/python_gvm-24.1.0/tests/protocols/gmpv225/system/test_aggregates.py
247
77
371,945
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object SimulationContentStatus at 0x7fab70027660, file "f.py", line 4> LOAD_CONST 'SimulationContentStatus' MAKE_FUNCTION LOAD_CONST 'SimulationContentStatus' LOAD_NAME str LOAD_NAME Enum CALL_...
from enum import Enum class SimulationContentStatus(str, Enum): Unknown = ("unknown",) Draft = ("draft",) Ready = ("ready",) Archive = ("archive",) Delete = ("delete",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/simulation_content_status.py
197
77
260,157
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 SPAddinPermissionResponse at 0x7fab701aced0, file "f.py", line 4> LOAD_CONST 'SPAddinPermissionResponse' MAKE_FUNCTION LOAD_CONST 'SPAddinP...
from office365.runtime.client_value import ClientValue class SPAddinPermissionResponse(ClientValue): """""" @property def entity_type_name(self): return "Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SPAddinPermissionResponse"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_response.py
242
77
189,427
LOAD_CONST 0 LOAD_CONST ('FieldError',) IMPORT_NAME django.core.exceptions IMPORT_FROM FieldError STORE_NAME FieldError POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object FieldLookupError at 0x7fab7014f540, file "f.py", line 4> LOAD_CONST 'FieldLookupError' MAKE_FUNCTION LOAD_CONST 'FieldLookupError' LOAD_NAME FieldErro...
from django.core.exceptions import FieldError class FieldLookupError(FieldError): def __init__(self, model_field, lookup_expr): super().__init__( "Unsupported lookup '%s' for field '%s'." % (lookup_expr, model_field) )
data/django-filter-23.5/django_filters/exceptions.py
252
77
157,207
LOAD_CONST '\n pyudev.tests.utils\n ==========================\n\n Utils to support pyudev testing.\n\n .. moduleauthor:: mulhern <amulhern@redhat.com>\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('udev',) IMPORT_NAME IMPORT_FROM udev STORE_NAME udev POP_TOP LOAD_CONST 1 LOAD_CONST ('failed_health_check_wrapper', '...
""" pyudev.tests.utils ========================== Utils to support pyudev testing. .. moduleauthor:: mulhern <amulhern@redhat.com> """ from . import udev from .misc import failed_health_check_wrapper, is_unicode_string
data/pyudev-0.24.1/tests/utils/__init__.py
148
77
25,915
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_NumpyArr...
import pytest import kernels @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_pyawkward_NumpyArray_fill_touint16_fromint32_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint16_fromint32.py
210
77
220,735
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'DJANGO_SETTINGS_MODULE' LOAD_CONST 'settings' CALL_METHOD PO...
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
data/djangorestframework-gis-1.0/tests/manage.py
151
77
242,809
LOAD_CONST 0 LOAD_CONST ('gcp_audit_info',) IMPORT_NAME prowler.providers.gcp.lib.audit_info.audit_info IMPORT_FROM gcp_audit_info STORE_NAME gcp_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('AccessApproval',) IMPORT_NAME prowler.providers.gcp.services.iam.iam_service IMPORT_FROM AccessApproval STORE_NAME AccessApprova...
from prowler.providers.gcp.lib.audit_info.audit_info import gcp_audit_info from prowler.providers.gcp.services.iam.iam_service import AccessApproval accessapproval_client = AccessApproval(gcp_audit_info)
data/prowler-3.14.0/prowler/providers/gcp/services/iam/accessapproval_client.py
136
77
182,945
LOAD_CONST 'Data anonymizer package' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('PresidioAnonymizer', 'PresidioReversibleAnonymizer') IMPORT_NAME langchain_experimental.data_anonymizer.presidio IMPORT_FROM PresidioAnonymizer STORE_NAME PresidioAnonymizer IMPORT_FROM PresidioReversibleAnonymizer STORE_NAME PresidioRev...
"""Data anonymizer package""" from langchain_experimental.data_anonymizer.presidio import ( PresidioAnonymizer, PresidioReversibleAnonymizer, ) __all__ = ["PresidioAnonymizer", "PresidioReversibleAnonymizer"]
data/langchain_experimental-0.0.52/langchain_experimental/data_anonymizer/__init__.py
133
77
193,413
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_NumpyArr...
import pytest import kernels @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_pyawkward_NumpyArray_fill_touint64_fromfloat32_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint64_fromfloat32.py
209
77
220,720
LOAD_CONST 0 LOAD_CONST ('backend_to_check', 'check_import') IMPORT_NAME bt IMPORT_FROM backend_to_check STORE_NAME backend_to_check IMPORT_FROM check_import STORE_NAME check_import POP_TOP LOAD_CONST 0 LOAD_CONST ('platform_is_osx',) IMPORT_NAME pyscreenshot.util IMPORT_FROM platform_is_osx STORE_NAME platform_is_osx...
from bt import backend_to_check, check_import from pyscreenshot.util import platform_is_osx if not platform_is_osx(): if check_import("PySide2"): def test_pyside2(): backend_to_check("pyside2")
data/pyscreenshot-3.1/tests/test_pyside2.py
207
77
12,417
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_NumpyArr...
import pytest import kernels @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_pyawkward_NumpyArray_fill_touint64_fromint32_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint64_fromint32.py
210
77
220,711
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 0 LOAD_CONST ('app',) IMPORT_NAME js_example IMPORT_FROM app STORE_NAME app POP_TOP LOAD_NAME pytest LOAD_ATTR fixture LOAD_CONST 'app' LOAD_CONST ('name',) CALL_FUNCTION LOAD_CONST <code object fixture_app at 0x7faa74ae3150, file "f.py", li...
import pytest from js_example import app @pytest.fixture(name="app") def fixture_app(): app.testing = True yield app app.testing = False @pytest.fixture def client(app): return app.test_client()
data/flask-3.0.2/examples/javascript/tests/conftest.py
218
77
251,621
LOAD_CONST 'opensearch base URL and path.' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('OpenSearchServiceResponse',) IMPORT_NAME responses IMPORT_FROM OpenSearchServiceResponse STORE_NAME OpenSearchServiceResponse POP_TOP LOAD_CONST 'https?://es\\.(.+)\\.amazonaws\\.com' BUILD_LIST STORE_NAME url_bases LOAD_NAME Ope...
"""opensearch base URL and path.""" from .responses import OpenSearchServiceResponse url_bases = [r"https?://es\.(.+)\.amazonaws\.com"] response = OpenSearchServiceResponse() url_paths = {"{0}/.*$": response.dispatch}
data/moto-5.0.2/moto/opensearch/urls.py
116
77
197,899
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_NumpyArr...
import pytest import kernels @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_pyawkward_NumpyArray_fill_touint16_fromuint64_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint16_fromuint64.py
210
77
220,708
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME doctest STORE_NAME doctest LOAD_CONST <code object generate_some_gc_statistics at 0x7f8e2ff25420, file "f.py", line 4> LOAD_CONST 'generate_some_gc_statistics' MAKE_FUNCTION STORE_NAME generate_some_gc_statistics LOAD_CONST <code object test_suite at 0x7f8e2ff250c0, file "f.py...
import doctest def generate_some_gc_statistics(): """ >>> import gc >>> l = []; l.append(l); del l >>> _ = gc.collect() """ def test_suite(): return doctest.DocTestSuite()
data/zope.testrunner-6.3.1/src/zope/testrunner/tests/testrunner-ex/gcstats.py
164
77
115,755
LOAD_CONST 1 LOAD_CONST ('SUPPORTED_MULTIMODAL_PIPELINES', 'DiffusersMultiModalPipelineResolver') IMPORT_NAME multimodal IMPORT_FROM SUPPORTED_MULTIMODAL_PIPELINES STORE_NAME SUPPORTED_MULTIMODAL_PIPELINES IMPORT_FROM DiffusersMultiModalPipelineResolver STORE_NAME DiffusersMultiModalPipelineResolver POP_TOP LOAD_CONST...
from .multimodal import ( SUPPORTED_MULTIMODAL_PIPELINES, DiffusersMultiModalPipelineResolver, ) __all__ = [ "SUPPORTED_MULTIMODAL_PIPELINES", "DiffusersMultiModalPipelineResolver", ]
data/wandb-0.16.3/wandb/integration/diffusers/resolvers/__init__.py
132
77
360,604
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_NumpyArr...
import pytest import kernels @pytest.mark.skip(reason="Unable to generate any tests for kernel") def test_pyawkward_NumpyArray_fill_touint32_fromint32_1(): raise NotImplementedError("Unable to generate any tests for kernel")
data/awkward-cpp-29/tests-spec/test_pyawkward_NumpyArray_fill_touint32_fromint32.py
210
77
220,706
LOAD_CONST 0 LOAD_CONST ('TestCase', 'min_os_level') IMPORT_NAME PyObjCTools.TestSupport IMPORT_FROM TestCase STORE_NAME TestCase IMPORT_FROM min_os_level STORE_NAME min_os_level POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME Photos STORE_NAME Photos LOAD_BUILD_CLASS LOAD_CONST <code object TestPHProject at 0x7fab4...
from PyObjCTools.TestSupport import TestCase, min_os_level import Photos class TestPHProject(TestCase): @min_os_level("10.14") def test_methods(self): self.assertResultIsBOOL(Photos.PHProject.hasProjectPreview)
data/pyobjc-framework-Photos-10.1/PyObjCTest/test_phproject.py
264
77
80,327
LOAD_CONST 0 LOAD_CONST ('dvr',) IMPORT_NAME neutron_lib.api.definitions IMPORT_FROM dvr STORE_NAME dvr POP_TOP LOAD_CONST 0 LOAD_CONST ('base',) IMPORT_NAME neutron_lib.tests.unit.api.definitions IMPORT_FROM base STORE_NAME base POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object DvrDefinitionTestCase at 0x7fab80232a50...
from neutron_lib.api.definitions import dvr from neutron_lib.tests.unit.api.definitions import base class DvrDefinitionTestCase(base.DefinitionBaseTestCase): extension_module = dvr extension_resources = () extension_attributes = (dvr.DISTRIBUTED,)
data/neutron-lib-3.10.0/neutron_lib/tests/unit/api/definitions/test_dvr.py
210
77
384,949
LOAD_CONST 1 LOAD_CONST ('ServiceOperations',) IMPORT_NAME _service_operations_async IMPORT_FROM ServiceOperations STORE_NAME ServiceOperations POP_TOP LOAD_CONST 1 LOAD_CONST ('FileSystemOperations',) IMPORT_NAME _file_system_operations_async IMPORT_FROM FileSystemOperations STORE_NAME FileSystemOperations POP_TOP L...
from ._service_operations_async import ServiceOperations from ._file_system_operations_async import FileSystemOperations from ._path_operations_async import PathOperations __all__ = [ "ServiceOperations", "FileSystemOperations", "PathOperations", ]
data/azure-multiapi-storage-1.2.0/azure/multiapi/storagev2/filedatalake/v2019_07_07/_generated/aio/operations_async/__init__.py
143
77
311,596
LOAD_CONST 0 LOAD_CONST ('MyWidget',) IMPORT_NAME project.widget IMPORT_FROM MyWidget STORE_NAME MyWidget POP_TOP LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME MyWidget CALL_FUNCTION STORE_NAME w LOAD_NAME w LOAD_ATTR x LOAD_NAME w LOAD_ATTR y COMPARE_OP == POP_JUMP_IF_TRUE LOAD_...
from project.widget import MyWidget if __name__ == "__main__": w = MyWidget() assert w.x == w.y w.y = 868 assert w.x == 868 w.y = 370 assert w.x == 370
data/Kivy-2.3.0/kivy/tests/pyinstaller/simple_widget/main.py
160
77
47,512
LOAD_CONST 0 LOAD_CONST ('CnnPolicy', 'MlpPolicy', 'MultiInputPolicy') IMPORT_NAME sb3_contrib.ppo_mask.policies IMPORT_FROM CnnPolicy STORE_NAME CnnPolicy IMPORT_FROM MlpPolicy STORE_NAME MlpPolicy IMPORT_FROM MultiInputPolicy STORE_NAME MultiInputPolicy POP_TOP LOAD_CONST 0 LOAD_CONST ('MaskablePPO',) IMPORT_NAME sb...
from sb3_contrib.ppo_mask.policies import CnnPolicy, MlpPolicy, MultiInputPolicy from sb3_contrib.ppo_mask.ppo_mask import MaskablePPO __all__ = ["CnnPolicy", "MlpPolicy", "MultiInputPolicy", "MaskablePPO"]
data/sb3_contrib-2.2.1/sb3_contrib/ppo_mask/__init__.py
156
77
193,227
LOAD_CONST 'Holds connection clients.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('AbstractClient',) IMPORT_NAME butterfree.clients.abstract_client IMPORT_FROM AbstractClient STORE_NAME AbstractClient POP_TOP LOAD_CONST 0 LOAD_CONST ('CassandraClient',) IMPORT_NAME butterfree.clients.cassandra_client IMPORT_FROM Cas...
"""Holds connection clients.""" from butterfree.clients.abstract_client import AbstractClient from butterfree.clients.cassandra_client import CassandraClient from butterfree.clients.spark_client import SparkClient __all__ = ["SparkClient", "CassandraClient", "AbstractClient"]
data/butterfree-1.2.3/butterfree/clients/__init__.py
156
77
9,024
LOAD_CONST 0 LOAD_CONST ('Iterable', 'Tuple', 'Union', 'Dict') IMPORT_NAME typing IMPORT_FROM Iterable STORE_NAME Iterable IMPORT_FROM Tuple STORE_NAME Tuple IMPORT_FROM Union STORE_NAME Union IMPORT_FROM Dict STORE_NAME Dict POP_TOP LOAD_CONST 'utf-8' STORE_NAME ENCODING LOAD_NAME Union LOAD_NAME str LOAD_NAME bytes...
from typing import Iterable, Tuple, Union, Dict ENCODING = "utf-8" # should always be utf-8 scope_value_type = Union[str, bytes, Iterable[Tuple[bytes, bytes]]] scope_type = Dict[str, scope_value_type]
data/slack_bolt-1.18.1/slack_bolt/adapter/asgi/utils.py
141
77
171,776
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME test_verify IMPORT_STAR LOAD_NAME pytest LOAD_ATTR mark LOAD_METHOD filterwarnings LOAD_CONST 'ignore:reimporting:UserWarning' CALL_METHOD STORE_NAME pytestmark LOAD_CONST <code object setup_module at 0x7fa6a...
import pytest from .test_verify import * pytestmark = pytest.mark.filterwarnings("ignore:reimporting:UserWarning") def setup_module(): import cffi.verifier cffi.verifier.cleanup_tmpdir(keep_so=True)
data/cffi-1.16.0/testing/cffi0/test_verify2.py
176
77
54,114