Provides a mechanism to define private attributes in C++ implementations exposed to Python via pybind11. Current version 1.4.11, released on PyPI. Development is active on GitHub.
pip install private-attribute-cppNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use PrivateAttribute to define a private attribute in a Python class.
Use Python name mangling (double underscore) for true Python-level privacy; rely on PrivateAttribute only for C++ integration.
Ensure pybind11 is installed: pip install pybind11