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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0842b209bfc65f59d8971a923cc237279464afa053ab0379368029963cb28e8
|
|
| MD5 |
c4cd10d621abbc72dec2c5398a070894
|
|
| BLAKE2b-256 |
c32ea15f2e48f96cb5afb6d6f2a4a50503719a67ad6a51ccb74c336c07b2c0b4
|
File details
Details for the file nfs4fs-0.1.0-cp39-abi3-manylinux_2_38_aarch64.whl.
File metadata
- Download URL: nfs4fs-0.1.0-cp39-abi3-manylinux_2_38_aarch64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.9+, manylinux: glibc 2.38+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cb5f71fbd42733e17a0dacd432a6a352758b33602411823d5e60026cf4d986c
|
|
| MD5 |
88a03df2be16a67925417df5cc9d1144
|
|
| BLAKE2b-256 |
d9f03530c4da8614ba7611db75fdb3f3c1a77d6c70b3c1fb26aa5dafda79f78c
|