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 'Compatibility wandb_run module.\n\nIn the future use:\n from wandb.sdk.wandb_run import Run\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('Run',)
IMPORT_NAME wandb.sdk.wandb_run
IMPORT_FROM Run
STORE_NAME Run
POP_TOP
LOAD_CONST 'Run'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST None
RETURN_VALUE | """Compatibility wandb_run module.
In the future use:
from wandb.sdk.wandb_run import Run
"""
from wandb.sdk.wandb_run import Run
__all__ = ["Run"]
| data/wandb-0.16.3/wandb/wandb_run.py | 90 | 59 | 360,555 |
LOAD_CONST 0
LOAD_CONST ('task',)
IMPORT_NAME invoke
IMPORT_FROM task
STORE_NAME task
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os
STORE_NAME os
LOAD_NAME task
LOAD_NAME task
LOAD_CONST <code object <lambda> at 0x7fab542ad420, file "f.py", line 5>
LOAD_CONST '<lambda>'
MAKE_FUNCTION
CALL_FUNCTION
BUILD_LIST
LO... | from invoke import task
import os
@task(skip_ifs=[task(lambda ctx: os.getenv("SKIP_MYTASK", False))])
def mytask(ctx):
print("Didn't skip!")
| data/magicinvoke-2.4.6/sites/magic_docs/examples/skip-if/tasks.py | 198 | 59 | 390,205 |
LOAD_CONST <code object case_two_positive_ints at 0x7faa75c44780, file "f.py", line 1>
LOAD_CONST 'case_two_positive_ints'
MAKE_FUNCTION
STORE_NAME case_two_positive_ints
LOAD_CONST <code object case_two_negative_ints at 0x7faad43c0c90, file "f.py", line 6>
LOAD_CONST 'case_two_negative_ints'
MAKE_FUNCTION
STORE_NAME ... | def case_two_positive_ints():
"""Inputs are two positive integers"""
return 1, 2
def case_two_negative_ints():
"""Inputs are two negative integers"""
return -1, -2
| data/pytest-cases-3.8.2/tests/cases/doc/test_doc_cases.py | 147 | 59 | 356,798 |
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 Cosh at 0x7fab4106c030, file "f.py", line 6>
LOAD_CONST 'Cosh'
MAKE_FUNCTION
LOAD_CONST 'Cosh'
LOA... | import numpy as np
from ._op import OpRunUnaryNum
class Cosh(OpRunUnaryNum):
def _run(self, x): # type: ignore
return (np.cosh(x),)
| data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_cosh.py | 210 | 59 | 85,699 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME typer
STORE_NAME typer
LOAD_NAME typer
LOAD_METHOD Typer
CALL_METHOD
STORE_NAME app
LOAD_NAME app
LOAD_METHOD command
CALL_METHOD
LOAD_NAME str
LOAD_CONST ('name',)
BUILD_CONST_KEY_MAP
LOAD_CONST <code object main at 0x7fab641e7030, file "f.py", line 6>
LOAD_CONST 'main'
MAKE... | import typer
app = typer.Typer()
@app.command()
def main(name: str):
print(f"Hello {name}")
if __name__ == "__main__":
app()
| data/typer-0.9.0/docs_src/commands/index/tutorial001.py | 150 | 59 | 224,450 |
LOAD_CONST 'wandb_log'
LOAD_CONST 'unpatch_kfp'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 1
LOAD_CONST ('patch_kfp', 'unpatch_kfp')
IMPORT_NAME kfp_patch
IMPORT_FROM patch_kfp
STORE_NAME patch_kfp
IMPORT_FROM unpatch_kfp
STORE_NAME unpatch_kfp
POP_TOP
LOAD_CONST 1
LOAD_CONST ('wandb_log',)
IMPORT_NAME wandb_logging
IM... | __all__ = ["wandb_log", "unpatch_kfp"]
from .kfp_patch import patch_kfp, unpatch_kfp
from .wandb_logging import wandb_log
patch_kfp()
| data/wandb-0.16.3/wandb/integration/kfp/__init__.py | 130 | 59 | 360,567 |
LOAD_CONST 'BYTES_IN_ONE_MB'
LOAD_CONST 'BYTES_IN_ONE_GB'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 1048576
STORE_NAME BYTES_IN_ONE_MB
LOAD_CONST 1073741824
STORE_NAME BYTES_IN_ONE_GB
LOAD_CONST None
RETURN_VALUE | __all__ = ["BYTES_IN_ONE_MB", "BYTES_IN_ONE_GB"]
BYTES_IN_ONE_MB = 2**20
BYTES_IN_ONE_GB = 2**30
| data/neptune_client-1.9.1/src/neptune/common/hardware/constants.py | 85 | 59 | 128,056 |
LOAD_CONST 0
LOAD_CONST ('Final',)
IMPORT_NAME typing
IMPORT_FROM Final
STORE_NAME Final
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Component',)
IMPORT_NAME localstack.services.stepfunctions.asl.component.component
IMPORT_FROM Component
STORE_NAME Component
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object CauseDecl at 0x7fab7... | from typing import Final
from localstack.services.stepfunctions.asl.component.component import Component
class CauseDecl(Component):
def __init__(self, cause: str):
self.cause: Final[str] = cause
| data/localstack-core-3.1.0/localstack/services/stepfunctions/asl/component/common/cause_decl.py | 230 | 59 | 225,346 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME webview
STORE_NAME webview
LOAD_CONST 1
LOAD_CONST ('run_test',)
IMPORT_NAME util
IMPORT_FROM run_test
STORE_NAME run_test
POP_TOP
LOAD_CONST <code object test_simple_browser at 0x7fab82334f60, file "f.py", line 6>
LOAD_CONST 'test_simple_browser'
MAKE_FUNCTION
STORE_NAME test... | import webview
from .util import run_test
def test_simple_browser():
window = webview.create_window("Simple browser test", "https://www.example.org")
run_test(webview, window)
| data/pywebview-4.4.1/tests/test_simple_browser.py | 158 | 59 | 390,115 |
LOAD_CONST 'CUDA Driver\n\n- Driver API binding\n- NVVM API binding\n- Device array implementation\n\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('config',)
IMPORT_NAME numba.core
IMPORT_FROM config
STORE_NAME config
POP_TOP
LOAD_NAME config
LOAD_ATTR ENABLE_CUDASIM
POP_JUMP_IF_FALSE
LOAD_GLOBAL AssertionError
LOAD... | """CUDA Driver
- Driver API binding
- NVVM API binding
- Device array implementation
"""
from numba.core import config
assert not config.ENABLE_CUDASIM, "Cannot use real driver API with simulator"
| data/numba-0.59.0/numba/cuda/cudadrv/__init__.py | 104 | 59 | 134,458 |
LOAD_CONST 0
LOAD_CONST ('ListView',)
IMPORT_NAME django.views.generic.list
IMPORT_FROM ListView
STORE_NAME _django_ListView
POP_TOP
LOAD_CONST 1
LOAD_CONST ('Jinja2TemplateResponseMixin',)
IMPORT_NAME base
IMPORT_FROM Jinja2TemplateResponseMixin
STORE_NAME Jinja2TemplateResponseMixin
POP_TOP
LOAD_BUILD_CLASS
LOAD_CO... | from django.views.generic.list import ListView as _django_ListView
from .base import Jinja2TemplateResponseMixin
class ListView(Jinja2TemplateResponseMixin, _django_ListView):
pass
| data/django-jinja-2.11.0/django_jinja/views/generic/list.py | 183 | 59 | 436,219 |
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 ('VenvPackException', 'Env', 'File', 'pack')
IMPORT_NAME core
IMPORT_FROM VenvPackException
STORE_NAME VenvPackException
IMPORT_FROM Env
STORE_NAME Env
IMPORT_FROM ... | from __future__ import absolute_import
from .core import VenvPackException, Env, File, pack
from ._version import get_versions
__version__ = get_versions()["version"]
del get_versions, absolute_import
| data/venv-pack-0.2.0/venv_pack/__init__.py | 154 | 59 | 79,569 |
LOAD_CONST 'OpenAPI core testing module'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('MockRequest',)
IMPORT_NAME openapi_core.testing.requests
IMPORT_FROM MockRequest
STORE_NAME MockRequest
POP_TOP
LOAD_CONST 0
LOAD_CONST ('MockResponse',)
IMPORT_NAME openapi_core.testing.responses
IMPORT_FROM MockResponse
STORE_NAME... | """OpenAPI core testing module"""
from openapi_core.testing.requests import MockRequest
from openapi_core.testing.responses import MockResponse
__all__ = [
"MockRequest",
"MockResponse",
]
| data/openapi_core-0.19.0/openapi_core/testing/__init__.py | 106 | 59 | 271,243 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object EventType at 0x7fab70027420, file "f.py", line 4>
LOAD_CONST 'EventType'
MAKE_FUNCTION
LOAD_CONST 'EventType'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STORE_NAME EventType
LOAD_CONST N... | from enum import Enum
class EventType(str, Enum):
SingleInstance = ("singleInstance",)
Occurrence = ("occurrence",)
Exception = ("exception",)
SeriesMaster = ("seriesMaster",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/event_type.py | 167 | 59 | 260,166 |
LOAD_CONST '/opt/ml/input/config/hyperparameters.json'
STORE_NAME SM_PARAM_CONFIG
LOAD_CONST '/opt/ml/input/config/resourceconfig.json'
STORE_NAME SM_RESOURCE_CONFIG
LOAD_CONST 'secrets.env'
STORE_NAME SM_SECRETS
LOAD_CONST None
RETURN_VALUE | SM_PARAM_CONFIG = "/opt/ml/input/config/hyperparameters.json"
SM_RESOURCE_CONFIG = "/opt/ml/input/config/resourceconfig.json"
SM_SECRETS = "secrets.env"
| data/wandb-0.16.3/wandb/integration/sagemaker/files.py | 71 | 59 | 360,615 |
LOAD_CONST 0
LOAD_CONST ('IterationDecl',)
IMPORT_NAME localstack.services.stepfunctions.asl.component.state.state_execution.state_map.iteration.iteration_declaration
IMPORT_FROM IterationDecl
STORE_NAME IterationDecl
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object IteratorDecl at 0x7fab82258660, file "f.py", line 6>... | from localstack.services.stepfunctions.asl.component.state.state_execution.state_map.iteration.iteration_declaration import (
IterationDecl,
)
class IteratorDecl(IterationDecl):
pass
| data/localstack-core-3.1.0/localstack/services/stepfunctions/asl/component/state/state_execution/state_map/iteration/iterator/iterator_decl.py | 154 | 59 | 225,320 |
LOAD_CONST 0
LOAD_CONST ('dataclass',)
IMPORT_NAME pydantic.dataclasses
IMPORT_FROM dataclass
STORE_NAME dataclass
POP_TOP
LOAD_NAME dataclass
LOAD_BUILD_CLASS
LOAD_CONST <code object Foo at 0x7fab4277ed20, file "f.py", line 4>
LOAD_CONST 'Foo'
MAKE_FUNCTION
LOAD_CONST 'Foo'
CALL_FUNCTION
CALL_FUNCTION
STORE_NAME Foo
... | from pydantic.dataclasses import dataclass
@dataclass
class Foo:
foo: int
@dataclass(config={"title": "Bar Title"})
class Bar:
bar: str
| data/pydantic-2.6.1/tests/mypy/outputs/1.0.1/mypy-plugin-strict-no-any_ini/dataclass_no_any.py | 272 | 59 | 270,909 |
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 None
IMPORT_NAME socket
STORE_NAME socket
SETUP_EXCEPT to 32
LOAD_NAME socket
LOAD_ATTR _GLOBAL_DEFAULT_TIMEOUT
STORE_NAME _GLOBAL_DEFAULT_TIMEOUT
POP_BLOCK
JUMP_... | from __future__ import absolute_import
import socket
try:
_GLOBAL_DEFAULT_TIMEOUT = socket._GLOBAL_DEFAULT_TIMEOUT
except AttributeError:
_GLOBAL_DEFAULT_TIMEOUT = object()
| data/mechanize-0.4.9/mechanize/_sockettimeout.py | 137 | 59 | 80,491 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object DiskType at 0x7fab820f4ae0, file "f.py", line 4>
LOAD_CONST 'DiskType'
MAKE_FUNCTION
LOAD_CONST 'DiskType'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STORE_NAME DiskType
LOAD_CONST None
... | from enum import Enum
class DiskType(str, Enum):
Unknown = ("unknown",)
Hdd = ("hdd",)
Ssd = ("ssd",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/disk_type.py | 166 | 59 | 260,300 |
LOAD_CONST '\nShould emit:\nB011 - on line 8\nB011 - on line 10\n'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST 2
COMPARE_OP !=
POP_JUMP_IF_TRUE
LOAD_GLOBAL AssertionError
RAISE_VARARGS
LOAD_CONST False
POP_JUMP_IF_TRUE
LOAD_GLOBAL AssertionError
RAISE_VARARGS
LOAD_CONST 1
LOAD_CONST 2
COMPARE_OP !=
POP_JUMP_IF_TRUE
L... | """
Should emit:
B011 - on line 8
B011 - on line 10
"""
assert 1 != 2
assert False
assert 1 != 2, "message"
assert False, "message"
| data/flake8-bugbear-24.2.6/tests/b011.py | 126 | 59 | 169,323 |
LOAD_CONST '\nGeneric Utilities\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('datetime', 'tzinfo')
IMPORT_NAME datetime
IMPORT_FROM datetime
STORE_NAME datetime
IMPORT_FROM tzinfo
STORE_NAME tzinfo
POP_TOP
LOAD_NAME tzinfo
LOAD_CONST ('return',)
BUILD_CONST_KEY_MAP
LOAD_CONST <code object get_local_timezone at 0x7f... | """
Generic Utilities
"""
from datetime import datetime, tzinfo
def get_local_timezone() -> tzinfo:
"""Returns the current local timezone"""
return datetime.now().astimezone().tzinfo
| data/huawei-solar-2.2.9/src/huawei_solar/utils.py | 149 | 59 | 141,397 |
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 10
LOAD_NAME better_exceptions
STORE_ATTR MAX_LENGTH
LOAD_CONST <code object div at 0x7fab40da10c0, file "f.py", line 7>
LOAD_CONST 'div'
MAKE_FUNCTION
S... | import better_exceptions
better_exceptions.hook()
better_exceptions.MAX_LENGTH = 10
def div():
var = "9" * 150
return 1 / var
div()
| data/better_exceptions-0.3.3/test/test_truncating.py | 276 | 59 | 387,832 |
LOAD_CONST 1
LOAD_CONST ('check_pyglet_available',)
IMPORT_NAME base
IMPORT_FROM check_pyglet_available
STORE_NAME check_pyglet_available
POP_TOP
LOAD_CONST <code object pyglet_run at 0x7fab641791e0, file "f.py", line 4>
LOAD_CONST 'pyglet_run'
MAKE_FUNCTION
STORE_NAME pyglet_run
LOAD_CONST None
RETURN_VALUE
LOAD_GLO... | from .base import check_pyglet_available
def pyglet_run():
"""Start pyglet mainloop."""
pyglet = check_pyglet_available()
return pyglet.app.run()
| data/imgviz-1.7.5/imgviz/_io/_pyglet/pyglet_run.py | 132 | 59 | 186,971 |
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 Tanh at 0x7fab4278a9c0, file "f.py", line 6>
LOAD_CONST 'Tanh'
MAKE_FUNCTION
LOAD_CONST 'Tanh'
LOA... | import numpy as np
from ._op import OpRunUnaryNum
class Tanh(OpRunUnaryNum):
def _run(self, x): # type: ignore
return (np.tanh(x),)
| data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_tanh.py | 214 | 59 | 85,735 |
LOAD_CONST 0
LOAD_CONST ('Sequence',)
IMPORT_NAME typing
IMPORT_FROM Sequence
STORE_NAME Sequence
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Categorical',)
IMPORT_NAME visions.types.categorical
IMPORT_FROM Categorical
STORE_NAME Categorical
POP_TOP
LOAD_NAME Categorical
LOAD_ATTR contains_op
LOAD_ATTR register
LOAD_NAME Sequ... | from typing import Sequence
from visions.types.categorical import Categorical
@Categorical.contains_op.register
def categorical_contains(sequence: Sequence, state: dict) -> bool:
return False
| data/visions-0.7.6/src/visions/backends/python/types/categorical.py | 159 | 59 | 78,128 |
LOAD_CONST 0
LOAD_CONST ('dataclass',)
IMPORT_NAME pydantic.dataclasses
IMPORT_FROM dataclass
STORE_NAME dataclass
POP_TOP
LOAD_NAME dataclass
LOAD_BUILD_CLASS
LOAD_CONST <code object Foo at 0x7faa8c241c00, file "f.py", line 4>
LOAD_CONST 'Foo'
MAKE_FUNCTION
LOAD_CONST 'Foo'
CALL_FUNCTION
CALL_FUNCTION
STORE_NAME Foo
... | from pydantic.dataclasses import dataclass
@dataclass
class Foo:
foo: int
@dataclass(config={"title": "Bar Title"})
class Bar:
bar: str
| data/pydantic-2.6.1/tests/mypy/modules/dataclass_no_any.py | 275 | 59 | 270,985 |
LOAD_CONST 0
LOAD_CONST ('Flask',)
IMPORT_NAME flask
IMPORT_FROM Flask
STORE_NAME Flask
POP_TOP
LOAD_CONST 0
LOAD_CONST ('blueprint',)
IMPORT_NAME deepface.api.src.modules.core.routes
IMPORT_FROM blueprint
STORE_NAME blueprint
POP_TOP
LOAD_CONST <code object create_app at 0x7f8af162ec00, file "f.py", line 5>
LOAD_CON... | from flask import Flask
from deepface.api.src.modules.core.routes import blueprint
def create_app():
app = Flask(__name__)
app.register_blueprint(blueprint)
return app
| data/deepface-0.0.84/deepface/api/src/app.py | 154 | 59 | 117,794 |
LOAD_CONST 0
LOAD_CONST ('SimpleNamespace',)
IMPORT_NAME types
IMPORT_FROM SimpleNamespace
STORE_NAME SimpleNamespace
POP_TOP
LOAD_NAME SimpleNamespace
LOAD_CONST 'resource-manager'
LOAD_CONST 5
LOAD_CONST ('RESOURCE_MANAGER_WORKER_NAME', 'JOB_MONITORING_INTERVAL')
CALL_FUNCTION
STORE_NAME TASKING_CONSTANTS
LOAD_CON... | from types import SimpleNamespace
TASKING_CONSTANTS = SimpleNamespace(
RESOURCE_MANAGER_WORKER_NAME="resource-manager",
JOB_MONITORING_INTERVAL=5,
)
| data/pulpcore-3.46.0/pulpcore/tasking/constants.py | 88 | 59 | 218,287 |
LOAD_CONST 2
LOAD_CONST ('Provider',)
IMPORT_NAME
IMPORT_FROM Provider
STORE_NAME BankProvider
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Provider at 0x7faa8c017540, file "f.py", line 4>
LOAD_CONST 'Provider'
MAKE_FUNCTION
LOAD_CONST 'Provider'
LOAD_NAME BankProvider
CALL_FUNCTION
STORE_NAME Provider
LOAD_CONST ... | from .. import Provider as BankProvider
class Provider(BankProvider):
"""Implement bank provider for ``pl_PL`` locale."""
bban_format = "#" * 24
country_code = "PL"
| data/Faker-23.2.1/faker/providers/bank/pl_PL/__init__.py | 157 | 59 | 16,539 |
LOAD_CONST 'rlu_atari_checkpoints dataset.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('RluAtariCheckpoints',)
IMPORT_NAME tensorflow_datasets.rl_unplugged.rlu_atari_checkpoints.rlu_atari_checkpoints
IMPORT_FROM RluAtariCheckpoints
STORE_NAME RluAtariCheckpoints
POP_TOP
LOAD_CONST None
RETURN_VALUE | """rlu_atari_checkpoints dataset."""
from tensorflow_datasets.rl_unplugged.rlu_atari_checkpoints.rlu_atari_checkpoints import (
RluAtariCheckpoints,
)
| data/tfds-nightly-4.9.4.dev202402210044/tensorflow_datasets/rl_unplugged/rlu_atari_checkpoints/__init__.py | 89 | 59 | 238,147 |
LOAD_CONST 0
LOAD_CONST ('wraps',)
IMPORT_NAME functools
IMPORT_FROM wraps
STORE_NAME wraps
POP_TOP
LOAD_CONST <code object contextmanager at 0x7fab4106c9c0, file "f.py", line 4>
LOAD_CONST 'contextmanager'
MAKE_FUNCTION
STORE_NAME contextmanager
LOAD_CONST None
RETURN_VALUE
LOAD_GLOBAL wraps
LOAD_DEREF func
CALL_FUN... | from functools import wraps
def contextmanager(func):
@wraps(func)
def helper(*args, **kwds):
return _GeneratorContextManager(func, *args, **kwds)
return helper
| data/xdis-6.0.5/test/simple_source/def/05_closure_bug.py | 175 | 59 | 85,458 |
LOAD_CONST 1
LOAD_CONST ('align_subplot_array', 'align_subplots', 'fewerXticks', 'removeRightTicks', 'removeUpperTicks')
IMPORT_NAME util
IMPORT_FROM align_subplot_array
STORE_NAME align_subplot_array
IMPORT_FROM align_subplots
STORE_NAME align_subplots
IMPORT_FROM fewerXticks
STORE_NAME fewerXticks
IMPORT_FROM removeR... | from .util import (
align_subplot_array,
align_subplots,
fewerXticks,
removeRightTicks,
removeUpperTicks,
)
from . import controllers, base_plots
| data/GPy-1.13.1/GPy/plotting/matplot_dep/__init__.py | 160 | 59 | 186,166 |
LOAD_CONST 0
LOAD_CONST ('read_feather', 'write_feather', 'FeatherError')
IMPORT_NAME pyarrow.feather
IMPORT_FROM read_feather
STORE_NAME read_dataframe
IMPORT_FROM write_feather
STORE_NAME write_dataframe
IMPORT_FROM FeatherError
STORE_NAME FeatherError
POP_TOP
LOAD_CONST 0
LOAD_CONST ('version',)
IMPORT_NAME feather... | from pyarrow.feather import (
read_feather as read_dataframe, # noqa
write_feather as write_dataframe,
FeatherError,
)
from feather.version import version as __version__
| data/feather-format-0.4.1/feather/__init__.py | 97 | 59 | 436,319 |
LOAD_CONST 2
LOAD_CONST ('Provider',)
IMPORT_NAME
IMPORT_FROM Provider
STORE_NAME BankProvider
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Provider at 0x7faa5dbc1390, file "f.py", line 4>
LOAD_CONST 'Provider'
MAKE_FUNCTION
LOAD_CONST 'Provider'
LOAD_NAME BankProvider
CALL_FUNCTION
STORE_NAME Provider
LOAD_CONST ... | from .. import Provider as BankProvider
class Provider(BankProvider):
"""Implement bank provider for ``en_GB`` locale."""
bban_format = "????##############"
country_code = "GB"
| data/Faker-23.2.1/faker/providers/bank/en_GB/__init__.py | 157 | 59 | 16,542 |
LOAD_CONST 2
LOAD_CONST ('Provider',)
IMPORT_NAME
IMPORT_FROM Provider
STORE_NAME BankProvider
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Provider at 0x7faa53e70b70, file "f.py", line 4>
LOAD_CONST 'Provider'
MAKE_FUNCTION
LOAD_CONST 'Provider'
LOAD_NAME BankProvider
CALL_FUNCTION
STORE_NAME Provider
LOAD_CONST ... | from .. import Provider as BankProvider
class Provider(BankProvider):
"""Implement bank provider for ``it_IT`` locale."""
bban_format = "?######################"
country_code = "IT"
| data/Faker-23.2.1/faker/providers/bank/it_IT/__init__.py | 159 | 59 | 16,549 |
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 DashboardConfig at 0x7faa8c3ab0c0, file "f.py", line 4>
LOAD_CONST 'DashboardConfig'
MAKE_FUNCTION
LOAD_CONST 'DashboardConfig'
LOAD_NAME AppConfig
CALL_FUNCTION
ST... | from django.apps import AppConfig
class DashboardConfig(AppConfig):
name = "grappelli.dashboard"
label = "grappelli_dashboard"
verbose_name = "Grappelli Dashboard"
| data/django-grappelli-3.0.8/grappelli/dashboard/apps.py | 171 | 59 | 20,654 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME unittest
STORE_NAME unittest
LOAD_CONST 2
LOAD_CONST ('base',)
IMPORT_NAME
IMPORT_FROM base
STORE_NAME base
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Collector at 0x7fae2f37a780, file "f.py", line 6>
LOAD_CONST 'Collector'
MAKE_FUNCTION
LOAD_CONST 'Collector'
LOAD_NAME ... | import unittest
from .. import base
class Collector(base.TDataCollector):
pass
class TestCase(unittest.TestCase, Collector):
def setUp(self):
self.init()
| data/anyconfig-0.14.0/tests/parser/common.py | 295 | 59 | 390,411 |
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
CALL_FUNCTION
SETUP_WITH to 84
STORE_NAME infile
LOAD_NAME open
LOAD_NAME sys
LOAD_ATTR argv
LOAD_CONST 2
BINARY_SUBSCR
LOAD_CONST 'w'
CALL_FUNCTION
SETUP_WITH to 74
STORE_NAME outfile
LO... | import sys
with open(sys.argv[1]) as infile, open(sys.argv[2], "w") as outfile:
outfile.write(infile.read().format(icon=sys.argv[3]))
| data/meson-1.3.2/test cases/windows/12 resources with custom targets/res/gen-res.py | 147 | 59 | 81,933 |
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 MpttConfig at 0x7fab820498a0, file "f.... | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class MpttConfig(AppConfig):
name = "mptt"
verbose_name = _("mptt")
| data/django_mptt-0.16.0/mptt/apps.py | 195 | 60 | 157,443 |
LOAD_CONST 0
LOAD_CONST ('get_version',)
IMPORT_NAME cement.utils.version
IMPORT_FROM get_version
STORE_NAME cement_get_version
POP_TOP
LOAD_CONST (0, 0, 1, 'alpha', 0)
STORE_NAME VERSION
LOAD_NAME VERSION
BUILD_TUPLE
LOAD_CONST <code object get_version at 0x7fab8244ded0, file "f.py", line 6>
LOAD_CONST 'get_version'... | from cement.utils.version import get_version as cement_get_version
VERSION = (0, 0, 1, "alpha", 0)
def get_version(version=VERSION):
return cement_get_version(version)
| data/cement-3.0.8/cement/cli/templates/generate/todo-tutorial/todo/core/version.py | 130 | 60 | 89,557 |
LOAD_CONST 'Copier.\n\nDocs: https://copier.readthedocs.io/\n'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME main
IMPORT_STAR
LOAD_CONST '9.1.1'
STORE_NAME __version__
LOAD_CONST None
RETURN_VALUE | """Copier.
Docs: https://copier.readthedocs.io/
"""
from .main import * # noqa: F401,F403
__version__ = "9.1.1"
| data/copier-9.1.1/copier/__init__.py | 67 | 60 | 308,634 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.image_spec.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.model_spec.image_spec
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.image_spec."""
from tensorflow_examples.lite.model_maker.core.task.model_spec.image_spec import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/task/model_spec/image_spec.py | 80 | 60 | 401,328 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.audio_spec.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.model_spec.audio_spec
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.audio_spec."""
from tensorflow_examples.lite.model_maker.core.task.model_spec.audio_spec import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/task/model_spec/audio_spec.py | 80 | 60 | 401,326 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
SETUP_EXCEPT to 20
LOAD_NAME sys
LOAD_ATTR _pdoc_imported_once_flag
POP_TOP
POP_BLOCK
JUMP_FORWARD to 46
DUP_TOP
LOAD_NAME AttributeError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
POP_TOP
POP_TOP
LOAD_CONST True
LOAD_NAME sys
STORE_ATTR _pdoc_im... | import sys
try:
sys._pdoc_imported_once_flag
except AttributeError:
sys._pdoc_imported_once_flag = True
else:
assert False, "Module _imported_once already imported"
| data/pdoc3-0.10.0/pdoc/test/example_pkg/_imported_once.py | 127 | 60 | 438,280 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.text_spec.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.model_spec.text_spec
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.text_spec."""
from tensorflow_examples.lite.model_maker.core.task.model_spec.text_spec import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/task/model_spec/text_spec.py | 80 | 60 | 389,422 |
LOAD_CONST 1
LOAD_CONST ('RTDETR',)
IMPORT_NAME model
IMPORT_FROM RTDETR
STORE_NAME RTDETR
POP_TOP
LOAD_CONST 1
LOAD_CONST ('RTDETRPredictor',)
IMPORT_NAME predict
IMPORT_FROM RTDETRPredictor
STORE_NAME RTDETRPredictor
POP_TOP
LOAD_CONST 1
LOAD_CONST ('RTDETRValidator',)
IMPORT_NAME val
IMPORT_FROM RTDETRValidator
ST... | from .model import RTDETR
from .predict import RTDETRPredictor
from .val import RTDETRValidator
__all__ = "RTDETRPredictor", "RTDETRValidator", "RTDETR"
| data/ultralytics-8.1.17/ultralytics/models/rtdetr/__init__.py | 139 | 60 | 144,590 |
LOAD_CONST 'LocalArtifactDriver'
LOAD_CONST 'S3ArtifactDriver'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 0
LOAD_CONST ('LocalArtifactDriver',)
IMPORT_NAME neptune.internal.artifacts.drivers.local
IMPORT_FROM LocalArtifactDriver
STORE_NAME LocalArtifactDriver
POP_TOP
LOAD_CONST 0
LOAD_CONST ('S3ArtifactDriver',)
IMPORT... | __all__ = ["LocalArtifactDriver", "S3ArtifactDriver"]
from neptune.internal.artifacts.drivers.local import LocalArtifactDriver
from neptune.internal.artifacts.drivers.s3 import S3ArtifactDriver
| data/neptune_client-1.9.1/src/neptune/internal/artifacts/drivers/__init__.py | 117 | 60 | 128,028 |
LOAD_CONST 0
LOAD_CONST ('parse_file',)
IMPORT_NAME stem.descriptor
IMPORT_FROM parse_file
STORE_NAME parse_file
POP_TOP
SETUP_LOOP to 50
LOAD_NAME parse_file
LOAD_CONST '/home/atagar/.tor/cached-consensus'
CALL_FUNCTION
GET_ITER
FOR_ITER to 48
STORE_NAME desc
LOAD_NAME print
LOAD_CONST 'found relay %s (%s)'
LOAD_NAM... | from stem.descriptor import parse_file
for desc in parse_file("/home/atagar/.tor/cached-consensus"):
print("found relay %s (%s)" % (desc.nickname, desc.fingerprint))
| data/stem-1.8.2/docs/_static/example/descriptor_from_tor_data_directory.py | 117 | 60 | 308,173 |
LOAD_CONST 'Extra plugins. These are not automatically inserted when ocrmypdf is run.\n\nYou can use these plugins by specifying them on the command line, e.g.:\nocrmypdf --plugin ocrmypdf.extra_plugins.semfree ...\n'
STORE_NAME __doc__
LOAD_CONST None
RETURN_VALUE | """Extra plugins. These are not automatically inserted when ocrmypdf is run.
You can use these plugins by specifying them on the command line, e.g.:
ocrmypdf --plugin ocrmypdf.extra_plugins.semfree ...
"""
| data/ocrmypdf-16.1.1/src/ocrmypdf/extra_plugins/__init__.py | 73 | 60 | 136,275 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object SimulationContentSource at 0x7fab70027420, file "f.py", line 4>
LOAD_CONST 'SimulationContentSource'
MAKE_FUNCTION
LOAD_CONST 'SimulationContentSource'
LOAD_NAME str
LOAD_NAME Enum
CALL_... | from enum import Enum
class SimulationContentSource(str, Enum):
Unknown = ("unknown",)
Global_ = ("global",)
Tenant = ("tenant",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/simulation_content_source.py | 176 | 60 | 261,735 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.image_spec.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.model_spec.image_spec
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.image_spec."""
from tensorflow_examples.lite.model_maker.core.task.model_spec.image_spec import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/task/model_spec/image_spec.py | 80 | 60 | 389,421 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.audio_spec.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.model_spec.audio_spec
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.audio_spec."""
from tensorflow_examples.lite.model_maker.core.task.model_spec.audio_spec import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/task/model_spec/audio_spec.py | 80 | 60 | 389,419 |
LOAD_CONST 0
LOAD_CONST ('__version__',)
IMPORT_NAME setuptools
IMPORT_FROM __version__
STORE_NAME __version__
POP_TOP
LOAD_CONST 0
LOAD_CONST ('setup',)
IMPORT_NAME setuptools
IMPORT_FROM setup
STORE_NAME setup
POP_TOP
LOAD_NAME int
LOAD_NAME __version__
LOAD_METHOD partition
LOAD_CONST '.'
CALL_METHOD
LOAD_CONST 0
... | from setuptools import __version__
from setuptools import setup
if not int(__version__.partition(".")[0]) >= 47:
raise RuntimeError(f"Setuptools >= 47 required. Found {__version__}")
setup()
| data/alembic-1.13.1/setup.py | 130 | 60 | 94,752 |
LOAD_CONST 0
LOAD_CONST ('install',)
IMPORT_NAME seeq.spy.addons._install
IMPORT_FROM install
STORE_NAME install
POP_TOP
LOAD_CONST 0
LOAD_CONST ('search',)
IMPORT_NAME seeq.spy.addons._search
IMPORT_FROM search
STORE_NAME search
POP_TOP
LOAD_CONST 0
LOAD_CONST ('uninstall',)
IMPORT_NAME seeq.spy.addons._uninstall
IM... | from seeq.spy.addons._install import install
from seeq.spy.addons._search import search
from seeq.spy.addons._uninstall import uninstall
__all__ = ["search", "install", "uninstall"]
| data/seeq-spy-191.3/seeq/spy/addons/__init__.py | 123 | 60 | 55,152 |
LOAD_CONST 0
LOAD_CONST ('ones', 'randn', 'tensor', 'zeros')
IMPORT_NAME torch
IMPORT_FROM ones
STORE_NAME ones
IMPORT_FROM randn
STORE_NAME randn
IMPORT_FROM tensor
STORE_NAME tensor
IMPORT_FROM zeros
STORE_NAME zeros
POP_TOP
LOAD_CONST 0
LOAD_CONST ('allclose',)
IMPORT_NAME funsor.testing
IMPORT_FROM allclose
STORE_... | from torch import ones, randn, tensor, zeros # noqa F401
from funsor.testing import allclose # noqa F401
from .ops import * # noqa F401
| data/funsor-0.4.5/funsor/compat/ops.py | 106 | 60 | 371,364 |
LOAD_CONST 0
LOAD_CONST ('Model',)
IMPORT_NAME msrest.serialization
IMPORT_FROM Model
STORE_NAME Model
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object BatchOperationData at 0x7fab8237f030, file "f.py", line 4>
LOAD_CONST 'BatchOperationData'
MAKE_FUNCTION
LOAD_CONST 'BatchOperationData'
LOAD_NAME Model
CALL_FUNCTION
... | from msrest.serialization import Model
class BatchOperationData(Model):
"""BatchOperationData."""
_attribute_map = {}
def __init__(self):
super(BatchOperationData, self).__init__()
| data/vsts-0.1.25/vsts/maven/v4_1/models/batch_operation_data.py | 243 | 60 | 67,507 |
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('decode_predictions',)
IMPORT_NAME tf_keras.src.applications.imagenet_utils
IMPORT_FROM decode_predictions
STORE_NAME decode_predictions
POP_TOP
LOAD_CONST 0
LOAD_CONST ('preprocess_input',)
IMPORT_NAME tf_keras.src.applications.imag... | """AUTOGENERATED. DO NOT EDIT."""
from tf_keras.src.applications.imagenet_utils import decode_predictions
from tf_keras.src.applications.imagenet_utils import preprocess_input
| data/tf_keras-2.15.0/tf_keras/api/_v2/keras/applications/imagenet_utils/__init__.py | 116 | 60 | 354,125 |
SETUP_ANNOTATIONS
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
BUILD_LIST
STORE_NAME collect_ignore
LOAD_CONST 'list[str]'
LOAD_NAME __annotations__
LOAD_CONST 'collect_ignore'
STORE_S... | from __future__ import annotations
import sys
collect_ignore: list[str] = []
if sys.version_info < (3, 10):
collect_ignore.append("test_grounds_py310.py")
| data/ibis_framework-8.0.0/ibis/common/tests/conftest.py | 129 | 60 | 161,681 |
LOAD_CONST 0
LOAD_CONST ('views',)
IMPORT_NAME django.contrib.flatpages
IMPORT_FROM views
STORE_NAME views
POP_TOP
LOAD_CONST 0
LOAD_CONST ('path',)
IMPORT_NAME django.urls
IMPORT_FROM path
STORE_NAME path
POP_TOP
LOAD_NAME path
LOAD_CONST '<path:url>'
LOAD_NAME views
LOAD_ATTR flatpage
LOAD_CONST 'django.contrib.fla... | from django.contrib.flatpages import views
from django.urls import path
urlpatterns = [
path("<path:url>", views.flatpage, name="django.contrib.flatpages.views.flatpage"),
]
| data/Django-5.0.2/django/contrib/flatpages/urls.py | 108 | 60 | 326,652 |
LOAD_CONST 'convert_from_multiindex_to_listdataset'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 0
LOAD_CONST ('convert_from_multiindex_to_listdataset',)
IMPORT_NAME sktime.datatypes._adapter.pd_multiindex_to_list_dataset
IMPORT_FROM convert_from_multiindex_to_listdataset
STORE_NAME convert_from_multiindex_to_listdataset
... | __all__ = ["convert_from_multiindex_to_listdataset"]
from sktime.datatypes._adapter.pd_multiindex_to_list_dataset import (
convert_from_multiindex_to_listdataset,
)
| data/sktime-0.26.0/sktime/datatypes/_adapter/__init__.py | 98 | 60 | 65,923 |
LOAD_CONST 1
LOAD_CONST ('OpsWorksResponse',)
IMPORT_NAME responses
IMPORT_FROM OpsWorksResponse
STORE_NAME OpsWorksResponse
POP_TOP
LOAD_CONST 'https?://opsworks\\.us-east-1\\.amazonaws.com'
BUILD_LIST
STORE_NAME url_bases
LOAD_CONST '{0}/$'
LOAD_NAME OpsWorksResponse
LOAD_ATTR dispatch
BUILD_MAP
STORE_NAME url_path... | from .responses import OpsWorksResponse
url_bases = [r"https?://opsworks\.us-east-1\.amazonaws.com"]
url_paths = {"{0}/$": OpsWorksResponse.dispatch}
| data/moto-5.0.2/moto/opsworks/urls.py | 92 | 60 | 198,176 |
LOAD_CONST 0
LOAD_CONST ('ApiForpost',)
IMPORT_NAME onelogin.paths.api_2_mfa_users_user_id_registrations.post
IMPORT_FROM ApiForpost
STORE_NAME ApiForpost
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Api2MfaUsersUserIdRegistrations at 0x7f8e44712ed0, file "f.py", line 4>
LOAD_CONST 'Api2MfaUsersUserIdRegistrations... | from onelogin.paths.api_2_mfa_users_user_id_registrations.post import ApiForpost
class Api2MfaUsersUserIdRegistrations(
ApiForpost,
):
pass
| data/onelogin-3.1.6/onelogin/apis/paths/api_2_mfa_users_user_id_registrations.py | 191 | 60 | 397,221 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.train.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.train
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.train."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.train import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/keras/train.py | 80 | 60 | 389,345 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.eval.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.eval
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.eval."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.eval import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/third_party/efficientdet/keras/eval.py | 80 | 60 | 389,349 |
LOAD_CONST 1
LOAD_CONST ('OptimalPWBinning',)
IMPORT_NAME binning
IMPORT_FROM OptimalPWBinning
STORE_NAME OptimalPWBinning
POP_TOP
LOAD_CONST 1
LOAD_CONST ('ContinuousOptimalPWBinning',)
IMPORT_NAME continuous_binning
IMPORT_FROM ContinuousOptimalPWBinning
STORE_NAME ContinuousOptimalPWBinning
POP_TOP
LOAD_CONST 'Opt... | from .binning import OptimalPWBinning
from .continuous_binning import ContinuousOptimalPWBinning
__all__ = ["OptimalPWBinning", "ContinuousOptimalPWBinning"]
| data/optbinning-0.19.0/optbinning/binning/piecewise/__init__.py | 128 | 60 | 175,794 |
LOAD_CONST '\n.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>\n'
STORE_NAME __doc__
LOAD_BUILD_CLASS
LOAD_CONST <code object TypeConversionError at 0x7fab82398ed0, file "f.py", line 6>
LOAD_CONST 'TypeConversionError'
MAKE_FUNCTION
LOAD_CONST 'TypeConversionError'
LOAD_NAME TypeError
CALL_FUNCTION
STOR... | """
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
class TypeConversionError(TypeError):
"""
Exception raised when failed to convert data.
"""
| data/typepy-1.3.2/typepy/error.py | 160 | 60 | 348,739 |
LOAD_CONST 'Session gates.'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('StandardEquivalenceLibrary',)
IMPORT_NAME library.standard_gates.equivalence_library
IMPORT_FROM StandardEquivalenceLibrary
STORE_NAME StandardEquivalenceLibrary
POP_TOP
LOAD_CONST 1
LOAD_CONST ('EquivalenceLibrary',)
IMPORT_NAME equivalence
IMP... | """Session gates."""
from .library.standard_gates.equivalence_library import StandardEquivalenceLibrary
from .equivalence import EquivalenceLibrary
SessionEquivalenceLibrary = EquivalenceLibrary(base=StandardEquivalenceLibrary)
| data/qiskit-1.0.0/qiskit/circuit/equivalence_library.py | 121 | 60 | 282,706 |
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 GameplayKit
STORE_NAME GameplayKit
LOAD_BUILD_CLASS
LOAD_CONST <code object TestGKState at 0x7fab81fc4540, file "f.py", line 5>
LOAD_CONST 'TestGKState'
M... | from PyObjCTools.TestSupport import TestCase
import GameplayKit
class TestGKState(TestCase):
def testMethods(self):
self.assertResultIsBOOL(GameplayKit.GKState.isValidNextState_)
| data/pyobjc-framework-GameplayKit-10.1/PyObjCTest/test_gkstate.py | 236 | 60 | 57,622 |
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 ConditionalAccessPolicy at 0x7fab541051e0, file "f.py", line 4>
LOAD_CONST 'ConditionalAccessPolicy'
MAKE_FUNCTION
LOAD_CONST 'ConditionalAccessPolicy'
LOAD_NAME Entity... | from office365.entity import Entity
class ConditionalAccessPolicy(Entity):
"""
Represents an Azure Active Directory conditional access policy.
Conditional access policies are custom rules that define an access scenario.
"""
pass
| data/Office365-REST-Python-Client-2.5.5/office365/directory/policies/conditional_access.py | 168 | 60 | 188,810 |
LOAD_CONST 1
LOAD_CONST ('AnalyzeClient',)
IMPORT_NAME client
IMPORT_FROM AnalyzeClient
STORE_NAME AnalyzeClient
POP_TOP
LOAD_CONST 1
LOAD_CONST ('AsyncAnalyzeClient',)
IMPORT_NAME async_client
IMPORT_FROM AsyncAnalyzeClient
STORE_NAME AsyncAnalyzeClient
POP_TOP
LOAD_CONST 1
LOAD_CONST ('AnalyzeOptions',)
IMPORT_NAME... | from .client import AnalyzeClient
from .async_client import AsyncAnalyzeClient
from .options import AnalyzeOptions
from ....options import DeepgramClientOptions
from .response import AsyncAnalyzeResponse, AnalyzeResponse
from ..enums import Sentiment
| data/deepgram-sdk-3.1.4/deepgram/clients/analyze/v1/__init__.py | 200 | 60 | 80,883 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME array
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME citext
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME hstore
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME jsonb
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME ranges
IMPORT_STAR
LOAD_CON... | from .array import * # NOQA
from .citext import * # NOQA
from .hstore import * # NOQA
from .jsonb import * # NOQA
from .ranges import * # NOQA
| data/Django-5.0.2/django/contrib/postgres/fields/__init__.py | 88 | 60 | 326,718 |
LOAD_CONST 1
LOAD_CONST ('console',)
IMPORT_NAME console
IMPORT_FROM console
STORE_NAME console
POP_TOP
LOAD_CONST 1
LOAD_CONST ('LocalstackCli', 'LocalstackCliPlugin')
IMPORT_NAME plugin
IMPORT_FROM LocalstackCli
STORE_NAME LocalstackCli
IMPORT_FROM LocalstackCliPlugin
STORE_NAME LocalstackCliPlugin
POP_TOP
LOAD_CON... | from .console import console
from .plugin import LocalstackCli, LocalstackCliPlugin
name = "cli"
__all__ = [
"console",
"LocalstackCli",
"LocalstackCliPlugin",
]
| data/localstack-core-3.1.0/localstack/cli/__init__.py | 118 | 60 | 225,173 |
LOAD_CONST 'Translation support for messages in this library.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('_factory',)
IMPORT_NAME oslo_i18n
IMPORT_FROM _factory
STORE_NAME _factory
POP_TOP
LOAD_NAME _factory
LOAD_METHOD TranslatorFactory
LOAD_CONST 'oslo_i18n'
CALL_METHOD
STORE_NAME _translators
LOAD_NAME _trans... | """Translation support for messages in this library.
"""
from oslo_i18n import _factory
_translators = _factory.TranslatorFactory("oslo_i18n")
_ = _translators.primary
| data/oslo.i18n-6.2.0/oslo_i18n/_i18n.py | 98 | 60 | 370,709 |
LOAD_CONST 0
STORE_NAME SUCCESS
LOAD_CONST 1
STORE_NAME ERROR
LOAD_CONST 2
STORE_NAME UNKNOWN_ERROR
LOAD_CONST 3
STORE_NAME VIRTUALENV_NOT_FOUND
LOAD_CONST 4
STORE_NAME PREVIOUS_BUILD_DIR_ERROR
LOAD_CONST 23
STORE_NAME NO_MATCHES_FOUND
LOAD_CONST None
RETURN_VALUE | SUCCESS = 0
ERROR = 1
UNKNOWN_ERROR = 2
VIRTUALENV_NOT_FOUND = 3
PREVIOUS_BUILD_DIR_ERROR = 4
NO_MATCHES_FOUND = 23
| data/pipenv-2023.12.1/pipenv/patched/pip/_internal/cli/status_codes.py | 88 | 60 | 402,369 |
LOAD_CONST '\nQuantum information utility functions for operators.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 1
LOAD_CONST ('anti_commutator',)
IMPORT_NAME anti_commutator
IMPORT_FROM anti_commutator
STORE_NAM... | """
Quantum information utility functions for operators.
"""
from __future__ import annotations
from .anti_commutator import anti_commutator
from .commutator import commutator
from .double_commutator import double_commutator
| data/qiskit-1.0.0/qiskit/quantum_info/operators/utils/__init__.py | 154 | 60 | 283,338 |
LOAD_CONST 'Module for estimating import times.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('executable',)
IMPORT_NAME sys
IMPORT_FROM executable
STORE_NAME executable
POP_TOP
LOAD_CONST 0
LOAD_CONST ('call',)
IMPORT_NAME subprocess
IMPORT_FROM call
STORE_NAME call
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Q... | """Module for estimating import times."""
from sys import executable
from subprocess import call
class QiskitImport:
def time_qiskit_import(self):
call((executable, "-c", "import qiskit"))
| data/qiskit-1.0.0/test/benchmarks/import.py | 256 | 60 | 283,413 |
LOAD_CONST 'openweathermap.org/geo/1.0'
STORE_NAME ROOT_GEOCODING_API_URL
LOAD_CONST 'direct'
STORE_NAME DIRECT_GEOCODING_URI
LOAD_CONST 'reverse'
STORE_NAME REVERSE_GEOCODING_URI
LOAD_CONST None
RETURN_VALUE | ROOT_GEOCODING_API_URL = "openweathermap.org/geo/1.0"
DIRECT_GEOCODING_URI = "direct"
REVERSE_GEOCODING_URI = "reverse"
| data/pyowm-3.3.0/pyowm/commons/uris.py | 72 | 60 | 203,345 |
LOAD_BUILD_CLASS
LOAD_CONST <code object SingleSourceError at 0x7fab802346f0, file "f.py", line 1>
LOAD_CONST 'SingleSourceError'
MAKE_FUNCTION
LOAD_CONST 'SingleSourceError'
LOAD_NAME Exception
CALL_FUNCTION
STORE_NAME SingleSourceError
LOAD_BUILD_CLASS
LOAD_CONST <code object VersionNotFoundError at 0x7fab802345d0, ... | class SingleSourceError(Exception):
"""Base exception for the library"""
class VersionNotFoundError(SingleSourceError):
"""
Raise when the version of a package has not been found
neither in package metadata nor in a file
"""
| data/single-source-0.3.0/single_source/errors.py | 240 | 60 | 157,223 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.utils.ondevice_scann_builder.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.utils.ondevice_scann_builder
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.utils.ondevice_scann_builder."""
from tensorflow_examples.lite.model_maker.core.utils.ondevice_scann_builder import *
| data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/utils/ondevice_scann_builder.py | 80 | 60 | 389,387 |
LOAD_CONST 0
LOAD_CONST ('ArizePhoenixQueryEnginePack',)
IMPORT_NAME llama_hub.llama_packs.arize_phoenix_query_engine.base
IMPORT_FROM ArizePhoenixQueryEnginePack
STORE_NAME ArizePhoenixQueryEnginePack
POP_TOP
LOAD_CONST 'ArizePhoenixQueryEnginePack'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST None
RETURN_VALUE | from llama_hub.llama_packs.arize_phoenix_query_engine.base import (
ArizePhoenixQueryEnginePack,
)
__all__ = ["ArizePhoenixQueryEnginePack"]
| data/llama_hub-0.0.79.post1/llama_hub/llama_packs/arize_phoenix_query_engine/__init__.py | 94 | 60 | 359,014 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object DelegatedAdminRelationshipOperationType at 0x7fab4298e660, file "f.py", line 4>
LOAD_CONST 'DelegatedAdminRelationshipOperationType'
MAKE_FUNCTION
LOAD_CONST 'DelegatedAdminRelationshipO... | from enum import Enum
class DelegatedAdminRelationshipOperationType(str, Enum):
DelegatedAdminAccessAssignmentUpdate = ("delegatedAdminAccessAssignmentUpdate",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/delegated_admin_relationship_operation_type.py | 192 | 60 | 261,931 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.model_inspect.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.model_inspect
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.model_inspect."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.model_inspect import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/model_inspect.py | 80 | 60 | 401,218 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.iou_utils.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.iou_utils
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.iou_utils."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.iou_utils import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/iou_utils.py | 80 | 60 | 401,219 |
LOAD_CONST 0
LOAD_CONST ('HttpResponseError',)
IMPORT_NAME azure.core.exceptions
IMPORT_FROM HttpResponseError
STORE_NAME HttpResponseError
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ResourceReadOnlyError at 0x7faa7c1f66f0, file "f.py", line 4>
LOAD_CONST 'ResourceReadOnlyError'
MAKE_FUNCTION
LOAD_CONST 'Resourc... | from azure.core.exceptions import HttpResponseError
class ResourceReadOnlyError(HttpResponseError):
"""An error response with status code 409
The key is read-only.
To allow modification unlock it first."""
| data/azure-appconfiguration-1.5.0/azure/appconfiguration/_azure_appconfiguration_error.py | 177 | 60 | 203,239 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.text_spec.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.model_spec.text_spec
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.task.model_spec.text_spec."""
from tensorflow_examples.lite.model_maker.core.task.model_spec.text_spec import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/task/model_spec/text_spec.py | 80 | 60 | 401,329 |
LOAD_CONST 0
LOAD_CONST ('get_version',)
IMPORT_NAME cement.utils.version
IMPORT_FROM get_version
STORE_NAME cement_get_version
POP_TOP
LOAD_CONST (0, 0, 1, 'alpha', 0)
STORE_NAME VERSION
LOAD_NAME VERSION
BUILD_TUPLE
LOAD_CONST <code object get_version at 0x7faac02be030, file "f.py", line 6>
LOAD_CONST 'get_version'... | from cement.utils.version import get_version as cement_get_version
VERSION = (0, 0, 1, "alpha", 0)
def get_version(version=VERSION):
return cement_get_version(version)
| data/cement-3.0.8/cement/cli/templates/generate/project/{{ label }}/core/version.py | 130 | 60 | 89,561 |
LOAD_CONST '__version__'
LOAD_CONST 'Lockfile'
LOAD_CONST 'Pipfile'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST '0.4.4'
STORE_NAME __version__
LOAD_CONST 1
LOAD_CONST ('Lockfile',)
IMPORT_NAME lockfiles
IMPORT_FROM Lockfile
STORE_NAME Lockfile
POP_TOP
LOAD_CONST 1
LOAD_CONST ('Pipfile',)
IMPORT_NAME pipfiles
IMPORT_F... | __all__ = [
"__version__",
"Lockfile",
"Pipfile",
]
__version__ = "0.4.4"
from .lockfiles import Lockfile
from .pipfiles import Pipfile
| data/pipenv-2023.12.1/pipenv/vendor/plette/__init__.py | 104 | 60 | 402,556 |
LOAD_CONST 0
LOAD_CONST ('Package', 'package')
IMPORT_NAME localstack.packages
IMPORT_FROM Package
STORE_NAME Package
IMPORT_FROM package
STORE_NAME package
POP_TOP
LOAD_NAME package
LOAD_CONST 'elasticsearch'
LOAD_CONST ('name',)
CALL_FUNCTION
LOAD_NAME Package
LOAD_CONST ('return',)
BUILD_CONST_KEY_MAP
LOAD_CONST <... | from localstack.packages import Package, package
@package(name="elasticsearch")
def elasticsearch_package() -> Package:
from localstack.services.opensearch.packages import elasticsearch_package
return elasticsearch_package
| data/localstack-core-3.1.0/localstack/services/es/plugins.py | 169 | 60 | 225,532 |
LOAD_CONST 0
LOAD_CONST ('cythonize',)
IMPORT_NAME Cython.Build
IMPORT_FROM cythonize
STORE_NAME cythonize
POP_TOP
LOAD_CONST <code object pdm_build_update_setup_kwargs at 0x7fab81fc4db0, file "f.py", line 4>
LOAD_CONST 'pdm_build_update_setup_kwargs'
MAKE_FUNCTION
STORE_NAME pdm_build_update_setup_kwargs
LOAD_CONST N... | from Cython.Build import cythonize
def pdm_build_update_setup_kwargs(context, kwargs):
kwargs.update(ext_modules=cythonize("src/editdistance/bycython.pyx"))
| data/editdistance-0.8.1/pdm_build.py | 151 | 60 | 61,427 |
LOAD_CONST 0
LOAD_CONST ('TestCase',)
IMPORT_NAME PyObjCTools.TestSupport
IMPORT_FROM TestCase
STORE_NAME TestCase
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME ShazamKit
STORE_NAME ShazamKit
LOAD_BUILD_CLASS
LOAD_CONST <code object TestSHMatch at 0x7faa5091d6f0, file "f.py", line 5>
LOAD_CONST 'TestSHMatch'
MAKE_... | from PyObjCTools.TestSupport import TestCase
import ShazamKit
class TestSHMatch(TestCase):
def test_classes(self):
ShazamKit.SHMatch
def test_methods(self):
pass
| data/pyobjc-framework-ShazamKit-10.1/PyObjCTest/test_shmatch.py | 276 | 60 | 139,941 |
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 SPResourceEntry at 0x7fab7002b9c0, file "f.py", line 4>
LOAD_CONST 'SPResourceEntry'
MAKE_FUNCTION
LOAD_CONST 'SPResourceEntry'
LOAD_NAME C... | from office365.runtime.client_value import ClientValue
class SPResourceEntry(ClientValue):
def __init__(self, lcid=None, value=None):
self.LCID = lcid
self.Value = value
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/translation/resource_entry.py | 217 | 60 | 189,290 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.gridmask.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.gridmask
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.gridmask."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.aug.gridmask import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/aug/gridmask.py | 80 | 60 | 401,228 |
LOAD_CONST 0
LOAD_CONST ('ABC', 'abstractmethod')
IMPORT_NAME abc
IMPORT_FROM ABC
STORE_NAME ABC
IMPORT_FROM abstractmethod
STORE_NAME abstractmethod
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object PersistenceHandler at 0x7fab425c3270, file "f.py", line 4>
LOAD_CONST 'PersistenceHandler'
MAKE_FUNCTION
LOAD_CONST 'Per... | from abc import ABC, abstractmethod
class PersistenceHandler(ABC):
@abstractmethod
def save_state(self, state):
pass
@abstractmethod
def load_state(self):
pass
| data/drain3-0.9.11/drain3/persistence_handler.py | 261 | 60 | 288,138 |
LOAD_CONST 'Unit Tests.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('api',)
IMPORT_NAME molecule
IMPORT_FROM api
STORE_NAME api
POP_TOP
LOAD_CONST <code object test_container_driver_is_detected at 0x7fab821a5ed0, file "f.py", line 6>
LOAD_CONST 'test_container_driver_is_detected'
MAKE_FUNCTION
STORE_NAME test_contai... | """Unit Tests."""
from molecule import api
def test_container_driver_is_detected():
"""Check that driver is recognized."""
assert "containers" in [str(d) for d in api.drivers()]
| data/molecule-plugins-23.5.3/test/containers/test_driver.py | 237 | 60 | 109,748 |
LOAD_CONST 0
STORE_NAME SUCCESS
LOAD_CONST 1
STORE_NAME ERROR
LOAD_CONST 2
STORE_NAME UNKNOWN_ERROR
LOAD_CONST 3
STORE_NAME VIRTUALENV_NOT_FOUND
LOAD_CONST 4
STORE_NAME PREVIOUS_BUILD_DIR_ERROR
LOAD_CONST 23
STORE_NAME NO_MATCHES_FOUND
LOAD_CONST None
RETURN_VALUE | SUCCESS = 0
ERROR = 1
UNKNOWN_ERROR = 2
VIRTUALENV_NOT_FOUND = 3
PREVIOUS_BUILD_DIR_ERROR = 4
NO_MATCHES_FOUND = 23
| data/clvm_rs-0.6.0/venv/lib/python3.7/site-packages/pip/_internal/cli/status_codes.py | 88 | 60 | 288,739 |
LOAD_CONST '\nThis is the script that is actually frozen into an executable: simply executes\npytest main().\n'
STORE_NAME __doc__
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE... | """
This is the script that is actually frozen into an executable: simply executes
pytest main().
"""
if __name__ == "__main__":
import sys
import pytest
sys.exit(pytest.main())
| data/pytest-8.0.1/testing/freeze/runtests_script.py | 106 | 60 | 427,642 |
LOAD_CONST 'Feature Interaction layers.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('Cross',)
IMPORT_NAME tensorflow_recommenders.layers.feature_interaction.dcn
IMPORT_FROM Cross
STORE_NAME Cross
POP_TOP
LOAD_CONST 0
LOAD_CONST ('DotInteraction',)
IMPORT_NAME tensorflow_recommenders.layers.feature_interaction.dot_in... | """Feature Interaction layers."""
from tensorflow_recommenders.layers.feature_interaction.dcn import Cross
from tensorflow_recommenders.layers.feature_interaction.dot_interaction import (
DotInteraction,
)
| data/tensorflow-recommenders-0.7.3/tensorflow_recommenders/layers/feature_interaction/__init__.py | 103 | 60 | 88,441 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME attr
STORE_NAME attr
LOAD_NAME attr
LOAD_ATTR s
LOAD_BUILD_CLASS
LOAD_CONST <code object PropertyBag at 0x7fab70139930, file "f.py", line 4>
LOAD_CONST 'PropertyBag'
MAKE_FUNCTION
LOAD_CONST 'PropertyBag'
LOAD_NAME object
CALL_FUNCTION
CALL_FUNCTION
STORE_NAME PropertyBag
LOAD... | import attr
@attr.s
class PropertyBag(object):
"""Key/value pairs that provide additional information about the object."""
tags = attr.ib(default=None, metadata={"schema_property_name": "tags"})
| data/sarif_om-1.0.4/sarif_om/_property_bag.py | 180 | 60 | 415,905 |
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('BaseRandomLayer',)
IMPORT_NAME tf_keras.src.engine.base_layer
IMPORT_FROM BaseRandomLayer
STORE_NAME BaseRandomLayer
POP_TOP
LOAD_CONST 0
LOAD_CONST ('BaseDenseAttention',)
IMPORT_NAME tf_keras.src.layers.attention.base_dense_attent... | """AUTOGENERATED. DO NOT EDIT."""
from tf_keras.src.engine.base_layer import BaseRandomLayer
from tf_keras.src.layers.attention.base_dense_attention import BaseDenseAttention
| data/tf_keras-2.15.0/tf_keras/api/_v2/keras/__internal__/layers/__init__.py | 115 | 60 | 354,136 |
LOAD_CONST 0
LOAD_CONST ('AzureCVToolSpec', 'CV_URL_TMPL')
IMPORT_NAME llama_hub.tools.azure_cv.base
IMPORT_FROM AzureCVToolSpec
STORE_NAME AzureCVToolSpec
IMPORT_FROM CV_URL_TMPL
STORE_NAME CV_URL_TMPL
POP_TOP
LOAD_CONST 'AzureCVToolSpec'
LOAD_CONST 'CV_URL_TMPL'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST None
RETURN_V... | from llama_hub.tools.azure_cv.base import (
AzureCVToolSpec,
CV_URL_TMPL,
)
__all__ = ["AzureCVToolSpec", "CV_URL_TMPL"]
| data/llama_hub-0.0.79.post1/llama_hub/tools/azure_cv/__init__.py | 103 | 60 | 359,504 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.