Recent Releases of ncompress
ncompress - v1.0.1: switch to nanobind
Python bindings
- No changes to the API.
- Replaced
pybind11withnanobindfor smaller wheels (i.e. 100 kB instead of 900 kB for manylinux wheels) and slightly improved performance. - The minimal Python version is now 3.8 instead of 3.6 and 32-bit systems are no longer supported due to constraints from nanobind.
- Wheels are now built for all supported architectures, not just x86_64.
- Added
cmakeandninjaas build dependencies andcibuildwheelconfig topyproject.toml. This allows building from source withpip install ncompressand building wheels using thecibuildwheelcommand to work out of the box. - Custom build logic in
setup.pywas replaced withscikit-build.
C++ library
- No changes to the existing API.
- Eliminated C-style #defines and macros.
- Reduced the scope of C-style variable declarations for readability.
- Added
MAGIC_1andMAGIC_2constants at the start of compressed files toncompress.hfor convenience.
- C++
Published by valgur almost 3 years ago