Repository navigation
dNHyDB 0.2.0
Pre-releasedNHyDB v0.2.0 — Mathematical Database Addressing, Now Cross-Platform
dNHyDB brings Dynadron-based mathematical cell addressing to a native Rust database engine, accessible directly from Python.
Instead of treating database addresses as merely arbitrary storage positions, dNHyDB uses a mathematically structured coordinate system derived from the Dynadron of natural numbers.
Version 0.2.0 is a major portability milestone: the engine now runs on Linux, macOS and Windows, with prebuilt Python wheels across five platform targets and six CPython versions.
One mathematical addressing principle. One native database engine. Five platform targets.
Installation
pip install dnhydbNo Rust compiler is required when installing a supported prebuilt wheel. PyPI availability follows the separately approved publishing step.
Platform Support
Operating system | Architecture | Python -- | -- | -- Linux (manylinux_2_28) | x86_64 | 3.9–3.14 Linux (manylinux_2_28) | aarch64 | 3.9–3.14 macOS | Intel x86_64 | 3.9–3.14 macOS | Apple Silicon arm64 | 3.9–3.14 Windows | x64 | 3.9–3.1430 prebuilt wheels + 1 source distribution.
All 30 wheel installation-test jobs passed in the release pipeline, including tests on the target operating systems and Python versions.
What's New in v0.2.0
Cross-platform native storage engine
The previously Unix-specific storage implementation has been made portable across Linux, macOS and Windows.
The platform layer now provides:
Positional file I/O across supported operating systems.
Exclusive writer locking using Rust's
File::try_lock.Platform-specific synchronization, including
FlushFileBufferson Windows.File identity detection, including volume and file identifiers on Windows, to recognize replaced database files.
Portable local-time handling for backup filenames.
Improved database lifecycle
close() now releases the underlying file handle and write lock immediately.
Further behavior is explicitly defined:
Access after closing raises
DnhydbError(database is closed).Repeated calls to
close()are harmless.If
close(commit=True)cannot commit, the database remains open so the operation can be retried or discarded.close(commit=False)releases the handle and lock even if buffered writing fails.
Python compatibility improvements
load_options() now supports Python 3.9 and 3.10 through the automatically installed tomli backport. Newer Python versions use their built-in TOML support.
More reliable testing and distribution
The Python test suite no longer depends on a Rust target/ directory already existing.
Tests now run correctly from fresh source checkouts and source distributions.
The release pipeline builds and verifies the complete package set, then independently installs and tests each of the 30 supported wheel combinations.
Mathematical Foundation — Unchanged
The cross-platform work does not alter the fundamental database architecture:
Dynadron-based mathematical cell addressing remains unchanged.
The existing
NHYDB014database file format remains unchanged.The Rust database core continues to expose its functionality through Python/PyO3.
This release expands where dNHyDB can run without changing the mathematical principle on which it is built.
Project Status
dNHyDB is an experimental, source-available database technology under active development.
Version 0.2.0 is published as a pre-release. The project documentation describes the supported functionality, current limitations and applicable license terms.
dNHyDB v0.2.0 — From a mathematical addressing concept to a tested cross-platform database engine.