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.12.1

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.12.1
File Size Uploaded Provenance Actions
lightwin-0.12.1.tar.gz 771.5 kB With provenance Details for lightwin-0.12.1.tar.gz

Built distributions (wheels)

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

Total release size: 12.9 MB

Release files / lightwin-0.12.1.tar.gz

Download URL lightwin-0.12.1.tar.gz
Size 771.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d1b1a58fc77bb519d18e7e77715c87845c2c6e9fa553ca38fbee6f9a521a7ec3
BLAKE2b-256 checksum
How to use checksums
bcb681e46b666e74d8619ec942f0a346ed73e33de5da09354907826a18993eb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 26, 2025.

Transparency log

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

Download URL lightwin-0.12.1-cp313-cp313-win_amd64.whl
Size 725.5 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
d72c0967a47ddd57b0fadc36ba11c1ecbaec1fa752da64e028915a73753eec0a
BLAKE2b-256 checksum
How to use checksums
d3a3a59136e97266a9c02bc7a5ca2dd4bc417d400c069fd390c2977f28fd2bbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 26, 2025.

Transparency log

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

Download URL lightwin-0.12.1-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
14bb2bbc834bc424d8c81ded70dafdb94416328fdf772c4bd81e9e23eca9f01b
BLAKE2b-256 checksum
How to use checksums
ca8bb4f8fe2b41633da925eeeb2fcdb8d5f92aaaab61ad91d3fb1cfe13914fe1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 26, 2025.

Transparency log

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

Download URL lightwin-0.12.1-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
9ebbc9ff9bff5ae2fad99d33f0fb3135f74071686cbb62baa0a0405e07df101c
BLAKE2b-256 checksum
How to use checksums
573957ee448c42343a0eebc0a360d85b6eec550d3e2c248077e66205b285be8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 26, 2025.

Transparency log

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

Download URL lightwin-0.12.1-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
5ce4ae73cfc4cdcd222c49943b770a22ff367d0c3be09488bf30869e82e66297
BLAKE2b-256 checksum
How to use checksums
b67845594cdc722b808058fcc883b6c36054268a34fe35cb27bff4aeee27c743
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 26, 2025.

Transparency log

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

Download URL lightwin-0.12.1-cp313-cp313-macosx_11_0_arm64.whl
Size 729.8 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0d273130aaec0ce5c4a1ed7130d196ec10466a0f169e949aa3766a60a0d5fb8f
BLAKE2b-256 checksum
How to use checksums
6e4277f089cc85aed38b58d5526b58ccdc12e519ebca6c5ddbcb98313d0c0842
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 26, 2025.

Transparency log

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

Download URL lightwin-0.12.1-cp313-cp313-macosx_10_13_x86_64.whl
Size 738.2 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
188a4fc00e0583995cc1e475292bf770ce896952dcc5bc058330f7e4bf6b7f13
BLAKE2b-256 checksum
How to use checksums
4909996facd33ec9bf4ce57b0bb17ee37b02ee1cf67861aee643d17beadb957b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 26, 2025.

Transparency log

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

Download URL lightwin-0.12.1-cp312-cp312-win_amd64.whl
Size 725.4 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
67ee5d2800cf6639940b19e4a76c662a6ee036002b0ae00972a2400e075c5c3f
BLAKE2b-256 checksum
How to use checksums
8cda3e5f8ce7f911b120548395dd6bce6dda9e3afb80980e5d9964d73d8cbc27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 26, 2025.

Transparency log

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

Download URL lightwin-0.12.1-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
8a181302ca2e06222f8d37ea89fbd74fda30e551a96b2c4983089cc36752fc62
BLAKE2b-256 checksum
How to use checksums
582818c1fc6025e27dd492412fd7fdffc688e83c58cb424162dc4d8c514f8ab2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 26, 2025.

Transparency log

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

Download URL lightwin-0.12.1-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
8263a852d30dff63cd37477e9a0d57712fbbf9a99c343b153b988ca57c8061fd
BLAKE2b-256 checksum
How to use checksums
7d94ab5f273a403f4b0d3ca0c23ec8d57e35c63dc3b566eee1554594d0153e9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 26, 2025.

Transparency log

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

Download URL lightwin-0.12.1-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
e6903a751c906303aba766a2020c7cb076f5f76ae9053e63541737fc02a1fb39
BLAKE2b-256 checksum
How to use checksums
c027e17b400b580e76421b54fa5467a89b4869f6a56ff806c9a7bad9d751be87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 26, 2025.

Transparency log

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

Download URL lightwin-0.12.1-cp312-cp312-macosx_11_0_arm64.whl
Size 730.6 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
82de0b7fa8d071761373d74b8111d9f44015b748dcb01dae69d40a462366bde2
BLAKE2b-256 checksum
How to use checksums
e3f365ff7a60c960c30b3ab914df16c6fded331a8ae3ed19ec24caad08814586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 26, 2025.

Transparency log

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

Download URL lightwin-0.12.1-cp312-cp312-macosx_10_13_x86_64.whl
Size 739.4 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
19bfa6b8dc2df0b10ff27b3bd411af3560d29ba2f77b4c4424aefc42c687ef0a
BLAKE2b-256 checksum
How to use checksums
36ce734f9c21bb7f12afcea829fc89b45afb8ce7b8be6c0a70d8aca177b68bad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 26, 2025.

Transparency log

Security for LightWin 0.12.1

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.12.1.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 Aug 26, 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.12.1 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