pylamda
Python toolkit for working with and on files in the LAMDA format (the Leiden Atomic and Molecular Database).
Documentation: https://pylamda.readthedocs.io/
Main features
- reading, writing and manipulating (i.e. adding collisional partner) LAMDA files
- validating LAMDA files (i.e. do the follow the LAMDA standard)
- bibliography support (i.e. get all references for a file in bib format)
pylamda follows the LAMDA standard strictly: collision partners are identified by their ID only, and deviations are reported as issues, never silently interpreted.
import pylamda
data = pylamda.read("co.dat")
for issue in pylamda.verify(data): # all checks (see docs/checks.rst)
print(issue)
pylamda.write(data, "co_normalised.dat")
pylamda check data/*.dat # exit code 1 if there are errors
pylamda check --statistics data/*.dat
pylamda compare old.dat new.dat # exit code 1 if they differ
pylamda bib data/*.dat -o refs.bib --online # SciX needs SCIX_API_TOKEN
pylamda fix in.dat --in-place --trust id # only the changed lines
pylamda add-partner o.dat o_chianti.dat e -o o_with_e.dat
Installation
pip install . # numpy and requests
pip install ".[plot]" # with matplotlib
pip install -e ".[dev]" # development: tests, ruff, Sphinx
Metadata
Release files for pylamda 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pylamda-0.2.0.tar.gz | 127.4 kB | With provenance | Details for pylamda-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pylamda-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for pylamda-0.2.0-py3-none-any.whl |
Total release size: 264.7 kB
Release files / pylamda-0.2.0.tar.gz
| Download URL | pylamda-0.2.0.tar.gz |
|---|---|
| Size | 127.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc69bf44a4954d6883060ee5daea85fa3bdfc54d198d96a12bccbe0ff82794c1
|
|
BLAKE2b-256 checksum How to use checksums |
d55be284ae48c19ec842d2b3e150f47dc039f46e07d15fc40d732f9057610f0f
|
| 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 Dec 1, 2026.
Transparency logRelease files / pylamda-0.2.0-py3-none-any.whl
| Download URL | pylamda-0.2.0-py3-none-any.whl |
|---|---|
| Size | 137.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bff854c86e60c3046c8e24a01fd65f65a4eeca1dfcf660dae874b4e33100b26c
|
|
BLAKE2b-256 checksum How to use checksums |
a9169ca25ea9ef44ba2882233a164002e61aee44e5e54d4233eee36fa88a9258
|
| 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 Dec 1, 2026.
Transparency logSecurity for pylamda 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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pylamda-0.2.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 Dec 1, 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.