Skip to main content

LRFutils

PyPI Documentation Sponsor

Small tools for everyday scientific work, by Vincent Foriel.

  • LRFutils.archive: one dated directory per run, named after its parameters, with a metadata.yml manifest (date, Python version, Git commit and branch, parameters).
  • LRFutils.pltedit: matplotlib figures saved as editable .plt files, reopened in Python or in the pltedit desktop editor.
  • LRFutils.progress, logs, color, term: progress bars, logs and coloured text for scripts.
pip install LRFutils
from LRFutils import archive, pltedit

run = archive.new("scan", wavelength_nm=1550)       # archives/2026-10-28_1a2b3c4/0001-scan-wavelength_nm=1550/
pltedit.save(fig, run.path / "spectrum.plt")

Documentation: https://lrfutils.readthedocs.io

LRFutils 0.2 replaces VFSciTools: vfscitools.archive and pltedit are now LRFutils.archive and LRFutils.pltedit, with the same behaviour and file formats.

Development

python -m venv .venv
.venv/Scripts/python -m pip install -e ".[dev,docs]"      # .venv/bin/python on Linux and macOS
.venv/Scripts/python -m pytest
.venv/Scripts/python -m sphinx -W -b html docs docs/_build/html

A GitHub release publishes the package on PyPI (.github/workflows/publish.yml); Read the Docs builds the documentation of every push to main.

MIT license.

If LRFutils helps your work, you can sponsor its development ❤️

Metadata

Release files for LRFutils 0.2.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 LRFutils 0.2.0
File Size Uploaded Provenance Actions
lrfutils-0.2.0.tar.gz 72.9 kB Without provenance Details for lrfutils-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for LRFutils 0.2.0
File Interpreter ABI Platform Actions
lrfutils-0.2.0-py3-none-any.whl Python 3 none any Details for lrfutils-0.2.0-py3-none-any.whl

Total release size: 146.7 kB

Release files / lrfutils-0.2.0.tar.gz

Download URL lrfutils-0.2.0.tar.gz
Size 72.9 kB
Tags Source
SHA-256 checksum
How to use checksums
98cf21f057c221e68c343c96443efd325b6383d49c3759a21475caa96cb77135
BLAKE2b-256 checksum
How to use checksums
2157b3c0506647da3756d093d0650a61d77b1e1b9df91115e2c9c0b2d9165022
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / lrfutils-0.2.0-py3-none-any.whl

Download URL lrfutils-0.2.0-py3-none-any.whl
Size 73.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98788faf8532427fcf7c9cee30132fc3ec2223622c68871bc2a31c3b30eaee50
BLAKE2b-256 checksum
How to use checksums
793658526b4af685270f24a9b6ffa2cf52ab5c1c2c3902e76708431e49dfd511
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for LRFutils 0.2.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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