* Added {class}`pikepdf.NamePath` for ergonomic access to deeply
nested PDF structures. NamePath provides a single-operation
traversal with helpful error messages showing exactly where
traversal failed.
* Added explicit scalar types: {class}`pikepdf.Integer`,
{class}`pikepdf.Boolean`, and {class}`pikepdf.Real`. When
explicit conversion mode is enabled, these types
are returned instead of Python native types (`int`, `bool`,
`Decimal`), enabling better type safety and static type checking.
* Added {func}`pikepdf.set_object_conversion_mode` and
{func}`pikepdf.get_object_conversion_mode` to control
conversion behavior globally.
* Added {func}`pikepdf.explicit_conversion` context manager for
temporarily enabling explicit conversion mode.
* Added safe accessor methods to
{class}`pikepdf.Object`: {meth}`~pikepdf.Object.as_int`,
{meth}`~pikepdf.Object.as_bool`, {meth}`~pikepdf.Object.as_float`, and
{meth}`~pikepdf.Object.as_decimal` with optional default parameters
for type-safe access to scalar values.
* `pikepdf.Integer` and `pikepdf.Real` now support full arithmetic
operations with both `int` and `float` operands, including true
division (`/`).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=62