Skip to main content

Logo

nfs-db

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)

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 1.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 1.0.0
File Size Uploaded Provenance Actions
nfs_db-1.0.0.tar.gz 11.0 kB With provenance Details for nfs_db-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 19.7 kB

Release files / nfs_db-1.0.0.tar.gz

Download URL nfs_db-1.0.0.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7a52b224acc7e70546a50dcd731f1f56b15d3aa3ab02a0f13c29b8e17bd572f1
BLAKE2b-256 checksum
How to use checksums
c2b4d01be70894481d50610c30d4138e285d95289e5b3a2bdfaab21d74e1ad64
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-1.0.0-py3-none-any.whl

Download URL nfs_db-1.0.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96e2b71511e801fb16a5745ff404c3172fcc0ba3e73562008c075c9a98f7796f
BLAKE2b-256 checksum
How to use checksums
8a7e9e47a3e02b3422da8f59d024dd83830d3f622484738deb48e6db0ab1138a
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 1.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-1.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

1.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