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 ('BingSearchToolSpec', 'ENDPOINT_BASE_URL')
IMPORT_NAME llama_hub.tools.bing_search.base
IMPORT_FROM BingSearchToolSpec
STORE_NAME BingSearchToolSpec
IMPORT_FROM ENDPOINT_BASE_URL
STORE_NAME ENDPOINT_BASE_URL
POP_TOP
LOAD_CONST 'BingSearchToolSpec'
LOAD_CONST 'ENDPOINT_BASE_URL'
BUILD_LIST
STOR... | from llama_hub.tools.bing_search.base import (
BingSearchToolSpec,
ENDPOINT_BASE_URL,
)
__all__ = ["BingSearchToolSpec", "ENDPOINT_BASE_URL"]
| data/llama_hub-0.0.79.post1/llama_hub/tools/bing_search/__init__.py | 104 | 60 | 359,508 |
LOAD_CONST '_build'
BUILD_LIST
STORE_NAME exclude_patterns
LOAD_CONST '\n.. |picture| image:: pic.png\n :width: 15pt\n :height: 15pt\n :alt: alternative_text\n'
STORE_NAME rst_epilog
LOAD_CONST None
RETURN_VALUE | exclude_patterns = ["_build"]
rst_epilog = """
.. |picture| image:: pic.png
:width: 15pt
:height: 15pt
:alt: alternative_text
"""
| data/sphinx-7.2.6/tests/roots/test-image-in-section/conf.py | 69 | 60 | 381,038 |
LOAD_CONST 0
LOAD_CONST ('GoogleSearchToolSpec', 'QUERY_URL_TMPL')
IMPORT_NAME llama_hub.tools.google_search.base
IMPORT_FROM GoogleSearchToolSpec
STORE_NAME GoogleSearchToolSpec
IMPORT_FROM QUERY_URL_TMPL
STORE_NAME QUERY_URL_TMPL
POP_TOP
LOAD_CONST 'GoogleSearchToolSpec'
LOAD_CONST 'QUERY_URL_TMPL'
BUILD_LIST
STORE_... | from llama_hub.tools.google_search.base import (
GoogleSearchToolSpec,
QUERY_URL_TMPL,
)
__all__ = ["GoogleSearchToolSpec", "QUERY_URL_TMPL"]
| data/llama_hub-0.0.79.post1/llama_hub/tools/google_search/__init__.py | 104 | 60 | 359,539 |
LOAD_CONST 0
LOAD_CONST ('routers',)
IMPORT_NAME rest_framework
IMPORT_FROM routers
STORE_NAME routers
POP_TOP
LOAD_CONST 1
LOAD_CONST ('ProxmoxVMView',)
IMPORT_NAME views
IMPORT_FROM ProxmoxVMView
STORE_NAME ProxmoxVMView
POP_TOP
LOAD_NAME routers
LOAD_METHOD DefaultRouter
CALL_METHOD
STORE_NAME router
LOAD_NAME ro... | from rest_framework import routers
from .views import ProxmoxVMView
router = routers.DefaultRouter()
router.register(r"proxbox", ProxmoxVMView)
urlpatterns = router.urls
| data/netbox_proxbox-0.0.5/netbox_proxbox/api/urls.py | 122 | 60 | 289,203 |
LOAD_CONST 'Archive commands for the isoinfo program.'
STORE_NAME __doc__
LOAD_CONST <code object list_iso at 0x7faa5ec5e9c0, file "f.py", line 4>
LOAD_CONST 'list_iso'
MAKE_FUNCTION
STORE_NAME list_iso
LOAD_CONST None
RETURN_VALUE
LOAD_FAST cmd
LOAD_CONST '-l'
LOAD_CONST '-R'
LOAD_CONST '-J'
LOAD_CONST '-i'
LOAD_FAS... | """Archive commands for the isoinfo program."""
def list_iso(archive, compression, cmd, verbosity, interactive):
"""List an ISO archive."""
return [cmd, "-l", "-R", "-J", "-i", archive]
| data/patool-2.2.0/patoolib/programs/isoinfo.py | 102 | 60 | 441,596 |
LOAD_CONST 'Google Calendar Tool Spec'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('GoogleCalendarToolSpec', 'SCOPES')
IMPORT_NAME llama_hub.tools.google_calendar.base
IMPORT_FROM GoogleCalendarToolSpec
STORE_NAME GoogleCalendarToolSpec
IMPORT_FROM SCOPES
STORE_NAME SCOPES
POP_TOP
LOAD_CONST 'GoogleCalendarToolSpec'
... | """Google Calendar Tool Spec"""
from llama_hub.tools.google_calendar.base import (
GoogleCalendarToolSpec,
SCOPES,
)
__all__ = ["GoogleCalendarToolSpec", "SCOPES"]
| data/llama_hub-0.0.79.post1/llama_hub/tools/google_calendar/__init__.py | 102 | 60 | 359,558 |
LOAD_CONST 0
LOAD_CONST ('Sequence',)
IMPORT_NAME typing
IMPORT_FROM Sequence
STORE_NAME Sequence
POP_TOP
LOAD_CONST ((),)
LOAD_NAME Sequence
LOAD_NAME str
BINARY_SUBSCR
LOAD_NAME str
LOAD_NAME Sequence
LOAD_NAME str
BINARY_SUBSCR
LOAD_NAME Sequence
LOAD_NAME str
BINARY_SUBSCR
LOAD_CONST ('harness', 'executable', 'ar... | from typing import Sequence
def make_cmdline(
harness: Sequence[str], executable: str, arg: Sequence[str] = ()
) -> Sequence[str]:
return [*harness, executable, *arg]
| data/pytest-cpp-2.5.0/src/pytest_cpp/helpers.py | 149 | 60 | 380,869 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST 2
LOAD_CONST ('load_defined_algorithms',)
IMPORT_NAME algolib.loader
IMPORT_FROM load_defined_algorithms
STORE_NAME load_defined_algorithms
POP_TOP
LOAD_CONST 1
LOAD_CONST ('TimeSeriesFieldRole',)
IMPORT_NAME _customize
IMPORT_FROM TimeSeriesField... | import sys
from ..algolib.loader import load_defined_algorithms
from ._customize import TimeSeriesFieldRole
__all__ = []
load_defined_algorithms(sys.modules[__name__], "timeseries")
| data/pyodps-0.11.5.post0/odps/ml/timeseries/__init__.py | 132 | 60 | 299,721 |
LOAD_CONST 0
LOAD_CONST ('unique',)
IMPORT_NAME enum
IMPORT_FROM unique
STORE_NAME unique
POP_TOP
LOAD_CONST 4
LOAD_CONST ('StrEnum',)
IMPORT_NAME _base_enum
IMPORT_FROM StrEnum
STORE_NAME StrEnum
POP_TOP
LOAD_NAME unique
LOAD_BUILD_CLASS
LOAD_CONST <code object AdjustInterestToPaymentDate at 0x7fab700e4c90, file "f.... | from enum import unique
from ...._base_enum import StrEnum
@unique
class AdjustInterestToPaymentDate(StrEnum):
ADJUSTED = "Adjusted"
UNADJUSTED = "Unadjusted"
| data/refinitiv-data-1.6.0/refinitiv/data/content/ipa/_enums/_adjust_interest_to_payment_date.py | 203 | 60 | 195,511 |
LOAD_CONST 0
LOAD_CONST ('unique',)
IMPORT_NAME enum
IMPORT_FROM unique
STORE_NAME unique
POP_TOP
LOAD_CONST 4
LOAD_CONST ('StrEnum',)
IMPORT_NAME _base_enum
IMPORT_FROM StrEnum
STORE_NAME StrEnum
POP_TOP
LOAD_NAME unique
LOAD_BUILD_CLASS
LOAD_CONST <code object EquityDividendType at 0x7fab700e4c90, file "f.py", line... | from enum import unique
from ...._base_enum import StrEnum
@unique
class EquityDividendType(StrEnum):
DEFAULT = "Default"
DISCRETE = "Discrete"
YIELD = "Yield"
| data/refinitiv-data-1.6.0/refinitiv/data/content/ipa/_enums/_equity_dividend_type.py | 201 | 60 | 195,509 |
LOAD_CONST '\nThis is a package that has setupmeta pinned to an explicit version range.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('setup',)
IMPORT_NAME setuptools
IMPORT_FROM setup
STORE_NAME setup
POP_TOP
LOAD_NAME setup
LOAD_CONST 'pinned'
LOAD_CONST 'setupmeta>=0.0.0'
BUILD_LIST
LOAD_CONST ('name', 'setup_r... | """
This is a package that has setupmeta pinned to an explicit version range.
"""
from setuptools import setup
setup(
name="pinned",
setup_requires=["setupmeta>=0.0.0"],
)
| data/setupmeta-3.6.0/tests/scenarios/pinned/setup.py | 96 | 60 | 242,494 |
LOAD_CONST 'Set module version.\n\n<Major>.<Minor>.<maintenance>[alpha/beta/..]\nAlphas will be numbered like this -> 0.4.0a0\n'
STORE_NAME __doc__
LOAD_CONST '0.1'
STORE_NAME VERSION
LOAD_CONST None
RETURN_VALUE | """Set module version.
<Major>.<Minor>.<maintenance>[alpha/beta/..]
Alphas will be numbered like this -> 0.4.0a0
"""
VERSION = "0.1"
| data/parsl-2024.2.19/parsl/monitoring/visualization/version.py | 76 | 60 | 123,361 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.object_detection import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/object_detection/__init__.py | 80 | 60 | 401,240 |
LOAD_CONST 'Code audit tool for python.\n\n:copyright: 2013 by Kirill Klenov.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME logging
STORE_NAME logging
LOAD_CONST '8.4.1'
STORE_NAME __version__
LOAD_NAME logging
LOAD_METHOD getLogger
LOAD_CONST 'pylama'
CALL_METHOD
STORE_NAME LOGGER
LOAD_CONST None
R... | """Code audit tool for python.
:copyright: 2013 by Kirill Klenov.
"""
import logging
__version__ = "8.4.1"
LOGGER = logging.getLogger("pylama")
| data/pylama-8.4.1/pylama/__init__.py | 90 | 60 | 421,775 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.eval.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.eval
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.eval."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.eval import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/keras/eval.py | 80 | 60 | 401,256 |
LOAD_CONST 0
LOAD_CONST ('BaseVarsPlugin',)
IMPORT_NAME ansible.plugins.vars
IMPORT_FROM BaseVarsPlugin
STORE_NAME BaseVarsPlugin
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object VarsModule at 0x7faa74c1ba50, file "f.py", line 4>
LOAD_CONST 'VarsModule'
MAKE_FUNCTION
LOAD_CONST 'VarsModule'
LOAD_NAME BaseVarsPlugin
CA... | from ansible.plugins.vars import BaseVarsPlugin
class VarsModule(BaseVarsPlugin):
REQUIRES_WHITELIST = True
def get_vars(self, loader, path, entities):
return {}
| data/ansible-core-2.16.3/test/integration/targets/old_style_vars_plugins/deprecation_warning/vars.py | 206 | 60 | 437,525 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.train.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.train
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.train."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.keras.train import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/keras/train.py | 80 | 60 | 401,252 |
LOAD_CONST 0
LOAD_CONST ('aov', 'contingency', 'critical', 'descriptive', 'fa', 'hypothesis', 'nonparametric', 'gof', 'posthoc')
IMPORT_NAME utilmy.stats.hypothesis
IMPORT_FROM aov
STORE_NAME aov
IMPORT_FROM contingency
STORE_NAME contingency
IMPORT_FROM critical
STORE_NAME critical
IMPORT_FROM descriptive
STORE_NAME d... | from utilmy.stats.hypothesis import (
aov,
contingency,
critical,
descriptive,
fa,
hypothesis,
nonparametric,
gof,
posthoc,
)
| data/utilmy-0.1.17078128/utilmy/stats/hypothesis/__init__.py | 136 | 60 | 350,563 |
LOAD_CONST 'Helper functinos for dealing with dicts.\n\nThings you always wished you could do more succinctly!\n'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('LimitedDict',)
IMPORT_NAME limited_dict
IMPORT_FROM LimitedDict
STORE_NAME LimitedDict
POP_TOP
LOAD_CONST 1
LOAD_CONST ('ChainedDict',)
IMPORT_NAME chained_dic... | """Helper functinos for dealing with dicts.
Things you always wished you could do more succinctly!
"""
from .limited_dict import LimitedDict
from .chained_dict import ChainedDict
from .helpers import *
| data/utils-1.0.2/utils/dicts/__init__.py | 124 | 60 | 10,373 |
LOAD_CONST 0
LOAD_CONST ('unique',)
IMPORT_NAME enum
IMPORT_FROM unique
STORE_NAME unique
POP_TOP
LOAD_CONST 5
LOAD_CONST ('StrEnum',)
IMPORT_NAME _base_enum
IMPORT_FROM StrEnum
STORE_NAME StrEnum
POP_TOP
LOAD_NAME unique
LOAD_BUILD_CLASS
LOAD_CONST <code object SwapPriceSide at 0x7fab7002b420, file "f.py", line 6>
L... | from enum import unique
from ....._base_enum import StrEnum
@unique
class SwapPriceSide(StrEnum):
ASK = "Ask"
BID = "Bid"
MID = "Mid"
| data/refinitiv-data-1.6.0/refinitiv/data/content/ipa/curves/_enums/_swap_price_side.py | 191 | 60 | 195,675 |
LOAD_CONST 0
LOAD_CONST ('models',)
IMPORT_NAME django.db
IMPORT_FROM models
STORE_NAME models
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object TestModel at 0x7fab7016fdb0, file "f.py", line 4>
LOAD_CONST 'TestModel'
MAKE_FUNCTION
LOAD_CONST 'TestModel'
LOAD_NAME models
LOAD_ATTR Model
CALL_FUNCTION
STORE_NAME TestMod... | from django.db import models
class TestModel(models.Model):
title = models.CharField(max_length=128)
class Meta:
db_table = "health_check_db_testmodel"
| data/django-health-check-3.18.1/health_check/db/models.py | 246 | 60 | 287,492 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.core.utils.ondevice_scann_builder.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.core.utils.ondevice_scann_builder
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.core.utils.ondevice_scann_builder."""
from tensorflow_examples.lite.model_maker.core.utils.ondevice_scann_builder import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/core/utils/ondevice_scann_builder.py | 80 | 60 | 401,294 |
LOAD_CONST 0
LOAD_CONST ('AsyncHTTPTestCase',)
IMPORT_NAME tests.unit
IMPORT_FROM AsyncHTTPTestCase
STORE_NAME AsyncHTTPTestCase
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object TestBrokerView at 0x7fab8005d540, file "f.py", line 4>
LOAD_CONST 'TestBrokerView'
MAKE_FUNCTION
LOAD_CONST 'TestBrokerView'
LOAD_NAME AsyncH... | from tests.unit import AsyncHTTPTestCase
class TestBrokerView(AsyncHTTPTestCase):
def test_empty_page(self):
res = self.get("/broker")
self.assertEqual(200, res.code)
| data/flower-2.0.1/tests/unit/views/test_broker.py | 242 | 60 | 70,012 |
LOAD_CONST 0
LOAD_CONST ('tracer',)
IMPORT_NAME ddtrace
IMPORT_FROM tracer
STORE_NAME tracer
POP_TOP
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_JUMP_IF_FALSE
LOAD_NAME tracer
LOAD_ATTR _writer
LOAD_ATTR agent_url
LOAD_CONST 'http://172.10.0.1:8120'
COMPARE_OP ==
POP_JUMP_IF_TRUE
LOAD_GLOBAL AssertionE... | from ddtrace import tracer
if __name__ == "__main__":
assert tracer._writer.agent_url == "http://172.10.0.1:8120"
print("Test success")
| data/ddtrace-2.6.3/tests/commands/ddtrace_run_hostname.py | 110 | 60 | 270,105 |
LOAD_CONST '\nQuantum information utility functions for operators.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('annotations',)
IMPORT_NAME __future__
IMPORT_FROM annotations
STORE_NAME annotations
POP_TOP
LOAD_CONST 1
LOAD_CONST ('anti_commutator',)
IMPORT_NAME anti_commutator
IMPORT_FROM anti_commutator
STORE_NAM... | """
Quantum information utility functions for operators.
"""
from __future__ import annotations
from .anti_commutator import anti_commutator
from .commutator import commutator
from .double_commutator import double_commutator
| data/qiskit-terra-0.46.0/qiskit/quantum_info/operators/utils/__init__.py | 154 | 60 | 431,264 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object PermissionType at 0x7fab820f4d20, file "f.py", line 4>
LOAD_CONST 'PermissionType'
MAKE_FUNCTION
LOAD_CONST 'PermissionType'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STORE_NAME Permiss... | from enum import Enum
class PermissionType(str, Enum):
Application = ("application",)
Delegated = ("delegated",)
DelegatedUserConsentable = ("delegatedUserConsentable",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/permission_type.py | 167 | 60 | 261,616 |
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 PortalHealthStatus at 0x7fab82236540, file "f.py", line 4>
LOAD_CONST 'PortalHealthStatus'
MAKE_FUNCTION
LOAD_CONST 'PortalHealthStatus'
LO... | from office365.runtime.client_value import ClientValue
class PortalHealthStatus(ClientValue):
def __init__(self, status=None):
"""
:param int status:
"""
self.Status = status
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/publishing/portal_health_status.py | 209 | 60 | 189,092 |
LOAD_CONST '\nTests for openedx_filters.py.\n'
STORE_NAME __doc__
LOAD_BUILD_CLASS
LOAD_CONST <code object Testfilters at 0x7fab703f7c90, file "f.py", line 6>
LOAD_CONST 'Testfilters'
MAKE_FUNCTION
LOAD_CONST 'Testfilters'
CALL_FUNCTION
STORE_NAME Testfilters
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME... | """
Tests for openedx_filters.py.
"""
class Testfilters:
"""
Tests of openedx filters.
"""
def test_something(self):
"""TODO: Write real test cases."""
| data/openedx-filters-1.6.0/tests/test_openedx_filters.py | 194 | 60 | 353,034 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME opentelemetry.trace
STORE_NAME opentelemetry
LOAD_NAME opentelemetry
LOAD_ATTR trace
LOAD_ATTR TracerProvider
LOAD_CONST ('return',)
BUILD_CONST_KEY_MAP
LOAD_CONST <code object dummy_check_mypy_returntype at 0x7fab5433d8a0, file "f.py", line 4>
LOAD_CONST 'dummy_check_mypy_retu... | import opentelemetry.trace
def dummy_check_mypy_returntype() -> opentelemetry.trace.TracerProvider:
return opentelemetry.trace.get_tracer_provider()
| data/opentelemetry_api-1.22.0/tests/mypysmoke.py | 153 | 60 | 305,908 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.efficientdet_arch.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.efficientdet_arch
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.efficientdet_arch."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.efficientdet_arch import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/efficientdet_arch.py | 80 | 60 | 401,217 |
LOAD_CONST 0
LOAD_CONST ('TestCase',)
IMPORT_NAME PyObjCTools.TestSupport
IMPORT_FROM TestCase
STORE_NAME TestCase
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME Photos
STORE_NAME Photos
LOAD_BUILD_CLASS
LOAD_CONST <code object TestCallableMetadata at 0x7fab417eed20, file "f.py", line 6>
LOAD_CONST 'TestCallableMet... | from PyObjCTools.TestSupport import TestCase
import Photos
class TestCallableMetadata(TestCase):
def test_callable_metadata_is_sane(self):
self.assertCallableMetadataIsSane(Photos)
| data/pyobjc-framework-Photos-10.1/PyObjCTest/test_photos.py | 246 | 60 | 80,328 |
LOAD_CONST <code object test_gc at 0x7fab42ac9150, file "f.py", line 1>
LOAD_CONST 'test_gc'
MAKE_FUNCTION
STORE_NAME test_gc
LOAD_CONST None
RETURN_VALUE
LOAD_FAST make_dataset
LOAD_CONST False
LOAD_CONST True
LOAD_CONST False
LOAD_CONST ('files', 'cache', 'dvcfile')
CALL_FUNCTION
POP_TOP
LOAD_FAST bench_dvc
LOAD_CO... | def test_gc(bench_dvc, tmp_dir, dvc, make_dataset):
make_dataset(files=False, cache=True, dvcfile=False)
bench_dvc("gc", "-f", "-w")
| data/dvc-3.47.0/dvc/testing/benchmarks/cli/commands/test_gc.py | 119 | 60 | 318,080 |
LOAD_CONST 'Implement interval based time series regression estimators.'
STORE_NAME __doc__
LOAD_CONST 'mloning'
BUILD_LIST
STORE_NAME __author__
LOAD_CONST 'TimeSeriesForestRegressor'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 0
LOAD_CONST ('TimeSeriesForestRegressor',)
IMPORT_NAME sktime.regression.interval_based._t... | """Implement interval based time series regression estimators."""
__author__ = ["mloning"]
__all__ = ["TimeSeriesForestRegressor"]
from sktime.regression.interval_based._tsf import TimeSeriesForestRegressor
| data/sktime-0.26.0/sktime/regression/interval_based/__init__.py | 107 | 60 | 65,505 |
LOAD_CONST 'The :mod:`pyts.utils` module includes utility tools.'
STORE_NAME __doc__
LOAD_CONST 1
LOAD_CONST ('segmentation', 'windowed_view')
IMPORT_NAME utils
IMPORT_FROM segmentation
STORE_NAME segmentation
IMPORT_FROM windowed_view
STORE_NAME windowed_view
POP_TOP
LOAD_CONST 1
LOAD_CONST ('deprecated',)
IMPORT_NA... | """The :mod:`pyts.utils` module includes utility tools."""
from .utils import segmentation, windowed_view
from .deprecation import deprecated
__all__ = ["segmentation", "windowed_view", "deprecated"]
| data/pyts-0.13.0/pyts/utils/__init__.py | 124 | 60 | 57,946 |
LOAD_CONST 0
LOAD_CONST ('ServiceException',)
IMPORT_NAME localstack.aws.api.lambda_
IMPORT_FROM ServiceException
STORE_NAME ServiceException
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object AccessDeniedException at 0x7fab70306300, file "f.py", line 4>
LOAD_CONST 'AccessDeniedException'
MAKE_FUNCTION
LOAD_CONST 'Acces... | from localstack.aws.api.lambda_ import ServiceException
class AccessDeniedException(ServiceException):
code: str = "AccessDeniedException"
sender_fault: bool = True
status_code: int = 403
| data/localstack-core-3.1.0/localstack/services/lambda_/invocation/__init__.py | 225 | 60 | 225,639 |
LOAD_CONST 3
LOAD_CONST ('Gmpv208TestCase',)
IMPORT_NAME gmpv208
IMPORT_FROM Gmpv208TestCase
STORE_NAME Gmpv208TestCase
POP_TOP
LOAD_CONST 1
LOAD_CONST ('GmpHelpTestMixin',)
IMPORT_NAME help
IMPORT_FROM GmpHelpTestMixin
STORE_NAME GmpHelpTestMixin
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Gmpv208HelpTestCase a... | from ...gmpv208 import Gmpv208TestCase
from .help import GmpHelpTestMixin
class Gmpv208HelpTestCase(GmpHelpTestMixin, Gmpv208TestCase):
pass
| data/python_gvm-24.1.0/tests/protocols/gmpv208/system/test_help.py | 218 | 60 | 371,861 |
LOAD_BUILD_CLASS
LOAD_CONST <code object RetryableError at 0x7fab42b746f0, file "f.py", line 1>
LOAD_CONST 'RetryableError'
MAKE_FUNCTION
LOAD_CONST 'RetryableError'
LOAD_NAME Exception
CALL_FUNCTION
STORE_NAME RetryableError
LOAD_BUILD_CLASS
LOAD_CONST <code object NonRetryableError at 0x7fab42b74a50, file "f.py", li... | class RetryableError(Exception):
pass
class NonRetryableError(Exception):
pass
class ConcurrentModificationError(Exception):
pass
class ValidationError(NonRetryableError):
pass
| data/deltacat-0.2.10/deltacat/exceptions.py | 403 | 60 | 307,170 |
LOAD_CONST <code object test at 0x7fab41751150, file "f.py", line 1>
LOAD_CONST 'test'
MAKE_FUNCTION
STORE_NAME test
LOAD_CONST <code object test at 0x7fab41751db0, file "f.py", line 9>
LOAD_CONST 'test'
MAKE_FUNCTION
STORE_NAME test
LOAD_CONST None
RETURN_VALUE
LOAD_GLOBAL but
LOAD_GLOBAL this
BINARY_ADD
LOAD_GLOBAL... | def test():
"""This docstring does not
get formatted
"""
but + this + does
def test():
"""This docstring gets formatted""" # trailing comment
and_this + gets + formatted + too
| data/ruff-0.2.2/crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/fmt_off_docstring.py | 138 | 60 | 342,223 |
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME paver.easy
IMPORT_STAR
LOAD_CONST 0
LOAD_CONST ('test_tasks',)
IMPORT_NAME paver.tests
IMPORT_FROM test_tasks
STORE_NAME test_tasks
POP_TOP
LOAD_NAME options
LOAD_CONST 1
LOAD_CONST ('foo',)
CALL_FUNCTION
POP_TOP
LOAD_NAME task
LOAD_CONST <code object t1 at 0x7fab4272a1e0, ... | from paver.easy import *
from paver.tests import test_tasks
options(foo=1)
@task
def t1(options):
test_tasks.OP_T1_CALLED = options.foo
| data/Paver-1.3.4/paver/tests/other_pavement.py | 154 | 60 | 305,114 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME http.client
STORE_NAME http
LOAD_CONST <code object div at 0x7fabdc1d0c00, file "f.py", line 4>
LOAD_CONST 'div'
MAKE_FUNCTION
STORE_NAME div
LOAD_BUILD_CLASS
LOAD_CONST <code object MyClass at 0x7fae471296f0, file "f.py", line 12>
LOAD_CONST 'MyClass'
MAKE_FUNCTION
LOAD_CONST... | import http.client
def div(a, b):
try:
return a / b
except ZeroDivisionError as exc:
return None
class MyClass(object, metaclass=type):
pass
| data/pyinstaller-6.4.0/tests/unit/test_modulegraph/testpkg-compatmodule/pkg/api3.py | 241 | 60 | 184,967 |
LOAD_BUILD_CLASS
LOAD_CONST <code object QueryProcessingStage at 0x7fae2f4044b0, file "f.py", line 1>
LOAD_CONST 'QueryProcessingStage'
MAKE_FUNCTION
LOAD_CONST 'QueryProcessingStage'
LOAD_NAME object
CALL_FUNCTION
STORE_NAME QueryProcessingStage
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LO... | class QueryProcessingStage(object):
"""
Determines till which state SELECT query should be executed.
"""
FETCH_COLUMNS = 0
WITH_MERGEABLE_STATE = 1
COMPLETE = 2
| data/clickhouse-driver-0.2.7/clickhouse_driver/queryprocessingstage.py | 167 | 60 | 305,020 |
LOAD_CONST 'Module for estimating import times.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('executable',)
IMPORT_NAME sys
IMPORT_FROM executable
STORE_NAME executable
POP_TOP
LOAD_CONST 0
LOAD_CONST ('call',)
IMPORT_NAME subprocess
IMPORT_FROM call
STORE_NAME call
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Q... | """Module for estimating import times."""
from sys import executable
from subprocess import call
class QiskitImport:
def time_qiskit_import(self):
call((executable, "-c", "import qiskit"))
| data/qiskit-terra-0.46.0/test/benchmarks/import.py | 258 | 60 | 431,425 |
LOAD_CONST 0
LOAD_CONST ('TestCase',)
IMPORT_NAME PyObjCTools.TestSupport
IMPORT_FROM TestCase
STORE_NAME TestCase
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME PHASE
STORE_NAME PHASE
LOAD_BUILD_CLASS
LOAD_CONST <code object TestPHASEDucker at 0x7faa503bbe40, file "f.py", line 6>
LOAD_CONST 'TestPHASEDucker'
MAKE_... | from PyObjCTools.TestSupport import TestCase
import PHASE
class TestPHASEDucker(TestCase):
def test_methods(self):
self.assertResultIsBOOL(PHASE.PHASEDucker.isActive)
| data/pyobjc-framework-PHASE-10.1/PyObjCTest/test_phaseducker.py | 240 | 60 | 135,226 |
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('decode_predictions',)
IMPORT_NAME tf_keras.src.applications.imagenet_utils
IMPORT_FROM decode_predictions
STORE_NAME decode_predictions
POP_TOP
LOAD_CONST 0
LOAD_CONST ('preprocess_input',)
IMPORT_NAME tf_keras.src.applications.imag... | """AUTOGENERATED. DO NOT EDIT."""
from tf_keras.src.applications.imagenet_utils import decode_predictions
from tf_keras.src.applications.imagenet_utils import preprocess_input
| data/tf_keras-2.15.0/tf_keras/api/_v1/keras/applications/imagenet_utils/__init__.py | 116 | 60 | 354,061 |
LOAD_BUILD_CLASS
LOAD_CONST <code object UrlFieldFormatType at 0x7fab700ad930, file "f.py", line 1>
LOAD_CONST 'UrlFieldFormatType'
MAKE_FUNCTION
LOAD_CONST 'UrlFieldFormatType'
CALL_FUNCTION
STORE_NAME UrlFieldFormatType
LOAD_CONST None
RETURN_VALUE
LOAD_NAME __name__
STORE_NAME __module__
LOAD_CONST 'UrlFieldFormatT... | class UrlFieldFormatType:
"""Specifies the display format used for URL fields."""
Hyperlink = 0
"""Represents a usual anchor tag."""
Image = 1
"""Represents an image that serves as a hyperlink."""
| data/Office365-REST-Python-Client-2.5.5/office365/sharepoint/fields/urlFieldFormatType.py | 137 | 60 | 189,166 |
LOAD_CONST 'Test class to just return reverse elements in a range'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME paginate
STORE_NAME paginate
LOAD_BUILD_CLASS
LOAD_CONST <code object ReversePage at 0x7faac02be150, file "f.py", line 6>
LOAD_CONST 'ReversePage'
MAKE_FUNCTION
LOAD_CONST 'ReversePage'
LOAD_... | """Test class to just return reverse elements in a range"""
import paginate
class ReversePage(paginate.Page):
def __getitem__(self, key):
return list(reversed(self.collection))[key]
| data/paginate-0.5.6/paginate/ext_reverse.py | 220 | 60 | 95,334 |
LOAD_CONST '\nPlatform specific modules.\n\nThe subject of each module should be the feature and the target platform.\nThis is done to keep modules small and descriptive.\n\nThese modules are for internal use only.\n'
STORE_NAME __doc__
LOAD_CONST 'reStructuredText'
STORE_NAME __docformat__
LOAD_CONST None
RETURN_VALU... | """
Platform specific modules.
The subject of each module should be the feature and the target platform.
This is done to keep modules small and descriptive.
These modules are for internal use only.
"""
__docformat__ = "reStructuredText"
| data/py-postgresql-1.3.0/postgresql/port/__init__.py | 75 | 60 | 389,980 |
LOAD_CONST 0
LOAD_CONST ('AsyncContract', 'AsyncContractCaller')
IMPORT_NAME web3.contract.async_contract
IMPORT_FROM AsyncContract
STORE_NAME AsyncContract
IMPORT_FROM AsyncContractCaller
STORE_NAME AsyncContractCaller
POP_TOP
LOAD_CONST 0
LOAD_CONST ('Contract', 'ContractCaller', 'ContractConstructor')
IMPORT_NAME w... | from web3.contract.async_contract import (
AsyncContract,
AsyncContractCaller,
)
from web3.contract.contract import (
Contract,
ContractCaller,
ContractConstructor,
)
| data/web3-6.15.1/web3/contract/__init__.py | 114 | 60 | 152,974 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object ChatType at 0x7fab70027660, file "f.py", line 4>
LOAD_CONST 'ChatType'
MAKE_FUNCTION
LOAD_CONST 'ChatType'
LOAD_NAME str
LOAD_NAME Enum
CALL_FUNCTION
STORE_NAME ChatType
LOAD_CONST None
... | from enum import Enum
class ChatType(str, Enum):
OneOnOne = ("oneOnOne",)
Group = ("group",)
Meeting = ("meeting",)
UnknownFutureValue = ("unknownFutureValue",)
| data/msgraph-sdk-1.1.0/msgraph/generated/models/chat_type.py | 168 | 60 | 261,404 |
LOAD_CONST 0
LOAD_CONST ('unicode_literals',)
IMPORT_NAME __future__
IMPORT_FROM unicode_literals
STORE_NAME unicode_literals
POP_TOP
LOAD_CONST 0
LOAD_CONST ('YamahaSSH', 'YamahaTelnet')
IMPORT_NAME netmiko.yamaha.yamaha
IMPORT_FROM YamahaSSH
STORE_NAME YamahaSSH
IMPORT_FROM YamahaTelnet
STORE_NAME YamahaTelnet
POP_T... | from __future__ import unicode_literals
from netmiko.yamaha.yamaha import YamahaSSH, YamahaTelnet
__all__ = ["YamahaSSH", "YamahaTelnet"]
| data/netmiko-4.3.0/netmiko/yamaha/__init__.py | 135 | 60 | 302,338 |
LOAD_CONST '\nBase Certificate Class\n\nThis module defines the Certificate class.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('managed_object',)
IMPORT_NAME castellan.common.objects
IMPORT_FROM managed_object
STORE_NAME managed_object
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Certificate at 0x7fa6f3e50c00,... | """
Base Certificate Class
This module defines the Certificate class.
"""
from castellan.common.objects import managed_object
class Certificate(managed_object.ManagedObject):
"""Base class to represent all certificates."""
| data/castellan-4.3.0/castellan/common/objects/certificate.py | 178 | 60 | 54,450 |
LOAD_CONST ' A module with a trailing underscore '
STORE_NAME __doc__
LOAD_BUILD_CLASS
LOAD_CONST <code object SomeClass_ at 0x7fab800ab390, file "f.py", line 4>
LOAD_CONST 'SomeClass_'
MAKE_FUNCTION
LOAD_CONST 'SomeClass_'
CALL_FUNCTION
STORE_NAME SomeClass_
LOAD_CONST <code object some_function_ at 0x7fab800ab660, ... | """ A module with a trailing underscore """
class SomeClass_:
"""A class with a trailing underscore"""
def some_function_(some_arg_):
"""A function with a trailing underscore in name and argument"""
| data/sphinx-7.2.6/tests/roots/test-apidoc-trailing-underscore/package_/module_.py | 185 | 60 | 381,232 |
LOAD_CONST 1
LOAD_CONST ('GmpGetUserSettingTestMixin',)
IMPORT_NAME test_get_user_setting
IMPORT_FROM GmpGetUserSettingTestMixin
STORE_NAME GmpGetUserSettingTestMixin
POP_TOP
LOAD_CONST 1
LOAD_CONST ('GmpGetUserSettingsTestMixin',)
IMPORT_NAME test_get_user_settings
IMPORT_FROM GmpGetUserSettingsTestMixin
STORE_NAME G... | from .test_get_user_setting import GmpGetUserSettingTestMixin
from .test_get_user_settings import GmpGetUserSettingsTestMixin
from .test_modify_user_setting import GmpModifyUserSettingTestMixin
| data/python_gvm-24.1.0/tests/protocols/gmpv208/system/user_settings/__init__.py | 155 | 60 | 371,888 |
LOAD_CONST ('tomllib',)
STORE_NAME __all__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_NAME sys
LOAD_ATTR version_info
LOAD_CONST (3, 11)
COMPARE_OP >=
POP_JUMP_IF_FALSE
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME tomllib
STORE_NAME tomllib
JUMP_FORWARD to 44
LOAD_CONST 0
LOAD_CONST ('tomli',)
IMP... | __all__ = ("tomllib",)
import sys
if sys.version_info >= (3, 11):
import tomllib
else:
from pipenv.patched.pip._vendor import tomli as tomllib
| data/pipenv-2023.12.1/pipenv/patched/pip/_vendor/pyproject_hooks/_compat.py | 113 | 60 | 402,271 |
LOAD_CONST 0
LOAD_CONST ('urljoin',)
IMPORT_NAME urllib.parse
IMPORT_FROM urljoin
STORE_NAME urljoin
POP_TOP
LOAD_NAME str
LOAD_NAME str
LOAD_CONST ('parts', 'return')
BUILD_CONST_KEY_MAP
LOAD_CONST <code object url_join at 0x7fab82375030, file "f.py", line 4>
LOAD_CONST 'url_join'
MAKE_FUNCTION
STORE_NAME url_join
LO... | from urllib.parse import urljoin
def url_join(*parts: str) -> str:
url = ""
for part in parts:
url = urljoin(url, part.strip("/") + "/")
return url
| data/robocorp_storage-1.0.3/src/robocorp/storage/_utils.py | 167 | 60 | 387,775 |
LOAD_CONST 1
LOAD_CONST ('ResourceGroupsTaggingAPIResponse',)
IMPORT_NAME responses
IMPORT_FROM ResourceGroupsTaggingAPIResponse
STORE_NAME ResourceGroupsTaggingAPIResponse
POP_TOP
LOAD_CONST 'https?://tagging\\.(.+)\\.amazonaws.com'
BUILD_LIST
STORE_NAME url_bases
LOAD_CONST '{0}/$'
LOAD_NAME ResourceGroupsTaggingAP... | from .responses import ResourceGroupsTaggingAPIResponse
url_bases = [r"https?://tagging\.(.+)\.amazonaws.com"]
url_paths = {"{0}/$": ResourceGroupsTaggingAPIResponse.dispatch}
| data/moto-5.0.2/moto/resourcegroupstaggingapi/urls.py | 96 | 60 | 198,352 |
LOAD_CONST 0
LOAD_CONST ('mktemp',)
IMPORT_NAME tempfile
IMPORT_FROM mktemp
STORE_NAME mktemp
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME tempfile.mktemp
IMPORT_FROM mktemp
STORE_NAME mt
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME tempfile
STORE_NAME tmp
LOAD_CONST 'hi'
STORE_NAME foo
LOAD_NAME mktemp
LOA... | from tempfile import mktemp
import tempfile.mktemp as mt
import tempfile as tmp
foo = "hi"
mktemp(foo)
tempfile.mktemp("foo")
mt(foo)
tmp.mktemp(foo)
| data/bandit-1.7.7/examples/mktemp.py | 136 | 60 | 56,676 |
LOAD_CONST '1.2.0'
STORE_NAME __version__
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME backends
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME cache_keys
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME models
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME patcher
IMPORT_STAR
LOAD_CONST 1
LOAD_... | __version__ = "1.2.0"
from .backends import *
from .cache_keys import *
from .models import *
from .patcher import *
from .policy import *
from .serializers import *
from .session import *
| data/requests_cache-1.2.0/requests_cache/__init__.py | 136 | 60 | 205,369 |
LOAD_CONST 0
LOAD_CONST ('NotionProvider',)
IMPORT_NAME allauth.socialaccount.providers.notion.provider
IMPORT_FROM NotionProvider
STORE_NAME NotionProvider
POP_TOP
LOAD_CONST 0
LOAD_CONST ('default_urlpatterns',)
IMPORT_NAME allauth.socialaccount.providers.oauth2.urls
IMPORT_FROM default_urlpatterns
STORE_NAME defaul... | from allauth.socialaccount.providers.notion.provider import NotionProvider
from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
urlpatterns = default_urlpatterns(NotionProvider)
| data/django-allauth-0.61.1/allauth/socialaccount/providers/notion/urls.py | 112 | 60 | 336,580 |
LOAD_CONST 'DO NOT EDIT.\n\nThis file was autogenerated. Do not edit it by hand,\nsince your modifications would be overwritten.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('load_data',)
IMPORT_NAME keras_core.src.datasets.cifar100
IMPORT_FROM load_data
STORE_NAME load_data
POP_TOP
LOAD_CONST None
RETURN_VALUE | """DO NOT EDIT.
This file was autogenerated. Do not edit it by hand,
since your modifications would be overwritten.
"""
from keras_core.src.datasets.cifar100 import load_data
| data/keras-core-0.1.7/keras_core/_tf_keras/datasets/cifar100/__init__.py | 91 | 60 | 386,039 |
LOAD_CONST 0
LOAD_CONST ('Enum',)
IMPORT_NAME enum
IMPORT_FROM Enum
STORE_NAME Enum
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object SqlJsonExecutionStatus at 0x7f8e44712f60, file "f.py", line 4>
LOAD_CONST 'SqlJsonExecutionStatus'
MAKE_FUNCTION
LOAD_CONST 'SqlJsonExecutionStatus'
LOAD_NAME Enum
CALL_FUNCTION
STORE_NA... | from enum import Enum
class SqlJsonExecutionStatus(Enum):
QUERY_ALREADY_CREATED = 1
HAS_RESULTS = 2
QUERY_IS_RUNNING = 3
FAILED = 4
| data/apache-superset-3.1.1/superset/sqllab/command_status.py | 181 | 60 | 393,747 |
LOAD_CONST 0
LOAD_CONST ('FileCache', 'SeparateBodyFileCache')
IMPORT_NAME cachecontrol.caches.file_cache
IMPORT_FROM FileCache
STORE_NAME FileCache
IMPORT_FROM SeparateBodyFileCache
STORE_NAME SeparateBodyFileCache
POP_TOP
LOAD_CONST 0
LOAD_CONST ('RedisCache',)
IMPORT_NAME cachecontrol.caches.redis_cache
IMPORT_FROM... | from cachecontrol.caches.file_cache import FileCache, SeparateBodyFileCache
from cachecontrol.caches.redis_cache import RedisCache
__all__ = ["FileCache", "SeparateBodyFileCache", "RedisCache"]
| data/cachecontrol-0.14.0/cachecontrol/caches/__init__.py | 126 | 60 | 132,458 |
LOAD_CONST <code object aug_assign1_check at 0x7fab40f498a0, file "f.py", line 1>
LOAD_CONST 'aug_assign1_check'
MAKE_FUNCTION
STORE_NAME aug_assign1_check
LOAD_CONST None
RETURN_VALUE
LOAD_FAST ast
LOAD_CONST 0
BINARY_SUBSCR
STORE_FAST expr
LOAD_FAST expr
LOAD_CONST 'expr'
COMPARE_OP ==
JUMP_IF_FALSE_OR_POP
LOAD_FAS... | def aug_assign1_check(self, lhs, n, rule, ast, tokens, first, last):
expr = ast[0]
return expr == "expr" and expr[0] == "or"
return False
| data/uncompyle6-3.9.0/uncompyle6/parsers/reducecheck/aug_assign.py | 113 | 60 | 441,789 |
LOAD_CONST 0
STORE_NAME SUCCESS
LOAD_CONST 1
STORE_NAME ERROR
LOAD_CONST 2
STORE_NAME UNKNOWN_ERROR
LOAD_CONST 3
STORE_NAME VIRTUALENV_NOT_FOUND
LOAD_CONST 4
STORE_NAME PREVIOUS_BUILD_DIR_ERROR
LOAD_CONST 23
STORE_NAME NO_MATCHES_FOUND
LOAD_CONST None
RETURN_VALUE | SUCCESS = 0
ERROR = 1
UNKNOWN_ERROR = 2
VIRTUALENV_NOT_FOUND = 3
PREVIOUS_BUILD_DIR_ERROR = 4
NO_MATCHES_FOUND = 23
| data/pip-24.0/src/pip/_internal/cli/status_codes.py | 88 | 60 | 325,083 |
LOAD_CONST 0
LOAD_CONST ('TestCase',)
IMPORT_NAME PyObjCTools.TestSupport
IMPORT_FROM TestCase
STORE_NAME TestCase
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME Metal
STORE_NAME Metal
LOAD_BUILD_CLASS
LOAD_CONST <code object TestCallableMetadata at 0x7fab81f2f9c0, file "f.py", line 6>
LOAD_CONST 'TestCallableMetad... | from PyObjCTools.TestSupport import TestCase
import Metal
class TestCallableMetadata(TestCase):
def test_callable_metadata_is_sane(self):
self.assertCallableMetadataIsSane(Metal)
| data/pyobjc-framework-Metal-10.1/PyObjCTest/test_metal.py | 249 | 60 | 343,047 |
LOAD_CONST 0
LOAD_CONST ('NamedTuple',)
IMPORT_NAME typing
IMPORT_FROM NamedTuple
STORE_NAME NamedTuple
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object Position at 0x7fae2f37ac90, file "f.py", line 4>
LOAD_CONST 'Position'
MAKE_FUNCTION
LOAD_CONST 'Position'
LOAD_NAME NamedTuple
CALL_FUNCTION
STORE_NAME Position
LOAD... | from typing import NamedTuple
class Position(NamedTuple):
"""Position with line and column information."""
lineno: int
col_offset: int
end_lineno: int
end_col_offset: int
| data/astroid-3.0.3/astroid/nodes/utils.py | 214 | 60 | 388,679 |
LOAD_CONST 0
LOAD_CONST ('FTP',)
IMPORT_NAME ftplib
IMPORT_FROM FTP
STORE_NAME FTP
POP_TOP
LOAD_NAME FTP
LOAD_CONST 'ftp.debian.org'
CALL_FUNCTION
STORE_NAME ftp
LOAD_NAME ftp
LOAD_METHOD login
CALL_METHOD
POP_TOP
LOAD_NAME ftp
LOAD_METHOD cwd
LOAD_CONST 'debian'
CALL_METHOD
POP_TOP
LOAD_NAME ftp
LOAD_METHOD retrli... | from ftplib import FTP
ftp = FTP("ftp.debian.org")
ftp.login()
ftp.cwd("debian")
ftp.retrlines("LIST")
ftp.quit()
| data/bandit-1.7.7/examples/ftplib.py | 114 | 60 | 56,657 |
LOAD_CONST 0
LOAD_CONST ('AppConfig',)
IMPORT_NAME server.apps
IMPORT_FROM AppConfig
STORE_NAME AppConfig
POP_TOP
LOAD_CONST 0
LOAD_CONST ('gettext_lazy',)
IMPORT_NAME server.utils.translation
IMPORT_FROM gettext_lazy
STORE_NAME _
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object HumanizeConfig at 0x7fab822f9030, file... | from server.apps import AppConfig
from server.utils.translation import gettext_lazy as _
class HumanizeConfig(AppConfig):
name = "server.contrib.humanize"
verbose_name = _("Humanize")
| data/os_sys-2.1.4/server/contrib/humanize/apps.py | 194 | 60 | 247,456 |
LOAD_CONST 0
LOAD_CONST ('__version__',)
IMPORT_NAME django
IMPORT_FROM __version__
STORE_NAME __version__
POP_TOP
LOAD_NAME int
LOAD_NAME __version__
LOAD_METHOD split
LOAD_CONST '.'
CALL_METHOD
LOAD_CONST 0
BINARY_SUBSCR
CALL_FUNCTION
STORE_NAME DJANGO_MAJOR_VERSION
LOAD_NAME DJANGO_MAJOR_VERSION
LOAD_CONST 3
COMPA... | from django import __version__
DJANGO_MAJOR_VERSION = int(__version__.split(".")[0])
DJANGO_SUPPORTS_ASYNC = DJANGO_MAJOR_VERSION >= 3
| data/webargs-8.4.0/tests/apps/django_app/__init__.py | 104 | 60 | 405,731 |
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME array
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME citext
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME hstore
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME jsonb
IMPORT_STAR
LOAD_CONST 1
LOAD_CONST ('*',)
IMPORT_NAME ranges
IMPORT_STAR
LOAD_CON... | from .array import * # NOQA
from .citext import * # NOQA
from .hstore import * # NOQA
from .jsonb import * # NOQA
from .ranges import * # NOQA
| data/os_sys-2.1.4/server/contrib/postgres/fields/__init__.py | 88 | 60 | 247,447 |
LOAD_CONST 1
LOAD_CONST ('APIClient',)
IMPORT_NAME api
IMPORT_FROM APIClient
STORE_NAME APIClient
POP_TOP
LOAD_CONST 1
LOAD_CONST ('DockerClient', 'from_env')
IMPORT_NAME client
IMPORT_FROM DockerClient
STORE_NAME DockerClient
IMPORT_FROM from_env
STORE_NAME from_env
POP_TOP
LOAD_CONST 1
LOAD_CONST ('Context',)
IMPOR... | from .api import APIClient
from .client import DockerClient, from_env
from .context import Context
from .context import ContextAPI
from .tls import TLSConfig
from .version import __version__
__title__ = "docker"
| data/docker-7.0.0/docker/__init__.py | 189 | 60 | 132,535 |
LOAD_CONST 1
LOAD_CONST ('IndexServiceAPIs',)
IMPORT_NAME _index_service_apis
IMPORT_FROM IndexServiceAPIs
STORE_NAME IndexServiceAPIs
POP_TOP
LOAD_CONST 1
LOAD_CONST ('VERSION',)
IMPORT_NAME _version
IMPORT_FROM VERSION
STORE_NAME VERSION
POP_TOP
LOAD_NAME VERSION
STORE_NAME __version__
LOAD_CONST 'IndexServiceAPIs... | from ._index_service_apis import IndexServiceAPIs
from ._version import VERSION
__version__ = VERSION
__all__ = ["IndexServiceAPIs"]
from ._patch import patch_sdk
patch_sdk()
| data/azure-ai-ml-1.13.0/azure/ai/ml/_utils/_virtual_cluster_utils/_restclient/index_service_apis/__init__.py | 133 | 60 | 426,275 |
LOAD_CONST 'DO NOT EDIT.\n\nThis file was autogenerated. Do not edit it by hand,\nsince your modifications would be overwritten.\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('load_data',)
IMPORT_NAME keras_core.src.datasets.cifar100
IMPORT_FROM load_data
STORE_NAME load_data
POP_TOP
LOAD_CONST None
RETURN_VALUE | """DO NOT EDIT.
This file was autogenerated. Do not edit it by hand,
since your modifications would be overwritten.
"""
from keras_core.src.datasets.cifar100 import load_data
| data/keras-core-0.1.7/keras_core/datasets/cifar100/__init__.py | 91 | 60 | 385,641 |
LOAD_CONST 0
LOAD_CONST ('TestCase',)
IMPORT_NAME PyObjCTools.TestSupport
IMPORT_FROM TestCase
STORE_NAME TestCase
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME SharedWithYouCore
STORE_NAME SharedWithYouCore
LOAD_BUILD_CLASS
LOAD_CONST <code object TestSWAction at 0x7fab424ac390, file "f.py", line 5>
LOAD_CONST 'T... | from PyObjCTools.TestSupport import TestCase
import SharedWithYouCore
class TestSWAction(TestCase):
def test_methods(self):
self.assertResultIsBOOL(SharedWithYouCore.SWAction.isComplete)
| data/pyobjc-framework-SharedWithYouCore-10.1/PyObjCTest/test_swaction.py | 235 | 60 | 229,798 |
LOAD_CONST 'Wolfram Alpha API toolkit.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('WolframAlphaQueryRun',)
IMPORT_NAME langchain_community.tools.wolfram_alpha.tool
IMPORT_FROM WolframAlphaQueryRun
STORE_NAME WolframAlphaQueryRun
POP_TOP
LOAD_CONST 'WolframAlphaQueryRun'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST None... | """Wolfram Alpha API toolkit."""
from langchain_community.tools.wolfram_alpha.tool import WolframAlphaQueryRun
__all__ = [
"WolframAlphaQueryRun",
]
| data/langchain-0.1.8/langchain/tools/wolfram_alpha/__init__.py | 98 | 60 | 369,332 |
LOAD_CONST 1
LOAD_CONST ('EncodingDetector', 'bytes_to_str', 'detect_encoding', 'map_encoding_to_html5')
IMPORT_NAME encoding
IMPORT_FROM EncodingDetector
STORE_NAME EncodingDetector
IMPORT_FROM bytes_to_str
STORE_NAME bytes_to_str
IMPORT_FROM detect_encoding
STORE_NAME detect_encoding
IMPORT_FROM map_encoding_to_html5... | from .encoding import (
EncodingDetector,
bytes_to_str,
detect_encoding,
map_encoding_to_html5,
)
from .http import iterate_http_chunks, read_http_chunk
| data/Resiliparse-0.14.5/resiliparse/parse/__init__.py | 163 | 60 | 45,391 |
LOAD_CONST 0
LOAD_CONST ('Protocol',)
IMPORT_NAME typing
IMPORT_FROM Protocol
STORE_NAME Protocol
POP_TOP
LOAD_CONST 0
LOAD_CONST ('runtime_checkable',)
IMPORT_NAME typing
IMPORT_FROM runtime_checkable
STORE_NAME runtime_checkable
POP_TOP
LOAD_CONST 0
LOAD_CONST ('RequestsCookieJar',)
IMPORT_NAME requests.cookies
IMP... | from typing import Protocol
from typing import runtime_checkable
from requests.cookies import RequestsCookieJar
@runtime_checkable
class SupportsCookieJar(Protocol):
_cookies: RequestsCookieJar
| data/openapi_core-0.19.0/openapi_core/contrib/requests/protocols.py | 241 | 60 | 271,209 |
LOAD_NAME print
LOAD_CONST "Hello Python World\nI tell a new joke each time you run me. Today's joke:\n"
CALL_FUNCTION
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME pyjokes
STORE_NAME pyjokes
LOAD_NAME print
LOAD_NAME pyjokes
LOAD_METHOD get_joke
CALL_METHOD
CALL_FUNCTION
POP_TOP
LOAD_NAME print
LOAD_CONST '\nHow... | print("Hello Python World\nI tell a new joke each time you run me. Today's joke:\n")
import pyjokes
print(pyjokes.get_joke())
print("\nHow was it??\n\n")
| data/azure-ai-ml-1.13.0/tests/test_configs/components/write_jokes/src/hello.py | 98 | 60 | 424,235 |
LOAD_CONST 0
LOAD_CONST ('AzureMLChatOnlineEndpoint', 'LlamaContentFormatter')
IMPORT_NAME langchain_community.chat_models.azureml_endpoint
IMPORT_FROM AzureMLChatOnlineEndpoint
STORE_NAME AzureMLChatOnlineEndpoint
IMPORT_FROM LlamaContentFormatter
STORE_NAME LlamaContentFormatter
POP_TOP
LOAD_CONST 'LlamaContentForma... | from langchain_community.chat_models.azureml_endpoint import (
AzureMLChatOnlineEndpoint,
LlamaContentFormatter,
)
__all__ = ["LlamaContentFormatter", "AzureMLChatOnlineEndpoint"]
| data/langchain-0.1.8/langchain/chat_models/azureml_endpoint.py | 102 | 60 | 368,837 |
LOAD_CONST 'Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.hparams_config.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('*',)
IMPORT_NAME tensorflow_examples.lite.model_maker.third_party.efficientdet.hparams_config
IMPORT_STAR
LOAD_CONST None
RETURN_VALUE | """Generated API for package: tensorflow_examples.lite.model_maker.third_party.efficientdet.hparams_config."""
from tensorflow_examples.lite.model_maker.third_party.efficientdet.hparams_config import *
| data/tflite-model-maker-0.4.3/src/tflite_model_maker/python/third_party/efficientdet/hparams_config.py | 80 | 60 | 401,209 |
LOAD_CONST 1
LOAD_CONST ('CustomGroupViewSet', 'CustomUserCreationForm', 'CustomUserEditForm')
IMPORT_NAME test_admin_views
IMPORT_FROM CustomGroupViewSet
STORE_NAME CustomGroupViewSet
IMPORT_FROM CustomUserCreationForm
STORE_NAME CustomUserCreationForm
IMPORT_FROM CustomUserEditForm
STORE_NAME CustomUserEditForm
POP_T... | from .test_admin_views import (
CustomGroupViewSet,
CustomUserCreationForm,
CustomUserEditForm,
)
__all__ = ["CustomGroupViewSet", "CustomUserCreationForm", "CustomUserEditForm"]
| data/wagtail-6.0.1/wagtail/users/tests/__init__.py | 110 | 60 | 199,791 |
LOAD_CONST 0
LOAD_CONST ('MiroProvider',)
IMPORT_NAME allauth.socialaccount.providers.miro.provider
IMPORT_FROM MiroProvider
STORE_NAME MiroProvider
POP_TOP
LOAD_CONST 0
LOAD_CONST ('default_urlpatterns',)
IMPORT_NAME allauth.socialaccount.providers.oauth2.urls
IMPORT_FROM default_urlpatterns
STORE_NAME default_urlpat... | from allauth.socialaccount.providers.miro.provider import MiroProvider
from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
urlpatterns = default_urlpatterns(MiroProvider)
| data/django-allauth-0.61.1/allauth/socialaccount/providers/miro/urls.py | 112 | 60 | 336,460 |
LOAD_CONST 0
LOAD_CONST ('ChatJavelinAIGateway', 'ChatParams')
IMPORT_NAME langchain_community.chat_models.javelin_ai_gateway
IMPORT_FROM ChatJavelinAIGateway
STORE_NAME ChatJavelinAIGateway
IMPORT_FROM ChatParams
STORE_NAME ChatParams
POP_TOP
LOAD_CONST 'ChatJavelinAIGateway'
LOAD_CONST 'ChatParams'
BUILD_LIST
STORE_... | from langchain_community.chat_models.javelin_ai_gateway import (
ChatJavelinAIGateway,
ChatParams,
)
__all__ = ["ChatJavelinAIGateway", "ChatParams"]
| data/langchain-0.1.8/langchain/chat_models/javelin_ai_gateway.py | 100 | 60 | 368,833 |
LOAD_CONST 1
LOAD_CONST ('ActivationQuantizer',)
IMPORT_NAME qact
IMPORT_FROM ActivationQuantizer
STORE_NAME ActivationQuantizer
POP_TOP
LOAD_CONST 1
LOAD_CONST ('IntConv2d',)
IMPORT_NAME qconv
IMPORT_FROM IntConv2d
STORE_NAME IntConv2d
POP_TOP
LOAD_CONST 1
LOAD_CONST ('IntEmbedding',)
IMPORT_NAME qemb
IMPORT_FROM In... | from .qact import ActivationQuantizer # NOQA
from .qconv import IntConv2d # NOQA
from .qemb import IntEmbedding # NOQA
from .qlinear import IntLinear # NOQA
| data/fairseq-0.12.2/fairseq/modules/quantization/scalar/modules/__init__.py | 129 | 60 | 120,628 |
LOAD_CONST 0
LOAD_CONST ('path',)
IMPORT_NAME os
IMPORT_FROM path
STORE_NAME path
POP_TOP
LOAD_CONST 1
LOAD_CONST ('path',)
IMPORT_NAME
IMPORT_FROM path
STORE_NAME path
POP_TOP
LOAD_CONST 2
LOAD_CONST ('path',)
IMPORT_NAME
IMPORT_FROM path
STORE_NAME path
POP_TOP
LOAD_CONST 2
LOAD_CONST ('path',)
IMPORT_NAME foo
IMP... | from os import path
from . import path
from .. import path
from ..foo import path
from os import path as shmath
import os
import sys, os
import os.path
import os.path as path2
import os.path, dir.foo
| data/spark_parser-1.8.9/example/python2/test/parse/imports.py | 223 | 60 | 334,762 |
LOAD_CONST 0
LOAD_CONST ('AvroKeyValueColorPick', 'run_task')
IMPORT_NAME avro_base
IMPORT_FROM AvroKeyValueColorPick
STORE_NAME AvroKeyValueColorPick
IMPORT_FROM run_task
STORE_NAME run_task
POP_TOP
LOAD_CONST <code object __main__ at 0x7fa6d545ee40, file "f.py", line 4>
LOAD_CONST '__main__'
MAKE_FUNCTION
STORE_NAME... | from avro_base import AvroKeyValueColorPick, run_task
def __main__():
run_task(AvroKeyValueColorPick)
if __name__ == "__main__":
__main__()
| data/pydoop-2.0.0/examples/avro/py/avro_key_value_in.py | 161 | 60 | 44,946 |
LOAD_CONST 0
LOAD_CONST ('rpc',)
IMPORT_NAME nameko.rpc
IMPORT_FROM rpc
STORE_NAME rpc
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object GreetingService at 0x7fab8002fd20, file "f.py", line 4>
LOAD_CONST 'GreetingService'
MAKE_FUNCTION
LOAD_CONST 'GreetingService'
CALL_FUNCTION
STORE_NAME GreetingService
LOAD_CONST Non... | from nameko.rpc import rpc
class GreetingService:
name = "greeting_service"
@rpc
def hello(self, name):
return "Hello, {}!".format(name)
| data/nameko-2.14.1/docs/examples/helloworld.py | 213 | 60 | 43,610 |
LOAD_CONST 'General purpose utilities.\n'
STORE_NAME __doc__
LOAD_CONST 'NullHandler'
LOAD_CONST 'NullLogger'
LOAD_CONST 'make_random_str'
BUILD_LIST
STORE_NAME __all__
LOAD_CONST 1
LOAD_CONST ('NullHandler', 'NullLogger', 'make_random_str')
IMPORT_NAME misc
IMPORT_FROM NullHandler
STORE_NAME NullHandler
IMPORT_FRO... | """\
General purpose utilities.
"""
__all__ = [
"NullHandler",
"NullLogger",
"make_random_str",
]
from .misc import NullHandler, NullLogger, make_random_str
| data/pydoop-2.0.0/pydoop/utils/__init__.py | 109 | 60 | 44,925 |
LOAD_CONST '\nTODO: add a docstring.\n\n'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('TemplateSpec',)
IMPORT_NAME pystache
IMPORT_FROM TemplateSpec
STORE_NAME TemplateSpec
POP_TOP
LOAD_BUILD_CLASS
LOAD_CONST <code object UnicodeInput at 0x7fab822eaae0, file "f.py", line 9>
LOAD_CONST 'UnicodeInput'
MAKE_FUNCTION
LOA... | """
TODO: add a docstring.
"""
from pystache import TemplateSpec
class UnicodeInput(TemplateSpec):
template_encoding = "utf8"
def age(self):
return 156
| data/pystache-0.6.5/pystache/tests/examples/unicode_input.py | 212 | 60 | 366,307 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME dns.immutable
STORE_NAME dns
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME dns.rdtypes.mxbase
STORE_NAME dns
LOAD_NAME dns
LOAD_ATTR immutable
LOAD_ATTR immutable
LOAD_BUILD_CLASS
LOAD_CONST <code object KX at 0x7faad411de40, file "f.py", line 5>
LOAD_CONST 'KX'
MAKE_FUNCTION
LOAD_... | import dns.immutable
import dns.rdtypes.mxbase
@dns.immutable.immutable
class KX(dns.rdtypes.mxbase.UncompressedDowncasingMX):
"""KX record"""
| data/dnspython-2.6.1/dns/rdtypes/IN/KX.py | 179 | 60 | 354,887 |
LOAD_CONST 0
STORE_NAME SUCCESS
LOAD_CONST 1
STORE_NAME ERROR
LOAD_CONST 2
STORE_NAME UNKNOWN_ERROR
LOAD_CONST 3
STORE_NAME VIRTUALENV_NOT_FOUND
LOAD_CONST 4
STORE_NAME PREVIOUS_BUILD_DIR_ERROR
LOAD_CONST 23
STORE_NAME NO_MATCHES_FOUND
LOAD_CONST None
RETURN_VALUE | SUCCESS = 0
ERROR = 1
UNKNOWN_ERROR = 2
VIRTUALENV_NOT_FOUND = 3
PREVIOUS_BUILD_DIR_ERROR = 4
NO_MATCHES_FOUND = 23
| data/pigar-2.1.3/pigar/_vendor/pip/_internal/cli/status_codes.py | 88 | 60 | 241,480 |
LOAD_CONST 0
LOAD_CONST ('TestCase',)
IMPORT_NAME PyObjCTools.TestSupport
IMPORT_FROM TestCase
STORE_NAME TestCase
POP_TOP
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME MetalFX
STORE_NAME MetalFX
LOAD_BUILD_CLASS
LOAD_CONST <code object TestMetalFX at 0x7fab6407af60, file "f.py", line 6>
LOAD_CONST 'TestMetalFX'
MAKE_FUNC... | from PyObjCTools.TestSupport import TestCase
import MetalFX
class TestMetalFX(TestCase):
def test_metadata_sane(self):
self.assertCallableMetadataIsSane(MetalFX)
| data/pyobjc-framework-MetalFX-10.1/PyObjCTest/test_metalfx.py | 245 | 60 | 322,734 |
LOAD_CONST "The main entry point. Invoke as `awscurl' or `python -m awscurl'.\n\n"
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_CONST 1
LOAD_CONST ('main',)
IMPORT_NAME awscurl
IMPORT_FROM main
STORE_NAME main
POP_TOP
LOAD_NAME __name__
LOAD_CONST '__main__'
COMPARE_OP ==
POP_J... | """The main entry point. Invoke as `awscurl' or `python -m awscurl'.
"""
import sys
from .awscurl import main
if __name__ == "__main__":
sys.exit(main())
| data/awscurl-0.32/awscurl/__main__.py | 112 | 60 | 141,474 |
LOAD_CONST 0
LOAD_CONST ('setup',)
IMPORT_NAME setuptools
IMPORT_FROM setup
STORE_NAME setup
POP_TOP
LOAD_NAME setup
LOAD_CONST 'Flask-Login'
LOAD_CONST 'Flask>=1.0.4'
LOAD_CONST 'Werkzeug>=1.0.1'
BUILD_LIST
LOAD_CONST ('name', 'install_requires')
CALL_FUNCTION
POP_TOP
LOAD_CONST None
RETURN_VALUE | from setuptools import setup
setup(
name="Flask-Login",
install_requires=[
"Flask>=1.0.4",
"Werkzeug>=1.0.1",
],
)
| data/Flask-Login-0.6.3/setup.py | 85 | 60 | 322,774 |
LOAD_CONST 0
LOAD_CONST ('EvaluatorCallbackHandler', 'wait_for_all_evaluators')
IMPORT_NAME langchain_core.tracers.evaluation
IMPORT_FROM EvaluatorCallbackHandler
STORE_NAME EvaluatorCallbackHandler
IMPORT_FROM wait_for_all_evaluators
STORE_NAME wait_for_all_evaluators
POP_TOP
LOAD_CONST 'wait_for_all_evaluators'
LOAD... | from langchain_core.tracers.evaluation import (
EvaluatorCallbackHandler,
wait_for_all_evaluators,
)
__all__ = ["wait_for_all_evaluators", "EvaluatorCallbackHandler"]
| data/langchain-0.1.8/langchain/schema/callbacks/tracers/evaluation.py | 106 | 60 | 369,139 |
LOAD_CONST 0
LOAD_CONST None
IMPORT_NAME sys
STORE_NAME sys
LOAD_NAME open
LOAD_NAME sys
LOAD_ATTR argv
LOAD_CONST 1
BINARY_SUBSCR
LOAD_CONST 'r'
CALL_FUNCTION
SETUP_WITH to 80
STORE_NAME f
SETUP_LOOP to 76
LOAD_NAME f
GET_ITER
FOR_ITER to 74
STORE_NAME l
LOAD_NAME l
LOAD_METHOD rstrip
CALL_METHOD
STORE_NAME l
LOAD... | import sys
with open(sys.argv[1], "r") as f:
for l in f:
l = l.rstrip()
print(l.replace(sys.argv[2], sys.argv[3]))
| data/meson-1.3.2/test cases/common/216 custom target input extracted objects/libdir/gen.py | 142 | 60 | 82,048 |
LOAD_CONST 1
LOAD_CONST ('GtkScheduler',)
IMPORT_NAME gtkscheduler
IMPORT_FROM GtkScheduler
STORE_NAME GtkScheduler
POP_TOP
LOAD_CONST 1
LOAD_CONST ('TkinterScheduler',)
IMPORT_NAME tkinterscheduler
IMPORT_FROM TkinterScheduler
STORE_NAME TkinterScheduler
POP_TOP
LOAD_CONST 1
LOAD_CONST ('PyGameScheduler',)
IMPORT_NA... | from .gtkscheduler import GtkScheduler
from .tkinterscheduler import TkinterScheduler
from .pygamescheduler import PyGameScheduler
from .qtscheduler import QtScheduler
from .wxscheduler import WxScheduler
| data/Rx-3.2.0/rx/scheduler/mainloop/__init__.py | 176 | 60 | 187,079 |
LOAD_CONST 1
LOAD_CONST ('VCF', 'Variant', 'Writer', 'r_', 'par_relatedness', 'par_het')
IMPORT_NAME cyvcf2
IMPORT_FROM VCF
STORE_NAME VCF
IMPORT_FROM Variant
STORE_NAME Variant
IMPORT_FROM Writer
STORE_NAME Writer
IMPORT_FROM r_
STORE_NAME r_unphased
IMPORT_FROM par_relatedness
STORE_NAME par_relatedness
IMPORT_FROM p... | from .cyvcf2 import VCF, Variant, Writer, r_ as r_unphased, par_relatedness, par_het
Reader = VCFReader = VCF
__version__ = "0.30.28"
| data/cyvcf2-0.30.28/cyvcf2/__init__.py | 134 | 60 | 20,601 |
LOAD_CONST 'AUTOGENERATED. DO NOT EDIT.'
STORE_NAME __doc__
LOAD_CONST 0
LOAD_CONST ('BaseRandomLayer',)
IMPORT_NAME tf_keras.src.engine.base_layer
IMPORT_FROM BaseRandomLayer
STORE_NAME BaseRandomLayer
POP_TOP
LOAD_CONST 0
LOAD_CONST ('BaseDenseAttention',)
IMPORT_NAME tf_keras.src.layers.attention.base_dense_attent... | """AUTOGENERATED. DO NOT EDIT."""
from tf_keras.src.engine.base_layer import BaseRandomLayer
from tf_keras.src.layers.attention.base_dense_attention import BaseDenseAttention
| data/tf_keras-2.15.0/tf_keras/__internal__/layers/__init__.py | 115 | 60 | 353,620 |
LOAD_NAME open
LOAD_CONST 'main.c'
LOAD_CONST 'w'
CALL_FUNCTION
SETUP_WITH to 28
STORE_NAME fp
LOAD_NAME print
LOAD_CONST '\n\nint main(void) {\n printf("Hello World");\n return 0;\n}\n'
LOAD_NAME fp
LOAD_CONST ('file',)
CALL_FUNCTION
POP_TOP
POP_BLOCK
LOAD_CONST None
WITH_CLEANUP_START
WITH_CLEANUP_FINISH
END_FINAL... | with open("main.c", "w") as fp:
print(
"""
int main(void) {
printf(\"Hello World\");
return 0;
}
""",
file=fp,
)
| data/meson-1.3.2/test cases/cmake/11 cmake_module_path/subprojects/cmMod/gen.py | 91 | 60 | 81,965 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.