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 django
STORE_NAME django
LOAD_CONST <code object set_many at 0x7fab542ade40, file "f.py", line 4>
LOAD_CONST 'set_many'
MAKE_FUNCTION
STORE_NAME set_many
LOAD_CONST None
RETURN_VALUE
LOAD_GLOBAL django
LOAD_ATTR VERSION
LOAD_CONST (1, 10)
COMPARE_OP <
POP_JUMP_IF_FALSE
LOAD_G... | import django
def set_many(instance, field, value):
if django.VERSION < (1, 10):
setattr(instance, field, value)
else:
field = getattr(instance, field)
field.set(value)
| data/djangorestframework-filters-0.11.1/rest_framework_filters/compat.py | 150 | 68 | 389,726 |
LOAD_CONST '\ndiscord.webhook\n~~~~~~~~~~~~~~\n\nWebhook support\n\n:copyright: (c) 2015-present Rapptz\n:license: MIT, see LICENSE for more details.\n\n'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME async_
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME sync
IMPORT_STAR
LOAD_CONST None
RETURN... | """
discord.webhook
~~~~~~~~~~~~~~
Webhook support
:copyright: (c) 2015-present Rapptz
:license: MIT, see LICENSE for more details.
"""
from .async_ import *
from .sync import *
| data/discord.py-2.3.2/discord/webhook/__init__.py | 104 | 68 | 57,763 |
LOAD_CONST 1
STORE_NAME x
LOAD_CONST 1
STORE_NAME x
LOAD_CONST 1
STORE_NAME x
LOAD_CONST 1
STORE_NAME x
LOAD_CONST 1
STORE_NAME x
LOAD_CONST 1
STORE_NAME x
LOAD_CONST None
RETURN_VALUE | x = 1 # fmt: skip
x = 1 # fmt: skip # reason
x = 1 # reason # fmt: skip
x = 1 # fmt: skip reason
x = 1 # fmt: skip - reason
x = 1 # fmt: skip; noqa
| data/ruff-0.2.2/crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/reason.py | 52 | 68 | 342,252 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME manifest
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME exceptions
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME service_client
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME authorization
IMPORT_STAR
LOAD_CONST 'Bing Ads SDK Team'
STORE_NAME __aut... | from .manifest import *
from .exceptions import *
from .service_client import *
from .authorization import *
__author__ = "Bing Ads SDK Team"
__email__ = "bing_ads_sdk@microsoft.com"
__version__ = VERSION
| data/bingads-13.0.18.1/bingads/__init__.py | 118 | 68 | 183,899 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
SETUP_EXCEPT to 30
LOAD_CONST 0
LOAD_CONST ('RemovedIn20Warning',)
IMPORT_NAME sqlalchemy.exc
IMPORT_FROM RemovedIn20Warning
STORE_NAME RemovedIn20Warning
POP_TOP
POP_BLOCK
JUMP_FORWARD to 70
DUP_TO... | from __future__ import annotations
try:
from sqlalchemy.exc import RemovedIn20Warning
except ImportError:
class _RemovedIn20Warning(Warning):
pass
RemovedIn20Warning = _RemovedIn20Warning
| data/dask-2024.2.0/dask/tests/warning_aliases.py | 246 | 68 | 426,717 |
LOAD_CONST 'sphinxcontrib.bibtex'
BUILD_LIST
STORE_NAME extensions
LOAD_CONST '_build'
BUILD_LIST
STORE_NAME exclude_patterns
LOAD_CONST ('index', 'test.tex', 'Test', 'Mr. Test', 'manual')
BUILD_LIST
STORE_NAME latex_documents
LOAD_CONST 'test.bib'
BUILD_LIST
STORE_NAME bibtex_bibfiles
LOAD_CONST None
RETURN_VALUE | extensions = ["sphinxcontrib.bibtex"]
exclude_patterns = ["_build"]
latex_documents = [
("index", "test.tex", "Test", "Mr. Test", "manual"),
]
bibtex_bibfiles = ["test.bib"]
| data/sphinxcontrib-bibtex-2.6.2/test/roots/test-latex_refs/conf.py | 85 | 68 | 136,758 |
LOAD_CONST 0
LOAD_CONST ('Models',)
IMPORT_NAME modelscope.metainfo
IMPORT_FROM Models
STORE_NAME Models
POP_TOP
LOAD_CONST 0
LOAD_CONST ('MODELS',)
IMPORT_NAME modelscope.models.builder
IMPORT_FROM MODELS
STORE_NAME MODELS
POP_TOP
LOAD_CONST 0
LOAD_CONST ('LlamaForTextGeneration',)
IMPORT_NAME modelscope.models.nlp.... | from modelscope.metainfo import Models
from modelscope.models.builder import MODELS
from modelscope.models.nlp.llama import (
LlamaForTextGeneration as Llama2ForTextGeneration,
)
from modelscope.utils.constant import Tasks
| data/modelscope-1.12.0/modelscope/models/nlp/llama2/text_generation.py | 142 | 68 | 314,263 |
LOAD_CONST 'PyBluez ble example scan.py'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('DiscoveryService',)
IMPORT_NAME bluetooth.ble
IMPORT_FROM DiscoveryService
STORE_NAME DiscoveryService
POP_TOP
LOAD_NAME DiscoveryService
CALL_FUNCTION
STORE_NAME service
LOAD_NAME service
LOAD_METHOD discover
LOAD_CONST 2
CALL_MET... | """PyBluez ble example scan.py"""
from bluetooth.ble import DiscoveryService
service = DiscoveryService()
devices = service.discover(2)
for address, name in devices.items():
print("Name: {}, address: {}".format(name, address))
| data/PyBluez-0.23/examples/ble/scan.py | 143 | 68 | 184,349 |
LOAD_CONST 0
LOAD_CONST ('List', 'Tuple', 'TypeVar')
IMPORT_NAME typing
IMPORT_FROM List
STORE_NAME List
IMPORT_FROM Tuple
STORE_NAME Tuple
IMPORT_FROM TypeVar
STORE_NAME TypeVar
POP_TOP
LOAD_NAME TypeVar
LOAD_CONST 'T'
CALL_FUNCTION
STORE_NAME T
LOAD_NAME Tuple
LOAD_NAME List
LOAD_NAME T
BINARY_SUBSCR
LOAD_NAME T
BU... | from typing import List, Tuple, TypeVar
T = TypeVar("T")
def flatten(items: Tuple[List[T], T]) -> List[T]:
output = items[0]
output.extend(items[1:])
return output
| data/hypothesis_graphql-0.11.0/src/hypothesis_graphql/_strategies/containers.py | 191 | 68 | 233,759 |
LOAD_CONST '\nTest suite for distutils.\n\nTests for the command classes in the distutils.command package are\nincluded in distutils.tests as well, instead of using a separate\ndistutils.command.tests package, since command identification is done\nby import rather than matching pre-defined names.\n'
STORE_NAME __doc__
... | """
Test suite for distutils.
Tests for the command classes in the distutils.command package are
included in distutils.tests as well, instead of using a separate
distutils.command.tests package, since command identification is done
by import rather than matching pre-defined names.
"""
| data/setuptools-69.1.0/setuptools/_distutils/tests/__init__.py | 82 | 68 | 256,615 |
LOAD_CONST 1
LOAD_CONST ('AsyncioContextBase',)
IMPORT_NAME asyncio_base
IMPORT_FROM AsyncioContextBase
STORE_NAME AsyncioContextBase
POP_TOP
LOAD_CONST 1
LOAD_CONST ('Context', 'Operation')
IMPORT_NAME thread_aio
IMPORT_FROM Context
STORE_NAME Context
IMPORT_FROM Operation
STORE_NAME Operation
POP_TOP
LOAD_BUILD_CLA... | from .asyncio_base import AsyncioContextBase
from .thread_aio import Context, Operation
class AsyncioContext(AsyncioContextBase):
MAX_REQUESTS_DEFAULT = 512
OPERATION_CLASS = Operation
CONTEXT_CLASS = Context
| data/caio-0.9.13/caio/thread_aio_asyncio.py | 205 | 68 | 94,347 |
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 ('BatchApi',)
IMPORT_NAME hubspot.crm.properties.api.batch_api
IMPORT_FROM BatchApi
STORE_NAME BatchApi
POP_TOP
LOAD_CONST 0
LOAD_CONST ('CoreApi',)
IMPORT_NAME hu... | from __future__ import absolute_import
from hubspot.crm.properties.api.batch_api import BatchApi
from hubspot.crm.properties.api.core_api import CoreApi
from hubspot.crm.properties.api.groups_api import GroupsApi
| data/hubspot-api-client-8.2.1/hubspot/crm/properties/api/__init__.py | 150 | 68 | 320,202 |
LOAD_CONST 0
LOAD_CONST ('OmegaConf',)
IMPORT_NAME omegaconf
IMPORT_FROM OmegaConf
STORE_NAME OmegaConf
POP_TOP
LOAD_CONST <code object set_config_readonly at 0x7fab8228c390, file "f.py", line 4>
LOAD_CONST 'set_config_readonly'
MAKE_FUNCTION
STORE_NAME set_config_readonly
LOAD_CONST <code object set_config_writeable... | from omegaconf import OmegaConf
def set_config_readonly(conf):
OmegaConf.set_readonly(conf, True)
def set_config_writeable(conf):
OmegaConf.set_readonly(conf, False)
| data/effdet-0.4.1/effdet/config/config_utils.py | 205 | 68 | 233,126 |
LOAD_CONST 'Placeholder docstring'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('absolute_import',)
IMPORT_NAME __future__
IMPORT_FROM absolute_import
STORE_NAME absolute_import
POP_TOP
LOAD_CONST 1
LOAD_CONST ('file_input', 'LocalSagemakerClient', 'LocalSagemakerRuntimeClient', 'LocalSession')
IMPORT_NAME local_sessi... | """Placeholder docstring"""
from __future__ import absolute_import
from .local_session import ( # noqa: F401
file_input,
LocalSagemakerClient,
LocalSagemakerRuntimeClient,
LocalSession,
)
| data/sagemaker-2.208.0/src/sagemaker/local/__init__.py | 141 | 68 | 318,558 |
LOAD_BUILD_CLASS
LOAD_CONST <code object ConverterError at 0x7faa749db030, file "f.py", line 1>
LOAD_CONST 'ConverterError'
MAKE_FUNCTION
LOAD_CONST 'ConverterError'
LOAD_NAME Exception
CALL_FUNCTION
STORE_NAME ConverterError
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CONST 'ConverterEr... | class ConverterError(Exception):
"""
An exception used when there is an error converting a problem.
"""
def __init__(self, *args, **kargs):
Exception.__init__(self, *args, **kargs) # pragma:nocover
| data/Pyomo-6.7.0/pyomo/opt/base/error.py | 198 | 68 | 23,283 |
LOAD_CONST 0
LOAD_CONST ('MongoDBAtlasVectorSearch', 'MongoDBDocumentType')
IMPORT_NAME langchain_community.vectorstores.mongodb_atlas
IMPORT_FROM MongoDBAtlasVectorSearch
STORE_NAME MongoDBAtlasVectorSearch
IMPORT_FROM MongoDBDocumentType
STORE_NAME MongoDBDocumentType
POP_TOP
LOAD_CONST 'MongoDBDocumentType'
LOAD_C... | from langchain_community.vectorstores.mongodb_atlas import (
MongoDBAtlasVectorSearch,
MongoDBDocumentType,
)
__all__ = [
"MongoDBDocumentType",
"MongoDBAtlasVectorSearch",
]
| data/langchain-0.1.8/langchain/vectorstores/mongodb_atlas.py | 106 | 68 | 368,665 |
LOAD_CONST 'Copyright (C) 2020 Nidhal Baccouri'
STORE_NAME __copyright__
LOAD_CONST 0
LOAD_CONST ('CLI',)
IMPORT_NAME deep_translator.cli
IMPORT_FROM CLI
STORE_NAME CLI
POP_TOP
LOAD_CONST <code object main at 0x7fab823caf60, file "f.py", line 7>
LOAD_CONST 'main'
MAKE_FUNCTION
STORE_NAME main
LOAD_NAME __name__
LOAD... | __copyright__ = "Copyright (C) 2020 Nidhal Baccouri"
from deep_translator.cli import CLI
def main():
CLI().run()
if __name__ == "__main__":
main()
| data/deep_translator-1.11.4/deep_translator/__main__.py | 148 | 68 | 57,394 |
LOAD_CONST 'READLINE\n'
STORE_NAME READLINE
LOAD_CONST 'KEYBOARDINTERRUPT\n'
STORE_NAME KEYBOARDINTERRUPT
LOAD_CONST 'DONE\n'
STORE_NAME DONE
LOAD_CONST '127.0.0.1'
STORE_NAME LOCALHOST
LOAD_CONST 3546
STORE_NAME HEAPYPORT
LOAD_CONST None
RETURN_VALUE | READLINE = "READLINE\n"
KEYBOARDINTERRUPT = "KEYBOARDINTERRUPT\n"
DONE = "DONE\n"
LOCALHOST = "127.0.0.1"
HEAPYPORT = 3546
| data/guppy3-3.1.4.post1/guppy/heapy/RemoteConstants.py | 87 | 68 | 240,992 |
LOAD_CONST 0
LOAD_CONST ('nla',)
IMPORT_NAME pyroute2.netlink
IMPORT_FROM nla
STORE_NAME nla
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object vrf at 0x7fab8231be40, file "f.py", line 4>
LOAD_CONST 'vrf'
MAKE_FUNCTION
LOAD_CONST 'vrf'
LOAD_NAME nla
CALL_FUNCTION
STORE_NAME vrf
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __... | from pyroute2.netlink import nla
class vrf(nla):
prefix = "IFLA_"
nla_map = (("IFLA_VRF_UNSPEC", "none"), ("IFLA_VRF_TABLE", "uint32"))
| data/pyroute2-0.7.12/pyroute2/netlink/rtnl/ifinfmsg/plugins/vrf.py | 172 | 68 | 137,237 |
LOAD_CONST 0
LOAD_CONST ('BaseDistro',)
IMPORT_NAME opentelemetry.instrumentation.distro
IMPORT_FROM BaseDistro
STORE_NAME BaseDistro
POP_TOP
LOAD_CONST 1
LOAD_CONST ('configure_opentelemetry',)
IMPORT_NAME uptrace
IMPORT_FROM configure_opentelemetry
STORE_NAME configure_opentelemetry
POP_TOP
LOAD_BUILD_CLASS
LOAD_CO... | from opentelemetry.instrumentation.distro import BaseDistro
from .uptrace import configure_opentelemetry
class UptraceDistro(BaseDistro):
def _configure(self, **kwargs):
configure_opentelemetry()
| data/uptrace-1.22.0/src/uptrace/distro.py | 256 | 68 | 249,919 |
LOAD_CONST 0
LOAD_CONST ('nla',)
IMPORT_NAME pyroute2.netlink
IMPORT_FROM nla
STORE_NAME nla
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object team at 0x7fab8231be40, file "f.py", line 4>
LOAD_CONST 'team'
MAKE_FUNCTION
LOAD_CONST 'team'
LOAD_NAME nla
CALL_FUNCTION
STORE_NAME team
LOAD_CONST None
RETURN_VALUE
LOAD_NAM... | from pyroute2.netlink import nla
class team(nla):
prefix = "IFLA_"
nla_map = (("IFLA_TEAM_UNSPEC", "none"), ("IFLA_TEAM_CONFIG", "asciiz"))
| data/pyroute2-0.7.12/pyroute2/netlink/rtnl/ifinfmsg/plugins/team.py | 167 | 68 | 137,239 |
LOAD_CONST 0
LOAD_CONST ('Any',)
IMPORT_NAME typing
IMPORT_FROM Any
STORE_NAME Any
POP_TOP
LOAD_NAME Any
LOAD_NAME Any
LOAD_NAME Any
LOAD_CONST ('value', 'initial_value', 'return')
BUILD_CONST_KEY_MAP
LOAD_CONST <code object resolve_if_needed at 0x7fab80234390, file "f.py", line 4>
LOAD_CONST 'resolve_if_needed'
MAKE_... | from typing import Any
def resolve_if_needed(value: Any, initial_value: Any) -> Any:
from magic_filter import MagicFilter
if not isinstance(value, MagicFilter):
return value
return value.resolve(initial_value)
| data/magic_filter-1.0.12/magic_filter/helper.py | 174 | 68 | 156,481 |
LOAD_CONST 2
LOAD_CONST ('ProxyMetaclass',)
IMPORT_NAME Compiler.proxy_metaclass
IMPORT_FROM ProxyMetaclass
STORE_NAME ProxyMetaclass
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ProxyBase at 0x7fab40da16f0, file "f.py", line 4>
LOAD_CONST 'ProxyBase'
MAKE_FUNCTION
LOAD_CONST 'ProxyBase'
LOAD_NAME object
CALL_FUNC... | from ..Compiler.proxy_metaclass import ProxyMetaclass
class ProxyBase(object):
"""A base class for proxies using Python v2 syntax for setting the
meta-class.
"""
__metaclass__ = ProxyMetaclass
| data/PyQt5-5.15.10/pyuic/uic/port_v2/proxy_base.py | 179 | 68 | 391,795 |
LOAD_CONST '!\n\n@brief Test runner for unit and integration tests in the project.\n\n@authors Andrei Novikov (pyclustering@yandex.ru)\n@date 2014-2020\n@copyright BSD-3-Clause\n\n'
STORE_NAME __doc__
LOAD_CONST None
RETURN_VALUE | """!
@brief Test runner for unit and integration tests in the project.
@authors Andrei Novikov (pyclustering@yandex.ru)
@date 2014-2020
@copyright BSD-3-Clause
"""
| data/pyclustering-0.10.1.2/pyclustering/tests/__init__.py | 83 | 68 | 23,123 |
LOAD_CONST 'Provide the DraftList class.'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('BaseList',)
IMPORT_NAME base
IMPORT_FROM BaseList
STORE_NAME BaseList
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object DraftList at 0x7fab82343b70, file "f.py", line 6>
LOAD_CONST 'DraftList'
MAKE_FUNCTION
LOAD_CONST 'DraftList'
LO... | """Provide the DraftList class."""
from .base import BaseList
class DraftList(BaseList):
"""A list of :class:`.Draft` objects. Works just like a regular list."""
CHILD_ATTRIBUTE = "drafts"
| data/praw-7.7.1/praw/models/list/draft.py | 184 | 68 | 205,113 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os
STORE_NAME os
LOAD_CONST <code object create_environment_dict at 0x7fa90e62b270, file "f.py", line 4>
LOAD_CONST 'create_environment_dict'
MAKE_FUNCTION
STORE_NAME create_environment_dict
LOAD_CONST None
RETURN_VALUE
LOAD_GLOBAL os
LOAD_ATTR environ
LOAD_METHOD copy
CALL_ME... | import os
def create_environment_dict(overrides):
"""
Create and return a copy of os.environ with the specified overrides
"""
result = os.environ.copy()
result.update(overrides or {})
return result
| data/docker-7.0.0/docker/credentials/utils.py | 114 | 68 | 132,542 |
LOAD_CONST 0
LOAD_CONST ('ContainerConfig',)
IMPORT_NAME docker.types.containers
IMPORT_FROM ContainerConfig
STORE_NAME ContainerConfig
POP_TOP
LOAD_CONST <code object test_uid_0_is_not_elided at 0x7fab8231b300, file "f.py", line 4>
LOAD_CONST 'test_uid_0_is_not_elided'
MAKE_FUNCTION
STORE_NAME test_uid_0_is_not_elide... | from docker.types.containers import ContainerConfig
def test_uid_0_is_not_elided():
x = ContainerConfig(image="i", version="v", command="true", user=0)
assert x["User"] == "0"
| data/docker-7.0.0/tests/unit/types_containers_test.py | 189 | 68 | 132,512 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object AccessPackageCatalogType at 0x7fab70027660, file "f.py", line 4>
LOAD_CONST 'AccessPackageCatalogType'
MAKE_FUNCTION
LOAD_CONST 'AccessPackageCatalogType'
LOAD_NAME str
LOAD_NAME Enum
CA... | from enum import Enum
class AccessPackageCatalogType(str, Enum):
UserManaged = ("userManaged",)
ServiceDefault = ("serviceDefault",)
ServiceManaged = ("serviceManaged",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/access_package_catalog_type.py | 188 | 68 | 259,664 |
LOAD_CONST 0
LOAD_CONST ('EWSError',)
IMPORT_NAME exchangelib.errors
IMPORT_FROM EWSError
STORE_NAME EWSError
POP_TOP
LOAD_CONST 1
LOAD_CONST ('TimedTestCase',)
IMPORT_NAME common
IMPORT_FROM TimedTestCase
STORE_NAME TimedTestCase
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ErrorTest at 0x7fab6413eed0, file "f.p... | from exchangelib.errors import EWSError
from .common import TimedTestCase
class ErrorTest(TimedTestCase):
def test_hash(self):
e = EWSError("foo")
self.assertEqual(hash(e), hash("foo"))
| data/exchangelib-5.1.0/tests/test_errors.py | 259 | 68 | 251,183 |
LOAD_CONST 0
LOAD_CONST ('models',)
IMPORT_NAME django.db
IMPORT_FROM models
STORE_NAME models
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Item at 0x7faa7c16a8a0, file "f.py", line 4>
LOAD_CONST 'Item'
MAKE_FUNCTION
LOAD_CONST 'Item'
LOAD_NAME models
LOAD_ATTR Model
CALL_FUNCTION
STORE_NAME Item
LOAD_BUILD_CLASS... | from django.db import models
class Item(models.Model):
name: str = models.CharField(max_length=100)
class SecondItem(models.Model):
name: str = models.CharField(max_length=100)
| data/pytest-django-4.8.0/pytest_django_test/app/models.py | 293 | 68 | 203,114 |
LOAD_CONST 0
LOAD_CONST ('unicode_literals',)
IMPORT_NAME __future__
IMPORT_FROM unicode_literals
STORE_NAME unicode_literals
POP_TOP
LOAD_CONST 0
LOAD_CONST ('version',)
IMPORT_NAME django.utils
IMPORT_FROM version
STORE_NAME version
POP_TOP
LOAD_CONST 'VERSION'
LOAD_CONST '__version__'
BUILD_LIST
STORE_NAME __all__... | from __future__ import unicode_literals
from django.utils import version
__all__ = ["VERSION", "__version__"]
VERSION = (1, 3, 0, "final", 0)
__version__ = version.get_version(VERSION)
| data/django-colorful-1.3/colorful/__init__.py | 129 | 68 | 234,944 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.fpn_configs.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.fpn_configs
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.fpn_configs."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.fpn_configs import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/keras/fpn_configs.py | 88 | 68 | 401,255 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os
STORE_NAME os
LOAD_NAME os
LOAD_ATTR path
LOAD_METHOD dirname
LOAD_NAME __file__
CALL_METHOD
STORE_NAME PACKAGE_PATH
LOAD_CONST 'dbt'
STORE_NAME PROJECT_NAME
LOAD_NAME os
LOAD_ATTR path
LOAD_METHOD normpath
LOAD_NAME os
LOAD_ATTR path
LOAD_METHOD join
LOAD_NAME PACKAGE_PAT... | import os
PACKAGE_PATH = os.path.dirname(__file__)
PROJECT_NAME = "dbt"
DOCS_INDEX_FILE_PATH = os.path.normpath(os.path.join(PACKAGE_PATH, "..", "index.html"))
| data/dbt-core-1.7.8/dbt/include/global_project/__init__.py | 109 | 68 | 172,388 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.efficientdet_keras.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.efficientdet_keras
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.efficientdet_keras."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.efficientdet_keras import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/keras/efficientdet_keras.py | 88 | 68 | 401,243 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.eval_tflite.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.eval_tflite
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.eval_tflite."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.eval_tflite import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/keras/eval_tflite.py | 88 | 68 | 401,258 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.box_list.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.box_list
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.box_list."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.box_list import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/object_detection/box_list.py | 88 | 68 | 401,239 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.shape_utils.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.shape_utils
IMPORT_STAR
LOAD_CONST None
RETURN... | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.shape_utils."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.shape_utils import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/object_detection/shape_utils.py | 88 | 68 | 401,233 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.image_searcher_dataloader.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.data_util.image_searcher_dataloader
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.image_searcher_dataloader."""
from tensorflow_examples.lite.model_maker.core.data_util.image_searcher_dataloader import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/data_util/image_searcher_dataloader.py | 88 | 68 | 401,279 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.recommendation_dataloader.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.data_util.recommendation_dataloader
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.recommendation_dataloader."""
from tensorflow_examples.lite.model_maker.core.data_util.recommendation_dataloader import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/data_util/recommendation_dataloader.py | 88 | 68 | 401,284 |
LOAD_NAME str
LOAD_CONST ('return',)
BUILD_CONST_KEY_MAP
LOAD_CONST <code object doc_to_text at 0x7f8ab6781300, file "f.py", line 1>
LOAD_CONST 'doc_to_text'
MAKE_FUNCTION
STORE_NAME doc_to_text
LOAD_CONST None
RETURN_VALUE
LOAD_CONST '\n'
LOAD_METHOD join
LOAD_FAST doc
LOAD_CONST 'CONTEXTS'
BINARY_SUBSCR
CALL_METHOD
... | def doc_to_text(doc) -> str:
ctxs = "\n".join(doc["CONTEXTS"])
return "Abstract: {}\nQuestion: {}\nAnswer:".format(
ctxs,
doc["QUESTION"],
)
| data/lm_eval-0.4.1/lm_eval/tasks/pubmedqa/preprocess_pubmedqa.py | 139 | 68 | 427,432 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.text_searcher_dataloader.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.data_util.text_searcher_dataloader
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.text_searcher_dataloader."""
from tensorflow_examples.lite.model_maker.core.data_util.text_searcher_dataloader import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/data_util/text_searcher_dataloader.py | 88 | 68 | 401,291 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.object_detector_dataloader.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.data_util.object_detector_dataloader
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.data_util.object_detector_dataloader."""
from tensorflow_examples.lite.model_maker.core.data_util.object_detector_dataloader import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/data_util/object_detector_dataloader.py | 88 | 68 | 401,292 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.dataset.inspect_tfrecords.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.dataset.inspect_tfrecords
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.dataset.inspect_tfrecords."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.dataset.inspect_tfrecords import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/dataset/inspect_tfrecords.py | 88 | 68 | 401,224 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.metadata_writers.bert.text_classifier.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.metadata_writers.bert.text_classifier
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.task.metadata_writers.bert.text_classifier."""
from tensorflow_examples.lite.model_maker.core.task.metadata_writers.bert.text_classifier import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/task/metadata_writers/bert/text_classifier/__init__.py | 88 | 68 | 401,320 |
SETUP_EXCEPT to 18
LOAD_CONST 0
LOAD_CONST ('unittest',)
IMPORT_NAME twisted.trial
IMPORT_FROM unittest
STORE_NAME unittest
POP_TOP
POP_BLOCK
JUMP_FORWARD to 58
DUP_TOP
LOAD_NAME ImportError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
POP_TOP
POP_TOP
LOAD_CONST 0
LOAD_CONST ('SkipTest',)
IMPORT_NAME nose
IM... | try:
from twisted.trial import unittest
except ImportError:
from nose import SkipTest
raise SkipTest("twisted not available; skipping")
class TestTwisted(unittest.TestCase):
def test(self):
pass
| data/nose-1.3.7/unit_tests/test_twisted_testcase.py | 280 | 68 | 401,664 |
LOAD_CONST '\nModule for running arbitrary tests\n'
STORE_NAME __doc__
LOAD_CONST <code object jinja_error at 0x7fab41dec150, file "f.py", line 6>
LOAD_CONST 'jinja_error'
MAKE_FUNCTION
STORE_NAME jinja_error
LOAD_CONST None
RETURN_VALUE
LOAD_GLOBAL Exception
LOAD_CONST 'hehehe'
CALL_FUNCTION
RAISE_VARARGS
LOAD_CONST... | """
Module for running arbitrary tests
"""
def jinja_error():
"""
CLI Example:
.. code-block:: bash
salt '*' salttest.jinja_error
"""
raise Exception("hehehe")
| data/salt-3006.6/tests/integration/files/file/base/_modules/salttest.py | 95 | 68 | 95,405 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object TableType at 0x7f8af090c8a0, file "f.py", line 4>
LOAD_CONST 'TableType'
MAKE_FUNCTION
LOAD_CONST 'TableType'
LOAD_NAME Enum
CALL_FUNCTION
STORE_NAME TableType
LOAD_CONST None
RETURN_VAL... | from enum import Enum
class TableType(Enum):
"""
TableType
Table types enumeration
"""
NONE = 0
Base = 1
Sort = 2
PreSortTemporary = 3
Temporary = 4
| data/dsinternals-1.2.4/dsinternals/microsoft/database/isam/TableType.py | 184 | 68 | 10,392 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.losses.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.losses
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.losses."""
from tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.losses import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/recommendation/ml/model/losses.py | 88 | 68 | 401,204 |
LOAD_CONST 0
LOAD_CONST ('SkipTest',)
IMPORT_NAME nose
IMPORT_FROM SkipTest
STORE_NAME SkipTest
POP_TOP
LOAD_CONST <code object setup at 0x7f8af15c2930, file "f.py", line 4>
LOAD_CONST 'setup'
MAKE_FUNCTION
STORE_NAME setup
LOAD_CONST <code object test_a at 0x7f8af15c2d20, file "f.py", line 8>
LOAD_CONST 'test_a'
MAK... | from nose import SkipTest
def setup():
raise SkipTest("no thanks")
def test_a():
raise AssertionError("test_a should not run")
def test_b():
raise AssertionError("test_b should not run")
| data/nose-1.3.7/functional_tests/support/ctx/mod_setup_skip.py | 244 | 68 | 401,743 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.metrics.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.metrics
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.metrics."""
from tensorflow_examples.lite.model_maker.third_party.recommendation.ml.model.metrics import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/recommendation/ml/model/metrics.py | 88 | 68 | 401,199 |
LOAD_CONST 0
LOAD_CONST ('called',)
IMPORT_NAME state
IMPORT_FROM called
STORE_NAME called
POP_TOP
LOAD_CONST <code object setup at 0x7f8b200a7ed0, file "f.py", line 4>
LOAD_CONST 'setup'
MAKE_FUNCTION
STORE_NAME setup
LOAD_CONST <code object test_mod at 0x7f8af1683a50, file "f.py", line 8>
LOAD_CONST 'test_mod'
MAKE... | from state import called
def setup():
called.append("test_mod.setup")
def test_mod():
called.append("test_mod.test_mod")
def teardown():
called.append("test_mod.teardown")
| data/nose-1.3.7/functional_tests/support/ltfn/test_mod.py | 248 | 68 | 401,765 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pyomo.dataportal.parse_datacmds
STORE_NAME pyomo
LOAD_CONST 0
LOAD_CONST ('TableData',)
IMPORT_NAME pyomo.dataportal.TableData
IMPORT_FROM TableData
STORE_NAME TableData
POP_TOP
LOAD_CONST 0
LOAD_CONST ('DataPortal',)
IMPORT_NAME pyomo.dataportal.DataPortal
IMPORT_FROM DataPor... | import pyomo.dataportal.parse_datacmds
from pyomo.dataportal.TableData import TableData
from pyomo.dataportal.DataPortal import DataPortal
from pyomo.dataportal.factory import DataManagerFactory, UnknownDataManager
| data/Pyomo-6.7.0/pyomo/dataportal/__init__.py | 155 | 68 | 24,066 |
LOAD_CONST 0
LOAD_CONST ('ModelSignal',)
IMPORT_NAME django.db.models.signals
IMPORT_FROM ModelSignal
STORE_NAME ModelSignal
POP_TOP
LOAD_NAME ModelSignal
LOAD_CONST True
LOAD_CONST ('use_caching',)
CALL_FUNCTION
STORE_NAME pre_softdelete
LOAD_NAME ModelSignal
LOAD_CONST True
LOAD_CONST ('use_caching',)
CALL_FUNCTION... | from django.db.models.signals import ModelSignal
pre_softdelete = ModelSignal(use_caching=True)
post_softdelete = ModelSignal(use_caching=True)
post_undelete = ModelSignal(use_caching=True)
| data/django-safedelete-1.3.3/safedelete/signals.py | 118 | 68 | 76,456 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_NAME pytest
LOAD_ATTR mark
LOAD_METHOD parametrize
LOAD_CONST 'a'
LOAD_CONST 'qwe/\\abc'
BUILD_LIST
CALL_METHOD
LOAD_CONST <code object test_fixture at 0x7f8ab7985c90, file "f.py", line 4>
LOAD_CONST 'test_fixture'
MAKE_FUNCTION
CALL_FUNCTION
STORE... | import pytest
@pytest.mark.parametrize("a", [r"qwe/\abc"])
def test_fixture(tmp_path, a):
assert tmp_path.is_dir()
assert list(tmp_path.iterdir()) == []
| data/pytest-8.0.1/testing/example_scripts/tmpdir/tmp_path_fixture.py | 162 | 68 | 427,702 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST ('TomlProvider',)
IMPORT_NAME commitizen.providers.base_provider
IMPORT_FROM TomlProvider
STORE_NAME TomlProvider
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Pep621Provid... | from __future__ import annotations
from commitizen.providers.base_provider import TomlProvider
class Pep621Provider(TomlProvider):
"""
PEP-621 version management
"""
filename = "pyproject.toml"
| data/commitizen-3.15.0/commitizen/providers/pep621_provider.py | 206 | 68 | 251,459 |
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 0
LOAD_CONST ('JsonProvider',)
IMPORT_NAME commitizen.providers.base_provider
IMPORT_FROM JsonProvider
STORE_NAME JsonProvider
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ComposerProv... | from __future__ import annotations
from commitizen.providers.base_provider import JsonProvider
class ComposerProvider(JsonProvider):
"""
Composer version management
"""
filename = "composer.json"
indent = 4
| data/commitizen-3.15.0/commitizen/providers/composer_provider.py | 199 | 68 | 251,457 |
LOAD_CONST <code object import_self at 0x7fab823b5e40, file "f.py", line 1>
LOAD_CONST 'import_self'
MAKE_FUNCTION
STORE_NAME import_self
LOAD_CONST <code object get_plugin_source at 0x7fab823b56f0, file "f.py", line 7>
LOAD_CONST 'get_plugin_source'
MAKE_FUNCTION
STORE_NAME get_plugin_source
LOAD_CONST <code object ... | def import_self():
from dummy.plugins import hello
return hello
def get_plugin_source():
from pluginbase import get_plugin_source
return get_plugin_source()
def demo_func():
return 42
| data/pluginbase-1.0.1/tests/plugins/hello.py | 248 | 68 | 240,728 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME setuptools
STORE_NAME setuptools
LOAD_NAME setuptools
LOAD_ATTR setup
LOAD_CONST 'timedelta'
LOAD_CONST '2020.12.3'
LOAD_NAME open
LOAD_CONST 'requirements.txt'
CALL_FUNCTION
LOAD_METHOD read
CALL_METHOD
LOAD_METHOD splitlines
CALL_METHOD
LOAD_NAME setuptools
LOAD_METHOD fi... | import setuptools
setuptools.setup(
name="timedelta",
version="2020.12.3",
install_requires=open("requirements.txt").read().splitlines(),
packages=setuptools.find_packages(),
)
| data/timedelta-2020.12.3/setup.py | 108 | 68 | 234,950 |
LOAD_CONST 'ForwardRef'
LOAD_NAME str
LOAD_CONST 'ForwardRef'
LOAD_CONST ('foo', 'bar', 'return')
BUILD_CONST_KEY_MAP
LOAD_CONST <code object forwardref_method at 0x7fab81fc4780, file "f.py", line 1>
LOAD_CONST 'forwardref_method'
MAKE_FUNCTION
STORE_NAME forwardref_method
LOAD_BUILD_CLASS
LOAD_CONST <code object Forw... | def forwardref_method(foo: "ForwardRef", bar: str) -> "ForwardRef":
return ForwardRef(foo.x + bar)
class ForwardRef:
def __init__(self, x="default"):
self.x = x
| data/makefun-1.15.2/tests/_issue_85_module.py | 267 | 68 | 69,886 |
LOAD_CONST 0
LOAD_CONST ('bootstrap',)
IMPORT_NAME ddtrace.profiling
IMPORT_FROM bootstrap
STORE_NAME bootstrap
POP_TOP
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_NAME hasattr
LOAD_NAME bootstrap
LOAD_CONST 'profiler'
CALL_FUNCTION
POP_JUMP_IF_FALSE
LOAD_NAME print
LOAD_NAME str
LO... | from ddtrace.profiling import bootstrap
if __name__ == "__main__":
if hasattr(bootstrap, "profiler"):
print(str(bootstrap.profiler.status))
else:
print("NO PROFILER")
| data/ddtrace-2.6.3/tests/commands/ddtrace_run_profiling.py | 119 | 68 | 270,109 |
LOAD_CONST 0
LOAD_CONST ('dataclass',)
IMPORT_NAME dataclasses
IMPORT_FROM dataclass
STORE_NAME dataclass
POP_TOP
LOAD_CONST 0
LOAD_CONST ('List',)
IMPORT_NAME typing
IMPORT_FROM List
STORE_NAME List
POP_TOP
LOAD_CONST 0
LOAD_CONST ('ParsedField',)
IMPORT_NAME onepasswordconnectsdk.models
IMPORT_FROM ParsedField
STOR... | from dataclasses import dataclass
from typing import List
from onepasswordconnectsdk.models import ParsedField
@dataclass
class ParsedItem:
vault_uuid: str
item_title: str
fields: List[ParsedField]
| data/onepasswordconnectsdk-1.4.1/src/onepasswordconnectsdk/models/parsed_item.py | 259 | 68 | 232,020 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME default
IMPORT_STAR
LOAD_CONST 'sorl.thumbnail.engines.convert_engine.Engine'
STORE_NAME THUMBNAIL_ENGINE
LOAD_CONST 'gm convert'
STORE_NAME THUMBNAIL_CONVERT
LOAD_CONST 'gm identify'
STORE_NAME THUMBNAIL_IDENTIFY
LOAD_CONST None
RETURN_VALUE | from .default import *
THUMBNAIL_ENGINE = "sorl.thumbnail.engines.convert_engine.Engine"
THUMBNAIL_CONVERT = "gm convert"
THUMBNAIL_IDENTIFY = "gm identify"
| data/sorl-thumbnail-12.10.0/tests/settings/graphicsmagick.py | 88 | 68 | 341,661 |
LOAD_CONST '%s(%s'
LOAD_NAME node
LOAD_ATTR __class__
LOAD_ATTR __name__
LOAD_CONST ', '
LOAD_METHOD join
LOAD_NAME annotate_fields
POP_JUMP_IF_FALSE
LOAD_CONST <code object <genexpr> at 0x7fab42ab7300, file "f.py", line 4>
LOAD_CONST '<genexpr>'
MAKE_FUNCTION
LOAD_NAME fields
GET_ITER
CALL_FUNCTION
JUMP_FORWARD to ... | rv = "%s(%s" % (
node.__class__.__name__,
", ".join(
("%s=%s" % field for field in fields)
if annotate_fields
else (b for a, b in fields)
),
)
| data/uncompyle6-3.9.0/test/simple_source/comprehension/08_for_if_for.py | 235 | 68 | 441,923 |
LOAD_CONST 'Tavily Search API toolkit.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('TavilyAnswer', 'TavilySearchResults')
IMPORT_NAME langchain_community.tools.tavily_search.tool
IMPORT_FROM TavilyAnswer
STORE_NAME TavilyAnswer
IMPORT_FROM TavilySearchResults
STORE_NAME TavilySearchResults
POP_TOP
LOAD_CONST 'Tavily... | """Tavily Search API toolkit."""
from langchain_community.tools.tavily_search.tool import (
TavilyAnswer,
TavilySearchResults,
)
__all__ = ["TavilySearchResults", "TavilyAnswer"]
| data/langchain-0.1.8/langchain/tools/tavily_search/__init__.py | 114 | 68 | 369,299 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object AlertStatus at 0x7fab70027660, file "f.py", line 4>
LOAD_CONST 'AlertStatus'
MAKE_FUNCTION
LOAD_CONST 'AlertStatus'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STORE_NAME AlertStatus
LOAD... | from enum import Enum
class AlertStatus(str, Enum):
Unknown = ("unknown",)
New = ("new",)
InProgress = ("inProgress",)
Resolved = ("resolved",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/security/alert_status.py | 182 | 68 | 262,278 |
LOAD_CONST 0
LOAD_CONST ('GiModuleInfo',)
IMPORT_NAME PyInstaller.utils.hooks.gi
IMPORT_FROM GiModuleInfo
STORE_NAME GiModuleInfo
POP_TOP
LOAD_NAME GiModuleInfo
LOAD_CONST 'Champlain'
LOAD_CONST '0.12'
CALL_FUNCTION
STORE_NAME module_info
LOAD_NAME module_info
LOAD_ATTR available
POP_JUMP_IF_FALSE
LOAD_NAME module_i... | from PyInstaller.utils.hooks.gi import GiModuleInfo
module_info = GiModuleInfo("Champlain", "0.12")
if module_info.available:
binaries, datas, hiddenimports = module_info.collect_typelib_data()
| data/pyinstaller-6.4.0/PyInstaller/hooks/hook-gi.repository.Champlain.py | 112 | 68 | 185,309 |
LOAD_CONST 0
LOAD_CONST ('GiModuleInfo',)
IMPORT_NAME PyInstaller.utils.hooks.gi
IMPORT_FROM GiModuleInfo
STORE_NAME GiModuleInfo
POP_TOP
LOAD_NAME GiModuleInfo
LOAD_CONST 'GIRepository'
LOAD_CONST '2.0'
CALL_FUNCTION
STORE_NAME module_info
LOAD_NAME module_info
LOAD_ATTR available
POP_JUMP_IF_FALSE
LOAD_NAME module... | from PyInstaller.utils.hooks.gi import GiModuleInfo
module_info = GiModuleInfo("GIRepository", "2.0")
if module_info.available:
binaries, datas, hiddenimports = module_info.collect_typelib_data()
| data/pyinstaller-6.4.0/PyInstaller/hooks/hook-gi.repository.GIRepository.py | 112 | 68 | 185,330 |
LOAD_CONST 0
LOAD_CONST ('GiModuleInfo',)
IMPORT_NAME PyInstaller.utils.hooks.gi
IMPORT_FROM GiModuleInfo
STORE_NAME GiModuleInfo
POP_TOP
LOAD_NAME GiModuleInfo
LOAD_CONST 'freetype2'
LOAD_CONST '2.0'
CALL_FUNCTION
STORE_NAME module_info
LOAD_NAME module_info
LOAD_ATTR available
POP_JUMP_IF_FALSE
LOAD_NAME module_in... | from PyInstaller.utils.hooks.gi import GiModuleInfo
module_info = GiModuleInfo("freetype2", "2.0")
if module_info.available:
binaries, datas, hiddenimports = module_info.collect_typelib_data()
| data/pyinstaller-6.4.0/PyInstaller/hooks/hook-gi.repository.freetype2.py | 112 | 68 | 185,341 |
LOAD_CONST 0
LOAD_CONST ('GiModuleInfo',)
IMPORT_NAME PyInstaller.utils.hooks.gi
IMPORT_FROM GiModuleInfo
STORE_NAME GiModuleInfo
POP_TOP
LOAD_NAME GiModuleInfo
LOAD_CONST 'Graphene'
LOAD_CONST '1.0'
CALL_FUNCTION
STORE_NAME module_info
LOAD_NAME module_info
LOAD_ATTR available
POP_JUMP_IF_FALSE
LOAD_NAME module_inf... | from PyInstaller.utils.hooks.gi import GiModuleInfo
module_info = GiModuleInfo("Graphene", "1.0")
if module_info.available:
binaries, datas, hiddenimports = module_info.collect_typelib_data()
| data/pyinstaller-6.4.0/PyInstaller/hooks/hook-gi.repository.Graphene.py | 112 | 68 | 185,351 |
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('deserialize_keras_object',)
IMPORT_NAME tf_keras.src.saving.legacy.serialization
IMPORT_FROM deserialize_keras_object
STORE_NAME deserialize_keras_object
POP_TOP
LOAD_CONST 0
LOAD_CONST ('serialize_keras_object',)
IMPORT_NAME tf_ker... | """AUTOGENERATED. DO NOT EDIT."""
from tf_keras.src.saving.legacy.serialization import deserialize_keras_object
from tf_keras.src.saving.legacy.serialization import serialize_keras_object
| data/tf_keras-2.15.0/tf_keras/api/_v2/keras/utils/legacy/__init__.py | 137 | 68 | 354,094 |
LOAD_CONST 0
LOAD_CONST ('sqlLexer',)
IMPORT_NAME _qpd_antlr.sqlLexer
IMPORT_FROM sqlLexer
STORE_NAME QPDLexer
POP_TOP
LOAD_CONST 0
LOAD_CONST ('sqlParser',)
IMPORT_NAME _qpd_antlr.sqlParser
IMPORT_FROM sqlParser
STORE_NAME QPDParser
POP_TOP
LOAD_CONST 0
LOAD_CONST ('sqlVisitor',)
IMPORT_NAME _qpd_antlr.sqlVisitor
IM... | from _qpd_antlr.sqlLexer import sqlLexer as QPDLexer
from _qpd_antlr.sqlParser import sqlParser as QPDParser
from _qpd_antlr.sqlVisitor import sqlVisitor as QPDVisitor
| data/qpd-0.4.4/_qpd_antlr/__init__.py | 122 | 68 | 77,986 |
LOAD_CONST 'Archive commands for the chmlib programs.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME os
STORE_NAME os
LOAD_CONST <code object extract_chm at 0x7faa750be0c0, file "f.py", line 5>
LOAD_CONST 'extract_chm'
MAKE_FUNCTION
STORE_NAME extract_chm
LOAD_CONST None
RETURN_VALUE
LOAD_FAST cmd
LOAD... | """Archive commands for the chmlib programs."""
import os
def extract_chm(archive, compression, cmd, verbosity, interactive, outdir):
"""Extract a CHM archive."""
return [cmd, os.path.abspath(archive), outdir]
| data/patool-2.2.0/patoolib/programs/chmlib.py | 117 | 68 | 441,620 |
LOAD_CONST 0
LOAD_CONST ('GiModuleInfo',)
IMPORT_NAME PyInstaller.utils.hooks.gi
IMPORT_FROM GiModuleInfo
STORE_NAME GiModuleInfo
POP_TOP
LOAD_NAME GiModuleInfo
LOAD_CONST 'GstAllocators'
LOAD_CONST '1.0'
CALL_FUNCTION
STORE_NAME module_info
LOAD_NAME module_info
LOAD_ATTR available
POP_JUMP_IF_FALSE
LOAD_NAME modul... | from PyInstaller.utils.hooks.gi import GiModuleInfo
module_info = GiModuleInfo("GstAllocators", "1.0")
if module_info.available:
binaries, datas, hiddenimports = module_info.collect_typelib_data()
| data/pyinstaller-6.4.0/PyInstaller/hooks/hook-gi.repository.GstAllocators.py | 112 | 68 | 185,421 |
LOAD_CONST 0
LOAD_CONST ('file_lock', 'get_cache_dir', 'LazyPath', 'PathManager')
IMPORT_NAME iopath.common.file_io
IMPORT_FROM file_lock
STORE_NAME file_lock
IMPORT_FROM get_cache_dir
STORE_NAME get_cache_dir
IMPORT_FROM LazyPath
STORE_NAME LazyPath
IMPORT_FROM PathManager
STORE_NAME PathManager
POP_TOP
LOAD_CONST 'L... | from iopath.common.file_io import file_lock, get_cache_dir, LazyPath, PathManager
__all__ = [
"LazyPath",
"PathManager",
"get_cache_dir",
"file_lock",
]
| data/iopath-0.1.10/iopath/common/__init__.py | 127 | 68 | 311,829 |
LOAD_CONST 0
LOAD_CONST ('FileCache', 'SeparateBodyFileCache')
IMPORT_NAME pip._vendor.cachecontrol.caches.file_cache
IMPORT_FROM FileCache
STORE_NAME FileCache
IMPORT_FROM SeparateBodyFileCache
STORE_NAME SeparateBodyFileCache
POP_TOP
LOAD_CONST 0
LOAD_CONST ('RedisCache',)
IMPORT_NAME pip._vendor.cachecontrol.caches... | from pip._vendor.cachecontrol.caches.file_cache import FileCache, SeparateBodyFileCache
from pip._vendor.cachecontrol.caches.redis_cache import RedisCache
__all__ = ["FileCache", "SeparateBodyFileCache", "RedisCache"]
| data/pip-24.0/src/pip/_vendor/cachecontrol/caches/__init__.py | 134 | 68 | 324,905 |
LOAD_CONST 1
LOAD_CONST ('auth', 'groups', 'hub', 'proxy', 'services', 'users')
IMPORT_NAME
IMPORT_FROM auth
STORE_NAME auth
IMPORT_FROM groups
STORE_NAME groups
IMPORT_FROM hub
STORE_NAME hub
IMPORT_FROM proxy
STORE_NAME proxy
IMPORT_FROM services
STORE_NAME services
IMPORT_FROM users
STORE_NAME users
POP_TOP
LOAD_CO... | from . import auth, groups, hub, proxy, services, users
from .base import * # noqa
default_handlers = []
for mod in (auth, hub, proxy, users, groups, services):
default_handlers.extend(mod.default_handlers)
| data/jupyterhub-4.0.2/jupyterhub/apihandlers/__init__.py | 160 | 68 | 311,782 |
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 get_link
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME get_links
IMPORT_STAR
LOAD_CONST 1
LOA... | from .. import _utilities
import typing
from .get_link import *
from .get_links import *
from .get_sink import *
from .get_sinks import *
from .link import *
from .sink import *
from .sink_policy import *
| data/pulumi_aws-6.22.2/pulumi_aws/oam/__init__.py | 169 | 68 | 226,727 |
LOAD_CONST 'Helper functions for Quantity.\n\nIn particular, this implements the logic that determines scaling and result\nunits for a given ufunc, given input units.\n'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME converters
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('erfa', 'function_helpers', 'helpers',... | """Helper functions for Quantity.
In particular, this implements the logic that determines scaling and result
units for a given ufunc, given input units.
"""
from .converters import *
from . import erfa, function_helpers, helpers, scipy_special
| data/astropy-6.0.0/astropy/units/quantity_helper/__init__.py | 141 | 68 | 21,697 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pytest
STORE_NAME pytest
LOAD_CONST 0
LOAD_CONST ('Version',)
IMPORT_NAME packaging.version
IMPORT_FROM Version
STORE_NAME Version
POP_TOP
LOAD_CONST 'pytester'
BUILD_LIST
STORE_NAME pytest_plugins
LOAD_NAME Version
LOAD_NAME pytest
LOAD_ATTR __version__
CALL_FUNCTION
LOAD_NA... | import pytest
from packaging.version import Version
pytest_plugins = ["pytester"]
if Version(pytest.__version__) < Version("6.2.0"):
@pytest.fixture
def pytester(testdir):
return testdir
| data/pytest-mpl-0.17.0/tests/conftest.py | 160 | 68 | 366,101 |
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 None
IMPORT_NAME pyxb
STORE_NAME pyxb
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME poc
STORE_NAME poc
LOAD_NAME open
LOAD_CONST 'poc.xml'
CALL_FUNCTION
LOAD_METHOD read
... | from __future__ import print_function
import pyxb
import poc
xml = open("poc.xml").read()
pobObject = poc.CreateFromDocument(xml, location_base="poc.xml")
print(pobObject.toxml("utf-8"))
| data/PyXB-1.2.6/tests/trac/trac-0133/pocSample.py | 147 | 68 | 90,973 |
LOAD_CONST 0
LOAD_CONST ('Collection', 'task', 'call')
IMPORT_NAME invoke
IMPORT_FROM Collection
STORE_NAME Collection
IMPORT_FROM task
STORE_NAME task
IMPORT_FROM call
STORE_NAME call
POP_TOP
LOAD_CONST 0
LOAD_CONST ('module',)
IMPORT_NAME package
IMPORT_FROM module
STORE_NAME module
POP_TOP
LOAD_NAME task
LOAD_CONS... | from invoke import Collection, task, call
from package import module
@task
def top_pre(c):
pass
@task(call(top_pre))
def toplevel(c):
pass
ns = Collection(module, toplevel)
| data/magicinvoke-2.4.6/tests/_support/namespacing.py | 213 | 68 | 390,250 |
LOAD_CONST 0
LOAD_CONST ('include', 'path')
IMPORT_NAME django.urls
IMPORT_FROM include
STORE_NAME include
IMPORT_FROM path
STORE_NAME path
POP_TOP
LOAD_CONST 1
LOAD_CONST ('views',)
IMPORT_NAME
IMPORT_FROM views
STORE_NAME views
POP_TOP
LOAD_NAME path
LOAD_CONST 'extra/<extra>/'
LOAD_NAME views
LOAD_ATTR empty_view
... | from django.urls import include, path
from . import views
urlpatterns = [
path("extra/<extra>/", views.empty_view, name="inner-extra"),
path("", include("urlpatterns.more_urls")),
]
| data/Django-5.0.2/tests/urlpatterns/included_urls.py | 129 | 68 | 325,654 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pickle
STORE_NAME pickle
LOAD_BUILD_CLASS
LOAD_CONST <code object PickleSerializer at 0x7fab8235ac90, file "f.py", line 4>
LOAD_CONST 'PickleSerializer'
MAKE_FUNCTION
LOAD_CONST 'PickleSerializer'
CALL_FUNCTION
STORE_NAME PickleSerializer
LOAD_CONST None
RETURN_VALUE
LOAD_NAME... | import pickle
class PickleSerializer:
PickleError = pickle.PickleError
HIGHEST_PROTOCOL = pickle.HIGHEST_PROTOCOL
dumps = pickle.dumps
loads = pickle.loads
| data/django-cacheops-7.0.2/cacheops/serializers.py | 175 | 68 | 269,462 |
LOAD_CONST '\nThe netaddr.contrib namespace for non-core code contributed by users.\n\nIt is a testing ground for new ideas. Depending on the interest in\nfunctionality found here, code may find its way into the core in various\nways, either as is or as additions to existing APIs.\n'
STORE_NAME __doc__
LOAD_CONST None
... | """
The netaddr.contrib namespace for non-core code contributed by users.
It is a testing ground for new ideas. Depending on the interest in
functionality found here, code may find its way into the core in various
ways, either as is or as additions to existing APIs.
"""
| data/netaddr-1.2.1/netaddr/contrib/__init__.py | 81 | 68 | 237,921 |
LOAD_CONST 1
LOAD_CONST ('load_hdf5', 'save_hdf5')
IMPORT_NAME plugin
IMPORT_FROM load_hdf5
STORE_NAME load_hdf5
IMPORT_FROM save_hdf5
STORE_NAME save_hdf5
POP_TOP
LOAD_CONST 'HDF5'
STORE_NAME FORMAT_NAME
LOAD_CONST '.h5'
STORE_NAME FORMAT_EXT
LOAD_NAME load_hdf5
STORE_NAME FORMAT_LOAD
LOAD_NAME save_hdf5
STORE_NAM... | from .plugin import load_hdf5, save_hdf5
FORMAT_NAME = "HDF5"
FORMAT_EXT = ".h5"
FORMAT_LOAD = load_hdf5
FORMAT_SAVE = save_hdf5
PLUGIN_CLASS = True
| data/spyder-5.5.1/spyder/plugins/io_hdf5/__init__.py | 129 | 68 | 369,671 |
LOAD_CONST 'A built-in HTTP server example.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME webview
STORE_NAME webview
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_NAME webview
LOAD_ATTR create_window
LOAD_CONST 'My first HTML5 application'
LOAD_CONST 'assets/index.html... | """A built-in HTTP server example."""
import webview
if __name__ == "__main__":
webview.create_window(
"My first HTML5 application", "assets/index.html", text_select=True
)
webview.start()
| data/pywebview-4.4.1/examples/http_server.py | 111 | 68 | 390,141 |
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_fullscreen at 0x7fab542adc00, file "f.py", line 6>
LOAD_CONST 'test_fullscreen'
MAKE_FUNCTION
STORE_NAME test_fullscr... | import webview
from .util import run_test
def test_fullscreen():
window = webview.create_window(
"Fullscreen test", "https://www.example.org", fullscreen=True
)
run_test(webview, window)
| data/pywebview-4.4.1/tests/test_fullscreen.py | 165 | 68 | 390,113 |
LOAD_CONST 0
LOAD_CONST ('Package',)
IMPORT_NAME localstack.packages
IMPORT_FROM Package
STORE_NAME Package
POP_TOP
LOAD_CONST 0
LOAD_CONST ('pro_package',)
IMPORT_NAME localstack_ext.packages.core
IMPORT_FROM pro_package
STORE_NAME pro_package
POP_TOP
LOAD_NAME pro_package
LOAD_CONST 'ecr'
LOAD_CONST ('name',)
CALL_... | from localstack.packages import Package
from localstack_ext.packages.core import pro_package
@pro_package(name="ecr")
def registry_package():
from localstack_ext.services.ecr.packages import registry_package as A
return A
| data/localstack-ext-3.1.0/localstack_ext/services/ecr/plugins.py | 178 | 68 | 441,272 |
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 domain
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME domain_policy
IMPORT_STAR
LOAD_CONST 1
L... | from .. import _utilities
import typing
from .domain import *
from .domain_policy import *
from .domain_saml_options import *
from .get_domain import *
from .vpc_endpoint import *
from ._inputs import *
from . import outputs
| data/pulumi_aws-6.22.2/pulumi_aws/elasticsearch/__init__.py | 178 | 68 | 226,898 |
LOAD_CONST 'embed'
STORE_NAME EMBED_QUERY_PARAM
LOAD_CONST 'embed_options'
STORE_NAME EMBED_OPTIONS_QUERY_PARAM
LOAD_NAME EMBED_QUERY_PARAM
LOAD_NAME EMBED_OPTIONS_QUERY_PARAM
BUILD_LIST
STORE_NAME EMBED_QUERY_PARAMS_KEYS
LOAD_CONST None
RETURN_VALUE | EMBED_QUERY_PARAM = "embed"
EMBED_OPTIONS_QUERY_PARAM = "embed_options"
EMBED_QUERY_PARAMS_KEYS = [EMBED_QUERY_PARAM, EMBED_OPTIONS_QUERY_PARAM]
| data/streamlit-1.31.1/streamlit/constants.py | 81 | 68 | 229,940 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME streamlit
STORE_NAME streamlit
LOAD_CONST 0
LOAD_CONST ('declare_component',)
IMPORT_NAME streamlit.components.v1.components
IMPORT_FROM declare_component
STORE_NAME declare_component
POP_TOP
LOAD_NAME streamlit
LOAD_ATTR _main
LOAD_ATTR _html
STORE_NAME html
LOAD_NAME stream... | import streamlit
from streamlit.components.v1.components import declare_component
html = streamlit._main._html
iframe = streamlit._main._iframe
__all__ = [
"declare_component",
"html",
"iframe",
]
| data/streamlit-1.31.1/streamlit/components/v1/__init__.py | 118 | 68 | 230,098 |
LOAD_CONST 0
LOAD_CONST ('GiModuleInfo',)
IMPORT_NAME PyInstaller.utils.hooks.gi
IMPORT_FROM GiModuleInfo
STORE_NAME GiModuleInfo
POP_TOP
LOAD_NAME GiModuleInfo
LOAD_CONST 'GstRtp'
LOAD_CONST '1.0'
CALL_FUNCTION
STORE_NAME module_info
LOAD_NAME module_info
LOAD_ATTR available
POP_JUMP_IF_FALSE
LOAD_NAME module_info
... | from PyInstaller.utils.hooks.gi import GiModuleInfo
module_info = GiModuleInfo("GstRtp", "1.0")
if module_info.available:
binaries, datas, hiddenimports = module_info.collect_typelib_data()
| data/pyinstaller-6.4.0/PyInstaller/hooks/hook-gi.repository.GstRtp.py | 112 | 68 | 185,237 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object UserAccountSecurityType at 0x7fab820f46f0, file "f.py", line 4>
LOAD_CONST 'UserAccountSecurityType'
MAKE_FUNCTION
LOAD_CONST 'UserAccountSecurityType'
LOAD_NAME str
LOAD_NAME Enum
CALL_... | from enum import Enum
class UserAccountSecurityType(str, Enum):
Unknown = ("unknown",)
Standard = ("standard",)
Power = ("power",)
Administrator = ("administrator",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/user_account_security_type.py | 186 | 68 | 260,934 |
LOAD_CONST 1
LOAD_CONST ('_Firebase',)
IMPORT_NAME
IMPORT_FROM _Firebase
STORE_NAME _Firebase
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object _Extentions at 0x7fab70246b70, file "f.py", line 4>
LOAD_CONST '_Extentions'
MAKE_FUNCTION
LOAD_CONST '_Extentions'
LOAD_NAME _Firebase
CALL_FUNCTION
STORE_NAME _Extentions
LO... | from . import _Firebase
class _Extentions(_Firebase):
_type = "extentions"
_icon_dir = "resources/firebase/extentions"
class Extensions(_Extentions):
_icon = "extensions.png"
| data/diagrams-0.23.4/diagrams/firebase/extentions.py | 259 | 68 | 205,908 |
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 LocalAuthenticationEmbeddedUI
STORE_NAME LocalAuthenticationEmbeddedUI
LOAD_BUILD_CLASS
LOAD_CONST <code object TestLAAuthenticationView at 0x7fab801628a0... | from PyObjCTools.TestSupport import TestCase
import LocalAuthenticationEmbeddedUI
class TestLAAuthenticationView(TestCase):
def test_classes(self):
LocalAuthenticationEmbeddedUI.LAAuthenticationView
def test_methods(self):
pass
| data/pyobjc-framework-LocalAuthenticationEmbeddedUI-10.1/PyObjCTest/test_laauthenticationview.py | 296 | 68 | 132,324 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object SimulationAttackType at 0x7fab4298ed20, file "f.py", line 4>
LOAD_CONST 'SimulationAttackType'
MAKE_FUNCTION
LOAD_CONST 'SimulationAttackType'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
... | from enum import Enum
class SimulationAttackType(str, Enum):
Unknown = ("unknown",)
Social = ("social",)
Cloud = ("cloud",)
Endpoint = ("endpoint",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/simulation_attack_type.py | 189 | 68 | 261,180 |
LOAD_CONST 0
LOAD_CONST ('Minio',)
IMPORT_NAME minio
IMPORT_FROM Minio
STORE_NAME Minio
POP_TOP
LOAD_CONST 0
LOAD_CONST ('EnvAWSProvider',)
IMPORT_NAME minio.credentials
IMPORT_FROM EnvAWSProvider
STORE_NAME EnvAWSProvider
POP_TOP
LOAD_NAME Minio
LOAD_CONST 's3.amazonaws.com'
LOAD_NAME EnvAWSProvider
CALL_FUNCTION
LO... | from minio import Minio
from minio.credentials import EnvAWSProvider
client = Minio("s3.amazonaws.com", credentials=EnvAWSProvider())
stat = client.stat_object("my-bucket", "my-object")
print(stat)
| data/minio-7.2.4/examples/minio_with_env_aws_provider.py | 144 | 68 | 24,702 |
SETUP_EXCEPT to 22
LOAD_CONST 0
LOAD_CONST ('irfft', 'rfft')
IMPORT_NAME torch.fft
IMPORT_FROM irfft
STORE_NAME irfft
IMPORT_FROM rfft
STORE_NAME rfft
POP_TOP
POP_BLOCK
JUMP_FORWARD to 50
DUP_TOP
LOAD_NAME ModuleNotFoundError
COMPARE_OP exception match
POP_JUMP_IF_FALSE
POP_TOP
POP_TOP
POP_TOP
LOAD_NAME Exception
L... | try:
from torch.fft import irfft, rfft
except ModuleNotFoundError:
raise Exception(
"torch-audiomentations does not support pytorch<=1.6. Please upgrade to pytorch 1.7 or newer.",
)
| data/torch-audiomentations-0.11.1/torch_audiomentations/utils/fft.py | 138 | 68 | 121,187 |
LOAD_CONST 0
LOAD_CONST ('unicode_literals',)
IMPORT_NAME __future__
IMPORT_FROM unicode_literals
STORE_NAME unicode_literals
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME warnings
STORE_NAME warnings
LOAD_CONST 1
LOAD_CONST ('textile', 'textile_restrict... | from __future__ import unicode_literals
import sys
import warnings
from .core import textile, textile_restricted, Textile
from .version import VERSION
__all__ = ["textile", "textile_restricted"]
__version__ = VERSION
| data/textile-4.0.2/textile/__init__.py | 181 | 68 | 22,610 |
LOAD_CONST 1
LOAD_CONST ('element_text',)
IMPORT_NAME element_text
IMPORT_FROM element_text
STORE_NAME element_text
POP_TOP
LOAD_CONST 1
LOAD_CONST ('theme',)
IMPORT_NAME theme
IMPORT_FROM theme
STORE_NAME theme
POP_TOP
LOAD_CONST 1
LOAD_CONST ('theme_538',)
IMPORT_NAME theme_538
IMPORT_FROM theme_538
STORE_NAME them... | from .element_text import element_text
from .theme import theme
from .theme_538 import theme_538
from .theme_bw import theme_bw
from .theme_gray import theme_gray
from .theme_xkcd import theme_xkcd
| data/ggplot-0.11.5/ggplot/themes/__init__.py | 196 | 68 | 356,625 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.