Skip to main content

nodusdb

Zanzibar-style permissions that run inside your Python process, on a log that is also your lake.

NodusDB keeps the relationship graph in your process's memory, so a permission check that must reflect every write so far is a function call: 14 microseconds at the median over 560,497 relationships at 100 checks a second, where SpiceDB and OpenFGA take 4.6 ms and 3.7 ms over the network (the benchmark). Every write also goes into one signed log in your own bucket, which followers replicate from, which projects into an Iceberg table you can query with SQL, and which as_of and erase read.

  • Typed relationship tuples, a schema language and permission checks through nested groups and parent links.
  • Tokens, so a check can refuse to answer from a state older than a given write.
  • Durability with a write-ahead log and snapshots.
  • A signed, hash-linked log shipped to S3, with followers, restore and takeover.
  • An Iceberg v2 table of every change, readable by DuckDB, Spark and pyiceberg.
  • Time travel (as_of), erasure across every copy, and a change feed.
  • A general graph engine and a Parquet write buffer (LakeTable) on the same native-memory core.

Install

pip install nodusdb

The wheel carries its own native library. It needs Python 3.10 or newer and one of:

Platform Requirement
Linux x86_64 or arm64 glibc 2.34 or newer (Ubuntu 22.04 and later, Debian 12, RHEL 9)
macOS x86_64 or arm64 macOS 11 or newer
Windows x86_64 none

Alpine (musl) and older Linux distributions are not supported yet; pip reports "no matching distribution" there.

A first check

import nodusdb

SCHEMA = """
schema 1
type user
type group { relation member: user | group#member }
type document {
  relation viewer: user | group#member
  permission view = viewer
}
"""

with nodusdb.Graph() as g:
    g.apply_schema(SCHEMA)
    g.add_tuple("document:readme", "viewer", "group:staff", "member")
    token = g.add_tuple("group:staff", "member", "user:alice")

    print(g.check("document:readme", "view", "user:alice", at_least=token))   # True
    print(g.check("document:readme", "view", "user:bob"))                     # False

nodusdb.__version__ reports the installed version.

Status

This is a beta release. One writer and many readers share a graph: reads run in parallel and writes on one handle run one at a time. The README covers each feature, the benchmarks, the limits and the compatibility promise for 0.1.x. Changes are listed in the changelog.

License

Apache License 2.0. The native library is compiled with GraalVM Community Edition Native Image; its runtime license is in the licenses folder of the installed distribution, as described in NOTICE.

Metadata

Release files for nodusdb 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for nodusdb 0.1.2
File Actions
nodusdb-0.1.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for nodusdb-0.1.2-py3-none-win_amd64.whl
nodusdb-0.1.2-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details for nodusdb-0.1.2-py3-none-manylinux_2_34_x86_64.whl
nodusdb-0.1.2-py3-none-manylinux_2_34_aarch64.whl Python 3 none Linux glibc 2.34+ ARM64 Details for nodusdb-0.1.2-py3-none-manylinux_2_34_aarch64.whl
nodusdb-0.1.2-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for nodusdb-0.1.2-py3-none-macosx_11_0_x86_64.whl
nodusdb-0.1.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for nodusdb-0.1.2-py3-none-macosx_11_0_arm64.whl

Total release size: 66.6 MB

Release files / nodusdb-0.1.2-py3-none-win_amd64.whl

Download URL nodusdb-0.1.2-py3-none-win_amd64.whl
Size 13.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
945a38e638ee06c3eaeff7c93aeb6444ddd46374d6486d93733b992ae0e12367
BLAKE2b-256 checksum
How to use checksums
4487a46def59f9e51e2c74f4c02a0db40f7dd9e65dc3145abe713885bec85f72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / nodusdb-0.1.2-py3-none-manylinux_2_34_x86_64.whl

Download URL nodusdb-0.1.2-py3-none-manylinux_2_34_x86_64.whl
Size 13.5 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
6290f73964c8c63f93c010e6ff47265288638cc208e31ee07b1e09225440ec20
BLAKE2b-256 checksum
How to use checksums
a96c3a346cf29e39d07b3e31486c1cc576136425f22aa8e6de1f83268897b9f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / nodusdb-0.1.2-py3-none-manylinux_2_34_aarch64.whl

Download URL nodusdb-0.1.2-py3-none-manylinux_2_34_aarch64.whl
Size 13.1 MB
Tags Linux glibc 2.34+ ARM64 Python 3
SHA-256 checksum
How to use checksums
9f0c55f6894a209597ac7b9453e198961e815e74be9ec225c252a43cd3faac72
BLAKE2b-256 checksum
How to use checksums
f268fea3e6a156044ba859ecf31e93938629c9b1a71aa295134cee5186f30d44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / nodusdb-0.1.2-py3-none-macosx_11_0_x86_64.whl

Download URL nodusdb-0.1.2-py3-none-macosx_11_0_x86_64.whl
Size 13.3 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
8811d947118c0766a3dcb34233cbc48fa9bcb3b2247e9a2e432d6d9aa5b9c1c6
BLAKE2b-256 checksum
How to use checksums
e0a2e62c187d5624f10823ed0f731bac6896ce6584fd4222141f70b167a49248
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / nodusdb-0.1.2-py3-none-macosx_11_0_arm64.whl

Download URL nodusdb-0.1.2-py3-none-macosx_11_0_arm64.whl
Size 13.2 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bb74bd0f69281ab783e1dd27b1769903ac29cd207e0df4b520e6f4b6bacc0149
BLAKE2b-256 checksum
How to use checksums
9cbfc848511e81d35f3ec0dad0aec345881026861e23cfbc90a092446d984320
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for nodusdb 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for nodusdb-0.1.2-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

5 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page