PyAny
PyAny is a Python library that provides a universal, dynamically typed value container designed to simplify working with heterogeneous data and cross-language interoperability. The project defines a PyAny value type that can wrap any Python object and expose a uniform interface for inspection, conversion, and serialization. PyAny values support primitive types, collections, and user-defined objects by using a small protocol that preserves type information when moving data across boundaries.
Core features include a lightweight API for constructing PyAny values from Python objects, retrieving them back
Interoperability is central to PyAny: it provides a bridge between Python and embedded or host environments
Typical use cases include data ingestion pipelines that transport values across components with varying schemas, testing
Design and licensing: PyAny emphasizes safety through explicit conversion controls and error handling. The project is
See also: dynamic typing, typing in Python, inter-language interoperability, data serialization.