|
core-adapters 0.1.3
Third-party adapters for snicholls-core: nanobind helpers, nlohmann/json hooks, the snicholls_core Python package
|
Files | |
| bytes.hpp | |
bytes, bytearray, memoryview and str as zero-copy C++ views, and C++ bytes back as Python bytes. | |
| errors.hpp | |
C++ errors to Python exceptions: core's result / traced errors to the snicholls_core.errors hierarchy. | |
| gil.hpp | |
| The GIL: release it around C++ work, take it back to call Python, and a Python callable safe from any thread. | |
| ndarray.hpp | |
| NumPy arrays in and out of a header-only C++ function, with the GIL released: the names and the template. | |
| optional.hpp | |
Values that may be missing: std::optional both ways, and a returned snicholls::result as value-or-raise. | |