Skip to main content

Py versions PyPi Pytest Documentation status pre-commit.ci status License: MIT Code style: black Imports: isort

LightWin

LightWin is a tool to automatically find compensation settings for cavity failures in linacs.

Installation

The full installation instructions are detailed here.

The steps are straightforward and can be summarized as follows:

  1. Create a dedicated Python environment.
  2. Run pip install lightwin

If you want to edit the source code:

  1. Clone the repository: git clone git@github.com:AdrienPlacais/LightWin.git
  2. Create a dedicated Python environment.
  3. From LightWin folder: pip install -e .[test]
  4. 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 here.

Example

See the data/example folder.

Metadata

Release files for LightWin 0.13.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 LightWin 0.13.0
File Size Uploaded Provenance Actions
lightwin-0.13.0.tar.gz 780.2 kB With provenance Details for lightwin-0.13.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for LightWin 0.13.0
File Actions
lightwin-0.13.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for lightwin-0.13.0-cp313-cp313-win_amd64.whl
lightwin-0.13.0-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details for lightwin-0.13.0-cp313-cp313-musllinux_1_2_x86_64.whl
lightwin-0.13.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for lightwin-0.13.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
lightwin-0.13.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details for lightwin-0.13.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
lightwin-0.13.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for lightwin-0.13.0-cp313-cp313-macosx_11_0_arm64.whl
lightwin-0.13.0-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details for lightwin-0.13.0-cp313-cp313-macosx_10_13_x86_64.whl
lightwin-0.13.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for lightwin-0.13.0-cp312-cp312-win_amd64.whl
lightwin-0.13.0-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details for lightwin-0.13.0-cp312-cp312-musllinux_1_2_x86_64.whl
lightwin-0.13.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for lightwin-0.13.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
lightwin-0.13.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details for lightwin-0.13.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
lightwin-0.13.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for lightwin-0.13.0-cp312-cp312-macosx_11_0_arm64.whl
lightwin-0.13.0-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details for lightwin-0.13.0-cp312-cp312-macosx_10_13_x86_64.whl

Total release size: 12.9 MB

Release files / lightwin-0.13.0.tar.gz

Download URL lightwin-0.13.0.tar.gz
Size 780.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e708c85957ac1b7b212b509534277284af568453fc4cb8a2fc46ed7a68192849
BLAKE2b-256 checksum
How to use checksums
96667924a3338b376123ac7ed60ac06711fde3c2298ec900ad808353b7293336
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Release files / lightwin-0.13.0-cp313-cp313-win_amd64.whl

Download URL lightwin-0.13.0-cp313-cp313-win_amd64.whl
Size 729.7 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
1363c21218104791783c1e0bfdf43c678290918d09eb6c4d972a8a8ecae050dc
BLAKE2b-256 checksum
How to use checksums
08c25486bdf4ba74704e0028be3009d5f7b49f7b97d9218c769bd8813b2daf8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Release files / lightwin-0.13.0-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL lightwin-0.13.0-cp313-cp313-musllinux_1_2_x86_64.whl
Size 1.3 MB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
744956216582f7d38510d82ce01ff11da14ef4916d047a639a53ac2faa89ee9b
BLAKE2b-256 checksum
How to use checksums
5c29ddecb36c2684f30bca95fb06b36114fd0eb2ad1742920aaf82a69e5409c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Release files / lightwin-0.13.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL lightwin-0.13.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.3 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
bf30a6a872773a24d7327c85b298649b4a66ae3b9b40dde98916cacbf8766678
BLAKE2b-256 checksum
How to use checksums
84fba98dbb1115ee3e37872cd9e2f60d00e3dd71a937cb472114b3904d20e463
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Release files / lightwin-0.13.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL lightwin-0.13.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.3 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
0bd81b1fc4bc3bb8ecf27e7aa47ad3a1f86dc9e163baf4af2b1fe6ab4c954c8d
BLAKE2b-256 checksum
How to use checksums
00dabcb341bfd8f6a3541b5fab722297859885f79afc2869f34f00ea6067bfdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Release files / lightwin-0.13.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL lightwin-0.13.0-cp313-cp313-macosx_11_0_arm64.whl
Size 741.3 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
43eeb03682ba454a673de6a424004b3747b89e983393c42c8e8da24381484fec
BLAKE2b-256 checksum
How to use checksums
cbda9c50cf581a19e98abd73c8c30586adf0c4b48d6c8f0cd46070ca533485f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Release files / lightwin-0.13.0-cp313-cp313-macosx_10_13_x86_64.whl

Download URL lightwin-0.13.0-cp313-cp313-macosx_10_13_x86_64.whl
Size 739.8 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
7af96a26c7f1e648b5cebda977e3295e248f3be50325e57b1f0454d33a14c6ec
BLAKE2b-256 checksum
How to use checksums
50baffb36ed39f60c0801a008c55639f419bdf03ccf1a95922eac03d5e30ad62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Release files / lightwin-0.13.0-cp312-cp312-win_amd64.whl

Download URL lightwin-0.13.0-cp312-cp312-win_amd64.whl
Size 729.6 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
0526beca5c0cc73ae54d60ca4bc500a349683702d485e89e8582c6813ea01ec7
BLAKE2b-256 checksum
How to use checksums
3496b3490a99fab43219919f95fdd807b1ab726e626ad00aabd4974f1776574c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Release files / lightwin-0.13.0-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL lightwin-0.13.0-cp312-cp312-musllinux_1_2_x86_64.whl
Size 1.3 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
27d996c445977058cae040084cccf848f5fd219a21e373ff258801c897eb658c
BLAKE2b-256 checksum
How to use checksums
a9cb107298ca7ebdbad7f148c7d57a6f0906728b29c38bc55b4a5c11da031921
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Release files / lightwin-0.13.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL lightwin-0.13.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.3 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ddf94d0d3c3c0e1733c4dc9f6acbf7bece791cddc6670f38344ea44a18b0e8a5
BLAKE2b-256 checksum
How to use checksums
27275facc8e4265d0a2f5d93800f1459e593146bbb2fe57c7c0c612faf28179d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Release files / lightwin-0.13.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL lightwin-0.13.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.3 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
fc1bab0de2a14692c559b855934df06f28b6ef7beb8d0babcf01338bc98a0629
BLAKE2b-256 checksum
How to use checksums
2d55b1e0cc8b5c83d1ff769842da96e67e81ea8942379ec71f8043aeb72c44ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Release files / lightwin-0.13.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL lightwin-0.13.0-cp312-cp312-macosx_11_0_arm64.whl
Size 741.9 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f156e9d32de93b46bcce85ee7597b0cd4440c7d67b5d0487ab04d0e3592b0aed
BLAKE2b-256 checksum
How to use checksums
24fb39fad847bf6b87450dc55499b7c635329ed0e5816f64855eacfd551befeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Release files / lightwin-0.13.0-cp312-cp312-macosx_10_13_x86_64.whl

Download URL lightwin-0.13.0-cp312-cp312-macosx_10_13_x86_64.whl
Size 740.5 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
f771b94772bfed2f288cc7e7bbdd129302c55798cdf73f246de3232d52df30fb
BLAKE2b-256 checksum
How to use checksums
53db27c83b826945060b66e9e999d9840ec005ed2862e5f273b4cd124936992c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Security for LightWin 0.13.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

All 13 files in this release have been uploaded with provenance metadata.

Select from 13 files

Attestation for lightwin-0.13.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 Nov 5, 2025.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.13.0 This release

13 release files Full provenance

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