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 ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'relay hyco' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab420626f0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZComma...
from azure.cli.core.aaz import * @register_command_group( "relay hyco", ) class __CMDGroup(AAZCommandGroup): """Manage Azure Relay Service Hybrid Connection and Authorization Rule.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/relay/aaz/latest/relay/hyco/__cmd_group.py
190
80
375,654
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 ('decode_predictions',) IMPORT_NAME keras_core.src.applications.imagenet_utils IMPORT_FROM decode_predictions STORE_NAME decode_predictions POP_...
"""DO NOT EDIT. This file was autogenerated. Do not edit it by hand, since your modifications would be overwritten. """ from keras_core.src.applications.imagenet_utils import decode_predictions from keras_core.src.applications.imagenet_utils import preprocess_input
data/keras-core-0.1.7/keras_core/_tf_keras/applications/imagenet_utils/__init__.py
137
80
386,024
LOAD_CONST '\nImport pytest fixtures for setting up table for data client system tests\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_NAME os LOAD_ATTR path LOAD_METHOD dirname LOAD_NAME os LOAD_ATTR path LOAD_METHOD re...
""" Import pytest fixtures for setting up table for data client system tests """ import sys import os script_path = os.path.dirname(os.path.realpath(__file__)) sys.path.append(script_path) pytest_plugins = [ "data.setup_fixtures", ]
data/google-cloud-bigtable-2.23.0/tests/system/conftest.py
132
80
354,504
LOAD_CONST 'Serialization and deserialization.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('dumpd', 'dumps') IMPORT_NAME langchain_core.load.dump IMPORT_FROM dumpd STORE_NAME dumpd IMPORT_FROM dumps STORE_NAME dumps POP_TOP LOAD_CONST 0 LOAD_CONST ('load', 'loads') IMPORT_NAME langchain_core.load.load IMPORT_FROM lo...
"""Serialization and deserialization.""" from langchain_core.load.dump import dumpd, dumps from langchain_core.load.load import load, loads from langchain_core.load.serializable import Serializable __all__ = ["dumpd", "dumps", "load", "loads", "Serializable"]
data/langchain_core-0.1.25/langchain_core/load/__init__.py
171
80
434,965
LOAD_CONST 0 LOAD_CONST ('FastAPI', 'Request') IMPORT_NAME fastapi IMPORT_FROM FastAPI STORE_NAME FastAPI IMPORT_FROM Request STORE_NAME Request POP_TOP LOAD_NAME FastAPI CALL_FUNCTION STORE_NAME app LOAD_NAME app LOAD_METHOD get LOAD_CONST '/items/{item_id}' CALL_METHOD LOAD_NAME str LOAD_NAME Request LOAD_CONST ('...
from fastapi import FastAPI, Request app = FastAPI() @app.get("/items/{item_id}") def read_root(item_id: str, request: Request): client_host = request.client.host return {"client_host": client_host, "item_id": item_id}
data/fastapi-0.109.2/docs_src/using_request_directly/tutorial001.py
177
80
142,562
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pytest STORE_NAME pytest LOAD_NAME pytest LOAD_ATTR fixture LOAD_CONST 'file' LOAD_CONST 'path' BUILD_LIST LOAD_CONST ('params',) CALL_FUNCTION LOAD_CONST <code object filelike at 0x7fab703bb4b0, file "f.py", line 4> LOAD_CONST 'filelike' MAKE_FUNCTION CALL_FUNCTION STORE_NAME ...
import pytest @pytest.fixture(params=["file", "path"]) def filelike(request, tmp_path): file = tmp_path / "testpath.txt" if request.param == "file": return str(file) if request.param == "path": return file
data/resfo-4.1.0/conftest.py
170
80
207,717
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'DJANGO_SETTINGS_MODULE' LOAD_CONST 'proj.settings' CALL_METH...
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "proj.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
data/ddtrace-2.6.3/tests/contrib/django_celery/app/manage.py
153
80
269,929
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME argparse STORE_NAME argparse LOAD_CONST 0 LOAD_CONST ('contents', 'where') IMPORT_NAME pip._vendor.certifi IMPORT_FROM contents STORE_NAME contents IMPORT_FROM where STORE_NAME where POP_TOP LOAD_NAME argparse LOAD_METHOD ArgumentParser CALL_METHOD STORE_NAME parser LOAD_NAME...
import argparse from pip._vendor.certifi import contents, where parser = argparse.ArgumentParser() parser.add_argument("-c", "--contents", action="store_true") args = parser.parse_args() if args.contents: print(contents()) else: print(where())
data/pyLDAvis-3.4.1/pyLDAvis/lib/python3.11/site-packages/pip/_vendor/certifi/__main__.py
162
80
230,532
LOAD_CONST 0 LOAD_CONST ('multi_backend',) IMPORT_NAME keras_tuner.src.backend.config IMPORT_FROM multi_backend STORE_NAME multi_backend POP_TOP LOAD_NAME multi_backend CALL_FUNCTION POP_JUMP_IF_FALSE LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME keras.random IMPORT_STAR JUMP_FORWARD to 36 LOAD_CONST 0 LOAD_CONST ('*',...
from keras_tuner.src.backend.config import multi_backend if multi_backend(): from keras.random import * # noqa: F403, F401 else: from tensorflow.random import * # noqa: F403, F401
data/keras-tuner-1.4.6/keras_tuner/src/backend/random.py
102
80
404,491
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME BookmarksDocument STORE_NAME BookmarksDocument LOAD_CONST 0 LOAD_CONST None IMPORT_NAME DNDArrayController STORE_NAME DNDArrayController LOAD_CONST 0 LOAD_CONST None IMPORT_NAME DNDTableView STORE_NAME DNDTableView LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JU...
import BookmarksDocument # noqa: F401 import DNDArrayController # noqa: F401 import DNDTableView # noqa: F401 if __name__ == "__main__": from PyObjCTools import AppHelper AppHelper.runEventLoop()
data/pyobjc-framework-Cocoa-10.1/Examples/AppKit/CocoaBindings/Bookmarks/Bookmarks.py
122
80
64,616
LOAD_CONST './fsaf_r50_fpn_1x_coco.py' STORE_NAME _base_ LOAD_NAME dict LOAD_NAME dict LOAD_CONST 101 LOAD_NAME dict LOAD_CONST 'Pretrained' LOAD_CONST 'torchvision://resnet101' LOAD_CONST ('type', 'checkpoint') CALL_FUNCTION LOAD_CONST ('depth', 'init_cfg') CALL_FUNCTION LOAD_CONST ('backbone',) CALL_FUNCTION STOR...
_base_ = "./fsaf_r50_fpn_1x_coco.py" model = dict( backbone=dict( depth=101, init_cfg=dict(type="Pretrained", checkpoint="torchvision://resnet101"), ) )
data/mmdet-3.3.0/mmdet/.mim/configs/fsaf/fsaf_r101_fpn_1x_coco.py
105
80
151,628
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 SelfReplacingModule STORE_NAME SelfReplacingModule LOAD_NAME print LOAD_CONST 'Valid' LOAD_NAME SelfReplacingModule LOAD_ATTR valid CALL_FUNCTION POP...
from __future__ import print_function import SelfReplacingModule print("Valid", SelfReplacingModule.valid) try: print("InValid", SelfReplacingModule.invalid) except Exception as e: print("Occurred", repr(e)) else: print("No Exception!")
data/Nuitka-2.0.3/tests/programs/module_object_replacing/ModuleObjectReplacingMain.py
208
80
148,290
LOAD_CONST 0 LOAD_CONST ('gcp_audit_info',) IMPORT_NAME prowler.providers.gcp.lib.audit_info.audit_info IMPORT_FROM gcp_audit_info STORE_NAME gcp_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('ServiceUsage',) IMPORT_NAME prowler.providers.gcp.services.serviceusage.serviceusage_service IMPORT_FROM ServiceUsage STORE_NAME...
from prowler.providers.gcp.lib.audit_info.audit_info import gcp_audit_info from prowler.providers.gcp.services.serviceusage.serviceusage_service import ( ServiceUsage, ) serviceusage_client = ServiceUsage(gcp_audit_info)
data/prowler-3.14.0/prowler/providers/gcp/services/serviceusage/serviceusage_client.py
129
80
182,936
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ibis STORE_NAME ibis LOAD_NAME ibis LOAD_ATTR table LOAD_CONST 'star1' LOAD_CONST 'int32' LOAD_CONST 'float64' LOAD_CONST 'string' LOAD_CONST 'string' LOAD_CONST ('c', 'f', 'foo_id', 'bar_id') BUILD_CONST_KEY_MAP LOAD_CONST ('name', 'schema') CALL_FUNCTION STORE_NAME star1 L...
import ibis star1 = ibis.table( name="star1", schema={"c": "int32", "f": "float64", "foo_id": "string", "bar_id": "string"}, ) result = star1.order_by(star1.f.asc())
data/ibis_framework-8.0.0/ibis/tests/sql/snapshots/test_select_sql/test_select_sql/single_column/decompiled.py
121
80
161,246
LOAD_CONST 0 LOAD_CONST ('urlparse',) IMPORT_NAME urllib.parse IMPORT_FROM urlparse STORE_NAME urlparse POP_TOP LOAD_NAME str LOAD_NAME str LOAD_CONST ('url', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object region_from_applicationautoscaling_url at 0x7fab82343d20, file "f.py", line 4> LOAD_CONST 'region_from_app...
from urllib.parse import urlparse def region_from_applicationautoscaling_url(url: str) -> str: domain = urlparse(url).netloc if "." in domain: return domain.split(".")[1] else: return "us-east-1"
data/moto-5.0.2/moto/applicationautoscaling/utils.py
190
80
198,166
LOAD_CONST './rpn_r50_fpn_2x_coco.py' STORE_NAME _base_ LOAD_NAME dict LOAD_NAME dict LOAD_CONST 101 LOAD_NAME dict LOAD_CONST 'Pretrained' LOAD_CONST 'torchvision://resnet101' LOAD_CONST ('type', 'checkpoint') CALL_FUNCTION LOAD_CONST ('depth', 'init_cfg') CALL_FUNCTION LOAD_CONST ('backbone',) CALL_FUNCTION STORE...
_base_ = "./rpn_r50_fpn_2x_coco.py" model = dict( backbone=dict( depth=101, init_cfg=dict(type="Pretrained", checkpoint="torchvision://resnet101"), ) )
data/mmdet-3.3.0/mmdet/.mim/configs/rpn/rpn_r101_fpn_2x_coco.py
105
80
151,910
LOAD_CONST 0 LOAD_CONST ('greenlet',) IMPORT_NAME stackless IMPORT_FROM greenlet STORE_NAME greenlet POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 0 LOAD_CONST None IMPORT_NAME types STORE_NAME types LOAD_CONST <code object emulate at 0x7faab8381c00, file "f.py", line 7> LOAD_CONST '...
from stackless import greenlet import sys import types def emulate(): module = types.ModuleType("greenlet") sys.modules["greenlet"] = module module.greenlet = greenlet module.getcurrent = greenlet.getcurrent module.GreenletExit = greenlet.GreenletExit
data/eventlet-0.35.1/eventlet/support/stacklesspypys.py
191
80
361,975
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'network lb outbound-rule' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7faa5e81f0c0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD...
from azure.cli.core.aaz import * @register_command_group( "network lb outbound-rule", ) class __CMDGroup(AAZCommandGroup): """Manage outbound rules of a load balancer.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/latest/network/lb/outbound_rule/__cmd_group.py
190
80
378,086
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME hubspot.crm.extensions.calling IMPORT_FROM crm ROT_TWO POP_TOP IMPORT_FROM extensions ROT_TWO POP_TOP IMPORT_FROM calling STORE_NAME api_client POP_TOP LOAD_CONST 4 LOAD_CONST ('DiscoveryBase',) IMPORT_NAME discovery_base IMPORT_FROM DiscoveryBase STORE_NAME DiscoveryBase POP_T...
import hubspot.crm.extensions.calling as api_client from ....discovery_base import DiscoveryBase class Discovery(DiscoveryBase): @property def settings_api(self) -> api_client.SettingsApi: return self._configure_api_client(api_client, "SettingsApi")
data/hubspot-api-client-8.2.1/hubspot/discovery/crm/extensions/calling/discovery.py
270
80
320,774
LOAD_CONST 0 LOAD_CONST ('MetaflowException',) IMPORT_NAME metaflow.exception IMPORT_FROM MetaflowException STORE_NAME MetaflowException POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AirflowException at 0x7fab429fa030, file "f.py", line 4> LOAD_CONST 'AirflowException' MAKE_FUNCTION LOAD_CONST 'AirflowException' LO...
from metaflow.exception import MetaflowException class AirflowException(MetaflowException): headline = "Airflow Exception" def __init__(self, msg): super().__init__(msg) class NotSupportedException(MetaflowException): headline = "Not yet supported with Airflow"
data/metaflow-2.11.3/metaflow/plugins/airflow/exception.py
351
80
347,943
LOAD_CONST '\nTimeseries API\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('guess_datetime_format',) IMPORT_NAME pandas._libs.tslibs.parsing IMPORT_FROM guess_datetime_format STORE_NAME guess_datetime_format POP_TOP LOAD_CONST 0 LOAD_CONST ('offsets',) IMPORT_NAME pandas.tseries IMPORT_FROM offsets STORE_NAME offset...
""" Timeseries API """ from pandas._libs.tslibs.parsing import guess_datetime_format from pandas.tseries import offsets from pandas.tseries.frequencies import infer_freq __all__ = ["infer_freq", "offsets", "guess_datetime_format"]
data/pandas-2.2.0/pandas/tseries/api.py
166
80
171,384
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME logging STORE_NAME logging LOAD_NAME logging LOAD_METHOD getLogger LOAD_CONST 'aiogram.dispatcher' CALL_METHOD STORE_NAME dispatcher LOAD_NAME logging LOAD_METHOD getLogger LOAD_CONST 'aiogram.event' CALL_METHOD STORE_NAME event LOAD_NAME logging LOAD_METHOD getLogger LOAD_CO...
import logging dispatcher = logging.getLogger("aiogram.dispatcher") event = logging.getLogger("aiogram.event") middlewares = logging.getLogger("aiogram.middlewares") webhook = logging.getLogger("aiogram.webhook") scene = logging.getLogger("aiogram.scene")
data/aiogram-3.4.1/aiogram/loggers.py
132
80
53,623
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ibis STORE_NAME ibis LOAD_NAME ibis LOAD_ATTR table LOAD_CONST 'star1' LOAD_CONST 'int32' LOAD_CONST 'float64' LOAD_CONST 'string' LOAD_CONST 'string' LOAD_CONST ('c', 'f', 'foo_id', 'bar_id') BUILD_CONST_KEY_MAP LOAD_CONST ('name', 'schema') CALL_FUNCTION LOAD_METHOD limit ...
import ibis limit = ibis.table( name="star1", schema={"c": "int32", "f": "float64", "foo_id": "string", "bar_id": "string"}, ).limit(10) result = limit.filter(limit.f > 0)
data/ibis_framework-8.0.0/ibis/tests/sql/snapshots/test_select_sql/test_select_sql/limit_then_filter/decompiled.py
129
80
161,239
LOAD_CONST 'ClearMap commands.' 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 ('ExecuteCommand',) IMPORT_NAME common IMPORT_FROM ExecuteCommand STORE_NAME ExecuteCommand POP_TOP LOAD_BUILD_CLASS LOAD_C...
"""ClearMap commands.""" from __future__ import annotations from .common import ExecuteCommand class ClearMap(ExecuteCommand): """ClearMap state command.""" name = "clearMap" def __init__(self) -> None: super().__init__({"type": "all"})
data/deebot-client-5.2.1/deebot_client/commands/json/clear_map.py
298
80
357,730
LOAD_CONST './rpn_r50_fpn_1x_coco.py' STORE_NAME _base_ LOAD_NAME dict LOAD_NAME dict LOAD_CONST 101 LOAD_NAME dict LOAD_CONST 'Pretrained' LOAD_CONST 'torchvision://resnet101' LOAD_CONST ('type', 'checkpoint') CALL_FUNCTION LOAD_CONST ('depth', 'init_cfg') CALL_FUNCTION LOAD_CONST ('backbone',) CALL_FUNCTION STORE...
_base_ = "./rpn_r50_fpn_1x_coco.py" model = dict( backbone=dict( depth=101, init_cfg=dict(type="Pretrained", checkpoint="torchvision://resnet101"), ) )
data/mmdet-3.3.0/mmdet/.mim/configs/rpn/rpn_r101_fpn_1x_coco.py
105
80
151,911
LOAD_CONST 1 LOAD_CONST ('BaseClientParser',) IMPORT_NAME IMPORT_FROM BaseClientParser STORE_NAME BaseClientParser POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Game at 0x7f8e2fec3ae0, file "f.py", line 4> LOAD_CONST 'Game' MAKE_FUNCTION LOAD_CONST 'Game' LOAD_NAME BaseClientParser CALL_FUNCTION STORE_NAME Game LO...
from . import BaseClientParser class Game(BaseClientParser): fixture_files = [ "local/client/games.yml", ] def dtype(self): return self.calculated_dtype or "game" __all__ = [ "Game", ]
data/device_detector-5.0.1/device_detector/parser/client/game.py
216
80
336,764
LOAD_CONST 0 LOAD_CONST ('DateTimeField', 'Func', 'UUIDField') IMPORT_NAME django.db.models IMPORT_FROM DateTimeField STORE_NAME DateTimeField IMPORT_FROM Func STORE_NAME Func IMPORT_FROM UUIDField STORE_NAME UUIDField POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object RandomUUID at 0x7f8af04b88a0, file "f.py", line 4> ...
from django.db.models import DateTimeField, Func, UUIDField class RandomUUID(Func): template = "GEN_RANDOM_UUID()" output_field = UUIDField() class TransactionNow(Func): template = "CURRENT_TIMESTAMP" output_field = DateTimeField()
data/Django-5.0.2/django/contrib/postgres/functions.py
288
80
326,702
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ObjectInfoGrbit at 0x7f8e4475c930, file "f.py", line 4> LOAD_CONST 'ObjectInfoGrbit' MAKE_FUNCTION LOAD_CONST 'ObjectInfoGrbit' LOAD_NAME Enum CALL_FUNCTION STORE_NAME ObjectInfoGrbit LO...
from enum import Enum class ObjectInfoGrbit(Enum): """ ObjectInfoGrbit Table options, used in <see cref="JET_OBJECTINFO"/>. """ Bookmark = 0x1 Rollback = 0x2 Updatable = 0x4
data/dsinternals-1.2.4/dsinternals/microsoft/isam/esent/interop/ObjectInfoGrbit.py
194
80
10,398
LOAD_CONST 0 LOAD_CONST ('Annotated', 'Union') IMPORT_NAME typing IMPORT_FROM Annotated STORE_NAME Annotated IMPORT_FROM Union STORE_NAME Union POP_TOP LOAD_CONST 0 LOAD_CONST ('Cookie', 'FastAPI') IMPORT_NAME fastapi IMPORT_FROM Cookie STORE_NAME Cookie IMPORT_FROM FastAPI STORE_NAME FastAPI POP_TOP LOAD_NAME FastAP...
from typing import Annotated, Union from fastapi import Cookie, FastAPI app = FastAPI() @app.get("/items/") async def read_items(ads_id: Annotated[Union[str, None], Cookie()] = None): return {"ads_id": ads_id}
data/fastapi-0.109.2/docs_src/cookie_params/tutorial001_an_py39.py
214
80
142,559
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 ('FileStorageClient',) IMPORT_NAME file_storage_client IMPORT_FROM FileStorageClient STORE_NAME FileStorageClient POP_TOP LOAD_CONST 1 LOAD_CONST ('FileStorageClie...
from __future__ import absolute_import from .file_storage_client import FileStorageClient from .file_storage_client_composite_operations import ( FileStorageClientCompositeOperations, ) from . import models __all__ = ["FileStorageClient", "FileStorageClientCompositeOperations", "models"]
data/oci-2.122.0/src/oci/file_storage/__init__.py
169
80
411,254
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 SpecialTermResult at 0x7fab822368a0, file "f.py", line 4> LOAD_CONST 'SpecialTermResult' MAKE_FUNCTION LOAD_CONST 'SpecialTermResult' LOAD_...
from office365.runtime.client_value import ClientValue class SpecialTermResult(ClientValue): """Represents a row in the Table property of a SpecialTermResults Table""" @property def entity_type_name(self): return "Microsoft.Office.Server.Search.REST.SpecialTermResult"
data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/search/special_term_result.py
239
80
189,448
LOAD_CONST 'Auxiliary module for testing gflags.py.\n\nThe purpose of this module is to test the behavior of flags that are defined\nbefore main() executes.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME gflags STORE_NAME gflags LOAD_NAME gflags LOAD_ATTR FLAGS STORE_NAME FLAGS LOAD_NAME gflags LOAD_...
"""Auxiliary module for testing gflags.py. The purpose of this module is to test the behavior of flags that are defined before main() executes. """ import gflags FLAGS = gflags.FLAGS gflags.DEFINE_boolean("tmod_baz_x", True, "Boolean flag.")
data/python-gflags-3.1.2/gflags/flags_modules_for_testing/module_baz.py
119
80
157,381
LOAD_CONST '\nThe Object Graphics Library provides for simple drawing and manipulation\nof 2D objects.\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME basic IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME diagram IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME canvas IMPORT_STAR LOAD_...
""" The Object Graphics Library provides for simple drawing and manipulation of 2D objects. """ from .basic import * from .diagram import * from .canvas import * from .lines import * from .bmpshape import * from .divided import * from .composit import * from .drawn import *
data/wxPython-4.2.1/wx/lib/ogl/__init__.py
168
80
301,043
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME time STORE_NAME time LOAD_NAME time LOAD_ATTR sleep STORE_NAME sleep LOAD_BUILD_CLASS LOAD_CONST <code object sleep_using_event at 0x7faa8c241db0, file "f.py", line 6> LOAD_CONST 'sleep_using_event' MAKE_FUNCTION LOAD_CONST 'sleep_using_event' LOAD_NAME object CALL_FUNCTION ST...
import time sleep = time.sleep class sleep_using_event(object): """Sleep strategy that waits on an event to be set.""" def __init__(self, event): self.event = event def __call__(self, timeout): self.event.wait(timeout=timeout)
data/dbnd-1.0.21.5/src/dbnd/_vendor/tenacity/nap.py
303
80
272,093
LOAD_CONST 0 LOAD_CONST ('EntityPath',) IMPORT_NAME office365.runtime.paths.v4.entity IMPORT_FROM EntityPath STORE_NAME EntityPath POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object RootPath at 0x7fab7002b9c0, file "f.py", line 4> LOAD_CONST 'RootPath' MAKE_FUNCTION LOAD_CONST 'RootPath' LOAD_NAME EntityPath CALL_FUNCTI...
from office365.runtime.paths.v4.entity import EntityPath class RootPath(EntityPath): """Resource path for OneDrive path-based addressing""" def __init__(self, parent=None, collection=None): super(RootPath, self).__init__("root", parent, collection)
data/Office365-REST-Python-Client-2.5.5/office365/onedrive/internal/paths/root.py
265
80
188,550
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME time STORE_NAME time LOAD_CONST <code object make_cache_value at 0x7fab821321e0, file "f.py", line 4> LOAD_CONST 'make_cache_value' MAKE_FUNCTION STORE_NAME make_cache_value LOAD_CONST <code object is_cache_value_valid at 0x7faa5dedb540, file "f.py", line 8> LOAD_CONST 'is_cac...
import time def make_cache_value(result, ttl): return result, time.time() + ttl def is_cache_value_valid(value): return time.time() < value[1] def retrieve_result_from_cache_value(value): return value[0]
data/memoization-0.4.0/memoization/caching/general/values_with_ttl.py
256
80
371,171
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'network lb outbound-rule' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab42062db0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD...
from azure.cli.core.aaz import * @register_command_group( "network lb outbound-rule", ) class __CMDGroup(AAZCommandGroup): """Manage outbound rules of a load balancer.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/network/aaz/profile_2020_09_01_hybrid/network/lb/outbound_rule/__cmd_group.py
189
80
378,699
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME abc STORE_NAME abc LOAD_BUILD_CLASS LOAD_CONST <code object Observer at 0x7fab8203a6f0, file "f.py", line 4> LOAD_CONST 'Observer' MAKE_FUNCTION LOAD_CONST 'Observer' LOAD_NAME abc LOAD_ATTR ABC CALL_FUNCTION STORE_NAME Observer LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ ...
import abc class Observer(abc.ABC): """ An updating interface for objects, to whom metrics should be published. The published metrics can be accessed in a named tuple at publisher.data in the notify function. """ @abc.abstractmethod def notify(self, publisher): pass
data/opsgenie-sdk-2.1.5/opsgenie_sdk/metrics/observer.py
215
80
108,354
LOAD_CONST 0 LOAD_CONST ('print_function', 'division', 'absolute_import', 'annotations') IMPORT_NAME __future__ IMPORT_FROM print_function STORE_NAME print_function IMPORT_FROM division STORE_NAME division IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOA...
from __future__ import print_function, division, absolute_import, annotations from ..messages import backend_messages from ..messages.backend_messages import * from ..messages import frontend_messages from ..messages.frontend_messages import * __all__ = backend_messages.__all__ + frontend_messages.__all__
data/vertica-python-1.3.8/vertica_python/vertica/messages/__init__.py
201
80
286,999
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('MobileNet',) IMPORT_NAME tf_keras.src.applications.mobilenet IMPORT_FROM MobileNet STORE_NAME MobileNet POP_TOP LOAD_CONST 0 LOAD_CONST ('decode_predictions',) IMPORT_NAME tf_keras.src.applications.mobilenet IMPORT_FROM decode_predi...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.applications.mobilenet import MobileNet from tf_keras.src.applications.mobilenet import decode_predictions from tf_keras.src.applications.mobilenet import preprocess_input
data/tf_keras-2.15.0/tf_keras/api/_v1/keras/applications/mobilenet/__init__.py
155
80
354,051
LOAD_CONST <code object _get_system_version at 0x7fab0028b810, file "f.py", line 1> LOAD_CONST '_get_system_version' MAKE_FUNCTION STORE_NAME _get_system_version LOAD_CONST None RETURN_VALUE LOAD_GLOBAL __file__ LOAD_CONST None COMPARE_OP is POP_JUMP_IF_FALSE SETUP_EXCEPT to 18 LOAD_CONST 5 STORE_FAST m POP_BLOCK JU...
def _get_system_version(): if __file__ is None: try: m = 5 except IOError: pass else: try: m = 10 finally: m = 15 if m is not None: m = 20 return m
data/uncompyle6-3.9.0/test/simple_source/bug33/01_try_except.py
188
80
442,107
LOAD_CONST 0 LOAD_CONST ('Schema',) IMPORT_NAME frictionless IMPORT_FROM Schema STORE_NAME Schema POP_TOP LOAD_CONST <code object test_describe_schema_issue_1232_1364 at 0x7fab820d6300, file "f.py", line 4> LOAD_CONST 'test_describe_schema_issue_1232_1364' MAKE_FUNCTION STORE_NAME test_describe_schema_issue_1232_1364 ...
from frictionless import Schema def test_describe_schema_issue_1232_1364(): schema = Schema.describe("data/leading-zeros.csv") assert schema.to_descriptor() == {"fields": [{"name": "value", "type": "integer"}]}
data/frictionless-5.16.1/tests/schema/test_describe.py
207
80
41,643
LOAD_CONST 0 LOAD_CONST ('Entity',) IMPORT_NAME office365.entity IMPORT_FROM Entity STORE_NAME Entity POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object ApplicationServicePrincipal at 0x7fab81f0b540, file "f.py", line 4> LOAD_CONST 'ApplicationServicePrincipal' MAKE_FUNCTION LOAD_CONST 'ApplicationServicePrincipal' LOAD...
from office365.entity import Entity class ApplicationServicePrincipal(Entity): """ When an instance of an application from the Azure AD application gallery is added, application and servicePrincipal objects are created in the directory. The applicationServicePrincipal represents the concatenation of the ...
data/Office365-REST-Python-Client-2.5.5/office365/directory/applications/service_principal.py
192
80
188,827
LOAD_CONST 'Functions that map python types to widgets.' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('get_widget_class', 'register_type', 'type2callback', 'type_registered') IMPORT_NAME _type_map IMPORT_FROM get_widget_class STORE_NAME get_widget_class IMPORT_FROM register_type STORE_NAME register_type IMPORT_FROM typ...
"""Functions that map python types to widgets.""" from ._type_map import get_widget_class, register_type, type2callback, type_registered __all__ = [ "get_widget_class", "register_type", "type_registered", "type2callback", ]
data/magicgui-0.8.1/src/magicgui/type_map/__init__.py
149
80
328,105
LOAD_CONST 0 LOAD_CONST ('ApiForget',) IMPORT_NAME onelogin.paths.api_2_risk_rules.get IMPORT_FROM ApiForget STORE_NAME ApiForget POP_TOP LOAD_CONST 0 LOAD_CONST ('ApiForpost',) IMPORT_NAME onelogin.paths.api_2_risk_rules.post IMPORT_FROM ApiForpost STORE_NAME ApiForpost POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code obje...
from onelogin.paths.api_2_risk_rules.get import ApiForget from onelogin.paths.api_2_risk_rules.post import ApiForpost class Api2RiskRules( ApiForget, ApiForpost, ): pass
data/onelogin-3.1.6/onelogin/apis/paths/api_2_risk_rules.py
218
80
397,266
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_CONST 0 LOAD_CONST None IMPORT_NAME argparse STORE_NAME argparse LOAD_NAME argparse LOAD_METHOD ArgumentParser CALL_METHOD STORE_NAME parser LOAD_NAME parser LOAD_ATTR add_argument LOAD_CONST 'input' LOAD_CONST 'the input file' LOAD_CONST ('help',) CAL...
import sys import argparse parser = argparse.ArgumentParser() parser.add_argument("input", help="the input file") options = parser.parse_args(sys.argv[1:]) with open(options.input) as f: content = f.read().strip() print(content)
data/numpy-1.26.4/vendored-meson/meson/test cases/common/90 gen extra/srcgen3.py
172
80
363,763
LOAD_CONST <code object getrlimit at 0x7faa7c181db0, file "f.py", line 1> LOAD_CONST 'getrlimit' MAKE_FUNCTION STORE_NAME getrlimit LOAD_CONST <code object getrusage at 0x7faa7c1816f0, file "f.py", line 5> LOAD_CONST 'getrusage' MAKE_FUNCTION STORE_NAME getrusage LOAD_CONST <code object setrlimit at 0x7faa7c181e40, f...
def getrlimit(*args, **kwargs): # real signature unknown raise NotImplementedError() def getrusage(*args, **kwargs): # real signature unknown raise NotImplementedError() def setrlimit(*args, **kwargs): # real signature unknown raise NotImplementedError()
data/dbnd-1.0.21.5/src/dbnd/_core/utils/platform/windows_compatible/resource.py
201
80
271,744
LOAD_CONST 0 LOAD_CONST ('migrations',) IMPORT_NAME django.db IMPORT_FROM migrations STORE_NAME migrations POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Migration at 0x7fab703bb1e0, file "f.py", line 4> LOAD_CONST 'Migration' MAKE_FUNCTION LOAD_CONST 'Migration' LOAD_NAME migrations LOAD_ATTR Migration CALL_FUNCTIO...
from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("wagtailimages", "0018_remove_rendition_filter"), ] operations = [ migrations.DeleteModel( name="Filter", ), ]
data/wagtail-6.0.1/wagtail/images/migrations/0019_delete_filter.py
179
80
199,884
LOAD_CONST 0 LOAD_CONST ('download_raw_files',) IMPORT_NAME opendatasets.utils IMPORT_FROM download_raw_files STORE_NAME download_raw_files POP_TOP LOAD_CONST <code object download at 0x7f8e2fe58930, file "f.py", line 4> LOAD_CONST 'download' MAKE_FUNCTION STORE_NAME download LOAD_CONST None RETURN_VALUE LOAD_GLOBAL ...
from opendatasets.utils import download_raw_files def download(dataset_id, data_dir, dry_run, **kwargs): download_raw_files( dataset_id, data_dir, dry_run, ["state-of-javascript-2016-responses.ndjson"] )
data/opendatasets-0.1.22/opendatasets/datasets/state-of-javascript-2016/__init__.py
142
80
405,149
LOAD_CONST 'For when pip wants to check the date or time.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME datetime STORE_NAME datetime LOAD_NAME int LOAD_NAME int LOAD_NAME int LOAD_NAME bool LOAD_CONST ('year', 'month', 'day', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object today_is_later_than a...
"""For when pip wants to check the date or time. """ import datetime def today_is_later_than(year: int, month: int, day: int) -> bool: today = datetime.date.today() given = datetime.date(year, month, day) return today > given
data/pip-24.0/src/pip/_internal/utils/datetime.py
179
80
325,025
LOAD_CONST 1 LOAD_CONST ('Preprocessor', 'TaskProcessor') IMPORT_NAME base IMPORT_FROM Preprocessor STORE_NAME Preprocessor IMPORT_FROM TaskProcessor STORE_NAME TaskProcessor POP_TOP LOAD_CONST 1 LOAD_CONST ('ImageClassificationProcessing',) IMPORT_NAME image_classification IMPORT_FROM ImageClassificationProcessing ST...
from .base import Preprocessor, TaskProcessor from .image_classification import ImageClassificationProcessing from .question_answering import QuestionAnsweringProcessing from .task_processors_manager import TaskProcessorsManager from .text_classification import TextClassificationProcessing from .token_classification im...
data/optimum-1.17.1/optimum/utils/preprocessing/__init__.py
230
80
150,283
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('MobileNet',) IMPORT_NAME tf_keras.src.applications.mobilenet IMPORT_FROM MobileNet STORE_NAME MobileNet POP_TOP LOAD_CONST 0 LOAD_CONST ('decode_predictions',) IMPORT_NAME tf_keras.src.applications.mobilenet IMPORT_FROM decode_predi...
"""AUTOGENERATED. DO NOT EDIT.""" from tf_keras.src.applications.mobilenet import MobileNet from tf_keras.src.applications.mobilenet import decode_predictions from tf_keras.src.applications.mobilenet import preprocess_input
data/tf_keras-2.15.0/tf_keras/applications/mobilenet/__init__.py
155
80
353,599
LOAD_CONST 1 LOAD_CONST ('theme_gray',) IMPORT_NAME theme_gray IMPORT_FROM theme_gray STORE_NAME theme_gray POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object theme_bw at 0x7faa75c445d0, file "f.py", line 4> LOAD_CONST 'theme_bw' MAKE_FUNCTION LOAD_CONST 'theme_bw' LOAD_NAME theme_gray CALL_FUNCTION STORE_NAME theme_bw ...
from .theme_gray import theme_gray class theme_bw(theme_gray): """ White background w/ black gridlines """ def __init__(self): super(theme_bw, self).__init__() self._rcParams["axes.facecolor"] = "white"
data/ggplot-0.11.5/ggplot/themes/theme_bw.py
276
80
356,621
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME CoreLocation STORE_NAME CoreLocation LOAD_CONST 0 LOAD_CONST ('TestCase', 'min_os_level') IMPORT_NAME PyObjCTools.TestSupport IMPORT_FROM TestCase STORE_NAME TestCase IMPORT_FROM min_os_level STORE_NAME min_os_level POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TestCLHeadin...
import CoreLocation from PyObjCTools.TestSupport import TestCase, min_os_level class TestCLHeading(TestCase): @min_os_level("10.7") def testConstants10_7(self): self.assertIsInstance(CoreLocation.kCLHeadingFilterNone, float)
data/pyobjc-framework-CoreLocation-10.1/PyObjCTest/test_clheading.py
283
80
439,248
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typer STORE_NAME typer LOAD_NAME typer LOAD_ATTR Option LOAD_CONST Ellipsis LOAD_CONST True LOAD_CONST True LOAD_CONST ('prompt', 'confirmation_prompt') CALL_FUNCTION BUILD_TUPLE LOAD_NAME str LOAD_NAME str LOAD_CONST ('name', 'email') BUILD_CONST_KEY_MAP LOAD_CONST <code objec...
import typer def main( name: str, email: str = typer.Option(..., prompt=True, confirmation_prompt=True) ): print(f"Hello {name}, your email is {email}") if __name__ == "__main__": typer.run(main)
data/typer-0.9.0/docs_src/options/password/tutorial001.py
184
80
224,419
LOAD_CONST '\nBinaryOrNot\n-----------\n\nObjects defined in this module were adapted from\n`BinaryOrNot <https://github.com/audreyr/binaryornot>`_.\n' STORE_NAME __doc__ LOAD_CONST 'Audrey Roy' STORE_NAME __author__ LOAD_CONST 'audreyr@gmail.com' STORE_NAME __email__ LOAD_CONST '0.4.0' STORE_NAME __version__ LOAD_C...
""" BinaryOrNot ----------- Objects defined in this module were adapted from `BinaryOrNot <https://github.com/audreyr/binaryornot>`_. """ __author__ = "Audrey Roy" __email__ = "audreyr@gmail.com" __version__ = "0.4.0"
data/spyder-5.5.1/spyder/utils/external/binaryornot/__init__.py
103
80
369,601
LOAD_CONST 0 LOAD_CONST ('gapic_version',) IMPORT_NAME google.events.cloud.pubsub_v1 IMPORT_FROM gapic_version STORE_NAME package_version POP_TOP LOAD_NAME package_version LOAD_ATTR __version__ STORE_NAME __version__ LOAD_CONST 1 LOAD_CONST ('MessagePublishedData',) IMPORT_NAME types.data IMPORT_FROM MessagePublished...
from google.events.cloud.pubsub_v1 import gapic_version as package_version __version__ = package_version.__version__ from .types.data import MessagePublishedData from .types.data import PubsubMessage __all__ = ( "MessagePublishedData", "PubsubMessage", )
data/google-events-0.11.0/src/google/events/cloud/pubsub_v1/__init__.py
138
80
13,413
LOAD_CONST '\nThe fonts module implements some helpful functions for dealing with system\nfonts.\n' STORE_NAME __doc__ LOAD_CONST 'list_fonts' BUILD_LIST STORE_NAME __all__ LOAD_CONST 1 LOAD_CONST ('_load_glyph', 'list_fonts') IMPORT_NAME _triage IMPORT_FROM _load_glyph STORE_NAME _load_glyph IMPORT_FROM list_fonts S...
""" The fonts module implements some helpful functions for dealing with system fonts. """ __all__ = ["list_fonts"] from ._triage import _load_glyph, list_fonts # noqa, analysis:ignore from ._vispy_fonts import _vispy_fonts # noqa, analysis:ignore
data/vispy-0.14.1/vispy/util/fonts/__init__.py
134
80
348,477
LOAD_CONST <code object register_sms_voice_hide at 0x7fab70078db0, file "f.py", line 1> LOAD_CONST 'register_sms_voice_hide' MAKE_FUNCTION STORE_NAME register_sms_voice_hide LOAD_CONST <code object hide_sms_voice at 0x7fab70078300, file "f.py", line 5> LOAD_CONST 'hide_sms_voice' MAKE_FUNCTION STORE_NAME hide_sms_voic...
def register_sms_voice_hide(event_emitter): event_emitter.register("building-command-table.main", hide_sms_voice) def hide_sms_voice(command_table, session, **kwargs): command_table["sms-voice"]._UNDOCUMENTED = True
data/awscli-1.32.46/awscli/customizations/sms_voice.py
195
80
89,162
LOAD_CONST 0 STORE_NAME VERSION_MAJOR LOAD_CONST 1 STORE_NAME VERSION_MINOR LOAD_CONST 2 STORE_NAME VERSION_BUILD LOAD_NAME VERSION_MAJOR LOAD_NAME VERSION_MINOR LOAD_NAME VERSION_BUILD BUILD_TUPLE STORE_NAME VERSION_INFO LOAD_CONST '%d.%d.%d' LOAD_NAME VERSION_INFO BINARY_MODULO STORE_NAME VERSION_STRING LOAD_NAM...
VERSION_MAJOR = 0 VERSION_MINOR = 1 VERSION_BUILD = 2 VERSION_INFO = (VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD) VERSION_STRING = "%d.%d.%d" % VERSION_INFO __version__ = VERSION_INFO
data/pathtools-0.1.2/pathtools/version.py
120
80
88,822
LOAD_CONST 0 LOAD_CONST ('PackageNotFoundError', 'version') IMPORT_NAME importlib.metadata IMPORT_FROM PackageNotFoundError STORE_NAME PackageNotFoundError IMPORT_FROM version STORE_NAME version POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME django STORE_NAME django SETUP_EXCEPT to 38 LOAD_NAME version LOAD_CONST ...
from importlib.metadata import PackageNotFoundError, version import django try: __version__ = version("django-formtools") except PackageNotFoundError: __version__ = None if django.VERSION <= (3, 2): default_app_config = "formtools.apps.FormToolsConfig"
data/django-formtools-2.5.1/formtools/__init__.py
175
80
204,708
LOAD_CONST 0 LOAD_CONST ('DEFAULT_ALIAS',) IMPORT_NAME haystack.constants IMPORT_FROM DEFAULT_ALIAS STORE_NAME DEFAULT_ALIAS POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BaseRouter at 0x7fab82034ae0, file "f.py", line 4> LOAD_CONST 'BaseRouter' MAKE_FUNCTION LOAD_CONST 'BaseRouter' CALL_FUNCTION STORE_NAME BaseRou...
from haystack.constants import DEFAULT_ALIAS class BaseRouter: pass class DefaultRouter(BaseRouter): def for_read(self, **hints): return DEFAULT_ALIAS def for_write(self, **hints): return DEFAULT_ALIAS
data/django-haystack-3.2.1/haystack/routers.py
351
80
64,939
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 Softplus at 0x7fab700781e0, file "f.py", line 6> LOAD_CONST 'Softplus' MAKE_FUNCTION LOAD_CONST 'S...
import numpy as np from ._op import OpRunUnaryNum class Softplus(OpRunUnaryNum): def _run(self, X): # type: ignore tmp = np.exp(X) tmp += 1 np.log(tmp, out=tmp) return (tmp,)
data/onnxoptimizer-0.3.13/third_party/onnx/onnx/reference/ops/op_softplus.py
252
80
85,605
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST None IMPORT_NAME appdirs STORE_NAME appdirs LOAD_NAME appdirs LOAD_METHOD user_config_dir LOAD_CONST 'Open Interpreter' CALL_METHOD STORE_NAME config_dir LOAD_CONST (None,) LOAD_CONST <code object get_storage_path at 0x7f8e2fcbf5d0, fi...
import os import appdirs config_dir = appdirs.user_config_dir("Open Interpreter") def get_storage_path(subdirectory=None): if subdirectory is None: return config_dir else: return os.path.join(config_dir, subdirectory)
data/open_interpreter-0.2.0/interpreter/terminal_interface/utils/local_storage_path.py
172
80
10,150
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 ('LicenseManagerClient',) IMPORT_NAME license_manager_client IMPORT_FROM LicenseManagerClient STORE_NAME LicenseManagerClient POP_TOP LOAD_CONST 1 LOAD_CONST ('Lic...
from __future__ import absolute_import from .license_manager_client import LicenseManagerClient from .license_manager_client_composite_operations import ( LicenseManagerClientCompositeOperations, ) from . import models __all__ = ["LicenseManagerClient", "LicenseManagerClientCompositeOperations", "models"]
data/oci-2.122.0/src/oci/license_manager/__init__.py
169
80
179,093
LOAD_CONST 0 LOAD_CONST ('load',) IMPORT_NAME json_stream.loader IMPORT_FROM load STORE_NAME load POP_TOP LOAD_CONST 0 LOAD_CONST ('visit',) IMPORT_NAME json_stream.visitor IMPORT_FROM visit STORE_NAME visit POP_TOP LOAD_CONST 0 LOAD_CONST ('streamable_list', 'streamable_dict') IMPORT_NAME json_stream.writer IMPORT_F...
from json_stream.loader import load # noqa: F401 from json_stream.visitor import visit # noqa: F401 from json_stream.writer import streamable_list, streamable_dict # noqa: F401 from json_stream.util import to_standard_types
data/json-stream-2.3.2/src/json_stream/__init__.py
148
80
246,784
LOAD_CONST 0 LOAD_CONST ('Field', 'BaseModel') IMPORT_NAME pydantic IMPORT_FROM Field STORE_NAME Field IMPORT_FROM BaseModel STORE_NAME BaseModel POP_TOP LOAD_CONST 0 LOAD_CONST ('Optional',) IMPORT_NAME typing IMPORT_FROM Optional STORE_NAME Optional POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object FormulaAutocomple...
from pydantic import Field, BaseModel from typing import Optional class FormulaAutocomplete(BaseModel): """ Class defining formula autocomplete return data """ formula_pretty: Optional[str] = Field( None, description="Human readable chemical formula.", )
data/emmet-core-0.77.1/emmet/core/formula_autocomplete.py
249
80
308,023
LOAD_BUILD_CLASS LOAD_CONST <code object _GLUECLAMP_ at 0x7fab823b58a0, file "f.py", line 1> LOAD_CONST '_GLUECLAMP_' MAKE_FUNCTION LOAD_CONST '_GLUECLAMP_' CALL_FUNCTION STORE_NAME _GLUECLAMP_ LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOAD_CONST '_GLUECLAMP_' STORE_NAME __qualname__ LOAD_...
class _GLUECLAMP_: uniset_imports = ("UniSet", "View", "Path", "RefPat") def _get_fa(self): us = self.UniSet us.out_reach_module_names = self.uniset_imports return us.fromargs
data/guppy3-3.1.4.post1/guppy/heapy/__init__.py
234
80
240,997
LOAD_CONST '\nContainer for a mapper and a consumer\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('dataclass',) IMPORT_NAME dataclasses IMPORT_FROM dataclass STORE_NAME dataclass POP_TOP LOAD_CONST 0 LOAD_CONST ('ListInfoPullerConsumer', 'Mapper') IMPORT_NAME samcli.lib.list.list_interfaces IMPORT_FROM ListInfoPulle...
""" Container for a mapper and a consumer """ from dataclasses import dataclass from samcli.lib.list.list_interfaces import ListInfoPullerConsumer, Mapper @dataclass class MapperConsumerContainer: mapper: Mapper consumer: ListInfoPullerConsumer
data/aws-sam-cli-1.109.0/samcli/lib/list/mapper_consumer_container.py
255
80
432,380
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'DJANGO_SETTINGS_MODULE' LOAD_CONST 'demo.settings' CALL_METH...
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "demo.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
data/dj-rest-auth-5.0.2/demo/manage.py
154
80
336,007
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'DJANGO_SETTINGS_MODULE' LOAD_CONST 'testapp.settings' CALL_M...
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "testapp.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
data/rules-3.3/tests/manage.py
154
80
108,104
LOAD_CONST 0 LOAD_CONST ('download_raw_files',) IMPORT_NAME opendatasets.utils IMPORT_FROM download_raw_files STORE_NAME download_raw_files POP_TOP LOAD_CONST <code object download at 0x7f8e2fe58930, file "f.py", line 4> LOAD_CONST 'download' MAKE_FUNCTION STORE_NAME download LOAD_CONST None RETURN_VALUE LOAD_GLOBAL ...
from opendatasets.utils import download_raw_files def download(dataset_id, data_dir, dry_run, **kwargs): download_raw_files( dataset_id, data_dir, dry_run, ["state-of-javascript-2017-responses.ndjson"] )
data/opendatasets-0.1.22/opendatasets/datasets/state-of-javascript-2017/__init__.py
142
80
405,151
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME trainer.model IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME trainer.trainer IMPORT_STAR LOAD_NAME open LOAD_NAME os LOAD_ATTR path LOAD_METHOD join LOAD_NAME os LOAD_ATTR path LOAD_METHOD dirname LOAD_NAME ...
import os from trainer.model import * from trainer.trainer import * with open( os.path.join(os.path.dirname(__file__), "VERSION"), "r", encoding="utf-8" ) as f: version = f.read().strip() __version__ = version
data/trainer-0.0.36/trainer/__init__.py
162
80
388,351
LOAD_CONST 0 LOAD_CONST ('rpc', 'WebSocketHubProvider') IMPORT_NAME nameko.web.websocket IMPORT_FROM rpc STORE_NAME rpc IMPORT_FROM WebSocketHubProvider STORE_NAME WebSocketHubProvider POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object WebsocketRpc at 0x7fab8002f5d0, file "f.py", line 4> LOAD_CONST 'WebsocketRpc' MAKE_F...
from nameko.web.websocket import rpc, WebSocketHubProvider class WebsocketRpc: name = "websocket_rpc_service" websocket_hub = WebSocketHubProvider() @rpc def echo(self, socket_id, value): return value
data/nameko-2.14.1/docs/examples/websocket_rpc.py
244
80
43,608
LOAD_CONST 0 LOAD_CONST ('get_databand_context',) IMPORT_NAME dbnd._core.current IMPORT_FROM get_databand_context STORE_NAME get_databand_context POP_TOP LOAD_CONST (None,) LOAD_CONST <code object kill_run at 0x7faa75f60540, file "f.py", line 4> LOAD_CONST 'kill_run' MAKE_FUNCTION STORE_NAME kill_run LOAD_CONST None R...
from dbnd._core.current import get_databand_context def kill_run(run_uid, ctx=None): ctx = ctx or get_databand_context() return ctx.databand_api_client.api_request(endpoint="runs/stop", data=[run_uid])
data/dbnd-1.0.21.5/src/dbnd/api/runs.py
169
80
272,140
LOAD_CONST "Dataset definition for squad.\n\nDEPRECATED!\nIf you want to use the Squad dataset builder class, use:\ntfds.builder_cls('squad')\n" STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('lazy_builder_import',) IMPORT_NAME tensorflow_datasets.core IMPORT_FROM lazy_builder_import STORE_NAME lazy_builder_import POP_TO...
"""Dataset definition for squad. DEPRECATED! If you want to use the Squad dataset builder class, use: tfds.builder_cls('squad') """ from tensorflow_datasets.core import lazy_builder_import Squad = lazy_builder_import.LazyBuilderImport("squad")
data/tensorflow-datasets-4.9.4/tensorflow_datasets/question_answering/squad/squad.py
124
80
255,311
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME argparse STORE_NAME argparse LOAD_CONST 0 LOAD_CONST ('contents', 'where') IMPORT_NAME pip._vendor.certifi IMPORT_FROM contents STORE_NAME contents IMPORT_FROM where STORE_NAME where POP_TOP LOAD_NAME argparse LOAD_METHOD ArgumentParser CALL_METHOD STORE_NAME parser LOAD_NAME...
import argparse from pip._vendor.certifi import contents, where parser = argparse.ArgumentParser() parser.add_argument("-c", "--contents", action="store_true") args = parser.parse_args() if args.contents: print(contents()) else: print(where())
data/clvm_rs-0.6.0/venv/lib/python3.7/site-packages/pip/_vendor/certifi/__main__.py
162
80
288,385
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pyinotify STORE_NAME pyinotify LOAD_NAME pyinotify LOAD_METHOD WatchManager CALL_METHOD STORE_NAME wm LOAD_NAME pyinotify LOAD_ATTR Notifier LOAD_NAME wm LOAD_CONST 10 LOAD_CONST ('read_freq',) CALL_FUNCTION STORE_NAME notifier LOAD_NAME notifier LOAD_METHOD coalesce_events C...
import pyinotify wm = pyinotify.WatchManager() notifier = pyinotify.Notifier(wm, read_freq=10) notifier.coalesce_events() wm.add_watch("/tmp", pyinotify.ALL_EVENTS) notifier.loop()
data/pyinotify-0.9.6/python2/examples/coalesce.py
135
80
17,686
LOAD_CONST "\nThis is a boilerplate pipeline '{{ cookiecutter.pipeline_name }}'\ngenerated using Kedro {{ cookiecutter.kedro_version }}\n" STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Pipeline', 'pipeline') IMPORT_NAME kedro.pipeline IMPORT_FROM Pipeline STORE_NAME Pipeline IMPORT_FROM pipeline STORE_NAME pipeline POP...
""" This is a boilerplate pipeline '{{ cookiecutter.pipeline_name }}' generated using Kedro {{ cookiecutter.kedro_version }} """ from kedro.pipeline import Pipeline, pipeline def create_pipeline(**kwargs) -> Pipeline: return pipeline([])
data/kedro-0.19.2/kedro/templates/pipeline/{{ cookiecutter.pipeline_name }}/pipeline.py
168
80
28,585
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'monitor log-analytics workspace pack' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab416c65d0, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMD...
from azure.cli.core.aaz import * @register_command_group( "monitor log-analytics workspace pack", ) class __CMDGroup(AAZCommandGroup): """Manage intelligent packs for log analytics workspace.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/monitor/aaz/latest/monitor/log_analytics/workspace/pack/__cmd_group.py
190
80
374,994
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME argparse STORE_NAME argparse LOAD_CONST 0 LOAD_CONST ('contents', 'where') IMPORT_NAME pip._vendor.certifi IMPORT_FROM contents STORE_NAME contents IMPORT_FROM where STORE_NAME where POP_TOP LOAD_NAME argparse LOAD_METHOD ArgumentParser CALL_METHOD STORE_NAME parser LOAD_NAME...
import argparse from pip._vendor.certifi import contents, where parser = argparse.ArgumentParser() parser.add_argument("-c", "--contents", action="store_true") args = parser.parse_args() if args.contents: print(contents()) else: print(where())
data/pip-24.0/src/pip/_vendor/certifi/__main__.py
162
80
324,732
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME functools STORE_NAME functools LOAD_CONST 0 LOAD_CONST None IMPORT_NAME hashlib STORE_NAME hashlib LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME sys LOAD_ATTR version_info LOAD_CONST (3, 9) COMPARE_OP >= POP_JUMP_IF_FALSE LOAD_CONST 'usedforsecurity' L...
import functools import hashlib import sys _kwargs = {"usedforsecurity": False} if sys.version_info >= (3, 9) else {} md5 = functools.partial(hashlib.md5, **_kwargs) sha1 = functools.partial(hashlib.sha1, **_kwargs)
data/mlflow-2.10.2/mlflow/utils/insecure_hash.py
156
80
43,803
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 ('ResourceSearchClient',) IMPORT_NAME resource_search_client IMPORT_FROM ResourceSearchClient STORE_NAME ResourceSearchClient POP_TOP LOAD_CONST 1 LOAD_CONST ('Res...
from __future__ import absolute_import from .resource_search_client import ResourceSearchClient from .resource_search_client_composite_operations import ( ResourceSearchClientCompositeOperations, ) from . import models __all__ = ["ResourceSearchClient", "ResourceSearchClientCompositeOperations", "models"]
data/oci-2.122.0/src/oci/resource_search/__init__.py
169
80
180,692
LOAD_CONST 0 LOAD_CONST ('TestCase', 'main') IMPORT_NAME unittest IMPORT_FROM TestCase STORE_NAME TestCase IMPORT_FROM main STORE_NAME main POP_TOP LOAD_CONST 0 LOAD_CONST ('RandomWords',) IMPORT_NAME random_word IMPORT_FROM RandomWords STORE_NAME RandomWords POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TestRando...
from unittest import TestCase, main from random_word import RandomWords class TestRandomWord(TestCase): r = RandomWords() def test_random_word(self): return self.r.get_random_word() if __name__ == "__main__": main()
data/Random Word-1.0.11/random_word/tests/test_random_word.py
275
80
134,981
LOAD_CONST 0 LOAD_CONST ('WerkzeugOpenAPIRequest',) IMPORT_NAME openapi_core.contrib.werkzeug.requests IMPORT_FROM WerkzeugOpenAPIRequest STORE_NAME WerkzeugOpenAPIRequest POP_TOP LOAD_CONST 0 LOAD_CONST ('WerkzeugOpenAPIResponse',) IMPORT_NAME openapi_core.contrib.werkzeug.responses IMPORT_FROM WerkzeugOpenAPIRespons...
from openapi_core.contrib.werkzeug.requests import WerkzeugOpenAPIRequest from openapi_core.contrib.werkzeug.responses import WerkzeugOpenAPIResponse __all__ = [ "WerkzeugOpenAPIRequest", "WerkzeugOpenAPIResponse", ]
data/openapi_core-0.19.0/openapi_core/contrib/werkzeug/__init__.py
141
80
271,207
LOAD_CONST 0 LOAD_CONST ('ProtobufMessageFactory',) IMPORT_NAME hedwig.testing.factories.protobuf IMPORT_FROM ProtobufMessageFactory STORE_NAME BaseProtobufMessageFactory POP_TOP LOAD_CONST 0 LOAD_CONST ('protobuf_pb2',) IMPORT_NAME tests.schemas.protos IMPORT_FROM protobuf_pb2 STORE_NAME protobuf_pb2 POP_TOP LOAD_BU...
from hedwig.testing.factories.protobuf import ( ProtobufMessageFactory as BaseProtobufMessageFactory, ) from tests.schemas.protos import protobuf_pb2 class ProtobufMessageFactory(BaseProtobufMessageFactory): class Params: protobuf_schema_module = protobuf_pb2
data/authedwig-9.3.1/tests/protobuf_factory.py
288
80
214,412
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_NAME os LOAD_ATTR environ LOAD_METHOD setdefault LOAD_CONST 'DJANGO_SETTINGS_MODULE' LOAD_CONST 'myproject.settings' CALL...
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myproject.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
data/django-tastypie-0.14.6/docs/code/manage.py
154
80
88,936
LOAD_CONST 0 LOAD_CONST ('HTMLReport',) IMPORT_NAME whylogs.viz.extensions.reports.html_report IMPORT_FROM HTMLReport STORE_NAME HTMLReport POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object DistributionChart at 0x7f8e2fa0f300, file "f.py", line 4> LOAD_CONST 'DistributionChart' MAKE_FUNCTION LOAD_CONST 'DistributionCha...
from whylogs.viz.extensions.reports.html_report import HTMLReport class DistributionChart(HTMLReport): pass class DifferenceDistributionChart(HTMLReport): pass class FeatureStatisticsReport(HTMLReport): pass class DoubleHistogram(HTMLReport): pass
data/whylogs-1.3.24/whylogs/viz/extensions/reports/histograms.py
435
80
432,408
LOAD_CONST <code object <listcomp> at 0x7faa754925d0, file "f.py", line 1> LOAD_CONST '<listcomp>' MAKE_FUNCTION LOAD_CONST 1 LOAD_CONST 2 LOAD_CONST 3 BUILD_LIST LOAD_CONST 4 LOAD_CONST 5 BUILD_LIST LOAD_CONST 6 LOAD_CONST 7 LOAD_CONST 8 LOAD_CONST 9 BUILD_LIST BUILD_LIST BUILD_LIST GET_ITER CALL_FUNCTION STORE_NAME b...
b = [[x, x * 2] for x in [1, [2, 3], [4, [5], 6, [7, 8, 9]]]] a = [ """ (((((())))) [[[[]]]]] """, "x)", "b(", ]
data/spyder-5.5.1/spyder/plugins/editor/widgets/tests/assets/braces.py
177
80
369,910
LOAD_CONST 0 LOAD_CONST ('tqdm',) IMPORT_NAME tqdm.notebook IMPORT_FROM tqdm STORE_NAME tqdm_notebook POP_TOP LOAD_CONST <code object test_notebook_disabled_description at 0x7fadb5811c00, file "f.py", line 4> LOAD_CONST 'test_notebook_disabled_description' MAKE_FUNCTION STORE_NAME test_notebook_disabled_description LO...
from tqdm.notebook import tqdm as tqdm_notebook def test_notebook_disabled_description(): """Test that set_description works for disabled tqdm_notebook""" with tqdm_notebook(1, disable=True) as t: t.set_description("description")
data/tqdm-4.66.2/tests/tests_notebook.py
171
80
310,455
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME json STORE_NAME json LOAD_CONST 0 LOAD_CONST ('Model',) IMPORT_NAME chargebee.model IMPORT_FROM Model STORE_NAME Model POP_TOP LOAD_CONST 0 LOAD_CONST ('request',) IMPORT_NAME chargebee IMPORT_FROM request STORE_NAME request POP_TOP LOAD_CONST 0 LOAD_CONST ('APIError',) IMPOR...
import json from chargebee.model import Model from chargebee import request from chargebee import APIError class ImpactedItem(Model): class Download(Model): fields = ["download_url", "valid_till", "mime_type"] pass fields = ["count", "download", "items"]
data/chargebee-2.35.0/chargebee/models/impacted_item.py
324
80
126,373
LOAD_CONST 0 LOAD_CONST ('AppConfig',) IMPORT_NAME django.apps IMPORT_FROM AppConfig STORE_NAME AppConfig POP_TOP LOAD_CONST 0 LOAD_CONST ('plugin_dir',) IMPORT_NAME health_check.plugins IMPORT_FROM plugin_dir STORE_NAME plugin_dir POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object HealthCheckConfig at 0x7fab7016fdb0, ...
from django.apps import AppConfig from health_check.plugins import plugin_dir class HealthCheckConfig(AppConfig): name = "health_check.contrib.redis" def ready(self): from .backends import RedisHealthCheck plugin_dir.register(RedisHealthCheck)
data/django-health-check-3.18.1/health_check/contrib/redis/apps.py
275
80
287,483
LOAD_CONST 0 LOAD_CONST ('IdentifierPreparer',) IMPORT_NAME sqlalchemy.sql.compiler IMPORT_FROM IdentifierPreparer STORE_NAME IdentifierPreparer POP_TOP LOAD_CONST 0 LOAD_CONST ('quote_identifier',) IMPORT_NAME clickhouse_connect.driver.query IMPORT_FROM quote_identifier STORE_NAME quote_identifier POP_TOP LOAD_BUILD...
from sqlalchemy.sql.compiler import IdentifierPreparer from clickhouse_connect.driver.query import quote_identifier class ChIdentifierPreparer(IdentifierPreparer): quote_identifier = staticmethod(quote_identifier) def _requires_quotes(self, _value): return True
data/clickhouse-connect-0.7.0/clickhouse_connect/cc_sqlalchemy/sql/preparer.py
271
80
209,554
LOAD_CONST 4 STORE_NAME param LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pandas STORE_NAME pd LOAD_NAME pd LOAD_ATTR DataFrame LOAD_CONST 1 LOAD_CONST 2 BUILD_LIST LOAD_CONST 3 LOAD_NAME param BINARY_ADD LOAD_CONST 4 BUILD_LIST LOAD_CONST ('A', 'B') BUILD_CONST_KEY_MAP LOAD_NAME pd LOAD_ATTR Index LOAD_CONST 'x0' LOAD...
param = 4 import pandas as pd df = pd.DataFrame( {"A": [1, 2], "B": [3 + param, 4]}, index=pd.Index(["x0", "x1"], name="x") ) df df.plot(kind="bar")
data/jupytext-1.16.1/tests/data/notebooks/outputs/ipynb_to_script/nteract_with_parameter.py
146
80
312,543
LOAD_CONST 0 LOAD_CONST ('absolute_import', 'division', 'print_function') IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM division STORE_NAME division IMPORT_FROM print_function STORE_NAME print_function POP_TOP LOAD_NAME type STORE_NAME __metaclass__ LOAD_CONST 0 LOAD_CONST ...
from __future__ import absolute_import, division, print_function __metaclass__ = type import json def main(): print(json.dumps(dict(changed=False, source="user_ansible_bullcoll"))) if __name__ == "__main__": main()
data/ansible-core-2.16.3/test/integration/targets/collections/collection_root_user/ansible_collections/ansible/bullcoll/plugins/modules/bullmodule.py
202
80
437,328
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME sys LOAD_ATTR version_info LOAD_CONST None LOAD_CONST 2 BUILD_SLICE BINARY_SUBSCR LOAD_CONST (3, 11) COMPARE_OP < POP_JUMP_IF_FAL...
from __future__ import annotations import sys if sys.version_info[:2] < (3, 11): from async_timeout import timeout as asyncio_timeout # noqa: F401 else: from asyncio import timeout as asyncio_timeout # noqa: F401
data/bluetooth_auto_recovery-1.3.0/src/bluetooth_auto_recovery/util.py
138
80
392,545
LOAD_CONST "Dataset definition for asset.\n\nDEPRECATED!\nIf you want to use the Asset dataset builder class, use:\ntfds.builder_cls('asset')\n" STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('lazy_builder_import',) IMPORT_NAME tensorflow_datasets.core IMPORT_FROM lazy_builder_import STORE_NAME lazy_builder_import POP_TO...
"""Dataset definition for asset. DEPRECATED! If you want to use the Asset dataset builder class, use: tfds.builder_cls('asset') """ from tensorflow_datasets.core import lazy_builder_import Asset = lazy_builder_import.LazyBuilderImport("asset")
data/tensorflow-datasets-4.9.4/tensorflow_datasets/text_simplification/asset/asset.py
124
80
255,284
LOAD_CONST 0 LOAD_CONST ('AppConfig',) IMPORT_NAME django.apps IMPORT_FROM AppConfig STORE_NAME AppConfig POP_TOP LOAD_CONST 0 LOAD_CONST ('gettext_lazy',) IMPORT_NAME django.utils.translation IMPORT_FROM gettext_lazy STORE_NAME _ POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object WagtailLocalesAppConfig at 0x7fab82343...
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ class WagtailLocalesAppConfig(AppConfig): name = "wagtail.locales" label = "wagtaillocales" verbose_name = _("Wagtail locales")
data/wagtail-6.0.1/wagtail/locales/apps.py
229
80
199,816
LOAD_CONST "Create screenshot of xmessage in background using 'smartdisplay' submodule" STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('EasyProcess',) IMPORT_NAME easyprocess IMPORT_FROM EasyProcess STORE_NAME EasyProcess POP_TOP LOAD_CONST 0 LOAD_CONST ('SmartDisplay',) IMPORT_NAME pyvirtualdisplay.smartdisplay IMPORT_...
"Create screenshot of xmessage in background using 'smartdisplay' submodule" from easyprocess import EasyProcess from pyvirtualdisplay.smartdisplay import SmartDisplay with SmartDisplay() as disp: with EasyProcess(["xmessage", "hello"]): img = disp.waitgrab() img.save("xmessage.png")
data/PyVirtualDisplay-3.0/pyvirtualdisplay/examples/screenshot.py
185
80
428,843
LOAD_CONST 0 LOAD_CONST ('absolute_import', 'division', 'print_function') IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import IMPORT_FROM division STORE_NAME division IMPORT_FROM print_function STORE_NAME print_function POP_TOP LOAD_NAME type STORE_NAME __metaclass__ LOAD_CONST 0 LOAD_CONST ...
from __future__ import absolute_import, division, print_function __metaclass__ = type from ansible.plugins.lookup import LookupBase class LookupModule(LookupBase): def run(self, terms, variables, **kwargs): return ["mylookup_from_user_dir"]
data/ansible-core-2.16.3/test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/lookup/mylookup.py
261
80
437,303