LightWin
LightWin is a tool to automatically find compensation settings for cavity failures in linacs.
Installation
The full installation instructions are detailed in the documentation.
The steps are straightforward and can be summarized as follows:
Users
- Create a dedicated Python environment.
- Run
pip install lightwin[cython]
Developers
- Clone the repository:
git clone git@github.com:AdrienPlacais/LightWin.git
- Create a dedicated Python environment.
- From LightWin folder:
pip install -e .[test, cython] - Test that everything is working with
pytest -m "not tracewin and not implementation".
Documentation
Documentation is now automatically built and hosted on Read the docs.
How to run
See documentation.
Example
See the data/example folder.
Metadata
Release files for LightWin 0.16.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lightwin-0.16.7.tar.gz | 1.1 MB | Details |
Built distributions (wheels)
Total release size: 28.2 MB
Release files / lightwin-0.16.7.tar.gz
| Download URL | lightwin-0.16.7.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65f8af7ed2af42de7c59c320ff48fcd1e6ce3617d050481e0de0131e03f6800d
|
|
BLAKE2b-256 checksum How to use checksums |
daa2c16d1f2e2cfeaaa693f02b63707df67bd497413be9dd20bb3d310cd36a64
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp314-cp314-win_amd64.whl
| Download URL | lightwin-0.16.7-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
07b09f4eacead39584b9b0239aed1c05e2f3dcebe18b050a2c37c15540def4f8
|
|
BLAKE2b-256 checksum How to use checksums |
d80ae69ba73acdb69c8003f6a22bf8f9dbcc6ec859b0a4da9886e36c0fb64418
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp314-cp314-musllinux_1_2_x86_64.whl
| Download URL | lightwin-0.16.7-cp314-cp314-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.14 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
109775e3f18734eaa38eaaeec181e10a4fcbd125a45f9b4c184fac9f777530b6
|
|
BLAKE2b-256 checksum How to use checksums |
6867c35b2b419774a9fee43b1016335d7f74debbd2ee55ae4ec0f1a7c937f18a
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | lightwin-0.16.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
9fd2d2d4666791c5f36df0fd5105e884d5ecd15aceea168520cce4189fd6e009
|
|
BLAKE2b-256 checksum How to use checksums |
41ca6b40762c7fe65ec5b3ead11d6db12821d37d7ddea2fa16c31167ac4a9a2d
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | lightwin-0.16.7-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
4c7bcefa880ff6cf2bd127ad35e889671cd43c4010ffbf496f427a0bc7c5a3f0
|
|
BLAKE2b-256 checksum How to use checksums |
fd58b0390f83aada3366cbcdf867c414b42135ecc3f453711145ada83c477746
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | lightwin-0.16.7-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
356a3f1472b1994bb8f881c9d8101c92b3707de048761118708018c896bc454f
|
|
BLAKE2b-256 checksum How to use checksums |
147e5cdc7e0203f43cbeecf932e6fac682bdc5a5b9034f72fcd9661be4796e43
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp313-cp313-win_amd64.whl
| Download URL | lightwin-0.16.7-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0e17f0354b96a1735bdb8da8b5aad55342b898f23ef705f696caf0ba023f06a2
|
|
BLAKE2b-256 checksum How to use checksums |
078e519cd43fe05ca5223deeb3c8d4ebc2400d666c196bafed5b70e00c6e5418
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | lightwin-0.16.7-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
d8c8f39ae641bed6fc7d73649489a048dd0b34995f0505e21772c4415aaaeb29
|
|
BLAKE2b-256 checksum How to use checksums |
4a6e61979b04244140370ae2b31e7624a1e66b0c0a77a12e589a8b4a0798bc6c
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | lightwin-0.16.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
28f800f03ea663080d4b78313f27db17ed7fc0a6cbb72afd5446bb3ada03ad9d
|
|
BLAKE2b-256 checksum How to use checksums |
d3bfd4c50f5f17ed6252f076be1ea6a8d8ca3d2c0fcbeb8f0089dc29dc4ff602
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | lightwin-0.16.7-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
1ae660c8aa106a8083e0d877184965b3e13ad97e7b9e47bcfee157c45a6f0075
|
|
BLAKE2b-256 checksum How to use checksums |
315923ee27886da4b017590348cd2bc7943442e6efb3739531abf57ced790939
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | lightwin-0.16.7-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
33b03f2e356b152721a1fbb83e55d966595b503b502f10d4b9980d3bb48d240f
|
|
BLAKE2b-256 checksum How to use checksums |
68389f182032a85a7f53ef54e4ddcff700a22acf2ec810bc06c653204fafec01
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp312-cp312-win_amd64.whl
| Download URL | lightwin-0.16.7-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c686b99edf0ae154d432b543e767b68ecb9a681c40739f12793b5fe016b8d74e
|
|
BLAKE2b-256 checksum How to use checksums |
6504595f8deed3b7cc49f9f99079024a14e21c8d605516f82daf6be9249eb590
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | lightwin-0.16.7-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
6a4d63307ccedfb49625700a3dfcd9ed13ebda7f5c18d8e20a9d21119758e51a
|
|
BLAKE2b-256 checksum How to use checksums |
3d56b5abf5a4255f220ba009daed800965082b7fb06899e8d97ad404a958068f
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | lightwin-0.16.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
1f6a19cfb3005bc00067312fe100ef748a0e61096b7211cf3b01b688416c98ee
|
|
BLAKE2b-256 checksum How to use checksums |
48334d3415f1a10062085b28c9c812ae6b2fada6dd61f5f4b0adaf7786cf670d
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | lightwin-0.16.7-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
680b15217c47087793ac1eb3d016ddfec2868f3e7392cb92e6c8ebb1abc2320a
|
|
BLAKE2b-256 checksum How to use checksums |
a7a4bd01e5f77b6d2563093db93627fc356ec29b152e7aa44acd3ec9f581292e
|
| 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 14, 2026.
Transparency logRelease files / lightwin-0.16.7-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | lightwin-0.16.7-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
85a85cfe9da1d96607bca111376caee8e30d0fcf69aaef13db12b1d20129c8e2
|
|
BLAKE2b-256 checksum How to use checksums |
50fd79b1ec49f7e020916d42e346191c29b3cfbe7f9531442b3b239d74fa35fc
|
| 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 14, 2026.
Transparency log