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 setuptools
STORE_NAME setuptools
LOAD_NAME tuple
LOAD_NAME map
LOAD_NAME int
LOAD_NAME setuptools
LOAD_ATTR __version__
LOAD_METHOD split
LOAD_CONST '.'
CALL_METHOD
LOAD_CONST None
LOAD_CONST 3
BUILD_SLICE
BINARY_SUBSCR
CALL_FUNCTION
CALL_FUNCTION
LOAD_CONST (39, 2, 0)
COMPARE... | import setuptools
assert tuple(map(int, setuptools.__version__.split(".")[:3])) >= (
39,
2,
0,
), "Please upgrade setuptools by `pip install -U setuptools`"
setuptools.setup()
| data/methodtools-0.4.7/setup.py | 120 | 66 | 393,020 |
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('decode_predictions',)
IMPORT_NAME tf_keras.src.applications.mobilenet_v3
IMPORT_FROM decode_predictions
STORE_NAME decode_predictions
POP_TOP
LOAD_CONST 0
LOAD_CONST ('preprocess_input',)
IMPORT_NAME tf_keras.src.applications.mobile... | """AUTOGENERATED. DO NOT EDIT."""
from tf_keras.src.applications.mobilenet_v3 import decode_predictions
from tf_keras.src.applications.mobilenet_v3 import preprocess_input
| data/tf_keras-2.15.0/tf_keras/api/_v1/keras/applications/mobilenet_v3/__init__.py | 122 | 66 | 354,055 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
LOAD_CONST 0
LOAD_CONST ('OpRunUnaryNum',)
IMPORT_NAME onnx.reference.ops._op
IMPORT_FROM OpRunUnaryNum
STORE_NAME OpRunUnaryNum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Atan at 0x7fab82053d20, file "f.py", line 6>
LOAD_CONST 'Atan'
MAKE_FUNCTION
LO... | import numpy as np
from onnx.reference.ops._op import OpRunUnaryNum
class Atan(OpRunUnaryNum):
def _run(self, x): # type: ignore
return (np.arctan(x),)
| data/onnx-simplifier-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_atan.py | 218 | 66 | 309,625 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_NAME open
LOAD_NAME sys
LOAD_ATTR argv
LOAD_CONST 1
BINARY_SUBSCR
LOAD_CONST 'w'
CALL_FUNCTION
SETUP_WITH to 42
STORE_NAME f
LOAD_NAME print
LOAD_CONST '# this file does nothing'
LOAD_NAME f
LOAD_CONST ('file',)
CALL_FUNCTION
POP_TOP
POP_BLOCK
LOAD_CONS... | import sys
with open(sys.argv[1], "w") as f:
print("# this file does nothing", file=f)
with open(sys.argv[2], "w") as f:
print("# this file does nothing", file=f)
| data/meson-1.3.2/test cases/common/226 link depends indexed custom target/make_file.py | 156 | 66 | 81,994 |
LOAD_CONST 'elasticsearch'
STORE_NAME SERVICE
LOAD_CONST 'elasticsearch'
STORE_NAME APP
LOAD_CONST 'elasticsearch.url'
STORE_NAME URL
LOAD_CONST 'elasticsearch.method'
STORE_NAME METHOD
LOAD_CONST 'elasticsearch.took'
STORE_NAME TOOK
LOAD_CONST 'elasticsearch.params'
STORE_NAME PARAMS
LOAD_CONST 'elasticsearch.bo... | SERVICE = "elasticsearch"
APP = "elasticsearch"
URL = "elasticsearch.url"
METHOD = "elasticsearch.method"
TOOK = "elasticsearch.took"
PARAMS = "elasticsearch.params"
BODY = "elasticsearch.body"
| data/ddtrace-2.6.3/ddtrace/ext/elasticsearch.py | 92 | 66 | 270,233 |
LOAD_CONST 'Google Cloud Platform library - Cloud Storage Functionality.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('absolute_import',)
IMPORT_NAME __future__
IMPORT_FROM absolute_import
STORE_NAME absolute_import
POP_TOP
LOAD_CONST 1
LOAD_CONST ('Bucket', 'Buckets')
IMPORT_NAME _bucket
IMPORT_FROM Bucket
STORE_NAM... | """Google Cloud Platform library - Cloud Storage Functionality."""
from __future__ import absolute_import
from ._bucket import Bucket, Buckets
from ._item import Item, Items
__all__ = ["Bucket", "Buckets", "Item", "Items"]
| data/datalab-1.2.1/datalab/storage/__init__.py | 157 | 66 | 141,213 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST <code object main at 0x7fab41349270, file "f.py", line 4>
LOAD_CONST 'main'
MAKE_FUNCTION
STORE_NAME main
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_NAME main
CALL_FUNCTION
POP_TOP
LOAD_CONST None
RETURN_VALUE
... | import sys
def main():
with open(sys.argv[1], "w") as out:
out.write(sys.argv[2])
out.write("\n")
if __name__ == "__main__":
main()
| data/meson-1.3.2/test cases/common/186 test depends/gen.py | 176 | 66 | 81,972 |
LOAD_CONST 'ContainerState'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ContainerState at 0x7fadb5811c00, file "f.py", line 6>
LOAD_CONST 'ContainerState'
MAKE_FUNCTION
LOAD_CONST 'ContainerState'
LO... | __all__ = ["ContainerState"]
from enum import Enum
class ContainerState(Enum):
CREATED = "created"
STARTED = "started"
STOPPING = "stopping"
STOPPED = "stopped"
| data/neptune_client-1.9.1/src/neptune/internal/state.py | 179 | 66 | 127,973 |
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('clone_and_build_model',)
IMPORT_NAME tf_keras.src.models.cloning
IMPORT_FROM clone_and_build_model
STORE_NAME clone_and_build_model
POP_TOP
LOAD_CONST 0
LOAD_CONST ('in_place_subclassed_model_state_restoration',)
IMPORT_NAME tf_kera... | """AUTOGENERATED. DO NOT EDIT."""
from tf_keras.src.models.cloning import clone_and_build_model
from tf_keras.src.models.cloning import in_place_subclassed_model_state_restoration
| data/tf_keras-2.15.0/tf_keras/__internal__/models/__init__.py | 147 | 66 | 353,621 |
LOAD_CONST 0
LOAD_CONST ('FastAIPruningCallback',)
IMPORT_NAME optuna_integration.fastaiv2
IMPORT_FROM FastAIPruningCallback
STORE_NAME FastAIPruningCallback
POP_TOP
LOAD_CONST 0
LOAD_CONST ('FastAIV2PruningCallback',)
IMPORT_NAME optuna_integration.fastaiv2
IMPORT_FROM FastAIV2PruningCallback
STORE_NAME FastAIV2Pruni... | from optuna_integration.fastaiv2 import FastAIPruningCallback
from optuna_integration.fastaiv2 import FastAIV2PruningCallback
__all__ = ["FastAIV2PruningCallback", "FastAIPruningCallback"]
| data/optuna-3.5.0/optuna/integration/fastaiv2.py | 132 | 66 | 388,138 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.object_detector_spec.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.model_spec.object_detector_spec
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.object_detector_spec."""
from tensorflow_examples.lite.model_maker.core.task.model_spec.object_detector_spec import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/task/model_spec/object_detector_spec.py | 86 | 66 | 389,424 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.recommendation_spec.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.model_spec.recommendation_spec
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.recommendation_spec."""
from tensorflow_examples.lite.model_maker.core.task.model_spec.recommendation_spec import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/task/model_spec/recommendation_spec.py | 86 | 66 | 389,418 |
LOAD_CONST 0
LOAD_CONST ('AppConfig',)
IMPORT_NAME django.apps
IMPORT_FROM AppConfig
STORE_NAME AppConfig
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object DjangoChatterBotConfig at 0x7fab000fc150, file "f.py", line 4>
LOAD_CONST 'DjangoChatterBotConfig'
MAKE_FUNCTION
LOAD_CONST 'DjangoChatterBotConfig'
LOAD_NAME AppCo... | from django.apps import AppConfig
class DjangoChatterBotConfig(AppConfig):
name = "chatterbot.ext.django_chatterbot"
label = "django_chatterbot"
verbose_name = "Django ChatterBot"
| data/os_sys-2.1.4/chatterbot/ext/django_chatterbot/apps.py | 187 | 66 | 248,246 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME typer
STORE_NAME typer
LOAD_NAME typer
LOAD_ATTR Option
LOAD_CONST 'Wade Wilson'
LOAD_CONST False
LOAD_CONST ('show_default',)
CALL_FUNCTION
BUILD_TUPLE
LOAD_NAME str
LOAD_CONST ('fullname',)
BUILD_CONST_KEY_MAP
LOAD_CONST <code object main at 0x7fab641f2db0, file "f.py", line ... | import typer
def main(fullname: str = typer.Option("Wade Wilson", show_default=False)):
print(f"Hello {fullname}")
if __name__ == "__main__":
typer.run(main)
| data/typer-0.9.0/docs_src/options/help/tutorial003.py | 162 | 66 | 224,424 |
LOAD_CONST 0
LOAD_CONST ('base',)
IMPORT_NAME deap
IMPORT_FROM base
STORE_NAME base
POP_TOP
LOAD_CONST 0
LOAD_CONST ('creator',)
IMPORT_NAME deap
IMPORT_FROM creator
STORE_NAME creator
POP_TOP
LOAD_NAME creator
LOAD_ATTR create
LOAD_CONST 'FitnessMin'
LOAD_NAME base
LOAD_ATTR Fitness
LOAD_CONST (-1.0,)
LOAD_CONST ('w... | from deap import base
from deap import creator
creator.create("FitnessMin", base.Fitness, weights=(-1.0,))
creator.create("FitnessMulti", base.Fitness, weights=(-1.0, 1.0))
| data/deap-1.4.1/doc/code/tutorials/part_2/2_1_fitness.py | 138 | 66 | 20,802 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
LOAD_CONST 0
LOAD_CONST ('OpRunBinary',)
IMPORT_NAME onnx.reference.ops._op
IMPORT_FROM OpRunBinary
STORE_NAME OpRunBinary
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object And at 0x7fab82053ed0, file "f.py", line 6>
LOAD_CONST 'And'
MAKE_FUNCTION
LOAD_CONST... | import numpy as np
from onnx.reference.ops._op import OpRunBinary
class And(OpRunBinary):
def _run(self, x, y): # type: ignore
return (np.logical_and(x, y),)
| data/onnx-simplifier-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_and.py | 205 | 66 | 309,654 |
SETUP_ANNOTATIONS
LOAD_CONST 'Utility functions used by the Durable Function python library.\n\n_Internal Only_\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('extend_path',)
IMPORT_NAME pkgutil
IMPORT_FROM extend_path
STORE_NAME extend_path
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME typing
STORE_NAME typing
L... | """Utility functions used by the Durable Function python library.
_Internal Only_
"""
from pkgutil import extend_path
import typing
__path__: typing.Iterable[str] = extend_path(__path__, __name__) # type: ignore
| data/azure-functions-durable-1.2.9/azure/durable_functions/models/utils/__init__.py | 131 | 66 | 249,051 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME warnings
STORE_NAME warnings
LOAD_CONST 1
LOAD_CONST ('BarsExperimentalWarning',)
IMPORT_NAME std
IMPORT_FROM BarsExperimentalWarning
STORE_NAME BarsExperimentalWarning
POP_TOP
LOAD_NAME warnings
LOAD_METHOD catch_warnings
CALL_METHOD
SETUP_WITH to 64
POP_TOP
LOAD_NAME warnin... | import warnings
from .std import BarsExperimentalWarning
with warnings.catch_warnings():
warnings.simplefilter("ignore", category=BarsExperimentalWarning)
from .autonotebook import bars, brange
__all__ = ["bars", "brange"]
| data/os_sys-2.1.4/bars/auto.py | 168 | 66 | 248,299 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.metadata_writer_for_image_classifier.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.metadata_writer_for_image_classifier
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.task.metadata_writer_for_image_classifier."""
from tensorflow_examples.lite.model_maker.core.task.metadata_writer_for_image_classifier import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/task/metadata_writer_for_image_classifier.py | 86 | 66 | 389,399 |
LOAD_CONST 0
LOAD_CONST ('admin',)
IMPORT_NAME django.contrib
IMPORT_FROM admin
STORE_NAME admin
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Site',)
IMPORT_NAME django.contrib.sites.models
IMPORT_FROM Site
STORE_NAME Site
POP_TOP
LOAD_NAME admin
LOAD_METHOD register
LOAD_NAME Site
CALL_METHOD
LOAD_BUILD_CLASS
LOAD_CONST <code ... | from django.contrib import admin
from django.contrib.sites.models import Site
@admin.register(Site)
class SiteAdmin(admin.ModelAdmin):
list_display = ("domain", "name")
search_fields = ("domain", "name")
| data/Django-5.0.2/django/contrib/sites/admin.py | 191 | 66 | 326,627 |
LOAD_CONST 0
LOAD_CONST ('ApiForget',)
IMPORT_NAME onelogin.paths.api_2_mappings_actions_mapping_action_value_values.get
IMPORT_FROM ApiForget
STORE_NAME ApiForget
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Api2MappingsActionsMappingActionValueValues at 0x7f8e44712c00, file "f.py", line 6>
LOAD_CONST 'Api2Mappin... | from onelogin.paths.api_2_mappings_actions_mapping_action_value_values.get import (
ApiForget,
)
class Api2MappingsActionsMappingActionValueValues(
ApiForget,
):
pass
| data/onelogin-3.1.6/onelogin/apis/paths/api_2_mappings_actions_mapping_action_value_values.py | 188 | 66 | 397,275 |
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('decode_predictions',)
IMPORT_NAME tf_keras.src.applications.mobilenet_v3
IMPORT_FROM decode_predictions
STORE_NAME decode_predictions
POP_TOP
LOAD_CONST 0
LOAD_CONST ('preprocess_input',)
IMPORT_NAME tf_keras.src.applications.mobile... | """AUTOGENERATED. DO NOT EDIT."""
from tf_keras.src.applications.mobilenet_v3 import decode_predictions
from tf_keras.src.applications.mobilenet_v3 import preprocess_input
| data/tf_keras-2.15.0/tf_keras/api/_v2/keras/applications/mobilenet_v3/__init__.py | 122 | 66 | 354,119 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.infer_lib.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.infer_lib
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.infer_lib."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.infer_lib import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/keras/infer_lib.py | 86 | 66 | 401,250 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST '--stdout'
LOAD_NAME sys
LOAD_ATTR argv
COMPARE_OP in
POP_JUMP_IF_FALSE
LOAD_NAME print
LOAD_CONST 'process_test'
CALL_FUNCTION
POP_TOP
LOAD_CONST '--echo'
LOAD_NAME sys
LOAD_ATTR argv
COMPARE_OP in
POP_JUMP_IF_FALSE
LOAD_NAME raw_input
CALL_FUN... | import sys
if "--stdout" in sys.argv:
print("process_test")
if "--echo" in sys.argv:
text = raw_input()
print("I read '%s'" % text)
sys.exit(0)
| data/wxPython-4.2.1/unittests/process_script.py | 119 | 66 | 301,893 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
LOAD_CONST 0
LOAD_CONST ('OpRunBinary',)
IMPORT_NAME onnx.reference.ops._op
IMPORT_FROM OpRunBinary
STORE_NAME OpRunBinary
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Or at 0x7fab542b4270, file "f.py", line 6>
LOAD_CONST 'Or'
MAKE_FUNCTION
LOAD_CONST '... | import numpy as np
from onnx.reference.ops._op import OpRunBinary
class Or(OpRunBinary):
def _run(self, x, y): # type: ignore
return (np.logical_or(x, y),)
| data/onnx-1.15.0/onnx/reference/ops/op_or.py | 207 | 66 | 111,146 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
LOAD_CONST 0
LOAD_CONST ('OpRunBinaryComparison',)
IMPORT_NAME onnx.reference.ops._op
IMPORT_FROM OpRunBinaryComparison
STORE_NAME OpRunBinaryComparison
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Equal at 0x7fab821a5ae0, file "f.py", line 6>
LOAD_CONS... | import numpy as np
from onnx.reference.ops._op import OpRunBinaryComparison
class Equal(OpRunBinaryComparison):
def _run(self, a, b): # type: ignore
return (np.equal(a, b),)
| data/onnx-1.15.0/onnx/reference/ops/op_equal.py | 210 | 66 | 111,158 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
LOAD_CONST 0
LOAD_CONST ('OpRunUnaryNum',)
IMPORT_NAME onnx.reference.ops._op
IMPORT_FROM OpRunUnaryNum
STORE_NAME OpRunUnaryNum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Acos at 0x7fab821a15d0, file "f.py", line 6>
LOAD_CONST 'Acos'
MAKE_FUNCTION
LO... | import numpy as np
from onnx.reference.ops._op import OpRunUnaryNum
class Acos(OpRunUnaryNum):
def _run(self, x): # type: ignore
return (np.arccos(x),)
| data/onnx-1.15.0/onnx/reference/ops/op_acos.py | 218 | 66 | 111,179 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object TeamsAppDistributionMethod at 0x7fab4298eed0, file "f.py", line 4>
LOAD_CONST 'TeamsAppDistributionMethod'
MAKE_FUNCTION
LOAD_CONST 'TeamsAppDistributionMethod'
LOAD_NAME str
LOAD_NAME E... | from enum import Enum
class TeamsAppDistributionMethod(str, Enum):
Store = ("store",)
Organization = ("organization",)
Sideloaded = ("sideloaded",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/teams_app_distribution_method.py | 188 | 66 | 260,726 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
LOAD_CONST 0
LOAD_CONST ('OpRunUnaryNum',)
IMPORT_NAME onnx.reference.ops._op
IMPORT_FROM OpRunUnaryNum
STORE_NAME OpRunUnaryNum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Atan at 0x7fab821a1420, file "f.py", line 6>
LOAD_CONST 'Atan'
MAKE_FUNCTION
LO... | import numpy as np
from onnx.reference.ops._op import OpRunUnaryNum
class Atan(OpRunUnaryNum):
def _run(self, x): # type: ignore
return (np.arctan(x),)
| data/onnx-1.15.0/onnx/reference/ops/op_atan.py | 218 | 66 | 111,218 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object CountryLookupMethodType at 0x7fae471296f0, file "f.py", line 4>
LOAD_CONST 'CountryLookupMethodType'
MAKE_FUNCTION
LOAD_CONST 'CountryLookupMethodType'
LOAD_NAME str
LOAD_NAME Enum
CALL_... | from enum import Enum
class CountryLookupMethodType(str, Enum):
ClientIpAddress = ("clientIpAddress",)
AuthenticatorAppGps = ("authenticatorAppGps",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/country_lookup_method_type.py | 184 | 66 | 260,770 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
LOAD_CONST 0
LOAD_CONST ('OpRunBinary',)
IMPORT_NAME onnx.reference.ops._op
IMPORT_FROM OpRunBinary
STORE_NAME OpRunBinary
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object And at 0x7fab82097150, file "f.py", line 6>
LOAD_CONST 'And'
MAKE_FUNCTION
LOAD_CONST... | import numpy as np
from onnx.reference.ops._op import OpRunBinary
class And(OpRunBinary):
def _run(self, x, y): # type: ignore
return (np.logical_and(x, y),)
| data/onnx-1.15.0/onnx/reference/ops/op_and.py | 207 | 66 | 111,247 |
LOAD_CONST "\nThis package contains the modules related to this library's use of\npersistent storage.\n\n@sort: interface, filestore, sqlstore, memstore\n"
STORE_NAME __doc__
LOAD_CONST 'interface'
LOAD_CONST 'filestore'
LOAD_CONST 'sqlstore'
LOAD_CONST 'memstore'
LOAD_CONST 'nonce'
BUILD_LIST
STORE_NAME __all__
LOAD_... | """
This package contains the modules related to this library's use of
persistent storage.
@sort: interface, filestore, sqlstore, memstore
"""
__all__ = ["interface", "filestore", "sqlstore", "memstore", "nonce"]
| data/python3-openid-3.2.0/openid/store/__init__.py | 91 | 66 | 246,121 |
LOAD_CONST 1
LOAD_CONST ('OnnxOperatorMixin',)
IMPORT_NAME onnx_operator_mixin
IMPORT_FROM OnnxOperatorMixin
STORE_NAME OnnxOperatorMixin
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object OnnxSubGraphOperatorMixin at 0x7fab8000fc00, file "f.py", line 4>
LOAD_CONST 'OnnxSubGraphOperatorMixin'
MAKE_FUNCTION
LOAD_CONST 'O... | from .onnx_operator_mixin import OnnxOperatorMixin
class OnnxSubGraphOperatorMixin(OnnxOperatorMixin):
"""
:class:`OnnxOperatorMixin` for converters.
"""
pass
| data/skl2onnx-1.16.0/skl2onnx/algebra/onnx_subgraph_operator_mixin.py | 197 | 66 | 345,311 |
LOAD_CONST 1
LOAD_CONST ('RTDETR',)
IMPORT_NAME rtdetr
IMPORT_FROM RTDETR
STORE_NAME RTDETR
POP_TOP
LOAD_CONST 1
LOAD_CONST ('SAM',)
IMPORT_NAME sam
IMPORT_FROM SAM
STORE_NAME SAM
POP_TOP
LOAD_CONST 1
LOAD_CONST ('YOLO', 'YOLOWorld')
IMPORT_NAME yolo
IMPORT_FROM YOLO
STORE_NAME YOLO
IMPORT_FROM YOLOWorld
STORE_NAME Y... | from .rtdetr import RTDETR
from .sam import SAM
from .yolo import YOLO, YOLOWorld
__all__ = "YOLO", "RTDETR", "SAM", "YOLOWorld" # allow simpler import
| data/ultralytics-8.1.17/ultralytics/models/__init__.py | 138 | 66 | 144,573 |
LOAD_CONST 0
LOAD_CONST ('TimeZoneBase',)
IMPORT_NAME office365.outlook.calendar.timezones.base
IMPORT_FROM TimeZoneBase
STORE_NAME TimeZoneBase
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object CustomTimeZone at 0x7fab81f0b540, file "f.py", line 4>
LOAD_CONST 'CustomTimeZone'
MAKE_FUNCTION
LOAD_CONST 'CustomTimeZone'
... | from office365.outlook.calendar.timezones.base import TimeZoneBase
class CustomTimeZone(TimeZoneBase):
"""
Represents a time zone where the transition from standard to daylight saving time, or vice versa is not standard.
"""
| data/Office365-REST-Python-Client-2.5.5/office365/outlook/calendar/timezones/custom.py | 176 | 66 | 189,024 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os
STORE_NAME os
LOAD_CONST <code object get_hook_dirs at 0x7fab82071e40, file "f.py", line 4>
LOAD_CONST 'get_hook_dirs'
MAKE_FUNCTION
STORE_NAME get_hook_dirs
LOAD_CONST <code object get_PyInstaller_tests at 0x7fab82071930, file "f.py", line 8>
LOAD_CONST 'get_PyInstaller_te... | import os
def get_hook_dirs():
return [os.path.dirname(__file__)]
def get_PyInstaller_tests(): # pylint: disable=invalid-name
return [os.path.dirname(__file__)]
| data/sqltrie-0.11.0/src/sqltrie/__pyinstaller/__init__.py | 181 | 66 | 391,220 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ProvisioningStatusErrorCategory at 0x7fab4298e420, file "f.py", line 4>
LOAD_CONST 'ProvisioningStatusErrorCategory'
MAKE_FUNCTION
LOAD_CONST 'ProvisioningStatusErrorCategory'
LOAD_NAME ... | from enum import Enum
class ProvisioningStatusErrorCategory(str, Enum):
Failure = ("failure",)
NonServiceFailure = ("nonServiceFailure",)
Success = ("success",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/provisioning_status_error_category.py | 190 | 66 | 261,010 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
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 ('nodes',)
... | from __future__ import annotations
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from docutils import nodes
def is_commentable(node: nodes.Node) -> bool:
return node.__class__.__name__ == "paragraph"
| data/sphinxcontrib_websupport-1.2.7/sphinxcontrib/websupport/utils.py | 192 | 66 | 398,041 |
LOAD_CONST 0
LOAD_CONST ('cdf', 'isf', 'logpdf', 'pdf', 'ppf', 'sf')
IMPORT_NAME jax._src.scipy.stats.logistic
IMPORT_FROM cdf
STORE_NAME cdf
IMPORT_FROM isf
STORE_NAME isf
IMPORT_FROM logpdf
STORE_NAME logpdf
IMPORT_FROM pdf
STORE_NAME pdf
IMPORT_FROM ppf
STORE_NAME ppf
IMPORT_FROM sf
STORE_NAME sf
POP_TOP
LOAD_CONST ... | from jax._src.scipy.stats.logistic import (
cdf as cdf,
isf as isf,
logpdf as logpdf,
pdf as pdf,
ppf as ppf,
sf as sf,
)
| data/jax-0.4.24/jax/scipy/stats/logistic.py | 95 | 66 | 328,964 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME warnings
STORE_NAME warnings
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME asynchronous
IMPORT_STAR
LOAD_NAME warnings
LOAD_ATTR warn
LOAD_CONST 'Module "zappa.async" is deprecated; please use "zappa.asynchronous" instead.'
LOAD_NAME DeprecationWarning
LOAD_CONST ('category',)
... | import warnings
from .asynchronous import * # noqa: F401
warnings.warn(
'Module "zappa.async" is deprecated; please use "zappa.asynchronous" instead.',
category=DeprecationWarning,
)
| data/zappa-0.58.0/zappa/async.py | 85 | 66 | 249,576 |
SETUP_EXCEPT to 18
LOAD_CONST 0
LOAD_CONST ('Server',)
IMPORT_NAME xmlrpc.client
IMPORT_FROM Server
STORE_NAME Server
POP_TOP
POP_BLOCK
JUMP_FORWARD to 50
DUP_TOP
LOAD_NAME ImportError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
POP_TOP
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Server',)
IMPORT_NAME xmlrpclib
IMPOR... | try:
from xmlrpc.client import Server
except ImportError:
from xmlrpclib import Server
server = Server("http://127.0.0.1:8000/RPC2")
print(server.getUser("moshez"))
| data/twisted-23.10.0/docs/core/howto/tutorial/listings/finger/fingerXRclient.py | 155 | 66 | 383,425 |
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('clone_and_build_model',)
IMPORT_NAME tf_keras.src.models.cloning
IMPORT_FROM clone_and_build_model
STORE_NAME clone_and_build_model
POP_TOP
LOAD_CONST 0
LOAD_CONST ('in_place_subclassed_model_state_restoration',)
IMPORT_NAME tf_kera... | """AUTOGENERATED. DO NOT EDIT."""
from tf_keras.src.models.cloning import clone_and_build_model
from tf_keras.src.models.cloning import in_place_subclassed_model_state_restoration
| data/tf_keras-2.15.0/tf_keras/api/_v2/keras/__internal__/models/__init__.py | 147 | 66 | 354,137 |
LOAD_CONST 'd4rl_mujoco_hopper dataset.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('D4rlMujocoHopper',)
IMPORT_NAME tensorflow_datasets.d4rl.d4rl_mujoco_hopper.d4rl_mujoco_hopper
IMPORT_FROM D4rlMujocoHopper
STORE_NAME D4rlMujocoHopper
POP_TOP
LOAD_CONST None
RETURN_VALUE | """d4rl_mujoco_hopper dataset."""
from tensorflow_datasets.d4rl.d4rl_mujoco_hopper.d4rl_mujoco_hopper import (
D4rlMujocoHopper,
)
| data/tfds-nightly-4.9.4.dev202402210044/tensorflow_datasets/d4rl/d4rl_mujoco_hopper/__init__.py | 102 | 66 | 238,565 |
LOAD_CONST 0
LOAD_CONST ('Minio',)
IMPORT_NAME minio
IMPORT_FROM Minio
STORE_NAME Minio
POP_TOP
LOAD_CONST 0
LOAD_CONST ('AWSConfigProvider',)
IMPORT_NAME minio.credentials
IMPORT_FROM AWSConfigProvider
STORE_NAME AWSConfigProvider
POP_TOP
LOAD_NAME Minio
LOAD_CONST 's3.amazonaws.com'
LOAD_NAME AWSConfigProvider
CALL... | from minio import Minio
from minio.credentials import AWSConfigProvider
client = Minio("s3.amazonaws.com", credentials=AWSConfigProvider())
stat = client.stat_object("my-bucket", "my-object")
print(stat)
| data/minio-7.2.4/examples/minio_with_aws_config_provider.py | 138 | 66 | 24,698 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
SETUP_EXCEPT to 26
LOAD_CONST 1
LOAD_CONST ('main',)
IMPORT_NAME py3.coordinator
IMPORT_FROM main
STORE_NAME main
POP_TOP
POP_BLOCK
JUMP_FORWARD to 78
DUP_TOP
LOAD_NAME SyntaxError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
POP_TOP
POP_TOP
LOAD_N... | import sys
try:
from .py3.coordinator import main
except SyntaxError:
print("Coordinator needs to be run in Python >= 3.6")
print("You are running %s" % sys.version)
sys.exit(1)
| data/robotframework-pabot-2.18.0/src/pabot/coordinatorwrapper.py | 154 | 66 | 399,615 |
LOAD_CONST " This 'should'\nbe\n'linted' "
STORE_NAME s
LOAD_CONST " This 'should'\n'not' be\n'linted' "
STORE_NAME s
LOAD_CONST '"This should not be linted due to having would-be quadruple end quote"'
STORE_NAME s
LOAD_CONST None
RETURN_VALUE | s = """ This 'should'
be
'linted' """
s = """ This 'should'
'not' be
'linted' """
s = '''"This should not be linted due to having would-be quadruple end quote"'''
| data/flake8-quotes-3.4.0/test/data/singles_multiline_string.py | 75 | 66 | 396,898 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os
STORE_NAME os
LOAD_CONST 'CI'
LOAD_CONST 'GITHUB_ACTIONS'
BUILD_SET
STORE_NAME CI_VARIABLES
LOAD_CONST <code object looks_like_ci at 0x7faa759696f0, file ... | from __future__ import annotations
import os
CI_VARIABLES = {"CI", "GITHUB_ACTIONS"}
def looks_like_ci():
return bool(set(os.environ.keys()) & CI_VARIABLES)
| data/pip-tools-7.4.0/tests/utils.py | 163 | 66 | 438,725 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME attrs
STORE_NAME attrs
LOAD_CONST 3
LOAD_CONST ('Control',)
IMPORT_NAME dialect
IMPORT_FROM Control
STORE_NAME Control
POP_TOP
LOAD_NAME attrs
LOAD_ATTR defi... | from __future__ import annotations
import attrs
from ...dialect import Control
@attrs.define(kw_only=True, repr=False)
class BufferControl(Control):
"""Buffer control representation"""
type = "buffer"
| data/frictionless-5.16.1/frictionless/schemes/buffer/control.py | 209 | 66 | 41,829 |
LOAD_CONST 0
LOAD_CONST ('pb',)
IMPORT_NAME twisted.spread
IMPORT_FROM pb
STORE_NAME pb
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object QuoteReader at 0x7fab542ad660, file "f.py", line 4>
LOAD_CONST 'QuoteReader'
MAKE_FUNCTION
LOAD_CONST 'QuoteReader'
LOAD_NAME pb
LOAD_ATTR Root
CALL_FUNCTION
STORE_NAME QuoteReader
L... | from twisted.spread import pb
class QuoteReader(pb.Root):
def __init__(self, quoter):
self.quoter = quoter
def remote_nextQuote(self):
return self.quoter.getQuote()
| data/twisted-23.10.0/docs/core/howto/listings/TwistedQuotes/pbquote.py | 270 | 66 | 383,334 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_NAME open
LOAD_NAME sys
LOAD_ATTR argv
LOAD_CONST 1
BINARY_SUBSCR
LOAD_CONST 'w'
CALL_FUNCTION
SETUP_WITH to 42
STORE_NAME f
LOAD_NAME print
LOAD_CONST '# this file does nothing'
LOAD_NAME f
LOAD_CONST ('file',)
CALL_FUNCTION
POP_TOP
POP_BLOCK
LOAD_CONS... | import sys
with open(sys.argv[1], "w") as f:
print("# this file does nothing", file=f)
with open(sys.argv[2], "w") as f:
print("# this file does nothing", file=f)
| data/numpy-1.26.4/vendored-meson/meson/test cases/common/226 link depends indexed custom target/make_file.py | 156 | 66 | 363,723 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME numpy
STORE_NAME np
LOAD_CONST 0
LOAD_CONST ('OpRunUnaryNum',)
IMPORT_NAME onnx.reference.ops._op
IMPORT_FROM OpRunUnaryNum
STORE_NAME OpRunUnaryNum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Acosh at 0x7fab821a50c0, file "f.py", line 6>
LOAD_CONST 'Acosh'
MAKE_FUNCTION
... | import numpy as np
from onnx.reference.ops._op import OpRunUnaryNum
class Acosh(OpRunUnaryNum):
def _run(self, x): # type: ignore
return (np.arccosh(x),)
| data/onnx-1.15.0/onnx/reference/ops/op_acosh.py | 222 | 66 | 111,119 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST <code object main at 0x7faad43c0a50, file "f.py", line 4>
LOAD_CONST 'main'
MAKE_FUNCTION
STORE_NAME main
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_NAME main
CALL_FUNCTION
POP_TOP
LOAD_CONST None
RETURN_VALUE
... | import sys
def main():
with open(sys.argv[1], "w") as out:
out.write(sys.argv[2])
out.write("\n")
if __name__ == "__main__":
main()
| data/numpy-1.26.4/vendored-meson/meson/test cases/common/186 test depends/gen.py | 175 | 66 | 363,701 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME inspect
STORE_NAME inspect
LOAD_CONST <code object is_async_mode at 0x7fa6a7ae5d20, file "f.py", line 4>
LOAD_CONST 'is_async_mode'
MAKE_FUNCTION
STORE_NAME is_async_mode
LOAD_NAME is_async_mode
CALL_FUNCTION
STORE_NAME ASYNC_MODE
LOAD_CONST None
RETURN_VALUE
LOAD_CONST <code... | import inspect
def is_async_mode():
async def f():
"""Unasync transforms async functions in sync functions"""
return None
return inspect.iscoroutinefunction(f)
ASYNC_MODE = is_async_mode()
| data/redis_om-0.2.1/aredis_om/util.py | 166 | 66 | 48,626 |
LOAD_CONST '\nGraphQL module used to create `get` and/or `aggregate` GraphQL requests from Weaviate.\n'
STORE_NAME __doc__
LOAD_CONST 'AdditionalProperties'
LOAD_CONST 'LinkTo'
LOAD_CONST 'Query'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 1
LOAD_CONST ('AdditionalProperties', 'LinkTo')
IMPORT_NAME get
IMPORT_FROM Addit... | """
GraphQL module used to create `get` and/or `aggregate` GraphQL requests from Weaviate.
"""
__all__ = ["AdditionalProperties", "LinkTo", "Query"]
from .get import AdditionalProperties, LinkTo
from .query import Query
| data/weaviate-client-4.4.4/weaviate/gql/__init__.py | 124 | 66 | 448,667 |
LOAD_CONST 1
LOAD_CONST ('convert',)
IMPORT_NAME convert
IMPORT_FROM convert
STORE_NAME convert
POP_TOP
LOAD_CONST 1
LOAD_CONST ('buildInitialTypesSimple', 'getTensorTypeFromSpark', 'buildInputDictSimple')
IMPORT_NAME utils
IMPORT_FROM buildInitialTypesSimple
STORE_NAME buildInitialTypesSimple
IMPORT_FROM getTensorTyp... | from .convert import convert
from .utils import buildInitialTypesSimple, getTensorTypeFromSpark, buildInputDictSimple
from .ops_names import get_sparkml_operator_name
from .ops_input_output import get_input_names, get_output_names
| data/onnxmltools-1.12.0/onnxmltools/convert/sparkml/__init__.py | 213 | 66 | 288,983 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST ('setup',)
IMPORT_NAME setuptools
IMPORT_FROM setup
STORE_NAME setup
POP_TOP
LOAD_NAME setup
LOAD_CONST 'unicode.dist'
LOAD_CONST '0.1'
LOAD_CONST 'A testing distribution ☃... | from __future__ import annotations
from setuptools import setup
setup(
name="unicode.dist",
version="0.1",
description="A testing distribution \N{SNOWMAN}",
packages=["unicodedist"],
)
| data/wheel-0.42.0/tests/testdata/unicode.dist/setup.py | 114 | 66 | 321,565 |
LOAD_CONST <code object p_statement_assign at 0x7fab8004c810, file "f.py", line 1>
LOAD_CONST 'p_statement_assign'
MAKE_FUNCTION
STORE_NAME p_statement_assign
LOAD_CONST <code object p_statement_expr at 0x7fab8004c150, file "f.py", line 6>
LOAD_CONST 'p_statement_expr'
MAKE_FUNCTION
STORE_NAME p_statement_expr
LOAD_CO... | def p_statement_assign(t):
"statement : NAME EQUALS expression"
names[t[1]] = t[3]
def p_statement_expr(t):
"statement : expression"
t[0] = t[1]
| data/ply-3.11/test/pkg_test6/parsing/statement.py | 167 | 66 | 415,687 |
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 ('DatabaseClient',)
IMPORT_NAME database_client
IMPORT_FROM DatabaseClient
STORE_NAME DatabaseClient
POP_TOP
LOAD_CONST 1
LOAD_CONST ('DatabaseClientCompositeOpera... | from __future__ import absolute_import
from .database_client import DatabaseClient
from .database_client_composite_operations import DatabaseClientCompositeOperations
from . import models
__all__ = ["DatabaseClient", "DatabaseClientCompositeOperations", "models"]
| data/oci-2.122.0/src/oci/database/__init__.py | 157 | 66 | 181,975 |
LOAD_CONST ':mod:`wand` --- Simple `MagickWand API`_ binding for Python\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. _MagickWand API: http://www.imagemagick.org/script/magick-wand.php\n\n'
STORE_NAME __doc__
LOAD_CONST None
RETURN_VALUE | """:mod:`wand` --- Simple `MagickWand API`_ binding for Python
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. _MagickWand API: http://www.imagemagick.org/script/magick-wand.php
"""
| data/Wand-0.6.13/wand/__init__.py | 80 | 66 | 194,417 |
LOAD_CONST 'Pytest Fixtures.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('random_string', 'temp_dir')
IMPORT_NAME conftest
IMPORT_FROM random_string
STORE_NAME random_string
IMPORT_FROM temp_dir
STORE_NAME temp_dir
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_NAME pytest
LOAD_METHO... | """Pytest Fixtures."""
from conftest import random_string, temp_dir # noqa
import pytest
@pytest.fixture()
def DRIVER():
"""Return name of the driver to be tested."""
return "docker"
| data/molecule-plugins-23.5.3/test/docker/conftest.py | 147 | 66 | 109,759 |
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 ('ConfigClient',)
IMPORT_NAME config_client
IMPORT_FROM ConfigClient
STORE_NAME ConfigClient
POP_TOP
LOAD_CONST 1
LOAD_CONST ('ConfigClientCompositeOperations',)
I... | from __future__ import absolute_import
from .config_client import ConfigClient
from .config_client_composite_operations import ConfigClientCompositeOperations
from . import models
__all__ = ["ConfigClient", "ConfigClientCompositeOperations", "models"]
| data/oci-2.122.0/src/oci/apm_config/__init__.py | 157 | 66 | 181,799 |
LOAD_CONST 0
LOAD_CONST ('cached_property',)
IMPORT_NAME functools
IMPORT_FROM cached_property
STORE_NAME cached_property
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Foo at 0x7fab800ab930, file "f.py", line 4>
LOAD_CONST 'Foo'
MAKE_FUNCTION
LOAD_CONST 'Foo'
CALL_FUNCTION
STORE_NAME Foo
LOAD_CONST None
RETURN_VALU... | from functools import cached_property
class Foo:
@cached_property
def prop(self) -> int:
return 1
@cached_property
def prop_with_type_comment(self):
return 1
| data/sphinx-7.2.6/tests/roots/test-ext-autodoc/target/cached_property.py | 266 | 66 | 381,186 |
LOAD_CONST 'Extensions module, for backwards compatibility.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('CheckType', 'register_builtin_check', 'register_builtin_hypothesis', 'register_check_method', 'register_check_statistics')
IMPORT_NAME pandera.api.extensions
IMPORT_FROM CheckType
STORE_NAME CheckType
IMPORT_FROM ... | """Extensions module, for backwards compatibility."""
from pandera.api.extensions import (
CheckType,
register_builtin_check,
register_builtin_hypothesis,
register_check_method,
register_check_statistics,
)
| data/pandera-0.18.0/pandera/extensions.py | 149 | 66 | 121,917 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME gmpy2
IMPORT_STAR
SETUP_EXCEPT to 34
LOAD_CONST 1
LOAD_CONST ('_C_API', '_mpmath_normalize', '_mpmath_create')
IMPORT_NAME gmpy2
IMPORT_FROM _C_API
STORE_NAME _C_API
IMPORT_FROM _mpmath_normalize
STORE_NAME _mpmath_normalize
IMPORT_FROM _mpmath_create
STORE_NAME _mpmath_crea... | from .gmpy2 import *
try:
from .gmpy2 import _C_API, _mpmath_normalize, _mpmath_create
except ImportError:
from .gmpy2 import _mpmath_normalize, _mpmath_create
| data/gmpy2-2.1.5/gmpy2/__init__.py | 202 | 66 | 28,501 |
LOAD_CONST 0
LOAD_CONST ('WebSocketHandler',)
IMPORT_NAME geventwebsocket.handler
IMPORT_FROM WebSocketHandler
STORE_NAME WebSocketHandler
POP_TOP
LOAD_CONST 0
LOAD_CONST ('GeventPyWSGIWorker',)
IMPORT_NAME gunicorn.workers.ggevent
IMPORT_FROM GeventPyWSGIWorker
STORE_NAME GeventPyWSGIWorker
POP_TOP
LOAD_BUILD_CLASS
... | from geventwebsocket.handler import WebSocketHandler
from gunicorn.workers.ggevent import GeventPyWSGIWorker
class GeventWebSocketWorker(GeventPyWSGIWorker):
wsgi_handler = WebSocketHandler
| data/gevent-websocket-0.10.1/geventwebsocket/gunicorn/workers.py | 217 | 66 | 11,272 |
LOAD_CONST 0
LOAD_CONST ('exception',)
IMPORT_NAME keystoneauth1.fixture
IMPORT_FROM exception
STORE_NAME exception
POP_TOP
LOAD_NAME exception
LOAD_ATTR FixtureValidationError
STORE_NAME FixtureValidationError
LOAD_CONST None
RETURN_VALUE | from keystoneauth1.fixture import exception
FixtureValidationError = exception.FixtureValidationError
"""The token you created is not legitimate.
An alias of :py:exc:`keystoneauth1.fixture.exception.FixtureValidationError``
"""
| data/python-keystoneclient-5.3.0/keystoneclient/fixture/exception.py | 50 | 66 | 421,189 |
LOAD_CONST '__pyinstaller_fake_module_marker__'
STORE_NAME __pyinstaller_fake_module_marker__
LOAD_NAME print
LOAD_CONST 'this is PyQtx.uic.port_v2'
CALL_FUNCTION
POP_TOP
LOAD_CONST 1
LOAD_CONST ('test',)
IMPORT_NAME
IMPORT_FROM test
STORE_NAME test
POP_TOP
LOAD_CONST None
RETURN_VALUE | __pyinstaller_fake_module_marker__ = "__pyinstaller_fake_module_marker__"
print("this is PyQtx.uic.port_v2")
from . import test # noqa: F401, E402
| data/pyinstaller-6.4.0/tests/functional/modules/pyi_import_pyqt_uic_port/PyQt5/uic/port_v3/__init__.py | 81 | 66 | 184,821 |
LOAD_CONST 0
LOAD_CONST ('v2',)
IMPORT_NAME keystoneauth1.fixture
IMPORT_FROM v2
STORE_NAME v2
POP_TOP
LOAD_NAME v2
LOAD_ATTR Token
STORE_NAME Token
LOAD_CONST None
RETURN_VALUE | from keystoneauth1.fixture import v2
Token = v2.Token
"""A V2 Keystone token that can be used for testing.
An alias of :py:exc:`keystoneauth1.fixture.v2.Token`
"""
| data/python-keystoneclient-5.3.0/keystoneclient/fixture/v2.py | 50 | 66 | 421,190 |
LOAD_CONST '__pyinstaller_fake_module_marker__'
STORE_NAME __pyinstaller_fake_module_marker__
LOAD_NAME print
LOAD_CONST 'this is PyQtx.uic.port_v3'
CALL_FUNCTION
POP_TOP
LOAD_CONST 1
LOAD_CONST ('test',)
IMPORT_NAME
IMPORT_FROM test
STORE_NAME test
POP_TOP
LOAD_CONST None
RETURN_VALUE | __pyinstaller_fake_module_marker__ = "__pyinstaller_fake_module_marker__"
print("this is PyQtx.uic.port_v3")
from . import test # noqa: F401, E402
| data/pyinstaller-6.4.0/tests/functional/modules/pyi_import_pyqt_uic_port/PyQt5/uic/port_v2/__init__.py | 81 | 66 | 184,823 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object RegistryOperation at 0x7fab4298e8a0, file "f.py", line 4>
LOAD_CONST 'RegistryOperation'
MAKE_FUNCTION
LOAD_CONST 'RegistryOperation'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STORE_NAM... | from enum import Enum
class RegistryOperation(str, Enum):
Unknown = ("unknown",)
Create = ("create",)
Modify = ("modify",)
Delete = ("delete",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/registry_operation.py | 177 | 66 | 260,427 |
SETUP_EXCEPT to 18
LOAD_CONST 0
LOAD_CONST ('setup',)
IMPORT_NAME setuptools
IMPORT_FROM setup
STORE_NAME setup
POP_TOP
POP_BLOCK
JUMP_FORWARD to 46
DUP_TOP
LOAD_NAME ImportError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
POP_TOP
POP_TOP
LOAD_NAME ImportError
LOAD_CONST 'setuptools module required, please... | try:
from setuptools import setup
except ImportError:
raise ImportError(
"setuptools module required, please go to https://pypi.python.org/pypi/setuptools and follow the instructions for installing setuptools"
)
setup()
| data/dedupe-variable-datetime-1.0.0/setup.py | 125 | 66 | 110,547 |
LOAD_CONST 'Distance based time series regressors.'
STORE_NAME __doc__
LOAD_CONST 'KNeighborsTimeSeriesRegressor'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 0
LOAD_CONST ('KNeighborsTimeSeriesRegressor',)
IMPORT_NAME sktime.regression.distance_based._time_series_neighbors
IMPORT_FROM KNeighborsTimeSeriesRegressor
STORE... | """Distance based time series regressors."""
__all__ = ["KNeighborsTimeSeriesRegressor"]
from sktime.regression.distance_based._time_series_neighbors import (
KNeighborsTimeSeriesRegressor,
)
| data/sktime-0.26.0/sktime/regression/distance_based/__init__.py | 108 | 66 | 65,503 |
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 PortalLaunchWave at 0x7fab700e41e0, file "f.py", line 4>
LOAD_CONST 'PortalLaunchWave'
MAKE_FUNCTION
LOAD_CONST 'PortalLaunchWave'
LOAD_NAM... | from office365.runtime.client_value import ClientValue
class PortalLaunchWave(ClientValue):
@property
def entity_type_name(self):
return "SP.Publishing.PortalLaunch.PortalLaunchWave"
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/publishing/portallaunch/wave.py | 234 | 66 | 189,137 |
LOAD_CONST 0
LOAD_CONST ('Divider', 'AxesLocator', 'SubplotDivider', 'AxesDivider', 'make_axes_locatable')
IMPORT_NAME mpl_toolkits.axes_grid1.axes_divider
IMPORT_FROM Divider
STORE_NAME Divider
IMPORT_FROM AxesLocator
STORE_NAME AxesLocator
IMPORT_FROM SubplotDivider
STORE_NAME SubplotDivider
IMPORT_FROM AxesDivider
S... | from mpl_toolkits.axes_grid1.axes_divider import ( # noqa
Divider,
AxesLocator,
SubplotDivider,
AxesDivider,
make_axes_locatable,
)
| data/matplotlib-3.8.3/lib/mpl_toolkits/axisartist/axes_divider.py | 126 | 66 | 130,018 |
LOAD_CONST 0
LOAD_CONST ('Dict',)
IMPORT_NAME typing
IMPORT_FROM Dict
STORE_NAME Dict
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Paginator',)
IMPORT_NAME botocore.paginate
IMPORT_FROM Paginator
STORE_NAME Paginator
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ListJobs at 0x7fab821a11e0, file "f.py", line 5>
LOAD_CONST 'Li... | from typing import Dict
from botocore.paginate import Paginator
class ListJobs(Paginator):
def paginate(self, APIVersion: str = None, PaginationConfig: Dict = None) -> Dict:
pass
| data/boto3_type_annotations-0.3.1/boto3_type_annotations/importexport/paginator.py | 252 | 66 | 103,279 |
LOAD_CONST './crowddet-rcnn_r50_fpn_8xb2-30e_crowdhuman.py'
STORE_NAME _base_
LOAD_NAME dict
LOAD_NAME dict
LOAD_NAME dict
LOAD_CONST True
LOAD_CONST ('with_refine',)
CALL_FUNCTION
LOAD_CONST ('bbox_head',)
CALL_FUNCTION
LOAD_CONST ('roi_head',)
CALL_FUNCTION
STORE_NAME model
LOAD_CONST None
RETURN_VALUE | _base_ = "./crowddet-rcnn_r50_fpn_8xb2-30e_crowdhuman.py"
model = dict(roi_head=dict(bbox_head=dict(with_refine=True)))
| data/mmdet-3.3.0/mmdet/.mim/configs/crowddet/crowddet-rcnn_refine_r50_fpn_8xb2-30e_crowdhuman.py | 93 | 66 | 151,632 |
LOAD_CONST 'PyInstaller entry point for tcod.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Path',)
IMPORT_NAME pathlib
IMPORT_FROM Path
STORE_NAME Path
POP_TOP
LOAD_CONST 'list[str]'
LOAD_CONST ('r... | """PyInstaller entry point for tcod."""
from __future__ import annotations
from pathlib import Path
def get_hook_dirs() -> list[str]:
"""Return the current directory."""
return [str(Path(__file__).parent)]
| data/tcod-16.2.2/tcod/__pyinstaller/__init__.py | 169 | 66 | 249,718 |
LOAD_CONST 'Module containing synthesis algorithms for Permutation gates.'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('synth_permutation_depth_lnn_kms',)
IMPORT_NAME permutation_lnn
IMPORT_FROM synth_permutation_depth_lnn_kms
STORE_NAME synth_permutation_depth_lnn_kms
POP_TOP
LOAD_CONST 1
LOAD_CONST ('synth_permutat... | """Module containing synthesis algorithms for Permutation gates."""
from .permutation_lnn import synth_permutation_depth_lnn_kms
from .permutation_full import synth_permutation_basic, synth_permutation_acg
| data/qiskit-1.0.0/qiskit/synthesis/permutation/__init__.py | 166 | 66 | 283,213 |
LOAD_CONST 0
LOAD_CONST ('Dict', 'List')
IMPORT_NAME typing
IMPORT_FROM Dict
STORE_NAME Dict
IMPORT_FROM List
STORE_NAME List
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Literal',)
IMPORT_NAME typing_extensions
IMPORT_FROM Literal
STORE_NAME Literal
POP_TOP
LOAD_NAME str
STORE_NAME MetricComponent
LOAD_NAME Literal
LOAD_CONST... | from typing import Dict, List
from typing_extensions import Literal
MetricComponent = str
CalibrationMethod = Literal["isotonic", "sigmoid"]
MetricComponents = List[MetricComponent]
Details = Dict[MetricComponent, float]
| data/pyannote.metrics-3.2.1/pyannote/metrics/types.py | 133 | 66 | 167,578 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object WellknownListName at 0x7fab70027420, file "f.py", line 4>
LOAD_CONST 'WellknownListName'
MAKE_FUNCTION
LOAD_CONST 'WellknownListName'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STORE_NAM... | from enum import Enum
class WellknownListName(str, Enum):
None_ = ("none",)
DefaultList = ("defaultList",)
FlaggedEmails = ("flaggedEmails",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/wellknown_list_name.py | 182 | 66 | 261,176 |
SETUP_EXCEPT to 22
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME geoalchemy2
STORE_NAME geoalchemy2
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME shapely
STORE_NAME shapely
POP_BLOCK
JUMP_FORWARD to 50
DUP_TOP
LOAD_NAME ImportError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
POP_TOP
POP_TOP
LOAD_NAME Exception
LOAD... | try:
import geoalchemy2
import shapely
except ImportError:
raise Exception(
"Please install geoalchemy2 and shapely in order to use geoalchemy integration"
)
from .view import ModelView
| data/Flask-Admin-1.6.1/flask_admin/contrib/geoa/__init__.py | 150 | 66 | 249,337 |
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 ('EventsClient',)
IMPORT_NAME events_client
IMPORT_FROM EventsClient
STORE_NAME EventsClient
POP_TOP
LOAD_CONST 1
LOAD_CONST ('EventsClientCompositeOperations',)
I... | from __future__ import absolute_import
from .events_client import EventsClient
from .events_client_composite_operations import EventsClientCompositeOperations
from . import models
__all__ = ["EventsClient", "EventsClientCompositeOperations", "models"]
| data/oci-2.122.0/src/oci/events/__init__.py | 157 | 66 | 412,509 |
LOAD_CONST 0
LOAD_CONST ('CommsOperation',)
IMPORT_NAME office365.communications.operations.comms
IMPORT_FROM CommsOperation
STORE_NAME CommsOperation
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object StartHoldMusicOperation at 0x7fab7002ba50, file "f.py", line 4>
LOAD_CONST 'StartHoldMusicOperation'
MAKE_FUNCTION
LOAD... | from office365.communications.operations.comms import CommsOperation
class StartHoldMusicOperation(CommsOperation):
"""
Represents the status of a startHoldMusic operation, triggered by a call to the startHoldMusic API.
"""
| data/Office365-REST-Python-Client-2.5.5/office365/communications/operations/start_hold_music.py | 183 | 66 | 188,641 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME Security
STORE_NAME Security
LOAD_CONST 0
LOAD_CONST ('TestCase',)
IMPORT_NAME PyObjCTools.TestSupport
IMPORT_FROM TestCase
STORE_NAME TestCase
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object TestCSSMACI at 0x7f8af13aded0, file "f.py", line 5>
LOAD_CONST 'TestCSSMACI'
MAKE_FU... | import Security
from PyObjCTools.TestSupport import TestCase
class TestCSSMACI(TestCase):
def test_unsuppported(self):
self.assertFalse(hasattr(Security, "CSSM_SPI_AC_FUNCS"))
| data/pyobjc-framework-Security-10.1/PyObjCTest/test_cssmaci.py | 255 | 66 | 335,659 |
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 ('division',)
IMPORT_NAME __future__
IMPORT_FROM division
STORE_NAME division
POP_TOP
LOAD_CONST 0
LOAD_CONST ('print_function',)
IMPORT_NAME __future__
IMPORT_FRO... | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from . import auth
from . import dbapi
from . import client
from . import constants
from . import exceptions
__version__ = "0.8.4"
| data/presto-python-client-0.8.4/prestodb/__init__.py | 214 | 66 | 68,522 |
LOAD_CONST 0
LOAD_CONST ('crystal',)
IMPORT_NAME ase.spacegroup
IMPORT_FROM crystal
STORE_NAME crystal
POP_TOP
LOAD_CONST 3.57
STORE_NAME a
LOAD_NAME crystal
LOAD_CONST 'C'
LOAD_CONST (0, 0, 0)
BUILD_LIST
LOAD_CONST 227
LOAD_NAME a
LOAD_NAME a
LOAD_NAME a
LOAD_CONST 90
LOAD_CONST 90
LOAD_CONST 90
BUILD_LIST
LOAD_CONS... | from ase.spacegroup import crystal
a = 3.57
diamond = crystal("C", [(0, 0, 0)], spacegroup=227, cellpar=[a, a, a, 90, 90, 90])
| data/ase-3.22.1/doc/ase/spacegroup/spacegroup-diamond.py | 112 | 66 | 46,429 |
LOAD_CONST 'Composer models of Kinova robots.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('JacoArm',)
IMPORT_NAME dm_control.entities.manipulators.kinova.jaco_arm
IMPORT_FROM JacoArm
STORE_NAME JacoArm
POP_TOP
LOAD_CONST 0
LOAD_CONST ('JacoHand',)
IMPORT_NAME dm_control.entities.manipulators.kinova.jaco_hand
IMPORT_... | """Composer models of Kinova robots."""
from dm_control.entities.manipulators.kinova.jaco_arm import JacoArm
from dm_control.entities.manipulators.kinova.jaco_hand import JacoHand
| data/dm_control-1.0.16/dm_control/entities/manipulators/kinova/__init__.py | 117 | 66 | 372,538 |
LOAD_CONST 0
LOAD_CONST ('Literal',)
IMPORT_NAME typing
IMPORT_FROM Literal
STORE_NAME Literal
POP_TOP
LOAD_NAME Literal
LOAD_CONST ('normal', 'center', 'start', 'end', 'between', 'around', 'evenly', 'baseline', 'stretch')
BINARY_SUBSCR
STORE_NAME AlignContent
LOAD_CONST None
RETURN_VALUE | from typing import Literal
AlignContent = Literal[
"normal",
"center",
"start",
"end",
"between",
"around",
"evenly",
"baseline",
"stretch",
]
| data/nicegui-1.4.15/nicegui/tailwind_types/align_content.py | 73 | 66 | 223,404 |
LOAD_CONST 'Module for general partitioning algorithms.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('TimeSeriesLloyds',)
IMPORT_NAME sktime.clustering.partitioning._lloyds
IMPORT_FROM TimeSeriesLloyds
STORE_NAME TimeSeriesLloyds
POP_TOP
LOAD_CONST 'TimeSeriesLloyds'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 'chrisho... | """Module for general partitioning algorithms."""
from sktime.clustering.partitioning._lloyds import TimeSeriesLloyds
__all__ = ["TimeSeriesLloyds"]
__author__ = ["chrisholder", "TonyBagnall"]
| data/sktime-0.26.0/sktime/clustering/partitioning/__init__.py | 113 | 66 | 65,991 |
LOAD_CONST 1
LOAD_CONST ('_OnPrem',)
IMPORT_NAME
IMPORT_FROM _OnPrem
STORE_NAME _OnPrem
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object _Groupware at 0x7fab70246e40, file "f.py", line 4>
LOAD_CONST '_Groupware'
MAKE_FUNCTION
LOAD_CONST '_Groupware'
LOAD_NAME _OnPrem
CALL_FUNCTION
STORE_NAME _Groupware
LOAD_BUILD_CLA... | from . import _OnPrem
class _Groupware(_OnPrem):
_type = "groupware"
_icon_dir = "resources/onprem/groupware"
class Nextcloud(_Groupware):
_icon = "nextcloud.png"
| data/diagrams-0.23.4/diagrams/onprem/groupware.py | 253 | 66 | 205,981 |
LOAD_CONST '\nUsed by L{twisted.test.test_process}.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('argv', 'stdout')
IMPORT_NAME sys
IMPORT_FROM argv
STORE_NAME argv
IMPORT_FROM stdout
STORE_NAME stdout
POP_TOP
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_NAME stdout
LOAD_METHOD writ... | """
Used by L{twisted.test.test_process}.
"""
from sys import argv, stdout
if __name__ == "__main__":
stdout.write(chr(0).join(argv))
stdout.flush()
| data/twisted-23.10.0/src/twisted/test/process_getargv.py | 127 | 66 | 384,328 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME OpenGL.raw.GLES1._types
IMPORT_STAR
LOAD_CONST 0
LOAD_CONST ('PLATFORM',)
IMPORT_NAME OpenGL.platform
IMPORT_FROM PLATFORM
STORE_NAME _p
POP_TOP
LOAD_CONST 0
LOAD_CONST ('_ErrorChecker',)
IMPORT_NAME OpenGL.error
IMPORT_FROM _ErrorChecker
STORE_NAME _ErrorChecker
POP_TOP
LO... | from OpenGL.raw.GLES1._types import *
from OpenGL.platform import PLATFORM as _p
from OpenGL.error import _ErrorChecker
_error_checker = _ErrorChecker(_p, _p.GLES2.glGetError)
| data/PyOpenGL-3.1.7/OpenGL/raw/GLES2/_types.py | 127 | 66 | 59,684 |
LOAD_CONST 0
LOAD_CONST ('GiModuleInfo',)
IMPORT_NAME PyInstaller.utils.hooks.gi
IMPORT_FROM GiModuleInfo
STORE_NAME GiModuleInfo
POP_TOP
LOAD_NAME GiModuleInfo
LOAD_CONST 'Pango'
LOAD_CONST '1.0'
CALL_FUNCTION
STORE_NAME module_info
LOAD_NAME module_info
LOAD_ATTR available
POP_JUMP_IF_FALSE
LOAD_NAME module_info
L... | from PyInstaller.utils.hooks.gi import GiModuleInfo
module_info = GiModuleInfo("Pango", "1.0")
if module_info.available:
binaries, datas, hiddenimports = module_info.collect_typelib_data()
| data/pyinstaller-6.4.0/PyInstaller/hooks/hook-gi.repository.Pango.py | 110 | 66 | 185,191 |
LOAD_CONST 0
LOAD_CONST ('CommsOperation',)
IMPORT_NAME office365.communications.operations.comms
IMPORT_FROM CommsOperation
STORE_NAME CommsOperation
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object StopHoldMusicOperation at 0x7fab7002ba50, file "f.py", line 4>
LOAD_CONST 'StopHoldMusicOperation'
MAKE_FUNCTION
LOAD_C... | from office365.communications.operations.comms import CommsOperation
class StopHoldMusicOperation(CommsOperation):
"""
Represents the status of a stopHoldMusic operation, triggered by a call to the stopHoldMusic API.
"""
| data/Office365-REST-Python-Client-2.5.5/office365/communications/operations/stop_hold_music.py | 183 | 66 | 188,644 |
LOAD_CONST 0
LOAD_CONST ('unique',)
IMPORT_NAME enum
IMPORT_FROM unique
STORE_NAME unique
POP_TOP
LOAD_CONST 5
LOAD_CONST ('StrEnum',)
IMPORT_NAME _base_enum
IMPORT_FROM StrEnum
STORE_NAME StrEnum
POP_TOP
LOAD_NAME unique
LOAD_BUILD_CLASS
LOAD_CONST <code object ConstituentOverrideMode at 0x7fab7002b420, file "f.py",... | from enum import unique
from ....._base_enum import StrEnum
@unique
class ConstituentOverrideMode(StrEnum):
MERGE_WITH_DEFINITION = "MergeWithDefinition"
REPLACE_DEFINITION = "ReplaceDefinition"
| data/refinitiv-data-1.6.0/refinitiv/data/content/ipa/curves/_enums/_constituent_override_mode.py | 199 | 66 | 195,671 |
LOAD_CONST 0
LOAD_CONST ('Search',)
IMPORT_NAME cloudinary
IMPORT_FROM Search
STORE_NAME Search
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object SearchFolders at 0x7fab701630c0, file "f.py", line 4>
LOAD_CONST 'SearchFolders'
MAKE_FUNCTION
LOAD_CONST 'SearchFolders'
LOAD_NAME Search
CALL_FUNCTION
STORE_NAME SearchFold... | from cloudinary import Search
class SearchFolders(Search):
FOLDERS = "folders"
def __init__(self):
super(SearchFolders, self).__init__()
self.endpoint(self.FOLDERS)
| data/cloudinary-1.38.0/cloudinary/search_folders.py | 254 | 66 | 299,920 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME dataclasses
STORE_NAME dataclasses
LOAD_CONST 0
LOAD_CONST ('Any',)
IMPORT_NAME typing
IMPORT_FROM Any
STORE_NAME Any
POP_TOP
LOAD_NAME dict
LOAD_NAME str
LOAD_NAME Any
BUILD_TUPLE
BINARY_SUBSCR
STORE_NAME Json
LOAD_CONST <code object dataclass_encode_json at 0x7fab8234aa50, ... | import dataclasses
from typing import Any
Json = dict[str, Any]
def dataclass_encode_json(obj):
return {k: v for k, v in dataclasses.asdict(obj).items() if v is not None}
| data/plugp100-4.0.3/plugp100/common/utils/json_utils.py | 252 | 66 | 144,069 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME checkov.openapi.checks.resource.v2
IMPORT_STAR
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME checkov.openapi.checks.resource.v3
IMPORT_STAR
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME checkov.openapi.checks.resource.generic
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | from checkov.openapi.checks.resource.v2 import * # noqa
from checkov.openapi.checks.resource.v3 import * # noqa
from checkov.openapi.checks.resource.generic import * # noqa
| data/checkov-3.2.23/checkov/openapi/checks/resource/__init__.py | 87 | 66 | 158,694 |
LOAD_CONST 0
LOAD_CONST ('Entity',)
IMPORT_NAME office365.entity
IMPORT_FROM Entity
STORE_NAME Entity
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object AuthenticationMethodsPolicy at 0x7fab541051e0, file "f.py", line 4>
LOAD_CONST 'AuthenticationMethodsPolicy'
MAKE_FUNCTION
LOAD_CONST 'AuthenticationMethodsPolicy'
LOAD... | from office365.entity import Entity
class AuthenticationMethodsPolicy(Entity):
"""Defines authentication methods and the users that are allowed to use them to sign in and perform multi-factor
authentication (MFA) in Azure Active Directory (Azure AD).
"""
| data/Office365-REST-Python-Client-2.5.5/office365/directory/policies/authentication_methods.py | 177 | 66 | 188,813 |
LOAD_CONST 1
LOAD_CONST ('public_chain',)
IMPORT_NAME submodule
IMPORT_FROM public_chain
STORE_NAME public_chain
POP_TOP
LOAD_CONST 1
LOAD_CONST ('_private_made_public',)
IMPORT_NAME submodule
IMPORT_FROM _private_made_public
STORE_NAME now_public_function
POP_TOP
LOAD_CONST 1
LOAD_CONST ('public_multiple_imports',)
... | from .submodule import public_chain
from .submodule import _private_made_public as now_public_function
from .submodule import public_multiple_imports
def module_level_method(foo, bar):
"""A module level method"""
pass
| data/sphinx-autoapi-3.0.0/tests/python/pypackagecomplex/complex/subpackage/__init__.py | 172 | 66 | 348,100 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.