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 1 LOAD_CONST ('UnitedStates',) IMPORT_NAME core IMPORT_FROM UnitedStates STORE_NAME UnitedStates POP_TOP LOAD_CONST 2 LOAD_CONST ('iso_register',) IMPORT_NAME registry_tools IMPORT_FROM iso_register STORE_NAME iso_register POP_TOP LOAD_NAME iso_register LOAD_CONST 'US-CT' CALL_FUNCTION LOAD_BUILD_CLASS LOA...
from .core import UnitedStates from ..registry_tools import iso_register @iso_register("US-CT") class Connecticut(UnitedStates): """Connecticut""" include_good_friday = True include_lincoln_birthday = True
data/workalendar-17.0.0/workalendar/usa/connecticut.py
207
70
132,072
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.metadata_writers.bert.question_answerer.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.metadata_writers.bert.question_answerer IMPORT_STAR LOAD_CONST None RETURN_VALUE
"""Generated API for package: tensorflow_examples.lite.model_maker.core.task.metadata_writers.bert.question_answerer.""" from tensorflow_examples.lite.model_maker.core.task.metadata_writers.bert.question_answerer import *
data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/task/metadata_writers/bert/question_answerer/__init__.py
90
70
401,322
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 0 LOAD_CONST ('install_tests_in_module_dict',) IMPORT_NAME multiprocess.tests IMPORT_FROM install_tests_in_module_dict STORE_NAME install_tests_in_module_dict POP_TOP LOAD_NAME install_tests_in_module_dict LOAD_NAME globals CALL_FUNCTION...
import unittest from multiprocess.tests import install_tests_in_module_dict install_tests_in_module_dict(globals(), "fork", only_type="threads") if __name__ == "__main__": unittest.main()
data/multiprocess-0.70.16/py3.13/multiprocess/tests/test_multiprocessing_fork/test_threads.py
145
70
144,780
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('path',) IMPORT_NAME django.urls IMPORT_FROM path STORE_NAME path POP_TOP LOAD_CONST 0 LOAD_CONST ('views',) IMPORT_NAME django_browser_reload IMPORT_FROM views STORE_NAME vi...
from __future__ import annotations from django.urls import path from django_browser_reload import views app_name = "django_browser_reload" urlpatterns = [ path("events/", views.events, name="events"), ]
data/django-browser-reload-1.12.1/src/django_browser_reload/urls.py
137
70
444,679
LOAD_CONST 0 LOAD_CONST ('QUERY_URL_TMPL', 'WolframAlphaToolSpec') IMPORT_NAME llama_hub.tools.wolfram_alpha.base IMPORT_FROM QUERY_URL_TMPL STORE_NAME QUERY_URL_TMPL IMPORT_FROM WolframAlphaToolSpec STORE_NAME WolframAlphaToolSpec POP_TOP LOAD_CONST 'QUERY_URL_TMPL' LOAD_CONST 'WolframAlphaToolSpec' BUILD_LIST STORE_...
from llama_hub.tools.wolfram_alpha.base import ( QUERY_URL_TMPL, WolframAlphaToolSpec, ) __all__ = ["QUERY_URL_TMPL", "WolframAlphaToolSpec"]
data/llama_hub-0.0.79.post1/llama_hub/tools/wolfram_alpha/__init__.py
121
70
359,526
LOAD_CONST "Defines characteristics of Mozilla's version numbers." STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('DeveditionVersion', 'FirefoxVersion', 'ThunderbirdVersion') IMPORT_NAME mozilla_version.gecko IMPORT_FROM DeveditionVersion STORE_NAME DeveditionVersion IMPORT_FROM FirefoxVersion STORE_NAME FirefoxVersion I...
"""Defines characteristics of Mozilla's version numbers.""" from mozilla_version.gecko import ( DeveditionVersion, FirefoxVersion, ThunderbirdVersion, ) from mozilla_version.maven import MavenVersion from mozilla_version.mobile import MobileVersion
data/mozilla-version-2.1.0/mozilla_version/__init__.py
153
70
404,631
LOAD_CONST 0 LOAD_CONST ('StockHistoricalDataClient',) IMPORT_NAME alpaca.data.historical.stock IMPORT_FROM StockHistoricalDataClient STORE_NAME StockHistoricalDataClient POP_TOP LOAD_CONST 0 LOAD_CONST ('CryptoHistoricalDataClient',) IMPORT_NAME alpaca.data.historical.crypto IMPORT_FROM CryptoHistoricalDataClient STO...
from alpaca.data.historical.stock import StockHistoricalDataClient from alpaca.data.historical.crypto import CryptoHistoricalDataClient __all__ = [ "StockHistoricalDataClient", "CryptoHistoricalDataClient", ]
data/alpaca_py-0.16.0/alpaca/data/historical/__init__.py
128
70
293,054
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 2 LOAD_CONST ...
from __future__ import absolute_import, division, print_function __metaclass__ = type from ..module_utils.my_util import question # pylint: disable=unused-import def action_code(): return "hello from my_action.py"
data/ansible-core-2.16.3/test/units/utils/collection_loader/fixtures/collections/ansible_collections/testns/testcoll/plugins/action/my_action.py
159
70
437,742
LOAD_CONST 0 LOAD_CONST ('Final',) IMPORT_NAME typing IMPORT_FROM Final STORE_NAME Final POP_TOP LOAD_CONST 0 LOAD_CONST ('Component',) IMPORT_NAME localstack.services.stepfunctions.asl.component.component IMPORT_FROM Component STORE_NAME Component POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object StartAt at 0x7fab703...
from typing import Final from localstack.services.stepfunctions.asl.component.component import Component class StartAt(Component): def __init__(self, start_at_name: str): self.start_at_name: Final[str] = start_at_name
data/localstack-core-3.1.0/localstack/services/stepfunctions/asl/component/common/flow/start_at.py
237
70
225,354
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME azure.cli.core.aaz IMPORT_STAR LOAD_NAME register_command_group LOAD_CONST 'billing' CALL_FUNCTION LOAD_BUILD_CLASS LOAD_CONST <code object __CMDGroup at 0x7fab41e98a50, file "f.py", line 4> LOAD_CONST '__CMDGroup' MAKE_FUNCTION LOAD_CONST '__CMDGroup' LOAD_NAME AAZCommandG...
from azure.cli.core.aaz import * @register_command_group( "billing", ) class __CMDGroup(AAZCommandGroup): """Manage Azure Billing.""" pass __all__ = ["__CMDGroup"]
data/azure-cli-2.57.0/azure/cli/command_modules/billing/aaz/latest/billing/__cmd_group.py
180
70
377,355
LOAD_CONST '\n乌尔都语\n' STORE_NAME __doc__ BUILD_LIST STORE_NAME ACCURATE_REGEX_LIST BUILD_LIST STORE_NAME SUB_TRANSLATE LOAD_CONST '(?P<bM>\\d+)\\s*منٹ قبل' BUILD_LIST STORE_NAME FUZZY_REGEX_LIST LOAD_CONST None RETURN_VALUE
""" 乌尔都语 """ ACCURATE_REGEX_LIST = [] SUB_TRANSLATE = [] FUZZY_REGEX_LIST = [r"(?P<bM>\d+)\s*منٹ قبل"]
data/gggdtparser-0.1.5/gggdtparser/langs/ur.py
88
70
153,229
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 0 LOAD_CONST ('install_tests_in_module_dict',) IMPORT_NAME multiprocess.tests IMPORT_FROM install_tests_in_module_dict STORE_NAME install_tests_in_module_dict POP_TOP LOAD_NAME install_tests_in_module_dict LOAD_NAME globals CALL_FUNCTION...
import unittest from multiprocess.tests import install_tests_in_module_dict install_tests_in_module_dict(globals(), "forkserver", only_type="manager") if __name__ == "__main__": unittest.main()
data/multiprocess-0.70.16/py3.11/multiprocess/tests/test_multiprocessing_forkserver/test_manager.py
145
70
144,863
LOAD_CONST 0 LOAD_CONST ('Tuple', 'Union') IMPORT_NAME typing IMPORT_FROM Tuple STORE_NAME Tuple IMPORT_FROM Union STORE_NAME Union POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME tensorflow STORE_NAME tf LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_NAME Union LOAD_NAME Tuple LOAD_NAME tf LOAD_...
from typing import Tuple, Union import tensorflow as tf import numpy as np BatchData = Union[Tuple[tf.Tensor, ...], Tuple[np.ndarray, ...]] MaybeNestedBatchData = Union[Tuple[BatchData, ...], BatchData]
data/rasa-3.6.17/rasa/utils/tensorflow/types.py
162
70
293,395
LOAD_CONST '2.1.3' STORE_NAME __version__ LOAD_CONST 'Matt Nishi-Broach' STORE_NAME __author__ LOAD_CONST 'MIT' STORE_NAME __license__ LOAD_CONST 'Copyright 2015-2018 Matt Nishi-Broach' STORE_NAME __copyright__ LOAD_NAME __version__ STORE_NAME VERSION LOAD_CONST None RETURN_VALUE
__version__ = "2.1.3" __author__ = "Matt Nishi-Broach" __license__ = "MIT" __copyright__ = "Copyright 2015-2018 Matt Nishi-Broach" VERSION = __version__
data/django-rest-multiple-models-2.1.3/drf_multiple_model/__init__.py
89
70
322,197
LOAD_CONST 0 LOAD_CONST ('Any',) IMPORT_NAME typing IMPORT_FROM Any STORE_NAME Any POP_TOP LOAD_CONST 0 LOAD_CONST ('Callable',) IMPORT_NAME typing IMPORT_FROM Callable STORE_NAME Callable POP_TOP LOAD_CONST 0 LOAD_CONST ('Dict',) IMPORT_NAME typing IMPORT_FROM Dict STORE_NAME Dict POP_TOP LOAD_CONST 0 LOAD_CONST ('...
from typing import Any from typing import Callable from typing import Dict from typing import Mapping DeserializerCallable = Callable[[bool, str, str, Mapping[str, Any]], Any] StyleDeserializersDict = Dict[str, DeserializerCallable]
data/openapi_core-0.19.0/openapi_core/deserializing/styles/datatypes.py
171
70
271,298
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME unittest STORE_NAME unittest LOAD_CONST 0 LOAD_CONST ('install_tests_in_module_dict',) IMPORT_NAME multiprocess.tests IMPORT_FROM install_tests_in_module_dict STORE_NAME install_tests_in_module_dict POP_TOP LOAD_NAME install_tests_in_module_dict LOAD_NAME globals CALL_FUNCTION...
import unittest from multiprocess.tests import install_tests_in_module_dict install_tests_in_module_dict(globals(), "spawn", only_type="threads") if __name__ == "__main__": unittest.main()
data/multiprocess-0.70.16/py3.12/multiprocess/tests/test_multiprocessing_spawn/test_threads.py
145
70
144,912
LOAD_CONST 0 LOAD_CONST ('SuspiciousOperation',) IMPORT_NAME server.core.exceptions IMPORT_FROM SuspiciousOperation STORE_NAME SuspiciousOperation POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object InvalidSessionKey at 0x7fab40f46c90, file "f.py", line 4> LOAD_CONST 'InvalidSessionKey' MAKE_FUNCTION LOAD_CONST 'InvalidS...
from server.core.exceptions import SuspiciousOperation class InvalidSessionKey(SuspiciousOperation): """Invalid characters in session key""" pass class SuspiciousSession(SuspiciousOperation): """The session may be tampered with""" pass
data/os_sys-2.1.4/server/contrib/sessions/exceptions.py
271
70
247,422
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME urllib STORE_NAME urllib LOAD_BUILD_CLASS LOAD_CONST <code object Page at 0x7fab417514b0, file "f.py", line 4> LOAD_CONST 'Page' MAKE_FUNCTION LOAD_CONST 'Page' LOAD_NAME object CALL_FUNCTION STORE_NAME Page LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__...
import urllib class Page(object): _urlOpen = staticmethod(urllib.urlopen) def getPage(self, url): handle = self._urlOpen(url) data = handle.read() handle.close() return data
data/asttokens-2.4.1/tests/testdata/python2/astroid/descriptor_crash.py
219
70
348,153
LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME alpaca.common.models IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME alpaca.common.enums IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME alpaca.common.constants IMPORT_STAR LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME alpaca.common.exceptions IMPORT_STAR LOAD_C...
from alpaca.common.models import * from alpaca.common.enums import * from alpaca.common.constants import * from alpaca.common.exceptions import * from alpaca.common.types import * from alpaca.common.utils import *
data/alpaca_py-0.16.0/alpaca/common/__init__.py
139
70
293,077
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 unittest import * if not hasattr(TestCase, "assertRaisesRegex"): TestCase.assertRaisesRegex = TestCase.assertRaisesRegexp
data/ansible-core-2.16.3/test/units/compat/unittest.py
133
70
437,896
LOAD_CONST 0 LOAD_CONST ('absolute_import',) IMPORT_NAME __future__ IMPORT_FROM absolute_import STORE_NAME absolute_import POP_TOP LOAD_CONST 0 LOAD_CONST ('admin',) IMPORT_NAME django.contrib IMPORT_FROM admin STORE_NAME admin POP_TOP LOAD_CONST 0 LOAD_CONST ('ObjectPermissionsModelAdmin',) IMPORT_NAME rules.contrib...
from __future__ import absolute_import from django.contrib import admin from rules.contrib.admin import ObjectPermissionsModelAdmin from .models import Book class BookAdmin(ObjectPermissionsModelAdmin): pass admin.site.register(Book, BookAdmin)
data/rules-3.3/tests/testapp/admin.py
234
70
108,115
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.task.metadata_writers.bert.question_answerer.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME tensorflow_examples.lite.model_maker.core.task.metadata_writers.bert.question_answerer IMPORT_STAR LOAD_CONST None RETURN_VALUE
"""Generated API for package: tensorflow_examples.lite.model_maker.core.task.metadata_writers.bert.question_answerer.""" from tensorflow_examples.lite.model_maker.core.task.metadata_writers.bert.question_answerer import *
data/tflite-model-maker-nightly-0.4.4.dev202402210609/src/tflite_model_maker/python/core/task/metadata_writers/bert/question_answerer/__init__.py
90
70
389,415
LOAD_CONST 1 LOAD_CONST ('ApiBase',) IMPORT_NAME base IMPORT_FROM ApiBase STORE_NAME ApiBase POP_TOP 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_BUILD_CLASS LOAD_CONST <code object Locations at 0x7fa...
from .base import ApiBase import logging logger = logging.getLogger(__name__) class Locations(ApiBase): def __init__(self, ns_client): ApiBase.__init__(self, ns_client=ns_client, type_name="Location")
data/netsuitesdk-2.21.0/netsuitesdk/api/locations.py
248
70
442,934
LOAD_CONST 2 LOAD_CONST ('_utilities',) IMPORT_NAME IMPORT_FROM _utilities STORE_NAME _utilities POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME typing STORE_NAME typing LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME get_group_lookup IMPORT_STAR LOAD_CONST 1 LOAD_CONST ('*',) IMPORT_NAME get_group_memberships IMPORT_ST...
from .. import _utilities import typing from .get_group_lookup import * from .get_group_memberships import * from .get_groups import * from .group import * from .group_membership import * from ._inputs import * from . import outputs
data/pulumi_gcp-7.9.0/pulumi_gcp/cloudidentity/__init__.py
180
70
446,259
LOAD_CONST 0 LOAD_CONST ('assert_equal',) IMPORT_NAME nose.tools IMPORT_FROM assert_equal STORE_NAME assert_equal POP_TOP LOAD_CONST 0 LOAD_CONST ('options',) IMPORT_NAME pyecharts IMPORT_FROM options STORE_NAME opts POP_TOP LOAD_CONST <code object test_area_color_in_item_styles at 0x7f8aefa244b0, file "f.py", line 6...
from nose.tools import assert_equal from pyecharts import options as opts def test_area_color_in_item_styles(): op = opts.ItemStyleOpts(area_color="red") assert_equal(op.opts["areaColor"], "red")
data/pyecharts-2.0.4/test/test_item_style_options.py
193
70
118,247
LOAD_CONST 1 LOAD_CONST ('ApiBase',) IMPORT_NAME base IMPORT_FROM ApiBase STORE_NAME ApiBase POP_TOP 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_BUILD_CLASS LOAD_CONST <code object Projects at 0x7faa...
from .base import ApiBase import logging logger = logging.getLogger(__name__) class Projects(ApiBase): def __init__(self, ns_client): ApiBase.__init__(self, ns_client=ns_client, type_name="Job")
data/netsuitesdk-2.21.0/netsuitesdk/api/projects.py
248
70
442,947
LOAD_CONST 0 LOAD_CONST ('lunr', 'get_default_builder') IMPORT_NAME lunr.lunr IMPORT_FROM lunr STORE_NAME lunr IMPORT_FROM get_default_builder STORE_NAME get_default_builder POP_TOP LOAD_CONST ('lunr', 'get_default_builder') STORE_NAME __all__ LOAD_CONST '0.7.0.post1' STORE_NAME __VERSION__ LOAD_CONST '2.3.9' STORE_...
from lunr.lunr import lunr, get_default_builder __all__ = ("lunr", "get_default_builder") __VERSION__ = "0.7.0.post1" __TARGET_JS_VERSION__ = "2.3.9"
data/lunr-0.7.0.post1/lunr/__init__.py
114
70
156,743
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.dataset.create_coco_tfrecord.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('*',) IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.dataset.create_coco_tfrecord IMPORT_STAR LOAD_CONST None RETURN...
"""Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.dataset.create_coco_tfrecord.""" from tensorflow_examples.lite.model_maker.third_party.efficientdet.dataset.create_coco_tfrecord import *
data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/dataset/create_coco_tfrecord.py
90
70
401,227
LOAD_CONST <code object foo1 at 0x7fab823a38a0, file "f.py", line 1> LOAD_CONST 'foo1' MAKE_FUNCTION STORE_NAME foo1 LOAD_CONST <code object foo2 at 0x7fab801f8270, file "f.py", line 6> LOAD_CONST 'foo2' MAKE_FUNCTION STORE_NAME foo2 LOAD_CONST "I'm not a callable" STORE_NAME foo3 LOAD_CONST None RETURN_VALUE LOAD_F...
def foo1(context): context.write("this is foo1.") return "" def foo2(context, x): context.write("this is foo2, x is " + x) return "" foo3 = "I'm not a callable"
data/Mako-1.3.2/test/foo/test_ns.py
170
70
435,086
LOAD_CONST 1 LOAD_CONST ('ApiBase',) IMPORT_NAME base IMPORT_FROM ApiBase STORE_NAME ApiBase POP_TOP 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_BUILD_CLASS LOAD_CONST <code object Accounts at 0x7fab...
from .base import ApiBase import logging logger = logging.getLogger(__name__) class Accounts(ApiBase): def __init__(self, ns_client): ApiBase.__init__(self, ns_client=ns_client, type_name="Account")
data/netsuitesdk-2.21.0/netsuitesdk/api/accounts.py
248
70
442,961
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME ast STORE_NAME ast LOAD_NAME ast LOAD_ATTR Constant LOAD_NAME ast LOAD_ATTR NameConstant BUILD_TUPLE STORE_NAME BOOL_CONST_TYPES LOAD_NAME ast LOAD_ATTR Constant LOAD_NAME ast LOAD_ATTR NameConstant LOAD_NAME ast LOAD_ATTR Str LOAD_NAME ast LOAD_ATTR Num BUILD_TUPLE STORE_NAME...
import ast BOOL_CONST_TYPES = (ast.Constant, ast.NameConstant) AST_CONST_TYPES = (ast.Constant, ast.NameConstant, ast.Str, ast.Num) STR_TYPES = (ast.Constant, ast.Str)
data/flake8_simplify-0.21.0/flake8_simplify/constants.py
106
70
65,071
LOAD_CONST 0 LOAD_CONST ('MutableMapping', 'MutableSet', 'Mapping', 'Set', 'Sequence') IMPORT_NAME collections.abc IMPORT_FROM MutableMapping STORE_NAME MutableMapping IMPORT_FROM MutableSet STORE_NAME MutableSet IMPORT_FROM Mapping STORE_NAME Mapping IMPORT_FROM Set STORE_NAME Set IMPORT_FROM Sequence STORE_NAME Seque...
from collections.abc import MutableMapping, MutableSet, Mapping, Set, Sequence from collections import UserDict from .orderedset import OrderedDict, OrderedSet from .component_map import ComponentMap from .component_set import ComponentSet from .bunch import Bunch
data/Pyomo-6.7.0/pyomo/common/collections/__init__.py
232
70
24,062
LOAD_NAME str LOAD_NAME str LOAD_CONST ('class_name', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object construct_user_agent at 0x7fa9e2319db0, file "f.py", line 1> LOAD_CONST 'construct_user_agent' MAKE_FUNCTION STORE_NAME construct_user_agent LOAD_CONST None RETURN_VALUE LOAD_CONST 0 LOAD_CONST ('__version__',) ...
def construct_user_agent(class_name: str) -> str: from web3 import ( __version__ as web3_version, ) user_agent = f"web3.py/{web3_version}/{class_name}" return user_agent
data/web3-6.15.1/web3/_utils/http.py
150
70
153,027
LOAD_CONST 0 LOAD_CONST ('patterns', 'host') IMPORT_NAME django_hosts IMPORT_FROM patterns STORE_NAME patterns IMPORT_FROM host STORE_NAME host POP_TOP LOAD_NAME patterns LOAD_CONST '' LOAD_NAME host LOAD_CONST '' LOAD_CONST 'tests.urls.root' LOAD_CONST 'root' LOAD_CONST ('name',) CALL_FUNCTION LOAD_NAME host LOAD_...
from django_hosts import patterns, host host_patterns = patterns( "", host(r"", "tests.urls.root", name="root"), host(r"(\w+)", "tests.urls.simple", name="wildcard"), )
data/django-hosts-6.0/tests/hosts/blank_wildcard.py
121
70
420,490
LOAD_CONST 'Make sure that the parsing functions for specific functions are imported properly.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('parse_urls',) IMPORT_NAME ioc_finder IMPORT_FROM parse_urls STORE_NAME parse_urls POP_TOP LOAD_CONST <code object test_url_parsing_func at 0x7fab425a9c90, file "f.py", line 6> L...
"""Make sure that the parsing functions for specific functions are imported properly.""" from ioc_finder import parse_urls def test_url_parsing_func(): results = parse_urls("https://google.com") assert results == ["https://google.com"]
data/ioc_finder-7.3.0/tests/test_parsing_functions.py
179
70
163,819
LOAD_CONST 0 LOAD_CONST ('AmazonKnowledgeBasesRetriever', 'RetrievalConfig', 'VectorSearchConfig') IMPORT_NAME langchain_community.retrievers.bedrock IMPORT_FROM AmazonKnowledgeBasesRetriever STORE_NAME AmazonKnowledgeBasesRetriever IMPORT_FROM RetrievalConfig STORE_NAME RetrievalConfig IMPORT_FROM VectorSearchConfig S...
from langchain_community.retrievers.bedrock import ( AmazonKnowledgeBasesRetriever, RetrievalConfig, VectorSearchConfig, ) __all__ = ["VectorSearchConfig", "RetrievalConfig", "AmazonKnowledgeBasesRetriever"]
data/langchain-0.1.8/langchain/retrievers/bedrock.py
126
70
369,451
LOAD_CONST '\nTest console operations.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST None IMPORT_NAME linkcheck.director.console STORE_NAME linkcheck LOAD_CONST 1 LOAD_CONST ('TestBase',) IMPORT_NAME IMPORT_FROM TestBase STORE_NAME TestBase POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object TestConsole at 0x7fab703f0e...
""" Test console operations. """ import linkcheck.director.console from . import TestBase class TestConsole(TestBase): """Test console operations.""" def test_internal_error(self): linkcheck.director.console.internal_error()
data/LinkChecker-10.4.0/tests/test_console.py
251
70
169,113
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('ECS',) IMPORT_NAME prowler.providers.aws.services.ecs.ecs_service IMPORT_FROM ECS STORE_NAME ECS POP_TOP LOAD_NAME ...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.ecs.ecs_service import ECS ecs_client = ECS(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/ecs/ecs_client.py
123
70
183,043
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AutoRestartNotificationDismissalMethod at 0x7fab4298e930, file "f.py", line 4> LOAD_CONST 'AutoRestartNotificationDismissalMethod' MAKE_FUNCTION LOAD_CONST 'AutoRestartNotificationDismis...
from enum import Enum class AutoRestartNotificationDismissalMethod(str, Enum): NotConfigured = ("notConfigured",) Automatic = ("automatic",) User = ("user",) UnknownFutureValue = ("unknownFutureValue",)
data/msgraph-sdk-1.1.0/msgraph/generated/models/auto_restart_notification_dismissal_method.py
206
70
261,414
LOAD_CONST 0 LOAD_CONST ('GiModuleInfo',) IMPORT_NAME PyInstaller.utils.hooks.gi IMPORT_FROM GiModuleInfo STORE_NAME GiModuleInfo POP_TOP LOAD_NAME GiModuleInfo LOAD_CONST 'GstRtspServer' LOAD_CONST '1.0' CALL_FUNCTION STORE_NAME module_info LOAD_NAME module_info LOAD_ATTR available POP_JUMP_IF_FALSE LOAD_NAME modul...
from PyInstaller.utils.hooks.gi import GiModuleInfo module_info = GiModuleInfo("GstRtspServer", "1.0") if module_info.available: binaries, datas, hiddenimports = module_info.collect_typelib_data()
data/pyinstaller-6.4.0/PyInstaller/hooks/hook-gi.repository.GstRtspServer.py
114
70
185,385
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRunBinary',) IMPORT_NAME onnx.reference.ops._op IMPORT_FROM OpRunBinary STORE_NAME OpRunBinary POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BitwiseXor at 0x7fab82053d20, file "f.py", line 6> LOAD_CONST 'BitwiseXor' MAKE_FUNCT...
import numpy as np from onnx.reference.ops._op import OpRunBinary class BitwiseXor(OpRunBinary): def _run(self, x, y): # type: ignore return (np.bitwise_xor(x, y),)
data/onnx-simplifier-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_bitwise_xor.py
227
70
309,642
LOAD_CONST 0 LOAD_CONST ('notfound_view_config',) IMPORT_NAME pyramid.view IMPORT_FROM notfound_view_config STORE_NAME notfound_view_config POP_TOP LOAD_NAME notfound_view_config LOAD_CONST 'tutorial:templates/404.jinja2' LOAD_CONST ('renderer',) CALL_FUNCTION LOAD_CONST <code object notfound_view at 0x7faa74756ae0, f...
from pyramid.view import notfound_view_config @notfound_view_config(renderer="tutorial:templates/404.jinja2") def notfound_view(request): request.response.status = 404 return {}
data/pyramid-2.0.2/docs/tutorials/wiki2/src/basiclayout/tutorial/views/notfound.py
155
70
19,807
LOAD_CONST 0 LOAD_CONST ('notfound_view_config',) IMPORT_NAME pyramid.view IMPORT_FROM notfound_view_config STORE_NAME notfound_view_config POP_TOP LOAD_NAME notfound_view_config LOAD_CONST 'tutorial:templates/404.jinja2' LOAD_CONST ('renderer',) CALL_FUNCTION LOAD_CONST <code object notfound_view at 0x7faa51f69930, f...
from pyramid.view import notfound_view_config @notfound_view_config(renderer="tutorial:templates/404.jinja2") def notfound_view(request): request.response.status = 404 return {}
data/pyramid-2.0.2/docs/tutorials/wiki2/src/tests/tutorial/views/notfound.py
156
70
19,824
LOAD_CONST 0 LOAD_CONST ('Test',) IMPORT_NAME gradio_test IMPORT_FROM Test STORE_NAME Test POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME gradio STORE_NAME gr LOAD_NAME Test CALL_FUNCTION LOAD_METHOD example_inputs CALL_METHOD STORE_NAME example LOAD_NAME gr LOAD_METHOD Blocks CALL_METHOD SETUP_WITH to 68 STORE_NA...
from gradio_test import Test import gradio as gr example = Test().example_inputs() with gr.Blocks() as demo: Test(value=example, interactive=True) Test(value=example, interactive=False) demo.launch()
data/gradio-4.19.1/js/preview/test/test/demo/app.py
148
70
235,912
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME sys STORE_NAME sys LOAD_NAME sys LOAD_ATTR version_info LOAD_CONST (3, 8) COMPARE_OP >= POP_JUMP_IF_FALSE LOAD_CONST 0 LOAD_CONST ('metadata',) IMPORT_NAME importlib IMPORT_FROM metadata STORE_NAME metadata POP_TOP JUMP_FORWARD to 40 LOAD_CONST 0 LOAD_CONST None IMPORT_NAME i...
import sys if sys.version_info >= (3, 8): from importlib import metadata # pragma: nocover else: import importlib_metadata as metadata # pragma: nocover __version__ = metadata.version("gitlint-core")
data/gitlint_core-0.19.1/gitlint/__init__.py
109
70
423,078
LOAD_CONST 1 LOAD_CONST ('RDSResponse',) IMPORT_NAME responses IMPORT_FROM RDSResponse STORE_NAME RDSResponse POP_TOP LOAD_CONST 'https?://rds\\.(.+)\\.amazonaws\\.com' LOAD_CONST 'https?://rds\\.amazonaws\\.com' BUILD_LIST STORE_NAME url_bases LOAD_CONST '{0}/$' LOAD_NAME RDSResponse LOAD_ATTR dispatch BUILD_MAP STO...
from .responses import RDSResponse url_bases = [r"https?://rds\.(.+)\.amazonaws\.com", r"https?://rds\.amazonaws\.com"] url_paths = {"{0}/$": RDSResponse.dispatch}
data/moto-5.0.2/moto/rds/urls.py
101
70
198,052
LOAD_CONST 0 LOAD_CONST ('notfound_view_config',) IMPORT_NAME pyramid.view IMPORT_FROM notfound_view_config STORE_NAME notfound_view_config POP_TOP LOAD_NAME notfound_view_config LOAD_CONST 'tutorial:templates/404.jinja2' LOAD_CONST ('renderer',) CALL_FUNCTION LOAD_CONST <code object notfound_view at 0x7faa51f69810, f...
from pyramid.view import notfound_view_config @notfound_view_config(renderer="tutorial:templates/404.jinja2") def notfound_view(request): request.response.status = 404 return {}
data/pyramid-2.0.2/docs/tutorials/wiki2/src/models/tutorial/views/notfound.py
156
70
19,840
LOAD_CONST 0 LOAD_CONST ('notfound_view_config',) IMPORT_NAME pyramid.view IMPORT_FROM notfound_view_config STORE_NAME notfound_view_config POP_TOP LOAD_NAME notfound_view_config LOAD_CONST 'tutorial:templates/404.jinja2' LOAD_CONST ('renderer',) CALL_FUNCTION LOAD_CONST <code object notfound_view at 0x7faa51f694b0, f...
from pyramid.view import notfound_view_config @notfound_view_config(renderer="tutorial:templates/404.jinja2") def notfound_view(request): request.response.status = 404 return {}
data/pyramid-2.0.2/docs/tutorials/wiki2/src/installation/tutorial/views/notfound.py
156
70
19,854
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 unittest import * if not hasattr(TestCase, "assertRaisesRegex"): TestCase.assertRaisesRegex = TestCase.assertRaisesRegexp
data/ansible-9.2.0/ansible_collections/dellemc/enterprise_sonic/tests/unit/compat/unittest.py
133
70
5,244
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pynvim STORE_NAME pynvim LOAD_CONST None LOAD_CONST ('return',) BUILD_CONST_KEY_MAP LOAD_CONST <code object test_version at 0x7fab823a8a50, file "f.py", line 4> LOAD_CONST 'test_version' MAKE_FUNCTION STORE_NAME test_version LOAD_CONST None RETURN_VALUE LOAD_GLOBAL pynvim LOAD...
import pynvim def test_version() -> None: assert pynvim.__version__ assert isinstance(pynvim.__version__, str) print(f"pynvim.__version__ = '{pynvim.__version__}'")
data/pynvim-0.5.0/test/test_version.py
179
70
103,756
LOAD_CONST '\nHook for https://pypi.python.org/pypi/jira/\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('copy_metadata', 'collect_submodules') IMPORT_NAME PyInstaller.utils.hooks IMPORT_FROM copy_metadata STORE_NAME copy_metadata IMPORT_FROM collect_submodules STORE_NAME collect_submodules POP_TOP LOAD_NAME copy_met...
""" Hook for https://pypi.python.org/pypi/jira/ """ from PyInstaller.utils.hooks import copy_metadata, collect_submodules datas = copy_metadata("jira") hiddenimports = collect_submodules("jira")
data/pyinstaller-hooks-contrib-2024.1/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-jira.py
124
70
282,095
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_collections.community.general.plugins.modules import cpanm from .helper import Helper Helper.from_module(cpanm, __name__)
data/ansible-9.2.0/ansible_collections/community/general/tests/unit/plugins/modules/test_cpanm.py
158
70
275,237
LOAD_CONST 0 LOAD_CONST ('notfound_view_config',) IMPORT_NAME pyramid.view IMPORT_FROM notfound_view_config STORE_NAME notfound_view_config POP_TOP LOAD_NAME notfound_view_config LOAD_CONST 'tutorial:templates/404.jinja2' LOAD_CONST ('renderer',) CALL_FUNCTION LOAD_CONST <code object notfound_view at 0x7faa51f690c0, f...
from pyramid.view import notfound_view_config @notfound_view_config(renderer="tutorial:templates/404.jinja2") def notfound_view(request): request.response.status = 404 return {}
data/pyramid-2.0.2/docs/tutorials/wiki2/src/views/tutorial/views/notfound.py
156
70
19,870
LOAD_CONST 1 LOAD_CONST ('__version__', 'version_info') IMPORT_NAME _version IMPORT_FROM __version__ STORE_NAME __version__ IMPORT_FROM version_info STORE_NAME version_info POP_TOP LOAD_CONST 1 LOAD_CONST ('get_cmake_dir', 'get_include') IMPORT_NAME commands IMPORT_FROM get_cmake_dir STORE_NAME get_cmake_dir IMPORT_FR...
from ._version import __version__, version_info from .commands import get_cmake_dir, get_include __all__ = ( "version_info", "__version__", "get_include", "get_cmake_dir", )
data/onnxsim-0.4.35/third_party/pybind11/pybind11/__init__.py
129
70
114,111
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME os STORE_NAME os LOAD_CONST 0 LOAD_CONST ('load_profile',) IMPORT_NAME polars.testing.parametric.profiles IMPORT_FROM load_profile STORE_NAME load_profile POP_TOP LOAD_NAME load_profile LOAD_NAME os LOAD_ATTR environ LOAD_METHOD get LOAD_CONST 'POLARS_HYPOTHESIS_PROFILE' LOAD...
import os from polars.testing.parametric.profiles import load_profile load_profile( profile=os.environ.get("POLARS_HYPOTHESIS_PROFILE", "fast"), # type: ignore[arg-type] )
data/polars-0.20.10/py-polars/tests/parametric/conftest.py
109
70
333,748
LOAD_CONST 'Support for Lutron Caseta.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 'int' LOAD_CONST 'str' LOAD_CONST ('serial', 'return') BUILD_CONST_KEY_MAP LOAD_CONST <code object serial_to_unique_id at 0x7fab8...
"""Support for Lutron Caseta.""" from __future__ import annotations def serial_to_unique_id(serial: int) -> str: """Convert a lutron serial number to a unique id.""" return hex(serial)[2:].zfill(8)
data/homeassistant-2024.2.2/homeassistant/components/lutron_caseta/util.py
160
70
298,216
LOAD_CONST '\nThe hacks module encapsulates all the horrible things that play with Django\ninternals in one, evil place.\nThis top file will automagically expose the correct Hacks class.\n' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('Hacks',) IMPORT_NAME south.hacks.django_1_0 IMPORT_FROM Hacks STORE_NAME Hacks POP_T...
""" The hacks module encapsulates all the horrible things that play with Django internals in one, evil place. This top file will automagically expose the correct Hacks class. """ from south.hacks.django_1_0 import Hacks hacks = Hacks()
data/South-1.0.2/south/hacks/__init__.py
102
70
392,300
LOAD_CONST 0 LOAD_CONST ('notfound_view_config',) IMPORT_NAME pyramid.view IMPORT_FROM notfound_view_config STORE_NAME notfound_view_config POP_TOP LOAD_NAME notfound_view_config LOAD_CONST 'tutorial:templates/404.jinja2' LOAD_CONST ('renderer',) CALL_FUNCTION LOAD_CONST <code object notfound_view at 0x7faa74756930, f...
from pyramid.view import notfound_view_config @notfound_view_config(renderer="tutorial:templates/404.jinja2") def notfound_view(request): request.response.status = 404 return {}
data/pyramid-2.0.2/docs/tutorials/wiki2/src/authorization/tutorial/views/notfound.py
156
70
19,886
LOAD_BUILD_CLASS LOAD_CONST <code object EarlyStopException at 0x7fab703a5810, file "f.py", line 1> LOAD_CONST 'EarlyStopException' MAKE_FUNCTION LOAD_CONST 'EarlyStopException' LOAD_NAME BaseException CALL_FUNCTION STORE_NAME EarlyStopException LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __module__ LOA...
class EarlyStopException(BaseException): r""" 用于 EarlyStop 时从 Trainer 训练循环中跳出。 """ def __init__(self, msg): super(EarlyStopException, self).__init__(msg) self.msg = msg
data/FastNLP-1.0.1/fastNLP/core/utils/exceptions.py
242
70
367,491
LOAD_CONST 0 LOAD_CONST ('Test',) IMPORT_NAME gradio_test IMPORT_FROM Test STORE_NAME Test POP_TOP LOAD_CONST 0 LOAD_CONST None IMPORT_NAME gradio STORE_NAME gr LOAD_NAME Test CALL_FUNCTION LOAD_METHOD example_inputs CALL_METHOD STORE_NAME example LOAD_NAME gr LOAD_METHOD Blocks CALL_METHOD SETUP_WITH to 68 STORE_NA...
from gradio_test import Test import gradio as gr example = Test().example_inputs() with gr.Blocks() as demo: Test(value=example, interactive=True) Test(value=example, interactive=False) demo.launch()
data/gradio-4.19.1/gradio/_frontend_code/preview/test/test/demo/app.py
148
70
235,904
LOAD_CONST 1 LOAD_CONST ('print_environment_info',) IMPORT_NAME cli_env_info IMPORT_FROM print_environment_info STORE_NAME print_environment_info POP_TOP LOAD_CONST 1 LOAD_CONST ('app',) IMPORT_NAME components IMPORT_FROM app STORE_NAME custom_component POP_TOP LOAD_CONST 1 LOAD_CONST ('deploy',) IMPORT_NAME deploy_s...
from .cli_env_info import print_environment_info from .components import app as custom_component from .deploy_space import deploy from .reload import main as reload __all__ = ["deploy", "reload", "print_environment_info", "custom_component"]
data/gradio-4.19.1/gradio/cli/commands/__init__.py
152
70
235,840
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('CloudWatch',) IMPORT_NAME prowler.providers.aws.services.cloudwatch.cloudwatch_service IMPORT_FROM CloudWatch STORE_...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.cloudwatch.cloudwatch_service import CloudWatch cloudwatch_client = CloudWatch(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/cloudwatch/cloudwatch_client.py
123
70
183,373
LOAD_CONST 'URLs for Patreon Provider' STORE_NAME __doc__ 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 ('VimeoOAuth2Provider',) IMPORT_NAME provider IMPORT_FROM Vi...
"""URLs for Patreon Provider""" from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns from .provider import VimeoOAuth2Provider urlpatterns = default_urlpatterns(VimeoOAuth2Provider)
data/django-allauth-0.61.1/allauth/socialaccount/providers/vimeo_oauth2/urls.py
134
70
336,497
LOAD_CONST "\nTop level\n---------\n\nLet's run a test.\n\n >>> foo(1)\n 2\n >>> 2 + 2\n 4\n" STORE_NAME __doc__ LOAD_CONST <code object foo at 0x7f8af15c2c90, file "f.py", line 14> LOAD_CONST 'foo' MAKE_FUNCTION STORE_NAME foo LOAD_CONST None RETURN_VALUE LOAD_FAST a LOAD_CONST 1 BINARY_ADD RETURN_VALUE
""" Top level --------- Let's run a test. >>> foo(1) 2 >>> 2 + 2 4 """ def foo(a): """ >>> foo(2) 3 """ return a + 1
data/nose-1.3.7/functional_tests/support/dtt/some_mod.py
113
70
401,800
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('SNS',) IMPORT_NAME prowler.providers.aws.services.sns.sns_service IMPORT_FROM SNS STORE_NAME SNS POP_TOP LOAD_NAME ...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.sns.sns_service import SNS sns_client = SNS(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/sns/sns_client.py
123
70
183,423
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME threading STORE_NAME threading LOAD_CONST 0 LOAD_CONST None IMPORT_NAME reacton STORE_NAME react BUILD_LIST BUILD_TUPLE LOAD_CONST <code object use_work_threaded at 0x7fab7002b9c0, file "f.py", line 6> LOAD_CONST 'use_work_threaded' MAKE_FUNCTION STORE_NAME use_work_threaded L...
import threading import reacton as react def use_work_threaded(callback, dependencies=[]): def run(): def runner(): callback() threading.Thread(target=runner).start() react.use_effect(run, dependencies)
data/reacton-1.8.2/reacton/work.py
289
70
187,763
LOAD_CONST 0 LOAD_CONST ('models',) IMPORT_NAME django.db IMPORT_FROM models STORE_NAME models POP_TOP LOAD_CONST 0 LOAD_CONST ('AbstractNotification',) IMPORT_NAME notifications.base.models IMPORT_FROM AbstractNotification STORE_NAME AbstractNotification POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Notification ...
from django.db import models from notifications.base.models import AbstractNotification class Notification(AbstractNotification): details = models.CharField(max_length=64, blank=True, null=True) class Meta(AbstractNotification.Meta): abstract = False
data/django-notifications-hq-1.8.3/notifications/tests/sample_notifications/models.py
277
70
136,861
LOAD_BUILD_CLASS LOAD_CONST <code object MemcachedException at 0x7fab428b0c00, file "f.py", line 1> LOAD_CONST 'MemcachedException' MAKE_FUNCTION LOAD_CONST 'MemcachedException' LOAD_NAME Exception CALL_FUNCTION STORE_NAME MemcachedException LOAD_BUILD_CLASS LOAD_CONST <code object AuthenticationNotSupported at 0x7fab...
class MemcachedException(Exception): def __init__(self, message, code): self.message = message self.code = code class AuthenticationNotSupported(MemcachedException): pass class InvalidCredentials(MemcachedException): pass
data/python-binary-memcached-0.31.2/bmemcached/exceptions.py
379
70
419,849
LOAD_CONST 0 LOAD_CONST ('Enum',) IMPORT_NAME enum IMPORT_FROM Enum STORE_NAME Enum POP_TOP LOAD_CONST 0 LOAD_CONST ('CaseInsensitiveEnumMeta',) IMPORT_NAME azure.core IMPORT_FROM CaseInsensitiveEnumMeta STORE_NAME CaseInsensitiveEnumMeta POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AmqpMessageBodyType at 0x7fab8...
from enum import Enum from azure.core import CaseInsensitiveEnumMeta class AmqpMessageBodyType(str, Enum, metaclass=CaseInsensitiveEnumMeta): DATA = "data" SEQUENCE = "sequence" VALUE = "value"
data/azure-servicebus-7.11.4/azure/servicebus/amqp/_constants.py
222
70
69,320
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME polars STORE_NAME pl LOAD_NAME pl LOAD_METHOD DataFrame LOAD_CONST 'Data' LOAD_CONST 10 LOAD_CONST 20 LOAD_CONST 30 LOAD_CONST 20 LOAD_CONST 15 LOAD_CONST 30 LOAD_CONST 45 BUILD_LIST BUILD_MAP CALL_METHOD STORE_NAME df LOAD_NAME df LOAD_ATTR write_excel LOAD_CONST 'polars_simp...
import polars as pl df = pl.DataFrame({"Data": [10, 20, 30, 20, 15, 30, 45]}) df.write_excel(workbook="polars_simple.xlsx")
data/XlsxWriter-3.2.0/examples/polars_simple.py
109
70
384,560
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('ECR',) IMPORT_NAME prowler.providers.aws.services.ecr.ecr_service IMPORT_FROM ECR STORE_NAME ECR POP_TOP LOAD_NAME ...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.ecr.ecr_service import ECR ecr_client = ECR(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/ecr/ecr_client.py
123
70
183,406
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('ACM',) IMPORT_NAME prowler.providers.aws.services.acm.acm_service IMPORT_FROM ACM STORE_NAME ACM POP_TOP LOAD_NAME ...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.acm.acm_service import ACM acm_client = ACM(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/acm/acm_client.py
123
70
183,402
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('Redshift',) IMPORT_NAME prowler.providers.aws.services.redshift.redshift_service IMPORT_FROM Redshift STORE_NAME Red...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.redshift.redshift_service import Redshift redshift_client = Redshift(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/redshift/redshift_client.py
122
70
183,014
LOAD_CONST 0 LOAD_CONST ('Literal',) IMPORT_NAME typing IMPORT_FROM Literal STORE_NAME Literal POP_TOP LOAD_NAME Literal LOAD_CONST ('bottom', 'center', 'left', 'left-bottom', 'left-top', 'right', 'right-bottom', 'right-top', 'top') BINARY_SUBSCR STORE_NAME ObjectPosition LOAD_CONST None RETURN_VALUE
from typing import Literal ObjectPosition = Literal[ "bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top", ]
data/nicegui-1.4.15/nicegui/tailwind_types/object_position.py
77
70
223,421
LOAD_CONST 0 LOAD_CONST ('path',) IMPORT_NAME django.urls IMPORT_FROM path STORE_NAME path POP_TOP LOAD_CONST 2 LOAD_CONST ('GraphQLView',) IMPORT_NAME views IMPORT_FROM GraphQLView STORE_NAME GraphQLView POP_TOP LOAD_NAME path LOAD_CONST 'graphql/batch' LOAD_NAME GraphQLView LOAD_ATTR as_view LOAD_CONST True LOAD_CO...
from django.urls import path from ..views import GraphQLView urlpatterns = [ path("graphql/batch", GraphQLView.as_view(batch=True)), path("graphql", GraphQLView.as_view(graphiql=True)), ]
data/graphene-django-3.2.0/graphene_django/tests/urls.py
135
70
173,729
LOAD_CONST 0 LOAD_CONST ('annotations',) IMPORT_NAME __future__ IMPORT_FROM annotations STORE_NAME annotations POP_TOP LOAD_CONST 0 LOAD_CONST ('v2',) IMPORT_NAME b2sdk IMPORT_FROM v2 STORE_NAME v2 POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object AbstractCache at 0x7fab820d6e40, file "f.py", line 6> LOAD_CONST 'Abstr...
from __future__ import annotations from b2sdk import v2 class AbstractCache(v2.AbstractCache): def get_bucket_name_or_none_from_bucket_id(self, bucket_id: str) -> str | None: return None
data/b2sdk-1.31.0/b2sdk/v1/cache.py
275
70
28,087
LOAD_CONST 0 LOAD_CONST ('aggregate', 'Ftrl', 'kfold', 'kfold_random', 'LinearModel') IMPORT_NAME datatable.lib._datatable IMPORT_FROM aggregate STORE_NAME aggregate IMPORT_FROM Ftrl STORE_NAME Ftrl IMPORT_FROM kfold STORE_NAME kfold IMPORT_FROM kfold_random STORE_NAME kfold_random IMPORT_FROM LinearModel STORE_NAME Li...
from datatable.lib._datatable import ( aggregate, Ftrl, kfold, kfold_random, LinearModel, ) __all__ = ("aggregate", "Ftrl", "kfold", "kfold_random", "LinearModel")
data/datatable-1.1.0/src/datatable/models.py
120
70
150,225
LOAD_CONST 1 LOAD_CONST ('UnixHTTPAdapter',) IMPORT_NAME unixconn IMPORT_FROM UnixHTTPAdapter STORE_NAME UnixHTTPAdapter POP_TOP SETUP_EXCEPT to 42 LOAD_CONST 1 LOAD_CONST ('NpipeHTTPAdapter',) IMPORT_NAME npipeconn IMPORT_FROM NpipeHTTPAdapter STORE_NAME NpipeHTTPAdapter POP_TOP LOAD_CONST 1 LOAD_CONST ('NpipeSocke...
from .unixconn import UnixHTTPAdapter try: from .npipeconn import NpipeHTTPAdapter from .npipesocket import NpipeSocket except ImportError: pass try: from .sshconn import SSHHTTPAdapter except ImportError: pass
data/docker-7.0.0/docker/transport/__init__.py
223
70
132,572
LOAD_CONST 0 LOAD_CONST ('core',) IMPORT_NAME datatable.lib IMPORT_FROM core STORE_NAME core POP_TOP LOAD_CONST ('abs', 'exp', 'log', 'log10', 'isna') STORE_NAME __all__ LOAD_NAME core LOAD_ATTR isna STORE_NAME isna LOAD_NAME core LOAD_ATTR abs STORE_NAME abs LOAD_NAME core LOAD_ATTR exp STORE_NAME exp LOAD_NAME c...
from datatable.lib import core __all__ = ("abs", "exp", "log", "log10", "isna") isna = core.isna abs = core.abs exp = core.exp log = core.log log10 = core.log10
data/datatable-1.1.0/src/datatable/expr/math.py
111
70
150,232
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pprint STORE_NAME pprint LOAD_BUILD_CLASS LOAD_CONST <code object Error at 0x7fab42231ed0, file "f.py", line 4> LOAD_CONST 'Error' MAKE_FUNCTION LOAD_CONST 'Error' LOAD_NAME Exception CALL_FUNCTION STORE_NAME Error LOAD_CONST None RETURN_VALUE LOAD_NAME __name__ STORE_NAME __m...
import pprint class Error(Exception): def print_error(self) -> None: pass def __str__(self) -> str: pp = pprint.PrettyPrinter(indent=4) return pp.pformat(vars(self))
data/tbump-6.11.0/tbump/error.py
277
70
343,113
LOAD_CONST 0 LOAD_CONST ('Response',) IMPORT_NAME pyramid.response IMPORT_FROM Response STORE_NAME Response POP_TOP LOAD_CONST <code object aview at 0x7faa75df4660, file "f.py", line 4> LOAD_CONST 'aview' MAKE_FUNCTION STORE_NAME aview LOAD_CONST <code object configure at 0x7fab418ece40, file "f.py", line 8> LOAD_CON...
from pyramid.response import Response def aview(request): return Response("root") def configure(config): config.add_view(aview) config.include("tests.pkgs.includeapp1.two.configure") config.commit()
data/pyramid-2.0.2/tests/pkgs/includeapp1/root.py
190
70
19,660
LOAD_CONST 0 LOAD_CONST ('validate_ip', 'validate_token') IMPORT_NAME miio.click_common IMPORT_FROM validate_ip STORE_NAME validate_ip IMPORT_FROM validate_token STORE_NAME validate_token POP_TOP LOAD_CONST <code object test_validate_token_empty at 0x7faa74756ed0, file "f.py", line 4> LOAD_CONST 'test_validate_token_e...
from miio.click_common import validate_ip, validate_token def test_validate_token_empty(): assert not validate_token(None, None, None) def test_validate_ip_empty(): assert validate_ip(None, None, None) is None
data/python-miio-0.5.12/miio/tests/test_click_common.py
240
70
24,499
LOAD_CONST 0 LOAD_CONST ('AvroValueColorPick', 'AvroValueColorCount', 'run_task') IMPORT_NAME avro_base IMPORT_FROM AvroValueColorPick STORE_NAME AvroValueColorPick IMPORT_FROM AvroValueColorCount STORE_NAME AvroValueColorCount IMPORT_FROM run_task STORE_NAME run_task POP_TOP LOAD_CONST <code object __main__ at 0x7fa6...
from avro_base import AvroValueColorPick, AvroValueColorCount, run_task def __main__(): run_task(AvroValueColorPick, AvroValueColorCount) if __name__ == "__main__": __main__()
data/pydoop-2.0.0/examples/avro/py/avro_value_in_out.py
186
70
44,950
LOAD_CONST ('SQL query', 'option', 'c') LOAD_CONST ('command',) BUILD_CONST_KEY_MAP LOAD_CONST <code object main at 0x7fab540c5420, file "f.py", line 1> LOAD_CONST 'main' MAKE_FUNCTION STORE_NAME main LOAD_NAME __name__ LOAD_CONST '__main__' COMPARE_OP == POP_JUMP_IF_FALSE LOAD_CONST 0 LOAD_CONST None IMPORT_NAME pla...
def main(command: ("SQL query", "option", "c"), dsn): if command: print("executing %s on %s" % (command, dsn)) if __name__ == "__main__": import plac plac.call(main)
data/plac-1.4.2/doc/example8.py
154
70
112,229
SETUP_EXCEPT to 18 LOAD_CONST 0 LOAD_CONST ('base',) IMPORT_NAME flake8.formatting IMPORT_FROM base STORE_NAME base 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 0 LOAD_CONST ('*',) IMPORT_NAME teamcity.flake8_v2_plu...
try: from flake8.formatting import base # noqa except ImportError: from teamcity.flake8_v2_plugin import * # noqa else: from teamcity.flake8_v3_plugin import * # noqa
data/teamcity-messages-1.32/teamcity/flake8_plugin.py
127
70
10,664
LOAD_CONST 0 LOAD_CONST ('AvroKeyColorPick', 'AvroKeyColorCount', 'run_task') IMPORT_NAME avro_base IMPORT_FROM AvroKeyColorPick STORE_NAME AvroKeyColorPick IMPORT_FROM AvroKeyColorCount STORE_NAME AvroKeyColorCount IMPORT_FROM run_task STORE_NAME run_task POP_TOP LOAD_CONST <code object __main__ at 0x7fa6f18e0f60, fi...
from avro_base import AvroKeyColorPick, AvroKeyColorCount, run_task def __main__(): run_task(AvroKeyColorPick, AvroKeyColorCount) if __name__ == "__main__": __main__()
data/pydoop-2.0.0/examples/avro/py/avro_key_in_out.py
186
70
44,957
LOAD_CONST 0 LOAD_CONST ('null_renderer',) IMPORT_NAME pyramid.renderers IMPORT_FROM null_renderer STORE_NAME null_renderer POP_TOP LOAD_CONST 0 LOAD_CONST ('view_config',) IMPORT_NAME pyramid.view IMPORT_FROM view_config STORE_NAME view_config POP_TOP LOAD_NAME view_config LOAD_CONST 'subpackage_init' LOAD_NAME null...
from pyramid.renderers import null_renderer from pyramid.view import view_config @view_config(name="subpackage_init", renderer=null_renderer) def subpackage_init(context, request): return "subpackage_init"
data/pyramid-2.0.2/tests/test_config/pkgs/scannable/subpackage/__init__.py
168
70
19,704
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('SSM',) IMPORT_NAME prowler.providers.aws.services.ssm.ssm_service IMPORT_FROM SSM STORE_NAME SSM POP_TOP LOAD_NAME ...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.ssm.ssm_service import SSM ssm_client = SSM(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/ssm/ssm_client.py
123
70
183,035
LOAD_CONST 0 LOAD_CONST ('Literal',) IMPORT_NAME typing IMPORT_FROM Literal STORE_NAME Literal POP_TOP LOAD_NAME Literal LOAD_CONST ('bottom', 'center', 'left', 'left-bottom', 'left-top', 'right', 'right-bottom', 'right-top', 'top') BINARY_SUBSCR STORE_NAME BackgroundPosition LOAD_CONST None RETURN_VALUE
from typing import Literal BackgroundPosition = Literal[ "bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top", ]
data/nicegui-1.4.15/nicegui/tailwind_types/background_position.py
78
70
223,427
LOAD_CONST 0 LOAD_CONST ('notfound_view_config',) IMPORT_NAME pyramid.view IMPORT_FROM notfound_view_config STORE_NAME notfound_view_config POP_TOP LOAD_NAME notfound_view_config LOAD_CONST 'tutorial:templates/404.jinja2' LOAD_CONST ('renderer',) CALL_FUNCTION LOAD_CONST <code object notfound_view at 0x7faa747565d0, f...
from pyramid.view import notfound_view_config @notfound_view_config(renderer="tutorial:templates/404.jinja2") def notfound_view(request): request.response.status = 404 return {}
data/pyramid-2.0.2/docs/tutorials/wiki2/src/authentication/tutorial/views/notfound.py
156
70
19,903
LOAD_CONST 'Mac package.' STORE_NAME __doc__ LOAD_CONST 0 LOAD_CONST ('_mac',) IMPORT_NAME tink.mac IMPORT_FROM _mac STORE_NAME _mac POP_TOP LOAD_CONST 0 LOAD_CONST ('_mac_key_manager',) IMPORT_NAME tink.mac IMPORT_FROM _mac_key_manager STORE_NAME _mac_key_manager POP_TOP LOAD_CONST 0 LOAD_CONST ('_mac_key_templates...
"""Mac package.""" from tink.mac import _mac from tink.mac import _mac_key_manager from tink.mac import _mac_key_templates as mac_key_templates Mac = _mac.Mac register = _mac_key_manager.register
data/tink-1.9.0/tink/mac/__init__.py
152
70
316,318
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('Shield',) IMPORT_NAME prowler.providers.aws.services.shield.shield_service IMPORT_FROM Shield STORE_NAME Shield POP_...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.shield.shield_service import Shield shield_client = Shield(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/shield/shield_client.py
122
70
183,289
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('EMR',) IMPORT_NAME prowler.providers.aws.services.emr.emr_service IMPORT_FROM EMR STORE_NAME EMR POP_TOP LOAD_NAME ...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.emr.emr_service import EMR emr_client = EMR(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/emr/emr_client.py
123
70
183,062
LOAD_CONST 0 LOAD_CONST ('ModelViewSet',) IMPORT_NAME rest_framework_json_api.views IMPORT_FROM ModelViewSet STORE_NAME ModelViewSet POP_TOP LOAD_CONST 0 LOAD_CONST ('BasicModel',) IMPORT_NAME tests.models IMPORT_FROM BasicModel STORE_NAME BasicModel POP_TOP LOAD_CONST 0 LOAD_CONST ('BasicModelSerializer',) IMPORT_NA...
from rest_framework_json_api.views import ModelViewSet from tests.models import BasicModel from tests.serializers import BasicModelSerializer class BasicModelViewSet(ModelViewSet): serializer_class = BasicModelSerializer queryset = BasicModel.objects.all()
data/djangorestframework-jsonapi-6.1.0/tests/views.py
227
70
42,264
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('FMS',) IMPORT_NAME prowler.providers.aws.services.fms.fms_service IMPORT_FROM FMS STORE_NAME FMS POP_TOP LOAD_NAME ...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.fms.fms_service import FMS fms_client = FMS(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/fms/fms_client.py
123
70
183,160
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('EFS',) IMPORT_NAME prowler.providers.aws.services.efs.efs_service IMPORT_FROM EFS STORE_NAME EFS POP_TOP LOAD_NAME ...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.efs.efs_service import EFS efs_client = EFS(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/efs/efs_client.py
123
70
183,154
LOAD_CONST 0 LOAD_CONST ('current_audit_info',) IMPORT_NAME prowler.providers.aws.lib.audit_info.audit_info IMPORT_FROM current_audit_info STORE_NAME current_audit_info POP_TOP LOAD_CONST 0 LOAD_CONST ('WAF',) IMPORT_NAME prowler.providers.aws.services.waf.waf_service IMPORT_FROM WAF STORE_NAME WAF POP_TOP LOAD_NAME ...
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info from prowler.providers.aws.services.waf.waf_service import WAF waf_client = WAF(current_audit_info)
data/prowler-3.14.0/prowler/providers/aws/services/waf/waf_client.py
123
70
183,153
LOAD_CONST '\n pyudev.device\n =============\n\n Device class implementation of :mod:`pyudev`.\n\n .. moduleauthor:: Sebastian Wiesner <lunaryorn@gmail.com>\n' STORE_NAME __doc__ LOAD_CONST 1 LOAD_CONST ('Attributes', 'Device', 'Devices', 'Tags') IMPORT_NAME _device IMPORT_FROM Attributes STORE_NAME Attributes IMPORT_...
""" pyudev.device ============= Device class implementation of :mod:`pyudev`. .. moduleauthor:: Sebastian Wiesner <lunaryorn@gmail.com> """ from ._device import Attributes, Device, Devices, Tags
data/pyudev-0.24.1/src/pyudev/device/__init__.py
117
70
25,948
LOAD_CONST 0 LOAD_CONST ('ABC', 'abstractmethod') IMPORT_NAME abc IMPORT_FROM ABC STORE_NAME ABC IMPORT_FROM abstractmethod STORE_NAME abstractmethod POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object Startable at 0x7fab7002b660, file "f.py", line 4> LOAD_CONST 'Startable' MAKE_FUNCTION LOAD_CONST 'Startable' LOAD_NAME ...
from abc import ABC, abstractmethod class Startable(ABC): """Abstract base class for Thread- and Process-like objects.""" __slots__ = () @abstractmethod def start(self) -> None: raise NotImplementedError
data/Rx-3.2.0/rx/core/abc/startable.py
237
70
187,246
LOAD_CONST 0 LOAD_CONST None IMPORT_NAME numpy STORE_NAME np LOAD_CONST 0 LOAD_CONST ('OpRunBinary',) IMPORT_NAME onnx.reference.ops._op IMPORT_FROM OpRunBinary STORE_NAME OpRunBinary POP_TOP LOAD_BUILD_CLASS LOAD_CONST <code object BitwiseXor at 0x7f8e2ff258a0, file "f.py", line 6> LOAD_CONST 'BitwiseXor' MAKE_FUNCT...
import numpy as np from onnx.reference.ops._op import OpRunBinary class BitwiseXor(OpRunBinary): def _run(self, x, y): # type: ignore return (np.bitwise_xor(x, y),)
data/onnxsim-0.4.35/third_party/onnx-optimizer/third_party/onnx/onnx/reference/ops/op_bitwise_xor.py
227
70
114,313