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 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.make_image_classifier.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.make_image_classifier IMPORT_STAR LOAD_CONST None RETURN_VALUE
"""Generated API for package: tensorflow_examples.lite.model_maker.core.task.make_image_classifier.""" from tensorflow_examples.lite.model_maker.core.task.make_image_classifier import *
data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/task/make_image_classifier.py
78
58
401,304
LOAD_CONST 'Copyright The Microsoft DeepSpeed Team' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('CCLCommBuilder',) IMPORT_NAME comm IMPORT_FROM CCLCommBuilder STORE_NAME CCLCommBuilder POP_TOP LOAD_CONST 1 LOAD_CONST ('FusedAdamBuilder',) IMPORT_NAME fused_adam IMPORT_FROM FusedAdamBuilder STORE_NAME FusedAdamBuilder...
"""Copyright The Microsoft DeepSpeed Team""" from .comm import CCLCommBuilder from .fused_adam import FusedAdamBuilder from .cpu_adam import CPUAdamBuilder from .no_impl import NotImplementedBuilder
data/deepspeed-0.13.2/deepspeed/ops/op_builder/cpu/__init__.py
160
58
84,678
LOAD_CONST <code object read_source_file at 0x7f8af04b8c00, file "f.py", line 1> LOAD_CONST 'read_source_file' MAKE_FUNCTION STORE_NAME read_source_file LOAD_CONST None RETURN_VALUE LOAD_CONST 0 LOAD_CONST ('cookie_re',) IMPORT_NAME lib2to3.pgen2.tokenize IMPORT_FROM cookie_re STORE_DEREF cookie_re POP_TOP LOAD_GLOBA...
def read_source_file(filename): from lib2to3.pgen2.tokenize import cookie_re with open_with_encoding_check as f: [cookie_re for i, line in enumerate]
data/executing-2.0.1/tests/small_samples/ea94f24a1d9b57c7a7d62c428082790caae2fa16429db2e58b2f4addb67a1964.py
239
58
331,195
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 0x7faa8c017e40, 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 ``nl_NL`` locale.""" bban_format = "????##########" country_code = "NL"
data/Faker-23.2.1/faker/providers/bank/nl_NL/__init__.py
158
58
16,538
LOAD_CONST 0 LOAD_CONST ('Union',) IMPORT_NAME typing IMPORT_FROM Union STORE_NAME Union POP_TOP LOAD_CONST 2 LOAD_CONST ('UnknownType',) IMPORT_NAME extensions IMPORT_FROM UnknownType STORE_NAME UnknownType POP_TOP LOAD_CONST 2 LOAD_CONST ('InaccessibleResource',) IMPORT_NAME models.inaccessible_resource IMPORT_FROM...
from typing import Union from ..extensions import UnknownType from ..models.inaccessible_resource import InaccessibleResource from ..models.well import Well WellOrInaccessibleResource = Union[Well, InaccessibleResource, UnknownType]
data/benchling_api_client-2.0.271/benchling_api_client/v2/beta/models/well_or_inaccessible_resource.py
142
58
71,100
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME Foundation STORE_NAME Foundation LOAD_CONST 0 LOAD_CONST ('TestCase',) IMPORT_NAME PyObjCTools.TestSupport IMPORT_FROM TestCase STORE_NAME TestCase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TestNSURLCredentialStorage at 0x7fab80297660, file "f.py", line 5> LOAD_CONST 'T...
import Foundation from PyObjCTools.TestSupport import TestCase class TestNSURLCredentialStorage(TestCase): def testConstants(self): self.assertIsInstance(Foundation.NSURLCredentialStorageChangedNotification, str)
data/pyobjc-framework-Cocoa-10.1/PyObjCTest/test_nscredentialstorage.py
242
58
64,368
LOAD_CONST '\nPython Package for controlling Tesla API.\n\nFor more details about this api, please refer to the documentation at\nhttps://github.com/zabuldon/teslajsonpy\n' STORE_NAME __doc__ LOAD_CONST '3.9.10' STORE_NAME __version__ LOAD_CONST None RETURN_VALUE
""" Python Package for controlling Tesla API. For more details about this api, please refer to the documentation at https://github.com/zabuldon/teslajsonpy """ __version__ = "3.9.10"
data/teslajsonpy-3.9.10/teslajsonpy/__version__.py
74
58
290,398
LOAD_CONST <code object test_fetch at 0x7fab42ac9150, file "f.py", line 1> LOAD_CONST 'test_fetch' MAKE_FUNCTION STORE_NAME test_fetch LOAD_CONST None RETURN_VALUE LOAD_FAST make_dataset LOAD_CONST False LOAD_CONST True LOAD_CONST False LOAD_CONST True LOAD_CONST ('cache', 'dvcfile', 'files', 'remote') CALL_FUNCTION P...
def test_fetch(bench_dvc, tmp_dir, dvc, make_dataset, remote): make_dataset(cache=False, dvcfile=True, files=False, remote=True) bench_dvc("fetch")
data/dvc-3.47.0/dvc/testing/benchmarks/cli/commands/test_fetch.py
111
58
318,079
LOAD_CONST <code object _parse_doctype_subset at 0x7fab4106c9c0, file "f.py", line 1> LOAD_CONST '_parse_doctype_subset' MAKE_FUNCTION STORE_NAME _parse_doctype_subset LOAD_CONST None RETURN_VALUE SETUP_LOOP to 52 LOAD_FAST n POP_JUMP_IF_FALSE LOAD_FAST c POP_JUMP_IF_FALSE LOAD_FAST j LOAD_CONST 1 INPLACE_ADD STORE_...
def _parse_doctype_subset(c, j, rawdata, n): while n: if c: j += 1 while j < n and rawdata[j]: j += 1 return -1
data/xdis-6.0.5/test/simple_source/bug36/09_while_if_while.py
155
58
85,354
LOAD_CONST 0 LOAD_CONST ('Namespace',) IMPORT_NAME flask.signals IMPORT_FROM Namespace STORE_NAME Namespace POP_TOP LOAD_CONST 'request_token_fetched' BUILD_LIST STORE_NAME __all__ LOAD_NAME Namespace CALL_FUNCTION STORE_NAME _signals LOAD_NAME _signals LOAD_METHOD signal LOAD_CONST 'request-token-fetched' CALL_METH...
from flask.signals import Namespace __all__ = ["request_token_fetched"] _signals = Namespace() request_token_fetched = _signals.signal("request-token-fetched")
data/Flask-OAuthlib-0.9.6/flask_oauthlib/contrib/client/signals.py
94
58
163,457
LOAD_CONST '1.2.dev2+g265c50f' DUP_TOP STORE_NAME __version__ STORE_NAME version LOAD_CONST (1, 2, 'dev2', 'g265c50f') DUP_TOP STORE_NAME __version_tuple__ STORE_NAME version_tuple LOAD_CONST None RETURN_VALUE
__version__ = version = "1.2.dev2+g265c50f" __version_tuple__ = version_tuple = (1, 2, "dev2", "g265c50f")
data/gpustat-1.1.1/gpustat/_version.py
73
58
329,023
LOAD_CONST 0 LOAD_CONST ('_channel',) IMPORT_NAME grpc_testing._channel IMPORT_FROM _channel STORE_NAME _channel POP_TOP LOAD_CONST 0 LOAD_CONST ('_channel_state',) IMPORT_NAME grpc_testing._channel IMPORT_FROM _channel_state STORE_NAME _channel_state POP_TOP LOAD_CONST <code object testing_channel at 0x7fab823c2810,...
from grpc_testing._channel import _channel from grpc_testing._channel import _channel_state def testing_channel(descriptors, time): return _channel.TestingChannel(time, _channel_state.State())
data/grpcio-testing-1.60.1/grpc_testing/_channel/__init__.py
147
58
15,728
LOAD_CONST 0 LOAD_CONST ('BaseMiddlewareHandler', 'NextMiddleware') IMPORT_NAME aws_lambda_powertools.event_handler.middlewares.base IMPORT_FROM BaseMiddlewareHandler STORE_NAME BaseMiddlewareHandler IMPORT_FROM NextMiddleware STORE_NAME NextMiddleware POP_TOP LOAD_CONST 'BaseMiddlewareHandler' LOAD_CONST 'NextMiddlew...
from aws_lambda_powertools.event_handler.middlewares.base import ( BaseMiddlewareHandler, NextMiddleware, ) __all__ = ["BaseMiddlewareHandler", "NextMiddleware"]
data/aws_lambda_powertools-2.34.0/aws_lambda_powertools/event_handler/middlewares/__init__.py
96
58
359,711
LOAD_CONST 'fastbinary' LOAD_CONST 'TBase' LOAD_CONST 'TBinaryProtocol' LOAD_CONST 'TCompactProtocol' LOAD_CONST 'TJSONProtocol' LOAD_CONST 'TProtocol' LOAD_CONST 'TProtocolDecorator' BUILD_LIST STORE_NAME __all__ LOAD_CONST None RETURN_VALUE
__all__ = [ "fastbinary", "TBase", "TBinaryProtocol", "TCompactProtocol", "TJSONProtocol", "TProtocol", "TProtocolDecorator", ]
data/thrift-0.16.0/src/protocol/__init__.py
67
58
130,419
SETUP_ANNOTATIONS LOAD_CONST 0 LOAD_CONST ('List',) IMPORT_NAME typing IMPORT_FROM List STORE_NAME List POP_TOP LOAD_CONST 2 STORE_NAME y LOAD_NAME bool LOAD_NAME __annotations__ LOAD_CONST 'x' STORE_SUBSCR LOAD_CONST 5 STORE_NAME z LOAD_NAME int LOAD_NAME __annotations__ LOAD_CONST 'z' STORE_SUBSCR LOAD_NAME z LOA...
from typing import List y = 2 x: bool z: int = 5 x = z == 5 assert x assert y == 2 v: List[int] = [1, 2] assert v[1] == y
data/xdis-6.0.5/test/simple_source/bug36/02_var_annotate.py
184
58
85,330
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_BUILD_CLASS LOAD_CONST <code object UnitTests at 0x7fab823b28a0, file "f.py", line 4> LOAD_CONST 'UnitTests' MAKE_FUNCTION LOAD_CONST 'UnitTests' LOAD_NAME unittest LOAD_ATTR TestCase CALL_FUNCTION STORE_NAME UnitTests LOAD_CONST <code object ...
import unittest class UnitTests(unittest.TestCase): def test_a(self): assert True def test_b(self): assert True def test_c(): assert True
data/nose-exclude-0.5.0/test_dirs/unittest/tests.py
323
58
317,608
LOAD_CONST 1 LOAD_CONST ('ConnectionAsync',) IMPORT_NAME connection_async IMPORT_FROM ConnectionAsync STORE_NAME ConnectionAsync POP_TOP LOAD_CONST 1 LOAD_CONST ('SessionAsync',) IMPORT_NAME session_async IMPORT_FROM SessionAsync STORE_NAME SessionAsync POP_TOP LOAD_CONST 1 LOAD_CONST ('MessageSenderAsync',) IMPORT_N...
from .connection_async import ConnectionAsync from .session_async import SessionAsync from .sender_async import MessageSenderAsync from .receiver_async import MessageReceiverAsync from .mgmt_operation_async import MgmtOperationAsync
data/uamqp-1.6.8/uamqp/async_ops/__init__.py
163
58
331,098
LOAD_CONST 'TotalConnect constants.' STORE_NAME __doc__ LOAD_CONST 'totalconnect' STORE_NAME DOMAIN LOAD_CONST 'usercodes' STORE_NAME CONF_USERCODES LOAD_CONST 'auto_bypass_low_battery' STORE_NAME AUTO_BYPASS LOAD_CONST '-1' STORE_NAME DEFAULT_USERCODE LOAD_CONST None RETURN_VALUE
"""TotalConnect constants.""" DOMAIN = "totalconnect" CONF_USERCODES = "usercodes" AUTO_BYPASS = "auto_bypass_low_battery" DEFAULT_USERCODE = "-1"
data/homeassistant-2024.2.2/homeassistant/components/totalconnect/const.py
78
58
294,995
LOAD_CONST 'Constants for the Local To-do integration.' STORE_NAME __doc__ LOAD_CONST 'local_todo' STORE_NAME DOMAIN LOAD_CONST 'todo_list_name' STORE_NAME CONF_TODO_LIST_NAME LOAD_CONST 'storage_key' STORE_NAME CONF_STORAGE_KEY LOAD_CONST None RETURN_VALUE
"""Constants for the Local To-do integration.""" DOMAIN = "local_todo" CONF_TODO_LIST_NAME = "todo_list_name" CONF_STORAGE_KEY = "storage_key"
data/homeassistant-2024.2.2/homeassistant/components/local_todo/const.py
75
58
298,756
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 ActivityClientRequest at 0x7fab640fa5d0, file "f.py", line 4> LOAD_CONST 'ActivityClientRequest' MAKE_FUNCTION LOAD_CONST 'ActivityClientRe...
from office365.runtime.client_value import ClientValue class ActivityClientRequest(ClientValue): @property def entity_type_name(self): return "Microsoft.SharePoint.Activities.ActivityClientRequest"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/activities/client_request.py
212
58
189,602
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object MicrosoftEdgeChannel at 0x7fab4298e540, file "f.py", line 4> LOAD_CONST 'MicrosoftEdgeChannel' MAKE_FUNCTION LOAD_CONST 'MicrosoftEdgeChannel' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION ...
from enum import Enum class MicrosoftEdgeChannel(str, Enum): Dev = ("dev",) Beta = ("beta",) Stable = ("stable",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/microsoft_edge_channel.py
170
58
259,810
LOAD_CONST '2.1.2' STORE_NAME __version__ LOAD_CONST 0 LOAD_CONST ('reraise',) IMPORT_NAME pytest_reraise IMPORT_FROM reraise STORE_NAME reraise POP_TOP LOAD_CONST 0 LOAD_CONST ('Reraise',) IMPORT_NAME pytest_reraise.reraise IMPORT_FROM Reraise STORE_NAME Reraise POP_TOP LOAD_CONST 'reraise' LOAD_CONST 'Reraise' LOA...
__version__ = "2.1.2" from pytest_reraise import reraise from pytest_reraise.reraise import Reraise __all__ = ["reraise", "Reraise", "__version__"]
data/pytest-reraise-2.1.2/pytest_reraise/__init__.py
111
58
330,308
LOAD_CONST 1 LOAD_CONST ('BaseObject',) IMPORT_NAME base_object IMPORT_FROM BaseObject STORE_NAME BaseObject POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object GroupMembership at 0x7fab703b0b70, file "f.py", line 4> LOAD_CONST 'GroupMembership' MAKE_FUNCTION LOAD_CONST 'GroupMembership' LOAD_NAME BaseObject CALL_FUNCTIO...
from .base_object import BaseObject class GroupMembership(BaseObject): """Represents a Box group_membership, which relates a user & group under a specific role.""" _item_type = "group_membership"
data/boxsdk-3.9.2/boxsdk/object/group_membership.py
168
58
230,999
LOAD_CONST <code object test_help_with_unknown_arguments at 0x7fab702a68a0, file "f.py", line 1> LOAD_CONST 'test_help_with_unknown_arguments' MAKE_FUNCTION STORE_NAME test_help_with_unknown_arguments LOAD_CONST None RETURN_VALUE LOAD_FAST pdm LOAD_CONST 'add' LOAD_CONST '--unknown-args' BUILD_LIST CALL_FUNCTION STORE...
def test_help_with_unknown_arguments(pdm): result = pdm(["add", "--unknown-args"]) assert "Usage: pdm add " in result.stderr assert result.exit_code == 2
data/pdm-2.12.3/tests/cli/test_utils.py
155
58
354,237
LOAD_CONST 'Provide version object to compare version numbers.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('absolute_import', 'division', 'print_function') IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM division STORE_NAME division IMPORT_FROM print_function STORE_NAME print...
"""Provide version object to compare version numbers.""" from __future__ import absolute_import, division, print_function __metaclass__ = type from ._version import LooseVersion # noqa: F401
data/ansible-9.2.0/ansible_collections/kubernetes/core/plugins/module_utils/version.py
116
58
6,802
LOAD_CONST 0 LOAD_CONST ('ServableModule',) IMPORT_NAME lightning.pytorch.serve.servable_module IMPORT_FROM ServableModule STORE_NAME ServableModule POP_TOP LOAD_CONST 0 LOAD_CONST ('ServableModuleValidator',) IMPORT_NAME lightning.pytorch.serve.servable_module_validator IMPORT_FROM ServableModuleValidator STORE_NAME ...
from lightning.pytorch.serve.servable_module import ServableModule from lightning.pytorch.serve.servable_module_validator import ServableModuleValidator __all__ = ["ServableModuleValidator", "ServableModule"]
data/lightning-2.2.0.post0/src/lightning/pytorch/serve/__init__.py
111
58
121,691
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object PrinterFeedOrientation at 0x7fab4298e420, file "f.py", line 4> LOAD_CONST 'PrinterFeedOrientation' MAKE_FUNCTION LOAD_CONST 'PrinterFeedOrientation' LOAD_NAME str LOAD_NAME Enum CALL_FUN...
from enum import Enum class PrinterFeedOrientation(str, Enum): LongEdgeFirst = ("longEdgeFirst",) ShortEdgeFirst = ("shortEdgeFirst",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/printer_feed_orientation.py
176
58
259,814
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 cluster IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME control_panel IMPORT_STAR LOAD_CONST 1 ...
from .. import _utilities import typing from .cluster import * from .control_panel import * from .routing_control import * from .safety_rule import * from ._inputs import * from . import outputs
data/pulumi_aws-6.22.2/pulumi_aws/route53recoverycontrol/__init__.py
155
58
226,081
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME networkx.algorithms.coloring.greedy_coloring IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('equitable_color',) IMPORT_NAME networkx.algorithms.coloring.equitable_coloring IMPORT_FROM equitable_color STORE_NAME equitable_color POP_TOP LOAD_CONST 'greedy_color' LOAD_CONST 'equitable_co...
from networkx.algorithms.coloring.greedy_coloring import * from networkx.algorithms.coloring.equitable_coloring import equitable_color __all__ = ["greedy_color", "equitable_color"]
data/networkx-3.2.1/networkx/algorithms/coloring/__init__.py
101
58
130,814
LOAD_CONST 0 LOAD_CONST ('ActionMasker',) IMPORT_NAME sb3_contrib.common.wrappers.action_masker IMPORT_FROM ActionMasker STORE_NAME ActionMasker POP_TOP LOAD_CONST 0 LOAD_CONST ('TimeFeatureWrapper',) IMPORT_NAME sb3_contrib.common.wrappers.time_feature IMPORT_FROM TimeFeatureWrapper STORE_NAME TimeFeatureWrapper POP_...
from sb3_contrib.common.wrappers.action_masker import ActionMasker from sb3_contrib.common.wrappers.time_feature import TimeFeatureWrapper __all__ = ["ActionMasker", "TimeFeatureWrapper"]
data/sb3_contrib-2.2.1/sb3_contrib/common/wrappers/__init__.py
109
58
193,208
LOAD_CONST 0 LOAD_CONST ('load_emoji_codes',) IMPORT_NAME sphinxemoji.sphinxemoji IMPORT_FROM load_emoji_codes STORE_NAME load_emoji_codes POP_TOP LOAD_CONST <code object test_load_emoji_codes at 0x7fae471296f0, file "f.py", line 4> LOAD_CONST 'test_load_emoji_codes' MAKE_FUNCTION STORE_NAME test_load_emoji_codes LOAD...
from sphinxemoji.sphinxemoji import load_emoji_codes def test_load_emoji_codes(): x = load_emoji_codes() assert 0
data/sphinxemoji-0.3.1/sphinxemoji/tests/test_sphinxemoji.py
164
58
41,090
LOAD_CONST 'medusa.__init__\n' STORE_NAME __doc__ LOAD_CONST '$Id: __init__.py,v 1.2 2002/03/19 22:49:34 amk Exp $' STORE_NAME __revision__ LOAD_CONST None RETURN_VALUE
"""medusa.__init__ """ __revision__ = "$Id: __init__.py,v 1.2 2002/03/19 22:49:34 amk Exp $"
data/supervisor-4.2.5/supervisor/medusa/__init__.py
70
58
190,994
LOAD_CONST '\nPyDotPlus version module.\n' STORE_NAME __doc__ 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 ('print_function',) IMPORT_NAME __future__ IMPORT_FROM print_function STORE_NAME print_function PO...
""" PyDotPlus version module. """ from __future__ import unicode_literals from __future__ import print_function __version__ = "2.0.2" __all__ = ["__version__"]
data/pydotplus-2.0.2/lib/pydotplus/version.py
119
58
418,276
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 Ceil at 0x7fab70078b70, file "f.py", line 6> LOAD_CONST 'Ceil' MAKE_FUNCTION LOAD_CONST 'Ceil' LOA...
import numpy as np from ._op import OpRunUnaryNum class Ceil(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.ceil(x),)
data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_ceil.py
214
58
85,589
LOAD_CONST 'Utility functions for parsing an OpenAPI spec. Kept for backwards compat.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('HTTPVerb', 'OpenAPISpec') IMPORT_NAME langchain_community.utilities.openapi IMPORT_FROM HTTPVerb STORE_NAME HTTPVerb IMPORT_FROM OpenAPISpec STORE_NAME OpenAPISpec POP_TOP LOAD_CONST 'HT...
"""Utility functions for parsing an OpenAPI spec. Kept for backwards compat.""" from langchain_community.utilities.openapi import HTTPVerb, OpenAPISpec __all__ = ["HTTPVerb", "OpenAPISpec"]
data/langchain_community-0.0.21/langchain_community/tools/openapi/utils/openapi_utils.py
104
58
15,384
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 Quartz STORE_NAME Quartz LOAD_BUILD_CLASS LOAD_CONST <code object TestCIColor at 0x7faa503bbf60, file "f.py", line 5> LOAD_CONST 'TestCIColor' MAKE_FUNCTI...
from PyObjCTools.TestSupport import TestCase import Quartz class TestCIColor(TestCase): def testMethods(self): self.assertResultIsVariableSize(Quartz.CIColor.components)
data/pyobjc-framework-Quartz-10.1/PyObjCTest/test_cicolor.py
237
58
133,557
LOAD_CONST 'A module with utilities for constructing modeling components that are\n useful for dynamic optimization.\n\n Code in this module may import from mpc.data, but should not import\n from mpc.interfaces.\n\n ' STORE_NAME __doc__ LOAD_CONST None RETURN_VALUE
__doc__ = """A module with utilities for constructing modeling components that are useful for dynamic optimization. Code in this module may import from mpc.data, but should not import from mpc.interfaces. """
data/Pyomo-6.7.0/pyomo/contrib/mpc/modeling/__init__.py
64
58
23,484
LOAD_CONST 0 LOAD_CONST ('create_client',) IMPORT_NAME tests.integration.util IMPORT_FROM create_client STORE_NAME create_client POP_TOP LOAD_CONST <code object test_get at 0x7fab41445db0, file "f.py", line 6> LOAD_CONST 'test_get' MAKE_FUNCTION STORE_NAME test_get LOAD_CONST None RETURN_VALUE LOAD_GLOBAL create_clie...
from tests.integration.util import ( create_client, ) def test_get(): client = create_client() response = client.categories_get({}) assert response["categories"] is not None
data/plaid-python-18.4.0/tests/integration/test_categories.py
145
58
294,286
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.visualize.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.visualize IMPORT_STAR LOAD_CONST None RETURN_VALUE
"""Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.visualize.""" from tensorflow_examples.lite.model_maker.third_party.efficientdet.visualize import *
data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/visualize/__init__.py
78
58
401,264
LOAD_CONST 1 LOAD_CONST ('create', 'delete', 'input_mutation', 'mutation', 'update') IMPORT_NAME mutations IMPORT_FROM create STORE_NAME create IMPORT_FROM delete STORE_NAME delete IMPORT_FROM input_mutation STORE_NAME input_mutation IMPORT_FROM mutation STORE_NAME mutation IMPORT_FROM update STORE_NAME update POP_TOP ...
from .mutations import create, delete, input_mutation, mutation, update __all__ = [ "create", "delete", "input_mutation", "mutation", "update", ]
data/strawberry_graphql_django-0.32.1/strawberry_django/mutations/__init__.py
115
58
240,621
LOAD_CONST 0 LOAD_CONST ('Dict',) IMPORT_NAME typing IMPORT_FROM Dict STORE_NAME Dict POP_TOP LOAD_CONST 0 LOAD_CONST ('List',) IMPORT_NAME typing IMPORT_FROM List STORE_NAME List POP_TOP LOAD_CONST 0 LOAD_CONST ('Waiter',) IMPORT_NAME botocore.waiter IMPORT_FROM Waiter STORE_NAME Waiter POP_TOP LOAD_BUILD_CLASS LOA...
from typing import Dict from typing import List from botocore.waiter import Waiter class IdentityExists(Waiter): def wait(self, Identities: List, WaiterConfig: Dict = None): pass
data/boto3_type_annotations-0.3.1/boto3_type_annotations/ses/waiter.py
248
58
103,317
SETUP_EXCEPT to 14 LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME pydantic.v1.dataclasses IMPORT_STAR POP_BLOCK JUMP_FORWARD to 42 DUP_TOP LOAD_NAME ImportError COMPARE_OP exception match POP_JUMP_IF_FALSE POP_TOP POP_TOP POP_TOP LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME pydantic.dataclasses IMPORT_STAR POP_EXCEPT JUMP...
try: from pydantic.v1.dataclasses import * # noqa: F403 except ImportError: from pydantic.dataclasses import * # noqa: F403
data/langchain_core-0.1.25/langchain_core/pydantic_v1/dataclasses.py
97
58
435,003
LOAD_CONST 'Provides Tabular JAX FuncEnv implementations.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('BlackJackJaxEnv',) IMPORT_NAME gymnasium.envs.tabular.blackjack IMPORT_FROM BlackJackJaxEnv STORE_NAME BlackJackJaxEnv POP_TOP LOAD_CONST 0 LOAD_CONST ('CliffWalkingJaxEnv',) IMPORT_NAME gymnasium.envs.tabular.clif...
"""Provides Tabular JAX FuncEnv implementations.""" from gymnasium.envs.tabular.blackjack import BlackJackJaxEnv from gymnasium.envs.tabular.cliffwalking import CliffWalkingJaxEnv
data/gymnasium-0.29.1/gymnasium/envs/tabular/__init__.py
121
58
194,987
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 1 LOAD_CONST ('OpRunUnary',) IMPORT_NAME _op IMPORT_FROM OpRunUnary STORE_NAME OpRunUnary POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Not at 0x7fab70078810, file "f.py", line 6> LOAD_CONST 'Not' MAKE_FUNCTION LOAD_CONST 'Not' LOAD_NAME OpRun...
import numpy as np from ._op import OpRunUnary class Not(OpRunUnary): def _run(self, x): # type: ignore return (np.logical_not(x),)
data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_not.py
201
58
85,615
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 Floor at 0x7fab70078660, file "f.py", line 6> LOAD_CONST 'Floor' MAKE_FUNCTION LOAD_CONST 'Floor' ...
import numpy as np from ._op import OpRunUnaryNum class Floor(OpRunUnaryNum): def _run(self, x): # type: ignore return (np.floor(x),)
data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_floor.py
208
58
85,618
LOAD_CONST 1 LOAD_CONST ('LightningDataset', 'LightningNodeData', 'LightningLinkData') IMPORT_NAME datamodule IMPORT_FROM LightningDataset STORE_NAME LightningDataset IMPORT_FROM LightningNodeData STORE_NAME LightningNodeData IMPORT_FROM LightningLinkData STORE_NAME LightningLinkData POP_TOP LOAD_CONST 'LightningDatas...
from .datamodule import LightningDataset, LightningNodeData, LightningLinkData __all__ = classes = [ "LightningDataset", "LightningNodeData", "LightningLinkData", ]
data/torch_geometric-2.5.0/torch_geometric/data/lightning/__init__.py
112
58
7,331
LOAD_CONST 'The :mod:`pyts.bag_of_words` module includes bag-of-words algorithms.' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('BagOfWords', 'WordExtractor') IMPORT_NAME bow IMPORT_FROM BagOfWords STORE_NAME BagOfWords IMPORT_FROM WordExtractor STORE_NAME WordExtractor POP_TOP LOAD_CONST 'BagOfWords' LOAD_CONST 'Word...
"""The :mod:`pyts.bag_of_words` module includes bag-of-words algorithms.""" from .bow import BagOfWords, WordExtractor __all__ = ["BagOfWords", "WordExtractor"]
data/pyts-0.13.0/pyts/bag_of_words/__init__.py
106
58
57,966
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.api.golden_api_doc.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME tensorflow_examples.lite.model_maker.core.api.golden_api_doc IMPORT_STAR LOAD_CONST None RETURN_VALUE
"""Generated API for package: tensorflow_examples.lite.model_maker.core.api.golden_api_doc.""" from tensorflow_examples.lite.model_maker.core.api.golden_api_doc import *
data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/api/golden_api_doc.py
78
58
389,427
LOAD_CONST <code object backup_exception_handler at 0x7faa5dedbed0, file "f.py", line 1> LOAD_CONST 'backup_exception_handler' MAKE_FUNCTION STORE_NAME backup_exception_handler LOAD_CONST None RETURN_VALUE LOAD_CONST 0 LOAD_CONST ('HttpResponseError',) IMPORT_NAME azure.core.exceptions IMPORT_FROM HttpResponseError ST...
def backup_exception_handler(ex): from azure.core.exceptions import HttpResponseError if isinstance(ex, HttpResponseError) and ex.message: raise HttpResponseError(ex.message) raise ex
data/azure-cli-2.57.0/azure/cli/command_modules/backup/_exception_handler.py
141
58
377,300
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object PrivilegedAccessGroupAssignmentType at 0x7fab70027660, file "f.py", line 4> LOAD_CONST 'PrivilegedAccessGroupAssignmentType' MAKE_FUNCTION LOAD_CONST 'PrivilegedAccessGroupAssignmentType...
from enum import Enum class PrivilegedAccessGroupAssignmentType(str, Enum): Assigned = ("assigned",) Activated = ("activated",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/privileged_access_group_assignment_type.py
192
58
260,657
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME json STORE_NAME json 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 Result at 0x7fab703065d0, file "f.py", line 6> LOAD_CON...
import json from localstack.services.stepfunctions.asl.component.component import Component class Result(Component): def __init__(self, result_obj: json): self.result_obj: json = result_obj
data/localstack-core-3.1.0/localstack/services/stepfunctions/asl/component/state/state_pass/result.py
217
58
225,273
LOAD_CONST 1 LOAD_CONST ('BaseAPIJSONObject',) IMPORT_NAME base_api_json_object IMPORT_FROM BaseAPIJSONObject STORE_NAME BaseAPIJSONObject POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object RecentItem at 0x7fab82258930, file "f.py", line 4> LOAD_CONST 'RecentItem' MAKE_FUNCTION LOAD_CONST 'RecentItem' LOAD_NAME BaseAPIJ...
from .base_api_json_object import BaseAPIJSONObject class RecentItem(BaseAPIJSONObject): """Represents a single recent item accessed by a Box user.""" _item_type = "recent_item"
data/boxsdk-3.9.2/boxsdk/object/recent_item.py
169
58
230,963
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 ListHomeItem at 0x7fab700e4300, file "f.py", line 4> LOAD_CONST 'ListHomeItem' MAKE_FUNCTION LOAD_CONST 'ListHomeItem' LOAD_NAME ClientValu...
from office365.runtime.client_value import ClientValue class ListHomeItem(ClientValue): @property def entity_type_name(self): return "Microsoft.SharePoint.ListHome.ListHomeItem"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/listhome/item.py
213
58
189,381
LOAD_CONST 'DO NOT EDIT.\n\nThis file was autogenerated. Do not edit it by hand,\nsince your modifications would be overwritten.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('load_data',) IMPORT_NAME keras_core.src.datasets.fashion_mnist IMPORT_FROM load_data STORE_NAME load_data POP_TOP LOAD_CONST None RETURN_VALUE
"""DO NOT EDIT. This file was autogenerated. Do not edit it by hand, since your modifications would be overwritten. """ from keras_core.src.datasets.fashion_mnist import load_data
data/keras-core-0.1.7/keras_core/datasets/fashion_mnist/__init__.py
89
58
385,638
LOAD_CONST '\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('_cd',) IMPORT_NAME _utils IMPORT_FROM _cd STORE_NAME _cd POP_TOP LOAD_CONST 2 LOAD_CONST ('UnitConstant',) IMPORT_NAME unitquantity IMPORT_FROM UnitConstant STORE_NAME UnitConstant POP_TOP LOAD_NAME UnitConstant LOAD_CONST 'weak_mixing_angle' LOAD_NAME _cd...
""" """ from ._utils import _cd from ..unitquantity import UnitConstant weak_mixing_angle = UnitConstant("weak_mixing_angle", _cd("weak mixing angle")) del UnitConstant, _cd
data/quantities-0.15.0/quantities/constants/weak.py
115
58
358,126
LOAD_CONST 1 LOAD_CONST ('collect_intermediate_steps', 'compare_objects') IMPORT_NAME investigate IMPORT_FROM collect_intermediate_steps STORE_NAME collect_intermediate_steps IMPORT_FROM compare_objects STORE_NAME compare_objects POP_TOP LOAD_CONST 1 LOAD_CONST ('enumerate_pipeline_models',) IMPORT_NAME investigate IM...
from .investigate import collect_intermediate_steps, compare_objects # noqa from .investigate import enumerate_pipeline_models # noqa from .integration import add_onnx_graph # noqa
data/skl2onnx-1.16.0/skl2onnx/helpers/__init__.py
134
58
345,160
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 Configuration at 0x7fab700ad390, file "f.py", line 4> LOAD_CONST 'Configuration' MAKE_FUNCTION LOAD_CONST 'Configuration' LOAD_NAME ClientV...
from office365.runtime.client_value import ClientValue class Configuration(ClientValue): """ Specifies additional application IDs that are allowed to manage the externalConnection and to index content in a externalConnection. """
data/Office365-REST-Python-Client-2.5.5/office365/search/external/configuration.py
157
58
188,637
LOAD_CONST ' Allows for the import of all modules in the utils directory. ' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('download_files_from_urls',) IMPORT_NAME rp_download IMPORT_FROM download_files_from_urls STORE_NAME download_files_from_urls POP_TOP LOAD_CONST 1 LOAD_CONST ('upload_file_to_bucket', 'upload_in_mem...
""" Allows for the import of all modules in the utils directory. """ from .rp_download import download_files_from_urls from .rp_upload import upload_file_to_bucket, upload_in_memory_object
data/runpod-1.6.2/runpod/serverless/utils/__init__.py
146
58
399,710
SETUP_ANNOTATIONS LOAD_CONST 0 LOAD_CONST ('List',) IMPORT_NAME typing IMPORT_FROM List STORE_NAME List POP_TOP LOAD_CONST 2 STORE_NAME y LOAD_NAME bool LOAD_NAME __annotations__ LOAD_CONST 'x' STORE_SUBSCR LOAD_CONST 5 STORE_NAME z LOAD_NAME int LOAD_NAME __annotations__ LOAD_CONST 'z' STORE_SUBSCR LOAD_NAME z LOA...
from typing import List y = 2 x: bool z: int = 5 x = z == 5 assert x assert y == 2 v: List[int] = [1, 2] assert v[1] == y
data/uncompyle6-3.9.0/test/simple_source/bug36/02_var_annotate.py
184
58
441,970
LOAD_CONST 0 LOAD_CONST ('default_urlpatterns',) IMPORT_NAME allauth.socialaccount.providers.oauth2.urls IMPORT_FROM default_urlpatterns STORE_NAME default_urlpatterns POP_TOP LOAD_CONST 1 LOAD_CONST ('OdnoklassnikiProvider',) IMPORT_NAME provider IMPORT_FROM OdnoklassnikiProvider STORE_NAME OdnoklassnikiProvider POP_...
from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns from .provider import OdnoklassnikiProvider urlpatterns = default_urlpatterns(OdnoklassnikiProvider)
data/django-allauth-0.61.1/allauth/socialaccount/providers/odnoklassniki/urls.py
116
58
336,481
LOAD_CONST 'A fake version of `apiproxy.py` for Titanoboa.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('callback',) IMPORT_NAME google.appengine.runtime IMPORT_FROM callback STORE_NAME vmcallback POP_TOP LOAD_CONST <code object SetRequestEndCallback at 0x7f8e447b2540, file "f.py", line 6> LOAD_CONST 'SetRequestEndCa...
"""A fake version of `apiproxy.py` for Titanoboa.""" from google.appengine.runtime import callback as vmcallback def SetRequestEndCallback(callback): vmcallback.SetRequestEndCallback(callback)
data/appengine-python-standard-1.1.6/src/google/appengine/runtime/apiproxy.py
135
58
115,486
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.demo.recommendation_demo.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME tensorflow_examples.lite.model_maker.demo.recommendation_demo IMPORT_STAR LOAD_CONST None RETURN_VALUE
"""Generated API for package: tensorflow_examples.lite.model_maker.demo.recommendation_demo.""" from tensorflow_examples.lite.model_maker.demo.recommendation_demo import *
data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/demo/recommendation_demo.py
78
58
401,191
LOAD_CONST '\nPynamoDB lowest level connection\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Connection',) IMPORT_NAME pynamodb.connection.base IMPORT_FROM Connection STORE_NAME Connection POP_TOP LOAD_CONST 0 LOAD_CONST ('TableConnection',) IMPORT_NAME pynamodb.connection.table IMPORT_FROM TableConnection STORE_NA...
""" PynamoDB lowest level connection """ from pynamodb.connection.base import Connection from pynamodb.connection.table import TableConnection __all__ = [ "Connection", "TableConnection", ]
data/pynamodb-6.0.0/pynamodb/connection/__init__.py
103
58
237,499
LOAD_CONST 0 LOAD_CONST ('load_op',) IMPORT_NAME onnx.reference.ops.aionnx_preview_training._op_list IMPORT_FROM load_op STORE_NAME load_op POP_TOP LOAD_CONST 0 LOAD_CONST ('OpRunTraining',) IMPORT_NAME onnx.reference.ops.aionnx_preview_training._op_run_training IMPORT_FROM OpRunTraining STORE_NAME OpRunTraining POP_T...
from onnx.reference.ops.aionnx_preview_training._op_list import load_op from onnx.reference.ops.aionnx_preview_training._op_run_training import OpRunTraining
data/onnx-simplifier-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/aionnx_preview_training/__init__.py
105
58
309,681
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object MeetingChatMode at 0x7fab70027660, file "f.py", line 4> LOAD_CONST 'MeetingChatMode' MAKE_FUNCTION LOAD_CONST 'MeetingChatMode' LOAD_NAME str LOAD_NAME Enum CALL_FUNCTION STORE_NAME Meet...
from enum import Enum class MeetingChatMode(str, Enum): Enabled = ("enabled",) Disabled = ("disabled",) Limited = ("limited",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/meeting_chat_mode.py
173
58
262,017
LOAD_CONST 1 LOAD_CONST ('TranscribeResponse',) IMPORT_NAME responses IMPORT_FROM TranscribeResponse STORE_NAME TranscribeResponse POP_TOP LOAD_CONST 'https?://transcribe\\.(.+)\\.amazonaws\\.com' BUILD_LIST STORE_NAME url_bases LOAD_CONST '{0}/$' LOAD_NAME TranscribeResponse LOAD_ATTR dispatch BUILD_MAP STORE_NAME u...
from .responses import TranscribeResponse url_bases = [r"https?://transcribe\.(.+)\.amazonaws\.com"] url_paths = {"{0}/$": TranscribeResponse.dispatch}
data/moto-5.0.2/moto/transcribe/urls.py
90
58
198,377
LOAD_CONST 0 LOAD_CONST ('unicode_literals',) IMPORT_NAME __future__ IMPORT_FROM unicode_literals STORE_NAME unicode_literals POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object CheckerNotRegistered at 0x7fab823a8b70, file "f.py", line 4> LOAD_CONST 'CheckerNotRegistered' MAKE_FUNCTION LOAD_CONST 'CheckerNotRegistered' L...
from __future__ import unicode_literals class CheckerNotRegistered(Exception): pass class RoleDoesNotExist(Exception): pass class RolePermissionScopeException(Exception): pass
data/django-role-permissions-3.2.0/rolepermissions/exceptions.py
349
58
98,768
LOAD_CONST 'Package with FileSystem Music provider(s).' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('FileSystemProviderBase',) IMPORT_NAME base IMPORT_FROM FileSystemProviderBase STORE_NAME FileSystemProviderBase POP_TOP LOAD_CONST 1 LOAD_CONST ('LocalFileSystemProvider',) IMPORT_NAME local IMPORT_FROM LocalFileSyste...
"""Package with FileSystem Music provider(s).""" from .base import FileSystemProviderBase # noqa from .local import LocalFileSystemProvider # noqa from .smb import SMBFileSystemProvider # noqa
data/music_assistant-1.8.8/music_assistant/music_providers/filesystem/__init__.py
120
58
98,731
LOAD_CONST '\nThe Fast Templates provide easy to use, great looking templates for\nPanel based on the https://fast.design framework.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('FastGridTemplate',) IMPORT_NAME grid IMPORT_FROM FastGridTemplate STORE_NAME FastGridTemplate POP_TOP LOAD_CONST 1 LOAD_CONST ('FastListT...
""" The Fast Templates provide easy to use, great looking templates for Panel based on the https://fast.design framework. """ from .grid import FastGridTemplate # noqa from .list import FastListTemplate # noqa
data/panel-1.3.8/panel/template/fast/__init__.py
98
58
443,677
LOAD_CONST 'Trust.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('MotionWithReset',) IMPORT_NAME zhaquirks IMPORT_FROM MotionWithReset STORE_NAME MotionWithReset POP_TOP LOAD_CONST 'Trust' STORE_NAME TRUST LOAD_BUILD_CLASS LOAD_CONST <code object MotionCluster at 0x7f8e2faa8ed0, file "f.py", line 8> LOAD_CONST 'Motio...
"""Trust.""" from zhaquirks import MotionWithReset TRUST = "Trust" class MotionCluster(MotionWithReset): """Motion cluster.""" reset_s: int = 30
data/zha-quirks-0.0.111/zhaquirks/trust/__init__.py
199
58
423,147
LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME any IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME attribute IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME element IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME indicators IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME references IMPORT_ST...
from .any import * # noqa from .attribute import * # noqa from .element import * # noqa from .indicators import * # noqa from .references import * # noqa
data/zeep-4.2.1/src/zeep/xsd/elements/__init__.py
85
58
156,616
LOAD_CONST 'djangorestframework-jsonapi' STORE_NAME __title__ LOAD_CONST '6.1.0' STORE_NAME __version__ LOAD_CONST '' STORE_NAME __author__ LOAD_CONST 'BSD' STORE_NAME __license__ LOAD_CONST '' STORE_NAME __copyright__ LOAD_NAME __version__ STORE_NAME VERSION LOAD_CONST None RETURN_VALUE
__title__ = "djangorestframework-jsonapi" __version__ = "6.1.0" __author__ = "" __license__ = "BSD" __copyright__ = "" VERSION = __version__
data/djangorestframework-jsonapi-6.1.0/rest_framework_json_api/__init__.py
80
58
42,277
LOAD_CONST 0 LOAD_CONST ('Union',) IMPORT_NAME typing IMPORT_FROM Union STORE_NAME Union POP_TOP LOAD_CONST 2 LOAD_CONST ('UnknownType',) IMPORT_NAME extensions IMPORT_FROM UnknownType STORE_NAME UnknownType POP_TOP LOAD_CONST 2 LOAD_CONST ('InaccessibleResource',) IMPORT_NAME models.inaccessible_resource IMPORT_FROM...
from typing import Union from ..extensions import UnknownType from ..models.inaccessible_resource import InaccessibleResource from ..models.well import Well WellOrInaccessibleResource = Union[Well, InaccessibleResource, UnknownType]
data/benchling_api_client-2.0.271/benchling_api_client/v2/stable/models/well_or_inaccessible_resource.py
142
58
72,187
LOAD_CONST 'GET' LOAD_NAME uri LOAD_CONST '/with_"quotes"?foo="bar"' CALL_FUNCTION LOAD_CONST (1, 1) BUILD_LIST LOAD_CONST b'' LOAD_CONST ('method', 'uri', 'version', 'headers', 'body') BUILD_CONST_KEY_MAP STORE_NAME request LOAD_CONST None RETURN_VALUE
request = { "method": "GET", "uri": uri('/with_"quotes"?foo="bar"'), "version": (1, 1), "headers": [], "body": b"", }
data/gunicorn-21.2.0/tests/requests/valid/014.py
68
58
343,445
LOAD_CONST 3 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 AuditSink IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME AuditSinkList IMPORT_STAR LOAD_CONST ...
from ... import _utilities import typing from .AuditSink import * from .AuditSinkList import * from .AuditSinkPatch import * from ._inputs import * from . import outputs
data/pulumi_kubernetes-4.7.1/pulumi_kubernetes/auditregistration/v1alpha1/__init__.py
145
58
124,418
SETUP_EXCEPT to 26 LOAD_CONST 0 LOAD_CONST ('reverse', 'resolve', 'NoReverseMatch') IMPORT_NAME django.urls IMPORT_FROM reverse STORE_NAME reverse IMPORT_FROM resolve STORE_NAME resolve IMPORT_FROM NoReverseMatch STORE_NAME NoReverseMatch POP_TOP POP_BLOCK JUMP_FORWARD to 66 DUP_TOP LOAD_NAME ImportError COMPARE_OP e...
try: from django.urls import reverse, resolve, NoReverseMatch # NOQA except ImportError: from django.core.urlresolvers import reverse, resolve, NoReverseMatch # NOQA
data/django_jazzmin-2.6.0/jazzmin/compat.py
163
58
19,449
LOAD_CONST 'Keras model mode constants.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('KerasModeKeys',) IMPORT_NAME tensorflow.python.saved_model.model_utils.mode_keys IMPORT_FROM KerasModeKeys STORE_NAME ModeKeys POP_TOP LOAD_CONST None RETURN_VALUE
"""Keras model mode constants.""" from tensorflow.python.saved_model.model_utils.mode_keys import ( # noqa: F401,E501 KerasModeKeys as ModeKeys, )
data/tf_keras-2.15.0/tf_keras/src/utils/mode_keys.py
64
58
353,704
LOAD_NAME set NOP 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._-' CALL_FUNCTION STORE_NAME VALID_NAME_CHARS LOAD_CONST None RETURN_VALUE
VALID_NAME_CHARS = set( "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._-" )
data/azure-ai-ml-1.13.0/azure/ai/ml/dsl/_constants.py
66
58
426,226
LOAD_CONST 'bencode.py - `BTL` backwards compatibility support.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('BencodeDecodeError',) IMPORT_NAME bencode.exceptions IMPORT_FROM BencodeDecodeError STORE_NAME BTFailure POP_TOP LOAD_CONST 'BTFailure' STORE_NAME __all__ LOAD_CONST None RETURN_VALUE
"""bencode.py - `BTL` backwards compatibility support.""" from bencode.exceptions import BencodeDecodeError as BTFailure # noqa: F401 __all__ = "BTFailure"
data/bencode.py-4.0.0/bencode/BTL.py
77
58
444,799
LOAD_CONST 0 LOAD_CONST ('DbtRunner',) IMPORT_NAME elementary.clients.dbt.dbt_runner IMPORT_FROM DbtRunner STORE_NAME DbtRunner POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BaseFetcher at 0x7faa747569c0, file "f.py", line 4> LOAD_CONST 'BaseFetcher' MAKE_FUNCTION LOAD_CONST 'BaseFetcher' CALL_FUNCTION STORE_NAME B...
from elementary.clients.dbt.dbt_runner import DbtRunner class BaseFetcher: def __init__(self, dbt_runner: DbtRunner): self.dbt_runner = dbt_runner
data/elementary_data-0.14.0/elementary/monitor/fetchers/base_fetcher.py
227
58
19,463
LOAD_CONST 0 LOAD_CONST ('path',) IMPORT_NAME django.urls IMPORT_FROM path STORE_NAME path POP_TOP LOAD_CONST 1 LOAD_CONST ('admin',) IMPORT_NAME IMPORT_FROM admin STORE_NAME tz_admin POP_TOP LOAD_NAME path LOAD_CONST 'admin/' LOAD_NAME tz_admin LOAD_ATTR site LOAD_ATTR urls CALL_FUNCTION BUILD_LIST STORE_NAME urlpat...
from django.urls import path from . import admin as tz_admin # NOQA: register tz_admin urlpatterns = [ path("admin/", tz_admin.site.urls), ]
data/Django-5.0.2/tests/timezones/urls.py
86
58
325,187
LOAD_CONST 1 LOAD_CONST ('SupportResponse',) IMPORT_NAME responses IMPORT_FROM SupportResponse STORE_NAME SupportResponse POP_TOP LOAD_CONST 'https?://support\\.(.+)\\.amazonaws\\.com' BUILD_LIST STORE_NAME url_bases LOAD_CONST '{0}/$' LOAD_NAME SupportResponse LOAD_ATTR dispatch BUILD_MAP STORE_NAME url_paths LOAD_C...
from .responses import SupportResponse url_bases = [r"https?://support\.(.+)\.amazonaws\.com"] url_paths = { "{0}/$": SupportResponse.dispatch, }
data/moto-5.0.2/moto/support/urls.py
80
58
198,169
LOAD_CONST 0 LOAD_CONST ('ScheduleChangeRequest',) IMPORT_NAME office365.teams.schedule.change_request IMPORT_FROM ScheduleChangeRequest STORE_NAME ScheduleChangeRequest POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object OfferShiftRequest at 0x7fab541051e0, file "f.py", line 4> LOAD_CONST 'OfferShiftRequest' MAKE_FUNCTI...
from office365.teams.schedule.change_request import ScheduleChangeRequest class OfferShiftRequest(ScheduleChangeRequest): """Represents a request to offer a shift to another user in the team.""" pass
data/Office365-REST-Python-Client-2.5.5/office365/teams/schedule/shifts/offer/request.py
173
58
188,719
LOAD_CONST 2 LOAD_CONST ('plotting_library',) IMPORT_NAME IMPORT_FROM plotting_library STORE_NAME plotting_library POP_TOP LOAD_CONST 1 LOAD_CONST ('data_plots', 'gp_plots', 'latent_plots', 'kernel_plots', 'plot_util', 'inference_plots') IMPORT_NAME IMPORT_FROM data_plots STORE_NAME data_plots IMPORT_FROM gp_plots STO...
from .. import plotting_library from . import ( data_plots, gp_plots, latent_plots, kernel_plots, plot_util, inference_plots, )
data/GPy-1.13.1/GPy/plotting/gpy_plot/__init__.py
154
58
186,152
LOAD_CONST 0 LOAD_CONST ('GEOSException',) IMPORT_NAME django.contrib.gis.geos.error IMPORT_FROM GEOSException STORE_NAME GEOSException POP_TOP LOAD_CONST 0 LOAD_CONST ('CPointerBase',) IMPORT_NAME django.contrib.gis.ptr IMPORT_FROM CPointerBase STORE_NAME CPointerBase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object...
from django.contrib.gis.geos.error import GEOSException from django.contrib.gis.ptr import CPointerBase class GEOSBase(CPointerBase): null_ptr_exception_class = GEOSException
data/Django-5.0.2/django/contrib/gis/geos/base.py
187
58
326,817
LOAD_CONST 0 LOAD_CONST ('AvroKeyColorPick', 'run_task') IMPORT_NAME avro_base IMPORT_FROM AvroKeyColorPick STORE_NAME AvroKeyColorPick IMPORT_FROM run_task STORE_NAME run_task POP_TOP LOAD_CONST <code object __main__ at 0x7fa6f18e0f60, file "f.py", line 4> LOAD_CONST '__main__' MAKE_FUNCTION STORE_NAME __main__ LOAD...
from avro_base import AvroKeyColorPick, run_task def __main__(): run_task(AvroKeyColorPick) if __name__ == "__main__": __main__()
data/pydoop-2.0.0/examples/avro/py/avro_key_in.py
158
58
44,956
LOAD_CONST 1 LOAD_CONST ('CodePipelineResponse',) IMPORT_NAME responses IMPORT_FROM CodePipelineResponse STORE_NAME CodePipelineResponse POP_TOP LOAD_CONST 'https?://codepipeline\\.(.+)\\.amazonaws\\.com' BUILD_LIST STORE_NAME url_bases LOAD_CONST '{0}/$' LOAD_NAME CodePipelineResponse LOAD_ATTR dispatch BUILD_MAP ST...
from .responses import CodePipelineResponse url_bases = [r"https?://codepipeline\.(.+)\.amazonaws\.com"] url_paths = {"{0}/$": CodePipelineResponse.dispatch}
data/moto-5.0.2/moto/codepipeline/urls.py
90
58
198,039
LOAD_CONST 'glyph' STORE_NAME ICON_TYPE_GLYPH LOAD_CONST 'fa' STORE_NAME ICON_TYPE_FONT_AWESOME LOAD_CONST 'image' STORE_NAME ICON_TYPE_IMAGE LOAD_CONST 'image-url' STORE_NAME ICON_TYPE_IMAGE_URL LOAD_CONST None RETURN_VALUE
ICON_TYPE_GLYPH = "glyph" ICON_TYPE_FONT_AWESOME = "fa" ICON_TYPE_IMAGE = "image" ICON_TYPE_IMAGE_URL = "image-url"
data/Flask-Admin-1.6.1/flask_admin/consts.py
73
58
249,291
SETUP_EXCEPT to 18 LOAD_CONST 0 LOAD_CONST ('tqdm',) IMPORT_NAME tqdm IMPORT_FROM tqdm STORE_NAME tqdm POP_TOP POP_BLOCK JUMP_FORWARD to 46 DUP_TOP LOAD_NAME ImportError COMPARE_OP exception match POP_JUMP_IF_FALSE POP_TOP POP_TOP POP_TOP LOAD_CONST <code object tqdm at 0x7fab6413eb70, file "f.py", line 5> LOAD_CONS...
try: from tqdm import tqdm except ImportError: def tqdm(*args, **kwargs): if args: return args[0] return kwargs.get("iterable", None)
data/os_sys-2.1.4/bars/examples/include_no_requirements.py
166
58
248,306
LOAD_CONST 'Module for functions for post processing results.' 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 ('average_data',) IMPORT_NAME average IMPORT_FROM average_data STORE_NAME average_data POP_TO...
"""Module for functions for post processing results.""" from __future__ import annotations from .average import average_data from .distance import hellinger_fidelity, hellinger_distance from .z2_symmetries import Z2Symmetries
data/qiskit-1.0.0/qiskit/quantum_info/analysis/__init__.py
167
58
283,313
LOAD_CONST 1 LOAD_CONST ('CompoundColumnsUnique',) IMPORT_NAME compound_columns_unique IMPORT_FROM CompoundColumnsUnique STORE_NAME CompoundColumnsUnique POP_TOP LOAD_CONST 1 LOAD_CONST ('MulticolumnSumEqual',) IMPORT_NAME multicolumn_sum_equal IMPORT_FROM MulticolumnSumEqual STORE_NAME MulticolumnSumEqual POP_TOP LO...
from .compound_columns_unique import CompoundColumnsUnique from .multicolumn_sum_equal import MulticolumnSumEqual from .select_column_values_unique_within_record import ( SelectColumnValuesUniqueWithinRecord, )
data/great_expectations-0.18.9/great_expectations/expectations/metrics/multicolumn_map_metrics/__init__.py
131
58
18,969
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('Any',) IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any POP_TOP LOAD_CONST 0 LOAD_CONST ('Dict',) IMPORT_NAME typing IMPORT_FROM Dict STORE_NAME Dict POP_TOP LOAD_CONST 0 ...
from __future__ import annotations from typing import Any from typing import Dict from typing import Iterable from typing import Tuple DeconstructResult = Tuple[str, str, Iterable[Any], Dict[str, Any]]
data/django_mysql-4.12.0/src/django_mysql/typing.py
171
58
353,488
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 backup_schedule IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME database IMPORT_STAR LOAD_CONST...
from .. import _utilities import typing from .backup_schedule import * from .database import * from .document import * from .field import * from .index import * from ._inputs import * from . import outputs
data/pulumi_gcp-7.9.0/pulumi_gcp/firestore/__init__.py
168
58
446,406
LOAD_CONST 3 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 CertificateSigningRequest IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME CertificateSigningRequ...
from ... import _utilities import typing from .CertificateSigningRequest import * from .CertificateSigningRequestList import * from .CertificateSigningRequestPatch import * from ._inputs import * from . import outputs
data/pulumi_kubernetes-4.7.1/pulumi_kubernetes/certificates/v1/__init__.py
148
58
124,215
LOAD_CONST 0 LOAD_CONST ('Resource',) IMPORT_NAME recurly IMPORT_FROM Resource STORE_NAME Resource POP_TOP LOAD_CONST 0 LOAD_CONST ('locate',) IMPORT_NAME pydoc IMPORT_FROM locate STORE_NAME locate POP_TOP LOAD_CONST <code object mock_locator at 0x7faa75c444b0, file "f.py", line 5> LOAD_CONST 'mock_locator' MAKE_FUNC...
from recurly import Resource from pydoc import locate def mock_locator(class_name): return locate("tests.mock_resources.%s" % class_name) Resource.locator = mock_locator
data/recurly-4.45.0/tests/__init__.py
145
58
355,063
LOAD_CONST 'DO NOT EDIT.\n\nThis file was autogenerated. Do not edit it by hand,\nsince your modifications would be overwritten.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('load_data',) IMPORT_NAME keras.src.datasets.california_housing IMPORT_FROM load_data STORE_NAME load_data POP_TOP LOAD_CONST None RETURN_VALUE
"""DO NOT EDIT. This file was autogenerated. Do not edit it by hand, since your modifications would be overwritten. """ from keras.src.datasets.california_housing import load_data
data/keras-3.0.5/keras/_tf_keras/keras/datasets/california_housing/__init__.py
89
58
349,555
LOAD_CONST 3 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 CertificateSigningRequest IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME CertificateSigningRequ...
from ... import _utilities import typing from .CertificateSigningRequest import * from .CertificateSigningRequestList import * from .CertificateSigningRequestPatch import * from ._inputs import * from . import outputs
data/pulumi_kubernetes-4.7.1/pulumi_kubernetes/certificates/v1beta1/__init__.py
148
58
124,221
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME warnings STORE_NAME warnings LOAD_CONST 0 LOAD_CONST ('ImmediateHttpResponse',) IMPORT_NAME allauth.core.exceptions IMPORT_FROM ImmediateHttpResponse STORE_NAME ImmediateHttpResponse POP_TOP LOAD_CONST 'ImmediateHttpResponse' BUILD_LIST STORE_NAME __all__ LOAD_NAME warnings L...
import warnings from allauth.core.exceptions import ImmediateHttpResponse __all__ = ["ImmediateHttpResponse"] warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
data/django-allauth-0.61.1/allauth/exceptions.py
103
58
336,122
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME logging STORE_NAME logging LOAD_NAME logging LOAD_METHOD getLogger LOAD_NAME __name__ CALL_METHOD STORE_NAME logger LOAD_CONST <code object reinit_airflow_sql_conn at 0x7fab703a5030, file "f.py", line 7> LOAD_CONST 'reinit_airflow_sql_conn' MAKE_FUNCTION STORE_NAME reinit_airf...
import logging logger = logging.getLogger(__name__) def reinit_airflow_sql_conn(): from airflow.settings import configure_orm, configure_vars configure_vars() configure_orm()
data/dbnd-airflow-1.0.21.5/src/dbnd_airflow/testing/airflow_config.py
173
58
366,525
LOAD_CONST 0 LOAD_CONST ('require',) IMPORT_NAME js2py IMPORT_FROM require STORE_NAME require POP_TOP LOAD_NAME require LOAD_CONST 'random-int' CALL_FUNCTION STORE_NAME random_int LOAD_NAME print LOAD_NAME random_int CALL_FUNCTION POP_TOP LOAD_NAME print LOAD_NAME random_int LOAD_CONST 10 LOAD_CONST 40 CALL_FUNCTION...
from js2py import require random_int = require("random-int") # https://www.npmjs.com/package/random-int print(random_int) print(random_int(10, 40))
data/Js2Py-0.74/examples/importing_node_module.py
84
58
235,673