"""
    lseg-data is a Python library to access Data Platform with Python.
"""

# _version.py file is generated by setuptools_scm on build
try:
    from ._version import __version__
except ImportError:
    __version__ = "0.0.0"

import warnings as _warnings

from ._tools import attach_stub as _attach_stub

_warnings.formatwarning = (
    lambda message, category, filename, lineno, line=None: f"{filename}:{lineno}:{category.__name__}: {message}\n"
)

__getattr__, __dir__, __all__ = _attach_stub(__name__, __file__)
