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 numpy
STORE_NAME np
LOAD_CONST 1
LOAD_CONST ('OpRunUnaryNum',)
IMPORT_NAME _op
IMPORT_FROM OpRunUnaryNum
STORE_NAME OpRunUnaryNum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Atanh at 0x7fab4106c150, file "f.py", line 6>
LOAD_CONST 'Atanh'
MAKE_FUNCTION
LOAD_CONST 'Atanh'
... | import numpy as np
from ._op import OpRunUnaryNum
class Atanh(OpRunUnaryNum):
def _run(self, x): # type: ignore
return (np.arctanh(x),)
| data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_atanh.py | 218 | 62 | 85,600 |
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-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/run_tflite.py | 82 | 62 | 401,211 |
LOAD_CONST 0
LOAD_CONST ('migrations',)
IMPORT_NAME django.db
IMPORT_FROM migrations
STORE_NAME migrations
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Migration at 0x7f8e2fec3b70, file "f.py", line 4>
LOAD_CONST 'Migration'
MAKE_FUNCTION
LOAD_CONST 'Migration'
LOAD_NAME migrations
LOAD_ATTR Migration
CALL_FUNCTIO... | from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("migrations", "1_auto")]
operations = [migrations.RunPython(migrations.RunPython.noop)]
| data/Django-5.0.2/tests/migrations/test_migrations_squashed_complex/2_auto.py | 171 | 62 | 325,731 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME better_exceptions
STORE_NAME better_exceptions
LOAD_NAME better_exceptions
LOAD_METHOD hook
CALL_METHOD
POP_TOP
LOAD_CONST '\nif True:\n a = 5\n print("foobar") #intentional faulty indentation here.\n b = 7\n'
STORE_NAME code
LOAD_NAME exec
LOAD_NAME code
CALL_FUNCTION
POP_TO... | import better_exceptions
better_exceptions.hook()
code = """
if True:
a = 5
print("foobar") #intentional faulty indentation here.
b = 7
"""
exec(code)
| data/better_exceptions-0.3.3/test/test_indentation_error.py | 89 | 62 | 387,836 |
LOAD_CONST 0
LOAD_CONST ('Any', 'Dict', 'Tuple', 'TypeVar', 'Union')
IMPORT_NAME typing
IMPORT_FROM Any
STORE_NAME Any
IMPORT_FROM Dict
STORE_NAME Dict
IMPORT_FROM Tuple
STORE_NAME Tuple
IMPORT_FROM TypeVar
STORE_NAME TypeVar
IMPORT_FROM Union
STORE_NAME Union
POP_TOP
LOAD_NAME Tuple
LOAD_NAME int
LOAD_NAME Dict
LOAD_... | from typing import Any, Dict, Tuple, TypeVar, Union
TYPE_RESPONSE = Tuple[int, Dict[str, Any], Union[str, bytes]]
TYPE_IF_NONE = TypeVar("TYPE_IF_NONE")
| data/moto-5.0.2/moto/core/common_types.py | 143 | 62 | 198,210 |
LOAD_CONST 'Standards which are used on a dbu basis instead of um.'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('Straight', 'straight')
IMPORT_NAME straight
IMPORT_FROM Straight
STORE_NAME Straight
IMPORT_FROM straight
STORE_NAME straight
POP_TOP
LOAD_CONST 1
LOAD_CONST ('Taper', 'taper')
IMPORT_NAME taper
IMPORT_FRO... | """Standards which are used on a dbu basis instead of um."""
from .straight import Straight, straight
from .taper import Taper, taper
__all__ = ["straight", "taper", "Straight", "Taper"]
| data/kfactory-0.11.2/src/kfactory/cells/dbu/__init__.py | 132 | 62 | 360,125 |
SETUP_EXCEPT to 18
LOAD_CONST 0
LOAD_CONST ('GenericForeignKey',)
IMPORT_NAME compat
IMPORT_FROM GenericForeignKey
STORE_NAME GenericForeignKey
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 ('GenericFore... | try:
from compat import GenericForeignKey
except ImportError: # Django >= 1.9
from django.contrib.contenttypes.fields import GenericForeignKey
__all__ = [
"GenericForeignKey",
]
| data/django-compat-1.0.15/compat/models.py | 138 | 62 | 83,585 |
LOAD_CONST 1
LOAD_CONST ('COCO', 'COCOeval', 'COCOPanoptic')
IMPORT_NAME coco_api
IMPORT_FROM COCO
STORE_NAME COCO
IMPORT_FROM COCOeval
STORE_NAME COCOeval
IMPORT_FROM COCOPanoptic
STORE_NAME COCOPanoptic
POP_TOP
LOAD_CONST 1
LOAD_CONST ('COCOevalMP',)
IMPORT_NAME cocoeval_mp
IMPORT_FROM COCOevalMP
STORE_NAME COCOeval... | from .coco_api import COCO, COCOeval, COCOPanoptic
from .cocoeval_mp import COCOevalMP
__all__ = ["COCO", "COCOeval", "COCOPanoptic", "COCOevalMP"]
| data/mmdet-3.3.0/mmdet/datasets/api_wrappers/__init__.py | 140 | 62 | 151,051 |
LOAD_CONST 'sphinxext.opengraph'
BUILD_LIST
STORE_NAME extensions
LOAD_CONST 'index'
STORE_NAME master_doc
LOAD_CONST '_build'
BUILD_LIST
STORE_NAME exclude_patterns
LOAD_CONST 'basic'
STORE_NAME html_theme
LOAD_CONST 'http://example.org/en/latest/'
STORE_NAME ogp_site_url
LOAD_CONST None
RETURN_VALUE | extensions = ["sphinxext.opengraph"]
master_doc = "index"
exclude_patterns = ["_build"]
html_theme = "basic"
ogp_site_url = "http://example.org/en/latest/"
| data/sphinxext-opengraph-0.9.1/tests/roots/test-simple/conf.py | 80 | 62 | 346,018 |
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 ('add_pyspark_path_if_needed',)
IMPORT_NAME utils
IMPORT_FROM add_pyspark_path_if_needed
STORE_NAME add_pyspark_path_if_needed
POP_TOP
LOAD_NAME add_pyspark_path_i... | from __future__ import absolute_import
from .utils import add_pyspark_path_if_needed
"""
Add the python path if needed as an import to make pep8 happy.
"""
add_pyspark_path_if_needed()
| data/spark-testing-base-0.11.1/sparktestingbase/pathmagic.py | 110 | 62 | 19,181 |
LOAD_CONST './glip_atss_swin-t_a_fpn_dyhead_pretrain_zeroshot_mini-lvis.py'
STORE_NAME _base_
LOAD_NAME dict
LOAD_NAME dict
LOAD_CONST True
LOAD_CONST ('early_fuse',)
CALL_FUNCTION
LOAD_CONST ('bbox_head',)
CALL_FUNCTION
STORE_NAME model
LOAD_CONST None
RETURN_VALUE | _base_ = "./glip_atss_swin-t_a_fpn_dyhead_pretrain_zeroshot_mini-lvis.py"
model = dict(bbox_head=dict(early_fuse=True))
| data/mmdet-3.3.0/mmdet/.mim/configs/glip/lvis/glip_atss_swin-t_bc_fpn_dyhead_pretrain_zeroshot_mini-lvis.py | 82 | 62 | 151,072 |
LOAD_CONST 1
LOAD_CONST ('BaseConvRFSearchOp', 'Conv2dRFSearchOp')
IMPORT_NAME operator
IMPORT_FROM BaseConvRFSearchOp
STORE_NAME BaseConvRFSearchOp
IMPORT_FROM Conv2dRFSearchOp
STORE_NAME Conv2dRFSearchOp
POP_TOP
LOAD_CONST 1
LOAD_CONST ('RFSearchHook',)
IMPORT_NAME search
IMPORT_FROM RFSearchHook
STORE_NAME RFSearch... | from .operator import BaseConvRFSearchOp, Conv2dRFSearchOp
from .search import RFSearchHook
__all__ = ["BaseConvRFSearchOp", "Conv2dRFSearchOp", "RFSearchHook"]
| data/mmcv-2.1.0/mmcv/cnn/rfsearch/__init__.py | 143 | 62 | 222,561 |
LOAD_CONST 1
LOAD_CONST 2
LOAD_CONST 3
LOAD_CONST 4
BUILD_LIST
STORE_NAME x
LOAD_CONST 1
LOAD_CONST 2
LOAD_CONST 3
LOAD_CONST 4
BUILD_LIST
STORE_NAME x
LOAD_CONST 1
LOAD_CONST 2
LOAD_CONST 3
LOAD_CONST 4
BUILD_LIST
STORE_NAME x
LOAD_CONST None
RETURN_VALUE | x = [
1,
2,
3,
4,
]
x = [
1,
2,
3,
4,
]
x = [1, 2, 3, 4]
| data/ruff-0.2.2/crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtonoff3.py | 76 | 62 | 342,130 |
LOAD_CONST 'controlled_noisy_web_labels dataset.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('ControlledNoisyWebLabels',)
IMPORT_NAME tensorflow_datasets.image_classification.controlled_noisy_web_labels.controlled_noisy_web_labels
IMPORT_FROM ControlledNoisyWebLabels
STORE_NAME ControlledNoisyWebLabels
POP_TOP
LOAD_C... | """controlled_noisy_web_labels dataset."""
from tensorflow_datasets.image_classification.controlled_noisy_web_labels.controlled_noisy_web_labels import (
ControlledNoisyWebLabels,
)
| data/tfds-nightly-4.9.4.dev202402210044/tensorflow_datasets/image_classification/controlled_noisy_web_labels/__init__.py | 94 | 62 | 238,526 |
LOAD_CONST 1
LOAD_CONST ('MultiProcessAdapter', 'communicate', 'create_process_group', 'flatten_tensors', 'group_by_dtype', 'make_logger', 'unflatten_tensors')
IMPORT_NAME helpers
IMPORT_FROM MultiProcessAdapter
STORE_NAME MultiProcessAdapter
IMPORT_FROM communicate
STORE_NAME communicate
IMPORT_FROM create_process_gro... | from .helpers import (
MultiProcessAdapter,
communicate,
create_process_group,
flatten_tensors,
group_by_dtype,
make_logger,
unflatten_tensors,
)
| data/fairscale-0.4.13/fairscale/experimental/nn/data_parallel/gossip/utils/__init__.py | 153 | 62 | 193,869 |
LOAD_CONST 'Calibration creators.'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('PulseGates',)
IMPORT_NAME pulse_gate
IMPORT_FROM PulseGates
STORE_NAME PulseGates
POP_TOP
LOAD_CONST 1
LOAD_CONST ('RZXCalibrationBuilder', 'RZXCalibrationBuilderNoEcho')
IMPORT_NAME rzx_builder
IMPORT_FROM RZXCalibrationBuilder
STORE_NAM... | """Calibration creators."""
from .pulse_gate import PulseGates
from .rzx_builder import RZXCalibrationBuilder, RZXCalibrationBuilderNoEcho
from .rx_builder import RXCalibrationBuilder
| data/qiskit-1.0.0/qiskit/transpiler/passes/calibration/builders.py | 169 | 62 | 283,057 |
LOAD_CONST '\nVersions for Python packages.\n\nSee L{incremental}.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('IncomparableVersions', 'Version', 'getVersionString')
IMPORT_NAME incremental
IMPORT_FROM IncomparableVersions
STORE_NAME IncomparableVersions
IMPORT_FROM Version
STORE_NAME Version
IMPORT_FROM getVersion... | """
Versions for Python packages.
See L{incremental}.
"""
from incremental import IncomparableVersions, Version, getVersionString
__all__ = ["Version", "getVersionString", "IncomparableVersions"]
| data/twisted-23.10.0/src/twisted/python/versions.py | 124 | 62 | 383,885 |
LOAD_CONST 0
LOAD_CONST ('AppConfig',)
IMPORT_NAME django.apps
IMPORT_FROM AppConfig
STORE_NAME AppConfig
POP_TOP
LOAD_CONST 0
LOAD_CONST ('gettext_lazy',)
IMPORT_NAME django.utils.translation
IMPORT_FROM gettext_lazy
STORE_NAME _
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object HumanizeConfig at 0x7f8c5d0fdc00, file... | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class HumanizeConfig(AppConfig):
name = "django.contrib.humanize"
verbose_name = _("Humanize")
| data/Django-5.0.2/django/contrib/humanize/apps.py | 196 | 62 | 326,726 |
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 VerifiedDomain at 0x7fab700ad390, file "f.py", line 4>
LOAD_CONST 'VerifiedDomain'
MAKE_FUNCTION
LOAD_CONST 'VerifiedDomain'
LOAD_NAME Clie... | from office365.runtime.client_value import ClientValue
class VerifiedDomain(ClientValue):
"""
Specifies a domain for a tenant. The verifiedDomains property of the organization entity is a collection of
verifiedDomain objects.
"""
| data/Office365-REST-Python-Client-2.5.5/office365/directory/domains/verified.py | 169 | 62 | 188,873 |
LOAD_CONST 0
LOAD_CONST ('Any', 'OrderedDict')
IMPORT_NAME typing
IMPORT_FROM Any
STORE_NAME Any
IMPORT_FROM OrderedDict
STORE_NAME OrderedDict
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object CallParameters at 0x7fab821c54b0, file "f.py", line 4>
LOAD_CONST 'CallParameters'
MAKE_FUNCTION
LOAD_CONST 'CallParameters'
L... | from typing import Any, OrderedDict
class CallParameters(OrderedDict[str, Any]):
def placeholder_str(self) -> str:
return ", ".join([f"${k}" for k in self.keys()])
| data/graphdatascience-1.9/graphdatascience/call_parameters.py | 323 | 62 | 221,808 |
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 ConditionalAccessRoot at 0x7fadb5811c00, file "f.py", line 4>
LOAD_CONST 'ConditionalAccessRoot'
MAKE_FUNCTION
LOAD_CONST 'ConditionalAccessRoot'
LOAD_NAME Entity
CALL_... | from office365.entity import Entity
class ConditionalAccessRoot(Entity):
"""The conditionalAccessRoot resource is the entry point for the Conditional Access (CA) object model.
It doesn't contain any usable properties."""
pass
| data/Office365-REST-Python-Client-2.5.5/office365/directory/identities/conditional_access_root.py | 172 | 62 | 188,894 |
LOAD_CONST 'sphinxext.opengraph'
BUILD_LIST
STORE_NAME extensions
LOAD_CONST 'index'
STORE_NAME master_doc
LOAD_CONST '_build'
BUILD_LIST
STORE_NAME exclude_patterns
LOAD_CONST 'basic'
STORE_NAME html_theme
LOAD_CONST 'http://example.org/en/latest/'
STORE_NAME ogp_site_url
LOAD_CONST None
RETURN_VALUE | extensions = ["sphinxext.opengraph"]
master_doc = "index"
exclude_patterns = ["_build"]
html_theme = "basic"
ogp_site_url = "http://example.org/en/latest/"
| data/sphinxext-opengraph-0.9.1/tests/roots/test-arbitrary-tags/conf.py | 80 | 62 | 346,014 |
LOAD_CONST 0
LOAD_CONST ('HttpRequester',)
IMPORT_NAME airbyte_cdk.sources.declarative.requesters
IMPORT_FROM HttpRequester
STORE_NAME HttpRequester
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object SampleCustomComponent at 0x7fa6a2b2e420, file "f.py", line 4>
LOAD_CONST 'SampleCustomComponent'
MAKE_FUNCTION
LOAD_CONST... | from airbyte_cdk.sources.declarative.requesters import HttpRequester
class SampleCustomComponent(HttpRequester):
"""
A test class used to validate manifests that rely on custom defined Python components
"""
pass
| data/airbyte-cdk-0.64.0/unit_tests/sources/declarative/external_component.py | 170 | 62 | 51,721 |
LOAD_CONST 0
LOAD_CONST ('Entity',)
IMPORT_NAME office365.sharepoint.entity
IMPORT_FROM Entity
STORE_NAME Entity
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object SPMachineLearningSample at 0x7fab640fa5d0, file "f.py", line 4>
LOAD_CONST 'SPMachineLearningSample'
MAKE_FUNCTION
LOAD_CONST 'SPMachineLearningSample'
LOAD_... | from office365.sharepoint.entity import Entity
class SPMachineLearningSample(Entity):
@property
def entity_type_name(self):
return "Microsoft.Office.Server.ContentCenter.SPMachineLearningSample"
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/contentcenter/machinelearning/samples/sample.py | 227 | 62 | 189,705 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME cloudpickle
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('CloudPickler', 'dumps', 'dump')
IMPORT_NAME cloudpickle_fast
IMPORT_FROM CloudPickler
STORE_NAME CloudPickler
IMPORT_FROM dumps
STORE_NAME dumps
IMPORT_FROM dump
STORE_NAME dump
POP_TOP
LOAD_NAME CloudPickler
STORE_NAME Pickl... | from .cloudpickle import * # noqa
from .cloudpickle_fast import CloudPickler, dumps, dump # noqa
Pickler = CloudPickler
__version__ = "2.2.0"
| data/srsly-2.4.8/srsly/cloudpickle/__init__.py | 105 | 62 | 244,307 |
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 BookingService at 0x7fab640fae40, file "f.py", line 4>
LOAD_CONST 'BookingService'
MAKE_FUNCTION
LOAD_CONST 'BookingService'
LOAD_NAME Entity
CALL_FUNCTION
STORE_NAME B... | from office365.entity import Entity
class BookingService(Entity):
"""
Represents information about a particular service provided by a bookingBusiness, such as the service name,
price, and the staff that usually provides such service.
"""
| data/Office365-REST-Python-Client-2.5.5/office365/booking/service.py | 168 | 62 | 188,926 |
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 DescribeReportDefinitions at 0x7fab8203ae40, file "f.py", line ... | from typing import Dict
from botocore.paginate import Paginator
class DescribeReportDefinitions(Paginator):
def paginate(self, PaginationConfig: Dict = None) -> Dict:
pass
| data/boto3_type_annotations-0.3.1/boto3_type_annotations/cur/paginator.py | 258 | 62 | 103,644 |
LOAD_CONST "passlib.ext.django.models -- monkeypatch django hashing framework\n\nthis plugin monkeypatches django's hashing framework\nso that it uses a passlib context object, allowing handling of arbitrary\nhashes in Django databases.\n"
STORE_NAME __doc__
LOAD_CONST None
RETURN_VALUE | """passlib.ext.django.models -- monkeypatch django hashing framework
this plugin monkeypatches django's hashing framework
so that it uses a passlib context object, allowing handling of arbitrary
hashes in Django databases.
"""
| data/passlib-1.7.4/passlib/ext/django/__init__.py | 76 | 62 | 153,698 |
LOAD_CONST 'Cement testing utilities.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os
STORE_NAME os
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME shutil
STORE_NAME shutil
LOAD_CONST 0
LOAD_CONST ('raises', 'skip')
IMPORT_NAME pytest
IMPORT_FROM raises
STORE_NAME raises
IMPORT_FROM skip
STORE_NAME skip
POP... | """Cement testing utilities."""
import os
import shutil
from pytest import raises, skip
from ..core.foundation import TestApp
from ..core.exc import *
from ..utils.misc import rando
from ..utils import fs, shell
| data/cement-3.0.8/cement/utils/test.py | 187 | 62 | 89,547 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST True
STORE_GLOBAL is_cold_start
LOAD_CONST <code object reset_cold_start_flag at 0x7fab42018930, file "f.py", line 6>
LOAD_CONST 'reset_cold_start_flag'
MAKE_FUNCTION
STORE_NAME reset_cold... | from __future__ import annotations
is_cold_start = True
def reset_cold_start_flag():
global is_cold_start
if not is_cold_start:
is_cold_start = True
| data/aws_lambda_powertools-2.34.0/aws_lambda_powertools/metrics/provider/cold_start.py | 135 | 62 | 359,884 |
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 MetalKit
STORE_NAME MetalKit
LOAD_BUILD_CLASS
LOAD_CONST <code object TestCallableMetadata at 0x7f8aac5a4db0, file "f.py", line 6>
LOAD_CONST 'TestCallabl... | from PyObjCTools.TestSupport import TestCase
import MetalKit
class TestCallableMetadata(TestCase):
def test_callable_metadata_is_sane(self):
self.assertCallableMetadataIsSane(MetalKit)
| data/pyobjc-framework-MetalKit-10.1/PyObjCTest/test_metalkit.py | 251 | 62 | 327,519 |
LOAD_BUILD_CLASS
LOAD_CONST <code object HasOutputColOnMOJO at 0x7faa528b0300, file "f.py", line 1>
LOAD_CONST 'HasOutputColOnMOJO'
MAKE_FUNCTION
LOAD_CONST 'HasOutputColOnMOJO'
CALL_FUNCTION
STORE_NAME HasOutputColOnMOJO
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CONST 'HasOutputColOnM... | class HasOutputColOnMOJO:
def getOutputCol(self):
return self._java_obj.getOutputCol()
def setOutputCol(self, value):
self._java_obj.setOutputCol(value)
return self
| data/h2o_pysparkling_3.1-3.44.0.3.post1/ai/h2o/sparkling/ml/params/HasOutputColOnMOJO.py | 267 | 62 | 27,333 |
LOAD_BUILD_CLASS
LOAD_CONST <code object HasInputColOnMOJO at 0x7faa528b0810, file "f.py", line 1>
LOAD_CONST 'HasInputColOnMOJO'
MAKE_FUNCTION
LOAD_CONST 'HasInputColOnMOJO'
CALL_FUNCTION
STORE_NAME HasInputColOnMOJO
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CONST 'HasInputColOnMOJO'
... | class HasInputColOnMOJO:
def getInputCol(self):
return self._java_obj.getInputCol()
def setInputCol(self, value):
self._java_obj.setInputCol(value)
return self
| data/h2o_pysparkling_3.1-3.44.0.3.post1/ai/h2o/sparkling/ml/params/HasInputColOnMOJO.py | 267 | 62 | 27,331 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST ('ImpalaCompiler',)
IMPORT_NAME ibis.backends.impala.compiler
IMPORT_FROM ImpalaCompiler
STORE_NAME ImpalaCompiler
POP_TOP
LOAD_CONST 0
LOAD_CONST ('MockBackend',)
IMPORT_NAME... | from __future__ import annotations
from ibis.backends.impala.compiler import ImpalaCompiler
from ibis.tests.expr.mocks import MockBackend
class MockImpalaConnection(MockBackend):
compiler = ImpalaCompiler
| data/ibis_framework-8.0.0/ibis/backends/impala/tests/mocks.py | 218 | 62 | 161,359 |
LOAD_CONST '$Id$'
STORE_NAME __revision__
LOAD_CONST <code object do at 0x7fab42231150, file "f.py", line 4>
LOAD_CONST 'do'
MAKE_FUNCTION
STORE_NAME do
LOAD_CONST None
RETURN_VALUE
LOAD_FAST self
LOAD_ATTR debug
LOAD_ATTR system
LOAD_ATTR fix_symbol_store_path
LOAD_CONST True
LOAD_CONST False
LOAD_CONST ('remote', '... | __revision__ = "$Id$"
def do(self, arg):
".symfix - Set the default Microsoft Symbol Store settings if missing"
self.debug.system.fix_symbol_store_path(remote=True, force=False)
| data/pydevd-pycharm-241.12662.44/pydevd_attach_to_process/winappdbg/plugins/do_symfix.py | 103 | 62 | 347,301 |
LOAD_CONST 0
LOAD_CONST ('Literal',)
IMPORT_NAME typing
IMPORT_FROM Literal
STORE_NAME Literal
POP_TOP
LOAD_NAME Literal
LOAD_CONST ('none', 'sm', '', 'md', 'lg', 'xl', '2xl', '3xl')
BINARY_SUBSCR
STORE_NAME BackdropBlur
LOAD_CONST None
RETURN_VALUE | from typing import Literal
BackdropBlur = Literal[
"none",
"sm",
"",
"md",
"lg",
"xl",
"2xl",
"3xl",
]
| data/nicegui-1.4.15/nicegui/tailwind_types/backdrop_blur.py | 71 | 62 | 223,444 |
LOAD_CONST 1
LOAD_CONST ('BatchServiceClientConfiguration',)
IMPORT_NAME _configuration
IMPORT_FROM BatchServiceClientConfiguration
STORE_NAME BatchServiceClientConfiguration
POP_TOP
LOAD_CONST 1
LOAD_CONST ('BatchServiceClient',)
IMPORT_NAME _batch_service_client
IMPORT_FROM BatchServiceClient
STORE_NAME BatchService... | from ._configuration import BatchServiceClientConfiguration
from ._batch_service_client import BatchServiceClient
__all__ = ["BatchServiceClient", "BatchServiceClientConfiguration"]
from ._version import VERSION
__version__ = VERSION
| data/azure-batch-14.1.0/azure/batch/__init__.py | 134 | 62 | 360,144 |
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 1
LOAD_CONST ('XPath2Parser',)
IMPORT_NAME xpath2_parser
IMPORT_FROM XPath2Parser
STORE_NAME XPath2Parser
POP_TOP
JUMP_FORWARD to 42
LOAD_CONST... | from typing import TYPE_CHECKING
if TYPE_CHECKING:
from .xpath2_parser import XPath2Parser
else:
from ._xpath2_constructors import XPath2Parser
__all__ = ["XPath2Parser"]
| data/elementpath-4.3.0/elementpath/xpath2/__init__.py | 138 | 62 | 150,442 |
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
LOAD_NAME _ErrorChecker
POP_JUMP_IF_FALSE
LOAD_NAME _ErrorChecker
LOAD_NAME _p
LO... | from OpenGL.platform import PLATFORM as _p
from OpenGL.error import _ErrorChecker
if _ErrorChecker:
_error_checker = _ErrorChecker(_p, None)
else:
_error_checker = None
| data/PyOpenGL-3.1.7/OpenGL/raw/GLX/_errors.py | 117 | 62 | 60,731 |
LOAD_CONST 1
LOAD_CONST ('init', 'deinit', 'reinit', 'colorama_text')
IMPORT_NAME initialise
IMPORT_FROM init
STORE_NAME init
IMPORT_FROM deinit
STORE_NAME deinit
IMPORT_FROM reinit
STORE_NAME reinit
IMPORT_FROM colorama_text
STORE_NAME colorama_text
POP_TOP
LOAD_CONST 1
LOAD_CONST ('Fore', 'Back', 'Style', 'Cursor')
... | from .initialise import init, deinit, reinit, colorama_text
from .ansi import Fore, Back, Style, Cursor
from .ansitowin32 import AnsiToWin32
__version__ = "0.4.5"
| data/pyLDAvis-3.4.1/pyLDAvis/lib/python3.11/site-packages/pip/_vendor/colorama/__init__.py | 176 | 62 | 230,773 |
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 folder_feed
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME get_resources_search_all
IMPORT_STAR... | from .. import _utilities
import typing
from .folder_feed import *
from .get_resources_search_all import *
from .organization_feed import *
from .project_feed import *
from ._inputs import *
from . import outputs
| data/pulumi_gcp-7.9.0/pulumi_gcp/cloudasset/__init__.py | 161 | 62 | 445,474 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object AccessLevel at 0x7fab4278ac90, file "f.py", line 4>
LOAD_CONST 'AccessLevel'
MAKE_FUNCTION
LOAD_CONST 'AccessLevel'
LOAD_NAME Enum
CALL_FUNCTION
STORE_NAME AccessLevel
LOAD_CONST None
RE... | from enum import Enum
class AccessLevel(Enum):
VIEWER = 1
COMMENTER = 2
EDITOR = 3
EDITOR_SHARE = 4
ADMIN = 5
OWNER = 6
| data/smartsheet-python-sdk-3.0.2/smartsheet/models/enums/access_level.py | 179 | 62 | 92,991 |
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 1
LOAD_CONST ('XPath1Parser',)
IMPORT_NAME xpath1_parser
IMPORT_FROM XPath1Parser
STORE_NAME XPath1Parser
POP_TOP
JUMP_FORWARD to 42
LOAD_CONST... | from typing import TYPE_CHECKING
if TYPE_CHECKING:
from .xpath1_parser import XPath1Parser
else:
from ._xpath1_axes import XPath1Parser
__all__ = ["XPath1Parser"]
| data/elementpath-4.3.0/elementpath/xpath1/__init__.py | 138 | 62 | 150,447 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME re
STORE_NAME re
LOAD_NAME re
LOAD_METHOD compile
LOAD_CONST '[\\r\\n]+'
CALL_METHOD
STORE_NAME PATTERN_SANITIZE
LOAD_CONST <code object sanitize at 0x7fab800ab420, file "f.py", line 6>
LOAD_CONST 'sanitize'
MAKE_FUNCTION
STORE_NAME sanitize
LOAD_CONST None
RETURN_VALUE
LOAD_... | import re
PATTERN_SANITIZE = re.compile(r"[\r\n]+")
def sanitize(text):
return " ".join(PATTERN_SANITIZE.split(text or ""))
| data/alive-progress-3.1.5/alive_progress/utils/__init__.py | 134 | 62 | 379,438 |
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 sys
STORE_NAME sys
LOAD_NAME int
LOAD_NAME sys
LOAD_ATTR argv
LOAD_CONST 1
BINARY_SUBSCR
CALL_FUNCTION
STORE_NAME num
SETUP_LOOP to 76
LOAD_NAME range
LOAD_C... | from __future__ import annotations
import sys
num = int(sys.argv[1])
for c in range(1, 10000000):
if num % c == 0:
print("factor:", c)
| data/urwid-2.6.3/examples/subproc2.py | 143 | 62 | 420,272 |
LOAD_CONST 0
LOAD_CONST ('Any',)
IMPORT_NAME typing
IMPORT_FROM Any
STORE_NAME Any
POP_TOP
LOAD_CONST 1
LOAD_CONST ('Page',)
IMPORT_NAME page
IMPORT_FROM Page
STORE_NAME Page
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object DictPage at 0x7fab8239ab70, file "f.py", line 6>
LOAD_CONST 'DictPage'
MAKE_FUNCTION
LOAD_CONS... | from typing import Any
from .page import Page
class DictPage(Page):
def __getitem__(self, key: str) -> Any:
return self._response_object[self._item_entries_key_name][key]
| data/boxsdk-3.9.2/boxsdk/pagination/dict_page.py | 242 | 62 | 231,043 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME gitdb.db.base
IMPORT_STAR
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME gitdb.db.loose
IMPORT_STAR
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME gitdb.db.mem
IMPORT_STAR
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME gitdb.db.pack
IMPORT_STAR
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NA... | from gitdb.db.base import *
from gitdb.db.loose import *
from gitdb.db.mem import *
from gitdb.db.pack import *
from gitdb.db.git import *
from gitdb.db.ref import *
| data/gitdb-4.0.11/gitdb/db/__init__.py | 131 | 62 | 417,030 |
LOAD_CONST 0
LOAD_CONST ('print_function',)
IMPORT_NAME __future__
IMPORT_FROM print_function
STORE_NAME print_function
POP_TOP
LOAD_CONST 0
LOAD_CONST ('WSGIServer',)
IMPORT_NAME gevent.wsgi
IMPORT_FROM WSGIServer
STORE_NAME WSGIServer
POP_TOP
LOAD_CONST 0
LOAD_CONST ('application',)
IMPORT_NAME application
IMPORT_F... | from __future__ import print_function
from gevent.wsgi import WSGIServer
from application import application
print("Serving on 8000...")
WSGIServer(("", 8000), application).serve_forever()
| data/gevent-24.2.1/examples/webchat/run_standalone.py | 144 | 62 | 447,773 |
LOAD_CONST 'Calibration creators.'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('PulseGates',)
IMPORT_NAME pulse_gate
IMPORT_FROM PulseGates
STORE_NAME PulseGates
POP_TOP
LOAD_CONST 1
LOAD_CONST ('RZXCalibrationBuilder', 'RZXCalibrationBuilderNoEcho')
IMPORT_NAME rzx_builder
IMPORT_FROM RZXCalibrationBuilder
STORE_NAM... | """Calibration creators."""
from .pulse_gate import PulseGates
from .rzx_builder import RZXCalibrationBuilder, RZXCalibrationBuilderNoEcho
from .rx_builder import RXCalibrationBuilder
| data/qiskit-terra-0.46.0/qiskit/transpiler/passes/calibration/builders.py | 169 | 62 | 430,811 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME dvc.testing.fixtures
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME fixtures
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | from dvc.testing.fixtures import * # noqa, pylint: disable=wildcard-import,unused-import
from .fixtures import * # noqa, pylint: disable=wildcard-import,unused-import
| data/dvc-http-2.32.0/dvc_http/tests/conftest.py | 43 | 62 | 213,549 |
LOAD_CONST '\nspecific tests for hive integration\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME unittest
STORE_NAME unittest
LOAD_BUILD_CLASS
LOAD_CONST <code object TestConnection at 0x7f8e2fcbf1e0, file "f.py", line 9>
LOAD_CONST 'TestConnection'
MAKE_FUNCTION
LOAD_CONST 'TestConnection'
LOAD_NAME ... | """
specific tests for hive integration
"""
import unittest
class TestConnection(unittest.TestCase):
"""Test module functionality"""
def test_unsecured(self):
import hivejdbc
pass
| data/hivejdbc-0.2.3/tests/test_hive.py | 232 | 62 | 12,758 |
LOAD_CONST 0
LOAD_CONST ('absolute_import', 'division', 'print_function')
IMPORT_NAME __future__
IMPORT_FROM absolute_import
STORE_NAME absolute_import
IMPORT_FROM division
STORE_NAME division
IMPORT_FROM print_function
STORE_NAME print_function
POP_TOP
LOAD_NAME type
STORE_NAME __metaclass__
LOAD_BUILD_CLASS
LOAD_CO... | from __future__ import absolute_import, division, print_function
__metaclass__ = type
class ModuleDocFragment(object):
DOCUMENTATION = """
options: {}
requirements:
- python >= 2.7
"""
| data/ansible-9.2.0/ansible_collections/sensu/sensu_go/plugins/doc_fragments/requirements.py | 191 | 62 | 6,928 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME ibis
STORE_NAME ibis
LOAD_NAME ibis
LOAD_ATTR table
LOAD_CONST 'int_col_table'
LOAD_CONST 'int_col'
LOAD_CONST 'int32'
BUILD_MAP
LOAD_CONST ('name', 'schema')
CALL_FUNCTION
STORE_NAME int_col_table
LOAD_NAME int_col_table
LOAD_ATTR int_col
LOAD_CONST 4
BINARY_ADD
LOAD_METHOD n... | import ibis
int_col_table = ibis.table(name="int_col_table", schema={"int_col": "int32"})
result = (int_col_table.int_col + 4).name("foo")
| data/ibis_framework-8.0.0/ibis/tests/sql/snapshots/test_compiler/test_column_expr_retains_name/decompiled.py | 102 | 62 | 161,219 |
LOAD_CONST 'sphinxext.opengraph'
BUILD_LIST
STORE_NAME extensions
LOAD_CONST 'index'
STORE_NAME master_doc
LOAD_CONST '_build'
BUILD_LIST
STORE_NAME exclude_patterns
LOAD_CONST 'basic'
STORE_NAME html_theme
LOAD_CONST 'http://example.org/en/latest/'
STORE_NAME ogp_site_url
LOAD_CONST None
RETURN_VALUE | extensions = ["sphinxext.opengraph"]
master_doc = "index"
exclude_patterns = ["_build"]
html_theme = "basic"
ogp_site_url = "http://example.org/en/latest/"
| data/sphinxext-opengraph-0.9.1/tests/roots/test-skip-admonitions/conf.py | 80 | 62 | 346,019 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ScheduleChangeState at 0x7fab4298e5d0, file "f.py", line 4>
LOAD_CONST 'ScheduleChangeState'
MAKE_FUNCTION
LOAD_CONST 'ScheduleChangeState'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STO... | from enum import Enum
class ScheduleChangeState(str, Enum):
Pending = ("pending",)
Approved = ("approved",)
Declined = ("declined",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/schedule_change_state.py | 178 | 62 | 260,687 |
LOAD_BUILD_CLASS
LOAD_CONST <code object Pyhs2Exception at 0x7f8a954cdb70, file "f.py", line 1>
LOAD_CONST 'Pyhs2Exception'
MAKE_FUNCTION
LOAD_CONST 'Pyhs2Exception'
LOAD_NAME Exception
CALL_FUNCTION
STORE_NAME Pyhs2Exception
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CONST 'Pyhs2Except... | class Pyhs2Exception(Exception):
def __init__(self, errorCode, errorMessage):
self.errorCode = errorCode
self.errorMessage = errorMessage
def __str__(self):
return repr(self.errorMessage)
| data/pyhs2-0.6.0/pyhs2/error.py | 252 | 62 | 336,036 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME existing_import
STORE_NAME existing_import
LOAD_CONST 0
LOAD_CONST ('d',)
IMPORT_NAME existing_import
IMPORT_FROM d
STORE_NAME d
POP_TOP
LOAD_CONST <code object f at 0x7fab703f7300, file "f.py", line 5>
LOAD_CONST 'f'
MAKE_FUNCTION
STORE_NAME f
LOAD_CONST <code object g at 0x... | import existing_import
from existing_import import d
def f(a1, a2, a3, a4, a5, a6):
pass
def g(a7, a8, a9, a10):
pass
| data/pytype-2024.2.13/pytype/tools/merge_pyi/test_data/imports.py | 144 | 62 | 353,330 |
LOAD_CONST 1
LOAD_CONST ('backtesting_forecaster', 'grid_search_forecaster', 'random_search_forecaster', 'bayesian_search_forecaster', '_create_backtesting_folds')
IMPORT_NAME model_selection
IMPORT_FROM backtesting_forecaster
STORE_NAME backtesting_forecaster
IMPORT_FROM grid_search_forecaster
STORE_NAME grid_search_f... | from .model_selection import (
backtesting_forecaster,
grid_search_forecaster,
random_search_forecaster,
bayesian_search_forecaster,
_create_backtesting_folds,
)
| data/skforecast-0.11.0/skforecast/model_selection/__init__.py | 155 | 62 | 8,613 |
LOAD_CONST ('mask',)
LOAD_CONST <code object mirror_y at 0x7faaac203300, file "f.py", line 1>
LOAD_CONST 'mirror_y'
MAKE_FUNCTION
STORE_NAME mirror_y
LOAD_CONST None
RETURN_VALUE
LOAD_FAST clip
LOAD_ATTR fl_image
LOAD_CONST <code object <lambda> at 0x7faaac203930, file "f.py", line 3>
LOAD_CONST 'mirror_y.<locals>.<la... | def mirror_y(clip, apply_to="mask"):
"""flips the clip vertically (and its mask too, by default)"""
return clip.fl_image(lambda f: f[::-1], apply_to=apply_to)
| data/moviepy-1.0.3/moviepy/video/fx/mirror_y.py | 157 | 62 | 439,320 |
LOAD_CONST 0
LOAD_CONST ('ApiForpost',)
IMPORT_NAME onelogin.paths.api_2_mfa_users_user_id_mfa_token.post
IMPORT_FROM ApiForpost
STORE_NAME ApiForpost
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Api2MfaUsersUserIdMfaToken at 0x7f8e44712c00, file "f.py", line 4>
LOAD_CONST 'Api2MfaUsersUserIdMfaToken'
MAKE_FUNCTIO... | from onelogin.paths.api_2_mfa_users_user_id_mfa_token.post import ApiForpost
class Api2MfaUsersUserIdMfaToken(
ApiForpost,
):
pass
| data/onelogin-3.1.6/onelogin/apis/paths/api_2_mfa_users_user_id_mfa_token.py | 194 | 62 | 397,229 |
LOAD_CONST 1
LOAD_CONST ('LaxIfTag',)
IMPORT_NAME _if_tag
IMPORT_FROM LaxIfTag
STORE_NAME LaxIfTag
POP_TOP
LOAD_CONST 1
LOAD_CONST ('LaxUnlessTag',)
IMPORT_NAME _unless_tag
IMPORT_FROM LaxUnlessTag
STORE_NAME LaxUnlessTag
POP_TOP
LOAD_CONST ('LaxIfTag', 'LaxUnlessTag')
STORE_NAME __all__
LOAD_CONST None
RETURN_VALUE | from ._if_tag import LaxIfTag # noqa: D104
from ._unless_tag import LaxUnlessTag
__all__ = (
"LaxIfTag",
"LaxUnlessTag",
)
| data/python_liquid-1.12.1/liquid/future/tags/__init__.py | 96 | 62 | 433,692 |
LOAD_CONST ':mod:`sassutils` --- Additional utilities related to Sass\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThis package provides several additional utilities related to Sass\nwhich depends on libsass core (:mod:`sass` module).\n\n'
STORE_NAME __doc__
LOAD_CONST None
RETURN_VALUE | """:mod:`sassutils` --- Additional utilities related to Sass
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This package provides several additional utilities related to Sass
which depends on libsass core (:mod:`sass` module).
"""
| data/libsass-0.23.0/sassutils/__init__.py | 77 | 62 | 342,533 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST ('FireboltBaseModel',)
IMPORT_NAME firebolt.model.V1
IMPORT_FROM FireboltBaseModel
STORE_NAME FireboltBaseModel
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object EngineRevision... | from __future__ import annotations
from firebolt.model.V1 import FireboltBaseModel
class EngineRevisionKey(FireboltBaseModel):
account_id: str
engine_id: str
engine_revision_id: str
| data/firebolt_sdk-1.3.1/src/firebolt/model/V1/engine_revision.py | 236 | 62 | 213,393 |
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 sys
STORE_NAME sys
LOAD_CONST 0
LOAD_CONST ('Image',)
IMPORT_NAME PIL
IMPORT_FROM Image
STORE_NAME Image
POP_TOP
LOAD_NAME sys
LOAD_ATTR maxsize
LOAD_CONST 4... | from __future__ import annotations
import sys
from PIL import Image
if sys.maxsize < 2**32:
im = Image.new("L", (999999, 999999), 0)
| data/pillow-10.2.0/Tests/32bit_segfault_check.py | 133 | 62 | 142,936 |
LOAD_CONST 0
LOAD_CONST ('FacebookSession',)
IMPORT_NAME facebook_business.session
IMPORT_FROM FacebookSession
STORE_NAME FacebookSession
POP_TOP
LOAD_CONST 0
LOAD_CONST ('FacebookAdsApi',)
IMPORT_NAME facebook_business.api
IMPORT_FROM FacebookAdsApi
STORE_NAME FacebookAdsApi
POP_TOP
LOAD_CONST '19.0.0'
STORE_NAME __... | from facebook_business.session import FacebookSession
from facebook_business.api import FacebookAdsApi
__version__ = "19.0.0"
__all__ = [
"session",
"objects",
"api",
]
| data/facebook_business-19.0.0/facebook_business/__init__.py | 113 | 62 | 126,814 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME io
STORE_NAME io
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST 0
LOAD_CONST ('eventsFromJSONLogFile', 'textFileLogObserver')
IMPORT_NAME twisted.logger
IMPORT_FROM eventsFromJSONLogFile
STORE_NAME eventsFromJSONLogFile
IMPORT_FROM textFileLogObserver
S... | import io
import sys
from twisted.logger import eventsFromJSONLogFile, textFileLogObserver
output = textFileLogObserver(sys.stdout)
for event in eventsFromJSONLogFile(open("log.json")):
output(event)
| data/twisted-23.10.0/docs/core/howto/listings/logger/loader.py | 158 | 62 | 383,407 |
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 ListPlaybackConfigurations at 0x7fab8025c270, file "f.py", line... | from typing import Dict
from botocore.paginate import Paginator
class ListPlaybackConfigurations(Paginator):
def paginate(self, PaginationConfig: Dict = None) -> Dict:
pass
| data/boto3_type_annotations-0.3.1/boto3_type_annotations/mediatailor/paginator.py | 260 | 62 | 103,573 |
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 CommunicationEntity at 0x7fab701ac5d0, file "f.py", line 4>
LOAD_CONST 'CommunicationEntity'
MAKE_FUNCTION
LOAD_CONST 'CommunicationEntity'... | from office365.runtime.client_value import ClientValue
class CommunicationEntity(ClientValue):
@property
def entity_type_name(self):
return "Microsoft.SharePoint.Campaigns.CampaignCommunicationEntity"
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/campaigns/communication_entity.py | 219 | 62 | 189,271 |
LOAD_CONST 0
LOAD_CONST ('unique',)
IMPORT_NAME enum
IMPORT_FROM unique
STORE_NAME unique
POP_TOP
LOAD_CONST 4
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 SwaptionSettlementType at 0x7fab701ac780, file "f.py", ... | from enum import unique
from ...._base_enum import StrEnum
@unique
class SwaptionSettlementType(StrEnum):
CCP = "CCP"
CASH = "Cash"
PHYSICAL = "Physical"
| data/refinitiv-data-1.6.0/refinitiv/data/content/ipa/_enums/_swaption_settlement_type.py | 206 | 62 | 195,594 |
LOAD_CONST 'Constants for Google Sheets integration.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 'google_sheets'
STORE_NAME DOMAIN
LOAD_CONST 'Google Sheets'
STORE_NAME DEFAULT_NAME
LOAD_CONST 'https://www.goog... | """Constants for Google Sheets integration."""
from __future__ import annotations
DOMAIN = "google_sheets"
DEFAULT_NAME = "Google Sheets"
DEFAULT_ACCESS = "https://www.googleapis.com/auth/drive.file"
| data/homeassistant-2024.2.2/homeassistant/components/google_sheets/const.py | 97 | 62 | 298,653 |
LOAD_CONST 'Tools for initializing the states of Composer environments.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('PropPlacer',)
IMPORT_NAME dm_control.composer.initializers.prop_initializer
IMPORT_FROM PropPlacer
STORE_NAME PropPlacer
POP_TOP
LOAD_CONST 0
LOAD_CONST ('ToolCenterPointInitializer',)
IMPORT_NAME dm_... | """Tools for initializing the states of Composer environments."""
from dm_control.composer.initializers.prop_initializer import PropPlacer
from dm_control.composer.initializers.tcp_initializer import ToolCenterPointInitializer
| data/dm_control-1.0.16/dm_control/composer/initializers/__init__.py | 117 | 62 | 372,462 |
LOAD_CONST 0
LOAD_CONST ('addSubstituteCallback',)
IMPORT_NAME utils
IMPORT_FROM addSubstituteCallback
STORE_NAME addSubstituteCallback
POP_TOP
LOAD_CONST <code object __noopSubst at 0x7fab82131a50, file "f.py", line 4>
LOAD_CONST '__noopSubst'
MAKE_FUNCTION
STORE_NAME __noopSubst
LOAD_NAME addSubstituteCallback
LOAD... | from utils import addSubstituteCallback
def __noopSubst(name, func, caller):
return "$(%s)" % name
addSubstituteCallback("COMPILER_PREFIX", __noopSubst)
| data/wxPython-4.2.1/ext/wxWidgets/build/bakefiles/wxpresets/presets/wx_presets.py | 140 | 62 | 300,786 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME ssl
STORE_NAME ssl
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME certifi
STORE_NAME certifi
LOAD_NAME ssl
LOAD_ATTR SSLContext
LOAD_CONST ('return',)
BUILD_CONST_KEY_MAP
LOAD_CONST <code object default_ssl_context at 0x7fab82131a50, file "f.py", line 6>
LOAD_CONST 'default_ssl_cont... | import ssl
import certifi
def default_ssl_context() -> ssl.SSLContext:
context = ssl.create_default_context()
context.load_verify_locations(certifi.where())
return context
| data/httpcore-1.0.4/httpcore/_ssl.py | 156 | 62 | 300,739 |
LOAD_CONST 0
LOAD_CONST ('GoalSelectionStrategy',)
IMPORT_NAME stable_baselines3.her.goal_selection_strategy
IMPORT_FROM GoalSelectionStrategy
STORE_NAME GoalSelectionStrategy
POP_TOP
LOAD_CONST 0
LOAD_CONST ('HerReplayBuffer',)
IMPORT_NAME stable_baselines3.her.her_replay_buffer
IMPORT_FROM HerReplayBuffer
STORE_NAME... | from stable_baselines3.her.goal_selection_strategy import GoalSelectionStrategy
from stable_baselines3.her.her_replay_buffer import HerReplayBuffer
__all__ = ["GoalSelectionStrategy", "HerReplayBuffer"]
| data/stable_baselines3-2.2.1/stable_baselines3/her/__init__.py | 117 | 62 | 300,394 |
LOAD_NAME spam
LOAD_CONST 1
CALL_FUNCTION
POP_TOP
LOAD_NAME list
LOAD_NAME index
BINARY_SUBSCR
LOAD_NAME dict
LOAD_CONST 'key'
STORE_SUBSCR
LOAD_NAME list
LOAD_NAME index
BINARY_SUBSCR
LOAD_NAME dict
LOAD_CONST 'key'
BINARY_SUBSCR
LOAD_CONST 'subkey'
STORE_SUBSCR
LOAD_NAME spam
LOAD_CONST 1
CALL_FUNCTION
POP_TOP
LO... | spam(1)
dict["key"] = list[index]
dict["key"]["subkey"] = list[index]
spam(1)
dict["key"] = list[index]
class Foo(Bar, Baz):
pass
| data/parso-0.8.3/test/normalizer_issue_files/E21.py | 187 | 62 | 373,049 |
LOAD_CONST 0
LOAD_CONST ('AnonymousUser',)
IMPORT_NAME django.contrib.auth.models
IMPORT_FROM AnonymousUser
STORE_NAME AnonymousUser
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object FakeSuperuserMiddleware at 0x7faa74b7a6f0, file "f.py", line 4>
LOAD_CONST 'FakeSuperuserMiddleware'
MAKE_FUNCTION
LOAD_CONST 'FakeSuperu... | from django.contrib.auth.models import AnonymousUser
class FakeSuperuserMiddleware(object):
def process_request(self, request):
request.user = AnonymousUser()
request.user.is_superuser = True
| data/django_ses-3.5.2/example/middleware.py | 242 | 62 | 245,132 |
LOAD_CONST 0
LOAD_CONST ('Signal',)
IMPORT_NAME django.dispatch
IMPORT_FROM Signal
STORE_NAME Signal
POP_TOP
LOAD_NAME Signal
CALL_FUNCTION
STORE_NAME bounce_received
LOAD_NAME Signal
CALL_FUNCTION
STORE_NAME complaint_received
LOAD_NAME Signal
CALL_FUNCTION
STORE_NAME delivery_received
LOAD_NAME Signal
CALL_FUNCTI... | from django.dispatch import Signal
bounce_received = Signal()
complaint_received = Signal()
delivery_received = Signal()
send_received = Signal()
open_received = Signal()
click_received = Signal()
| data/django_ses-3.5.2/django_ses/signals.py | 105 | 62 | 245,120 |
LOAD_CONST './reppoints-moment_r50_fpn-gn_head-gn_1x_coco.py'
STORE_NAME _base_
LOAD_NAME dict
LOAD_NAME dict
LOAD_CONST 'minmax'
LOAD_CONST True
LOAD_CONST ('transform_method', 'use_grid_points')
CALL_FUNCTION
LOAD_CONST ('bbox_head',)
CALL_FUNCTION
STORE_NAME model
LOAD_CONST None
RETURN_VALUE | _base_ = "./reppoints-moment_r50_fpn-gn_head-gn_1x_coco.py"
model = dict(bbox_head=dict(transform_method="minmax", use_grid_points=True))
| data/mmdet-3.3.0/mmdet/.mim/configs/reppoints/reppoints-bbox_r50-center_fpn-gn_head-gn-grid_1x_coco.py | 85 | 62 | 151,827 |
LOAD_CONST 0
LOAD_CONST ('Entity',)
IMPORT_NAME office365.sharepoint.entity
IMPORT_FROM Entity
STORE_NAME Entity
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Utility at 0x7fab7002b540, file "f.py", line 4>
LOAD_CONST 'Utility'
MAKE_FUNCTION
LOAD_CONST 'Utility'
LOAD_NAME Entity
CALL_FUNCTION
STORE_NAME Utility
LOA... | from office365.sharepoint.entity import Entity
class Utility(Entity):
def __init__(self, context, resource_path):
super(Utility, self).__init__(context, resource_path, "SP.Utilities")
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/permissions/utility.py | 234 | 62 | 189,580 |
LOAD_CONST 0
LOAD_CONST ('enable_x64', 'disable_x64')
IMPORT_NAME jax.experimental.x64_context
IMPORT_FROM enable_x64
STORE_NAME enable_x64
IMPORT_FROM disable_x64
STORE_NAME disable_x64
POP_TOP
LOAD_CONST 0
LOAD_CONST ('io_callback',)
IMPORT_NAME jax._src.callback
IMPORT_FROM io_callback
STORE_NAME io_callback
POP_TO... | from jax.experimental.x64_context import (
enable_x64 as enable_x64,
disable_x64 as disable_x64,
)
from jax._src.callback import io_callback as io_callback
| data/jax-0.4.24/jax/experimental/__init__.py | 101 | 62 | 328,888 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME crypto
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME helpers
IMPORT_STAR
LOAD_CONST 'encrypt_master_key'
LOAD_CONST 'decrypt_master_key'
LOAD_CONST 'generate_random_key'
LOAD_CONST 'get_session_key'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST None
RETURN_VALUE | from .crypto import *
from .helpers import *
__all__ = [
"encrypt_master_key",
"decrypt_master_key",
"generate_random_key",
"get_session_key",
]
| data/netbox-secrets-1.10.2/netbox_secrets/utils/__init__.py | 87 | 62 | 415,956 |
LOAD_CONST 'Dummy custom rule module.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('AnsibleLintRule',)
IMPORT_NAME ansiblelint.rules
IMPORT_FROM AnsibleLintRule
STORE_NAME AnsibleLintRule
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object CustomRule at 0x7fab425c3810, file "f.py", line 6>
LOAD_CONST 'CustomRule'
MAKE_F... | """Dummy custom rule module."""
from ansiblelint.rules import AnsibleLintRule
class CustomRule(AnsibleLintRule):
"""Dummy custom rule class."""
id = "100001"
| data/ansible-lint-24.2.0/test/custom_rules/example_inc/custom_rule.py | 183 | 62 | 290,570 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME json
STORE_NAME json
LOAD_CONST <code object get_auth at 0x7f8af15bc810, file "f.py", line 4>
LOAD_CONST 'get_auth'
MAKE_FUNCTION
STORE_NAME get_auth
LOAD_CONST None
RETURN_VALUE
LOAD_GLOBAL open
LOAD_FAST path
LOAD_CONST 'r'
CALL_FUNCTION
SETUP_WITH to 26
STORE_FAST f
LOAD_G... | import json
def get_auth(path):
with open(path, "r") as f:
config = json.load(f)
if isinstance(config, str):
config = eval(config)
return config
| data/LucoPy-1.3.14/src/LucoPy/Utils.py | 149 | 62 | 396,927 |
LOAD_NAME int
LOAD_NAME int
LOAD_NAME int
LOAD_CONST None
LOAD_CONST ('x', 'args', 'kwargs', 'return')
BUILD_CONST_KEY_MAP
LOAD_CONST <code object hello at 0x7fab802328a0, file "f.py", line 1>
LOAD_CONST 'hello'
MAKE_FUNCTION
STORE_NAME hello
LOAD_CONST None
RETURN_VALUE
LOAD_CONST None
RETURN_VALUE | def hello(x: int, *args: int, **kwargs: int) -> None:
"""
Parameters
----------
x
X
*args
Additional arguments.
**kwargs
Extra arguments.
"""
| data/sphinx-7.2.6/tests/roots/test-ext-napoleon/mypackage/typehints.py | 83 | 62 | 381,053 |
LOAD_CONST '\n(Remote) ppft servers can be created with ``ppserver`` (or with\n``python -m ppft.server``), and then jobs can be distributed to remote\nworkers. See ``--help`` for more details on how to configure a server.\n'
STORE_NAME __doc__
LOAD_CONST None
RETURN_VALUE | """
(Remote) ppft servers can be created with ``ppserver`` (or with
``python -m ppft.server``), and then jobs can be distributed to remote
workers. See ``--help`` for more details on how to configure a server.
"""
| data/ppft-1.7.6.8/ppft/server/__init__.py | 74 | 62 | 347,983 |
LOAD_CONST 0
LOAD_CONST ('AzureTranslateToolSpec', 'ENDPOINT_BASE_URL')
IMPORT_NAME llama_hub.tools.azure_translate.base
IMPORT_FROM AzureTranslateToolSpec
STORE_NAME AzureTranslateToolSpec
IMPORT_FROM ENDPOINT_BASE_URL
STORE_NAME ENDPOINT_BASE_URL
POP_TOP
LOAD_CONST 'AzureTranslateToolSpec'
LOAD_CONST 'ENDPOINT_BASE_... | from llama_hub.tools.azure_translate.base import (
AzureTranslateToolSpec,
ENDPOINT_BASE_URL,
)
__all__ = ["AzureTranslateToolSpec", "ENDPOINT_BASE_URL"]
| data/llama_hub-0.0.79.post1/llama_hub/tools/azure_translate/__init__.py | 107 | 62 | 359,541 |
LOAD_CONST 0
LOAD_CONST ('absolute_import', 'division', 'print_function')
IMPORT_NAME __future__
IMPORT_FROM absolute_import
STORE_NAME absolute_import
IMPORT_FROM division
STORE_NAME division
IMPORT_FROM print_function
STORE_NAME print_function
POP_TOP
LOAD_NAME type
STORE_NAME __metaclass__
LOAD_BUILD_CLASS
LOAD_CO... | from __future__ import absolute_import, division, print_function
__metaclass__ = type
class ModuleDocFragment(object):
DOCUMENTATION = r"""
options: {}
version_added: 1.0.0
"""
| data/ansible-core-2.16.3/test/integration/targets/ansible-doc/collections/ansible_collections/testns/testcol2/plugins/doc_fragments/version_added.py | 190 | 62 | 437,558 |
LOAD_CONST '\nAddress Family Idenitifier (AFI)\nhttp://www.iana.org/assignments/address-family-numbers/address-family-numbers.xhtml\n'
STORE_NAME __doc__
LOAD_CONST 1
STORE_NAME IP
LOAD_CONST 2
STORE_NAME IP6
LOAD_CONST 25
STORE_NAME L2VPN
LOAD_CONST None
RETURN_VALUE | """
Address Family Idenitifier (AFI)
http://www.iana.org/assignments/address-family-numbers/\
address-family-numbers.xhtml
"""
IP = 1
IP6 = 2
L2VPN = 25
| data/os-ken-2.8.0/os_ken/lib/packet/afi.py | 83 | 62 | 62,049 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME DiscRecording
STORE_NAME DiscRecording
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 TestDRCoreObject at 0x7fab703f7e40, file "f.py", line 5>
LOAD_CONST 'TestD... | import DiscRecording
from PyObjCTools.TestSupport import TestCase
class TestDRCoreObject(TestCase):
def testFunctions(self):
self.assertResultIsCFRetained(DiscRecording.DRCopyLocalizedStringForValue)
| data/pyobjc-framework-DiscRecording-10.1/PyObjCTest/test_drcoreobject.py | 240 | 62 | 359,637 |
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 OrgLabelsContext at 0x7fab640fab70, file "f.py", line 4>
LOAD_CONST 'OrgLabelsContext'
MAKE_FUNCTION
LOAD_CONST 'OrgLabelsContext'
LOAD_NAM... | from office365.runtime.client_value import ClientValue
class OrgLabelsContext(ClientValue):
@property
def entity_type_name(self):
return "Microsoft.SharePoint.Portal.OrgLabelsContext"
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/portal/orglabels/context.py | 225 | 62 | 189,555 |
LOAD_CONST 0
LOAD_CONST ('unique',)
IMPORT_NAME enum
IMPORT_FROM unique
STORE_NAME unique
POP_TOP
LOAD_CONST 4
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 CreditSpreadType at 0x7fab700e4c90, file "f.py", line 6... | from enum import unique
from ...._base_enum import StrEnum
@unique
class CreditSpreadType(StrEnum):
FLAT_SPREAD = "FlatSpread"
TERM_STRUCTURE = "TermStructure"
| data/refinitiv-data-1.6.0/refinitiv/data/content/ipa/_enums/_credit_spread_type.py | 195 | 62 | 195,507 |
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 ('FailToCreateError', 'create_from_dict', 'create_from_yaml', 'create_from_yaml_single_item')
IMPORT_NAME create_from_yaml
IMPORT_FROM FailToCreateError
STORE_NAME ... | from __future__ import absolute_import
from .create_from_yaml import (
FailToCreateError,
create_from_dict,
create_from_yaml,
create_from_yaml_single_item,
)
| data/kubernetes_asyncio-29.0.0/kubernetes_asyncio/utils/__init__.py | 153 | 62 | 250,494 |
LOAD_CONST 1
LOAD_CONST ('ZenodoAdapter',)
IMPORT_NAME adapter
IMPORT_FROM ZenodoAdapter
STORE_NAME ZenodoAdapter
POP_TOP
LOAD_CONST 1
LOAD_CONST ('ZenodoControl',)
IMPORT_NAME control
IMPORT_FROM ZenodoControl
STORE_NAME ZenodoControl
POP_TOP
LOAD_CONST 1
LOAD_CONST ('ZenodoPlugin',)
IMPORT_NAME plugin
IMPORT_FROM Z... | from .adapter import ZenodoAdapter
from .control import ZenodoControl
from .plugin import ZenodoPlugin
__all__ = [
"ZenodoAdapter",
"ZenodoControl",
"ZenodoPlugin",
]
| data/frictionless-5.16.1/frictionless/portals/zenodo/__init__.py | 131 | 62 | 41,706 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 1
LOAD_CONST ('zgp', 'zha', 'zll')
IMPORT_NAME
IMPORT_FROM zgp
STORE_NAME zgp
IMPORT_FROM zha
STORE_NAME zha
IMPORT_FROM zll
STORE_NAME zll
POP_TOP
LOAD_NAME zha
LOAD_ATTR PROFILE_ID
LOAD_... | from __future__ import annotations
from . import zgp, zha, zll
PROFILES = {zha.PROFILE_ID: zha, zll.PROFILE_ID: zll, zgp.PROFILE_ID: zgp}
| data/zigpy-0.62.3/zigpy/profiles/__init__.py | 128 | 62 | 130,372 |
LOAD_NAME spam
LOAD_CONST 1
CALL_FUNCTION
POP_TOP
LOAD_NAME list
LOAD_NAME index
BINARY_SUBSCR
LOAD_NAME dict
LOAD_CONST 'key'
STORE_SUBSCR
LOAD_NAME list
LOAD_NAME index
BINARY_SUBSCR
LOAD_NAME dict
LOAD_CONST 'key'
BINARY_SUBSCR
LOAD_CONST 'subkey'
STORE_SUBSCR
LOAD_NAME spam
LOAD_CONST 1
CALL_FUNCTION
POP_TOP
LO... | spam(1)
dict["key"] = list[index]
dict["key"]["subkey"] = list[index]
spam(1)
dict["key"] = list[index]
class Foo(Bar, Baz):
pass
| data/pep8-1.7.1/testsuite/E21.py | 186 | 62 | 103,182 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME nmap3
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('__author__',)
IMPORT_NAME nmap3
IMPORT_FROM __author__
STORE_NAME __author__
POP_TOP
LOAD_CONST 1
LOAD_CONST ('__version__',)
IMPORT_NAME nmap3
IMPORT_FROM __version__
STORE_NAME __version__
POP_TOP
LOAD_CONST 1
LOAD_CONST ('__las... | from .nmap3 import * # noqa
from .nmap3 import __author__ # noqa
from .nmap3 import __version__ # noqa
from .nmap3 import __last_modification__ # noqa
| data/python3-nmap-1.6.0/nmap3/__init__.py | 121 | 62 | 136,464 |
LOAD_CONST 1
LOAD_CONST ('PyQtBindings',)
IMPORT_NAME bindings
IMPORT_FROM PyQtBindings
STORE_NAME PyQtBindings
POP_TOP
LOAD_CONST 1
LOAD_CONST ('QmakeBuilder',)
IMPORT_NAME builder
IMPORT_FROM QmakeBuilder
STORE_NAME QmakeBuilder
POP_TOP
LOAD_CONST 1
LOAD_CONST ('QmakeTargetInstallable',)
IMPORT_NAME installable
IMP... | from .bindings import PyQtBindings
from .builder import QmakeBuilder
from .installable import QmakeTargetInstallable
from .project import PyQtProject
from .version import PYQTBUILD_VERSION, PYQTBUILD_VERSION_STR
| data/PyQt-builder-1.15.4/pyqtbuild/__init__.py | 203 | 62 | 123,743 |
LOAD_CONST 0
LOAD_CONST ('classproperty',)
IMPORT_NAME sedona.utils.decorators
IMPORT_FROM classproperty
STORE_NAME classproperty
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object JoinBuildSide at 0x7f8a95e7d4b0, file "f.py", line 4>
LOAD_CONST 'JoinBuildSide'
MAKE_FUNCTION
LOAD_CONST 'JoinBuildSide'
CALL_FUNCTION
STOR... | from sedona.utils.decorators import classproperty
class JoinBuildSide:
@classproperty
def LEFT(self):
return "LEFT"
@classproperty
def RIGHT(self):
return "RIGHT"
| data/apache-sedona-1.5.1/sedona/core/enums/join_build_side.py | 257 | 62 | 335,163 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME clarabel
IMPORT_STAR
LOAD_NAME clarabel
LOAD_ATTR __doc__
STORE_NAME __doc__
LOAD_NAME hasattr
LOAD_NAME clarabel
LOAD_CONST '__all__'
CALL_FUNCTION
POP_JUMP_IF_FALSE
LOAD_NAME clarabel
LOAD_ATTR __all__
STORE_NAME __all__
LOAD_NAME clarabel
LOAD_METHOD force_load_blas_lap... | from .clarabel import *
__doc__ = clarabel.__doc__
if hasattr(clarabel, "__all__"):
__all__ = clarabel.__all__
clarabel.force_load_blas_lapack()
| data/clarabel-0.6.0/python/clarabel/__init__.py | 91 | 62 | 163,876 |
LOAD_CONST 0
LOAD_CONST ('Decimal',)
IMPORT_NAME decimal
IMPORT_FROM Decimal
STORE_NAME Decimal
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Resource',)
IMPORT_NAME braintree.resource
IMPORT_FROM Resource
STORE_NAME Resource
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Modification at 0x7f8e2fe41810, file "f.py", line 5>
LO... | from decimal import Decimal
from braintree.resource import Resource
class Modification(Resource):
def __init__(self, gateway, attributes):
Resource.__init__(self, gateway, attributes)
self.amount = Decimal(self.amount)
| data/braintree-4.26.0/braintree/modification.py | 239 | 62 | 327,749 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.