pheon/pheon/__init__.py
Jan Petykiewicz a723ba2265 Simplify Python bindings and package builds
Read each input path through one opened stream, including gzip detection, and
use direct numeric converter lookup while preserving byte-order handling and
caller data. Read the package version from installed metadata and report range
errors consistently as ValueError.

Require the supplied Cargo.lock instead of generating it during builds, use
the standard sdist command, and update package checks and development guides.

Validation: 15 Python tests pass against source and the rebuilt installed
wheel; the source archive and platform wheel build successfully.
2026-11-16 20:44:56 -08:00

10 lines
295 B
Python

"""Native GDSII helpers. Install pheon[arrow] for the pheon.arrow readers."""
from importlib.metadata import version as _version
from ._native import PheonError as PheonError
from .basic import pack_int2 as pack_int2
from .basic import pack_int4 as pack_int4
__version__ = _version("pheon")