Skip to main content

nfs4fs

An fsspec filesystem (nfs4://) backed by the vectorized vnfs NFSv4.1 client.

The Rust extension (nfs4fs._native) links libntirpc statically, so import nfs4fs works without LD_LIBRARY_PATH.

Build

python3 -m venv .venv
.venv/bin/pip install maturin fsspec pytest
cd python
../.venv/bin/maturin develop

Use

import fsspec
import nfs4fs  # registers the "nfs4" protocol

fs = fsspec.filesystem("nfs4", host="127.0.0.1", root="git/some/tree")
fs.pipe({"nfs4:///a.txt": b"hello", "nfs4:///b.txt": b"world"})
print(fs.cat(["nfs4:///a.txt", "nfs4:///b.txt"]))

For tests without an NFS server, use backend="dummy" (a local-directory implementation of the same vectorized API):

fs = fsspec.filesystem("nfs4", backend="dummy", dummy_root="/tmp/scratch")

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nfs4fs-0.1.0.tar.gz (179.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nfs4fs-0.1.0-cp39-abi3-manylinux_2_38_aarch64.whl (1.4 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.38+ ARM64

File details

Details for the file nfs4fs-0.1.0.tar.gz.

File metadata

  • Download URL: nfs4fs-0.1.0.tar.gz
  • Upload date:
  • Size: 179.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for nfs4fs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e0842b209bfc65f59d8971a923cc237279464afa053ab0379368029963cb28e8
MD5 c4cd10d621abbc72dec2c5398a070894
BLAKE2b-256 c32ea15f2e48f96cb5afb6d6f2a4a50503719a67ad6a51ccb74c336c07b2c0b4

See more details on using hashes here.

File details

Details for the file nfs4fs-0.1.0-cp39-abi3-manylinux_2_38_aarch64.whl.

File metadata

File hashes

Hashes for nfs4fs-0.1.0-cp39-abi3-manylinux_2_38_aarch64.whl
Algorithm Hash digest
SHA256 8cb5f71fbd42733e17a0dacd432a6a352758b33602411823d5e60026cf4d986c
MD5 88a03df2be16a67925417df5cc9d1144
BLAKE2b-256 d9f03530c4da8614ba7611db75fdb3f3c1a77d6c70b3c1fb26aa5dafda79f78c

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.1

4 files

0.3.0

4 files

0.2.0

4 files

This release

0.1.0 This release

2 files

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