Skip to main content

Logo

nfs-db

PyPI version Python versions License Unit tests Coverage gate

nfs-db is not a database engine. It is a lightweight Python interface that lets you interact with an existing NFS server through familiar database-style operations.

Why nfs-db?

For small projects already utilizing a NFS server, using nfs-db avoids the infrastructure complexity and operational requirements that traditional databases bring.

What to expect

nfs-db is not intended to compete with traditional database engines. Filesystem operations introduce overhead, and performance will not be comparable to purpose-built database systems.

nfs-db is best suited for:

  • Small applications and utilities.
  • Shared application state across multiple machines.
  • Data processing pipelines operating on shared NFS storage.
  • Workloads where atomic operations matter more than raw throughput.

It is not intended for large datasets, high-throughput workloads, or applications requiring the advanced capabilities of a traditional database.

Quickstart

Create a users table:

from nfs_db import database, table_spec

db = database("/mnt/nfs")
spec = table_spec("users", name=str, number=int, is_active=bool)
users = db.table(spec)

Insert, retrieve, update, query, and delete rows:

row_id = users.insert({
    "name": "John",
    "number": 7,
    "is_active": True,
})

row = users.get(row_id)
active_users = users.get_where("is_active", True)

updated_row = users.update(row_id, lambda row: {**row, "number": row["number"] + 1})
users.delete(row_id)

The update callback must return a row dictionary with the table's existing fields, and it must not change id. If another update wins a race, the callback may run again against the latest row, so avoid external side effects in it.

Metadata

Release files for nfs-db 2.0.0

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

Source distribution (sdist)

Source distribution for nfs-db 2.0.0
File Size Uploaded Provenance Actions
nfs_db-2.0.0.tar.gz 11.7 kB With provenance Details for nfs_db-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nfs-db 2.0.0
File Interpreter ABI Platform Actions
nfs_db-2.0.0-py3-none-any.whl Python 3 none any Details for nfs_db-2.0.0-py3-none-any.whl

Total release size: 20.8 kB

Release files / nfs_db-2.0.0.tar.gz

Download URL nfs_db-2.0.0.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
eda38ca7c15e06275d385a55c645aca65b403289b52fe0d3d676935468e73cee
BLAKE2b-256 checksum
How to use checksums
18093bd9b9c3dfc97504baa2392dd445d1647de67a02f909fa9168c7427cf308
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 19, 2026.

Transparency log

Release files / nfs_db-2.0.0-py3-none-any.whl

Download URL nfs_db-2.0.0-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9b3c9f9753068cbe2483f3a137756e11f411ff111b6a663d26b04d6403201d2
BLAKE2b-256 checksum
How to use checksums
6979c44c4189159f90755eb965757e7cc896f15edc2412558fe748f64f45377e
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 19, 2026.

Transparency log

Security for nfs-db 2.0.0

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nfs_db-2.0.0.tar.gz

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 19, 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

2.0.0 This release

2 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