The repository or configuration that created this release differ from a previous release. View details.
nomad-fsspec
An fsspec filesystem for the raw data of NOMAD, the materials science repository. It is read-only.
import fsspec
fs = fsspec.filesystem("nomad") # https://nomad-lab.eu/prod/v1 by default
fs.ls("/") # two folders: /datasets and /uploads
fs.ls("/datasets") # public datasets
fs.ls("/datasets/wWgAnNZNQxOHLf97H62dgw", detail=False) # the uploads of one dataset, by id
fs.upload_names(["Xa2LB__ESiKu-odRBPJhjA"]) # {"Xa2LB__ESiKu-odRBPJhjA": "nomad-demo-data.zip"}
fs.get_file(
"/datasets/wWgAnNZNQxOHLf97H62dgw/Xa2LB__ESiKu-odRBPJhjA/nomad-demo-data/BrK_svSe/TBCC006.ABC/vasprun.xml.relax2",
"vasprun.xml",
)
The top level has two folders, so a path means the same thing with or without a token:
/datasets/<dataset id>/<upload id>/<path inside the upload>for public datasets. Datasets have their names indisplay_name. Uploads inside a dataset are listed by id, since naming all uploads of a large dataset at once makes NOMAD time out;upload_nameslooks names up 8 at a time and keeps them, andsearch_uploadsfinds the ids of uploads by name./uploads/<upload id>/<path inside the upload>for your uploads and those shared with you, published or not, as NOMAD's uploads page lists them. Listing/uploadsneeds a token. Published uploads can be read through it without one.
fs = fsspec.filesystem("nomad", token="...")
fs.ls("/uploads") # your uploads, with their names in display_name
A published upload with more than 300 entries is listed from the central directory of its ZIP,
which takes one or two byte ranges of /uploads/<upload id>/raw without the token, even for
uploads with hundreds of thousands of files. NOMAD's own folder listing adds up every size below a
folder and can take a minute on such uploads. The listing is kept for the life of the process and
shared, since published uploads do not change: about 19 bytes per file, so 7 MB for the largest
public upload, and up to 64 MB in all, the oldest dropped first. Smaller published uploads are
listed folder by folder, unless NOMAD takes more than 5 seconds to answer, which it can the first
time it reads an upload; their ZIP is then read instead. Unpublished and embargoed uploads are
always listed folder by folder. NOMAD allows one new connection to the ZIP route per client
every 5 seconds; a busy answer is retried.
The public datasets and the uploads of each dataset are the same with or without a token, so every
instance in the process shares these listings, for listings_expiry_time or 5 minutes, up to
50,000 entries in all; ls(path, refresh=True) and invalidate_cache(path) ask NOMAD again. The
name and number of entries of a published upload without an embargo are shared too, so a new
instance, such as one for each token, does not ask for them again. Like the ZIP listings, they are
kept for the life of the process, up to 10,000 uploads: an upload an administrator renames or
removes later keeps its old name until then, or until invalidate_cache().
Other listings are kept by each instance in fsspec's listing cache, where max_paths and
listings_expiry_time drop old listings as new ones come in. fsspec's own cache drops them only
when they are asked for again.
A personal access token with the
uploads:read scope is enough. To use a NOMAD Oasis, pass base_url:
fs = fsspec.filesystem("nomad", base_url="https://my-oasis.example.org/nomad-oasis")
NOMAD's rate limits (HTTP 429 and 503) are retried. Redirects are not followed: a base URL that redirects is reported with the address it redirects to.
Development
uv sync
uv run pytest -m "not live" # unit tests
uv run pytest -m live # a few calls to nomad-lab.eu
uv run ruff check . && uv run ruff format --check . && uv run mypy src
License
MIT
Metadata
Release files for nomad-fsspec 0.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nomad_fsspec-0.4.5.tar.gz | 23.5 kB | With provenance | Details for nomad_fsspec-0.4.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nomad_fsspec-0.4.5-py3-none-any.whl | Python 3 | none | any | Details for nomad_fsspec-0.4.5-py3-none-any.whl |
Total release size: 40.8 kB
Release files / nomad_fsspec-0.4.5.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | nomad_fsspec-0.4.5.tar.gz |
|---|---|
| Size | 23.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
704278fd56b14824fdacae2eb68717b1281fbaa56cfad520a4fc26d9cea93612
|
|
BLAKE2b-256 checksum How to use checksums |
45c62fcefff809ece5bced95ed62ecac2c5fb5f80fa31c9a1ee6b4998cc062f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 15, 2026.
Transparency logRelease files / nomad_fsspec-0.4.5-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | nomad_fsspec-0.4.5-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5896b62ff71f82fe5829272d07d019b0e0b06a5db57dd0633dbdbf70b2fc326d
|
|
BLAKE2b-256 checksum How to use checksums |
b6d57862084a262b69c98b3f89d6a43fb0bde1a4f88ee9fb4e74e87a21ba1221
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 15, 2026.
Transparency logSecurity for nomad-fsspec 0.4.5
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.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 0.4.4 github.com/arash77/nomad-fsspec
- Added 0.4.5 github.com/usegalaxy-eu/nomad-fsspec
Attestation for nomad_fsspec-0.4.5.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 Oct 15, 2026.
Transparency logA 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.