This Pull Request expands the current bindings based on pybind11 with basic writing API.
The exposed API are the definitions and allocations of fields for unsigned and signed integers and floating point data.
A new unit test for writing has been added to the pytest suite.
The documentation has been improved with more docstrings and example code for writing and reading from/to Python3 which is automatically executed at build time with the sphinx-exec-code extension for Sphinx.
Related issues
I am not sure if the contribution in this PR covers all use cases; currently what I can see is,
79, in which I should have done everything but exposing the Get method which is anyway more related to reading than writing (could be a separate PR if needed) and the support for appending more data (which I can do here or in a dedicated PR)
94 (which refers to #85), if I am not wrong this is not possible in the first place...from the source code, it seems to be not possible to add a new field to an existing file (if I understood correctly what the users were asking)
This Pull Request expands the current bindings based on pybind11 with basic writing API.
The exposed API are the definitions and allocations of fields for unsigned and signed integers and floating point data.
A new unit test for writing has been added to the pytest suite.
The documentation has been improved with more docstrings and example code for writing and reading from/to Python3 which is automatically executed at build time with the sphinx-exec-code extension for Sphinx.
Related issues
I am not sure if the contribution in this PR covers all use cases; currently what I can see is,
79, in which I should have done everything but exposing the
Get
method which is anyway more related to reading than writing (could be a separate PR if needed) and the support for appending more data (which I can do here or in a dedicated PR)94 (which refers to #85), if I am not wrong this is not possible in the first place...from the source code, it seems to be not possible to add a new field to an existing file (if I understood correctly what the users were asking)