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 ('TYPE_CHECKING',)
IMPORT_NAME typing
IMPORT_FROM TYPE_CHECKING
STORE_NAME TYPE_CHECKING
POP_TOP
SETUP_EXCEPT to 30
LOAD_NAME TYPE_CHECKING
POP_JUMP_IF_TRUE
LOAD_NAME __sphinx_build__
POP_JUMP_IF_FALSE
LOAD_CONST True
STORE_NAME IS_SPHINX_BUILD
POP_BLOCK
JUMP_FORWARD to 54
DUP_TOP
LOAD_NAME ... | from typing import TYPE_CHECKING
try:
if not TYPE_CHECKING and __sphinx_build__:
IS_SPHINX_BUILD = True
except NameError:
IS_SPHINX_BUILD = False
| data/acryl-datahub-0.12.1.5/src/datahub/utilities/docs_build.py | 129 | 62 | 435,703 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.backbone.preprocessing.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.backbone.preprocessing
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.backbone.preprocessing."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.backbone.preprocessing import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/backbone/preprocessing.py | 82 | 62 | 401,266 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object InstallIntent at 0x7fab4298e1e0, file "f.py", line 4>
LOAD_CONST 'InstallIntent'
MAKE_FUNCTION
LOAD_CONST 'InstallIntent'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STORE_NAME InstallInt... | from enum import Enum
class InstallIntent(str, Enum):
Available = ("available",)
Required = ("required",)
Uninstall = ("uninstall",)
AvailableWithoutEnrollment = ("availableWithoutEnrollment",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/install_intent.py | 170 | 62 | 259,694 |
LOAD_CONST 'Errors raised from this package.'
STORE_NAME __doc__
LOAD_BUILD_CLASS
LOAD_CONST <code object InstallerError at 0x7fab8231b270, file "f.py", line 4>
LOAD_CONST 'InstallerError'
MAKE_FUNCTION
LOAD_CONST 'InstallerError'
LOAD_NAME Exception
CALL_FUNCTION
STORE_NAME InstallerError
LOAD_BUILD_CLASS
LOAD_CONST... | """Errors raised from this package."""
class InstallerError(Exception):
"""All exceptions raised from this package's code."""
class InvalidWheelSource(InstallerError):
"""When a wheel source violates a contract, or is not supported."""
| data/installer-0.7.0/src/installer/exceptions.py | 252 | 62 | 127,416 |
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 NaturalLanguage
STORE_NAME NaturalLanguage
LOAD_BUILD_CLASS
LOAD_CONST <code object TestCallableMetadata at 0x7fab64179d20, file "f.py", line 6>
LOAD_CONS... | from PyObjCTools.TestSupport import TestCase
import NaturalLanguage
class TestCallableMetadata(TestCase):
def test_callable_metadata_is_sane(self):
self.assertCallableMetadataIsSane(NaturalLanguage)
| data/pyobjc-framework-NaturalLanguage-10.1/PyObjCTest/test_naturallanguage.py | 252 | 62 | 186,746 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model."""
from tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/recommendation/ml/model/__init__.py | 82 | 62 | 401,207 |
LOAD_CONST 1
LOAD_CONST ('soundex',)
IMPORT_NAME soundex
IMPORT_FROM soundex
STORE_NAME soundex
POP_TOP
LOAD_CONST 1
LOAD_CONST ('metaphone',)
IMPORT_NAME metaphone
IMPORT_FROM metaphone
STORE_NAME metaphone
POP_TOP
LOAD_CONST 1
LOAD_CONST ('dmetaphone',)
IMPORT_NAME metaphone
IMPORT_FROM dmetaphone
STORE_NAME dmetap... | from .soundex import soundex # NOQA
from .metaphone import metaphone # NOQA
from .metaphone import dmetaphone # NOQA
from .nysiis import nysiis # NOQA
| data/phonetics-1.0.5/phonetics/__init__.py | 127 | 62 | 169,465 |
LOAD_CONST 2
LOAD_CONST ('_utilities',)
IMPORT_NAME
IMPORT_FROM _utilities
STORE_NAME _utilities
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME typing
STORE_NAME typing
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME app
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME backend_environment
IMPORT_STAR
LOAD_CONST ... | from .. import _utilities
import typing
from .app import *
from .backend_environment import *
from .branch import *
from .domain_association import *
from .webhook import *
from ._inputs import *
from . import outputs
| data/pulumi_aws-6.22.2/pulumi_aws/amplify/__init__.py | 171 | 62 | 227,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 RemoteAssistanceOnboardingStatus at 0x7fab820f4e40, file "f.py", line 4>
LOAD_CONST 'RemoteAssistanceOnboardingStatus'
MAKE_FUNCTION
LOAD_CONST 'RemoteAssistanceOnboardingStatus'
LOAD_NA... | from enum import Enum
class RemoteAssistanceOnboardingStatus(str, Enum):
NotOnboarded = ("notOnboarded",)
Onboarding = ("onboarding",)
Onboarded = ("onboarded",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/remote_assistance_onboarding_status.py | 188 | 62 | 259,654 |
LOAD_CONST 'Configs.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('context',)
IMPORT_NAME haiku._src.config
IMPORT_FROM context
STORE_NAME context
POP_TOP
LOAD_CONST 0
LOAD_CONST ('set',)
IMPORT_NAME haiku._src.config
IMPORT_FROM set
STORE_NAME set
POP_TOP
LOAD_CONST ('context', 'set')
STORE_NAME __all__
LOAD_CONST ... | """Configs."""
from haiku._src.config import context
from haiku._src.config import set # pylint: disable=redefined-builtin
__all__ = (
"context",
"set",
)
| data/dm-haiku-0.0.11/haiku/config.py | 86 | 62 | 78,227 |
LOAD_CONST 'Entry point for the TensorBoard plugin package for performance profiling.\n\nPublic submodules:\n summary: Summary-writing ops.\nPrivate submodules:\n metadata: Global constants and the like.\n plugin: TensorBoard backend plugin.\n'
STORE_NAME __doc__
LOAD_CONST None
RETURN_VALUE | """Entry point for the TensorBoard plugin package for performance profiling.
Public submodules:
summary: Summary-writing ops.
Private submodules:
metadata: Global constants and the like.
plugin: TensorBoard backend plugin.
"""
| data/tensorboard_plugin_profile-2.15.1/tensorboard_plugin_profile/__init__.py | 70 | 62 | 186,468 |
LOAD_CONST 'TorchDataLoader'
LOAD_CONST 'prepare_torch_dataloader'
LOAD_CONST 'MixDataLoader'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 1
LOAD_CONST ('TorchDataLoader', 'prepare_torch_dataloader')
IMPORT_NAME fdl
IMPORT_FROM TorchDataLoader
STORE_NAME TorchDataLoader
IMPORT_FROM prepare_torch_dataloader
STORE_NAME prep... | __all__ = ["TorchDataLoader", "prepare_torch_dataloader", "MixDataLoader"]
from .fdl import TorchDataLoader, prepare_torch_dataloader
from .mix_dataloader import MixDataLoader
| data/FastNLP-1.0.1/fastNLP/core/dataloaders/torch_dataloader/__init__.py | 137 | 62 | 367,538 |
LOAD_CONST 2
LOAD_CONST ('_utilities',)
IMPORT_NAME
IMPORT_FROM _utilities
STORE_NAME _utilities
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME typing
STORE_NAME typing
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME language_model
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME medical_vocabulary
IMPORT_STAR
L... | from .. import _utilities
import typing
from .language_model import *
from .medical_vocabulary import *
from .vocabulary import *
from .vocabulary_filter import *
from ._inputs import *
from . import outputs
| data/pulumi_aws-6.22.2/pulumi_aws/transcribe/__init__.py | 159 | 62 | 227,594 |
LOAD_CONST 0
LOAD_CONST ('BinaryClassificationMetrics',)
IMPORT_NAME handyspark.extensions.evaluation
IMPORT_FROM BinaryClassificationMetrics
STORE_NAME BinaryClassificationMetrics
POP_TOP
LOAD_CONST 0
LOAD_CONST ('HandyFrame', 'Bucket', 'Quantile', 'DataFrame')
IMPORT_NAME handyspark.sql
IMPORT_FROM HandyFrame
STORE_... | from handyspark.extensions.evaluation import BinaryClassificationMetrics
from handyspark.sql import HandyFrame, Bucket, Quantile, DataFrame
__all__ = ["HandyFrame", "Bucket", "Quantile", "BinaryClassificationMetrics"]
| data/handyspark-0.2.2a1/handyspark/__init__.py | 146 | 62 | 78,894 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME dns.immutable
STORE_NAME dns
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME dns.rdtypes.nsbase
STORE_NAME dns
LOAD_NAME dns
LOAD_ATTR immutable
LOAD_ATTR immutable
LOAD_BUILD_CLASS
LOAD_CONST <code object NSAP_PTR at 0x7faad411d780, file "f.py", line 5>
LOAD_CONST 'NSAP_PTR'
MAKE_FU... | import dns.immutable
import dns.rdtypes.nsbase
@dns.immutable.immutable
class NSAP_PTR(dns.rdtypes.nsbase.UncompressedNS):
"""NSAP-PTR record"""
| data/dnspython-2.6.1/dns/rdtypes/IN/NSAP_PTR.py | 193 | 62 | 354,882 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.inspector.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.inspector
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.inspector."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.inspector import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/keras/inspector.py | 82 | 62 | 401,251 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST 0
LOAD_CONST ('run_exit',)
IMPORT_NAME nose.core
IMPORT_FROM run_exit
STORE_NAME run_exit
POP_TOP
LOAD_NAME sys
LOAD_ATTR argv
LOAD_CONST 0
BINARY_SUBSCR
LOAD_METHOD endswith
LOAD_CONST '__main__.py'
CALL_METHOD
POP_JUMP_IF_FALSE
LOAD_CONST '%s -... | import sys
from nose.core import run_exit
if sys.argv[0].endswith("__main__.py"):
sys.argv[0] = "%s -m nose" % sys.executable
run_exit()
| data/nose-1.3.7/nose/__main__.py | 120 | 62 | 401,686 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.postprocess.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.postprocess
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.postprocess."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.postprocess import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/keras/postprocess.py | 82 | 62 | 401,253 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 1
LOAD_CONST ('BoundPrimaryIP', 'PrimaryIPsClient', 'PrimaryIPsPageResult')
IMPORT_NAME client
IMPORT_FROM BoundPrimaryIP
STORE_NAME BoundPrimaryIP
IMPORT_FROM PrimaryIPsClient
STORE_NAME P... | from __future__ import annotations
from .client import BoundPrimaryIP, PrimaryIPsClient, PrimaryIPsPageResult # noqa: F401
from .domain import CreatePrimaryIPResponse, PrimaryIP # noqa: F401
| data/hcloud-1.33.2/hcloud/primary_ips/__init__.py | 141 | 62 | 436,488 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.text_dataloader.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.data_util.text_dataloader
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.text_dataloader."""
from tensorflow_examples.lite.model_maker.core.data_util.text_dataloader import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/data_util/text_dataloader.py | 82 | 62 | 389,375 |
LOAD_CONST 0
LOAD_CONST ('pages', 'client', 'resources')
IMPORT_NAME awxkit.api
IMPORT_FROM pages
STORE_NAME pages
IMPORT_FROM client
STORE_NAME client
IMPORT_FROM resources
STORE_NAME resources
POP_TOP
LOAD_CONST 0
LOAD_CONST ('config',)
IMPORT_NAME awxkit.config
IMPORT_FROM config
STORE_NAME config
POP_TOP
LOAD_CON... | from awxkit.api import pages, client, resources # NOQA
from awxkit.config import config # NOQA
from awxkit import awx # NOQA
from awxkit.ws import WSClient # NOQA
| data/awxkit-23.8.1/awxkit/__init__.py | 131 | 62 | 331,788 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.metadata_writers.metadata_writer.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.metadata_writers.metadata_writer
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.task.metadata_writers.metadata_writer."""
from tensorflow_examples.lite.model_maker.core.task.metadata_writers.metadata_writer import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/task/metadata_writers/metadata_writer.py | 82 | 62 | 389,408 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.metadata_writers.metadata_writer.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.metadata_writers.metadata_writer
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.task.metadata_writers.metadata_writer."""
from tensorflow_examples.lite.model_maker.core.task.metadata_writers.metadata_writer import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/task/metadata_writers/metadata_writer.py | 82 | 62 | 401,315 |
LOAD_CONST 0
LOAD_CONST ('registry',)
IMPORT_NAME sqlalchemy.dialects
IMPORT_FROM registry
STORE_NAME registry
POP_TOP
LOAD_NAME registry
LOAD_METHOD register
LOAD_CONST 'sqlalchemy_sqlany'
LOAD_CONST 'sqlalchemy_sqlany.base'
LOAD_CONST 'dialect'
CALL_METHOD
POP_TOP
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME sqlalche... | from sqlalchemy.dialects import registry
registry.register("sqlalchemy_sqlany", "sqlalchemy_sqlany.base", "dialect")
from sqlalchemy.testing.plugin.pytestplugin import *
| data/sqlalchemy_sqlany-1.0.4/test/conftest.py | 104 | 62 | 441,575 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.autoaugment.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.autoaugment
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.autoaugment."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.autoaugment import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/aug/autoaugment.py | 82 | 62 | 389,323 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.mosaic.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.mosaic
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.mosaic."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.mosaic import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/aug/mosaic.py | 82 | 62 | 389,322 |
LOAD_CONST 1
LOAD_CONST ('models',)
IMPORT_NAME
IMPORT_FROM models
STORE_NAME models
POP_TOP
LOAD_CONST 2
LOAD_CONST ('*',)
IMPORT_NAME basics
IMPORT_STAR
LOAD_CONST 2
LOAD_CONST ('*',)
IMPORT_NAME callback.all
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME augment
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)... | from . import models
from ..basics import *
from ..callback.all import *
from .augment import *
from .core import *
from .data import *
from .models.all import *
from .learner import *
from .utils import *
| data/fastai-2.7.14/fastai/vision/all.py | 159 | 62 | 172,288 |
LOAD_CONST 0
LOAD_CONST ('models',)
IMPORT_NAME django.db
IMPORT_FROM models
STORE_NAME models
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Comment at 0x7fab81fc4780, file "f.py", line 4>
LOAD_CONST 'Comment'
MAKE_FUNCTION
LOAD_CONST 'Comment'
LOAD_NAME models
LOAD_ATTR Model
CALL_FUNCTION
STORE_NAME Comment
LOAD_... | from django.db import models
class Comment(models.Model):
email = models.EmailField()
content = models.CharField(max_length=200)
created = models.DateTimeField(auto_now_add=True)
| data/drf-extensions-0.7.1/tests_app/tests/functional/mixins/detail_serializer_mixin/models.py | 179 | 62 | 68,852 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.anchors.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.anchors
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.anchors."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.anchors import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/keras/anchors.py | 82 | 62 | 389,338 |
SETUP_EXCEPT to 18
LOAD_CONST 1
LOAD_CONST ('main',)
IMPORT_NAME cli
IMPORT_FROM main
STORE_NAME main
POP_TOP
POP_BLOCK
JUMP_FORWARD to 62
DUP_TOP
LOAD_NAME ImportError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
STORE_NAME e
POP_TOP
SETUP_FINALLY to 48
LOAD_NAME ImportError
LOAD_CONST 'benchmark dependenc... | try:
from .cli import main
except ImportError as e:
raise ImportError(
"benchmark dependencies not installed, please consult the README"
) from e
if __name__ == "__main__":
exit(main())
| data/json-stream-rs-tokenizer-0.4.25/json_stream_rs_tokenizer/benchmark/__main__.py | 154 | 62 | 418,496 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME proto
STORE_NAME proto
LOAD_NAME proto
LOAD_ATTR module
LOAD_CONST 'google.cloud.bigquery.storage.v1'
BUILD_MAP
LOAD_CONST ('package', 'manifest')
CALL_FUNCTION
STORE_NAME __protobuf__
LOAD_NAME tuple
LOAD_NAME sorted
LOAD_NAME __protobuf__
LOAD_ATTR manifest
CALL_FUNCTION
C... | import proto # type: ignore
__protobuf__ = proto.module(
package="google.cloud.bigquery.storage.v1",
manifest={},
)
__all__ = tuple(sorted(__protobuf__.manifest))
| data/google-cloud-bigquery-storage-2.24.0/google/cloud/bigquery_storage_v1/types/annotations.py | 83 | 62 | 80,697 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.det_model_fn.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.det_model_fn
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.det_model_fn."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.det_model_fn import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/det_model_fn.py | 82 | 62 | 389,313 |
LOAD_CONST 0
LOAD_CONST ('CryptographicEngine',)
IMPORT_NAME kmip.services.server.crypto.api
IMPORT_FROM CryptographicEngine
STORE_NAME CryptographicEngine
POP_TOP
LOAD_CONST 0
LOAD_CONST ('CryptographyEngine',)
IMPORT_NAME kmip.services.server.crypto.engine
IMPORT_FROM CryptographyEngine
STORE_NAME CryptographyEngine... | from kmip.services.server.crypto.api import CryptographicEngine
from kmip.services.server.crypto.engine import CryptographyEngine
__all__ = [
"CryptographicEngine",
"CryptographyEngine",
]
| data/PyKMIP-0.10.0/kmip/services/server/crypto/__init__.py | 111 | 62 | 202,979 |
LOAD_BUILD_CLASS
LOAD_CONST <code object MetaPropMissingError at 0x7faa74640f60, file "f.py", line 1>
LOAD_CONST 'MetaPropMissingError'
MAKE_FUNCTION
LOAD_CONST 'MetaPropMissingError'
LOAD_NAME Exception
CALL_FUNCTION
STORE_NAME MetaPropMissingError
LOAD_BUILD_CLASS
LOAD_CONST <code object UnsupportedTFSerializationFo... | class MetaPropMissingError(Exception):
pass
class UnsupportedTFSerializationFormat(Exception):
pass
class UnmatchedKerasVersion(Exception):
pass
class InvalidCaffeModelArchive(Exception):
pass
| data/ibm_watson_machine_learning-1.0.347/ibm_watson_machine_learning/libs/repo/util/exceptions.py | 427 | 62 | 252,097 |
LOAD_CONST 'GET'
LOAD_NAME uri
LOAD_CONST '/silly'
CALL_FUNCTION
LOAD_CONST (1, 1)
LOAD_CONST ('AAAAAAAAAAAAA', '++++++++++')
BUILD_LIST
LOAD_CONST b''
LOAD_CONST ('method', 'uri', 'version', 'headers', 'body')
BUILD_CONST_KEY_MAP
STORE_NAME request
LOAD_CONST None
RETURN_VALUE | request = {
"method": "GET",
"uri": uri("/silly"),
"version": (1, 1),
"headers": [("AAAAAAAAAAAAA", "++++++++++")],
"body": b"",
}
| data/gunicorn-21.2.0/tests/requests/valid/004.py | 74 | 62 | 343,446 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object TeamVisibilityType at 0x7fab70027660, file "f.py", line 4>
LOAD_CONST 'TeamVisibilityType'
MAKE_FUNCTION
LOAD_CONST 'TeamVisibilityType'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STORE_... | from enum import Enum
class TeamVisibilityType(str, Enum):
Private = ("private",)
Public = ("public",)
HiddenMembership = ("hiddenMembership",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/team_visibility_type.py | 178 | 62 | 259,782 |
LOAD_BUILD_CLASS
LOAD_CONST <code object Echo at 0x7fab7014f270, file "f.py", line 1>
LOAD_CONST 'Echo'
MAKE_FUNCTION
LOAD_CONST 'Echo'
LOAD_NAME object
CALL_FUNCTION
STORE_NAME Echo
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CONST 'Echo'
STORE_NAME __qualname__
LOAD_CONST 'An object t... | class Echo(object):
"""An object that implements just the write method of the file-like
interface.
"""
def write(self, value):
"""Write the value by returning it, instead of storing in a buffer."""
return value
| data/djangorestframework-csv-3.0.2/rest_framework_csv/misc.py | 171 | 62 | 156,645 |
LOAD_CONST 1
LOAD_CONST ('OpRunUnaryNum',)
IMPORT_NAME _op
IMPORT_FROM OpRunUnaryNum
STORE_NAME OpRunUnaryNum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Identity at 0x7fab700781e0, file "f.py", line 4>
LOAD_CONST 'Identity'
MAKE_FUNCTION
LOAD_CONST 'Identity'
LOAD_NAME OpRunUnaryNum
CALL_FUNCTION
STORE_NAME Iden... | from ._op import OpRunUnaryNum
class Identity(OpRunUnaryNum):
def _run(self, a): # type: ignore
if a is None:
return (None,)
return (a.copy(),)
| data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_identity.py | 206 | 62 | 85,719 |
LOAD_CONST 0
LOAD_CONST ('GluonTSException',)
IMPORT_NAME gluonts.exceptions
IMPORT_FROM GluonTSException
STORE_NAME GluonTSException
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ForecasterNotFound at 0x7fa90e3bdf60, file "f.py", line 4>
LOAD_CONST 'ForecasterNotFound'
MAKE_FUNCTION
LOAD_CONST 'ForecasterNotFound'... | from gluonts.exceptions import GluonTSException
class ForecasterNotFound(GluonTSException):
"""
An exception indicating that a forecaster identified by the given name
cannot be found in the current environment.
"""
| data/gluonts-0.14.4/src/gluonts/shell/exceptions.py | 179 | 62 | 140,326 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.train_image_classifier_lib.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.train_image_classifier_lib
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.task.train_image_classifier_lib."""
from tensorflow_examples.lite.model_maker.core.task.train_image_classifier_lib import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/task/train_image_classifier_lib.py | 82 | 62 | 389,391 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.tfmot.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.tfmot
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.tfmot."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.tfmot import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/keras/tfmot.py | 82 | 62 | 389,339 |
LOAD_BUILD_CLASS
LOAD_CONST <code object IdGenerator at 0x7fab8233ded0, file "f.py", line 1>
LOAD_CONST 'IdGenerator'
MAKE_FUNCTION
LOAD_CONST 'IdGenerator'
LOAD_NAME object
CALL_FUNCTION
STORE_NAME IdGenerator
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CONST 'IdGenerator'
STORE_NAME __... | class IdGenerator(object):
def __init__(self):
self._id_counter = 0
def get_next_id(self):
id = self._id_counter
self._id_counter += 1
return str(id)
| data/gherkin-official-28.0.0/gherkin/stream/id_generator.py | 267 | 62 | 140,461 |
LOAD_CONST 'pytest configuration.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME asyncio
STORE_NAME asyncio
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os
STORE_NAME os
LOAD_NAME os
LOAD_ATTR name
LOAD_CONST 'nt'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_NAME asyncio
LOAD_METHOD set_event_loop_policy
LOAD_NA... | """pytest configuration."""
import asyncio
import os
if os.name == "nt":
asyncio.set_event_loop_policy(
asyncio.WindowsSelectorEventLoopPolicy() # type:ignore[attr-defined]
)
| data/nbconvert-7.16.1/nbconvert/conftest.py | 96 | 62 | 9,855 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.image_dataloader.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.data_util.image_dataloader
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.image_dataloader."""
from tensorflow_examples.lite.model_maker.core.data_util.image_dataloader import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/data_util/image_dataloader.py | 82 | 62 | 389,378 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME json
STORE_NAME json
LOAD_CONST 0
LOAD_CONST ('Model',)
IMPORT_NAME chargebee.model
IMPORT_FROM Model
STORE_NAME Model
POP_TOP
LOAD_CONST 0
LOAD_CONST ('request',)
IMPORT_NAME chargebee
IMPORT_FROM request
STORE_NAME request
POP_TOP
LOAD_CONST 0
LOAD_CONST ('APIError',)
IMPOR... | import json
from chargebee.model import Model
from chargebee import request
from chargebee import APIError
class ThirdPartyPaymentMethod(Model):
fields = ["type", "gateway", "gateway_account_id", "reference_id"]
| data/chargebee-2.35.0/chargebee/models/third_party_payment_method.py | 235 | 62 | 126,352 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME abc
STORE_NAME abc
LOAD_BUILD_CLASS
LOAD_CONST <code object Component at 0x7fab70306780, file "f.py", line 4>
LOAD_CONST 'Component'
MAKE_FUNCTION
LOAD_CONST 'Component'
LOAD_NAME abc
LOAD_ATTR ABC
CALL_FUNCTION
STORE_NAME Component
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __nam... | import abc
class Component(abc.ABC):
def __str__(self):
return f"({self.__class__.__name__}| {vars(self)}"
def __repr__(self):
return str(self)
| data/localstack-core-3.1.0/localstack/services/stepfunctions/asl/component/component.py | 259 | 62 | 225,221 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.backbone.preprocessing.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.backbone.preprocessing
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.backbone.preprocessing."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.backbone.preprocessing import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/backbone/preprocessing.py | 82 | 62 | 389,359 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.recommendation_config.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.data_util.recommendation_config
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.recommendation_config."""
from tensorflow_examples.lite.model_maker.core.data_util.recommendation_config import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/data_util/recommendation_config.py | 82 | 62 | 389,379 |
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 WebKit
STORE_NAME WebKit
LOAD_BUILD_CLASS
LOAD_CONST <code object TestDOMCSSStyleDeclaration at 0x7fab82278d20, file "f.py", line 5>
LOAD_CONST 'TestDOMCS... | from PyObjCTools.TestSupport import TestCase
import WebKit
class TestDOMCSSStyleDeclaration(TestCase):
def testMethods(self):
self.assertResultIsBOOL(WebKit.DOMCSSStyleDeclaration.isPropertyImplicit_)
| data/pyobjc-framework-WebKit-10.1/PyObjCTest/test_domcssstyledeclaration.py | 247 | 62 | 418,858 |
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 JavaScriptCore
STORE_NAME JavaScriptCore
LOAD_BUILD_CLASS
LOAD_CONST <code object TestCallableMetadata at 0x7fab82278c90, file "f.py", line 6>
LOAD_CONST ... | from PyObjCTools.TestSupport import TestCase
import JavaScriptCore
class TestCallableMetadata(TestCase):
def test_callable_metadata_is_sane(self):
self.assertCallableMetadataIsSane(JavaScriptCore)
| data/pyobjc-framework-WebKit-10.1/PyObjCTest/test_javascriptcore.py | 250 | 62 | 418,845 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.postprocess.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.postprocess
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.postprocess."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.postprocess import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/keras/postprocess.py | 82 | 62 | 389,346 |
LOAD_CONST 0
LOAD_CONST ('Bunch',)
IMPORT_NAME celery.utils.objects
IMPORT_FROM Bunch
STORE_NAME Bunch
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object test_Bunch at 0x7fab41d288a0, file "f.py", line 4>
LOAD_CONST 'test_Bunch'
MAKE_FUNCTION
LOAD_CONST 'test_Bunch'
CALL_FUNCTION
STORE_NAME test_Bunch
LOAD_CONST None
RE... | from celery.utils.objects import Bunch
class test_Bunch:
def test(self):
x = Bunch(foo="foo", bar=2)
assert x.foo == "foo"
assert x.bar == 2
| data/celery-5.3.6/t/unit/utils/test_objects.py | 255 | 62 | 69,585 |
LOAD_CONST 'Compute Resource Requirements needed to deploy a model'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('absolute_import',)
IMPORT_NAME __future__
IMPORT_FROM absolute_import
STORE_NAME absolute_import
POP_TOP
LOAD_CONST 0
LOAD_CONST ('ResourceRequirements',)
IMPORT_NAME sagemaker.compute_resource_requirement... | """Compute Resource Requirements needed to deploy a model"""
from __future__ import absolute_import
from sagemaker.compute_resource_requirements.resource_requirements import ( # noqa: F401
ResourceRequirements,
)
| data/sagemaker-2.208.0/src/sagemaker/compute_resource_requirements/__init__.py | 98 | 62 | 318,827 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.det_model_fn.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.det_model_fn
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.det_model_fn."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.det_model_fn import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/det_model_fn.py | 82 | 62 | 401,220 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.inspector.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.inspector
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.inspector."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.inspector import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/keras/inspector.py | 82 | 62 | 389,344 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.infer.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.infer
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.infer."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.infer import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/keras/infer.py | 82 | 62 | 389,342 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.wbf.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.wbf
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.wbf."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.wbf import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/keras/wbf.py | 82 | 62 | 389,341 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME azure.cli.core.aaz
IMPORT_STAR
LOAD_BUILD_CLASS
LOAD_CONST <code object __CMDGroup at 0x7faa5dedb780, file "f.py", line 4>
LOAD_CONST '__CMDGroup'
MAKE_FUNCTION
LOAD_CONST '__CMDGroup'
LOAD_NAME AAZCommandGroup
CALL_FUNCTION
STORE_NAME __CMDGroup
LOAD_CONST '__CMDGroup'
BUIL... | from azure.cli.core.aaz import *
class __CMDGroup(AAZCommandGroup):
"""Manage Azure Relay Service Hybrid Connection and Authorization Rule."""
pass
__all__ = ["__CMDGroup"]
| data/azure-cli-2.57.0/azure/cli/command_modules/appservice/aaz/latest/relay/hyco/__cmd_group.py | 167 | 62 | 375,525 |
LOAD_BUILD_CLASS
LOAD_CONST <code object OrderedRows at 0x7fab640f2d20, file "f.py", line 1>
LOAD_CONST 'OrderedRows'
MAKE_FUNCTION
LOAD_CONST 'OrderedRows'
LOAD_NAME list
CALL_FUNCTION
STORE_NAME OrderedRows
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CONST 'OrderedRows'
STORE_NAME __qu... | class OrderedRows(list):
"""
Maintains original header/field ordering.
"""
def __init__(self, header):
self.header = [c.strip() for c in header] if (header is not None) else None
| data/djangorestframework-csv-3.0.2/rest_framework_csv/orderedrows.py | 296 | 62 | 156,642 |
LOAD_CONST '2.14.0'
STORE_NAME __version__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME logging
STORE_NAME logging
LOAD_BUILD_CLASS
LOAD_CONST <code object NullHandler at 0x7fab641e78a0, file "f.py", line 7>
LOAD_CONST 'NullHandler'
MAKE_FUNCTION
LOAD_CONST 'NullHandler'
LOAD_NAME logging
LOAD_ATTR Handler
CALL_FUNCTION
... | __version__ = "2.14.0"
import logging
class NullHandler(logging.Handler):
def emit(self, record):
pass
logging.getLogger("aliyunsdkcore").addHandler(NullHandler())
| data/aliyun-python-sdk-core-2.14.0/aliyunsdkcore/__init__.py | 210 | 62 | 217,049 |
LOAD_CONST 0
LOAD_CONST ('ElasticKnnSearch', 'ElasticVectorSearch')
IMPORT_NAME langchain_community.vectorstores.elastic_vector_search
IMPORT_FROM ElasticKnnSearch
STORE_NAME ElasticKnnSearch
IMPORT_FROM ElasticVectorSearch
STORE_NAME ElasticVectorSearch
POP_TOP
LOAD_CONST 'ElasticVectorSearch'
LOAD_CONST 'ElasticKnn... | from langchain_community.vectorstores.elastic_vector_search import (
ElasticKnnSearch,
ElasticVectorSearch,
)
__all__ = [
"ElasticVectorSearch",
"ElasticKnnSearch",
]
| data/langchain-0.1.8/langchain/vectorstores/elastic_vector_search.py | 94 | 62 | 368,663 |
LOAD_CONST 1
LOAD_CONST ('InvalidValue',)
IMPORT_NAME field_parser
IMPORT_FROM InvalidValue
STORE_NAME InvalidValue
POP_TOP
LOAD_CONST <code object test_repr at 0x7fab700b41e0, file "f.py", line 4>
LOAD_CONST 'test_repr'
MAKE_FUNCTION
STORE_NAME test_repr
LOAD_CONST <code object test_type at 0x7fab700b4420, file "f.p... | from .field_parser import InvalidValue
def test_repr():
assert repr(InvalidValue(b"")) == "InvalidValue(b'')"
def test_type():
assert isinstance(InvalidValue(b""), bytes)
| data/dbfread-2.0.7/dbfread/test_invalid_value.py | 210 | 62 | 440,947 |
LOAD_CONST 'Streams hide clients and allow access to stream resources via a simple read/write interface.'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME api
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME stream_client_handler
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME stream_regist... | """Streams hide clients and allow access to stream resources via a simple read/write interface."""
from .api import * # noqa
from .stream_client_handler import * # noqa
from .stream_registry import * # noqa
| data/tentaclio-1.3.0/src/tentaclio/streams/__init__.py | 86 | 62 | 216,867 |
LOAD_CONST 0
LOAD_CONST ('DatahubBaseOperator', 'DatahubEmitterOperator')
IMPORT_NAME datahub_airflow_plugin.operators.datahub
IMPORT_FROM DatahubBaseOperator
STORE_NAME DatahubBaseOperator
IMPORT_FROM DatahubEmitterOperator
STORE_NAME DatahubEmitterOperator
POP_TOP
LOAD_CONST 'DatahubEmitterOperator'
LOAD_CONST 'Data... | from datahub_airflow_plugin.operators.datahub import (
DatahubBaseOperator,
DatahubEmitterOperator,
)
__all__ = ["DatahubEmitterOperator", "DatahubBaseOperator"]
| data/acryl-datahub-0.12.1.5/src/datahub_provider/operators/datahub.py | 106 | 62 | 435,783 |
LOAD_CONST 0
LOAD_CONST ('ServiceContainer',)
IMPORT_NAME nameko.containers
IMPORT_FROM ServiceContainer
STORE_NAME ServiceContainer
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Service at 0x7fab8002f300, file "f.py", line 4>
LOAD_CONST 'Service'
MAKE_FUNCTION
LOAD_CONST 'Service'
CALL_FUNCTION
STORE_NAME Service
... | from nameko.containers import ServiceContainer
class Service:
name = "service"
container = ServiceContainer(Service, config={})
service_extensions = list(container.extensions)
container.start()
container.stop()
| data/nameko-2.14.1/docs/examples/service_container.py | 181 | 62 | 43,623 |
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 ShazamKit
STORE_NAME ShazamKit
LOAD_BUILD_CLASS
LOAD_CONST <code object TestSHCatalog at 0x7faa5091d5d0, file "f.py", line 5>
LOAD_CONST 'TestSHCatalog'
M... | from PyObjCTools.TestSupport import TestCase
import ShazamKit
class TestSHCatalog(TestCase):
def test_classes(self):
ShazamKit.SHCatalog
def test_methods(self):
pass
| data/pyobjc-framework-ShazamKit-10.1/PyObjCTest/test_shcatalog.py | 284 | 62 | 139,939 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
LOAD_CONST 1
LOAD_CONST ('OpRunBinary',)
IMPORT_NAME _op
IMPORT_FROM OpRunBinary
STORE_NAME OpRunBinary
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object BitwiseAnd at 0x7fab70078030, file "f.py", line 6>
LOAD_CONST 'BitwiseAnd'
MAKE_FUNCTION
LOAD_CONST 'Bit... | import numpy as np
from ._op import OpRunBinary
class BitwiseAnd(OpRunBinary):
def _run(self, x, y): # type: ignore
return (np.bitwise_and(x, y),)
| data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_bitwise_and.py | 212 | 62 | 85,584 |
LOAD_CONST 'Compatibility fastai module.\n\nIn the future use:\n from wandb.integration.fastai import WandbCallback\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('WandbCallback',)
IMPORT_NAME wandb.integration.fastai
IMPORT_FROM WandbCallback
STORE_NAME WandbCallback
POP_TOP
LOAD_CONST 'WandbCallback'
BUILD_LIST
STO... | """Compatibility fastai module.
In the future use:
from wandb.integration.fastai import WandbCallback
"""
from wandb.integration.fastai import WandbCallback
__all__ = ["WandbCallback"]
| data/wandb-0.16.3/wandb/fastai/__init__.py | 99 | 62 | 361,328 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.mosaic.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.mosaic
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.mosaic."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.mosaic import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/aug/mosaic.py | 82 | 62 | 401,229 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.recommendation_config.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.data_util.recommendation_config
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.recommendation_config."""
from tensorflow_examples.lite.model_maker.core.data_util.recommendation_config import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/data_util/recommendation_config.py | 82 | 62 | 401,286 |
LOAD_CONST 1
LOAD_CONST ('DiscreteFactor', 'State')
IMPORT_NAME DiscreteFactor
IMPORT_FROM DiscreteFactor
STORE_NAME DiscreteFactor
IMPORT_FROM State
STORE_NAME State
POP_TOP
LOAD_CONST 1
LOAD_CONST ('TabularCPD',)
IMPORT_NAME CPD
IMPORT_FROM TabularCPD
STORE_NAME TabularCPD
POP_TOP
LOAD_CONST 1
LOAD_CONST ('JointPro... | from .DiscreteFactor import DiscreteFactor, State
from .CPD import TabularCPD
from .JointProbabilityDistribution import JointProbabilityDistribution
__all__ = ["TabularCPD", "State", "DiscreteFactor"]
| data/pgmpy-0.1.24/pgmpy/factors/discrete/__init__.py | 149 | 62 | 322,069 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.image_dataloader.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.data_util.image_dataloader
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.image_dataloader."""
from tensorflow_examples.lite.model_maker.core.data_util.image_dataloader import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/data_util/image_dataloader.py | 82 | 62 | 401,285 |
LOAD_CONST <code object test_qtwebchannel at 0x7faab8381420, file "f.py", line 1>
LOAD_CONST 'test_qtwebchannel'
MAKE_FUNCTION
STORE_NAME test_qtwebchannel
LOAD_CONST None
RETURN_VALUE
LOAD_CONST 0
LOAD_CONST ('QtWebChannel',)
IMPORT_NAME qtpy
IMPORT_FROM QtWebChannel
STORE_FAST QtWebChannel
POP_TOP
LOAD_FAST QtWebCh... | def test_qtwebchannel():
"""Test the qtpy.QtWebChannel namespace"""
from qtpy import QtWebChannel
assert QtWebChannel.QWebChannel is not None
assert QtWebChannel.QWebChannelAbstractTransport is not None
| data/QtPy-2.4.1/qtpy/tests/test_qtwebchannel.py | 149 | 62 | 356,973 |
LOAD_CONST 0
LOAD_CONST ('dirname', 'join')
IMPORT_NAME os.path
IMPORT_FROM dirname
STORE_NAME dirname
IMPORT_FROM join
STORE_NAME join
POP_TOP
LOAD_CONST <code object get_data_file_path at 0x7fab700addb0, file "f.py", line 4>
LOAD_CONST 'get_data_file_path'
MAKE_FUNCTION
STORE_NAME get_data_file_path
LOAD_CONST None
... | from os.path import dirname, join
def get_data_file_path(basename):
"""
Returns the path to the test data file given by `basename`
"""
return join(dirname(__file__), basename)
| data/h5py-3.10.0/h5py/tests/data_files/__init__.py | 121 | 62 | 191,824 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.autoaugment.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.autoaugment
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.autoaugment."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.autoaugment import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/aug/autoaugment.py | 82 | 62 | 401,230 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.audio_dataloader.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.data_util.audio_dataloader
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.audio_dataloader."""
from tensorflow_examples.lite.model_maker.core.data_util.audio_dataloader import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/data_util/audio_dataloader.py | 82 | 62 | 401,283 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.text_dataloader.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.data_util.text_dataloader
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.text_dataloader."""
from tensorflow_examples.lite.model_maker.core.data_util.text_dataloader import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/data_util/text_dataloader.py | 82 | 62 | 401,282 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME CoreData
STORE_NAME CoreData
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 TestNSManagedObjectID at 0x7fab823b24b0, file "f.py", line 5>
LOAD_CONST 'TestNSMana... | import CoreData
from PyObjCTools.TestSupport import TestCase
class TestNSManagedObjectID(TestCase):
def testMethods(self):
self.assertResultIsBOOL(CoreData.NSManagedObjectID.isTemporaryID)
| data/pyobjc-framework-CoreData-10.1/PyObjCTest/test_nsmanagedobjectid.py | 248 | 62 | 322,160 |
LOAD_CONST 0
LOAD_CONST ('LangdetectDocumentLanguageClassifier',)
IMPORT_NAME haystack.nodes.doc_language_classifier.langdetect
IMPORT_FROM LangdetectDocumentLanguageClassifier
STORE_NAME LangdetectDocumentLanguageClassifier
POP_TOP
LOAD_CONST 0
LOAD_CONST ('TransformersDocumentLanguageClassifier',)
IMPORT_NAME haysta... | from haystack.nodes.doc_language_classifier.langdetect import (
LangdetectDocumentLanguageClassifier,
)
from haystack.nodes.doc_language_classifier.transformers import (
TransformersDocumentLanguageClassifier,
)
| data/farm_haystack-1.24.1/haystack/nodes/doc_language_classifier/__init__.py | 111 | 62 | 367,258 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os
STORE_NAME os
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_NAME os
LOAD_METHOD read
LOAD_CONST 0
LOAD_CONST 1024
CALL_METHOD
STORE_NAME buf
LOAD_NAME os
LOAD_METHOD write
LOAD_CONST 1
LOAD_CONST b'OUT:'
LOAD_NAME buf
BINARY_ADD
CALL_METHOD
... | import os
if __name__ == "__main__":
buf = os.read(0, 1024)
os.write(1, b"OUT:" + buf)
os.write(2, b"ERR:" + buf)
| data/asyncio-3.4.3/tests/echo2.py | 111 | 62 | 140,909 |
LOAD_CONST 1
LOAD_CONST ('SigmaTypeModifier',)
IMPORT_NAME base
IMPORT_FROM SigmaTypeModifier
STORE_NAME SigmaTypeModifier
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object SigmaRegularExpressionModifier at 0x7fab42319780, file "f.py", line 4>
LOAD_CONST 'SigmaRegularExpressionModifier'
MAKE_FUNCTION
LOAD_CONST 'SigmaR... | from .base import SigmaTypeModifier
class SigmaRegularExpressionModifier(SigmaTypeModifier):
"""Treat value as regular expression"""
identifier = "re"
active = True
valid_input_types = (str,)
| data/sigmatools-0.23.1/sigma/parser/modifiers/type.py | 195 | 62 | 317,126 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME mock
STORE_NAME mock
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_NAME pytest
LOAD_ATTR fixture
LOAD_CONST <code object mock_time at 0x7fab702e7ae0, file "f.py", line 5>
LOAD_CONST 'mock_time'
MAKE_FUNCTION
CALL_FUNCTION
STORE_NAME mock_time
LOAD_CONS... | import mock
import pytest
@pytest.fixture
def mock_time():
with mock.patch("time.time") as mt:
mt.return_value = 1642544540
yield mt
| data/ddtrace-2.6.3/tests/telemetry/conftest.py | 166 | 62 | 269,641 |
LOAD_CONST 'Tests with the whole logger disabled'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('Logger',)
IMPORT_NAME logbook
IMPORT_FROM Logger
STORE_NAME Logger
POP_TOP
LOAD_NAME Logger
LOAD_CONST 'Test logger'
CALL_FUNCTION
STORE_NAME log
LOAD_CONST True
LOAD_NAME log
STORE_ATTR disabled
LOAD_CONST <code object r... | """Tests with the whole logger disabled"""
from logbook import Logger
log = Logger("Test logger")
log.disabled = True
def run():
for x in range(500):
log.warning("this is not handled")
| data/Logbook-1.7.0.post0/benchmark/bench_disabled_logger.py | 170 | 62 | 331,687 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
LOAD_CONST 1
LOAD_CONST ('OpRunBinary',)
IMPORT_NAME _op
IMPORT_FROM OpRunBinary
STORE_NAME OpRunBinary
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object BitwiseOr at 0x7fab4106c420, file "f.py", line 6>
LOAD_CONST 'BitwiseOr'
MAKE_FUNCTION
LOAD_CONST 'Bitwi... | import numpy as np
from ._op import OpRunBinary
class BitwiseOr(OpRunBinary):
def _run(self, x, y): # type: ignore
return (np.bitwise_or(x, y),)
| data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_bitwise_or.py | 213 | 62 | 85,728 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
LOAD_CONST 1
LOAD_CONST ('OpRunBinary',)
IMPORT_NAME _op
IMPORT_FROM OpRunBinary
STORE_NAME OpRunBinary
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Xor at 0x7fab4278aa50, file "f.py", line 6>
LOAD_CONST 'Xor'
MAKE_FUNCTION
LOAD_CONST 'Xor'
LOAD_NAME Op... | import numpy as np
from ._op import OpRunBinary
class Xor(OpRunBinary):
def _run(self, x, y): # type: ignore
return (np.logical_xor(x, y),)
| data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_xor.py | 206 | 62 | 85,633 |
LOAD_CONST 'PHReg'
LOAD_CONST 'SurvfuncRight'
LOAD_CONST 'survdiff'
LOAD_CONST 'CumIncidenceRight'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 1
LOAD_CONST ('PHReg',)
IMPORT_NAME hazard_regression
IMPORT_FROM PHReg
STORE_NAME PHReg
POP_TOP
LOAD_CONST 1
LOAD_CONST ('SurvfuncRight', 'survdiff', 'CumIncidenceRight')
IMPORT... | __all__ = ["PHReg", "SurvfuncRight", "survdiff", "CumIncidenceRight"]
from .hazard_regression import PHReg
from .survfunc import SurvfuncRight, survdiff, CumIncidenceRight
| data/statsmodels-0.14.1/statsmodels/duration/api.py | 139 | 62 | 202,763 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.run_tflite.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.run_tflite
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.run_tflite."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.run_tflite import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/run_tflite.py | 82 | 62 | 389,304 |
LOAD_CONST '\nAdmin site bindings for splash screen\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('admin',)
IMPORT_NAME django.contrib
IMPORT_FROM admin
STORE_NAME admin
POP_TOP
LOAD_CONST 0
LOAD_CONST ('ConfigurationModelAdmin',)
IMPORT_NAME config_models.admin
IMPORT_FROM ConfigurationModelAdmin
STORE_NAME Configu... | """
Admin site bindings for splash screen
"""
from django.contrib import admin
from config_models.admin import ConfigurationModelAdmin
from splash.models import SplashConfig
admin.site.register(SplashConfig, ConfigurationModelAdmin)
| data/django-splash-1.3.0/splash/admin.py | 139 | 62 | 165,354 |
LOAD_CONST 0
LOAD_CONST ('AzureSearch', 'AzureSearchVectorStoreRetriever')
IMPORT_NAME langchain_community.vectorstores.azuresearch
IMPORT_FROM AzureSearch
STORE_NAME AzureSearch
IMPORT_FROM AzureSearchVectorStoreRetriever
STORE_NAME AzureSearchVectorStoreRetriever
POP_TOP
LOAD_CONST 'AzureSearch'
LOAD_CONST 'AzureSe... | from langchain_community.vectorstores.azuresearch import (
AzureSearch,
AzureSearchVectorStoreRetriever,
)
__all__ = [
"AzureSearch",
"AzureSearchVectorStoreRetriever",
]
| data/langchain-0.1.8/langchain/vectorstores/azuresearch.py | 96 | 62 | 368,680 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model."""
from tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/recommendation/ml/model/__init__.py | 82 | 62 | 389,300 |
LOAD_CONST 0
LOAD_CONST ('Any', 'Dict', 'NewType')
IMPORT_NAME typing
IMPORT_FROM Any
STORE_NAME Any
IMPORT_FROM Dict
STORE_NAME Dict
IMPORT_FROM NewType
STORE_NAME NewType
POP_TOP
LOAD_NAME NewType
LOAD_CONST 'ContractName'
LOAD_NAME str
CALL_FUNCTION
STORE_NAME ContractName
LOAD_NAME NewType
LOAD_CONST 'Manifest'
L... | from typing import (
Any,
Dict,
NewType,
)
ContractName = NewType("ContractName", str)
Manifest = NewType("Manifest", Dict[str, Any])
URI = NewType("URI", str)
| data/eth-typing-4.0.0/eth_typing/ethpm.py | 118 | 62 | 344,247 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.recommendation.ml.data.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.recommendation.ml.data
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.recommendation.ml.data."""
from tensorflow_examples.lite.model_maker.third_party.recommendation.ml.data import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/recommendation/ml/data/__init__.py | 82 | 62 | 389,287 |
LOAD_CONST 0
LOAD_CONST ('UpstashRedisByteStore', 'UpstashRedisStore')
IMPORT_NAME langchain_community.storage.upstash_redis
IMPORT_FROM UpstashRedisByteStore
STORE_NAME UpstashRedisByteStore
IMPORT_FROM UpstashRedisStore
STORE_NAME UpstashRedisStore
POP_TOP
LOAD_CONST 'UpstashRedisStore'
LOAD_CONST 'UpstashRedisByteS... | from langchain_community.storage.upstash_redis import (
UpstashRedisByteStore,
UpstashRedisStore,
)
__all__ = ["UpstashRedisStore", "UpstashRedisByteStore"]
| data/langchain-0.1.8/langchain/storage/upstash_redis.py | 108 | 62 | 368,285 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.train_image_classifier_lib.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.train_image_classifier_lib
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.task.train_image_classifier_lib."""
from tensorflow_examples.lite.model_maker.core.task.train_image_classifier_lib import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/task/train_image_classifier_lib.py | 82 | 62 | 401,298 |
LOAD_CONST 0
LOAD_CONST ('TYPE_CHECKING',)
IMPORT_NAME typing
IMPORT_FROM TYPE_CHECKING
STORE_NAME TYPE_CHECKING
POP_TOP
LOAD_NAME TYPE_CHECKING
POP_JUMP_IF_FALSE
LOAD_CONST 0
LOAD_CONST ('cached_property',)
IMPORT_NAME functools
IMPORT_FROM cached_property
STORE_NAME cached_property
POP_TOP
JUMP_FORWARD to 42
LOAD_... | from typing import TYPE_CHECKING
if TYPE_CHECKING:
from functools import cached_property
else:
from funcy import cached_property # noqa: TID251
__all__ = ["cached_property"]
| data/dvc-3.47.0/dvc/utils/objects.py | 127 | 62 | 317,903 |
LOAD_CONST 0
LOAD_CONST ('warns_deprecated_sympy',)
IMPORT_NAME sympy.testing.pytest
IMPORT_FROM warns_deprecated_sympy
STORE_NAME warns_deprecated_sympy
POP_TOP
LOAD_CONST <code object test_deprecated_testing_randtest at 0x7fab8239aae0, file "f.py", line 4>
LOAD_CONST 'test_deprecated_testing_randtest'
MAKE_FUNCTION
... | from sympy.testing.pytest import warns_deprecated_sympy
def test_deprecated_testing_randtest():
with warns_deprecated_sympy():
import sympy.testing.randtest # noqa:F401
| data/sympy-1.12/sympy/testing/tests/test_deprecated.py | 170 | 62 | 228,887 |
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 PushKit
STORE_NAME PushKit
LOAD_BUILD_CLASS
LOAD_CONST <code object TestPKDefines at 0x7fab41ed05d0, file "f.py", line 6>
LOAD_CONST 'TestPKDefines'
MAKE_... | from PyObjCTools.TestSupport import TestCase
import PushKit
class TestPKDefines(TestCase):
def test_typed_enum(self):
self.assertIsTypedEnum(PushKit.PKPushType, str)
| data/pyobjc-framework-PushKit-10.1/PyObjCTest/test_pkdefines.py | 242 | 62 | 79,387 |
LOAD_CONST '\nDeclarations of the Runtime API functions.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('c_int', 'POINTER')
IMPORT_NAME ctypes
IMPORT_FROM c_int
STORE_NAME c_int
IMPORT_FROM POINTER
STORE_NAME POINTER
POP_TOP
LOAD_CONST 'cudaRuntimeGetVersion'
LOAD_NAME c_int
LOAD_NAME POINTER
LOAD_NAME c_int
CALL_FUN... | """
Declarations of the Runtime API functions.
"""
from ctypes import c_int, POINTER
API_PROTOTYPES = {
"cudaRuntimeGetVersion": (c_int, POINTER(c_int)),
}
| data/numba-0.59.0/numba/cuda/cudadrv/rtapi.py | 105 | 62 | 134,457 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.audio_dataloader.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.data_util.audio_dataloader
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.audio_dataloader."""
from tensorflow_examples.lite.model_maker.core.data_util.audio_dataloader import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/data_util/audio_dataloader.py | 82 | 62 | 389,376 |
LOAD_CONST 'Customization of zope.i18n for the Zope application server\n'
STORE_NAME __doc__
LOAD_CONST 'restructuredtext'
STORE_NAME __docformat__
LOAD_CONST 0
LOAD_CONST ('MessageFactory',)
IMPORT_NAME zope.i18nmessageid
IMPORT_FROM MessageFactory
STORE_NAME MessageFactory
POP_TOP
LOAD_NAME MessageFactory
LOAD_CON... | """Customization of zope.i18n for the Zope application server
"""
__docformat__ = "restructuredtext"
from zope.i18nmessageid import MessageFactory
ZopeMessageFactory = MessageFactory("zope")
| data/zope.security-6.2/src/zope/security/i18n.py | 99 | 62 | 204,889 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.